Files
newwalls.pl/themes/core.js
2024-12-17 13:43:22 +01:00

4802 lines
248 KiB
JavaScript
Raw Permalink Blame History

! function(e) {
var t = {};
function n(r) {
if (t[r]) return t[r].exports;
var o = t[r] = {
i: r,
l: !1,
exports: {}
};
return e[r].call(o.exports, o, o.exports, n), o.l = !0, o.exports
}
n.m = e, n.c = t, n.d = function(e, t, r) {
n.o(e, t) || Object.defineProperty(e, t, {
enumerable: !0,
get: r
})
}, n.r = function(e) {
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
value: "Module"
}), Object.defineProperty(e, "__esModule", {
value: !0
})
}, n.t = function(e, t) {
if (1 & t && (e = n(e)), 8 & t) return e;
if (4 & t && "object" == typeof e && e && e.__esModule) return e;
var r = Object.create(null);
if (n.r(r), Object.defineProperty(r, "default", {
enumerable: !0,
value: e
}), 2 & t && "string" != typeof e)
for (var o in e) n.d(r, o, function(t) {
return e[t]
}.bind(null, o));
return r
}, n.n = function(e) {
var t = e && e.__esModule ? function() {
return e.default
} : function() {
return e
};
return n.d(t, "a", t), t
}, n.o = function(e, t) {
return Object.prototype.hasOwnProperty.call(e, t)
}, n.p = "", n(n.s = 5)
}([function(e, t, n) {
"use strict";
(function(e) {
var n;
function r(e) {
return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
return typeof e
} : function(e) {
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
})(e)
}
/*!
* jQuery JavaScript Library v3.4.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2019-05-01T21:04Z
*/
/*!
* jQuery JavaScript Library v3.4.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2019-05-01T21:04Z
*/
! function(t, n) {
"object" === r(e) && "object" === r(e.exports) ? e.exports = t.document ? n(t, !0) : function(e) {
if (!e.document) throw new Error("jQuery requires a window with a document");
return n(e)
} : n(t)
}("undefined" != typeof window ? window : void 0, function(o, i) {
var a = [],
s = o.document,
u = Object.getPrototypeOf,
l = a.slice,
c = a.concat,
d = a.push,
f = a.indexOf,
p = {},
h = p.toString,
v = p.hasOwnProperty,
m = v.toString,
y = m.call(Object),
g = {},
b = function(e) {
return "function" == typeof e && "number" != typeof e.nodeType
},
x = function(e) {
return null != e && e === e.window
},
w = {
type: !0,
src: !0,
nonce: !0,
noModule: !0
};
function k(e, t, n) {
var r, o, i = (n = n || s).createElement("script");
if (i.text = e, t)
for (r in w)(o = t[r] || t.getAttribute && t.getAttribute(r)) && i.setAttribute(r, o);
n.head.appendChild(i).parentNode.removeChild(i)
}
function C(e) {
return null == e ? e + "" : "object" === r(e) || "function" == typeof e ? p[h.call(e)] || "object" : r(e)
}
var T = function e(t, n) {
return new e.fn.init(t, n)
},
j = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
function S(e) {
var t = !!e && "length" in e && e.length,
n = C(e);
return !b(e) && !x(e) && ("array" === n || 0 === t || "number" == typeof t && t > 0 && t - 1 in e)
}
T.fn = T.prototype = {
jquery: "3.4.1",
constructor: T,
length: 0,
toArray: function() {
return l.call(this)
},
get: function(e) {
return null == e ? l.call(this) : e < 0 ? this[e + this.length] : this[e]
},
pushStack: function(e) {
var t = T.merge(this.constructor(), e);
return t.prevObject = this, t
},
each: function(e) {
return T.each(this, e)
},
map: function(e) {
return this.pushStack(T.map(this, function(t, n) {
return e.call(t, n, t)
}))
},
slice: function() {
return this.pushStack(l.apply(this, arguments))
},
first: function() {
return this.eq(0)
},
last: function() {
return this.eq(-1)
},
eq: function(e) {
var t = this.length,
n = +e + (e < 0 ? t : 0);
return this.pushStack(n >= 0 && n < t ? [this[n]] : [])
},
end: function() {
return this.prevObject || this.constructor()
},
push: d,
sort: a.sort,
splice: a.splice
}, T.extend = T.fn.extend = function() {
var e, t, n, o, i, a, s = arguments[0] || {},
u = 1,
l = arguments.length,
c = !1;
for ("boolean" == typeof s && (c = s, s = arguments[u] || {}, u++), "object" === r(s) || b(s) || (s = {}), u === l && (s = this, u--); u < l; u++)
if (null != (e = arguments[u]))
for (t in e) o = e[t], "__proto__" !== t && s !== o && (c && o && (T.isPlainObject(o) || (i = Array.isArray(o))) ? (n = s[t], a = i && !Array.isArray(n) ? [] : i || T.isPlainObject(n) ? n : {}, i = !1, s[t] = T.extend(c, a, o)) : void 0 !== o && (s[t] = o));
return s
}, T.extend({
expando: "jQuery" + ("3.4.1" + Math.random()).replace(/\D/g, ""),
isReady: !0,
error: function(e) {
throw new Error(e)
},
noop: function() {},
isPlainObject: function(e) {
var t, n;
return !(!e || "[object Object]" !== h.call(e)) && (!(t = u(e)) || "function" == typeof(n = v.call(t, "constructor") && t.constructor) && m.call(n) === y)
},
isEmptyObject: function(e) {
var t;
for (t in e) return !1;
return !0
},
globalEval: function(e, t) {
k(e, {
nonce: t && t.nonce
})
},
each: function(e, t) {
var n, r = 0;
if (S(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
},
trim: function(e) {
return null == e ? "" : (e + "").replace(j, "")
},
makeArray: function(e, t) {
var n = t || [];
return null != e && (S(Object(e)) ? T.merge(n, "string" == typeof e ? [e] : e) : d.call(n, e)), n
},
inArray: function(e, t, n) {
return null == t ? -1 : f.call(t, e, n)
},
merge: function(e, t) {
for (var n = +t.length, r = 0, o = e.length; r < n; r++) e[o++] = t[r];
return e.length = o, e
},
grep: function(e, t, n) {
for (var r = [], o = 0, i = e.length, a = !n; o < i; o++) !t(e[o], o) !== a && r.push(e[o]);
return r
},
map: function(e, t, n) {
var r, o, i = 0,
a = [];
if (S(e))
for (r = e.length; i < r; i++) null != (o = t(e[i], i, n)) && a.push(o);
else
for (i in e) null != (o = t(e[i], i, n)) && a.push(o);
return c.apply([], a)
},
guid: 1,
support: g
}), "function" == typeof Symbol && (T.fn[Symbol.iterator] = a[Symbol.iterator]), T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function(e, t) {
p["[object " + t + "]"] = t.toLowerCase()
});
var _ =
/*!
* Sizzle CSS Selector Engine v2.3.4
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2019-04-08
*/
function(e) {
var t, n, r, o, i, a, s, u, l, c, d, f, p, h, v, m, y, g, b, x = "sizzle" + 1 * new Date,
w = e.document,
k = 0,
C = 0,
T = ue(),
j = ue(),
S = ue(),
_ = ue(),
A = function(e, t) {
return e === t && (d = !0), 0
},
E = {}.hasOwnProperty,
N = [],
D = N.pop,
q = N.push,
L = N.push,
O = N.slice,
P = function(e, t) {
for (var n = 0, r = e.length; n < r; n++)
if (e[n] === t) return n;
return -1
},
M = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
H = "[\\x20\\t\\r\\n\\f]",
R = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+",
I = "\\[" + H + "*(" + R + ")(?:" + H + "*([*^$|!~]?=)" + H + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + R + "))|)" + H + "*\\]",
W = ":(" + R + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + I + ")*)|.*)\\)|)",
$ = new RegExp(H + "+", "g"),
Q = new RegExp("^" + H + "+|((?:^|[^\\\\])(?:\\\\.)*)" + H + "+$", "g"),
F = new RegExp("^" + H + "*," + H + "*"),
B = new RegExp("^" + H + "*([>+~]|" + H + ")" + H + "*"),
z = new RegExp(H + "|>"),
U = new RegExp(W),
X = new RegExp("^" + R + "$"),
V = {
ID: new RegExp("^#(" + R + ")"),
CLASS: new RegExp("^\\.(" + R + ")"),
TAG: new RegExp("^(" + R + "|[*])"),
ATTR: new RegExp("^" + I),
PSEUDO: new RegExp("^" + W),
CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + H + "*(even|odd|(([+-]|)(\\d*)n|)" + H + "*(?:([+-]|)" + H + "*(\\d+)|))" + H + "*\\)|)", "i"),
bool: new RegExp("^(?:" + M + ")$", "i"),
needsContext: new RegExp("^" + H + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + H + "*((?:-\\d)?\\d*)" + H + "*\\)|)(?=[^-]|$)", "i")
},
G = /HTML$/i,
J = /^(?:input|select|textarea|button)$/i,
Y = /^h\d$/i,
K = /^[^{]+\{\s*\[native \w/,
Z = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
ee = /[+~]/,
te = new RegExp("\\\\([\\da-f]{1,6}" + H + "?|(" + H + ")|.)", "ig"),
ne = function(e, t, n) {
var r = "0x" + t - 65536;
return r != r || n ? t : r < 0 ? String.fromCharCode(r + 65536) : String.fromCharCode(r >> 10 | 55296, 1023 & r | 56320)
},
re = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,
oe = function(e, t) {
return t ? "\0" === e ? "<22>" : e.slice(0, -1) + "\\" + e.charCodeAt(e.length - 1).toString(16) + " " : "\\" + e
},
ie = function() {
f()
},
ae = xe(function(e) {
return !0 === e.disabled && "fieldset" === e.nodeName.toLowerCase()
}, {
dir: "parentNode",
next: "legend"
});
try {
L.apply(N = O.call(w.childNodes), w.childNodes), N[w.childNodes.length].nodeType
} catch (e) {
L = {
apply: N.length ? function(e, t) {
q.apply(e, O.call(t))
} : function(e, t) {
for (var n = e.length, r = 0; e[n++] = t[r++];);
e.length = n - 1
}
}
}
function se(e, t, r, o) {
var i, s, l, c, d, h, y, g = t && t.ownerDocument,
k = t ? t.nodeType : 9;
if (r = r || [], "string" != typeof e || !e || 1 !== k && 9 !== k && 11 !== k) return r;
if (!o && ((t ? t.ownerDocument || t : w) !== p && f(t), t = t || p, v)) {
if (11 !== k && (d = Z.exec(e)))
if (i = d[1]) {
if (9 === k) {
if (!(l = t.getElementById(i))) return r;
if (l.id === i) return r.push(l), r
} else if (g && (l = g.getElementById(i)) && b(t, l) && l.id === i) return r.push(l), r
} else {
if (d[2]) return L.apply(r, t.getElementsByTagName(e)), r;
if ((i = d[3]) && n.getElementsByClassName && t.getElementsByClassName) return L.apply(r, t.getElementsByClassName(i)), r
}
if (n.qsa && !_[e + " "] && (!m || !m.test(e)) && (1 !== k || "object" !== t.nodeName.toLowerCase())) {
if (y = e, g = t, 1 === k && z.test(e)) {
for ((c = t.getAttribute("id")) ? c = c.replace(re, oe) : t.setAttribute("id", c = x), s = (h = a(e)).length; s--;) h[s] = "#" + c + " " + be(h[s]);
y = h.join(","), g = ee.test(e) && ye(t.parentNode) || t
}
try {
return L.apply(r, g.querySelectorAll(y)), r
} catch (t) {
_(e, !0)
} finally {
c === x && t.removeAttribute("id")
}
}
}
return u(e.replace(Q, "$1"), t, r, o)
}
function ue() {
var e = [];
return function t(n, o) {
return e.push(n + " ") > r.cacheLength && delete t[e.shift()], t[n + " "] = o
}
}
function le(e) {
return e[x] = !0, e
}
function ce(e) {
var t = p.createElement("fieldset");
try {
return !!e(t)
} catch (e) {
return !1
} finally {
t.parentNode && t.parentNode.removeChild(t), t = null
}
}
function de(e, t) {
for (var n = e.split("|"), o = n.length; o--;) r.attrHandle[n[o]] = t
}
function fe(e, t) {
var n = t && e,
r = n && 1 === e.nodeType && 1 === t.nodeType && e.sourceIndex - t.sourceIndex;
if (r) return r;
if (n)
for (; n = n.nextSibling;)
if (n === t) return -1;
return e ? 1 : -1
}
function pe(e) {
return function(t) {
return "input" === t.nodeName.toLowerCase() && t.type === e
}
}
function he(e) {
return function(t) {
var n = t.nodeName.toLowerCase();
return ("input" === n || "button" === n) && t.type === e
}
}
function ve(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 && ae(t) === e : t.disabled === e : "label" in t && t.disabled === e
}
}
function me(e) {
return le(function(t) {
return t = +t, le(function(n, r) {
for (var o, i = e([], n.length, t), a = i.length; a--;) n[o = i[a]] && (n[o] = !(r[o] = n[o]))
})
})
}
function ye(e) {
return e && void 0 !== e.getElementsByTagName && e
}
for (t in n = se.support = {}, i = se.isXML = function(e) {
var t = e.namespaceURI,
n = (e.ownerDocument || e).documentElement;
return !G.test(t || n && n.nodeName || "HTML")
}, f = se.setDocument = function(e) {
var t, o, a = e ? e.ownerDocument || e : w;
return a !== p && 9 === a.nodeType && a.documentElement ? (h = (p = a).documentElement, v = !i(p), w !== p && (o = p.defaultView) && o.top !== o && (o.addEventListener ? o.addEventListener("unload", ie, !1) : o.attachEvent && o.attachEvent("onunload", ie)), n.attributes = ce(function(e) {
return e.className = "i", !e.getAttribute("className")
}), n.getElementsByTagName = ce(function(e) {
return e.appendChild(p.createComment("")), !e.getElementsByTagName("*").length
}), n.getElementsByClassName = K.test(p.getElementsByClassName), n.getById = ce(function(e) {
return h.appendChild(e).id = x, !p.getElementsByName || !p.getElementsByName(x).length
}), n.getById ? (r.filter.ID = function(e) {
var t = e.replace(te, ne);
return function(e) {
return e.getAttribute("id") === t
}
}, r.find.ID = function(e, t) {
if (void 0 !== t.getElementById && v) {
var n = t.getElementById(e);
return n ? [n] : []
}
}) : (r.filter.ID = function(e) {
var t = e.replace(te, ne);
return function(e) {
var n = void 0 !== e.getAttributeNode && e.getAttributeNode("id");
return n && n.value === t
}
}, r.find.ID = function(e, t) {
if (void 0 !== t.getElementById && v) {
var n, r, o, i = t.getElementById(e);
if (i) {
if ((n = i.getAttributeNode("id")) && n.value === e) return [i];
for (o = t.getElementsByName(e), r = 0; i = o[r++];)
if ((n = i.getAttributeNode("id")) && n.value === e) return [i]
}
return []
}
}), r.find.TAG = n.getElementsByTagName ? function(e, t) {
return void 0 !== t.getElementsByTagName ? t.getElementsByTagName(e) : n.qsa ? t.querySelectorAll(e) : void 0
} : function(e, t) {
var n, r = [],
o = 0,
i = t.getElementsByTagName(e);
if ("*" === e) {
for (; n = i[o++];) 1 === n.nodeType && r.push(n);
return r
}
return i
}, r.find.CLASS = n.getElementsByClassName && function(e, t) {
if (void 0 !== t.getElementsByClassName && v) return t.getElementsByClassName(e)
}, y = [], m = [], (n.qsa = K.test(p.querySelectorAll)) && (ce(function(e) {
h.appendChild(e).innerHTML = "<a id='" + x + "'></a><select id='" + x + "-\r\\' msallowcapture=''><option selected=''></option></select>", e.querySelectorAll("[msallowcapture^='']").length && m.push("[*^$]=" + H + "*(?:''|\"\")"), e.querySelectorAll("[selected]").length || m.push("\\[" + H + "*(?:value|" + M + ")"), e.querySelectorAll("[id~=" + x + "-]").length || m.push("~="), e.querySelectorAll(":checked").length || m.push(":checked"), e.querySelectorAll("a#" + x + "+*").length || m.push(".#.+[+~]")
}), ce(function(e) {
e.innerHTML = "<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";
var t = p.createElement("input");
t.setAttribute("type", "hidden"), e.appendChild(t).setAttribute("name", "D"), e.querySelectorAll("[name=d]").length && m.push("name" + H + "*[*^$|!~]?="), 2 !== e.querySelectorAll(":enabled").length && m.push(":enabled", ":disabled"), h.appendChild(e).disabled = !0, 2 !== e.querySelectorAll(":disabled").length && m.push(":enabled", ":disabled"), e.querySelectorAll("*,:x"), m.push(",.*:")
})), (n.matchesSelector = K.test(g = h.matches || h.webkitMatchesSelector || h.mozMatchesSelector || h.oMatchesSelector || h.msMatchesSelector)) && ce(function(e) {
n.disconnectedMatch = g.call(e, "*"), g.call(e, "[s!='']:x"), y.push("!=", W)
}), m = m.length && new RegExp(m.join("|")), y = y.length && new RegExp(y.join("|")), t = K.test(h.compareDocumentPosition), b = t || K.test(h.contains) ? function(e, t) {
var n = 9 === e.nodeType ? e.documentElement : e,
r = t && t.parentNode;
return e === r || !(!r || 1 !== r.nodeType || !(n.contains ? n.contains(r) : e.compareDocumentPosition && 16 & e.compareDocumentPosition(r)))
} : function(e, t) {
if (t)
for (; t = t.parentNode;)
if (t === e) return !0;
return !1
}, A = t ? function(e, t) {
if (e === t) return d = !0, 0;
var r = !e.compareDocumentPosition - !t.compareDocumentPosition;
return r || (1 & (r = (e.ownerDocument || e) === (t.ownerDocument || t) ? e.compareDocumentPosition(t) : 1) || !n.sortDetached && t.compareDocumentPosition(e) === r ? e === p || e.ownerDocument === w && b(w, e) ? -1 : t === p || t.ownerDocument === w && b(w, t) ? 1 : c ? P(c, e) - P(c, t) : 0 : 4 & r ? -1 : 1)
} : function(e, t) {
if (e === t) return d = !0, 0;
var n, r = 0,
o = e.parentNode,
i = t.parentNode,
a = [e],
s = [t];
if (!o || !i) return e === p ? -1 : t === p ? 1 : o ? -1 : i ? 1 : c ? P(c, e) - P(c, t) : 0;
if (o === i) return fe(e, t);
for (n = e; n = n.parentNode;) a.unshift(n);
for (n = t; n = n.parentNode;) s.unshift(n);
for (; a[r] === s[r];) r++;
return r ? fe(a[r], s[r]) : a[r] === w ? -1 : s[r] === w ? 1 : 0
}, p) : p
}, se.matches = function(e, t) {
return se(e, null, null, t)
}, se.matchesSelector = function(e, t) {
if ((e.ownerDocument || e) !== p && f(e), n.matchesSelector && v && !_[t + " "] && (!y || !y.test(t)) && (!m || !m.test(t))) try {
var r = g.call(e, t);
if (r || n.disconnectedMatch || e.document && 11 !== e.document.nodeType) return r
} catch (e) {
_(t, !0)
}
return se(t, p, null, [e]).length > 0
}, se.contains = function(e, t) {
return (e.ownerDocument || e) !== p && f(e), b(e, t)
}, se.attr = function(e, t) {
(e.ownerDocument || e) !== p && f(e);
var o = r.attrHandle[t.toLowerCase()],
i = o && E.call(r.attrHandle, t.toLowerCase()) ? o(e, t, !v) : void 0;
return void 0 !== i ? i : n.attributes || !v ? e.getAttribute(t) : (i = e.getAttributeNode(t)) && i.specified ? i.value : null
}, se.escape = function(e) {
return (e + "").replace(re, oe)
}, se.error = function(e) {
throw new Error("Syntax error, unrecognized expression: " + e)
}, se.uniqueSort = function(e) {
var t, r = [],
o = 0,
i = 0;
if (d = !n.detectDuplicates, c = !n.sortStable && e.slice(0), e.sort(A), d) {
for (; t = e[i++];) t === e[i] && (o = r.push(i));
for (; o--;) e.splice(r[o], 1)
}
return c = null, e
}, o = se.getText = function(e) {
var t, n = "",
r = 0,
i = e.nodeType;
if (i) {
if (1 === i || 9 === i || 11 === i) {
if ("string" == typeof e.textContent) return e.textContent;
for (e = e.firstChild; e; e = e.nextSibling) n += o(e)
} else if (3 === i || 4 === i) return e.nodeValue
} else
for (; t = e[r++];) n += o(t);
return n
}, (r = se.selectors = {
cacheLength: 50,
createPseudo: le,
match: V,
attrHandle: {},
find: {},
relative: {
">": {
dir: "parentNode",
first: !0
},
" ": {
dir: "parentNode"
},
"+": {
dir: "previousSibling",
first: !0
},
"~": {
dir: "previousSibling"
}
},
preFilter: {
ATTR: function(e) {
return e[1] = e[1].replace(te, ne), e[3] = (e[3] || e[4] || e[5] || "").replace(te, ne), "~=" === e[2] && (e[3] = " " + e[3] + " "), e.slice(0, 4)
},
CHILD: function(e) {
return e[1] = e[1].toLowerCase(), "nth" === e[1].slice(0, 3) ? (e[3] || se.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] && se.error(e[0]), e
},
PSEUDO: function(e) {
var t, n = !e[6] && e[2];
return V.CHILD.test(e[0]) ? null : (e[3] ? e[2] = e[4] || e[5] || "" : n && U.test(n) && (t = a(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))
}
},
filter: {
TAG: function(e) {
var t = e.replace(te, ne).toLowerCase();
return "*" === e ? function() {
return !0
} : function(e) {
return e.nodeName && e.nodeName.toLowerCase() === t
}
},
CLASS: function(e) {
var t = T[e + " "];
return t || (t = new RegExp("(^|" + H + ")" + e + "(" + H + "|$)")) && T(e, function(e) {
return t.test("string" == typeof e.className && e.className || void 0 !== e.getAttribute && e.getAttribute("class") || "")
})
},
ATTR: function(e, t, n) {
return function(r) {
var o = se.attr(r, e);
return null == o ? "!=" === t : !t || (o += "", "=" === t ? o === n : "!=" === t ? o !== n : "^=" === t ? n && 0 === o.indexOf(n) : "*=" === t ? n && o.indexOf(n) > -1 : "$=" === t ? n && o.slice(-n.length) === n : "~=" === t ? (" " + o.replace($, " ") + " ").indexOf(n) > -1 : "|=" === t && (o === n || o.slice(0, n.length + 1) === n + "-"))
}
},
CHILD: function(e, t, n, r, o) {
var i = "nth" !== e.slice(0, 3),
a = "last" !== e.slice(-4),
s = "of-type" === t;
return 1 === r && 0 === o ? function(e) {
return !!e.parentNode
} : function(t, n, u) {
var l, c, d, f, p, h, v = i !== a ? "nextSibling" : "previousSibling",
m = t.parentNode,
y = s && t.nodeName.toLowerCase(),
g = !u && !s,
b = !1;
if (m) {
if (i) {
for (; v;) {
for (f = t; f = f[v];)
if (s ? f.nodeName.toLowerCase() === y : 1 === f.nodeType) return !1;
h = v = "only" === e && !h && "nextSibling"
}
return !0
}
if (h = [a ? m.firstChild : m.lastChild], a && g) {
for (b = (p = (l = (c = (d = (f = m)[x] || (f[x] = {}))[f.uniqueID] || (d[f.uniqueID] = {}))[e] || [])[0] === k && l[1]) && l[2], f = p && m.childNodes[p]; f = ++p && f && f[v] || (b = p = 0) || h.pop();)
if (1 === f.nodeType && ++b && f === t) {
c[e] = [k, p, b];
break
}
} else if (g && (b = p = (l = (c = (d = (f = t)[x] || (f[x] = {}))[f.uniqueID] || (d[f.uniqueID] = {}))[e] || [])[0] === k && l[1]), !1 === b)
for (;
(f = ++p && f && f[v] || (b = p = 0) || h.pop()) && ((s ? f.nodeName.toLowerCase() !== y : 1 !== f.nodeType) || !++b || (g && ((c = (d = f[x] || (f[x] = {}))[f.uniqueID] || (d[f.uniqueID] = {}))[e] = [k, b]), f !== t)););
return (b -= o) === r || b % r == 0 && b / r >= 0
}
}
},
PSEUDO: function(e, t) {
var n, o = r.pseudos[e] || r.setFilters[e.toLowerCase()] || se.error("unsupported pseudo: " + e);
return o[x] ? o(t) : o.length > 1 ? (n = [e, e, "", t], r.setFilters.hasOwnProperty(e.toLowerCase()) ? le(function(e, n) {
for (var r, i = o(e, t), a = i.length; a--;) e[r = P(e, i[a])] = !(n[r] = i[a])
}) : function(e) {
return o(e, 0, n)
}) : o
}
},
pseudos: {
not: le(function(e) {
var t = [],
n = [],
r = s(e.replace(Q, "$1"));
return r[x] ? le(function(e, t, n, o) {
for (var i, a = r(e, null, o, []), s = e.length; s--;)(i = a[s]) && (e[s] = !(t[s] = i))
}) : function(e, o, i) {
return t[0] = e, r(t, null, i, n), t[0] = null, !n.pop()
}
}),
has: le(function(e) {
return function(t) {
return se(e, t).length > 0
}
}),
contains: le(function(e) {
return e = e.replace(te, ne),
function(t) {
return (t.textContent || o(t)).indexOf(e) > -1
}
}),
lang: le(function(e) {
return X.test(e || "") || se.error("unsupported lang: " + e), e = e.replace(te, ne).toLowerCase(),
function(t) {
var n;
do {
if (n = v ? t.lang : t.getAttribute("xml:lang") || t.getAttribute("lang")) return (n = n.toLowerCase()) === e || 0 === n.indexOf(e + "-")
} while ((t = t.parentNode) && 1 === t.nodeType);
return !1
}
}),
target: function(t) {
var n = e.location && e.location.hash;
return n && n.slice(1) === t.id
},
root: function(e) {
return e === h
},
focus: function(e) {
return e === p.activeElement && (!p.hasFocus || p.hasFocus()) && !!(e.type || e.href || ~e.tabIndex)
},
enabled: ve(!1),
disabled: ve(!0),
checked: function(e) {
var t = e.nodeName.toLowerCase();
return "input" === t && !!e.checked || "option" === t && !!e.selected
},
selected: function(e) {
return e.parentNode && e.parentNode.selectedIndex, !0 === e.selected
},
empty: function(e) {
for (e = e.firstChild; e; e = e.nextSibling)
if (e.nodeType < 6) return !1;
return !0
},
parent: function(e) {
return !r.pseudos.empty(e)
},
header: function(e) {
return Y.test(e.nodeName)
},
input: function(e) {
return J.test(e.nodeName)
},
button: function(e) {
var t = e.nodeName.toLowerCase();
return "input" === t && "button" === e.type || "button" === t
},
text: function(e) {
var t;
return "input" === e.nodeName.toLowerCase() && "text" === e.type && (null == (t = e.getAttribute("type")) || "text" === t.toLowerCase())
},
first: me(function() {
return [0]
}),
last: me(function(e, t) {
return [t - 1]
}),
eq: me(function(e, t, n) {
return [n < 0 ? n + t : n]
}),
even: me(function(e, t) {
for (var n = 0; n < t; n += 2) e.push(n);
return e
}),
odd: me(function(e, t) {
for (var n = 1; n < t; n += 2) e.push(n);
return e
}),
lt: me(function(e, t, n) {
for (var r = n < 0 ? n + t : n > t ? t : n; --r >= 0;) e.push(r);
return e
}),
gt: me(function(e, t, n) {
for (var r = n < 0 ? n + t : n; ++r < t;) e.push(r);
return e
})
}
}).pseudos.nth = r.pseudos.eq, {
radio: !0,
checkbox: !0,
file: !0,
password: !0,
image: !0
}) r.pseudos[t] = pe(t);
for (t in {
submit: !0,
reset: !0
}) r.pseudos[t] = he(t);
function ge() {}
function be(e) {
for (var t = 0, n = e.length, r = ""; t < n; t++) r += e[t].value;
return r
}
function xe(e, t, n) {
var r = t.dir,
o = t.next,
i = o || r,
a = n && "parentNode" === i,
s = C++;
return t.first ? function(t, n, o) {
for (; t = t[r];)
if (1 === t.nodeType || a) return e(t, n, o);
return !1
} : function(t, n, u) {
var l, c, d, f = [k, s];
if (u) {
for (; t = t[r];)
if ((1 === t.nodeType || a) && e(t, n, u)) return !0
} else
for (; t = t[r];)
if (1 === t.nodeType || a)
if (c = (d = t[x] || (t[x] = {}))[t.uniqueID] || (d[t.uniqueID] = {}), o && o === t.nodeName.toLowerCase()) t = t[r] || t;
else {
if ((l = c[i]) && l[0] === k && l[1] === s) return f[2] = l[2];
if (c[i] = f, f[2] = e(t, n, u)) return !0
} return !1
}
}
function we(e) {
return e.length > 1 ? function(t, n, r) {
for (var o = e.length; o--;)
if (!e[o](t, n, r)) return !1;
return !0
} : e[0]
}
function ke(e, t, n, r, o) {
for (var i, a = [], s = 0, u = e.length, l = null != t; s < u; s++)(i = e[s]) && (n && !n(i, r, o) || (a.push(i), l && t.push(s)));
return a
}
function Ce(e, t, n, r, o, i) {
return r && !r[x] && (r = Ce(r)), o && !o[x] && (o = Ce(o, i)), le(function(i, a, s, u) {
var l, c, d, f = [],
p = [],
h = a.length,
v = i || function(e, t, n) {
for (var r = 0, o = t.length; r < o; r++) se(e, t[r], n);
return n
}(t || "*", s.nodeType ? [s] : s, []),
m = !e || !i && t ? v : ke(v, f, e, s, u),
y = n ? o || (i ? e : h || r) ? [] : a : m;
if (n && n(m, y, s, u), r)
for (l = ke(y, p), r(l, [], s, u), c = l.length; c--;)(d = l[c]) && (y[p[c]] = !(m[p[c]] = d));
if (i) {
if (o || e) {
if (o) {
for (l = [], c = y.length; c--;)(d = y[c]) && l.push(m[c] = d);
o(null, y = [], l, u)
}
for (c = y.length; c--;)(d = y[c]) && (l = o ? P(i, d) : f[c]) > -1 && (i[l] = !(a[l] = d))
}
} else y = ke(y === a ? y.splice(h, y.length) : y), o ? o(null, a, y, u) : L.apply(a, y)
})
}
function Te(e) {
for (var t, n, o, i = e.length, a = r.relative[e[0].type], s = a || r.relative[" "], u = a ? 1 : 0, c = xe(function(e) {
return e === t
}, s, !0), d = xe(function(e) {
return P(t, e) > -1
}, s, !0), f = [function(e, n, r) {
var o = !a && (r || n !== l) || ((t = n).nodeType ? c(e, n, r) : d(e, n, r));
return t = null, o
}]; u < i; u++)
if (n = r.relative[e[u].type]) f = [xe(we(f), n)];
else {
if ((n = r.filter[e[u].type].apply(null, e[u].matches))[x]) {
for (o = ++u; o < i && !r.relative[e[o].type]; o++);
return Ce(u > 1 && we(f), u > 1 && be(e.slice(0, u - 1).concat({
value: " " === e[u - 2].type ? "*" : ""
})).replace(Q, "$1"), n, u < o && Te(e.slice(u, o)), o < i && Te(e = e.slice(o)), o < i && be(e))
}
f.push(n)
}
return we(f)
}
return ge.prototype = r.filters = r.pseudos, r.setFilters = new ge, a = se.tokenize = function(e, t) {
var n, o, i, a, s, u, l, c = j[e + " "];
if (c) return t ? 0 : c.slice(0);
for (s = e, u = [], l = r.preFilter; s;) {
for (a in n && !(o = F.exec(s)) || (o && (s = s.slice(o[0].length) || s), u.push(i = [])), n = !1, (o = B.exec(s)) && (n = o.shift(), i.push({
value: n,
type: o[0].replace(Q, " ")
}), s = s.slice(n.length)), r.filter) !(o = V[a].exec(s)) || l[a] && !(o = l[a](o)) || (n = o.shift(), i.push({
value: n,
type: a,
matches: o
}), s = s.slice(n.length));
if (!n) break
}
return t ? s.length : s ? se.error(e) : j(e, u).slice(0)
}, s = se.compile = function(e, t) {
var n, o = [],
i = [],
s = S[e + " "];
if (!s) {
for (t || (t = a(e)), n = t.length; n--;)(s = Te(t[n]))[x] ? o.push(s) : i.push(s);
(s = S(e, function(e, t) {
var n = t.length > 0,
o = e.length > 0,
i = function(i, a, s, u, c) {
var d, h, m, y = 0,
g = "0",
b = i && [],
x = [],
w = l,
C = i || o && r.find.TAG("*", c),
T = k += null == w ? 1 : Math.random() || .1,
j = C.length;
for (c && (l = a === p || a || c); g !== j && null != (d = C[g]); g++) {
if (o && d) {
for (h = 0, a || d.ownerDocument === p || (f(d), s = !v); m = e[h++];)
if (m(d, a || p, s)) {
u.push(d);
break
}
c && (k = T)
}
n && ((d = !m && d) && y--, i && b.push(d))
}
if (y += g, n && g !== y) {
for (h = 0; m = t[h++];) m(b, x, a, s);
if (i) {
if (y > 0)
for (; g--;) b[g] || x[g] || (x[g] = D.call(u));
x = ke(x)
}
L.apply(u, x), c && !i && x.length > 0 && y + t.length > 1 && se.uniqueSort(u)
}
return c && (k = T, l = w), b
};
return n ? le(i) : i
}(i, o))).selector = e
}
return s
}, u = se.select = function(e, t, n, o) {
var i, u, l, c, d, f = "function" == typeof e && e,
p = !o && a(e = f.selector || e);
if (n = n || [], 1 === p.length) {
if ((u = p[0] = p[0].slice(0)).length > 2 && "ID" === (l = u[0]).type && 9 === t.nodeType && v && r.relative[u[1].type]) {
if (!(t = (r.find.ID(l.matches[0].replace(te, ne), t) || [])[0])) return n;
f && (t = t.parentNode), e = e.slice(u.shift().value.length)
}
for (i = V.needsContext.test(e) ? 0 : u.length; i-- && (l = u[i], !r.relative[c = l.type]);)
if ((d = r.find[c]) && (o = d(l.matches[0].replace(te, ne), ee.test(u[0].type) && ye(t.parentNode) || t))) {
if (u.splice(i, 1), !(e = o.length && be(u))) return L.apply(n, o), n;
break
}
}
return (f || s(e, p))(o, t, !v, n, !t || ee.test(e) && ye(t.parentNode) || t), n
}, n.sortStable = x.split("").sort(A).join("") === x, n.detectDuplicates = !!d, f(), n.sortDetached = ce(function(e) {
return 1 & e.compareDocumentPosition(p.createElement("fieldset"))
}), ce(function(e) {
return e.innerHTML = "<a href='#'></a>", "#" === e.firstChild.getAttribute("href")
}) || de("type|href|height|width", function(e, t, n) {
if (!n) return e.getAttribute(t, "type" === t.toLowerCase() ? 1 : 2)
}), n.attributes && ce(function(e) {
return e.innerHTML = "<input/>", e.firstChild.setAttribute("value", ""), "" === e.firstChild.getAttribute("value")
}) || de("value", function(e, t, n) {
if (!n && "input" === e.nodeName.toLowerCase()) return e.defaultValue
}), ce(function(e) {
return null == e.getAttribute("disabled")
}) || de(M, function(e, t, n) {
var r;
if (!n) return !0 === e[t] ? t.toLowerCase() : (r = e.getAttributeNode(t)) && r.specified ? r.value : null
}), se
}(o);
T.find = _, T.expr = _.selectors, T.expr[":"] = T.expr.pseudos, T.uniqueSort = T.unique = _.uniqueSort, T.text = _.getText, T.isXMLDoc = _.isXML, T.contains = _.contains, T.escapeSelector = _.escape;
var A = function(e, t, n) {
for (var r = [], o = void 0 !== n;
(e = e[t]) && 9 !== e.nodeType;)
if (1 === e.nodeType) {
if (o && T(e).is(n)) break;
r.push(e)
}
return r
},
E = function(e, t) {
for (var n = []; e; e = e.nextSibling) 1 === e.nodeType && e !== t && n.push(e);
return n
},
N = T.expr.match.needsContext;
function D(e, t) {
return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase()
}
var q = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
function L(e, t, n) {
return b(t) ? T.grep(e, function(e, r) {
return !!t.call(e, r, e) !== n
}) : t.nodeType ? T.grep(e, function(e) {
return e === t !== n
}) : "string" != typeof t ? T.grep(e, function(e) {
return f.call(t, e) > -1 !== n
}) : T.filter(t, e, n)
}
T.filter = function(e, t, n) {
var r = t[0];
return n && (e = ":not(" + e + ")"), 1 === t.length && 1 === r.nodeType ? T.find.matchesSelector(r, e) ? [r] : [] : T.find.matches(e, T.grep(t, function(e) {
return 1 === e.nodeType
}))
}, T.fn.extend({
find: function(e) {
var t, n, r = this.length,
o = this;
if ("string" != typeof e) return this.pushStack(T(e).filter(function() {
for (t = 0; t < r; t++)
if (T.contains(o[t], this)) return !0
}));
for (n = this.pushStack([]), t = 0; t < r; t++) T.find(e, o[t], n);
return r > 1 ? T.uniqueSort(n) : n
},
filter: function(e) {
return this.pushStack(L(this, e || [], !1))
},
not: function(e) {
return this.pushStack(L(this, e || [], !0))
},
is: function(e) {
return !!L(this, "string" == typeof e && N.test(e) ? T(e) : e || [], !1).length
}
});
var O, P = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;
(T.fn.init = function(e, t, n) {
var r, o;
if (!e) return this;
if (n = n || O, "string" == typeof e) {
if (!(r = "<" === e[0] && ">" === e[e.length - 1] && e.length >= 3 ? [null, e, null] : P.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 T ? t[0] : t, T.merge(this, T.parseHTML(r[1], t && t.nodeType ? t.ownerDocument || t : s, !0)), q.test(r[1]) && T.isPlainObject(t))
for (r in t) b(this[r]) ? this[r](t[r]) : this.attr(r, t[r]);
return this
}
return (o = s.getElementById(r[2])) && (this[0] = o, this.length = 1), this
}
return e.nodeType ? (this[0] = e, this.length = 1, this) : b(e) ? void 0 !== n.ready ? n.ready(e) : e(T) : T.makeArray(e, this)
}).prototype = T.fn, O = T(s);
var M = /^(?:parents|prev(?:Until|All))/,
H = {
children: !0,
contents: !0,
next: !0,
prev: !0
};
function R(e, t) {
for (;
(e = e[t]) && 1 !== e.nodeType;);
return e
}
T.fn.extend({
has: function(e) {
var t = T(e, this),
n = t.length;
return this.filter(function() {
for (var e = 0; e < n; e++)
if (T.contains(this, t[e])) return !0
})
},
closest: function(e, t) {
var n, r = 0,
o = this.length,
i = [],
a = "string" != typeof e && T(e);
if (!N.test(e))
for (; r < o; r++)
for (n = this[r]; n && n !== t; n = n.parentNode)
if (n.nodeType < 11 && (a ? a.index(n) > -1 : 1 === n.nodeType && T.find.matchesSelector(n, e))) {
i.push(n);
break
}
return this.pushStack(i.length > 1 ? T.uniqueSort(i) : i)
},
index: function(e) {
return e ? "string" == typeof e ? f.call(T(e), this[0]) : f.call(this, e.jquery ? e[0] : e) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
},
add: function(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))
}
}), T.each({
parent: function(e) {
var t = e.parentNode;
return t && 11 !== t.nodeType ? t : null
},
parents: function(e) {
return A(e, "parentNode")
},
parentsUntil: function(e, t, n) {
return A(e, "parentNode", n)
},
next: function(e) {
return R(e, "nextSibling")
},
prev: function(e) {
return R(e, "previousSibling")
},
nextAll: function(e) {
return A(e, "nextSibling")
},
prevAll: function(e) {
return A(e, "previousSibling")
},
nextUntil: function(e, t, n) {
return A(e, "nextSibling", n)
},
prevUntil: function(e, t, n) {
return A(e, "previousSibling", n)
},
siblings: function(e) {
return E((e.parentNode || {}).firstChild, e)
},
children: function(e) {
return E(e.firstChild)
},
contents: function(e) {
return void 0 !== e.contentDocument ? e.contentDocument : (D(e, "template") && (e = e.content || e), T.merge([], e.childNodes))
}
}, function(e, t) {
T.fn[e] = function(n, r) {
var o = T.map(this, t, n);
return "Until" !== e.slice(-5) && (r = n), r && "string" == typeof r && (o = T.filter(r, o)), this.length > 1 && (H[e] || T.uniqueSort(o), M.test(e) && o.reverse()), this.pushStack(o)
}
});
var I = /[^\x20\t\r\n\f]+/g;
function W(e) {
return e
}
function $(e) {
throw e
}
function Q(e, t, n, r) {
var o;
try {
e && b(o = e.promise) ? o.call(e).done(t).fail(n) : e && b(o = e.then) ? o.call(e, t, n) : t.apply(void 0, [e].slice(r))
} catch (e) {
n.apply(void 0, [e])
}
}
T.Callbacks = function(e) {
e = "string" == typeof e ? function(e) {
var t = {};
return T.each(e.match(I) || [], function(e, n) {
t[n] = !0
}), t
}(e) : T.extend({}, e);
var t, n, r, o, i = [],
a = [],
s = -1,
u = function() {
for (o = o || e.once, r = t = !0; a.length; s = -1)
for (n = a.shift(); ++s < i.length;) !1 === i[s].apply(n[0], n[1]) && e.stopOnFalse && (s = i.length, n = !1);
e.memory || (n = !1), t = !1, o && (i = n ? [] : "")
},
l = {
add: function() {
return i && (n && !t && (s = i.length - 1, a.push(n)), function t(n) {
T.each(n, function(n, r) {
b(r) ? e.unique && l.has(r) || i.push(r) : r && r.length && "string" !== C(r) && t(r)
})
}(arguments), n && !t && u()), this
},
remove: function() {
return T.each(arguments, function(e, t) {
for (var n;
(n = T.inArray(t, i, n)) > -1;) i.splice(n, 1), n <= s && s--
}), this
},
has: function(e) {
return e ? T.inArray(e, i) > -1 : i.length > 0
},
empty: function() {
return i && (i = []), this
},
disable: function() {
return o = a = [], i = n = "", this
},
disabled: function() {
return !i
},
lock: function() {
return o = a = [], n || t || (i = n = ""), this
},
locked: function() {
return !!o
},
fireWith: function(e, n) {
return o || (n = [e, (n = n || []).slice ? n.slice() : n], a.push(n), t || u()), this
},
fire: function() {
return l.fireWith(this, arguments), this
},
fired: function() {
return !!r
}
};
return l
}, T.extend({
Deferred: function(e) {
var t = [
["notify", "progress", T.Callbacks("memory"), T.Callbacks("memory"), 2],
["resolve", "done", T.Callbacks("once memory"), T.Callbacks("once memory"), 0, "resolved"],
["reject", "fail", T.Callbacks("once memory"), T.Callbacks("once memory"), 1, "rejected"]
],
n = "pending",
i = {
state: function() {
return n
},
always: function() {
return a.done(arguments).fail(arguments), this
},
catch: function(e) {
return i.then(null, e)
},
pipe: function() {
var e = arguments;
return T.Deferred(function(n) {
T.each(t, function(t, r) {
var o = b(e[r[4]]) && e[r[4]];
a[r[1]](function() {
var e = o && o.apply(this, arguments);
e && b(e.promise) ? e.promise().progress(n.notify).done(n.resolve).fail(n.reject) : n[r[0] + "With"](this, o ? [e] : arguments)
})
}), e = null
}).promise()
},
then: function(e, n, i) {
var a = 0;
function s(e, t, n, i) {
return function() {
var u = this,
l = arguments,
c = function() {
var o, c;
if (!(e < a)) {
if ((o = n.apply(u, l)) === t.promise()) throw new TypeError("Thenable self-resolution");
c = o && ("object" === r(o) || "function" == typeof o) && o.then, b(c) ? i ? c.call(o, s(a, t, W, i), s(a, t, $, i)) : (a++, c.call(o, s(a, t, W, i), s(a, t, $, i), s(a, t, W, t.notifyWith))) : (n !== W && (u = void 0, l = [o]), (i || t.resolveWith)(u, l))
}
},
d = i ? c : function() {
try {
c()
} catch (r) {
T.Deferred.exceptionHook && T.Deferred.exceptionHook(r, d.stackTrace), e + 1 >= a && (n !== $ && (u = void 0, l = [r]), t.rejectWith(u, l))
}
};
e ? d() : (T.Deferred.getStackHook && (d.stackTrace = T.Deferred.getStackHook()), o.setTimeout(d))
}
}
return T.Deferred(function(r) {
t[0][3].add(s(0, r, b(i) ? i : W, r.notifyWith)), t[1][3].add(s(0, r, b(e) ? e : W)), t[2][3].add(s(0, r, b(n) ? n : $))
}).promise()
},
promise: function(e) {
return null != e ? T.extend(e, i) : i
}
},
a = {};
return T.each(t, function(e, r) {
var o = r[2],
s = r[5];
i[r[1]] = o.add, s && o.add(function() {
n = s
}, t[3 - e][2].disable, t[3 - e][3].disable, t[0][2].lock, t[0][3].lock), o.add(r[3].fire), a[r[0]] = function() {
return a[r[0] + "With"](this === a ? void 0 : this, arguments), this
}, a[r[0] + "With"] = o.fireWith
}), i.promise(a), e && e.call(a, a), a
},
when: function(e) {
var t = arguments.length,
n = t,
r = Array(n),
o = l.call(arguments),
i = T.Deferred(),
a = function(e) {
return function(n) {
r[e] = this, o[e] = arguments.length > 1 ? l.call(arguments) : n, --t || i.resolveWith(r, o)
}
};
if (t <= 1 && (Q(e, i.done(a(n)).resolve, i.reject, !t), "pending" === i.state() || b(o[n] && o[n].then))) return i.then();
for (; n--;) Q(o[n], a(n), i.reject);
return i.promise()
}
});
var F = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
T.Deferred.exceptionHook = function(e, t) {
o.console && o.console.warn && e && F.test(e.name) && o.console.warn("jQuery.Deferred exception: " + e.message, e.stack, t)
}, T.readyException = function(e) {
o.setTimeout(function() {
throw e
})
};
var B = T.Deferred();
function z() {
s.removeEventListener("DOMContentLoaded", z), o.removeEventListener("load", z), T.ready()
}
T.fn.ready = function(e) {
return B.then(e).catch(function(e) {
T.readyException(e)
}), this
}, T.extend({
isReady: !1,
readyWait: 1,
ready: function(e) {
(!0 === e ? --T.readyWait : T.isReady) || (T.isReady = !0, !0 !== e && --T.readyWait > 0 || B.resolveWith(s, [T]))
}
}), T.ready.then = B.then, "complete" === s.readyState || "loading" !== s.readyState && !s.documentElement.doScroll ? o.setTimeout(T.ready) : (s.addEventListener("DOMContentLoaded", z), o.addEventListener("load", z));
var U = function e(t, n, r, o, i, a, s) {
var u = 0,
l = t.length,
c = null == r;
if ("object" === C(r))
for (u in i = !0, r) e(t, n, u, r[u], !0, a, s);
else if (void 0 !== o && (i = !0, b(o) || (s = !0), c && (s ? (n.call(t, o), n = null) : (c = n, n = function(e, t, n) {
return c.call(T(e), n)
})), n))
for (; u < l; u++) n(t[u], r, s ? o : o.call(t[u], u, n(t[u], r)));
return i ? t : c ? n.call(t) : l ? n(t[0], r) : a
},
X = /^-ms-/,
V = /-([a-z])/g;
function G(e, t) {
return t.toUpperCase()
}
function J(e) {
return e.replace(X, "ms-").replace(V, G)
}
var Y = function(e) {
return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType
};
function K() {
this.expando = T.expando + K.uid++
}
K.uid = 1, K.prototype = {
cache: function(e) {
var t = e[this.expando];
return t || (t = {}, Y(e) && (e.nodeType ? e[this.expando] = t : Object.defineProperty(e, this.expando, {
value: t,
configurable: !0
}))), t
},
set: function(e, t, n) {
var r, o = this.cache(e);
if ("string" == typeof t) o[J(t)] = n;
else
for (r in t) o[J(r)] = t[r];
return o
},
get: function(e, t) {
return void 0 === t ? this.cache(e) : e[this.expando] && e[this.expando][J(t)]
},
access: function(e, t, n) {
return void 0 === t || t && "string" == typeof t && void 0 === n ? this.get(e, t) : (this.set(e, t, n), void 0 !== n ? n : t)
},
remove: function(e, t) {
var n, r = e[this.expando];
if (void 0 !== r) {
if (void 0 !== t) {
n = (t = Array.isArray(t) ? t.map(J) : (t = J(t)) in r ? [t] : t.match(I) || []).length;
for (; n--;) delete r[t[n]]
}(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 && !T.isEmptyObject(t)
}
};
var Z = new K,
ee = new K,
te = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
ne = /[A-Z]/g;
function re(e, t, n) {
var r;
if (void 0 === n && 1 === e.nodeType)
if (r = "data-" + t.replace(ne, "-$&").toLowerCase(), "string" == typeof(n = e.getAttribute(r))) {
try {
n = function(e) {
return "true" === e || "false" !== e && ("null" === e ? null : e === +e + "" ? +e : te.test(e) ? JSON.parse(e) : e)
}(n)
} catch (e) {}
ee.set(e, t, n)
} else n = void 0;
return n
}
T.extend({
hasData: function(e) {
return ee.hasData(e) || Z.hasData(e)
},
data: function(e, t, n) {
return ee.access(e, t, n)
},
removeData: function(e, t) {
ee.remove(e, t)
},
_data: function(e, t, n) {
return Z.access(e, t, n)
},
_removeData: function(e, t) {
Z.remove(e, t)
}
}), T.fn.extend({
data: function(e, t) {
var n, o, i, a = this[0],
s = a && a.attributes;
if (void 0 === e) {
if (this.length && (i = ee.get(a), 1 === a.nodeType && !Z.get(a, "hasDataAttrs"))) {
for (n = s.length; n--;) s[n] && 0 === (o = s[n].name).indexOf("data-") && (o = J(o.slice(5)), re(a, o, i[o]));
Z.set(a, "hasDataAttrs", !0)
}
return i
}
return "object" === r(e) ? this.each(function() {
ee.set(this, e)
}) : U(this, function(t) {
var n;
if (a && void 0 === t) return void 0 !== (n = ee.get(a, e)) ? n : void 0 !== (n = re(a, e)) ? n : void 0;
this.each(function() {
ee.set(this, e, t)
})
}, null, t, arguments.length > 1, null, !0)
},
removeData: function(e) {
return this.each(function() {
ee.remove(this, e)
})
}
}), T.extend({
queue: function(e, t, n) {
var r;
if (e) return t = (t || "fx") + "queue", r = Z.get(e, t), n && (!r || Array.isArray(n) ? r = Z.access(e, t, T.makeArray(n)) : r.push(n)), r || []
},
dequeue: function(e, t) {
t = t || "fx";
var n = T.queue(e, t),
r = n.length,
o = n.shift(),
i = T._queueHooks(e, t);
"inprogress" === o && (o = n.shift(), r--), o && ("fx" === t && n.unshift("inprogress"), delete i.stop, o.call(e, function() {
T.dequeue(e, t)
}, i)), !r && i && i.empty.fire()
},
_queueHooks: function(e, t) {
var n = t + "queueHooks";
return Z.get(e, n) || Z.access(e, n, {
empty: T.Callbacks("once memory").add(function() {
Z.remove(e, [t + "queue", n])
})
})
}
}), T.fn.extend({
queue: function(e, t) {
var n = 2;
return "string" != typeof e && (t = e, e = "fx", n--), arguments.length < n ? T.queue(this[0], e) : void 0 === t ? this : this.each(function() {
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() {
T.dequeue(this, e)
})
},
clearQueue: function(e) {
return this.queue(e || "fx", [])
},
promise: function(e, t) {
var n, r = 1,
o = T.Deferred(),
i = this,
a = this.length,
s = function() {
--r || o.resolveWith(i, [i])
};
for ("string" != typeof e && (t = e, e = void 0), e = e || "fx"; a--;)(n = Z.get(i[a], e + "queueHooks")) && n.empty && (r++, n.empty.add(s));
return s(), o.promise(t)
}
});
var oe = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
ie = new RegExp("^(?:([+-])=|)(" + oe + ")([a-z%]*)$", "i"),
ae = ["Top", "Right", "Bottom", "Left"],
se = s.documentElement,
ue = function(e) {
return T.contains(e.ownerDocument, e)
},
le = {
composed: !0
};
se.getRootNode && (ue = function(e) {
return T.contains(e.ownerDocument, e) || e.getRootNode(le) === e.ownerDocument
});
var ce = function(e, t) {
return "none" === (e = t || e).style.display || "" === e.style.display && ue(e) && "none" === T.css(e, "display")
},
de = function(e, t, n, r) {
var o, i, a = {};
for (i in t) a[i] = e.style[i], e.style[i] = t[i];
for (i in o = n.apply(e, r || []), t) e.style[i] = a[i];
return o
};
function fe(e, t, n, r) {
var o, i, a = 20,
s = r ? function() {
return r.cur()
} : function() {
return T.css(e, t, "")
},
u = s(),
l = n && n[3] || (T.cssNumber[t] ? "" : "px"),
c = e.nodeType && (T.cssNumber[t] || "px" !== l && +u) && ie.exec(T.css(e, t));
if (c && c[3] !== l) {
for (u /= 2, l = l || c[3], c = +u || 1; a--;) T.style(e, t, c + l), (1 - i) * (1 - (i = s() / u || .5)) <= 0 && (a = 0), c /= i;
c *= 2, T.style(e, t, c + l), n = n || []
}
return n && (c = +c || +u || 0, o = n[1] ? c + (n[1] + 1) * n[2] : +n[2], r && (r.unit = l, r.start = c, r.end = o)), o
}
var pe = {};
function he(e) {
var t, n = e.ownerDocument,
r = e.nodeName,
o = pe[r];
return o || (t = n.body.appendChild(n.createElement(r)), o = T.css(t, "display"), t.parentNode.removeChild(t), "none" === o && (o = "block"), pe[r] = o, o)
}
function ve(e, t) {
for (var n, r, o = [], i = 0, a = e.length; i < a; i++)(r = e[i]).style && (n = r.style.display, t ? ("none" === n && (o[i] = Z.get(r, "display") || null, o[i] || (r.style.display = "")), "" === r.style.display && ce(r) && (o[i] = he(r))) : "none" !== n && (o[i] = "none", Z.set(r, "display", n)));
for (i = 0; i < a; i++) null != o[i] && (e[i].style.display = o[i]);
return e
}
T.fn.extend({
show: function() {
return ve(this, !0)
},
hide: function() {
return ve(this)
},
toggle: function(e) {
return "boolean" == typeof e ? e ? this.show() : this.hide() : this.each(function() {
ce(this) ? T(this).show() : T(this).hide()
})
}
});
var me = /^(?:checkbox|radio)$/i,
ye = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i,
ge = /^$|^module$|\/(?:java|ecma)script/i,
be = {
option: [1, "<select multiple='multiple'>", "</select>"],
thead: [1, "<table>", "</table>"],
col: [2, "<table><colgroup>", "</colgroup></table>"],
tr: [2, "<table><tbody>", "</tbody></table>"],
td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
_default: [0, "", ""]
};
function xe(e, t) {
var n;
return n = void 0 !== e.getElementsByTagName ? e.getElementsByTagName(t || "*") : void 0 !== e.querySelectorAll ? e.querySelectorAll(t || "*") : [], void 0 === t || t && D(e, t) ? T.merge([e], n) : n
}
function we(e, t) {
for (var n = 0, r = e.length; n < r; n++) Z.set(e[n], "globalEval", !t || Z.get(t[n], "globalEval"))
}
be.optgroup = be.option, be.tbody = be.tfoot = be.colgroup = be.caption = be.thead, be.th = be.td;
var ke = /<|&#?\w+;/;
function Ce(e, t, n, r, o) {
for (var i, a, s, u, l, c, d = t.createDocumentFragment(), f = [], p = 0, h = e.length; p < h; p++)
if ((i = e[p]) || 0 === i)
if ("object" === C(i)) T.merge(f, i.nodeType ? [i] : i);
else if (ke.test(i)) {
for (a = a || d.appendChild(t.createElement("div")), s = (ye.exec(i) || ["", ""])[1].toLowerCase(), u = be[s] || be._default, a.innerHTML = u[1] + T.htmlPrefilter(i) + u[2], c = u[0]; c--;) a = a.lastChild;
T.merge(f, a.childNodes), (a = d.firstChild).textContent = ""
} else f.push(t.createTextNode(i));
for (d.textContent = "", p = 0; i = f[p++];)
if (r && T.inArray(i, r) > -1) o && o.push(i);
else if (l = ue(i), a = xe(d.appendChild(i), "script"), l && we(a), n)
for (c = 0; i = a[c++];) ge.test(i.type || "") && n.push(i);
return d
}! function() {
var e = s.createDocumentFragment().appendChild(s.createElement("div")),
t = s.createElement("input");
t.setAttribute("type", "radio"), t.setAttribute("checked", "checked"), t.setAttribute("name", "t"), e.appendChild(t), g.checkClone = e.cloneNode(!0).cloneNode(!0).lastChild.checked, e.innerHTML = "<textarea>x</textarea>", g.noCloneChecked = !!e.cloneNode(!0).lastChild.defaultValue
}();
var Te = /^key/,
je = /^(?:mouse|pointer|contextmenu|drag|drop)|click/,
Se = /^([^.]*)(?:\.(.+)|)/;
function _e() {
return !0
}
function Ae() {
return !1
}
function Ee(e, t) {
return e === function() {
try {
return s.activeElement
} catch (e) {}
}() == ("focus" === t)
}
function Ne(e, t, n, o, i, a) {
var s, u;
if ("object" === r(t)) {
for (u in "string" != typeof n && (o = o || n, n = void 0), t) Ne(e, u, n, o, t[u], a);
return e
}
if (null == o && null == i ? (i = n, o = n = void 0) : null == i && ("string" == typeof n ? (i = o, o = void 0) : (i = o, o = n, n = void 0)), !1 === i) i = Ae;
else if (!i) return e;
return 1 === a && (s = i, (i = function(e) {
return T().off(e), s.apply(this, arguments)
}).guid = s.guid || (s.guid = T.guid++)), e.each(function() {
T.event.add(this, t, i, o, n)
})
}
function De(e, t, n) {
n ? (Z.set(e, t, !1), T.event.add(e, t, {
namespace: !1,
handler: function(e) {
var r, o, i = Z.get(this, t);
if (1 & e.isTrigger && this[t]) {
if (i.length)(T.event.special[t] || {}).delegateType && e.stopPropagation();
else if (i = l.call(arguments), Z.set(this, t, i), r = n(this, t), this[t](), i !== (o = Z.get(this, t)) || r ? Z.set(this, t, !1) : o = {}, i !== o) return e.stopImmediatePropagation(), e.preventDefault(), o.value
} else i.length && (Z.set(this, t, {
value: T.event.trigger(T.extend(i[0], T.Event.prototype), i.slice(1), this)
}), e.stopImmediatePropagation())
}
})) : void 0 === Z.get(e, t) && T.event.add(e, t, _e)
}
T.event = {
global: {},
add: function(e, t, n, r, o) {
var i, a, s, u, l, c, d, f, p, h, v, m = Z.get(e);
if (m)
for (n.handler && (n = (i = n).handler, o = i.selector), o && T.find.matchesSelector(se, o), n.guid || (n.guid = T.guid++), (u = m.events) || (u = m.events = {}), (a = m.handle) || (a = m.handle = function(t) {
return void 0 !== T && T.event.triggered !== t.type ? T.event.dispatch.apply(e, arguments) : void 0
}), l = (t = (t || "").match(I) || [""]).length; l--;) p = v = (s = Se.exec(t[l]) || [])[1], h = (s[2] || "").split(".").sort(), p && (d = T.event.special[p] || {}, p = (o ? d.delegateType : d.bindType) || p, d = T.event.special[p] || {}, c = T.extend({
type: p,
origType: v,
data: r,
handler: n,
guid: n.guid,
selector: o,
needsContext: o && T.expr.match.needsContext.test(o),
namespace: h.join(".")
}, i), (f = u[p]) || ((f = u[p] = []).delegateCount = 0, d.setup && !1 !== d.setup.call(e, r, h, a) || e.addEventListener && e.addEventListener(p, a)), d.add && (d.add.call(e, c), c.handler.guid || (c.handler.guid = n.guid)), o ? f.splice(f.delegateCount++, 0, c) : f.push(c), T.event.global[p] = !0)
},
remove: function(e, t, n, r, o) {
var i, a, s, u, l, c, d, f, p, h, v, m = Z.hasData(e) && Z.get(e);
if (m && (u = m.events)) {
for (l = (t = (t || "").match(I) || [""]).length; l--;)
if (p = v = (s = Se.exec(t[l]) || [])[1], h = (s[2] || "").split(".").sort(), p) {
for (d = T.event.special[p] || {}, f = u[p = (r ? d.delegateType : d.bindType) || p] || [], s = s[2] && new RegExp("(^|\\.)" + h.join("\\.(?:.*\\.|)") + "(\\.|$)"), a = i = f.length; i--;) c = f[i], !o && v !== c.origType || n && n.guid !== c.guid || s && !s.test(c.namespace) || r && r !== c.selector && ("**" !== r || !c.selector) || (f.splice(i, 1), c.selector && f.delegateCount--, d.remove && d.remove.call(e, c));
a && !f.length && (d.teardown && !1 !== d.teardown.call(e, h, m.handle) || T.removeEvent(e, p, m.handle), delete u[p])
} else
for (p in u) T.event.remove(e, p + t[l], n, r, !0);
T.isEmptyObject(u) && Z.remove(e, "handle events")
}
},
dispatch: function(e) {
var t, n, r, o, i, a, s = T.event.fix(e),
u = new Array(arguments.length),
l = (Z.get(this, "events") || {})[s.type] || [],
c = T.event.special[s.type] || {};
for (u[0] = s, t = 1; t < arguments.length; t++) u[t] = arguments[t];
if (s.delegateTarget = this, !c.preDispatch || !1 !== c.preDispatch.call(this, s)) {
for (a = T.event.handlers.call(this, s, l), t = 0;
(o = a[t++]) && !s.isPropagationStopped();)
for (s.currentTarget = o.elem, n = 0;
(i = o.handlers[n++]) && !s.isImmediatePropagationStopped();) s.rnamespace && !1 !== i.namespace && !s.rnamespace.test(i.namespace) || (s.handleObj = i, s.data = i.data, void 0 !== (r = ((T.event.special[i.origType] || {}).handle || i.handler).apply(o.elem, u)) && !1 === (s.result = r) && (s.preventDefault(), s.stopPropagation()));
return c.postDispatch && c.postDispatch.call(this, s), s.result
}
},
handlers: function(e, t) {
var n, r, o, i, a, s = [],
u = t.delegateCount,
l = e.target;
if (u && l.nodeType && !("click" === e.type && e.button >= 1))
for (; l !== this; l = l.parentNode || this)
if (1 === l.nodeType && ("click" !== e.type || !0 !== l.disabled)) {
for (i = [], a = {}, n = 0; n < u; n++) void 0 === a[o = (r = t[n]).selector + " "] && (a[o] = r.needsContext ? T(o, this).index(l) > -1 : T.find(o, this, null, [l]).length), a[o] && i.push(r);
i.length && s.push({
elem: l,
handlers: i
})
}
return l = this, u < t.length && s.push({
elem: l,
handlers: t.slice(u)
}), s
},
addProp: function(e, t) {
Object.defineProperty(T.Event.prototype, e, {
enumerable: !0,
configurable: !0,
get: b(t) ? function() {
if (this.originalEvent) return t(this.originalEvent)
} : function() {
if (this.originalEvent) return this.originalEvent[e]
},
set: function(t) {
Object.defineProperty(this, e, {
enumerable: !0,
configurable: !0,
writable: !0,
value: t
})
}
})
},
fix: function(e) {
return e[T.expando] ? e : new T.Event(e)
},
special: {
load: {
noBubble: !0
},
click: {
setup: function(e) {
var t = this || e;
return me.test(t.type) && t.click && D(t, "input") && De(t, "click", _e), !1
},
trigger: function(e) {
var t = this || e;
return me.test(t.type) && t.click && D(t, "input") && De(t, "click"), !0
},
_default: function(e) {
var t = e.target;
return me.test(t.type) && t.click && D(t, "input") && Z.get(t, "click") || D(t, "a")
}
},
beforeunload: {
postDispatch: function(e) {
void 0 !== e.result && e.originalEvent && (e.originalEvent.returnValue = e.result)
}
}
}
}, T.removeEvent = function(e, t, n) {
e.removeEventListener && e.removeEventListener(t, n)
}, 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, this.isDefaultPrevented = e.defaultPrevented || void 0 === e.defaultPrevented && !1 === e.returnValue ? _e : Ae, this.target = e.target && 3 === e.target.nodeType ? e.target.parentNode : e.target, this.currentTarget = e.currentTarget, this.relatedTarget = e.relatedTarget) : this.type = e, t && T.extend(this, t), this.timeStamp = e && e.timeStamp || Date.now(), this[T.expando] = !0
}, T.Event.prototype = {
constructor: T.Event,
isDefaultPrevented: Ae,
isPropagationStopped: Ae,
isImmediatePropagationStopped: Ae,
isSimulated: !1,
preventDefault: function() {
var e = this.originalEvent;
this.isDefaultPrevented = _e, e && !this.isSimulated && e.preventDefault()
},
stopPropagation: function() {
var e = this.originalEvent;
this.isPropagationStopped = _e, e && !this.isSimulated && e.stopPropagation()
},
stopImmediatePropagation: function() {
var e = this.originalEvent;
this.isImmediatePropagationStopped = _e, e && !this.isSimulated && e.stopImmediatePropagation(), this.stopPropagation()
}
}, T.each({
altKey: !0,
bubbles: !0,
cancelable: !0,
changedTouches: !0,
ctrlKey: !0,
detail: !0,
eventPhase: !0,
metaKey: !0,
pageX: !0,
pageY: !0,
shiftKey: !0,
view: !0,
char: !0,
code: !0,
charCode: !0,
key: !0,
keyCode: !0,
button: !0,
buttons: !0,
clientX: !0,
clientY: !0,
offsetX: !0,
offsetY: !0,
pointerId: !0,
pointerType: !0,
screenX: !0,
screenY: !0,
targetTouches: !0,
toElement: !0,
touches: !0,
which: function(e) {
var t = e.button;
return null == e.which && Te.test(e.type) ? null != e.charCode ? e.charCode : e.keyCode : !e.which && void 0 !== t && je.test(e.type) ? 1 & t ? 1 : 2 & t ? 3 : 4 & t ? 2 : 0 : e.which
}
}, T.event.addProp), T.each({
focus: "focusin",
blur: "focusout"
}, function(e, t) {
T.event.special[e] = {
setup: function() {
return De(this, e, Ee), !1
},
trigger: function() {
return De(this, e), !0
},
delegateType: t
}
}), T.each({
mouseenter: "mouseover",
mouseleave: "mouseout",
pointerenter: "pointerover",
pointerleave: "pointerout"
}, function(e, t) {
T.event.special[e] = {
delegateType: t,
bindType: t,
handle: function(e) {
var n, r = e.relatedTarget,
o = e.handleObj;
return r && (r === this || T.contains(this, r)) || (e.type = o.origType, n = o.handler.apply(this, arguments), e.type = t), n
}
}
}), T.fn.extend({
on: function(e, t, n, r) {
return Ne(this, e, t, n, r)
},
one: function(e, t, n, r) {
return Ne(this, e, t, n, r, 1)
},
off: function(e, t, n) {
var o, i;
if (e && e.preventDefault && e.handleObj) return o = e.handleObj, T(e.delegateTarget).off(o.namespace ? o.origType + "." + o.namespace : o.origType, o.selector, o.handler), this;
if ("object" === r(e)) {
for (i in e) this.off(i, t, e[i]);
return this
}
return !1 !== t && "function" != typeof t || (n = t, t = void 0), !1 === n && (n = Ae), this.each(function() {
T.event.remove(this, e, n, t)
})
}
});
var qe = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,
Le = /<script|<style|<link/i,
Oe = /checked\s*(?:[^=]|=\s*.checked.)/i,
Pe = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
function Me(e, t) {
return D(e, "table") && D(11 !== t.nodeType ? t : t.firstChild, "tr") && T(e).children("tbody")[0] || e
}
function He(e) {
return e.type = (null !== e.getAttribute("type")) + "/" + e.type, e
}
function Re(e) {
return "true/" === (e.type || "").slice(0, 5) ? e.type = e.type.slice(5) : e.removeAttribute("type"), e
}
function Ie(e, t) {
var n, r, o, i, a, s, u, l;
if (1 === t.nodeType) {
if (Z.hasData(e) && (i = Z.access(e), a = Z.set(t, i), l = i.events))
for (o in delete a.handle, a.events = {}, l)
for (n = 0, r = l[o].length; n < r; n++) T.event.add(t, o, l[o][n]);
ee.hasData(e) && (s = ee.access(e), u = T.extend({}, s), ee.set(t, u))
}
}
function We(e, t) {
var n = t.nodeName.toLowerCase();
"input" === n && me.test(e.type) ? t.checked = e.checked : "input" !== n && "textarea" !== n || (t.defaultValue = e.defaultValue)
}
function $e(e, t, n, r) {
t = c.apply([], t);
var o, i, a, s, u, l, d = 0,
f = e.length,
p = f - 1,
h = t[0],
v = b(h);
if (v || f > 1 && "string" == typeof h && !g.checkClone && Oe.test(h)) return e.each(function(o) {
var i = e.eq(o);
v && (t[0] = h.call(this, o, i.html())), $e(i, t, n, r)
});
if (f && (i = (o = Ce(t, e[0].ownerDocument, !1, e, r)).firstChild, 1 === o.childNodes.length && (o = i), i || r)) {
for (s = (a = T.map(xe(o, "script"), He)).length; d < f; d++) u = o, d !== p && (u = T.clone(u, !0, !0), s && T.merge(a, xe(u, "script"))), n.call(e[d], u, d);
if (s)
for (l = a[a.length - 1].ownerDocument, T.map(a, Re), d = 0; d < s; d++) u = a[d], ge.test(u.type || "") && !Z.access(u, "globalEval") && T.contains(l, u) && (u.src && "module" !== (u.type || "").toLowerCase() ? T._evalUrl && !u.noModule && T._evalUrl(u.src, {
nonce: u.nonce || u.getAttribute("nonce")
}) : k(u.textContent.replace(Pe, ""), u, l))
}
return e
}
function Qe(e, t, n) {
for (var r, o = t ? T.filter(t, e) : e, i = 0; null != (r = o[i]); i++) n || 1 !== r.nodeType || T.cleanData(xe(r)), r.parentNode && (n && ue(r) && we(xe(r, "script")), r.parentNode.removeChild(r));
return e
}
T.extend({
htmlPrefilter: function(e) {
return e.replace(qe, "<$1></$2>")
},
clone: function(e, t, n) {
var r, o, i, a, s = e.cloneNode(!0),
u = ue(e);
if (!(g.noCloneChecked || 1 !== e.nodeType && 11 !== e.nodeType || T.isXMLDoc(e)))
for (a = xe(s), r = 0, o = (i = xe(e)).length; r < o; r++) We(i[r], a[r]);
if (t)
if (n)
for (i = i || xe(e), a = a || xe(s), r = 0, o = i.length; r < o; r++) Ie(i[r], a[r]);
else Ie(e, s);
return (a = xe(s, "script")).length > 0 && we(a, !u && xe(e, "script")), s
},
cleanData: function(e) {
for (var t, n, r, o = T.event.special, i = 0; void 0 !== (n = e[i]); i++)
if (Y(n)) {
if (t = n[Z.expando]) {
if (t.events)
for (r in t.events) o[r] ? T.event.remove(n, r) : T.removeEvent(n, r, t.handle);
n[Z.expando] = void 0
}
n[ee.expando] && (n[ee.expando] = void 0)
}
}
}), T.fn.extend({
detach: function(e) {
return Qe(this, e, !0)
},
remove: function(e) {
return Qe(this, e)
},
text: function(e) {
return U(this, function(e) {
return void 0 === e ? T.text(this) : this.empty().each(function() {
1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || (this.textContent = e)
})
}, null, e, arguments.length)
},
append: function() {
return $e(this, arguments, function(e) {
1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || Me(this, e).appendChild(e)
})
},
prepend: function() {
return $e(this, arguments, function(e) {
if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
var t = Me(this, e);
t.insertBefore(e, t.firstChild)
}
})
},
before: function() {
return $e(this, arguments, function(e) {
this.parentNode && this.parentNode.insertBefore(e, this)
})
},
after: function() {
return $e(this, arguments, function(e) {
this.parentNode && this.parentNode.insertBefore(e, this.nextSibling)
})
},
empty: function() {
for (var e, t = 0; null != (e = this[t]); t++) 1 === e.nodeType && (T.cleanData(xe(e, !1)), e.textContent = "");
return this
},
clone: function(e, t) {
return e = null != e && e, t = null == t ? e : t, this.map(function() {
return T.clone(this, e, t)
})
},
html: function(e) {
return U(this, function(e) {
var t = this[0] || {},
n = 0,
r = this.length;
if (void 0 === e && 1 === t.nodeType) return t.innerHTML;
if ("string" == typeof e && !Le.test(e) && !be[(ye.exec(e) || ["", ""])[1].toLowerCase()]) {
e = T.htmlPrefilter(e);
try {
for (; n < r; n++) 1 === (t = this[n] || {}).nodeType && (T.cleanData(xe(t, !1)), t.innerHTML = e);
t = 0
} catch (e) {}
}
t && this.empty().append(e)
}, null, e, arguments.length)
},
replaceWith: function() {
var e = [];
return $e(this, arguments, function(t) {
var n = this.parentNode;
T.inArray(this, e) < 0 && (T.cleanData(xe(this)), n && n.replaceChild(t, this))
}, e)
}
}), T.each({
appendTo: "append",
prependTo: "prepend",
insertBefore: "before",
insertAfter: "after",
replaceAll: "replaceWith"
}, function(e, t) {
T.fn[e] = function(e) {
for (var n, r = [], o = T(e), i = o.length - 1, a = 0; a <= i; a++) n = a === i ? this : this.clone(!0), T(o[a])[t](n), d.apply(r, n.get());
return this.pushStack(r)
}
});
var Fe = new RegExp("^(" + oe + ")(?!px)[a-z%]+$", "i"),
Be = function(e) {
var t = e.ownerDocument.defaultView;
return t && t.opener || (t = o), t.getComputedStyle(e)
},
ze = new RegExp(ae.join("|"), "i");
function Ue(e, t, n) {
var r, o, i, a, s = e.style;
return (n = n || Be(e)) && ("" !== (a = n.getPropertyValue(t) || n[t]) || ue(e) || (a = T.style(e, t)), !g.pixelBoxStyles() && Fe.test(a) && ze.test(t) && (r = s.width, o = s.minWidth, i = s.maxWidth, s.minWidth = s.maxWidth = s.width = a, a = n.width, s.width = r, s.minWidth = o, s.maxWidth = i)), void 0 !== a ? a + "" : a
}
function Xe(e, t) {
return {
get: function() {
if (!e()) return (this.get = t).apply(this, arguments);
delete this.get
}
}
}! function() {
function e() {
if (c) {
l.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0", c.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%", se.appendChild(l).appendChild(c);
var e = o.getComputedStyle(c);
n = "1%" !== e.top, u = 12 === t(e.marginLeft), c.style.right = "60%", a = 36 === t(e.right), r = 36 === t(e.width), c.style.position = "absolute", i = 12 === t(c.offsetWidth / 3), se.removeChild(l), c = null
}
}
function t(e) {
return Math.round(parseFloat(e))
}
var n, r, i, a, u, l = s.createElement("div"),
c = s.createElement("div");
c.style && (c.style.backgroundClip = "content-box", c.cloneNode(!0).style.backgroundClip = "", g.clearCloneStyle = "content-box" === c.style.backgroundClip, T.extend(g, {
boxSizingReliable: function() {
return e(), r
},
pixelBoxStyles: function() {
return e(), a
},
pixelPosition: function() {
return e(), n
},
reliableMarginLeft: function() {
return e(), u
},
scrollboxSize: function() {
return e(), i
}
}))
}();
var Ve = ["Webkit", "Moz", "ms"],
Ge = s.createElement("div").style,
Je = {};
function Ye(e) {
var t = T.cssProps[e] || Je[e];
return t || (e in Ge ? e : Je[e] = function(e) {
for (var t = e[0].toUpperCase() + e.slice(1), n = Ve.length; n--;)
if ((e = Ve[n] + t) in Ge) return e
}(e) || e)
}
var Ke = /^(none|table(?!-c[ea]).+)/,
Ze = /^--/,
et = {
position: "absolute",
visibility: "hidden",
display: "block"
},
tt = {
letterSpacing: "0",
fontWeight: "400"
};
function nt(e, t, n) {
var r = ie.exec(t);
return r ? Math.max(0, r[2] - (n || 0)) + (r[3] || "px") : t
}
function rt(e, t, n, r, o, i) {
var a = "width" === t ? 1 : 0,
s = 0,
u = 0;
if (n === (r ? "border" : "content")) return 0;
for (; a < 4; a += 2) "margin" === n && (u += T.css(e, n + ae[a], !0, o)), r ? ("content" === n && (u -= T.css(e, "padding" + ae[a], !0, o)), "margin" !== n && (u -= T.css(e, "border" + ae[a] + "Width", !0, o))) : (u += T.css(e, "padding" + ae[a], !0, o), "padding" !== n ? u += T.css(e, "border" + ae[a] + "Width", !0, o) : s += T.css(e, "border" + ae[a] + "Width", !0, o));
return !r && i >= 0 && (u += Math.max(0, Math.ceil(e["offset" + t[0].toUpperCase() + t.slice(1)] - i - u - s - .5)) || 0), u
}
function ot(e, t, n) {
var r = Be(e),
o = (!g.boxSizingReliable() || n) && "border-box" === T.css(e, "boxSizing", !1, r),
i = o,
a = Ue(e, t, r),
s = "offset" + t[0].toUpperCase() + t.slice(1);
if (Fe.test(a)) {
if (!n) return a;
a = "auto"
}
return (!g.boxSizingReliable() && o || "auto" === a || !parseFloat(a) && "inline" === T.css(e, "display", !1, r)) && e.getClientRects().length && (o = "border-box" === T.css(e, "boxSizing", !1, r), (i = s in e) && (a = e[s])), (a = parseFloat(a) || 0) + rt(e, t, n || (o ? "border" : "content"), i, r, a) + "px"
}
function it(e, t, n, r, o) {
return new it.prototype.init(e, t, n, r, o)
}
T.extend({
cssHooks: {
opacity: {
get: function(e, t) {
if (t) {
var n = Ue(e, "opacity");
return "" === n ? "1" : n
}
}
}
},
cssNumber: {
animationIterationCount: !0,
columnCount: !0,
fillOpacity: !0,
flexGrow: !0,
flexShrink: !0,
fontWeight: !0,
gridArea: !0,
gridColumn: !0,
gridColumnEnd: !0,
gridColumnStart: !0,
gridRow: !0,
gridRowEnd: !0,
gridRowStart: !0,
lineHeight: !0,
opacity: !0,
order: !0,
orphans: !0,
widows: !0,
zIndex: !0,
zoom: !0
},
cssProps: {},
style: function(e, t, n, o) {
if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) {
var i, a, s, u = J(t),
l = Ze.test(t),
c = e.style;
if (l || (t = Ye(u)), s = T.cssHooks[t] || T.cssHooks[u], void 0 === n) return s && "get" in s && void 0 !== (i = s.get(e, !1, o)) ? i : c[t];
"string" === (a = r(n)) && (i = ie.exec(n)) && i[1] && (n = fe(e, t, i), a = "number"), null != n && n == n && ("number" !== a || l || (n += i && i[3] || (T.cssNumber[u] ? "" : "px")), g.clearCloneStyle || "" !== n || 0 !== t.indexOf("background") || (c[t] = "inherit"), s && "set" in s && void 0 === (n = s.set(e, n, o)) || (l ? c.setProperty(t, n) : c[t] = n))
}
},
css: function(e, t, n, r) {
var o, i, a, s = J(t);
return Ze.test(t) || (t = Ye(s)), (a = T.cssHooks[t] || T.cssHooks[s]) && "get" in a && (o = a.get(e, !0, n)), void 0 === o && (o = Ue(e, t, r)), "normal" === o && t in tt && (o = tt[t]), "" === n || n ? (i = parseFloat(o), !0 === n || isFinite(i) ? i || 0 : o) : o
}
}), T.each(["height", "width"], function(e, t) {
T.cssHooks[t] = {
get: function(e, n, r) {
if (n) return !Ke.test(T.css(e, "display")) || e.getClientRects().length && e.getBoundingClientRect().width ? ot(e, t, r) : de(e, et, function() {
return ot(e, t, r)
})
},
set: function(e, n, r) {
var o, i = Be(e),
a = !g.scrollboxSize() && "absolute" === i.position,
s = (a || r) && "border-box" === T.css(e, "boxSizing", !1, i),
u = r ? rt(e, t, r, s, i) : 0;
return s && a && (u -= Math.ceil(e["offset" + t[0].toUpperCase() + t.slice(1)] - parseFloat(i[t]) - rt(e, t, "border", !1, i) - .5)), u && (o = ie.exec(n)) && "px" !== (o[3] || "px") && (e.style[t] = n, n = T.css(e, t)), nt(0, n, u)
}
}
}), T.cssHooks.marginLeft = Xe(g.reliableMarginLeft, function(e, t) {
if (t) return (parseFloat(Ue(e, "marginLeft")) || e.getBoundingClientRect().left - de(e, {
marginLeft: 0
}, function() {
return e.getBoundingClientRect().left
})) + "px"
}), T.each({
margin: "",
padding: "",
border: "Width"
}, function(e, t) {
T.cssHooks[e + t] = {
expand: function(n) {
for (var r = 0, o = {}, i = "string" == typeof n ? n.split(" ") : [n]; r < 4; r++) o[e + ae[r] + t] = i[r] || i[r - 2] || i[0];
return o
}
}, "margin" !== e && (T.cssHooks[e + t].set = nt)
}), T.fn.extend({
css: function(e, t) {
return U(this, function(e, t, n) {
var r, o, i = {},
a = 0;
if (Array.isArray(t)) {
for (r = Be(e), o = t.length; a < o; a++) i[t[a]] = T.css(e, t[a], !1, r);
return i
}
return void 0 !== n ? T.style(e, t, n) : T.css(e, t)
}, e, t, arguments.length > 1)
}
}), T.Tween = it, it.prototype = {
constructor: it,
init: function(e, t, n, r, o, i) {
this.elem = e, this.prop = n, this.easing = o || T.easing._default, this.options = t, this.start = this.now = this.cur(), this.end = r, this.unit = i || (T.cssNumber[n] ? "" : "px")
},
cur: function() {
var e = it.propHooks[this.prop];
return e && e.get ? e.get(this) : it.propHooks._default.get(this)
},
run: function(e) {
var t, n = it.propHooks[this.prop];
return this.options.duration ? this.pos = t = T.easing[this.easing](e, this.options.duration * e, 0, 1, this.options.duration) : this.pos = t = e, this.now = (this.end - this.start) * t + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), n && n.set ? n.set(this) : it.propHooks._default.set(this), this
}
}, it.prototype.init.prototype = it.prototype, it.propHooks = {
_default: {
get: function(e) {
var t;
return 1 !== e.elem.nodeType || null != e.elem[e.prop] && null == e.elem.style[e.prop] ? e.elem[e.prop] : (t = T.css(e.elem, e.prop, "")) && "auto" !== t ? t : 0
},
set: function(e) {
T.fx.step[e.prop] ? T.fx.step[e.prop](e) : 1 !== e.elem.nodeType || !T.cssHooks[e.prop] && null == e.elem.style[Ye(e.prop)] ? e.elem[e.prop] = e.now : T.style(e.elem, e.prop, e.now + e.unit)
}
}
}, it.propHooks.scrollTop = it.propHooks.scrollLeft = {
set: function(e) {
e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now)
}
}, T.easing = {
linear: function(e) {
return e
},
swing: function(e) {
return .5 - Math.cos(e * Math.PI) / 2
},
_default: "swing"
}, T.fx = it.prototype.init, T.fx.step = {};
var at, st, ut = /^(?:toggle|show|hide)$/,
lt = /queueHooks$/;
function ct() {
st && (!1 === s.hidden && o.requestAnimationFrame ? o.requestAnimationFrame(ct) : o.setTimeout(ct, T.fx.interval), T.fx.tick())
}
function dt() {
return o.setTimeout(function() {
at = void 0
}), at = Date.now()
}
function ft(e, t) {
var n, r = 0,
o = {
height: e
};
for (t = t ? 1 : 0; r < 4; r += 2 - t) o["margin" + (n = ae[r])] = o["padding" + n] = e;
return t && (o.opacity = o.width = e), o
}
function pt(e, t, n) {
for (var r, o = (ht.tweeners[t] || []).concat(ht.tweeners["*"]), i = 0, a = o.length; i < a; i++)
if (r = o[i].call(n, t, e)) return r
}
function ht(e, t, n) {
var r, o, i = 0,
a = ht.prefilters.length,
s = T.Deferred().always(function() {
delete u.elem
}),
u = function() {
if (o) return !1;
for (var t = at || dt(), n = Math.max(0, l.startTime + l.duration - t), r = 1 - (n / l.duration || 0), i = 0, a = l.tweens.length; i < a; i++) l.tweens[i].run(r);
return 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: e,
props: T.extend({}, t),
opts: T.extend(!0, {
specialEasing: {},
easing: T.easing._default
}, n),
originalProperties: t,
originalOptions: n,
startTime: at || dt(),
duration: n.duration,
tweens: [],
createTween: function(t, n) {
var r = T.Tween(e, l.opts, t, n, l.opts.specialEasing[t] || l.opts.easing);
return l.tweens.push(r), r
},
stop: function(t) {
var n = 0,
r = t ? l.tweens.length : 0;
if (o) return this;
for (o = !0; n < r; n++) l.tweens[n].run(1);
return 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) {
var n, r, o, i, a;
for (n in e)
if (o = t[r = J(n)], i = e[n], Array.isArray(i) && (o = i[1], i = e[n] = i[0]), n !== r && (e[r] = i, delete e[n]), (a = T.cssHooks[r]) && "expand" in a)
for (n in i = a.expand(i), delete e[r], i) n in e || (e[n] = i[n], t[n] = o);
else t[r] = o
}(c, l.opts.specialEasing); i < a; i++)
if (r = ht.prefilters[i].call(l, e, c, l.opts)) return b(r.stop) && (T._queueHooks(l.elem, l.opts.queue).stop = r.stop.bind(r)), r;
return T.map(c, pt, l), b(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), T.fx.timer(T.extend(u, {
elem: e,
anim: l,
queue: l.opts.queue
})), l
}
T.Animation = T.extend(ht, {
tweeners: {
"*": [function(e, t) {
var n = this.createTween(e, t);
return fe(n.elem, e, ie.exec(t), n), n
}]
},
tweener: function(e, t) {
b(e) ? (t = e, e = ["*"]) : e = e.match(I);
for (var n, r = 0, o = e.length; r < o; r++) n = e[r], ht.tweeners[n] = ht.tweeners[n] || [], ht.tweeners[n].unshift(t)
},
prefilters: [function(e, t, n) {
var r, o, i, a, s, u, l, c, d = "width" in t || "height" in t,
f = this,
p = {},
h = e.style,
v = e.nodeType && ce(e),
m = Z.get(e, "fxshow");
for (r in n.queue || (null == (a = T._queueHooks(e, "fx")).unqueued && (a.unqueued = 0, s = a.empty.fire, a.empty.fire = function() {
a.unqueued || s()
}), a.unqueued++, f.always(function() {
f.always(function() {
a.unqueued--, T.queue(e, "fx").length || a.empty.fire()
})
})), t)
if (o = t[r], ut.test(o)) {
if (delete t[r], i = i || "toggle" === o, o === (v ? "hide" : "show")) {
if ("show" !== o || !m || void 0 === m[r]) continue;
v = !0
}
p[r] = m && m[r] || T.style(e, r)
}
if ((u = !T.isEmptyObject(t)) || !T.isEmptyObject(p))
for (r in d && 1 === e.nodeType && (n.overflow = [h.overflow, h.overflowX, h.overflowY], null == (l = m && m.display) && (l = Z.get(e, "display")), "none" === (c = T.css(e, "display")) && (l ? c = l : (ve([e], !0), l = e.style.display || l, c = T.css(e, "display"), ve([e]))), ("inline" === c || "inline-block" === c && null != l) && "none" === T.css(e, "float") && (u || (f.done(function() {
h.display = l
}), null == l && (c = h.display, l = "none" === c ? "" : c)), h.display = "inline-block")), n.overflow && (h.overflow = "hidden", f.always(function() {
h.overflow = n.overflow[0], h.overflowX = n.overflow[1], h.overflowY = n.overflow[2]
})), u = !1, p) u || (m ? "hidden" in m && (v = m.hidden) : m = Z.access(e, "fxshow", {
display: l
}), i && (m.hidden = !v), v && ve([e], !0), f.done(function() {
for (r in v || ve([e]), Z.remove(e, "fxshow"), p) T.style(e, r, p[r])
})), u = pt(v ? m[r] : 0, r, f), r in m || (m[r] = u.start, v && (u.end = u.start, u.start = 0))
}],
prefilter: function(e, t) {
t ? ht.prefilters.unshift(e) : ht.prefilters.push(e)
}
}), T.speed = function(e, t, n) {
var o = e && "object" === r(e) ? T.extend({}, e) : {
complete: n || !n && t || b(e) && e,
duration: e,
easing: n && t || t && !b(t) && t
};
return T.fx.off ? o.duration = 0 : "number" != typeof o.duration && (o.duration in T.fx.speeds ? o.duration = T.fx.speeds[o.duration] : o.duration = T.fx.speeds._default), null != o.queue && !0 !== o.queue || (o.queue = "fx"), o.old = o.complete, o.complete = function() {
b(o.old) && o.old.call(this), o.queue && T.dequeue(this, o.queue)
}, o
}, T.fn.extend({
fadeTo: function(e, t, n, r) {
return this.filter(ce).css("opacity", 0).show().end().animate({
opacity: t
}, e, n, r)
},
animate: function(e, t, n, r) {
var o = T.isEmptyObject(e),
i = T.speed(t, n, r),
a = function() {
var t = ht(this, T.extend({}, e), i);
(o || Z.get(this, "finish")) && t.stop(!0)
};
return a.finish = a, o || !1 === i.queue ? this.each(a) : this.queue(i.queue, a)
},
stop: function(e, t, n) {
var r = function(e) {
var t = e.stop;
delete e.stop, t(n)
};
return "string" != typeof e && (n = t, t = e, e = void 0), t && !1 !== e && this.queue(e || "fx", []), this.each(function() {
var t = !0,
o = null != e && e + "queueHooks",
i = T.timers,
a = Z.get(this);
if (o) a[o] && a[o].stop && r(a[o]);
else
for (o in a) a[o] && a[o].stop && lt.test(o) && r(a[o]);
for (o = i.length; o--;) i[o].elem !== this || null != e && i[o].queue !== e || (i[o].anim.stop(n), t = !1, i.splice(o, 1));
!t && n || T.dequeue(this, e)
})
},
finish: function(e) {
return !1 !== e && (e = e || "fx"), this.each(function() {
var t, n = Z.get(this),
r = n[e + "queue"],
o = n[e + "queueHooks"],
i = T.timers,
a = r ? r.length : 0;
for (n.finish = !0, T.queue(this, e, []), o && o.stop && o.stop.call(this, !0), t = i.length; t--;) i[t].elem === this && i[t].queue === e && (i[t].anim.stop(!0), i.splice(t, 1));
for (t = 0; t < a; t++) r[t] && r[t].finish && r[t].finish.call(this);
delete n.finish
})
}
}), T.each(["toggle", "show", "hide"], function(e, t) {
var n = T.fn[t];
T.fn[t] = function(e, r, o) {
return null == e || "boolean" == typeof e ? n.apply(this, arguments) : this.animate(ft(t, !0), e, r, o)
}
}), T.each({
slideDown: ft("show"),
slideUp: ft("hide"),
slideToggle: ft("toggle"),
fadeIn: {
opacity: "show"
},
fadeOut: {
opacity: "hide"
},
fadeToggle: {
opacity: "toggle"
}
}, function(e, t) {
T.fn[e] = function(e, n, r) {
return this.animate(t, e, n, r)
}
}), T.timers = [], T.fx.tick = function() {
var e, t = 0,
n = T.timers;
for (at = Date.now(); t < n.length; t++)(e = n[t])() || n[t] !== e || n.splice(t--, 1);
n.length || T.fx.stop(), at = void 0
}, T.fx.timer = function(e) {
T.timers.push(e), T.fx.start()
}, T.fx.interval = 13, T.fx.start = function() {
st || (st = !0, ct())
}, T.fx.stop = function() {
st = null
}, T.fx.speeds = {
slow: 600,
fast: 200,
_default: 400
}, T.fn.delay = function(e, t) {
return e = T.fx && T.fx.speeds[e] || e, t = t || "fx", this.queue(t, function(t, n) {
var r = o.setTimeout(t, e);
n.stop = function() {
o.clearTimeout(r)
}
})
},
function() {
var e = s.createElement("input"),
t = s.createElement("select").appendChild(s.createElement("option"));
e.type = "checkbox", g.checkOn = "" !== e.value, g.optSelected = t.selected, (e = s.createElement("input")).value = "t", e.type = "radio", g.radioValue = "t" === e.value
}();
var vt, mt = T.expr.attrHandle;
T.fn.extend({
attr: function(e, t) {
return U(this, T.attr, e, t, arguments.length > 1)
},
removeAttr: function(e) {
return this.each(function() {
T.removeAttr(this, e)
})
}
}), T.extend({
attr: function(e, t, n) {
var r, o, i = e.nodeType;
if (3 !== i && 8 !== i && 2 !== i) return void 0 === e.getAttribute ? T.prop(e, t, n) : (1 === i && T.isXMLDoc(e) || (o = T.attrHooks[t.toLowerCase()] || (T.expr.match.bool.test(t) ? vt : void 0)), void 0 !== n ? null === n ? void T.removeAttr(e, t) : o && "set" in o && void 0 !== (r = o.set(e, n, t)) ? r : (e.setAttribute(t, n + ""), n) : o && "get" in o && null !== (r = o.get(e, t)) ? r : null == (r = T.find.attr(e, t)) ? void 0 : r)
},
attrHooks: {
type: {
set: function(e, t) {
if (!g.radioValue && "radio" === t && D(e, "input")) {
var n = e.value;
return e.setAttribute("type", t), n && (e.value = n), t
}
}
}
},
removeAttr: function(e, t) {
var n, r = 0,
o = t && t.match(I);
if (o && 1 === e.nodeType)
for (; n = o[r++];) e.removeAttribute(n)
}
}), vt = {
set: function(e, t, n) {
return !1 === t ? T.removeAttr(e, n) : e.setAttribute(n, n), n
}
}, T.each(T.expr.match.bool.source.match(/\w+/g), function(e, t) {
var n = mt[t] || T.find.attr;
mt[t] = function(e, t, r) {
var o, i, a = t.toLowerCase();
return r || (i = mt[a], mt[a] = o, o = null != n(e, t, r) ? a : null, mt[a] = i), o
}
});
var yt = /^(?:input|select|textarea|button)$/i,
gt = /^(?:a|area)$/i;
function bt(e) {
return (e.match(I) || []).join(" ")
}
function xt(e) {
return e.getAttribute && e.getAttribute("class") || ""
}
function wt(e) {
return Array.isArray(e) ? e : "string" == typeof e && e.match(I) || []
}
T.fn.extend({
prop: function(e, t) {
return U(this, T.prop, e, t, arguments.length > 1)
},
removeProp: function(e) {
return this.each(function() {
delete this[T.propFix[e] || e]
})
}
}), T.extend({
prop: function(e, t, n) {
var r, o, i = e.nodeType;
if (3 !== i && 8 !== i && 2 !== i) return 1 === i && T.isXMLDoc(e) || (t = T.propFix[t] || t, o = T.propHooks[t]), void 0 !== n ? o && "set" in o && void 0 !== (r = o.set(e, n, t)) ? r : e[t] = n : o && "get" in o && null !== (r = o.get(e, t)) ? r : e[t]
},
propHooks: {
tabIndex: {
get: function(e) {
var t = T.find.attr(e, "tabindex");
return t ? parseInt(t, 10) : yt.test(e.nodeName) || gt.test(e.nodeName) && e.href ? 0 : -1
}
}
},
propFix: {
for: "htmlFor",
class: "className"
}
}), g.optSelected || (T.propHooks.selected = {
get: function(e) {
var t = e.parentNode;
return t && t.parentNode && t.parentNode.selectedIndex, null
},
set: function(e) {
var t = e.parentNode;
t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex)
}
}), T.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function() {
T.propFix[this.toLowerCase()] = this
}), T.fn.extend({
addClass: function(e) {
var t, n, r, o, i, a, s, u = 0;
if (b(e)) return this.each(function(t) {
T(this).addClass(e.call(this, t, xt(this)))
});
if ((t = wt(e)).length)
for (; n = this[u++];)
if (o = xt(n), r = 1 === n.nodeType && " " + bt(o) + " ") {
for (a = 0; i = t[a++];) r.indexOf(" " + i + " ") < 0 && (r += i + " ");
o !== (s = bt(r)) && n.setAttribute("class", s)
}
return this
},
removeClass: function(e) {
var t, n, r, o, i, a, s, u = 0;
if (b(e)) return this.each(function(t) {
T(this).removeClass(e.call(this, t, xt(this)))
});
if (!arguments.length) return this.attr("class", "");
if ((t = wt(e)).length)
for (; n = this[u++];)
if (o = xt(n), r = 1 === n.nodeType && " " + bt(o) + " ") {
for (a = 0; i = t[a++];)
for (; r.indexOf(" " + i + " ") > -1;) r = r.replace(" " + i + " ", " ");
o !== (s = bt(r)) && n.setAttribute("class", s)
}
return this
},
toggleClass: function(e, t) {
var n = r(e),
o = "string" === n || Array.isArray(e);
return "boolean" == typeof t && o ? t ? this.addClass(e) : this.removeClass(e) : b(e) ? this.each(function(n) {
T(this).toggleClass(e.call(this, n, xt(this), t), t)
}) : this.each(function() {
var t, r, i, a;
if (o)
for (r = 0, i = T(this), a = wt(e); t = a[r++];) i.hasClass(t) ? i.removeClass(t) : i.addClass(t);
else void 0 !== e && "boolean" !== n || ((t = xt(this)) && Z.set(this, "__className__", t), this.setAttribute && this.setAttribute("class", t || !1 === e ? "" : Z.get(this, "__className__") || ""))
})
},
hasClass: function(e) {
var t, n, r = 0;
for (t = " " + e + " "; n = this[r++];)
if (1 === n.nodeType && (" " + bt(xt(n)) + " ").indexOf(t) > -1) return !0;
return !1
}
});
var kt = /\r/g;
T.fn.extend({
val: function(e) {
var t, n, r, o = this[0];
return arguments.length ? (r = b(e), this.each(function(n) {
var o;
1 === this.nodeType && (null == (o = r ? e.call(this, n, T(this).val()) : e) ? o = "" : "number" == typeof o ? o += "" : Array.isArray(o) && (o = T.map(o, function(e) {
return null == e ? "" : e + ""
})), (t = T.valHooks[this.type] || T.valHooks[this.nodeName.toLowerCase()]) && "set" in t && void 0 !== t.set(this, o, "value") || (this.value = o))
})) : o ? (t = T.valHooks[o.type] || T.valHooks[o.nodeName.toLowerCase()]) && "get" in t && void 0 !== (n = t.get(o, "value")) ? n : "string" == typeof(n = o.value) ? n.replace(kt, "") : null == n ? "" : n : void 0
}
}), T.extend({
valHooks: {
option: {
get: function(e) {
var t = T.find.attr(e, "value");
return null != t ? t : bt(T.text(e))
}
},
select: {
get: function(e) {
var t, n, r, o = e.options,
i = e.selectedIndex,
a = "select-one" === e.type,
s = a ? null : [],
u = a ? i + 1 : o.length;
for (r = i < 0 ? u : a ? i : 0; r < u; r++)
if (((n = o[r]).selected || r === i) && !n.disabled && (!n.parentNode.disabled || !D(n.parentNode, "optgroup"))) {
if (t = T(n).val(), a) return t;
s.push(t)
}
return s
},
set: function(e, t) {
for (var n, r, o = e.options, i = T.makeArray(t), a = o.length; a--;)((r = o[a]).selected = T.inArray(T.valHooks.option.get(r), i) > -1) && (n = !0);
return n || (e.selectedIndex = -1), i
}
}
}
}), T.each(["radio", "checkbox"], function() {
T.valHooks[this] = {
set: function(e, t) {
if (Array.isArray(t)) return e.checked = T.inArray(T(e).val(), t) > -1
}
}, g.checkOn || (T.valHooks[this].get = function(e) {
return null === e.getAttribute("value") ? "on" : e.value
})
}), g.focusin = "onfocusin" in o;
var Ct = /^(?:focusinfocus|focusoutblur)$/,
Tt = function(e) {
e.stopPropagation()
};
T.extend(T.event, {
trigger: function(e, t, n, i) {
var a, u, l, c, d, f, p, h, m = [n || s],
y = v.call(e, "type") ? e.type : e,
g = v.call(e, "namespace") ? e.namespace.split(".") : [];
if (u = h = l = n = n || s, 3 !== n.nodeType && 8 !== n.nodeType && !Ct.test(y + T.event.triggered) && (y.indexOf(".") > -1 && (y = (g = y.split(".")).shift(), g.sort()), d = y.indexOf(":") < 0 && "on" + y, (e = e[T.expando] ? e : new T.Event(y, "object" === r(e) && e)).isTrigger = i ? 2 : 3, e.namespace = g.join("."), e.rnamespace = e.namespace ? new RegExp("(^|\\.)" + g.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, e.result = void 0, e.target || (e.target = n), t = null == t ? [e] : T.makeArray(t, [e]), p = T.event.special[y] || {}, i || !p.trigger || !1 !== p.trigger.apply(n, t))) {
if (!i && !p.noBubble && !x(n)) {
for (c = p.delegateType || y, Ct.test(c + y) || (u = u.parentNode); u; u = u.parentNode) m.push(u), l = u;
l === (n.ownerDocument || s) && m.push(l.defaultView || l.parentWindow || o)
}
for (a = 0;
(u = m[a++]) && !e.isPropagationStopped();) h = u, e.type = a > 1 ? c : p.bindType || y, (f = (Z.get(u, "events") || {})[e.type] && Z.get(u, "handle")) && f.apply(u, t), (f = d && u[d]) && f.apply && Y(u) && (e.result = f.apply(u, t), !1 === e.result && e.preventDefault());
return e.type = y, i || e.isDefaultPrevented() || p._default && !1 !== p._default.apply(m.pop(), t) || !Y(n) || d && b(n[y]) && !x(n) && ((l = n[d]) && (n[d] = null), T.event.triggered = y, e.isPropagationStopped() && h.addEventListener(y, Tt), n[y](), e.isPropagationStopped() && h.removeEventListener(y, Tt), T.event.triggered = void 0, l && (n[d] = l)), e.result
}
},
simulate: function(e, t, n) {
var r = T.extend(new T.Event, n, {
type: e,
isSimulated: !0
});
T.event.trigger(r, null, t)
}
}), T.fn.extend({
trigger: function(e, t) {
return this.each(function() {
T.event.trigger(e, t, this)
})
},
triggerHandler: function(e, t) {
var n = this[0];
if (n) return T.event.trigger(e, t, n, !0)
}
}), g.focusin || T.each({
focus: "focusin",
blur: "focusout"
}, function(e, t) {
var n = function(e) {
T.event.simulate(t, e.target, T.event.fix(e))
};
T.event.special[t] = {
setup: function() {
var r = this.ownerDocument || this,
o = Z.access(r, t);
o || r.addEventListener(e, n, !0), Z.access(r, t, (o || 0) + 1)
},
teardown: function() {
var r = this.ownerDocument || this,
o = Z.access(r, t) - 1;
o ? Z.access(r, t, o) : (r.removeEventListener(e, n, !0), Z.remove(r, t))
}
}
});
var jt = o.location,
St = Date.now(),
_t = /\?/;
T.parseXML = function(e) {
var t;
if (!e || "string" != typeof e) return null;
try {
t = (new o.DOMParser).parseFromString(e, "text/xml")
} catch (e) {
t = void 0
}
return t && !t.getElementsByTagName("parsererror").length || T.error("Invalid XML: " + e), t
};
var At = /\[\]$/,
Et = /\r?\n/g,
Nt = /^(?:submit|button|image|reset|file)$/i,
Dt = /^(?:input|select|textarea|keygen)/i;
function qt(e, t, n, o) {
var i;
if (Array.isArray(t)) T.each(t, function(t, i) {
n || At.test(e) ? o(e, i) : qt(e + "[" + ("object" === r(i) && null != i ? t : "") + "]", i, n, o)
});
else if (n || "object" !== C(t)) o(e, t);
else
for (i in t) qt(e + "[" + i + "]", t[i], n, o)
}
T.param = function(e, t) {
var n, r = [],
o = function(e, t) {
var n = b(t) ? t() : t;
r[r.length] = encodeURIComponent(e) + "=" + encodeURIComponent(null == n ? "" : n)
};
if (null == e) return "";
if (Array.isArray(e) || e.jquery && !T.isPlainObject(e)) T.each(e, function() {
o(this.name, this.value)
});
else
for (n in e) qt(n, e[n], t, o);
return r.join("&")
}, T.fn.extend({
serialize: function() {
return T.param(this.serializeArray())
},
serializeArray: function() {
return this.map(function() {
var e = T.prop(this, "elements");
return e ? T.makeArray(e) : this
}).filter(function() {
var e = this.type;
return this.name && !T(this).is(":disabled") && Dt.test(this.nodeName) && !Nt.test(e) && (this.checked || !me.test(e))
}).map(function(e, t) {
var n = T(this).val();
return null == n ? null : Array.isArray(n) ? T.map(n, function(e) {
return {
name: t.name,
value: e.replace(Et, "\r\n")
}
}) : {
name: t.name,
value: n.replace(Et, "\r\n")
}
}).get()
}
});
var Lt = /%20/g,
Ot = /#.*$/,
Pt = /([?&])_=[^&]*/,
Mt = /^(.*?):[ \t]*([^\r\n]*)$/gm,
Ht = /^(?:GET|HEAD)$/,
Rt = /^\/\//,
It = {},
Wt = {},
$t = "*/".concat("*"),
Qt = s.createElement("a");
function Ft(e) {
return function(t, n) {
"string" != typeof t && (n = t, t = "*");
var r, o = 0,
i = t.toLowerCase().match(I) || [];
if (b(n))
for (; r = i[o++];) "+" === r[0] ? (r = r.slice(1) || "*", (e[r] = e[r] || []).unshift(n)) : (e[r] = e[r] || []).push(n)
}
}
function Bt(e, t, n, r) {
var o = {},
i = e === Wt;
function a(s) {
var u;
return o[s] = !0, T.each(e[s] || [], function(e, s) {
var l = s(t, n, r);
return "string" != typeof l || i || o[l] ? i ? !(u = l) : void 0 : (t.dataTypes.unshift(l), a(l), !1)
}), u
}
return a(t.dataTypes[0]) || !o["*"] && a("*")
}
function zt(e, t) {
var n, r, o = T.ajaxSettings.flatOptions || {};
for (n in t) void 0 !== t[n] && ((o[n] ? e : r || (r = {}))[n] = t[n]);
return r && T.extend(!0, e, r), e
}
Qt.href = jt.href, T.extend({
active: 0,
lastModified: {},
etag: {},
ajaxSettings: {
url: jt.href,
type: "GET",
isLocal: /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(jt.protocol),
global: !0,
processData: !0,
async: !0,
contentType: "application/x-www-form-urlencoded; charset=UTF-8",
accepts: {
"*": $t,
text: "text/plain",
html: "text/html",
xml: "application/xml, text/xml",
json: "application/json, text/javascript"
},
contents: {
xml: /\bxml\b/,
html: /\bhtml/,
json: /\bjson\b/
},
responseFields: {
xml: "responseXML",
text: "responseText",
json: "responseJSON"
},
converters: {
"* text": String,
"text html": !0,
"text json": JSON.parse,
"text xml": T.parseXML
},
flatOptions: {
url: !0,
context: !0
}
},
ajaxSetup: function(e, t) {
return t ? zt(zt(e, T.ajaxSettings), t) : zt(T.ajaxSettings, e)
},
ajaxPrefilter: Ft(It),
ajaxTransport: Ft(Wt),
ajax: function(e, t) {
"object" === r(e) && (t = e, e = void 0), t = t || {};
var n, i, a, u, l, c, d, f, p, h, v = T.ajaxSetup({}, t),
m = v.context || v,
y = v.context && (m.nodeType || m.jquery) ? T(m) : T.event,
g = T.Deferred(),
b = T.Callbacks("once memory"),
x = v.statusCode || {},
w = {},
k = {},
C = "canceled",
j = {
readyState: 0,
getResponseHeader: function(e) {
var t;
if (d) {
if (!u)
for (u = {}; t = Mt.exec(a);) u[t[1].toLowerCase() + " "] = (u[t[1].toLowerCase() + " "] || []).concat(t[2]);
t = u[e.toLowerCase() + " "]
}
return null == t ? null : t.join(", ")
},
getAllResponseHeaders: function() {
return d ? a : null
},
setRequestHeader: function(e, t) {
return null == d && (e = k[e.toLowerCase()] = k[e.toLowerCase()] || e, w[e] = t), this
},
overrideMimeType: function(e) {
return null == d && (v.mimeType = e), this
},
statusCode: function(e) {
var t;
if (e)
if (d) j.always(e[j.status]);
else
for (t in e) x[t] = [x[t], e[t]];
return this
},
abort: function(e) {
var t = e || C;
return n && n.abort(t), S(0, t), this
}
};
if (g.promise(j), v.url = ((e || v.url || jt.href) + "").replace(Rt, jt.protocol + "//"), v.type = t.method || t.type || v.method || v.type, v.dataTypes = (v.dataType || "*").toLowerCase().match(I) || [""], null == v.crossDomain) {
c = s.createElement("a");
try {
c.href = v.url, c.href = c.href, v.crossDomain = Qt.protocol + "//" + Qt.host != c.protocol + "//" + c.host
} catch (e) {
v.crossDomain = !0
}
}
if (v.data && v.processData && "string" != typeof v.data && (v.data = T.param(v.data, v.traditional)), Bt(It, v, t, j), d) return j;
for (p in (f = T.event && v.global) && 0 == T.active++ && T.event.trigger("ajaxStart"), v.type = v.type.toUpperCase(), v.hasContent = !Ht.test(v.type), i = v.url.replace(Ot, ""), v.hasContent ? v.data && v.processData && 0 === (v.contentType || "").indexOf("application/x-www-form-urlencoded") && (v.data = v.data.replace(Lt, "+")) : (h = v.url.slice(i.length), v.data && (v.processData || "string" == typeof v.data) && (i += (_t.test(i) ? "&" : "?") + v.data, delete v.data), !1 === v.cache && (i = i.replace(Pt, "$1"), h = (_t.test(i) ? "&" : "?") + "_=" + St++ + h), v.url = i + h), v.ifModified && (T.lastModified[i] && j.setRequestHeader("If-Modified-Since", T.lastModified[i]), T.etag[i] && j.setRequestHeader("If-None-Match", T.etag[i])), (v.data && v.hasContent && !1 !== v.contentType || t.contentType) && j.setRequestHeader("Content-Type", v.contentType), j.setRequestHeader("Accept", v.dataTypes[0] && v.accepts[v.dataTypes[0]] ? v.accepts[v.dataTypes[0]] + ("*" !== v.dataTypes[0] ? ", " + $t + "; q=0.01" : "") : v.accepts["*"]), v.headers) j.setRequestHeader(p, v.headers[p]);
if (v.beforeSend && (!1 === v.beforeSend.call(m, j, v) || d)) return j.abort();
if (C = "abort", b.add(v.complete), j.done(v.success), j.fail(v.error), n = Bt(Wt, v, t, j)) {
if (j.readyState = 1, f && y.trigger("ajaxSend", [j, v]), d) return j;
v.async && v.timeout > 0 && (l = o.setTimeout(function() {
j.abort("timeout")
}, v.timeout));
try {
d = !1, n.send(w, S)
} catch (e) {
if (d) throw e;
S(-1, e)
}
} else S(-1, "No Transport");
function S(e, t, r, s) {
var u, c, p, h, w, k = t;
d || (d = !0, l && o.clearTimeout(l), n = void 0, a = s || "", j.readyState = e > 0 ? 4 : 0, u = e >= 200 && e < 300 || 304 === e, r && (h = function(e, t, n) {
for (var r, o, i, a, s = e.contents, u = e.dataTypes;
"*" === u[0];) u.shift(), void 0 === r && (r = e.mimeType || t.getResponseHeader("Content-Type"));
if (r)
for (o in s)
if (s[o] && s[o].test(r)) {
u.unshift(o);
break
}
if (u[0] in n) i = u[0];
else {
for (o in n) {
if (!u[0] || e.converters[o + " " + u[0]]) {
i = o;
break
}
a || (a = o)
}
i = i || a
}
if (i) return i !== u[0] && u.unshift(i), n[i]
}(v, j, r)), h = function(e, t, n, r) {
var o, i, a, s, u, l = {},
c = e.dataTypes.slice();
if (c[1])
for (a in e.converters) l[a.toLowerCase()] = e.converters[a];
for (i = c.shift(); i;)
if (e.responseFields[i] && (n[e.responseFields[i]] = t), !u && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)), u = i, i = c.shift())
if ("*" === i) i = u;
else if ("*" !== u && u !== i) {
if (!(a = l[u + " " + i] || l["* " + i]))
for (o in l)
if ((s = o.split(" "))[1] === i && (a = l[u + " " + s[0]] || l["* " + s[0]])) {
!0 === a ? a = l[o] : !0 !== l[o] && (i = s[0], c.unshift(s[1]));
break
}
if (!0 !== a)
if (a && e.throws) t = a(t);
else try {
t = a(t)
} catch (e) {
return {
state: "parsererror",
error: a ? e : "No conversion from " + u + " to " + i
}
}
}
return {
state: "success",
data: t
}
}(v, h, j, u), u ? (v.ifModified && ((w = j.getResponseHeader("Last-Modified")) && (T.lastModified[i] = w), (w = j.getResponseHeader("etag")) && (T.etag[i] = w)), 204 === e || "HEAD" === v.type ? k = "nocontent" : 304 === e ? k = "notmodified" : (k = h.state, c = h.data, u = !(p = h.error))) : (p = k, !e && k || (k = "error", e < 0 && (e = 0))), j.status = e, j.statusText = (t || k) + "", u ? g.resolveWith(m, [c, k, j]) : g.rejectWith(m, [j, k, p]), j.statusCode(x), x = void 0, f && y.trigger(u ? "ajaxSuccess" : "ajaxError", [j, v, u ? c : p]), b.fireWith(m, [j, k]), f && (y.trigger("ajaxComplete", [j, v]), --T.active || T.event.trigger("ajaxStop")))
}
return j
},
getJSON: function(e, t, n) {
return T.get(e, t, n, "json")
},
getScript: function(e, t) {
return T.get(e, void 0, t, "script")
}
}), T.each(["get", "post"], function(e, t) {
T[t] = function(e, n, r, o) {
return b(n) && (o = o || r, r = n, n = void 0), T.ajax(T.extend({
url: e,
type: t,
dataType: o,
data: n,
success: r
}, T.isPlainObject(e) && e))
}
}), T._evalUrl = function(e, t) {
return T.ajax({
url: e,
type: "GET",
dataType: "script",
cache: !0,
async: !1,
global: !1,
converters: {
"text script": function() {}
},
dataFilter: function(e) {
T.globalEval(e, t)
}
})
}, T.fn.extend({
wrapAll: function(e) {
var t;
return this[0] && (b(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() {
for (var e = this; e.firstElementChild;) e = e.firstElementChild;
return e
}).append(this)), this
},
wrapInner: function(e) {
return b(e) ? this.each(function(t) {
T(this).wrapInner(e.call(this, t))
}) : this.each(function() {
var t = T(this),
n = t.contents();
n.length ? n.wrapAll(e) : t.append(e)
})
},
wrap: function(e) {
var t = b(e);
return this.each(function(n) {
T(this).wrapAll(t ? e.call(this, n) : e)
})
},
unwrap: function(e) {
return this.parent(e).not("body").each(function() {
T(this).replaceWith(this.childNodes)
}), this
}
}), T.expr.pseudos.hidden = function(e) {
return !T.expr.pseudos.visible(e)
}, T.expr.pseudos.visible = function(e) {
return !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length)
}, T.ajaxSettings.xhr = function() {
try {
return new o.XMLHttpRequest
} catch (e) {}
};
var Ut = {
0: 200,
1223: 204
},
Xt = T.ajaxSettings.xhr();
g.cors = !!Xt && "withCredentials" in Xt, g.ajax = Xt = !!Xt, T.ajaxTransport(function(e) {
var t, n;
if (g.cors || Xt && !e.crossDomain) return {
send: function(r, i) {
var a, s = e.xhr();
if (s.open(e.type, e.url, e.async, e.username, e.password), e.xhrFields)
for (a in e.xhrFields) s[a] = e.xhrFields[a];
for (a in e.mimeType && s.overrideMimeType && s.overrideMimeType(e.mimeType), e.crossDomain || r["X-Requested-With"] || (r["X-Requested-With"] = "XMLHttpRequest"), r) s.setRequestHeader(a, r[a]);
t = function(e) {
return function() {
t && (t = n = s.onload = s.onerror = s.onabort = s.ontimeout = s.onreadystatechange = null, "abort" === e ? s.abort() : "error" === e ? "number" != typeof s.status ? i(0, "error") : i(s.status, s.statusText) : i(Ut[s.status] || s.status, s.statusText, "text" !== (s.responseType || "text") || "string" != typeof s.responseText ? {
binary: s.response
} : {
text: s.responseText
}, s.getAllResponseHeaders()))
}
}, s.onload = t(), n = s.onerror = s.ontimeout = t("error"), void 0 !== s.onabort ? s.onabort = n : s.onreadystatechange = function() {
4 === s.readyState && o.setTimeout(function() {
t && n()
})
}, t = t("abort");
try {
s.send(e.hasContent && e.data || null)
} catch (e) {
if (t) throw e
}
},
abort: function() {
t && t()
}
}
}), T.ajaxPrefilter(function(e) {
e.crossDomain && (e.contents.script = !1)
}), T.ajaxSetup({
accepts: {
script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
},
contents: {
script: /\b(?:java|ecma)script\b/
},
converters: {
"text script": function(e) {
return T.globalEval(e), e
}
}
}), T.ajaxPrefilter("script", function(e) {
void 0 === e.cache && (e.cache = !1), e.crossDomain && (e.type = "GET")
}), T.ajaxTransport("script", function(e) {
var t, n;
if (e.crossDomain || e.scriptAttrs) return {
send: function(r, o) {
t = T("<script>").attr(e.scriptAttrs || {}).prop({
charset: e.scriptCharset,
src: e.url
}).on("load error", n = function(e) {
t.remove(), n = null, e && o("error" === e.type ? 404 : 200, e.type)
}), s.head.appendChild(t[0])
},
abort: function() {
n && n()
}
}
});
var Vt = [],
Gt = /(=)\?(?=&|$)|\?\?/;
T.ajaxSetup({
jsonp: "callback",
jsonpCallback: function() {
var e = Vt.pop() || T.expando + "_" + St++;
return this[e] = !0, e
}
}), T.ajaxPrefilter("json jsonp", function(e, t, n) {
var r, i, a, s = !1 !== e.jsonp && (Gt.test(e.url) ? "url" : "string" == typeof e.data && 0 === (e.contentType || "").indexOf("application/x-www-form-urlencoded") && Gt.test(e.data) && "data");
if (s || "jsonp" === e.dataTypes[0]) return r = e.jsonpCallback = b(e.jsonpCallback) ? e.jsonpCallback() : e.jsonpCallback, s ? e[s] = e[s].replace(Gt, "$1" + r) : !1 !== e.jsonp && (e.url += (_t.test(e.url) ? "&" : "?") + e.jsonp + "=" + r), e.converters["script json"] = function() {
return a || T.error(r + " was not called"), a[0]
}, e.dataTypes[0] = "json", i = o[r], o[r] = function() {
a = arguments
}, n.always(function() {
void 0 === i ? T(o).removeProp(r) : o[r] = i, e[r] && (e.jsonpCallback = t.jsonpCallback, Vt.push(r)), a && b(i) && i(a[0]), a = i = void 0
}), "script"
}), g.createHTMLDocument = function() {
var e = s.implementation.createHTMLDocument("").body;
return e.innerHTML = "<form></form><form></form>", 2 === e.childNodes.length
}(), T.parseHTML = function(e, t, n) {
return "string" != typeof e ? [] : ("boolean" == typeof t && (n = t, t = !1), t || (g.createHTMLDocument ? ((r = (t = s.implementation.createHTMLDocument("")).createElement("base")).href = s.location.href, t.head.appendChild(r)) : t = s), o = q.exec(e), i = !n && [], o ? [t.createElement(o[1])] : (o = Ce([e], t, i), i && i.length && T(i).remove(), T.merge([], o.childNodes)));
var r, o, i
}, T.fn.load = function(e, t, n) {
var o, i, a, s = this,
u = e.indexOf(" ");
return u > -1 && (o = bt(e.slice(u)), e = e.slice(0, u)), b(t) ? (n = t, t = void 0) : t && "object" === r(t) && (i = "POST"), s.length > 0 && T.ajax({
url: e,
type: i || "GET",
dataType: "html",
data: t
}).done(function(e) {
a = arguments, s.html(o ? T("<div>").append(T.parseHTML(e)).find(o) : e)
}).always(n && function(e, t) {
s.each(function() {
n.apply(this, a || [e.responseText, t, e])
})
}), this
}, T.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function(e, t) {
T.fn[t] = function(e) {
return this.on(t, e)
}
}), T.expr.pseudos.animated = function(e) {
return T.grep(T.timers, function(t) {
return e === t.elem
}).length
}, T.offset = {
setOffset: function(e, t, n) {
var r, o, i, a, s, u, l = T.css(e, "position"),
c = T(e),
d = {};
"static" === l && (e.style.position = "relative"), s = c.offset(), i = T.css(e, "top"), u = T.css(e, "left"), ("absolute" === l || "fixed" === l) && (i + u).indexOf("auto") > -1 ? (a = (r = c.position()).top, o = r.left) : (a = parseFloat(i) || 0, o = parseFloat(u) || 0), b(t) && (t = t.call(e, n, T.extend({}, s))), null != t.top && (d.top = t.top - s.top + a), null != t.left && (d.left = t.left - s.left + o), "using" in t ? t.using.call(e, d) : c.css(d)
}
}, T.fn.extend({
offset: function(e) {
if (arguments.length) return void 0 === e ? this : this.each(function(t) {
T.offset.setOffset(this, e, t)
});
var t, n, r = this[0];
return r ? r.getClientRects().length ? (t = r.getBoundingClientRect(), n = r.ownerDocument.defaultView, {
top: t.top + n.pageYOffset,
left: t.left + n.pageXOffset
}) : {
top: 0,
left: 0
} : void 0
},
position: function() {
if (this[0]) {
var e, t, n, r = this[0],
o = {
top: 0,
left: 0
};
if ("fixed" === T.css(r, "position")) t = r.getBoundingClientRect();
else {
for (t = this.offset(), n = r.ownerDocument, e = r.offsetParent || n.documentElement; e && (e === n.body || e === n.documentElement) && "static" === T.css(e, "position");) e = e.parentNode;
e && e !== r && 1 === e.nodeType && ((o = T(e).offset()).top += T.css(e, "borderTopWidth", !0), o.left += T.css(e, "borderLeftWidth", !0))
}
return {
top: t.top - o.top - T.css(r, "marginTop", !0),
left: t.left - o.left - T.css(r, "marginLeft", !0)
}
}
},
offsetParent: function() {
return this.map(function() {
for (var e = this.offsetParent; e && "static" === T.css(e, "position");) e = e.offsetParent;
return e || se
})
}
}), T.each({
scrollLeft: "pageXOffset",
scrollTop: "pageYOffset"
}, function(e, t) {
var n = "pageYOffset" === t;
T.fn[e] = function(r) {
return U(this, function(e, r, o) {
var i;
if (x(e) ? i = e : 9 === e.nodeType && (i = e.defaultView), void 0 === o) return i ? i[t] : e[r];
i ? i.scrollTo(n ? i.pageXOffset : o, n ? o : i.pageYOffset) : e[r] = o
}, e, r, arguments.length)
}
}), T.each(["top", "left"], function(e, t) {
T.cssHooks[t] = Xe(g.pixelPosition, function(e, n) {
if (n) return n = Ue(e, t), Fe.test(n) ? T(e).position()[t] + "px" : n
})
}), T.each({
Height: "height",
Width: "width"
}, function(e, t) {
T.each({
padding: "inner" + e,
content: t,
"": "outer" + e
}, function(n, r) {
T.fn[r] = function(o, i) {
var a = arguments.length && (n || "boolean" != typeof o),
s = n || (!0 === o || !0 === i ? "margin" : "border");
return U(this, function(t, n, o) {
var i;
return x(t) ? 0 === r.indexOf("outer") ? t["inner" + e] : t.document.documentElement["client" + e] : 9 === t.nodeType ? (i = t.documentElement, Math.max(t.body["scroll" + e], i["scroll" + e], t.body["offset" + e], i["offset" + e], i["client" + e])) : void 0 === o ? T.css(t, n, s) : T.style(t, n, o, s)
}, t, a ? o : void 0, a)
}
})
}), T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), function(e, t) {
T.fn[t] = function(e, n) {
return arguments.length > 0 ? this.on(t, null, e, n) : this.trigger(t)
}
}), T.fn.extend({
hover: function(e, t) {
return this.mouseenter(e).mouseleave(t || e)
}
}), T.fn.extend({
bind: function(e, t, n) {
return this.on(e, null, t, n)
},
unbind: function(e, t) {
return this.off(e, null, t)
},
delegate: function(e, t, n, r) {
return this.on(t, e, n, r)
},
undelegate: function(e, t, n) {
return 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n)
}
}), T.proxy = function(e, t) {
var n, r, o;
if ("string" == typeof t && (n = e[t], t = e, e = n), b(e)) return r = l.call(arguments, 2), (o = function() {
return e.apply(t || this, r.concat(l.call(arguments)))
}).guid = e.guid = e.guid || T.guid++, o
}, T.holdReady = function(e) {
e ? T.readyWait++ : T.ready(!0)
}, T.isArray = Array.isArray, T.parseJSON = JSON.parse, T.nodeName = D, T.isFunction = b, T.isWindow = x, T.camelCase = J, T.type = C, T.now = Date.now, T.isNumeric = function(e) {
var t = T.type(e);
return ("number" === t || "string" === t) && !isNaN(e - parseFloat(e))
}, void 0 === (n = function() {
return T
}.apply(t, [])) || (e.exports = n);
var Jt = o.jQuery,
Yt = o.$;
return T.noConflict = function(e) {
return o.$ === T && (o.$ = Yt), e && o.jQuery === T && (o.jQuery = Jt), T
}, i || (o.jQuery = o.$ = T), T
})
}).call(this, n(3)(e))
}, function(e, t) {
e.exports = prestashop
}, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}), t.psShowHide =
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
function() {
(0, r.default)(".ps-shown-by-js").show(), (0, r.default)(".ps-hidden-by-js").hide()
}, t.psGetRequestParameter = o, t.refreshCheckoutPage = function() {
if (null !== o("updatedTransaction")) window.location.reload();
else {
var e = o();
e.updatedTransaction = 1;
var t = [];
for (var n in e) {
var r = e[n];
t.push(n + "=" + r)
}
window.location.href = window.location.pathname + "?" + t.join("&")
}
};
var r = function(e) {
return e && e.__esModule ? e : {
default: e
}
}(n(0));
function o(e) {
var t = {};
return window.location.href.replace(location.hash, "").replace(/[?&]+([^=&]+)=?([^&]*)?/gi, function(e, n, r) {
t[n] = void 0 !== r ? r : ""
}), void 0 !== e ? t[e] ? t[e] : null : t
}
}, function(e, t, n) {
"use strict";
e.exports = function(e) {
return e.webpackPolyfill || (e.deprecate = function() {}, e.paths = [], e.children || (e.children = []), Object.defineProperty(e, "loaded", {
enumerable: !0,
get: function() {
return e.l
}
}), Object.defineProperty(e, "id", {
enumerable: !0,
get: function() {
return e.i
}
}), e.webpackPolyfill = 1), e
}
}, function(e, t) {
(function(t) {
e.exports = t
}).call(this, {})
}, function(e, t, n) {
e.exports = n(6)
}, function(e, t, n) {
"use strict";
var r = u(n(0));
n(7), n(8), n(9), n(10), n(11), n(12), n(17), n(18), n(19), n(20);
var o = u(n(1)),
i = u(n(21)),
a = n(2),
s = u(n(22));
function u(e) {
return e && e.__esModule ? e : {
default: e
}
}
for (var l in window.$ = r.default, window.jQuery = r.default, i.default.prototype) o.default[l] = i.default.prototype[l];
(0, r.default)(document).ready(function() {
(0, a.psShowHide)(), (0, s.default)('input[type="email"]')
})
}, function(e, t, n) {
"use strict";
var r = function(e) {
return e && e.__esModule ? e : {
default: e
}
}
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
(n(0));
void 0 === r.default.migrateMute && (r.default.migrateMute = !window.prestashop.debug)
}, function(e, t, n) {
"use strict";
var r, o;
function i(e) {
return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
return typeof e
} : function(e) {
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
})(e)
}
/*!
* jQuery Migrate - v3.1.0 - 2019-06-08
* Copyright OpenJS Foundation and other contributors
*/
r = [n(0)], void 0 === (o = function(e) {
return function(e, t) {
function n(t) {
return function(e, t) {
for (var n = /^(\d+)\.(\d+)\.(\d+)/, r = n.exec(e) || [], o = n.exec(t) || [], i = 1; i <= 3; i++) {
if (+r[i] > +o[i]) return 1;
if (+r[i] < +o[i]) return -1
}
return 0
}(e.fn.jquery, t) >= 0
}
e.migrateVersion = "3.1.0", t.console && t.console.log && (e && n("3.0.0") || t.console.log("JQMIGRATE: jQuery 3.0.0+ REQUIRED"), e.migrateWarnings && t.console.log("JQMIGRATE: Migrate plugin loaded multiple times"), t.console.log("JQMIGRATE: Migrate is installed" + (e.migrateMute ? "" : " with logging active") + ", version " + e.migrateVersion));
var r = {};
function o(n) {
var o = t.console;
r[n] || (r[n] = !0, e.migrateWarnings.push(n), o && o.warn && !e.migrateMute && (o.warn("JQMIGRATE: " + n), e.migrateTrace && o.trace && o.trace()))
}
function a(e, t, n, r) {
Object.defineProperty(e, t, {
configurable: !0,
enumerable: !0,
get: function() {
return o(r), n
},
set: function(e) {
o(r), n = e
}
})
}
function s(e, t, n, r) {
e[t] = function() {
return o(r), n.apply(this, arguments)
}
}
e.migrateWarnings = [], void 0 === e.migrateTrace && (e.migrateTrace = !0), e.migrateReset = function() {
r = {}, e.migrateWarnings.length = 0
}, "BackCompat" === t.document.compatMode && o("jQuery is not compatible with Quirks Mode");
var u, l = e.fn.init,
c = e.isNumeric,
d = e.find,
f = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,
p = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g;
for (u in e.fn.init = function(e) {
var t = Array.prototype.slice.call(arguments);
return "string" == typeof e && "#" === e && (o("jQuery( '#' ) is not a valid selector"), t[0] = []), l.apply(this, t)
}, e.fn.init.prototype = e.fn, e.find = function(e) {
var n = Array.prototype.slice.call(arguments);
if ("string" == typeof e && f.test(e)) try {
t.document.querySelector(e)
} catch (r) {
e = e.replace(p, function(e, t, n, r) {
return "[" + t + n + '"' + r + '"]'
});
try {
t.document.querySelector(e), o("Attribute selector with '#' must be quoted: " + n[0]), n[0] = e
} catch (e) {
o("Attribute selector with '#' was not fixed: " + n[0])
}
}
return d.apply(this, n)
}, d) Object.prototype.hasOwnProperty.call(d, u) && (e.find[u] = d[u]);
e.fn.size = function() {
return o("jQuery.fn.size() is deprecated and removed; use the .length property"), this.length
}, e.parseJSON = function() {
return o("jQuery.parseJSON is deprecated; use JSON.parse"), JSON.parse.apply(null, arguments)
}, e.isNumeric = function(t) {
var n = c(t),
r = function(t) {
var n = t && t.toString();
return !e.isArray(t) && n - parseFloat(n) + 1 >= 0
}(t);
return n !== r && o("jQuery.isNumeric() should not be called on constructed objects"), r
}, n("3.3.0") && s(e, "isWindow", function(e) {
return null != e && e === e.window
}, "jQuery.isWindow() is deprecated"), s(e, "holdReady", e.holdReady, "jQuery.holdReady is deprecated"), s(e, "unique", e.uniqueSort, "jQuery.unique is deprecated; use jQuery.uniqueSort"), a(e.expr, "filters", e.expr.pseudos, "jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"), a(e.expr, ":", e.expr.pseudos, "jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"), n("3.2.0") && s(e, "nodeName", e.nodeName, "jQuery.nodeName is deprecated");
var h = e.ajax;
e.ajax = function() {
var e = h.apply(this, arguments);
return e.promise && (s(e, "success", e.done, "jQXHR.success is deprecated and removed"), s(e, "error", e.fail, "jQXHR.error is deprecated and removed"), s(e, "complete", e.always, "jQXHR.complete is deprecated and removed")), e
};
var v = e.fn.removeAttr,
m = e.fn.toggleClass,
y = /\S+/g;
e.fn.removeAttr = function(t) {
var n = this;
return e.each(t.match(y), function(t, r) {
e.expr.match.bool.test(r) && (o("jQuery.fn.removeAttr no longer sets boolean properties: " + r), n.prop(r, !1))
}), v.apply(this, arguments)
}, e.fn.toggleClass = function(t) {
return void 0 !== t && "boolean" != typeof t ? m.apply(this, arguments) : (o("jQuery.fn.toggleClass( boolean ) is deprecated"), this.each(function() {
var n = this.getAttribute && this.getAttribute("class") || "";
n && e.data(this, "__className__", n), this.setAttribute && this.setAttribute("class", n || !1 === t ? "" : e.data(this, "__className__") || "")
}))
};
var g = !1;
e.swap && e.each(["height", "width", "reliableMarginRight"], function(t, n) {
var r = e.cssHooks[n] && e.cssHooks[n].get;
r && (e.cssHooks[n].get = function() {
var e;
return g = !0, e = r.apply(this, arguments), g = !1, e
})
}), e.swap = function(e, t, n, r) {
var i, a, s = {};
for (a in g || o("jQuery.swap() is undocumented and deprecated"), t) s[a] = e.style[a], e.style[a] = t[a];
for (a in i = n.apply(e, r || []), t) e.style[a] = s[a];
return i
};
var b = e.data;
e.data = function(t, n, r) {
var a;
if (n && "object" === i(n) && 2 === arguments.length) {
a = e.hasData(t) && b.call(this, t);
var s = {};
for (var u in n) u !== e.camelCase(u) ? (o("jQuery.data() always sets/gets camelCased names: " + u), a[u] = n[u]) : s[u] = n[u];
return b.call(this, t, s), n
}
return n && "string" == typeof n && n !== e.camelCase(n) && (a = e.hasData(t) && b.call(this, t)) && n in a ? (o("jQuery.data() always sets/gets camelCased names: " + n), arguments.length > 2 && (a[n] = r), a[n]) : b.apply(this, arguments)
};
var x = e.Tween.prototype.run,
w = function(e) {
return e
};
e.Tween.prototype.run = function() {
e.easing[this.easing].length > 1 && (o("'jQuery.easing." + this.easing.toString() + "' should use only one argument"), e.easing[this.easing] = w), x.apply(this, arguments)
};
var k = e.fx.interval || 13;
t.requestAnimationFrame && Object.defineProperty(e.fx, "interval", {
configurable: !0,
enumerable: !0,
get: function() {
return t.document.hidden || o("jQuery.fx.interval is deprecated"), k
},
set: function(e) {
o("jQuery.fx.interval is deprecated"), k = e
}
});
var C = e.fn.load,
T = e.event.add,
j = e.event.fix;
e.event.props = [], e.event.fixHooks = {}, a(e.event.props, "concat", e.event.props.concat, "jQuery.event.props.concat() is deprecated and removed"), e.event.fix = function(t) {
var n, r = t.type,
i = this.fixHooks[r],
a = e.event.props;
if (a.length)
for (o("jQuery.event.props are deprecated and removed: " + a.join()); a.length;) e.event.addProp(a.pop());
if (i && !i._migrated_ && (i._migrated_ = !0, o("jQuery.event.fixHooks are deprecated and removed: " + r), (a = i.props) && a.length))
for (; a.length;) e.event.addProp(a.pop());
return n = j.call(this, t), i && i.filter ? i.filter(n, t) : n
}, e.event.add = function(e, n) {
return e === t && "load" === n && "complete" === t.document.readyState && o("jQuery(window).on('load'...) called after load event occurred"), T.apply(this, arguments)
}, e.each(["load", "unload", "error"], function(t, n) {
e.fn[n] = function() {
var e = Array.prototype.slice.call(arguments, 0);
return "load" === n && "string" == typeof e[0] ? C.apply(this, e) : (o("jQuery.fn." + n + "() is deprecated"), e.splice(0, 0, n), arguments.length ? this.on.apply(this, e) : (this.triggerHandler.apply(this, e), this))
}
}), e.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), function(t, n) {
e.fn[n] = function(e, t) {
return o("jQuery.fn." + n + "() event shorthand is deprecated"), arguments.length > 0 ? this.on(n, null, e, t) : this.trigger(n)
}
}), e(function() {
e(t.document).triggerHandler("ready")
}), e.event.special.ready = {
setup: function() {
this === t.document && o("'ready' event is deprecated")
}
}, e.fn.extend({
bind: function(e, t, n) {
return o("jQuery.fn.bind() is deprecated"), this.on(e, null, t, n)
},
unbind: function(e, t) {
return o("jQuery.fn.unbind() is deprecated"), this.off(e, null, t)
},
delegate: function(e, t, n, r) {
return o("jQuery.fn.delegate() is deprecated"), this.on(t, e, n, r)
},
undelegate: function(e, t, n) {
return o("jQuery.fn.undelegate() is deprecated"), 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n)
},
hover: function(e, t) {
return o("jQuery.fn.hover() is deprecated"), this.on("mouseenter", e).on("mouseleave", t || e)
}
});
var S = e.fn.offset;
e.fn.offset = function() {
var n, r = this[0],
i = {
top: 0,
left: 0
};
return r && r.nodeType ? (n = (r.ownerDocument || t.document).documentElement, e.contains(n, r) ? S.apply(this, arguments) : (o("jQuery.fn.offset() requires an element connected to a document"), i)) : (o("jQuery.fn.offset() requires a valid DOM element"), i)
};
var _ = e.param;
e.param = function(t, n) {
var r = e.ajaxSettings && e.ajaxSettings.traditional;
return void 0 === n && r && (o("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"), n = r), _.call(this, t, n)
};
var A = e.fn.andSelf || e.fn.addBack;
e.fn.andSelf = function() {
return o("jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"), A.apply(this, arguments)
};
var E = e.Deferred,
N = [
["resolve", "done", e.Callbacks("once memory"), e.Callbacks("once memory"), "resolved"],
["reject", "fail", e.Callbacks("once memory"), e.Callbacks("once memory"), "rejected"],
["notify", "progress", e.Callbacks("memory"), e.Callbacks("memory")]
];
return e.Deferred = function(t) {
var n = E(),
r = n.promise();
return n.pipe = r.pipe = function() {
var t = arguments;
return o("deferred.pipe() is deprecated"), e.Deferred(function(o) {
e.each(N, function(i, a) {
var s = e.isFunction(t[i]) && t[i];
n[a[1]](function() {
var t = s && s.apply(this, arguments);
t && e.isFunction(t.promise) ? t.promise().done(o.resolve).fail(o.reject).progress(o.notify) : o[a[0] + "With"](this === r ? o.promise() : this, s ? [t] : arguments)
})
}), t = null
}).promise()
}, t && t.call(n, n), n
}, e.Deferred.exceptionHook = E.exceptionHook, e
}(e, window)
}.apply(t, r)) || (e.exports = o)
}, function(e, t, n) {
"use strict";
var r, o;
r = [n(0)], void 0 === (o = function(e) {
return function(e) {
function t(e) {
void 0 === e && (e = window.navigator.userAgent), e = e.toLowerCase();
var t = /(edge)\/([\w.]+)/.exec(e) || /(opr)[\/]([\w.]+)/.exec(e) || /(chrome)[ \/]([\w.]+)/.exec(e) || /(iemobile)[\/]([\w.]+)/.exec(e) || /(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e) || /(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e) || /(webkit)[ \/]([\w.]+)/.exec(e) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e) || /(msie) ([\w.]+)/.exec(e) || e.indexOf("trident") >= 0 && /(rv)(?::| )([\w.]+)/.exec(e) || e.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e) || [],
n = /(ipad)/.exec(e) || /(ipod)/.exec(e) || /(windows phone)/.exec(e) || /(iphone)/.exec(e) || /(kindle)/.exec(e) || /(silk)/.exec(e) || /(android)/.exec(e) || /(win)/.exec(e) || /(mac)/.exec(e) || /(linux)/.exec(e) || /(cros)/.exec(e) || /(playbook)/.exec(e) || /(bb)/.exec(e) || /(blackberry)/.exec(e) || [],
r = {},
o = {
browser: t[5] || t[3] || t[1] || "",
version: t[2] || t[4] || "0",
versionNumber: t[4] || t[2] || "0",
platform: n[0] || ""
};
if (o.browser && (r[o.browser] = !0, r.version = o.version, r.versionNumber = parseInt(o.versionNumber, 10)), o.platform && (r[o.platform] = !0), (r.android || r.bb || r.blackberry || r.ipad || r.iphone || r.ipod || r.kindle || r.playbook || r.silk || r["windows phone"]) && (r.mobile = !0), (r.cros || r.mac || r.linux || r.win) && (r.desktop = !0), (r.chrome || r.opr || r.safari) && (r.webkit = !0), (r.rv || r.iemobile) && (o.browser = "msie", r.msie = !0), r.edge && (delete r.edge, o.browser = "msedge", r.msedge = !0), r.safari && r.blackberry && (o.browser = "blackberry", r.blackberry = !0), r.safari && r.playbook && (o.browser = "playbook", r.playbook = !0), r.bb) {
var i = "blackberry";
o.browser = i, r[i] = !0
}
return r.opr && (o.browser = "opera", r.opera = !0), r.safari && r.android && (o.browser = "android", r.android = !0), r.safari && r.kindle && (o.browser = "kindle", r.kindle = !0), r.safari && r.silk && (o.browser = "silk", r.silk = !0), r.name = o.browser, r.platform = o.platform, r
}
return window.jQBrowser = t(window.navigator.userAgent), window.jQBrowser.uaMatch = t, e && (e.browser = window.jQBrowser), window.jQBrowser
}(e)
}.apply(t, r)) || (e.exports = o)
}, function(e, t, n) {
"use strict";
var r, o, i;
o = [n(0)], void 0 === (i = "function" == typeof(r = function(e) {
var t = e.fn.init;
e.fn.init = function(e) {
var n = Array.prototype.slice.call(arguments);
"string" == typeof e && "#" === e && (console.warn("jQuery('#') is not a valid selector"), n[0] = []);
var r = t.apply(this, arguments);
return r.selector = "string" == typeof e ? e : "", r
}, e.fn.init.prototype = e.fn, void 0 !== e.fn.live && e.isFunction(e.fn.live) || e.fn.extend({
live: function(t, n, r) {
return this.selector && e(document).on(t, this.selector, n, r), console.warn("jQuery.live() has been removed since jquery v1.9, please use jQuery.on() instead."), this
}
})
}) ? r.apply(t, o) : r) || (e.exports = i)
}, function(e, t, n) {
"use strict";
var r = a(n(0)),
o = a(n(1)),
i = n(2);
function a(e) {
return e && e.__esModule ? e : {
default: e
}
}
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
(0, r.default)(document).ready(function() {
o.default.on("updateCart", function(e) {
o.default.cart = e.reason.cart;
var t = (0, r.default)(".js-cart").data("refresh-url");
if (t) {
var n = {};
e && e.reason && (n = {
id_product_attribute: e.reason.idProductAttribute,
id_product: e.reason.idProduct
}), r.default.post(t, n).then(function(e) {
(0, r.default)(".cart-detailed-totals").replaceWith(e.cart_detailed_totals), (0, r.default)(".cart-summary-items-subtotal").replaceWith(e.cart_summary_items_subtotal), (0, r.default)(".cart-summary-subtotals-container").replaceWith(e.cart_summary_subtotals_container), (0, r.default)(".cart-summary-totals").replaceWith(e.cart_summary_totals), (0, r.default)(".cart-detailed-actions").replaceWith(e.cart_detailed_actions), (0, r.default)(".cart-voucher").replaceWith(e.cart_voucher), (0, r.default)(".cart-overview").replaceWith(e.cart_detailed), (0, r.default)("#product_customization_id").val(0), (0, r.default)(".js-cart-line-product-quantity").each(function(e, t) {
var n = (0, r.default)(t);
n.attr("value", n.val())
}), (0, r.default)(".js-cart-payment-step-refresh").length && (0, i.refreshCheckoutPage)(), o.default.emit("updatedCart", {
eventType: "updateCart",
resp: e
})
}).fail(function(e) {
o.default.emit("handleError", {
eventType: "updateCart",
resp: e
})
})
}
});
var e = (0, r.default)("body");
e.on("click", '[data-button-action="add-to-cart"]', function(e) {
if (e.preventDefault(), (0, r.default)("#quantity_wanted").val() > (0, r.default)("[data-stock]").data("stock") && 0 === (0, r.default)("[data-allow-oosp]").data("allow-oosp").length)(0, r.default)('[data-button-action="add-to-cart"]').attr("disabled", "disabled");
else {
var t = (0, r.default)(e.target).closest("form"),
n = t.serialize() + "&add=1&action=update",
i = t.attr("action"),
a = function(e) {
e.parents(".product-add-to-cart").first().find(".product-minimal-quantity").addClass("error"), e.parent().find("label").addClass("error")
},
s = t.find("input[min]");
if (! function(e) {
var t = !0;
return e.each(function(e, n) {
var o = (0, r.default)(n),
i = parseInt(o.attr("min"), 10);
i && o.val() < i && (a(o), t = !1)
}), t
}(s)) return void a(s);
r.default.post(i, n, null, "json").then(function(e) {
o.default.emit("updateCart", {
reason: {
idProduct: e.id_product,
idProductAttribute: e.id_product_attribute,
idCustomization: e.id_customization,
linkAction: "add-to-cart",
cart: e.cart
},
resp: e
})
}).fail(function(e) {
o.default.emit("handleError", {
eventType: "addProductToCart",
resp: e
})
})
}
}), e.on("submit", '[data-link-action="add-voucher"]', function(e) {
e.preventDefault();
var t = (0, r.default)(e.currentTarget),
n = t.attr("action");
0 === t.find("[name=action]").length && t.append((0, r.default)("<input>", {
type: "hidden",
name: "ajax",
value: 1
})), 0 === t.find("[name=action]").length && t.append((0, r.default)("<input>", {
type: "hidden",
name: "action",
value: "update"
})), r.default.post(n, t.serialize(), null, "json").then(function(t) {
t.hasError ? (0, r.default)(".js-error").show().find(".js-error-text").text(t.errors[0]) : o.default.emit("updateCart", {
reason: e.target.dataset,
resp: t
})
}).fail(function(e) {
o.default.emit("handleError", {
eventType: "updateCart",
resp: e
})
})
})
})
}, function(e, t, n) {
"use strict";
var r = l(n(0)),
o = l(n(1)),
i = l(n(13)),
a = l(n(14)),
s = l(n(15)),
u = l(n(16));
function l(e) {
return e && e.__esModule ? e : {
default: e
}
}
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
function c() {
(0, i.default)(), (0, a.default)(), (0, s.default)(),
function() {
var e = new u.default;
e.getClickableSteps().on("click", function(t) {
var n = u.default.getClickedStep(t);
n.isUnreachable() || (e.makeCurrent(n), n.hasContinueButton() ? n.disableAllAfter() : n.enableAllBefore()), o.default.emit("changedCheckoutStep", {
event: t
})
})
}(), (0, r.default)(".checkout-step form").submit(function(e) {
!0 === (0, r.default)(this).data("disabled") && e.preventDefault(), (0, r.default)(this).data("disabled", !0), (0, r.default)('button[type="submit"]', this).addClass("disabled")
})
}(0, r.default)(document).ready(function() {
1 === (0, r.default)("#checkout").length && c()
})
}, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}), t.default = function() {
(0, r.default)(".js-edit-addresses").on("click", function(e) {
e.stopPropagation(), (0, r.default)("#checkout-addresses-step").trigger("click"), o.default.emit("editAddress")
}), (0, r.default)("#delivery-addresses input[type=radio], #invoice-addresses input[type=radio]").on("click", function() {
(0, r.default)(".address-item").removeClass("selected"), (0, r.default)(".address-item:has(input[type=radio]:checked)").addClass("selected");
var e = (0, r.default)(".js-address-error").prop("id").split("-").pop(),
t = (0, r.default)("#not-valid-addresses").val(),
n = this.name.split("_").pop(),
o = (0, r.default)(".js-address-error[name=alert-" + n + "]");
l(!1, e, n), "" !== t && null === s && t.split(",").indexOf(this.value) >= 0 ? (o.show(), l(!0, this.value, n), (0, r.default)(".js-address-error").prop("id", "id-failure-address-" + this.value)) : o.hide();
var i = (0, r.default)(".js-address-error:visible");
c(i.length <= 0)
})
};
var r = a(n(0)),
o = a(n(1)),
i = n(2);
function a(e) {
return e && e.__esModule ? e : {
default: e
}
}
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
var s = (0, i.psGetRequestParameter)("editAddress"),
u = (0, i.psGetRequestParameter)("use_same_address");
(0, r.default)(window).on("load", function() {
var e = (0, r.default)(".js-address-error:visible");
if (0 === parseInt(u) && (0, r.default)("#invoice-addresses input[type=radio]:checked").trigger("click"), (null !== s || (0, r.default)(".js-address-form:visible").length > 1) && e.hide(), e.length > 0) {
var t = (0, r.default)(".js-address-error").prop("id").split("-").pop();
e.each(function() {
l(!0, t, (0, r.default)(this).attr("name").split("-").pop())
})
}
e = (0, r.default)(".js-address-error:visible"), c(e.length <= 0)
});
var l = function(e, t, n) {
var o = "#7a7a7a";
e && ((0, r.default)("#" + n + "-addresses a.edit-address").prop("style", "color: #7a7a7a !important"), o = "#2fb5d2"), (0, r.default)("#id-address-" + n + "-address-" + t + " a.edit-address").prop("style", "color: " + o + " !important")
},
c = function(e) {
(0, r.default)("button[name=confirm-addresses]").prop("disabled", !e)
}
}, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}), t.default =
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
function() {
var e = (0, r.default)("body");
e.on("change", "#js-delivery input", function(e) {
var t = (0, r.default)("#js-delivery"),
n = t.serialize(),
a = (0, r.default)(e.currentTarget).parents(".delivery-option");
r.default.post(t.data("url-update"), n).then(function(e) {
(0, r.default)("#js-checkout-summary").replaceWith(e.preview), (0, r.default)(".js-cart-payment-step-refresh").length && (0, i.refreshCheckoutPage)(), o.default.emit("updatedDeliveryForm", {
dataForm: t.serializeArray(),
deliveryOption: a,
resp: e
})
}).fail(function(e) {
o.default.trigger("handleError", {
eventType: "updateDeliveryOptions",
resp: e
})
})
}), e.on("click", ".js-edit-delivery", function(e) {
e.stopPropagation(), (0, r.default)("#checkout-delivery-step").trigger("click"), o.default.emit("editDelivery")
})
};
var r = a(n(0)),
o = a(n(1)),
i = n(2);
function a(e) {
return e && e.__esModule ? e : {
default: e
}
}
}, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}), t.default = function() {
var e = new i;
return e.init(), e
};
var r = function(e) {
return e && e.__esModule ? e : {
default: e
}
}(n(0));
function o(e, t) {
for (var n = 0; n < t.length; n++) {
var r = t[n];
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r)
}
}
var i = function() {
function e() {
! function(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}(this, e), this.confirmationSelector = "#payment-confirmation", this.paymentSelector = "#payment-section", this.conditionsSelector = "#conditions-to-approve", this.conditionAlertSelector = ".js-alert-payment-conditions", this.additionalInformatonSelector = ".js-additional-information", this.optionsForm = ".js-payment-option-form"
}
return function(e, t, n) {
t && o(e.prototype, t), n && o(e, n)
}(e, [{
key: "init",
value: function() {
(0, r.default)(this.paymentSelector + ' input[type="checkbox"][disabled]').attr("disabled", !1);
var e = (0, r.default)("body");
e.on("change", this.conditionsSelector + ' input[type="checkbox"]', r.default.proxy(this.toggleOrderButton, this)), e.on("change", 'input[name="payment-option"]', r.default.proxy(this.toggleOrderButton, this)), e.on("click", this.confirmationSelector + " button", r.default.proxy(this.confirm, this)), this.collapseOptions()
}
}, {
key: "collapseOptions",
value: function() {
(0, r.default)(this.additionalInformatonSelector + ", " + this.optionsForm).hide()
}
}, {
key: "getSelectedOption",
value: function() {
return (0, r.default)('input[name="payment-option"]:checked').attr("id")
}
}, {
key: "hideConfirmation",
value: function() {
(0, r.default)(this.confirmationSelector).hide()
}
}, {
key: "showConfirmation",
value: function() {
(0, r.default)(this.confirmationSelector).show()
}
}, {
key: "toggleOrderButton",
value: function() {
var e = !0;
(0, r.default)(this.conditionsSelector + ' input[type="checkbox"]').each(function(t, n) {
n.checked || (e = !1)
}), this.collapseOptions();
var t = this.getSelectedOption();
if (t || (e = !1), (0, r.default)("#" + t + "-additional-information").show(), (0, r.default)("#pay-with-" + t + "-form").show(), (0, r.default)(".js-payment-binary").hide(), (0, r.default)("#" + t).hasClass("binary")) {
var n = this.getPaymentOptionSelector(t);
this.hideConfirmation(), (0, r.default)(n).show(), e ? (0, r.default)(n).removeClass("disabled") : (0, r.default)(n).addClass("disabled")
} else this.showConfirmation(), (0, r.default)(this.confirmationSelector + " button").attr("disabled", !e), e ? (0, r.default)(this.conditionAlertSelector).hide() : (0, r.default)(this.conditionAlertSelector).show()
}
}, {
key: "getPaymentOptionSelector",
value: function(e) {
var t = (0, r.default)("#".concat(e)).data("module-name");
return ".js-payment-".concat(t)
}
}, {
key: "confirm",
value: function() {
var e = this.getSelectedOption();
e && ((0, r.default)(this.confirmationSelector + " button").prop("disabled", !0), (0, r.default)("#pay-with-" + e + "-form form").submit())
}
}]), e
}()
}, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}), t.default = void 0;
var r = function(e) {
return e && e.__esModule ? e : {
default: e
}
}(n(0));
function o(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
function i(e, t) {
for (var n = 0; n < t.length; n++) {
var r = t[n];
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r)
}
}
function a(e, t, n) {
return t && i(e.prototype, t), n && i(e, n), e
}
var s = ".".concat("js-current-step"),
u = function() {
function e() {
o(this, e), this.$steps = (0, r.default)(".checkout-step"), this.$steps.off("click"), this.$clickableSteps = (0, r.default)(s).prevAll().andSelf(), this.$clickableSteps.addClass("-clickable")
}
return a(e, [{
key: "getClickableSteps",
value: function() {
return this.$clickableSteps
}
}, {
key: "makeCurrent",
value: function(e) {
this.$steps.removeClass("-current"), this.$steps.removeClass("js-current-step"), e.makeCurrent()
}
}], [{
key: "getClickedStep",
value: function(e) {
return new l((0, r.default)(e.target).closest(".checkout-step"))
}
}]), e
}();
t.default = u;
var l = function() {
function e(t) {
o(this, e), this.$step = t
}
return a(e, [{
key: "isUnreachable",
value: function() {
return this.$step.hasClass("-unreachable")
}
}, {
key: "makeCurrent",
value: function() {
this.$step.addClass("-current"), this.$step.addClass("js-current-step")
}
}, {
key: "hasContinueButton",
value: function() {
return (0, r.default)("button.continue", this.$step).length > 0
}
}, {
key: "disableAllAfter",
value: function() {
var e = this.$step.nextAll();
e.addClass("-unreachable").removeClass("-complete"), (0, r.default)(".step-title", e).addClass("not-allowed")
}
}, {
key: "enableAllBefore",
value: function() {
var e = this.$step.nextAll(".checkout-step.-clickable");
e.removeClass("-unreachable").addClass("-complete"), (0, r.default)(".step-title", e).removeClass("not-allowed")
}
}]), e
}()
}, function(e, t, n) {
"use strict";
var r = function(e) {
return e && e.__esModule ? e : {
default: e
}
}
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
(n(0));
var o = !1;
function i(e) {
o = !1, prestashop.emit("updateProductList", e), window.history.pushState(e, document.title, e.current_url)
}
function a() {
o = !1
}(0, r.default)(document).ready(function() {
prestashop.on("updateFacets", function(e) {
! function(e) {
if (o);
else {
var t = [e, e.indexOf("?") >= 0 ? "&" : "?", "from-xhr"].join("");
r.default.get(t, null, null, "json").then(i).fail(a)
}
}(e)
})
})
}, function(e, t, n) {
"use strict";
var r = i(n(0)),
o = i(n(1));
function i(e) {
return e && e.__esModule ? e : {
default: e
}
}
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
(0, r.default)(document).ready(function() {
(0, r.default)("body").on("click", ".quick-view", function(e) {
o.default.emit("clickQuickView", {
dataset: (0, r.default)(e.target).closest(".js-product-miniature").data()
}), e.preventDefault()
})
})
}, function(e, t, n) {
"use strict";
var r = a(n(0)),
o = a(n(1)),
i = n(2);
function a(e) {
return e && e.__esModule ? e : {
default: e
}
}
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
var s = null,
u = null;
function l(e) {
void 0 === e && (e = "An error occurred while processing your request"),
function(e, t) {
var n = (0, r.default)('<div class="alert alert-danger ajax-error" role="alert">'.concat(t, "</div>"));
e.replaceWith(n)
}((0, r.default)(".quickview #product-availability, .page-product:not(.modal-open) .row #product-availability, .page-product:not(.modal-open) .product-container #product-availability"), e)
}
function c(e, t, n) {
var a = (0, r.default)(".product-actions"),
c = a.find("#quantity_wanted"),
f = a.find("form:first").serialize(),
p = (0, i.psGetRequestParameter)("preview");
if (p = null !== p ? "&preview=" + p : "", null !== n) {
if (!e || "keyup" !== e.type || c.val() !== c.data("old-value")) {
c.data("old-value", c.val()), u && clearTimeout(u);
var h = 30;
"updatedProductQuantity" === t && (h = 750), u = setTimeout(function() {
"" !== f && (s = r.default.ajax({
url: n + (-1 === n.indexOf("?") ? "?" : "&") + f + p,
method: "POST",
data: {
quickview: (0, r.default)(".modal.quickview.in").length,
ajax: 1,
action: "refresh",
quantity_wanted: "updatedProductCombination" === t ? c.attr("min") : c.val()
},
dataType: "json",
beforeSend: function() {
null !== s && s.abort()
},
error: function(e, t, n) {
"abort" !== t && 0 === (0, r.default)("section#main > .ajax-error").length && l()
},
success: function(e, n, i) {
var a = (0, r.default)("<div>").append(e.product_cover_thumbnails);
(0, r.default)(".quickview .images-container, .page-product:not(.modal-open) .row .images-container, .page-product:not(.modal-open) .product-container .images-container").html() !== a.find(".quickview .images-container, .page-product:not(.modal-open) .row .images-container, .page-product:not(.modal-open) .product-container .images-container").html() && (0, r.default)(".quickview .images-container, .page-product:not(.modal-open) .row .images-container, .page-product:not(.modal-open) .product-container .images-container").replaceWith(e.product_cover_thumbnails), (0, r.default)(".quickview .product-prices, .page-product:not(.modal-open) .row .product-prices, .page-product:not(.modal-open) .product-container .product-prices").first().replaceWith(e.product_prices), (0, r.default)(".quickview .product-customization, .page-product:not(.modal-open) .row .product-customization, .page-product:not(.modal-open) .product-container .product-customization").first().replaceWith(e.product_customization), (0, r.default)(".quickview .product-variants, .page-product:not(.modal-open) .row .product-variants, .page-product:not(.modal-open) .product-container .product-variants").first().replaceWith(e.product_variants), (0, r.default)(".quickview .product-discounts, .page-product:not(.modal-open) .row .product-discounts, .page-product:not(.modal-open) .product-container .product-discounts").first().replaceWith(e.product_discounts), (0, r.default)(".quickview .product-additional-info, .page-product:not(.modal-open) .row .product-additional-info, .page-product:not(.modal-open) .product-container .product-additional-info").first().replaceWith(e.product_additional_info), (0, r.default)(".quickview #product-details, #product-details").replaceWith(e.product_details), (0, r.default)(".quickview .product-flags, .page-product:not(.modal-open) .row .product-flags, .page-product:not(.modal-open) .product-container .product-flags").first().replaceWith(e.product_flags),
function(e) {
var t = null;
(0, r.default)(e.product_add_to_cart).each(function(e, n) {
if ((0, r.default)(n).hasClass("product-add-to-cart")) return t = (0, r.default)(n), !1
}), null === t && l();
var n = (0, r.default)(".product-add-to-cart");
d({
$addToCartSnippet: t,
$targetParent: n,
targetSelector: ".add"
}), d({
$addToCartSnippet: t,
$targetParent: n,
targetSelector: "#product-availability"
}), d({
$addToCartSnippet: t,
$targetParent: n,
targetSelector: ".product-minimal-quantity"
})
}(e);
var s = parseInt(e.product_minimal_quantity, 10);
isNaN(s) || "updatedProductQuantity" === t || (c.attr("min", s), c.val(s)), o.default.emit("updatedProduct", e)
},
complete: function(e, t) {
s = null, u = null
}
}))
}.bind(s, u), h)
}
} else l()
}
function d(e) {
var t = (0, r.default)(e.$targetParent.find(e.targetSelector));
if (!(t.length <= 0)) {
var n = e.$addToCartSnippet.find(e.targetSelector);
n.length > 0 ? t.replaceWith(n[0].outerHTML) : t.html("")
}
}(0, r.default)(document).ready(function() {
(0, r.default)("body").on("change touchspin.on.startspin", ".product-variants *[name]", function(e) {
o.default.emit("updateProduct_", {
eventType: "updatedProductCombination",
event: e,
resp: {},
reason: {
productUrl: o.default.urls.pages.product || ""
}
})
}), (0, r.default)("body").on("click", ".product-refresh", function(e, t) {
e.preventDefault();
var n = "updatedProductCombination";
void 0 !== t && t.eventType && (n = t.eventType), o.default.emit("updateProduct_", {
eventType: n,
event: e,
resp: {},
reason: {
productUrl: o.default.urls.pages.product || ""
}
})
}), o.default.on("updateProduct_", function(e) {
var t = e.eventType,
n = e.event;
(function() {
var e = r.default.Deferred(),
t = (0, r.default)(".product-actions"),
n = (0, r.default)("#quantity_wanted");
if (null !== o.default && null !== o.default.urls && null !== o.default.urls.pages && "" !== o.default.urls.pages.product && null !== o.default.urls.pages.product) return e.resolve(o.default.urls.pages.product), e.promise();
var i = {};
return (0, r.default)(t.find("form:first").serializeArray()).each(function(e, t) {
i[t.name] = t.value
}), r.default.ajax({
url: t.find("form:first").attr("action"),
method: "POST",
data: Object.assign({
ajax: 1,
action: "productrefresh",
quantity_wanted: n.val()
}, i),
dataType: "json",
success: function(t) {
var n = t.productUrl;
o.default.page.canonical = n, e.resolve(n)
},
error: function(t, n, r) {
e.reject({
jqXHR: t,
textStatus: n,
errorThrown: r
})
}
}), e.promise()
})().done(function(e) {
return c(n, t, e)
}).fail(function() {
0 === (0, r.default)("section#main > .ajax-error").length && l()
})
}), o.default.on("updatedProduct", function(e) {
if (e.product_url && e.id_product_attribute && !(0, r.default)(".modal.quickview").length) {
var t = document.title;
e.product_title && (t = e.product_title, (0, r.default)(document).attr("title", t)), window.history.replaceState({
id_product_attribute: e.id_product_attribute
}, t, e.product_url)
}
}), o.default.on("updateCart", function(e) {
e && e.reason && "add-to-cart" === e.reason.linkAction && (0, r.default)("#quantity_wanted").val(1)
}), o.default.on("showErrorNextToAddtoCartButton", function(e) {
e && e.errorMessage && l(e.errorMessage)
})
})
}, function(e, t, n) {
"use strict";
var r = i(n(0)),
o = i(n(1));
function i(e) {
return e && e.__esModule ? e : {
default: e
}
}(0, r.default)(document).ready(function() {
! function(e) {
(0, r.default)("body").on("change", e.country, function() {
var t = {
id_country: (0, r.default)(e.country).val(),
id_address: (0, r.default)(e.address + " form").data("id-address")
},
n = (0, r.default)(e.address + " form").data("refresh-url"),
i = e.address + " input";
r.default.post(n, t).then(function(t) {
var n = [];
(0, r.default)(i).each(function() {
n[(0, r.default)(this).prop("name")] = (0, r.default)(this).val()
}), (0, r.default)(e.address).replaceWith(t.address_form), (0, r.default)(i).each(function() {
(0, r.default)(this).val(n[(0, r.default)(this).prop("name")])
}), o.default.emit("updatedAddressForm", {
target: (0, r.default)(e.address),
resp: t
})
}).fail(function(e) {
o.default.emit("handleError", {
eventType: "updateAddressForm",
resp: e
})
})
})
}({
country: ".js-country",
address: ".js-address-form"
})
})
}, function(e, t, n) {
"use strict";
function r(e) {
return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
return typeof e
} : function(e) {
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
})(e)
}
function o() {
this._events = this._events || {}, this._maxListeners = this._maxListeners || void 0
}
function i(e) {
return "function" == typeof e
}
function a(e) {
return "object" === r(e) && null !== e
}
function s(e) {
return void 0 === e
}
e.exports = o, o.EventEmitter = o, o.prototype._events = void 0, o.prototype._maxListeners = void 0, o.defaultMaxListeners = 10, o.prototype.setMaxListeners = function(e) {
if (! function(e) {
return "number" == typeof e
}(e) || e < 0 || isNaN(e)) throw TypeError("n must be a positive number");
return this._maxListeners = e, this
}, o.prototype.emit = function(e) {
var t, n, r, o, u, l;
if (this._events || (this._events = {}), "error" === e && (!this._events.error || a(this._events.error) && !this._events.error.length)) {
if ((t = arguments[1]) instanceof Error) throw t;
var c = new Error('Uncaught, unspecified "error" event. (' + t + ")");
throw c.context = t, c
}
if (s(n = this._events[e])) return !1;
if (i(n)) switch (arguments.length) {
case 1:
n.call(this);
break;
case 2:
n.call(this, arguments[1]);
break;
case 3:
n.call(this, arguments[1], arguments[2]);
break;
default:
o = Array.prototype.slice.call(arguments, 1), n.apply(this, o)
} else if (a(n))
for (o = Array.prototype.slice.call(arguments, 1), r = (l = n.slice()).length, u = 0; u < r; u++) l[u].apply(this, o);
return !0
}, o.prototype.addListener = function(e, t) {
var n;
if (!i(t)) throw TypeError("listener must be a function");
return this._events || (this._events = {}), this._events.newListener && this.emit("newListener", e, i(t.listener) ? t.listener : t), this._events[e] ? a(this._events[e]) ? this._events[e].push(t) : this._events[e] = [this._events[e], t] : this._events[e] = t, a(this._events[e]) && !this._events[e].warned && (n = s(this._maxListeners) ? o.defaultMaxListeners : this._maxListeners) && n > 0 && this._events[e].length > n && (this._events[e].warned = !0, console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.", this._events[e].length), "function" == typeof console.trace && console.trace()), this
}, o.prototype.on = o.prototype.addListener, o.prototype.once = function(e, t) {
if (!i(t)) throw TypeError("listener must be a function");
var n = !1;
function r() {
this.removeListener(e, r), n || (n = !0, t.apply(this, arguments))
}
return r.listener = t, this.on(e, r), this
}, o.prototype.removeListener = function(e, t) {
var n, r, o, s;
if (!i(t)) throw TypeError("listener must be a function");
if (!this._events || !this._events[e]) return this;
if (o = (n = this._events[e]).length, r = -1, n === t || i(n.listener) && n.listener === t) delete this._events[e], this._events.removeListener && this.emit("removeListener", e, t);
else if (a(n)) {
for (s = o; s-- > 0;)
if (n[s] === t || n[s].listener && n[s].listener === t) {
r = s;
break
}
if (r < 0) return this;
1 === n.length ? (n.length = 0, delete this._events[e]) : n.splice(r, 1), this._events.removeListener && this.emit("removeListener", e, t)
}
return this
}, o.prototype.removeAllListeners = function(e) {
var t, n;
if (!this._events) return this;
if (!this._events.removeListener) return 0 === arguments.length ? this._events = {} : this._events[e] && delete this._events[e], this;
if (0 === arguments.length) {
for (t in this._events) "removeListener" !== t && this.removeAllListeners(t);
return this.removeAllListeners("removeListener"), this._events = {}, this
}
if (i(n = this._events[e])) this.removeListener(e, n);
else if (n)
for (; n.length;) this.removeListener(e, n[n.length - 1]);
return delete this._events[e], this
}, o.prototype.listeners = function(e) {
return this._events && this._events[e] ? i(this._events[e]) ? [this._events[e]] : this._events[e].slice() : []
}, o.prototype.listenerCount = function(e) {
if (this._events) {
var t = this._events[e];
if (i(t)) return 1;
if (t) return t.length
}
return 0
}, o.listenerCount = function(e, t) {
return e.listenerCount(t)
}
}, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}), t.default = void 0;
var r = i(n(0)),
o = i(n(23));
function i(e) {
return e && e.__esModule ? e : {
default: e
}
}
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
var a = function(e) {
var t = (0, r.default)(e);
r.default.each(t, function(e, t) {
if (!t.checkValidity()) {
var n = t.value.split("@");
o.default.toASCII(n[0]) === n[0] && (t.value = o.default.toASCII(t.value))
}
})
};
t.default = a
}, function(e, t, n) {
"use strict";
(function(e, r) {
var o;
function i(e) {
return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
return typeof e
} : function(e) {
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
})(e)
}
/*! https://mths.be/punycode v1.4.1 by @mathias */
! function(a) {
var s = "object" == i(t) && t && !t.nodeType && t,
u = "object" == i(e) && e && !e.nodeType && e,
l = "object" == (void 0 === r ? "undefined" : i(r)) && r;
l.global !== l && l.window !== l && l.self !== l || (a = l);
var c, d, f = 2147483647,
p = 36,
h = 1,
v = 26,
m = 38,
y = 700,
g = 72,
b = 128,
x = "-",
w = /^xn--/,
k = /[^\x20-\x7E]/,
C = /[\x2E\u3002\uFF0E\uFF61]/g,
T = {
overflow: "Overflow: input needs wider integers to process",
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
"invalid-input": "Invalid input"
},
j = p - h,
S = Math.floor,
_ = String.fromCharCode;
function A(e) {
throw new RangeError(T[e])
}
function E(e, t) {
for (var n = e.length, r = []; n--;) r[n] = t(e[n]);
return r
}
function N(e, t) {
var n = e.split("@"),
r = "";
return n.length > 1 && (r = n[0] + "@", e = n[1]), r + E((e = e.replace(C, ".")).split("."), t).join(".")
}
function D(e) {
for (var t, n, r = [], o = 0, i = e.length; o < i;)(t = e.charCodeAt(o++)) >= 55296 && t <= 56319 && o < i ? 56320 == (64512 & (n = e.charCodeAt(o++))) ? r.push(((1023 & t) << 10) + (1023 & n) + 65536) : (r.push(t), o--) : r.push(t);
return r
}
function q(e) {
return E(e, function(e) {
var t = "";
return e > 65535 && (t += _((e -= 65536) >>> 10 & 1023 | 55296), e = 56320 | 1023 & e), t += _(e)
}).join("")
}
function L(e) {
return e - 48 < 10 ? e - 22 : e - 65 < 26 ? e - 65 : e - 97 < 26 ? e - 97 : p
}
function O(e, t) {
return e + 22 + 75 * (e < 26) - ((0 != t) << 5)
}
function P(e, t, n) {
var r = 0;
for (e = n ? S(e / y) : e >> 1, e += S(e / t); e > j * v >> 1; r += p) e = S(e / j);
return S(r + (j + 1) * e / (e + m))
}
function M(e) {
var t, n, r, o, i, a, s, u, l, c, d = [],
m = e.length,
y = 0,
w = b,
k = g;
for ((n = e.lastIndexOf(x)) < 0 && (n = 0), r = 0; r < n; ++r) e.charCodeAt(r) >= 128 && A("not-basic"), d.push(e.charCodeAt(r));
for (o = n > 0 ? n + 1 : 0; o < m;) {
for (i = y, a = 1, s = p; o >= m && A("invalid-input"), ((u = L(e.charCodeAt(o++))) >= p || u > S((f - y) / a)) && A("overflow"), y += u * a, !(u < (l = s <= k ? h : s >= k + v ? v : s - k)); s += p) a > S(f / (c = p - l)) && A("overflow"), a *= c;
k = P(y - i, t = d.length + 1, 0 == i), S(y / t) > f - w && A("overflow"), w += S(y / t), y %= t, d.splice(y++, 0, w)
}
return q(d)
}
function H(e) {
var t, n, r, o, i, a, s, u, l, c, d, m, y, w, k, C = [];
for (m = (e = D(e)).length, t = b, n = 0, i = g, a = 0; a < m; ++a)(d = e[a]) < 128 && C.push(_(d));
for (r = o = C.length, o && C.push(x); r < m;) {
for (s = f, a = 0; a < m; ++a)(d = e[a]) >= t && d < s && (s = d);
for (s - t > S((f - n) / (y = r + 1)) && A("overflow"), n += (s - t) * y, t = s, a = 0; a < m; ++a)
if ((d = e[a]) < t && ++n > f && A("overflow"), d == t) {
for (u = n, l = p; !(u < (c = l <= i ? h : l >= i + v ? v : l - i)); l += p) k = u - c, w = p - c, C.push(_(O(c + k % w, 0))), u = S(k / w);
C.push(_(O(u, 0))), i = P(n, y, r == o), n = 0, ++r
}++n, ++t
}
return C.join("")
}
if (c = {
version: "1.4.1",
ucs2: {
decode: D,
encode: q
},
decode: M,
encode: H,
toASCII: function(e) {
return N(e, function(e) {
return k.test(e) ? "xn--" + H(e) : e
})
},
toUnicode: function(e) {
return N(e, function(e) {
return w.test(e) ? M(e.slice(4).toLowerCase()) : e
})
}
}, "object" == i(n(4)) && n(4)) void 0 === (o = function() {
return c
}.call(t, n, t, e)) || (e.exports = o);
else if (s && u)
if (e.exports == s) u.exports = c;
else
for (d in c) c.hasOwnProperty(d) && (s[d] = c[d]);
else a.punycode = c
}(void 0)
}).call(this, n(3)(e), n(24))
}, function(e, t, n) {
"use strict";
function r(e) {
return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
return typeof e
} : function(e) {
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
})(e)
}
var o;
o = function() {
return this
}();
try {
o = o || Function("return this")() || (0, eval)("this")
} catch (e) {
"object" === ("undefined" == typeof window ? "undefined" : r(window)) && (o = window)
}
e.exports = o
}]);
//# sourceMappingURL=core.js.map