wisemapping-frontend/packages/mindplot/lib/components/libraries/jquery/jquery-2.1.0.min.js
2021-10-04 17:05:34 -07:00

186 lines
99 KiB
JavaScript

/*! jQuery v2.1.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!(function (a, b) { typeof module === 'object' && typeof module.exports === 'object' ? 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); }(typeof window !== 'undefined' ? window : this, (a, b) => {
const c = []; const d = c.slice; const e = c.concat; const f = c.push; const g = c.indexOf; const h = {}; const i = h.toString; const j = h.hasOwnProperty; const k = ''.trim; const l = {}; const m = a.document; const n = '2.1.0'; var o = function (a, b) { return new o.fn.init(a, b); }; const p = /^-ms-/; const q = /-([\da-z])/gi; const r = function (a, b) { return b.toUpperCase(); }; o.fn = o.prototype = {
jquery: n, constructor: o, selector: '', length: 0, toArray() { return d.call(this); }, get(a) { return a != null ? a < 0 ? this[a + this.length] : this[a] : d.call(this); }, pushStack(a) { const b = o.merge(this.constructor(), a); return b.prevObject = this, b.context = this.context, b; }, each(a, b) { return o.each(this, a, b); }, map(a) { return this.pushStack(o.map(this, (b, c) => a.call(b, c, b))); }, slice() { return this.pushStack(d.apply(this, arguments)); }, first() { return this.eq(0); }, last() { return this.eq(-1); }, eq(a) { const b = this.length; const c = +a + (a < 0 ? b : 0); return this.pushStack(c >= 0 && b > c ? [this[c]] : []); }, end() { return this.prevObject || this.constructor(null); }, push: f, sort: c.sort, splice: c.splice,
}, o.extend = o.fn.extend = function () { let a; let b; let c; let d; let e; let f; let g = arguments[0] || {}; let h = 1; const i = arguments.length; let j = !1; for (typeof g === 'boolean' && (j = g, g = arguments[h] || {}, h++), typeof g === 'object' || o.isFunction(g) || (g = {}), h === i && (g = this, h--); i > h; h++) if ((a = arguments[h]) != null) for (b in a)c = g[b], d = a[b], g !== d && (j && d && (o.isPlainObject(d) || (e = o.isArray(d))) ? (e ? (e = !1, f = c && o.isArray(c) ? c : []) : f = c && o.isPlainObject(c) ? c : {}, g[b] = o.extend(j, f, d)) : void 0 !== d && (g[b] = d)); return g; }, o.extend({
expando: `jQuery${(n + Math.random()).replace(/\D/g, '')}`, isReady: !0, error(a) { throw new Error(a); }, noop() {}, isFunction(a) { return o.type(a) === 'function'; }, isArray: Array.isArray, isWindow(a) { return a != null && a === a.window; }, isNumeric(a) { return a - parseFloat(a) >= 0; }, isPlainObject(a) { if (o.type(a) !== 'object' || a.nodeType || o.isWindow(a)) return !1; try { if (a.constructor && !j.call(a.constructor.prototype, 'isPrototypeOf')) return !1; } catch (b) { return !1; } return !0; }, isEmptyObject(a) { let b; for (b in a) return !1; return !0; }, type(a) { return a == null ? `${a}` : typeof a === 'object' || typeof a === 'function' ? h[i.call(a)] || 'object' : typeof a; }, globalEval(a) { let b; const c = eval; a = o.trim(a), a && (a.indexOf('use strict') === 1 ? (b = m.createElement('script'), b.text = a, m.head.appendChild(b).parentNode.removeChild(b)) : c(a)); }, camelCase(a) { return a.replace(p, 'ms-').replace(q, r); }, nodeName(a, b) { return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase(); }, each(a, b, c) { let d; let e = 0; const f = a.length; const g = s(a); if (c) { if (g) { for (;f > e; e++) if (d = b.apply(a[e], c), d === !1) break; } else for (e in a) if (d = b.apply(a[e], c), d === !1) break; } else if (g) { for (;f > e; e++) if (d = b.call(a[e], e, a[e]), d === !1) break; } else for (e in a) if (d = b.call(a[e], e, a[e]), d === !1) break; return a; }, trim(a) { return a == null ? '' : k.call(a); }, makeArray(a, b) { const c = b || []; return a != null && (s(Object(a)) ? o.merge(c, typeof a === 'string' ? [a] : a) : f.call(c, a)), c; }, inArray(a, b, c) { return b == null ? -1 : g.call(b, a, c); }, merge(a, b) { for (var c = +b.length, d = 0, e = a.length; c > d; d++)a[e++] = b[d]; return a.length = e, a; }, grep(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(a, b, c) { let d; let f = 0; const g = a.length; const h = s(a); const i = []; if (h) for (;g > f; f++)d = b(a[f], f, c), d != null && i.push(d); else for (f in a)d = b(a[f], f, c), d != null && i.push(d); return e.apply([], i); }, guid: 1, proxy(a, b) { let c; let e; let f; return typeof b === 'string' && (c = a[b], b = a, a = c), o.isFunction(a) ? (e = d.call(arguments, 2), f = function () { return a.apply(b || this, e.concat(d.call(arguments))); }, f.guid = a.guid = a.guid || o.guid++, f) : void 0; }, now: Date.now, support: l,
}), o.each('Boolean Number String Function Array Date RegExp Object Error'.split(' '), (a, b) => { h[`[object ${b}]`] = b.toLowerCase(); }); function s(a) { const b = a.length; const c = o.type(a); return c === 'function' || o.isWindow(a) ? !1 : a.nodeType === 1 && b ? !0 : c === 'array' || b === 0 || typeof b === 'number' && b > 0 && b - 1 in a; } const t = (function (a) {
let b; let c; let d; let e; let f; let g; let h; let i; let j; let k; let l; let m; let n; let o; let p; let q; let r; const s = `sizzle${-new Date()}`; const t = a.document; let u = 0; let v = 0; const w = eb(); const x = eb(); const y = eb(); let z = function (a, b) { return a === b && (j = !0), 0; }; const A = 'undefined'; const B = 1 << 31; const C = {}.hasOwnProperty; let D = []; const E = D.pop; const F = D.push; let G = D.push; const H = D.slice; const I = D.indexOf || function (a) { for (let b = 0, c = this.length; c > b; b++) if (this[b] === a) return b; return -1; }; const J = 'checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped'; const K = '[\\x20\\t\\r\\n\\f]'; const L = '(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+'; const M = L.replace('w', 'w#'); const N = `\\[${K}*(${L})${K}*(?:([*^$|!~]?=)${K}*(?:(['"])((?:\\\\.|[^\\\\])*?)\\3|(${M})|)|)${K}*\\]`; const O = `:(${L})(?:\\(((['"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|${N.replace(3, 8)})*)|.*)\\)|)`; const P = new RegExp(`^${K}+|((?:^|[^\\\\])(?:\\\\.)*)${K}+$`, 'g'); const Q = new RegExp(`^${K}*,${K}*`); const R = new RegExp(`^${K}*([>+~]|${K})${K}*`); const S = new RegExp(`=${K}*([^\\]'"]*?)${K}*\\]`, 'g'); const T = new RegExp(O); const U = new RegExp(`^${M}$`); const V = {
ID: new RegExp(`^#(${L})`), CLASS: new RegExp(`^\\.(${L})`), TAG: new RegExp(`^(${L.replace('w', 'w*')})`), ATTR: new RegExp(`^${N}`), PSEUDO: new RegExp(`^${O}`), CHILD: new RegExp(`^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(${K}*(even|odd|(([+-]|)(\\d*)n|)${K}*(?:([+-]|)${K}*(\\d+)|))${K}*\\)|)`, 'i'), bool: new RegExp(`^(?:${J})$`, 'i'), needsContext: new RegExp(`^${K}*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(${K}*((?:-\\d)?\\d*)${K}*\\)|)(?=[^-]|$)`, 'i'),
}; const W = /^(?:input|select|textarea|button)$/i; const X = /^h\d$/i; const Y = /^[^{]+\{\s*\[native \w/; const Z = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/; const $ = /[+~]/; const _ = /'|\\/g; const ab = new RegExp(`\\\\([\\da-f]{1,6}${K}?|(${K})|.)`, 'ig'); const bb = function (a, b, c) { const d = `0x${b}` - 65536; return d !== d || c ? b : d < 0 ? String.fromCharCode(d + 65536) : String.fromCharCode(d >> 10 | 55296, 1023 & d | 56320); }; try { G.apply(D = H.call(t.childNodes), t.childNodes), D[t.childNodes.length].nodeType; } catch (cb) { G = { apply: D.length ? function (a, b) { F.apply(a, H.call(b)); } : function (a, b) { let c = a.length; let d = 0; while (a[c++] = b[d++]);a.length = c - 1; } }; } function db(a, b, d, e) { let f; let g; let h; let i; let j; let m; let p; let q; let u; let v; if ((b ? b.ownerDocument || b : t) !== l && k(b), b = b || l, d = d || [], !a || typeof a !== 'string') return d; if ((i = b.nodeType) !== 1 && i !== 9) return []; if (n && !e) { if (f = Z.exec(a)) if (h = f[1]) { if (i === 9) { if (g = b.getElementById(h), !g || !g.parentNode) return d; if (g.id === h) return d.push(g), d; } else if (b.ownerDocument && (g = b.ownerDocument.getElementById(h)) && r(b, g) && g.id === h) return d.push(g), d; } else { if (f[2]) return G.apply(d, b.getElementsByTagName(a)), d; if ((h = f[3]) && c.getElementsByClassName && b.getElementsByClassName) return G.apply(d, b.getElementsByClassName(h)), d; } if (c.qsa && (!o || !o.test(a))) { if (q = p = s, u = b, v = i === 9 && a, i === 1 && b.nodeName.toLowerCase() !== 'object') { m = ob(a), (p = b.getAttribute('id')) ? q = p.replace(_, '\\$&') : b.setAttribute('id', q), q = `[id='${q}'] `, j = m.length; while (j--)m[j] = q + pb(m[j]); u = $.test(a) && mb(b.parentNode) || b, v = m.join(','); } if (v) try { return G.apply(d, u.querySelectorAll(v)), d; } catch (w) {} finally { p || b.removeAttribute('id'); } } } return xb(a.replace(P, '$1'), b, d, e); } function eb() { const a = []; function b(c, e) { return a.push(`${c} `) > d.cacheLength && delete b[a.shift()], b[`${c} `] = e; } return b; } function fb(a) { return a[s] = !0, a; } function gb(a) { let b = l.createElement('div'); try { return !!a(b); } catch (c) { return !1; } finally { b.parentNode && b.parentNode.removeChild(b), b = null; } } function hb(a, b) { const c = a.split('|'); let e = a.length; while (e--)d.attrHandle[c[e]] = b; } function ib(a, b) { let c = b && a; const d = c && a.nodeType === 1 && b.nodeType === 1 && (~b.sourceIndex || B) - (~a.sourceIndex || B); if (d) return d; if (c) while (c = c.nextSibling) if (c === b) return -1; return a ? 1 : -1; } function jb(a) { return function (b) { const c = b.nodeName.toLowerCase(); return c === 'input' && b.type === a; }; } function kb(a) { return function (b) { const c = b.nodeName.toLowerCase(); return (c === 'input' || c === 'button') && b.type === a; }; } function lb(a) { return fb((b) => (b = +b, fb((c, d) => { let e; const f = a([], c.length, b); let g = f.length; while (g--)c[e = f[g]] && (c[e] = !(d[e] = c[e])); }))); } function mb(a) { return a && typeof a.getElementsByTagName !== A && a; }c = db.support = {}, f = db.isXML = function (a) { const b = a && (a.ownerDocument || a).documentElement; return b ? b.nodeName !== 'HTML' : !1; }, k = db.setDocument = function (a) { let b; const e = a ? a.ownerDocument || a : t; const g = e.defaultView; return e !== l && e.nodeType === 9 && e.documentElement ? (l = e, m = e.documentElement, n = !f(e), g && g !== g.top && (g.addEventListener ? g.addEventListener('unload', () => { k(); }, !1) : g.attachEvent && g.attachEvent('onunload', () => { k(); })), c.attributes = gb((a) => (a.className = 'i', !a.getAttribute('className'))), c.getElementsByTagName = gb((a) => (a.appendChild(e.createComment('')), !a.getElementsByTagName('*').length)), c.getElementsByClassName = Y.test(e.getElementsByClassName) && gb((a) => (a.innerHTML = "<div class='a'></div><div class='a i'></div>", a.firstChild.className = 'i', a.getElementsByClassName('i').length === 2)), c.getById = gb((a) => (m.appendChild(a).id = s, !e.getElementsByName || !e.getElementsByName(s).length)), c.getById ? (d.find.ID = function (a, b) { if (typeof b.getElementById !== A && n) { const c = b.getElementById(a); return c && c.parentNode ? [c] : []; } }, d.filter.ID = function (a) { const b = a.replace(ab, bb); return function (a) { return a.getAttribute('id') === b; }; }) : (delete d.find.ID, d.filter.ID = function (a) { const b = a.replace(ab, bb); return function (a) { const c = typeof a.getAttributeNode !== A && a.getAttributeNode('id'); return c && c.value === b; }; }), d.find.TAG = c.getElementsByTagName ? function (a, b) { return typeof b.getElementsByTagName !== A ? b.getElementsByTagName(a) : void 0; } : function (a, b) { let c; const d = []; let e = 0; const f = b.getElementsByTagName(a); if (a === '*') { while (c = f[e++])c.nodeType === 1 && d.push(c); return d; } return f; }, d.find.CLASS = c.getElementsByClassName && function (a, b) { return typeof b.getElementsByClassName !== A && n ? b.getElementsByClassName(a) : void 0; }, p = [], o = [], (c.qsa = Y.test(e.querySelectorAll)) && (gb((a) => { a.innerHTML = "<select t=''><option selected=''></option></select>", a.querySelectorAll("[t^='']").length && o.push(`[*^$]=${K}*(?:''|"")`), a.querySelectorAll('[selected]').length || o.push(`\\[${K}*(?:value|${J})`), a.querySelectorAll(':checked').length || o.push(':checked'); }), gb((a) => { const b = e.createElement('input'); b.setAttribute('type', 'hidden'), a.appendChild(b).setAttribute('name', 'D'), a.querySelectorAll('[name=d]').length && o.push(`name${K}*[*^$|!~]?=`), a.querySelectorAll(':enabled').length || o.push(':enabled', ':disabled'), a.querySelectorAll('*,:x'), o.push(',.*:'); })), (c.matchesSelector = Y.test(q = m.webkitMatchesSelector || m.mozMatchesSelector || m.oMatchesSelector || m.msMatchesSelector)) && gb((a) => { c.disconnectedMatch = q.call(a, 'div'), q.call(a, "[s!='']:x"), p.push('!=', O); }), o = o.length && new RegExp(o.join('|')), p = p.length && new RegExp(p.join('|')), b = Y.test(m.compareDocumentPosition), r = b || Y.test(m.contains) ? function (a, b) { const c = a.nodeType === 9 ? a.documentElement : a; const d = b && b.parentNode; return a === d || !(!d || d.nodeType !== 1 || !(c.contains ? c.contains(d) : a.compareDocumentPosition && 16 & a.compareDocumentPosition(d))); } : function (a, b) { if (b) while (b = b.parentNode) if (b === a) return !0; return !1; }, z = b ? function (a, b) { if (a === b) return j = !0, 0; let d = !a.compareDocumentPosition - !b.compareDocumentPosition; return d || (d = (a.ownerDocument || a) === (b.ownerDocument || b) ? a.compareDocumentPosition(b) : 1, 1 & d || !c.sortDetached && b.compareDocumentPosition(a) === d ? a === e || a.ownerDocument === t && r(t, a) ? -1 : b === e || b.ownerDocument === t && r(t, b) ? 1 : i ? I.call(i, a) - I.call(i, b) : 0 : 4 & d ? -1 : 1); } : function (a, b) { if (a === b) return j = !0, 0; let c; let d = 0; const f = a.parentNode; const g = b.parentNode; const h = [a]; const k = [b]; if (!f || !g) return a === e ? -1 : b === e ? 1 : f ? -1 : g ? 1 : i ? I.call(i, a) - I.call(i, b) : 0; if (f === g) return ib(a, b); c = a; while (c = c.parentNode)h.unshift(c); c = b; while (c = c.parentNode)k.unshift(c); while (h[d] === k[d])d++; return d ? ib(h[d], k[d]) : h[d] === t ? -1 : k[d] === t ? 1 : 0; }, e) : l; }, db.matches = function (a, b) { return db(a, null, null, b); }, db.matchesSelector = function (a, b) { if ((a.ownerDocument || a) !== l && k(a), b = b.replace(S, "='$1']"), !(!c.matchesSelector || !n || p && p.test(b) || o && o.test(b))) try { const d = q.call(a, b); if (d || c.disconnectedMatch || a.document && a.document.nodeType !== 11) return d; } catch (e) {} return db(b, l, null, [a]).length > 0; }, db.contains = function (a, b) { return (a.ownerDocument || a) !== l && k(a), r(a, b); }, db.attr = function (a, b) { (a.ownerDocument || a) !== l && k(a); const e = d.attrHandle[b.toLowerCase()]; let f = e && C.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !n) : void 0; return void 0 !== f ? f : c.attributes || !n ? a.getAttribute(b) : (f = a.getAttributeNode(b)) && f.specified ? f.value : null; }, db.error = function (a) { throw new Error(`Syntax error, unrecognized expression: ${a}`); }, db.uniqueSort = function (a) { let b; const d = []; let e = 0; let f = 0; if (j = !c.detectDuplicates, i = !c.sortStable && a.slice(0), a.sort(z), j) { while (b = a[f++])b === a[f] && (e = d.push(f)); while (e--)a.splice(d[e], 1); } return i = null, a; }, e = db.getText = function (a) { let b; let c = ''; let d = 0; const f = a.nodeType; if (f) { if (f === 1 || f === 9 || f === 11) { if (typeof a.textContent === 'string') return a.textContent; for (a = a.firstChild; a; a = a.nextSibling)c += e(a); } else if (f === 3 || f === 4) return a.nodeValue; } else while (b = a[d++])c += e(b); return c; }, d = db.selectors = {
cacheLength: 50,
createPseudo: fb,
match: V,
attrHandle: {},
find: {},
relative: {
'>': { dir: 'parentNode', first: !0 }, ' ': { dir: 'parentNode' }, '+': { dir: 'previousSibling', first: !0 }, '~': { dir: 'previousSibling' },
},
preFilter: { ATTR(a) { return a[1] = a[1].replace(ab, bb), a[3] = (a[4] || a[5] || '').replace(ab, bb), a[2] === '~=' && (a[3] = ` ${a[3]} `), a.slice(0, 4); }, CHILD(a) { return a[1] = a[1].toLowerCase(), a[1].slice(0, 3) === 'nth' ? (a[3] || db.error(a[0]), a[4] = +(a[4] ? a[5] + (a[6] || 1) : 2 * (a[3] === 'even' || a[3] === 'odd')), a[5] = +(a[7] + a[8] || a[3] === 'odd')) : a[3] && db.error(a[0]), a; }, PSEUDO(a) { let b; const c = !a[5] && a[2]; return V.CHILD.test(a[0]) ? null : (a[3] && void 0 !== a[4] ? a[2] = a[4] : c && T.test(c) && (b = ob(c, !0)) && (b = c.indexOf(')', c.length - b) - c.length) && (a[0] = a[0].slice(0, b), a[2] = c.slice(0, b)), a.slice(0, 3)); } },
filter: {
TAG(a) { const b = a.replace(ab, bb).toLowerCase(); return a === '*' ? function () { return !0; } : function (a) { return a.nodeName && a.nodeName.toLowerCase() === b; }; }, CLASS(a) { let b = w[`${a} `]; return b || (b = new RegExp(`(^|${K})${a}(${K}|$)`)) && w(a, (a) => b.test(typeof a.className === 'string' && a.className || typeof a.getAttribute !== A && a.getAttribute('class') || '')); }, ATTR(a, b, c) { return function (d) { let e = db.attr(d, a); return e == null ? b === '!=' : b ? (e += '', b === '=' ? e === c : b === '!=' ? e !== c : b === '^=' ? c && e.indexOf(c) === 0 : b === '*=' ? c && e.indexOf(c) > -1 : b === '$=' ? c && e.slice(-c.length) === c : b === '~=' ? (` ${e} `).indexOf(c) > -1 : b === '|=' ? e === c || e.slice(0, c.length + 1) === `${c}-` : !1) : !0; }; }, CHILD(a, b, c, d, e) { const f = a.slice(0, 3) !== 'nth'; const g = a.slice(-4) !== 'last'; const h = b === 'of-type'; return d === 1 && e === 0 ? function (a) { return !!a.parentNode; } : function (b, c, i) { let j; let k; let l; let m; let n; let o; let p = f !== g ? 'nextSibling' : 'previousSibling'; const q = b.parentNode; const r = h && b.nodeName.toLowerCase(); const t = !i && !h; if (q) { if (f) { while (p) { l = b; while (l = l[p]) if (h ? l.nodeName.toLowerCase() === r : l.nodeType === 1) return !1; o = p = a === 'only' && !o && 'nextSibling'; } return !0; } if (o = [g ? q.firstChild : q.lastChild], g && t) { k = q[s] || (q[s] = {}), j = k[a] || [], n = j[0] === u && j[1], m = j[0] === u && j[2], l = n && q.childNodes[n]; while (l = ++n && l && l[p] || (m = n = 0) || o.pop()) if (l.nodeType === 1 && ++m && l === b) { k[a] = [u, n, m]; break; } } else if (t && (j = (b[s] || (b[s] = {}))[a]) && j[0] === u)m = j[1]; else while (l = ++n && l && l[p] || (m = n = 0) || o.pop()) if ((h ? l.nodeName.toLowerCase() === r : l.nodeType === 1) && ++m && (t && ((l[s] || (l[s] = {}))[a] = [u, m]), l === b)) break; return m -= e, m === d || m % d === 0 && m / d >= 0; } }; }, PSEUDO(a, b) { let c; const e = d.pseudos[a] || d.setFilters[a.toLowerCase()] || db.error(`unsupported pseudo: ${a}`); return e[s] ? e(b) : e.length > 1 ? (c = [a, a, '', b], d.setFilters.hasOwnProperty(a.toLowerCase()) ? fb((a, c) => { let d; const f = e(a, b); let g = f.length; while (g--)d = I.call(a, f[g]), a[d] = !(c[d] = f[g]); }) : function (a) { return e(a, 0, c); }) : e; },
},
pseudos: {
not: fb((a) => { const b = []; const c = []; const d = g(a.replace(P, '$1')); return d[s] ? fb((a, b, c, e) => { let f; const g = d(a, null, e, []); let h = a.length; while (h--)(f = g[h]) && (a[h] = !(b[h] = f)); }) : function (a, e, f) { return b[0] = a, d(b, null, f, c), !c.pop(); }; }), has: fb((a) => function (b) { return db(a, b).length > 0; }), contains: fb((a) => function (b) { return (b.textContent || b.innerText || e(b)).indexOf(a) > -1; }), lang: fb((a) => (U.test(a || '') || db.error(`unsupported lang: ${a}`), a = a.replace(ab, bb).toLowerCase(), function (b) { let c; do if (c = n ? b.lang : b.getAttribute('xml:lang') || b.getAttribute('lang')) return c = c.toLowerCase(), c === a || c.indexOf(`${a}-`) === 0; while ((b = b.parentNode) && b.nodeType === 1); return !1; })), target(b) { const c = a.location && a.location.hash; return c && c.slice(1) === b.id; }, root(a) { return a === m; }, focus(a) { return a === l.activeElement && (!l.hasFocus || l.hasFocus()) && !!(a.type || a.href || ~a.tabIndex); }, enabled(a) { return a.disabled === !1; }, disabled(a) { return a.disabled === !0; }, checked(a) { const b = a.nodeName.toLowerCase(); return b === 'input' && !!a.checked || b === 'option' && !!a.selected; }, selected(a) { return a.parentNode && a.parentNode.selectedIndex, a.selected === !0; }, empty(a) { for (a = a.firstChild; a; a = a.nextSibling) if (a.nodeType < 6) return !1; return !0; }, parent(a) { return !d.pseudos.empty(a); }, header(a) { return X.test(a.nodeName); }, input(a) { return W.test(a.nodeName); }, button(a) { const b = a.nodeName.toLowerCase(); return b === 'input' && a.type === 'button' || b === 'button'; }, text(a) { let b; return a.nodeName.toLowerCase() === 'input' && a.type === 'text' && ((b = a.getAttribute('type')) == null || b.toLowerCase() === 'text'); }, first: lb(() => [0]), last: lb((a, b) => [b - 1]), eq: lb((a, b, c) => [c < 0 ? c + b : c]), even: lb((a, b) => { for (let c = 0; b > c; c += 2)a.push(c); return a; }), odd: lb((a, b) => { for (let c = 1; b > c; c += 2)a.push(c); return a; }), lt: lb((a, b, c) => { for (let d = c < 0 ? c + b : c; --d >= 0;)a.push(d); return a; }), gt: lb((a, b, c) => { for (let d = c < 0 ? c + b : c; ++d < b;)a.push(d); return a; }),
},
}, d.pseudos.nth = d.pseudos.eq; for (b in {
radio: !0, checkbox: !0, file: !0, password: !0, image: !0,
})d.pseudos[b] = jb(b); for (b in { submit: !0, reset: !0 })d.pseudos[b] = kb(b); function nb() {}nb.prototype = d.filters = d.pseudos, d.setFilters = new nb(); function ob(a, b) { let c; let e; let f; let g; let h; let i; let j; const k = x[`${a} `]; if (k) return b ? 0 : k.slice(0); h = a, i = [], j = d.preFilter; while (h) { (!c || (e = Q.exec(h))) && (e && (h = h.slice(e[0].length) || h), i.push(f = [])), c = !1, (e = R.exec(h)) && (c = e.shift(), f.push({ value: c, type: e[0].replace(P, ' ') }), h = h.slice(c.length)); for (g in d.filter)!(e = V[g].exec(h)) || j[g] && !(e = j[g](e)) || (c = e.shift(), f.push({ value: c, type: g, matches: e }), h = h.slice(c.length)); if (!c) break; } return b ? h.length : h ? db.error(a) : x(a, i).slice(0); } function pb(a) { for (var b = 0, c = a.length, d = ''; c > b; b++)d += a[b].value; return d; } function qb(a, b, c) { const d = b.dir; const e = c && d === 'parentNode'; const f = v++; return b.first ? function (b, c, f) { while (b = b[d]) if (b.nodeType === 1 || e) return a(b, c, f); } : function (b, c, g) { let h; let i; const j = [u, f]; if (g) { while (b = b[d]) if ((b.nodeType === 1 || e) && a(b, c, g)) return !0; } else while (b = b[d]) if (b.nodeType === 1 || e) { if (i = b[s] || (b[s] = {}), (h = i[d]) && h[0] === u && h[1] === f) return j[2] = h[2]; if (i[d] = j, j[2] = a(b, c, g)) return !0; } }; } function rb(a) { return a.length > 1 ? function (b, c, d) { let e = a.length; while (e--) if (!a[e](b, c, d)) return !1; return !0; } : a[0]; } function sb(a, b, c, d, e) { for (var f, g = [], h = 0, i = a.length, j = b != null; i > h; h++)(f = a[h]) && (!c || c(f, d, e)) && (g.push(f), j && b.push(h)); return g; } function tb(a, b, c, d, e, f) { return d && !d[s] && (d = tb(d)), e && !e[s] && (e = tb(e, f)), fb((f, g, h, i) => { let j; let k; let l; const m = []; const n = []; const o = g.length; const p = f || wb(b || '*', h.nodeType ? [h] : h, []); const q = !a || !f && b ? p : sb(p, m, a, h, i); let r = c ? e || (f ? a : o || d) ? [] : g : q; if (c && c(q, r, h, i), d) { j = sb(r, n), d(j, [], h, i), k = j.length; while (k--)(l = j[k]) && (r[n[k]] = !(q[n[k]] = l)); } if (f) { if (e || a) { if (e) { j = [], k = r.length; while (k--)(l = r[k]) && j.push(q[k] = l); e(null, r = [], j, i); }k = r.length; while (k--)(l = r[k]) && (j = e ? I.call(f, l) : m[k]) > -1 && (f[j] = !(g[j] = l)); } } else r = sb(r === g ? r.splice(o, r.length) : r), e ? e(null, g, r, i) : G.apply(g, r); }); } function ub(a) { for (var b, c, e, f = a.length, g = d.relative[a[0].type], i = g || d.relative[' '], j = g ? 1 : 0, k = qb((a) => a === b, i, !0), l = qb((a) => I.call(b, a) > -1, i, !0), m = [function (a, c, d) { return !g && (d || c !== h) || ((b = c).nodeType ? k(a, c, d) : l(a, c, d)); }]; f > j; j++) if (c = d.relative[a[j].type])m = [qb(rb(m), c)]; else { if (c = d.filter[a[j].type].apply(null, a[j].matches), c[s]) { for (e = ++j; f > e; e++) if (d.relative[a[e].type]) break; return tb(j > 1 && rb(m), j > 1 && pb(a.slice(0, j - 1).concat({ value: a[j - 2].type === ' ' ? '*' : '' })).replace(P, '$1'), c, e > j && ub(a.slice(j, e)), f > e && ub(a = a.slice(e)), f > e && pb(a)); }m.push(c); } return rb(m); } function vb(a, b) { const c = b.length > 0; const e = a.length > 0; const f = function (f, g, i, j, k) { let m; let n; let o; let p = 0; let q = '0'; const r = f && []; let s = []; const t = h; const v = f || e && d.find.TAG('*', k); const w = u += t == null ? 1 : Math.random() || 0.1; const x = v.length; for (k && (h = g !== l && g); q !== x && (m = v[q]) != null; q++) { if (e && m) { n = 0; while (o = a[n++]) if (o(m, g, i)) { j.push(m); break; }k && (u = w); }c && ((m = !o && m) && p--, f && r.push(m)); } if (p += q, c && q !== p) { n = 0; while (o = b[n++])o(r, s, g, i); if (f) { if (p > 0) while (q--)r[q] || s[q] || (s[q] = E.call(j)); s = sb(s); }G.apply(j, s), k && !f && s.length > 0 && p + b.length > 1 && db.uniqueSort(j); } return k && (u = w, h = t), r; }; return c ? fb(f) : f; }g = db.compile = function (a, b) { let c; const d = []; const e = []; let f = y[`${a} `]; if (!f) { b || (b = ob(a)), c = b.length; while (c--)f = ub(b[c]), f[s] ? d.push(f) : e.push(f); f = y(a, vb(e, d)); } return f; }; function wb(a, b, c) { for (let d = 0, e = b.length; e > d; d++)db(a, b[d], c); return c; } function xb(a, b, e, f) { let h; let i; let j; let k; let l; const m = ob(a); if (!f && m.length === 1) { if (i = m[0] = m[0].slice(0), i.length > 2 && (j = i[0]).type === 'ID' && c.getById && b.nodeType === 9 && n && d.relative[i[1].type]) { if (b = (d.find.ID(j.matches[0].replace(ab, bb), b) || [])[0], !b) return e; a = a.slice(i.shift().value.length); }h = V.needsContext.test(a) ? 0 : i.length; while (h--) { if (j = i[h], d.relative[k = j.type]) break; if ((l = d.find[k]) && (f = l(j.matches[0].replace(ab, bb), $.test(i[0].type) && mb(b.parentNode) || b))) { if (i.splice(h, 1), a = f.length && pb(i), !a) return G.apply(e, f), e; break; } } } return g(a, m)(f, b, !n, e, $.test(a) && mb(b.parentNode) || b), e; } return c.sortStable = s.split('').sort(z).join('') === s, c.detectDuplicates = !!j, k(), c.sortDetached = gb((a) => 1 & a.compareDocumentPosition(l.createElement('div'))), gb((a) => (a.innerHTML = "<a href='#'></a>", a.firstChild.getAttribute('href') === '#')) || hb('type|href|height|width', (a, b, c) => (c ? void 0 : a.getAttribute(b, b.toLowerCase() === 'type' ? 1 : 2))), c.attributes && gb((a) => (a.innerHTML = '<input/>', a.firstChild.setAttribute('value', ''), a.firstChild.getAttribute('value') === '')) || hb('value', (a, b, c) => (c || a.nodeName.toLowerCase() !== 'input' ? void 0 : a.defaultValue)), gb((a) => a.getAttribute('disabled') == null) || hb(J, (a, b, c) => { let d; return c ? void 0 : a[b] === !0 ? b.toLowerCase() : (d = a.getAttributeNode(b)) && d.specified ? d.value : null; }), db;
}(a)); o.find = t, o.expr = t.selectors, o.expr[':'] = o.expr.pseudos, o.unique = t.uniqueSort, o.text = t.getText, o.isXMLDoc = t.isXML, o.contains = t.contains; const u = o.expr.match.needsContext; const v = /^<(\w+)\s*\/?>(?:<\/\1>|)$/; const w = /^.[^:#\[\.,]*$/; function x(a, b, c) { if (o.isFunction(b)) return o.grep(a, (a, d) => !!b.call(a, d, a) !== c); if (b.nodeType) return o.grep(a, (a) => a === b !== c); if (typeof b === 'string') { if (w.test(b)) return o.filter(b, a, c); b = o.filter(b, a); } return o.grep(a, (a) => g.call(b, a) >= 0 !== c); }o.filter = function (a, b, c) { const d = b[0]; return c && (a = `:not(${a})`), b.length === 1 && d.nodeType === 1 ? o.find.matchesSelector(d, a) ? [d] : [] : o.find.matches(a, o.grep(b, (a) => a.nodeType === 1)); }, o.fn.extend({
find(a) { let b; const c = this.length; let d = []; const e = this; if (typeof a !== 'string') return this.pushStack(o(a).filter(function () { for (b = 0; c > b; b++) if (o.contains(e[b], this)) return !0; })); for (b = 0; c > b; b++)o.find(a, e[b], d); return d = this.pushStack(c > 1 ? o.unique(d) : d), d.selector = this.selector ? `${this.selector} ${a}` : a, d; }, filter(a) { return this.pushStack(x(this, a || [], !1)); }, not(a) { return this.pushStack(x(this, a || [], !0)); }, is(a) { return !!x(this, typeof a === 'string' && u.test(a) ? o(a) : a || [], !1).length; },
}); let y; const z = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/; const A = o.fn.init = function (a, b) { let c; let d; if (!a) return this; if (typeof a === 'string') { if (c = a[0] === '<' && a[a.length - 1] === '>' && a.length >= 3 ? [null, a, null] : z.exec(a), !c || !c[1] && b) return !b || b.jquery ? (b || y).find(a) : this.constructor(b).find(a); if (c[1]) { if (b = b instanceof o ? b[0] : b, o.merge(this, o.parseHTML(c[1], b && b.nodeType ? b.ownerDocument || b : m, !0)), v.test(c[1]) && o.isPlainObject(b)) for (c in b)o.isFunction(this[c]) ? this[c](b[c]) : this.attr(c, b[c]); return this; } return d = m.getElementById(c[2]), d && d.parentNode && (this.length = 1, this[0] = d), this.context = m, this.selector = a, this; } return a.nodeType ? (this.context = this[0] = a, this.length = 1, this) : o.isFunction(a) ? typeof y.ready !== 'undefined' ? y.ready(a) : a(o) : (void 0 !== a.selector && (this.selector = a.selector, this.context = a.context), o.makeArray(a, this)); }; A.prototype = o.fn, y = o(m); const B = /^(?:parents|prev(?:Until|All))/; const C = {
children: !0, contents: !0, next: !0, prev: !0,
}; o.extend({ dir(a, b, c) { const d = []; const e = void 0 !== c; while ((a = a[b]) && a.nodeType !== 9) if (a.nodeType === 1) { if (e && o(a).is(c)) break; d.push(a); } return d; }, sibling(a, b) { for (var c = []; a; a = a.nextSibling)a.nodeType === 1 && a !== b && c.push(a); return c; } }), o.fn.extend({
has(a) { const b = o(a, this); const c = b.length; return this.filter(function () { for (let a = 0; c > a; a++) if (o.contains(this, b[a])) return !0; }); }, closest(a, b) { for (var c, d = 0, e = this.length, f = [], g = u.test(a) || typeof a !== 'string' ? o(a, b || this.context) : 0; e > d; d++) for (c = this[d]; c && c !== b; c = c.parentNode) if (c.nodeType < 11 && (g ? g.index(c) > -1 : c.nodeType === 1 && o.find.matchesSelector(c, a))) { f.push(c); break; } return this.pushStack(f.length > 1 ? o.unique(f) : f); }, index(a) { return a ? typeof a === 'string' ? g.call(o(a), this[0]) : g.call(this, a.jquery ? a[0] : a) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1; }, add(a, b) { return this.pushStack(o.unique(o.merge(this.get(), o(a, b)))); }, addBack(a) { return this.add(a == null ? this.prevObject : this.prevObject.filter(a)); },
}); function D(a, b) { while ((a = a[b]) && a.nodeType !== 1);return a; }o.each({
parent(a) { const b = a.parentNode; return b && b.nodeType !== 11 ? b : null; }, parents(a) { return o.dir(a, 'parentNode'); }, parentsUntil(a, b, c) { return o.dir(a, 'parentNode', c); }, next(a) { return D(a, 'nextSibling'); }, prev(a) { return D(a, 'previousSibling'); }, nextAll(a) { return o.dir(a, 'nextSibling'); }, prevAll(a) { return o.dir(a, 'previousSibling'); }, nextUntil(a, b, c) { return o.dir(a, 'nextSibling', c); }, prevUntil(a, b, c) { return o.dir(a, 'previousSibling', c); }, siblings(a) { return o.sibling((a.parentNode || {}).firstChild, a); }, children(a) { return o.sibling(a.firstChild); }, contents(a) { return a.contentDocument || o.merge([], a.childNodes); },
}, (a, b) => { o.fn[a] = function (c, d) { let e = o.map(this, b, c); return a.slice(-5) !== 'Until' && (d = c), d && typeof d === 'string' && (e = o.filter(d, e)), this.length > 1 && (C[a] || o.unique(e), B.test(a) && e.reverse()), this.pushStack(e); }; }); const E = /\S+/g; const F = {}; function G(a) { const b = F[a] = {}; return o.each(a.match(E) || [], (a, c) => { b[c] = !0; }), b; }o.Callbacks = function (a) {
a = typeof a === 'string' ? F[a] || G(a) : o.extend({}, a); let b; let c; let d; let e; let f; let g; let h = []; let i = !a.once && []; var j = function (l) { for (b = a.memory && l, c = !0, g = e || 0, e = 0, f = h.length, d = !0; h && f > g; g++) if (h[g].apply(l[0], l[1]) === !1 && a.stopOnFalse) { b = !1; break; }d = !1, h && (i ? i.length && j(i.shift()) : b ? h = [] : k.disable()); }; var k = {
add() { if (h) { const c = h.length; !(function g(b) { o.each(b, (b, c) => { const d = o.type(c); d === 'function' ? a.unique && k.has(c) || h.push(c) : c && c.length && d !== 'string' && g(c); }); }(arguments)), d ? f = h.length : b && (e = c, j(b)); } return this; }, remove() { return h && o.each(arguments, (a, b) => { let c; while ((c = o.inArray(b, h, c)) > -1)h.splice(c, 1), d && (f >= c && f--, g >= c && g--); }), this; }, has(a) { return a ? o.inArray(a, h) > -1 : !(!h || !h.length); }, empty() { return h = [], f = 0, this; }, disable() { return h = i = b = void 0, this; }, disabled() { return !h; }, lock() { return i = void 0, b || k.disable(), this; }, locked() { return !i; }, fireWith(a, b) { return !h || c && !i || (b = b || [], b = [a, b.slice ? b.slice() : b], d ? i.push(b) : j(b)), this; }, fire() { return k.fireWith(this, arguments), this; }, fired() { return !!c; },
}; return k;
}, o.extend({
Deferred(a) {
const b = [['resolve', 'done', o.Callbacks('once memory'), 'resolved'], ['reject', 'fail', o.Callbacks('once memory'), 'rejected'], ['notify', 'progress', o.Callbacks('memory')]]; let c = 'pending'; var d = {
state() { return c; }, always() { return e.done(arguments).fail(arguments), this; }, then() { let a = arguments; return o.Deferred((c) => { o.each(b, (b, f) => { const g = o.isFunction(a[b]) && a[b]; e[f[1]](function () { const a = g && g.apply(this, arguments); a && o.isFunction(a.promise) ? a.promise().done(c.resolve).fail(c.reject).progress(c.notify) : c[`${f[0]}With`](this === d ? c.promise() : this, g ? [a] : arguments); }); }), a = null; }).promise(); }, promise(a) { return a != null ? o.extend(a, d) : d; },
}; var e = {}; return d.pipe = d.then, o.each(b, (a, f) => { const g = f[2]; const h = f[3]; d[f[1]] = g.add, h && g.add(() => { c = h; }, b[1 ^ a][2].disable, b[2][2].lock), e[f[0]] = function () { return e[`${f[0]}With`](this === e ? d : this, arguments), this; }, e[`${f[0]}With`] = g.fireWith; }), d.promise(e), a && a.call(e, e), e;
},
when(a) { let b = 0; const c = d.call(arguments); const e = c.length; let f = e !== 1 || a && o.isFunction(a.promise) ? e : 0; const g = f === 1 ? a : o.Deferred(); const h = function (a, b, c) { return function (e) { b[a] = this, c[a] = arguments.length > 1 ? d.call(arguments) : e, c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c); }; }; let i; let j; let k; if (e > 1) for (i = new Array(e), j = new Array(e), k = new Array(e); e > b; b++)c[b] && o.isFunction(c[b].promise) ? c[b].promise().done(h(b, k, c)).fail(g.reject).progress(h(b, j, i)) : --f; return f || g.resolveWith(k, c), g.promise(); },
}); let H; o.fn.ready = function (a) { return o.ready.promise().done(a), this; }, o.extend({
isReady: !1, readyWait: 1, holdReady(a) { a ? o.readyWait++ : o.ready(!0); }, ready(a) { (a === !0 ? --o.readyWait : o.isReady) || (o.isReady = !0, a !== !0 && --o.readyWait > 0 || (H.resolveWith(m, [o]), o.fn.trigger && o(m).trigger('ready').off('ready'))); },
}); function I() { m.removeEventListener('DOMContentLoaded', I, !1), a.removeEventListener('load', I, !1), o.ready(); }o.ready.promise = function (b) { return H || (H = o.Deferred(), m.readyState === 'complete' ? setTimeout(o.ready) : (m.addEventListener('DOMContentLoaded', I, !1), a.addEventListener('load', I, !1))), H.promise(b); }, o.ready.promise(); const J = o.access = function (a, b, c, d, e, f, g) { let h = 0; const i = a.length; let j = c == null; if (o.type(c) === 'object') { e = !0; for (h in c)o.access(a, b, h, c[h], !0, f, g); } else if (void 0 !== d && (e = !0, o.isFunction(d) || (g = !0), j && (g ? (b.call(a, d), b = null) : (j = b, b = function (a, b, c) { return j.call(o(a), c); })), b)) for (;i > h; h++)b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c))); return e ? a : j ? b.call(a) : i ? b(a[0], c) : f; }; o.acceptData = function (a) { return a.nodeType === 1 || a.nodeType === 9 || !+a.nodeType; }; function K() { Object.defineProperty(this.cache = {}, 0, { get() { return {}; } }), this.expando = o.expando + Math.random(); }K.uid = 1, K.accepts = o.acceptData, K.prototype = {
key(a) { if (!K.accepts(a)) return 0; const b = {}; let c = a[this.expando]; if (!c) { c = K.uid++; try { b[this.expando] = { value: c }, Object.defineProperties(a, b); } catch (d) { b[this.expando] = c, o.extend(a, b); } } return this.cache[c] || (this.cache[c] = {}), c; }, set(a, b, c) { let d; const e = this.key(a); const f = this.cache[e]; if (typeof b === 'string')f[b] = c; else if (o.isEmptyObject(f))o.extend(this.cache[e], b); else for (d in b)f[d] = b[d]; return f; }, get(a, b) { const c = this.cache[this.key(a)]; return void 0 === b ? c : c[b]; }, access(a, b, c) { let d; return void 0 === b || b && typeof b === 'string' && void 0 === c ? (d = this.get(a, b), void 0 !== d ? d : this.get(a, o.camelCase(b))) : (this.set(a, b, c), void 0 !== c ? c : b); }, remove(a, b) { let c; let d; let e; const f = this.key(a); const g = this.cache[f]; if (void 0 === b) this.cache[f] = {}; else { o.isArray(b) ? d = b.concat(b.map(o.camelCase)) : (e = o.camelCase(b), b in g ? d = [b, e] : (d = e, d = d in g ? [d] : d.match(E) || [])), c = d.length; while (c--) delete g[d[c]]; } }, hasData(a) { return !o.isEmptyObject(this.cache[a[this.expando]] || {}); }, discard(a) { a[this.expando] && delete this.cache[a[this.expando]]; },
}; const L = new K(); const M = new K(); const N = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/; const
O = /([A-Z])/g; function P(a, b, c) { let d; if (void 0 === c && a.nodeType === 1) if (d = `data-${b.replace(O, '-$1').toLowerCase()}`, c = a.getAttribute(d), typeof c === 'string') { try { c = c === 'true' ? !0 : c === 'false' ? !1 : c === 'null' ? null : `${+c}` === c ? +c : N.test(c) ? o.parseJSON(c) : c; } catch (e) {}M.set(a, b, c); } else c = void 0; return c; }o.extend({
hasData(a) { return M.hasData(a) || L.hasData(a); }, data(a, b, c) { return M.access(a, b, c); }, removeData(a, b) { M.remove(a, b); }, _data(a, b, c) { return L.access(a, b, c); }, _removeData(a, b) { L.remove(a, b); },
}), o.fn.extend({
data(a, b) {
let c; let d; let e; const f = this[0]; const g = f && f.attributes; if (void 0 === a) {
if (this.length && (e = M.get(f), f.nodeType === 1 && !L.get(f, 'hasDataAttrs'))) {
c = g.length;
while (c--)d = g[c].name, d.indexOf('data-') === 0 && (d = o.camelCase(d.slice(5)), P(f, d, e[d])); L.set(f, 'hasDataAttrs', !0);
} return e;
} return typeof a === 'object' ? this.each(function () { M.set(this, a); }) : J(this, function (b) { let c; const d = o.camelCase(a); if (f && void 0 === b) { if (c = M.get(f, a), void 0 !== c) return c; if (c = M.get(f, d), void 0 !== c) return c; if (c = P(f, d, void 0), void 0 !== c) return c; } else this.each(function () { const c = M.get(this, d); M.set(this, d, b), a.indexOf('-') !== -1 && void 0 !== c && M.set(this, a, b); }); }, null, b, arguments.length > 1, null, !0);
},
removeData(a) { return this.each(function () { M.remove(this, a); }); },
}), o.extend({ queue(a, b, c) { let d; return a ? (b = `${b || 'fx'}queue`, d = L.get(a, b), c && (!d || o.isArray(c) ? d = L.access(a, b, o.makeArray(c)) : d.push(c)), d || []) : void 0; }, dequeue(a, b) { b = b || 'fx'; const c = o.queue(a, b); let d = c.length; let e = c.shift(); const f = o._queueHooks(a, b); const g = function () { o.dequeue(a, b); }; e === 'inprogress' && (e = c.shift(), d--), e && (b === 'fx' && c.unshift('inprogress'), delete f.stop, e.call(a, g, f)), !d && f && f.empty.fire(); }, _queueHooks(a, b) { const c = `${b}queueHooks`; return L.get(a, c) || L.access(a, c, { empty: o.Callbacks('once memory').add(() => { L.remove(a, [`${b}queue`, c]); }) }); } }), o.fn.extend({
queue(a, b) { let c = 2; return typeof a !== 'string' && (b = a, a = 'fx', c--), arguments.length < c ? o.queue(this[0], a) : void 0 === b ? this : this.each(function () { const c = o.queue(this, a, b); o._queueHooks(this, a), a === 'fx' && c[0] !== 'inprogress' && o.dequeue(this, a); }); }, dequeue(a) { return this.each(function () { o.dequeue(this, a); }); }, clearQueue(a) { return this.queue(a || 'fx', []); }, promise(a, b) { let c; let d = 1; const e = o.Deferred(); const f = this; let g = this.length; const h = function () { --d || e.resolveWith(f, [f]); }; typeof a !== 'string' && (b = a, a = void 0), a = a || 'fx'; while (g--)c = L.get(f[g], `${a}queueHooks`), c && c.empty && (d++, c.empty.add(h)); return h(), e.promise(b); },
}); const Q = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source; const R = ['Top', 'Right', 'Bottom', 'Left']; const S = function (a, b) { return a = b || a, o.css(a, 'display') === 'none' || !o.contains(a.ownerDocument, a); }; const T = /^(?:checkbox|radio)$/i; !(function () { const a = m.createDocumentFragment(); const b = a.appendChild(m.createElement('div')); b.innerHTML = "<input type='radio' checked='checked' name='t'/>", l.checkClone = b.cloneNode(!0).cloneNode(!0).lastChild.checked, b.innerHTML = '<textarea>x</textarea>', l.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue; }()); const U = 'undefined'; l.focusinBubbles = 'onfocusin' in a; const V = /^key/; const W = /^(?:mouse|contextmenu)|click/; const X = /^(?:focusinfocus|focusoutblur)$/; const Y = /^([^.]*)(?:\.(.+)|)$/; function Z() { return !0; } function $() { return !1; } function _() { try { return m.activeElement; } catch (a) {} }o.event = {
global: {},
add(a, b, c, d, e) {
let f; let g; let h; let i; let j; let k; let l; let m; let n; let p; let q; const r = L.get(a); if (r) {
c.handler && (f = c, c = f.handler, e = f.selector), c.guid || (c.guid = o.guid++), (i = r.events) || (i = r.events = {}), (g = r.handle) || (g = r.handle = function (b) { return typeof o !== U && o.event.triggered !== b.type ? o.event.dispatch.apply(a, arguments) : void 0; }), b = (b || '').match(E) || [''], j = b.length; while (j--) {
h = Y.exec(b[j]) || [], n = q = h[1], p = (h[2] || '').split('.').sort(), n && (l = o.event.special[n] || {}, n = (e ? l.delegateType : l.bindType) || n, l = o.event.special[n] || {}, k = o.extend({
type: n, origType: q, data: d, handler: c, guid: c.guid, selector: e, needsContext: e && o.expr.match.needsContext.test(e), namespace: p.join('.'),
}, f), (m = i[n]) || (m = i[n] = [], m.delegateCount = 0, l.setup && l.setup.call(a, d, p, g) !== !1 || a.addEventListener && a.addEventListener(n, g, !1)), l.add && (l.add.call(a, k), k.handler.guid || (k.handler.guid = c.guid)), e ? m.splice(m.delegateCount++, 0, k) : m.push(k), o.event.global[n] = !0);
}
}
},
remove(a, b, c, d, e) { let f; let g; let h; let i; let j; let k; let l; let m; let n; let p; let q; const r = L.hasData(a) && L.get(a); if (r && (i = r.events)) { b = (b || '').match(E) || [''], j = b.length; while (j--) if (h = Y.exec(b[j]) || [], n = q = h[1], p = (h[2] || '').split('.').sort(), n) { l = o.event.special[n] || {}, n = (d ? l.delegateType : l.bindType) || n, m = i[n] || [], h = h[2] && new RegExp(`(^|\\.)${p.join('\\.(?:.*\\.|)')}(\\.|$)`), g = f = m.length; while (f--)k = m[f], !e && q !== k.origType || c && c.guid !== k.guid || h && !h.test(k.namespace) || d && d !== k.selector && (d !== '**' || !k.selector) || (m.splice(f, 1), k.selector && m.delegateCount--, l.remove && l.remove.call(a, k)); g && !m.length && (l.teardown && l.teardown.call(a, p, r.handle) !== !1 || o.removeEvent(a, n, r.handle), delete i[n]); } else for (n in i)o.event.remove(a, n + b[j], c, d, !0); o.isEmptyObject(i) && (delete r.handle, L.remove(a, 'events')); } },
trigger(b, c, d, e) { let f; let g; let h; let i; let k; let l; let n; const p = [d || m]; let q = j.call(b, 'type') ? b.type : b; let r = j.call(b, 'namespace') ? b.namespace.split('.') : []; if (g = h = d = d || m, d.nodeType !== 3 && d.nodeType !== 8 && !X.test(q + o.event.triggered) && (q.indexOf('.') >= 0 && (r = q.split('.'), q = r.shift(), r.sort()), k = q.indexOf(':') < 0 && `on${q}`, b = b[o.expando] ? b : new o.Event(q, typeof b === 'object' && b), b.isTrigger = e ? 2 : 3, b.namespace = r.join('.'), b.namespace_re = b.namespace ? new RegExp(`(^|\\.)${r.join('\\.(?:.*\\.|)')}(\\.|$)`) : null, b.result = void 0, b.target || (b.target = d), c = c == null ? [b] : o.makeArray(c, [b]), n = o.event.special[q] || {}, e || !n.trigger || n.trigger.apply(d, c) !== !1)) { if (!e && !n.noBubble && !o.isWindow(d)) { for (i = n.delegateType || q, X.test(i + q) || (g = g.parentNode); g; g = g.parentNode)p.push(g), h = g; h === (d.ownerDocument || m) && p.push(h.defaultView || h.parentWindow || a); }f = 0; while ((g = p[f++]) && !b.isPropagationStopped())b.type = f > 1 ? i : n.bindType || q, l = (L.get(g, 'events') || {})[b.type] && L.get(g, 'handle'), l && l.apply(g, c), l = k && g[k], l && l.apply && o.acceptData(g) && (b.result = l.apply(g, c), b.result === !1 && b.preventDefault()); return b.type = q, e || b.isDefaultPrevented() || n._default && n._default.apply(p.pop(), c) !== !1 || !o.acceptData(d) || k && o.isFunction(d[q]) && !o.isWindow(d) && (h = d[k], h && (d[k] = null), o.event.triggered = q, d[q](), o.event.triggered = void 0, h && (d[k] = h)), b.result; } },
dispatch(a) { a = o.event.fix(a); let b; let c; let e; let f; let g; let h = []; const i = d.call(arguments); const j = (L.get(this, 'events') || {})[a.type] || []; const k = o.event.special[a.type] || {}; if (i[0] = a, a.delegateTarget = this, !k.preDispatch || k.preDispatch.call(this, a) !== !1) { h = o.event.handlers.call(this, a, j), b = 0; while ((f = h[b++]) && !a.isPropagationStopped()) { a.currentTarget = f.elem, c = 0; while ((g = f.handlers[c++]) && !a.isImmediatePropagationStopped())(!a.namespace_re || a.namespace_re.test(g.namespace)) && (a.handleObj = g, a.data = g.data, e = ((o.event.special[g.origType] || {}).handle || g.handler).apply(f.elem, i), void 0 !== e && (a.result = e) === !1 && (a.preventDefault(), a.stopPropagation())); } return k.postDispatch && k.postDispatch.call(this, a), a.result; } },
handlers(a, b) { let c; let d; let e; let f; const g = []; const h = b.delegateCount; let i = a.target; if (h && i.nodeType && (!a.button || a.type !== 'click')) for (;i !== this; i = i.parentNode || this) if (i.disabled !== !0 || a.type !== 'click') { for (d = [], c = 0; h > c; c++)f = b[c], e = `${f.selector} `, void 0 === d[e] && (d[e] = f.needsContext ? o(e, this).index(i) >= 0 : o.find(e, this, null, [i]).length), d[e] && d.push(f); d.length && g.push({ elem: i, handlers: d }); } return h < b.length && g.push({ elem: this, handlers: b.slice(h) }), g; },
props: 'altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which'.split(' '),
fixHooks: {},
keyHooks: { props: 'char charCode key keyCode'.split(' '), filter(a, b) { return a.which == null && (a.which = b.charCode != null ? b.charCode : b.keyCode), a; } },
mouseHooks: { props: 'button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement'.split(' '), filter(a, b) { let c; let d; let e; const f = b.button; return a.pageX == null && b.clientX != null && (c = a.target.ownerDocument || m, d = c.documentElement, e = c.body, a.pageX = b.clientX + (d && d.scrollLeft || e && e.scrollLeft || 0) - (d && d.clientLeft || e && e.clientLeft || 0), a.pageY = b.clientY + (d && d.scrollTop || e && e.scrollTop || 0) - (d && d.clientTop || e && e.clientTop || 0)), a.which || void 0 === f || (a.which = 1 & f ? 1 : 2 & f ? 3 : 4 & f ? 2 : 0), a; } },
fix(a) { if (a[o.expando]) return a; let b; let c; let d; const e = a.type; const f = a; let g = this.fixHooks[e]; g || (this.fixHooks[e] = g = W.test(e) ? this.mouseHooks : V.test(e) ? this.keyHooks : {}), d = g.props ? this.props.concat(g.props) : this.props, a = new o.Event(f), b = d.length; while (b--)c = d[b], a[c] = f[c]; return a.target || (a.target = m), a.target.nodeType === 3 && (a.target = a.target.parentNode), g.filter ? g.filter(a, f) : a; },
special: {
load: { noBubble: !0 }, focus: { trigger() { return this !== _() && this.focus ? (this.focus(), !1) : void 0; }, delegateType: 'focusin' }, blur: { trigger() { return this === _() && this.blur ? (this.blur(), !1) : void 0; }, delegateType: 'focusout' }, click: { trigger() { return this.type === 'checkbox' && this.click && o.nodeName(this, 'input') ? (this.click(), !1) : void 0; }, _default(a) { return o.nodeName(a.target, 'a'); } }, beforeunload: { postDispatch(a) { void 0 !== a.result && (a.originalEvent.returnValue = a.result); } },
},
simulate(a, b, c, d) { const e = o.extend(new o.Event(), c, { type: a, isSimulated: !0, originalEvent: {} }); d ? o.event.trigger(e, null, b) : o.event.dispatch.call(b, e), e.isDefaultPrevented() && c.preventDefault(); },
}, o.removeEvent = function (a, b, c) { a.removeEventListener && a.removeEventListener(b, c, !1); }, o.Event = function (a, b) { return this instanceof o.Event ? (a && a.type ? (this.originalEvent = a, this.type = a.type, this.isDefaultPrevented = a.defaultPrevented || void 0 === a.defaultPrevented && a.getPreventDefault && a.getPreventDefault() ? Z : $) : this.type = a, b && o.extend(this, b), this.timeStamp = a && a.timeStamp || o.now(), void (this[o.expando] = !0)) : new o.Event(a, b); }, o.Event.prototype = {
isDefaultPrevented: $, isPropagationStopped: $, isImmediatePropagationStopped: $, preventDefault() { const a = this.originalEvent; this.isDefaultPrevented = Z, a && a.preventDefault && a.preventDefault(); }, stopPropagation() { const a = this.originalEvent; this.isPropagationStopped = Z, a && a.stopPropagation && a.stopPropagation(); }, stopImmediatePropagation() { this.isImmediatePropagationStopped = Z, this.stopPropagation(); },
}, o.each({ mouseenter: 'mouseover', mouseleave: 'mouseout' }, (a, b) => { o.event.special[a] = { delegateType: b, bindType: b, handle(a) { let c; const d = this; const e = a.relatedTarget; const f = a.handleObj; return (!e || e !== d && !o.contains(d, e)) && (a.type = f.origType, c = f.handler.apply(this, arguments), a.type = b), c; } }; }), l.focusinBubbles || o.each({ focus: 'focusin', blur: 'focusout' }, (a, b) => { const c = function (a) { o.event.simulate(b, a.target, o.event.fix(a), !0); }; o.event.special[b] = { setup() { const d = this.ownerDocument || this; const e = L.access(d, b); e || d.addEventListener(a, c, !0), L.access(d, b, (e || 0) + 1); }, teardown() { const d = this.ownerDocument || this; const e = L.access(d, b) - 1; e ? L.access(d, b, e) : (d.removeEventListener(a, c, !0), L.remove(d, b)); } }; }), o.fn.extend({
on(a, b, c, d, e) { let f; let g; if (typeof a === 'object') { typeof b !== 'string' && (c = c || b, b = void 0); for (g in a) this.on(g, b, c, a[g], e); return this; } if (c == null && d == null ? (d = b, c = b = void 0) : d == null && (typeof b === 'string' ? (d = c, c = void 0) : (d = c, c = b, b = void 0)), d === !1)d = $; else if (!d) return this; return e === 1 && (f = d, d = function (a) { return o().off(a), f.apply(this, arguments); }, d.guid = f.guid || (f.guid = o.guid++)), this.each(function () { o.event.add(this, a, d, c, b); }); }, one(a, b, c, d) { return this.on(a, b, c, d, 1); }, off(a, b, c) { let d; let e; if (a && a.preventDefault && a.handleObj) return d = a.handleObj, o(a.delegateTarget).off(d.namespace ? `${d.origType}.${d.namespace}` : d.origType, d.selector, d.handler), this; if (typeof a === 'object') { for (e in a) this.off(e, b, a[e]); return this; } return (b === !1 || typeof b === 'function') && (c = b, b = void 0), c === !1 && (c = $), this.each(function () { o.event.remove(this, a, c, b); }); }, trigger(a, b) { return this.each(function () { o.event.trigger(a, b, this); }); }, triggerHandler(a, b) { const c = this[0]; return c ? o.event.trigger(a, b, c, !0) : void 0; },
}); const ab = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi; const bb = /<([\w:]+)/; const cb = /<|&#?\w+;/; const db = /<(?:script|style|link)/i; const eb = /checked\s*(?:[^=]|=\s*.checked.)/i; const fb = /^$|\/(?:java|ecma)script/i; const gb = /^true\/(.*)/; const hb = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g; const ib = {
option: [1, "<select multiple='multiple'>", '</select>'], thead: [1, '<table>', '</table>'], col: [2, '<table><colgroup>', '</colgroup></table>'], tr: [2, '<table><tbody>', '</tbody></table>'], td: [3, '<table><tbody><tr>', '</tr></tbody></table>'], _default: [0, '', ''],
}; ib.optgroup = ib.option, ib.tbody = ib.tfoot = ib.colgroup = ib.caption = ib.thead, ib.th = ib.td; function jb(a, b) { return o.nodeName(a, 'table') && o.nodeName(b.nodeType !== 11 ? b : b.firstChild, 'tr') ? a.getElementsByTagName('tbody')[0] || a.appendChild(a.ownerDocument.createElement('tbody')) : a; } function kb(a) { return a.type = `${a.getAttribute('type') !== null}/${a.type}`, a; } function lb(a) { const b = gb.exec(a.type); return b ? a.type = b[1] : a.removeAttribute('type'), a; } function mb(a, b) { for (let c = 0, d = a.length; d > c; c++)L.set(a[c], 'globalEval', !b || L.get(b[c], 'globalEval')); } function nb(a, b) { let c; let d; let e; let f; let g; let h; let i; let j; if (b.nodeType === 1) { if (L.hasData(a) && (f = L.access(a), g = L.set(b, f), j = f.events)) { delete g.handle, g.events = {}; for (e in j) for (c = 0, d = j[e].length; d > c; c++)o.event.add(b, e, j[e][c]); }M.hasData(a) && (h = M.access(a), i = o.extend({}, h), M.set(b, i)); } } function ob(a, b) { const c = a.getElementsByTagName ? a.getElementsByTagName(b || '*') : a.querySelectorAll ? a.querySelectorAll(b || '*') : []; return void 0 === b || b && o.nodeName(a, b) ? o.merge([a], c) : c; } function pb(a, b) { const c = b.nodeName.toLowerCase(); c === 'input' && T.test(a.type) ? b.checked = a.checked : (c === 'input' || c === 'textarea') && (b.defaultValue = a.defaultValue); }o.extend({ clone(a, b, c) { let d; let e; let f; let g; const h = a.cloneNode(!0); const i = o.contains(a.ownerDocument, a); if (!(l.noCloneChecked || a.nodeType !== 1 && a.nodeType !== 11 || o.isXMLDoc(a))) for (g = ob(h), f = ob(a), d = 0, e = f.length; e > d; d++)pb(f[d], g[d]); if (b) if (c) for (f = f || ob(a), g = g || ob(h), d = 0, e = f.length; e > d; d++)nb(f[d], g[d]); else nb(a, h); return g = ob(h, 'script'), g.length > 0 && mb(g, !i && ob(a, 'script')), h; }, buildFragment(a, b, c, d) { for (var e, f, g, h, i, j, k = b.createDocumentFragment(), l = [], m = 0, n = a.length; n > m; m++) if (e = a[m], e || e === 0) if (o.type(e) === 'object')o.merge(l, e.nodeType ? [e] : e); else if (cb.test(e)) { f = f || k.appendChild(b.createElement('div')), g = (bb.exec(e) || ['', ''])[1].toLowerCase(), h = ib[g] || ib._default, f.innerHTML = h[1] + e.replace(ab, '<$1></$2>') + h[2], j = h[0]; while (j--)f = f.lastChild; o.merge(l, f.childNodes), f = k.firstChild, f.textContent = ''; } else l.push(b.createTextNode(e)); k.textContent = '', m = 0; while (e = l[m++]) if ((!d || o.inArray(e, d) === -1) && (i = o.contains(e.ownerDocument, e), f = ob(k.appendChild(e), 'script'), i && mb(f), c)) { j = 0; while (e = f[j++])fb.test(e.type || '') && c.push(e); } return k; }, cleanData(a) { for (var b, c, d, e, f, g, h = o.event.special, i = 0; void 0 !== (c = a[i]); i++) { if (o.acceptData(c) && (f = c[L.expando], f && (b = L.cache[f]))) { if (d = Object.keys(b.events || {}), d.length) for (g = 0; void 0 !== (e = d[g]); g++)h[e] ? o.event.remove(c, e) : o.removeEvent(c, e, b.handle); L.cache[f] && delete L.cache[f]; } delete M.cache[c[M.expando]]; } } }), o.fn.extend({
text(a) { return J(this, function (a) { return void 0 === a ? o.text(this) : this.empty().each(function () { (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) && (this.textContent = a); }); }, null, a, arguments.length); }, append() { return this.domManip(arguments, function (a) { if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) { const b = jb(this, a); b.appendChild(a); } }); }, prepend() { return this.domManip(arguments, function (a) { if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) { const b = jb(this, a); b.insertBefore(a, b.firstChild); } }); }, before() { return this.domManip(arguments, function (a) { this.parentNode && this.parentNode.insertBefore(a, this); }); }, after() { return this.domManip(arguments, function (a) { this.parentNode && this.parentNode.insertBefore(a, this.nextSibling); }); }, remove(a, b) { for (var c, d = a ? o.filter(a, this) : this, e = 0; (c = d[e]) != null; e++)b || c.nodeType !== 1 || o.cleanData(ob(c)), c.parentNode && (b && o.contains(c.ownerDocument, c) && mb(ob(c, 'script')), c.parentNode.removeChild(c)); return this; }, empty() { for (var a, b = 0; (a = this[b]) != null; b++)a.nodeType === 1 && (o.cleanData(ob(a, !1)), a.textContent = ''); return this; }, clone(a, b) { return a = a == null ? !1 : a, b = b == null ? a : b, this.map(function () { return o.clone(this, a, b); }); }, html(a) { return J(this, function (a) { let b = this[0] || {}; let c = 0; const d = this.length; if (void 0 === a && b.nodeType === 1) return b.innerHTML; if (typeof a === 'string' && !db.test(a) && !ib[(bb.exec(a) || ['', ''])[1].toLowerCase()]) { a = a.replace(ab, '<$1></$2>'); try { for (;d > c; c++)b = this[c] || {}, b.nodeType === 1 && (o.cleanData(ob(b, !1)), b.innerHTML = a); b = 0; } catch (e) {} }b && this.empty().append(a); }, null, a, arguments.length); }, replaceWith() { let a = arguments[0]; return this.domManip(arguments, function (b) { a = this.parentNode, o.cleanData(ob(this)), a && a.replaceChild(b, this); }), a && (a.length || a.nodeType) ? this : this.remove(); }, detach(a) { return this.remove(a, !0); }, domManip(a, b) { a = e.apply([], a); let c; let d; let f; let g; let h; let i; let j = 0; const k = this.length; const m = this; const n = k - 1; const p = a[0]; const q = o.isFunction(p); if (q || k > 1 && typeof p === 'string' && !l.checkClone && eb.test(p)) return this.each(function (c) { const d = m.eq(c); q && (a[0] = p.call(this, c, d.html())), d.domManip(a, b); }); if (k && (c = o.buildFragment(a, this[0].ownerDocument, !1, this), d = c.firstChild, c.childNodes.length === 1 && (c = d), d)) { for (f = o.map(ob(c, 'script'), kb), g = f.length; k > j; j++)h = c, j !== n && (h = o.clone(h, !0, !0), g && o.merge(f, ob(h, 'script'))), b.call(this[j], h, j); if (g) for (i = f[f.length - 1].ownerDocument, o.map(f, lb), j = 0; g > j; j++)h = f[j], fb.test(h.type || '') && !L.access(h, 'globalEval') && o.contains(i, h) && (h.src ? o._evalUrl && o._evalUrl(h.src) : o.globalEval(h.textContent.replace(hb, ''))); } return this; },
}), o.each({
appendTo: 'append', prependTo: 'prepend', insertBefore: 'before', insertAfter: 'after', replaceAll: 'replaceWith',
}, (a, b) => { o.fn[a] = function (a) { for (var c, d = [], e = o(a), g = e.length - 1, h = 0; g >= h; h++)c = h === g ? this : this.clone(!0), o(e[h])[b](c), f.apply(d, c.get()); return this.pushStack(d); }; }); let qb; const rb = {}; function sb(b, c) { const d = o(c.createElement(b)).appendTo(c.body); const e = a.getDefaultComputedStyle ? a.getDefaultComputedStyle(d[0]).display : o.css(d[0], 'display'); return d.detach(), e; } function tb(a) { let b = m; let c = rb[a]; return c || (c = sb(a, b), c !== 'none' && c || (qb = (qb || o("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement), b = qb[0].contentDocument, b.write(), b.close(), c = sb(a, b), qb.detach()), rb[a] = c), c; } const ub = /^margin/; const vb = new RegExp(`^(${Q})(?!px)[a-z%]+$`, 'i'); const wb = function (a) { return a.ownerDocument.defaultView.getComputedStyle(a, null); }; function xb(a, b, c) { let d; let e; let f; let g; const h = a.style; return c = c || wb(a), c && (g = c.getPropertyValue(b) || c[b]), c && (g !== '' || o.contains(a.ownerDocument, a) || (g = o.style(a, b)), vb.test(g) && ub.test(b) && (d = h.width, e = h.minWidth, f = h.maxWidth, h.minWidth = h.maxWidth = h.width = g, g = c.width, h.width = d, h.minWidth = e, h.maxWidth = f)), void 0 !== g ? `${g}` : g; } function yb(a, b) { return { get() { return a() ? void delete this.get : (this.get = b).apply(this, arguments); } }; }!(function () { let b; let c; const d = 'padding:0;margin:0;border:0;display:block;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box'; const e = m.documentElement; const f = m.createElement('div'); const g = m.createElement('div'); g.style.backgroundClip = 'content-box', g.cloneNode(!0).style.backgroundClip = '', l.clearCloneStyle = g.style.backgroundClip === 'content-box', f.style.cssText = 'border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px', f.appendChild(g); function h() { g.style.cssText = '-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%', e.appendChild(f); const d = a.getComputedStyle(g, null); b = d.top !== '1%', c = d.width === '4px', e.removeChild(f); }a.getComputedStyle && o.extend(l, { pixelPosition() { return h(), b; }, boxSizingReliable() { return c == null && h(), c; }, reliableMarginRight() { let b; const c = g.appendChild(m.createElement('div')); return c.style.cssText = g.style.cssText = d, c.style.marginRight = c.style.width = '0', g.style.width = '1px', e.appendChild(f), b = !parseFloat(a.getComputedStyle(c, null).marginRight), e.removeChild(f), g.innerHTML = '', b; } }); }()), o.swap = function (a, b, c, d) { let e; let f; const g = {}; for (f in b)g[f] = a.style[f], a.style[f] = b[f]; e = c.apply(a, d || []); for (f in b)a.style[f] = g[f]; return e; }; const zb = /^(none|table(?!-c[ea]).+)/; const Ab = new RegExp(`^(${Q})(.*)$`, 'i'); const Bb = new RegExp(`^([+-])=(${Q})`, 'i'); const Cb = { position: 'absolute', visibility: 'hidden', display: 'block' }; const Db = { letterSpacing: 0, fontWeight: 400 }; const Eb = ['Webkit', 'O', 'Moz', 'ms']; function Fb(a, b) { if (b in a) return b; const c = b[0].toUpperCase() + b.slice(1); const d = b; let e = Eb.length; while (e--) if (b = Eb[e] + c, b in a) return b; return d; } function Gb(a, b, c) { const d = Ab.exec(b); return d ? Math.max(0, d[1] - (c || 0)) + (d[2] || 'px') : b; } function Hb(a, b, c, d, e) { for (var f = c === (d ? 'border' : 'content') ? 4 : b === 'width' ? 1 : 0, g = 0; f < 4; f += 2)c === 'margin' && (g += o.css(a, c + R[f], !0, e)), d ? (c === 'content' && (g -= o.css(a, `padding${R[f]}`, !0, e)), c !== 'margin' && (g -= o.css(a, `border${R[f]}Width`, !0, e))) : (g += o.css(a, `padding${R[f]}`, !0, e), c !== 'padding' && (g += o.css(a, `border${R[f]}Width`, !0, e))); return g; } function Ib(a, b, c) { let d = !0; let e = b === 'width' ? a.offsetWidth : a.offsetHeight; const f = wb(a); const g = o.css(a, 'boxSizing', !1, f) === 'border-box'; if (e <= 0 || e == null) { if (e = xb(a, b, f), (e < 0 || e == null) && (e = a.style[b]), vb.test(e)) return e; d = g && (l.boxSizingReliable() || e === a.style[b]), e = parseFloat(e) || 0; } return `${e + Hb(a, b, c || (g ? 'border' : 'content'), d, f)}px`; } function Jb(a, b) { for (var c, d, e, f = [], g = 0, h = a.length; h > g; g++)d = a[g], d.style && (f[g] = L.get(d, 'olddisplay'), c = d.style.display, b ? (f[g] || c !== 'none' || (d.style.display = ''), d.style.display === '' && S(d) && (f[g] = L.access(d, 'olddisplay', tb(d.nodeName)))) : f[g] || (e = S(d), (c && c !== 'none' || !e) && L.set(d, 'olddisplay', e ? c : o.css(d, 'display')))); for (g = 0; h > g; g++)d = a[g], d.style && (b && d.style.display !== 'none' && d.style.display !== '' || (d.style.display = b ? f[g] || '' : 'none')); return a; }o.extend({
cssHooks: { opacity: { get(a, b) { if (b) { const c = xb(a, 'opacity'); return c === '' ? '1' : c; } } } },
cssNumber: {
columnCount: !0, fillOpacity: !0, fontWeight: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, widows: !0, zIndex: !0, zoom: !0,
},
cssProps: { float: 'cssFloat' },
style(a, b, c, d) { if (a && a.nodeType !== 3 && a.nodeType !== 8 && a.style) { let e; let f; let g; const h = o.camelCase(b); const i = a.style; return b = o.cssProps[h] || (o.cssProps[h] = Fb(i, h)), g = o.cssHooks[b] || o.cssHooks[h], void 0 === c ? g && 'get' in g && void 0 !== (e = g.get(a, !1, d)) ? e : i[b] : (f = typeof c, f === 'string' && (e = Bb.exec(c)) && (c = (e[1] + 1) * e[2] + parseFloat(o.css(a, b)), f = 'number'), c != null && c === c && (f !== 'number' || o.cssNumber[h] || (c += 'px'), l.clearCloneStyle || c !== '' || b.indexOf('background') !== 0 || (i[b] = 'inherit'), g && 'set' in g && void 0 === (c = g.set(a, c, d)) || (i[b] = '', i[b] = c)), void 0); } },
css(a, b, c, d) { let e; let f; let g; const h = o.camelCase(b); return b = o.cssProps[h] || (o.cssProps[h] = Fb(a.style, h)), g = o.cssHooks[b] || o.cssHooks[h], g && 'get' in g && (e = g.get(a, !0, c)), void 0 === e && (e = xb(a, b, d)), e === 'normal' && b in Db && (e = Db[b]), c === '' || c ? (f = parseFloat(e), c === !0 || o.isNumeric(f) ? f || 0 : e) : e; },
}), o.each(['height', 'width'], (a, b) => { o.cssHooks[b] = { get(a, c, d) { return c ? a.offsetWidth === 0 && zb.test(o.css(a, 'display')) ? o.swap(a, Cb, () => Ib(a, b, d)) : Ib(a, b, d) : void 0; }, set(a, c, d) { const e = d && wb(a); return Gb(a, c, d ? Hb(a, b, d, o.css(a, 'boxSizing', !1, e) === 'border-box', e) : 0); } }; }), o.cssHooks.marginRight = yb(l.reliableMarginRight, (a, b) => (b ? o.swap(a, { display: 'inline-block' }, xb, [a, 'marginRight']) : void 0)), o.each({ margin: '', padding: '', border: 'Width' }, (a, b) => { o.cssHooks[a + b] = { expand(c) { for (var d = 0, e = {}, f = typeof c === 'string' ? c.split(' ') : [c]; d < 4; d++)e[a + R[d] + b] = f[d] || f[d - 2] || f[0]; return e; } }, ub.test(a) || (o.cssHooks[a + b].set = Gb); }), o.fn.extend({
css(a, b) { return J(this, (a, b, c) => { let d; let e; const f = {}; let g = 0; if (o.isArray(b)) { for (d = wb(a), e = b.length; e > g; g++)f[b[g]] = o.css(a, b[g], !1, d); return f; } return void 0 !== c ? o.style(a, b, c) : o.css(a, b); }, a, b, arguments.length > 1); }, show() { return Jb(this, !0); }, hide() { return Jb(this); }, toggle(a) { return typeof a === 'boolean' ? a ? this.show() : this.hide() : this.each(function () { S(this) ? o(this).show() : o(this).hide(); }); },
}); function Kb(a, b, c, d, e) { return new Kb.prototype.init(a, b, c, d, e); }o.Tween = Kb, Kb.prototype = {
constructor: Kb, init(a, b, c, d, e, f) { this.elem = a, this.prop = c, this.easing = e || 'swing', this.options = b, this.start = this.now = this.cur(), this.end = d, this.unit = f || (o.cssNumber[c] ? '' : 'px'); }, cur() { const a = Kb.propHooks[this.prop]; return a && a.get ? a.get(this) : Kb.propHooks._default.get(this); }, run(a) { let b; const c = Kb.propHooks[this.prop]; return this.pos = b = this.options.duration ? o.easing[this.easing](a, this.options.duration * a, 0, 1, this.options.duration) : 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) : Kb.propHooks._default.set(this), this; },
}, Kb.prototype.init.prototype = Kb.prototype, Kb.propHooks = { _default: { get(a) { let b; return a.elem[a.prop] == null || a.elem.style && a.elem.style[a.prop] != null ? (b = o.css(a.elem, a.prop, ''), b && b !== 'auto' ? b : 0) : a.elem[a.prop]; }, set(a) { o.fx.step[a.prop] ? o.fx.step[a.prop](a) : a.elem.style && (a.elem.style[o.cssProps[a.prop]] != null || o.cssHooks[a.prop]) ? o.style(a.elem, a.prop, a.now + a.unit) : a.elem[a.prop] = a.now; } } }, Kb.propHooks.scrollTop = Kb.propHooks.scrollLeft = { set(a) { a.elem.nodeType && a.elem.parentNode && (a.elem[a.prop] = a.now); } }, o.easing = { linear(a) { return a; }, swing(a) { return 0.5 - Math.cos(a * Math.PI) / 2; } }, o.fx = Kb.prototype.init, o.fx.step = {}; let Lb; let Mb; const Nb = /^(?:toggle|show|hide)$/; const Ob = new RegExp(`^(?:([+-])=|)(${Q})([a-z%]*)$`, 'i'); const Pb = /queueHooks$/; const Qb = [Vb]; const Rb = { '*': [function (a, b) { const c = this.createTween(a, b); const d = c.cur(); let e = Ob.exec(b); let f = e && e[3] || (o.cssNumber[a] ? '' : 'px'); let g = (o.cssNumber[a] || f !== 'px' && +d) && Ob.exec(o.css(c.elem, a)); let h = 1; let i = 20; if (g && g[3] !== f) { f = f || g[3], e = e || [], g = +d || 1; do h = h || '.5', g /= h, o.style(c.elem, a, g + f); while (h !== (h = c.cur() / d) && h !== 1 && --i); } return e && (g = c.start = +g || +d || 0, c.unit = f, c.end = e[1] ? g + (e[1] + 1) * e[2] : +e[2]), c; }] }; function Sb() { return setTimeout(() => { Lb = void 0; }), Lb = o.now(); } function Tb(a, b) { let c; let d = 0; const e = { height: a }; for (b = b ? 1 : 0; d < 4; d += 2 - b)c = R[d], e[`margin${c}`] = e[`padding${c}`] = a; return b && (e.opacity = e.width = a), e; } function Ub(a, b, c) { for (var d, e = (Rb[b] || []).concat(Rb['*']), f = 0, g = e.length; g > f; f++) if (d = e[f].call(c, b, a)) return d; } function Vb(a, b, c) { let d; let e; let f; let g; let h; let i; let j; const k = this; const l = {}; const m = a.style; let n = a.nodeType && S(a); let p = L.get(a, 'fxshow'); c.queue || (h = o._queueHooks(a, 'fx'), h.unqueued == null && (h.unqueued = 0, i = h.empty.fire, h.empty.fire = function () { h.unqueued || i(); }), h.unqueued++, k.always(() => { k.always(() => { h.unqueued--, o.queue(a, 'fx').length || h.empty.fire(); }); })), a.nodeType === 1 && ('height' in b || 'width' in b) && (c.overflow = [m.overflow, m.overflowX, m.overflowY], j = o.css(a, 'display'), j === 'none' && (j = tb(a.nodeName)), j === 'inline' && o.css(a, 'float') === 'none' && (m.display = 'inline-block')), c.overflow && (m.overflow = 'hidden', k.always(() => { m.overflow = c.overflow[0], m.overflowX = c.overflow[1], m.overflowY = c.overflow[2]; })); for (d in b) if (e = b[d], Nb.exec(e)) { if (delete b[d], f = f || e === 'toggle', e === (n ? 'hide' : 'show')) { if (e !== 'show' || !p || void 0 === p[d]) continue; n = !0; }l[d] = p && p[d] || o.style(a, d); } if (!o.isEmptyObject(l)) { p ? 'hidden' in p && (n = p.hidden) : p = L.access(a, 'fxshow', {}), f && (p.hidden = !n), n ? o(a).show() : k.done(() => { o(a).hide(); }), k.done(() => { let b; L.remove(a, 'fxshow'); for (b in l)o.style(a, b, l[b]); }); for (d in l)g = Ub(n ? p[d] : 0, d, k), d in p || (p[d] = g.start, n && (g.end = g.start, g.start = d === 'width' || d === 'height' ? 1 : 0)); } } function Wb(a, b) { let c; let d; let e; let f; let g; for (c in a) if (d = o.camelCase(c), e = b[d], f = a[c], o.isArray(f) && (e = f[1], f = a[c] = f[0]), c !== d && (a[d] = f, delete a[c]), g = o.cssHooks[d], g && 'expand' in g) { f = g.expand(f), delete a[d]; for (c in f)c in a || (a[c] = f[c], b[c] = e); } else b[d] = e; } function Xb(a, b, c) {
let d; let e; let f = 0; const g = Qb.length; const h = o.Deferred().always(() => { delete i.elem; }); var i = function () { if (e) return !1; for (var b = Lb || Sb(), c = Math.max(0, j.startTime + j.duration - b), d = c / j.duration || 0, f = 1 - d, g = 0, i = j.tweens.length; i > g; g++)j.tweens[g].run(f); return h.notifyWith(a, [j, f, c]), f < 1 && i ? c : (h.resolveWith(a, [j]), !1); }; var j = h.promise({
elem: a, props: o.extend({}, b), opts: o.extend(!0, { specialEasing: {} }, c), originalProperties: b, originalOptions: c, startTime: Lb || Sb(), duration: c.duration, tweens: [], createTween(b, c) { const d = o.Tween(a, j.opts, b, c, j.opts.specialEasing[b] || j.opts.easing); return j.tweens.push(d), d; }, stop(b) { let c = 0; const d = b ? j.tweens.length : 0; if (e) return this; for (e = !0; d > c; c++)j.tweens[c].run(1); return b ? h.resolveWith(a, [j, b]) : h.rejectWith(a, [j, b]), this; },
}); const k = j.props; for (Wb(k, j.opts.specialEasing); g > f; f++) if (d = Qb[f].call(j, a, k, j.opts)) return d; return o.map(k, Ub, j), o.isFunction(j.opts.start) && j.opts.start.call(a, j), o.fx.timer(o.extend(i, { elem: a, anim: j, queue: j.opts.queue })), j.progress(j.opts.progress).done(j.opts.done, j.opts.complete).fail(j.opts.fail).always(j.opts.always);
}o.Animation = o.extend(Xb, { tweener(a, b) { o.isFunction(a) ? (b = a, a = ['*']) : a = a.split(' '); for (var c, d = 0, e = a.length; e > d; d++)c = a[d], Rb[c] = Rb[c] || [], Rb[c].unshift(b); }, prefilter(a, b) { b ? Qb.unshift(a) : Qb.push(a); } }), o.speed = function (a, b, c) { const d = a && typeof a === 'object' ? o.extend({}, a) : { complete: c || !c && b || o.isFunction(a) && a, duration: a, easing: c && b || b && !o.isFunction(b) && b }; return d.duration = o.fx.off ? 0 : typeof d.duration === 'number' ? d.duration : d.duration in o.fx.speeds ? o.fx.speeds[d.duration] : o.fx.speeds._default, (d.queue == null || d.queue === !0) && (d.queue = 'fx'), d.old = d.complete, d.complete = function () { o.isFunction(d.old) && d.old.call(this), d.queue && o.dequeue(this, d.queue); }, d; }, o.fn.extend({
fadeTo(a, b, c, d) {
return this.filter(S).css('opacity', 0).show().end()
.animate({ opacity: b }, a, c, d);
},
animate(a, b, c, d) { const e = o.isEmptyObject(a); const f = o.speed(b, c, d); const g = function () { const b = Xb(this, o.extend({}, a), f); (e || L.get(this, 'finish')) && b.stop(!0); }; return g.finish = g, e || f.queue === !1 ? this.each(g) : this.queue(f.queue, g); },
stop(a, b, c) { const d = function (a) { const b = a.stop; delete a.stop, b(c); }; return typeof a !== 'string' && (c = b, b = a, a = void 0), b && a !== !1 && this.queue(a || 'fx', []), this.each(function () { let b = !0; let e = a != null && `${a}queueHooks`; const f = o.timers; const g = L.get(this); if (e)g[e] && g[e].stop && d(g[e]); else for (e in g)g[e] && g[e].stop && Pb.test(e) && d(g[e]); for (e = f.length; e--;)f[e].elem !== this || a != null && f[e].queue !== a || (f[e].anim.stop(c), b = !1, f.splice(e, 1)); (b || !c) && o.dequeue(this, a); }); },
finish(a) { return a !== !1 && (a = a || 'fx'), this.each(function () { let b; const c = L.get(this); const d = c[`${a}queue`]; const e = c[`${a}queueHooks`]; const f = o.timers; const g = d ? d.length : 0; for (c.finish = !0, o.queue(this, a, []), e && e.stop && e.stop.call(this, !0), b = f.length; b--;)f[b].elem === this && f[b].queue === a && (f[b].anim.stop(!0), f.splice(b, 1)); for (b = 0; g > b; b++)d[b] && d[b].finish && d[b].finish.call(this); delete c.finish; }); },
}), o.each(['toggle', 'show', 'hide'], (a, b) => { const c = o.fn[b]; o.fn[b] = function (a, d, e) { return a == null || typeof a === 'boolean' ? c.apply(this, arguments) : this.animate(Tb(b, !0), a, d, e); }; }), o.each({
slideDown: Tb('show'), slideUp: Tb('hide'), slideToggle: Tb('toggle'), fadeIn: { opacity: 'show' }, fadeOut: { opacity: 'hide' }, fadeToggle: { opacity: 'toggle' },
}, (a, b) => { o.fn[a] = function (a, c, d) { return this.animate(b, a, c, d); }; }), o.timers = [], o.fx.tick = function () { let a; let b = 0; const c = o.timers; for (Lb = o.now(); b < c.length; b++)a = c[b], a() || c[b] !== a || c.splice(b--, 1); c.length || o.fx.stop(), Lb = void 0; }, o.fx.timer = function (a) { o.timers.push(a), a() ? o.fx.start() : o.timers.pop(); }, o.fx.interval = 13, o.fx.start = function () { Mb || (Mb = setInterval(o.fx.tick, o.fx.interval)); }, o.fx.stop = function () { clearInterval(Mb), Mb = null; }, o.fx.speeds = { slow: 600, fast: 200, _default: 400 }, o.fn.delay = function (a, b) { return a = o.fx ? o.fx.speeds[a] || a : a, b = b || 'fx', this.queue(b, (b, c) => { const d = setTimeout(b, a); c.stop = function () { clearTimeout(d); }; }); }, (function () { let a = m.createElement('input'); const b = m.createElement('select'); const c = b.appendChild(m.createElement('option')); a.type = 'checkbox', l.checkOn = a.value !== '', l.optSelected = c.selected, b.disabled = !0, l.optDisabled = !c.disabled, a = m.createElement('input'), a.value = 't', a.type = 'radio', l.radioValue = a.value === 't'; }()); let Yb; let Zb; const $b = o.expr.attrHandle; o.fn.extend({ attr(a, b) { return J(this, o.attr, a, b, arguments.length > 1); }, removeAttr(a) { return this.each(function () { o.removeAttr(this, a); }); } }), o.extend({ attr(a, b, c) { let d; let e; const f = a.nodeType; if (a && f !== 3 && f !== 8 && f !== 2) return typeof a.getAttribute === U ? o.prop(a, b, c) : (f === 1 && o.isXMLDoc(a) || (b = b.toLowerCase(), d = o.attrHooks[b] || (o.expr.match.bool.test(b) ? Zb : Yb)), void 0 === c ? d && 'get' in d && (e = d.get(a, b)) !== null ? e : (e = o.find.attr(a, b), e == null ? void 0 : e) : c !== null ? d && 'set' in d && void 0 !== (e = d.set(a, c, b)) ? e : (a.setAttribute(b, `${c}`), c) : void o.removeAttr(a, b)); }, removeAttr(a, b) { let c; let d; let e = 0; const f = b && b.match(E); if (f && a.nodeType === 1) while (c = f[e++])d = o.propFix[c] || c, o.expr.match.bool.test(c) && (a[d] = !1), a.removeAttribute(c); }, attrHooks: { type: { set(a, b) { if (!l.radioValue && b === 'radio' && o.nodeName(a, 'input')) { const c = a.value; return a.setAttribute('type', b), c && (a.value = c), b; } } } } }), Zb = { set(a, b, c) { return b === !1 ? o.removeAttr(a, c) : a.setAttribute(c, c), c; } }, o.each(o.expr.match.bool.source.match(/\w+/g), (a, b) => {
const c = $b[b] || o.find.attr; $b[b] = function (a, b, d) {
let e; let f;
return d || (f = $b[b], $b[b] = e, e = c(a, b, d) != null ? b.toLowerCase() : null, $b[b] = f), e;
};
}); const _b = /^(?:input|select|textarea|button)$/i; o.fn.extend({ prop(a, b) { return J(this, o.prop, a, b, arguments.length > 1); }, removeProp(a) { return this.each(function () { delete this[o.propFix[a] || a]; }); } }), o.extend({ propFix: { for: 'htmlFor', class: 'className' }, prop(a, b, c) { let d; let e; let f; const g = a.nodeType; if (a && g !== 3 && g !== 8 && g !== 2) return f = g !== 1 || !o.isXMLDoc(a), f && (b = o.propFix[b] || b, e = o.propHooks[b]), void 0 !== c ? e && 'set' in e && void 0 !== (d = e.set(a, c, b)) ? d : a[b] = c : e && 'get' in e && (d = e.get(a, b)) !== null ? d : a[b]; }, propHooks: { tabIndex: { get(a) { return a.hasAttribute('tabindex') || _b.test(a.nodeName) || a.href ? a.tabIndex : -1; } } } }), l.optSelected || (o.propHooks.selected = { get(a) { const b = a.parentNode; return b && b.parentNode && b.parentNode.selectedIndex, null; } }), o.each(['tabIndex', 'readOnly', 'maxLength', 'cellSpacing', 'cellPadding', 'rowSpan', 'colSpan', 'useMap', 'frameBorder', 'contentEditable'], function () { o.propFix[this.toLowerCase()] = this; }); const ac = /[\t\r\n\f]/g; o.fn.extend({
addClass(a) { let b; let c; let d; let e; let f; let g; const h = typeof a === 'string' && a; let i = 0; const j = this.length; if (o.isFunction(a)) return this.each(function (b) { o(this).addClass(a.call(this, b, this.className)); }); if (h) for (b = (a || '').match(E) || []; j > i; i++) if (c = this[i], d = c.nodeType === 1 && (c.className ? (` ${c.className} `).replace(ac, ' ') : ' ')) { f = 0; while (e = b[f++])d.indexOf(` ${e} `) < 0 && (d += `${e} `); g = o.trim(d), c.className !== g && (c.className = g); } return this; }, removeClass(a) { let b; let c; let d; let e; let f; let g; const h = arguments.length === 0 || typeof a === 'string' && a; let i = 0; const j = this.length; if (o.isFunction(a)) return this.each(function (b) { o(this).removeClass(a.call(this, b, this.className)); }); if (h) for (b = (a || '').match(E) || []; j > i; i++) if (c = this[i], d = c.nodeType === 1 && (c.className ? (` ${c.className} `).replace(ac, ' ') : '')) { f = 0; while (e = b[f++]) while (d.indexOf(` ${e} `) >= 0)d = d.replace(` ${e} `, ' '); g = a ? o.trim(d) : '', c.className !== g && (c.className = g); } return this; }, toggleClass(a, b) { const c = typeof a; return typeof b === 'boolean' && c === 'string' ? b ? this.addClass(a) : this.removeClass(a) : this.each(o.isFunction(a) ? function (c) { o(this).toggleClass(a.call(this, c, this.className, b), b); } : function () { if (c === 'string') { let b; let d = 0; const e = o(this); const f = a.match(E) || []; while (b = f[d++])e.hasClass(b) ? e.removeClass(b) : e.addClass(b); } else (c === U || c === 'boolean') && (this.className && L.set(this, '__className__', this.className), this.className = this.className || a === !1 ? '' : L.get(this, '__className__') || ''); }); }, hasClass(a) { for (let b = ` ${a} `, c = 0, d = this.length; d > c; c++) if (this[c].nodeType === 1 && (` ${this[c].className} `).replace(ac, ' ').indexOf(b) >= 0) return !0; return !1; },
}); const bc = /\r/g; o.fn.extend({ val(a) { let b; let c; let d; const e = this[0]; { if (arguments.length) return d = o.isFunction(a), this.each(function (c) { let e; this.nodeType === 1 && (e = d ? a.call(this, c, o(this).val()) : a, e == null ? e = '' : typeof e === 'number' ? e += '' : o.isArray(e) && (e = o.map(e, (a) => (a == null ? '' : `${a}`))), b = o.valHooks[this.type] || o.valHooks[this.nodeName.toLowerCase()], b && 'set' in b && void 0 !== b.set(this, e, 'value') || (this.value = e)); }); if (e) return b = o.valHooks[e.type] || o.valHooks[e.nodeName.toLowerCase()], b && 'get' in b && void 0 !== (c = b.get(e, 'value')) ? c : (c = e.value, typeof c === 'string' ? c.replace(bc, '') : c == null ? '' : c); } } }), o.extend({ valHooks: { select: { get(a) { for (var b, c, d = a.options, e = a.selectedIndex, f = a.type === 'select-one' || e < 0, g = f ? null : [], h = f ? e + 1 : d.length, i = e < 0 ? h : f ? e : 0; h > i; i++) if (c = d[i], !(!c.selected && i !== e || (l.optDisabled ? c.disabled : c.getAttribute('disabled') !== null) || c.parentNode.disabled && o.nodeName(c.parentNode, 'optgroup'))) { if (b = o(c).val(), f) return b; g.push(b); } return g; }, set(a, b) { let c; let d; const e = a.options; const f = o.makeArray(b); let g = e.length; while (g--)d = e[g], (d.selected = o.inArray(o(d).val(), f) >= 0) && (c = !0); return c || (a.selectedIndex = -1), f; } } } }), o.each(['radio', 'checkbox'], function () { o.valHooks[this] = { set(a, b) { return o.isArray(b) ? a.checked = o.inArray(o(a).val(), b) >= 0 : void 0; } }, l.checkOn || (o.valHooks[this].get = function (a) { return a.getAttribute('value') === null ? 'on' : a.value; }); }), o.each('blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu'.split(' '), (a, b) => { o.fn[b] = function (a, c) { return arguments.length > 0 ? this.on(b, null, a, c) : this.trigger(b); }; }), o.fn.extend({
hover(a, b) { return this.mouseenter(a).mouseleave(b || a); }, bind(a, b, c) { return this.on(a, null, b, c); }, unbind(a, b) { return this.off(a, null, b); }, delegate(a, b, c, d) { return this.on(b, a, c, d); }, undelegate(a, b, c) { return arguments.length === 1 ? this.off(a, '**') : this.off(b, a || '**', c); },
}); let cc = o.now(); const dc = /\?/; o.parseJSON = function (a) { return JSON.parse(`${a}`); }, o.parseXML = function (a) { let b; let c; if (!a || typeof a !== 'string') return null; try { c = new DOMParser(), b = c.parseFromString(a, 'text/xml'); } catch (d) { b = void 0; } return (!b || b.getElementsByTagName('parsererror').length) && o.error(`Invalid XML: ${a}`), b; }; let ec; let fc; const gc = /#.*$/; const hc = /([?&])_=[^&]*/; const ic = /^(.*?):[ \t]*([^\r\n]*)$/gm; const jc = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/; const kc = /^(?:GET|HEAD)$/; const lc = /^\/\//; const mc = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/; const nc = {}; const oc = {}; const pc = '*/'.concat('*'); try { fc = location.href; } catch (qc) { fc = m.createElement('a'), fc.href = '', fc = fc.href; }ec = mc.exec(fc.toLowerCase()) || []; function rc(a) { return function (b, c) { typeof b !== 'string' && (c = b, b = '*'); let d; let e = 0; const f = b.toLowerCase().match(E) || []; if (o.isFunction(c)) while (d = f[e++])d[0] === '+' ? (d = d.slice(1) || '*', (a[d] = a[d] || []).unshift(c)) : (a[d] = a[d] || []).push(c); }; } function sc(a, b, c, d) { const e = {}; const f = a === oc; function g(h) { let i; return e[h] = !0, o.each(a[h] || [], (a, h) => { const j = h(b, c, d); return typeof j !== 'string' || f || e[j] ? f ? !(i = j) : void 0 : (b.dataTypes.unshift(j), g(j), !1); }), i; } return g(b.dataTypes[0]) || !e['*'] && g('*'); } function tc(a, b) { let c; let d; const e = o.ajaxSettings.flatOptions || {}; for (c in b) void 0 !== b[c] && ((e[c] ? a : d || (d = {}))[c] = b[c]); return d && o.extend(!0, a, d), a; } function uc(a, b, c) { let d; let e; let f; let g; const h = a.contents; const i = a.dataTypes; while (i[0] === '*')i.shift(), void 0 === d && (d = a.mimeType || b.getResponseHeader('Content-Type')); if (d) for (e in h) if (h[e] && h[e].test(d)) { i.unshift(e); break; } if (i[0] in c)f = i[0]; else { for (e in c) { if (!i[0] || a.converters[`${e} ${i[0]}`]) { f = e; break; }g || (g = e); }f = f || g; } return f ? (f !== i[0] && i.unshift(f), c[f]) : void 0; } function vc(a, b, c, d) { let e; let f; let g; let h; let i; const j = {}; const k = a.dataTypes.slice(); if (k[1]) for (g in a.converters)j[g.toLowerCase()] = a.converters[g]; f = k.shift(); while (f) if (a.responseFields[f] && (c[a.responseFields[f]] = b), !i && d && a.dataFilter && (b = a.dataFilter(b, a.dataType)), i = f, f = k.shift()) if (f === '*')f = i; else if (i !== '*' && i !== f) { if (g = j[`${i} ${f}`] || j[`* ${f}`], !g) for (e in j) if (h = e.split(' '), h[1] === f && (g = j[`${i} ${h[0]}`] || j[`* ${h[0]}`])) { g === !0 ? g = j[e] : j[e] !== !0 && (f = h[0], k.unshift(h[1])); break; } if (g !== !0) if (g && a.throws)b = g(b); else try { b = g(b); } catch (l) { return { state: 'parsererror', error: g ? l : `No conversion from ${i} to ${f}` }; } } return { state: 'success', data: b }; }o.extend({
active: 0,
lastModified: {},
etag: {},
ajaxSettings: {
url: fc,
type: 'GET',
isLocal: jc.test(ec[1]),
global: !0,
processData: !0,
async: !0,
contentType: 'application/x-www-form-urlencoded; charset=UTF-8',
accepts: {
'*': pc, text: 'text/plain', html: 'text/html', xml: 'application/xml, text/xml', json: 'application/json, text/javascript',
},
contents: { xml: /xml/, html: /html/, json: /json/ },
responseFields: { xml: 'responseXML', text: 'responseText', json: 'responseJSON' },
converters: {
'* text': String, 'text html': !0, 'text json': o.parseJSON, 'text xml': o.parseXML,
},
flatOptions: { url: !0, context: !0 },
},
ajaxSetup(a, b) { return b ? tc(tc(a, o.ajaxSettings), b) : tc(o.ajaxSettings, a); },
ajaxPrefilter: rc(nc),
ajaxTransport: rc(oc),
ajax(a, b) {
typeof a === 'object' && (b = a, a = void 0), b = b || {}; let c; let d; let e; let f; let g; let h; let i; let j; const k = o.ajaxSetup({}, b); const l = k.context || k; const m = k.context && (l.nodeType || l.jquery) ? o(l) : o.event; const n = o.Deferred(); const p = o.Callbacks('once memory'); let q = k.statusCode || {}; const r = {}; const s = {}; let t = 0; let u = 'canceled'; var v = {
readyState: 0, getResponseHeader(a) { let b; if (t === 2) { if (!f) { f = {}; while (b = ic.exec(e))f[b[1].toLowerCase()] = b[2]; }b = f[a.toLowerCase()]; } return b == null ? null : b; }, getAllResponseHeaders() { return t === 2 ? e : null; }, setRequestHeader(a, b) { const c = a.toLowerCase(); return t || (a = s[c] = s[c] || a, r[a] = b), this; }, overrideMimeType(a) { return t || (k.mimeType = a), this; }, statusCode(a) { let b; if (a) if (t < 2) for (b in a)q[b] = [q[b], a[b]]; else v.always(a[v.status]); return this; }, abort(a) { const b = a || u; return c && c.abort(b), x(0, b), this; },
}; if (n.promise(v).complete = p.add, v.success = v.done, v.error = v.fail, k.url = (`${a || k.url || fc}`).replace(gc, '').replace(lc, `${ec[1]}//`), k.type = b.method || b.type || k.method || k.type, k.dataTypes = o.trim(k.dataType || '*').toLowerCase().match(E) || [''], k.crossDomain == null && (h = mc.exec(k.url.toLowerCase()), k.crossDomain = !(!h || h[1] === ec[1] && h[2] === ec[2] && (h[3] || (h[1] === 'http:' ? '80' : '443')) === (ec[3] || (ec[1] === 'http:' ? '80' : '443')))), k.data && k.processData && typeof k.data !== 'string' && (k.data = o.param(k.data, k.traditional)), sc(nc, k, b, v), t === 2) return v; i = k.global, i && o.active++ === 0 && o.event.trigger('ajaxStart'), k.type = k.type.toUpperCase(), k.hasContent = !kc.test(k.type), d = k.url, k.hasContent || (k.data && (d = k.url += (dc.test(d) ? '&' : '?') + k.data, delete k.data), k.cache === !1 && (k.url = hc.test(d) ? d.replace(hc, `$1_=${cc++}`) : `${d + (dc.test(d) ? '&' : '?')}_=${cc++}`)), k.ifModified && (o.lastModified[d] && v.setRequestHeader('If-Modified-Since', o.lastModified[d]), o.etag[d] && v.setRequestHeader('If-None-Match', o.etag[d])), (k.data && k.hasContent && k.contentType !== !1 || b.contentType) && v.setRequestHeader('Content-Type', k.contentType), v.setRequestHeader('Accept', k.dataTypes[0] && k.accepts[k.dataTypes[0]] ? k.accepts[k.dataTypes[0]] + (k.dataTypes[0] !== '*' ? `, ${pc}; q=0.01` : '') : k.accepts['*']); for (j in k.headers)v.setRequestHeader(j, k.headers[j]); if (k.beforeSend && (k.beforeSend.call(l, v, k) === !1 || t === 2)) return v.abort(); u = 'abort'; for (j in { success: 1, error: 1, complete: 1 })v[j](k[j]); if (c = sc(oc, k, b, v)) { v.readyState = 1, i && m.trigger('ajaxSend', [v, k]), k.async && k.timeout > 0 && (g = setTimeout(() => { v.abort('timeout'); }, k.timeout)); try { t = 1, c.send(r, x); } catch (w) { if (!(t < 2)) throw w; x(-1, w); } } else x(-1, 'No Transport'); function x(a, b, f, h) { let j; let r; let s; let u; let w; let x = b; t !== 2 && (t = 2, g && clearTimeout(g), c = void 0, e = h || '', v.readyState = a > 0 ? 4 : 0, j = a >= 200 && a < 300 || a === 304, f && (u = uc(k, v, f)), u = vc(k, u, v, j), j ? (k.ifModified && (w = v.getResponseHeader('Last-Modified'), w && (o.lastModified[d] = w), w = v.getResponseHeader('etag'), w && (o.etag[d] = w)), a === 204 || k.type === 'HEAD' ? x = 'nocontent' : a === 304 ? x = 'notmodified' : (x = u.state, r = u.data, s = u.error, j = !s)) : (s = x, (a || !x) && (x = 'error', a < 0 && (a = 0))), v.status = a, v.statusText = `${b || x}`, j ? n.resolveWith(l, [r, x, v]) : n.rejectWith(l, [v, x, s]), v.statusCode(q), q = void 0, i && m.trigger(j ? 'ajaxSuccess' : 'ajaxError', [v, k, j ? r : s]), p.fireWith(l, [v, x]), i && (m.trigger('ajaxComplete', [v, k]), --o.active || o.event.trigger('ajaxStop'))); } return v;
},
getJSON(a, b, c) { return o.get(a, b, c, 'json'); },
getScript(a, b) { return o.get(a, void 0, b, 'script'); },
}), o.each(['get', 'post'], (a, b) => {
o[b] = function (a, c, d, e) {
return o.isFunction(c) && (e = e || d, d = c, c = void 0), o.ajax({
url: a, type: b, dataType: e, data: c, success: d,
});
};
}), o.each(['ajaxStart', 'ajaxStop', 'ajaxComplete', 'ajaxError', 'ajaxSuccess', 'ajaxSend'], (a, b) => { o.fn[b] = function (a) { return this.on(b, a); }; }), o._evalUrl = function (a) {
return o.ajax({
url: a, type: 'GET', dataType: 'script', async: !1, global: !1, throws: !0,
});
}, o.fn.extend({
wrapAll(a) { let b; return o.isFunction(a) ? this.each(function (b) { o(this).wrapAll(a.call(this, b)); }) : (this[0] && (b = o(a, this[0].ownerDocument).eq(0).clone(!0), this[0].parentNode && b.insertBefore(this[0]), b.map(function () { let a = this; while (a.firstElementChild)a = a.firstElementChild; return a; }).append(this)), this); }, wrapInner(a) { return this.each(o.isFunction(a) ? function (b) { o(this).wrapInner(a.call(this, b)); } : function () { const b = o(this); const c = b.contents(); c.length ? c.wrapAll(a) : b.append(a); }); }, wrap(a) { const b = o.isFunction(a); return this.each(function (c) { o(this).wrapAll(b ? a.call(this, c) : a); }); }, unwrap() { return this.parent().each(function () { o.nodeName(this, 'body') || o(this).replaceWith(this.childNodes); }).end(); },
}), o.expr.filters.hidden = function (a) { return a.offsetWidth <= 0 && a.offsetHeight <= 0; }, o.expr.filters.visible = function (a) { return !o.expr.filters.hidden(a); }; const wc = /%20/g; const xc = /\[\]$/; const yc = /\r?\n/g; const zc = /^(?:submit|button|image|reset|file)$/i; const Ac = /^(?:input|select|textarea|keygen)/i; function Bc(a, b, c, d) { let e; if (o.isArray(b))o.each(b, (b, e) => { c || xc.test(a) ? d(a, e) : Bc(`${a}[${typeof e === 'object' ? b : ''}]`, e, c, d); }); else if (c || o.type(b) !== 'object')d(a, b); else for (e in b)Bc(`${a}[${e}]`, b[e], c, d); }o.param = function (a, b) { let c; const d = []; const e = function (a, b) { b = o.isFunction(b) ? b() : b == null ? '' : b, d[d.length] = `${encodeURIComponent(a)}=${encodeURIComponent(b)}`; }; if (void 0 === b && (b = o.ajaxSettings && o.ajaxSettings.traditional), o.isArray(a) || a.jquery && !o.isPlainObject(a))o.each(a, function () { e(this.name, this.value); }); else for (c in a)Bc(c, a[c], b, e); return d.join('&').replace(wc, '+'); }, o.fn.extend({ serialize() { return o.param(this.serializeArray()); }, serializeArray() { return this.map(function () { const a = o.prop(this, 'elements'); return a ? o.makeArray(a) : this; }).filter(function () { const a = this.type; return this.name && !o(this).is(':disabled') && Ac.test(this.nodeName) && !zc.test(a) && (this.checked || !T.test(a)); }).map(function (a, b) { const c = o(this).val(); return c == null ? null : o.isArray(c) ? o.map(c, (a) => ({ name: b.name, value: a.replace(yc, '\r\n') })) : { name: b.name, value: c.replace(yc, '\r\n') }; }).get(); } }), o.ajaxSettings.xhr = function () { try { return new XMLHttpRequest(); } catch (a) {} }; let Cc = 0; const Dc = {}; const Ec = { 0: 200, 1223: 204 }; let Fc = o.ajaxSettings.xhr(); a.ActiveXObject && o(a).on('unload', () => { for (const a in Dc)Dc[a](); }), l.cors = !!Fc && 'withCredentials' in Fc, l.ajax = Fc = !!Fc, o.ajaxTransport((a) => { let b; return l.cors || Fc && !a.crossDomain ? { send(c, d) { let e; const f = a.xhr(); const g = ++Cc; if (f.open(a.type, a.url, a.async, a.username, a.password), a.xhrFields) for (e in a.xhrFields)f[e] = a.xhrFields[e]; a.mimeType && f.overrideMimeType && f.overrideMimeType(a.mimeType), a.crossDomain || c['X-Requested-With'] || (c['X-Requested-With'] = 'XMLHttpRequest'); for (e in c)f.setRequestHeader(e, c[e]); b = function (a) { return function () { b && (delete Dc[g], b = f.onload = f.onerror = null, a === 'abort' ? f.abort() : a === 'error' ? d(f.status, f.statusText) : d(Ec[f.status] || f.status, f.statusText, typeof f.responseText === 'string' ? { text: f.responseText } : void 0, f.getAllResponseHeaders())); }; }, f.onload = b(), f.onerror = b('error'), b = Dc[g] = b('abort'), f.send(a.hasContent && a.data || null); }, abort() { b && b(); } } : void 0; }), o.ajaxSetup({ accepts: { script: 'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript' }, contents: { script: /(?:java|ecma)script/ }, converters: { 'text script': function (a) { return o.globalEval(a), a; } } }), o.ajaxPrefilter('script', (a) => { void 0 === a.cache && (a.cache = !1), a.crossDomain && (a.type = 'GET'); }), o.ajaxTransport('script', (a) => { if (a.crossDomain) { let b; let c; return { send(d, e) { b = o('<script>').prop({ async: !0, charset: a.scriptCharset, src: a.url }).on('load error', c = function (a) { b.remove(), c = null, a && e(a.type === 'error' ? 404 : 200, a.type); }), m.head.appendChild(b[0]); }, abort() { c && c(); } }; } }); const Gc = []; const Hc = /(=)\?(?=&|$)|\?\?/; o.ajaxSetup({ jsonp: 'callback', jsonpCallback() { const a = Gc.pop() || `${o.expando}_${cc++}`; return this[a] = !0, a; } }), o.ajaxPrefilter('json jsonp', (b, c, d) => { let e; let f; let g; const h = b.jsonp !== !1 && (Hc.test(b.url) ? 'url' : typeof b.data === 'string' && !(b.contentType || '').indexOf('application/x-www-form-urlencoded') && Hc.test(b.data) && 'data'); return h || b.dataTypes[0] === 'jsonp' ? (e = b.jsonpCallback = o.isFunction(b.jsonpCallback) ? b.jsonpCallback() : b.jsonpCallback, h ? b[h] = b[h].replace(Hc, `$1${e}`) : b.jsonp !== !1 && (b.url += `${(dc.test(b.url) ? '&' : '?') + b.jsonp}=${e}`), b.converters['script json'] = function () { return g || o.error(`${e} was not called`), g[0]; }, b.dataTypes[0] = 'json', f = a[e], a[e] = function () { g = arguments; }, d.always(() => { a[e] = f, b[e] && (b.jsonpCallback = c.jsonpCallback, Gc.push(e)), g && o.isFunction(f) && f(g[0]), g = f = void 0; }), 'script') : void 0; }), o.parseHTML = function (a, b, c) { if (!a || typeof a !== 'string') return null; typeof b === 'boolean' && (c = b, b = !1), b = b || m; let d = v.exec(a); const e = !c && []; return d ? [b.createElement(d[1])] : (d = o.buildFragment([a], b, e), e && e.length && o(e).remove(), o.merge([], d.childNodes)); }; const Ic = o.fn.load; o.fn.load = function (a, b, c) {
if (typeof a !== 'string' && Ic) return Ic.apply(this, arguments); let d; let e; let f; const g = this; const h = a.indexOf(' '); return h >= 0 && (d = a.slice(h), a = a.slice(0, h)), o.isFunction(b) ? (c = b, b = void 0) : b && typeof b === 'object' && (e = 'POST'), g.length > 0 && o.ajax({
url: a, type: e, dataType: 'html', data: b,
}).done(function (a) { f = arguments, g.html(d ? o('<div>').append(o.parseHTML(a)).find(d) : a); }).complete(c && ((a, b) => { g.each(c, f || [a.responseText, b, a]); })), this;
}, o.expr.filters.animated = function (a) { return o.grep(o.timers, (b) => a === b.elem).length; }; const Jc = a.document.documentElement; function Kc(a) { return o.isWindow(a) ? a : a.nodeType === 9 && a.defaultView; }o.offset = { setOffset(a, b, c) { let d; let e; let f; let g; let h; let i; let j; const k = o.css(a, 'position'); const l = o(a); const m = {}; k === 'static' && (a.style.position = 'relative'), h = l.offset(), f = o.css(a, 'top'), i = o.css(a, 'left'), j = (k === 'absolute' || k === 'fixed') && (f + i).indexOf('auto') > -1, j ? (d = l.position(), g = d.top, e = d.left) : (g = parseFloat(f) || 0, e = parseFloat(i) || 0), o.isFunction(b) && (b = b.call(a, c, h)), b.top != null && (m.top = b.top - h.top + g), b.left != null && (m.left = b.left - h.left + e), 'using' in b ? b.using.call(a, m) : l.css(m); } }, o.fn.extend({ offset(a) { if (arguments.length) return void 0 === a ? this : this.each(function (b) { o.offset.setOffset(this, a, b); }); let b; let c; const d = this[0]; let e = { top: 0, left: 0 }; const f = d && d.ownerDocument; if (f) return b = f.documentElement, o.contains(b, d) ? (typeof d.getBoundingClientRect !== U && (e = d.getBoundingClientRect()), c = Kc(f), { top: e.top + c.pageYOffset - b.clientTop, left: e.left + c.pageXOffset - b.clientLeft }) : e; }, position() { if (this[0]) { let a; let b; const c = this[0]; let d = { top: 0, left: 0 }; return o.css(c, 'position') === 'fixed' ? b = c.getBoundingClientRect() : (a = this.offsetParent(), b = this.offset(), o.nodeName(a[0], 'html') || (d = a.offset()), d.top += o.css(a[0], 'borderTopWidth', !0), d.left += o.css(a[0], 'borderLeftWidth', !0)), { top: b.top - d.top - o.css(c, 'marginTop', !0), left: b.left - d.left - o.css(c, 'marginLeft', !0) }; } }, offsetParent() { return this.map(function () { let a = this.offsetParent || Jc; while (a && !o.nodeName(a, 'html') && o.css(a, 'position') === 'static')a = a.offsetParent; return a || Jc; }); } }), o.each({ scrollLeft: 'pageXOffset', scrollTop: 'pageYOffset' }, (b, c) => { const d = c === 'pageYOffset'; o.fn[b] = function (e) { return J(this, (b, e, f) => { const g = Kc(b); return void 0 === f ? g ? g[c] : b[e] : void (g ? g.scrollTo(d ? a.pageXOffset : f, d ? f : a.pageYOffset) : b[e] = f); }, b, e, arguments.length, null); }; }), o.each(['top', 'left'], (a, b) => { o.cssHooks[b] = yb(l.pixelPosition, (a, c) => (c ? (c = xb(a, b), vb.test(c) ? `${o(a).position()[b]}px` : c) : void 0)); }), o.each({ Height: 'height', Width: 'width' }, (a, b) => { o.each({ padding: `inner${a}`, content: b, '': `outer${a}` }, (c, d) => { o.fn[d] = function (d, e) { const f = arguments.length && (c || typeof d !== 'boolean'); const g = c || (d === !0 || e === !0 ? 'margin' : 'border'); return J(this, (b, c, d) => { let e; return o.isWindow(b) ? b.document.documentElement[`client${a}`] : b.nodeType === 9 ? (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 ? o.css(b, c, g) : o.style(b, c, d, g); }, b, f ? d : void 0, f, null); }; }); }), o.fn.size = function () { return this.length; }, o.fn.andSelf = o.fn.addBack, typeof define === 'function' && define.amd && define('jquery', [], () => o); const Lc = a.jQuery; const Mc = a.$; return o.noConflict = function (b) { return a.$ === o && (a.$ = Mc), b && a.jQuery === o && (a.jQuery = Lc), o; }, typeof b === U && (a.jQuery = a.$ = o), o;
}));