@yidun/livedetect-sdk-h5 1.2.2 → 1.2.3

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.
@@ -1,4538 +0,0 @@
1
- /*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */
2
- !(function (e, t) {
3
- 'use strict';
4
- 'object' == typeof module && 'object' == typeof module.exports
5
- ? (module.exports = e.document
6
- ? t(e, !0)
7
- : function (e) {
8
- if (!e.document) throw new Error('jQuery requires a window with a document');
9
- return t(e);
10
- })
11
- : t(e);
12
- })('undefined' != typeof window ? window : this, function (C, e) {
13
- 'use strict';
14
- var t = [],
15
- r = Object.getPrototypeOf,
16
- s = t.slice,
17
- g = t.flat
18
- ? function (e) {
19
- return t.flat.call(e);
20
- }
21
- : function (e) {
22
- return t.concat.apply([], e);
23
- },
24
- u = t.push,
25
- i = t.indexOf,
26
- n = {},
27
- o = n.toString,
28
- v = n.hasOwnProperty,
29
- a = v.toString,
30
- l = a.call(Object),
31
- y = {},
32
- m = function (e) {
33
- return 'function' == typeof e && 'number' != typeof e.nodeType && 'function' != typeof e.item;
34
- },
35
- x = function (e) {
36
- return null != e && e === e.window;
37
- },
38
- E = C.document,
39
- c = { type: !0, src: !0, nonce: !0, noModule: !0 };
40
- function b(e, t, n) {
41
- var r,
42
- i,
43
- o = (n = n || E).createElement('script');
44
- if (((o.text = e), t)) for (r in c) (i = t[r] || (t.getAttribute && t.getAttribute(r))) && o.setAttribute(r, i);
45
- n.head.appendChild(o).parentNode.removeChild(o);
46
- }
47
- function w(e) {
48
- return null == e ? e + '' : 'object' == typeof e || 'function' == typeof e ? n[o.call(e)] || 'object' : typeof e;
49
- }
50
- var f = '3.6.0',
51
- S = function (e, t) {
52
- return new S.fn.init(e, t);
53
- };
54
- function p(e) {
55
- var t = !!e && 'length' in e && e.length,
56
- n = w(e);
57
- return !m(e) && !x(e) && ('array' === n || 0 === t || ('number' == typeof t && 0 < t && t - 1 in e));
58
- }
59
- (S.fn = S.prototype =
60
- {
61
- jquery: f,
62
- constructor: S,
63
- length: 0,
64
- toArray: function () {
65
- return s.call(this);
66
- },
67
- get: function (e) {
68
- return null == e ? s.call(this) : e < 0 ? this[e + this.length] : this[e];
69
- },
70
- pushStack: function (e) {
71
- var t = S.merge(this.constructor(), e);
72
- return (t.prevObject = this), t;
73
- },
74
- each: function (e) {
75
- return S.each(this, e);
76
- },
77
- map: function (n) {
78
- return this.pushStack(
79
- S.map(this, function (e, t) {
80
- return n.call(e, t, e);
81
- }),
82
- );
83
- },
84
- slice: function () {
85
- return this.pushStack(s.apply(this, arguments));
86
- },
87
- first: function () {
88
- return this.eq(0);
89
- },
90
- last: function () {
91
- return this.eq(-1);
92
- },
93
- even: function () {
94
- return this.pushStack(
95
- S.grep(this, function (e, t) {
96
- return (t + 1) % 2;
97
- }),
98
- );
99
- },
100
- odd: function () {
101
- return this.pushStack(
102
- S.grep(this, function (e, t) {
103
- return t % 2;
104
- }),
105
- );
106
- },
107
- eq: function (e) {
108
- var t = this.length,
109
- n = +e + (e < 0 ? t : 0);
110
- return this.pushStack(0 <= n && n < t ? [this[n]] : []);
111
- },
112
- end: function () {
113
- return this.prevObject || this.constructor();
114
- },
115
- push: u,
116
- sort: t.sort,
117
- splice: t.splice,
118
- }),
119
- (S.extend = S.fn.extend =
120
- function () {
121
- var e,
122
- t,
123
- n,
124
- r,
125
- i,
126
- o,
127
- a = arguments[0] || {},
128
- s = 1,
129
- u = arguments.length,
130
- l = !1;
131
- for (
132
- 'boolean' == typeof a && ((l = a), (a = arguments[s] || {}), s++),
133
- 'object' == typeof a || m(a) || (a = {}),
134
- s === u && ((a = this), s--);
135
- s < u;
136
- s++
137
- )
138
- if (null != (e = arguments[s]))
139
- for (t in e)
140
- (r = e[t]),
141
- '__proto__' !== t &&
142
- a !== r &&
143
- (l && r && (S.isPlainObject(r) || (i = Array.isArray(r)))
144
- ? ((n = a[t]),
145
- (o = i && !Array.isArray(n) ? [] : i || S.isPlainObject(n) ? n : {}),
146
- (i = !1),
147
- (a[t] = S.extend(l, o, r)))
148
- : void 0 !== r && (a[t] = r));
149
- return a;
150
- }),
151
- S.extend({
152
- expando: 'jQuery' + (f + Math.random()).replace(/\D/g, ''),
153
- isReady: !0,
154
- error: function (e) {
155
- throw new Error(e);
156
- },
157
- noop: function () {},
158
- isPlainObject: function (e) {
159
- var t, n;
160
- return (
161
- !(!e || '[object Object]' !== o.call(e)) &&
162
- (!(t = r(e)) || ('function' == typeof (n = v.call(t, 'constructor') && t.constructor) && a.call(n) === l))
163
- );
164
- },
165
- isEmptyObject: function (e) {
166
- var t;
167
- for (t in e) return !1;
168
- return !0;
169
- },
170
- globalEval: function (e, t, n) {
171
- b(e, { nonce: t && t.nonce }, n);
172
- },
173
- each: function (e, t) {
174
- var n,
175
- r = 0;
176
- if (p(e)) {
177
- for (n = e.length; r < n; r++) if (!1 === t.call(e[r], r, e[r])) break;
178
- } else for (r in e) if (!1 === t.call(e[r], r, e[r])) break;
179
- return e;
180
- },
181
- makeArray: function (e, t) {
182
- var n = t || [];
183
- return null != e && (p(Object(e)) ? S.merge(n, 'string' == typeof e ? [e] : e) : u.call(n, e)), n;
184
- },
185
- inArray: function (e, t, n) {
186
- return null == t ? -1 : i.call(t, e, n);
187
- },
188
- merge: function (e, t) {
189
- for (var n = +t.length, r = 0, i = e.length; r < n; r++) e[i++] = t[r];
190
- return (e.length = i), e;
191
- },
192
- grep: function (e, t, n) {
193
- for (var r = [], i = 0, o = e.length, a = !n; i < o; i++) !t(e[i], i) !== a && r.push(e[i]);
194
- return r;
195
- },
196
- map: function (e, t, n) {
197
- var r,
198
- i,
199
- o = 0,
200
- a = [];
201
- if (p(e)) for (r = e.length; o < r; o++) null != (i = t(e[o], o, n)) && a.push(i);
202
- else for (o in e) null != (i = t(e[o], o, n)) && a.push(i);
203
- return g(a);
204
- },
205
- guid: 1,
206
- support: y,
207
- }),
208
- 'function' == typeof Symbol && (S.fn[Symbol.iterator] = t[Symbol.iterator]),
209
- S.each('Boolean Number String Function Array Date RegExp Object Error Symbol'.split(' '), function (e, t) {
210
- n['[object ' + t + ']'] = t.toLowerCase();
211
- });
212
- var d = (function (n) {
213
- var e,
214
- d,
215
- b,
216
- o,
217
- i,
218
- h,
219
- f,
220
- g,
221
- w,
222
- u,
223
- l,
224
- T,
225
- C,
226
- a,
227
- E,
228
- v,
229
- s,
230
- c,
231
- y,
232
- S = 'sizzle' + 1 * new Date(),
233
- p = n.document,
234
- k = 0,
235
- r = 0,
236
- m = ue(),
237
- x = ue(),
238
- A = ue(),
239
- N = ue(),
240
- j = function (e, t) {
241
- return e === t && (l = !0), 0;
242
- },
243
- D = {}.hasOwnProperty,
244
- t = [],
245
- q = t.pop,
246
- L = t.push,
247
- H = t.push,
248
- O = t.slice,
249
- P = function (e, t) {
250
- for (var n = 0, r = e.length; n < r; n++) if (e[n] === t) return n;
251
- return -1;
252
- },
253
- R = 'checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped',
254
- M = '[\\x20\\t\\r\\n\\f]',
255
- I = '(?:\\\\[\\da-fA-F]{1,6}' + M + '?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+',
256
- W =
257
- '\\[' +
258
- M +
259
- '*(' +
260
- I +
261
- ')(?:' +
262
- M +
263
- '*([*^$|!~]?=)' +
264
- M +
265
- '*(?:\'((?:\\\\.|[^\\\\\'])*)\'|"((?:\\\\.|[^\\\\"])*)"|(' +
266
- I +
267
- '))|)' +
268
- M +
269
- '*\\]',
270
- F = ':(' + I + ')(?:\\(((\'((?:\\\\.|[^\\\\\'])*)\'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|' + W + ')*)|.*)\\)|)',
271
- B = new RegExp(M + '+', 'g'),
272
- $ = new RegExp('^' + M + '+|((?:^|[^\\\\])(?:\\\\.)*)' + M + '+$', 'g'),
273
- _ = new RegExp('^' + M + '*,' + M + '*'),
274
- z = new RegExp('^' + M + '*([>+~]|' + M + ')' + M + '*'),
275
- U = new RegExp(M + '|>'),
276
- X = new RegExp(F),
277
- V = new RegExp('^' + I + '$'),
278
- G = {
279
- ID: new RegExp('^#(' + I + ')'),
280
- CLASS: new RegExp('^\\.(' + I + ')'),
281
- TAG: new RegExp('^(' + I + '|[*])'),
282
- ATTR: new RegExp('^' + W),
283
- PSEUDO: new RegExp('^' + F),
284
- CHILD: new RegExp(
285
- '^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(' +
286
- M +
287
- '*(even|odd|(([+-]|)(\\d*)n|)' +
288
- M +
289
- '*(?:([+-]|)' +
290
- M +
291
- '*(\\d+)|))' +
292
- M +
293
- '*\\)|)',
294
- 'i',
295
- ),
296
- bool: new RegExp('^(?:' + R + ')$', 'i'),
297
- needsContext: new RegExp(
298
- '^' + M + '*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(' + M + '*((?:-\\d)?\\d*)' + M + '*\\)|)(?=[^-]|$)',
299
- 'i',
300
- ),
301
- },
302
- Y = /HTML$/i,
303
- Q = /^(?:input|select|textarea|button)$/i,
304
- J = /^h\d$/i,
305
- K = /^[^{]+\{\s*\[native \w/,
306
- Z = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
307
- ee = /[+~]/,
308
- te = new RegExp('\\\\[\\da-fA-F]{1,6}' + M + '?|\\\\([^\\r\\n\\f])', 'g'),
309
- ne = function (e, t) {
310
- var n = '0x' + e.slice(1) - 65536;
311
- return t || (n < 0 ? String.fromCharCode(n + 65536) : String.fromCharCode((n >> 10) | 55296, (1023 & n) | 56320));
312
- },
313
- re = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,
314
- ie = function (e, t) {
315
- return t ? ('\0' === e ? '\ufffd' : e.slice(0, -1) + '\\' + e.charCodeAt(e.length - 1).toString(16) + ' ') : '\\' + e;
316
- },
317
- oe = function () {
318
- T();
319
- },
320
- ae = be(
321
- function (e) {
322
- return !0 === e.disabled && 'fieldset' === e.nodeName.toLowerCase();
323
- },
324
- { dir: 'parentNode', next: 'legend' },
325
- );
326
- try {
327
- H.apply((t = O.call(p.childNodes)), p.childNodes), t[p.childNodes.length].nodeType;
328
- } catch (e) {
329
- H = {
330
- apply: t.length
331
- ? function (e, t) {
332
- L.apply(e, O.call(t));
333
- }
334
- : function (e, t) {
335
- var n = e.length,
336
- r = 0;
337
- while ((e[n++] = t[r++]));
338
- e.length = n - 1;
339
- },
340
- };
341
- }
342
- function se(t, e, n, r) {
343
- var i,
344
- o,
345
- a,
346
- s,
347
- u,
348
- l,
349
- c,
350
- f = e && e.ownerDocument,
351
- p = e ? e.nodeType : 9;
352
- if (((n = n || []), 'string' != typeof t || !t || (1 !== p && 9 !== p && 11 !== p))) return n;
353
- if (!r && (T(e), (e = e || C), E)) {
354
- if (11 !== p && (u = Z.exec(t)))
355
- if ((i = u[1])) {
356
- if (9 === p) {
357
- if (!(a = e.getElementById(i))) return n;
358
- if (a.id === i) return n.push(a), n;
359
- } else if (f && (a = f.getElementById(i)) && y(e, a) && a.id === i) return n.push(a), n;
360
- } else {
361
- if (u[2]) return H.apply(n, e.getElementsByTagName(t)), n;
362
- if ((i = u[3]) && d.getElementsByClassName && e.getElementsByClassName) return H.apply(n, e.getElementsByClassName(i)), n;
363
- }
364
- if (d.qsa && !N[t + ' '] && (!v || !v.test(t)) && (1 !== p || 'object' !== e.nodeName.toLowerCase())) {
365
- if (((c = t), (f = e), 1 === p && (U.test(t) || z.test(t)))) {
366
- ((f = (ee.test(t) && ye(e.parentNode)) || e) === e && d.scope) ||
367
- ((s = e.getAttribute('id')) ? (s = s.replace(re, ie)) : e.setAttribute('id', (s = S))),
368
- (o = (l = h(t)).length);
369
- while (o--) l[o] = (s ? '#' + s : ':scope') + ' ' + xe(l[o]);
370
- c = l.join(',');
371
- }
372
- try {
373
- return H.apply(n, f.querySelectorAll(c)), n;
374
- } catch (e) {
375
- N(t, !0);
376
- } finally {
377
- s === S && e.removeAttribute('id');
378
- }
379
- }
380
- }
381
- return g(t.replace($, '$1'), e, n, r);
382
- }
383
- function ue() {
384
- var r = [];
385
- return function e(t, n) {
386
- return r.push(t + ' ') > b.cacheLength && delete e[r.shift()], (e[t + ' '] = n);
387
- };
388
- }
389
- function le(e) {
390
- return (e[S] = !0), e;
391
- }
392
- function ce(e) {
393
- var t = C.createElement('fieldset');
394
- try {
395
- return !!e(t);
396
- } catch (e) {
397
- return !1;
398
- } finally {
399
- t.parentNode && t.parentNode.removeChild(t), (t = null);
400
- }
401
- }
402
- function fe(e, t) {
403
- var n = e.split('|'),
404
- r = n.length;
405
- while (r--) b.attrHandle[n[r]] = t;
406
- }
407
- function pe(e, t) {
408
- var n = t && e,
409
- r = n && 1 === e.nodeType && 1 === t.nodeType && e.sourceIndex - t.sourceIndex;
410
- if (r) return r;
411
- if (n) while ((n = n.nextSibling)) if (n === t) return -1;
412
- return e ? 1 : -1;
413
- }
414
- function de(t) {
415
- return function (e) {
416
- return 'input' === e.nodeName.toLowerCase() && e.type === t;
417
- };
418
- }
419
- function he(n) {
420
- return function (e) {
421
- var t = e.nodeName.toLowerCase();
422
- return ('input' === t || 'button' === t) && e.type === n;
423
- };
424
- }
425
- function ge(t) {
426
- return function (e) {
427
- return 'form' in e
428
- ? e.parentNode && !1 === e.disabled
429
- ? 'label' in e
430
- ? 'label' in e.parentNode
431
- ? e.parentNode.disabled === t
432
- : e.disabled === t
433
- : e.isDisabled === t || (e.isDisabled !== !t && ae(e) === t)
434
- : e.disabled === t
435
- : 'label' in e && e.disabled === t;
436
- };
437
- }
438
- function ve(a) {
439
- return le(function (o) {
440
- return (
441
- (o = +o),
442
- le(function (e, t) {
443
- var n,
444
- r = a([], e.length, o),
445
- i = r.length;
446
- while (i--) e[(n = r[i])] && (e[n] = !(t[n] = e[n]));
447
- })
448
- );
449
- });
450
- }
451
- function ye(e) {
452
- return e && 'undefined' != typeof e.getElementsByTagName && e;
453
- }
454
- for (e in ((d = se.support = {}),
455
- (i = se.isXML =
456
- function (e) {
457
- var t = e && e.namespaceURI,
458
- n = e && (e.ownerDocument || e).documentElement;
459
- return !Y.test(t || (n && n.nodeName) || 'HTML');
460
- }),
461
- (T = se.setDocument =
462
- function (e) {
463
- var t,
464
- n,
465
- r = e ? e.ownerDocument || e : p;
466
- return (
467
- r != C &&
468
- 9 === r.nodeType &&
469
- r.documentElement &&
470
- ((a = (C = r).documentElement),
471
- (E = !i(C)),
472
- p != C &&
473
- (n = C.defaultView) &&
474
- n.top !== n &&
475
- (n.addEventListener ? n.addEventListener('unload', oe, !1) : n.attachEvent && n.attachEvent('onunload', oe)),
476
- (d.scope = ce(function (e) {
477
- return (
478
- a.appendChild(e).appendChild(C.createElement('div')),
479
- 'undefined' != typeof e.querySelectorAll && !e.querySelectorAll(':scope fieldset div').length
480
- );
481
- })),
482
- (d.attributes = ce(function (e) {
483
- return (e.className = 'i'), !e.getAttribute('className');
484
- })),
485
- (d.getElementsByTagName = ce(function (e) {
486
- return e.appendChild(C.createComment('')), !e.getElementsByTagName('*').length;
487
- })),
488
- (d.getElementsByClassName = K.test(C.getElementsByClassName)),
489
- (d.getById = ce(function (e) {
490
- return (a.appendChild(e).id = S), !C.getElementsByName || !C.getElementsByName(S).length;
491
- })),
492
- d.getById
493
- ? ((b.filter.ID = function (e) {
494
- var t = e.replace(te, ne);
495
- return function (e) {
496
- return e.getAttribute('id') === t;
497
- };
498
- }),
499
- (b.find.ID = function (e, t) {
500
- if ('undefined' != typeof t.getElementById && E) {
501
- var n = t.getElementById(e);
502
- return n ? [n] : [];
503
- }
504
- }))
505
- : ((b.filter.ID = function (e) {
506
- var n = e.replace(te, ne);
507
- return function (e) {
508
- var t = 'undefined' != typeof e.getAttributeNode && e.getAttributeNode('id');
509
- return t && t.value === n;
510
- };
511
- }),
512
- (b.find.ID = function (e, t) {
513
- if ('undefined' != typeof t.getElementById && E) {
514
- var n,
515
- r,
516
- i,
517
- o = t.getElementById(e);
518
- if (o) {
519
- if ((n = o.getAttributeNode('id')) && n.value === e) return [o];
520
- (i = t.getElementsByName(e)), (r = 0);
521
- while ((o = i[r++])) if ((n = o.getAttributeNode('id')) && n.value === e) return [o];
522
- }
523
- return [];
524
- }
525
- })),
526
- (b.find.TAG = d.getElementsByTagName
527
- ? function (e, t) {
528
- return 'undefined' != typeof t.getElementsByTagName ? t.getElementsByTagName(e) : d.qsa ? t.querySelectorAll(e) : void 0;
529
- }
530
- : function (e, t) {
531
- var n,
532
- r = [],
533
- i = 0,
534
- o = t.getElementsByTagName(e);
535
- if ('*' === e) {
536
- while ((n = o[i++])) 1 === n.nodeType && r.push(n);
537
- return r;
538
- }
539
- return o;
540
- }),
541
- (b.find.CLASS =
542
- d.getElementsByClassName &&
543
- function (e, t) {
544
- if ('undefined' != typeof t.getElementsByClassName && E) return t.getElementsByClassName(e);
545
- }),
546
- (s = []),
547
- (v = []),
548
- (d.qsa = K.test(C.querySelectorAll)) &&
549
- (ce(function (e) {
550
- var t;
551
- (a.appendChild(e).innerHTML =
552
- "<a id='" + S + "'></a><select id='" + S + "-\r\\' msallowcapture=''><option selected=''></option></select>"),
553
- e.querySelectorAll("[msallowcapture^='']").length && v.push('[*^$]=' + M + '*(?:\'\'|"")'),
554
- e.querySelectorAll('[selected]').length || v.push('\\[' + M + '*(?:value|' + R + ')'),
555
- e.querySelectorAll('[id~=' + S + '-]').length || v.push('~='),
556
- (t = C.createElement('input')).setAttribute('name', ''),
557
- e.appendChild(t),
558
- e.querySelectorAll("[name='']").length || v.push('\\[' + M + '*name' + M + '*=' + M + '*(?:\'\'|"")'),
559
- e.querySelectorAll(':checked').length || v.push(':checked'),
560
- e.querySelectorAll('a#' + S + '+*').length || v.push('.#.+[+~]'),
561
- e.querySelectorAll('\\\f'),
562
- v.push('[\\r\\n\\f]');
563
- }),
564
- ce(function (e) {
565
- e.innerHTML = "<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";
566
- var t = C.createElement('input');
567
- t.setAttribute('type', 'hidden'),
568
- e.appendChild(t).setAttribute('name', 'D'),
569
- e.querySelectorAll('[name=d]').length && v.push('name' + M + '*[*^$|!~]?='),
570
- 2 !== e.querySelectorAll(':enabled').length && v.push(':enabled', ':disabled'),
571
- (a.appendChild(e).disabled = !0),
572
- 2 !== e.querySelectorAll(':disabled').length && v.push(':enabled', ':disabled'),
573
- e.querySelectorAll('*,:x'),
574
- v.push(',.*:');
575
- })),
576
- (d.matchesSelector = K.test(
577
- (c = a.matches || a.webkitMatchesSelector || a.mozMatchesSelector || a.oMatchesSelector || a.msMatchesSelector),
578
- )) &&
579
- ce(function (e) {
580
- (d.disconnectedMatch = c.call(e, '*')), c.call(e, "[s!='']:x"), s.push('!=', F);
581
- }),
582
- (v = v.length && new RegExp(v.join('|'))),
583
- (s = s.length && new RegExp(s.join('|'))),
584
- (t = K.test(a.compareDocumentPosition)),
585
- (y =
586
- t || K.test(a.contains)
587
- ? function (e, t) {
588
- var n = 9 === e.nodeType ? e.documentElement : e,
589
- r = t && t.parentNode;
590
- return (
591
- e === r ||
592
- !(
593
- !r ||
594
- 1 !== r.nodeType ||
595
- !(n.contains ? n.contains(r) : e.compareDocumentPosition && 16 & e.compareDocumentPosition(r))
596
- )
597
- );
598
- }
599
- : function (e, t) {
600
- if (t) while ((t = t.parentNode)) if (t === e) return !0;
601
- return !1;
602
- }),
603
- (j = t
604
- ? function (e, t) {
605
- if (e === t) return (l = !0), 0;
606
- var n = !e.compareDocumentPosition - !t.compareDocumentPosition;
607
- return (
608
- n ||
609
- (1 & (n = (e.ownerDocument || e) == (t.ownerDocument || t) ? e.compareDocumentPosition(t) : 1) ||
610
- (!d.sortDetached && t.compareDocumentPosition(e) === n)
611
- ? e == C || (e.ownerDocument == p && y(p, e))
612
- ? -1
613
- : t == C || (t.ownerDocument == p && y(p, t))
614
- ? 1
615
- : u
616
- ? P(u, e) - P(u, t)
617
- : 0
618
- : 4 & n
619
- ? -1
620
- : 1)
621
- );
622
- }
623
- : function (e, t) {
624
- if (e === t) return (l = !0), 0;
625
- var n,
626
- r = 0,
627
- i = e.parentNode,
628
- o = t.parentNode,
629
- a = [e],
630
- s = [t];
631
- if (!i || !o) return e == C ? -1 : t == C ? 1 : i ? -1 : o ? 1 : u ? P(u, e) - P(u, t) : 0;
632
- if (i === o) return pe(e, t);
633
- n = e;
634
- while ((n = n.parentNode)) a.unshift(n);
635
- n = t;
636
- while ((n = n.parentNode)) s.unshift(n);
637
- while (a[r] === s[r]) r++;
638
- return r ? pe(a[r], s[r]) : a[r] == p ? -1 : s[r] == p ? 1 : 0;
639
- })),
640
- C
641
- );
642
- }),
643
- (se.matches = function (e, t) {
644
- return se(e, null, null, t);
645
- }),
646
- (se.matchesSelector = function (e, t) {
647
- if ((T(e), d.matchesSelector && E && !N[t + ' '] && (!s || !s.test(t)) && (!v || !v.test(t))))
648
- try {
649
- var n = c.call(e, t);
650
- if (n || d.disconnectedMatch || (e.document && 11 !== e.document.nodeType)) return n;
651
- } catch (e) {
652
- N(t, !0);
653
- }
654
- return 0 < se(t, C, null, [e]).length;
655
- }),
656
- (se.contains = function (e, t) {
657
- return (e.ownerDocument || e) != C && T(e), y(e, t);
658
- }),
659
- (se.attr = function (e, t) {
660
- (e.ownerDocument || e) != C && T(e);
661
- var n = b.attrHandle[t.toLowerCase()],
662
- r = n && D.call(b.attrHandle, t.toLowerCase()) ? n(e, t, !E) : void 0;
663
- return void 0 !== r ? r : d.attributes || !E ? e.getAttribute(t) : (r = e.getAttributeNode(t)) && r.specified ? r.value : null;
664
- }),
665
- (se.escape = function (e) {
666
- return (e + '').replace(re, ie);
667
- }),
668
- (se.error = function (e) {
669
- throw new Error('Syntax error, unrecognized expression: ' + e);
670
- }),
671
- (se.uniqueSort = function (e) {
672
- var t,
673
- n = [],
674
- r = 0,
675
- i = 0;
676
- if (((l = !d.detectDuplicates), (u = !d.sortStable && e.slice(0)), e.sort(j), l)) {
677
- while ((t = e[i++])) t === e[i] && (r = n.push(i));
678
- while (r--) e.splice(n[r], 1);
679
- }
680
- return (u = null), e;
681
- }),
682
- (o = se.getText =
683
- function (e) {
684
- var t,
685
- n = '',
686
- r = 0,
687
- i = e.nodeType;
688
- if (i) {
689
- if (1 === i || 9 === i || 11 === i) {
690
- if ('string' == typeof e.textContent) return e.textContent;
691
- for (e = e.firstChild; e; e = e.nextSibling) n += o(e);
692
- } else if (3 === i || 4 === i) return e.nodeValue;
693
- } else while ((t = e[r++])) n += o(t);
694
- return n;
695
- }),
696
- ((b = se.selectors =
697
- {
698
- cacheLength: 50,
699
- createPseudo: le,
700
- match: G,
701
- attrHandle: {},
702
- find: {},
703
- relative: {
704
- '>': { dir: 'parentNode', first: !0 },
705
- ' ': { dir: 'parentNode' },
706
- '+': { dir: 'previousSibling', first: !0 },
707
- '~': { dir: 'previousSibling' },
708
- },
709
- preFilter: {
710
- ATTR: function (e) {
711
- return (
712
- (e[1] = e[1].replace(te, ne)),
713
- (e[3] = (e[3] || e[4] || e[5] || '').replace(te, ne)),
714
- '~=' === e[2] && (e[3] = ' ' + e[3] + ' '),
715
- e.slice(0, 4)
716
- );
717
- },
718
- CHILD: function (e) {
719
- return (
720
- (e[1] = e[1].toLowerCase()),
721
- 'nth' === e[1].slice(0, 3)
722
- ? (e[3] || se.error(e[0]),
723
- (e[4] = +(e[4] ? e[5] + (e[6] || 1) : 2 * ('even' === e[3] || 'odd' === e[3]))),
724
- (e[5] = +(e[7] + e[8] || 'odd' === e[3])))
725
- : e[3] && se.error(e[0]),
726
- e
727
- );
728
- },
729
- PSEUDO: function (e) {
730
- var t,
731
- n = !e[6] && e[2];
732
- return G.CHILD.test(e[0])
733
- ? null
734
- : (e[3]
735
- ? (e[2] = e[4] || e[5] || '')
736
- : n &&
737
- X.test(n) &&
738
- (t = h(n, !0)) &&
739
- (t = n.indexOf(')', n.length - t) - n.length) &&
740
- ((e[0] = e[0].slice(0, t)), (e[2] = n.slice(0, t))),
741
- e.slice(0, 3));
742
- },
743
- },
744
- filter: {
745
- TAG: function (e) {
746
- var t = e.replace(te, ne).toLowerCase();
747
- return '*' === e
748
- ? function () {
749
- return !0;
750
- }
751
- : function (e) {
752
- return e.nodeName && e.nodeName.toLowerCase() === t;
753
- };
754
- },
755
- CLASS: function (e) {
756
- var t = m[e + ' '];
757
- return (
758
- t ||
759
- ((t = new RegExp('(^|' + M + ')' + e + '(' + M + '|$)')) &&
760
- m(e, function (e) {
761
- return t.test(
762
- ('string' == typeof e.className && e.className) ||
763
- ('undefined' != typeof e.getAttribute && e.getAttribute('class')) ||
764
- '',
765
- );
766
- }))
767
- );
768
- },
769
- ATTR: function (n, r, i) {
770
- return function (e) {
771
- var t = se.attr(e, n);
772
- return null == t
773
- ? '!=' === r
774
- : !r ||
775
- ((t += ''),
776
- '=' === r
777
- ? t === i
778
- : '!=' === r
779
- ? t !== i
780
- : '^=' === r
781
- ? i && 0 === t.indexOf(i)
782
- : '*=' === r
783
- ? i && -1 < t.indexOf(i)
784
- : '$=' === r
785
- ? i && t.slice(-i.length) === i
786
- : '~=' === r
787
- ? -1 < (' ' + t.replace(B, ' ') + ' ').indexOf(i)
788
- : '|=' === r && (t === i || t.slice(0, i.length + 1) === i + '-'));
789
- };
790
- },
791
- CHILD: function (h, e, t, g, v) {
792
- var y = 'nth' !== h.slice(0, 3),
793
- m = 'last' !== h.slice(-4),
794
- x = 'of-type' === e;
795
- return 1 === g && 0 === v
796
- ? function (e) {
797
- return !!e.parentNode;
798
- }
799
- : function (e, t, n) {
800
- var r,
801
- i,
802
- o,
803
- a,
804
- s,
805
- u,
806
- l = y !== m ? 'nextSibling' : 'previousSibling',
807
- c = e.parentNode,
808
- f = x && e.nodeName.toLowerCase(),
809
- p = !n && !x,
810
- d = !1;
811
- if (c) {
812
- if (y) {
813
- while (l) {
814
- a = e;
815
- while ((a = a[l])) if (x ? a.nodeName.toLowerCase() === f : 1 === a.nodeType) return !1;
816
- u = l = 'only' === h && !u && 'nextSibling';
817
- }
818
- return !0;
819
- }
820
- if (((u = [m ? c.firstChild : c.lastChild]), m && p)) {
821
- (d =
822
- (s = (r = (i = (o = (a = c)[S] || (a[S] = {}))[a.uniqueID] || (o[a.uniqueID] = {}))[h] || [])[0] === k && r[1]) &&
823
- r[2]),
824
- (a = s && c.childNodes[s]);
825
- while ((a = (++s && a && a[l]) || (d = s = 0) || u.pop()))
826
- if (1 === a.nodeType && ++d && a === e) {
827
- i[h] = [k, s, d];
828
- break;
829
- }
830
- } else if (
831
- (p &&
832
- (d = s = (r = (i = (o = (a = e)[S] || (a[S] = {}))[a.uniqueID] || (o[a.uniqueID] = {}))[h] || [])[0] === k && r[1]),
833
- !1 === d)
834
- )
835
- while ((a = (++s && a && a[l]) || (d = s = 0) || u.pop()))
836
- if (
837
- (x ? a.nodeName.toLowerCase() === f : 1 === a.nodeType) &&
838
- ++d &&
839
- (p && ((i = (o = a[S] || (a[S] = {}))[a.uniqueID] || (o[a.uniqueID] = {}))[h] = [k, d]), a === e)
840
- )
841
- break;
842
- return (d -= v) === g || (d % g == 0 && 0 <= d / g);
843
- }
844
- };
845
- },
846
- PSEUDO: function (e, o) {
847
- var t,
848
- a = b.pseudos[e] || b.setFilters[e.toLowerCase()] || se.error('unsupported pseudo: ' + e);
849
- return a[S]
850
- ? a(o)
851
- : 1 < a.length
852
- ? ((t = [e, e, '', o]),
853
- b.setFilters.hasOwnProperty(e.toLowerCase())
854
- ? le(function (e, t) {
855
- var n,
856
- r = a(e, o),
857
- i = r.length;
858
- while (i--) e[(n = P(e, r[i]))] = !(t[n] = r[i]);
859
- })
860
- : function (e) {
861
- return a(e, 0, t);
862
- })
863
- : a;
864
- },
865
- },
866
- pseudos: {
867
- not: le(function (e) {
868
- var r = [],
869
- i = [],
870
- s = f(e.replace($, '$1'));
871
- return s[S]
872
- ? le(function (e, t, n, r) {
873
- var i,
874
- o = s(e, null, r, []),
875
- a = e.length;
876
- while (a--) (i = o[a]) && (e[a] = !(t[a] = i));
877
- })
878
- : function (e, t, n) {
879
- return (r[0] = e), s(r, null, n, i), (r[0] = null), !i.pop();
880
- };
881
- }),
882
- has: le(function (t) {
883
- return function (e) {
884
- return 0 < se(t, e).length;
885
- };
886
- }),
887
- contains: le(function (t) {
888
- return (
889
- (t = t.replace(te, ne)),
890
- function (e) {
891
- return -1 < (e.textContent || o(e)).indexOf(t);
892
- }
893
- );
894
- }),
895
- lang: le(function (n) {
896
- return (
897
- V.test(n || '') || se.error('unsupported lang: ' + n),
898
- (n = n.replace(te, ne).toLowerCase()),
899
- function (e) {
900
- var t;
901
- do {
902
- if ((t = E ? e.lang : e.getAttribute('xml:lang') || e.getAttribute('lang')))
903
- return (t = t.toLowerCase()) === n || 0 === t.indexOf(n + '-');
904
- } while ((e = e.parentNode) && 1 === e.nodeType);
905
- return !1;
906
- }
907
- );
908
- }),
909
- target: function (e) {
910
- var t = n.location && n.location.hash;
911
- return t && t.slice(1) === e.id;
912
- },
913
- root: function (e) {
914
- return e === a;
915
- },
916
- focus: function (e) {
917
- return e === C.activeElement && (!C.hasFocus || C.hasFocus()) && !!(e.type || e.href || ~e.tabIndex);
918
- },
919
- enabled: ge(!1),
920
- disabled: ge(!0),
921
- checked: function (e) {
922
- var t = e.nodeName.toLowerCase();
923
- return ('input' === t && !!e.checked) || ('option' === t && !!e.selected);
924
- },
925
- selected: function (e) {
926
- return e.parentNode && e.parentNode.selectedIndex, !0 === e.selected;
927
- },
928
- empty: function (e) {
929
- for (e = e.firstChild; e; e = e.nextSibling) if (e.nodeType < 6) return !1;
930
- return !0;
931
- },
932
- parent: function (e) {
933
- return !b.pseudos.empty(e);
934
- },
935
- header: function (e) {
936
- return J.test(e.nodeName);
937
- },
938
- input: function (e) {
939
- return Q.test(e.nodeName);
940
- },
941
- button: function (e) {
942
- var t = e.nodeName.toLowerCase();
943
- return ('input' === t && 'button' === e.type) || 'button' === t;
944
- },
945
- text: function (e) {
946
- var t;
947
- return (
948
- 'input' === e.nodeName.toLowerCase() &&
949
- 'text' === e.type &&
950
- (null == (t = e.getAttribute('type')) || 'text' === t.toLowerCase())
951
- );
952
- },
953
- first: ve(function () {
954
- return [0];
955
- }),
956
- last: ve(function (e, t) {
957
- return [t - 1];
958
- }),
959
- eq: ve(function (e, t, n) {
960
- return [n < 0 ? n + t : n];
961
- }),
962
- even: ve(function (e, t) {
963
- for (var n = 0; n < t; n += 2) e.push(n);
964
- return e;
965
- }),
966
- odd: ve(function (e, t) {
967
- for (var n = 1; n < t; n += 2) e.push(n);
968
- return e;
969
- }),
970
- lt: ve(function (e, t, n) {
971
- for (var r = n < 0 ? n + t : t < n ? t : n; 0 <= --r; ) e.push(r);
972
- return e;
973
- }),
974
- gt: ve(function (e, t, n) {
975
- for (var r = n < 0 ? n + t : n; ++r < t; ) e.push(r);
976
- return e;
977
- }),
978
- },
979
- }).pseudos.nth = b.pseudos.eq),
980
- { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 }))
981
- b.pseudos[e] = de(e);
982
- for (e in { submit: !0, reset: !0 }) b.pseudos[e] = he(e);
983
- function me() {}
984
- function xe(e) {
985
- for (var t = 0, n = e.length, r = ''; t < n; t++) r += e[t].value;
986
- return r;
987
- }
988
- function be(s, e, t) {
989
- var u = e.dir,
990
- l = e.next,
991
- c = l || u,
992
- f = t && 'parentNode' === c,
993
- p = r++;
994
- return e.first
995
- ? function (e, t, n) {
996
- while ((e = e[u])) if (1 === e.nodeType || f) return s(e, t, n);
997
- return !1;
998
- }
999
- : function (e, t, n) {
1000
- var r,
1001
- i,
1002
- o,
1003
- a = [k, p];
1004
- if (n) {
1005
- while ((e = e[u])) if ((1 === e.nodeType || f) && s(e, t, n)) return !0;
1006
- } else
1007
- while ((e = e[u]))
1008
- if (1 === e.nodeType || f)
1009
- if (((i = (o = e[S] || (e[S] = {}))[e.uniqueID] || (o[e.uniqueID] = {})), l && l === e.nodeName.toLowerCase()))
1010
- e = e[u] || e;
1011
- else {
1012
- if ((r = i[c]) && r[0] === k && r[1] === p) return (a[2] = r[2]);
1013
- if (((i[c] = a)[2] = s(e, t, n))) return !0;
1014
- }
1015
- return !1;
1016
- };
1017
- }
1018
- function we(i) {
1019
- return 1 < i.length
1020
- ? function (e, t, n) {
1021
- var r = i.length;
1022
- while (r--) if (!i[r](e, t, n)) return !1;
1023
- return !0;
1024
- }
1025
- : i[0];
1026
- }
1027
- function Te(e, t, n, r, i) {
1028
- for (var o, a = [], s = 0, u = e.length, l = null != t; s < u; s++) (o = e[s]) && ((n && !n(o, r, i)) || (a.push(o), l && t.push(s)));
1029
- return a;
1030
- }
1031
- function Ce(d, h, g, v, y, e) {
1032
- return (
1033
- v && !v[S] && (v = Ce(v)),
1034
- y && !y[S] && (y = Ce(y, e)),
1035
- le(function (e, t, n, r) {
1036
- var i,
1037
- o,
1038
- a,
1039
- s = [],
1040
- u = [],
1041
- l = t.length,
1042
- c =
1043
- e ||
1044
- (function (e, t, n) {
1045
- for (var r = 0, i = t.length; r < i; r++) se(e, t[r], n);
1046
- return n;
1047
- })(h || '*', n.nodeType ? [n] : n, []),
1048
- f = !d || (!e && h) ? c : Te(c, s, d, n, r),
1049
- p = g ? (y || (e ? d : l || v) ? [] : t) : f;
1050
- if ((g && g(f, p, n, r), v)) {
1051
- (i = Te(p, u)), v(i, [], n, r), (o = i.length);
1052
- while (o--) (a = i[o]) && (p[u[o]] = !(f[u[o]] = a));
1053
- }
1054
- if (e) {
1055
- if (y || d) {
1056
- if (y) {
1057
- (i = []), (o = p.length);
1058
- while (o--) (a = p[o]) && i.push((f[o] = a));
1059
- y(null, (p = []), i, r);
1060
- }
1061
- o = p.length;
1062
- while (o--) (a = p[o]) && -1 < (i = y ? P(e, a) : s[o]) && (e[i] = !(t[i] = a));
1063
- }
1064
- } else (p = Te(p === t ? p.splice(l, p.length) : p)), y ? y(null, t, p, r) : H.apply(t, p);
1065
- })
1066
- );
1067
- }
1068
- function Ee(e) {
1069
- for (
1070
- var i,
1071
- t,
1072
- n,
1073
- r = e.length,
1074
- o = b.relative[e[0].type],
1075
- a = o || b.relative[' '],
1076
- s = o ? 1 : 0,
1077
- u = be(
1078
- function (e) {
1079
- return e === i;
1080
- },
1081
- a,
1082
- !0,
1083
- ),
1084
- l = be(
1085
- function (e) {
1086
- return -1 < P(i, e);
1087
- },
1088
- a,
1089
- !0,
1090
- ),
1091
- c = [
1092
- function (e, t, n) {
1093
- var r = (!o && (n || t !== w)) || ((i = t).nodeType ? u(e, t, n) : l(e, t, n));
1094
- return (i = null), r;
1095
- },
1096
- ];
1097
- s < r;
1098
- s++
1099
- )
1100
- if ((t = b.relative[e[s].type])) c = [be(we(c), t)];
1101
- else {
1102
- if ((t = b.filter[e[s].type].apply(null, e[s].matches))[S]) {
1103
- for (n = ++s; n < r; n++) if (b.relative[e[n].type]) break;
1104
- return Ce(
1105
- 1 < s && we(c),
1106
- 1 < s && xe(e.slice(0, s - 1).concat({ value: ' ' === e[s - 2].type ? '*' : '' })).replace($, '$1'),
1107
- t,
1108
- s < n && Ee(e.slice(s, n)),
1109
- n < r && Ee((e = e.slice(n))),
1110
- n < r && xe(e),
1111
- );
1112
- }
1113
- c.push(t);
1114
- }
1115
- return we(c);
1116
- }
1117
- return (
1118
- (me.prototype = b.filters = b.pseudos),
1119
- (b.setFilters = new me()),
1120
- (h = se.tokenize =
1121
- function (e, t) {
1122
- var n,
1123
- r,
1124
- i,
1125
- o,
1126
- a,
1127
- s,
1128
- u,
1129
- l = x[e + ' '];
1130
- if (l) return t ? 0 : l.slice(0);
1131
- (a = e), (s = []), (u = b.preFilter);
1132
- while (a) {
1133
- for (o in ((n && !(r = _.exec(a))) || (r && (a = a.slice(r[0].length) || a), s.push((i = []))),
1134
- (n = !1),
1135
- (r = z.exec(a)) && ((n = r.shift()), i.push({ value: n, type: r[0].replace($, ' ') }), (a = a.slice(n.length))),
1136
- b.filter))
1137
- !(r = G[o].exec(a)) ||
1138
- (u[o] && !(r = u[o](r))) ||
1139
- ((n = r.shift()), i.push({ value: n, type: o, matches: r }), (a = a.slice(n.length)));
1140
- if (!n) break;
1141
- }
1142
- return t ? a.length : a ? se.error(e) : x(e, s).slice(0);
1143
- }),
1144
- (f = se.compile =
1145
- function (e, t) {
1146
- var n,
1147
- v,
1148
- y,
1149
- m,
1150
- x,
1151
- r,
1152
- i = [],
1153
- o = [],
1154
- a = A[e + ' '];
1155
- if (!a) {
1156
- t || (t = h(e)), (n = t.length);
1157
- while (n--) (a = Ee(t[n]))[S] ? i.push(a) : o.push(a);
1158
- (a = A(
1159
- e,
1160
- ((v = o),
1161
- (m = 0 < (y = i).length),
1162
- (x = 0 < v.length),
1163
- (r = function (e, t, n, r, i) {
1164
- var o,
1165
- a,
1166
- s,
1167
- u = 0,
1168
- l = '0',
1169
- c = e && [],
1170
- f = [],
1171
- p = w,
1172
- d = e || (x && b.find.TAG('*', i)),
1173
- h = (k += null == p ? 1 : Math.random() || 0.1),
1174
- g = d.length;
1175
- for (i && (w = t == C || t || i); l !== g && null != (o = d[l]); l++) {
1176
- if (x && o) {
1177
- (a = 0), t || o.ownerDocument == C || (T(o), (n = !E));
1178
- while ((s = v[a++]))
1179
- if (s(o, t || C, n)) {
1180
- r.push(o);
1181
- break;
1182
- }
1183
- i && (k = h);
1184
- }
1185
- m && ((o = !s && o) && u--, e && c.push(o));
1186
- }
1187
- if (((u += l), m && l !== u)) {
1188
- a = 0;
1189
- while ((s = y[a++])) s(c, f, t, n);
1190
- if (e) {
1191
- if (0 < u) while (l--) c[l] || f[l] || (f[l] = q.call(r));
1192
- f = Te(f);
1193
- }
1194
- H.apply(r, f), i && !e && 0 < f.length && 1 < u + y.length && se.uniqueSort(r);
1195
- }
1196
- return i && ((k = h), (w = p)), c;
1197
- }),
1198
- m ? le(r) : r),
1199
- )).selector = e;
1200
- }
1201
- return a;
1202
- }),
1203
- (g = se.select =
1204
- function (e, t, n, r) {
1205
- var i,
1206
- o,
1207
- a,
1208
- s,
1209
- u,
1210
- l = 'function' == typeof e && e,
1211
- c = !r && h((e = l.selector || e));
1212
- if (((n = n || []), 1 === c.length)) {
1213
- if (2 < (o = c[0] = c[0].slice(0)).length && 'ID' === (a = o[0]).type && 9 === t.nodeType && E && b.relative[o[1].type]) {
1214
- if (!(t = (b.find.ID(a.matches[0].replace(te, ne), t) || [])[0])) return n;
1215
- l && (t = t.parentNode), (e = e.slice(o.shift().value.length));
1216
- }
1217
- i = G.needsContext.test(e) ? 0 : o.length;
1218
- while (i--) {
1219
- if (((a = o[i]), b.relative[(s = a.type)])) break;
1220
- if ((u = b.find[s]) && (r = u(a.matches[0].replace(te, ne), (ee.test(o[0].type) && ye(t.parentNode)) || t))) {
1221
- if ((o.splice(i, 1), !(e = r.length && xe(o)))) return H.apply(n, r), n;
1222
- break;
1223
- }
1224
- }
1225
- }
1226
- return (l || f(e, c))(r, t, !E, n, !t || (ee.test(e) && ye(t.parentNode)) || t), n;
1227
- }),
1228
- (d.sortStable = S.split('').sort(j).join('') === S),
1229
- (d.detectDuplicates = !!l),
1230
- T(),
1231
- (d.sortDetached = ce(function (e) {
1232
- return 1 & e.compareDocumentPosition(C.createElement('fieldset'));
1233
- })),
1234
- ce(function (e) {
1235
- return (e.innerHTML = "<a href='#'></a>"), '#' === e.firstChild.getAttribute('href');
1236
- }) ||
1237
- fe('type|href|height|width', function (e, t, n) {
1238
- if (!n) return e.getAttribute(t, 'type' === t.toLowerCase() ? 1 : 2);
1239
- }),
1240
- (d.attributes &&
1241
- ce(function (e) {
1242
- return (e.innerHTML = '<input/>'), e.firstChild.setAttribute('value', ''), '' === e.firstChild.getAttribute('value');
1243
- })) ||
1244
- fe('value', function (e, t, n) {
1245
- if (!n && 'input' === e.nodeName.toLowerCase()) return e.defaultValue;
1246
- }),
1247
- ce(function (e) {
1248
- return null == e.getAttribute('disabled');
1249
- }) ||
1250
- fe(R, function (e, t, n) {
1251
- var r;
1252
- if (!n) return !0 === e[t] ? t.toLowerCase() : (r = e.getAttributeNode(t)) && r.specified ? r.value : null;
1253
- }),
1254
- se
1255
- );
1256
- })(C);
1257
- (S.find = d),
1258
- (S.expr = d.selectors),
1259
- (S.expr[':'] = S.expr.pseudos),
1260
- (S.uniqueSort = S.unique = d.uniqueSort),
1261
- (S.text = d.getText),
1262
- (S.isXMLDoc = d.isXML),
1263
- (S.contains = d.contains),
1264
- (S.escapeSelector = d.escape);
1265
- var h = function (e, t, n) {
1266
- var r = [],
1267
- i = void 0 !== n;
1268
- while ((e = e[t]) && 9 !== e.nodeType)
1269
- if (1 === e.nodeType) {
1270
- if (i && S(e).is(n)) break;
1271
- r.push(e);
1272
- }
1273
- return r;
1274
- },
1275
- T = function (e, t) {
1276
- for (var n = []; e; e = e.nextSibling) 1 === e.nodeType && e !== t && n.push(e);
1277
- return n;
1278
- },
1279
- k = S.expr.match.needsContext;
1280
- function A(e, t) {
1281
- return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase();
1282
- }
1283
- var N = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
1284
- function j(e, n, r) {
1285
- return m(n)
1286
- ? S.grep(e, function (e, t) {
1287
- return !!n.call(e, t, e) !== r;
1288
- })
1289
- : n.nodeType
1290
- ? S.grep(e, function (e) {
1291
- return (e === n) !== r;
1292
- })
1293
- : 'string' != typeof n
1294
- ? S.grep(e, function (e) {
1295
- return -1 < i.call(n, e) !== r;
1296
- })
1297
- : S.filter(n, e, r);
1298
- }
1299
- (S.filter = function (e, t, n) {
1300
- var r = t[0];
1301
- return (
1302
- n && (e = ':not(' + e + ')'),
1303
- 1 === t.length && 1 === r.nodeType
1304
- ? S.find.matchesSelector(r, e)
1305
- ? [r]
1306
- : []
1307
- : S.find.matches(
1308
- e,
1309
- S.grep(t, function (e) {
1310
- return 1 === e.nodeType;
1311
- }),
1312
- )
1313
- );
1314
- }),
1315
- S.fn.extend({
1316
- find: function (e) {
1317
- var t,
1318
- n,
1319
- r = this.length,
1320
- i = this;
1321
- if ('string' != typeof e)
1322
- return this.pushStack(
1323
- S(e).filter(function () {
1324
- for (t = 0; t < r; t++) if (S.contains(i[t], this)) return !0;
1325
- }),
1326
- );
1327
- for (n = this.pushStack([]), t = 0; t < r; t++) S.find(e, i[t], n);
1328
- return 1 < r ? S.uniqueSort(n) : n;
1329
- },
1330
- filter: function (e) {
1331
- return this.pushStack(j(this, e || [], !1));
1332
- },
1333
- not: function (e) {
1334
- return this.pushStack(j(this, e || [], !0));
1335
- },
1336
- is: function (e) {
1337
- return !!j(this, 'string' == typeof e && k.test(e) ? S(e) : e || [], !1).length;
1338
- },
1339
- });
1340
- var D,
1341
- q = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;
1342
- ((S.fn.init = function (e, t, n) {
1343
- var r, i;
1344
- if (!e) return this;
1345
- if (((n = n || D), 'string' == typeof e)) {
1346
- if (!(r = '<' === e[0] && '>' === e[e.length - 1] && 3 <= e.length ? [null, e, null] : q.exec(e)) || (!r[1] && t))
1347
- return !t || t.jquery ? (t || n).find(e) : this.constructor(t).find(e);
1348
- if (r[1]) {
1349
- if (
1350
- ((t = t instanceof S ? t[0] : t),
1351
- S.merge(this, S.parseHTML(r[1], t && t.nodeType ? t.ownerDocument || t : E, !0)),
1352
- N.test(r[1]) && S.isPlainObject(t))
1353
- )
1354
- for (r in t) m(this[r]) ? this[r](t[r]) : this.attr(r, t[r]);
1355
- return this;
1356
- }
1357
- return (i = E.getElementById(r[2])) && ((this[0] = i), (this.length = 1)), this;
1358
- }
1359
- return e.nodeType ? ((this[0] = e), (this.length = 1), this) : m(e) ? (void 0 !== n.ready ? n.ready(e) : e(S)) : S.makeArray(e, this);
1360
- }).prototype = S.fn),
1361
- (D = S(E));
1362
- var L = /^(?:parents|prev(?:Until|All))/,
1363
- H = { children: !0, contents: !0, next: !0, prev: !0 };
1364
- function O(e, t) {
1365
- while ((e = e[t]) && 1 !== e.nodeType);
1366
- return e;
1367
- }
1368
- S.fn.extend({
1369
- has: function (e) {
1370
- var t = S(e, this),
1371
- n = t.length;
1372
- return this.filter(function () {
1373
- for (var e = 0; e < n; e++) if (S.contains(this, t[e])) return !0;
1374
- });
1375
- },
1376
- closest: function (e, t) {
1377
- var n,
1378
- r = 0,
1379
- i = this.length,
1380
- o = [],
1381
- a = 'string' != typeof e && S(e);
1382
- if (!k.test(e))
1383
- for (; r < i; r++)
1384
- for (n = this[r]; n && n !== t; n = n.parentNode)
1385
- if (n.nodeType < 11 && (a ? -1 < a.index(n) : 1 === n.nodeType && S.find.matchesSelector(n, e))) {
1386
- o.push(n);
1387
- break;
1388
- }
1389
- return this.pushStack(1 < o.length ? S.uniqueSort(o) : o);
1390
- },
1391
- index: function (e) {
1392
- return e
1393
- ? 'string' == typeof e
1394
- ? i.call(S(e), this[0])
1395
- : i.call(this, e.jquery ? e[0] : e)
1396
- : this[0] && this[0].parentNode
1397
- ? this.first().prevAll().length
1398
- : -1;
1399
- },
1400
- add: function (e, t) {
1401
- return this.pushStack(S.uniqueSort(S.merge(this.get(), S(e, t))));
1402
- },
1403
- addBack: function (e) {
1404
- return this.add(null == e ? this.prevObject : this.prevObject.filter(e));
1405
- },
1406
- }),
1407
- S.each(
1408
- {
1409
- parent: function (e) {
1410
- var t = e.parentNode;
1411
- return t && 11 !== t.nodeType ? t : null;
1412
- },
1413
- parents: function (e) {
1414
- return h(e, 'parentNode');
1415
- },
1416
- parentsUntil: function (e, t, n) {
1417
- return h(e, 'parentNode', n);
1418
- },
1419
- next: function (e) {
1420
- return O(e, 'nextSibling');
1421
- },
1422
- prev: function (e) {
1423
- return O(e, 'previousSibling');
1424
- },
1425
- nextAll: function (e) {
1426
- return h(e, 'nextSibling');
1427
- },
1428
- prevAll: function (e) {
1429
- return h(e, 'previousSibling');
1430
- },
1431
- nextUntil: function (e, t, n) {
1432
- return h(e, 'nextSibling', n);
1433
- },
1434
- prevUntil: function (e, t, n) {
1435
- return h(e, 'previousSibling', n);
1436
- },
1437
- siblings: function (e) {
1438
- return T((e.parentNode || {}).firstChild, e);
1439
- },
1440
- children: function (e) {
1441
- return T(e.firstChild);
1442
- },
1443
- contents: function (e) {
1444
- return null != e.contentDocument && r(e.contentDocument)
1445
- ? e.contentDocument
1446
- : (A(e, 'template') && (e = e.content || e), S.merge([], e.childNodes));
1447
- },
1448
- },
1449
- function (r, i) {
1450
- S.fn[r] = function (e, t) {
1451
- var n = S.map(this, i, e);
1452
- return (
1453
- 'Until' !== r.slice(-5) && (t = e),
1454
- t && 'string' == typeof t && (n = S.filter(t, n)),
1455
- 1 < this.length && (H[r] || S.uniqueSort(n), L.test(r) && n.reverse()),
1456
- this.pushStack(n)
1457
- );
1458
- };
1459
- },
1460
- );
1461
- var P = /[^\x20\t\r\n\f]+/g;
1462
- function R(e) {
1463
- return e;
1464
- }
1465
- function M(e) {
1466
- throw e;
1467
- }
1468
- function I(e, t, n, r) {
1469
- var i;
1470
- try {
1471
- e && m((i = e.promise)) ? i.call(e).done(t).fail(n) : e && m((i = e.then)) ? i.call(e, t, n) : t.apply(void 0, [e].slice(r));
1472
- } catch (e) {
1473
- n.apply(void 0, [e]);
1474
- }
1475
- }
1476
- (S.Callbacks = function (r) {
1477
- var e, n;
1478
- r =
1479
- 'string' == typeof r
1480
- ? ((e = r),
1481
- (n = {}),
1482
- S.each(e.match(P) || [], function (e, t) {
1483
- n[t] = !0;
1484
- }),
1485
- n)
1486
- : S.extend({}, r);
1487
- var i,
1488
- t,
1489
- o,
1490
- a,
1491
- s = [],
1492
- u = [],
1493
- l = -1,
1494
- c = function () {
1495
- for (a = a || r.once, o = i = !0; u.length; l = -1) {
1496
- t = u.shift();
1497
- while (++l < s.length) !1 === s[l].apply(t[0], t[1]) && r.stopOnFalse && ((l = s.length), (t = !1));
1498
- }
1499
- r.memory || (t = !1), (i = !1), a && (s = t ? [] : '');
1500
- },
1501
- f = {
1502
- add: function () {
1503
- return (
1504
- s &&
1505
- (t && !i && ((l = s.length - 1), u.push(t)),
1506
- (function n(e) {
1507
- S.each(e, function (e, t) {
1508
- m(t) ? (r.unique && f.has(t)) || s.push(t) : t && t.length && 'string' !== w(t) && n(t);
1509
- });
1510
- })(arguments),
1511
- t && !i && c()),
1512
- this
1513
- );
1514
- },
1515
- remove: function () {
1516
- return (
1517
- S.each(arguments, function (e, t) {
1518
- var n;
1519
- while (-1 < (n = S.inArray(t, s, n))) s.splice(n, 1), n <= l && l--;
1520
- }),
1521
- this
1522
- );
1523
- },
1524
- has: function (e) {
1525
- return e ? -1 < S.inArray(e, s) : 0 < s.length;
1526
- },
1527
- empty: function () {
1528
- return s && (s = []), this;
1529
- },
1530
- disable: function () {
1531
- return (a = u = []), (s = t = ''), this;
1532
- },
1533
- disabled: function () {
1534
- return !s;
1535
- },
1536
- lock: function () {
1537
- return (a = u = []), t || i || (s = t = ''), this;
1538
- },
1539
- locked: function () {
1540
- return !!a;
1541
- },
1542
- fireWith: function (e, t) {
1543
- return a || ((t = [e, (t = t || []).slice ? t.slice() : t]), u.push(t), i || c()), this;
1544
- },
1545
- fire: function () {
1546
- return f.fireWith(this, arguments), this;
1547
- },
1548
- fired: function () {
1549
- return !!o;
1550
- },
1551
- };
1552
- return f;
1553
- }),
1554
- S.extend({
1555
- Deferred: function (e) {
1556
- var o = [
1557
- ['notify', 'progress', S.Callbacks('memory'), S.Callbacks('memory'), 2],
1558
- ['resolve', 'done', S.Callbacks('once memory'), S.Callbacks('once memory'), 0, 'resolved'],
1559
- ['reject', 'fail', S.Callbacks('once memory'), S.Callbacks('once memory'), 1, 'rejected'],
1560
- ],
1561
- i = 'pending',
1562
- a = {
1563
- state: function () {
1564
- return i;
1565
- },
1566
- always: function () {
1567
- return s.done(arguments).fail(arguments), this;
1568
- },
1569
- catch: function (e) {
1570
- return a.then(null, e);
1571
- },
1572
- pipe: function () {
1573
- var i = arguments;
1574
- return S.Deferred(function (r) {
1575
- S.each(o, function (e, t) {
1576
- var n = m(i[t[4]]) && i[t[4]];
1577
- s[t[1]](function () {
1578
- var e = n && n.apply(this, arguments);
1579
- e && m(e.promise)
1580
- ? e.promise().progress(r.notify).done(r.resolve).fail(r.reject)
1581
- : r[t[0] + 'With'](this, n ? [e] : arguments);
1582
- });
1583
- }),
1584
- (i = null);
1585
- }).promise();
1586
- },
1587
- then: function (t, n, r) {
1588
- var u = 0;
1589
- function l(i, o, a, s) {
1590
- return function () {
1591
- var n = this,
1592
- r = arguments,
1593
- e = function () {
1594
- var e, t;
1595
- if (!(i < u)) {
1596
- if ((e = a.apply(n, r)) === o.promise()) throw new TypeError('Thenable self-resolution');
1597
- (t = e && ('object' == typeof e || 'function' == typeof e) && e.then),
1598
- m(t)
1599
- ? s
1600
- ? t.call(e, l(u, o, R, s), l(u, o, M, s))
1601
- : (u++, t.call(e, l(u, o, R, s), l(u, o, M, s), l(u, o, R, o.notifyWith)))
1602
- : (a !== R && ((n = void 0), (r = [e])), (s || o.resolveWith)(n, r));
1603
- }
1604
- },
1605
- t = s
1606
- ? e
1607
- : function () {
1608
- try {
1609
- e();
1610
- } catch (e) {
1611
- S.Deferred.exceptionHook && S.Deferred.exceptionHook(e, t.stackTrace),
1612
- u <= i + 1 && (a !== M && ((n = void 0), (r = [e])), o.rejectWith(n, r));
1613
- }
1614
- };
1615
- i ? t() : (S.Deferred.getStackHook && (t.stackTrace = S.Deferred.getStackHook()), C.setTimeout(t));
1616
- };
1617
- }
1618
- return S.Deferred(function (e) {
1619
- o[0][3].add(l(0, e, m(r) ? r : R, e.notifyWith)), o[1][3].add(l(0, e, m(t) ? t : R)), o[2][3].add(l(0, e, m(n) ? n : M));
1620
- }).promise();
1621
- },
1622
- promise: function (e) {
1623
- return null != e ? S.extend(e, a) : a;
1624
- },
1625
- },
1626
- s = {};
1627
- return (
1628
- S.each(o, function (e, t) {
1629
- var n = t[2],
1630
- r = t[5];
1631
- (a[t[1]] = n.add),
1632
- r &&
1633
- n.add(
1634
- function () {
1635
- i = r;
1636
- },
1637
- o[3 - e][2].disable,
1638
- o[3 - e][3].disable,
1639
- o[0][2].lock,
1640
- o[0][3].lock,
1641
- ),
1642
- n.add(t[3].fire),
1643
- (s[t[0]] = function () {
1644
- return s[t[0] + 'With'](this === s ? void 0 : this, arguments), this;
1645
- }),
1646
- (s[t[0] + 'With'] = n.fireWith);
1647
- }),
1648
- a.promise(s),
1649
- e && e.call(s, s),
1650
- s
1651
- );
1652
- },
1653
- when: function (e) {
1654
- var n = arguments.length,
1655
- t = n,
1656
- r = Array(t),
1657
- i = s.call(arguments),
1658
- o = S.Deferred(),
1659
- a = function (t) {
1660
- return function (e) {
1661
- (r[t] = this), (i[t] = 1 < arguments.length ? s.call(arguments) : e), --n || o.resolveWith(r, i);
1662
- };
1663
- };
1664
- if (n <= 1 && (I(e, o.done(a(t)).resolve, o.reject, !n), 'pending' === o.state() || m(i[t] && i[t].then))) return o.then();
1665
- while (t--) I(i[t], a(t), o.reject);
1666
- return o.promise();
1667
- },
1668
- });
1669
- var W = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
1670
- (S.Deferred.exceptionHook = function (e, t) {
1671
- C.console && C.console.warn && e && W.test(e.name) && C.console.warn('jQuery.Deferred exception: ' + e.message, e.stack, t);
1672
- }),
1673
- (S.readyException = function (e) {
1674
- C.setTimeout(function () {
1675
- throw e;
1676
- });
1677
- });
1678
- var F = S.Deferred();
1679
- function B() {
1680
- E.removeEventListener('DOMContentLoaded', B), C.removeEventListener('load', B), S.ready();
1681
- }
1682
- (S.fn.ready = function (e) {
1683
- return (
1684
- F.then(e)['catch'](function (e) {
1685
- S.readyException(e);
1686
- }),
1687
- this
1688
- );
1689
- }),
1690
- S.extend({
1691
- isReady: !1,
1692
- readyWait: 1,
1693
- ready: function (e) {
1694
- (!0 === e ? --S.readyWait : S.isReady) || ((S.isReady = !0) !== e && 0 < --S.readyWait) || F.resolveWith(E, [S]);
1695
- },
1696
- }),
1697
- (S.ready.then = F.then),
1698
- 'complete' === E.readyState || ('loading' !== E.readyState && !E.documentElement.doScroll)
1699
- ? C.setTimeout(S.ready)
1700
- : (E.addEventListener('DOMContentLoaded', B), C.addEventListener('load', B));
1701
- var $ = function (e, t, n, r, i, o, a) {
1702
- var s = 0,
1703
- u = e.length,
1704
- l = null == n;
1705
- if ('object' === w(n)) for (s in ((i = !0), n)) $(e, t, s, n[s], !0, o, a);
1706
- else if (
1707
- void 0 !== r &&
1708
- ((i = !0),
1709
- m(r) || (a = !0),
1710
- l &&
1711
- (a
1712
- ? (t.call(e, r), (t = null))
1713
- : ((l = t),
1714
- (t = function (e, t, n) {
1715
- return l.call(S(e), n);
1716
- }))),
1717
- t)
1718
- )
1719
- for (; s < u; s++) t(e[s], n, a ? r : r.call(e[s], s, t(e[s], n)));
1720
- return i ? e : l ? t.call(e) : u ? t(e[0], n) : o;
1721
- },
1722
- _ = /^-ms-/,
1723
- z = /-([a-z])/g;
1724
- function U(e, t) {
1725
- return t.toUpperCase();
1726
- }
1727
- function X(e) {
1728
- return e.replace(_, 'ms-').replace(z, U);
1729
- }
1730
- var V = function (e) {
1731
- return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType;
1732
- };
1733
- function G() {
1734
- this.expando = S.expando + G.uid++;
1735
- }
1736
- (G.uid = 1),
1737
- (G.prototype = {
1738
- cache: function (e) {
1739
- var t = e[this.expando];
1740
- return (
1741
- t ||
1742
- ((t = {}),
1743
- V(e) && (e.nodeType ? (e[this.expando] = t) : Object.defineProperty(e, this.expando, { value: t, configurable: !0 }))),
1744
- t
1745
- );
1746
- },
1747
- set: function (e, t, n) {
1748
- var r,
1749
- i = this.cache(e);
1750
- if ('string' == typeof t) i[X(t)] = n;
1751
- else for (r in t) i[X(r)] = t[r];
1752
- return i;
1753
- },
1754
- get: function (e, t) {
1755
- return void 0 === t ? this.cache(e) : e[this.expando] && e[this.expando][X(t)];
1756
- },
1757
- access: function (e, t, n) {
1758
- return void 0 === t || (t && 'string' == typeof t && void 0 === n) ? this.get(e, t) : (this.set(e, t, n), void 0 !== n ? n : t);
1759
- },
1760
- remove: function (e, t) {
1761
- var n,
1762
- r = e[this.expando];
1763
- if (void 0 !== r) {
1764
- if (void 0 !== t) {
1765
- n = (t = Array.isArray(t) ? t.map(X) : (t = X(t)) in r ? [t] : t.match(P) || []).length;
1766
- while (n--) delete r[t[n]];
1767
- }
1768
- (void 0 === t || S.isEmptyObject(r)) && (e.nodeType ? (e[this.expando] = void 0) : delete e[this.expando]);
1769
- }
1770
- },
1771
- hasData: function (e) {
1772
- var t = e[this.expando];
1773
- return void 0 !== t && !S.isEmptyObject(t);
1774
- },
1775
- });
1776
- var Y = new G(),
1777
- Q = new G(),
1778
- J = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
1779
- K = /[A-Z]/g;
1780
- function Z(e, t, n) {
1781
- var r, i;
1782
- if (void 0 === n && 1 === e.nodeType)
1783
- if (((r = 'data-' + t.replace(K, '-$&').toLowerCase()), 'string' == typeof (n = e.getAttribute(r)))) {
1784
- try {
1785
- n = 'true' === (i = n) || ('false' !== i && ('null' === i ? null : i === +i + '' ? +i : J.test(i) ? JSON.parse(i) : i));
1786
- } catch (e) {}
1787
- Q.set(e, t, n);
1788
- } else n = void 0;
1789
- return n;
1790
- }
1791
- S.extend({
1792
- hasData: function (e) {
1793
- return Q.hasData(e) || Y.hasData(e);
1794
- },
1795
- data: function (e, t, n) {
1796
- return Q.access(e, t, n);
1797
- },
1798
- removeData: function (e, t) {
1799
- Q.remove(e, t);
1800
- },
1801
- _data: function (e, t, n) {
1802
- return Y.access(e, t, n);
1803
- },
1804
- _removeData: function (e, t) {
1805
- Y.remove(e, t);
1806
- },
1807
- }),
1808
- S.fn.extend({
1809
- data: function (n, e) {
1810
- var t,
1811
- r,
1812
- i,
1813
- o = this[0],
1814
- a = o && o.attributes;
1815
- if (void 0 === n) {
1816
- if (this.length && ((i = Q.get(o)), 1 === o.nodeType && !Y.get(o, 'hasDataAttrs'))) {
1817
- t = a.length;
1818
- while (t--) a[t] && 0 === (r = a[t].name).indexOf('data-') && ((r = X(r.slice(5))), Z(o, r, i[r]));
1819
- Y.set(o, 'hasDataAttrs', !0);
1820
- }
1821
- return i;
1822
- }
1823
- return 'object' == typeof n
1824
- ? this.each(function () {
1825
- Q.set(this, n);
1826
- })
1827
- : $(
1828
- this,
1829
- function (e) {
1830
- var t;
1831
- if (o && void 0 === e) return void 0 !== (t = Q.get(o, n)) ? t : void 0 !== (t = Z(o, n)) ? t : void 0;
1832
- this.each(function () {
1833
- Q.set(this, n, e);
1834
- });
1835
- },
1836
- null,
1837
- e,
1838
- 1 < arguments.length,
1839
- null,
1840
- !0,
1841
- );
1842
- },
1843
- removeData: function (e) {
1844
- return this.each(function () {
1845
- Q.remove(this, e);
1846
- });
1847
- },
1848
- }),
1849
- S.extend({
1850
- queue: function (e, t, n) {
1851
- var r;
1852
- if (e)
1853
- return (
1854
- (t = (t || 'fx') + 'queue'),
1855
- (r = Y.get(e, t)),
1856
- n && (!r || Array.isArray(n) ? (r = Y.access(e, t, S.makeArray(n))) : r.push(n)),
1857
- r || []
1858
- );
1859
- },
1860
- dequeue: function (e, t) {
1861
- t = t || 'fx';
1862
- var n = S.queue(e, t),
1863
- r = n.length,
1864
- i = n.shift(),
1865
- o = S._queueHooks(e, t);
1866
- 'inprogress' === i && ((i = n.shift()), r--),
1867
- i &&
1868
- ('fx' === t && n.unshift('inprogress'),
1869
- delete o.stop,
1870
- i.call(
1871
- e,
1872
- function () {
1873
- S.dequeue(e, t);
1874
- },
1875
- o,
1876
- )),
1877
- !r && o && o.empty.fire();
1878
- },
1879
- _queueHooks: function (e, t) {
1880
- var n = t + 'queueHooks';
1881
- return (
1882
- Y.get(e, n) ||
1883
- Y.access(e, n, {
1884
- empty: S.Callbacks('once memory').add(function () {
1885
- Y.remove(e, [t + 'queue', n]);
1886
- }),
1887
- })
1888
- );
1889
- },
1890
- }),
1891
- S.fn.extend({
1892
- queue: function (t, n) {
1893
- var e = 2;
1894
- return (
1895
- 'string' != typeof t && ((n = t), (t = 'fx'), e--),
1896
- arguments.length < e
1897
- ? S.queue(this[0], t)
1898
- : void 0 === n
1899
- ? this
1900
- : this.each(function () {
1901
- var e = S.queue(this, t, n);
1902
- S._queueHooks(this, t), 'fx' === t && 'inprogress' !== e[0] && S.dequeue(this, t);
1903
- })
1904
- );
1905
- },
1906
- dequeue: function (e) {
1907
- return this.each(function () {
1908
- S.dequeue(this, e);
1909
- });
1910
- },
1911
- clearQueue: function (e) {
1912
- return this.queue(e || 'fx', []);
1913
- },
1914
- promise: function (e, t) {
1915
- var n,
1916
- r = 1,
1917
- i = S.Deferred(),
1918
- o = this,
1919
- a = this.length,
1920
- s = function () {
1921
- --r || i.resolveWith(o, [o]);
1922
- };
1923
- 'string' != typeof e && ((t = e), (e = void 0)), (e = e || 'fx');
1924
- while (a--) (n = Y.get(o[a], e + 'queueHooks')) && n.empty && (r++, n.empty.add(s));
1925
- return s(), i.promise(t);
1926
- },
1927
- });
1928
- var ee = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
1929
- te = new RegExp('^(?:([+-])=|)(' + ee + ')([a-z%]*)$', 'i'),
1930
- ne = ['Top', 'Right', 'Bottom', 'Left'],
1931
- re = E.documentElement,
1932
- ie = function (e) {
1933
- return S.contains(e.ownerDocument, e);
1934
- },
1935
- oe = { composed: !0 };
1936
- re.getRootNode &&
1937
- (ie = function (e) {
1938
- return S.contains(e.ownerDocument, e) || e.getRootNode(oe) === e.ownerDocument;
1939
- });
1940
- var ae = function (e, t) {
1941
- return 'none' === (e = t || e).style.display || ('' === e.style.display && ie(e) && 'none' === S.css(e, 'display'));
1942
- };
1943
- function se(e, t, n, r) {
1944
- var i,
1945
- o,
1946
- a = 20,
1947
- s = r
1948
- ? function () {
1949
- return r.cur();
1950
- }
1951
- : function () {
1952
- return S.css(e, t, '');
1953
- },
1954
- u = s(),
1955
- l = (n && n[3]) || (S.cssNumber[t] ? '' : 'px'),
1956
- c = e.nodeType && (S.cssNumber[t] || ('px' !== l && +u)) && te.exec(S.css(e, t));
1957
- if (c && c[3] !== l) {
1958
- (u /= 2), (l = l || c[3]), (c = +u || 1);
1959
- while (a--) S.style(e, t, c + l), (1 - o) * (1 - (o = s() / u || 0.5)) <= 0 && (a = 0), (c /= o);
1960
- (c *= 2), S.style(e, t, c + l), (n = n || []);
1961
- }
1962
- return n && ((c = +c || +u || 0), (i = n[1] ? c + (n[1] + 1) * n[2] : +n[2]), r && ((r.unit = l), (r.start = c), (r.end = i))), i;
1963
- }
1964
- var ue = {};
1965
- function le(e, t) {
1966
- for (var n, r, i, o, a, s, u, l = [], c = 0, f = e.length; c < f; c++)
1967
- (r = e[c]).style &&
1968
- ((n = r.style.display),
1969
- t
1970
- ? ('none' === n && ((l[c] = Y.get(r, 'display') || null), l[c] || (r.style.display = '')),
1971
- '' === r.style.display &&
1972
- ae(r) &&
1973
- (l[c] =
1974
- ((u = a = o = void 0),
1975
- (a = (i = r).ownerDocument),
1976
- (s = i.nodeName),
1977
- (u = ue[s]) ||
1978
- ((o = a.body.appendChild(a.createElement(s))),
1979
- (u = S.css(o, 'display')),
1980
- o.parentNode.removeChild(o),
1981
- 'none' === u && (u = 'block'),
1982
- (ue[s] = u)))))
1983
- : 'none' !== n && ((l[c] = 'none'), Y.set(r, 'display', n)));
1984
- for (c = 0; c < f; c++) null != l[c] && (e[c].style.display = l[c]);
1985
- return e;
1986
- }
1987
- S.fn.extend({
1988
- show: function () {
1989
- return le(this, !0);
1990
- },
1991
- hide: function () {
1992
- return le(this);
1993
- },
1994
- toggle: function (e) {
1995
- return 'boolean' == typeof e
1996
- ? e
1997
- ? this.show()
1998
- : this.hide()
1999
- : this.each(function () {
2000
- ae(this) ? S(this).show() : S(this).hide();
2001
- });
2002
- },
2003
- });
2004
- var ce,
2005
- fe,
2006
- pe = /^(?:checkbox|radio)$/i,
2007
- de = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i,
2008
- he = /^$|^module$|\/(?:java|ecma)script/i;
2009
- (ce = E.createDocumentFragment().appendChild(E.createElement('div'))),
2010
- (fe = E.createElement('input')).setAttribute('type', 'radio'),
2011
- fe.setAttribute('checked', 'checked'),
2012
- fe.setAttribute('name', 't'),
2013
- ce.appendChild(fe),
2014
- (y.checkClone = ce.cloneNode(!0).cloneNode(!0).lastChild.checked),
2015
- (ce.innerHTML = '<textarea>x</textarea>'),
2016
- (y.noCloneChecked = !!ce.cloneNode(!0).lastChild.defaultValue),
2017
- (ce.innerHTML = '<option></option>'),
2018
- (y.option = !!ce.lastChild);
2019
- var ge = {
2020
- thead: [1, '<table>', '</table>'],
2021
- col: [2, '<table><colgroup>', '</colgroup></table>'],
2022
- tr: [2, '<table><tbody>', '</tbody></table>'],
2023
- td: [3, '<table><tbody><tr>', '</tr></tbody></table>'],
2024
- _default: [0, '', ''],
2025
- };
2026
- function ve(e, t) {
2027
- var n;
2028
- return (
2029
- (n =
2030
- 'undefined' != typeof e.getElementsByTagName
2031
- ? e.getElementsByTagName(t || '*')
2032
- : 'undefined' != typeof e.querySelectorAll
2033
- ? e.querySelectorAll(t || '*')
2034
- : []),
2035
- void 0 === t || (t && A(e, t)) ? S.merge([e], n) : n
2036
- );
2037
- }
2038
- function ye(e, t) {
2039
- for (var n = 0, r = e.length; n < r; n++) Y.set(e[n], 'globalEval', !t || Y.get(t[n], 'globalEval'));
2040
- }
2041
- (ge.tbody = ge.tfoot = ge.colgroup = ge.caption = ge.thead),
2042
- (ge.th = ge.td),
2043
- y.option || (ge.optgroup = ge.option = [1, "<select multiple='multiple'>", '</select>']);
2044
- var me = /<|&#?\w+;/;
2045
- function xe(e, t, n, r, i) {
2046
- for (var o, a, s, u, l, c, f = t.createDocumentFragment(), p = [], d = 0, h = e.length; d < h; d++)
2047
- if ((o = e[d]) || 0 === o)
2048
- if ('object' === w(o)) S.merge(p, o.nodeType ? [o] : o);
2049
- else if (me.test(o)) {
2050
- (a = a || f.appendChild(t.createElement('div'))),
2051
- (s = (de.exec(o) || ['', ''])[1].toLowerCase()),
2052
- (u = ge[s] || ge._default),
2053
- (a.innerHTML = u[1] + S.htmlPrefilter(o) + u[2]),
2054
- (c = u[0]);
2055
- while (c--) a = a.lastChild;
2056
- S.merge(p, a.childNodes), ((a = f.firstChild).textContent = '');
2057
- } else p.push(t.createTextNode(o));
2058
- (f.textContent = ''), (d = 0);
2059
- while ((o = p[d++]))
2060
- if (r && -1 < S.inArray(o, r)) i && i.push(o);
2061
- else if (((l = ie(o)), (a = ve(f.appendChild(o), 'script')), l && ye(a), n)) {
2062
- c = 0;
2063
- while ((o = a[c++])) he.test(o.type || '') && n.push(o);
2064
- }
2065
- return f;
2066
- }
2067
- var be = /^([^.]*)(?:\.(.+)|)/;
2068
- function we() {
2069
- return !0;
2070
- }
2071
- function Te() {
2072
- return !1;
2073
- }
2074
- function Ce(e, t) {
2075
- return (
2076
- (e ===
2077
- (function () {
2078
- try {
2079
- return E.activeElement;
2080
- } catch (e) {}
2081
- })()) ==
2082
- ('focus' === t)
2083
- );
2084
- }
2085
- function Ee(e, t, n, r, i, o) {
2086
- var a, s;
2087
- if ('object' == typeof t) {
2088
- for (s in ('string' != typeof n && ((r = r || n), (n = void 0)), t)) Ee(e, s, n, r, t[s], o);
2089
- return e;
2090
- }
2091
- if (
2092
- (null == r && null == i
2093
- ? ((i = n), (r = n = void 0))
2094
- : null == i && ('string' == typeof n ? ((i = r), (r = void 0)) : ((i = r), (r = n), (n = void 0))),
2095
- !1 === i)
2096
- )
2097
- i = Te;
2098
- else if (!i) return e;
2099
- return (
2100
- 1 === o &&
2101
- ((a = i),
2102
- ((i = function (e) {
2103
- return S().off(e), a.apply(this, arguments);
2104
- }).guid = a.guid || (a.guid = S.guid++))),
2105
- e.each(function () {
2106
- S.event.add(this, t, i, r, n);
2107
- })
2108
- );
2109
- }
2110
- function Se(e, i, o) {
2111
- o
2112
- ? (Y.set(e, i, !1),
2113
- S.event.add(e, i, {
2114
- namespace: !1,
2115
- handler: function (e) {
2116
- var t,
2117
- n,
2118
- r = Y.get(this, i);
2119
- if (1 & e.isTrigger && this[i]) {
2120
- if (r.length) (S.event.special[i] || {}).delegateType && e.stopPropagation();
2121
- else if (
2122
- ((r = s.call(arguments)),
2123
- Y.set(this, i, r),
2124
- (t = o(this, i)),
2125
- this[i](),
2126
- r !== (n = Y.get(this, i)) || t ? Y.set(this, i, !1) : (n = {}),
2127
- r !== n)
2128
- )
2129
- return e.stopImmediatePropagation(), e.preventDefault(), n && n.value;
2130
- } else
2131
- r.length &&
2132
- (Y.set(this, i, { value: S.event.trigger(S.extend(r[0], S.Event.prototype), r.slice(1), this) }),
2133
- e.stopImmediatePropagation());
2134
- },
2135
- }))
2136
- : void 0 === Y.get(e, i) && S.event.add(e, i, we);
2137
- }
2138
- (S.event = {
2139
- global: {},
2140
- add: function (t, e, n, r, i) {
2141
- var o,
2142
- a,
2143
- s,
2144
- u,
2145
- l,
2146
- c,
2147
- f,
2148
- p,
2149
- d,
2150
- h,
2151
- g,
2152
- v = Y.get(t);
2153
- if (V(t)) {
2154
- n.handler && ((n = (o = n).handler), (i = o.selector)),
2155
- i && S.find.matchesSelector(re, i),
2156
- n.guid || (n.guid = S.guid++),
2157
- (u = v.events) || (u = v.events = Object.create(null)),
2158
- (a = v.handle) ||
2159
- (a = v.handle =
2160
- function (e) {
2161
- return 'undefined' != typeof S && S.event.triggered !== e.type ? S.event.dispatch.apply(t, arguments) : void 0;
2162
- }),
2163
- (l = (e = (e || '').match(P) || ['']).length);
2164
- while (l--)
2165
- (d = g = (s = be.exec(e[l]) || [])[1]),
2166
- (h = (s[2] || '').split('.').sort()),
2167
- d &&
2168
- ((f = S.event.special[d] || {}),
2169
- (d = (i ? f.delegateType : f.bindType) || d),
2170
- (f = S.event.special[d] || {}),
2171
- (c = S.extend(
2172
- {
2173
- type: d,
2174
- origType: g,
2175
- data: r,
2176
- handler: n,
2177
- guid: n.guid,
2178
- selector: i,
2179
- needsContext: i && S.expr.match.needsContext.test(i),
2180
- namespace: h.join('.'),
2181
- },
2182
- o,
2183
- )),
2184
- (p = u[d]) ||
2185
- (((p = u[d] = []).delegateCount = 0),
2186
- (f.setup && !1 !== f.setup.call(t, r, h, a)) || (t.addEventListener && t.addEventListener(d, a))),
2187
- f.add && (f.add.call(t, c), c.handler.guid || (c.handler.guid = n.guid)),
2188
- i ? p.splice(p.delegateCount++, 0, c) : p.push(c),
2189
- (S.event.global[d] = !0));
2190
- }
2191
- },
2192
- remove: function (e, t, n, r, i) {
2193
- var o,
2194
- a,
2195
- s,
2196
- u,
2197
- l,
2198
- c,
2199
- f,
2200
- p,
2201
- d,
2202
- h,
2203
- g,
2204
- v = Y.hasData(e) && Y.get(e);
2205
- if (v && (u = v.events)) {
2206
- l = (t = (t || '').match(P) || ['']).length;
2207
- while (l--)
2208
- if (((d = g = (s = be.exec(t[l]) || [])[1]), (h = (s[2] || '').split('.').sort()), d)) {
2209
- (f = S.event.special[d] || {}),
2210
- (p = u[(d = (r ? f.delegateType : f.bindType) || d)] || []),
2211
- (s = s[2] && new RegExp('(^|\\.)' + h.join('\\.(?:.*\\.|)') + '(\\.|$)')),
2212
- (a = o = p.length);
2213
- while (o--)
2214
- (c = p[o]),
2215
- (!i && g !== c.origType) ||
2216
- (n && n.guid !== c.guid) ||
2217
- (s && !s.test(c.namespace)) ||
2218
- (r && r !== c.selector && ('**' !== r || !c.selector)) ||
2219
- (p.splice(o, 1), c.selector && p.delegateCount--, f.remove && f.remove.call(e, c));
2220
- a && !p.length && ((f.teardown && !1 !== f.teardown.call(e, h, v.handle)) || S.removeEvent(e, d, v.handle), delete u[d]);
2221
- } else for (d in u) S.event.remove(e, d + t[l], n, r, !0);
2222
- S.isEmptyObject(u) && Y.remove(e, 'handle events');
2223
- }
2224
- },
2225
- dispatch: function (e) {
2226
- var t,
2227
- n,
2228
- r,
2229
- i,
2230
- o,
2231
- a,
2232
- s = new Array(arguments.length),
2233
- u = S.event.fix(e),
2234
- l = (Y.get(this, 'events') || Object.create(null))[u.type] || [],
2235
- c = S.event.special[u.type] || {};
2236
- for (s[0] = u, t = 1; t < arguments.length; t++) s[t] = arguments[t];
2237
- if (((u.delegateTarget = this), !c.preDispatch || !1 !== c.preDispatch.call(this, u))) {
2238
- (a = S.event.handlers.call(this, u, l)), (t = 0);
2239
- while ((i = a[t++]) && !u.isPropagationStopped()) {
2240
- (u.currentTarget = i.elem), (n = 0);
2241
- while ((o = i.handlers[n++]) && !u.isImmediatePropagationStopped())
2242
- (u.rnamespace && !1 !== o.namespace && !u.rnamespace.test(o.namespace)) ||
2243
- ((u.handleObj = o),
2244
- (u.data = o.data),
2245
- void 0 !== (r = ((S.event.special[o.origType] || {}).handle || o.handler).apply(i.elem, s)) &&
2246
- !1 === (u.result = r) &&
2247
- (u.preventDefault(), u.stopPropagation()));
2248
- }
2249
- return c.postDispatch && c.postDispatch.call(this, u), u.result;
2250
- }
2251
- },
2252
- handlers: function (e, t) {
2253
- var n,
2254
- r,
2255
- i,
2256
- o,
2257
- a,
2258
- s = [],
2259
- u = t.delegateCount,
2260
- l = e.target;
2261
- if (u && l.nodeType && !('click' === e.type && 1 <= e.button))
2262
- for (; l !== this; l = l.parentNode || this)
2263
- if (1 === l.nodeType && ('click' !== e.type || !0 !== l.disabled)) {
2264
- for (o = [], a = {}, n = 0; n < u; n++)
2265
- void 0 === a[(i = (r = t[n]).selector + ' ')] &&
2266
- (a[i] = r.needsContext ? -1 < S(i, this).index(l) : S.find(i, this, null, [l]).length),
2267
- a[i] && o.push(r);
2268
- o.length && s.push({ elem: l, handlers: o });
2269
- }
2270
- return (l = this), u < t.length && s.push({ elem: l, handlers: t.slice(u) }), s;
2271
- },
2272
- addProp: function (t, e) {
2273
- Object.defineProperty(S.Event.prototype, t, {
2274
- enumerable: !0,
2275
- configurable: !0,
2276
- get: m(e)
2277
- ? function () {
2278
- if (this.originalEvent) return e(this.originalEvent);
2279
- }
2280
- : function () {
2281
- if (this.originalEvent) return this.originalEvent[t];
2282
- },
2283
- set: function (e) {
2284
- Object.defineProperty(this, t, { enumerable: !0, configurable: !0, writable: !0, value: e });
2285
- },
2286
- });
2287
- },
2288
- fix: function (e) {
2289
- return e[S.expando] ? e : new S.Event(e);
2290
- },
2291
- special: {
2292
- load: { noBubble: !0 },
2293
- click: {
2294
- setup: function (e) {
2295
- var t = this || e;
2296
- return pe.test(t.type) && t.click && A(t, 'input') && Se(t, 'click', we), !1;
2297
- },
2298
- trigger: function (e) {
2299
- var t = this || e;
2300
- return pe.test(t.type) && t.click && A(t, 'input') && Se(t, 'click'), !0;
2301
- },
2302
- _default: function (e) {
2303
- var t = e.target;
2304
- return (pe.test(t.type) && t.click && A(t, 'input') && Y.get(t, 'click')) || A(t, 'a');
2305
- },
2306
- },
2307
- beforeunload: {
2308
- postDispatch: function (e) {
2309
- void 0 !== e.result && e.originalEvent && (e.originalEvent.returnValue = e.result);
2310
- },
2311
- },
2312
- },
2313
- }),
2314
- (S.removeEvent = function (e, t, n) {
2315
- e.removeEventListener && e.removeEventListener(t, n);
2316
- }),
2317
- (S.Event = function (e, t) {
2318
- if (!(this instanceof S.Event)) return new S.Event(e, t);
2319
- e && e.type
2320
- ? ((this.originalEvent = e),
2321
- (this.type = e.type),
2322
- (this.isDefaultPrevented = e.defaultPrevented || (void 0 === e.defaultPrevented && !1 === e.returnValue) ? we : Te),
2323
- (this.target = e.target && 3 === e.target.nodeType ? e.target.parentNode : e.target),
2324
- (this.currentTarget = e.currentTarget),
2325
- (this.relatedTarget = e.relatedTarget))
2326
- : (this.type = e),
2327
- t && S.extend(this, t),
2328
- (this.timeStamp = (e && e.timeStamp) || Date.now()),
2329
- (this[S.expando] = !0);
2330
- }),
2331
- (S.Event.prototype = {
2332
- constructor: S.Event,
2333
- isDefaultPrevented: Te,
2334
- isPropagationStopped: Te,
2335
- isImmediatePropagationStopped: Te,
2336
- isSimulated: !1,
2337
- preventDefault: function () {
2338
- var e = this.originalEvent;
2339
- (this.isDefaultPrevented = we), e && !this.isSimulated && e.preventDefault();
2340
- },
2341
- stopPropagation: function () {
2342
- var e = this.originalEvent;
2343
- (this.isPropagationStopped = we), e && !this.isSimulated && e.stopPropagation();
2344
- },
2345
- stopImmediatePropagation: function () {
2346
- var e = this.originalEvent;
2347
- (this.isImmediatePropagationStopped = we), e && !this.isSimulated && e.stopImmediatePropagation(), this.stopPropagation();
2348
- },
2349
- }),
2350
- S.each(
2351
- {
2352
- altKey: !0,
2353
- bubbles: !0,
2354
- cancelable: !0,
2355
- changedTouches: !0,
2356
- ctrlKey: !0,
2357
- detail: !0,
2358
- eventPhase: !0,
2359
- metaKey: !0,
2360
- pageX: !0,
2361
- pageY: !0,
2362
- shiftKey: !0,
2363
- view: !0,
2364
- char: !0,
2365
- code: !0,
2366
- charCode: !0,
2367
- key: !0,
2368
- keyCode: !0,
2369
- button: !0,
2370
- buttons: !0,
2371
- clientX: !0,
2372
- clientY: !0,
2373
- offsetX: !0,
2374
- offsetY: !0,
2375
- pointerId: !0,
2376
- pointerType: !0,
2377
- screenX: !0,
2378
- screenY: !0,
2379
- targetTouches: !0,
2380
- toElement: !0,
2381
- touches: !0,
2382
- which: !0,
2383
- },
2384
- S.event.addProp,
2385
- ),
2386
- S.each({ focus: 'focusin', blur: 'focusout' }, function (e, t) {
2387
- S.event.special[e] = {
2388
- setup: function () {
2389
- return Se(this, e, Ce), !1;
2390
- },
2391
- trigger: function () {
2392
- return Se(this, e), !0;
2393
- },
2394
- _default: function () {
2395
- return !0;
2396
- },
2397
- delegateType: t,
2398
- };
2399
- }),
2400
- S.each({ mouseenter: 'mouseover', mouseleave: 'mouseout', pointerenter: 'pointerover', pointerleave: 'pointerout' }, function (e, i) {
2401
- S.event.special[e] = {
2402
- delegateType: i,
2403
- bindType: i,
2404
- handle: function (e) {
2405
- var t,
2406
- n = e.relatedTarget,
2407
- r = e.handleObj;
2408
- return (
2409
- (n && (n === this || S.contains(this, n))) || ((e.type = r.origType), (t = r.handler.apply(this, arguments)), (e.type = i)), t
2410
- );
2411
- },
2412
- };
2413
- }),
2414
- S.fn.extend({
2415
- on: function (e, t, n, r) {
2416
- return Ee(this, e, t, n, r);
2417
- },
2418
- one: function (e, t, n, r) {
2419
- return Ee(this, e, t, n, r, 1);
2420
- },
2421
- off: function (e, t, n) {
2422
- var r, i;
2423
- if (e && e.preventDefault && e.handleObj)
2424
- return (
2425
- (r = e.handleObj),
2426
- S(e.delegateTarget).off(r.namespace ? r.origType + '.' + r.namespace : r.origType, r.selector, r.handler),
2427
- this
2428
- );
2429
- if ('object' == typeof e) {
2430
- for (i in e) this.off(i, t, e[i]);
2431
- return this;
2432
- }
2433
- return (
2434
- (!1 !== t && 'function' != typeof t) || ((n = t), (t = void 0)),
2435
- !1 === n && (n = Te),
2436
- this.each(function () {
2437
- S.event.remove(this, e, n, t);
2438
- })
2439
- );
2440
- },
2441
- });
2442
- var ke = /<script|<style|<link/i,
2443
- Ae = /checked\s*(?:[^=]|=\s*.checked.)/i,
2444
- Ne = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
2445
- function je(e, t) {
2446
- return (A(e, 'table') && A(11 !== t.nodeType ? t : t.firstChild, 'tr') && S(e).children('tbody')[0]) || e;
2447
- }
2448
- function De(e) {
2449
- return (e.type = (null !== e.getAttribute('type')) + '/' + e.type), e;
2450
- }
2451
- function qe(e) {
2452
- return 'true/' === (e.type || '').slice(0, 5) ? (e.type = e.type.slice(5)) : e.removeAttribute('type'), e;
2453
- }
2454
- function Le(e, t) {
2455
- var n, r, i, o, a, s;
2456
- if (1 === t.nodeType) {
2457
- if (Y.hasData(e) && (s = Y.get(e).events))
2458
- for (i in (Y.remove(t, 'handle events'), s)) for (n = 0, r = s[i].length; n < r; n++) S.event.add(t, i, s[i][n]);
2459
- Q.hasData(e) && ((o = Q.access(e)), (a = S.extend({}, o)), Q.set(t, a));
2460
- }
2461
- }
2462
- function He(n, r, i, o) {
2463
- r = g(r);
2464
- var e,
2465
- t,
2466
- a,
2467
- s,
2468
- u,
2469
- l,
2470
- c = 0,
2471
- f = n.length,
2472
- p = f - 1,
2473
- d = r[0],
2474
- h = m(d);
2475
- if (h || (1 < f && 'string' == typeof d && !y.checkClone && Ae.test(d)))
2476
- return n.each(function (e) {
2477
- var t = n.eq(e);
2478
- h && (r[0] = d.call(this, e, t.html())), He(t, r, i, o);
2479
- });
2480
- if (f && ((t = (e = xe(r, n[0].ownerDocument, !1, n, o)).firstChild), 1 === e.childNodes.length && (e = t), t || o)) {
2481
- for (s = (a = S.map(ve(e, 'script'), De)).length; c < f; c++)
2482
- (u = e), c !== p && ((u = S.clone(u, !0, !0)), s && S.merge(a, ve(u, 'script'))), i.call(n[c], u, c);
2483
- if (s)
2484
- for (l = a[a.length - 1].ownerDocument, S.map(a, qe), c = 0; c < s; c++)
2485
- (u = a[c]),
2486
- he.test(u.type || '') &&
2487
- !Y.access(u, 'globalEval') &&
2488
- S.contains(l, u) &&
2489
- (u.src && 'module' !== (u.type || '').toLowerCase()
2490
- ? S._evalUrl && !u.noModule && S._evalUrl(u.src, { nonce: u.nonce || u.getAttribute('nonce') }, l)
2491
- : b(u.textContent.replace(Ne, ''), u, l));
2492
- }
2493
- return n;
2494
- }
2495
- function Oe(e, t, n) {
2496
- for (var r, i = t ? S.filter(t, e) : e, o = 0; null != (r = i[o]); o++)
2497
- n || 1 !== r.nodeType || S.cleanData(ve(r)), r.parentNode && (n && ie(r) && ye(ve(r, 'script')), r.parentNode.removeChild(r));
2498
- return e;
2499
- }
2500
- S.extend({
2501
- htmlPrefilter: function (e) {
2502
- return e;
2503
- },
2504
- clone: function (e, t, n) {
2505
- var r,
2506
- i,
2507
- o,
2508
- a,
2509
- s,
2510
- u,
2511
- l,
2512
- c = e.cloneNode(!0),
2513
- f = ie(e);
2514
- if (!(y.noCloneChecked || (1 !== e.nodeType && 11 !== e.nodeType) || S.isXMLDoc(e)))
2515
- for (a = ve(c), r = 0, i = (o = ve(e)).length; r < i; r++)
2516
- (s = o[r]),
2517
- (u = a[r]),
2518
- void 0,
2519
- 'input' === (l = u.nodeName.toLowerCase()) && pe.test(s.type)
2520
- ? (u.checked = s.checked)
2521
- : ('input' !== l && 'textarea' !== l) || (u.defaultValue = s.defaultValue);
2522
- if (t)
2523
- if (n) for (o = o || ve(e), a = a || ve(c), r = 0, i = o.length; r < i; r++) Le(o[r], a[r]);
2524
- else Le(e, c);
2525
- return 0 < (a = ve(c, 'script')).length && ye(a, !f && ve(e, 'script')), c;
2526
- },
2527
- cleanData: function (e) {
2528
- for (var t, n, r, i = S.event.special, o = 0; void 0 !== (n = e[o]); o++)
2529
- if (V(n)) {
2530
- if ((t = n[Y.expando])) {
2531
- if (t.events) for (r in t.events) i[r] ? S.event.remove(n, r) : S.removeEvent(n, r, t.handle);
2532
- n[Y.expando] = void 0;
2533
- }
2534
- n[Q.expando] && (n[Q.expando] = void 0);
2535
- }
2536
- },
2537
- }),
2538
- S.fn.extend({
2539
- detach: function (e) {
2540
- return Oe(this, e, !0);
2541
- },
2542
- remove: function (e) {
2543
- return Oe(this, e);
2544
- },
2545
- text: function (e) {
2546
- return $(
2547
- this,
2548
- function (e) {
2549
- return void 0 === e
2550
- ? S.text(this)
2551
- : this.empty().each(function () {
2552
- (1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType) || (this.textContent = e);
2553
- });
2554
- },
2555
- null,
2556
- e,
2557
- arguments.length,
2558
- );
2559
- },
2560
- append: function () {
2561
- return He(this, arguments, function (e) {
2562
- (1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType) || je(this, e).appendChild(e);
2563
- });
2564
- },
2565
- prepend: function () {
2566
- return He(this, arguments, function (e) {
2567
- if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
2568
- var t = je(this, e);
2569
- t.insertBefore(e, t.firstChild);
2570
- }
2571
- });
2572
- },
2573
- before: function () {
2574
- return He(this, arguments, function (e) {
2575
- this.parentNode && this.parentNode.insertBefore(e, this);
2576
- });
2577
- },
2578
- after: function () {
2579
- return He(this, arguments, function (e) {
2580
- this.parentNode && this.parentNode.insertBefore(e, this.nextSibling);
2581
- });
2582
- },
2583
- empty: function () {
2584
- for (var e, t = 0; null != (e = this[t]); t++) 1 === e.nodeType && (S.cleanData(ve(e, !1)), (e.textContent = ''));
2585
- return this;
2586
- },
2587
- clone: function (e, t) {
2588
- return (
2589
- (e = null != e && e),
2590
- (t = null == t ? e : t),
2591
- this.map(function () {
2592
- return S.clone(this, e, t);
2593
- })
2594
- );
2595
- },
2596
- html: function (e) {
2597
- return $(
2598
- this,
2599
- function (e) {
2600
- var t = this[0] || {},
2601
- n = 0,
2602
- r = this.length;
2603
- if (void 0 === e && 1 === t.nodeType) return t.innerHTML;
2604
- if ('string' == typeof e && !ke.test(e) && !ge[(de.exec(e) || ['', ''])[1].toLowerCase()]) {
2605
- e = S.htmlPrefilter(e);
2606
- try {
2607
- for (; n < r; n++) 1 === (t = this[n] || {}).nodeType && (S.cleanData(ve(t, !1)), (t.innerHTML = e));
2608
- t = 0;
2609
- } catch (e) {}
2610
- }
2611
- t && this.empty().append(e);
2612
- },
2613
- null,
2614
- e,
2615
- arguments.length,
2616
- );
2617
- },
2618
- replaceWith: function () {
2619
- var n = [];
2620
- return He(
2621
- this,
2622
- arguments,
2623
- function (e) {
2624
- var t = this.parentNode;
2625
- S.inArray(this, n) < 0 && (S.cleanData(ve(this)), t && t.replaceChild(e, this));
2626
- },
2627
- n,
2628
- );
2629
- },
2630
- }),
2631
- S.each(
2632
- { appendTo: 'append', prependTo: 'prepend', insertBefore: 'before', insertAfter: 'after', replaceAll: 'replaceWith' },
2633
- function (e, a) {
2634
- S.fn[e] = function (e) {
2635
- for (var t, n = [], r = S(e), i = r.length - 1, o = 0; o <= i; o++)
2636
- (t = o === i ? this : this.clone(!0)), S(r[o])[a](t), u.apply(n, t.get());
2637
- return this.pushStack(n);
2638
- };
2639
- },
2640
- );
2641
- var Pe = new RegExp('^(' + ee + ')(?!px)[a-z%]+$', 'i'),
2642
- Re = function (e) {
2643
- var t = e.ownerDocument.defaultView;
2644
- return (t && t.opener) || (t = C), t.getComputedStyle(e);
2645
- },
2646
- Me = function (e, t, n) {
2647
- var r,
2648
- i,
2649
- o = {};
2650
- for (i in t) (o[i] = e.style[i]), (e.style[i] = t[i]);
2651
- for (i in ((r = n.call(e)), t)) e.style[i] = o[i];
2652
- return r;
2653
- },
2654
- Ie = new RegExp(ne.join('|'), 'i');
2655
- function We(e, t, n) {
2656
- var r,
2657
- i,
2658
- o,
2659
- a,
2660
- s = e.style;
2661
- return (
2662
- (n = n || Re(e)) &&
2663
- ('' !== (a = n.getPropertyValue(t) || n[t]) || ie(e) || (a = S.style(e, t)),
2664
- !y.pixelBoxStyles() &&
2665
- Pe.test(a) &&
2666
- Ie.test(t) &&
2667
- ((r = s.width),
2668
- (i = s.minWidth),
2669
- (o = s.maxWidth),
2670
- (s.minWidth = s.maxWidth = s.width = a),
2671
- (a = n.width),
2672
- (s.width = r),
2673
- (s.minWidth = i),
2674
- (s.maxWidth = o))),
2675
- void 0 !== a ? a + '' : a
2676
- );
2677
- }
2678
- function Fe(e, t) {
2679
- return {
2680
- get: function () {
2681
- if (!e()) return (this.get = t).apply(this, arguments);
2682
- delete this.get;
2683
- },
2684
- };
2685
- }
2686
- !(function () {
2687
- function e() {
2688
- if (l) {
2689
- (u.style.cssText = 'position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0'),
2690
- (l.style.cssText =
2691
- 'position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%'),
2692
- re.appendChild(u).appendChild(l);
2693
- var e = C.getComputedStyle(l);
2694
- (n = '1%' !== e.top),
2695
- (s = 12 === t(e.marginLeft)),
2696
- (l.style.right = '60%'),
2697
- (o = 36 === t(e.right)),
2698
- (r = 36 === t(e.width)),
2699
- (l.style.position = 'absolute'),
2700
- (i = 12 === t(l.offsetWidth / 3)),
2701
- re.removeChild(u),
2702
- (l = null);
2703
- }
2704
- }
2705
- function t(e) {
2706
- return Math.round(parseFloat(e));
2707
- }
2708
- var n,
2709
- r,
2710
- i,
2711
- o,
2712
- a,
2713
- s,
2714
- u = E.createElement('div'),
2715
- l = E.createElement('div');
2716
- l.style &&
2717
- ((l.style.backgroundClip = 'content-box'),
2718
- (l.cloneNode(!0).style.backgroundClip = ''),
2719
- (y.clearCloneStyle = 'content-box' === l.style.backgroundClip),
2720
- S.extend(y, {
2721
- boxSizingReliable: function () {
2722
- return e(), r;
2723
- },
2724
- pixelBoxStyles: function () {
2725
- return e(), o;
2726
- },
2727
- pixelPosition: function () {
2728
- return e(), n;
2729
- },
2730
- reliableMarginLeft: function () {
2731
- return e(), s;
2732
- },
2733
- scrollboxSize: function () {
2734
- return e(), i;
2735
- },
2736
- reliableTrDimensions: function () {
2737
- var e, t, n, r;
2738
- return (
2739
- null == a &&
2740
- ((e = E.createElement('table')),
2741
- (t = E.createElement('tr')),
2742
- (n = E.createElement('div')),
2743
- (e.style.cssText = 'position:absolute;left:-11111px;border-collapse:separate'),
2744
- (t.style.cssText = 'border:1px solid'),
2745
- (t.style.height = '1px'),
2746
- (n.style.height = '9px'),
2747
- (n.style.display = 'block'),
2748
- re.appendChild(e).appendChild(t).appendChild(n),
2749
- (r = C.getComputedStyle(t)),
2750
- (a = parseInt(r.height, 10) + parseInt(r.borderTopWidth, 10) + parseInt(r.borderBottomWidth, 10) === t.offsetHeight),
2751
- re.removeChild(e)),
2752
- a
2753
- );
2754
- },
2755
- }));
2756
- })();
2757
- var Be = ['Webkit', 'Moz', 'ms'],
2758
- $e = E.createElement('div').style,
2759
- _e = {};
2760
- function ze(e) {
2761
- var t = S.cssProps[e] || _e[e];
2762
- return (
2763
- t ||
2764
- (e in $e
2765
- ? e
2766
- : (_e[e] =
2767
- (function (e) {
2768
- var t = e[0].toUpperCase() + e.slice(1),
2769
- n = Be.length;
2770
- while (n--) if ((e = Be[n] + t) in $e) return e;
2771
- })(e) || e))
2772
- );
2773
- }
2774
- var Ue = /^(none|table(?!-c[ea]).+)/,
2775
- Xe = /^--/,
2776
- Ve = { position: 'absolute', visibility: 'hidden', display: 'block' },
2777
- Ge = { letterSpacing: '0', fontWeight: '400' };
2778
- function Ye(e, t, n) {
2779
- var r = te.exec(t);
2780
- return r ? Math.max(0, r[2] - (n || 0)) + (r[3] || 'px') : t;
2781
- }
2782
- function Qe(e, t, n, r, i, o) {
2783
- var a = 'width' === t ? 1 : 0,
2784
- s = 0,
2785
- u = 0;
2786
- if (n === (r ? 'border' : 'content')) return 0;
2787
- for (; a < 4; a += 2)
2788
- 'margin' === n && (u += S.css(e, n + ne[a], !0, i)),
2789
- r
2790
- ? ('content' === n && (u -= S.css(e, 'padding' + ne[a], !0, i)),
2791
- 'margin' !== n && (u -= S.css(e, 'border' + ne[a] + 'Width', !0, i)))
2792
- : ((u += S.css(e, 'padding' + ne[a], !0, i)),
2793
- 'padding' !== n ? (u += S.css(e, 'border' + ne[a] + 'Width', !0, i)) : (s += S.css(e, 'border' + ne[a] + 'Width', !0, i)));
2794
- return !r && 0 <= o && (u += Math.max(0, Math.ceil(e['offset' + t[0].toUpperCase() + t.slice(1)] - o - u - s - 0.5)) || 0), u;
2795
- }
2796
- function Je(e, t, n) {
2797
- var r = Re(e),
2798
- i = (!y.boxSizingReliable() || n) && 'border-box' === S.css(e, 'boxSizing', !1, r),
2799
- o = i,
2800
- a = We(e, t, r),
2801
- s = 'offset' + t[0].toUpperCase() + t.slice(1);
2802
- if (Pe.test(a)) {
2803
- if (!n) return a;
2804
- a = 'auto';
2805
- }
2806
- return (
2807
- ((!y.boxSizingReliable() && i) ||
2808
- (!y.reliableTrDimensions() && A(e, 'tr')) ||
2809
- 'auto' === a ||
2810
- (!parseFloat(a) && 'inline' === S.css(e, 'display', !1, r))) &&
2811
- e.getClientRects().length &&
2812
- ((i = 'border-box' === S.css(e, 'boxSizing', !1, r)), (o = s in e) && (a = e[s])),
2813
- (a = parseFloat(a) || 0) + Qe(e, t, n || (i ? 'border' : 'content'), o, r, a) + 'px'
2814
- );
2815
- }
2816
- function Ke(e, t, n, r, i) {
2817
- return new Ke.prototype.init(e, t, n, r, i);
2818
- }
2819
- S.extend({
2820
- cssHooks: {
2821
- opacity: {
2822
- get: function (e, t) {
2823
- if (t) {
2824
- var n = We(e, 'opacity');
2825
- return '' === n ? '1' : n;
2826
- }
2827
- },
2828
- },
2829
- },
2830
- cssNumber: {
2831
- animationIterationCount: !0,
2832
- columnCount: !0,
2833
- fillOpacity: !0,
2834
- flexGrow: !0,
2835
- flexShrink: !0,
2836
- fontWeight: !0,
2837
- gridArea: !0,
2838
- gridColumn: !0,
2839
- gridColumnEnd: !0,
2840
- gridColumnStart: !0,
2841
- gridRow: !0,
2842
- gridRowEnd: !0,
2843
- gridRowStart: !0,
2844
- lineHeight: !0,
2845
- opacity: !0,
2846
- order: !0,
2847
- orphans: !0,
2848
- widows: !0,
2849
- zIndex: !0,
2850
- zoom: !0,
2851
- },
2852
- cssProps: {},
2853
- style: function (e, t, n, r) {
2854
- if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) {
2855
- var i,
2856
- o,
2857
- a,
2858
- s = X(t),
2859
- u = Xe.test(t),
2860
- l = e.style;
2861
- if ((u || (t = ze(s)), (a = S.cssHooks[t] || S.cssHooks[s]), void 0 === n))
2862
- return a && 'get' in a && void 0 !== (i = a.get(e, !1, r)) ? i : l[t];
2863
- 'string' === (o = typeof n) && (i = te.exec(n)) && i[1] && ((n = se(e, t, i)), (o = 'number')),
2864
- null != n &&
2865
- n == n &&
2866
- ('number' !== o || u || (n += (i && i[3]) || (S.cssNumber[s] ? '' : 'px')),
2867
- y.clearCloneStyle || '' !== n || 0 !== t.indexOf('background') || (l[t] = 'inherit'),
2868
- (a && 'set' in a && void 0 === (n = a.set(e, n, r))) || (u ? l.setProperty(t, n) : (l[t] = n)));
2869
- }
2870
- },
2871
- css: function (e, t, n, r) {
2872
- var i,
2873
- o,
2874
- a,
2875
- s = X(t);
2876
- return (
2877
- Xe.test(t) || (t = ze(s)),
2878
- (a = S.cssHooks[t] || S.cssHooks[s]) && 'get' in a && (i = a.get(e, !0, n)),
2879
- void 0 === i && (i = We(e, t, r)),
2880
- 'normal' === i && t in Ge && (i = Ge[t]),
2881
- '' === n || n ? ((o = parseFloat(i)), !0 === n || isFinite(o) ? o || 0 : i) : i
2882
- );
2883
- },
2884
- }),
2885
- S.each(['height', 'width'], function (e, u) {
2886
- S.cssHooks[u] = {
2887
- get: function (e, t, n) {
2888
- if (t)
2889
- return !Ue.test(S.css(e, 'display')) || (e.getClientRects().length && e.getBoundingClientRect().width)
2890
- ? Je(e, u, n)
2891
- : Me(e, Ve, function () {
2892
- return Je(e, u, n);
2893
- });
2894
- },
2895
- set: function (e, t, n) {
2896
- var r,
2897
- i = Re(e),
2898
- o = !y.scrollboxSize() && 'absolute' === i.position,
2899
- a = (o || n) && 'border-box' === S.css(e, 'boxSizing', !1, i),
2900
- s = n ? Qe(e, u, n, a, i) : 0;
2901
- return (
2902
- a && o && (s -= Math.ceil(e['offset' + u[0].toUpperCase() + u.slice(1)] - parseFloat(i[u]) - Qe(e, u, 'border', !1, i) - 0.5)),
2903
- s && (r = te.exec(t)) && 'px' !== (r[3] || 'px') && ((e.style[u] = t), (t = S.css(e, u))),
2904
- Ye(0, t, s)
2905
- );
2906
- },
2907
- };
2908
- }),
2909
- (S.cssHooks.marginLeft = Fe(y.reliableMarginLeft, function (e, t) {
2910
- if (t)
2911
- return (
2912
- (parseFloat(We(e, 'marginLeft')) ||
2913
- e.getBoundingClientRect().left -
2914
- Me(e, { marginLeft: 0 }, function () {
2915
- return e.getBoundingClientRect().left;
2916
- })) + 'px'
2917
- );
2918
- })),
2919
- S.each({ margin: '', padding: '', border: 'Width' }, function (i, o) {
2920
- (S.cssHooks[i + o] = {
2921
- expand: function (e) {
2922
- for (var t = 0, n = {}, r = 'string' == typeof e ? e.split(' ') : [e]; t < 4; t++) n[i + ne[t] + o] = r[t] || r[t - 2] || r[0];
2923
- return n;
2924
- },
2925
- }),
2926
- 'margin' !== i && (S.cssHooks[i + o].set = Ye);
2927
- }),
2928
- S.fn.extend({
2929
- css: function (e, t) {
2930
- return $(
2931
- this,
2932
- function (e, t, n) {
2933
- var r,
2934
- i,
2935
- o = {},
2936
- a = 0;
2937
- if (Array.isArray(t)) {
2938
- for (r = Re(e), i = t.length; a < i; a++) o[t[a]] = S.css(e, t[a], !1, r);
2939
- return o;
2940
- }
2941
- return void 0 !== n ? S.style(e, t, n) : S.css(e, t);
2942
- },
2943
- e,
2944
- t,
2945
- 1 < arguments.length,
2946
- );
2947
- },
2948
- }),
2949
- (((S.Tween = Ke).prototype = {
2950
- constructor: Ke,
2951
- init: function (e, t, n, r, i, o) {
2952
- (this.elem = e),
2953
- (this.prop = n),
2954
- (this.easing = i || S.easing._default),
2955
- (this.options = t),
2956
- (this.start = this.now = this.cur()),
2957
- (this.end = r),
2958
- (this.unit = o || (S.cssNumber[n] ? '' : 'px'));
2959
- },
2960
- cur: function () {
2961
- var e = Ke.propHooks[this.prop];
2962
- return e && e.get ? e.get(this) : Ke.propHooks._default.get(this);
2963
- },
2964
- run: function (e) {
2965
- var t,
2966
- n = Ke.propHooks[this.prop];
2967
- return (
2968
- this.options.duration
2969
- ? (this.pos = t = S.easing[this.easing](e, this.options.duration * e, 0, 1, this.options.duration))
2970
- : (this.pos = t = e),
2971
- (this.now = (this.end - this.start) * t + this.start),
2972
- this.options.step && this.options.step.call(this.elem, this.now, this),
2973
- n && n.set ? n.set(this) : Ke.propHooks._default.set(this),
2974
- this
2975
- );
2976
- },
2977
- }).init.prototype = Ke.prototype),
2978
- ((Ke.propHooks = {
2979
- _default: {
2980
- get: function (e) {
2981
- var t;
2982
- return 1 !== e.elem.nodeType || (null != e.elem[e.prop] && null == e.elem.style[e.prop])
2983
- ? e.elem[e.prop]
2984
- : (t = S.css(e.elem, e.prop, '')) && 'auto' !== t
2985
- ? t
2986
- : 0;
2987
- },
2988
- set: function (e) {
2989
- S.fx.step[e.prop]
2990
- ? S.fx.step[e.prop](e)
2991
- : 1 !== e.elem.nodeType || (!S.cssHooks[e.prop] && null == e.elem.style[ze(e.prop)])
2992
- ? (e.elem[e.prop] = e.now)
2993
- : S.style(e.elem, e.prop, e.now + e.unit);
2994
- },
2995
- },
2996
- }).scrollTop = Ke.propHooks.scrollLeft =
2997
- {
2998
- set: function (e) {
2999
- e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now);
3000
- },
3001
- }),
3002
- (S.easing = {
3003
- linear: function (e) {
3004
- return e;
3005
- },
3006
- swing: function (e) {
3007
- return 0.5 - Math.cos(e * Math.PI) / 2;
3008
- },
3009
- _default: 'swing',
3010
- }),
3011
- (S.fx = Ke.prototype.init),
3012
- (S.fx.step = {});
3013
- var Ze,
3014
- et,
3015
- tt,
3016
- nt,
3017
- rt = /^(?:toggle|show|hide)$/,
3018
- it = /queueHooks$/;
3019
- function ot() {
3020
- et && (!1 === E.hidden && C.requestAnimationFrame ? C.requestAnimationFrame(ot) : C.setTimeout(ot, S.fx.interval), S.fx.tick());
3021
- }
3022
- function at() {
3023
- return (
3024
- C.setTimeout(function () {
3025
- Ze = void 0;
3026
- }),
3027
- (Ze = Date.now())
3028
- );
3029
- }
3030
- function st(e, t) {
3031
- var n,
3032
- r = 0,
3033
- i = { height: e };
3034
- for (t = t ? 1 : 0; r < 4; r += 2 - t) i['margin' + (n = ne[r])] = i['padding' + n] = e;
3035
- return t && (i.opacity = i.width = e), i;
3036
- }
3037
- function ut(e, t, n) {
3038
- for (var r, i = (lt.tweeners[t] || []).concat(lt.tweeners['*']), o = 0, a = i.length; o < a; o++)
3039
- if ((r = i[o].call(n, t, e))) return r;
3040
- }
3041
- function lt(o, e, t) {
3042
- var n,
3043
- a,
3044
- r = 0,
3045
- i = lt.prefilters.length,
3046
- s = S.Deferred().always(function () {
3047
- delete u.elem;
3048
- }),
3049
- u = function () {
3050
- if (a) return !1;
3051
- for (
3052
- var e = Ze || at(), t = Math.max(0, l.startTime + l.duration - e), n = 1 - (t / l.duration || 0), r = 0, i = l.tweens.length;
3053
- r < i;
3054
- r++
3055
- )
3056
- l.tweens[r].run(n);
3057
- return s.notifyWith(o, [l, n, t]), n < 1 && i ? t : (i || s.notifyWith(o, [l, 1, 0]), s.resolveWith(o, [l]), !1);
3058
- },
3059
- l = s.promise({
3060
- elem: o,
3061
- props: S.extend({}, e),
3062
- opts: S.extend(!0, { specialEasing: {}, easing: S.easing._default }, t),
3063
- originalProperties: e,
3064
- originalOptions: t,
3065
- startTime: Ze || at(),
3066
- duration: t.duration,
3067
- tweens: [],
3068
- createTween: function (e, t) {
3069
- var n = S.Tween(o, l.opts, e, t, l.opts.specialEasing[e] || l.opts.easing);
3070
- return l.tweens.push(n), n;
3071
- },
3072
- stop: function (e) {
3073
- var t = 0,
3074
- n = e ? l.tweens.length : 0;
3075
- if (a) return this;
3076
- for (a = !0; t < n; t++) l.tweens[t].run(1);
3077
- return e ? (s.notifyWith(o, [l, 1, 0]), s.resolveWith(o, [l, e])) : s.rejectWith(o, [l, e]), this;
3078
- },
3079
- }),
3080
- c = l.props;
3081
- for (
3082
- !(function (e, t) {
3083
- var n, r, i, o, a;
3084
- for (n in e)
3085
- if (
3086
- ((i = t[(r = X(n))]),
3087
- (o = e[n]),
3088
- Array.isArray(o) && ((i = o[1]), (o = e[n] = o[0])),
3089
- n !== r && ((e[r] = o), delete e[n]),
3090
- (a = S.cssHooks[r]) && ('expand' in a))
3091
- )
3092
- for (n in ((o = a.expand(o)), delete e[r], o)) (n in e) || ((e[n] = o[n]), (t[n] = i));
3093
- else t[r] = i;
3094
- })(c, l.opts.specialEasing);
3095
- r < i;
3096
- r++
3097
- )
3098
- if ((n = lt.prefilters[r].call(l, o, c, l.opts))) return m(n.stop) && (S._queueHooks(l.elem, l.opts.queue).stop = n.stop.bind(n)), n;
3099
- return (
3100
- S.map(c, ut, l),
3101
- m(l.opts.start) && l.opts.start.call(o, l),
3102
- l.progress(l.opts.progress).done(l.opts.done, l.opts.complete).fail(l.opts.fail).always(l.opts.always),
3103
- S.fx.timer(S.extend(u, { elem: o, anim: l, queue: l.opts.queue })),
3104
- l
3105
- );
3106
- }
3107
- (S.Animation = S.extend(lt, {
3108
- tweeners: {
3109
- '*': [
3110
- function (e, t) {
3111
- var n = this.createTween(e, t);
3112
- return se(n.elem, e, te.exec(t), n), n;
3113
- },
3114
- ],
3115
- },
3116
- tweener: function (e, t) {
3117
- m(e) ? ((t = e), (e = ['*'])) : (e = e.match(P));
3118
- for (var n, r = 0, i = e.length; r < i; r++) (n = e[r]), (lt.tweeners[n] = lt.tweeners[n] || []), lt.tweeners[n].unshift(t);
3119
- },
3120
- prefilters: [
3121
- function (e, t, n) {
3122
- var r,
3123
- i,
3124
- o,
3125
- a,
3126
- s,
3127
- u,
3128
- l,
3129
- c,
3130
- f = 'width' in t || 'height' in t,
3131
- p = this,
3132
- d = {},
3133
- h = e.style,
3134
- g = e.nodeType && ae(e),
3135
- v = Y.get(e, 'fxshow');
3136
- for (r in (n.queue ||
3137
- (null == (a = S._queueHooks(e, 'fx')).unqueued &&
3138
- ((a.unqueued = 0),
3139
- (s = a.empty.fire),
3140
- (a.empty.fire = function () {
3141
- a.unqueued || s();
3142
- })),
3143
- a.unqueued++,
3144
- p.always(function () {
3145
- p.always(function () {
3146
- a.unqueued--, S.queue(e, 'fx').length || a.empty.fire();
3147
- });
3148
- })),
3149
- t))
3150
- if (((i = t[r]), rt.test(i))) {
3151
- if ((delete t[r], (o = o || 'toggle' === i), i === (g ? 'hide' : 'show'))) {
3152
- if ('show' !== i || !v || void 0 === v[r]) continue;
3153
- g = !0;
3154
- }
3155
- d[r] = (v && v[r]) || S.style(e, r);
3156
- }
3157
- if ((u = !S.isEmptyObject(t)) || !S.isEmptyObject(d))
3158
- for (r in (f &&
3159
- 1 === e.nodeType &&
3160
- ((n.overflow = [h.overflow, h.overflowX, h.overflowY]),
3161
- null == (l = v && v.display) && (l = Y.get(e, 'display')),
3162
- 'none' === (c = S.css(e, 'display')) &&
3163
- (l ? (c = l) : (le([e], !0), (l = e.style.display || l), (c = S.css(e, 'display')), le([e]))),
3164
- ('inline' === c || ('inline-block' === c && null != l)) &&
3165
- 'none' === S.css(e, 'float') &&
3166
- (u ||
3167
- (p.done(function () {
3168
- h.display = l;
3169
- }),
3170
- null == l && ((c = h.display), (l = 'none' === c ? '' : c))),
3171
- (h.display = 'inline-block'))),
3172
- n.overflow &&
3173
- ((h.overflow = 'hidden'),
3174
- p.always(function () {
3175
- (h.overflow = n.overflow[0]), (h.overflowX = n.overflow[1]), (h.overflowY = n.overflow[2]);
3176
- })),
3177
- (u = !1),
3178
- d))
3179
- u ||
3180
- (v ? 'hidden' in v && (g = v.hidden) : (v = Y.access(e, 'fxshow', { display: l })),
3181
- o && (v.hidden = !g),
3182
- g && le([e], !0),
3183
- p.done(function () {
3184
- for (r in (g || le([e]), Y.remove(e, 'fxshow'), d)) S.style(e, r, d[r]);
3185
- })),
3186
- (u = ut(g ? v[r] : 0, r, p)),
3187
- r in v || ((v[r] = u.start), g && ((u.end = u.start), (u.start = 0)));
3188
- },
3189
- ],
3190
- prefilter: function (e, t) {
3191
- t ? lt.prefilters.unshift(e) : lt.prefilters.push(e);
3192
- },
3193
- })),
3194
- (S.speed = function (e, t, n) {
3195
- var r =
3196
- e && 'object' == typeof e
3197
- ? S.extend({}, e)
3198
- : { complete: n || (!n && t) || (m(e) && e), duration: e, easing: (n && t) || (t && !m(t) && t) };
3199
- return (
3200
- S.fx.off
3201
- ? (r.duration = 0)
3202
- : 'number' != typeof r.duration &&
3203
- (r.duration in S.fx.speeds ? (r.duration = S.fx.speeds[r.duration]) : (r.duration = S.fx.speeds._default)),
3204
- (null != r.queue && !0 !== r.queue) || (r.queue = 'fx'),
3205
- (r.old = r.complete),
3206
- (r.complete = function () {
3207
- m(r.old) && r.old.call(this), r.queue && S.dequeue(this, r.queue);
3208
- }),
3209
- r
3210
- );
3211
- }),
3212
- S.fn.extend({
3213
- fadeTo: function (e, t, n, r) {
3214
- return this.filter(ae).css('opacity', 0).show().end().animate({ opacity: t }, e, n, r);
3215
- },
3216
- animate: function (t, e, n, r) {
3217
- var i = S.isEmptyObject(t),
3218
- o = S.speed(e, n, r),
3219
- a = function () {
3220
- var e = lt(this, S.extend({}, t), o);
3221
- (i || Y.get(this, 'finish')) && e.stop(!0);
3222
- };
3223
- return (a.finish = a), i || !1 === o.queue ? this.each(a) : this.queue(o.queue, a);
3224
- },
3225
- stop: function (i, e, o) {
3226
- var a = function (e) {
3227
- var t = e.stop;
3228
- delete e.stop, t(o);
3229
- };
3230
- return (
3231
- 'string' != typeof i && ((o = e), (e = i), (i = void 0)),
3232
- e && this.queue(i || 'fx', []),
3233
- this.each(function () {
3234
- var e = !0,
3235
- t = null != i && i + 'queueHooks',
3236
- n = S.timers,
3237
- r = Y.get(this);
3238
- if (t) r[t] && r[t].stop && a(r[t]);
3239
- else for (t in r) r[t] && r[t].stop && it.test(t) && a(r[t]);
3240
- for (t = n.length; t--; )
3241
- n[t].elem !== this || (null != i && n[t].queue !== i) || (n[t].anim.stop(o), (e = !1), n.splice(t, 1));
3242
- (!e && o) || S.dequeue(this, i);
3243
- })
3244
- );
3245
- },
3246
- finish: function (a) {
3247
- return (
3248
- !1 !== a && (a = a || 'fx'),
3249
- this.each(function () {
3250
- var e,
3251
- t = Y.get(this),
3252
- n = t[a + 'queue'],
3253
- r = t[a + 'queueHooks'],
3254
- i = S.timers,
3255
- o = n ? n.length : 0;
3256
- for (t.finish = !0, S.queue(this, a, []), r && r.stop && r.stop.call(this, !0), e = i.length; e--; )
3257
- i[e].elem === this && i[e].queue === a && (i[e].anim.stop(!0), i.splice(e, 1));
3258
- for (e = 0; e < o; e++) n[e] && n[e].finish && n[e].finish.call(this);
3259
- delete t.finish;
3260
- })
3261
- );
3262
- },
3263
- }),
3264
- S.each(['toggle', 'show', 'hide'], function (e, r) {
3265
- var i = S.fn[r];
3266
- S.fn[r] = function (e, t, n) {
3267
- return null == e || 'boolean' == typeof e ? i.apply(this, arguments) : this.animate(st(r, !0), e, t, n);
3268
- };
3269
- }),
3270
- S.each(
3271
- {
3272
- slideDown: st('show'),
3273
- slideUp: st('hide'),
3274
- slideToggle: st('toggle'),
3275
- fadeIn: { opacity: 'show' },
3276
- fadeOut: { opacity: 'hide' },
3277
- fadeToggle: { opacity: 'toggle' },
3278
- },
3279
- function (e, r) {
3280
- S.fn[e] = function (e, t, n) {
3281
- return this.animate(r, e, t, n);
3282
- };
3283
- },
3284
- ),
3285
- (S.timers = []),
3286
- (S.fx.tick = function () {
3287
- var e,
3288
- t = 0,
3289
- n = S.timers;
3290
- for (Ze = Date.now(); t < n.length; t++) (e = n[t])() || n[t] !== e || n.splice(t--, 1);
3291
- n.length || S.fx.stop(), (Ze = void 0);
3292
- }),
3293
- (S.fx.timer = function (e) {
3294
- S.timers.push(e), S.fx.start();
3295
- }),
3296
- (S.fx.interval = 13),
3297
- (S.fx.start = function () {
3298
- et || ((et = !0), ot());
3299
- }),
3300
- (S.fx.stop = function () {
3301
- et = null;
3302
- }),
3303
- (S.fx.speeds = { slow: 600, fast: 200, _default: 400 }),
3304
- (S.fn.delay = function (r, e) {
3305
- return (
3306
- (r = (S.fx && S.fx.speeds[r]) || r),
3307
- (e = e || 'fx'),
3308
- this.queue(e, function (e, t) {
3309
- var n = C.setTimeout(e, r);
3310
- t.stop = function () {
3311
- C.clearTimeout(n);
3312
- };
3313
- })
3314
- );
3315
- }),
3316
- (tt = E.createElement('input')),
3317
- (nt = E.createElement('select').appendChild(E.createElement('option'))),
3318
- (tt.type = 'checkbox'),
3319
- (y.checkOn = '' !== tt.value),
3320
- (y.optSelected = nt.selected),
3321
- ((tt = E.createElement('input')).value = 't'),
3322
- (tt.type = 'radio'),
3323
- (y.radioValue = 't' === tt.value);
3324
- var ct,
3325
- ft = S.expr.attrHandle;
3326
- S.fn.extend({
3327
- attr: function (e, t) {
3328
- return $(this, S.attr, e, t, 1 < arguments.length);
3329
- },
3330
- removeAttr: function (e) {
3331
- return this.each(function () {
3332
- S.removeAttr(this, e);
3333
- });
3334
- },
3335
- }),
3336
- S.extend({
3337
- attr: function (e, t, n) {
3338
- var r,
3339
- i,
3340
- o = e.nodeType;
3341
- if (3 !== o && 8 !== o && 2 !== o)
3342
- return 'undefined' == typeof e.getAttribute
3343
- ? S.prop(e, t, n)
3344
- : ((1 === o && S.isXMLDoc(e)) || (i = S.attrHooks[t.toLowerCase()] || (S.expr.match.bool.test(t) ? ct : void 0)),
3345
- void 0 !== n
3346
- ? null === n
3347
- ? void S.removeAttr(e, t)
3348
- : i && 'set' in i && void 0 !== (r = i.set(e, n, t))
3349
- ? r
3350
- : (e.setAttribute(t, n + ''), n)
3351
- : i && 'get' in i && null !== (r = i.get(e, t))
3352
- ? r
3353
- : null == (r = S.find.attr(e, t))
3354
- ? void 0
3355
- : r);
3356
- },
3357
- attrHooks: {
3358
- type: {
3359
- set: function (e, t) {
3360
- if (!y.radioValue && 'radio' === t && A(e, 'input')) {
3361
- var n = e.value;
3362
- return e.setAttribute('type', t), n && (e.value = n), t;
3363
- }
3364
- },
3365
- },
3366
- },
3367
- removeAttr: function (e, t) {
3368
- var n,
3369
- r = 0,
3370
- i = t && t.match(P);
3371
- if (i && 1 === e.nodeType) while ((n = i[r++])) e.removeAttribute(n);
3372
- },
3373
- }),
3374
- (ct = {
3375
- set: function (e, t, n) {
3376
- return !1 === t ? S.removeAttr(e, n) : e.setAttribute(n, n), n;
3377
- },
3378
- }),
3379
- S.each(S.expr.match.bool.source.match(/\w+/g), function (e, t) {
3380
- var a = ft[t] || S.find.attr;
3381
- ft[t] = function (e, t, n) {
3382
- var r,
3383
- i,
3384
- o = t.toLowerCase();
3385
- return n || ((i = ft[o]), (ft[o] = r), (r = null != a(e, t, n) ? o : null), (ft[o] = i)), r;
3386
- };
3387
- });
3388
- var pt = /^(?:input|select|textarea|button)$/i,
3389
- dt = /^(?:a|area)$/i;
3390
- function ht(e) {
3391
- return (e.match(P) || []).join(' ');
3392
- }
3393
- function gt(e) {
3394
- return (e.getAttribute && e.getAttribute('class')) || '';
3395
- }
3396
- function vt(e) {
3397
- return Array.isArray(e) ? e : ('string' == typeof e && e.match(P)) || [];
3398
- }
3399
- S.fn.extend({
3400
- prop: function (e, t) {
3401
- return $(this, S.prop, e, t, 1 < arguments.length);
3402
- },
3403
- removeProp: function (e) {
3404
- return this.each(function () {
3405
- delete this[S.propFix[e] || e];
3406
- });
3407
- },
3408
- }),
3409
- S.extend({
3410
- prop: function (e, t, n) {
3411
- var r,
3412
- i,
3413
- o = e.nodeType;
3414
- if (3 !== o && 8 !== o && 2 !== o)
3415
- return (
3416
- (1 === o && S.isXMLDoc(e)) || ((t = S.propFix[t] || t), (i = S.propHooks[t])),
3417
- void 0 !== n
3418
- ? i && 'set' in i && void 0 !== (r = i.set(e, n, t))
3419
- ? r
3420
- : (e[t] = n)
3421
- : i && 'get' in i && null !== (r = i.get(e, t))
3422
- ? r
3423
- : e[t]
3424
- );
3425
- },
3426
- propHooks: {
3427
- tabIndex: {
3428
- get: function (e) {
3429
- var t = S.find.attr(e, 'tabindex');
3430
- return t ? parseInt(t, 10) : pt.test(e.nodeName) || (dt.test(e.nodeName) && e.href) ? 0 : -1;
3431
- },
3432
- },
3433
- },
3434
- propFix: { for: 'htmlFor', class: 'className' },
3435
- }),
3436
- y.optSelected ||
3437
- (S.propHooks.selected = {
3438
- get: function (e) {
3439
- var t = e.parentNode;
3440
- return t && t.parentNode && t.parentNode.selectedIndex, null;
3441
- },
3442
- set: function (e) {
3443
- var t = e.parentNode;
3444
- t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex);
3445
- },
3446
- }),
3447
- S.each(
3448
- ['tabIndex', 'readOnly', 'maxLength', 'cellSpacing', 'cellPadding', 'rowSpan', 'colSpan', 'useMap', 'frameBorder', 'contentEditable'],
3449
- function () {
3450
- S.propFix[this.toLowerCase()] = this;
3451
- },
3452
- ),
3453
- S.fn.extend({
3454
- addClass: function (t) {
3455
- var e,
3456
- n,
3457
- r,
3458
- i,
3459
- o,
3460
- a,
3461
- s,
3462
- u = 0;
3463
- if (m(t))
3464
- return this.each(function (e) {
3465
- S(this).addClass(t.call(this, e, gt(this)));
3466
- });
3467
- if ((e = vt(t)).length)
3468
- while ((n = this[u++]))
3469
- if (((i = gt(n)), (r = 1 === n.nodeType && ' ' + ht(i) + ' '))) {
3470
- a = 0;
3471
- while ((o = e[a++])) r.indexOf(' ' + o + ' ') < 0 && (r += o + ' ');
3472
- i !== (s = ht(r)) && n.setAttribute('class', s);
3473
- }
3474
- return this;
3475
- },
3476
- removeClass: function (t) {
3477
- var e,
3478
- n,
3479
- r,
3480
- i,
3481
- o,
3482
- a,
3483
- s,
3484
- u = 0;
3485
- if (m(t))
3486
- return this.each(function (e) {
3487
- S(this).removeClass(t.call(this, e, gt(this)));
3488
- });
3489
- if (!arguments.length) return this.attr('class', '');
3490
- if ((e = vt(t)).length)
3491
- while ((n = this[u++]))
3492
- if (((i = gt(n)), (r = 1 === n.nodeType && ' ' + ht(i) + ' '))) {
3493
- a = 0;
3494
- while ((o = e[a++])) while (-1 < r.indexOf(' ' + o + ' ')) r = r.replace(' ' + o + ' ', ' ');
3495
- i !== (s = ht(r)) && n.setAttribute('class', s);
3496
- }
3497
- return this;
3498
- },
3499
- toggleClass: function (i, t) {
3500
- var o = typeof i,
3501
- a = 'string' === o || Array.isArray(i);
3502
- return 'boolean' == typeof t && a
3503
- ? t
3504
- ? this.addClass(i)
3505
- : this.removeClass(i)
3506
- : m(i)
3507
- ? this.each(function (e) {
3508
- S(this).toggleClass(i.call(this, e, gt(this), t), t);
3509
- })
3510
- : this.each(function () {
3511
- var e, t, n, r;
3512
- if (a) {
3513
- (t = 0), (n = S(this)), (r = vt(i));
3514
- while ((e = r[t++])) n.hasClass(e) ? n.removeClass(e) : n.addClass(e);
3515
- } else (void 0 !== i && 'boolean' !== o) || ((e = gt(this)) && Y.set(this, '__className__', e), this.setAttribute && this.setAttribute('class', e || !1 === i ? '' : Y.get(this, '__className__') || ''));
3516
- });
3517
- },
3518
- hasClass: function (e) {
3519
- var t,
3520
- n,
3521
- r = 0;
3522
- t = ' ' + e + ' ';
3523
- while ((n = this[r++])) if (1 === n.nodeType && -1 < (' ' + ht(gt(n)) + ' ').indexOf(t)) return !0;
3524
- return !1;
3525
- },
3526
- });
3527
- var yt = /\r/g;
3528
- S.fn.extend({
3529
- val: function (n) {
3530
- var r,
3531
- e,
3532
- i,
3533
- t = this[0];
3534
- return arguments.length
3535
- ? ((i = m(n)),
3536
- this.each(function (e) {
3537
- var t;
3538
- 1 === this.nodeType &&
3539
- (null == (t = i ? n.call(this, e, S(this).val()) : n)
3540
- ? (t = '')
3541
- : 'number' == typeof t
3542
- ? (t += '')
3543
- : Array.isArray(t) &&
3544
- (t = S.map(t, function (e) {
3545
- return null == e ? '' : e + '';
3546
- })),
3547
- ((r = S.valHooks[this.type] || S.valHooks[this.nodeName.toLowerCase()]) &&
3548
- 'set' in r &&
3549
- void 0 !== r.set(this, t, 'value')) ||
3550
- (this.value = t));
3551
- }))
3552
- : t
3553
- ? (r = S.valHooks[t.type] || S.valHooks[t.nodeName.toLowerCase()]) && 'get' in r && void 0 !== (e = r.get(t, 'value'))
3554
- ? e
3555
- : 'string' == typeof (e = t.value)
3556
- ? e.replace(yt, '')
3557
- : null == e
3558
- ? ''
3559
- : e
3560
- : void 0;
3561
- },
3562
- }),
3563
- S.extend({
3564
- valHooks: {
3565
- option: {
3566
- get: function (e) {
3567
- var t = S.find.attr(e, 'value');
3568
- return null != t ? t : ht(S.text(e));
3569
- },
3570
- },
3571
- select: {
3572
- get: function (e) {
3573
- var t,
3574
- n,
3575
- r,
3576
- i = e.options,
3577
- o = e.selectedIndex,
3578
- a = 'select-one' === e.type,
3579
- s = a ? null : [],
3580
- u = a ? o + 1 : i.length;
3581
- for (r = o < 0 ? u : a ? o : 0; r < u; r++)
3582
- if (((n = i[r]).selected || r === o) && !n.disabled && (!n.parentNode.disabled || !A(n.parentNode, 'optgroup'))) {
3583
- if (((t = S(n).val()), a)) return t;
3584
- s.push(t);
3585
- }
3586
- return s;
3587
- },
3588
- set: function (e, t) {
3589
- var n,
3590
- r,
3591
- i = e.options,
3592
- o = S.makeArray(t),
3593
- a = i.length;
3594
- while (a--) ((r = i[a]).selected = -1 < S.inArray(S.valHooks.option.get(r), o)) && (n = !0);
3595
- return n || (e.selectedIndex = -1), o;
3596
- },
3597
- },
3598
- },
3599
- }),
3600
- S.each(['radio', 'checkbox'], function () {
3601
- (S.valHooks[this] = {
3602
- set: function (e, t) {
3603
- if (Array.isArray(t)) return (e.checked = -1 < S.inArray(S(e).val(), t));
3604
- },
3605
- }),
3606
- y.checkOn ||
3607
- (S.valHooks[this].get = function (e) {
3608
- return null === e.getAttribute('value') ? 'on' : e.value;
3609
- });
3610
- }),
3611
- (y.focusin = 'onfocusin' in C);
3612
- var mt = /^(?:focusinfocus|focusoutblur)$/,
3613
- xt = function (e) {
3614
- e.stopPropagation();
3615
- };
3616
- S.extend(S.event, {
3617
- trigger: function (e, t, n, r) {
3618
- var i,
3619
- o,
3620
- a,
3621
- s,
3622
- u,
3623
- l,
3624
- c,
3625
- f,
3626
- p = [n || E],
3627
- d = v.call(e, 'type') ? e.type : e,
3628
- h = v.call(e, 'namespace') ? e.namespace.split('.') : [];
3629
- if (
3630
- ((o = f = a = n = n || E),
3631
- 3 !== n.nodeType &&
3632
- 8 !== n.nodeType &&
3633
- !mt.test(d + S.event.triggered) &&
3634
- (-1 < d.indexOf('.') && ((d = (h = d.split('.')).shift()), h.sort()),
3635
- (u = d.indexOf(':') < 0 && 'on' + d),
3636
- ((e = e[S.expando] ? e : new S.Event(d, 'object' == typeof e && e)).isTrigger = r ? 2 : 3),
3637
- (e.namespace = h.join('.')),
3638
- (e.rnamespace = e.namespace ? new RegExp('(^|\\.)' + h.join('\\.(?:.*\\.|)') + '(\\.|$)') : null),
3639
- (e.result = void 0),
3640
- e.target || (e.target = n),
3641
- (t = null == t ? [e] : S.makeArray(t, [e])),
3642
- (c = S.event.special[d] || {}),
3643
- r || !c.trigger || !1 !== c.trigger.apply(n, t)))
3644
- ) {
3645
- if (!r && !c.noBubble && !x(n)) {
3646
- for (s = c.delegateType || d, mt.test(s + d) || (o = o.parentNode); o; o = o.parentNode) p.push(o), (a = o);
3647
- a === (n.ownerDocument || E) && p.push(a.defaultView || a.parentWindow || C);
3648
- }
3649
- i = 0;
3650
- while ((o = p[i++]) && !e.isPropagationStopped())
3651
- (f = o),
3652
- (e.type = 1 < i ? s : c.bindType || d),
3653
- (l = (Y.get(o, 'events') || Object.create(null))[e.type] && Y.get(o, 'handle')) && l.apply(o, t),
3654
- (l = u && o[u]) && l.apply && V(o) && ((e.result = l.apply(o, t)), !1 === e.result && e.preventDefault());
3655
- return (
3656
- (e.type = d),
3657
- r ||
3658
- e.isDefaultPrevented() ||
3659
- (c._default && !1 !== c._default.apply(p.pop(), t)) ||
3660
- !V(n) ||
3661
- (u &&
3662
- m(n[d]) &&
3663
- !x(n) &&
3664
- ((a = n[u]) && (n[u] = null),
3665
- (S.event.triggered = d),
3666
- e.isPropagationStopped() && f.addEventListener(d, xt),
3667
- n[d](),
3668
- e.isPropagationStopped() && f.removeEventListener(d, xt),
3669
- (S.event.triggered = void 0),
3670
- a && (n[u] = a))),
3671
- e.result
3672
- );
3673
- }
3674
- },
3675
- simulate: function (e, t, n) {
3676
- var r = S.extend(new S.Event(), n, { type: e, isSimulated: !0 });
3677
- S.event.trigger(r, null, t);
3678
- },
3679
- }),
3680
- S.fn.extend({
3681
- trigger: function (e, t) {
3682
- return this.each(function () {
3683
- S.event.trigger(e, t, this);
3684
- });
3685
- },
3686
- triggerHandler: function (e, t) {
3687
- var n = this[0];
3688
- if (n) return S.event.trigger(e, t, n, !0);
3689
- },
3690
- }),
3691
- y.focusin ||
3692
- S.each({ focus: 'focusin', blur: 'focusout' }, function (n, r) {
3693
- var i = function (e) {
3694
- S.event.simulate(r, e.target, S.event.fix(e));
3695
- };
3696
- S.event.special[r] = {
3697
- setup: function () {
3698
- var e = this.ownerDocument || this.document || this,
3699
- t = Y.access(e, r);
3700
- t || e.addEventListener(n, i, !0), Y.access(e, r, (t || 0) + 1);
3701
- },
3702
- teardown: function () {
3703
- var e = this.ownerDocument || this.document || this,
3704
- t = Y.access(e, r) - 1;
3705
- t ? Y.access(e, r, t) : (e.removeEventListener(n, i, !0), Y.remove(e, r));
3706
- },
3707
- };
3708
- });
3709
- var bt = C.location,
3710
- wt = { guid: Date.now() },
3711
- Tt = /\?/;
3712
- S.parseXML = function (e) {
3713
- var t, n;
3714
- if (!e || 'string' != typeof e) return null;
3715
- try {
3716
- t = new C.DOMParser().parseFromString(e, 'text/xml');
3717
- } catch (e) {}
3718
- return (
3719
- (n = t && t.getElementsByTagName('parsererror')[0]),
3720
- (t && !n) ||
3721
- S.error(
3722
- 'Invalid XML: ' +
3723
- (n
3724
- ? S.map(n.childNodes, function (e) {
3725
- return e.textContent;
3726
- }).join('\n')
3727
- : e),
3728
- ),
3729
- t
3730
- );
3731
- };
3732
- var Ct = /\[\]$/,
3733
- Et = /\r?\n/g,
3734
- St = /^(?:submit|button|image|reset|file)$/i,
3735
- kt = /^(?:input|select|textarea|keygen)/i;
3736
- function At(n, e, r, i) {
3737
- var t;
3738
- if (Array.isArray(e))
3739
- S.each(e, function (e, t) {
3740
- r || Ct.test(n) ? i(n, t) : At(n + '[' + ('object' == typeof t && null != t ? e : '') + ']', t, r, i);
3741
- });
3742
- else if (r || 'object' !== w(e)) i(n, e);
3743
- else for (t in e) At(n + '[' + t + ']', e[t], r, i);
3744
- }
3745
- (S.param = function (e, t) {
3746
- var n,
3747
- r = [],
3748
- i = function (e, t) {
3749
- var n = m(t) ? t() : t;
3750
- r[r.length] = encodeURIComponent(e) + '=' + encodeURIComponent(null == n ? '' : n);
3751
- };
3752
- if (null == e) return '';
3753
- if (Array.isArray(e) || (e.jquery && !S.isPlainObject(e)))
3754
- S.each(e, function () {
3755
- i(this.name, this.value);
3756
- });
3757
- else for (n in e) At(n, e[n], t, i);
3758
- return r.join('&');
3759
- }),
3760
- S.fn.extend({
3761
- serialize: function () {
3762
- return S.param(this.serializeArray());
3763
- },
3764
- serializeArray: function () {
3765
- return this.map(function () {
3766
- var e = S.prop(this, 'elements');
3767
- return e ? S.makeArray(e) : this;
3768
- })
3769
- .filter(function () {
3770
- var e = this.type;
3771
- return this.name && !S(this).is(':disabled') && kt.test(this.nodeName) && !St.test(e) && (this.checked || !pe.test(e));
3772
- })
3773
- .map(function (e, t) {
3774
- var n = S(this).val();
3775
- return null == n
3776
- ? null
3777
- : Array.isArray(n)
3778
- ? S.map(n, function (e) {
3779
- return { name: t.name, value: e.replace(Et, '\r\n') };
3780
- })
3781
- : { name: t.name, value: n.replace(Et, '\r\n') };
3782
- })
3783
- .get();
3784
- },
3785
- });
3786
- var Nt = /%20/g,
3787
- jt = /#.*$/,
3788
- Dt = /([?&])_=[^&]*/,
3789
- qt = /^(.*?):[ \t]*([^\r\n]*)$/gm,
3790
- Lt = /^(?:GET|HEAD)$/,
3791
- Ht = /^\/\//,
3792
- Ot = {},
3793
- Pt = {},
3794
- Rt = '*/'.concat('*'),
3795
- Mt = E.createElement('a');
3796
- function It(o) {
3797
- return function (e, t) {
3798
- 'string' != typeof e && ((t = e), (e = '*'));
3799
- var n,
3800
- r = 0,
3801
- i = e.toLowerCase().match(P) || [];
3802
- if (m(t)) while ((n = i[r++])) '+' === n[0] ? ((n = n.slice(1) || '*'), (o[n] = o[n] || []).unshift(t)) : (o[n] = o[n] || []).push(t);
3803
- };
3804
- }
3805
- function Wt(t, i, o, a) {
3806
- var s = {},
3807
- u = t === Pt;
3808
- function l(e) {
3809
- var r;
3810
- return (
3811
- (s[e] = !0),
3812
- S.each(t[e] || [], function (e, t) {
3813
- var n = t(i, o, a);
3814
- return 'string' != typeof n || u || s[n] ? (u ? !(r = n) : void 0) : (i.dataTypes.unshift(n), l(n), !1);
3815
- }),
3816
- r
3817
- );
3818
- }
3819
- return l(i.dataTypes[0]) || (!s['*'] && l('*'));
3820
- }
3821
- function Ft(e, t) {
3822
- var n,
3823
- r,
3824
- i = S.ajaxSettings.flatOptions || {};
3825
- for (n in t) void 0 !== t[n] && ((i[n] ? e : r || (r = {}))[n] = t[n]);
3826
- return r && S.extend(!0, e, r), e;
3827
- }
3828
- (Mt.href = bt.href),
3829
- S.extend({
3830
- active: 0,
3831
- lastModified: {},
3832
- etag: {},
3833
- ajaxSettings: {
3834
- url: bt.href,
3835
- type: 'GET',
3836
- isLocal: /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(bt.protocol),
3837
- global: !0,
3838
- processData: !0,
3839
- async: !0,
3840
- contentType: 'application/x-www-form-urlencoded; charset=UTF-8',
3841
- accepts: {
3842
- '*': Rt,
3843
- text: 'text/plain',
3844
- html: 'text/html',
3845
- xml: 'application/xml, text/xml',
3846
- json: 'application/json, text/javascript',
3847
- },
3848
- contents: { xml: /\bxml\b/, html: /\bhtml/, json: /\bjson\b/ },
3849
- responseFields: { xml: 'responseXML', text: 'responseText', json: 'responseJSON' },
3850
- converters: { '* text': String, 'text html': !0, 'text json': JSON.parse, 'text xml': S.parseXML },
3851
- flatOptions: { url: !0, context: !0 },
3852
- },
3853
- ajaxSetup: function (e, t) {
3854
- return t ? Ft(Ft(e, S.ajaxSettings), t) : Ft(S.ajaxSettings, e);
3855
- },
3856
- ajaxPrefilter: It(Ot),
3857
- ajaxTransport: It(Pt),
3858
- ajax: function (e, t) {
3859
- 'object' == typeof e && ((t = e), (e = void 0)), (t = t || {});
3860
- var c,
3861
- f,
3862
- p,
3863
- n,
3864
- d,
3865
- r,
3866
- h,
3867
- g,
3868
- i,
3869
- o,
3870
- v = S.ajaxSetup({}, t),
3871
- y = v.context || v,
3872
- m = v.context && (y.nodeType || y.jquery) ? S(y) : S.event,
3873
- x = S.Deferred(),
3874
- b = S.Callbacks('once memory'),
3875
- w = v.statusCode || {},
3876
- a = {},
3877
- s = {},
3878
- u = 'canceled',
3879
- T = {
3880
- readyState: 0,
3881
- getResponseHeader: function (e) {
3882
- var t;
3883
- if (h) {
3884
- if (!n) {
3885
- n = {};
3886
- while ((t = qt.exec(p))) n[t[1].toLowerCase() + ' '] = (n[t[1].toLowerCase() + ' '] || []).concat(t[2]);
3887
- }
3888
- t = n[e.toLowerCase() + ' '];
3889
- }
3890
- return null == t ? null : t.join(', ');
3891
- },
3892
- getAllResponseHeaders: function () {
3893
- return h ? p : null;
3894
- },
3895
- setRequestHeader: function (e, t) {
3896
- return null == h && ((e = s[e.toLowerCase()] = s[e.toLowerCase()] || e), (a[e] = t)), this;
3897
- },
3898
- overrideMimeType: function (e) {
3899
- return null == h && (v.mimeType = e), this;
3900
- },
3901
- statusCode: function (e) {
3902
- var t;
3903
- if (e)
3904
- if (h) T.always(e[T.status]);
3905
- else for (t in e) w[t] = [w[t], e[t]];
3906
- return this;
3907
- },
3908
- abort: function (e) {
3909
- var t = e || u;
3910
- return c && c.abort(t), l(0, t), this;
3911
- },
3912
- };
3913
- if (
3914
- (x.promise(T),
3915
- (v.url = ((e || v.url || bt.href) + '').replace(Ht, bt.protocol + '//')),
3916
- (v.type = t.method || t.type || v.method || v.type),
3917
- (v.dataTypes = (v.dataType || '*').toLowerCase().match(P) || ['']),
3918
- null == v.crossDomain)
3919
- ) {
3920
- r = E.createElement('a');
3921
- try {
3922
- (r.href = v.url), (r.href = r.href), (v.crossDomain = Mt.protocol + '//' + Mt.host != r.protocol + '//' + r.host);
3923
- } catch (e) {
3924
- v.crossDomain = !0;
3925
- }
3926
- }
3927
- if ((v.data && v.processData && 'string' != typeof v.data && (v.data = S.param(v.data, v.traditional)), Wt(Ot, v, t, T), h))
3928
- return T;
3929
- for (i in ((g = S.event && v.global) && 0 == S.active++ && S.event.trigger('ajaxStart'),
3930
- (v.type = v.type.toUpperCase()),
3931
- (v.hasContent = !Lt.test(v.type)),
3932
- (f = v.url.replace(jt, '')),
3933
- v.hasContent
3934
- ? v.data &&
3935
- v.processData &&
3936
- 0 === (v.contentType || '').indexOf('application/x-www-form-urlencoded') &&
3937
- (v.data = v.data.replace(Nt, '+'))
3938
- : ((o = v.url.slice(f.length)),
3939
- v.data && (v.processData || 'string' == typeof v.data) && ((f += (Tt.test(f) ? '&' : '?') + v.data), delete v.data),
3940
- !1 === v.cache && ((f = f.replace(Dt, '$1')), (o = (Tt.test(f) ? '&' : '?') + '_=' + wt.guid++ + o)),
3941
- (v.url = f + o)),
3942
- v.ifModified &&
3943
- (S.lastModified[f] && T.setRequestHeader('If-Modified-Since', S.lastModified[f]),
3944
- S.etag[f] && T.setRequestHeader('If-None-Match', S.etag[f])),
3945
- ((v.data && v.hasContent && !1 !== v.contentType) || t.contentType) && T.setRequestHeader('Content-Type', v.contentType),
3946
- T.setRequestHeader(
3947
- 'Accept',
3948
- v.dataTypes[0] && v.accepts[v.dataTypes[0]]
3949
- ? v.accepts[v.dataTypes[0]] + ('*' !== v.dataTypes[0] ? ', ' + Rt + '; q=0.01' : '')
3950
- : v.accepts['*'],
3951
- ),
3952
- v.headers))
3953
- T.setRequestHeader(i, v.headers[i]);
3954
- if (v.beforeSend && (!1 === v.beforeSend.call(y, T, v) || h)) return T.abort();
3955
- if (((u = 'abort'), b.add(v.complete), T.done(v.success), T.fail(v.error), (c = Wt(Pt, v, t, T)))) {
3956
- if (((T.readyState = 1), g && m.trigger('ajaxSend', [T, v]), h)) return T;
3957
- v.async &&
3958
- 0 < v.timeout &&
3959
- (d = C.setTimeout(function () {
3960
- T.abort('timeout');
3961
- }, v.timeout));
3962
- try {
3963
- (h = !1), c.send(a, l);
3964
- } catch (e) {
3965
- if (h) throw e;
3966
- l(-1, e);
3967
- }
3968
- } else l(-1, 'No Transport');
3969
- function l(e, t, n, r) {
3970
- var i,
3971
- o,
3972
- a,
3973
- s,
3974
- u,
3975
- l = t;
3976
- h ||
3977
- ((h = !0),
3978
- d && C.clearTimeout(d),
3979
- (c = void 0),
3980
- (p = r || ''),
3981
- (T.readyState = 0 < e ? 4 : 0),
3982
- (i = (200 <= e && e < 300) || 304 === e),
3983
- n &&
3984
- (s = (function (e, t, n) {
3985
- var r,
3986
- i,
3987
- o,
3988
- a,
3989
- s = e.contents,
3990
- u = e.dataTypes;
3991
- while ('*' === u[0]) u.shift(), void 0 === r && (r = e.mimeType || t.getResponseHeader('Content-Type'));
3992
- if (r)
3993
- for (i in s)
3994
- if (s[i] && s[i].test(r)) {
3995
- u.unshift(i);
3996
- break;
3997
- }
3998
- if (u[0] in n) o = u[0];
3999
- else {
4000
- for (i in n) {
4001
- if (!u[0] || e.converters[i + ' ' + u[0]]) {
4002
- o = i;
4003
- break;
4004
- }
4005
- a || (a = i);
4006
- }
4007
- o = o || a;
4008
- }
4009
- if (o) return o !== u[0] && u.unshift(o), n[o];
4010
- })(v, T, n)),
4011
- !i &&
4012
- -1 < S.inArray('script', v.dataTypes) &&
4013
- S.inArray('json', v.dataTypes) < 0 &&
4014
- (v.converters['text script'] = function () {}),
4015
- (s = (function (e, t, n, r) {
4016
- var i,
4017
- o,
4018
- a,
4019
- s,
4020
- u,
4021
- l = {},
4022
- c = e.dataTypes.slice();
4023
- if (c[1]) for (a in e.converters) l[a.toLowerCase()] = e.converters[a];
4024
- o = c.shift();
4025
- while (o)
4026
- if (
4027
- (e.responseFields[o] && (n[e.responseFields[o]] = t),
4028
- !u && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)),
4029
- (u = o),
4030
- (o = c.shift()))
4031
- )
4032
- if ('*' === o) o = u;
4033
- else if ('*' !== u && u !== o) {
4034
- if (!(a = l[u + ' ' + o] || l['* ' + o]))
4035
- for (i in l)
4036
- if ((s = i.split(' '))[1] === o && (a = l[u + ' ' + s[0]] || l['* ' + s[0]])) {
4037
- !0 === a ? (a = l[i]) : !0 !== l[i] && ((o = s[0]), c.unshift(s[1]));
4038
- break;
4039
- }
4040
- if (!0 !== a)
4041
- if (a && e['throws']) t = a(t);
4042
- else
4043
- try {
4044
- t = a(t);
4045
- } catch (e) {
4046
- return { state: 'parsererror', error: a ? e : 'No conversion from ' + u + ' to ' + o };
4047
- }
4048
- }
4049
- return { state: 'success', data: t };
4050
- })(v, s, T, i)),
4051
- i
4052
- ? (v.ifModified &&
4053
- ((u = T.getResponseHeader('Last-Modified')) && (S.lastModified[f] = u),
4054
- (u = T.getResponseHeader('etag')) && (S.etag[f] = u)),
4055
- 204 === e || 'HEAD' === v.type
4056
- ? (l = 'nocontent')
4057
- : 304 === e
4058
- ? (l = 'notmodified')
4059
- : ((l = s.state), (o = s.data), (i = !(a = s.error))))
4060
- : ((a = l), (!e && l) || ((l = 'error'), e < 0 && (e = 0))),
4061
- (T.status = e),
4062
- (T.statusText = (t || l) + ''),
4063
- i ? x.resolveWith(y, [o, l, T]) : x.rejectWith(y, [T, l, a]),
4064
- T.statusCode(w),
4065
- (w = void 0),
4066
- g && m.trigger(i ? 'ajaxSuccess' : 'ajaxError', [T, v, i ? o : a]),
4067
- b.fireWith(y, [T, l]),
4068
- g && (m.trigger('ajaxComplete', [T, v]), --S.active || S.event.trigger('ajaxStop')));
4069
- }
4070
- return T;
4071
- },
4072
- getJSON: function (e, t, n) {
4073
- return S.get(e, t, n, 'json');
4074
- },
4075
- getScript: function (e, t) {
4076
- return S.get(e, void 0, t, 'script');
4077
- },
4078
- }),
4079
- S.each(['get', 'post'], function (e, i) {
4080
- S[i] = function (e, t, n, r) {
4081
- return (
4082
- m(t) && ((r = r || n), (n = t), (t = void 0)),
4083
- S.ajax(S.extend({ url: e, type: i, dataType: r, data: t, success: n }, S.isPlainObject(e) && e))
4084
- );
4085
- };
4086
- }),
4087
- S.ajaxPrefilter(function (e) {
4088
- var t;
4089
- for (t in e.headers) 'content-type' === t.toLowerCase() && (e.contentType = e.headers[t] || '');
4090
- }),
4091
- (S._evalUrl = function (e, t, n) {
4092
- return S.ajax({
4093
- url: e,
4094
- type: 'GET',
4095
- dataType: 'script',
4096
- cache: !0,
4097
- async: !1,
4098
- global: !1,
4099
- converters: { 'text script': function () {} },
4100
- dataFilter: function (e) {
4101
- S.globalEval(e, t, n);
4102
- },
4103
- });
4104
- }),
4105
- S.fn.extend({
4106
- wrapAll: function (e) {
4107
- var t;
4108
- return (
4109
- this[0] &&
4110
- (m(e) && (e = e.call(this[0])),
4111
- (t = S(e, this[0].ownerDocument).eq(0).clone(!0)),
4112
- this[0].parentNode && t.insertBefore(this[0]),
4113
- t
4114
- .map(function () {
4115
- var e = this;
4116
- while (e.firstElementChild) e = e.firstElementChild;
4117
- return e;
4118
- })
4119
- .append(this)),
4120
- this
4121
- );
4122
- },
4123
- wrapInner: function (n) {
4124
- return m(n)
4125
- ? this.each(function (e) {
4126
- S(this).wrapInner(n.call(this, e));
4127
- })
4128
- : this.each(function () {
4129
- var e = S(this),
4130
- t = e.contents();
4131
- t.length ? t.wrapAll(n) : e.append(n);
4132
- });
4133
- },
4134
- wrap: function (t) {
4135
- var n = m(t);
4136
- return this.each(function (e) {
4137
- S(this).wrapAll(n ? t.call(this, e) : t);
4138
- });
4139
- },
4140
- unwrap: function (e) {
4141
- return (
4142
- this.parent(e)
4143
- .not('body')
4144
- .each(function () {
4145
- S(this).replaceWith(this.childNodes);
4146
- }),
4147
- this
4148
- );
4149
- },
4150
- }),
4151
- (S.expr.pseudos.hidden = function (e) {
4152
- return !S.expr.pseudos.visible(e);
4153
- }),
4154
- (S.expr.pseudos.visible = function (e) {
4155
- return !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length);
4156
- }),
4157
- (S.ajaxSettings.xhr = function () {
4158
- try {
4159
- return new C.XMLHttpRequest();
4160
- } catch (e) {}
4161
- });
4162
- var Bt = { 0: 200, 1223: 204 },
4163
- $t = S.ajaxSettings.xhr();
4164
- (y.cors = !!$t && 'withCredentials' in $t),
4165
- (y.ajax = $t = !!$t),
4166
- S.ajaxTransport(function (i) {
4167
- var o, a;
4168
- if (y.cors || ($t && !i.crossDomain))
4169
- return {
4170
- send: function (e, t) {
4171
- var n,
4172
- r = i.xhr();
4173
- if ((r.open(i.type, i.url, i.async, i.username, i.password), i.xhrFields)) for (n in i.xhrFields) r[n] = i.xhrFields[n];
4174
- for (n in (i.mimeType && r.overrideMimeType && r.overrideMimeType(i.mimeType),
4175
- i.crossDomain || e['X-Requested-With'] || (e['X-Requested-With'] = 'XMLHttpRequest'),
4176
- e))
4177
- r.setRequestHeader(n, e[n]);
4178
- (o = function (e) {
4179
- return function () {
4180
- o &&
4181
- ((o = a = r.onload = r.onerror = r.onabort = r.ontimeout = r.onreadystatechange = null),
4182
- 'abort' === e
4183
- ? r.abort()
4184
- : 'error' === e
4185
- ? 'number' != typeof r.status
4186
- ? t(0, 'error')
4187
- : t(r.status, r.statusText)
4188
- : t(
4189
- Bt[r.status] || r.status,
4190
- r.statusText,
4191
- 'text' !== (r.responseType || 'text') || 'string' != typeof r.responseText
4192
- ? { binary: r.response }
4193
- : { text: r.responseText },
4194
- r.getAllResponseHeaders(),
4195
- ));
4196
- };
4197
- }),
4198
- (r.onload = o()),
4199
- (a = r.onerror = r.ontimeout = o('error')),
4200
- void 0 !== r.onabort
4201
- ? (r.onabort = a)
4202
- : (r.onreadystatechange = function () {
4203
- 4 === r.readyState &&
4204
- C.setTimeout(function () {
4205
- o && a();
4206
- });
4207
- }),
4208
- (o = o('abort'));
4209
- try {
4210
- r.send((i.hasContent && i.data) || null);
4211
- } catch (e) {
4212
- if (o) throw e;
4213
- }
4214
- },
4215
- abort: function () {
4216
- o && o();
4217
- },
4218
- };
4219
- }),
4220
- S.ajaxPrefilter(function (e) {
4221
- e.crossDomain && (e.contents.script = !1);
4222
- }),
4223
- S.ajaxSetup({
4224
- accepts: { script: 'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript' },
4225
- contents: { script: /\b(?:java|ecma)script\b/ },
4226
- converters: {
4227
- 'text script': function (e) {
4228
- return S.globalEval(e), e;
4229
- },
4230
- },
4231
- }),
4232
- S.ajaxPrefilter('script', function (e) {
4233
- void 0 === e.cache && (e.cache = !1), e.crossDomain && (e.type = 'GET');
4234
- }),
4235
- S.ajaxTransport('script', function (n) {
4236
- var r, i;
4237
- if (n.crossDomain || n.scriptAttrs)
4238
- return {
4239
- send: function (e, t) {
4240
- (r = S('<script>')
4241
- .attr(n.scriptAttrs || {})
4242
- .prop({ charset: n.scriptCharset, src: n.url })
4243
- .on(
4244
- 'load error',
4245
- (i = function (e) {
4246
- r.remove(), (i = null), e && t('error' === e.type ? 404 : 200, e.type);
4247
- }),
4248
- )),
4249
- E.head.appendChild(r[0]);
4250
- },
4251
- abort: function () {
4252
- i && i();
4253
- },
4254
- };
4255
- });
4256
- var _t,
4257
- zt = [],
4258
- Ut = /(=)\?(?=&|$)|\?\?/;
4259
- S.ajaxSetup({
4260
- jsonp: 'callback',
4261
- jsonpCallback: function () {
4262
- var e = zt.pop() || S.expando + '_' + wt.guid++;
4263
- return (this[e] = !0), e;
4264
- },
4265
- }),
4266
- S.ajaxPrefilter('json jsonp', function (e, t, n) {
4267
- var r,
4268
- i,
4269
- o,
4270
- a =
4271
- !1 !== e.jsonp &&
4272
- (Ut.test(e.url)
4273
- ? 'url'
4274
- : 'string' == typeof e.data &&
4275
- 0 === (e.contentType || '').indexOf('application/x-www-form-urlencoded') &&
4276
- Ut.test(e.data) &&
4277
- 'data');
4278
- if (a || 'jsonp' === e.dataTypes[0])
4279
- return (
4280
- (r = e.jsonpCallback = m(e.jsonpCallback) ? e.jsonpCallback() : e.jsonpCallback),
4281
- a ? (e[a] = e[a].replace(Ut, '$1' + r)) : !1 !== e.jsonp && (e.url += (Tt.test(e.url) ? '&' : '?') + e.jsonp + '=' + r),
4282
- (e.converters['script json'] = function () {
4283
- return o || S.error(r + ' was not called'), o[0];
4284
- }),
4285
- (e.dataTypes[0] = 'json'),
4286
- (i = C[r]),
4287
- (C[r] = function () {
4288
- o = arguments;
4289
- }),
4290
- n.always(function () {
4291
- void 0 === i ? S(C).removeProp(r) : (C[r] = i),
4292
- e[r] && ((e.jsonpCallback = t.jsonpCallback), zt.push(r)),
4293
- o && m(i) && i(o[0]),
4294
- (o = i = void 0);
4295
- }),
4296
- 'script'
4297
- );
4298
- }),
4299
- (y.createHTMLDocument =
4300
- (((_t = E.implementation.createHTMLDocument('').body).innerHTML = '<form></form><form></form>'), 2 === _t.childNodes.length)),
4301
- (S.parseHTML = function (e, t, n) {
4302
- return 'string' != typeof e
4303
- ? []
4304
- : ('boolean' == typeof t && ((n = t), (t = !1)),
4305
- t ||
4306
- (y.createHTMLDocument
4307
- ? (((r = (t = E.implementation.createHTMLDocument('')).createElement('base')).href = E.location.href), t.head.appendChild(r))
4308
- : (t = E)),
4309
- (o = !n && []),
4310
- (i = N.exec(e)) ? [t.createElement(i[1])] : ((i = xe([e], t, o)), o && o.length && S(o).remove(), S.merge([], i.childNodes)));
4311
- var r, i, o;
4312
- }),
4313
- (S.fn.load = function (e, t, n) {
4314
- var r,
4315
- i,
4316
- o,
4317
- a = this,
4318
- s = e.indexOf(' ');
4319
- return (
4320
- -1 < s && ((r = ht(e.slice(s))), (e = e.slice(0, s))),
4321
- m(t) ? ((n = t), (t = void 0)) : t && 'object' == typeof t && (i = 'POST'),
4322
- 0 < a.length &&
4323
- S.ajax({ url: e, type: i || 'GET', dataType: 'html', data: t })
4324
- .done(function (e) {
4325
- (o = arguments), a.html(r ? S('<div>').append(S.parseHTML(e)).find(r) : e);
4326
- })
4327
- .always(
4328
- n &&
4329
- function (e, t) {
4330
- a.each(function () {
4331
- n.apply(this, o || [e.responseText, t, e]);
4332
- });
4333
- },
4334
- ),
4335
- this
4336
- );
4337
- }),
4338
- (S.expr.pseudos.animated = function (t) {
4339
- return S.grep(S.timers, function (e) {
4340
- return t === e.elem;
4341
- }).length;
4342
- }),
4343
- (S.offset = {
4344
- setOffset: function (e, t, n) {
4345
- var r,
4346
- i,
4347
- o,
4348
- a,
4349
- s,
4350
- u,
4351
- l = S.css(e, 'position'),
4352
- c = S(e),
4353
- f = {};
4354
- 'static' === l && (e.style.position = 'relative'),
4355
- (s = c.offset()),
4356
- (o = S.css(e, 'top')),
4357
- (u = S.css(e, 'left')),
4358
- ('absolute' === l || 'fixed' === l) && -1 < (o + u).indexOf('auto')
4359
- ? ((a = (r = c.position()).top), (i = r.left))
4360
- : ((a = parseFloat(o) || 0), (i = parseFloat(u) || 0)),
4361
- m(t) && (t = t.call(e, n, S.extend({}, s))),
4362
- null != t.top && (f.top = t.top - s.top + a),
4363
- null != t.left && (f.left = t.left - s.left + i),
4364
- 'using' in t ? t.using.call(e, f) : c.css(f);
4365
- },
4366
- }),
4367
- S.fn.extend({
4368
- offset: function (t) {
4369
- if (arguments.length)
4370
- return void 0 === t
4371
- ? this
4372
- : this.each(function (e) {
4373
- S.offset.setOffset(this, t, e);
4374
- });
4375
- var e,
4376
- n,
4377
- r = this[0];
4378
- return r
4379
- ? r.getClientRects().length
4380
- ? ((e = r.getBoundingClientRect()),
4381
- (n = r.ownerDocument.defaultView),
4382
- { top: e.top + n.pageYOffset, left: e.left + n.pageXOffset })
4383
- : { top: 0, left: 0 }
4384
- : void 0;
4385
- },
4386
- position: function () {
4387
- if (this[0]) {
4388
- var e,
4389
- t,
4390
- n,
4391
- r = this[0],
4392
- i = { top: 0, left: 0 };
4393
- if ('fixed' === S.css(r, 'position')) t = r.getBoundingClientRect();
4394
- else {
4395
- (t = this.offset()), (n = r.ownerDocument), (e = r.offsetParent || n.documentElement);
4396
- while (e && (e === n.body || e === n.documentElement) && 'static' === S.css(e, 'position')) e = e.parentNode;
4397
- e &&
4398
- e !== r &&
4399
- 1 === e.nodeType &&
4400
- (((i = S(e).offset()).top += S.css(e, 'borderTopWidth', !0)), (i.left += S.css(e, 'borderLeftWidth', !0)));
4401
- }
4402
- return { top: t.top - i.top - S.css(r, 'marginTop', !0), left: t.left - i.left - S.css(r, 'marginLeft', !0) };
4403
- }
4404
- },
4405
- offsetParent: function () {
4406
- return this.map(function () {
4407
- var e = this.offsetParent;
4408
- while (e && 'static' === S.css(e, 'position')) e = e.offsetParent;
4409
- return e || re;
4410
- });
4411
- },
4412
- }),
4413
- S.each({ scrollLeft: 'pageXOffset', scrollTop: 'pageYOffset' }, function (t, i) {
4414
- var o = 'pageYOffset' === i;
4415
- S.fn[t] = function (e) {
4416
- return $(
4417
- this,
4418
- function (e, t, n) {
4419
- var r;
4420
- if ((x(e) ? (r = e) : 9 === e.nodeType && (r = e.defaultView), void 0 === n)) return r ? r[i] : e[t];
4421
- r ? r.scrollTo(o ? r.pageXOffset : n, o ? n : r.pageYOffset) : (e[t] = n);
4422
- },
4423
- t,
4424
- e,
4425
- arguments.length,
4426
- );
4427
- };
4428
- }),
4429
- S.each(['top', 'left'], function (e, n) {
4430
- S.cssHooks[n] = Fe(y.pixelPosition, function (e, t) {
4431
- if (t) return (t = We(e, n)), Pe.test(t) ? S(e).position()[n] + 'px' : t;
4432
- });
4433
- }),
4434
- S.each({ Height: 'height', Width: 'width' }, function (a, s) {
4435
- S.each({ padding: 'inner' + a, content: s, '': 'outer' + a }, function (r, o) {
4436
- S.fn[o] = function (e, t) {
4437
- var n = arguments.length && (r || 'boolean' != typeof e),
4438
- i = r || (!0 === e || !0 === t ? 'margin' : 'border');
4439
- return $(
4440
- this,
4441
- function (e, t, n) {
4442
- var r;
4443
- return x(e)
4444
- ? 0 === o.indexOf('outer')
4445
- ? e['inner' + a]
4446
- : e.document.documentElement['client' + a]
4447
- : 9 === e.nodeType
4448
- ? ((r = e.documentElement),
4449
- Math.max(e.body['scroll' + a], r['scroll' + a], e.body['offset' + a], r['offset' + a], r['client' + a]))
4450
- : void 0 === n
4451
- ? S.css(e, t, i)
4452
- : S.style(e, t, n, i);
4453
- },
4454
- s,
4455
- n ? e : void 0,
4456
- n,
4457
- );
4458
- };
4459
- });
4460
- }),
4461
- S.each(['ajaxStart', 'ajaxStop', 'ajaxComplete', 'ajaxError', 'ajaxSuccess', 'ajaxSend'], function (e, t) {
4462
- S.fn[t] = function (e) {
4463
- return this.on(t, e);
4464
- };
4465
- }),
4466
- S.fn.extend({
4467
- bind: function (e, t, n) {
4468
- return this.on(e, null, t, n);
4469
- },
4470
- unbind: function (e, t) {
4471
- return this.off(e, null, t);
4472
- },
4473
- delegate: function (e, t, n, r) {
4474
- return this.on(t, e, n, r);
4475
- },
4476
- undelegate: function (e, t, n) {
4477
- return 1 === arguments.length ? this.off(e, '**') : this.off(t, e || '**', n);
4478
- },
4479
- hover: function (e, t) {
4480
- return this.mouseenter(e).mouseleave(t || e);
4481
- },
4482
- }),
4483
- S.each(
4484
- 'blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu'.split(
4485
- ' ',
4486
- ),
4487
- function (e, n) {
4488
- S.fn[n] = function (e, t) {
4489
- return 0 < arguments.length ? this.on(n, null, e, t) : this.trigger(n);
4490
- };
4491
- },
4492
- );
4493
- var Xt = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
4494
- (S.proxy = function (e, t) {
4495
- var n, r, i;
4496
- if (('string' == typeof t && ((n = e[t]), (t = e), (e = n)), m(e)))
4497
- return (
4498
- (r = s.call(arguments, 2)),
4499
- ((i = function () {
4500
- return e.apply(t || this, r.concat(s.call(arguments)));
4501
- }).guid = e.guid =
4502
- e.guid || S.guid++),
4503
- i
4504
- );
4505
- }),
4506
- (S.holdReady = function (e) {
4507
- e ? S.readyWait++ : S.ready(!0);
4508
- }),
4509
- (S.isArray = Array.isArray),
4510
- (S.parseJSON = JSON.parse),
4511
- (S.nodeName = A),
4512
- (S.isFunction = m),
4513
- (S.isWindow = x),
4514
- (S.camelCase = X),
4515
- (S.type = w),
4516
- (S.now = Date.now),
4517
- (S.isNumeric = function (e) {
4518
- var t = S.type(e);
4519
- return ('number' === t || 'string' === t) && !isNaN(e - parseFloat(e));
4520
- }),
4521
- (S.trim = function (e) {
4522
- return null == e ? '' : (e + '').replace(Xt, '');
4523
- }),
4524
- 'function' == typeof define &&
4525
- define.amd &&
4526
- define('jquery', [], function () {
4527
- return S;
4528
- });
4529
- var Vt = C.jQuery,
4530
- Gt = C.$;
4531
- return (
4532
- (S.noConflict = function (e) {
4533
- return C.$ === S && (C.$ = Gt), e && C.jQuery === S && (C.jQuery = Vt), S;
4534
- }),
4535
- 'undefined' == typeof e && (C.jQuery = C.$ = S),
4536
- S
4537
- );
4538
- });