diff --git a/distribution/dependencies/bootstrap.min.js b/distribution/dependencies/bootstrap.min.js
index c83cf42..5bbf6e2 100755
--- a/distribution/dependencies/bootstrap.min.js
+++ b/distribution/dependencies/bootstrap.min.js
@@ -1,8 +1,4 @@
-/*!
- * Bootstrap v5.2.3 (https://getbootstrap.com/)
- * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
- */
+/*! For license information please see bootstrap.min.js.LICENSE.txt */
!(function (t, e) {
'object' == typeof exports && 'undefined' != typeof module
? (module.exports = e(require('@popperjs/core')))
@@ -13,26 +9,25 @@
e(t.Popper));
})(this, function (t) {
'use strict';
- function e(t) {
- if (t && t.__esModule) return t;
- const e = Object.create(null, {
- [Symbol.toStringTag]: { value: 'Module' },
- });
- if (t)
- for (const i in t)
- if ('default' !== i) {
- const s = Object.getOwnPropertyDescriptor(t, i);
- Object.defineProperty(
- e,
- i,
- s.get ? s : { enumerable: !0, get: () => t[i] }
- );
- }
- return (e.default = t), Object.freeze(e);
- }
- const i = e(t),
- s = 'transitionend',
- n = (t) => {
+ const e = (function (t) {
+ if (t && t.__esModule) return t;
+ const e = Object.create(null, {
+ [Symbol.toStringTag]: { value: 'Module' },
+ });
+ if (t)
+ for (const i in t)
+ if ('default' !== i) {
+ const s = Object.getOwnPropertyDescriptor(t, i);
+ Object.defineProperty(
+ e,
+ i,
+ s.get ? s : { enumerable: !0, get: () => t[i] }
+ );
+ }
+ return (e.default = t), Object.freeze(e);
+ })(t),
+ i = 'transitionend',
+ s = (t) => {
let e = t.getAttribute('data-bs-target');
if (!e || '#' === e) {
let i = t.getAttribute('href');
@@ -42,30 +37,30 @@
}
return e;
},
- o = (t) => {
- const e = n(t);
+ n = (t) => {
+ const e = s(t);
return e && document.querySelector(e) ? e : null;
},
- r = (t) => {
- const e = n(t);
+ o = (t) => {
+ const e = s(t);
return e ? document.querySelector(e) : null;
},
- a = (t) => {
- t.dispatchEvent(new Event(s));
+ r = (t) => {
+ t.dispatchEvent(new Event(i));
},
- l = (t) =>
+ a = (t) =>
!(!t || 'object' != typeof t) &&
(void 0 !== t.jquery && (t = t[0]), void 0 !== t.nodeType),
- c = (t) =>
- l(t)
+ l = (t) =>
+ a(t)
? t.jquery
? t[0]
: t
: 'string' == typeof t && t.length > 0
? document.querySelector(t)
: null,
- h = (t) => {
- if (!l(t) || 0 === t.getClientRects().length) return !1;
+ c = (t) => {
+ if (!a(t) || 0 === t.getClientRects().length) return !1;
const e =
'visible' === getComputedStyle(t).getPropertyValue('visibility'),
i = t.closest('details:not([open])');
@@ -77,14 +72,14 @@
}
return e;
},
- d = (t) =>
+ h = (t) =>
!t ||
t.nodeType !== Node.ELEMENT_NODE ||
!!t.classList.contains('disabled') ||
(void 0 !== t.disabled
? t.disabled
: t.hasAttribute('disabled') && 'false' !== t.getAttribute('disabled')),
- u = (t) => {
+ d = (t) => {
if (!document.documentElement.attachShadow) return null;
if ('function' == typeof t.getRootNode) {
const e = t.getRootNode();
@@ -93,23 +88,23 @@
return t instanceof ShadowRoot
? t
: t.parentNode
- ? u(t.parentNode)
+ ? d(t.parentNode)
: null;
},
- _ = () => {},
- g = (t) => {
+ u = () => {},
+ _ = (t) => {
t.offsetHeight;
},
- f = () =>
+ g = () =>
window.jQuery && !document.body.hasAttribute('data-bs-no-jquery')
? window.jQuery
: null,
- p = [],
- m = () => 'rtl' === document.documentElement.dir,
- b = (t) => {
+ f = [],
+ p = () => 'rtl' === document.documentElement.dir,
+ m = (t) => {
var e;
(e = () => {
- const e = f();
+ const e = g();
if (e) {
const i = t.NAME,
s = e.fn[i];
@@ -119,18 +114,18 @@
}
}),
'loading' === document.readyState
- ? (p.length ||
+ ? (f.length ||
document.addEventListener('DOMContentLoaded', () => {
- for (const t of p) t();
+ for (const t of f) t();
}),
- p.push(e))
+ f.push(e))
: e();
},
- v = (t) => {
+ b = (t) => {
'function' == typeof t && t();
},
- y = (t, e, i = !0) => {
- if (!i) return void v(t);
+ v = (t, e, s = !0) => {
+ if (!s) return void b(t);
const n =
((t) => {
if (!t) return 0;
@@ -145,15 +140,15 @@
: 0;
})(e) + 5;
let o = !1;
- const r = ({ target: i }) => {
- i === e && ((o = !0), e.removeEventListener(s, r), v(t));
+ const a = ({ target: s }) => {
+ s === e && ((o = !0), e.removeEventListener(i, a), b(t));
};
- e.addEventListener(s, r),
+ e.addEventListener(i, a),
setTimeout(() => {
- o || a(e);
+ o || r(e);
}, n);
},
- w = (t, e, i, s) => {
+ y = (t, e, i, s) => {
const n = t.length;
let o = t.indexOf(e);
return -1 === o
@@ -164,13 +159,13 @@
s && (o = (o + n) % n),
t[Math.max(0, Math.min(o, n - 1))]);
},
- A = /[^.]*(?=\..*)\.|.*/,
- E = /\..*/,
- C = /::\d+$/,
- T = {};
- let k = 1;
- const L = { mouseenter: 'mouseover', mouseleave: 'mouseout' },
- O = new Set([
+ w = /[^.]*(?=\..*)\.|.*/,
+ A = /\..*/,
+ E = /::\d+$/,
+ C = {};
+ let T = 1;
+ const k = { mouseenter: 'mouseover', mouseleave: 'mouseout' },
+ L = new Set([
'click',
'dblclick',
'mouseup',
@@ -218,28 +213,28 @@
'abort',
'scroll',
]);
- function I(t, e) {
- return (e && `${e}::${k++}`) || t.uidEvent || k++;
+ function O(t, e) {
+ return (e && `${e}::${T++}`) || t.uidEvent || T++;
}
- function S(t) {
- const e = I(t);
- return (t.uidEvent = e), (T[e] = T[e] || {}), T[e];
+ function I(t) {
+ const e = O(t);
+ return (t.uidEvent = e), (C[e] = C[e] || {}), C[e];
}
- function D(t, e, i = null) {
+ function S(t, e, i = null) {
return Object.values(t).find(
(t) => t.callable === e && t.delegationSelector === i
);
}
- function N(t, e, i) {
+ function D(t, e, i) {
const s = 'string' == typeof e,
n = s ? i : e || i;
- let o = j(t);
- return O.has(o) || (o = t), [s, n, o];
+ let o = M(t);
+ return L.has(o) || (o = t), [s, n, o];
}
- function P(t, e, i, s, n) {
+ function N(t, e, i, s, n) {
if ('string' != typeof e || !t) return;
- let [o, r, a] = N(e, i, s);
- if (e in L) {
+ let [o, r, a] = D(e, i, s);
+ if (e in k) {
const t = (t) =>
function (e) {
if (
@@ -251,11 +246,11 @@
};
r = t(r);
}
- const l = S(t),
+ const l = I(t),
c = l[a] || (l[a] = {}),
- h = D(c, r, o ? i : null);
+ h = S(c, r, o ? i : null);
if (h) return void (h.oneOff = h.oneOff && n);
- const d = I(r, e.replace(A, '')),
+ const d = O(r, e.replace(w, '')),
u = o
? (function (t, e, i) {
return function s(n) {
@@ -264,8 +259,8 @@
for (const a of o)
if (a === r)
return (
- F(n, { delegateTarget: r }),
- s.oneOff && $.off(t, n.type, e, i),
+ $(n, { delegateTarget: r }),
+ s.oneOff && j.off(t, n.type, e, i),
i.apply(r, [n])
);
};
@@ -273,8 +268,8 @@
: (function (t, e) {
return function i(s) {
return (
- F(s, { delegateTarget: t }),
- i.oneOff && $.off(t, s.type, e),
+ $(s, { delegateTarget: t }),
+ i.oneOff && j.off(t, s.type, e),
e.apply(t, [s])
);
};
@@ -286,57 +281,57 @@
(c[d] = u),
t.addEventListener(a, u, o);
}
- function x(t, e, i, s, n) {
- const o = D(e[i], s, n);
+ function P(t, e, i, s, n) {
+ const o = S(e[i], s, n);
o && (t.removeEventListener(i, o, Boolean(n)), delete e[i][o.uidEvent]);
}
- function M(t, e, i, s) {
+ function x(t, e, i, s) {
const n = e[i] || {};
for (const o of Object.keys(n))
if (o.includes(s)) {
const s = n[o];
- x(t, e, i, s.callable, s.delegationSelector);
+ P(t, e, i, s.callable, s.delegationSelector);
}
}
- function j(t) {
- return (t = t.replace(E, '')), L[t] || t;
+ function M(t) {
+ return (t = t.replace(A, '')), k[t] || t;
}
- const $ = {
+ const j = {
on(t, e, i, s) {
- P(t, e, i, s, !1);
+ N(t, e, i, s, !1);
},
one(t, e, i, s) {
- P(t, e, i, s, !0);
+ N(t, e, i, s, !0);
},
off(t, e, i, s) {
if ('string' != typeof e || !t) return;
- const [n, o, r] = N(e, i, s),
+ const [n, o, r] = D(e, i, s),
a = r !== e,
- l = S(t),
+ l = I(t),
c = l[r] || {},
h = e.startsWith('.');
if (void 0 === o) {
- if (h) for (const i of Object.keys(l)) M(t, l, i, e.slice(1));
+ if (h) for (const i of Object.keys(l)) x(t, l, i, e.slice(1));
for (const i of Object.keys(c)) {
- const s = i.replace(C, '');
+ const s = i.replace(E, '');
if (!a || e.includes(s)) {
const e = c[i];
- x(t, l, r, e.callable, e.delegationSelector);
+ P(t, l, r, e.callable, e.delegationSelector);
}
}
} else {
if (!Object.keys(c).length) return;
- x(t, l, r, o, n ? i : null);
+ P(t, l, r, o, n ? i : null);
}
},
trigger(t, e, i) {
if ('string' != typeof e || !t) return null;
- const s = f();
+ const s = g();
let n = null,
o = !0,
r = !0,
a = !1;
- e !== j(e) &&
+ e !== M(e) &&
s &&
((n = s.Event(e, i)),
s(t).trigger(n),
@@ -345,7 +340,7 @@
(a = n.isDefaultPrevented()));
let l = new Event(e, { bubbles: o, cancelable: !0 });
return (
- (l = F(l, i)),
+ (l = $(l, i)),
a && l.preventDefault(),
r && t.dispatchEvent(l),
l.defaultPrevented && n && n.preventDefault(),
@@ -353,7 +348,7 @@
);
},
};
- function F(t, e) {
+ function $(t, e) {
for (const [i, s] of Object.entries(e || {}))
try {
t[i] = s;
@@ -362,11 +357,11 @@
}
return t;
}
- const z = new Map(),
- H = {
+ const F = new Map(),
+ z = {
set(t, e, i) {
- z.has(t) || z.set(t, new Map());
- const s = z.get(t);
+ F.has(t) || F.set(t, new Map());
+ const s = F.get(t);
s.has(e) || 0 === s.size
? s.set(e, i)
: console.error(
@@ -375,14 +370,14 @@
}.`
);
},
- get: (t, e) => (z.has(t) && z.get(t).get(e)) || null,
+ get: (t, e) => (F.has(t) && F.get(t).get(e)) || null,
remove(t, e) {
- if (!z.has(t)) return;
- const i = z.get(t);
- i.delete(e), 0 === i.size && z.delete(t);
+ if (!F.has(t)) return;
+ const i = F.get(t);
+ i.delete(e), 0 === i.size && F.delete(t);
},
};
- function q(t) {
+ function H(t) {
if ('true' === t) return !0;
if ('false' === t) return !1;
if (t === Number(t).toString()) return Number(t);
@@ -394,15 +389,15 @@
return t;
}
}
- function B(t) {
+ function q(t) {
return t.replace(/[A-Z]/g, (t) => `-${t.toLowerCase()}`);
}
- const W = {
+ const B = {
setDataAttribute(t, e, i) {
- t.setAttribute(`data-bs-${B(e)}`, i);
+ t.setAttribute(`data-bs-${q(e)}`, i);
},
removeDataAttribute(t, e) {
- t.removeAttribute(`data-bs-${B(e)}`);
+ t.removeAttribute(`data-bs-${q(e)}`);
},
getDataAttributes(t) {
if (!t) return {};
@@ -413,13 +408,13 @@
for (const s of i) {
let i = s.replace(/^bs/, '');
(i = i.charAt(0).toLowerCase() + i.slice(1, i.length)),
- (e[i] = q(t.dataset[s]));
+ (e[i] = H(t.dataset[s]));
}
return e;
},
- getDataAttribute: (t, e) => q(t.getAttribute(`data-bs-${B(e)}`)),
+ getDataAttribute: (t, e) => H(t.getAttribute(`data-bs-${q(e)}`)),
};
- class R {
+ class W {
static get Default() {
return {};
}
@@ -443,11 +438,11 @@
return t;
}
_mergeConfigObj(t, e) {
- const i = l(e) ? W.getDataAttribute(e, 'config') : {};
+ const i = a(e) ? B.getDataAttribute(e, 'config') : {};
return {
...this.constructor.Default,
...('object' == typeof i ? i : {}),
- ...(l(e) ? W.getDataAttributes(e) : {}),
+ ...(a(e) ? B.getDataAttributes(e) : {}),
...('object' == typeof t ? t : {}),
};
}
@@ -455,7 +450,7 @@
for (const s of Object.keys(e)) {
const n = e[s],
o = t[s],
- r = l(o)
+ r = a(o)
? 'element'
: null == (i = o)
? `${i}`
@@ -471,21 +466,21 @@
var i;
}
}
- class V extends R {
+ class R extends W {
constructor(t, e) {
super(),
- (t = c(t)) &&
+ (t = l(t)) &&
((this._element = t),
(this._config = this._getConfig(e)),
- H.set(this._element, this.constructor.DATA_KEY, this));
+ z.set(this._element, this.constructor.DATA_KEY, this));
}
dispose() {
- H.remove(this._element, this.constructor.DATA_KEY),
- $.off(this._element, this.constructor.EVENT_KEY);
+ z.remove(this._element, this.constructor.DATA_KEY),
+ j.off(this._element, this.constructor.EVENT_KEY);
for (const t of Object.getOwnPropertyNames(this)) this[t] = null;
}
_queueCallback(t, e, i = !0) {
- y(t, e, i);
+ v(t, e, i);
}
_getConfig(t) {
return (
@@ -496,7 +491,7 @@
);
}
static getInstance(t) {
- return H.get(c(t), this.DATA_KEY);
+ return z.get(l(t), this.DATA_KEY);
}
static getOrCreateInstance(t, e = {}) {
return (
@@ -516,34 +511,34 @@
return `${t}${this.EVENT_KEY}`;
}
}
- const K = (t, e = 'hide') => {
+ const V = (t, e = 'hide') => {
const i = `click.dismiss${t.EVENT_KEY}`,
s = t.NAME;
- $.on(document, i, `[data-bs-dismiss="${s}"]`, function (i) {
- if ((['A', 'AREA'].includes(this.tagName) && i.preventDefault(), d(this)))
+ j.on(document, i, `[data-bs-dismiss="${s}"]`, function (i) {
+ if ((['A', 'AREA'].includes(this.tagName) && i.preventDefault(), h(this)))
return;
- const n = r(this) || this.closest(`.${s}`);
+ const n = o(this) || this.closest(`.${s}`);
t.getOrCreateInstance(n)[e]();
});
};
- class Q extends V {
+ class K extends R {
static get NAME() {
return 'alert';
}
close() {
- if ($.trigger(this._element, 'close.bs.alert').defaultPrevented) return;
+ if (j.trigger(this._element, 'close.bs.alert').defaultPrevented) return;
this._element.classList.remove('show');
const t = this._element.classList.contains('fade');
this._queueCallback(() => this._destroyElement(), this._element, t);
}
_destroyElement() {
this._element.remove(),
- $.trigger(this._element, 'closed.bs.alert'),
+ j.trigger(this._element, 'closed.bs.alert'),
this.dispose();
}
static jQueryInterface(t) {
return this.each(function () {
- const e = Q.getOrCreateInstance(this);
+ const e = K.getOrCreateInstance(this);
if ('string' == typeof t) {
if (void 0 === e[t] || t.startsWith('_') || 'constructor' === t)
throw new TypeError(`No method named "${t}"`);
@@ -552,9 +547,9 @@
});
}
}
- K(Q, 'close'), b(Q);
- const X = '[data-bs-toggle="button"]';
- class Y extends V {
+ V(K, 'close'), m(K);
+ const Q = '[data-bs-toggle="button"]';
+ class X extends R {
static get NAME() {
return 'button';
}
@@ -566,18 +561,18 @@
}
static jQueryInterface(t) {
return this.each(function () {
- const e = Y.getOrCreateInstance(this);
+ const e = X.getOrCreateInstance(this);
'toggle' === t && e[t]();
});
}
}
- $.on(document, 'click.bs.button.data-api', X, (t) => {
+ j.on(document, 'click.bs.button.data-api', Q, (t) => {
t.preventDefault();
- const e = t.target.closest(X);
- Y.getOrCreateInstance(e).toggle();
+ const e = t.target.closest(Q);
+ X.getOrCreateInstance(e).toggle();
}),
- b(Y);
- const U = {
+ m(X);
+ const Y = {
find: (t, e = document.documentElement) =>
[].concat(...Element.prototype.querySelectorAll.call(e, t)),
findOne: (t, e = document.documentElement) =>
@@ -618,37 +613,37 @@
]
.map((t) => `${t}:not([tabindex^="-"])`)
.join(',');
- return this.find(e, t).filter((t) => !d(t) && h(t));
+ return this.find(e, t).filter((t) => !h(t) && c(t));
},
},
- G = { endCallback: null, leftCallback: null, rightCallback: null },
- J = {
+ U = { endCallback: null, leftCallback: null, rightCallback: null },
+ G = {
endCallback: '(function|null)',
leftCallback: '(function|null)',
rightCallback: '(function|null)',
};
- class Z extends R {
+ class J extends W {
constructor(t, e) {
super(),
(this._element = t),
t &&
- Z.isSupported() &&
+ J.isSupported() &&
((this._config = this._getConfig(e)),
(this._deltaX = 0),
(this._supportPointerEvents = Boolean(window.PointerEvent)),
this._initEvents());
}
static get Default() {
- return G;
+ return U;
}
static get DefaultType() {
- return J;
+ return G;
}
static get NAME() {
return 'swipe';
}
dispose() {
- $.off(this._element, '.bs.swipe');
+ j.off(this._element, '.bs.swipe');
}
_start(t) {
this._supportPointerEvents
@@ -659,7 +654,7 @@
this._eventIsPointerPenTouch(t) &&
(this._deltaX = t.clientX - this._deltaX),
this._handleSwipe(),
- v(this._config.endCallback);
+ b(this._config.endCallback);
}
_move(t) {
this._deltaX =
@@ -672,16 +667,16 @@
if (t <= 40) return;
const e = t / this._deltaX;
(this._deltaX = 0),
- e && v(e > 0 ? this._config.rightCallback : this._config.leftCallback);
+ e && b(e > 0 ? this._config.rightCallback : this._config.leftCallback);
}
_initEvents() {
this._supportPointerEvents
- ? ($.on(this._element, 'pointerdown.bs.swipe', (t) => this._start(t)),
- $.on(this._element, 'pointerup.bs.swipe', (t) => this._end(t)),
+ ? (j.on(this._element, 'pointerdown.bs.swipe', (t) => this._start(t)),
+ j.on(this._element, 'pointerup.bs.swipe', (t) => this._end(t)),
this._element.classList.add('pointer-event'))
- : ($.on(this._element, 'touchstart.bs.swipe', (t) => this._start(t)),
- $.on(this._element, 'touchmove.bs.swipe', (t) => this._move(t)),
- $.on(this._element, 'touchend.bs.swipe', (t) => this._end(t)));
+ : (j.on(this._element, 'touchstart.bs.swipe', (t) => this._start(t)),
+ j.on(this._element, 'touchmove.bs.swipe', (t) => this._move(t)),
+ j.on(this._element, 'touchend.bs.swipe', (t) => this._end(t)));
}
_eventIsPointerPenTouch(t) {
return (
@@ -696,15 +691,15 @@
);
}
}
- const tt = 'next',
- et = 'prev',
- it = 'left',
- st = 'right',
- nt = 'slid.bs.carousel',
- ot = 'carousel',
- rt = 'active',
- at = { ArrowLeft: st, ArrowRight: it },
- lt = {
+ const Z = 'next',
+ tt = 'prev',
+ et = 'left',
+ it = 'right',
+ st = 'slid.bs.carousel',
+ nt = 'carousel',
+ ot = 'active',
+ rt = { ArrowLeft: it, ArrowRight: et },
+ at = {
interval: 5e3,
keyboard: !0,
pause: 'hover',
@@ -712,7 +707,7 @@
touch: !0,
wrap: !0,
},
- ct = {
+ lt = {
interval: '(number|boolean)',
keyboard: 'boolean',
pause: '(string|boolean)',
@@ -720,7 +715,7 @@
touch: 'boolean',
wrap: 'boolean',
};
- class ht extends V {
+ class ct extends R {
constructor(t, e) {
super(t, e),
(this._interval = null),
@@ -728,33 +723,33 @@
(this._isSliding = !1),
(this.touchTimeout = null),
(this._swipeHelper = null),
- (this._indicatorsElement = U.findOne(
+ (this._indicatorsElement = Y.findOne(
'.carousel-indicators',
this._element
)),
this._addEventListeners(),
- this._config.ride === ot && this.cycle();
+ this._config.ride === nt && this.cycle();
}
static get Default() {
- return lt;
+ return at;
}
static get DefaultType() {
- return ct;
+ return lt;
}
static get NAME() {
return 'carousel';
}
next() {
- this._slide(tt);
+ this._slide(Z);
}
nextWhenVisible() {
- !document.hidden && h(this._element) && this.next();
+ !document.hidden && c(this._element) && this.next();
}
prev() {
- this._slide(et);
+ this._slide(tt);
}
pause() {
- this._isSliding && a(this._element), this._clearInterval();
+ this._isSliding && r(this._element), this._clearInterval();
}
cycle() {
this._clearInterval(),
@@ -767,17 +762,17 @@
_maybeEnableCycle() {
this._config.ride &&
(this._isSliding
- ? $.one(this._element, nt, () => this.cycle())
+ ? j.one(this._element, st, () => this.cycle())
: this.cycle());
}
to(t) {
const e = this._getItems();
if (t > e.length - 1 || t < 0) return;
if (this._isSliding)
- return void $.one(this._element, nt, () => this.to(t));
+ return void j.one(this._element, st, () => this.to(t));
const i = this._getItemIndex(this._getActive());
if (i === t) return;
- const s = t > i ? tt : et;
+ const s = t > i ? Z : tt;
this._slide(s, e[t]);
}
dispose() {
@@ -788,20 +783,20 @@
}
_addEventListeners() {
this._config.keyboard &&
- $.on(this._element, 'keydown.bs.carousel', (t) => this._keydown(t)),
+ j.on(this._element, 'keydown.bs.carousel', (t) => this._keydown(t)),
'hover' === this._config.pause &&
- ($.on(this._element, 'mouseenter.bs.carousel', () => this.pause()),
- $.on(this._element, 'mouseleave.bs.carousel', () =>
+ (j.on(this._element, 'mouseenter.bs.carousel', () => this.pause()),
+ j.on(this._element, 'mouseleave.bs.carousel', () =>
this._maybeEnableCycle()
)),
- this._config.touch && Z.isSupported() && this._addTouchEventListeners();
+ this._config.touch && J.isSupported() && this._addTouchEventListeners();
}
_addTouchEventListeners() {
- for (const t of U.find('.carousel-item img', this._element))
- $.on(t, 'dragstart.bs.carousel', (t) => t.preventDefault());
+ for (const t of Y.find('.carousel-item img', this._element))
+ j.on(t, 'dragstart.bs.carousel', (t) => t.preventDefault());
const t = {
- leftCallback: () => this._slide(this._directionToOrder(it)),
- rightCallback: () => this._slide(this._directionToOrder(st)),
+ leftCallback: () => this._slide(this._directionToOrder(et)),
+ rightCallback: () => this._slide(this._directionToOrder(it)),
endCallback: () => {
'hover' === this._config.pause &&
(this.pause(),
@@ -812,11 +807,11 @@
)));
},
};
- this._swipeHelper = new Z(this._element, t);
+ this._swipeHelper = new J(this._element, t);
}
_keydown(t) {
if (/input|textarea/i.test(t.target.tagName)) return;
- const e = at[t.key];
+ const e = rt[t.key];
e && (t.preventDefault(), this._slide(this._directionToOrder(e)));
}
_getItemIndex(t) {
@@ -824,10 +819,10 @@
}
_setActiveIndicatorElement(t) {
if (!this._indicatorsElement) return;
- const e = U.findOne('.active', this._indicatorsElement);
- e.classList.remove(rt), e.removeAttribute('aria-current');
- const i = U.findOne(`[data-bs-slide-to="${t}"]`, this._indicatorsElement);
- i && (i.classList.add(rt), i.setAttribute('aria-current', 'true'));
+ const e = Y.findOne('.active', this._indicatorsElement);
+ e.classList.remove(ot), e.removeAttribute('aria-current');
+ const i = Y.findOne(`[data-bs-slide-to="${t}"]`, this._indicatorsElement);
+ i && (i.classList.add(ot), i.setAttribute('aria-current', 'true'));
}
_updateInterval() {
const t = this._activeElement || this._getActive();
@@ -838,12 +833,12 @@
_slide(t, e = null) {
if (this._isSliding) return;
const i = this._getActive(),
- s = t === tt,
- n = e || w(this._getItems(), i, s, this._config.wrap);
+ s = t === Z,
+ n = e || y(this._getItems(), i, s, this._config.wrap);
if (n === i) return;
const o = this._getItemIndex(n),
r = (e) =>
- $.trigger(this._element, e, {
+ j.trigger(this._element, e, {
relatedTarget: n,
direction: this._orderToDirection(t),
from: this._getItemIndex(i),
@@ -859,16 +854,16 @@
const l = s ? 'carousel-item-start' : 'carousel-item-end',
c = s ? 'carousel-item-next' : 'carousel-item-prev';
n.classList.add(c),
- g(n),
+ _(n),
i.classList.add(l),
n.classList.add(l),
this._queueCallback(
() => {
n.classList.remove(l, c),
- n.classList.add(rt),
- i.classList.remove(rt, c, l),
+ n.classList.add(ot),
+ i.classList.remove(ot, c, l),
(this._isSliding = !1),
- r(nt);
+ r(st);
},
i,
this._isAnimated()
@@ -879,24 +874,24 @@
return this._element.classList.contains('slide');
}
_getActive() {
- return U.findOne('.active.carousel-item', this._element);
+ return Y.findOne('.active.carousel-item', this._element);
}
_getItems() {
- return U.find('.carousel-item', this._element);
+ return Y.find('.carousel-item', this._element);
}
_clearInterval() {
this._interval &&
(clearInterval(this._interval), (this._interval = null));
}
_directionToOrder(t) {
- return m() ? (t === it ? et : tt) : t === it ? tt : et;
+ return p() ? (t === et ? tt : Z) : t === et ? Z : tt;
}
_orderToDirection(t) {
- return m() ? (t === et ? it : st) : t === et ? st : it;
+ return p() ? (t === tt ? et : it) : t === tt ? it : et;
}
static jQueryInterface(t) {
return this.each(function () {
- const e = ht.getOrCreateInstance(this, t);
+ const e = ct.getOrCreateInstance(this, t);
if ('number' != typeof t) {
if ('string' == typeof t) {
if (void 0 === e[t] || t.startsWith('_') || 'constructor' === t)
@@ -907,41 +902,41 @@
});
}
}
- $.on(
+ j.on(
document,
'click.bs.carousel.data-api',
'[data-bs-slide], [data-bs-slide-to]',
function (t) {
- const e = r(this);
- if (!e || !e.classList.contains(ot)) return;
+ const e = o(this);
+ if (!e || !e.classList.contains(nt)) return;
t.preventDefault();
- const i = ht.getOrCreateInstance(e),
+ const i = ct.getOrCreateInstance(e),
s = this.getAttribute('data-bs-slide-to');
return s
? (i.to(s), void i._maybeEnableCycle())
- : 'next' === W.getDataAttribute(this, 'slide')
+ : 'next' === B.getDataAttribute(this, 'slide')
? (i.next(), void i._maybeEnableCycle())
: (i.prev(), void i._maybeEnableCycle());
}
),
- $.on(window, 'load.bs.carousel.data-api', () => {
- const t = U.find('[data-bs-ride="carousel"]');
- for (const e of t) ht.getOrCreateInstance(e);
+ j.on(window, 'load.bs.carousel.data-api', () => {
+ const t = Y.find('[data-bs-ride="carousel"]');
+ for (const e of t) ct.getOrCreateInstance(e);
}),
- b(ht);
- const dt = 'show',
- ut = 'collapse',
- _t = 'collapsing',
- gt = '[data-bs-toggle="collapse"]',
- ft = { parent: null, toggle: !0 },
- pt = { parent: '(null|element)', toggle: 'boolean' };
- class mt extends V {
+ m(ct);
+ const ht = 'show',
+ dt = 'collapse',
+ ut = 'collapsing',
+ _t = '[data-bs-toggle="collapse"]',
+ gt = { parent: null, toggle: !0 },
+ ft = { parent: '(null|element)', toggle: 'boolean' };
+ class pt extends R {
constructor(t, e) {
super(t, e), (this._isTransitioning = !1), (this._triggerArray = []);
- const i = U.find(gt);
+ const i = Y.find(_t);
for (const t of i) {
- const e = o(t),
- i = U.find(e).filter((t) => t === this._element);
+ const e = n(t),
+ i = Y.find(e).filter((t) => t === this._element);
null !== e && i.length && this._triggerArray.push(t);
}
this._initializeChildren(),
@@ -950,10 +945,10 @@
this._config.toggle && this.toggle();
}
static get Default() {
- return ft;
+ return gt;
}
static get DefaultType() {
- return pt;
+ return ft;
}
static get NAME() {
return 'collapse';
@@ -970,15 +965,15 @@
'.collapse.show, .collapse.collapsing'
)
.filter((t) => t !== this._element)
- .map((t) => mt.getOrCreateInstance(t, { toggle: !1 }))),
+ .map((t) => pt.getOrCreateInstance(t, { toggle: !1 }))),
t.length && t[0]._isTransitioning)
)
return;
- if ($.trigger(this._element, 'show.bs.collapse').defaultPrevented) return;
+ if (j.trigger(this._element, 'show.bs.collapse').defaultPrevented) return;
for (const e of t) e.hide();
const e = this._getDimension();
- this._element.classList.remove(ut),
- this._element.classList.add(_t),
+ this._element.classList.remove(dt),
+ this._element.classList.add(ut),
(this._element.style[e] = 0),
this._addAriaAndCollapsedClass(this._triggerArray, !0),
(this._isTransitioning = !0);
@@ -986,10 +981,10 @@
this._queueCallback(
() => {
(this._isTransitioning = !1),
- this._element.classList.remove(_t),
- this._element.classList.add(ut, dt),
+ this._element.classList.remove(ut),
+ this._element.classList.add(dt, ht),
(this._element.style[e] = ''),
- $.trigger(this._element, 'shown.bs.collapse');
+ j.trigger(this._element, 'shown.bs.collapse');
},
this._element,
!0
@@ -998,16 +993,16 @@
}
hide() {
if (this._isTransitioning || !this._isShown()) return;
- if ($.trigger(this._element, 'hide.bs.collapse').defaultPrevented) return;
+ if (j.trigger(this._element, 'hide.bs.collapse').defaultPrevented) return;
const t = this._getDimension();
(this._element.style[t] = `${
this._element.getBoundingClientRect()[t]
}px`),
- g(this._element),
- this._element.classList.add(_t),
- this._element.classList.remove(ut, dt);
+ _(this._element),
+ this._element.classList.add(ut),
+ this._element.classList.remove(dt, ht);
for (const t of this._triggerArray) {
- const e = r(t);
+ const e = o(t);
e && !this._isShown(e) && this._addAriaAndCollapsedClass([t], !1);
}
(this._isTransitioning = !0),
@@ -1015,19 +1010,19 @@
this._queueCallback(
() => {
(this._isTransitioning = !1),
- this._element.classList.remove(_t),
- this._element.classList.add(ut),
- $.trigger(this._element, 'hidden.bs.collapse');
+ this._element.classList.remove(ut),
+ this._element.classList.add(dt),
+ j.trigger(this._element, 'hidden.bs.collapse');
},
this._element,
!0
);
}
_isShown(t = this._element) {
- return t.classList.contains(dt);
+ return t.classList.contains(ht);
}
_configAfterMerge(t) {
- return (t.toggle = Boolean(t.toggle)), (t.parent = c(t.parent)), t;
+ return (t.toggle = Boolean(t.toggle)), (t.parent = l(t.parent)), t;
}
_getDimension() {
return this._element.classList.contains('collapse-horizontal')
@@ -1036,15 +1031,15 @@
}
_initializeChildren() {
if (!this._config.parent) return;
- const t = this._getFirstLevelChildren(gt);
+ const t = this._getFirstLevelChildren(_t);
for (const e of t) {
- const t = r(e);
+ const t = o(e);
t && this._addAriaAndCollapsedClass([e], this._isShown(t));
}
}
_getFirstLevelChildren(t) {
- const e = U.find(':scope .collapse .collapse', this._config.parent);
- return U.find(t, this._config.parent).filter((t) => !e.includes(t));
+ const e = Y.find(':scope .collapse .collapse', this._config.parent);
+ return Y.find(t, this._config.parent).filter((t) => !e.includes(t));
}
_addAriaAndCollapsedClass(t, e) {
if (t.length)
@@ -1057,7 +1052,7 @@
return (
'string' == typeof t && /show|hide/.test(t) && (e.toggle = !1),
this.each(function () {
- const i = mt.getOrCreateInstance(this, e);
+ const i = pt.getOrCreateInstance(this, e);
if ('string' == typeof t) {
if (void 0 === i[t]) throw new TypeError(`No method named "${t}"`);
i[t]();
@@ -1066,31 +1061,31 @@
);
}
}
- $.on(document, 'click.bs.collapse.data-api', gt, function (t) {
+ j.on(document, 'click.bs.collapse.data-api', _t, function (t) {
('A' === t.target.tagName ||
(t.delegateTarget && 'A' === t.delegateTarget.tagName)) &&
t.preventDefault();
- const e = o(this),
- i = U.find(e);
- for (const t of i) mt.getOrCreateInstance(t, { toggle: !1 }).toggle();
+ const e = n(this),
+ i = Y.find(e);
+ for (const t of i) pt.getOrCreateInstance(t, { toggle: !1 }).toggle();
}),
- b(mt);
- const bt = 'dropdown',
- vt = 'ArrowUp',
- yt = 'ArrowDown',
- wt = 'click.bs.dropdown.data-api',
- At = 'keydown.bs.dropdown.data-api',
- Et = 'show',
- Ct = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',
- Tt = `${Ct}.show`,
- kt = '.dropdown-menu',
- Lt = m() ? 'top-end' : 'top-start',
- Ot = m() ? 'top-start' : 'top-end',
- It = m() ? 'bottom-end' : 'bottom-start',
- St = m() ? 'bottom-start' : 'bottom-end',
- Dt = m() ? 'left-start' : 'right-start',
- Nt = m() ? 'right-start' : 'left-start',
- Pt = {
+ m(pt);
+ const mt = 'dropdown',
+ bt = 'ArrowUp',
+ vt = 'ArrowDown',
+ yt = 'click.bs.dropdown.data-api',
+ wt = 'keydown.bs.dropdown.data-api',
+ At = 'show',
+ Et = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',
+ Ct = `${Et}.show`,
+ Tt = '.dropdown-menu',
+ kt = p() ? 'top-end' : 'top-start',
+ Lt = p() ? 'top-start' : 'top-end',
+ Ot = p() ? 'bottom-end' : 'bottom-start',
+ It = p() ? 'bottom-start' : 'bottom-end',
+ St = p() ? 'left-start' : 'right-start',
+ Dt = p() ? 'right-start' : 'left-start',
+ Nt = {
autoClose: !0,
boundary: 'clippingParents',
display: 'dynamic',
@@ -1098,7 +1093,7 @@
popperConfig: null,
reference: 'toggle',
},
- xt = {
+ Pt = {
autoClose: '(boolean|string)',
boundary: '(string|element)',
display: 'string',
@@ -1106,49 +1101,49 @@
popperConfig: '(null|object|function)',
reference: '(string|element|object)',
};
- class Mt extends V {
+ class xt extends R {
constructor(t, e) {
super(t, e),
(this._popper = null),
(this._parent = this._element.parentNode),
(this._menu =
- U.next(this._element, kt)[0] ||
- U.prev(this._element, kt)[0] ||
- U.findOne(kt, this._parent)),
+ Y.next(this._element, Tt)[0] ||
+ Y.prev(this._element, Tt)[0] ||
+ Y.findOne(Tt, this._parent)),
(this._inNavbar = this._detectNavbar());
}
static get Default() {
- return Pt;
+ return Nt;
}
static get DefaultType() {
- return xt;
+ return Pt;
}
static get NAME() {
- return bt;
+ return mt;
}
toggle() {
return this._isShown() ? this.hide() : this.show();
}
show() {
- if (d(this._element) || this._isShown()) return;
+ if (h(this._element) || this._isShown()) return;
const t = { relatedTarget: this._element };
- if (!$.trigger(this._element, 'show.bs.dropdown', t).defaultPrevented) {
+ if (!j.trigger(this._element, 'show.bs.dropdown', t).defaultPrevented) {
if (
(this._createPopper(),
'ontouchstart' in document.documentElement &&
!this._parent.closest('.navbar-nav'))
)
for (const t of [].concat(...document.body.children))
- $.on(t, 'mouseover', _);
+ j.on(t, 'mouseover', u);
this._element.focus(),
this._element.setAttribute('aria-expanded', !0),
- this._menu.classList.add(Et),
- this._element.classList.add(Et),
- $.trigger(this._element, 'shown.bs.dropdown', t);
+ this._menu.classList.add(At),
+ this._element.classList.add(At),
+ j.trigger(this._element, 'shown.bs.dropdown', t);
}
}
hide() {
- if (d(this._element) || !this._isShown()) return;
+ if (h(this._element) || !this._isShown()) return;
const t = { relatedTarget: this._element };
this._completeHide(t);
}
@@ -1160,57 +1155,57 @@
this._popper && this._popper.update();
}
_completeHide(t) {
- if (!$.trigger(this._element, 'hide.bs.dropdown', t).defaultPrevented) {
+ if (!j.trigger(this._element, 'hide.bs.dropdown', t).defaultPrevented) {
if ('ontouchstart' in document.documentElement)
for (const t of [].concat(...document.body.children))
- $.off(t, 'mouseover', _);
+ j.off(t, 'mouseover', u);
this._popper && this._popper.destroy(),
- this._menu.classList.remove(Et),
- this._element.classList.remove(Et),
+ this._menu.classList.remove(At),
+ this._element.classList.remove(At),
this._element.setAttribute('aria-expanded', 'false'),
- W.removeDataAttribute(this._menu, 'popper'),
- $.trigger(this._element, 'hidden.bs.dropdown', t);
+ B.removeDataAttribute(this._menu, 'popper'),
+ j.trigger(this._element, 'hidden.bs.dropdown', t);
}
}
_getConfig(t) {
if (
'object' == typeof (t = super._getConfig(t)).reference &&
- !l(t.reference) &&
+ !a(t.reference) &&
'function' != typeof t.reference.getBoundingClientRect
)
throw new TypeError(
- `${bt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`
+ `${mt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`
);
return t;
}
_createPopper() {
- if (void 0 === i)
+ if (void 0 === e)
throw new TypeError(
"Bootstrap's dropdowns require Popper (https://popper.js.org)"
);
let t = this._element;
'parent' === this._config.reference
? (t = this._parent)
- : l(this._config.reference)
- ? (t = c(this._config.reference))
+ : a(this._config.reference)
+ ? (t = l(this._config.reference))
: 'object' == typeof this._config.reference &&
(t = this._config.reference);
- const e = this._getPopperConfig();
- this._popper = i.createPopper(t, this._menu, e);
+ const i = this._getPopperConfig();
+ this._popper = e.createPopper(t, this._menu, i);
}
_isShown() {
- return this._menu.classList.contains(Et);
+ return this._menu.classList.contains(At);
}
_getPlacement() {
const t = this._parent;
- if (t.classList.contains('dropend')) return Dt;
- if (t.classList.contains('dropstart')) return Nt;
+ if (t.classList.contains('dropend')) return St;
+ if (t.classList.contains('dropstart')) return Dt;
if (t.classList.contains('dropup-center')) return 'top';
if (t.classList.contains('dropdown-center')) return 'bottom';
const e =
'end' ===
getComputedStyle(this._menu).getPropertyValue('--bs-position').trim();
- return t.classList.contains('dropup') ? (e ? Ot : Lt) : e ? St : It;
+ return t.classList.contains('dropup') ? (e ? Lt : kt) : e ? It : Ot;
}
_detectNavbar() {
return null !== this._element.closest('.navbar');
@@ -1236,7 +1231,7 @@
};
return (
(this._inNavbar || 'static' === this._config.display) &&
- (W.setDataAttribute(this._menu, 'popper', 'static'),
+ (B.setDataAttribute(this._menu, 'popper', 'static'),
(t.modifiers = [{ name: 'applyStyles', enabled: !1 }])),
{
...t,
@@ -1247,15 +1242,15 @@
);
}
_selectMenuItem({ key: t, target: e }) {
- const i = U.find(
+ const i = Y.find(
'.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)',
this._menu
- ).filter((t) => h(t));
- i.length && w(i, e, t === yt, !i.includes(e)).focus();
+ ).filter((t) => c(t));
+ i.length && y(i, e, t === vt, !i.includes(e)).focus();
}
static jQueryInterface(t) {
return this.each(function () {
- const e = Mt.getOrCreateInstance(this, t);
+ const e = xt.getOrCreateInstance(this, t);
if ('string' == typeof t) {
if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`);
e[t]();
@@ -1264,9 +1259,9 @@
}
static clearMenus(t) {
if (2 === t.button || ('keyup' === t.type && 'Tab' !== t.key)) return;
- const e = U.find(Tt);
+ const e = Y.find(Ct);
for (const i of e) {
- const e = Mt.getInstance(i);
+ const e = xt.getInstance(i);
if (!e || !1 === e._config.autoClose) continue;
const s = t.composedPath(),
n = s.includes(e._menu);
@@ -1289,33 +1284,33 @@
static dataApiKeydownHandler(t) {
const e = /input|textarea/i.test(t.target.tagName),
i = 'Escape' === t.key,
- s = [vt, yt].includes(t.key);
+ s = [bt, vt].includes(t.key);
if (!s && !i) return;
if (e && !i) return;
t.preventDefault();
- const n = this.matches(Ct)
+ const n = this.matches(Et)
? this
- : U.prev(this, Ct)[0] ||
- U.next(this, Ct)[0] ||
- U.findOne(Ct, t.delegateTarget.parentNode),
- o = Mt.getOrCreateInstance(n);
+ : Y.prev(this, Et)[0] ||
+ Y.next(this, Et)[0] ||
+ Y.findOne(Et, t.delegateTarget.parentNode),
+ o = xt.getOrCreateInstance(n);
if (s) return t.stopPropagation(), o.show(), void o._selectMenuItem(t);
o._isShown() && (t.stopPropagation(), o.hide(), n.focus());
}
}
- $.on(document, At, Ct, Mt.dataApiKeydownHandler),
- $.on(document, At, kt, Mt.dataApiKeydownHandler),
- $.on(document, wt, Mt.clearMenus),
- $.on(document, 'keyup.bs.dropdown.data-api', Mt.clearMenus),
- $.on(document, wt, Ct, function (t) {
- t.preventDefault(), Mt.getOrCreateInstance(this).toggle();
+ j.on(document, wt, Et, xt.dataApiKeydownHandler),
+ j.on(document, wt, Tt, xt.dataApiKeydownHandler),
+ j.on(document, yt, xt.clearMenus),
+ j.on(document, 'keyup.bs.dropdown.data-api', xt.clearMenus),
+ j.on(document, yt, Et, function (t) {
+ t.preventDefault(), xt.getOrCreateInstance(this).toggle();
}),
- b(Mt);
- const jt = '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
- $t = '.sticky-top',
- Ft = 'padding-right',
- zt = 'margin-right';
- class Ht {
+ m(xt);
+ const Mt = '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
+ jt = '.sticky-top',
+ $t = 'padding-right',
+ Ft = 'margin-right';
+ class zt {
constructor() {
this._element = document.body;
}
@@ -1326,15 +1321,15 @@
hide() {
const t = this.getWidth();
this._disableOverFlow(),
- this._setElementAttributes(this._element, Ft, (e) => e + t),
- this._setElementAttributes(jt, Ft, (e) => e + t),
- this._setElementAttributes($t, zt, (e) => e - t);
+ this._setElementAttributes(this._element, $t, (e) => e + t),
+ this._setElementAttributes(Mt, $t, (e) => e + t),
+ this._setElementAttributes(jt, Ft, (e) => e - t);
}
reset() {
this._resetElementAttributes(this._element, 'overflow'),
- this._resetElementAttributes(this._element, Ft),
- this._resetElementAttributes(jt, Ft),
- this._resetElementAttributes($t, zt);
+ this._resetElementAttributes(this._element, $t),
+ this._resetElementAttributes(Mt, $t),
+ this._resetElementAttributes(jt, Ft);
}
isOverflowing() {
return this.getWidth() > 0;
@@ -1355,38 +1350,38 @@
}
_saveInitialAttribute(t, e) {
const i = t.style.getPropertyValue(e);
- i && W.setDataAttribute(t, e, i);
+ i && B.setDataAttribute(t, e, i);
}
_resetElementAttributes(t, e) {
this._applyManipulationCallback(t, (t) => {
- const i = W.getDataAttribute(t, e);
+ const i = B.getDataAttribute(t, e);
null !== i
- ? (W.removeDataAttribute(t, e), t.style.setProperty(e, i))
+ ? (B.removeDataAttribute(t, e), t.style.setProperty(e, i))
: t.style.removeProperty(e);
});
}
_applyManipulationCallback(t, e) {
- if (l(t)) e(t);
- else for (const i of U.find(t, this._element)) e(i);
+ if (a(t)) e(t);
+ else for (const i of Y.find(t, this._element)) e(i);
}
}
- const qt = 'show',
- Bt = 'mousedown.bs.backdrop',
- Wt = {
+ const Ht = 'show',
+ qt = 'mousedown.bs.backdrop',
+ Bt = {
className: 'modal-backdrop',
clickCallback: null,
isAnimated: !1,
isVisible: !0,
rootElement: 'body',
},
- Rt = {
+ Wt = {
className: 'string',
clickCallback: '(function|null)',
isAnimated: 'boolean',
isVisible: 'boolean',
rootElement: '(element|string)',
};
- class Vt extends R {
+ class Rt extends W {
constructor(t) {
super(),
(this._config = this._getConfig(t)),
@@ -1394,35 +1389,35 @@
(this._element = null);
}
static get Default() {
- return Wt;
+ return Bt;
}
static get DefaultType() {
- return Rt;
+ return Wt;
}
static get NAME() {
return 'backdrop';
}
show(t) {
- if (!this._config.isVisible) return void v(t);
+ if (!this._config.isVisible) return void b(t);
this._append();
const e = this._getElement();
- this._config.isAnimated && g(e),
- e.classList.add(qt),
+ this._config.isAnimated && _(e),
+ e.classList.add(Ht),
this._emulateAnimation(() => {
- v(t);
+ b(t);
});
}
hide(t) {
this._config.isVisible
- ? (this._getElement().classList.remove(qt),
+ ? (this._getElement().classList.remove(Ht),
this._emulateAnimation(() => {
- this.dispose(), v(t);
+ this.dispose(), b(t);
}))
- : v(t);
+ : b(t);
}
dispose() {
this._isAppended &&
- ($.off(this._element, Bt),
+ (j.off(this._element, qt),
this._element.remove(),
(this._isAppended = !1));
}
@@ -1436,26 +1431,26 @@
return this._element;
}
_configAfterMerge(t) {
- return (t.rootElement = c(t.rootElement)), t;
+ return (t.rootElement = l(t.rootElement)), t;
}
_append() {
if (this._isAppended) return;
const t = this._getElement();
this._config.rootElement.append(t),
- $.on(t, Bt, () => {
- v(this._config.clickCallback);
+ j.on(t, qt, () => {
+ b(this._config.clickCallback);
}),
(this._isAppended = !0);
}
_emulateAnimation(t) {
- y(t, this._getElement(), this._config.isAnimated);
+ v(t, this._getElement(), this._config.isAnimated);
}
}
- const Kt = '.bs.focustrap',
- Qt = 'backward',
- Xt = { autofocus: !0, trapElement: null },
- Yt = { autofocus: 'boolean', trapElement: 'element' };
- class Ut extends R {
+ const Vt = '.bs.focustrap',
+ Kt = 'backward',
+ Qt = { autofocus: !0, trapElement: null },
+ Xt = { autofocus: 'boolean', trapElement: 'element' };
+ class Yt extends W {
constructor(t) {
super(),
(this._config = this._getConfig(t)),
@@ -1463,10 +1458,10 @@
(this._lastTabNavDirection = null);
}
static get Default() {
- return Xt;
+ return Qt;
}
static get DefaultType() {
- return Yt;
+ return Xt;
}
static get NAME() {
return 'focustrap';
@@ -1474,59 +1469,59 @@
activate() {
this._isActive ||
(this._config.autofocus && this._config.trapElement.focus(),
- $.off(document, Kt),
- $.on(document, 'focusin.bs.focustrap', (t) => this._handleFocusin(t)),
- $.on(document, 'keydown.tab.bs.focustrap', (t) =>
+ j.off(document, Vt),
+ j.on(document, 'focusin.bs.focustrap', (t) => this._handleFocusin(t)),
+ j.on(document, 'keydown.tab.bs.focustrap', (t) =>
this._handleKeydown(t)
),
(this._isActive = !0));
}
deactivate() {
- this._isActive && ((this._isActive = !1), $.off(document, Kt));
+ this._isActive && ((this._isActive = !1), j.off(document, Vt));
}
_handleFocusin(t) {
const { trapElement: e } = this._config;
if (t.target === document || t.target === e || e.contains(t.target))
return;
- const i = U.focusableChildren(e);
+ const i = Y.focusableChildren(e);
0 === i.length
? e.focus()
- : this._lastTabNavDirection === Qt
+ : this._lastTabNavDirection === Kt
? i[i.length - 1].focus()
: i[0].focus();
}
_handleKeydown(t) {
'Tab' === t.key &&
- (this._lastTabNavDirection = t.shiftKey ? Qt : 'forward');
+ (this._lastTabNavDirection = t.shiftKey ? Kt : 'forward');
}
}
- const Gt = 'hidden.bs.modal',
- Jt = 'show.bs.modal',
- Zt = 'modal-open',
- te = 'show',
- ee = 'modal-static',
- ie = { backdrop: !0, focus: !0, keyboard: !0 },
- se = {
+ const Ut = 'hidden.bs.modal',
+ Gt = 'show.bs.modal',
+ Jt = 'modal-open',
+ Zt = 'show',
+ te = 'modal-static',
+ ee = { backdrop: !0, focus: !0, keyboard: !0 },
+ ie = {
backdrop: '(boolean|string)',
focus: 'boolean',
keyboard: 'boolean',
};
- class ne extends V {
+ class se extends R {
constructor(t, e) {
super(t, e),
- (this._dialog = U.findOne('.modal-dialog', this._element)),
+ (this._dialog = Y.findOne('.modal-dialog', this._element)),
(this._backdrop = this._initializeBackDrop()),
(this._focustrap = this._initializeFocusTrap()),
(this._isShown = !1),
(this._isTransitioning = !1),
- (this._scrollBar = new Ht()),
+ (this._scrollBar = new zt()),
this._addEventListeners();
}
static get Default() {
- return ie;
+ return ee;
}
static get DefaultType() {
- return se;
+ return ie;
}
static get NAME() {
return 'modal';
@@ -1537,22 +1532,22 @@
show(t) {
this._isShown ||
this._isTransitioning ||
- $.trigger(this._element, Jt, { relatedTarget: t }).defaultPrevented ||
+ j.trigger(this._element, Gt, { relatedTarget: t }).defaultPrevented ||
((this._isShown = !0),
(this._isTransitioning = !0),
this._scrollBar.hide(),
- document.body.classList.add(Zt),
+ document.body.classList.add(Jt),
this._adjustDialog(),
this._backdrop.show(() => this._showElement(t)));
}
hide() {
this._isShown &&
!this._isTransitioning &&
- ($.trigger(this._element, 'hide.bs.modal').defaultPrevented ||
+ (j.trigger(this._element, 'hide.bs.modal').defaultPrevented ||
((this._isShown = !1),
(this._isTransitioning = !0),
this._focustrap.deactivate(),
- this._element.classList.remove(te),
+ this._element.classList.remove(Zt),
this._queueCallback(
() => this._hideModal(),
this._element,
@@ -1560,20 +1555,20 @@
)));
}
dispose() {
- for (const t of [window, this._dialog]) $.off(t, '.bs.modal');
+ for (const t of [window, this._dialog]) j.off(t, '.bs.modal');
this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose();
}
handleUpdate() {
this._adjustDialog();
}
_initializeBackDrop() {
- return new Vt({
+ return new Rt({
isVisible: Boolean(this._config.backdrop),
isAnimated: this._isAnimated(),
});
}
_initializeFocusTrap() {
- return new Ut({ trapElement: this._element });
+ return new Yt({ trapElement: this._element });
}
_showElement(t) {
document.body.contains(this._element) ||
@@ -1583,32 +1578,32 @@
this._element.setAttribute('aria-modal', !0),
this._element.setAttribute('role', 'dialog'),
(this._element.scrollTop = 0);
- const e = U.findOne('.modal-body', this._dialog);
+ const e = Y.findOne('.modal-body', this._dialog);
e && (e.scrollTop = 0),
- g(this._element),
- this._element.classList.add(te),
+ _(this._element),
+ this._element.classList.add(Zt),
this._queueCallback(
() => {
this._config.focus && this._focustrap.activate(),
(this._isTransitioning = !1),
- $.trigger(this._element, 'shown.bs.modal', { relatedTarget: t });
+ j.trigger(this._element, 'shown.bs.modal', { relatedTarget: t });
},
this._dialog,
this._isAnimated()
);
}
_addEventListeners() {
- $.on(this._element, 'keydown.dismiss.bs.modal', (t) => {
+ j.on(this._element, 'keydown.dismiss.bs.modal', (t) => {
if ('Escape' === t.key)
return this._config.keyboard
? (t.preventDefault(), void this.hide())
: void this._triggerBackdropTransition();
}),
- $.on(window, 'resize.bs.modal', () => {
+ j.on(window, 'resize.bs.modal', () => {
this._isShown && !this._isTransitioning && this._adjustDialog();
}),
- $.on(this._element, 'mousedown.dismiss.bs.modal', (t) => {
- $.one(this._element, 'click.dismiss.bs.modal', (e) => {
+ j.on(this._element, 'mousedown.dismiss.bs.modal', (t) => {
+ j.one(this._element, 'click.dismiss.bs.modal', (e) => {
this._element === t.target &&
this._element === e.target &&
('static' !== this._config.backdrop
@@ -1624,27 +1619,27 @@
this._element.removeAttribute('role'),
(this._isTransitioning = !1),
this._backdrop.hide(() => {
- document.body.classList.remove(Zt),
+ document.body.classList.remove(Jt),
this._resetAdjustments(),
this._scrollBar.reset(),
- $.trigger(this._element, Gt);
+ j.trigger(this._element, Ut);
});
}
_isAnimated() {
return this._element.classList.contains('fade');
}
_triggerBackdropTransition() {
- if ($.trigger(this._element, 'hidePrevented.bs.modal').defaultPrevented)
+ if (j.trigger(this._element, 'hidePrevented.bs.modal').defaultPrevented)
return;
const t =
this._element.scrollHeight > document.documentElement.clientHeight,
e = this._element.style.overflowY;
'hidden' === e ||
- this._element.classList.contains(ee) ||
+ this._element.classList.contains(te) ||
(t || (this._element.style.overflowY = 'hidden'),
- this._element.classList.add(ee),
+ this._element.classList.add(te),
this._queueCallback(() => {
- this._element.classList.remove(ee),
+ this._element.classList.remove(te),
this._queueCallback(() => {
this._element.style.overflowY = e;
}, this._dialog);
@@ -1657,11 +1652,11 @@
e = this._scrollBar.getWidth(),
i = e > 0;
if (i && !t) {
- const t = m() ? 'paddingLeft' : 'paddingRight';
+ const t = p() ? 'paddingLeft' : 'paddingRight';
this._element.style[t] = `${e}px`;
}
if (!i && t) {
- const t = m() ? 'paddingRight' : 'paddingLeft';
+ const t = p() ? 'paddingRight' : 'paddingLeft';
this._element.style[t] = `${e}px`;
}
}
@@ -1671,7 +1666,7 @@
}
static jQueryInterface(t, e) {
return this.each(function () {
- const i = ne.getOrCreateInstance(this, t);
+ const i = se.getOrCreateInstance(this, t);
if ('string' == typeof t) {
if (void 0 === i[t]) throw new TypeError(`No method named "${t}"`);
i[t](e);
@@ -1679,38 +1674,38 @@
});
}
}
- $.on(
+ j.on(
document,
'click.bs.modal.data-api',
'[data-bs-toggle="modal"]',
function (t) {
- const e = r(this);
+ const e = o(this);
['A', 'AREA'].includes(this.tagName) && t.preventDefault(),
- $.one(e, Jt, (t) => {
+ j.one(e, Gt, (t) => {
t.defaultPrevented ||
- $.one(e, Gt, () => {
- h(this) && this.focus();
+ j.one(e, Ut, () => {
+ c(this) && this.focus();
});
});
- const i = U.findOne('.modal.show');
- i && ne.getInstance(i).hide(), ne.getOrCreateInstance(e).toggle(this);
+ const i = Y.findOne('.modal.show');
+ i && se.getInstance(i).hide(), se.getOrCreateInstance(e).toggle(this);
}
),
- K(ne),
- b(ne);
- const oe = 'show',
- re = 'showing',
- ae = 'hiding',
- le = '.offcanvas.show',
- ce = 'hidePrevented.bs.offcanvas',
- he = 'hidden.bs.offcanvas',
- de = { backdrop: !0, keyboard: !0, scroll: !1 },
- ue = {
+ V(se),
+ m(se);
+ const ne = 'show',
+ oe = 'showing',
+ re = 'hiding',
+ ae = '.offcanvas.show',
+ le = 'hidePrevented.bs.offcanvas',
+ ce = 'hidden.bs.offcanvas',
+ he = { backdrop: !0, keyboard: !0, scroll: !1 },
+ de = {
backdrop: '(boolean|string)',
keyboard: 'boolean',
scroll: 'boolean',
};
- class _e extends V {
+ class ue extends R {
constructor(t, e) {
super(t, e),
(this._isShown = !1),
@@ -1719,10 +1714,10 @@
this._addEventListeners();
}
static get Default() {
- return de;
+ return he;
}
static get DefaultType() {
- return ue;
+ return de;
}
static get NAME() {
return 'offcanvas';
@@ -1732,21 +1727,21 @@
}
show(t) {
this._isShown ||
- $.trigger(this._element, 'show.bs.offcanvas', { relatedTarget: t })
+ j.trigger(this._element, 'show.bs.offcanvas', { relatedTarget: t })
.defaultPrevented ||
((this._isShown = !0),
this._backdrop.show(),
- this._config.scroll || new Ht().hide(),
+ this._config.scroll || new zt().hide(),
this._element.setAttribute('aria-modal', !0),
this._element.setAttribute('role', 'dialog'),
- this._element.classList.add(re),
+ this._element.classList.add(oe),
this._queueCallback(
() => {
(this._config.scroll && !this._config.backdrop) ||
this._focustrap.activate(),
- this._element.classList.add(oe),
- this._element.classList.remove(re),
- $.trigger(this._element, 'shown.bs.offcanvas', {
+ this._element.classList.add(ne),
+ this._element.classList.remove(oe),
+ j.trigger(this._element, 'shown.bs.offcanvas', {
relatedTarget: t,
});
},
@@ -1756,19 +1751,19 @@
}
hide() {
this._isShown &&
- ($.trigger(this._element, 'hide.bs.offcanvas').defaultPrevented ||
+ (j.trigger(this._element, 'hide.bs.offcanvas').defaultPrevented ||
(this._focustrap.deactivate(),
this._element.blur(),
(this._isShown = !1),
- this._element.classList.add(ae),
+ this._element.classList.add(re),
this._backdrop.hide(),
this._queueCallback(
() => {
- this._element.classList.remove(oe, ae),
+ this._element.classList.remove(ne, re),
this._element.removeAttribute('aria-modal'),
this._element.removeAttribute('role'),
- this._config.scroll || new Ht().reset(),
- $.trigger(this._element, he);
+ this._config.scroll || new zt().reset(),
+ j.trigger(this._element, ce);
},
this._element,
!0
@@ -1779,7 +1774,7 @@
}
_initializeBackDrop() {
const t = Boolean(this._config.backdrop);
- return new Vt({
+ return new Rt({
className: 'offcanvas-backdrop',
isVisible: t,
isAnimated: !0,
@@ -1788,23 +1783,23 @@
? () => {
'static' !== this._config.backdrop
? this.hide()
- : $.trigger(this._element, ce);
+ : j.trigger(this._element, le);
}
: null,
});
}
_initializeFocusTrap() {
- return new Ut({ trapElement: this._element });
+ return new Yt({ trapElement: this._element });
}
_addEventListeners() {
- $.on(this._element, 'keydown.dismiss.bs.offcanvas', (t) => {
+ j.on(this._element, 'keydown.dismiss.bs.offcanvas', (t) => {
'Escape' === t.key &&
- (this._config.keyboard ? this.hide() : $.trigger(this._element, ce));
+ (this._config.keyboard ? this.hide() : j.trigger(this._element, le));
});
}
static jQueryInterface(t) {
return this.each(function () {
- const e = _e.getOrCreateInstance(this, t);
+ const e = ue.getOrCreateInstance(this, t);
if ('string' == typeof t) {
if (void 0 === e[t] || t.startsWith('_') || 'constructor' === t)
throw new TypeError(`No method named "${t}"`);
@@ -1813,33 +1808,33 @@
});
}
}
- $.on(
+ j.on(
document,
'click.bs.offcanvas.data-api',
'[data-bs-toggle="offcanvas"]',
function (t) {
- const e = r(this);
- if ((['A', 'AREA'].includes(this.tagName) && t.preventDefault(), d(this)))
+ const e = o(this);
+ if ((['A', 'AREA'].includes(this.tagName) && t.preventDefault(), h(this)))
return;
- $.one(e, he, () => {
- h(this) && this.focus();
+ j.one(e, ce, () => {
+ c(this) && this.focus();
});
- const i = U.findOne(le);
- i && i !== e && _e.getInstance(i).hide(),
- _e.getOrCreateInstance(e).toggle(this);
+ const i = Y.findOne(ae);
+ i && i !== e && ue.getInstance(i).hide(),
+ ue.getOrCreateInstance(e).toggle(this);
}
),
- $.on(window, 'load.bs.offcanvas.data-api', () => {
- for (const t of U.find(le)) _e.getOrCreateInstance(t).show();
+ j.on(window, 'load.bs.offcanvas.data-api', () => {
+ for (const t of Y.find(ae)) ue.getOrCreateInstance(t).show();
}),
- $.on(window, 'resize.bs.offcanvas', () => {
- for (const t of U.find('[aria-modal][class*=show][class*=offcanvas-]'))
+ j.on(window, 'resize.bs.offcanvas', () => {
+ for (const t of Y.find('[aria-modal][class*=show][class*=offcanvas-]'))
'fixed' !== getComputedStyle(t).position &&
- _e.getOrCreateInstance(t).hide();
+ ue.getOrCreateInstance(t).hide();
}),
- K(_e),
- b(_e);
- const ge = new Set([
+ V(ue),
+ m(ue);
+ const _e = new Set([
'background',
'cite',
'href',
@@ -1849,16 +1844,16 @@
'src',
'xlink:href',
]),
- fe = /^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,
- pe =
+ ge = /^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,
+ fe =
/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,
- me = (t, e) => {
+ pe = (t, e) => {
const i = t.nodeName.toLowerCase();
return e.includes(i)
- ? !ge.has(i) || Boolean(fe.test(t.nodeValue) || pe.test(t.nodeValue))
+ ? !_e.has(i) || Boolean(ge.test(t.nodeValue) || fe.test(t.nodeValue))
: e.filter((t) => t instanceof RegExp).some((t) => t.test(i));
},
- be = {
+ me = {
'*': ['class', 'dir', 'id', 'lang', 'role', /^aria-[\w-]*$/i],
a: ['target', 'href', 'title', 'rel'],
area: [],
@@ -1890,8 +1885,8 @@
u: [],
ul: [],
},
- ve = {
- allowList: be,
+ be = {
+ allowList: me,
content: {},
extraClass: '',
html: !1,
@@ -1899,7 +1894,7 @@
sanitizeFn: null,
template: '
',
},
- ye = {
+ ve = {
allowList: 'object',
content: 'object',
extraClass: '(string|function)',
@@ -1908,19 +1903,19 @@
sanitizeFn: '(null|function)',
template: 'string',
},
- we = {
+ ye = {
entry: '(string|element|function|null)',
selector: '(string|element)',
};
- class Ae extends R {
+ class we extends W {
constructor(t) {
super(), (this._config = this._getConfig(t));
}
static get Default() {
- return ve;
+ return be;
}
static get DefaultType() {
- return ye;
+ return ve;
}
static get NAME() {
return 'TemplateFactory';
@@ -1954,14 +1949,14 @@
}
_checkContent(t) {
for (const [e, i] of Object.entries(t))
- super._typeCheckConfig({ selector: e, entry: i }, we);
+ super._typeCheckConfig({ selector: e, entry: i }, ye);
}
_setContent(t, e, i) {
- const s = U.findOne(i, t);
+ const s = Y.findOne(i, t);
s &&
((e = this._resolvePossibleFunction(e))
- ? l(e)
- ? this._putElementInTemplate(c(e), s)
+ ? a(e)
+ ? this._putElementInTemplate(l(e), s)
: this._config.html
? (s.innerHTML = this._maybeSanitize(e))
: (s.textContent = e)
@@ -1982,7 +1977,7 @@
}
const s = [].concat(...t.attributes),
n = [].concat(e['*'] || [], e[i] || []);
- for (const e of s) me(e, n) || t.removeAttribute(e.nodeName);
+ for (const e of s) pe(e, n) || t.removeAttribute(e.nodeName);
}
return s.body.innerHTML;
})(t, this._config.allowList, this._config.sanitizeFn)
@@ -1996,22 +1991,22 @@
e.textContent = t.textContent;
}
}
- const Ee = new Set(['sanitize', 'allowList', 'sanitizeFn']),
- Ce = 'fade',
- Te = 'show',
- ke = '.modal',
- Le = 'hide.bs.modal',
- Oe = 'hover',
- Ie = 'focus',
- Se = {
+ const Ae = new Set(['sanitize', 'allowList', 'sanitizeFn']),
+ Ee = 'fade',
+ Ce = 'show',
+ Te = '.modal',
+ ke = 'hide.bs.modal',
+ Le = 'hover',
+ Oe = 'focus',
+ Ie = {
AUTO: 'auto',
TOP: 'top',
- RIGHT: m() ? 'left' : 'right',
+ RIGHT: p() ? 'left' : 'right',
BOTTOM: 'bottom',
- LEFT: m() ? 'right' : 'left',
+ LEFT: p() ? 'right' : 'left',
},
- De = {
- allowList: be,
+ Se = {
+ allowList: me,
animation: !0,
boundary: 'clippingParents',
container: !1,
@@ -2030,7 +2025,7 @@
title: '',
trigger: 'hover focus',
},
- Ne = {
+ De = {
allowList: 'object',
animation: 'boolean',
boundary: '(string|element)',
@@ -2049,13 +2044,13 @@
title: '(string|element|function)',
trigger: 'string',
};
- class Pe extends V {
- constructor(t, e) {
- if (void 0 === i)
+ class Ne extends R {
+ constructor(t, i) {
+ if (void 0 === e)
throw new TypeError(
"Bootstrap's tooltips require Popper (https://popper.js.org)"
);
- super(t, e),
+ super(t, i),
(this._isEnabled = !0),
(this._timeout = 0),
(this._isHovered = null),
@@ -2068,10 +2063,10 @@
this._config.selector || this._fixTitle();
}
static get Default() {
- return De;
+ return Se;
}
static get DefaultType() {
- return Ne;
+ return De;
}
static get NAME() {
return 'tooltip';
@@ -2092,7 +2087,7 @@
}
dispose() {
clearTimeout(this._timeout),
- $.off(this._element.closest(ke), Le, this._hideModalHandler),
+ j.off(this._element.closest(Te), ke, this._hideModalHandler),
this._element.getAttribute('data-bs-original-title') &&
this._element.setAttribute(
'title',
@@ -2105,9 +2100,9 @@
if ('none' === this._element.style.display)
throw new Error('Please use show on visible elements');
if (!this._isWithContent() || !this._isEnabled) return;
- const t = $.trigger(this._element, this.constructor.eventName('show')),
+ const t = j.trigger(this._element, this.constructor.eventName('show')),
e = (
- u(this._element) || this._element.ownerDocument.documentElement
+ d(this._element) || this._element.ownerDocument.documentElement
).contains(this._element);
if (t.defaultPrevented || !e) return;
this._disposePopper();
@@ -2117,16 +2112,16 @@
if (
(this._element.ownerDocument.documentElement.contains(this.tip) ||
(s.append(i),
- $.trigger(this._element, this.constructor.eventName('inserted'))),
+ j.trigger(this._element, this.constructor.eventName('inserted'))),
(this._popper = this._createPopper(i)),
- i.classList.add(Te),
+ i.classList.add(Ce),
'ontouchstart' in document.documentElement)
)
for (const t of [].concat(...document.body.children))
- $.on(t, 'mouseover', _);
+ j.on(t, 'mouseover', u);
this._queueCallback(
() => {
- $.trigger(this._element, this.constructor.eventName('shown')),
+ j.trigger(this._element, this.constructor.eventName('shown')),
!1 === this._isHovered && this._leave(),
(this._isHovered = !1);
},
@@ -2137,15 +2132,15 @@
hide() {
if (
this._isShown() &&
- !$.trigger(this._element, this.constructor.eventName('hide'))
+ !j.trigger(this._element, this.constructor.eventName('hide'))
.defaultPrevented
) {
if (
- (this._getTipElement().classList.remove(Te),
+ (this._getTipElement().classList.remove(Ce),
'ontouchstart' in document.documentElement)
)
for (const t of [].concat(...document.body.children))
- $.off(t, 'mouseover', _);
+ j.off(t, 'mouseover', u);
(this._activeTrigger.click = !1),
(this._activeTrigger.focus = !1),
(this._activeTrigger.hover = !1),
@@ -2155,7 +2150,7 @@
this._isWithActiveTrigger() ||
(this._isHovered || this._disposePopper(),
this._element.removeAttribute('aria-describedby'),
- $.trigger(this._element, this.constructor.eventName('hidden')));
+ j.trigger(this._element, this.constructor.eventName('hidden')));
},
this.tip,
this._isAnimated()
@@ -2180,7 +2175,7 @@
_createTipElement(t) {
const e = this._getTemplateFactory(t).toHtml();
if (!e) return null;
- e.classList.remove(Ce, Te),
+ e.classList.remove(Ee, Ce),
e.classList.add(`bs-${this.constructor.NAME}-auto`);
const i = ((t) => {
do {
@@ -2189,7 +2184,7 @@
return t;
})(this.constructor.NAME).toString();
return (
- e.setAttribute('id', i), this._isAnimated() && e.classList.add(Ce), e
+ e.setAttribute('id', i), this._isAnimated() && e.classList.add(Ee), e
);
}
setContent(t) {
@@ -2200,7 +2195,7 @@
return (
this._templateFactory
? this._templateFactory.changeContent(t)
- : (this._templateFactory = new Ae({
+ : (this._templateFactory = new we({
...this._config,
content: t,
extraClass: this._resolvePossibleFunction(
@@ -2227,19 +2222,19 @@
}
_isAnimated() {
return (
- this._config.animation || (this.tip && this.tip.classList.contains(Ce))
+ this._config.animation || (this.tip && this.tip.classList.contains(Ee))
);
}
_isShown() {
- return this.tip && this.tip.classList.contains(Te);
+ return this.tip && this.tip.classList.contains(Ce);
}
_createPopper(t) {
- const e =
+ const i =
'function' == typeof this._config.placement
? this._config.placement.call(this, t, this._element)
: this._config.placement,
- s = Se[e.toUpperCase()];
- return i.createPopper(this._element, t, this._getPopperConfig(s));
+ s = Ie[i.toUpperCase()];
+ return e.createPopper(this._element, t, this._getPopperConfig(s));
}
_getOffset() {
const { offset: t } = this._config;
@@ -2293,7 +2288,7 @@
const t = this._config.trigger.split(' ');
for (const e of t)
if ('click' === e)
- $.on(
+ j.on(
this._element,
this.constructor.eventName('click'),
this._config.selector,
@@ -2303,20 +2298,20 @@
);
else if ('manual' !== e) {
const t =
- e === Oe
+ e === Le
? this.constructor.eventName('mouseenter')
: this.constructor.eventName('focusin'),
i =
- e === Oe
+ e === Le
? this.constructor.eventName('mouseleave')
: this.constructor.eventName('focusout');
- $.on(this._element, t, this._config.selector, (t) => {
+ j.on(this._element, t, this._config.selector, (t) => {
const e = this._initializeOnDelegatedTarget(t);
- (e._activeTrigger['focusin' === t.type ? Ie : Oe] = !0), e._enter();
+ (e._activeTrigger['focusin' === t.type ? Oe : Le] = !0), e._enter();
}),
- $.on(this._element, i, this._config.selector, (t) => {
+ j.on(this._element, i, this._config.selector, (t) => {
const e = this._initializeOnDelegatedTarget(t);
- (e._activeTrigger['focusout' === t.type ? Ie : Oe] =
+ (e._activeTrigger['focusout' === t.type ? Oe : Le] =
e._element.contains(t.relatedTarget)),
e._leave();
});
@@ -2324,7 +2319,7 @@
(this._hideModalHandler = () => {
this._element && this.hide();
}),
- $.on(this._element.closest(ke), Le, this._hideModalHandler);
+ j.on(this._element.closest(Te), ke, this._hideModalHandler);
}
_fixTitle() {
const t = this._element.getAttribute('title');
@@ -2357,8 +2352,8 @@
return Object.values(this._activeTrigger).includes(!0);
}
_getConfig(t) {
- const e = W.getDataAttributes(this._element);
- for (const t of Object.keys(e)) Ee.has(t) && delete e[t];
+ const e = B.getDataAttributes(this._element);
+ for (const t of Object.keys(e)) Ae.has(t) && delete e[t];
return (
(t = { ...e, ...('object' == typeof t && t ? t : {}) }),
(t = this._mergeConfigObj(t)),
@@ -2369,7 +2364,7 @@
}
_configAfterMerge(t) {
return (
- (t.container = !1 === t.container ? document.body : c(t.container)),
+ (t.container = !1 === t.container ? document.body : l(t.container)),
'number' == typeof t.delay &&
(t.delay = { show: t.delay, hide: t.delay }),
'number' == typeof t.title && (t.title = t.title.toString()),
@@ -2390,7 +2385,7 @@
}
static jQueryInterface(t) {
return this.each(function () {
- const e = Pe.getOrCreateInstance(this, t);
+ const e = Ne.getOrCreateInstance(this, t);
if ('string' == typeof t) {
if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`);
e[t]();
@@ -2398,9 +2393,9 @@
});
}
}
- b(Pe);
- const xe = {
- ...Pe.Default,
+ m(Ne);
+ const Pe = {
+ ...Ne.Default,
content: '',
offset: [0, 8],
placement: 'right',
@@ -2408,13 +2403,13 @@
'',
trigger: 'click',
},
- Me = { ...Pe.DefaultType, content: '(null|string|element|function)' };
- class je extends Pe {
+ xe = { ...Ne.DefaultType, content: '(null|string|element|function)' };
+ class Me extends Ne {
static get Default() {
- return xe;
+ return Pe;
}
static get DefaultType() {
- return Me;
+ return xe;
}
static get NAME() {
return 'popover';
@@ -2433,7 +2428,7 @@
}
static jQueryInterface(t) {
return this.each(function () {
- const e = je.getOrCreateInstance(this, t);
+ const e = Me.getOrCreateInstance(this, t);
if ('string' == typeof t) {
if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`);
e[t]();
@@ -2441,25 +2436,25 @@
});
}
}
- b(je);
- const $e = 'click.bs.scrollspy',
- Fe = 'active',
- ze = '[href]',
- He = {
+ m(Me);
+ const je = 'click.bs.scrollspy',
+ $e = 'active',
+ Fe = '[href]',
+ ze = {
offset: null,
rootMargin: '0px 0px -25%',
smoothScroll: !1,
target: null,
threshold: [0.1, 0.5, 1],
},
- qe = {
+ He = {
offset: '(number|null)',
rootMargin: 'string',
smoothScroll: 'boolean',
target: 'element',
threshold: 'array',
};
- class Be extends V {
+ class qe extends R {
constructor(t, e) {
super(t, e),
(this._targetLinks = new Map()),
@@ -2474,10 +2469,10 @@
this.refresh();
}
static get Default() {
- return He;
+ return ze;
}
static get DefaultType() {
- return qe;
+ return He;
}
static get NAME() {
return 'scrollspy';
@@ -2496,7 +2491,7 @@
}
_configAfterMerge(t) {
return (
- (t.target = c(t.target) || document.body),
+ (t.target = l(t.target) || document.body),
(t.rootMargin = t.offset ? `${t.offset}px 0px -30%` : t.rootMargin),
'string' == typeof t.threshold &&
(t.threshold = t.threshold
@@ -2507,8 +2502,8 @@
}
_maybeEnableSmoothScroll() {
this._config.smoothScroll &&
- ($.off(this._config.target, $e),
- $.on(this._config.target, $e, ze, (t) => {
+ (j.off(this._config.target, je),
+ j.on(this._config.target, je, Fe, (t) => {
const e = this._observableSections.get(t.target.hash);
if (e) {
t.preventDefault();
@@ -2551,11 +2546,11 @@
}
_initializeTargetsAndObservables() {
(this._targetLinks = new Map()), (this._observableSections = new Map());
- const t = U.find(ze, this._config.target);
+ const t = Y.find(Fe, this._config.target);
for (const e of t) {
- if (!e.hash || d(e)) continue;
- const t = U.findOne(e.hash, this._element);
- h(t) &&
+ if (!e.hash || h(e)) continue;
+ const t = Y.findOne(e.hash, this._element);
+ c(t) &&
(this._targetLinks.set(e.hash, e),
this._observableSections.set(e.hash, t));
}
@@ -2564,31 +2559,31 @@
this._activeTarget !== t &&
(this._clearActiveClass(this._config.target),
(this._activeTarget = t),
- t.classList.add(Fe),
+ t.classList.add($e),
this._activateParents(t),
- $.trigger(this._element, 'activate.bs.scrollspy', {
+ j.trigger(this._element, 'activate.bs.scrollspy', {
relatedTarget: t,
}));
}
_activateParents(t) {
if (t.classList.contains('dropdown-item'))
- U.findOne('.dropdown-toggle', t.closest('.dropdown')).classList.add(Fe);
+ Y.findOne('.dropdown-toggle', t.closest('.dropdown')).classList.add($e);
else
- for (const e of U.parents(t, '.nav, .list-group'))
- for (const t of U.prev(
+ for (const e of Y.parents(t, '.nav, .list-group'))
+ for (const t of Y.prev(
e,
'.nav-link, .nav-item > .nav-link, .list-group-item'
))
- t.classList.add(Fe);
+ t.classList.add($e);
}
_clearActiveClass(t) {
- t.classList.remove(Fe);
- const e = U.find('[href].active', t);
- for (const t of e) t.classList.remove(Fe);
+ t.classList.remove($e);
+ const e = Y.find('[href].active', t);
+ for (const t of e) t.classList.remove($e);
}
static jQueryInterface(t) {
return this.each(function () {
- const e = Be.getOrCreateInstance(this, t);
+ const e = qe.getOrCreateInstance(this, t);
if ('string' == typeof t) {
if (void 0 === e[t] || t.startsWith('_') || 'constructor' === t)
throw new TypeError(`No method named "${t}"`);
@@ -2597,21 +2592,21 @@
});
}
}
- $.on(window, 'load.bs.scrollspy.data-api', () => {
- for (const t of U.find('[data-bs-spy="scroll"]')) Be.getOrCreateInstance(t);
+ j.on(window, 'load.bs.scrollspy.data-api', () => {
+ for (const t of Y.find('[data-bs-spy="scroll"]')) qe.getOrCreateInstance(t);
}),
- b(Be);
- const We = 'ArrowLeft',
- Re = 'ArrowRight',
- Ve = 'ArrowUp',
- Ke = 'ArrowDown',
- Qe = 'active',
- Xe = 'fade',
- Ye = 'show',
- Ue =
+ m(qe);
+ const Be = 'ArrowLeft',
+ We = 'ArrowRight',
+ Re = 'ArrowUp',
+ Ve = 'ArrowDown',
+ Ke = 'active',
+ Qe = 'fade',
+ Xe = 'show',
+ Ye =
'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',
- Ge = `.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${Ue}`;
- class Je extends V {
+ Ue = `.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${Ye}`;
+ class Ge extends R {
constructor(t) {
super(t),
(this._parent = this._element.closest(
@@ -2619,7 +2614,7 @@
)),
this._parent &&
(this._setInitialAttributes(this._parent, this._getChildren()),
- $.on(this._element, 'keydown.bs.tab', (t) => this._keydown(t)));
+ j.on(this._element, 'keydown.bs.tab', (t) => this._keydown(t)));
}
static get NAME() {
return 'tab';
@@ -2628,60 +2623,60 @@
const t = this._element;
if (this._elemIsActive(t)) return;
const e = this._getActiveElem(),
- i = e ? $.trigger(e, 'hide.bs.tab', { relatedTarget: t }) : null;
- $.trigger(t, 'show.bs.tab', { relatedTarget: e }).defaultPrevented ||
+ i = e ? j.trigger(e, 'hide.bs.tab', { relatedTarget: t }) : null;
+ j.trigger(t, 'show.bs.tab', { relatedTarget: e }).defaultPrevented ||
(i && i.defaultPrevented) ||
(this._deactivate(e, t), this._activate(t, e));
}
_activate(t, e) {
t &&
- (t.classList.add(Qe),
- this._activate(r(t)),
+ (t.classList.add(Ke),
+ this._activate(o(t)),
this._queueCallback(
() => {
'tab' === t.getAttribute('role')
? (t.removeAttribute('tabindex'),
t.setAttribute('aria-selected', !0),
this._toggleDropDown(t, !0),
- $.trigger(t, 'shown.bs.tab', { relatedTarget: e }))
- : t.classList.add(Ye);
+ j.trigger(t, 'shown.bs.tab', { relatedTarget: e }))
+ : t.classList.add(Xe);
},
t,
- t.classList.contains(Xe)
+ t.classList.contains(Qe)
));
}
_deactivate(t, e) {
t &&
- (t.classList.remove(Qe),
+ (t.classList.remove(Ke),
t.blur(),
- this._deactivate(r(t)),
+ this._deactivate(o(t)),
this._queueCallback(
() => {
'tab' === t.getAttribute('role')
? (t.setAttribute('aria-selected', !1),
t.setAttribute('tabindex', '-1'),
this._toggleDropDown(t, !1),
- $.trigger(t, 'hidden.bs.tab', { relatedTarget: e }))
- : t.classList.remove(Ye);
+ j.trigger(t, 'hidden.bs.tab', { relatedTarget: e }))
+ : t.classList.remove(Xe);
},
t,
- t.classList.contains(Xe)
+ t.classList.contains(Qe)
));
}
_keydown(t) {
- if (![We, Re, Ve, Ke].includes(t.key)) return;
+ if (![Be, We, Re, Ve].includes(t.key)) return;
t.stopPropagation(), t.preventDefault();
- const e = [Re, Ke].includes(t.key),
- i = w(
- this._getChildren().filter((t) => !d(t)),
+ const e = [We, Ve].includes(t.key),
+ i = y(
+ this._getChildren().filter((t) => !h(t)),
t.target,
e,
!0
);
- i && (i.focus({ preventScroll: !0 }), Je.getOrCreateInstance(i).show());
+ i && (i.focus({ preventScroll: !0 }), Ge.getOrCreateInstance(i).show());
}
_getChildren() {
- return U.find(Ge, this._parent);
+ return Y.find(Ue, this._parent);
}
_getActiveElem() {
return this._getChildren().find((t) => this._elemIsActive(t)) || null;
@@ -2701,7 +2696,7 @@
this._setInitialAttributesOnTargetPanel(t);
}
_setInitialAttributesOnTargetPanel(t) {
- const e = r(t);
+ const e = o(t);
e &&
(this._setAttributeIfNotExists(e, 'role', 'tabpanel'),
t.id &&
@@ -2711,28 +2706,28 @@
const i = this._getOuterElement(t);
if (!i.classList.contains('dropdown')) return;
const s = (t, s) => {
- const n = U.findOne(t, i);
+ const n = Y.findOne(t, i);
n && n.classList.toggle(s, e);
};
- s('.dropdown-toggle', Qe),
- s('.dropdown-menu', Ye),
+ s('.dropdown-toggle', Ke),
+ s('.dropdown-menu', Xe),
i.setAttribute('aria-expanded', e);
}
_setAttributeIfNotExists(t, e, i) {
t.hasAttribute(e) || t.setAttribute(e, i);
}
_elemIsActive(t) {
- return t.classList.contains(Qe);
+ return t.classList.contains(Ke);
}
_getInnerElement(t) {
- return t.matches(Ge) ? t : U.findOne(Ge, t);
+ return t.matches(Ue) ? t : Y.findOne(Ue, t);
}
_getOuterElement(t) {
return t.closest('.nav-item, .list-group-item') || t;
}
static jQueryInterface(t) {
return this.each(function () {
- const e = Je.getOrCreateInstance(this);
+ const e = Ge.getOrCreateInstance(this);
if ('string' == typeof t) {
if (void 0 === e[t] || t.startsWith('_') || 'constructor' === t)
throw new TypeError(`No method named "${t}"`);
@@ -2741,23 +2736,23 @@
});
}
}
- $.on(document, 'click.bs.tab', Ue, function (t) {
+ j.on(document, 'click.bs.tab', Ye, function (t) {
['A', 'AREA'].includes(this.tagName) && t.preventDefault(),
- d(this) || Je.getOrCreateInstance(this).show();
+ h(this) || Ge.getOrCreateInstance(this).show();
}),
- $.on(window, 'load.bs.tab', () => {
- for (const t of U.find(
+ j.on(window, 'load.bs.tab', () => {
+ for (const t of Y.find(
'.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'
))
- Je.getOrCreateInstance(t);
+ Ge.getOrCreateInstance(t);
}),
- b(Je);
- const Ze = 'hide',
- ti = 'show',
- ei = 'showing',
- ii = { animation: 'boolean', autohide: 'boolean', delay: 'number' },
- si = { animation: !0, autohide: !0, delay: 5e3 };
- class ni extends V {
+ m(Ge);
+ const Je = 'hide',
+ Ze = 'show',
+ ti = 'showing',
+ ei = { animation: 'boolean', autohide: 'boolean', delay: 'number' },
+ ii = { animation: !0, autohide: !0, delay: 5e3 };
+ class si extends R {
constructor(t, e) {
super(t, e),
(this._timeout = null),
@@ -2766,25 +2761,25 @@
this._setListeners();
}
static get Default() {
- return si;
+ return ii;
}
static get DefaultType() {
- return ii;
+ return ei;
}
static get NAME() {
return 'toast';
}
show() {
- $.trigger(this._element, 'show.bs.toast').defaultPrevented ||
+ j.trigger(this._element, 'show.bs.toast').defaultPrevented ||
(this._clearTimeout(),
this._config.animation && this._element.classList.add('fade'),
- this._element.classList.remove(Ze),
- g(this._element),
- this._element.classList.add(ti, ei),
+ this._element.classList.remove(Je),
+ _(this._element),
+ this._element.classList.add(Ze, ti),
this._queueCallback(
() => {
- this._element.classList.remove(ei),
- $.trigger(this._element, 'shown.bs.toast'),
+ this._element.classList.remove(ti),
+ j.trigger(this._element, 'shown.bs.toast'),
this._maybeScheduleHide();
},
this._element,
@@ -2793,13 +2788,13 @@
}
hide() {
this.isShown() &&
- ($.trigger(this._element, 'hide.bs.toast').defaultPrevented ||
- (this._element.classList.add(ei),
+ (j.trigger(this._element, 'hide.bs.toast').defaultPrevented ||
+ (this._element.classList.add(ti),
this._queueCallback(
() => {
- this._element.classList.add(Ze),
- this._element.classList.remove(ei, ti),
- $.trigger(this._element, 'hidden.bs.toast');
+ this._element.classList.add(Je),
+ this._element.classList.remove(ti, Ze),
+ j.trigger(this._element, 'hidden.bs.toast');
},
this._element,
this._config.animation
@@ -2807,11 +2802,11 @@
}
dispose() {
this._clearTimeout(),
- this.isShown() && this._element.classList.remove(ti),
+ this.isShown() && this._element.classList.remove(Ze),
super.dispose();
}
isShown() {
- return this._element.classList.contains(ti);
+ return this._element.classList.contains(Ze);
}
_maybeScheduleHide() {
this._config.autohide &&
@@ -2838,16 +2833,16 @@
this._maybeScheduleHide();
}
_setListeners() {
- $.on(this._element, 'mouseover.bs.toast', (t) =>
+ j.on(this._element, 'mouseover.bs.toast', (t) =>
this._onInteraction(t, !0)
),
- $.on(this._element, 'mouseout.bs.toast', (t) =>
+ j.on(this._element, 'mouseout.bs.toast', (t) =>
this._onInteraction(t, !1)
),
- $.on(this._element, 'focusin.bs.toast', (t) =>
+ j.on(this._element, 'focusin.bs.toast', (t) =>
this._onInteraction(t, !0)
),
- $.on(this._element, 'focusout.bs.toast', (t) =>
+ j.on(this._element, 'focusout.bs.toast', (t) =>
this._onInteraction(t, !1)
);
}
@@ -2856,7 +2851,7 @@
}
static jQueryInterface(t) {
return this.each(function () {
- const e = ni.getOrCreateInstance(this, t);
+ const e = si.getOrCreateInstance(this, t);
if ('string' == typeof t) {
if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`);
e[t](this);
@@ -2865,22 +2860,21 @@
}
}
return (
- K(ni),
- b(ni),
+ V(si),
+ m(si),
{
- Alert: Q,
- Button: Y,
- Carousel: ht,
- Collapse: mt,
- Dropdown: Mt,
- Modal: ne,
- Offcanvas: _e,
- Popover: je,
- ScrollSpy: Be,
- Tab: Je,
- Toast: ni,
- Tooltip: Pe,
+ Alert: K,
+ Button: X,
+ Carousel: ct,
+ Collapse: pt,
+ Dropdown: xt,
+ Modal: se,
+ Offcanvas: ue,
+ Popover: Me,
+ ScrollSpy: qe,
+ Tab: Ge,
+ Toast: si,
+ Tooltip: Ne,
}
);
});
-//# sourceMappingURL=bootstrap.min.js.map
diff --git a/distribution/dependencies/jquery.min.js b/distribution/dependencies/jquery.min.js
index b21a9c7..c894195 100755
--- a/distribution/dependencies/jquery.min.js
+++ b/distribution/dependencies/jquery.min.js
@@ -1,4 +1,4 @@
-/*! jQuery v3.7.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */
+/*! For license information please see jquery.min.js.LICENSE.txt */
!(function (e, t) {
'use strict';
'object' == typeof module && 'object' == typeof module.exports
@@ -10,44 +10,44 @@
return t(e);
})
: t(e);
-})('undefined' != typeof window ? window : this, function (ie, e) {
+})('undefined' != typeof window ? window : this, function (e, t) {
'use strict';
- var oe = [],
+ var n = [],
r = Object.getPrototypeOf,
- ae = oe.slice,
- g = oe.flat
+ i = n.slice,
+ o = n.flat
? function (e) {
- return oe.flat.call(e);
+ return n.flat.call(e);
}
: function (e) {
- return oe.concat.apply([], e);
+ return n.concat.apply([], e);
},
- s = oe.push,
- se = oe.indexOf,
- n = {},
- i = n.toString,
- ue = n.hasOwnProperty,
- o = ue.toString,
- a = o.call(Object),
- le = {},
- v = function (e) {
+ a = n.push,
+ s = n.indexOf,
+ u = {},
+ l = u.toString,
+ c = u.hasOwnProperty,
+ f = c.toString,
+ p = f.call(Object),
+ d = {},
+ h = function (e) {
return (
'function' == typeof e &&
'number' != typeof e.nodeType &&
'function' != typeof e.item
);
},
- y = function (e) {
+ g = function (e) {
return null != e && e === e.window;
},
- C = ie.document,
- u = { type: !0, src: !0, nonce: !0, noModule: !0 };
+ v = e.document,
+ y = { type: !0, src: !0, nonce: !0, noModule: !0 };
function m(e, t, n) {
var r,
i,
- o = (n = n || C).createElement('script');
+ o = (n = n || v).createElement('script');
if (((o.text = e), t))
- for (r in u)
+ for (r in y)
(i = t[r] || (t.getAttribute && t.getAttribute(r))) &&
o.setAttribute(r, i);
n.head.appendChild(o).parentNode.removeChild(o);
@@ -56,59 +56,59 @@
return null == e
? e + ''
: 'object' == typeof e || 'function' == typeof e
- ? n[i.call(e)] || 'object'
+ ? u[l.call(e)] || 'object'
: typeof e;
}
- var t = '3.7.0',
- l = /HTML$/i,
- ce = function (e, t) {
- return new ce.fn.init(e, t);
+ var b = '3.7.0',
+ w = /HTML$/i,
+ T = function (e, t) {
+ return new T.fn.init(e, t);
};
- function c(e) {
+ function C(e) {
var t = !!e && 'length' in e && e.length,
n = x(e);
return (
- !v(e) &&
- !y(e) &&
+ !h(e) &&
+ !g(e) &&
('array' === n ||
0 === t ||
('number' == typeof t && 0 < t && t - 1 in e))
);
}
- function fe(e, t) {
+ function S(e, t) {
return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase();
}
- (ce.fn = ce.prototype =
+ (T.fn = T.prototype =
{
- jquery: t,
- constructor: ce,
+ jquery: b,
+ constructor: T,
length: 0,
toArray: function () {
- return ae.call(this);
+ return i.call(this);
},
get: function (e) {
return null == e
- ? ae.call(this)
+ ? i.call(this)
: e < 0
? this[e + this.length]
: this[e];
},
pushStack: function (e) {
- var t = ce.merge(this.constructor(), e);
+ var t = T.merge(this.constructor(), e);
return (t.prevObject = this), t;
},
each: function (e) {
- return ce.each(this, e);
+ return T.each(this, e);
},
- map: function (n) {
+ map: function (e) {
return this.pushStack(
- ce.map(this, function (e, t) {
- return n.call(e, t, e);
+ T.map(this, function (t, n) {
+ return e.call(t, n, t);
})
);
},
slice: function () {
- return this.pushStack(ae.apply(this, arguments));
+ return this.pushStack(i.apply(this, arguments));
},
first: function () {
return this.eq(0);
@@ -118,14 +118,14 @@
},
even: function () {
return this.pushStack(
- ce.grep(this, function (e, t) {
+ T.grep(this, function (e, t) {
return (t + 1) % 2;
})
);
},
odd: function () {
return this.pushStack(
- ce.grep(this, function (e, t) {
+ T.grep(this, function (e, t) {
return t % 2;
})
);
@@ -138,11 +138,11 @@
end: function () {
return this.prevObject || this.constructor();
},
- push: s,
- sort: oe.sort,
- splice: oe.splice,
+ push: a,
+ sort: n.sort,
+ splice: n.splice,
}),
- (ce.extend = ce.fn.extend =
+ (T.extend = T.fn.extend =
function () {
var e,
t,
@@ -156,7 +156,7 @@
l = !1;
for (
'boolean' == typeof a && ((l = a), (a = arguments[s] || {}), s++),
- 'object' == typeof a || v(a) || (a = {}),
+ 'object' == typeof a || h(a) || (a = {}),
s === u && ((a = this), s--);
s < u;
s++
@@ -166,21 +166,21 @@
(r = e[t]),
'__proto__' !== t &&
a !== r &&
- (l && r && (ce.isPlainObject(r) || (i = Array.isArray(r)))
+ (l && r && (T.isPlainObject(r) || (i = Array.isArray(r)))
? ((n = a[t]),
(o =
i && !Array.isArray(n)
? []
- : i || ce.isPlainObject(n)
+ : i || T.isPlainObject(n)
? n
: {}),
(i = !1),
- (a[t] = ce.extend(l, o, r)))
+ (a[t] = T.extend(l, o, r)))
: void 0 !== r && (a[t] = r));
return a;
}),
- ce.extend({
- expando: 'jQuery' + (t + Math.random()).replace(/\D/g, ''),
+ T.extend({
+ expando: 'jQuery' + (b + Math.random()).replace(/\D/g, ''),
isReady: !0,
error: function (e) {
throw new Error(e);
@@ -188,12 +188,13 @@
noop: function () {},
isPlainObject: function (e) {
var t, n;
- return (
- !(!e || '[object Object]' !== i.call(e)) &&
- (!(t = r(e)) ||
- ('function' ==
- typeof (n = ue.call(t, 'constructor') && t.constructor) &&
- o.call(n) === a))
+ return !(
+ !e ||
+ '[object Object]' !== l.call(e) ||
+ ((t = r(e)) &&
+ ('function' !=
+ typeof (n = c.call(t, 'constructor') && t.constructor) ||
+ f.call(n) !== p))
);
},
isEmptyObject: function (e) {
@@ -207,10 +208,9 @@
each: function (e, t) {
var n,
r = 0;
- if (c(e)) {
- for (n = e.length; r < n; r++)
- if (!1 === t.call(e[r], r, e[r])) break;
- } else for (r in e) if (!1 === t.call(e[r], r, e[r])) break;
+ if (C(e))
+ for (n = e.length; r < n && !1 !== t.call(e[r], r, e[r]); r++);
+ else for (r in e) if (!1 === t.call(e[r], r, e[r])) break;
return e;
},
text: function (e) {
@@ -221,26 +221,26 @@
if (i) {
if (1 === i || 9 === i || 11 === i) return e.textContent;
if (3 === i || 4 === i) return e.nodeValue;
- } else while ((t = e[r++])) n += ce.text(t);
+ } else for (; (t = e[r++]); ) n += T.text(t);
return n;
},
makeArray: function (e, t) {
var n = t || [];
return (
null != e &&
- (c(Object(e))
- ? ce.merge(n, 'string' == typeof e ? [e] : e)
- : s.call(n, e)),
+ (C(Object(e))
+ ? T.merge(n, 'string' == typeof e ? [e] : e)
+ : a.call(n, e)),
n
);
},
inArray: function (e, t, n) {
- return null == t ? -1 : se.call(t, e, n);
+ return null == t ? -1 : s.call(t, e, n);
},
isXMLDoc: function (e) {
var t = e && e.namespaceURI,
n = e && (e.ownerDocument || e).documentElement;
- return !l.test(t || (n && n.nodeName) || 'HTML');
+ return !w.test(t || (n && n.nodeName) || 'HTML');
},
merge: function (e, t) {
for (var n = +t.length, r = 0, i = e.length; r < n; r++) e[i++] = t[r];
@@ -254,33 +254,32 @@
map: function (e, t, n) {
var r,
i,
- o = 0,
- a = [];
- if (c(e))
- for (r = e.length; o < r; o++)
- null != (i = t(e[o], o, n)) && a.push(i);
- else for (o in e) null != (i = t(e[o], o, n)) && a.push(i);
- return g(a);
+ a = 0,
+ s = [];
+ if (C(e))
+ for (r = e.length; a < r; a++)
+ null != (i = t(e[a], a, n)) && s.push(i);
+ else for (a in e) null != (i = t(e[a], a, n)) && s.push(i);
+ return o(s);
},
guid: 1,
- support: le,
+ support: d,
}),
- 'function' == typeof Symbol &&
- (ce.fn[Symbol.iterator] = oe[Symbol.iterator]),
- ce.each(
+ 'function' == typeof Symbol && (T.fn[Symbol.iterator] = n[Symbol.iterator]),
+ T.each(
'Boolean Number String Function Array Date RegExp Object Error Symbol'.split(
' '
),
function (e, t) {
- n['[object ' + t + ']'] = t.toLowerCase();
+ u['[object ' + t + ']'] = t.toLowerCase();
}
);
- var pe = oe.pop,
- de = oe.sort,
- he = oe.splice,
- ge = '[\\x20\\t\\r\\n\\f]',
- ve = new RegExp('^' + ge + '+|((?:^|[^\\\\])(?:\\\\.)*)' + ge + '+$', 'g');
- ce.contains = function (e, t) {
+ var E = n.pop,
+ k = n.sort,
+ j = n.splice,
+ A = '[\\x20\\t\\r\\n\\f]',
+ D = new RegExp('^' + A + '+|((?:^|[^\\\\])(?:\\\\.)*)' + A + '+$', 'g');
+ T.contains = function (e, t) {
var n = t && t.parentNode;
return (
e === n ||
@@ -293,109 +292,109 @@
)
);
};
- var f = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;
- function p(e, t) {
+ var N = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;
+ function q(e, t) {
return t
? '\0' === e
- ? '\ufffd'
+ ? '�'
: e.slice(0, -1) + '\\' + e.charCodeAt(e.length - 1).toString(16) + ' '
: '\\' + e;
}
- ce.escapeSelector = function (e) {
- return (e + '').replace(f, p);
+ T.escapeSelector = function (e) {
+ return (e + '').replace(N, q);
};
- var ye = C,
- me = s;
+ var L = v,
+ H = a;
!(function () {
- var e,
- b,
- w,
+ var t,
+ r,
o,
a,
- T,
- r,
- C,
- d,
- i,
- k = me,
- S = ce.expando,
- E = 0,
- n = 0,
- s = W(),
- c = W(),
- u = W(),
- h = W(),
- l = function (e, t) {
- return e === t && (a = !0), 0;
+ u,
+ l,
+ f,
+ p,
+ h,
+ g,
+ v = H,
+ y = T.expando,
+ m = 0,
+ x = 0,
+ b = ee(),
+ w = ee(),
+ C = ee(),
+ N = ee(),
+ q = function (e, t) {
+ return e === t && (u = !0), 0;
},
- f =
+ O =
'checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped',
- t =
+ P =
'(?:\\\\[\\da-fA-F]{1,6}' +
- ge +
+ A +
'?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+',
- p =
+ R =
'\\[' +
- ge +
+ A +
'*(' +
- t +
+ P +
')(?:' +
- ge +
+ A +
'*([*^$|!~]?=)' +
- ge +
+ A +
'*(?:\'((?:\\\\.|[^\\\\\'])*)\'|"((?:\\\\.|[^\\\\"])*)"|(' +
- t +
+ P +
'))|)' +
- ge +
+ A +
'*\\]',
- g =
+ M =
':(' +
- t +
+ P +
')(?:\\(((\'((?:\\\\.|[^\\\\\'])*)\'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|' +
- p +
+ R +
')*)|.*)\\)|)',
- v = new RegExp(ge + '+', 'g'),
- y = new RegExp('^' + ge + '*,' + ge + '*'),
- m = new RegExp('^' + ge + '*([>+~]|' + ge + ')' + ge + '*'),
- x = new RegExp(ge + '|>'),
- j = new RegExp(g),
- A = new RegExp('^' + t + '$'),
- D = {
- ID: new RegExp('^#(' + t + ')'),
- CLASS: new RegExp('^\\.(' + t + ')'),
- TAG: new RegExp('^(' + t + '|[*])'),
- ATTR: new RegExp('^' + p),
- PSEUDO: new RegExp('^' + g),
+ I = new RegExp(A + '+', 'g'),
+ W = new RegExp('^' + A + '*,' + A + '*'),
+ F = new RegExp('^' + A + '*([>+~]|' + A + ')' + A + '*'),
+ $ = new RegExp(A + '|>'),
+ B = new RegExp(M),
+ _ = new RegExp('^' + P + '$'),
+ X = {
+ ID: new RegExp('^#(' + P + ')'),
+ CLASS: new RegExp('^\\.(' + P + ')'),
+ TAG: new RegExp('^(' + P + '|[*])'),
+ ATTR: new RegExp('^' + R),
+ PSEUDO: new RegExp('^' + M),
CHILD: new RegExp(
'^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(' +
- ge +
+ A +
'*(even|odd|(([+-]|)(\\d*)n|)' +
- ge +
+ A +
'*(?:([+-]|)' +
- ge +
+ A +
'*(\\d+)|))' +
- ge +
+ A +
'*\\)|)',
'i'
),
- bool: new RegExp('^(?:' + f + ')$', 'i'),
+ bool: new RegExp('^(?:' + O + ')$', 'i'),
needsContext: new RegExp(
'^' +
- ge +
+ A +
'*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(' +
- ge +
+ A +
'*((?:-\\d)?\\d*)' +
- ge +
+ A +
'*\\)|)(?=[^-]|$)',
'i'
),
},
- N = /^(?:input|select|textarea|button)$/i,
- q = /^h\d$/i,
- L = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
- H = /[+~]/,
- O = new RegExp('\\\\[\\da-fA-F]{1,6}' + ge + '?|\\\\([^\\r\\n\\f])', 'g'),
- P = function (e, t) {
+ U = /^(?:input|select|textarea|button)$/i,
+ z = /^h\d$/i,
+ V = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
+ G = /[+~]/,
+ Y = new RegExp('\\\\[\\da-fA-F]{1,6}' + A + '?|\\\\([^\\r\\n\\f])', 'g'),
+ Q = function (e, t) {
var n = '0x' + e.slice(1) - 65536;
return (
t ||
@@ -404,96 +403,100 @@
: String.fromCharCode((n >> 10) | 55296, (1023 & n) | 56320))
);
},
- R = function () {
- V();
+ J = function () {
+ ue();
},
- M = J(
+ K = pe(
function (e) {
- return !0 === e.disabled && fe(e, 'fieldset');
+ return !0 === e.disabled && S(e, 'fieldset');
},
{ dir: 'parentNode', next: 'legend' }
);
try {
- k.apply((oe = ae.call(ye.childNodes)), ye.childNodes),
- oe[ye.childNodes.length].nodeType;
- } catch (e) {
- k = {
+ v.apply((n = i.call(L.childNodes)), L.childNodes),
+ n[L.childNodes.length].nodeType;
+ } catch (t) {
+ v = {
apply: function (e, t) {
- me.apply(e, ae.call(t));
+ H.apply(e, i.call(t));
},
call: function (e) {
- me.apply(e, ae.call(arguments, 1));
+ H.apply(e, i.call(arguments, 1));
},
};
}
- function I(t, e, n, r) {
+ function Z(e, t, n, r) {
var i,
o,
a,
s,
u,
- l,
c,
- f = e && e.ownerDocument,
- p = e ? e.nodeType : 9;
+ f,
+ g = t && t.ownerDocument,
+ m = t ? t.nodeType : 9;
if (
((n = n || []),
- 'string' != typeof t || !t || (1 !== p && 9 !== p && 11 !== p))
+ 'string' != typeof e || !e || (1 !== m && 9 !== m && 11 !== m))
)
return n;
- if (!r && (V(e), (e = e || T), C)) {
- if (11 !== p && (u = L.exec(t)))
+ if (!r && (ue(t), (t = t || l), p)) {
+ if (11 !== m && (u = V.exec(e)))
if ((i = u[1])) {
- if (9 === p) {
- if (!(a = e.getElementById(i))) return n;
- if (a.id === i) return k.call(n, a), n;
+ if (9 === m) {
+ if (!(a = t.getElementById(i))) return n;
+ if (a.id === i) return v.call(n, a), n;
} else if (
- f &&
- (a = f.getElementById(i)) &&
- I.contains(e, a) &&
+ g &&
+ (a = g.getElementById(i)) &&
+ Z.contains(t, a) &&
a.id === i
)
- return k.call(n, a), n;
+ return v.call(n, a), n;
} else {
- if (u[2]) return k.apply(n, e.getElementsByTagName(t)), n;
- if ((i = u[3]) && e.getElementsByClassName)
- return k.apply(n, e.getElementsByClassName(i)), n;
+ if (u[2]) return v.apply(n, t.getElementsByTagName(e)), n;
+ if ((i = u[3]) && t.getElementsByClassName)
+ return v.apply(n, t.getElementsByClassName(i)), n;
}
- if (!(h[t + ' '] || (d && d.test(t)))) {
- if (((c = t), (f = e), 1 === p && (x.test(t) || m.test(t)))) {
- ((f = (H.test(t) && z(e.parentNode)) || e) == e && le.scope) ||
- ((s = e.getAttribute('id'))
- ? (s = ce.escapeSelector(s))
- : e.setAttribute('id', (s = S))),
- (o = (l = Y(t)).length);
- while (o--) l[o] = (s ? '#' + s : ':scope') + ' ' + Q(l[o]);
- c = l.join(',');
+ if (!(N[e + ' '] || (h && h.test(e)))) {
+ if (((f = e), (g = t), 1 === m && ($.test(e) || F.test(e)))) {
+ for (
+ ((g = (G.test(e) && se(t.parentNode)) || t) == t && d.scope) ||
+ ((s = t.getAttribute('id'))
+ ? (s = T.escapeSelector(s))
+ : t.setAttribute('id', (s = y))),
+ o = (c = ce(e)).length;
+ o--;
+
+ )
+ c[o] = (s ? '#' + s : ':scope') + ' ' + fe(c[o]);
+ f = c.join(',');
}
try {
- return k.apply(n, f.querySelectorAll(c)), n;
- } catch (e) {
- h(t, !0);
+ return v.apply(n, g.querySelectorAll(f)), n;
+ } catch (t) {
+ N(e, !0);
} finally {
- s === S && e.removeAttribute('id');
+ s === y && t.removeAttribute('id');
}
}
}
- return re(t.replace(ve, '$1'), e, n, r);
+ return me(e.replace(D, '$1'), t, n, r);
}
- function W() {
- var r = [];
- return function e(t, n) {
+ function ee() {
+ var e = [];
+ return function t(n, i) {
return (
- r.push(t + ' ') > b.cacheLength && delete e[r.shift()],
- (e[t + ' '] = n)
+ e.push(n + ' ') > r.cacheLength && delete t[e.shift()],
+ (t[n + ' '] = i)
);
};
}
- function F(e) {
- return (e[S] = !0), e;
+ function te(e) {
+ return (e[y] = !0), e;
}
- function $(e) {
- var t = T.createElement('fieldset');
+ function ne(e) {
+ var t = l.createElement('fieldset');
try {
return !!e(t);
} catch (e) {
@@ -502,102 +505,99 @@
t.parentNode && t.parentNode.removeChild(t), (t = null);
}
}
- function B(t) {
- return function (e) {
- return fe(e, 'input') && e.type === t;
+ function re(e) {
+ return function (t) {
+ return S(t, 'input') && t.type === e;
};
}
- function _(t) {
- return function (e) {
- return (fe(e, 'input') || fe(e, 'button')) && e.type === t;
+ function ie(e) {
+ return function (t) {
+ return (S(t, 'input') || S(t, 'button')) && t.type === e;
};
}
- function X(t) {
- return function (e) {
- return 'form' in e
- ? e.parentNode && !1 === e.disabled
- ? 'label' in e
- ? 'label' in e.parentNode
- ? e.parentNode.disabled === t
- : e.disabled === t
- : e.isDisabled === t || (e.isDisabled !== !t && M(e) === t)
- : e.disabled === t
- : 'label' in e && e.disabled === t;
+ function oe(e) {
+ return function (t) {
+ return 'form' in t
+ ? t.parentNode && !1 === t.disabled
+ ? 'label' in t
+ ? 'label' in t.parentNode
+ ? t.parentNode.disabled === e
+ : t.disabled === e
+ : t.isDisabled === e || (t.isDisabled !== !e && K(t) === e)
+ : t.disabled === e
+ : 'label' in t && t.disabled === e;
};
}
- function U(a) {
- return F(function (o) {
+ function ae(e) {
+ return te(function (t) {
return (
- (o = +o),
- F(function (e, t) {
- var n,
- r = a([], e.length, o),
- i = r.length;
- while (i--) e[(n = r[i])] && (e[n] = !(t[n] = e[n]));
+ (t = +t),
+ te(function (n, r) {
+ for (var i, o = e([], n.length, t), a = o.length; a--; )
+ n[(i = o[a])] && (n[i] = !(r[i] = n[i]));
})
);
});
}
- function z(e) {
- return e && 'undefined' != typeof e.getElementsByTagName && e;
+ function se(e) {
+ return e && void 0 !== e.getElementsByTagName && e;
}
- function V(e) {
+ function ue(e) {
var t,
- n = e ? e.ownerDocument || e : ye;
+ n = e ? e.ownerDocument || e : L;
return (
- n != T &&
+ n != l &&
9 === n.nodeType &&
n.documentElement &&
- ((r = (T = n).documentElement),
- (C = !ce.isXMLDoc(T)),
- (i = r.matches || r.webkitMatchesSelector || r.msMatchesSelector),
- ye != T &&
- (t = T.defaultView) &&
+ ((f = (l = n).documentElement),
+ (p = !T.isXMLDoc(l)),
+ (g = f.matches || f.webkitMatchesSelector || f.msMatchesSelector),
+ L != l &&
+ (t = l.defaultView) &&
t.top !== t &&
- t.addEventListener('unload', R),
- (le.getById = $(function (e) {
+ t.addEventListener('unload', J),
+ (d.getById = ne(function (e) {
return (
- (r.appendChild(e).id = ce.expando),
- !T.getElementsByName || !T.getElementsByName(ce.expando).length
+ (f.appendChild(e).id = T.expando),
+ !l.getElementsByName || !l.getElementsByName(T.expando).length
);
})),
- (le.disconnectedMatch = $(function (e) {
- return i.call(e, '*');
+ (d.disconnectedMatch = ne(function (e) {
+ return g.call(e, '*');
})),
- (le.scope = $(function () {
- return T.querySelectorAll(':scope');
+ (d.scope = ne(function () {
+ return l.querySelectorAll(':scope');
})),
- (le.cssHas = $(function () {
+ (d.cssHas = ne(function () {
try {
- return T.querySelector(':has(*,:jqfake)'), !1;
+ return l.querySelector(':has(*,:jqfake)'), !1;
} catch (e) {
return !0;
}
})),
- le.getById
- ? ((b.filter.ID = function (e) {
- var t = e.replace(O, P);
+ d.getById
+ ? ((r.filter.ID = function (e) {
+ var t = e.replace(Y, Q);
return function (e) {
return e.getAttribute('id') === t;
};
}),
- (b.find.ID = function (e, t) {
- if ('undefined' != typeof t.getElementById && C) {
+ (r.find.ID = function (e, t) {
+ if (void 0 !== t.getElementById && p) {
var n = t.getElementById(e);
return n ? [n] : [];
}
}))
- : ((b.filter.ID = function (e) {
- var n = e.replace(O, P);
+ : ((r.filter.ID = function (e) {
+ var t = e.replace(Y, Q);
return function (e) {
- var t =
- 'undefined' != typeof e.getAttributeNode &&
- e.getAttributeNode('id');
- return t && t.value === n;
+ var n =
+ void 0 !== e.getAttributeNode && e.getAttributeNode('id');
+ return n && n.value === t;
};
}),
- (b.find.ID = function (e, t) {
- if ('undefined' != typeof t.getElementById && C) {
+ (r.find.ID = function (e, t) {
+ if (void 0 !== t.getElementById && p) {
var n,
r,
i,
@@ -605,51 +605,50 @@
if (o) {
if ((n = o.getAttributeNode('id')) && n.value === e)
return [o];
- (i = t.getElementsByName(e)), (r = 0);
- while ((o = i[r++]))
+ for (i = t.getElementsByName(e), r = 0; (o = i[r++]); )
if ((n = o.getAttributeNode('id')) && n.value === e)
return [o];
}
return [];
}
})),
- (b.find.TAG = function (e, t) {
- return 'undefined' != typeof t.getElementsByTagName
+ (r.find.TAG = function (e, t) {
+ return void 0 !== t.getElementsByTagName
? t.getElementsByTagName(e)
: t.querySelectorAll(e);
}),
- (b.find.CLASS = function (e, t) {
- if ('undefined' != typeof t.getElementsByClassName && C)
+ (r.find.CLASS = function (e, t) {
+ if (void 0 !== t.getElementsByClassName && p)
return t.getElementsByClassName(e);
}),
- (d = []),
- $(function (e) {
+ (h = []),
+ ne(function (e) {
var t;
- (r.appendChild(e).innerHTML =
+ (f.appendChild(e).innerHTML =
""),
e.querySelectorAll('[selected]').length ||
- d.push('\\[' + ge + '*(?:value|' + f + ')'),
- e.querySelectorAll('[id~=' + S + '-]').length || d.push('~='),
- e.querySelectorAll('a#' + S + '+*').length || d.push('.#.+[+~]'),
- e.querySelectorAll(':checked').length || d.push(':checked'),
- (t = T.createElement('input')).setAttribute('type', 'hidden'),
+ h.push('\\[' + A + '*(?:value|' + O + ')'),
+ e.querySelectorAll('[id~=' + y + '-]').length || h.push('~='),
+ e.querySelectorAll('a#' + y + '+*').length || h.push('.#.+[+~]'),
+ e.querySelectorAll(':checked').length || h.push(':checked'),
+ (t = l.createElement('input')).setAttribute('type', 'hidden'),
e.appendChild(t).setAttribute('name', 'D'),
- (r.appendChild(e).disabled = !0),
+ (f.appendChild(e).disabled = !0),
2 !== e.querySelectorAll(':disabled').length &&
- d.push(':enabled', ':disabled'),
- (t = T.createElement('input')).setAttribute('name', ''),
+ h.push(':enabled', ':disabled'),
+ (t = l.createElement('input')).setAttribute('name', ''),
e.appendChild(t),
e.querySelectorAll("[name='']").length ||
- d.push('\\[' + ge + '*name' + ge + '*=' + ge + '*(?:\'\'|"")');
+ h.push('\\[' + A + '*name' + A + '*=' + A + '*(?:\'\'|"")');
}),
- le.cssHas || d.push(':has'),
- (d = d.length && new RegExp(d.join('|'))),
- (l = function (e, t) {
- if (e === t) return (a = !0), 0;
+ d.cssHas || h.push(':has'),
+ (h = h.length && new RegExp(h.join('|'))),
+ (q = function (e, t) {
+ if (e === t) return (u = !0), 0;
var n = !e.compareDocumentPosition - !t.compareDocumentPosition;
return (
n ||
@@ -658,76 +657,76 @@
(e.ownerDocument || e) == (t.ownerDocument || t)
? e.compareDocumentPosition(t)
: 1) ||
- (!le.sortDetached && t.compareDocumentPosition(e) === n)
- ? e === T || (e.ownerDocument == ye && I.contains(ye, e))
+ (!d.sortDetached && t.compareDocumentPosition(e) === n)
+ ? e === l || (e.ownerDocument == L && Z.contains(L, e))
? -1
- : t === T || (t.ownerDocument == ye && I.contains(ye, t))
+ : t === l || (t.ownerDocument == L && Z.contains(L, t))
? 1
- : o
- ? se.call(o, e) - se.call(o, t)
+ : a
+ ? s.call(a, e) - s.call(a, t)
: 0
: 4 & n
? -1
: 1)
);
})),
- T
+ l
);
}
- for (e in ((I.matches = function (e, t) {
- return I(e, null, null, t);
+ for (t in ((Z.matches = function (e, t) {
+ return Z(e, null, null, t);
}),
- (I.matchesSelector = function (e, t) {
- if ((V(e), C && !h[t + ' '] && (!d || !d.test(t))))
+ (Z.matchesSelector = function (e, t) {
+ if ((ue(e), p && !N[t + ' '] && (!h || !h.test(t))))
try {
- var n = i.call(e, t);
+ var n = g.call(e, t);
if (
n ||
- le.disconnectedMatch ||
+ d.disconnectedMatch ||
(e.document && 11 !== e.document.nodeType)
)
return n;
} catch (e) {
- h(t, !0);
+ N(t, !0);
}
- return 0 < I(t, T, null, [e]).length;
+ return 0 < Z(t, l, null, [e]).length;
}),
- (I.contains = function (e, t) {
- return (e.ownerDocument || e) != T && V(e), ce.contains(e, t);
+ (Z.contains = function (e, t) {
+ return (e.ownerDocument || e) != l && ue(e), T.contains(e, t);
}),
- (I.attr = function (e, t) {
- (e.ownerDocument || e) != T && V(e);
- var n = b.attrHandle[t.toLowerCase()],
- r = n && ue.call(b.attrHandle, t.toLowerCase()) ? n(e, t, !C) : void 0;
- return void 0 !== r ? r : e.getAttribute(t);
+ (Z.attr = function (e, t) {
+ (e.ownerDocument || e) != l && ue(e);
+ var n = r.attrHandle[t.toLowerCase()],
+ i = n && c.call(r.attrHandle, t.toLowerCase()) ? n(e, t, !p) : void 0;
+ return void 0 !== i ? i : e.getAttribute(t);
}),
- (I.error = function (e) {
+ (Z.error = function (e) {
throw new Error('Syntax error, unrecognized expression: ' + e);
}),
- (ce.uniqueSort = function (e) {
+ (T.uniqueSort = function (e) {
var t,
n = [],
r = 0,
- i = 0;
+ o = 0;
if (
- ((a = !le.sortStable),
- (o = !le.sortStable && ae.call(e, 0)),
- de.call(e, l),
- a)
+ ((u = !d.sortStable),
+ (a = !d.sortStable && i.call(e, 0)),
+ k.call(e, q),
+ u)
) {
- while ((t = e[i++])) t === e[i] && (r = n.push(i));
- while (r--) he.call(e, n[r], 1);
+ for (; (t = e[o++]); ) t === e[o] && (r = n.push(o));
+ for (; r--; ) j.call(e, n[r], 1);
}
- return (o = null), e;
+ return (a = null), e;
}),
- (ce.fn.uniqueSort = function () {
- return this.pushStack(ce.uniqueSort(ae.apply(this)));
+ (T.fn.uniqueSort = function () {
+ return this.pushStack(T.uniqueSort(i.apply(this)));
}),
- ((b = ce.expr =
+ ((r = T.expr =
{
cacheLength: 50,
- createPseudo: F,
- match: D,
+ createPseudo: te,
+ match: X,
attrHandle: {},
find: {},
relative: {
@@ -739,8 +738,8 @@
preFilter: {
ATTR: function (e) {
return (
- (e[1] = e[1].replace(O, P)),
- (e[3] = (e[3] || e[4] || e[5] || '').replace(O, P)),
+ (e[1] = e[1].replace(Y, Q)),
+ (e[3] = (e[3] || e[4] || e[5] || '').replace(Y, Q)),
'~=' === e[2] && (e[3] = ' ' + e[3] + ' '),
e.slice(0, 4)
);
@@ -749,25 +748,25 @@
return (
(e[1] = e[1].toLowerCase()),
'nth' === e[1].slice(0, 3)
- ? (e[3] || I.error(e[0]),
+ ? (e[3] || Z.error(e[0]),
(e[4] = +(e[4]
? e[5] + (e[6] || 1)
: 2 * ('even' === e[3] || 'odd' === e[3]))),
(e[5] = +(e[7] + e[8] || 'odd' === e[3])))
- : e[3] && I.error(e[0]),
+ : e[3] && Z.error(e[0]),
e
);
},
PSEUDO: function (e) {
var t,
n = !e[6] && e[2];
- return D.CHILD.test(e[0])
+ return X.CHILD.test(e[0])
? null
: (e[3]
? (e[2] = e[4] || e[5] || '')
: n &&
- j.test(n) &&
- (t = Y(n, !0)) &&
+ B.test(n) &&
+ (t = ce(n, !0)) &&
(t = n.indexOf(')', n.length - t) - n.length) &&
((e[0] = e[0].slice(0, t)), (e[2] = n.slice(0, t))),
e.slice(0, 3));
@@ -775,209 +774,206 @@
},
filter: {
TAG: function (e) {
- var t = e.replace(O, P).toLowerCase();
+ var t = e.replace(Y, Q).toLowerCase();
return '*' === e
? function () {
return !0;
}
: function (e) {
- return fe(e, t);
+ return S(e, t);
};
},
CLASS: function (e) {
- var t = s[e + ' '];
+ var t = b[e + ' '];
return (
t ||
- ((t = new RegExp('(^|' + ge + ')' + e + '(' + ge + '|$)')) &&
- s(e, function (e) {
+ ((t = new RegExp('(^|' + A + ')' + e + '(' + A + '|$)')) &&
+ b(e, function (e) {
return t.test(
('string' == typeof e.className && e.className) ||
- ('undefined' != typeof e.getAttribute &&
- e.getAttribute('class')) ||
+ (void 0 !== e.getAttribute && e.getAttribute('class')) ||
''
);
}))
);
},
- ATTR: function (n, r, i) {
- return function (e) {
- var t = I.attr(e, n);
- return null == t
- ? '!=' === r
- : !r ||
- ((t += ''),
- '=' === r
- ? t === i
- : '!=' === r
- ? t !== i
- : '^=' === r
- ? i && 0 === t.indexOf(i)
- : '*=' === r
- ? i && -1 < t.indexOf(i)
- : '$=' === r
- ? i && t.slice(-i.length) === i
- : '~=' === r
- ? -1 < (' ' + t.replace(v, ' ') + ' ').indexOf(i)
- : '|=' === r &&
- (t === i || t.slice(0, i.length + 1) === i + '-'));
+ ATTR: function (e, t, n) {
+ return function (r) {
+ var i = Z.attr(r, e);
+ return null == i
+ ? '!=' === t
+ : !t ||
+ ((i += ''),
+ '=' === t
+ ? i === n
+ : '!=' === t
+ ? i !== n
+ : '^=' === t
+ ? n && 0 === i.indexOf(n)
+ : '*=' === t
+ ? n && -1 < i.indexOf(n)
+ : '$=' === t
+ ? n && i.slice(-n.length) === n
+ : '~=' === t
+ ? -1 < (' ' + i.replace(I, ' ') + ' ').indexOf(n)
+ : '|=' === t &&
+ (i === n || i.slice(0, n.length + 1) === n + '-'));
};
},
- CHILD: function (d, e, t, h, g) {
- var v = 'nth' !== d.slice(0, 3),
- y = 'last' !== d.slice(-4),
- m = 'of-type' === e;
- return 1 === h && 0 === g
+ CHILD: function (e, t, n, r, i) {
+ var o = 'nth' !== e.slice(0, 3),
+ a = 'last' !== e.slice(-4),
+ s = 'of-type' === t;
+ return 1 === r && 0 === i
? function (e) {
return !!e.parentNode;
}
- : function (e, t, n) {
- var r,
- i,
- o,
- a,
- s,
- u = v !== y ? 'nextSibling' : 'previousSibling',
- l = e.parentNode,
- c = m && e.nodeName.toLowerCase(),
- f = !n && !m,
- p = !1;
- if (l) {
- if (v) {
- while (u) {
- o = e;
- while ((o = o[u]))
- if (m ? fe(o, c) : 1 === o.nodeType) return !1;
- s = u = 'only' === d && !s && 'nextSibling';
+ : function (t, n, u) {
+ var l,
+ c,
+ f,
+ p,
+ d,
+ h = o !== a ? 'nextSibling' : 'previousSibling',
+ g = t.parentNode,
+ v = s && t.nodeName.toLowerCase(),
+ x = !u && !s,
+ b = !1;
+ if (g) {
+ if (o) {
+ for (; h; ) {
+ for (f = t; (f = f[h]); )
+ if (s ? S(f, v) : 1 === f.nodeType) return !1;
+ d = h = 'only' === e && !d && 'nextSibling';
}
return !0;
}
- if (((s = [y ? l.firstChild : l.lastChild]), y && f)) {
- (p =
- (a =
- (r = (i = l[S] || (l[S] = {}))[d] || [])[0] === E &&
- r[1]) && r[2]),
- (o = a && l.childNodes[a]);
- while ((o = (++a && o && o[u]) || (p = a = 0) || s.pop()))
- if (1 === o.nodeType && ++p && o === e) {
- i[d] = [E, a, p];
+ if (((d = [a ? g.firstChild : g.lastChild]), a && x)) {
+ for (
+ b =
+ (p =
+ (l = (c = g[y] || (g[y] = {}))[e] || [])[0] === m &&
+ l[1]) && l[2],
+ f = p && g.childNodes[p];
+ (f = (++p && f && f[h]) || (b = p = 0) || d.pop());
+
+ )
+ if (1 === f.nodeType && ++b && f === t) {
+ c[e] = [m, p, b];
break;
}
} else if (
- (f &&
- (p = a =
- (r = (i = e[S] || (e[S] = {}))[d] || [])[0] === E &&
- r[1]),
- !1 === p)
+ (x &&
+ (b = p =
+ (l = (c = t[y] || (t[y] = {}))[e] || [])[0] === m &&
+ l[1]),
+ !1 === b)
)
- while ((o = (++a && o && o[u]) || (p = a = 0) || s.pop()))
- if (
- (m ? fe(o, c) : 1 === o.nodeType) &&
- ++p &&
- (f && ((i = o[S] || (o[S] = {}))[d] = [E, p]),
- o === e)
- )
- break;
- return (p -= g) === h || (p % h == 0 && 0 <= p / h);
+ for (
+ ;
+ (f = (++p && f && f[h]) || (b = p = 0) || d.pop()) &&
+ (!(s ? S(f, v) : 1 === f.nodeType) ||
+ !++b ||
+ (x && ((c = f[y] || (f[y] = {}))[e] = [m, b]),
+ f !== t));
+
+ );
+ return (b -= i) === r || (b % r == 0 && 0 <= b / r);
}
};
},
- PSEUDO: function (e, o) {
- var t,
- a =
- b.pseudos[e] ||
- b.setFilters[e.toLowerCase()] ||
- I.error('unsupported pseudo: ' + e);
- return a[S]
- ? a(o)
- : 1 < a.length
- ? ((t = [e, e, '', o]),
- b.setFilters.hasOwnProperty(e.toLowerCase())
- ? F(function (e, t) {
- var n,
- r = a(e, o),
- i = r.length;
- while (i--) e[(n = se.call(e, r[i]))] = !(t[n] = r[i]);
+ PSEUDO: function (e, t) {
+ var n,
+ i =
+ r.pseudos[e] ||
+ r.setFilters[e.toLowerCase()] ||
+ Z.error('unsupported pseudo: ' + e);
+ return i[y]
+ ? i(t)
+ : 1 < i.length
+ ? ((n = [e, e, '', t]),
+ r.setFilters.hasOwnProperty(e.toLowerCase())
+ ? te(function (e, n) {
+ for (var r, o = i(e, t), a = o.length; a--; )
+ e[(r = s.call(e, o[a]))] = !(n[r] = o[a]);
})
: function (e) {
- return a(e, 0, t);
+ return i(e, 0, n);
})
- : a;
+ : i;
},
},
pseudos: {
- not: F(function (e) {
- var r = [],
- i = [],
- s = ne(e.replace(ve, '$1'));
- return s[S]
- ? F(function (e, t, n, r) {
- var i,
- o = s(e, null, r, []),
- a = e.length;
- while (a--) (i = o[a]) && (e[a] = !(t[a] = i));
+ not: te(function (e) {
+ var t = [],
+ n = [],
+ r = ye(e.replace(D, '$1'));
+ return r[y]
+ ? te(function (e, t, n, i) {
+ for (var o, a = r(e, null, i, []), s = e.length; s--; )
+ (o = a[s]) && (e[s] = !(t[s] = o));
})
- : function (e, t, n) {
- return (r[0] = e), s(r, null, n, i), (r[0] = null), !i.pop();
+ : function (e, i, o) {
+ return (t[0] = e), r(t, null, o, n), (t[0] = null), !n.pop();
};
}),
- has: F(function (t) {
- return function (e) {
- return 0 < I(t, e).length;
+ has: te(function (e) {
+ return function (t) {
+ return 0 < Z(e, t).length;
};
}),
- contains: F(function (t) {
+ contains: te(function (e) {
return (
- (t = t.replace(O, P)),
- function (e) {
- return -1 < (e.textContent || ce.text(e)).indexOf(t);
+ (e = e.replace(Y, Q)),
+ function (t) {
+ return -1 < (t.textContent || T.text(t)).indexOf(e);
}
);
}),
- lang: F(function (n) {
+ lang: te(function (e) {
return (
- A.test(n || '') || I.error('unsupported lang: ' + n),
- (n = n.replace(O, P).toLowerCase()),
- function (e) {
- var t;
+ _.test(e || '') || Z.error('unsupported lang: ' + e),
+ (e = e.replace(Y, Q).toLowerCase()),
+ function (t) {
+ var n;
do {
if (
- (t = C
- ? e.lang
- : e.getAttribute('xml:lang') || e.getAttribute('lang'))
+ (n = p
+ ? t.lang
+ : t.getAttribute('xml:lang') || t.getAttribute('lang'))
)
return (
- (t = t.toLowerCase()) === n || 0 === t.indexOf(n + '-')
+ (n = n.toLowerCase()) === e || 0 === n.indexOf(e + '-')
);
- } while ((e = e.parentNode) && 1 === e.nodeType);
+ } while ((t = t.parentNode) && 1 === t.nodeType);
return !1;
}
);
}),
- target: function (e) {
- var t = ie.location && ie.location.hash;
- return t && t.slice(1) === e.id;
+ target: function (t) {
+ var n = e.location && e.location.hash;
+ return n && n.slice(1) === t.id;
},
root: function (e) {
- return e === r;
+ return e === f;
},
focus: function (e) {
return (
e ===
(function () {
try {
- return T.activeElement;
+ return l.activeElement;
} catch (e) {}
})() &&
- T.hasFocus() &&
+ l.hasFocus() &&
!!(e.type || e.href || ~e.tabIndex)
);
},
- enabled: X(!1),
- disabled: X(!0),
+ enabled: oe(!1),
+ disabled: oe(!0),
checked: function (e) {
return (
- (fe(e, 'input') && !!e.checked) ||
- (fe(e, 'option') && !!e.selected)
+ (S(e, 'input') && !!e.checked) || (S(e, 'option') && !!e.selected)
);
},
selected: function (e) {
@@ -991,406 +987,409 @@
return !0;
},
parent: function (e) {
- return !b.pseudos.empty(e);
+ return !r.pseudos.empty(e);
},
header: function (e) {
- return q.test(e.nodeName);
+ return z.test(e.nodeName);
},
input: function (e) {
- return N.test(e.nodeName);
+ return U.test(e.nodeName);
},
button: function (e) {
- return (fe(e, 'input') && 'button' === e.type) || fe(e, 'button');
+ return (S(e, 'input') && 'button' === e.type) || S(e, 'button');
},
text: function (e) {
var t;
return (
- fe(e, 'input') &&
+ S(e, 'input') &&
'text' === e.type &&
(null == (t = e.getAttribute('type')) ||
'text' === t.toLowerCase())
);
},
- first: U(function () {
+ first: ae(function () {
return [0];
}),
- last: U(function (e, t) {
+ last: ae(function (e, t) {
return [t - 1];
}),
- eq: U(function (e, t, n) {
+ eq: ae(function (e, t, n) {
return [n < 0 ? n + t : n];
}),
- even: U(function (e, t) {
+ even: ae(function (e, t) {
for (var n = 0; n < t; n += 2) e.push(n);
return e;
}),
- odd: U(function (e, t) {
+ odd: ae(function (e, t) {
for (var n = 1; n < t; n += 2) e.push(n);
return e;
}),
- lt: U(function (e, t, n) {
+ lt: ae(function (e, t, n) {
var r;
for (r = n < 0 ? n + t : t < n ? t : n; 0 <= --r; ) e.push(r);
return e;
}),
- gt: U(function (e, t, n) {
+ gt: ae(function (e, t, n) {
for (var r = n < 0 ? n + t : n; ++r < t; ) e.push(r);
return e;
}),
},
- }).pseudos.nth = b.pseudos.eq),
+ }).pseudos.nth = r.pseudos.eq),
{ radio: !0, checkbox: !0, file: !0, password: !0, image: !0 }))
- b.pseudos[e] = B(e);
- for (e in { submit: !0, reset: !0 }) b.pseudos[e] = _(e);
- function G() {}
- function Y(e, t) {
+ r.pseudos[t] = re(t);
+ for (t in { submit: !0, reset: !0 }) r.pseudos[t] = ie(t);
+ function le() {}
+ function ce(e, t) {
var n,
- r,
i,
o,
a,
s,
u,
- l = c[e + ' '];
- if (l) return t ? 0 : l.slice(0);
- (a = e), (s = []), (u = b.preFilter);
- while (a) {
- for (o in ((n && !(r = y.exec(a))) ||
- (r && (a = a.slice(r[0].length) || a), s.push((i = []))),
+ l,
+ c = w[e + ' '];
+ if (c) return t ? 0 : c.slice(0);
+ for (s = e, u = [], l = r.preFilter; s; ) {
+ for (a in ((n && !(i = W.exec(s))) ||
+ (i && (s = s.slice(i[0].length) || s), u.push((o = []))),
(n = !1),
- (r = m.exec(a)) &&
- ((n = r.shift()),
- i.push({ value: n, type: r[0].replace(ve, ' ') }),
- (a = a.slice(n.length))),
- b.filter))
- !(r = D[o].exec(a)) ||
- (u[o] && !(r = u[o](r))) ||
- ((n = r.shift()),
- i.push({ value: n, type: o, matches: r }),
- (a = a.slice(n.length)));
+ (i = F.exec(s)) &&
+ ((n = i.shift()),
+ o.push({ value: n, type: i[0].replace(D, ' ') }),
+ (s = s.slice(n.length))),
+ r.filter))
+ !(i = X[a].exec(s)) ||
+ (l[a] && !(i = l[a](i))) ||
+ ((n = i.shift()),
+ o.push({ value: n, type: a, matches: i }),
+ (s = s.slice(n.length)));
if (!n) break;
}
- return t ? a.length : a ? I.error(e) : c(e, s).slice(0);
+ return t ? s.length : s ? Z.error(e) : w(e, u).slice(0);
}
- function Q(e) {
+ function fe(e) {
for (var t = 0, n = e.length, r = ''; t < n; t++) r += e[t].value;
return r;
}
- function J(a, e, t) {
- var s = e.dir,
- u = e.next,
- l = u || s,
- c = t && 'parentNode' === l,
- f = n++;
- return e.first
- ? function (e, t, n) {
- while ((e = e[s])) if (1 === e.nodeType || c) return a(e, t, n);
+ function pe(e, t, n) {
+ var r = t.dir,
+ i = t.next,
+ o = i || r,
+ a = n && 'parentNode' === o,
+ s = x++;
+ return t.first
+ ? function (t, n, i) {
+ for (; (t = t[r]); ) if (1 === t.nodeType || a) return e(t, n, i);
return !1;
}
- : function (e, t, n) {
- var r,
- i,
- o = [E, f];
- if (n) {
- while ((e = e[s]))
- if ((1 === e.nodeType || c) && a(e, t, n)) return !0;
+ : function (t, n, u) {
+ var l,
+ c,
+ f = [m, s];
+ if (u) {
+ for (; (t = t[r]); )
+ if ((1 === t.nodeType || a) && e(t, n, u)) return !0;
} else
- while ((e = e[s]))
- if (1 === e.nodeType || c)
- if (((i = e[S] || (e[S] = {})), u && fe(e, u))) e = e[s] || e;
+ for (; (t = t[r]); )
+ if (1 === t.nodeType || a)
+ if (((c = t[y] || (t[y] = {})), i && S(t, i))) t = t[r] || t;
else {
- if ((r = i[l]) && r[0] === E && r[1] === f)
- return (o[2] = r[2]);
- if (((i[l] = o)[2] = a(e, t, n))) return !0;
+ if ((l = c[o]) && l[0] === m && l[1] === s)
+ return (f[2] = l[2]);
+ if (((c[o] = f)[2] = e(t, n, u))) return !0;
}
return !1;
};
}
- function K(i) {
- return 1 < i.length
- ? function (e, t, n) {
- var r = i.length;
- while (r--) if (!i[r](e, t, n)) return !1;
+ function de(e) {
+ return 1 < e.length
+ ? function (t, n, r) {
+ for (var i = e.length; i--; ) if (!e[i](t, n, r)) return !1;
return !0;
}
- : i[0];
+ : e[0];
}
- function Z(e, t, n, r, i) {
+ function he(e, t, n, r, i) {
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)));
return a;
}
- function ee(d, h, g, v, y, e) {
+ function ge(e, t, n, r, i, o) {
return (
- v && !v[S] && (v = ee(v)),
- y && !y[S] && (y = ee(y, e)),
- F(function (e, t, n, r) {
- var i,
- o,
- a,
- s,
- u = [],
- l = [],
- c = t.length,
- f =
- e ||
+ r && !r[y] && (r = ge(r)),
+ i && !i[y] && (i = ge(i, o)),
+ te(function (o, a, u, l) {
+ var c,
+ f,
+ p,
+ d,
+ h = [],
+ g = [],
+ y = a.length,
+ m =
+ o ||
(function (e, t, n) {
- for (var r = 0, i = t.length; r < i; r++) I(e, t[r], n);
+ for (var r = 0, i = t.length; r < i; r++) Z(e, t[r], n);
return n;
- })(h || '*', n.nodeType ? [n] : n, []),
- p = !d || (!e && h) ? f : Z(f, u, d, n, r);
+ })(t || '*', u.nodeType ? [u] : u, []),
+ x = !e || (!o && t) ? m : he(m, h, e, u, l);
if (
- (g ? g(p, (s = y || (e ? d : c || v) ? [] : t), n, r) : (s = p), v)
- ) {
- (i = Z(s, l)), v(i, [], n, r), (o = i.length);
- while (o--) (a = i[o]) && (s[l[o]] = !(p[l[o]] = a));
- }
- if (e) {
- if (y || d) {
- if (y) {
- (i = []), (o = s.length);
- while (o--) (a = s[o]) && i.push((p[o] = a));
- y(null, (s = []), i, r);
+ (n ? n(x, (d = i || (o ? e : y || r) ? [] : a), u, l) : (d = x), r)
+ )
+ for (c = he(d, g), r(c, [], u, l), f = c.length; f--; )
+ (p = c[f]) && (d[g[f]] = !(x[g[f]] = p));
+ if (o) {
+ if (i || e) {
+ if (i) {
+ for (c = [], f = d.length; f--; )
+ (p = d[f]) && c.push((x[f] = p));
+ i(null, (d = []), c, l);
}
- o = s.length;
- while (o--)
- (a = s[o]) &&
- -1 < (i = y ? se.call(e, a) : u[o]) &&
- (e[i] = !(t[i] = a));
+ for (f = d.length; f--; )
+ (p = d[f]) &&
+ -1 < (c = i ? s.call(o, p) : h[f]) &&
+ (o[c] = !(a[c] = p));
}
- } else (s = Z(s === t ? s.splice(c, s.length) : s)), y ? y(null, t, s, r) : k.apply(t, s);
+ } else (d = he(d === a ? d.splice(y, d.length) : d)), i ? i(null, a, d, l) : v.apply(a, d);
})
);
}
- function te(e) {
+ function ve(e) {
for (
- var i,
- t,
+ var t,
n,
- r = e.length,
- o = b.relative[e[0].type],
- a = o || b.relative[' '],
- s = o ? 1 : 0,
- u = J(
+ i,
+ a = e.length,
+ u = r.relative[e[0].type],
+ l = u || r.relative[' '],
+ c = u ? 1 : 0,
+ f = pe(
function (e) {
- return e === i;
+ return e === t;
},
- a,
+ l,
!0
),
- l = J(
+ p = pe(
function (e) {
- return -1 < se.call(i, e);
+ return -1 < s.call(t, e);
},
- a,
+ l,
!0
),
- c = [
- function (e, t, n) {
- var r =
- (!o && (n || t != w)) ||
- ((i = t).nodeType ? u(e, t, n) : l(e, t, n));
- return (i = null), r;
+ d = [
+ function (e, n, r) {
+ var i =
+ (!u && (r || n != o)) ||
+ ((t = n).nodeType ? f(e, n, r) : p(e, n, r));
+ return (t = null), i;
},
];
- s < r;
- s++
+ c < a;
+ c++
)
- if ((t = b.relative[e[s].type])) c = [J(K(c), t)];
+ if ((n = r.relative[e[c].type])) d = [pe(de(d), n)];
else {
- if ((t = b.filter[e[s].type].apply(null, e[s].matches))[S]) {
- for (n = ++s; n < r; n++) if (b.relative[e[n].type]) break;
- return ee(
- 1 < s && K(c),
- 1 < s &&
- Q(
+ if ((n = r.filter[e[c].type].apply(null, e[c].matches))[y]) {
+ for (i = ++c; i < a && !r.relative[e[i].type]; i++);
+ return ge(
+ 1 < c && de(d),
+ 1 < c &&
+ fe(
e
- .slice(0, s - 1)
- .concat({ value: ' ' === e[s - 2].type ? '*' : '' })
- ).replace(ve, '$1'),
- t,
- s < n && te(e.slice(s, n)),
- n < r && te((e = e.slice(n))),
- n < r && Q(e)
+ .slice(0, c - 1)
+ .concat({ value: ' ' === e[c - 2].type ? '*' : '' })
+ ).replace(D, '$1'),
+ n,
+ c < i && ve(e.slice(c, i)),
+ i < a && ve((e = e.slice(i))),
+ i < a && fe(e)
);
}
- c.push(t);
+ d.push(n);
}
- return K(c);
+ return de(d);
}
- function ne(e, t) {
+ function ye(e, t) {
var n,
- v,
- y,
- m,
- x,
- r,
- i = [],
- o = [],
- a = u[e + ' '];
- if (!a) {
- t || (t = Y(e)), (n = t.length);
- while (n--) (a = te(t[n]))[S] ? i.push(a) : o.push(a);
- (a = u(
+ i,
+ a,
+ s,
+ u,
+ c,
+ f = [],
+ d = [],
+ h = C[e + ' '];
+ if (!h) {
+ for (t || (t = ce(e)), n = t.length; n--; )
+ (h = ve(t[n]))[y] ? f.push(h) : d.push(h);
+ (h = C(
e,
- ((v = o),
- (m = 0 < (y = i).length),
- (x = 0 < v.length),
- (r = function (e, t, n, r, i) {
- var o,
- a,
- s,
- u = 0,
- l = '0',
- c = e && [],
- f = [],
- p = w,
- d = e || (x && b.find.TAG('*', i)),
- h = (E += null == p ? 1 : Math.random() || 0.1),
- g = d.length;
+ ((i = d),
+ (s = 0 < (a = f).length),
+ (u = 0 < i.length),
+ (c = function (e, t, n, c, f) {
+ var d,
+ h,
+ g,
+ y = 0,
+ x = '0',
+ b = e && [],
+ w = [],
+ C = o,
+ S = e || (u && r.find.TAG('*', f)),
+ k = (m += null == C ? 1 : Math.random() || 0.1),
+ j = S.length;
for (
- i && (w = t == T || t || i);
- l !== g && null != (o = d[l]);
- l++
+ f && (o = t == l || t || f);
+ x !== j && null != (d = S[x]);
+ x++
) {
- if (x && o) {
- (a = 0), t || o.ownerDocument == T || (V(o), (n = !C));
- while ((s = v[a++]))
- if (s(o, t || T, n)) {
- k.call(r, o);
+ if (u && d) {
+ for (
+ h = 0, t || d.ownerDocument == l || (ue(d), (n = !p));
+ (g = i[h++]);
+
+ )
+ if (g(d, t || l, n)) {
+ v.call(c, d);
break;
}
- i && (E = h);
+ f && (m = k);
}
- m && ((o = !s && o) && u--, e && c.push(o));
+ s && ((d = !g && d) && y--, e && b.push(d));
}
- if (((u += l), m && l !== u)) {
- a = 0;
- while ((s = y[a++])) s(c, f, t, n);
+ if (((y += x), s && x !== y)) {
+ for (h = 0; (g = a[h++]); ) g(b, w, t, n);
if (e) {
- if (0 < u) while (l--) c[l] || f[l] || (f[l] = pe.call(r));
- f = Z(f);
+ if (0 < y) for (; x--; ) b[x] || w[x] || (w[x] = E.call(c));
+ w = he(w);
}
- k.apply(r, f),
- i && !e && 0 < f.length && 1 < u + y.length && ce.uniqueSort(r);
+ v.apply(c, w),
+ f && !e && 0 < w.length && 1 < y + a.length && T.uniqueSort(c);
}
- return i && ((E = h), (w = p)), c;
+ return f && ((m = k), (o = C)), b;
}),
- m ? F(r) : r)
+ s ? te(c) : c)
)).selector = e;
}
- return a;
+ return h;
}
- function re(e, t, n, r) {
- var i,
- o,
+ function me(e, t, n, i) {
+ var o,
a,
s,
u,
- l = 'function' == typeof e && e,
- c = !r && Y((e = l.selector || e));
- if (((n = n || []), 1 === c.length)) {
+ l,
+ c = 'function' == typeof e && e,
+ f = !i && ce((e = c.selector || e));
+ if (((n = n || []), 1 === f.length)) {
if (
- 2 < (o = c[0] = c[0].slice(0)).length &&
- 'ID' === (a = o[0]).type &&
+ 2 < (a = f[0] = f[0].slice(0)).length &&
+ 'ID' === (s = a[0]).type &&
9 === t.nodeType &&
- C &&
- b.relative[o[1].type]
+ p &&
+ r.relative[a[1].type]
) {
- if (!(t = (b.find.ID(a.matches[0].replace(O, P), t) || [])[0]))
+ if (!(t = (r.find.ID(s.matches[0].replace(Y, Q), t) || [])[0]))
return n;
- l && (t = t.parentNode), (e = e.slice(o.shift().value.length));
+ c && (t = t.parentNode), (e = e.slice(a.shift().value.length));
}
- i = D.needsContext.test(e) ? 0 : o.length;
- while (i--) {
- if (((a = o[i]), b.relative[(s = a.type)])) break;
+ for (
+ o = X.needsContext.test(e) ? 0 : a.length;
+ o-- && ((s = a[o]), !r.relative[(u = s.type)]);
+
+ )
if (
- (u = b.find[s]) &&
- (r = u(
- a.matches[0].replace(O, P),
- (H.test(o[0].type) && z(t.parentNode)) || t
+ (l = r.find[u]) &&
+ (i = l(
+ s.matches[0].replace(Y, Q),
+ (G.test(a[0].type) && se(t.parentNode)) || t
))
) {
- if ((o.splice(i, 1), !(e = r.length && Q(o))))
- return k.apply(n, r), n;
+ if ((a.splice(o, 1), !(e = i.length && fe(a))))
+ return v.apply(n, i), n;
break;
}
- }
}
return (
- (l || ne(e, c))(r, t, !C, n, !t || (H.test(e) && z(t.parentNode)) || t),
+ (c || ye(e, f))(
+ i,
+ t,
+ !p,
+ n,
+ !t || (G.test(e) && se(t.parentNode)) || t
+ ),
n
);
}
- (G.prototype = b.filters = b.pseudos),
- (b.setFilters = new G()),
- (le.sortStable = S.split('').sort(l).join('') === S),
- V(),
- (le.sortDetached = $(function (e) {
- return 1 & e.compareDocumentPosition(T.createElement('fieldset'));
+ (le.prototype = r.filters = r.pseudos),
+ (r.setFilters = new le()),
+ (d.sortStable = y.split('').sort(q).join('') === y),
+ ue(),
+ (d.sortDetached = ne(function (e) {
+ return 1 & e.compareDocumentPosition(l.createElement('fieldset'));
})),
- (ce.find = I),
- (ce.expr[':'] = ce.expr.pseudos),
- (ce.unique = ce.uniqueSort),
- (I.compile = ne),
- (I.select = re),
- (I.setDocument = V),
- (I.escape = ce.escapeSelector),
- (I.getText = ce.text),
- (I.isXML = ce.isXMLDoc),
- (I.selectors = ce.expr),
- (I.support = ce.support),
- (I.uniqueSort = ce.uniqueSort);
+ (T.find = Z),
+ (T.expr[':'] = T.expr.pseudos),
+ (T.unique = T.uniqueSort),
+ (Z.compile = ye),
+ (Z.select = me),
+ (Z.setDocument = ue),
+ (Z.escape = T.escapeSelector),
+ (Z.getText = T.text),
+ (Z.isXML = T.isXMLDoc),
+ (Z.selectors = T.expr),
+ (Z.support = T.support),
+ (Z.uniqueSort = T.uniqueSort);
})();
- var d = function (e, t, n) {
- var r = [],
- i = void 0 !== n;
- while ((e = e[t]) && 9 !== e.nodeType)
+ var O = function (e, t, n) {
+ for (var r = [], i = void 0 !== n; (e = e[t]) && 9 !== e.nodeType; )
if (1 === e.nodeType) {
- if (i && ce(e).is(n)) break;
+ if (i && T(e).is(n)) break;
r.push(e);
}
return r;
},
- h = function (e, t) {
+ P = function (e, t) {
for (var n = []; e; e = e.nextSibling)
1 === e.nodeType && e !== t && n.push(e);
return n;
},
- b = ce.expr.match.needsContext,
- w = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
- function T(e, n, r) {
- return v(n)
- ? ce.grep(e, function (e, t) {
- return !!n.call(e, t, e) !== r;
+ R = T.expr.match.needsContext,
+ M = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
+ function I(e, t, n) {
+ return h(t)
+ ? T.grep(e, function (e, r) {
+ return !!t.call(e, r, e) !== n;
})
- : n.nodeType
- ? ce.grep(e, function (e) {
- return (e === n) !== r;
+ : t.nodeType
+ ? T.grep(e, function (e) {
+ return (e === t) !== n;
})
- : 'string' != typeof n
- ? ce.grep(e, function (e) {
- return -1 < se.call(n, e) !== r;
+ : 'string' != typeof t
+ ? T.grep(e, function (e) {
+ return -1 < s.call(t, e) !== n;
})
- : ce.filter(n, e, r);
+ : T.filter(t, e, n);
}
- (ce.filter = function (e, t, n) {
+ (T.filter = function (e, t, n) {
var r = t[0];
return (
n && (e = ':not(' + e + ')'),
1 === t.length && 1 === r.nodeType
- ? ce.find.matchesSelector(r, e)
+ ? T.find.matchesSelector(r, e)
? [r]
: []
- : ce.find.matches(
+ : T.find.matches(
e,
- ce.grep(t, function (e) {
+ T.grep(t, function (e) {
return 1 === e.nodeType;
})
)
);
}),
- ce.fn.extend({
+ T.fn.extend({
find: function (e) {
var t,
n,
@@ -1398,78 +1397,75 @@
i = this;
if ('string' != typeof e)
return this.pushStack(
- ce(e).filter(function () {
- for (t = 0; t < r; t++) if (ce.contains(i[t], this)) return !0;
+ T(e).filter(function () {
+ for (t = 0; t < r; t++) if (T.contains(i[t], this)) return !0;
})
);
- for (n = this.pushStack([]), t = 0; t < r; t++) ce.find(e, i[t], n);
- return 1 < r ? ce.uniqueSort(n) : n;
+ for (n = this.pushStack([]), t = 0; t < r; t++) T.find(e, i[t], n);
+ return 1 < r ? T.uniqueSort(n) : n;
},
filter: function (e) {
- return this.pushStack(T(this, e || [], !1));
+ return this.pushStack(I(this, e || [], !1));
},
not: function (e) {
- return this.pushStack(T(this, e || [], !0));
+ return this.pushStack(I(this, e || [], !0));
},
is: function (e) {
- return !!T(
- this,
- 'string' == typeof e && b.test(e) ? ce(e) : e || [],
- !1
- ).length;
+ return !!I(this, 'string' == typeof e && R.test(e) ? T(e) : e || [], !1)
+ .length;
},
});
- var k,
- S = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;
- ((ce.fn.init = function (e, t, n) {
+ var W,
+ F = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;
+ ((T.fn.init = function (e, t, n) {
var r, i;
if (!e) return this;
- if (((n = n || k), 'string' == typeof e)) {
+ if (((n = n || W), 'string' == typeof e)) {
if (
!(r =
'<' === e[0] && '>' === e[e.length - 1] && 3 <= e.length
? [null, e, null]
- : S.exec(e)) ||
+ : F.exec(e)) ||
(!r[1] && t)
)
return !t || t.jquery ? (t || n).find(e) : this.constructor(t).find(e);
if (r[1]) {
if (
- ((t = t instanceof ce ? t[0] : t),
- ce.merge(
+ ((t = t instanceof T ? t[0] : t),
+ T.merge(
this,
- ce.parseHTML(r[1], t && t.nodeType ? t.ownerDocument || t : C, !0)
+ T.parseHTML(r[1], t && t.nodeType ? t.ownerDocument || t : v, !0)
),
- w.test(r[1]) && ce.isPlainObject(t))
+ M.test(r[1]) && T.isPlainObject(t))
)
- for (r in t) v(this[r]) ? this[r](t[r]) : this.attr(r, t[r]);
+ for (r in t) h(this[r]) ? this[r](t[r]) : this.attr(r, t[r]);
return this;
}
return (
- (i = C.getElementById(r[2])) && ((this[0] = i), (this.length = 1)), this
+ (i = v.getElementById(r[2])) && ((this[0] = i), (this.length = 1)), this
);
}
return e.nodeType
? ((this[0] = e), (this.length = 1), this)
- : v(e)
+ : h(e)
? void 0 !== n.ready
? n.ready(e)
- : e(ce)
- : ce.makeArray(e, this);
- }).prototype = ce.fn),
- (k = ce(C));
- var E = /^(?:parents|prev(?:Until|All))/,
- j = { children: !0, contents: !0, next: !0, prev: !0 };
- function A(e, t) {
- while ((e = e[t]) && 1 !== e.nodeType);
+ : e(T)
+ : T.makeArray(e, this);
+ }).prototype = T.fn),
+ (W = T(v));
+ var $ = /^(?:parents|prev(?:Until|All))/,
+ B = { children: !0, contents: !0, next: !0, prev: !0 };
+ function _(e, t) {
+ for (; (e = e[t]) && 1 !== e.nodeType; );
return e;
}
- ce.fn.extend({
+ T.fn.extend({
has: function (e) {
- var t = ce(e, this),
+ var t = T(e, this),
n = t.length;
return this.filter(function () {
- for (var e = 0; e < n; e++) if (ce.contains(this, t[e])) return !0;
+ for (var e = 0; e < n; e++) if (T.contains(this, t[e])) return !0;
});
},
closest: function (e, t) {
@@ -1477,180 +1473,177 @@
r = 0,
i = this.length,
o = [],
- a = 'string' != typeof e && ce(e);
- if (!b.test(e))
+ a = 'string' != typeof e && T(e);
+ if (!R.test(e))
for (; r < i; r++)
for (n = this[r]; n && n !== t; n = n.parentNode)
if (
n.nodeType < 11 &&
(a
? -1 < a.index(n)
- : 1 === n.nodeType && ce.find.matchesSelector(n, e))
+ : 1 === n.nodeType && T.find.matchesSelector(n, e))
) {
o.push(n);
break;
}
- return this.pushStack(1 < o.length ? ce.uniqueSort(o) : o);
+ return this.pushStack(1 < o.length ? T.uniqueSort(o) : o);
},
index: function (e) {
return e
? 'string' == typeof e
- ? se.call(ce(e), this[0])
- : se.call(this, e.jquery ? e[0] : e)
+ ? s.call(T(e), this[0])
+ : s.call(this, e.jquery ? e[0] : e)
: this[0] && this[0].parentNode
? this.first().prevAll().length
: -1;
},
add: function (e, t) {
- return this.pushStack(ce.uniqueSort(ce.merge(this.get(), ce(e, t))));
+ return this.pushStack(T.uniqueSort(T.merge(this.get(), T(e, t))));
},
addBack: function (e) {
return this.add(null == e ? this.prevObject : this.prevObject.filter(e));
},
}),
- ce.each(
+ T.each(
{
parent: function (e) {
var t = e.parentNode;
return t && 11 !== t.nodeType ? t : null;
},
parents: function (e) {
- return d(e, 'parentNode');
+ return O(e, 'parentNode');
},
parentsUntil: function (e, t, n) {
- return d(e, 'parentNode', n);
+ return O(e, 'parentNode', n);
},
next: function (e) {
- return A(e, 'nextSibling');
+ return _(e, 'nextSibling');
},
prev: function (e) {
- return A(e, 'previousSibling');
+ return _(e, 'previousSibling');
},
nextAll: function (e) {
- return d(e, 'nextSibling');
+ return O(e, 'nextSibling');
},
prevAll: function (e) {
- return d(e, 'previousSibling');
+ return O(e, 'previousSibling');
},
nextUntil: function (e, t, n) {
- return d(e, 'nextSibling', n);
+ return O(e, 'nextSibling', n);
},
prevUntil: function (e, t, n) {
- return d(e, 'previousSibling', n);
+ return O(e, 'previousSibling', n);
},
siblings: function (e) {
- return h((e.parentNode || {}).firstChild, e);
+ return P((e.parentNode || {}).firstChild, e);
},
children: function (e) {
- return h(e.firstChild);
+ return P(e.firstChild);
},
contents: function (e) {
return null != e.contentDocument && r(e.contentDocument)
? e.contentDocument
- : (fe(e, 'template') && (e = e.content || e),
- ce.merge([], e.childNodes));
+ : (S(e, 'template') && (e = e.content || e),
+ T.merge([], e.childNodes));
},
},
- function (r, i) {
- ce.fn[r] = function (e, t) {
- var n = ce.map(this, i, e);
+ function (e, t) {
+ T.fn[e] = function (n, r) {
+ var i = T.map(this, t, n);
return (
- 'Until' !== r.slice(-5) && (t = e),
- t && 'string' == typeof t && (n = ce.filter(t, n)),
+ 'Until' !== e.slice(-5) && (r = n),
+ r && 'string' == typeof r && (i = T.filter(r, i)),
1 < this.length &&
- (j[r] || ce.uniqueSort(n), E.test(r) && n.reverse()),
- this.pushStack(n)
+ (B[e] || T.uniqueSort(i), $.test(e) && i.reverse()),
+ this.pushStack(i)
);
};
}
);
- var D = /[^\x20\t\r\n\f]+/g;
- function N(e) {
+ var X = /[^\x20\t\r\n\f]+/g;
+ function U(e) {
return e;
}
- function q(e) {
+ function z(e) {
throw e;
}
- function L(e, t, n, r) {
+ function V(e, t, n, r) {
var i;
try {
- e && v((i = e.promise))
+ e && h((i = e.promise))
? i.call(e).done(t).fail(n)
- : e && v((i = e.then))
+ : e && h((i = e.then))
? i.call(e, t, n)
: t.apply(void 0, [e].slice(r));
} catch (e) {
n.apply(void 0, [e]);
}
}
- (ce.Callbacks = function (r) {
- var e, n;
- r =
- 'string' == typeof r
- ? ((e = r),
+ (T.Callbacks = function (e) {
+ var t, n;
+ e =
+ 'string' == typeof e
+ ? ((t = e),
(n = {}),
- ce.each(e.match(D) || [], function (e, t) {
+ T.each(t.match(X) || [], function (e, t) {
n[t] = !0;
}),
n)
- : ce.extend({}, r);
- var i,
- t,
+ : T.extend({}, e);
+ var r,
+ i,
o,
a,
s = [],
u = [],
l = -1,
c = function () {
- for (a = a || r.once, o = i = !0; u.length; l = -1) {
- t = u.shift();
- while (++l < s.length)
- !1 === s[l].apply(t[0], t[1]) &&
- r.stopOnFalse &&
- ((l = s.length), (t = !1));
- }
- r.memory || (t = !1), (i = !1), a && (s = t ? [] : '');
+ for (a = a || e.once, o = r = !0; u.length; l = -1)
+ for (i = u.shift(); ++l < s.length; )
+ !1 === s[l].apply(i[0], i[1]) &&
+ e.stopOnFalse &&
+ ((l = s.length), (i = !1));
+ e.memory || (i = !1), (r = !1), a && (s = i ? [] : '');
},
f = {
add: function () {
return (
s &&
- (t && !i && ((l = s.length - 1), u.push(t)),
- (function n(e) {
- ce.each(e, function (e, t) {
- v(t)
- ? (r.unique && f.has(t)) || s.push(t)
- : t && t.length && 'string' !== x(t) && n(t);
+ (i && !r && ((l = s.length - 1), u.push(i)),
+ (function t(n) {
+ T.each(n, function (n, r) {
+ h(r)
+ ? (e.unique && f.has(r)) || s.push(r)
+ : r && r.length && 'string' !== x(r) && t(r);
});
})(arguments),
- t && !i && c()),
+ i && !r && c()),
this
);
},
remove: function () {
return (
- ce.each(arguments, function (e, t) {
- var n;
- while (-1 < (n = ce.inArray(t, s, n)))
+ T.each(arguments, function (e, t) {
+ for (var n; -1 < (n = T.inArray(t, s, n)); )
s.splice(n, 1), n <= l && l--;
}),
this
);
},
has: function (e) {
- return e ? -1 < ce.inArray(e, s) : 0 < s.length;
+ return e ? -1 < T.inArray(e, s) : 0 < s.length;
},
empty: function () {
return s && (s = []), this;
},
disable: function () {
- return (a = u = []), (s = t = ''), this;
+ return (a = u = []), (s = i = ''), this;
},
disabled: function () {
return !s;
},
lock: function () {
- return (a = u = []), t || i || (s = t = ''), this;
+ return (a = u = []), i || r || (s = i = ''), this;
},
locked: function () {
return !!a;
@@ -1660,7 +1653,7 @@
a ||
((t = [e, (t = t || []).slice ? t.slice() : t]),
u.push(t),
- i || c()),
+ r || c()),
this
);
},
@@ -1673,266 +1666,262 @@
};
return f;
}),
- ce.extend({
- Deferred: function (e) {
- var o = [
+ T.extend({
+ Deferred: function (t) {
+ var n = [
[
'notify',
'progress',
- ce.Callbacks('memory'),
- ce.Callbacks('memory'),
+ T.Callbacks('memory'),
+ T.Callbacks('memory'),
2,
],
[
'resolve',
'done',
- ce.Callbacks('once memory'),
- ce.Callbacks('once memory'),
+ T.Callbacks('once memory'),
+ T.Callbacks('once memory'),
0,
'resolved',
],
[
'reject',
'fail',
- ce.Callbacks('once memory'),
- ce.Callbacks('once memory'),
+ T.Callbacks('once memory'),
+ T.Callbacks('once memory'),
1,
'rejected',
],
],
- i = 'pending',
- a = {
+ r = 'pending',
+ i = {
state: function () {
- return i;
+ return r;
},
always: function () {
- return s.done(arguments).fail(arguments), this;
+ return o.done(arguments).fail(arguments), this;
},
catch: function (e) {
- return a.then(null, e);
+ return i.then(null, e);
},
pipe: function () {
- var i = arguments;
- return ce
- .Deferred(function (r) {
- ce.each(o, function (e, t) {
- var n = v(i[t[4]]) && i[t[4]];
- s[t[1]](function () {
- var e = n && n.apply(this, arguments);
- e && v(e.promise)
- ? e
- .promise()
- .progress(r.notify)
- .done(r.resolve)
- .fail(r.reject)
- : r[t[0] + 'With'](this, n ? [e] : arguments);
- });
- }),
- (i = null);
- })
- .promise();
+ var e = arguments;
+ return T.Deferred(function (t) {
+ T.each(n, function (n, r) {
+ var i = h(e[r[4]]) && e[r[4]];
+ o[r[1]](function () {
+ var e = i && i.apply(this, arguments);
+ e && h(e.promise)
+ ? e
+ .promise()
+ .progress(t.notify)
+ .done(t.resolve)
+ .fail(t.reject)
+ : t[r[0] + 'With'](this, i ? [e] : arguments);
+ });
+ }),
+ (e = null);
+ }).promise();
},
- then: function (t, n, r) {
- var u = 0;
- function l(i, o, a, s) {
+ then: function (t, r, i) {
+ var o = 0;
+ function a(t, n, r, i) {
return function () {
- var n = this,
- r = arguments,
- e = function () {
- var e, t;
- if (!(i < u)) {
- if ((e = a.apply(n, r)) === o.promise())
+ var s = this,
+ u = arguments,
+ l = function () {
+ var e, l;
+ if (!(t < o)) {
+ if ((e = r.apply(s, u)) === n.promise())
throw new TypeError('Thenable self-resolution');
- (t =
+ (l =
e &&
('object' == typeof e || 'function' == typeof e) &&
e.then),
- v(t)
- ? s
- ? t.call(e, l(u, o, N, s), l(u, o, q, s))
- : (u++,
- t.call(
+ h(l)
+ ? i
+ ? l.call(e, a(o, n, U, i), a(o, n, z, i))
+ : (o++,
+ l.call(
e,
- l(u, o, N, s),
- l(u, o, q, s),
- l(u, o, N, o.notifyWith)
+ a(o, n, U, i),
+ a(o, n, z, i),
+ a(o, n, U, n.notifyWith)
))
- : (a !== N && ((n = void 0), (r = [e])),
- (s || o.resolveWith)(n, r));
+ : (r !== U && ((s = void 0), (u = [e])),
+ (i || n.resolveWith)(s, u));
}
},
- t = s
- ? e
+ c = i
+ ? l
: function () {
try {
- e();
+ l();
} catch (e) {
- ce.Deferred.exceptionHook &&
- ce.Deferred.exceptionHook(e, t.error),
- u <= i + 1 &&
- (a !== q && ((n = void 0), (r = [e])),
- o.rejectWith(n, r));
+ T.Deferred.exceptionHook &&
+ T.Deferred.exceptionHook(e, c.error),
+ o <= t + 1 &&
+ (r !== z && ((s = void 0), (u = [e])),
+ n.rejectWith(s, u));
}
};
- i
- ? t()
- : (ce.Deferred.getErrorHook
- ? (t.error = ce.Deferred.getErrorHook())
- : ce.Deferred.getStackHook &&
- (t.error = ce.Deferred.getStackHook()),
- ie.setTimeout(t));
+ t
+ ? c()
+ : (T.Deferred.getErrorHook
+ ? (c.error = T.Deferred.getErrorHook())
+ : T.Deferred.getStackHook &&
+ (c.error = T.Deferred.getStackHook()),
+ e.setTimeout(c));
};
}
- return ce
- .Deferred(function (e) {
- o[0][3].add(l(0, e, v(r) ? r : N, e.notifyWith)),
- o[1][3].add(l(0, e, v(t) ? t : N)),
- o[2][3].add(l(0, e, v(n) ? n : q));
- })
- .promise();
+ return T.Deferred(function (e) {
+ n[0][3].add(a(0, e, h(i) ? i : U, e.notifyWith)),
+ n[1][3].add(a(0, e, h(t) ? t : U)),
+ n[2][3].add(a(0, e, h(r) ? r : z));
+ }).promise();
},
promise: function (e) {
- return null != e ? ce.extend(e, a) : a;
+ return null != e ? T.extend(e, i) : i;
},
},
- s = {};
+ o = {};
return (
- ce.each(o, function (e, t) {
- var n = t[2],
- r = t[5];
- (a[t[1]] = n.add),
- r &&
- n.add(
+ T.each(n, function (e, t) {
+ var a = t[2],
+ s = t[5];
+ (i[t[1]] = a.add),
+ s &&
+ a.add(
function () {
- i = r;
+ r = s;
},
- o[3 - e][2].disable,
- o[3 - e][3].disable,
- o[0][2].lock,
- o[0][3].lock
+ n[3 - e][2].disable,
+ n[3 - e][3].disable,
+ n[0][2].lock,
+ n[0][3].lock
),
- n.add(t[3].fire),
- (s[t[0]] = function () {
+ a.add(t[3].fire),
+ (o[t[0]] = function () {
return (
- s[t[0] + 'With'](this === s ? void 0 : this, arguments), this
+ o[t[0] + 'With'](this === o ? void 0 : this, arguments), this
);
}),
- (s[t[0] + 'With'] = n.fireWith);
+ (o[t[0] + 'With'] = a.fireWith);
}),
- a.promise(s),
- e && e.call(s, s),
- s
+ i.promise(o),
+ t && t.call(o, o),
+ o
);
},
when: function (e) {
- var n = arguments.length,
- t = n,
- r = Array(t),
- i = ae.call(arguments),
- o = ce.Deferred(),
- a = function (t) {
- return function (e) {
- (r[t] = this),
- (i[t] = 1 < arguments.length ? ae.call(arguments) : e),
- --n || o.resolveWith(r, i);
+ var t = arguments.length,
+ n = t,
+ r = Array(n),
+ o = i.call(arguments),
+ a = T.Deferred(),
+ s = function (e) {
+ return function (n) {
+ (r[e] = this),
+ (o[e] = 1 < arguments.length ? i.call(arguments) : n),
+ --t || a.resolveWith(r, o);
};
};
if (
- n <= 1 &&
- (L(e, o.done(a(t)).resolve, o.reject, !n),
- 'pending' === o.state() || v(i[t] && i[t].then))
+ t <= 1 &&
+ (V(e, a.done(s(n)).resolve, a.reject, !t),
+ 'pending' === a.state() || h(o[n] && o[n].then))
)
- return o.then();
- while (t--) L(i[t], a(t), o.reject);
- return o.promise();
+ return a.then();
+ for (; n--; ) V(o[n], s(n), a.reject);
+ return a.promise();
},
});
- var H = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
- (ce.Deferred.exceptionHook = function (e, t) {
- ie.console &&
- ie.console.warn &&
- e &&
- H.test(e.name) &&
- ie.console.warn('jQuery.Deferred exception: ' + e.message, e.stack, t);
+ var G = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
+ (T.Deferred.exceptionHook = function (t, n) {
+ e.console &&
+ e.console.warn &&
+ t &&
+ G.test(t.name) &&
+ e.console.warn('jQuery.Deferred exception: ' + t.message, t.stack, n);
}),
- (ce.readyException = function (e) {
- ie.setTimeout(function () {
- throw e;
+ (T.readyException = function (t) {
+ e.setTimeout(function () {
+ throw t;
});
});
- var O = ce.Deferred();
- function P() {
- C.removeEventListener('DOMContentLoaded', P),
- ie.removeEventListener('load', P),
- ce.ready();
+ var Y = T.Deferred();
+ function Q() {
+ v.removeEventListener('DOMContentLoaded', Q),
+ e.removeEventListener('load', Q),
+ T.ready();
}
- (ce.fn.ready = function (e) {
+ (T.fn.ready = function (e) {
return (
- O.then(e)['catch'](function (e) {
- ce.readyException(e);
+ Y.then(e).catch(function (e) {
+ T.readyException(e);
}),
this
);
}),
- ce.extend({
+ T.extend({
isReady: !1,
readyWait: 1,
ready: function (e) {
- (!0 === e ? --ce.readyWait : ce.isReady) ||
- ((ce.isReady = !0) !== e && 0 < --ce.readyWait) ||
- O.resolveWith(C, [ce]);
+ (!0 === e ? --T.readyWait : T.isReady) ||
+ ((T.isReady = !0) !== e && 0 < --T.readyWait) ||
+ Y.resolveWith(v, [T]);
},
}),
- (ce.ready.then = O.then),
- 'complete' === C.readyState ||
- ('loading' !== C.readyState && !C.documentElement.doScroll)
- ? ie.setTimeout(ce.ready)
- : (C.addEventListener('DOMContentLoaded', P),
- ie.addEventListener('load', P));
- var R = function (e, t, n, r, i, o, a) {
+ (T.ready.then = Y.then),
+ 'complete' === v.readyState ||
+ ('loading' !== v.readyState && !v.documentElement.doScroll)
+ ? e.setTimeout(T.ready)
+ : (v.addEventListener('DOMContentLoaded', Q),
+ e.addEventListener('load', Q));
+ var J = function (e, t, n, r, i, o, a) {
var s = 0,
u = e.length,
l = null == n;
if ('object' === x(n))
- for (s in ((i = !0), n)) R(e, t, s, n[s], !0, o, a);
+ for (s in ((i = !0), n)) J(e, t, s, n[s], !0, o, a);
else if (
void 0 !== r &&
((i = !0),
- v(r) || (a = !0),
+ h(r) || (a = !0),
l &&
(a
? (t.call(e, r), (t = null))
: ((l = t),
(t = function (e, t, n) {
- return l.call(ce(e), n);
+ return l.call(T(e), n);
}))),
t)
)
for (; s < u; s++) t(e[s], n, a ? r : r.call(e[s], s, t(e[s], n)));
return i ? e : l ? t.call(e) : u ? t(e[0], n) : o;
},
- M = /^-ms-/,
- I = /-([a-z])/g;
- function W(e, t) {
+ K = /^-ms-/,
+ Z = /-([a-z])/g;
+ function ee(e, t) {
return t.toUpperCase();
}
- function F(e) {
- return e.replace(M, 'ms-').replace(I, W);
+ function te(e) {
+ return e.replace(K, 'ms-').replace(Z, ee);
}
- var $ = function (e) {
+ var ne = function (e) {
return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType;
};
- function B() {
- this.expando = ce.expando + B.uid++;
+ function re() {
+ this.expando = T.expando + re.uid++;
}
- (B.uid = 1),
- (B.prototype = {
+ (re.uid = 1),
+ (re.prototype = {
cache: function (e) {
var t = e[this.expando];
return (
t ||
((t = {}),
- $(e) &&
+ ne(e) &&
(e.nodeType
? (e[this.expando] = t)
: Object.defineProperty(e, this.expando, {
@@ -1945,14 +1934,14 @@
set: function (e, t, n) {
var r,
i = this.cache(e);
- if ('string' == typeof t) i[F(t)] = n;
- else for (r in t) i[F(r)] = t[r];
+ if ('string' == typeof t) i[te(t)] = n;
+ else for (r in t) i[te(r)] = t[r];
return i;
},
get: function (e, t) {
return void 0 === t
? this.cache(e)
- : e[this.expando] && e[this.expando][F(t)];
+ : e[this.expando] && e[this.expando][te(t)];
},
access: function (e, t, n) {
return void 0 === t || (t && 'string' == typeof t && void 0 === n)
@@ -1965,30 +1954,30 @@
if (void 0 !== r) {
if (void 0 !== t) {
n = (t = Array.isArray(t)
- ? t.map(F)
- : (t = F(t)) in r
+ ? t.map(te)
+ : (t = te(t)) in r
? [t]
- : t.match(D) || []).length;
- while (n--) delete r[t[n]];
+ : t.match(X) || []).length;
+ for (; n--; ) delete r[t[n]];
}
- (void 0 === t || ce.isEmptyObject(r)) &&
+ (void 0 === t || T.isEmptyObject(r)) &&
(e.nodeType ? (e[this.expando] = void 0) : delete e[this.expando]);
}
},
hasData: function (e) {
var t = e[this.expando];
- return void 0 !== t && !ce.isEmptyObject(t);
+ return void 0 !== t && !T.isEmptyObject(t);
},
});
- var _ = new B(),
- X = new B(),
- U = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
- z = /[A-Z]/g;
- function V(e, t, n) {
+ var ie = new re(),
+ oe = new re(),
+ ae = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
+ se = /[A-Z]/g;
+ function ue(e, t, n) {
var r, i;
if (void 0 === n && 1 === e.nodeType)
if (
- ((r = 'data-' + t.replace(z, '-$&').toLowerCase()),
+ ((r = 'data-' + t.replace(se, '-$&').toLowerCase()),
'string' == typeof (n = e.getAttribute(r)))
) {
try {
@@ -1999,72 +1988,70 @@
? null
: i === +i + ''
? +i
- : U.test(i)
+ : ae.test(i)
? JSON.parse(i)
: i));
} catch (e) {}
- X.set(e, t, n);
+ oe.set(e, t, n);
} else n = void 0;
return n;
}
- ce.extend({
+ T.extend({
hasData: function (e) {
- return X.hasData(e) || _.hasData(e);
+ return oe.hasData(e) || ie.hasData(e);
},
data: function (e, t, n) {
- return X.access(e, t, n);
+ return oe.access(e, t, n);
},
removeData: function (e, t) {
- X.remove(e, t);
+ oe.remove(e, t);
},
_data: function (e, t, n) {
- return _.access(e, t, n);
+ return ie.access(e, t, n);
},
_removeData: function (e, t) {
- _.remove(e, t);
+ ie.remove(e, t);
},
}),
- ce.fn.extend({
- data: function (n, e) {
- var t,
+ T.fn.extend({
+ data: function (e, t) {
+ var n,
r,
i,
o = this[0],
a = o && o.attributes;
- if (void 0 === n) {
+ if (void 0 === e) {
if (
this.length &&
- ((i = X.get(o)), 1 === o.nodeType && !_.get(o, 'hasDataAttrs'))
+ ((i = oe.get(o)), 1 === o.nodeType && !ie.get(o, 'hasDataAttrs'))
) {
- t = a.length;
- while (t--)
- a[t] &&
- 0 === (r = a[t].name).indexOf('data-') &&
- ((r = F(r.slice(5))), V(o, r, i[r]));
- _.set(o, 'hasDataAttrs', !0);
+ for (n = a.length; n--; )
+ a[n] &&
+ 0 === (r = a[n].name).indexOf('data-') &&
+ ((r = te(r.slice(5))), ue(o, r, i[r]));
+ ie.set(o, 'hasDataAttrs', !0);
}
return i;
}
- return 'object' == typeof n
+ return 'object' == typeof e
? this.each(function () {
- X.set(this, n);
+ oe.set(this, e);
})
- : R(
+ : J(
this,
- function (e) {
- var t;
- if (o && void 0 === e)
- return void 0 !== (t = X.get(o, n))
- ? t
- : void 0 !== (t = V(o, n))
- ? t
+ function (t) {
+ var n;
+ if (o && void 0 === t)
+ return void 0 !== (n = oe.get(o, e)) ||
+ void 0 !== (n = ue(o, e))
+ ? n
: void 0;
this.each(function () {
- X.set(this, n, e);
+ oe.set(this, e, t);
});
},
null,
- e,
+ t,
1 < arguments.length,
null,
!0
@@ -2072,30 +2059,30 @@
},
removeData: function (e) {
return this.each(function () {
- X.remove(this, e);
+ oe.remove(this, e);
});
},
}),
- ce.extend({
+ T.extend({
queue: function (e, t, n) {
var r;
if (e)
return (
(t = (t || 'fx') + 'queue'),
- (r = _.get(e, t)),
+ (r = ie.get(e, t)),
n &&
(!r || Array.isArray(n)
- ? (r = _.access(e, t, ce.makeArray(n)))
+ ? (r = ie.access(e, t, T.makeArray(n)))
: r.push(n)),
r || []
);
},
dequeue: function (e, t) {
t = t || 'fx';
- var n = ce.queue(e, t),
+ var n = T.queue(e, t),
r = n.length,
i = n.shift(),
- o = ce._queueHooks(e, t);
+ o = T._queueHooks(e, t);
'inprogress' === i && ((i = n.shift()), r--),
i &&
('fx' === t && n.unshift('inprogress'),
@@ -2103,7 +2090,7 @@
i.call(
e,
function () {
- ce.dequeue(e, t);
+ T.dequeue(e, t);
},
o
)),
@@ -2112,34 +2099,34 @@
_queueHooks: function (e, t) {
var n = t + 'queueHooks';
return (
- _.get(e, n) ||
- _.access(e, n, {
- empty: ce.Callbacks('once memory').add(function () {
- _.remove(e, [t + 'queue', n]);
+ ie.get(e, n) ||
+ ie.access(e, n, {
+ empty: T.Callbacks('once memory').add(function () {
+ ie.remove(e, [t + 'queue', n]);
}),
})
);
},
}),
- ce.fn.extend({
- queue: function (t, n) {
- var e = 2;
+ T.fn.extend({
+ queue: function (e, t) {
+ var n = 2;
return (
- 'string' != typeof t && ((n = t), (t = 'fx'), e--),
- arguments.length < e
- ? ce.queue(this[0], t)
- : void 0 === n
+ 'string' != typeof e && ((t = e), (e = 'fx'), n--),
+ arguments.length < n
+ ? T.queue(this[0], e)
+ : void 0 === t
? this
: this.each(function () {
- var e = ce.queue(this, t, n);
- ce._queueHooks(this, t),
- 'fx' === t && 'inprogress' !== e[0] && ce.dequeue(this, t);
+ var n = T.queue(this, e, t);
+ T._queueHooks(this, e),
+ 'fx' === e && 'inprogress' !== n[0] && T.dequeue(this, e);
})
);
},
dequeue: function (e) {
return this.each(function () {
- ce.dequeue(this, e);
+ T.dequeue(this, e);
});
},
clearQueue: function (e) {
@@ -2148,41 +2135,44 @@
promise: function (e, t) {
var n,
r = 1,
- i = ce.Deferred(),
+ i = T.Deferred(),
o = this,
a = this.length,
s = function () {
--r || i.resolveWith(o, [o]);
};
- 'string' != typeof e && ((t = e), (e = void 0)), (e = e || 'fx');
- while (a--)
- (n = _.get(o[a], e + 'queueHooks')) &&
+ for (
+ 'string' != typeof e && ((t = e), (e = void 0)), e = e || 'fx';
+ a--;
+
+ )
+ (n = ie.get(o[a], e + 'queueHooks')) &&
n.empty &&
(r++, n.empty.add(s));
return s(), i.promise(t);
},
});
- var G = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
- Y = new RegExp('^(?:([+-])=|)(' + G + ')([a-z%]*)$', 'i'),
- Q = ['Top', 'Right', 'Bottom', 'Left'],
- J = C.documentElement,
- K = function (e) {
- return ce.contains(e.ownerDocument, e);
+ var le = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
+ ce = new RegExp('^(?:([+-])=|)(' + le + ')([a-z%]*)$', 'i'),
+ fe = ['Top', 'Right', 'Bottom', 'Left'],
+ pe = v.documentElement,
+ de = function (e) {
+ return T.contains(e.ownerDocument, e);
},
- Z = { composed: !0 };
- J.getRootNode &&
- (K = function (e) {
+ he = { composed: !0 };
+ pe.getRootNode &&
+ (de = function (e) {
return (
- ce.contains(e.ownerDocument, e) || e.getRootNode(Z) === e.ownerDocument
+ T.contains(e.ownerDocument, e) || e.getRootNode(he) === e.ownerDocument
);
});
- var ee = function (e, t) {
+ var ge = function (e, t) {
return (
'none' === (e = t || e).style.display ||
- ('' === e.style.display && K(e) && 'none' === ce.css(e, 'display'))
+ ('' === e.style.display && de(e) && 'none' === T.css(e, 'display'))
);
};
- function te(e, t, n, r) {
+ function ve(e, t, n, r) {
var i,
o,
a = 20,
@@ -2191,21 +2181,20 @@
return r.cur();
}
: function () {
- return ce.css(e, t, '');
+ return T.css(e, t, '');
},
u = s(),
- l = (n && n[3]) || (ce.cssNumber[t] ? '' : 'px'),
+ l = (n && n[3]) || (T.cssNumber[t] ? '' : 'px'),
c =
e.nodeType &&
- (ce.cssNumber[t] || ('px' !== l && +u)) &&
- Y.exec(ce.css(e, t));
+ (T.cssNumber[t] || ('px' !== l && +u)) &&
+ ce.exec(T.css(e, t));
if (c && c[3] !== l) {
- (u /= 2), (l = l || c[3]), (c = +u || 1);
- while (a--)
- ce.style(e, t, c + l),
+ for (u /= 2, l = l || c[3], c = +u || 1; a--; )
+ T.style(e, t, c + l),
(1 - o) * (1 - (o = s() / u || 0.5)) <= 0 && (a = 0),
(c /= o);
- (c *= 2), ce.style(e, t, c + l), (n = n || []);
+ (c *= 2), T.style(e, t, c + l), (n = n || []);
}
return (
n &&
@@ -2215,37 +2204,37 @@
i
);
}
- var ne = {};
- function re(e, t) {
+ var ye = {};
+ function me(e, t) {
for (var n, r, i, o, a, s, u, l = [], c = 0, f = e.length; c < f; c++)
(r = e[c]).style &&
((n = r.style.display),
t
? ('none' === n &&
- ((l[c] = _.get(r, 'display') || null),
+ ((l[c] = ie.get(r, 'display') || null),
l[c] || (r.style.display = '')),
'' === r.style.display &&
- ee(r) &&
+ ge(r) &&
(l[c] =
((u = a = o = void 0),
(a = (i = r).ownerDocument),
(s = i.nodeName),
- (u = ne[s]) ||
+ (u = ye[s]) ||
((o = a.body.appendChild(a.createElement(s))),
- (u = ce.css(o, 'display')),
+ (u = T.css(o, 'display')),
o.parentNode.removeChild(o),
'none' === u && (u = 'block'),
- (ne[s] = u)))))
- : 'none' !== n && ((l[c] = 'none'), _.set(r, 'display', n)));
+ (ye[s] = u)))))
+ : 'none' !== n && ((l[c] = 'none'), ie.set(r, 'display', n)));
for (c = 0; c < f; c++) null != l[c] && (e[c].style.display = l[c]);
return e;
}
- ce.fn.extend({
+ T.fn.extend({
show: function () {
- return re(this, !0);
+ return me(this, !0);
},
hide: function () {
- return re(this);
+ return me(this);
},
toggle: function (e) {
return 'boolean' == typeof e
@@ -2253,7 +2242,7 @@
? this.show()
: this.hide()
: this.each(function () {
- ee(this) ? ce(this).show() : ce(this).hide();
+ ge(this) ? T(this).show() : T(this).hide();
});
},
});
@@ -2262,43 +2251,43 @@
we = /^(?:checkbox|radio)$/i,
Te = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i,
Ce = /^$|^module$|\/(?:java|ecma)script/i;
- (xe = C.createDocumentFragment().appendChild(C.createElement('div'))),
- (be = C.createElement('input')).setAttribute('type', 'radio'),
+ (xe = v.createDocumentFragment().appendChild(v.createElement('div'))),
+ (be = v.createElement('input')).setAttribute('type', 'radio'),
be.setAttribute('checked', 'checked'),
be.setAttribute('name', 't'),
xe.appendChild(be),
- (le.checkClone = xe.cloneNode(!0).cloneNode(!0).lastChild.checked),
+ (d.checkClone = xe.cloneNode(!0).cloneNode(!0).lastChild.checked),
(xe.innerHTML = ''),
- (le.noCloneChecked = !!xe.cloneNode(!0).lastChild.defaultValue),
+ (d.noCloneChecked = !!xe.cloneNode(!0).lastChild.defaultValue),
(xe.innerHTML = ''),
- (le.option = !!xe.lastChild);
- var ke = {
+ (d.option = !!xe.lastChild);
+ var Se = {
thead: [1, ''],
col: [2, ''],
tr: [2, ''],
td: [3, ''],
_default: [0, '', ''],
};
- function Se(e, t) {
+ function Ee(e, t) {
var n;
return (
(n =
- 'undefined' != typeof e.getElementsByTagName
+ void 0 !== e.getElementsByTagName
? e.getElementsByTagName(t || '*')
- : 'undefined' != typeof e.querySelectorAll
+ : void 0 !== e.querySelectorAll
? e.querySelectorAll(t || '*')
: []),
- void 0 === t || (t && fe(e, t)) ? ce.merge([e], n) : n
+ void 0 === t || (t && S(e, t)) ? T.merge([e], n) : n
);
}
- function Ee(e, t) {
+ function ke(e, t) {
for (var n = 0, r = e.length; n < r; n++)
- _.set(e[n], 'globalEval', !t || _.get(t[n], 'globalEval'));
+ ie.set(e[n], 'globalEval', !t || ie.get(t[n], 'globalEval'));
}
- (ke.tbody = ke.tfoot = ke.colgroup = ke.caption = ke.thead),
- (ke.th = ke.td),
- le.option ||
- (ke.optgroup = ke.option =
+ (Se.tbody = Se.tfoot = Se.colgroup = Se.caption = Se.thead),
+ (Se.th = Se.td),
+ d.option ||
+ (Se.optgroup = Se.option =
[1, "']);
var je = /<|?\w+;/;
function Ae(e, t, n, r, i) {
@@ -2317,25 +2306,26 @@
d++
)
if ((o = e[d]) || 0 === o)
- if ('object' === x(o)) ce.merge(p, o.nodeType ? [o] : o);
+ if ('object' === x(o)) T.merge(p, o.nodeType ? [o] : o);
else if (je.test(o)) {
- (a = a || f.appendChild(t.createElement('div'))),
- (s = (Te.exec(o) || ['', ''])[1].toLowerCase()),
- (u = ke[s] || ke._default),
- (a.innerHTML = u[1] + ce.htmlPrefilter(o) + u[2]),
- (c = u[0]);
- while (c--) a = a.lastChild;
- ce.merge(p, a.childNodes), ((a = f.firstChild).textContent = '');
+ for (
+ a = a || f.appendChild(t.createElement('div')),
+ s = (Te.exec(o) || ['', ''])[1].toLowerCase(),
+ u = Se[s] || Se._default,
+ a.innerHTML = u[1] + T.htmlPrefilter(o) + u[2],
+ c = u[0];
+ c--;
+
+ )
+ a = a.lastChild;
+ T.merge(p, a.childNodes), ((a = f.firstChild).textContent = '');
} else p.push(t.createTextNode(o));
- (f.textContent = ''), (d = 0);
- while ((o = p[d++]))
- if (r && -1 < ce.inArray(o, r)) i && i.push(o);
+ for (f.textContent = '', d = 0; (o = p[d++]); )
+ if (r && -1 < T.inArray(o, r)) i && i.push(o);
else if (
- ((l = K(o)), (a = Se(f.appendChild(o), 'script')), l && Ee(a), n)
- ) {
- c = 0;
- while ((o = a[c++])) Ce.test(o.type || '') && n.push(o);
- }
+ ((l = de(o)), (a = Ee(f.appendChild(o), 'script')), l && ke(a), n)
+ )
+ for (c = 0; (o = a[c++]); ) Ce.test(o.type || '') && n.push(o);
return f;
}
var De = /^([^.]*)(?:\.(.+)|)/;
@@ -2367,45 +2357,45 @@
1 === o &&
((a = i),
((i = function (e) {
- return ce().off(e), a.apply(this, arguments);
- }).guid = a.guid || (a.guid = ce.guid++))),
+ return T().off(e), a.apply(this, arguments);
+ }).guid = a.guid || (a.guid = T.guid++))),
e.each(function () {
- ce.event.add(this, t, i, r, n);
+ T.event.add(this, t, i, r, n);
})
);
}
- function He(e, r, t) {
- t
- ? (_.set(e, r, !1),
- ce.event.add(e, r, {
+ function He(e, t, n) {
+ n
+ ? (ie.set(e, t, !1),
+ T.event.add(e, t, {
namespace: !1,
handler: function (e) {
- var t,
- n = _.get(this, r);
- if (1 & e.isTrigger && this[r]) {
- if (n)
- (ce.event.special[r] || {}).delegateType && e.stopPropagation();
+ var n,
+ r = ie.get(this, t);
+ if (1 & e.isTrigger && this[t]) {
+ if (r)
+ (T.event.special[t] || {}).delegateType && e.stopPropagation();
else if (
- ((n = ae.call(arguments)),
- _.set(this, r, n),
- this[r](),
- (t = _.get(this, r)),
- _.set(this, r, !1),
- n !== t)
+ ((r = i.call(arguments)),
+ ie.set(this, t, r),
+ this[t](),
+ (n = ie.get(this, t)),
+ ie.set(this, t, !1),
+ r !== n)
)
- return e.stopImmediatePropagation(), e.preventDefault(), t;
+ return e.stopImmediatePropagation(), e.preventDefault(), n;
} else
- n &&
- (_.set(this, r, ce.event.trigger(n[0], n.slice(1), this)),
+ r &&
+ (ie.set(this, t, T.event.trigger(r[0], r.slice(1), this)),
e.stopPropagation(),
(e.isImmediatePropagationStopped = Ne));
},
}))
- : void 0 === _.get(e, r) && ce.event.add(e, r, Ne);
+ : void 0 === ie.get(e, t) && T.event.add(e, t, Ne);
}
- (ce.event = {
+ (T.event = {
global: {},
- add: function (t, e, n, r, i) {
+ add: function (e, t, n, r, i) {
var o,
a,
s,
@@ -2417,28 +2407,31 @@
d,
h,
g,
- v = _.get(t);
- if ($(t)) {
- n.handler && ((n = (o = n).handler), (i = o.selector)),
- i && ce.find.matchesSelector(J, i),
- n.guid || (n.guid = ce.guid++),
- (u = v.events) || (u = v.events = Object.create(null)),
- (a = v.handle) ||
- (a = v.handle =
- function (e) {
- return 'undefined' != typeof ce && ce.event.triggered !== e.type
- ? ce.event.dispatch.apply(t, arguments)
- : void 0;
- }),
- (l = (e = (e || '').match(D) || ['']).length);
- while (l--)
- (d = g = (s = De.exec(e[l]) || [])[1]),
+ v = ie.get(e);
+ if (ne(e))
+ for (
+ n.handler && ((n = (o = n).handler), (i = o.selector)),
+ i && T.find.matchesSelector(pe, i),
+ n.guid || (n.guid = T.guid++),
+ (u = v.events) || (u = v.events = Object.create(null)),
+ (a = v.handle) ||
+ (a = v.handle =
+ function (t) {
+ return void 0 !== T && T.event.triggered !== t.type
+ ? T.event.dispatch.apply(e, arguments)
+ : void 0;
+ }),
+ l = (t = (t || '').match(X) || ['']).length;
+ l--;
+
+ )
+ (d = g = (s = De.exec(t[l]) || [])[1]),
(h = (s[2] || '').split('.').sort()),
d &&
- ((f = ce.event.special[d] || {}),
+ ((f = T.event.special[d] || {}),
(d = (i ? f.delegateType : f.bindType) || d),
- (f = ce.event.special[d] || {}),
- (c = ce.extend(
+ (f = T.event.special[d] || {}),
+ (c = T.extend(
{
type: d,
origType: g,
@@ -2446,20 +2439,19 @@
handler: n,
guid: n.guid,
selector: i,
- needsContext: i && ce.expr.match.needsContext.test(i),
+ needsContext: i && T.expr.match.needsContext.test(i),
namespace: h.join('.'),
},
o
)),
(p = u[d]) ||
(((p = u[d] = []).delegateCount = 0),
- (f.setup && !1 !== f.setup.call(t, r, h, a)) ||
- (t.addEventListener && t.addEventListener(d, a))),
+ (f.setup && !1 !== f.setup.call(e, r, h, a)) ||
+ (e.addEventListener && e.addEventListener(d, a))),
f.add &&
- (f.add.call(t, c), c.handler.guid || (c.handler.guid = n.guid)),
+ (f.add.call(e, c), c.handler.guid || (c.handler.guid = n.guid)),
i ? p.splice(p.delegateCount++, 0, c) : p.push(c),
- (ce.event.global[d] = !0));
- }
+ (T.event.global[d] = !0));
},
remove: function (e, t, n, r, i) {
var o,
@@ -2473,22 +2465,24 @@
d,
h,
g,
- v = _.hasData(e) && _.get(e);
+ v = ie.hasData(e) && ie.get(e);
if (v && (u = v.events)) {
- l = (t = (t || '').match(D) || ['']).length;
- while (l--)
+ for (l = (t = (t || '').match(X) || ['']).length; l--; )
if (
((d = g = (s = De.exec(t[l]) || [])[1]),
(h = (s[2] || '').split('.').sort()),
d)
) {
- (f = ce.event.special[d] || {}),
- (p = u[(d = (r ? f.delegateType : f.bindType) || d)] || []),
- (s =
- s[2] &&
- new RegExp('(^|\\.)' + h.join('\\.(?:.*\\.|)') + '(\\.|$)')),
- (a = o = p.length);
- while (o--)
+ for (
+ f = T.event.special[d] || {},
+ p = u[(d = (r ? f.delegateType : f.bindType) || d)] || [],
+ s =
+ s[2] &&
+ new RegExp('(^|\\.)' + h.join('\\.(?:.*\\.|)') + '(\\.|$)'),
+ a = o = p.length;
+ o--;
+
+ )
(c = p[o]),
(!i && g !== c.origType) ||
(n && n.guid !== c.guid) ||
@@ -2500,10 +2494,10 @@
a &&
!p.length &&
((f.teardown && !1 !== f.teardown.call(e, h, v.handle)) ||
- ce.removeEvent(e, d, v.handle),
+ T.removeEvent(e, d, v.handle),
delete u[d]);
- } else for (d in u) ce.event.remove(e, d + t[l], n, r, !0);
- ce.isEmptyObject(u) && _.remove(e, 'handle events');
+ } else for (d in u) T.event.remove(e, d + t[l], n, r, !0);
+ T.isEmptyObject(u) && ie.remove(e, 'handle events');
}
},
dispatch: function (e) {
@@ -2514,18 +2508,24 @@
o,
a,
s = new Array(arguments.length),
- u = ce.event.fix(e),
- l = (_.get(this, 'events') || Object.create(null))[u.type] || [],
- c = ce.event.special[u.type] || {};
+ u = T.event.fix(e),
+ l = (ie.get(this, 'events') || Object.create(null))[u.type] || [],
+ c = T.event.special[u.type] || {};
for (s[0] = u, t = 1; t < arguments.length; t++) s[t] = arguments[t];
if (
((u.delegateTarget = this),
!c.preDispatch || !1 !== c.preDispatch.call(this, u))
) {
- (a = ce.event.handlers.call(this, u, l)), (t = 0);
- while ((i = a[t++]) && !u.isPropagationStopped()) {
- (u.currentTarget = i.elem), (n = 0);
- while ((o = i.handlers[n++]) && !u.isImmediatePropagationStopped())
+ for (
+ a = T.event.handlers.call(this, u, l), t = 0;
+ (i = a[t++]) && !u.isPropagationStopped();
+
+ )
+ for (
+ u.currentTarget = i.elem, n = 0;
+ (o = i.handlers[n++]) && !u.isImmediatePropagationStopped();
+
+ )
(u.rnamespace &&
!1 !== o.namespace &&
!u.rnamespace.test(o.namespace)) ||
@@ -2533,11 +2533,10 @@
(u.data = o.data),
void 0 !==
(r = (
- (ce.event.special[o.origType] || {}).handle || o.handler
+ (T.event.special[o.origType] || {}).handle || o.handler
).apply(i.elem, s)) &&
!1 === (u.result = r) &&
(u.preventDefault(), u.stopPropagation()));
- }
return c.postDispatch && c.postDispatch.call(this, u), u.result;
}
},
@@ -2556,8 +2555,8 @@
for (o = [], a = {}, n = 0; n < u; n++)
void 0 === a[(i = (r = t[n]).selector + ' ')] &&
(a[i] = r.needsContext
- ? -1 < ce(i, this).index(l)
- : ce.find(i, this, null, [l]).length),
+ ? -1 < T(i, this).index(l)
+ : T.find(i, this, null, [l]).length),
a[i] && o.push(r);
o.length && s.push({ elem: l, handlers: o });
}
@@ -2565,29 +2564,29 @@
(l = this), u < t.length && s.push({ elem: l, handlers: t.slice(u) }), s
);
},
- addProp: function (t, e) {
- Object.defineProperty(ce.Event.prototype, t, {
+ addProp: function (e, t) {
+ Object.defineProperty(T.Event.prototype, e, {
enumerable: !0,
configurable: !0,
- get: v(e)
+ get: h(t)
? function () {
- if (this.originalEvent) return e(this.originalEvent);
+ if (this.originalEvent) return t(this.originalEvent);
}
: function () {
- if (this.originalEvent) return this.originalEvent[t];
+ if (this.originalEvent) return this.originalEvent[e];
},
- set: function (e) {
- Object.defineProperty(this, t, {
+ set: function (t) {
+ Object.defineProperty(this, e, {
enumerable: !0,
configurable: !0,
writable: !0,
- value: e,
+ value: t,
});
},
});
},
fix: function (e) {
- return e[ce.expando] ? e : new ce.Event(e);
+ return e[T.expando] ? e : new T.Event(e);
},
special: {
load: { noBubble: !0 },
@@ -2595,14 +2594,14 @@
setup: function (e) {
var t = this || e;
return (
- we.test(t.type) && t.click && fe(t, 'input') && He(t, 'click', !0),
+ we.test(t.type) && t.click && S(t, 'input') && He(t, 'click', !0),
!1
);
},
trigger: function (e) {
var t = this || e;
return (
- we.test(t.type) && t.click && fe(t, 'input') && He(t, 'click'), !0
+ we.test(t.type) && t.click && S(t, 'input') && He(t, 'click'), !0
);
},
_default: function (e) {
@@ -2610,9 +2609,9 @@
return (
(we.test(t.type) &&
t.click &&
- fe(t, 'input') &&
- _.get(t, 'click')) ||
- fe(t, 'a')
+ S(t, 'input') &&
+ ie.get(t, 'click')) ||
+ S(t, 'a')
);
},
},
@@ -2625,11 +2624,11 @@
},
},
}),
- (ce.removeEvent = function (e, t, n) {
+ (T.removeEvent = function (e, t, n) {
e.removeEventListener && e.removeEventListener(t, n);
}),
- (ce.Event = function (e, t) {
- if (!(this instanceof ce.Event)) return new ce.Event(e, t);
+ (T.Event = function (e, t) {
+ if (!(this instanceof T.Event)) return new T.Event(e, t);
e && e.type
? ((this.originalEvent = e),
(this.type = e.type),
@@ -2645,12 +2644,12 @@
(this.currentTarget = e.currentTarget),
(this.relatedTarget = e.relatedTarget))
: (this.type = e),
- t && ce.extend(this, t),
+ t && T.extend(this, t),
(this.timeStamp = (e && e.timeStamp) || Date.now()),
- (this[ce.expando] = !0);
+ (this[T.expando] = !0);
}),
- (ce.Event.prototype = {
- constructor: ce.Event,
+ (T.Event.prototype = {
+ constructor: T.Event,
isDefaultPrevented: qe,
isPropagationStopped: qe,
isImmediatePropagationStopped: qe,
@@ -2672,7 +2671,7 @@
this.stopPropagation();
},
}),
- ce.each(
+ T.each(
{
altKey: !0,
bubbles: !0,
@@ -2706,92 +2705,92 @@
touches: !0,
which: !0,
},
- ce.event.addProp
+ T.event.addProp
),
- ce.each({ focus: 'focusin', blur: 'focusout' }, function (r, i) {
- function o(e) {
- if (C.documentMode) {
- var t = _.get(this, 'handle'),
- n = ce.event.fix(e);
- (n.type = 'focusin' === e.type ? 'focus' : 'blur'),
- (n.isSimulated = !0),
- t(e),
- n.target === n.currentTarget && t(n);
- } else ce.event.simulate(i, e.target, ce.event.fix(e));
+ T.each({ focus: 'focusin', blur: 'focusout' }, function (e, t) {
+ function n(e) {
+ if (v.documentMode) {
+ var n = ie.get(this, 'handle'),
+ r = T.event.fix(e);
+ (r.type = 'focusin' === e.type ? 'focus' : 'blur'),
+ (r.isSimulated = !0),
+ n(e),
+ r.target === r.currentTarget && n(r);
+ } else T.event.simulate(t, e.target, T.event.fix(e));
}
- (ce.event.special[r] = {
+ (T.event.special[e] = {
setup: function () {
- var e;
- if ((He(this, r, !0), !C.documentMode)) return !1;
- (e = _.get(this, i)) || this.addEventListener(i, o),
- _.set(this, i, (e || 0) + 1);
+ var r;
+ if ((He(this, e, !0), !v.documentMode)) return !1;
+ (r = ie.get(this, t)) || this.addEventListener(t, n),
+ ie.set(this, t, (r || 0) + 1);
},
trigger: function () {
- return He(this, r), !0;
+ return He(this, e), !0;
},
teardown: function () {
var e;
- if (!C.documentMode) return !1;
- (e = _.get(this, i) - 1)
- ? _.set(this, i, e)
- : (this.removeEventListener(i, o), _.remove(this, i));
+ if (!v.documentMode) return !1;
+ (e = ie.get(this, t) - 1)
+ ? ie.set(this, t, e)
+ : (this.removeEventListener(t, n), ie.remove(this, t));
},
- _default: function (e) {
- return _.get(e.target, r);
+ _default: function (t) {
+ return ie.get(t.target, e);
},
- delegateType: i,
+ delegateType: t,
}),
- (ce.event.special[i] = {
+ (T.event.special[t] = {
setup: function () {
- var e = this.ownerDocument || this.document || this,
- t = C.documentMode ? this : e,
- n = _.get(t, i);
- n ||
- (C.documentMode
- ? this.addEventListener(i, o)
- : e.addEventListener(r, o, !0)),
- _.set(t, i, (n || 0) + 1);
+ var r = this.ownerDocument || this.document || this,
+ i = v.documentMode ? this : r,
+ o = ie.get(i, t);
+ o ||
+ (v.documentMode
+ ? this.addEventListener(t, n)
+ : r.addEventListener(e, n, !0)),
+ ie.set(i, t, (o || 0) + 1);
},
teardown: function () {
- var e = this.ownerDocument || this.document || this,
- t = C.documentMode ? this : e,
- n = _.get(t, i) - 1;
- n
- ? _.set(t, i, n)
- : (C.documentMode
- ? this.removeEventListener(i, o)
- : e.removeEventListener(r, o, !0),
- _.remove(t, i));
+ var r = this.ownerDocument || this.document || this,
+ i = v.documentMode ? this : r,
+ o = ie.get(i, t) - 1;
+ o
+ ? ie.set(i, t, o)
+ : (v.documentMode
+ ? this.removeEventListener(t, n)
+ : r.removeEventListener(e, n, !0),
+ ie.remove(i, t));
},
});
}),
- ce.each(
+ T.each(
{
mouseenter: 'mouseover',
mouseleave: 'mouseout',
pointerenter: 'pointerover',
pointerleave: 'pointerout',
},
- function (e, i) {
- ce.event.special[e] = {
- delegateType: i,
- bindType: i,
+ function (e, t) {
+ T.event.special[e] = {
+ delegateType: t,
+ bindType: t,
handle: function (e) {
- var t,
- n = e.relatedTarget,
- r = e.handleObj;
+ var n,
+ r = e.relatedTarget,
+ i = e.handleObj;
return (
- (n && (n === this || ce.contains(this, n))) ||
- ((e.type = r.origType),
- (t = r.handler.apply(this, arguments)),
- (e.type = i)),
- t
+ (r && (r === this || T.contains(this, r))) ||
+ ((e.type = i.origType),
+ (n = i.handler.apply(this, arguments)),
+ (e.type = t)),
+ n
);
},
};
}
),
- ce.fn.extend({
+ T.fn.extend({
on: function (e, t, n, r) {
return Le(this, e, t, n, r);
},
@@ -2803,7 +2802,7 @@
if (e && e.preventDefault && e.handleObj)
return (
(r = e.handleObj),
- ce(e.delegateTarget).off(
+ T(e.delegateTarget).off(
r.namespace ? r.origType + '.' + r.namespace : r.origType,
r.selector,
r.handler
@@ -2818,7 +2817,7 @@
(!1 !== t && 'function' != typeof t) || ((n = t), (t = void 0)),
!1 === n && (n = qe),
this.each(function () {
- ce.event.remove(this, e, n, t);
+ T.event.remove(this, e, n, t);
})
);
},
@@ -2828,9 +2827,9 @@
Re = /^\s*\s*$/g;
function Me(e, t) {
return (
- (fe(e, 'table') &&
- fe(11 !== t.nodeType ? t : t.firstChild, 'tr') &&
- ce(e).children('tbody')[0]) ||
+ (S(e, 'table') &&
+ S(11 !== t.nodeType ? t : t.firstChild, 'tr') &&
+ T(e).children('tbody')[0]) ||
e
);
}
@@ -2848,71 +2847,68 @@
function Fe(e, t) {
var n, r, i, o, a, s;
if (1 === t.nodeType) {
- if (_.hasData(e) && (s = _.get(e).events))
- for (i in (_.remove(t, 'handle events'), s))
- for (n = 0, r = s[i].length; n < r; n++) ce.event.add(t, i, s[i][n]);
- X.hasData(e) && ((o = X.access(e)), (a = ce.extend({}, o)), X.set(t, a));
+ if (ie.hasData(e) && (s = ie.get(e).events))
+ for (i in (ie.remove(t, 'handle events'), s))
+ for (n = 0, r = s[i].length; n < r; n++) T.event.add(t, i, s[i][n]);
+ oe.hasData(e) &&
+ ((o = oe.access(e)), (a = T.extend({}, o)), oe.set(t, a));
}
}
- function $e(n, r, i, o) {
- r = g(r);
- var e,
- t,
+ function $e(e, t, n, r) {
+ t = o(t);
+ var i,
a,
s,
u,
l,
- c = 0,
- f = n.length,
- p = f - 1,
- d = r[0],
- h = v(d);
- if (h || (1 < f && 'string' == typeof d && !le.checkClone && Pe.test(d)))
- return n.each(function (e) {
- var t = n.eq(e);
- h && (r[0] = d.call(this, e, t.html())), $e(t, r, i, o);
+ c,
+ f = 0,
+ p = e.length,
+ g = p - 1,
+ v = t[0],
+ y = h(v);
+ if (y || (1 < p && 'string' == typeof v && !d.checkClone && Pe.test(v)))
+ return e.each(function (i) {
+ var o = e.eq(i);
+ y && (t[0] = v.call(this, i, o.html())), $e(o, t, n, r);
});
if (
- f &&
- ((t = (e = Ae(r, n[0].ownerDocument, !1, n, o)).firstChild),
- 1 === e.childNodes.length && (e = t),
- t || o)
+ p &&
+ ((a = (i = Ae(t, e[0].ownerDocument, !1, e, r)).firstChild),
+ 1 === i.childNodes.length && (i = a),
+ a || r)
) {
- for (s = (a = ce.map(Se(e, 'script'), Ie)).length; c < f; c++)
- (u = e),
- c !== p &&
- ((u = ce.clone(u, !0, !0)), s && ce.merge(a, Se(u, 'script'))),
- i.call(n[c], u, c);
- if (s)
- for (
- l = a[a.length - 1].ownerDocument, ce.map(a, We), c = 0;
- c < s;
- c++
- )
- (u = a[c]),
- Ce.test(u.type || '') &&
- !_.access(u, 'globalEval') &&
- ce.contains(l, u) &&
- (u.src && 'module' !== (u.type || '').toLowerCase()
- ? ce._evalUrl &&
- !u.noModule &&
- ce._evalUrl(
- u.src,
- { nonce: u.nonce || u.getAttribute('nonce') },
- l
+ for (u = (s = T.map(Ee(i, 'script'), Ie)).length; f < p; f++)
+ (l = i),
+ f !== g &&
+ ((l = T.clone(l, !0, !0)), u && T.merge(s, Ee(l, 'script'))),
+ n.call(e[f], l, f);
+ if (u)
+ for (c = s[s.length - 1].ownerDocument, T.map(s, We), f = 0; f < u; f++)
+ (l = s[f]),
+ Ce.test(l.type || '') &&
+ !ie.access(l, 'globalEval') &&
+ T.contains(c, l) &&
+ (l.src && 'module' !== (l.type || '').toLowerCase()
+ ? T._evalUrl &&
+ !l.noModule &&
+ T._evalUrl(
+ l.src,
+ { nonce: l.nonce || l.getAttribute('nonce') },
+ c
)
- : m(u.textContent.replace(Re, ''), u, l));
+ : m(l.textContent.replace(Re, ''), l, c));
}
- return n;
+ return e;
}
function Be(e, t, n) {
- for (var r, i = t ? ce.filter(t, e) : e, o = 0; null != (r = i[o]); o++)
- n || 1 !== r.nodeType || ce.cleanData(Se(r)),
+ for (var r, i = t ? T.filter(t, e) : e, o = 0; null != (r = i[o]); o++)
+ n || 1 !== r.nodeType || T.cleanData(Ee(r)),
r.parentNode &&
- (n && K(r) && Ee(Se(r, 'script')), r.parentNode.removeChild(r));
+ (n && de(r) && ke(Ee(r, 'script')), r.parentNode.removeChild(r));
return e;
}
- ce.extend({
+ T.extend({
htmlPrefilter: function (e) {
return e;
},
@@ -2925,45 +2921,44 @@
u,
l,
c = e.cloneNode(!0),
- f = K(e);
+ f = de(e);
if (
!(
- le.noCloneChecked ||
+ d.noCloneChecked ||
(1 !== e.nodeType && 11 !== e.nodeType) ||
- ce.isXMLDoc(e)
+ T.isXMLDoc(e)
)
)
- for (a = Se(c), r = 0, i = (o = Se(e)).length; r < i; r++)
+ for (a = Ee(c), r = 0, i = (o = Ee(e)).length; r < i; r++)
(s = o[r]),
- (u = a[r]),
- void 0,
- 'input' === (l = u.nodeName.toLowerCase()) && we.test(s.type)
+ 'input' === (l = (u = a[r]).nodeName.toLowerCase()) &&
+ we.test(s.type)
? (u.checked = s.checked)
: ('input' !== l && 'textarea' !== l) ||
(u.defaultValue = s.defaultValue);
if (t)
if (n)
- for (o = o || Se(e), a = a || Se(c), r = 0, i = o.length; r < i; r++)
+ for (o = o || Ee(e), a = a || Ee(c), r = 0, i = o.length; r < i; r++)
Fe(o[r], a[r]);
else Fe(e, c);
return (
- 0 < (a = Se(c, 'script')).length && Ee(a, !f && Se(e, 'script')), c
+ 0 < (a = Ee(c, 'script')).length && ke(a, !f && Ee(e, 'script')), c
);
},
cleanData: function (e) {
- for (var t, n, r, i = ce.event.special, o = 0; void 0 !== (n = e[o]); o++)
- if ($(n)) {
- if ((t = n[_.expando])) {
+ for (var t, n, r, i = T.event.special, o = 0; void 0 !== (n = e[o]); o++)
+ if (ne(n)) {
+ if ((t = n[ie.expando])) {
if (t.events)
for (r in t.events)
- i[r] ? ce.event.remove(n, r) : ce.removeEvent(n, r, t.handle);
- n[_.expando] = void 0;
+ i[r] ? T.event.remove(n, r) : T.removeEvent(n, r, t.handle);
+ n[ie.expando] = void 0;
}
- n[X.expando] && (n[X.expando] = void 0);
+ n[oe.expando] && (n[oe.expando] = void 0);
}
},
}),
- ce.fn.extend({
+ T.fn.extend({
detach: function (e) {
return Be(this, e, !0);
},
@@ -2971,11 +2966,11 @@
return Be(this, e);
},
text: function (e) {
- return R(
+ return J(
this,
function (e) {
return void 0 === e
- ? ce.text(this)
+ ? T.text(this)
: this.empty().each(function () {
(1 !== this.nodeType &&
11 !== this.nodeType &&
@@ -3020,7 +3015,7 @@
},
empty: function () {
for (var e, t = 0; null != (e = this[t]); t++)
- 1 === e.nodeType && (ce.cleanData(Se(e, !1)), (e.textContent = ''));
+ 1 === e.nodeType && (T.cleanData(Ee(e, !1)), (e.textContent = ''));
return this;
},
clone: function (e, t) {
@@ -3028,12 +3023,12 @@
(e = null != e && e),
(t = null == t ? e : t),
this.map(function () {
- return ce.clone(this, e, t);
+ return T.clone(this, e, t);
})
);
},
html: function (e) {
- return R(
+ return J(
this,
function (e) {
var t = this[0] || {},
@@ -3043,13 +3038,13 @@
if (
'string' == typeof e &&
!Oe.test(e) &&
- !ke[(Te.exec(e) || ['', ''])[1].toLowerCase()]
+ !Se[(Te.exec(e) || ['', ''])[1].toLowerCase()]
) {
- e = ce.htmlPrefilter(e);
+ e = T.htmlPrefilter(e);
try {
for (; n < r; n++)
1 === (t = this[n] || {}).nodeType &&
- (ce.cleanData(Se(t, !1)), (t.innerHTML = e));
+ (T.cleanData(Ee(t, !1)), (t.innerHTML = e));
t = 0;
} catch (e) {}
}
@@ -3061,20 +3056,20 @@
);
},
replaceWith: function () {
- var n = [];
+ var e = [];
return $e(
this,
arguments,
- function (e) {
- var t = this.parentNode;
- ce.inArray(this, n) < 0 &&
- (ce.cleanData(Se(this)), t && t.replaceChild(e, this));
+ function (t) {
+ var n = this.parentNode;
+ T.inArray(this, e) < 0 &&
+ (T.cleanData(Ee(this)), n && n.replaceChild(t, this));
},
- n
+ e
);
},
}),
- ce.each(
+ T.each(
{
appendTo: 'append',
prependTo: 'prepend',
@@ -3082,21 +3077,21 @@
insertAfter: 'after',
replaceAll: 'replaceWith',
},
- function (e, a) {
- ce.fn[e] = function (e) {
- for (var t, n = [], r = ce(e), i = r.length - 1, o = 0; o <= i; o++)
- (t = o === i ? this : this.clone(!0)),
- ce(r[o])[a](t),
- s.apply(n, t.get());
- return this.pushStack(n);
+ function (e, t) {
+ T.fn[e] = function (e) {
+ for (var n, r = [], i = T(e), o = i.length - 1, s = 0; s <= o; s++)
+ (n = s === o ? this : this.clone(!0)),
+ T(i[s])[t](n),
+ a.apply(r, n.get());
+ return this.pushStack(r);
};
}
);
- var _e = new RegExp('^(' + G + ')(?!px)[a-z%]+$', 'i'),
+ var _e = new RegExp('^(' + le + ')(?!px)[a-z%]+$', 'i'),
Xe = /^--/,
- Ue = function (e) {
- var t = e.ownerDocument.defaultView;
- return (t && t.opener) || (t = ie), t.getComputedStyle(e);
+ Ue = function (t) {
+ var n = t.ownerDocument.defaultView;
+ return (n && n.opener) || (n = e), n.getComputedStyle(t);
},
ze = function (e, t, n) {
var r,
@@ -3106,7 +3101,7 @@
for (i in ((r = n.call(e)), t)) e.style[i] = o[i];
return r;
},
- Ve = new RegExp(Q.join('|'), 'i');
+ Ve = new RegExp(fe.join('|'), 'i');
function Ge(e, t, n) {
var r,
i,
@@ -3117,9 +3112,9 @@
return (
(n = n || Ue(e)) &&
((a = n.getPropertyValue(t) || n[t]),
- s && a && (a = a.replace(ve, '$1') || void 0),
- '' !== a || K(e) || (a = ce.style(e, t)),
- !le.pixelBoxStyles() &&
+ s && a && (a = a.replace(D, '$1') || void 0),
+ '' !== a || de(e) || (a = T.style(e, t)),
+ !d.pixelBoxStyles() &&
_e.test(a) &&
Ve.test(t) &&
((r = u.width),
@@ -3142,96 +3137,99 @@
};
}
!(function () {
- function e() {
- if (l) {
- (u.style.cssText =
+ function t() {
+ if (c) {
+ (l.style.cssText =
'position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0'),
- (l.style.cssText =
+ (c.style.cssText =
'position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%'),
- J.appendChild(u).appendChild(l);
- var e = ie.getComputedStyle(l);
- (n = '1%' !== e.top),
- (s = 12 === t(e.marginLeft)),
- (l.style.right = '60%'),
- (o = 36 === t(e.right)),
- (r = 36 === t(e.width)),
- (l.style.position = 'absolute'),
- (i = 12 === t(l.offsetWidth / 3)),
- J.removeChild(u),
- (l = null);
+ pe.appendChild(l).appendChild(c);
+ var t = e.getComputedStyle(c);
+ (r = '1%' !== t.top),
+ (u = 12 === n(t.marginLeft)),
+ (c.style.right = '60%'),
+ (a = 36 === n(t.right)),
+ (i = 36 === n(t.width)),
+ (c.style.position = 'absolute'),
+ (o = 12 === n(c.offsetWidth / 3)),
+ pe.removeChild(l),
+ (c = null);
}
}
- function t(e) {
+ function n(e) {
return Math.round(parseFloat(e));
}
- var n,
- r,
+ var r,
i,
o,
a,
s,
- u = C.createElement('div'),
- l = C.createElement('div');
- l.style &&
- ((l.style.backgroundClip = 'content-box'),
- (l.cloneNode(!0).style.backgroundClip = ''),
- (le.clearCloneStyle = 'content-box' === l.style.backgroundClip),
- ce.extend(le, {
+ u,
+ l = v.createElement('div'),
+ c = v.createElement('div');
+ c.style &&
+ ((c.style.backgroundClip = 'content-box'),
+ (c.cloneNode(!0).style.backgroundClip = ''),
+ (d.clearCloneStyle = 'content-box' === c.style.backgroundClip),
+ T.extend(d, {
boxSizingReliable: function () {
- return e(), r;
+ return t(), i;
},
pixelBoxStyles: function () {
- return e(), o;
+ return t(), a;
},
pixelPosition: function () {
- return e(), n;
+ return t(), r;
},
reliableMarginLeft: function () {
- return e(), s;
+ return t(), u;
},
scrollboxSize: function () {
- return e(), i;
+ return t(), o;
},
reliableTrDimensions: function () {
- var e, t, n, r;
+ var t, n, r, i;
return (
- null == a &&
- ((e = C.createElement('table')),
- (t = C.createElement('tr')),
- (n = C.createElement('div')),
- (e.style.cssText =
+ null == s &&
+ ((t = v.createElement('table')),
+ (n = v.createElement('tr')),
+ (r = v.createElement('div')),
+ (t.style.cssText =
'position:absolute;left:-11111px;border-collapse:separate'),
- (t.style.cssText = 'border:1px solid'),
- (t.style.height = '1px'),
- (n.style.height = '9px'),
- (n.style.display = 'block'),
- J.appendChild(e).appendChild(t).appendChild(n),
- (r = ie.getComputedStyle(t)),
- (a =
- parseInt(r.height, 10) +
- parseInt(r.borderTopWidth, 10) +
- parseInt(r.borderBottomWidth, 10) ===
- t.offsetHeight),
- J.removeChild(e)),
- a
+ (n.style.cssText = 'border:1px solid'),
+ (n.style.height = '1px'),
+ (r.style.height = '9px'),
+ (r.style.display = 'block'),
+ pe.appendChild(t).appendChild(n).appendChild(r),
+ (i = e.getComputedStyle(n)),
+ (s =
+ parseInt(i.height, 10) +
+ parseInt(i.borderTopWidth, 10) +
+ parseInt(i.borderBottomWidth, 10) ===
+ n.offsetHeight),
+ pe.removeChild(t)),
+ s
);
},
}));
})();
var Qe = ['Webkit', 'Moz', 'ms'],
- Je = C.createElement('div').style,
+ Je = v.createElement('div').style,
Ke = {};
function Ze(e) {
- var t = ce.cssProps[e] || Ke[e];
return (
- t ||
+ T.cssProps[e] ||
+ Ke[e] ||
(e in Je
? e
: (Ke[e] =
(function (e) {
- var t = e[0].toUpperCase() + e.slice(1),
- n = Qe.length;
- while (n--) if ((e = Qe[n] + t) in Je) return e;
+ for (
+ var t = e[0].toUpperCase() + e.slice(1), n = Qe.length;
+ n--;
+
+ )
+ if ((e = Qe[n] + t) in Je) return e;
})(e) || e))
);
}
@@ -3239,7 +3237,7 @@
tt = { position: 'absolute', visibility: 'hidden', display: 'block' },
nt = { letterSpacing: '0', fontWeight: '400' };
function rt(e, t, n) {
- var r = Y.exec(t);
+ var r = ce.exec(t);
return r ? Math.max(0, r[2] - (n || 0)) + (r[3] || 'px') : t;
}
function it(e, t, n, r, i, o) {
@@ -3249,15 +3247,15 @@
l = 0;
if (n === (r ? 'border' : 'content')) return 0;
for (; a < 4; a += 2)
- 'margin' === n && (l += ce.css(e, n + Q[a], !0, i)),
+ 'margin' === n && (l += T.css(e, n + fe[a], !0, i)),
r
- ? ('content' === n && (u -= ce.css(e, 'padding' + Q[a], !0, i)),
+ ? ('content' === n && (u -= T.css(e, 'padding' + fe[a], !0, i)),
'margin' !== n &&
- (u -= ce.css(e, 'border' + Q[a] + 'Width', !0, i)))
- : ((u += ce.css(e, 'padding' + Q[a], !0, i)),
+ (u -= T.css(e, 'border' + fe[a] + 'Width', !0, i)))
+ : ((u += T.css(e, 'padding' + fe[a], !0, i)),
'padding' !== n
- ? (u += ce.css(e, 'border' + Q[a] + 'Width', !0, i))
- : (s += ce.css(e, 'border' + Q[a] + 'Width', !0, i)));
+ ? (u += T.css(e, 'border' + fe[a] + 'Width', !0, i))
+ : (s += T.css(e, 'border' + fe[a] + 'Width', !0, i)));
return (
!r &&
0 <= o &&
@@ -3274,8 +3272,8 @@
function ot(e, t, n) {
var r = Ue(e),
i =
- (!le.boxSizingReliable() || n) &&
- 'border-box' === ce.css(e, 'boxSizing', !1, r),
+ (!d.boxSizingReliable() || n) &&
+ 'border-box' === T.css(e, 'boxSizing', !1, r),
o = i,
a = Ge(e, t, r),
s = 'offset' + t[0].toUpperCase() + t.slice(1);
@@ -3284,12 +3282,12 @@
a = 'auto';
}
return (
- ((!le.boxSizingReliable() && i) ||
- (!le.reliableTrDimensions() && fe(e, 'tr')) ||
+ ((!d.boxSizingReliable() && i) ||
+ (!d.reliableTrDimensions() && S(e, 'tr')) ||
'auto' === a ||
- (!parseFloat(a) && 'inline' === ce.css(e, 'display', !1, r))) &&
+ (!parseFloat(a) && 'inline' === T.css(e, 'display', !1, r))) &&
e.getClientRects().length &&
- ((i = 'border-box' === ce.css(e, 'boxSizing', !1, r)),
+ ((i = 'border-box' === T.css(e, 'boxSizing', !1, r)),
(o = s in e) && (a = e[s])),
(a = parseFloat(a) || 0) +
it(e, t, n || (i ? 'border' : 'content'), o, r, a) +
@@ -3299,7 +3297,7 @@
function at(e, t, n, r, i) {
return new at.prototype.init(e, t, n, r, i);
}
- ce.extend({
+ T.extend({
cssHooks: {
opacity: {
get: function (e, t) {
@@ -3345,25 +3343,23 @@
var i,
o,
a,
- s = F(t),
+ s = te(t),
u = Xe.test(t),
l = e.style;
if (
- (u || (t = Ze(s)),
- (a = ce.cssHooks[t] || ce.cssHooks[s]),
- void 0 === n)
+ (u || (t = Ze(s)), (a = T.cssHooks[t] || T.cssHooks[s]), void 0 === n)
)
return a && 'get' in a && void 0 !== (i = a.get(e, !1, r)) ? i : l[t];
- 'string' === (o = typeof n) &&
- (i = Y.exec(n)) &&
+ 'string' == (o = typeof n) &&
+ (i = ce.exec(n)) &&
i[1] &&
- ((n = te(e, t, i)), (o = 'number')),
+ ((n = ve(e, t, i)), (o = 'number')),
null != n &&
n == n &&
('number' !== o ||
u ||
- (n += (i && i[3]) || (ce.cssNumber[s] ? '' : 'px')),
- le.clearCloneStyle ||
+ (n += (i && i[3]) || (T.cssNumber[s] ? '' : 'px')),
+ d.clearCloneStyle ||
'' !== n ||
0 !== t.indexOf('background') ||
(l[t] = 'inherit'),
@@ -3375,10 +3371,10 @@
var i,
o,
a,
- s = F(t);
+ s = te(t);
return (
Xe.test(t) || (t = Ze(s)),
- (a = ce.cssHooks[t] || ce.cssHooks[s]) &&
+ (a = T.cssHooks[t] || T.cssHooks[s]) &&
'get' in a &&
(i = a.get(e, !0, n)),
void 0 === i && (i = Ge(e, t, r)),
@@ -3389,42 +3385,42 @@
);
},
}),
- ce.each(['height', 'width'], function (e, u) {
- ce.cssHooks[u] = {
- get: function (e, t, n) {
- if (t)
- return !et.test(ce.css(e, 'display')) ||
+ T.each(['height', 'width'], function (e, t) {
+ T.cssHooks[t] = {
+ get: function (e, n, r) {
+ if (n)
+ return !et.test(T.css(e, 'display')) ||
(e.getClientRects().length && e.getBoundingClientRect().width)
- ? ot(e, u, n)
+ ? ot(e, t, r)
: ze(e, tt, function () {
- return ot(e, u, n);
+ return ot(e, t, r);
});
},
- set: function (e, t, n) {
- var r,
- i = Ue(e),
- o = !le.scrollboxSize() && 'absolute' === i.position,
- a = (o || n) && 'border-box' === ce.css(e, 'boxSizing', !1, i),
- s = n ? it(e, u, n, a, i) : 0;
+ set: function (e, n, r) {
+ var i,
+ o = Ue(e),
+ a = !d.scrollboxSize() && 'absolute' === o.position,
+ s = (a || r) && 'border-box' === T.css(e, 'boxSizing', !1, o),
+ u = r ? it(e, t, r, s, o) : 0;
return (
- a &&
- o &&
- (s -= Math.ceil(
- e['offset' + u[0].toUpperCase() + u.slice(1)] -
- parseFloat(i[u]) -
- it(e, u, 'border', !1, i) -
+ s &&
+ a &&
+ (u -= Math.ceil(
+ e['offset' + t[0].toUpperCase() + t.slice(1)] -
+ parseFloat(o[t]) -
+ it(e, t, 'border', !1, o) -
0.5
)),
- s &&
- (r = Y.exec(t)) &&
- 'px' !== (r[3] || 'px') &&
- ((e.style[u] = t), (t = ce.css(e, u))),
- rt(0, t, s)
+ u &&
+ (i = ce.exec(n)) &&
+ 'px' !== (i[3] || 'px') &&
+ ((e.style[t] = n), (n = T.css(e, t))),
+ rt(0, n, u)
);
},
};
}),
- (ce.cssHooks.marginLeft = Ye(le.reliableMarginLeft, function (e, t) {
+ (T.cssHooks.marginLeft = Ye(d.reliableMarginLeft, function (e, t) {
if (t)
return (
(parseFloat(Ge(e, 'marginLeft')) ||
@@ -3434,23 +3430,23 @@
})) + 'px'
);
})),
- ce.each({ margin: '', padding: '', border: 'Width' }, function (i, o) {
- (ce.cssHooks[i + o] = {
- expand: function (e) {
+ T.each({ margin: '', padding: '', border: 'Width' }, function (e, t) {
+ (T.cssHooks[e + t] = {
+ expand: function (n) {
for (
- var t = 0, n = {}, r = 'string' == typeof e ? e.split(' ') : [e];
- t < 4;
- t++
+ var r = 0, i = {}, o = 'string' == typeof n ? n.split(' ') : [n];
+ r < 4;
+ r++
)
- n[i + Q[t] + o] = r[t] || r[t - 2] || r[0];
- return n;
+ i[e + fe[r] + t] = o[r] || o[r - 2] || o[0];
+ return i;
},
}),
- 'margin' !== i && (ce.cssHooks[i + o].set = rt);
+ 'margin' !== e && (T.cssHooks[e + t].set = rt);
}),
- ce.fn.extend({
+ T.fn.extend({
css: function (e, t) {
- return R(
+ return J(
this,
function (e, t, n) {
var r,
@@ -3459,10 +3455,10 @@
a = 0;
if (Array.isArray(t)) {
for (r = Ue(e), i = t.length; a < i; a++)
- o[t[a]] = ce.css(e, t[a], !1, r);
+ o[t[a]] = T.css(e, t[a], !1, r);
return o;
}
- return void 0 !== n ? ce.style(e, t, n) : ce.css(e, t);
+ return void 0 !== n ? T.style(e, t, n) : T.css(e, t);
},
e,
t,
@@ -3470,16 +3466,16 @@
);
},
}),
- (((ce.Tween = at).prototype = {
+ (((T.Tween = at).prototype = {
constructor: at,
init: function (e, t, n, r, i, o) {
(this.elem = e),
(this.prop = n),
- (this.easing = i || ce.easing._default),
+ (this.easing = i || T.easing._default),
(this.options = t),
(this.start = this.now = this.cur()),
(this.end = r),
- (this.unit = o || (ce.cssNumber[n] ? '' : 'px'));
+ (this.unit = o || (T.cssNumber[n] ? '' : 'px'));
},
cur: function () {
var e = at.propHooks[this.prop];
@@ -3491,7 +3487,7 @@
return (
this.options.duration
? (this.pos = t =
- ce.easing[this.easing](
+ T.easing[this.easing](
e,
this.options.duration * e,
0,
@@ -3514,17 +3510,17 @@
return 1 !== e.elem.nodeType ||
(null != e.elem[e.prop] && null == e.elem.style[e.prop])
? e.elem[e.prop]
- : (t = ce.css(e.elem, e.prop, '')) && 'auto' !== t
+ : (t = T.css(e.elem, e.prop, '')) && 'auto' !== t
? t
: 0;
},
set: function (e) {
- ce.fx.step[e.prop]
- ? ce.fx.step[e.prop](e)
+ T.fx.step[e.prop]
+ ? T.fx.step[e.prop](e)
: 1 !== e.elem.nodeType ||
- (!ce.cssHooks[e.prop] && null == e.elem.style[Ze(e.prop)])
+ (!T.cssHooks[e.prop] && null == e.elem.style[Ze(e.prop)])
? (e.elem[e.prop] = e.now)
- : ce.style(e.elem, e.prop, e.now + e.unit);
+ : T.style(e.elem, e.prop, e.now + e.unit);
},
},
}).scrollTop = at.propHooks.scrollLeft =
@@ -3533,7 +3529,7 @@
e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now);
},
}),
- (ce.easing = {
+ (T.easing = {
linear: function (e) {
return e;
},
@@ -3542,8 +3538,8 @@
},
_default: 'swing',
}),
- (ce.fx = at.prototype.init),
- (ce.fx.step = {});
+ (T.fx = at.prototype.init),
+ (T.fx.step = {});
var st,
ut,
lt,
@@ -3552,14 +3548,14 @@
pt = /queueHooks$/;
function dt() {
ut &&
- (!1 === C.hidden && ie.requestAnimationFrame
- ? ie.requestAnimationFrame(dt)
- : ie.setTimeout(dt, ce.fx.interval),
- ce.fx.tick());
+ (!1 === v.hidden && e.requestAnimationFrame
+ ? e.requestAnimationFrame(dt)
+ : e.setTimeout(dt, T.fx.interval),
+ T.fx.tick());
}
function ht() {
return (
- ie.setTimeout(function () {
+ e.setTimeout(function () {
st = void 0;
}),
(st = Date.now())
@@ -3570,7 +3566,7 @@
r = 0,
i = { height: e };
for (t = t ? 1 : 0; r < 4; r += 2 - t)
- i['margin' + (n = Q[r])] = i['padding' + n] = e;
+ i['margin' + (n = fe[r])] = i['padding' + n] = e;
return t && (i.opacity = i.width = e), i;
}
function vt(e, t, n) {
@@ -3584,117 +3580,113 @@
)
if ((r = i[o].call(n, t, e))) return r;
}
- function yt(o, e, t) {
- var n,
- a,
- r = 0,
- i = yt.prefilters.length,
- s = ce.Deferred().always(function () {
+ function yt(e, t, n) {
+ var r,
+ i,
+ o = 0,
+ a = yt.prefilters.length,
+ s = T.Deferred().always(function () {
delete u.elem;
}),
u = function () {
- if (a) return !1;
+ if (i) return !1;
for (
- var e = st || ht(),
- t = Math.max(0, l.startTime + l.duration - e),
- n = 1 - (t / l.duration || 0),
- r = 0,
- i = l.tweens.length;
- r < i;
- r++
+ var t = st || ht(),
+ n = Math.max(0, l.startTime + l.duration - t),
+ r = 1 - (n / l.duration || 0),
+ o = 0,
+ a = l.tweens.length;
+ o < a;
+ o++
)
- l.tweens[r].run(n);
+ l.tweens[o].run(r);
return (
- s.notifyWith(o, [l, n, t]),
- n < 1 && i
- ? t
- : (i || s.notifyWith(o, [l, 1, 0]), s.resolveWith(o, [l]), !1)
+ s.notifyWith(e, [l, r, n]),
+ r < 1 && a
+ ? n
+ : (a || s.notifyWith(e, [l, 1, 0]), s.resolveWith(e, [l]), !1)
);
},
l = s.promise({
- elem: o,
- props: ce.extend({}, e),
- opts: ce.extend(
- !0,
- { specialEasing: {}, easing: ce.easing._default },
- t
- ),
- originalProperties: e,
- originalOptions: t,
+ elem: e,
+ props: T.extend({}, t),
+ opts: T.extend(!0, { specialEasing: {}, easing: T.easing._default }, n),
+ originalProperties: t,
+ originalOptions: n,
startTime: st || ht(),
- duration: t.duration,
+ duration: n.duration,
tweens: [],
- createTween: function (e, t) {
- var n = ce.Tween(
- o,
- l.opts,
+ createTween: function (t, n) {
+ var r = T.Tween(
e,
+ l.opts,
t,
- l.opts.specialEasing[e] || l.opts.easing
+ n,
+ l.opts.specialEasing[t] || l.opts.easing
);
- return l.tweens.push(n), n;
+ return l.tweens.push(r), r;
},
- stop: function (e) {
- var t = 0,
- n = e ? l.tweens.length : 0;
- if (a) return this;
- for (a = !0; t < n; t++) l.tweens[t].run(1);
+ stop: function (t) {
+ var n = 0,
+ r = t ? l.tweens.length : 0;
+ if (i) return this;
+ for (i = !0; n < r; n++) l.tweens[n].run(1);
return (
- e
- ? (s.notifyWith(o, [l, 1, 0]), s.resolveWith(o, [l, e]))
- : s.rejectWith(o, [l, e]),
+ t
+ ? (s.notifyWith(e, [l, 1, 0]), s.resolveWith(e, [l, t]))
+ : s.rejectWith(e, [l, t]),
this
);
},
}),
c = l.props;
for (
- !(function (e, t) {
+ (function (e, t) {
var n, r, i, o, a;
for (n in e)
if (
- ((i = t[(r = F(n))]),
+ ((i = t[(r = te(n))]),
(o = e[n]),
Array.isArray(o) && ((i = o[1]), (o = e[n] = o[0])),
n !== r && ((e[r] = o), delete e[n]),
- (a = ce.cssHooks[r]) && ('expand' in a))
+ (a = T.cssHooks[r]) && ('expand' in a))
)
for (n in ((o = a.expand(o)), delete e[r], o))
(n in e) || ((e[n] = o[n]), (t[n] = i));
else t[r] = i;
})(c, l.opts.specialEasing);
- r < i;
- r++
+ o < a;
+ o++
)
- if ((n = yt.prefilters[r].call(l, o, c, l.opts)))
+ if ((r = yt.prefilters[o].call(l, e, c, l.opts)))
return (
- v(n.stop) &&
- (ce._queueHooks(l.elem, l.opts.queue).stop = n.stop.bind(n)),
- n
+ h(r.stop) &&
+ (T._queueHooks(l.elem, l.opts.queue).stop = r.stop.bind(r)),
+ r
);
return (
- ce.map(c, vt, l),
- v(l.opts.start) && l.opts.start.call(o, l),
+ T.map(c, vt, l),
+ h(l.opts.start) && l.opts.start.call(e, l),
l
.progress(l.opts.progress)
.done(l.opts.done, l.opts.complete)
.fail(l.opts.fail)
.always(l.opts.always),
- ce.fx.timer(ce.extend(u, { elem: o, anim: l, queue: l.opts.queue })),
+ T.fx.timer(T.extend(u, { elem: e, anim: l, queue: l.opts.queue })),
l
);
}
- (ce.Animation = ce.extend(yt, {
+ (T.Animation = T.extend(yt, {
tweeners: {
'*': [
function (e, t) {
var n = this.createTween(e, t);
- return te(n.elem, e, Y.exec(t), n), n;
+ return ve(n.elem, e, ce.exec(t), n), n;
},
],
},
tweener: function (e, t) {
- v(e) ? ((t = e), (e = ['*'])) : (e = e.match(D));
+ h(e) ? ((t = e), (e = ['*'])) : (e = e.match(X));
for (var n, r = 0, i = e.length; r < i; r++)
(n = e[r]),
(yt.tweeners[n] = yt.tweeners[n] || []),
@@ -3714,10 +3706,10 @@
p = this,
d = {},
h = e.style,
- g = e.nodeType && ee(e),
- v = _.get(e, 'fxshow');
+ g = e.nodeType && ge(e),
+ v = ie.get(e, 'fxshow');
for (r in (n.queue ||
- (null == (a = ce._queueHooks(e, 'fx')).unqueued &&
+ (null == (a = T._queueHooks(e, 'fx')).unqueued &&
((a.unqueued = 0),
(s = a.empty.fire),
(a.empty.fire = function () {
@@ -3726,7 +3718,7 @@
a.unqueued++,
p.always(function () {
p.always(function () {
- a.unqueued--, ce.queue(e, 'fx').length || a.empty.fire();
+ a.unqueued--, T.queue(e, 'fx').length || a.empty.fire();
});
})),
t))
@@ -3739,22 +3731,22 @@
if ('show' !== i || !v || void 0 === v[r]) continue;
g = !0;
}
- d[r] = (v && v[r]) || ce.style(e, r);
+ d[r] = (v && v[r]) || T.style(e, r);
}
- if ((u = !ce.isEmptyObject(t)) || !ce.isEmptyObject(d))
+ if ((u = !T.isEmptyObject(t)) || !T.isEmptyObject(d))
for (r in (f &&
1 === e.nodeType &&
((n.overflow = [h.overflow, h.overflowX, h.overflowY]),
- null == (l = v && v.display) && (l = _.get(e, 'display')),
- 'none' === (c = ce.css(e, 'display')) &&
+ null == (l = v && v.display) && (l = ie.get(e, 'display')),
+ 'none' === (c = T.css(e, 'display')) &&
(l
? (c = l)
- : (re([e], !0),
+ : (me([e], !0),
(l = e.style.display || l),
- (c = ce.css(e, 'display')),
- re([e]))),
+ (c = T.css(e, 'display')),
+ me([e]))),
('inline' === c || ('inline-block' === c && null != l)) &&
- 'none' === ce.css(e, 'float') &&
+ 'none' === T.css(e, 'float') &&
(u ||
(p.done(function () {
h.display = l;
@@ -3773,12 +3765,12 @@
u ||
(v
? 'hidden' in v && (g = v.hidden)
- : (v = _.access(e, 'fxshow', { display: l })),
+ : (v = ie.access(e, 'fxshow', { display: l })),
o && (v.hidden = !g),
- g && re([e], !0),
+ g && me([e], !0),
p.done(function () {
- for (r in (g || re([e]), _.remove(e, 'fxshow'), d))
- ce.style(e, r, d[r]);
+ for (r in (g || me([e]), ie.remove(e, 'fxshow'), d))
+ T.style(e, r, d[r]);
})),
(u = vt(g ? v[r] : 0, r, p)),
r in v ||
@@ -3789,110 +3781,110 @@
t ? yt.prefilters.unshift(e) : yt.prefilters.push(e);
},
})),
- (ce.speed = function (e, t, n) {
+ (T.speed = function (e, t, n) {
var r =
e && 'object' == typeof e
- ? ce.extend({}, e)
+ ? T.extend({}, e)
: {
- complete: n || (!n && t) || (v(e) && e),
+ complete: n || (!n && t) || (h(e) && e),
duration: e,
- easing: (n && t) || (t && !v(t) && t),
+ easing: (n && t) || (t && !h(t) && t),
};
return (
- ce.fx.off
+ T.fx.off
? (r.duration = 0)
: 'number' != typeof r.duration &&
- (r.duration in ce.fx.speeds
- ? (r.duration = ce.fx.speeds[r.duration])
- : (r.duration = ce.fx.speeds._default)),
+ (r.duration in T.fx.speeds
+ ? (r.duration = T.fx.speeds[r.duration])
+ : (r.duration = T.fx.speeds._default)),
(null != r.queue && !0 !== r.queue) || (r.queue = 'fx'),
(r.old = r.complete),
(r.complete = function () {
- v(r.old) && r.old.call(this), r.queue && ce.dequeue(this, r.queue);
+ h(r.old) && r.old.call(this), r.queue && T.dequeue(this, r.queue);
}),
r
);
}),
- ce.fn.extend({
+ T.fn.extend({
fadeTo: function (e, t, n, r) {
- return this.filter(ee)
+ return this.filter(ge)
.css('opacity', 0)
.show()
.end()
.animate({ opacity: t }, e, n, r);
},
- animate: function (t, e, n, r) {
- var i = ce.isEmptyObject(t),
- o = ce.speed(e, n, r),
+ animate: function (e, t, n, r) {
+ var i = T.isEmptyObject(e),
+ o = T.speed(t, n, r),
a = function () {
- var e = yt(this, ce.extend({}, t), o);
- (i || _.get(this, 'finish')) && e.stop(!0);
+ var t = yt(this, T.extend({}, e), o);
+ (i || ie.get(this, 'finish')) && t.stop(!0);
};
return (
(a.finish = a),
i || !1 === o.queue ? this.each(a) : this.queue(o.queue, a)
);
},
- stop: function (i, e, o) {
- var a = function (e) {
+ stop: function (e, t, n) {
+ var r = function (e) {
var t = e.stop;
- delete e.stop, t(o);
+ delete e.stop, t(n);
};
return (
- 'string' != typeof i && ((o = e), (e = i), (i = void 0)),
- e && this.queue(i || 'fx', []),
+ 'string' != typeof e && ((n = t), (t = e), (e = void 0)),
+ t && this.queue(e || 'fx', []),
this.each(function () {
- var e = !0,
- t = null != i && i + 'queueHooks',
- n = ce.timers,
- r = _.get(this);
- if (t) r[t] && r[t].stop && a(r[t]);
- else for (t in r) r[t] && r[t].stop && pt.test(t) && a(r[t]);
- for (t = n.length; t--; )
- n[t].elem !== this ||
- (null != i && n[t].queue !== i) ||
- (n[t].anim.stop(o), (e = !1), n.splice(t, 1));
- (!e && o) || ce.dequeue(this, i);
+ var t = !0,
+ i = null != e && e + 'queueHooks',
+ o = T.timers,
+ a = ie.get(this);
+ if (i) a[i] && a[i].stop && r(a[i]);
+ else for (i in a) a[i] && a[i].stop && pt.test(i) && r(a[i]);
+ for (i = o.length; i--; )
+ o[i].elem !== this ||
+ (null != e && o[i].queue !== e) ||
+ (o[i].anim.stop(n), (t = !1), o.splice(i, 1));
+ (!t && n) || T.dequeue(this, e);
})
);
},
- finish: function (a) {
+ finish: function (e) {
return (
- !1 !== a && (a = a || 'fx'),
+ !1 !== e && (e = e || 'fx'),
this.each(function () {
- var e,
- t = _.get(this),
- n = t[a + 'queue'],
- r = t[a + 'queueHooks'],
- i = ce.timers,
- o = n ? n.length : 0;
+ var t,
+ n = ie.get(this),
+ r = n[e + 'queue'],
+ i = n[e + 'queueHooks'],
+ o = T.timers,
+ a = r ? r.length : 0;
for (
- t.finish = !0,
- ce.queue(this, a, []),
- r && r.stop && r.stop.call(this, !0),
- e = i.length;
- e--;
+ n.finish = !0,
+ T.queue(this, e, []),
+ i && i.stop && i.stop.call(this, !0),
+ t = o.length;
+ t--;
)
- i[e].elem === this &&
- i[e].queue === a &&
- (i[e].anim.stop(!0), i.splice(e, 1));
- for (e = 0; e < o; e++)
- n[e] && n[e].finish && n[e].finish.call(this);
- delete t.finish;
+ o[t].elem === this &&
+ o[t].queue === e &&
+ (o[t].anim.stop(!0), o.splice(t, 1));
+ for (t = 0; t < a; t++)
+ r[t] && r[t].finish && r[t].finish.call(this);
+ delete n.finish;
})
);
},
}),
- ce.each(['toggle', 'show', 'hide'], function (e, r) {
- var i = ce.fn[r];
- ce.fn[r] = function (e, t, n) {
+ T.each(['toggle', 'show', 'hide'], function (e, t) {
+ var n = T.fn[t];
+ T.fn[t] = function (e, r, i) {
return null == e || 'boolean' == typeof e
- ? i.apply(this, arguments)
- : this.animate(gt(r, !0), e, t, n);
+ ? n.apply(this, arguments)
+ : this.animate(gt(t, !0), e, r, i);
};
}),
- ce.each(
+ T.each(
{
slideDown: gt('show'),
slideUp: gt('hide'),
@@ -3901,92 +3893,92 @@
fadeOut: { opacity: 'hide' },
fadeToggle: { opacity: 'toggle' },
},
- function (e, r) {
- ce.fn[e] = function (e, t, n) {
- return this.animate(r, e, t, n);
+ function (e, t) {
+ T.fn[e] = function (e, n, r) {
+ return this.animate(t, e, n, r);
};
}
),
- (ce.timers = []),
- (ce.fx.tick = function () {
+ (T.timers = []),
+ (T.fx.tick = function () {
var e,
t = 0,
- n = ce.timers;
+ n = T.timers;
for (st = Date.now(); t < n.length; t++)
(e = n[t])() || n[t] !== e || n.splice(t--, 1);
- n.length || ce.fx.stop(), (st = void 0);
+ n.length || T.fx.stop(), (st = void 0);
}),
- (ce.fx.timer = function (e) {
- ce.timers.push(e), ce.fx.start();
+ (T.fx.timer = function (e) {
+ T.timers.push(e), T.fx.start();
}),
- (ce.fx.interval = 13),
- (ce.fx.start = function () {
+ (T.fx.interval = 13),
+ (T.fx.start = function () {
ut || ((ut = !0), dt());
}),
- (ce.fx.stop = function () {
+ (T.fx.stop = function () {
ut = null;
}),
- (ce.fx.speeds = { slow: 600, fast: 200, _default: 400 }),
- (ce.fn.delay = function (r, e) {
+ (T.fx.speeds = { slow: 600, fast: 200, _default: 400 }),
+ (T.fn.delay = function (t, n) {
return (
- (r = (ce.fx && ce.fx.speeds[r]) || r),
- (e = e || 'fx'),
- this.queue(e, function (e, t) {
- var n = ie.setTimeout(e, r);
- t.stop = function () {
- ie.clearTimeout(n);
+ (t = (T.fx && T.fx.speeds[t]) || t),
+ (n = n || 'fx'),
+ this.queue(n, function (n, r) {
+ var i = e.setTimeout(n, t);
+ r.stop = function () {
+ e.clearTimeout(i);
};
})
);
}),
- (lt = C.createElement('input')),
- (ct = C.createElement('select').appendChild(C.createElement('option'))),
+ (lt = v.createElement('input')),
+ (ct = v.createElement('select').appendChild(v.createElement('option'))),
(lt.type = 'checkbox'),
- (le.checkOn = '' !== lt.value),
- (le.optSelected = ct.selected),
- ((lt = C.createElement('input')).value = 't'),
+ (d.checkOn = '' !== lt.value),
+ (d.optSelected = ct.selected),
+ ((lt = v.createElement('input')).value = 't'),
(lt.type = 'radio'),
- (le.radioValue = 't' === lt.value);
+ (d.radioValue = 't' === lt.value);
var mt,
- xt = ce.expr.attrHandle;
- ce.fn.extend({
+ xt = T.expr.attrHandle;
+ T.fn.extend({
attr: function (e, t) {
- return R(this, ce.attr, e, t, 1 < arguments.length);
+ return J(this, T.attr, e, t, 1 < arguments.length);
},
removeAttr: function (e) {
return this.each(function () {
- ce.removeAttr(this, e);
+ T.removeAttr(this, e);
});
},
}),
- ce.extend({
+ T.extend({
attr: function (e, t, n) {
var r,
i,
o = e.nodeType;
if (3 !== o && 8 !== o && 2 !== o)
- return 'undefined' == typeof e.getAttribute
- ? ce.prop(e, t, n)
- : ((1 === o && ce.isXMLDoc(e)) ||
+ return void 0 === e.getAttribute
+ ? T.prop(e, t, n)
+ : ((1 === o && T.isXMLDoc(e)) ||
(i =
- ce.attrHooks[t.toLowerCase()] ||
- (ce.expr.match.bool.test(t) ? mt : void 0)),
+ T.attrHooks[t.toLowerCase()] ||
+ (T.expr.match.bool.test(t) ? mt : void 0)),
void 0 !== n
? null === n
- ? void ce.removeAttr(e, t)
+ ? void T.removeAttr(e, t)
: i && 'set' in i && void 0 !== (r = i.set(e, n, t))
? r
: (e.setAttribute(t, n + ''), n)
: i && 'get' in i && null !== (r = i.get(e, t))
? r
- : null == (r = ce.find.attr(e, t))
+ : null == (r = T.find.attr(e, t))
? void 0
: r);
},
attrHooks: {
type: {
set: function (e, t) {
- if (!le.radioValue && 'radio' === t && fe(e, 'input')) {
+ if (!d.radioValue && 'radio' === t && S(e, 'input')) {
var n = e.value;
return e.setAttribute('type', t), n && (e.value = n), t;
}
@@ -3996,61 +3988,61 @@
removeAttr: function (e, t) {
var n,
r = 0,
- i = t && t.match(D);
- if (i && 1 === e.nodeType) while ((n = i[r++])) e.removeAttribute(n);
+ i = t && t.match(X);
+ if (i && 1 === e.nodeType) for (; (n = i[r++]); ) e.removeAttribute(n);
},
}),
(mt = {
set: function (e, t, n) {
- return !1 === t ? ce.removeAttr(e, n) : e.setAttribute(n, n), n;
+ return !1 === t ? T.removeAttr(e, n) : e.setAttribute(n, n), n;
},
}),
- ce.each(ce.expr.match.bool.source.match(/\w+/g), function (e, t) {
- var a = xt[t] || ce.find.attr;
- xt[t] = function (e, t, n) {
- var r,
- i,
- o = t.toLowerCase();
+ T.each(T.expr.match.bool.source.match(/\w+/g), function (e, t) {
+ var n = xt[t] || T.find.attr;
+ xt[t] = function (e, t, r) {
+ var i,
+ o,
+ a = t.toLowerCase();
return (
- n ||
- ((i = xt[o]),
- (xt[o] = r),
- (r = null != a(e, t, n) ? o : null),
- (xt[o] = i)),
- r
+ r ||
+ ((o = xt[a]),
+ (xt[a] = i),
+ (i = null != n(e, t, r) ? a : null),
+ (xt[a] = o)),
+ i
);
};
});
var bt = /^(?:input|select|textarea|button)$/i,
wt = /^(?:a|area)$/i;
function Tt(e) {
- return (e.match(D) || []).join(' ');
+ return (e.match(X) || []).join(' ');
}
function Ct(e) {
return (e.getAttribute && e.getAttribute('class')) || '';
}
- function kt(e) {
- return Array.isArray(e) ? e : ('string' == typeof e && e.match(D)) || [];
+ function St(e) {
+ return Array.isArray(e) ? e : ('string' == typeof e && e.match(X)) || [];
}
- ce.fn.extend({
+ T.fn.extend({
prop: function (e, t) {
- return R(this, ce.prop, e, t, 1 < arguments.length);
+ return J(this, T.prop, e, t, 1 < arguments.length);
},
removeProp: function (e) {
return this.each(function () {
- delete this[ce.propFix[e] || e];
+ delete this[T.propFix[e] || e];
});
},
}),
- ce.extend({
+ T.extend({
prop: function (e, t, n) {
var r,
i,
o = e.nodeType;
if (3 !== o && 8 !== o && 2 !== o)
return (
- (1 === o && ce.isXMLDoc(e)) ||
- ((t = ce.propFix[t] || t), (i = ce.propHooks[t])),
+ (1 === o && T.isXMLDoc(e)) ||
+ ((t = T.propFix[t] || t), (i = T.propHooks[t])),
void 0 !== n
? i && 'set' in i && void 0 !== (r = i.set(e, n, t))
? r
@@ -4063,7 +4055,7 @@
propHooks: {
tabIndex: {
get: function (e) {
- var t = ce.find.attr(e, 'tabindex');
+ var t = T.find.attr(e, 'tabindex');
return t
? parseInt(t, 10)
: bt.test(e.nodeName) || (wt.test(e.nodeName) && e.href)
@@ -4074,8 +4066,8 @@
},
propFix: { for: 'htmlFor', class: 'className' },
}),
- le.optSelected ||
- (ce.propHooks.selected = {
+ d.optSelected ||
+ (T.propHooks.selected = {
get: function (e) {
var t = e.parentNode;
return t && t.parentNode && t.parentNode.selectedIndex, null;
@@ -4085,7 +4077,7 @@
t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex);
},
}),
- ce.each(
+ T.each(
[
'tabIndex',
'readOnly',
@@ -4099,79 +4091,77 @@
'contentEditable',
],
function () {
- ce.propFix[this.toLowerCase()] = this;
+ T.propFix[this.toLowerCase()] = this;
}
),
- ce.fn.extend({
- addClass: function (t) {
- var e, n, r, i, o, a;
- return v(t)
- ? this.each(function (e) {
- ce(this).addClass(t.call(this, e, Ct(this)));
+ T.fn.extend({
+ addClass: function (e) {
+ var t, n, r, i, o, a;
+ return h(e)
+ ? this.each(function (t) {
+ T(this).addClass(e.call(this, t, Ct(this)));
})
- : (e = kt(t)).length
+ : (t = St(e)).length
? this.each(function () {
if (
((r = Ct(this)), (n = 1 === this.nodeType && ' ' + Tt(r) + ' '))
) {
- for (o = 0; o < e.length; o++)
- (i = e[o]), n.indexOf(' ' + i + ' ') < 0 && (n += i + ' ');
+ for (o = 0; o < t.length; o++)
+ (i = t[o]), n.indexOf(' ' + i + ' ') < 0 && (n += i + ' ');
(a = Tt(n)), r !== a && this.setAttribute('class', a);
}
})
: this;
},
- removeClass: function (t) {
- var e, n, r, i, o, a;
- return v(t)
- ? this.each(function (e) {
- ce(this).removeClass(t.call(this, e, Ct(this)));
+ removeClass: function (e) {
+ var t, n, r, i, o, a;
+ return h(e)
+ ? this.each(function (t) {
+ T(this).removeClass(e.call(this, t, Ct(this)));
})
: arguments.length
- ? (e = kt(t)).length
+ ? (t = St(e)).length
? this.each(function () {
if (
((r = Ct(this)),
(n = 1 === this.nodeType && ' ' + Tt(r) + ' '))
) {
- for (o = 0; o < e.length; o++) {
- i = e[o];
- while (-1 < n.indexOf(' ' + i + ' '))
+ for (o = 0; o < t.length; o++)
+ for (i = t[o]; -1 < n.indexOf(' ' + i + ' '); )
n = n.replace(' ' + i + ' ', ' ');
- }
(a = Tt(n)), r !== a && this.setAttribute('class', a);
}
})
: this
: this.attr('class', '');
},
- toggleClass: function (t, n) {
- var e,
+ toggleClass: function (e, t) {
+ var n,
r,
i,
o,
- a = typeof t,
- s = 'string' === a || Array.isArray(t);
- return v(t)
- ? this.each(function (e) {
- ce(this).toggleClass(t.call(this, e, Ct(this), n), n);
+ a = typeof e,
+ s = 'string' === a || Array.isArray(e);
+ return h(e)
+ ? this.each(function (n) {
+ T(this).toggleClass(e.call(this, n, Ct(this), t), t);
})
- : 'boolean' == typeof n && s
- ? n
- ? this.addClass(t)
- : this.removeClass(t)
- : ((e = kt(t)),
+ : 'boolean' == typeof t && s
+ ? t
+ ? this.addClass(e)
+ : this.removeClass(e)
+ : ((n = St(e)),
this.each(function () {
if (s)
- for (o = ce(this), i = 0; i < e.length; i++)
- (r = e[i]), o.hasClass(r) ? o.removeClass(r) : o.addClass(r);
+ for (o = T(this), i = 0; i < n.length; i++)
+ (r = n[i]), o.hasClass(r) ? o.removeClass(r) : o.addClass(r);
else
- (void 0 !== t && 'boolean' !== a) ||
- ((r = Ct(this)) && _.set(this, '__className__', r),
+ (void 0 !== e && 'boolean' !== a) ||
+ ((r = Ct(this)) && ie.set(this, '__className__', r),
this.setAttribute &&
this.setAttribute(
'class',
- r || !1 === t ? '' : _.get(this, '__className__') || ''
+ r || !1 === e ? '' : ie.get(this, '__className__') || ''
));
}));
},
@@ -4179,59 +4169,58 @@
var t,
n,
r = 0;
- t = ' ' + e + ' ';
- while ((n = this[r++]))
+ for (t = ' ' + e + ' '; (n = this[r++]); )
if (1 === n.nodeType && -1 < (' ' + Tt(Ct(n)) + ' ').indexOf(t))
return !0;
return !1;
},
});
- var St = /\r/g;
- ce.fn.extend({
- val: function (n) {
- var r,
- e,
- i,
- t = this[0];
+ var Et = /\r/g;
+ T.fn.extend({
+ val: function (e) {
+ var t,
+ n,
+ r,
+ i = this[0];
return arguments.length
- ? ((i = v(n)),
- this.each(function (e) {
- var t;
+ ? ((r = h(e)),
+ this.each(function (n) {
+ var i;
1 === this.nodeType &&
- (null == (t = i ? n.call(this, e, ce(this).val()) : n)
- ? (t = '')
- : 'number' == typeof t
- ? (t += '')
- : Array.isArray(t) &&
- (t = ce.map(t, function (e) {
+ (null == (i = r ? e.call(this, n, T(this).val()) : e)
+ ? (i = '')
+ : 'number' == typeof i
+ ? (i += '')
+ : Array.isArray(i) &&
+ (i = T.map(i, function (e) {
return null == e ? '' : e + '';
})),
- ((r =
- ce.valHooks[this.type] ||
- ce.valHooks[this.nodeName.toLowerCase()]) &&
- 'set' in r &&
- void 0 !== r.set(this, t, 'value')) ||
- (this.value = t));
+ ((t =
+ T.valHooks[this.type] ||
+ T.valHooks[this.nodeName.toLowerCase()]) &&
+ 'set' in t &&
+ void 0 !== t.set(this, i, 'value')) ||
+ (this.value = i));
}))
- : t
- ? (r = ce.valHooks[t.type] || ce.valHooks[t.nodeName.toLowerCase()]) &&
- 'get' in r &&
- void 0 !== (e = r.get(t, 'value'))
- ? e
- : 'string' == typeof (e = t.value)
- ? e.replace(St, '')
- : null == e
+ : i
+ ? (t = T.valHooks[i.type] || T.valHooks[i.nodeName.toLowerCase()]) &&
+ 'get' in t &&
+ void 0 !== (n = t.get(i, 'value'))
+ ? n
+ : 'string' == typeof (n = i.value)
+ ? n.replace(Et, '')
+ : null == n
? ''
- : e
+ : n
: void 0;
},
}),
- ce.extend({
+ T.extend({
valHooks: {
option: {
get: function (e) {
- var t = ce.find.attr(e, 'value');
- return null != t ? t : Tt(ce.text(e));
+ var t = T.find.attr(e, 'value');
+ return null != t ? t : Tt(T.text(e));
},
},
select: {
@@ -4248,222 +4237,216 @@
if (
((n = i[r]).selected || r === o) &&
!n.disabled &&
- (!n.parentNode.disabled || !fe(n.parentNode, 'optgroup'))
+ (!n.parentNode.disabled || !S(n.parentNode, 'optgroup'))
) {
- if (((t = ce(n).val()), a)) return t;
+ if (((t = T(n).val()), a)) return t;
s.push(t);
}
return s;
},
set: function (e, t) {
- var n,
- r,
- i = e.options,
- o = ce.makeArray(t),
- a = i.length;
- while (a--)
+ for (
+ var n, r, i = e.options, o = T.makeArray(t), a = i.length;
+ a--;
+
+ )
((r = i[a]).selected =
- -1 < ce.inArray(ce.valHooks.option.get(r), o)) && (n = !0);
+ -1 < T.inArray(T.valHooks.option.get(r), o)) && (n = !0);
return n || (e.selectedIndex = -1), o;
},
},
},
}),
- ce.each(['radio', 'checkbox'], function () {
- (ce.valHooks[this] = {
+ T.each(['radio', 'checkbox'], function () {
+ (T.valHooks[this] = {
set: function (e, t) {
if (Array.isArray(t))
- return (e.checked = -1 < ce.inArray(ce(e).val(), t));
+ return (e.checked = -1 < T.inArray(T(e).val(), t));
},
}),
- le.checkOn ||
- (ce.valHooks[this].get = function (e) {
+ d.checkOn ||
+ (T.valHooks[this].get = function (e) {
return null === e.getAttribute('value') ? 'on' : e.value;
});
});
- var Et = ie.location,
+ var kt = e.location,
jt = { guid: Date.now() },
At = /\?/;
- ce.parseXML = function (e) {
- var t, n;
- if (!e || 'string' != typeof e) return null;
+ T.parseXML = function (t) {
+ var n, r;
+ if (!t || 'string' != typeof t) return null;
try {
- t = new ie.DOMParser().parseFromString(e, 'text/xml');
- } catch (e) {}
+ n = new e.DOMParser().parseFromString(t, 'text/xml');
+ } catch (t) {}
return (
- (n = t && t.getElementsByTagName('parsererror')[0]),
- (t && !n) ||
- ce.error(
+ (r = n && n.getElementsByTagName('parsererror')[0]),
+ (n && !r) ||
+ T.error(
'Invalid XML: ' +
- (n
- ? ce
- .map(n.childNodes, function (e) {
- return e.textContent;
- })
- .join('\n')
- : e)
+ (r
+ ? T.map(r.childNodes, function (e) {
+ return e.textContent;
+ }).join('\n')
+ : t)
),
- t
+ n
);
};
var Dt = /^(?:focusinfocus|focusoutblur)$/,
Nt = function (e) {
e.stopPropagation();
};
- ce.extend(ce.event, {
- trigger: function (e, t, n, r) {
- var i,
- o,
+ T.extend(T.event, {
+ trigger: function (t, n, r, i) {
+ var o,
a,
s,
u,
l,
- c,
f,
- p = [n || C],
- d = ue.call(e, 'type') ? e.type : e,
- h = ue.call(e, 'namespace') ? e.namespace.split('.') : [];
+ p,
+ d,
+ y = [r || v],
+ m = c.call(t, 'type') ? t.type : t,
+ x = c.call(t, 'namespace') ? t.namespace.split('.') : [];
if (
- ((o = f = a = n = n || C),
- 3 !== n.nodeType &&
- 8 !== n.nodeType &&
- !Dt.test(d + ce.event.triggered) &&
- (-1 < d.indexOf('.') && ((d = (h = d.split('.')).shift()), h.sort()),
- (u = d.indexOf(':') < 0 && 'on' + d),
- ((e = e[ce.expando]
- ? e
- : new ce.Event(d, 'object' == typeof e && e)).isTrigger = r
- ? 2
- : 3),
- (e.namespace = h.join('.')),
- (e.rnamespace = e.namespace
- ? new RegExp('(^|\\.)' + h.join('\\.(?:.*\\.|)') + '(\\.|$)')
+ ((a = d = s = r = r || v),
+ 3 !== r.nodeType &&
+ 8 !== r.nodeType &&
+ !Dt.test(m + T.event.triggered) &&
+ (-1 < m.indexOf('.') && ((m = (x = m.split('.')).shift()), x.sort()),
+ (l = m.indexOf(':') < 0 && 'on' + m),
+ ((t = t[T.expando]
+ ? t
+ : new T.Event(m, 'object' == typeof t && t)).isTrigger = i ? 2 : 3),
+ (t.namespace = x.join('.')),
+ (t.rnamespace = t.namespace
+ ? new RegExp('(^|\\.)' + x.join('\\.(?:.*\\.|)') + '(\\.|$)')
: null),
- (e.result = void 0),
- e.target || (e.target = n),
- (t = null == t ? [e] : ce.makeArray(t, [e])),
- (c = ce.event.special[d] || {}),
- r || !c.trigger || !1 !== c.trigger.apply(n, t)))
+ (t.result = void 0),
+ t.target || (t.target = r),
+ (n = null == n ? [t] : T.makeArray(n, [t])),
+ (p = T.event.special[m] || {}),
+ i || !p.trigger || !1 !== p.trigger.apply(r, n)))
) {
- if (!r && !c.noBubble && !y(n)) {
+ if (!i && !p.noBubble && !g(r)) {
for (
- s = c.delegateType || d, Dt.test(s + d) || (o = o.parentNode);
- o;
- o = o.parentNode
+ u = p.delegateType || m, Dt.test(u + m) || (a = a.parentNode);
+ a;
+ a = a.parentNode
)
- p.push(o), (a = o);
- a === (n.ownerDocument || C) &&
- p.push(a.defaultView || a.parentWindow || ie);
+ y.push(a), (s = a);
+ s === (r.ownerDocument || v) &&
+ y.push(s.defaultView || s.parentWindow || e);
}
- i = 0;
- while ((o = p[i++]) && !e.isPropagationStopped())
- (f = o),
- (e.type = 1 < i ? s : c.bindType || d),
- (l =
- (_.get(o, 'events') || Object.create(null))[e.type] &&
- _.get(o, 'handle')) && l.apply(o, t),
- (l = u && o[u]) &&
- l.apply &&
- $(o) &&
- ((e.result = l.apply(o, t)),
- !1 === e.result && e.preventDefault());
+ for (o = 0; (a = y[o++]) && !t.isPropagationStopped(); )
+ (d = a),
+ (t.type = 1 < o ? u : p.bindType || m),
+ (f =
+ (ie.get(a, 'events') || Object.create(null))[t.type] &&
+ ie.get(a, 'handle')) && f.apply(a, n),
+ (f = l && a[l]) &&
+ f.apply &&
+ ne(a) &&
+ ((t.result = f.apply(a, n)),
+ !1 === t.result && t.preventDefault());
return (
- (e.type = d),
- r ||
- e.isDefaultPrevented() ||
- (c._default && !1 !== c._default.apply(p.pop(), t)) ||
- !$(n) ||
- (u &&
- v(n[d]) &&
- !y(n) &&
- ((a = n[u]) && (n[u] = null),
- (ce.event.triggered = d),
- e.isPropagationStopped() && f.addEventListener(d, Nt),
- n[d](),
- e.isPropagationStopped() && f.removeEventListener(d, Nt),
- (ce.event.triggered = void 0),
- a && (n[u] = a))),
- e.result
+ (t.type = m),
+ i ||
+ t.isDefaultPrevented() ||
+ (p._default && !1 !== p._default.apply(y.pop(), n)) ||
+ !ne(r) ||
+ (l &&
+ h(r[m]) &&
+ !g(r) &&
+ ((s = r[l]) && (r[l] = null),
+ (T.event.triggered = m),
+ t.isPropagationStopped() && d.addEventListener(m, Nt),
+ r[m](),
+ t.isPropagationStopped() && d.removeEventListener(m, Nt),
+ (T.event.triggered = void 0),
+ s && (r[l] = s))),
+ t.result
);
}
},
simulate: function (e, t, n) {
- var r = ce.extend(new ce.Event(), n, { type: e, isSimulated: !0 });
- ce.event.trigger(r, null, t);
+ var r = T.extend(new T.Event(), n, { type: e, isSimulated: !0 });
+ T.event.trigger(r, null, t);
},
}),
- ce.fn.extend({
+ T.fn.extend({
trigger: function (e, t) {
return this.each(function () {
- ce.event.trigger(e, t, this);
+ T.event.trigger(e, t, this);
});
},
triggerHandler: function (e, t) {
var n = this[0];
- if (n) return ce.event.trigger(e, t, n, !0);
+ if (n) return T.event.trigger(e, t, n, !0);
},
});
var qt = /\[\]$/,
Lt = /\r?\n/g,
Ht = /^(?:submit|button|image|reset|file)$/i,
Ot = /^(?:input|select|textarea|keygen)/i;
- function Pt(n, e, r, i) {
- var t;
- if (Array.isArray(e))
- ce.each(e, function (e, t) {
- r || qt.test(n)
- ? i(n, t)
+ function Pt(e, t, n, r) {
+ var i;
+ if (Array.isArray(t))
+ T.each(t, function (t, i) {
+ n || qt.test(e)
+ ? r(e, i)
: Pt(
- n + '[' + ('object' == typeof t && null != t ? e : '') + ']',
- t,
- r,
- i
+ e + '[' + ('object' == typeof i && null != i ? t : '') + ']',
+ i,
+ n,
+ r
);
});
- else if (r || 'object' !== x(e)) i(n, e);
- else for (t in e) Pt(n + '[' + t + ']', e[t], r, i);
+ else if (n || 'object' !== x(t)) r(e, t);
+ else for (i in t) Pt(e + '[' + i + ']', t[i], n, r);
}
- (ce.param = function (e, t) {
+ (T.param = function (e, t) {
var n,
r = [],
i = function (e, t) {
- var n = v(t) ? t() : t;
+ var n = h(t) ? t() : t;
r[r.length] =
encodeURIComponent(e) + '=' + encodeURIComponent(null == n ? '' : n);
};
if (null == e) return '';
- if (Array.isArray(e) || (e.jquery && !ce.isPlainObject(e)))
- ce.each(e, function () {
+ if (Array.isArray(e) || (e.jquery && !T.isPlainObject(e)))
+ T.each(e, function () {
i(this.name, this.value);
});
else for (n in e) Pt(n, e[n], t, i);
return r.join('&');
}),
- ce.fn.extend({
+ T.fn.extend({
serialize: function () {
- return ce.param(this.serializeArray());
+ return T.param(this.serializeArray());
},
serializeArray: function () {
return this.map(function () {
- var e = ce.prop(this, 'elements');
- return e ? ce.makeArray(e) : this;
+ var e = T.prop(this, 'elements');
+ return e ? T.makeArray(e) : this;
})
.filter(function () {
var e = this.type;
return (
this.name &&
- !ce(this).is(':disabled') &&
+ !T(this).is(':disabled') &&
Ot.test(this.nodeName) &&
!Ht.test(e) &&
(this.checked || !we.test(e))
);
})
.map(function (e, t) {
- var n = ce(this).val();
+ var n = T(this).val();
return null == n
? null
: Array.isArray(n)
- ? ce.map(n, function (e) {
+ ? T.map(n, function (e) {
return { name: t.name, value: e.replace(Lt, '\r\n') };
})
: { name: t.name, value: n.replace(Lt, '\r\n') };
@@ -4480,58 +4463,58 @@
Bt = {},
_t = {},
Xt = '*/'.concat('*'),
- Ut = C.createElement('a');
- function zt(o) {
- return function (e, t) {
- 'string' != typeof e && ((t = e), (e = '*'));
- var n,
- r = 0,
- i = e.toLowerCase().match(D) || [];
- if (v(t))
- while ((n = i[r++]))
- '+' === n[0]
- ? ((n = n.slice(1) || '*'), (o[n] = o[n] || []).unshift(t))
- : (o[n] = o[n] || []).push(t);
+ Ut = v.createElement('a');
+ function zt(e) {
+ return function (t, n) {
+ 'string' != typeof t && ((n = t), (t = '*'));
+ var r,
+ i = 0,
+ o = t.toLowerCase().match(X) || [];
+ if (h(n))
+ for (; (r = o[i++]); )
+ '+' === r[0]
+ ? ((r = r.slice(1) || '*'), (e[r] = e[r] || []).unshift(n))
+ : (e[r] = e[r] || []).push(n);
};
}
- function Vt(t, i, o, a) {
- var s = {},
- u = t === _t;
- function l(e) {
- var r;
+ function Vt(e, t, n, r) {
+ var i = {},
+ o = e === _t;
+ function a(s) {
+ var u;
return (
- (s[e] = !0),
- ce.each(t[e] || [], function (e, t) {
- var n = t(i, o, a);
- return 'string' != typeof n || u || s[n]
- ? u
- ? !(r = n)
+ (i[s] = !0),
+ T.each(e[s] || [], function (e, s) {
+ var l = s(t, n, r);
+ return 'string' != typeof l || o || i[l]
+ ? o
+ ? !(u = l)
: void 0
- : (i.dataTypes.unshift(n), l(n), !1);
+ : (t.dataTypes.unshift(l), a(l), !1);
}),
- r
+ u
);
}
- return l(i.dataTypes[0]) || (!s['*'] && l('*'));
+ return a(t.dataTypes[0]) || (!i['*'] && a('*'));
}
function Gt(e, t) {
var n,
r,
- i = ce.ajaxSettings.flatOptions || {};
+ i = T.ajaxSettings.flatOptions || {};
for (n in t) void 0 !== t[n] && ((i[n] ? e : r || (r = {}))[n] = t[n]);
- return r && ce.extend(!0, e, r), e;
+ return r && T.extend(!0, e, r), e;
}
- (Ut.href = Et.href),
- ce.extend({
+ (Ut.href = kt.href),
+ T.extend({
active: 0,
lastModified: {},
etag: {},
ajaxSettings: {
- url: Et.href,
+ url: kt.href,
type: 'GET',
isLocal:
/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(
- Et.protocol
+ kt.protocol
),
global: !0,
processData: !0,
@@ -4554,190 +4537,186 @@
'* text': String,
'text html': !0,
'text json': JSON.parse,
- 'text xml': ce.parseXML,
+ 'text xml': T.parseXML,
},
flatOptions: { url: !0, context: !0 },
},
ajaxSetup: function (e, t) {
- return t ? Gt(Gt(e, ce.ajaxSettings), t) : Gt(ce.ajaxSettings, e);
+ return t ? Gt(Gt(e, T.ajaxSettings), t) : Gt(T.ajaxSettings, e);
},
ajaxPrefilter: zt(Bt),
ajaxTransport: zt(_t),
- ajax: function (e, t) {
- 'object' == typeof e && ((t = e), (e = void 0)), (t = t || {});
- var c,
- f,
- p,
- n,
- d,
- r,
- h,
- g,
+ ajax: function (t, n) {
+ 'object' == typeof t && ((n = t), (t = void 0)), (n = n || {});
+ var r,
i,
o,
- v = ce.ajaxSetup({}, t),
- y = v.context || v,
- m = v.context && (y.nodeType || y.jquery) ? ce(y) : ce.event,
- x = ce.Deferred(),
- b = ce.Callbacks('once memory'),
- w = v.statusCode || {},
- a = {},
- s = {},
- u = 'canceled',
- T = {
+ a,
+ s,
+ u,
+ l,
+ c,
+ f,
+ p,
+ d = T.ajaxSetup({}, n),
+ h = d.context || d,
+ g = d.context && (h.nodeType || h.jquery) ? T(h) : T.event,
+ y = T.Deferred(),
+ m = T.Callbacks('once memory'),
+ x = d.statusCode || {},
+ b = {},
+ w = {},
+ C = 'canceled',
+ S = {
readyState: 0,
getResponseHeader: function (e) {
var t;
- if (h) {
- if (!n) {
- n = {};
- while ((t = Wt.exec(p)))
- n[t[1].toLowerCase() + ' '] = (
- n[t[1].toLowerCase() + ' '] || []
+ if (l) {
+ if (!a)
+ for (a = {}; (t = Wt.exec(o)); )
+ a[t[1].toLowerCase() + ' '] = (
+ a[t[1].toLowerCase() + ' '] || []
).concat(t[2]);
- }
- t = n[e.toLowerCase() + ' '];
+ t = a[e.toLowerCase() + ' '];
}
return null == t ? null : t.join(', ');
},
getAllResponseHeaders: function () {
- return h ? p : null;
+ return l ? o : null;
},
setRequestHeader: function (e, t) {
return (
- null == h &&
- ((e = s[e.toLowerCase()] = s[e.toLowerCase()] || e),
- (a[e] = t)),
+ null == l &&
+ ((e = w[e.toLowerCase()] = w[e.toLowerCase()] || e),
+ (b[e] = t)),
this
);
},
overrideMimeType: function (e) {
- return null == h && (v.mimeType = e), this;
+ return null == l && (d.mimeType = e), this;
},
statusCode: function (e) {
var t;
if (e)
- if (h) T.always(e[T.status]);
- else for (t in e) w[t] = [w[t], e[t]];
+ if (l) S.always(e[S.status]);
+ else for (t in e) x[t] = [x[t], e[t]];
return this;
},
abort: function (e) {
- var t = e || u;
- return c && c.abort(t), l(0, t), this;
+ var t = e || C;
+ return r && r.abort(t), E(0, t), this;
},
};
if (
- (x.promise(T),
- (v.url = ((e || v.url || Et.href) + '').replace(
+ (y.promise(S),
+ (d.url = ((t || d.url || kt.href) + '').replace(
$t,
- Et.protocol + '//'
+ kt.protocol + '//'
)),
- (v.type = t.method || t.type || v.method || v.type),
- (v.dataTypes = (v.dataType || '*').toLowerCase().match(D) || ['']),
- null == v.crossDomain)
+ (d.type = n.method || n.type || d.method || d.type),
+ (d.dataTypes = (d.dataType || '*').toLowerCase().match(X) || ['']),
+ null == d.crossDomain)
) {
- r = C.createElement('a');
+ u = v.createElement('a');
try {
- (r.href = v.url),
- (r.href = r.href),
- (v.crossDomain =
- Ut.protocol + '//' + Ut.host != r.protocol + '//' + r.host);
- } catch (e) {
- v.crossDomain = !0;
+ (u.href = d.url),
+ (u.href = u.href),
+ (d.crossDomain =
+ Ut.protocol + '//' + Ut.host != u.protocol + '//' + u.host);
+ } catch (t) {
+ d.crossDomain = !0;
}
}
if (
- (v.data &&
- v.processData &&
- 'string' != typeof v.data &&
- (v.data = ce.param(v.data, v.traditional)),
- Vt(Bt, v, t, T),
- h)
+ (d.data &&
+ d.processData &&
+ 'string' != typeof d.data &&
+ (d.data = T.param(d.data, d.traditional)),
+ Vt(Bt, d, n, S),
+ l)
)
- return T;
- for (i in ((g = ce.event && v.global) &&
- 0 == ce.active++ &&
- ce.event.trigger('ajaxStart'),
- (v.type = v.type.toUpperCase()),
- (v.hasContent = !Ft.test(v.type)),
- (f = v.url.replace(Mt, '')),
- v.hasContent
- ? v.data &&
- v.processData &&
+ return S;
+ for (f in ((c = T.event && d.global) &&
+ 0 == T.active++ &&
+ T.event.trigger('ajaxStart'),
+ (d.type = d.type.toUpperCase()),
+ (d.hasContent = !Ft.test(d.type)),
+ (i = d.url.replace(Mt, '')),
+ d.hasContent
+ ? d.data &&
+ d.processData &&
0 ===
- (v.contentType || '').indexOf(
+ (d.contentType || '').indexOf(
'application/x-www-form-urlencoded'
) &&
- (v.data = v.data.replace(Rt, '+'))
- : ((o = v.url.slice(f.length)),
- v.data &&
- (v.processData || 'string' == typeof v.data) &&
- ((f += (At.test(f) ? '&' : '?') + v.data), delete v.data),
- !1 === v.cache &&
- ((f = f.replace(It, '$1')),
- (o = (At.test(f) ? '&' : '?') + '_=' + jt.guid++ + o)),
- (v.url = f + o)),
- v.ifModified &&
- (ce.lastModified[f] &&
- T.setRequestHeader('If-Modified-Since', ce.lastModified[f]),
- ce.etag[f] && T.setRequestHeader('If-None-Match', ce.etag[f])),
- ((v.data && v.hasContent && !1 !== v.contentType) || t.contentType) &&
- T.setRequestHeader('Content-Type', v.contentType),
- T.setRequestHeader(
+ (d.data = d.data.replace(Rt, '+'))
+ : ((p = d.url.slice(i.length)),
+ d.data &&
+ (d.processData || 'string' == typeof d.data) &&
+ ((i += (At.test(i) ? '&' : '?') + d.data), delete d.data),
+ !1 === d.cache &&
+ ((i = i.replace(It, '$1')),
+ (p = (At.test(i) ? '&' : '?') + '_=' + jt.guid++ + p)),
+ (d.url = i + p)),
+ d.ifModified &&
+ (T.lastModified[i] &&
+ S.setRequestHeader('If-Modified-Since', T.lastModified[i]),
+ T.etag[i] && S.setRequestHeader('If-None-Match', T.etag[i])),
+ ((d.data && d.hasContent && !1 !== d.contentType) || n.contentType) &&
+ S.setRequestHeader('Content-Type', d.contentType),
+ S.setRequestHeader(
'Accept',
- v.dataTypes[0] && v.accepts[v.dataTypes[0]]
- ? v.accepts[v.dataTypes[0]] +
- ('*' !== v.dataTypes[0] ? ', ' + Xt + '; q=0.01' : '')
- : v.accepts['*']
+ d.dataTypes[0] && d.accepts[d.dataTypes[0]]
+ ? d.accepts[d.dataTypes[0]] +
+ ('*' !== d.dataTypes[0] ? ', ' + Xt + '; q=0.01' : '')
+ : d.accepts['*']
),
- v.headers))
- T.setRequestHeader(i, v.headers[i]);
- if (v.beforeSend && (!1 === v.beforeSend.call(y, T, v) || h))
- return T.abort();
+ d.headers))
+ S.setRequestHeader(f, d.headers[f]);
+ if (d.beforeSend && (!1 === d.beforeSend.call(h, S, d) || l))
+ return S.abort();
if (
- ((u = 'abort'),
- b.add(v.complete),
- T.done(v.success),
- T.fail(v.error),
- (c = Vt(_t, v, t, T)))
+ ((C = 'abort'),
+ m.add(d.complete),
+ S.done(d.success),
+ S.fail(d.error),
+ (r = Vt(_t, d, n, S)))
) {
- if (((T.readyState = 1), g && m.trigger('ajaxSend', [T, v]), h))
- return T;
- v.async &&
- 0 < v.timeout &&
- (d = ie.setTimeout(function () {
- T.abort('timeout');
- }, v.timeout));
+ if (((S.readyState = 1), c && g.trigger('ajaxSend', [S, d]), l))
+ return S;
+ d.async &&
+ 0 < d.timeout &&
+ (s = e.setTimeout(function () {
+ S.abort('timeout');
+ }, d.timeout));
try {
- (h = !1), c.send(a, l);
- } catch (e) {
- if (h) throw e;
- l(-1, e);
+ (l = !1), r.send(b, E);
+ } catch (t) {
+ if (l) throw t;
+ E(-1, t);
}
- } else l(-1, 'No Transport');
- function l(e, t, n, r) {
- var i,
- o,
- a,
- s,
- u,
- l = t;
- h ||
- ((h = !0),
- d && ie.clearTimeout(d),
- (c = void 0),
- (p = r || ''),
- (T.readyState = 0 < e ? 4 : 0),
- (i = (200 <= e && e < 300) || 304 === e),
- n &&
- (s = (function (e, t, n) {
- var r,
- i,
- o,
- a,
- s = e.contents,
- u = e.dataTypes;
- while ('*' === u[0])
+ } else E(-1, 'No Transport');
+ function E(t, n, a, u) {
+ var f,
+ p,
+ v,
+ b,
+ w,
+ C = n;
+ l ||
+ ((l = !0),
+ s && e.clearTimeout(s),
+ (r = void 0),
+ (o = u || ''),
+ (S.readyState = 0 < t ? 4 : 0),
+ (f = (200 <= t && t < 300) || 304 === t),
+ a &&
+ (b = (function (e, t, n) {
+ for (
+ var r, i, o, a, s = e.contents, u = e.dataTypes;
+ '*' === u[0];
+
+ )
u.shift(),
void 0 === r &&
(r = e.mimeType || t.getResponseHeader('Content-Type'));
@@ -4759,12 +4738,12 @@
o = o || a;
}
if (o) return o !== u[0] && u.unshift(o), n[o];
- })(v, T, n)),
- !i &&
- -1 < ce.inArray('script', v.dataTypes) &&
- ce.inArray('json', v.dataTypes) < 0 &&
- (v.converters['text script'] = function () {}),
- (s = (function (e, t, n, r) {
+ })(d, S, a)),
+ !f &&
+ -1 < T.inArray('script', d.dataTypes) &&
+ T.inArray('json', d.dataTypes) < 0 &&
+ (d.converters['text script'] = function () {}),
+ (b = (function (e, t, n, r) {
var i,
o,
a,
@@ -4774,8 +4753,7 @@
c = e.dataTypes.slice();
if (c[1])
for (a in e.converters) l[a.toLowerCase()] = e.converters[a];
- o = c.shift();
- while (o)
+ for (o = c.shift(); o; )
if (
(e.responseFields[o] && (n[e.responseFields[o]] = t),
!u && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)),
@@ -4796,7 +4774,7 @@
break;
}
if (!0 !== a)
- if (a && e['throws']) t = a(t);
+ if (a && e.throws) t = a(t);
else
try {
t = a(t);
@@ -4810,59 +4788,59 @@
}
}
return { state: 'success', data: t };
- })(v, s, T, i)),
- i
- ? (v.ifModified &&
- ((u = T.getResponseHeader('Last-Modified')) &&
- (ce.lastModified[f] = u),
- (u = T.getResponseHeader('etag')) && (ce.etag[f] = u)),
- 204 === e || 'HEAD' === v.type
- ? (l = 'nocontent')
- : 304 === e
- ? (l = 'notmodified')
- : ((l = s.state), (o = s.data), (i = !(a = s.error))))
- : ((a = l), (!e && l) || ((l = 'error'), e < 0 && (e = 0))),
- (T.status = e),
- (T.statusText = (t || l) + ''),
- i ? x.resolveWith(y, [o, l, T]) : x.rejectWith(y, [T, l, a]),
- T.statusCode(w),
- (w = void 0),
- g && m.trigger(i ? 'ajaxSuccess' : 'ajaxError', [T, v, i ? o : a]),
- b.fireWith(y, [T, l]),
- g &&
- (m.trigger('ajaxComplete', [T, v]),
- --ce.active || ce.event.trigger('ajaxStop')));
+ })(d, b, S, f)),
+ f
+ ? (d.ifModified &&
+ ((w = S.getResponseHeader('Last-Modified')) &&
+ (T.lastModified[i] = w),
+ (w = S.getResponseHeader('etag')) && (T.etag[i] = w)),
+ 204 === t || 'HEAD' === d.type
+ ? (C = 'nocontent')
+ : 304 === t
+ ? (C = 'notmodified')
+ : ((C = b.state), (p = b.data), (f = !(v = b.error))))
+ : ((v = C), (!t && C) || ((C = 'error'), t < 0 && (t = 0))),
+ (S.status = t),
+ (S.statusText = (n || C) + ''),
+ f ? y.resolveWith(h, [p, C, S]) : y.rejectWith(h, [S, C, v]),
+ S.statusCode(x),
+ (x = void 0),
+ c && g.trigger(f ? 'ajaxSuccess' : 'ajaxError', [S, d, f ? p : v]),
+ m.fireWith(h, [S, C]),
+ c &&
+ (g.trigger('ajaxComplete', [S, d]),
+ --T.active || T.event.trigger('ajaxStop')));
}
- return T;
+ return S;
},
getJSON: function (e, t, n) {
- return ce.get(e, t, n, 'json');
+ return T.get(e, t, n, 'json');
},
getScript: function (e, t) {
- return ce.get(e, void 0, t, 'script');
+ return T.get(e, void 0, t, 'script');
},
}),
- ce.each(['get', 'post'], function (e, i) {
- ce[i] = function (e, t, n, r) {
+ T.each(['get', 'post'], function (e, t) {
+ T[t] = function (e, n, r, i) {
return (
- v(t) && ((r = r || n), (n = t), (t = void 0)),
- ce.ajax(
- ce.extend(
- { url: e, type: i, dataType: r, data: t, success: n },
- ce.isPlainObject(e) && e
+ h(n) && ((i = i || r), (r = n), (n = void 0)),
+ T.ajax(
+ T.extend(
+ { url: e, type: t, dataType: i, data: n, success: r },
+ T.isPlainObject(e) && e
)
)
);
};
}),
- ce.ajaxPrefilter(function (e) {
+ T.ajaxPrefilter(function (e) {
var t;
for (t in e.headers)
'content-type' === t.toLowerCase() &&
(e.contentType = e.headers[t] || '');
}),
- (ce._evalUrl = function (e, t, n) {
- return ce.ajax({
+ (T._evalUrl = function (e, t, n) {
+ return T.ajax({
url: e,
type: 'GET',
dataType: 'script',
@@ -4871,43 +4849,43 @@
global: !1,
converters: { 'text script': function () {} },
dataFilter: function (e) {
- ce.globalEval(e, t, n);
+ T.globalEval(e, t, n);
},
});
}),
- ce.fn.extend({
+ T.fn.extend({
wrapAll: function (e) {
var t;
return (
this[0] &&
- (v(e) && (e = e.call(this[0])),
- (t = ce(e, this[0].ownerDocument).eq(0).clone(!0)),
+ (h(e) && (e = e.call(this[0])),
+ (t = T(e, this[0].ownerDocument).eq(0).clone(!0)),
this[0].parentNode && t.insertBefore(this[0]),
t
.map(function () {
- var e = this;
- while (e.firstElementChild) e = e.firstElementChild;
+ for (var e = this; e.firstElementChild; )
+ e = e.firstElementChild;
return e;
})
.append(this)),
this
);
},
- wrapInner: function (n) {
- return v(n)
- ? this.each(function (e) {
- ce(this).wrapInner(n.call(this, e));
+ wrapInner: function (e) {
+ return h(e)
+ ? this.each(function (t) {
+ T(this).wrapInner(e.call(this, t));
})
: this.each(function () {
- var e = ce(this),
- t = e.contents();
- t.length ? t.wrapAll(n) : e.append(n);
+ var t = T(this),
+ n = t.contents();
+ n.length ? n.wrapAll(e) : t.append(e);
});
},
- wrap: function (t) {
- var n = v(t);
- return this.each(function (e) {
- ce(this).wrapAll(n ? t.call(this, e) : t);
+ wrap: function (e) {
+ var t = h(e);
+ return this.each(function (n) {
+ T(this).wrapAll(t ? e.call(this, n) : e);
});
},
unwrap: function (e) {
@@ -4915,101 +4893,101 @@
this.parent(e)
.not('body')
.each(function () {
- ce(this).replaceWith(this.childNodes);
+ T(this).replaceWith(this.childNodes);
}),
this
);
},
}),
- (ce.expr.pseudos.hidden = function (e) {
- return !ce.expr.pseudos.visible(e);
+ (T.expr.pseudos.hidden = function (e) {
+ return !T.expr.pseudos.visible(e);
}),
- (ce.expr.pseudos.visible = function (e) {
+ (T.expr.pseudos.visible = function (e) {
return !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length);
}),
- (ce.ajaxSettings.xhr = function () {
+ (T.ajaxSettings.xhr = function () {
try {
- return new ie.XMLHttpRequest();
+ return new e.XMLHttpRequest();
} catch (e) {}
});
var Yt = { 0: 200, 1223: 204 },
- Qt = ce.ajaxSettings.xhr();
- (le.cors = !!Qt && 'withCredentials' in Qt),
- (le.ajax = Qt = !!Qt),
- ce.ajaxTransport(function (i) {
- var o, a;
- if (le.cors || (Qt && !i.crossDomain))
+ Qt = T.ajaxSettings.xhr();
+ (d.cors = !!Qt && 'withCredentials' in Qt),
+ (d.ajax = Qt = !!Qt),
+ T.ajaxTransport(function (t) {
+ var n, r;
+ if (d.cors || (Qt && !t.crossDomain))
return {
- send: function (e, t) {
- var n,
- r = i.xhr();
+ send: function (i, o) {
+ var a,
+ s = t.xhr();
if (
- (r.open(i.type, i.url, i.async, i.username, i.password),
- i.xhrFields)
+ (s.open(t.type, t.url, t.async, t.username, t.password),
+ t.xhrFields)
)
- for (n in i.xhrFields) r[n] = i.xhrFields[n];
- for (n in (i.mimeType &&
- r.overrideMimeType &&
- r.overrideMimeType(i.mimeType),
- i.crossDomain ||
- e['X-Requested-With'] ||
- (e['X-Requested-With'] = 'XMLHttpRequest'),
- e))
- r.setRequestHeader(n, e[n]);
- (o = function (e) {
+ for (a in t.xhrFields) s[a] = t.xhrFields[a];
+ for (a in (t.mimeType &&
+ s.overrideMimeType &&
+ s.overrideMimeType(t.mimeType),
+ t.crossDomain ||
+ i['X-Requested-With'] ||
+ (i['X-Requested-With'] = 'XMLHttpRequest'),
+ i))
+ s.setRequestHeader(a, i[a]);
+ (n = function (e) {
return function () {
- o &&
- ((o =
- a =
- r.onload =
- r.onerror =
- r.onabort =
- r.ontimeout =
- r.onreadystatechange =
+ n &&
+ ((n =
+ r =
+ s.onload =
+ s.onerror =
+ s.onabort =
+ s.ontimeout =
+ s.onreadystatechange =
null),
'abort' === e
- ? r.abort()
+ ? s.abort()
: 'error' === e
- ? 'number' != typeof r.status
- ? t(0, 'error')
- : t(r.status, r.statusText)
- : t(
- Yt[r.status] || r.status,
- r.statusText,
- 'text' !== (r.responseType || 'text') ||
- 'string' != typeof r.responseText
- ? { binary: r.response }
- : { text: r.responseText },
- r.getAllResponseHeaders()
+ ? 'number' != typeof s.status
+ ? o(0, 'error')
+ : o(s.status, s.statusText)
+ : o(
+ Yt[s.status] || s.status,
+ s.statusText,
+ 'text' !== (s.responseType || 'text') ||
+ 'string' != typeof s.responseText
+ ? { binary: s.response }
+ : { text: s.responseText },
+ s.getAllResponseHeaders()
));
};
}),
- (r.onload = o()),
- (a = r.onerror = r.ontimeout = o('error')),
- void 0 !== r.onabort
- ? (r.onabort = a)
- : (r.onreadystatechange = function () {
- 4 === r.readyState &&
- ie.setTimeout(function () {
- o && a();
+ (s.onload = n()),
+ (r = s.onerror = s.ontimeout = n('error')),
+ void 0 !== s.onabort
+ ? (s.onabort = r)
+ : (s.onreadystatechange = function () {
+ 4 === s.readyState &&
+ e.setTimeout(function () {
+ n && r();
});
}),
- (o = o('abort'));
+ (n = n('abort'));
try {
- r.send((i.hasContent && i.data) || null);
- } catch (e) {
- if (o) throw e;
+ s.send((t.hasContent && t.data) || null);
+ } catch (i) {
+ if (n) throw i;
}
},
abort: function () {
- o && o();
+ n && n();
},
};
}),
- ce.ajaxPrefilter(function (e) {
+ T.ajaxPrefilter(function (e) {
e.crossDomain && (e.contents.script = !1);
}),
- ce.ajaxSetup({
+ T.ajaxSetup({
accepts: {
script:
'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript',
@@ -5017,111 +4995,111 @@
contents: { script: /\b(?:java|ecma)script\b/ },
converters: {
'text script': function (e) {
- return ce.globalEval(e), e;
+ return T.globalEval(e), e;
},
},
}),
- ce.ajaxPrefilter('script', function (e) {
+ T.ajaxPrefilter('script', function (e) {
void 0 === e.cache && (e.cache = !1), e.crossDomain && (e.type = 'GET');
}),
- ce.ajaxTransport('script', function (n) {
- var r, i;
- if (n.crossDomain || n.scriptAttrs)
+ T.ajaxTransport('script', function (e) {
+ var t, n;
+ if (e.crossDomain || e.scriptAttrs)
return {
- send: function (e, t) {
- (r = ce('