// ==UserScript== // @name byw漫畫下載 // @version 2024-10-19 // @namespace mccranky83.github.io // @description 下載搬運網單行本漫畫 // @author Mccranky83 // @match http://*/plugin.php?id=jameson_manhua*a=bofang*kuid* // @match http://*/plugin.php?id=jameson_manhua*kuid*a=bofang* // @match https://*/plugin.php?id=jameson_manhua*a=bofang*kuid* // @match https://*/plugin.php?id=jameson_manhua*kuid*a=bofang* // @icon https://www.google.com/s2/favicons?sz=64&domain=antbyw.com // @grant GM_xmlhttpRequest // @connect zerobywz.com // @license MIT // @downloadURL none // ==/UserScript== (() => { var t = { 145: (t, e, n) => { "use strict"; n.d(e, { A: () => c }); var r = n(601), o = n.n(r), i = n(314), a = n.n(i)()(o()); a.push([ t.id, "#cursor-pointer,\n#vertical-line,\n#horizontal-line {\n position: fixed;\n z-index: 2000;\n pointer-events: none;\n display: none;\n}\n#cursor-pointer {\n --cursor-diameter: 20px;\n width: var(--cursor-diameter);\n height: var(--cursor-diameter);\n border-radius: 50%;\n background-color: blue;\n opacity: 0.5;\n}\n#vertical-line,\n#horizontal-line {\n background-color: blue;\n opacity: 0.5;\n}\n#vertical-line {\n width: 1px;\n top: 0;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n background: linear-gradient(blue 50%, transparent 50%);\n background-size: 100% 20px;\n animation: moveDown 1s linear infinite;\n}\n#horizontal-line {\n height: 1px;\n left: 0;\n right: 0;\n top: 50%;\n transform: translateY(-50%);\n background: linear-gradient(to right, blue 50%, transparent 50%);\n background-size: 20px 100%;\n animation: moveRight 1s linear infinite;\n}\n@keyframes moveDown {\n 0% {\n background-position: 0 0;\n }\n 100% {\n background-position: 0 20px;\n }\n}\n@keyframes moveRight {\n 0% {\n background-position: 0 0;\n }\n 100% {\n background-position: 20px 0;\n }\n}\n", "", ]); const c = a; }, 282: (t, e, n) => { "use strict"; n.d(e, { A: () => c }); var r = n(601), o = n.n(r), i = n(314), a = n.n(i)()(o()); a.push([ t.id, "#injected span {\n padding: 2px 8px;\n}\n#injected select {\n width: 80px;\n height: 30px;\n line-height: 30px;\n border-radius: 2px;\n}\n.grid-container {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: 2%;\n}\n.grid-container .uk-button {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 5vh;\n text-align: center;\n padding: 2%;\n box-sizing: border-box;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.range-container,\n.tooltip-container {\n position: relative;\n display: inline-block;\n margin-top: 10px;\n}\n.tooltip-button {\n width: 20px;\n height: 20px;\n border-radius: 50%;\n background-color: #007bff;\n color: white;\n border: none;\n font-size: 10px;\n text-align: center;\n line-height: 20px;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n.tooltip-text {\n visibility: hidden;\n width: 250px;\n background-color: #555;\n color: #fff;\n text-align: left;\n border-radius: 5px;\n padding: 10px;\n position: absolute;\n z-index: 1500;\n right: 0%;\n bottom: 100%;\n white-space: normal;\n}\n.tooltip-button:hover + .tooltip-text {\n visibility: visible;\n opacity: 1;\n}\n.tooltip-text p {\n margin: 0 0 10px;\n}\n.tooltip-text p:last-child {\n margin-bottom: 0;\n}\n", "", ]); const c = a; }, 821: (t, e, n) => { "use strict"; n.d(e, { A: () => c }); var r = n(601), o = n.n(r), i = n(314), a = n.n(i)()(o()); a.push([ t.id, "#dl-bar {\n border: 1px solid black;\n height: 20px;\n width: 400px;\n display: none;\n position: relative;\n background-color: #f3f3f3;\n overflow: hidden;\n}\n#dl-progress-failed {\n height: 100%;\n width: 0%;\n background-color: red;\n position: absolute;\n transition: width 0.5s ease;\n}\n#dl-progress {\n height: 100%;\n width: 0%;\n background-color: green;\n position: absolute;\n transition: width 0.5s ease;\n}\n#dl-info {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n font-size: 12px;\n z-index: 999999;\n color: black;\n}\n#dl-percentage-container {\n display: none;\n position: fixed !important;\n z-index: 999999 !important;\n right: 0 !important;\n bottom: 0 !important;\n}\n#dl-percentage-container > a {\n display: flex !important;\n position: relative !important;\n min-width: 1vh !important;\n min-height: 1vh !important;\n max-width: max-content !important;\n max-height: max-content !important;\n align-items: center !important;\n justify-content: center !important;\n border: 0.2vh solid black !important;\n border-radius: 0.4vh !important;\n padding: 0.6vh !important;\n margin: 1.2vh !important;\n margin-left: auto !important;\n font-weight: bold !important;\n font-size: 1.9vh !important;\n text-decoration: none !important;\n cursor: pointer !important;\n user-select: none !important;\n transition:\n top 0.05s ease-out,\n right 0.05s ease-out,\n bottom 0.05s ease-out,\n left 0.05s ease-out,\n box-shadow 0.05s ease-out !important;\n background-color: white;\n color: black;\n}\n#dl-percentage-container > a.disabled {\n pointer-events: none !important;\n opacity: 0.5 !important;\n}\n#dl-percentage-container > a:hover {\n filter: brightness(90%);\n}\n#dl-percentage-container > a:active {\n filter: brightness(75%);\n}\n#dl-percentage-container > a.animate-click {\n bottom: 0vh;\n right: 0vh;\n box-shadow:\n black 0.05vh 0.05vh,\n black 0.1vh 0.1vh,\n black 0.15vh 0.15vh,\n black 0.2vh 0.2vh,\n black 0.25vh 0.25vh,\n black 0.3vh 0.3vh,\n black 0.35vh 0.35vh,\n black 0.4vh 0.4vh;\n}\n#dl-percentage-container > a.animate-click:active {\n bottom: -0.4vh;\n right: -0.4vh;\n box-shadow: none;\n}\n", "", ]); const c = a; }, 887: (t, e, n) => { "use strict"; n.d(e, { A: () => c }); var r = n(601), o = n.n(r), i = n(314), a = n.n(i)()(o()); a.push([ t.id, "#sidebar-open-btn {\n --sidebar-diameter: 50px;\n position: fixed;\n top: 50%;\n right: 0%;\n width: var(--sidebar-diameter);\n height: var(--sidebar-diameter);\n font-size: 16px;\n border-radius: 50%;\n background-color: #007bff;\n color: white;\n border: none;\n cursor: pointer;\n z-index: 1000;\n display: flex;\n align-items: center;\n justify-content: center;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n#sidebar-open-btn.hidden {\n display: none;\n}\n#uk-sidebar {\n position: fixed;\n bottom: 0;\n right: -100%;\n width: 30%;\n max-width: 50%;\n height: 60%;\n background-color: white;\n color: black;\n padding: 20px;\n transition: right 0.3s ease;\n box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);\n z-index: 1000;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n.abort-dialog a {\n color: #cc0000;\n cursor: pointer;\n}\n#uk-sidebar .abort-dialog {\n width: 100%;\n background: rgba(0, 0, 0, 0.75);\n color: white;\n padding: 10px;\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);\n text-align: center;\n position: absolute;\n top: 0;\n left: 0;\n border: 1px solid black;\n opacity: 0;\n transition:\n opacity 0.5s ease,\n bottom 0.5s ease;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n display: inline-block;\n max-width: 100%;\n}\n#uk-sidebar:hover .abort-dialog {\n opacity: 1;\n}\n#uk-sidebar .titlebar {\n font-size: 25px;\n margin-bottom: auto;\n margin-top: 50px;\n}\n#uk-sidebar .uk-container {\n margin-top: 10%;\n flex-grow: 1;\n}\n#uk-sidebar.active {\n right: 0%;\n}\n#sidebar-close-btn {\n position: absolute;\n top: 40px;\n right: 20px;\n font-size: 30px;\n background: none;\n border: none;\n color: black;\n cursor: pointer;\n}\n", "", ]); const c = a; }, 314: (t) => { "use strict"; t.exports = function (t) { var e = []; return ( (e.toString = function () { return this.map(function (e) { var n = "", r = void 0 !== e[5]; return ( e[4] && (n += "@supports (".concat(e[4], ") {")), e[2] && (n += "@media ".concat(e[2], " {")), r && (n += "@layer".concat( e[5].length > 0 ? " ".concat(e[5]) : "", " {", )), (n += t(e)), r && (n += "}"), e[2] && (n += "}"), e[4] && (n += "}"), n ); }).join(""); }), (e.i = function (t, n, r, o, i) { "string" == typeof t && (t = [[null, t, void 0]]); var a = {}; if (r) for (var c = 0; c < this.length; c++) { var s = this[c][0]; null != s && (a[s] = !0); } for (var u = 0; u < t.length; u++) { var l = [].concat(t[u]); (r && a[l[0]]) || (void 0 !== i && (void 0 === l[5] || (l[1] = "@layer" .concat(l[5].length > 0 ? " ".concat(l[5]) : "", " {") .concat(l[1], "}")), (l[5] = i)), n && (l[2] ? ((l[1] = "@media " .concat(l[2], " {") .concat(l[1], "}")), (l[2] = n)) : (l[2] = n)), o && (l[4] ? ((l[1] = "@supports (" .concat(l[4], ") {") .concat(l[1], "}")), (l[4] = o)) : (l[4] = "".concat(o))), e.push(l)); } }), e ); }; }, 601: (t) => { "use strict"; t.exports = function (t) { return t[1]; }; }, 213: function (t, e, n) { var r, o, i; (o = []), void 0 === (i = "function" == typeof (r = function () { "use strict"; function e(t, e) { return ( void 0 === e ? (e = { autoBom: !1 }) : "object" != typeof e && (console.warn( "Deprecated: Expected third argument to be a object", ), (e = { autoBom: !e })), e.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test( t.type, ) ? new Blob(["\ufeff", t], { type: t.type }) : t ); } function r(t, e, n) { var r = new XMLHttpRequest(); r.open("GET", t), (r.responseType = "blob"), (r.onload = function () { s(r.response, e, n); }), (r.onerror = function () { console.error("could not download file"); }), r.send(); } function o(t) { var e = new XMLHttpRequest(); e.open("HEAD", t, !1); try { e.send(); } catch (t) {} return 200 <= e.status && 299 >= e.status; } function i(t) { try { t.dispatchEvent(new MouseEvent("click")); } catch (n) { var e = document.createEvent("MouseEvents"); e.initMouseEvent( "click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null, ), t.dispatchEvent(e); } } var a = "object" == typeof window && window.window === window ? window : "object" == typeof self && self.self === self ? self : "object" == typeof n.g && n.g.global === n.g ? n.g : void 0, c = a.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), s = a.saveAs || ("object" != typeof window || window !== a ? function () {} : "download" in HTMLAnchorElement.prototype && !c ? function (t, e, n) { var c = a.URL || a.webkitURL, s = document.createElement("a"); (e = e || t.name || "download"), (s.download = e), (s.rel = "noopener"), "string" == typeof t ? ((s.href = t), s.origin === location.origin ? i(s) : o(s.href) ? r(t, e, n) : i(s, (s.target = "_blank"))) : ((s.href = c.createObjectURL(t)), setTimeout(function () { c.revokeObjectURL(s.href); }, 4e4), setTimeout(function () { i(s); }, 0)); } : "msSaveOrOpenBlob" in navigator ? function (t, n, a) { if ( ((n = n || t.name || "download"), "string" != typeof t) ) navigator.msSaveOrOpenBlob(e(t, a), n); else if (o(t)) r(t, n, a); else { var c = document.createElement("a"); (c.href = t), (c.target = "_blank"), setTimeout(function () { i(c); }); } } : function (t, e, n, o) { if ( ((o = o || open("", "_blank")) && (o.document.title = o.document.body.innerText = "downloading..."), "string" == typeof t) ) return r(t, e, n); var i = "application/octet-stream" === t.type, s = /constructor/i.test(a.HTMLElement) || a.safari, u = /CriOS\/[\d]+/.test(navigator.userAgent); if ( (u || (i && s) || c) && "undefined" != typeof FileReader ) { var l = new FileReader(); (l.onloadend = function () { var t = l.result; (t = u ? t : t.replace( /^data:[^;]*;/, "data:attachment/file;", )), o ? (o.location.href = t) : (location = t), (o = null); }), l.readAsDataURL(t); } else { var f = a.URL || a.webkitURL, p = f.createObjectURL(t); o ? (o.location = p) : (location.href = p), (o = null), setTimeout(function () { f.revokeObjectURL(p); }, 4e4); } }); (a.saveAs = s.saveAs = s), (t.exports = s); }) ? r.apply(e, o) : r) || (t.exports = i); }, 692: function (t, e) { var n; !(function (e, n) { "use strict"; "object" == typeof t.exports ? (t.exports = e.document ? n(e, !0) : function (t) { if (!t.document) throw new Error( "jQuery requires a window with a document", ); return n(t); }) : n(e); })("undefined" != typeof window ? window : this, function (r, o) { "use strict"; var i = [], a = Object.getPrototypeOf, c = i.slice, s = i.flat ? function (t) { return i.flat.call(t); } : function (t) { return i.concat.apply([], t); }, u = i.push, l = i.indexOf, f = {}, p = f.toString, h = f.hasOwnProperty, d = h.toString, v = d.call(Object), y = {}, g = function (t) { return ( "function" == typeof t && "number" != typeof t.nodeType && "function" != typeof t.item ); }, m = function (t) { return null != t && t === t.window; }, b = r.document, x = { type: !0, src: !0, nonce: !0, noModule: !0 }; function w(t, e, n) { var r, o, i = (n = n || b).createElement("script"); if (((i.text = t), e)) for (r in x) (o = e[r] || (e.getAttribute && e.getAttribute(r))) && i.setAttribute(r, o); n.head.appendChild(i).parentNode.removeChild(i); } function k(t) { return null == t ? t + "" : "object" == typeof t || "function" == typeof t ? f[p.call(t)] || "object" : typeof t; } var E = "3.7.1", j = /HTML$/i, T = function (t, e) { return new T.fn.init(t, e); }; function L(t) { var e = !!t && "length" in t && t.length, n = k(t); return ( !g(t) && !m(t) && ("array" === n || 0 === e || ("number" == typeof e && e > 0 && e - 1 in t)) ); } function S(t, e) { return t.nodeName && t.nodeName.toLowerCase() === e.toLowerCase(); } (T.fn = T.prototype = { jquery: E, constructor: T, length: 0, toArray: function () { return c.call(this); }, get: function (t) { return null == t ? c.call(this) : t < 0 ? this[t + this.length] : this[t]; }, pushStack: function (t) { var e = T.merge(this.constructor(), t); return (e.prevObject = this), e; }, each: function (t) { return T.each(this, t); }, map: function (t) { return this.pushStack( T.map(this, function (e, n) { return t.call(e, n, e); }), ); }, slice: function () { return this.pushStack(c.apply(this, arguments)); }, first: function () { return this.eq(0); }, last: function () { return this.eq(-1); }, even: function () { return this.pushStack( T.grep(this, function (t, e) { return (e + 1) % 2; }), ); }, odd: function () { return this.pushStack( T.grep(this, function (t, e) { return e % 2; }), ); }, eq: function (t) { var e = this.length, n = +t + (t < 0 ? e : 0); return this.pushStack(n >= 0 && n < e ? [this[n]] : []); }, end: function () { return this.prevObject || this.constructor(); }, push: u, sort: i.sort, splice: i.splice, }), (T.extend = T.fn.extend = function () { var t, e, n, r, o, i, a = arguments[0] || {}, c = 1, s = arguments.length, u = !1; for ( "boolean" == typeof a && ((u = a), (a = arguments[c] || {}), c++), "object" == typeof a || g(a) || (a = {}), c === s && ((a = this), c--); c < s; c++ ) if (null != (t = arguments[c])) for (e in t) (r = t[e]), "__proto__" !== e && a !== r && (u && r && (T.isPlainObject(r) || (o = Array.isArray(r))) ? ((n = a[e]), (i = o && !Array.isArray(n) ? [] : o || T.isPlainObject(n) ? n : {}), (o = !1), (a[e] = T.extend(u, i, r))) : void 0 !== r && (a[e] = r)); return a; }), T.extend({ expando: "jQuery" + (E + Math.random()).replace(/\D/g, ""), isReady: !0, error: function (t) { throw new Error(t); }, noop: function () {}, isPlainObject: function (t) { var e, n; return ( !(!t || "[object Object]" !== p.call(t)) && (!(e = a(t)) || ("function" == typeof (n = h.call(e, "constructor") && e.constructor) && d.call(n) === v)) ); }, isEmptyObject: function (t) { var e; for (e in t) return !1; return !0; }, globalEval: function (t, e, n) { w(t, { nonce: e && e.nonce }, n); }, each: function (t, e) { var n, r = 0; if (L(t)) for ( n = t.length; r < n && !1 !== e.call(t[r], r, t[r]); r++ ); else for (r in t) if (!1 === e.call(t[r], r, t[r])) break; return t; }, text: function (t) { var e, n = "", r = 0, o = t.nodeType; if (!o) for (; (e = t[r++]); ) n += T.text(e); return 1 === o || 11 === o ? t.textContent : 9 === o ? t.documentElement.textContent : 3 === o || 4 === o ? t.nodeValue : n; }, makeArray: function (t, e) { var n = e || []; return ( null != t && (L(Object(t)) ? T.merge(n, "string" == typeof t ? [t] : t) : u.call(n, t)), n ); }, inArray: function (t, e, n) { return null == e ? -1 : l.call(e, t, n); }, isXMLDoc: function (t) { var e = t && t.namespaceURI, n = t && (t.ownerDocument || t).documentElement; return !j.test(e || (n && n.nodeName) || "HTML"); }, merge: function (t, e) { for (var n = +e.length, r = 0, o = t.length; r < n; r++) t[o++] = e[r]; return (t.length = o), t; }, grep: function (t, e, n) { for (var r = [], o = 0, i = t.length, a = !n; o < i; o++) !e(t[o], o) !== a && r.push(t[o]); return r; }, map: function (t, e, n) { var r, o, i = 0, a = []; if (L(t)) for (r = t.length; i < r; i++) null != (o = e(t[i], i, n)) && a.push(o); else for (i in t) null != (o = e(t[i], i, n)) && a.push(o); return s(a); }, guid: 1, support: y, }), "function" == typeof Symbol && (T.fn[Symbol.iterator] = i[Symbol.iterator]), T.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " ", ), function (t, e) { f["[object " + e + "]"] = e.toLowerCase(); }, ); var A = i.pop, O = i.sort, C = i.splice, _ = "[\\x20\\t\\r\\n\\f]", N = new RegExp( "^" + _ + "+|((?:^|[^\\\\])(?:\\\\.)*)" + _ + "+$", "g", ); T.contains = function (t, e) { var n = e && e.parentNode; return ( t === n || !( !n || 1 !== n.nodeType || !(t.contains ? t.contains(n) : t.compareDocumentPosition && 16 & t.compareDocumentPosition(n)) ) ); }; var P = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g; function D(t, e) { return e ? "\0" === t ? "�" : t.slice(0, -1) + "\\" + t.charCodeAt(t.length - 1).toString(16) + " " : "\\" + t; } T.escapeSelector = function (t) { return (t + "").replace(P, D); }; var q = b, H = u; !(function () { var t, e, n, o, a, s, u, f, p, d, v = H, g = T.expando, m = 0, b = 0, x = tt(), w = tt(), k = tt(), E = tt(), j = function (t, e) { return t === e && (a = !0), 0; }, L = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", P = "(?:\\\\[\\da-fA-F]{1,6}" + _ + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", D = "\\[" + _ + "*(" + P + ")(?:" + _ + "*([*^$|!~]?=)" + _ + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + P + "))|)" + _ + "*\\]", R = ":(" + P + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + D + ")*)|.*)\\)|)", I = new RegExp(_ + "+", "g"), F = new RegExp("^" + _ + "*," + _ + "*"), M = new RegExp("^" + _ + "*([>+~]|" + _ + ")" + _ + "*"), G = new RegExp(_ + "|>"), z = new RegExp(R), W = new RegExp("^" + P + "$"), B = { ID: new RegExp("^#(" + P + ")"), CLASS: new RegExp("^\\.(" + P + ")"), TAG: new RegExp("^(" + P + "|[*])"), ATTR: new RegExp("^" + D), PSEUDO: new RegExp("^" + R), CHILD: new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + _ + "*(even|odd|(([+-]|)(\\d*)n|)" + _ + "*(?:([+-]|)" + _ + "*(\\d+)|))" + _ + "*\\)|)", "i", ), bool: new RegExp("^(?:" + L + ")$", "i"), needsContext: new RegExp( "^" + _ + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + _ + "*((?:-\\d)?\\d*)" + _ + "*\\)|)(?=[^-]|$)", "i", ), }, $ = /^(?:input|select|textarea|button)$/i, U = /^h\d$/i, X = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, Y = /[+~]/, V = new RegExp( "\\\\[\\da-fA-F]{1,6}" + _ + "?|\\\\([^\\r\\n\\f])", "g", ), J = function (t, e) { var n = "0x" + t.slice(1) - 65536; return ( e || (n < 0 ? String.fromCharCode(n + 65536) : String.fromCharCode( (n >> 10) | 55296, (1023 & n) | 56320, )) ); }, Q = function () { st(); }, K = pt( function (t) { return !0 === t.disabled && S(t, "fieldset"); }, { dir: "parentNode", next: "legend" }, ); try { v.apply((i = c.call(q.childNodes)), q.childNodes), i[q.childNodes.length].nodeType; } catch (t) { v = { apply: function (t, e) { H.apply(t, c.call(e)); }, call: function (t) { H.apply(t, c.call(arguments, 1)); }, }; } function Z(t, e, n, r) { var o, i, a, c, u, l, h, d = e && e.ownerDocument, m = e ? e.nodeType : 9; if ( ((n = n || []), "string" != typeof t || !t || (1 !== m && 9 !== m && 11 !== m)) ) return n; if (!r && (st(e), (e = e || s), f)) { if (11 !== m && (u = X.exec(t))) if ((o = u[1])) { if (9 === m) { if (!(a = e.getElementById(o))) return n; if (a.id === o) return v.call(n, a), n; } else if ( d && (a = d.getElementById(o)) && Z.contains(e, a) && a.id === o ) return v.call(n, a), n; } else { if (u[2]) return v.apply(n, e.getElementsByTagName(t)), n; if ((o = u[3]) && e.getElementsByClassName) return v.apply(n, e.getElementsByClassName(o)), n; } if (!(E[t + " "] || (p && p.test(t)))) { if (((h = t), (d = e), 1 === m && (G.test(t) || M.test(t)))) { for ( ((d = (Y.test(t) && ct(e.parentNode)) || e) == e && y.scope) || ((c = e.getAttribute("id")) ? (c = T.escapeSelector(c)) : e.setAttribute("id", (c = g))), i = (l = lt(t)).length; i--; ) l[i] = (c ? "#" + c : ":scope") + " " + ft(l[i]); h = l.join(","); } try { return v.apply(n, d.querySelectorAll(h)), n; } catch (e) { E(t, !0); } finally { c === g && e.removeAttribute("id"); } } } return mt(t.replace(N, "$1"), e, n, r); } function tt() { var t = []; return function n(r, o) { return ( t.push(r + " ") > e.cacheLength && delete n[t.shift()], (n[r + " "] = o) ); }; } function et(t) { return (t[g] = !0), t; } function nt(t) { var e = s.createElement("fieldset"); try { return !!t(e); } catch (t) { return !1; } finally { e.parentNode && e.parentNode.removeChild(e), (e = null); } } function rt(t) { return function (e) { return S(e, "input") && e.type === t; }; } function ot(t) { return function (e) { return (S(e, "input") || S(e, "button")) && e.type === t; }; } function it(t) { return function (e) { return "form" in e ? e.parentNode && !1 === e.disabled ? "label" in e ? "label" in e.parentNode ? e.parentNode.disabled === t : e.disabled === t : e.isDisabled === t || (e.isDisabled !== !t && K(e) === t) : e.disabled === t : "label" in e && e.disabled === t; }; } function at(t) { return et(function (e) { return ( (e = +e), et(function (n, r) { for (var o, i = t([], n.length, e), a = i.length; a--; ) n[(o = i[a])] && (n[o] = !(r[o] = n[o])); }) ); }); } function ct(t) { return t && void 0 !== t.getElementsByTagName && t; } function st(t) { var n, r = t ? t.ownerDocument || t : q; return r != s && 9 === r.nodeType && r.documentElement ? ((u = (s = r).documentElement), (f = !T.isXMLDoc(s)), (d = u.matches || u.webkitMatchesSelector || u.msMatchesSelector), u.msMatchesSelector && q != s && (n = s.defaultView) && n.top !== n && n.addEventListener("unload", Q), (y.getById = nt(function (t) { return ( (u.appendChild(t).id = T.expando), !s.getElementsByName || !s.getElementsByName(T.expando).length ); })), (y.disconnectedMatch = nt(function (t) { return d.call(t, "*"); })), (y.scope = nt(function () { return s.querySelectorAll(":scope"); })), (y.cssHas = nt(function () { try { return s.querySelector(":has(*,:jqfake)"), !1; } catch (t) { return !0; } })), y.getById ? ((e.filter.ID = function (t) { var e = t.replace(V, J); return function (t) { return t.getAttribute("id") === e; }; }), (e.find.ID = function (t, e) { if (void 0 !== e.getElementById && f) { var n = e.getElementById(t); return n ? [n] : []; } })) : ((e.filter.ID = function (t) { var e = t.replace(V, J); return function (t) { var n = void 0 !== t.getAttributeNode && t.getAttributeNode("id"); return n && n.value === e; }; }), (e.find.ID = function (t, e) { if (void 0 !== e.getElementById && f) { var n, r, o, i = e.getElementById(t); if (i) { if ((n = i.getAttributeNode("id")) && n.value === t) return [i]; for ( o = e.getElementsByName(t), r = 0; (i = o[r++]); ) if ( (n = i.getAttributeNode("id")) && n.value === t ) return [i]; } return []; } })), (e.find.TAG = function (t, e) { return void 0 !== e.getElementsByTagName ? e.getElementsByTagName(t) : e.querySelectorAll(t); }), (e.find.CLASS = function (t, e) { if (void 0 !== e.getElementsByClassName && f) return e.getElementsByClassName(t); }), (p = []), nt(function (t) { var e; (u.appendChild(t).innerHTML = ""), t.querySelectorAll("[selected]").length || p.push("\\[" + _ + "*(?:value|" + L + ")"), t.querySelectorAll("[id~=" + g + "-]").length || p.push("~="), t.querySelectorAll("a#" + g + "+*").length || p.push(".#.+[+~]"), t.querySelectorAll(":checked").length || p.push(":checked"), (e = s.createElement("input")).setAttribute( "type", "hidden", ), t.appendChild(e).setAttribute("name", "D"), (u.appendChild(t).disabled = !0), 2 !== t.querySelectorAll(":disabled").length && p.push(":enabled", ":disabled"), (e = s.createElement("input")).setAttribute("name", ""), t.appendChild(e), t.querySelectorAll("[name='']").length || p.push( "\\[" + _ + "*name" + _ + "*=" + _ + "*(?:''|\"\")", ); }), y.cssHas || p.push(":has"), (p = p.length && new RegExp(p.join("|"))), (j = function (t, e) { if (t === e) return (a = !0), 0; var n = !t.compareDocumentPosition - !e.compareDocumentPosition; return ( n || (1 & (n = (t.ownerDocument || t) == (e.ownerDocument || e) ? t.compareDocumentPosition(e) : 1) || (!y.sortDetached && e.compareDocumentPosition(t) === n) ? t === s || (t.ownerDocument == q && Z.contains(q, t)) ? -1 : e === s || (e.ownerDocument == q && Z.contains(q, e)) ? 1 : o ? l.call(o, t) - l.call(o, e) : 0 : 4 & n ? -1 : 1) ); }), s) : s; } for (t in ((Z.matches = function (t, e) { return Z(t, null, null, e); }), (Z.matchesSelector = function (t, e) { if ((st(t), f && !E[e + " "] && (!p || !p.test(e)))) try { var n = d.call(t, e); if ( n || y.disconnectedMatch || (t.document && 11 !== t.document.nodeType) ) return n; } catch (t) { E(e, !0); } return Z(e, s, null, [t]).length > 0; }), (Z.contains = function (t, e) { return (t.ownerDocument || t) != s && st(t), T.contains(t, e); }), (Z.attr = function (t, n) { (t.ownerDocument || t) != s && st(t); var r = e.attrHandle[n.toLowerCase()], o = r && h.call(e.attrHandle, n.toLowerCase()) ? r(t, n, !f) : void 0; return void 0 !== o ? o : t.getAttribute(n); }), (Z.error = function (t) { throw new Error("Syntax error, unrecognized expression: " + t); }), (T.uniqueSort = function (t) { var e, n = [], r = 0, i = 0; if ( ((a = !y.sortStable), (o = !y.sortStable && c.call(t, 0)), O.call(t, j), a) ) { for (; (e = t[i++]); ) e === t[i] && (r = n.push(i)); for (; r--; ) C.call(t, n[r], 1); } return (o = null), t; }), (T.fn.uniqueSort = function () { return this.pushStack(T.uniqueSort(c.apply(this))); }), (e = T.expr = { cacheLength: 50, createPseudo: et, match: B, attrHandle: {}, find: {}, relative: { ">": { dir: "parentNode", first: !0 }, " ": { dir: "parentNode" }, "+": { dir: "previousSibling", first: !0 }, "~": { dir: "previousSibling" }, }, preFilter: { ATTR: function (t) { return ( (t[1] = t[1].replace(V, J)), (t[3] = (t[3] || t[4] || t[5] || "").replace(V, J)), "~=" === t[2] && (t[3] = " " + t[3] + " "), t.slice(0, 4) ); }, CHILD: function (t) { return ( (t[1] = t[1].toLowerCase()), "nth" === t[1].slice(0, 3) ? (t[3] || Z.error(t[0]), (t[4] = +(t[4] ? t[5] + (t[6] || 1) : 2 * ("even" === t[3] || "odd" === t[3]))), (t[5] = +(t[7] + t[8] || "odd" === t[3]))) : t[3] && Z.error(t[0]), t ); }, PSEUDO: function (t) { var e, n = !t[6] && t[2]; return B.CHILD.test(t[0]) ? null : (t[3] ? (t[2] = t[4] || t[5] || "") : n && z.test(n) && (e = lt(n, !0)) && (e = n.indexOf(")", n.length - e) - n.length) && ((t[0] = t[0].slice(0, e)), (t[2] = n.slice(0, e))), t.slice(0, 3)); }, }, filter: { TAG: function (t) { var e = t.replace(V, J).toLowerCase(); return "*" === t ? function () { return !0; } : function (t) { return S(t, e); }; }, CLASS: function (t) { var e = x[t + " "]; return ( e || ((e = new RegExp( "(^|" + _ + ")" + t + "(" + _ + "|$)", )) && x(t, function (t) { return e.test( ("string" == typeof t.className && t.className) || (void 0 !== t.getAttribute && t.getAttribute("class")) || "", ); })) ); }, ATTR: function (t, e, n) { return function (r) { var o = Z.attr(r, t); return null == o ? "!=" === e : !e || ((o += ""), "=" === e ? o === n : "!=" === e ? o !== n : "^=" === e ? n && 0 === o.indexOf(n) : "*=" === e ? n && o.indexOf(n) > -1 : "$=" === e ? n && o.slice(-n.length) === n : "~=" === e ? ( " " + o.replace(I, " ") + " " ).indexOf(n) > -1 : "|=" === e && (o === n || o.slice(0, n.length + 1) === n + "-")); }; }, CHILD: function (t, e, n, r, o) { var i = "nth" !== t.slice(0, 3), a = "last" !== t.slice(-4), c = "of-type" === e; return 1 === r && 0 === o ? function (t) { return !!t.parentNode; } : function (e, n, s) { var u, l, f, p, h, d = i !== a ? "nextSibling" : "previousSibling", v = e.parentNode, y = c && e.nodeName.toLowerCase(), b = !s && !c, x = !1; if (v) { if (i) { for (; d; ) { for (f = e; (f = f[d]); ) if (c ? S(f, y) : 1 === f.nodeType) return !1; h = d = "only" === t && !h && "nextSibling"; } return !0; } if ( ((h = [a ? v.firstChild : v.lastChild]), a && b) ) { for ( x = (p = (u = (l = v[g] || (v[g] = {}))[t] || [])[0] === m && u[1]) && u[2], f = p && v.childNodes[p]; (f = (++p && f && f[d]) || (x = p = 0) || h.pop()); ) if (1 === f.nodeType && ++x && f === e) { l[t] = [m, p, x]; break; } } else if ( (b && (x = p = (u = (l = e[g] || (e[g] = {}))[t] || [])[0] === m && u[1]), !1 === x) ) for ( ; (f = (++p && f && f[d]) || (x = p = 0) || h.pop()) && (!(c ? S(f, y) : 1 === f.nodeType) || !++x || (b && ((l = f[g] || (f[g] = {}))[t] = [m, x]), f !== e)); ); return (x -= o) === r || (x % r == 0 && x / r >= 0); } }; }, PSEUDO: function (t, n) { var r, o = e.pseudos[t] || e.setFilters[t.toLowerCase()] || Z.error("unsupported pseudo: " + t); return o[g] ? o(n) : o.length > 1 ? ((r = [t, t, "", n]), e.setFilters.hasOwnProperty(t.toLowerCase()) ? et(function (t, e) { for (var r, i = o(t, n), a = i.length; a--; ) t[(r = l.call(t, i[a]))] = !(e[r] = i[a]); }) : function (t) { return o(t, 0, r); }) : o; }, }, pseudos: { not: et(function (t) { var e = [], n = [], r = gt(t.replace(N, "$1")); return r[g] ? et(function (t, e, n, o) { for ( var i, a = r(t, null, o, []), c = t.length; c--; ) (i = a[c]) && (t[c] = !(e[c] = i)); }) : function (t, o, i) { return ( (e[0] = t), r(e, null, i, n), (e[0] = null), !n.pop() ); }; }), has: et(function (t) { return function (e) { return Z(t, e).length > 0; }; }), contains: et(function (t) { return ( (t = t.replace(V, J)), function (e) { return (e.textContent || T.text(e)).indexOf(t) > -1; } ); }), lang: et(function (t) { return ( W.test(t || "") || Z.error("unsupported lang: " + t), (t = t.replace(V, J).toLowerCase()), function (e) { var n; do { if ( (n = f ? e.lang : e.getAttribute("xml:lang") || e.getAttribute("lang")) ) return ( (n = n.toLowerCase()) === t || 0 === n.indexOf(t + "-") ); } while ((e = e.parentNode) && 1 === e.nodeType); return !1; } ); }), target: function (t) { var e = r.location && r.location.hash; return e && e.slice(1) === t.id; }, root: function (t) { return t === u; }, focus: function (t) { return ( t === (function () { try { return s.activeElement; } catch (t) {} })() && s.hasFocus() && !!(t.type || t.href || ~t.tabIndex) ); }, enabled: it(!1), disabled: it(!0), checked: function (t) { return ( (S(t, "input") && !!t.checked) || (S(t, "option") && !!t.selected) ); }, selected: function (t) { return ( t.parentNode && t.parentNode.selectedIndex, !0 === t.selected ); }, empty: function (t) { for (t = t.firstChild; t; t = t.nextSibling) if (t.nodeType < 6) return !1; return !0; }, parent: function (t) { return !e.pseudos.empty(t); }, header: function (t) { return U.test(t.nodeName); }, input: function (t) { return $.test(t.nodeName); }, button: function (t) { return ( (S(t, "input") && "button" === t.type) || S(t, "button") ); }, text: function (t) { var e; return ( S(t, "input") && "text" === t.type && (null == (e = t.getAttribute("type")) || "text" === e.toLowerCase()) ); }, first: at(function () { return [0]; }), last: at(function (t, e) { return [e - 1]; }), eq: at(function (t, e, n) { return [n < 0 ? n + e : n]; }), even: at(function (t, e) { for (var n = 0; n < e; n += 2) t.push(n); return t; }), odd: at(function (t, e) { for (var n = 1; n < e; n += 2) t.push(n); return t; }), lt: at(function (t, e, n) { var r; for (r = n < 0 ? n + e : n > e ? e : n; --r >= 0; ) t.push(r); return t; }), gt: at(function (t, e, n) { for (var r = n < 0 ? n + e : n; ++r < e; ) t.push(r); return t; }), }, }), (e.pseudos.nth = e.pseudos.eq), { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 })) e.pseudos[t] = rt(t); for (t in { submit: !0, reset: !0 }) e.pseudos[t] = ot(t); function ut() {} function lt(t, n) { var r, o, i, a, c, s, u, l = w[t + " "]; if (l) return n ? 0 : l.slice(0); for (c = t, s = [], u = e.preFilter; c; ) { for (a in ((r && !(o = F.exec(c))) || (o && (c = c.slice(o[0].length) || c), s.push((i = []))), (r = !1), (o = M.exec(c)) && ((r = o.shift()), i.push({ value: r, type: o[0].replace(N, " ") }), (c = c.slice(r.length))), e.filter)) !(o = B[a].exec(c)) || (u[a] && !(o = u[a](o))) || ((r = o.shift()), i.push({ value: r, type: a, matches: o }), (c = c.slice(r.length))); if (!r) break; } return n ? c.length : c ? Z.error(t) : w(t, s).slice(0); } function ft(t) { for (var e = 0, n = t.length, r = ""; e < n; e++) r += t[e].value; return r; } function pt(t, e, n) { var r = e.dir, o = e.next, i = o || r, a = n && "parentNode" === i, c = b++; return e.first ? function (e, n, o) { for (; (e = e[r]); ) if (1 === e.nodeType || a) return t(e, n, o); return !1; } : function (e, n, s) { var u, l, f = [m, c]; if (s) { for (; (e = e[r]); ) if ((1 === e.nodeType || a) && t(e, n, s)) return !0; } else for (; (e = e[r]); ) if (1 === e.nodeType || a) if (((l = e[g] || (e[g] = {})), o && S(e, o))) e = e[r] || e; else { if ((u = l[i]) && u[0] === m && u[1] === c) return (f[2] = u[2]); if (((l[i] = f), (f[2] = t(e, n, s)))) return !0; } return !1; }; } function ht(t) { return t.length > 1 ? function (e, n, r) { for (var o = t.length; o--; ) if (!t[o](e, n, r)) return !1; return !0; } : t[0]; } function dt(t, e, n, r, o) { for ( var i, a = [], c = 0, s = t.length, u = null != e; c < s; c++ ) (i = t[c]) && ((n && !n(i, r, o)) || (a.push(i), u && e.push(c))); return a; } function vt(t, e, n, r, o, i) { return ( r && !r[g] && (r = vt(r)), o && !o[g] && (o = vt(o, i)), et(function (i, a, c, s) { var u, f, p, h, d = [], y = [], g = a.length, m = i || (function (t, e, n) { for (var r = 0, o = e.length; r < o; r++) Z(t, e[r], n); return n; })(e || "*", c.nodeType ? [c] : c, []), b = !t || (!i && e) ? m : dt(m, d, t, c, s); if ( (n ? n(b, (h = o || (i ? t : g || r) ? [] : a), c, s) : (h = b), r) ) for (u = dt(h, y), r(u, [], c, s), f = u.length; f--; ) (p = u[f]) && (h[y[f]] = !(b[y[f]] = p)); if (i) { if (o || t) { if (o) { for (u = [], f = h.length; f--; ) (p = h[f]) && u.push((b[f] = p)); o(null, (h = []), u, s); } for (f = h.length; f--; ) (p = h[f]) && (u = o ? l.call(i, p) : d[f]) > -1 && (i[u] = !(a[u] = p)); } } else (h = dt(h === a ? h.splice(g, h.length) : h)), o ? o(null, a, h, s) : v.apply(a, h); }) ); } function yt(t) { for ( var r, o, i, a = t.length, c = e.relative[t[0].type], s = c || e.relative[" "], u = c ? 1 : 0, f = pt( function (t) { return t === r; }, s, !0, ), p = pt( function (t) { return l.call(r, t) > -1; }, s, !0, ), h = [ function (t, e, o) { var i = (!c && (o || e != n)) || ((r = e).nodeType ? f(t, e, o) : p(t, e, o)); return (r = null), i; }, ]; u < a; u++ ) if ((o = e.relative[t[u].type])) h = [pt(ht(h), o)]; else { if ((o = e.filter[t[u].type].apply(null, t[u].matches))[g]) { for (i = ++u; i < a && !e.relative[t[i].type]; i++); return vt( u > 1 && ht(h), u > 1 && ft( t .slice(0, u - 1) .concat({ value: " " === t[u - 2].type ? "*" : "", }), ).replace(N, "$1"), o, u < i && yt(t.slice(u, i)), i < a && yt((t = t.slice(i))), i < a && ft(t), ); } h.push(o); } return ht(h); } function gt(t, r) { var o, i = [], a = [], c = k[t + " "]; if (!c) { for (r || (r = lt(t)), o = r.length; o--; ) (c = yt(r[o]))[g] ? i.push(c) : a.push(c); (c = k( t, (function (t, r) { var o = r.length > 0, i = t.length > 0, a = function (a, c, u, l, p) { var h, d, y, g = 0, b = "0", x = a && [], w = [], k = n, E = a || (i && e.find.TAG("*", p)), j = (m += null == k ? 1 : Math.random() || 0.1), L = E.length; for ( p && (n = c == s || c || p); b !== L && null != (h = E[b]); b++ ) { if (i && h) { for ( d = 0, c || h.ownerDocument == s || (st(h), (u = !f)); (y = t[d++]); ) if (y(h, c || s, u)) { v.call(l, h); break; } p && (m = j); } o && ((h = !y && h) && g--, a && x.push(h)); } if (((g += b), o && b !== g)) { for (d = 0; (y = r[d++]); ) y(x, w, c, u); if (a) { if (g > 0) for (; b--; ) x[b] || w[b] || (w[b] = A.call(l)); w = dt(w); } v.apply(l, w), p && !a && w.length > 0 && g + r.length > 1 && T.uniqueSort(l); } return p && ((m = j), (n = k)), x; }; return o ? et(a) : a; })(a, i), )), (c.selector = t); } return c; } function mt(t, n, r, o) { var i, a, c, s, u, l = "function" == typeof t && t, p = !o && lt((t = l.selector || t)); if (((r = r || []), 1 === p.length)) { if ( (a = p[0] = p[0].slice(0)).length > 2 && "ID" === (c = a[0]).type && 9 === n.nodeType && f && e.relative[a[1].type] ) { if ( !(n = (e.find.ID(c.matches[0].replace(V, J), n) || [])[0]) ) return r; l && (n = n.parentNode), (t = t.slice(a.shift().value.length)); } for ( i = B.needsContext.test(t) ? 0 : a.length; i-- && ((c = a[i]), !e.relative[(s = c.type)]); ) if ( (u = e.find[s]) && (o = u( c.matches[0].replace(V, J), (Y.test(a[0].type) && ct(n.parentNode)) || n, )) ) { if ((a.splice(i, 1), !(t = o.length && ft(a)))) return v.apply(r, o), r; break; } } return ( (l || gt(t, p))( o, n, !f, r, !n || (Y.test(t) && ct(n.parentNode)) || n, ), r ); } (ut.prototype = e.filters = e.pseudos), (e.setFilters = new ut()), (y.sortStable = g.split("").sort(j).join("") === g), st(), (y.sortDetached = nt(function (t) { return ( 1 & t.compareDocumentPosition(s.createElement("fieldset")) ); })), (T.find = Z), (T.expr[":"] = T.expr.pseudos), (T.unique = T.uniqueSort), (Z.compile = gt), (Z.select = mt), (Z.setDocument = st), (Z.tokenize = lt), (Z.escape = T.escapeSelector), (Z.getText = T.text), (Z.isXML = T.isXMLDoc), (Z.selectors = T.expr), (Z.support = T.support), (Z.uniqueSort = T.uniqueSort); })(); var R = function (t, e, n) { for ( var r = [], o = void 0 !== n; (t = t[e]) && 9 !== t.nodeType; ) if (1 === t.nodeType) { if (o && T(t).is(n)) break; r.push(t); } return r; }, I = function (t, e) { for (var n = []; t; t = t.nextSibling) 1 === t.nodeType && t !== e && n.push(t); return n; }, F = T.expr.match.needsContext, M = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i; function G(t, e, n) { return g(e) ? T.grep(t, function (t, r) { return !!e.call(t, r, t) !== n; }) : e.nodeType ? T.grep(t, function (t) { return (t === e) !== n; }) : "string" != typeof e ? T.grep(t, function (t) { return l.call(e, t) > -1 !== n; }) : T.filter(e, t, n); } (T.filter = function (t, e, n) { var r = e[0]; return ( n && (t = ":not(" + t + ")"), 1 === e.length && 1 === r.nodeType ? T.find.matchesSelector(r, t) ? [r] : [] : T.find.matches( t, T.grep(e, function (t) { return 1 === t.nodeType; }), ) ); }), T.fn.extend({ find: function (t) { var e, n, r = this.length, o = this; if ("string" != typeof t) return this.pushStack( T(t).filter(function () { for (e = 0; e < r; e++) if (T.contains(o[e], this)) return !0; }), ); for (n = this.pushStack([]), e = 0; e < r; e++) T.find(t, o[e], n); return r > 1 ? T.uniqueSort(n) : n; }, filter: function (t) { return this.pushStack(G(this, t || [], !1)); }, not: function (t) { return this.pushStack(G(this, t || [], !0)); }, is: function (t) { return !!G( this, "string" == typeof t && F.test(t) ? T(t) : t || [], !1, ).length; }, }); var z, W = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/; ((T.fn.init = function (t, e, n) { var r, o; if (!t) return this; if (((n = n || z), "string" == typeof t)) { if ( !(r = "<" === t[0] && ">" === t[t.length - 1] && t.length >= 3 ? [null, t, null] : W.exec(t)) || (!r[1] && e) ) return !e || e.jquery ? (e || n).find(t) : this.constructor(e).find(t); if (r[1]) { if ( ((e = e instanceof T ? e[0] : e), T.merge( this, T.parseHTML( r[1], e && e.nodeType ? e.ownerDocument || e : b, !0, ), ), M.test(r[1]) && T.isPlainObject(e)) ) for (r in e) g(this[r]) ? this[r](e[r]) : this.attr(r, e[r]); return this; } return ( (o = b.getElementById(r[2])) && ((this[0] = o), (this.length = 1)), this ); } return t.nodeType ? ((this[0] = t), (this.length = 1), this) : g(t) ? void 0 !== n.ready ? n.ready(t) : t(T) : T.makeArray(t, this); }).prototype = T.fn), (z = T(b)); var B = /^(?:parents|prev(?:Until|All))/, $ = { children: !0, contents: !0, next: !0, prev: !0 }; function U(t, e) { for (; (t = t[e]) && 1 !== t.nodeType; ); return t; } T.fn.extend({ has: function (t) { var e = T(t, this), n = e.length; return this.filter(function () { for (var t = 0; t < n; t++) if (T.contains(this, e[t])) return !0; }); }, closest: function (t, e) { var n, r = 0, o = this.length, i = [], a = "string" != typeof t && T(t); if (!F.test(t)) for (; r < o; r++) for (n = this[r]; n && n !== e; n = n.parentNode) if ( n.nodeType < 11 && (a ? a.index(n) > -1 : 1 === n.nodeType && T.find.matchesSelector(n, t)) ) { i.push(n); break; } return this.pushStack(i.length > 1 ? T.uniqueSort(i) : i); }, index: function (t) { return t ? "string" == typeof t ? l.call(T(t), this[0]) : l.call(this, t.jquery ? t[0] : t) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1; }, add: function (t, e) { return this.pushStack(T.uniqueSort(T.merge(this.get(), T(t, e)))); }, addBack: function (t) { return this.add( null == t ? this.prevObject : this.prevObject.filter(t), ); }, }), T.each( { parent: function (t) { var e = t.parentNode; return e && 11 !== e.nodeType ? e : null; }, parents: function (t) { return R(t, "parentNode"); }, parentsUntil: function (t, e, n) { return R(t, "parentNode", n); }, next: function (t) { return U(t, "nextSibling"); }, prev: function (t) { return U(t, "previousSibling"); }, nextAll: function (t) { return R(t, "nextSibling"); }, prevAll: function (t) { return R(t, "previousSibling"); }, nextUntil: function (t, e, n) { return R(t, "nextSibling", n); }, prevUntil: function (t, e, n) { return R(t, "previousSibling", n); }, siblings: function (t) { return I((t.parentNode || {}).firstChild, t); }, children: function (t) { return I(t.firstChild); }, contents: function (t) { return null != t.contentDocument && a(t.contentDocument) ? t.contentDocument : (S(t, "template") && (t = t.content || t), T.merge([], t.childNodes)); }, }, function (t, e) { T.fn[t] = function (n, r) { var o = T.map(this, e, n); return ( "Until" !== t.slice(-5) && (r = n), r && "string" == typeof r && (o = T.filter(r, o)), this.length > 1 && ($[t] || T.uniqueSort(o), B.test(t) && o.reverse()), this.pushStack(o) ); }; }, ); var X = /[^\x20\t\r\n\f]+/g; function Y(t) { return t; } function V(t) { throw t; } function J(t, e, n, r) { var o; try { t && g((o = t.promise)) ? o.call(t).done(e).fail(n) : t && g((o = t.then)) ? o.call(t, e, n) : e.apply(void 0, [t].slice(r)); } catch (t) { n.apply(void 0, [t]); } } (T.Callbacks = function (t) { t = "string" == typeof t ? (function (t) { var e = {}; return ( T.each(t.match(X) || [], function (t, n) { e[n] = !0; }), e ); })(t) : T.extend({}, t); var e, n, r, o, i = [], a = [], c = -1, s = function () { for (o = o || t.once, r = e = !0; a.length; c = -1) for (n = a.shift(); ++c < i.length; ) !1 === i[c].apply(n[0], n[1]) && t.stopOnFalse && ((c = i.length), (n = !1)); t.memory || (n = !1), (e = !1), o && (i = n ? [] : ""); }, u = { add: function () { return ( i && (n && !e && ((c = i.length - 1), a.push(n)), (function e(n) { T.each(n, function (n, r) { g(r) ? (t.unique && u.has(r)) || i.push(r) : r && r.length && "string" !== k(r) && e(r); }); })(arguments), n && !e && s()), this ); }, remove: function () { return ( T.each(arguments, function (t, e) { for (var n; (n = T.inArray(e, i, n)) > -1; ) i.splice(n, 1), n <= c && c--; }), this ); }, has: function (t) { return t ? T.inArray(t, i) > -1 : i.length > 0; }, empty: function () { return i && (i = []), this; }, disable: function () { return (o = a = []), (i = n = ""), this; }, disabled: function () { return !i; }, lock: function () { return (o = a = []), n || e || (i = n = ""), this; }, locked: function () { return !!o; }, fireWith: function (t, n) { return ( o || ((n = [t, (n = n || []).slice ? n.slice() : n]), a.push(n), e || s()), this ); }, fire: function () { return u.fireWith(this, arguments), this; }, fired: function () { return !!r; }, }; return u; }), T.extend({ Deferred: function (t) { var e = [ [ "notify", "progress", T.Callbacks("memory"), T.Callbacks("memory"), 2, ], [ "resolve", "done", T.Callbacks("once memory"), T.Callbacks("once memory"), 0, "resolved", ], [ "reject", "fail", T.Callbacks("once memory"), T.Callbacks("once memory"), 1, "rejected", ], ], n = "pending", o = { state: function () { return n; }, always: function () { return i.done(arguments).fail(arguments), this; }, catch: function (t) { return o.then(null, t); }, pipe: function () { var t = arguments; return T.Deferred(function (n) { T.each(e, function (e, r) { var o = g(t[r[4]]) && t[r[4]]; i[r[1]](function () { var t = o && o.apply(this, arguments); t && g(t.promise) ? t .promise() .progress(n.notify) .done(n.resolve) .fail(n.reject) : n[r[0] + "With"](this, o ? [t] : arguments); }); }), (t = null); }).promise(); }, then: function (t, n, o) { var i = 0; function a(t, e, n, o) { return function () { var c = this, s = arguments, u = function () { var r, u; if (!(t < i)) { if ((r = n.apply(c, s)) === e.promise()) throw new TypeError( "Thenable self-resolution", ); (u = r && ("object" == typeof r || "function" == typeof r) && r.then), g(u) ? o ? u.call(r, a(i, e, Y, o), a(i, e, V, o)) : (i++, u.call( r, a(i, e, Y, o), a(i, e, V, o), a(i, e, Y, e.notifyWith), )) : (n !== Y && ((c = void 0), (s = [r])), (o || e.resolveWith)(c, s)); } }, l = o ? u : function () { try { u(); } catch (r) { T.Deferred.exceptionHook && T.Deferred.exceptionHook(r, l.error), t + 1 >= i && (n !== V && ((c = void 0), (s = [r])), e.rejectWith(c, s)); } }; t ? l() : (T.Deferred.getErrorHook ? (l.error = T.Deferred.getErrorHook()) : T.Deferred.getStackHook && (l.error = T.Deferred.getStackHook()), r.setTimeout(l)); }; } return T.Deferred(function (r) { e[0][3].add(a(0, r, g(o) ? o : Y, r.notifyWith)), e[1][3].add(a(0, r, g(t) ? t : Y)), e[2][3].add(a(0, r, g(n) ? n : V)); }).promise(); }, promise: function (t) { return null != t ? T.extend(t, o) : o; }, }, i = {}; return ( T.each(e, function (t, r) { var a = r[2], c = r[5]; (o[r[1]] = a.add), c && a.add( function () { n = c; }, e[3 - t][2].disable, e[3 - t][3].disable, e[0][2].lock, e[0][3].lock, ), a.add(r[3].fire), (i[r[0]] = function () { return ( i[r[0] + "With"]( this === i ? void 0 : this, arguments, ), this ); }), (i[r[0] + "With"] = a.fireWith); }), o.promise(i), t && t.call(i, i), i ); }, when: function (t) { var e = arguments.length, n = e, r = Array(n), o = c.call(arguments), i = T.Deferred(), a = function (t) { return function (n) { (r[t] = this), (o[t] = arguments.length > 1 ? c.call(arguments) : n), --e || i.resolveWith(r, o); }; }; if ( e <= 1 && (J(t, i.done(a(n)).resolve, i.reject, !e), "pending" === i.state() || g(o[n] && o[n].then)) ) return i.then(); for (; n--; ) J(o[n], a(n), i.reject); return i.promise(); }, }); var Q = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; (T.Deferred.exceptionHook = function (t, e) { r.console && r.console.warn && t && Q.test(t.name) && r.console.warn( "jQuery.Deferred exception: " + t.message, t.stack, e, ); }), (T.readyException = function (t) { r.setTimeout(function () { throw t; }); }); var K = T.Deferred(); function Z() { b.removeEventListener("DOMContentLoaded", Z), r.removeEventListener("load", Z), T.ready(); } (T.fn.ready = function (t) { return ( K.then(t).catch(function (t) { T.readyException(t); }), this ); }), T.extend({ isReady: !1, readyWait: 1, ready: function (t) { (!0 === t ? --T.readyWait : T.isReady) || ((T.isReady = !0), (!0 !== t && --T.readyWait > 0) || K.resolveWith(b, [T])); }, }), (T.ready.then = K.then), "complete" === b.readyState || ("loading" !== b.readyState && !b.documentElement.doScroll) ? r.setTimeout(T.ready) : (b.addEventListener("DOMContentLoaded", Z), r.addEventListener("load", Z)); var tt = function (t, e, n, r, o, i, a) { var c = 0, s = t.length, u = null == n; if ("object" === k(n)) for (c in ((o = !0), n)) tt(t, e, c, n[c], !0, i, a); else if ( void 0 !== r && ((o = !0), g(r) || (a = !0), u && (a ? (e.call(t, r), (e = null)) : ((u = e), (e = function (t, e, n) { return u.call(T(t), n); }))), e) ) for (; c < s; c++) e(t[c], n, a ? r : r.call(t[c], c, e(t[c], n))); return o ? t : u ? e.call(t) : s ? e(t[0], n) : i; }, et = /^-ms-/, nt = /-([a-z])/g; function rt(t, e) { return e.toUpperCase(); } function ot(t) { return t.replace(et, "ms-").replace(nt, rt); } var it = function (t) { return 1 === t.nodeType || 9 === t.nodeType || !+t.nodeType; }; function at() { this.expando = T.expando + at.uid++; } (at.uid = 1), (at.prototype = { cache: function (t) { var e = t[this.expando]; return ( e || ((e = {}), it(t) && (t.nodeType ? (t[this.expando] = e) : Object.defineProperty(t, this.expando, { value: e, configurable: !0, }))), e ); }, set: function (t, e, n) { var r, o = this.cache(t); if ("string" == typeof e) o[ot(e)] = n; else for (r in e) o[ot(r)] = e[r]; return o; }, get: function (t, e) { return void 0 === e ? this.cache(t) : t[this.expando] && t[this.expando][ot(e)]; }, access: function (t, e, n) { return void 0 === e || (e && "string" == typeof e && void 0 === n) ? this.get(t, e) : (this.set(t, e, n), void 0 !== n ? n : e); }, remove: function (t, e) { var n, r = t[this.expando]; if (void 0 !== r) { if (void 0 !== e) { n = (e = Array.isArray(e) ? e.map(ot) : (e = ot(e)) in r ? [e] : e.match(X) || []).length; for (; n--; ) delete r[e[n]]; } (void 0 === e || T.isEmptyObject(r)) && (t.nodeType ? (t[this.expando] = void 0) : delete t[this.expando]); } }, hasData: function (t) { var e = t[this.expando]; return void 0 !== e && !T.isEmptyObject(e); }, }); var ct = new at(), st = new at(), ut = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, lt = /[A-Z]/g; function ft(t, e, n) { var r; if (void 0 === n && 1 === t.nodeType) if ( ((r = "data-" + e.replace(lt, "-$&").toLowerCase()), "string" == typeof (n = t.getAttribute(r))) ) { try { n = (function (t) { return ( "true" === t || ("false" !== t && ("null" === t ? null : t === +t + "" ? +t : ut.test(t) ? JSON.parse(t) : t)) ); })(n); } catch (t) {} st.set(t, e, n); } else n = void 0; return n; } T.extend({ hasData: function (t) { return st.hasData(t) || ct.hasData(t); }, data: function (t, e, n) { return st.access(t, e, n); }, removeData: function (t, e) { st.remove(t, e); }, _data: function (t, e, n) { return ct.access(t, e, n); }, _removeData: function (t, e) { ct.remove(t, e); }, }), T.fn.extend({ data: function (t, e) { var n, r, o, i = this[0], a = i && i.attributes; if (void 0 === t) { if ( this.length && ((o = st.get(i)), 1 === i.nodeType && !ct.get(i, "hasDataAttrs")) ) { for (n = a.length; n--; ) a[n] && 0 === (r = a[n].name).indexOf("data-") && ((r = ot(r.slice(5))), ft(i, r, o[r])); ct.set(i, "hasDataAttrs", !0); } return o; } return "object" == typeof t ? this.each(function () { st.set(this, t); }) : tt( this, function (e) { var n; if (i && void 0 === e) return void 0 !== (n = st.get(i, t)) || void 0 !== (n = ft(i, t)) ? n : void 0; this.each(function () { st.set(this, t, e); }); }, null, e, arguments.length > 1, null, !0, ); }, removeData: function (t) { return this.each(function () { st.remove(this, t); }); }, }), T.extend({ queue: function (t, e, n) { var r; if (t) return ( (e = (e || "fx") + "queue"), (r = ct.get(t, e)), n && (!r || Array.isArray(n) ? (r = ct.access(t, e, T.makeArray(n))) : r.push(n)), r || [] ); }, dequeue: function (t, e) { e = e || "fx"; var n = T.queue(t, e), r = n.length, o = n.shift(), i = T._queueHooks(t, e); "inprogress" === o && ((o = n.shift()), r--), o && ("fx" === e && n.unshift("inprogress"), delete i.stop, o.call( t, function () { T.dequeue(t, e); }, i, )), !r && i && i.empty.fire(); }, _queueHooks: function (t, e) { var n = e + "queueHooks"; return ( ct.get(t, n) || ct.access(t, n, { empty: T.Callbacks("once memory").add(function () { ct.remove(t, [e + "queue", n]); }), }) ); }, }), T.fn.extend({ queue: function (t, e) { var n = 2; return ( "string" != typeof t && ((e = t), (t = "fx"), n--), arguments.length < n ? T.queue(this[0], t) : void 0 === e ? this : this.each(function () { var n = T.queue(this, t, e); T._queueHooks(this, t), "fx" === t && "inprogress" !== n[0] && T.dequeue(this, t); }) ); }, dequeue: function (t) { return this.each(function () { T.dequeue(this, t); }); }, clearQueue: function (t) { return this.queue(t || "fx", []); }, promise: function (t, e) { var n, r = 1, o = T.Deferred(), i = this, a = this.length, c = function () { --r || o.resolveWith(i, [i]); }; for ( "string" != typeof t && ((e = t), (t = void 0)), t = t || "fx"; a--; ) (n = ct.get(i[a], t + "queueHooks")) && n.empty && (r++, n.empty.add(c)); return c(), o.promise(e); }, }); var pt = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, ht = new RegExp("^(?:([+-])=|)(" + pt + ")([a-z%]*)$", "i"), dt = ["Top", "Right", "Bottom", "Left"], vt = b.documentElement, yt = function (t) { return T.contains(t.ownerDocument, t); }, gt = { composed: !0 }; vt.getRootNode && (yt = function (t) { return ( T.contains(t.ownerDocument, t) || t.getRootNode(gt) === t.ownerDocument ); }); var mt = function (t, e) { return ( "none" === (t = e || t).style.display || ("" === t.style.display && yt(t) && "none" === T.css(t, "display")) ); }; function bt(t, e, n, r) { var o, i, a = 20, c = r ? function () { return r.cur(); } : function () { return T.css(t, e, ""); }, s = c(), u = (n && n[3]) || (T.cssNumber[e] ? "" : "px"), l = t.nodeType && (T.cssNumber[e] || ("px" !== u && +s)) && ht.exec(T.css(t, e)); if (l && l[3] !== u) { for (s /= 2, u = u || l[3], l = +s || 1; a--; ) T.style(t, e, l + u), (1 - i) * (1 - (i = c() / s || 0.5)) <= 0 && (a = 0), (l /= i); (l *= 2), T.style(t, e, l + u), (n = n || []); } return ( n && ((l = +l || +s || 0), (o = n[1] ? l + (n[1] + 1) * n[2] : +n[2]), r && ((r.unit = u), (r.start = l), (r.end = o))), o ); } var xt = {}; function wt(t) { var e, n = t.ownerDocument, r = t.nodeName, o = xt[r]; return ( o || ((e = n.body.appendChild(n.createElement(r))), (o = T.css(e, "display")), e.parentNode.removeChild(e), "none" === o && (o = "block"), (xt[r] = o), o) ); } function kt(t, e) { for (var n, r, o = [], i = 0, a = t.length; i < a; i++) (r = t[i]).style && ((n = r.style.display), e ? ("none" === n && ((o[i] = ct.get(r, "display") || null), o[i] || (r.style.display = "")), "" === r.style.display && mt(r) && (o[i] = wt(r))) : "none" !== n && ((o[i] = "none"), ct.set(r, "display", n))); for (i = 0; i < a; i++) null != o[i] && (t[i].style.display = o[i]); return t; } T.fn.extend({ show: function () { return kt(this, !0); }, hide: function () { return kt(this); }, toggle: function (t) { return "boolean" == typeof t ? t ? this.show() : this.hide() : this.each(function () { mt(this) ? T(this).show() : T(this).hide(); }); }, }); var Et, jt, Tt = /^(?:checkbox|radio)$/i, Lt = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i, St = /^$|^module$|\/(?:java|ecma)script/i; (Et = b.createDocumentFragment().appendChild(b.createElement("div"))), (jt = b.createElement("input")).setAttribute("type", "radio"), jt.setAttribute("checked", "checked"), jt.setAttribute("name", "t"), Et.appendChild(jt), (y.checkClone = Et.cloneNode(!0).cloneNode(!0).lastChild.checked), (Et.innerHTML = ""), (y.noCloneChecked = !!Et.cloneNode(!0).lastChild.defaultValue), (Et.innerHTML = ""), (y.option = !!Et.lastChild); var At = { thead: [1, "