helpcenter/Web/js/scripts.js

101 lines
207 KiB
JavaScript
Raw Normal View History

2016-08-29 13:51:20 +00:00
/* jquery.min.js */
/*! jQuery v1.12.3 | (c) jQuery Foundation | jquery.org/license */
!function (a, b) { "object" == typeof module && "object" == typeof module.exports ? module.exports = a.document ? b(a, !0) : function (a) { if (!a.document) throw new Error("jQuery requires a window with a document"); return b(a) } : b(a) }("undefined" != typeof window ? window : this, function (a, b) {
var c = [], d = a.document, e = c.slice, f = c.concat, g = c.push, h = c.indexOf, i = {}, j = i.toString, k = i.hasOwnProperty, l = {}, m = "1.12.3", n = function (a, b) { return new n.fn.init(a, b) }, o = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, p = /^-ms-/, q = /-([\da-z])/gi, r = function (a, b) { return b.toUpperCase() }; n.fn = n.prototype = { jquery: m, constructor: n, selector: "", length: 0, toArray: function () { return e.call(this) }, get: function (a) { return null != a ? 0 > a ? this[a + this.length] : this[a] : e.call(this) }, pushStack: function (a) { var b = n.merge(this.constructor(), a); return b.prevObject = this, b.context = this.context, b }, each: function (a) { return n.each(this, a) }, map: function (a) { return this.pushStack(n.map(this, function (b, c) { return a.call(b, c, b) })) }, slice: function () { return this.pushStack(e.apply(this, arguments)) }, first: function () { return this.eq(0) }, last: function () { return this.eq(-1) }, eq: function (a) { var b = this.length, c = +a + (0 > a ? b : 0); return this.pushStack(c >= 0 && b > c ? [this[c]] : []) }, end: function () { return this.prevObject || this.constructor() }, push: g, sort: c.sort, splice: c.splice }, n.extend = n.fn.extend = function () { var a, b, c, d, e, f, g = arguments[0] || {}, h = 1, i = arguments.length, j = !1; for ("boolean" == typeof g && (j = g, g = arguments[h] || {}, h++), "object" == typeof g || n.isFunction(g) || (g = {}), h === i && (g = this, h--) ; i > h; h++) if (null != (e = arguments[h])) for (d in e) a = g[d], c = e[d], g !== c && (j && c && (n.isPlainObject(c) || (b = n.isArray(c))) ? (b ? (b = !1, f = a && n.isArray(a) ? a : []) : f = a && n.isPlainObject(a) ? a : {}, g[d] = n.extend(j, f, c)) : void 0 !== c && (g[d] = c)); return g }, n.extend({ expando: "jQuery" + (m + Math.random()).replace(/\D/g, ""), isReady: !0, error: function (a) { throw new Error(a) }, noop: function () { }, isFunction: function (a) { return "function" === n.type(a) }, isArray: Array.isArray || function (a) { return "array" === n.type(a) }, isWindow: function (a) { return null != a && a == a.window }, isNumeric: function (a) { var b = a && a.toString(); return !n.isArray(a) && b - parseFloat(b) + 1 >= 0 }, isEmptyObject: function (a) { var b; for (b in a) return !1; return !0 }, isPlainObject: function (a) { var b; if (!a || "object" !== n.type(a) || a.nodeType || n.isWindow(a)) return !1; try { if (a.constructor && !k.call(a, "constructor") && !k.call(a.constructor.prototype, "isPrototypeOf")) return !1 } catch (c) { return !1 } if (!l.ownFirst) for (b in a) return k.call(a, b); for (b in a); return void 0 === b || k.call(a, b) }, type: function (a) { return null == a ? a + "" : "object" == typeof a || "function" == typeof a ? i[j.call(a)] || "object" : typeof a }, globalEval: function (b) { b && n.trim(b) && (a.execScript || function (b) { a.eval.call(a, b) })(b) }, camelCase: function (a) { return a.replace(p, "ms-").replace(q, r) }, nodeName: function (a, b) { return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase() }, each: function (a, b) { var c, d = 0; if (s(a)) { for (c = a.length; c > d; d++) if (b.call(a[d], d, a[d]) === !1) break } else for (d in a) if (b.call(a[d], d, a[d]) === !1) break; return a }, trim: function (a) { return null == a ? "" : (a + "").replace(o, "") }, makeArray: function (a, b) { var c = b || []; return null != a && (s(Object(a)) ? n.merge(c, "string" == typeof a ? [a] : a) : g.call(c, a)), c }, inArray: function (a, b, c) { var d; if (b) { if (h) return h.call(b, a, c); for (d = b.length, c = c ? 0 > c ? Math.max(0, d + c) : c : 0; d > c; c++) if (c in b && b[c] === a) return c } return -1 }, merge: function (a, b) { var c = +b.length, d = 0, e = a.length; while (c > d) a[e++] = b[d++]; if (c !== c) while (void 0 !== b[d]) a[e++] = b[d++]; return a.length = e, a }, grep: function (a, b, c) { for (var d, e = [], f = 0, g = a.length, h = !c; g > f; f++) d = !b(a[f], f), d !== h && e.push(a[f]); return e }, map: function (a, b, c) { var d, e, g = 0, h = []; if (s(a)) for (d = a.length; d
if (void 0 === c && 1 === a.nodeType) {
var d = "data-" + b.replace(O, "-$1").toLowerCase(); if (c = a.getAttribute(d), "string" == typeof c) { try { c = "true" === c ? !0 : "false" === c ? !1 : "null" === c ? null : +c + "" === c ? +c : N.test(c) ? n.parseJSON(c) : c } catch (e) { } n.data(a, b, c) } else c = void 0;
} return c
} function Q(a) { var b; for (b in a) if (("data" !== b || !n.isEmptyObject(a[b])) && "toJSON" !== b) return !1; return !0 } function R(a, b, d, e) { if (M(a)) { var f, g, h = n.expando, i = a.nodeType, j = i ? n.cache : a, k = i ? a[h] : a[h] && h; if (k && j[k] && (e || j[k].data) || void 0 !== d || "string" != typeof b) return k || (k = i ? a[h] = c.pop() || n.guid++ : h), j[k] || (j[k] = i ? {} : { toJSON: n.noop }), "object" != typeof b && "function" != typeof b || (e ? j[k] = n.extend(j[k], b) : j[k].data = n.extend(j[k].data, b)), g = j[k], e || (g.data || (g.data = {}), g = g.data), void 0 !== d && (g[n.camelCase(b)] = d), "string" == typeof b ? (f = g[b], null == f && (f = g[n.camelCase(b)])) : f = g, f } } function S(a, b, c) { if (M(a)) { var d, e, f = a.nodeType, g = f ? n.cache : a, h = f ? a[n.expando] : n.expando; if (g[h]) { if (b && (d = c ? g[h] : g[h].data)) { n.isArray(b) ? b = b.concat(n.map(b, n.camelCase)) : b in d ? b = [b] : (b = n.camelCase(b), b = b in d ? [b] : b.split(" ")), e = b.length; while (e--) delete d[b[e]]; if (c ? !Q(d) : !n.isEmptyObject(d)) return } (c || (delete g[h].data, Q(g[h]))) && (f ? n.cleanData([a], !0) : l.deleteExpando || g != g.window ? delete g[h] : g[h] = void 0) } } } n.extend({ cache: {}, noData: { "applet ": !0, "embed ": !0, "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" }, hasData: function (a) { return a = a.nodeType ? n.cache[a[n.expando]] : a[n.expando], !!a && !Q(a) }, data: function (a, b, c) { return R(a, b, c) }, removeData: function (a, b) { return S(a, b) }, _data: function (a, b, c) { return R(a, b, c, !0) }, _removeData: function (a, b) { return S(a, b, !0) } }), n.fn.extend({ data: function (a, b) { var c, d, e, f = this[0], g = f && f.attributes; if (void 0 === a) { if (this.length && (e = n.data(f), 1 === f.nodeType && !n._data(f, "parsedAttrs"))) { c = g.length; while (c--) g[c] && (d = g[c].name, 0 === d.indexOf("data-") && (d = n.camelCase(d.slice(5)), P(f, d, e[d]))); n._data(f, "parsedAttrs", !0) } return e } return "object" == typeof a ? this.each(function () { n.data(this, a) }) : arguments.length > 1 ? this.each(function () { n.data(this, a, b) }) : f ? P(f, a, n.data(f, a)) : void 0 }, removeData: function (a) { return this.each(function () { n.removeData(this, a) }) } }), n.extend({ queue: function (a, b, c) { var d; return a ? (b = (b || "fx") + "queue", d = n._data(a, b), c && (!d || n.isArray(c) ? d = n._data(a, b, n.makeArray(c)) : d.push(c)), d || []) : void 0 }, dequeue: function (a, b) { b = b || "fx"; var c = n.queue(a, b), d = c.length, e = c.shift(), f = n._queueHooks(a, b), g = function () { n.dequeue(a, b) }; "inprogress" === e && (e = c.shift(), d--), e && ("fx" === b && c.unshift("inprogress"), delete f.stop, e.call(a, g, f)), !d && f && f.empty.fire() }, _queueHooks: function (a, b) { var c = b + "queueHooks"; return n._data(a, c) || n._data(a, c, { empty: n.Callbacks("once memory").add(function () { n._removeData(a, b + "queue"), n._removeData(a, c) }) }) } }), n.fn.extend({ queue: function (a, b) { var c = 2; return "string" != typeof a && (b = a, a = "fx", c--), arguments.length < c ? n.queue(this[0], a) : void 0 === b ? this : this.each(function () { var c = n.queue(this, a, b); n._queueHooks(this, a), "fx" === a && "inprogress" !== c[0] && n.dequeue(this, a) }) }, dequeue: function (a) { return this.each(function () { n.dequeue(this, a) }) }, clearQueue: function (a) { return this.queue(a || "fx", []) }, promise: function (a, b) { var c, d = 1, e = n.Deferred(), f = this, g = this.length, h = function () { --d || e.resolveWith(f, [f]) }; "string" != typeof a && (b = a, a = void 0), a = a || "fx"; while (g--) c = n._data(f[g], a + "queueHooks"), c && c.empty && (d++, c.empty.add(h)); return h(), e.promise(b) } }), function () { var a; l.shrinkWrapBlocks = function () { if (null != a) return a; a = !1; var b, c, e; return c = d.getElementsByTagName("body")[0], c && c.style ? (b = d.createElement("div"), e = d.createElement("div"), e.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-99
return b ? (parseFloat(Sa(a, "marginLeft")) || (n.contains(a.ownerDocument, a) ? a.getBoundingClientRect().left - Pa(a, { marginLeft: 0 }, function () { return a.getBoundingClientRect().left }) : 0)) + "px" : void 0
}), n.each({ margin: "", padding: "", border: "Width" }, function (a, b) { n.cssHooks[a + b] = { expand: function (c) { for (var d = 0, e = {}, f = "string" == typeof c ? c.split(" ") : [c]; 4 > d; d++) e[a + V[d] + b] = f[d] || f[d - 2] || f[0]; return e } }, Na.test(a) || (n.cssHooks[a + b].set = db) }), n.fn.extend({ css: function (a, b) { return Y(this, function (a, b, c) { var d, e, f = {}, g = 0; if (n.isArray(b)) { for (d = Ra(a), e = b.length; e > g; g++) f[b[g]] = n.css(a, b[g], !1, d); return f } return void 0 !== c ? n.style(a, b, c) : n.css(a, b) }, a, b, arguments.length > 1) }, show: function () { return cb(this, !0) }, hide: function () { return cb(this) }, toggle: function (a) { return "boolean" == typeof a ? a ? this.show() : this.hide() : this.each(function () { W(this) ? n(this).show() : n(this).hide() }) } }); function gb(a, b, c, d, e) { return new gb.prototype.init(a, b, c, d, e) } n.Tween = gb, gb.prototype = { constructor: gb, init: function (a, b, c, d, e, f) { this.elem = a, this.prop = c, this.easing = e || n.easing._default, this.options = b, this.start = this.now = this.cur(), this.end = d, this.unit = f || (n.cssNumber[c] ? "" : "px") }, cur: function () { var a = gb.propHooks[this.prop]; return a && a.get ? a.get(this) : gb.propHooks._default.get(this) }, run: function (a) { var b, c = gb.propHooks[this.prop]; return this.options.duration ? this.pos = b = n.easing[this.easing](a, this.options.duration * a, 0, 1, this.options.duration) : this.pos = b = a, this.now = (this.end - this.start) * b + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), c && c.set ? c.set(this) : gb.propHooks._default.set(this), this } }, gb.prototype.init.prototype = gb.prototype, gb.propHooks = { _default: { get: function (a) { var b; return 1 !== a.elem.nodeType || null != a.elem[a.prop] && null == a.elem.style[a.prop] ? a.elem[a.prop] : (b = n.css(a.elem, a.prop, ""), b && "auto" !== b ? b : 0) }, set: function (a) { n.fx.step[a.prop] ? n.fx.step[a.prop](a) : 1 !== a.elem.nodeType || null == a.elem.style[n.cssProps[a.prop]] && !n.cssHooks[a.prop] ? a.elem[a.prop] = a.now : n.style(a.elem, a.prop, a.now + a.unit) } } }, gb.propHooks.scrollTop = gb.propHooks.scrollLeft = { set: function (a) { a.elem.nodeType && a.elem.parentNode && (a.elem[a.prop] = a.now) } }, n.easing = { linear: function (a) { return a }, swing: function (a) { return .5 - Math.cos(a * Math.PI) / 2 }, _default: "swing" }, n.fx = gb.prototype.init, n.fx.step = {}; var hb, ib, jb = /^(?:toggle|show|hide)$/, kb = /queueHooks$/; function lb() { return a.setTimeout(function () { hb = void 0 }), hb = n.now() } function mb(a, b) { var c, d = { height: a }, e = 0; for (b = b ? 1 : 0; 4 > e; e += 2 - b) c = V[e], d["margin" + c] = d["padding" + c] = a; return b && (d.opacity = d.width = a), d } function nb(a, b, c) { for (var d, e = (qb.tweeners[b] || []).concat(qb.tweeners["*"]), f = 0, g = e.length; g > f; f++) if (d = e[f].call(c, b, a)) return d } function ob(a, b, c) { var d, e, f, g, h, i, j, k, m = this, o = {}, p = a.style, q = a.nodeType && W(a), r = n._data(a, "fxshow"); c.queue || (h = n._queueHooks(a, "fx"), null == h.unqueued && (h.unqueued = 0, i = h.empty.fire, h.empty.fire = function () { h.unqueued || i() }), h.unqueued++, m.always(function () { m.always(function () { h.unqueued--, n.queue(a, "fx").length || h.empty.fire() }) })), 1 === a.nodeType && ("height" in b || "width" in b) && (c.overflow = [p.overflow, p.overflowX, p.overflowY], j = n.css(a, "display"), k = "none" === j ? n._data(a, "olddisplay") || Ma(a.nodeName) : j, "inline" === k && "none" === n.css(a, "float") && (l.inlineBlockNeedsLayout && "inline" !== Ma(a.nodeName) ? p.zoom = 1 : p.display = "inline-block")), c.overflow && (p.overflow = "hidden", l.shrinkWrapBlocks() || m.always(function () { p.overflow = c.overflow[0], p.overflowX = c.overflow[1], p.overflowY = c.overflow[2] })); for (d in b) if (e = b[d], jb.exec(e)) { if (delete b[d], f = f || "toggle" === e, e === (q ? "hide" : "show")) { if ("show" !== e || !r || void 0 === r[d
n.cssHooks[b] = Ua(l.pixelPosition, function (a, c) {
return c ? (c = Sa(a, b), Oa.test(c) ? n(a).position()[b] + "px" : c) : void 0;
})
}), n.each({ Height: "height", Width: "width" }, function (a, b) { n.each({ padding: "inner" + a, content: b, "": "outer" + a }, function (c, d) { n.fn[d] = function (d, e) { var f = arguments.length && (c || "boolean" != typeof d), g = c || (d === !0 || e === !0 ? "margin" : "border"); return Y(this, function (b, c, d) { var e; return n.isWindow(b) ? b.document.documentElement["client" + a] : 9 === b.nodeType ? (e = b.documentElement, Math.max(b.body["scroll" + a], e["scroll" + a], b.body["offset" + a], e["offset" + a], e["client" + a])) : void 0 === d ? n.css(b, c, g) : n.style(b, c, d, g) }, b, f ? d : void 0, f, null) } }) }), n.fn.extend({ bind: function (a, b, c) { return this.on(a, null, b, c) }, unbind: function (a, b) { return this.off(a, null, b) }, delegate: function (a, b, c, d) { return this.on(b, a, c, d) }, undelegate: function (a, b, c) { return 1 === arguments.length ? this.off(a, "**") : this.off(b, a || "**", c) } }), n.fn.size = function () { return this.length }, n.fn.andSelf = n.fn.addBack, "function" == typeof define && define.amd && define("jquery", [], function () { return n }); var nc = a.jQuery, oc = a.$; return n.noConflict = function (b) { return a.$ === n && (a.$ = oc), b && a.jQuery === n && (a.jQuery = nc), n }, b || (a.jQuery = a.$ = n), n
});
/* jquery-migrate.min.js */
/*! jQuery Migrate v1.3.0 | (c) jQuery Foundation and other contributors | jquery.org/license */
"undefined" == typeof jQuery.migrateMute && (jQuery.migrateMute = !0), function (a, b, c) { function d(c) { var d = b.console; f[c] || (f[c] = !0, a.migrateWarnings.push(c), d && d.warn && !a.migrateMute && (d.warn("JQMIGRATE: " + c), a.migrateTrace && d.trace && d.trace())) } function e(b, c, e, f) { if (Object.defineProperty) try { return void Object.defineProperty(b, c, { configurable: !0, enumerable: !0, get: function () { return d(f), e }, set: function (a) { d(f), e = a } }) } catch (g) { } a._definePropertyBroken = !0, b[c] = e } a.migrateVersion = "1.3.0"; var f = {}; a.migrateWarnings = [], !a.migrateMute && b.console && b.console.log && b.console.log("JQMIGRATE: Logging is active"), a.migrateTrace === c && (a.migrateTrace = !0), a.migrateReset = function () { f = {}, a.migrateWarnings.length = 0 }, "BackCompat" === document.compatMode && d("jQuery is not compatible with Quirks Mode"); var g = a("<input/>", { size: 1 }).attr("size") && a.attrFn, h = a.attr, i = a.attrHooks.value && a.attrHooks.value.get || function () { return null }, j = a.attrHooks.value && a.attrHooks.value.set || function () { return c }, k = /^(?:input|button)$/i, l = /^[238]$/, m = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, n = /^(?:checked|selected)$/i; e(a, "attrFn", g || {}, "jQuery.attrFn is deprecated"), a.attr = function (b, e, f, i) { var j = e.toLowerCase(), o = b && b.nodeType; return i && (h.length < 4 && d("jQuery.fn.attr( props, pass ) is deprecated"), b && !l.test(o) && (g ? e in g : a.isFunction(a.fn[e]))) ? a(b)[e](f) : ("type" === e && f !== c && k.test(b.nodeName) && b.parentNode && d("Can't change the 'type' of an input or button in IE 6/7/8"), !a.attrHooks[j] && m.test(j) && (a.attrHooks[j] = { get: function (b, d) { var e, f = a.prop(b, d); return f === !0 || "boolean" != typeof f && (e = b.getAttributeNode(d)) && e.nodeValue !== !1 ? d.toLowerCase() : c }, set: function (b, c, d) { var e; return c === !1 ? a.removeAttr(b, d) : (e = a.propFix[d] || d, e in b && (b[e] = !0), b.setAttribute(d, d.toLowerCase())), d } }, n.test(j) && d("jQuery.fn.attr('" + j + "') might use property instead of attribute")), h.call(a, b, e, f)) }, a.attrHooks.value = { get: function (a, b) { var c = (a.nodeName || "").toLowerCase(); return "button" === c ? i.apply(this, arguments) : ("input" !== c && "option" !== c && d("jQuery.fn.attr('value') no longer gets properties"), b in a ? a.value : null) }, set: function (a, b) { var c = (a.nodeName || "").toLowerCase(); return "button" === c ? j.apply(this, arguments) : ("input" !== c && "option" !== c && d("jQuery.fn.attr('value', val) no longer sets properties"), void (a.value = b)) } }; var o, p, q = a.fn.init, r = a.parseJSON, s = /^\s*</, t = /^([^<]*)(<[\w\W]+>)([^>]*)$/; a.fn.init = function (b, e, f) { var g, h; return b && "string" == typeof b && !a.isPlainObject(e) && (g = t.exec(a.trim(b))) && g[0] && (s.test(b) || d("$(html) HTML strings must start with '<' character"), g[3] && d("$(html) HTML text after last tag is ignored"), "#" === g[0].charAt(0) && (d("HTML string cannot start with a '#' character"), a.error("JQMIGRATE: Invalid selector string (XSS)")), e && e.context && (e = e.context), a.parseHTML) ? q.call(this, a.parseHTML(g[2], e && e.ownerDocument || e || document, !0), e, f) : ("#" === b && (d("jQuery( '#' ) is not a valid selector"), b = []), h = q.apply(this, arguments), b && b.selector !== c ? (h.selector = b.selector, h.context = b.context) : (h.selector = "string" == typeof b ? b : "", b && (h.context = b.nodeType ? b : e || document)), h) }, a.fn.init.prototype = a.fn, a.parseJSON = function (a) { return a ? r.apply(this, arguments) : (d("jQuery.parseJSON requires a valid JSON string"), null) }, a.uaMatch = function (a) { a = a.toLowerCase(); var b = /(chrome)[ \/]([\w.]+)/.exec(a) || /(webkit)[ \/]([\w.]+)/.exec(a) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a) || /(msie) ([\w.]+)/.exec(a) || a.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a) || []; return { brows
/* core/main.min.js */
function PageTrack(key) { try { var pageTracker = _gat._getTracker("UA-12442749-5"); null != pageTracker && pageTracker._trackPageview(key) } catch (err) { } } function displayModalPanel(panelID) { var panelElement = $("#" + panelID); 1 == panelElement.length && BlockUIManager.blockUI("#" + panelID, panelElement.width(), panelElement.height(), 0) } function getCookie(name) { var matches = document.cookie.match(new RegExp("(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, "\\$1") + "=([^;]*)")); return matches ? decodeURIComponent(matches[1]) : void 0 } function setCookie(name, value, props) { props = props || {}; var exp = props.expires; if ("number" == typeof exp && exp) { var d = new Date; d.setTime(d.getTime() + 1e3 * exp), exp = props.expires = d } exp && exp.toUTCString && (props.expires = exp.toUTCString()), value = encodeURIComponent(value); var updatedCookie = name + "=" + value; for (var propName in props) { updatedCookie += "; " + propName; var propValue = props[propName]; propValue !== !0 && (updatedCookie += "=" + propValue) } document.cookie = updatedCookie } var pageTracker = null; BlockUIManager = { blockUI: function (obj, width, height, top) { try { width = parseInt(width || 0), height = parseInt(height || 0), left = parseInt(-width / 2), top = parseInt(top || -height / 2), $.blockUI({ message: $(obj), css: { left: "50%", top: "50%", opacity: "1", border: "none", padding: "0px", width: width > 0 ? width + "px" : "auto", height: height > 0 ? height + "px" : "auto", cursor: "default", textAlign: "left", position: "fixed", "margin-left": left + "px", "margin-top": top + "px", "background-color": "Transparent" }, overlayCSS: { backgroundColor: "#eee", cursor: "default", opacity: "0.6" }, focusInput: !0, baseZ: 666, fadeIn: 0, fadeOut: 0, onBlock: function () { var $blockUI = $(obj).parents("div.blockUI:first"), blockUI = $blockUI.removeClass("blockMsg").addClass("blockDialog").get(0), cssText = ""; if ($.browser.msie && $.browser.version < 9 && 0 !== $blockUI.length) { var prefix = " ", cssText = prefix + blockUI.style.cssText, startPos = cssText.toLowerCase().indexOf(prefix + "filter:"), endPos = cssText.indexOf(";", startPos); -1 !== startPos && (-1 !== endPos ? blockUI.style.cssText = [cssText.substring(prefix.length, startPos), cssText.substring(endPos + 1)].join("") : blockUI.style.cssText = cssText.substring(prefix.length, startPos)) } } }) } catch (e) { } } };
/* help/menuselector.min.js */
$(document).ready(function () { $(".menuleft a, .bottommenu a").each(function (index) { var curLocation = window.location.href.replace(window.location.hash, "").toLowerCase(); this.href.trim().toLowerCase() == curLocation ? $(this).addClass("selected") : $(this).removeClass("selected") }), $(".document_builder .menuleft ul li a.selected").parents("ul").css("display", "block"), $(".document_builder .menuleft ul li a.selected").siblings("ul").css("display", "block"), $(".developer_plugins .menuleft ul li a.selected").parents("ul").css("display", "block"), $(".developer_plugins .menuleft ul li a.selected").siblings("ul").css("display", "block") }), $(document).ready(function () { function refresh() { ww = $(window).width(); limit > ww ? location.reload(!0) : ww > limit ? location.reload(!0) : ww = limit } var tOut, ww = $(window).width(), limit = 998; $(window).resize(function () { var resW = $(window).width(); clearTimeout(tOut), (ww > limit && limit > resW || limit > ww && resW > limit) && (tOut = setTimeout(refresh, 100)) }) }), $(window).width() <= 998 && ($(document).ready(function () { $(".menuitem").on("click", function () { $(this).toggleClass("menu_normal_color") }) }), $(document).ready(function () { var menuActualHeight = $(".menuleft").actual("height"); $(".menuleft").height(menuActualHeight).jScrollPane(), $(".mobile_table_contents").on("click", function () { $(".menuleft").slideDown("fast"), $(".search_line").show(), $(".MainHelpCenter, header, footer").one("click", function () { $(".menuleft").slideUp("fast"), $(".search_line").hide() }) }) }), $(document).ready(function () { $(".menuleft a").each(function (index) { if ("700" == $(this).css("font-weight") || "bold" == $(this).css("font-weight")) { var mobileContentValue = $(this).text(); return $("div.mobile_table_contents span").text(mobileContentValue), !1 } }) }));
/* help/toggler.min.js */
$(document).ready(function () { $(".menuleft .leftmenu_documenteditor_toggle_menu.toggler").click(function () { $(this).siblings(".leftmenu_documenteditor_toggle_expand_menu").toggle() }), $(".menuleft .leftmenu_spreadsheeteditor_toggle_menu.toggler").click(function () { $(this).siblings(".leftmenu_spreadsheeteditor_toggle_expand_menu").toggle() }), $(".menuleft .leftmenu_presentationeditor_toggle_menu.toggler").click(function () { $(this).siblings(".leftmenu_presentationeditor_toggle_expand_menu").toggle() }), $(".menuleft .leftmenu_mobile_document_editor.toggler").click(function () { $(this).siblings(".leftmenu_mobile_document_editor_expand").toggle() }), $(".menuleft .leftmenu_mobile_spreadsheet_editor.toggler").click(function () { $(this).siblings(".leftmenu_mobile_spreadsheet_editor_expand").toggle() }), $("#toggleMenuEditors .toggler").on("click", function () { var $elem = $(this), $cur = $elem.parents(".block-editor"), $blocks = $("#toggleMenuEditors .block-editor"); $blocks.removeClass("current"), $cur.addClass("current"); var $other = $blocks.not(".current"); $elem.siblings(".described").slideToggle(), $elem.siblings(".contents").slideToggle(), $elem.parent().find(".toggler").toggle(), $other.find(".contents").slideUp(), $other.find(".described").slideDown(), $other.find(".toggler.showcont").show(), $other.find(".toggler.hidecont").hide() }), $(".sitemap_new ul.smn_node_1 li").each(function (index) { var expand_collapse_icon = '<span class="expanded_node"></span>'; return $("ul.smn_node_1 li").has("ul").prepend(expand_collapse_icon), !1 }), $(".expanded_node").on("click", function () { $(this).toggleClass("collapsed_node").siblings("ul").toggle() }), $(".document_builder .menuleft ul li").each(function (index) { var expand_collapse_icon = '<span class="expanded_node_builder collapsed_node_builder"></span>'; return $(".menuleft ul li").has("ul").prepend(expand_collapse_icon), !1 }), $(".document_builder .menuleft ul li a.selected").parents("li").children("span").removeClass("collapsed_node_builder"), $(".developer_plugins .menuleft ul li").each(function (index) { var expand_collapse_icon = '<span class="expanded_node_builder collapsed_node_builder"></span>'; return $(".menuleft ul li").has("ul").prepend(expand_collapse_icon), !1 }), $(".developer_plugins .menuleft ul li a.selected").parents("li").children("span").removeClass("collapsed_node_builder"), $(".expanded_node_builder").on("click", function () { $(this).toggleClass("collapsed_node_builder").siblings("ul").toggle() }), $(window).load(function () { var pageTitleValue = $("h1.page-title").text(); return "" == pageTitleValue ? !1 : void $(".prettyprint.source.linenums li span").each(function (index) { $(this).is(":contains(" + pageTitleValue + ")") && $(this).is(':not(:contains(".docx"))') && $(this).is(':not(:contains(".xlsx"))') && $(this).is(':not(:contains(".pptx"))') && $(this).addClass("api_highlighted") }) }) }), $(window).width() > 998 && $(document).ready(function () { $(".header_menu").dropit(), $(".community_edition .MainHelpCenter").find(".enterprise_display").each(function (i) { $(this).remove() }), $(".enterprise_edition .MainHelpCenter").find(".community_display").each(function (i) { $(this).remove() }), $(".community_edition .MainHelpCenter").find(".integration_display").each(function (i) { $(this).remove() }), $(".integration_edition .MainHelpCenter").find(".community_display").each(function (i) { $(this).remove() }); });
2016-08-29 13:51:20 +00:00
/* highlight/highlight.pack.js */
/*! highlight.js v9.0.0 | BSD3 License | git.io/hljslicense */
!function (e) { "undefined" != typeof exports ? e(exports) : (self.hljs = e({}), "function" == typeof define && define.amd && define("hljs", [], function () { return self.hljs })) }(function (e) { function n(e) { return e.replace(/&/gm, "&amp;").replace(/</gm, "&lt;").replace(/>/gm, "&gt;") } function t(e) { return e.nodeName.toLowerCase() } function r(e, n) { var t = e && e.exec(n); return t && 0 == t.index } function a(e) { return /^(no-?highlight|plain|text)$/i.test(e) } function i(e) { var n, t, r, i = e.className + " "; if (i += e.parentNode ? e.parentNode.className : "", t = /\blang(?:uage)?-([\w-]+)\b/i.exec(i)) return E(t[1]) ? t[1] : "no-highlight"; for (i = i.split(/\s+/), n = 0, r = i.length; r > n; n++) if (E(i[n]) || a(i[n])) return i[n] } function o(e, n) { var t, r = {}; for (t in e) r[t] = e[t]; if (n) for (t in n) r[t] = n[t]; return r } function u(e) { var n = []; return function r(e, a) { for (var i = e.firstChild; i; i = i.nextSibling) 3 == i.nodeType ? a += i.nodeValue.length : 1 == i.nodeType && (n.push({ event: "start", offset: a, node: i }), a = r(i, a), t(i).match(/br|hr|img|input/) || n.push({ event: "stop", offset: a, node: i })); return a }(e, 0), n } function c(e, r, a) { function i() { return e.length && r.length ? e[0].offset != r[0].offset ? e[0].offset < r[0].offset ? e : r : "start" == r[0].event ? e : r : e.length ? e : r } function o(e) { function r(e) { return " " + e.nodeName + '="' + n(e.value) + '"' } l += "<" + t(e) + Array.prototype.map.call(e.attributes, r).join("") + ">" } function u(e) { l += "</" + t(e) + ">" } function c(e) { ("start" == e.event ? o : u)(e.node) } for (var s = 0, l = "", f = []; e.length || r.length;) { var g = i(); if (l += n(a.substr(s, g[0].offset - s)), s = g[0].offset, g == e) { f.reverse().forEach(u); do c(g.splice(0, 1)[0]), g = i(); while (g == e && g.length && g[0].offset == s); f.reverse().forEach(o) } else "start" == g[0].event ? f.push(g[0].node) : f.pop(), c(g.splice(0, 1)[0]) } return l + n(a.substr(s)) } function s(e) { function n(e) { return e && e.source || e } function t(t, r) { return new RegExp(n(t), "m" + (e.cI ? "i" : "") + (r ? "g" : "")) } function r(a, i) { if (!a.compiled) { if (a.compiled = !0, a.k = a.k || a.bK, a.k) { var u = {}, c = function (n, t) { e.cI && (t = t.toLowerCase()), t.split(" ").forEach(function (e) { var t = e.split("|"); u[t[0]] = [n, t[1] ? Number(t[1]) : 1] }) }; "string" == typeof a.k ? c("keyword", a.k) : Object.keys(a.k).forEach(function (e) { c(e, a.k[e]) }), a.k = u } a.lR = t(a.l || /\b\w+\b/, !0), i && (a.bK && (a.b = "\\b(" + a.bK.split(" ").join("|") + ")\\b"), a.b || (a.b = /\B|\b/), a.bR = t(a.b), a.e || a.eW || (a.e = /\B|\b/), a.e && (a.eR = t(a.e)), a.tE = n(a.e) || "", a.eW && i.tE && (a.tE += (a.e ? "|" : "") + i.tE)), a.i && (a.iR = t(a.i)), void 0 === a.r && (a.r = 1), a.c || (a.c = []); var s = []; a.c.forEach(function (e) { e.v ? e.v.forEach(function (n) { s.push(o(e, n)) }) : s.push("self" == e ? a : e) }), a.c = s, a.c.forEach(function (e) { r(e, a) }), a.starts && r(a.starts, i); var l = a.c.map(function (e) { return e.bK ? "\\.?(" + e.b + ")\\.?" : e.b }).concat([a.tE, a.i]).map(n).filter(Boolean); a.t = l.length ? t(l.join("|"), !0) : { exec: function () { return null } } } } r(e) } function l(e, t, a, i) { function o(e, n) { for (var t = 0; t < n.c.length; t++) if (r(n.c[t].bR, e)) return n.c[t] } function u(e, n) { if (r(e.eR, n)) { for (; e.endsParent && e.parent;) e = e.parent; return e } return e.eW ? u(e.parent, n) : void 0 } function c(e, n) { return !a && r(n.iR, e) } function g(e, n) { var t = N.cI ? n[0].toLowerCase() : n[0]; return e.k.hasOwnProperty(t) && e.k[t] } function h(e, n, t, r) { var a = r ? "" : x.classPrefix, i = '<span class="' + a, o = t ? "" : "</span>"; return i += e + '">', i + n + o } function p() { if (!L.k) return n(M); var e = "", t = 0; L.lR.lastIndex = 0; for (var r = L.lR.exec(M) ; r;) { e += n(M.substr(t, r.index - t)); var a = g(L, r); a ? (B += a[1], e += h(a[0], n(r[0]))) : e += n(r[0]), t = L.lR.lastIndex, r = L.lR.exec(M) } return e + n(M.subst
/* jquery.actual.min.js */
/*! Copyright 2012, Ben Lin (http://dreamerslab.com/)
* Licensed under the MIT License (LICENSE.txt).
*
* Version: 1.0.18
*
* Requires: jQuery >= 1.2.3
*/
(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a);
}else{a(jQuery);}}(function(a){a.fn.addBack=a.fn.addBack||a.fn.andSelf;a.fn.extend({actual:function(b,l){if(!this[b]){throw'$.actual => The jQuery method "'+b+'" you called does not exist';
}var f={absolute:false,clone:false,includeMargin:false,display:"block"};var i=a.extend(f,l);var e=this.eq(0);var h,j;if(i.clone===true){h=function(){var m="position: absolute !important; top: -1000 !important; ";
e=e.clone().attr("style",m).appendTo("body");};j=function(){e.remove();};}else{var g=[];var d="";var c;h=function(){c=e.parents().addBack().filter(":hidden");
d+="visibility: hidden !important; display: "+i.display+" !important; ";if(i.absolute===true){d+="position: absolute !important; ";}c.each(function(){var m=a(this);
var n=m.attr("style");g.push(n);m.attr("style",n?n+";"+d:d);});};j=function(){c.each(function(m){var o=a(this);var n=g[m];if(n===undefined){o.removeAttr("style");
}else{o.attr("style",n);}});};}h();var k=/(outer)/.test(b)?e[b](i.includeMargin):e[b]();j();return k;}});}));
/* jquery.mousewheel.min.js */
!function (factory) { "function" == typeof define && define.amd ? define(["jquery"], factory) : "object" == typeof exports ? module.exports = factory : factory(jQuery) }(function ($) { function handler(event) { var orgEvent = event || window.event, args = slice.call(arguments, 1), delta = 0, deltaX = 0, deltaY = 0, absDelta = 0, offsetX = 0, offsetY = 0; if (event = $.event.fix(orgEvent), event.type = "mousewheel", "detail" in orgEvent && (deltaY = -1 * orgEvent.detail), "wheelDelta" in orgEvent && (deltaY = orgEvent.wheelDelta), "wheelDeltaY" in orgEvent && (deltaY = orgEvent.wheelDeltaY), "wheelDeltaX" in orgEvent && (deltaX = -1 * orgEvent.wheelDeltaX), "axis" in orgEvent && orgEvent.axis === orgEvent.HORIZONTAL_AXIS && (deltaX = -1 * deltaY, deltaY = 0), delta = 0 === deltaY ? deltaX : deltaY, "deltaY" in orgEvent && (deltaY = -1 * orgEvent.deltaY, delta = deltaY), "deltaX" in orgEvent && (deltaX = orgEvent.deltaX, 0 === deltaY && (delta = -1 * deltaX)), 0 !== deltaY || 0 !== deltaX) { if (1 === orgEvent.deltaMode) { var lineHeight = $.data(this, "mousewheel-line-height"); delta *= lineHeight, deltaY *= lineHeight, deltaX *= lineHeight } else if (2 === orgEvent.deltaMode) { var pageHeight = $.data(this, "mousewheel-page-height"); delta *= pageHeight, deltaY *= pageHeight, deltaX *= pageHeight } if (absDelta = Math.max(Math.abs(deltaY), Math.abs(deltaX)), (!lowestDelta || lowestDelta > absDelta) && (lowestDelta = absDelta, shouldAdjustOldDeltas(orgEvent, absDelta) && (lowestDelta /= 40)), shouldAdjustOldDeltas(orgEvent, absDelta) && (delta /= 40, deltaX /= 40, deltaY /= 40), delta = Math[delta >= 1 ? "floor" : "ceil"](delta / lowestDelta), deltaX = Math[deltaX >= 1 ? "floor" : "ceil"](deltaX / lowestDelta), deltaY = Math[deltaY >= 1 ? "floor" : "ceil"](deltaY / lowestDelta), special.settings.normalizeOffset && this.getBoundingClientRect) { var boundingRect = this.getBoundingClientRect(); offsetX = event.clientX - boundingRect.left, offsetY = event.clientY - boundingRect.top } return event.deltaX = deltaX, event.deltaY = deltaY, event.deltaFactor = lowestDelta, event.offsetX = offsetX, event.offsetY = offsetY, event.deltaMode = 0, args.unshift(event, delta, deltaX, deltaY), nullLowestDeltaTimeout && clearTimeout(nullLowestDeltaTimeout), nullLowestDeltaTimeout = setTimeout(nullLowestDelta, 200), ($.event.dispatch || $.event.handle).apply(this, args) } } function nullLowestDelta() { lowestDelta = null } function shouldAdjustOldDeltas(orgEvent, absDelta) { return special.settings.adjustOldDeltas && "mousewheel" === orgEvent.type && absDelta % 120 === 0 } var nullLowestDeltaTimeout, lowestDelta, toFix = ["wheel", "mousewheel", "DOMMouseScroll", "MozMousePixelScroll"], toBind = "onwheel" in document || document.documentMode >= 9 ? ["wheel"] : ["mousewheel", "DomMouseScroll", "MozMousePixelScroll"], slice = Array.prototype.slice; if ($.event.fixHooks) for (var i = toFix.length; i;) $.event.fixHooks[toFix[--i]] = $.event.mouseHooks; var special = $.event.special.mousewheel = { version: "3.1.12", setup: function () { if (this.addEventListener) for (var i = toBind.length; i;) this.addEventListener(toBind[--i], handler, !1); else this.onmousewheel = handler; $.data(this, "mousewheel-line-height", special.getLineHeight(this)), $.data(this, "mousewheel-page-height", special.getPageHeight(this)) }, teardown: function () { if (this.removeEventListener) for (var i = toBind.length; i;) this.removeEventListener(toBind[--i], handler, !1); else this.onmousewheel = null; $.removeData(this, "mousewheel-line-height"), $.removeData(this, "mousewheel-page-height") }, getLineHeight: function (elem) { var $elem = $(elem), $parent = $elem["offsetParent" in $.fn ? "offsetParent" : "parent"](); return $parent.length || ($parent = $("body")), parseInt($parent.css("fontSize"), 10) || parseInt($elem.css("fontSize"), 10) || 16 }, getPageHeight: function (elem) { return $(elem).height() }, settings: { adjustOldDeltas: !0, normalizeOffset: !0 } }; $.fn.extend({ mousewheel: function (fn) { return fn ? this.bind("mousewheel", fn) : this.trigger("mousewhe
/* mwheelIntent.min.js */
!function ($) { function unsetPos() { this === mwheelI.elem && (mwheelI.pos = [-260, -260], mwheelI.elem = !1, minDif = 3) } var longDelay, shortDelay, mwheelI = { pos: [-260, -260] }, minDif = 3, doc = document, root = doc.documentElement, body = doc.body; $.event.special.mwheelIntent = { setup: function () { var jElm = $(this).bind("mousewheel", $.event.special.mwheelIntent.handler); return this !== doc && this !== root && this !== body && jElm.bind("mouseleave", unsetPos), jElm = null, !0 }, teardown: function () { return $(this).unbind("mousewheel", $.event.special.mwheelIntent.handler).unbind("mouseleave", unsetPos), !0 }, handler: function (e, d) { var pos = [e.clientX, e.clientY]; return this === mwheelI.elem || Math.abs(mwheelI.pos[0] - pos[0]) > minDif || Math.abs(mwheelI.pos[1] - pos[1]) > minDif ? (mwheelI.elem = this, mwheelI.pos = pos, minDif = 250, clearTimeout(shortDelay), shortDelay = setTimeout(function () { minDif = 10 }, 200), clearTimeout(longDelay), longDelay = setTimeout(function () { minDif = 3 }, 1500), e = $.extend({}, e, { type: "mwheelIntent" }), ($.event.dispatch || $.event.handle).apply(this, arguments)) : void 0 } }, $.fn.extend({ mwheelIntent: function (fn) { return fn ? this.bind("mwheelIntent", fn) : this.trigger("mwheelIntent") }, unmwheelIntent: function (fn) { return this.unbind("mwheelIntent", fn) } }), $(function () { body = doc.body, $(doc).bind("mwheelIntent.mwheelIntentDefault", $.noop) }) }(jQuery);
/* jquery.jscrollpane.min.js */
/*!
* jScrollPane - v2.0.23 - 2016-01-28
* http://jscrollpane.kelvinluck.com/
*
* Copyright (c) 2014 Kelvin Luck
* Dual licensed under the MIT or GPL licenses.
*/
!function (a) { "function" == typeof define && define.amd ? define(["jquery"], a) : "object" == typeof exports ? module.exports = a(require("jquery")) : a(jQuery) }(function (a) { a.fn.jScrollPane = function (b) { function c(b, c) { function d(c) { var f, h, j, k, l, o, p = !1, q = !1; if (N = c, void 0 === O) l = b.scrollTop(), o = b.scrollLeft(), b.css({ overflow: "hidden", padding: 0 }), P = b.innerWidth() + rb, Q = b.innerHeight(), b.width(P), O = a('<div class="jspPane" />').css("padding", qb).append(b.children()), R = a('<div class="jspContainer" />').css({ width: P + "px", height: Q + "px" }).append(O).appendTo(b); else { if (b.css("width", ""), p = N.stickToBottom && A(), q = N.stickToRight && B(), k = b.innerWidth() + rb != P || b.outerHeight() != Q, k && (P = b.innerWidth() + rb, Q = b.innerHeight(), R.css({ width: P + "px", height: Q + "px" })), !k && sb == S && O.outerHeight() == T) return void b.width(P); sb = S, O.css("width", ""), b.width(P), R.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end() } O.css("overflow", "auto"), S = c.contentWidth ? c.contentWidth : O[0].scrollWidth, T = O[0].scrollHeight, O.css("overflow", ""), U = S / P, V = T / Q, W = V > 1, X = U > 1, X || W ? (b.addClass("jspScrollable"), f = N.maintainPosition && ($ || bb), f && (h = y(), j = z()), e(), g(), i(), f && (w(q ? S - P : h, !1), v(p ? T - Q : j, !1)), F(), C(), L(), N.enableKeyboardNavigation && H(), N.clickOnTrack && m(), J(), N.hijackInternalLinks && K()) : (b.removeClass("jspScrollable"), O.css({ top: 0, left: 0, width: R.width() - rb }), D(), G(), I(), n()), N.autoReinitialise && !pb ? pb = setInterval(function () { d(N) }, N.autoReinitialiseDelay) : !N.autoReinitialise && pb && clearInterval(pb), l && b.scrollTop(0) && v(l, !1), o && b.scrollLeft(0) && w(o, !1), b.trigger("jsp-initialised", [X || W]) } function e() { W && (R.append(a('<div class="jspVerticalBar" />').append(a('<div class="jspCap jspCapTop" />'), a('<div class="jspTrack" />').append(a('<div class="jspDrag" />').append(a('<div class="jspDragTop" />'), a('<div class="jspDragBottom" />'))), a('<div class="jspCap jspCapBottom" />'))), cb = R.find(">.jspVerticalBar"), db = cb.find(">.jspTrack"), Y = db.find(">.jspDrag"), N.showArrows && (hb = a('<a class="jspArrow jspArrowUp" />').bind("mousedown.jsp", k(0, -1)).bind("click.jsp", E), ib = a('<a class="jspArrow jspArrowDown" />').bind("mousedown.jsp", k(0, 1)).bind("click.jsp", E), N.arrowScrollOnHover && (hb.bind("mouseover.jsp", k(0, -1, hb)), ib.bind("mouseover.jsp", k(0, 1, ib))), j(db, N.verticalArrowPositions, hb, ib)), fb = Q, R.find(">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow").each(function () { fb -= a(this).outerHeight() }), Y.hover(function () { Y.addClass("jspHover") }, function () { Y.removeClass("jspHover") }).bind("mousedown.jsp", function (b) { a("html").bind("dragstart.jsp selectstart.jsp", E), Y.addClass("jspActive"); var c = b.pageY - Y.position().top; return a("html").bind("mousemove.jsp", function (a) { p(a.pageY - c, !1) }).bind("mouseup.jsp mouseleave.jsp", o), !1 }), f()) } function f() { db.height(fb + "px"), $ = 0, eb = N.verticalGutter + db.outerWidth(), O.width(P - eb - rb); try { 0 === cb.position().left && O.css("margin-left", eb + "px") } catch (a) { } } function g() { X && (R.append(a('<div class="jspHorizontalBar" />').append(a('<div class="jspCap jspCapLeft" />'), a('<div class="jspTrack" />').append(a('<div class="jspDrag" />').append(a('<div class="jspDragLeft" />'), a('<div class="jspDragRight" />'))), a('<div class="jspCap jspCapRight" />'))), jb = R.find(">.jspHorizontalBar"), kb = jb.find(">.jspTrack"), _ = kb.find(">.jspDrag"), N.showArrows && (nb = a('<a class="jspArrow jspArrowLeft" />').bind("mousedown.jsp", k(-1, 0)).bind("click.jsp", E), ob = a('<a class="jspArrow jspArrowRight" />').bind("mousedown.jsp", k(1, 0)).bind("click.jsp", E), N.arrowScrollOnHover && (nb.bind("mouseover.jsp", k(-1, 0, nb)), ob.bind("mouseover.jsp", k(1, 0, ob))), j(kb, N.horizontalArrowPositions, nb, ob)), _.hover(function () { _.addClass("jspHover") }, function ()
/* sitemap.sort */
$(document).ready(function () { $("#abcindexed").find(".lable_tip").each(function (i) { $(this).remove() }); var list = { letters: [] }; $("#abcindexed").children("li").each(function () { var itmLetter = $(this).find("a").text().substring(0, 1).toUpperCase(); if ("¿" == itmLetter || "." == itmLetter) var itmLetter = $(this).find("a").text().substring(1, 2).toUpperCase(); itmLetter in list || (list[itmLetter] = [], list.letters.push(itmLetter)), list[itmLetter].push($(this)) }), list.letters.sort(), $(".div_for_index").empty(), $.each(list.letters, function (i, letter) { list[letter].sort(function (a, b) { return $(a).text().toUpperCase().trim().localeCompare($(b).text().toUpperCase().trim()) }); var ul = $("<ul/>"); $.each(list[letter], function (idx, itm) { ul.append(itm) }); var pLetter = '<p class="gloss_capital" id=\"gcID' + letter.toUpperCase() + '\">' + letter.toUpperCase() + "</p>"; $("div.div_for_index").append($("<div/>").attr("class", "gloss_content").attr("id", "gloss_" + letter.toLowerCase() + "_block").append(pLetter).append(ul)) }) });
/* jquery.blockUI.min.js */
!function () { "use strict"; function setup($) { function install(el, opts) { var css, themedCSS, full = el == window, msg = opts && void 0 !== opts.message ? opts.message : void 0; if (opts = $.extend({}, $.blockUI.defaults, opts || {}), !opts.ignoreIfBlocked || !$(el).data("blockUI.isBlocked")) { if (opts.overlayCSS = $.extend({}, $.blockUI.defaults.overlayCSS, opts.overlayCSS || {}), css = $.extend({}, $.blockUI.defaults.css, opts.css || {}), opts.onOverlayClick && (opts.overlayCSS.cursor = "default"), themedCSS = $.extend({}, $.blockUI.defaults.themedCSS, opts.themedCSS || {}), msg = void 0 === msg ? opts.message : msg, full && pageBlock && remove(window, { fadeOut: 0 }), msg && "string" != typeof msg && (msg.parentNode || msg.jquery)) { var node = msg.jquery ? msg[0] : msg, data = {}; $(el).data("blockUI.history", data), data.el = node, data.parent = node.parentNode, data.display = node.style.display, data.position = node.style.position, data.parent && data.parent.removeChild(node) } $(el).data("blockUI.onUnblock", opts.onUnblock); var lyr1, lyr2, lyr3, s, z = opts.baseZ; lyr1 = $(msie || opts.forceIframe ? '<iframe class="blockUI" style="z-index:' + z++ + ';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="' + opts.iframeSrc + '"></iframe>' : '<div class="blockUI" style="display:none"></div>'), lyr2 = $(opts.theme ? '<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:' + z++ + ';display:none"></div>' : '<div class="blockUI blockOverlay" style="z-index:' + z++ + ';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'), opts.theme && full ? (s = '<div class="blockUI ' + opts.blockMsgClass + ' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:' + (z + 10) + ';display:none;position:fixed">', opts.title && (s += '<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">' + (opts.title || "&nbsp;") + "</div>"), s += '<div class="ui-widget-content ui-dialog-content"></div>', s += "</div>") : opts.theme ? (s = '<div class="blockUI ' + opts.blockMsgClass + ' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:' + (z + 10) + ';display:none;position:absolute">', opts.title && (s += '<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">' + (opts.title || "&nbsp;") + "</div>"), s += '<div class="ui-widget-content ui-dialog-content"></div>', s += "</div>") : s = full ? '<div class="blockUI ' + opts.blockMsgClass + ' blockPage" style="z-index:' + (z + 10) + ';display:none;position:fixed"></div>' : '<div class="blockUI ' + opts.blockMsgClass + ' blockElement" style="z-index:' + (z + 10) + ';display:none;position:absolute"></div>', lyr3 = $(s), msg && (opts.theme ? (lyr3.css(themedCSS), lyr3.addClass("ui-widget-content")) : lyr3.css(css)), opts.theme || lyr2.css(opts.overlayCSS), lyr2.css("position", full ? "fixed" : "absolute"), (msie || opts.forceIframe) && lyr1.css("opacity", 0); var layers = [lyr1, lyr2, lyr3], $par = $(full ? "body" : el); $.each(layers, function () { this.appendTo($par) }), opts.theme && opts.draggable && $.fn.draggable && lyr3.draggable({ handle: ".ui-dialog-titlebar", cancel: "li" }); var expr = setExpr && (!$.support.boxModel || $("object,embed", full ? null : el).length > 0); if (ie6 || expr) { if (full && opts.allowBodyStretch && $.support.boxModel && $("html,body").css("height", "100%"), (ie6 || !$.support.boxModel) && !full) var t = sz(el, "borderTopWidth"), l = sz(el, "borderLeftWidth"), fixT = t ? "(0 - " + t + ")" : 0, fixL = l ? "(0 - " + l + ")" : 0; $.each(layers, function (i, o) { var s = o[0].style; if (s.position = "absolute", 2 > i) full ? s.setExpression("height", "Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:" + opts.quirksmodeOffsetHack + ') + "px"') : s.setExpression("height", 'this.parentNode.offsetHeight + "px"'), full ? s.setExpression("width", 'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"') : s.setExpression("width", 'th
/* jquery.tmpl.js */
!function (jQuery, undefined) { function newTmplItem(options, parentItem, fn, data) { var newItem = { data: data || (parentItem ? parentItem.data : {}), _wrap: parentItem ? parentItem._wrap : null, tmpl: null, parent: parentItem || null, nodes: [], calls: tiCalls, nest: tiNest, wrap: tiWrap, html: tiHtml, update: tiUpdate }; return options && jQuery.extend(newItem, options, { nodes: [], parent: parentItem }), fn && (newItem.tmpl = fn, newItem._ctnt = newItem._ctnt || newItem.tmpl(jQuery, newItem), newItem.key = ++itemKey, (stack.length ? wrappedItems : newTmplItems)[itemKey] = newItem), newItem } function build(tmplItem, nested, content) { var frag, ret = content ? jQuery.map(content, function (item) { return "string" == typeof item ? tmplItem.key ? item.replace(/(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g, "$1 " + tmplItmAtt + '="' + tmplItem.key + '" $2') : item : build(item, tmplItem, item._ctnt) }) : tmplItem; return nested ? ret : (ret = ret.join(""), ret.replace(/^\s*([^<\s][^<]*)?(<[\w\W]+>)([^>]*[^>\s])?\s*$/, function (all, before, middle, after) { frag = jQuery(middle).get(), storeTmplItems(frag), before && (frag = unencode(before).concat(frag)), after && (frag = frag.concat(unencode(after))) }), frag ? frag : unencode(ret)) } function unencode(text) { var el = document.createElement("div"); return el.innerHTML = text, jQuery.makeArray(el.childNodes) } function buildTmplFn(markup) { return new Function("jQuery", "$item", "var $=jQuery,call,_=[],$data=$item.data;with($data){_.push('" + jQuery.trim(markup).replace(/([\\'])/g, "\\$1").replace(/[\r\t\n]/g, " ").replace(/\$\{([^\}]*)\}/g, "{{= $1}}").replace(/\{\{(\/?)(\w+|.)(?:\(((?:[^\}]|\}(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\}]|\}(?!\}))*?)\))?\s*\}\}/g, function (all, slash, type, fnargs, target, parens, args) { var def, expr, exprAutoFnDetect, tag = jQuery.tmpl.tag[type]; if (!tag) throw "Template command not found: " + type; return def = tag._default || [], parens && !/\w$/.test(target) && (target += parens, parens = ""), target ? (target = unescape(target), args = args ? "," + unescape(args) + ")" : parens ? ")" : "", expr = parens ? target.indexOf(".") > -1 ? target + parens : "(" + target + ").call($item" + args : target, exprAutoFnDetect = parens ? expr : "(typeof(" + target + ")==='function'?(" + target + ").call($item):(" + target + "))") : exprAutoFnDetect = expr = def.$1 || "null", fnargs = unescape(fnargs), "');" + tag[slash ? "close" : "open"].split("$notnull_1").join(target ? "typeof(" + target + ")!=='undefined' && (" + target + ")!=null" : "true").split("$1a").join(exprAutoFnDetect).split("$1").join(expr).split("$2").join(fnargs ? fnargs.replace(/\s*([^\(]+)\s*(\((.*?)\))?/g, function (all, name, parens, params) { return params = params ? "," + params + ")" : parens ? ")" : "", params ? "(" + name + ").call($item" + params : all }) : def.$2 || "") + "_.push('" }) + "');}return _;") } function updateWrapped(options, wrapped) { options._wrap = build(options, !0, jQuery.isArray(wrapped) ? wrapped : [htmlExpr.test(wrapped) ? wrapped : jQuery(wrapped).html()]).join("") } function unescape(args) { return args ? args.replace(/\\'/g, "'").replace(/\\\\/g, "\\") : null } function outerHtml(elem) { var div = document.createElement("div"); return div.appendChild(elem.cloneNode(!0)), div.innerHTML } function storeTmplItems(content) { function processItemKey(el) { function cloneTmplItem(key) { key += keySuffix, tmplItem = newClonedItems[key] = newClonedItems[key] || newTmplItem(tmplItem, newTmplItems[tmplItem.parent.key + keySuffix] || tmplItem.parent, null, !0) } var pntKey, pntItem, tmplItem, key, pntNode = el; if (key = el.getAttribute(tmplItmAtt)) { for (; pntNode.parentNode && 1 === (pntNode = pntNode.parentNode).nodeType && !(pntKey = pntNode.getAttribute(tmplItmAtt)) ;); pntKey !== key && (pntNode = pntNode.parentNode ? 11 === pntNode.nodeType ? 0 : pntNode.getAttribute(tmplItmAtt) || 0 : 0, (tmplItem = newTmplItems[key]) || (tmplItem = wrappedItems[key], tmplItem = newTmplItem(tmplItem, newTmplItems[pntNode] || wrappedItems[pntNode], null, !0), tmplI
/* core/language-selector.min.js */
var LanguageSelectorManager = new function () { var init = function () { $("div.custom-select").hover(function () { $(this).css("background", "none") }, function () { $(this).css("background", "none") }) }, openLngSelector = function () { $("#LanguageSelector").hasClass("open") || ($("div.custom-select").unbind("mouseenter mouseleave"), $("div.custom-select").css("background", "none"), $("#LanguageSelector ul.options:first").slideDown(10, function () { $("#LanguageSelector").addClass("open"), $(document).one("click", function () { $("div.custom-select").css("background", "none"), init(), $("#LanguageSelector ul.options:first").hide(), $("#LanguageSelector").removeClass("open") }) })) }; return { init: init, openLngSelector: openLngSelector } };
/* jquery.watermarkinput.min.js */
!function ($) { var map = new Array; $.Watermark = { ShowAll: function () { for (var i = 0; i < map.length; i++) "" == map[i].obj.val() ? (map[i].obj.val(map[i].text), map[i].obj.css("color", map[i].WatermarkColor)) : map[i].obj.css("color", map[i].DefaultColor) }, HideAll: function () { for (var i = 0; i < map.length; i++) map[i].obj.val() == map[i].text && map[i].obj.val("") } }, $.fn.Watermark = function (text, color) { return color || (color = "#aaa"), this.each(function () { function clearMessage() { input.val() == text && input.val(""), input.css("color", defaultColor) } function insertMessage() { 0 == input.val().length || input.val() == text ? (input.val(text), input.css("color", color)) : input.css("color", defaultColor) } var input = $(this), defaultColor = input.css("color"); map[map.length] = { text: text, obj: input, DefaultColor: defaultColor, WatermarkColor: color }, input.focus(clearMessage), input.blur(insertMessage), input.change(insertMessage), insertMessage() }) } }(jQuery);
/* core/basemaster.init.min.js */
$(function () { LanguageSelectorManager.init(), $(document).keyup(function (event) { if ($(".blockUI").is(":visible")) { var code; if (!e) var e = event; e.keyCode ? code = e.keyCode : e.which && (code = e.which), 27 == code && $.unblockUI() } }) });
/* core/modalscontroller.min.js */
function Search(path) { var url = new String, search = document.getElementById("txtSearch").value; return null != search && search.length > 0 && search != $("#helpmark").val() ? (url = path + "?text=" + encodeURIComponent(search), void (window.location.href = url)) : void (window.location.href = path) } function tooltip(target_items, name) { $(target_items).each(function () { var id = $.trim($(this).attr("id")).split("_")[1], title = $.trim($(this).attr("title")); if ("" != title && null != title) { $("body").append("<div style='display:none;' class='borderBase tintMedium " + name + "' id='" + name + id + "'><p>" + title + "</p></div>"); var my_tooltip = $("#" + name + id); $(this).removeAttr("title").mouseover(function () { my_tooltip.show() }).mousemove(function (kmouse) { my_tooltip.css({ left: kmouse.pageX + 15, top: kmouse.pageY + 15 }) }).mouseout(function () { my_tooltip.hide() }) } }) } function textPaste(target_items, name) { $(target_items).each(function () { var title = ($.trim($(this).attr("id")).split("_")[1], $.trim($(this).attr("title"))); "" != title && null != title && $(this).removeAttr("title").after("<p>" + title + "</p>") }) } function showVideoContainer() { displayModalPanel("VideoContainer") } function showVideoContainer2() { displayModalPanel("VideoContainer2") } function showVideoContainer3() { displayModalPanel("VideoContainer3") } function showVideoContainer4() { displayModalPanel("VideoContainer4") } function showVideoContainer5() { displayModalPanel("VideoContainer5") } function showVideoContainer6() { displayModalPanel("VideoContainer6") } function HelpCenterMasterInit() { $(window).scroll(function () { if ($("a[name=comments]").length) { var distanceTop = $("a[name=comments]").offset().top - $(window).height(); $(window).scrollTop() > distanceTop ? ($("#PopupAlsoBlock").animate({ right: "0px" }, 200), $("#SeeAlsoBlock").html($("#SeeAlsoBlockLinks").html())) : $("#PopupAlsoBlock").stop(!0).animate({ right: "-430px" }, 100) } }), $("#PopupAlsoBlock .close").bind("click", function () { $(this).parent().remove() }) } function IndexPageInit(watermarkText, searchText, searchPath) { $("#navitem_help").attr("class", "navCurrentItem"), $("#txtSearch").Watermark(watermarkText, "#7A7A7A"), $("#txtSearch").val(searchText), $("#txtSearch").unbind("keyup").bind("keyup", function (event) { return 13 == event.keyCode ? void Search(searchPath) : void 0 }), $("#SearchExample").click(function () { $("#txtSearch").val($("#SearchExample").text()), $("#txtSearch").focus(), Search(searchPath) }), $("#switcherMenu span").on("click", function () { var type = $(this).attr("data-name"), value = getCookie("type-menu"); $("[id$=ListMenu]").hide(), $("[id$=MainContent]").hide(), $("#switcherMenu span").removeClass("active"), $(this).addClass("active"), $("#" + type + "ListMenu").show(), $("#" + type + "MainContent").show(), value != type && setCookie("type-menu", type) }) } $(function () { $(".screenphoto").click(function () { $img = $("#" + $(this).attr("target")); var alt = $img.attr("alt"), path = $("#" + $(this).attr("target")).attr("src"); $("#scrHelpContent").html($("#scrHelpTemplate").tmpl({ CurScreen: path, curalt: alt })), $("#scrHelpContainer").width($img.width() + "px"), displayModalPanel("scrHelpContainer") }), $(".text-container-link").on("click", function () { $id = $("#" + $(this).attr("data-content")), $("#textHelpContent").html($id.html()), $("#textHelpContainer .tag_name").text($(this).text()), displayModalPanel("textHelpContainer") }) });
/* help/dropit.min.js */
!function ($) { $.fn.dropit = function (method) { var methods = { init: function (options) { return this.dropit.settings = $.extend({}, this.dropit.defaults, options), this.each(function () { var $el = $(this), settings = $.fn.dropit.settings; $el.addClass("dropit").find(">" + settings.triggerParentEl + ":has(" + settings.submenuEl + ")").addClass("dropit-trigger").find(settings.submenuEl).addClass("dropit-submenu").hide(), $el.off(settings.action).on(settings.action, settings.triggerParentEl + ":has(" + settings.submenuEl + ") > " + settings.triggerEl, function () { return "click" == settings.action && $(this).parents(settings.triggerParentEl).hasClass("dropit-open") ? (settings.beforeHide.call(this), $(this).parents(settings.triggerParentEl).removeClass("dropit-open").find(settings.submenuEl).hide(), settings.afterHide.call(this), !1) : (settings.beforeHide.call(this), $(".dropit-open").removeClass("dropit-open").find(".dropit-submenu").hide(), settings.afterHide.call(this), settings.beforeShow.call(this), $(this).parents(settings.triggerParentEl).addClass("dropit-open").find(settings.submenuEl).show(), settings.afterShow.call(this), !1) }), $(document).on("click", function () { settings.beforeHide.call(this), $(".dropit-open").removeClass("dropit-open").find(".dropit-submenu").hide(), settings.afterHide.call(this) }), "mouseenter" == settings.action && $el.on("mouseleave", ".dropit-open", function () { settings.beforeHide.call(this), $(this).removeClass("dropit-open").find(settings.submenuEl).hide(), settings.afterHide.call(this) }), settings.afterLoad.call(this) }) } }; return methods[method] ? methods[method].apply(this, Array.prototype.slice.call(arguments, 1)) : "object" != typeof method && method ? void $.error('Method "' + method + '" does not exist in dropit plugin!') : methods.init.apply(this, arguments) }, $.fn.dropit.defaults = { action: "click", submenuEl: "ul", triggerEl: "a", triggerParentEl: "li", afterLoad: function () { }, beforeShow: function () { }, afterShow: function () { }, beforeHide: function () { }, afterHide: function () { } }, $.fn.dropit.settings = {} }(jQuery);
/* pushy.min.js */
!function (a) { function b() { g.hasClass(k) ? h.toggleClass(l) : h.toggleClass(m) } function c() { g.hasClass(k) ? (h.addClass(l), g.animate({ left: "0px" }, p), i.animate({ left: q }, p), j.animate({ left: q }, p)) : (h.addClass(m), g.animate({ right: "0px" }, p), i.animate({ right: q }, p), j.animate({ right: q }, p)) } function d() { g.hasClass(k) ? (h.removeClass(l), g.animate({ left: "-" + q }, p), i.animate({ left: "0px" }, p), j.animate({ left: "0px" }, p)) : (h.removeClass(m), g.animate({ right: "-" + q }, p), i.animate({ right: "0px" }, p), j.animate({ right: "0px" }, p)) } function e() { a(r).addClass(t), a(r).on("click", function () { var b = a(this); b.hasClass(t) ? (a(r).addClass(t).removeClass(s), b.removeClass(t).addClass(s)) : b.addClass(t).removeClass(s) }) } function f() { a(r).addClass(t), u.children("a").on("click", function (b) { b.preventDefault(), a(this).toggleClass(s).next(".pushy-submenu ul").slideToggle(200).end().parent(r).siblings(r).children("a").removeClass(s).next(".pushy-submenu ul").slideUp(200) }) } var g = a(".pushy"), h = a("body"), i = a("#container"), j = a(".push"), k = "pushy-left", l = "pushy-open-left", m = "pushy-open-right", n = a(".site-overlay"), o = a(".ham_menu, .pushy-link"), p = 200, q = g.width() + "px", r = ".pushy-submenu", s = "pushy-submenu-open", t = "pushy-submenu-closed", u = a(r), v = function () { var a = document.createElement("p"), b = !1, c = { webkitTransform: "-webkit-transform", OTransform: "-o-transform", msTransform: "-ms-transform", MozTransform: "-moz-transform", transform: "transform" }; document.body.insertBefore(a, null); for (var d in c) void 0 !== a.style[d] && (a.style[d] = "translate3d(1px,1px,1px)", b = window.getComputedStyle(a).getPropertyValue(c[d])); return document.body.removeChild(a), void 0 !== b && b.length > 0 && "none" !== b }(); if (v) g.css({ visibility: "visible" }), e(), o.on("click", function () { b() }), n.on("click", function () { b() }); else { h.addClass("no-csstransforms3d"), g.hasClass(k) ? g.css({ left: "-" + q }) : g.css({ right: "-" + q }), g.css({ visibility: "visible" }), i.css({ "overflow-x": "hidden" }); var w = !1; f(), o.on("click", function () { w ? (d(), w = !1) : (c(), w = !0) }), n.on("click", function () { w ? (d(), w = !1) : (c(), w = !0) }) } }(jQuery);
/* search with enter */
$(function () { $("#txtSearch").unbind("keyup").bind("keyup", function (event) { if (13 == event.keyCode) return Search(path), !1 }) });
/* add 'prettyprint' class to pre */
var preClassName = $("pre").attr("class"); "" !== preClassName && $("pre").addClass("prettyprint");
/* prettify.js */
$.getScript('https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js', function()
{ PR.registerLangHandler(PR.createSimpleLexer([["pln", /^[\t\n\f\r ]+/, null, " \t\r\n "]], [["str", /^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/, null], ["str", /^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/, null], ["lang-css-str", /^url\(([^"')]*)\)/i], ["kwd", /^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i, null], ["lang-css-kw", /^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i], ["com", /^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//], ["com", /^(?:<\!--|--\>)/], ["lit", /^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i], ["lit", /^#[\da-f]{3,6}/i], ["pln", /^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i], ["pun", /^[^\s\w"']+/]]), ["css"]); PR.registerLangHandler(PR.createSimpleLexer([], [["kwd", /^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]), ["css-kw"]); PR.registerLangHandler(PR.createSimpleLexer([], [["str", /^[^"')]+/]]), ["css-str"]); });