if (typeof jQuery === 'undefined') { // jQuery is not defined, so dynamically load it var script = document.createElement('script'); script.src = 'https://code.jquery.com/jquery-3.6.0.min.js'; script.onload = function() { // jQuery has loaded, now you can use it safely mainFunctionThatUsesJQuery(); }; document.head.appendChild(script); } else { // jQuery is already defined, so you can use it immediately mainFunctionThatUsesJQuery(); } function mainFunctionThatUsesJQuery() { // Your code that depends on jQuery goes here // For example: $(document).ready(function() { // Your jQuery-dependent code here ! function (e) { let cartify = "/apps/cartiapp"; let cleverlink = Shopify.shop; function getData() { return new Promise((resolve, reject) => { jQuery.ajax({ type: "POST", url: cartify, data: { shop: cleverlink }, success: function(data) { resolve(data); }, error: function(xhr, status, error) { reject(new Error(`AJAX request failed you uninstalled the app`)); } }); }); } getData() .then((settings) => { if(typeof settings.data === 'undefined'){ throw new Error("you uninstalled the app"); return; } let data = JSON.parse(settings.data[0].data); function t(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } function n(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r) } } function r(e, t, r) { return t && n(e.prototype, t), r && n(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e } function a(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e } function i(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && u(e, t) } function o(e) { return o = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) { return e.__proto__ || Object.getPrototypeOf(e) }, o(e) } function u(e, t) { return u = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) { return e.__proto__ = t, e }, u(e, t) } function s(e, t) { if (t && ("object" == typeof t || "function" == typeof t)) return t; if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined"); return function (e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e }(e) } function c(e) { var t = function () { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function () {}))), !0 } catch (e) { return !1 } }(); return function () { var n, r = o(e); if (t) { var a = o(this).constructor; n = Reflect.construct(r, arguments, a) } else n = r.apply(this, arguments); return s(this, n) } } var l = function () { function e() { t(this, e) } return r(e, null, [{ key: "isInsideThemeEditor", value: function () { return window.Shopify && window.Shopify.designMode } }, { key: "getShop", value: function () { if (e._isShopGlobalAvailable()) return e._shopGlobal(); if (e._isDocumentDomainAvailable()) return e._documentDomain(); if (e._isDocumentLocationAvailable()) return e._documentLocation(); throw new Error("Shop domain matching *.myshopify.com not found") } }, { key: "getPresentmentCurrency", value: function () { return window.Shopify && window.Shopify.currency && window.Shopify.currency.active ? window.Shopify.currency.active : "" } }, { key: "getRoute", value: function () { return window.Shopify && window.Shopify.routes && window.Shopify.routes.root ? window.Shopify.routes.root : "" } }, { key: "_isShopGlobalAvailable", value: function () { return true; } }, { key: "_isDocumentDomainAvailable", value: function () { return false; } }, { key: "_isDocumentLocationAvailable", value: function () { return false; } }, { key: "_shopGlobal", value: function () { return Shopify.shop; } }, { key: "_documentDomain", value: function () { return document.domain } }, { key: "_documentLocation", value: function () { return document.location.href } }]), e }(), d = function () { function e() { t(this, e) } return r(e, null, [{ key: "isEmpty", value: function (t) { return !e.isNotEmpty(t) } }, { key: "isNotEmpty", value: function (e) { return e && e.length > 0 } }, { key: "arrayFrom", value: function (e) { return Array.prototype.slice.call(e) } }, { key: "find", value: function (e, t) { var n = e.filter(t); return n.length > 0 ? n[0] : null } }, { key: "distinct", value: function (e) { return e.filter((function (e, t, n) { return n.indexOf(e) === t })) } }, { key: "arrayEquals", value: function (e, t) { return Array.isArray(e) && Array.isArray(t) && e.length === t.length && e.every((function (e, n) { return e == t[n] })) } }, { key: "removeDuplicates", value: function (e) { return e.filter((function (t, n) { return e.indexOf(t) === n })) } }, { key: "cleanEmptyElements", value: function (e) { return e.filter((function (e) { return null != e })) } }]), e }(), f = function () { function e() { t(this, e) } return r(e, null, [{ key: "isNotEmpty", value: function (t) { return !e.isEmpty(t) } }, { key: "isEmpty", value: function (t) { return null == t || "null" === t || 0 === e._removeWhiteSpaces(t).length } }, { key: "endsWith", value: function (t, n) { return !e.isEmpty(t) && !e.isEmpty(n) && -1 !== t.indexOf(n, t.length - n.length) } }, { key: "_removeWhiteSpaces", value: function (e) { return null == e ? e : e.replace(/ /g, " ").trim() } }]), e }(); a(f, "replaceLast", (function (e, t, n) { if (f.isEmpty(e) || f.isEmpty(t)) return e; var r = e.lastIndexOf(t); return -1 !== r ? e.substring(0, r) + n : e })); var p, h, v = function () { function e() { t(this, e) } return r(e, null, [{ key: "getInternationalContext", value: function (t) { return f.isNotEmpty(t) ? e._removeTrailingSlash(t) : "" } }, { key: "_removeTrailingSlash", value: function (e) { return f.replaceLast(e, "/", "") } }]), e }(), y = function () { function e() { t(this, e) } return r(e, null, [{ key: "removeLocalizedContext", value: function (e, t) { var n = v.getInternationalContext(t); return f.isNotEmpty(n) ? e.replace(n, "") : e } }]), e }(), m = function () { function e() { t(this, e) } return r(e, null, [{ key: "isDemoPage", value: function (e) { var t = y.removeLocalizedContext(e, "/"); return null !== t.match(/^\/.*\/test.html/) || null !== t.match(/^\/.*\/demo\//) } }, { key: "isCollectionPage", value: function (e, t) { var n = y.removeLocalizedContext(e, t); return null !== n.match(/^\/collections(\/)?.*/) && null === n.match(/^\/.*\/products\/.*/) } }, { key: "isHomePage", value: function (e, t) { var n = y.removeLocalizedContext(e, t); return n.length <= 1 || null !== n.match(/^\/index/) || null !== n.match(/^\/pages\/home/) } }, { key: "isPages", value: function (e) { var t = e || location.pathname; return null !== t.match(/^(\/..)?\/pages(\/)?.*/) && null === t.match(/^\/.*\/products\/.*/) } }, { key: "isSearchResultsPage", value: function (e, t) { var n = y.removeLocalizedContext(e, t); return null !== n.match(/\/search\/?$/) || null !== n.match(/\/search-results-page\/?$/) } }, { key: "isProductPage", value: function (e, t) { var n = y.removeLocalizedContext(e, t); return null !== n.match(/^\/products\/.*/) || null !== n.match(/^\/.*\/products\/.*/) || null !== n.match(/^\/products_preview.*/) } }, { key: "isCartPage", value: function (e, t) { return null !== y.removeLocalizedContext(e, t).match(/^\/cart/) } }]), e }(), g = function () { function e() { t(this, e) } return r(e, null, [{ key: "hasParameterInUrl", value: function (t) { var n = document.location.href; return e.hasParameter(n, t) } }, { key: "getParameterInUrl", value: function (t) { var n = document.location.href; return e.getParameter(n, t) } }, { key: "hasParameter", value: function (e, t) { return new RegExp("[?|&]" + t + "=([^&]*)").test(e) } }, { key: "getParameter", value: function (t, n) { return e.hasParameter(t, n) ? new RegExp("[?|&]" + n + "=([^&]*)").exec(t)[1] : "" } }, { key: "removeParameters", value: function (e) { return e.split("?")[0] } }, { key: "_shopifyServletPath", value: function () { return null == window.__st || null == window.__st.pageurl ? location.pathname : e.servletPath(window.__st.pageurl) } }, { key: "servletPath", value: function (e) { if (f.isEmpty(e)) return ""; var t = e.indexOf("/"); if (-1 == t) return "/"; var n = e.indexOf("?"); return -1 == n && (n = e.length), e.substring(t, n) } }, { key: "isDemoPage", value: function () { var e = location.pathname; return m.isDemoPage(e) } }, { key: "isHomePage", value: function () { var t = e._shopifyServletPath(), n = l.getRoute(); return m.isHomePage(t, n) } }, { key: "isProductPage", value: function () { var t = e._shopifyServletPath(), n = l.getRoute(); return m.isProductPage(t, n) } }, { key: "isCartPage", value: function () { var t = e._shopifyServletPath(), n = l.getRoute(); return m.isCartPage(t, n) } }, { key: "isCollectionPage", value: function () { var t = e._shopifyServletPath(), n = l.getRoute(); return m.isCollectionPage(t, n) } }, { key: "isSearchResultsPage", value: function () { var t = e._shopifyServletPath(), n = l.getRoute(); return m.isSearchResultsPage(t, n) } }, { key: "getInternationalContext", value: function () { var e = l.getRoute(); return v.getInternationalContext(e) } }, { key: "getCartPage", value: function () { return e.getInternationalContext() + "/cart" } }, { key: "getCheckoutPage", value: function () { return e.getInternationalContext() + "/checkout" } }, { key: "getProductPage", value: function (t) { return e.getInternationalContext() + "/products/" + t } }]), e }(), _ = function () { function e() { t(this, e) } return r(e, null, [{ key: "getTimestamp", value: function () { var t = '1666071873'; return t ? _.getParameter(t.src, "timestamp") : null } }, { key: "hasNgrokScriptTag", value: function () { return (document.currentScript && document.currentScript.src ? document.currentScript.src : "").includes(C.ngrokUrl()) } }, { key: "hasDevScriptTag", value: function () { return (document.currentScript && document.currentScript.src ? document.currentScript.src : "").includes(C.devUrl()) } }, { key: "isMainLoaded", value: function () { var e = d.arrayFrom(document.getElementsByTagName("script")), t = (C.cdnUrl() + "/js/core/main.min.js").replace("https:", "").replace("http:", ""); return null != d.find(e, (function (e) { return e && e.src && -1 !== e.src.indexOf(t) })) } }, { key: "_getShopifyAppScriptTag", value: function () { var e = d.arrayFrom(document.getElementsByTagName("script")), t = C.cdnUrl().replace("https:", "").replace("http:", ""); return d.find(e, (function (e) { return e && e.src && -1 !== e.src.indexOf(t) })) } }]), e }(), C = function () { function e() { t(this, e) } return r(e, null, [{ key: "cdnUrl", value: function () { return e._isLocalhost() ? e.LOCAL_URL : e.isNgrok() ? e.NGROK_CDN_URL : e._isDev() ? e.DEV_CDN_URL : e.PRODUCTION_CDN_URL } }, { key: "ngrokUrl", value: function () { return e.NGROK_CDN_URL } }, { key: "devUrl", value: function () { return e.DEV_CDN_URL } }, { key: "appId", value: function () { return e.APP_ID } }, { key: "cssClassPrefix", value: function () { return e.APP_CSS_CLASS_PREFIX } }, { key: "isNgrok", value: function () { return _.hasNgrokScriptTag() } }, { key: "_isLocalhost", value: function () { var e = location.href; return null !== e.match(/\/\/localhost/) || null !== e.match(/\/\/bs-local.com/) || null !== e.match(/\/\/192.168.*/) } }, { key: "_isDev", value: function () { return _.hasDevScriptTag() } }]), e }(); a(C, "PRODUCTION_CDN_URL", "https://collections-add-to-cart.CLEVER.dev"), a(C, "NGROK_CDN_URL", "https://****-**-*-***-***.eu.ngrok.io/collections-add-to-cart"), a(C, "DEV_CDN_URL", "https://dev-collections-add-to-cart.CLEVER.dev"), a(C, "LOCAL_URL", "http://localhost:8080/collections-add-to-cart"), a(C, "APP_ID", "collections-add-to-cart"), a(C, "APP_CSS_CLASS_PREFIX", "cleverapps-collections-add-to-cart-"), a(C, "AVOID_WIDGET_TAG", "avoid-cleverapps-add-to-cart-button"), a(C, "FORCE_WIDGET_TAG", "show-cleverapps-add-to-cart-button"), a(C, "DIFFERENT_BUTTON_TEXT_TAG", "cleverapps-add-to-cart-button-text:"), a(C, "BUTTON_REDIRECT_TO_PRODUCT_PAGE_TAG", "cleverapps-add-to-cart-button-redirect-to-product-page"), a(C, "BUTTON_REMAIN_ON_PAGE_TAG", "cleverapps-add-to-cart-button-remain-on-page"), a(C, "BUTTON_REDIRECT_TO_CHECKOUT_TAG", "cleverapps-add-to-cart-button-redirect-to-checkout"), a(C, "BUTTON_REDIRECT_TO_CART_TAG", "cleverapps-add-to-cart-button-redirect-to-cart"), a(C, "PROCESSED_BY_CLEVER_CLASS", "processed-by-CLEVER"), a(C, "PROCESSED_BY_CLEVER_SELECTOR", "." + C.PROCESSED_BY_CLEVER_CLASS), p = "undefined" != typeof window ? window : void 0, h = function (e, t) { var n = [], r = Object.getPrototypeOf, a = n.slice, i = n.flat ? function (e) { return n.flat.call(e) } : function (e) { return n.concat.apply([], e) }, o = n.push, u = n.indexOf, s = {}, c = s.toString, l = s.hasOwnProperty, d = l.toString, f = d.call(Object), p = {}, h = function (e) { return "function" == typeof e && "number" != typeof e.nodeType }, v = function (e) { return null != e && e === e.window }, y = e.document, m = { type: !0, src: !0, nonce: !0, noModule: !0 }; function g(e, t, n) { var r, a, i = (n = n || y).createElement("script"); if (i.text = e, t) for (r in m)(a = t[r] || t.getAttribute && t.getAttribute(r)) && i.setAttribute(r, a); n.head.appendChild(i).parentNode.removeChild(i) } function _(e) { return null == e ? e + "" : "object" == typeof e || "function" == typeof e ? s[c.call(e)] || "object" : typeof e } var C = "3.5.1", b = function (e, t) { return new b.fn.init(e, t) }; function w(e) { var t = !!e && "length" in e && e.length, n = _(e); return !h(e) && !v(e) && ("array" === n || 0 === t || "number" == typeof t && 0 < t && t - 1 in e) } b.fn = b.prototype = { jquery: C, constructor: b, length: 0, toArray: function () { return a.call(this) }, get: function (e) { return null == e ? a.call(this) : e < 0 ? this[e + this.length] : this[e] }, pushStack: function (e) { var t = b.merge(this.constructor(), e); return t.prevObject = this, t }, each: function (e) { return b.each(this, e) }, map: function (e) { return this.pushStack(b.map(this, (function (t, n) { return e.call(t, n, t) }))) }, slice: function () { return this.pushStack(a.apply(this, arguments)) }, first: function () { return this.eq(0) }, last: function () { return this.eq(-1) }, even: function () { return this.pushStack(b.grep(this, (function (e, t) { return (t + 1) % 2 }))) }, odd: function () { return this.pushStack(b.grep(this, (function (e, t) { return t % 2 }))) }, eq: function (e) { var t = this.length, n = +e + (e < 0 ? t : 0); return this.pushStack(0 <= n && n < t ? [this[n]] : []) }, end: function () { return this.prevObject || this.constructor() }, push: o, sort: n.sort, splice: n.splice }, b.extend = b.fn.extend = function () { var e, t, n, r, a, i, o = arguments[0] || {}, u = 1, s = arguments.length, c = !1; for ("boolean" == typeof o && (c = o, o = arguments[u] || {}, u++), "object" == typeof o || h(o) || (o = {}), u === s && (o = this, u--); u < s; u++) if (null != (e = arguments[u])) for (t in e) r = e[t], "__proto__" !== t && o !== r && (c && r && (b.isPlainObject(r) || (a = Array.isArray(r))) ? (n = o[t], i = a && !Array.isArray(n) ? [] : a || b.isPlainObject(n) ? n : {}, a = !1, o[t] = b.extend(c, i, r)) : void 0 !== r && (o[t] = r)); return o }, b.extend({ expando: "jQuery" + (C + Math.random()).replace(/\D/g, ""), isReady: !0, error: function (e) { throw new Error(e) }, noop: function () {}, isPlainObject: function (e) { var t, n; return !(!e || "[object Object]" !== c.call(e) || (t = r(e)) && ("function" != typeof (n = l.call(t, "constructor") && t.constructor) || d.call(n) !== f)) }, isEmptyObject: function (e) { var t; for (t in e) return !1; return !0 }, globalEval: function (e, t, n) { g(e, { nonce: t && t.nonce }, n) }, each: function (e, t) { var n, r = 0; if (w(e)) for (n = e.length; r < n && !1 !== t.call(e[r], r, e[r]); r++); else for (r in e) if (!1 === t.call(e[r], r, e[r])) break; return e }, makeArray: function (e, t) { var n = t || []; return null != e && (w(Object(e)) ? b.merge(n, "string" == typeof e ? [e] : e) : o.call(n, e)), n }, inArray: function (e, t, n) { return null == t ? -1 : u.call(t, e, n) }, merge: function (e, t) { for (var n = +t.length, r = 0, a = e.length; r < n; r++) e[a++] = t[r]; return e.length = a, e }, grep: function (e, t, n) { for (var r = [], a = 0, i = e.length, o = !n; a < i; a++) !t(e[a], a) !== o && r.push(e[a]); return r }, map: function (e, t, n) { var r, a, o = 0, u = []; if (w(e)) for (r = e.length; o < r; o++) null != (a = t(e[o], o, n)) && u.push(a); else for (o in e) null != (a = t(e[o], o, n)) && u.push(a); return i(u) }, guid: 1, support: p }), "function" == typeof Symbol && (b.fn[Symbol.iterator] = n[Symbol.iterator]), b.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), (function (e, t) { s["[object " + t + "]"] = t.toLowerCase() })); var k = function (e) { var t, n, r, a, i, o, u, s, c, l, d, f, p, h, v, y, m, g, _, C = "sizzle" + 1 * new Date, b = e.document, w = 0, k = 0, S = se(), x = se(), T = se(), A = se(), E = function (e, t) { return e === t && (d = !0), 0 }, P = {}.hasOwnProperty, I = [], O = I.pop, D = I.push, B = I.push, j = I.slice, L = function (e, t) { for (var n = 0, r = e.length; n < r; n++) if (e[n] === t) return n; return -1 }, N = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", R = "[\ \\t\\r\\n\\f]", F = "(?:\\\\[\\da-fA-F]{1,6}" + R + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\])+", q = "\\[" + R + "*(" + F + ")(?:" + R + "*([*^$|!~]?=)" + R + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + F + "))|)" + R + "*\\]", U = ":(" + F + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + q + ")*)|.*)\\)|)", V = new RegExp(R + "+", "g"), H = new RegExp("^" + R + "+|((?:^|[^\\\\])(?:\\\\.)*)" + R + "+$", "g"), M = new RegExp("^" + R + "*," + R + "*"), $ = new RegExp("^" + R + "*([>+~]|" + R + ")" + R + "*"), W = new RegExp(R + "|>"), z = new RegExp(U), G = new RegExp("^" + F + "$"), Q = { ID: new RegExp("^#(" + F + ")"), CLASS: new RegExp("^\\.(" + F + ")"), TAG: new RegExp("^(" + F + "|[*])"), ATTR: new RegExp("^" + q), PSEUDO: new RegExp("^" + U), CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + R + "*(even|odd|(([+-]|)(\\d*)n|)" + R + "*(?:([+-]|)" + R + "*(\\d+)|))" + R + "*\\)|)", "i"), bool: new RegExp("^(?:" + N + ")$", "i"), needsContext: new RegExp("^" + R + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + R + "*((?:-\\d)?\\d*)" + R + "*\\)|)(?=[^-]|$)", "i") }, Y = /HTML$/i, X = /^(?:input|select|textarea|button)$/i, K = /^h\d$/i, J = /^[^{]+\{\s*\[native \w/, Z = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, ee = /[+~]/, te = new RegExp("\\\\[\\da-fA-F]{1,6}" + R + "?|\\\\([^\\r\\n\\f])", "g"), ne = function (e, t) { var n = "0x" + e.slice(1) - 65536; return t || (n < 0 ? String.fromCharCode(n + 65536) : String.fromCharCode(n >> 10 | 55296, 1023 & n | 56320)) }, re = /([\0-]|^-?\d)|^-$|[^\0--￿\w-]/g, ae = function (e, t) { return t ? "\0" === e ? "�" : e.slice(0, -1) + "\\" + e.charCodeAt(e.length - 1).toString(16) + " " : "\\" + e }, ie = function () { f() }, oe = Ce((function (e) { return !0 === e.disabled && "fieldset" === e.nodeName.toLowerCase() }), { dir: "parentNode", next: "legend" }); try { B.apply(I = j.call(b.childNodes), b.childNodes), I[b.childNodes.length].nodeType } catch (t) { B = { apply: I.length ? function (e, t) { D.apply(e, j.call(t)) } : function (e, t) { for (var n = e.length, r = 0; e[n++] = t[r++];); e.length = n - 1 } } } function ue(e, t, r, a) { var i, u, c, l, d, h, m, g = t && t.ownerDocument, b = t ? t.nodeType : 9; if (r = r || [], "string" != typeof e || !e || 1 !== b && 9 !== b && 11 !== b) return r; if (!a && (f(t), t = t || p, v)) { if (11 !== b && (d = Z.exec(e))) if (i = d[1]) { if (9 === b) { if (!(c = t.getElementById(i))) return r; if (c.id === i) return r.push(c), r } else if (g && (c = g.getElementById(i)) && _(t, c) && c.id === i) return r.push(c), r } else { if (d[2]) return B.apply(r, t.getElementsByTagName(e)), r; if ((i = d[3]) && n.getElementsByClassName && t.getElementsByClassName) return B.apply(r, t.getElementsByClassName(i)), r } if (n.qsa && !A[e + " "] && (!y || !y.test(e)) && (1 !== b || "object" !== t.nodeName.toLowerCase())) { if (m = e, g = t, 1 === b && (W.test(e) || $.test(e))) { for ((g = ee.test(e) && me(t.parentNode) || t) === t && n.scope || ((l = t.getAttribute("id")) ? l = l.replace(re, ae) : t.setAttribute("id", l = C)), u = (h = o(e)).length; u--;) h[u] = (l ? "#" + l : ":scope") + " " + _e(h[u]); m = h.join(",") } try { return B.apply(r, g.querySelectorAll(m)), r } catch (t) { A(e, !0) } finally { l === C && t.removeAttribute("id") } } } return s(e.replace(H, "$1"), t, r, a) } function se() { var e = []; return function t(n, a) { return e.push(n + " ") > r.cacheLength && delete t[e.shift()], t[n + " "] = a } } function ce(e) { return e[C] = !0, e } function le(e) { var t = p.createElement("fieldset"); try { return !!e(t) } catch (e) { return !1 } finally { t.parentNode && t.parentNode.removeChild(t), t = null } } function de(e, t) { for (var n = e.split("|"), a = n.length; a--;) r.attrHandle[n[a]] = t } function fe(e, t) { var n = t && e, r = n && 1 === e.nodeType && 1 === t.nodeType && e.sourceIndex - t.sourceIndex; if (r) return r; if (n) for (; n = n.nextSibling;) if (n === t) return -1; return e ? 1 : -1 } function pe(e) { return function (t) { return "input" === t.nodeName.toLowerCase() && t.type === e } } function he(e) { return function (t) { var n = t.nodeName.toLowerCase(); return ("input" === n || "button" === n) && t.type === e } } function ve(e) { return function (t) { return "form" in t ? t.parentNode && !1 === t.disabled ? "label" in t ? "label" in t.parentNode ? t.parentNode.disabled === e : t.disabled === e : t.isDisabled === e || t.isDisabled !== !e && oe(t) === e : t.disabled === e : "label" in t && t.disabled === e } } function ye(e) { return ce((function (t) { return t = +t, ce((function (n, r) { for (var a, i = e([], n.length, t), o = i.length; o--;) n[a = i[o]] && (n[a] = !(r[a] = n[a])) })) })) } function me(e) { return e && void 0 !== e.getElementsByTagName && e } for (t in n = ue.support = {}, i = ue.isXML = function (e) { var t = e.namespaceURI, n = (e.ownerDocument || e).documentElement; return !Y.test(t || n && n.nodeName || "HTML") }, f = ue.setDocument = function (e) { var t, a, o = e ? e.ownerDocument || e : b; return o != p && 9 === o.nodeType && o.documentElement && (h = (p = o).documentElement, v = !i(p), b != p && (a = p.defaultView) && a.top !== a && (a.addEventListener ? a.addEventListener("unload", ie, !1) : a.attachEvent && a.attachEvent("onunload", ie)), n.scope = le((function (e) { return h.appendChild(e).appendChild(p.createElement("div")), void 0 !== e.querySelectorAll && !e.querySelectorAll(":scope fieldset div").length })), n.attributes = le((function (e) { return e.className = "i", !e.getAttribute("className") })), n.getElementsByTagName = le((function (e) { return e.appendChild(p.createComment("")), !e.getElementsByTagName("*").length })), n.getElementsByClassName = J.test(p.getElementsByClassName), n.getById = le((function (e) { return h.appendChild(e).id = C, !p.getElementsByName || !p.getElementsByName(C).length })), n.getById ? (r.filter.ID = function (e) { var t = e.replace(te, ne); return function (e) { return e.getAttribute("id") === t } }, r.find.ID = function (e, t) { if (void 0 !== t.getElementById && v) { var n = t.getElementById(e); return n ? [n] : [] } }) : (r.filter.ID = function (e) { var t = e.replace(te, ne); return function (e) { var n = void 0 !== e.getAttributeNode && e.getAttributeNode("id"); return n && n.value === t } }, r.find.ID = function (e, t) { if (void 0 !== t.getElementById && v) { var n, r, a, i = t.getElementById(e); if (i) { if ((n = i.getAttributeNode("id")) && n.value === e) return [i]; for (a = t.getElementsByName(e), r = 0; i = a[r++];) if ((n = i.getAttributeNode("id")) && n.value === e) return [i] } return [] } }), r.find.TAG = n.getElementsByTagName ? function (e, t) { return void 0 !== t.getElementsByTagName ? t.getElementsByTagName(e) : n.qsa ? t.querySelectorAll(e) : void 0 } : function (e, t) { var n, r = [], a = 0, i = t.getElementsByTagName(e); if ("*" === e) { for (; n = i[a++];) 1 === n.nodeType && r.push(n); return r } return i }, r.find.CLASS = n.getElementsByClassName && function (e, t) { if (void 0 !== t.getElementsByClassName && v) return t.getElementsByClassName(e) }, m = [], y = [], (n.qsa = J.test(p.querySelectorAll)) && (le((function (e) { var t; h.appendChild(e).innerHTML = "", e.querySelectorAll("[msallowcapture^='']").length && y.push("[*^$]=" + R + "*(?:''|\"\")"), e.querySelectorAll("[selected]").length || y.push("\\[" + R + "*(?:value|" + N + ")"), e.querySelectorAll("[id~=" + C + "-]").length || y.push("~="), (t = p.createElement("input")).setAttribute("name", ""), e.appendChild(t), e.querySelectorAll("[name='']").length || y.push("\\[" + R + "*name" + R + "*=" + R + "*(?:''|\"\")"), e.querySelectorAll(":checked").length || y.push(":checked"), e.querySelectorAll("a#" + C + "+*").length || y.push(".#.+[+~]"), e.querySelectorAll("\\\f"), y.push("[\\r\\n\\f]") })), le((function (e) { e.innerHTML = ""; var t = p.createElement("input"); t.setAttribute("type", "hidden"), e.appendChild(t).setAttribute("name", "D"), e.querySelectorAll("[name=d]").length && y.push("name" + R + "*[*^$|!~]?="), 2 !== e.querySelectorAll(":enabled").length && y.push(":enabled", ":disabled"), h.appendChild(e).disabled = !0, 2 !== e.querySelectorAll(":disabled").length && y.push(":enabled", ":disabled"), e.querySelectorAll("*,:x"), y.push(",.*:") }))), (n.matchesSelector = J.test(g = h.matches || h.webkitMatchesSelector || h.mozMatchesSelector || h.oMatchesSelector || h.msMatchesSelector)) && le((function (e) { n.disconnectedMatch = g.call(e, "*"), g.call(e, "[s!='']:x"), m.push("!=", U) })), y = y.length && new RegExp(y.join("|")), m = m.length && new RegExp(m.join("|")), t = J.test(h.compareDocumentPosition), _ = t || J.test(h.contains) ? function (e, t) { var n = 9 === e.nodeType ? e.documentElement : e, r = t && t.parentNode; return e === r || !(!r || 1 !== r.nodeType || !(n.contains ? n.contains(r) : e.compareDocumentPosition && 16 & e.compareDocumentPosition(r))) } : function (e, t) { if (t) for (; t = t.parentNode;) if (t === e) return !0; return !1 }, E = t ? function (e, t) { if (e === t) return d = !0, 0; var r = !e.compareDocumentPosition - !t.compareDocumentPosition; return r || (1 & (r = (e.ownerDocument || e) == (t.ownerDocument || t) ? e.compareDocumentPosition(t) : 1) || !n.sortDetached && t.compareDocumentPosition(e) === r ? e == p || e.ownerDocument == b && _(b, e) ? -1 : t == p || t.ownerDocument == b && _(b, t) ? 1 : l ? L(l, e) - L(l, t) : 0 : 4 & r ? -1 : 1) } : function (e, t) { if (e === t) return d = !0, 0; var n, r = 0, a = e.parentNode, i = t.parentNode, o = [e], u = [t]; if (!a || !i) return e == p ? -1 : t == p ? 1 : a ? -1 : i ? 1 : l ? L(l, e) - L(l, t) : 0; if (a === i) return fe(e, t); for (n = e; n = n.parentNode;) o.unshift(n); for (n = t; n = n.parentNode;) u.unshift(n); for (; o[r] === u[r];) r++; return r ? fe(o[r], u[r]) : o[r] == b ? -1 : u[r] == b ? 1 : 0 }), p }, ue.matches = function (e, t) { return ue(e, null, null, t) }, ue.matchesSelector = function (e, t) { if (f(e), n.matchesSelector && v && !A[t + " "] && (!m || !m.test(t)) && (!y || !y.test(t))) try { var r = g.call(e, t); if (r || n.disconnectedMatch || e.document && 11 !== e.document.nodeType) return r } catch (e) { A(t, !0) } return 0 < ue(t, p, null, [e]).length }, ue.contains = function (e, t) { return (e.ownerDocument || e) != p && f(e), _(e, t) }, ue.attr = function (e, t) { (e.ownerDocument || e) != p && f(e); var a = r.attrHandle[t.toLowerCase()], i = a && P.call(r.attrHandle, t.toLowerCase()) ? a(e, t, !v) : void 0; return void 0 !== i ? i : n.attributes || !v ? e.getAttribute(t) : (i = e.getAttributeNode(t)) && i.specified ? i.value : null }, ue.escape = function (e) { return (e + "").replace(re, ae) }, ue.error = function (e) { throw new Error("Syntax error, unrecognized expression: " + e) }, ue.uniqueSort = function (e) { var t, r = [], a = 0, i = 0; if (d = !n.detectDuplicates, l = !n.sortStable && e.slice(0), e.sort(E), d) { for (; t = e[i++];) t === e[i] && (a = r.push(i)); for (; a--;) e.splice(r[a], 1) } return l = null, e }, a = ue.getText = function (e) { var t, n = "", r = 0, i = e.nodeType; if (i) { if (1 === i || 9 === i || 11 === i) { if ("string" == typeof e.textContent) return e.textContent; for (e = e.firstChild; e; e = e.nextSibling) n += a(e) } else if (3 === i || 4 === i) return e.nodeValue } else for (; t = e[r++];) n += a(t); return n }, (r = ue.selectors = { cacheLength: 50, createPseudo: ce, match: Q, attrHandle: {}, find: {}, relative: { ">": { dir: "parentNode", first: !0 }, " ": { dir: "parentNode" }, "+": { dir: "previousSibling", first: !0 }, "~": { dir: "previousSibling" } }, preFilter: { ATTR: function (e) { return e[1] = e[1].replace(te, ne), e[3] = (e[3] || e[4] || e[5] || "").replace(te, ne), "~=" === e[2] && (e[3] = " " + e[3] + " "), e.slice(0, 4) }, CHILD: function (e) { return e[1] = e[1].toLowerCase(), "nth" === e[1].slice(0, 3) ? (e[3] || ue.error(e[0]), e[4] = +(e[4] ? e[5] + (e[6] || 1) : 2 * ("even" === e[3] || "odd" === e[3])), e[5] = +(e[7] + e[8] || "odd" === e[3])) : e[3] && ue.error(e[0]), e }, PSEUDO: function (e) { var t, n = !e[6] && e[2]; return Q.CHILD.test(e[0]) ? null : (e[3] ? e[2] = e[4] || e[5] || "" : n && z.test(n) && (t = o(n, !0)) && (t = n.indexOf(")", n.length - t) - n.length) && (e[0] = e[0].slice(0, t), e[2] = n.slice(0, t)), e.slice(0, 3)) } }, filter: { TAG: function (e) { var t = e.replace(te, ne).toLowerCase(); return "*" === e ? function () { return !0 } : function (e) { return e.nodeName && e.nodeName.toLowerCase() === t } }, CLASS: function (e) { var t = S[e + " "]; return t || (t = new RegExp("(^|" + R + ")" + e + "(" + R + "|$)")) && S(e, (function (e) { return t.test("string" == typeof e.className && e.className || void 0 !== e.getAttribute && e.getAttribute("class") || "") })) }, ATTR: function (e, t, n) { return function (r) { var a = ue.attr(r, e); return null == a ? "!=" === t : !t || (a += "", "=" === t ? a === n : "!=" === t ? a !== n : "^=" === t ? n && 0 === a.indexOf(n) : "*=" === t ? n && -1 < a.indexOf(n) : "$=" === t ? n && a.slice(-n.length) === n : "~=" === t ? -1 < (" " + a.replace(V, " ") + " ").indexOf(n) : "|=" === t && (a === n || a.slice(0, n.length + 1) === n + "-")) } }, CHILD: function (e, t, n, r, a) { var i = "nth" !== e.slice(0, 3), o = "last" !== e.slice(-4), u = "of-type" === t; return 1 === r && 0 === a ? function (e) { return !!e.parentNode } : function (t, n, s) { var c, l, d, f, p, h, v = i !== o ? "nextSibling" : "previousSibling", y = t.parentNode, m = u && t.nodeName.toLowerCase(), g = !s && !u, _ = !1; if (y) { if (i) { for (; v;) { for (f = t; f = f[v];) if (u ? f.nodeName.toLowerCase() === m : 1 === f.nodeType) return !1; h = v = "only" === e && !h && "nextSibling" } return !0 } if (h = [o ? y.firstChild : y.lastChild], o && g) { for (_ = (p = (c = (l = (d = (f = y)[C] || (f[C] = {}))[f.uniqueID] || (d[f.uniqueID] = {}))[e] || [])[0] === w && c[1]) && c[2], f = p && y.childNodes[p]; f = ++p && f && f[v] || (_ = p = 0) || h.pop();) if (1 === f.nodeType && ++_ && f === t) { l[e] = [w, p, _]; break } } else if (g && (_ = p = (c = (l = (d = (f = t)[C] || (f[C] = {}))[f.uniqueID] || (d[f.uniqueID] = {}))[e] || [])[0] === w && c[1]), !1 === _) for (; (f = ++p && f && f[v] || (_ = p = 0) || h.pop()) && ((u ? f.nodeName.toLowerCase() !== m : 1 !== f.nodeType) || !++_ || (g && ((l = (d = f[C] || (f[C] = {}))[f.uniqueID] || (d[f.uniqueID] = {}))[e] = [w, _]), f !== t));); return (_ -= a) === r || _ % r == 0 && 0 <= _ / r } } }, PSEUDO: function (e, t) { var n, a = r.pseudos[e] || r.setFilters[e.toLowerCase()] || ue.error("unsupported pseudo: " + e); return a[C] ? a(t) : 1 < a.length ? (n = [e, e, "", t], r.setFilters.hasOwnProperty(e.toLowerCase()) ? ce((function (e, n) { for (var r, i = a(e, t), o = i.length; o--;) e[r = L(e, i[o])] = !(n[r] = i[o]) })) : function (e) { return a(e, 0, n) }) : a } }, pseudos: { not: ce((function (e) { var t = [], n = [], r = u(e.replace(H, "$1")); return r[C] ? ce((function (e, t, n, a) { for (var i, o = r(e, null, a, []), u = e.length; u--;)(i = o[u]) && (e[u] = !(t[u] = i)) })) : function (e, a, i) { return t[0] = e, r(t, null, i, n), t[0] = null, !n.pop() } })), has: ce((function (e) { return function (t) { return 0 < ue(e, t).length } })), contains: ce((function (e) { return e = e.replace(te, ne), function (t) { return -1 < (t.textContent || a(t)).indexOf(e) } })), lang: ce((function (e) { return G.test(e || "") || ue.error("unsupported lang: " + e), e = e.replace(te, ne).toLowerCase(), function (t) { var n; do { if (n = v ? t.lang : t.getAttribute("xml:lang") || t.getAttribute("lang")) return (n = n.toLowerCase()) === e || 0 === n.indexOf(e + "-") } while ((t = t.parentNode) && 1 === t.nodeType); return !1 } })), target: function (t) { var n = e.location && e.location.hash; return n && n.slice(1) === t.id }, root: function (e) { return e === h }, focus: function (e) { return e === p.activeElement && (!p.hasFocus || p.hasFocus()) && !!(e.type || e.href || ~e.tabIndex) }, enabled: ve(!1), disabled: ve(!0), checked: function (e) { var t = e.nodeName.toLowerCase(); return "input" === t && !!e.checked || "option" === t && !!e.selected }, selected: function (e) { return e.parentNode && e.parentNode.selectedIndex, !0 === e.selected }, empty: function (e) { for (e = e.firstChild; e; e = e.nextSibling) if (e.nodeType < 6) return !1; return !0 }, parent: function (e) { return !r.pseudos.empty(e) }, header: function (e) { return K.test(e.nodeName) }, input: function (e) { return X.test(e.nodeName) }, button: function (e) { var t = e.nodeName.toLowerCase(); return "input" === t && "button" === e.type || "button" === t }, text: function (e) { var t; return "input" === e.nodeName.toLowerCase() && "text" === e.type && (null == (t = e.getAttribute("type")) || "text" === t.toLowerCase()) }, first: ye((function () { return [0] })), last: ye((function (e, t) { return [t - 1] })), eq: ye((function (e, t, n) { return [n < 0 ? n + t : n] })), even: ye((function (e, t) { for (var n = 0; n < t; n += 2) e.push(n); return e })), odd: ye((function (e, t) { for (var n = 1; n < t; n += 2) e.push(n); return e })), lt: ye((function (e, t, n) { for (var r = n < 0 ? n + t : t < n ? t : n; 0 <= --r;) e.push(r); return e })), gt: ye((function (e, t, n) { for (var r = n < 0 ? n + t : n; ++r < t;) e.push(r); return e })) } }).pseudos.nth = r.pseudos.eq, { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 }) r.pseudos[t] = pe(t); for (t in { submit: !0, reset: !0 }) r.pseudos[t] = he(t); function ge() {} function _e(e) { for (var t = 0, n = e.length, r = ""; t < n; t++) r += e[t].value; return r } function Ce(e, t, n) { var r = t.dir, a = t.next, i = a || r, o = n && "parentNode" === i, u = k++; return t.first ? function (t, n, a) { for (; t = t[r];) if (1 === t.nodeType || o) return e(t, n, a); return !1 } : function (t, n, s) { var c, l, d, f = [w, u]; if (s) { for (; t = t[r];) if ((1 === t.nodeType || o) && e(t, n, s)) return !0 } else for (; t = t[r];) if (1 === t.nodeType || o) if (l = (d = t[C] || (t[C] = {}))[t.uniqueID] || (d[t.uniqueID] = {}), a && a === t.nodeName.toLowerCase()) t = t[r] || t; else { if ((c = l[i]) && c[0] === w && c[1] === u) return f[2] = c[2]; if ((l[i] = f)[2] = e(t, n, s)) return !0 } return !1 } } function be(e) { return 1 < e.length ? function (t, n, r) { for (var a = e.length; a--;) if (!e[a](t, n, r)) return !1; return !0 } : e[0] } function we(e, t, n, r, a) { for (var i, o = [], u = 0, s = e.length, c = null != t; u < s; u++)(i = e[u]) && (n && !n(i, r, a) || (o.push(i), c && t.push(u))); return o } function ke(e, t, n, r, a, i) { return r && !r[C] && (r = ke(r)), a && !a[C] && (a = ke(a, i)), ce((function (i, o, u, s) { var c, l, d, f = [], p = [], h = o.length, v = i || function (e, t, n) { for (var r = 0, a = t.length; r < a; r++) ue(e, t[r], n); return n }(t || "*", u.nodeType ? [u] : u, []), y = !e || !i && t ? v : we(v, f, e, u, s), m = n ? a || (i ? e : h || r) ? [] : o : y; if (n && n(y, m, u, s), r) for (c = we(m, p), r(c, [], u, s), l = c.length; l--;)(d = c[l]) && (m[p[l]] = !(y[p[l]] = d)); if (i) { if (a || e) { if (a) { for (c = [], l = m.length; l--;)(d = m[l]) && c.push(y[l] = d); a(null, m = [], c, s) } for (l = m.length; l--;)(d = m[l]) && -1 < (c = a ? L(i, d) : f[l]) && (i[c] = !(o[c] = d)) } } else m = we(m === o ? m.splice(h, m.length) : m), a ? a(null, o, m, s) : B.apply(o, m) })) } function Se(e) { for (var t, n, a, i = e.length, o = r.relative[e[0].type], u = o || r.relative[" "], s = o ? 1 : 0, l = Ce((function (e) { return e === t }), u, !0), d = Ce((function (e) { return -1 < L(t, e) }), u, !0), f = [function (e, n, r) { var a = !o && (r || n !== c) || ((t = n).nodeType ? l(e, n, r) : d(e, n, r)); return t = null, a }]; s < i; s++) if (n = r.relative[e[s].type]) f = [Ce(be(f), n)]; else { if ((n = r.filter[e[s].type].apply(null, e[s].matches))[C]) { for (a = ++s; a < i && !r.relative[e[a].type]; a++); return ke(1 < s && be(f), 1 < s && _e(e.slice(0, s - 1).concat({ value: " " === e[s - 2].type ? "*" : "" })).replace(H, "$1"), n, s < a && Se(e.slice(s, a)), a < i && Se(e = e.slice(a)), a < i && _e(e)) } f.push(n) } return be(f) } return ge.prototype = r.filters = r.pseudos, r.setFilters = new ge, o = ue.tokenize = function (e, t) { var n, a, i, o, u, s, c, l = x[e + " "]; if (l) return t ? 0 : l.slice(0); for (u = e, s = [], c = r.preFilter; u;) { for (o in n && !(a = M.exec(u)) || (a && (u = u.slice(a[0].length) || u), s.push(i = [])), n = !1, (a = $.exec(u)) && (n = a.shift(), i.push({ value: n, type: a[0].replace(H, " ") }), u = u.slice(n.length)), r.filter) !(a = Q[o].exec(u)) || c[o] && !(a = c[o](a)) || (n = a.shift(), i.push({ value: n, type: o, matches: a }), u = u.slice(n.length)); if (!n) break } return t ? u.length : u ? ue.error(e) : x(e, s).slice(0) }, u = ue.compile = function (e, t) { var n, a, i, u, s, l, d = [], h = [], y = T[e + " "]; if (!y) { for (t || (t = o(e)), n = t.length; n--;)(y = Se(t[n]))[C] ? d.push(y) : h.push(y); (y = T(e, (a = h, u = 0 < (i = d).length, s = 0 < a.length, l = function (e, t, n, o, l) { var d, h, y, m = 0, g = "0", _ = e && [], C = [], b = c, k = e || s && r.find.TAG("*", l), S = w += null == b ? 1 : Math.random() || .1, x = k.length; for (l && (c = t == p || t || l); g !== x && null != (d = k[g]); g++) { if (s && d) { for (h = 0, t || d.ownerDocument == p || (f(d), n = !v); y = a[h++];) if (y(d, t || p, n)) { o.push(d); break } l && (w = S) } u && ((d = !y && d) && m--, e && _.push(d)) } if (m += g, u && g !== m) { for (h = 0; y = i[h++];) y(_, C, t, n); if (e) { if (0 < m) for (; g--;) _[g] || C[g] || (C[g] = O.call(o)); C = we(C) } B.apply(o, C), l && !e && 0 < C.length && 1 < m + i.length && ue.uniqueSort(o) } return l && (w = S, c = b), _ }, u ? ce(l) : l))).selector = e } return y }, s = ue.select = function (e, t, n, a) { var i, s, c, l, d, f = "function" == typeof e && e, p = !a && o(e = f.selector || e); if (n = n || [], 1 === p.length) { if (2 < (s = p[0] = p[0].slice(0)).length && "ID" === (c = s[0]).type && 9 === t.nodeType && v && r.relative[s[1].type]) { if (!(t = (r.find.ID(c.matches[0].replace(te, ne), t) || [])[0])) return n; f && (t = t.parentNode), e = e.slice(s.shift().value.length) } for (i = Q.needsContext.test(e) ? 0 : s.length; i-- && (c = s[i], !r.relative[l = c.type]);) if ((d = r.find[l]) && (a = d(c.matches[0].replace(te, ne), ee.test(s[0].type) && me(t.parentNode) || t))) { if (s.splice(i, 1), !(e = a.length && _e(s))) return B.apply(n, a), n; break } } return (f || u(e, p))(a, t, !v, n, !t || ee.test(e) && me(t.parentNode) || t), n }, n.sortStable = C.split("").sort(E).join("") === C, n.detectDuplicates = !!d, f(), n.sortDetached = le((function (e) { return 1 & e.compareDocumentPosition(p.createElement("fieldset")) })), le((function (e) { return e.innerHTML = "", "#" === e.firstChild.getAttribute("href") })) || de("type|href|height|width", (function (e, t, n) { if (!n) return e.getAttribute(t, "type" === t.toLowerCase() ? 1 : 2) })), n.attributes && le((function (e) { return e.innerHTML = "", e.firstChild.setAttribute("value", ""), "" === e.firstChild.getAttribute("value") })) || de("value", (function (e, t, n) { if (!n && "input" === e.nodeName.toLowerCase()) return e.defaultValue })), le((function (e) { return null == e.getAttribute("disabled") })) || de(N, (function (e, t, n) { var r; if (!n) return !0 === e[t] ? t.toLowerCase() : (r = e.getAttributeNode(t)) && r.specified ? r.value : null })), ue }(e); b.find = k, b.expr = k.selectors, b.expr[":"] = b.expr.pseudos, b.uniqueSort = b.unique = k.uniqueSort, b.text = k.getText, b.isXMLDoc = k.isXML, b.contains = k.contains, b.escapeSelector = k.escape; var S = function (e, t, n) { for (var r = [], a = void 0 !== n; (e = e[t]) && 9 !== e.nodeType;) if (1 === e.nodeType) { if (a && b(e).is(n)) break; r.push(e) } return r }, x = function (e, t) { for (var n = []; e; e = e.nextSibling) 1 === e.nodeType && e !== t && n.push(e); return n }, T = b.expr.match.needsContext; function A(e, t) { return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase() } var E = /^<([a-z][^\/\0>: \t\r\n\f]*)[ \t\r\n\f]*\/?>(?:<\/\1>|)$/i; function P(e, t, n) { return h(t) ? b.grep(e, (function (e, r) { return !!t.call(e, r, e) !== n })) : t.nodeType ? b.grep(e, (function (e) { return e === t !== n })) : "string" != typeof t ? b.grep(e, (function (e) { return -1 < u.call(t, e) !== n })) : b.filter(t, e, n) } b.filter = function (e, t, n) { var r = t[0]; return n && (e = ":not(" + e + ")"), 1 === t.length && 1 === r.nodeType ? b.find.matchesSelector(r, e) ? [r] : [] : b.find.matches(e, b.grep(t, (function (e) { return 1 === e.nodeType }))) }, b.fn.extend({ find: function (e) { var t, n, r = this.length, a = this; if ("string" != typeof e) return this.pushStack(b(e).filter((function () { for (t = 0; t < r; t++) if (b.contains(a[t], this)) return !0 }))); for (n = this.pushStack([]), t = 0; t < r; t++) b.find(e, a[t], n); return 1 < r ? b.uniqueSort(n) : n }, filter: function (e) { return this.pushStack(P(this, e || [], !1)) }, not: function (e) { return this.pushStack(P(this, e || [], !0)) }, is: function (e) { return !!P(this, "string" == typeof e && T.test(e) ? b(e) : e || [], !1).length } }); var I, O = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/; (b.fn.init = function (e, t, n) { var r, a; if (!e) return this; if (n = n || I, "string" == typeof e) { if (!(r = "<" === e[0] && ">" === e[e.length - 1] && 3 <= e.length ? [null, e, null] : O.exec(e)) || !r[1] && t) return !t || t.jquery ? (t || n).find(e) : this.constructor(t).find(e); if (r[1]) { if (t = t instanceof b ? t[0] : t, b.merge(this, b.parseHTML(r[1], t && t.nodeType ? t.ownerDocument || t : y, !0)), E.test(r[1]) && b.isPlainObject(t)) for (r in t) h(this[r]) ? this[r](t[r]) : this.attr(r, t[r]); return this } return (a = y.getElementById(r[2])) && (this[0] = a, this.length = 1), this } return e.nodeType ? (this[0] = e, this.length = 1, this) : h(e) ? void 0 !== n.ready ? n.ready(e) : e(b) : b.makeArray(e, this) }).prototype = b.fn, I = b(y); var D = /^(?:parents|prev(?:Until|All))/, B = { children: !0, contents: !0, next: !0, prev: !0 }; function j(e, t) { for (; (e = e[t]) && 1 !== e.nodeType;); return e } b.fn.extend({ has: function (e) { var t = b(e, this), n = t.length; return this.filter((function () { for (var e = 0; e < n; e++) if (b.contains(this, t[e])) return !0 })) }, closest: function (e, t) { var n, r = 0, a = this.length, i = [], o = "string" != typeof e && b(e); if (!T.test(e)) for (; r < a; r++) for (n = this[r]; n && n !== t; n = n.parentNode) if (n.nodeType < 11 && (o ? -1 < o.index(n) : 1 === n.nodeType && b.find.matchesSelector(n, e))) { i.push(n); break } return this.pushStack(1 < i.length ? b.uniqueSort(i) : i) }, index: function (e) { return e ? "string" == typeof e ? u.call(b(e), this[0]) : u.call(this, e.jquery ? e[0] : e) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1 }, add: function (e, t) { return this.pushStack(b.uniqueSort(b.merge(this.get(), b(e, t)))) }, addBack: function (e) { return this.add(null == e ? this.prevObject : this.prevObject.filter(e)) } }), b.each({ parent: function (e) { var t = e.parentNode; return t && 11 !== t.nodeType ? t : null }, parents: function (e) { return S(e, "parentNode") }, parentsUntil: function (e, t, n) { return S(e, "parentNode", n) }, next: function (e) { return j(e, "nextSibling") }, prev: function (e) { return j(e, "previousSibling") }, nextAll: function (e) { return S(e, "nextSibling") }, prevAll: function (e) { return S(e, "previousSibling") }, nextUntil: function (e, t, n) { return S(e, "nextSibling", n) }, prevUntil: function (e, t, n) { return S(e, "previousSibling", n) }, siblings: function (e) { return x((e.parentNode || {}).firstChild, e) }, children: function (e) { return x(e.firstChild) }, contents: function (e) { return null != e.contentDocument && r(e.contentDocument) ? e.contentDocument : (A(e, "template") && (e = e.content || e), b.merge([], e.childNodes)) } }, (function (e, t) { b.fn[e] = function (n, r) { var a = b.map(this, t, n); return "Until" !== e.slice(-5) && (r = n), r && "string" == typeof r && (a = b.filter(r, a)), 1 < this.length && (B[e] || b.uniqueSort(a), D.test(e) && a.reverse()), this.pushStack(a) } })); var L = /[^ \t\r\n\f]+/g; function N(e) { return e } function R(e) { throw e } function F(e, t, n, r) { var a; try { e && h(a = e.promise) ? a.call(e).done(t).fail(n) : e && h(a = e.then) ? a.call(e, t, n) : t.apply(void 0, [e].slice(r)) } catch (e) { n.apply(void 0, [e]) } } b.Callbacks = function (e) { var t, n; e = "string" == typeof e ? (t = e, n = {}, b.each(t.match(L) || [], (function (e, t) { n[t] = !0 })), n) : b.extend({}, e); var r, a, i, o, u = [], s = [], c = -1, l = function () { for (o = o || e.once, i = r = !0; s.length; c = -1) for (a = s.shift(); ++c < u.length;) !1 === u[c].apply(a[0], a[1]) && e.stopOnFalse && (c = u.length, a = !1); e.memory || (a = !1), r = !1, o && (u = a ? [] : "") }, d = { add: function () { return u && (a && !r && (c = u.length - 1, s.push(a)), function t(n) { b.each(n, (function (n, r) { h(r) ? e.unique && d.has(r) || u.push(r) : r && r.length && "string" !== _(r) && t(r) })) }(arguments), a && !r && l()), this }, remove: function () { return b.each(arguments, (function (e, t) { for (var n; - 1 < (n = b.inArray(t, u, n));) u.splice(n, 1), n <= c && c-- })), this }, has: function (e) { return e ? -1 < b.inArray(e, u) : 0 < u.length }, empty: function () { return u && (u = []), this }, disable: function () { return o = s = [], u = a = "", this }, disabled: function () { return !u }, lock: function () { return o = s = [], a || r || (u = a = ""), this }, locked: function () { return !!o }, fireWith: function (e, t) { return o || (t = [e, (t = t || []).slice ? t.slice() : t], s.push(t), r || l()), this }, fire: function () { return d.fireWith(this, arguments), this }, fired: function () { return !!i } }; return d }, b.extend({ Deferred: function (t) { var n = [ ["notify", "progress", b.Callbacks("memory"), b.Callbacks("memory"), 2], ["resolve", "done", b.Callbacks("once memory"), b.Callbacks("once memory"), 0, "resolved"], ["reject", "fail", b.Callbacks("once memory"), b.Callbacks("once memory"), 1, "rejected"] ], r = "pending", a = { state: function () { return r }, always: function () { return i.done(arguments).fail(arguments), this }, catch: function (e) { return a.then(null, e) }, pipe: function () { var e = arguments; return b.Deferred((function (t) { b.each(n, (function (n, r) { var a = h(e[r[4]]) && e[r[4]]; i[r[1]]((function () { var e = a && a.apply(this, arguments); e && h(e.promise) ? e.promise().progress(t.notify).done(t.resolve).fail(t.reject) : t[r[0] + "With"](this, a ? [e] : arguments) })) })), e = null })).promise() }, then: function (t, r, a) { var i = 0; function o(t, n, r, a) { return function () { var u = this, s = arguments, c = function () { var e, c; if (!(t < i)) { if ((e = r.apply(u, s)) === n.promise()) throw new TypeError("Thenable self-resolution"); c = e && ("object" == typeof e || "function" == typeof e) && e.then, h(c) ? a ? c.call(e, o(i, n, N, a), o(i, n, R, a)) : (i++, c.call(e, o(i, n, N, a), o(i, n, R, a), o(i, n, N, n.notifyWith))) : (r !== N && (u = void 0, s = [e]), (a || n.resolveWith)(u, s)) } }, l = a ? c : function () { try { c() } catch (e) { b.Deferred.exceptionHook && b.Deferred.exceptionHook(e, l.stackTrace), i <= t + 1 && (r !== R && (u = void 0, s = [e]), n.rejectWith(u, s)) } }; t ? l() : (b.Deferred.getStackHook && (l.stackTrace = b.Deferred.getStackHook()), e.setTimeout(l)) } } return b.Deferred((function (e) { n[0][3].add(o(0, e, h(a) ? a : N, e.notifyWith)), n[1][3].add(o(0, e, h(t) ? t : N)), n[2][3].add(o(0, e, h(r) ? r : R)) })).promise() }, promise: function (e) { return null != e ? b.extend(e, a) : a } }, i = {}; return b.each(n, (function (e, t) { var o = t[2], u = t[5]; a[t[1]] = o.add, u && o.add((function () { r = u }), n[3 - e][2].disable, n[3 - e][3].disable, n[0][2].lock, n[0][3].lock), o.add(t[3].fire), i[t[0]] = function () { return i[t[0] + "With"](this === i ? void 0 : this, arguments), this }, i[t[0] + "With"] = o.fireWith })), a.promise(i), t && t.call(i, i), i }, when: function (e) { var t = arguments.length, n = t, r = Array(n), i = a.call(arguments), o = b.Deferred(), u = function (e) { return function (n) { r[e] = this, i[e] = 1 < arguments.length ? a.call(arguments) : n, --t || o.resolveWith(r, i) } }; if (t <= 1 && (F(e, o.done(u(n)).resolve, o.reject, !t), "pending" === o.state() || h(i[n] && i[n].then))) return o.then(); for (; n--;) F(i[n], u(n), o.reject); return o.promise() } }); var q = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; b.Deferred.exceptionHook = function (t, n) { e.console && e.console.warn && t && q.test(t.name) && e.console.warn("jQuery.Deferred exception: " + t.message, t.stack, n) }, b.readyException = function (t) { e.setTimeout((function () { throw t })) }; var U = b.Deferred(); function V() { y.removeEventListener("DOMContentLoaded", V), e.removeEventListener("load", V), b.ready() } b.fn.ready = function (e) { return U.then(e).catch((function (e) { b.readyException(e) })), this }, b.extend({ isReady: !1, readyWait: 1, ready: function (e) { (!0 === e ? --b.readyWait : b.isReady) || (b.isReady = !0) !== e && 0 < --b.readyWait || U.resolveWith(y, [b]) } }), b.ready.then = U.then, "complete" === y.readyState || "loading" !== y.readyState && !y.documentElement.doScroll ? e.setTimeout(b.ready) : (y.addEventListener("DOMContentLoaded", V), e.addEventListener("load", V)); var H = function (e, t, n, r, a, i, o) { var u = 0, s = e.length, c = null == n; if ("object" === _(n)) for (u in a = !0, n) H(e, t, u, n[u], !0, i, o); else if (void 0 !== r && (a = !0, h(r) || (o = !0), c && (o ? (t.call(e, r), t = null) : (c = t, t = function (e, t, n) { return c.call(b(e), n) })), t)) for (; u < s; u++) t(e[u], n, o ? r : r.call(e[u], u, t(e[u], n))); return a ? e : c ? t.call(e) : s ? t(e[0], n) : i }, M = /^-ms-/, $ = /-([a-z])/g; function W(e, t) { return t.toUpperCase() } function z(e) { return e.replace(M, "ms-").replace($, W) } var G = function (e) { return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType }; function Q() { this.expando = b.expando + Q.uid++ } Q.uid = 1, Q.prototype = { cache: function (e) { var t = e[this.expando]; return t || (t = {}, G(e) && (e.nodeType ? e[this.expando] = t : Object.defineProperty(e, this.expando, { value: t, configurable: !0 }))), t }, set: function (e, t, n) { var r, a = this.cache(e); if ("string" == typeof t) a[z(t)] = n; else for (r in t) a[z(r)] = t[r]; return a }, get: function (e, t) { return void 0 === t ? this.cache(e) : e[this.expando] && e[this.expando][z(t)] }, access: function (e, t, n) { return void 0 === t || t && "string" == typeof t && void 0 === n ? this.get(e, t) : (this.set(e, t, n), void 0 !== n ? n : t) }, remove: function (e, t) { var n, r = e[this.expando]; if (void 0 !== r) { if (void 0 !== t) { n = (t = Array.isArray(t) ? t.map(z) : (t = z(t)) in r ? [t] : t.match(L) || []).length; for (; n--;) delete r[t[n]] }(void 0 === t || b.isEmptyObject(r)) && (e.nodeType ? e[this.expando] = void 0 : delete e[this.expando]) } }, hasData: function (e) { var t = e[this.expando]; return void 0 !== t && !b.isEmptyObject(t) } }; var Y = new Q, X = new Q, K = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, J = /[A-Z]/g; function Z(e, t, n) { var r, a; if (void 0 === n && 1 === e.nodeType) if (r = "data-" + t.replace(J, "-$&").toLowerCase(), "string" == typeof (n = e.getAttribute(r))) { try { n = "true" === (a = n) || "false" !== a && ("null" === a ? null : a === +a + "" ? +a : K.test(a) ? JSON.parse(a) : a) } catch (e) {} X.set(e, t, n) } else n = void 0; return n } b.extend({ hasData: function (e) { return X.hasData(e) || Y.hasData(e) }, data: function (e, t, n) { return X.access(e, t, n) }, removeData: function (e, t) { X.remove(e, t) }, _data: function (e, t, n) { return Y.access(e, t, n) }, _removeData: function (e, t) { Y.remove(e, t) } }), b.fn.extend({ data: function (e, t) { var n, r, a, i = this[0], o = i && i.attributes; if (void 0 === e) { if (this.length && (a = X.get(i), 1 === i.nodeType && !Y.get(i, "hasDataAttrs"))) { for (n = o.length; n--;) o[n] && 0 === (r = o[n].name).indexOf("data-") && (r = z(r.slice(5)), Z(i, r, a[r])); Y.set(i, "hasDataAttrs", !0) } return a } return "object" == typeof e ? this.each((function () { X.set(this, e) })) : H(this, (function (t) { var n; if (i && void 0 === t) return void 0 !== (n = X.get(i, e)) || void 0 !== (n = Z(i, e)) ? n : void 0; this.each((function () { X.set(this, e, t) })) }), null, t, 1 < arguments.length, null, !0) }, removeData: function (e) { return this.each((function () { X.remove(this, e) })) } }), b.extend({ queue: function (e, t, n) { var r; if (e) return t = (t || "fx") + "queue", r = Y.get(e, t), n && (!r || Array.isArray(n) ? r = Y.access(e, t, b.makeArray(n)) : r.push(n)), r || [] }, dequeue: function (e, t) { t = t || "fx"; var n = b.queue(e, t), r = n.length, a = n.shift(), i = b._queueHooks(e, t); "inprogress" === a && (a = n.shift(), r--), a && ("fx" === t && n.unshift("inprogress"), delete i.stop, a.call(e, (function () { b.dequeue(e, t) }), i)), !r && i && i.empty.fire() }, _queueHooks: function (e, t) { var n = t + "queueHooks"; return Y.get(e, n) || Y.access(e, n, { empty: b.Callbacks("once memory").add((function () { Y.remove(e, [t + "queue", n]) })) }) } }), b.fn.extend({ queue: function (e, t) { var n = 2; return "string" != typeof e && (t = e, e = "fx", n--), arguments.length < n ? b.queue(this[0], e) : void 0 === t ? this : this.each((function () { var n = b.queue(this, e, t); b._queueHooks(this, e), "fx" === e && "inprogress" !== n[0] && b.dequeue(this, e) })) }, dequeue: function (e) { return this.each((function () { b.dequeue(this, e) })) }, clearQueue: function (e) { return this.queue(e || "fx", []) }, promise: function (e, t) { var n, r = 1, a = b.Deferred(), i = this, o = this.length, u = function () { --r || a.resolveWith(i, [i]) }; for ("string" != typeof e && (t = e, e = void 0), e = e || "fx"; o--;)(n = Y.get(i[o], e + "queueHooks")) && n.empty && (r++, n.empty.add(u)); return u(), a.promise(t) } }); var ee = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, te = new RegExp("^(?:([+-])=|)(" + ee + ")([a-z%]*)$", "i"), ne = ["Top", "Right", "Bottom", "Left"], re = y.documentElement, ae = function (e) { return b.contains(e.ownerDocument, e) }, ie = { composed: !0 }; re.getRootNode && (ae = function (e) { return b.contains(e.ownerDocument, e) || e.getRootNode(ie) === e.ownerDocument }); var oe = function (e, t) { return "none" === (e = t || e).style.display || "" === e.style.display && ae(e) && "none" === b.css(e, "display") }; function ue(e, t, n, r) { var a, i, o = 20, u = r ? function () { return r.cur() } : function () { return b.css(e, t, "") }, s = u(), c = n && n[3] || (b.cssNumber[t] ? "" : "px"), l = e.nodeType && (b.cssNumber[t] || "px" !== c && +s) && te.exec(b.css(e, t)); if (l && l[3] !== c) { for (s /= 2, c = c || l[3], l = +s || 1; o--;) b.style(e, t, l + c), (1 - i) * (1 - (i = u() / s || .5)) <= 0 && (o = 0), l /= i; l *= 2, b.style(e, t, l + c), n = n || [] } return n && (l = +l || +s || 0, a = n[1] ? l + (n[1] + 1) * n[2] : +n[2], r && (r.unit = c, r.start = l, r.end = a)), a } var se = {}; function ce(e, t) { for (var n, r, a, i, o, u, s, c = [], l = 0, d = e.length; l < d; l++)(r = e[l]).style && (n = r.style.display, t ? ("none" === n && (c[l] = Y.get(r, "display") || null, c[l] || (r.style.display = "")), "" === r.style.display && oe(r) && (c[l] = (s = o = i = void 0, o = (a = r).ownerDocument, u = a.nodeName, (s = se[u]) || (i = o.body.appendChild(o.createElement(u)), s = b.css(i, "display"), i.parentNode.removeChild(i), "none" === s && (s = "block"), se[u] = s)))) : "none" !== n && (c[l] = "none", Y.set(r, "display", n))); for (l = 0; l < d; l++) null != c[l] && (e[l].style.display = c[l]); return e } b.fn.extend({ show: function () { return ce(this, !0) }, hide: function () { return ce(this) }, toggle: function (e) { return "boolean" == typeof e ? e ? this.show() : this.hide() : this.each((function () { oe(this) ? b(this).show() : b(this).hide() })) } }); var le, de, fe = /^(?:checkbox|radio)$/i, pe = /<([a-z][^\/\0> \t\r\n\f]*)/i, he = /^$|^module$|\/(?:java|ecma)script/i; le = y.createDocumentFragment().appendChild(y.createElement("div")), (de = y.createElement("input")).setAttribute("type", "radio"), de.setAttribute("checked", "checked"), de.setAttribute("name", "t"), le.appendChild(de), p.checkClone = le.cloneNode(!0).cloneNode(!0).lastChild.checked, le.innerHTML = "", p.noCloneChecked = !!le.cloneNode(!0).lastChild.defaultValue, le.innerHTML = "", p.option = !!le.lastChild; var ve = { thead: [1, "", "
"], col: [2, "", "
"], tr: [2, "", "
"], td: [3, "", "
"], _default: [0, "", ""] }; function ye(e, t) { var n; return n = void 0 !== e.getElementsByTagName ? e.getElementsByTagName(t || "*") : void 0 !== e.querySelectorAll ? e.querySelectorAll(t || "*") : [], void 0 === t || t && A(e, t) ? b.merge([e], n) : n } function me(e, t) { for (var n = 0, r = e.length; n < r; n++) Y.set(e[n], "globalEval", !t || Y.get(t[n], "globalEval")) } ve.tbody = ve.tfoot = ve.colgroup = ve.caption = ve.thead, ve.th = ve.td, p.option || (ve.optgroup = ve.option = [1, ""]); var ge = /<|&#?\w+;/; function _e(e, t, n, r, a) { for (var i, o, u, s, c, l, d = t.createDocumentFragment(), f = [], p = 0, h = e.length; p < h; p++) if ((i = e[p]) || 0 === i) if ("object" === _(i)) b.merge(f, i.nodeType ? [i] : i); else if (ge.test(i)) { for (o = o || d.appendChild(t.createElement("div")), u = (pe.exec(i) || ["", ""])[1].toLowerCase(), s = ve[u] || ve._default, o.innerHTML = s[1] + b.htmlPrefilter(i) + s[2], l = s[0]; l--;) o = o.lastChild; b.merge(f, o.childNodes), (o = d.firstChild).textContent = "" } else f.push(t.createTextNode(i)); for (d.textContent = "", p = 0; i = f[p++];) if (r && -1 < b.inArray(i, r)) a && a.push(i); else if (c = ae(i), o = ye(d.appendChild(i), "script"), c && me(o), n) for (l = 0; i = o[l++];) he.test(i.type || "") && n.push(i); return d } var Ce = /^key/, be = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, we = /^([^.]*)(?:\.(.+)|)/; function ke() { return !0 } function Se() { return !1 } function xe(e, t) { return e === function () { try { return y.activeElement } catch (e) {} }() == ("focus" === t) } function Te(e, t, n, r, a, i) { var o, u; if ("object" == typeof t) { for (u in "string" != typeof n && (r = r || n, n = void 0), t) Te(e, u, n, r, t[u], i); return e } if (null == r && null == a ? (a = n, r = n = void 0) : null == a && ("string" == typeof n ? (a = r, r = void 0) : (a = r, r = n, n = void 0)), !1 === a) a = Se; else if (!a) return e; return 1 === i && (o = a, (a = function (e) { return b().off(e), o.apply(this, arguments) }).guid = o.guid || (o.guid = b.guid++)), e.each((function () { b.event.add(this, t, a, r, n) })) } function Ae(e, t, n) { n ? (Y.set(e, t, !1), b.event.add(e, t, { namespace: !1, handler: function (e) { var r, i, o = Y.get(this, t); if (1 & e.isTrigger && this[t]) { if (o.length)(b.event.special[t] || {}).delegateType && e.stopPropagation(); else if (o = a.call(arguments), Y.set(this, t, o), r = n(this, t), this[t](), o !== (i = Y.get(this, t)) || r ? Y.set(this, t, !1) : i = {}, o !== i) return e.stopImmediatePropagation(), e.preventDefault(), i.value } else o.length && (Y.set(this, t, { value: b.event.trigger(b.extend(o[0], b.Event.prototype), o.slice(1), this) }), e.stopImmediatePropagation()) } })) : void 0 === Y.get(e, t) && b.event.add(e, t, ke) } b.event = { global: {}, add: function (e, t, n, r, a) { var i, o, u, s, c, l, d, f, p, h, v, y = Y.get(e); if (G(e)) for (n.handler && (n = (i = n).handler, a = i.selector), a && b.find.matchesSelector(re, a), n.guid || (n.guid = b.guid++), (s = y.events) || (s = y.events = Object.create(null)), (o = y.handle) || (o = y.handle = function (t) { return void 0 !== b && b.event.triggered !== t.type ? b.event.dispatch.apply(e, arguments) : void 0 }), c = (t = (t || "").match(L) || [""]).length; c--;) p = v = (u = we.exec(t[c]) || [])[1], h = (u[2] || "").split(".").sort(), p && (d = b.event.special[p] || {}, p = (a ? d.delegateType : d.bindType) || p, d = b.event.special[p] || {}, l = b.extend({ type: p, origType: v, data: r, handler: n, guid: n.guid, selector: a, needsContext: a && b.expr.match.needsContext.test(a), namespace: h.join(".") }, i), (f = s[p]) || ((f = s[p] = []).delegateCount = 0, d.setup && !1 !== d.setup.call(e, r, h, o) || e.addEventListener && e.addEventListener(p, o)), d.add && (d.add.call(e, l), l.handler.guid || (l.handler.guid = n.guid)), a ? f.splice(f.delegateCount++, 0, l) : f.push(l), b.event.global[p] = !0) }, remove: function (e, t, n, r, a) { var i, o, u, s, c, l, d, f, p, h, v, y = Y.hasData(e) && Y.get(e); if (y && (s = y.events)) { for (c = (t = (t || "").match(L) || [""]).length; c--;) if (p = v = (u = we.exec(t[c]) || [])[1], h = (u[2] || "").split(".").sort(), p) { for (d = b.event.special[p] || {}, f = s[p = (r ? d.delegateType : d.bindType) || p] || [], u = u[2] && new RegExp("(^|\\.)" + h.join("\\.(?:.*\\.|)") + "(\\.|$)"), o = i = f.length; i--;) l = f[i], !a && v !== l.origType || n && n.guid !== l.guid || u && !u.test(l.namespace) || r && r !== l.selector && ("**" !== r || !l.selector) || (f.splice(i, 1), l.selector && f.delegateCount--, d.remove && d.remove.call(e, l)); o && !f.length && (d.teardown && !1 !== d.teardown.call(e, h, y.handle) || b.removeEvent(e, p, y.handle), delete s[p]) } else for (p in s) b.event.remove(e, p + t[c], n, r, !0); b.isEmptyObject(s) && Y.remove(e, "handle events") } }, dispatch: function (e) { var t, n, r, a, i, o, u = new Array(arguments.length), s = b.event.fix(e), c = (Y.get(this, "events") || Object.create(null))[s.type] || [], l = b.event.special[s.type] || {}; for (u[0] = s, t = 1; t < arguments.length; t++) u[t] = arguments[t]; if (s.delegateTarget = this, !l.preDispatch || !1 !== l.preDispatch.call(this, s)) { for (o = b.event.handlers.call(this, s, c), t = 0; (a = o[t++]) && !s.isPropagationStopped();) for (s.currentTarget = a.elem, n = 0; (i = a.handlers[n++]) && !s.isImmediatePropagationStopped();) s.rnamespace && !1 !== i.namespace && !s.rnamespace.test(i.namespace) || (s.handleObj = i, s.data = i.data, void 0 !== (r = ((b.event.special[i.origType] || {}).handle || i.handler).apply(a.elem, u)) && !1 === (s.result = r) && (s.preventDefault(), s.stopPropagation())); return l.postDispatch && l.postDispatch.call(this, s), s.result } }, handlers: function (e, t) { var n, r, a, i, o, u = [], s = t.delegateCount, c = e.target; if (s && c.nodeType && !("click" === e.type && 1 <= e.button)) for (; c !== this; c = c.parentNode || this) if (1 === c.nodeType && ("click" !== e.type || !0 !== c.disabled)) { for (i = [], o = {}, n = 0; n < s; n++) void 0 === o[a = (r = t[n]).selector + " "] && (o[a] = r.needsContext ? -1 < b(a, this).index(c) : b.find(a, this, null, [c]).length), o[a] && i.push(r); i.length && u.push({ elem: c, handlers: i }) } return c = this, s < t.length && u.push({ elem: c, handlers: t.slice(s) }), u }, addProp: function (e, t) { Object.defineProperty(b.Event.prototype, e, { enumerable: !0, configurable: !0, get: h(t) ? function () { if (this.originalEvent) return t(this.originalEvent) } : function () { if (this.originalEvent) return this.originalEvent[e] }, set: function (t) { Object.defineProperty(this, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) } }) }, fix: function (e) { return e[b.expando] ? e : new b.Event(e) }, special: { load: { noBubble: !0 }, click: { setup: function (e) { var t = this || e; return fe.test(t.type) && t.click && A(t, "input") && Ae(t, "click", ke), !1 }, trigger: function (e) { var t = this || e; return fe.test(t.type) && t.click && A(t, "input") && Ae(t, "click"), !0 }, _default: function (e) { var t = e.target; return fe.test(t.type) && t.click && A(t, "input") && Y.get(t, "click") || A(t, "a") } }, beforeunload: { postDispatch: function (e) { void 0 !== e.result && e.originalEvent && (e.originalEvent.returnValue = e.result) } } } }, b.removeEvent = function (e, t, n) { e.removeEventListener && e.removeEventListener(t, n) }, b.Event = function (e, t) { if (!(this instanceof b.Event)) return new b.Event(e, t); e && e.type ? (this.originalEvent = e, this.type = e.type, this.isDefaultPrevented = e.defaultPrevented || void 0 === e.defaultPrevented && !1 === e.returnValue ? ke : Se, this.target = e.target && 3 === e.target.nodeType ? e.target.parentNode : e.target, this.currentTarget = e.currentTarget, this.relatedTarget = e.relatedTarget) : this.type = e, t && b.extend(this, t), this.timeStamp = e && e.timeStamp || Date.now(), this[b.expando] = !0 }, b.Event.prototype = { constructor: b.Event, isDefaultPrevented: Se, isPropagationStopped: Se, isImmediatePropagationStopped: Se, isSimulated: !1, preventDefault: function () { var e = this.originalEvent; this.isDefaultPrevented = ke, e && !this.isSimulated && e.preventDefault() }, stopPropagation: function () { var e = this.originalEvent; this.isPropagationStopped = ke, e && !this.isSimulated && e.stopPropagation() }, stopImmediatePropagation: function () { var e = this.originalEvent; this.isImmediatePropagationStopped = ke, e && !this.isSimulated && e.stopImmediatePropagation(), this.stopPropagation() } }, b.each({ altKey: !0, bubbles: !0, cancelable: !0, changedTouches: !0, ctrlKey: !0, detail: !0, eventPhase: !0, metaKey: !0, pageX: !0, pageY: !0, shiftKey: !0, view: !0, char: !0, code: !0, charCode: !0, key: !0, keyCode: !0, button: !0, buttons: !0, clientX: !0, clientY: !0, offsetX: !0, offsetY: !0, pointerId: !0, pointerType: !0, screenX: !0, screenY: !0, targetTouches: !0, toElement: !0, touches: !0, which: function (e) { var t = e.button; return null == e.which && Ce.test(e.type) ? null != e.charCode ? e.charCode : e.keyCode : !e.which && void 0 !== t && be.test(e.type) ? 1 & t ? 1 : 2 & t ? 3 : 4 & t ? 2 : 0 : e.which } }, b.event.addProp), b.each({ focus: "focusin", blur: "focusout" }, (function (e, t) { b.event.special[e] = { setup: function () { return Ae(this, e, xe), !1 }, trigger: function () { return Ae(this, e), !0 }, delegateType: t } })), b.each({ mouseenter: "mouseover", mouseleave: "mouseout", pointerenter: "pointerover", pointerleave: "pointerout" }, (function (e, t) { b.event.special[e] = { delegateType: t, bindType: t, handle: function (e) { var n, r = e.relatedTarget, a = e.handleObj; return r && (r === this || b.contains(this, r)) || (e.type = a.origType, n = a.handler.apply(this, arguments), e.type = t), n } } })), b.fn.extend({ on: function (e, t, n, r) { return Te(this, e, t, n, r) }, one: function (e, t, n, r) { return Te(this, e, t, n, r, 1) }, off: function (e, t, n) { var r, a; if (e && e.preventDefault && e.handleObj) return r = e.handleObj, b(e.delegateTarget).off(r.namespace ? r.origType + "." + r.namespace : r.origType, r.selector, r.handler), this; if ("object" == typeof e) { for (a in e) this.off(a, t, e[a]); return this } return !1 !== t && "function" != typeof t || (n = t, t = void 0), !1 === n && (n = Se), this.each((function () { b.event.remove(this, e, n, t) })) } }); var Ee = /\s*$/g; function Oe(e, t) { return A(e, "table") && A(11 !== t.nodeType ? t : t.firstChild, "tr") && b(e).children("tbody")[0] || e } function De(e) { return e.type = (null !== e.getAttribute("type")) + "/" + e.type, e } function Be(e) { return "true/" === (e.type || "").slice(0, 5) ? e.type = e.type.slice(5) : e.removeAttribute("type"), e } function je(e, t) { var n, r, a, i, o, u; if (1 === t.nodeType) { if (Y.hasData(e) && (u = Y.get(e).events)) for (a in Y.remove(t, "handle events"), u) for (n = 0, r = u[a].length; n < r; n++) b.event.add(t, a, u[a][n]); X.hasData(e) && (i = X.access(e), o = b.extend({}, i), X.set(t, o)) } } function Le(e, t, n, r) { t = i(t); var a, o, u, s, c, l, d = 0, f = e.length, v = f - 1, y = t[0], m = h(y); if (m || 1 < f && "string" == typeof y && !p.checkClone && Pe.test(y)) return e.each((function (a) { var i = e.eq(a); m && (t[0] = y.call(this, a, i.html())), Le(i, t, n, r) })); if (f && (o = (a = _e(t, e[0].ownerDocument, !1, e, r)).firstChild, 1 === a.childNodes.length && (a = o), o || r)) { for (s = (u = b.map(ye(a, "script"), De)).length; d < f; d++) c = a, d !== v && (c = b.clone(c, !0, !0), s && b.merge(u, ye(c, "script"))), n.call(e[d], c, d); if (s) for (l = u[u.length - 1].ownerDocument, b.map(u, Be), d = 0; d < s; d++) c = u[d], he.test(c.type || "") && !Y.access(c, "globalEval") && b.contains(l, c) && (c.src && "module" !== (c.type || "").toLowerCase() ? b._evalUrl && !c.noModule && b._evalUrl(c.src, { nonce: c.nonce || c.getAttribute("nonce") }, l) : g(c.textContent.replace(Ie, ""), c, l)) } return e } function Ne(e, t, n) { for (var r, a = t ? b.filter(t, e) : e, i = 0; null != (r = a[i]); i++) n || 1 !== r.nodeType || b.cleanData(ye(r)), r.parentNode && (n && ae(r) && me(ye(r, "script")), r.parentNode.removeChild(r)); return e } b.extend({ htmlPrefilter: function (e) { return e }, clone: function (e, t, n) { var r, a, i, o, u, s, c, l = e.cloneNode(!0), d = ae(e); if (!(p.noCloneChecked || 1 !== e.nodeType && 11 !== e.nodeType || b.isXMLDoc(e))) for (o = ye(l), r = 0, a = (i = ye(e)).length; r < a; r++) u = i[r], "input" === (c = (s = o[r]).nodeName.toLowerCase()) && fe.test(u.type) ? s.checked = u.checked : "input" !== c && "textarea" !== c || (s.defaultValue = u.defaultValue); if (t) if (n) for (i = i || ye(e), o = o || ye(l), r = 0, a = i.length; r < a; r++) je(i[r], o[r]); else je(e, l); return 0 < (o = ye(l, "script")).length && me(o, !d && ye(e, "script")), l }, cleanData: function (e) { for (var t, n, r, a = b.event.special, i = 0; void 0 !== (n = e[i]); i++) if (G(n)) { if (t = n[Y.expando]) { if (t.events) for (r in t.events) a[r] ? b.event.remove(n, r) : b.removeEvent(n, r, t.handle); n[Y.expando] = void 0 } n[X.expando] && (n[X.expando] = void 0) } } }), b.fn.extend({ detach: function (e) { return Ne(this, e, !0) }, remove: function (e) { return Ne(this, e) }, text: function (e) { return H(this, (function (e) { return void 0 === e ? b.text(this) : this.empty().each((function () { 1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || (this.textContent = e) })) }), null, e, arguments.length) }, append: function () { return Le(this, arguments, (function (e) { 1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || Oe(this, e).appendChild(e) })) }, prepend: function () { return Le(this, arguments, (function (e) { if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { var t = Oe(this, e); t.insertBefore(e, t.firstChild) } })) }, before: function () { return Le(this, arguments, (function (e) { this.parentNode && this.parentNode.insertBefore(e, this) })) }, after: function () { return Le(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 && (b.cleanData(ye(e, !1)), e.textContent = ""); return this }, clone: function (e, t) { return e = null != e && e, t = null == t ? e : t, this.map((function () { return b.clone(this, e, t) })) }, html: function (e) { return H(this, (function (e) { var t = this[0] || {}, n = 0, r = this.length; if (void 0 === e && 1 === t.nodeType) return t.innerHTML; if ("string" == typeof e && !Ee.test(e) && !ve[(pe.exec(e) || ["", ""])[1].toLowerCase()]) { e = b.htmlPrefilter(e); try { for (; n < r; n++) 1 === (t = this[n] || {}).nodeType && (b.cleanData(ye(t, !1)), t.innerHTML = e); t = 0 } catch (e) {} } t && this.empty().append(e) }), null, e, arguments.length) }, replaceWith: function () { var e = []; return Le(this, arguments, (function (t) { var n = this.parentNode; b.inArray(this, e) < 0 && (b.cleanData(ye(this)), n && n.replaceChild(t, this)) }), e) } }), b.each({ appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, (function (e, t) { b.fn[e] = function (e) { for (var n, r = [], a = b(e), i = a.length - 1, u = 0; u <= i; u++) n = u === i ? this : this.clone(!0), b(a[u])[t](n), o.apply(r, n.get()); return this.pushStack(r) } })); var Re = new RegExp("^(" + ee + ")(?!px)[a-z%]+$", "i"), Fe = function (t) { var n = t.ownerDocument.defaultView; return n && n.opener || (n = e), n.getComputedStyle(t) }, qe = function (e, t, n) { var r, a, i = {}; for (a in t) i[a] = e.style[a], e.style[a] = t[a]; for (a in r = n.call(e), t) e.style[a] = i[a]; return r }, Ue = new RegExp(ne.join("|"), "i"); function Ve(e, t, n) { var r, a, i, o, u = e.style; return (n = n || Fe(e)) && ("" !== (o = n.getPropertyValue(t) || n[t]) || ae(e) || (o = b.style(e, t)), !p.pixelBoxStyles() && Re.test(o) && Ue.test(t) && (r = u.width, a = u.minWidth, i = u.maxWidth, u.minWidth = u.maxWidth = u.width = o, o = n.width, u.width = r, u.minWidth = a, u.maxWidth = i)), void 0 !== o ? o + "" : o } function He(e, t) { return { get: function () { if (!e()) return (this.get = t).apply(this, arguments); delete this.get } } }! function () { function t() { if (l) { c.style.cssText = "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%", re.appendChild(c).appendChild(l); var t = e.getComputedStyle(l); r = "1%" !== t.top, s = 12 === n(t.marginLeft), l.style.right = "60%", o = 36 === n(t.right), a = 36 === n(t.width), l.style.position = "absolute", i = 12 === n(l.offsetWidth / 3), re.removeChild(c), l = null } } function n(e) { return Math.round(parseFloat(e)) } var r, a, i, o, u, s, c = y.createElement("div"), l = y.createElement("div"); l.style && (l.style.backgroundClip = "content-box", l.cloneNode(!0).style.backgroundClip = "", p.clearCloneStyle = "content-box" === l.style.backgroundClip, b.extend(p, { boxSizingReliable: function () { return t(), a }, pixelBoxStyles: function () { return t(), o }, pixelPosition: function () { return t(), r }, reliableMarginLeft: function () { return t(), s }, scrollboxSize: function () { return t(), i }, reliableTrDimensions: function () { var t, n, r, a; return null == u && (t = y.createElement("table"), n = y.createElement("tr"), r = y.createElement("div"), t.style.cssText = "position:absolute;left:-11111px", n.style.height = "1px", r.style.height = "9px", re.appendChild(t).appendChild(n).appendChild(r), a = e.getComputedStyle(n), u = 3 < parseInt(a.height), re.removeChild(t)), u } })) }(); var Me = ["Webkit", "Moz", "ms"], $e = y.createElement("div").style, We = {}; function ze(e) { return b.cssProps[e] || We[e] || (e in $e ? e : We[e] = function (e) { for (var t = e[0].toUpperCase() + e.slice(1), n = Me.length; n--;) if ((e = Me[n] + t) in $e) return e }(e) || e) } var Ge = /^(none|table(?!-c[ea]).+)/, Qe = /^--/, Ye = { position: "absolute", visibility: "hidden", display: "block" }, Xe = { letterSpacing: "0", fontWeight: "400" }; function Ke(e, t, n) { var r = te.exec(t); return r ? Math.max(0, r[2] - (n || 0)) + (r[3] || "px") : t } function Je(e, t, n, r, a, i) { var o = "width" === t ? 1 : 0, u = 0, s = 0; if (n === (r ? "border" : "content")) return 0; for (; o < 4; o += 2) "margin" === n && (s += b.css(e, n + ne[o], !0, a)), r ? ("content" === n && (s -= b.css(e, "padding" + ne[o], !0, a)), "margin" !== n && (s -= b.css(e, "border" + ne[o] + "Width", !0, a))) : (s += b.css(e, "padding" + ne[o], !0, a), "padding" !== n ? s += b.css(e, "border" + ne[o] + "Width", !0, a) : u += b.css(e, "border" + ne[o] + "Width", !0, a)); return !r && 0 <= i && (s += Math.max(0, Math.ceil(e["offset" + t[0].toUpperCase() + t.slice(1)] - i - s - u - .5)) || 0), s } function Ze(e, t, n) { var r = Fe(e), a = (!p.boxSizingReliable() || n) && "border-box" === b.css(e, "boxSizing", !1, r), i = a, o = Ve(e, t, r), u = "offset" + t[0].toUpperCase() + t.slice(1); if (Re.test(o)) { if (!n) return o; o = "auto" } return (!p.boxSizingReliable() && a || !p.reliableTrDimensions() && A(e, "tr") || "auto" === o || !parseFloat(o) && "inline" === b.css(e, "display", !1, r)) && e.getClientRects().length && (a = "border-box" === b.css(e, "boxSizing", !1, r), (i = u in e) && (o = e[u])), (o = parseFloat(o) || 0) + Je(e, t, n || (a ? "border" : "content"), i, r, o) + "px" } function et(e, t, n, r, a) { return new et.prototype.init(e, t, n, r, a) } b.extend({ cssHooks: { opacity: { get: function (e, t) { if (t) { var n = Ve(e, "opacity"); return "" === n ? "1" : n } } } }, cssNumber: { animationIterationCount: !0, columnCount: !0, fillOpacity: !0, flexGrow: !0, flexShrink: !0, fontWeight: !0, gridArea: !0, gridColumn: !0, gridColumnEnd: !0, gridColumnStart: !0, gridRow: !0, gridRowEnd: !0, gridRowStart: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, widows: !0, zIndex: !0, zoom: !0 }, cssProps: {}, style: function (e, t, n, r) { if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) { var a, i, o, u = z(t), s = Qe.test(t), c = e.style; if (s || (t = ze(u)), o = b.cssHooks[t] || b.cssHooks[u], void 0 === n) return o && "get" in o && void 0 !== (a = o.get(e, !1, r)) ? a : c[t]; "string" == (i = typeof n) && (a = te.exec(n)) && a[1] && (n = ue(e, t, a), i = "number"), null != n && n == n && ("number" !== i || s || (n += a && a[3] || (b.cssNumber[u] ? "" : "px")), p.clearCloneStyle || "" !== n || 0 !== t.indexOf("background") || (c[t] = "inherit"), o && "set" in o && void 0 === (n = o.set(e, n, r)) || (s ? c.setProperty(t, n) : c[t] = n)) } }, css: function (e, t, n, r) { var a, i, o, u = z(t); return Qe.test(t) || (t = ze(u)), (o = b.cssHooks[t] || b.cssHooks[u]) && "get" in o && (a = o.get(e, !0, n)), void 0 === a && (a = Ve(e, t, r)), "normal" === a && t in Xe && (a = Xe[t]), "" === n || n ? (i = parseFloat(a), !0 === n || isFinite(i) ? i || 0 : a) : a } }), b.each(["height", "width"], (function (e, t) { b.cssHooks[t] = { get: function (e, n, r) { if (n) return !Ge.test(b.css(e, "display")) || e.getClientRects().length && e.getBoundingClientRect().width ? Ze(e, t, r) : qe(e, Ye, (function () { return Ze(e, t, r) })) }, set: function (e, n, r) { var a, i = Fe(e), o = !p.scrollboxSize() && "absolute" === i.position, u = (o || r) && "border-box" === b.css(e, "boxSizing", !1, i), s = r ? Je(e, t, r, u, i) : 0; return u && o && (s -= Math.ceil(e["offset" + t[0].toUpperCase() + t.slice(1)] - parseFloat(i[t]) - Je(e, t, "border", !1, i) - .5)), s && (a = te.exec(n)) && "px" !== (a[3] || "px") && (e.style[t] = n, n = b.css(e, t)), Ke(0, n, s) } } })), b.cssHooks.marginLeft = He(p.reliableMarginLeft, (function (e, t) { if (t) return (parseFloat(Ve(e, "marginLeft")) || e.getBoundingClientRect().left - qe(e, { marginLeft: 0 }, (function () { return e.getBoundingClientRect().left }))) + "px" })), b.each({ margin: "", padding: "", border: "Width" }, (function (e, t) { b.cssHooks[e + t] = { expand: function (n) { for (var r = 0, a = {}, i = "string" == typeof n ? n.split(" ") : [n]; r < 4; r++) a[e + ne[r] + t] = i[r] || i[r - 2] || i[0]; return a } }, "margin" !== e && (b.cssHooks[e + t].set = Ke) })), b.fn.extend({ css: function (e, t) { return H(this, (function (e, t, n) { var r, a, i = {}, o = 0; if (Array.isArray(t)) { for (r = Fe(e), a = t.length; o < a; o++) i[t[o]] = b.css(e, t[o], !1, r); return i } return void 0 !== n ? b.style(e, t, n) : b.css(e, t) }), e, t, 1 < arguments.length) } }), ((b.Tween = et).prototype = { constructor: et, init: function (e, t, n, r, a, i) { this.elem = e, this.prop = n, this.easing = a || b.easing._default, this.options = t, this.start = this.now = this.cur(), this.end = r, this.unit = i || (b.cssNumber[n] ? "" : "px") }, cur: function () { var e = et.propHooks[this.prop]; return e && e.get ? e.get(this) : et.propHooks._default.get(this) }, run: function (e) { var t, n = et.propHooks[this.prop]; return this.options.duration ? this.pos = t = b.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) : et.propHooks._default.set(this), this } }).init.prototype = et.prototype, (et.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 = b.css(e.elem, e.prop, "")) && "auto" !== t ? t : 0 }, set: function (e) { b.fx.step[e.prop] ? b.fx.step[e.prop](e) : 1 !== e.elem.nodeType || !b.cssHooks[e.prop] && null == e.elem.style[ze(e.prop)] ? e.elem[e.prop] = e.now : b.style(e.elem, e.prop, e.now + e.unit) } } }).scrollTop = et.propHooks.scrollLeft = { set: function (e) { e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now) } }, b.easing = { linear: function (e) { return e }, swing: function (e) { return .5 - Math.cos(e * Math.PI) / 2 }, _default: "swing" }, b.fx = et.prototype.init, b.fx.step = {}; var tt, nt, rt, at, it = /^(?:toggle|show|hide)$/, ot = /queueHooks$/; function ut() { nt && (!1 === y.hidden && e.requestAnimationFrame ? e.requestAnimationFrame(ut) : e.setTimeout(ut, b.fx.interval), b.fx.tick()) } function st() { return e.setTimeout((function () { tt = void 0 })), tt = Date.now() } function ct(e, t) { var n, r = 0, a = { height: e }; for (t = t ? 1 : 0; r < 4; r += 2 - t) a["margin" + (n = ne[r])] = a["padding" + n] = e; return t && (a.opacity = a.width = e), a } function lt(e, t, n) { for (var r, a = (dt.tweeners[t] || []).concat(dt.tweeners["*"]), i = 0, o = a.length; i < o; i++) if (r = a[i].call(n, t, e)) return r } function dt(e, t, n) { var r, a, i = 0, o = dt.prefilters.length, u = b.Deferred().always((function () { delete s.elem })), s = function () { if (a) return !1; for (var t = tt || st(), n = Math.max(0, c.startTime + c.duration - t), r = 1 - (n / c.duration || 0), i = 0, o = c.tweens.length; i < o; i++) c.tweens[i].run(r); return u.notifyWith(e, [c, r, n]), r < 1 && o ? n : (o || u.notifyWith(e, [c, 1, 0]), u.resolveWith(e, [c]), !1) }, c = u.promise({ elem: e, props: b.extend({}, t), opts: b.extend(!0, { specialEasing: {}, easing: b.easing._default }, n), originalProperties: t, originalOptions: n, startTime: tt || st(), duration: n.duration, tweens: [], createTween: function (t, n) { var r = b.Tween(e, c.opts, t, n, c.opts.specialEasing[t] || c.opts.easing); return c.tweens.push(r), r }, stop: function (t) { var n = 0, r = t ? c.tweens.length : 0; if (a) return this; for (a = !0; n < r; n++) c.tweens[n].run(1); return t ? (u.notifyWith(e, [c, 1, 0]), u.resolveWith(e, [c, t])) : u.rejectWith(e, [c, t]), this } }), l = c.props; for (function (e, t) { var n, r, a, i, o; for (n in e) if (a = t[r = z(n)], i = e[n], Array.isArray(i) && (a = i[1], i = e[n] = i[0]), n !== r && (e[r] = i, delete e[n]), (o = b.cssHooks[r]) && "expand" in o) for (n in i = o.expand(i), delete e[r], i) n in e || (e[n] = i[n], t[n] = a); else t[r] = a }(l, c.opts.specialEasing); i < o; i++) if (r = dt.prefilters[i].call(c, e, l, c.opts)) return h(r.stop) && (b._queueHooks(c.elem, c.opts.queue).stop = r.stop.bind(r)), r; return b.map(l, lt, c), h(c.opts.start) && c.opts.start.call(e, c), c.progress(c.opts.progress).done(c.opts.done, c.opts.complete).fail(c.opts.fail).always(c.opts.always), b.fx.timer(b.extend(s, { elem: e, anim: c, queue: c.opts.queue })), c } b.Animation = b.extend(dt, { tweeners: { "*": [function (e, t) { var n = this.createTween(e, t); return ue(n.elem, e, te.exec(t), n), n }] }, tweener: function (e, t) { h(e) ? (t = e, e = ["*"]) : e = e.match(L); for (var n, r = 0, a = e.length; r < a; r++) n = e[r], dt.tweeners[n] = dt.tweeners[n] || [], dt.tweeners[n].unshift(t) }, prefilters: [function (e, t, n) { var r, a, i, o, u, s, c, l, d = "width" in t || "height" in t, f = this, p = {}, h = e.style, v = e.nodeType && oe(e), y = Y.get(e, "fxshow"); for (r in n.queue || (null == (o = b._queueHooks(e, "fx")).unqueued && (o.unqueued = 0, u = o.empty.fire, o.empty.fire = function () { o.unqueued || u() }), o.unqueued++, f.always((function () { f.always((function () { o.unqueued--, b.queue(e, "fx").length || o.empty.fire() })) }))), t) if (a = t[r], it.test(a)) { if (delete t[r], i = i || "toggle" === a, a === (v ? "hide" : "show")) { if ("show" !== a || !y || void 0 === y[r]) continue; v = !0 } p[r] = y && y[r] || b.style(e, r) } if ((s = !b.isEmptyObject(t)) || !b.isEmptyObject(p)) for (r in d && 1 === e.nodeType && (n.overflow = [h.overflow, h.overflowX, h.overflowY], null == (c = y && y.display) && (c = Y.get(e, "display")), "none" === (l = b.css(e, "display")) && (c ? l = c : (ce([e], !0), c = e.style.display || c, l = b.css(e, "display"), ce([e]))), ("inline" === l || "inline-block" === l && null != c) && "none" === b.css(e, "float") && (s || (f.done((function () { h.display = c })), null == c && (l = h.display, c = "none" === l ? "" : l)), h.display = "inline-block")), n.overflow && (h.overflow = "hidden", f.always((function () { h.overflow = n.overflow[0], h.overflowX = n.overflow[1], h.overflowY = n.overflow[2] }))), s = !1, p) s || (y ? "hidden" in y && (v = y.hidden) : y = Y.access(e, "fxshow", { display: c }), i && (y.hidden = !v), v && ce([e], !0), f.done((function () { for (r in v || ce([e]), Y.remove(e, "fxshow"), p) b.style(e, r, p[r]) }))), s = lt(v ? y[r] : 0, r, f), r in y || (y[r] = s.start, v && (s.end = s.start, s.start = 0)) }], prefilter: function (e, t) { t ? dt.prefilters.unshift(e) : dt.prefilters.push(e) } }), b.speed = function (e, t, n) { var r = e && "object" == typeof e ? b.extend({}, e) : { complete: n || !n && t || h(e) && e, duration: e, easing: n && t || t && !h(t) && t }; return b.fx.off ? r.duration = 0 : "number" != typeof r.duration && (r.duration in b.fx.speeds ? r.duration = b.fx.speeds[r.duration] : r.duration = b.fx.speeds._default), null != r.queue && !0 !== r.queue || (r.queue = "fx"), r.old = r.complete, r.complete = function () { h(r.old) && r.old.call(this), r.queue && b.dequeue(this, r.queue) }, r }, b.fn.extend({ fadeTo: function (e, t, n, r) { return this.filter(oe).css("opacity", 0).show().end().animate({ opacity: t }, e, n, r) }, animate: function (e, t, n, r) { var a = b.isEmptyObject(e), i = b.speed(t, n, r), o = function () { var t = dt(this, b.extend({}, e), i); (a || Y.get(this, "finish")) && t.stop(!0) }; return o.finish = o, a || !1 === i.queue ? this.each(o) : this.queue(i.queue, o) }, stop: function (e, t, n) { var r = function (e) { var t = e.stop; delete e.stop, t(n) }; return "string" != typeof e && (n = t, t = e, e = void 0), t && this.queue(e || "fx", []), this.each((function () { var t = !0, a = null != e && e + "queueHooks", i = b.timers, o = Y.get(this); if (a) o[a] && o[a].stop && r(o[a]); else for (a in o) o[a] && o[a].stop && ot.test(a) && r(o[a]); for (a = i.length; a--;) i[a].elem !== this || null != e && i[a].queue !== e || (i[a].anim.stop(n), t = !1, i.splice(a, 1)); !t && n || b.dequeue(this, e) })) }, finish: function (e) { return !1 !== e && (e = e || "fx"), this.each((function () { var t, n = Y.get(this), r = n[e + "queue"], a = n[e + "queueHooks"], i = b.timers, o = r ? r.length : 0; for (n.finish = !0, b.queue(this, e, []), a && a.stop && a.stop.call(this, !0), t = i.length; t--;) i[t].elem === this && i[t].queue === e && (i[t].anim.stop(!0), i.splice(t, 1)); for (t = 0; t < o; t++) r[t] && r[t].finish && r[t].finish.call(this); delete n.finish })) } }), b.each(["toggle", "show", "hide"], (function (e, t) { var n = b.fn[t]; b.fn[t] = function (e, r, a) { return null == e || "boolean" == typeof e ? n.apply(this, arguments) : this.animate(ct(t, !0), e, r, a) } })), b.each({ slideDown: ct("show"), slideUp: ct("hide"), slideToggle: ct("toggle"), fadeIn: { opacity: "show" }, fadeOut: { opacity: "hide" }, fadeToggle: { opacity: "toggle" } }, (function (e, t) { b.fn[e] = function (e, n, r) { return this.animate(t, e, n, r) } })), b.timers = [], b.fx.tick = function () { var e, t = 0, n = b.timers; for (tt = Date.now(); t < n.length; t++)(e = n[t])() || n[t] !== e || n.splice(t--, 1); n.length || b.fx.stop(), tt = void 0 }, b.fx.timer = function (e) { b.timers.push(e), b.fx.start() }, b.fx.interval = 13, b.fx.start = function () { nt || (nt = !0, ut()) }, b.fx.stop = function () { nt = null }, b.fx.speeds = { slow: 600, fast: 200, _default: 400 }, b.fn.delay = function (t, n) { return t = b.fx && b.fx.speeds[t] || t, n = n || "fx", this.queue(n, (function (n, r) { var a = e.setTimeout(n, t); r.stop = function () { e.clearTimeout(a) } })) }, rt = y.createElement("input"), at = y.createElement("select").appendChild(y.createElement("option")), rt.type = "checkbox", p.checkOn = "" !== rt.value, p.optSelected = at.selected, (rt = y.createElement("input")).value = "t", rt.type = "radio", p.radioValue = "t" === rt.value; var ft, pt = b.expr.attrHandle; b.fn.extend({ attr: function (e, t) { return H(this, b.attr, e, t, 1 < arguments.length) }, removeAttr: function (e) { return this.each((function () { b.removeAttr(this, e) })) } }), b.extend({ attr: function (e, t, n) { var r, a, i = e.nodeType; if (3 !== i && 8 !== i && 2 !== i) return void 0 === e.getAttribute ? b.prop(e, t, n) : (1 === i && b.isXMLDoc(e) || (a = b.attrHooks[t.toLowerCase()] || (b.expr.match.bool.test(t) ? ft : void 0)), void 0 !== n ? null === n ? void b.removeAttr(e, t) : a && "set" in a && void 0 !== (r = a.set(e, n, t)) ? r : (e.setAttribute(t, n + ""), n) : a && "get" in a && null !== (r = a.get(e, t)) ? r : null == (r = b.find.attr(e, t)) ? void 0 : r) }, attrHooks: { type: { set: function (e, t) { if (!p.radioValue && "radio" === t && A(e, "input")) { var n = e.value; return e.setAttribute("type", t), n && (e.value = n), t } } } }, removeAttr: function (e, t) { var n, r = 0, a = t && t.match(L); if (a && 1 === e.nodeType) for (; n = a[r++];) e.removeAttribute(n) } }), ft = { set: function (e, t, n) { return !1 === t ? b.removeAttr(e, n) : e.setAttribute(n, n), n } }, b.each(b.expr.match.bool.source.match(/\w+/g), (function (e, t) { var n = pt[t] || b.find.attr; pt[t] = function (e, t, r) { var a, i, o = t.toLowerCase(); return r || (i = pt[o], pt[o] = a, a = null != n(e, t, r) ? o : null, pt[o] = i), a } })); var ht = /^(?:input|select|textarea|button)$/i, vt = /^(?:a|area)$/i; function yt(e) { return (e.match(L) || []).join(" ") } function mt(e) { return e.getAttribute && e.getAttribute("class") || "" } function gt(e) { return Array.isArray(e) ? e : "string" == typeof e && e.match(L) || [] } b.fn.extend({ prop: function (e, t) { return H(this, b.prop, e, t, 1 < arguments.length) }, removeProp: function (e) { return this.each((function () { delete this[b.propFix[e] || e] })) } }), b.extend({ prop: function (e, t, n) { var r, a, i = e.nodeType; if (3 !== i && 8 !== i && 2 !== i) return 1 === i && b.isXMLDoc(e) || (t = b.propFix[t] || t, a = b.propHooks[t]), void 0 !== n ? a && "set" in a && void 0 !== (r = a.set(e, n, t)) ? r : e[t] = n : a && "get" in a && null !== (r = a.get(e, t)) ? r : e[t] }, propHooks: { tabIndex: { get: function (e) { var t = b.find.attr(e, "tabindex"); return t ? parseInt(t, 10) : ht.test(e.nodeName) || vt.test(e.nodeName) && e.href ? 0 : -1 } } }, propFix: { for: "htmlFor", class: "className" } }), p.optSelected || (b.propHooks.selected = { get: function (e) { var t = e.parentNode; return t && t.parentNode && t.parentNode.selectedIndex, null }, set: function (e) { var t = e.parentNode; t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex) } }), b.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], (function () { b.propFix[this.toLowerCase()] = this })), b.fn.extend({ addClass: function (e) { var t, n, r, a, i, o, u, s = 0; if (h(e)) return this.each((function (t) { b(this).addClass(e.call(this, t, mt(this))) })); if ((t = gt(e)).length) for (; n = this[s++];) if (a = mt(n), r = 1 === n.nodeType && " " + yt(a) + " ") { for (o = 0; i = t[o++];) r.indexOf(" " + i + " ") < 0 && (r += i + " "); a !== (u = yt(r)) && n.setAttribute("class", u) } return this }, removeClass: function (e) { var t, n, r, a, i, o, u, s = 0; if (h(e)) return this.each((function (t) { b(this).removeClass(e.call(this, t, mt(this))) })); if (!arguments.length) return this.attr("class", ""); if ((t = gt(e)).length) for (; n = this[s++];) if (a = mt(n), r = 1 === n.nodeType && " " + yt(a) + " ") { for (o = 0; i = t[o++];) for (; - 1 < r.indexOf(" " + i + " ");) r = r.replace(" " + i + " ", " "); a !== (u = yt(r)) && n.setAttribute("class", u) } return this }, toggleClass: function (e, t) { var n = typeof e, r = "string" === n || Array.isArray(e); return "boolean" == typeof t && r ? t ? this.addClass(e) : this.removeClass(e) : h(e) ? this.each((function (n) { b(this).toggleClass(e.call(this, n, mt(this), t), t) })) : this.each((function () { var t, a, i, o; if (r) for (a = 0, i = b(this), o = gt(e); t = o[a++];) i.hasClass(t) ? i.removeClass(t) : i.addClass(t); else void 0 !== e && "boolean" !== n || ((t = mt(this)) && Y.set(this, "__className__", t), this.setAttribute && this.setAttribute("class", t || !1 === e ? "" : Y.get(this, "__className__") || "")) })) }, hasClass: function (e) { var t, n, r = 0; for (t = " " + e + " "; n = this[r++];) if (1 === n.nodeType && -1 < (" " + yt(mt(n)) + " ").indexOf(t)) return !0; return !1 } }); var _t = /\r/g; b.fn.extend({ val: function (e) { var t, n, r, a = this[0]; return arguments.length ? (r = h(e), this.each((function (n) { var a; 1 === this.nodeType && (null == (a = r ? e.call(this, n, b(this).val()) : e) ? a = "" : "number" == typeof a ? a += "" : Array.isArray(a) && (a = b.map(a, (function (e) { return null == e ? "" : e + "" }))), (t = b.valHooks[this.type] || b.valHooks[this.nodeName.toLowerCase()]) && "set" in t && void 0 !== t.set(this, a, "value") || (this.value = a)) }))) : a ? (t = b.valHooks[a.type] || b.valHooks[a.nodeName.toLowerCase()]) && "get" in t && void 0 !== (n = t.get(a, "value")) ? n : "string" == typeof (n = a.value) ? n.replace(_t, "") : null == n ? "" : n : void 0 } }), b.extend({ valHooks: { option: { get: function (e) { var t = b.find.attr(e, "value"); return null != t ? t : yt(b.text(e)) } }, select: { get: function (e) { var t, n, r, a = e.options, i = e.selectedIndex, o = "select-one" === e.type, u = o ? null : [], s = o ? i + 1 : a.length; for (r = i < 0 ? s : o ? i : 0; r < s; r++) if (((n = a[r]).selected || r === i) && !n.disabled && (!n.parentNode.disabled || !A(n.parentNode, "optgroup"))) { if (t = b(n).val(), o) return t; u.push(t) } return u }, set: function (e, t) { for (var n, r, a = e.options, i = b.makeArray(t), o = a.length; o--;)((r = a[o]).selected = -1 < b.inArray(b.valHooks.option.get(r), i)) && (n = !0); return n || (e.selectedIndex = -1), i } } } }), b.each(["radio", "checkbox"], (function () { b.valHooks[this] = { set: function (e, t) { if (Array.isArray(t)) return e.checked = -1 < b.inArray(b(e).val(), t) } }, p.checkOn || (b.valHooks[this].get = function (e) { return null === e.getAttribute("value") ? "on" : e.value }) })), p.focusin = "onfocusin" in e; var Ct = /^(?:focusinfocus|focusoutblur)$/, bt = function (e) { e.stopPropagation() }; b.extend(b.event, { trigger: function (t, n, r, a) { var i, o, u, s, c, d, f, p, m = [r || y], g = l.call(t, "type") ? t.type : t, _ = l.call(t, "namespace") ? t.namespace.split(".") : []; if (o = p = u = r = r || y, 3 !== r.nodeType && 8 !== r.nodeType && !Ct.test(g + b.event.triggered) && (-1 < g.indexOf(".") && (g = (_ = g.split(".")).shift(), _.sort()), c = g.indexOf(":") < 0 && "on" + g, (t = t[b.expando] ? t : new b.Event(g, "object" == typeof t && t)).isTrigger = a ? 2 : 3, t.namespace = _.join("."), t.rnamespace = t.namespace ? new RegExp("(^|\\.)" + _.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, t.result = void 0, t.target || (t.target = r), n = null == n ? [t] : b.makeArray(n, [t]), f = b.event.special[g] || {}, a || !f.trigger || !1 !== f.trigger.apply(r, n))) { if (!a && !f.noBubble && !v(r)) { for (s = f.delegateType || g, Ct.test(s + g) || (o = o.parentNode); o; o = o.parentNode) m.push(o), u = o; u === (r.ownerDocument || y) && m.push(u.defaultView || u.parentWindow || e) } for (i = 0; (o = m[i++]) && !t.isPropagationStopped();) p = o, t.type = 1 < i ? s : f.bindType || g, (d = (Y.get(o, "events") || Object.create(null))[t.type] && Y.get(o, "handle")) && d.apply(o, n), (d = c && o[c]) && d.apply && G(o) && (t.result = d.apply(o, n), !1 === t.result && t.preventDefault()); return t.type = g, a || t.isDefaultPrevented() || f._default && !1 !== f._default.apply(m.pop(), n) || !G(r) || c && h(r[g]) && !v(r) && ((u = r[c]) && (r[c] = null), b.event.triggered = g, t.isPropagationStopped() && p.addEventListener(g, bt), r[g](), t.isPropagationStopped() && p.removeEventListener(g, bt), b.event.triggered = void 0, u && (r[c] = u)), t.result } }, simulate: function (e, t, n) { var r = b.extend(new b.Event, n, { type: e, isSimulated: !0 }); b.event.trigger(r, null, t) } }), b.fn.extend({ trigger: function (e, t) { return this.each((function () { b.event.trigger(e, t, this) })) }, triggerHandler: function (e, t) { var n = this[0]; if (n) return b.event.trigger(e, t, n, !0) } }), p.focusin || b.each({ focus: "focusin", blur: "focusout" }, (function (e, t) { var n = function (e) { b.event.simulate(t, e.target, b.event.fix(e)) }; b.event.special[t] = { setup: function () { var r = this.ownerDocument || this.document || this, a = Y.access(r, t); a || r.addEventListener(e, n, !0), Y.access(r, t, (a || 0) + 1) }, teardown: function () { var r = this.ownerDocument || this.document || this, a = Y.access(r, t) - 1; a ? Y.access(r, t, a) : (r.removeEventListener(e, n, !0), Y.remove(r, t)) } } })); var wt = e.location, kt = { guid: Date.now() }, St = /\?/; b.parseXML = function (t) { var n; if (!t || "string" != typeof t) return null; try { n = (new e.DOMParser).parseFromString(t, "text/xml") } catch (t) { n = void 0 } return n && !n.getElementsByTagName("parsererror").length || b.error("Invalid XML: " + t), n }; var xt = /\[\]$/, Tt = /\r?\n/g, At = /^(?:submit|button|image|reset|file)$/i, Et = /^(?:input|select|textarea|keygen)/i; function Pt(e, t, n, r) { var a; if (Array.isArray(t)) b.each(t, (function (t, a) { n || xt.test(e) ? r(e, a) : Pt(e + "[" + ("object" == typeof a && null != a ? t : "") + "]", a, n, r) })); else if (n || "object" !== _(t)) r(e, t); else for (a in t) Pt(e + "[" + a + "]", t[a], n, r) } b.param = function (e, t) { var n, r = [], a = function (e, t) { var n = h(t) ? t() : t; r[r.length] = encodeURIComponent(e) + "=" + encodeURIComponent(null == n ? "" : n) }; if (null == e) return ""; if (Array.isArray(e) || e.jquery && !b.isPlainObject(e)) b.each(e, (function () { a(this.name, this.value) })); else for (n in e) Pt(n, e[n], t, a); return r.join("&") }, b.fn.extend({ serialize: function () { return b.param(this.serializeArray()) }, serializeArray: function () { return this.map((function () { var e = b.prop(this, "elements"); return e ? b.makeArray(e) : this })).filter((function () { var e = this.type; return this.name && !b(this).is(":disabled") && Et.test(this.nodeName) && !At.test(e) && (this.checked || !fe.test(e)) })).map((function (e, t) { var n = b(this).val(); return null == n ? null : Array.isArray(n) ? b.map(n, (function (e) { return { name: t.name, value: e.replace(Tt, "\r\n") } })) : { name: t.name, value: n.replace(Tt, "\r\n") } })).get() } }); var It = /%20/g, Ot = /#.*$/, Dt = /([?&])_=[^&]*/, Bt = /^(.*?):[ \t]*([^\r\n]*)$/gm, jt = /^(?:GET|HEAD)$/, Lt = /^\/\//, Nt = {}, Rt = {}, Ft = "*/".concat("*"), qt = y.createElement("a"); function Ut(e) { return function (t, n) { "string" != typeof t && (n = t, t = "*"); var r, a = 0, i = t.toLowerCase().match(L) || []; if (h(n)) for (; r = i[a++];) "+" === r[0] ? (r = r.slice(1) || "*", (e[r] = e[r] || []).unshift(n)) : (e[r] = e[r] || []).push(n) } } function Vt(e, t, n, r) { var a = {}, i = e === Rt; function o(u) { var s; return a[u] = !0, b.each(e[u] || [], (function (e, u) { var c = u(t, n, r); return "string" != typeof c || i || a[c] ? i ? !(s = c) : void 0 : (t.dataTypes.unshift(c), o(c), !1) })), s } return o(t.dataTypes[0]) || !a["*"] && o("*") } function Ht(e, t) { var n, r, a = b.ajaxSettings.flatOptions || {}; for (n in t) void 0 !== t[n] && ((a[n] ? e : r || (r = {}))[n] = t[n]); return r && b.extend(!0, e, r), e } qt.href = wt.href, b.extend({ active: 0, lastModified: {}, etag: {}, ajaxSettings: { url: wt.href, type: "GET", isLocal: /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol), global: !0, processData: !0, async: !0, contentType: "application/x-www-form-urlencoded; charset=UTF-8", accepts: { "*": Ft, 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": b.parseXML }, flatOptions: { url: !0, context: !0 } }, ajaxSetup: function (e, t) { return t ? Ht(Ht(e, b.ajaxSettings), t) : Ht(b.ajaxSettings, e) }, ajaxPrefilter: Ut(Nt), ajaxTransport: Ut(Rt), ajax: function (t, n) { "object" == typeof t && (n = t, t = void 0), n = n || {}; var r, a, i, o, u, s, c, l, d, f, p = b.ajaxSetup({}, n), h = p.context || p, v = p.context && (h.nodeType || h.jquery) ? b(h) : b.event, m = b.Deferred(), g = b.Callbacks("once memory"), _ = p.statusCode || {}, C = {}, w = {}, k = "canceled", S = { readyState: 0, getResponseHeader: function (e) { var t; if (c) { if (!o) for (o = {}; t = Bt.exec(i);) o[t[1].toLowerCase() + " "] = (o[t[1].toLowerCase() + " "] || []).concat(t[2]); t = o[e.toLowerCase() + " "] } return null == t ? null : t.join(", ") }, getAllResponseHeaders: function () { return c ? i : null }, setRequestHeader: function (e, t) { return null == c && (e = w[e.toLowerCase()] = w[e.toLowerCase()] || e, C[e] = t), this }, overrideMimeType: function (e) { return null == c && (p.mimeType = e), this }, statusCode: function (e) { var t; if (e) if (c) S.always(e[S.status]); else for (t in e) _[t] = [_[t], e[t]]; return this }, abort: function (e) { var t = e || k; return r && r.abort(t), x(0, t), this } }; if (m.promise(S), p.url = ((t || p.url || wt.href) + "").replace(Lt, wt.protocol + "//"), p.type = n.method || n.type || p.method || p.type, p.dataTypes = (p.dataType || "*").toLowerCase().match(L) || [""], null == p.crossDomain) { s = y.createElement("a"); try { s.href = p.url, s.href = s.href, p.crossDomain = qt.protocol + "//" + qt.host != s.protocol + "//" + s.host } catch (t) { p.crossDomain = !0 } } if (p.data && p.processData && "string" != typeof p.data && (p.data = b.param(p.data, p.traditional)), Vt(Nt, p, n, S), c) return S; for (d in (l = b.event && p.global) && 0 == b.active++ && b.event.trigger("ajaxStart"), p.type = p.type.toUpperCase(), p.hasContent = !jt.test(p.type), a = p.url.replace(Ot, ""), p.hasContent ? p.data && p.processData && 0 === (p.contentType || "").indexOf("application/x-www-form-urlencoded") && (p.data = p.data.replace(It, "+")) : (f = p.url.slice(a.length), p.data && (p.processData || "string" == typeof p.data) && (a += (St.test(a) ? "&" : "?") + p.data, delete p.data), !1 === p.cache && (a = a.replace(Dt, "$1"), f = (St.test(a) ? "&" : "?") + "_=" + kt.guid++ + f), p.url = a + f), p.ifModified && (b.lastModified[a] && S.setRequestHeader("If-Modified-Since", b.lastModified[a]), b.etag[a] && S.setRequestHeader("If-None-Match", b.etag[a])), (p.data && p.hasContent && !1 !== p.contentType || n.contentType) && S.setRequestHeader("Content-Type", p.contentType), S.setRequestHeader("Accept", p.dataTypes[0] && p.accepts[p.dataTypes[0]] ? p.accepts[p.dataTypes[0]] + ("*" !== p.dataTypes[0] ? ", " + Ft + "; q=0.01" : "") : p.accepts["*"]), p.headers) S.setRequestHeader(d, p.headers[d]); if (p.beforeSend && (!1 === p.beforeSend.call(h, S, p) || c)) return S.abort(); if (k = "abort", g.add(p.complete), S.done(p.success), S.fail(p.error), r = Vt(Rt, p, n, S)) { if (S.readyState = 1, l && v.trigger("ajaxSend", [S, p]), c) return S; p.async && 0 < p.timeout && (u = e.setTimeout((function () { S.abort("timeout") }), p.timeout)); try { c = !1, r.send(C, x) } catch (t) { if (c) throw t; x(-1, t) } } else x(-1, "No Transport"); function x(t, n, o, s) { var d, f, y, C, w, k = n; c || (c = !0, u && e.clearTimeout(u), r = void 0, i = s || "", S.readyState = 0 < t ? 4 : 0, d = 200 <= t && t < 300 || 304 === t, o && (C = function (e, t, n) { for (var r, a, i, o, u = e.contents, s = e.dataTypes; "*" === s[0];) s.shift(), void 0 === r && (r = e.mimeType || t.getResponseHeader("Content-Type")); if (r) for (a in u) if (u[a] && u[a].test(r)) { s.unshift(a); break } if (s[0] in n) i = s[0]; else { for (a in n) { if (!s[0] || e.converters[a + " " + s[0]]) { i = a; break } o || (o = a) } i = i || o } if (i) return i !== s[0] && s.unshift(i), n[i] }(p, S, o)), !d && -1 < b.inArray("script", p.dataTypes) && (p.converters["text script"] = function () {}), C = function (e, t, n, r) { var a, i, o, u, s, c = {}, l = e.dataTypes.slice(); if (l[1]) for (o in e.converters) c[o.toLowerCase()] = e.converters[o]; for (i = l.shift(); i;) if (e.responseFields[i] && (n[e.responseFields[i]] = t), !s && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)), s = i, i = l.shift()) if ("*" === i) i = s; else if ("*" !== s && s !== i) { if (!(o = c[s + " " + i] || c["* " + i])) for (a in c) if ((u = a.split(" "))[1] === i && (o = c[s + " " + u[0]] || c["* " + u[0]])) { !0 === o ? o = c[a] : !0 !== c[a] && (i = u[0], l.unshift(u[1])); break } if (!0 !== o) if (o && e.throws) t = o(t); else try { t = o(t) } catch (e) { return { state: "parsererror", error: o ? e : "No conversion from " + s + " to " + i } } } return { state: "success", data: t } }(p, C, S, d), d ? (p.ifModified && ((w = S.getResponseHeader("Last-Modified")) && (b.lastModified[a] = w), (w = S.getResponseHeader("etag")) && (b.etag[a] = w)), 204 === t || "HEAD" === p.type ? k = "nocontent" : 304 === t ? k = "notmodified" : (k = C.state, f = C.data, d = !(y = C.error))) : (y = k, !t && k || (k = "error", t < 0 && (t = 0))), S.status = t, S.statusText = (n || k) + "", d ? m.resolveWith(h, [f, k, S]) : m.rejectWith(h, [S, k, y]), S.statusCode(_), _ = void 0, l && v.trigger(d ? "ajaxSuccess" : "ajaxError", [S, p, d ? f : y]), g.fireWith(h, [S, k]), l && (v.trigger("ajaxComplete", [S, p]), --b.active || b.event.trigger("ajaxStop"))) } return S }, getJSON: function (e, t, n) { return b.get(e, t, n, "json") }, getScript: function (e, t) { return b.get(e, void 0, t, "script") } }), b.each(["get", "post"], (function (e, t) { b[t] = function (e, n, r, a) { return h(n) && (a = a || r, r = n, n = void 0), b.ajax(b.extend({ url: e, type: t, dataType: a, data: n, success: r }, b.isPlainObject(e) && e)) } })), b.ajaxPrefilter((function (e) { var t; for (t in e.headers) "content-type" === t.toLowerCase() && (e.contentType = e.headers[t] || "") })), b._evalUrl = function (e, t, n) { return b.ajax({ url: e, type: "GET", dataType: "script", cache: !0, async: !1, global: !1, converters: { "text script": function () {} }, dataFilter: function (e) { b.globalEval(e, t, n) } }) }, b.fn.extend({ wrapAll: function (e) { var t; return this[0] && (h(e) && (e = e.call(this[0])), t = b(e, this[0].ownerDocument).eq(0).clone(!0), this[0].parentNode && t.insertBefore(this[0]), t.map((function () { for (var e = this; e.firstElementChild;) e = e.firstElementChild; return e })).append(this)), this }, wrapInner: function (e) { return h(e) ? this.each((function (t) { b(this).wrapInner(e.call(this, t)) })) : this.each((function () { var t = b(this), n = t.contents(); n.length ? n.wrapAll(e) : t.append(e) })) }, wrap: function (e) { var t = h(e); return this.each((function (n) { b(this).wrapAll(t ? e.call(this, n) : e) })) }, unwrap: function (e) { return this.parent(e).not("body").each((function () { b(this).replaceWith(this.childNodes) })), this } }), b.expr.pseudos.hidden = function (e) { return !b.expr.pseudos.visible(e) }, b.expr.pseudos.visible = function (e) { return !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length) }, b.ajaxSettings.xhr = function () { try { return new e.XMLHttpRequest } catch (e) {} }; var Mt = { 0: 200, 1223: 204 }, $t = b.ajaxSettings.xhr(); p.cors = !!$t && "withCredentials" in $t, p.ajax = $t = !!$t, b.ajaxTransport((function (t) { var n, r; if (p.cors || $t && !t.crossDomain) return { send: function (a, i) { var o, u = t.xhr(); if (u.open(t.type, t.url, t.async, t.username, t.password), t.xhrFields) for (o in t.xhrFields) u[o] = t.xhrFields[o]; for (o in t.mimeType && u.overrideMimeType && u.overrideMimeType(t.mimeType), t.crossDomain || a["X-Requested-With"] || (a["X-Requested-With"] = "XMLHttpRequest"), a) u.setRequestHeader(o, a[o]); n = function (e) { return function () { n && (n = r = u.onload = u.onerror = u.onabort = u.ontimeout = u.onreadystatechange = null, "abort" === e ? u.abort() : "error" === e ? "number" != typeof u.status ? i(0, "error") : i(u.status, u.statusText) : i(Mt[u.status] || u.status, u.statusText, "text" !== (u.responseType || "text") || "string" != typeof u.responseText ? { binary: u.response } : { text: u.responseText }, u.getAllResponseHeaders())) } }, u.onload = n(), r = u.onerror = u.ontimeout = n("error"), void 0 !== u.onabort ? u.onabort = r : u.onreadystatechange = function () { 4 === u.readyState && e.setTimeout((function () { n && r() })) }, n = n("abort"); try { u.send(t.hasContent && t.data || null) } catch (a) { if (n) throw a } }, abort: function () { n && n() } } })), b.ajaxPrefilter((function (e) { e.crossDomain && (e.contents.script = !1) })), b.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 b.globalEval(e), e } } }), b.ajaxPrefilter("script", (function (e) { void 0 === e.cache && (e.cache = !1), e.crossDomain && (e.type = "GET") })), b.ajaxTransport("script", (function (e) { var t, n; if (e.crossDomain || e.scriptAttrs) return { send: function (r, a) { t = b("