@iqworksai/common-components 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -27
- package/README.md +513 -398
- package/dist/.gitkeep +3 -3
- package/dist/assets/style-C92vHVlQ.css +1 -0
- package/dist/components/DbSchemaBrowser/index.d.ts.map +1 -1
- package/dist/components/FileBrowser/index.d.ts.map +1 -1
- package/dist/components/Logos/index.d.ts +30 -0
- package/dist/components/Logos/index.d.ts.map +1 -0
- package/dist/index-CTcT_r8P.cjs +159 -0
- package/dist/{index-DP9UJxKj.mjs → index-D5bh8vfG.js} +1 -1
- package/dist/{index-C8WFq_Oa.mjs → index-Wp7zHdHm.js} +10042 -9977
- package/dist/{index-B5LtRiCc.js → index-z3URHOIw.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +78 -75
- package/dist/jquery-B3k-KdWY.js +3641 -0
- package/dist/jquery-DkYZhXT6.cjs +13 -0
- package/dist/{jstree-4Yq5ootY.js → jstree-B3NPxTf-.cjs} +3 -3
- package/dist/{jstree-CHYWwh_2.mjs → jstree-Be7CGFxz.js} +13 -13
- package/package.json +130 -129
- package/dist/index-CEYAqBxa.js +0 -159
- package/dist/jquery-C4l3p_gF.js +0 -13
- package/dist/jquery-CXp5_bMd.js +0 -1
- package/dist/jquery-CZKSOerm.mjs +0 -3622
- package/dist/jquery-CwXVlshf.mjs +0 -26
- package/dist/style.css +0 -1
package/dist/jquery-CZKSOerm.mjs
DELETED
|
@@ -1,3622 +0,0 @@
|
|
|
1
|
-
import { c as Fr } from "./index-C8WFq_Oa.mjs";
|
|
2
|
-
var Mt = { exports: {} };
|
|
3
|
-
/*!
|
|
4
|
-
* jQuery JavaScript Library v3.7.1
|
|
5
|
-
* https://jquery.com/
|
|
6
|
-
*
|
|
7
|
-
* Copyright OpenJS Foundation and other contributors
|
|
8
|
-
* Released under the MIT license
|
|
9
|
-
* https://jquery.org/license
|
|
10
|
-
*
|
|
11
|
-
* Date: 2023-08-28T13:37Z
|
|
12
|
-
*/
|
|
13
|
-
var jn;
|
|
14
|
-
function Br() {
|
|
15
|
-
return jn || (jn = 1, function(qn) {
|
|
16
|
-
(function(j, Je) {
|
|
17
|
-
qn.exports = j.document ? Je(j, !0) : function(U) {
|
|
18
|
-
if (!U.document)
|
|
19
|
-
throw new Error("jQuery requires a window with a document");
|
|
20
|
-
return Je(U);
|
|
21
|
-
};
|
|
22
|
-
})(typeof window < "u" ? window : Fr, function(j, Je) {
|
|
23
|
-
var U = [], Rt = Object.getPrototypeOf, Z = U.slice, It = U.flat ? function(e) {
|
|
24
|
-
return U.flat.call(e);
|
|
25
|
-
} : function(e) {
|
|
26
|
-
return U.concat.apply([], e);
|
|
27
|
-
}, Ke = U.push, de = U.indexOf, Ze = {}, _t = Ze.toString, Ie = Ze.hasOwnProperty, Wt = Ie.toString, Ln = Wt.call(Object), q = {}, L = function(t) {
|
|
28
|
-
return typeof t == "function" && typeof t.nodeType != "number" && typeof t.item != "function";
|
|
29
|
-
}, Ae = function(t) {
|
|
30
|
-
return t != null && t === t.window;
|
|
31
|
-
}, k = j.document, Hn = {
|
|
32
|
-
type: !0,
|
|
33
|
-
src: !0,
|
|
34
|
-
nonce: !0,
|
|
35
|
-
noModule: !0
|
|
36
|
-
};
|
|
37
|
-
function Ft(e, t, n) {
|
|
38
|
-
n = n || k;
|
|
39
|
-
var r, o, u = n.createElement("script");
|
|
40
|
-
if (u.text = e, t)
|
|
41
|
-
for (r in Hn)
|
|
42
|
-
o = t[r] || t.getAttribute && t.getAttribute(r), o && u.setAttribute(r, o);
|
|
43
|
-
n.head.appendChild(u).parentNode.removeChild(u);
|
|
44
|
-
}
|
|
45
|
-
function De(e) {
|
|
46
|
-
return e == null ? e + "" : typeof e == "object" || typeof e == "function" ? Ze[_t.call(e)] || "object" : typeof e;
|
|
47
|
-
}
|
|
48
|
-
var $t = "3.7.1", On = /HTML$/i, i = function(e, t) {
|
|
49
|
-
return new i.fn.init(e, t);
|
|
50
|
-
};
|
|
51
|
-
i.fn = i.prototype = {
|
|
52
|
-
// The current version of jQuery being used
|
|
53
|
-
jquery: $t,
|
|
54
|
-
constructor: i,
|
|
55
|
-
// The default length of a jQuery object is 0
|
|
56
|
-
length: 0,
|
|
57
|
-
toArray: function() {
|
|
58
|
-
return Z.call(this);
|
|
59
|
-
},
|
|
60
|
-
// Get the Nth element in the matched element set OR
|
|
61
|
-
// Get the whole matched element set as a clean array
|
|
62
|
-
get: function(e) {
|
|
63
|
-
return e == null ? Z.call(this) : e < 0 ? this[e + this.length] : this[e];
|
|
64
|
-
},
|
|
65
|
-
// Take an array of elements and push it onto the stack
|
|
66
|
-
// (returning the new matched element set)
|
|
67
|
-
pushStack: function(e) {
|
|
68
|
-
var t = i.merge(this.constructor(), e);
|
|
69
|
-
return t.prevObject = this, t;
|
|
70
|
-
},
|
|
71
|
-
// Execute a callback for every element in the matched set.
|
|
72
|
-
each: function(e) {
|
|
73
|
-
return i.each(this, e);
|
|
74
|
-
},
|
|
75
|
-
map: function(e) {
|
|
76
|
-
return this.pushStack(i.map(this, function(t, n) {
|
|
77
|
-
return e.call(t, n, t);
|
|
78
|
-
}));
|
|
79
|
-
},
|
|
80
|
-
slice: function() {
|
|
81
|
-
return this.pushStack(Z.apply(this, arguments));
|
|
82
|
-
},
|
|
83
|
-
first: function() {
|
|
84
|
-
return this.eq(0);
|
|
85
|
-
},
|
|
86
|
-
last: function() {
|
|
87
|
-
return this.eq(-1);
|
|
88
|
-
},
|
|
89
|
-
even: function() {
|
|
90
|
-
return this.pushStack(i.grep(this, function(e, t) {
|
|
91
|
-
return (t + 1) % 2;
|
|
92
|
-
}));
|
|
93
|
-
},
|
|
94
|
-
odd: function() {
|
|
95
|
-
return this.pushStack(i.grep(this, function(e, t) {
|
|
96
|
-
return t % 2;
|
|
97
|
-
}));
|
|
98
|
-
},
|
|
99
|
-
eq: function(e) {
|
|
100
|
-
var t = this.length, n = +e + (e < 0 ? t : 0);
|
|
101
|
-
return this.pushStack(n >= 0 && n < t ? [this[n]] : []);
|
|
102
|
-
},
|
|
103
|
-
end: function() {
|
|
104
|
-
return this.prevObject || this.constructor();
|
|
105
|
-
},
|
|
106
|
-
// For internal use only.
|
|
107
|
-
// Behaves like an Array's method, not like a jQuery method.
|
|
108
|
-
push: Ke,
|
|
109
|
-
sort: U.sort,
|
|
110
|
-
splice: U.splice
|
|
111
|
-
}, i.extend = i.fn.extend = function() {
|
|
112
|
-
var e, t, n, r, o, u, a = arguments[0] || {}, c = 1, f = arguments.length, d = !1;
|
|
113
|
-
for (typeof a == "boolean" && (d = a, a = arguments[c] || {}, c++), typeof a != "object" && !L(a) && (a = {}), c === f && (a = this, c--); c < f; c++)
|
|
114
|
-
if ((e = arguments[c]) != null)
|
|
115
|
-
for (t in e)
|
|
116
|
-
r = e[t], !(t === "__proto__" || a === r) && (d && r && (i.isPlainObject(r) || (o = Array.isArray(r))) ? (n = a[t], o && !Array.isArray(n) ? u = [] : !o && !i.isPlainObject(n) ? u = {} : u = n, o = !1, a[t] = i.extend(d, u, r)) : r !== void 0 && (a[t] = r));
|
|
117
|
-
return a;
|
|
118
|
-
}, i.extend({
|
|
119
|
-
// Unique for each copy of jQuery on the page
|
|
120
|
-
expando: "jQuery" + ($t + Math.random()).replace(/\D/g, ""),
|
|
121
|
-
// Assume jQuery is ready without the ready module
|
|
122
|
-
isReady: !0,
|
|
123
|
-
error: function(e) {
|
|
124
|
-
throw new Error(e);
|
|
125
|
-
},
|
|
126
|
-
noop: function() {
|
|
127
|
-
},
|
|
128
|
-
isPlainObject: function(e) {
|
|
129
|
-
var t, n;
|
|
130
|
-
return !e || _t.call(e) !== "[object Object]" ? !1 : (t = Rt(e), t ? (n = Ie.call(t, "constructor") && t.constructor, typeof n == "function" && Wt.call(n) === Ln) : !0);
|
|
131
|
-
},
|
|
132
|
-
isEmptyObject: function(e) {
|
|
133
|
-
var t;
|
|
134
|
-
for (t in e)
|
|
135
|
-
return !1;
|
|
136
|
-
return !0;
|
|
137
|
-
},
|
|
138
|
-
// Evaluates a script in a provided context; falls back to the global one
|
|
139
|
-
// if not specified.
|
|
140
|
-
globalEval: function(e, t, n) {
|
|
141
|
-
Ft(e, { nonce: t && t.nonce }, n);
|
|
142
|
-
},
|
|
143
|
-
each: function(e, t) {
|
|
144
|
-
var n, r = 0;
|
|
145
|
-
if (lt(e))
|
|
146
|
-
for (n = e.length; r < n && t.call(e[r], r, e[r]) !== !1; r++)
|
|
147
|
-
;
|
|
148
|
-
else
|
|
149
|
-
for (r in e)
|
|
150
|
-
if (t.call(e[r], r, e[r]) === !1)
|
|
151
|
-
break;
|
|
152
|
-
return e;
|
|
153
|
-
},
|
|
154
|
-
// Retrieve the text value of an array of DOM nodes
|
|
155
|
-
text: function(e) {
|
|
156
|
-
var t, n = "", r = 0, o = e.nodeType;
|
|
157
|
-
if (!o)
|
|
158
|
-
for (; t = e[r++]; )
|
|
159
|
-
n += i.text(t);
|
|
160
|
-
return o === 1 || o === 11 ? e.textContent : o === 9 ? e.documentElement.textContent : o === 3 || o === 4 ? e.nodeValue : n;
|
|
161
|
-
},
|
|
162
|
-
// results is for internal usage only
|
|
163
|
-
makeArray: function(e, t) {
|
|
164
|
-
var n = t || [];
|
|
165
|
-
return e != null && (lt(Object(e)) ? i.merge(
|
|
166
|
-
n,
|
|
167
|
-
typeof e == "string" ? [e] : e
|
|
168
|
-
) : Ke.call(n, e)), n;
|
|
169
|
-
},
|
|
170
|
-
inArray: function(e, t, n) {
|
|
171
|
-
return t == null ? -1 : de.call(t, e, n);
|
|
172
|
-
},
|
|
173
|
-
isXMLDoc: function(e) {
|
|
174
|
-
var t = e && e.namespaceURI, n = e && (e.ownerDocument || e).documentElement;
|
|
175
|
-
return !On.test(t || n && n.nodeName || "HTML");
|
|
176
|
-
},
|
|
177
|
-
// Support: Android <=4.0 only, PhantomJS 1 only
|
|
178
|
-
// push.apply(_, arraylike) throws on ancient WebKit
|
|
179
|
-
merge: function(e, t) {
|
|
180
|
-
for (var n = +t.length, r = 0, o = e.length; r < n; r++)
|
|
181
|
-
e[o++] = t[r];
|
|
182
|
-
return e.length = o, e;
|
|
183
|
-
},
|
|
184
|
-
grep: function(e, t, n) {
|
|
185
|
-
for (var r, o = [], u = 0, a = e.length, c = !n; u < a; u++)
|
|
186
|
-
r = !t(e[u], u), r !== c && o.push(e[u]);
|
|
187
|
-
return o;
|
|
188
|
-
},
|
|
189
|
-
// arg is for internal usage only
|
|
190
|
-
map: function(e, t, n) {
|
|
191
|
-
var r, o, u = 0, a = [];
|
|
192
|
-
if (lt(e))
|
|
193
|
-
for (r = e.length; u < r; u++)
|
|
194
|
-
o = t(e[u], u, n), o != null && a.push(o);
|
|
195
|
-
else
|
|
196
|
-
for (u in e)
|
|
197
|
-
o = t(e[u], u, n), o != null && a.push(o);
|
|
198
|
-
return It(a);
|
|
199
|
-
},
|
|
200
|
-
// A global GUID counter for objects
|
|
201
|
-
guid: 1,
|
|
202
|
-
// jQuery.support is not used in Core but other projects attach their
|
|
203
|
-
// properties to it so it needs to exist.
|
|
204
|
-
support: q
|
|
205
|
-
}), typeof Symbol == "function" && (i.fn[Symbol.iterator] = U[Symbol.iterator]), i.each(
|
|
206
|
-
"Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),
|
|
207
|
-
function(e, t) {
|
|
208
|
-
Ze["[object " + t + "]"] = t.toLowerCase();
|
|
209
|
-
}
|
|
210
|
-
);
|
|
211
|
-
function lt(e) {
|
|
212
|
-
var t = !!e && "length" in e && e.length, n = De(e);
|
|
213
|
-
return L(e) || Ae(e) ? !1 : n === "array" || t === 0 || typeof t == "number" && t > 0 && t - 1 in e;
|
|
214
|
-
}
|
|
215
|
-
function $(e, t) {
|
|
216
|
-
return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase();
|
|
217
|
-
}
|
|
218
|
-
var Pn = U.pop, Mn = U.sort, Rn = U.splice, W = "[\\x20\\t\\r\\n\\f]", _e = new RegExp(
|
|
219
|
-
"^" + W + "+|((?:^|[^\\\\])(?:\\\\.)*)" + W + "+$",
|
|
220
|
-
"g"
|
|
221
|
-
);
|
|
222
|
-
i.contains = function(e, t) {
|
|
223
|
-
var n = t && t.parentNode;
|
|
224
|
-
return e === n || !!(n && n.nodeType === 1 && // Support: IE 9 - 11+
|
|
225
|
-
// IE doesn't have `contains` on SVG.
|
|
226
|
-
(e.contains ? e.contains(n) : e.compareDocumentPosition && e.compareDocumentPosition(n) & 16));
|
|
227
|
-
};
|
|
228
|
-
var In = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;
|
|
229
|
-
function _n(e, t) {
|
|
230
|
-
return t ? e === "\0" ? "�" : e.slice(0, -1) + "\\" + e.charCodeAt(e.length - 1).toString(16) + " " : "\\" + e;
|
|
231
|
-
}
|
|
232
|
-
i.escapeSelector = function(e) {
|
|
233
|
-
return (e + "").replace(In, _n);
|
|
234
|
-
};
|
|
235
|
-
var pe = k, dt = Ke;
|
|
236
|
-
(function() {
|
|
237
|
-
var e, t, n, r, o, u = dt, a, c, f, d, y, b = i.expando, h = 0, x = 0, D = at(), R = at(), H = at(), V = at(), z = function(s, l) {
|
|
238
|
-
return s === l && (o = !0), 0;
|
|
239
|
-
}, ae = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", se = "(?:\\\\[\\da-fA-F]{1,6}" + W + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", M = "\\[" + W + "*(" + se + ")(?:" + W + // Operator (capture 2)
|
|
240
|
-
"*([*^$|!~]?=)" + W + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
|
|
241
|
-
`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + se + "))|)" + W + "*\\]", Se = ":(" + se + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` + M + ")*)|.*)\\)|)", I = new RegExp(W + "+", "g"), B = new RegExp("^" + W + "*," + W + "*"), Ge = new RegExp("^" + W + "*([>+~]|" + W + ")" + W + "*"), kt = new RegExp(W + "|>"), fe = new RegExp(Se), Qe = new RegExp("^" + se + "$"), ce = {
|
|
242
|
-
ID: new RegExp("^#(" + se + ")"),
|
|
243
|
-
CLASS: new RegExp("^\\.(" + se + ")"),
|
|
244
|
-
TAG: new RegExp("^(" + se + "|[*])"),
|
|
245
|
-
ATTR: new RegExp("^" + M),
|
|
246
|
-
PSEUDO: new RegExp("^" + Se),
|
|
247
|
-
CHILD: new RegExp(
|
|
248
|
-
"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + W + "*(even|odd|(([+-]|)(\\d*)n|)" + W + "*(?:([+-]|)" + W + "*(\\d+)|))" + W + "*\\)|)",
|
|
249
|
-
"i"
|
|
250
|
-
),
|
|
251
|
-
bool: new RegExp("^(?:" + ae + ")$", "i"),
|
|
252
|
-
// For use in libraries implementing .is()
|
|
253
|
-
// We use this for POS matching in `select`
|
|
254
|
-
needsContext: new RegExp("^" + W + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + W + "*((?:-\\d)?\\d*)" + W + "*\\)|)(?=[^-]|$)", "i")
|
|
255
|
-
}, be = /^(?:input|select|textarea|button)$/i, xe = /^h\d$/i, te = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, jt = /[+~]/, ye = new RegExp("\\\\[\\da-fA-F]{1,6}" + W + "?|\\\\([^\\r\\n\\f])", "g"), ve = function(s, l) {
|
|
256
|
-
var p = "0x" + s.slice(1) - 65536;
|
|
257
|
-
return l || (p < 0 ? String.fromCharCode(p + 65536) : String.fromCharCode(p >> 10 | 55296, p & 1023 | 56320));
|
|
258
|
-
}, Or = function() {
|
|
259
|
-
me();
|
|
260
|
-
}, Pr = ft(
|
|
261
|
-
function(s) {
|
|
262
|
-
return s.disabled === !0 && $(s, "fieldset");
|
|
263
|
-
},
|
|
264
|
-
{ dir: "parentNode", next: "legend" }
|
|
265
|
-
);
|
|
266
|
-
function Mr() {
|
|
267
|
-
try {
|
|
268
|
-
return a.activeElement;
|
|
269
|
-
} catch {
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
try {
|
|
273
|
-
u.apply(
|
|
274
|
-
U = Z.call(pe.childNodes),
|
|
275
|
-
pe.childNodes
|
|
276
|
-
), U[pe.childNodes.length].nodeType;
|
|
277
|
-
} catch {
|
|
278
|
-
u = {
|
|
279
|
-
apply: function(l, p) {
|
|
280
|
-
dt.apply(l, Z.call(p));
|
|
281
|
-
},
|
|
282
|
-
call: function(l) {
|
|
283
|
-
dt.apply(l, Z.call(arguments, 1));
|
|
284
|
-
}
|
|
285
|
-
};
|
|
286
|
-
}
|
|
287
|
-
function _(s, l, p, g) {
|
|
288
|
-
var v, m, T, w, C, O, A, N = l && l.ownerDocument, P = l ? l.nodeType : 9;
|
|
289
|
-
if (p = p || [], typeof s != "string" || !s || P !== 1 && P !== 9 && P !== 11)
|
|
290
|
-
return p;
|
|
291
|
-
if (!g && (me(l), l = l || a, f)) {
|
|
292
|
-
if (P !== 11 && (C = te.exec(s)))
|
|
293
|
-
if (v = C[1]) {
|
|
294
|
-
if (P === 9)
|
|
295
|
-
if (T = l.getElementById(v)) {
|
|
296
|
-
if (T.id === v)
|
|
297
|
-
return u.call(p, T), p;
|
|
298
|
-
} else
|
|
299
|
-
return p;
|
|
300
|
-
else if (N && (T = N.getElementById(v)) && _.contains(l, T) && T.id === v)
|
|
301
|
-
return u.call(p, T), p;
|
|
302
|
-
} else {
|
|
303
|
-
if (C[2])
|
|
304
|
-
return u.apply(p, l.getElementsByTagName(s)), p;
|
|
305
|
-
if ((v = C[3]) && l.getElementsByClassName)
|
|
306
|
-
return u.apply(p, l.getElementsByClassName(v)), p;
|
|
307
|
-
}
|
|
308
|
-
if (!V[s + " "] && (!d || !d.test(s))) {
|
|
309
|
-
if (A = s, N = l, P === 1 && (kt.test(s) || Ge.test(s))) {
|
|
310
|
-
for (N = jt.test(s) && qt(l.parentNode) || l, (N != l || !q.scope) && ((w = l.getAttribute("id")) ? w = i.escapeSelector(w) : l.setAttribute("id", w = b)), O = Ye(s), m = O.length; m--; )
|
|
311
|
-
O[m] = (w ? "#" + w : ":scope") + " " + st(O[m]);
|
|
312
|
-
A = O.join(",");
|
|
313
|
-
}
|
|
314
|
-
try {
|
|
315
|
-
return u.apply(
|
|
316
|
-
p,
|
|
317
|
-
N.querySelectorAll(A)
|
|
318
|
-
), p;
|
|
319
|
-
} catch {
|
|
320
|
-
V(s, !0);
|
|
321
|
-
} finally {
|
|
322
|
-
w === b && l.removeAttribute("id");
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
return kn(s.replace(_e, "$1"), l, p, g);
|
|
327
|
-
}
|
|
328
|
-
function at() {
|
|
329
|
-
var s = [];
|
|
330
|
-
function l(p, g) {
|
|
331
|
-
return s.push(p + " ") > t.cacheLength && delete l[s.shift()], l[p + " "] = g;
|
|
332
|
-
}
|
|
333
|
-
return l;
|
|
334
|
-
}
|
|
335
|
-
function ie(s) {
|
|
336
|
-
return s[b] = !0, s;
|
|
337
|
-
}
|
|
338
|
-
function Me(s) {
|
|
339
|
-
var l = a.createElement("fieldset");
|
|
340
|
-
try {
|
|
341
|
-
return !!s(l);
|
|
342
|
-
} catch {
|
|
343
|
-
return !1;
|
|
344
|
-
} finally {
|
|
345
|
-
l.parentNode && l.parentNode.removeChild(l), l = null;
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
function Rr(s) {
|
|
349
|
-
return function(l) {
|
|
350
|
-
return $(l, "input") && l.type === s;
|
|
351
|
-
};
|
|
352
|
-
}
|
|
353
|
-
function Ir(s) {
|
|
354
|
-
return function(l) {
|
|
355
|
-
return ($(l, "input") || $(l, "button")) && l.type === s;
|
|
356
|
-
};
|
|
357
|
-
}
|
|
358
|
-
function Dn(s) {
|
|
359
|
-
return function(l) {
|
|
360
|
-
return "form" in l ? l.parentNode && l.disabled === !1 ? "label" in l ? "label" in l.parentNode ? l.parentNode.disabled === s : l.disabled === s : l.isDisabled === s || // Where there is no isDisabled, check manually
|
|
361
|
-
l.isDisabled !== !s && Pr(l) === s : l.disabled === s : "label" in l ? l.disabled === s : !1;
|
|
362
|
-
};
|
|
363
|
-
}
|
|
364
|
-
function Ee(s) {
|
|
365
|
-
return ie(function(l) {
|
|
366
|
-
return l = +l, ie(function(p, g) {
|
|
367
|
-
for (var v, m = s([], p.length, l), T = m.length; T--; )
|
|
368
|
-
p[v = m[T]] && (p[v] = !(g[v] = p[v]));
|
|
369
|
-
});
|
|
370
|
-
});
|
|
371
|
-
}
|
|
372
|
-
function qt(s) {
|
|
373
|
-
return s && typeof s.getElementsByTagName < "u" && s;
|
|
374
|
-
}
|
|
375
|
-
function me(s) {
|
|
376
|
-
var l, p = s ? s.ownerDocument || s : pe;
|
|
377
|
-
return p == a || p.nodeType !== 9 || !p.documentElement || (a = p, c = a.documentElement, f = !i.isXMLDoc(a), y = c.matches || c.webkitMatchesSelector || c.msMatchesSelector, c.msMatchesSelector && // Support: IE 11+, Edge 17 - 18+
|
|
378
|
-
// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
|
|
379
|
-
// two documents; shallow comparisons work.
|
|
380
|
-
// eslint-disable-next-line eqeqeq
|
|
381
|
-
pe != a && (l = a.defaultView) && l.top !== l && l.addEventListener("unload", Or), q.getById = Me(function(g) {
|
|
382
|
-
return c.appendChild(g).id = i.expando, !a.getElementsByName || !a.getElementsByName(i.expando).length;
|
|
383
|
-
}), q.disconnectedMatch = Me(function(g) {
|
|
384
|
-
return y.call(g, "*");
|
|
385
|
-
}), q.scope = Me(function() {
|
|
386
|
-
return a.querySelectorAll(":scope");
|
|
387
|
-
}), q.cssHas = Me(function() {
|
|
388
|
-
try {
|
|
389
|
-
return a.querySelector(":has(*,:jqfake)"), !1;
|
|
390
|
-
} catch {
|
|
391
|
-
return !0;
|
|
392
|
-
}
|
|
393
|
-
}), q.getById ? (t.filter.ID = function(g) {
|
|
394
|
-
var v = g.replace(ye, ve);
|
|
395
|
-
return function(m) {
|
|
396
|
-
return m.getAttribute("id") === v;
|
|
397
|
-
};
|
|
398
|
-
}, t.find.ID = function(g, v) {
|
|
399
|
-
if (typeof v.getElementById < "u" && f) {
|
|
400
|
-
var m = v.getElementById(g);
|
|
401
|
-
return m ? [m] : [];
|
|
402
|
-
}
|
|
403
|
-
}) : (t.filter.ID = function(g) {
|
|
404
|
-
var v = g.replace(ye, ve);
|
|
405
|
-
return function(m) {
|
|
406
|
-
var T = typeof m.getAttributeNode < "u" && m.getAttributeNode("id");
|
|
407
|
-
return T && T.value === v;
|
|
408
|
-
};
|
|
409
|
-
}, t.find.ID = function(g, v) {
|
|
410
|
-
if (typeof v.getElementById < "u" && f) {
|
|
411
|
-
var m, T, w, C = v.getElementById(g);
|
|
412
|
-
if (C) {
|
|
413
|
-
if (m = C.getAttributeNode("id"), m && m.value === g)
|
|
414
|
-
return [C];
|
|
415
|
-
for (w = v.getElementsByName(g), T = 0; C = w[T++]; )
|
|
416
|
-
if (m = C.getAttributeNode("id"), m && m.value === g)
|
|
417
|
-
return [C];
|
|
418
|
-
}
|
|
419
|
-
return [];
|
|
420
|
-
}
|
|
421
|
-
}), t.find.TAG = function(g, v) {
|
|
422
|
-
return typeof v.getElementsByTagName < "u" ? v.getElementsByTagName(g) : v.querySelectorAll(g);
|
|
423
|
-
}, t.find.CLASS = function(g, v) {
|
|
424
|
-
if (typeof v.getElementsByClassName < "u" && f)
|
|
425
|
-
return v.getElementsByClassName(g);
|
|
426
|
-
}, d = [], Me(function(g) {
|
|
427
|
-
var v;
|
|
428
|
-
c.appendChild(g).innerHTML = "<a id='" + b + "' href='' disabled='disabled'></a><select id='" + b + "-\r\\' disabled='disabled'><option selected=''></option></select>", g.querySelectorAll("[selected]").length || d.push("\\[" + W + "*(?:value|" + ae + ")"), g.querySelectorAll("[id~=" + b + "-]").length || d.push("~="), g.querySelectorAll("a#" + b + "+*").length || d.push(".#.+[+~]"), g.querySelectorAll(":checked").length || d.push(":checked"), v = a.createElement("input"), v.setAttribute("type", "hidden"), g.appendChild(v).setAttribute("name", "D"), c.appendChild(g).disabled = !0, g.querySelectorAll(":disabled").length !== 2 && d.push(":enabled", ":disabled"), v = a.createElement("input"), v.setAttribute("name", ""), g.appendChild(v), g.querySelectorAll("[name='']").length || d.push("\\[" + W + "*name" + W + "*=" + W + `*(?:''|"")`);
|
|
429
|
-
}), q.cssHas || d.push(":has"), d = d.length && new RegExp(d.join("|")), z = function(g, v) {
|
|
430
|
-
if (g === v)
|
|
431
|
-
return o = !0, 0;
|
|
432
|
-
var m = !g.compareDocumentPosition - !v.compareDocumentPosition;
|
|
433
|
-
return m || (m = (g.ownerDocument || g) == (v.ownerDocument || v) ? g.compareDocumentPosition(v) : (
|
|
434
|
-
// Otherwise we know they are disconnected
|
|
435
|
-
1
|
|
436
|
-
), m & 1 || !q.sortDetached && v.compareDocumentPosition(g) === m ? g === a || g.ownerDocument == pe && _.contains(pe, g) ? -1 : v === a || v.ownerDocument == pe && _.contains(pe, v) ? 1 : r ? de.call(r, g) - de.call(r, v) : 0 : m & 4 ? -1 : 1);
|
|
437
|
-
}), a;
|
|
438
|
-
}
|
|
439
|
-
_.matches = function(s, l) {
|
|
440
|
-
return _(s, null, null, l);
|
|
441
|
-
}, _.matchesSelector = function(s, l) {
|
|
442
|
-
if (me(s), f && !V[l + " "] && (!d || !d.test(l)))
|
|
443
|
-
try {
|
|
444
|
-
var p = y.call(s, l);
|
|
445
|
-
if (p || q.disconnectedMatch || // As well, disconnected nodes are said to be in a document
|
|
446
|
-
// fragment in IE 9
|
|
447
|
-
s.document && s.document.nodeType !== 11)
|
|
448
|
-
return p;
|
|
449
|
-
} catch {
|
|
450
|
-
V(l, !0);
|
|
451
|
-
}
|
|
452
|
-
return _(l, a, null, [s]).length > 0;
|
|
453
|
-
}, _.contains = function(s, l) {
|
|
454
|
-
return (s.ownerDocument || s) != a && me(s), i.contains(s, l);
|
|
455
|
-
}, _.attr = function(s, l) {
|
|
456
|
-
(s.ownerDocument || s) != a && me(s);
|
|
457
|
-
var p = t.attrHandle[l.toLowerCase()], g = p && Ie.call(t.attrHandle, l.toLowerCase()) ? p(s, l, !f) : void 0;
|
|
458
|
-
return g !== void 0 ? g : s.getAttribute(l);
|
|
459
|
-
}, _.error = function(s) {
|
|
460
|
-
throw new Error("Syntax error, unrecognized expression: " + s);
|
|
461
|
-
}, i.uniqueSort = function(s) {
|
|
462
|
-
var l, p = [], g = 0, v = 0;
|
|
463
|
-
if (o = !q.sortStable, r = !q.sortStable && Z.call(s, 0), Mn.call(s, z), o) {
|
|
464
|
-
for (; l = s[v++]; )
|
|
465
|
-
l === s[v] && (g = p.push(v));
|
|
466
|
-
for (; g--; )
|
|
467
|
-
Rn.call(s, p[g], 1);
|
|
468
|
-
}
|
|
469
|
-
return r = null, s;
|
|
470
|
-
}, i.fn.uniqueSort = function() {
|
|
471
|
-
return this.pushStack(i.uniqueSort(Z.apply(this)));
|
|
472
|
-
}, t = i.expr = {
|
|
473
|
-
// Can be adjusted by the user
|
|
474
|
-
cacheLength: 50,
|
|
475
|
-
createPseudo: ie,
|
|
476
|
-
match: ce,
|
|
477
|
-
attrHandle: {},
|
|
478
|
-
find: {},
|
|
479
|
-
relative: {
|
|
480
|
-
">": { dir: "parentNode", first: !0 },
|
|
481
|
-
" ": { dir: "parentNode" },
|
|
482
|
-
"+": { dir: "previousSibling", first: !0 },
|
|
483
|
-
"~": { dir: "previousSibling" }
|
|
484
|
-
},
|
|
485
|
-
preFilter: {
|
|
486
|
-
ATTR: function(s) {
|
|
487
|
-
return s[1] = s[1].replace(ye, ve), s[3] = (s[3] || s[4] || s[5] || "").replace(ye, ve), s[2] === "~=" && (s[3] = " " + s[3] + " "), s.slice(0, 4);
|
|
488
|
-
},
|
|
489
|
-
CHILD: function(s) {
|
|
490
|
-
return s[1] = s[1].toLowerCase(), s[1].slice(0, 3) === "nth" ? (s[3] || _.error(s[0]), s[4] = +(s[4] ? s[5] + (s[6] || 1) : 2 * (s[3] === "even" || s[3] === "odd")), s[5] = +(s[7] + s[8] || s[3] === "odd")) : s[3] && _.error(s[0]), s;
|
|
491
|
-
},
|
|
492
|
-
PSEUDO: function(s) {
|
|
493
|
-
var l, p = !s[6] && s[2];
|
|
494
|
-
return ce.CHILD.test(s[0]) ? null : (s[3] ? s[2] = s[4] || s[5] || "" : p && fe.test(p) && // Get excess from tokenize (recursively)
|
|
495
|
-
(l = Ye(p, !0)) && // advance to the next closing parenthesis
|
|
496
|
-
(l = p.indexOf(")", p.length - l) - p.length) && (s[0] = s[0].slice(0, l), s[2] = p.slice(0, l)), s.slice(0, 3));
|
|
497
|
-
}
|
|
498
|
-
},
|
|
499
|
-
filter: {
|
|
500
|
-
TAG: function(s) {
|
|
501
|
-
var l = s.replace(ye, ve).toLowerCase();
|
|
502
|
-
return s === "*" ? function() {
|
|
503
|
-
return !0;
|
|
504
|
-
} : function(p) {
|
|
505
|
-
return $(p, l);
|
|
506
|
-
};
|
|
507
|
-
},
|
|
508
|
-
CLASS: function(s) {
|
|
509
|
-
var l = D[s + " "];
|
|
510
|
-
return l || (l = new RegExp("(^|" + W + ")" + s + "(" + W + "|$)")) && D(s, function(p) {
|
|
511
|
-
return l.test(
|
|
512
|
-
typeof p.className == "string" && p.className || typeof p.getAttribute < "u" && p.getAttribute("class") || ""
|
|
513
|
-
);
|
|
514
|
-
});
|
|
515
|
-
},
|
|
516
|
-
ATTR: function(s, l, p) {
|
|
517
|
-
return function(g) {
|
|
518
|
-
var v = _.attr(g, s);
|
|
519
|
-
return v == null ? l === "!=" : l ? (v += "", l === "=" ? v === p : l === "!=" ? v !== p : l === "^=" ? p && v.indexOf(p) === 0 : l === "*=" ? p && v.indexOf(p) > -1 : l === "$=" ? p && v.slice(-p.length) === p : l === "~=" ? (" " + v.replace(I, " ") + " ").indexOf(p) > -1 : l === "|=" ? v === p || v.slice(0, p.length + 1) === p + "-" : !1) : !0;
|
|
520
|
-
};
|
|
521
|
-
},
|
|
522
|
-
CHILD: function(s, l, p, g, v) {
|
|
523
|
-
var m = s.slice(0, 3) !== "nth", T = s.slice(-4) !== "last", w = l === "of-type";
|
|
524
|
-
return g === 1 && v === 0 ? (
|
|
525
|
-
// Shortcut for :nth-*(n)
|
|
526
|
-
function(C) {
|
|
527
|
-
return !!C.parentNode;
|
|
528
|
-
}
|
|
529
|
-
) : function(C, O, A) {
|
|
530
|
-
var N, P, E, F, K, X = m !== T ? "nextSibling" : "previousSibling", ne = C.parentNode, le = w && C.nodeName.toLowerCase(), Re = !A && !w, G = !1;
|
|
531
|
-
if (ne) {
|
|
532
|
-
if (m) {
|
|
533
|
-
for (; X; ) {
|
|
534
|
-
for (E = C; E = E[X]; )
|
|
535
|
-
if (w ? $(E, le) : E.nodeType === 1)
|
|
536
|
-
return !1;
|
|
537
|
-
K = X = s === "only" && !K && "nextSibling";
|
|
538
|
-
}
|
|
539
|
-
return !0;
|
|
540
|
-
}
|
|
541
|
-
if (K = [T ? ne.firstChild : ne.lastChild], T && Re) {
|
|
542
|
-
for (P = ne[b] || (ne[b] = {}), N = P[s] || [], F = N[0] === h && N[1], G = F && N[2], E = F && ne.childNodes[F]; E = ++F && E && E[X] || // Fallback to seeking `elem` from the start
|
|
543
|
-
(G = F = 0) || K.pop(); )
|
|
544
|
-
if (E.nodeType === 1 && ++G && E === C) {
|
|
545
|
-
P[s] = [h, F, G];
|
|
546
|
-
break;
|
|
547
|
-
}
|
|
548
|
-
} else if (Re && (P = C[b] || (C[b] = {}), N = P[s] || [], F = N[0] === h && N[1], G = F), G === !1)
|
|
549
|
-
for (; (E = ++F && E && E[X] || (G = F = 0) || K.pop()) && !((w ? $(E, le) : E.nodeType === 1) && ++G && (Re && (P = E[b] || (E[b] = {}), P[s] = [h, G]), E === C)); )
|
|
550
|
-
;
|
|
551
|
-
return G -= v, G === g || G % g === 0 && G / g >= 0;
|
|
552
|
-
}
|
|
553
|
-
};
|
|
554
|
-
},
|
|
555
|
-
PSEUDO: function(s, l) {
|
|
556
|
-
var p, g = t.pseudos[s] || t.setFilters[s.toLowerCase()] || _.error("unsupported pseudo: " + s);
|
|
557
|
-
return g[b] ? g(l) : g.length > 1 ? (p = [s, s, "", l], t.setFilters.hasOwnProperty(s.toLowerCase()) ? ie(function(v, m) {
|
|
558
|
-
for (var T, w = g(v, l), C = w.length; C--; )
|
|
559
|
-
T = de.call(v, w[C]), v[T] = !(m[T] = w[C]);
|
|
560
|
-
}) : function(v) {
|
|
561
|
-
return g(v, 0, p);
|
|
562
|
-
}) : g;
|
|
563
|
-
}
|
|
564
|
-
},
|
|
565
|
-
pseudos: {
|
|
566
|
-
// Potentially complex pseudos
|
|
567
|
-
not: ie(function(s) {
|
|
568
|
-
var l = [], p = [], g = Pt(s.replace(_e, "$1"));
|
|
569
|
-
return g[b] ? ie(function(v, m, T, w) {
|
|
570
|
-
for (var C, O = g(v, null, w, []), A = v.length; A--; )
|
|
571
|
-
(C = O[A]) && (v[A] = !(m[A] = C));
|
|
572
|
-
}) : function(v, m, T) {
|
|
573
|
-
return l[0] = v, g(l, null, T, p), l[0] = null, !p.pop();
|
|
574
|
-
};
|
|
575
|
-
}),
|
|
576
|
-
has: ie(function(s) {
|
|
577
|
-
return function(l) {
|
|
578
|
-
return _(s, l).length > 0;
|
|
579
|
-
};
|
|
580
|
-
}),
|
|
581
|
-
contains: ie(function(s) {
|
|
582
|
-
return s = s.replace(ye, ve), function(l) {
|
|
583
|
-
return (l.textContent || i.text(l)).indexOf(s) > -1;
|
|
584
|
-
};
|
|
585
|
-
}),
|
|
586
|
-
// "Whether an element is represented by a :lang() selector
|
|
587
|
-
// is based solely on the element's language value
|
|
588
|
-
// being equal to the identifier C,
|
|
589
|
-
// or beginning with the identifier C immediately followed by "-".
|
|
590
|
-
// The matching of C against the element's language value is performed case-insensitively.
|
|
591
|
-
// The identifier C does not have to be a valid language name."
|
|
592
|
-
// https://www.w3.org/TR/selectors/#lang-pseudo
|
|
593
|
-
lang: ie(function(s) {
|
|
594
|
-
return Qe.test(s || "") || _.error("unsupported lang: " + s), s = s.replace(ye, ve).toLowerCase(), function(l) {
|
|
595
|
-
var p;
|
|
596
|
-
do
|
|
597
|
-
if (p = f ? l.lang : l.getAttribute("xml:lang") || l.getAttribute("lang"))
|
|
598
|
-
return p = p.toLowerCase(), p === s || p.indexOf(s + "-") === 0;
|
|
599
|
-
while ((l = l.parentNode) && l.nodeType === 1);
|
|
600
|
-
return !1;
|
|
601
|
-
};
|
|
602
|
-
}),
|
|
603
|
-
// Miscellaneous
|
|
604
|
-
target: function(s) {
|
|
605
|
-
var l = j.location && j.location.hash;
|
|
606
|
-
return l && l.slice(1) === s.id;
|
|
607
|
-
},
|
|
608
|
-
root: function(s) {
|
|
609
|
-
return s === c;
|
|
610
|
-
},
|
|
611
|
-
focus: function(s) {
|
|
612
|
-
return s === Mr() && a.hasFocus() && !!(s.type || s.href || ~s.tabIndex);
|
|
613
|
-
},
|
|
614
|
-
// Boolean properties
|
|
615
|
-
enabled: Dn(!1),
|
|
616
|
-
disabled: Dn(!0),
|
|
617
|
-
checked: function(s) {
|
|
618
|
-
return $(s, "input") && !!s.checked || $(s, "option") && !!s.selected;
|
|
619
|
-
},
|
|
620
|
-
selected: function(s) {
|
|
621
|
-
return s.parentNode && s.parentNode.selectedIndex, s.selected === !0;
|
|
622
|
-
},
|
|
623
|
-
// Contents
|
|
624
|
-
empty: function(s) {
|
|
625
|
-
for (s = s.firstChild; s; s = s.nextSibling)
|
|
626
|
-
if (s.nodeType < 6)
|
|
627
|
-
return !1;
|
|
628
|
-
return !0;
|
|
629
|
-
},
|
|
630
|
-
parent: function(s) {
|
|
631
|
-
return !t.pseudos.empty(s);
|
|
632
|
-
},
|
|
633
|
-
// Element/input types
|
|
634
|
-
header: function(s) {
|
|
635
|
-
return xe.test(s.nodeName);
|
|
636
|
-
},
|
|
637
|
-
input: function(s) {
|
|
638
|
-
return be.test(s.nodeName);
|
|
639
|
-
},
|
|
640
|
-
button: function(s) {
|
|
641
|
-
return $(s, "input") && s.type === "button" || $(s, "button");
|
|
642
|
-
},
|
|
643
|
-
text: function(s) {
|
|
644
|
-
var l;
|
|
645
|
-
return $(s, "input") && s.type === "text" && // Support: IE <10 only
|
|
646
|
-
// New HTML5 attribute values (e.g., "search") appear
|
|
647
|
-
// with elem.type === "text"
|
|
648
|
-
((l = s.getAttribute("type")) == null || l.toLowerCase() === "text");
|
|
649
|
-
},
|
|
650
|
-
// Position-in-collection
|
|
651
|
-
first: Ee(function() {
|
|
652
|
-
return [0];
|
|
653
|
-
}),
|
|
654
|
-
last: Ee(function(s, l) {
|
|
655
|
-
return [l - 1];
|
|
656
|
-
}),
|
|
657
|
-
eq: Ee(function(s, l, p) {
|
|
658
|
-
return [p < 0 ? p + l : p];
|
|
659
|
-
}),
|
|
660
|
-
even: Ee(function(s, l) {
|
|
661
|
-
for (var p = 0; p < l; p += 2)
|
|
662
|
-
s.push(p);
|
|
663
|
-
return s;
|
|
664
|
-
}),
|
|
665
|
-
odd: Ee(function(s, l) {
|
|
666
|
-
for (var p = 1; p < l; p += 2)
|
|
667
|
-
s.push(p);
|
|
668
|
-
return s;
|
|
669
|
-
}),
|
|
670
|
-
lt: Ee(function(s, l, p) {
|
|
671
|
-
var g;
|
|
672
|
-
for (p < 0 ? g = p + l : p > l ? g = l : g = p; --g >= 0; )
|
|
673
|
-
s.push(g);
|
|
674
|
-
return s;
|
|
675
|
-
}),
|
|
676
|
-
gt: Ee(function(s, l, p) {
|
|
677
|
-
for (var g = p < 0 ? p + l : p; ++g < l; )
|
|
678
|
-
s.push(g);
|
|
679
|
-
return s;
|
|
680
|
-
})
|
|
681
|
-
}
|
|
682
|
-
}, t.pseudos.nth = t.pseudos.eq;
|
|
683
|
-
for (e in { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 })
|
|
684
|
-
t.pseudos[e] = Rr(e);
|
|
685
|
-
for (e in { submit: !0, reset: !0 })
|
|
686
|
-
t.pseudos[e] = Ir(e);
|
|
687
|
-
function Nn() {
|
|
688
|
-
}
|
|
689
|
-
Nn.prototype = t.filters = t.pseudos, t.setFilters = new Nn();
|
|
690
|
-
function Ye(s, l) {
|
|
691
|
-
var p, g, v, m, T, w, C, O = R[s + " "];
|
|
692
|
-
if (O)
|
|
693
|
-
return l ? 0 : O.slice(0);
|
|
694
|
-
for (T = s, w = [], C = t.preFilter; T; ) {
|
|
695
|
-
(!p || (g = B.exec(T))) && (g && (T = T.slice(g[0].length) || T), w.push(v = [])), p = !1, (g = Ge.exec(T)) && (p = g.shift(), v.push({
|
|
696
|
-
value: p,
|
|
697
|
-
// Cast descendant combinators to space
|
|
698
|
-
type: g[0].replace(_e, " ")
|
|
699
|
-
}), T = T.slice(p.length));
|
|
700
|
-
for (m in t.filter)
|
|
701
|
-
(g = ce[m].exec(T)) && (!C[m] || (g = C[m](g))) && (p = g.shift(), v.push({
|
|
702
|
-
value: p,
|
|
703
|
-
type: m,
|
|
704
|
-
matches: g
|
|
705
|
-
}), T = T.slice(p.length));
|
|
706
|
-
if (!p)
|
|
707
|
-
break;
|
|
708
|
-
}
|
|
709
|
-
return l ? T.length : T ? _.error(s) : (
|
|
710
|
-
// Cache the tokens
|
|
711
|
-
R(s, w).slice(0)
|
|
712
|
-
);
|
|
713
|
-
}
|
|
714
|
-
function st(s) {
|
|
715
|
-
for (var l = 0, p = s.length, g = ""; l < p; l++)
|
|
716
|
-
g += s[l].value;
|
|
717
|
-
return g;
|
|
718
|
-
}
|
|
719
|
-
function ft(s, l, p) {
|
|
720
|
-
var g = l.dir, v = l.next, m = v || g, T = p && m === "parentNode", w = x++;
|
|
721
|
-
return l.first ? (
|
|
722
|
-
// Check against closest ancestor/preceding element
|
|
723
|
-
function(C, O, A) {
|
|
724
|
-
for (; C = C[g]; )
|
|
725
|
-
if (C.nodeType === 1 || T)
|
|
726
|
-
return s(C, O, A);
|
|
727
|
-
return !1;
|
|
728
|
-
}
|
|
729
|
-
) : (
|
|
730
|
-
// Check against all ancestor/preceding elements
|
|
731
|
-
function(C, O, A) {
|
|
732
|
-
var N, P, E = [h, w];
|
|
733
|
-
if (A) {
|
|
734
|
-
for (; C = C[g]; )
|
|
735
|
-
if ((C.nodeType === 1 || T) && s(C, O, A))
|
|
736
|
-
return !0;
|
|
737
|
-
} else
|
|
738
|
-
for (; C = C[g]; )
|
|
739
|
-
if (C.nodeType === 1 || T)
|
|
740
|
-
if (P = C[b] || (C[b] = {}), v && $(C, v))
|
|
741
|
-
C = C[g] || C;
|
|
742
|
-
else {
|
|
743
|
-
if ((N = P[m]) && N[0] === h && N[1] === w)
|
|
744
|
-
return E[2] = N[2];
|
|
745
|
-
if (P[m] = E, E[2] = s(C, O, A))
|
|
746
|
-
return !0;
|
|
747
|
-
}
|
|
748
|
-
return !1;
|
|
749
|
-
}
|
|
750
|
-
);
|
|
751
|
-
}
|
|
752
|
-
function Lt(s) {
|
|
753
|
-
return s.length > 1 ? function(l, p, g) {
|
|
754
|
-
for (var v = s.length; v--; )
|
|
755
|
-
if (!s[v](l, p, g))
|
|
756
|
-
return !1;
|
|
757
|
-
return !0;
|
|
758
|
-
} : s[0];
|
|
759
|
-
}
|
|
760
|
-
function _r(s, l, p) {
|
|
761
|
-
for (var g = 0, v = l.length; g < v; g++)
|
|
762
|
-
_(s, l[g], p);
|
|
763
|
-
return p;
|
|
764
|
-
}
|
|
765
|
-
function ct(s, l, p, g, v) {
|
|
766
|
-
for (var m, T = [], w = 0, C = s.length, O = l != null; w < C; w++)
|
|
767
|
-
(m = s[w]) && (!p || p(m, g, v)) && (T.push(m), O && l.push(w));
|
|
768
|
-
return T;
|
|
769
|
-
}
|
|
770
|
-
function Ht(s, l, p, g, v, m) {
|
|
771
|
-
return g && !g[b] && (g = Ht(g)), v && !v[b] && (v = Ht(v, m)), ie(function(T, w, C, O) {
|
|
772
|
-
var A, N, P, E, F = [], K = [], X = w.length, ne = T || _r(
|
|
773
|
-
l || "*",
|
|
774
|
-
C.nodeType ? [C] : C,
|
|
775
|
-
[]
|
|
776
|
-
), le = s && (T || !l) ? ct(ne, F, s, C, O) : ne;
|
|
777
|
-
if (p ? (E = v || (T ? s : X || g) ? (
|
|
778
|
-
// ...intermediate processing is necessary
|
|
779
|
-
[]
|
|
780
|
-
) : (
|
|
781
|
-
// ...otherwise use results directly
|
|
782
|
-
w
|
|
783
|
-
), p(le, E, C, O)) : E = le, g)
|
|
784
|
-
for (A = ct(E, K), g(A, [], C, O), N = A.length; N--; )
|
|
785
|
-
(P = A[N]) && (E[K[N]] = !(le[K[N]] = P));
|
|
786
|
-
if (T) {
|
|
787
|
-
if (v || s) {
|
|
788
|
-
if (v) {
|
|
789
|
-
for (A = [], N = E.length; N--; )
|
|
790
|
-
(P = E[N]) && A.push(le[N] = P);
|
|
791
|
-
v(null, E = [], A, O);
|
|
792
|
-
}
|
|
793
|
-
for (N = E.length; N--; )
|
|
794
|
-
(P = E[N]) && (A = v ? de.call(T, P) : F[N]) > -1 && (T[A] = !(w[A] = P));
|
|
795
|
-
}
|
|
796
|
-
} else
|
|
797
|
-
E = ct(
|
|
798
|
-
E === w ? E.splice(X, E.length) : E
|
|
799
|
-
), v ? v(null, w, E, O) : u.apply(w, E);
|
|
800
|
-
});
|
|
801
|
-
}
|
|
802
|
-
function Ot(s) {
|
|
803
|
-
for (var l, p, g, v = s.length, m = t.relative[s[0].type], T = m || t.relative[" "], w = m ? 1 : 0, C = ft(function(N) {
|
|
804
|
-
return N === l;
|
|
805
|
-
}, T, !0), O = ft(function(N) {
|
|
806
|
-
return de.call(l, N) > -1;
|
|
807
|
-
}, T, !0), A = [function(N, P, E) {
|
|
808
|
-
var F = !m && (E || P != n) || ((l = P).nodeType ? C(N, P, E) : O(N, P, E));
|
|
809
|
-
return l = null, F;
|
|
810
|
-
}]; w < v; w++)
|
|
811
|
-
if (p = t.relative[s[w].type])
|
|
812
|
-
A = [ft(Lt(A), p)];
|
|
813
|
-
else {
|
|
814
|
-
if (p = t.filter[s[w].type].apply(null, s[w].matches), p[b]) {
|
|
815
|
-
for (g = ++w; g < v && !t.relative[s[g].type]; g++)
|
|
816
|
-
;
|
|
817
|
-
return Ht(
|
|
818
|
-
w > 1 && Lt(A),
|
|
819
|
-
w > 1 && st(
|
|
820
|
-
// If the preceding token was a descendant combinator, insert an implicit any-element `*`
|
|
821
|
-
s.slice(0, w - 1).concat({ value: s[w - 2].type === " " ? "*" : "" })
|
|
822
|
-
).replace(_e, "$1"),
|
|
823
|
-
p,
|
|
824
|
-
w < g && Ot(s.slice(w, g)),
|
|
825
|
-
g < v && Ot(s = s.slice(g)),
|
|
826
|
-
g < v && st(s)
|
|
827
|
-
);
|
|
828
|
-
}
|
|
829
|
-
A.push(p);
|
|
830
|
-
}
|
|
831
|
-
return Lt(A);
|
|
832
|
-
}
|
|
833
|
-
function Wr(s, l) {
|
|
834
|
-
var p = l.length > 0, g = s.length > 0, v = function(m, T, w, C, O) {
|
|
835
|
-
var A, N, P, E = 0, F = "0", K = m && [], X = [], ne = n, le = m || g && t.find.TAG("*", O), Re = h += ne == null ? 1 : Math.random() || 0.1, G = le.length;
|
|
836
|
-
for (O && (n = T == a || T || O); F !== G && (A = le[F]) != null; F++) {
|
|
837
|
-
if (g && A) {
|
|
838
|
-
for (N = 0, !T && A.ownerDocument != a && (me(A), w = !f); P = s[N++]; )
|
|
839
|
-
if (P(A, T || a, w)) {
|
|
840
|
-
u.call(C, A);
|
|
841
|
-
break;
|
|
842
|
-
}
|
|
843
|
-
O && (h = Re);
|
|
844
|
-
}
|
|
845
|
-
p && ((A = !P && A) && E--, m && K.push(A));
|
|
846
|
-
}
|
|
847
|
-
if (E += F, p && F !== E) {
|
|
848
|
-
for (N = 0; P = l[N++]; )
|
|
849
|
-
P(K, X, T, w);
|
|
850
|
-
if (m) {
|
|
851
|
-
if (E > 0)
|
|
852
|
-
for (; F--; )
|
|
853
|
-
K[F] || X[F] || (X[F] = Pn.call(C));
|
|
854
|
-
X = ct(X);
|
|
855
|
-
}
|
|
856
|
-
u.apply(C, X), O && !m && X.length > 0 && E + l.length > 1 && i.uniqueSort(C);
|
|
857
|
-
}
|
|
858
|
-
return O && (h = Re, n = ne), K;
|
|
859
|
-
};
|
|
860
|
-
return p ? ie(v) : v;
|
|
861
|
-
}
|
|
862
|
-
function Pt(s, l) {
|
|
863
|
-
var p, g = [], v = [], m = H[s + " "];
|
|
864
|
-
if (!m) {
|
|
865
|
-
for (l || (l = Ye(s)), p = l.length; p--; )
|
|
866
|
-
m = Ot(l[p]), m[b] ? g.push(m) : v.push(m);
|
|
867
|
-
m = H(
|
|
868
|
-
s,
|
|
869
|
-
Wr(v, g)
|
|
870
|
-
), m.selector = s;
|
|
871
|
-
}
|
|
872
|
-
return m;
|
|
873
|
-
}
|
|
874
|
-
function kn(s, l, p, g) {
|
|
875
|
-
var v, m, T, w, C, O = typeof s == "function" && s, A = !g && Ye(s = O.selector || s);
|
|
876
|
-
if (p = p || [], A.length === 1) {
|
|
877
|
-
if (m = A[0] = A[0].slice(0), m.length > 2 && (T = m[0]).type === "ID" && l.nodeType === 9 && f && t.relative[m[1].type]) {
|
|
878
|
-
if (l = (t.find.ID(
|
|
879
|
-
T.matches[0].replace(ye, ve),
|
|
880
|
-
l
|
|
881
|
-
) || [])[0], l)
|
|
882
|
-
O && (l = l.parentNode);
|
|
883
|
-
else return p;
|
|
884
|
-
s = s.slice(m.shift().value.length);
|
|
885
|
-
}
|
|
886
|
-
for (v = ce.needsContext.test(s) ? 0 : m.length; v-- && (T = m[v], !t.relative[w = T.type]); )
|
|
887
|
-
if ((C = t.find[w]) && (g = C(
|
|
888
|
-
T.matches[0].replace(ye, ve),
|
|
889
|
-
jt.test(m[0].type) && qt(l.parentNode) || l
|
|
890
|
-
))) {
|
|
891
|
-
if (m.splice(v, 1), s = g.length && st(m), !s)
|
|
892
|
-
return u.apply(p, g), p;
|
|
893
|
-
break;
|
|
894
|
-
}
|
|
895
|
-
}
|
|
896
|
-
return (O || Pt(s, A))(
|
|
897
|
-
g,
|
|
898
|
-
l,
|
|
899
|
-
!f,
|
|
900
|
-
p,
|
|
901
|
-
!l || jt.test(s) && qt(l.parentNode) || l
|
|
902
|
-
), p;
|
|
903
|
-
}
|
|
904
|
-
q.sortStable = b.split("").sort(z).join("") === b, me(), q.sortDetached = Me(function(s) {
|
|
905
|
-
return s.compareDocumentPosition(a.createElement("fieldset")) & 1;
|
|
906
|
-
}), i.find = _, i.expr[":"] = i.expr.pseudos, i.unique = i.uniqueSort, _.compile = Pt, _.select = kn, _.setDocument = me, _.tokenize = Ye, _.escape = i.escapeSelector, _.getText = i.text, _.isXML = i.isXMLDoc, _.selectors = i.expr, _.support = i.support, _.uniqueSort = i.uniqueSort;
|
|
907
|
-
})();
|
|
908
|
-
var Ne = function(e, t, n) {
|
|
909
|
-
for (var r = [], o = n !== void 0; (e = e[t]) && e.nodeType !== 9; )
|
|
910
|
-
if (e.nodeType === 1) {
|
|
911
|
-
if (o && i(e).is(n))
|
|
912
|
-
break;
|
|
913
|
-
r.push(e);
|
|
914
|
-
}
|
|
915
|
-
return r;
|
|
916
|
-
}, Bt = function(e, t) {
|
|
917
|
-
for (var n = []; e; e = e.nextSibling)
|
|
918
|
-
e.nodeType === 1 && e !== t && n.push(e);
|
|
919
|
-
return n;
|
|
920
|
-
}, zt = i.expr.match.needsContext, Ut = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
|
|
921
|
-
function pt(e, t, n) {
|
|
922
|
-
return L(t) ? i.grep(e, function(r, o) {
|
|
923
|
-
return !!t.call(r, o, r) !== n;
|
|
924
|
-
}) : t.nodeType ? i.grep(e, function(r) {
|
|
925
|
-
return r === t !== n;
|
|
926
|
-
}) : typeof t != "string" ? i.grep(e, function(r) {
|
|
927
|
-
return de.call(t, r) > -1 !== n;
|
|
928
|
-
}) : i.filter(t, e, n);
|
|
929
|
-
}
|
|
930
|
-
i.filter = function(e, t, n) {
|
|
931
|
-
var r = t[0];
|
|
932
|
-
return n && (e = ":not(" + e + ")"), t.length === 1 && r.nodeType === 1 ? i.find.matchesSelector(r, e) ? [r] : [] : i.find.matches(e, i.grep(t, function(o) {
|
|
933
|
-
return o.nodeType === 1;
|
|
934
|
-
}));
|
|
935
|
-
}, i.fn.extend({
|
|
936
|
-
find: function(e) {
|
|
937
|
-
var t, n, r = this.length, o = this;
|
|
938
|
-
if (typeof e != "string")
|
|
939
|
-
return this.pushStack(i(e).filter(function() {
|
|
940
|
-
for (t = 0; t < r; t++)
|
|
941
|
-
if (i.contains(o[t], this))
|
|
942
|
-
return !0;
|
|
943
|
-
}));
|
|
944
|
-
for (n = this.pushStack([]), t = 0; t < r; t++)
|
|
945
|
-
i.find(e, o[t], n);
|
|
946
|
-
return r > 1 ? i.uniqueSort(n) : n;
|
|
947
|
-
},
|
|
948
|
-
filter: function(e) {
|
|
949
|
-
return this.pushStack(pt(this, e || [], !1));
|
|
950
|
-
},
|
|
951
|
-
not: function(e) {
|
|
952
|
-
return this.pushStack(pt(this, e || [], !0));
|
|
953
|
-
},
|
|
954
|
-
is: function(e) {
|
|
955
|
-
return !!pt(
|
|
956
|
-
this,
|
|
957
|
-
// If this is a positional/relative selector, check membership in the returned set
|
|
958
|
-
// so $("p:first").is("p:last") won't return true for a doc with two "p".
|
|
959
|
-
typeof e == "string" && zt.test(e) ? i(e) : e || [],
|
|
960
|
-
!1
|
|
961
|
-
).length;
|
|
962
|
-
}
|
|
963
|
-
});
|
|
964
|
-
var Vt, Wn = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, Fn = i.fn.init = function(e, t, n) {
|
|
965
|
-
var r, o;
|
|
966
|
-
if (!e)
|
|
967
|
-
return this;
|
|
968
|
-
if (n = n || Vt, typeof e == "string")
|
|
969
|
-
if (e[0] === "<" && e[e.length - 1] === ">" && e.length >= 3 ? r = [null, e, null] : r = Wn.exec(e), r && (r[1] || !t))
|
|
970
|
-
if (r[1]) {
|
|
971
|
-
if (t = t instanceof i ? t[0] : t, i.merge(this, i.parseHTML(
|
|
972
|
-
r[1],
|
|
973
|
-
t && t.nodeType ? t.ownerDocument || t : k,
|
|
974
|
-
!0
|
|
975
|
-
)), Ut.test(r[1]) && i.isPlainObject(t))
|
|
976
|
-
for (r in t)
|
|
977
|
-
L(this[r]) ? this[r](t[r]) : this.attr(r, t[r]);
|
|
978
|
-
return this;
|
|
979
|
-
} else
|
|
980
|
-
return o = k.getElementById(r[2]), o && (this[0] = o, this.length = 1), this;
|
|
981
|
-
else return !t || t.jquery ? (t || n).find(e) : this.constructor(t).find(e);
|
|
982
|
-
else {
|
|
983
|
-
if (e.nodeType)
|
|
984
|
-
return this[0] = e, this.length = 1, this;
|
|
985
|
-
if (L(e))
|
|
986
|
-
return n.ready !== void 0 ? n.ready(e) : (
|
|
987
|
-
// Execute immediately if ready is not present
|
|
988
|
-
e(i)
|
|
989
|
-
);
|
|
990
|
-
}
|
|
991
|
-
return i.makeArray(e, this);
|
|
992
|
-
};
|
|
993
|
-
Fn.prototype = i.fn, Vt = i(k);
|
|
994
|
-
var $n = /^(?:parents|prev(?:Until|All))/, Bn = {
|
|
995
|
-
children: !0,
|
|
996
|
-
contents: !0,
|
|
997
|
-
next: !0,
|
|
998
|
-
prev: !0
|
|
999
|
-
};
|
|
1000
|
-
i.fn.extend({
|
|
1001
|
-
has: function(e) {
|
|
1002
|
-
var t = i(e, this), n = t.length;
|
|
1003
|
-
return this.filter(function() {
|
|
1004
|
-
for (var r = 0; r < n; r++)
|
|
1005
|
-
if (i.contains(this, t[r]))
|
|
1006
|
-
return !0;
|
|
1007
|
-
});
|
|
1008
|
-
},
|
|
1009
|
-
closest: function(e, t) {
|
|
1010
|
-
var n, r = 0, o = this.length, u = [], a = typeof e != "string" && i(e);
|
|
1011
|
-
if (!zt.test(e)) {
|
|
1012
|
-
for (; r < o; r++)
|
|
1013
|
-
for (n = this[r]; n && n !== t; n = n.parentNode)
|
|
1014
|
-
if (n.nodeType < 11 && (a ? a.index(n) > -1 : (
|
|
1015
|
-
// Don't pass non-elements to jQuery#find
|
|
1016
|
-
n.nodeType === 1 && i.find.matchesSelector(n, e)
|
|
1017
|
-
))) {
|
|
1018
|
-
u.push(n);
|
|
1019
|
-
break;
|
|
1020
|
-
}
|
|
1021
|
-
}
|
|
1022
|
-
return this.pushStack(u.length > 1 ? i.uniqueSort(u) : u);
|
|
1023
|
-
},
|
|
1024
|
-
// Determine the position of an element within the set
|
|
1025
|
-
index: function(e) {
|
|
1026
|
-
return e ? typeof e == "string" ? de.call(i(e), this[0]) : de.call(
|
|
1027
|
-
this,
|
|
1028
|
-
// If it receives a jQuery object, the first element is used
|
|
1029
|
-
e.jquery ? e[0] : e
|
|
1030
|
-
) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1;
|
|
1031
|
-
},
|
|
1032
|
-
add: function(e, t) {
|
|
1033
|
-
return this.pushStack(
|
|
1034
|
-
i.uniqueSort(
|
|
1035
|
-
i.merge(this.get(), i(e, t))
|
|
1036
|
-
)
|
|
1037
|
-
);
|
|
1038
|
-
},
|
|
1039
|
-
addBack: function(e) {
|
|
1040
|
-
return this.add(
|
|
1041
|
-
e == null ? this.prevObject : this.prevObject.filter(e)
|
|
1042
|
-
);
|
|
1043
|
-
}
|
|
1044
|
-
});
|
|
1045
|
-
function Xt(e, t) {
|
|
1046
|
-
for (; (e = e[t]) && e.nodeType !== 1; )
|
|
1047
|
-
;
|
|
1048
|
-
return e;
|
|
1049
|
-
}
|
|
1050
|
-
i.each({
|
|
1051
|
-
parent: function(e) {
|
|
1052
|
-
var t = e.parentNode;
|
|
1053
|
-
return t && t.nodeType !== 11 ? t : null;
|
|
1054
|
-
},
|
|
1055
|
-
parents: function(e) {
|
|
1056
|
-
return Ne(e, "parentNode");
|
|
1057
|
-
},
|
|
1058
|
-
parentsUntil: function(e, t, n) {
|
|
1059
|
-
return Ne(e, "parentNode", n);
|
|
1060
|
-
},
|
|
1061
|
-
next: function(e) {
|
|
1062
|
-
return Xt(e, "nextSibling");
|
|
1063
|
-
},
|
|
1064
|
-
prev: function(e) {
|
|
1065
|
-
return Xt(e, "previousSibling");
|
|
1066
|
-
},
|
|
1067
|
-
nextAll: function(e) {
|
|
1068
|
-
return Ne(e, "nextSibling");
|
|
1069
|
-
},
|
|
1070
|
-
prevAll: function(e) {
|
|
1071
|
-
return Ne(e, "previousSibling");
|
|
1072
|
-
},
|
|
1073
|
-
nextUntil: function(e, t, n) {
|
|
1074
|
-
return Ne(e, "nextSibling", n);
|
|
1075
|
-
},
|
|
1076
|
-
prevUntil: function(e, t, n) {
|
|
1077
|
-
return Ne(e, "previousSibling", n);
|
|
1078
|
-
},
|
|
1079
|
-
siblings: function(e) {
|
|
1080
|
-
return Bt((e.parentNode || {}).firstChild, e);
|
|
1081
|
-
},
|
|
1082
|
-
children: function(e) {
|
|
1083
|
-
return Bt(e.firstChild);
|
|
1084
|
-
},
|
|
1085
|
-
contents: function(e) {
|
|
1086
|
-
return e.contentDocument != null && // Support: IE 11+
|
|
1087
|
-
// <object> elements with no `data` attribute has an object
|
|
1088
|
-
// `contentDocument` with a `null` prototype.
|
|
1089
|
-
Rt(e.contentDocument) ? e.contentDocument : ($(e, "template") && (e = e.content || e), i.merge([], e.childNodes));
|
|
1090
|
-
}
|
|
1091
|
-
}, function(e, t) {
|
|
1092
|
-
i.fn[e] = function(n, r) {
|
|
1093
|
-
var o = i.map(this, t, n);
|
|
1094
|
-
return e.slice(-5) !== "Until" && (r = n), r && typeof r == "string" && (o = i.filter(r, o)), this.length > 1 && (Bn[e] || i.uniqueSort(o), $n.test(e) && o.reverse()), this.pushStack(o);
|
|
1095
|
-
};
|
|
1096
|
-
});
|
|
1097
|
-
var oe = /[^\x20\t\r\n\f]+/g;
|
|
1098
|
-
function zn(e) {
|
|
1099
|
-
var t = {};
|
|
1100
|
-
return i.each(e.match(oe) || [], function(n, r) {
|
|
1101
|
-
t[r] = !0;
|
|
1102
|
-
}), t;
|
|
1103
|
-
}
|
|
1104
|
-
i.Callbacks = function(e) {
|
|
1105
|
-
e = typeof e == "string" ? zn(e) : i.extend({}, e);
|
|
1106
|
-
var t, n, r, o, u = [], a = [], c = -1, f = function() {
|
|
1107
|
-
for (o = o || e.once, r = t = !0; a.length; c = -1)
|
|
1108
|
-
for (n = a.shift(); ++c < u.length; )
|
|
1109
|
-
u[c].apply(n[0], n[1]) === !1 && e.stopOnFalse && (c = u.length, n = !1);
|
|
1110
|
-
e.memory || (n = !1), t = !1, o && (n ? u = [] : u = "");
|
|
1111
|
-
}, d = {
|
|
1112
|
-
// Add a callback or a collection of callbacks to the list
|
|
1113
|
-
add: function() {
|
|
1114
|
-
return u && (n && !t && (c = u.length - 1, a.push(n)), function y(b) {
|
|
1115
|
-
i.each(b, function(h, x) {
|
|
1116
|
-
L(x) ? (!e.unique || !d.has(x)) && u.push(x) : x && x.length && De(x) !== "string" && y(x);
|
|
1117
|
-
});
|
|
1118
|
-
}(arguments), n && !t && f()), this;
|
|
1119
|
-
},
|
|
1120
|
-
// Remove a callback from the list
|
|
1121
|
-
remove: function() {
|
|
1122
|
-
return i.each(arguments, function(y, b) {
|
|
1123
|
-
for (var h; (h = i.inArray(b, u, h)) > -1; )
|
|
1124
|
-
u.splice(h, 1), h <= c && c--;
|
|
1125
|
-
}), this;
|
|
1126
|
-
},
|
|
1127
|
-
// Check if a given callback is in the list.
|
|
1128
|
-
// If no argument is given, return whether or not list has callbacks attached.
|
|
1129
|
-
has: function(y) {
|
|
1130
|
-
return y ? i.inArray(y, u) > -1 : u.length > 0;
|
|
1131
|
-
},
|
|
1132
|
-
// Remove all callbacks from the list
|
|
1133
|
-
empty: function() {
|
|
1134
|
-
return u && (u = []), this;
|
|
1135
|
-
},
|
|
1136
|
-
// Disable .fire and .add
|
|
1137
|
-
// Abort any current/pending executions
|
|
1138
|
-
// Clear all callbacks and values
|
|
1139
|
-
disable: function() {
|
|
1140
|
-
return o = a = [], u = n = "", this;
|
|
1141
|
-
},
|
|
1142
|
-
disabled: function() {
|
|
1143
|
-
return !u;
|
|
1144
|
-
},
|
|
1145
|
-
// Disable .fire
|
|
1146
|
-
// Also disable .add unless we have memory (since it would have no effect)
|
|
1147
|
-
// Abort any pending executions
|
|
1148
|
-
lock: function() {
|
|
1149
|
-
return o = a = [], !n && !t && (u = n = ""), this;
|
|
1150
|
-
},
|
|
1151
|
-
locked: function() {
|
|
1152
|
-
return !!o;
|
|
1153
|
-
},
|
|
1154
|
-
// Call all callbacks with the given context and arguments
|
|
1155
|
-
fireWith: function(y, b) {
|
|
1156
|
-
return o || (b = b || [], b = [y, b.slice ? b.slice() : b], a.push(b), t || f()), this;
|
|
1157
|
-
},
|
|
1158
|
-
// Call all the callbacks with the given arguments
|
|
1159
|
-
fire: function() {
|
|
1160
|
-
return d.fireWith(this, arguments), this;
|
|
1161
|
-
},
|
|
1162
|
-
// To know if the callbacks have already been called at least once
|
|
1163
|
-
fired: function() {
|
|
1164
|
-
return !!r;
|
|
1165
|
-
}
|
|
1166
|
-
};
|
|
1167
|
-
return d;
|
|
1168
|
-
};
|
|
1169
|
-
function ke(e) {
|
|
1170
|
-
return e;
|
|
1171
|
-
}
|
|
1172
|
-
function et(e) {
|
|
1173
|
-
throw e;
|
|
1174
|
-
}
|
|
1175
|
-
function Gt(e, t, n, r) {
|
|
1176
|
-
var o;
|
|
1177
|
-
try {
|
|
1178
|
-
e && L(o = e.promise) ? o.call(e).done(t).fail(n) : e && L(o = e.then) ? o.call(e, t, n) : t.apply(void 0, [e].slice(r));
|
|
1179
|
-
} catch (u) {
|
|
1180
|
-
n.apply(void 0, [u]);
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1183
|
-
i.extend({
|
|
1184
|
-
Deferred: function(e) {
|
|
1185
|
-
var t = [
|
|
1186
|
-
// action, add listener, callbacks,
|
|
1187
|
-
// ... .then handlers, argument index, [final state]
|
|
1188
|
-
[
|
|
1189
|
-
"notify",
|
|
1190
|
-
"progress",
|
|
1191
|
-
i.Callbacks("memory"),
|
|
1192
|
-
i.Callbacks("memory"),
|
|
1193
|
-
2
|
|
1194
|
-
],
|
|
1195
|
-
[
|
|
1196
|
-
"resolve",
|
|
1197
|
-
"done",
|
|
1198
|
-
i.Callbacks("once memory"),
|
|
1199
|
-
i.Callbacks("once memory"),
|
|
1200
|
-
0,
|
|
1201
|
-
"resolved"
|
|
1202
|
-
],
|
|
1203
|
-
[
|
|
1204
|
-
"reject",
|
|
1205
|
-
"fail",
|
|
1206
|
-
i.Callbacks("once memory"),
|
|
1207
|
-
i.Callbacks("once memory"),
|
|
1208
|
-
1,
|
|
1209
|
-
"rejected"
|
|
1210
|
-
]
|
|
1211
|
-
], n = "pending", r = {
|
|
1212
|
-
state: function() {
|
|
1213
|
-
return n;
|
|
1214
|
-
},
|
|
1215
|
-
always: function() {
|
|
1216
|
-
return o.done(arguments).fail(arguments), this;
|
|
1217
|
-
},
|
|
1218
|
-
catch: function(u) {
|
|
1219
|
-
return r.then(null, u);
|
|
1220
|
-
},
|
|
1221
|
-
// Keep pipe for back-compat
|
|
1222
|
-
pipe: function() {
|
|
1223
|
-
var u = arguments;
|
|
1224
|
-
return i.Deferred(function(a) {
|
|
1225
|
-
i.each(t, function(c, f) {
|
|
1226
|
-
var d = L(u[f[4]]) && u[f[4]];
|
|
1227
|
-
o[f[1]](function() {
|
|
1228
|
-
var y = d && d.apply(this, arguments);
|
|
1229
|
-
y && L(y.promise) ? y.promise().progress(a.notify).done(a.resolve).fail(a.reject) : a[f[0] + "With"](
|
|
1230
|
-
this,
|
|
1231
|
-
d ? [y] : arguments
|
|
1232
|
-
);
|
|
1233
|
-
});
|
|
1234
|
-
}), u = null;
|
|
1235
|
-
}).promise();
|
|
1236
|
-
},
|
|
1237
|
-
then: function(u, a, c) {
|
|
1238
|
-
var f = 0;
|
|
1239
|
-
function d(y, b, h, x) {
|
|
1240
|
-
return function() {
|
|
1241
|
-
var D = this, R = arguments, H = function() {
|
|
1242
|
-
var z, ae;
|
|
1243
|
-
if (!(y < f)) {
|
|
1244
|
-
if (z = h.apply(D, R), z === b.promise())
|
|
1245
|
-
throw new TypeError("Thenable self-resolution");
|
|
1246
|
-
ae = z && // Support: Promises/A+ section 2.3.4
|
|
1247
|
-
// https://promisesaplus.com/#point-64
|
|
1248
|
-
// Only check objects and functions for thenability
|
|
1249
|
-
(typeof z == "object" || typeof z == "function") && z.then, L(ae) ? x ? ae.call(
|
|
1250
|
-
z,
|
|
1251
|
-
d(f, b, ke, x),
|
|
1252
|
-
d(f, b, et, x)
|
|
1253
|
-
) : (f++, ae.call(
|
|
1254
|
-
z,
|
|
1255
|
-
d(f, b, ke, x),
|
|
1256
|
-
d(f, b, et, x),
|
|
1257
|
-
d(
|
|
1258
|
-
f,
|
|
1259
|
-
b,
|
|
1260
|
-
ke,
|
|
1261
|
-
b.notifyWith
|
|
1262
|
-
)
|
|
1263
|
-
)) : (h !== ke && (D = void 0, R = [z]), (x || b.resolveWith)(D, R));
|
|
1264
|
-
}
|
|
1265
|
-
}, V = x ? H : function() {
|
|
1266
|
-
try {
|
|
1267
|
-
H();
|
|
1268
|
-
} catch (z) {
|
|
1269
|
-
i.Deferred.exceptionHook && i.Deferred.exceptionHook(
|
|
1270
|
-
z,
|
|
1271
|
-
V.error
|
|
1272
|
-
), y + 1 >= f && (h !== et && (D = void 0, R = [z]), b.rejectWith(D, R));
|
|
1273
|
-
}
|
|
1274
|
-
};
|
|
1275
|
-
y ? V() : (i.Deferred.getErrorHook ? V.error = i.Deferred.getErrorHook() : i.Deferred.getStackHook && (V.error = i.Deferred.getStackHook()), j.setTimeout(V));
|
|
1276
|
-
};
|
|
1277
|
-
}
|
|
1278
|
-
return i.Deferred(function(y) {
|
|
1279
|
-
t[0][3].add(
|
|
1280
|
-
d(
|
|
1281
|
-
0,
|
|
1282
|
-
y,
|
|
1283
|
-
L(c) ? c : ke,
|
|
1284
|
-
y.notifyWith
|
|
1285
|
-
)
|
|
1286
|
-
), t[1][3].add(
|
|
1287
|
-
d(
|
|
1288
|
-
0,
|
|
1289
|
-
y,
|
|
1290
|
-
L(u) ? u : ke
|
|
1291
|
-
)
|
|
1292
|
-
), t[2][3].add(
|
|
1293
|
-
d(
|
|
1294
|
-
0,
|
|
1295
|
-
y,
|
|
1296
|
-
L(a) ? a : et
|
|
1297
|
-
)
|
|
1298
|
-
);
|
|
1299
|
-
}).promise();
|
|
1300
|
-
},
|
|
1301
|
-
// Get a promise for this deferred
|
|
1302
|
-
// If obj is provided, the promise aspect is added to the object
|
|
1303
|
-
promise: function(u) {
|
|
1304
|
-
return u != null ? i.extend(u, r) : r;
|
|
1305
|
-
}
|
|
1306
|
-
}, o = {};
|
|
1307
|
-
return i.each(t, function(u, a) {
|
|
1308
|
-
var c = a[2], f = a[5];
|
|
1309
|
-
r[a[1]] = c.add, f && c.add(
|
|
1310
|
-
function() {
|
|
1311
|
-
n = f;
|
|
1312
|
-
},
|
|
1313
|
-
// rejected_callbacks.disable
|
|
1314
|
-
// fulfilled_callbacks.disable
|
|
1315
|
-
t[3 - u][2].disable,
|
|
1316
|
-
// rejected_handlers.disable
|
|
1317
|
-
// fulfilled_handlers.disable
|
|
1318
|
-
t[3 - u][3].disable,
|
|
1319
|
-
// progress_callbacks.lock
|
|
1320
|
-
t[0][2].lock,
|
|
1321
|
-
// progress_handlers.lock
|
|
1322
|
-
t[0][3].lock
|
|
1323
|
-
), c.add(a[3].fire), o[a[0]] = function() {
|
|
1324
|
-
return o[a[0] + "With"](this === o ? void 0 : this, arguments), this;
|
|
1325
|
-
}, o[a[0] + "With"] = c.fireWith;
|
|
1326
|
-
}), r.promise(o), e && e.call(o, o), o;
|
|
1327
|
-
},
|
|
1328
|
-
// Deferred helper
|
|
1329
|
-
when: function(e) {
|
|
1330
|
-
var t = arguments.length, n = t, r = Array(n), o = Z.call(arguments), u = i.Deferred(), a = function(c) {
|
|
1331
|
-
return function(f) {
|
|
1332
|
-
r[c] = this, o[c] = arguments.length > 1 ? Z.call(arguments) : f, --t || u.resolveWith(r, o);
|
|
1333
|
-
};
|
|
1334
|
-
};
|
|
1335
|
-
if (t <= 1 && (Gt(
|
|
1336
|
-
e,
|
|
1337
|
-
u.done(a(n)).resolve,
|
|
1338
|
-
u.reject,
|
|
1339
|
-
!t
|
|
1340
|
-
), u.state() === "pending" || L(o[n] && o[n].then)))
|
|
1341
|
-
return u.then();
|
|
1342
|
-
for (; n--; )
|
|
1343
|
-
Gt(o[n], a(n), u.reject);
|
|
1344
|
-
return u.promise();
|
|
1345
|
-
}
|
|
1346
|
-
});
|
|
1347
|
-
var Un = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
|
|
1348
|
-
i.Deferred.exceptionHook = function(e, t) {
|
|
1349
|
-
j.console && j.console.warn && e && Un.test(e.name) && j.console.warn(
|
|
1350
|
-
"jQuery.Deferred exception: " + e.message,
|
|
1351
|
-
e.stack,
|
|
1352
|
-
t
|
|
1353
|
-
);
|
|
1354
|
-
}, i.readyException = function(e) {
|
|
1355
|
-
j.setTimeout(function() {
|
|
1356
|
-
throw e;
|
|
1357
|
-
});
|
|
1358
|
-
};
|
|
1359
|
-
var ht = i.Deferred();
|
|
1360
|
-
i.fn.ready = function(e) {
|
|
1361
|
-
return ht.then(e).catch(function(t) {
|
|
1362
|
-
i.readyException(t);
|
|
1363
|
-
}), this;
|
|
1364
|
-
}, i.extend({
|
|
1365
|
-
// Is the DOM ready to be used? Set to true once it occurs.
|
|
1366
|
-
isReady: !1,
|
|
1367
|
-
// A counter to track how many items to wait for before
|
|
1368
|
-
// the ready event fires. See trac-6781
|
|
1369
|
-
readyWait: 1,
|
|
1370
|
-
// Handle when the DOM is ready
|
|
1371
|
-
ready: function(e) {
|
|
1372
|
-
(e === !0 ? --i.readyWait : i.isReady) || (i.isReady = !0, !(e !== !0 && --i.readyWait > 0) && ht.resolveWith(k, [i]));
|
|
1373
|
-
}
|
|
1374
|
-
}), i.ready.then = ht.then;
|
|
1375
|
-
function tt() {
|
|
1376
|
-
k.removeEventListener("DOMContentLoaded", tt), j.removeEventListener("load", tt), i.ready();
|
|
1377
|
-
}
|
|
1378
|
-
k.readyState === "complete" || k.readyState !== "loading" && !k.documentElement.doScroll ? j.setTimeout(i.ready) : (k.addEventListener("DOMContentLoaded", tt), j.addEventListener("load", tt));
|
|
1379
|
-
var he = function(e, t, n, r, o, u, a) {
|
|
1380
|
-
var c = 0, f = e.length, d = n == null;
|
|
1381
|
-
if (De(n) === "object") {
|
|
1382
|
-
o = !0;
|
|
1383
|
-
for (c in n)
|
|
1384
|
-
he(e, t, c, n[c], !0, u, a);
|
|
1385
|
-
} else if (r !== void 0 && (o = !0, L(r) || (a = !0), d && (a ? (t.call(e, r), t = null) : (d = t, t = function(y, b, h) {
|
|
1386
|
-
return d.call(i(y), h);
|
|
1387
|
-
})), t))
|
|
1388
|
-
for (; c < f; c++)
|
|
1389
|
-
t(
|
|
1390
|
-
e[c],
|
|
1391
|
-
n,
|
|
1392
|
-
a ? r : r.call(e[c], c, t(e[c], n))
|
|
1393
|
-
);
|
|
1394
|
-
return o ? e : d ? t.call(e) : f ? t(e[0], n) : u;
|
|
1395
|
-
}, Vn = /^-ms-/, Xn = /-([a-z])/g;
|
|
1396
|
-
function Gn(e, t) {
|
|
1397
|
-
return t.toUpperCase();
|
|
1398
|
-
}
|
|
1399
|
-
function ue(e) {
|
|
1400
|
-
return e.replace(Vn, "ms-").replace(Xn, Gn);
|
|
1401
|
-
}
|
|
1402
|
-
var We = function(e) {
|
|
1403
|
-
return e.nodeType === 1 || e.nodeType === 9 || !+e.nodeType;
|
|
1404
|
-
};
|
|
1405
|
-
function Fe() {
|
|
1406
|
-
this.expando = i.expando + Fe.uid++;
|
|
1407
|
-
}
|
|
1408
|
-
Fe.uid = 1, Fe.prototype = {
|
|
1409
|
-
cache: function(e) {
|
|
1410
|
-
var t = e[this.expando];
|
|
1411
|
-
return t || (t = {}, We(e) && (e.nodeType ? e[this.expando] = t : Object.defineProperty(e, this.expando, {
|
|
1412
|
-
value: t,
|
|
1413
|
-
configurable: !0
|
|
1414
|
-
}))), t;
|
|
1415
|
-
},
|
|
1416
|
-
set: function(e, t, n) {
|
|
1417
|
-
var r, o = this.cache(e);
|
|
1418
|
-
if (typeof t == "string")
|
|
1419
|
-
o[ue(t)] = n;
|
|
1420
|
-
else
|
|
1421
|
-
for (r in t)
|
|
1422
|
-
o[ue(r)] = t[r];
|
|
1423
|
-
return o;
|
|
1424
|
-
},
|
|
1425
|
-
get: function(e, t) {
|
|
1426
|
-
return t === void 0 ? this.cache(e) : (
|
|
1427
|
-
// Always use camelCase key (gh-2257)
|
|
1428
|
-
e[this.expando] && e[this.expando][ue(t)]
|
|
1429
|
-
);
|
|
1430
|
-
},
|
|
1431
|
-
access: function(e, t, n) {
|
|
1432
|
-
return t === void 0 || t && typeof t == "string" && n === void 0 ? this.get(e, t) : (this.set(e, t, n), n !== void 0 ? n : t);
|
|
1433
|
-
},
|
|
1434
|
-
remove: function(e, t) {
|
|
1435
|
-
var n, r = e[this.expando];
|
|
1436
|
-
if (r !== void 0) {
|
|
1437
|
-
if (t !== void 0)
|
|
1438
|
-
for (Array.isArray(t) ? t = t.map(ue) : (t = ue(t), t = t in r ? [t] : t.match(oe) || []), n = t.length; n--; )
|
|
1439
|
-
delete r[t[n]];
|
|
1440
|
-
(t === void 0 || i.isEmptyObject(r)) && (e.nodeType ? e[this.expando] = void 0 : delete e[this.expando]);
|
|
1441
|
-
}
|
|
1442
|
-
},
|
|
1443
|
-
hasData: function(e) {
|
|
1444
|
-
var t = e[this.expando];
|
|
1445
|
-
return t !== void 0 && !i.isEmptyObject(t);
|
|
1446
|
-
}
|
|
1447
|
-
};
|
|
1448
|
-
var S = new Fe(), Q = new Fe(), Qn = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, Yn = /[A-Z]/g;
|
|
1449
|
-
function Jn(e) {
|
|
1450
|
-
return e === "true" ? !0 : e === "false" ? !1 : e === "null" ? null : e === +e + "" ? +e : Qn.test(e) ? JSON.parse(e) : e;
|
|
1451
|
-
}
|
|
1452
|
-
function Qt(e, t, n) {
|
|
1453
|
-
var r;
|
|
1454
|
-
if (n === void 0 && e.nodeType === 1)
|
|
1455
|
-
if (r = "data-" + t.replace(Yn, "-$&").toLowerCase(), n = e.getAttribute(r), typeof n == "string") {
|
|
1456
|
-
try {
|
|
1457
|
-
n = Jn(n);
|
|
1458
|
-
} catch {
|
|
1459
|
-
}
|
|
1460
|
-
Q.set(e, t, n);
|
|
1461
|
-
} else
|
|
1462
|
-
n = void 0;
|
|
1463
|
-
return n;
|
|
1464
|
-
}
|
|
1465
|
-
i.extend({
|
|
1466
|
-
hasData: function(e) {
|
|
1467
|
-
return Q.hasData(e) || S.hasData(e);
|
|
1468
|
-
},
|
|
1469
|
-
data: function(e, t, n) {
|
|
1470
|
-
return Q.access(e, t, n);
|
|
1471
|
-
},
|
|
1472
|
-
removeData: function(e, t) {
|
|
1473
|
-
Q.remove(e, t);
|
|
1474
|
-
},
|
|
1475
|
-
// TODO: Now that all calls to _data and _removeData have been replaced
|
|
1476
|
-
// with direct calls to dataPriv methods, these can be deprecated.
|
|
1477
|
-
_data: function(e, t, n) {
|
|
1478
|
-
return S.access(e, t, n);
|
|
1479
|
-
},
|
|
1480
|
-
_removeData: function(e, t) {
|
|
1481
|
-
S.remove(e, t);
|
|
1482
|
-
}
|
|
1483
|
-
}), i.fn.extend({
|
|
1484
|
-
data: function(e, t) {
|
|
1485
|
-
var n, r, o, u = this[0], a = u && u.attributes;
|
|
1486
|
-
if (e === void 0) {
|
|
1487
|
-
if (this.length && (o = Q.get(u), u.nodeType === 1 && !S.get(u, "hasDataAttrs"))) {
|
|
1488
|
-
for (n = a.length; n--; )
|
|
1489
|
-
a[n] && (r = a[n].name, r.indexOf("data-") === 0 && (r = ue(r.slice(5)), Qt(u, r, o[r])));
|
|
1490
|
-
S.set(u, "hasDataAttrs", !0);
|
|
1491
|
-
}
|
|
1492
|
-
return o;
|
|
1493
|
-
}
|
|
1494
|
-
return typeof e == "object" ? this.each(function() {
|
|
1495
|
-
Q.set(this, e);
|
|
1496
|
-
}) : he(this, function(c) {
|
|
1497
|
-
var f;
|
|
1498
|
-
if (u && c === void 0)
|
|
1499
|
-
return f = Q.get(u, e), f !== void 0 || (f = Qt(u, e), f !== void 0) ? f : void 0;
|
|
1500
|
-
this.each(function() {
|
|
1501
|
-
Q.set(this, e, c);
|
|
1502
|
-
});
|
|
1503
|
-
}, null, t, arguments.length > 1, null, !0);
|
|
1504
|
-
},
|
|
1505
|
-
removeData: function(e) {
|
|
1506
|
-
return this.each(function() {
|
|
1507
|
-
Q.remove(this, e);
|
|
1508
|
-
});
|
|
1509
|
-
}
|
|
1510
|
-
}), i.extend({
|
|
1511
|
-
queue: function(e, t, n) {
|
|
1512
|
-
var r;
|
|
1513
|
-
if (e)
|
|
1514
|
-
return t = (t || "fx") + "queue", r = S.get(e, t), n && (!r || Array.isArray(n) ? r = S.access(e, t, i.makeArray(n)) : r.push(n)), r || [];
|
|
1515
|
-
},
|
|
1516
|
-
dequeue: function(e, t) {
|
|
1517
|
-
t = t || "fx";
|
|
1518
|
-
var n = i.queue(e, t), r = n.length, o = n.shift(), u = i._queueHooks(e, t), a = function() {
|
|
1519
|
-
i.dequeue(e, t);
|
|
1520
|
-
};
|
|
1521
|
-
o === "inprogress" && (o = n.shift(), r--), o && (t === "fx" && n.unshift("inprogress"), delete u.stop, o.call(e, a, u)), !r && u && u.empty.fire();
|
|
1522
|
-
},
|
|
1523
|
-
// Not public - generate a queueHooks object, or return the current one
|
|
1524
|
-
_queueHooks: function(e, t) {
|
|
1525
|
-
var n = t + "queueHooks";
|
|
1526
|
-
return S.get(e, n) || S.access(e, n, {
|
|
1527
|
-
empty: i.Callbacks("once memory").add(function() {
|
|
1528
|
-
S.remove(e, [t + "queue", n]);
|
|
1529
|
-
})
|
|
1530
|
-
});
|
|
1531
|
-
}
|
|
1532
|
-
}), i.fn.extend({
|
|
1533
|
-
queue: function(e, t) {
|
|
1534
|
-
var n = 2;
|
|
1535
|
-
return typeof e != "string" && (t = e, e = "fx", n--), arguments.length < n ? i.queue(this[0], e) : t === void 0 ? this : this.each(function() {
|
|
1536
|
-
var r = i.queue(this, e, t);
|
|
1537
|
-
i._queueHooks(this, e), e === "fx" && r[0] !== "inprogress" && i.dequeue(this, e);
|
|
1538
|
-
});
|
|
1539
|
-
},
|
|
1540
|
-
dequeue: function(e) {
|
|
1541
|
-
return this.each(function() {
|
|
1542
|
-
i.dequeue(this, e);
|
|
1543
|
-
});
|
|
1544
|
-
},
|
|
1545
|
-
clearQueue: function(e) {
|
|
1546
|
-
return this.queue(e || "fx", []);
|
|
1547
|
-
},
|
|
1548
|
-
// Get a promise resolved when queues of a certain type
|
|
1549
|
-
// are emptied (fx is the type by default)
|
|
1550
|
-
promise: function(e, t) {
|
|
1551
|
-
var n, r = 1, o = i.Deferred(), u = this, a = this.length, c = function() {
|
|
1552
|
-
--r || o.resolveWith(u, [u]);
|
|
1553
|
-
};
|
|
1554
|
-
for (typeof e != "string" && (t = e, e = void 0), e = e || "fx"; a--; )
|
|
1555
|
-
n = S.get(u[a], e + "queueHooks"), n && n.empty && (r++, n.empty.add(c));
|
|
1556
|
-
return c(), o.promise(t);
|
|
1557
|
-
}
|
|
1558
|
-
});
|
|
1559
|
-
var Yt = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, $e = new RegExp("^(?:([+-])=|)(" + Yt + ")([a-z%]*)$", "i"), ge = ["Top", "Right", "Bottom", "Left"], Te = k.documentElement, je = function(e) {
|
|
1560
|
-
return i.contains(e.ownerDocument, e);
|
|
1561
|
-
}, Kn = { composed: !0 };
|
|
1562
|
-
Te.getRootNode && (je = function(e) {
|
|
1563
|
-
return i.contains(e.ownerDocument, e) || e.getRootNode(Kn) === e.ownerDocument;
|
|
1564
|
-
});
|
|
1565
|
-
var nt = function(e, t) {
|
|
1566
|
-
return e = t || e, e.style.display === "none" || e.style.display === "" && // Otherwise, check computed style
|
|
1567
|
-
// Support: Firefox <=43 - 45
|
|
1568
|
-
// Disconnected elements can have computed display: none, so first confirm that elem is
|
|
1569
|
-
// in the document.
|
|
1570
|
-
je(e) && i.css(e, "display") === "none";
|
|
1571
|
-
};
|
|
1572
|
-
function Jt(e, t, n, r) {
|
|
1573
|
-
var o, u, a = 20, c = r ? function() {
|
|
1574
|
-
return r.cur();
|
|
1575
|
-
} : function() {
|
|
1576
|
-
return i.css(e, t, "");
|
|
1577
|
-
}, f = c(), d = n && n[3] || (i.cssNumber[t] ? "" : "px"), y = e.nodeType && (i.cssNumber[t] || d !== "px" && +f) && $e.exec(i.css(e, t));
|
|
1578
|
-
if (y && y[3] !== d) {
|
|
1579
|
-
for (f = f / 2, d = d || y[3], y = +f || 1; a--; )
|
|
1580
|
-
i.style(e, t, y + d), (1 - u) * (1 - (u = c() / f || 0.5)) <= 0 && (a = 0), y = y / u;
|
|
1581
|
-
y = y * 2, i.style(e, t, y + d), n = n || [];
|
|
1582
|
-
}
|
|
1583
|
-
return n && (y = +y || +f || 0, o = n[1] ? y + (n[1] + 1) * n[2] : +n[2], r && (r.unit = d, r.start = y, r.end = o)), o;
|
|
1584
|
-
}
|
|
1585
|
-
var Kt = {};
|
|
1586
|
-
function Zn(e) {
|
|
1587
|
-
var t, n = e.ownerDocument, r = e.nodeName, o = Kt[r];
|
|
1588
|
-
return o || (t = n.body.appendChild(n.createElement(r)), o = i.css(t, "display"), t.parentNode.removeChild(t), o === "none" && (o = "block"), Kt[r] = o, o);
|
|
1589
|
-
}
|
|
1590
|
-
function qe(e, t) {
|
|
1591
|
-
for (var n, r, o = [], u = 0, a = e.length; u < a; u++)
|
|
1592
|
-
r = e[u], r.style && (n = r.style.display, t ? (n === "none" && (o[u] = S.get(r, "display") || null, o[u] || (r.style.display = "")), r.style.display === "" && nt(r) && (o[u] = Zn(r))) : n !== "none" && (o[u] = "none", S.set(r, "display", n)));
|
|
1593
|
-
for (u = 0; u < a; u++)
|
|
1594
|
-
o[u] != null && (e[u].style.display = o[u]);
|
|
1595
|
-
return e;
|
|
1596
|
-
}
|
|
1597
|
-
i.fn.extend({
|
|
1598
|
-
show: function() {
|
|
1599
|
-
return qe(this, !0);
|
|
1600
|
-
},
|
|
1601
|
-
hide: function() {
|
|
1602
|
-
return qe(this);
|
|
1603
|
-
},
|
|
1604
|
-
toggle: function(e) {
|
|
1605
|
-
return typeof e == "boolean" ? e ? this.show() : this.hide() : this.each(function() {
|
|
1606
|
-
nt(this) ? i(this).show() : i(this).hide();
|
|
1607
|
-
});
|
|
1608
|
-
}
|
|
1609
|
-
});
|
|
1610
|
-
var Be = /^(?:checkbox|radio)$/i, Zt = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i, en = /^$|^module$|\/(?:java|ecma)script/i;
|
|
1611
|
-
(function() {
|
|
1612
|
-
var e = k.createDocumentFragment(), t = e.appendChild(k.createElement("div")), n = k.createElement("input");
|
|
1613
|
-
n.setAttribute("type", "radio"), n.setAttribute("checked", "checked"), n.setAttribute("name", "t"), t.appendChild(n), q.checkClone = t.cloneNode(!0).cloneNode(!0).lastChild.checked, t.innerHTML = "<textarea>x</textarea>", q.noCloneChecked = !!t.cloneNode(!0).lastChild.defaultValue, t.innerHTML = "<option></option>", q.option = !!t.lastChild;
|
|
1614
|
-
})();
|
|
1615
|
-
var ee = {
|
|
1616
|
-
// XHTML parsers do not magically insert elements in the
|
|
1617
|
-
// same way that tag soup parsers do. So we cannot shorten
|
|
1618
|
-
// this by omitting <tbody> or other required elements.
|
|
1619
|
-
thead: [1, "<table>", "</table>"],
|
|
1620
|
-
col: [2, "<table><colgroup>", "</colgroup></table>"],
|
|
1621
|
-
tr: [2, "<table><tbody>", "</tbody></table>"],
|
|
1622
|
-
td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
|
|
1623
|
-
_default: [0, "", ""]
|
|
1624
|
-
};
|
|
1625
|
-
ee.tbody = ee.tfoot = ee.colgroup = ee.caption = ee.thead, ee.th = ee.td, q.option || (ee.optgroup = ee.option = [1, "<select multiple='multiple'>", "</select>"]);
|
|
1626
|
-
function Y(e, t) {
|
|
1627
|
-
var n;
|
|
1628
|
-
return typeof e.getElementsByTagName < "u" ? n = e.getElementsByTagName(t || "*") : typeof e.querySelectorAll < "u" ? n = e.querySelectorAll(t || "*") : n = [], t === void 0 || t && $(e, t) ? i.merge([e], n) : n;
|
|
1629
|
-
}
|
|
1630
|
-
function gt(e, t) {
|
|
1631
|
-
for (var n = 0, r = e.length; n < r; n++)
|
|
1632
|
-
S.set(
|
|
1633
|
-
e[n],
|
|
1634
|
-
"globalEval",
|
|
1635
|
-
!t || S.get(t[n], "globalEval")
|
|
1636
|
-
);
|
|
1637
|
-
}
|
|
1638
|
-
var er = /<|&#?\w+;/;
|
|
1639
|
-
function tn(e, t, n, r, o) {
|
|
1640
|
-
for (var u, a, c, f, d, y, b = t.createDocumentFragment(), h = [], x = 0, D = e.length; x < D; x++)
|
|
1641
|
-
if (u = e[x], u || u === 0)
|
|
1642
|
-
if (De(u) === "object")
|
|
1643
|
-
i.merge(h, u.nodeType ? [u] : u);
|
|
1644
|
-
else if (!er.test(u))
|
|
1645
|
-
h.push(t.createTextNode(u));
|
|
1646
|
-
else {
|
|
1647
|
-
for (a = a || b.appendChild(t.createElement("div")), c = (Zt.exec(u) || ["", ""])[1].toLowerCase(), f = ee[c] || ee._default, a.innerHTML = f[1] + i.htmlPrefilter(u) + f[2], y = f[0]; y--; )
|
|
1648
|
-
a = a.lastChild;
|
|
1649
|
-
i.merge(h, a.childNodes), a = b.firstChild, a.textContent = "";
|
|
1650
|
-
}
|
|
1651
|
-
for (b.textContent = "", x = 0; u = h[x++]; ) {
|
|
1652
|
-
if (r && i.inArray(u, r) > -1) {
|
|
1653
|
-
o && o.push(u);
|
|
1654
|
-
continue;
|
|
1655
|
-
}
|
|
1656
|
-
if (d = je(u), a = Y(b.appendChild(u), "script"), d && gt(a), n)
|
|
1657
|
-
for (y = 0; u = a[y++]; )
|
|
1658
|
-
en.test(u.type || "") && n.push(u);
|
|
1659
|
-
}
|
|
1660
|
-
return b;
|
|
1661
|
-
}
|
|
1662
|
-
var nn = /^([^.]*)(?:\.(.+)|)/;
|
|
1663
|
-
function Le() {
|
|
1664
|
-
return !0;
|
|
1665
|
-
}
|
|
1666
|
-
function He() {
|
|
1667
|
-
return !1;
|
|
1668
|
-
}
|
|
1669
|
-
function yt(e, t, n, r, o, u) {
|
|
1670
|
-
var a, c;
|
|
1671
|
-
if (typeof t == "object") {
|
|
1672
|
-
typeof n != "string" && (r = r || n, n = void 0);
|
|
1673
|
-
for (c in t)
|
|
1674
|
-
yt(e, c, n, r, t[c], u);
|
|
1675
|
-
return e;
|
|
1676
|
-
}
|
|
1677
|
-
if (r == null && o == null ? (o = n, r = n = void 0) : o == null && (typeof n == "string" ? (o = r, r = void 0) : (o = r, r = n, n = void 0)), o === !1)
|
|
1678
|
-
o = He;
|
|
1679
|
-
else if (!o)
|
|
1680
|
-
return e;
|
|
1681
|
-
return u === 1 && (a = o, o = function(f) {
|
|
1682
|
-
return i().off(f), a.apply(this, arguments);
|
|
1683
|
-
}, o.guid = a.guid || (a.guid = i.guid++)), e.each(function() {
|
|
1684
|
-
i.event.add(this, t, o, r, n);
|
|
1685
|
-
});
|
|
1686
|
-
}
|
|
1687
|
-
i.event = {
|
|
1688
|
-
global: {},
|
|
1689
|
-
add: function(e, t, n, r, o) {
|
|
1690
|
-
var u, a, c, f, d, y, b, h, x, D, R, H = S.get(e);
|
|
1691
|
-
if (We(e))
|
|
1692
|
-
for (n.handler && (u = n, n = u.handler, o = u.selector), o && i.find.matchesSelector(Te, o), n.guid || (n.guid = i.guid++), (f = H.events) || (f = H.events = /* @__PURE__ */ Object.create(null)), (a = H.handle) || (a = H.handle = function(V) {
|
|
1693
|
-
return typeof i < "u" && i.event.triggered !== V.type ? i.event.dispatch.apply(e, arguments) : void 0;
|
|
1694
|
-
}), t = (t || "").match(oe) || [""], d = t.length; d--; )
|
|
1695
|
-
c = nn.exec(t[d]) || [], x = R = c[1], D = (c[2] || "").split(".").sort(), x && (b = i.event.special[x] || {}, x = (o ? b.delegateType : b.bindType) || x, b = i.event.special[x] || {}, y = i.extend({
|
|
1696
|
-
type: x,
|
|
1697
|
-
origType: R,
|
|
1698
|
-
data: r,
|
|
1699
|
-
handler: n,
|
|
1700
|
-
guid: n.guid,
|
|
1701
|
-
selector: o,
|
|
1702
|
-
needsContext: o && i.expr.match.needsContext.test(o),
|
|
1703
|
-
namespace: D.join(".")
|
|
1704
|
-
}, u), (h = f[x]) || (h = f[x] = [], h.delegateCount = 0, (!b.setup || b.setup.call(e, r, D, a) === !1) && e.addEventListener && e.addEventListener(x, a)), b.add && (b.add.call(e, y), y.handler.guid || (y.handler.guid = n.guid)), o ? h.splice(h.delegateCount++, 0, y) : h.push(y), i.event.global[x] = !0);
|
|
1705
|
-
},
|
|
1706
|
-
// Detach an event or set of events from an element
|
|
1707
|
-
remove: function(e, t, n, r, o) {
|
|
1708
|
-
var u, a, c, f, d, y, b, h, x, D, R, H = S.hasData(e) && S.get(e);
|
|
1709
|
-
if (!(!H || !(f = H.events))) {
|
|
1710
|
-
for (t = (t || "").match(oe) || [""], d = t.length; d--; ) {
|
|
1711
|
-
if (c = nn.exec(t[d]) || [], x = R = c[1], D = (c[2] || "").split(".").sort(), !x) {
|
|
1712
|
-
for (x in f)
|
|
1713
|
-
i.event.remove(e, x + t[d], n, r, !0);
|
|
1714
|
-
continue;
|
|
1715
|
-
}
|
|
1716
|
-
for (b = i.event.special[x] || {}, x = (r ? b.delegateType : b.bindType) || x, h = f[x] || [], c = c[2] && new RegExp("(^|\\.)" + D.join("\\.(?:.*\\.|)") + "(\\.|$)"), a = u = h.length; u--; )
|
|
1717
|
-
y = h[u], (o || R === y.origType) && (!n || n.guid === y.guid) && (!c || c.test(y.namespace)) && (!r || r === y.selector || r === "**" && y.selector) && (h.splice(u, 1), y.selector && h.delegateCount--, b.remove && b.remove.call(e, y));
|
|
1718
|
-
a && !h.length && ((!b.teardown || b.teardown.call(e, D, H.handle) === !1) && i.removeEvent(e, x, H.handle), delete f[x]);
|
|
1719
|
-
}
|
|
1720
|
-
i.isEmptyObject(f) && S.remove(e, "handle events");
|
|
1721
|
-
}
|
|
1722
|
-
},
|
|
1723
|
-
dispatch: function(e) {
|
|
1724
|
-
var t, n, r, o, u, a, c = new Array(arguments.length), f = i.event.fix(e), d = (S.get(this, "events") || /* @__PURE__ */ Object.create(null))[f.type] || [], y = i.event.special[f.type] || {};
|
|
1725
|
-
for (c[0] = f, t = 1; t < arguments.length; t++)
|
|
1726
|
-
c[t] = arguments[t];
|
|
1727
|
-
if (f.delegateTarget = this, !(y.preDispatch && y.preDispatch.call(this, f) === !1)) {
|
|
1728
|
-
for (a = i.event.handlers.call(this, f, d), t = 0; (o = a[t++]) && !f.isPropagationStopped(); )
|
|
1729
|
-
for (f.currentTarget = o.elem, n = 0; (u = o.handlers[n++]) && !f.isImmediatePropagationStopped(); )
|
|
1730
|
-
(!f.rnamespace || u.namespace === !1 || f.rnamespace.test(u.namespace)) && (f.handleObj = u, f.data = u.data, r = ((i.event.special[u.origType] || {}).handle || u.handler).apply(o.elem, c), r !== void 0 && (f.result = r) === !1 && (f.preventDefault(), f.stopPropagation()));
|
|
1731
|
-
return y.postDispatch && y.postDispatch.call(this, f), f.result;
|
|
1732
|
-
}
|
|
1733
|
-
},
|
|
1734
|
-
handlers: function(e, t) {
|
|
1735
|
-
var n, r, o, u, a, c = [], f = t.delegateCount, d = e.target;
|
|
1736
|
-
if (f && // Support: IE <=9
|
|
1737
|
-
// Black-hole SVG <use> instance trees (trac-13180)
|
|
1738
|
-
d.nodeType && // Support: Firefox <=42
|
|
1739
|
-
// Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)
|
|
1740
|
-
// https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click
|
|
1741
|
-
// Support: IE 11 only
|
|
1742
|
-
// ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343)
|
|
1743
|
-
!(e.type === "click" && e.button >= 1)) {
|
|
1744
|
-
for (; d !== this; d = d.parentNode || this)
|
|
1745
|
-
if (d.nodeType === 1 && !(e.type === "click" && d.disabled === !0)) {
|
|
1746
|
-
for (u = [], a = {}, n = 0; n < f; n++)
|
|
1747
|
-
r = t[n], o = r.selector + " ", a[o] === void 0 && (a[o] = r.needsContext ? i(o, this).index(d) > -1 : i.find(o, this, null, [d]).length), a[o] && u.push(r);
|
|
1748
|
-
u.length && c.push({ elem: d, handlers: u });
|
|
1749
|
-
}
|
|
1750
|
-
}
|
|
1751
|
-
return d = this, f < t.length && c.push({ elem: d, handlers: t.slice(f) }), c;
|
|
1752
|
-
},
|
|
1753
|
-
addProp: function(e, t) {
|
|
1754
|
-
Object.defineProperty(i.Event.prototype, e, {
|
|
1755
|
-
enumerable: !0,
|
|
1756
|
-
configurable: !0,
|
|
1757
|
-
get: L(t) ? function() {
|
|
1758
|
-
if (this.originalEvent)
|
|
1759
|
-
return t(this.originalEvent);
|
|
1760
|
-
} : function() {
|
|
1761
|
-
if (this.originalEvent)
|
|
1762
|
-
return this.originalEvent[e];
|
|
1763
|
-
},
|
|
1764
|
-
set: function(n) {
|
|
1765
|
-
Object.defineProperty(this, e, {
|
|
1766
|
-
enumerable: !0,
|
|
1767
|
-
configurable: !0,
|
|
1768
|
-
writable: !0,
|
|
1769
|
-
value: n
|
|
1770
|
-
});
|
|
1771
|
-
}
|
|
1772
|
-
});
|
|
1773
|
-
},
|
|
1774
|
-
fix: function(e) {
|
|
1775
|
-
return e[i.expando] ? e : new i.Event(e);
|
|
1776
|
-
},
|
|
1777
|
-
special: {
|
|
1778
|
-
load: {
|
|
1779
|
-
// Prevent triggered image.load events from bubbling to window.load
|
|
1780
|
-
noBubble: !0
|
|
1781
|
-
},
|
|
1782
|
-
click: {
|
|
1783
|
-
// Utilize native event to ensure correct state for checkable inputs
|
|
1784
|
-
setup: function(e) {
|
|
1785
|
-
var t = this || e;
|
|
1786
|
-
return Be.test(t.type) && t.click && $(t, "input") && rt(t, "click", !0), !1;
|
|
1787
|
-
},
|
|
1788
|
-
trigger: function(e) {
|
|
1789
|
-
var t = this || e;
|
|
1790
|
-
return Be.test(t.type) && t.click && $(t, "input") && rt(t, "click"), !0;
|
|
1791
|
-
},
|
|
1792
|
-
// For cross-browser consistency, suppress native .click() on links
|
|
1793
|
-
// Also prevent it if we're currently inside a leveraged native-event stack
|
|
1794
|
-
_default: function(e) {
|
|
1795
|
-
var t = e.target;
|
|
1796
|
-
return Be.test(t.type) && t.click && $(t, "input") && S.get(t, "click") || $(t, "a");
|
|
1797
|
-
}
|
|
1798
|
-
},
|
|
1799
|
-
beforeunload: {
|
|
1800
|
-
postDispatch: function(e) {
|
|
1801
|
-
e.result !== void 0 && e.originalEvent && (e.originalEvent.returnValue = e.result);
|
|
1802
|
-
}
|
|
1803
|
-
}
|
|
1804
|
-
}
|
|
1805
|
-
};
|
|
1806
|
-
function rt(e, t, n) {
|
|
1807
|
-
if (!n) {
|
|
1808
|
-
S.get(e, t) === void 0 && i.event.add(e, t, Le);
|
|
1809
|
-
return;
|
|
1810
|
-
}
|
|
1811
|
-
S.set(e, t, !1), i.event.add(e, t, {
|
|
1812
|
-
namespace: !1,
|
|
1813
|
-
handler: function(r) {
|
|
1814
|
-
var o, u = S.get(this, t);
|
|
1815
|
-
if (r.isTrigger & 1 && this[t]) {
|
|
1816
|
-
if (u)
|
|
1817
|
-
(i.event.special[t] || {}).delegateType && r.stopPropagation();
|
|
1818
|
-
else if (u = Z.call(arguments), S.set(this, t, u), this[t](), o = S.get(this, t), S.set(this, t, !1), u !== o)
|
|
1819
|
-
return r.stopImmediatePropagation(), r.preventDefault(), o;
|
|
1820
|
-
} else u && (S.set(this, t, i.event.trigger(
|
|
1821
|
-
u[0],
|
|
1822
|
-
u.slice(1),
|
|
1823
|
-
this
|
|
1824
|
-
)), r.stopPropagation(), r.isImmediatePropagationStopped = Le);
|
|
1825
|
-
}
|
|
1826
|
-
});
|
|
1827
|
-
}
|
|
1828
|
-
i.removeEvent = function(e, t, n) {
|
|
1829
|
-
e.removeEventListener && e.removeEventListener(t, n);
|
|
1830
|
-
}, i.Event = function(e, t) {
|
|
1831
|
-
if (!(this instanceof i.Event))
|
|
1832
|
-
return new i.Event(e, t);
|
|
1833
|
-
e && e.type ? (this.originalEvent = e, this.type = e.type, this.isDefaultPrevented = e.defaultPrevented || e.defaultPrevented === void 0 && // Support: Android <=2.3 only
|
|
1834
|
-
e.returnValue === !1 ? Le : He, this.target = e.target && e.target.nodeType === 3 ? e.target.parentNode : e.target, this.currentTarget = e.currentTarget, this.relatedTarget = e.relatedTarget) : this.type = e, t && i.extend(this, t), this.timeStamp = e && e.timeStamp || Date.now(), this[i.expando] = !0;
|
|
1835
|
-
}, i.Event.prototype = {
|
|
1836
|
-
constructor: i.Event,
|
|
1837
|
-
isDefaultPrevented: He,
|
|
1838
|
-
isPropagationStopped: He,
|
|
1839
|
-
isImmediatePropagationStopped: He,
|
|
1840
|
-
isSimulated: !1,
|
|
1841
|
-
preventDefault: function() {
|
|
1842
|
-
var e = this.originalEvent;
|
|
1843
|
-
this.isDefaultPrevented = Le, e && !this.isSimulated && e.preventDefault();
|
|
1844
|
-
},
|
|
1845
|
-
stopPropagation: function() {
|
|
1846
|
-
var e = this.originalEvent;
|
|
1847
|
-
this.isPropagationStopped = Le, e && !this.isSimulated && e.stopPropagation();
|
|
1848
|
-
},
|
|
1849
|
-
stopImmediatePropagation: function() {
|
|
1850
|
-
var e = this.originalEvent;
|
|
1851
|
-
this.isImmediatePropagationStopped = Le, e && !this.isSimulated && e.stopImmediatePropagation(), this.stopPropagation();
|
|
1852
|
-
}
|
|
1853
|
-
}, i.each({
|
|
1854
|
-
altKey: !0,
|
|
1855
|
-
bubbles: !0,
|
|
1856
|
-
cancelable: !0,
|
|
1857
|
-
changedTouches: !0,
|
|
1858
|
-
ctrlKey: !0,
|
|
1859
|
-
detail: !0,
|
|
1860
|
-
eventPhase: !0,
|
|
1861
|
-
metaKey: !0,
|
|
1862
|
-
pageX: !0,
|
|
1863
|
-
pageY: !0,
|
|
1864
|
-
shiftKey: !0,
|
|
1865
|
-
view: !0,
|
|
1866
|
-
char: !0,
|
|
1867
|
-
code: !0,
|
|
1868
|
-
charCode: !0,
|
|
1869
|
-
key: !0,
|
|
1870
|
-
keyCode: !0,
|
|
1871
|
-
button: !0,
|
|
1872
|
-
buttons: !0,
|
|
1873
|
-
clientX: !0,
|
|
1874
|
-
clientY: !0,
|
|
1875
|
-
offsetX: !0,
|
|
1876
|
-
offsetY: !0,
|
|
1877
|
-
pointerId: !0,
|
|
1878
|
-
pointerType: !0,
|
|
1879
|
-
screenX: !0,
|
|
1880
|
-
screenY: !0,
|
|
1881
|
-
targetTouches: !0,
|
|
1882
|
-
toElement: !0,
|
|
1883
|
-
touches: !0,
|
|
1884
|
-
which: !0
|
|
1885
|
-
}, i.event.addProp), i.each({ focus: "focusin", blur: "focusout" }, function(e, t) {
|
|
1886
|
-
function n(r) {
|
|
1887
|
-
if (k.documentMode) {
|
|
1888
|
-
var o = S.get(this, "handle"), u = i.event.fix(r);
|
|
1889
|
-
u.type = r.type === "focusin" ? "focus" : "blur", u.isSimulated = !0, o(r), u.target === u.currentTarget && o(u);
|
|
1890
|
-
} else
|
|
1891
|
-
i.event.simulate(
|
|
1892
|
-
t,
|
|
1893
|
-
r.target,
|
|
1894
|
-
i.event.fix(r)
|
|
1895
|
-
);
|
|
1896
|
-
}
|
|
1897
|
-
i.event.special[e] = {
|
|
1898
|
-
// Utilize native event if possible so blur/focus sequence is correct
|
|
1899
|
-
setup: function() {
|
|
1900
|
-
var r;
|
|
1901
|
-
if (rt(this, e, !0), k.documentMode)
|
|
1902
|
-
r = S.get(this, t), r || this.addEventListener(t, n), S.set(this, t, (r || 0) + 1);
|
|
1903
|
-
else
|
|
1904
|
-
return !1;
|
|
1905
|
-
},
|
|
1906
|
-
trigger: function() {
|
|
1907
|
-
return rt(this, e), !0;
|
|
1908
|
-
},
|
|
1909
|
-
teardown: function() {
|
|
1910
|
-
var r;
|
|
1911
|
-
if (k.documentMode)
|
|
1912
|
-
r = S.get(this, t) - 1, r ? S.set(this, t, r) : (this.removeEventListener(t, n), S.remove(this, t));
|
|
1913
|
-
else
|
|
1914
|
-
return !1;
|
|
1915
|
-
},
|
|
1916
|
-
// Suppress native focus or blur if we're currently inside
|
|
1917
|
-
// a leveraged native-event stack
|
|
1918
|
-
_default: function(r) {
|
|
1919
|
-
return S.get(r.target, e);
|
|
1920
|
-
},
|
|
1921
|
-
delegateType: t
|
|
1922
|
-
}, i.event.special[t] = {
|
|
1923
|
-
setup: function() {
|
|
1924
|
-
var r = this.ownerDocument || this.document || this, o = k.documentMode ? this : r, u = S.get(o, t);
|
|
1925
|
-
u || (k.documentMode ? this.addEventListener(t, n) : r.addEventListener(e, n, !0)), S.set(o, t, (u || 0) + 1);
|
|
1926
|
-
},
|
|
1927
|
-
teardown: function() {
|
|
1928
|
-
var r = this.ownerDocument || this.document || this, o = k.documentMode ? this : r, u = S.get(o, t) - 1;
|
|
1929
|
-
u ? S.set(o, t, u) : (k.documentMode ? this.removeEventListener(t, n) : r.removeEventListener(e, n, !0), S.remove(o, t));
|
|
1930
|
-
}
|
|
1931
|
-
};
|
|
1932
|
-
}), i.each({
|
|
1933
|
-
mouseenter: "mouseover",
|
|
1934
|
-
mouseleave: "mouseout",
|
|
1935
|
-
pointerenter: "pointerover",
|
|
1936
|
-
pointerleave: "pointerout"
|
|
1937
|
-
}, function(e, t) {
|
|
1938
|
-
i.event.special[e] = {
|
|
1939
|
-
delegateType: t,
|
|
1940
|
-
bindType: t,
|
|
1941
|
-
handle: function(n) {
|
|
1942
|
-
var r, o = this, u = n.relatedTarget, a = n.handleObj;
|
|
1943
|
-
return (!u || u !== o && !i.contains(o, u)) && (n.type = a.origType, r = a.handler.apply(this, arguments), n.type = t), r;
|
|
1944
|
-
}
|
|
1945
|
-
};
|
|
1946
|
-
}), i.fn.extend({
|
|
1947
|
-
on: function(e, t, n, r) {
|
|
1948
|
-
return yt(this, e, t, n, r);
|
|
1949
|
-
},
|
|
1950
|
-
one: function(e, t, n, r) {
|
|
1951
|
-
return yt(this, e, t, n, r, 1);
|
|
1952
|
-
},
|
|
1953
|
-
off: function(e, t, n) {
|
|
1954
|
-
var r, o;
|
|
1955
|
-
if (e && e.preventDefault && e.handleObj)
|
|
1956
|
-
return r = e.handleObj, i(e.delegateTarget).off(
|
|
1957
|
-
r.namespace ? r.origType + "." + r.namespace : r.origType,
|
|
1958
|
-
r.selector,
|
|
1959
|
-
r.handler
|
|
1960
|
-
), this;
|
|
1961
|
-
if (typeof e == "object") {
|
|
1962
|
-
for (o in e)
|
|
1963
|
-
this.off(o, t, e[o]);
|
|
1964
|
-
return this;
|
|
1965
|
-
}
|
|
1966
|
-
return (t === !1 || typeof t == "function") && (n = t, t = void 0), n === !1 && (n = He), this.each(function() {
|
|
1967
|
-
i.event.remove(this, e, n, t);
|
|
1968
|
-
});
|
|
1969
|
-
}
|
|
1970
|
-
});
|
|
1971
|
-
var tr = /<script|<style|<link/i, nr = /checked\s*(?:[^=]|=\s*.checked.)/i, rr = /^\s*<!\[CDATA\[|\]\]>\s*$/g;
|
|
1972
|
-
function rn(e, t) {
|
|
1973
|
-
return $(e, "table") && $(t.nodeType !== 11 ? t : t.firstChild, "tr") && i(e).children("tbody")[0] || e;
|
|
1974
|
-
}
|
|
1975
|
-
function ir(e) {
|
|
1976
|
-
return e.type = (e.getAttribute("type") !== null) + "/" + e.type, e;
|
|
1977
|
-
}
|
|
1978
|
-
function or(e) {
|
|
1979
|
-
return (e.type || "").slice(0, 5) === "true/" ? e.type = e.type.slice(5) : e.removeAttribute("type"), e;
|
|
1980
|
-
}
|
|
1981
|
-
function on(e, t) {
|
|
1982
|
-
var n, r, o, u, a, c, f;
|
|
1983
|
-
if (t.nodeType === 1) {
|
|
1984
|
-
if (S.hasData(e) && (u = S.get(e), f = u.events, f)) {
|
|
1985
|
-
S.remove(t, "handle events");
|
|
1986
|
-
for (o in f)
|
|
1987
|
-
for (n = 0, r = f[o].length; n < r; n++)
|
|
1988
|
-
i.event.add(t, o, f[o][n]);
|
|
1989
|
-
}
|
|
1990
|
-
Q.hasData(e) && (a = Q.access(e), c = i.extend({}, a), Q.set(t, c));
|
|
1991
|
-
}
|
|
1992
|
-
}
|
|
1993
|
-
function ur(e, t) {
|
|
1994
|
-
var n = t.nodeName.toLowerCase();
|
|
1995
|
-
n === "input" && Be.test(e.type) ? t.checked = e.checked : (n === "input" || n === "textarea") && (t.defaultValue = e.defaultValue);
|
|
1996
|
-
}
|
|
1997
|
-
function Oe(e, t, n, r) {
|
|
1998
|
-
t = It(t);
|
|
1999
|
-
var o, u, a, c, f, d, y = 0, b = e.length, h = b - 1, x = t[0], D = L(x);
|
|
2000
|
-
if (D || b > 1 && typeof x == "string" && !q.checkClone && nr.test(x))
|
|
2001
|
-
return e.each(function(R) {
|
|
2002
|
-
var H = e.eq(R);
|
|
2003
|
-
D && (t[0] = x.call(this, R, H.html())), Oe(H, t, n, r);
|
|
2004
|
-
});
|
|
2005
|
-
if (b && (o = tn(t, e[0].ownerDocument, !1, e, r), u = o.firstChild, o.childNodes.length === 1 && (o = u), u || r)) {
|
|
2006
|
-
for (a = i.map(Y(o, "script"), ir), c = a.length; y < b; y++)
|
|
2007
|
-
f = o, y !== h && (f = i.clone(f, !0, !0), c && i.merge(a, Y(f, "script"))), n.call(e[y], f, y);
|
|
2008
|
-
if (c)
|
|
2009
|
-
for (d = a[a.length - 1].ownerDocument, i.map(a, or), y = 0; y < c; y++)
|
|
2010
|
-
f = a[y], en.test(f.type || "") && !S.access(f, "globalEval") && i.contains(d, f) && (f.src && (f.type || "").toLowerCase() !== "module" ? i._evalUrl && !f.noModule && i._evalUrl(f.src, {
|
|
2011
|
-
nonce: f.nonce || f.getAttribute("nonce")
|
|
2012
|
-
}, d) : Ft(f.textContent.replace(rr, ""), f, d));
|
|
2013
|
-
}
|
|
2014
|
-
return e;
|
|
2015
|
-
}
|
|
2016
|
-
function un(e, t, n) {
|
|
2017
|
-
for (var r, o = t ? i.filter(t, e) : e, u = 0; (r = o[u]) != null; u++)
|
|
2018
|
-
!n && r.nodeType === 1 && i.cleanData(Y(r)), r.parentNode && (n && je(r) && gt(Y(r, "script")), r.parentNode.removeChild(r));
|
|
2019
|
-
return e;
|
|
2020
|
-
}
|
|
2021
|
-
i.extend({
|
|
2022
|
-
htmlPrefilter: function(e) {
|
|
2023
|
-
return e;
|
|
2024
|
-
},
|
|
2025
|
-
clone: function(e, t, n) {
|
|
2026
|
-
var r, o, u, a, c = e.cloneNode(!0), f = je(e);
|
|
2027
|
-
if (!q.noCloneChecked && (e.nodeType === 1 || e.nodeType === 11) && !i.isXMLDoc(e))
|
|
2028
|
-
for (a = Y(c), u = Y(e), r = 0, o = u.length; r < o; r++)
|
|
2029
|
-
ur(u[r], a[r]);
|
|
2030
|
-
if (t)
|
|
2031
|
-
if (n)
|
|
2032
|
-
for (u = u || Y(e), a = a || Y(c), r = 0, o = u.length; r < o; r++)
|
|
2033
|
-
on(u[r], a[r]);
|
|
2034
|
-
else
|
|
2035
|
-
on(e, c);
|
|
2036
|
-
return a = Y(c, "script"), a.length > 0 && gt(a, !f && Y(e, "script")), c;
|
|
2037
|
-
},
|
|
2038
|
-
cleanData: function(e) {
|
|
2039
|
-
for (var t, n, r, o = i.event.special, u = 0; (n = e[u]) !== void 0; u++)
|
|
2040
|
-
if (We(n)) {
|
|
2041
|
-
if (t = n[S.expando]) {
|
|
2042
|
-
if (t.events)
|
|
2043
|
-
for (r in t.events)
|
|
2044
|
-
o[r] ? i.event.remove(n, r) : i.removeEvent(n, r, t.handle);
|
|
2045
|
-
n[S.expando] = void 0;
|
|
2046
|
-
}
|
|
2047
|
-
n[Q.expando] && (n[Q.expando] = void 0);
|
|
2048
|
-
}
|
|
2049
|
-
}
|
|
2050
|
-
}), i.fn.extend({
|
|
2051
|
-
detach: function(e) {
|
|
2052
|
-
return un(this, e, !0);
|
|
2053
|
-
},
|
|
2054
|
-
remove: function(e) {
|
|
2055
|
-
return un(this, e);
|
|
2056
|
-
},
|
|
2057
|
-
text: function(e) {
|
|
2058
|
-
return he(this, function(t) {
|
|
2059
|
-
return t === void 0 ? i.text(this) : this.empty().each(function() {
|
|
2060
|
-
(this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) && (this.textContent = t);
|
|
2061
|
-
});
|
|
2062
|
-
}, null, e, arguments.length);
|
|
2063
|
-
},
|
|
2064
|
-
append: function() {
|
|
2065
|
-
return Oe(this, arguments, function(e) {
|
|
2066
|
-
if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
|
|
2067
|
-
var t = rn(this, e);
|
|
2068
|
-
t.appendChild(e);
|
|
2069
|
-
}
|
|
2070
|
-
});
|
|
2071
|
-
},
|
|
2072
|
-
prepend: function() {
|
|
2073
|
-
return Oe(this, arguments, function(e) {
|
|
2074
|
-
if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
|
|
2075
|
-
var t = rn(this, e);
|
|
2076
|
-
t.insertBefore(e, t.firstChild);
|
|
2077
|
-
}
|
|
2078
|
-
});
|
|
2079
|
-
},
|
|
2080
|
-
before: function() {
|
|
2081
|
-
return Oe(this, arguments, function(e) {
|
|
2082
|
-
this.parentNode && this.parentNode.insertBefore(e, this);
|
|
2083
|
-
});
|
|
2084
|
-
},
|
|
2085
|
-
after: function() {
|
|
2086
|
-
return Oe(this, arguments, function(e) {
|
|
2087
|
-
this.parentNode && this.parentNode.insertBefore(e, this.nextSibling);
|
|
2088
|
-
});
|
|
2089
|
-
},
|
|
2090
|
-
empty: function() {
|
|
2091
|
-
for (var e, t = 0; (e = this[t]) != null; t++)
|
|
2092
|
-
e.nodeType === 1 && (i.cleanData(Y(e, !1)), e.textContent = "");
|
|
2093
|
-
return this;
|
|
2094
|
-
},
|
|
2095
|
-
clone: function(e, t) {
|
|
2096
|
-
return e = e ?? !1, t = t ?? e, this.map(function() {
|
|
2097
|
-
return i.clone(this, e, t);
|
|
2098
|
-
});
|
|
2099
|
-
},
|
|
2100
|
-
html: function(e) {
|
|
2101
|
-
return he(this, function(t) {
|
|
2102
|
-
var n = this[0] || {}, r = 0, o = this.length;
|
|
2103
|
-
if (t === void 0 && n.nodeType === 1)
|
|
2104
|
-
return n.innerHTML;
|
|
2105
|
-
if (typeof t == "string" && !tr.test(t) && !ee[(Zt.exec(t) || ["", ""])[1].toLowerCase()]) {
|
|
2106
|
-
t = i.htmlPrefilter(t);
|
|
2107
|
-
try {
|
|
2108
|
-
for (; r < o; r++)
|
|
2109
|
-
n = this[r] || {}, n.nodeType === 1 && (i.cleanData(Y(n, !1)), n.innerHTML = t);
|
|
2110
|
-
n = 0;
|
|
2111
|
-
} catch {
|
|
2112
|
-
}
|
|
2113
|
-
}
|
|
2114
|
-
n && this.empty().append(t);
|
|
2115
|
-
}, null, e, arguments.length);
|
|
2116
|
-
},
|
|
2117
|
-
replaceWith: function() {
|
|
2118
|
-
var e = [];
|
|
2119
|
-
return Oe(this, arguments, function(t) {
|
|
2120
|
-
var n = this.parentNode;
|
|
2121
|
-
i.inArray(this, e) < 0 && (i.cleanData(Y(this)), n && n.replaceChild(t, this));
|
|
2122
|
-
}, e);
|
|
2123
|
-
}
|
|
2124
|
-
}), i.each({
|
|
2125
|
-
appendTo: "append",
|
|
2126
|
-
prependTo: "prepend",
|
|
2127
|
-
insertBefore: "before",
|
|
2128
|
-
insertAfter: "after",
|
|
2129
|
-
replaceAll: "replaceWith"
|
|
2130
|
-
}, function(e, t) {
|
|
2131
|
-
i.fn[e] = function(n) {
|
|
2132
|
-
for (var r, o = [], u = i(n), a = u.length - 1, c = 0; c <= a; c++)
|
|
2133
|
-
r = c === a ? this : this.clone(!0), i(u[c])[t](r), Ke.apply(o, r.get());
|
|
2134
|
-
return this.pushStack(o);
|
|
2135
|
-
};
|
|
2136
|
-
});
|
|
2137
|
-
var vt = new RegExp("^(" + Yt + ")(?!px)[a-z%]+$", "i"), bt = /^--/, it = function(e) {
|
|
2138
|
-
var t = e.ownerDocument.defaultView;
|
|
2139
|
-
return (!t || !t.opener) && (t = j), t.getComputedStyle(e);
|
|
2140
|
-
}, an = function(e, t, n) {
|
|
2141
|
-
var r, o, u = {};
|
|
2142
|
-
for (o in t)
|
|
2143
|
-
u[o] = e.style[o], e.style[o] = t[o];
|
|
2144
|
-
r = n.call(e);
|
|
2145
|
-
for (o in t)
|
|
2146
|
-
e.style[o] = u[o];
|
|
2147
|
-
return r;
|
|
2148
|
-
}, ar = new RegExp(ge.join("|"), "i");
|
|
2149
|
-
(function() {
|
|
2150
|
-
function e() {
|
|
2151
|
-
if (d) {
|
|
2152
|
-
f.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0", d.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%", Te.appendChild(f).appendChild(d);
|
|
2153
|
-
var y = j.getComputedStyle(d);
|
|
2154
|
-
n = y.top !== "1%", c = t(y.marginLeft) === 12, d.style.right = "60%", u = t(y.right) === 36, r = t(y.width) === 36, d.style.position = "absolute", o = t(d.offsetWidth / 3) === 12, Te.removeChild(f), d = null;
|
|
2155
|
-
}
|
|
2156
|
-
}
|
|
2157
|
-
function t(y) {
|
|
2158
|
-
return Math.round(parseFloat(y));
|
|
2159
|
-
}
|
|
2160
|
-
var n, r, o, u, a, c, f = k.createElement("div"), d = k.createElement("div");
|
|
2161
|
-
d.style && (d.style.backgroundClip = "content-box", d.cloneNode(!0).style.backgroundClip = "", q.clearCloneStyle = d.style.backgroundClip === "content-box", i.extend(q, {
|
|
2162
|
-
boxSizingReliable: function() {
|
|
2163
|
-
return e(), r;
|
|
2164
|
-
},
|
|
2165
|
-
pixelBoxStyles: function() {
|
|
2166
|
-
return e(), u;
|
|
2167
|
-
},
|
|
2168
|
-
pixelPosition: function() {
|
|
2169
|
-
return e(), n;
|
|
2170
|
-
},
|
|
2171
|
-
reliableMarginLeft: function() {
|
|
2172
|
-
return e(), c;
|
|
2173
|
-
},
|
|
2174
|
-
scrollboxSize: function() {
|
|
2175
|
-
return e(), o;
|
|
2176
|
-
},
|
|
2177
|
-
// Support: IE 9 - 11+, Edge 15 - 18+
|
|
2178
|
-
// IE/Edge misreport `getComputedStyle` of table rows with width/height
|
|
2179
|
-
// set in CSS while `offset*` properties report correct values.
|
|
2180
|
-
// Behavior in IE 9 is more subtle than in newer versions & it passes
|
|
2181
|
-
// some versions of this test; make sure not to make it pass there!
|
|
2182
|
-
//
|
|
2183
|
-
// Support: Firefox 70+
|
|
2184
|
-
// Only Firefox includes border widths
|
|
2185
|
-
// in computed dimensions. (gh-4529)
|
|
2186
|
-
reliableTrDimensions: function() {
|
|
2187
|
-
var y, b, h, x;
|
|
2188
|
-
return a == null && (y = k.createElement("table"), b = k.createElement("tr"), h = k.createElement("div"), y.style.cssText = "position:absolute;left:-11111px;border-collapse:separate", b.style.cssText = "box-sizing:content-box;border:1px solid", b.style.height = "1px", h.style.height = "9px", h.style.display = "block", Te.appendChild(y).appendChild(b).appendChild(h), x = j.getComputedStyle(b), a = parseInt(x.height, 10) + parseInt(x.borderTopWidth, 10) + parseInt(x.borderBottomWidth, 10) === b.offsetHeight, Te.removeChild(y)), a;
|
|
2189
|
-
}
|
|
2190
|
-
}));
|
|
2191
|
-
})();
|
|
2192
|
-
function ze(e, t, n) {
|
|
2193
|
-
var r, o, u, a, c = bt.test(t), f = e.style;
|
|
2194
|
-
return n = n || it(e), n && (a = n.getPropertyValue(t) || n[t], c && a && (a = a.replace(_e, "$1") || void 0), a === "" && !je(e) && (a = i.style(e, t)), !q.pixelBoxStyles() && vt.test(a) && ar.test(t) && (r = f.width, o = f.minWidth, u = f.maxWidth, f.minWidth = f.maxWidth = f.width = a, a = n.width, f.width = r, f.minWidth = o, f.maxWidth = u)), a !== void 0 ? (
|
|
2195
|
-
// Support: IE <=9 - 11 only
|
|
2196
|
-
// IE returns zIndex value as an integer.
|
|
2197
|
-
a + ""
|
|
2198
|
-
) : a;
|
|
2199
|
-
}
|
|
2200
|
-
function sn(e, t) {
|
|
2201
|
-
return {
|
|
2202
|
-
get: function() {
|
|
2203
|
-
if (e()) {
|
|
2204
|
-
delete this.get;
|
|
2205
|
-
return;
|
|
2206
|
-
}
|
|
2207
|
-
return (this.get = t).apply(this, arguments);
|
|
2208
|
-
}
|
|
2209
|
-
};
|
|
2210
|
-
}
|
|
2211
|
-
var fn = ["Webkit", "Moz", "ms"], cn = k.createElement("div").style, ln = {};
|
|
2212
|
-
function sr(e) {
|
|
2213
|
-
for (var t = e[0].toUpperCase() + e.slice(1), n = fn.length; n--; )
|
|
2214
|
-
if (e = fn[n] + t, e in cn)
|
|
2215
|
-
return e;
|
|
2216
|
-
}
|
|
2217
|
-
function xt(e) {
|
|
2218
|
-
var t = i.cssProps[e] || ln[e];
|
|
2219
|
-
return t || (e in cn ? e : ln[e] = sr(e) || e);
|
|
2220
|
-
}
|
|
2221
|
-
var fr = /^(none|table(?!-c[ea]).+)/, cr = { position: "absolute", visibility: "hidden", display: "block" }, dn = {
|
|
2222
|
-
letterSpacing: "0",
|
|
2223
|
-
fontWeight: "400"
|
|
2224
|
-
};
|
|
2225
|
-
function pn(e, t, n) {
|
|
2226
|
-
var r = $e.exec(t);
|
|
2227
|
-
return r ? (
|
|
2228
|
-
// Guard against undefined "subtract", e.g., when used as in cssHooks
|
|
2229
|
-
Math.max(0, r[2] - (n || 0)) + (r[3] || "px")
|
|
2230
|
-
) : t;
|
|
2231
|
-
}
|
|
2232
|
-
function mt(e, t, n, r, o, u) {
|
|
2233
|
-
var a = t === "width" ? 1 : 0, c = 0, f = 0, d = 0;
|
|
2234
|
-
if (n === (r ? "border" : "content"))
|
|
2235
|
-
return 0;
|
|
2236
|
-
for (; a < 4; a += 2)
|
|
2237
|
-
n === "margin" && (d += i.css(e, n + ge[a], !0, o)), r ? (n === "content" && (f -= i.css(e, "padding" + ge[a], !0, o)), n !== "margin" && (f -= i.css(e, "border" + ge[a] + "Width", !0, o))) : (f += i.css(e, "padding" + ge[a], !0, o), n !== "padding" ? f += i.css(e, "border" + ge[a] + "Width", !0, o) : c += i.css(e, "border" + ge[a] + "Width", !0, o));
|
|
2238
|
-
return !r && u >= 0 && (f += Math.max(0, Math.ceil(
|
|
2239
|
-
e["offset" + t[0].toUpperCase() + t.slice(1)] - u - f - c - 0.5
|
|
2240
|
-
// If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter
|
|
2241
|
-
// Use an explicit zero to avoid NaN (gh-3964)
|
|
2242
|
-
)) || 0), f + d;
|
|
2243
|
-
}
|
|
2244
|
-
function hn(e, t, n) {
|
|
2245
|
-
var r = it(e), o = !q.boxSizingReliable() || n, u = o && i.css(e, "boxSizing", !1, r) === "border-box", a = u, c = ze(e, t, r), f = "offset" + t[0].toUpperCase() + t.slice(1);
|
|
2246
|
-
if (vt.test(c)) {
|
|
2247
|
-
if (!n)
|
|
2248
|
-
return c;
|
|
2249
|
-
c = "auto";
|
|
2250
|
-
}
|
|
2251
|
-
return (!q.boxSizingReliable() && u || // Support: IE 10 - 11+, Edge 15 - 18+
|
|
2252
|
-
// IE/Edge misreport `getComputedStyle` of table rows with width/height
|
|
2253
|
-
// set in CSS while `offset*` properties report correct values.
|
|
2254
|
-
// Interestingly, in some cases IE 9 doesn't suffer from this issue.
|
|
2255
|
-
!q.reliableTrDimensions() && $(e, "tr") || // Fall back to offsetWidth/offsetHeight when value is "auto"
|
|
2256
|
-
// This happens for inline elements with no explicit setting (gh-3571)
|
|
2257
|
-
c === "auto" || // Support: Android <=4.1 - 4.3 only
|
|
2258
|
-
// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)
|
|
2259
|
-
!parseFloat(c) && i.css(e, "display", !1, r) === "inline") && // Make sure the element is visible & connected
|
|
2260
|
-
e.getClientRects().length && (u = i.css(e, "boxSizing", !1, r) === "border-box", a = f in e, a && (c = e[f])), c = parseFloat(c) || 0, c + mt(
|
|
2261
|
-
e,
|
|
2262
|
-
t,
|
|
2263
|
-
n || (u ? "border" : "content"),
|
|
2264
|
-
a,
|
|
2265
|
-
r,
|
|
2266
|
-
// Provide the current computed size to request scroll gutter calculation (gh-3589)
|
|
2267
|
-
c
|
|
2268
|
-
) + "px";
|
|
2269
|
-
}
|
|
2270
|
-
i.extend({
|
|
2271
|
-
// Add in style property hooks for overriding the default
|
|
2272
|
-
// behavior of getting and setting a style property
|
|
2273
|
-
cssHooks: {
|
|
2274
|
-
opacity: {
|
|
2275
|
-
get: function(e, t) {
|
|
2276
|
-
if (t) {
|
|
2277
|
-
var n = ze(e, "opacity");
|
|
2278
|
-
return n === "" ? "1" : n;
|
|
2279
|
-
}
|
|
2280
|
-
}
|
|
2281
|
-
}
|
|
2282
|
-
},
|
|
2283
|
-
// Don't automatically add "px" to these possibly-unitless properties
|
|
2284
|
-
cssNumber: {
|
|
2285
|
-
animationIterationCount: !0,
|
|
2286
|
-
aspectRatio: !0,
|
|
2287
|
-
borderImageSlice: !0,
|
|
2288
|
-
columnCount: !0,
|
|
2289
|
-
flexGrow: !0,
|
|
2290
|
-
flexShrink: !0,
|
|
2291
|
-
fontWeight: !0,
|
|
2292
|
-
gridArea: !0,
|
|
2293
|
-
gridColumn: !0,
|
|
2294
|
-
gridColumnEnd: !0,
|
|
2295
|
-
gridColumnStart: !0,
|
|
2296
|
-
gridRow: !0,
|
|
2297
|
-
gridRowEnd: !0,
|
|
2298
|
-
gridRowStart: !0,
|
|
2299
|
-
lineHeight: !0,
|
|
2300
|
-
opacity: !0,
|
|
2301
|
-
order: !0,
|
|
2302
|
-
orphans: !0,
|
|
2303
|
-
scale: !0,
|
|
2304
|
-
widows: !0,
|
|
2305
|
-
zIndex: !0,
|
|
2306
|
-
zoom: !0,
|
|
2307
|
-
// SVG-related
|
|
2308
|
-
fillOpacity: !0,
|
|
2309
|
-
floodOpacity: !0,
|
|
2310
|
-
stopOpacity: !0,
|
|
2311
|
-
strokeMiterlimit: !0,
|
|
2312
|
-
strokeOpacity: !0
|
|
2313
|
-
},
|
|
2314
|
-
// Add in properties whose names you wish to fix before
|
|
2315
|
-
// setting or getting the value
|
|
2316
|
-
cssProps: {},
|
|
2317
|
-
// Get and set the style property on a DOM Node
|
|
2318
|
-
style: function(e, t, n, r) {
|
|
2319
|
-
if (!(!e || e.nodeType === 3 || e.nodeType === 8 || !e.style)) {
|
|
2320
|
-
var o, u, a, c = ue(t), f = bt.test(t), d = e.style;
|
|
2321
|
-
if (f || (t = xt(c)), a = i.cssHooks[t] || i.cssHooks[c], n !== void 0) {
|
|
2322
|
-
if (u = typeof n, u === "string" && (o = $e.exec(n)) && o[1] && (n = Jt(e, t, o), u = "number"), n == null || n !== n)
|
|
2323
|
-
return;
|
|
2324
|
-
u === "number" && !f && (n += o && o[3] || (i.cssNumber[c] ? "" : "px")), !q.clearCloneStyle && n === "" && t.indexOf("background") === 0 && (d[t] = "inherit"), (!a || !("set" in a) || (n = a.set(e, n, r)) !== void 0) && (f ? d.setProperty(t, n) : d[t] = n);
|
|
2325
|
-
} else
|
|
2326
|
-
return a && "get" in a && (o = a.get(e, !1, r)) !== void 0 ? o : d[t];
|
|
2327
|
-
}
|
|
2328
|
-
},
|
|
2329
|
-
css: function(e, t, n, r) {
|
|
2330
|
-
var o, u, a, c = ue(t), f = bt.test(t);
|
|
2331
|
-
return f || (t = xt(c)), a = i.cssHooks[t] || i.cssHooks[c], a && "get" in a && (o = a.get(e, !0, n)), o === void 0 && (o = ze(e, t, r)), o === "normal" && t in dn && (o = dn[t]), n === "" || n ? (u = parseFloat(o), n === !0 || isFinite(u) ? u || 0 : o) : o;
|
|
2332
|
-
}
|
|
2333
|
-
}), i.each(["height", "width"], function(e, t) {
|
|
2334
|
-
i.cssHooks[t] = {
|
|
2335
|
-
get: function(n, r, o) {
|
|
2336
|
-
if (r)
|
|
2337
|
-
return fr.test(i.css(n, "display")) && // Support: Safari 8+
|
|
2338
|
-
// Table columns in Safari have non-zero offsetWidth & zero
|
|
2339
|
-
// getBoundingClientRect().width unless display is changed.
|
|
2340
|
-
// Support: IE <=11 only
|
|
2341
|
-
// Running getBoundingClientRect on a disconnected node
|
|
2342
|
-
// in IE throws an error.
|
|
2343
|
-
(!n.getClientRects().length || !n.getBoundingClientRect().width) ? an(n, cr, function() {
|
|
2344
|
-
return hn(n, t, o);
|
|
2345
|
-
}) : hn(n, t, o);
|
|
2346
|
-
},
|
|
2347
|
-
set: function(n, r, o) {
|
|
2348
|
-
var u, a = it(n), c = !q.scrollboxSize() && a.position === "absolute", f = c || o, d = f && i.css(n, "boxSizing", !1, a) === "border-box", y = o ? mt(
|
|
2349
|
-
n,
|
|
2350
|
-
t,
|
|
2351
|
-
o,
|
|
2352
|
-
d,
|
|
2353
|
-
a
|
|
2354
|
-
) : 0;
|
|
2355
|
-
return d && c && (y -= Math.ceil(
|
|
2356
|
-
n["offset" + t[0].toUpperCase() + t.slice(1)] - parseFloat(a[t]) - mt(n, t, "border", !1, a) - 0.5
|
|
2357
|
-
)), y && (u = $e.exec(r)) && (u[3] || "px") !== "px" && (n.style[t] = r, r = i.css(n, t)), pn(n, r, y);
|
|
2358
|
-
}
|
|
2359
|
-
};
|
|
2360
|
-
}), i.cssHooks.marginLeft = sn(
|
|
2361
|
-
q.reliableMarginLeft,
|
|
2362
|
-
function(e, t) {
|
|
2363
|
-
if (t)
|
|
2364
|
-
return (parseFloat(ze(e, "marginLeft")) || e.getBoundingClientRect().left - an(e, { marginLeft: 0 }, function() {
|
|
2365
|
-
return e.getBoundingClientRect().left;
|
|
2366
|
-
})) + "px";
|
|
2367
|
-
}
|
|
2368
|
-
), i.each({
|
|
2369
|
-
margin: "",
|
|
2370
|
-
padding: "",
|
|
2371
|
-
border: "Width"
|
|
2372
|
-
}, function(e, t) {
|
|
2373
|
-
i.cssHooks[e + t] = {
|
|
2374
|
-
expand: function(n) {
|
|
2375
|
-
for (var r = 0, o = {}, u = typeof n == "string" ? n.split(" ") : [n]; r < 4; r++)
|
|
2376
|
-
o[e + ge[r] + t] = u[r] || u[r - 2] || u[0];
|
|
2377
|
-
return o;
|
|
2378
|
-
}
|
|
2379
|
-
}, e !== "margin" && (i.cssHooks[e + t].set = pn);
|
|
2380
|
-
}), i.fn.extend({
|
|
2381
|
-
css: function(e, t) {
|
|
2382
|
-
return he(this, function(n, r, o) {
|
|
2383
|
-
var u, a, c = {}, f = 0;
|
|
2384
|
-
if (Array.isArray(r)) {
|
|
2385
|
-
for (u = it(n), a = r.length; f < a; f++)
|
|
2386
|
-
c[r[f]] = i.css(n, r[f], !1, u);
|
|
2387
|
-
return c;
|
|
2388
|
-
}
|
|
2389
|
-
return o !== void 0 ? i.style(n, r, o) : i.css(n, r);
|
|
2390
|
-
}, e, t, arguments.length > 1);
|
|
2391
|
-
}
|
|
2392
|
-
});
|
|
2393
|
-
function J(e, t, n, r, o) {
|
|
2394
|
-
return new J.prototype.init(e, t, n, r, o);
|
|
2395
|
-
}
|
|
2396
|
-
i.Tween = J, J.prototype = {
|
|
2397
|
-
constructor: J,
|
|
2398
|
-
init: function(e, t, n, r, o, u) {
|
|
2399
|
-
this.elem = e, this.prop = n, this.easing = o || i.easing._default, this.options = t, this.start = this.now = this.cur(), this.end = r, this.unit = u || (i.cssNumber[n] ? "" : "px");
|
|
2400
|
-
},
|
|
2401
|
-
cur: function() {
|
|
2402
|
-
var e = J.propHooks[this.prop];
|
|
2403
|
-
return e && e.get ? e.get(this) : J.propHooks._default.get(this);
|
|
2404
|
-
},
|
|
2405
|
-
run: function(e) {
|
|
2406
|
-
var t, n = J.propHooks[this.prop];
|
|
2407
|
-
return this.options.duration ? this.pos = t = i.easing[this.easing](
|
|
2408
|
-
e,
|
|
2409
|
-
this.options.duration * e,
|
|
2410
|
-
0,
|
|
2411
|
-
1,
|
|
2412
|
-
this.options.duration
|
|
2413
|
-
) : this.pos = t = e, this.now = (this.end - this.start) * t + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), n && n.set ? n.set(this) : J.propHooks._default.set(this), this;
|
|
2414
|
-
}
|
|
2415
|
-
}, J.prototype.init.prototype = J.prototype, J.propHooks = {
|
|
2416
|
-
_default: {
|
|
2417
|
-
get: function(e) {
|
|
2418
|
-
var t;
|
|
2419
|
-
return e.elem.nodeType !== 1 || e.elem[e.prop] != null && e.elem.style[e.prop] == null ? e.elem[e.prop] : (t = i.css(e.elem, e.prop, ""), !t || t === "auto" ? 0 : t);
|
|
2420
|
-
},
|
|
2421
|
-
set: function(e) {
|
|
2422
|
-
i.fx.step[e.prop] ? i.fx.step[e.prop](e) : e.elem.nodeType === 1 && (i.cssHooks[e.prop] || e.elem.style[xt(e.prop)] != null) ? i.style(e.elem, e.prop, e.now + e.unit) : e.elem[e.prop] = e.now;
|
|
2423
|
-
}
|
|
2424
|
-
}
|
|
2425
|
-
}, J.propHooks.scrollTop = J.propHooks.scrollLeft = {
|
|
2426
|
-
set: function(e) {
|
|
2427
|
-
e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now);
|
|
2428
|
-
}
|
|
2429
|
-
}, i.easing = {
|
|
2430
|
-
linear: function(e) {
|
|
2431
|
-
return e;
|
|
2432
|
-
},
|
|
2433
|
-
swing: function(e) {
|
|
2434
|
-
return 0.5 - Math.cos(e * Math.PI) / 2;
|
|
2435
|
-
},
|
|
2436
|
-
_default: "swing"
|
|
2437
|
-
}, i.fx = J.prototype.init, i.fx.step = {};
|
|
2438
|
-
var Pe, ot, lr = /^(?:toggle|show|hide)$/, dr = /queueHooks$/;
|
|
2439
|
-
function Tt() {
|
|
2440
|
-
ot && (k.hidden === !1 && j.requestAnimationFrame ? j.requestAnimationFrame(Tt) : j.setTimeout(Tt, i.fx.interval), i.fx.tick());
|
|
2441
|
-
}
|
|
2442
|
-
function gn() {
|
|
2443
|
-
return j.setTimeout(function() {
|
|
2444
|
-
Pe = void 0;
|
|
2445
|
-
}), Pe = Date.now();
|
|
2446
|
-
}
|
|
2447
|
-
function ut(e, t) {
|
|
2448
|
-
var n, r = 0, o = { height: e };
|
|
2449
|
-
for (t = t ? 1 : 0; r < 4; r += 2 - t)
|
|
2450
|
-
n = ge[r], o["margin" + n] = o["padding" + n] = e;
|
|
2451
|
-
return t && (o.opacity = o.width = e), o;
|
|
2452
|
-
}
|
|
2453
|
-
function yn(e, t, n) {
|
|
2454
|
-
for (var r, o = (re.tweeners[t] || []).concat(re.tweeners["*"]), u = 0, a = o.length; u < a; u++)
|
|
2455
|
-
if (r = o[u].call(n, t, e))
|
|
2456
|
-
return r;
|
|
2457
|
-
}
|
|
2458
|
-
function pr(e, t, n) {
|
|
2459
|
-
var r, o, u, a, c, f, d, y, b = "width" in t || "height" in t, h = this, x = {}, D = e.style, R = e.nodeType && nt(e), H = S.get(e, "fxshow");
|
|
2460
|
-
n.queue || (a = i._queueHooks(e, "fx"), a.unqueued == null && (a.unqueued = 0, c = a.empty.fire, a.empty.fire = function() {
|
|
2461
|
-
a.unqueued || c();
|
|
2462
|
-
}), a.unqueued++, h.always(function() {
|
|
2463
|
-
h.always(function() {
|
|
2464
|
-
a.unqueued--, i.queue(e, "fx").length || a.empty.fire();
|
|
2465
|
-
});
|
|
2466
|
-
}));
|
|
2467
|
-
for (r in t)
|
|
2468
|
-
if (o = t[r], lr.test(o)) {
|
|
2469
|
-
if (delete t[r], u = u || o === "toggle", o === (R ? "hide" : "show"))
|
|
2470
|
-
if (o === "show" && H && H[r] !== void 0)
|
|
2471
|
-
R = !0;
|
|
2472
|
-
else
|
|
2473
|
-
continue;
|
|
2474
|
-
x[r] = H && H[r] || i.style(e, r);
|
|
2475
|
-
}
|
|
2476
|
-
if (f = !i.isEmptyObject(t), !(!f && i.isEmptyObject(x))) {
|
|
2477
|
-
b && e.nodeType === 1 && (n.overflow = [D.overflow, D.overflowX, D.overflowY], d = H && H.display, d == null && (d = S.get(e, "display")), y = i.css(e, "display"), y === "none" && (d ? y = d : (qe([e], !0), d = e.style.display || d, y = i.css(e, "display"), qe([e]))), (y === "inline" || y === "inline-block" && d != null) && i.css(e, "float") === "none" && (f || (h.done(function() {
|
|
2478
|
-
D.display = d;
|
|
2479
|
-
}), d == null && (y = D.display, d = y === "none" ? "" : y)), D.display = "inline-block")), n.overflow && (D.overflow = "hidden", h.always(function() {
|
|
2480
|
-
D.overflow = n.overflow[0], D.overflowX = n.overflow[1], D.overflowY = n.overflow[2];
|
|
2481
|
-
})), f = !1;
|
|
2482
|
-
for (r in x)
|
|
2483
|
-
f || (H ? "hidden" in H && (R = H.hidden) : H = S.access(e, "fxshow", { display: d }), u && (H.hidden = !R), R && qe([e], !0), h.done(function() {
|
|
2484
|
-
R || qe([e]), S.remove(e, "fxshow");
|
|
2485
|
-
for (r in x)
|
|
2486
|
-
i.style(e, r, x[r]);
|
|
2487
|
-
})), f = yn(R ? H[r] : 0, r, h), r in H || (H[r] = f.start, R && (f.end = f.start, f.start = 0));
|
|
2488
|
-
}
|
|
2489
|
-
}
|
|
2490
|
-
function hr(e, t) {
|
|
2491
|
-
var n, r, o, u, a;
|
|
2492
|
-
for (n in e)
|
|
2493
|
-
if (r = ue(n), o = t[r], u = e[n], Array.isArray(u) && (o = u[1], u = e[n] = u[0]), n !== r && (e[r] = u, delete e[n]), a = i.cssHooks[r], a && "expand" in a) {
|
|
2494
|
-
u = a.expand(u), delete e[r];
|
|
2495
|
-
for (n in u)
|
|
2496
|
-
n in e || (e[n] = u[n], t[n] = o);
|
|
2497
|
-
} else
|
|
2498
|
-
t[r] = o;
|
|
2499
|
-
}
|
|
2500
|
-
function re(e, t, n) {
|
|
2501
|
-
var r, o, u = 0, a = re.prefilters.length, c = i.Deferred().always(function() {
|
|
2502
|
-
delete f.elem;
|
|
2503
|
-
}), f = function() {
|
|
2504
|
-
if (o)
|
|
2505
|
-
return !1;
|
|
2506
|
-
for (var b = Pe || gn(), h = Math.max(0, d.startTime + d.duration - b), x = h / d.duration || 0, D = 1 - x, R = 0, H = d.tweens.length; R < H; R++)
|
|
2507
|
-
d.tweens[R].run(D);
|
|
2508
|
-
return c.notifyWith(e, [d, D, h]), D < 1 && H ? h : (H || c.notifyWith(e, [d, 1, 0]), c.resolveWith(e, [d]), !1);
|
|
2509
|
-
}, d = c.promise({
|
|
2510
|
-
elem: e,
|
|
2511
|
-
props: i.extend({}, t),
|
|
2512
|
-
opts: i.extend(!0, {
|
|
2513
|
-
specialEasing: {},
|
|
2514
|
-
easing: i.easing._default
|
|
2515
|
-
}, n),
|
|
2516
|
-
originalProperties: t,
|
|
2517
|
-
originalOptions: n,
|
|
2518
|
-
startTime: Pe || gn(),
|
|
2519
|
-
duration: n.duration,
|
|
2520
|
-
tweens: [],
|
|
2521
|
-
createTween: function(b, h) {
|
|
2522
|
-
var x = i.Tween(
|
|
2523
|
-
e,
|
|
2524
|
-
d.opts,
|
|
2525
|
-
b,
|
|
2526
|
-
h,
|
|
2527
|
-
d.opts.specialEasing[b] || d.opts.easing
|
|
2528
|
-
);
|
|
2529
|
-
return d.tweens.push(x), x;
|
|
2530
|
-
},
|
|
2531
|
-
stop: function(b) {
|
|
2532
|
-
var h = 0, x = b ? d.tweens.length : 0;
|
|
2533
|
-
if (o)
|
|
2534
|
-
return this;
|
|
2535
|
-
for (o = !0; h < x; h++)
|
|
2536
|
-
d.tweens[h].run(1);
|
|
2537
|
-
return b ? (c.notifyWith(e, [d, 1, 0]), c.resolveWith(e, [d, b])) : c.rejectWith(e, [d, b]), this;
|
|
2538
|
-
}
|
|
2539
|
-
}), y = d.props;
|
|
2540
|
-
for (hr(y, d.opts.specialEasing); u < a; u++)
|
|
2541
|
-
if (r = re.prefilters[u].call(d, e, y, d.opts), r)
|
|
2542
|
-
return L(r.stop) && (i._queueHooks(d.elem, d.opts.queue).stop = r.stop.bind(r)), r;
|
|
2543
|
-
return i.map(y, yn, d), L(d.opts.start) && d.opts.start.call(e, d), d.progress(d.opts.progress).done(d.opts.done, d.opts.complete).fail(d.opts.fail).always(d.opts.always), i.fx.timer(
|
|
2544
|
-
i.extend(f, {
|
|
2545
|
-
elem: e,
|
|
2546
|
-
anim: d,
|
|
2547
|
-
queue: d.opts.queue
|
|
2548
|
-
})
|
|
2549
|
-
), d;
|
|
2550
|
-
}
|
|
2551
|
-
i.Animation = i.extend(re, {
|
|
2552
|
-
tweeners: {
|
|
2553
|
-
"*": [function(e, t) {
|
|
2554
|
-
var n = this.createTween(e, t);
|
|
2555
|
-
return Jt(n.elem, e, $e.exec(t), n), n;
|
|
2556
|
-
}]
|
|
2557
|
-
},
|
|
2558
|
-
tweener: function(e, t) {
|
|
2559
|
-
L(e) ? (t = e, e = ["*"]) : e = e.match(oe);
|
|
2560
|
-
for (var n, r = 0, o = e.length; r < o; r++)
|
|
2561
|
-
n = e[r], re.tweeners[n] = re.tweeners[n] || [], re.tweeners[n].unshift(t);
|
|
2562
|
-
},
|
|
2563
|
-
prefilters: [pr],
|
|
2564
|
-
prefilter: function(e, t) {
|
|
2565
|
-
t ? re.prefilters.unshift(e) : re.prefilters.push(e);
|
|
2566
|
-
}
|
|
2567
|
-
}), i.speed = function(e, t, n) {
|
|
2568
|
-
var r = e && typeof e == "object" ? i.extend({}, e) : {
|
|
2569
|
-
complete: n || !n && t || L(e) && e,
|
|
2570
|
-
duration: e,
|
|
2571
|
-
easing: n && t || t && !L(t) && t
|
|
2572
|
-
};
|
|
2573
|
-
return i.fx.off ? r.duration = 0 : typeof r.duration != "number" && (r.duration in i.fx.speeds ? r.duration = i.fx.speeds[r.duration] : r.duration = i.fx.speeds._default), (r.queue == null || r.queue === !0) && (r.queue = "fx"), r.old = r.complete, r.complete = function() {
|
|
2574
|
-
L(r.old) && r.old.call(this), r.queue && i.dequeue(this, r.queue);
|
|
2575
|
-
}, r;
|
|
2576
|
-
}, i.fn.extend({
|
|
2577
|
-
fadeTo: function(e, t, n, r) {
|
|
2578
|
-
return this.filter(nt).css("opacity", 0).show().end().animate({ opacity: t }, e, n, r);
|
|
2579
|
-
},
|
|
2580
|
-
animate: function(e, t, n, r) {
|
|
2581
|
-
var o = i.isEmptyObject(e), u = i.speed(t, n, r), a = function() {
|
|
2582
|
-
var c = re(this, i.extend({}, e), u);
|
|
2583
|
-
(o || S.get(this, "finish")) && c.stop(!0);
|
|
2584
|
-
};
|
|
2585
|
-
return a.finish = a, o || u.queue === !1 ? this.each(a) : this.queue(u.queue, a);
|
|
2586
|
-
},
|
|
2587
|
-
stop: function(e, t, n) {
|
|
2588
|
-
var r = function(o) {
|
|
2589
|
-
var u = o.stop;
|
|
2590
|
-
delete o.stop, u(n);
|
|
2591
|
-
};
|
|
2592
|
-
return typeof e != "string" && (n = t, t = e, e = void 0), t && this.queue(e || "fx", []), this.each(function() {
|
|
2593
|
-
var o = !0, u = e != null && e + "queueHooks", a = i.timers, c = S.get(this);
|
|
2594
|
-
if (u)
|
|
2595
|
-
c[u] && c[u].stop && r(c[u]);
|
|
2596
|
-
else
|
|
2597
|
-
for (u in c)
|
|
2598
|
-
c[u] && c[u].stop && dr.test(u) && r(c[u]);
|
|
2599
|
-
for (u = a.length; u--; )
|
|
2600
|
-
a[u].elem === this && (e == null || a[u].queue === e) && (a[u].anim.stop(n), o = !1, a.splice(u, 1));
|
|
2601
|
-
(o || !n) && i.dequeue(this, e);
|
|
2602
|
-
});
|
|
2603
|
-
},
|
|
2604
|
-
finish: function(e) {
|
|
2605
|
-
return e !== !1 && (e = e || "fx"), this.each(function() {
|
|
2606
|
-
var t, n = S.get(this), r = n[e + "queue"], o = n[e + "queueHooks"], u = i.timers, a = r ? r.length : 0;
|
|
2607
|
-
for (n.finish = !0, i.queue(this, e, []), o && o.stop && o.stop.call(this, !0), t = u.length; t--; )
|
|
2608
|
-
u[t].elem === this && u[t].queue === e && (u[t].anim.stop(!0), u.splice(t, 1));
|
|
2609
|
-
for (t = 0; t < a; t++)
|
|
2610
|
-
r[t] && r[t].finish && r[t].finish.call(this);
|
|
2611
|
-
delete n.finish;
|
|
2612
|
-
});
|
|
2613
|
-
}
|
|
2614
|
-
}), i.each(["toggle", "show", "hide"], function(e, t) {
|
|
2615
|
-
var n = i.fn[t];
|
|
2616
|
-
i.fn[t] = function(r, o, u) {
|
|
2617
|
-
return r == null || typeof r == "boolean" ? n.apply(this, arguments) : this.animate(ut(t, !0), r, o, u);
|
|
2618
|
-
};
|
|
2619
|
-
}), i.each({
|
|
2620
|
-
slideDown: ut("show"),
|
|
2621
|
-
slideUp: ut("hide"),
|
|
2622
|
-
slideToggle: ut("toggle"),
|
|
2623
|
-
fadeIn: { opacity: "show" },
|
|
2624
|
-
fadeOut: { opacity: "hide" },
|
|
2625
|
-
fadeToggle: { opacity: "toggle" }
|
|
2626
|
-
}, function(e, t) {
|
|
2627
|
-
i.fn[e] = function(n, r, o) {
|
|
2628
|
-
return this.animate(t, n, r, o);
|
|
2629
|
-
};
|
|
2630
|
-
}), i.timers = [], i.fx.tick = function() {
|
|
2631
|
-
var e, t = 0, n = i.timers;
|
|
2632
|
-
for (Pe = Date.now(); t < n.length; t++)
|
|
2633
|
-
e = n[t], !e() && n[t] === e && n.splice(t--, 1);
|
|
2634
|
-
n.length || i.fx.stop(), Pe = void 0;
|
|
2635
|
-
}, i.fx.timer = function(e) {
|
|
2636
|
-
i.timers.push(e), i.fx.start();
|
|
2637
|
-
}, i.fx.interval = 13, i.fx.start = function() {
|
|
2638
|
-
ot || (ot = !0, Tt());
|
|
2639
|
-
}, i.fx.stop = function() {
|
|
2640
|
-
ot = null;
|
|
2641
|
-
}, i.fx.speeds = {
|
|
2642
|
-
slow: 600,
|
|
2643
|
-
fast: 200,
|
|
2644
|
-
// Default speed
|
|
2645
|
-
_default: 400
|
|
2646
|
-
}, i.fn.delay = function(e, t) {
|
|
2647
|
-
return e = i.fx && i.fx.speeds[e] || e, t = t || "fx", this.queue(t, function(n, r) {
|
|
2648
|
-
var o = j.setTimeout(n, e);
|
|
2649
|
-
r.stop = function() {
|
|
2650
|
-
j.clearTimeout(o);
|
|
2651
|
-
};
|
|
2652
|
-
});
|
|
2653
|
-
}, function() {
|
|
2654
|
-
var e = k.createElement("input"), t = k.createElement("select"), n = t.appendChild(k.createElement("option"));
|
|
2655
|
-
e.type = "checkbox", q.checkOn = e.value !== "", q.optSelected = n.selected, e = k.createElement("input"), e.value = "t", e.type = "radio", q.radioValue = e.value === "t";
|
|
2656
|
-
}();
|
|
2657
|
-
var vn, Ue = i.expr.attrHandle;
|
|
2658
|
-
i.fn.extend({
|
|
2659
|
-
attr: function(e, t) {
|
|
2660
|
-
return he(this, i.attr, e, t, arguments.length > 1);
|
|
2661
|
-
},
|
|
2662
|
-
removeAttr: function(e) {
|
|
2663
|
-
return this.each(function() {
|
|
2664
|
-
i.removeAttr(this, e);
|
|
2665
|
-
});
|
|
2666
|
-
}
|
|
2667
|
-
}), i.extend({
|
|
2668
|
-
attr: function(e, t, n) {
|
|
2669
|
-
var r, o, u = e.nodeType;
|
|
2670
|
-
if (!(u === 3 || u === 8 || u === 2)) {
|
|
2671
|
-
if (typeof e.getAttribute > "u")
|
|
2672
|
-
return i.prop(e, t, n);
|
|
2673
|
-
if ((u !== 1 || !i.isXMLDoc(e)) && (o = i.attrHooks[t.toLowerCase()] || (i.expr.match.bool.test(t) ? vn : void 0)), n !== void 0) {
|
|
2674
|
-
if (n === null) {
|
|
2675
|
-
i.removeAttr(e, t);
|
|
2676
|
-
return;
|
|
2677
|
-
}
|
|
2678
|
-
return o && "set" in o && (r = o.set(e, n, t)) !== void 0 ? r : (e.setAttribute(t, n + ""), n);
|
|
2679
|
-
}
|
|
2680
|
-
return o && "get" in o && (r = o.get(e, t)) !== null ? r : (r = i.find.attr(e, t), r ?? void 0);
|
|
2681
|
-
}
|
|
2682
|
-
},
|
|
2683
|
-
attrHooks: {
|
|
2684
|
-
type: {
|
|
2685
|
-
set: function(e, t) {
|
|
2686
|
-
if (!q.radioValue && t === "radio" && $(e, "input")) {
|
|
2687
|
-
var n = e.value;
|
|
2688
|
-
return e.setAttribute("type", t), n && (e.value = n), t;
|
|
2689
|
-
}
|
|
2690
|
-
}
|
|
2691
|
-
}
|
|
2692
|
-
},
|
|
2693
|
-
removeAttr: function(e, t) {
|
|
2694
|
-
var n, r = 0, o = t && t.match(oe);
|
|
2695
|
-
if (o && e.nodeType === 1)
|
|
2696
|
-
for (; n = o[r++]; )
|
|
2697
|
-
e.removeAttribute(n);
|
|
2698
|
-
}
|
|
2699
|
-
}), vn = {
|
|
2700
|
-
set: function(e, t, n) {
|
|
2701
|
-
return t === !1 ? i.removeAttr(e, n) : e.setAttribute(n, n), n;
|
|
2702
|
-
}
|
|
2703
|
-
}, i.each(i.expr.match.bool.source.match(/\w+/g), function(e, t) {
|
|
2704
|
-
var n = Ue[t] || i.find.attr;
|
|
2705
|
-
Ue[t] = function(r, o, u) {
|
|
2706
|
-
var a, c, f = o.toLowerCase();
|
|
2707
|
-
return u || (c = Ue[f], Ue[f] = a, a = n(r, o, u) != null ? f : null, Ue[f] = c), a;
|
|
2708
|
-
};
|
|
2709
|
-
});
|
|
2710
|
-
var gr = /^(?:input|select|textarea|button)$/i, yr = /^(?:a|area)$/i;
|
|
2711
|
-
i.fn.extend({
|
|
2712
|
-
prop: function(e, t) {
|
|
2713
|
-
return he(this, i.prop, e, t, arguments.length > 1);
|
|
2714
|
-
},
|
|
2715
|
-
removeProp: function(e) {
|
|
2716
|
-
return this.each(function() {
|
|
2717
|
-
delete this[i.propFix[e] || e];
|
|
2718
|
-
});
|
|
2719
|
-
}
|
|
2720
|
-
}), i.extend({
|
|
2721
|
-
prop: function(e, t, n) {
|
|
2722
|
-
var r, o, u = e.nodeType;
|
|
2723
|
-
if (!(u === 3 || u === 8 || u === 2))
|
|
2724
|
-
return (u !== 1 || !i.isXMLDoc(e)) && (t = i.propFix[t] || t, o = i.propHooks[t]), n !== void 0 ? o && "set" in o && (r = o.set(e, n, t)) !== void 0 ? r : e[t] = n : o && "get" in o && (r = o.get(e, t)) !== null ? r : e[t];
|
|
2725
|
-
},
|
|
2726
|
-
propHooks: {
|
|
2727
|
-
tabIndex: {
|
|
2728
|
-
get: function(e) {
|
|
2729
|
-
var t = i.find.attr(e, "tabindex");
|
|
2730
|
-
return t ? parseInt(t, 10) : gr.test(e.nodeName) || yr.test(e.nodeName) && e.href ? 0 : -1;
|
|
2731
|
-
}
|
|
2732
|
-
}
|
|
2733
|
-
},
|
|
2734
|
-
propFix: {
|
|
2735
|
-
for: "htmlFor",
|
|
2736
|
-
class: "className"
|
|
2737
|
-
}
|
|
2738
|
-
}), q.optSelected || (i.propHooks.selected = {
|
|
2739
|
-
get: function(e) {
|
|
2740
|
-
var t = e.parentNode;
|
|
2741
|
-
return t && t.parentNode && t.parentNode.selectedIndex, null;
|
|
2742
|
-
},
|
|
2743
|
-
set: function(e) {
|
|
2744
|
-
var t = e.parentNode;
|
|
2745
|
-
t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex);
|
|
2746
|
-
}
|
|
2747
|
-
}), i.each([
|
|
2748
|
-
"tabIndex",
|
|
2749
|
-
"readOnly",
|
|
2750
|
-
"maxLength",
|
|
2751
|
-
"cellSpacing",
|
|
2752
|
-
"cellPadding",
|
|
2753
|
-
"rowSpan",
|
|
2754
|
-
"colSpan",
|
|
2755
|
-
"useMap",
|
|
2756
|
-
"frameBorder",
|
|
2757
|
-
"contentEditable"
|
|
2758
|
-
], function() {
|
|
2759
|
-
i.propFix[this.toLowerCase()] = this;
|
|
2760
|
-
});
|
|
2761
|
-
function Ce(e) {
|
|
2762
|
-
var t = e.match(oe) || [];
|
|
2763
|
-
return t.join(" ");
|
|
2764
|
-
}
|
|
2765
|
-
function we(e) {
|
|
2766
|
-
return e.getAttribute && e.getAttribute("class") || "";
|
|
2767
|
-
}
|
|
2768
|
-
function Ct(e) {
|
|
2769
|
-
return Array.isArray(e) ? e : typeof e == "string" ? e.match(oe) || [] : [];
|
|
2770
|
-
}
|
|
2771
|
-
i.fn.extend({
|
|
2772
|
-
addClass: function(e) {
|
|
2773
|
-
var t, n, r, o, u, a;
|
|
2774
|
-
return L(e) ? this.each(function(c) {
|
|
2775
|
-
i(this).addClass(e.call(this, c, we(this)));
|
|
2776
|
-
}) : (t = Ct(e), t.length ? this.each(function() {
|
|
2777
|
-
if (r = we(this), n = this.nodeType === 1 && " " + Ce(r) + " ", n) {
|
|
2778
|
-
for (u = 0; u < t.length; u++)
|
|
2779
|
-
o = t[u], n.indexOf(" " + o + " ") < 0 && (n += o + " ");
|
|
2780
|
-
a = Ce(n), r !== a && this.setAttribute("class", a);
|
|
2781
|
-
}
|
|
2782
|
-
}) : this);
|
|
2783
|
-
},
|
|
2784
|
-
removeClass: function(e) {
|
|
2785
|
-
var t, n, r, o, u, a;
|
|
2786
|
-
return L(e) ? this.each(function(c) {
|
|
2787
|
-
i(this).removeClass(e.call(this, c, we(this)));
|
|
2788
|
-
}) : arguments.length ? (t = Ct(e), t.length ? this.each(function() {
|
|
2789
|
-
if (r = we(this), n = this.nodeType === 1 && " " + Ce(r) + " ", n) {
|
|
2790
|
-
for (u = 0; u < t.length; u++)
|
|
2791
|
-
for (o = t[u]; n.indexOf(" " + o + " ") > -1; )
|
|
2792
|
-
n = n.replace(" " + o + " ", " ");
|
|
2793
|
-
a = Ce(n), r !== a && this.setAttribute("class", a);
|
|
2794
|
-
}
|
|
2795
|
-
}) : this) : this.attr("class", "");
|
|
2796
|
-
},
|
|
2797
|
-
toggleClass: function(e, t) {
|
|
2798
|
-
var n, r, o, u, a = typeof e, c = a === "string" || Array.isArray(e);
|
|
2799
|
-
return L(e) ? this.each(function(f) {
|
|
2800
|
-
i(this).toggleClass(
|
|
2801
|
-
e.call(this, f, we(this), t),
|
|
2802
|
-
t
|
|
2803
|
-
);
|
|
2804
|
-
}) : typeof t == "boolean" && c ? t ? this.addClass(e) : this.removeClass(e) : (n = Ct(e), this.each(function() {
|
|
2805
|
-
if (c)
|
|
2806
|
-
for (u = i(this), o = 0; o < n.length; o++)
|
|
2807
|
-
r = n[o], u.hasClass(r) ? u.removeClass(r) : u.addClass(r);
|
|
2808
|
-
else (e === void 0 || a === "boolean") && (r = we(this), r && S.set(this, "__className__", r), this.setAttribute && this.setAttribute(
|
|
2809
|
-
"class",
|
|
2810
|
-
r || e === !1 ? "" : S.get(this, "__className__") || ""
|
|
2811
|
-
));
|
|
2812
|
-
}));
|
|
2813
|
-
},
|
|
2814
|
-
hasClass: function(e) {
|
|
2815
|
-
var t, n, r = 0;
|
|
2816
|
-
for (t = " " + e + " "; n = this[r++]; )
|
|
2817
|
-
if (n.nodeType === 1 && (" " + Ce(we(n)) + " ").indexOf(t) > -1)
|
|
2818
|
-
return !0;
|
|
2819
|
-
return !1;
|
|
2820
|
-
}
|
|
2821
|
-
});
|
|
2822
|
-
var vr = /\r/g;
|
|
2823
|
-
i.fn.extend({
|
|
2824
|
-
val: function(e) {
|
|
2825
|
-
var t, n, r, o = this[0];
|
|
2826
|
-
return arguments.length ? (r = L(e), this.each(function(u) {
|
|
2827
|
-
var a;
|
|
2828
|
-
this.nodeType === 1 && (r ? a = e.call(this, u, i(this).val()) : a = e, a == null ? a = "" : typeof a == "number" ? a += "" : Array.isArray(a) && (a = i.map(a, function(c) {
|
|
2829
|
-
return c == null ? "" : c + "";
|
|
2830
|
-
})), t = i.valHooks[this.type] || i.valHooks[this.nodeName.toLowerCase()], (!t || !("set" in t) || t.set(this, a, "value") === void 0) && (this.value = a));
|
|
2831
|
-
})) : o ? (t = i.valHooks[o.type] || i.valHooks[o.nodeName.toLowerCase()], t && "get" in t && (n = t.get(o, "value")) !== void 0 ? n : (n = o.value, typeof n == "string" ? n.replace(vr, "") : n ?? "")) : void 0;
|
|
2832
|
-
}
|
|
2833
|
-
}), i.extend({
|
|
2834
|
-
valHooks: {
|
|
2835
|
-
option: {
|
|
2836
|
-
get: function(e) {
|
|
2837
|
-
var t = i.find.attr(e, "value");
|
|
2838
|
-
return t ?? // Support: IE <=10 - 11 only
|
|
2839
|
-
// option.text throws exceptions (trac-14686, trac-14858)
|
|
2840
|
-
// Strip and collapse whitespace
|
|
2841
|
-
// https://html.spec.whatwg.org/#strip-and-collapse-whitespace
|
|
2842
|
-
Ce(i.text(e));
|
|
2843
|
-
}
|
|
2844
|
-
},
|
|
2845
|
-
select: {
|
|
2846
|
-
get: function(e) {
|
|
2847
|
-
var t, n, r, o = e.options, u = e.selectedIndex, a = e.type === "select-one", c = a ? null : [], f = a ? u + 1 : o.length;
|
|
2848
|
-
for (u < 0 ? r = f : r = a ? u : 0; r < f; r++)
|
|
2849
|
-
if (n = o[r], (n.selected || r === u) && // Don't return options that are disabled or in a disabled optgroup
|
|
2850
|
-
!n.disabled && (!n.parentNode.disabled || !$(n.parentNode, "optgroup"))) {
|
|
2851
|
-
if (t = i(n).val(), a)
|
|
2852
|
-
return t;
|
|
2853
|
-
c.push(t);
|
|
2854
|
-
}
|
|
2855
|
-
return c;
|
|
2856
|
-
},
|
|
2857
|
-
set: function(e, t) {
|
|
2858
|
-
for (var n, r, o = e.options, u = i.makeArray(t), a = o.length; a--; )
|
|
2859
|
-
r = o[a], (r.selected = i.inArray(i.valHooks.option.get(r), u) > -1) && (n = !0);
|
|
2860
|
-
return n || (e.selectedIndex = -1), u;
|
|
2861
|
-
}
|
|
2862
|
-
}
|
|
2863
|
-
}
|
|
2864
|
-
}), i.each(["radio", "checkbox"], function() {
|
|
2865
|
-
i.valHooks[this] = {
|
|
2866
|
-
set: function(e, t) {
|
|
2867
|
-
if (Array.isArray(t))
|
|
2868
|
-
return e.checked = i.inArray(i(e).val(), t) > -1;
|
|
2869
|
-
}
|
|
2870
|
-
}, q.checkOn || (i.valHooks[this].get = function(e) {
|
|
2871
|
-
return e.getAttribute("value") === null ? "on" : e.value;
|
|
2872
|
-
});
|
|
2873
|
-
});
|
|
2874
|
-
var Ve = j.location, bn = { guid: Date.now() }, wt = /\?/;
|
|
2875
|
-
i.parseXML = function(e) {
|
|
2876
|
-
var t, n;
|
|
2877
|
-
if (!e || typeof e != "string")
|
|
2878
|
-
return null;
|
|
2879
|
-
try {
|
|
2880
|
-
t = new j.DOMParser().parseFromString(e, "text/xml");
|
|
2881
|
-
} catch {
|
|
2882
|
-
}
|
|
2883
|
-
return n = t && t.getElementsByTagName("parsererror")[0], (!t || n) && i.error("Invalid XML: " + (n ? i.map(n.childNodes, function(r) {
|
|
2884
|
-
return r.textContent;
|
|
2885
|
-
}).join(`
|
|
2886
|
-
`) : e)), t;
|
|
2887
|
-
};
|
|
2888
|
-
var xn = /^(?:focusinfocus|focusoutblur)$/, mn = function(e) {
|
|
2889
|
-
e.stopPropagation();
|
|
2890
|
-
};
|
|
2891
|
-
i.extend(i.event, {
|
|
2892
|
-
trigger: function(e, t, n, r) {
|
|
2893
|
-
var o, u, a, c, f, d, y, b, h = [n || k], x = Ie.call(e, "type") ? e.type : e, D = Ie.call(e, "namespace") ? e.namespace.split(".") : [];
|
|
2894
|
-
if (u = b = a = n = n || k, !(n.nodeType === 3 || n.nodeType === 8) && !xn.test(x + i.event.triggered) && (x.indexOf(".") > -1 && (D = x.split("."), x = D.shift(), D.sort()), f = x.indexOf(":") < 0 && "on" + x, e = e[i.expando] ? e : new i.Event(x, typeof e == "object" && e), e.isTrigger = r ? 2 : 3, e.namespace = D.join("."), e.rnamespace = e.namespace ? new RegExp("(^|\\.)" + D.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, e.result = void 0, e.target || (e.target = n), t = t == null ? [e] : i.makeArray(t, [e]), y = i.event.special[x] || {}, !(!r && y.trigger && y.trigger.apply(n, t) === !1))) {
|
|
2895
|
-
if (!r && !y.noBubble && !Ae(n)) {
|
|
2896
|
-
for (c = y.delegateType || x, xn.test(c + x) || (u = u.parentNode); u; u = u.parentNode)
|
|
2897
|
-
h.push(u), a = u;
|
|
2898
|
-
a === (n.ownerDocument || k) && h.push(a.defaultView || a.parentWindow || j);
|
|
2899
|
-
}
|
|
2900
|
-
for (o = 0; (u = h[o++]) && !e.isPropagationStopped(); )
|
|
2901
|
-
b = u, e.type = o > 1 ? c : y.bindType || x, d = (S.get(u, "events") || /* @__PURE__ */ Object.create(null))[e.type] && S.get(u, "handle"), d && d.apply(u, t), d = f && u[f], d && d.apply && We(u) && (e.result = d.apply(u, t), e.result === !1 && e.preventDefault());
|
|
2902
|
-
return e.type = x, !r && !e.isDefaultPrevented() && (!y._default || y._default.apply(h.pop(), t) === !1) && We(n) && f && L(n[x]) && !Ae(n) && (a = n[f], a && (n[f] = null), i.event.triggered = x, e.isPropagationStopped() && b.addEventListener(x, mn), n[x](), e.isPropagationStopped() && b.removeEventListener(x, mn), i.event.triggered = void 0, a && (n[f] = a)), e.result;
|
|
2903
|
-
}
|
|
2904
|
-
},
|
|
2905
|
-
// Piggyback on a donor event to simulate a different one
|
|
2906
|
-
// Used only for `focus(in | out)` events
|
|
2907
|
-
simulate: function(e, t, n) {
|
|
2908
|
-
var r = i.extend(
|
|
2909
|
-
new i.Event(),
|
|
2910
|
-
n,
|
|
2911
|
-
{
|
|
2912
|
-
type: e,
|
|
2913
|
-
isSimulated: !0
|
|
2914
|
-
}
|
|
2915
|
-
);
|
|
2916
|
-
i.event.trigger(r, null, t);
|
|
2917
|
-
}
|
|
2918
|
-
}), i.fn.extend({
|
|
2919
|
-
trigger: function(e, t) {
|
|
2920
|
-
return this.each(function() {
|
|
2921
|
-
i.event.trigger(e, t, this);
|
|
2922
|
-
});
|
|
2923
|
-
},
|
|
2924
|
-
triggerHandler: function(e, t) {
|
|
2925
|
-
var n = this[0];
|
|
2926
|
-
if (n)
|
|
2927
|
-
return i.event.trigger(e, t, n, !0);
|
|
2928
|
-
}
|
|
2929
|
-
});
|
|
2930
|
-
var br = /\[\]$/, Tn = /\r?\n/g, xr = /^(?:submit|button|image|reset|file)$/i, mr = /^(?:input|select|textarea|keygen)/i;
|
|
2931
|
-
function St(e, t, n, r) {
|
|
2932
|
-
var o;
|
|
2933
|
-
if (Array.isArray(t))
|
|
2934
|
-
i.each(t, function(u, a) {
|
|
2935
|
-
n || br.test(e) ? r(e, a) : St(
|
|
2936
|
-
e + "[" + (typeof a == "object" && a != null ? u : "") + "]",
|
|
2937
|
-
a,
|
|
2938
|
-
n,
|
|
2939
|
-
r
|
|
2940
|
-
);
|
|
2941
|
-
});
|
|
2942
|
-
else if (!n && De(t) === "object")
|
|
2943
|
-
for (o in t)
|
|
2944
|
-
St(e + "[" + o + "]", t[o], n, r);
|
|
2945
|
-
else
|
|
2946
|
-
r(e, t);
|
|
2947
|
-
}
|
|
2948
|
-
i.param = function(e, t) {
|
|
2949
|
-
var n, r = [], o = function(u, a) {
|
|
2950
|
-
var c = L(a) ? a() : a;
|
|
2951
|
-
r[r.length] = encodeURIComponent(u) + "=" + encodeURIComponent(c ?? "");
|
|
2952
|
-
};
|
|
2953
|
-
if (e == null)
|
|
2954
|
-
return "";
|
|
2955
|
-
if (Array.isArray(e) || e.jquery && !i.isPlainObject(e))
|
|
2956
|
-
i.each(e, function() {
|
|
2957
|
-
o(this.name, this.value);
|
|
2958
|
-
});
|
|
2959
|
-
else
|
|
2960
|
-
for (n in e)
|
|
2961
|
-
St(n, e[n], t, o);
|
|
2962
|
-
return r.join("&");
|
|
2963
|
-
}, i.fn.extend({
|
|
2964
|
-
serialize: function() {
|
|
2965
|
-
return i.param(this.serializeArray());
|
|
2966
|
-
},
|
|
2967
|
-
serializeArray: function() {
|
|
2968
|
-
return this.map(function() {
|
|
2969
|
-
var e = i.prop(this, "elements");
|
|
2970
|
-
return e ? i.makeArray(e) : this;
|
|
2971
|
-
}).filter(function() {
|
|
2972
|
-
var e = this.type;
|
|
2973
|
-
return this.name && !i(this).is(":disabled") && mr.test(this.nodeName) && !xr.test(e) && (this.checked || !Be.test(e));
|
|
2974
|
-
}).map(function(e, t) {
|
|
2975
|
-
var n = i(this).val();
|
|
2976
|
-
return n == null ? null : Array.isArray(n) ? i.map(n, function(r) {
|
|
2977
|
-
return { name: t.name, value: r.replace(Tn, `\r
|
|
2978
|
-
`) };
|
|
2979
|
-
}) : { name: t.name, value: n.replace(Tn, `\r
|
|
2980
|
-
`) };
|
|
2981
|
-
}).get();
|
|
2982
|
-
}
|
|
2983
|
-
});
|
|
2984
|
-
var Tr = /%20/g, Cr = /#.*$/, wr = /([?&])_=[^&]*/, Sr = /^(.*?):[ \t]*([^\r\n]*)$/mg, Er = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, Ar = /^(?:GET|HEAD)$/, Dr = /^\/\//, Cn = {}, Et = {}, wn = "*/".concat("*"), At = k.createElement("a");
|
|
2985
|
-
At.href = Ve.href;
|
|
2986
|
-
function Sn(e) {
|
|
2987
|
-
return function(t, n) {
|
|
2988
|
-
typeof t != "string" && (n = t, t = "*");
|
|
2989
|
-
var r, o = 0, u = t.toLowerCase().match(oe) || [];
|
|
2990
|
-
if (L(n))
|
|
2991
|
-
for (; r = u[o++]; )
|
|
2992
|
-
r[0] === "+" ? (r = r.slice(1) || "*", (e[r] = e[r] || []).unshift(n)) : (e[r] = e[r] || []).push(n);
|
|
2993
|
-
};
|
|
2994
|
-
}
|
|
2995
|
-
function En(e, t, n, r) {
|
|
2996
|
-
var o = {}, u = e === Et;
|
|
2997
|
-
function a(c) {
|
|
2998
|
-
var f;
|
|
2999
|
-
return o[c] = !0, i.each(e[c] || [], function(d, y) {
|
|
3000
|
-
var b = y(t, n, r);
|
|
3001
|
-
if (typeof b == "string" && !u && !o[b])
|
|
3002
|
-
return t.dataTypes.unshift(b), a(b), !1;
|
|
3003
|
-
if (u)
|
|
3004
|
-
return !(f = b);
|
|
3005
|
-
}), f;
|
|
3006
|
-
}
|
|
3007
|
-
return a(t.dataTypes[0]) || !o["*"] && a("*");
|
|
3008
|
-
}
|
|
3009
|
-
function Dt(e, t) {
|
|
3010
|
-
var n, r, o = i.ajaxSettings.flatOptions || {};
|
|
3011
|
-
for (n in t)
|
|
3012
|
-
t[n] !== void 0 && ((o[n] ? e : r || (r = {}))[n] = t[n]);
|
|
3013
|
-
return r && i.extend(!0, e, r), e;
|
|
3014
|
-
}
|
|
3015
|
-
function Nr(e, t, n) {
|
|
3016
|
-
for (var r, o, u, a, c = e.contents, f = e.dataTypes; f[0] === "*"; )
|
|
3017
|
-
f.shift(), r === void 0 && (r = e.mimeType || t.getResponseHeader("Content-Type"));
|
|
3018
|
-
if (r) {
|
|
3019
|
-
for (o in c)
|
|
3020
|
-
if (c[o] && c[o].test(r)) {
|
|
3021
|
-
f.unshift(o);
|
|
3022
|
-
break;
|
|
3023
|
-
}
|
|
3024
|
-
}
|
|
3025
|
-
if (f[0] in n)
|
|
3026
|
-
u = f[0];
|
|
3027
|
-
else {
|
|
3028
|
-
for (o in n) {
|
|
3029
|
-
if (!f[0] || e.converters[o + " " + f[0]]) {
|
|
3030
|
-
u = o;
|
|
3031
|
-
break;
|
|
3032
|
-
}
|
|
3033
|
-
a || (a = o);
|
|
3034
|
-
}
|
|
3035
|
-
u = u || a;
|
|
3036
|
-
}
|
|
3037
|
-
if (u)
|
|
3038
|
-
return u !== f[0] && f.unshift(u), n[u];
|
|
3039
|
-
}
|
|
3040
|
-
function kr(e, t, n, r) {
|
|
3041
|
-
var o, u, a, c, f, d = {}, y = e.dataTypes.slice();
|
|
3042
|
-
if (y[1])
|
|
3043
|
-
for (a in e.converters)
|
|
3044
|
-
d[a.toLowerCase()] = e.converters[a];
|
|
3045
|
-
for (u = y.shift(); u; )
|
|
3046
|
-
if (e.responseFields[u] && (n[e.responseFields[u]] = t), !f && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)), f = u, u = y.shift(), u) {
|
|
3047
|
-
if (u === "*")
|
|
3048
|
-
u = f;
|
|
3049
|
-
else if (f !== "*" && f !== u) {
|
|
3050
|
-
if (a = d[f + " " + u] || d["* " + u], !a) {
|
|
3051
|
-
for (o in d)
|
|
3052
|
-
if (c = o.split(" "), c[1] === u && (a = d[f + " " + c[0]] || d["* " + c[0]], a)) {
|
|
3053
|
-
a === !0 ? a = d[o] : d[o] !== !0 && (u = c[0], y.unshift(c[1]));
|
|
3054
|
-
break;
|
|
3055
|
-
}
|
|
3056
|
-
}
|
|
3057
|
-
if (a !== !0)
|
|
3058
|
-
if (a && e.throws)
|
|
3059
|
-
t = a(t);
|
|
3060
|
-
else
|
|
3061
|
-
try {
|
|
3062
|
-
t = a(t);
|
|
3063
|
-
} catch (b) {
|
|
3064
|
-
return {
|
|
3065
|
-
state: "parsererror",
|
|
3066
|
-
error: a ? b : "No conversion from " + f + " to " + u
|
|
3067
|
-
};
|
|
3068
|
-
}
|
|
3069
|
-
}
|
|
3070
|
-
}
|
|
3071
|
-
return { state: "success", data: t };
|
|
3072
|
-
}
|
|
3073
|
-
i.extend({
|
|
3074
|
-
// Counter for holding the number of active queries
|
|
3075
|
-
active: 0,
|
|
3076
|
-
// Last-Modified header cache for next request
|
|
3077
|
-
lastModified: {},
|
|
3078
|
-
etag: {},
|
|
3079
|
-
ajaxSettings: {
|
|
3080
|
-
url: Ve.href,
|
|
3081
|
-
type: "GET",
|
|
3082
|
-
isLocal: Er.test(Ve.protocol),
|
|
3083
|
-
global: !0,
|
|
3084
|
-
processData: !0,
|
|
3085
|
-
async: !0,
|
|
3086
|
-
contentType: "application/x-www-form-urlencoded; charset=UTF-8",
|
|
3087
|
-
/*
|
|
3088
|
-
timeout: 0,
|
|
3089
|
-
data: null,
|
|
3090
|
-
dataType: null,
|
|
3091
|
-
username: null,
|
|
3092
|
-
password: null,
|
|
3093
|
-
cache: null,
|
|
3094
|
-
throws: false,
|
|
3095
|
-
traditional: false,
|
|
3096
|
-
headers: {},
|
|
3097
|
-
*/
|
|
3098
|
-
accepts: {
|
|
3099
|
-
"*": wn,
|
|
3100
|
-
text: "text/plain",
|
|
3101
|
-
html: "text/html",
|
|
3102
|
-
xml: "application/xml, text/xml",
|
|
3103
|
-
json: "application/json, text/javascript"
|
|
3104
|
-
},
|
|
3105
|
-
contents: {
|
|
3106
|
-
xml: /\bxml\b/,
|
|
3107
|
-
html: /\bhtml/,
|
|
3108
|
-
json: /\bjson\b/
|
|
3109
|
-
},
|
|
3110
|
-
responseFields: {
|
|
3111
|
-
xml: "responseXML",
|
|
3112
|
-
text: "responseText",
|
|
3113
|
-
json: "responseJSON"
|
|
3114
|
-
},
|
|
3115
|
-
// Data converters
|
|
3116
|
-
// Keys separate source (or catchall "*") and destination types with a single space
|
|
3117
|
-
converters: {
|
|
3118
|
-
// Convert anything to text
|
|
3119
|
-
"* text": String,
|
|
3120
|
-
// Text to html (true = no transformation)
|
|
3121
|
-
"text html": !0,
|
|
3122
|
-
// Evaluate text as a json expression
|
|
3123
|
-
"text json": JSON.parse,
|
|
3124
|
-
// Parse text as xml
|
|
3125
|
-
"text xml": i.parseXML
|
|
3126
|
-
},
|
|
3127
|
-
// For options that shouldn't be deep extended:
|
|
3128
|
-
// you can add your own custom options here if
|
|
3129
|
-
// and when you create one that shouldn't be
|
|
3130
|
-
// deep extended (see ajaxExtend)
|
|
3131
|
-
flatOptions: {
|
|
3132
|
-
url: !0,
|
|
3133
|
-
context: !0
|
|
3134
|
-
}
|
|
3135
|
-
},
|
|
3136
|
-
// Creates a full fledged settings object into target
|
|
3137
|
-
// with both ajaxSettings and settings fields.
|
|
3138
|
-
// If target is omitted, writes into ajaxSettings.
|
|
3139
|
-
ajaxSetup: function(e, t) {
|
|
3140
|
-
return t ? (
|
|
3141
|
-
// Building a settings object
|
|
3142
|
-
Dt(Dt(e, i.ajaxSettings), t)
|
|
3143
|
-
) : (
|
|
3144
|
-
// Extending ajaxSettings
|
|
3145
|
-
Dt(i.ajaxSettings, e)
|
|
3146
|
-
);
|
|
3147
|
-
},
|
|
3148
|
-
ajaxPrefilter: Sn(Cn),
|
|
3149
|
-
ajaxTransport: Sn(Et),
|
|
3150
|
-
// Main method
|
|
3151
|
-
ajax: function(e, t) {
|
|
3152
|
-
typeof e == "object" && (t = e, e = void 0), t = t || {};
|
|
3153
|
-
var n, r, o, u, a, c, f, d, y, b, h = i.ajaxSetup({}, t), x = h.context || h, D = h.context && (x.nodeType || x.jquery) ? i(x) : i.event, R = i.Deferred(), H = i.Callbacks("once memory"), V = h.statusCode || {}, z = {}, ae = {}, se = "canceled", M = {
|
|
3154
|
-
readyState: 0,
|
|
3155
|
-
// Builds headers hashtable if needed
|
|
3156
|
-
getResponseHeader: function(I) {
|
|
3157
|
-
var B;
|
|
3158
|
-
if (f) {
|
|
3159
|
-
if (!u)
|
|
3160
|
-
for (u = {}; B = Sr.exec(o); )
|
|
3161
|
-
u[B[1].toLowerCase() + " "] = (u[B[1].toLowerCase() + " "] || []).concat(B[2]);
|
|
3162
|
-
B = u[I.toLowerCase() + " "];
|
|
3163
|
-
}
|
|
3164
|
-
return B == null ? null : B.join(", ");
|
|
3165
|
-
},
|
|
3166
|
-
// Raw string
|
|
3167
|
-
getAllResponseHeaders: function() {
|
|
3168
|
-
return f ? o : null;
|
|
3169
|
-
},
|
|
3170
|
-
// Caches the header
|
|
3171
|
-
setRequestHeader: function(I, B) {
|
|
3172
|
-
return f == null && (I = ae[I.toLowerCase()] = ae[I.toLowerCase()] || I, z[I] = B), this;
|
|
3173
|
-
},
|
|
3174
|
-
// Overrides response content-type header
|
|
3175
|
-
overrideMimeType: function(I) {
|
|
3176
|
-
return f == null && (h.mimeType = I), this;
|
|
3177
|
-
},
|
|
3178
|
-
// Status-dependent callbacks
|
|
3179
|
-
statusCode: function(I) {
|
|
3180
|
-
var B;
|
|
3181
|
-
if (I)
|
|
3182
|
-
if (f)
|
|
3183
|
-
M.always(I[M.status]);
|
|
3184
|
-
else
|
|
3185
|
-
for (B in I)
|
|
3186
|
-
V[B] = [V[B], I[B]];
|
|
3187
|
-
return this;
|
|
3188
|
-
},
|
|
3189
|
-
// Cancel the request
|
|
3190
|
-
abort: function(I) {
|
|
3191
|
-
var B = I || se;
|
|
3192
|
-
return n && n.abort(B), Se(0, B), this;
|
|
3193
|
-
}
|
|
3194
|
-
};
|
|
3195
|
-
if (R.promise(M), h.url = ((e || h.url || Ve.href) + "").replace(Dr, Ve.protocol + "//"), h.type = t.method || t.type || h.method || h.type, h.dataTypes = (h.dataType || "*").toLowerCase().match(oe) || [""], h.crossDomain == null) {
|
|
3196
|
-
c = k.createElement("a");
|
|
3197
|
-
try {
|
|
3198
|
-
c.href = h.url, c.href = c.href, h.crossDomain = At.protocol + "//" + At.host != c.protocol + "//" + c.host;
|
|
3199
|
-
} catch {
|
|
3200
|
-
h.crossDomain = !0;
|
|
3201
|
-
}
|
|
3202
|
-
}
|
|
3203
|
-
if (h.data && h.processData && typeof h.data != "string" && (h.data = i.param(h.data, h.traditional)), En(Cn, h, t, M), f)
|
|
3204
|
-
return M;
|
|
3205
|
-
d = i.event && h.global, d && i.active++ === 0 && i.event.trigger("ajaxStart"), h.type = h.type.toUpperCase(), h.hasContent = !Ar.test(h.type), r = h.url.replace(Cr, ""), h.hasContent ? h.data && h.processData && (h.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && (h.data = h.data.replace(Tr, "+")) : (b = h.url.slice(r.length), h.data && (h.processData || typeof h.data == "string") && (r += (wt.test(r) ? "&" : "?") + h.data, delete h.data), h.cache === !1 && (r = r.replace(wr, "$1"), b = (wt.test(r) ? "&" : "?") + "_=" + bn.guid++ + b), h.url = r + b), h.ifModified && (i.lastModified[r] && M.setRequestHeader("If-Modified-Since", i.lastModified[r]), i.etag[r] && M.setRequestHeader("If-None-Match", i.etag[r])), (h.data && h.hasContent && h.contentType !== !1 || t.contentType) && M.setRequestHeader("Content-Type", h.contentType), M.setRequestHeader(
|
|
3206
|
-
"Accept",
|
|
3207
|
-
h.dataTypes[0] && h.accepts[h.dataTypes[0]] ? h.accepts[h.dataTypes[0]] + (h.dataTypes[0] !== "*" ? ", " + wn + "; q=0.01" : "") : h.accepts["*"]
|
|
3208
|
-
);
|
|
3209
|
-
for (y in h.headers)
|
|
3210
|
-
M.setRequestHeader(y, h.headers[y]);
|
|
3211
|
-
if (h.beforeSend && (h.beforeSend.call(x, M, h) === !1 || f))
|
|
3212
|
-
return M.abort();
|
|
3213
|
-
if (se = "abort", H.add(h.complete), M.done(h.success), M.fail(h.error), n = En(Et, h, t, M), !n)
|
|
3214
|
-
Se(-1, "No Transport");
|
|
3215
|
-
else {
|
|
3216
|
-
if (M.readyState = 1, d && D.trigger("ajaxSend", [M, h]), f)
|
|
3217
|
-
return M;
|
|
3218
|
-
h.async && h.timeout > 0 && (a = j.setTimeout(function() {
|
|
3219
|
-
M.abort("timeout");
|
|
3220
|
-
}, h.timeout));
|
|
3221
|
-
try {
|
|
3222
|
-
f = !1, n.send(z, Se);
|
|
3223
|
-
} catch (I) {
|
|
3224
|
-
if (f)
|
|
3225
|
-
throw I;
|
|
3226
|
-
Se(-1, I);
|
|
3227
|
-
}
|
|
3228
|
-
}
|
|
3229
|
-
function Se(I, B, Ge, kt) {
|
|
3230
|
-
var fe, Qe, ce, be, xe, te = B;
|
|
3231
|
-
f || (f = !0, a && j.clearTimeout(a), n = void 0, o = kt || "", M.readyState = I > 0 ? 4 : 0, fe = I >= 200 && I < 300 || I === 304, Ge && (be = Nr(h, M, Ge)), !fe && i.inArray("script", h.dataTypes) > -1 && i.inArray("json", h.dataTypes) < 0 && (h.converters["text script"] = function() {
|
|
3232
|
-
}), be = kr(h, be, M, fe), fe ? (h.ifModified && (xe = M.getResponseHeader("Last-Modified"), xe && (i.lastModified[r] = xe), xe = M.getResponseHeader("etag"), xe && (i.etag[r] = xe)), I === 204 || h.type === "HEAD" ? te = "nocontent" : I === 304 ? te = "notmodified" : (te = be.state, Qe = be.data, ce = be.error, fe = !ce)) : (ce = te, (I || !te) && (te = "error", I < 0 && (I = 0))), M.status = I, M.statusText = (B || te) + "", fe ? R.resolveWith(x, [Qe, te, M]) : R.rejectWith(x, [M, te, ce]), M.statusCode(V), V = void 0, d && D.trigger(
|
|
3233
|
-
fe ? "ajaxSuccess" : "ajaxError",
|
|
3234
|
-
[M, h, fe ? Qe : ce]
|
|
3235
|
-
), H.fireWith(x, [M, te]), d && (D.trigger("ajaxComplete", [M, h]), --i.active || i.event.trigger("ajaxStop")));
|
|
3236
|
-
}
|
|
3237
|
-
return M;
|
|
3238
|
-
},
|
|
3239
|
-
getJSON: function(e, t, n) {
|
|
3240
|
-
return i.get(e, t, n, "json");
|
|
3241
|
-
},
|
|
3242
|
-
getScript: function(e, t) {
|
|
3243
|
-
return i.get(e, void 0, t, "script");
|
|
3244
|
-
}
|
|
3245
|
-
}), i.each(["get", "post"], function(e, t) {
|
|
3246
|
-
i[t] = function(n, r, o, u) {
|
|
3247
|
-
return L(r) && (u = u || o, o = r, r = void 0), i.ajax(i.extend({
|
|
3248
|
-
url: n,
|
|
3249
|
-
type: t,
|
|
3250
|
-
dataType: u,
|
|
3251
|
-
data: r,
|
|
3252
|
-
success: o
|
|
3253
|
-
}, i.isPlainObject(n) && n));
|
|
3254
|
-
};
|
|
3255
|
-
}), i.ajaxPrefilter(function(e) {
|
|
3256
|
-
var t;
|
|
3257
|
-
for (t in e.headers)
|
|
3258
|
-
t.toLowerCase() === "content-type" && (e.contentType = e.headers[t] || "");
|
|
3259
|
-
}), i._evalUrl = function(e, t, n) {
|
|
3260
|
-
return i.ajax({
|
|
3261
|
-
url: e,
|
|
3262
|
-
// Make this explicit, since user can override this through ajaxSetup (trac-11264)
|
|
3263
|
-
type: "GET",
|
|
3264
|
-
dataType: "script",
|
|
3265
|
-
cache: !0,
|
|
3266
|
-
async: !1,
|
|
3267
|
-
global: !1,
|
|
3268
|
-
// Only evaluate the response if it is successful (gh-4126)
|
|
3269
|
-
// dataFilter is not invoked for failure responses, so using it instead
|
|
3270
|
-
// of the default converter is kludgy but it works.
|
|
3271
|
-
converters: {
|
|
3272
|
-
"text script": function() {
|
|
3273
|
-
}
|
|
3274
|
-
},
|
|
3275
|
-
dataFilter: function(r) {
|
|
3276
|
-
i.globalEval(r, t, n);
|
|
3277
|
-
}
|
|
3278
|
-
});
|
|
3279
|
-
}, i.fn.extend({
|
|
3280
|
-
wrapAll: function(e) {
|
|
3281
|
-
var t;
|
|
3282
|
-
return this[0] && (L(e) && (e = e.call(this[0])), t = i(e, this[0].ownerDocument).eq(0).clone(!0), this[0].parentNode && t.insertBefore(this[0]), t.map(function() {
|
|
3283
|
-
for (var n = this; n.firstElementChild; )
|
|
3284
|
-
n = n.firstElementChild;
|
|
3285
|
-
return n;
|
|
3286
|
-
}).append(this)), this;
|
|
3287
|
-
},
|
|
3288
|
-
wrapInner: function(e) {
|
|
3289
|
-
return L(e) ? this.each(function(t) {
|
|
3290
|
-
i(this).wrapInner(e.call(this, t));
|
|
3291
|
-
}) : this.each(function() {
|
|
3292
|
-
var t = i(this), n = t.contents();
|
|
3293
|
-
n.length ? n.wrapAll(e) : t.append(e);
|
|
3294
|
-
});
|
|
3295
|
-
},
|
|
3296
|
-
wrap: function(e) {
|
|
3297
|
-
var t = L(e);
|
|
3298
|
-
return this.each(function(n) {
|
|
3299
|
-
i(this).wrapAll(t ? e.call(this, n) : e);
|
|
3300
|
-
});
|
|
3301
|
-
},
|
|
3302
|
-
unwrap: function(e) {
|
|
3303
|
-
return this.parent(e).not("body").each(function() {
|
|
3304
|
-
i(this).replaceWith(this.childNodes);
|
|
3305
|
-
}), this;
|
|
3306
|
-
}
|
|
3307
|
-
}), i.expr.pseudos.hidden = function(e) {
|
|
3308
|
-
return !i.expr.pseudos.visible(e);
|
|
3309
|
-
}, i.expr.pseudos.visible = function(e) {
|
|
3310
|
-
return !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length);
|
|
3311
|
-
}, i.ajaxSettings.xhr = function() {
|
|
3312
|
-
try {
|
|
3313
|
-
return new j.XMLHttpRequest();
|
|
3314
|
-
} catch {
|
|
3315
|
-
}
|
|
3316
|
-
};
|
|
3317
|
-
var jr = {
|
|
3318
|
-
// File protocol always yields status code 0, assume 200
|
|
3319
|
-
0: 200,
|
|
3320
|
-
// Support: IE <=9 only
|
|
3321
|
-
// trac-1450: sometimes IE returns 1223 when it should be 204
|
|
3322
|
-
1223: 204
|
|
3323
|
-
}, Xe = i.ajaxSettings.xhr();
|
|
3324
|
-
q.cors = !!Xe && "withCredentials" in Xe, q.ajax = Xe = !!Xe, i.ajaxTransport(function(e) {
|
|
3325
|
-
var t, n;
|
|
3326
|
-
if (q.cors || Xe && !e.crossDomain)
|
|
3327
|
-
return {
|
|
3328
|
-
send: function(r, o) {
|
|
3329
|
-
var u, a = e.xhr();
|
|
3330
|
-
if (a.open(
|
|
3331
|
-
e.type,
|
|
3332
|
-
e.url,
|
|
3333
|
-
e.async,
|
|
3334
|
-
e.username,
|
|
3335
|
-
e.password
|
|
3336
|
-
), e.xhrFields)
|
|
3337
|
-
for (u in e.xhrFields)
|
|
3338
|
-
a[u] = e.xhrFields[u];
|
|
3339
|
-
e.mimeType && a.overrideMimeType && a.overrideMimeType(e.mimeType), !e.crossDomain && !r["X-Requested-With"] && (r["X-Requested-With"] = "XMLHttpRequest");
|
|
3340
|
-
for (u in r)
|
|
3341
|
-
a.setRequestHeader(u, r[u]);
|
|
3342
|
-
t = function(c) {
|
|
3343
|
-
return function() {
|
|
3344
|
-
t && (t = n = a.onload = a.onerror = a.onabort = a.ontimeout = a.onreadystatechange = null, c === "abort" ? a.abort() : c === "error" ? typeof a.status != "number" ? o(0, "error") : o(
|
|
3345
|
-
// File: protocol always yields status 0; see trac-8605, trac-14207
|
|
3346
|
-
a.status,
|
|
3347
|
-
a.statusText
|
|
3348
|
-
) : o(
|
|
3349
|
-
jr[a.status] || a.status,
|
|
3350
|
-
a.statusText,
|
|
3351
|
-
// Support: IE <=9 only
|
|
3352
|
-
// IE9 has no XHR2 but throws on binary (trac-11426)
|
|
3353
|
-
// For XHR2 non-text, let the caller handle it (gh-2498)
|
|
3354
|
-
(a.responseType || "text") !== "text" || typeof a.responseText != "string" ? { binary: a.response } : { text: a.responseText },
|
|
3355
|
-
a.getAllResponseHeaders()
|
|
3356
|
-
));
|
|
3357
|
-
};
|
|
3358
|
-
}, a.onload = t(), n = a.onerror = a.ontimeout = t("error"), a.onabort !== void 0 ? a.onabort = n : a.onreadystatechange = function() {
|
|
3359
|
-
a.readyState === 4 && j.setTimeout(function() {
|
|
3360
|
-
t && n();
|
|
3361
|
-
});
|
|
3362
|
-
}, t = t("abort");
|
|
3363
|
-
try {
|
|
3364
|
-
a.send(e.hasContent && e.data || null);
|
|
3365
|
-
} catch (c) {
|
|
3366
|
-
if (t)
|
|
3367
|
-
throw c;
|
|
3368
|
-
}
|
|
3369
|
-
},
|
|
3370
|
-
abort: function() {
|
|
3371
|
-
t && t();
|
|
3372
|
-
}
|
|
3373
|
-
};
|
|
3374
|
-
}), i.ajaxPrefilter(function(e) {
|
|
3375
|
-
e.crossDomain && (e.contents.script = !1);
|
|
3376
|
-
}), i.ajaxSetup({
|
|
3377
|
-
accepts: {
|
|
3378
|
-
script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
|
|
3379
|
-
},
|
|
3380
|
-
contents: {
|
|
3381
|
-
script: /\b(?:java|ecma)script\b/
|
|
3382
|
-
},
|
|
3383
|
-
converters: {
|
|
3384
|
-
"text script": function(e) {
|
|
3385
|
-
return i.globalEval(e), e;
|
|
3386
|
-
}
|
|
3387
|
-
}
|
|
3388
|
-
}), i.ajaxPrefilter("script", function(e) {
|
|
3389
|
-
e.cache === void 0 && (e.cache = !1), e.crossDomain && (e.type = "GET");
|
|
3390
|
-
}), i.ajaxTransport("script", function(e) {
|
|
3391
|
-
if (e.crossDomain || e.scriptAttrs) {
|
|
3392
|
-
var t, n;
|
|
3393
|
-
return {
|
|
3394
|
-
send: function(r, o) {
|
|
3395
|
-
t = i("<script>").attr(e.scriptAttrs || {}).prop({ charset: e.scriptCharset, src: e.url }).on("load error", n = function(u) {
|
|
3396
|
-
t.remove(), n = null, u && o(u.type === "error" ? 404 : 200, u.type);
|
|
3397
|
-
}), k.head.appendChild(t[0]);
|
|
3398
|
-
},
|
|
3399
|
-
abort: function() {
|
|
3400
|
-
n && n();
|
|
3401
|
-
}
|
|
3402
|
-
};
|
|
3403
|
-
}
|
|
3404
|
-
});
|
|
3405
|
-
var An = [], Nt = /(=)\?(?=&|$)|\?\?/;
|
|
3406
|
-
i.ajaxSetup({
|
|
3407
|
-
jsonp: "callback",
|
|
3408
|
-
jsonpCallback: function() {
|
|
3409
|
-
var e = An.pop() || i.expando + "_" + bn.guid++;
|
|
3410
|
-
return this[e] = !0, e;
|
|
3411
|
-
}
|
|
3412
|
-
}), i.ajaxPrefilter("json jsonp", function(e, t, n) {
|
|
3413
|
-
var r, o, u, a = e.jsonp !== !1 && (Nt.test(e.url) ? "url" : typeof e.data == "string" && (e.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && Nt.test(e.data) && "data");
|
|
3414
|
-
if (a || e.dataTypes[0] === "jsonp")
|
|
3415
|
-
return r = e.jsonpCallback = L(e.jsonpCallback) ? e.jsonpCallback() : e.jsonpCallback, a ? e[a] = e[a].replace(Nt, "$1" + r) : e.jsonp !== !1 && (e.url += (wt.test(e.url) ? "&" : "?") + e.jsonp + "=" + r), e.converters["script json"] = function() {
|
|
3416
|
-
return u || i.error(r + " was not called"), u[0];
|
|
3417
|
-
}, e.dataTypes[0] = "json", o = j[r], j[r] = function() {
|
|
3418
|
-
u = arguments;
|
|
3419
|
-
}, n.always(function() {
|
|
3420
|
-
o === void 0 ? i(j).removeProp(r) : j[r] = o, e[r] && (e.jsonpCallback = t.jsonpCallback, An.push(r)), u && L(o) && o(u[0]), u = o = void 0;
|
|
3421
|
-
}), "script";
|
|
3422
|
-
}), q.createHTMLDocument = function() {
|
|
3423
|
-
var e = k.implementation.createHTMLDocument("").body;
|
|
3424
|
-
return e.innerHTML = "<form></form><form></form>", e.childNodes.length === 2;
|
|
3425
|
-
}(), i.parseHTML = function(e, t, n) {
|
|
3426
|
-
if (typeof e != "string")
|
|
3427
|
-
return [];
|
|
3428
|
-
typeof t == "boolean" && (n = t, t = !1);
|
|
3429
|
-
var r, o, u;
|
|
3430
|
-
return t || (q.createHTMLDocument ? (t = k.implementation.createHTMLDocument(""), r = t.createElement("base"), r.href = k.location.href, t.head.appendChild(r)) : t = k), o = Ut.exec(e), u = !n && [], o ? [t.createElement(o[1])] : (o = tn([e], t, u), u && u.length && i(u).remove(), i.merge([], o.childNodes));
|
|
3431
|
-
}, i.fn.load = function(e, t, n) {
|
|
3432
|
-
var r, o, u, a = this, c = e.indexOf(" ");
|
|
3433
|
-
return c > -1 && (r = Ce(e.slice(c)), e = e.slice(0, c)), L(t) ? (n = t, t = void 0) : t && typeof t == "object" && (o = "POST"), a.length > 0 && i.ajax({
|
|
3434
|
-
url: e,
|
|
3435
|
-
// If "type" variable is undefined, then "GET" method will be used.
|
|
3436
|
-
// Make value of this field explicit since
|
|
3437
|
-
// user can override it through ajaxSetup method
|
|
3438
|
-
type: o || "GET",
|
|
3439
|
-
dataType: "html",
|
|
3440
|
-
data: t
|
|
3441
|
-
}).done(function(f) {
|
|
3442
|
-
u = arguments, a.html(r ? (
|
|
3443
|
-
// If a selector was specified, locate the right elements in a dummy div
|
|
3444
|
-
// Exclude scripts to avoid IE 'Permission Denied' errors
|
|
3445
|
-
i("<div>").append(i.parseHTML(f)).find(r)
|
|
3446
|
-
) : (
|
|
3447
|
-
// Otherwise use the full result
|
|
3448
|
-
f
|
|
3449
|
-
));
|
|
3450
|
-
}).always(n && function(f, d) {
|
|
3451
|
-
a.each(function() {
|
|
3452
|
-
n.apply(this, u || [f.responseText, d, f]);
|
|
3453
|
-
});
|
|
3454
|
-
}), this;
|
|
3455
|
-
}, i.expr.pseudos.animated = function(e) {
|
|
3456
|
-
return i.grep(i.timers, function(t) {
|
|
3457
|
-
return e === t.elem;
|
|
3458
|
-
}).length;
|
|
3459
|
-
}, i.offset = {
|
|
3460
|
-
setOffset: function(e, t, n) {
|
|
3461
|
-
var r, o, u, a, c, f, d, y = i.css(e, "position"), b = i(e), h = {};
|
|
3462
|
-
y === "static" && (e.style.position = "relative"), c = b.offset(), u = i.css(e, "top"), f = i.css(e, "left"), d = (y === "absolute" || y === "fixed") && (u + f).indexOf("auto") > -1, d ? (r = b.position(), a = r.top, o = r.left) : (a = parseFloat(u) || 0, o = parseFloat(f) || 0), L(t) && (t = t.call(e, n, i.extend({}, c))), t.top != null && (h.top = t.top - c.top + a), t.left != null && (h.left = t.left - c.left + o), "using" in t ? t.using.call(e, h) : b.css(h);
|
|
3463
|
-
}
|
|
3464
|
-
}, i.fn.extend({
|
|
3465
|
-
// offset() relates an element's border box to the document origin
|
|
3466
|
-
offset: function(e) {
|
|
3467
|
-
if (arguments.length)
|
|
3468
|
-
return e === void 0 ? this : this.each(function(o) {
|
|
3469
|
-
i.offset.setOffset(this, e, o);
|
|
3470
|
-
});
|
|
3471
|
-
var t, n, r = this[0];
|
|
3472
|
-
if (r)
|
|
3473
|
-
return r.getClientRects().length ? (t = r.getBoundingClientRect(), n = r.ownerDocument.defaultView, {
|
|
3474
|
-
top: t.top + n.pageYOffset,
|
|
3475
|
-
left: t.left + n.pageXOffset
|
|
3476
|
-
}) : { top: 0, left: 0 };
|
|
3477
|
-
},
|
|
3478
|
-
// position() relates an element's margin box to its offset parent's padding box
|
|
3479
|
-
// This corresponds to the behavior of CSS absolute positioning
|
|
3480
|
-
position: function() {
|
|
3481
|
-
if (this[0]) {
|
|
3482
|
-
var e, t, n, r = this[0], o = { top: 0, left: 0 };
|
|
3483
|
-
if (i.css(r, "position") === "fixed")
|
|
3484
|
-
t = r.getBoundingClientRect();
|
|
3485
|
-
else {
|
|
3486
|
-
for (t = this.offset(), n = r.ownerDocument, e = r.offsetParent || n.documentElement; e && (e === n.body || e === n.documentElement) && i.css(e, "position") === "static"; )
|
|
3487
|
-
e = e.parentNode;
|
|
3488
|
-
e && e !== r && e.nodeType === 1 && (o = i(e).offset(), o.top += i.css(e, "borderTopWidth", !0), o.left += i.css(e, "borderLeftWidth", !0));
|
|
3489
|
-
}
|
|
3490
|
-
return {
|
|
3491
|
-
top: t.top - o.top - i.css(r, "marginTop", !0),
|
|
3492
|
-
left: t.left - o.left - i.css(r, "marginLeft", !0)
|
|
3493
|
-
};
|
|
3494
|
-
}
|
|
3495
|
-
},
|
|
3496
|
-
// This method will return documentElement in the following cases:
|
|
3497
|
-
// 1) For the element inside the iframe without offsetParent, this method will return
|
|
3498
|
-
// documentElement of the parent window
|
|
3499
|
-
// 2) For the hidden or detached element
|
|
3500
|
-
// 3) For body or html element, i.e. in case of the html node - it will return itself
|
|
3501
|
-
//
|
|
3502
|
-
// but those exceptions were never presented as a real life use-cases
|
|
3503
|
-
// and might be considered as more preferable results.
|
|
3504
|
-
//
|
|
3505
|
-
// This logic, however, is not guaranteed and can change at any point in the future
|
|
3506
|
-
offsetParent: function() {
|
|
3507
|
-
return this.map(function() {
|
|
3508
|
-
for (var e = this.offsetParent; e && i.css(e, "position") === "static"; )
|
|
3509
|
-
e = e.offsetParent;
|
|
3510
|
-
return e || Te;
|
|
3511
|
-
});
|
|
3512
|
-
}
|
|
3513
|
-
}), i.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function(e, t) {
|
|
3514
|
-
var n = t === "pageYOffset";
|
|
3515
|
-
i.fn[e] = function(r) {
|
|
3516
|
-
return he(this, function(o, u, a) {
|
|
3517
|
-
var c;
|
|
3518
|
-
if (Ae(o) ? c = o : o.nodeType === 9 && (c = o.defaultView), a === void 0)
|
|
3519
|
-
return c ? c[t] : o[u];
|
|
3520
|
-
c ? c.scrollTo(
|
|
3521
|
-
n ? c.pageXOffset : a,
|
|
3522
|
-
n ? a : c.pageYOffset
|
|
3523
|
-
) : o[u] = a;
|
|
3524
|
-
}, e, r, arguments.length);
|
|
3525
|
-
};
|
|
3526
|
-
}), i.each(["top", "left"], function(e, t) {
|
|
3527
|
-
i.cssHooks[t] = sn(
|
|
3528
|
-
q.pixelPosition,
|
|
3529
|
-
function(n, r) {
|
|
3530
|
-
if (r)
|
|
3531
|
-
return r = ze(n, t), vt.test(r) ? i(n).position()[t] + "px" : r;
|
|
3532
|
-
}
|
|
3533
|
-
);
|
|
3534
|
-
}), i.each({ Height: "height", Width: "width" }, function(e, t) {
|
|
3535
|
-
i.each({
|
|
3536
|
-
padding: "inner" + e,
|
|
3537
|
-
content: t,
|
|
3538
|
-
"": "outer" + e
|
|
3539
|
-
}, function(n, r) {
|
|
3540
|
-
i.fn[r] = function(o, u) {
|
|
3541
|
-
var a = arguments.length && (n || typeof o != "boolean"), c = n || (o === !0 || u === !0 ? "margin" : "border");
|
|
3542
|
-
return he(this, function(f, d, y) {
|
|
3543
|
-
var b;
|
|
3544
|
-
return Ae(f) ? r.indexOf("outer") === 0 ? f["inner" + e] : f.document.documentElement["client" + e] : f.nodeType === 9 ? (b = f.documentElement, Math.max(
|
|
3545
|
-
f.body["scroll" + e],
|
|
3546
|
-
b["scroll" + e],
|
|
3547
|
-
f.body["offset" + e],
|
|
3548
|
-
b["offset" + e],
|
|
3549
|
-
b["client" + e]
|
|
3550
|
-
)) : y === void 0 ? (
|
|
3551
|
-
// Get width or height on the element, requesting but not forcing parseFloat
|
|
3552
|
-
i.css(f, d, c)
|
|
3553
|
-
) : (
|
|
3554
|
-
// Set width or height on the element
|
|
3555
|
-
i.style(f, d, y, c)
|
|
3556
|
-
);
|
|
3557
|
-
}, t, a ? o : void 0, a);
|
|
3558
|
-
};
|
|
3559
|
-
});
|
|
3560
|
-
}), i.each([
|
|
3561
|
-
"ajaxStart",
|
|
3562
|
-
"ajaxStop",
|
|
3563
|
-
"ajaxComplete",
|
|
3564
|
-
"ajaxError",
|
|
3565
|
-
"ajaxSuccess",
|
|
3566
|
-
"ajaxSend"
|
|
3567
|
-
], function(e, t) {
|
|
3568
|
-
i.fn[t] = function(n) {
|
|
3569
|
-
return this.on(t, n);
|
|
3570
|
-
};
|
|
3571
|
-
}), i.fn.extend({
|
|
3572
|
-
bind: function(e, t, n) {
|
|
3573
|
-
return this.on(e, null, t, n);
|
|
3574
|
-
},
|
|
3575
|
-
unbind: function(e, t) {
|
|
3576
|
-
return this.off(e, null, t);
|
|
3577
|
-
},
|
|
3578
|
-
delegate: function(e, t, n, r) {
|
|
3579
|
-
return this.on(t, e, n, r);
|
|
3580
|
-
},
|
|
3581
|
-
undelegate: function(e, t, n) {
|
|
3582
|
-
return arguments.length === 1 ? this.off(e, "**") : this.off(t, e || "**", n);
|
|
3583
|
-
},
|
|
3584
|
-
hover: function(e, t) {
|
|
3585
|
-
return this.on("mouseenter", e).on("mouseleave", t || e);
|
|
3586
|
-
}
|
|
3587
|
-
}), i.each(
|
|
3588
|
-
"blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),
|
|
3589
|
-
function(e, t) {
|
|
3590
|
-
i.fn[t] = function(n, r) {
|
|
3591
|
-
return arguments.length > 0 ? this.on(t, null, n, r) : this.trigger(t);
|
|
3592
|
-
};
|
|
3593
|
-
}
|
|
3594
|
-
);
|
|
3595
|
-
var qr = /^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;
|
|
3596
|
-
i.proxy = function(e, t) {
|
|
3597
|
-
var n, r, o;
|
|
3598
|
-
if (typeof t == "string" && (n = e[t], t = e, e = n), !!L(e))
|
|
3599
|
-
return r = Z.call(arguments, 2), o = function() {
|
|
3600
|
-
return e.apply(t || this, r.concat(Z.call(arguments)));
|
|
3601
|
-
}, o.guid = e.guid = e.guid || i.guid++, o;
|
|
3602
|
-
}, i.holdReady = function(e) {
|
|
3603
|
-
e ? i.readyWait++ : i.ready(!0);
|
|
3604
|
-
}, i.isArray = Array.isArray, i.parseJSON = JSON.parse, i.nodeName = $, i.isFunction = L, i.isWindow = Ae, i.camelCase = ue, i.type = De, i.now = Date.now, i.isNumeric = function(e) {
|
|
3605
|
-
var t = i.type(e);
|
|
3606
|
-
return (t === "number" || t === "string") && // parseFloat NaNs numeric-cast false positives ("")
|
|
3607
|
-
// ...but misinterprets leading-number strings, particularly hex literals ("0x...")
|
|
3608
|
-
// subtraction forces infinities to NaN
|
|
3609
|
-
!isNaN(e - parseFloat(e));
|
|
3610
|
-
}, i.trim = function(e) {
|
|
3611
|
-
return e == null ? "" : (e + "").replace(qr, "$1");
|
|
3612
|
-
};
|
|
3613
|
-
var Lr = j.jQuery, Hr = j.$;
|
|
3614
|
-
return i.noConflict = function(e) {
|
|
3615
|
-
return j.$ === i && (j.$ = Hr), e && j.jQuery === i && (j.jQuery = Lr), i;
|
|
3616
|
-
}, typeof Je > "u" && (j.jQuery = j.$ = i), i;
|
|
3617
|
-
});
|
|
3618
|
-
}(Mt)), Mt.exports;
|
|
3619
|
-
}
|
|
3620
|
-
export {
|
|
3621
|
-
Br as r
|
|
3622
|
-
};
|