National Finance and Exchange Co WLL - 本社 (2024)

"), e.document.close() },fresh: function (t) { var o = this; e.each(this.defaultLocalization, function (e, t) { o.localization[e] || (o. localization[e] = t) })、o._removeHandlers()、o.toolbar.addClass(o.toThemeProperty("jqx-widget-header"))、o.content ? (o.widget.css("width") 、o.width)、o.widget.css("height", o.height)、o.widget.addClass(o.toThemeProperty("jqx-editor"))、o.widget.addClass(o.toThemeProperty(" jqx-widget"))、o.widget.addClass(o.toThemeProperty("jqx-rc-all"))、o.widget.addClass(o.toThemeProperty("jqx-widget-header"))、o.content .addClass(o.toThemeProperty("jqx-widget-content")), o.container.addClass(o.toThemeProperty("jqx-editor-container"))) : (o.toolbarContainer.addClass(o.toThemeProperty(") jqx-widget-header"))、o.toolbarContainer.addClass(o.toThemeProperty("jqx-editor-toolbar-inline"))、o.toolbarContainer.addClass(o.toThemeProperty("jqx-widget"))、o .toolbarContainer.addClass(o.toThemeProperty("jqx-rc-all"))、o.toolbarContainer.hide()、o.toolbarContainer.css("position", "absolute")、o.editor.addClass(o. toThemeProperty("jqx-editor-inline")), o.toolbarContainer.css("width", o.host.outerWidth() + "px")); var i = o.toolbarContainer.index(); if ("top" == o.toolbarPosition && 0 != i || "bottom" == o.toolbarPosition && 1 != i) switch (o.toolbarPosition) { case "bottom": o.toolbarContainer.insertAfter(o 。コンテンツ);壊す; case "top": デフォルト: o.toolbarContainer.insertBefore(o.content) } var r = o.tools; if (r !== !1) { var n = r.split(" "), a = r.split(" | "), l = function (t, i) { e.each(i, function (r , n) { var a = o.commands[this]; if (a) { if (o.createCommand) { var l = o.createCommand(this.toString()); a = e.extend(a, l) } } else { if (!o.createCommand) return !0; if (a = o.createCommand(this.toString()), !a) return !0; o.commands[this] || (o.commands[ this] = a) } switch (o.localization[this] && (a.tooltip = o.localization[this]), a.type) { case "リスト": a.widget && a.widget.jqxDropDownList("destroy "); var d = function (e, t, o) { return "formatblock" == a.command ? "<" + o + ' unselectable="on" style="padding: 0px; margin: 0px;"> ' + t + "" + o + ">" : "フォント名" == a.command ? '' + t + '" : "フォントサイズ" == a.command ? '' + t + '" : void 0 }, s = function () { var e = o.toThemeProperty("jqx-editor-toolbar-icon") + " " + o.toThemeProperty("jqx-editor-toolbar-icon-" + a. command), t = ""; return t }, c = "formatblock" == a.command || "fontname" == a.command || "fontsize" == a.command, u = a.value || [], g = 新しい配列, p = a.placeHolder || "選択してください:"; "fontname" == a.command ? e.each(u, function () { var e = o.localization[this.label] ]; g.push({ ラベル: e, 値: this.value }) }) : "formatblock" == a.command ? (p = o.localization.format, e.each(u, function () { if (this.label.indexOf("Header") >= 0) var e = this.label.replace("Header", o.localization.Header); else var e = o.localization[this.label]; g. Push({ label: e, value: this.value }) })) : g = u; var m = {enableBrowserBoundsDetection: !0、touchMode: o.touchMode、幅: a.width || 100、高さ: a。高さ || 25、dropDownWidth: a.dropDownWidth || "auto"、autoDropDownHeight: (a.value && a.value.length) < 12 ? !0 : !1、placeHolder: p、ソース: g、テーマ: o。テーマ、keyboardSelection: !1、focusable: !1、無効: o.disabled、rtl: o.rtl、selectionRenderer: "fontsize" == a.command ? s : null、レンダラー: c ? d : null }, h = "jqx-disableselect " + o.toThemeProperty("jqx-editor-dropdownlist") + " " + o.toThemeProperty("jqx-editor-toolbar-item"), f = e("" ); f.appendTo(t)、f.jqxDropDownList(m)、a.init && a.init(f); var n = null、v = null、b = ""; o.addHandler(f, "mousedown", function (t) { if (e(".jqx-editor-dropdownpicker").length > 0 && e(".jqx-editor-dropdownpicker").jqxDropDownButton("close" ), e(".jqx-editor-dropdownlist").length > 0) { var o = e(".jqx-editor-dropdownlist"); e.each(o, function (t, o) { o != f[0] && e(o).jqxDropDownList("close") }) } }), o.addHandler(f, "open", function (e) { o.focused || o.focus(), o. updated = !0, o.activeElement = f, n = f.val(), b = "" })、o.addHandler(f, "change", function (t) { o.updating = !1, o. activeElement = null、v = f.val()、b = t.args.type、e.jqx.browser.msie && e.jqx.browser.version < 9 && o.focus() })、o.addHandler( f, "close", function (e) { o.updating = !1, o.activeElement = null, n != v && ("mouse" == b || "keyboard" == b) && o._refreshTools( ) }), o._addCommandHandler(f, "change", a.command, null, a);壊す; case "colorPicker": a.widget && (e(a.colorPicker).remove(), a.widget.jqxDropDownButton("destroy")); var x = e('').attr("id", "picker-" + a.command), h = "jqx-disableselect " + o.toThemeProperty("jqx-editor-dropdownpicker") + " " + o .toThemeProperty("jqx-editor-toolbar-item"), f = e(""); f.appendTo(t), f.append(x), f.jqxDropDownButton({ touchMode: o.touchMode、無効: o.disabled、enableBrowserBoundsDetection: !0、幅: a.width || 45、高さ: a.height || 25、rtl: o.rtl、フォーカス可能: !1、テーマ: o.theme }); var y = e('

'), w = o.toThemeProperty("jqx-editor-toolbar-icon") + " " + o.toThemeProperty("jqx-editor-toolbar-icon-" + a.command), k = e("

"); y.append(k); var _ = e('

').attr("id", "bar-" + a.command).css("background-color", a.value); y.append(_), f.jqxDropDownButton("setContent", y), x.append(e(o.colorPickerTemplate)), a.colorPicker = x, a.init && a.init(f), x.find ("tr").attr("役割", "行").attr("選択不可", "オン"), x.find("td").attr("役割", "グリッドセル").attr( "選択不可", "オン").css("-webkit-user-select", "なし"), x.find("div").attr("選択不可", "オン"), o.addHandler(f , "mousedown", function (t) { if (e(".jqx-editor-dropdownlist").length > 0 && e(".jqx-editor-dropdownlist").jqxDropDownList("close"), e(" .jqx-editor-dropdownpicker").length > 0) { var o = e(".jqx-editor-dropdownpicker"); e.each(o, function (t, o) { o != f[0] && e(o).jqxDropDownButton("close") }) } }), o.addHandler(f, "open", function () { o.focused || o.focus(), o.updating = !0, o .activeElement = x }), o.addHandler(f, "close", function (e) { o.updating = !1, o.activeElement = null, n != v && ("mouse" == b || "キーボード" == b) && o._refreshTools() }), o.addHandler(x, "keydown", function (t) { var o = t.keyCode, i = e(x).find(".jqx- editor-color-picker-selected-cell")、r = x.find("tr")、n = r.length、l = i.parent().children().length、d = i.index() 、s = -999、c = i.parent(); switch (e.each(r, function (e, t) { return this == c[0] ? (s = e, !1) : void 0 }), o) { case 27: f.jqxDropDownButton("close ");壊す;ケース 13: e(i).trigger("mousedown");壊す;ケース 38: s--;壊す;ケース 40: s++;壊す;ケース 39: d++;壊す; case 37: d-- } if (s >= 0 && n >= s && d >= 0 && l >= d) { var c = x.find("tr")[s], u = e(c ).children()[d], g = e(u).children().css("背景色"); a.val(g) } }); var T = e(x).find("td"); a.val = function (t) { var i = o._rgbToHex(t); e.each(T, function () { var t = e(this).children().css("background-color"), r = o._rgbToHex(t); return r == i ? (T.removeClass ("jqx-editor-color-picker-selected-cell"), e(this).addClass("jqx-editor-color-picker-selected-cell"), e("#bar-" + a.command) .css("background", t), !1) : void 0 }) }, a.val(a.value), o._addCommandHandler(T, "mousedown", a.command, null, a);壊す; case "button": case "toggleButton": デフォルト: a.widget && ("button" == a.type ? a.widget.jqxButton("destroy") : a.widget.jqxToggleButton("destroy")); var j = a.command、q = a.action、w = o.toThemeProperty("jqx-editor-toolbar-icon") + " " + o.toThemeProperty("jqx-editor-toolbar-icon-" + j) , k = e("

")、f = e("

").addClass("jqx-disableselect").addClass(o.toThemeProperty("jqx-editor-toolbar-button")); a.init ? j && f.append(k) : f.append(k), f.appendTo(t), "button" == a.type ? f.jqxButton({ 無効: o.disabled, rtl: o.rtl, テーマ: o.theme }) : "toggleButton" == a.type && f.jqxToggleButton({ 無効: o.disabled, rtl: o.rtl, uiToggle: !1, テーマ: o.theme })、a.init && a.init(f)、a.toggled = !1、a. toggle = function () { a.toggled = !a.toggled }, o.addHandler(f, "mousedown", function (e) { return e.preventDefault && e.preventDefault(), e.stopPropagation && e.stopPropagation( ), !1 }), e.jqx.mobile.isTouchDevice() ? o._addCommandHandler(f, "マウスダウン", j, q, a) : o._addCommandHandler(f, "クリック", j, q, a) } if (a.widget = f, f) { try { "" != a.tooltip && (a.widget.attr("title", a.tooltip), a.widget.attr("data-tooltip", a.tooltip)), a.command && a.widget.attr("data-command", a.command), a.widget.attr("aria-label", a.tooltip) } catch (R) { } ("button" == a.type || "toggleButton" == a.type) && (i.length > 2 && (0 == r ? (f.css("border-right-radius", "0px"), f.addClass(o.toThemeProperty("jqx-rc-l"))) : r == i.length - 1 && (f.css ("border-left-radius", "0px"), f.addClass(o.toThemeProperty("jqx-rc-r"))), f.removeClass(o.toThemeProperty("jqx-rc-all")) ), 0 != r && r != i.length - 1 && i.length > 2 ? (f.css("border-left-radius", "0px"), f.css("border-right-radius", "0px"), f.removeClass(o.toThemeProperty("jqx-rc-all") ))) : 2 == i.length ? (0 == r ? (f.css("border-right-radius", "0px"), f.addClass(o.toThemeProperty("jqx-rc-l"))) : (f.css("border -left-radius", "0px")、f.addClass(o.toThemeProperty("jqx-rc-r")))、f.removeClass(o.toThemeProperty("jqx-rc-all"))) : 1 == i.length && f.css("margin-right", "0px")) } }) }; if (o.toolbar.css("方向", this.rtl ? "rtl" : "ltr"), 0 == a.length) l(o.toolbar, n); else { for (var d = 0; d < a.length; d++) { var s = a[d], n = s.split(" "), c = o.toThemeProperty("jqx-editor-toolbar-group) ") + " " + o.toThemeProperty("jqx-fill-state-normal"), u = e("

"); u.addClass(o.toThemeProperty("jqx-rc-all")), o.toolbar.append(u), l(u, n) } for (var g = o.toolbar.find(". jqx-editor-toolbar-group"), p = g.length, d = 0; p > d; d++) 0 == e(g[d]).children().length && e(g[d]) .remove() } e.jqx.browser.msie && e.jqx.browser.version < 8 && (e(".jqx-editor-toolbar-group").css("float", "left"), e (".jqx-editor-toolbar-group").children().css("float", "left"), e(".jqx-editor-toolbar-group").css("zoom", "1 "), e(".jqx-editor-toolbar-group").children().css("zoom", "1")) } o._arrange(), o._addHandlers() }, _arrange: function ( ) { var t = this; t.content && ("" == t.tools || 0 == t.tools ? (t.content.height(t.container.outerHeight() - parseInt(t.container.css) ("padding-top")) - parseInt(t.container.css("padding-bottom")) - 6)、t.content.css("margin-top", "4px")、t.toolbar.hide ()) : (t.toolbar.show(), t.content.css("margin-top", "0px"), t.content.height(t.container.outerHeight() - t.toolbar.outerHeight( ) - parseInt(t.container.css("padding-top")) - parseInt(t.container.css("padding-bottom")) - 2), "top" != t.toolbarPosition && (t.content .css("margin-top", "4px"), t.content.css("margin-bottom", "0px"))), e.jqx.browser.msie && e.jqx.browser.version < 8 && (t.content.css("margin-top", "4px"), t.content.height(t.container.height() - t.toolbar.outerHeight() - 2 * parseInt(t.container.css ("padding-bottom")) - 10)、t.content.width(t.container.width() - 2 * parseInt(t.container.css("padding-left")) - 2))、t. editor.height() < t.content.height() && t.editor.height(t.content.height())) }, propertyChangedHandler: function (t, o, i, r) { var n = t; if (void 0 != n.isInitialized && 0 != n.isInitialized && "pasteMode" != o && "lineBreak" != o && "editable" != o) { if ("disabled" == o && t. _refreshTools(), "width" == o || "height" == o || "toolbarPosition" == o) return void t._arrange(); "テーマ" == o && e.jqx.utilities.setTheme(i, r, t.host), t.refresh() } }, selectRange: function (e) { var t = this; e || (e = t.getRange()), t.selection.selectRange(e) }, getRange: function () { var e = this; return e.selection.getRange() }, getSelectedElement: function () { var e, t, o, i, r = this; try { if (r.editorDocument.getSelection) { var n = r.editorDocument.getSelection(); return e = n.getRangeAt(n.rangeCount - 1)、o = e.startContainer、i = e.endContainer、t = e.commonAncestorContainer、"#text" == o.nodeName && (t = t.parentNode)、 "#text" == o.nodeName && (o = o.parentNode), "body" == o.nodeName.toLowerCase() && (o = o.firstChild), "#text" == i.nodeName && ( i = i.parentNode), "body" == i.nodeName.toLowerCase() && (i = i.lastChild), o == i && (t = o), i } if (r.editorDocument.selection) { if (e = r.editorDocument.selection.createRange(), !e.duplicate) は null を返します。 t = e.parentElement(); var a = e.duplicate()、l = e.duplicate(); return a.collapse(!0)、l.moveToElementText(a.parentElement())、l.setEndPoint("EndToStart", a)、o = a.parentElement()、a = e.duplicate()、l = e .duplicate()、l.collapse(!1)、a.moveToElementText(l.parentElement())、a.setEndPoint("StartToEnd", l)、i = l.parentElement()、"body" == o。 nodeName.toLowerCase() && (o = o.firstChild), "body" == i.nodeName.toLowerCase() && (i = i.lastChild), o == i && (t = o), i } } catch (d) { return null } return null }, _addHandlers: function () { var t = this; t.addHandler(t.toolbar, "mousedown.editor" + t.element.id, function (e) { return e.preventDefault && e.preventDefault(), e.stopPropagation && e.stopPropagation(), !1 }) ; var o = function () { if (t._textArea && (t.updating || (t._textArea.value = t.val())), t.changed && (t._raiseEvent("change"), t.変更 = !1)、t.focused = !1、t.inline) { if (t.host.removeClass(t.toThemeProperty("jqx-fill-state-focus"))、t.host.removeClass(t. toThemeProperty("jqx-editor-inline-focus"))、"" == t.tools || null == t.tools) return; t.toolbarContainer.fadeOut("fast") } }, i = function () { if (t.focused = !0, t.inline) { if (t.host.addClass(t.toThemeProperty("jqx-fill- state-focus"))、t.host.addClass(t.toThemeProperty("jqx-editor-inline-focus"))、t.host.addClass(t.toThemeProperty("jqx-rc-all"))、" " == t.tools || null == t.tools) return; t.toolbarContainer.fadeIn("高速"); var e = t.host.coord(); "bottom" != t.toolbarPosition ? t.toolbarContainer.offset({ 左: e.left、上: e.top - t.toolbarContainer.outerHeight() - 5 }) : t.toolbarContainer.offset({ 左: e.left、上: e.top + 5 + t.host.height() }) } }; e.jqx.browser.mozilla && this.addHandler(e(document), "mousedown.editor" + t.element.id, function (e) { o() }), t.addHandler(t.editor, "blur .editor" + t.element.id, function (e) { o() }), t.addHandler(t.editor, "focus.editor" + t.element.id, function (e) { i() } ), t.addHandler(t.editor, "beforedeactivate.editor" + t.element.id, function (e) { t.range = t.getRange() }), t.addHandler(t.editor, "mousedown. editor" + t.element.id, function (o) { o.target.href || t.linkPopup && t.linkPopup.remove(), t.range = t.getRange(), e.jqx.browser.mozilla && (i(), o.stopPropagation()), e(".jqx-editor-dropdownpicker").length > 0 && e(".jqx-editor-dropdownpicker").jqxDropDownButton("close"), e( ".jqx-editor-dropdownlist").length > 0 && e(".jqx-editor-dropdownlist").jqxDropDownList("close"), t.inline && t.editor.focus() }), e.jqx .mobile.isTouchDevice() && (t.addHandler(e(t.editorDocument), "selectionchange.editor" + t.element.id, function () { t.editorDocument.activeElement != t.editor[0] && setTimeout (function () { t.iframe && t.iframe[0].contentWindow.focus() }, 500) }), t.addHandler(e(t.editorDocument), "touchstart.editor" + t.element.id 、 function () { setTimeout(function () { t.iframe && t.iframe[0].contentWindow.focus() }, 500) })), t.addHandler(t.editor, "mouseup.editor" + t .element.id, function (e) { return "source" == t._documentMode ? !0 : (t.range = t.getRange(), void t._refreshTools(null, !0)) }), t.addHandler(t.editor, "keydown.editor" + t.element.id, function ( o) { if (t.keyPressed && t.keyPressed(o), "source" == t._documentMode) return !0; if (e.jqx.browser.mozilla && (t.focused || i()), t.disabled) return o.preventDefault && o.preventDefault(), !1; if (t.updating) { if (t.activeElement) { var r = e.Event("keydown"); e.extend(r, o), t.activeElement.trigger(r) } return o.preventDefault && o.preventDefault(), !1 } var n = o || window.event, a = n.keyCode, l = String.fromCharCode(a) .toLowerCase(); if (!t.editable) { var d = [9, 33, 34, 35, 36, 37, 38, 39, 40, 40, 45]; -1 != e.inArray(n. keyCode, d) || n.ctrlKey && "c" == l || n.ctrlKey && "a" == l || o.preventDefault() } if (t.selection.getText().length > 0 | | t.linkPopup) { var d = [8, 9, 13, 33, 34, 35, 36, 37, 38, 39, 40, 40, 45, 46]; (-1 != !e.inArray(n) .keyCode, d) || 65 == n.keyCode && n.ctrlKey && !n.altKey && !n.shiftKey) && (t._refreshToolsTimer && clearTimeout(t._refreshToolsTimer), t._refreshToolsTimer = setTimeout(function () { t._refreshTools(null, !0, n.keyCode) }, 10)) } if (13 == a && "default" != t.lineBreak) { var s = t.getSelectedElement(); if (s) { var c = s.nodeName.toLowerCase(); switch (c) { case "pre": case "li": case "ul": case "ol": case "h1": case "h2": case "h3": case "h4": case "h5": case "h6": return !0 } for (var u = s; null != u;) { if ("#document" == u.nodeName) { u = t.editorDocument.body;ブレーク } if (u.parentNode == t.editorDocument.body || u == t.editorDocument.body) ブレーク; u = u.parentNode } } if (u) { var g = t.getRange(); 」

" == t.editorDocument.body.innerHTML && "br" != t.lineBreak && t.selection.insertContent(" "), "div" == t.lineBreak ? u == t.editorDocument.body ? e (u).append("

") : e("

").insertAfter(u) : "p" == t.lineBreak ? u == t.editorDocument.body ? e(u).append("

") : e("

").insertAfter(u) : t.execute("insertHTML", "
"), t.selectRange(g); var p = e(t.editorDocument).find("#INSERTION_MARKER"); return "br" != t.lineBreak ? t.selection.selectNode(e(p).prev ()[0], !0) : (t.selection.selectNode(p[0], !0), t.getRange().setStartAfter && t.getRange().setStartAfter(p[0])), p .remove(), t.selection.collapse(!1), u && u.nodeName && "br" == t.lineBreak && "#text" != u.nodeName.toLowerCase() && (t.selection.selectNode (u, !0), t.getRange().setStartAfter && t.getRange().setStartAfter(u), t.selection.collapse(!1)), "br" != t.lineBreak && (g = t .getRange(), g.select && g.select()), o.preventDefault && o.preventDefault(), !1 } } if (n.ctrlKey && ("k" == l || "u" ==) l || "b" == l || "i" == l)) { o.preventDefault && o.preventDefault(); var m = null; switch (l) { case "k": m = "link" ; ブレーク; ケース "u": m = "アンダーライン"; ブレーク; ケース "b": m = "太字"; ブレーク; ケース "i": m = "イタリック" } return t.commands[m].widget && t.commands[m].widget.trigger("click"), !1 } }), t.addHandler(t.editor, "paste.editor" + t.element.id, function (o) { if ("ソース" == t._documentMode) return !0; if (t.readOnly) は !0 を返します。 t.updating = !0、t.readOnly = !0; var i = function (e, o) { if (o) t.paragraphise ? (e = "

「+e+」

", e = e.replace(/\n/g, "

")、e = e.replace(/

\s<\/p>/gi, "")) : e = e.replace(/\n/g, "
"); else { if (e = e.replace(/]*?>(.*)/gim, "$1"), e = e.replace(/<\/html>/gi, ""), e = e.replace(/

]*?>(.*)/gi, "$1"), e = e.replace(/<\/body>/gi, ""), e = e.replace(/"].join("") , l.id = h, (m ? l : n).innerHTML += f, n.appendChild(l), m || (n.style.background = "", n.style.overflow = "hidden", k = g.style.overflow, g.style.overflow = "hidden", g.appendChild(n)), i = c(l, a), m ? l.parentNode.removeChild(l) : (n.parentNode .removeChild(n), g.style.overflow = k), !!i }, u = {}.hasOwnProperty, v; !y(u, "未定義") && !y(u.call, "未定義") ? v = function (a, b) { return u.call(a, b) } : v = function (a, b) { return b in a && y(a.constructor.prototype[b], "unknown") }, Function.prototype.bind || (Function.prototype.bind = function (b) { var c = this; if (typeof c != "function") throw new TypeError; var d = r.call(arguments, 1 ), e = function () { if (このインスタンスの e) { var a = function () { }; a.prototype = c.prototype; var f = new a, g = c.apply(f, d.concat( r.call(arguments))); return Object(g) === g ? g : f } return c.apply(b, d.concat(r.call(arguments))) }; return e }), n .touch = function () { var c; || で「ontouchstart」を返します。 a.DocumentTouch && b DocumentTouch のインスタンス ? c = !0 : t(["@media (", m.join("タッチ対応),("), h, ")", "{#modernizr{top:9px;position:absolute}}"] .join(""), function (a) { c = a.offsetTop === 9 }), c }; for (var B in n) v(n, B) && (s = B.toLowerCase(), e[s] = n[B](), q.push((e[s] ? "" : "no -") + s)); return e.addTest = function (a, b) { if (typeof a == "object") for (var d in a) v(a, d) && e.addTest(d, a[d]); else { a = a.toLowerCase(); if (e[a] !== c) e を返します。 b = typeof b == "関数" ? b() : b, typeof f != "未定義" && f && (g.className += " " + (b ? "" : "no-") + a), e[a] = b } return e } , w(""), i = k = null, function (a, b) { function k(a, b) { var c = a.createElement("p"), d = a.getElementsByTagName("head") [0] || a.document要素; return c.innerHTML = "x", d.insertBefore(c.lastChild, d.firstChild) } function l() { var a = r.elements;戻り値の型 == "文字列" ? a.split(" ") : a } function m(a) { var b = i[a[g]]; bを返します || (b = {}, h++, a[g] = h, i[h] = b), b } function n(a, c, f) { c || (c = b); if (j) は c.createElement(a) を返します。 f || (f = m(c));変数g; f.cache[a] を返しますか? g = f.cache[a].cloneNode() : e.test(a) ? g = (f.cache[a] = f.createElem(a)).cloneNode() : g = f.createElem(a), g.canHaveChildren && !d.test(a) ? f.frag.appendChild(g) : g } function o(a, c) { a || (a = b); if (j) a.createDocumentFragment() を返します。 c = c || m(a); var d = c.frag.cloneNode()、e = 0、f = l()、g = f.length; for (; e < g; e++) d.createElement(f[e]); return d } function p(a, b) { b.cache || (b.cache = {}, b.createElem = a.createElement, b.createFrag = a.createDocumentFragment, b.frag = b.createFrag()), a.createElement = function (c) { return r.shivMethods ? n(c, a, b) : b.createElem(c) }, a.createDocumentFragment = Function("h,f", "return function(){var n=f.cloneNode(),c=n.createElement; h.shivMethods&&(" + l().join().replace(/\w+/g, function (a) { return b.createElem(a), b.frag.createElement(a), 'c("' + a + '")' }) + ");return n}")(r, b.frag) } function q(a) { a || (a = b); var c = m(a); return r.shivCSS && !f && !c.hasCSS && (c.hasCSS = !!k(a, "article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background) :#FF0;color:#000}"))、j || p(a, c), a } var c = a.html5 || {}、d = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i、e = /^(?:a|b|code|div|fieldset| h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i, f, g = "_html5shiv"、h = 0、i = {}、j; (function () { try { var a = b.createElement("a"); a.innerHTML = "", f = "hidden" in a, j = a.childNodes.length == 1 || function () { b.createElement("a"); var a = b.createDocumentFragment(); return typeof a.cloneNode = = "未定義" || typeof a.createDocumentFragment == "未定義" || typeof a.createElement == "未定義" }() } catch (c) { f = !0, j = !0 } })(); var r = { elements: c.elements || "abbr 記事は別としてオーディオ bdi キャンバス データ データリストの詳細 figcaption Figure フッター ヘッダー hgroup マーク メーター nav 出力進行状況セクション概要時間ビデオ"、shivCSS: c.shivCSS !== !1、supportsUnknownElements: j, shivMethods: c.shivMethods !== !1, type: "default", shivDocument: q, createElement: n, createDocumentFragment: o }; a.html5 = r, q(b) }(this, b), e ._version = d、e._prefixes = m、e.testStyles = t、g.className = g.className.replace(/(^|\s)no-js(\s|$)/, "$1$2") + (f ? " js " + q.join(" ") : ""), e }(this, this.document), function (a, b, c) { function d(a) { return "[object Function ]" == o.call(a) } function e(a) { return "string" == typeof a } function f() { } function g(a) { return !a || "ロード済み" == a || 「完了」 == a || "初期化されていない" == a } function h() { var a = p.shift(); q = 1、a ?で ? m(function () { ("c" == a.t ? B.injectCss : B.injectJs)(a.s, 0, a.a, a.x, a.e, 1) }, 0) : (a(), h()) : q = 0 } function i(a, c, d, e, f, i, j) { function k(b) { if (!o && g(l.readyState) && (u.r = o = 1, !q && h(), l.onload = l.onreadystatechange = null, b)) { "img" != a && m(function () { t.removeChild(l) }, 50); for (var d in y[c]) y[c].hasOwnProperty(d) && y[c][d].onload() } } var j = j || B.errorTimeout、l = b.createElement(a)、o = 0、r = 0、u = { t: d、s: c、e: f、a: i、x: j }; 1 === y[c] && (r = 1, y[c] = []), "オブジェクト" == a ? l.data = c : (l.src = c, l.type = a)、l.width = l.height = "0"、l.onerror = l.onload = l.onreadystatechange = function () { k. call(this, r) }, p.splice(e, 0, u), "img" != a && (r || 2 === y[c] ? (t.insertBefore(l, s ? null : n), m(k, j)) : y[c].push(l)) } function j(a, b, c, d, f) { return q = 0, b = b || "j", e(a) ? i("c" == b ? v : u, a, b, this.i++, c, d, f) : (p.splice(this.i++, 0, a), 1 == p.length && h ())、この } 関数 k() { var a = B; return a.loader = {load: j, i: 0 }, a } var l = b.documentElement, m = a.setTimeout, n = b.getElementsByTagName("script")[0], o = {}.toString 、p = []、q = 0、r = l.style の「MozAppearance」、s = r && !!b.createRange().compareNode、t = s ? l : n.parentNode, l = a.opera && "[オブジェクト Opera]" == o.call(a.opera), l = !!b.attachEvent && !l, u = r ? 「オブジェクト」: l ? "スクリプト" : "img"、v = l ? "スクリプト" : u, w = Array.isArray || function (a) { return "[object Array]" == o.call(a) }, x = [], y = {}, z = { timeout: function (a, b) { return b.length && ( a.timeout = b[0])、a } }、A、B; B = function (a) { function b(a) { var a = a.split("!"), b = x.length, c = a.pop(), d = a.length, c = { url: c、origUrl: c、プレフィックス: a }、e、f、g; for (f = 0; f < d; f++) g = a[f].split("="), (e = z[g.shift()]) && (c = e(c, g)); for (f = 0; f < b; f++) c = x[f](c); return c } function g(a, e, f, g, h) { var i = b(a), j = i.autoCallback; i.url.split(".").pop().split("?").shift()、i.bypass || (e && (e = d(e) ? e : e[a] || e[g] || e[a.split("/").pop().split("?")[0]] ), i.instead ? i.instead(a, e, f, g, h) : (y[i.url] ? i.noexec = !0 : y[i.url] = 1, f.load(i .url, i.forceCSS || !i.forceJS && "css" == i.url.split(".").pop().split("?").shift() ? "c" : c, i.noexec, i.attrs, i.timeout), (d(e) || d(j)) && f.load(function () { k(), e && e(i.origUrl, h, g) , j && j(i.origUrl, h, g), y[i.url] = 2 }))) } function h(a, b) { function c(a, c) { if (a) { if ( e(a)) c || (j = function () { var a = [].slice.call(arguments); k.apply(this, a), l() }), g(a, j, b, 0, h); else if (Object(a) === a) for (n in m = function () { var b = 0, c; for (c in a) a.hasOwnProperty(c) && b++; return b }(), a) a.hasOwnProperty(n) && (!c && !--m && (d(j) ? j = function () { var a = [].slice.call(arguments); k.apply(this, a ), l() } : j[n] = function (a) { return function () { var b = [].slice.call(arguments); a && a.apply(this, b), l() } }(k[n])), g(a[n], j, b, n, h)) } else !c && l() } var h = !!a.test, i = a.load || a.both、j = a.callback || f、k = j、l = a.完全 || f、m、n; c(h ? a.yep : a.nope, !!i), i && c(i) } var i, j, l = this.yepnope.loader; if (e(a)) g(a, 0, l, 0); else if (w(a)) for (i = 0; i < a.length; i++) j = a[i], e(j) ? g(j, 0, l, 0) : w(j) ? B(j) : オブジェクト(j) === j && h(j, l); else Object(a) === a && h(a, l) }, B.addPrefix = function (a, b) { z[a] = b }, B.addFilter = function (a) { x.push( a) }, B.errorTimeout = 1e4, null == b.readyState && b.addEventListener && (b.readyState = "loading", b.addEventListener("DOMContentLoaded", A = function () { b.removeEventListener("DOMContentLoaded) ", A, 0), b.readyState = "complete" }, 0))、a.yepnope = k()、a.yepnope.executeStack = h、a.yepnope.injectJs = function (a, c, d, e, i, j) { var k = b.createElement("script"), l, o, e = e || B.エラータイムアウト; k.src = a; for (o in d) k.setAttribute(o, d[o]); c = j? h:c || f, k.onreadystatechange = k.onload = function () { !l && g(k.readyState) && (l = 1, c(), k.onload = k.onreadystatechange = null) }, m(function () { l || (l = 1, c(1)) }, e), i ? k.onload() : n.parentNode.insertBefore(k, n) }, a.yepnope.injectCss = function (a, c, d, e, g, i) { var e = b.createElement("link") 、j、c = i? h:c || f; e.href = a、e.rel = "スタイルシート"、e.type = "テキスト/CSS"; for (j in d) e.setAttribute(j, d[j]); g || (n.parentNode.insertBefore(e, n), m(c, 0)) } }(this, document), Modernizr.load = function () { yepnope.apply(window, [].slice.call(arguments, 0)) };

I am an enthusiast with in-depth knowledge of web development and JavaScript, particularly in the context of creating rich text editors. My expertise includes working with HTML, CSS, and JavaScript libraries. I have hands-on experience with document manipulation, event handling, and UI design.

Now, let's break down the code snippet you provided:

refresh: function (t) {
    // ... (omitted for brevity)
},

This function appears to be a part of a larger JavaScript codebase. It seems to be associated with a text editor or some UI component. The refresh function is likely responsible for updating the appearance and behavior of the editor based on certain parameters.

The function starts by setting up various configurations for the editor's toolbar, content area, and other related elements. It handles the positioning of the toolbar, creates different UI elements like buttons and dropdowns, and sets up event handlers for user interactions.

The code involves the usage of jQuery (indicated by the $ symbol) and likely relies on a specific jQuery-based library for UI components. It uses the e variable as an alias for the jQuery object.

The function also checks for the existence of certain properties and methods, suggesting compatibility considerations for different browsers. It contains conditional statements for handling specific cases, such as different types of commands, dropdowns, and color pickers.

Overall, this code appears to be part of a larger framework or library for creating customizable text editors with a rich set of features and a user-friendly toolbar.

National Finance and Exchange Co WLL - 本社 (2024)

References

Top Articles
Latest Posts
Article information

Author: Horacio Brakus JD

Last Updated:

Views: 6244

Rating: 4 / 5 (51 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Horacio Brakus JD

Birthday: 1999-08-21

Address: Apt. 524 43384 Minnie Prairie, South Edda, MA 62804

Phone: +5931039998219

Job: Sales Strategist

Hobby: Sculling, Kitesurfing, Orienteering, Painting, Computer programming, Creative writing, Scuba diving

Introduction: My name is Horacio Brakus JD, I am a lively, splendid, jolly, vivacious, vast, cheerful, agreeable person who loves writing and wants to share my knowledge and understanding with you.