diff --git a/ivatar/ivataraccount/templates/choose_libravatar_export.html b/ivatar/ivataraccount/templates/choose_libravatar_export.html index 7199c4f..5732b59 100644 --- a/ivatar/ivataraccount/templates/choose_libravatar_export.html +++ b/ivatar/ivataraccount/templates/choose_libravatar_export.html @@ -8,12 +8,13 @@

{% trans 'Choose items to be imported' %}

diff --git a/ivatar/ivataraccount/templates/email_confirmed.html b/ivatar/ivataraccount/templates/email_confirmed.html index a947276..a8eebb2 100644 --- a/ivatar/ivataraccount/templates/email_confirmed.html +++ b/ivatar/ivataraccount/templates/email_confirmed.html @@ -7,12 +7,13 @@

{% trans 'Email confirmation' %}

diff --git a/ivatar/ivataraccount/templates/import_photo.html b/ivatar/ivataraccount/templates/import_photo.html index f90a39c..88dbef1 100644 --- a/ivatar/ivataraccount/templates/import_photo.html +++ b/ivatar/ivataraccount/templates/import_photo.html @@ -7,12 +7,13 @@

{% trans 'Import photo' %}

diff --git a/ivatar/static/css/libravatar_base.css b/ivatar/static/css/libravatar_base.css index 6880520..ee98454 100644 --- a/ivatar/static/css/libravatar_base.css +++ b/ivatar/static/css/libravatar_base.css @@ -1319,7 +1319,8 @@ form p { } .checkbox input + label:before, .radio input + label:before { - font-family: FontAwesome; + font-family: "Font Awesome 7 Free"; + font-weight: 900; display: inline-block; letter-spacing: 5px; font-size: 20px; diff --git a/ivatar/static/js/jquery-3.7.1.slim.min.js b/ivatar/static/js/jquery-3.7.1.min.js similarity index 63% rename from ivatar/static/js/jquery-3.7.1.slim.min.js rename to ivatar/static/js/jquery-3.7.1.min.js index a00a9d1..223228e 100644 --- a/ivatar/static/js/jquery-3.7.1.slim.min.js +++ b/ivatar/static/js/jquery-3.7.1.min.js @@ -1,4 +1,4 @@ -/*! jQuery v3.7.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/animatedSelector,-effects/Tween | (c) OpenJS Foundation and other contributors | jquery.org/license */ +/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ !(function (e, t) { "use strict"; "object" == typeof module && "object" == typeof module.exports @@ -40,12 +40,12 @@ y = function (e) { return null != e && e === e.window; }, - m = ie.document, + C = ie.document, u = { type: !0, src: !0, nonce: !0, noModule: !0 }; - function b(e, t, n) { + function m(e, t, n) { var r, i, - o = (n = n || m).createElement("script"); + o = (n = n || C).createElement("script"); if (((o.text = e), t)) for (r in u) (i = t[r] || (t.getAttribute && t.getAttribute(r))) && @@ -59,8 +59,7 @@ ? n[i.call(e)] || "object" : typeof e; } - var t = - "3.7.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/animatedSelector,-effects/Tween", + var t = "3.7.1", l = /HTML$/i, ce = function (e, t) { return new ce.fn.init(e, t); @@ -203,7 +202,7 @@ return !0; }, globalEval: function (e, t, n) { - b(e, { nonce: t && t.nonce }, n); + m(e, { nonce: t && t.nonce }, n); }, each: function (e, t) { var n, @@ -279,8 +278,8 @@ n["[object " + t + "]"] = t.toLowerCase(); }, ); - var de = oe.pop, - pe = oe.sort, + var pe = oe.pop, + de = oe.sort, he = oe.splice, ge = "[\\x20\\t\\r\\n\\f]", ve = new RegExp("^" + ge + "+|((?:^|[^\\\\])(?:\\\\.)*)" + ge + "+$", "g"); @@ -298,7 +297,7 @@ ); }; var f = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g; - function d(e, t) { + function p(e, t) { return t ? "\0" === e ? "\ufffd" @@ -306,24 +305,24 @@ : "\\" + e; } ce.escapeSelector = function (e) { - return (e + "").replace(f, d); + return (e + "").replace(f, p); }; - var ye = m, + var ye = C, me = s; !(function () { var e, - x, + b, w, o, a, - C, - r, T, - p, + r, + C, + d, i, - E = me, - k = ce.expando, - S = 0, + k = me, + S = ce.expando, + E = 0, n = 0, s = W(), c = W(), @@ -338,7 +337,7 @@ "(?:\\\\[\\da-fA-F]{1,6}" + ge + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", - d = + p = "\\[" + ge + "*(" + @@ -356,19 +355,19 @@ ":(" + t + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + - d + + p + ")*)|.*)\\)|)", v = new RegExp(ge + "+", "g"), y = new RegExp("^" + ge + "*," + ge + "*"), m = new RegExp("^" + ge + "*([>+~]|" + ge + ")" + ge + "*"), - b = new RegExp(ge + "|>"), - A = new RegExp(g), - D = new RegExp("^" + t + "$"), - N = { + x = new RegExp(ge + "|>"), + j = new RegExp(g), + A = new RegExp("^" + t + "$"), + D = { ID: new RegExp("^#(" + t + ")"), CLASS: new RegExp("^\\.(" + t + ")"), TAG: new RegExp("^(" + t + "|[*])"), - ATTR: new RegExp("^" + d), + ATTR: new RegExp("^" + p), PSEUDO: new RegExp("^" + g), CHILD: new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + @@ -394,12 +393,12 @@ "i", ), }, - L = /^(?:input|select|textarea|button)$/i, - j = /^h\d$/i, - O = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, - P = /[+~]/, - H = new RegExp("\\\\[\\da-fA-F]{1,6}" + ge + "?|\\\\([^\\r\\n\\f])", "g"), - q = function (e, t) { + N = /^(?:input|select|textarea|button)$/i, + q = /^h\d$/i, + L = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + H = /[+~]/, + O = new RegExp("\\\\[\\da-fA-F]{1,6}" + ge + "?|\\\\([^\\r\\n\\f])", "g"), + P = function (e, t) { var n = "0x" + e.slice(1) - 65536; return ( t || @@ -408,20 +407,20 @@ : String.fromCharCode((n >> 10) | 55296, (1023 & n) | 56320)) ); }, - R = function () { + M = function () { V(); }, - M = K( + R = J( function (e) { return !0 === e.disabled && fe(e, "fieldset"); }, { dir: "parentNode", next: "legend" }, ); try { - E.apply((oe = ae.call(ye.childNodes)), ye.childNodes), + k.apply((oe = ae.call(ye.childNodes)), ye.childNodes), oe[ye.childNodes.length].nodeType; } catch (e) { - E = { + k = { apply: function (e, t) { me.apply(e, ae.call(t)); }, @@ -439,46 +438,46 @@ l, c, f = e && e.ownerDocument, - d = e ? e.nodeType : 9; + p = e ? e.nodeType : 9; if ( ((n = n || []), - "string" != typeof t || !t || (1 !== d && 9 !== d && 11 !== d)) + "string" != typeof t || !t || (1 !== p && 9 !== p && 11 !== p)) ) return n; - if (!r && (V(e), (e = e || C), T)) { - if (11 !== d && (u = O.exec(t))) + if (!r && (V(e), (e = e || T), C)) { + if (11 !== p && (u = L.exec(t))) if ((i = u[1])) { - if (9 === d) { + if (9 === p) { if (!(a = e.getElementById(i))) return n; - if (a.id === i) return E.call(n, a), n; + if (a.id === i) return k.call(n, a), n; } else if ( f && (a = f.getElementById(i)) && I.contains(e, a) && a.id === i ) - return E.call(n, a), n; + return k.call(n, a), n; } else { - if (u[2]) return E.apply(n, e.getElementsByTagName(t)), n; + if (u[2]) return k.apply(n, e.getElementsByTagName(t)), n; if ((i = u[3]) && e.getElementsByClassName) - return E.apply(n, e.getElementsByClassName(i)), n; + return k.apply(n, e.getElementsByClassName(i)), n; } - if (!(h[t + " "] || (p && p.test(t)))) { - if (((c = t), (f = e), 1 === d && (b.test(t) || m.test(t)))) { - ((f = (P.test(t) && X(e.parentNode)) || e) == e && le.scope) || + if (!(h[t + " "] || (d && d.test(t)))) { + if (((c = t), (f = e), 1 === p && (x.test(t) || m.test(t)))) { + ((f = (H.test(t) && U(e.parentNode)) || e) == e && le.scope) || ((s = e.getAttribute("id")) ? (s = ce.escapeSelector(s)) - : e.setAttribute("id", (s = k))), + : e.setAttribute("id", (s = S))), (o = (l = Y(t)).length); - while (o--) l[o] = (s ? "#" + s : ":scope") + " " + G(l[o]); + while (o--) l[o] = (s ? "#" + s : ":scope") + " " + Q(l[o]); c = l.join(","); } try { - return E.apply(n, f.querySelectorAll(c)), n; + return k.apply(n, f.querySelectorAll(c)), n; } catch (e) { h(t, !0); } finally { - s === k && e.removeAttribute("id"); + s === S && e.removeAttribute("id"); } } } @@ -488,16 +487,16 @@ var r = []; return function e(t, n) { return ( - r.push(t + " ") > x.cacheLength && delete e[r.shift()], + r.push(t + " ") > b.cacheLength && delete e[r.shift()], (e[t + " "] = n) ); }; } - function B(e) { - return (e[k] = !0), e; - } function F(e) { - var t = C.createElement("fieldset"); + return (e[S] = !0), e; + } + function $(e) { + var t = T.createElement("fieldset"); try { return !!e(t); } catch (e) { @@ -506,7 +505,7 @@ t.parentNode && t.parentNode.removeChild(t), (t = null); } } - function $(t) { + function B(t) { return function (e) { return fe(e, "input") && e.type === t; }; @@ -524,16 +523,16 @@ ? "label" in e.parentNode ? e.parentNode.disabled === t : e.disabled === t - : e.isDisabled === t || (e.isDisabled !== !t && M(e) === t) + : e.isDisabled === t || (e.isDisabled !== !t && R(e) === t) : e.disabled === t : "label" in e && e.disabled === t; }; } - function U(a) { - return B(function (o) { + function X(a) { + return F(function (o) { return ( (o = +o), - B(function (e, t) { + F(function (e, t) { var n, r = a([], e.length, o), i = r.length; @@ -542,58 +541,58 @@ ); }); } - function X(e) { + function U(e) { return e && "undefined" != typeof e.getElementsByTagName && e; } function V(e) { var t, n = e ? e.ownerDocument || e : ye; return ( - n != C && + n != T && 9 === n.nodeType && n.documentElement && - ((r = (C = n).documentElement), - (T = !ce.isXMLDoc(C)), + ((r = (T = n).documentElement), + (C = !ce.isXMLDoc(T)), (i = r.matches || r.webkitMatchesSelector || r.msMatchesSelector), r.msMatchesSelector && - ye != C && - (t = C.defaultView) && + ye != T && + (t = T.defaultView) && t.top !== t && - t.addEventListener("unload", R), - (le.getById = F(function (e) { + t.addEventListener("unload", M), + (le.getById = $(function (e) { return ( (r.appendChild(e).id = ce.expando), - !C.getElementsByName || !C.getElementsByName(ce.expando).length + !T.getElementsByName || !T.getElementsByName(ce.expando).length ); })), - (le.disconnectedMatch = F(function (e) { + (le.disconnectedMatch = $(function (e) { return i.call(e, "*"); })), - (le.scope = F(function () { - return C.querySelectorAll(":scope"); + (le.scope = $(function () { + return T.querySelectorAll(":scope"); })), - (le.cssHas = F(function () { + (le.cssHas = $(function () { try { - return C.querySelector(":has(*,:jqfake)"), !1; + return T.querySelector(":has(*,:jqfake)"), !1; } catch (e) { return !0; } })), le.getById - ? ((x.filter.ID = function (e) { - var t = e.replace(H, q); + ? ((b.filter.ID = function (e) { + var t = e.replace(O, P); return function (e) { return e.getAttribute("id") === t; }; }), - (x.find.ID = function (e, t) { - if ("undefined" != typeof t.getElementById && T) { + (b.find.ID = function (e, t) { + if ("undefined" != typeof t.getElementById && C) { var n = t.getElementById(e); return n ? [n] : []; } })) - : ((x.filter.ID = function (e) { - var n = e.replace(H, q); + : ((b.filter.ID = function (e) { + var n = e.replace(O, P); return function (e) { var t = "undefined" != typeof e.getAttributeNode && @@ -601,8 +600,8 @@ return t && t.value === n; }; }), - (x.find.ID = function (e, t) { - if ("undefined" != typeof t.getElementById && T) { + (b.find.ID = function (e, t) { + if ("undefined" != typeof t.getElementById && C) { var n, r, i, @@ -618,41 +617,41 @@ return []; } })), - (x.find.TAG = function (e, t) { + (b.find.TAG = function (e, t) { return "undefined" != typeof t.getElementsByTagName ? t.getElementsByTagName(e) : t.querySelectorAll(e); }), - (x.find.CLASS = function (e, t) { - if ("undefined" != typeof t.getElementsByClassName && T) + (b.find.CLASS = function (e, t) { + if ("undefined" != typeof t.getElementsByClassName && C) return t.getElementsByClassName(e); }), - (p = []), - F(function (e) { + (d = []), + $(function (e) { var t; (r.appendChild(e).innerHTML = ""), e.querySelectorAll("[selected]").length || - p.push("\\[" + ge + "*(?:value|" + f + ")"), - e.querySelectorAll("[id~=" + k + "-]").length || p.push("~="), - e.querySelectorAll("a#" + k + "+*").length || p.push(".#.+[+~]"), - e.querySelectorAll(":checked").length || p.push(":checked"), - (t = C.createElement("input")).setAttribute("type", "hidden"), + d.push("\\[" + ge + "*(?:value|" + f + ")"), + e.querySelectorAll("[id~=" + S + "-]").length || d.push("~="), + e.querySelectorAll("a#" + S + "+*").length || d.push(".#.+[+~]"), + e.querySelectorAll(":checked").length || d.push(":checked"), + (t = T.createElement("input")).setAttribute("type", "hidden"), e.appendChild(t).setAttribute("name", "D"), (r.appendChild(e).disabled = !0), 2 !== e.querySelectorAll(":disabled").length && - p.push(":enabled", ":disabled"), - (t = C.createElement("input")).setAttribute("name", ""), + d.push(":enabled", ":disabled"), + (t = T.createElement("input")).setAttribute("name", ""), e.appendChild(t), e.querySelectorAll("[name='']").length || - p.push("\\[" + ge + "*name" + ge + "*=" + ge + "*(?:''|\"\")"); + d.push("\\[" + ge + "*name" + ge + "*=" + ge + "*(?:''|\"\")"); }), - le.cssHas || p.push(":has"), - (p = p.length && new RegExp(p.join("|"))), + le.cssHas || d.push(":has"), + (d = d.length && new RegExp(d.join("|"))), (l = function (e, t) { if (e === t) return (a = !0), 0; var n = !e.compareDocumentPosition - !t.compareDocumentPosition; @@ -664,9 +663,9 @@ ? e.compareDocumentPosition(t) : 1) || (!le.sortDetached && t.compareDocumentPosition(e) === n) - ? e === C || (e.ownerDocument == ye && I.contains(ye, e)) + ? e === T || (e.ownerDocument == ye && I.contains(ye, e)) ? -1 - : t === C || (t.ownerDocument == ye && I.contains(ye, t)) + : t === T || (t.ownerDocument == ye && I.contains(ye, t)) ? 1 : o ? se.call(o, e) - se.call(o, t) @@ -676,14 +675,14 @@ : 1) ); })), - C + T ); } for (e in ((I.matches = function (e, t) { return I(e, null, null, t); }), (I.matchesSelector = function (e, t) { - if ((V(e), T && !h[t + " "] && (!p || !p.test(t)))) + if ((V(e), C && !h[t + " "] && (!d || !d.test(t)))) try { var n = i.call(e, t); if ( @@ -695,15 +694,15 @@ } catch (e) { h(t, !0); } - return 0 < I(t, C, null, [e]).length; + return 0 < I(t, T, null, [e]).length; }), (I.contains = function (e, t) { - return (e.ownerDocument || e) != C && V(e), ce.contains(e, t); + return (e.ownerDocument || e) != T && V(e), ce.contains(e, t); }), (I.attr = function (e, t) { - (e.ownerDocument || e) != C && V(e); - var n = x.attrHandle[t.toLowerCase()], - r = n && ue.call(x.attrHandle, t.toLowerCase()) ? n(e, t, !T) : void 0; + (e.ownerDocument || e) != T && V(e); + var n = b.attrHandle[t.toLowerCase()], + r = n && ue.call(b.attrHandle, t.toLowerCase()) ? n(e, t, !C) : void 0; return void 0 !== r ? r : e.getAttribute(t); }), (I.error = function (e) { @@ -717,7 +716,7 @@ if ( ((a = !le.sortStable), (o = !le.sortStable && ae.call(e, 0)), - pe.call(e, l), + de.call(e, l), a) ) { while ((t = e[i++])) t === e[i] && (r = n.push(i)); @@ -728,11 +727,11 @@ (ce.fn.uniqueSort = function () { return this.pushStack(ce.uniqueSort(ae.apply(this))); }), - ((x = ce.expr = + ((b = ce.expr = { cacheLength: 50, - createPseudo: B, - match: N, + createPseudo: F, + match: D, attrHandle: {}, find: {}, relative: { @@ -744,8 +743,8 @@ preFilter: { ATTR: function (e) { return ( - (e[1] = e[1].replace(H, q)), - (e[3] = (e[3] || e[4] || e[5] || "").replace(H, q)), + (e[1] = e[1].replace(O, P)), + (e[3] = (e[3] || e[4] || e[5] || "").replace(O, P)), "~=" === e[2] && (e[3] = " " + e[3] + " "), e.slice(0, 4) ); @@ -766,12 +765,12 @@ PSEUDO: function (e) { var t, n = !e[6] && e[2]; - return N.CHILD.test(e[0]) + return D.CHILD.test(e[0]) ? null : (e[3] ? (e[2] = e[4] || e[5] || "") : n && - A.test(n) && + j.test(n) && (t = Y(n, !0)) && (t = n.indexOf(")", n.length - t) - n.length) && ((e[0] = e[0].slice(0, t)), (e[2] = n.slice(0, t))), @@ -780,7 +779,7 @@ }, filter: { TAG: function (e) { - var t = e.replace(H, q).toLowerCase(); + var t = e.replace(O, P).toLowerCase(); return "*" === e ? function () { return !0; @@ -827,9 +826,9 @@ (t === i || t.slice(0, i.length + 1) === i + "-")); }; }, - CHILD: function (p, e, t, h, g) { - var v = "nth" !== p.slice(0, 3), - y = "last" !== p.slice(-4), + CHILD: function (d, e, t, h, g) { + var v = "nth" !== d.slice(0, 3), + y = "last" !== d.slice(-4), m = "of-type" === e; return 1 === h && 0 === g ? function (e) { @@ -845,59 +844,59 @@ l = e.parentNode, c = m && e.nodeName.toLowerCase(), f = !n && !m, - d = !1; + p = !1; if (l) { if (v) { while (u) { o = e; while ((o = o[u])) if (m ? fe(o, c) : 1 === o.nodeType) return !1; - s = u = "only" === p && !s && "nextSibling"; + s = u = "only" === d && !s && "nextSibling"; } return !0; } if (((s = [y ? l.firstChild : l.lastChild]), y && f)) { - (d = + (p = (a = - (r = (i = l[k] || (l[k] = {}))[p] || [])[0] === S && + (r = (i = l[S] || (l[S] = {}))[d] || [])[0] === E && r[1]) && r[2]), (o = a && l.childNodes[a]); - while ((o = (++a && o && o[u]) || (d = a = 0) || s.pop())) - if (1 === o.nodeType && ++d && o === e) { - i[p] = [S, a, d]; + while ((o = (++a && o && o[u]) || (p = a = 0) || s.pop())) + if (1 === o.nodeType && ++p && o === e) { + i[d] = [E, a, p]; break; } } else if ( (f && - (d = a = - (r = (i = e[k] || (e[k] = {}))[p] || [])[0] === S && + (p = a = + (r = (i = e[S] || (e[S] = {}))[d] || [])[0] === E && r[1]), - !1 === d) + !1 === p) ) - while ((o = (++a && o && o[u]) || (d = a = 0) || s.pop())) + while ((o = (++a && o && o[u]) || (p = a = 0) || s.pop())) if ( (m ? fe(o, c) : 1 === o.nodeType) && - ++d && - (f && ((i = o[k] || (o[k] = {}))[p] = [S, d]), + ++p && + (f && ((i = o[S] || (o[S] = {}))[d] = [E, p]), o === e) ) break; - return (d -= g) === h || (d % h == 0 && 0 <= d / h); + return (p -= g) === h || (p % h == 0 && 0 <= p / h); } }; }, PSEUDO: function (e, o) { var t, a = - x.pseudos[e] || - x.setFilters[e.toLowerCase()] || + b.pseudos[e] || + b.setFilters[e.toLowerCase()] || I.error("unsupported pseudo: " + e); - return a[k] + return a[S] ? a(o) : 1 < a.length ? ((t = [e, e, "", o]), - x.setFilters.hasOwnProperty(e.toLowerCase()) - ? B(function (e, t) { + b.setFilters.hasOwnProperty(e.toLowerCase()) + ? F(function (e, t) { var n, r = a(e, o), i = r.length; @@ -910,12 +909,12 @@ }, }, pseudos: { - not: B(function (e) { + not: F(function (e) { var r = [], i = [], s = ne(e.replace(ve, "$1")); - return s[k] - ? B(function (e, t, n, r) { + return s[S] + ? F(function (e, t, n, r) { var i, o = s(e, null, r, []), a = e.length; @@ -925,28 +924,28 @@ return (r[0] = e), s(r, null, n, i), (r[0] = null), !i.pop(); }; }), - has: B(function (t) { + has: F(function (t) { return function (e) { return 0 < I(t, e).length; }; }), - contains: B(function (t) { + contains: F(function (t) { return ( - (t = t.replace(H, q)), + (t = t.replace(O, P)), function (e) { return -1 < (e.textContent || ce.text(e)).indexOf(t); } ); }), - lang: B(function (n) { + lang: F(function (n) { return ( - D.test(n || "") || I.error("unsupported lang: " + n), - (n = n.replace(H, q).toLowerCase()), + A.test(n || "") || I.error("unsupported lang: " + n), + (n = n.replace(O, P).toLowerCase()), function (e) { var t; do { if ( - (t = T + (t = C ? e.lang : e.getAttribute("xml:lang") || e.getAttribute("lang")) ) @@ -970,10 +969,10 @@ e === (function () { try { - return C.activeElement; + return T.activeElement; } catch (e) {} })() && - C.hasFocus() && + T.hasFocus() && !!(e.type || e.href || ~e.tabIndex) ); }, @@ -996,13 +995,13 @@ return !0; }, parent: function (e) { - return !x.pseudos.empty(e); + return !b.pseudos.empty(e); }, header: function (e) { - return j.test(e.nodeName); + return q.test(e.nodeName); }, input: function (e) { - return L.test(e.nodeName); + return N.test(e.nodeName); }, button: function (e) { return (fe(e, "input") && "button" === e.type) || fe(e, "button"); @@ -1016,38 +1015,38 @@ "text" === t.toLowerCase()) ); }, - first: U(function () { + first: X(function () { return [0]; }), - last: U(function (e, t) { + last: X(function (e, t) { return [t - 1]; }), - eq: U(function (e, t, n) { + eq: X(function (e, t, n) { return [n < 0 ? n + t : n]; }), - even: U(function (e, t) { + even: X(function (e, t) { for (var n = 0; n < t; n += 2) e.push(n); return e; }), - odd: U(function (e, t) { + odd: X(function (e, t) { for (var n = 1; n < t; n += 2) e.push(n); return e; }), - lt: U(function (e, t, n) { + lt: X(function (e, t, n) { var r; for (r = n < 0 ? n + t : t < n ? t : n; 0 <= --r; ) e.push(r); return e; }), - gt: U(function (e, t, n) { + gt: X(function (e, t, n) { for (var r = n < 0 ? n + t : n; ++r < t; ) e.push(r); return e; }), }, - }).pseudos.nth = x.pseudos.eq), + }).pseudos.nth = b.pseudos.eq), { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 })) - x.pseudos[e] = $(e); - for (e in { submit: !0, reset: !0 }) x.pseudos[e] = _(e); - function Q() {} + b.pseudos[e] = B(e); + for (e in { submit: !0, reset: !0 }) b.pseudos[e] = _(e); + function G() {} function Y(e, t) { var n, r, @@ -1058,7 +1057,7 @@ u, l = c[e + " "]; if (l) return t ? 0 : l.slice(0); - (a = e), (s = []), (u = x.preFilter); + (a = e), (s = []), (u = b.preFilter); while (a) { for (o in ((n && !(r = y.exec(a))) || (r && (a = a.slice(r[0].length) || a), s.push((i = []))), @@ -1067,8 +1066,8 @@ ((n = r.shift()), i.push({ value: n, type: r[0].replace(ve, " ") }), (a = a.slice(n.length))), - x.filter)) - !(r = N[o].exec(a)) || + b.filter)) + !(r = D[o].exec(a)) || (u[o] && !(r = u[o](r))) || ((n = r.shift()), i.push({ value: n, type: o, matches: r }), @@ -1077,11 +1076,11 @@ } return t ? a.length : a ? I.error(e) : c(e, s).slice(0); } - function G(e) { + function Q(e) { for (var t = 0, n = e.length, r = ""; t < n; t++) r += e[t].value; return r; } - function K(a, e, t) { + function J(a, e, t) { var s = e.dir, u = e.next, l = u || s, @@ -1095,23 +1094,23 @@ : function (e, t, n) { var r, i, - o = [S, f]; + o = [E, f]; if (n) { while ((e = e[s])) if ((1 === e.nodeType || c) && a(e, t, n)) return !0; } else while ((e = e[s])) if (1 === e.nodeType || c) - if (((i = e[k] || (e[k] = {})), u && fe(e, u))) e = e[s] || e; + if (((i = e[S] || (e[S] = {})), u && fe(e, u))) e = e[s] || e; else { - if ((r = i[l]) && r[0] === S && r[1] === f) + if ((r = i[l]) && r[0] === E && r[1] === f) return (o[2] = r[2]); if (((i[l] = o)[2] = a(e, t, n))) return !0; } return !1; }; } - function J(i) { + function K(i) { return 1 < i.length ? function (e, t, n) { var r = i.length; @@ -1125,11 +1124,11 @@ (o = e[s]) && ((n && !n(o, r, i)) || (a.push(o), l && t.push(s))); return a; } - function ee(p, h, g, v, y, e) { + function ee(d, h, g, v, y, e) { return ( - v && !v[k] && (v = ee(v)), - y && !y[k] && (y = ee(y, e)), - B(function (e, t, n, r) { + v && !v[S] && (v = ee(v)), + y && !y[S] && (y = ee(y, e)), + F(function (e, t, n, r) { var i, o, a, @@ -1143,18 +1142,18 @@ for (var r = 0, i = t.length; r < i; r++) I(e, t[r], n); return n; })(h || "*", n.nodeType ? [n] : n, []), - d = !p || (!e && h) ? f : Z(f, u, p, n, r); + p = !d || (!e && h) ? f : Z(f, u, d, n, r); if ( - (g ? g(d, (s = y || (e ? p : c || v) ? [] : t), n, r) : (s = d), v) + (g ? g(p, (s = y || (e ? d : c || v) ? [] : t), n, r) : (s = p), v) ) { (i = Z(s, l)), v(i, [], n, r), (o = i.length); - while (o--) (a = i[o]) && (s[l[o]] = !(d[l[o]] = a)); + while (o--) (a = i[o]) && (s[l[o]] = !(p[l[o]] = a)); } if (e) { - if (y || p) { + if (y || d) { if (y) { (i = []), (o = s.length); - while (o--) (a = s[o]) && i.push((d[o] = a)); + while (o--) (a = s[o]) && i.push((p[o] = a)); y(null, (s = []), i, r); } o = s.length; @@ -1165,7 +1164,7 @@ } } else (s = Z(s === t ? s.splice(c, s.length) : s)), - y ? y(null, t, s, r) : E.apply(t, s); + y ? y(null, t, s, r) : k.apply(t, s); }) ); } @@ -1175,17 +1174,17 @@ t, n, r = e.length, - o = x.relative[e[0].type], - a = o || x.relative[" "], + o = b.relative[e[0].type], + a = o || b.relative[" "], s = o ? 1 : 0, - u = K( + u = J( function (e) { return e === i; }, a, !0, ), - l = K( + l = J( function (e) { return -1 < se.call(i, e); }, @@ -1203,14 +1202,14 @@ s < r; s++ ) - if ((t = x.relative[e[s].type])) c = [K(J(c), t)]; + if ((t = b.relative[e[s].type])) c = [J(K(c), t)]; else { - if ((t = x.filter[e[s].type].apply(null, e[s].matches))[k]) { - for (n = ++s; n < r; n++) if (x.relative[e[n].type]) break; + if ((t = b.filter[e[s].type].apply(null, e[s].matches))[S]) { + for (n = ++s; n < r; n++) if (b.relative[e[n].type]) break; return ee( - 1 < s && J(c), + 1 < s && K(c), 1 < s && - G( + Q( e .slice(0, s - 1) .concat({ value: " " === e[s - 2].type ? "*" : "" }), @@ -1218,31 +1217,31 @@ t, s < n && te(e.slice(s, n)), n < r && te((e = e.slice(n))), - n < r && G(e), + n < r && Q(e), ); } c.push(t); } - return J(c); + return K(c); } function ne(e, t) { var n, v, y, m, - b, + x, r, i = [], o = [], a = u[e + " "]; if (!a) { t || (t = Y(e)), (n = t.length); - while (n--) (a = te(t[n]))[k] ? i.push(a) : o.push(a); + while (n--) (a = te(t[n]))[S] ? i.push(a) : o.push(a); (a = u( e, ((v = o), (m = 0 < (y = i).length), - (b = 0 < v.length), + (x = 0 < v.length), (r = function (e, t, n, r, i) { var o, a, @@ -1251,23 +1250,23 @@ l = "0", c = e && [], f = [], - d = w, - p = e || (b && x.find.TAG("*", i)), - h = (S += null == d ? 1 : Math.random() || 0.1), - g = p.length; + p = w, + d = e || (x && b.find.TAG("*", i)), + h = (E += null == p ? 1 : Math.random() || 0.1), + g = d.length; for ( - i && (w = t == C || t || i); - l !== g && null != (o = p[l]); + i && (w = t == T || t || i); + l !== g && null != (o = d[l]); l++ ) { - if (b && o) { - (a = 0), t || o.ownerDocument == C || (V(o), (n = !T)); + if (x && o) { + (a = 0), t || o.ownerDocument == T || (V(o), (n = !C)); while ((s = v[a++])) - if (s(o, t || C, n)) { - E.call(r, o); + if (s(o, t || T, n)) { + k.call(r, o); break; } - i && (S = h); + i && (E = h); } m && ((o = !s && o) && u--, e && c.push(o)); } @@ -1275,15 +1274,15 @@ a = 0; while ((s = y[a++])) s(c, f, t, n); if (e) { - if (0 < u) while (l--) c[l] || f[l] || (f[l] = de.call(r)); + if (0 < u) while (l--) c[l] || f[l] || (f[l] = pe.call(r)); f = Z(f); } - E.apply(r, f), + k.apply(r, f), i && !e && 0 < f.length && 1 < u + y.length && ce.uniqueSort(r); } - return i && ((S = h), (w = d)), c; + return i && ((E = h), (w = p)), c; }), - m ? B(r) : r), + m ? F(r) : r), )).selector = e; } return a; @@ -1301,40 +1300,40 @@ 2 < (o = c[0] = c[0].slice(0)).length && "ID" === (a = o[0]).type && 9 === t.nodeType && - T && - x.relative[o[1].type] + C && + b.relative[o[1].type] ) { - if (!(t = (x.find.ID(a.matches[0].replace(H, q), t) || [])[0])) + if (!(t = (b.find.ID(a.matches[0].replace(O, P), t) || [])[0])) return n; l && (t = t.parentNode), (e = e.slice(o.shift().value.length)); } - i = N.needsContext.test(e) ? 0 : o.length; + i = D.needsContext.test(e) ? 0 : o.length; while (i--) { - if (((a = o[i]), x.relative[(s = a.type)])) break; + if (((a = o[i]), b.relative[(s = a.type)])) break; if ( - (u = x.find[s]) && + (u = b.find[s]) && (r = u( - a.matches[0].replace(H, q), - (P.test(o[0].type) && X(t.parentNode)) || t, + a.matches[0].replace(O, P), + (H.test(o[0].type) && U(t.parentNode)) || t, )) ) { - if ((o.splice(i, 1), !(e = r.length && G(o)))) - return E.apply(n, r), n; + if ((o.splice(i, 1), !(e = r.length && Q(o)))) + return k.apply(n, r), n; break; } } } return ( - (l || ne(e, c))(r, t, !T, n, !t || (P.test(e) && X(t.parentNode)) || t), + (l || ne(e, c))(r, t, !C, n, !t || (H.test(e) && U(t.parentNode)) || t), n ); } - (Q.prototype = x.filters = x.pseudos), - (x.setFilters = new Q()), - (le.sortStable = k.split("").sort(l).join("") === k), + (G.prototype = b.filters = b.pseudos), + (b.setFilters = new G()), + (le.sortStable = S.split("").sort(l).join("") === S), V(), - (le.sortDetached = F(function (e) { - return 1 & e.compareDocumentPosition(C.createElement("fieldset")); + (le.sortDetached = $(function (e) { + return 1 & e.compareDocumentPosition(T.createElement("fieldset")); })), (ce.find = I), (ce.expr[":"] = ce.expr.pseudos), @@ -1350,7 +1349,7 @@ (I.support = ce.support), (I.uniqueSort = ce.uniqueSort); })(); - var p = function (e, t, n) { + var d = function (e, t, n) { var r = [], i = void 0 !== n; while ((e = e[t]) && 9 !== e.nodeType) @@ -1365,8 +1364,8 @@ 1 === e.nodeType && e !== t && n.push(e); return n; }, - w = ce.expr.match.needsContext, - C = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i; + b = ce.expr.match.needsContext, + w = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i; function T(e, n, r) { return v(n) ? ce.grep(e, function (e, t) { @@ -1422,22 +1421,22 @@ is: function (e) { return !!T( this, - "string" == typeof e && w.test(e) ? ce(e) : e || [], + "string" == typeof e && b.test(e) ? ce(e) : e || [], !1, ).length; }, }); - var E, - k = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/; + var k, + S = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/; ((ce.fn.init = function (e, t, n) { var r, i; if (!e) return this; - if (((n = n || E), "string" == typeof e)) { + if (((n = n || k), "string" == typeof e)) { if ( !(r = "<" === e[0] && ">" === e[e.length - 1] && 3 <= e.length ? [null, e, null] - : k.exec(e)) || + : S.exec(e)) || (!r[1] && t) ) return !t || t.jquery ? (t || n).find(e) : this.constructor(t).find(e); @@ -1446,15 +1445,15 @@ ((t = t instanceof ce ? t[0] : t), ce.merge( this, - ce.parseHTML(r[1], t && t.nodeType ? t.ownerDocument || t : m, !0), + ce.parseHTML(r[1], t && t.nodeType ? t.ownerDocument || t : C, !0), ), - C.test(r[1]) && ce.isPlainObject(t)) + w.test(r[1]) && ce.isPlainObject(t)) ) for (r in t) v(this[r]) ? this[r](t[r]) : this.attr(r, t[r]); return this; } return ( - (i = m.getElementById(r[2])) && ((this[0] = i), (this.length = 1)), this + (i = C.getElementById(r[2])) && ((this[0] = i), (this.length = 1)), this ); } return e.nodeType @@ -1465,10 +1464,10 @@ : e(ce) : ce.makeArray(e, this); }).prototype = ce.fn), - (E = ce(m)); - var S = /^(?:parents|prev(?:Until|All))/, - A = { children: !0, contents: !0, next: !0, prev: !0 }; - function D(e, t) { + (k = ce(C)); + var E = /^(?:parents|prev(?:Until|All))/, + j = { children: !0, contents: !0, next: !0, prev: !0 }; + function A(e, t) { while ((e = e[t]) && 1 !== e.nodeType); return e; } @@ -1486,7 +1485,7 @@ i = this.length, o = [], a = "string" != typeof e && ce(e); - if (!w.test(e)) + if (!b.test(e)) for (; r < i; r++) for (n = this[r]; n && n !== t; n = n.parentNode) if ( @@ -1523,28 +1522,28 @@ return t && 11 !== t.nodeType ? t : null; }, parents: function (e) { - return p(e, "parentNode"); + return d(e, "parentNode"); }, parentsUntil: function (e, t, n) { - return p(e, "parentNode", n); + return d(e, "parentNode", n); }, next: function (e) { - return D(e, "nextSibling"); + return A(e, "nextSibling"); }, prev: function (e) { - return D(e, "previousSibling"); + return A(e, "previousSibling"); }, nextAll: function (e) { - return p(e, "nextSibling"); + return d(e, "nextSibling"); }, prevAll: function (e) { - return p(e, "previousSibling"); + return d(e, "previousSibling"); }, nextUntil: function (e, t, n) { - return p(e, "nextSibling", n); + return d(e, "nextSibling", n); }, prevUntil: function (e, t, n) { - return p(e, "previousSibling", n); + return d(e, "previousSibling", n); }, siblings: function (e) { return h((e.parentNode || {}).firstChild, e); @@ -1566,20 +1565,20 @@ "Until" !== r.slice(-5) && (t = e), t && "string" == typeof t && (n = ce.filter(t, n)), 1 < this.length && - (A[r] || ce.uniqueSort(n), S.test(r) && n.reverse()), + (j[r] || ce.uniqueSort(n), E.test(r) && n.reverse()), this.pushStack(n) ); }; }, ); - var N = /[^\x20\t\r\n\f]+/g; - function L(e) { + var D = /[^\x20\t\r\n\f]+/g; + function N(e) { return e; } - function j(e) { + function q(e) { throw e; } - function O(e, t, n, r) { + function L(e, t, n, r) { var i; try { e && v((i = e.promise)) @@ -1597,7 +1596,7 @@ "string" == typeof r ? ((e = r), (n = {}), - ce.each(e.match(N) || [], function (e, t) { + ce.each(e.match(D) || [], function (e, t) { n[t] = !0; }), n) @@ -1757,15 +1756,15 @@ e.then), v(t) ? s - ? t.call(e, l(u, o, L, s), l(u, o, j, s)) + ? t.call(e, l(u, o, N, s), l(u, o, q, s)) : (u++, t.call( e, - l(u, o, L, s), - l(u, o, j, s), - l(u, o, L, o.notifyWith), + l(u, o, N, s), + l(u, o, q, s), + l(u, o, N, o.notifyWith), )) - : (a !== L && ((n = void 0), (r = [e])), + : (a !== N && ((n = void 0), (r = [e])), (s || o.resolveWith)(n, r)); } }, @@ -1778,7 +1777,7 @@ ce.Deferred.exceptionHook && ce.Deferred.exceptionHook(e, t.error), u <= i + 1 && - (a !== j && ((n = void 0), (r = [e])), + (a !== q && ((n = void 0), (r = [e])), o.rejectWith(n, r)); } }; @@ -1793,9 +1792,9 @@ } return ce .Deferred(function (e) { - o[0][3].add(l(0, e, v(r) ? r : L, e.notifyWith)), - o[1][3].add(l(0, e, v(t) ? t : L)), - o[2][3].add(l(0, e, v(n) ? n : j)); + o[0][3].add(l(0, e, v(r) ? r : N, e.notifyWith)), + o[1][3].add(l(0, e, v(t) ? t : N)), + o[2][3].add(l(0, e, v(n) ? n : q)); }) .promise(); }, @@ -1847,20 +1846,20 @@ }; if ( n <= 1 && - (O(e, o.done(a(t)).resolve, o.reject, !n), + (L(e, o.done(a(t)).resolve, o.reject, !n), "pending" === o.state() || v(i[t] && i[t].then)) ) return o.then(); - while (t--) O(i[t], a(t), o.reject); + while (t--) L(i[t], a(t), o.reject); return o.promise(); }, }); - var P = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + var H = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; (ce.Deferred.exceptionHook = function (e, t) { ie.console && ie.console.warn && e && - P.test(e.name) && + H.test(e.name) && ie.console.warn("jQuery.Deferred exception: " + e.message, e.stack, t); }), (ce.readyException = function (e) { @@ -1868,15 +1867,15 @@ throw e; }); }); - var H = ce.Deferred(); - function q() { - m.removeEventListener("DOMContentLoaded", q), - ie.removeEventListener("load", q), + var O = ce.Deferred(); + function P() { + C.removeEventListener("DOMContentLoaded", P), + ie.removeEventListener("load", P), ce.ready(); } (ce.fn.ready = function (e) { return ( - H.then(e)["catch"](function (e) { + O.then(e)["catch"](function (e) { ce.readyException(e); }), this @@ -1888,21 +1887,21 @@ ready: function (e) { (!0 === e ? --ce.readyWait : ce.isReady) || ((ce.isReady = !0) !== e && 0 < --ce.readyWait) || - H.resolveWith(m, [ce]); + O.resolveWith(C, [ce]); }, }), - (ce.ready.then = H.then), - "complete" === m.readyState || - ("loading" !== m.readyState && !m.documentElement.doScroll) + (ce.ready.then = O.then), + "complete" === C.readyState || + ("loading" !== C.readyState && !C.documentElement.doScroll) ? ie.setTimeout(ce.ready) - : (m.addEventListener("DOMContentLoaded", q), - ie.addEventListener("load", q)); - var R = function (e, t, n, r, i, o, a) { + : (C.addEventListener("DOMContentLoaded", P), + ie.addEventListener("load", P)); + var M = function (e, t, n, r, i, o, a) { var s = 0, u = e.length, l = null == n; if ("object" === x(n)) - for (s in ((i = !0), n)) R(e, t, s, n[s], !0, o, a); + for (s in ((i = !0), n)) M(e, t, s, n[s], !0, o, a); else if ( void 0 !== r && ((i = !0), @@ -1919,28 +1918,28 @@ for (; s < u; s++) t(e[s], n, a ? r : r.call(e[s], s, t(e[s], n))); return i ? e : l ? t.call(e) : u ? t(e[0], n) : o; }, - M = /^-ms-/, + R = /^-ms-/, I = /-([a-z])/g; function W(e, t) { return t.toUpperCase(); } - function B(e) { - return e.replace(M, "ms-").replace(I, W); + function F(e) { + return e.replace(R, "ms-").replace(I, W); } - var F = function (e) { + var $ = function (e) { return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType; }; - function $() { - this.expando = ce.expando + $.uid++; + function B() { + this.expando = ce.expando + B.uid++; } - ($.uid = 1), - ($.prototype = { + (B.uid = 1), + (B.prototype = { cache: function (e) { var t = e[this.expando]; return ( t || ((t = {}), - F(e) && + $(e) && (e.nodeType ? (e[this.expando] = t) : Object.defineProperty(e, this.expando, { @@ -1953,14 +1952,14 @@ set: function (e, t, n) { var r, i = this.cache(e); - if ("string" == typeof t) i[B(t)] = n; - else for (r in t) i[B(r)] = t[r]; + if ("string" == typeof t) i[F(t)] = n; + else for (r in t) i[F(r)] = t[r]; return i; }, get: function (e, t) { return void 0 === t ? this.cache(e) - : e[this.expando] && e[this.expando][B(t)]; + : e[this.expando] && e[this.expando][F(t)]; }, access: function (e, t, n) { return void 0 === t || (t && "string" == typeof t && void 0 === n) @@ -1973,10 +1972,10 @@ if (void 0 !== r) { if (void 0 !== t) { n = (t = Array.isArray(t) - ? t.map(B) - : (t = B(t)) in r + ? t.map(F) + : (t = F(t)) in r ? [t] - : t.match(N) || []).length; + : t.match(D) || []).length; while (n--) delete r[t[n]]; } (void 0 === t || ce.isEmptyObject(r)) && @@ -1988,15 +1987,15 @@ return void 0 !== t && !ce.isEmptyObject(t); }, }); - var _ = new $(), - z = new $(), - U = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, - X = /[A-Z]/g; + var _ = new B(), + z = new B(), + X = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + U = /[A-Z]/g; function V(e, t, n) { var r, i; if (void 0 === n && 1 === e.nodeType) if ( - ((r = "data-" + t.replace(X, "-$&").toLowerCase()), + ((r = "data-" + t.replace(U, "-$&").toLowerCase()), "string" == typeof (n = e.getAttribute(r))) ) { try { @@ -2007,7 +2006,7 @@ ? null : i === +i + "" ? +i - : U.test(i) + : X.test(i) ? JSON.parse(i) : i)); } catch (e) {} @@ -2048,7 +2047,7 @@ while (t--) a[t] && 0 === (r = a[t].name).indexOf("data-") && - ((r = B(r.slice(5))), V(o, r, i[r])); + ((r = F(r.slice(5))), V(o, r, i[r])); _.set(o, "hasDataAttrs", !0); } return i; @@ -2057,7 +2056,7 @@ ? this.each(function () { z.set(this, n); }) - : R( + : M( this, function (e) { var t; @@ -2170,16 +2169,16 @@ return s(), i.promise(t); }, }); - var Q = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, - Y = new RegExp("^(?:([+-])=|)(" + Q + ")([a-z%]*)$", "i"), - G = ["Top", "Right", "Bottom", "Left"], - K = m.documentElement, - J = function (e) { + var G = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, + Y = new RegExp("^(?:([+-])=|)(" + G + ")([a-z%]*)$", "i"), + Q = ["Top", "Right", "Bottom", "Left"], + J = C.documentElement, + K = function (e) { return ce.contains(e.ownerDocument, e); }, Z = { composed: !0 }; - K.getRootNode && - (J = function (e) { + J.getRootNode && + (K = function (e) { return ( ce.contains(e.ownerDocument, e) || e.getRootNode(Z) === e.ownerDocument ); @@ -2187,11 +2186,44 @@ var ee = function (e, t) { return ( "none" === (e = t || e).style.display || - ("" === e.style.display && J(e) && "none" === ce.css(e, "display")) + ("" === e.style.display && K(e) && "none" === ce.css(e, "display")) ); }; - var te = {}; - function ne(e, t) { + function te(e, t, n, r) { + var i, + o, + a = 20, + s = r + ? function () { + return r.cur(); + } + : function () { + return ce.css(e, t, ""); + }, + u = s(), + l = (n && n[3]) || (ce.cssNumber[t] ? "" : "px"), + c = + e.nodeType && + (ce.cssNumber[t] || ("px" !== l && +u)) && + Y.exec(ce.css(e, t)); + if (c && c[3] !== l) { + (u /= 2), (l = l || c[3]), (c = +u || 1); + while (a--) + ce.style(e, t, c + l), + (1 - o) * (1 - (o = s() / u || 0.5)) <= 0 && (a = 0), + (c /= o); + (c *= 2), ce.style(e, t, c + l), (n = n || []); + } + return ( + n && + ((c = +c || +u || 0), + (i = n[1] ? c + (n[1] + 1) * n[2] : +n[2]), + r && ((r.unit = l), (r.start = c), (r.end = i))), + i + ); + } + var ne = {}; + function re(e, t) { for (var n, r, i, o, a, s, u, l = [], c = 0, f = e.length; c < f; c++) (r = e[c]).style && ((n = r.style.display), @@ -2205,22 +2237,22 @@ ((u = a = o = void 0), (a = (i = r).ownerDocument), (s = i.nodeName), - (u = te[s]) || + (u = ne[s]) || ((o = a.body.appendChild(a.createElement(s))), (u = ce.css(o, "display")), o.parentNode.removeChild(o), "none" === u && (u = "block"), - (te[s] = u))))) + (ne[s] = u))))) : "none" !== n && ((l[c] = "none"), _.set(r, "display", n))); for (c = 0; c < f; c++) null != l[c] && (e[c].style.display = l[c]); return e; } ce.fn.extend({ show: function () { - return ne(this, !0); + return re(this, !0); }, hide: function () { - return ne(this); + return re(this); }, toggle: function (e) { return "boolean" == typeof e @@ -2232,29 +2264,29 @@ }); }, }); - var re, + var xe, be, - xe = /^(?:checkbox|radio)$/i, - we = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i, + we = /^(?:checkbox|radio)$/i, + Te = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i, Ce = /^$|^module$|\/(?:java|ecma)script/i; - (re = m.createDocumentFragment().appendChild(m.createElement("div"))), - (be = m.createElement("input")).setAttribute("type", "radio"), + (xe = C.createDocumentFragment().appendChild(C.createElement("div"))), + (be = C.createElement("input")).setAttribute("type", "radio"), be.setAttribute("checked", "checked"), be.setAttribute("name", "t"), - re.appendChild(be), - (le.checkClone = re.cloneNode(!0).cloneNode(!0).lastChild.checked), - (re.innerHTML = ""), - (le.noCloneChecked = !!re.cloneNode(!0).lastChild.defaultValue), - (re.innerHTML = ""), - (le.option = !!re.lastChild); - var Te = { + xe.appendChild(be), + (le.checkClone = xe.cloneNode(!0).cloneNode(!0).lastChild.checked), + (xe.innerHTML = ""), + (le.noCloneChecked = !!xe.cloneNode(!0).lastChild.defaultValue), + (xe.innerHTML = ""), + (le.option = !!xe.lastChild); + var ke = { thead: [1, "", "
"], col: [2, "", "
"], tr: [2, "", "
"], td: [3, "", "
"], _default: [0, "", ""], }; - function Ee(e, t) { + function Se(e, t) { var n; return ( (n = @@ -2266,16 +2298,16 @@ void 0 === t || (t && fe(e, t)) ? ce.merge([e], n) : n ); } - function ke(e, t) { + function Ee(e, t) { for (var n = 0, r = e.length; n < r; n++) _.set(e[n], "globalEval", !t || _.get(t[n], "globalEval")); } - (Te.tbody = Te.tfoot = Te.colgroup = Te.caption = Te.thead), - (Te.th = Te.td), + (ke.tbody = ke.tfoot = ke.colgroup = ke.caption = ke.thead), + (ke.th = ke.td), le.option || - (Te.optgroup = Te.option = + (ke.optgroup = ke.option = [1, ""]); - var Se = /<|&#?\w+;/; + var je = /<|&#?\w+;/; function Ae(e, t, n, r, i) { for ( var o, @@ -2285,28 +2317,28 @@ l, c, f = t.createDocumentFragment(), - d = [], - p = 0, + p = [], + d = 0, h = e.length; - p < h; - p++ + d < h; + d++ ) - if ((o = e[p]) || 0 === o) - if ("object" === x(o)) ce.merge(d, o.nodeType ? [o] : o); - else if (Se.test(o)) { + if ((o = e[d]) || 0 === o) + if ("object" === x(o)) ce.merge(p, o.nodeType ? [o] : o); + else if (je.test(o)) { (a = a || f.appendChild(t.createElement("div"))), - (s = (we.exec(o) || ["", ""])[1].toLowerCase()), - (u = Te[s] || Te._default), + (s = (Te.exec(o) || ["", ""])[1].toLowerCase()), + (u = ke[s] || ke._default), (a.innerHTML = u[1] + ce.htmlPrefilter(o) + u[2]), (c = u[0]); while (c--) a = a.lastChild; - ce.merge(d, a.childNodes), ((a = f.firstChild).textContent = ""); - } else d.push(t.createTextNode(o)); - (f.textContent = ""), (p = 0); - while ((o = d[p++])) + ce.merge(p, a.childNodes), ((a = f.firstChild).textContent = ""); + } else p.push(t.createTextNode(o)); + (f.textContent = ""), (d = 0); + while ((o = p[d++])) if (r && -1 < ce.inArray(o, r)) i && i.push(o); else if ( - ((l = J(o)), (a = Ee(f.appendChild(o), "script")), l && ke(a), n) + ((l = K(o)), (a = Se(f.appendChild(o), "script")), l && Ee(a), n) ) { c = 0; while ((o = a[c++])) Ce.test(o.type || "") && n.push(o); @@ -2317,14 +2349,14 @@ function Ne() { return !0; } - function Le() { + function qe() { return !1; } - function je(e, t, n, r, i, o) { + function Le(e, t, n, r, i, o) { var a, s; if ("object" == typeof t) { for (s in ("string" != typeof n && ((r = r || n), (n = void 0)), t)) - je(e, s, n, r, t[s], o); + Le(e, s, n, r, t[s], o); return e; } if ( @@ -2336,7 +2368,7 @@ : ((i = r), (r = n), (n = void 0))), !1 === i) ) - i = Le; + i = qe; else if (!i) return e; return ( 1 === o && @@ -2349,7 +2381,7 @@ }) ); } - function Oe(e, r, t) { + function He(e, r, t) { t ? (_.set(e, r, !1), ce.event.add(e, r, { @@ -2388,14 +2420,14 @@ l, c, f, - d, p, + d, h, g, v = _.get(t); - if (F(t)) { + if ($(t)) { n.handler && ((n = (o = n).handler), (i = o.selector)), - i && ce.find.matchesSelector(K, i), + i && ce.find.matchesSelector(J, i), n.guid || (n.guid = ce.guid++), (u = v.events) || (u = v.events = Object.create(null)), (a = v.handle) || @@ -2405,17 +2437,17 @@ ? ce.event.dispatch.apply(t, arguments) : void 0; }), - (l = (e = (e || "").match(N) || [""]).length); + (l = (e = (e || "").match(D) || [""]).length); while (l--) - (p = g = (s = De.exec(e[l]) || [])[1]), + (d = g = (s = De.exec(e[l]) || [])[1]), (h = (s[2] || "").split(".").sort()), - p && - ((f = ce.event.special[p] || {}), - (p = (i ? f.delegateType : f.bindType) || p), - (f = ce.event.special[p] || {}), + d && + ((f = ce.event.special[d] || {}), + (d = (i ? f.delegateType : f.bindType) || d), + (f = ce.event.special[d] || {}), (c = ce.extend( { - type: p, + type: d, origType: g, data: r, handler: n, @@ -2426,14 +2458,14 @@ }, o, )), - (d = u[p]) || - (((d = u[p] = []).delegateCount = 0), + (p = u[d]) || + (((p = u[d] = []).delegateCount = 0), (f.setup && !1 !== f.setup.call(t, r, h, a)) || - (t.addEventListener && t.addEventListener(p, a))), + (t.addEventListener && t.addEventListener(d, a))), f.add && (f.add.call(t, c), c.handler.guid || (c.handler.guid = n.guid)), - i ? d.splice(d.delegateCount++, 0, c) : d.push(c), - (ce.event.global[p] = !0)); + i ? p.splice(p.delegateCount++, 0, c) : p.push(c), + (ce.event.global[d] = !0)); } }, remove: function (e, t, n, r, i) { @@ -2444,40 +2476,40 @@ l, c, f, - d, p, + d, h, g, v = _.hasData(e) && _.get(e); if (v && (u = v.events)) { - l = (t = (t || "").match(N) || [""]).length; + l = (t = (t || "").match(D) || [""]).length; while (l--) if ( - ((p = g = (s = De.exec(t[l]) || [])[1]), + ((d = g = (s = De.exec(t[l]) || [])[1]), (h = (s[2] || "").split(".").sort()), - p) + d) ) { - (f = ce.event.special[p] || {}), - (d = u[(p = (r ? f.delegateType : f.bindType) || p)] || []), + (f = ce.event.special[d] || {}), + (p = u[(d = (r ? f.delegateType : f.bindType) || d)] || []), (s = s[2] && new RegExp("(^|\\.)" + h.join("\\.(?:.*\\.|)") + "(\\.|$)")), - (a = o = d.length); + (a = o = p.length); while (o--) - (c = d[o]), + (c = p[o]), (!i && g !== c.origType) || (n && n.guid !== c.guid) || (s && !s.test(c.namespace)) || (r && r !== c.selector && ("**" !== r || !c.selector)) || - (d.splice(o, 1), - c.selector && d.delegateCount--, + (p.splice(o, 1), + c.selector && p.delegateCount--, f.remove && f.remove.call(e, c)); a && - !d.length && + !p.length && ((f.teardown && !1 !== f.teardown.call(e, h, v.handle)) || - ce.removeEvent(e, p, v.handle), - delete u[p]); - } else for (p in u) ce.event.remove(e, p + t[l], n, r, !0); + ce.removeEvent(e, d, v.handle), + delete u[d]); + } else for (d in u) ce.event.remove(e, d + t[l], n, r, !0); ce.isEmptyObject(u) && _.remove(e, "handle events"); } }, @@ -2570,20 +2602,20 @@ setup: function (e) { var t = this || e; return ( - xe.test(t.type) && t.click && fe(t, "input") && Oe(t, "click", !0), + we.test(t.type) && t.click && fe(t, "input") && He(t, "click", !0), !1 ); }, trigger: function (e) { var t = this || e; return ( - xe.test(t.type) && t.click && fe(t, "input") && Oe(t, "click"), !0 + we.test(t.type) && t.click && fe(t, "input") && He(t, "click"), !0 ); }, _default: function (e) { var t = e.target; return ( - (xe.test(t.type) && + (we.test(t.type) && t.click && fe(t, "input") && _.get(t, "click")) || @@ -2612,7 +2644,7 @@ e.defaultPrevented || (void 0 === e.defaultPrevented && !1 === e.returnValue) ? Ne - : Le), + : qe), (this.target = e.target && 3 === e.target.nodeType ? e.target.parentNode @@ -2626,9 +2658,9 @@ }), (ce.Event.prototype = { constructor: ce.Event, - isDefaultPrevented: Le, - isPropagationStopped: Le, - isImmediatePropagationStopped: Le, + isDefaultPrevented: qe, + isPropagationStopped: qe, + isImmediatePropagationStopped: qe, isSimulated: !1, preventDefault: function () { var e = this.originalEvent; @@ -2685,7 +2717,7 @@ ), ce.each({ focus: "focusin", blur: "focusout" }, function (r, i) { function o(e) { - if (m.documentMode) { + if (C.documentMode) { var t = _.get(this, "handle"), n = ce.event.fix(e); (n.type = "focusin" === e.type ? "focus" : "blur"), @@ -2697,16 +2729,16 @@ (ce.event.special[r] = { setup: function () { var e; - if ((Oe(this, r, !0), !m.documentMode)) return !1; + if ((He(this, r, !0), !C.documentMode)) return !1; (e = _.get(this, i)) || this.addEventListener(i, o), _.set(this, i, (e || 0) + 1); }, trigger: function () { - return Oe(this, r), !0; + return He(this, r), !0; }, teardown: function () { var e; - if (!m.documentMode) return !1; + if (!C.documentMode) return !1; (e = _.get(this, i) - 1) ? _.set(this, i, e) : (this.removeEventListener(i, o), _.remove(this, i)); @@ -2719,21 +2751,21 @@ (ce.event.special[i] = { setup: function () { var e = this.ownerDocument || this.document || this, - t = m.documentMode ? this : e, + t = C.documentMode ? this : e, n = _.get(t, i); n || - (m.documentMode + (C.documentMode ? this.addEventListener(i, o) : e.addEventListener(r, o, !0)), _.set(t, i, (n || 0) + 1); }, teardown: function () { var e = this.ownerDocument || this.document || this, - t = m.documentMode ? this : e, + t = C.documentMode ? this : e, n = _.get(t, i) - 1; n ? _.set(t, i, n) - : (m.documentMode + : (C.documentMode ? this.removeEventListener(i, o) : e.removeEventListener(r, o, !0), _.remove(t, i)); @@ -2768,10 +2800,10 @@ ), ce.fn.extend({ on: function (e, t, n, r) { - return je(this, e, t, n, r); + return Le(this, e, t, n, r); }, one: function (e, t, n, r) { - return je(this, e, t, n, r, 1); + return Le(this, e, t, n, r, 1); }, off: function (e, t, n) { var r, i; @@ -2791,16 +2823,16 @@ } return ( (!1 !== t && "function" != typeof t) || ((n = t), (t = void 0)), - !1 === n && (n = Le), + !1 === n && (n = qe), this.each(function () { ce.event.remove(this, e, n, t); }) ); }, }); - var Pe = /\s*$/g; + var Oe = /\s*$/g; function Re(e, t) { return ( (fe(e, "table") && @@ -2809,10 +2841,10 @@ e ); } - function Me(e) { + function Ie(e) { return (e.type = (null !== e.getAttribute("type")) + "/" + e.type), e; } - function Ie(e) { + function We(e) { return ( "true/" === (e.type || "").slice(0, 5) ? (e.type = e.type.slice(5)) @@ -2820,7 +2852,7 @@ e ); } - function We(e, t) { + function Fe(e, t) { var n, r, i, o, a, s; if (1 === t.nodeType) { if (_.hasData(e) && (s = _.get(e).events)) @@ -2829,7 +2861,7 @@ z.hasData(e) && ((o = z.access(e)), (a = ce.extend({}, o)), z.set(t, a)); } } - function Be(n, r, i, o) { + function $e(n, r, i, o) { r = g(r); var e, t, @@ -2839,13 +2871,13 @@ l, c = 0, f = n.length, - d = f - 1, - p = r[0], - h = v(p); - if (h || (1 < f && "string" == typeof p && !le.checkClone && He.test(p))) + p = f - 1, + d = r[0], + h = v(d); + if (h || (1 < f && "string" == typeof d && !le.checkClone && Pe.test(d))) return n.each(function (e) { var t = n.eq(e); - h && (r[0] = p.call(this, e, t.html())), Be(t, r, i, o); + h && (r[0] = d.call(this, e, t.html())), $e(t, r, i, o); }); if ( f && @@ -2853,14 +2885,14 @@ 1 === e.childNodes.length && (e = t), t || o) ) { - for (s = (a = ce.map(Ee(e, "script"), Me)).length; c < f; c++) + for (s = (a = ce.map(Se(e, "script"), Ie)).length; c < f; c++) (u = e), - c !== d && - ((u = ce.clone(u, !0, !0)), s && ce.merge(a, Ee(u, "script"))), + c !== p && + ((u = ce.clone(u, !0, !0)), s && ce.merge(a, Se(u, "script"))), i.call(n[c], u, c); if (s) for ( - l = a[a.length - 1].ownerDocument, ce.map(a, Ie), c = 0; + l = a[a.length - 1].ownerDocument, ce.map(a, We), c = 0; c < s; c++ ) @@ -2876,15 +2908,15 @@ { nonce: u.nonce || u.getAttribute("nonce") }, l, ) - : b(u.textContent.replace(qe, ""), u, l)); + : m(u.textContent.replace(Me, ""), u, l)); } return n; } - function Fe(e, t, n) { + function Be(e, t, n) { for (var r, i = t ? ce.filter(t, e) : e, o = 0; null != (r = i[o]); o++) - n || 1 !== r.nodeType || ce.cleanData(Ee(r)), + n || 1 !== r.nodeType || ce.cleanData(Se(r)), r.parentNode && - (n && J(r) && ke(Ee(r, "script")), r.parentNode.removeChild(r)); + (n && K(r) && Ee(Se(r, "script")), r.parentNode.removeChild(r)); return e; } ce.extend({ @@ -2900,7 +2932,7 @@ u, l, c = e.cloneNode(!0), - f = J(e); + f = K(e); if ( !( le.noCloneChecked || @@ -2908,26 +2940,26 @@ ce.isXMLDoc(e) ) ) - for (a = Ee(c), r = 0, i = (o = Ee(e)).length; r < i; r++) + for (a = Se(c), r = 0, i = (o = Se(e)).length; r < i; r++) (s = o[r]), (u = a[r]), void 0, - "input" === (l = u.nodeName.toLowerCase()) && xe.test(s.type) + "input" === (l = u.nodeName.toLowerCase()) && we.test(s.type) ? (u.checked = s.checked) : ("input" !== l && "textarea" !== l) || (u.defaultValue = s.defaultValue); if (t) if (n) - for (o = o || Ee(e), a = a || Ee(c), r = 0, i = o.length; r < i; r++) - We(o[r], a[r]); - else We(e, c); + for (o = o || Se(e), a = a || Se(c), r = 0, i = o.length; r < i; r++) + Fe(o[r], a[r]); + else Fe(e, c); return ( - 0 < (a = Ee(c, "script")).length && ke(a, !f && Ee(e, "script")), c + 0 < (a = Se(c, "script")).length && Ee(a, !f && Se(e, "script")), c ); }, cleanData: function (e) { for (var t, n, r, i = ce.event.special, o = 0; void 0 !== (n = e[o]); o++) - if (F(n)) { + if ($(n)) { if ((t = n[_.expando])) { if (t.events) for (r in t.events) @@ -2940,13 +2972,13 @@ }), ce.fn.extend({ detach: function (e) { - return Fe(this, e, !0); + return Be(this, e, !0); }, remove: function (e) { - return Fe(this, e); + return Be(this, e); }, text: function (e) { - return R( + return M( this, function (e) { return void 0 === e @@ -2964,7 +2996,7 @@ ); }, append: function () { - return Be(this, arguments, function (e) { + return $e(this, arguments, function (e) { (1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType) || @@ -2972,7 +3004,7 @@ }); }, prepend: function () { - return Be(this, arguments, function (e) { + return $e(this, arguments, function (e) { if ( 1 === this.nodeType || 11 === this.nodeType || @@ -2984,18 +3016,18 @@ }); }, before: function () { - return Be(this, arguments, function (e) { + return $e(this, arguments, function (e) { this.parentNode && this.parentNode.insertBefore(e, this); }); }, after: function () { - return Be(this, arguments, function (e) { + 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 && (ce.cleanData(Ee(e, !1)), (e.textContent = "")); + 1 === e.nodeType && (ce.cleanData(Se(e, !1)), (e.textContent = "")); return this; }, clone: function (e, t) { @@ -3008,7 +3040,7 @@ ); }, html: function (e) { - return R( + return M( this, function (e) { var t = this[0] || {}, @@ -3017,14 +3049,14 @@ if (void 0 === e && 1 === t.nodeType) return t.innerHTML; if ( "string" == typeof e && - !Pe.test(e) && - !Te[(we.exec(e) || ["", ""])[1].toLowerCase()] + !Oe.test(e) && + !ke[(Te.exec(e) || ["", ""])[1].toLowerCase()] ) { e = ce.htmlPrefilter(e); try { for (; n < r; n++) 1 === (t = this[n] || {}).nodeType && - (ce.cleanData(Ee(t, !1)), (t.innerHTML = e)); + (ce.cleanData(Se(t, !1)), (t.innerHTML = e)); t = 0; } catch (e) {} } @@ -3037,13 +3069,13 @@ }, replaceWith: function () { var n = []; - return Be( + return $e( this, arguments, function (e) { var t = this.parentNode; ce.inArray(this, n) < 0 && - (ce.cleanData(Ee(this)), t && t.replaceChild(e, this)); + (ce.cleanData(Se(this)), t && t.replaceChild(e, this)); }, n, ); @@ -3067,9 +3099,9 @@ }; }, ); - var $e = new RegExp("^(" + Q + ")(?!px)[a-z%]+$", "i"), - _e = /^--/, - ze = function (e) { + var _e = new RegExp("^(" + G + ")(?!px)[a-z%]+$", "i"), + ze = /^--/, + Xe = function (e) { var t = e.ownerDocument.defaultView; return (t && t.opener) || (t = ie), t.getComputedStyle(e); }, @@ -3081,22 +3113,22 @@ for (i in ((r = n.call(e)), t)) e.style[i] = o[i]; return r; }, - Xe = new RegExp(G.join("|"), "i"); - function Ve(e, t, n) { + Ve = new RegExp(Q.join("|"), "i"); + function Ge(e, t, n) { var r, i, o, a, - s = _e.test(t), + s = ze.test(t), u = e.style; return ( - (n = n || ze(e)) && + (n = n || Xe(e)) && ((a = n.getPropertyValue(t) || n[t]), s && a && (a = a.replace(ve, "$1") || void 0), - "" !== a || J(e) || (a = ce.style(e, t)), + "" !== a || K(e) || (a = ce.style(e, t)), !le.pixelBoxStyles() && - $e.test(a) && - Xe.test(t) && + _e.test(a) && + Ve.test(t) && ((r = u.width), (i = u.minWidth), (o = u.maxWidth), @@ -3108,7 +3140,7 @@ void 0 !== a ? a + "" : a ); } - function Qe(e, t) { + function Ye(e, t) { return { get: function () { if (!e()) return (this.get = t).apply(this, arguments); @@ -3123,7 +3155,7 @@ "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0"), (l.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%"), - K.appendChild(u).appendChild(l); + J.appendChild(u).appendChild(l); var e = ie.getComputedStyle(l); (n = "1%" !== e.top), (s = 12 === t(e.marginLeft)), @@ -3132,7 +3164,7 @@ (r = 36 === t(e.width)), (l.style.position = "absolute"), (i = 12 === t(l.offsetWidth / 3)), - K.removeChild(u), + J.removeChild(u), (l = null); } } @@ -3145,8 +3177,8 @@ o, a, s, - u = m.createElement("div"), - l = m.createElement("div"); + u = C.createElement("div"), + l = C.createElement("div"); l.style && ((l.style.backgroundClip = "content-box"), (l.cloneNode(!0).style.backgroundClip = ""), @@ -3171,70 +3203,68 @@ var e, t, n, r; return ( null == a && - ((e = m.createElement("table")), - (t = m.createElement("tr")), - (n = m.createElement("div")), + ((e = C.createElement("table")), + (t = C.createElement("tr")), + (n = C.createElement("div")), (e.style.cssText = "position:absolute;left:-11111px;border-collapse:separate"), (t.style.cssText = "box-sizing:content-box;border:1px solid"), (t.style.height = "1px"), (n.style.height = "9px"), (n.style.display = "block"), - K.appendChild(e).appendChild(t).appendChild(n), + J.appendChild(e).appendChild(t).appendChild(n), (r = ie.getComputedStyle(t)), (a = parseInt(r.height, 10) + parseInt(r.borderTopWidth, 10) + parseInt(r.borderBottomWidth, 10) === t.offsetHeight), - K.removeChild(e)), + J.removeChild(e)), a ); }, })); })(); - var Ye = ["Webkit", "Moz", "ms"], - Ge = m.createElement("div").style, + var Qe = ["Webkit", "Moz", "ms"], + Je = C.createElement("div").style, Ke = {}; - function Je(e) { + function Ze(e) { var t = ce.cssProps[e] || Ke[e]; return ( t || - (e in Ge + (e in Je ? e : (Ke[e] = (function (e) { var t = e[0].toUpperCase() + e.slice(1), - n = Ye.length; - while (n--) if ((e = Ye[n] + t) in Ge) return e; + n = Qe.length; + while (n--) if ((e = Qe[n] + t) in Je) return e; })(e) || e)) ); } - var Ze, - et, - tt = /^(none|table(?!-c[ea]).+)/, - nt = { position: "absolute", visibility: "hidden", display: "block" }, - rt = { letterSpacing: "0", fontWeight: "400" }; - function it(e, t, n) { + var et = /^(none|table(?!-c[ea]).+)/, + tt = { position: "absolute", visibility: "hidden", display: "block" }, + nt = { letterSpacing: "0", fontWeight: "400" }; + function rt(e, t, n) { var r = Y.exec(t); return r ? Math.max(0, r[2] - (n || 0)) + (r[3] || "px") : t; } - function ot(e, t, n, r, i, o) { + function it(e, t, n, r, i, o) { var a = "width" === t ? 1 : 0, s = 0, u = 0, l = 0; if (n === (r ? "border" : "content")) return 0; for (; a < 4; a += 2) - "margin" === n && (l += ce.css(e, n + G[a], !0, i)), + "margin" === n && (l += ce.css(e, n + Q[a], !0, i)), r - ? ("content" === n && (u -= ce.css(e, "padding" + G[a], !0, i)), + ? ("content" === n && (u -= ce.css(e, "padding" + Q[a], !0, i)), "margin" !== n && - (u -= ce.css(e, "border" + G[a] + "Width", !0, i))) - : ((u += ce.css(e, "padding" + G[a], !0, i)), + (u -= ce.css(e, "border" + Q[a] + "Width", !0, i))) + : ((u += ce.css(e, "padding" + Q[a], !0, i)), "padding" !== n - ? (u += ce.css(e, "border" + G[a] + "Width", !0, i)) - : (s += ce.css(e, "border" + G[a] + "Width", !0, i))); + ? (u += ce.css(e, "border" + Q[a] + "Width", !0, i)) + : (s += ce.css(e, "border" + Q[a] + "Width", !0, i))); return ( !r && 0 <= o && @@ -3248,15 +3278,15 @@ u + l ); } - function at(e, t, n) { - var r = ze(e), + function ot(e, t, n) { + var r = Xe(e), i = (!le.boxSizingReliable() || n) && "border-box" === ce.css(e, "boxSizing", !1, r), o = i, - a = Ve(e, t, r), + a = Ge(e, t, r), s = "offset" + t[0].toUpperCase() + t.slice(1); - if ($e.test(a)) { + if (_e.test(a)) { if (!n) return a; a = "auto"; } @@ -3269,16 +3299,19 @@ ((i = "border-box" === ce.css(e, "boxSizing", !1, r)), (o = s in e) && (a = e[s])), (a = parseFloat(a) || 0) + - ot(e, t, n || (i ? "border" : "content"), o, r, a) + + it(e, t, n || (i ? "border" : "content"), o, r, a) + "px" ); } + function at(e, t, n, r, i) { + return new at.prototype.init(e, t, n, r, i); + } ce.extend({ cssHooks: { opacity: { get: function (e, t) { if (t) { - var n = Ve(e, "opacity"); + var n = Ge(e, "opacity"); return "" === n ? "1" : n; } }, @@ -3319,11 +3352,11 @@ var i, o, a, - s = B(t), - u = _e.test(t), + s = F(t), + u = ze.test(t), l = e.style; if ( - (u || (t = Je(s)), + (u || (t = Ze(s)), (a = ce.cssHooks[t] || ce.cssHooks[s]), void 0 === n) ) @@ -3331,40 +3364,7 @@ "string" === (o = typeof n) && (i = Y.exec(n)) && i[1] && - ((n = (function (e, t, n, r) { - var i, - o, - a = 20, - s = r - ? function () { - return r.cur(); - } - : function () { - return ce.css(e, t, ""); - }, - u = s(), - l = (n && n[3]) || (ce.cssNumber[t] ? "" : "px"), - c = - e.nodeType && - (ce.cssNumber[t] || ("px" !== l && +u)) && - Y.exec(ce.css(e, t)); - if (c && c[3] !== l) { - (u /= 2), (l = l || c[3]), (c = +u || 1); - while (a--) - ce.style(e, t, c + l), - (1 - o) * (1 - (o = s() / u || 0.5)) <= 0 && (a = 0), - (c /= o); - (c *= 2), ce.style(e, t, c + l), (n = n || []); - } - return ( - n && - ((c = +c || +u || 0), - (i = n[1] ? c + (n[1] + 1) * n[2] : +n[2]), - r && ((r.unit = l), (r.start = c), (r.end = i))), - i - ); - })(e, t, i)), - (o = "number")), + ((n = te(e, t, i)), (o = "number")), null != n && n == n && ("number" !== o || @@ -3382,14 +3382,14 @@ var i, o, a, - s = B(t); + s = F(t); return ( - _e.test(t) || (t = Je(s)), + ze.test(t) || (t = Ze(s)), (a = ce.cssHooks[t] || ce.cssHooks[s]) && "get" in a && (i = a.get(e, !0, n)), - void 0 === i && (i = Ve(e, t, r)), - "normal" === i && t in rt && (i = rt[t]), + void 0 === i && (i = Ge(e, t, r)), + "normal" === i && t in nt && (i = nt[t]), "" === n || n ? ((o = parseFloat(i)), !0 === n || isFinite(o) ? o || 0 : i) : i @@ -3400,41 +3400,41 @@ ce.cssHooks[u] = { get: function (e, t, n) { if (t) - return !tt.test(ce.css(e, "display")) || + return !et.test(ce.css(e, "display")) || (e.getClientRects().length && e.getBoundingClientRect().width) - ? at(e, u, n) - : Ue(e, nt, function () { - return at(e, u, n); + ? ot(e, u, n) + : Ue(e, tt, function () { + return ot(e, u, n); }); }, set: function (e, t, n) { var r, - i = ze(e), + i = Xe(e), o = !le.scrollboxSize() && "absolute" === i.position, a = (o || n) && "border-box" === ce.css(e, "boxSizing", !1, i), - s = n ? ot(e, u, n, a, i) : 0; + s = n ? it(e, u, n, a, i) : 0; return ( a && o && (s -= Math.ceil( e["offset" + u[0].toUpperCase() + u.slice(1)] - parseFloat(i[u]) - - ot(e, u, "border", !1, i) - + it(e, u, "border", !1, i) - 0.5, )), s && (r = Y.exec(t)) && "px" !== (r[3] || "px") && ((e.style[u] = t), (t = ce.css(e, u))), - it(0, t, s) + rt(0, t, s) ); }, }; }), - (ce.cssHooks.marginLeft = Qe(le.reliableMarginLeft, function (e, t) { + (ce.cssHooks.marginLeft = Ye(le.reliableMarginLeft, function (e, t) { if (t) return ( - (parseFloat(Ve(e, "marginLeft")) || + (parseFloat(Ge(e, "marginLeft")) || e.getBoundingClientRect().left - Ue(e, { marginLeft: 0 }, function () { return e.getBoundingClientRect().left; @@ -3449,15 +3449,15 @@ t < 4; t++ ) - n[i + G[t] + o] = r[t] || r[t - 2] || r[0]; + n[i + Q[t] + o] = r[t] || r[t - 2] || r[0]; return n; }, }), - "margin" !== i && (ce.cssHooks[i + o].set = it); + "margin" !== i && (ce.cssHooks[i + o].set = rt); }), ce.fn.extend({ css: function (e, t) { - return R( + return M( this, function (e, t, n) { var r, @@ -3465,7 +3465,7 @@ o = {}, a = 0; if (Array.isArray(t)) { - for (r = ze(e), i = t.length; a < i; a++) + for (r = Xe(e), i = t.length; a < i; a++) o[t[a]] = ce.css(e, t[a], !1, r); return o; } @@ -3477,6 +3477,463 @@ ); }, }), + (((ce.Tween = at).prototype = { + constructor: at, + init: function (e, t, n, r, i, o) { + (this.elem = e), + (this.prop = n), + (this.easing = i || ce.easing._default), + (this.options = t), + (this.start = this.now = this.cur()), + (this.end = r), + (this.unit = o || (ce.cssNumber[n] ? "" : "px")); + }, + cur: function () { + var e = at.propHooks[this.prop]; + return e && e.get ? e.get(this) : at.propHooks._default.get(this); + }, + run: function (e) { + var t, + n = at.propHooks[this.prop]; + return ( + this.options.duration + ? (this.pos = t = + ce.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) : at.propHooks._default.set(this), + this + ); + }, + }).init.prototype = at.prototype), + ((at.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 = ce.css(e.elem, e.prop, "")) && "auto" !== t + ? t + : 0; + }, + set: function (e) { + ce.fx.step[e.prop] + ? ce.fx.step[e.prop](e) + : 1 !== e.elem.nodeType || + (!ce.cssHooks[e.prop] && null == e.elem.style[Ze(e.prop)]) + ? (e.elem[e.prop] = e.now) + : ce.style(e.elem, e.prop, e.now + e.unit); + }, + }, + }).scrollTop = at.propHooks.scrollLeft = + { + set: function (e) { + e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now); + }, + }), + (ce.easing = { + linear: function (e) { + return e; + }, + swing: function (e) { + return 0.5 - Math.cos(e * Math.PI) / 2; + }, + _default: "swing", + }), + (ce.fx = at.prototype.init), + (ce.fx.step = {}); + var st, + ut, + lt, + ct, + ft = /^(?:toggle|show|hide)$/, + pt = /queueHooks$/; + function dt() { + ut && + (!1 === C.hidden && ie.requestAnimationFrame + ? ie.requestAnimationFrame(dt) + : ie.setTimeout(dt, ce.fx.interval), + ce.fx.tick()); + } + function ht() { + return ( + ie.setTimeout(function () { + st = void 0; + }), + (st = Date.now()) + ); + } + function gt(e, t) { + var n, + r = 0, + i = { height: e }; + for (t = t ? 1 : 0; r < 4; r += 2 - t) + i["margin" + (n = Q[r])] = i["padding" + n] = e; + return t && (i.opacity = i.width = e), i; + } + function vt(e, t, n) { + for ( + var r, + i = (yt.tweeners[t] || []).concat(yt.tweeners["*"]), + o = 0, + a = i.length; + o < a; + o++ + ) + if ((r = i[o].call(n, t, e))) return r; + } + function yt(o, e, t) { + var n, + a, + r = 0, + i = yt.prefilters.length, + s = ce.Deferred().always(function () { + delete u.elem; + }), + u = function () { + if (a) return !1; + for ( + var e = st || ht(), + t = Math.max(0, l.startTime + l.duration - e), + n = 1 - (t / l.duration || 0), + r = 0, + i = l.tweens.length; + r < i; + r++ + ) + l.tweens[r].run(n); + return ( + s.notifyWith(o, [l, n, t]), + n < 1 && i + ? t + : (i || s.notifyWith(o, [l, 1, 0]), s.resolveWith(o, [l]), !1) + ); + }, + l = s.promise({ + elem: o, + props: ce.extend({}, e), + opts: ce.extend( + !0, + { specialEasing: {}, easing: ce.easing._default }, + t, + ), + originalProperties: e, + originalOptions: t, + startTime: st || ht(), + duration: t.duration, + tweens: [], + createTween: function (e, t) { + var n = ce.Tween( + o, + l.opts, + e, + t, + l.opts.specialEasing[e] || l.opts.easing, + ); + return l.tweens.push(n), n; + }, + stop: function (e) { + var t = 0, + n = e ? l.tweens.length : 0; + if (a) return this; + for (a = !0; t < n; t++) l.tweens[t].run(1); + return ( + e + ? (s.notifyWith(o, [l, 1, 0]), s.resolveWith(o, [l, e])) + : s.rejectWith(o, [l, e]), + this + ); + }, + }), + c = l.props; + for ( + !(function (e, t) { + var n, r, i, o, a; + for (n in e) + if ( + ((i = t[(r = F(n))]), + (o = e[n]), + Array.isArray(o) && ((i = o[1]), (o = e[n] = o[0])), + n !== r && ((e[r] = o), delete e[n]), + (a = ce.cssHooks[r]) && ("expand" in a)) + ) + for (n in ((o = a.expand(o)), delete e[r], o)) + (n in e) || ((e[n] = o[n]), (t[n] = i)); + else t[r] = i; + })(c, l.opts.specialEasing); + r < i; + r++ + ) + if ((n = yt.prefilters[r].call(l, o, c, l.opts))) + return ( + v(n.stop) && + (ce._queueHooks(l.elem, l.opts.queue).stop = n.stop.bind(n)), + n + ); + return ( + ce.map(c, vt, l), + v(l.opts.start) && l.opts.start.call(o, l), + l + .progress(l.opts.progress) + .done(l.opts.done, l.opts.complete) + .fail(l.opts.fail) + .always(l.opts.always), + ce.fx.timer(ce.extend(u, { elem: o, anim: l, queue: l.opts.queue })), + l + ); + } + (ce.Animation = ce.extend(yt, { + tweeners: { + "*": [ + function (e, t) { + var n = this.createTween(e, t); + return te(n.elem, e, Y.exec(t), n), n; + }, + ], + }, + tweener: function (e, t) { + v(e) ? ((t = e), (e = ["*"])) : (e = e.match(D)); + for (var n, r = 0, i = e.length; r < i; r++) + (n = e[r]), + (yt.tweeners[n] = yt.tweeners[n] || []), + yt.tweeners[n].unshift(t); + }, + prefilters: [ + function (e, t, n) { + var r, + i, + o, + a, + s, + u, + l, + c, + f = "width" in t || "height" in t, + p = this, + d = {}, + h = e.style, + g = e.nodeType && ee(e), + v = _.get(e, "fxshow"); + for (r in (n.queue || + (null == (a = ce._queueHooks(e, "fx")).unqueued && + ((a.unqueued = 0), + (s = a.empty.fire), + (a.empty.fire = function () { + a.unqueued || s(); + })), + a.unqueued++, + p.always(function () { + p.always(function () { + a.unqueued--, ce.queue(e, "fx").length || a.empty.fire(); + }); + })), + t)) + if (((i = t[r]), ft.test(i))) { + if ( + (delete t[r], + (o = o || "toggle" === i), + i === (g ? "hide" : "show")) + ) { + if ("show" !== i || !v || void 0 === v[r]) continue; + g = !0; + } + d[r] = (v && v[r]) || ce.style(e, r); + } + if ((u = !ce.isEmptyObject(t)) || !ce.isEmptyObject(d)) + for (r in (f && + 1 === e.nodeType && + ((n.overflow = [h.overflow, h.overflowX, h.overflowY]), + null == (l = v && v.display) && (l = _.get(e, "display")), + "none" === (c = ce.css(e, "display")) && + (l + ? (c = l) + : (re([e], !0), + (l = e.style.display || l), + (c = ce.css(e, "display")), + re([e]))), + ("inline" === c || ("inline-block" === c && null != l)) && + "none" === ce.css(e, "float") && + (u || + (p.done(function () { + h.display = l; + }), + null == l && ((c = h.display), (l = "none" === c ? "" : c))), + (h.display = "inline-block"))), + n.overflow && + ((h.overflow = "hidden"), + p.always(function () { + (h.overflow = n.overflow[0]), + (h.overflowX = n.overflow[1]), + (h.overflowY = n.overflow[2]); + })), + (u = !1), + d)) + u || + (v + ? "hidden" in v && (g = v.hidden) + : (v = _.access(e, "fxshow", { display: l })), + o && (v.hidden = !g), + g && re([e], !0), + p.done(function () { + for (r in (g || re([e]), _.remove(e, "fxshow"), d)) + ce.style(e, r, d[r]); + })), + (u = vt(g ? v[r] : 0, r, p)), + r in v || + ((v[r] = u.start), g && ((u.end = u.start), (u.start = 0))); + }, + ], + prefilter: function (e, t) { + t ? yt.prefilters.unshift(e) : yt.prefilters.push(e); + }, + })), + (ce.speed = function (e, t, n) { + var r = + e && "object" == typeof e + ? ce.extend({}, e) + : { + complete: n || (!n && t) || (v(e) && e), + duration: e, + easing: (n && t) || (t && !v(t) && t), + }; + return ( + ce.fx.off + ? (r.duration = 0) + : "number" != typeof r.duration && + (r.duration in ce.fx.speeds + ? (r.duration = ce.fx.speeds[r.duration]) + : (r.duration = ce.fx.speeds._default)), + (null != r.queue && !0 !== r.queue) || (r.queue = "fx"), + (r.old = r.complete), + (r.complete = function () { + v(r.old) && r.old.call(this), r.queue && ce.dequeue(this, r.queue); + }), + r + ); + }), + ce.fn.extend({ + fadeTo: function (e, t, n, r) { + return this.filter(ee) + .css("opacity", 0) + .show() + .end() + .animate({ opacity: t }, e, n, r); + }, + animate: function (t, e, n, r) { + var i = ce.isEmptyObject(t), + o = ce.speed(e, n, r), + a = function () { + var e = yt(this, ce.extend({}, t), o); + (i || _.get(this, "finish")) && e.stop(!0); + }; + return ( + (a.finish = a), + i || !1 === o.queue ? this.each(a) : this.queue(o.queue, a) + ); + }, + stop: function (i, e, o) { + var a = function (e) { + var t = e.stop; + delete e.stop, t(o); + }; + return ( + "string" != typeof i && ((o = e), (e = i), (i = void 0)), + e && this.queue(i || "fx", []), + this.each(function () { + var e = !0, + t = null != i && i + "queueHooks", + n = ce.timers, + r = _.get(this); + if (t) r[t] && r[t].stop && a(r[t]); + else for (t in r) r[t] && r[t].stop && pt.test(t) && a(r[t]); + for (t = n.length; t--; ) + n[t].elem !== this || + (null != i && n[t].queue !== i) || + (n[t].anim.stop(o), (e = !1), n.splice(t, 1)); + (!e && o) || ce.dequeue(this, i); + }) + ); + }, + finish: function (a) { + return ( + !1 !== a && (a = a || "fx"), + this.each(function () { + var e, + t = _.get(this), + n = t[a + "queue"], + r = t[a + "queueHooks"], + i = ce.timers, + o = n ? n.length : 0; + for ( + t.finish = !0, + ce.queue(this, a, []), + r && r.stop && r.stop.call(this, !0), + e = i.length; + e--; + + ) + i[e].elem === this && + i[e].queue === a && + (i[e].anim.stop(!0), i.splice(e, 1)); + for (e = 0; e < o; e++) + n[e] && n[e].finish && n[e].finish.call(this); + delete t.finish; + }) + ); + }, + }), + ce.each(["toggle", "show", "hide"], function (e, r) { + var i = ce.fn[r]; + ce.fn[r] = function (e, t, n) { + return null == e || "boolean" == typeof e + ? i.apply(this, arguments) + : this.animate(gt(r, !0), e, t, n); + }; + }), + ce.each( + { + slideDown: gt("show"), + slideUp: gt("hide"), + slideToggle: gt("toggle"), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" }, + }, + function (e, r) { + ce.fn[e] = function (e, t, n) { + return this.animate(r, e, t, n); + }; + }, + ), + (ce.timers = []), + (ce.fx.tick = function () { + var e, + t = 0, + n = ce.timers; + for (st = Date.now(); t < n.length; t++) + (e = n[t])() || n[t] !== e || n.splice(t--, 1); + n.length || ce.fx.stop(), (st = void 0); + }), + (ce.fx.timer = function (e) { + ce.timers.push(e), ce.fx.start(); + }), + (ce.fx.interval = 13), + (ce.fx.start = function () { + ut || ((ut = !0), dt()); + }), + (ce.fx.stop = function () { + ut = null; + }), + (ce.fx.speeds = { slow: 600, fast: 200, _default: 400 }), (ce.fn.delay = function (r, e) { return ( (r = (ce.fx && ce.fx.speeds[r]) || r), @@ -3489,19 +3946,19 @@ }) ); }), - (Ze = m.createElement("input")), - (et = m.createElement("select").appendChild(m.createElement("option"))), - (Ze.type = "checkbox"), - (le.checkOn = "" !== Ze.value), - (le.optSelected = et.selected), - ((Ze = m.createElement("input")).value = "t"), - (Ze.type = "radio"), - (le.radioValue = "t" === Ze.value); - var st, - ut = ce.expr.attrHandle; + (lt = C.createElement("input")), + (ct = C.createElement("select").appendChild(C.createElement("option"))), + (lt.type = "checkbox"), + (le.checkOn = "" !== lt.value), + (le.optSelected = ct.selected), + ((lt = C.createElement("input")).value = "t"), + (lt.type = "radio"), + (le.radioValue = "t" === lt.value); + var mt, + xt = ce.expr.attrHandle; ce.fn.extend({ attr: function (e, t) { - return R(this, ce.attr, e, t, 1 < arguments.length); + return M(this, ce.attr, e, t, 1 < arguments.length); }, removeAttr: function (e) { return this.each(function () { @@ -3520,7 +3977,7 @@ : ((1 === o && ce.isXMLDoc(e)) || (i = ce.attrHooks[t.toLowerCase()] || - (ce.expr.match.bool.test(t) ? st : void 0)), + (ce.expr.match.bool.test(t) ? mt : void 0)), void 0 !== n ? null === n ? void ce.removeAttr(e, t) @@ -3546,45 +4003,45 @@ removeAttr: function (e, t) { var n, r = 0, - i = t && t.match(N); + i = t && t.match(D); if (i && 1 === e.nodeType) while ((n = i[r++])) e.removeAttribute(n); }, }), - (st = { + (mt = { set: function (e, t, n) { return !1 === t ? ce.removeAttr(e, n) : e.setAttribute(n, n), n; }, }), ce.each(ce.expr.match.bool.source.match(/\w+/g), function (e, t) { - var a = ut[t] || ce.find.attr; - ut[t] = function (e, t, n) { + var a = xt[t] || ce.find.attr; + xt[t] = function (e, t, n) { var r, i, o = t.toLowerCase(); return ( n || - ((i = ut[o]), - (ut[o] = r), + ((i = xt[o]), + (xt[o] = r), (r = null != a(e, t, n) ? o : null), - (ut[o] = i)), + (xt[o] = i)), r ); }; }); - var lt = /^(?:input|select|textarea|button)$/i, - ct = /^(?:a|area)$/i; - function ft(e) { - return (e.match(N) || []).join(" "); + var bt = /^(?:input|select|textarea|button)$/i, + wt = /^(?:a|area)$/i; + function Tt(e) { + return (e.match(D) || []).join(" "); } - function dt(e) { + function Ct(e) { return (e.getAttribute && e.getAttribute("class")) || ""; } - function pt(e) { - return Array.isArray(e) ? e : ("string" == typeof e && e.match(N)) || []; + function kt(e) { + return Array.isArray(e) ? e : ("string" == typeof e && e.match(D)) || []; } ce.fn.extend({ prop: function (e, t) { - return R(this, ce.prop, e, t, 1 < arguments.length); + return M(this, ce.prop, e, t, 1 < arguments.length); }, removeProp: function (e) { return this.each(function () { @@ -3616,7 +4073,7 @@ var t = ce.find.attr(e, "tabindex"); return t ? parseInt(t, 10) - : lt.test(e.nodeName) || (ct.test(e.nodeName) && e.href) + : bt.test(e.nodeName) || (wt.test(e.nodeName) && e.href) ? 0 : -1; }, @@ -3657,16 +4114,16 @@ var e, n, r, i, o, a; return v(t) ? this.each(function (e) { - ce(this).addClass(t.call(this, e, dt(this))); + ce(this).addClass(t.call(this, e, Ct(this))); }) - : (e = pt(t)).length + : (e = kt(t)).length ? this.each(function () { if ( - ((r = dt(this)), (n = 1 === this.nodeType && " " + ft(r) + " ")) + ((r = Ct(this)), (n = 1 === this.nodeType && " " + Tt(r) + " ")) ) { for (o = 0; o < e.length; o++) (i = e[o]), n.indexOf(" " + i + " ") < 0 && (n += i + " "); - (a = ft(n)), r !== a && this.setAttribute("class", a); + (a = Tt(n)), r !== a && this.setAttribute("class", a); } }) : this; @@ -3675,21 +4132,21 @@ var e, n, r, i, o, a; return v(t) ? this.each(function (e) { - ce(this).removeClass(t.call(this, e, dt(this))); + ce(this).removeClass(t.call(this, e, Ct(this))); }) : arguments.length - ? (e = pt(t)).length + ? (e = kt(t)).length ? this.each(function () { if ( - ((r = dt(this)), - (n = 1 === this.nodeType && " " + ft(r) + " ")) + ((r = Ct(this)), + (n = 1 === this.nodeType && " " + Tt(r) + " ")) ) { for (o = 0; o < e.length; o++) { i = e[o]; while (-1 < n.indexOf(" " + i + " ")) n = n.replace(" " + i + " ", " "); } - (a = ft(n)), r !== a && this.setAttribute("class", a); + (a = Tt(n)), r !== a && this.setAttribute("class", a); } }) : this @@ -3704,20 +4161,20 @@ s = "string" === a || Array.isArray(t); return v(t) ? this.each(function (e) { - ce(this).toggleClass(t.call(this, e, dt(this), n), n); + ce(this).toggleClass(t.call(this, e, Ct(this), n), n); }) : "boolean" == typeof n && s ? n ? this.addClass(t) : this.removeClass(t) - : ((e = pt(t)), + : ((e = kt(t)), this.each(function () { if (s) for (o = ce(this), i = 0; i < e.length; i++) (r = e[i]), o.hasClass(r) ? o.removeClass(r) : o.addClass(r); else (void 0 !== t && "boolean" !== a) || - ((r = dt(this)) && _.set(this, "__className__", r), + ((r = Ct(this)) && _.set(this, "__className__", r), this.setAttribute && this.setAttribute( "class", @@ -3731,12 +4188,12 @@ r = 0; t = " " + e + " "; while ((n = this[r++])) - if (1 === n.nodeType && -1 < (" " + ft(dt(n)) + " ").indexOf(t)) + if (1 === n.nodeType && -1 < (" " + Tt(Ct(n)) + " ").indexOf(t)) return !0; return !1; }, }); - var ht = /\r/g; + var St = /\r/g; ce.fn.extend({ val: function (n) { var r, @@ -3769,7 +4226,7 @@ void 0 !== (e = r.get(t, "value")) ? e : "string" == typeof (e = t.value) - ? e.replace(ht, "") + ? e.replace(St, "") : null == e ? "" : e @@ -3781,7 +4238,7 @@ option: { get: function (e) { var t = ce.find.attr(e, "value"); - return null != t ? t : ft(ce.text(e)); + return null != t ? t : Tt(ce.text(e)); }, }, select: { @@ -3830,31 +4287,34 @@ (ce.valHooks[this].get = function (e) { return null === e.getAttribute("value") ? "on" : e.value; }); - }), - (ce.parseXML = function (e) { - var t, n; - if (!e || "string" != typeof e) return null; - try { - t = new ie.DOMParser().parseFromString(e, "text/xml"); - } catch (e) {} - return ( - (n = t && t.getElementsByTagName("parsererror")[0]), - (t && !n) || - ce.error( - "Invalid XML: " + - (n - ? ce - .map(n.childNodes, function (e) { - return e.textContent; - }) - .join("\n") - : e), - ), - t - ); }); - var gt = /^(?:focusinfocus|focusoutblur)$/, - vt = function (e) { + var Et = ie.location, + jt = { guid: Date.now() }, + At = /\?/; + ce.parseXML = function (e) { + var t, n; + if (!e || "string" != typeof e) return null; + try { + t = new ie.DOMParser().parseFromString(e, "text/xml"); + } catch (e) {} + return ( + (n = t && t.getElementsByTagName("parsererror")[0]), + (t && !n) || + ce.error( + "Invalid XML: " + + (n + ? ce + .map(n.childNodes, function (e) { + return e.textContent; + }) + .join("\n") + : e), + ), + t + ); + }; + var Dt = /^(?:focusinfocus|focusoutblur)$/, + Nt = function (e) { e.stopPropagation(); }; ce.extend(ce.event, { @@ -3867,19 +4327,19 @@ l, c, f, - d = [n || m], - p = ue.call(e, "type") ? e.type : e, + p = [n || C], + d = ue.call(e, "type") ? e.type : e, h = ue.call(e, "namespace") ? e.namespace.split(".") : []; if ( - ((o = f = a = n = n || m), + ((o = f = a = n = n || C), 3 !== n.nodeType && 8 !== n.nodeType && - !gt.test(p + ce.event.triggered) && - (-1 < p.indexOf(".") && ((p = (h = p.split(".")).shift()), h.sort()), - (u = p.indexOf(":") < 0 && "on" + p), + !Dt.test(d + ce.event.triggered) && + (-1 < d.indexOf(".") && ((d = (h = d.split(".")).shift()), h.sort()), + (u = d.indexOf(":") < 0 && "on" + d), ((e = e[ce.expando] ? e - : new ce.Event(p, "object" == typeof e && e)).isTrigger = r + : new ce.Event(d, "object" == typeof e && e)).isTrigger = r ? 2 : 3), (e.namespace = h.join(".")), @@ -3889,45 +4349,45 @@ (e.result = void 0), e.target || (e.target = n), (t = null == t ? [e] : ce.makeArray(t, [e])), - (c = ce.event.special[p] || {}), + (c = ce.event.special[d] || {}), r || !c.trigger || !1 !== c.trigger.apply(n, t))) ) { if (!r && !c.noBubble && !y(n)) { for ( - s = c.delegateType || p, gt.test(s + p) || (o = o.parentNode); + s = c.delegateType || d, Dt.test(s + d) || (o = o.parentNode); o; o = o.parentNode ) - d.push(o), (a = o); - a === (n.ownerDocument || m) && - d.push(a.defaultView || a.parentWindow || ie); + p.push(o), (a = o); + a === (n.ownerDocument || C) && + p.push(a.defaultView || a.parentWindow || ie); } i = 0; - while ((o = d[i++]) && !e.isPropagationStopped()) + while ((o = p[i++]) && !e.isPropagationStopped()) (f = o), - (e.type = 1 < i ? s : c.bindType || p), + (e.type = 1 < i ? s : c.bindType || d), (l = (_.get(o, "events") || Object.create(null))[e.type] && _.get(o, "handle")) && l.apply(o, t), (l = u && o[u]) && l.apply && - F(o) && + $(o) && ((e.result = l.apply(o, t)), !1 === e.result && e.preventDefault()); return ( - (e.type = p), + (e.type = d), r || e.isDefaultPrevented() || - (c._default && !1 !== c._default.apply(d.pop(), t)) || - !F(n) || + (c._default && !1 !== c._default.apply(p.pop(), t)) || + !$(n) || (u && - v(n[p]) && + v(n[d]) && !y(n) && ((a = n[u]) && (n[u] = null), - (ce.event.triggered = p), - e.isPropagationStopped() && f.addEventListener(p, vt), - n[p](), - e.isPropagationStopped() && f.removeEventListener(p, vt), + (ce.event.triggered = d), + e.isPropagationStopped() && f.addEventListener(d, Nt), + n[d](), + e.isPropagationStopped() && f.removeEventListener(d, Nt), (ce.event.triggered = void 0), a && (n[u] = a))), e.result @@ -3950,18 +4410,17 @@ if (n) return ce.event.trigger(e, t, n, !0); }, }); - var yt, - mt = /\[\]$/, - bt = /\r?\n/g, - xt = /^(?:submit|button|image|reset|file)$/i, - wt = /^(?:input|select|textarea|keygen)/i; - function Ct(n, e, r, i) { + var qt = /\[\]$/, + Lt = /\r?\n/g, + Ht = /^(?:submit|button|image|reset|file)$/i, + Ot = /^(?:input|select|textarea|keygen)/i; + function Pt(n, e, r, i) { var t; if (Array.isArray(e)) ce.each(e, function (e, t) { - r || mt.test(n) + r || qt.test(n) ? i(n, t) - : Ct( + : Pt( n + "[" + ("object" == typeof t && null != t ? e : "") + "]", t, r, @@ -3969,7 +4428,7 @@ ); }); else if (r || "object" !== x(e)) i(n, e); - else for (t in e) Ct(n + "[" + t + "]", e[t], r, i); + else for (t in e) Pt(n + "[" + t + "]", e[t], r, i); } (ce.param = function (e, t) { var n, @@ -3984,7 +4443,7 @@ ce.each(e, function () { i(this.name, this.value); }); - else for (n in e) Ct(n, e[n], t, i); + else for (n in e) Pt(n, e[n], t, i); return r.join("&"); }), ce.fn.extend({ @@ -4001,9 +4460,9 @@ return ( this.name && !ce(this).is(":disabled") && - wt.test(this.nodeName) && - !xt.test(e) && - (this.checked || !xe.test(e)) + Ot.test(this.nodeName) && + !Ht.test(e) && + (this.checked || !we.test(e)) ); }) .map(function (e, t) { @@ -4012,12 +4471,416 @@ ? null : Array.isArray(n) ? ce.map(n, function (e) { - return { name: t.name, value: e.replace(bt, "\r\n") }; + return { name: t.name, value: e.replace(Lt, "\r\n") }; }) - : { name: t.name, value: n.replace(bt, "\r\n") }; + : { name: t.name, value: n.replace(Lt, "\r\n") }; }) .get(); }, + }); + var Mt = /%20/g, + Rt = /#.*$/, + It = /([?&])_=[^&]*/, + Wt = /^(.*?):[ \t]*([^\r\n]*)$/gm, + Ft = /^(?:GET|HEAD)$/, + $t = /^\/\//, + Bt = {}, + _t = {}, + zt = "*/".concat("*"), + Xt = C.createElement("a"); + function Ut(o) { + return function (e, t) { + "string" != typeof e && ((t = e), (e = "*")); + var n, + r = 0, + i = e.toLowerCase().match(D) || []; + if (v(t)) + while ((n = i[r++])) + "+" === n[0] + ? ((n = n.slice(1) || "*"), (o[n] = o[n] || []).unshift(t)) + : (o[n] = o[n] || []).push(t); + }; + } + function Vt(t, i, o, a) { + var s = {}, + u = t === _t; + function l(e) { + var r; + return ( + (s[e] = !0), + ce.each(t[e] || [], function (e, t) { + var n = t(i, o, a); + return "string" != typeof n || u || s[n] + ? u + ? !(r = n) + : void 0 + : (i.dataTypes.unshift(n), l(n), !1); + }), + r + ); + } + return l(i.dataTypes[0]) || (!s["*"] && l("*")); + } + function Gt(e, t) { + var n, + r, + i = ce.ajaxSettings.flatOptions || {}; + for (n in t) void 0 !== t[n] && ((i[n] ? e : r || (r = {}))[n] = t[n]); + return r && ce.extend(!0, e, r), e; + } + (Xt.href = Et.href), + ce.extend({ + active: 0, + lastModified: {}, + etag: {}, + ajaxSettings: { + url: Et.href, + type: "GET", + isLocal: + /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test( + Et.protocol, + ), + global: !0, + processData: !0, + async: !0, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + accepts: { + "*": zt, + 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": ce.parseXML, + }, + flatOptions: { url: !0, context: !0 }, + }, + ajaxSetup: function (e, t) { + return t ? Gt(Gt(e, ce.ajaxSettings), t) : Gt(ce.ajaxSettings, e); + }, + ajaxPrefilter: Ut(Bt), + ajaxTransport: Ut(_t), + ajax: function (e, t) { + "object" == typeof e && ((t = e), (e = void 0)), (t = t || {}); + var c, + f, + p, + n, + d, + r, + h, + g, + i, + o, + v = ce.ajaxSetup({}, t), + y = v.context || v, + m = v.context && (y.nodeType || y.jquery) ? ce(y) : ce.event, + x = ce.Deferred(), + b = ce.Callbacks("once memory"), + w = v.statusCode || {}, + a = {}, + s = {}, + u = "canceled", + T = { + readyState: 0, + getResponseHeader: function (e) { + var t; + if (h) { + if (!n) { + n = {}; + while ((t = Wt.exec(p))) + n[t[1].toLowerCase() + " "] = ( + n[t[1].toLowerCase() + " "] || [] + ).concat(t[2]); + } + t = n[e.toLowerCase() + " "]; + } + return null == t ? null : t.join(", "); + }, + getAllResponseHeaders: function () { + return h ? p : null; + }, + setRequestHeader: function (e, t) { + return ( + null == h && + ((e = s[e.toLowerCase()] = s[e.toLowerCase()] || e), + (a[e] = t)), + this + ); + }, + overrideMimeType: function (e) { + return null == h && (v.mimeType = e), this; + }, + statusCode: function (e) { + var t; + if (e) + if (h) T.always(e[T.status]); + else for (t in e) w[t] = [w[t], e[t]]; + return this; + }, + abort: function (e) { + var t = e || u; + return c && c.abort(t), l(0, t), this; + }, + }; + if ( + (x.promise(T), + (v.url = ((e || v.url || Et.href) + "").replace( + $t, + Et.protocol + "//", + )), + (v.type = t.method || t.type || v.method || v.type), + (v.dataTypes = (v.dataType || "*").toLowerCase().match(D) || [""]), + null == v.crossDomain) + ) { + r = C.createElement("a"); + try { + (r.href = v.url), + (r.href = r.href), + (v.crossDomain = + Xt.protocol + "//" + Xt.host != r.protocol + "//" + r.host); + } catch (e) { + v.crossDomain = !0; + } + } + if ( + (v.data && + v.processData && + "string" != typeof v.data && + (v.data = ce.param(v.data, v.traditional)), + Vt(Bt, v, t, T), + h) + ) + return T; + for (i in ((g = ce.event && v.global) && + 0 == ce.active++ && + ce.event.trigger("ajaxStart"), + (v.type = v.type.toUpperCase()), + (v.hasContent = !Ft.test(v.type)), + (f = v.url.replace(Rt, "")), + v.hasContent + ? v.data && + v.processData && + 0 === + (v.contentType || "").indexOf( + "application/x-www-form-urlencoded", + ) && + (v.data = v.data.replace(Mt, "+")) + : ((o = v.url.slice(f.length)), + v.data && + (v.processData || "string" == typeof v.data) && + ((f += (At.test(f) ? "&" : "?") + v.data), delete v.data), + !1 === v.cache && + ((f = f.replace(It, "$1")), + (o = (At.test(f) ? "&" : "?") + "_=" + jt.guid++ + o)), + (v.url = f + o)), + v.ifModified && + (ce.lastModified[f] && + T.setRequestHeader("If-Modified-Since", ce.lastModified[f]), + ce.etag[f] && T.setRequestHeader("If-None-Match", ce.etag[f])), + ((v.data && v.hasContent && !1 !== v.contentType) || t.contentType) && + T.setRequestHeader("Content-Type", v.contentType), + T.setRequestHeader( + "Accept", + v.dataTypes[0] && v.accepts[v.dataTypes[0]] + ? v.accepts[v.dataTypes[0]] + + ("*" !== v.dataTypes[0] ? ", " + zt + "; q=0.01" : "") + : v.accepts["*"], + ), + v.headers)) + T.setRequestHeader(i, v.headers[i]); + if (v.beforeSend && (!1 === v.beforeSend.call(y, T, v) || h)) + return T.abort(); + if ( + ((u = "abort"), + b.add(v.complete), + T.done(v.success), + T.fail(v.error), + (c = Vt(_t, v, t, T))) + ) { + if (((T.readyState = 1), g && m.trigger("ajaxSend", [T, v]), h)) + return T; + v.async && + 0 < v.timeout && + (d = ie.setTimeout(function () { + T.abort("timeout"); + }, v.timeout)); + try { + (h = !1), c.send(a, l); + } catch (e) { + if (h) throw e; + l(-1, e); + } + } else l(-1, "No Transport"); + function l(e, t, n, r) { + var i, + o, + a, + s, + u, + l = t; + h || + ((h = !0), + d && ie.clearTimeout(d), + (c = void 0), + (p = r || ""), + (T.readyState = 0 < e ? 4 : 0), + (i = (200 <= e && e < 300) || 304 === e), + n && + (s = (function (e, t, n) { + var r, + i, + o, + a, + s = e.contents, + u = e.dataTypes; + while ("*" === u[0]) + u.shift(), + void 0 === r && + (r = e.mimeType || t.getResponseHeader("Content-Type")); + if (r) + for (i in s) + if (s[i] && s[i].test(r)) { + u.unshift(i); + break; + } + if (u[0] in n) o = u[0]; + else { + for (i in n) { + if (!u[0] || e.converters[i + " " + u[0]]) { + o = i; + break; + } + a || (a = i); + } + o = o || a; + } + if (o) return o !== u[0] && u.unshift(o), n[o]; + })(v, T, n)), + !i && + -1 < ce.inArray("script", v.dataTypes) && + ce.inArray("json", v.dataTypes) < 0 && + (v.converters["text script"] = function () {}), + (s = (function (e, t, n, r) { + var i, + o, + a, + s, + u, + l = {}, + c = e.dataTypes.slice(); + if (c[1]) + for (a in e.converters) l[a.toLowerCase()] = e.converters[a]; + o = c.shift(); + while (o) + if ( + (e.responseFields[o] && (n[e.responseFields[o]] = t), + !u && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)), + (u = o), + (o = c.shift())) + ) + if ("*" === o) o = u; + else if ("*" !== u && u !== o) { + if (!(a = l[u + " " + o] || l["* " + o])) + for (i in l) + if ( + (s = i.split(" "))[1] === o && + (a = l[u + " " + s[0]] || l["* " + s[0]]) + ) { + !0 === a + ? (a = l[i]) + : !0 !== l[i] && ((o = 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 " + o, + }; + } + } + return { state: "success", data: t }; + })(v, s, T, i)), + i + ? (v.ifModified && + ((u = T.getResponseHeader("Last-Modified")) && + (ce.lastModified[f] = u), + (u = T.getResponseHeader("etag")) && (ce.etag[f] = u)), + 204 === e || "HEAD" === v.type + ? (l = "nocontent") + : 304 === e + ? (l = "notmodified") + : ((l = s.state), (o = s.data), (i = !(a = s.error)))) + : ((a = l), (!e && l) || ((l = "error"), e < 0 && (e = 0))), + (T.status = e), + (T.statusText = (t || l) + ""), + i ? x.resolveWith(y, [o, l, T]) : x.rejectWith(y, [T, l, a]), + T.statusCode(w), + (w = void 0), + g && m.trigger(i ? "ajaxSuccess" : "ajaxError", [T, v, i ? o : a]), + b.fireWith(y, [T, l]), + g && + (m.trigger("ajaxComplete", [T, v]), + --ce.active || ce.event.trigger("ajaxStop"))); + } + return T; + }, + getJSON: function (e, t, n) { + return ce.get(e, t, n, "json"); + }, + getScript: function (e, t) { + return ce.get(e, void 0, t, "script"); + }, + }), + ce.each(["get", "post"], function (e, i) { + ce[i] = function (e, t, n, r) { + return ( + v(t) && ((r = r || n), (n = t), (t = void 0)), + ce.ajax( + ce.extend( + { url: e, type: i, dataType: r, data: t, success: n }, + ce.isPlainObject(e) && e, + ), + ) + ); + }; + }), + ce.ajaxPrefilter(function (e) { + var t; + for (t in e.headers) + "content-type" === t.toLowerCase() && + (e.contentType = e.headers[t] || ""); + }), + (ce._evalUrl = function (e, t, n) { + return ce.ajax({ + url: e, + type: "GET", + dataType: "script", + cache: !0, + async: !1, + global: !1, + converters: { "text script": function () {} }, + dataFilter: function (e) { + ce.globalEval(e, t, n); + }, + }); }), ce.fn.extend({ wrapAll: function (e) { @@ -4071,10 +4934,180 @@ (ce.expr.pseudos.visible = function (e) { return !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length); }), + (ce.ajaxSettings.xhr = function () { + try { + return new ie.XMLHttpRequest(); + } catch (e) {} + }); + var Yt = { 0: 200, 1223: 204 }, + Qt = ce.ajaxSettings.xhr(); + (le.cors = !!Qt && "withCredentials" in Qt), + (le.ajax = Qt = !!Qt), + ce.ajaxTransport(function (i) { + var o, a; + if (le.cors || (Qt && !i.crossDomain)) + return { + send: function (e, t) { + var n, + r = i.xhr(); + if ( + (r.open(i.type, i.url, i.async, i.username, i.password), + i.xhrFields) + ) + for (n in i.xhrFields) r[n] = i.xhrFields[n]; + for (n in (i.mimeType && + r.overrideMimeType && + r.overrideMimeType(i.mimeType), + i.crossDomain || + e["X-Requested-With"] || + (e["X-Requested-With"] = "XMLHttpRequest"), + e)) + r.setRequestHeader(n, e[n]); + (o = function (e) { + return function () { + o && + ((o = + a = + r.onload = + r.onerror = + r.onabort = + r.ontimeout = + r.onreadystatechange = + null), + "abort" === e + ? r.abort() + : "error" === e + ? "number" != typeof r.status + ? t(0, "error") + : t(r.status, r.statusText) + : t( + Yt[r.status] || r.status, + r.statusText, + "text" !== (r.responseType || "text") || + "string" != typeof r.responseText + ? { binary: r.response } + : { text: r.responseText }, + r.getAllResponseHeaders(), + )); + }; + }), + (r.onload = o()), + (a = r.onerror = r.ontimeout = o("error")), + void 0 !== r.onabort + ? (r.onabort = a) + : (r.onreadystatechange = function () { + 4 === r.readyState && + ie.setTimeout(function () { + o && a(); + }); + }), + (o = o("abort")); + try { + r.send((i.hasContent && i.data) || null); + } catch (e) { + if (o) throw e; + } + }, + abort: function () { + o && o(); + }, + }; + }), + ce.ajaxPrefilter(function (e) { + e.crossDomain && (e.contents.script = !1); + }), + ce.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 ce.globalEval(e), e; + }, + }, + }), + ce.ajaxPrefilter("script", function (e) { + void 0 === e.cache && (e.cache = !1), e.crossDomain && (e.type = "GET"); + }), + ce.ajaxTransport("script", function (n) { + var r, i; + if (n.crossDomain || n.scriptAttrs) + return { + send: function (e, t) { + (r = ce(" + {% if user.is_authenticated %} {% if user.userpreference and user.userpreference.theme != 'default' %} {% with 'css/'|add:user.userpreference.theme|add:'.css' as theme_css %}