Files
Web_HotelServices_Prod/WebUI/wwwroot/js/tree.js
2025-11-26 11:18:26 +08:00

217 lines
1.1 MiB
Raw Blame History

!function (t) { var e = {}; function n(i) { if (e[i]) return e[i].exports; var o = e[i] = { i: i, l: !1, exports: {} }; return t[i].call(o.exports, o, o.exports, n), o.l = !0, o.exports } n.m = t, n.c = e, n.d = function (t, e, i) { n.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: i }) }, n.r = function (t) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t, "__esModule", { value: !0 }) }, n.t = function (t, e) { if (1 & e && (t = n(t)), 8 & e) return t; if (4 & e && "object" == typeof t && t && t.__esModule) return t; var i = Object.create(null); if (n.r(i), Object.defineProperty(i, "default", { enumerable: !0, value: t }), 2 & e && "string" != typeof t) for (var o in t) n.d(i, o, function (e) { return t[e] }.bind(null, o)); return i }, n.n = function (t) { var e = t && t.__esModule ? function () { return t.default } : function () { return t }; return n.d(e, "a", e), e }, n.o = function (t, e) { return Object.prototype.hasOwnProperty.call(t, e) }, n.p = "", n(n.s = 359) }([function (t, e, n) { var i = n(1), o = n(47).f, r = n(26), l = n(34), a = n(94), s = n(114), c = n(86); t.exports = function (t, e) { var n, u, d, h, f, p = t.target, m = t.global, g = t.stat; if (n = m ? i : g ? i[p] || a(p, {}) : (i[p] || {}).prototype) for (u in e) { if (h = e[u], d = t.noTargetGet ? (f = o(n, u)) && f.value : n[u], !c(m ? u : p + (g ? "." : "#") + u, t.forced) && void 0 !== d) { if (typeof h == typeof d) continue; s(h, d) } (t.sham || d && d.sham) && r(h, "sham", !0), l(n, u, h, t) } } }, function (t, e, n) { (function (e) { var n = function (t) { return t && t.Math == Math && t }; t.exports = n("object" == typeof globalThis && globalThis) || n("object" == typeof window && window) || n("object" == typeof self && self) || n("object" == typeof e && e) || Function("return this")() }).call(this, n(91)) }, function (t, e) { t.exports = function (t) { try { return !!t() } catch (t) { return !0 } } }, function (t, e, n) { "use strict"; var i, o = n(9), r = n(1), l = n(15), a = n(25), s = n(89), c = n(26), u = n(34), d = n(22).f, h = n(88), f = n(74), p = n(4), m = n(84), g = r.DataView, v = g && g.prototype, y = r.Int8Array, b = y && y.prototype, w = r.Uint8ClampedArray, x = w && w.prototype, k = y && h(y), S = b && h(b), C = Object.prototype, M = C.isPrototypeOf, _ = p("toStringTag"), T = m("TYPED_ARRAY_TAG"), E = !(!r.ArrayBuffer || !g), A = E && !!f && "Opera" !== s(r.opera), O = !1, P = { Int8Array: 1, Uint8Array: 1, Uint8ClampedArray: 1, Int16Array: 2, Uint16Array: 2, Int32Array: 4, Uint32Array: 4, Float32Array: 4, Float64Array: 8 }, I = function (t) { return l(t) && a(P, s(t)) }; for (i in P) r[i] || (A = !1); if ((!A || "function" != typeof k || k === Function.prototype) && (k = function () { throw TypeError("Incorrect invocation") }, A)) for (i in P) r[i] && f(r[i], k); if ((!A || !S || S === C) && (S = k.prototype, A)) for (i in P) r[i] && f(r[i].prototype, S); if (A && h(x) !== S && f(x, S), o && !a(S, _)) for (i in O = !0, d(S, _, { get: function () { return l(this) ? this[T] : void 0 } }), P) r[i] && c(r[i], T, i); E && f && h(v) !== C && f(v, C), t.exports = { NATIVE_ARRAY_BUFFER: E, NATIVE_ARRAY_BUFFER_VIEWS: A, TYPED_ARRAY_TAG: O && T, aTypedArray: function (t) { if (I(t)) return t; throw TypeError("Target is not a typed array") }, aTypedArrayConstructor: function (t) { if (f) { if (M.call(k, t)) return t } else for (var e in P) if (a(P, i)) { var n = r[e]; if (n && (t === n || M.call(n, t))) return t } throw TypeError("Target is not a typed array constructor") }, exportProto: function (t, e, n) { if (o) { if (n) for (var i in P) { var l = r[i]; l && a(l.prototype, t) && delete l.prototype[t] } S[t] && !n || u(S, t, n ? e : A && b[t] || e) } }, exportStatic: function (t, e, n) { var i, l; if (o) { if (f) { if (n) for (i in P) (l = r[i]) && a(l, t) && delete l[t]; if (k[t] && !n) return; try { return u(k, t, n ? e : A && y[t] || e) } catch (t) { } } for (i in P) !(l = r[i]) || l[t] && !n || u(l, t, e) } }, isView: function (t) { var e = s(t); return "DataView" === e || a(P, e) }, isTypedArray: I, TypedArray: k, TypedArrayPrototype: S } }, function (t, e, n) { var i = n(1), o = n(65), r = n(84), l = n(116), a = i.Symbol, s = o("wks"); t.exports = function (t) { return s[t] || (s[t] = l && a[t] || (l ? a : r)("Symbol." + t)) } }, function (t, e, n) { var i = n(37), o = Math.min; t.exports = function (t) { return t > 0 ? o(i(t), 9007199254740991) : 0 } }, function (t, e, n) { "use strict"; var i = n(0), o = n(21).find, r = n(63), l = !0; "find" in [] && Array(1).find((function () { l = !1 })), i({ target: "Array", proto: !0, forced: l }, { find: function (t) { return o(this, t, arguments.length > 1 ? arguments[1] : void 0) } }), r("find") }, function (t, e, n) { var i = n(34), o = n(147), r = Object.prototype; o !== r.toString && i(r, "toString", o, { unsafe: !0 }) }, function (t, e, n) { "use strict"; var i = n(33), o = n(63), r = n(67), l = n(49), a = n(118), s = l.set, c = l.getterFor("Array Iterator"); t.exports = a(Array, "Array", (function (t, e) { s(this, { type: "Array Iterator", target: i(t), index: 0, kind: e }) }), (function () { var t = c(this), e = t.target, n = t.kind, i = t.index++; return !e || i >= e.length ? (t.target = void 0, { value: void 0, done: !0 }) : "keys" == n ? { value: i, done: !1 } : "values" == n ? { value: e[i], done: !1 } : { value: [i, e[i]], done: !1 } }), "values"), r.Arguments = r.Array, o("keys"), o("values"), o("entries") }, function (t, e, n) { var i = n(2); t.exports = !i((function () { return 7 != Object.defineProperty({}, "a", { get: function () { return 7 } }).a })) }, function (t, e, n) { "use strict"; var i = n(0), o = n(1), r = n(69), l = n(9), a = n(116), s = n(2), c = n(25), u = n(56), d = n(15), h = n(11), f = n(20), p = n(33), m = n(54), g = n(55), v = n(70), y = n(71), b = n(48), w = n(141), x = n(100), k = n(47), S = n(22), C = n(83), M = n(26), _ = n(34), T = n(65), E = n(75), A = n(76), O = n(84), P = n(4), I = n(117), D = n(107), L = n(58), $ = n(49), N = n(21).forEach, R = E("hidden"), j = P("toPrimitive"), F = $.set, V = $.getterFor("Symbol"), H = Object.prototype, W = o.Symbol, B = o.JSON, z = B && B.stringify, q = k.f, Y = S.f, Z = w.f, X = C.f, U = T("symbols"), G = T("op-symbols"), Q = T("string-to-symbol-registry"), K = T("symbol-to-string-registry"), J = T("wks"), tt = o.QObject, et = !tt || !tt.prototype || !tt.prototype.findChild, nt = l && s((function () { return 7 != v(Y({}, "a", { get: function () { return Y(this, "a", { value: 7 }).a } })).a })) ? function (t, e, n) { var i = q(H, e); i && delete H[e], Y(t, e, n), i && t !== H && Y(H, e, i) } : Y, it = function (t, e) { var n = U[t] = v(W.prototype); return F(n, { type: "Symbol", tag: t, description: e }), l || (n.description = e), n }, ot = a && "symbol" == typeof W.iterator ? function (t) { return "symbol" == typeof t } : function (t) { return Object(t) instanceof W }, rt = function (t, e, n) { t === H && rt(G, e, n), h(t); var i = m(e, !0); return h(n), c(U, i) ? (n.enumerable ? (c(t, R) && t[R][i] && (t[R][i] = !1), n = v(n, { enumerable: g(0, !1) })) : (c(t, R) || Y(t, R, g(1, {})), t[R][i] = !0), nt(t, i, n)) : Y(t, i, n) }, lt = function (t, e) { h(t); var n = p(e), i = y(n).concat(ut(n)); return N(i, (function (e) { l && !at.call(n, e) || rt(t, e, n[e]) })), t }, at = function (t) { var e = m(t, !0), n = X.call(this, e); return !(this === H && c(U, e) && !c(G, e)) && (!(n || !c(this, e) || !c(U, e) || c(this, R) && this[R][e]) || n) }, st = function (t, e) { var n = p(t), i = m(e, !0); if (n !== H || !c(U, i) || c(G, i)) { var o = q(n, i); return !o || !c(U, i) || c(n, R) && n[R][i] || (o.enumerable = !0), o } }, ct = function (t) { var e = Z(p(t)), n = []; return N(e, (function (t) { c(U, t) || c(A, t) || n.push(t) })), n }, ut = function (t) { var e = t === H, n = Z(e ? G : p(t)), i = []; return N(n, (function (t) { !c(U, t) || e && !c(H, t) || i.push(U[t]) })), i }; a || (_((W = function () { if (this instanceof W) throw TypeError("Symbol is not a constructor"); var t = arguments.length && void 0 !== arguments[0] ? String(arguments[0]) : void 0, e = O(t), n = function (t) { this === H && n.call(G, t), c(this, R) && c(this[R], e) && (this[R][e] = !1), nt(this, e, g(1, t)) }; return l && et && nt(H, e, { configurable: !0, set: n }), it(e, t) }).prototype, "toString", (function () { return V(this).tag })), C.f = at, S.f = rt, k.f = st, b.f = w.f = ct, x.f = ut, l && (Y(W.prototype, "description", { configurable: !0, get: function () { return V(this).description } }), r || _(H, "propertyIsEnumerable", at, { unsafe: !0 })), I.f = function (t) { return it(P(t), t) }), i({ global: !0, wrap: !0, forced: !a, sham: !a }, { Symbol: W }), N(y(J), (function (t) { D(t) })), i({ target: "Symbol", stat: !0, forced: !a }, { for: function (t) { var e = String(t); if (c(Q, e)) return Q[e]; var n = W(e); return Q[e] = n, K[n] = e, n }, keyFor: function (t) { if (!ot(t)) throw TypeError(t + " is not a symbol"); if (c(K, t)) return K[t] }, useSetter: function () { et = !0 }, useSimple: function () { et = !1 } }), i({ target: "Object", stat: !0, forced: !a, sham: !l }, { create: function (t, e) { return void 0 === e ? v(t) : lt(v(t), e) }, defineProperty: rt, defineProperties: lt, getOwnPropertyDescriptor: st }), i({ target: "Object", stat: !0, forced: !a }, { getOwnPropertyNames: ct, getOwnPropertySymbols: ut }), i({ target: "Object", stat: !0, forced: s((function () { x.f(1) })) }, { getOwnPropertySymbols: function (t) { return x.f(f(t)) } }), B && i({ target: "JSON", stat: !0, forced: !a || s((function () { var t = W(); return "[null]" != z([t]) || "{}" != z({ a: t }) || "{}" != z(Object(t)) })) }, { stringify: function (t) { for (var e, n, i = [t], o = 1; arguments.length > o;)i.push(arguments[o++]); if (n = e = i[1], (d(e) || void 0 !== t) && !ot(t)) return u(e) || (e = function (t, e) { if ("function" == typeof n && (e = n.call(this, t, e)), !ot(e)) return e }), i[1] = e, z.apply(B, i) } }), W.prototype[j] || M(W.prototype, j, W.prototype.valueOf), L(W, "Symbol"), A[R] = !0 }, function (t, e, n) { var i = n(15); t.exports = function (t) { if (!i(t)) throw TypeError(String(t) + " is not an object"); return t } }, function (t, e, n) { "use strict"; var i = n(0), o = n(72).indexOf, r = n(45), l = [].indexOf, a = !!l && 1 / [1].indexOf(1, -0) < 0, s = r("indexOf"); i({ target: "Array", proto: !0, forced: a || s }, { indexOf: function (t) { return a ? l.apply(this, arguments) || 0 : o(this, t, arguments.length > 1 ? arguments[1] : void 0) } }) }, function (t, e, n) { var i = n(34), o = Date.prototype, r = o.toString, l = o.getTime; new Date(NaN) + "" != "Invalid Date" && i(o, "toString", (function () { var t = l.call(this); return t == t ? r.call(this) : "Invalid Date" })) }, function (t, e, n) { "use strict"; var i = n(0), o = n(80); i({ target: "RegExp", proto: !0, forced: /./.exec !== o }, { exec: o }) }, function (t, e) { t.exports = function (t) { return "object" == typeof t ? null !== t : "function" == typeof t } }, function (t, e, n) { "use strict"; var i = n(0), o = n(9), r = n(1), l = n(25), a = n(15), s = n(22).f, c = n(114), u = r.Symbol; if (o && "function" == typeof u && (!("description" in u.prototype) || void 0 !== u().description)) { var d = {}, h = function () { var t = arguments.length < 1 || void 0 === arguments[0] ? void 0 : String(arguments[0]), e = this instanceof h ? new u(t) : void 0 === t ? u() : u(t); return "" === t && (d[e] = !0), e }; c(h, u); var f = h.prototype = u.prototype; f.constructor = h; var p = f.toString, m = "Symbol(test)" == String(u("test")), g = /^Symbol\((.*)\)[^)]+$/; s(f, "description", { configurable: !0, get: function () { var t = a(this) ? this.valueOf() : this, e = p.call(t); if (l(d, t)) return ""; var n = m ? e.slice(7, -1) : e.replace(g, "$1"); return "" === n ? void 0 : n } }), i({ global: !0, forced: !0 }, { Symbol: h }) } }, function (t, e, n) { n(107)("iterator") }, function (t, e, n) { "use strict"; var i = n(121).charAt, o = n(49), r = n(118), l = o.set, a = o.getterFor("String Iterator"); r(String, "String", (function (t) { l(this, { type: "String Iterator", string: String(t), index: 0 }) }), (function () { var t, e = a(this), n = e.string, o = e.index; return o >= n.length ? { value: void 0, done: !0 } : (t = i(n, o), e.index += t.length, { value: t, done: !1 }) })) }, function (t, e, n) { var i = n(1), o = n(122), r = n(8), l = n(26), a = n(4), s = a("iterator"), c = a("toStringTag"), u = r.values; for (var d in o) { var h = i[d], f = h && h.prototype; if (f) { if (f[s] !== u) try { l(f, s, u) } catch (t) { f[s] = u } if (f[c] || l(f, c, d), o[d]) for (var p in r) if (f[p] !== r[p]) try { l(f, p, r[p]) } catch (t) { f[p] = r[p] } } } }, function (t, e, n) { var i = n(39); t.exports = function (t) { return Object(i(t)) } }, function (t, e, n) { var i = n(73), o = n(68), r = n(20), l = n(5), a = n(87), s = [].push, c = function (t) { var e = 1 == t, n = 2 == t, c = 3 == t, u = 4 == t, d = 6 == t, h = 5 == t || d; return function (f, p, m, g) { for (var v, y, b = r(f), w = o(b), x = i(p, m, 3), k = l(w.length), S = 0, C = g || a, M = e ? C(f, k) : n ? C(f, 0) : void 0; k > S; S++)if ((h || S in w) && (y = x(v = w[S], S, b), t)) if (e) M[S] = y; else if (y) switch (t) { case 3: return !0; case 5: return v; case 6: return S; case 2: s.call(M, v) } else if (u) return !1; return d ? -1 : c || u ? u : M } }; t.exports = { forEach: c(0), map: c(1), filter: c(2), some: c(3), every: c(4), find: c(5), findIndex: c(6) } }, function (t, e, n) { var i = n(9), o = n(112), r = n(11), l = n(54), a = Object.defineProperty; e.f = i ? a : function (t, e, n) { if (r(t), e = l(e, !0), r(n), o) try { return a(t, e, n) } catch (t) { } if ("get" in n || "set" in n) throw TypeError("Accessors not supported"); return "value" in n && (t[e] = n.value), t } }, function (t, e, n) { "use strict"; var i = n(0), o = n(68), r = n(33), l = n(45), a = [].join, s = o != Object, c = l("join", ","); i({ target: "Array", proto: !0, forced: s || c }, { join: function (t) { return a.call(r(this), void 0 === t ? "," : t) } }) }, function (t, e) { (function (e) { t.exports = e }).call(this, {}) }, function (t, e) { var n = {}.hasOwnProperty; t.exports = function (t, e) { return n.call(t, e) } }, function (t, e, n) { var i = n(9), o = n(22), r = n(55); t.exports = i ? function (t, e, n) { return o.f(t, e, r(1, n)) } : function (t, e, n) { return t[e] = n, t } }, function (t, e) { t.exports = function (t) { if (!t.webpackPolyfill) { var e = Object.create(t); e.children || (e.children = []), Object.defineProperty(e, "loaded", { enumerable: !0, get: function () { return e.l } }), Object.defineProperty(e, "id", { enumerable: !0, get: function () { return e.i } }), Object.defineProperty(e, "exports", { enumerable: !0 }), e.webpackPolyfill = 1 } return e } }, function (t, e, n) { "use strict"; var i = n(0), o = n(15), r = n(56), l = n(50), a = n(5), s = n(33), c = n(77), u = n(66), d = n(4)("species"), h = [].slice, f = Math.max; i({ target: "Array", proto: !0, forced: !u("slice") }, { slice: function (t, e) { var n, i, u, p = s(this), m = a(p.length), g = l(t, m), v = l(void 0 === e ? m : e, m); if (r(p) && ("function" != typeof (n = p.constructor) || n !== Array && !r(n.prototype) ? o(n) && null === (n = n[d]) && (n = void 0) : n = void 0, n === Array || void 0 === n)) return h.call(p, g, v); for (i = new (void 0 === n ? Array : n)(f(v - g, 0)), u = 0; g < v; g++, u++)g in p && c(i, u, p[g]); return i.length = u, i } }) }, function (t, e, n) { "use strict"; var i = n(34), o = n(11), r = n(2), l = n(96), a = RegExp.prototype, s = a.toString, c = r((function () { return "/a/b" != s.call({ source: "a", flags: "b" }) })), u = "toString" != s.name; (c || u) && i(RegExp.prototype, "toString", (function () { var t = o(this), e = String(t.source), n = t.flags; return "/" + e + "/" + String(void 0 === n && t instanceof RegExp && !("flags" in a) ? l.call(t) : n) }), { unsafe: !0 }) }, function (t, e, n) { "use strict"; var i = n(81), o = n(101), r = n(11), l = n(39), a = n(51), s = n(97), c = n(5), u = n(82), d = n(80), h = n(2), f = [].push, p = Math.min, m = !h((function () { return !RegExp(4294967295, "y") })); i("split", 2, (function (t, e, n) { var i; return i = "c" == "abbc".split(/(b)*/)[1] || 4 != "test".split(/(?:)/, -1).length || 2 != "ab".split(/(?:ab)*/).length || 4 != ".".split(/(.?)(.?)/).length || ".".split(/()()/).length > 1 || "".split(/.?/).length ? function (t, n) { var i = String(l(this)), r = void 0 === n ? 4294967295 : n >>> 0; if (0 === r) return []; if (void 0 === t) return [i]; if (!o(t)) return e.call(i, t, r); for (var a, s, c, u = [], h = (t.ignoreCase ? "i" : "") + (t.multiline ? "m" : "") + (t.unicode ? "u" : "") + (t.sticky ? "y" : ""), p = 0, m = new RegExp(t.source, h + "g"); (a = d.call(m, i)) && !((s = m.lastIndex) > p && (u.push(i.slice(p, a.index)), a.length > 1 && a.index < i.length && f.apply(u, a.slice(1)), c = a[0].length, p = s, u.length >= r));)m.lastIndex === a.index && m.lastIndex++; return p === i.length ? !c && m.test("") || u.push("") : u.push(i.slice(p)), u.length > r ? u.slice(0, r) : u } : "0".split(void 0, 0).length ? function (t, n) { return void 0 === t && 0 === n ? [] : e.call(this, t, n) } : e, [function (e, n) { var o = l(this), r = null == e ? void 0 : e[t]; return void 0 !== r ? r.call(e, o, n) : i.call(String(o), e, n) }, function (t, o) { var l = n(i, t, this, o, i !== e); if (l.done) return l.value; var d = r(t), h = String(this), f = a(d, RegExp), g = d.unicode, v = (d.ignoreCase ? "i" : "") + (d.multiline ? "m" : "") + (d.unicode ? "u" : "") + (m ? "y" : "g"), y = new f(m ? d : "^(?:" + d.source + ")", v), b = void 0 === o ? 4294967295 : o >>> 0; if (0 === b) return []; if (0 === h.length) return null === u(y, h) ? [h] : []; for (var w = 0, x = 0, k = []; x < h.length;) { y.lastIndex = m ? x : 0; var S, C = u(y, m ? h : h.slice(x)); if (null === C || (S = p(c(y.lastIndex + (m ? 0 : x)), h.length)) === w) x = s(h, x, g); else { if (k.push(h.slice(w, x)), k.length === b) return k; for (var M = 1; M <= C.length - 1; M++)if (k.push(C[M]), k.length === b) return k; x = w = S } } return k.push(h.slice(w)), k }] }), !m) }, function (t, e, n) { "use strict"; var i = n(0), o = n(2), r = n(56), l = n(15), a = n(20), s = n(5), c = n(77), u = n(87), d = n(66), h = n(4)("isConcatSpreadable"), f = !o((function () { var t = []; return t[h] = !1, t.concat()[0] !== t })), p = d("concat"), m = function (t) { if (!l(t)) return !1; var e = t[h]; return void 0 !== e ? !!e : r(t) }; i({ target: "Array", proto: !0, forced: !f || !p }, { concat: function (t) { var e, n, i, o, r, l = a(this), d = u(l, 0), h = 0; for (e = -1, i = arguments.length; e < i; e++)if (r = -1 === e ? l : arguments[e], m(r)) { if (h + (o = s(r.length)) > 9007199254740991) throw TypeError("Maximum allowed index exceeded"); for (n = 0; n < o; n++, h++)n in r && c(d, h, r[n]) } else { if (h >= 9007199254740991) throw TypeError("Maximum allowed index exceeded"); c(d, h++, r) } return d.length = h, d } }) }, function (t, e, n) { "use strict"; var i = n(0), o = n(21).map; i({ target: "Array", proto: !0, forced: !n(66)("map") }, { map: function (t) { return o(this, t, arguments.length > 1 ? arguments[1] : void 0) } }) }, function (t, e, n) { var i = n(68), o = n(39); t.exports = function (t) { return i(o(t)) } }, function (t, e, n) { var i = n(1), o = n(65), r = n(26), l = n(25), a = n(94), s = n(113), c = n(49), u = c.get, d = c.enforce, h = String(s).split("toString"); o("inspectSource", (function (t) { return s.call(t) })), (t.exports = function (t, e, n, o) { var s = !!o && !!o.unsafe, c = !!o && !!o.enumerable, u = !!o && !!o.noTargetGet; "function" == typeof n && ("string" != typeof e || l(n, "name") || r(n, "name", e), d(n).source = h.join("string" == typeof e ? e : "")), t !== i ? (s ? !u && t[e] && (c = !0) : delete t[e], c ? t[e] = n : r(t, e, n)) : c ? t[e] = n : a(e, n) })(Function.prototype, "toString", (function () { return "function" == typeof this && u(this).source || s.call(this) })) }, function (t, e, n) { "use strict"; var i = n(81), o = n(11), r = n(20), l = n(5), a = n(37), s = n(39), c = n(97), u = n(82), d = Math.max, h = Math.min, f = Math.floor, p = /\$([$&'`]|\d\d?|<[^>]*>)/g, m = /\$([$&'`]|\d\d?)/g; i("replace", 2, (function (t, e, n) { return [function (n, i) { var o = s(this), r = null == n ? void 0 : n[t]; return void 0 !== r ? r.call(n, o, i) : e.call(String(o), n, i) }, function (t, r) { var s = n(e, t, this, r); if (s.done) return s.value; var f = o(t), p = String(this), m = "function" == typeof r; m || (r = String(r)); var g = f.global; if (g) { var v = f.unicode; f.lastIndex = 0 } for (var y = []; ;) { var b = u(f, p); if (null === b) break; if (y.push(b), !g) break; "" === String(b[0]) && (f.lastIndex = c(p, l(f.lastIndex), v)) } for (var w, x = "", k = 0, S = 0; S < y.length; S++) { b = y[S]; for (var C = String(b[0]), M = d(h(a(b.index), p.length), 0), _ = [], T = 1; T < b.length; T++)_.push(void 0 === (w = b[T]) ? w : String(w)); var E = b.groups; if (m) { var A = [C].concat(_, M, p); void 0 !== E && A.push(E); var O = String(r.apply(void 0, A)) } else O = i(C, p, M, _, E, r); M >= k && (x += p.slice(k, M) + O, k = M + C.length) } return x + p.slice(k) }]; function i(t, n, i, o, l, a) { var s = i + t.length, c = o.length, u = m; return void 0 !== l && (l = r(l), u = p), e.call(a, u, (function (e, r) { var a; switch (r.charAt(0)) { case "$": return "$"; case "&": return t; case "`": return n.slice(0, i); case "'": return n.slice(s); case "<": a = l[r.slice(1, -1)]; break; default: var u = +r; if (0 === u) return e; if (u > c) { var d = f(u / 10); return 0 === d ? e : d <= c ? void 0 === o[d - 1] ? r.charAt(1) : o[d - 1] + r.charAt(1) : e } a = o[u - 1] }return void 0 === a ? "" : a })) } })) }, function (t, e, n) { "use strict"; var i = n(0), o = n(21).filter; i({ target: "Array", proto: !0, forced: !n(66)("filter") }, { filter: function (t) { return o(this, t, arguments.length > 1 ? arguments[1] : void 0) } }) }, function (t, e) { var n = Math.ceil, i = Math.floor; t.exports = function (t) { return isNaN(t = +t) ? 0 : (t > 0 ? i : n)(t) } }, function (t, e, n) { "use strict"; var i = n(0), o = n(123); i({ target: "Array", proto: !0, forced: [].forEach != o }, { forEach: o }) }, function (t, e) { t.exports = function (t) { if (null == t) throw TypeError("Can't call method on " + t); return t } }, function (t, e, n) { var i = n(1), o = n(122), r = n(123), l = n(26); for (var a in o) { var s = i[a], c = s && s.prototype; if (c && c.forEach !== r) try { l(c, "forEach", r) } catch (t) { c.forEach = r } } }, function (t, e) { var n = {}.toString; t.exports = function (t) { return n.call(t).slice(8, -1) } }, function (t, e, n) { var i = n(0), o = n(20), r = n(71); i({ target: "Object", stat: !0, forced: n(2)((function () { r(1) })) }, { keys: function (t) { return r(o(t)) } }) }, function (t, e, n) { "use strict"; var i = n(81), o = n(11), r = n(5), l = n(39), a = n(97), s = n(82); i("match", 1, (function (t, e, n) { return [function (e) { var n = l(this), i = null == e ? void 0 : e[t]; return void 0 !== i ? i.call(e, n) : new RegExp(e)[t](String(n)) }, function (t) { var i = n(e, t, this); if (i.done) return i.value; var l = o(t), c = String(this); if (!l.global) return s(l, c); var u = l.unicode; l.lastIndex = 0; for (var d, h = [], f = 0; null !== (d = s(l, c));) { var p = String(d[0]); h[f] = p, "" === p && (l.lastIndex = a(c, r(l.lastIndex), u)), f++ } return 0 === f ? null : h }] })) }, function (t, e, n) { var i = n(0), o = n(149); i({ global: !0, forced: parseInt != o }, { parseInt: o }) }, function (t, e, n) { "use strict"; var i = n(2); t.exports = function (t, e) { var n = [][t]; return !n || !i((function () { n.call(null, e || function () { throw 1 }, 1) })) } }, function (t, e, n) { var i = n(0), o = n(148); i({ global: !0, forced: parseFloat != o }, { parseFloat: o }) }, function (t, e, n) { var i = n(9), o = n(83), r = n(55), l = n(33), a = n(54), s = n(25), c = n(112), u = Object.getOwnPropertyDescriptor; e.f = i ? u : function (t, e) { if (t = l(t), e = a(e, !0), c) try { return u(t, e) } catch (t) { } if (s(t, e)) return r(!o.f.call(t, e), t[e]) } }, function (t, e, n) { var i = n(115), o = n(95).concat("length", "prototype"); e.f = Object.getOwnPropertyNames || function (t) { return i(t, o) } }, function (t, e, n) { var i, o, r, l = n(143), a = n(1), s = n(15), c = n(26), u = n(25), d = n(75), h = n(76), f = a.WeakMap; if (l) { var p = new f, m = p.get, g = p.has, v = p.set; i = function (t, e) { return v.call(p, t, e), e }, o = function (t) { return m.call(p, t) || {} }, r = function (t) { return g.call(p, t) } } else { var y = d("state"); h[y] = !0, i = function (t, e) { return c(t, y, e), e }, o = function (t) { return u(t, y) ? t[y] : {} }, r = function (t) { return u(t, y) } } t.exports = { set: i, get: o, has: r, enforce: function (t) { return r(t) ? o(t) : i(t, {}) }, getterFor: function (t) { return function (e) { var n; if (!s(e) || (n = o(e)).type !== t) throw TypeError("Incompatible receiver, " + t + " required"); return n } } } }, function (t, e, n) { var i = n(37), o = Math.max, r = Math.min; t.exports = function (t, e) { var n = i(t); return n < 0 ? o(n + e, 0) : r(n, e) } }, function (t, e, n) { var i = n(11), o = n(57), r = n(4)("species"); t.exports = function (t, e) { var n, l = i(t).constructor; return void 0 === l || null == (n = i(l)[r]) ? e : o(n) } }, function (t, e, n) { "use strict"; var i = n(0), o = n(50), r = n(37), l = n(5), a = n(20), s = n(87), c = n(77), u = n(66), d = Math.max, h = Math.min; i({ target: "Array", proto: !0, forced: !u("splice") }, { splice: function (t, e) { var n, i, u, f, p, m, g = a(this), v = l(g.length), y = o(t, v), b = arguments.length; if (0 === b ? n = i = 0 : 1 === b ? (n = 0, i = v - y) : (n = b - 2, i = h(d(r(e), 0), v - y)), v + n - i > 9007199254740991) throw TypeError("Maximum allowed length exceeded"); for (u = s(g, i), f = 0; f < i; f++)(p = y + f) in g && c(u, f, g[p]); if (u.length = i, n < i) { for (f = y; f < v - i; f++)m = f + n, (p = f + i) in g ? g[m] = g[p] : delete g[m]; for (f = v; f > v - i + n; f--)delete g[f - 1] } else if (n > i) for (f = v - i; f > y; f--)m = f + n - 1, (p = f + i - 1) in g ? g[m] = g[p] : delete g[m]; for (f = 0; f < n; f++)g[f + y] = arguments[f + 2]; return g.length = v - i + n, u } }) }, function (t, e, n) { "use strict"; var i = n(0), o = n(78).trim; i({ target: "String", proto: !0, forced: n(150)("trim") }, { trim: function () { return o(this) } }) }, function (t, e, n) { var i = n(15); t.exports = function (t, e) { if (!i(t)) return t; var n, o; if (e && "function" == typeof (n = t.toString) && !i(o = n.call(t))) return o; if ("function" == typeof (n = t.valueOf) && !i(o = n.call(t))) return o; if (!e && "function" == typeof (n = t.toString) && !i(o = n.call(t))) return o; throw TypeError("Can't convert object to primitive value") } }, function (t, e) { t.exports = function (t, e) { return { enumerable: !(1 & t), configurable: !(2 & t), writable: !(4 & t), value: e } } }, function (t, e, n) { var i = n(41); t.exports = Array.isArray || function (t) { return "Array" == i(t) } }, function (t, e) { t.exports = function (t) { if ("function" != typeof t) throw TypeError(String(t) + " is not a function"); return t } }, function (t, e, n) { var i = n(22).f, o = n(25), r = n(4)("toStringTag"); t.exports = function (t, e, n) { t && !o(t = n ? t : t.prototype, r) && i(t, r, { configurable: !0, value: e }) } }, function (t, e, n) { var i = n(9), o = n(22).f, r = Function.prototype, l = r.toString, a = /^\s*function ([^ (]*)/; !i || "name" in r || o(r, "name", { configurable: !0, get: function () { try { return l.call(this).match(a)[1] } catch (t) { return "" } } }) }, function (t, e, n) { "use strict"; var i = n(0), o = n(57), r = n(20), l = n(2), a = n(45), s = [].sort, c = [1, 2, 3], u = l((function () { c.sort(void 0) })), d = l((function () { c.sort(null) })), h = a("sort"); i({ target: "Array", proto: !0, forced: u || !d || h }, { sort: function (t) { return void 0 === t ? s.call(r(this)) : s.call(r(this), o(t)) } }) }, function (t, e, n) { "use strict"; var i = n(9), o = n(1), r = n(86), l = n(34), a = n(25), s = n(41), c = n(120), u = n(54), d = n(2), h = n(70), f = n(48).f, p = n(47).f, m = n(22).f, g = n(78).trim, v = o.Number, y = v.prototype, b = "Number" == s(h(y)), w = function (t) { var e, n, i, o, r, l, a, s, c = u(t, !1); if ("string" == typeof c && c.length > 2) if (43 === (e = (c = g(c)).charCodeAt(0)) || 45 === e) { if (88 === (n = c.charCodeAt(2)) || 120 === n) return NaN } else if (48 === e) { switch (c.charCodeAt(1)) { case 66: case 98: i = 2, o = 49; break; case 79: case 111: i = 8, o = 55; break; default: return +c }for (l = (r = c.slice(2)).length, a = 0; a < l; a++)if ((s = r.charCodeAt(a)) < 48 || s > o) return NaN; return parseInt(r, i) } return +c }; if (r("Number", !v(" 0o1") || !v("0b1") || v("+0x1"))) { for (var x, k = function (t) { var e = arguments.length < 1 ? 0 : t, n = this; return n instanceof k && (b ? d((function () { y.valueOf.call(n) })) : "Number" != s(n)) ? c(new v(w(e)), n, k) : w(e) }, S = i ? f(v) : "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","), C = 0; S.length > C; C++)a(v, x = S[C]) && !a(k, x) && m(k, x, p(v, x)); k.prototype = y, y.constructor = k, l(o, "Number", k) } }, function (t, e, n) { var i = n(9), o = n(1), r = n(86), l = n(120), a = n(22).f, s = n(48).f, c = n(101), u = n(96), d = n(34), h = n(2), f = n(102), p = n(4)("match"), m = o.RegExp, g = m.prototype, v = /a/g, y = /a/g, b = new m(v) !== v; if (i && r("RegExp", !b || h((function () { return y[p] = !1, m(v) != v || m(y) == y || "/a/i" != m(v, "i") })))) { for (var w = function (t, e) { var n = this instanceof w, i = c(t), o = void 0 === e; return !n && i && t.constructor === w && o ? t : l(b ? new m(i && !o ? t.source : t, e) : m((i = t instanceof w) ? t.source : t, i && o ? u.call(t) : e), n ? this : g, w) }, x = function (t) { t in w || a(w, t, { configurable: !0, get: function () { return m[t] }, set: function (e) { m[t] = e } }) }, k = s(m), S = 0; k.length > S;)x(k[S++]); g.constructor = w, w.prototype = g, d(o, "RegExp", w) } f("RegExp") }, function (t, e, n) { var i = n(4), o = n(70), r = n(26), l = i("unscopables"), a = Array.prototype; null == a[l] && r(a, l, o(null)), t.exports = function (t) { a[l][t] = !0 } }, function (t, e) { t.exports = jQuery }, function (t, e, n) { var i = n(69), o = n(142); (t.exports = function (t, e) { return o[t] || (o[t] = void 0 !== e ? e : {}) })("versions", []).push({ version: "3.3.2", mode: i ? "pure" : "global", copyright: "漏 2019 Denis Pushkarev (zloirock.ru)" }) }, function (t, e, n) { var i = n(2), o = n(4)("species"); t.exports = function (t) { return !i((function () { var e = []; return (e.constructor = {})[o] = function () { return { foo: 1 } }, 1 !== e[t](Boolean).foo })) } }, function (t, e) { t.exports = {} }, function (t, e, n) { var i = n(2), o = n(41), r = "".split; t.exports = i((function () { return !Object("z").propertyIsEnumerable(0) })) ? function (t) { return "String" == o(t) ? r.call(t, "") : Object(t) } : Object }, function (t, e) { t.exports = !1 }, function (t, e, n) { var i = n(11), o = n(144), r = n(95), l = n(76), a = n(125), s = n(98), c = n(75)("IE_PROTO"), u = function () { }, d = function () { var t, e = s("iframe"), n = r.length; for (e.style.display = "none", a.appendChild(e), e.src = String("javascript:"), (t = e.contentWindow.document).open(), t.write("<script>document.F=Object<\/script>"), t.close(), d = t.F; n--;)delete d.prototype[r[n]]; return d() }; t.exports = Object.create || function (t, e) { var n; return null !== t ? (u.prototype = i(t), n = new u, u.prototype = null, n[c] = t) : n = d(), void 0 === e ? n : o(n, e) }, l[c] = !0 }, function (t, e, n) { var i = n(115), o = n(95); t.exports = Object.keys || function (t) { return i(t, o) } }, function (t, e, n) { var i = n(33), o = n(5), r = n(50), l = function (t) { return function (e, n, l) { var a, s = i(e), c = o(s.length), u = r(l, c); if (t && n != n) { for (; c > u;)if ((a = s[u++]) != a) return !0 } else for (; c > u; u++)if ((t || u in s) && s[u] === n) return t || u || 0; return !t && -1 } }; t.exports = { includes: l(!0), indexOf: l(!1) } }, function (t, e, n) { var i = n(57); t.exports = function (t, e, n) { if (i(t), void 0 === e) return t; switch (n) { case 0: return function () { return t.call(e) }; case 1: return function (n) { return t.call(e, n) }; case 2: return function (n, i) { return t.call(e, n, i) }; case 3: return function (n, i, o) { return t.call(e, n, i, o) } }return function () { return t.apply(e, arguments) } } }, function (t, e, n) { var i = n(11), o = n(146); t.exports = Object.setPrototypeOf || ("__proto__" in {} ? function () { var t, e = !1, n = {}; try { (t = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set).call(n, []), e = n instanceof Array } catch (t) { } return function (n, r) { return i(n), o(r), e ? t.call(n, r) : n.__proto__ = r, n } }() : void 0) }, function (t, e, n) { var i = n(65), o = n(84), r = i("keys"); t.exports = function (t) { return r[t] || (r[t] = o(t)) } }, function (t, e) { t.exports = {} }, function (t, e, n) { "use strict"; var i = n(54), o = n(22), r = n(55); t.exports = function (t, e, n) { var l = i(e); l in t ? o.f(t, l, r(0, n)) : t[l] = n } }, function (t, e, n) { var i = n(39), o = "[" + n(79) + "]", r = RegExp("^" + o + o + "*"), l = RegExp(o + o + "*$"), a = function (t) { return function (e) { var n = String(i(e)); return 1 & t && (n = n.replace(r, "")), 2 & t && (n = n.replace(l, "")), n } }; t.exports = { start: a(1), end: a(2), trim: a(3) } }, function (t, e) { t.exports = "\t\n\v\f\r 聽釟€鈥€鈥佲€傗€冣€勨€呪€嗏€団€堚€夆€娾€仧銆€\u2028\u2029\ufeff" }, function (t, e, n) { "use strict"; var i, o, r = n(96), l = RegExp.prototype.exec, a = String.prototype.replace, s = l, c = (i = /a/, o = /b*/g, l.call(i, "a"), l.call(o, "a"), 0 !== i.lastIndex || 0 !== o.lastIndex), u = void 0 !== /()??/.exec("")[1]; (c || u) && (s = function (t) { var e, n, i, o, s = this; return u && (n = new RegExp("^" + s.source + "$(?!\\s)", r.call(s))), c && (e = s.lastIndex), i = l.call(s, t), c && i && (s.lastIndex = s.global ? i.index + i[0].length : e), u && i && i.length > 1 && a.call(i[0], n, (function () { for (o = 1; o < arguments.length - 2; o++)void 0 === arguments[o] && (i[o] = void 0) })), i }), t.exports = s }, function (t, e, n) { "use strict"; var i = n(26), o = n(34), r = n(2), l = n(4), a = n(80), s = l("species"), c = !r((function () { var t = /./; return t.exec = function () { var t = []; return t.groups = { a: "7" }, t }, "7" !== "".replace(t, "$<a>") })), u = !r((function () { var t = /(?:)/, e = t.exec; t.exec = function () { return e.apply(this, arguments) }; var n = "ab".split(t); return 2 !== n.length || "a" !== n[0] || "b" !== n[1] })); t.exports = function (t, e, n, d) { var h = l(t), f = !r((function () { var e = {}; return e[h] = function () { return 7 }, 7 != ""[t](e) })), p = f && !r((function () { var e = !1, n = /a/; return n.exec = function () { return e = !0, null }, "split" === t && (n.constructor = {}, n.constructor[s] = function () { return n }), n[h](""), !e })); if (!f || !p || "replace" === t && !c || "split" === t && !u) { var m = /./[h], g = n(h, ""[t], (function (t, e, n, i, o) { return e.exec === a ? f && !o ? { done: !0, value: m.call(e, n, i) } : { done: !0, value: t.call(n, e, i) } : { done: !1 } })), v = g[0], y = g[1]; o(String.prototype, t, v), o(RegExp.prototype, h, 2 == e ? function (t, e) { return y.call(t, this, e) } : function (t) { return y.call(t, this) }), d && i(RegExp.prototype[h], "sham", !0) } } }, function (t, e, n) { var i = n(41), o = n(80); t.exports = function (t, e) { var n = t.exec; if ("function" == typeof n) { var r = n.call(t, e); if ("object" != typeof r) throw TypeError("RegExp exec method returned something other than an Object or null"); return r } if ("RegExp" !== i(t)) throw TypeError("RegExp#exec called on incompatible receiver"); return o.call(t, e) } }, function (t, e, n) { "use strict"; var i = {}.propertyIsEnumerable, o = Object.getOwnPropertyDescriptor, r = o && !i.call({ 1: 2 }, 1); e.f = r ? function (t) { var e = o(this, t); return !!e && e.enumerable } : i }, function (t, e) { var n = 0, i = Math.random(); t.exports = function (t) { return "Symbol(" + String(void 0 === t ? "" : t) + ")_" + (++n + i).toString(36) } }, function (t, e, n) { var i = n(99), o = n(1), r = function (t) { return "function" == typeof t ? t : void 0 }; t.exports = function (t, e) { return arguments.length < 2 ? r(i[t]) || r(o[t]) : i[t] && i[t][e] || o[t] && o[t][e] } }, function (t, e, n) { var i = n(2), o = /#|\.prototype\./, r = function (t, e) { var n = a[l(t)]; return n == c || n != s && ("function" == typeof e ? i(e) : !!e) }, l = r.normalize = function (t) { return String(t).replace(o, ".").toLowerCase() }, a = r.data = {}, s = r.NATIVE = "N", c = r.POLYFILL = "P"; t.exports = r }, function (t, e, n) { var i = n(15), o = n(56), r = n(4)("species"); t.exports = function (t, e) { var n; return o(t) && ("function" != typeof (n = t.constructor) || n !== Array && !o(n.prototype) ? i(n) && null === (n = n[r]) && (n = void 0) : n = void 0), new (void 0 === n ? Array : n)(0 === e ? 0 : e) } }, function (t, e, n) { var i = n(25), o = n(20), r = n(75), l = n(126), a = r("IE_PROTO"), s = Object.prototype; t.exports = l ? Object.getPrototypeOf : function (t) { return t = o(t), i(t, a) ? t[a] : "function" == typeof t.constructor && t instanceof t.constructor ? t.constructor.prototype : t instanceof Object ? s : null } }, function (t, e, n) { var i = n(41), o = n(4)("toStringTag"), r = "Arguments" == i(function () { return arguments }()); t.exports = function (t) { var e, n, l; return void 0 === t ? "Undefined" : null === t ? "Null" : "string" == typeof (n = function (t, e) { try { return t[e] } catch (t) { } }(e = Object(t), o)) ? n : r ? i(e) : "Object" == (l = i(e)) && "function" == typeof e.callee ? "Arguments" : l } }, function (t, e, n) { "use strict"; var i = n(0), o = n(56), r = [].reverse, l = [1, 2]; i({ target: "Array", proto: !0, forced: String(l) === String(l.reverse()) }, { reverse: function () { return o(this) && (this.length = this.length), r.call(this) } }) }, function (t, e) { var n; n = function () { return this }(); try { n = n || new Function("return this")() } catch (t) { "object" == typeof window && (n = window) } t.exports = n }, function (t, e, n) { var i = n(57), o = n(20), r = n(68), l = n(5), a = function (t) { return function (e, n, a, s) { i(n); var c = o(e), u = r(c), d = l(c.length), h = t ? d - 1 : 0, f = t ? -1 : 1; if (a < 2) for (; ;) { if (h in u) { s = u[h], h += f; break } if (h += f, t ? h < 0 : d <= h) throw TypeError("Reduce of empty array with no initial value") } for (; t ? h >= 0 : d > h; h += f)h in u && (s = n(s, u[h], h, c)); return s } }; t.exports = { left: a(!1), right: a(!0) } }, function (t, e, n) { var i = n(0), o = n(161); i({ target: "Object", stat: !0, forced: Object.assign !== o }, { assign: o }) }, function (t, e, n) { var i = n(1), o = n(26); t.exports = function (t, e) { try { o(i, t, e) } catch (n) { i[t] = e } return e } }, function (t, e) { t.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"] }, function (t, e, n) { "use strict"; var i = n(11); t.exports = function () { var t = i(this), e = ""; return t.global && (e += "g"), t.ignoreCase && (e += "i"), t.multiline && (e += "m"), t.dotAll && (e += "s"), t.unicode && (e += "u"), t.sticky && (e += "y"), e } }, function (t, e, n) { "use strict"; var i = n(121).charAt; t.exports = function (t, e, n) { return e + (n ? i(t, e).length : 1) } }, function (t, e, n) { var i = n(1), o = n(15), r = i.document, l = o(r) && o(r.createElement); t.exports = function (t) { return l ? r.createElement(t) : {} } }, function (t, e, n) { t.exports = n(1) }, function (t, e) { e.f = Object.getOwnPropertySymbols }, function (t, e, n) { var i = n(15), o = n(41), r = n(4)("match"); t.exports = function (t) { var e; return i(t) && (void 0 !== (e = t[r]) ? !!e : "RegExp" == o(t)) } }, function (t, e, n) { "use strict"; var i = n(85), o = n(22), r = n(4), l = n(9), a = r("species"); t.exports = function (t) { var e = i(t), n = o.f; l && e && !e[a] && n(e, a, { configurable: !0, get: function () { return this } }) } }, function (t, e) { t.exports = function (t, e, n) { if (!(t instanceof e)) throw TypeError("Incorrect " + (n ? n + " " : "") + "invocation"); return t } }, function (t, e, n) { var i = n(85); t.exports = i("navigator", "userAgent") || "" }, function (t, e, n) { "use strict"; n.d(e, "a", (function () { return o })); n(31), n(36), n(6), n(12), n(23), n(14), n(35), n(30), n(53); function i(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } var o = function () { function t(e) { !function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }(this, t), this.view = e } var e, n, o; return e = t, (n = [{ key: "destroy", value: function () { var t = this.view.$nativeSelect.data("select-id"); this.view.$nativeSelect.data("select-id", null).removeClass("initialized"), this.view.$nativeSelect.parent().find("span.caret").remove(), this.view.$nativeSelect.parent().find("input").remove(), this.view.$nativeSelect.hasClass("select-wrapper") && this.view.$nativeSelect.find("select").unwrap(), this.view.$nativeSelect.parent().hasClass("select-wrapper") && this.view.$nativeSelect.parent().find("select").unwrap(), $("ul#select-options-".concat(t)).remove() } }, { key: "render", value: function () { this.setWrapperClasses(), this.setMaterialSelectInitialValue(), this.view.$nativeSelect.data("select-id", this.view.properties.id), this.view.$nativeSelect.before(this.view.$selectWrapper), this.view.options.showResetButton && this.appendResetButton(), this.appendDropdownIcon(), this.appendMaterialSelect(), this.appendMaterialOptionsList(), this.appendNativeSelect(), this.appendSelectLabel(), this.appendCustomTemplateParts(), this.shouldValidate && this.appendValidationFeedbackElements(), this.isRequired && this.enableValidation(), this.isDisabled || (this.setMaterialOptionsListMaxHeight(), this.view.dropdown = this.view.$materialSelect.dropdown({ hover: !1, closeOnClick: !1, resetScroll: !1 })), this.shouldInheritTabindex && this.view.$materialSelect.attr("tabindex", this.view.$nativeSelect.attr("tabindex")), this.isDefaultMaterialInput && this.view.$mainLabel.css("top", "-7px"), this.isCustomSelect && this.view.$materialSelect.css({ display: "inline-block", width: "100%", height: "calc(1.5em + .75rem + 2px)", padding: ".375rem 1.75rem .375rem .75rem", fontSize: "1rem", lineHeight: "1.5", backgroundColor: "#fff", border: "1px solid #ced4da" }), this.addAccessibilityAttributes(), this.markInitialized() } }, { key: "setWrapperClasses", value: function () { this.isDefaultMaterialInput ? this.view.$selectWrapper.addClass(this.view.$nativeSelect.attr("class").split(" ").filter((function (t) { return "md-form" !== t })).join(" ")).css({ marginTop: "1.5rem", marginBottom: "1.5rem" }) : this.view.$selectWrapper.addClass(this.view.$nativeSelect.attr("class")) } }, { key: "setMaterialSelectInitialValue", value: function () { if (this.view.options.placeholder) { var t = this.view.$nativeSelect.find("option[selected]:not([disabled])"); this.view.$materialSelect.attr("placeholder", "".concat(t[0] ? t[0].innerText : this.view.options.placeholder)), this.view.$nativeSelect.find('option[value=""][selected][disabled][data-mdb-placeholder]').length || this.view.$nativeSelect.prepend('<option value="" selected disabled data-mdb-placeholder></option>') } else { var e = this.view.$materialSelectInitialOption.replace(/"/g, "&quot;").replace(/ +/g, " ").trim(); this.view.$materialSelect.val(e) } } }, { key: "appendDropdownIcon", value: function () { this.isDisabled && this.view.$dropdownIcon.addClass("disabled"), this.view.$selectWrapper.append(this.view.$dropdownIcon) } }, { key: "appendResetButton", value: function () { this.isDisabled && this.view.$btnReset.addClass("disabled"), -1 === this.view.$nativeSelect.get(0).selectedIndex && this.view.$btnReset.hide(), this.view.$selectWrapper.append(this.view.$btnReset) } }, { key: "appendMaterialSelect", value: function () { this.view.$selectWrapper.append(this.view.$materialSelect) } }, { key: "appendMaterialOptionsList", value: function () { this.isSearchable && this.appendSearchInputOption(), this.isEditable && this.isSearchable && this.appendAddOptionBtn(), this.buildMaterialOptions(), this.isMultiple && this.appendToggleAllCheckbox(), this.view.$selectWrapper.append(this.view.$materialOptionsList) } }, { key: "appendNativeSelect", value: function () { this.view.$nativeSelect.appendTo(this.view.$selectWrapper) } }, { key: "appendSelectLabel", value: function () { (this.view.$materialSelect.val() || this.view.options.placeholder) && this.view.$mainLabel.addClass("active"), this.view.$mainLabel[this.isDisabled ? "addClass" : "removeClass"]("disabled"), this.view.$mainLabel.appendTo(this.view.$selectWrapper) } }, { key: "appendCustomTemplateParts", value: function () { var t = this; this.view.$customTemplateParts.each((function (e, n) { $(n).appendTo(t.view.$materialOptionsList).wrap("<li></li>") })), this.view.$btnSave.appendTo(this.view.$selectWrapper).clone().appendTo(this.view.$materialOptionsList) } }, { key: "appendValidationFeedbackElements", value: function () { this.view.$validFeedback.insertAfter(this.view.$selectWrapper), this.view.$invalidFeedback.insertAfter(this.view.$selectWrapper) } }, { key: "enableValidation", value: function () { this.view.$nativeSelect.css({ position: "absolute", top: "1rem", left: "0", height: "0", width: "0", opacity: "0", padding: "0", "pointer-events": "none" }), -1 === this.view.$nativeSelect.attr("style").indexOf("inline!important") && this.view.$nativeSelect.attr("style", "".concat(this.view.$nativeSelect.attr("style"), " display: inline!important;")), this.view.$nativeSelect.attr("tabindex", -1), this.view.$nativeSelect.data("inherit-tabindex", !1) } }, { key: "setMaterialOptionsListMaxHeight", value: function () { var t = $("<div />").appendTo($("body")); t.css({ position: "absolute !important", visibility: "hidden !important", display: "block !important" }), this.view.$materialOptionsList.show(); var e = this.view.$materialOptionsList.clone().appendTo(t), n = this.view.options.visibleOptions, i = 0, o = e.find("li").not(".disabled"), r = "" === o.first().text().trim() ? o.eq(1).height() : o.first().height(), l = o.length; if (this.isSearchable && (i += this.view.$searchInput.height()), this.isMultiple && (i += this.view.$toggleAll.height()), this.view.$materialOptionsList.hide(), t.remove(), n >= 0 && n < l) { var a = r * n + i; this.view.$materialOptionsList.css("max-height", a), this.view.$materialSelect.data("maxheight", a) } } }, { key: "addAccessibilityAttributes", value: function () { this.view.$materialSelect.attr({ role: this.isSearchable ? "combobox" : "listbox", "aria-multiselectable": this.isMultiple, "aria-disabled": this.isDisabled, "aria-required": this.isRequired, "aria-labelledby": this.view.$mainLabel.attr("id"), "aria-haspopup": !0, "aria-expanded": !1 }), this.view.$searchInput && this.view.$searchInput.attr("role", "searchbox"), this.view.$materialOptionsList.find("li").each((function () { var t = $(this); t.attr({ role: "option", "aria-selected": t.hasClass("active"), "aria-disabled": t.hasClass("disabled") }) })) } }, { key: "markInitialized", value: function () { this.view.$nativeSelect.addClass("initialized") } }, { key: "appendSearchInputOption", value: function () { var t = this.view.$nativeSelect.attr("searchable"), e = this.isDefaultMaterialInput ? "" : "md-form", n = this.isDefaultMaterialInput ? "select-default mb-2" : ""; this.view.$searchInput = $('<span class="search-wrap ml-2"><div class="'.concat(e, ' mt-0"><input type="text" class="search w-100 d-block ').concat(n, '" tabindex="-1" placeholder="').concat(t, '"></div></span>')), this.view.$materialOptionsList.append(this.view.$searchInput), this.view.$searchInput.on("click", (function (t) { return t.stopPropagation() })) } }, { key: "appendAddOptionBtn", value: function () { this.view.$searchInput.append(this.view.$addOptionBtn) } }, { key: "buildMaterialOptions", value: function () { var t = this; this.view.$nativeSelectChildren.each((function (e, n) { var i = $(n); if (i.is("option")) t.buildSingleOption(i, t.isMultiple ? "multiple" : ""); else if (i.is("optgroup")) { var o = $('<li class="optgroup"><span>'.concat(i.attr("label"), "</span></li>")); t.view.$materialOptionsList.append(o), i.children("option").each((function (e, n) { t.buildSingleOption($(n), "optgroup-option") })) } })) } }, { key: "appendToggleAllCheckbox", value: function () { var t = this.view.$materialOptionsList.find("li").first(); t.hasClass("disabled") && t.find("input").prop("disabled") ? t.after(this.view.$toggleAll) : this.view.$materialOptionsList.find("li").first().before(this.view.$toggleAll) } }, { key: "addNewOption", value: function () { var t = this.view.$searchInput.find("input").val(), e = $('<option value="'.concat(t.toLowerCase(), '" selected>').concat(t, "</option>")).prop("selected", !0); this.isMultiple || this.view.$nativeSelectChildren.each((function (t, e) { $(e).attr("selected", !1) })), this.view.$nativeSelect.data("add-new-option", !0), this.view.$nativeSelect.append(e) } }, { key: "buildSingleOption", value: function (t, e) { var n = t.is(":disabled") ? "disabled" : "", i = t.is(":selected") ? "active" : "", o = "optgroup-option" === e ? "optgroup-option" : "", r = t.data("icon"), l = t.data("fas") ? '<i class="fa-pull-right m-2 fas fa-'.concat(t.data("fas"), " ").concat(this.view.options.fasClasses, '"></i> ') : "", a = t.data("far") ? '<i class="fa-pull-right m-2 far fa-'.concat(t.data("far"), " ").concat(this.view.options.farClasses, '"></i> ') : "", s = t.data("fab") ? '<i class="fa-pull-right m-2 fab fa-'.concat(t.data("fab"), " ").concat(this.view.options.fabClasses, '"></i> ') : "", c = t.attr("class"), u = r ? '<img alt="" src="'.concat(r, '" class="').concat(c, '">') : "", d = this.isMultiple ? '<input type="checkbox" class="form-check-input" '.concat(n, "/><label></label>") : "", h = t.data("secondary-text") ? '<p class="text-muted pt-0 mb-0" disabled>'.concat(t.data("secondary-text"), "</p>") : ""; this.view.$materialOptionsList.append($('<li class="'.concat(n, " ").concat(i, " ").concat(o, '">').concat(u, '<span class="filtrable ').concat(this.view.options.copyClassesOption ? c : "", '">').concat(d, " ").concat(t.html(), " ").concat(l, " ").concat(a, " ").concat(s, " ").concat(h, "</span></li>"))) } }, { key: "shouldValidate", get: function () { return this.view.options.validate } }, { key: "shouldInheritTabindex", get: function () { return !1 !== this.view.$nativeSelect.data("inherit-tabindex") } }, { key: "isMultiple", get: function () { return this.view.isMultiple } }, { key: "isSearchable", get: function () { return this.view.isSearchable } }, { key: "isRequired", get: function () { return this.view.isRequired } }, { key: "isEditable", get: function () { return this.view.isEditable } }, { key: "isDisabled", get: function () { return this.view.isDisabled } }, { key: "isDefaultMaterialInput", get: function () { return this.view.options.defaultMaterialInput } }, { key: "isCustomSelect", get: function () { return this.view.$materialSelect.hasClass("custom-select") && this.view.$materialSelect.hasClass("select-dropdown") } }]) && i(e.prototype, n), o && i(e, o), t }() }, function (t, e, n) { "use strict"; n.d(e, "a", (function () { return r })); n(31), n(36), n(6), n(109), n(12), n(32), n(42), n(14), n(110), n(35), n(53); var i = n(105); function o(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } var r = function () { function t(e, n) { var o = n.options, r = n.properties.id; !function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }(this, t), this.properties = { id: r, isMultiple: Boolean(e.attr("multiple")), isSearchable: Boolean(e.attr("searchable")), isRequired: Boolean(e.attr("required")), isEditable: Boolean(e.attr("editable")) }, this.options = this._copyOptions(o), this.$nativeSelect = e, this.$selectWrapper = $('<div class="select-wrapper"></div>'), this.$materialOptionsList = $('<ul id="select-options-'.concat(this.properties.id, '" class="dropdown-content select-dropdown w-100 ').concat(this.properties.isMultiple ? "multiple-select-dropdown" : "", '"></ul>')), this.$materialSelectInitialOption = e.find("option:selected").text() || e.find("option:first").text() || "", this.$nativeSelectChildren = this.$nativeSelect.children("option, optgroup"), this.$materialSelect = $('<input type="text" class="'.concat(this.options.defaultMaterialInput ? "browser-default custom-select multi-bs-select select-dropdown form-control" : "select-dropdown form-control", '" ').concat(!this.options.validate && 'readonly="true"', ' required="').concat(this.options.validate ? "true" : "false", '" ').concat(this.$nativeSelect.is(" :disabled") ? "disabled" : "", ' data-activates="select-options-').concat(this.properties.id, '" value=""/>')), this.$dropdownIcon = this.options.defaultMaterialInput ? "" : $('<span class="caret">&#9660;</span>'), this.$searchInput = null, this.$noSearchResultsInfo = $("<li><span><i>".concat(this.options.labels.noSearchResults, "</i></span></li>")), this.$toggleAll = $('<li class="select-toggle-all"><span><input type="checkbox" class="form-check-input"><label>'.concat(this.options.labels.selectAll, "</label></span></li>")), this.$addOptionBtn = $('<i class="select-add-option fas fa-plus"></i>'), this.$mainLabel = this._jQueryFallback(this.$nativeSelect.next("label.mdb-main-label"), $("label[for='".concat(this.properties.id, "']"))), this.$customTemplateParts = this._jQueryFallback(this.$nativeSelect.nextUntil("select", ".mdb-select-template-part"), $("[data-mdb-select-template-part-for='".concat(this.properties.id, "']"))), this.$btnSave = this.$nativeSelect.nextUntil("select", ".btn-save"), this.$btnReset = $('<span class="reset-select-btn">&times;</span>'), this.$validFeedback = $('<div class="valid-feedback">'.concat(this.options.labels.validFeedback, "</div>")), this.$invalidFeedback = $('<div class="invalid-feedback">'.concat(this.options.labels.invalidFeedback, "</div>")), this.keyCodes = { tab: 9, enter: 13, shift: 16, alt: 18, esc: 27, space: 32, end: 35, home: 36, arrowUp: 38, arrowDown: 40 }, this.renderer = new i.a(this), this.dropdown = null } var e, n, r; return e = t, r = [{ key: "isMobileDevice", get: function () { return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) } }], (n = [{ key: "destroy", value: function () { this.renderer.destroy() } }, { key: "render", value: function () { this.renderer.render() } }, { key: "selectPreselectedOptions", value: function (t) { var e = this; if (this.isMultiple) this.$nativeSelect.find("option:selected:not(:disabled)").each((function (n, i) { var o = i.index; t(o), e._isPlaceholderPresent() && (o -= 1), e.$materialOptionsList.find("li:not(.optgroup):not(.select-toggle-all)").eq(o).addClass("selected active").find(":checkbox").prop("checked", !0) })); else { var n = this.$nativeSelect.find("option:selected").first(), i = this.$nativeSelect.find("option").index(n.get(0)); n.get(0) && "disabled" !== n.attr("disabled") && t(i) } } }, { key: "bindResetButtonClick", value: function (t) { var e = this; this.$btnReset.on("click", (function (n) { n.preventDefault(), e.$nativeSelect.find('option[value=""][selected][disabled][data-mdb-novalue]').length || (e._toggleResetButton(!0), e.$materialSelect.val(e.isMultiple ? [] : ""), e.$materialSelect.trigger("close"), e.$mainLabel.removeClass("active"), e.$materialOptionsList.find("li.active, li.selected").removeClass("active").removeClass("selected"), e.$materialOptionsList.find('li[aria-selected="true"]').attr("aria-selected", "false"), e.$materialOptionsList.find('input[type="checkbox"]').prop("checked", !1), t()) })) } }, { key: "bindAddNewOptionClick", value: function () { this.$addOptionBtn.on("click", this.renderer.addNewOption.bind(this.renderer)) } }, { key: "bindMaterialSelectFocus", value: function () { var t = this; this.$materialSelect.on("focus", (function (e) { var n = $(e.target); if (n.parent().addClass("active"), $("ul.select-dropdown").not(t.$materialOptionsList.get(0)).is(":visible") && $("input.select-dropdown").trigger("close"), t.$mainLabel.addClass("active"), !t.$materialOptionsList.is(":visible")) { var i = n.val(), o = t.$materialOptionsList.find("li").filter((function () { return $(this).text().toLowerCase() === i.toLowerCase() })).get(0); t._selectSingleOption(o) } t.isMultiple || t.$mainLabel.addClass("active") })) } }, { key: "bindMaterialSelectClick", value: function () { var t = this; this.$materialSelect.on("mousedown", (function (t) { 3 === t.which && t.preventDefault() })), this.$materialSelect.on("click", (function (e) { e.stopPropagation(), t.$mainLabel.addClass("active"), t.isSearchable && t.$searchInput.find(".search").focus(), t._updateDropdownScrollTop() })) } }, { key: "bindMaterialSelectBlur", value: function () { var t = this; this.$materialSelect.on("blur", (function (e) { var n = $(e.target); n.parent().removeClass("active"), t.isMultiple || t.isSearchable || n.trigger("close"), t.$materialOptionsList.find("li.selected").removeClass("selected") })) } }, { key: "bindMaterialOptionsListTouchstart", value: function () { this.$materialOptionsList.on("touchstart", (function (t) { return t.stopPropagation() })) } }, { key: "bindMaterialSelectKeydown", value: function () { var t = this; this.$materialSelect.on("keydown", (function (e) { if (e.which !== t.keyCodes.tab) { e.preventDefault(); var n = $(e.target), i = e.which === t.keyCodes.arrowUp, o = e.which === t.keyCodes.arrowDown, r = e.which === t.keyCodes.enter, l = e.which === t.keyCodes.esc, a = o && e.altKey, s = i && e.altKey, c = e.which === t.keyCodes.home, u = e.which === t.keyCodes.end, d = e.which === t.keyCodes.space, h = t.$materialOptionsList.is(":visible"); switch (!0) { case !h && (r || a): case t.isMultiple && !h && (o || i): return n.trigger("open"), t._updateDropdownScrollTop(); case h && (l || s): return n.trigger("close"); case !h && (o || i): return t._handleClosedArrowUpDownKey(e.which); case h && (o || i): return t._handleArrowUpDownKey(e.which); case h && c: return t._handleHomeKey(); case h && u: return t._handleEndKey(); case h && (r || d): return t._handleEnterKey(n); default: return t._handleLetterKey(e) } } })) } }, { key: "bindMaterialSelectDropdownToggle", value: function () { var t = this; this.$materialSelect.on("open", (function () { return t.$materialSelect.attr("aria-expanded", "true") })), this.$materialSelect.on("close", (function () { return t.$materialSelect.attr("aria-expanded", "false") })) } }, { key: "bindToggleAllClick", value: function (t) { var e = this; this.$toggleAll.on("click", (function (n) { var i = $(e.$toggleAll).find('input[type="checkbox"]').first(), o = Boolean($(i).prop("checked")), r = !o; $(i).prop("checked", !o), e.$materialOptionsList.find("li:not(.optgroup):not(.select-toggle-all)").each((function (n, i) { var o = $(i), l = o.find('input[type="checkbox"]'); o.attr("aria-selected", r), r && l.is(":checked") || !r && !l.is(":checked") || $(i).is(":hidden") || $(i).is(".disabled") || (l.prop("checked", r), e.$nativeSelect.find("option").eq(n).prop("selected", r), o.toggleClass("active"), e._selectOption(i), t(n)) })), e.$nativeSelect.data("stop-refresh", !0), e._triggerChangeOnNativeSelect(), e.$nativeSelect.removeData("stop-refresh"), n.stopPropagation() })) } }, { key: "bindMaterialOptionMousedown", value: function () { var t = this; this.$materialOptionsList.on("mousedown", (function (e) { var n = e.target; $(".modal-content").find(t.$materialOptionsList).length && n.scrollHeight > n.offsetHeight && e.preventDefault() })) } }, { key: "bindMaterialOptionClick", value: function (t) { var e = this; this.$materialOptionsList.find("li:not(.optgroup)").not(this.$toggleAll).each((function (n, i) { $(i).on("click", (function (o) { o.stopPropagation(), e._toggleResetButton(!1); var r = $(i); if (!r.hasClass("disabled") && !r.hasClass("optgroup")) { var l = !0; if (e.isMultiple) { r.find('input[type="checkbox"]').prop("checked", (function (t, e) { return !e })); var a = Boolean(e.$nativeSelect.find("optgroup").length), s = e._isToggleAllPresent() && !e._isPlaceholderPresent() ? r.index() - 1 : r.index(); switch (!0) { case e.isSearchable && a: l = t(s - r.prevAll(".optgroup").length - 1); break; case e.isSearchable: l = t(s - 1); break; case a: l = t(s - r.prevAll(".optgroup").length); break; default: l = t(s) }e._isToggleAllPresent() && e._updateToggleAllOption(), e.$materialSelect.trigger("focus") } else { e.$materialOptionsList.find("li").removeClass("active").attr("aria-selected", "false"); var c = r.children().last()[0].childNodes[0]; e.$materialSelect.val($(c).text().replace(/ +/g, " ").trim()), e.$materialSelect.trigger("close") } r.toggleClass("active"); var u = r.attr("aria-selected"); r.attr("aria-selected", "true" === u ? "false" : "true"), e._selectSingleOption(r), e.$nativeSelect.data("stop-refresh", !0); var d = e._isPlaceholderPresent() ? n + 1 : n; e.$nativeSelect.find("option").eq(d).prop("selected", l), e.$nativeSelect.removeData("stop-refresh"), e._triggerChangeOnNativeSelect(), e.$materialSelect.val() && e.$mainLabel.addClass("active"), r.hasClass("li-added") && e.renderer.buildSingleOption(r, "") } })) })) } }, { key: "bindSingleMaterialOptionClick", value: function () { var t = this; this.$materialOptionsList.find("li").on("click", (function () { t.$materialSelect.trigger("close") })) } }, { key: "bindSearchInputKeyup", value: function () { var t = this; this.$searchInput.find(".search").on("keyup", (function (e) { var n = $(e.target), i = e.which === t.keyCodes.tab, o = e.which === t.keyCodes.esc, r = e.which === t.keyCodes.enter, l = r && e.shiftKey, a = e.which === t.keyCodes.arrowUp; if (e.which === t.keyCodes.arrowDown || i || o || a) return t.$materialSelect.focus(), void t._handleArrowUpDownKey(e.which); var s = n.closest("ul"), c = n.val(), u = s.find("li span.filtrable"), d = !1; if (u.each((function () { var t = $(this); if ("string" == typeof this.outerHTML) { var e = this.textContent.toLowerCase(); e.includes(c.toLowerCase()) ? t.show().parent().show() : t.hide().parent().hide(), e.trim() === c.toLowerCase() && (d = !0) } })), r) return t.isEditable && !d ? void t.renderer.addNewOption() : (l && t._handleEnterWithShiftKey(n), void t.$materialSelect.trigger("open")); t.$addOptionBtn[c && t.isEditable && !d ? "show" : "hide"](), 0 !== u.filter((function (t, e) { return $(e).is(":visible") && !$(e).parent().hasClass("disabled") })).length ? (t.$toggleAll.show(), t.$materialOptionsList.find(t.$noSearchResultsInfo).remove(), t._updateToggleAllOption()) : (t.$toggleAll.hide(), t.$materialOptionsList.append(t.$noSearchResultsInfo)), t.dropdown.updatePosition(t.$materialSelect, t.$materialOptionsList) })) } }, { key: "bindHtmlClick", value: function () { var t = this; $("html").on("click", (function (e) { $(e.target).closest("#select-options-".concat(t.properties.id)).length || $(e.target).hasClass("mdb-select") || !$("#select-options-".concat(t.properties.id)).hasClass("active") || (t.$materialSelect.trigger("close"), t.$materialSelect.val() || t.options.placeholder || t.$mainLabel.removeClass("active")), t.isSearchable && null !== t.$searchInput && t.$materialOptionsList.hasClass("active") && t.$materialOptionsList.find(".search-wrap input.search").focus() })) } }, { key: "bindMobileDevicesMousedown", value: function () { $("select").siblings("input.select-dropdown", "input.multi-bs-select").on("mousedown", (function (e) { t.isMobileDevice && (e.clientX >= e.target.clientWidth || e.clientY >= e.target.clientHeight) && e.preventDefault() })) } }, { key: "bindSaveBtnClick", value: function () { var t = this; this.$btnSave.on("click", (function () { t.$materialSelect.trigger("close") })) } }, { key: "_toggleResetButton", value: function (t) { var e = this.$nativeSelect.data("stop-refresh"); this.$nativeSelect.attr("data-stop-refresh", "true"), t ? this.$nativeSelect.prepend('<option value="" selected disabled data-mdb-novalue></option>') : this.$nativeSelect.find("option[data-mdb-novalue]").remove(), this.$nativeSelect.attr("data-stop-refresh", e), this.$btnReset[t ? "hide" : "show"]() } }, { key: "_isToggleAllPresent", value: function () { return this.$materialOptionsList.find(this.$toggleAll).length } }, { key: "_isPlaceholderPresent", value: function () { return !(!this.$nativeSelect.attr("data-placeholder") && !this.options.placeholder) } }, { key: "_updateToggleAllOption", value: function () { var t = this.$materialOptionsList.find("li").not(".select-toggle-all, .disabled, :hidden").find("[type=checkbox]"), e = t.filter(":checked"), n = this.$toggleAll.find("[type=checkbox]").is(":checked"); e.length !== t.length || n ? e.length < t.length && n && this.$toggleAll.find("[type=checkbox]").prop("checked", !1) : this.$toggleAll.find("[type=checkbox]").prop("checked", !0) } }, { key: "_handleEnterWithShiftKey", value: function (t) { this.isMultiple ? this.$toggleAll.trigger("click") : this._handleEnterKey(t) } }, { key: "_handleEnterKey", value: function (t) { this.$materialOptionsList.find("li.selected:not(.disabled)").trigger("click").addClass("active"), this._removeKeyboardActiveClass(), this.isMultiple || t.trigger("close") } }, { key: "_handleArrowUpDownKey", value: function (t) { var e = this._getArrowMatchedActiveOptions(t, !1), n = e.$matchedMaterialOption, i = e.$activeOption; this._selectSingleOption(n), this._removeKeyboardActiveClass(), n.find("input").is(":checked") || n.removeClass(this.options.keyboardActiveClass), i.hasClass("selected") || i.find("input").is(":checked") || !this.isMultiple || i.removeClass("active", this.options.keyboardActiveClass), n.addClass(this.options.keyboardActiveClass), n.position() && this.$materialOptionsList.scrollTop(this.$materialOptionsList.scrollTop() + n.position().top) } }, { key: "_handleClosedArrowUpDownKey", value: function (t) { var e = this._getArrowMatchedActiveOptions(t, !0).$matchedMaterialOption; e.trigger("click").addClass("active"), this._updateDropdownScrollTop(), this._selectSingleOption(e) } }, { key: "_getArrowMatchedActiveOptions", value: function (t, e) { var n = this, i = e ? "" : ":visible", o = this.$materialOptionsList.find("li".concat(i)).not(".disabled, .select-toggle-all"), r = o.first(), l = o.last(), a = this.$materialOptionsList.find("li.selected").length > 0, s = null, c = null; if (t === this.keyCodes.arrowUp) { var u = a ? this.$materialOptionsList.find("li.selected").first() : l, d = u.prev("li".concat(i, ":not(.disabled, .select-toggle-all)")); c = d, o.each((function (t, e) { $(e).hasClass(n.options.keyboardActiveClass) && (d = o.eq(t - 1), c = o.eq(t)) })), s = u.is(r) || !a ? u : d } else { var h = a ? this.$materialOptionsList.find("li.selected").first() : r, f = h.next("li".concat(i, ":not(.disabled, .select-toggle-all)")); c = f, o.each((function (t, e) { $(e).hasClass(n.options.keyboardActiveClass) && (f = o.eq(t + 1), c = o.eq(t)) })), s = h.is(l) || !a ? h : f } return { $matchedMaterialOption: s, $activeOption: c } } }, { key: "_handleHomeKey", value: function () { this._selectBoundaryOption("first") } }, { key: "_handleEndKey", value: function () { this._selectBoundaryOption("last") } }, { key: "_selectBoundaryOption", value: function () { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "", e = this.$materialOptionsList.find("li:visible").not(".disabled, .select-toggle-all")[t](); this._selectSingleOption(e), this._removeKeyboardActiveClass(), e.find("input").is(":checked") || e.removeClass(this.options.keyboardActiveClass), e.addClass(this.options.keyboardActiveClass), e.position() && this.$materialOptionsList.scrollTop(this.$materialOptionsList.scrollTop() + e.position().top) } }, { key: "_handleEscKey", value: function (t) { this._removeKeyboardActiveClass(), t.trigger("close") } }, { key: "_handleLetterKey", value: function (t) { var e = this; if (this._removeKeyboardActiveClass(), this.isSearchable) { var n = t.which > 46 && t.which < 91, i = t.which > 93 && t.which < 106, o = 8 === t.which; (n || i) && this.$searchInput.find("input").focus(), o && this.$searchInput.find("input").val("").focus() } else { var r = "", l = String.fromCharCode(t.which).toLowerCase(), a = Object.keys(this.keyCodes).map((function (t) { return e.keyCodes[t] })); if (l && -1 === a.indexOf(t.which)) { r += l; var s = this.$materialOptionsList.find("li").filter((function (t, e) { return $(e).text().toLowerCase().includes(r) })).first(); this.isMultiple || this.$materialOptionsList.find("li").removeClass("active"), s.addClass("active"), this._selectSingleOption(s), this._updateDropdownScrollTop() } } } }, { key: "_removeKeyboardActiveClass", value: function () { this.$materialOptionsList.find("li").removeClass(this.options.keyboardActiveClass) } }, { key: "_triggerChangeOnNativeSelect", value: function () { var t = new KeyboardEvent("change", { bubbles: !0, cancelable: !0 }); this.$nativeSelect.get(0).dispatchEvent(t) } }, { key: "_selectSingleOption", value: function (t) { this.$materialOptionsList.find("li.selected").removeClass("selected"), this._selectOption(t) } }, { key: "_updateDropdownScrollTop", value: function () { var t = this.$materialOptionsList.find("li.active").not(".disabled").first(); t.length ? this.$materialOptionsList.scrollTo(t) : this.$materialOptionsList.scrollTop(0) } }, { key: "_selectOption", value: function (t) { $(t).addClass("selected") } }, { key: "_copyOptions", value: function (t) { return $.extend({}, t) } }, { key: "_jQueryFallback", value: function () { for (var t = null, e = 0; e < arguments.length; e++)if ((t = e < 0 || arguments.length <= e ? void 0 : arguments[e]).length) return t; return t } }, { key: "isMultiple", get: function () { return this.properties.isMultiple } }, { key: "isSearchable", get: function () { return this.properties.isSearchable } }, { key: "isRequired", get: function () { return this.properties.isRequired } }, { key: "isEditable", get: function () { return this.properties.isEditable } }, { key: "isDisabled", get: function () { return this.$nativeSelect.is(":disabled") } }]) && o(e.prototype, n), r && o(e, r), t }() }, function (t, e, n) { var i = n(99), o = n(25), r = n(117), l = n(22).f; t.exports = function (t) { var e = i.Symbol || (i.Symbol = {}); o(e, t) || l(e, t, { value: r.f(t) }) } }, function (t, e, n) { "use strict"; var i = n(20), o = n(50), r = n(5); t.exports = function (t) { for (var e = i(this), n = r(e.length), l = arguments.length, a = o(l > 1 ? arguments[1] : void 0, n), s = l > 2 ? arguments[2] : void 0, c = void 0 === s ? n : o(s, n); c > a;)e[a++] = t; return e } }, function (t, e, n) { "use strict"; var i = n(0), o = n(72).includes, r = n(63); i({ target: "Array", proto: !0 }, { includes: function (t) { return o(this, t, arguments.length > 1 ? arguments[1] : void 0) } }), r("includes") }, function (t, e, n) { "use strict"; var i = n(0), o = n(216), r = n(39); i({ target: "String", proto: !0, forced: !n(217)("includes") }, { includes: function (t) { return !!~String(r(this)).indexOf(o(t), arguments.length > 1 ? arguments[1] : void 0) } }) }, function (t, e, n) { "use strict"; var i = n(0), o = n(92).left; i({ target: "Array", proto: !0, forced: n(45)("reduce") }, { reduce: function (t) { return o(this, t, arguments.length, arguments.length > 1 ? arguments[1] : void 0) } }) }, function (t, e, n) { var i = n(9), o = n(2), r = n(98); t.exports = !i && !o((function () { return 7 != Object.defineProperty(r("div"), "a", { get: function () { return 7 } }).a })) }, function (t, e, n) { var i = n(65); t.exports = i("native-function-to-string", Function.toString) }, function (t, e, n) { var i = n(25), o = n(124), r = n(47), l = n(22); t.exports = function (t, e) { for (var n = o(e), a = l.f, s = r.f, c = 0; c < n.length; c++) { var u = n[c]; i(t, u) || a(t, u, s(e, u)) } } }, function (t, e, n) { var i = n(25), o = n(33), r = n(72).indexOf, l = n(76); t.exports = function (t, e) { var n, a = o(t), s = 0, c = []; for (n in a) !i(l, n) && i(a, n) && c.push(n); for (; e.length > s;)i(a, n = e[s++]) && (~r(c, n) || c.push(n)); return c } }, function (t, e, n) { var i = n(2); t.exports = !!Object.getOwnPropertySymbols && !i((function () { return !String(Symbol()) })) }, function (t, e, n) { e.f = n(4) }, function (t, e, n) { "use strict"; var i = n(0), o = n(145), r = n(88), l = n(74), a = n(58), s = n(26), c = n(34), u = n(4), d = n(69), h = n(67), f = n(119), p = f.IteratorPrototype, m = f.BUGGY_SAFARI_ITERATORS, g = u("iterator"), v = function () { return this }; t.exports = function (t, e, n, u, f, y, b) { o(n, e, u); var w, x, k, S = function (t) { if (t === f && E) return E; if (!m && t in _) return _[t]; switch (t) { case "keys": case "values": case "entries": return function () { return new n(this, t) } }return function () { return new n(this) } }, C = e + " Iterator", M = !1, _ = t.prototype, T = _[g] || _["@@iterator"] || f && _[f], E = !m && T || S(f), A = "Array" == e && _.entries || T; if (A && (w = r(A.call(new t)), p !== Object.prototype && w.next && (d || r(w) === p || (l ? l(w, p) : "function" != typeof w[g] && s(w, g, v)), a(w, C, !0, !0), d && (h[C] = v))), "values" == f && T && "values" !== T.name && (M = !0, E = function () { return T.call(this) }), d && !b || _[g] === E || s(_, g, E), h[e] = E, f) if (x = { values: S("values"), keys: y ? E : S("keys"), entries: S("entries") }, b) for (k in x) !m && !M && k in _ || c(_, k, x[k]); else i({ target: e, proto: !0, forced: m || M }, x); return x } }, function (t, e, n) { "use strict"; var i, o, r, l = n(88), a = n(26), s = n(25), c = n(4), u = n(69), d = c("iterator"), h = !1;[].keys && ("next" in (r = [].keys()) ? (o = l(l(r))) !== Object.prototype && (i = o) : h = !0), null == i && (i = {}), u || s(i, d) || a(i, d, (function () { return this })), t.exports = { IteratorPrototype: i, BUGGY_SAFARI_ITERATORS: h } }, function (t, e, n) { var i = n(15), o = n(74); t.exports = function (t, e, n) { var r, l; return o && "function" == typeof (r = e.constructor) && r !== n && i(l = r.prototype) && l !== n.prototype && o(t, l), t } }, function (t, e, n) { var i = n(37), o = n(39), r = function (t) { return function (e, n) { var r, l, a = String(o(e)), s = i(n), c = a.length; return s < 0 || s >= c ? t ? "" : void 0 : (r = a.charCodeAt(s)) < 55296 || r > 56319 || s + 1 === c || (l = a.charCodeAt(s + 1)) < 56320 || l > 57343 ? t ? a.charAt(s) : r : t ? a.slice(s, s + 2) : l - 56320 + (r - 55296 << 10) + 65536 } }; t.exports = { codeAt: r(!1), charAt: r(!0) } }, function (t, e) { t.exports = { CSSRuleList: 0, CSSStyleDeclaration: 0, CSSValueList: 0, ClientRectList: 0, DOMRectList: 0, DOMStringList: 0, DOMTokenList: 1, DataTransferItemList: 0, FileList: 0, HTMLAllCollection: 0, HTMLCollection: 0, HTMLFormElement: 0, HTMLSelectElement: 0, MediaList: 0, MimeTypeArray: 0, NamedNodeMap: 0, NodeList: 1, PaintRequestList: 0, Plugin: 0, PluginArray: 0, SVGLengthList: 0, SVGNumberList: 0, SVGPathSegList: 0, SVGPointList: 0, SVGStringList: 0, SVGTransformList: 0, SourceBufferList: 0, StyleSheetList: 0, TextTrackCueList: 0, TextTrackList: 0, TouchList: 0 } }, function (t, e, n) { "use strict"; var i = n(21).forEach, o = n(45); t.exports = o("forEach") ? function (t) { return i(this, t, arguments.length > 1 ? arguments[1] : void 0) } : [].forEach }, function (t, e, n) { var i = n(85), o = n(48), r = n(100), l = n(11); t.exports = i("Reflect", "ownKeys") || function (t) { var e = o.f(l(t)), n = r.f; return n ? e.concat(n(t)) : e } }, function (t, e, n) { var i = n(85); t.exports = i("document", "documentElement") }, function (t, e, n) { var i = n(2); t.exports = !i((function () { function t() { } return t.prototype.constructor = null, Object.getPrototypeOf(new t) !== t.prototype })) }, function (t, e, n) { var i = n(4), o = n(67), r = i("iterator"), l = Array.prototype; t.exports = function (t) { return void 0 !== t && (o.Array === t || l[r] === t) } }, function (t, e, n) { var i = n(89), o = n(67), r = n(4)("iterator"); t.exports = function (t) { if (null != t) return t[r] || t["@@iterator"] || o[i(t)] } }, function (t, e, n) { var i = n(4)("iterator"), o = !1; try { var r = 0, l = { next: function () { return { done: !!r++ } }, return: function () { o = !0 } }; l[i] = function () { return this }, Array.from(l, (function () { throw 2 })) } catch (t) { } t.exports = function (t, e) { if (!e && !o) return !1; var n = !1; try { var r = {}; r[i] = function () { return { next: function () { return { done: n = !0 } } } }, t(r) } catch (t) { } return n } }, function (t, e, n) { var i = n(0), o = n(2), r = n(20), l = n(88), a = n(126); i({ target: "Object", stat: !0, forced: o((function () { l(1) })), sham: !a }, { getPrototypeOf: function (t) { return l(r(t)) } }) }, function (t, e, n) { var i = n(34); t.exports = function (t, e, n) { for (var o in e) i(t, o, e[o], n); return t } }, function (t, e, n) { var i, o, r, l = n(1), a = n(2), s = n(41), c = n(73), u = n(125), d = n(98), h = n(104), f = l.location, p = l.setImmediate, m = l.clearImmediate, g = l.process, v = l.MessageChannel, y = l.Dispatch, b = 0, w = {}, x = function (t) { if (w.hasOwnProperty(t)) { var e = w[t]; delete w[t], e() } }, k = function (t) { return function () { x(t) } }, S = function (t) { x(t.data) }, C = function (t) { l.postMessage(t + "", f.protocol + "//" + f.host) }; p && m || (p = function (t) { for (var e = [], n = 1; arguments.length > n;)e.push(arguments[n++]); return w[++b] = function () { ("function" == typeof t ? t : Function(t)).apply(void 0, e) }, i(b), b }, m = function (t) { delete w[t] }, "process" == s(g) ? i = function (t) { g.nextTick(k(t)) } : y && y.now ? i = function (t) { y.now(k(t)) } : v && !/(iphone|ipod|ipad).*applewebkit/i.test(h) ? (r = (o = new v).port2, o.port1.onmessage = S, i = c(r.postMessage, r, 1)) : !l.addEventListener || "function" != typeof postMessage || l.importScripts || a(C) ? i = "onreadystatechange" in d("script") ? function (t) { u.appendChild(d("script")).onreadystatechange = function () { u.removeChild(this), x(t) } } : function (t) { setTimeout(k(t), 0) } : (i = C, l.addEventListener("message", S, !1))), t.exports = { set: p, clear: m } }, function (t, e, n) { "use strict"; var i = n(57), o = function (t) { var e, n; this.promise = new t((function (t, i) { if (void 0 !== e || void 0 !== n) throw TypeError("Bad Promise constructor"); e = t, n = i })), this.resolve = i(e), this.reject = i(n) }; t.exports.f = function (t) { return new o(t) } }, function (t, e, n) { "use strict"; var i = n(1), o = n(9), r = n(3).NATIVE_ARRAY_BUFFER, l = n(26), a = n(131), s = n(2), c = n(103), u = n(37), d = n(5), h = n(135), f = n(48).f, p = n(22).f, m = n(108), g = n(58), v = n(49), y = v.get, b = v.set, w = i.ArrayBuffer, x = w, k = i.DataView, S = i.Math, C = i.RangeError, M = S.abs, _ = S.pow, T = S.floor, E = S.log, A = S.LN2, O = function (t, e, n) { var i, o, r, l = new Array(n), a = 8 * n - e - 1, s = (1 << a) - 1, c = s >> 1, u = 23 === e ? _(2, -24) - _(2, -77) : 0, d = t < 0 || 0 === t && 1 / t < 0 ? 1 : 0, h = 0; for ((t = M(t)) != t || t === 1 / 0 ? (o = t != t ? 1 : 0, i = s) : (i = T(E(t) / A), t * (r = _(2, -i)) < 1 && (i--, r *= 2), (t += i + c >= 1 ? u / r : u * _(2, 1 - c)) * r >= 2 && (i++, r /= 2), i + c >= s ? (o = 0, i = s) : i + c >= 1 ? (o = (t * r - 1) * _(2, e), i += c) : (o = t * _(2, c - 1) * _(2, e), i = 0)); e >= 8; l[h++] = 255 & o, o /= 256, e -= 8); for (i = i << e | o, a += e; a > 0; l[h++] = 255 & i, i /= 256, a -= 8); return l[--h] |= 128 * d, l }, P = function (t, e) { var n, i = t.length, o = 8 * i - e - 1, r = (1 << o) - 1, l = r >> 1, a = o - 7, s = i - 1, c = t[s--], u = 127 & c; for (c >>= 7; a > 0; u = 256 * u + t[s], s--, a -= 8); for (n = u & (1 << -a) - 1, u >>= -a, a += e; a > 0; n = 256 * n + t[s], s--, a -= 8); if (0 === u) u = 1 - l; else { if (u === r) return n ? NaN : c ? -1 / 0 : 1 / 0; n += _(2, e), u -= l } return (c ? -1 : 1) * n * _(2, u - e) }, I = function (t) { return t[3] << 24 | t[2] << 16 | t[1] << 8 | t[0] }, D = function (t) { return [255 & t] }, L = function (t) { return [255 & t, t >> 8 & 255] }, $ = function (t) { return [255 & t, t >> 8 & 255, t >> 16 & 255, t >> 24 & 255] }, N = function (t) { return O(t, 23, 4) }, R = function (t) { return O(t, 52, 8) }, j = function (t, e) { p(t.prototype, e, { get: function () { return y(this)[e] } }) }, F = function (t, e, n, i) { var o = h(+n), r = y(t); if (o + e > r.byteLength) throw C("Wrong index"); var l = y(r.buffer).bytes, a = o + r.byteOffset, s = l.slice(a, a + e); return i ? s : s.reverse() }, V = function (t, e, n, i, o, r) { var l = h(+n), a = y(t); if (l + e > a.byteLength) throw C("Wrong index"); for (var s = y(a.buffer).bytes, c = l + a.byteOffset, u = i(+o), d = 0; d < e; d++)s[c + d] = u[r ? d : e - d - 1] }; if (r) { if (!s((function () { w(1) })) || !s((function () { new w(-1) })) || s((function () { return new w, new w(1.5), new w(NaN), "ArrayBuffer" != w.name }))) { for (var H, W = (x = function (t) { return c(this, x), new w(h(t)) }).prototype = w.prototype, B = f(w), z = 0; B.length > z;)(H = B[z++]) in x || l(x, H, w[H]); W.constructor = x } var q = new k(new x(2)), Y = k.prototype.setInt8; q.setInt8(0, 2147483648), q.setInt8(1, 2147483649), !q.getInt8(0) && q.getInt8(1) || a(k.prototype, { setInt8: function (t, e) { Y.call(this, t, e << 24 >> 24) }, setUint8: function (t, e) { Y.call(this, t, e << 24 >> 24) } }, { unsafe: !0 }) } else x = function (t) { c(this, x, "ArrayBuffer"); var e = h(t); b(this, { bytes: m.call(new Array(e), 0), byteLength: e }), o || (this.byteLength = e) }, k = function (t, e, n) { c(this, k, "DataView"), c(t, x, "DataView"); var i = y(t).byteLength, r = u(e); if (r < 0 || r > i) throw C("Wrong offset"); if (r + (n = void 0 === n ? i - r : d(n)) > i) throw C("Wrong length"); b(this, { buffer: t, byteLength: n, byteOffset: r }), o || (this.buffer = t, this.byteLength = n, this.byteOffset = r) }, o && (j(x, "byteLength"), j(k, "buffer"), j(k, "byteLength"), j(k, "byteOffset")), a(k.prototype, { getInt8: function (t) { return F(this, 1, t)[0] << 24 >> 24 }, getUint8: function (t) { return F(this, 1, t)[0] }, getInt16: function (t) { var e = F(this, 2, t, arguments.length > 1 ? arguments[1] : void 0); return (e[1] << 8 | e[0]) << 16 >> 16 }, getUint16: function (t) { var e = F(this, 2, t, arguments.length > 1 ? arguments[1] : void 0); return e[1] << 8 | e[0] }, getInt32: function (t) { return I(F(this, 4, t, arguments.length > 1 ? arguments[1] : void 0)) }, getUint32: function (t) { return I(F(this, 4, t, arguments.length > 1 ? arguments[1] : void 0)) >>> 0 }, getFloat32: function (t) { return P(F(this, 4, t, arguments.length > 1 ? arguments[1] : void 0), 23) }, getFloat64: function (t) { return P(F(this, 8, t, arguments.length > 1 ? arguments[1] : void 0), 52) }, setInt8: function (t, e) { V(this, 1, t, D, e) }, setUint8: function (t, e) { V(this, 1, t, D, e) }, setInt16: function (t, e) { V(this, 2, t, L, e, arguments.length > 2 ? arguments[2] : void 0) }, setUint16: function (t, e) { V(this, 2, t, L, e, arguments.length > 2 ? arguments[2] : void 0) }, setInt32: function (t, e) { V(this, 4, t, $, e, arguments.length > 2 ? arguments[2] : void 0) }, setUint32: function (t, e) { V(this, 4, t, $, e, arguments.length > 2 ? arguments[2] : void 0) }, setFloat32: function (t, e) { V(this, 4, t, N, e, arguments.length > 2 ? arguments[2] : void 0) }, setFloat64: function (t, e) { V(this, 8, t, R, e, arguments.length > 2 ? arguments[2] : void 0) } }); g(x, "ArrayBuffer"), g(k, "DataView"), t.exports = { ArrayBuffer: x, DataView: k } }, function (t, e, n) { var i = n(37), o = n(5); t.exports = function (t) { if (void 0 === t) return 0; var e = i(t), n = o(e); if (e !== n) throw RangeError("Wrong length or index"); return n } }, function (t, e, n) { var i = n(179); t.exports = function (t, e) { var n = i(t); if (n % e) throw RangeError("Wrong offset"); return n } }, function (t, e, n) { "use strict"; var i = n(81), o = n(11), r = n(39), l = n(152), a = n(82); i("search", 1, (function (t, e, n) { return [function (e) { var n = r(this), i = null == e ? void 0 : e[t]; return void 0 !== i ? i.call(e, n) : new RegExp(e)[t](String(n)) }, function (t) { var i = n(e, t, this); if (i.done) return i.value; var r = o(t), s = String(this), c = r.lastIndex; l(c, 0) || (r.lastIndex = 0); var u = a(r, s); return l(r.lastIndex, c) || (r.lastIndex = c), null === u ? -1 : u.index }] })) }, function (t, e, n) { "use strict"; var i = n(0), o = n(21).some; i({ target: "Array", proto: !0, forced: n(45)("some") }, { some: function (t) { return o(this, t, arguments.length > 1 ? arguments[1] : void 0) } }) }, function (t, e, n) { "use strict"; var i = n(33), o = n(37), r = n(5), l = n(45), a = Math.min, s = [].lastIndexOf, c = !!s && 1 / [1].lastIndexOf(1, -0) < 0, u = l("lastIndexOf"); t.exports = c || u ? function (t) { if (c) return s.apply(this, arguments) || 0; var e = i(this), n = r(e.length), l = n - 1; for (arguments.length > 1 && (l = a(l, o(arguments[1]))), l < 0 && (l = n + l); l >= 0; l--)if (l in e && e[l] === t) return l || 0; return -1 } : s }, function (t, e, n) { "use strict"; var i = n(0), o = n(21).findIndex, r = n(63), l = !0; "findIndex" in [] && Array(1).findIndex((function () { l = !1 })), i({ target: "Array", proto: !0, forced: l }, { findIndex: function (t) { return o(this, t, arguments.length > 1 ? arguments[1] : void 0) } }), r("findIndex") }, function (t, e, n) { var i = n(33), o = n(48).f, r = {}.toString, l = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; t.exports.f = function (t) { return l && "[object Window]" == r.call(t) ? function (t) { try { return o(t) } catch (t) { return l.slice() } }(t) : o(i(t)) } }, function (t, e, n) { var i = n(1), o = n(94), r = i["__core-js_shared__"] || o("__core-js_shared__", {}); t.exports = r }, function (t, e, n) { var i = n(1), o = n(113), r = i.WeakMap; t.exports = "function" == typeof r && /native code/.test(o.call(r)) }, function (t, e, n) { var i = n(9), o = n(22), r = n(11), l = n(71); t.exports = i ? Object.defineProperties : function (t, e) { r(t); for (var n, i = l(e), a = i.length, s = 0; a > s;)o.f(t, n = i[s++], e[n]); return t } }, function (t, e, n) { "use strict"; var i = n(119).IteratorPrototype, o = n(70), r = n(55), l = n(58), a = n(67), s = function () { return this }; t.exports = function (t, e, n) { var c = e + " Iterator"; return t.prototype = o(i, { next: r(1, n) }), l(t, c, !1, !0), a[c] = s, t } }, function (t, e, n) { var i = n(15); t.exports = function (t) { if (!i(t) && null !== t) throw TypeError("Can't set " + String(t) + " as a prototype"); return t } }, function (t, e, n) { "use strict"; var i = n(89), o = {}; o[n(4)("toStringTag")] = "z", t.exports = "[object z]" !== String(o) ? function () { return "[object " + i(this) + "]" } : o.toString }, function (t, e, n) { var i = n(1), o = n(78).trim, r = n(79), l = i.parseFloat, a = 1 / l(r + "-0") != -1 / 0; t.exports = a ? function (t) { var e = o(String(t)), n = l(e); return 0 === n && "-" == e.charAt(0) ? -0 : n } : l }, function (t, e, n) { var i = n(1), o = n(78).trim, r = n(79), l = i.parseInt, a = /^[+-]?0[Xx]/, s = 8 !== l(r + "08") || 22 !== l(r + "0x16"); t.exports = s ? function (t, e) { var n = o(String(t)); return l(n, e >>> 0 || (a.test(n) ? 16 : 10)) } : l }, function (t, e, n) { var i = n(2), o = n(79); t.exports = function (t) { return i((function () { return !!o[t]() || "鈥嬄呩爭" != "鈥嬄呩爭"[t]() || o[t].name !== t })) } }, function (t, e, n) { var i = n(11); t.exports = function (t, e, n, o) { try { return o ? e(i(n)[0], n[1]) : e(n) } catch (e) { var r = t.return; throw void 0 !== r && i(r.call(t)), e } } }, function (t, e) { t.exports = Object.is || function (t, e) { return t === e ? 0 !== t || 1 / t == 1 / e : t != t && e != e } }, function (t, e, n) { var i = n(0), o = n(154).values; i({ target: "Object", stat: !0 }, { values: function (t) { return o(t) } }) }, function (t, e, n) { var i = n(9), o = n(71), r = n(33), l = n(83).f, a = function (t) { return function (e) { for (var n, a = r(e), s = o(a), c = s.length, u = 0, d = []; c > u;)n = s[u++], i && !l.call(a, n) || d.push(t ? [n, a[n]] : a[n]); return d } }; t.exports = { entries: a(!0), values: a(!1) } }, function (t, e, n) { n(0)({ target: "Object", stat: !0 }, { setPrototypeOf: n(74) }) }, function (t, e, n) {
"use strict"; (function (t) {
var e, i; n(10), n(16), n(17), n(31), n(36), n(6), n(157), n(12), n(8), n(23), n(32), n(90), n(28), n(60), n(52), n(159), n(13), n(59), n(130), n(7), n(46), n(44), n(62), n(14), n(29), n(18), n(43), n(35), n(30), n(53), n(19); function o(t) { return (o = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*!
* jQuery JavaScript Library v3.6.0
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2021-03-02T17:08Z
*/e = "undefined" != typeof window ? window : void 0, i = function (t, e) {
var i = [], r = Object.getPrototypeOf, l = i.slice, a = i.flat ? function (t) { return i.flat.call(t) } : function (t) { return i.concat.apply([], t) }, s = i.push, c = i.indexOf, u = {}, d = u.toString, h = u.hasOwnProperty, f = h.toString, p = f.call(Object), m = {}, g = function (t) { return "function" == typeof t && "number" != typeof t.nodeType && "function" != typeof t.item }, v = function (t) { return null != t && t === t.window }, y = t.document, b = { type: !0, src: !0, nonce: !0, noModule: !0 }; function w(t, e, n) { var i, o, r = (n = n || y).createElement("script"); if (r.text = t, e) for (i in b) (o = e[i] || e.getAttribute && e.getAttribute(i)) && r.setAttribute(i, o); n.head.appendChild(r).parentNode.removeChild(r) } function x(t) { return null == t ? t + "" : "object" === o(t) || "function" == typeof t ? u[d.call(t)] || "object" : o(t) } var k = function t(e, n) { return new t.fn.init(e, n) }; function S(t) { var e = !!t && "length" in t && t.length, n = x(t); return !g(t) && !v(t) && ("array" === n || 0 === e || "number" == typeof e && e > 0 && e - 1 in t) } k.fn = k.prototype = { jquery: "3.6.0", constructor: k, length: 0, toArray: function () { return l.call(this) }, get: function (t) { return null == t ? l.call(this) : t < 0 ? this[t + this.length] : this[t] }, pushStack: function (t) { var e = k.merge(this.constructor(), t); return e.prevObject = this, e }, each: function (t) { return k.each(this, t) }, map: function (t) { return this.pushStack(k.map(this, (function (e, n) { return t.call(e, n, e) }))) }, slice: function () { return this.pushStack(l.apply(this, arguments)) }, first: function () { return this.eq(0) }, last: function () { return this.eq(-1) }, even: function () { return this.pushStack(k.grep(this, (function (t, e) { return (e + 1) % 2 }))) }, odd: function () { return this.pushStack(k.grep(this, (function (t, e) { return e % 2 }))) }, eq: function (t) { var e = this.length, n = +t + (t < 0 ? e : 0); return this.pushStack(n >= 0 && n < e ? [this[n]] : []) }, end: function () { return this.prevObject || this.constructor() }, push: s, sort: i.sort, splice: i.splice }, k.extend = k.fn.extend = function () { var t, e, n, i, r, l, a = arguments[0] || {}, s = 1, c = arguments.length, u = !1; for ("boolean" == typeof a && (u = a, a = arguments[s] || {}, s++), "object" === o(a) || g(a) || (a = {}), s === c && (a = this, s--); s < c; s++)if (null != (t = arguments[s])) for (e in t) i = t[e], "__proto__" !== e && a !== i && (u && i && (k.isPlainObject(i) || (r = Array.isArray(i))) ? (n = a[e], l = r && !Array.isArray(n) ? [] : r || k.isPlainObject(n) ? n : {}, r = !1, a[e] = k.extend(u, l, i)) : void 0 !== i && (a[e] = i)); return a }, k.extend({ expando: "jQuery" + ("3.6.0" + Math.random()).replace(/\D/g, ""), isReady: !0, error: function (t) { throw new Error(t) }, noop: function () { }, isPlainObject: function (t) { var e, n; return !(!t || "[object Object]" !== d.call(t) || (e = r(t)) && ("function" != typeof (n = h.call(e, "constructor") && e.constructor) || f.call(n) !== p)) }, isEmptyObject: function (t) { var e; for (e in t) return !1; return !0 }, globalEval: function (t, e, n) { w(t, { nonce: e && e.nonce }, n) }, each: function (t, e) { var n, i = 0; if (S(t)) for (n = t.length; i < n && !1 !== e.call(t[i], i, t[i]); i++); else for (i in t) if (!1 === e.call(t[i], i, t[i])) break; return t }, makeArray: function (t, e) { var n = e || []; return null != t && (S(Object(t)) ? k.merge(n, "string" == typeof t ? [t] : t) : s.call(n, t)), n }, inArray: function (t, e, n) { return null == e ? -1 : c.call(e, t, n) }, merge: function (t, e) { for (var n = +e.length, i = 0, o = t.length; i < n; i++)t[o++] = e[i]; return t.length = o, t }, grep: function (t, e, n) { for (var i = [], o = 0, r = t.length, l = !n; o < r; o++)!e(t[o], o) !== l && i.push(t[o]); return i }, map: function (t, e, n) { var i, o, r = 0, l = []; if (S(t)) for (i = t.length; r < i; r++)null != (o = e(t[r], r, n)) && l.push(o); else for (r in t) null != (o = e(t[r], r, n)) && l.push(o); return a(l) }, guid: 1, support: m }), "function" == typeof Symbol && (k.fn[Symbol.iterator] = i[Symbol.iterator]), k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), (function (t, e) { u["[object " + e + "]"] = e.toLowerCase() })); var C =
/*!
* Sizzle CSS Selector Engine v2.3.6
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2021-02-16
*/
function (t) { var e, n, i, o, r, l, a, s, c, u, d, h, f, p, m, g, v, y, b, w = "sizzle" + 1 * new Date, x = t.document, k = 0, S = 0, C = st(), M = st(), _ = st(), T = st(), E = function (t, e) { return t === e && (d = !0), 0 }, A = {}.hasOwnProperty, O = [], P = O.pop, I = O.push, D = O.push, L = O.slice, $ = function (t, e) { for (var n = 0, i = t.length; n < i; n++)if (t[n] === e) return n; return -1 }, N = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", R = "[\\x20\\t\\r\\n\\f]", j = "(?:\\\\[\\da-fA-F]{1,6}" + R + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", F = "\\[" + R + "*(" + j + ")(?:" + R + "*([*^$|!~]?=)" + R + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + j + "))|)" + R + "*\\]", V = ":(" + j + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + F + ")*)|.*)\\)|)", H = new RegExp(R + "+", "g"), W = new RegExp("^" + R + "+|((?:^|[^\\\\])(?:\\\\.)*)" + R + "+$", "g"), B = new RegExp("^" + R + "*," + R + "*"), z = new RegExp("^" + R + "*([>+~]|" + R + ")" + R + "*"), q = new RegExp(R + "|>"), Y = new RegExp(V), Z = new RegExp("^" + j + "$"), X = { ID: new RegExp("^#(" + j + ")"), CLASS: new RegExp("^\\.(" + j + ")"), TAG: new RegExp("^(" + j + "|[*])"), ATTR: new RegExp("^" + F), PSEUDO: new RegExp("^" + V), 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") }, U = /HTML$/i, G = /^(?:input|select|textarea|button)$/i, Q = /^h\d$/i, K = /^[^{]+\{\s*\[native \w/, J = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, tt = /[+~]/, et = new RegExp("\\\\[\\da-fA-F]{1,6}" + R + "?|\\\\([^\\r\\n\\f])", "g"), nt = function (t, e) { var n = "0x" + t.slice(1) - 65536; return e || (n < 0 ? String.fromCharCode(n + 65536) : String.fromCharCode(n >> 10 | 55296, 1023 & n | 56320)) }, it = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, ot = function (t, e) { return e ? "\0" === t ? "锟<>" : t.slice(0, -1) + "\\" + t.charCodeAt(t.length - 1).toString(16) + " " : "\\" + t }, rt = function () { h() }, lt = wt((function (t) { return !0 === t.disabled && "fieldset" === t.nodeName.toLowerCase() }), { dir: "parentNode", next: "legend" }); try { D.apply(O = L.call(x.childNodes), x.childNodes), O[x.childNodes.length].nodeType } catch (t) { D = { apply: O.length ? function (t, e) { I.apply(t, L.call(e)) } : function (t, e) { for (var n = t.length, i = 0; t[n++] = e[i++];); t.length = n - 1 } } } function at(t, e, i, o) { var r, a, c, u, d, p, v, y = e && e.ownerDocument, x = e ? e.nodeType : 9; if (i = i || [], "string" != typeof t || !t || 1 !== x && 9 !== x && 11 !== x) return i; if (!o && (h(e), e = e || f, m)) { if (11 !== x && (d = J.exec(t))) if (r = d[1]) { if (9 === x) { if (!(c = e.getElementById(r))) return i; if (c.id === r) return i.push(c), i } else if (y && (c = y.getElementById(r)) && b(e, c) && c.id === r) return i.push(c), i } else { if (d[2]) return D.apply(i, e.getElementsByTagName(t)), i; if ((r = d[3]) && n.getElementsByClassName && e.getElementsByClassName) return D.apply(i, e.getElementsByClassName(r)), i } if (n.qsa && !T[t + " "] && (!g || !g.test(t)) && (1 !== x || "object" !== e.nodeName.toLowerCase())) { if (v = t, y = e, 1 === x && (q.test(t) || z.test(t))) { for ((y = tt.test(t) && vt(e.parentNode) || e) === e && n.scope || ((u = e.getAttribute("id")) ? u = u.replace(it, ot) : e.setAttribute("id", u = w)), a = (p = l(t)).length; a--;)p[a] = (u ? "#" + u : ":scope") + " " + bt(p[a]); v = p.join(",") } try { return D.apply(i, y.querySelectorAll(v)), i } catch (e) { T(t, !0) } finally { u === w && e.removeAttribute("id") } } } return s(t.replace(W, "$1"), e, i, o) } function st() { var t = []; return function e(n, o) { return t.push(n + " ") > i.cacheLength && delete e[t.shift()], e[n + " "] = o } } function ct(t) { return t[w] = !0, t } function ut(t) { var e = f.createElement("fieldset"); try { return !!t(e) } catch (t) { return !1 } finally { e.parentNode && e.parentNode.removeChild(e), e = null } } function dt(t, e) { for (var n = t.split("|"), o = n.length; o--;)i.attrHandle[n[o]] = e } function ht(t, e) { var n = e && t, i = n && 1 === t.nodeType && 1 === e.nodeType && t.sourceIndex - e.sourceIndex; if (i) return i; if (n) for (; n = n.nextSibling;)if (n === e) return -1; return t ? 1 : -1 } function ft(t) { return function (e) { return "input" === e.nodeName.toLowerCase() && e.type === t } } function pt(t) { return function (e) { var n = e.nodeName.toLowerCase(); return ("input" === n || "button" === n) && e.type === t } } function mt(t) { return function (e) { return "form" in e ? e.parentNode && !1 === e.disabled ? "label" in e ? "label" in e.parentNode ? e.parentNode.disabled === t : e.disabled === t : e.isDisabled === t || e.isDisabled !== !t && lt(e) === t : e.disabled === t : "label" in e && e.disabled === t } } function gt(t) { return ct((function (e) { return e = +e, ct((function (n, i) { for (var o, r = t([], n.length, e), l = r.length; l--;)n[o = r[l]] && (n[o] = !(i[o] = n[o])) })) })) } function vt(t) { return t && void 0 !== t.getElementsByTagName && t } for (e in n = at.support = {}, r = at.isXML = function (t) { var e = t && t.namespaceURI, n = t && (t.ownerDocument || t).documentElement; return !U.test(e || n && n.nodeName || "HTML") }, h = at.setDocument = function (t) { var e, o, l = t ? t.ownerDocument || t : x; return l != f && 9 === l.nodeType && l.documentElement ? (p = (f = l).documentElement, m = !r(f), x != f && (o = f.defaultView) && o.top !== o && (o.addEventListener ? o.addEventListener("unload", rt, !1) : o.attachEvent && o.attachEvent("onunload", rt)), n.scope = ut((function (t) { return p.appendChild(t).appendChild(f.createElement("div")), void 0 !== t.querySelectorAll && !t.querySelectorAll(":scope fieldset div").length })), n.attributes = ut((function (t) { return t.className = "i", !t.getAttribute("className") })), n.getElementsByTagName = ut((function (t) { return t.appendChild(f.createComment("")), !t.getElementsByTagName("*").length })), n.getElementsByClassName = K.test(f.getElementsByClassName), n.getById = ut((function (t) { return p.appendChild(t).id = w, !f.getElementsByName || !f.getElementsByName(w).length })), n.getById ? (i.filter.ID = function (t) { var e = t.replace(et, nt); return function (t) { return t.getAttribute("id") === e } }, i.find.ID = function (t, e) { if (void 0 !== e.getElementById && m) { var n = e.getElementById(t); return n ? [n] : [] } }) : (i.filter.ID = function (t) { var e = t.replace(et, nt); return function (t) { var n = void 0 !== t.getAttributeNode && t.getAttributeNode("id"); return n && n.value === e } }, i.find.ID = function (t, e) { if (void 0 !== e.getElementById && m) { var n, i, o, r = e.getElementById(t); if (r) { if ((n = r.getAttributeNode("id")) && n.value === t) return [r]; for (o = e.getElementsByName(t), i = 0; r = o[i++];)if ((n = r.getAttributeNode("id")) && n.value === t) return [r] } return [] } }), i.find.TAG = n.getElementsByTagName ? function (t, e) { return void 0 !== e.getElementsByTagName ? e.getElementsByTagName(t) : n.qsa ? e.querySelectorAll(t) : void 0 } : function (t, e) { var n, i = [], o = 0, r = e.getElementsByTagName(t); if ("*" === t) { for (; n = r[o++];)1 === n.nodeType && i.push(n); return i } return r }, i.find.CLASS = n.getElementsByClassName && function (t, e) { if (void 0 !== e.getElementsByClassName && m) return e.getElementsByClassName(t) }, v = [], g = [], (n.qsa = K.test(f.querySelectorAll)) && (ut((function (t) { var e; p.appendChild(t).innerHTML = "<a id='" + w + "'></a><select id='" + w + "-\r\\' msallowcapture=''><option selected=''></option></select>", t.querySelectorAll("[msallowcapture^='']").length && g.push("[*^$]=" + R + "*(?:''|\"\")"), t.querySelectorAll("[selected]").length || g.push("\\[" + R + "*(?:value|" + N + ")"), t.querySelectorAll("[id~=" + w + "-]").length || g.push("~="), (e = f.createElement("input")).setAttribute("name", ""), t.appendChild(e), t.querySelectorAll("[name='']").length || g.push("\\[" + R + "*name" + R + "*=" + R + "*(?:''|\"\")"), t.querySelectorAll(":checked").length || g.push(":checked"), t.querySelectorAll("a#" + w + "+*").length || g.push(".#.+[+~]"), t.querySelectorAll("\\\f"), g.push("[\\r\\n\\f]") })), ut((function (t) { t.innerHTML = "<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>"; var e = f.createElement("input"); e.setAttribute("type", "hidden"), t.appendChild(e).setAttribute("name", "D"), t.querySelectorAll("[name=d]").length && g.push("name" + R + "*[*^$|!~]?="), 2 !== t.querySelectorAll(":enabled").length && g.push(":enabled", ":disabled"), p.appendChild(t).disabled = !0, 2 !== t.querySelectorAll(":disabled").length && g.push(":enabled", ":disabled"), t.querySelectorAll("*,:x"), g.push(",.*:") }))), (n.matchesSelector = K.test(y = p.matches || p.webkitMatchesSelector || p.mozMatchesSelector || p.oMatchesSelector || p.msMatchesSelector)) && ut((function (t) { n.disconnectedMatch = y.call(t, "*"), y.call(t, "[s!='']:x"), v.push("!=", V) })), g = g.length && new RegExp(g.join("|")), v = v.length && new RegExp(v.join("|")), e = K.test(p.compareDocumentPosition), b = e || K.test(p.contains) ? function (t, e) { var n = 9 === t.nodeType ? t.documentElement : t, i = e && e.parentNode; return t === i || !(!i || 1 !== i.nodeType || !(n.contains ? n.contains(i) : t.compareDocumentPosition && 16 & t.compareDocumentPosition(i))) } : function (t, e) { if (e) for (; e = e.parentNode;)if (e === t) return !0; return !1 }, E = e ? function (t, e) { if (t === e) return d = !0, 0; var i = !t.compareDocumentPosition - !e.compareDocumentPosition; return i || (1 & (i = (t.ownerDocument || t) == (e.ownerDocument || e) ? t.compareDocumentPosition(e) : 1) || !n.sortDetached && e.compareDocumentPosition(t) === i ? t == f || t.ownerDocument == x && b(x, t) ? -1 : e == f || e.ownerDocument == x && b(x, e) ? 1 : u ? $(u, t) - $(u, e) : 0 : 4 & i ? -1 : 1) } : function (t, e) { if (t === e) return d = !0, 0; var n, i = 0, o = t.parentNode, r = e.parentNode, l = [t], a = [e]; if (!o || !r) return t == f ? -1 : e == f ? 1 : o ? -1 : r ? 1 : u ? $(u, t) - $(u, e) : 0; if (o === r) return ht(t, e); for (n = t; n = n.parentNode;)l.unshift(n); for (n = e; n = n.parentNode;)a.unshift(n); for (; l[i] === a[i];)i++; return i ? ht(l[i], a[i]) : l[i] == x ? -1 : a[i] == x ? 1 : 0 }, f) : f }, at.matches = function (t, e) { return at(t, null, null, e) }, at.matchesSelector = function (t, e) { if (h(t), n.matchesSelector && m && !T[e + " "] && (!v || !v.test(e)) && (!g || !g.test(e))) try { var i = y.call(t, e); if (i || n.disconnectedMatch || t.document && 11 !== t.document.nodeType) return i } catch (t) { T(e, !0) } return at(e, f, null, [t]).length > 0 }, at.contains = function (t, e) { return (t.ownerDocument || t) != f && h(t), b(t, e) }, at.attr = function (t, e) { (t.ownerDocument || t) != f && h(t); var o = i.attrHandle[e.toLowerCase()], r = o && A.call(i.attrHandle, e.toLowerCase()) ? o(t, e, !m) : void 0; return void 0 !== r ? r : n.attributes || !m ? t.getAttribute(e) : (r = t.getAttributeNode(e)) && r.specified ? r.value : null }, at.escape = function (t) { return (t + "").replace(it, ot) }, at.error = function (t) { throw new Error("Syntax error, unrecognized expression: " + t) }, at.uniqueSort = function (t) { var e, i = [], o = 0, r = 0; if (d = !n.detectDuplicates, u = !n.sortStable && t.slice(0), t.sort(E), d) { for (; e = t[r++];)e === t[r] && (o = i.push(r)); for (; o--;)t.splice(i[o], 1) } return u = null, t }, o = at.getText = function (t) { var e, n = "", i = 0, r = t.nodeType; if (r) { if (1 === r || 9 === r || 11 === r) { if ("string" == typeof t.textContent) return t.textContent; for (t = t.firstChild; t; t = t.nextSibling)n += o(t) } else if (3 === r || 4 === r) return t.nodeValue } else for (; e = t[i++];)n += o(e); return n }, (i = at.selectors = { cacheLength: 50, createPseudo: ct, match: X, attrHandle: {}, find: {}, relative: { ">": { dir: "parentNode", first: !0 }, " ": { dir: "parentNode" }, "+": { dir: "previousSibling", first: !0 }, "~": { dir: "previousSibling" } }, preFilter: { ATTR: function (t) { return t[1] = t[1].replace(et, nt), t[3] = (t[3] || t[4] || t[5] || "").replace(et, nt), "~=" === t[2] && (t[3] = " " + t[3] + " "), t.slice(0, 4) }, CHILD: function (t) { return t[1] = t[1].toLowerCase(), "nth" === t[1].slice(0, 3) ? (t[3] || at.error(t[0]), t[4] = +(t[4] ? t[5] + (t[6] || 1) : 2 * ("even" === t[3] || "odd" === t[3])), t[5] = +(t[7] + t[8] || "odd" === t[3])) : t[3] && at.error(t[0]), t }, PSEUDO: function (t) { var e, n = !t[6] && t[2]; return X.CHILD.test(t[0]) ? null : (t[3] ? t[2] = t[4] || t[5] || "" : n && Y.test(n) && (e = l(n, !0)) && (e = n.indexOf(")", n.length - e) - n.length) && (t[0] = t[0].slice(0, e), t[2] = n.slice(0, e)), t.slice(0, 3)) } }, filter: { TAG: function (t) { var e = t.replace(et, nt).toLowerCase(); return "*" === t ? function () { return !0 } : function (t) { return t.nodeName && t.nodeName.toLowerCase() === e } }, CLASS: function (t) { var e = C[t + " "]; return e || (e = new RegExp("(^|" + R + ")" + t + "(" + R + "|$)")) && C(t, (function (t) { return e.test("string" == typeof t.className && t.className || void 0 !== t.getAttribute && t.getAttribute("class") || "") })) }, ATTR: function (t, e, n) { return function (i) { var o = at.attr(i, t); return null == o ? "!=" === e : !e || (o += "", "=" === e ? o === n : "!=" === e ? o !== n : "^=" === e ? n && 0 === o.indexOf(n) : "*=" === e ? n && o.indexOf(n) > -1 : "$=" === e ? n && o.slice(-n.length) === n : "~=" === e ? (" " + o.replace(H, " ") + " ").indexOf(n) > -1 : "|=" === e && (o === n || o.slice(0, n.length + 1) === n + "-")) } }, CHILD: function (t, e, n, i, o) { var r = "nth" !== t.slice(0, 3), l = "last" !== t.slice(-4), a = "of-type" === e; return 1 === i && 0 === o ? function (t) { return !!t.parentNode } : function (e, n, s) { var c, u, d, h, f, p, m = r !== l ? "nextSibling" : "previousSibling", g = e.parentNode, v = a && e.nodeName.toLowerCase(), y = !s && !a, b = !1; if (g) { if (r) { for (; m;) { for (h = e; h = h[m];)if (a ? h.nodeName.toLowerCase() === v : 1 === h.nodeType) return !1; p = m = "only" === t && !p && "nextSibling" } return !0 } if (p = [l ? g.firstChild : g.lastChild], l && y) { for (b = (f = (c = (u = (d = (h = g)[w] || (h[w] = {}))[h.uniqueID] || (d[h.uniqueID] = {}))[t] || [])[0] === k && c[1]) && c[2], h = f && g.childNodes[f]; h = ++f && h && h[m] || (b = f = 0) || p.pop();)if (1 === h.nodeType && ++b && h === e) { u[t] = [k, f, b]; break } } else if (y && (b = f = (c = (u = (d = (h = e)[w] || (h[w] = {}))[h.uniqueID] || (d[h.uniqueID] = {}))[t] || [])[0] === k && c[1]), !1 === b) for (; (h = ++f && h && h[m] || (b = f = 0) || p.pop()) && ((a ? h.nodeName.toLowerCase() !== v : 1 !== h.nodeType) || !++b || (y && ((u = (d = h[w] || (h[w] = {}))[h.uniqueID] || (d[h.uniqueID] = {}))[t] = [k, b]), h !== e));); return (b -= o) === i || b % i == 0 && b / i >= 0 } } }, PSEUDO: function (t, e) { var n, o = i.pseudos[t] || i.setFilters[t.toLowerCase()] || at.error("unsupported pseudo: " + t); return o[w] ? o(e) : o.length > 1 ? (n = [t, t, "", e], i.setFilters.hasOwnProperty(t.toLowerCase()) ? ct((function (t, n) { for (var i, r = o(t, e), l = r.length; l--;)t[i = $(t, r[l])] = !(n[i] = r[l]) })) : function (t) { return o(t, 0, n) }) : o } }, pseudos: { not: ct((function (t) { var e = [], n = [], i = a(t.replace(W, "$1")); return i[w] ? ct((function (t, e, n, o) { for (var r, l = i(t, null, o, []), a = t.length; a--;)(r = l[a]) && (t[a] = !(e[a] = r)) })) : function (t, o, r) { return e[0] = t, i(e, null, r, n), e[0] = null, !n.pop() } })), has: ct((function (t) { return function (e) { return at(t, e).length > 0 } })), contains: ct((function (t) { return t = t.replace(et, nt), function (e) { return (e.textContent || o(e)).indexOf(t) > -1 } })), lang: ct((function (t) { return Z.test(t || "") || at.error("unsupported lang: " + t), t = t.replace(et, nt).toLowerCase(), function (e) { var n; do { if (n = m ? e.lang : e.getAttribute("xml:lang") || e.getAttribute("lang")) return (n = n.toLowerCase()) === t || 0 === n.indexOf(t + "-") } while ((e = e.parentNode) && 1 === e.nodeType); return !1 } })), target: function (e) { var n = t.location && t.location.hash; return n && n.slice(1) === e.id }, root: function (t) { return t === p }, focus: function (t) { return t === f.activeElement && (!f.hasFocus || f.hasFocus()) && !!(t.type || t.href || ~t.tabIndex) }, enabled: mt(!1), disabled: mt(!0), checked: function (t) { var e = t.nodeName.toLowerCase(); return "input" === e && !!t.checked || "option" === e && !!t.selected }, selected: function (t) { return t.parentNode && t.parentNode.selectedIndex, !0 === t.selected }, empty: function (t) { for (t = t.firstChild; t; t = t.nextSibling)if (t.nodeType < 6) return !1; return !0 }, parent: function (t) { return !i.pseudos.empty(t) }, header: function (t) { return Q.test(t.nodeName) }, input: function (t) { return G.test(t.nodeName) }, button: function (t) { var e = t.nodeName.toLowerCase(); return "input" === e && "button" === t.type || "button" === e }, text: function (t) { var e; return "input" === t.nodeName.toLowerCase() && "text" === t.type && (null == (e = t.getAttribute("type")) || "text" === e.toLowerCase()) }, first: gt((function () { return [0] })), last: gt((function (t, e) { return [e - 1] })), eq: gt((function (t, e, n) { return [n < 0 ? n + e : n] })), even: gt((function (t, e) { for (var n = 0; n < e; n += 2)t.push(n); return t })), odd: gt((function (t, e) { for (var n = 1; n < e; n += 2)t.push(n); return t })), lt: gt((function (t, e, n) { for (var i = n < 0 ? n + e : n > e ? e : n; --i >= 0;)t.push(i); return t })), gt: gt((function (t, e, n) { for (var i = n < 0 ? n + e : n; ++i < e;)t.push(i); return t })) } }).pseudos.nth = i.pseudos.eq, { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 }) i.pseudos[e] = ft(e); for (e in { submit: !0, reset: !0 }) i.pseudos[e] = pt(e); function yt() { } function bt(t) { for (var e = 0, n = t.length, i = ""; e < n; e++)i += t[e].value; return i } function wt(t, e, n) { var i = e.dir, o = e.next, r = o || i, l = n && "parentNode" === r, a = S++; return e.first ? function (e, n, o) { for (; e = e[i];)if (1 === e.nodeType || l) return t(e, n, o); return !1 } : function (e, n, s) { var c, u, d, h = [k, a]; if (s) { for (; e = e[i];)if ((1 === e.nodeType || l) && t(e, n, s)) return !0 } else for (; e = e[i];)if (1 === e.nodeType || l) if (u = (d = e[w] || (e[w] = {}))[e.uniqueID] || (d[e.uniqueID] = {}), o && o === e.nodeName.toLowerCase()) e = e[i] || e; else { if ((c = u[r]) && c[0] === k && c[1] === a) return h[2] = c[2]; if (u[r] = h, h[2] = t(e, n, s)) return !0 } return !1 } } function xt(t) { return t.length > 1 ? function (e, n, i) { for (var o = t.length; o--;)if (!t[o](e, n, i)) return !1; return !0 } : t[0] } function kt(t, e, n, i, o) { for (var r, l = [], a = 0, s = t.length, c = null != e; a < s; a++)(r = t[a]) && (n && !n(r, i, o) || (l.push(r), c && e.push(a))); return l } function St(t, e, n, i, o, r) { return i && !i[w] && (i = St(i)), o && !o[w] && (o = St(o, r)), ct((function (r, l, a, s) { var c, u, d, h = [], f = [], p = l.length, m = r || function (t, e, n) { for (var i = 0, o = e.length; i < o; i++)at(t, e[i], n); return n }(e || "*", a.nodeType ? [a] : a, []), g = !t || !r && e ? m : kt(m, h, t, a, s), v = n ? o || (r ? t : p || i) ? [] : l : g; if (n && n(g, v, a, s), i) for (c = kt(v, f), i(c, [], a, s), u = c.length; u--;)(d = c[u]) && (v[f[u]] = !(g[f[u]] = d)); if (r) { if (o || t) { if (o) { for (c = [], u = v.length; u--;)(d = v[u]) && c.push(g[u] = d); o(null, v = [], c, s) } for (u = v.length; u--;)(d = v[u]) && (c = o ? $(r, d) : h[u]) > -1 && (r[c] = !(l[c] = d)) } } else v = kt(v === l ? v.splice(p, v.length) : v), o ? o(null, l, v, s) : D.apply(l, v) })) } function Ct(t) { for (var e, n, o, r = t.length, l = i.relative[t[0].type], a = l || i.relative[" "], s = l ? 1 : 0, u = wt((function (t) { return t === e }), a, !0), d = wt((function (t) { return $(e, t) > -1 }), a, !0), h = [function (t, n, i) { var o = !l && (i || n !== c) || ((e = n).nodeType ? u(t, n, i) : d(t, n, i)); return e = null, o }]; s < r; s++)if (n = i.relative[t[s].type]) h = [wt(xt(h), n)]; else { if ((n = i.filter[t[s].type].apply(null, t[s].matches))[w]) { for (o = ++s; o < r && !i.relative[t[o].type]; o++); return St(s > 1 && xt(h), s > 1 && bt(t.slice(0, s - 1).concat({ value: " " === t[s - 2].type ? "*" : "" })).replace(W, "$1"), n, s < o && Ct(t.slice(s, o)), o < r && Ct(t = t.slice(o)), o < r && bt(t)) } h.push(n) } return xt(h) } return yt.prototype = i.filters = i.pseudos, i.setFilters = new yt, l = at.tokenize = function (t, e) { var n, o, r, l, a, s, c, u = M[t + " "]; if (u) return e ? 0 : u.slice(0); for (a = t, s = [], c = i.preFilter; a;) { for (l in n && !(o = B.exec(a)) || (o && (a = a.slice(o[0].length) || a), s.push(r = [])), n = !1, (o = z.exec(a)) && (n = o.shift(), r.push({ value: n, type: o[0].replace(W, " ") }), a = a.slice(n.length)), i.filter) !(o = X[l].exec(a)) || c[l] && !(o = c[l](o)) || (n = o.shift(), r.push({ value: n, type: l, matches: o }), a = a.slice(n.length)); if (!n) break } return e ? a.length : a ? at.error(t) : M(t, s).slice(0) }, a = at.compile = function (t, e) { var n, o = [], r = [], a = _[t + " "]; if (!a) { for (e || (e = l(t)), n = e.length; n--;)(a = Ct(e[n]))[w] ? o.push(a) : r.push(a); (a = _(t, function (t, e) { var n = e.length > 0, o = t.length > 0, r = function (r, l, a, s, u) { var d, p, g, v = 0, y = "0", b = r && [], w = [], x = c, S = r || o && i.find.TAG("*", u), C = k += null == x ? 1 : Math.random() || .1, M = S.length; for (u && (c = l == f || l || u); y !== M && null != (d = S[y]); y++) { if (o && d) { for (p = 0, l || d.ownerDocument == f || (h(d), a = !m); g = t[p++];)if (g(d, l || f, a)) { s.push(d); break } u && (k = C) } n && ((d = !g && d) && v--, r && b.push(d)) } if (v += y, n && y !== v) { for (p = 0; g = e[p++];)g(b, w, l, a); if (r) { if (v > 0) for (; y--;)b[y] || w[y] || (w[y] = P.call(s)); w = kt(w) } D.apply(s, w), u && !r && w.length > 0 && v + e.length > 1 && at.uniqueSort(s) } return u && (k = C, c = x), b }; return n ? ct(r) : r }(r, o))).selector = t } return a }, s = at.select = function (t, e, n, o) { var r, s, c, u, d, h = "function" == typeof t && t, f = !o && l(t = h.selector || t); if (n = n || [], 1 === f.length) { if ((s = f[0] = f[0].slice(0)).length > 2 && "ID" === (c = s[0]).type && 9 === e.nodeType && m && i.relative[s[1].type]) { if (!(e = (i.find.ID(c.matches[0].replace(et, nt), e) || [])[0])) return n; h && (e = e.parentNode), t = t.slice(s.shift().value.length) } for (r = X.needsContext.test(t) ? 0 : s.length; r-- && (c = s[r], !i.relative[u = c.type]);)if ((d = i.find[u]) && (o = d(c.matches[0].replace(et, nt), tt.test(s[0].type) && vt(e.parentNode) || e))) { if (s.splice(r, 1), !(t = o.length && bt(s))) return D.apply(n, o), n; break } } return (h || a(t, f))(o, e, !m, n, !e || tt.test(t) && vt(e.parentNode) || e), n }, n.sortStable = w.split("").sort(E).join("") === w, n.detectDuplicates = !!d, h(), n.sortDetached = ut((function (t) { return 1 & t.compareDocumentPosition(f.createElement("fieldset")) })), ut((function (t) { return t.innerHTML = "<a href='#'></a>", "#" === t.firstChild.getAttribute("href") })) || dt("type|href|height|width", (function (t, e, n) { if (!n) return t.getAttribute(e, "type" === e.toLowerCase() ? 1 : 2) })), n.attributes && ut((function (t) { return t.innerHTML = "<input/>", t.firstChild.setAttribute("value", ""), "" === t.firstChild.getAttribute("value") })) || dt("value", (function (t, e, n) { if (!n && "input" === t.nodeName.toLowerCase()) return t.defaultValue })), ut((function (t) { return null == t.getAttribute("disabled") })) || dt(N, (function (t, e, n) { var i; if (!n) return !0 === t[e] ? e.toLowerCase() : (i = t.getAttributeNode(e)) && i.specified ? i.value : null })), at }(t); k.find = C, k.expr = C.selectors, k.expr[":"] = k.expr.pseudos, k.uniqueSort = k.unique = C.uniqueSort, k.text = C.getText, k.isXMLDoc = C.isXML, k.contains = C.contains, k.escapeSelector = C.escape; var M = function (t, e, n) { for (var i = [], o = void 0 !== n; (t = t[e]) && 9 !== t.nodeType;)if (1 === t.nodeType) { if (o && k(t).is(n)) break; i.push(t) } return i }, _ = function (t, e) { for (var n = []; t; t = t.nextSibling)1 === t.nodeType && t !== e && n.push(t); return n }, T = k.expr.match.needsContext; function E(t, e) { return t.nodeName && t.nodeName.toLowerCase() === e.toLowerCase() } var A = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i; function O(t, e, n) { return g(e) ? k.grep(t, (function (t, i) { return !!e.call(t, i, t) !== n })) : e.nodeType ? k.grep(t, (function (t) { return t === e !== n })) : "string" != typeof e ? k.grep(t, (function (t) { return c.call(e, t) > -1 !== n })) : k.filter(e, t, n) } k.filter = function (t, e, n) { var i = e[0]; return n && (t = ":not(" + t + ")"), 1 === e.length && 1 === i.nodeType ? k.find.matchesSelector(i, t) ? [i] : [] : k.find.matches(t, k.grep(e, (function (t) { return 1 === t.nodeType }))) }, k.fn.extend({ find: function (t) { var e, n, i = this.length, o = this; if ("string" != typeof t) return this.pushStack(k(t).filter((function () { for (e = 0; e < i; e++)if (k.contains(o[e], this)) return !0 }))); for (n = this.pushStack([]), e = 0; e < i; e++)k.find(t, o[e], n); return i > 1 ? k.uniqueSort(n) : n }, filter: function (t) { return this.pushStack(O(this, t || [], !1)) }, not: function (t) { return this.pushStack(O(this, t || [], !0)) }, is: function (t) { return !!O(this, "string" == typeof t && T.test(t) ? k(t) : t || [], !1).length } }); var P, I = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/; (k.fn.init = function (t, e, n) { var i, o; if (!t) return this; if (n = n || P, "string" == typeof t) { if (!(i = "<" === t[0] && ">" === t[t.length - 1] && t.length >= 3 ? [null, t, null] : I.exec(t)) || !i[1] && e) return !e || e.jquery ? (e || n).find(t) : this.constructor(e).find(t); if (i[1]) { if (e = e instanceof k ? e[0] : e, k.merge(this, k.parseHTML(i[1], e && e.nodeType ? e.ownerDocument || e : y, !0)), A.test(i[1]) && k.isPlainObject(e)) for (i in e) g(this[i]) ? this[i](e[i]) : this.attr(i, e[i]); return this } return (o = y.getElementById(i[2])) && (this[0] = o, this.length = 1), this } return t.nodeType ? (this[0] = t, this.length = 1, this) : g(t) ? void 0 !== n.ready ? n.ready(t) : t(k) : k.makeArray(t, this) }).prototype = k.fn, P = k(y); var D = /^(?:parents|prev(?:Until|All))/, L = { children: !0, contents: !0, next: !0, prev: !0 }; function $(t, e) { for (; (t = t[e]) && 1 !== t.nodeType;); return t } k.fn.extend({ has: function (t) { var e = k(t, this), n = e.length; return this.filter((function () { for (var t = 0; t < n; t++)if (k.contains(this, e[t])) return !0 })) }, closest: function (t, e) { var n, i = 0, o = this.length, r = [], l = "string" != typeof t && k(t); if (!T.test(t)) for (; i < o; i++)for (n = this[i]; n && n !== e; n = n.parentNode)if (n.nodeType < 11 && (l ? l.index(n) > -1 : 1 === n.nodeType && k.find.matchesSelector(n, t))) { r.push(n); break } return this.pushStack(r.length > 1 ? k.uniqueSort(r) : r) }, index: function (t) { return t ? "string" == typeof t ? c.call(k(t), this[0]) : c.call(this, t.jquery ? t[0] : t) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1 }, add: function (t, e) { return this.pushStack(k.uniqueSort(k.merge(this.get(), k(t, e)))) }, addBack: function (t) { return this.add(null == t ? this.prevObject : this.prevObject.filter(t)) } }), k.each({ parent: function (t) { var e = t.parentNode; return e && 11 !== e.nodeType ? e : null }, parents: function (t) { return M(t, "parentNode") }, parentsUntil: function (t, e, n) { return M(t, "parentNode", n) }, next: function (t) { return $(t, "nextSibling") }, prev: function (t) { return $(t, "previousSibling") }, nextAll: function (t) { return M(t, "nextSibling") }, prevAll: function (t) { return M(t, "previousSibling") }, nextUntil: function (t, e, n) { return M(t, "nextSibling", n) }, prevUntil: function (t, e, n) { return M(t, "previousSibling", n) }, siblings: function (t) { return _((t.parentNode || {}).firstChild, t) }, children: function (t) { return _(t.firstChild) }, contents: function (t) { return null != t.contentDocument && r(t.contentDocument) ? t.contentDocument : (E(t, "template") && (t = t.content || t), k.merge([], t.childNodes)) } }, (function (t, e) { k.fn[t] = function (n, i) { var o = k.map(this, e, n); return "Until" !== t.slice(-5) && (i = n), i && "string" == typeof i && (o = k.filter(i, o)), this.length > 1 && (L[t] || k.uniqueSort(o), D.test(t) && o.reverse()), this.pushStack(o) } })); var N = /[^\x20\t\r\n\f]+/g; function R(t) { return t } function j(t) { throw t } function F(t, e, n, i) { var o; try { t && g(o = t.promise) ? o.call(t).done(e).fail(n) : t && g(o = t.then) ? o.call(t, e, n) : e.apply(void 0, [t].slice(i)) } catch (t) { n.apply(void 0, [t]) } } k.Callbacks = function (t) { t = "string" == typeof t ? function (t) { var e = {}; return k.each(t.match(N) || [], (function (t, n) { e[n] = !0 })), e }(t) : k.extend({}, t); var e, n, i, o, r = [], l = [], a = -1, s = function () { for (o = o || t.once, i = e = !0; l.length; a = -1)for (n = l.shift(); ++a < r.length;)!1 === r[a].apply(n[0], n[1]) && t.stopOnFalse && (a = r.length, n = !1); t.memory || (n = !1), e = !1, o && (r = n ? [] : "") }, c = { add: function () { return r && (n && !e && (a = r.length - 1, l.push(n)), function e(n) { k.each(n, (function (n, i) { g(i) ? t.unique && c.has(i) || r.push(i) : i && i.length && "string" !== x(i) && e(i) })) }(arguments), n && !e && s()), this }, remove: function () { return k.each(arguments, (function (t, e) { for (var n; (n = k.inArray(e, r, n)) > -1;)r.splice(n, 1), n <= a && a-- })), this }, has: function (t) { return t ? k.inArray(t, r) > -1 : r.length > 0 }, empty: function () { return r && (r = []), this }, disable: function () { return o = l = [], r = n = "", this }, disabled: function () { return !r }, lock: function () { return o = l = [], n || e || (r = n = ""), this }, locked: function () { return !!o }, fireWith: function (t, n) { return o || (n = [t, (n = n || []).slice ? n.slice() : n], l.push(n), e || s()), this }, fire: function () { return c.fireWith(this, arguments), this }, fired: function () { return !!i } }; return c }, k.extend({ Deferred: function (e) { var n = [["notify", "progress", k.Callbacks("memory"), k.Callbacks("memory"), 2], ["resolve", "done", k.Callbacks("once memory"), k.Callbacks("once memory"), 0, "resolved"], ["reject", "fail", k.Callbacks("once memory"), k.Callbacks("once memory"), 1, "rejected"]], i = "pending", r = { state: function () { return i }, always: function () { return l.done(arguments).fail(arguments), this }, catch: function (t) { return r.then(null, t) }, pipe: function () { var t = arguments; return k.Deferred((function (e) { k.each(n, (function (n, i) { var o = g(t[i[4]]) && t[i[4]]; l[i[1]]((function () { var t = o && o.apply(this, arguments); t && g(t.promise) ? t.promise().progress(e.notify).done(e.resolve).fail(e.reject) : e[i[0] + "With"](this, o ? [t] : arguments) })) })), t = null })).promise() }, then: function (e, i, r) { var l = 0; function a(e, n, i, r) { return function () { var s = this, c = arguments, u = function () { var t, u; if (!(e < l)) { if ((t = i.apply(s, c)) === n.promise()) throw new TypeError("Thenable self-resolution"); u = t && ("object" === o(t) || "function" == typeof t) && t.then, g(u) ? r ? u.call(t, a(l, n, R, r), a(l, n, j, r)) : (l++, u.call(t, a(l, n, R, r), a(l, n, j, r), a(l, n, R, n.notifyWith))) : (i !== R && (s = void 0, c = [t]), (r || n.resolveWith)(s, c)) } }, d = r ? u : function () { try { u() } catch (t) { k.Deferred.exceptionHook && k.Deferred.exceptionHook(t, d.stackTrace), e + 1 >= l && (i !== j && (s = void 0, c = [t]), n.rejectWith(s, c)) } }; e ? d() : (k.Deferred.getStackHook && (d.stackTrace = k.Deferred.getStackHook()), t.setTimeout(d)) } } return k.Deferred((function (t) { n[0][3].add(a(0, t, g(r) ? r : R, t.notifyWith)), n[1][3].add(a(0, t, g(e) ? e : R)), n[2][3].add(a(0, t, g(i) ? i : j)) })).promise() }, promise: function (t) { return null != t ? k.extend(t, r) : r } }, l = {}; return k.each(n, (function (t, e) { var o = e[2], a = e[5]; r[e[1]] = o.add, a && o.add((function () { i = a }), n[3 - t][2].disable, n[3 - t][3].disable, n[0][2].lock, n[0][3].lock), o.add(e[3].fire), l[e[0]] = function () { return l[e[0] + "With"](this === l ? void 0 : this, arguments), this }, l[e[0] + "With"] = o.fireWith })), r.promise(l), e && e.call(l, l), l }, when: function (t) { var e = arguments.length, n = e, i = Array(n), o = l.call(arguments), r = k.Deferred(), a = function (t) { return function (n) { i[t] = this, o[t] = arguments.length > 1 ? l.call(arguments) : n, --e || r.resolveWith(i, o) } }; if (e <= 1 && (F(t, r.done(a(n)).resolve, r.reject, !e), "pending" === r.state() || g(o[n] && o[n].then))) return r.then(); for (; n--;)F(o[n], a(n), r.reject); return r.promise() } }); var V = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; k.Deferred.exceptionHook = function (e, n) { t.console && t.console.warn && e && V.test(e.name) && t.console.warn("jQuery.Deferred exception: " + e.message, e.stack, n) }, k.readyException = function (e) { t.setTimeout((function () { throw e })) }; var H = k.Deferred(); function W() { y.removeEventListener("DOMContentLoaded", W), t.removeEventListener("load", W), k.ready() } k.fn.ready = function (t) { return H.then(t).catch((function (t) { k.readyException(t) })), this }, k.extend({ isReady: !1, readyWait: 1, ready: function (t) { (!0 === t ? --k.readyWait : k.isReady) || (k.isReady = !0, !0 !== t && --k.readyWait > 0 || H.resolveWith(y, [k])) } }), k.ready.then = H.then, "complete" === y.readyState || "loading" !== y.readyState && !y.documentElement.doScroll ? t.setTimeout(k.ready) : (y.addEventListener("DOMContentLoaded", W), t.addEventListener("load", W)); var B = function t(e, n, i, o, r, l, a) { var s = 0, c = e.length, u = null == i; if ("object" === x(i)) for (s in r = !0, i) t(e, n, s, i[s], !0, l, a); else if (void 0 !== o && (r = !0, g(o) || (a = !0), u && (a ? (n.call(e, o), n = null) : (u = n, n = function (t, e, n) { return u.call(k(t), n) })), n)) for (; s < c; s++)n(e[s], i, a ? o : o.call(e[s], s, n(e[s], i))); return r ? e : u ? n.call(e) : c ? n(e[0], i) : l }, z = /^-ms-/, q = /-([a-z])/g; function Y(t, e) { return e.toUpperCase() } function Z(t) { return t.replace(z, "ms-").replace(q, Y) } var X = function (t) { return 1 === t.nodeType || 9 === t.nodeType || !+t.nodeType }; function U() { this.expando = k.expando + U.uid++ } U.uid = 1, U.prototype = { cache: function (t) { var e = t[this.expando]; return e || (e = {}, X(t) && (t.nodeType ? t[this.expando] = e : Object.defineProperty(t, this.expando, { value: e, configurable: !0 }))), e }, set: function (t, e, n) { var i, o = this.cache(t); if ("string" == typeof e) o[Z(e)] = n; else for (i in e) o[Z(i)] = e[i]; return o }, get: function (t, e) { return void 0 === e ? this.cache(t) : t[this.expando] && t[this.expando][Z(e)] }, access: function (t, e, n) { return void 0 === e || e && "string" == typeof e && void 0 === n ? this.get(t, e) : (this.set(t, e, n), void 0 !== n ? n : e) }, remove: function (t, e) { var n, i = t[this.expando]; if (void 0 !== i) { if (void 0 !== e) { n = (e = Array.isArray(e) ? e.map(Z) : (e = Z(e)) in i ? [e] : e.match(N) || []).length; for (; n--;)delete i[e[n]] } (void 0 === e || k.isEmptyObject(i)) && (t.nodeType ? t[this.expando] = void 0 : delete t[this.expando]) } }, hasData: function (t) { var e = t[this.expando]; return void 0 !== e && !k.isEmptyObject(e) } }; var G = new U, Q = new U, K = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, J = /[A-Z]/g; function tt(t, e, n) { var i; if (void 0 === n && 1 === t.nodeType) if (i = "data-" + e.replace(J, "-$&").toLowerCase(), "string" == typeof (n = t.getAttribute(i))) { try { n = function (t) { return "true" === t || "false" !== t && ("null" === t ? null : t === +t + "" ? +t : K.test(t) ? JSON.parse(t) : t) }(n) } catch (t) { } Q.set(t, e, n) } else n = void 0; return n } k.extend({ hasData: function (t) { return Q.hasData(t) || G.hasData(t) }, data: function (t, e, n) { return Q.access(t, e, n) }, removeData: function (t, e) { Q.remove(t, e) }, _data: function (t, e, n) { return G.access(t, e, n) }, _removeData: function (t, e) { G.remove(t, e) } }), k.fn.extend({ data: function (t, e) { var n, i, r, l = this[0], a = l && l.attributes; if (void 0 === t) { if (this.length && (r = Q.get(l), 1 === l.nodeType && !G.get(l, "hasDataAttrs"))) { for (n = a.length; n--;)a[n] && 0 === (i = a[n].name).indexOf("data-") && (i = Z(i.slice(5)), tt(l, i, r[i])); G.set(l, "hasDataAttrs", !0) } return r } return "object" === o(t) ? this.each((function () { Q.set(this, t) })) : B(this, (function (e) { var n; if (l && void 0 === e) return void 0 !== (n = Q.get(l, t)) ? n : void 0 !== (n = tt(l, t)) ? n : void 0; this.each((function () { Q.set(this, t, e) })) }), null, e, arguments.length > 1, null, !0) }, removeData: function (t) { return this.each((function () { Q.remove(this, t) })) } }), k.extend({ queue: function (t, e, n) { var i; if (t) return e = (e || "fx") + "queue", i = G.get(t, e), n && (!i || Array.isArray(n) ? i = G.access(t, e, k.makeArray(n)) : i.push(n)), i || [] }, dequeue: function (t, e) { e = e || "fx"; var n = k.queue(t, e), i = n.length, o = n.shift(), r = k._queueHooks(t, e); "inprogress" === o && (o = n.shift(), i--), o && ("fx" === e && n.unshift("inprogress"), delete r.stop, o.call(t, (function () { k.dequeue(t, e) }), r)), !i && r && r.empty.fire() }, _queueHooks: function (t, e) { var n = e + "queueHooks"; return G.get(t, n) || G.access(t, n, { empty: k.Callbacks("once memory").add((function () { G.remove(t, [e + "queue", n]) })) }) } }), k.fn.extend({ queue: function (t, e) { var n = 2; return "string" != typeof t && (e = t, t = "fx", n--), arguments.length < n ? k.queue(this[0], t) : void 0 === e ? this : this.each((function () { var n = k.queue(this, t, e); k._queueHooks(this, t), "fx" === t && "inprogress" !== n[0] && k.dequeue(this, t) })) }, dequeue: function (t) { return this.each((function () { k.dequeue(this, t) })) }, clearQueue: function (t) { return this.queue(t || "fx", []) }, promise: function (t, e) { var n, i = 1, o = k.Deferred(), r = this, l = this.length, a = function () { --i || o.resolveWith(r, [r]) }; for ("string" != typeof t && (e = t, t = void 0), t = t || "fx"; l--;)(n = G.get(r[l], t + "queueHooks")) && n.empty && (i++, n.empty.add(a)); return a(), o.promise(e) } }); var et = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, nt = new RegExp("^(?:([+-])=|)(" + et + ")([a-z%]*)$", "i"), it = ["Top", "Right", "Bottom", "Left"], ot = y.documentElement, rt = function (t) { return k.contains(t.ownerDocument, t) }, lt = { composed: !0 }; ot.getRootNode && (rt = function (t) { return k.contains(t.ownerDocument, t) || t.getRootNode(lt) === t.ownerDocument }); var at = function (t, e) { return "none" === (t = e || t).style.display || "" === t.style.display && rt(t) && "none" === k.css(t, "display") }; function st(t, e, n, i) { var o, r, l = 20, a = i ? function () { return i.cur() } : function () { return k.css(t, e, "") }, s = a(), c = n && n[3] || (k.cssNumber[e] ? "" : "px"), u = t.nodeType && (k.cssNumber[e] || "px" !== c && +s) && nt.exec(k.css(t, e)); if (u && u[3] !== c) { for (s /= 2, c = c || u[3], u = +s || 1; l--;)k.style(t, e, u + c), (1 - r) * (1 - (r = a() / s || .5)) <= 0 && (l = 0), u /= r; u *= 2, k.style(t, e, u + c), n = n || [] } return n && (u = +u || +s || 0, o = n[1] ? u + (n[1] + 1) * n[2] : +n[2], i && (i.unit = c, i.start = u, i.end = o)), o } var ct = {}; function ut(t) { var e, n = t.ownerDocument, i = t.nodeName, o = ct[i]; return o || (e = n.body.appendChild(n.createElement(i)), o = k.css(e, "display"), e.parentNode.removeChild(e), "none" === o && (o = "block"), ct[i] = o, o) } function dt(t, e) { for (var n, i, o = [], r = 0, l = t.length; r < l; r++)(i = t[r]).style && (n = i.style.display, e ? ("none" === n && (o[r] = G.get(i, "display") || null, o[r] || (i.style.display = "")), "" === i.style.display && at(i) && (o[r] = ut(i))) : "none" !== n && (o[r] = "none", G.set(i, "display", n))); for (r = 0; r < l; r++)null != o[r] && (t[r].style.display = o[r]); return t } k.fn.extend({ show: function () { return dt(this, !0) }, hide: function () { return dt(this) }, toggle: function (t) { return "boolean" == typeof t ? t ? this.show() : this.hide() : this.each((function () { at(this) ? k(this).show() : k(this).hide() })) } }); var ht, ft, pt = /^(?:checkbox|radio)$/i, mt = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i, gt = /^$|^module$|\/(?:java|ecma)script/i; ht = y.createDocumentFragment().appendChild(y.createElement("div")), (ft = y.createElement("input")).setAttribute("type", "radio"), ft.setAttribute("checked", "checked"), ft.setAttribute("name", "t"), ht.appendChild(ft), m.checkClone = ht.cloneNode(!0).cloneNode(!0).lastChild.checked, ht.innerHTML = "<textarea>x</textarea>", m.noCloneChecked = !!ht.cloneNode(!0).lastChild.defaultValue, ht.innerHTML = "<option></option>", m.option = !!ht.lastChild; var vt = { thead: [1, "<table>", "</table>"], col: [2, "<table><colgroup>", "</colgroup></table>"], tr: [2, "<table><tbody>", "</tbody></table>"], td: [3, "<table><tbody><tr>", "</tr></tbody></table>"], _default: [0, "", ""] }; function yt(t, e) { var n; return n = void 0 !== t.getElementsByTagName ? t.getElementsByTagName(e || "*") : void 0 !== t.querySelectorAll ? t.querySelectorAll(e || "*") : [], void 0 === e || e && E(t, e) ? k.merge([t], n) : n } function bt(t, e) { for (var n = 0, i = t.length; n < i; n++)G.set(t[n], "globalEval", !e || G.get(e[n], "globalEval")) } vt.tbody = vt.tfoot = vt.colgroup = vt.caption = vt.thead, vt.th = vt.td, m.option || (vt.optgroup = vt.option = [1, "<select multiple='multiple'>", "</select>"]); var wt = /<|&#?\w+;/; function xt(t, e, n, i, o) { for (var r, l, a, s, c, u, d = e.createDocumentFragment(), h = [], f = 0, p = t.length; f < p; f++)if ((r = t[f]) || 0 === r) if ("object" === x(r)) k.merge(h, r.nodeType ? [r] : r); else if (wt.test(r)) { for (l = l || d.appendChild(e.createElement("div")), a = (mt.exec(r) || ["", ""])[1].toLowerCase(), s = vt[a] || vt._default, l.innerHTML = s[1] + k.htmlPrefilter(r) + s[2], u = s[0]; u--;)l = l.lastChild; k.merge(h, l.childNodes), (l = d.firstChild).textContent = "" } else h.push(e.createTextNode(r)); for (d.textContent = "", f = 0; r = h[f++];)if (i && k.inArray(r, i) > -1) o && o.push(r); else if (c = rt(r), l = yt(d.appendChild(r), "script"), c && bt(l), n) for (u = 0; r = l[u++];)gt.test(r.type || "") && n.push(r); return d } var kt = /^([^.]*)(?:\.(.+)|)/; function St() { return !0 } function Ct() { return !1 } function Mt(t, e) { return t === function () { try { return y.activeElement } catch (t) { } }() == ("focus" === e) } function _t(t, e, n, i, r, l) { var a, s; if ("object" === o(e)) { for (s in "string" != typeof n && (i = i || n, n = void 0), e) _t(t, s, n, i, e[s], l); return t } if (null == i && null == r ? (r = n, i = n = void 0) : null == r && ("string" == typeof n ? (r = i, i = void 0) : (r = i, i = n, n = void 0)), !1 === r) r = Ct; else if (!r) return t; return 1 === l && (a = r, (r = function (t) { return k().off(t), a.apply(this, arguments) }).guid = a.guid || (a.guid = k.guid++)), t.each((function () { k.event.add(this, e, r, i, n) })) } function Tt(t, e, n) { n ? (G.set(t, e, !1), k.event.add(t, e, { namespace: !1, handler: function (t) { var i, o, r = G.get(this, e); if (1 & t.isTrigger && this[e]) { if (r.length) (k.event.special[e] || {}).delegateType && t.stopPropagation(); else if (r = l.call(arguments), G.set(this, e, r), i = n(this, e), this[e](), r !== (o = G.get(this, e)) || i ? G.set(this, e, !1) : o = {}, r !== o) return t.stopImmediatePropagation(), t.preventDefault(), o && o.value } else r.length && (G.set(this, e, { value: k.event.trigger(k.extend(r[0], k.Event.prototype), r.slice(1), this) }), t.stopImmediatePropagation()) } })) : void 0 === G.get(t, e) && k.event.add(t, e, St) } k.event = { global: {}, add: function (t, e, n, i, o) { var r, l, a, s, c, u, d, h, f, p, m, g = G.get(t); if (X(t)) for (n.handler && (n = (r = n).handler, o = r.selector), o && k.find.matchesSelector(ot, o), n.guid || (n.guid = k.guid++), (s = g.events) || (s = g.events = Object.create(null)), (l = g.handle) || (l = g.handle = function (e) { return void 0 !== k && k.event.triggered !== e.type ? k.event.dispatch.apply(t, arguments) : void 0 }), c = (e = (e || "").match(N) || [""]).length; c--;)f = m = (a = kt.exec(e[c]) || [])[1], p = (a[2] || "").split(".").sort(), f && (d = k.event.special[f] || {}, f = (o ? d.delegateType : d.bindType) || f, d = k.event.special[f] || {}, u = k.extend({ type: f, origType: m, data: i, handler: n, guid: n.guid, selector: o, needsContext: o && k.expr.match.needsContext.test(o), namespace: p.join(".") }, r), (h = s[f]) || ((h = s[f] = []).delegateCount = 0, d.setup && !1 !== d.setup.call(t, i, p, l) || t.addEventListener && t.addEventListener(f, l)), d.add && (d.add.call(t, u), u.handler.guid || (u.handler.guid = n.guid)), o ? h.splice(h.delegateCount++, 0, u) : h.push(u), k.event.global[f] = !0) }, remove: function (t, e, n, i, o) { var r, l, a, s, c, u, d, h, f, p, m, g = G.hasData(t) && G.get(t); if (g && (s = g.events)) { for (c = (e = (e || "").match(N) || [""]).length; c--;)if (f = m = (a = kt.exec(e[c]) || [])[1], p = (a[2] || "").split(".").sort(), f) { for (d = k.event.special[f] || {}, h = s[f = (i ? d.delegateType : d.bindType) || f] || [], a = a[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"), l = r = h.length; r--;)u = h[r], !o && m !== u.origType || n && n.guid !== u.guid || a && !a.test(u.namespace) || i && i !== u.selector && ("**" !== i || !u.selector) || (h.splice(r, 1), u.selector && h.delegateCount--, d.remove && d.remove.call(t, u)); l && !h.length && (d.teardown && !1 !== d.teardown.call(t, p, g.handle) || k.removeEvent(t, f, g.handle), delete s[f]) } else for (f in s) k.event.remove(t, f + e[c], n, i, !0); k.isEmptyObject(s) && G.remove(t, "handle events") } }, dispatch: function (t) { var e, n, i, o, r, l, a = new Array(arguments.length), s = k.event.fix(t), c = (G.get(this, "events") || Object.create(null))[s.type] || [], u = k.event.special[s.type] || {}; for (a[0] = s, e = 1; e < arguments.length; e++)a[e] = arguments[e]; if (s.delegateTarget = this, !u.preDispatch || !1 !== u.preDispatch.call(this, s)) { for (l = k.event.handlers.call(this, s, c), e = 0; (o = l[e++]) && !s.isPropagationStopped();)for (s.currentTarget = o.elem, n = 0; (r = o.handlers[n++]) && !s.isImmediatePropagationStopped();)s.rnamespace && !1 !== r.namespace && !s.rnamespace.test(r.namespace) || (s.handleObj = r, s.data = r.data, void 0 !== (i = ((k.event.special[r.origType] || {}).handle || r.handler).apply(o.elem, a)) && !1 === (s.result = i) && (s.preventDefault(), s.stopPropagation())); return u.postDispatch && u.postDispatch.call(this, s), s.result } }, handlers: function (t, e) { var n, i, o, r, l, a = [], s = e.delegateCount, c = t.target; if (s && c.nodeType && !("click" === t.type && t.button >= 1)) for (; c !== this; c = c.parentNode || this)if (1 === c.nodeType && ("click" !== t.type || !0 !== c.disabled)) { for (r = [], l = {}, n = 0; n < s; n++)void 0 === l[o = (i = e[n]).selector + " "] && (l[o] = i.needsContext ? k(o, this).index(c) > -1 : k.find(o, this, null, [c]).length), l[o] && r.push(i); r.length && a.push({ elem: c, handlers: r }) } return c = this, s < e.length && a.push({ elem: c, handlers: e.slice(s) }), a }, addProp: function (t, e) { Object.defineProperty(k.Event.prototype, t, { enumerable: !0, configurable: !0, get: g(e) ? function () { if (this.originalEvent) return e(this.originalEvent) } : function () { if (this.originalEvent) return this.originalEvent[t] }, set: function (e) { Object.defineProperty(this, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) } }) }, fix: function (t) { return t[k.expando] ? t : new k.Event(t) }, special: { load: { noBubble: !0 }, click: { setup: function (t) { var e = this || t; return pt.test(e.type) && e.click && E(e, "input") && Tt(e, "click", St), !1 }, trigger: function (t) { var e = this || t; return pt.test(e.type) && e.click && E(e, "input") && Tt(e, "click"), !0 }, _default: function (t) { var e = t.target; return pt.test(e.type) && e.click && E(e, "input") && G.get(e, "click") || E(e, "a") } }, beforeunload: { postDispatch: function (t) { void 0 !== t.result && t.originalEvent && (t.originalEvent.returnValue = t.result) } } } }, k.removeEvent = function (t, e, n) { t.removeEventListener && t.removeEventListener(e, n) }, k.Event = function (t, e) { if (!(this instanceof k.Event)) return new k.Event(t, e); t && t.type ? (this.originalEvent = t, this.type = t.type, this.isDefaultPrevented = t.defaultPrevented || void 0 === t.defaultPrevented && !1 === t.returnValue ? St : Ct, this.target = t.target && 3 === t.target.nodeType ? t.target.parentNode : t.target, this.currentTarget = t.currentTarget, this.relatedTarget = t.relatedTarget) : this.type = t, e && k.extend(this, e), this.timeStamp = t && t.timeStamp || Date.now(), this[k.expando] = !0 }, k.Event.prototype = { constructor: k.Event, isDefaultPrevented: Ct, isPropagationStopped: Ct, isImmediatePropagationStopped: Ct, isSimulated: !1, preventDefault: function () { var t = this.originalEvent; this.isDefaultPrevented = St, t && !this.isSimulated && t.preventDefault() }, stopPropagation: function () { var t = this.originalEvent; this.isPropagationStopped = St, t && !this.isSimulated && t.stopPropagation() }, stopImmediatePropagation: function () { var t = this.originalEvent; this.isImmediatePropagationStopped = St, t && !this.isSimulated && t.stopImmediatePropagation(), this.stopPropagation() } }, k.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: !0 }, k.event.addProp), k.each({ focus: "focusin", blur: "focusout" }, (function (t, e) { k.event.special[t] = { setup: function () { return Tt(this, t, Mt), !1 }, trigger: function () { return Tt(this, t), !0 }, _default: function () { return !0 }, delegateType: e } })), k.each({ mouseenter: "mouseover", mouseleave: "mouseout", pointerenter: "pointerover", pointerleave: "pointerout" }, (function (t, e) { k.event.special[t] = { delegateType: e, bindType: e, handle: function (t) { var n, i = this, o = t.relatedTarget, r = t.handleObj; return o && (o === i || k.contains(i, o)) || (t.type = r.origType, n = r.handler.apply(this, arguments), t.type = e), n } } })), k.fn.extend({ on: function (t, e, n, i) { return _t(this, t, e, n, i) }, one: function (t, e, n, i) { return _t(this, t, e, n, i, 1) }, off: function (t, e, n) { var i, r; if (t && t.preventDefault && t.handleObj) return i = t.handleObj, k(t.delegateTarget).off(i.namespace ? i.origType + "." + i.namespace : i.origType, i.selector, i.handler), this; if ("object" === o(t)) { for (r in t) this.off(r, e, t[r]); return this } return !1 !== e && "function" != typeof e || (n = e, e = void 0), !1 === n && (n = Ct), this.each((function () { k.event.remove(this, t, n, e) })) } }); var Et = /<script|<style|<link/i, At = /checked\s*(?:[^=]|=\s*.checked.)/i, Ot = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g; function Pt(t, e) { return E(t, "table") && E(11 !== e.nodeType ? e : e.firstChild, "tr") && k(t).children("tbody")[0] || t } function It(t) { return t.type = (null !== t.getAttribute("type")) + "/" + t.type, t } function Dt(t) { return "true/" === (t.type || "").slice(0, 5) ? t.type = t.type.slice(5) : t.removeAttribute("type"), t } function Lt(t, e) { var n, i, o, r, l, a; if (1 === e.nodeType) { if (G.hasData(t) && (a = G.get(t).events)) for (o in G.remove(e, "handle events"), a) for (n = 0, i = a[o].length; n < i; n++)k.event.add(e, o, a[o][n]); Q.hasData(t) && (r = Q.access(t), l = k.extend({}, r), Q.set(e, l)) } } function $t(t, e) { var n = e.nodeName.toLowerCase(); "input" === n && pt.test(t.type) ? e.checked = t.checked : "input" !== n && "textarea" !== n || (e.defaultValue = t.defaultValue) } function Nt(t, e, n, i) { e = a(e); var o, r, l, s, c, u, d = 0, h = t.length, f = h - 1, p = e[0], v = g(p); if (v || h > 1 && "string" == typeof p && !m.checkClone && At.test(p)) return t.each((function (o) { var r = t.eq(o); v && (e[0] = p.call(this, o, r.html())), Nt(r, e, n, i) })); if (h && (r = (o = xt(e, t[0].ownerDocument, !1, t, i)).firstChild, 1 === o.childNodes.length && (o = r), r || i)) { for (s = (l = k.map(yt(o, "script"), It)).length; d < h; d++)c = o, d !== f && (c = k.clone(c, !0, !0), s && k.merge(l, yt(c, "script"))), n.call(t[d], c, d); if (s) for (u = l[l.length - 1].ownerDocument, k.map(l, Dt), d = 0; d < s; d++)c = l[d], gt.test(c.type || "") && !G.access(c, "globalEval") && k.contains(u, c) && (c.src && "module" !== (c.type || "").toLowerCase() ? k._evalUrl && !c.noModule && k._evalUrl(c.src, { nonce: c.nonce || c.getAttribute("nonce") }, u) : w(c.textContent.replace(Ot, ""), c, u)) } return t } function Rt(t, e, n) { for (var i, o = e ? k.filter(e, t) : t, r = 0; null != (i = o[r]); r++)n || 1 !== i.nodeType || k.cleanData(yt(i)), i.parentNode && (n && rt(i) && bt(yt(i, "script")), i.parentNode.removeChild(i)); return t } k.extend({ htmlPrefilter: function (t) { return t }, clone: function (t, e, n) { var i, o, r, l, a = t.cloneNode(!0), s = rt(t); if (!(m.noCloneChecked || 1 !== t.nodeType && 11 !== t.nodeType || k.isXMLDoc(t))) for (l = yt(a), i = 0, o = (r = yt(t)).length; i < o; i++)$t(r[i], l[i]); if (e) if (n) for (r = r || yt(t), l = l || yt(a), i = 0, o = r.length; i < o; i++)Lt(r[i], l[i]); else Lt(t, a); return (l = yt(a, "script")).length > 0 && bt(l, !s && yt(t, "script")), a }, cleanData: function (t) { for (var e, n, i, o = k.event.special, r = 0; void 0 !== (n = t[r]); r++)if (X(n)) { if (e = n[G.expando]) { if (e.events) for (i in e.events) o[i] ? k.event.remove(n, i) : k.removeEvent(n, i, e.handle); n[G.expando] = void 0 } n[Q.expando] && (n[Q.expando] = void 0) } } }), k.fn.extend({ detach: function (t) { return Rt(this, t, !0) }, remove: function (t) { return Rt(this, t) }, text: function (t) { return B(this, (function (t) { return void 0 === t ? k.text(this) : this.empty().each((function () { 1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || (this.textContent = t) })) }), null, t, arguments.length) }, append: function () { return Nt(this, arguments, (function (t) { 1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || Pt(this, t).appendChild(t) })) }, prepend: function () { return Nt(this, arguments, (function (t) { if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { var e = Pt(this, t); e.insertBefore(t, e.firstChild) } })) }, before: function () { return Nt(this, arguments, (function (t) { this.parentNode && this.parentNode.insertBefore(t, this) })) }, after: function () { return Nt(this, arguments, (function (t) { this.parentNode && this.parentNode.insertBefore(t, this.nextSibling) })) }, empty: function () { for (var t, e = 0; null != (t = this[e]); e++)1 === t.nodeType && (k.cleanData(yt(t, !1)), t.textContent = ""); return this }, clone: function (t, e) { return t = null != t && t, e = null == e ? t : e, this.map((function () { return k.clone(this, t, e) })) }, html: function (t) { return B(this, (function (t) { var e = this[0] || {}, n = 0, i = this.length; if (void 0 === t && 1 === e.nodeType) return e.innerHTML; if ("string" == typeof t && !Et.test(t) && !vt[(mt.exec(t) || ["", ""])[1].toLowerCase()]) { t = k.htmlPrefilter(t); try { for (; n < i; n++)1 === (e = this[n] || {}).nodeType && (k.cleanData(yt(e, !1)), e.innerHTML = t); e = 0 } catch (t) { } } e && this.empty().append(t) }), null, t, arguments.length) }, replaceWith: function () { var t = []; return Nt(this, arguments, (function (e) { var n = this.parentNode; k.inArray(this, t) < 0 && (k.cleanData(yt(this)), n && n.replaceChild(e, this)) }), t) } }), k.each({ appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, (function (t, e) { k.fn[t] = function (t) { for (var n, i = [], o = k(t), r = o.length - 1, l = 0; l <= r; l++)n = l === r ? this : this.clone(!0), k(o[l])[e](n), s.apply(i, n.get()); return this.pushStack(i) } })); var jt = new RegExp("^(" + et + ")(?!px)[a-z%]+$", "i"), Ft = function (e) { var n = e.ownerDocument.defaultView; return n && n.opener || (n = t), n.getComputedStyle(e) }, Vt = function (t, e, n) { var i, o, r = {}; for (o in e) r[o] = t.style[o], t.style[o] = e[o]; for (o in i = n.call(t), e) t.style[o] = r[o]; return i }, Ht = new RegExp(it.join("|"), "i"); function Wt(t, e, n) { var i, o, r, l, a = t.style; return (n = n || Ft(t)) && ("" !== (l = n.getPropertyValue(e) || n[e]) || rt(t) || (l = k.style(t, e)), !m.pixelBoxStyles() && jt.test(l) && Ht.test(e) && (i = a.width, o = a.minWidth, r = a.maxWidth, a.minWidth = a.maxWidth = a.width = l, l = n.width, a.width = i, a.minWidth = o, a.maxWidth = r)), void 0 !== l ? l + "" : l } function Bt(t, e) { return { get: function () { if (!t()) return (this.get = e).apply(this, arguments); delete this.get } } } !function () { function e() { if (u) { c.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0", u.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%", ot.appendChild(c).appendChild(u); var e = t.getComputedStyle(u); i = "1%" !== e.top, s = 12 === n(e.marginLeft), u.style.right = "60%", l = 36 === n(e.right), o = 36 === n(e.width), u.style.position = "absolute", r = 12 === n(u.offsetWidth / 3), ot.removeChild(c), u = null } } function n(t) { return Math.round(parseFloat(t)) } var i, o, r, l, a, s, c = y.createElement("div"), u = y.createElement("div"); u.style && (u.style.backgroundClip = "content-box", u.cloneNode(!0).style.backgroundClip = "", m.clearCloneStyle = "content-box" === u.style.backgroundClip, k.extend(m, { boxSizingReliable: function () { return e(), o }, pixelBoxStyles: function () { return e(), l }, pixelPosition: function () { return e(), i }, reliableMarginLeft: function () { return e(), s }, scrollboxSize: function () { return e(), r }, reliableTrDimensions: function () { var e, n, i, o; return null == a && (e = y.createElement("table"), n = y.createElement("tr"), i = y.createElement("div"), e.style.cssText = "position:absolute;left:-11111px;border-collapse:separate", n.style.cssText = "border:1px solid", n.style.height = "1px", i.style.height = "9px", i.style.display = "block", ot.appendChild(e).appendChild(n).appendChild(i), o = t.getComputedStyle(n), a = parseInt(o.height, 10) + parseInt(o.borderTopWidth, 10) + parseInt(o.borderBottomWidth, 10) === n.offsetHeight, ot.removeChild(e)), a } })) }(); var zt = ["Webkit", "Moz", "ms"], qt = y.createElement("div").style, Yt = {}; function Zt(t) { var e = k.cssProps[t] || Yt[t]; return e || (t in qt ? t : Yt[t] = function (t) { for (var e = t[0].toUpperCase() + t.slice(1), n = zt.length; n--;)if ((t = zt[n] + e) in qt) return t }(t) || t) } var Xt = /^(none|table(?!-c[ea]).+)/, Ut = /^--/, Gt = { position: "absolute", visibility: "hidden", display: "block" }, Qt = { letterSpacing: "0", fontWeight: "400" }; function Kt(t, e, n) { var i = nt.exec(e); return i ? Math.max(0, i[2] - (n || 0)) + (i[3] || "px") : e } function Jt(t, e, n, i, o, r) { var l = "width" === e ? 1 : 0, a = 0, s = 0; if (n === (i ? "border" : "content")) return 0; for (; l < 4; l += 2)"margin" === n && (s += k.css(t, n + it[l], !0, o)), i ? ("content" === n && (s -= k.css(t, "padding" + it[l], !0, o)), "margin" !== n && (s -= k.css(t, "border" + it[l] + "Width", !0, o))) : (s += k.css(t, "padding" + it[l], !0, o), "padding" !== n ? s += k.css(t, "border" + it[l] + "Width", !0, o) : a += k.css(t, "border" + it[l] + "Width", !0, o)); return !i && r >= 0 && (s += Math.max(0, Math.ceil(t["offset" + e[0].toUpperCase() + e.slice(1)] - r - s - a - .5)) || 0), s } function te(t, e, n) { var i = Ft(t), o = (!m.boxSizingReliable() || n) && "border-box" === k.css(t, "boxSizing", !1, i), r = o, l = Wt(t, e, i), a = "offset" + e[0].toUpperCase() + e.slice(1); if (jt.test(l)) { if (!n) return l; l = "auto" } return (!m.boxSizingReliable() && o || !m.reliableTrDimensions() && E(t, "tr") || "auto" === l || !parseFloat(l) && "inline" === k.css(t, "display", !1, i)) && t.getClientRects().length && (o = "border-box" === k.css(t, "boxSizing", !1, i), (r = a in t) && (l = t[a])), (l = parseFloat(l) || 0) + Jt(t, e, n || (o ? "border" : "content"), r, i, l) + "px" } function ee(t, e, n, i, o) { return new ee.prototype.init(t, e, n, i, o) } k.extend({ cssHooks: { opacity: { get: function (t, e) { if (e) { var n = Wt(t, "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 (t, e, n, i) { if (t && 3 !== t.nodeType && 8 !== t.nodeType && t.style) { var r, l, a, s = Z(e), c = Ut.test(e), u = t.style; if (c || (e = Zt(s)), a = k.cssHooks[e] || k.cssHooks[s], void 0 === n) return a && "get" in a && void 0 !== (r = a.get(t, !1, i)) ? r : u[e]; "string" === (l = o(n)) && (r = nt.exec(n)) && r[1] && (n = st(t, e, r), l = "number"), null != n && n == n && ("number" !== l || c || (n += r && r[3] || (k.cssNumber[s] ? "" : "px")), m.clearCloneStyle || "" !== n || 0 !== e.indexOf("background") || (u[e] = "inherit"), a && "set" in a && void 0 === (n = a.set(t, n, i)) || (c ? u.setProperty(e, n) : u[e] = n)) } }, css: function (t, e, n, i) { var o, r, l, a = Z(e); return Ut.test(e) || (e = Zt(a)), (l = k.cssHooks[e] || k.cssHooks[a]) && "get" in l && (o = l.get(t, !0, n)), void 0 === o && (o = Wt(t, e, i)), "normal" === o && e in Qt && (o = Qt[e]), "" === n || n ? (r = parseFloat(o), !0 === n || isFinite(r) ? r || 0 : o) : o } }), k.each(["height", "width"], (function (t, e) { k.cssHooks[e] = { get: function (t, n, i) { if (n) return !Xt.test(k.css(t, "display")) || t.getClientRects().length && t.getBoundingClientRect().width ? te(t, e, i) : Vt(t, Gt, (function () { return te(t, e, i) })) }, set: function (t, n, i) { var o, r = Ft(t), l = !m.scrollboxSize() && "absolute" === r.position, a = (l || i) && "border-box" === k.css(t, "boxSizing", !1, r), s = i ? Jt(t, e, i, a, r) : 0; return a && l && (s -= Math.ceil(t["offset" + e[0].toUpperCase() + e.slice(1)] - parseFloat(r[e]) - Jt(t, e, "border", !1, r) - .5)), s && (o = nt.exec(n)) && "px" !== (o[3] || "px") && (t.style[e] = n, n = k.css(t, e)), Kt(0, n, s) } } })), k.cssHooks.marginLeft = Bt(m.reliableMarginLeft, (function (t, e) { if (e) return (parseFloat(Wt(t, "marginLeft")) || t.getBoundingClientRect().left - Vt(t, { marginLeft: 0 }, (function () { return t.getBoundingClientRect().left }))) + "px" })), k.each({ margin: "", padding: "", border: "Width" }, (function (t, e) { k.cssHooks[t + e] = { expand: function (n) { for (var i = 0, o = {}, r = "string" == typeof n ? n.split(" ") : [n]; i < 4; i++)o[t + it[i] + e] = r[i] || r[i - 2] || r[0]; return o } }, "margin" !== t && (k.cssHooks[t + e].set = Kt) })), k.fn.extend({ css: function (t, e) { return B(this, (function (t, e, n) { var i, o, r = {}, l = 0; if (Array.isArray(e)) { for (i = Ft(t), o = e.length; l < o; l++)r[e[l]] = k.css(t, e[l], !1, i); return r } return void 0 !== n ? k.style(t, e, n) : k.css(t, e) }), t, e, arguments.length > 1) } }), k.Tween = ee, ee.prototype = { constructor: ee, init: function (t, e, n, i, o, r) { this.elem = t, this.prop = n, this.easing = o || k.easing._default, this.options = e, this.start = this.now = this.cur(), this.end = i, this.unit = r || (k.cssNumber[n] ? "" : "px") }, cur: function () { var t = ee.propHooks[this.prop]; return t && t.get ? t.get(this) : ee.propHooks._default.get(this) }, run: function (t) { var e, n = ee.propHooks[this.prop]; return this.options.duration ? this.pos = e = k.easing[this.easing](t, this.options.duration * t, 0, 1, this.options.duration) : this.pos = e = t, this.now = (this.end - this.start) * e + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), n && n.set ? n.set(this) : ee.propHooks._default.set(this), this } }, ee.prototype.init.prototype = ee.prototype, ee.propHooks = { _default: { get: function (t) { var e; return 1 !== t.elem.nodeType || null != t.elem[t.prop] && null == t.elem.style[t.prop] ? t.elem[t.prop] : (e = k.css(t.elem, t.prop, "")) && "auto" !== e ? e : 0 }, set: function (t) { k.fx.step[t.prop] ? k.fx.step[t.prop](t) : 1 !== t.elem.nodeType || !k.cssHooks[t.prop] && null == t.elem.style[Zt(t.prop)] ? t.elem[t.prop] = t.now : k.style(t.elem, t.prop, t.now + t.unit) } } }, ee.propHooks.scrollTop = ee.propHooks.scrollLeft = { set: function (t) { t.elem.nodeType && t.elem.parentNode && (t.elem[t.prop] = t.now) } }, k.easing = { linear: function (t) { return t }, swing: function (t) { return .5 - Math.cos(t * Math.PI) / 2 }, _default: "swing" }, k.fx = ee.prototype.init, k.fx.step = {}; var ne, ie, oe = /^(?:toggle|show|hide)$/, re = /queueHooks$/; function le() { ie && (!1 === y.hidden && t.requestAnimationFrame ? t.requestAnimationFrame(le) : t.setTimeout(le, k.fx.interval), k.fx.tick()) } function ae() { return t.setTimeout((function () { ne = void 0 })), ne = Date.now() } function se(t, e) { var n, i = 0, o = { height: t }; for (e = e ? 1 : 0; i < 4; i += 2 - e)o["margin" + (n = it[i])] = o["padding" + n] = t; return e && (o.opacity = o.width = t), o } function ce(t, e, n) { for (var i, o = (ue.tweeners[e] || []).concat(ue.tweeners["*"]), r = 0, l = o.length; r < l; r++)if (i = o[r].call(n, e, t)) return i } function ue(t, e, n) { var i, o, r = 0, l = ue.prefilters.length, a = k.Deferred().always((function () { delete s.elem })), s = function () { if (o) return !1; for (var e = ne || ae(), n = Math.max(0, c.startTime + c.duration - e), i = 1 - (n / c.duration || 0), r = 0, l = c.tweens.length; r < l; r++)c.tweens[r].run(i); return a.notifyWith(t, [c, i, n]), i < 1 && l ? n : (l || a.notifyWith(t, [c, 1, 0]), a.resolveWith(t, [c]), !1) }, c = a.promise({ elem: t, props: k.extend({}, e), opts: k.extend(!0, { specialEasing: {}, easing: k.easing._default }, n), originalProperties: e, originalOptions: n, startTime: ne || ae(), duration: n.duration, tweens: [], createTween: function (e, n) { var i = k.Tween(t, c.opts, e, n, c.opts.specialEasing[e] || c.opts.easing); return c.tweens.push(i), i }, stop: function (e) { var n = 0, i = e ? c.tweens.length : 0; if (o) return this; for (o = !0; n < i; n++)c.tweens[n].run(1); return e ? (a.notifyWith(t, [c, 1, 0]), a.resolveWith(t, [c, e])) : a.rejectWith(t, [c, e]), this } }), u = c.props; for (function (t, e) { var n, i, o, r, l; for (n in t) if (o = e[i = Z(n)], r = t[n], Array.isArray(r) && (o = r[1], r = t[n] = r[0]), n !== i && (t[i] = r, delete t[n]), (l = k.cssHooks[i]) && "expand" in l) for (n in r = l.expand(r), delete t[i], r) n in t || (t[n] = r[n], e[n] = o); else e[i] = o }(u, c.opts.specialEasing); r < l; r++)if (i = ue.prefilters[r].call(c, t, u, c.opts)) return g(i.stop) && (k._queueHooks(c.elem, c.opts.queue).stop = i.stop.bind(i)), i; return k.map(u, ce, c), g(c.opts.start) && c.opts.start.call(t, c), c.progress(c.opts.progress).done(c.opts.done, c.opts.complete).fail(c.opts.fail).always(c.opts.always), k.fx.timer(k.extend(s, { elem: t, anim: c, queue: c.opts.queue })), c } k.Animation = k.extend(ue, { tweeners: { "*": [function (t, e) { var n = this.createTween(t, e); return st(n.elem, t, nt.exec(e), n), n }] }, tweener: function (t, e) { g(t) ? (e = t, t = ["*"]) : t = t.match(N); for (var n, i = 0, o = t.length; i < o; i++)n = t[i], ue.tweeners[n] = ue.tweeners[n] || [], ue.tweeners[n].unshift(e) }, prefilters: [function (t, e, n) { var i, o, r, l, a, s, c, u, d = "width" in e || "height" in e, h = this, f = {}, p = t.style, m = t.nodeType && at(t), g = G.get(t, "fxshow"); for (i in n.queue || (null == (l = k._queueHooks(t, "fx")).unqueued && (l.unqueued = 0, a = l.empty.fire, l.empty.fire = function () { l.unqueued || a() }), l.unqueued++, h.always((function () { h.always((function () { l.unqueued--, k.queue(t, "fx").length || l.empty.fire() })) }))), e) if (o = e[i], oe.test(o)) { if (delete e[i], r = r || "toggle" === o, o === (m ? "hide" : "show")) { if ("show" !== o || !g || void 0 === g[i]) continue; m = !0 } f[i] = g && g[i] || k.style(t, i) } if ((s = !k.isEmptyObject(e)) || !k.isEmptyObject(f)) for (i in d && 1 === t.nodeType && (n.overflow = [p.overflow, p.overflowX, p.overflowY], null == (c = g && g.display) && (c = G.get(t, "display")), "none" === (u = k.css(t, "display")) && (c ? u = c : (dt([t], !0), c = t.style.display || c, u = k.css(t, "display"), dt([t]))), ("inline" === u || "inline-block" === u && null != c) && "none" === k.css(t, "float") && (s || (h.done((function () { p.display = c })), null == c && (u = p.display, c = "none" === u ? "" : u)), p.display = "inline-block")), n.overflow && (p.overflow = "hidden", h.always((function () { p.overflow = n.overflow[0], p.overflowX = n.overflow[1], p.overflowY = n.overflow[2] }))), s = !1, f) s || (g ? "hidden" in g && (m = g.hidden) : g = G.access(t, "fxshow", { display: c }), r && (g.hidden = !m), m && dt([t], !0), h.done((function () { for (i in m || dt([t]), G.remove(t, "fxshow"), f) k.style(t, i, f[i]) }))), s = ce(m ? g[i] : 0, i, h), i in g || (g[i] = s.start, m && (s.end = s.start, s.start = 0)) }], prefilter: function (t, e) { e ? ue.prefilters.unshift(t) : ue.prefilters.push(t) } }), k.speed = function (t, e, n) { var i = t && "object" === o(t) ? k.extend({}, t) : { complete: n || !n && e || g(t) && t, duration: t, easing: n && e || e && !g(e) && e }; return k.fx.off ? i.duration = 0 : "number" != typeof i.duration && (i.duration in k.fx.speeds ? i.duration = k.fx.speeds[i.duration] : i.duration = k.fx.speeds._default), null != i.queue && !0 !== i.queue || (i.queue = "fx"), i.old = i.complete, i.complete = function () { g(i.old) && i.old.call(this), i.queue && k.dequeue(this, i.queue) }, i }, k.fn.extend({ fadeTo: function (t, e, n, i) { return this.filter(at).css("opacity", 0).show().end().animate({ opacity: e }, t, n, i) }, animate: function (t, e, n, i) { var o = k.isEmptyObject(t), r = k.speed(e, n, i), l = function () { var e = ue(this, k.extend({}, t), r); (o || G.get(this, "finish")) && e.stop(!0) }; return l.finish = l, o || !1 === r.queue ? this.each(l) : this.queue(r.queue, l) }, stop: function (t, e, n) { var i = function (t) { var e = t.stop; delete t.stop, e(n) }; return "string" != typeof t && (n = e, e = t, t = void 0), e && this.queue(t || "fx", []), this.each((function () { var e = !0, o = null != t && t + "queueHooks", r = k.timers, l = G.get(this); if (o) l[o] && l[o].stop && i(l[o]); else for (o in l) l[o] && l[o].stop && re.test(o) && i(l[o]); for (o = r.length; o--;)r[o].elem !== this || null != t && r[o].queue !== t || (r[o].anim.stop(n), e = !1, r.splice(o, 1)); !e && n || k.dequeue(this, t) })) }, finish: function (t) { return !1 !== t && (t = t || "fx"), this.each((function () { var e, n = G.get(this), i = n[t + "queue"], o = n[t + "queueHooks"], r = k.timers, l = i ? i.length : 0; for (n.finish = !0, k.queue(this, t, []), o && o.stop && o.stop.call(this, !0), e = r.length; e--;)r[e].elem === this && r[e].queue === t && (r[e].anim.stop(!0), r.splice(e, 1)); for (e = 0; e < l; e++)i[e] && i[e].finish && i[e].finish.call(this); delete n.finish })) } }), k.each(["toggle", "show", "hide"], (function (t, e) { var n = k.fn[e]; k.fn[e] = function (t, i, o) { return null == t || "boolean" == typeof t ? n.apply(this, arguments) : this.animate(se(e, !0), t, i, o) } })), k.each({ slideDown: se("show"), slideUp: se("hide"), slideToggle: se("toggle"), fadeIn: { opacity: "show" }, fadeOut: { opacity: "hide" }, fadeToggle: { opacity: "toggle" } }, (function (t, e) { k.fn[t] = function (t, n, i) { return this.animate(e, t, n, i) } })), k.timers = [], k.fx.tick = function () { var t, e = 0, n = k.timers; for (ne = Date.now(); e < n.length; e++)(t = n[e])() || n[e] !== t || n.splice(e--, 1); n.length || k.fx.stop(), ne = void 0 }, k.fx.timer = function (t) { k.timers.push(t), k.fx.start() }, k.fx.interval = 13, k.fx.start = function () { ie || (ie = !0, le()) }, k.fx.stop = function () { ie = null }, k.fx.speeds = { slow: 600, fast: 200, _default: 400 }, k.fn.delay = function (e, n) { return e = k.fx && k.fx.speeds[e] || e, n = n || "fx", this.queue(n, (function (n, i) { var o = t.setTimeout(n, e); i.stop = function () { t.clearTimeout(o) } })) }, function () { var t = y.createElement("input"), e = y.createElement("select").appendChild(y.createElement("option")); t.type = "checkbox", m.checkOn = "" !== t.value, m.optSelected = e.selected, (t = y.createElement("input")).value = "t", t.type = "radio", m.radioValue = "t" === t.value }(); var de, he = k.expr.attrHandle; k.fn.extend({ attr: function (t, e) { return B(this, k.attr, t, e, arguments.length > 1) }, removeAttr: function (t) { return this.each((function () { k.removeAttr(this, t) })) } }), k.extend({ attr: function (t, e, n) { var i, o, r = t.nodeType; if (3 !== r && 8 !== r && 2 !== r) return void 0 === t.getAttribute ? k.prop(t, e, n) : (1 === r && k.isXMLDoc(t) || (o = k.attrHooks[e.toLowerCase()] || (k.expr.match.bool.test(e) ? de : void 0)), void 0 !== n ? null === n ? void k.removeAttr(t, e) : o && "set" in o && void 0 !== (i = o.set(t, n, e)) ? i : (t.setAttribute(e, n + ""), n) : o && "get" in o && null !== (i = o.get(t, e)) ? i : null == (i = k.find.attr(t, e)) ? void 0 : i) }, attrHooks: { type: { set: function (t, e) { if (!m.radioValue && "radio" === e && E(t, "input")) { var n = t.value; return t.setAttribute("type", e), n && (t.value = n), e } } } }, removeAttr: function (t, e) { var n, i = 0, o = e && e.match(N); if (o && 1 === t.nodeType) for (; n = o[i++];)t.removeAttribute(n) } }), de = { set: function (t, e, n) { return !1 === e ? k.removeAttr(t, n) : t.setAttribute(n, n), n } }, k.each(k.expr.match.bool.source.match(/\w+/g), (function (t, e) { var n = he[e] || k.find.attr; he[e] = function (t, e, i) { var o, r, l = e.toLowerCase(); return i || (r = he[l], he[l] = o, o = null != n(t, e, i) ? l : null, he[l] = r), o } })); var fe = /^(?:input|select|textarea|button)$/i, pe = /^(?:a|area)$/i; function me(t) { return (t.match(N) || []).join(" ") } function ge(t) { return t.getAttribute && t.getAttribute("class") || "" } function ve(t) { return Array.isArray(t) ? t : "string" == typeof t && t.match(N) || [] } k.fn.extend({ prop: function (t, e) { return B(this, k.prop, t, e, arguments.length > 1) }, removeProp: function (t) { return this.each((function () { delete this[k.propFix[t] || t] })) } }), k.extend({ prop: function (t, e, n) { var i, o, r = t.nodeType; if (3 !== r && 8 !== r && 2 !== r) return 1 === r && k.isXMLDoc(t) || (e = k.propFix[e] || e, o = k.propHooks[e]), void 0 !== n ? o && "set" in o && void 0 !== (i = o.set(t, n, e)) ? i : t[e] = n : o && "get" in o && null !== (i = o.get(t, e)) ? i : t[e] }, propHooks: { tabIndex: { get: function (t) { var e = k.find.attr(t, "tabindex"); return e ? parseInt(e, 10) : fe.test(t.nodeName) || pe.test(t.nodeName) && t.href ? 0 : -1 } } }, propFix: { for: "htmlFor", class: "className" } }), m.optSelected || (k.propHooks.selected = { get: function (t) { var e = t.parentNode; return e && e.parentNode && e.parentNode.selectedIndex, null }, set: function (t) { var e = t.parentNode; e && (e.selectedIndex, e.parentNode && e.parentNode.selectedIndex) } }), k.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], (function () { k.propFix[this.toLowerCase()] = this })), k.fn.extend({ addClass: function (t) { var e, n, i, o, r, l, a, s = 0; if (g(t)) return this.each((function (e) { k(this).addClass(t.call(this, e, ge(this))) })); if ((e = ve(t)).length) for (; n = this[s++];)if (o = ge(n), i = 1 === n.nodeType && " " + me(o) + " ") { for (l = 0; r = e[l++];)i.indexOf(" " + r + " ") < 0 && (i += r + " "); o !== (a = me(i)) && n.setAttribute("class", a) } return this }, removeClass: function (t) { var e, n, i, o, r, l, a, s = 0; if (g(t)) return this.each((function (e) { k(this).removeClass(t.call(this, e, ge(this))) })); if (!arguments.length) return this.attr("class", ""); if ((e = ve(t)).length) for (; n = this[s++];)if (o = ge(n), i = 1 === n.nodeType && " " + me(o) + " ") { for (l = 0; r = e[l++];)for (; i.indexOf(" " + r + " ") > -1;)i = i.replace(" " + r + " ", " "); o !== (a = me(i)) && n.setAttribute("class", a) } return this }, toggleClass: function (t, e) { var n = o(t), i = "string" === n || Array.isArray(t); return "boolean" == typeof e && i ? e ? this.addClass(t) : this.removeClass(t) : g(t) ? this.each((function (n) { k(this).toggleClass(t.call(this, n, ge(this), e), e) })) : this.each((function () { var e, o, r, l; if (i) for (o = 0, r = k(this), l = ve(t); e = l[o++];)r.hasClass(e) ? r.removeClass(e) : r.addClass(e); else void 0 !== t && "boolean" !== n || ((e = ge(this)) && G.set(this, "__className__", e), this.setAttribute && this.setAttribute("class", e || !1 === t ? "" : G.get(this, "__className__") || "")) })) }, hasClass: function (t) { var e, n, i = 0; for (e = " " + t + " "; n = this[i++];)if (1 === n.nodeType && (" " + me(ge(n)) + " ").indexOf(e) > -1) return !0; return !1 } }); var ye = /\r/g; k.fn.extend({ val: function (t) { var e, n, i, o = this[0]; return arguments.length ? (i = g(t), this.each((function (n) { var o; 1 === this.nodeType && (null == (o = i ? t.call(this, n, k(this).val()) : t) ? o = "" : "number" == typeof o ? o += "" : Array.isArray(o) && (o = k.map(o, (function (t) { return null == t ? "" : t + "" }))), (e = k.valHooks[this.type] || k.valHooks[this.nodeName.toLowerCase()]) && "set" in e && void 0 !== e.set(this, o, "value") || (this.value = o)) }))) : o ? (e = k.valHooks[o.type] || k.valHooks[o.nodeName.toLowerCase()]) && "get" in e && void 0 !== (n = e.get(o, "value")) ? n : "string" == typeof (n = o.value) ? n.replace(ye, "") : null == n ? "" : n : void 0 } }), k.extend({ valHooks: { option: { get: function (t) { var e = k.find.attr(t, "value"); return null != e ? e : me(k.text(t)) } }, select: { get: function (t) { var e, n, i, o = t.options, r = t.selectedIndex, l = "select-one" === t.type, a = l ? null : [], s = l ? r + 1 : o.length; for (i = r < 0 ? s : l ? r : 0; i < s; i++)if (((n = o[i]).selected || i === r) && !n.disabled && (!n.parentNode.disabled || !E(n.parentNode, "optgroup"))) { if (e = k(n).val(), l) return e; a.push(e) } return a }, set: function (t, e) { for (var n, i, o = t.options, r = k.makeArray(e), l = o.length; l--;)((i = o[l]).selected = k.inArray(k.valHooks.option.get(i), r) > -1) && (n = !0); return n || (t.selectedIndex = -1), r } } } }), k.each(["radio", "checkbox"], (function () { k.valHooks[this] = { set: function (t, e) { if (Array.isArray(e)) return t.checked = k.inArray(k(t).val(), e) > -1 } }, m.checkOn || (k.valHooks[this].get = function (t) { return null === t.getAttribute("value") ? "on" : t.value }) })), m.focusin = "onfocusin" in t; var be = /^(?:focusinfocus|focusoutblur)$/, we = function (t) { t.stopPropagation() }; k.extend(k.event, { trigger: function (e, n, i, r) { var l, a, s, c, u, d, f, p, m = [i || y], b = h.call(e, "type") ? e.type : e, w = h.call(e, "namespace") ? e.namespace.split(".") : []; if (a = p = s = i = i || y, 3 !== i.nodeType && 8 !== i.nodeType && !be.test(b + k.event.triggered) && (b.indexOf(".") > -1 && (w = b.split("."), b = w.shift(), w.sort()), u = b.indexOf(":") < 0 && "on" + b, (e = e[k.expando] ? e : new k.Event(b, "object" === o(e) && e)).isTrigger = r ? 2 : 3, e.namespace = w.join("."), e.rnamespace = e.namespace ? new RegExp("(^|\\.)" + w.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, e.result = void 0, e.target || (e.target = i), n = null == n ? [e] : k.makeArray(n, [e]), f = k.event.special[b] || {}, r || !f.trigger || !1 !== f.trigger.apply(i, n))) { if (!r && !f.noBubble && !v(i)) { for (c = f.delegateType || b, be.test(c + b) || (a = a.parentNode); a; a = a.parentNode)m.push(a), s = a; s === (i.ownerDocument || y) && m.push(s.defaultView || s.parentWindow || t) } for (l = 0; (a = m[l++]) && !e.isPropagationStopped();)p = a, e.type = l > 1 ? c : f.bindType || b, (d = (G.get(a, "events") || Object.create(null))[e.type] && G.get(a, "handle")) && d.apply(a, n), (d = u && a[u]) && d.apply && X(a) && (e.result = d.apply(a, n), !1 === e.result && e.preventDefault()); return e.type = b, r || e.isDefaultPrevented() || f._default && !1 !== f._default.apply(m.pop(), n) || !X(i) || u && g(i[b]) && !v(i) && ((s = i[u]) && (i[u] = null), k.event.triggered = b, e.isPropagationStopped() && p.addEventListener(b, we), i[b](), e.isPropagationStopped() && p.removeEventListener(b, we), k.event.triggered = void 0, s && (i[u] = s)), e.result } }, simulate: function (t, e, n) { var i = k.extend(new k.Event, n, { type: t, isSimulated: !0 }); k.event.trigger(i, null, e) } }), k.fn.extend({ trigger: function (t, e) { return this.each((function () { k.event.trigger(t, e, this) })) }, triggerHandler: function (t, e) { var n = this[0]; if (n) return k.event.trigger(t, e, n, !0) } }), m.focusin || k.each({ focus: "focusin", blur: "focusout" }, (function (t, e) { var n = function (t) { k.event.simulate(e, t.target, k.event.fix(t)) }; k.event.special[e] = { setup: function () { var i = this.ownerDocument || this.document || this, o = G.access(i, e); o || i.addEventListener(t, n, !0), G.access(i, e, (o || 0) + 1) }, teardown: function () { var i = this.ownerDocument || this.document || this, o = G.access(i, e) - 1; o ? G.access(i, e, o) : (i.removeEventListener(t, n, !0), G.remove(i, e)) } } })); var xe = t.location, ke = { guid: Date.now() }, Se = /\?/; k.parseXML = function (e) { var n, i; if (!e || "string" != typeof e) return null; try { n = (new t.DOMParser).parseFromString(e, "text/xml") } catch (t) { } return i = n && n.getElementsByTagName("parsererror")[0], n && !i || k.error("Invalid XML: " + (i ? k.map(i.childNodes, (function (t) { return t.textContent })).join("\n") : e)), n }; var Ce = /\[\]$/, Me = /\r?\n/g, _e = /^(?:submit|button|image|reset|file)$/i, Te = /^(?:input|select|textarea|keygen)/i; function Ee(t, e, n, i) { var r; if (Array.isArray(e)) k.each(e, (function (e, r) { n || Ce.test(t) ? i(t, r) : Ee(t + "[" + ("object" === o(r) && null != r ? e : "") + "]", r, n, i) })); else if (n || "object" !== x(e)) i(t, e); else for (r in e) Ee(t + "[" + r + "]", e[r], n, i) } k.param = function (t, e) { var n, i = [], o = function (t, e) { var n = g(e) ? e() : e; i[i.length] = encodeURIComponent(t) + "=" + encodeURIComponent(null == n ? "" : n) }; if (null == t) return ""; if (Array.isArray(t) || t.jquery && !k.isPlainObject(t)) k.each(t, (function () { o(this.name, this.value) })); else for (n in t) Ee(n, t[n], e, o); return i.join("&") }, k.fn.extend({ serialize: function () { return k.param(this.serializeArray()) }, serializeArray: function () { return this.map((function () { var t = k.prop(this, "elements"); return t ? k.makeArray(t) : this })).filter((function () { var t = this.type; return this.name && !k(this).is(":disabled") && Te.test(this.nodeName) && !_e.test(t) && (this.checked || !pt.test(t)) })).map((function (t, e) { var n = k(this).val(); return null == n ? null : Array.isArray(n) ? k.map(n, (function (t) { return { name: e.name, value: t.replace(Me, "\r\n") } })) : { name: e.name, value: n.replace(Me, "\r\n") } })).get() } }); var Ae = /%20/g, Oe = /#.*$/, Pe = /([?&])_=[^&]*/, Ie = /^(.*?):[ \t]*([^\r\n]*)$/gm, De = /^(?:GET|HEAD)$/, Le = /^\/\//, $e = {}, Ne = {}, Re = "*/".concat("*"), je = y.createElement("a"); function Fe(t) { return function (e, n) { "string" != typeof e && (n = e, e = "*"); var i, o = 0, r = e.toLowerCase().match(N) || []; if (g(n)) for (; i = r[o++];)"+" === i[0] ? (i = i.slice(1) || "*", (t[i] = t[i] || []).unshift(n)) : (t[i] = t[i] || []).push(n) } } function Ve(t, e, n, i) { var o = {}, r = t === Ne; function l(a) { var s; return o[a] = !0, k.each(t[a] || [], (function (t, a) { var c = a(e, n, i); return "string" != typeof c || r || o[c] ? r ? !(s = c) : void 0 : (e.dataTypes.unshift(c), l(c), !1) })), s } return l(e.dataTypes[0]) || !o["*"] && l("*") } function He(t, e) { var n, i, o = k.ajaxSettings.flatOptions || {}; for (n in e) void 0 !== e[n] && ((o[n] ? t : i || (i = {}))[n] = e[n]); return i && k.extend(!0, t, i), t } je.href = xe.href, k.extend({ active: 0, lastModified: {}, etag: {}, ajaxSettings: { url: xe.href, type: "GET", isLocal: /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xe.protocol), global: !0, processData: !0, async: !0, contentType: "application/x-www-form-urlencoded; charset=UTF-8", accepts: { "*": Re, 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": k.parseXML }, flatOptions: { url: !0, context: !0 } }, ajaxSetup: function (t, e) { return e ? He(He(t, k.ajaxSettings), e) : He(k.ajaxSettings, t) }, ajaxPrefilter: Fe($e), ajaxTransport: Fe(Ne), ajax: function (e, n) { "object" === o(e) && (n = e, e = void 0), n = n || {}; var i, r, l, a, s, c, u, d, h, f, p = k.ajaxSetup({}, n), m = p.context || p, g = p.context && (m.nodeType || m.jquery) ? k(m) : k.event, v = k.Deferred(), b = k.Callbacks("once memory"), w = p.statusCode || {}, x = {}, S = {}, C = "canceled", M = { readyState: 0, getResponseHeader: function (t) { var e; if (u) { if (!a) for (a = {}; e = Ie.exec(l);)a[e[1].toLowerCase() + " "] = (a[e[1].toLowerCase() + " "] || []).concat(e[2]); e = a[t.toLowerCase() + " "] } return null == e ? null : e.join(", ") }, getAllResponseHeaders: function () { return u ? l : null }, setRequestHeader: function (t, e) { return null == u && (t = S[t.toLowerCase()] = S[t.toLowerCase()] || t, x[t] = e), this }, overrideMimeType: function (t) { return null == u && (p.mimeType = t), this }, statusCode: function (t) { var e; if (t) if (u) M.always(t[M.status]); else for (e in t) w[e] = [w[e], t[e]]; return this }, abort: function (t) { var e = t || C; return i && i.abort(e), _(0, e), this } }; if (v.promise(M), p.url = ((e || p.url || xe.href) + "").replace(Le, xe.protocol + "//"), p.type = n.method || n.type || p.method || p.type, p.dataTypes = (p.dataType || "*").toLowerCase().match(N) || [""], null == p.crossDomain) { c = y.createElement("a"); try { c.href = p.url, c.href = c.href, p.crossDomain = je.protocol + "//" + je.host != c.protocol + "//" + c.host } catch (t) { p.crossDomain = !0 } } if (p.data && p.processData && "string" != typeof p.data && (p.data = k.param(p.data, p.traditional)), Ve($e, p, n, M), u) return M; for (h in (d = k.event && p.global) && 0 == k.active++ && k.event.trigger("ajaxStart"), p.type = p.type.toUpperCase(), p.hasContent = !De.test(p.type), r = p.url.replace(Oe, ""), p.hasContent ? p.data && p.processData && 0 === (p.contentType || "").indexOf("application/x-www-form-urlencoded") && (p.data = p.data.replace(Ae, "+")) : (f = p.url.slice(r.length), p.data && (p.processData || "string" == typeof p.data) && (r += (Se.test(r) ? "&" : "?") + p.data, delete p.data), !1 === p.cache && (r = r.replace(Pe, "$1"), f = (Se.test(r) ? "&" : "?") + "_=" + ke.guid++ + f), p.url = r + f), p.ifModified && (k.lastModified[r] && M.setRequestHeader("If-Modified-Since", k.lastModified[r]), k.etag[r] && M.setRequestHeader("If-None-Match", k.etag[r])), (p.data && p.hasContent && !1 !== p.contentType || n.contentType) && M.setRequestHeader("Content-Type", p.contentType), M.setRequestHeader("Accept", p.dataTypes[0] && p.accepts[p.dataTypes[0]] ? p.accepts[p.dataTypes[0]] + ("*" !== p.dataTypes[0] ? ", " + Re + "; q=0.01" : "") : p.accepts["*"]), p.headers) M.setRequestHeader(h, p.headers[h]); if (p.beforeSend && (!1 === p.beforeSend.call(m, M, p) || u)) return M.abort(); if (C = "abort", b.add(p.complete), M.done(p.success), M.fail(p.error), i = Ve(Ne, p, n, M)) { if (M.readyState = 1, d && g.trigger("ajaxSend", [M, p]), u) return M; p.async && p.timeout > 0 && (s = t.setTimeout((function () { M.abort("timeout") }), p.timeout)); try { u = !1, i.send(x, _) } catch (t) { if (u) throw t; _(-1, t) } } else _(-1, "No Transport"); function _(e, n, o, a) { var c, h, f, y, x, S = n; u || (u = !0, s && t.clearTimeout(s), i = void 0, l = a || "", M.readyState = e > 0 ? 4 : 0, c = e >= 200 && e < 300 || 304 === e, o && (y = function (t, e, n) { for (var i, o, r, l, a = t.contents, s = t.dataTypes; "*" === s[0];)s.shift(), void 0 === i && (i = t.mimeType || e.getResponseHeader("Content-Type")); if (i) for (o in a) if (a[o] && a[o].test(i)) { s.unshift(o); break } if (s[0] in n) r = s[0]; else { for (o in n) { if (!s[0] || t.converters[o + " " + s[0]]) { r = o; break } l || (l = o) } r = r || l } if (r) return r !== s[0] && s.unshift(r), n[r] }(p, M, o)), !c && k.inArray("script", p.dataTypes) > -1 && k.inArray("json", p.dataTypes) < 0 && (p.converters["text script"] = function () { }), y = function (t, e, n, i) { var o, r, l, a, s, c = {}, u = t.dataTypes.slice(); if (u[1]) for (l in t.converters) c[l.toLowerCase()] = t.converters[l]; for (r = u.shift(); r;)if (t.responseFields[r] && (n[t.responseFields[r]] = e), !s && i && t.dataFilter && (e = t.dataFilter(e, t.dataType)), s = r, r = u.shift()) if ("*" === r) r = s; else if ("*" !== s && s !== r) { if (!(l = c[s + " " + r] || c["* " + r])) for (o in c) if ((a = o.split(" "))[1] === r && (l = c[s + " " + a[0]] || c["* " + a[0]])) { !0 === l ? l = c[o] : !0 !== c[o] && (r = a[0], u.unshift(a[1])); break } if (!0 !== l) if (l && t.throws) e = l(e); else try { e = l(e) } catch (t) { return { state: "parsererror", error: l ? t : "No conversion from " + s + " to " + r } } } return { state: "success", data: e } }(p, y, M, c), c ? (p.ifModified && ((x = M.getResponseHeader("Last-Modified")) && (k.lastModified[r] = x), (x = M.getResponseHeader("etag")) && (k.etag[r] = x)), 204 === e || "HEAD" === p.type ? S = "nocontent" : 304 === e ? S = "notmodified" : (S = y.state, h = y.data, c = !(f = y.error))) : (f = S, !e && S || (S = "error", e < 0 && (e = 0))), M.status = e, M.statusText = (n || S) + "", c ? v.resolveWith(m, [h, S, M]) : v.rejectWith(m, [M, S, f]), M.statusCode(w), w = void 0, d && g.trigger(c ? "ajaxSuccess" : "ajaxError", [M, p, c ? h : f]), b.fireWith(m, [M, S]), d && (g.trigger("ajaxComplete", [M, p]), --k.active || k.event.trigger("ajaxStop"))) } return M }, getJSON: function (t, e, n) { return k.get(t, e, n, "json") }, getScript: function (t, e) { return k.get(t, void 0, e, "script") } }), k.each(["get", "post"], (function (t, e) { k[e] = function (t, n, i, o) { return g(n) && (o = o || i, i = n, n = void 0), k.ajax(k.extend({ url: t, type: e, dataType: o, data: n, success: i }, k.isPlainObject(t) && t)) } })), k.ajaxPrefilter((function (t) { var e; for (e in t.headers) "content-type" === e.toLowerCase() && (t.contentType = t.headers[e] || "") })), k._evalUrl = function (t, e, n) { return k.ajax({ url: t, type: "GET", dataType: "script", cache: !0, async: !1, global: !1, converters: { "text script": function () { } }, dataFilter: function (t) { k.globalEval(t, e, n) } }) }, k.fn.extend({ wrapAll: function (t) { var e; return this[0] && (g(t) && (t = t.call(this[0])), e = k(t, this[0].ownerDocument).eq(0).clone(!0), this[0].parentNode && e.insertBefore(this[0]), e.map((function () { for (var t = this; t.firstElementChild;)t = t.firstElementChild; return t })).append(this)), this }, wrapInner: function (t) { return g(t) ? this.each((function (e) { k(this).wrapInner(t.call(this, e)) })) : this.each((function () { var e = k(this), n = e.contents(); n.length ? n.wrapAll(t) : e.append(t) })) }, wrap: function (t) { var e = g(t); return this.each((function (n) { k(this).wrapAll(e ? t.call(this, n) : t) })) }, unwrap: function (t) { return this.parent(t).not("body").each((function () { k(this).replaceWith(this.childNodes) })), this } }), k.expr.pseudos.hidden = function (t) { return !k.expr.pseudos.visible(t) }, k.expr.pseudos.visible = function (t) { return !!(t.offsetWidth || t.offsetHeight || t.getClientRects().length) }, k.ajaxSettings.xhr = function () { try { return new t.XMLHttpRequest } catch (t) { } }; var We = { 0: 200, 1223: 204 }, Be = k.ajaxSettings.xhr(); m.cors = !!Be && "withCredentials" in Be, m.ajax = Be = !!Be, k.ajaxTransport((function (e) { var n, i; if (m.cors || Be && !e.crossDomain) return { send: function (o, r) { var l, a = e.xhr(); if (a.open(e.type, e.url, e.async, e.username, e.password), e.xhrFields) for (l in e.xhrFields) a[l] = e.xhrFields[l]; for (l in e.mimeType && a.overrideMimeType && a.overrideMimeType(e.mimeType), e.crossDomain || o["X-Requested-With"] || (o["X-Requested-With"] = "XMLHttpRequest"), o) a.setRequestHeader(l, o[l]); n = function (t) { return function () { n && (n = i = a.onload = a.onerror = a.onabort = a.ontimeout = a.onreadystatechange = null, "abort" === t ? a.abort() : "error" === t ? "number" != typeof a.status ? r(0, "error") : r(a.status, a.statusText) : r(We[a.status] || a.status, a.statusText, "text" !== (a.responseType || "text") || "string" != typeof a.responseText ? { binary: a.response } : { text: a.responseText }, a.getAllResponseHeaders())) } }, a.onload = n(), i = a.onerror = a.ontimeout = n("error"), void 0 !== a.onabort ? a.onabort = i : a.onreadystatechange = function () { 4 === a.readyState && t.setTimeout((function () { n && i() })) }, n = n("abort"); try { a.send(e.hasContent && e.data || null) } catch (t) { if (n) throw t } }, abort: function () { n && n() } } })), k.ajaxPrefilter((function (t) { t.crossDomain && (t.contents.script = !1) })), k.ajaxSetup({ accepts: { script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" }, contents: { script: /\b(?:java|ecma)script\b/ }, converters: { "text script": function (t) { return k.globalEval(t), t } } }), k.ajaxPrefilter("script", (function (t) { void 0 === t.cache && (t.cache = !1), t.crossDomain && (t.type = "GET") })), k.ajaxTransport("script", (function (t) { var e, n; if (t.crossDomain || t.scriptAttrs) return { send: function (i, o) { e = k("<script>").attr(t.scriptAttrs || {}).prop({ charset: t.scriptCharset, src: t.url }).on("load error", n = function (t) { e.remove(), n = null, t && o("error" === t.type ? 404 : 200, t.type) }), y.head.appendChild(e[0]) }, abort: function () { n && n() } } })); var ze, qe = [], Ye = /(=)\?(?=&|$)|\?\?/; k.ajaxSetup({ jsonp: "callback", jsonpCallback: function () { var t = qe.pop() || k.expando + "_" + ke.guid++; return this[t] = !0, t } }), k.ajaxPrefilter("json jsonp", (function (e, n, i) { var o, r, l, a = !1 !== e.jsonp && (Ye.test(e.url) ? "url" : "string" == typeof e.data && 0 === (e.contentType || "").indexOf("application/x-www-form-urlencoded") && Ye.test(e.data) && "data"); if (a || "jsonp" === e.dataTypes[0]) return o = e.jsonpCallback = g(e.jsonpCallback) ? e.jsonpCallback() : e.jsonpCallback, a ? e[a] = e[a].replace(Ye, "$1" + o) : !1 !== e.jsonp && (e.url += (Se.test(e.url) ? "&" : "?") + e.jsonp + "=" + o), e.converters["script json"] = function () { return l || k.error(o + " was not called"), l[0] }, e.dataTypes[0] = "json", r = t[o], t[o] = function () { l = arguments }, i.always((function () { void 0 === r ? k(t).removeProp(o) : t[o] = r, e[o] && (e.jsonpCallback = n.jsonpCallback, qe.push(o)), l && g(r) && r(l[0]), l = r = void 0 })), "script" })), m.createHTMLDocument = ((ze = y.implementation.createHTMLDocument("").body).innerHTML = "<form></form><form></form>", 2 === ze.childNodes.length), k.parseHTML = function (t, e, n) { return "string" != typeof t ? [] : ("boolean" == typeof e && (n = e, e = !1), e || (m.createHTMLDocument ? ((i = (e = y.implementation.createHTMLDocument("")).createElement("base")).href = y.location.href, e.head.appendChild(i)) : e = y), r = !n && [], (o = A.exec(t)) ? [e.createElement(o[1])] : (o = xt([t], e, r), r && r.length && k(r).remove(), k.merge([], o.childNodes))); var i, o, r }, k.fn.load = function (t, e, n) { var i, r, l, a = this, s = t.indexOf(" "); return s > -1 && (i = me(t.slice(s)), t = t.slice(0, s)), g(e) ? (n = e, e = void 0) : e && "object" === o(e) && (r = "POST"), a.length > 0 && k.ajax({ url: t, type: r || "GET", dataType: "html", data: e }).done((function (t) { l = arguments, a.html(i ? k("<div>").append(k.parseHTML(t)).find(i) : t) })).always(n && function (t, e) { a.each((function () { n.apply(this, l || [t.responseText, e, t]) })) }), this }, k.expr.pseudos.animated = function (t) { return k.grep(k.timers, (function (e) { return t === e.elem })).length }, k.offset = { setOffset: function (t, e, n) { var i, o, r, l, a, s, c = k.css(t, "position"), u = k(t), d = {}; "static" === c && (t.style.position = "relative"), a = u.offset(), r = k.css(t, "top"), s = k.css(t, "left"), ("absolute" === c || "fixed" === c) && (r + s).indexOf("auto") > -1 ? (l = (i = u.position()).top, o = i.left) : (l = parseFloat(r) || 0, o = parseFloat(s) || 0), g(e) && (e = e.call(t, n, k.extend({}, a))), null != e.top && (d.top = e.top - a.top + l), null != e.left && (d.left = e.left - a.left + o), "using" in e ? e.using.call(t, d) : u.css(d) } }, k.fn.extend({ offset: function (t) { if (arguments.length) return void 0 === t ? this : this.each((function (e) { k.offset.setOffset(this, t, e) })); var e, n, i = this[0]; return i ? i.getClientRects().length ? (e = i.getBoundingClientRect(), n = i.ownerDocument.defaultView, { top: e.top + n.pageYOffset, left: e.left + n.pageXOffset }) : { top: 0, left: 0 } : void 0 }, position: function () { if (this[0]) { var t, e, n, i = this[0], o = { top: 0, left: 0 }; if ("fixed" === k.css(i, "position")) e = i.getBoundingClientRect(); else { for (e = this.offset(), n = i.ownerDocument, t = i.offsetParent || n.documentElement; t && (t === n.body || t === n.documentElement) && "static" === k.css(t, "position");)t = t.parentNode; t && t !== i && 1 === t.nodeType && ((o = k(t).offset()).top += k.css(t, "borderTopWidth", !0), o.left += k.css(t, "borderLeftWidth", !0)) } return { top: e.top - o.top - k.css(i, "marginTop", !0), left: e.left - o.left - k.css(i, "marginLeft", !0) } } }, offsetParent: function () { return this.map((function () { for (var t = this.offsetParent; t && "static" === k.css(t, "position");)t = t.offsetParent; return t || ot })) } }), k.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, (function (t, e) { var n = "pageYOffset" === e; k.fn[t] = function (i) { return B(this, (function (t, i, o) { var r; if (v(t) ? r = t : 9 === t.nodeType && (r = t.defaultView), void 0 === o) return r ? r[e] : t[i]; r ? r.scrollTo(n ? r.pageXOffset : o, n ? o : r.pageYOffset) : t[i] = o }), t, i, arguments.length) } })), k.each(["top", "left"], (function (t, e) { k.cssHooks[e] = Bt(m.pixelPosition, (function (t, n) { if (n) return n = Wt(t, e), jt.test(n) ? k(t).position()[e] + "px" : n })) })), k.each({ Height: "height", Width: "width" }, (function (t, e) { k.each({ padding: "inner" + t, content: e, "": "outer" + t }, (function (n, i) { k.fn[i] = function (o, r) { var l = arguments.length && (n || "boolean" != typeof o), a = n || (!0 === o || !0 === r ? "margin" : "border"); return B(this, (function (e, n, o) { var r; return v(e) ? 0 === i.indexOf("outer") ? e["inner" + t] : e.document.documentElement["client" + t] : 9 === e.nodeType ? (r = e.documentElement, Math.max(e.body["scroll" + t], r["scroll" + t], e.body["offset" + t], r["offset" + t], r["client" + t])) : void 0 === o ? k.css(e, n, a) : k.style(e, n, o, a) }), e, l ? o : void 0, l) } })) })), k.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], (function (t, e) { k.fn[e] = function (t) { return this.on(e, t) } })), k.fn.extend({ bind: function (t, e, n) { return this.on(t, null, e, n) }, unbind: function (t, e) { return this.off(t, null, e) }, delegate: function (t, e, n, i) { return this.on(e, t, n, i) }, undelegate: function (t, e, n) { return 1 === arguments.length ? this.off(t, "**") : this.off(e, t || "**", n) }, hover: function (t, e) { return this.mouseenter(t).mouseleave(e || t) } }), k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), (function (t, e) { k.fn[e] = function (t, n) { return arguments.length > 0 ? this.on(e, null, t, n) : this.trigger(e) } })); var Ze = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; k.proxy = function (t, e) { var n, i, o; if ("string" == typeof e && (n = t[e], e = t, t = n), g(t)) return i = l.call(arguments, 2), (o = function () { return t.apply(e || this, i.concat(l.call(arguments))) }).guid = t.guid = t.guid || k.guid++, o }, k.holdReady = function (t) { t ? k.readyWait++ : k.ready(!0) }, k.isArray = Array.isArray, k.parseJSON = JSON.parse, k.nodeName = E, k.isFunction = g, k.isWindow = v, k.camelCase = Z, k.type = x, k.now = Date.now, k.isNumeric = function (t) { var e = k.type(t); return ("number" === e || "string" === e) && !isNaN(t - parseFloat(t)) }, k.trim = function (t) { return null == t ? "" : (t + "").replace(Ze, "") }, "function" == typeof define && n(24) && define("jquery", [], (function () { return k })); var Xe = t.jQuery, Ue = t.$; return k.noConflict = function (e) { return t.$ === k && (t.$ = Ue), e && t.jQuery === k && (t.jQuery = Xe), k }, void 0 === e && (t.jQuery = t.$ = k), k
}, "object" === o(t) && "object" === o(t.exports) ? t.exports = e.document ? i(e, !0) : function (t) { if (!t.document) throw new Error("jQuery requires a window with a document"); return i(t) } : i(e)
}).call(this, n(27)(t))
}, function (t, e, n) { "use strict"; var i = n(0), o = n(158), r = n(20), l = n(5), a = n(37), s = n(87); i({ target: "Array", proto: !0 }, { flat: function () { var t = arguments.length ? arguments[0] : void 0, e = r(this), n = l(e.length), i = s(e, 0); return i.length = o(i, e, e, n, 0, void 0 === t ? 1 : a(t)), i } }) }, function (t, e, n) { "use strict"; var i = n(56), o = n(5), r = n(73), l = function (t, e, n, a, s, c, u, d) { for (var h, f = s, p = 0, m = !!u && r(u, d, 3); p < a;) { if (p in n) { if (h = m ? m(n[p], p, e) : n[p], c > 0 && i(h)) f = l(t, e, h, o(h.length), f, c - 1) - 1; else { if (f >= 9007199254740991) throw TypeError("Exceed the acceptable array length"); t[f] = h } f++ } p++ } return f }; t.exports = l }, function (t, e, n) { n(63)("flat") }, function (t, e, n) {
"use strict"; (function (t, e) {
var i; n(10), n(16), n(17), n(31), n(36), n(6), n(140), n(38), n(12), n(8), n(32), n(111), n(90), n(28), n(138), n(60), n(59), n(93), n(42), n(7), n(46), n(44), n(162), n(14), n(18), n(43), n(35), n(137), n(30), n(53), n(40), n(19); function o(t) { return (o = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.14.7
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/i = function () { for (var e = "undefined" != typeof window && "undefined" != typeof document, n = ["Edge", "Trident", "Firefox"], i = 0, o = 0; o < n.length; o += 1)if (e && navigator.userAgent.indexOf(n[o]) >= 0) { i = 1; break } var r = e && window.Promise ? function (t) { var e = !1; return function () { e || (e = !0, window.Promise.resolve().then((function () { e = !1, t() }))) } } : function (t) { var e = !1; return function () { e || (e = !0, setTimeout((function () { e = !1, t() }), i)) } }; function l(t) { return t && "[object Function]" === {}.toString.call(t) } function a(t, e) { if (1 !== t.nodeType) return []; var n = t.ownerDocument.defaultView.getComputedStyle(t, null); return e ? n[e] : n } function s(t) { return "HTML" === t.nodeName ? t : t.parentNode || t.host } function c(t) { if (!t) return document.body; switch (t.nodeName) { case "HTML": case "BODY": return t.ownerDocument.body; case "#document": return t.body }var e = a(t), n = e.overflow, i = e.overflowX, o = e.overflowY; return /(auto|scroll|overlay)/.test(n + o + i) ? t : c(s(t)) } var u = e && !(!window.MSInputMethodContext || !document.documentMode), d = e && /MSIE 10/.test(navigator.userAgent); function h(t) { return 11 === t ? u : 10 === t ? d : u || d } function f(t) { if (!t) return document.documentElement; for (var e = h(10) ? document.body : null, n = t.offsetParent || null; n === e && t.nextElementSibling;)n = (t = t.nextElementSibling).offsetParent; var i = n && n.nodeName; return i && "BODY" !== i && "HTML" !== i ? -1 !== ["TH", "TD", "TABLE"].indexOf(n.nodeName) && "static" === a(n, "position") ? f(n) : n : t ? t.ownerDocument.documentElement : document.documentElement } function p(t) { return null !== t.parentNode ? p(t.parentNode) : t } function m(t, e) { if (!(t && t.nodeType && e && e.nodeType)) return document.documentElement; var n = t.compareDocumentPosition(e) & Node.DOCUMENT_POSITION_FOLLOWING, i = n ? t : e, o = n ? e : t, r = document.createRange(); r.setStart(i, 0), r.setEnd(o, 0); var l, a, s = r.commonAncestorContainer; if (t !== s && e !== s || i.contains(o)) return "BODY" === (a = (l = s).nodeName) || "HTML" !== a && f(l.firstElementChild) !== l ? f(s) : s; var c = p(t); return c.host ? m(c.host, e) : m(t, p(e).host) } function g(t) { var e = "top" === (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "top") ? "scrollTop" : "scrollLeft", n = t.nodeName; if ("BODY" === n || "HTML" === n) { var i = t.ownerDocument.documentElement; return (t.ownerDocument.scrollingElement || i)[e] } return t[e] } function v(t, e) { var n = "x" === e ? "Left" : "Top", i = "Left" === n ? "Right" : "Bottom"; return parseFloat(t["border" + n + "Width"], 10) + parseFloat(t["border" + i + "Width"], 10) } function y(t, e, n, i) { return Math.max(e["offset" + t], e["scroll" + t], n["client" + t], n["offset" + t], n["scroll" + t], h(10) ? parseInt(n["offset" + t]) + parseInt(i["margin" + ("Height" === t ? "Top" : "Left")]) + parseInt(i["margin" + ("Height" === t ? "Bottom" : "Right")]) : 0) } function b(t) { var e = t.body, n = t.documentElement, i = h(10) && getComputedStyle(n); return { height: y("Height", e, n, i), width: y("Width", e, n, i) } } var w = function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }, x = function () { function t(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } return function (e, n, i) { return n && t(e.prototype, n), i && t(e, i), e } }(), k = function (t, e, n) { return e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t }, S = Object.assign || function (t) { for (var e = 1; e < arguments.length; e++) { var n = arguments[e]; for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]) } return t }; function C(t) { return S({}, t, { right: t.left + t.width, bottom: t.top + t.height }) } function M(t) { var e = {}; try { if (h(10)) { e = t.getBoundingClientRect(); var n = g(t, "top"), i = g(t, "left"); e.top += n, e.left += i, e.bottom += n, e.right += i } else e = t.getBoundingClientRect() } catch (t) { } var o = { left: e.left, top: e.top, width: e.right - e.left, height: e.bottom - e.top }, r = "HTML" === t.nodeName ? b(t.ownerDocument) : {}, l = r.width || t.clientWidth || o.right - o.left, s = r.height || t.clientHeight || o.bottom - o.top, c = t.offsetWidth - l, u = t.offsetHeight - s; if (c || u) { var d = a(t); c -= v(d, "x"), u -= v(d, "y"), o.width -= c, o.height -= u } return C(o) } function _(t, e) { var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], i = h(10), o = "HTML" === e.nodeName, r = M(t), l = M(e), s = c(t), u = a(e), d = parseFloat(u.borderTopWidth, 10), f = parseFloat(u.borderLeftWidth, 10); n && o && (l.top = Math.max(l.top, 0), l.left = Math.max(l.left, 0)); var p = C({ top: r.top - l.top - d, left: r.left - l.left - f, width: r.width, height: r.height }); if (p.marginTop = 0, p.marginLeft = 0, !i && o) { var m = parseFloat(u.marginTop, 10), v = parseFloat(u.marginLeft, 10); p.top -= d - m, p.bottom -= d - m, p.left -= f - v, p.right -= f - v, p.marginTop = m, p.marginLeft = v } return (i && !n ? e.contains(s) : e === s && "BODY" !== s.nodeName) && (p = function (t, e) { var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], i = g(e, "top"), o = g(e, "left"), r = n ? -1 : 1; return t.top += i * r, t.bottom += i * r, t.left += o * r, t.right += o * r, t }(p, e)), p } function T(t) { if (!t || !t.parentElement || h()) return document.documentElement; for (var e = t.parentElement; e && "none" === a(e, "transform");)e = e.parentElement; return e || document.documentElement } function E(t, e, n, i) { var o = arguments.length > 4 && void 0 !== arguments[4] && arguments[4], r = { top: 0, left: 0 }, l = o ? T(t) : m(t, e); if ("viewport" === i) r = function (t) { var e = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], n = t.ownerDocument.documentElement, i = _(t, n), o = Math.max(n.clientWidth, window.innerWidth || 0), r = Math.max(n.clientHeight, window.innerHeight || 0), l = e ? 0 : g(n), a = e ? 0 : g(n, "left"); return C({ top: l - i.top + i.marginTop, left: a - i.left + i.marginLeft, width: o, height: r }) }(l, o); else { var u = void 0; "scrollParent" === i ? "BODY" === (u = c(s(e))).nodeName && (u = t.ownerDocument.documentElement) : u = "window" === i ? t.ownerDocument.documentElement : i; var d = _(u, l, o); if ("HTML" !== u.nodeName || function t(e) { var n = e.nodeName; if ("BODY" === n || "HTML" === n) return !1; if ("fixed" === a(e, "position")) return !0; var i = s(e); return !!i && t(i) }(l)) r = d; else { var h = b(t.ownerDocument), f = h.height, p = h.width; r.top += d.top - d.marginTop, r.bottom = f + d.top, r.left += d.left - d.marginLeft, r.right = p + d.left } } var v = "number" == typeof (n = n || 0); return r.left += v ? n : n.left || 0, r.top += v ? n : n.top || 0, r.right -= v ? n : n.right || 0, r.bottom -= v ? n : n.bottom || 0, r } function A(t, e, n, i, o) { var r = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 0; if (-1 === t.indexOf("auto")) return t; var l = E(n, i, r, o), a = { top: { width: l.width, height: e.top - l.top }, right: { width: l.right - e.right, height: l.height }, bottom: { width: l.width, height: l.bottom - e.bottom }, left: { width: e.left - l.left, height: l.height } }, s = Object.keys(a).map((function (t) { return S({ key: t }, a[t], { area: (e = a[t], e.width * e.height) }); var e })).sort((function (t, e) { return e.area - t.area })), c = s.filter((function (t) { var e = t.width, i = t.height; return e >= n.clientWidth && i >= n.clientHeight })), u = c.length > 0 ? c[0].key : s[0].key, d = t.split("-")[1]; return u + (d ? "-" + d : "") } function O(t, e, n) { var i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null; return _(n, i ? T(e) : m(e, n), i) } function P(t) { var e = t.ownerDocument.defaultView.getComputedStyle(t), n = parseFloat(e.marginTop || 0) + parseFloat(e.marginBottom || 0), i = parseFloat(e.marginLeft || 0) + parseFloat(e.marginRight || 0); return { width: t.offsetWidth + i, height: t.offsetHeight + n } } function I(t) { var e = { left: "right", right: "left", bottom: "top", top: "bottom" }; return t.replace(/left|right|bottom|top/g, (function (t) { return e[t] })) } function D(t, e, n) { n = n.split("-")[0]; var i = P(t), o = { width: i.width, height: i.height }, r = -1 !== ["right", "left"].indexOf(n), l = r ? "top" : "left", a = r ? "left" : "top", s = r ? "height" : "width", c = r ? "width" : "height"; return o[l] = e[l] + e[s] / 2 - i[s] / 2, o[a] = n === a ? e[a] - i[c] : e[I(a)], o } function L(t, e) { return Array.prototype.find ? t.find(e) : t.filter(e)[0] } function $(t, e, n) { return (void 0 === n ? t : t.slice(0, function (t, e, n) { if (Array.prototype.findIndex) return t.findIndex((function (t) { return t[e] === n })); var i = L(t, (function (t) { return t[e] === n })); return t.indexOf(i) }(t, "name", n))).forEach((function (t) { t.function && console.warn("`modifier.function` is deprecated, use `modifier.fn`!"); var n = t.function || t.fn; t.enabled && l(n) && (e.offsets.popper = C(e.offsets.popper), e.offsets.reference = C(e.offsets.reference), e = n(e, t)) })), e } function N() { if (!this.state.isDestroyed) { var t = { instance: this, styles: {}, arrowStyles: {}, attributes: {}, flipped: !1, offsets: {} }; t.offsets.reference = O(this.state, this.popper, this.reference, this.options.positionFixed), t.placement = A(this.options.placement, t.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding), t.originalPlacement = t.placement, t.positionFixed = this.options.positionFixed, t.offsets.popper = D(this.popper, t.offsets.reference, t.placement), t.offsets.popper.position = this.options.positionFixed ? "fixed" : "absolute", t = $(this.modifiers, t), this.state.isCreated ? this.options.onUpdate(t) : (this.state.isCreated = !0, this.options.onCreate(t)) } } function R(t, e) { return t.some((function (t) { var n = t.name; return t.enabled && n === e })) } function j(t) { for (var e = [!1, "ms", "Webkit", "Moz", "O"], n = t.charAt(0).toUpperCase() + t.slice(1), i = 0; i < e.length; i++) { var o = e[i], r = o ? "" + o + n : t; if (void 0 !== document.body.style[r]) return r } return null } function F() { return this.state.isDestroyed = !0, R(this.modifiers, "applyStyle") && (this.popper.removeAttribute("x-placement"), this.popper.style.position = "", this.popper.style.top = "", this.popper.style.left = "", this.popper.style.right = "", this.popper.style.bottom = "", this.popper.style.willChange = "", this.popper.style[j("transform")] = ""), this.disableEventListeners(), this.options.removeOnDestroy && this.popper.parentNode.removeChild(this.popper), this } function V(t) { var e = t.ownerDocument; return e ? e.defaultView : window } function H(t, e, n, i) { n.updateBound = i, V(t).addEventListener("resize", n.updateBound, { passive: !0 }); var o = c(t); return function t(e, n, i, o) { var r = "BODY" === e.nodeName, l = r ? e.ownerDocument.defaultView : e; l.addEventListener(n, i, { passive: !0 }), r || t(c(l.parentNode), n, i, o), o.push(l) }(o, "scroll", n.updateBound, n.scrollParents), n.scrollElement = o, n.eventsEnabled = !0, n } function W() { this.state.eventsEnabled || (this.state = H(this.reference, this.options, this.state, this.scheduleUpdate)) } function B() { var t, e; this.state.eventsEnabled && (cancelAnimationFrame(this.scheduleUpdate), this.state = (t = this.reference, e = this.state, V(t).removeEventListener("resize", e.updateBound), e.scrollParents.forEach((function (t) { t.removeEventListener("scroll", e.updateBound) })), e.updateBound = null, e.scrollParents = [], e.scrollElement = null, e.eventsEnabled = !1, e)) } function z(t) { return "" !== t && !isNaN(parseFloat(t)) && isFinite(t) } function q(t, e) { Object.keys(e).forEach((function (n) { var i = ""; -1 !== ["width", "height", "top", "right", "bottom", "left"].indexOf(n) && z(e[n]) && (i = "px"), t.style[n] = e[n] + i })) } var Y = e && /Firefox/i.test(navigator.userAgent); function Z(t, e, n) { var i = L(t, (function (t) { return t.name === e })), o = !!i && t.some((function (t) { return t.name === n && t.enabled && t.order < i.order })); if (!o) { var r = "`" + e + "`", l = "`" + n + "`"; console.warn(l + " modifier is required by " + r + " modifier in order to work, be sure to include it before " + r + "!") } return o } var X = ["auto-start", "auto", "auto-end", "top-start", "top", "top-end", "right-start", "right", "right-end", "bottom-end", "bottom", "bottom-start", "left-end", "left", "left-start"], U = X.slice(3); function G(t) { var e = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], n = U.indexOf(t), i = U.slice(n + 1).concat(U.slice(0, n)); return e ? i.reverse() : i } var Q = { FLIP: "flip", CLOCKWISE: "clockwise", COUNTERCLOCKWISE: "counterclockwise" }; function K(t, e, n, i) { var o = [0, 0], r = -1 !== ["right", "left"].indexOf(i), l = t.split(/(\+|\-)/).map((function (t) { return t.trim() })), a = l.indexOf(L(l, (function (t) { return -1 !== t.search(/,|\s/) }))); l[a] && -1 === l[a].indexOf(",") && console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."); var s = /\s*,\s*|\s+/, c = -1 !== a ? [l.slice(0, a).concat([l[a].split(s)[0]]), [l[a].split(s)[1]].concat(l.slice(a + 1))] : [l]; return (c = c.map((function (t, i) { var o = (1 === i ? !r : r) ? "height" : "width", l = !1; return t.reduce((function (t, e) { return "" === t[t.length - 1] && -1 !== ["+", "-"].indexOf(e) ? (t[t.length - 1] = e, l = !0, t) : l ? (t[t.length - 1] += e, l = !1, t) : t.concat(e) }), []).map((function (t) { return function (t, e, n, i) { var o = t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/), r = +o[1], l = o[2]; if (!r) return t; if (0 === l.indexOf("%")) { var a = void 0; switch (l) { case "%p": a = n; break; case "%": case "%r": default: a = i }return C(a)[e] / 100 * r } return "vh" === l || "vw" === l ? ("vh" === l ? Math.max(document.documentElement.clientHeight, window.innerHeight || 0) : Math.max(document.documentElement.clientWidth, window.innerWidth || 0)) / 100 * r : r }(t, o, e, n) })) }))).forEach((function (t, e) { t.forEach((function (n, i) { z(n) && (o[e] += n * ("-" === t[i - 1] ? -1 : 1)) })) })), o } var J = { placement: "bottom", positionFixed: !1, eventsEnabled: !0, removeOnDestroy: !1, onCreate: function () { }, onUpdate: function () { }, modifiers: { shift: { order: 100, enabled: !0, fn: function (t) { var e = t.placement, n = e.split("-")[0], i = e.split("-")[1]; if (i) { var o = t.offsets, r = o.reference, l = o.popper, a = -1 !== ["bottom", "top"].indexOf(n), s = a ? "left" : "top", c = a ? "width" : "height", u = { start: k({}, s, r[s]), end: k({}, s, r[s] + r[c] - l[c]) }; t.offsets.popper = S({}, l, u[i]) } return t } }, offset: { order: 200, enabled: !0, fn: function (t, e) { var n = e.offset, i = t.placement, o = t.offsets, r = o.popper, l = o.reference, a = i.split("-")[0], s = void 0; return s = z(+n) ? [+n, 0] : K(n, r, l, a), "left" === a ? (r.top += s[0], r.left -= s[1]) : "right" === a ? (r.top += s[0], r.left += s[1]) : "top" === a ? (r.left += s[0], r.top -= s[1]) : "bottom" === a && (r.left += s[0], r.top += s[1]), t.popper = r, t }, offset: 0 }, preventOverflow: { order: 300, enabled: !0, fn: function (t, e) { var n = e.boundariesElement || f(t.instance.popper); t.instance.reference === n && (n = f(n)); var i = j("transform"), o = t.instance.popper.style, r = o.top, l = o.left, a = o[i]; o.top = "", o.left = "", o[i] = ""; var s = E(t.instance.popper, t.instance.reference, e.padding, n, t.positionFixed); o.top = r, o.left = l, o[i] = a, e.boundaries = s; var c = e.priority, u = t.offsets.popper, d = { primary: function (t) { var n = u[t]; return u[t] < s[t] && !e.escapeWithReference && (n = Math.max(u[t], s[t])), k({}, t, n) }, secondary: function (t) { var n = "right" === t ? "left" : "top", i = u[n]; return u[t] > s[t] && !e.escapeWithReference && (i = Math.min(u[n], s[t] - ("right" === t ? u.width : u.height))), k({}, n, i) } }; return c.forEach((function (t) { var e = -1 !== ["left", "top"].indexOf(t) ? "primary" : "secondary"; u = S({}, u, d[e](t)) })), t.offsets.popper = u, t }, priority: ["left", "right", "top", "bottom"], padding: 5, boundariesElement: "scrollParent" }, keepTogether: { order: 400, enabled: !0, fn: function (t) { var e = t.offsets, n = e.popper, i = e.reference, o = t.placement.split("-")[0], r = Math.floor, l = -1 !== ["top", "bottom"].indexOf(o), a = l ? "right" : "bottom", s = l ? "left" : "top", c = l ? "width" : "height"; return n[a] < r(i[s]) && (t.offsets.popper[s] = r(i[s]) - n[c]), n[s] > r(i[a]) && (t.offsets.popper[s] = r(i[a])), t } }, arrow: { order: 500, enabled: !0, fn: function (t, e) { var n; if (!Z(t.instance.modifiers, "arrow", "keepTogether")) return t; var i = e.element; if ("string" == typeof i) { if (!(i = t.instance.popper.querySelector(i))) return t } else if (!t.instance.popper.contains(i)) return console.warn("WARNING: `arrow.element` must be child of its popper element!"), t; var o = t.placement.split("-")[0], r = t.offsets, l = r.popper, s = r.reference, c = -1 !== ["left", "right"].indexOf(o), u = c ? "height" : "width", d = c ? "Top" : "Left", h = d.toLowerCase(), f = c ? "left" : "top", p = c ? "bottom" : "right", m = P(i)[u]; s[p] - m < l[h] && (t.offsets.popper[h] -= l[h] - (s[p] - m)), s[h] + m > l[p] && (t.offsets.popper[h] += s[h] + m - l[p]), t.offsets.popper = C(t.offsets.popper); var g = s[h] + s[u] / 2 - m / 2, v = a(t.instance.popper), y = parseFloat(v["margin" + d], 10), b = parseFloat(v["border" + d + "Width"], 10), w = g - t.offsets.popper[h] - y - b; return w = Math.max(Math.min(l[u] - m, w), 0), t.arrowElement = i, t.offsets.arrow = (k(n = {}, h, Math.round(w)), k(n, f, ""), n), t }, element: "[x-arrow]" }, flip: { order: 600, enabled: !0, fn: function (t, e) { if (R(t.instance.modifiers, "inner")) return t; if (t.flipped && t.placement === t.originalPlacement) return t; var n = E(t.instance.popper, t.instance.reference, e.padding, e.boundariesElement, t.positionFixed), i = t.placement.split("-")[0], o = I(i), r = t.placement.split("-")[1] || "", l = []; switch (e.behavior) { case Q.FLIP: l = [i, o]; break; case Q.CLOCKWISE: l = G(i); break; case Q.COUNTERCLOCKWISE: l = G(i, !0); break; default: l = e.behavior }return l.forEach((function (a, s) { if (i !== a || l.length === s + 1) return t; i = t.placement.split("-")[0], o = I(i); var c = t.offsets.popper, u = t.offsets.reference, d = Math.floor, h = "left" === i && d(c.right) > d(u.left) || "right" === i && d(c.left) < d(u.right) || "top" === i && d(c.bottom) > d(u.top) || "bottom" === i && d(c.top) < d(u.bottom), f = d(c.left) < d(n.left), p = d(c.right) > d(n.right), m = d(c.top) < d(n.top), g = d(c.bottom) > d(n.bottom), v = "left" === i && f || "right" === i && p || "top" === i && m || "bottom" === i && g, y = -1 !== ["top", "bottom"].indexOf(i), b = !!e.flipVariations && (y && "start" === r && f || y && "end" === r && p || !y && "start" === r && m || !y && "end" === r && g); (h || v || b) && (t.flipped = !0, (h || v) && (i = l[s + 1]), b && (r = function (t) { return "end" === t ? "start" : "start" === t ? "end" : t }(r)), t.placement = i + (r ? "-" + r : ""), t.offsets.popper = S({}, t.offsets.popper, D(t.instance.popper, t.offsets.reference, t.placement)), t = $(t.instance.modifiers, t, "flip")) })), t }, behavior: "flip", padding: 5, boundariesElement: "viewport" }, inner: { order: 700, enabled: !1, fn: function (t) { var e = t.placement, n = e.split("-")[0], i = t.offsets, o = i.popper, r = i.reference, l = -1 !== ["left", "right"].indexOf(n), a = -1 === ["top", "left"].indexOf(n); return o[l ? "left" : "top"] = r[n] - (a ? o[l ? "width" : "height"] : 0), t.placement = I(e), t.offsets.popper = C(o), t } }, hide: { order: 800, enabled: !0, fn: function (t) { if (!Z(t.instance.modifiers, "hide", "preventOverflow")) return t; var e = t.offsets.reference, n = L(t.instance.modifiers, (function (t) { return "preventOverflow" === t.name })).boundaries; if (e.bottom < n.top || e.left > n.right || e.top > n.bottom || e.right < n.left) { if (!0 === t.hide) return t; t.hide = !0, t.attributes["x-out-of-boundaries"] = "" } else { if (!1 === t.hide) return t; t.hide = !1, t.attributes["x-out-of-boundaries"] = !1 } return t } }, computeStyle: { order: 850, enabled: !0, fn: function (t, e) { var n = e.x, i = e.y, o = t.offsets.popper, r = L(t.instance.modifiers, (function (t) { return "applyStyle" === t.name })).gpuAcceleration; void 0 !== r && console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!"); var l = void 0 !== r ? r : e.gpuAcceleration, a = f(t.instance.popper), s = M(a), c = { position: o.position }, u = function (t, e) { var n = t.offsets, i = n.popper, o = n.reference, r = Math.round, l = Math.floor, a = function (t) { return t }, s = r(o.width), c = r(i.width), u = -1 !== ["left", "right"].indexOf(t.placement), d = -1 !== t.placement.indexOf("-"), h = e ? u || d || s % 2 == c % 2 ? r : l : a, f = e ? r : a; return { left: h(s % 2 == 1 && c % 2 == 1 && !d && e ? i.left - 1 : i.left), top: f(i.top), bottom: f(i.bottom), right: h(i.right) } }(t, window.devicePixelRatio < 2 || !Y), d = "bottom" === n ? "top" : "bottom", h = "right" === i ? "left" : "right", p = j("transform"), m = void 0, g = void 0; if (g = "bottom" === d ? "HTML" === a.nodeName ? -a.clientHeight + u.bottom : -s.height + u.bottom : u.top, m = "right" === h ? "HTML" === a.nodeName ? -a.clientWidth + u.right : -s.width + u.right : u.left, l && p) c[p] = "translate3d(" + m + "px, " + g + "px, 0)", c[d] = 0, c[h] = 0, c.willChange = "transform"; else { var v = "bottom" === d ? -1 : 1, y = "right" === h ? -1 : 1; c[d] = g * v, c[h] = m * y, c.willChange = d + ", " + h } var b = { "x-placement": t.placement }; return t.attributes = S({}, b, t.attributes), t.styles = S({}, c, t.styles), t.arrowStyles = S({}, t.offsets.arrow, t.arrowStyles), t }, gpuAcceleration: !0, x: "bottom", y: "right" }, applyStyle: { order: 900, enabled: !0, fn: function (t) { var e, n; return q(t.instance.popper, t.styles), e = t.instance.popper, n = t.attributes, Object.keys(n).forEach((function (t) { !1 !== n[t] ? e.setAttribute(t, n[t]) : e.removeAttribute(t) })), t.arrowElement && Object.keys(t.arrowStyles).length && q(t.arrowElement, t.arrowStyles), t }, onLoad: function (t, e, n, i, o) { var r = O(o, e, t, n.positionFixed), l = A(n.placement, r, e, t, n.modifiers.flip.boundariesElement, n.modifiers.flip.padding); return e.setAttribute("x-placement", l), q(e, { position: n.positionFixed ? "fixed" : "absolute" }), n }, gpuAcceleration: void 0 } } }, tt = function () { function t(e, n) { var i = this, o = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; w(this, t), this.scheduleUpdate = function () { return requestAnimationFrame(i.update) }, this.update = r(this.update.bind(this)), this.options = S({}, t.Defaults, o), this.state = { isDestroyed: !1, isCreated: !1, scrollParents: [] }, this.reference = e && e.jquery ? e[0] : e, this.popper = n && n.jquery ? n[0] : n, this.options.modifiers = {}, Object.keys(S({}, t.Defaults.modifiers, o.modifiers)).forEach((function (e) { i.options.modifiers[e] = S({}, t.Defaults.modifiers[e] || {}, o.modifiers ? o.modifiers[e] : {}) })), this.modifiers = Object.keys(this.options.modifiers).map((function (t) { return S({ name: t }, i.options.modifiers[t]) })).sort((function (t, e) { return t.order - e.order })), this.modifiers.forEach((function (t) { t.enabled && l(t.onLoad) && t.onLoad(i.reference, i.popper, i.options, t, i.state) })), this.update(); var a = this.options.eventsEnabled; a && this.enableEventListeners(), this.state.eventsEnabled = a } return x(t, [{ key: "update", value: function () { return N.call(this) } }, { key: "destroy", value: function () { return F.call(this) } }, { key: "enableEventListeners", value: function () { return W.call(this) } }, { key: "disableEventListeners", value: function () { return B.call(this) } }]), t }(); return tt.Utils = ("undefined" != typeof window ? window : t).PopperUtils, tt.placements = X, tt.Defaults = J, tt }, "object" === ("undefined" == typeof exports ? "undefined" : o(exports)) && void 0 !== e ? e.exports = i() : "function" == typeof define && n(24) ? define(i) : window.Popper = i()
}).call(this, n(91), n(27)(t))
}, function (t, e, n) { "use strict"; var i = n(9), o = n(2), r = n(71), l = n(100), a = n(83), s = n(20), c = n(68), u = Object.assign; t.exports = !u || o((function () { var t = {}, e = {}, n = Symbol(); return t[n] = 7, "abcdefghijklmnopqrst".split("").forEach((function (t) { e[t] = t })), 7 != u({}, t)[n] || "abcdefghijklmnopqrst" != r(u({}, e)).join("") })) ? function (t, e) { for (var n = s(t), o = arguments.length, u = 1, d = l.f, h = a.f; o > u;)for (var f, p = c(arguments[u++]), m = d ? r(p).concat(d(p)) : r(p), g = m.length, v = 0; g > v;)f = m[v++], i && !h.call(p, f) || (n[f] = p[f]); return n } : u }, function (t, e, n) { "use strict"; var i, o, r, l, a = n(0), s = n(69), c = n(1), u = n(99), d = n(163), h = n(34), f = n(131), p = n(58), m = n(102), g = n(15), v = n(57), y = n(103), b = n(41), w = n(164), x = n(129), k = n(51), S = n(132).set, C = n(165), M = n(166), _ = n(167), T = n(133), E = n(168), A = n(104), O = n(49), P = n(86), I = n(4)("species"), D = "Promise", L = O.get, $ = O.set, N = O.getterFor(D), R = d, j = c.TypeError, F = c.document, V = c.process, H = c.fetch, W = V && V.versions, B = W && W.v8 || "", z = T.f, q = z, Y = "process" == b(V), Z = !!(F && F.createEvent && c.dispatchEvent), X = P(D, (function () { var t = R.resolve(1), e = function () { }, n = (t.constructor = {})[I] = function (t) { t(e, e) }; return !((Y || "function" == typeof PromiseRejectionEvent) && (!s || t.finally) && t.then(e) instanceof n && 0 !== B.indexOf("6.6") && -1 === A.indexOf("Chrome/66")) })), U = X || !x((function (t) { R.all(t).catch((function () { })) })), G = function (t) { var e; return !(!g(t) || "function" != typeof (e = t.then)) && e }, Q = function (t, e, n) { if (!e.notified) { e.notified = !0; var i = e.reactions; C((function () { for (var o = e.value, r = 1 == e.state, l = 0; i.length > l;) { var a, s, c, u = i[l++], d = r ? u.ok : u.fail, h = u.resolve, f = u.reject, p = u.domain; try { d ? (r || (2 === e.rejection && et(t, e), e.rejection = 1), !0 === d ? a = o : (p && p.enter(), a = d(o), p && (p.exit(), c = !0)), a === u.promise ? f(j("Promise-chain cycle")) : (s = G(a)) ? s.call(a, h, f) : h(a)) : f(o) } catch (t) { p && !c && p.exit(), f(t) } } e.reactions = [], e.notified = !1, n && !e.rejection && J(t, e) })) } }, K = function (t, e, n) { var i, o; Z ? ((i = F.createEvent("Event")).promise = e, i.reason = n, i.initEvent(t, !1, !0), c.dispatchEvent(i)) : i = { promise: e, reason: n }, (o = c["on" + t]) ? o(i) : "unhandledrejection" === t && _("Unhandled promise rejection", n) }, J = function (t, e) { S.call(c, (function () { var n, i = e.value; if (tt(e) && (n = E((function () { Y ? V.emit("unhandledRejection", i, t) : K("unhandledrejection", t, i) })), e.rejection = Y || tt(e) ? 2 : 1, n.error)) throw n.value })) }, tt = function (t) { return 1 !== t.rejection && !t.parent }, et = function (t, e) { S.call(c, (function () { Y ? V.emit("rejectionHandled", t) : K("rejectionhandled", t, e.value) })) }, nt = function (t, e, n, i) { return function (o) { t(e, n, o, i) } }, it = function (t, e, n, i) { e.done || (e.done = !0, i && (e = i), e.value = n, e.state = 2, Q(t, e, !0)) }, ot = function (t, e, n, i) { if (!e.done) { e.done = !0, i && (e = i); try { if (t === n) throw j("Promise can't be resolved itself"); var o = G(n); o ? C((function () { var i = { done: !1 }; try { o.call(n, nt(ot, t, i, e), nt(it, t, i, e)) } catch (n) { it(t, i, n, e) } })) : (e.value = n, e.state = 1, Q(t, e, !1)) } catch (n) { it(t, { done: !1 }, n, e) } } }; X && (R = function (t) { y(this, R, D), v(t), i.call(this); var e = L(this); try { t(nt(ot, this, e), nt(it, this, e)) } catch (t) { it(this, e, t) } }, (i = function (t) { $(this, { type: D, done: !1, notified: !1, parent: !1, reactions: [], rejection: !1, state: 0, value: void 0 }) }).prototype = f(R.prototype, { then: function (t, e) { var n = N(this), i = z(k(this, R)); return i.ok = "function" != typeof t || t, i.fail = "function" == typeof e && e, i.domain = Y ? V.domain : void 0, n.parent = !0, n.reactions.push(i), 0 != n.state && Q(this, n, !1), i.promise }, catch: function (t) { return this.then(void 0, t) } }), o = function () { var t = new i, e = L(t); this.promise = t, this.resolve = nt(ot, t, e), this.reject = nt(it, t, e) }, T.f = z = function (t) { return t === R || t === r ? new o(t) : q(t) }, s || "function" != typeof d || (l = d.prototype.then, h(d.prototype, "then", (function (t, e) { var n = this; return new R((function (t, e) { l.call(n, t, e) })).then(t, e) }), { unsafe: !0 }), "function" == typeof H && a({ global: !0, enumerable: !0, forced: !0 }, { fetch: function (t) { return M(R, H.apply(c, arguments)) } }))), a({ global: !0, wrap: !0, forced: X }, { Promise: R }), p(R, D, !1, !0), m(D), r = u.Promise, a({ target: D, stat: !0, forced: X }, { reject: function (t) { var e = z(this); return e.reject.call(void 0, t), e.promise } }), a({ target: D, stat: !0, forced: s || X }, { resolve: function (t) { return M(s && this === r ? R : this, t) } }), a({ target: D, stat: !0, forced: U }, { all: function (t) { var e = this, n = z(e), i = n.resolve, o = n.reject, r = E((function () { var n = v(e.resolve), r = [], l = 0, a = 1; w(t, (function (t) { var s = l++, c = !1; r.push(void 0), a++, n.call(e, t).then((function (t) { c || (c = !0, r[s] = t, --a || i(r)) }), o) })), --a || i(r) })); return r.error && o(r.value), n.promise }, race: function (t) { var e = this, n = z(e), i = n.reject, o = E((function () { var o = v(e.resolve); w(t, (function (t) { o.call(e, t).then(n.resolve, i) })) })); return o.error && i(o.value), n.promise } }) }, function (t, e, n) { var i = n(1); t.exports = i.Promise }, function (t, e, n) { var i = n(11), o = n(127), r = n(5), l = n(73), a = n(128), s = n(151), c = function (t, e) { this.stopped = t, this.result = e }; (t.exports = function (t, e, n, u, d) { var h, f, p, m, g, v, y, b = l(e, n, u ? 2 : 1); if (d) h = t; else { if ("function" != typeof (f = a(t))) throw TypeError("Target is not iterable"); if (o(f)) { for (p = 0, m = r(t.length); m > p; p++)if ((g = u ? b(i(y = t[p])[0], y[1]) : b(t[p])) && g instanceof c) return g; return new c(!1) } h = f.call(t) } for (v = h.next; !(y = v.call(h)).done;)if ("object" == typeof (g = s(h, b, y.value, u)) && g && g instanceof c) return g; return new c(!1) }).stop = function (t) { return new c(!0, t) } }, function (t, e, n) { var i, o, r, l, a, s, c, u, d = n(1), h = n(47).f, f = n(41), p = n(132).set, m = n(104), g = d.MutationObserver || d.WebKitMutationObserver, v = d.process, y = d.Promise, b = "process" == f(v), w = h(d, "queueMicrotask"), x = w && w.value; x || (i = function () { var t, e; for (b && (t = v.domain) && t.exit(); o;) { e = o.fn, o = o.next; try { e() } catch (t) { throw o ? l() : r = void 0, t } } r = void 0, t && t.enter() }, b ? l = function () { v.nextTick(i) } : g && !/(iphone|ipod|ipad).*applewebkit/i.test(m) ? (a = !0, s = document.createTextNode(""), new g(i).observe(s, { characterData: !0 }), l = function () { s.data = a = !a }) : y && y.resolve ? (c = y.resolve(void 0), u = c.then, l = function () { u.call(c, i) }) : l = function () { p.call(d, i) }), t.exports = x || function (t) { var e = { fn: t, next: void 0 }; r && (r.next = e), o || (o = e, l()), r = e } }, function (t, e, n) { var i = n(11), o = n(15), r = n(133); t.exports = function (t, e) { if (i(t), o(e) && e.constructor === t) return e; var n = r.f(t); return (0, n.resolve)(e), n.promise } }, function (t, e, n) { var i = n(1); t.exports = function (t, e) { var n = i.console; n && n.error && (1 === arguments.length ? n.error(t) : n.error(t, e)) } }, function (t, e) { t.exports = function (t) { try { return { error: !1, value: t() } } catch (t) { return { error: !0, value: t } } } }, function (t, e, n) {
"use strict"; var i, o; n(10), n(16), n(17), n(31), n(36), n(6), n(38), n(12), n(8), n(23), n(32), n(28), n(60), n(13), n(93), n(42), n(7), n(46), n(44), n(62), n(14), n(29), n(18), n(43), n(30), n(53), n(40), n(19); function r(t) { return (r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*!
* Bootstrap v4.6.0 (https://getbootstrap.com/)
* Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/i = void 0, o = function (t, e, n) { function i(t) { return t && "object" === r(t) && "default" in t ? t : { default: t } } var o = i(e), l = i(n); function a(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } function s(t, e, n) { return e && a(t.prototype, e), n && a(t, n), t } function c() { return (c = Object.assign || function (t) { for (var e = 1; e < arguments.length; e++) { var n = arguments[e]; for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]) } return t }).apply(this, arguments) } var u = "transitionend"; function d(t) { var e = this, n = !1; return o.default(this).one(h.TRANSITION_END, (function () { n = !0 })), setTimeout((function () { n || h.triggerTransitionEnd(e) }), t), this } var h = { TRANSITION_END: "bsTransitionEnd", getUID: function (t) { do { t += ~~(1e6 * Math.random()) } while (document.getElementById(t)); return t }, getSelectorFromElement: function (t) { var e = t.getAttribute("data-target"); if (!e || "#" === e) { var n = t.getAttribute("href"); e = n && "#" !== n ? n.trim() : "" } try { return document.querySelector(e) ? e : null } catch (t) { return null } }, getTransitionDurationFromElement: function (t) { if (!t) return 0; var e = o.default(t).css("transition-duration"), n = o.default(t).css("transition-delay"), i = parseFloat(e), r = parseFloat(n); return i || r ? (e = e.split(",")[0], n = n.split(",")[0], 1e3 * (parseFloat(e) + parseFloat(n))) : 0 }, reflow: function (t) { return t.offsetHeight }, triggerTransitionEnd: function (t) { o.default(t).trigger(u) }, supportsTransitionEnd: function () { return Boolean(u) }, isElement: function (t) { return (t[0] || t).nodeType }, typeCheckConfig: function (t, e, n) { for (var i in n) if (Object.prototype.hasOwnProperty.call(n, i)) { var o = n[i], r = e[i], l = r && h.isElement(r) ? "element" : null == (a = r) ? "" + a : {}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase(); if (!new RegExp(o).test(l)) throw new Error(t.toUpperCase() + ': Option "' + i + '" provided type "' + l + '" but expected type "' + o + '".') } var a }, findShadowRoot: function (t) { if (!document.documentElement.attachShadow) return null; if ("function" == typeof t.getRootNode) { var e = t.getRootNode(); return e instanceof ShadowRoot ? e : null } return t instanceof ShadowRoot ? t : t.parentNode ? h.findShadowRoot(t.parentNode) : null }, jQueryDetection: function () { if (void 0 === o.default) throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript."); var t = o.default.fn.jquery.split(" ")[0].split("."); if (t[0] < 2 && t[1] < 9 || 1 === t[0] && 9 === t[1] && t[2] < 1 || t[0] >= 4) throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0") } }; h.jQueryDetection(), o.default.fn.emulateTransitionEnd = d, o.default.event.special[h.TRANSITION_END] = { bindType: u, delegateType: u, handle: function (t) { if (o.default(t.target).is(this)) return t.handleObj.handler.apply(this, arguments) } }; var f = o.default.fn.alert, p = function () { function t(t) { this._element = t } var e = t.prototype; return e.close = function (t) { var e = this._element; t && (e = this._getRootElement(t)), this._triggerCloseEvent(e).isDefaultPrevented() || this._removeElement(e) }, e.dispose = function () { o.default.removeData(this._element, "bs.alert"), this._element = null }, e._getRootElement = function (t) { var e = h.getSelectorFromElement(t), n = !1; return e && (n = document.querySelector(e)), n || (n = o.default(t).closest(".alert")[0]), n }, e._triggerCloseEvent = function (t) { var e = o.default.Event("close.bs.alert"); return o.default(t).trigger(e), e }, e._removeElement = function (t) { var e = this; if (o.default(t).removeClass("show"), o.default(t).hasClass("fade")) { var n = h.getTransitionDurationFromElement(t); o.default(t).one(h.TRANSITION_END, (function (n) { return e._destroyElement(t, n) })).emulateTransitionEnd(n) } else this._destroyElement(t) }, e._destroyElement = function (t) { o.default(t).detach().trigger("closed.bs.alert").remove() }, t._jQueryInterface = function (e) { return this.each((function () { var n = o.default(this), i = n.data("bs.alert"); i || (i = new t(this), n.data("bs.alert", i)), "close" === e && i[e](this) })) }, t._handleDismiss = function (t) { return function (e) { e && e.preventDefault(), t.close(this) } }, s(t, null, [{ key: "VERSION", get: function () { return "4.6.0" } }]), t }(); o.default(document).on("click.bs.alert.data-api", '[data-dismiss="alert"]', p._handleDismiss(new p)), o.default.fn.alert = p._jQueryInterface, o.default.fn.alert.Constructor = p, o.default.fn.alert.noConflict = function () { return o.default.fn.alert = f, p._jQueryInterface }; var m = o.default.fn.button, g = function () { function t(t) { this._element = t, this.shouldAvoidTriggerChange = !1 } var e = t.prototype; return e.toggle = function () { var t = !0, e = !0, n = o.default(this._element).closest('[data-toggle="buttons"]')[0]; if (n) { var i = this._element.querySelector('input:not([type="hidden"])'); if (i) { if ("radio" === i.type) if (i.checked && this._element.classList.contains("active")) t = !1; else { var r = n.querySelector(".active"); r && o.default(r).removeClass("active") } t && ("checkbox" !== i.type && "radio" !== i.type || (i.checked = !this._element.classList.contains("active")), this.shouldAvoidTriggerChange || o.default(i).trigger("change")), i.focus(), e = !1 } } this._element.hasAttribute("disabled") || this._element.classList.contains("disabled") || (e && this._element.setAttribute("aria-pressed", !this._element.classList.contains("active")), t && o.default(this._element).toggleClass("active")) }, e.dispose = function () { o.default.removeData(this._element, "bs.button"), this._element = null }, t._jQueryInterface = function (e, n) { return this.each((function () { var i = o.default(this), r = i.data("bs.button"); r || (r = new t(this), i.data("bs.button", r)), r.shouldAvoidTriggerChange = n, "toggle" === e && r[e]() })) }, s(t, null, [{ key: "VERSION", get: function () { return "4.6.0" } }]), t }(); o.default(document).on("click.bs.button.data-api", '[data-toggle^="button"]', (function (t) { var e = t.target, n = e; if (o.default(e).hasClass("btn") || (e = o.default(e).closest(".btn")[0]), !e || e.hasAttribute("disabled") || e.classList.contains("disabled")) t.preventDefault(); else { var i = e.querySelector('input:not([type="hidden"])'); if (i && (i.hasAttribute("disabled") || i.classList.contains("disabled"))) return void t.preventDefault(); "INPUT" !== n.tagName && "LABEL" === e.tagName || g._jQueryInterface.call(o.default(e), "toggle", "INPUT" === n.tagName) } })).on("focus.bs.button.data-api blur.bs.button.data-api", '[data-toggle^="button"]', (function (t) { var e = o.default(t.target).closest(".btn")[0]; o.default(e).toggleClass("focus", /^focus(in)?$/.test(t.type)) })), o.default(window).on("load.bs.button.data-api", (function () { for (var t = [].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')), e = 0, n = t.length; e < n; e++) { var i = t[e], o = i.querySelector('input:not([type="hidden"])'); o.checked || o.hasAttribute("checked") ? i.classList.add("active") : i.classList.remove("active") } for (var r = 0, l = (t = [].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length; r < l; r++) { var a = t[r]; "true" === a.getAttribute("aria-pressed") ? a.classList.add("active") : a.classList.remove("active") } })), o.default.fn.button = g._jQueryInterface, o.default.fn.button.Constructor = g, o.default.fn.button.noConflict = function () { return o.default.fn.button = m, g._jQueryInterface }; var v = "carousel", y = ".bs.carousel", b = o.default.fn[v], w = { interval: 5e3, keyboard: !0, slide: !1, pause: "hover", wrap: !0, touch: !0 }, x = { interval: "(number|boolean)", keyboard: "boolean", slide: "(boolean|string)", pause: "(string|boolean)", wrap: "boolean", touch: "boolean" }, k = ".carousel-indicators", S = { TOUCH: "touch", PEN: "pen" }, C = function () { function t(t, e) { this._items = null, this._interval = null, this._activeElement = null, this._isPaused = !1, this._isSliding = !1, this.touchTimeout = null, this.touchStartX = 0, this.touchDeltaX = 0, this._config = this._getConfig(e), this._element = t, this._indicatorsElement = this._element.querySelector(k), this._touchSupported = "ontouchstart" in document.documentElement || navigator.maxTouchPoints > 0, this._pointerEvent = Boolean(window.PointerEvent || window.MSPointerEvent), this._addEventListeners() } var e = t.prototype; return e.next = function () { this._isSliding || this._slide("next") }, e.nextWhenVisible = function () { var t = o.default(this._element); !document.hidden && t.is(":visible") && "hidden" !== t.css("visibility") && this.next() }, e.prev = function () { this._isSliding || this._slide("prev") }, e.pause = function (t) { t || (this._isPaused = !0), this._element.querySelector(".carousel-item-next, .carousel-item-prev") && (h.triggerTransitionEnd(this._element), this.cycle(!0)), clearInterval(this._interval), this._interval = null }, e.cycle = function (t) { t || (this._isPaused = !1), this._interval && (clearInterval(this._interval), this._interval = null), this._config.interval && !this._isPaused && (this._updateInterval(), this._interval = setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval)) }, e.to = function (t) { var e = this; this._activeElement = this._element.querySelector(".active.carousel-item"); var n = this._getItemIndex(this._activeElement); if (!(t > this._items.length - 1 || t < 0)) if (this._isSliding) o.default(this._element).one("slid.bs.carousel", (function () { return e.to(t) })); else { if (n === t) return this.pause(), void this.cycle(); var i = t > n ? "next" : "prev"; this._slide(i, this._items[t]) } }, e.dispose = function () { o.default(this._element).off(y), o.default.removeData(this._element, "bs.carousel"), this._items = null, this._config = null, this._element = null, this._interval = null, this._isPaused = null, this._isSliding = null, this._activeElement = null, this._indicatorsElement = null }, e._getConfig = function (t) { return t = c({}, w, t), h.typeCheckConfig(v, t, x), t }, e._handleSwipe = function () { var t = Math.abs(this.touchDeltaX); if (!(t <= 40)) { var e = t / this.touchDeltaX; this.touchDeltaX = 0, e > 0 && this.prev(), e < 0 && this.next() } }, e._addEventListeners = function () { var t = this; this._config.keyboard && o.default(this._element).on("keydown.bs.carousel", (function (e) { return t._keydown(e) })), "hover" === this._config.pause && o.default(this._element).on("mouseenter.bs.carousel", (function (e) { return t.pause(e) })).on("mouseleave.bs.carousel", (function (e) { return t.cycle(e) })), this._config.touch && this._addTouchEventListeners() }, e._addTouchEventListeners = function () { var t = this; if (this._touchSupported) { var e = function (e) { t._pointerEvent && S[e.originalEvent.pointerType.toUpperCase()] ? t.touchStartX = e.originalEvent.clientX : t._pointerEvent || (t.touchStartX = e.originalEvent.touches[0].clientX) }, n = function (e) { t._pointerEvent && S[e.originalEvent.pointerType.toUpperCase()] && (t.touchDeltaX = e.originalEvent.clientX - t.touchStartX), t._handleSwipe(), "hover" === t._config.pause && (t.pause(), t.touchTimeout && clearTimeout(t.touchTimeout), t.touchTimeout = setTimeout((function (e) { return t.cycle(e) }), 500 + t._config.interval)) }; o.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel", (function (t) { return t.preventDefault() })), this._pointerEvent ? (o.default(this._element).on("pointerdown.bs.carousel", (function (t) { return e(t) })), o.default(this._element).on("pointerup.bs.carousel", (function (t) { return n(t) })), this._element.classList.add("pointer-event")) : (o.default(this._element).on("touchstart.bs.carousel", (function (t) { return e(t) })), o.default(this._element).on("touchmove.bs.carousel", (function (e) { return function (e) { e.originalEvent.touches && e.originalEvent.touches.length > 1 ? t.touchDeltaX = 0 : t.touchDeltaX = e.originalEvent.touches[0].clientX - t.touchStartX }(e) })), o.default(this._element).on("touchend.bs.carousel", (function (t) { return n(t) }))) } }, e._keydown = function (t) { if (!/input|textarea/i.test(t.target.tagName)) switch (t.which) { case 37: t.preventDefault(), this.prev(); break; case 39: t.preventDefault(), this.next() } }, e._getItemIndex = function (t) { return this._items = t && t.parentNode ? [].slice.call(t.parentNode.querySelectorAll(".carousel-item")) : [], this._items.indexOf(t) }, e._getItemByDirection = function (t, e) { var n = "next" === t, i = "prev" === t, o = this._getItemIndex(e), r = this._items.length - 1; if ((i && 0 === o || n && o === r) && !this._config.wrap) return e; var l = (o + ("prev" === t ? -1 : 1)) % this._items.length; return -1 === l ? this._items[this._items.length - 1] : this._items[l] }, e._triggerSlideEvent = function (t, e) { var n = this._getItemIndex(t), i = this._getItemIndex(this._element.querySelector(".active.carousel-item")), r = o.default.Event("slide.bs.carousel", { relatedTarget: t, direction: e, from: i, to: n }); return o.default(this._element).trigger(r), r }, e._setActiveIndicatorElement = function (t) { if (this._indicatorsElement) { var e = [].slice.call(this._indicatorsElement.querySelectorAll(".active")); o.default(e).removeClass("active"); var n = this._indicatorsElement.children[this._getItemIndex(t)]; n && o.default(n).addClass("active") } }, e._updateInterval = function () { var t = this._activeElement || this._element.querySelector(".active.carousel-item"); if (t) { var e = parseInt(t.getAttribute("data-interval"), 10); e ? (this._config.defaultInterval = this._config.defaultInterval || this._config.interval, this._config.interval = e) : this._config.interval = this._config.defaultInterval || this._config.interval } }, e._slide = function (t, e) { var n, i, r, l = this, a = this._element.querySelector(".active.carousel-item"), s = this._getItemIndex(a), c = e || a && this._getItemByDirection(t, a), u = this._getItemIndex(c), d = Boolean(this._interval); if ("next" === t ? (n = "carousel-item-left", i = "carousel-item-next", r = "left") : (n = "carousel-item-right", i = "carousel-item-prev", r = "right"), c && o.default(c).hasClass("active")) this._isSliding = !1; else if (!this._triggerSlideEvent(c, r).isDefaultPrevented() && a && c) { this._isSliding = !0, d && this.pause(), this._setActiveIndicatorElement(c), this._activeElement = c; var f = o.default.Event("slid.bs.carousel", { relatedTarget: c, direction: r, from: s, to: u }); if (o.default(this._element).hasClass("slide")) { o.default(c).addClass(i), h.reflow(c), o.default(a).addClass(n), o.default(c).addClass(n); var p = h.getTransitionDurationFromElement(a); o.default(a).one(h.TRANSITION_END, (function () { o.default(c).removeClass(n + " " + i).addClass("active"), o.default(a).removeClass("active " + i + " " + n), l._isSliding = !1, setTimeout((function () { return o.default(l._element).trigger(f) }), 0) })).emulateTransitionEnd(p) } else o.default(a).removeClass("active"), o.default(c).addClass("active"), this._isSliding = !1, o.default(this._element).trigger(f); d && this.cycle() } }, t._jQueryInterface = function (e) { return this.each((function () { var n = o.default(this).data("bs.carousel"), i = c({}, w, o.default(this).data()); "object" === r(e) && (i = c({}, i, e)); var l = "string" == typeof e ? e : i.slide; if (n || (n = new t(this, i), o.default(this).data("bs.carousel", n)), "number" == typeof e) n.to(e); else if ("string" == typeof l) { if (void 0 === n[l]) throw new TypeError('No method named "' + l + '"'); n[l]() } else i.interval && i.ride && (n.pause(), n.cycle()) })) }, t._dataApiClickHandler = function (e) { var n = h.getSelectorFromElement(this); if (n) { var i = o.default(n)[0]; if (i && o.default(i).hasClass("carousel")) { var r = c({}, o.default(i).data(), o.default(this).data()), l = this.getAttribute("data-slide-to"); l && (r.interval = !1), t._jQueryInterface.call(o.default(i), r), l && o.default(i).data("bs.carousel").to(l), e.preventDefault() } } }, s(t, null, [{ key: "VERSION", get: function () { return "4.6.0" } }, { key: "Default", get: function () { return w } }]), t }(); o.default(document).on("click.bs.carousel.data-api", "[data-slide], [data-slide-to]", C._dataApiClickHandler), o.default(window).on("load.bs.carousel.data-api", (function () { for (var t = [].slice.call(document.querySelectorAll('[data-ride="carousel"]')), e = 0, n = t.length; e < n; e++) { var i = o.default(t[e]); C._jQueryInterface.call(i, i.data()) } })), o.default.fn[v] = C._jQueryInterface, o.default.fn[v].Constructor = C, o.default.fn[v].noConflict = function () { return o.default.fn[v] = b, C._jQueryInterface }; var M = "collapse", _ = o.default.fn[M], T = { toggle: !0, parent: "" }, E = { toggle: "boolean", parent: "(string|element)" }, A = '[data-toggle="collapse"]', O = function () { function t(t, e) { this._isTransitioning = !1, this._element = t, this._config = this._getConfig(e), this._triggerArray = [].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#' + t.id + '"],[data-toggle="collapse"][data-target="#' + t.id + '"]')); for (var n = [].slice.call(document.querySelectorAll(A)), i = 0, o = n.length; i < o; i++) { var r = n[i], l = h.getSelectorFromElement(r), a = [].slice.call(document.querySelectorAll(l)).filter((function (e) { return e === t })); null !== l && a.length > 0 && (this._selector = l, this._triggerArray.push(r)) } this._parent = this._config.parent ? this._getParent() : null, this._config.parent || this._addAriaAndCollapsedClass(this._element, this._triggerArray), this._config.toggle && this.toggle() } var e = t.prototype; return e.toggle = function () { o.default(this._element).hasClass("show") ? this.hide() : this.show() }, e.show = function () { var e, n, i = this; if (!(this._isTransitioning || o.default(this._element).hasClass("show") || (this._parent && 0 === (e = [].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function (t) { return "string" == typeof i._config.parent ? t.getAttribute("data-parent") === i._config.parent : t.classList.contains("collapse") }))).length && (e = null), e && (n = o.default(e).not(this._selector).data("bs.collapse")) && n._isTransitioning))) { var r = o.default.Event("show.bs.collapse"); if (o.default(this._element).trigger(r), !r.isDefaultPrevented()) { e && (t._jQueryInterface.call(o.default(e).not(this._selector), "hide"), n || o.default(e).data("bs.collapse", null)); var l = this._getDimension(); o.default(this._element).removeClass("collapse").addClass("collapsing"), this._element.style[l] = 0, this._triggerArray.length && o.default(this._triggerArray).removeClass("collapsed").attr("aria-expanded", !0), this.setTransitioning(!0); var a = "scroll" + (l[0].toUpperCase() + l.slice(1)), s = h.getTransitionDurationFromElement(this._element); o.default(this._element).one(h.TRANSITION_END, (function () { o.default(i._element).removeClass("collapsing").addClass("collapse show"), i._element.style[l] = "", i.setTransitioning(!1), o.default(i._element).trigger("shown.bs.collapse") })).emulateTransitionEnd(s), this._element.style[l] = this._element[a] + "px" } } }, e.hide = function () { var t = this; if (!this._isTransitioning && o.default(this._element).hasClass("show")) { var e = o.default.Event("hide.bs.collapse"); if (o.default(this._element).trigger(e), !e.isDefaultPrevented()) { var n = this._getDimension(); this._element.style[n] = this._element.getBoundingClientRect()[n] + "px", h.reflow(this._element), o.default(this._element).addClass("collapsing").removeClass("collapse show"); var i = this._triggerArray.length; if (i > 0) for (var r = 0; r < i; r++) { var l = this._triggerArray[r], a = h.getSelectorFromElement(l); null !== a && (o.default([].slice.call(document.querySelectorAll(a))).hasClass("show") || o.default(l).addClass("collapsed").attr("aria-expanded", !1)) } this.setTransitioning(!0), this._element.style[n] = ""; var s = h.getTransitionDurationFromElement(this._element); o.default(this._element).one(h.TRANSITION_END, (function () { t.setTransitioning(!1), o.default(t._element).removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse") })).emulateTransitionEnd(s) } } }, e.setTransitioning = function (t) { this._isTransitioning = t }, e.dispose = function () { o.default.removeData(this._element, "bs.collapse"), this._config = null, this._parent = null, this._element = null, this._triggerArray = null, this._isTransitioning = null }, e._getConfig = function (t) { return (t = c({}, T, t)).toggle = Boolean(t.toggle), h.typeCheckConfig(M, t, E), t }, e._getDimension = function () { return o.default(this._element).hasClass("width") ? "width" : "height" }, e._getParent = function () { var e, n = this; h.isElement(this._config.parent) ? (e = this._config.parent, void 0 !== this._config.parent.jquery && (e = this._config.parent[0])) : e = document.querySelector(this._config.parent); var i = '[data-toggle="collapse"][data-parent="' + this._config.parent + '"]', r = [].slice.call(e.querySelectorAll(i)); return o.default(r).each((function (e, i) { n._addAriaAndCollapsedClass(t._getTargetFromElement(i), [i]) })), e }, e._addAriaAndCollapsedClass = function (t, e) { var n = o.default(t).hasClass("show"); e.length && o.default(e).toggleClass("collapsed", !n).attr("aria-expanded", n) }, t._getTargetFromElement = function (t) { var e = h.getSelectorFromElement(t); return e ? document.querySelector(e) : null }, t._jQueryInterface = function (e) { return this.each((function () { var n = o.default(this), i = n.data("bs.collapse"), l = c({}, T, n.data(), "object" === r(e) && e ? e : {}); if (!i && l.toggle && "string" == typeof e && /show|hide/.test(e) && (l.toggle = !1), i || (i = new t(this, l), n.data("bs.collapse", i)), "string" == typeof e) { if (void 0 === i[e]) throw new TypeError('No method named "' + e + '"'); i[e]() } })) }, s(t, null, [{ key: "VERSION", get: function () { return "4.6.0" } }, { key: "Default", get: function () { return T } }]), t }(); o.default(document).on("click.bs.collapse.data-api", A, (function (t) { "A" === t.currentTarget.tagName && t.preventDefault(); var e = o.default(this), n = h.getSelectorFromElement(this), i = [].slice.call(document.querySelectorAll(n)); o.default(i).each((function () { var t = o.default(this), n = t.data("bs.collapse") ? "toggle" : e.data(); O._jQueryInterface.call(t, n) })) })), o.default.fn[M] = O._jQueryInterface, o.default.fn[M].Constructor = O, o.default.fn[M].noConflict = function () { return o.default.fn[M] = _, O._jQueryInterface }; var P = "dropdown", I = o.default.fn[P], D = new RegExp("38|40|27"), L = { offset: 0, flip: !0, boundary: "scrollParent", reference: "toggle", display: "dynamic", popperConfig: null }, $ = { offset: "(number|string|function)", flip: "boolean", boundary: "(string|element)", reference: "(string|element)", display: "string", popperConfig: "(null|object)" }, N = function () { function t(t, e) { this._element = t, this._popper = null, this._config = this._getConfig(e), this._menu = this._getMenuElement(), this._inNavbar = this._detectNavbar(), this._addEventListeners() } var e = t.prototype; return e.toggle = function () { if (!this._element.disabled && !o.default(this._element).hasClass("disabled")) { var e = o.default(this._menu).hasClass("show"); t._clearMenus(), e || this.show(!0) } }, e.show = function (e) { if (void 0 === e && (e = !1), !(this._element.disabled || o.default(this._element).hasClass("disabled") || o.default(this._menu).hasClass("show"))) { var n = { relatedTarget: this._element }, i = o.default.Event("show.bs.dropdown", n), r = t._getParentFromElement(this._element); if (o.default(r).trigger(i), !i.isDefaultPrevented()) { if (!this._inNavbar && e) { if (void 0 === l.default) throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)"); var a = this._element; "parent" === this._config.reference ? a = r : h.isElement(this._config.reference) && (a = this._config.reference, void 0 !== this._config.reference.jquery && (a = this._config.reference[0])), "scrollParent" !== this._config.boundary && o.default(r).addClass("position-static"), this._popper = new l.default(a, this._menu, this._getPopperConfig()) } "ontouchstart" in document.documentElement && 0 === o.default(r).closest(".navbar-nav").length && o.default(document.body).children().on("mouseover", null, o.default.noop), this._element.focus(), this._element.setAttribute("aria-expanded", !0), o.default(this._menu).toggleClass("show"), o.default(r).toggleClass("show").trigger(o.default.Event("shown.bs.dropdown", n)) } } }, e.hide = function () { if (!this._element.disabled && !o.default(this._element).hasClass("disabled") && o.default(this._menu).hasClass("show")) { var e = { relatedTarget: this._element }, n = o.default.Event("hide.bs.dropdown", e), i = t._getParentFromElement(this._element); o.default(i).trigger(n), n.isDefaultPrevented() || (this._popper && this._popper.destroy(), o.default(this._menu).toggleClass("show"), o.default(i).toggleClass("show").trigger(o.default.Event("hidden.bs.dropdown", e))) } }, e.dispose = function () { o.default.removeData(this._element, "bs.dropdown"), o.default(this._element).off(".bs.dropdown"), this._element = null, this._menu = null, null !== this._popper && (this._popper.destroy(), this._popper = null) }, e.update = function () { this._inNavbar = this._detectNavbar(), null !== this._popper && this._popper.scheduleUpdate() }, e._addEventListeners = function () { var t = this; o.default(this._element).on("click.bs.dropdown", (function (e) { e.preventDefault(), e.stopPropagation(), t.toggle() })) }, e._getConfig = function (t) { return t = c({}, this.constructor.Default, o.default(this._element).data(), t), h.typeCheckConfig(P, t, this.constructor.DefaultType), t }, e._getMenuElement = function () { if (!this._menu) { var e = t._getParentFromElement(this._element); e && (this._menu = e.querySelector(".dropdown-menu")) } return this._menu }, e._getPlacement = function () { var t = o.default(this._element.parentNode), e = "bottom-start"; return t.hasClass("dropup") ? e = o.default(this._menu).hasClass("dropdown-menu-right") ? "top-end" : "top-start" : t.hasClass("dropright") ? e = "right-start" : t.hasClass("dropleft") ? e = "left-start" : o.default(this._menu).hasClass("dropdown-menu-right") && (e = "bottom-end"), e }, e._detectNavbar = function () { return o.default(this._element).closest(".navbar").length > 0 }, e._getOffset = function () { var t = this, e = {}; return "function" == typeof this._config.offset ? e.fn = function (e) { return e.offsets = c({}, e.offsets, t._config.offset(e.offsets, t._element) || {}), e } : e.offset = this._config.offset, e }, e._getPopperConfig = function () { var t = { placement: this._getPlacement(), modifiers: { offset: this._getOffset(), flip: { enabled: this._config.flip }, preventOverflow: { boundariesElement: this._config.boundary } } }; return "static" === this._config.display && (t.modifiers.applyStyle = { enabled: !1 }), c({}, t, this._config.popperConfig) }, t._jQueryInterface = function (e) { return this.each((function () { var n = o.default(this).data("bs.dropdown"), i = "object" === r(e) ? e : null; if (n || (n = new t(this, i), o.default(this).data("bs.dropdown", n)), "string" == typeof e) { if (void 0 === n[e]) throw new TypeError('No method named "' + e + '"'); n[e]() } })) }, t._clearMenus = function (e) { if (!e || 3 !== e.which && ("keyup" !== e.type || 9 === e.which)) for (var n = [].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')), i = 0, r = n.length; i < r; i++) { var l = t._getParentFromElement(n[i]), a = o.default(n[i]).data("bs.dropdown"), s = { relatedTarget: n[i] }; if (e && "click" === e.type && (s.clickEvent = e), a) { var c = a._menu; if (o.default(l).hasClass("show") && !(e && ("click" === e.type && /input|textarea/i.test(e.target.tagName) || "keyup" === e.type && 9 === e.which) && o.default.contains(l, e.target))) { var u = o.default.Event("hide.bs.dropdown", s); o.default(l).trigger(u), u.isDefaultPrevented() || ("ontouchstart" in document.documentElement && o.default(document.body).children().off("mouseover", null, o.default.noop), n[i].setAttribute("aria-expanded", "false"), a._popper && a._popper.destroy(), o.default(c).removeClass("show"), o.default(l).removeClass("show").trigger(o.default.Event("hidden.bs.dropdown", s))) } } } }, t._getParentFromElement = function (t) { var e, n = h.getSelectorFromElement(t); return n && (e = document.querySelector(n)), e || t.parentNode }, t._dataApiKeydownHandler = function (e) { if ((/input|textarea/i.test(e.target.tagName) ? !(32 === e.which || 27 !== e.which && (40 !== e.which && 38 !== e.which || o.default(e.target).closest(".dropdown-menu").length)) : D.test(e.which)) && !this.disabled && !o.default(this).hasClass("disabled")) { var n = t._getParentFromElement(this), i = o.default(n).hasClass("show"); if (i || 27 !== e.which) { if (e.preventDefault(), e.stopPropagation(), !i || 27 === e.which || 32 === e.which) return 27 === e.which && o.default(n.querySelector('[data-toggle="dropdown"]')).trigger("focus"), void o.default(this).trigger("click"); var r = [].slice.call(n.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter((function (t) { return o.default(t).is(":visible") })); if (0 !== r.length) { var l = r.indexOf(e.target); 38 === e.which && l > 0 && l--, 40 === e.which && l < r.length - 1 && l++, l < 0 && (l = 0), r[l].focus() } } } }, s(t, null, [{ key: "VERSION", get: function () { return "4.6.0" } }, { key: "Default", get: function () { return L } }, { key: "DefaultType", get: function () { return $ } }]), t }(); o.default(document).on("keydown.bs.dropdown.data-api", '[data-toggle="dropdown"]', N._dataApiKeydownHandler).on("keydown.bs.dropdown.data-api", ".dropdown-menu", N._dataApiKeydownHandler).on("click.bs.dropdown.data-api keyup.bs.dropdown.data-api", N._clearMenus).on("click.bs.dropdown.data-api", '[data-toggle="dropdown"]', (function (t) { t.preventDefault(), t.stopPropagation(), N._jQueryInterface.call(o.default(this), "toggle") })).on("click.bs.dropdown.data-api", ".dropdown form", (function (t) { t.stopPropagation() })), o.default.fn[P] = N._jQueryInterface, o.default.fn[P].Constructor = N, o.default.fn[P].noConflict = function () { return o.default.fn[P] = I, N._jQueryInterface }; var R = o.default.fn.modal, j = { backdrop: !0, keyboard: !0, focus: !0, show: !0 }, F = { backdrop: "(boolean|string)", keyboard: "boolean", focus: "boolean", show: "boolean" }, V = ".modal-dialog", H = function () { function t(t, e) { this._config = this._getConfig(e), this._element = t, this._dialog = t.querySelector(V), this._backdrop = null, this._isShown = !1, this._isBodyOverflowing = !1, this._ignoreBackdropClick = !1, this._isTransitioning = !1, this._scrollbarWidth = 0 } var e = t.prototype; return e.toggle = function (t) { return this._isShown ? this.hide() : this.show(t) }, e.show = function (t) { var e = this; if (!this._isShown && !this._isTransitioning) { o.default(this._element).hasClass("fade") && (this._isTransitioning = !0); var n = o.default.Event("show.bs.modal", { relatedTarget: t }); o.default(this._element).trigger(n), this._isShown || n.isDefaultPrevented() || (this._isShown = !0, this._checkScrollbar(), this._setScrollbar(), this._adjustDialog(), this._setEscapeEvent(), this._setResizeEvent(), o.default(this._element).on("click.dismiss.bs.modal", '[data-dismiss="modal"]', (function (t) { return e.hide(t) })), o.default(this._dialog).on("mousedown.dismiss.bs.modal", (function () { o.default(e._element).one("mouseup.dismiss.bs.modal", (function (t) { o.default(t.target).is(e._element) && (e._ignoreBackdropClick = !0) })) })), this._showBackdrop((function () { return e._showElement(t) }))) } }, e.hide = function (t) { var e = this; if (t && t.preventDefault(), this._isShown && !this._isTransitioning) { var n = o.default.Event("hide.bs.modal"); if (o.default(this._element).trigger(n), this._isShown && !n.isDefaultPrevented()) { this._isShown = !1; var i = o.default(this._element).hasClass("fade"); if (i && (this._isTransitioning = !0), this._setEscapeEvent(), this._setResizeEvent(), o.default(document).off("focusin.bs.modal"), o.default(this._element).removeClass("show"), o.default(this._element).off("click.dismiss.bs.modal"), o.default(this._dialog).off("mousedown.dismiss.bs.modal"), i) { var r = h.getTransitionDurationFromElement(this._element); o.default(this._element).one(h.TRANSITION_END, (function (t) { return e._hideModal(t) })).emulateTransitionEnd(r) } else this._hideModal() } } }, e.dispose = function () { [window, this._element, this._dialog].forEach((function (t) { return o.default(t).off(".bs.modal") })), o.default(document).off("focusin.bs.modal"), o.default.removeData(this._element, "bs.modal"), this._config = null, this._element = null, this._dialog = null, this._backdrop = null, this._isShown = null, this._isBodyOverflowing = null, this._ignoreBackdropClick = null, this._isTransitioning = null, this._scrollbarWidth = null }, e.handleUpdate = function () { this._adjustDialog() }, e._getConfig = function (t) { return t = c({}, j, t), h.typeCheckConfig("modal", t, F), t }, e._triggerBackdropTransition = function () { var t = this, e = o.default.Event("hidePrevented.bs.modal"); if (o.default(this._element).trigger(e), !e.isDefaultPrevented()) { var n = this._element.scrollHeight > document.documentElement.clientHeight; n || (this._element.style.overflowY = "hidden"), this._element.classList.add("modal-static"); var i = h.getTransitionDurationFromElement(this._dialog); o.default(this._element).off(h.TRANSITION_END), o.default(this._element).one(h.TRANSITION_END, (function () { t._element.classList.remove("modal-static"), n || o.default(t._element).one(h.TRANSITION_END, (function () { t._element.style.overflowY = "" })).emulateTransitionEnd(t._element, i) })).emulateTransitionEnd(i), this._element.focus() } }, e._showElement = function (t) { var e = this, n = o.default(this._element).hasClass("fade"), i = this._dialog ? this._dialog.querySelector(".modal-body") : null; this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE || document.body.appendChild(this._element), this._element.style.display = "block", this._element.removeAttribute("aria-hidden"), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), o.default(this._dialog).hasClass("modal-dialog-scrollable") && i ? i.scrollTop = 0 : this._element.scrollTop = 0, n && h.reflow(this._element), o.default(this._element).addClass("show"), this._config.focus && this._enforceFocus(); var r = o.default.Event("shown.bs.modal", { relatedTarget: t }), l = function () { e._config.focus && e._element.focus(), e._isTransitioning = !1, o.default(e._element).trigger(r) }; if (n) { var a = h.getTransitionDurationFromElement(this._dialog); o.default(this._dialog).one(h.TRANSITION_END, l).emulateTransitionEnd(a) } else l() }, e._enforceFocus = function () { var t = this; o.default(document).off("focusin.bs.modal").on("focusin.bs.modal", (function (e) { document !== e.target && t._element !== e.target && 0 === o.default(t._element).has(e.target).length && t._element.focus() })) }, e._setEscapeEvent = function () { var t = this; this._isShown ? o.default(this._element).on("keydown.dismiss.bs.modal", (function (e) { t._config.keyboard && 27 === e.which ? (e.preventDefault(), t.hide()) : t._config.keyboard || 27 !== e.which || t._triggerBackdropTransition() })) : this._isShown || o.default(this._element).off("keydown.dismiss.bs.modal") }, e._setResizeEvent = function () { var t = this; this._isShown ? o.default(window).on("resize.bs.modal", (function (e) { return t.handleUpdate(e) })) : o.default(window).off("resize.bs.modal") }, e._hideModal = function () { var t = this; this._element.style.display = "none", this._element.setAttribute("aria-hidden", !0), this._element.removeAttribute("aria-modal"), this._element.removeAttribute("role"), this._isTransitioning = !1, this._showBackdrop((function () { o.default(document.body).removeClass("modal-open"), t._resetAdjustments(), t._resetScrollbar(), o.default(t._element).trigger("hidden.bs.modal") })) }, e._removeBackdrop = function () { this._backdrop && (o.default(this._backdrop).remove(), this._backdrop = null) }, e._showBackdrop = function (t) { var e = this, n = o.default(this._element).hasClass("fade") ? "fade" : ""; if (this._isShown && this._config.backdrop) { if (this._backdrop = document.createElement("div"), this._backdrop.className = "modal-backdrop", n && this._backdrop.classList.add(n), o.default(this._backdrop).appendTo(document.body), o.default(this._element).on("click.dismiss.bs.modal", (function (t) { e._ignoreBackdropClick ? e._ignoreBackdropClick = !1 : t.target === t.currentTarget && ("static" === e._config.backdrop ? e._triggerBackdropTransition() : e.hide()) })), n && h.reflow(this._backdrop), o.default(this._backdrop).addClass("show"), !t) return; if (!n) return void t(); var i = h.getTransitionDurationFromElement(this._backdrop); o.default(this._backdrop).one(h.TRANSITION_END, t).emulateTransitionEnd(i) } else if (!this._isShown && this._backdrop) { o.default(this._backdrop).removeClass("show"); var r = function () { e._removeBackdrop(), t && t() }; if (o.default(this._element).hasClass("fade")) { var l = h.getTransitionDurationFromElement(this._backdrop); o.default(this._backdrop).one(h.TRANSITION_END, r).emulateTransitionEnd(l) } else r() } else t && t() }, e._adjustDialog = function () { var t = this._element.scrollHeight > document.documentElement.clientHeight; !this._isBodyOverflowing && t && (this._element.style.paddingLeft = this._scrollbarWidth + "px"), this._isBodyOverflowing && !t && (this._element.style.paddingRight = this._scrollbarWidth + "px") }, e._resetAdjustments = function () { this._element.style.paddingLeft = "", this._element.style.paddingRight = "" }, e._checkScrollbar = function () { var t = document.body.getBoundingClientRect(); this._isBodyOverflowing = Math.round(t.left + t.right) < window.innerWidth, this._scrollbarWidth = this._getScrollbarWidth() }, e._setScrollbar = function () { var t = this; if (this._isBodyOverflowing) { var e = [].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")), n = [].slice.call(document.querySelectorAll(".sticky-top")); o.default(e).each((function (e, n) { var i = n.style.paddingRight, r = o.default(n).css("padding-right"); o.default(n).data("padding-right", i).css("padding-right", parseFloat(r) + t._scrollbarWidth + "px") })), o.default(n).each((function (e, n) { var i = n.style.marginRight, r = o.default(n).css("margin-right"); o.default(n).data("margin-right", i).css("margin-right", parseFloat(r) - t._scrollbarWidth + "px") })); var i = document.body.style.paddingRight, r = o.default(document.body).css("padding-right"); o.default(document.body).data("padding-right", i).css("padding-right", parseFloat(r) + this._scrollbarWidth + "px") } o.default(document.body).addClass("modal-open") }, e._resetScrollbar = function () { var t = [].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")); o.default(t).each((function (t, e) { var n = o.default(e).data("padding-right"); o.default(e).removeData("padding-right"), e.style.paddingRight = n || "" })); var e = [].slice.call(document.querySelectorAll(".sticky-top")); o.default(e).each((function (t, e) { var n = o.default(e).data("margin-right"); void 0 !== n && o.default(e).css("margin-right", n).removeData("margin-right") })); var n = o.default(document.body).data("padding-right"); o.default(document.body).removeData("padding-right"), document.body.style.paddingRight = n || "" }, e._getScrollbarWidth = function () { var t = document.createElement("div"); t.className = "modal-scrollbar-measure", document.body.appendChild(t); var e = t.getBoundingClientRect().width - t.clientWidth; return document.body.removeChild(t), e }, t._jQueryInterface = function (e, n) { return this.each((function () { var i = o.default(this).data("bs.modal"), l = c({}, j, o.default(this).data(), "object" === r(e) && e ? e : {}); if (i || (i = new t(this, l), o.default(this).data("bs.modal", i)), "string" == typeof e) { if (void 0 === i[e]) throw new TypeError('No method named "' + e + '"'); i[e](n) } else l.show && i.show(n) })) }, s(t, null, [{ key: "VERSION", get: function () { return "4.6.0" } }, { key: "Default", get: function () { return j } }]), t }(); o.default(document).on("click.bs.modal.data-api", '[data-toggle="modal"]', (function (t) { var e, n = this, i = h.getSelectorFromElement(this); i && (e = document.querySelector(i)); var r = o.default(e).data("bs.modal") ? "toggle" : c({}, o.default(e).data(), o.default(this).data()); "A" !== this.tagName && "AREA" !== this.tagName || t.preventDefault(); var l = o.default(e).one("show.bs.modal", (function (t) { t.isDefaultPrevented() || l.one("hidden.bs.modal", (function () { o.default(n).is(":visible") && n.focus() })) })); H._jQueryInterface.call(o.default(e), r, this) })), o.default.fn.modal = H._jQueryInterface, o.default.fn.modal.Constructor = H, o.default.fn.modal.noConflict = function () { return o.default.fn.modal = R, H._jQueryInterface }; var W = ["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"], B = { "*": ["class", "dir", "id", "lang", "role", /^aria-[\w-]*$/i], a: ["target", "href", "title", "rel"], area: [], b: [], br: [], col: [], code: [], div: [], em: [], hr: [], h1: [], h2: [], h3: [], h4: [], h5: [], h6: [], i: [], img: ["src", "srcset", "alt", "title", "width", "height"], li: [], ol: [], p: [], pre: [], s: [], small: [], span: [], sub: [], sup: [], strong: [], u: [], ul: [] }, z = /^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi, q = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i; function Y(t, e, n) { if (0 === t.length) return t; if (n && "function" == typeof n) return n(t); for (var i = (new window.DOMParser).parseFromString(t, "text/html"), o = Object.keys(e), r = [].slice.call(i.body.querySelectorAll("*")), l = function (t, n) { var i = r[t], l = i.nodeName.toLowerCase(); if (-1 === o.indexOf(i.nodeName.toLowerCase())) return i.parentNode.removeChild(i), "continue"; var a = [].slice.call(i.attributes), s = [].concat(e["*"] || [], e[l] || []); a.forEach((function (t) { (function (t, e) { var n = t.nodeName.toLowerCase(); if (-1 !== e.indexOf(n)) return -1 === W.indexOf(n) || Boolean(t.nodeValue.match(z) || t.nodeValue.match(q)); for (var i = e.filter((function (t) { return t instanceof RegExp })), o = 0, r = i.length; o < r; o++)if (n.match(i[o])) return !0; return !1 })(t, s) || i.removeAttribute(t.nodeName) })) }, a = 0, s = r.length; a < s; a++)l(a); return i.body.innerHTML } var Z = "tooltip", X = o.default.fn.tooltip, U = new RegExp("(^|\\s)bs-tooltip\\S+", "g"), G = ["sanitize", "whiteList", "sanitizeFn"], Q = { animation: "boolean", template: "string", title: "(string|element|function)", trigger: "string", delay: "(number|object)", html: "boolean", selector: "(string|boolean)", placement: "(string|function)", offset: "(number|string|function)", container: "(string|element|boolean)", fallbackPlacement: "(string|array)", boundary: "(string|element)", customClass: "(string|function)", sanitize: "boolean", sanitizeFn: "(null|function)", whiteList: "object", popperConfig: "(null|object)" }, K = { AUTO: "auto", TOP: "top", RIGHT: "right", BOTTOM: "bottom", LEFT: "left" }, J = { animation: !0, template: '<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>', trigger: "hover focus", title: "", delay: 0, html: !1, selector: !1, placement: "top", offset: 0, container: !1, fallbackPlacement: "flip", boundary: "scrollParent", customClass: "", sanitize: !0, sanitizeFn: null, whiteList: B, popperConfig: null }, tt = { HIDE: "hide.bs.tooltip", HIDDEN: "hidden.bs.tooltip", SHOW: "show.bs.tooltip", SHOWN: "shown.bs.tooltip", INSERTED: "inserted.bs.tooltip", CLICK: "click.bs.tooltip", FOCUSIN: "focusin.bs.tooltip", FOCUSOUT: "focusout.bs.tooltip", MOUSEENTER: "mouseenter.bs.tooltip", MOUSELEAVE: "mouseleave.bs.tooltip" }, et = function () { function t(t, e) { if (void 0 === l.default) throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)"); this._isEnabled = !0, this._timeout = 0, this._hoverState = "", this._activeTrigger = {}, this._popper = null, this.element = t, this.config = this._getConfig(e), this.tip = null, this._setListeners() } var e = t.prototype; return e.enable = function () { this._isEnabled = !0 }, e.disable = function () { this._isEnabled = !1 }, e.toggleEnabled = function () { this._isEnabled = !this._isEnabled }, e.toggle = function (t) { if (this._isEnabled) if (t) { var e = this.constructor.DATA_KEY, n = o.default(t.currentTarget).data(e); n || (n = new this.constructor(t.currentTarget, this._getDelegateConfig()), o.default(t.currentTarget).data(e, n)), n._activeTrigger.click = !n._activeTrigger.click, n._isWithActiveTrigger() ? n._enter(null, n) : n._leave(null, n) } else { if (o.default(this.getTipElement()).hasClass("show")) return void this._leave(null, this); this._enter(null, this) } }, e.dispose = function () { clearTimeout(this._timeout), o.default.removeData(this.element, this.constructor.DATA_KEY), o.default(this.element).off(this.constructor.EVENT_KEY), o.default(this.element).closest(".modal").off("hide.bs.modal", this._hideModalHandler), this.tip && o.default(this.tip).remove(), this._isEnabled = null, this._timeout = null, this._hoverState = null, this._activeTrigger = null, this._popper && this._popper.destroy(), this._popper = null, this.element = null, this.config = null, this.tip = null }, e.show = function () { var t = this; if ("none" === o.default(this.element).css("display")) throw new Error("Please use show on visible elements"); var e = o.default.Event(this.constructor.Event.SHOW); if (this.isWithContent() && this._isEnabled) { o.default(this.element).trigger(e); var n = h.findShadowRoot(this.element), i = o.default.contains(null !== n ? n : this.element.ownerDocument.documentElement, this.element); if (e.isDefaultPrevented() || !i) return; var r = this.getTipElement(), a = h.getUID(this.constructor.NAME); r.setAttribute("id", a), this.element.setAttribute("aria-describedby", a), this.setContent(), this.config.animation && o.default(r).addClass("fade"); var s = "function" == typeof this.config.placement ? this.config.placement.call(this, r, this.element) : this.config.placement, c = this._getAttachment(s); this.addAttachmentClass(c); var u = this._getContainer(); o.default(r).data(this.constructor.DATA_KEY, this), o.default.contains(this.element.ownerDocument.documentElement, this.tip) || o.default(r).appendTo(u), o.default(this.element).trigger(this.constructor.Event.INSERTED), this._popper = new l.default(this.element, r, this._getPopperConfig(c)), o.default(r).addClass("show"), o.default(r).addClass(this.config.customClass), "ontouchstart" in document.documentElement && o.default(document.body).children().on("mouseover", null, o.default.noop); var d = function () { t.config.animation && t._fixTransition(); var e = t._hoverState; t._hoverState = null, o.default(t.element).trigger(t.constructor.Event.SHOWN), "out" === e && t._leave(null, t) }; if (o.default(this.tip).hasClass("fade")) { var f = h.getTransitionDurationFromElement(this.tip); o.default(this.tip).one(h.TRANSITION_END, d).emulateTransitionEnd(f) } else d() } }, e.hide = function (t) { var e = this, n = this.getTipElement(), i = o.default.Event(this.constructor.Event.HIDE), r = function () { "show" !== e._hoverState && n.parentNode && n.parentNode.removeChild(n), e._cleanTipClass(), e.element.removeAttribute("aria-describedby"), o.default(e.element).trigger(e.constructor.Event.HIDDEN), null !== e._popper && e._popper.destroy(), t && t() }; if (o.default(this.element).trigger(i), !i.isDefaultPrevented()) { if (o.default(n).removeClass("show"), "ontouchstart" in document.documentElement && o.default(document.body).children().off("mouseover", null, o.default.noop), this._activeTrigger.click = !1, this._activeTrigger.focus = !1, this._activeTrigger.hover = !1, o.default(this.tip).hasClass("fade")) { var l = h.getTransitionDurationFromElement(n); o.default(n).one(h.TRANSITION_END, r).emulateTransitionEnd(l) } else r(); this._hoverState = "" } }, e.update = function () { null !== this._popper && this._popper.scheduleUpdate() }, e.isWithContent = function () { return Boolean(this.getTitle()) }, e.addAttachmentClass = function (t) { o.default(this.getTipElement()).addClass("bs-tooltip-" + t) }, e.getTipElement = function () { return this.tip = this.tip || o.default(this.config.template)[0], this.tip }, e.setContent = function () { var t = this.getTipElement(); this.setElementContent(o.default(t.querySelectorAll(".tooltip-inner")), this.getTitle()), o.default(t).removeClass("fade show") }, e.setElementContent = function (t, e) { "object" !== r(e) || !e.nodeType && !e.jquery ? this.config.html ? (this.config.sanitize && (e = Y(e, this.config.whiteList, this.config.sanitizeFn)), t.html(e)) : t.text(e) : this.config.html ? o.default(e).parent().is(t) || t.empty().append(e) : t.text(o.default(e).text()) }, e.getTitle = function () { var t = this.element.getAttribute("data-original-title"); return t || (t = "function" == typeof this.config.title ? this.config.title.call(this.element) : this.config.title), t }, e._getPopperConfig = function (t) { var e = this; return c({}, { placement: t, modifiers: { offset: this._getOffset(), flip: { behavior: this.config.fallbackPlacement }, arrow: { element: ".arrow" }, preventOverflow: { boundariesElement: this.config.boundary } }, onCreate: function (t) { t.originalPlacement !== t.placement && e._handlePopperPlacementChange(t) }, onUpdate: function (t) { return e._handlePopperPlacementChange(t) } }, this.config.popperConfig) }, e._getOffset = function () { var t = this, e = {}; return "function" == typeof this.config.offset ? e.fn = function (e) { return e.offsets = c({}, e.offsets, t.config.offset(e.offsets, t.element) || {}), e } : e.offset = this.config.offset, e }, e._getContainer = function () { return !1 === this.config.container ? document.body : h.isElement(this.config.container) ? o.default(this.config.container) : o.default(document).find(this.config.container) }, e._getAttachment = function (t) { return K[t.toUpperCase()] }, e._setListeners = function () { var t = this; this.config.trigger.split(" ").forEach((function (e) { if ("click" === e) o.default(t.element).on(t.constructor.Event.CLICK, t.config.selector, (function (e) { return t.toggle(e) })); else if ("manual" !== e) { var n = "hover" === e ? t.constructor.Event.MOUSEENTER : t.constructor.Event.FOCUSIN, i = "hover" === e ? t.constructor.Event.MOUSELEAVE : t.constructor.Event.FOCUSOUT; o.default(t.element).on(n, t.config.selector, (function (e) { return t._enter(e) })).on(i, t.config.selector, (function (e) { return t._leave(e) })) } })), this._hideModalHandler = function () { t.element && t.hide() }, o.default(this.element).closest(".modal").on("hide.bs.modal", this._hideModalHandler), this.config.selector ? this.config = c({}, this.config, { trigger: "manual", selector: "" }) : this._fixTitle() }, e._fixTitle = function () { var t = r(this.element.getAttribute("data-original-title")); (this.element.getAttribute("title") || "string" !== t) && (this.element.setAttribute("data-original-title", this.element.getAttribute("title") || ""), this.element.setAttribute("title", "")) }, e._enter = function (t, e) { var n = this.constructor.DATA_KEY; (e = e || o.default(t.currentTarget).data(n)) || (e = new this.constructor(t.currentTarget, this._getDelegateConfig()), o.default(t.currentTarget).data(n, e)), t && (e._activeTrigger["focusin" === t.type ? "focus" : "hover"] = !0), o.default(e.getTipElement()).hasClass("show") || "show" === e._hoverState ? e._hoverState = "show" : (clearTimeout(e._timeout), e._hoverState = "show", e.config.delay && e.config.delay.show ? e._timeout = setTimeout((function () { "show" === e._hoverState && e.show() }), e.config.delay.show) : e.show()) }, e._leave = function (t, e) { var n = this.constructor.DATA_KEY; (e = e || o.default(t.currentTarget).data(n)) || (e = new this.constructor(t.currentTarget, this._getDelegateConfig()), o.default(t.currentTarget).data(n, e)), t && (e._activeTrigger["focusout" === t.type ? "focus" : "hover"] = !1), e._isWithActiveTrigger() || (clearTimeout(e._timeout), e._hoverState = "out", e.config.delay && e.config.delay.hide ? e._timeout = setTimeout((function () { "out" === e._hoverState && e.hide() }), e.config.delay.hide) : e.hide()) }, e._isWithActiveTrigger = function () { for (var t in this._activeTrigger) if (this._activeTrigger[t]) return !0; return !1 }, e._getConfig = function (t) { var e = o.default(this.element).data(); return Object.keys(e).forEach((function (t) { -1 !== G.indexOf(t) && delete e[t] })), "number" == typeof (t = c({}, this.constructor.Default, e, "object" === r(t) && t ? t : {})).delay && (t.delay = { show: t.delay, hide: t.delay }), "number" == typeof t.title && (t.title = t.title.toString()), "number" == typeof t.content && (t.content = t.content.toString()), h.typeCheckConfig(Z, t, this.constructor.DefaultType), t.sanitize && (t.template = Y(t.template, t.whiteList, t.sanitizeFn)), t }, e._getDelegateConfig = function () { var t = {}; if (this.config) for (var e in this.config) this.constructor.Default[e] !== this.config[e] && (t[e] = this.config[e]); return t }, e._cleanTipClass = function () { var t = o.default(this.getTipElement()), e = t.attr("class").match(U); null !== e && e.length && t.removeClass(e.join("")) }, e._handlePopperPlacementChange = function (t) { this.tip = t.instance.popper, this._cleanTipClass(), this.addAttachmentClass(this._getAttachment(t.placement)) }, e._fixTransition = function () { var t = this.getTipElement(), e = this.config.animation; null === t.getAttribute("x-placement") && (o.default(t).removeClass("fade"), this.config.animation = !1, this.hide(), this.show(), this.config.animation = e) }, t._jQueryInterface = function (e) { return this.each((function () { var n = o.default(this), i = n.data("bs.tooltip"), l = "object" === r(e) && e; if ((i || !/dispose|hide/.test(e)) && (i || (i = new t(this, l), n.data("bs.tooltip", i)), "string" == typeof e)) { if (void 0 === i[e]) throw new TypeError('No method named "' + e + '"'); i[e]() } })) }, s(t, null, [{ key: "VERSION", get: function () { return "4.6.0" } }, { key: "Default", get: function () { return J } }, { key: "NAME", get: function () { return Z } }, { key: "DATA_KEY", get: function () { return "bs.tooltip" } }, { key: "Event", get: function () { return tt } }, { key: "EVENT_KEY", get: function () { return ".bs.tooltip" } }, { key: "DefaultType", get: function () { return Q } }]), t }(); o.default.fn.tooltip = et._jQueryInterface, o.default.fn.tooltip.Constructor = et, o.default.fn.tooltip.noConflict = function () { return o.default.fn.tooltip = X, et._jQueryInterface }; var nt = "popover", it = o.default.fn.popover, ot = new RegExp("(^|\\s)bs-popover\\S+", "g"), rt = c({}, et.Default, { placement: "right", trigger: "click", content: "", template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>' }), lt = c({}, et.DefaultType, { content: "(string|element|function)" }), at = { HIDE: "hide.bs.popover", HIDDEN: "hidden.bs.popover", SHOW: "show.bs.popover", SHOWN: "shown.bs.popover", INSERTED: "inserted.bs.popover", CLICK: "click.bs.popover", FOCUSIN: "focusin.bs.popover", FOCUSOUT: "focusout.bs.popover", MOUSEENTER: "mouseenter.bs.popover", MOUSELEAVE: "mouseleave.bs.popover" }, st = function (t) { var e, n; function i() { return t.apply(this, arguments) || this } n = t, (e = i).prototype = Object.create(n.prototype), e.prototype.constructor = e, e.__proto__ = n; var l = i.prototype; return l.isWithContent = function () { return this.getTitle() || this._getContent() }, l.addAttachmentClass = function (t) { o.default(this.getTipElement()).addClass("bs-popover-" + t) }, l.getTipElement = function () { return this.tip = this.tip || o.default(this.config.template)[0], this.tip }, l.setContent = function () { var t = o.default(this.getTipElement()); this.setElementContent(t.find(".popover-header"), this.getTitle()); var e = this._getContent(); "function" == typeof e && (e = e.call(this.element)), this.setElementContent(t.find(".popover-body"), e), t.removeClass("fade show") }, l._getContent = function () { return this.element.getAttribute("data-content") || this.config.content }, l._cleanTipClass = function () { var t = o.default(this.getTipElement()), e = t.attr("class").match(ot); null !== e && e.length > 0 && t.removeClass(e.join("")) }, i._jQueryInterface = function (t) { return this.each((function () { var e = o.default(this).data("bs.popover"), n = "object" === r(t) ? t : null; if ((e || !/dispose|hide/.test(t)) && (e || (e = new i(this, n), o.default(this).data("bs.popover", e)), "string" == typeof t)) { if (void 0 === e[t]) throw new TypeError('No method named "' + t + '"'); e[t]() } })) }, s(i, null, [{ key: "VERSION", get: function () { return "4.6.0" } }, { key: "Default", get: function () { return rt } }, { key: "NAME", get: function () { return nt } }, { key: "DATA_KEY", get: function () { return "bs.popover" } }, { key: "Event", get: function () { return at } }, { key: "EVENT_KEY", get: function () { return ".bs.popover" } }, { key: "DefaultType", get: function () { return lt } }]), i }(et); o.default.fn.popover = st._jQueryInterface, o.default.fn.popover.Constructor = st, o.default.fn.popover.noConflict = function () { return o.default.fn.popover = it, st._jQueryInterface }; var ct = "scrollspy", ut = o.default.fn[ct], dt = { offset: 10, method: "auto", target: "" }, ht = { offset: "number", method: "string", target: "(string|element)" }, ft = "scroll.bs.scrollspy", pt = ".nav-link", mt = ".list-group-item", gt = ".dropdown-item", vt = function () { function t(t, e) { var n = this; this._element = t, this._scrollElement = "BODY" === t.tagName ? window : t, this._config = this._getConfig(e), this._selector = this._config.target + " " + pt + "," + this._config.target + " " + mt + "," + this._config.target + " " + gt, this._offsets = [], this._targets = [], this._activeTarget = null, this._scrollHeight = 0, o.default(this._scrollElement).on(ft, (function (t) { return n._process(t) })), this.refresh(), this._process() } var e = t.prototype; return e.refresh = function () { var t = this, e = this._scrollElement === this._scrollElement.window ? "offset" : "position", n = "auto" === this._config.method ? e : this._config.method, i = "position" === n ? this._getScrollTop() : 0; this._offsets = [], this._targets = [], this._scrollHeight = this._getScrollHeight(), [].slice.call(document.querySelectorAll(this._selector)).map((function (t) { var e, r = h.getSelectorFromElement(t); if (r && (e = document.querySelector(r)), e) { var l = e.getBoundingClientRect(); if (l.width || l.height) return [o.default(e)[n]().top + i, r] } return null })).filter((function (t) { return t })).sort((function (t, e) { return t[0] - e[0] })).forEach((function (e) { t._offsets.push(e[0]), t._targets.push(e[1]) })) }, e.dispose = function () { o.default.removeData(this._element, "bs.scrollspy"), o.default(this._scrollElement).off(".bs.scrollspy"), this._element = null, this._scrollElement = null, this._config = null, this._selector = null, this._offsets = null, this._targets = null, this._activeTarget = null, this._scrollHeight = null }, e._getConfig = function (t) { if ("string" != typeof (t = c({}, dt, "object" === r(t) && t ? t : {})).target && h.isElement(t.target)) { var e = o.default(t.target).attr("id"); e || (e = h.getUID(ct), o.default(t.target).attr("id", e)), t.target = "#" + e } return h.typeCheckConfig(ct, t, ht), t }, e._getScrollTop = function () { return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop }, e._getScrollHeight = function () { return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight) }, e._getOffsetHeight = function () { return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height }, e._process = function () { var t = this._getScrollTop() + this._config.offset, e = this._getScrollHeight(), n = this._config.offset + e - this._getOffsetHeight(); if (this._scrollHeight !== e && this.refresh(), t >= n) { var i = this._targets[this._targets.length - 1]; this._activeTarget !== i && this._activate(i) } else { if (this._activeTarget && t < this._offsets[0] && this._offsets[0] > 0) return this._activeTarget = null, void this._clear(); for (var o = this._offsets.length; o--;)this._activeTarget !== this._targets[o] && t >= this._offsets[o] && (void 0 === this._offsets[o + 1] || t < this._offsets[o + 1]) && this._activate(this._targets[o]) } }, e._activate = function (t) { this._activeTarget = t, this._clear(); var e = this._selector.split(",").map((function (e) { return e + '[data-target="' + t + '"],' + e + '[href="' + t + '"]' })), n = o.default([].slice.call(document.querySelectorAll(e.join(",")))); n.hasClass("dropdown-item") ? (n.closest(".dropdown").find(".dropdown-toggle").addClass("active"), n.addClass("active")) : (n.addClass("active"), n.parents(".nav, .list-group").prev(pt + ", " + mt).addClass("active"), n.parents(".nav, .list-group").prev(".nav-item").children(pt).addClass("active")), o.default(this._scrollElement).trigger("activate.bs.scrollspy", { relatedTarget: t }) }, e._clear = function () { [].slice.call(document.querySelectorAll(this._selector)).filter((function (t) { return t.classList.contains("active") })).forEach((function (t) { return t.classList.remove("active") })) }, t._jQueryInterface = function (e) { return this.each((function () { var n = o.default(this).data("bs.scrollspy"), i = "object" === r(e) && e; if (n || (n = new t(this, i), o.default(this).data("bs.scrollspy", n)), "string" == typeof e) { if (void 0 === n[e]) throw new TypeError('No method named "' + e + '"'); n[e]() } })) }, s(t, null, [{ key: "VERSION", get: function () { return "4.6.0" } }, { key: "Default", get: function () { return dt } }]), t }(); o.default(window).on("load.bs.scrollspy.data-api", (function () { for (var t = [].slice.call(document.querySelectorAll('[data-spy="scroll"]')), e = t.length; e--;) { var n = o.default(t[e]); vt._jQueryInterface.call(n, n.data()) } })), o.default.fn[ct] = vt._jQueryInterface, o.default.fn[ct].Constructor = vt, o.default.fn[ct].noConflict = function () { return o.default.fn[ct] = ut, vt._jQueryInterface }; var yt = o.default.fn.tab, bt = function () { function t(t) { this._element = t } var e = t.prototype; return e.show = function () { var t = this; if (!(this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && o.default(this._element).hasClass("active") || o.default(this._element).hasClass("disabled"))) { var e, n, i = o.default(this._element).closest(".nav, .list-group")[0], r = h.getSelectorFromElement(this._element); if (i) { var l = "UL" === i.nodeName || "OL" === i.nodeName ? "> li > .active" : ".active"; n = (n = o.default.makeArray(o.default(i).find(l)))[n.length - 1] } var a = o.default.Event("hide.bs.tab", { relatedTarget: this._element }), s = o.default.Event("show.bs.tab", { relatedTarget: n }); if (n && o.default(n).trigger(a), o.default(this._element).trigger(s), !s.isDefaultPrevented() && !a.isDefaultPrevented()) { r && (e = document.querySelector(r)), this._activate(this._element, i); var c = function () { var e = o.default.Event("hidden.bs.tab", { relatedTarget: t._element }), i = o.default.Event("shown.bs.tab", { relatedTarget: n }); o.default(n).trigger(e), o.default(t._element).trigger(i) }; e ? this._activate(e, e.parentNode, c) : c() } } }, e.dispose = function () { o.default.removeData(this._element, "bs.tab"), this._element = null }, e._activate = function (t, e, n) { var i = this, r = (!e || "UL" !== e.nodeName && "OL" !== e.nodeName ? o.default(e).children(".active") : o.default(e).find("> li > .active"))[0], l = n && r && o.default(r).hasClass("fade"), a = function () { return i._transitionComplete(t, r, n) }; if (r && l) { var s = h.getTransitionDurationFromElement(r); o.default(r).removeClass("show").one(h.TRANSITION_END, a).emulateTransitionEnd(s) } else a() }, e._transitionComplete = function (t, e, n) { if (e) { o.default(e).removeClass("active"); var i = o.default(e.parentNode).find("> .dropdown-menu .active")[0]; i && o.default(i).removeClass("active"), "tab" === e.getAttribute("role") && e.setAttribute("aria-selected", !1) } if (o.default(t).addClass("active"), "tab" === t.getAttribute("role") && t.setAttribute("aria-selected", !0), h.reflow(t), t.classList.contains("fade") && t.classList.add("show"), t.parentNode && o.default(t.parentNode).hasClass("dropdown-menu")) { var r = o.default(t).closest(".dropdown")[0]; if (r) { var l = [].slice.call(r.querySelectorAll(".dropdown-toggle")); o.default(l).addClass("active") } t.setAttribute("aria-expanded", !0) } n && n() }, t._jQueryInterface = function (e) { return this.each((function () { var n = o.default(this), i = n.data("bs.tab"); if (i || (i = new t(this), n.data("bs.tab", i)), "string" == typeof e) { if (void 0 === i[e]) throw new TypeError('No method named "' + e + '"'); i[e]() } })) }, s(t, null, [{ key: "VERSION", get: function () { return "4.6.0" } }]), t }(); o.default(document).on("click.bs.tab.data-api", '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]', (function (t) { t.preventDefault(), bt._jQueryInterface.call(o.default(this), "show") })), o.default.fn.tab = bt._jQueryInterface, o.default.fn.tab.Constructor = bt, o.default.fn.tab.noConflict = function () { return o.default.fn.tab = yt, bt._jQueryInterface }; var wt = o.default.fn.toast, xt = { animation: "boolean", autohide: "boolean", delay: "number" }, kt = { animation: !0, autohide: !0, delay: 500 }, St = function () { function t(t, e) { this._element = t, this._config = this._getConfig(e), this._timeout = null, this._setListeners() } var e = t.prototype; return e.show = function () { var t = this, e = o.default.Event("show.bs.toast"); if (o.default(this._element).trigger(e), !e.isDefaultPrevented()) { this._clearTimeout(), this._config.animation && this._element.classList.add("fade"); var n = function () { t._element.classList.remove("showing"), t._element.classList.add("show"), o.default(t._element).trigger("shown.bs.toast"), t._config.autohide && (t._timeout = setTimeout((function () { t.hide() }), t._config.delay)) }; if (this._element.classList.remove("hide"), h.reflow(this._element), this._element.classList.add("showing"), this._config.animation) { var i = h.getTransitionDurationFromElement(this._element); o.default(this._element).one(h.TRANSITION_END, n).emulateTransitionEnd(i) } else n() } }, e.hide = function () { if (this._element.classList.contains("show")) { var t = o.default.Event("hide.bs.toast"); o.default(this._element).trigger(t), t.isDefaultPrevented() || this._close() } }, e.dispose = function () { this._clearTimeout(), this._element.classList.contains("show") && this._element.classList.remove("show"), o.default(this._element).off("click.dismiss.bs.toast"), o.default.removeData(this._element, "bs.toast"), this._element = null, this._config = null }, e._getConfig = function (t) { return t = c({}, kt, o.default(this._element).data(), "object" === r(t) && t ? t : {}), h.typeCheckConfig("toast", t, this.constructor.DefaultType), t }, e._setListeners = function () { var t = this; o.default(this._element).on("click.dismiss.bs.toast", '[data-dismiss="toast"]', (function () { return t.hide() })) }, e._close = function () { var t = this, e = function () { t._element.classList.add("hide"), o.default(t._element).trigger("hidden.bs.toast") }; if (this._element.classList.remove("show"), this._config.animation) { var n = h.getTransitionDurationFromElement(this._element); o.default(this._element).one(h.TRANSITION_END, e).emulateTransitionEnd(n) } else e() }, e._clearTimeout = function () { clearTimeout(this._timeout), this._timeout = null }, t._jQueryInterface = function (e) { return this.each((function () { var n = o.default(this), i = n.data("bs.toast"), l = "object" === r(e) && e; if (i || (i = new t(this, l), n.data("bs.toast", i)), "string" == typeof e) { if (void 0 === i[e]) throw new TypeError('No method named "' + e + '"'); i[e](this) } })) }, s(t, null, [{ key: "VERSION", get: function () { return "4.6.0" } }, { key: "DefaultType", get: function () { return xt } }, { key: "Default", get: function () { return kt } }]), t }(); o.default.fn.toast = St._jQueryInterface, o.default.fn.toast.Constructor = St, o.default.fn.toast.noConflict = function () { return o.default.fn.toast = wt, St._jQueryInterface }, t.Alert = p, t.Button = g, t.Carousel = C, t.Collapse = O, t.Dropdown = N, t.Modal = H, t.Popover = st, t.Scrollspy = vt, t.Tab = bt, t.Toast = St, t.Tooltip = et, t.Util = h, Object.defineProperty(t, "__esModule", { value: !0 }) }, "object" === ("undefined" == typeof exports ? "undefined" : r(exports)) && void 0 !== t ? o(exports, n(64), n(170)) : "function" == typeof define && n(24) ? define(["exports", "jquery", "popper.js"], o) : o((i = "undefined" != typeof globalThis ? globalThis : i || self).bootstrap = {}, i.jQuery, i.Popper)
}, function (t, e) { t.exports = popper }, function (t, e, n) {
"use strict"; (function (t) {
var e, i; n(10), n(16), n(17), n(36), n(12), n(8), n(23), n(32), n(28), n(59), n(7), n(14), n(18), n(30), n(19); function o(t) { return (o = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*!
* bsCustomFileInput v1.3.2 (https://github.com/Johann-S/bs-custom-file-input)
* Copyright 2018 - 2019 Johann-S <johann.servoire@gmail.com>
* Licensed under MIT (https://github.com/Johann-S/bs-custom-file-input/blob/master/LICENSE)
*/e = void 0, i = function () { var t = { CUSTOMFILE: '.custom-file input[type="file"]', CUSTOMFILELABEL: ".custom-file-label", FORM: "form", INPUT: "input" }, e = function (e) { var n = "", i = e.parentNode.querySelector(t.CUSTOMFILELABEL); return i && (n = i.innerHTML), n }, n = function (t) { if (t.childNodes.length > 0) for (var e = [].slice.call(t.childNodes), n = 0; n < e.length; n++) { var i = e[n]; if (3 !== i.nodeType) return i } return t }, i = function (e) { var i = e.bsCustomFileInput.defaultText, o = e.parentNode.querySelector(t.CUSTOMFILELABEL); o && (n(o).innerHTML = i) }, o = !!window.File, r = function (t) { if (t.hasAttribute("multiple") && o) return [].slice.call(t.files).map((function (t) { return t.name })).join(", "); if (-1 !== t.value.indexOf("fakepath")) { var e = t.value.split("\\"); return e[e.length - 1] } return t.value }; function l() { var e = this.parentNode.querySelector(t.CUSTOMFILELABEL); if (e) { var o = n(e), l = r(this); l.length ? o.innerHTML = l : i(this) } } function a() { for (var e = [].slice.call(this.querySelectorAll(t.INPUT)).filter((function (t) { return !!t.bsCustomFileInput })), n = 0, o = e.length; n < o; n++)i(e[n]) } var s = "reset", c = "change"; return { init: function (n, i) { void 0 === n && (n = t.CUSTOMFILE), void 0 === i && (i = t.FORM); for (var o = [].slice.call(document.querySelectorAll(n)), r = [].slice.call(document.querySelectorAll(i)), u = 0, d = o.length; u < d; u++) { var h = o[u]; Object.defineProperty(h, "bsCustomFileInput", { value: { defaultText: e(h) }, writable: !0 }), l.call(h), h.addEventListener(c, l) } for (var f = 0, p = r.length; f < p; f++)r[f].addEventListener(s, a), Object.defineProperty(r[f], "bsCustomFileInput", { value: !0, writable: !0 }) }, destroy: function () { for (var e = [].slice.call(document.querySelectorAll(t.FORM)).filter((function (t) { return !!t.bsCustomFileInput })), n = [].slice.call(document.querySelectorAll(t.INPUT)).filter((function (t) { return !!t.bsCustomFileInput })), o = 0, r = n.length; o < r; o++) { var u = n[o]; i(u), u.bsCustomFileInput = void 0, u.removeEventListener(c, l) } for (var d = 0, h = e.length; d < h; d++)e[d].removeEventListener(s, a), e[d].bsCustomFileInput = void 0 } } }, "object" === ("undefined" == typeof exports ? "undefined" : o(exports)) && void 0 !== t ? t.exports = i() : "function" == typeof define && n(24) ? define(i) : (e = e || self).bsCustomFileInput = i(), document.addEventListener("DOMContentLoaded", (function () { bsCustomFileInput.init() }))
}).call(this, n(27)(t))
}, function (t, e) { !function (t) { t("body").on("shown.bs.modal", ".modal", (function () { t(".modal-backdrop").length || ($modal_dialog = t(this).children(".modal-dialog"), $modal_dialog.hasClass("modal-side") && (t(this).addClass("modal-scrolling"), t("body").addClass("scrollable")), $modal_dialog.hasClass("modal-frame") && (t(this).addClass("modal-content-clickable"), t("body").addClass("scrollable"))) })), t("body").on("hidden.bs.modal", ".modal", (function () { t("body").removeClass("scrollable") })) }(jQuery) }, function (t, e) { jQuery.easing.jswing = jQuery.easing.swing, jQuery.extend(jQuery.easing, { def: "easeOutQuad", swing: function (t, e, n, i, o) { return jQuery.easing[jQuery.easing.def](t, e, n, i, o) }, easeInQuad: function (t, e, n, i, o) { return i * (e /= o) * e + n }, easeOutQuad: function (t, e, n, i, o) { return -i * (e /= o) * (e - 2) + n }, easeInOutQuad: function (t, e, n, i, o) { return (e /= o / 2) < 1 ? i / 2 * e * e + n : -i / 2 * (--e * (e - 2) - 1) + n }, easeInCubic: function (t, e, n, i, o) { return i * (e /= o) * e * e + n }, easeOutCubic: function (t, e, n, i, o) { return i * ((e = e / o - 1) * e * e + 1) + n }, easeInOutCubic: function (t, e, n, i, o) { return (e /= o / 2) < 1 ? i / 2 * e * e * e + n : i / 2 * ((e -= 2) * e * e + 2) + n }, easeInQuart: function (t, e, n, i, o) { return i * (e /= o) * e * e * e + n }, easeOutQuart: function (t, e, n, i, o) { return -i * ((e = e / o - 1) * e * e * e - 1) + n }, easeInOutQuart: function (t, e, n, i, o) { return (e /= o / 2) < 1 ? i / 2 * e * e * e * e + n : -i / 2 * ((e -= 2) * e * e * e - 2) + n }, easeInQuint: function (t, e, n, i, o) { return i * (e /= o) * e * e * e * e + n }, easeOutQuint: function (t, e, n, i, o) { return i * ((e = e / o - 1) * e * e * e * e + 1) + n }, easeInOutQuint: function (t, e, n, i, o) { return (e /= o / 2) < 1 ? i / 2 * e * e * e * e * e + n : i / 2 * ((e -= 2) * e * e * e * e + 2) + n }, easeInSine: function (t, e, n, i, o) { return -i * Math.cos(e / o * (Math.PI / 2)) + i + n }, easeOutSine: function (t, e, n, i, o) { return i * Math.sin(e / o * (Math.PI / 2)) + n }, easeInOutSine: function (t, e, n, i, o) { return -i / 2 * (Math.cos(Math.PI * e / o) - 1) + n }, easeInExpo: function (t, e, n, i, o) { return 0 == e ? n : i * Math.pow(2, 10 * (e / o - 1)) + n }, easeOutExpo: function (t, e, n, i, o) { return e == o ? n + i : i * (1 - Math.pow(2, -10 * e / o)) + n }, easeInOutExpo: function (t, e, n, i, o) { return 0 == e ? n : e == o ? n + i : (e /= o / 2) < 1 ? i / 2 * Math.pow(2, 10 * (e - 1)) + n : i / 2 * (2 - Math.pow(2, -10 * --e)) + n }, easeInCirc: function (t, e, n, i, o) { return -i * (Math.sqrt(1 - (e /= o) * e) - 1) + n }, easeOutCirc: function (t, e, n, i, o) { return i * Math.sqrt(1 - (e = e / o - 1) * e) + n }, easeInOutCirc: function (t, e, n, i, o) { return (e /= o / 2) < 1 ? -i / 2 * (Math.sqrt(1 - e * e) - 1) + n : i / 2 * (Math.sqrt(1 - (e -= 2) * e) + 1) + n }, easeInElastic: function (t, e, n, i, o) { var r = 1.70158, l = 0, a = i; if (0 == e) return n; if (1 == (e /= o)) return n + i; if (l || (l = .3 * o), a < Math.abs(i)) { a = i; r = l / 4 } else r = l / (2 * Math.PI) * Math.asin(i / a); return -a * Math.pow(2, 10 * (e -= 1)) * Math.sin((e * o - r) * (2 * Math.PI) / l) + n }, easeOutElastic: function (t, e, n, i, o) { var r = 1.70158, l = 0, a = i; if (0 == e) return n; if (1 == (e /= o)) return n + i; if (l || (l = .3 * o), a < Math.abs(i)) { a = i; r = l / 4 } else r = l / (2 * Math.PI) * Math.asin(i / a); return a * Math.pow(2, -10 * e) * Math.sin((e * o - r) * (2 * Math.PI) / l) + i + n }, easeInOutElastic: function (t, e, n, i, o) { var r = 1.70158, l = 0, a = i; if (0 == e) return n; if (2 == (e /= o / 2)) return n + i; if (l || (l = o * (.3 * 1.5)), a < Math.abs(i)) { a = i; r = l / 4 } else r = l / (2 * Math.PI) * Math.asin(i / a); return e < 1 ? a * Math.pow(2, 10 * (e -= 1)) * Math.sin((e * o - r) * (2 * Math.PI) / l) * -.5 + n : a * Math.pow(2, -10 * (e -= 1)) * Math.sin((e * o - r) * (2 * Math.PI) / l) * .5 + i + n }, easeInBack: function (t, e, n, i, o, r) { return null == r && (r = 1.70158), i * (e /= o) * e * ((r + 1) * e - r) + n }, easeOutBack: function (t, e, n, i, o, r) { return null == r && (r = 1.70158), i * ((e = e / o - 1) * e * ((r + 1) * e + r) + 1) + n }, easeInOutBack: function (t, e, n, i, o, r) { return null == r && (r = 1.70158), (e /= o / 2) < 1 ? i / 2 * (e * e * ((1 + (r *= 1.525)) * e - r)) + n : i / 2 * ((e -= 2) * e * ((1 + (r *= 1.525)) * e + r) + 2) + n }, easeInBounce: function (t, e, n, i, o) { return i - jQuery.easing.easeOutBounce(t, o - e, 0, i, o) + n }, easeOutBounce: function (t, e, n, i, o) { return (e /= o) < 1 / 2.75 ? i * (7.5625 * e * e) + n : e < 2 / 2.75 ? i * (7.5625 * (e -= 1.5 / 2.75) * e + .75) + n : e < 2.5 / 2.75 ? i * (7.5625 * (e -= 2.25 / 2.75) * e + .9375) + n : i * (7.5625 * (e -= 2.625 / 2.75) * e + .984375) + n }, easeInOutBounce: function (t, e, n, i, o) { return e < o / 2 ? .5 * jQuery.easing.easeInBounce(t, 2 * e, 0, i, o) + n : .5 * jQuery.easing.easeOutBounce(t, 2 * e - o, 0, i, o) + .5 * i + n } }) }, function (t, e, n) {
"use strict"; (function (t) {
var e; n(10), n(16), n(17), n(31), n(8), n(23), n(90), n(28), n(175), n(13), n(7), n(46), n(44), n(62), n(14), n(29), n(18), n(43), n(35), n(30), n(176), n(181), n(183), n(184), n(185), n(186), n(187), n(188), n(189), n(190), n(191), n(192), n(193), n(194), n(195), n(196), n(197), n(198), n(199), n(200), n(201), n(202), n(203), n(204), n(19); function i(t) { return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*! VelocityJS.org (1.2.3). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */
/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */
/*! Note that this has been modified by Materialize to confirm that Velocity is not already being imported. */jQuery.Velocity ? console.log("Velocity is already loaded. You may be needlessly importing Velocity again; note that Materialize includes Velocity.") : (function (t) { function e(t) { var e = t.length, i = n.type(t); return "function" !== i && !n.isWindow(t) && (!(1 !== t.nodeType || !e) || ("array" === i || 0 === e || "number" == typeof e && e > 0 && e - 1 in t)) } if (!t.jQuery) { var n = function t(e, n) { return new t.fn.init(e, n) }; n.isWindow = function (t) { return null != t && t == t.window }, n.type = function (t) { return null == t ? t + "" : "object" == i(t) || "function" == typeof t ? r[a.call(t)] || "object" : i(t) }, n.isArray = Array.isArray || function (t) { return "array" === n.type(t) }, n.isPlainObject = function (t) { var e; if (!t || "object" !== n.type(t) || t.nodeType || n.isWindow(t)) return !1; try { if (t.constructor && !l.call(t, "constructor") && !l.call(t.constructor.prototype, "isPrototypeOf")) return !1 } catch (t) { return !1 } for (e in t); return void 0 === e || l.call(t, e) }, n.each = function (t, n, i) { var o = 0, r = t.length, l = e(t); if (i) { if (l) for (; r > o && !1 !== n.apply(t[o], i); o++); else for (o in t) if (!1 === n.apply(t[o], i)) break } else if (l) for (; r > o && !1 !== n.call(t[o], o, t[o]); o++); else for (o in t) if (!1 === n.call(t[o], o, t[o])) break; return t }, n.data = function (t, e, i) { if (void 0 === i) { var r = (l = t[n.expando]) && o[l]; if (void 0 === e) return r; if (r && e in r) return r[e] } else if (void 0 !== e) { var l = t[n.expando] || (t[n.expando] = ++n.uuid); return o[l] = o[l] || {}, o[l][e] = i, i } }, n.removeData = function (t, e) { var i = t[n.expando], r = i && o[i]; r && n.each(e, (function (t, e) { delete r[e] })) }, n.extend = function () { var t, e, o, r, l, a, s = arguments[0] || {}, c = 1, u = arguments.length, d = !1; for ("boolean" == typeof s && (d = s, s = arguments[c] || {}, c++), "object" != i(s) && "function" !== n.type(s) && (s = {}), c === u && (s = this, c--); u > c; c++)if (null != (l = arguments[c])) for (r in l) t = s[r], s !== (o = l[r]) && (d && o && (n.isPlainObject(o) || (e = n.isArray(o))) ? (e ? (e = !1, a = t && n.isArray(t) ? t : []) : a = t && n.isPlainObject(t) ? t : {}, s[r] = n.extend(d, a, o)) : void 0 !== o && (s[r] = o)); return s }, n.queue = function (t, i, o) { if (t) { i = (i || "fx") + "queue"; var r = n.data(t, i); return o ? (!r || n.isArray(o) ? r = n.data(t, i, function (t, n) { var i = n || []; return null != t && (e(Object(t)) ? function (t, e) { for (var n = +e.length, i = 0, o = t.length; n > i;)t[o++] = e[i++]; if (n != n) for (; void 0 !== e[i];)t[o++] = e[i++]; t.length = o }(i, "string" == typeof t ? [t] : t) : [].push.call(i, t)), i }(o)) : r.push(o), r) : r || [] } }, n.dequeue = function (t, e) { n.each(t.nodeType ? [t] : t, (function (t, i) { e = e || "fx"; var o = n.queue(i, e), r = o.shift(); "inprogress" === r && (r = o.shift()), r && ("fx" === e && o.unshift("inprogress"), r.call(i, (function () { n.dequeue(i, e) }))) })) }, n.fn = n.prototype = { init: function (t) { if (t.nodeType) return this[0] = t, this; throw new Error("Not a DOM node.") }, offset: function () { var e = this[0].getBoundingClientRect ? this[0].getBoundingClientRect() : { top: 0, left: 0 }; return { top: e.top + (t.pageYOffset || document.scrollTop || 0) - (document.clientTop || 0), left: e.left + (t.pageXOffset || document.scrollLeft || 0) - (document.clientLeft || 0) } }, position: function () { function t() { for (var t = this.offsetParent || document; t && "html" === !t.nodeType.toLowerCase && "static" === t.style.position;)t = t.offsetParent; return t || document } var e = this[0], t = t.apply(e), i = this.offset(), o = /^(?:body|html)$/i.test(t.nodeName) ? { top: 0, left: 0 } : n(t).offset(); return i.top -= parseFloat(e.style.marginTop) || 0, i.left -= parseFloat(e.style.marginLeft) || 0, t.style && (o.top += parseFloat(t.style.borderTopWidth) || 0, o.left += parseFloat(t.style.borderLeftWidth) || 0), { top: i.top - o.top, left: i.left - o.left } } }; var o = {}; n.expando = "velocity" + (new Date).getTime(), n.uuid = 0; for (var r = {}, l = r.hasOwnProperty, a = r.toString, s = "Boolean Number String Function Array Date RegExp Object Error".split(" "), c = 0; c < s.length; c++)r["[object " + s[c] + "]"] = s[c].toLowerCase(); n.fn.init.prototype = n.fn, t.Velocity = { Utilities: n } } }(window), e = function () { return function (t, e, n, o) { function r(t) { return m.isWrapped(t) ? t = [].slice.call(t) : m.isNode(t) && (t = [t]), t } function l(t) { var e = h.data(t, "velocity"); return null === e ? o : e } function a(t) { return function (e) { return Math.round(e * t) * (1 / t) } } function s(t, n, i, o) { function r(t, e) { return 1 - 3 * e + 3 * t } function l(t, e) { return 3 * e - 6 * t } function a(t) { return 3 * t } function s(t, e, n) { return ((r(e, n) * t + l(e, n)) * t + a(e)) * t } function c(t, e, n) { return 3 * r(e, n) * t * t + 2 * l(e, n) * t + a(e) } function u(e, n) { for (var o = 0; f > o; ++o) { var r = c(n, t, i); if (0 === r) return n; n -= (s(n, t, i) - e) / r } return n } function d(e, n, o) { var r, l, a = 0; do { (r = s(l = n + (o - n) / 2, t, i) - e) > 0 ? o = l : n = l } while (Math.abs(r) > m && ++a < g); return l } function h() { k = !0, (t != n || i != o) && function () { for (var e = 0; v > e; ++e)x[e] = s(e * y, t, i) }() } var f = 4, p = .001, m = 1e-7, g = 10, v = 11, y = 1 / (v - 1), b = "Float32Array" in e; if (4 !== arguments.length) return !1; for (var w = 0; 4 > w; ++w)if ("number" != typeof arguments[w] || isNaN(arguments[w]) || !isFinite(arguments[w])) return !1; t = Math.min(t, 1), i = Math.min(i, 1), t = Math.max(t, 0), i = Math.max(i, 0); var x = b ? new Float32Array(v) : new Array(v), k = !1, S = function (e) { return k || h(), t === n && i === o ? e : 0 === e ? 0 : 1 === e ? 1 : s(function (e) { for (var n = 0, o = 1, r = v - 1; o != r && x[o] <= e; ++o)n += y; var l = n + (e - x[--o]) / (x[o + 1] - x[o]) * y, a = c(l, t, i); return a >= p ? u(e, l) : 0 == a ? l : d(e, n, n + y) }(e), n, o) }; S.getControlPoints = function () { return [{ x: t, y: n }, { x: i, y: o }] }; var C = "generateBezier(" + [t, n, i, o] + ")"; return S.toString = function () { return C }, S } function c(t, e) { var n = t; return m.isString(t) ? b.Easings[t] || (n = !1) : n = m.isArray(t) && 1 === t.length ? a.apply(null, t) : m.isArray(t) && 2 === t.length ? w.apply(null, t.concat([e])) : !(!m.isArray(t) || 4 !== t.length) && s.apply(null, t), !1 === n && (n = b.Easings[b.defaults.easing] ? b.defaults.easing : y), n } function u(t) { if (t) { var e = (new Date).getTime(), n = b.State.calls.length; n > 1e4 && (b.State.calls = function (t) { for (var e = -1, n = t ? t.length : 0, i = []; ++e < n;) { var o = t[e]; o && i.push(o) } return i }(b.State.calls)); for (var i = 0; n > i; i++)if (b.State.calls[i]) { var r = b.State.calls[i], a = r[0], s = r[2], c = r[3], f = !!c, p = null; c || (c = b.State.calls[i][3] = e - 16); for (var g = Math.min((e - c) / s.duration, 1), v = 0, y = a.length; y > v; v++) { var w = a[v], k = w.element; if (l(k)) { var C = !1; for (var M in s.display !== o && null !== s.display && "none" !== s.display && ("flex" === s.display && h.each(["-webkit-box", "-moz-box", "-ms-flexbox", "-webkit-flex"], (function (t, e) { x.setPropertyValue(k, "display", e) })), x.setPropertyValue(k, "display", s.display)), s.visibility !== o && "hidden" !== s.visibility && x.setPropertyValue(k, "visibility", s.visibility), w) if ("element" !== M) { var _, T = w[M], E = m.isString(T.easing) ? b.Easings[T.easing] : T.easing; if (1 === g) _ = T.endValue; else { var A = T.endValue - T.startValue; if (_ = T.startValue + A * E(g, s, A), !f && _ === T.currentValue) continue } if (T.currentValue = _, "tween" === M) p = _; else { if (x.Hooks.registered[M]) { var O = x.Hooks.getRoot(M), P = l(k).rootPropertyValueCache[O]; P && (T.rootPropertyValue = P) } var I = x.setPropertyValue(k, M, T.currentValue + (0 === parseFloat(_) ? "" : T.unitType), T.rootPropertyValue, T.scrollData); x.Hooks.registered[M] && (l(k).rootPropertyValueCache[O] = x.Normalizations.registered[O] ? x.Normalizations.registered[O]("extract", null, I[1]) : I[1]), "transform" === I[0] && (C = !0) } } s.mobileHA && l(k).transformCache.translate3d === o && (l(k).transformCache.translate3d = "(0px, 0px, 0px)", C = !0), C && x.flushTransformCache(k) } } s.display !== o && "none" !== s.display && (b.State.calls[i][2].display = !1), s.visibility !== o && "hidden" !== s.visibility && (b.State.calls[i][2].visibility = !1), s.progress && s.progress.call(r[1], r[1], g, Math.max(0, c + s.duration - e), c, p), 1 === g && d(i) } } b.State.isTicking && S(u) } function d(t, e) { if (!b.State.calls[t]) return !1; for (var n = b.State.calls[t][0], i = b.State.calls[t][1], r = b.State.calls[t][2], a = b.State.calls[t][4], s = !1, c = 0, u = n.length; u > c; c++) { var d = n[c].element; if (e || r.loop || ("none" === r.display && x.setPropertyValue(d, "display", r.display), "hidden" === r.visibility && x.setPropertyValue(d, "visibility", r.visibility)), !0 !== r.loop && (h.queue(d)[1] === o || !/\.velocityQueueEntryFlag/i.test(h.queue(d)[1])) && l(d)) { l(d).isAnimating = !1, l(d).rootPropertyValueCache = {}; var f = !1; h.each(x.Lists.transforms3D, (function (t, e) { var n = /^scale/.test(e) ? 1 : 0, i = l(d).transformCache[e]; l(d).transformCache[e] !== o && new RegExp("^\\(" + n + "[^.]").test(i) && (f = !0, delete l(d).transformCache[e]) })), r.mobileHA && (f = !0, delete l(d).transformCache.translate3d), f && x.flushTransformCache(d), x.Values.removeClass(d, "velocity-animating") } if (!e && r.complete && !r.loop && c === u - 1) try { r.complete.call(i, i) } catch (t) { setTimeout((function () { throw t }), 1) } a && !0 !== r.loop && a(i), l(d) && !0 === r.loop && !e && (h.each(l(d).tweensContainer, (function (t, e) { /^rotate/.test(t) && 360 === parseFloat(e.endValue) && (e.endValue = 0, e.startValue = 360), /^backgroundPosition/.test(t) && 100 === parseFloat(e.endValue) && "%" === e.unitType && (e.endValue = 0, e.startValue = 100) })), b(d, "reverse", { loop: !0, delay: r.delay })), !1 !== r.queue && h.dequeue(d, r.queue) } b.State.calls[t] = !1; for (var p = 0, m = b.State.calls.length; m > p; p++)if (!1 !== b.State.calls[p]) { s = !0; break } !1 === s && (b.State.isTicking = !1, delete b.State.calls, b.State.calls = []) } var h, f = function () { if (n.documentMode) return n.documentMode; for (var t = 7; t > 4; t--) { var e = n.createElement("div"); if (e.innerHTML = "\x3c!--[if IE " + t + "]><span></span><![endif]--\x3e", e.getElementsByTagName("span").length) return e = null, t } return o }(), p = function () { var t = 0; return e.webkitRequestAnimationFrame || e.mozRequestAnimationFrame || function (e) { var n, i = (new Date).getTime(); return n = Math.max(0, 16 - (i - t)), t = i + n, setTimeout((function () { e(i + n) }), n) } }(), m = { isString: function (t) { return "string" == typeof t }, isArray: Array.isArray || function (t) { return "[object Array]" === Object.prototype.toString.call(t) }, isFunction: function (t) { return "[object Function]" === Object.prototype.toString.call(t) }, isNode: function (t) { return t && t.nodeType }, isNodeList: function (t) { return "object" == i(t) && /^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(t)) && t.length !== o && (0 === t.length || "object" == i(t[0]) && t[0].nodeType > 0) }, isWrapped: function (t) { return t && (t.jquery || e.Zepto && e.Zepto.zepto.isZ(t)) }, isSVG: function (t) { return e.SVGElement && t instanceof e.SVGElement }, isEmptyObject: function (t) { for (var e in t) return !1; return !0 } }, g = !1; if (t.fn && t.fn.jquery ? (h = t, g = !0) : h = e.Velocity.Utilities, 8 >= f && !g) throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity."); if (!(7 >= f)) { var v = 400, y = "swing", b = { State: { isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent), isAndroid: /Android/i.test(navigator.userAgent), isGingerbread: /Android 2\.3\.[3-7]/i.test(navigator.userAgent), isChrome: e.chrome, isFirefox: /Firefox/i.test(navigator.userAgent), prefixElement: n.createElement("div"), prefixMatches: {}, scrollAnchor: null, scrollPropertyLeft: null, scrollPropertyTop: null, isTicking: !1, calls: [] }, CSS: {}, Utilities: h, Redirects: {}, Easings: {}, Promise: e.Promise, defaults: { queue: "", duration: v, easing: y, begin: o, complete: o, progress: o, display: o, visibility: o, loop: !1, delay: !1, mobileHA: !0, _cacheValues: !0 }, init: function (t) { h.data(t, "velocity", { isSVG: m.isSVG(t), isAnimating: !1, computedStyle: null, tweensContainer: null, rootPropertyValueCache: {}, transformCache: {} }) }, hook: null, mock: !1, version: { major: 1, minor: 2, patch: 2 }, debug: !1 }; e.pageYOffset !== o ? (b.State.scrollAnchor = e, b.State.scrollPropertyLeft = "pageXOffset", b.State.scrollPropertyTop = "pageYOffset") : (b.State.scrollAnchor = n.documentElement || n.body.parentNode || n.body, b.State.scrollPropertyLeft = "scrollLeft", b.State.scrollPropertyTop = "scrollTop"); var w = function () { function t(t) { return -t.tension * t.x - t.friction * t.v } function e(e, n, i) { var o = { x: e.x + i.dx * n, v: e.v + i.dv * n, tension: e.tension, friction: e.friction }; return { dx: o.v, dv: t(o) } } function n(n, i) { var o = { dx: n.v, dv: t(n) }, r = e(n, .5 * i, o), l = e(n, .5 * i, r), a = e(n, i, l), s = 1 / 6 * (o.dx + 2 * (r.dx + l.dx) + a.dx), c = 1 / 6 * (o.dv + 2 * (r.dv + l.dv) + a.dv); return n.x = n.x + s * i, n.v = n.v + c * i, n } return function t(e, i, o) { var r, l, a, s = { x: -1, v: 0, tension: null, friction: null }, c = [0], u = 0; for (e = parseFloat(e) || 500, i = parseFloat(i) || 20, o = o || null, s.tension = e, s.friction = i, l = (r = null !== o) ? (u = t(e, i)) / o * .016 : .016; a = n(a || s, l), c.push(1 + a.x), u += 16, Math.abs(a.x) > 1e-4 && Math.abs(a.v) > 1e-4;); return r ? function (t) { return c[t * (c.length - 1) | 0] } : u } }(); b.Easings = { linear: function (t) { return t }, swing: function (t) { return .5 - Math.cos(t * Math.PI) / 2 }, spring: function (t) { return 1 - Math.cos(4.5 * t * Math.PI) * Math.exp(6 * -t) } }, h.each([["ease", [.25, .1, .25, 1]], ["ease-in", [.42, 0, 1, 1]], ["ease-out", [0, 0, .58, 1]], ["ease-in-out", [.42, 0, .58, 1]], ["easeInSine", [.47, 0, .745, .715]], ["easeOutSine", [.39, .575, .565, 1]], ["easeInOutSine", [.445, .05, .55, .95]], ["easeInQuad", [.55, .085, .68, .53]], ["easeOutQuad", [.25, .46, .45, .94]], ["easeInOutQuad", [.455, .03, .515, .955]], ["easeInCubic", [.55, .055, .675, .19]], ["easeOutCubic", [.215, .61, .355, 1]], ["easeInOutCubic", [.645, .045, .355, 1]], ["easeInQuart", [.895, .03, .685, .22]], ["easeOutQuart", [.165, .84, .44, 1]], ["easeInOutQuart", [.77, 0, .175, 1]], ["easeInQuint", [.755, .05, .855, .06]], ["easeOutQuint", [.23, 1, .32, 1]], ["easeInOutQuint", [.86, 0, .07, 1]], ["easeInExpo", [.95, .05, .795, .035]], ["easeOutExpo", [.19, 1, .22, 1]], ["easeInOutExpo", [1, 0, 0, 1]], ["easeInCirc", [.6, .04, .98, .335]], ["easeOutCirc", [.075, .82, .165, 1]], ["easeInOutCirc", [.785, .135, .15, .86]]], (function (t, e) { b.Easings[e[0]] = s.apply(null, e[1]) })); var x = b.CSS = { RegEx: { isHex: /^#([A-f\d]{3}){1,2}$/i, valueUnwrap: /^[A-z]+\((.*)\)$/i, wrappedValueAlreadyExtracted: /[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/, valueSplit: /([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi }, Lists: { colors: ["fill", "stroke", "stopColor", "color", "backgroundColor", "borderColor", "borderTopColor", "borderRightColor", "borderBottomColor", "borderLeftColor", "outlineColor"], transformsBase: ["translateX", "translateY", "scale", "scaleX", "scaleY", "skewX", "skewY", "rotateZ"], transforms3D: ["transformPerspective", "translateZ", "scaleZ", "rotateX", "rotateY"] }, Hooks: { templates: { textShadow: ["Color X Y Blur", "black 0px 0px 0px"], boxShadow: ["Color X Y Blur Spread", "black 0px 0px 0px 0px"], clip: ["Top Right Bottom Left", "0px 0px 0px 0px"], backgroundPosition: ["X Y", "0% 0%"], transformOrigin: ["X Y Z", "50% 50% 0px"], perspectiveOrigin: ["X Y", "50% 50%"] }, registered: {}, register: function () { for (var t = 0; t < x.Lists.colors.length; t++) { var e = "color" === x.Lists.colors[t] ? "0 0 0 1" : "255 255 255 1"; x.Hooks.templates[x.Lists.colors[t]] = ["Red Green Blue Alpha", e] } var n, i, o; if (f) for (n in x.Hooks.templates) { o = (i = x.Hooks.templates[n])[0].split(" "); var r = i[1].match(x.RegEx.valueSplit); "Color" === o[0] && (o.push(o.shift()), r.push(r.shift()), x.Hooks.templates[n] = [o.join(" "), r.join(" ")]) } for (n in x.Hooks.templates) for (var t in o = (i = x.Hooks.templates[n])[0].split(" ")) { var l = n + o[t], a = t; x.Hooks.registered[l] = [n, a] } }, getRoot: function (t) { var e = x.Hooks.registered[t]; return e ? e[0] : t }, cleanRootPropertyValue: function (t, e) { return x.RegEx.valueUnwrap.test(e) && (e = e.match(x.RegEx.valueUnwrap)[1]), x.Values.isCSSNullValue(e) && (e = x.Hooks.templates[t][1]), e }, extractValue: function (t, e) { var n = x.Hooks.registered[t]; if (n) { var i = n[0], o = n[1]; return (e = x.Hooks.cleanRootPropertyValue(i, e)).toString().match(x.RegEx.valueSplit)[o] } return e }, injectValue: function (t, e, n) { var i = x.Hooks.registered[t]; if (i) { var o, r = i[0], l = i[1]; return (o = (n = x.Hooks.cleanRootPropertyValue(r, n)).toString().match(x.RegEx.valueSplit))[l] = e, o.join(" ") } return n } }, Normalizations: { registered: { clip: function (t, e, n) { switch (t) { case "name": return "clip"; case "extract": var i; return i = x.RegEx.wrappedValueAlreadyExtracted.test(n) ? n : (i = n.toString().match(x.RegEx.valueUnwrap)) ? i[1].replace(/,(\s+)?/g, " ") : n; case "inject": return "rect(" + n + ")" } }, blur: function (t, e, n) { switch (t) { case "name": return b.State.isFirefox ? "filter" : "-webkit-filter"; case "extract": var i = parseFloat(n); if (!i && 0 !== i) { var o = n.toString().match(/blur\(([0-9]+[A-z]+)\)/i); i = o ? o[1] : 0 } return i; case "inject": return parseFloat(n) ? "blur(" + n + ")" : "none" } }, opacity: function (t, e, n) { if (8 >= f) switch (t) { case "name": return "filter"; case "extract": var i = n.toString().match(/alpha\(opacity=(.*)\)/i); return i ? i[1] / 100 : 1; case "inject": return e.style.zoom = 1, parseFloat(n) >= 1 ? "" : "alpha(opacity=" + parseInt(100 * parseFloat(n), 10) + ")" } else switch (t) { case "name": return "opacity"; case "extract": case "inject": return n } } }, register: function () { 9 >= f || b.State.isGingerbread || (x.Lists.transformsBase = x.Lists.transformsBase.concat(x.Lists.transforms3D)); for (var t = 0; t < x.Lists.transformsBase.length; t++)!function () { var e = x.Lists.transformsBase[t]; x.Normalizations.registered[e] = function (t, n, i) { switch (t) { case "name": return "transform"; case "extract": return l(n) === o || l(n).transformCache[e] === o ? /^scale/i.test(e) ? 1 : 0 : l(n).transformCache[e].replace(/[()]/g, ""); case "inject": var r = !1; switch (e.substr(0, e.length - 1)) { case "translate": r = !/(%|px|em|rem|vw|vh|\d)$/i.test(i); break; case "scal": case "scale": b.State.isAndroid && l(n).transformCache[e] === o && 1 > i && (i = 1), r = !/(\d)$/i.test(i); break; case "skew": r = !/(deg|\d)$/i.test(i); break; case "rotate": r = !/(deg|\d)$/i.test(i) }return r || (l(n).transformCache[e] = "(" + i + ")"), l(n).transformCache[e] } } }(); for (t = 0; t < x.Lists.colors.length; t++)!function () { var e = x.Lists.colors[t]; x.Normalizations.registered[e] = function (t, n, i) { switch (t) { case "name": return e; case "extract": var r; if (x.RegEx.wrappedValueAlreadyExtracted.test(i)) r = i; else { var l, a = { black: "rgb(0, 0, 0)", blue: "rgb(0, 0, 255)", gray: "rgb(128, 128, 128)", green: "rgb(0, 128, 0)", red: "rgb(255, 0, 0)", white: "rgb(255, 255, 255)" }; /^[A-z]+$/i.test(i) ? l = a[i] !== o ? a[i] : a.black : x.RegEx.isHex.test(i) ? l = "rgb(" + x.Values.hexToRgb(i).join(" ") + ")" : /^rgba?\(/i.test(i) || (l = a.black), r = (l || i).toString().match(x.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g, " ") } return 8 >= f || 3 !== r.split(" ").length || (r += " 1"), r; case "inject": return 8 >= f ? 4 === i.split(" ").length && (i = i.split(/\s+/).slice(0, 3).join(" ")) : 3 === i.split(" ").length && (i += " 1"), (8 >= f ? "rgb" : "rgba") + "(" + i.replace(/\s+/g, ",").replace(/\.(\d)+(?=,)/g, "") + ")" } } }() } }, Names: { camelCase: function (t) { return t.replace(/-(\w)/g, (function (t, e) { return e.toUpperCase() })) }, SVGAttribute: function (t) { var e = "width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2"; return (f || b.State.isAndroid && !b.State.isChrome) && (e += "|transform"), new RegExp("^(" + e + ")$", "i").test(t) }, prefixCheck: function (t) { if (b.State.prefixMatches[t]) return [b.State.prefixMatches[t], !0]; for (var e = ["", "Webkit", "Moz", "ms", "O"], n = 0, i = e.length; i > n; n++) { var o; if (o = 0 === n ? t : e[n] + t.replace(/^\w/, (function (t) { return t.toUpperCase() })), m.isString(b.State.prefixElement.style[o])) return b.State.prefixMatches[t] = o, [o, !0] } return [t, !1] } }, Values: { hexToRgb: function (t) { var e; return t = t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i, (function (t, e, n, i) { return e + e + n + n + i + i })), (e = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t)) ? [parseInt(e[1], 16), parseInt(e[2], 16), parseInt(e[3], 16)] : [0, 0, 0] }, isCSSNullValue: function (t) { return 0 == t || /^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t) }, getUnitType: function (t) { return /^(rotate|skew)/i.test(t) ? "deg" : /(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t) ? "" : "px" }, getDisplayType: function (t) { var e = t && t.tagName.toString().toLowerCase(); return /^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e) ? "inline" : /^(li)$/i.test(e) ? "list-item" : /^(tr)$/i.test(e) ? "table-row" : /^(table)$/i.test(e) ? "table" : /^(tbody)$/i.test(e) ? "table-row-group" : "block" }, addClass: function (t, e) { t.classList ? t.classList.add(e) : t.className += (t.className.length ? " " : "") + e }, removeClass: function (t, e) { t.classList ? t.classList.remove(e) : t.className = t.className.toString().replace(new RegExp("(^|\\s)" + e.split(" ").join("|") + "(\\s|$)", "gi"), " ") } }, getPropertyValue: function (t, n, i, r) { function a(t, n) { function i() { u && x.setPropertyValue(t, "display", "none") } var s = 0; if (8 >= f) s = h.css(t, n); else { var c, u = !1; if (/^(width|height)$/.test(n) && 0 === x.getPropertyValue(t, "display") && (u = !0, x.setPropertyValue(t, "display", x.Values.getDisplayType(t))), !r) { if ("height" === n && "border-box" !== x.getPropertyValue(t, "boxSizing").toString().toLowerCase()) { var d = t.offsetHeight - (parseFloat(x.getPropertyValue(t, "borderTopWidth")) || 0) - (parseFloat(x.getPropertyValue(t, "borderBottomWidth")) || 0) - (parseFloat(x.getPropertyValue(t, "paddingTop")) || 0) - (parseFloat(x.getPropertyValue(t, "paddingBottom")) || 0); return i(), d } if ("width" === n && "border-box" !== x.getPropertyValue(t, "boxSizing").toString().toLowerCase()) { var p = t.offsetWidth - (parseFloat(x.getPropertyValue(t, "borderLeftWidth")) || 0) - (parseFloat(x.getPropertyValue(t, "borderRightWidth")) || 0) - (parseFloat(x.getPropertyValue(t, "paddingLeft")) || 0) - (parseFloat(x.getPropertyValue(t, "paddingRight")) || 0); return i(), p } } c = l(t) === o ? e.getComputedStyle(t, null) : l(t).computedStyle ? l(t).computedStyle : l(t).computedStyle = e.getComputedStyle(t, null), "borderColor" === n && (n = "borderTopColor"), ("" === (s = 9 === f && "filter" === n ? c.getPropertyValue(n) : c[n]) || null === s) && (s = t.style[n]), i() } if ("auto" === s && /^(top|right|bottom|left)$/i.test(n)) { var m = a(t, "position"); ("fixed" === m || "absolute" === m && /top|left/i.test(n)) && (s = h(t).position()[n] + "px") } return s } var s; if (x.Hooks.registered[n]) { var c = n, u = x.Hooks.getRoot(c); i === o && (i = x.getPropertyValue(t, x.Names.prefixCheck(u)[0])), x.Normalizations.registered[u] && (i = x.Normalizations.registered[u]("extract", t, i)), s = x.Hooks.extractValue(c, i) } else if (x.Normalizations.registered[n]) { var d, p; "transform" !== (d = x.Normalizations.registered[n]("name", t)) && (p = a(t, x.Names.prefixCheck(d)[0]), x.Values.isCSSNullValue(p) && x.Hooks.templates[n] && (p = x.Hooks.templates[n][1])), s = x.Normalizations.registered[n]("extract", t, p) } if (!/^[\d-]/.test(s)) if (l(t) && l(t).isSVG && x.Names.SVGAttribute(n)) if (/^(height|width)$/i.test(n)) try { s = t.getBBox()[n] } catch (t) { s = 0 } else s = t.getAttribute(n); else s = a(t, x.Names.prefixCheck(n)[0]); return x.Values.isCSSNullValue(s) && (s = 0), b.debug >= 2 && console.log("Get " + n + ": " + s), s }, setPropertyValue: function (t, n, i, o, r) { var a = n; if ("scroll" === n) r.container ? r.container["scroll" + r.direction] = i : "Left" === r.direction ? e.scrollTo(i, r.alternateValue) : e.scrollTo(r.alternateValue, i); else if (x.Normalizations.registered[n] && "transform" === x.Normalizations.registered[n]("name", t)) x.Normalizations.registered[n]("inject", t, i), a = "transform", i = l(t).transformCache[n]; else { if (x.Hooks.registered[n]) { var s = n, c = x.Hooks.getRoot(n); o = o || x.getPropertyValue(t, c), i = x.Hooks.injectValue(s, i, o), n = c } if (x.Normalizations.registered[n] && (i = x.Normalizations.registered[n]("inject", t, i), n = x.Normalizations.registered[n]("name", t)), a = x.Names.prefixCheck(n)[0], 8 >= f) try { t.style[a] = i } catch (t) { b.debug && console.log("Browser does not support [" + i + "] for [" + a + "]") } else l(t) && l(t).isSVG && x.Names.SVGAttribute(n) ? t.setAttribute(n, i) : t.style[a] = i; b.debug >= 2 && console.log("Set " + n + " (" + a + "): " + i) } return [a, i] }, flushTransformCache: function (t) { function e(e) { return parseFloat(x.getPropertyValue(t, e)) } var n = ""; if ((f || b.State.isAndroid && !b.State.isChrome) && l(t).isSVG) { var i = { translate: [e("translateX"), e("translateY")], skewX: [e("skewX")], skewY: [e("skewY")], scale: 1 !== e("scale") ? [e("scale"), e("scale")] : [e("scaleX"), e("scaleY")], rotate: [e("rotateZ"), 0, 0] }; h.each(l(t).transformCache, (function (t) { /^translate/i.test(t) ? t = "translate" : /^scale/i.test(t) ? t = "scale" : /^rotate/i.test(t) && (t = "rotate"), i[t] && (n += t + "(" + i[t].join(" ") + ") ", delete i[t]) })) } else { var o, r; h.each(l(t).transformCache, (function (e) { return o = l(t).transformCache[e], "transformPerspective" === e ? (r = o, !0) : (9 === f && "rotateZ" === e && (e = "rotate"), void (n += e + o + " ")) })), r && (n = "perspective" + r + " " + n) } x.setPropertyValue(t, "transform", n) } }; x.Hooks.register(), x.Normalizations.register(), b.hook = function (t, e, n) { var i = o; return t = r(t), h.each(t, (function (t, r) { if (l(r) === o && b.init(r), n === o) i === o && (i = b.CSS.getPropertyValue(r, e)); else { var a = b.CSS.setPropertyValue(r, e, n); "transform" === a[0] && b.CSS.flushTransformCache(r), i = a } })), i }; var k = function t() { function i() { return s ? E.promise || null : f } function a() { function t(t) { function d(t, e) { var n = o, i = o, l = o; return m.isArray(t) ? (n = t[0], !m.isArray(t[1]) && /^[\d-]/.test(t[1]) || m.isFunction(t[1]) || x.RegEx.isHex.test(t[1]) ? l = t[1] : (m.isString(t[1]) && !x.RegEx.isHex.test(t[1]) || m.isArray(t[1])) && (i = e ? t[1] : c(t[1], a.duration), t[2] !== o && (l = t[2]))) : n = t, e || (i = i || a.easing), m.isFunction(n) && (n = n.call(r, C, S)), m.isFunction(l) && (l = l.call(r, C, S)), [n || 0, i, l] } function f(t, e) { var n, i; return i = (e || "0").toString().toLowerCase().replace(/[%A-z]+$/, (function (t) { return n = t, "" })), n || (n = x.Values.getUnitType(t)), [i, n] } function p() { var t = { myParent: r.parentNode || n.body, position: x.getPropertyValue(r, "position"), fontSize: x.getPropertyValue(r, "fontSize") }, i = t.position === $.lastPosition && t.myParent === $.lastParent, o = t.fontSize === $.lastFontSize; $.lastParent = t.myParent, $.lastPosition = t.position, $.lastFontSize = t.fontSize; var a = 100, s = {}; if (o && i) s.emToPx = $.lastEmToPx, s.percentToPxWidth = $.lastPercentToPxWidth, s.percentToPxHeight = $.lastPercentToPxHeight; else { var c = l(r).isSVG ? n.createElementNS("http://www.w3.org/2000/svg", "rect") : n.createElement("div"); b.init(c), t.myParent.appendChild(c), h.each(["overflow", "overflowX", "overflowY"], (function (t, e) { b.CSS.setPropertyValue(c, e, "hidden") })), b.CSS.setPropertyValue(c, "position", t.position), b.CSS.setPropertyValue(c, "fontSize", t.fontSize), b.CSS.setPropertyValue(c, "boxSizing", "content-box"), h.each(["minWidth", "maxWidth", "width", "minHeight", "maxHeight", "height"], (function (t, e) { b.CSS.setPropertyValue(c, e, a + "%") })), b.CSS.setPropertyValue(c, "paddingLeft", a + "em"), s.percentToPxWidth = $.lastPercentToPxWidth = (parseFloat(x.getPropertyValue(c, "width", null, !0)) || 1) / a, s.percentToPxHeight = $.lastPercentToPxHeight = (parseFloat(x.getPropertyValue(c, "height", null, !0)) || 1) / a, s.emToPx = $.lastEmToPx = (parseFloat(x.getPropertyValue(c, "paddingLeft")) || 1) / a, t.myParent.removeChild(c) } return null === $.remToPx && ($.remToPx = parseFloat(x.getPropertyValue(n.body, "fontSize")) || 16), null === $.vwToPx && ($.vwToPx = parseFloat(e.innerWidth) / 100, $.vhToPx = parseFloat(e.innerHeight) / 100), s.remToPx = $.remToPx, s.vwToPx = $.vwToPx, s.vhToPx = $.vhToPx, b.debug >= 1 && console.log("Unit ratios: " + JSON.stringify(s), r), s } if (a.begin && 0 === C) try { a.begin.call(g, g) } catch (t) { setTimeout((function () { throw t }), 1) } if ("scroll" === T) { var v, k, M, _ = /^x$/i.test(a.axis) ? "Left" : "Top", A = parseFloat(a.offset) || 0; a.container ? m.isWrapped(a.container) || m.isNode(a.container) ? (a.container = a.container[0] || a.container, M = (v = a.container["scroll" + _]) + h(r).position()[_.toLowerCase()] + A) : a.container = null : (v = b.State.scrollAnchor[b.State["scrollProperty" + _]], k = b.State.scrollAnchor[b.State["scrollProperty" + ("Left" === _ ? "Top" : "Left")]], M = h(r).offset()[_.toLowerCase()] + A), s = { scroll: { rootPropertyValue: !1, startValue: v, currentValue: v, endValue: M, unitType: "", easing: a.easing, scrollData: { container: a.container, direction: _, alternateValue: k } }, element: r }, b.debug && console.log("tweensContainer (scroll): ", s.scroll, r) } else if ("reverse" === T) { if (!l(r).tweensContainer) return void h.dequeue(r, a.queue); "none" === l(r).opts.display && (l(r).opts.display = "auto"), "hidden" === l(r).opts.visibility && (l(r).opts.visibility = "visible"), l(r).opts.loop = !1, l(r).opts.begin = null, l(r).opts.complete = null, w.easing || delete a.easing, w.duration || delete a.duration, a = h.extend({}, l(r).opts, a); var O = h.extend(!0, {}, l(r).tweensContainer); for (var P in O) if ("element" !== P) { var I = O[P].startValue; O[P].startValue = O[P].currentValue = O[P].endValue, O[P].endValue = I, m.isEmptyObject(w) || (O[P].easing = a.easing), b.debug && console.log("reverse tweensContainer (" + P + "): " + JSON.stringify(O[P]), r) } s = O } else if ("start" === T) { for (var D in l(r).tweensContainer && !0 === l(r).isAnimating && (O = l(r).tweensContainer), h.each(y, (function (t, e) { if (RegExp("^" + x.Lists.colors.join("$|^") + "$").test(t)) { var n = d(e, !0), i = n[0], r = n[1], l = n[2]; if (x.RegEx.isHex.test(i)) { for (var a = ["Red", "Green", "Blue"], s = x.Values.hexToRgb(i), c = l ? x.Values.hexToRgb(l) : o, u = 0; u < a.length; u++) { var h = [s[u]]; r && h.push(r), c !== o && h.push(c[u]), y[t + a[u]] = h } delete y[t] } } })), y) { var L = d(y[D]), R = L[0], j = L[1], F = L[2]; D = x.Names.camelCase(D); var V = x.Hooks.getRoot(D), H = !1; if (l(r).isSVG || "tween" === V || !1 !== x.Names.prefixCheck(V)[1] || x.Normalizations.registered[V] !== o) { (a.display !== o && null !== a.display && "none" !== a.display || a.visibility !== o && "hidden" !== a.visibility) && /opacity|filter/.test(D) && !F && 0 !== R && (F = 0), a._cacheValues && O && O[D] ? (F === o && (F = O[D].endValue + O[D].unitType), H = l(r).rootPropertyValueCache[V]) : x.Hooks.registered[D] ? F === o ? (H = x.getPropertyValue(r, V), F = x.getPropertyValue(r, D, H)) : H = x.Hooks.templates[V][1] : F === o && (F = x.getPropertyValue(r, D)); var W, B, z, q = !1; if (F = (W = f(D, F))[0], z = W[1], R = (W = f(D, R))[0].replace(/^([+-\/*])=/, (function (t, e) { return q = e, "" })), B = W[1], F = parseFloat(F) || 0, R = parseFloat(R) || 0, "%" === B && (/^(fontSize|lineHeight)$/.test(D) ? (R /= 100, B = "em") : /^scale/.test(D) ? (R /= 100, B = "") : /(Red|Green|Blue)$/i.test(D) && (R = R / 100 * 255, B = "")), /[\/*]/.test(q)) B = z; else if (z !== B && 0 !== F) if (0 === R) B = z; else { i = i || p(); var Y = /margin|padding|left|right|width|text|word|letter/i.test(D) || /X$/.test(D) || "x" === D ? "x" : "y"; switch (z) { case "%": F *= "x" === Y ? i.percentToPxWidth : i.percentToPxHeight; break; case "px": break; default: F *= i[z + "ToPx"] }switch (B) { case "%": F *= 1 / ("x" === Y ? i.percentToPxWidth : i.percentToPxHeight); break; case "px": break; default: F *= 1 / i[B + "ToPx"] } } switch (q) { case "+": R = F + R; break; case "-": R = F - R; break; case "*": R *= F; break; case "/": R = F / R }s[D] = { rootPropertyValue: H, startValue: F, currentValue: F, endValue: R, unitType: B, easing: j }, b.debug && console.log("tweensContainer (" + D + "): " + JSON.stringify(s[D]), r) } else b.debug && console.log("Skipping [" + V + "] due to a lack of browser support.") } s.element = r } s.element && (x.Values.addClass(r, "velocity-animating"), N.push(s), "" === a.queue && (l(r).tweensContainer = s, l(r).opts = a), l(r).isAnimating = !0, C === S - 1 ? (b.State.calls.push([N, g, a, null, E.resolver]), !1 === b.State.isTicking && (b.State.isTicking = !0, u())) : C++) } var i, r = this, a = h.extend({}, b.defaults, w), s = {}; switch (l(r) === o && b.init(r), parseFloat(a.delay) && !1 !== a.queue && h.queue(r, a.queue, (function (t) { b.velocityQueueEntryFlag = !0, l(r).delayTimer = { setTimeout: setTimeout(t, parseFloat(a.delay)), next: t } })), a.duration.toString().toLowerCase()) { case "fast": a.duration = 200; break; case "normal": a.duration = v; break; case "slow": a.duration = 600; break; default: a.duration = parseFloat(a.duration) || 1 }!1 !== b.mock && (!0 === b.mock ? a.duration = a.delay = 1 : (a.duration *= parseFloat(b.mock) || 1, a.delay *= parseFloat(b.mock) || 1)), a.easing = c(a.easing, a.duration), a.begin && !m.isFunction(a.begin) && (a.begin = null), a.progress && !m.isFunction(a.progress) && (a.progress = null), a.complete && !m.isFunction(a.complete) && (a.complete = null), a.display !== o && null !== a.display && (a.display = a.display.toString().toLowerCase(), "auto" === a.display && (a.display = b.CSS.Values.getDisplayType(r))), a.visibility !== o && null !== a.visibility && (a.visibility = a.visibility.toString().toLowerCase()), a.mobileHA = a.mobileHA && b.State.isMobile && !b.State.isGingerbread, !1 === a.queue ? a.delay ? setTimeout(t, a.delay) : t() : h.queue(r, a.queue, (function (e, n) { return !0 === n ? (E.promise && E.resolver(g), !0) : (b.velocityQueueEntryFlag = !0, void t()) })), "" !== a.queue && "fx" !== a.queue || "inprogress" === h.queue(r)[0] || h.dequeue(r) } var s, f, p, g, y, w, k = arguments[0] && (arguments[0].p || h.isPlainObject(arguments[0].properties) && !arguments[0].properties.names || m.isString(arguments[0].properties)); if (m.isWrapped(this) ? (s = !1, p = 0, g = this, f = this) : (s = !0, p = 1, g = k ? arguments[0].elements || arguments[0].e : arguments[0]), g = r(g)) { k ? (y = arguments[0].properties || arguments[0].p, w = arguments[0].options || arguments[0].o) : (y = arguments[p], w = arguments[p + 1]); var S = g.length, C = 0; if (!/^(stop|finish)$/i.test(y) && !h.isPlainObject(w)) { var M = p + 1; w = {}; for (var _ = M; _ < arguments.length; _++)m.isArray(arguments[_]) || !/^(fast|normal|slow)$/i.test(arguments[_]) && !/^\d/.test(arguments[_]) ? m.isString(arguments[_]) || m.isArray(arguments[_]) ? w.easing = arguments[_] : m.isFunction(arguments[_]) && (w.complete = arguments[_]) : w.duration = arguments[_] } var T, E = { promise: null, resolver: null, rejecter: null }; switch (s && b.Promise && (E.promise = new b.Promise((function (t, e) { E.resolver = t, E.rejecter = e }))), y) { case "scroll": T = "scroll"; break; case "reverse": T = "reverse"; break; case "finish": case "stop": h.each(g, (function (t, e) { l(e) && l(e).delayTimer && (clearTimeout(l(e).delayTimer.setTimeout), l(e).delayTimer.next && l(e).delayTimer.next(), delete l(e).delayTimer) })); var A = []; return h.each(b.State.calls, (function (t, e) { e && h.each(e[1], (function (n, i) { var r = w === o ? "" : w; return !0 !== r && e[2].queue !== r && (w !== o || !1 !== e[2].queue) || void h.each(g, (function (n, o) { o === i && ((!0 === w || m.isString(w)) && (h.each(h.queue(o, m.isString(w) ? w : ""), (function (t, e) { m.isFunction(e) && e(null, !0) })), h.queue(o, m.isString(w) ? w : "", [])), "stop" === y ? (l(o) && l(o).tweensContainer && !1 !== r && h.each(l(o).tweensContainer, (function (t, e) { e.endValue = e.currentValue })), A.push(t)) : "finish" === y && (e[2].duration = 1)) })) })) })), "stop" === y && (h.each(A, (function (t, e) { d(e, !0) })), E.promise && E.resolver(g)), i(); default: if (!h.isPlainObject(y) || m.isEmptyObject(y)) { if (m.isString(y) && b.Redirects[y]) { var O = (L = h.extend({}, w)).duration, P = L.delay || 0; return !0 === L.backwards && (g = h.extend(!0, [], g).reverse()), h.each(g, (function (t, e) { parseFloat(L.stagger) ? L.delay = P + parseFloat(L.stagger) * t : m.isFunction(L.stagger) && (L.delay = P + L.stagger.call(e, t, S)), L.drag && (L.duration = parseFloat(O) || (/^(callout|transition)/.test(y) ? 1e3 : v), L.duration = Math.max(L.duration * (L.backwards ? 1 - t / S : (t + 1) / S), .75 * L.duration, 200)), b.Redirects[y].call(e, e, L || {}, t, S, g, E.promise ? E : o) })), i() } var I = "Velocity: First argument (" + y + ") was not a property map, a known action, or a registered redirect. Aborting."; return E.promise ? E.rejecter(new Error(I)) : console.log(I), i() } T = "start" }var D, L, $ = { lastParent: null, lastPosition: null, lastFontSize: null, lastPercentToPxWidth: null, lastPercentToPxHeight: null, lastEmToPx: null, remToPx: null, vwToPx: null, vhToPx: null }, N = []; if (h.each(g, (function (t, e) { m.isNode(e) && a.call(e) })), (L = h.extend({}, b.defaults, w)).loop = parseInt(L.loop), D = 2 * L.loop - 1, L.loop) for (var R = 0; D > R; R++) { var j = { delay: L.delay, progress: L.progress }; R === D - 1 && (j.display = L.display, j.visibility = L.visibility, j.complete = L.complete), t(g, "reverse", j) } return i() } }; (b = h.extend(k, b)).animate = k; var S = e.requestAnimationFrame || p; return b.State.isMobile || n.hidden === o || n.addEventListener("visibilitychange", (function () { n.hidden ? (S = function (t) { return setTimeout((function () { t(!0) }), 16) }, u()) : S = e.requestAnimationFrame || p })), t.Velocity = b, t !== e && (t.fn.velocity = k, t.fn.velocity.defaults = b.defaults), h.each(["Down", "Up"], (function (t, e) { b.Redirects["slide" + e] = function (t, n, i, r, l, a) { var s = h.extend({}, n), c = s.begin, u = s.complete, d = { height: "", marginTop: "", marginBottom: "", paddingTop: "", paddingBottom: "" }, f = {}; s.display === o && (s.display = "Down" === e ? "inline" === b.CSS.Values.getDisplayType(t) ? "inline-block" : "block" : "none"), s.begin = function () { for (var n in c && c.call(l, l), d) { f[n] = t.style[n]; var i = b.CSS.getPropertyValue(t, n); d[n] = "Down" === e ? [i, 0] : [0, i] } f.overflow = t.style.overflow, t.style.overflow = "hidden" }, s.complete = function () { for (var e in f) t.style[e] = f[e]; u && u.call(l, l), a && a.resolver(l) }, b(t, d, s) } })), h.each(["In", "Out"], (function (t, e) { b.Redirects["fade" + e] = function (t, n, i, r, l, a) { var s = h.extend({}, n), c = { opacity: "In" === e ? 1 : 0 }, u = s.complete; s.complete = i !== r - 1 ? s.begin = null : function () { u && u.call(l, l), a && a.resolver(l) }, s.display === o && (s.display = "In" === e ? "auto" : "none"), b(this, c, s) } })), b } jQuery.fn.velocity = jQuery.fn.animate }(window.jQuery || window.Zepto || window, window, document) }, "object" == i(t) && "object" == i(t.exports) ? t.exports = e() : "function" == typeof define && n(24) ? define(e) : e())
}).call(this, n(27)(t))
}, function (t, e, n) { "use strict"; var i = n(0), o = n(2), r = n(134), l = n(11), a = n(50), s = n(5), c = n(51), u = r.ArrayBuffer, d = r.DataView, h = u.prototype.slice; i({ target: "ArrayBuffer", proto: !0, unsafe: !0, forced: o((function () { return !new u(2).slice(1, void 0).byteLength })) }, { slice: function (t, e) { if (void 0 !== h && void 0 === e) return h.call(l(this), t); for (var n = l(this).byteLength, i = a(t, n), o = a(void 0 === e ? n : e, n), r = new (c(this, u))(s(o - i)), f = new d(this), p = new d(r), m = 0; i < o;)p.setUint8(m++, f.getUint8(i++)); return r } }) }, function (t, e, n) { n(177)("Float32", 4, (function (t) { return function (e, n, i) { return t(this, e, n, i) } })) }, function (t, e, n) { "use strict"; var i = n(0), o = n(1), r = n(9), l = n(178), a = n(3), s = n(134), c = n(103), u = n(55), d = n(26), h = n(5), f = n(135), p = n(136), m = n(54), g = n(25), v = n(89), y = n(15), b = n(70), w = n(74), x = n(48).f, k = n(180), S = n(21).forEach, C = n(102), M = n(22), _ = n(47), T = n(49), E = T.get, A = T.set, O = M.f, P = _.f, I = Math.round, D = o.RangeError, L = s.ArrayBuffer, $ = s.DataView, N = a.NATIVE_ARRAY_BUFFER_VIEWS, R = a.TYPED_ARRAY_TAG, j = a.TypedArray, F = a.TypedArrayPrototype, V = a.aTypedArrayConstructor, H = a.isTypedArray, W = function (t, e) { for (var n = 0, i = e.length, o = new (V(t))(i); i > n;)o[n] = e[n++]; return o }, B = function (t, e) { O(t, e, { get: function () { return E(this)[e] } }) }, z = function (t) { var e; return t instanceof L || "ArrayBuffer" == (e = v(t)) || "SharedArrayBuffer" == e }, q = function (t, e) { return H(t) && "symbol" != typeof e && e in t && String(+e) == String(e) }, Y = function (t, e) { return q(t, e = m(e, !0)) ? u(2, t[e]) : P(t, e) }, Z = function (t, e, n) { return !(q(t, e = m(e, !0)) && y(n) && g(n, "value")) || g(n, "get") || g(n, "set") || n.configurable || g(n, "writable") && !n.writable || g(n, "enumerable") && !n.enumerable ? O(t, e, n) : (t[e] = n.value, t) }; r ? (N || (_.f = Y, M.f = Z, B(F, "buffer"), B(F, "byteOffset"), B(F, "byteLength"), B(F, "length")), i({ target: "Object", stat: !0, forced: !N }, { getOwnPropertyDescriptor: Y, defineProperty: Z }), t.exports = function (t, e, n, r) { var a = t + (r ? "Clamped" : "") + "Array", s = "get" + t, u = "set" + t, m = o[a], g = m, v = g && g.prototype, M = {}, _ = function (t, n) { O(t, n, { get: function () { return function (t, n) { var i = E(t); return i.view[s](n * e + i.byteOffset, !0) }(this, n) }, set: function (t) { return function (t, n, i) { var o = E(t); r && (i = (i = I(i)) < 0 ? 0 : i > 255 ? 255 : 255 & i), o.view[u](n * e + o.byteOffset, i, !0) }(this, n, t) }, enumerable: !0 }) }; N ? l && (g = n((function (t, n, i, o) { return c(t, g, a), y(n) ? z(n) ? void 0 !== o ? new m(n, p(i, e), o) : void 0 !== i ? new m(n, p(i, e)) : new m(n) : H(n) ? W(g, n) : k.call(g, n) : new m(f(n)) })), w && w(g, j), S(x(m), (function (t) { t in g || d(g, t, m[t]) })), g.prototype = v) : (g = n((function (t, n, i, o) { c(t, g, a); var r, l, s, u = 0, d = 0; if (y(n)) { if (!z(n)) return H(n) ? W(g, n) : k.call(g, n); r = n, d = p(i, e); var m = n.byteLength; if (void 0 === o) { if (m % e) throw D("Wrong length"); if ((l = m - d) < 0) throw D("Wrong length") } else if ((l = h(o) * e) + d > m) throw D("Wrong length"); s = l / e } else s = f(n), r = new L(l = s * e); for (A(t, { buffer: r, byteOffset: d, byteLength: l, length: s, view: new $(r) }); u < s;)_(t, u++) })), w && w(g, j), v = g.prototype = b(F)), v.constructor !== g && d(v, "constructor", g), R && d(v, R, a), M[a] = g, i({ global: !0, forced: g != m, sham: !N }, M), "BYTES_PER_ELEMENT" in g || d(g, "BYTES_PER_ELEMENT", e), "BYTES_PER_ELEMENT" in v || d(v, "BYTES_PER_ELEMENT", e), C(a) }) : t.exports = function () { } }, function (t, e, n) { var i = n(1), o = n(2), r = n(129), l = n(3).NATIVE_ARRAY_BUFFER_VIEWS, a = i.ArrayBuffer, s = i.Int8Array; t.exports = !l || !o((function () { s(1) })) || !o((function () { new s(-1) })) || !r((function (t) { new s, new s(null), new s(1.5), new s(t) }), !0) || o((function () { return 1 !== new s(new a(2), 1, void 0).length })) }, function (t, e, n) { var i = n(37); t.exports = function (t) { var e = i(t); if (e < 0) throw RangeError("The argument can't be less than 0"); return e } }, function (t, e, n) { var i = n(20), o = n(5), r = n(128), l = n(127), a = n(73), s = n(3).aTypedArrayConstructor; t.exports = function (t) { var e, n, c, u, d, h, f = i(t), p = arguments.length, m = p > 1 ? arguments[1] : void 0, g = void 0 !== m, v = r(f); if (null != v && !l(v)) for (h = (d = v.call(f)).next, f = []; !(u = h.call(d)).done;)f.push(u.value); for (g && p > 2 && (m = a(m, arguments[2], 2)), n = o(f.length), c = new (s(this))(n), e = 0; n > e; e++)c[e] = g ? m(f[e], e) : f[e]; return c } }, function (t, e, n) { "use strict"; var i = n(3), o = n(182), r = i.aTypedArray; i.exportProto("copyWithin", (function (t, e) { return o.call(r(this), t, e, arguments.length > 2 ? arguments[2] : void 0) })) }, function (t, e, n) { "use strict"; var i = n(20), o = n(50), r = n(5), l = Math.min; t.exports = [].copyWithin || function (t, e) { var n = i(this), a = r(n.length), s = o(t, a), c = o(e, a), u = arguments.length > 2 ? arguments[2] : void 0, d = l((void 0 === u ? a : o(u, a)) - c, a - s), h = 1; for (c < s && s < c + d && (h = -1, c += d - 1, s += d - 1); d-- > 0;)c in n ? n[s] = n[c] : delete n[s], s += h, c += h; return n } }, function (t, e, n) { "use strict"; var i = n(3), o = n(21).every, r = i.aTypedArray; i.exportProto("every", (function (t) { return o(r(this), t, arguments.length > 1 ? arguments[1] : void 0) })) }, function (t, e, n) { "use strict"; var i = n(3), o = n(108), r = i.aTypedArray; i.exportProto("fill", (function (t) { return o.apply(r(this), arguments) })) }, function (t, e, n) { "use strict"; var i = n(3), o = n(21).filter, r = n(51), l = i.aTypedArray, a = i.aTypedArrayConstructor; i.exportProto("filter", (function (t) { for (var e = o(l(this), t, arguments.length > 1 ? arguments[1] : void 0), n = r(this, this.constructor), i = 0, s = e.length, c = new (a(n))(s); s > i;)c[i] = e[i++]; return c })) }, function (t, e, n) { "use strict"; var i = n(3), o = n(21).find, r = i.aTypedArray; i.exportProto("find", (function (t) { return o(r(this), t, arguments.length > 1 ? arguments[1] : void 0) })) }, function (t, e, n) { "use strict"; var i = n(3), o = n(21).findIndex, r = i.aTypedArray; i.exportProto("findIndex", (function (t) { return o(r(this), t, arguments.length > 1 ? arguments[1] : void 0) })) }, function (t, e, n) { "use strict"; var i = n(3), o = n(21).forEach, r = i.aTypedArray; i.exportProto("forEach", (function (t) { o(r(this), t, arguments.length > 1 ? arguments[1] : void 0) })) }, function (t, e, n) { "use strict"; var i = n(3), o = n(72).includes, r = i.aTypedArray; i.exportProto("includes", (function (t) { return o(r(this), t, arguments.length > 1 ? arguments[1] : void 0) })) }, function (t, e, n) { "use strict"; var i = n(3), o = n(72).indexOf, r = i.aTypedArray; i.exportProto("indexOf", (function (t) { return o(r(this), t, arguments.length > 1 ? arguments[1] : void 0) })) }, function (t, e, n) { "use strict"; var i = n(1), o = n(3), r = n(8), l = n(4)("iterator"), a = i.Uint8Array, s = r.values, c = r.keys, u = r.entries, d = o.aTypedArray, h = o.exportProto, f = a && a.prototype[l], p = !!f && ("values" == f.name || null == f.name), m = function () { return s.call(d(this)) }; h("entries", (function () { return u.call(d(this)) })), h("keys", (function () { return c.call(d(this)) })), h("values", m, !p), h(l, m, !p) }, function (t, e, n) { "use strict"; var i = n(3), o = i.aTypedArray, r = [].join; i.exportProto("join", (function (t) { return r.apply(o(this), arguments) })) }, function (t, e, n) { "use strict"; var i = n(3), o = n(139), r = i.aTypedArray; i.exportProto("lastIndexOf", (function (t) { return o.apply(r(this), arguments) })) }, function (t, e, n) { "use strict"; var i = n(3), o = n(21).map, r = n(51), l = i.aTypedArray, a = i.aTypedArrayConstructor; i.exportProto("map", (function (t) { return o(l(this), t, arguments.length > 1 ? arguments[1] : void 0, (function (t, e) { return new (a(r(t, t.constructor)))(e) })) })) }, function (t, e, n) { "use strict"; var i = n(3), o = n(92).left, r = i.aTypedArray; i.exportProto("reduce", (function (t) { return o(r(this), t, arguments.length, arguments.length > 1 ? arguments[1] : void 0) })) }, function (t, e, n) { "use strict"; var i = n(3), o = n(92).right, r = i.aTypedArray; i.exportProto("reduceRight", (function (t) { return o(r(this), t, arguments.length, arguments.length > 1 ? arguments[1] : void 0) })) }, function (t, e, n) { "use strict"; var i = n(3), o = i.aTypedArray, r = Math.floor; i.exportProto("reverse", (function () { for (var t, e = o(this).length, n = r(e / 2), i = 0; i < n;)t = this[i], this[i++] = this[--e], this[e] = t; return this })) }, function (t, e, n) { "use strict"; var i = n(3), o = n(5), r = n(136), l = n(20), a = n(2), s = i.aTypedArray, c = a((function () { new Int8Array(1).set({}) })); i.exportProto("set", (function (t) { s(this); var e = r(arguments.length > 1 ? arguments[1] : void 0, 1), n = this.length, i = l(t), a = o(i.length), c = 0; if (a + e > n) throw RangeError("Wrong length"); for (; c < a;)this[e + c] = i[c++] }), c) }, function (t, e, n) { "use strict"; var i = n(3), o = n(51), r = n(2), l = i.aTypedArray, a = i.aTypedArrayConstructor, s = [].slice, c = r((function () { new Int8Array(1).slice() })); i.exportProto("slice", (function (t, e) { for (var n = s.call(l(this), t, e), i = o(this, this.constructor), r = 0, c = n.length, u = new (a(i))(c); c > r;)u[r] = n[r++]; return u }), c) }, function (t, e, n) { "use strict"; var i = n(3), o = n(21).some, r = i.aTypedArray; i.exportProto("some", (function (t) { return o(r(this), t, arguments.length > 1 ? arguments[1] : void 0) })) }, function (t, e, n) { "use strict"; var i = n(3), o = i.aTypedArray, r = [].sort; i.exportProto("sort", (function (t) { return r.call(o(this), t) })) }, function (t, e, n) { "use strict"; var i = n(3), o = n(5), r = n(50), l = n(51), a = i.aTypedArray; i.exportProto("subarray", (function (t, e) { var n = a(this), i = n.length, s = r(t, i); return new (l(n, n.constructor))(n.buffer, n.byteOffset + s * n.BYTES_PER_ELEMENT, o((void 0 === e ? i : r(e, i)) - s)) })) }, function (t, e, n) { "use strict"; var i = n(1), o = n(3), r = n(2), l = i.Int8Array, a = o.aTypedArray, s = [].toLocaleString, c = [].slice, u = !!l && r((function () { s.call(new l(1)) })), d = r((function () { return [1, 2].toLocaleString() != new l([1, 2]).toLocaleString() })) || !r((function () { l.prototype.toLocaleString.call([1, 2]) })); o.exportProto("toLocaleString", (function () { return s.apply(u ? c.call(a(this)) : a(this), arguments) }), d) }, function (t, e, n) { "use strict"; var i = n(1), o = n(3), r = n(2), l = i.Uint8Array, a = l && l.prototype, s = [].toString, c = [].join; r((function () { s.call({}) })) && (s = function () { return c.call(this) }), o.exportProto("toString", s, (a || {}).toString != s) }, function (t, e, n) {
"use strict"; (function (t) {
n(10), n(16), n(17), n(12), n(8), n(23), n(13), n(61), n(7), n(29), n(18), n(19); function e(t) { return (e = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*!
* Waves v0.7.6
* http://fian.my.id/Waves
*
* Copyright 2014-2018 Alfiana E. Sibuea and other contributors
* Released under the MIT license
* https://github.com/fians/Waves/blob/master/LICENSE
*/!function (i, o) { "function" == typeof define && n(24) ? define([], (function () { return i.Waves = o.call(i), i.Waves })) : "object" === ("undefined" == typeof exports ? "undefined" : e(exports)) ? t.exports = o.call(i) : i.Waves = o.call(i) }("object" === ("undefined" == typeof window ? "undefined" : e(window)) ? window : void 0, (function () { var t = t || {}, n = document.querySelectorAll.bind(document), i = Object.prototype.toString, o = "ontouchstart" in window; function r(t) { var n = e(t); return "function" === n || "object" === n && !!t } function l(t) { var e, o = i.call(t); return "[object String]" === o ? n(t) : r(t) && /^\[object (Array|HTMLCollection|NodeList|Object)\]$/.test(o) && t.hasOwnProperty("length") ? t : r(e = t) && e.nodeType > 0 ? [t] : [] } function a(t) { var n, i, o = { top: 0, left: 0 }, r = t && t.ownerDocument; return n = r.documentElement, "undefined" !== e(t.getBoundingClientRect) && (o = t.getBoundingClientRect()), i = function (t) { return null !== (e = t) && e === e.window ? t : 9 === t.nodeType && t.defaultView; var e }(r), { top: o.top + i.pageYOffset - n.clientTop, left: o.left + i.pageXOffset - n.clientLeft } } function s(t) { var e = ""; for (var n in t) t.hasOwnProperty(n) && (e += n + ":" + t[n] + ";"); return e } var c = { duration: 750, delay: 200, show: function (t, e, n) { if (2 === t.button) return !1; e = e || this; var i = document.createElement("div"); i.className = "waves-ripple waves-rippling", e.appendChild(i); var o = a(e), r = 0, l = 0; "touches" in t && t.touches.length ? (r = t.touches[0].pageY - o.top, l = t.touches[0].pageX - o.left) : (r = t.pageY - o.top, l = t.pageX - o.left), l = l >= 0 ? l : 0, r = r >= 0 ? r : 0; var u = "scale(" + e.clientWidth / 100 * 3 + ")", d = "translate(0,0)"; n && (d = "translate(" + n.x + "px, " + n.y + "px)"), i.setAttribute("data-hold", Date.now()), i.setAttribute("data-x", l), i.setAttribute("data-y", r), i.setAttribute("data-scale", u), i.setAttribute("data-translate", d); var h = { top: r + "px", left: l + "px" }; i.classList.add("waves-notransition"), i.setAttribute("style", s(h)), i.classList.remove("waves-notransition"), h["-webkit-transform"] = u + " " + d, h["-moz-transform"] = u + " " + d, h["-ms-transform"] = u + " " + d, h["-o-transform"] = u + " " + d, h.transform = u + " " + d, h.opacity = "1"; var f = "mousemove" === t.type ? 2500 : c.duration; h["-webkit-transition-duration"] = f + "ms", h["-moz-transition-duration"] = f + "ms", h["-o-transition-duration"] = f + "ms", h["transition-duration"] = f + "ms", i.setAttribute("style", s(h)) }, hide: function (t, e) { for (var n = (e = e || this).getElementsByClassName("waves-rippling"), i = 0, r = n.length; i < r; i++)d(t, e, n[i]); o && (e.removeEventListener("touchend", c.hide), e.removeEventListener("touchcancel", c.hide)), e.removeEventListener("mouseup", c.hide), e.removeEventListener("mouseleave", c.hide) } }, u = { input: function (t) { var e = t.parentNode; if ("span" !== e.tagName.toLowerCase() || !e.classList.contains("waves-effect")) { var n = document.createElement("span"); n.className = "waves-input-wrapper", e.replaceChild(n, t), n.appendChild(t) } }, img: function (t) { var e = t.parentNode; if ("i" !== e.tagName.toLowerCase() || !e.classList.contains("waves-effect")) { var n = document.createElement("i"); e.replaceChild(n, t), n.appendChild(t) } } }; function d(t, e, n) { if (n) { n.classList.remove("waves-rippling"); var i = n.getAttribute("data-x"), o = n.getAttribute("data-y"), r = n.getAttribute("data-scale"), l = n.getAttribute("data-translate"), a = 350 - (Date.now() - Number(n.getAttribute("data-hold"))); a < 0 && (a = 0), "mousemove" === t.type && (a = 150); var u = "mousemove" === t.type ? 2500 : c.duration; setTimeout((function () { var t = { top: o + "px", left: i + "px", opacity: "0", "-webkit-transition-duration": u + "ms", "-moz-transition-duration": u + "ms", "-o-transition-duration": u + "ms", "transition-duration": u + "ms", "-webkit-transform": r + " " + l, "-moz-transform": r + " " + l, "-ms-transform": r + " " + l, "-o-transform": r + " " + l, transform: r + " " + l }; n.setAttribute("style", s(t)), setTimeout((function () { try { e.removeChild(n) } catch (t) { return !1 } }), u) }), a) } } var h = { touches: 0, allowEvent: function (t) { var e = !0; return /^(mousedown|mousemove)$/.test(t.type) && h.touches && (e = !1), e }, registerEvent: function (t) { var e = t.type; "touchstart" === e ? h.touches += 1 : /^(touchend|touchcancel)$/.test(e) && setTimeout((function () { h.touches && (h.touches -= 1) }), 500) } }; function f(t) { var e = function (t) { if (!1 === h.allowEvent(t)) return null; for (var e = null, n = t.target || t.srcElement; n.parentElement;) { if (!(n instanceof SVGElement) && n.classList.contains("waves-effect")) { e = n; break } n = n.parentElement } return e }(t); if (null !== e) { if (e.disabled || e.getAttribute("disabled") || e.classList.contains("disabled")) return; if (h.registerEvent(t), "touchstart" === t.type && c.delay) { var n = !1, i = setTimeout((function () { i = null, c.show(t, e) }), c.delay), r = function (o) { i && (clearTimeout(i), i = null, c.show(t, e)), n || (n = !0, c.hide(o, e)), a() }, l = function (t) { i && (clearTimeout(i), i = null), r(t), a() }; e.addEventListener("touchmove", l, !1), e.addEventListener("touchend", r, !1), e.addEventListener("touchcancel", r, !1); var a = function () { e.removeEventListener("touchmove", l), e.removeEventListener("touchend", r), e.removeEventListener("touchcancel", r) } } else c.show(t, e), o && (e.addEventListener("touchend", c.hide, !1), e.addEventListener("touchcancel", c.hide, !1)), e.addEventListener("mouseup", c.hide, !1), e.addEventListener("mouseleave", c.hide, !1) } } return t.init = function (t) { var e = document.body; "duration" in (t = t || {}) && (c.duration = t.duration), "delay" in t && (c.delay = t.delay), o && (e.addEventListener("touchstart", f, !1), e.addEventListener("touchcancel", h.registerEvent, !1), e.addEventListener("touchend", h.registerEvent, !1)), e.addEventListener("mousedown", f, !1) }, t.attach = function (t, e) { var n, o; t = l(t), "[object Array]" === i.call(e) && (e = e.join(" ")), e = e ? " " + e : ""; for (var r = 0, a = t.length; r < a; r++)o = (n = t[r]).tagName.toLowerCase(), -1 !== ["input", "img"].indexOf(o) && (u[o](n), n = n.parentElement), -1 === n.className.indexOf("waves-effect") && (n.className += " waves-effect" + e) }, t.ripple = function (t, e) { var n = (t = l(t)).length; if ((e = e || {}).wait = e.wait || 0, e.position = e.position || null, n) for (var i, o, r, s = {}, u = 0, d = { type: "mousedown", button: 1 }, h = function (t, e) { return function () { c.hide(t, e) } }; u < n; u++)if (i = t[u], o = e.position || { x: i.clientWidth / 2, y: i.clientHeight / 2 }, r = a(i), s.x = r.left + o.x, s.y = r.top + o.y, d.pageX = s.x, d.pageY = s.y, c.show(d, i), e.wait >= 0 && null !== e.wait) { setTimeout(h({ type: "mouseup", button: 1 }, i), e.wait) } }, t.calm = function (t) { for (var e = { type: "mouseup", button: 1 }, n = 0, i = (t = l(t)).length; n < i; n++)c.hide(e, t[n]) }, t.displayEffect = function (e) { console.error("Waves.displayEffect() has been deprecated and will be removed in future version. Please use Waves.init() to initialize Waves effect"), t.init(e) }, t })), $(document).ready((function () { Waves.attach(".btn:not(.btn-flat), .btn-floating", ["waves-light"]), Waves.attach(".btn-flat"), Waves.attach(".chip"), Waves.attach(".view a .mask", ["waves-light"]), Waves.attach(".waves-light", ["waves-light"]), Waves.attach(".navbar-nav a:not(.navbar-brand), .nav-icons li a, .nav-tabs .nav-item:not(.dropdown)", ["waves-light"]), Waves.attach(".pager li a", ["waves-light"]), Waves.attach(".pagination .page-item .page-link"), Waves.init() }))
}).call(this, n(27)(t))
}, function (t, e, n) { "use strict"; n(6), n(23), n(32), n(61), n(14), n(35); function i(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } jQuery((function (t) { (new (function () { function e() { !function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }(this, e), this.inputSelector = "".concat(["text", "password", "email", "url", "tel", "number", "search", "search-md", "date"].map((function (t) { return "input[type=".concat(t, "]") })).join(", "), ", textarea"), this.textAreaSelector = ".materialize-textarea", this.$text = t(".md-textarea-auto"), this.$body = t("body"), this.$document = t(document) } var n, o, r; return n = e, (o = [{ key: "init", value: function () { var e, n = this; this.$text.length && (e = window.attachEvent ? function (t, e, n) { t.attachEvent("on".concat(e), n) } : function (t, e, n) { t.addEventListener(e, n, !1) }, this.$text.each((function () { var t = this; function n() { t.style.height = "auto", t.style.height = "".concat(t.scrollHeight, "px") } function i() { window.setTimeout(n, 0) } e(t, "change", n), e(t, "cut", i), e(t, "paste", i), e(t, "drop", i), e(t, "keydown", i), n() }))), t(this.inputSelector).each((function (e, i) { var o = t(i), r = i.validity.badInput; n.updateTextFields(o), r && n.toggleActiveClass(o, "add") })), this.addOnFocusEvent(), this.addOnBlurEvent(), this.addOnChangeEvent(), this.addOnResetEvent(), this.appendHiddenDiv(), this.makeActiveAutofocus(), t(this.textAreaSelector).each(this.textAreaAutoResize), this.$body.on("keyup keydown", this.textAreaSelector, this.textAreaAutoResize) } }, { key: "makeActiveAutofocus", value: function () { this.toggleActiveClass(t("input[autofocus]"), "add") } }, { key: "toggleActiveClass", value: function (t, e) { var n; e = "".concat(e, "Class"), n = t.parent().hasClass("timepicker") ? "label" : "label, i, .input-prefix", t.siblings(n)[e]("active") } }, { key: "addOnFocusEvent", value: function () { var e = this; this.$document.on("focus", this.inputSelector, (function (n) { e.toggleActiveClass(t(n.target), "add"), "date" == t(n.target).attr("type") && t(n.target).css("color", "#495057") })) } }, { key: "addOnBlurEvent", value: function () { var e = this; this.$document.on("blur", this.inputSelector, (function (n) { var i = t(n.target), o = !i.val(), r = !n.target.validity.badInput, l = void 0 === i.attr("placeholder"); o && r && l && (e.toggleActiveClass(i, "remove"), "date" == i.attr("type") && i.css("color", "transparent")), !o && r && l && (i.siblings("i, .input-prefix").removeClass("active"), "date" == i.attr("type") && i.css("color", "#495057")), e.validateField(i) })) } }, { key: "addOnChangeEvent", value: function () { var e = this; this.$document.on("change", this.inputSelector, (function (n) { var i = t(n.target); e.updateTextFields(i), e.validateField(i) })) } }, { key: "addOnResetEvent", value: function () { var e = this; this.$document.on("reset", (function (n) { var i = t(n.target); i.is("form") && (i.find(e.inputSelector).removeClass("valid invalid").each((function (n, i) { var o = t(i), r = !o.val(), l = !o.attr("placeholder"); r && l && e.toggleActiveClass(o, "remove") })), i.find("select.initialized").each((function (e, n) { var i = t(n), o = i.siblings("input.select-dropdown"), r = i.children("[selected]").val(); i.val(r), o.val(r) }))) })) } }, { key: "appendHiddenDiv", value: function () { if (!t(".hiddendiv").first().length) { var e = t('<div class="hiddendiv common"></div>'); this.$body.append(e) } } }, { key: "updateTextFields", value: function (t) { var e = Boolean(t.val()), n = Boolean(t.attr("placeholder")), i = e || n ? "add" : "remove", o = t.siblings("label").hasClass("active"), r = Boolean(t.siblings("label")[0]); "date" !== t.attr("type") && this.toggleActiveClass(t, i), "date" == t.attr("type") && !o && r ? t.css("color", "transparent") : "date" == t.attr("type") && e && this.toggleActiveClass(t, i) } }, { key: "validateField", value: function (t) { if (t.hasClass("validate")) { var e = t.val(), n = !e.length, i = !t[0].validity.badInput; if (n && i) t.removeClass("valid").removeClass("invalid"); else { var o = t[0].validity.valid, r = Number(t.attr("length")) || 0; o && (!r || r > e.length) ? t.removeClass("invalid").addClass("valid") : t.removeClass("valid").addClass("invalid") } } } }, { key: "textAreaAutoResize", value: function () { var e = t(this); if (e.val().length) { var n = t(".hiddendiv"), i = e.css("font-family"), o = e.css("font-size"); o && n.css("font-size", o), i && n.css("font-family", i), "off" === e.attr("wrap") && n.css("overflow-wrap", "normal").css("white-space", "pre"), n.text("".concat(e.val(), "\n")); var r = n.html().replace(/\n/g, "<br>"); n.html(r), n.css("width", e.is(":visible") ? e.width() : t(window).width() / 2), e.css("height", n.height()) } } }]) && i(n.prototype, o), r && i(n, r), e }())).init() })) }, function (t, e) { jQuery((function (t) { t(window).on("scroll", (function () { var e = t(".navbar"); e.length && t(".scrolling-navbar")[e.offset().top > 50 ? "addClass" : "removeClass"]("top-nav-collapse") })) })) }, function (t, e, n) { "use strict"; n(6); jQuery((function (t) { t.fn.mdbTreeview = function () { var e = t(this); e.hasClass("treeview") && function (e) { e.find(".rotate").each((function () { var e = t(this); e.off("click"), e.on("click", (function () { var e = t(this); e.siblings(".nested").toggleClass("active"), e.toggleClass("down") })) })) }(e), e.hasClass("treeview-animated") && function (e) { var n = e.find(".treeview-animated-element"), i = e.find(".closed"); e.find(".nested").hide(), i.off("click"), i.on("click", (function () { var e = t(this), n = e.siblings(".nested"), i = e.children(".fa-angle-right"); e.toggleClass("open"), i.toggleClass("down"), n.hasClass("active") ? n.removeClass("active").slideUp() : n.addClass("active").slideDown() })), n.off("click"), n.on("click", (function () { var e = t(this); e.hasClass("opened") ? e.removeClass("opened") : (n.removeClass("opened"), e.addClass("opened")) })) }(e), e.hasClass("treeview-colorful") && function (e) { var n = e.find(".treeview-colorful-element"), i = e.find(".treeview-colorful-items-header"); e.find(".nested").hide(), i.off("click"), i.on("click", (function () { var e = t(this), n = e.siblings(".nested"), i = e.children(".fa-plus-circle"), o = e.children(".fa-minus-circle"); e.toggleClass("open"), i.removeClass("fa-plus-circle"), i.addClass("fa-minus-circle"), o.removeClass("fa-minus-circle"), o.addClass("fa-plus-circle"), n.hasClass("active") ? n.removeClass("active").slideUp() : n.addClass("active").slideDown() })), n.off("click"), n.on("click", (function () { var e = t(this); e.hasClass("opened") ? n.removeClass("opened") : (n.removeClass("opened"), e.addClass("opened")) })) }(e) } })) }, function (t, e, n) { "use strict"; n(28), n(13), n(7), n(29); function i(t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") } function o(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } function r(t, e, n) { return e && o(t.prototype, e), n && o(t, n), t } jQuery((function (t) { var e = function () { function e() { i(this, e) } return r(e, [{ key: "init", value: function () { t(".wow").wow() } }]), e }(), n = function () { function e(t, n) { i(this, e), this.$wowElement = t, this.customization = n, this.animated = !0, this.options = this.assignElementCustomization() } return r(e, [{ key: "init", value: function () { var e = this; t(window).scroll((function () { e.animated ? e.hide() : e.mdbWow() })), this.appear() } }, { key: "assignElementCustomization", value: function () { return { animationName: this.$wowElement.css("animation-name"), offset: 100, iteration: this.fallback().or(this.$wowElement.data("wow-iteration")).or(1).value(), duration: this.fallback().or(this.$wowElement.data("wow-duration")).or(1e3).value(), delay: this.fallback().or(this.$wowElement.data("wow-delay")).or(0).value() } } }, { key: "mdbWow", value: function () { var t = this; "visible" !== this.$wowElement.css("visibility") && this.shouldElementBeVisible(!0) && (setTimeout((function () { return t.$wowElement.removeClass("animated") }), this.countRemoveTime()), this.appear()) } }, { key: "appear", value: function () { this.$wowElement.addClass("animated"), this.$wowElement.css({ visibility: "visible", "animation-name": this.options.animationName, "animation-iteration-count": this.options.iteration, "animation-duration": this.options.duration, "animation-delay": this.options.delay }) } }, { key: "hide", value: function () { var t = this; this.shouldElementBeVisible(!1) ? (this.$wowElement.removeClass("animated"), this.$wowElement.css({ "animation-name": "none", visibility: "hidden" })) : setTimeout((function () { t.$wowElement.removeClass("animated") }), this.countRemoveTime()), this.mdbWow(), this.animated = !this.animated } }, { key: "shouldElementBeVisible", value: function (e) { var n = this.getOffset(this.$wowElement[0]), i = this.$wowElement.height(), o = t(document).height(), r = window.innerHeight, l = window.scrollY, a = r + l - this.options.offset > n, s = r + l - this.options.offset > n + i, c = l < n, u = l < n + i, d = r + l === o, h = n + this.options.offset > o, f = r + l - this.options.offset < n, p = l > n + this.options.offset, m = l < n + this.options.offset, g = n + i > o - this.options.offset; return e ? a && c || s && u || d && h : a && p || f && m || g } }, { key: "countRemoveTime", value: function () { var t = 1e3 * this.$wowElement.css("animation-duration").slice(0, -1), e = 0; return this.options.duration && (e = t + this.checkOptionsStringFormat(this.options.duration)), this.options.delay && (e += this.checkOptionsStringFormat(this.options.delay)), e } }, { key: "checkOptionsStringFormat", value: function (t) { var e; if ("s" === t.toString().slice(-1)) e = t.toString().slice(0, -1); else { if (isNaN(t.toString().slice(-1))) return console.log("Not supported animation customization format."); e = t } return e } }, { key: "getOffset", value: function (t) { var e = t.getBoundingClientRect(), n = document.body, i = document.documentElement, o = window.pageYOffset || i.scrollTop || n.scrollTop, r = i.clientTop || n.clientTop || 0, l = e.top + o - r; return Math.round(l) } }, { key: "fallback", value: function () { return { _value: void 0, or: function (t) { return void 0 !== t && void 0 === this._value && (this._value = t), this }, value: function () { return this._value } } } }]), e }(); t.fn.wow = function (e) { this.each((function () { new n(t(this), e).init() })) }, window.WOW = e })) }, function (t, e, n) {
"use strict"; (function (t) {
var e, i; n(10), n(16), n(17), n(211), n(36), n(38), n(12), n(8), n(23), n(52), n(13), n(42), n(7), n(44), n(14), n(18), n(43), n(30), n(40), n(19); function o(t) { return (o = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*!
* perfect-scrollbar v1.5.0
* Copyright 2020 Hyunje Jun, MDBootstrap and Contributors
* Licensed under MIT
*/e = void 0, i = function () { function t(t) { return getComputedStyle(t) } function e(t, e) { for (var n in e) { var i = e[n]; "number" == typeof i && (i += "px"), t.style[n] = i } return t } function n(t) { var e = document.createElement("div"); return e.className = t, e } var i = "undefined" != typeof Element && (Element.prototype.matches || Element.prototype.webkitMatchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector); function o(t, e) { if (!i) throw new Error("No element matching method supported"); return i.call(t, e) } function r(t) { t.remove ? t.remove() : t.parentNode && t.parentNode.removeChild(t) } function l(t, e) { return Array.prototype.filter.call(t.children, (function (t) { return o(t, e) })) } var a = { main: "ps", rtl: "ps__rtl", element: { thumb: function (t) { return "ps__thumb-" + t }, rail: function (t) { return "ps__rail-" + t }, consuming: "ps__child--consume" }, state: { focus: "ps--focus", clicking: "ps--clicking", active: function (t) { return "ps--active-" + t }, scrolling: function (t) { return "ps--scrolling-" + t } } }, s = { x: null, y: null }; function c(t, e) { var n = t.element.classList, i = a.state.scrolling(e); n.contains(i) ? clearTimeout(s[e]) : n.add(i) } function u(t, e) { s[e] = setTimeout((function () { return t.isAlive && t.element.classList.remove(a.state.scrolling(e)) }), t.settings.scrollingThreshold) } var d = function (t) { this.element = t, this.handlers = {} }, h = { isEmpty: { configurable: !0 } }; d.prototype.bind = function (t, e) { void 0 === this.handlers[t] && (this.handlers[t] = []), this.handlers[t].push(e), this.element.addEventListener(t, e, !1) }, d.prototype.unbind = function (t, e) { var n = this; this.handlers[t] = this.handlers[t].filter((function (i) { return !(!e || i === e) || (n.element.removeEventListener(t, i, !1), !1) })) }, d.prototype.unbindAll = function () { for (var t in this.handlers) this.unbind(t) }, h.isEmpty.get = function () { var t = this; return Object.keys(this.handlers).every((function (e) { return 0 === t.handlers[e].length })) }, Object.defineProperties(d.prototype, h); var f = function () { this.eventElements = [] }; function p(t) { if ("function" == typeof window.CustomEvent) return new CustomEvent(t); var e = document.createEvent("CustomEvent"); return e.initCustomEvent(t, !1, !1, void 0), e } function m(t, e, n, i, o) { var r; if (void 0 === i && (i = !0), void 0 === o && (o = !1), "top" === e) r = ["contentHeight", "containerHeight", "scrollTop", "y", "up", "down"]; else { if ("left" !== e) throw new Error("A proper axis should be provided"); r = ["contentWidth", "containerWidth", "scrollLeft", "x", "left", "right"] } !function (t, e, n, i, o) { var r = n[0], l = n[1], a = n[2], s = n[3], d = n[4], h = n[5]; void 0 === i && (i = !0), void 0 === o && (o = !1); var f = t.element; t.reach[s] = null, f[a] < 1 && (t.reach[s] = "start"), f[a] > t[r] - t[l] - 1 && (t.reach[s] = "end"), e && (f.dispatchEvent(p("ps-scroll-" + s)), e < 0 ? f.dispatchEvent(p("ps-scroll-" + d)) : e > 0 && f.dispatchEvent(p("ps-scroll-" + h)), i && function (t, e) { c(t, e), u(t, e) }(t, s)), t.reach[s] && (e || o) && f.dispatchEvent(p("ps-" + s + "-reach-" + t.reach[s])) }(t, n, r, i, o) } function g(t) { return parseInt(t, 10) || 0 } f.prototype.eventElement = function (t) { var e = this.eventElements.filter((function (e) { return e.element === t }))[0]; return e || (e = new d(t), this.eventElements.push(e)), e }, f.prototype.bind = function (t, e, n) { this.eventElement(t).bind(e, n) }, f.prototype.unbind = function (t, e, n) { var i = this.eventElement(t); i.unbind(e, n), i.isEmpty && this.eventElements.splice(this.eventElements.indexOf(i), 1) }, f.prototype.unbindAll = function () { this.eventElements.forEach((function (t) { return t.unbindAll() })), this.eventElements = [] }, f.prototype.once = function (t, e, n) { var i = this.eventElement(t); i.bind(e, (function t(o) { i.unbind(e, t), n(o) })) }; var v = { isWebKit: "undefined" != typeof document && "WebkitAppearance" in document.documentElement.style, supportsTouch: "undefined" != typeof window && ("ontouchstart" in window || "maxTouchPoints" in window.navigator && window.navigator.maxTouchPoints > 0 || window.DocumentTouch && document instanceof window.DocumentTouch), supportsIePointer: "undefined" != typeof navigator && navigator.msMaxTouchPoints, isChrome: "undefined" != typeof navigator && /Chrome/i.test(navigator && navigator.userAgent) }; function y(t) { var n = t.element, i = Math.floor(n.scrollTop), o = n.getBoundingClientRect(); t.containerWidth = Math.ceil(o.width), t.containerHeight = Math.ceil(o.height), t.contentWidth = n.scrollWidth, t.contentHeight = n.scrollHeight, n.contains(t.scrollbarXRail) || (l(n, a.element.rail("x")).forEach((function (t) { return r(t) })), n.appendChild(t.scrollbarXRail)), n.contains(t.scrollbarYRail) || (l(n, a.element.rail("y")).forEach((function (t) { return r(t) })), n.appendChild(t.scrollbarYRail)), !t.settings.suppressScrollX && t.containerWidth + t.settings.scrollXMarginOffset < t.contentWidth ? (t.scrollbarXActive = !0, t.railXWidth = t.containerWidth - t.railXMarginWidth, t.railXRatio = t.containerWidth / t.railXWidth, t.scrollbarXWidth = b(t, g(t.railXWidth * t.containerWidth / t.contentWidth)), t.scrollbarXLeft = g((t.negativeScrollAdjustment + n.scrollLeft) * (t.railXWidth - t.scrollbarXWidth) / (t.contentWidth - t.containerWidth))) : t.scrollbarXActive = !1, !t.settings.suppressScrollY && t.containerHeight + t.settings.scrollYMarginOffset < t.contentHeight ? (t.scrollbarYActive = !0, t.railYHeight = t.containerHeight - t.railYMarginHeight, t.railYRatio = t.containerHeight / t.railYHeight, t.scrollbarYHeight = b(t, g(t.railYHeight * t.containerHeight / t.contentHeight)), t.scrollbarYTop = g(i * (t.railYHeight - t.scrollbarYHeight) / (t.contentHeight - t.containerHeight))) : t.scrollbarYActive = !1, t.scrollbarXLeft >= t.railXWidth - t.scrollbarXWidth && (t.scrollbarXLeft = t.railXWidth - t.scrollbarXWidth), t.scrollbarYTop >= t.railYHeight - t.scrollbarYHeight && (t.scrollbarYTop = t.railYHeight - t.scrollbarYHeight), function (t, n) { var i = { width: n.railXWidth }, o = Math.floor(t.scrollTop); n.isRtl ? i.left = n.negativeScrollAdjustment + t.scrollLeft + n.containerWidth - n.contentWidth : i.left = t.scrollLeft, n.isScrollbarXUsingBottom ? i.bottom = n.scrollbarXBottom - o : i.top = n.scrollbarXTop + o, e(n.scrollbarXRail, i); var r = { top: o, height: n.railYHeight }; n.isScrollbarYUsingRight ? n.isRtl ? r.right = n.contentWidth - (n.negativeScrollAdjustment + t.scrollLeft) - n.scrollbarYRight - n.scrollbarYOuterWidth - 9 : r.right = n.scrollbarYRight - t.scrollLeft : n.isRtl ? r.left = n.negativeScrollAdjustment + t.scrollLeft + 2 * n.containerWidth - n.contentWidth - n.scrollbarYLeft - n.scrollbarYOuterWidth : r.left = n.scrollbarYLeft + t.scrollLeft, e(n.scrollbarYRail, r), e(n.scrollbarX, { left: n.scrollbarXLeft, width: n.scrollbarXWidth - n.railBorderXWidth }), e(n.scrollbarY, { top: n.scrollbarYTop, height: n.scrollbarYHeight - n.railBorderYWidth }) }(n, t), t.scrollbarXActive ? n.classList.add(a.state.active("x")) : (n.classList.remove(a.state.active("x")), t.scrollbarXWidth = 0, t.scrollbarXLeft = 0, n.scrollLeft = !0 === t.isRtl ? t.contentWidth : 0), t.scrollbarYActive ? n.classList.add(a.state.active("y")) : (n.classList.remove(a.state.active("y")), t.scrollbarYHeight = 0, t.scrollbarYTop = 0, n.scrollTop = 0) } function b(t, e) { return t.settings.minScrollbarLength && (e = Math.max(e, t.settings.minScrollbarLength)), t.settings.maxScrollbarLength && (e = Math.min(e, t.settings.maxScrollbarLength)), e } function w(t, e) { var n = e[0], i = e[1], o = e[2], r = e[3], l = e[4], s = e[5], d = e[6], h = e[7], f = e[8], p = t.element, m = null, g = null, v = null; function b(e) { e.touches && e.touches[0] && (e[o] = e.touches[0].pageY), p[d] = m + v * (e[o] - g), c(t, h), y(t), e.stopPropagation(), e.preventDefault() } function w() { u(t, h), t[f].classList.remove(a.state.clicking), t.event.unbind(t.ownerDocument, "mousemove", b) } function x(e, l) { m = p[d], l && e.touches && (e[o] = e.touches[0].pageY), g = e[o], v = (t[i] - t[n]) / (t[r] - t[s]), l ? t.event.bind(t.ownerDocument, "touchmove", b) : (t.event.bind(t.ownerDocument, "mousemove", b), t.event.once(t.ownerDocument, "mouseup", w), e.preventDefault()), t[f].classList.add(a.state.clicking), e.stopPropagation() } t.event.bind(t[l], "mousedown", (function (t) { x(t) })), t.event.bind(t[l], "touchstart", (function (t) { x(t, !0) })) } var x = { "click-rail": function (t) { t.element, t.event.bind(t.scrollbarY, "mousedown", (function (t) { return t.stopPropagation() })), t.event.bind(t.scrollbarYRail, "mousedown", (function (e) { var n = e.pageY - window.pageYOffset - t.scrollbarYRail.getBoundingClientRect().top > t.scrollbarYTop ? 1 : -1; t.element.scrollTop += n * t.containerHeight, y(t), e.stopPropagation() })), t.event.bind(t.scrollbarX, "mousedown", (function (t) { return t.stopPropagation() })), t.event.bind(t.scrollbarXRail, "mousedown", (function (e) { var n = e.pageX - window.pageXOffset - t.scrollbarXRail.getBoundingClientRect().left > t.scrollbarXLeft ? 1 : -1; t.element.scrollLeft += n * t.containerWidth, y(t), e.stopPropagation() })) }, "drag-thumb": function (t) { w(t, ["containerWidth", "contentWidth", "pageX", "railXWidth", "scrollbarX", "scrollbarXWidth", "scrollLeft", "x", "scrollbarXRail"]), w(t, ["containerHeight", "contentHeight", "pageY", "railYHeight", "scrollbarY", "scrollbarYHeight", "scrollTop", "y", "scrollbarYRail"]) }, keyboard: function (t) { var e = t.element; t.event.bind(t.ownerDocument, "keydown", (function (n) { if (!(n.isDefaultPrevented && n.isDefaultPrevented() || n.defaultPrevented) && (o(e, ":hover") || o(t.scrollbarX, ":focus") || o(t.scrollbarY, ":focus"))) { var i, r = document.activeElement ? document.activeElement : t.ownerDocument.activeElement; if (r) { if ("IFRAME" === r.tagName) r = r.contentDocument.activeElement; else for (; r.shadowRoot;)r = r.shadowRoot.activeElement; if (o(i = r, "input,[contenteditable]") || o(i, "select,[contenteditable]") || o(i, "textarea,[contenteditable]") || o(i, "button,[contenteditable]")) return } var l = 0, a = 0; switch (n.which) { case 37: l = n.metaKey ? -t.contentWidth : n.altKey ? -t.containerWidth : -30; break; case 38: a = n.metaKey ? t.contentHeight : n.altKey ? t.containerHeight : 30; break; case 39: l = n.metaKey ? t.contentWidth : n.altKey ? t.containerWidth : 30; break; case 40: a = n.metaKey ? -t.contentHeight : n.altKey ? -t.containerHeight : -30; break; case 32: a = n.shiftKey ? t.containerHeight : -t.containerHeight; break; case 33: a = t.containerHeight; break; case 34: a = -t.containerHeight; break; case 36: a = t.contentHeight; break; case 35: a = -t.contentHeight; break; default: return }t.settings.suppressScrollX && 0 !== l || t.settings.suppressScrollY && 0 !== a || (e.scrollTop -= a, e.scrollLeft += l, y(t), function (n, i) { var o = Math.floor(e.scrollTop); if (0 === n) { if (!t.scrollbarYActive) return !1; if (0 === o && i > 0 || o >= t.contentHeight - t.containerHeight && i < 0) return !t.settings.wheelPropagation } var r = e.scrollLeft; if (0 === i) { if (!t.scrollbarXActive) return !1; if (0 === r && n < 0 || r >= t.contentWidth - t.containerWidth && n > 0) return !t.settings.wheelPropagation } return !0 }(l, a) && n.preventDefault()) } })) }, wheel: function (e) { var n = e.element; function i(i) { var o = function (t) { var e = t.deltaX, n = -1 * t.deltaY; return void 0 !== e && void 0 !== n || (e = -1 * t.wheelDeltaX / 6, n = t.wheelDeltaY / 6), t.deltaMode && 1 === t.deltaMode && (e *= 10, n *= 10), e != e && n != n && (e = 0, n = t.wheelDelta), t.shiftKey ? [-n, -e] : [e, n] }(i), r = o[0], l = o[1]; if (!function (e, i, o) { if (!v.isWebKit && n.querySelector("select:focus")) return !0; if (!n.contains(e)) return !1; for (var r = e; r && r !== n;) { if (r.classList.contains(a.element.consuming)) return !0; var l = t(r); if (o && l.overflowY.match(/(scroll|auto)/)) { var s = r.scrollHeight - r.clientHeight; if (s > 0 && (r.scrollTop > 0 && o < 0 || r.scrollTop < s && o > 0)) return !0 } if (i && l.overflowX.match(/(scroll|auto)/)) { var c = r.scrollWidth - r.clientWidth; if (c > 0 && (r.scrollLeft > 0 && i < 0 || r.scrollLeft < c && i > 0)) return !0 } r = r.parentNode } return !1 }(i.target, r, l)) { var s = !1; e.settings.useBothWheelAxes ? e.scrollbarYActive && !e.scrollbarXActive ? (l ? n.scrollTop -= l * e.settings.wheelSpeed : n.scrollTop += r * e.settings.wheelSpeed, s = !0) : e.scrollbarXActive && !e.scrollbarYActive && (r ? n.scrollLeft += r * e.settings.wheelSpeed : n.scrollLeft -= l * e.settings.wheelSpeed, s = !0) : (n.scrollTop -= l * e.settings.wheelSpeed, n.scrollLeft += r * e.settings.wheelSpeed), y(e), (s = s || function (t, i) { var o = Math.floor(n.scrollTop), r = 0 === n.scrollTop, l = o + n.offsetHeight === n.scrollHeight, a = 0 === n.scrollLeft, s = n.scrollLeft + n.offsetWidth === n.scrollWidth; return !(Math.abs(i) > Math.abs(t) ? r || l : a || s) || !e.settings.wheelPropagation }(r, l)) && !i.ctrlKey && (i.stopPropagation(), i.preventDefault()) } } void 0 !== window.onwheel ? e.event.bind(n, "wheel", i) : void 0 !== window.onmousewheel && e.event.bind(n, "mousewheel", i) }, touch: function (e) { if (v.supportsTouch || v.supportsIePointer) { var n = e.element, i = {}, o = 0, r = {}, l = null; v.supportsTouch ? (e.event.bind(n, "touchstart", d), e.event.bind(n, "touchmove", h), e.event.bind(n, "touchend", f)) : v.supportsIePointer && (window.PointerEvent ? (e.event.bind(n, "pointerdown", d), e.event.bind(n, "pointermove", h), e.event.bind(n, "pointerup", f)) : window.MSPointerEvent && (e.event.bind(n, "MSPointerDown", d), e.event.bind(n, "MSPointerMove", h), e.event.bind(n, "MSPointerUp", f))) } function s(t, i) { n.scrollTop -= i, n.scrollLeft -= t, y(e) } function c(t) { return t.targetTouches ? t.targetTouches[0] : t } function u(t) { return !(t.pointerType && "pen" === t.pointerType && 0 === t.buttons || (!t.targetTouches || 1 !== t.targetTouches.length) && (!t.pointerType || "mouse" === t.pointerType || t.pointerType === t.MSPOINTER_TYPE_MOUSE)) } function d(t) { if (u(t)) { var e = c(t); i.pageX = e.pageX, i.pageY = e.pageY, o = (new Date).getTime(), null !== l && clearInterval(l) } } function h(l) { if (u(l)) { var d = c(l), h = { pageX: d.pageX, pageY: d.pageY }, f = h.pageX - i.pageX, p = h.pageY - i.pageY; if (function (e, i, o) { if (!n.contains(e)) return !1; for (var r = e; r && r !== n;) { if (r.classList.contains(a.element.consuming)) return !0; var l = t(r); if (o && l.overflowY.match(/(scroll|auto)/)) { var s = r.scrollHeight - r.clientHeight; if (s > 0 && (r.scrollTop > 0 && o < 0 || r.scrollTop < s && o > 0)) return !0 } if (i && l.overflowX.match(/(scroll|auto)/)) { var c = r.scrollWidth - r.clientWidth; if (c > 0 && (r.scrollLeft > 0 && i < 0 || r.scrollLeft < c && i > 0)) return !0 } r = r.parentNode } return !1 }(l.target, f, p)) return; s(f, p), i = h; var m = (new Date).getTime(), g = m - o; g > 0 && (r.x = f / g, r.y = p / g, o = m), function (t, i) { var o = Math.floor(n.scrollTop), r = n.scrollLeft, l = Math.abs(t), a = Math.abs(i); if (a > l) { if (i < 0 && o === e.contentHeight - e.containerHeight || i > 0 && 0 === o) return 0 === window.scrollY && i > 0 && v.isChrome } else if (l > a && (t < 0 && r === e.contentWidth - e.containerWidth || t > 0 && 0 === r)) return !0; return !0 }(f, p) && l.preventDefault() } } function f() { e.settings.swipeEasing && (clearInterval(l), l = setInterval((function () { e.isInitialized ? clearInterval(l) : r.x || r.y ? Math.abs(r.x) < .01 && Math.abs(r.y) < .01 ? clearInterval(l) : (s(30 * r.x, 30 * r.y), r.x *= .8, r.y *= .8) : clearInterval(l) }), 10)) } } }, k = function (i, o) { var r = this; if (void 0 === o && (o = {}), "string" == typeof i && (i = document.querySelector(i)), !i || !i.nodeName) throw new Error("no element is specified to initialize PerfectScrollbar"); for (var l in this.element = i, i.classList.add(a.main), this.settings = { handlers: ["click-rail", "drag-thumb", "keyboard", "wheel", "touch"], maxScrollbarLength: null, minScrollbarLength: null, scrollingThreshold: 1e3, scrollXMarginOffset: 0, scrollYMarginOffset: 0, suppressScrollX: !1, suppressScrollY: !1, swipeEasing: !0, useBothWheelAxes: !1, wheelPropagation: !0, wheelSpeed: 1 }, o) this.settings[l] = o[l]; this.containerWidth = null, this.containerHeight = null, this.contentWidth = null, this.contentHeight = null; var s, c, u = function () { return i.classList.add(a.state.focus) }, d = function () { return i.classList.remove(a.state.focus) }; this.isRtl = "rtl" === t(i).direction, !0 === this.isRtl && i.classList.add(a.rtl), this.isNegativeScroll = (c = i.scrollLeft, i.scrollLeft = -1, s = i.scrollLeft < 0, i.scrollLeft = c, s), this.negativeScrollAdjustment = this.isNegativeScroll ? i.scrollWidth - i.clientWidth : 0, this.event = new f, this.ownerDocument = i.ownerDocument || document, this.scrollbarXRail = n(a.element.rail("x")), i.appendChild(this.scrollbarXRail), this.scrollbarX = n(a.element.thumb("x")), this.scrollbarXRail.appendChild(this.scrollbarX), this.scrollbarX.setAttribute("tabindex", 0), this.event.bind(this.scrollbarX, "focus", u), this.event.bind(this.scrollbarX, "blur", d), this.scrollbarXActive = null, this.scrollbarXWidth = null, this.scrollbarXLeft = null; var h = t(this.scrollbarXRail); this.scrollbarXBottom = parseInt(h.bottom, 10), isNaN(this.scrollbarXBottom) ? (this.isScrollbarXUsingBottom = !1, this.scrollbarXTop = g(h.top)) : this.isScrollbarXUsingBottom = !0, this.railBorderXWidth = g(h.borderLeftWidth) + g(h.borderRightWidth), e(this.scrollbarXRail, { display: "block" }), this.railXMarginWidth = g(h.marginLeft) + g(h.marginRight), e(this.scrollbarXRail, { display: "" }), this.railXWidth = null, this.railXRatio = null, this.scrollbarYRail = n(a.element.rail("y")), i.appendChild(this.scrollbarYRail), this.scrollbarY = n(a.element.thumb("y")), this.scrollbarYRail.appendChild(this.scrollbarY), this.scrollbarY.setAttribute("tabindex", 0), this.event.bind(this.scrollbarY, "focus", u), this.event.bind(this.scrollbarY, "blur", d), this.scrollbarYActive = null, this.scrollbarYHeight = null, this.scrollbarYTop = null; var p = t(this.scrollbarYRail); this.scrollbarYRight = parseInt(p.right, 10), isNaN(this.scrollbarYRight) ? (this.isScrollbarYUsingRight = !1, this.scrollbarYLeft = g(p.left)) : this.isScrollbarYUsingRight = !0, this.scrollbarYOuterWidth = this.isRtl ? function (e) { var n = t(e); return g(n.width) + g(n.paddingLeft) + g(n.paddingRight) + g(n.borderLeftWidth) + g(n.borderRightWidth) }(this.scrollbarY) : null, this.railBorderYWidth = g(p.borderTopWidth) + g(p.borderBottomWidth), e(this.scrollbarYRail, { display: "block" }), this.railYMarginHeight = g(p.marginTop) + g(p.marginBottom), e(this.scrollbarYRail, { display: "" }), this.railYHeight = null, this.railYRatio = null, this.reach = { x: i.scrollLeft <= 0 ? "start" : i.scrollLeft >= this.contentWidth - this.containerWidth ? "end" : null, y: i.scrollTop <= 0 ? "start" : i.scrollTop >= this.contentHeight - this.containerHeight ? "end" : null }, this.isAlive = !0, this.settings.handlers.forEach((function (t) { return x[t](r) })), this.lastScrollTop = Math.floor(i.scrollTop), this.lastScrollLeft = i.scrollLeft, this.event.bind(this.element, "scroll", (function (t) { return r.onScroll(t) })), y(this) }; return k.prototype.update = function () { this.isAlive && (this.negativeScrollAdjustment = this.isNegativeScroll ? this.element.scrollWidth - this.element.clientWidth : 0, e(this.scrollbarXRail, { display: "block" }), e(this.scrollbarYRail, { display: "block" }), this.railXMarginWidth = g(t(this.scrollbarXRail).marginLeft) + g(t(this.scrollbarXRail).marginRight), this.railYMarginHeight = g(t(this.scrollbarYRail).marginTop) + g(t(this.scrollbarYRail).marginBottom), e(this.scrollbarXRail, { display: "none" }), e(this.scrollbarYRail, { display: "none" }), y(this), m(this, "top", 0, !1, !0), m(this, "left", 0, !1, !0), e(this.scrollbarXRail, { display: "" }), e(this.scrollbarYRail, { display: "" })) }, k.prototype.onScroll = function (t) { this.isAlive && (y(this), m(this, "top", this.element.scrollTop - this.lastScrollTop), m(this, "left", this.element.scrollLeft - this.lastScrollLeft), this.lastScrollTop = Math.floor(this.element.scrollTop), this.lastScrollLeft = this.element.scrollLeft) }, k.prototype.destroy = function () { this.isAlive && (this.event.unbindAll(), r(this.scrollbarX), r(this.scrollbarY), r(this.scrollbarXRail), r(this.scrollbarYRail), this.removePsClasses(), this.element = null, this.scrollbarX = null, this.scrollbarY = null, this.scrollbarXRail = null, this.scrollbarYRail = null, this.isAlive = !1) }, k.prototype.removePsClasses = function () { this.element.className = this.element.className.split(" ").filter((function (t) { return !t.match(/^ps([-_].+|)$/) })).join(" ") }, k }, "object" === ("undefined" == typeof exports ? "undefined" : o(exports)) && void 0 !== t ? t.exports = i() : "function" == typeof define && n(24) ? define(i) : (e = e || self).PerfectScrollbar = i()
}).call(this, n(27)(t))
}, function (t, e, n) { "use strict"; var i = n(0), o = n(21).every; i({ target: "Array", proto: !0, forced: n(45)("every") }, { every: function (t) { return o(this, t, arguments.length > 1 ? arguments[1] : void 0) } }) }, function (t, e, n) { "use strict"; (function (t) { n(13), n(46); !function (t) { t(["jquery"], (function (t) { return function () { var e, n, i, o = 0, r = { error: "error", info: "info", success: "success", warning: "warning" }, l = { clear: function (n, i) { var o = d(); e || a(o); s(n, o, i) || function (n) { for (var i = e.children(), o = i.length - 1; o >= 0; o--)s(t(i[o]), n) }(o) }, remove: function (n) { var i = d(); e || a(i); if (n && 0 === t(":focus", n).length) return void h(n); e.children().length && e.remove() }, error: function (t, e, n) { return u({ type: r.error, iconClass: d().iconClasses.error, message: t, optionsOverride: n, title: e }) }, getContainer: a, info: function (t, e, n) { return u({ type: r.info, iconClass: d().iconClasses.info, message: t, optionsOverride: n, title: e }) }, options: {}, subscribe: function (t) { n = t }, success: function (t, e, n) { return u({ type: r.success, iconClass: d().iconClasses.success, message: t, optionsOverride: n, title: e }) }, version: "2.1.1", warning: function (t, e, n) { return u({ type: r.warning, iconClass: d().iconClasses.warning, message: t, optionsOverride: n, title: e }) } }; return l; function a(n, i) { return n || (n = d()), (e = t("#" + n.containerId)).length ? e : (i && (e = function (n) { return (e = t("<div/>").attr("id", n.containerId).addClass(n.positionClass).attr("aria-live", "polite").attr("role", "alert")).appendTo(t(n.target)), e }(n)), e) } function s(e, n, i) { var o = !(!i || !i.force) && i.force; return !(!e || !o && 0 !== t(":focus", e).length) && (e[n.hideMethod]({ duration: n.hideDuration, easing: n.hideEasing, complete: function () { h(e) } }), !0) } function c(t) { n && n(t) } function u(n) { var r = d(), l = n.iconClass || r.iconClass; if (void 0 !== n.optionsOverride && (r = t.extend(r, n.optionsOverride), l = n.optionsOverride.iconClass || l), !function (t, e) { if (t.preventDuplicates) { if (e.message === i) return !0; i = e.message } return !1 }(r, n)) { o++, e = a(r, !0); var s = null, u = t("<div/>"), f = t("<div/>"), p = t("<div/>"), m = t("<div/>"), g = t(r.closeHtml), v = { intervalId: null, hideEta: null, maxHideTime: null }, y = { toastId: o, state: "visible", startTime: new Date, options: r, map: n }; return n.iconClass && u.addClass(r.toastClass).addClass(l), n.title && (f.append(n.title).addClass(r.titleClass), u.append(f)), n.message && (p.append(n.message).addClass(r.messageClass), u.append(p)), r.closeButton && (g.addClass("md-toast-close-button").attr("role", "button"), u.prepend(g)), r.progressBar && (m.addClass("md-toast-progress"), u.prepend(m)), r.newestOnTop ? e.prepend(u) : e.append(u), u.hide(), u[r.showMethod]({ duration: r.showDuration, easing: r.showEasing, complete: r.onShown }), r.timeOut > 0 && (s = setTimeout(b, r.timeOut), v.maxHideTime = parseFloat(r.timeOut), v.hideEta = (new Date).getTime() + v.maxHideTime, r.progressBar && (v.intervalId = setInterval(k, 10))), function () { u.hover(x, w), !r.onclick && r.tapToDismiss && u.click(b); r.closeButton && g && g.click((function (t) { t.stopPropagation ? t.stopPropagation() : void 0 !== t.cancelBubble && !0 !== t.cancelBubble && (t.cancelBubble = !0), b(!0) })); r.onclick && u.click((function () { r.onclick(), b() })) }(), c(y), r.debug && console && console.log(y), u } function b(e) { if (!t(":focus", u).length || e) return clearTimeout(v.intervalId), u[r.hideMethod]({ duration: r.hideDuration, easing: r.hideEasing, complete: function () { h(u), r.onHidden && "hidden" !== y.state && r.onHidden(), y.state = "hidden", y.endTime = new Date, c(y) } }) } function w() { (r.timeOut > 0 || r.extendedTimeOut > 0) && (s = setTimeout(b, r.extendedTimeOut), v.maxHideTime = parseFloat(r.extendedTimeOut), v.hideEta = (new Date).getTime() + v.maxHideTime) } function x() { clearTimeout(s), v.hideEta = 0, u.stop(!0, !0)[r.showMethod]({ duration: r.showDuration, easing: r.showEasing }) } function k() { var t = (v.hideEta - (new Date).getTime()) / v.maxHideTime * 100; m.width(t + "%") } } function d() { return t.extend({}, { tapToDismiss: !0, toastClass: "md-toast", containerId: "toast-container", debug: !1, showMethod: "fadeIn", showDuration: 300, showEasing: "swing", onShown: void 0, hideMethod: "fadeOut", hideDuration: 1e3, hideEasing: "swing", onHidden: void 0, extendedTimeOut: 1e3, iconClasses: { error: "md-toast-error", info: "md-toast-info", success: "md-toast-success", warning: "md-toast-warning" }, iconClass: "md-toast-info", positionClass: "md-toast-top-right", timeOut: 5e3, titleClass: "md-toast-title", messageClass: "md-toast-message", target: "body", closeHtml: '<button type="button">&times;</button>', newestOnTop: !0, preventDuplicates: !1, progressBar: !1 }, l.options) } function h(t) { e || (e = a()), t.is(":visible") || (t.remove(), t = null, 0 === e.children().length && (e.remove(), i = void 0)) } }() })) }("function" == typeof define && n(24) ? define : function (e, i) { t.exports ? t.exports = i(n(64)) : window.toastr = i(window.jQuery) }) }).call(this, n(27)(t)) }, function (t, e, n) { "use strict"; n(38), n(40); jQuery((function (t) { var e = "ontouchstart" in document.documentElement, n = function (t, e) { (e && !t.hasClass("active") || !e && t.hasClass("active")) && (t[e ? "addClass" : "removeClass"]("active"), document.querySelectorAll("ul .btn-floating").forEach((function (t) { return t.classList[e ? "add" : "remove"]("shown") }))) }, i = t(".fixed-action-btn:not(.smooth-scroll) > .btn-floating"); i.on("mouseenter", (function (i) { e || n(t(i.currentTarget).parent(), !0) })), i.parent().on("mouseleave", (function (e) { return n(t(e.currentTarget), !1) })), i.on("click", (function (e) { var i; e.preventDefault(), (i = t(e.currentTarget).parent()).hasClass("active") ? n(i, !1) : n(i, !0) })), t.fn.extend({ openFAB: function () { n(t(this), !0) }, closeFAB: function () { n(t(this), !1) } }) })) }, function (t, e, n) { "use strict"; n(6); jQuery((function (t) { t(document).on("click.card", ".card", (function (i) { var o = t(this).find(".card-reveal"); if (o.length) { var r = t(i.target), l = r.is(".card-reveal .card-title"), a = r.is(".card-reveal .card-title i"), s = r.is(".card .activator"), c = r.is(".card .activator i"); l || a ? n(o) : (s || c) && e(o) } })); var e = function (t) { t.css({ display: "block" }).velocity({ translateY: "-100%" }, { duration: 300, queue: !1, easing: "easeInOutQuad" }) }, n = function (t) { t.velocity({ translateY: 0 }, { duration: 225, queue: !1, easing: "easeInOutQuad", complete: function () { t.css({ display: "none" }) } }) }; t(".rotate-btn").on("click", (function () { t(this).closest(".card").toggleClass("flipped") })), t(window).on("load", (function () { t(".card-rotating").each((function () { var e = t(this), n = e.parent(), i = e.find(".front"), o = e.find(".back"), r = e.find(".front").outerHeight(), l = e.find(".back").outerHeight(); r > l ? t(n, o).height(r) : r < l ? t(n, i).height(l) : t(n).height(l) })) })), t(".card-share > a").on("click", (function (e) { e.preventDefault(), t(this).toggleClass("share-expanded").parent().find("div").toggleClass("social-reveal-active") })), t(".map-card").on("click", (function () { t(this).find(".card-body").toggleClass("closed") })) })) }, function (t, e, n) { "use strict"; n(31), n(6), n(61); jQuery((function (t) { function e() { var e = t(this), n = Number(e.attr("length")), i = Number(e.val().length), o = i <= n; e.parent().find('span[class="character-counter"]').html("".concat(i, "/").concat(n)), function (t, e) { var n = e.hasClass("invalid"); t && n ? e.removeClass("invalid") : t || n || (e.removeClass("valid"), e.addClass("invalid")) }(o, e) } function n() { t(this).parent().find('span[class="character-counter"]').html("") } t.fn.characterCounter = function () { return this.each((function () { var i, o, r = t(this); void 0 !== r.attr("length") && (r.on("input focus", e), r.on("blur", n), i = r, o = t("<span/>").addClass("character-counter").css("float", "right").css("font-size", "12px").css("height", 1), i.parent().append(o)) })) }, t(document).ready((function () { t("input, textarea").characterCounter() })) })) }, function (t, e, n) { var i = n(101); t.exports = function (t) { if (i(t)) throw TypeError("The method doesn't accept regular expressions"); return t } }, function (t, e, n) { var i = n(4)("match"); t.exports = function (t) { var e = /./; try { "/./"[t](e) } catch (n) { try { return e[i] = !1, "/./"[t](e) } catch (t) { } } return !1 } }, function (t, e, n) { "use strict"; n(36), n(6); jQuery((function (t) { function e(e, i) { var o = e.find("> li > .collapsible-header"); n(i), o.not(i).removeClass("active").parent().removeClass("active").children(".collapsible-body").stop(!0, !1).slideUp({ duration: 350, easing: "easeOutQuart", queue: !1, complete: function () { t(this).css("height", "") } }) } function n(e) { e.hasClass("active") ? e.parent().addClass("active") : e.parent().removeClass("active"), e.parent().hasClass("active") ? e.siblings(".collapsible-body").stop(!0, !1).slideDown({ duration: 350, easing: "easeOutQuart", queue: !1, complete: function () { t(this).css("height", "") } }) : e.siblings(".collapsible-body").stop(!0, !1).slideUp({ duration: 350, easing: "easeOutQuart", queue: !1, complete: function () { t(this).css("height", "") } }) } function i(t) { return o(t).length > 0 } function o(t) { return t.closest("li > .collapsible-header") } t.fn.collapsible = function (r) { var l = { accordion: void 0 }; return r = t.extend(l, r), this.each((function () { var l = t(this), a = l.find("> li > .collapsible-header"), s = l.data("collapsible"); l.off("click.collapse", ".collapsible-header"), a.off("click.collapse"), r.accordion || "accordion" === s || void 0 === s ? (a.on("click.collapse", (function (n) { var r = t(n.target); i(r) && (r = o(r)), r.toggleClass("active"), e(l, r) })), e(l, a.filter(".active").first())) : a.each((function () { t(this).on("click.collapse", (function (e) { var r = t(e.target); i(r) && (r = o(r)), r.toggleClass("active"), n(r) })), t(this).hasClass("active") && n(t(this)) })) })) }, t(".collapsible").collapsible() })) }, function (t, e, n) { "use strict"; n(6), n(23), n(32), n(59), n(153); jQuery((function (t) { t(document).on("change", '.file-field input[type="file"]', (function () { var e = t(this); console.log(e); var n = e.closest(".file-field").find("input.file-path"), i = e.get(0).files, o = []; o = Array.isArray(i) ? i.map((function (t) { return t.name })) : Object.values(i).map((function (t) { return t.name })), n.val(o.join(", ")), n.trigger("change") })) })) }, function (t, e, n) { "use strict"; n(6), n(109), n(12), n(42), n(110); function i(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } !function (t) { var e = function () { function e(n, i) { !function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }(this, e), this.defaults = { data: {}, dataColor: "", closeColor: "#4285f4", closeBlurColor: "#ced4da", inputFocus: "1px solid #4285f4", inputBlur: "1px solid #ced4da", inputFocusShadow: "0 1px 0 0 #4285f4", inputBlurShadow: "", visibleOptions: 5 }, this.enterCharCode = 13, this.homeCharCode = 36, this.endCharCode = 35, this.arrowUpCharCode = 38, this.arrowDownCharCode = 40, this.tabCharCode = 9, this.shiftCharCode = 16, this.count = -1, this.nextScrollHeight = -45, this.$input = n, this.options = this.assignOptions(i), this.$clearButton = this.$input.next(".mdb-autocomplete-clear"), this.$autocompleteWrap = t('<ul class="mdb-autocomplete-wrap"></ul>') } var n, o, r; return n = e, (o = [{ key: "init", value: function () { this.handleEvents() } }, { key: "handleEvents", value: function () { this.setData(), this.inputFocus(), this.inputBlur(), this.inputKeyupData(), this.inputTabPrevent(), this.inputLiClick(), this.clearAutocomplete(), this.setAutocompleteWrapHeight() } }, { key: "assignOptions", value: function (e) { return t.extend({}, this.defaults, e) } }, { key: "setAutocompleteWrapHeight", value: function () { this.$autocompleteWrap.css("max-height", "".concat(45 * this.options.visibleOptions, "px")) } }, { key: "setData", value: function () { Object.keys(this.options.data).length && this.$autocompleteWrap.insertAfter(this.$input) } }, { key: "inputFocus", value: function () { var t = this; this.$input.on("focus", (function () { t.changeSVGcolors(), t.$input.css("border-bottom", t.options.inputFocus), t.$input.css("box-shadow", t.options.inputFocusShadow) })) } }, { key: "inputBlur", value: function () { var t = this; this.$input.on("blur", (function () { t.$input.css("border-bottom", t.options.inputBlur), t.$input.css("box-shadow", t.options.inputBlurShadow), t.$autocompleteWrap.empty() })) } }, { key: "inputTabPrevent", value: function () { var t = this, e = {}; this.$input.on("keydown keyup", (function (n) { "keydown" == n.type && t.$input.val() ? (e[n.which] = !0, e[t.shiftCharCode] && e[t.tabCharCode] ? (n.preventDefault(), t.$clearButton.focus()) : e[t.tabCharCode] && !e[t.shiftCharCode] && (n.preventDefault(), t.$clearButton.focus())) : "keyup" == n.type && (e = {}) })), this.$clearButton.on("keydown keyup", (function (n) { "keydown" == n.type && t.$input.val() ? (e[n.which] = !0, e[t.shiftCharCode] && e[t.tabCharCode] ? (n.preventDefault(), t.$input.focus()) : e[t.tabCharCode] && !e[t.shiftCharCode] && (n.preventDefault(), t.$input.focus())) : "keyup" == n.type && (e = {}) })) } }, { key: "inputKeyupData", value: function () { var t = this; this.$input.on("focus input keyup", (function (e) { if (e.which === t.enterCharCode) return t.options.data.includes(t.$input.val()) || t.options.data.push(t.$input.val()), t.$autocompleteWrap.find(".selected").trigger("mousedown"), t.$autocompleteWrap.empty(), t.inputBlur(), t.count = -1, t.nextScrollHeight = -45, t.count; var n = t.$input.val(); if (t.$autocompleteWrap.empty(), n.length) { t.appendOptions(t.options.data, n); var i = t.$autocompleteWrap, o = t.$autocompleteWrap.find("li"), r = o.eq(t.count).outerHeight(), l = o.eq(t.count - 1).outerHeight(); e.which === t.homeCharCode && t.homeHandler(i, o), e.which === t.endCharCode && t.endHandler(i, o), e.which === t.arrowDownCharCode ? t.arrowDownHandler(i, o, r) : e.which === t.arrowUpCharCode && t.arrowUpHandler(i, o, r, l), 0 === n.length ? t.$clearButton.css("visibility", "hidden") : t.$clearButton.css("visibility", "visible"), t.$autocompleteWrap.children().css("color", t.options.dataColor) } else t.$clearButton.css("visibility", "hidden") })) } }, { key: "endHandler", value: function (t, e) { this.count = e.length - 1, this.nextScrollHeight = 45 * e.length - 45, t.scrollTop(45 * e.length), e.eq(-1).addClass("selected") } }, { key: "homeHandler", value: function (t, e) { this.count = 0, this.nextScrollHeight = -45, t.scrollTop(0), e.eq(0).addClass("selected") } }, { key: "arrowDownHandler", value: function (t, e, n) { if (this.count > e.length - 2) return this.count = -1, e.scrollTop(0), void (this.nextScrollHeight = -45); this.count++, this.nextScrollHeight += n, t.scrollTop(this.nextScrollHeight), e.eq(this.count).addClass("selected") } }, { key: "arrowUpHandler", value: function (t, e, n, i) { this.count < 1 ? (this.count = e.length, t.scrollTop(t.prop("scrollHeight")), this.nextScrollHeight = t.prop("scrollHeight") - n) : this.count--, this.nextScrollHeight -= i, t.scrollTop(this.nextScrollHeight), e.eq(this.count).addClass("selected") } }, { key: "appendOptions", value: function (e, n) { for (var i in e) if (-1 !== e[i].toLowerCase().indexOf(n.toLowerCase())) { var o = t("<li>".concat(e[i], "</li>")); this.$autocompleteWrap.append(o) } } }, { key: "inputLiClick", value: function () { var e = this; this.$autocompleteWrap.on("mousedown", "li", (function (n) { n.preventDefault(), e.$input.val(t(n.target).text()), e.$autocompleteWrap.empty() })) } }, { key: "clearAutocomplete", value: function () { var e = this; this.$clearButton.on("click", (function (n) { n.preventDefault(), e.count = -1, e.nextScrollHeight = -45; var i = t(n.currentTarget); i.parent().find(".mdb-autocomplete").val(""), i.css("visibility", "hidden"), e.$autocompleteWrap.empty(), i.parent().find("label").removeClass("active") })) } }, { key: "changeSVGcolors", value: function () { var t = this; this.$input.hasClass("mdb-autocomplete") && (this.$input.on("keyup", (function (e) { t.fillSVG(e, t.options.closeColor) })), this.$input.on("blur", (function (e) { t.fillSVG(e, t.options.closeBlurColor) }))) } }, { key: "fillSVG", value: function (e, n) { e.preventDefault(), t(e.target).parent().find(".mdb-autocomplete-clear").find("svg").css("fill", n) } }]) && i(n.prototype, o), r && i(n, r), e }(); t.fn.mdbAutocomplete = function (n) { return this.each((function () { new e(t(this), n).init() })) } }(jQuery) }, function (t, e) { var n = !1; $(window).on("load", (function () { n = !0 })); function i() { $("#mdb-preloader").fadeOut("slow"), $("body").removeAttr("aria-busy"), $("#preloader-markup").html("") } jQuery((function (t) { t("body").attr("aria-busy", !0), t("#preloader-markup").html('\n<div class="spinner-border" style="width: 3rem; height: 3rem;" role="status">\n<span class="sr-only">Loading...</span>\n</div>\n'), n ? i() : t(window).on("load", (function () { i() })) })) }, function (t, e, n) { "use strict"; n(6); jQuery((function (t) { var e = "input[type=range]:not(.custom-range):not(.multi-range)", n = '<span class="thumb" style="margin-left: 7px"><span class="value"></span></span>', i = !1; function o(t, e) { var n = t.attr("min"), i = t.attr("max"), o = t.width() - 13.5, r = o / (i - n), l = r * t.val() - r * n; l < 0 ? l = 0 : l > o && (l = o), e.addClass("active").css("left", l) } function r(t, e, n, i, o, r, l) { t.velocity({ height: e, width: n, top: i, marginLeft: o }, { duration: r, easing: l || "swing" }) } function l(t) { r(t, "30px", "30px", "-27px", "-7px", 200, "easeOutExpo") } function a(t) { r(t, "0", "0", "10px", "7px", 200) } t(document).on("change", e, (function () { var e = t(this); e.siblings(".thumb").find(".value").html(e.val()) })), t(document).on("mousedown touchstart contextmenu", e, (function (r) { var a = t(this), s = !a.siblings(".thumb").length, c = "contextmenu" === r.type; s && function () { var i = t(n); t(e).after(i) }(); var u = a.siblings(".thumb"); i = !c, a.addClass("active"), u.hasClass("active") || l(u), o(t(this), u), u.find(".value").html(a.val()) })), t(document).on("mouseup touchend", ".range-field", (function () { var e = t(this).children(".thumb"); i = !1, e.hasClass("active") && a(e), e.removeClass("active") })), t(document).on("input mousemove touchmove", ".range-field", (function () { var n = t(this).children(".thumb"); i && (n.hasClass("active") || l(n), o(t(this).children(e), n), n.find(".value").html(n.siblings(e).val())) })), t(document).on("mouseout touchleave", ".range-field", (function () { if (!i) { var e = t(this).children(".thumb"); e.hasClass("active") && a(e), e.removeClass("active") } })) })) }, function (t, e, n) { "use strict"; n(10), n(16), n(17), n(6), n(8), n(13), n(61), n(7), n(29), n(18), n(19); function i(t, e) { return function (t) { if (Array.isArray(t)) return t }(t) || function (t, e) { if (!(Symbol.iterator in Object(t) || "[object Arguments]" === Object.prototype.toString.call(t))) return; var n = [], i = !0, o = !1, r = void 0; try { for (var l, a = t[Symbol.iterator](); !(i = (l = a.next()).done) && (n.push(l.value), !e || n.length !== e); i = !0); } catch (t) { o = !0, r = t } finally { try { i || null == a.return || a.return() } finally { if (o) throw r } } return n }(t, e) || function () { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } function o(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } jQuery((function (t) { var e = function () { function e(n, i) { !function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }(this, e), this.settings = { menuLeftMinBorder: .3, menuLeftMaxBorder: -.5, menuRightMinBorder: -.3, menuRightMaxBorder: .5, menuVelocityOffset: 10 }, this.defaults = { menuWidth: 240, edge: "left", closeOnClick: !1, breakpoint: 1440, timeDurationOpen: 500, timeDurationClose: 500, timeDurationOverlayOpen: 200, timeDurationOverlayClose: 200, easingOpen: "easeInOutQuad", easingClose: "easeInOutQuad", showOverlay: !0, showCloseButton: !1, slim: !1, onOpen: null, onClose: null }, this.$element = n, this.$elementCloned = n.clone().css({ display: "inline-block", lineHeight: "24px" }).html('<i class="fas fa-times"></i>'), this.options = this.assignOptions(i), this.menuOut = !1, this.lastTouchVelocity = { x: { startPosition: 0, startTime: 0, endPosition: 0, endTime: 0 } }, this.$body = t("body"), this.$menu = t("#".concat(this.$element.attr("data-activates"))), this.$sidenavOverlay = t("#sidenav-overlay"), this.$dragTarget = t('<div class="drag-target"></div>'), this.isTouchDevice = "ontouchstart" in document.documentElement, this.$body.append(this.$dragTarget) } var n, r, l; return n = e, (r = [{ key: "assignOptions", value: function (e) { return t.extend({}, this.defaults, e) } }, { key: "init", value: function () { this.setMenuWidth(), this.setMenuTranslation(), this.closeOnClick(), this.openOnClick(), this.bindTouchEvents(), this.showCloseButton(), this.inputOnClick(), !0 === this.options.slim && this.handleSlim(), this.onOpen(), this.onClose(), this.options[0] + this.options[1] + this.options[2] + this.options[3] === "show" && !1 === this.menuOut && this.$element.trigger("click"), this.options[0] + this.options[1] + this.options[2] + this.options[3] === "hide" && !0 === this.menuOut && this.removeMenu() } }, { key: "setMenuWidth", value: function () { var e = t("#".concat(this.$menu.attr("id"))).find("> .sidenav-bg"); this.$menu.css("width", this.options.menuWidth), e.css("width", this.options.menuWidth) } }, { key: "setMenuTranslation", value: function () { var e = this; "left" === this.options.edge ? (this.$menu.css("transform", "translateX(-100%)"), this.$dragTarget.css({ left: 0 })) : (this.$menu.addClass("right-aligned").css("transform", "translateX(100%)"), this.$dragTarget.css({ right: 0 })), this.$menu.hasClass("fixed") && (window.innerWidth > this.options.breakpoint ? (this.menuOut = !0, this.$menu.css("transform", "translateX(0)")) : this.menuOut = !1, this.$menu.find("input[type=text]").on("touchstart", (function () { e.$menu.addClass("transform-fix-input") })), t(window).on("resize", (function () { if (e.isTouchDevice || t(".fixed-sn main, .fixed-sn footer").css("padding-left", e.options.menuWidth), window.innerWidth > e.options.breakpoint) e.$sidenavOverlay.length ? (e.removeMenu(!0), t(".fixed-sn main, .fixed-sn footer").css("padding-left", e.options.menuWidth)) : (!1 === e.menuOut && t(e).trigger("sidenav_open", [e.options.onOpen]), e.$menu.css("transform", "translateX(0%)"), e.menuOut = !0); else if (!1 !== e.menuOut || e.isTouchDevice) e.isTouchDevice || (e.menuOut = !1, e.removeMenu(!0)); else { var n = "left" === e.options.edge ? "-100" : "100"; e.$menu.css("transform", "translateX(".concat(n, "%)")), e.removeMenu(!0) } }))) } }, { key: "closeOnClick", value: function () { var t = this; !0 === this.options.closeOnClick && (this.$menu.on("click", "a:not(.collapsible-header)", (function () { return t.removeMenu() })), "translateX(0)" === this.$menu.css("transform") && this.$menu.on("click", (function () { return t.removeMenu() }))) } }, { key: "onOpen", value: function (e) { t(this).on("sidenav_open", (function (t, e) { "function" == typeof e && e() })) } }, { key: "onClose", value: function (e) { t(this).on("sidenav_close", (function (t, e) { "function" == typeof e && e() })) } }, { key: "openOnClick", value: function () { var e = this; this.$element.on("click", (function (n) { if (n.preventDefault(), !0 === e.menuOut) return e.removeMenu(); t(e).trigger("sidenav_open", [e.options.onOpen]), e.menuOut = !0, !0 === e.options.showOverlay ? t("#sidenav-overlay").length || e.showSidenavOverlay() : e.showCloseButton(); var i = []; i = "left" === e.options.edge ? [0, -1 * e.options.menuWidth] : [0, e.options.menuWidth], "matrix(1, 0, 0, 1, 0, 0)" !== e.$menu.css("transform") && e.$menu.velocity({ translateX: i }, { duration: e.options.timeDurationOpen, queue: !1, easing: e.options.easingOpen }), e.$sidenavOverlay.on("touchmove", e.touchmoveEventHandler.bind(e)), e.$menu.on("touchmove", (function (t) { t.preventDefault(), e.$menu.find(".custom-scrollbar").css("padding-bottom", "30px") })), !1 === e.options.showOverlay && (e.menuOut = !0) })) } }, { key: "bindTouchEvents", value: function () { var t = this; this.$dragTarget.on("click", (function () { t.menuOut && t.removeMenu() })), this.$dragTarget.on("touchstart", (function (e) { t.lastTouchVelocity.x.startPosition = e.touches[0].clientX, t.lastTouchVelocity.x.startTime = Date.now() })), this.$dragTarget.on("touchmove", this.touchmoveEventHandler.bind(this)), this.$dragTarget.on("touchend", this.touchendEventHandler.bind(this)) } }, { key: "showCloseButton", value: function () { !0 === this.options.showCloseButton && (this.$menu.prepend(this.$elementCloned), this.$menu.find(".logo-wrapper").css({ borderTop: "1px solid rgba(153,153,153,.3)" })) } }, { key: "inputOnClick", value: function () { var t = this; this.$menu.find("input[type=text]").on("touchstart", (function () { return t.$menu.css("transform", "translateX(0)") })) } }, { key: "removeMenu", value: function (e) { var n = this; this.$body.css({ overflow: "", width: "" }), this.$menu.velocity({ translateX: "left" === this.options.edge ? "-100%" : "100%" }, { duration: this.options.timeDurationClose, queue: !1, easing: this.options.easingClose, complete: function () { !0 === e && (n.$menu.removeAttr("style"), n.$menu.css("width", n.options.menuWidth)) } }), this.$menu.removeClass("transform-fix-input"), this.hideSidenavOverlay(), this.menuOut = !1, t(".fixed-sn .double-nav").css("padding-left", "unset"), t(".fixed-sn main, .fixed-sn footer").css({ "padding-left": "0" }), t(this).trigger("sidenav_close", [this.options.onClose]) } }, { key: "handleSlim", value: function () { var e = this; t("#toggle").on("click", (function () { e.$menu.hasClass("slim") ? (e.$menu.removeClass("slim"), t(".sv-slim-icon").removeClass("fa-angle-double-right").addClass("fa-angle-double-left"), t(".fixed-sn .double-nav").css({ transition: "all .3s ease-in-out", "padding-left": "15.9rem" }), t(".fixed-sn main, .fixed-sn footer").css({ transition: "all .3s ease-in-out", "padding-left": "15rem" })) : (e.$menu.addClass("slim"), t(".sv-slim-icon").removeClass("fa-angle-double-left").addClass("fa-angle-double-right"), t(".fixed-sn .double-nav").css("padding-left", "4.6rem"), t(".fixed-sn main, .fixed-sn footer").css({ "padding-left": "3.7rem" })) })) } }, { key: "touchmoveEventHandler", value: function (t) { if ("touchmove" === t.type) { var e = i(t.touches, 1)[0], n = e.clientX; Date.now() - this.lastTouchVelocity.x.startTime > 20 && (this.lastTouchVelocity.x.startPosition = e.clientX, this.lastTouchVelocity.x.startTime = Date.now()), this.disableScrolling(), 0 !== this.$sidenavOverlay.length || this.buildSidenavOverlay(), "left" === this.options.edge && (n > this.options.menuWidth ? n = this.options.menuWidth : n < 0 && (n = 0)), this.translateSidenavX(n), this.updateOverlayOpacity(n) } } }, { key: "calculateTouchVelocityX", value: function () { return Math.abs(this.lastTouchVelocity.x.endPosition - this.lastTouchVelocity.x.startPosition) / Math.abs(this.lastTouchVelocity.x.endTime - this.lastTouchVelocity.x.startTime) } }, { key: "touchendEventHandler", value: function (t) { if ("touchend" === t.type) { var e = t.changedTouches[0]; this.lastTouchVelocity.x.endTime = Date.now(), this.lastTouchVelocity.x.endPosition = e.clientX; var n = this.calculateTouchVelocityX(), i = e.clientX, o = i - this.options.menuWidth, r = i - this.options.menuWidth / 2; o > 0 && (o = 0), r < 0 && (r = 0), "left" === this.options.edge ? (this.menuOut || n <= this.settings.menuLeftMinBorder || n < this.options.menuLeftMaxBorder ? (0 !== o && this.translateMenuX([0, o], "300"), this.showSidenavOverlay()) : (!this.menuOut || n > this.settings.menuLeftMinBorder) && (this.enableScrolling(), this.translateMenuX([-1 * this.options.menuWidth - this.options.menuVelocityOffset, o], "200"), this.hideSidenavOverlay()), this.$dragTarget.css({ width: "10px", right: "", left: 0 })) : this.menuOut && n >= this.settings.menuRightMinBorder || n > this.settings.menuRightMaxBorder ? (this.translateMenuX([0, r], "300"), this.showSidenavOverlay(), this.$dragTarget.css({ width: "50%", right: "", left: 0 })) : (!this.menuOut || n < this.settings.menuRightMinBorder) && (this.enableScrolling(), this.translateMenuX([this.options.menuWidth + this.options.menuVelocityOffset, r], "200"), this.hideSidenavOverlay(), this.$dragTarget.css({ width: "10px", right: 0, left: "" })) } } }, { key: "buildSidenavOverlay", value: function () { var e = this; !0 === this.options.showOverlay && (this.$sidenavOverlay = t('<div id="sidenav-overlay"></div>'), this.$sidenavOverlay.css("opacity", 0).on("click", (function () { return e.removeMenu() })), this.$body.append(this.$sidenavOverlay)) } }, { key: "disableScrolling", value: function () { var t = this.$body.innerWidth(); this.$body.css("overflow", "hidden"), this.$body.width(t) } }, { key: "enableScrolling", value: function () { this.$body.css({ overflow: "", width: "" }) } }, { key: "translateMenuX", value: function (t, e) { this.$menu.velocity({ translateX: t }, { duration: "string" == typeof e ? Number(e) : e, queue: !1, easing: this.options.easingOpen }) } }, { key: "translateSidenavX", value: function (t) { if ("left" === this.options.edge) { var e = t >= this.options.menuWidth / 2; this.menuOut = e, this.$menu.css("transform", "translateX(".concat(t - this.options.menuWidth, "px)")) } else { var n = t < window.innerWidth - this.options.menuWidth / 2; this.menuOut = n; var i = t - this.options.menuWidth / 2; i < 0 && (i = 0), this.$menu.css("transform", "translateX(".concat(i, "px)")) } } }, { key: "updateOverlayOpacity", value: function (t) { var e; e = "left" === this.options.edge ? t / this.options.menuWidth : Math.abs((t - window.innerWidth) / this.options.menuWidth), this.$sidenavOverlay.velocity({ opacity: e }, { duration: 10, queue: !1, easing: this.options.easingOpen }) } }, { key: "showSidenavOverlay", value: function () { !0 !== this.options.showOverlay || t("#sidenav-overlay").length || this.buildSidenavOverlay(), this.$sidenavOverlay.velocity({ opacity: 1 }, { duration: this.options.timeDurationOverlayOpen, queue: !1, easing: this.options.easingOpen }) } }, { key: "hideSidenavOverlay", value: function () { this.$sidenavOverlay.velocity({ opacity: 0 }, { duration: this.options.timeDurationOverlayClose, queue: !1, easing: this.options.easingOpen, complete: function () { t(this).remove() } }) } }]) && o(n.prototype, r), l && o(n, l), e }(); t.fn.sideNav = function (n) { t(this).each((function () { new e(t(this), n).init() })) }, t(".side-nav").on("touchmove", (function (t) { t.stopPropagation() }), !1) })) }, function (t, e, n) { "use strict"; n(10), n(16), n(17), n(12), n(8), n(7), n(18), n(19); function i(t) { return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) } jQuery((function () { $(".smooth-scroll").on("click", "a", (function (t) { t.preventDefault(); var e = $(this), n = e.attr("href"); if (void 0 !== i(n) && 0 === n.indexOf("#")) { var o = $(this).attr("data-offset") || 0; $("body,html").animate({ scrollTop: $(n).offset().top - o }, 700); var r = e.parentsUntil(".smooth-scroll").last().parent().attr("data-allow-hashes"); void 0 !== i(r) && !1 !== r && history.replaceState(null, null, n) } })) })) }, function (t, e) { function n(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } jQuery((function (t) { var e = function () { function e(n, i) { !function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }(this, e), this.defaults = { topSpacing: 0, zIndex: !1, stopper: "#footer", stickyClass: !1, startScrolling: "top", minWidth: !1 }, this.$element = n, this.options = this.assignOptions(i), this.$window = t(window), this.stopper = this.options.stopper, this.elementWidth = this.$element.outerWidth(), this.elementHeight = this.$element.outerHeight(!0), this.initialScrollTop = this.$element.offset().top, this.$placeholder = t('<div class="sticky-placeholder"></div>'), this.scrollTop = 0, this.setPushPoint(), this.setStopperPosition(), this.bindEvents() } var i, o, r; return i = e, (o = [{ key: "hasZIndex", value: function () { return "number" == typeof this.options.zIndex } }, { key: "hasStopper", value: function () { return t(this.options.stopper).length || "number" == typeof this.options.stopper } }, { key: "isScreenHeightEnough", value: function () { return this.$element.outerHeight() + this.options.topSpacing < this.$window.height() } }, { key: "assignOptions", value: function (e) { return t.extend({}, this.defaults, e) } }, { key: "setPushPoint", value: function () { "bottom" !== this.options.startScrolling || this.isScreenHeightEnough() ? this.$pushPoint = this.initialScrollTop - this.options.topSpacing : this.$pushPoint = this.initialScrollTop + this.$element.outerHeight(!0) - this.$window.height() } }, { key: "setStopperPosition", value: function () { "string" == typeof this.options.stopper ? this.stopPoint = t(this.stopper).offset().top - this.options.topSpacing : "number" == typeof this.options.stopper && (this.stopPoint = this.options.stopper) } }, { key: "bindEvents", value: function () { this.$window.on("resize", this.handleResize.bind(this)), this.$window.on("scroll", this.init.bind(this)) } }, { key: "handleResize", value: function () { var t = this.$element.parent(); this.elementWidth = t.width(), this.elementHeight = this.$element.outerHeight(!0), this.setPushPoint(), this.setStopperPosition(), this.init() } }, { key: "init", value: function () { if (this.options.minWidth && this.options.minWidth > this.$window.innerWidth()) return !1; "bottom" !== this.options.startScrolling || this.isScreenHeightEnough() ? this.scrollTop = this.$window.scrollTop() : this.scrollTop = this.$window.scrollTop() + this.$window.height(), this.$pushPoint < this.scrollTop ? (this.appendPlaceholder(), this.stickyStart()) : this.stickyEnd(), this.$window.scrollTop() > this.$pushPoint ? this.stop() : this.stickyEnd() } }, { key: "appendPlaceholder", value: function () { this.$element.after(this.$placeholder), this.$placeholder.css({ width: this.elementWidth, height: this.elementHeight }) } }, { key: "stickyStart", value: function () { this.options.stickyClass && this.$element.addClass(this.options.stickyClass), this.$element.get(0).style.overflow = "scroll"; var t = this.$element.get(0).scrollHeight; this.$element.get(0).style.overflow = "", this.$element.css({ position: "fixed", width: this.elementWidth, height: t }), "bottom" !== this.options.startScrolling || this.isScreenHeightEnough() ? this.$element.css({ top: this.options.topSpacing }) : this.$element.css({ bottom: 0, top: "" }), this.hasZIndex() && this.$element.css({ zIndex: this.options.zIndex }) } }, { key: "stickyEnd", value: function () { this.options.stickyClass && this.$element.removeClass(this.options.stickyClass), this.$placeholder.remove(), this.$element.css({ position: "static", top: this.options.topSpacing, width: "", height: "" }) } }, { key: "stop", value: function () { this.stopPoint < t(this.$element).offset().top - this.options.topSpacing + this.$element.outerHeight(!0) && this.$element.css({ position: "absolute", bottom: 0, top: "" }) } }]) && n(i.prototype, o), r && n(i, r), e }(); t.fn.sticky = function (n) { t(this).each((function () { new e(t(this), n).init() })) } })) }, function (t, e, n) { "use strict"; n(10), n(31), n(36), n(6), n(38), n(23), n(227), n(228), n(42), n(40); function i(t, e) { var n = Object.keys(t); if (Object.getOwnPropertySymbols) { var i = Object.getOwnPropertySymbols(t); e && (i = i.filter((function (e) { return Object.getOwnPropertyDescriptor(t, e).enumerable }))), n.push.apply(n, i) } return n } function o(t, e, n) { return e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t } function r(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } jQuery((function (t) { var e = function () { function e(n) { var i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; !function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }(this, e), this.$activator = n, this.$activates = t("#".concat(n.attr("data-activates"))), this.options = { inDuration: this.fallback().or(n.data("induration")).or(n.attr("data-in-duration")).or(i.inDuration).or(300).value(), outDuration: this.fallback().or(n.data("outduration")).or(n.attr("data-out-duration")).or(i.outDuration).or(225).value(), easingEffectIn: this.fallback().or(n.data("easingeffectin")).or(n.attr("data-easing-effect-in")).or(i.easingEffectIn).or("easeOutCubic").value(), easingEffectOut: this.fallback().or(n.data("easingeffectout")).or(n.attr("data-easing-effect-out")).or(i.easingEffectOut).or("swing").value(), constrainWidth: this.fallback().or(n.data("constrainwidth")).or(n.attr("data-constrain-width")).or(i.constrainWidth).or(!0).value(), hover: this.fallback().or(n.data("hover")).or(n.attr("data-hover")).or(i.hover).or(!1).value(), gutter: this.fallback().or(n.data("gutter")).or(n.attr("data-gutter")).or(i.gutter).or(0).value(), belowOrigin: this.fallback().or(n.data("beloworigin")).or(n.attr("data-below-origin")).or(i.belowOrigin).or(!1).value(), alignment: this.fallback().or(n.data("alignment")).or(n.attr("data-alignment")).or(i.alignment).or("left").value(), maxHeight: this.fallback().or(n.data("maxheight")).or(n.attr("data-max-height")).or(i.maxHeight).or("").value(), resetScroll: this.fallback().or(n.data("resetscroll")).or(n.attr("data-reset-scroll")).or(i.resetScroll).or(!0).value() }, this.isFocused = !1 } var n, l, a; return n = e, a = [{ key: "mdbDropdownAutoInit", value: function () { t(".dropdown-button").dropdown(), this.bindMultiLevelDropdownEvents(), this.bindBootstrapEvents() } }, { key: "bindMultiLevelDropdownEvents", value: function () { t(".multi-level-dropdown .dropdown-submenu > a").on("mouseenter", (function (e) { var n = t(this); t(".multi-level-dropdown .dropdown-submenu .dropdown-menu").removeClass("show"), n.next(".dropdown-menu").addClass("show"), e.stopPropagation() })), t(".multi-level-dropdown .dropdown").on("hidden.bs.dropdown", (function () { t(".multi-level-dropdown .dropdown-menu.show").removeClass("show") })) } }, { key: "bindBootstrapEvents", value: function () { var e = this; t(".dropdown, .dropup").on({ "show.bs.dropdown": function (n) { var i = t(n.target), o = e._getDropdownEffects(i); e._dropdownEffectStart(i, o.effectIn) }, "shown.bs.dropdown": function (n) { var i = t(n.target), o = e._getDropdownEffects(i); o.effectIn && o.effectOut && e._dropdownEffectEnd(i, o) }, "hide.bs.dropdown": function (n) { var i = window.matchMedia("(prefers-reduced-motion: reduce)").matches, o = t(n.target), r = e._getDropdownEffects(o); r.effectOut && (i || n.preventDefault(), e._dropdownEffectStart(o, r.effectOut), e._dropdownEffectEnd(o, r, (function () { o.removeClass("show"), o.find(".dropdown-menu").removeClass("show") }))) } }) } }, { key: "_getDropdownEffects", value: function (t) { var e = "fadeIn", n = "fadeOut", i = t.find(".dropdown-menu"), o = t.parents("ul.nav"); return o.height > 0 && (e = o.data("dropdown-in") || null, n = o.data("dropdown-out") || null), { effectIn: i.data("dropdown-in") || e, effectOut: i.data("dropdown-out") || n } } }, { key: "_dropdownEffectStart", value: function (t, e) { e && (t.addClass("dropdown-animating"), t.find(".dropdown-menu").addClass(["animated", e].join(" "))) } }, { key: "_dropdownEffectEnd", value: function (t, e, n) { t.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend", (function () { t.removeClass("dropdown-animating"), t.find(".dropdown-menu").removeClass(["animated", e.effectIn, e.effectOut].join(" ")), "function" == typeof n && n() })) } }], (l = [{ key: "returnPublicInterface", value: function () { return { $activator: this.$activator, $activates: this.$activates, updatePosition: this.updatePosition.bind(this) } } }, { key: "init", value: function () { this.appendDropdownToActivator(), this.options.hover ? this.handleHoverableDropdown() : this.handleClickableDropdown(), this.bindEvents() } }, { key: "appendDropdownToActivator", value: function () { this.$activator.after(this.$activates) } }, { key: "handleHoverableDropdown", value: function () { var e = this, n = !1; this.$activator.unbind("click.".concat(this.$activator.attr("id"))), this.$activator.on("mouseenter", (function () { !1 === n && (e.placeDropdown(), n = !0) })), this.$activator.on("mouseleave", (function (i) { var o = i.toElement || i.relatedTarget; t(o).closest(".dropdown-content").is(e.$activates) || (e.$activates.stop(!0, !0), e.hideDropdown(), n = !1) })), this.$activates.on("mouseleave", (function (i) { var o = i.toElement || i.relatedTarget; t(o).closest(".dropdown-button").is(e.$activator) || (e.$activates.stop(!0, !0), e.hideDropdown(), n = !1) })) } }, { key: "handleClickableDropdown", value: function () { var e = this; this.$activator.unbind("click.".concat(this.$activator.attr("id"))), this.$activator.bind("click.".concat(this.$activator.attr("id")), (function (n) { if (!e.isFocused) { var i = e.$activator.get(0) === n.currentTarget, o = e.$activator.hasClass("active"), r = 0 !== t(n.target).closest(".dropdown-content").length; !i || o || r ? o && (e.hideDropdown(), t(document).unbind("click.".concat(e.$activates.attr("id"), " touchstart.").concat(e.$activates.attr("id")))) : (n.preventDefault(), e.placeDropdown("click")), e.$activates.hasClass("active") && t(document).bind("click.".concat(e.$activates.attr("id"), " touchstart.").concat(e.$activates.attr("id")), (function (n) { !e.$activates.is(n.target) && !e.$activator.is(n.target) && !e.$activator.find(n.target).length && (e.hideDropdown(), t(document).unbind("click.".concat(e.$activates.attr("id"), " touchstart.").concat(e.$activates.attr("id")))) })) } })) } }, { key: "bindEvents", value: function () { var t = this; this.$activator.on("open", (function (e, n) { t.placeDropdown(n) })), this.$activator.on("close", this.hideDropdown.bind(this)) } }, { key: "placeDropdown", value: function (t) { "focus" === t && (this.isFocused = !0), this.$activates.addClass("active"), this.$activator.addClass("active"), !0 === this.options.constrainWidth ? this.$activates.css("width", this.$activator.outerWidth()) : this.$activates.css("white-space", "nowrap"), this.updatePosition(), this.showDropdown() } }, { key: "showDropdown", value: function () { this.$activates.stop(!0, !0).css("opacity", 0).slideDown({ queue: !1, duration: this.options.inDuration, easing: this.options.easingEffectIn, complete: function () { t(this).css("height", "") } }).animate(function (t) { for (var e = 1; e < arguments.length; e++) { var n = null != arguments[e] ? arguments[e] : {}; e % 2 ? i(n, !0).forEach((function (e) { o(t, e, n[e]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : i(n).forEach((function (e) { Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(n, e)) })) } return t }({ opacity: 1, scrollTop: 0 }, this.options.resetScroll), { queue: !1, duration: this.options.inDuration, easing: "easeOutSine" }) } }, { key: "hideDropdown", value: function () { var t = this; this.isFocused = !1, this.$activates.fadeOut({ durations: this.options.outDuration, easing: this.options.easingEffectOut }), this.$activates.removeClass("active"), this.$activator.removeClass("active"), setTimeout((function () { t.$activates.css("max-height", t.options.maxHeight) }), this.options.outDuration) } }, { key: "updatePosition", value: function () { var e = window.innerHeight, n = this.$activator.innerHeight(), i = this.$activator.offset().top - t(window).scrollTop(), o = this._getHorizontalAlignment(), r = 0, l = 0, a = this.$activator.parent(), s = this.options.belowOrigin ? n : 0, c = !a.is("body") && a.get(0).scrollHeight > a.get(0).clientHeight ? a.get(0).scrollTop : 0, u = i + this.$activates.innerHeight() > e, d = i + n - this.$activates.innerHeight() < 0; if (u && d) { var h = e - i - s; this.$activates.css("max-height", h) } else u && (s || (s += n), s -= this.$activates.innerHeight()); "left" === o ? (r = this.options.gutter, l = this.$activator.position().left + r) : "right" === o && (l = this.$activator.position().left + this.$activator.outerWidth() - this.$activates.outerWidth() + (r = -this.options.gutter)), this.$activates.css({ position: "absolute", top: this.$activator.position().top + s + c, left: l }) } }, { key: "_getHorizontalAlignment", value: function () { var e = this.$activator.offset().left; return e + this.$activates.innerWidth() > t(window).width() ? "right" : e - this.$activates.innerWidth() + this.$activator.innerWidth() < 0 ? "left" : this.options.alignment } }, { key: "fallback", value: function () { return { _value: void 0, or: function (t) { return void 0 !== t && void 0 === this._value && (this._value = t), this }, value: function () { return this._value } } } }]) && r(n.prototype, l), a && r(n, a), e }(); t.fn.scrollTo = function (e) { return this.scrollTop(this.scrollTop() - this.offset().top + t(e).offset().top), this }, t.fn.dropdown = function (t) { if (this.length > 1) { var n = []; return this.each((function () { var i = new e(this, t); i.init(), n.push(i.returnPublicInterface()) })), n } var i = new e(this, t); return i.init(), i.returnPublicInterface() }, t.dropdown = { initAnimations: function () { e.bindBootstrapEvents() } }, e.mdbDropdownAutoInit() })) }, function (t, e, n) { var i = n(0), o = n(2), r = n(33), l = n(47).f, a = n(9), s = o((function () { l(1) })); i({ target: "Object", stat: !0, forced: !a || s, sham: !a }, { getOwnPropertyDescriptor: function (t, e) { return l(r(t), e) } }) }, function (t, e, n) { var i = n(0), o = n(9), r = n(124), l = n(33), a = n(47), s = n(77); i({ target: "Object", stat: !0, sham: !o }, { getOwnPropertyDescriptors: function (t) { for (var e, n, i = l(t), o = a.f, c = r(i), u = {}, d = 0; c.length > d;)void 0 !== (n = o(i, e = c[d++])) && s(u, e, n); return u } }) }, function (t, e, n) { "use strict"; n(6), n(12); function i(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } jQuery((function (t) { var e = function () { function e(t) { var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; !function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }(this, e), this.$searchWrappers = t, this.options = { color: this.fallback().or(n.color).or("#000").value(), backgroundColor: this.fallback().or(n.backgroundColor).or("").value(), fontSize: this.fallback().or(n.fontSize).or(".9rem").value(), fontWeight: this.fallback().or(n.fontWeight).or("400").value(), borderRadius: this.fallback().or(n.borderRadius).or("").value(), borderColor: this.fallback().or(n.borderColor).or("").value(), margin: this.fallback().or(n.margin).or("").value() } } var n, o, r; return n = e, (o = [{ key: "init", value: function () { return this.bindSearchEvents(), this.$searchWrappers.css({ color: this.options.color, backgroundColor: this.options.backgroundColor, fontSize: this.options.fontSize, fontWeight: this.options.fontWeight, borderRadius: this.options.borderRadius, borderColor: this.options.borderColor, margin: this.options.margin }) } }, { key: "bindSearchEvents", value: function () { this.$searchWrappers.each((function () { var e = t(this).find("input").first(); e.on("keyup", (function () { e.closest("div[id]").find("a, li").each((function () { var n = t(this); n.html().toLowerCase().indexOf(e.val().toLowerCase()) > -1 ? n.css({ display: "" }) : n.css({ display: "none" }) })) })) })) } }, { key: "fallback", value: function () { return { _value: void 0, or: function (t) { return void 0 !== t && void 0 === this._value && (this._value = t), this }, value: function () { return this._value } } } }]) && i(n.prototype, o), r && i(n, r), e }(); t.fn.mdbDropSearch = function (t) { return new e(this, t).init() } })) }, function (t, e, n) { "use strict"; n(31), n(6), n(38), n(12), n(52), n(13), n(7), n(14), n(29), n(35), n(53), n(40); var i = n(106); function o(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } jQuery((function (t) { var e, n = function () { function e(t) { var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; !function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }(this, e), this.options = { destroy: this.fallback().or(n.destroy).or(!1).value(), validate: this.fallback().or(t.attr("data-validate")).or(n.validate).or(!1).value(), selectId: this.fallback().or(t.attr("data-select-id")).or(n.selectId).or(null).value(), defaultMaterialInput: this.fallback().or(t.attr("data-default-material-input")).or(n.defaultMaterialInput).or(!1).value(), fasClasses: this.fallback().or(t.attr("data-fas-classes")).or(n.fasClasses).or("").value(), farClasses: this.fallback().or(t.attr("data-far-classes")).or(n.farClasses).or("").value(), fabClasses: this.fallback().or(t.attr("data-fab-classes")).or(n.fabClasses).or("").value(), copyClassesOption: this.fallback().or(t.attr("data-copy-classes-option")).or(n.copyClassesOption).or(!1).value(), labels: { selectAll: this.fallback().or(t.attr("data-label-select-all")).or((n.labels || {}).selectAll).or("Select all").value(), optionsSelected: this.fallback().or(t.attr("data-label-options-selected")).or((n.labels || {}).optionsSelected).or("options selected").value(), validFeedback: this.fallback().or(t.attr("data-label-valid-feedback")).or((n.labels || {}).validFeedback).or("Ok").value(), invalidFeedback: this.fallback().or(t.attr("data-label-invalid-feedback")).or((n.labels || {}).invalidFeedback).or("Incorrect value").value(), noSearchResults: this.fallback().or(t.attr("data-label-no-search-results")).or((n.labels || {}).noSearchResults).or("No results").value() }, keyboardActiveClass: this.fallback().or(t.attr("data-keyboard-active-class")).or(n.keyboardActiveClass).or("heavy-rain-gradient").value(), placeholder: this.fallback().or(t.attr("data-placeholder")).or(n.placeholder).or(null).value(), visibleOptions: this.fallback().or(t.attr("data-visible-options")).or(n.visibleOptions).or(5).value(), maxSelectedOptions: this.fallback().or(t.attr("data-max-selected-options")).or(n.maxSelectedOptions).or(5).value(), showResetButton: this.fallback().or(t.attr("data-show-reset-button")).or(n.showResetButton).or(!1).value() }, this.uuid = t.attr("id") || this.options.selectId || this._randomUUID(), this.view = new i.a(t, { options: this.options, properties: { id: this.uuid } }), this.selectedOptionsIndexes = [], e.mutationObservers = [] } var n, r, l; return n = e, l = [{ key: "clearMutationObservers", value: function () { e.mutationObservers.forEach((function (t) { t.disconnect(), t.customStatus = "stopped" })) } }, { key: "mdbSelectAutoInit", value: function () { t(".mdb-select.mdb-select-autoinit").materialSelect() } }], (r = [{ key: "init", value: function () { var t = this; this.options.destroy ? this.view.destroy() : (this.isInitialized && this.view.destroy(), this.view.render(), this.view.selectPreselectedOptions((function (e) { return t._toggleSelectedValue(e) })), this.bindEvents()) } }, { key: "bindEvents", value: function () { var t = this; this.bindMutationObserverChange(), this.view.isEditable && this.view.isSearchable && this.view.bindResetButtonClick((function () { return t._resetSelection() })), this.view.bindAddNewOptionClick(), this.view.bindMaterialSelectFocus(), this.view.bindMaterialSelectClick(), this.view.bindMaterialSelectBlur(), this.view.bindMaterialOptionsListTouchstart(), this.view.bindMaterialSelectKeydown(), this.view.bindMaterialSelectDropdownToggle(), this.view.bindToggleAllClick((function (e) { return t._toggleSelectedValue(e) })), this.view.bindMaterialOptionMousedown(), this.view.bindMaterialOptionClick((function (e) { return t._toggleSelectedValue(e) })), !this.view.isMultiple && this.view.isSearchable && this.view.bindSingleMaterialOptionClick(), this.view.isSearchable && this.view.bindSearchInputKeyup(), this.view.bindHtmlClick(), this.view.bindMobileDevicesMousedown(), this.view.bindSaveBtnClick() } }, { key: "bindMutationObserverChange", value: function () { var t = new MutationObserver(this._onMutationObserverChange.bind(this)); t.observe(this.view.$nativeSelect.get(0), { attributes: !0, childList: !0, characterData: !0, subtree: !0 }), t.customId = this.uuid, t.customStatus = "observing", e.clearMutationObservers(), e.mutationObservers.push(t) } }, { key: "_onMutationObserverChange", value: function (e) { e.forEach((function (e) { var n = t(e.target).closest("select"); (!0 !== n.data("stop-refresh") && ("childList" === e.type || "attributes" === e.type && t(e.target).is("option")) || !0 === n.data("add-new-option")) && (n.removeData("add-new-option"), n.materialSelect({ destroy: !0 }), n.materialSelect()) })) } }, { key: "_resetSelection", value: function () { this.selectedOptionsIndexes = [], this.view.$nativeSelect.find("option").prop("selected", !1) } }, { key: "_toggleSelectedValue", value: function (t) { var e = this.selectedOptionsIndexes.indexOf(t), n = -1 !== e; return n ? this.selectedOptionsIndexes.splice(e, 1) : this.selectedOptionsIndexes.push(t), this.view.$nativeSelect.find("option").eq(t).prop("selected", !n), this._setValueToMaterialSelect(), !n } }, { key: "_setValueToMaterialSelect", value: function () { var t = this, e = "", n = this.selectedOptionsIndexes.length; this.selectedOptionsIndexes.forEach((function (n) { return (e += ", ".concat(t.view.$nativeSelect.find("option").eq(n).text())).length > 0 && e.replace(/,/g, " ").trim() && e.replace(/ +/g, " ").trim(), e })), 0 === (e = this.options.maxSelectedOptions >= 0 && n > this.options.maxSelectedOptions ? "".concat(n, " ").concat(this.options.labels.optionsSelected) : e.substring(2)).length && (e = this.view.$nativeSelect.find("option:disabled").eq(0).text()), e = e.replace(/ +/g, " ").trim(), this.view.$nativeSelect.siblings("".concat(this.options.defaultMaterialInput ? "input.multi-bs-select" : "input.select-dropdown")).val(e) } }, { key: "_randomUUID", value: function () { var t = (new Date).getTime(); return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (function (e) { var n = (t + 16 * Math.random()) % 16 | 0; return t = Math.floor(t / 16), ("x" === e ? n : 3 & n | 8).toString(16) })) } }, { key: "fallback", value: function () { return { _value: void 0, or: function (t) { return void 0 !== t && void 0 === this._value && (this._value = t), this }, value: function () { return this._value } } } }, { key: "isInitialized", get: function () { return Boolean(this.view.$nativeSelect.data("select-id")) && this.view.$nativeSelect.hasClass("initialized") } }]) && o(n.prototype, r), l && o(n, l), e }(); t.fn.materialSelect = function (e) { t(this).not(".browser-default").not(".custom-select").each((function () { new n(t(this), e).init() })) }, e = t.fn.val, t.fn.val = function (t) { if (!arguments.length) return e.call(this); if (!0 !== this.data("stop-refresh") && this.hasClass("mdb-select") && this.hasClass("initialized")) { n.clearMutationObservers(), this.materialSelect({ destroy: !0 }); var i = e.call(this, t); return this.materialSelect(), i } return e.call(this, t) }, n.mdbSelectAutoInit() })) }, function (t, e, n) {
"use strict"; (function (t) {
var e; n(10), n(16), n(17), n(38), n(8), n(32), n(28), n(13), n(130), n(155), n(7), n(29), n(18), n(40), n(19); function i(t) { return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*!
* clipboard.js v2.0.0
* https://zenorocha.github.io/clipboard.js
*
* Licensed MIT 漏 Zeno Rocha
*/e = function () { return function (t) { function e(i) { if (n[i]) return n[i].exports; var o = n[i] = { i: i, l: !1, exports: {} }; return t[i].call(o.exports, o, o.exports, e), o.l = !0, o.exports } var n = {}; return e.m = t, e.c = n, e.i = function (t) { return t }, e.d = function (t, n, i) { e.o(t, n) || Object.defineProperty(t, n, { configurable: !1, enumerable: !0, get: i }) }, e.n = function (t) { var n = t && t.__esModule ? function () { return t.default } : function () { return t }; return e.d(n, "a", n), n }, e.o = function (t, e) { return Object.prototype.hasOwnProperty.call(t, e) }, e.p = "", e(e.s = 3) }([function (t, e, n) { var o, r, l; r = [t, n(7)], o = function (t, e) { var n = function (t) { return t && t.__esModule ? t : { default: t } }(e), o = "function" == typeof Symbol && "symbol" == i(Symbol.iterator) ? function (t) { return i(t) } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : i(t) }, r = function () { function t(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } return function (e, n, i) { return n && t(e.prototype, n), i && t(e, i), e } }(), l = function () { function t(e) { (function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") })(this, t), this.resolveOptions(e), this.initSelection() } return r(t, [{ key: "resolveOptions", value: function () { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; this.action = t.action, this.container = t.container, this.emitter = t.emitter, this.target = t.target, this.text = t.text, this.trigger = t.trigger, this.selectedText = "" } }, { key: "initSelection", value: function () { this.text ? this.selectFake() : this.target && this.selectTarget() } }, { key: "selectFake", value: function () { var t = this, e = "rtl" == document.documentElement.getAttribute("dir"); this.removeFake(), this.fakeHandlerCallback = function () { return t.removeFake() }, this.fakeHandler = this.container.addEventListener("click", this.fakeHandlerCallback) || !0, this.fakeElem = document.createElement("textarea"), this.fakeElem.style.fontSize = "12pt", this.fakeElem.style.border = "0", this.fakeElem.style.padding = "0", this.fakeElem.style.margin = "0", this.fakeElem.style.position = "absolute", this.fakeElem.style[e ? "right" : "left"] = "-9999px"; var i = window.pageYOffset || document.documentElement.scrollTop; this.fakeElem.style.top = i + "px", this.fakeElem.setAttribute("readonly", ""), this.fakeElem.value = this.text, this.container.appendChild(this.fakeElem), this.selectedText = (0, n.default)(this.fakeElem), this.copyText() } }, { key: "removeFake", value: function () { this.fakeHandler && (this.container.removeEventListener("click", this.fakeHandlerCallback), this.fakeHandler = null, this.fakeHandlerCallback = null), this.fakeElem && (this.container.removeChild(this.fakeElem), this.fakeElem = null) } }, { key: "selectTarget", value: function () { this.selectedText = (0, n.default)(this.target), this.copyText() } }, { key: "copyText", value: function () { var t = void 0; try { t = document.execCommand(this.action) } catch (e) { t = !1 } this.handleResult(t) } }, { key: "handleResult", value: function (t) { this.emitter.emit(t ? "success" : "error", { action: this.action, text: this.selectedText, trigger: this.trigger, clearSelection: this.clearSelection.bind(this) }) } }, { key: "clearSelection", value: function () { this.trigger && this.trigger.focus(), window.getSelection().removeAllRanges() } }, { key: "destroy", value: function () { this.removeFake() } }, { key: "action", set: function () { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "copy"; if (this._action = t, "copy" !== this._action && "cut" !== this._action) throw new Error('Invalid "action" value, use either "copy" or "cut"') }, get: function () { return this._action } }, { key: "target", set: function (t) { if (void 0 !== t) { if (!t || "object" !== (void 0 === t ? "undefined" : o(t)) || 1 !== t.nodeType) throw new Error('Invalid "target" value, use a valid Element'); if ("copy" === this.action && t.hasAttribute("disabled")) throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute'); if ("cut" === this.action && (t.hasAttribute("readonly") || t.hasAttribute("disabled"))) throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes'); this._target = t } }, get: function () { return this._target } }]), t }(); t.exports = l }, void 0 !== (l = "function" == typeof o ? o.apply(e, r) : o) && (t.exports = l) }, function (t, e, n) { var i = n(6), o = n(5); t.exports = function (t, e, n) { if (!t && !e && !n) throw new Error("Missing required arguments"); if (!i.string(e)) throw new TypeError("Second argument must be a String"); if (!i.fn(n)) throw new TypeError("Third argument must be a Function"); if (i.node(t)) return function (t, e, n) { return t.addEventListener(e, n), { destroy: function () { t.removeEventListener(e, n) } } }(t, e, n); if (i.nodeList(t)) return function (t, e, n) { return Array.prototype.forEach.call(t, (function (t) { t.addEventListener(e, n) })), { destroy: function () { Array.prototype.forEach.call(t, (function (t) { t.removeEventListener(e, n) })) } } }(t, e, n); if (i.string(t)) return function (t, e, n) { return o(document.body, t, e, n) }(t, e, n); throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList") } }, function (t, e) { function n() { } n.prototype = { on: function (t, e, n) { var i = this.e || (this.e = {}); return (i[t] || (i[t] = [])).push({ fn: e, ctx: n }), this }, once: function (t, e, n) { function i() { o.off(t, i), e.apply(n, arguments) } var o = this; return i._ = e, this.on(t, i, n) }, emit: function (t) { for (var e = [].slice.call(arguments, 1), n = ((this.e || (this.e = {}))[t] || []).slice(), i = 0, o = n.length; i < o; i++)n[i].fn.apply(n[i].ctx, e); return this }, off: function (t, e) { var n = this.e || (this.e = {}), i = n[t], o = []; if (i && e) for (var r = 0, l = i.length; r < l; r++)i[r].fn !== e && i[r].fn._ !== e && o.push(i[r]); return o.length ? n[t] = o : delete n[t], this } }, t.exports = n }, function (t, e, n) { var o, r, l; r = [t, n(0), n(2), n(1)], void 0 !== (l = "function" == typeof (o = function (t, e, n, o) { function r(t) { return t && t.__esModule ? t : { default: t } } function l(t, e) { var n = "data-clipboard-" + t; if (e.hasAttribute(n)) return e.getAttribute(n) } var a = r(e), s = r(n), c = r(o), u = "function" == typeof Symbol && "symbol" == i(Symbol.iterator) ? function (t) { return i(t) } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : i(t) }, d = function () { function t(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } return function (e, n, i) { return n && t(e.prototype, n), i && t(e, i), e } }(), h = function (t) { function e(t, n) { !function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }(this, e); var o = function (t, e) { if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return !e || "object" != i(e) && "function" != typeof e ? t : e }(this, (e.__proto__ || Object.getPrototypeOf(e)).call(this)); return o.resolveOptions(n), o.listenClick(t), o } return function (t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function, not " + i(e)); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, enumerable: !1, writable: !0, configurable: !0 } }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e) }(e, t), d(e, [{ key: "resolveOptions", value: function () { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; this.action = "function" == typeof t.action ? t.action : this.defaultAction, this.target = "function" == typeof t.target ? t.target : this.defaultTarget, this.text = "function" == typeof t.text ? t.text : this.defaultText, this.container = "object" === u(t.container) ? t.container : document.body } }, { key: "listenClick", value: function (t) { var e = this; this.listener = (0, c.default)(t, "click", (function (t) { return e.onClick(t) })) } }, { key: "onClick", value: function (t) { var e = t.delegateTarget || t.currentTarget; this.clipboardAction && (this.clipboardAction = null), this.clipboardAction = new a.default({ action: this.action(e), target: this.target(e), text: this.text(e), container: this.container, trigger: e, emitter: this }) } }, { key: "defaultAction", value: function (t) { return l("action", t) } }, { key: "defaultTarget", value: function (t) { var e = l("target", t); if (e) return document.querySelector(e) } }, { key: "defaultText", value: function (t) { return l("text", t) } }, { key: "destroy", value: function () { this.listener.destroy(), this.clipboardAction && (this.clipboardAction.destroy(), this.clipboardAction = null) } }], [{ key: "isSupported", value: function () { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ["copy", "cut"], e = "string" == typeof t ? [t] : t, n = !!document.queryCommandSupported; return e.forEach((function (t) { n = n && !!document.queryCommandSupported(t) })), n } }]), e }(s.default); t.exports = h }) ? o.apply(e, r) : o) && (t.exports = l) }, function (t, e) { var n = 9; if ("undefined" != typeof Element && !Element.prototype.matches) { var i = Element.prototype; i.matches = i.matchesSelector || i.mozMatchesSelector || i.msMatchesSelector || i.oMatchesSelector || i.webkitMatchesSelector } t.exports = function (t, e) { for (; t && t.nodeType !== n;) { if ("function" == typeof t.matches && t.matches(e)) return t; t = t.parentNode } } }, function (t, e, n) { function i(t, e, n, i, r) { var l = o.apply(this, arguments); return t.addEventListener(n, l, r), { destroy: function () { t.removeEventListener(n, l, r) } } } function o(t, e, n, i) { return function (n) { n.delegateTarget = r(n.target, e), n.delegateTarget && i.call(t, n) } } var r = n(4); t.exports = function (t, e, n, o, r) { return "function" == typeof t.addEventListener ? i.apply(null, arguments) : "function" == typeof n ? i.bind(null, document).apply(null, arguments) : ("string" == typeof t && (t = document.querySelectorAll(t)), Array.prototype.map.call(t, (function (t) { return i(t, e, n, o, r) }))) } }, function (t, e) { e.node = function (t) { return void 0 !== t && t instanceof HTMLElement && 1 === t.nodeType }, e.nodeList = function (t) { var n = Object.prototype.toString.call(t); return void 0 !== t && ("[object NodeList]" === n || "[object HTMLCollection]" === n) && "length" in t && (0 === t.length || e.node(t[0])) }, e.string = function (t) { return "string" == typeof t || t instanceof String }, e.fn = function (t) { return "[object Function]" === Object.prototype.toString.call(t) } }, function (t, e) { t.exports = function (t) { var e; if ("SELECT" === t.nodeName) t.focus(), e = t.value; else if ("INPUT" === t.nodeName || "TEXTAREA" === t.nodeName) { var n = t.hasAttribute("readonly"); n || t.setAttribute("readonly", ""), t.select(), t.setSelectionRange(0, t.value.length), n || t.removeAttribute("readonly"), e = t.value } else { t.hasAttribute("contenteditable") && t.focus(); var i = window.getSelection(), o = document.createRange(); o.selectNodeContents(t), i.removeAllRanges(), i.addRange(o), e = i.toString() } return e } }]) }, "object" == ("undefined" == typeof exports ? "undefined" : i(exports)) && "object" == i(t) ? t.exports = e() : "function" == typeof define && n(24) ? define([], e) : "object" == ("undefined" == typeof exports ? "undefined" : i(exports)) ? exports.ClipboardJS = e() : window.ClipboardJS = e()
}).call(this, n(27)(t))
}, function (t, e, n) { "use strict"; (function (t, e) { n(31), n(36), n(38), n(12), n(23), n(32), n(28), n(60), n(52), n(13), n(93), n(42), n(7), n(46), n(44), n(62), n(14), n(29), n(43), n(35), n(30), n(40); var i = "undefined" != typeof window ? window : "undefined" != typeof WorkerGlobalScope && self instanceof WorkerGlobalScope ? self : {}, o = function () { var t = /\blang(?:uage)?-([\w-]+)\b/i, e = 0, n = i.Prism = { manual: i.Prism && i.Prism.manual, disableWorkerMessageHandler: i.Prism && i.Prism.disableWorkerMessageHandler, util: { encode: function (t) { return t instanceof o ? new o(t.type, n.util.encode(t.content), t.alias) : "Array" === n.util.type(t) ? t.map(n.util.encode) : t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/\u00a0/g, " ") }, type: function (t) { return Object.prototype.toString.call(t).match(/\[object (\w+)\]/)[1] }, objId: function (t) { return t.__id || Object.defineProperty(t, "__id", { value: ++e }), t.__id }, clone: function (t, e) { var i = n.util.type(t); switch (e = e || {}, i) { case "Object": if (e[n.util.objId(t)]) return e[n.util.objId(t)]; r = {}; for (var o in e[n.util.objId(t)] = r, t) t.hasOwnProperty(o) && (r[o] = n.util.clone(t[o], e)); return r; case "Array": if (e[n.util.objId(t)]) return e[n.util.objId(t)]; var r = []; return e[n.util.objId(t)] = r, t.forEach((function (t, i) { r[i] = n.util.clone(t, e) })), r }return t } }, languages: { extend: function (t, e) { var i = n.util.clone(n.languages[t]); for (var o in e) i[o] = e[o]; return i }, insertBefore: function (t, e, i, o) { var r = (o = o || n.languages)[t]; if (2 == arguments.length) { for (var l in i = arguments[1]) i.hasOwnProperty(l) && (r[l] = i[l]); return r } var a = {}; for (var s in r) if (r.hasOwnProperty(s)) { if (s == e) for (var l in i) i.hasOwnProperty(l) && (a[l] = i[l]); a[s] = r[s] } return n.languages.DFS(n.languages, (function (e, n) { n === o[t] && e != t && (this[e] = a) })), o[t] = a }, DFS: function (t, e, i, o) { for (var r in o = o || {}, t) t.hasOwnProperty(r) && (e.call(t, r, t[r], i || r), "Object" !== n.util.type(t[r]) || o[n.util.objId(t[r])] ? "Array" !== n.util.type(t[r]) || o[n.util.objId(t[r])] || (o[n.util.objId(t[r])] = !0, n.languages.DFS(t[r], e, r, o)) : (o[n.util.objId(t[r])] = !0, n.languages.DFS(t[r], e, null, o))) } }, plugins: {}, highlightAll: function (t, e) { n.highlightAllUnder(document, t, e) }, highlightAllUnder: function (t, e, i) { var o = { callback: i, selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code' }; n.hooks.run("before-highlightall", o); for (var r, l = o.elements || t.querySelectorAll(o.selector), a = 0; r = l[a++];)n.highlightElement(r, !0 === e, o.callback) }, highlightElement: function (e, o, r) { for (var l, a, s = e; s && !t.test(s.className);)s = s.parentNode; s && (l = (s.className.match(t) || [, ""])[1].toLowerCase(), a = n.languages[l]), e.className = e.className.replace(t, "").replace(/\s+/g, " ") + " language-" + l, e.parentNode && (s = e.parentNode, /pre/i.test(s.nodeName) && (s.className = s.className.replace(t, "").replace(/\s+/g, " ") + " language-" + l)); var c = { element: e, language: l, grammar: a, code: e.textContent }; if (n.hooks.run("before-sanity-check", c), !c.code || !c.grammar) return c.code && (n.hooks.run("before-highlight", c), c.element.textContent = c.code, n.hooks.run("after-highlight", c)), void n.hooks.run("complete", c); if (n.hooks.run("before-highlight", c), o && i.Worker) { var u = new Worker(n.filename); u.onmessage = function (t) { c.highlightedCode = t.data, n.hooks.run("before-insert", c), c.element.innerHTML = c.highlightedCode, r && r.call(c.element), n.hooks.run("after-highlight", c), n.hooks.run("complete", c) }, u.postMessage(JSON.stringify({ language: c.language, code: c.code, immediateClose: !0 })) } else c.highlightedCode = n.highlight(c.code, c.grammar, c.language), n.hooks.run("before-insert", c), c.element.innerHTML = c.highlightedCode, r && r.call(e), n.hooks.run("after-highlight", c), n.hooks.run("complete", c) }, highlight: function (t, e, i) { var r = { code: t, grammar: e, language: i }; return n.hooks.run("before-tokenize", r), r.tokens = n.tokenize(r.code, r.grammar), n.hooks.run("after-tokenize", r), o.stringify(n.util.encode(r.tokens), r.language) }, matchGrammar: function (t, e, i, o, r, l, a) { var s = n.Token; for (var c in i) if (i.hasOwnProperty(c) && i[c]) { if (c == a) return; var u = i[c]; u = "Array" === n.util.type(u) ? u : [u]; for (var d = 0; d < u.length; ++d) { var h = u[d], f = h.inside, p = !!h.lookbehind, m = !!h.greedy, g = 0, v = h.alias; if (m && !h.pattern.global) { var y = h.pattern.toString().match(/[imuy]*$/)[0]; h.pattern = RegExp(h.pattern.source, y + "g") } h = h.pattern || h; for (var b = o, w = r; b < e.length; w += e[b].length, ++b) { var x = e[b]; if (e.length > t.length) return; if (!(x instanceof s)) { if (m && b != e.length - 1) { if (h.lastIndex = w, !(T = h.exec(t))) break; for (var k = T.index + (p ? T[1].length : 0), S = T.index + T[0].length, C = b, M = w, _ = e.length; C < _ && (M < S || !e[C].type && !e[C - 1].greedy); ++C)k >= (M += e[C].length) && (++b, w = M); if (e[b] instanceof s) continue; E = C - b, x = t.slice(w, M), T.index -= w } else { h.lastIndex = 0; var T = h.exec(x), E = 1 } if (T) { p && (g = T[1] ? T[1].length : 0); S = (k = T.index + g) + (T = T[0].slice(g)).length; var A = x.slice(0, k), O = x.slice(S), P = [b, E]; A && (++b, w += A.length, P.push(A)); var I = new s(c, f ? n.tokenize(T, f) : T, v, T, m); if (P.push(I), O && P.push(O), Array.prototype.splice.apply(e, P), 1 != E && n.matchGrammar(t, e, i, b, w, !0, c), l) break } else if (l) break } } } } }, tokenize: function (t, e, i) { var o = [t], r = e.rest; if (r) { for (var l in r) e[l] = r[l]; delete e.rest } return n.matchGrammar(t, o, e, 0, 0, !1), o }, hooks: { all: {}, add: function (t, e) { var i = n.hooks.all; i[t] = i[t] || [], i[t].push(e) }, run: function (t, e) { var i = n.hooks.all[t]; if (i && i.length) for (var o, r = 0; o = i[r++];)o(e) } } }, o = n.Token = function (t, e, n, i, o) { this.type = t, this.content = e, this.alias = n, this.length = 0 | (i || "").length, this.greedy = !!o }; if (o.stringify = function (t, e, i) { if ("string" == typeof t) return t; if ("Array" === n.util.type(t)) return t.map((function (n) { return o.stringify(n, e, t) })).join(""); var r = { type: t.type, content: o.stringify(t.content, e, i), tag: "span", classes: ["token", t.type], attributes: {}, language: e, parent: i }; if (t.alias) { var l = "Array" === n.util.type(t.alias) ? t.alias : [t.alias]; Array.prototype.push.apply(r.classes, l) } n.hooks.run("wrap", r); var a = Object.keys(r.attributes).map((function (t) { return t + '="' + (r.attributes[t] || "").replace(/"/g, "&quot;") + '"' })).join(" "); return "<" + r.tag + ' class="' + r.classes.join(" ") + '"' + (a ? " " + a : "") + ">" + r.content + "</" + r.tag + ">" }, !i.document) return i.addEventListener ? (n.disableWorkerMessageHandler || i.addEventListener("message", (function (t) { var e = JSON.parse(t.data), o = e.language, r = e.code, l = e.immediateClose; i.postMessage(n.highlight(r, n.languages[o], o)), l && i.close() }), !1), i.Prism) : i.Prism; var r = document.currentScript || [].slice.call(document.getElementsByTagName("script")).pop(); return r && (n.filename = r.src, n.manual || r.hasAttribute("data-manual") || ("loading" !== document.readyState ? window.requestAnimationFrame ? window.requestAnimationFrame(n.highlightAll) : window.setTimeout(n.highlightAll, 16) : document.addEventListener("DOMContentLoaded", n.highlightAll))), i.Prism }(); t.exports && (t.exports = o), void 0 !== e && (e.Prism = o), o.languages.markup = { comment: /<!--[\s\S]*?-->/, prolog: /<\?[\s\S]+?\?>/, doctype: /<!DOCTYPE[\s\S]+?>/i, cdata: /<!\[CDATA\[[\s\S]*?]]>/i, tag: { pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i, greedy: !0, inside: { tag: { pattern: /^<\/?[^\s>\/]+/i, inside: { punctuation: /^<\/?/, namespace: /^[^\s>\/:]+:/ } }, "attr-value": { pattern: /=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i, inside: { punctuation: [/^=/, { pattern: /(^|[^\\])["']/, lookbehind: !0 }] } }, punctuation: /\/?>/, "attr-name": { pattern: /[^\s>\/]+/, inside: { namespace: /^[^\s>\/:]+:/ } } } }, entity: /&#?[\da-z]{1,8};/i }, o.languages.markup.tag.inside["attr-value"].inside.entity = o.languages.markup.entity, o.hooks.add("wrap", (function (t) { "entity" === t.type && (t.attributes.title = t.content.replace(/&amp;/, "&")) })), o.languages.xml = o.languages.markup, o.languages.html = o.languages.markup, o.languages.mathml = o.languages.markup, o.languages.svg = o.languages.markup, o.languages.css = { comment: /\/\*[\s\S]*?\*\//, atrule: { pattern: /@[\w-]+?.*?(?:;|(?=\s*\{))/i, inside: { rule: /@[\w-]+/ } }, url: /url\((?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i, selector: /[^{}\s][^{};]*?(?=\s*\{)/, string: { pattern: /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, property: /[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i, important: /\B!important\b/i, function: /[-a-z0-9]+(?=\()/i, punctuation: /[(){};:]/ }, o.languages.css.atrule.inside.rest = o.languages.css, o.languages.markup && (o.languages.insertBefore("markup", "tag", { style: { pattern: /(<style[\s\S]*?>)[\s\S]*?(?=<\/style>)/i, lookbehind: !0, inside: o.languages.css, alias: "language-css", greedy: !0 } }), o.languages.insertBefore("inside", "attr-value", { "style-attr": { pattern: /\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i, inside: { "attr-name": { pattern: /^\s*style/i, inside: o.languages.markup.tag.inside }, punctuation: /^\s*=\s*['"]|['"]\s*$/, "attr-value": { pattern: /.+/i, inside: o.languages.css } }, alias: "language-css" } }, o.languages.markup.tag)), o.languages.clike = { comment: [{ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, lookbehind: !0 }, { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }], string: { pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, "class-name": { pattern: /((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i, lookbehind: !0, inside: { punctuation: /[.\\]/ } }, keyword: /\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/, boolean: /\b(?:true|false)\b/, function: /[a-z0-9_]+(?=\()/i, number: /\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i, operator: /--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/, punctuation: /[{}[\];(),.:]/ }, o.languages.javascript = o.languages.extend("clike", { keyword: /\b(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/, number: /\b(?:0[xX][\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+|NaN|Infinity)\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][+-]?\d+)?/, function: /[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*\()/i, operator: /-[-=]?|\+[+=]?|!=?=?|<<?=?|>>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/ }), o.languages.insertBefore("javascript", "keyword", { regex: { pattern: /((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[[^\]\r\n]+]|\\.|[^/\\\[\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})\]]))/, lookbehind: !0, greedy: !0 }, "function-variable": { pattern: /[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=\s*(?:function\b|(?:\([^()]*\)|[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/i, alias: "function" }, constant: /\b[A-Z][A-Z\d_]*\b/ }), o.languages.insertBefore("javascript", "string", { "template-string": { pattern: /`(?:\\[\s\S]|\${[^}]+}|[^\\`])*`/, greedy: !0, inside: { interpolation: { pattern: /\${[^}]+}/, inside: { "interpolation-punctuation": { pattern: /^\${|}$/, alias: "punctuation" }, rest: null } }, string: /[\s\S]+/ } } }), o.languages.javascript["template-string"].inside.interpolation.inside.rest = o.languages.javascript, o.languages.markup && o.languages.insertBefore("markup", "tag", { script: { pattern: /(<script[\s\S]*?>)[\s\S]*?(?=<\/script>)/i, lookbehind: !0, inside: o.languages.javascript, alias: "language-javascript", greedy: !0 } }), o.languages.js = o.languages.javascript, o.languages["markup-templating"] = {}, Object.defineProperties(o.languages["markup-templating"], { buildPlaceholders: { value: function (t, e, n, i) { t.language === e && (t.tokenStack = [], t.code = t.code.replace(n, (function (n) { if ("function" == typeof i && !i(n)) return n; for (var o = t.tokenStack.length; -1 !== t.code.indexOf("___" + e.toUpperCase() + o + "___");)++o; return t.tokenStack[o] = n, "___" + e.toUpperCase() + o + "___" })), t.grammar = o.languages.markup) } }, tokenizePlaceholders: { value: function (t, e) { if (t.language === e && t.tokenStack) { t.grammar = o.languages[e]; var n = 0, i = Object.keys(t.tokenStack); !function r(l) { if (!(n >= i.length)) for (var a = 0; a < l.length; a++) { var s = l[a]; if ("string" == typeof s || s.content && "string" == typeof s.content) { var c = i[n], u = t.tokenStack[c], d = "string" == typeof s ? s : s.content, h = d.indexOf("___" + e.toUpperCase() + c + "___"); if (h > -1) { ++n; var f, p = d.substring(0, h), m = new o.Token(e, o.tokenize(u, t.grammar, e), "language-" + e, u), g = d.substring(h + ("___" + e.toUpperCase() + c + "___").length); if (p || g ? r(f = [p, m, g].filter((function (t) { return !!t }))) : f = m, "string" == typeof s ? Array.prototype.splice.apply(l, [a, 1].concat(f)) : s.content = f, n >= i.length) break } } else s.content && "string" != typeof s.content && r(s.content) } }(t.tokens) } } } }), o.languages.json = { property: /"(?:\\.|[^\\"\r\n])*"(?=\s*:)/i, string: { pattern: /"(?:\\.|[^\\"\r\n])*"(?!\s*:)/, greedy: !0 }, number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][+-]?\d+)?/, punctuation: /[{}[\]);,]/, operator: /:/g, boolean: /\b(?:true|false)\b/i, null: /\bnull\b/i }, o.languages.jsonp = o.languages.json, function (t) { t.languages.php = t.languages.extend("clike", { keyword: /\b(?:and|or|xor|array|as|break|case|cfunction|class|const|continue|declare|default|die|do|else|elseif|enddeclare|endfor|endforeach|endif|endswitch|endwhile|extends|for|foreach|function|include|include_once|global|if|new|return|static|switch|use|require|require_once|var|while|abstract|interface|public|implements|private|protected|parent|throw|null|echo|print|trait|namespace|final|yield|goto|instanceof|finally|try|catch)\b/i, constant: /\b[A-Z0-9_]{2,}\b/, comment: { pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/, lookbehind: !0 } }), t.languages.insertBefore("php", "string", { "shell-comment": { pattern: /(^|[^\\])#.*/, lookbehind: !0, alias: "comment" } }), t.languages.insertBefore("php", "keyword", { delimiter: { pattern: /\?>|<\?(?:php|=)?/i, alias: "important" }, variable: /\$+(?:\w+\b|(?={))/i, package: { pattern: /(\\|namespace\s+|use\s+)[\w\\]+/, lookbehind: !0, inside: { punctuation: /\\/ } } }), t.languages.insertBefore("php", "operator", { property: { pattern: /(->)[\w]+/, lookbehind: !0 } }), t.languages.insertBefore("php", "string", { "nowdoc-string": { pattern: /<<<'([^']+)'(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\1;/, greedy: !0, alias: "string", inside: { delimiter: { pattern: /^<<<'[^']+'|[a-z_]\w*;$/i, alias: "symbol", inside: { punctuation: /^<<<'?|[';]$/ } } } }, "heredoc-string": { pattern: /<<<(?:"([^"]+)"(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\1;|([a-z_]\w*)(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\2;)/i, greedy: !0, alias: "string", inside: { delimiter: { pattern: /^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i, alias: "symbol", inside: { punctuation: /^<<<"?|[";]$/ } }, interpolation: null } }, "single-quoted-string": { pattern: /'(?:\\[\s\S]|[^\\'])*'/, greedy: !0, alias: "string" }, "double-quoted-string": { pattern: /"(?:\\[\s\S]|[^\\"])*"/, greedy: !0, alias: "string", inside: { interpolation: null } } }), delete t.languages.php.string; var e = { pattern: /{\$(?:{(?:{[^{}]+}|[^{}]+)}|[^{}])+}|(^|[^\\{])\$+(?:\w+(?:\[.+?]|->\w+)*)/, lookbehind: !0, inside: { rest: t.languages.php } }; t.languages.php["heredoc-string"].inside.interpolation = e, t.languages.php["double-quoted-string"].inside.interpolation = e, t.hooks.add("before-tokenize", (function (e) { if (/(?:<\?php|<\?)/gi.test(e.code)) { t.languages["markup-templating"].buildPlaceholders(e, "php", /(?:<\?php|<\?)[\s\S]*?(?:\?>|$)/gi) } })), t.hooks.add("after-tokenize", (function (e) { t.languages["markup-templating"].tokenizePlaceholders(e, "php") })) }(o), o.languages.typescript = o.languages.extend("javascript", { keyword: /\b(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield|module|declare|constructor|namespace|abstract|require|type)\b/, builtin: /\b(?:string|Function|any|number|boolean|Array|symbol|console)\b/ }), o.languages.ts = o.languages.typescript, o.languages.scss = o.languages.extend("css", { comment: { pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/, lookbehind: !0 }, atrule: { pattern: /@[\w-]+(?:\([^()]+\)|[^(])*?(?=\s+[{;])/, inside: { rule: /@[\w-]+/ } }, url: /(?:[-a-z]+-)*url(?=\()/i, selector: { pattern: /(?=\S)[^@;{}()]?(?:[^@;{}()]|&|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}]+[:{][^}]+))/m, inside: { parent: { pattern: /&/, alias: "important" }, placeholder: /%[-\w]+/, variable: /\$[-\w]+|#\{\$[-\w]+\}/ } } }), o.languages.insertBefore("scss", "atrule", { keyword: [/@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i, { pattern: /( +)(?:from|through)(?= )/, lookbehind: !0 }] }), o.languages.scss.property = { pattern: /(?:[\w-]|\$[-\w]+|#\{\$[-\w]+\})+(?=\s*:)/i, inside: { variable: /\$[-\w]+|#\{\$[-\w]+\}/ } }, o.languages.insertBefore("scss", "important", { variable: /\$[-\w]+|#\{\$[-\w]+\}/ }), o.languages.insertBefore("scss", "function", { placeholder: { pattern: /%[-\w]+/, alias: "selector" }, statement: { pattern: /\B!(?:default|optional)\b/i, alias: "keyword" }, boolean: /\b(?:true|false)\b/, null: /\bnull\b/, operator: { pattern: /(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/, lookbehind: !0 } }), o.languages.scss.atrule.inside.rest = o.languages.scss, function () { if ("undefined" != typeof self && self.Prism && self.document) { var t = /\n(?!$)/g, e = function (e) { var i = n(e)["white-space"]; if ("pre-wrap" === i || "pre-line" === i) { var o = e.querySelector("code"), r = e.querySelector(".line-numbers-rows"), l = e.querySelector(".line-numbers-sizer"), a = o.textContent.split(t); l || ((l = document.createElement("span")).className = "line-numbers-sizer", o.appendChild(l)), l.style.display = "block", a.forEach((function (t, e) { l.textContent = t || "\n"; var n = l.getBoundingClientRect().height; r.children[e].style.height = n + "px" })), l.textContent = "", l.style.display = "none" } }, n = function (t) { return t ? window.getComputedStyle ? getComputedStyle(t) : t.currentStyle || null : null }; window.addEventListener("resize", (function () { Array.prototype.forEach.call(document.querySelectorAll("pre.line-numbers"), e) })), o.hooks.add("complete", (function (n) { if (n.code) { var i = n.element.parentNode, r = /\s*\bline-numbers\b\s*/; if (i && /pre/i.test(i.nodeName) && (r.test(i.className) || r.test(n.element.className)) && !n.element.querySelector(".line-numbers-rows")) { r.test(n.element.className) && (n.element.className = n.element.className.replace(r, " ")), r.test(i.className) || (i.className += " line-numbers"); var l, a = n.code.match(t), s = a ? a.length + 1 : 1, c = new Array(s + 1); c = c.join("<span></span>"), (l = document.createElement("span")).setAttribute("aria-hidden", "true"), l.className = "line-numbers-rows", l.innerHTML = c, i.hasAttribute("data-start") && (i.style.counterReset = "linenumber " + (parseInt(i.getAttribute("data-start"), 10) - 1)), n.element.appendChild(l), e(i), o.hooks.run("line-numbers", n) } } })), o.hooks.add("line-numbers", (function (t) { t.plugins = t.plugins || {}, t.plugins.lineNumbers = !0 })), o.plugins.lineNumbers = { getLine: function (t, e) { if ("PRE" === t.tagName && t.classList.contains("line-numbers")) { var n = t.querySelector(".line-numbers-rows"), i = parseInt(t.getAttribute("data-start"), 10) || 1, o = i + (n.children.length - 1); e < i && (e = i), e > o && (e = o); var r = e - i; return n.children[r] } } } } }(), function () { if ("undefined" != typeof self && self.Prism && self.document) { var t = [], e = {}, n = function () { }; o.plugins.toolbar = {}; var i = o.plugins.toolbar.registerButton = function (n, i) { var o; o = "function" == typeof i ? i : function (t) { var e; return "function" == typeof i.onClick ? ((e = document.createElement("button")).type = "button", e.addEventListener("click", (function () { i.onClick.call(this, t) }))) : "string" == typeof i.url ? (e = document.createElement("a")).href = i.url : e = document.createElement("span"), e.textContent = i.text, e }, t.push(e[n] = o) }, r = o.plugins.toolbar.hook = function (i) { var o = i.element.parentNode; if (o && /pre/i.test(o.nodeName) && !o.parentNode.classList.contains("code-toolbar")) { var r = document.createElement("div"); r.classList.add("code-toolbar"), o.parentNode.insertBefore(r, o), r.appendChild(o); var l = document.createElement("div"); l.classList.add("toolbar"), document.body.hasAttribute("data-toolbar-order") && (t = document.body.getAttribute("data-toolbar-order").split(",").map((function (t) { return e[t] || n }))), t.forEach((function (t) { var e = t(i); if (e) { var n = document.createElement("div"); n.classList.add("toolbar-item"), n.appendChild(e), l.appendChild(n) } })), r.appendChild(l) } }; i("label", (function (t) { var e = t.element.parentNode; if (e && /pre/i.test(e.nodeName) && e.hasAttribute("data-label")) { var n, i, o = e.getAttribute("data-label"); try { i = document.querySelector("template#" + o) } catch (t) { } return i ? n = i.content : (e.hasAttribute("data-url") ? (n = document.createElement("a")).href = e.getAttribute("data-url") : n = document.createElement("span"), n.textContent = o), n } })), o.hooks.add("complete", r) } }(), function () { if (("undefined" == typeof self || self.Prism) && self.document && Function.prototype.bind) { var t, e, n = { gradient: { create: (t = {}, e = function (e) { if (t[e]) return t[e]; var n = e.match(/^(\b|\B-[a-z]{1,10}-)((?:repeating-)?(?:linear|radial)-gradient)/), i = n && n[1], o = n && n[2], r = e.replace(/^(?:\b|\B-[a-z]{1,10}-)(?:repeating-)?(?:linear|radial)-gradient\(|\)$/g, "").split(/\s*,\s*/); return o.indexOf("linear") >= 0 ? t[e] = function (t, e, n) { var i = "180deg"; return /^(?:-?\d*\.?\d+(?:deg|rad)|to\b|top|right|bottom|left)/.test(n[0]) && (i = n.shift()).indexOf("to ") < 0 && (i.indexOf("top") >= 0 ? i = i.indexOf("left") >= 0 ? "to bottom right" : i.indexOf("right") >= 0 ? "to bottom left" : "to bottom" : i.indexOf("bottom") >= 0 ? i = i.indexOf("left") >= 0 ? "to top right" : i.indexOf("right") >= 0 ? "to top left" : "to top" : i.indexOf("left") >= 0 ? i = "to right" : i.indexOf("right") >= 0 ? i = "to left" : t && (i.indexOf("deg") >= 0 ? i = 90 - parseFloat(i) + "deg" : i.indexOf("rad") >= 0 && (i = Math.PI / 2 - parseFloat(i) + "rad"))), e + "(" + i + "," + n.join(",") + ")" }(i, o, r) : o.indexOf("radial") >= 0 ? t[e] = function (t, e, n) { if (n[0].indexOf("at") < 0) { var i = "center", o = "ellipse", r = "farthest-corner"; if (/\bcenter|top|right|bottom|left\b|^\d+/.test(n[0]) && (i = n.shift().replace(/\s*-?\d+(?:rad|deg)\s*/, "")), /\bcircle|ellipse|closest|farthest|contain|cover\b/.test(n[0])) { var l = n.shift().split(/\s+/); !l[0] || "circle" !== l[0] && "ellipse" !== l[0] || (o = l.shift()), l[0] && (r = l.shift()), "cover" === r ? r = "farthest-corner" : "contain" === r && (r = "clothest-side") } return e + "(" + o + " " + r + " at " + i + "," + n.join(",") + ")" } return e + "(" + n.join(",") + ")" }(0, o, r) : t[e] = o + "(" + r.join(",") + ")" }, function () { new o.plugins.Previewer("gradient", (function (t) { return this.firstChild.style.backgroundImage = "", this.firstChild.style.backgroundImage = e(t), !!this.firstChild.style.backgroundImage }), "*", (function () { this._elt.innerHTML = "<div></div>" })) }), tokens: { gradient: { pattern: /(?:\b|\B-[a-z]{1,10}-)(?:repeating-)?(?:linear|radial)-gradient\((?:(?:rgb|hsl)a?\(.+?\)|[^\)])+\)/gi, inside: { function: /[\w-]+(?=\()/, punctuation: /[(),]/ } } }, languages: { css: !0, less: !0, sass: [{ lang: "sass", before: "punctuation", inside: "inside", root: o.languages.sass && o.languages.sass["variable-line"] }, { lang: "sass", before: "punctuation", inside: "inside", root: o.languages.sass && o.languages.sass["property-line"] }], scss: !0, stylus: [{ lang: "stylus", before: "func", inside: "rest", root: o.languages.stylus && o.languages.stylus["property-declaration"].inside }, { lang: "stylus", before: "func", inside: "rest", root: o.languages.stylus && o.languages.stylus["variable-declaration"].inside }] } }, angle: { create: function () { new o.plugins.Previewer("angle", (function (t) { var e, n, i = parseFloat(t), o = t.match(/[a-z]+$/i); if (!i || !o) return !1; switch (o = o[0]) { case "deg": e = 360; break; case "grad": e = 400; break; case "rad": e = 2 * Math.PI; break; case "turn": e = 1 }return n = 100 * i / e, n %= 100, this[(i < 0 ? "set" : "remove") + "Attribute"]("data-negative", ""), this.querySelector("circle").style.strokeDasharray = Math.abs(n) + ",500", !0 }), "*", (function () { this._elt.innerHTML = '<svg viewBox="0 0 64 64"><circle r="16" cy="32" cx="32"></circle></svg>' })) }, tokens: { angle: /(?:\b|\B-|(?=\B\.))\d*\.?\d+(?:deg|g?rad|turn)\b/i }, languages: { css: !0, less: !0, markup: { lang: "markup", before: "punctuation", inside: "inside", root: o.languages.markup && o.languages.markup.tag.inside["attr-value"] }, sass: [{ lang: "sass", inside: "inside", root: o.languages.sass && o.languages.sass["property-line"] }, { lang: "sass", before: "operator", inside: "inside", root: o.languages.sass && o.languages.sass["variable-line"] }], scss: !0, stylus: [{ lang: "stylus", before: "func", inside: "rest", root: o.languages.stylus && o.languages.stylus["property-declaration"].inside }, { lang: "stylus", before: "func", inside: "rest", root: o.languages.stylus && o.languages.stylus["variable-declaration"].inside }] } }, color: { create: function () { new o.plugins.Previewer("color", (function (t) { return this.style.backgroundColor = "", this.style.backgroundColor = t, !!this.style.backgroundColor })) }, tokens: { color: { pattern: /\B#(?:[0-9a-f]{3}){1,2}\b|\b(?:rgb|hsl)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:rgb|hsl)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B|\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGray|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGray|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGray|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gray|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGray|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGray|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGray|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i, inside: { function: /[\w-]+(?=\()/, punctuation: /[(),]/ } } }, languages: { css: !0, less: !0, markup: { lang: "markup", before: "punctuation", inside: "inside", root: o.languages.markup && o.languages.markup.tag.inside["attr-value"] }, sass: [{ lang: "sass", before: "punctuation", inside: "inside", root: o.languages.sass && o.languages.sass["variable-line"] }, { lang: "sass", inside: "inside", root: o.languages.sass && o.languages.sass["property-line"] }], scss: !0, stylus: [{ lang: "stylus", before: "hexcode", inside: "rest", root: o.languages.stylus && o.languages.stylus["property-declaration"].inside }, { lang: "stylus", before: "hexcode", inside: "rest", root: o.languages.stylus && o.languages.stylus["variable-declaration"].inside }] } }, easing: { create: function () { new o.plugins.Previewer("easing", (function (t) { var e = (t = { linear: "0,0,1,1", ease: ".25,.1,.25,1", "ease-in": ".42,0,1,1", "ease-out": "0,0,.58,1", "ease-in-out": ".42,0,.58,1" }[t] || t).match(/-?\d*\.?\d+/g); if (4 === e.length) { e = e.map((function (t, e) { return 100 * (e % 2 ? 1 - t : t) })), this.querySelector("path").setAttribute("d", "M0,100 C" + e[0] + "," + e[1] + ", " + e[2] + "," + e[3] + ", 100,0"); var n = this.querySelectorAll("line"); return n[0].setAttribute("x2", e[0]), n[0].setAttribute("y2", e[1]), n[1].setAttribute("x2", e[2]), n[1].setAttribute("y2", e[3]), !0 } return !1 }), "*", (function () { this._elt.innerHTML = '<svg viewBox="-20 -20 140 140" width="100" height="100"><defs><marker id="prism-previewer-easing-marker" viewBox="0 0 4 4" refX="2" refY="2" markerUnits="strokeWidth"><circle cx="2" cy="2" r="1.5" /></marker></defs><path d="M0,100 C20,50, 40,30, 100,0" /><line x1="0" y1="100" x2="20" y2="50" marker-start="url(' + location.href + '#prism-previewer-easing-marker)" marker-end="url(' + location.href + '#prism-previewer-easing-marker)" /><line x1="100" y1="0" x2="40" y2="30" marker-start="url(' + location.href + '#prism-previewer-easing-marker)" marker-end="url(' + location.href + '#prism-previewer-easing-marker)" /></svg>' })) }, tokens: { easing: { pattern: /\bcubic-bezier\((?:-?\d*\.?\d+,\s*){3}-?\d*\.?\d+\)\B|\b(?:linear|ease(?:-in)?(?:-out)?)(?=\s|[;}]|$)/i, inside: { function: /[\w-]+(?=\()/, punctuation: /[(),]/ } } }, languages: { css: !0, less: !0, sass: [{ lang: "sass", inside: "inside", before: "punctuation", root: o.languages.sass && o.languages.sass["variable-line"] }, { lang: "sass", inside: "inside", root: o.languages.sass && o.languages.sass["property-line"] }], scss: !0, stylus: [{ lang: "stylus", before: "hexcode", inside: "rest", root: o.languages.stylus && o.languages.stylus["property-declaration"].inside }, { lang: "stylus", before: "hexcode", inside: "rest", root: o.languages.stylus && o.languages.stylus["variable-declaration"].inside }] } }, time: { create: function () { new o.plugins.Previewer("time", (function (t) { var e = parseFloat(t), n = t.match(/[a-z]+$/i); return !(!e || !n) && (n = n[0], this.querySelector("circle").style.animationDuration = 2 * e + n, !0) }), "*", (function () { this._elt.innerHTML = '<svg viewBox="0 0 64 64"><circle r="16" cy="32" cx="32"></circle></svg>' })) }, tokens: { time: /(?:\b|\B-|(?=\B\.))\d*\.?\d+m?s\b/i }, languages: { css: !0, less: !0, markup: { lang: "markup", before: "punctuation", inside: "inside", root: o.languages.markup && o.languages.markup.tag.inside["attr-value"] }, sass: [{ lang: "sass", inside: "inside", root: o.languages.sass && o.languages.sass["property-line"] }, { lang: "sass", before: "operator", inside: "inside", root: o.languages.sass && o.languages.sass["variable-line"] }], scss: !0, stylus: [{ lang: "stylus", before: "hexcode", inside: "rest", root: o.languages.stylus && o.languages.stylus["property-declaration"].inside }, { lang: "stylus", before: "hexcode", inside: "rest", root: o.languages.stylus && o.languages.stylus["variable-declaration"].inside }] } } }, i = /(?:^|\s)token(?=$|\s)/, r = /(?:^|\s)active(?=$|\s)/g, l = /(?:^|\s)flipped(?=$|\s)/g, a = function t(e, n, i, r) { this._elt = null, this._type = e, this._clsRegexp = RegExp("(?:^|\\s)" + e + "(?=$|\\s)"), this._token = null, this.updater = n, this._mouseout = this.mouseout.bind(this), this.initializer = r; var l = this; i || (i = ["*"]), "Array" !== o.util.type(i) && (i = [i]), i.forEach((function (e) { "string" != typeof e && (e = e.lang), t.byLanguages[e] || (t.byLanguages[e] = []), t.byLanguages[e].indexOf(l) < 0 && t.byLanguages[e].push(l) })), t.byType[e] = this }; for (var s in a.prototype.init = function () { this._elt || (this._elt = document.createElement("div"), this._elt.className = "prism-previewer prism-previewer-" + this._type, document.body.appendChild(this._elt), this.initializer && this.initializer()) }, a.prototype.isDisabled = function (t) { do { if (t.hasAttribute && t.hasAttribute("data-previewers")) return -1 === (t.getAttribute("data-previewers") || "").split(/\s+/).indexOf(this._type) } while (t = t.parentNode); return !1 }, a.prototype.check = function (t) { if (!i.test(t.className) || !this.isDisabled(t)) { do { if (i.test(t.className) && this._clsRegexp.test(t.className)) break } while (t = t.parentNode); t && t !== this._token && (this._token = t, this.show()) } }, a.prototype.mouseout = function () { this._token.removeEventListener("mouseout", this._mouseout, !1), this._token = null, this.hide() }, a.prototype.show = function () { if (this._elt || this.init(), this._token) if (this.updater.call(this._elt, this._token.textContent)) { this._token.addEventListener("mouseout", this._mouseout, !1); var t = function (t) { var e = 0, n = 0, i = t; if (i.parentNode) { do { e += i.offsetLeft, n += i.offsetTop } while ((i = i.offsetParent) && i.nodeType < 9); i = t; do { e -= i.scrollLeft, n -= i.scrollTop } while ((i = i.parentNode) && !/body/i.test(i.nodeName)) } return { top: n, right: innerWidth - e - t.offsetWidth, bottom: innerHeight - n - t.offsetHeight, left: e } }(this._token); this._elt.className += " active", t.top - this._elt.offsetHeight > 0 ? (this._elt.className = this._elt.className.replace(l, ""), this._elt.style.top = t.top + "px", this._elt.style.bottom = "") : (this._elt.className += " flipped", this._elt.style.bottom = t.bottom + "px", this._elt.style.top = ""), this._elt.style.left = t.left + Math.min(200, this._token.offsetWidth / 2) + "px" } else this.hide() }, a.prototype.hide = function () { this._elt.className = this._elt.className.replace(r, "") }, a.byLanguages = {}, a.byType = {}, a.initEvents = function (t, e) { var n = []; a.byLanguages[e] && (n = n.concat(a.byLanguages[e])), a.byLanguages["*"] && (n = n.concat(a.byLanguages["*"])), t.addEventListener("mouseover", (function (t) { var e = t.target; n.forEach((function (t) { t.check(e) })) }), !1) }, o.plugins.Previewer = a, o.hooks.add("before-highlight", (function (t) { for (var e in n) { var i = n[e].languages; if (t.language && i[t.language] && !i[t.language].initialized) { var r = i[t.language]; "Array" !== o.util.type(r) && (r = [r]), r.forEach((function (r) { var l, a, s, c; !0 === r ? (l = "important", a = t.language, r = t.language) : (l = r.before || "important", a = r.inside || r.lang, s = r.root || o.languages, c = r.skip, r = t.language), !c && o.languages[r] && (o.languages.insertBefore(a, l, n[e].tokens, s), t.grammar = o.languages[r], i[t.language] = { initialized: !0 }) })) } } })), o.hooks.add("after-highlight", (function (t) { (a.byLanguages["*"] || a.byLanguages[t.language]) && a.initEvents(t.element, t.language) })), n) n[s].create() } }(), function () { var e = Object.assign || function (t, e) { for (var n in e) e.hasOwnProperty(n) && (t[n] = e[n]); return t }; function n(t) { this.defaults = e({}, t) } function i(t) { for (var e = 0, n = 0; n < t.length; ++n)t.charCodeAt(n) == "\t".charCodeAt(0) && (e += 3); return t.length + e } n.prototype = { setDefaults: function (t) { this.defaults = e(this.defaults, t) }, normalize: function (t, n) { for (var i in n = e(this.defaults, n)) { var o = i.replace(/-(\w)/g, (function (t, e) { return e.toUpperCase() })); "normalize" !== i && "setDefaults" !== o && n[i] && this[o] && (t = this[o].call(this, t, n[i])) } return t }, leftTrim: function (t) { return t.replace(/^\s+/, "") }, rightTrim: function (t) { return t.replace(/\s+$/, "") }, tabsToSpaces: function (t, e) { return e = 0 | e || 4, t.replace(/\t/g, new Array(++e).join(" ")) }, spacesToTabs: function (t, e) { return e = 0 | e || 4, t.replace(new RegExp(" {" + e + "}", "g"), "\t") }, removeTrailing: function (t) { return t.replace(/\s*?$/gm, "") }, removeInitialLineFeed: function (t) { return t.replace(/^(?:\r?\n|\r)/, "") }, removeIndent: function (t) { var e = t.match(/^[^\S\n\r]*(?=\S)/gm); return e && e[0].length ? (e.sort((function (t, e) { return t.length - e.length })), e[0].length ? t.replace(new RegExp("^" + e[0], "gm"), "") : t) : t }, indent: function (t, e) { return t.replace(/^[^\S\n\r]*(?=\S)/gm, new Array(++e).join("\t") + "$&") }, breakLines: function (t, e) { e = !0 === e ? 80 : 0 | e || 80; for (var n = t.split("\n"), o = 0; o < n.length; ++o)if (!(i(n[o]) <= e)) { for (var r = n[o].split(/(\s+)/g), l = 0, a = 0; a < r.length; ++a) { var s = i(r[a]); (l += s) > e && (r[a] = "\n" + r[a], l = s) } n[o] = r.join("") } return n.join("\n") } }, t.exports && (t.exports = n), void 0 !== o && (o.plugins.NormalizeWhitespace = new n({ "remove-trailing": !0, "remove-indent": !0, "left-trim": !0, "right-trim": !0 }), o.hooks.add("before-sanity-check", (function (t) { var e = o.plugins.NormalizeWhitespace; if (!t.settings || !1 !== t.settings["whitespace-normalization"]) if (t.element && t.element.parentNode || !t.code) { var n = t.element.parentNode, i = /\bno-whitespace-normalization\b/; if (t.code && n && "pre" === n.nodeName.toLowerCase() && !i.test(n.className) && !i.test(t.element.className)) { for (var r = n.childNodes, l = "", a = "", s = !1, c = 0; c < r.length; ++c) { var u = r[c]; u == t.element ? s = !0 : "#text" === u.nodeName && (s ? a += u.nodeValue : l += u.nodeValue, n.removeChild(u), --c) } if (t.element.children.length && o.plugins.KeepMarkup) { var d = l + t.element.innerHTML + a; t.element.innerHTML = e.normalize(d, t.settings), t.code = t.element.textContent } else t.code = l + t.code + a, t.code = e.normalize(t.code, t.settings) } } else t.code = e.normalize(t.code, t.settings) }))) }(), function () { if ("undefined" != typeof self && self.Prism && self.document) if (o.plugins.toolbar) { var t = window.ClipboardJS || void 0; t || (t = n(233)); var e = []; if (!t) { var i = document.createElement("script"), r = document.querySelector("head"); i.onload = function () { if (t = window.ClipboardJS) for (; e.length;)e.pop()() }, i.src = "https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js", r.appendChild(i) } o.plugins.toolbar.registerButton("copy-to-clipboard", (function (n) { var i = document.createElement("button"); return i.innerHTML = '<i class="fa fa-copy mr-1"></i> Copy code', i.classList = "btn-copy-code btn btn-outline-grey btn-sm px-2 waves-effect", t ? o() : e.push(o), i; function o() { var e = new t(i, { text: function () { return n.code } }); e.on("success", (function () { i.textContent = "Copied!", r() })), e.on("error", (function () { i.textContent = "Press Ctrl+C to copy", r() })) } function r() { setTimeout((function () { i.innerHTML = '<i class="fa fa-copy mr-1"></i> Copy code' }), 5e3) } })) } else console.warn("Copy to Clipboard plugin loaded before Toolbar plugin.") }() }).call(this, n(27)(t), n(91)) }, function (t, e) { t.exports = clipboard }, function (t, e) { var n; $((function (t) { t('.documentation a[href="#"]').click((function (t) { t.preventDefault() })) })), "mdbootstrap.com" !== (n = window.location.host) && new EventSource("/Home/Demo"), jQuery(document).ready((function (t) { t("form#signup").on("submit", (function (e) { e.preventDefault(), t.ajax({ type: "POST", dataType: "json", url: mdw_search_object.ajaxurl, data: { action: "ajaxregister", name: t("#regname").val(), username: t("#regusername").val(), password: t("#regpassword").val(), email: t("#regemail").val(), security: t("#regsecurity").val() }, success: function (e) { t("#ajax-response").text(e.message), 1 == e.loggedin && (document.location.href = "https://mdbootstrap.com/registration-completed/") }, error: function (t) { console.log(t) } }) })) })) }, function (t, e, n) { var i = n(0), o = n(108), r = n(63); i({ target: "Array", proto: !0 }, { fill: o }), r("fill") }, function (t, e, n) {
"use strict"; n.r(e), function (t) {
var e; n(10), n(16), n(17), n(6), n(12), n(8), n(23), n(32), n(13), n(59), n(7), n(29), n(18), n(19); function i(t) { return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*!
* pickadate.js v3.6.3, 2019/04/03
* By Amsul, http://amsul.ca
* Hosted on http://amsul.github.io/pickadate.js
* Licensed under MIT
*/e = function (t) { var e = t(window), n = t(document), i = t(document.documentElement), o = null != document.documentElement.style.transition; function r(e, i, c, d) { if (!e) return r; var h = !1, f = { id: e.id || "P" + Math.abs(~~(Math.random() * new Date)), handlingOpen: !1 }, p = c ? t.extend(!0, {}, c.defaults, d) : d || {}, m = t.extend({}, r.klasses(), p.klass), g = t(e), v = 2, y = function () { return this.start() }, b = y.prototype = { constructor: y, $node: g, start: function () { return f && f.start ? b : (f.methods = {}, f.start = !0, f.open = !1, f.type = e.type, e.autofocus = e == u(), e.readOnly = !p.editable, e.id = e.id || f.id, "text" != e.type && (e.type = "text"), b.component = new c(b, p), b.$root = t('<div class="' + m.picker + '" id="' + e.id + '_root" />'), s(b.$root[0], "hidden", !0), b.$holder = t(w()).appendTo(b.$root), x(), p.formatSubmit && (!0 === p.hiddenName ? (v = e.name, e.name = "") : v = (v = ["string" == typeof p.hiddenPrefix ? p.hiddenPrefix : "", "string" == typeof p.hiddenSuffix ? p.hiddenSuffix : "_submit"])[0] + e.name + v[1], b._hidden = t('<input type=hidden name="' + v + '"' + (g.data("value") || e.value ? ' value="' + b.get("select", p.formatSubmit) + '"' : "") + ">")[0], g.on("change." + f.id, (function () { b._hidden.value = e.value ? b.get("select", p.formatSubmit) : "" }))), g.data(i, b).addClass(m.input).val(g.data("value") ? b.get("select", p.format) : e.value).on("focus." + f.id + " click." + f.id, (r = function (t) { t.preventDefault(), b.open() }, l = 100, function () { var t = this, e = arguments, n = function () { d = null, a || r.apply(t, e) }, i = a && !d; clearTimeout(d), d = setTimeout(n, l), i && r.apply(t, e) })).on("mousedown", (function () { f.handlingOpen = !0, t(document).on("mouseup", (function e() { setTimeout((function () { t(document).off("mouseup", e), f.handlingOpen = !1 }), 0) })) })), p.editable || g.on("keydown." + f.id, S), s(e, { haspopup: !0, expanded: !1, readonly: !1, owns: e.id + "_root" }), p.containerHidden ? t(p.containerHidden).append(b._hidden) : g.after(b._hidden), p.container ? t(p.container).append(b.$root) : g.after(b.$root), b.on({ start: b.component.onStart, render: b.component.onRender, stop: b.component.onStop, open: b.component.onOpen, close: b.component.onClose, set: b.component.onSet }).on({ start: p.onStart, render: p.onRender, stop: p.onStop, open: p.onOpen, close: p.onClose, set: p.onSet }), (n = b.$holder[0]).currentStyle ? o = n.currentStyle.position : window.getComputedStyle && (o = getComputedStyle(n).position), h = "fixed" == o, e.autofocus && b.open(), b.trigger("start").trigger("render")); var n, o, r, l, a, d, v }, render: function (e) { return e ? (b.$holder = t(w()), x(), b.$root.html(b.$holder)) : b.$root.find("." + m.box).html(b.component.nodes(f.open)), b.trigger("render") }, stop: function () { return f.start ? (b.close(), b._hidden && b._hidden.parentNode.removeChild(b._hidden), b.$root.remove(), g.removeClass(m.input).removeData(i), setTimeout((function () { g.off("." + f.id) }), 0), e.type = f.type, e.readOnly = !1, b.trigger("stop"), f.methods = {}, f.start = !1, b) : b }, open: function (i) { return v++, f.open ? b : v < 4 && p.editable ? b : (setTimeout((function () { b.$root.addClass(m.opened), s(b.$root[0], "hidden", !1) }), 0), !1 !== i && (f.open = !0, h && t("body").css("overflow", "hidden").css("padding-right", "+=" + l()), h && o ? b.$holder.find("." + m.frame).one("transitionend", (function () { b.$holder.eq(0).focus() })) : setTimeout((function () { b.$holder.eq(0).focus() }), 0), n.on("click." + f.id + " focusin." + f.id, (function (t) { if (!f.handlingOpen) { var n = a(t, e); t.isSimulated || n == e || n == document || 3 == t.which || b.close(n === b.$holder[0]) } })).on("keydown." + f.id, (function (n) { var i = n.keyCode, o = b.component.key[i], l = a(n, e); 27 == i ? b.close(!0) : l != b.$holder[0] || !o && 13 != i ? t.contains(b.$root[0], l) && 13 == i && (n.preventDefault(), l.click()) : (n.preventDefault(), o ? r._.trigger(b.component.key.go, b, [r._.trigger(o)]) : b.$root.find("." + m.highlighted).hasClass(m.disabled) || (b.set("select", b.component.item.highlight), p.closeOnSelect && b.close(!0))) }))), b.trigger("open")) }, close: function (i) { return v = 0, f.open ? (i && (p.editable ? e.click() : (b.$holder.off("focus.toOpen").focus(), setTimeout((function () { b.$holder.on("focus.toOpen", k) }), 0))), g.removeClass(m.active), s(e, "expanded", !1), setTimeout((function () { b.$root.removeClass(m.opened + " " + m.focused), s(b.$root[0], "hidden", !0) }), 0), h && t("body").css("overflow", "").css("padding-right", "-=" + l()), document.activeElement.blur(), n.off("." + f.id), f.open = !1, b.trigger("close")) : b }, clear: function (t) { return document.activeElement.blur(), b.set("clear", null, t) }, set: function (e, n, i) { var o, r, l = t.isPlainObject(e), a = l ? e : {}; if (i = l && t.isPlainObject(n) ? n : i || {}, e) { for (o in l || (a[e] = n), a) r = a[o], o in b.component.item && (void 0 === r && (r = null), b.component.set(o, r, i)), "select" != o && "clear" != o || !p.updateInput || g.val("clear" == o ? "" : b.get(o, p.format)).trigger("change"); b.render() } return i.muted ? b : b.trigger("set", a) }, get: function (t, n) { if (null != f[t = t || "value"]) return f[t]; if ("valueSubmit" == t) { if (b._hidden) return b._hidden.value; t = "value" } if ("value" == t) return e.value; if (t in b.component.item) { if ("string" == typeof n) { var i = b.component.get(t); return i ? r._.trigger(b.component.formats.toString, b.component, [n, i]) : "" } return b.component.get(t) } }, on: function (e, n, i) { var o, r, l = t.isPlainObject(e), a = l ? e : {}; if (e) for (o in l || (a[e] = n), a) r = a[o], i && (o = "_" + o), f.methods[o] = f.methods[o] || [], f.methods[o].push(r); return b }, off: function () { var t, e, n = arguments; for (t = 0, namesCount = n.length; t < namesCount; t += 1)(e = n[t]) in f.methods && delete f.methods[e]; return b }, trigger: function (t, e) { var n = function (t) { var n = f.methods[t]; n && n.map((function (t) { r._.trigger(t, b, [e]) })) }; return n("_" + t), n(t), b } }; function w() { return r._.node("div", r._.node("div", r._.node("div", r._.node("div", b.component.nodes(f.open), m.box), m.wrap), m.frame), m.holder, 'tabindex="-1"') } function x() { b.$holder.on({ keydown: S, "focus.toOpen": k, blur: function () { g.removeClass(m.target) }, focusin: function (t) { b.$root.removeClass(m.focused), t.stopPropagation() }, "mousedown click": function (n) { (function (e) { return t(e).hasClass("picker__select--year") || t(e).hasClass("picker__select--month") })(n.target) || n.preventDefault(); var i = a(n, e); i != b.$holder[0] && (n.stopPropagation(), "mousedown" != n.type || t(i).is("input, select, textarea, button, option") || (n.preventDefault(), b.$holder.eq(0).focus())) } }).on("click", "[data-pick], [data-nav], [data-clear], [data-close]", (function () { var e = t(this), n = e.data(), i = e.hasClass(m.navDisabled) || e.hasClass(m.disabled), o = u(); o = o && (o.type || o.href ? o : null), (i || o && !t.contains(b.$root[0], o)) && b.$holder.eq(0).focus(), !i && n.nav ? b.set("highlight", b.component.item.highlight, { nav: n.nav }) : !i && "pick" in n ? (b.set("select", n.pick), p.closeOnSelect && b.close(!0)) : n.clear ? (b.clear(), p.closeOnClear && b.close(!0)) : n.close && b.close(!0) })) } function k(t) { t.stopPropagation(), g.addClass(m.target), b.$root.addClass(m.focused), b.open() } function S(t) { var e = t.keyCode, n = /^(8|46)$/.test(e); if (27 == e) return b.close(!0), !1; (32 == e || n || !f.open && b.component.key[e]) && (t.preventDefault(), t.stopPropagation(), n ? b.clear().close() : b.open()) } return new y } function l() { if (i.height() <= e.height()) return 0; var n = t('<div style="visibility:hidden;width:100px" />').appendTo("body"), o = n[0].offsetWidth; n.css("overflow", "scroll"); var r = t('<div style="width:100%" />').appendTo(n)[0].offsetWidth; return n.remove(), o - r } function a(t, e) { var n = []; return t.path && (n = t.path), t.originalEvent && t.originalEvent.path && (n = t.originalEvent.path), n && n.length > 0 ? e && n.indexOf(e) >= 0 ? e : n[0] : t.target } function s(e, n, i) { if (t.isPlainObject(n)) for (var o in n) c(e, o, n[o]); else c(e, n, i) } function c(t, e, n) { t.setAttribute(("role" == e ? "" : "aria-") + e, n) } function u() { try { return document.activeElement } catch (t) { } } return r.klasses = function (t) { return { picker: t = t || "picker", opened: t + "--opened", focused: t + "--focused", input: t + "__input", active: t + "__input--active", target: t + "__input--target", holder: t + "__holder", frame: t + "__frame", wrap: t + "__wrap", box: t + "__box" } }, r._ = { group: function (t) { for (var e, n = "", i = r._.trigger(t.min, t); i <= r._.trigger(t.max, t, [i]); i += t.i)e = r._.trigger(t.item, t, [i]), n += r._.node(t.node, e[0], e[1], e[2]); return n }, node: function (e, n, i, o) { return n ? "<" + e + (i = i ? ' class="' + i + '"' : "") + (o = o ? " " + o : "") + ">" + (n = t.isArray(n) ? n.join("") : n) + "</" + e + ">" : "" }, lead: function (t) { return (t < 10 ? "0" : "") + t }, trigger: function (t, e, n) { return "function" == typeof t ? t.apply(e, n || []) : t }, digits: function (t) { return /\d/.test(t[1]) ? 2 : 1 }, isDate: function (t) { return {}.toString.call(t).indexOf("Date") > -1 && this.isInteger(t.getDate()) }, isInteger: function (t) { return {}.toString.call(t).indexOf("Number") > -1 && t % 1 == 0 }, ariaAttr: function (e, n) { for (var i in t.isPlainObject(e) || (e = { attribute: n }), n = "", e) { var o = ("role" == i ? "" : "aria-") + i, r = e[i]; n += null == r ? "" : o + '="' + e[i] + '"' } return n } }, r.extend = function (e, n) { t.fn[e] = function (i, o) { var l = this.data(e); return "picker" == i ? l : l && "string" == typeof i ? r._.trigger(l[i], l, [o]) : this.each((function () { t(this).data(e) || new r(this, e, n, i) })) }, t.fn[e].defaults = n.defaults }, r }, "function" == typeof define && n(24) ? define("picker", ["jquery"], e) : "object" == ("undefined" == typeof exports ? "undefined" : i(exports)) ? t.exports = e(n(64)) : window.Picker = e(jQuery)
}.call(this, n(27)(t))
}, function (t, e, n) {
"use strict"; n.r(e), function (t) {
var e; n(10), n(16), n(17), n(31), n(6), n(12), n(8), n(23), n(32), n(13), n(7), n(29), n(18), n(19); function i(t) { return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*!
* pickadate.js v3.6.3, 2019/04/03
* By Amsul, http://amsul.ca
* Hosted on http://amsul.github.io/pickadate.js
* Licensed under MIT
*/e = function (t) { var e = t(window), n = t(document), i = t(document.documentElement), o = null != document.documentElement.style.transition; function r(e, i, c, d) { if (!e) return r; var h = !1, f = { id: e.id || "P" + Math.abs(~~(Math.random() * new Date)), handlingOpen: !1 }, p = c ? t.extend(!0, {}, c.defaults, d) : d || {}, m = t.extend({}, r.klasses(), p.klass), g = t(e).find("input"), v = 2, y = function () { return this.start() }, b = y.prototype = { constructor: y, $node: g, start: function () { return f && f.start ? b : (f.methods = {}, f.start = !0, f.open = !1, f.type = e.type, e.autofocus = e == u(), e.readOnly = !p.editable, e.id = e.id || f.id, "text" != e.type && (e.type = "text"), b.component = new c(b, p), b.$root = t('\n <div class="'.concat(m.picker, ' datepicker" id="').concat(e.id, '_root" />\n ')), s(b.$root[0], "hidden", !0), b.$holder = t(w()).appendTo(b.$root), x(), p.formatSubmit && (!0 === p.hiddenName ? (v = g.attr("name"), g.attr("name", "")) : v = (v = ["string" == typeof p.hiddenPrefix ? p.hiddenPrefix : "", "string" == typeof p.hiddenSuffix ? p.hiddenSuffix : "_submit"])[0] + g.attr("name") + v[1], b._hidden = t('<input type=hidden name="' + v + '"' + (g.data("value") || e.value ? ' value="' + b.get("select", p.formatSubmit) + '"' : "") + ">")[0], g.on("change." + f.id, (function () { var n = t(e).find("input.picker__input"); b._hidden.value = n.val() ? b.get("select", p.formatSubmit) : "" }))), g.data(i, b).addClass(m.input).val(g.data("value") ? b.get("select", p.format) : t(e).find("input").val()), p.inline ? g.siblings("i").on("click", (function () { new Popper(t(e), b.$root, { placement: "bottom-end", modifiers: { offset: { enabled: !0, offset: "-300, 0" } } }), b.open() })) : g.siblings("i").on("click", (r = function (t) { t.preventDefault(), b.open() }, l = 100, function () { var t = this, e = arguments, n = function () { d = null, a || r.apply(t, e) }, i = a && !d; clearTimeout(d), d = setTimeout(n, l), i && r.apply(t, e) })), g.siblings("i").on("mousedown", (function () { f.handlingOpen = !0, t(document).on("mouseup", (function e() { setTimeout((function () { t(document).off("mouseup", e), f.handlingOpen = !1 }), 0) })) })), p.editable || g.siblings("i").on("keyup." + f.id, S), s(e, { haspopup: !0, expanded: !1, readonly: !1, owns: e.id + "_root" }), p.containerHidden ? t(p.containerHidden).append(b._hidden) : g.after(b._hidden), t("body").append(b.$root), p.inline && b.$root.hide(), b.on({ start: b.component.onStart, render: b.component.onRender, stop: b.component.onStop, open: b.component.onOpen, close: b.component.onClose, set: b.component.onSet }).on({ start: p.onStart, render: p.onRender, stop: p.onStop, open: p.onOpen, close: p.onClose, set: p.onSet }), (n = b.$holder[0]).currentStyle ? o = n.currentStyle.position : window.getComputedStyle && (o = getComputedStyle(n).position), h = "fixed" == o, e.autofocus && b.open(), b.trigger("start").trigger("render")); var n, o, r, l, a, d, v }, render: function (e) { return e ? (b.$holder = t(w()), x(), b.$root.html(b.$holder)) : b.$root.find("." + m.box).html(b.component.nodes(f.open)), b.trigger("render") }, stop: function () { return f.start ? (b.close(), b._hidden && b._hidden.parentNode.removeChild(b._hidden), b.$root.remove(), g.removeClass(m.input).removeData(i), setTimeout((function () { g.off("." + f.id) }), 0), e.type = f.type, e.readOnly = !1, b.trigger("stop"), f.methods = {}, f.start = !1, b) : b }, open: function (i) { return v++, f.open ? b : v < 4 && p.editable ? b : (b.set("currentView", "days"), setTimeout((function () { b.$root.addClass(m.opened), s(b.$root[0], "hidden", !1) }), 0), !1 !== i && (f.open = !0, p.inline && b.$root.show(), h && t("body").css("overflow", "hidden").css("padding-right", "+=" + l()), h && o ? b.$holder.find("." + m.frame).one("transitionend", (function () { b.$holder.eq(0).focus() })) : setTimeout((function () { b.$holder.eq(0).focus() }), 0), n.on("click." + f.id + " focusin." + f.id, (function (t) { if (!f.handlingOpen) { var n = a(t, e); t.isSimulated || n == e || n == document || 3 == t.which || b.close(n === b.$holder[0]) } })).on("keydown." + f.id, (function (n) { var i = n.keyCode, o = b.component.key[i], l = a(n, e); 27 == i ? b.close(!0) : l != b.$holder[0] || !o && 13 != i ? t.contains(b.$root[0], l) && 13 == i && (n.preventDefault(), l.click()) : (n.preventDefault(), o ? r._.trigger(b.component.key.go, b, [r._.trigger(o)]) : b.$root.find("." + m.highlighted).hasClass(m.disabled) || (b.set("select", b.component.item.highlight), p.closeOnSelect && b.close(!0))) }))), b.trigger("open")) }, close: function (i) { return v = 0, f.open ? (i && (p.editable ? e.click() : (b.$holder.off("focus.toOpen").focus(), setTimeout((function () { b.$holder.on("focus.toOpen", k) }), 0))), g.removeClass(m.active), s(e, "expanded", !1), setTimeout((function () { b.$root.removeClass(m.opened + " " + m.focused), s(b.$root[0], "hidden", !0) }), 0), h && t("body").css("overflow", "").css("padding-right", "-=" + l()), document.activeElement.blur(), n.off("." + f.id), f.open = !1, p.inline && b.$root.hide(), b.trigger("close")) : b }, clear: function (t) { return document.activeElement.blur(), b.set("clear", null, t) }, set: function (e, n, i) { var o, r, l = t.isPlainObject(e), a = l ? e : {}; if (i = l && t.isPlainObject(n) ? n : i || {}, e) { for (o in l || (a[e] = n), a) r = a[o], o in b.component.item && (void 0 === r && (r = null), b.component.set(o, r, i)), "select" != o && "clear" != o || !p.updateInput || g.val("clear" == o ? "" : b.get(o, p.format)).trigger("change"); b.render() } return i.muted ? b : b.trigger("set", a) }, get: function (t, n) { if (null != f[t = t || "value"]) return f[t]; if ("valueSubmit" == t) { if (b._hidden) return b._hidden.value; t = "value" } if ("value" == t) return e.value; if (t in b.component.item) { if ("string" == typeof n) { var i = b.component.get(t); return i ? r._.trigger(b.component.formats.toString, b.component, [n, i]) : "" } return b.component.get(t) } }, on: function (e, n, i) { var o, r, l = t.isPlainObject(e), a = l ? e : {}; if (e) for (o in l || (a[e] = n), a) r = a[o], i && (o = "_" + o), f.methods[o] = f.methods[o] || [], f.methods[o].push(r); return b }, off: function () { var t, e, n = arguments; for (t = 0, namesCount = n.length; t < namesCount; t += 1)(e = n[t]) in f.methods && delete f.methods[e]; return b }, trigger: function (t, e) { var n = function (t) { var n = f.methods[t]; n && n.map((function (t) { r._.trigger(t, b, [e]) })) }; return n("_" + t), n(t), b } }; function w() { return '<div class="'.concat(m.holder, " ").concat(p.inline ? "inline" : "", '" tabindex="-1">\n <div class="').concat(m.frame, '">\n <div class="').concat(m.wrap, '">\n <div class="').concat(m.box, '">\n ').concat(b.component.nodes(f.open), "\n </div>\n </div>\n </div>\n </div>") } function x() { b.$holder.on({ keydown: S, "focus.toOpen": k, blur: function () { g.removeClass(m.target) }, focusin: function (t) { b.$root.removeClass(m.focused), t.stopPropagation() }, "mousedown click": function (n) { var i = a(n, e); i != b.$holder[0] && (n.stopPropagation(), "mousedown" != n.type || t(i).is("input, select, textarea, button, option") || (n.preventDefault(), b.$holder.eq(0).focus())) } }).on("click", "[data-pick], [data-nav], [data-clear], [data-close], [data-select-year]", (function (e) { var n = t(this), i = n.data(), o = n.hasClass(m.navDisabled) || n.hasClass(m.disabled), r = u(); r = r && (r.type || r.href ? r : null), (o || r && !t.contains(b.$root[0], r)) && b.$holder.eq(0).focus(), !o && i.nav ? b.set("highlight", b.component.item.highlight, { nav: i.nav }) : !o && "pick" in i ? (b.set("select", i.pick), p.closeOnSelect && "days" === b.component.item.currentView ? b.close(!0) : b.set("currentView", b.component.item.highlight)) : i.clear ? (b.clear(), p.closeOnClear && b.close(!0)) : i.close ? b.close(!0) : i.selectYear && b.set("currentView", b.component.item.highlight) })).on("keydown", ".".concat(p.klass.buttonOk), (function (e) { 9 != e.keyCode || e.shiftKey || (e.preventDefault(), t(e.target).closest(".".concat(m.box)).find(".".concat(p.klass.selectYear)).focus()) })).on("keydown", ".".concat(p.klass.selectYear), (function (e) { 9 == e.keyCode && e.shiftKey && (e.preventDefault(), t(e.target).closest(".".concat(m.box)).find(".".concat(p.klass.buttonOk)).focus()) })) } function k(t) { t.stopPropagation(), g.addClass(m.target), b.$root.addClass(m.focused), b.open() } function S(t) { var e = t.keyCode; if (27 == e) return b.close(!0), !1; 32 != e && 13 != e || (t.preventDefault(), t.stopPropagation(), b.open()) } return p.inline = t(e).attr("inline"), new y } function l() { if (i.height() <= e.height()) return 0; var n = t('<div style="visibility:hidden;width:100px" />').appendTo("body"), o = n[0].offsetWidth; n.css("overflow", "scroll"); var r = t('<div style="width:100%" />').appendTo(n)[0].offsetWidth; return n.remove(), o - r } function a(t, e) { var n = []; return t.path && (n = t.path), t.originalEvent && t.originalEvent.path && (n = t.originalEvent.path), n && n.length > 0 ? e && n.indexOf(e) >= 0 ? e : n[0] : t.target } function s(e, n, i) { if (t.isPlainObject(n)) for (var o in n) c(e, o, n[o]); else c(e, n, i) } function c(t, e, n) { t.setAttribute(("role" == e ? "" : "aria-") + e, n) } function u() { try { return document.activeElement } catch (t) { } } return r.klasses = function (t) { return { picker: t = t || "picker", opened: t + "--opened", focused: t + "--focused", input: t + "__input", active: t + "__input--active", target: t + "__input--target", holder: t + "__holder", frame: t + "__frame", wrap: t + "__wrap", box: t + "__box" } }, r._ = { group: function (t) { for (var e, n = "", i = r._.trigger(t.min, t); i <= r._.trigger(t.max, t, [i]); i += t.i)e = r._.trigger(t.item, t, [i]), n += r._.node(t.node, e[0], e[1], e[2]); return n }, node: function (e, n, i, o) { return n ? "<" + e + (i = i ? ' class="' + i + '"' : "") + (o = o ? " " + o : "") + ">" + (n = t.isArray(n) ? n.join("") : n) + "</" + e + ">" : "" }, lead: function (t) { return (t < 10 ? "0" : "") + t }, trigger: function (t, e, n) { return "function" == typeof t ? t.apply(e, n || []) : t }, digits: function (t) { return /\d/.test(t[1]) ? 2 : 1 }, isDate: function (t) { return {}.toString.call(t).indexOf("Date") > -1 && this.isInteger(t.getDate()) }, isInteger: function (t) { return {}.toString.call(t).indexOf("Number") > -1 && t % 1 == 0 }, ariaAttr: function (e, n) { for (var i in t.isPlainObject(e) || (e = { attribute: n }), n = "", e) { var o = ("role" == i ? "" : "aria-") + i, r = e[i]; n += null == r ? "" : o + '="' + e[i] + '"' } return n } }, r.extend = function (e, n) { t.fn[e] = function (i, o) { var l = this.data(e); return "picker" == i ? l : l && "string" == typeof i ? r._.trigger(l[i], l, [o]) : this.each((function () { t(this).data(e) || new r(this, e, n, i) })) }, t.fn[e].defaults = n.defaults }, r }, "function" == typeof define && n(24) ? define("picker", ["jquery"], e) : "object" == ("undefined" == typeof exports ? "undefined" : i(exports)) ? t.exports = e(n(64)) : window.Picker = e(jQuery)
}.call(this, n(27)(t))
}, function (t, e, n) { "use strict"; var i = n(0), o = n(37), r = n(246), l = n(245), a = n(2), s = 1..toFixed, c = Math.floor, u = function (t, e, n) { return 0 === e ? n : e % 2 == 1 ? u(t, e - 1, n * t) : u(t * t, e / 2, n) }; i({ target: "Number", proto: !0, forced: s && ("0.000" !== 8e-5.toFixed(3) || "1" !== .9.toFixed(0) || "1.25" !== 1.255.toFixed(2) || "1000000000000000128" !== (0xde0b6b3a7640080).toFixed(0)) || !a((function () { s.call({}) })) }, { toFixed: function (t) { var e, n, i, a, s = r(this), d = o(t), h = [0, 0, 0, 0, 0, 0], f = "", p = "0", m = function (t, e) { for (var n = -1, i = e; ++n < 6;)i += t * h[n], h[n] = i % 1e7, i = c(i / 1e7) }, g = function (t) { for (var e = 6, n = 0; --e >= 0;)n += h[e], h[e] = c(n / t), n = n % t * 1e7 }, v = function () { for (var t = 6, e = ""; --t >= 0;)if ("" !== e || 0 === t || 0 !== h[t]) { var n = String(h[t]); e = "" === e ? n : e + l.call("0", 7 - n.length) + n } return e }; if (d < 0 || d > 20) throw RangeError("Incorrect fraction digits"); if (s != s) return "NaN"; if (s <= -1e21 || s >= 1e21) return String(s); if (s < 0 && (f = "-", s = -s), s > 1e-21) if (n = (e = function (t) { for (var e = 0, n = t; n >= 4096;)e += 12, n /= 4096; for (; n >= 2;)e += 1, n /= 2; return e }(s * u(2, 69, 1)) - 69) < 0 ? s * u(2, -e, 1) : s / u(2, e, 1), n *= 4503599627370496, (e = 52 - e) > 0) { for (m(0, n), i = d; i >= 7;)m(1e7, 0), i -= 7; for (m(u(10, i, 1), 0), i = e - 1; i >= 23;)g(1 << 23), i -= 23; g(1 << i), m(1, 1), g(2), p = v() } else m(0, n), m(1 << -e, 0), p = v() + l.call("0", d); return p = d > 0 ? f + ((a = p.length) <= d ? "0." + l.call("0", d - a) + p : p.slice(0, a - d) + "." + p.slice(a - d)) : f + p } }) }, , function (t, e, n) { n(0)({ target: "Number", stat: !0 }, { MAX_SAFE_INTEGER: 9007199254740991 }) }, function (t, e, n) { n(0)({ target: "Number", stat: !0 }, { MIN_SAFE_INTEGER: -9007199254740991 }) }, function (t, e, n) { n(107)("toStringTag") }, function (t, e, n) { var i = n(1); n(58)(i.JSON, "JSON", !0) }, function (t, e, n) { n(58)(Math, "Math", !0) }, function (t, e, n) { "use strict"; var i = n(37), o = n(39); t.exports = "".repeat || function (t) { var e = String(o(this)), n = "", r = i(t); if (r < 0 || r == 1 / 0) throw RangeError("Wrong number of repetitions"); for (; r > 0; (r >>>= 1) && (e += e))1 & r && (n += e); return n } }, function (t, e, n) { var i = n(41); t.exports = function (t) { if ("number" != typeof t && "Number" != i(t)) throw TypeError("Incorrect invocation"); return +t } }, function (t, e, n) { var i = n(39), o = /"/g; t.exports = function (t, e, n, r) { var l = String(i(t)), a = "<" + e; return "" !== n && (a += " " + n + '="' + String(r).replace(o, "&quot;") + '"'), a + ">" + l + "</" + e + ">" } }, function (t, e, n) { var i = n(2); t.exports = function (t) { return i((function () { var e = ""[t]('"'); return e !== e.toLowerCase() || e.split('"').length > 3 })) } }, function (t, e, n) {
"use strict"; (function (t) {
var e; n(10), n(16), n(17), n(36), n(6), n(12), n(8), n(23), n(32), n(28), n(13), n(7), n(14), n(29), n(18), n(43), n(35), n(30), n(19); function i(t) { return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*!
* Date picker for pickadate.js v3.6.3
* http://amsul.github.io/pickadate.js/date.htm
*/e = function (t, e) { var n, i = t._; function o(t, e) { var n, i = this, o = t.$node[0], r = o.value, l = t.$node.data("value"), a = l || r, s = l ? e.formatSubmit : e.format, c = function () { return o.currentStyle ? "rtl" == o.currentStyle.direction : "rtl" == getComputedStyle(t.$root[0]).direction }; i.settings = e, i.$node = t.$node, i.queue = { min: "measure create", max: "measure create", now: "now create", select: "parse create validate", highlight: "parse navigate create validate", view: "parse create validate viewset", disable: "deactivate", enable: "activate" }, i.item = {}, i.item.clear = null, i.item.disable = (e.disable || []).slice(0), i.item.enable = -(!0 === (n = i.item.disable)[0] ? n.shift() : -1), i.set("min", e.min).set("max", e.max).set("now"), a ? i.set("select", a, { format: s, defaultValue: !0 }) : i.set("select", null).set("highlight", i.item.now), i.key = { 40: 7, 38: -7, 39: function () { return c() ? -1 : 1 }, 37: function () { return c() ? 1 : -1 }, go: function (t) { var e = i.item.highlight, n = new Date(e.year, e.month, e.date + t); i.set("highlight", n, { interval: t }), this.render() } }, t.on("render", (function () { t.$root.find("." + e.klass.selectMonth).on("change", (function () { var n = this.value; n && (t.set("highlight", [t.get("view").year, n, t.get("highlight").date]), t.$root.find("." + e.klass.selectMonth).trigger("focus")) })), t.$root.find("." + e.klass.selectYear).on("change", (function () { var n = this.value; n && (t.set("highlight", [n, t.get("view").month, t.get("highlight").date]), t.$root.find("." + e.klass.selectYear).trigger("focus")) })) }), 1).on("open", (function () { var n = ""; i.disabled(i.get("now")) && (n = ":not(." + e.klass.buttonToday + ")"), t.$root.find("button" + n + ", select").attr("disabled", !1) }), 1).on("close", (function () { t.$root.find("button, select").attr("disabled", !0) }), 1) } o.prototype.set = function (t, e, n) { var i = this, o = i.item; return null === e ? ("clear" == t && (t = "select"), o[t] = e, i) : (o["enable" == t ? "disable" : "flip" == t ? "enable" : t] = i.queue[t].split(" ").map((function (o) { return e = i[o](t, e, n) })).pop(), "select" == t ? i.set("highlight", o.select, n) : "highlight" == t ? i.set("view", o.highlight, n) : t.match(/^(flip|min|max|disable|enable)$/) && (o.select && i.disabled(o.select) && i.set("select", o.select, n), o.highlight && i.disabled(o.highlight) && i.set("highlight", o.highlight, n)), i) }, o.prototype.get = function (t) { return this.item[t] }, o.prototype.create = function (t, n, o) { var r; return (n = void 0 === n ? t : n) == -1 / 0 || n == 1 / 0 ? r = n : e.isPlainObject(n) && i.isInteger(n.pick) ? n = n.obj : e.isArray(n) ? (n = new Date(n[0], n[1], n[2]), n = i.isDate(n) ? n : this.create().obj) : n = i.isInteger(n) || i.isDate(n) ? this.normalize(new Date(n), o) : this.now(t, n, o), { year: r || n.getFullYear(), month: r || n.getMonth(), date: r || n.getDate(), day: r || n.getDay(), obj: r || n, pick: r || n.getTime() } }, o.prototype.createRange = function (t, n) { var o = this, r = function (t) { return !0 === t || e.isArray(t) || i.isDate(t) ? o.create(t) : t }; return i.isInteger(t) || (t = r(t)), i.isInteger(n) || (n = r(n)), i.isInteger(t) && e.isPlainObject(n) ? t = [n.year, n.month, n.date + t] : i.isInteger(n) && e.isPlainObject(t) && (n = [t.year, t.month, t.date + n]), { from: r(t), to: r(n) } }, o.prototype.withinRange = function (t, e) { return t = this.createRange(t.from, t.to), e.pick >= t.from.pick && e.pick <= t.to.pick }, o.prototype.overlapRanges = function (t, e) { return t = this.createRange(t.from, t.to), e = this.createRange(e.from, e.to), this.withinRange(t, e.from) || this.withinRange(t, e.to) || this.withinRange(e, t.from) || this.withinRange(e, t.to) }, o.prototype.now = function (t, e, n) { return e = new Date, n && n.rel && e.setDate(e.getDate() + n.rel), this.normalize(e, n) }, o.prototype.navigate = function (t, n, i) { var o, r, l, a, s = e.isArray(n), c = e.isPlainObject(n), u = this.item.view; if (s || c) { for (c ? (r = n.year, l = n.month, a = n.date) : (r = +n[0], l = +n[1], a = +n[2]), i && i.nav && u && u.month !== l && (r = u.year, l = u.month), r = (o = new Date(r, l + (i && i.nav ? i.nav : 0), 1)).getFullYear(), l = o.getMonth(); new Date(r, l, a).getMonth() !== l;)a -= 1; n = [r, l, a] } return n }, o.prototype.normalize = function (t) { return t.setHours(0, 0, 0, 0), t }, o.prototype.measure = function (t, e) { return i.isInteger(e) ? e = this.now(t, e, { rel: e }) : e ? "string" == typeof e && (e = this.parse(t, e)) : e = "min" == t ? -1 / 0 : 1 / 0, e }, o.prototype.viewset = function (t, e) { return this.create([e.year, e.month, 1]) }, o.prototype.validate = function (t, n, o) { var r, l, a, s, c = this, u = n, d = o && o.interval ? o.interval : 1, h = -1 === c.item.enable, f = c.item.min, p = c.item.max, m = h && c.item.disable.filter((function (t) { if (e.isArray(t)) { var o = c.create(t).pick; o < n.pick ? r = !0 : o > n.pick && (l = !0) } return i.isInteger(t) })).length; if ((!o || !o.nav && !o.defaultValue) && (!h && c.disabled(n) || h && c.disabled(n) && (m || r || l) || !h && (n.pick <= f.pick || n.pick >= p.pick))) for (h && !m && (!l && d > 0 || !r && d < 0) && (d *= -1); c.disabled(n) && (Math.abs(d) > 1 && (n.month < u.month || n.month > u.month) && (n = u, d = d > 0 ? 1 : -1), n.pick <= f.pick ? (a = !0, d = 1, n = c.create([f.year, f.month, f.date + (n.pick === f.pick ? 0 : -1)])) : n.pick >= p.pick && (s = !0, d = -1, n = c.create([p.year, p.month, p.date + (n.pick === p.pick ? 0 : 1)])), !a || !s);)n = c.create([n.year, n.month, n.date + d]); return n }, o.prototype.disabled = function (t) { var n = this, o = n.item.disable.filter((function (o) { return i.isInteger(o) ? t.day === (n.settings.firstDay ? o : o - 1) % 7 : e.isArray(o) || i.isDate(o) ? t.pick === n.create(o).pick : e.isPlainObject(o) ? n.withinRange(o, t) : void 0 })); return o = o.length && !o.filter((function (t) { return e.isArray(t) && "inverted" == t[3] || e.isPlainObject(t) && t.inverted })).length, -1 === n.item.enable ? !o : o || t.pick < n.item.min.pick || t.pick > n.item.max.pick }, o.prototype.parse = function (t, e, n) { var o = this, r = {}; return e && "string" == typeof e ? (n && n.format || ((n = n || {}).format = o.settings.format), o.formats.toArray(n.format).map((function (t) { var n = o.formats[t], l = n ? i.trigger(n, o, [e, r]) : t.replace(/^!/, "").length; n && (r[t] = e.substr(0, l)), e = e.substr(l) })), [r.yyyy || r.yy, +(r.mm || r.m) - 1, r.dd || r.d]) : e }, o.prototype.formats = function () { function t(t, e, n) { var i = t.match(/[^\x00-\x7F]+|\w+/)[0]; return n.mm || n.m || (n.m = e.indexOf(i) + 1), i.length } function e(t) { return t.match(/\w+/)[0].length } return { d: function (t, e) { return t ? i.digits(t) : e.date }, dd: function (t, e) { return t ? 2 : i.lead(e.date) }, ddd: function (t, n) { return t ? e(t) : this.settings.weekdaysShort[n.day] }, dddd: function (t, n) { return t ? e(t) : this.settings.weekdaysFull[n.day] }, m: function (t, e) { return t ? i.digits(t) : e.month + 1 }, mm: function (t, e) { return t ? 2 : i.lead(e.month + 1) }, mmm: function (e, n) { var i = this.settings.monthsShort; return e ? t(e, i, n) : i[n.month] }, mmmm: function (e, n) { var i = this.settings.monthsFull; return e ? t(e, i, n) : i[n.month] }, yy: function (t, e) { return t ? 2 : ("" + e.year).slice(2) }, yyyy: function (t, e) { return t ? 4 : e.year }, toArray: function (t) { return t.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g) }, toString: function (t, e) { var n = this; return n.formats.toArray(t).map((function (t) { return i.trigger(n.formats[t], n, [0, e]) || t.replace(/^!/, "") })).join("") } } }(), o.prototype.isDateExact = function (t, n) { return i.isInteger(t) && i.isInteger(n) || "boolean" == typeof t && "boolean" == typeof n ? t === n : (i.isDate(t) || e.isArray(t)) && (i.isDate(n) || e.isArray(n)) ? this.create(t).pick === this.create(n).pick : !(!e.isPlainObject(t) || !e.isPlainObject(n)) && this.isDateExact(t.from, n.from) && this.isDateExact(t.to, n.to) }, o.prototype.isDateOverlap = function (t, n) { var o = this.settings.firstDay ? 1 : 0; return i.isInteger(t) && (i.isDate(n) || e.isArray(n)) ? (t = t % 7 + o) === this.create(n).day + 1 : i.isInteger(n) && (i.isDate(t) || e.isArray(t)) ? (n = n % 7 + o) === this.create(t).day + 1 : !(!e.isPlainObject(t) || !e.isPlainObject(n)) && this.overlapRanges(t, n) }, o.prototype.flipEnable = function (t) { var e = this.item; e.enable = t || (-1 == e.enable ? 1 : -1) }, o.prototype.deactivate = function (t, n) { var o = this, r = o.item.disable.slice(0); return "flip" == n ? o.flipEnable() : !1 === n ? (o.flipEnable(1), r = []) : !0 === n ? (o.flipEnable(-1), r = []) : n.map((function (t) { for (var n, l = 0; l < r.length; l += 1)if (o.isDateExact(t, r[l])) { n = !0; break } n || (i.isInteger(t) || i.isDate(t) || e.isArray(t) || e.isPlainObject(t) && t.from && t.to) && r.push(t) })), r }, o.prototype.activate = function (t, n) { var o = this, r = o.item.disable, l = r.length; return "flip" == n ? o.flipEnable() : !0 === n ? (o.flipEnable(1), r = []) : !1 === n ? (o.flipEnable(-1), r = []) : n.map((function (t) { var n, a, s, c; for (s = 0; s < l; s += 1) { if (a = r[s], o.isDateExact(a, t)) { n = r[s] = null, c = !0; break } if (o.isDateOverlap(a, t)) { e.isPlainObject(t) ? (t.inverted = !0, n = t) : e.isArray(t) ? (n = t)[3] || n.push("inverted") : i.isDate(t) && (n = [t.getFullYear(), t.getMonth(), t.getDate(), "inverted"]); break } } if (n) for (s = 0; s < l; s += 1)if (o.isDateExact(r[s], t)) { r[s] = null; break } if (c) for (s = 0; s < l; s += 1)if (o.isDateOverlap(r[s], t)) { r[s] = null; break } n && r.push(n) })), r.filter((function (t) { return null != t })) }, o.prototype.nodes = function (t) { var e, n, o = this, r = o.settings, l = o.item, a = l.now, s = l.select, c = l.highlight, u = l.view, d = l.disable, h = l.min, f = l.max, p = (e = (r.showWeekdaysFull ? r.weekdaysFull : r.weekdaysShort).slice(0), n = r.weekdaysFull.slice(0), r.firstDay && (e.push(e.shift()), n.push(n.shift())), i.node("thead", i.node("tr", i.group({ min: 0, max: 6, i: 1, node: "th", item: function (t) { return [e[t], r.klass.weekdays, 'scope=col title="' + n[t] + '"'] } })))), m = function (t) { return i.node("button", " ", r.klass["nav" + (t ? "Next" : "Prev")] + (t && u.year >= f.year && u.month >= f.month || !t && u.year <= h.year && u.month <= h.month ? " " + r.klass.navDisabled : ""), "data-nav=" + (t || -1) + " " + i.ariaAttr({ role: "button", controls: o.$node[0].id + "_table" }) + ' title="' + (t ? r.labelMonthNext : r.labelMonthPrev) + '"') }, g = function () { var e = r.showMonthsShort ? r.monthsShort : r.monthsFull; return r.selectMonths ? i.node("select", i.group({ min: 0, max: 11, i: 1, node: "option", item: function (t) { return [e[t], 0, "value=" + t + (u.month == t ? " selected" : "") + (u.year == h.year && t < h.month || u.year == f.year && t > f.month ? " disabled" : "")] } }), r.klass.selectMonth, (t ? "" : "disabled") + " " + i.ariaAttr({ controls: o.$node[0].id + "_table" }) + ' title="' + r.labelMonthSelect + '"') : i.node("div", e[u.month], r.klass.month) }, v = function () { var e = u.year, n = !0 === r.selectYears ? 5 : ~~(r.selectYears / 2); if (n) { var l = h.year, a = f.year, s = e - n, c = e + n; if (l > s && (c += l - s, s = l), a < c) { var d = s - l, p = c - a; s -= d > p ? p : d, c = a } return i.node("select", i.group({ min: s, max: c, i: 1, node: "option", item: function (t) { return [t, 0, "value=" + t + (e == t ? " selected" : "")] } }), r.klass.selectYear, (t ? "" : "disabled") + " " + i.ariaAttr({ controls: o.$node[0].id + "_table" }) + ' title="' + r.labelYearSelect + '"') } return i.node("div", e, r.klass.year) }; return i.node("div", (r.selectYears ? v() + g() : g() + v()) + m() + m(1), r.klass.header) + i.node("table", p + i.node("tbody", i.group({ min: 0, max: 5, i: 1, node: "tr", item: function (t) { var e = r.firstDay && 0 === o.create([u.year, u.month, 1]).day ? -7 : 0; return [i.group({ min: 7 * t - u.day + e + 1, max: function () { return this.min + 7 - 1 }, i: 1, node: "td", item: function (t) { t = o.create([u.year, u.month, t + (r.firstDay ? 1 : 0)]); var e, n = s && s.pick == t.pick, l = c && c.pick == t.pick, p = d && o.disabled(t) || t.pick < h.pick || t.pick > f.pick, m = i.trigger(o.formats.toString, o, [r.format, t]); return [i.node("div", t.date, (e = [r.klass.day], e.push(u.month == t.month ? r.klass.infocus : r.klass.outfocus), a.pick == t.pick && e.push(r.klass.now), n && e.push(r.klass.selected), l && e.push(r.klass.highlighted), p && e.push(r.klass.disabled), e.join(" ")), "data-pick=" + t.pick + " " + i.ariaAttr({ role: "gridcell", label: m, selected: !(!n || o.$node.val() !== m) || null, activedescendant: !!l || null, disabled: !!p || null })), "", i.ariaAttr({ role: "presentation" })] } })] } })), r.klass.table, 'id="' + o.$node[0].id + '_table" ' + i.ariaAttr({ role: "grid", controls: o.$node[0].id, readonly: !0 })) + i.node("div", i.node("button", r.today, r.klass.buttonToday, "type=button data-pick=" + a.pick + (t && !o.disabled(a) ? "" : " disabled") + " " + i.ariaAttr({ controls: o.$node[0].id })) + i.node("button", r.clear, r.klass.buttonClear, "type=button data-clear=1" + (t ? "" : " disabled") + " " + i.ariaAttr({ controls: o.$node[0].id })) + i.node("button", r.close, r.klass.buttonClose, "type=button data-close=true " + (t ? "" : " disabled") + " " + i.ariaAttr({ controls: o.$node[0].id })), r.klass.footer) }, o.defaults = { labelMonthNext: "Next month", labelMonthPrev: "Previous month", labelMonthSelect: "Select a month", labelYearSelect: "Select a year", monthsFull: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], weekdaysFull: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], weekdaysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], today: "Today", clear: "Clear", close: "Close", closeOnSelect: !0, closeOnClear: !0, updateInput: !0, format: "d mmmm, yyyy", klass: { table: (n = t.klasses().picker + "__") + "table", header: n + "header", navPrev: n + "nav--prev btn btn-flat", navNext: n + "nav--next btn btn-flat", navDisabled: n + "nav--disabled", month: n + "month", year: n + "year", selectMonth: n + "select--month", selectYear: n + "select--year", weekdays: n + "weekday", day: n + "day", disabled: n + "day--disabled", selected: n + "day--selected", highlighted: n + "day--highlighted", now: n + "day--today", infocus: n + "day--infocus", outfocus: n + "day--outfocus", footer: n + "footer", buttonClear: n + "button--clear", buttonToday: n + "button--today", buttonClose: n + "button--close" } }, t.extend("pickadate", o) }, "function" == typeof define && n(24) ? define(["picker", "jquery"], e) : "object" == ("undefined" == typeof exports ? "undefined" : i(exports)) ? t.exports = e(n(236), n(64)) : e(Picker, jQuery), $.extend($.fn.pickadate.defaults, { selectMonths: !0, selectYears: 15, onRender: function () { var t, e = this.$root, n = this.get("highlight", "yyyy"), i = this.get("highlight", "dd"), o = this.get("highlight", "mmm"), r = this.get("highlight", "dddd").slice(0, 3), l = o.charAt(0).toUpperCase() + o.slice(1); t = this.component.settings.showWeekdaysShort ? this.component.settings.weekdaysShort[this.get("highlight").day] : this.component.settings.showWeekdaysFull ? this.component.settings.weekdaysFull[this.get("highlight").day] : r, e.find(".picker__header").prepend('<div class="picker__date-display"><div class="picker__weekday-display">' + t + ', </div><div class="picker__month-display"><div>' + l + '</div></div><div class="picker__day-display"><div>' + i + '</div></div><div class="picker__year-display"><div>' + n + "</div></div></div>") } }), $(".picker-opener").on("click", (function (t) { t.preventDefault(), t.stopPropagation(); var e = t.target.dataset.open; $("#".concat(e)).pickadate().pickadate("picker").open() }))
}).call(this, n(27)(t))
}, function (t, e, n) {
"use strict"; (function (t) {
var e; n(10), n(16), n(17), n(31), n(36), n(6), n(12), n(8), n(23), n(32), n(28), n(13), n(7), n(14), n(29), n(18), n(43), n(35), n(30), n(19); function i(t) { return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*!
* Date picker for pickadate.js v3.6.3
* http://amsul.github.io/pickadate.js/date.htm
*/e = function (t, e) { var n, i = t._; function o(t, e) { var n, i = this, o = t.$node[0], r = o.value, l = t.$node.data("value"), a = l || r, s = l ? e.formatSubmit : e.format, c = function () { return o.currentStyle ? "rtl" == o.currentStyle.direction : "rtl" == getComputedStyle(t.$root[0]).direction }; i.settings = e, i.$node = t.$node, i.queue = { min: "measure create", max: "measure create", now: "now create", select: "parse create validate", highlight: "parse navigate create validate", currentView: "toggleView", view: "parse create validate viewset", disable: "deactivate", enable: "activate" }, i.item = {}, i.item.clear = null, i.item.disable = (e.disable || []).slice(0), i.item.enable = -(!0 === (n = i.item.disable)[0] ? n.shift() : -1), i.item.currentView = "days", i.item.currentVisibleMinYear, i.set("min", e.min).set("max", e.max).set("now"), a ? i.set("select", a, { format: s, defaultValue: !0 }) : i.set("select", null).set("highlight", i.item.now), i.key = { 40: 7, 38: -7, 39: function () { return c() ? -1 : 1 }, 37: function () { return c() ? 1 : -1 }, go: function (t) { var e = i.item.highlight, n = new Date(e.year, e.month, e.date + t); i.set("highlight", n, { interval: t }), this.render() } }, t.on("render", (function () { var n = this.value; n && (t.set("highlight", [n, t.get("view").month, t.get("highlight").date]), t.$root.find("." + e.klass.selectYear).trigger("focus")) }), 1).on("open", (function () { var n = ""; i.disabled(i.get("now")) && (n = ":not(." + e.klass.buttonToday + ")"), t.$root.find("button" + n + ", select").attr("disabled", !1) }), 1).on("close", (function () { t.$root.find("button, select").attr("disabled", !0) }), 1) } o.prototype.set = function (t, e, n) { var i = this, o = i.item; return null === e ? ("clear" == t && (t = "select"), o[t] = e, i) : (o["enable" == t ? "disable" : "flip" == t ? "enable" : t] = i.queue[t].split(" ").map((function (o) { return e = i[o](t, e, n) })).pop(), "select" == t ? i.set("highlight", o.select, n) : "highlight" == t ? i.set("view", o.highlight, n) : t.match(/^(flip|min|max|disable|enable)$/) && (o.select && i.disabled(o.select) && i.set("select", o.select, n), o.highlight && i.disabled(o.highlight) && i.set("highlight", o.highlight, n)), i) }, o.prototype.get = function (t) { return this.item[t] }, o.prototype.create = function (t, n, o) { var r; return (n = void 0 === n ? t : n) == -1 / 0 || n == 1 / 0 ? r = n : e.isPlainObject(n) && i.isInteger(n.pick) ? n = n.obj : e.isArray(n) ? (n = new Date(n[0], n[1], n[2]), n = i.isDate(n) ? n : this.create().obj) : n = i.isInteger(n) || i.isDate(n) ? this.normalize(new Date(n), o) : this.now(t, n, o), { year: r || n.getFullYear(), month: r || n.getMonth(), date: r || n.getDate(), day: r || n.getDay(), obj: r || n, pick: r || n.getTime() } }, o.prototype.createRange = function (t, n) { var o = this, r = function (t) { return !0 === t || e.isArray(t) || i.isDate(t) ? o.create(t) : t }; return i.isInteger(t) || (t = r(t)), i.isInteger(n) || (n = r(n)), i.isInteger(t) && e.isPlainObject(n) ? t = [n.year, n.month, n.date + t] : i.isInteger(n) && e.isPlainObject(t) && (n = [t.year, t.month, t.date + n]), { from: r(t), to: r(n) } }, o.prototype.withinRange = function (t, e) { return t = this.createRange(t.from, t.to), e.pick >= t.from.pick && e.pick <= t.to.pick }, o.prototype.overlapRanges = function (t, e) { return t = this.createRange(t.from, t.to), e = this.createRange(e.from, e.to), this.withinRange(t, e.from) || this.withinRange(t, e.to) || this.withinRange(e, t.from) || this.withinRange(e, t.to) }, o.prototype.now = function (t, e, n) { return e = new Date, n && n.rel && e.setDate(e.getDate() + n.rel), this.normalize(e, n) }, o.prototype.navigate = function (t, n, i) { var o, r, l, a, s = e.isArray(n), c = e.isPlainObject(n), u = this.item.view; if (s || c) { for (c ? (r = n.year, l = n.month, a = n.date) : (r = +n[0], l = +n[1], a = +n[2]), i && i.nav && u && u.month !== l && (r = u.year, l = u.month), "months" === this.item.currentView ? o = new Date(r + (i && i.nav ? i.nav : 0), l, 1) : "years" === this.item.currentView ? o = new Date(r + (i && i.nav ? 24 * i.nav : 0), l, 1) : "days" === this.item.currentView && (o = new Date(r, l + (i && i.nav ? i.nav : 0), 1)), r = o.getFullYear(), l = o.getMonth(); new Date(r, l, a).getMonth() !== l;)a -= 1; n = [r, l, a] } return n }, o.prototype.normalize = function (t) { return t.setHours(0, 0, 0, 0), t }, o.prototype.measure = function (t, e) { return i.isInteger(e) ? e = this.now(t, e, { rel: e }) : e ? "string" == typeof e && (e = this.parse(t, e)) : e = "min" == t ? -1 / 0 : 1 / 0, e }, o.prototype.viewset = function (t, e) { return this.create([e.year, e.month, 1]) }, o.prototype.validate = function (t, n, o) { var r, l, a, s, c = this, u = n, d = o && o.interval ? o.interval : 1, h = -1 === c.item.enable, f = c.item.min, p = c.item.max, m = h && c.item.disable.filter((function (t) { if (e.isArray(t)) { var o = c.create(t).pick; o < n.pick ? r = !0 : o > n.pick && (l = !0) } return i.isInteger(t) })).length; if ((!o || !o.nav && !o.defaultValue) && (!h && c.disabled(n) || h && c.disabled(n) && (m || r || l) || !h && (n.pick <= f.pick || n.pick >= p.pick))) for (h && !m && (!l && d > 0 || !r && d < 0) && (d *= -1); c.disabled(n) && (Math.abs(d) > 1 && (n.month < u.month || n.month > u.month) && (n = u, d = d > 0 ? 1 : -1), n.pick <= f.pick ? (a = !0, d = 1, n = c.create([f.year, f.month, f.date + (n.pick === f.pick ? 0 : -1)])) : n.pick >= p.pick && (s = !0, d = -1, n = c.create([p.year, p.month, p.date + (n.pick === p.pick ? 0 : 1)])), !a || !s);)n = c.create([n.year, n.month, n.date + d]); return n }, o.prototype.disabled = function (t) { var n = this, o = n.item.disable.filter((function (o) { return i.isInteger(o) ? t.day === (n.settings.firstDay ? o : o - 1) % 7 : e.isArray(o) || i.isDate(o) ? t.pick === n.create(o).pick : e.isPlainObject(o) ? n.withinRange(o, t) : void 0 })); return o = o.length && !o.filter((function (t) { return e.isArray(t) && "inverted" == t[3] || e.isPlainObject(t) && t.inverted })).length, -1 === n.item.enable ? !o : o || t.pick < n.item.min.pick || t.pick > n.item.max.pick }, o.prototype.parse = function (t, e, n) { var o = this, r = {}; return e && "string" == typeof e ? (n && n.format || ((n = n || {}).format = o.settings.format), o.formats.toArray(n.format).map((function (t) { var n = o.formats[t], l = n ? i.trigger(n, o, [e, r]) : t.replace(/^!/, "").length; n && (r[t] = e.substr(0, l)), e = e.substr(l) })), [r.yyyy || r.yy, +(r.mm || r.m) - 1, r.dd || r.d]) : e }, o.prototype.formats = function () { function t(t, e, n) { var i = t.match(/[^\x00-\x7F]+|\w+/)[0]; return n.mm || n.m || (n.m = e.indexOf(i) + 1), i.length } function e(t) { return t.match(/\w+/)[0].length } return { d: function (t, e) { return t ? i.digits(t) : e.date }, dd: function (t, e) { return t ? 2 : i.lead(e.date) }, ddd: function (t, n) { return t ? e(t) : this.settings.weekdaysShort[n.day] }, dddd: function (t, n) { return t ? e(t) : this.settings.weekdaysFull[n.day] }, m: function (t, e) { return t ? i.digits(t) : e.month + 1 }, mm: function (t, e) { return t ? 2 : i.lead(e.month + 1) }, mmm: function (e, n) { var i = this.settings.monthsShort; return e ? t(e, i, n) : i[n.month] }, mmmm: function (e, n) { var i = this.settings.monthsFull; return e ? t(e, i, n) : i[n.month] }, yy: function (t, e) { return t ? 2 : ("" + e.year).slice(2) }, yyyy: function (t, e) { return t ? 4 : e.year }, toArray: function (t) { return t.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g) }, toString: function (t, e) { var n = this; return n.formats.toArray(t).map((function (t) { return i.trigger(n.formats[t], n, [0, e]) || t.replace(/^!/, "") })).join("") } } }(), o.prototype.isDateExact = function (t, n) { return i.isInteger(t) && i.isInteger(n) || "boolean" == typeof t && "boolean" == typeof n ? t === n : (i.isDate(t) || e.isArray(t)) && (i.isDate(n) || e.isArray(n)) ? this.create(t).pick === this.create(n).pick : !(!e.isPlainObject(t) || !e.isPlainObject(n)) && this.isDateExact(t.from, n.from) && this.isDateExact(t.to, n.to) }, o.prototype.isDateOverlap = function (t, n) { var o = this.settings.firstDay ? 1 : 0; return i.isInteger(t) && (i.isDate(n) || e.isArray(n)) ? (t = t % 7 + o) === this.create(n).day + 1 : i.isInteger(n) && (i.isDate(t) || e.isArray(t)) ? (n = n % 7 + o) === this.create(t).day + 1 : !(!e.isPlainObject(t) || !e.isPlainObject(n)) && this.overlapRanges(t, n) }, o.prototype.flipEnable = function (t) { var e = this.item; e.enable = t || (-1 == e.enable ? 1 : -1) }, o.prototype.deactivate = function (t, n) { var o = this, r = o.item.disable.slice(0); return "flip" == n ? o.flipEnable() : !1 === n ? (o.flipEnable(1), r = []) : !0 === n ? (o.flipEnable(-1), r = []) : n.map((function (t) { for (var n, l = 0; l < r.length; l += 1)if (o.isDateExact(t, r[l])) { n = !0; break } n || (i.isInteger(t) || i.isDate(t) || e.isArray(t) || e.isPlainObject(t) && t.from && t.to) && r.push(t) })), r }, o.prototype.activate = function (t, n) { var o = this, r = o.item.disable, l = r.length; return "flip" == n ? o.flipEnable() : !0 === n ? (o.flipEnable(1), r = []) : !1 === n ? (o.flipEnable(-1), r = []) : n.map((function (t) { var n, a, s, c; for (s = 0; s < l; s += 1) { if (a = r[s], o.isDateExact(a, t)) { n = r[s] = null, c = !0; break } if (o.isDateOverlap(a, t)) { e.isPlainObject(t) ? (t.inverted = !0, n = t) : e.isArray(t) ? (n = t)[3] || n.push("inverted") : i.isDate(t) && (n = [t.getFullYear(), t.getMonth(), t.getDate(), "inverted"]); break } } if (n) for (s = 0; s < l; s += 1)if (o.isDateExact(r[s], t)) { r[s] = null; break } if (c) for (s = 0; s < l; s += 1)if (o.isDateOverlap(r[s], t)) { r[s] = null; break } n && r.push(n) })), r.filter((function (t) { return null != t })) }, o.prototype.nodes = function (t) { var e, n, o = this, r = o.settings, l = o.item, a = l.now, s = l.select, c = l.highlight, u = l.view, d = l.disable, h = l.min, f = l.max, p = (e = (r.showWeekdaysFull ? r.weekdaysFull : r.weekdaysShort).slice(0), n = r.weekdaysFull.slice(0), r.firstDay && (e.push(e.shift()), n.push(n.shift())), i.node("thead", i.node("tr", i.group({ min: 0, max: 6, i: 1, node: "th", item: function (t) { return [e[t], r.klass.weekdays, 'scope=col title="' + n[t] + '"'] } })))), m = function (t) { return i.node("button", " ", r.klass["nav" + (t ? "Next" : "Prev")] + (t && u.year >= f.year && u.month >= f.month || !t && u.year <= h.year && u.month <= h.month ? " " + r.klass.navDisabled : ""), "data-nav=" + (t || -1) + " " + i.ariaAttr({ role: "button", controls: o.$node[0].id + "_table" }) + ' title="' + (t ? r.labelMonthNext : r.labelMonthPrev) + '"') }; return '\n <div class="'.concat(r.klass.header, '">\n ').concat(function () { var t = u.year, e = !0 === r.selectYears ? 5 : ~~(r.selectYears / 2), n = r.monthsFull[u.month]; if (e) { var i = h.year, o = f.year, l = t - e, a = t + e; if (i > l && (a += i - l, l = i), o < a) { var s = l - i, c = a - o; l -= s > c ? c : s, a = o } return '<div class="'.concat(r.klass.selectYear, '" tabindex="0" data-select-year="true"> ').concat(n, " ").concat(t, ' <i class="fas fa-caret-down"></i></div>') } return '<div class="'.concat(r.klass.selectYear, '" tabindex="0" data-select-year="true"> ').concat(t, ' <i class="fas fa-caret-down"></i></div>') }(), "\n <div class=").concat(r.klass.nav, ">\n ").concat(m(), "\n ").concat(m(1), '\n </div>\n </div>\n <table class="').concat(r.klass.table, '" id="').concat(o.$node[0].id, '_table" ').concat(i.ariaAttr({ role: "grid", controls: o.$node[0].id, readonly: !0 }), ">\n ").concat(function (t) { switch (t) { case "years": return "\n <tbody>".concat("\n ".concat(i.group({ min: 1, max: 6, i: 1, node: "tr", item: function (t) { var e = o.item.currentVisibleMinYear || u.year, n = e + 4 * t - 4, l = e + 4 * t - 1; return [i.group({ min: n, max: l, i: 1, node: "td", item: function (t) { var e = u.year < h.year || u.year > f.year ? "disabled" : "", n = t === u.year, i = s ? s.month : 0, l = s ? s.date : 1, a = o.create([t, i, l]); return ['<div class="picker__year picker__year--infocus '.concat(n ? r.klass.now : "", '" ').concat(e ? r.klass.disabled : "", " data-pick=").concat(a.pick, ' aria-label="').concat(t, '">').concat(t, "</div>")] } })] } }), "\n "), "</tbody>\n "); case "months": return "\n <tbody>".concat((e = r.showMonthsShort ? r.monthsShort : r.monthsFull, "\n ".concat(i.group({ min: 1, max: 4, i: 1, node: "tr", item: function (t) { var n = 3 * t - 3, l = 3 * t - 1; return [i.group({ min: n, max: l, i: 1, node: "td", item: function (t) { var n = u.year == h.year && t < h.month || u.year == f.year && t > f.month ? "disabled" : "", i = t === u.month, l = s ? s.year : u.year, a = s ? s.date : 1, c = o.create([l, t, a]); return ['<div class="picker__year picker__year--infocus '.concat(i ? r.klass.now : "", '" ').concat(n ? r.klass.disabled : "", " data-pick=").concat(c.pick, ' aria-label="').concat(e[t], '">').concat(e[t], "</div>")] } })] } }), "\n ")), "</tbody>\n "); default: return "\n ".concat(p, "\n <tbody>").concat("\n ".concat(i.group({ min: 0, max: 5, i: 1, node: "tr", item: function (t) { var e = r.firstDay && 0 === o.create([u.year, u.month, 1]).day ? -7 : 0; return [i.group({ min: 7 * t - u.day + e + 1, max: function () { return this.min + 7 - 1 }, i: 1, node: "td", item: function (t) { t = o.create([u.year, u.month, t + (r.firstDay ? 1 : 0)]); var e, n = s && s.pick == t.pick, l = c && c.pick == t.pick, p = d && o.disabled(t) || t.pick < h.pick || t.pick > f.pick, m = i.trigger(o.formats.toString, o, [r.format, t]); return [i.node("div", t.date, (e = [r.klass.day], e.push(u.month == t.month ? r.klass.infocus : r.klass.outfocus), a.pick == t.pick && e.push(r.klass.now), n && e.push(r.klass.selected), l && e.push(r.klass.highlighted), p && e.push(r.klass.disabled), e.join(" ")), "data-pick=" + t.pick + " " + i.ariaAttr({ role: "gridcell", label: m, selected: !(!n || o.$node.val() !== m) || null, activedescendant: !!l || null, disabled: !!p || null })), "", i.ariaAttr({ role: "presentation" })] } })] } }), "\n "), "</tbody>\n ") }var e }(o.item.currentView), "\n </table>\n <div class=").concat(r.klass.footer, ">\n ").concat('\n <button class="btn btn-flat '.concat(r.klass.buttonClear, '" type="button" data-clear=1 ').concat(t ? "" : " disabled", " ").concat(i.ariaAttr({ controls: o.$node[0].id }), ">\n ").concat(r.clear, '\n </button>\n <button class="btn btn-flat ').concat(r.klass.buttonClose, '" type="button" data-close="true" ').concat(t ? "" : " disabled", " ").concat(i.ariaAttr({ controls: o.$node[0].id }), ">\n ").concat(r.close, '\n </button>\n <button class="btn btn-flat ').concat(r.klass.buttonOk, '" type="button" data-close="true" ').concat(i.ariaAttr({ controls: o.$node[0].id }), ">\n ").concat(r.ok, "\n </button>\n "), "\n </div>\n ") }, o.prototype.toggleView = function (t, e) { var n = this.item; if ("days" === e) return e; switch (n.currentView) { case "days": return "years"; case "months": return "days"; case "years": return "months"; default: return } }, o.defaults = { labelMonthNext: "Next month", labelMonthPrev: "Previous month", labelMonthSelect: "Select a month", labelYearSelect: "Select a year", monthsFull: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], weekdaysFull: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], weekdaysShort: ["S", "M", "T", "W", "T", "F", "S"], today: "Today", clear: "Clear", close: "Close", cancel: "Cancel", ok: "ok", closeOnSelect: !0, closeOnClear: !0, updateInput: !0, inline: !1, format: "d mmmm, yyyy", klass: { table: (n = t.klasses().picker + "__") + "table", header: n + "header datepicker__box", nav: n + "nav", navPrev: n + "nav--prev btn btn-flat", navNext: n + "nav--next btn btn-flat", navDisabled: n + "nav--disabled", month: n + "month", year: n + "year", selectMonth: n + "select-month", selectYear: n + "select-year", weekdays: n + "weekday", day: n + "day", disabled: n + "day--disabled", selected: n + "day--selected", highlighted: n + "day--highlighted", now: n + "day--today", infocus: n + "day--infocus", outfocus: n + "day--outfocus", footer: n + "footer", buttonClear: n + "picker-button--clear", buttonClose: n + "picker-button--close", buttonOk: n + "picker-button--ok" } }, t.extend("datepicker", o) }, "function" == typeof define && n(24) ? define(["picker", "jquery"], e) : "object" == ("undefined" == typeof exports ? "undefined" : i(exports)) ? t.exports = e(n(237), n(64)) : e(Picker, jQuery), $.extend($.fn.datepicker.defaults, { selectMonths: !0, selectYears: 15, onRender: function () { var t, e = this.$root, n = this.get("highlight", "dd"), i = this.get("highlight", "mmm"), o = this.get("highlight", "dddd").slice(0, 3), r = i.charAt(0).toUpperCase() + i.slice(1), l = this.component.settings.inline; t = this.component.settings.showWeekdaysShort ? this.component.settings.weekdaysShort[this.get("highlight").day] : this.component.settings.showWeekdaysFull ? this.component.settings.weekdaysFull[this.get("highlight").day] : o, l || e.find(".picker__header").prepend('\n <div class="picker__date-display">\n <div class="picker__title-display">SELECT DATE</div>\n <div class="picker__date-container">\n <span class="picker__weekday-display">'.concat(t, ',</span>\n <span class="picker__month-display">').concat(r, '</span>\n <span class="picker__day-display">').concat(n, "</span>\n </div>\n </div>\n ")) } })
}).call(this, n(27)(t))
}, function (t, e, n) { var i = n(0), o = n(139); i({ target: "Array", proto: !0, forced: o !== [].lastIndexOf }, { lastIndexOf: o }) }, function (t, e, n) {
"use strict"; (function (t, e) {
var i; n(10), n(16), n(17), n(31), n(235), n(36), n(140), n(38), n(12), n(8), n(23), n(32), n(111), n(90), n(28), n(60), n(52), n(13), n(253), n(254), n(61), n(256), n(240), n(241), n(238), n(42), n(7), n(46), n(44), n(14), n(29), n(18), n(43), n(30), n(40), n(19); function o(t) { return (o = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*!
* Chart.js
* http://chartjs.org/
* Version: 2.7.3
*
* Copyright 2018 Chart.js Contributors
* Released under the MIT license
* https://github.com/chartjs/Chart.js/blob/master/LICENSE.md
*/!function (i) { if ("object" === ("undefined" == typeof exports ? "undefined" : o(exports)) && void 0 !== t) t.exports = i(); else if ("function" == typeof define && n(24)) define([], i); else { ("undefined" != typeof window ? window : void 0 !== e ? e : "undefined" != typeof self ? self : this).Chart = i() } }((function () { return function t(e, n, o) { function r(a, s) { if (!n[a]) { if (!e[a]) { if (!s && "function" == typeof i && i) return i(a, !0); if (l) return l(a, !0); var c = new Error("Cannot find module '" + a + "'"); throw c.code = "MODULE_NOT_FOUND", c } var u = n[a] = { exports: {} }; e[a][0].call(u.exports, (function (t) { return r(e[a][1][t] || t) }), u, u.exports, t, e, n, o) } return n[a].exports } for (var l = "function" == typeof i && i, a = 0; a < o.length; a++)r(o[a]); return r }({ 1: [function (t, e, n) { }, {}], 2: [function (t, e, n) { var i = t(6); function o(t) { if (t) { var e = [0, 0, 0], n = 1, o = t.match(/^#([a-fA-F0-9]{3})$/i); if (o) { o = o[1]; for (var r = 0; r < e.length; r++)e[r] = parseInt(o[r] + o[r], 16) } else if (o = t.match(/^#([a-fA-F0-9]{6})$/i)) { o = o[1]; for (r = 0; r < e.length; r++)e[r] = parseInt(o.slice(2 * r, 2 * r + 2), 16) } else if (o = t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)) { for (r = 0; r < e.length; r++)e[r] = parseInt(o[r + 1]); n = parseFloat(o[4]) } else if (o = t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)) { for (r = 0; r < e.length; r++)e[r] = Math.round(2.55 * parseFloat(o[r + 1])); n = parseFloat(o[4]) } else if (o = t.match(/(\w+)/)) { if ("transparent" == o[1]) return [0, 0, 0, 0]; if (!(e = i[o[1]])) return } for (r = 0; r < e.length; r++)e[r] = u(e[r], 0, 255); return n = n || 0 == n ? u(n, 0, 1) : 1, e[3] = n, e } } function r(t) { if (t) { var e = t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/); if (e) { var n = parseFloat(e[4]); return [u(parseInt(e[1]), 0, 360), u(parseFloat(e[2]), 0, 100), u(parseFloat(e[3]), 0, 100), u(isNaN(n) ? 1 : n, 0, 1)] } } } function l(t) { if (t) { var e = t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/); if (e) { var n = parseFloat(e[4]); return [u(parseInt(e[1]), 0, 360), u(parseFloat(e[2]), 0, 100), u(parseFloat(e[3]), 0, 100), u(isNaN(n) ? 1 : n, 0, 1)] } } } function a(t, e) { return void 0 === e && (e = void 0 !== t[3] ? t[3] : 1), "rgba(" + t[0] + ", " + t[1] + ", " + t[2] + ", " + e + ")" } function s(t, e) { return "rgba(" + Math.round(t[0] / 255 * 100) + "%, " + Math.round(t[1] / 255 * 100) + "%, " + Math.round(t[2] / 255 * 100) + "%, " + (e || t[3] || 1) + ")" } function c(t, e) { return void 0 === e && (e = void 0 !== t[3] ? t[3] : 1), "hsla(" + t[0] + ", " + t[1] + "%, " + t[2] + "%, " + e + ")" } function u(t, e, n) { return Math.min(Math.max(e, t), n) } function d(t) { var e = t.toString(16).toUpperCase(); return e.length < 2 ? "0" + e : e } e.exports = { getRgba: o, getHsla: r, getRgb: function (t) { var e = o(t); return e && e.slice(0, 3) }, getHsl: function (t) { var e = r(t); return e && e.slice(0, 3) }, getHwb: l, getAlpha: function (t) { var e = o(t); if (e) return e[3]; if (e = r(t)) return e[3]; if (e = l(t)) return e[3] }, hexString: function (t) { return "#" + d(t[0]) + d(t[1]) + d(t[2]) }, rgbString: function (t, e) { if (e < 1 || t[3] && t[3] < 1) return a(t, e); return "rgb(" + t[0] + ", " + t[1] + ", " + t[2] + ")" }, rgbaString: a, percentString: function (t, e) { if (e < 1 || t[3] && t[3] < 1) return s(t, e); var n = Math.round(t[0] / 255 * 100), i = Math.round(t[1] / 255 * 100), o = Math.round(t[2] / 255 * 100); return "rgb(" + n + "%, " + i + "%, " + o + "%)" }, percentaString: s, hslString: function (t, e) { if (e < 1 || t[3] && t[3] < 1) return c(t, e); return "hsl(" + t[0] + ", " + t[1] + "%, " + t[2] + "%)" }, hslaString: c, hwbString: function (t, e) { void 0 === e && (e = void 0 !== t[3] ? t[3] : 1); return "hwb(" + t[0] + ", " + t[1] + "%, " + t[2] + "%" + (void 0 !== e && 1 !== e ? ", " + e : "") + ")" }, keyword: function (t) { return h[t.slice(0, 3)] } }; var h = {}; for (var f in i) h[i[f]] = f }, { 6: 6 }], 3: [function (t, e, n) { var i = t(5), r = t(2), l = function t(e) { return e instanceof t ? e : this instanceof t ? (this.valid = !1, this.values = { rgb: [0, 0, 0], hsl: [0, 0, 0], hsv: [0, 0, 0], hwb: [0, 0, 0], cmyk: [0, 0, 0, 0], alpha: 1 }, void ("string" == typeof e ? (n = r.getRgba(e)) ? this.setValues("rgb", n) : (n = r.getHsla(e)) ? this.setValues("hsl", n) : (n = r.getHwb(e)) && this.setValues("hwb", n) : "object" === o(e) && (void 0 !== (n = e).r || void 0 !== n.red ? this.setValues("rgb", n) : void 0 !== n.l || void 0 !== n.lightness ? this.setValues("hsl", n) : void 0 !== n.v || void 0 !== n.value ? this.setValues("hsv", n) : void 0 !== n.w || void 0 !== n.whiteness ? this.setValues("hwb", n) : void 0 === n.c && void 0 === n.cyan || this.setValues("cmyk", n)))) : new t(e); var n }; (l.prototype = { isValid: function () { return this.valid }, rgb: function () { return this.setSpace("rgb", arguments) }, hsl: function () { return this.setSpace("hsl", arguments) }, hsv: function () { return this.setSpace("hsv", arguments) }, hwb: function () { return this.setSpace("hwb", arguments) }, cmyk: function () { return this.setSpace("cmyk", arguments) }, rgbArray: function () { return this.values.rgb }, hslArray: function () { return this.values.hsl }, hsvArray: function () { return this.values.hsv }, hwbArray: function () { var t = this.values; return 1 !== t.alpha ? t.hwb.concat([t.alpha]) : t.hwb }, cmykArray: function () { return this.values.cmyk }, rgbaArray: function () { var t = this.values; return t.rgb.concat([t.alpha]) }, hslaArray: function () { var t = this.values; return t.hsl.concat([t.alpha]) }, alpha: function (t) { return void 0 === t ? this.values.alpha : (this.setValues("alpha", t), this) }, red: function (t) { return this.setChannel("rgb", 0, t) }, green: function (t) { return this.setChannel("rgb", 1, t) }, blue: function (t) { return this.setChannel("rgb", 2, t) }, hue: function (t) { return t && (t = (t %= 360) < 0 ? 360 + t : t), this.setChannel("hsl", 0, t) }, saturation: function (t) { return this.setChannel("hsl", 1, t) }, lightness: function (t) { return this.setChannel("hsl", 2, t) }, saturationv: function (t) { return this.setChannel("hsv", 1, t) }, whiteness: function (t) { return this.setChannel("hwb", 1, t) }, blackness: function (t) { return this.setChannel("hwb", 2, t) }, value: function (t) { return this.setChannel("hsv", 2, t) }, cyan: function (t) { return this.setChannel("cmyk", 0, t) }, magenta: function (t) { return this.setChannel("cmyk", 1, t) }, yellow: function (t) { return this.setChannel("cmyk", 2, t) }, black: function (t) { return this.setChannel("cmyk", 3, t) }, hexString: function () { return r.hexString(this.values.rgb) }, rgbString: function () { return r.rgbString(this.values.rgb, this.values.alpha) }, rgbaString: function () { return r.rgbaString(this.values.rgb, this.values.alpha) }, percentString: function () { return r.percentString(this.values.rgb, this.values.alpha) }, hslString: function () { return r.hslString(this.values.hsl, this.values.alpha) }, hslaString: function () { return r.hslaString(this.values.hsl, this.values.alpha) }, hwbString: function () { return r.hwbString(this.values.hwb, this.values.alpha) }, keyword: function () { return r.keyword(this.values.rgb, this.values.alpha) }, rgbNumber: function () { var t = this.values.rgb; return t[0] << 16 | t[1] << 8 | t[2] }, luminosity: function () { for (var t = this.values.rgb, e = [], n = 0; n < t.length; n++) { var i = t[n] / 255; e[n] = i <= .03928 ? i / 12.92 : Math.pow((i + .055) / 1.055, 2.4) } return .2126 * e[0] + .7152 * e[1] + .0722 * e[2] }, contrast: function (t) { var e = this.luminosity(), n = t.luminosity(); return e > n ? (e + .05) / (n + .05) : (n + .05) / (e + .05) }, level: function (t) { var e = this.contrast(t); return e >= 7.1 ? "AAA" : e >= 4.5 ? "AA" : "" }, dark: function () { var t = this.values.rgb; return (299 * t[0] + 587 * t[1] + 114 * t[2]) / 1e3 < 128 }, light: function () { return !this.dark() }, negate: function () { for (var t = [], e = 0; e < 3; e++)t[e] = 255 - this.values.rgb[e]; return this.setValues("rgb", t), this }, lighten: function (t) { var e = this.values.hsl; return e[2] += e[2] * t, this.setValues("hsl", e), this }, darken: function (t) { var e = this.values.hsl; return e[2] -= e[2] * t, this.setValues("hsl", e), this }, saturate: function (t) { var e = this.values.hsl; return e[1] += e[1] * t, this.setValues("hsl", e), this }, desaturate: function (t) { var e = this.values.hsl; return e[1] -= e[1] * t, this.setValues("hsl", e), this }, whiten: function (t) { var e = this.values.hwb; return e[1] += e[1] * t, this.setValues("hwb", e), this }, blacken: function (t) { var e = this.values.hwb; return e[2] += e[2] * t, this.setValues("hwb", e), this }, greyscale: function () { var t = this.values.rgb, e = .3 * t[0] + .59 * t[1] + .11 * t[2]; return this.setValues("rgb", [e, e, e]), this }, clearer: function (t) { var e = this.values.alpha; return this.setValues("alpha", e - e * t), this }, opaquer: function (t) { var e = this.values.alpha; return this.setValues("alpha", e + e * t), this }, rotate: function (t) { var e = this.values.hsl, n = (e[0] + t) % 360; return e[0] = n < 0 ? 360 + n : n, this.setValues("hsl", e), this }, mix: function (t, e) { var n = t, i = void 0 === e ? .5 : e, o = 2 * i - 1, r = this.alpha() - n.alpha(), l = ((o * r == -1 ? o : (o + r) / (1 + o * r)) + 1) / 2, a = 1 - l; return this.rgb(l * this.red() + a * n.red(), l * this.green() + a * n.green(), l * this.blue() + a * n.blue()).alpha(this.alpha() * i + n.alpha() * (1 - i)) }, toJSON: function () { return this.rgb() }, clone: function () { var t, e, n = new l, i = this.values, o = n.values; for (var r in i) i.hasOwnProperty(r) && (t = i[r], "[object Array]" === (e = {}.toString.call(t)) ? o[r] = t.slice(0) : "[object Number]" === e ? o[r] = t : console.error("unexpected color value:", t)); return n } }).spaces = { rgb: ["red", "green", "blue"], hsl: ["hue", "saturation", "lightness"], hsv: ["hue", "saturation", "value"], hwb: ["hue", "whiteness", "blackness"], cmyk: ["cyan", "magenta", "yellow", "black"] }, l.prototype.maxes = { rgb: [255, 255, 255], hsl: [360, 100, 100], hsv: [360, 100, 100], hwb: [360, 100, 100], cmyk: [100, 100, 100, 100] }, l.prototype.getValues = function (t) { for (var e = this.values, n = {}, i = 0; i < t.length; i++)n[t.charAt(i)] = e[t][i]; return 1 !== e.alpha && (n.a = e.alpha), n }, l.prototype.setValues = function (t, e) { var n, o, r = this.values, l = this.spaces, a = this.maxes, s = 1; if (this.valid = !0, "alpha" === t) s = e; else if (e.length) r[t] = e.slice(0, t.length), s = e[t.length]; else if (void 0 !== e[t.charAt(0)]) { for (n = 0; n < t.length; n++)r[t][n] = e[t.charAt(n)]; s = e.a } else if (void 0 !== e[l[t][0]]) { var c = l[t]; for (n = 0; n < t.length; n++)r[t][n] = e[c[n]]; s = e.alpha } if (r.alpha = Math.max(0, Math.min(1, void 0 === s ? r.alpha : s)), "alpha" === t) return !1; for (n = 0; n < t.length; n++)o = Math.max(0, Math.min(a[t][n], r[t][n])), r[t][n] = Math.round(o); for (var u in l) u !== t && (r[u] = i[t][u](r[t])); return !0 }, l.prototype.setSpace = function (t, e) { var n = e[0]; return void 0 === n ? this.getValues(t) : ("number" == typeof n && (n = Array.prototype.slice.call(e)), this.setValues(t, n), this) }, l.prototype.setChannel = function (t, e, n) { var i = this.values[t]; return void 0 === n ? i[e] : n === i[e] ? this : (i[e] = n, this.setValues(t, i), this) }, "undefined" != typeof window && (window.Color = l), e.exports = l }, { 2: 2, 5: 5 }], 4: [function (t, e, n) { function i(t) { var e, n, i = t[0] / 255, o = t[1] / 255, r = t[2] / 255, l = Math.min(i, o, r), a = Math.max(i, o, r), s = a - l; return a == l ? e = 0 : i == a ? e = (o - r) / s : o == a ? e = 2 + (r - i) / s : r == a && (e = 4 + (i - o) / s), (e = Math.min(60 * e, 360)) < 0 && (e += 360), n = (l + a) / 2, [e, 100 * (a == l ? 0 : n <= .5 ? s / (a + l) : s / (2 - a - l)), 100 * n] } function o(t) { var e, n, i = t[0], o = t[1], r = t[2], l = Math.min(i, o, r), a = Math.max(i, o, r), s = a - l; return n = 0 == a ? 0 : s / a * 1e3 / 10, a == l ? e = 0 : i == a ? e = (o - r) / s : o == a ? e = 2 + (r - i) / s : r == a && (e = 4 + (i - o) / s), (e = Math.min(60 * e, 360)) < 0 && (e += 360), [e, n, a / 255 * 1e3 / 10] } function l(t) { var e = t[0], n = t[1], o = t[2]; return [i(t)[0], 100 * (1 / 255 * Math.min(e, Math.min(n, o))), 100 * (o = 1 - 1 / 255 * Math.max(e, Math.max(n, o)))] } function a(t) { var e, n = t[0] / 255, i = t[1] / 255, o = t[2] / 255; return [100 * ((1 - n - (e = Math.min(1 - n, 1 - i, 1 - o))) / (1 - e) || 0), 100 * ((1 - i - e) / (1 - e) || 0), 100 * ((1 - o - e) / (1 - e) || 0), 100 * e] } function s(t) { return M[JSON.stringify(t)] } function c(t) { var e = t[0] / 255, n = t[1] / 255, i = t[2] / 255; return [100 * (.4124 * (e = e > .04045 ? Math.pow((e + .055) / 1.055, 2.4) : e / 12.92) + .3576 * (n = n > .04045 ? Math.pow((n + .055) / 1.055, 2.4) : n / 12.92) + .1805 * (i = i > .04045 ? Math.pow((i + .055) / 1.055, 2.4) : i / 12.92)), 100 * (.2126 * e + .7152 * n + .0722 * i), 100 * (.0193 * e + .1192 * n + .9505 * i)] } function u(t) { var e = c(t), n = e[0], i = e[1], o = e[2]; return i /= 100, o /= 108.883, n = (n /= 95.047) > .008856 ? Math.pow(n, 1 / 3) : 7.787 * n + 16 / 116, [116 * (i = i > .008856 ? Math.pow(i, 1 / 3) : 7.787 * i + 16 / 116) - 16, 500 * (n - i), 200 * (i - (o = o > .008856 ? Math.pow(o, 1 / 3) : 7.787 * o + 16 / 116))] } function d(t) { var e, n, i, o, r, l = t[0] / 360, a = t[1] / 100, s = t[2] / 100; if (0 == a) return [r = 255 * s, r, r]; e = 2 * s - (n = s < .5 ? s * (1 + a) : s + a - s * a), o = [0, 0, 0]; for (var c = 0; c < 3; c++)(i = l + 1 / 3 * -(c - 1)) < 0 && i++, i > 1 && i--, r = 6 * i < 1 ? e + 6 * (n - e) * i : 2 * i < 1 ? n : 3 * i < 2 ? e + (n - e) * (2 / 3 - i) * 6 : e, o[c] = 255 * r; return o } function h(t) { var e = t[0] / 60, n = t[1] / 100, i = t[2] / 100, o = Math.floor(e) % 6, r = e - Math.floor(e), l = 255 * i * (1 - n), a = 255 * i * (1 - n * r), s = 255 * i * (1 - n * (1 - r)); i *= 255; switch (o) { case 0: return [i, s, l]; case 1: return [a, i, l]; case 2: return [l, i, s]; case 3: return [l, a, i]; case 4: return [s, l, i]; case 5: return [i, l, a] } } function f(t) { var e, n, i, o, l = t[0] / 360, a = t[1] / 100, s = t[2] / 100, c = a + s; switch (c > 1 && (a /= c, s /= c), i = 6 * l - (e = Math.floor(6 * l)), 0 != (1 & e) && (i = 1 - i), o = a + i * ((n = 1 - s) - a), e) { default: case 6: case 0: r = n, g = o, b = a; break; case 1: r = o, g = n, b = a; break; case 2: r = a, g = n, b = o; break; case 3: r = a, g = o, b = n; break; case 4: r = o, g = a, b = n; break; case 5: r = n, g = a, b = o }return [255 * r, 255 * g, 255 * b] } function p(t) { var e = t[0] / 100, n = t[1] / 100, i = t[2] / 100, o = t[3] / 100; return [255 * (1 - Math.min(1, e * (1 - o) + o)), 255 * (1 - Math.min(1, n * (1 - o) + o)), 255 * (1 - Math.min(1, i * (1 - o) + o))] } function m(t) { var e, n, i, o = t[0] / 100, r = t[1] / 100, l = t[2] / 100; return n = -.9689 * o + 1.8758 * r + .0415 * l, i = .0557 * o + -.204 * r + 1.057 * l, e = (e = 3.2406 * o + -1.5372 * r + -.4986 * l) > .0031308 ? 1.055 * Math.pow(e, 1 / 2.4) - .055 : e *= 12.92, n = n > .0031308 ? 1.055 * Math.pow(n, 1 / 2.4) - .055 : n *= 12.92, i = i > .0031308 ? 1.055 * Math.pow(i, 1 / 2.4) - .055 : i *= 12.92, [255 * (e = Math.min(Math.max(0, e), 1)), 255 * (n = Math.min(Math.max(0, n), 1)), 255 * (i = Math.min(Math.max(0, i), 1))] } function v(t) { var e = t[0], n = t[1], i = t[2]; return n /= 100, i /= 108.883, e = (e /= 95.047) > .008856 ? Math.pow(e, 1 / 3) : 7.787 * e + 16 / 116, [116 * (n = n > .008856 ? Math.pow(n, 1 / 3) : 7.787 * n + 16 / 116) - 16, 500 * (e - n), 200 * (n - (i = i > .008856 ? Math.pow(i, 1 / 3) : 7.787 * i + 16 / 116))] } function y(t) { var e, n, i, o, r = t[0], l = t[1], a = t[2]; return r <= 8 ? o = (n = 100 * r / 903.3) / 100 * 7.787 + 16 / 116 : (n = 100 * Math.pow((r + 16) / 116, 3), o = Math.pow(n / 100, 1 / 3)), [e = e / 95.047 <= .008856 ? e = 95.047 * (l / 500 + o - 16 / 116) / 7.787 : 95.047 * Math.pow(l / 500 + o, 3), n, i = i / 108.883 <= .008859 ? i = 108.883 * (o - a / 200 - 16 / 116) / 7.787 : 108.883 * Math.pow(o - a / 200, 3)] } function w(t) { var e, n = t[0], i = t[1], o = t[2]; return (e = 360 * Math.atan2(o, i) / 2 / Math.PI) < 0 && (e += 360), [n, Math.sqrt(i * i + o * o), e] } function x(t) { return m(y(t)) } function k(t) { var e, n = t[0], i = t[1]; return e = t[2] / 360 * 2 * Math.PI, [n, i * Math.cos(e), i * Math.sin(e)] } function S(t) { return C[t] } e.exports = { rgb2hsl: i, rgb2hsv: o, rgb2hwb: l, rgb2cmyk: a, rgb2keyword: s, rgb2xyz: c, rgb2lab: u, rgb2lch: function (t) { return w(u(t)) }, hsl2rgb: d, hsl2hsv: function (t) { var e = t[0], n = t[1] / 100, i = t[2] / 100; if (0 === i) return [0, 0, 0]; return [e, 100 * (2 * (n *= (i *= 2) <= 1 ? i : 2 - i) / (i + n)), 100 * ((i + n) / 2)] }, hsl2hwb: function (t) { return l(d(t)) }, hsl2cmyk: function (t) { return a(d(t)) }, hsl2keyword: function (t) { return s(d(t)) }, hsv2rgb: h, hsv2hsl: function (t) { var e, n, i = t[0], o = t[1] / 100, r = t[2] / 100; return e = o * r, [i, 100 * (e = (e /= (n = (2 - o) * r) <= 1 ? n : 2 - n) || 0), 100 * (n /= 2)] }, hsv2hwb: function (t) { return l(h(t)) }, hsv2cmyk: function (t) { return a(h(t)) }, hsv2keyword: function (t) { return s(h(t)) }, hwb2rgb: f, hwb2hsl: function (t) { return i(f(t)) }, hwb2hsv: function (t) { return o(f(t)) }, hwb2cmyk: function (t) { return a(f(t)) }, hwb2keyword: function (t) { return s(f(t)) }, cmyk2rgb: p, cmyk2hsl: function (t) { return i(p(t)) }, cmyk2hsv: function (t) { return o(p(t)) }, cmyk2hwb: function (t) { return l(p(t)) }, cmyk2keyword: function (t) { return s(p(t)) }, keyword2rgb: S, keyword2hsl: function (t) { return i(S(t)) }, keyword2hsv: function (t) { return o(S(t)) }, keyword2hwb: function (t) { return l(S(t)) }, keyword2cmyk: function (t) { return a(S(t)) }, keyword2lab: function (t) { return u(S(t)) }, keyword2xyz: function (t) { return c(S(t)) }, xyz2rgb: m, xyz2lab: v, xyz2lch: function (t) { return w(v(t)) }, lab2xyz: y, lab2rgb: x, lab2lch: w, lch2lab: k, lch2xyz: function (t) { return y(k(t)) }, lch2rgb: function (t) { return x(k(t)) } }; var C = { aliceblue: [240, 248, 255], antiquewhite: [250, 235, 215], aqua: [0, 255, 255], aquamarine: [127, 255, 212], azure: [240, 255, 255], beige: [245, 245, 220], bisque: [255, 228, 196], black: [0, 0, 0], blanchedalmond: [255, 235, 205], blue: [0, 0, 255], blueviolet: [138, 43, 226], brown: [165, 42, 42], burlywood: [222, 184, 135], cadetblue: [95, 158, 160], chartreuse: [127, 255, 0], chocolate: [210, 105, 30], coral: [255, 127, 80], cornflowerblue: [100, 149, 237], cornsilk: [255, 248, 220], crimson: [220, 20, 60], cyan: [0, 255, 255], darkblue: [0, 0, 139], darkcyan: [0, 139, 139], darkgoldenrod: [184, 134, 11], darkgray: [169, 169, 169], darkgreen: [0, 100, 0], darkgrey: [169, 169, 169], darkkhaki: [189, 183, 107], darkmagenta: [139, 0, 139], darkolivegreen: [85, 107, 47], darkorange: [255, 140, 0], darkorchid: [153, 50, 204], darkred: [139, 0, 0], darksalmon: [233, 150, 122], darkseagreen: [143, 188, 143], darkslateblue: [72, 61, 139], darkslategray: [47, 79, 79], darkslategrey: [47, 79, 79], darkturquoise: [0, 206, 209], darkviolet: [148, 0, 211], deeppink: [255, 20, 147], deepskyblue: [0, 191, 255], dimgray: [105, 105, 105], dimgrey: [105, 105, 105], dodgerblue: [30, 144, 255], firebrick: [178, 34, 34], floralwhite: [255, 250, 240], forestgreen: [34, 139, 34], fuchsia: [255, 0, 255], gainsboro: [220, 220, 220], ghostwhite: [248, 248, 255], gold: [255, 215, 0], goldenrod: [218, 165, 32], gray: [128, 128, 128], green: [0, 128, 0], greenyellow: [173, 255, 47], grey: [128, 128, 128], honeydew: [240, 255, 240], hotpink: [255, 105, 180], indianred: [205, 92, 92], indigo: [75, 0, 130], ivory: [255, 255, 240], khaki: [240, 230, 140], lavender: [230, 230, 250], lavenderblush: [255, 240, 245], lawngreen: [124, 252, 0], lemonchiffon: [255, 250, 205], lightblue: [173, 216, 230], lightcoral: [240, 128, 128], lightcyan: [224, 255, 255], lightgoldenrodyellow: [250, 250, 210], lightgray: [211, 211, 211], lightgreen: [144, 238, 144], lightgrey: [211, 211, 211], lightpink: [255, 182, 193], lightsalmon: [255, 160, 122], lightseagreen: [32, 178, 170], lightskyblue: [135, 206, 250], lightslategray: [119, 136, 153], lightslategrey: [119, 136, 153], lightsteelblue: [176, 196, 222], lightyellow: [255, 255, 224], lime: [0, 255, 0], limegreen: [50, 205, 50], linen: [250, 240, 230], magenta: [255, 0, 255], maroon: [128, 0, 0], mediumaquamarine: [102, 205, 170], mediumblue: [0, 0, 205], mediumorchid: [186, 85, 211], mediumpurple: [147, 112, 219], mediumseagreen: [60, 179, 113], mediumslateblue: [123, 104, 238], mediumspringgreen: [0, 250, 154], mediumturquoise: [72, 209, 204], mediumvioletred: [199, 21, 133], midnightblue: [25, 25, 112], mintcream: [245, 255, 250], mistyrose: [255, 228, 225], moccasin: [255, 228, 181], navajowhite: [255, 222, 173], navy: [0, 0, 128], oldlace: [253, 245, 230], olive: [128, 128, 0], olivedrab: [107, 142, 35], orange: [255, 165, 0], orangered: [255, 69, 0], orchid: [218, 112, 214], palegoldenrod: [238, 232, 170], palegreen: [152, 251, 152], paleturquoise: [175, 238, 238], palevioletred: [219, 112, 147], papayawhip: [255, 239, 213], peachpuff: [255, 218, 185], peru: [205, 133, 63], pink: [255, 192, 203], plum: [221, 160, 221], powderblue: [176, 224, 230], purple: [128, 0, 128], rebeccapurple: [102, 51, 153], red: [255, 0, 0], rosybrown: [188, 143, 143], royalblue: [65, 105, 225], saddlebrown: [139, 69, 19], salmon: [250, 128, 114], sandybrown: [244, 164, 96], seagreen: [46, 139, 87], seashell: [255, 245, 238], sienna: [160, 82, 45], silver: [192, 192, 192], skyblue: [135, 206, 235], slateblue: [106, 90, 205], slategray: [112, 128, 144], slategrey: [112, 128, 144], snow: [255, 250, 250], springgreen: [0, 255, 127], steelblue: [70, 130, 180], tan: [210, 180, 140], teal: [0, 128, 128], thistle: [216, 191, 216], tomato: [255, 99, 71], turquoise: [64, 224, 208], violet: [238, 130, 238], wheat: [245, 222, 179], white: [255, 255, 255], whitesmoke: [245, 245, 245], yellow: [255, 255, 0], yellowgreen: [154, 205, 50] }, M = {}; for (var _ in C) M[JSON.stringify(C[_])] = _ }, {}], 5: [function (t, e, n) { var i = t(4), o = function () { return new c }; for (var r in i) { o[r + "Raw"] = function (t) { return function (e) { return "number" == typeof e && (e = Array.prototype.slice.call(arguments)), i[t](e) } }(r); var l = /(\w+)2(\w+)/.exec(r), a = l[1], s = l[2]; (o[a] = o[a] || {})[s] = o[r] = function (t) { return function (e) { "number" == typeof e && (e = Array.prototype.slice.call(arguments)); var n = i[t](e); if ("string" == typeof n || void 0 === n) return n; for (var o = 0; o < n.length; o++)n[o] = Math.round(n[o]); return n } }(r) } var c = function () { this.convs = {} }; c.prototype.routeSpace = function (t, e) { var n = e[0]; return void 0 === n ? this.getValues(t) : ("number" == typeof n && (n = Array.prototype.slice.call(e)), this.setValues(t, n)) }, c.prototype.setValues = function (t, e) { return this.space = t, this.convs = {}, this.convs[t] = e, this }, c.prototype.getValues = function (t) { var e = this.convs[t]; if (!e) { var n = this.space, i = this.convs[n]; e = o[n][t](i), this.convs[t] = e } return e }, ["rgb", "hsl", "hsv", "cmyk", "keyword"].forEach((function (t) { c.prototype[t] = function (e) { return this.routeSpace(t, arguments) } })), e.exports = o }, { 4: 4 }], 6: [function (t, e, n) { e.exports = { aliceblue: [240, 248, 255], antiquewhite: [250, 235, 215], aqua: [0, 255, 255], aquamarine: [127, 255, 212], azure: [240, 255, 255], beige: [245, 245, 220], bisque: [255, 228, 196], black: [0, 0, 0], blanchedalmond: [255, 235, 205], blue: [0, 0, 255], blueviolet: [138, 43, 226], brown: [165, 42, 42], burlywood: [222, 184, 135], cadetblue: [95, 158, 160], chartreuse: [127, 255, 0], chocolate: [210, 105, 30], coral: [255, 127, 80], cornflowerblue: [100, 149, 237], cornsilk: [255, 248, 220], crimson: [220, 20, 60], cyan: [0, 255, 255], darkblue: [0, 0, 139], darkcyan: [0, 139, 139], darkgoldenrod: [184, 134, 11], darkgray: [169, 169, 169], darkgreen: [0, 100, 0], darkgrey: [169, 169, 169], darkkhaki: [189, 183, 107], darkmagenta: [139, 0, 139], darkolivegreen: [85, 107, 47], darkorange: [255, 140, 0], darkorchid: [153, 50, 204], darkred: [139, 0, 0], darksalmon: [233, 150, 122], darkseagreen: [143, 188, 143], darkslateblue: [72, 61, 139], darkslategray: [47, 79, 79], darkslategrey: [47, 79, 79], darkturquoise: [0, 206, 209], darkviolet: [148, 0, 211], deeppink: [255, 20, 147], deepskyblue: [0, 191, 255], dimgray: [105, 105, 105], dimgrey: [105, 105, 105], dodgerblue: [30, 144, 255], firebrick: [178, 34, 34], floralwhite: [255, 250, 240], forestgreen: [34, 139, 34], fuchsia: [255, 0, 255], gainsboro: [220, 220, 220], ghostwhite: [248, 248, 255], gold: [255, 215, 0], goldenrod: [218, 165, 32], gray: [128, 128, 128], green: [0, 128, 0], greenyellow: [173, 255, 47], grey: [128, 128, 128], honeydew: [240, 255, 240], hotpink: [255, 105, 180], indianred: [205, 92, 92], indigo: [75, 0, 130], ivory: [255, 255, 240], khaki: [240, 230, 140], lavender: [230, 230, 250], lavenderblush: [255, 240, 245], lawngreen: [124, 252, 0], lemonchiffon: [255, 250, 205], lightblue: [173, 216, 230], lightcoral: [240, 128, 128], lightcyan: [224, 255, 255], lightgoldenrodyellow: [250, 250, 210], lightgray: [211, 211, 211], lightgreen: [144, 238, 144], lightgrey: [211, 211, 211], lightpink: [255, 182, 193], lightsalmon: [255, 160, 122], lightseagreen: [32, 178, 170], lightskyblue: [135, 206, 250], lightslategray: [119, 136, 153], lightslategrey: [119, 136, 153], lightsteelblue: [176, 196, 222], lightyellow: [255, 255, 224], lime: [0, 255, 0], limegreen: [50, 205, 50], linen: [250, 240, 230], magenta: [255, 0, 255], maroon: [128, 0, 0], mediumaquamarine: [102, 205, 170], mediumblue: [0, 0, 205], mediumorchid: [186, 85, 211], mediumpurple: [147, 112, 219], mediumseagreen: [60, 179, 113], mediumslateblue: [123, 104, 238], mediumspringgreen: [0, 250, 154], mediumturquoise: [72, 209, 204], mediumvioletred: [199, 21, 133], midnightblue: [25, 25, 112], mintcream: [245, 255, 250], mistyrose: [255, 228, 225], moccasin: [255, 228, 181], navajowhite: [255, 222, 173], navy: [0, 0, 128], oldlace: [253, 245, 230], olive: [128, 128, 0], olivedrab: [107, 142, 35], orange: [255, 165, 0], orangered: [255, 69, 0], orchid: [218, 112, 214], palegoldenrod: [238, 232, 170], palegreen: [152, 251, 152], paleturquoise: [175, 238, 238], palevioletred: [219, 112, 147], papayawhip: [255, 239, 213], peachpuff: [255, 218, 185], peru: [205, 133, 63], pink: [255, 192, 203], plum: [221, 160, 221], powderblue: [176, 224, 230], purple: [128, 0, 128], rebeccapurple: [102, 51, 153], red: [255, 0, 0], rosybrown: [188, 143, 143], royalblue: [65, 105, 225], saddlebrown: [139, 69, 19], salmon: [250, 128, 114], sandybrown: [244, 164, 96], seagreen: [46, 139, 87], seashell: [255, 245, 238], sienna: [160, 82, 45], silver: [192, 192, 192], skyblue: [135, 206, 235], slateblue: [106, 90, 205], slategray: [112, 128, 144], slategrey: [112, 128, 144], snow: [255, 250, 250], springgreen: [0, 255, 127], steelblue: [70, 130, 180], tan: [210, 180, 140], teal: [0, 128, 128], thistle: [216, 191, 216], tomato: [255, 99, 71], turquoise: [64, 224, 208], violet: [238, 130, 238], wheat: [245, 222, 179], white: [255, 255, 255], whitesmoke: [245, 245, 245], yellow: [255, 255, 0], yellowgreen: [154, 205, 50] } }, {}], 7: [function (t, e, n) { var i = t(30)(); i.helpers = t(46), t(28)(i), i.Animation = t(22), i.animationService = t(23), i.defaults = t(26), i.Element = t(27), i.elements = t(41), i.Interaction = t(29), i.layouts = t(31), i.platform = t(49), i.plugins = t(32), i.Scale = t(33), i.scaleService = t(34), i.Ticks = t(35), i.Tooltip = t(36), t(24)(i), t(25)(i), t(56)(i), t(54)(i), t(55)(i), t(57)(i), t(58)(i), t(59)(i), t(15)(i), t(16)(i), t(17)(i), t(18)(i), t(19)(i), t(20)(i), t(21)(i), t(8)(i), t(9)(i), t(10)(i), t(11)(i), t(12)(i), t(13)(i), t(14)(i); var o = t(50); for (var r in o) o.hasOwnProperty(r) && i.plugins.register(o[r]); i.platform.initialize(), e.exports = i, "undefined" != typeof window && (window.Chart = i), i.Legend = o.legend._element, i.Title = o.title._element, i.pluginService = i.plugins, i.PluginBase = i.Element.extend({}), i.canvasHelpers = i.helpers.canvas, i.layoutService = i.layouts }, { 10: 10, 11: 11, 12: 12, 13: 13, 14: 14, 15: 15, 16: 16, 17: 17, 18: 18, 19: 19, 20: 20, 21: 21, 22: 22, 23: 23, 24: 24, 25: 25, 26: 26, 27: 27, 28: 28, 29: 29, 30: 30, 31: 31, 32: 32, 33: 33, 34: 34, 35: 35, 36: 36, 41: 41, 46: 46, 49: 49, 50: 50, 54: 54, 55: 55, 56: 56, 57: 57, 58: 58, 59: 59, 8: 8, 9: 9 }], 8: [function (t, e, n) { e.exports = function (t) { t.Bar = function (e, n) { return n.type = "bar", new t(e, n) } } }, {}], 9: [function (t, e, n) { e.exports = function (t) { t.Bubble = function (e, n) { return n.type = "bubble", new t(e, n) } } }, {}], 10: [function (t, e, n) { e.exports = function (t) { t.Doughnut = function (e, n) { return n.type = "doughnut", new t(e, n) } } }, {}], 11: [function (t, e, n) { e.exports = function (t) { t.Line = function (e, n) { return n.type = "line", new t(e, n) } } }, {}], 12: [function (t, e, n) { e.exports = function (t) { t.PolarArea = function (e, n) { return n.type = "polarArea", new t(e, n) } } }, {}], 13: [function (t, e, n) { e.exports = function (t) { t.Radar = function (e, n) { return n.type = "radar", new t(e, n) } } }, {}], 14: [function (t, e, n) { e.exports = function (t) { t.Scatter = function (e, n) { return n.type = "scatter", new t(e, n) } } }, {}], 15: [function (t, e, n) { var i = t(26), o = t(41), r = t(46); i._set("bar", { hover: { mode: "label" }, scales: { xAxes: [{ type: "category", categoryPercentage: .8, barPercentage: .9, offset: !0, gridLines: { offsetGridLines: !0 } }], yAxes: [{ type: "linear" }] } }), i._set("horizontalBar", { hover: { mode: "index", axis: "y" }, scales: { xAxes: [{ type: "linear", position: "bottom" }], yAxes: [{ position: "left", type: "category", categoryPercentage: .8, barPercentage: .9, offset: !0, gridLines: { offsetGridLines: !0 } }] }, elements: { rectangle: { borderSkipped: "left" } }, tooltips: { callbacks: { title: function (t, e) { var n = ""; return t.length > 0 && (t[0].yLabel ? n = t[0].yLabel : e.labels.length > 0 && t[0].index < e.labels.length && (n = e.labels[t[0].index])), n }, label: function (t, e) { return (e.datasets[t.datasetIndex].label || "") + ": " + t.xLabel } }, mode: "index", axis: "y" } }), e.exports = function (t) { t.controllers.bar = t.DatasetController.extend({ dataElementType: o.Rectangle, initialize: function () { var e, n = this; t.DatasetController.prototype.initialize.apply(n, arguments), (e = n.getMeta()).stack = n.getDataset().stack, e.bar = !0 }, update: function (t) { var e, n, i = this.getMeta().data; for (this._ruler = this.getRuler(), e = 0, n = i.length; e < n; ++e)this.updateElement(i[e], e, t) }, updateElement: function (t, e, n) { var i = this, o = i.chart, l = i.getMeta(), a = i.getDataset(), s = t.custom || {}, c = o.options.elements.rectangle; t._xScale = i.getScaleForId(l.xAxisID), t._yScale = i.getScaleForId(l.yAxisID), t._datasetIndex = i.index, t._index = e, t._model = { datasetLabel: a.label, label: o.data.labels[e], borderSkipped: s.borderSkipped ? s.borderSkipped : c.borderSkipped, backgroundColor: s.backgroundColor ? s.backgroundColor : r.valueAtIndexOrDefault(a.backgroundColor, e, c.backgroundColor), borderColor: s.borderColor ? s.borderColor : r.valueAtIndexOrDefault(a.borderColor, e, c.borderColor), borderWidth: s.borderWidth ? s.borderWidth : r.valueAtIndexOrDefault(a.borderWidth, e, c.borderWidth) }, i.updateElementGeometry(t, e, n), t.pivot() }, updateElementGeometry: function (t, e, n) { var i = this, o = t._model, r = i.getValueScale(), l = r.getBasePixel(), a = r.isHorizontal(), s = i._ruler || i.getRuler(), c = i.calculateBarValuePixels(i.index, e), u = i.calculateBarIndexPixels(i.index, e, s); o.horizontal = a, o.base = n ? l : c.base, o.x = a ? n ? l : c.head : u.center, o.y = a ? u.center : n ? l : c.head, o.height = a ? u.size : void 0, o.width = a ? void 0 : u.size }, getValueScaleId: function () { return this.getMeta().yAxisID }, getIndexScaleId: function () { return this.getMeta().xAxisID }, getValueScale: function () { return this.getScaleForId(this.getValueScaleId()) }, getIndexScale: function () { return this.getScaleForId(this.getIndexScaleId()) }, _getStacks: function (t) { var e, n, i = this.chart, o = this.getIndexScale().options.stacked, r = void 0 === t ? i.data.datasets.length : t + 1, l = []; for (e = 0; e < r; ++e)(n = i.getDatasetMeta(e)).bar && i.isDatasetVisible(e) && (!1 === o || !0 === o && -1 === l.indexOf(n.stack) || void 0 === o && (void 0 === n.stack || -1 === l.indexOf(n.stack))) && l.push(n.stack); return l }, getStackCount: function () { return this._getStacks().length }, getStackIndex: function (t, e) { var n = this._getStacks(t), i = void 0 !== e ? n.indexOf(e) : -1; return -1 === i ? n.length - 1 : i }, getRuler: function () { var t, e, n = this.getIndexScale(), i = this.getStackCount(), o = this.index, l = n.isHorizontal(), a = l ? n.left : n.top, s = a + (l ? n.width : n.height), c = []; for (t = 0, e = this.getMeta().data.length; t < e; ++t)c.push(n.getPixelForValue(null, t, o)); return { min: r.isNullOrUndef(n.options.barThickness) ? function (t, e) { var n, i, o, r, l = t.isHorizontal() ? t.width : t.height, a = t.getTicks(); for (o = 1, r = e.length; o < r; ++o)l = Math.min(l, e[o] - e[o - 1]); for (o = 0, r = a.length; o < r; ++o)i = t.getPixelForTick(o), l = o > 0 ? Math.min(l, i - n) : l, n = i; return l }(n, c) : -1, pixels: c, start: a, end: s, stackCount: i, scale: n } }, calculateBarValuePixels: function (t, e) { var n, i, o, r, l, a, s = this.chart, c = this.getMeta(), u = this.getValueScale(), d = s.data.datasets, h = u.getRightValue(d[t].data[e]), f = u.options.stacked, p = c.stack, m = 0; if (f || void 0 === f && void 0 !== p) for (n = 0; n < t; ++n)(i = s.getDatasetMeta(n)).bar && i.stack === p && i.controller.getValueScaleId() === u.id && s.isDatasetVisible(n) && (o = u.getRightValue(d[n].data[e]), (h < 0 && o < 0 || h >= 0 && o > 0) && (m += o)); return r = u.getPixelForValue(m), { size: a = ((l = u.getPixelForValue(m + h)) - r) / 2, base: r, head: l, center: l + a / 2 } }, calculateBarIndexPixels: function (t, e, n) { var i = n.scale.options, o = "flex" === i.barThickness ? function (t, e, n) { var i, o = e.pixels, r = o[t], l = t > 0 ? o[t - 1] : null, a = t < o.length - 1 ? o[t + 1] : null, s = n.categoryPercentage; return null === l && (l = r - (null === a ? e.end - r : a - r)), null === a && (a = r + r - l), i = r - (r - l) / 2 * s, { chunk: (a - l) / 2 * s / e.stackCount, ratio: n.barPercentage, start: i } }(e, n, i) : function (t, e, n) { var i, o, l = n.barThickness, a = e.stackCount, s = e.pixels[t]; return r.isNullOrUndef(l) ? (i = e.min * n.categoryPercentage, o = n.barPercentage) : (i = l * a, o = 1), { chunk: i / a, ratio: o, start: s - i / 2 } }(e, n, i), l = this.getStackIndex(t, this.getMeta().stack), a = o.start + o.chunk * l + o.chunk / 2, s = Math.min(r.valueOrDefault(i.maxBarThickness, 1 / 0), o.chunk * o.ratio); return { base: a - s / 2, head: a + s / 2, center: a, size: s } }, draw: function () { var t = this.chart, e = this.getValueScale(), n = this.getMeta().data, i = this.getDataset(), o = n.length, l = 0; for (r.canvas.clipArea(t.ctx, t.chartArea); l < o; ++l)isNaN(e.getRightValue(i.data[l])) || n[l].draw(); r.canvas.unclipArea(t.ctx) } }), t.controllers.horizontalBar = t.controllers.bar.extend({ getValueScaleId: function () { return this.getMeta().xAxisID }, getIndexScaleId: function () { return this.getMeta().yAxisID } }) } }, { 26: 26, 41: 41, 46: 46 }], 16: [function (t, e, n) { var i = t(26), r = t(41), l = t(46); i._set("bubble", { hover: { mode: "single" }, scales: { xAxes: [{ type: "linear", position: "bottom", id: "x-axis-0" }], yAxes: [{ type: "linear", position: "left", id: "y-axis-0" }] }, tooltips: { callbacks: { title: function () { return "" }, label: function (t, e) { var n = e.datasets[t.datasetIndex].label || "", i = e.datasets[t.datasetIndex].data[t.index]; return n + ": (" + t.xLabel + ", " + t.yLabel + ", " + i.r + ")" } } } }), e.exports = function (t) { t.controllers.bubble = t.DatasetController.extend({ dataElementType: r.Point, update: function (t) { var e = this, n = e.getMeta().data; l.each(n, (function (n, i) { e.updateElement(n, i, t) })) }, updateElement: function (t, e, n) { var i = this, r = i.getMeta(), l = t.custom || {}, a = i.getScaleForId(r.xAxisID), s = i.getScaleForId(r.yAxisID), c = i._resolveElementOptions(t, e), u = i.getDataset().data[e], d = i.index, h = n ? a.getPixelForDecimal(.5) : a.getPixelForValue("object" === o(u) ? u : NaN, e, d), f = n ? s.getBasePixel() : s.getPixelForValue(u, e, d); t._xScale = a, t._yScale = s, t._options = c, t._datasetIndex = d, t._index = e, t._model = { backgroundColor: c.backgroundColor, borderColor: c.borderColor, borderWidth: c.borderWidth, hitRadius: c.hitRadius, pointStyle: c.pointStyle, rotation: c.rotation, radius: n ? 0 : c.radius, skip: l.skip || isNaN(h) || isNaN(f), x: h, y: f }, t.pivot() }, setHoverStyle: function (t) { var e = t._model, n = t._options; t.$previousStyle = { backgroundColor: e.backgroundColor, borderColor: e.borderColor, borderWidth: e.borderWidth, radius: e.radius }, e.backgroundColor = l.valueOrDefault(n.hoverBackgroundColor, l.getHoverColor(n.backgroundColor)), e.borderColor = l.valueOrDefault(n.hoverBorderColor, l.getHoverColor(n.borderColor)), e.borderWidth = l.valueOrDefault(n.hoverBorderWidth, n.borderWidth), e.radius = n.radius + n.hoverRadius }, _resolveElementOptions: function (t, e) { var n, i, o, r = this.chart, a = r.data.datasets[this.index], s = t.custom || {}, c = r.options.elements.point, u = l.options.resolve, d = a.data[e], h = {}, f = { chart: r, dataIndex: e, dataset: a, datasetIndex: this.index }, p = ["backgroundColor", "borderColor", "borderWidth", "hoverBackgroundColor", "hoverBorderColor", "hoverBorderWidth", "hoverRadius", "hitRadius", "pointStyle", "rotation"]; for (n = 0, i = p.length; n < i; ++n)h[o = p[n]] = u([s[o], a[o], c[o]], f, e); return h.radius = u([s.radius, d ? d.r : void 0, a.radius, c.radius], f, e), h } }) } }, { 26: 26, 41: 41, 46: 46 }], 17: [function (t, e, n) { var i = t(26), o = t(41), r = t(46); i._set("doughnut", { animation: { animateRotate: !0, animateScale: !1 }, hover: { mode: "single" }, legendCallback: function (t) { var e = []; e.push('<ul class="' + t.id + '-legend">'); var n = t.data, i = n.datasets, o = n.labels; if (i.length) for (var r = 0; r < i[0].data.length; ++r)e.push('<li><span style="background-color:' + i[0].backgroundColor[r] + '"></span>'), o[r] && e.push(o[r]), e.push("</li>"); return e.push("</ul>"), e.join("") }, legend: { labels: { generateLabels: function (t) { var e = t.data; return e.labels.length && e.datasets.length ? e.labels.map((function (n, i) { var o = t.getDatasetMeta(0), l = e.datasets[0], a = o.data[i], s = a && a.custom || {}, c = r.valueAtIndexOrDefault, u = t.options.elements.arc; return { text: n, fillStyle: s.backgroundColor ? s.backgroundColor : c(l.backgroundColor, i, u.backgroundColor), strokeStyle: s.borderColor ? s.borderColor : c(l.borderColor, i, u.borderColor), lineWidth: s.borderWidth ? s.borderWidth : c(l.borderWidth, i, u.borderWidth), hidden: isNaN(l.data[i]) || o.data[i].hidden, index: i } })) : [] } }, onClick: function (t, e) { var n, i, o, r = e.index, l = this.chart; for (n = 0, i = (l.data.datasets || []).length; n < i; ++n)(o = l.getDatasetMeta(n)).data[r] && (o.data[r].hidden = !o.data[r].hidden); l.update() } }, cutoutPercentage: 50, rotation: -.5 * Math.PI, circumference: 2 * Math.PI, tooltips: { callbacks: { title: function () { return "" }, label: function (t, e) { var n = e.labels[t.index], i = ": " + e.datasets[t.datasetIndex].data[t.index]; return r.isArray(n) ? (n = n.slice())[0] += i : n += i, n } } } }), i._set("pie", r.clone(i.doughnut)), i._set("pie", { cutoutPercentage: 0 }), e.exports = function (t) { t.controllers.doughnut = t.controllers.pie = t.DatasetController.extend({ dataElementType: o.Arc, linkScales: r.noop, getRingIndex: function (t) { for (var e = 0, n = 0; n < t; ++n)this.chart.isDatasetVisible(n) && ++e; return e }, update: function (t) { var e = this, n = e.chart, i = n.chartArea, o = n.options, l = o.elements.arc, a = i.right - i.left - l.borderWidth, s = i.bottom - i.top - l.borderWidth, c = Math.min(a, s), u = { x: 0, y: 0 }, d = e.getMeta(), h = o.cutoutPercentage, f = o.circumference; if (f < 2 * Math.PI) { var p = o.rotation % (2 * Math.PI), m = (p += 2 * Math.PI * (p >= Math.PI ? -1 : p < -Math.PI ? 1 : 0)) + f, g = { x: Math.cos(p), y: Math.sin(p) }, v = { x: Math.cos(m), y: Math.sin(m) }, y = p <= 0 && m >= 0 || p <= 2 * Math.PI && 2 * Math.PI <= m, b = p <= .5 * Math.PI && .5 * Math.PI <= m || p <= 2.5 * Math.PI && 2.5 * Math.PI <= m, w = p <= -Math.PI && -Math.PI <= m || p <= Math.PI && Math.PI <= m, x = p <= .5 * -Math.PI && .5 * -Math.PI <= m || p <= 1.5 * Math.PI && 1.5 * Math.PI <= m, k = h / 100, S = { x: w ? -1 : Math.min(g.x * (g.x < 0 ? 1 : k), v.x * (v.x < 0 ? 1 : k)), y: x ? -1 : Math.min(g.y * (g.y < 0 ? 1 : k), v.y * (v.y < 0 ? 1 : k)) }, C = { x: y ? 1 : Math.max(g.x * (g.x > 0 ? 1 : k), v.x * (v.x > 0 ? 1 : k)), y: b ? 1 : Math.max(g.y * (g.y > 0 ? 1 : k), v.y * (v.y > 0 ? 1 : k)) }, M = { width: .5 * (C.x - S.x), height: .5 * (C.y - S.y) }; c = Math.min(a / M.width, s / M.height), u = { x: -.5 * (C.x + S.x), y: -.5 * (C.y + S.y) } } n.borderWidth = e.getMaxBorderWidth(d.data), n.outerRadius = Math.max((c - n.borderWidth) / 2, 0), n.innerRadius = Math.max(h ? n.outerRadius / 100 * h : 0, 0), n.radiusLength = (n.outerRadius - n.innerRadius) / n.getVisibleDatasetCount(), n.offsetX = u.x * n.outerRadius, n.offsetY = u.y * n.outerRadius, d.total = e.calculateTotal(), e.outerRadius = n.outerRadius - n.radiusLength * e.getRingIndex(e.index), e.innerRadius = Math.max(e.outerRadius - n.radiusLength, 0), r.each(d.data, (function (n, i) { e.updateElement(n, i, t) })) }, updateElement: function (t, e, n) { var i = this, o = i.chart, l = o.chartArea, a = o.options, s = a.animation, c = (l.left + l.right) / 2, u = (l.top + l.bottom) / 2, d = a.rotation, h = a.rotation, f = i.getDataset(), p = n && s.animateRotate ? 0 : t.hidden ? 0 : i.calculateCircumference(f.data[e]) * (a.circumference / (2 * Math.PI)), m = n && s.animateScale ? 0 : i.innerRadius, g = n && s.animateScale ? 0 : i.outerRadius, v = r.valueAtIndexOrDefault; r.extend(t, { _datasetIndex: i.index, _index: e, _model: { x: c + o.offsetX, y: u + o.offsetY, startAngle: d, endAngle: h, circumference: p, outerRadius: g, innerRadius: m, label: v(f.label, e, o.data.labels[e]) } }); var y = t._model, b = t.custom || {}, w = r.valueAtIndexOrDefault, x = this.chart.options.elements.arc; y.backgroundColor = b.backgroundColor ? b.backgroundColor : w(f.backgroundColor, e, x.backgroundColor), y.borderColor = b.borderColor ? b.borderColor : w(f.borderColor, e, x.borderColor), y.borderWidth = b.borderWidth ? b.borderWidth : w(f.borderWidth, e, x.borderWidth), n && s.animateRotate || (y.startAngle = 0 === e ? a.rotation : i.getMeta().data[e - 1]._model.endAngle, y.endAngle = y.startAngle + y.circumference), t.pivot() }, calculateTotal: function () { var t, e = this.getDataset(), n = this.getMeta(), i = 0; return r.each(n.data, (function (n, o) { t = e.data[o], isNaN(t) || n.hidden || (i += Math.abs(t)) })), i }, calculateCircumference: function (t) { var e = this.getMeta().total; return e > 0 && !isNaN(t) ? 2 * Math.PI * (Math.abs(t) / e) : 0 }, getMaxBorderWidth: function (t) { for (var e, n, i = 0, o = this.index, r = t.length, l = 0; l < r; l++)e = t[l]._model ? t[l]._model.borderWidth : 0, i = (n = t[l]._chart ? t[l]._chart.config.data.datasets[o].hoverBorderWidth : 0) > (i = e > i ? e : i) ? n : i; return i } }) } }, { 26: 26, 41: 41, 46: 46 }], 18: [function (t, e, n) { var i = t(26), r = t(41), l = t(46); i._set("line", { showLines: !0, spanGaps: !1, hover: { mode: "label" }, scales: { xAxes: [{ type: "category", id: "x-axis-0" }], yAxes: [{ type: "linear", id: "y-axis-0" }] } }), e.exports = function (t) { function e(t, e) { return l.valueOrDefault(t.showLine, e.showLines) } t.controllers.line = t.DatasetController.extend({ datasetElementType: r.Line, dataElementType: r.Point, update: function (t) { var n, i, o, r = this, a = r.getMeta(), s = a.dataset, c = a.data || [], u = r.chart.options, d = u.elements.line, h = r.getScaleForId(a.yAxisID), f = r.getDataset(), p = e(f, u); for (p && (o = s.custom || {}, void 0 !== f.tension && void 0 === f.lineTension && (f.lineTension = f.tension), s._scale = h, s._datasetIndex = r.index, s._children = c, s._model = { spanGaps: f.spanGaps ? f.spanGaps : u.spanGaps, tension: o.tension ? o.tension : l.valueOrDefault(f.lineTension, d.tension), backgroundColor: o.backgroundColor ? o.backgroundColor : f.backgroundColor || d.backgroundColor, borderWidth: o.borderWidth ? o.borderWidth : f.borderWidth || d.borderWidth, borderColor: o.borderColor ? o.borderColor : f.borderColor || d.borderColor, borderCapStyle: o.borderCapStyle ? o.borderCapStyle : f.borderCapStyle || d.borderCapStyle, borderDash: o.borderDash ? o.borderDash : f.borderDash || d.borderDash, borderDashOffset: o.borderDashOffset ? o.borderDashOffset : f.borderDashOffset || d.borderDashOffset, borderJoinStyle: o.borderJoinStyle ? o.borderJoinStyle : f.borderJoinStyle || d.borderJoinStyle, fill: o.fill ? o.fill : void 0 !== f.fill ? f.fill : d.fill, steppedLine: o.steppedLine ? o.steppedLine : l.valueOrDefault(f.steppedLine, d.stepped), cubicInterpolationMode: o.cubicInterpolationMode ? o.cubicInterpolationMode : l.valueOrDefault(f.cubicInterpolationMode, d.cubicInterpolationMode) }, s.pivot()), n = 0, i = c.length; n < i; ++n)r.updateElement(c[n], n, t); for (p && 0 !== s._model.tension && r.updateBezierControlPoints(), n = 0, i = c.length; n < i; ++n)c[n].pivot() }, getPointBackgroundColor: function (t, e) { var n = this.chart.options.elements.point.backgroundColor, i = this.getDataset(), o = t.custom || {}; return o.backgroundColor ? n = o.backgroundColor : i.pointBackgroundColor ? n = l.valueAtIndexOrDefault(i.pointBackgroundColor, e, n) : i.backgroundColor && (n = i.backgroundColor), n }, getPointBorderColor: function (t, e) { var n = this.chart.options.elements.point.borderColor, i = this.getDataset(), o = t.custom || {}; return o.borderColor ? n = o.borderColor : i.pointBorderColor ? n = l.valueAtIndexOrDefault(i.pointBorderColor, e, n) : i.borderColor && (n = i.borderColor), n }, getPointBorderWidth: function (t, e) { var n = this.chart.options.elements.point.borderWidth, i = this.getDataset(), o = t.custom || {}; return isNaN(o.borderWidth) ? !isNaN(i.pointBorderWidth) || l.isArray(i.pointBorderWidth) ? n = l.valueAtIndexOrDefault(i.pointBorderWidth, e, n) : isNaN(i.borderWidth) || (n = i.borderWidth) : n = o.borderWidth, n }, getPointRotation: function (t, e) { var n = this.chart.options.elements.point.rotation, i = this.getDataset(), o = t.custom || {}; return isNaN(o.rotation) ? isNaN(i.pointRotation) && !l.isArray(i.pointRotation) || (n = l.valueAtIndexOrDefault(i.pointRotation, e, n)) : n = o.rotation, n }, updateElement: function (t, e, n) { var i, r, a = this, s = a.getMeta(), c = t.custom || {}, u = a.getDataset(), d = a.index, h = u.data[e], f = a.getScaleForId(s.yAxisID), p = a.getScaleForId(s.xAxisID), m = a.chart.options.elements.point; void 0 !== u.radius && void 0 === u.pointRadius && (u.pointRadius = u.radius), void 0 !== u.hitRadius && void 0 === u.pointHitRadius && (u.pointHitRadius = u.hitRadius), i = p.getPixelForValue("object" === o(h) ? h : NaN, e, d), r = n ? f.getBasePixel() : a.calculatePointY(h, e, d), t._xScale = p, t._yScale = f, t._datasetIndex = d, t._index = e, t._model = { x: i, y: r, skip: c.skip || isNaN(i) || isNaN(r), radius: c.radius || l.valueAtIndexOrDefault(u.pointRadius, e, m.radius), pointStyle: c.pointStyle || l.valueAtIndexOrDefault(u.pointStyle, e, m.pointStyle), rotation: a.getPointRotation(t, e), backgroundColor: a.getPointBackgroundColor(t, e), borderColor: a.getPointBorderColor(t, e), borderWidth: a.getPointBorderWidth(t, e), tension: s.dataset._model ? s.dataset._model.tension : 0, steppedLine: !!s.dataset._model && s.dataset._model.steppedLine, hitRadius: c.hitRadius || l.valueAtIndexOrDefault(u.pointHitRadius, e, m.hitRadius) } }, calculatePointY: function (t, e, n) { var i, o, r, l = this.chart, a = this.getMeta(), s = this.getScaleForId(a.yAxisID), c = 0, u = 0; if (s.options.stacked) { for (i = 0; i < n; i++)if (o = l.data.datasets[i], "line" === (r = l.getDatasetMeta(i)).type && r.yAxisID === s.id && l.isDatasetVisible(i)) { var d = Number(s.getRightValue(o.data[e])); d < 0 ? u += d || 0 : c += d || 0 } var h = Number(s.getRightValue(t)); return h < 0 ? s.getPixelForValue(u + h) : s.getPixelForValue(c + h) } return s.getPixelForValue(t) }, updateBezierControlPoints: function () { var t, e, n, i, o = this.getMeta(), r = this.chart.chartArea, a = o.data || []; function s(t, e, n) { return Math.max(Math.min(t, n), e) } if (o.dataset._model.spanGaps && (a = a.filter((function (t) { return !t._model.skip }))), "monotone" === o.dataset._model.cubicInterpolationMode) l.splineCurveMonotone(a); else for (t = 0, e = a.length; t < e; ++t)n = a[t]._model, i = l.splineCurve(l.previousItem(a, t)._model, n, l.nextItem(a, t)._model, o.dataset._model.tension), n.controlPointPreviousX = i.previous.x, n.controlPointPreviousY = i.previous.y, n.controlPointNextX = i.next.x, n.controlPointNextY = i.next.y; if (this.chart.options.elements.line.capBezierPoints) for (t = 0, e = a.length; t < e; ++t)(n = a[t]._model).controlPointPreviousX = s(n.controlPointPreviousX, r.left, r.right), n.controlPointPreviousY = s(n.controlPointPreviousY, r.top, r.bottom), n.controlPointNextX = s(n.controlPointNextX, r.left, r.right), n.controlPointNextY = s(n.controlPointNextY, r.top, r.bottom) }, draw: function () { var t, n = this.chart, i = this.getMeta(), o = i.data || [], r = n.chartArea, a = o.length, s = 0; for (e(this.getDataset(), n.options) && (t = (i.dataset._model.borderWidth || 0) / 2, l.canvas.clipArea(n.ctx, { left: r.left, right: r.right, top: r.top - t, bottom: r.bottom + t }), i.dataset.draw(), l.canvas.unclipArea(n.ctx)); s < a; ++s)o[s].draw(r) }, setHoverStyle: function (t) { var e = this.chart.data.datasets[t._datasetIndex], n = t._index, i = t.custom || {}, o = t._model; t.$previousStyle = { backgroundColor: o.backgroundColor, borderColor: o.borderColor, borderWidth: o.borderWidth, radius: o.radius }, o.backgroundColor = i.hoverBackgroundColor || l.valueAtIndexOrDefault(e.pointHoverBackgroundColor, n, l.getHoverColor(o.backgroundColor)), o.borderColor = i.hoverBorderColor || l.valueAtIndexOrDefault(e.pointHoverBorderColor, n, l.getHoverColor(o.borderColor)), o.borderWidth = i.hoverBorderWidth || l.valueAtIndexOrDefault(e.pointHoverBorderWidth, n, o.borderWidth), o.radius = i.hoverRadius || l.valueAtIndexOrDefault(e.pointHoverRadius, n, this.chart.options.elements.point.hoverRadius) } }) } }, { 26: 26, 41: 41, 46: 46 }], 19: [function (t, e, n) { var i = t(26), o = t(41), r = t(46); i._set("polarArea", { scale: { type: "radialLinear", angleLines: { display: !1 }, gridLines: { circular: !0 }, pointLabels: { display: !1 }, ticks: { beginAtZero: !0 } }, animation: { animateRotate: !0, animateScale: !0 }, startAngle: -.5 * Math.PI, legendCallback: function (t) { var e = []; e.push('<ul class="' + t.id + '-legend">'); var n = t.data, i = n.datasets, o = n.labels; if (i.length) for (var r = 0; r < i[0].data.length; ++r)e.push('<li><span style="background-color:' + i[0].backgroundColor[r] + '"></span>'), o[r] && e.push(o[r]), e.push("</li>"); return e.push("</ul>"), e.join("") }, legend: { labels: { generateLabels: function (t) { var e = t.data; return e.labels.length && e.datasets.length ? e.labels.map((function (n, i) { var o = t.getDatasetMeta(0), l = e.datasets[0], a = o.data[i].custom || {}, s = r.valueAtIndexOrDefault, c = t.options.elements.arc; return { text: n, fillStyle: a.backgroundColor ? a.backgroundColor : s(l.backgroundColor, i, c.backgroundColor), strokeStyle: a.borderColor ? a.borderColor : s(l.borderColor, i, c.borderColor), lineWidth: a.borderWidth ? a.borderWidth : s(l.borderWidth, i, c.borderWidth), hidden: isNaN(l.data[i]) || o.data[i].hidden, index: i } })) : [] } }, onClick: function (t, e) { var n, i, o, r = e.index, l = this.chart; for (n = 0, i = (l.data.datasets || []).length; n < i; ++n)(o = l.getDatasetMeta(n)).data[r].hidden = !o.data[r].hidden; l.update() } }, tooltips: { callbacks: { title: function () { return "" }, label: function (t, e) { return e.labels[t.index] + ": " + t.yLabel } } } }), e.exports = function (t) { t.controllers.polarArea = t.DatasetController.extend({ dataElementType: o.Arc, linkScales: r.noop, update: function (t) { var e, n, i, o = this, l = o.getDataset(), a = o.getMeta(), s = o.chart.options.startAngle || 0, c = o._starts = [], u = o._angles = []; for (o._updateRadius(), a.count = o.countVisibleElements(), e = 0, n = l.data.length; e < n; e++)c[e] = s, i = o._computeAngle(e), u[e] = i, s += i; r.each(a.data, (function (e, n) { o.updateElement(e, n, t) })) }, _updateRadius: function () { var t = this, e = t.chart, n = e.chartArea, i = e.options, o = i.elements.arc, r = Math.min(n.right - n.left, n.bottom - n.top); e.outerRadius = Math.max((r - o.borderWidth / 2) / 2, 0), e.innerRadius = Math.max(i.cutoutPercentage ? e.outerRadius / 100 * i.cutoutPercentage : 1, 0), e.radiusLength = (e.outerRadius - e.innerRadius) / e.getVisibleDatasetCount(), t.outerRadius = e.outerRadius - e.radiusLength * t.index, t.innerRadius = t.outerRadius - e.radiusLength }, updateElement: function (t, e, n) { var i = this, o = i.chart, l = i.getDataset(), a = o.options, s = a.animation, c = o.scale, u = o.data.labels, d = c.xCenter, h = c.yCenter, f = a.startAngle, p = t.hidden ? 0 : c.getDistanceFromCenterForValue(l.data[e]), m = i._starts[e], g = m + (t.hidden ? 0 : i._angles[e]), v = s.animateScale ? 0 : c.getDistanceFromCenterForValue(l.data[e]); r.extend(t, { _datasetIndex: i.index, _index: e, _scale: c, _model: { x: d, y: h, innerRadius: 0, outerRadius: n ? v : p, startAngle: n && s.animateRotate ? f : m, endAngle: n && s.animateRotate ? f : g, label: r.valueAtIndexOrDefault(u, e, u[e]) } }); var y = this.chart.options.elements.arc, b = t.custom || {}, w = r.valueAtIndexOrDefault, x = t._model; x.backgroundColor = b.backgroundColor ? b.backgroundColor : w(l.backgroundColor, e, y.backgroundColor), x.borderColor = b.borderColor ? b.borderColor : w(l.borderColor, e, y.borderColor), x.borderWidth = b.borderWidth ? b.borderWidth : w(l.borderWidth, e, y.borderWidth), t.pivot() }, countVisibleElements: function () { var t = this.getDataset(), e = this.getMeta(), n = 0; return r.each(e.data, (function (e, i) { isNaN(t.data[i]) || e.hidden || n++ })), n }, _computeAngle: function (t) { var e = this, n = this.getMeta().count, i = e.getDataset(), o = e.getMeta(); if (isNaN(i.data[t]) || o.data[t].hidden) return 0; var l = { chart: e.chart, dataIndex: t, dataset: i, datasetIndex: e.index }; return r.options.resolve([e.chart.options.elements.arc.angle, 2 * Math.PI / n], l, t) } }) } }, { 26: 26, 41: 41, 46: 46 }], 20: [function (t, e, n) { var i = t(26), o = t(41), r = t(46); i._set("radar", { scale: { type: "radialLinear" }, elements: { line: { tension: 0 } } }), e.exports = function (t) { t.controllers.radar = t.DatasetController.extend({ datasetElementType: o.Line, dataElementType: o.Point, linkScales: r.noop, update: function (t) { var e = this, n = e.getMeta(), i = n.dataset, o = n.data, l = i.custom || {}, a = e.getDataset(), s = e.chart.options.elements.line, c = e.chart.scale; void 0 !== a.tension && void 0 === a.lineTension && (a.lineTension = a.tension), r.extend(n.dataset, { _datasetIndex: e.index, _scale: c, _children: o, _loop: !0, _model: { tension: l.tension ? l.tension : r.valueOrDefault(a.lineTension, s.tension), backgroundColor: l.backgroundColor ? l.backgroundColor : a.backgroundColor || s.backgroundColor, borderWidth: l.borderWidth ? l.borderWidth : a.borderWidth || s.borderWidth, borderColor: l.borderColor ? l.borderColor : a.borderColor || s.borderColor, fill: l.fill ? l.fill : void 0 !== a.fill ? a.fill : s.fill, borderCapStyle: l.borderCapStyle ? l.borderCapStyle : a.borderCapStyle || s.borderCapStyle, borderDash: l.borderDash ? l.borderDash : a.borderDash || s.borderDash, borderDashOffset: l.borderDashOffset ? l.borderDashOffset : a.borderDashOffset || s.borderDashOffset, borderJoinStyle: l.borderJoinStyle ? l.borderJoinStyle : a.borderJoinStyle || s.borderJoinStyle } }), n.dataset.pivot(), r.each(o, (function (n, i) { e.updateElement(n, i, t) }), e), e.updateBezierControlPoints() }, updateElement: function (t, e, n) { var i = this, o = t.custom || {}, l = i.getDataset(), a = i.chart.scale, s = i.chart.options.elements.point, c = a.getPointPositionForValue(e, l.data[e]); void 0 !== l.radius && void 0 === l.pointRadius && (l.pointRadius = l.radius), void 0 !== l.hitRadius && void 0 === l.pointHitRadius && (l.pointHitRadius = l.hitRadius), r.extend(t, { _datasetIndex: i.index, _index: e, _scale: a, _model: { x: n ? a.xCenter : c.x, y: n ? a.yCenter : c.y, tension: o.tension ? o.tension : r.valueOrDefault(l.lineTension, i.chart.options.elements.line.tension), radius: o.radius ? o.radius : r.valueAtIndexOrDefault(l.pointRadius, e, s.radius), backgroundColor: o.backgroundColor ? o.backgroundColor : r.valueAtIndexOrDefault(l.pointBackgroundColor, e, s.backgroundColor), borderColor: o.borderColor ? o.borderColor : r.valueAtIndexOrDefault(l.pointBorderColor, e, s.borderColor), borderWidth: o.borderWidth ? o.borderWidth : r.valueAtIndexOrDefault(l.pointBorderWidth, e, s.borderWidth), pointStyle: o.pointStyle ? o.pointStyle : r.valueAtIndexOrDefault(l.pointStyle, e, s.pointStyle), rotation: o.rotation ? o.rotation : r.valueAtIndexOrDefault(l.pointRotation, e, s.rotation), hitRadius: o.hitRadius ? o.hitRadius : r.valueAtIndexOrDefault(l.pointHitRadius, e, s.hitRadius) } }), t._model.skip = o.skip ? o.skip : isNaN(t._model.x) || isNaN(t._model.y) }, updateBezierControlPoints: function () { var t = this.chart.chartArea, e = this.getMeta(); r.each(e.data, (function (n, i) { var o = n._model, l = r.splineCurve(r.previousItem(e.data, i, !0)._model, o, r.nextItem(e.data, i, !0)._model, o.tension); o.controlPointPreviousX = Math.max(Math.min(l.previous.x, t.right), t.left), o.controlPointPreviousY = Math.max(Math.min(l.previous.y, t.bottom), t.top), o.controlPointNextX = Math.max(Math.min(l.next.x, t.right), t.left), o.controlPointNextY = Math.max(Math.min(l.next.y, t.bottom), t.top), n.pivot() })) }, setHoverStyle: function (t) { var e = this.chart.data.datasets[t._datasetIndex], n = t.custom || {}, i = t._index, o = t._model; t.$previousStyle = { backgroundColor: o.backgroundColor, borderColor: o.borderColor, borderWidth: o.borderWidth, radius: o.radius }, o.radius = n.hoverRadius ? n.hoverRadius : r.valueAtIndexOrDefault(e.pointHoverRadius, i, this.chart.options.elements.point.hoverRadius), o.backgroundColor = n.hoverBackgroundColor ? n.hoverBackgroundColor : r.valueAtIndexOrDefault(e.pointHoverBackgroundColor, i, r.getHoverColor(o.backgroundColor)), o.borderColor = n.hoverBorderColor ? n.hoverBorderColor : r.valueAtIndexOrDefault(e.pointHoverBorderColor, i, r.getHoverColor(o.borderColor)), o.borderWidth = n.hoverBorderWidth ? n.hoverBorderWidth : r.valueAtIndexOrDefault(e.pointHoverBorderWidth, i, o.borderWidth) } }) } }, { 26: 26, 41: 41, 46: 46 }], 21: [function (t, e, n) { t(26)._set("scatter", { hover: { mode: "single" }, scales: { xAxes: [{ id: "x-axis-1", type: "linear", position: "bottom" }], yAxes: [{ id: "y-axis-1", type: "linear", position: "left" }] }, showLines: !1, tooltips: { callbacks: { title: function () { return "" }, label: function (t) { return "(" + t.xLabel + ", " + t.yLabel + ")" } } } }), e.exports = function (t) { t.controllers.scatter = t.controllers.line } }, { 26: 26 }], 22: [function (t, e, n) { var i = t(27); n = e.exports = i.extend({ chart: null, currentStep: 0, numSteps: 60, easing: "", render: null, onAnimationProgress: null, onAnimationComplete: null }); Object.defineProperty(n.prototype, "animationObject", { get: function () { return this } }), Object.defineProperty(n.prototype, "chartInstance", { get: function () { return this.chart }, set: function (t) { this.chart = t } }) }, { 27: 27 }], 23: [function (t, e, n) { var i = t(26), o = t(46); i._set("global", { animation: { duration: 1e3, easing: "easeOutQuart", onProgress: o.noop, onComplete: o.noop } }), e.exports = { frameDuration: 17, animations: [], dropFrames: 0, request: null, addAnimation: function (t, e, n, i) { var o, r, l = this.animations; for (e.chart = t, i || (t.animating = !0), o = 0, r = l.length; o < r; ++o)if (l[o].chart === t) return void (l[o] = e); l.push(e), 1 === l.length && this.requestAnimationFrame() }, cancelAnimation: function (t) { var e = o.findIndex(this.animations, (function (e) { return e.chart === t })); -1 !== e && (this.animations.splice(e, 1), t.animating = !1) }, requestAnimationFrame: function () { var t = this; null === t.request && (t.request = o.requestAnimFrame.call(window, (function () { t.request = null, t.startDigest() }))) }, startDigest: function () { var t = this, e = Date.now(), n = 0; t.dropFrames > 1 && (n = Math.floor(t.dropFrames), t.dropFrames = t.dropFrames % 1), t.advance(1 + n); var i = Date.now(); t.dropFrames += (i - e) / t.frameDuration, t.animations.length > 0 && t.requestAnimationFrame() }, advance: function (t) { for (var e, n, i = this.animations, r = 0; r < i.length;)n = (e = i[r]).chart, e.currentStep = (e.currentStep || 0) + t, e.currentStep = Math.min(e.currentStep, e.numSteps), o.callback(e.render, [n, e], n), o.callback(e.onAnimationProgress, [e], n), e.currentStep >= e.numSteps ? (o.callback(e.onAnimationComplete, [e], n), n.animating = !1, i.splice(r, 1)) : ++r } } }, { 26: 26, 46: 46 }], 24: [function (t, e, n) { var i = t(22), r = t(23), l = t(26), a = t(46), s = t(29), c = t(31), u = t(49), d = t(32), h = t(34), f = t(36); e.exports = function (t) { function e(e) { var n = e.options; a.each(e.scales, (function (t) { c.removeBox(e, t) })), n = a.configMerge(t.defaults.global, t.defaults[e.config.type], n), e.options = e.config.options = n, e.ensureScalesHaveIDs(), e.buildOrUpdateScales(), e.tooltip._options = n.tooltips, e.tooltip.initialize() } function n(t) { return "top" === t || "bottom" === t } t.types = {}, t.instances = {}, t.controllers = {}, a.extend(t.prototype, { construct: function (e, n) { var i = this; n = function (t) { var e = (t = t || {}).data = t.data || {}; return e.datasets = e.datasets || [], e.labels = e.labels || [], t.options = a.configMerge(l.global, l[t.type], t.options || {}), t }(n); var o = u.acquireContext(e, n), r = o && o.canvas, s = r && r.height, c = r && r.width; i.id = a.uid(), i.ctx = o, i.canvas = r, i.config = n, i.width = c, i.height = s, i.aspectRatio = s ? c / s : null, i.options = n.options, i._bufferedRender = !1, i.chart = i, i.controller = i, t.instances[i.id] = i, Object.defineProperty(i, "data", { get: function () { return i.config.data }, set: function (t) { i.config.data = t } }), o && r ? (i.initialize(), i.update()) : console.error("Failed to create chart: can't acquire context from the given item") }, initialize: function () { var t = this; return d.notify(t, "beforeInit"), a.retinaScale(t, t.options.devicePixelRatio), t.bindEvents(), t.options.responsive && t.resize(!0), t.ensureScalesHaveIDs(), t.buildOrUpdateScales(), t.initToolTip(), d.notify(t, "afterInit"), t }, clear: function () { return a.canvas.clear(this), this }, stop: function () { return r.cancelAnimation(this), this }, resize: function (t) { var e = this, n = e.options, i = e.canvas, o = n.maintainAspectRatio && e.aspectRatio || null, r = Math.max(0, Math.floor(a.getMaximumWidth(i))), l = Math.max(0, Math.floor(o ? r / o : a.getMaximumHeight(i))); if ((e.width !== r || e.height !== l) && (i.width = e.width = r, i.height = e.height = l, i.style.width = r + "px", i.style.height = l + "px", a.retinaScale(e, n.devicePixelRatio), !t)) { var s = { width: r, height: l }; d.notify(e, "resize", [s]), e.options.onResize && e.options.onResize(e, s), e.stop(), e.update({ duration: e.options.responsiveAnimationDuration }) } }, ensureScalesHaveIDs: function () { var t = this.options, e = t.scales || {}, n = t.scale; a.each(e.xAxes, (function (t, e) { t.id = t.id || "x-axis-" + e })), a.each(e.yAxes, (function (t, e) { t.id = t.id || "y-axis-" + e })), n && (n.id = n.id || "scale") }, buildOrUpdateScales: function () { var t = this, e = t.options, i = t.scales || {}, o = [], r = Object.keys(i).reduce((function (t, e) { return t[e] = !1, t }), {}); e.scales && (o = o.concat((e.scales.xAxes || []).map((function (t) { return { options: t, dtype: "category", dposition: "bottom" } })), (e.scales.yAxes || []).map((function (t) { return { options: t, dtype: "linear", dposition: "left" } })))), e.scale && o.push({ options: e.scale, dtype: "radialLinear", isDefault: !0, dposition: "chartArea" }), a.each(o, (function (e) { var o = e.options, l = o.id, s = a.valueOrDefault(o.type, e.dtype); n(o.position) !== n(e.dposition) && (o.position = e.dposition), r[l] = !0; var c = null; if (l in i && i[l].type === s) (c = i[l]).options = o, c.ctx = t.ctx, c.chart = t; else { var u = h.getScaleConstructor(s); if (!u) return; c = new u({ id: l, type: s, options: o, ctx: t.ctx, chart: t }), i[c.id] = c } c.mergeTicksOptions(), e.isDefault && (t.scale = c) })), a.each(r, (function (t, e) { t || delete i[e] })), t.scales = i, h.addScalesToLayout(this) }, buildOrUpdateControllers: function () { var e = this, n = [], i = []; return a.each(e.data.datasets, (function (o, r) { var l = e.getDatasetMeta(r), a = o.type || e.config.type; if (l.type && l.type !== a && (e.destroyDatasetMeta(r), l = e.getDatasetMeta(r)), l.type = a, n.push(l.type), l.controller) l.controller.updateIndex(r), l.controller.linkScales(); else { var s = t.controllers[l.type]; if (void 0 === s) throw new Error('"' + l.type + '" is not a chart type.'); l.controller = new s(e, r), i.push(l.controller) } }), e), i }, resetElements: function () { var t = this; a.each(t.data.datasets, (function (e, n) { t.getDatasetMeta(n).controller.reset() }), t) }, reset: function () { this.resetElements(), this.tooltip.initialize() }, update: function (t) { var n = this; if (t && "object" === o(t) || (t = { duration: t, lazy: arguments[1] }), e(n), d._invalidate(n), !1 !== d.notify(n, "beforeUpdate")) { n.tooltip._data = n.data; var i = n.buildOrUpdateControllers(); a.each(n.data.datasets, (function (t, e) { n.getDatasetMeta(e).controller.buildOrUpdateElements() }), n), n.updateLayout(), n.options.animation && n.options.animation.duration && a.each(i, (function (t) { t.reset() })), n.updateDatasets(), n.tooltip.initialize(), n.lastActive = [], d.notify(n, "afterUpdate"), n._bufferedRender ? n._bufferedRequest = { duration: t.duration, easing: t.easing, lazy: t.lazy } : n.render(t) } }, updateLayout: function () { !1 !== d.notify(this, "beforeLayout") && (c.update(this, this.width, this.height), d.notify(this, "afterScaleUpdate"), d.notify(this, "afterLayout")) }, updateDatasets: function () { if (!1 !== d.notify(this, "beforeDatasetsUpdate")) { for (var t = 0, e = this.data.datasets.length; t < e; ++t)this.updateDataset(t); d.notify(this, "afterDatasetsUpdate") } }, updateDataset: function (t) { var e = this.getDatasetMeta(t), n = { meta: e, index: t }; !1 !== d.notify(this, "beforeDatasetUpdate", [n]) && (e.controller.update(), d.notify(this, "afterDatasetUpdate", [n])) }, render: function (t) { var e = this; t && "object" === o(t) || (t = { duration: t, lazy: arguments[1] }); var n = t.duration, l = t.lazy; if (!1 !== d.notify(e, "beforeRender")) { var s = e.options.animation, c = function (t) { d.notify(e, "afterRender"), a.callback(s && s.onComplete, [t], e) }; if (s && (void 0 !== n && 0 !== n || void 0 === n && 0 !== s.duration)) { var u = new i({ numSteps: (n || s.duration) / 16.66, easing: t.easing || s.easing, render: function (t, e) { var n = a.easing.effects[e.easing], i = e.currentStep, o = i / e.numSteps; t.draw(n(o), o, i) }, onAnimationProgress: s.onProgress, onAnimationComplete: c }); r.addAnimation(e, u, n, l) } else e.draw(), c(new i({ numSteps: 0, chart: e })); return e } }, draw: function (t) { var e = this; e.clear(), a.isNullOrUndef(t) && (t = 1), e.transition(t), e.width <= 0 || e.height <= 0 || !1 !== d.notify(e, "beforeDraw", [t]) && (a.each(e.boxes, (function (t) { t.draw(e.chartArea) }), e), e.scale && e.scale.draw(), e.drawDatasets(t), e._drawTooltip(t), d.notify(e, "afterDraw", [t])) }, transition: function (t) { for (var e = 0, n = (this.data.datasets || []).length; e < n; ++e)this.isDatasetVisible(e) && this.getDatasetMeta(e).controller.transition(t); this.tooltip.transition(t) }, drawDatasets: function (t) { var e = this; if (!1 !== d.notify(e, "beforeDatasetsDraw", [t])) { for (var n = (e.data.datasets || []).length - 1; n >= 0; --n)e.isDatasetVisible(n) && e.drawDataset(n, t); d.notify(e, "afterDatasetsDraw", [t]) } }, drawDataset: function (t, e) { var n = this.getDatasetMeta(t), i = { meta: n, index: t, easingValue: e }; !1 !== d.notify(this, "beforeDatasetDraw", [i]) && (n.controller.draw(e), d.notify(this, "afterDatasetDraw", [i])) }, _drawTooltip: function (t) { var e = this.tooltip, n = { tooltip: e, easingValue: t }; !1 !== d.notify(this, "beforeTooltipDraw", [n]) && (e.draw(), d.notify(this, "afterTooltipDraw", [n])) }, getElementAtEvent: function (t) { return s.modes.single(this, t) }, getElementsAtEvent: function (t) { return s.modes.label(this, t, { intersect: !0 }) }, getElementsAtXAxis: function (t) { return s.modes["x-axis"](this, t, { intersect: !0 }) }, getElementsAtEventForMode: function (t, e, n) { var i = s.modes[e]; return "function" == typeof i ? i(this, t, n) : [] }, getDatasetAtEvent: function (t) { return s.modes.dataset(this, t, { intersect: !0 }) }, getDatasetMeta: function (t) { var e = this.data.datasets[t]; e._meta || (e._meta = {}); var n = e._meta[this.id]; return n || (n = e._meta[this.id] = { type: null, data: [], dataset: null, controller: null, hidden: null, xAxisID: null, yAxisID: null }), n }, getVisibleDatasetCount: function () { for (var t = 0, e = 0, n = this.data.datasets.length; e < n; ++e)this.isDatasetVisible(e) && t++; return t }, isDatasetVisible: function (t) { var e = this.getDatasetMeta(t); return "boolean" == typeof e.hidden ? !e.hidden : !this.data.datasets[t].hidden }, generateLegend: function () { return this.options.legendCallback(this) }, destroyDatasetMeta: function (t) { var e = this.id, n = this.data.datasets[t], i = n._meta && n._meta[e]; i && (i.controller.destroy(), delete n._meta[e]) }, destroy: function () { var e, n, i = this, o = i.canvas; for (i.stop(), e = 0, n = i.data.datasets.length; e < n; ++e)i.destroyDatasetMeta(e); o && (i.unbindEvents(), a.canvas.clear(i), u.releaseContext(i.ctx), i.canvas = null, i.ctx = null), d.notify(i, "destroy"), delete t.instances[i.id] }, toBase64Image: function () { return this.canvas.toDataURL.apply(this.canvas, arguments) }, initToolTip: function () { var t = this; t.tooltip = new f({ _chart: t, _chartInstance: t, _data: t.data, _options: t.options.tooltips }, t) }, bindEvents: function () { var t = this, e = t._listeners = {}, n = function () { t.eventHandler.apply(t, arguments) }; a.each(t.options.events, (function (i) { u.addEventListener(t, i, n), e[i] = n })), t.options.responsive && (n = function () { t.resize() }, u.addEventListener(t, "resize", n), e.resize = n) }, unbindEvents: function () { var t = this, e = t._listeners; e && (delete t._listeners, a.each(e, (function (e, n) { u.removeEventListener(t, n, e) }))) }, updateHoverStyle: function (t, e, n) { var i, o, r, l = n ? "setHoverStyle" : "removeHoverStyle"; for (o = 0, r = t.length; o < r; ++o)(i = t[o]) && this.getDatasetMeta(i._datasetIndex).controller[l](i) }, eventHandler: function (t) { var e = this, n = e.tooltip; if (!1 !== d.notify(e, "beforeEvent", [t])) { e._bufferedRender = !0, e._bufferedRequest = null; var i = e.handleEvent(t); n && (i = n._start ? n.handleEvent(t) : i | n.handleEvent(t)), d.notify(e, "afterEvent", [t]); var o = e._bufferedRequest; return o ? e.render(o) : i && !e.animating && (e.stop(), e.render({ duration: e.options.hover.animationDuration, lazy: !0 })), e._bufferedRender = !1, e._bufferedRequest = null, e } }, handleEvent: function (t) { var e, n = this, i = n.options || {}, o = i.hover; return n.lastActive = n.lastActive || [], "mouseout" === t.type ? n.active = [] : n.active = n.getElementsAtEventForMode(t, o.mode, o), a.callback(i.onHover || i.hover.onHover, [t.native, n.active], n), "mouseup" !== t.type && "click" !== t.type || i.onClick && i.onClick.call(n, t.native, n.active), n.lastActive.length && n.updateHoverStyle(n.lastActive, o.mode, !1), n.active.length && o.mode && n.updateHoverStyle(n.active, o.mode, !0), e = !a.arrayEquals(n.active, n.lastActive), n.lastActive = n.active, e } }), t.Controller = t } }, { 22: 22, 23: 23, 26: 26, 29: 29, 31: 31, 32: 32, 34: 34, 36: 36, 46: 46, 49: 49 }], 25: [function (t, e, n) { var i = t(46); e.exports = function (t) { var e = ["push", "pop", "shift", "splice", "unshift"]; function n(t, n) { var i = t._chartjs; if (i) { var o = i.listeners, r = o.indexOf(n); -1 !== r && o.splice(r, 1), o.length > 0 || (e.forEach((function (e) { delete t[e] })), delete t._chartjs) } } t.DatasetController = function (t, e) { this.initialize(t, e) }, i.extend(t.DatasetController.prototype, { datasetElementType: null, dataElementType: null, initialize: function (t, e) { this.chart = t, this.index = e, this.linkScales(), this.addElements() }, updateIndex: function (t) { this.index = t }, linkScales: function () { var t = this, e = t.getMeta(), n = t.getDataset(); null !== e.xAxisID && e.xAxisID in t.chart.scales || (e.xAxisID = n.xAxisID || t.chart.options.scales.xAxes[0].id), null !== e.yAxisID && e.yAxisID in t.chart.scales || (e.yAxisID = n.yAxisID || t.chart.options.scales.yAxes[0].id) }, getDataset: function () { return this.chart.data.datasets[this.index] }, getMeta: function () { return this.chart.getDatasetMeta(this.index) }, getScaleForId: function (t) { return this.chart.scales[t] }, reset: function () { this.update(!0) }, destroy: function () { this._data && n(this._data, this) }, createMetaDataset: function () { var t = this.datasetElementType; return t && new t({ _chart: this.chart, _datasetIndex: this.index }) }, createMetaData: function (t) { var e = this.dataElementType; return e && new e({ _chart: this.chart, _datasetIndex: this.index, _index: t }) }, addElements: function () { var t, e, n = this.getMeta(), i = this.getDataset().data || [], o = n.data; for (t = 0, e = i.length; t < e; ++t)o[t] = o[t] || this.createMetaData(t); n.dataset = n.dataset || this.createMetaDataset() }, addElementAndReset: function (t) { var e = this.createMetaData(t); this.getMeta().data.splice(t, 0, e), this.updateElement(e, t, !0) }, buildOrUpdateElements: function () { var t, o, r = this, l = r.getDataset(), a = l.data || (l.data = []); r._data !== a && (r._data && n(r._data, r), o = r, (t = a)._chartjs ? t._chartjs.listeners.push(o) : (Object.defineProperty(t, "_chartjs", { configurable: !0, enumerable: !1, value: { listeners: [o] } }), e.forEach((function (e) { var n = "onData" + e.charAt(0).toUpperCase() + e.slice(1), o = t[e]; Object.defineProperty(t, e, { configurable: !0, enumerable: !1, value: function () { var e = Array.prototype.slice.call(arguments), r = o.apply(this, e); return i.each(t._chartjs.listeners, (function (t) { "function" == typeof t[n] && t[n].apply(t, e) })), r } }) }))), r._data = a), r.resyncElements() }, update: i.noop, transition: function (t) { for (var e = this.getMeta(), n = e.data || [], i = n.length, o = 0; o < i; ++o)n[o].transition(t); e.dataset && e.dataset.transition(t) }, draw: function () { var t = this.getMeta(), e = t.data || [], n = e.length, i = 0; for (t.dataset && t.dataset.draw(); i < n; ++i)e[i].draw() }, removeHoverStyle: function (t) { i.merge(t._model, t.$previousStyle || {}), delete t.$previousStyle }, setHoverStyle: function (t) { var e = this.chart.data.datasets[t._datasetIndex], n = t._index, o = t.custom || {}, r = i.valueAtIndexOrDefault, l = i.getHoverColor, a = t._model; t.$previousStyle = { backgroundColor: a.backgroundColor, borderColor: a.borderColor, borderWidth: a.borderWidth }, a.backgroundColor = o.hoverBackgroundColor ? o.hoverBackgroundColor : r(e.hoverBackgroundColor, n, l(a.backgroundColor)), a.borderColor = o.hoverBorderColor ? o.hoverBorderColor : r(e.hoverBorderColor, n, l(a.borderColor)), a.borderWidth = o.hoverBorderWidth ? o.hoverBorderWidth : r(e.hoverBorderWidth, n, a.borderWidth) }, resyncElements: function () { var t = this.getMeta(), e = this.getDataset().data, n = t.data.length, i = e.length; i < n ? t.data.splice(i, n - i) : i > n && this.insertElements(n, i - n) }, insertElements: function (t, e) { for (var n = 0; n < e; ++n)this.addElementAndReset(t + n) }, onDataPush: function () { this.insertElements(this.getDataset().data.length - 1, arguments.length) }, onDataPop: function () { this.getMeta().data.pop() }, onDataShift: function () { this.getMeta().data.shift() }, onDataSplice: function (t, e) { this.getMeta().data.splice(t, e), this.insertElements(t, arguments.length - 2) }, onDataUnshift: function () { this.insertElements(0, arguments.length) } }), t.DatasetController.extend = i.inherits } }, { 46: 46 }], 26: [function (t, e, n) { var i = t(46); e.exports = { _set: function (t, e) { return i.merge(this[t] || (this[t] = {}), e) } } }, { 46: 46 }], 27: [function (t, e, n) { var i = t(3), r = t(46); var l = function (t) { r.extend(this, t), this.initialize.apply(this, arguments) }; r.extend(l.prototype, { initialize: function () { this.hidden = !1 }, pivot: function () { var t = this; return t._view || (t._view = r.clone(t._model)), t._start = {}, t }, transition: function (t) { var e = this, n = e._model, r = e._start, l = e._view; return n && 1 !== t ? (l || (l = e._view = {}), r || (r = e._start = {}), function (t, e, n, r) { var l, a, s, c, u, d, h, f, p, m = Object.keys(n); for (l = 0, a = m.length; l < a; ++l)if (d = n[s = m[l]], e.hasOwnProperty(s) || (e[s] = d), (c = e[s]) !== d && "_" !== s[0]) { if (t.hasOwnProperty(s) || (t[s] = c), u = t[s], (h = o(d)) === o(u)) if ("string" === h) { if ((f = i(u)).valid && (p = i(d)).valid) { e[s] = p.mix(f, r).rgbString(); continue } } else if ("number" === h && isFinite(u) && isFinite(d)) { e[s] = u + (d - u) * r; continue } e[s] = d } }(r, l, n, t), e) : (e._view = n, e._start = null, e) }, tooltipPosition: function () { return { x: this._model.x, y: this._model.y } }, hasValue: function () { return r.isNumber(this._model.x) && r.isNumber(this._model.y) } }), l.extend = r.inherits, e.exports = l }, { 3: 3, 46: 46 }], 28: [function (t, e, n) { var i = t(3), o = t(26), r = t(46), l = t(34); e.exports = function () { function t(t, e, n) { var i; return "string" == typeof t ? (i = parseInt(t, 10), -1 !== t.indexOf("%") && (i = i / 100 * e.parentNode[n])) : i = t, i } function e(t) { return null != t && "none" !== t } function n(n, i, o) { var l = document.defaultView, a = r._getParentNode(n), s = l.getComputedStyle(n)[i], c = l.getComputedStyle(a)[i], u = e(s), d = e(c), h = Number.POSITIVE_INFINITY; return u || d ? Math.min(u ? t(s, n, o) : h, d ? t(c, a, o) : h) : "none" } r.configMerge = function () { return r.merge(r.clone(arguments[0]), [].slice.call(arguments, 1), { merger: function (t, e, n, i) { var o = e[t] || {}, a = n[t]; "scales" === t ? e[t] = r.scaleMerge(o, a) : "scale" === t ? e[t] = r.merge(o, [l.getScaleDefaults(a.type), a]) : r._merger(t, e, n, i) } }) }, r.scaleMerge = function () { return r.merge(r.clone(arguments[0]), [].slice.call(arguments, 1), { merger: function (t, e, n, i) { if ("xAxes" === t || "yAxes" === t) { var o, a, s, c = n[t].length; for (e[t] || (e[t] = []), o = 0; o < c; ++o)s = n[t][o], a = r.valueOrDefault(s.type, "xAxes" === t ? "category" : "linear"), o >= e[t].length && e[t].push({}), !e[t][o].type || s.type && s.type !== e[t][o].type ? r.merge(e[t][o], [l.getScaleDefaults(a), s]) : r.merge(e[t][o], s) } else r._merger(t, e, n, i) } }) }, r.where = function (t, e) { if (r.isArray(t) && Array.prototype.filter) return t.filter(e); var n = []; return r.each(t, (function (t) { e(t) && n.push(t) })), n }, r.findIndex = Array.prototype.findIndex ? function (t, e, n) { return t.findIndex(e, n) } : function (t, e, n) { n = void 0 === n ? t : n; for (var i = 0, o = t.length; i < o; ++i)if (e.call(n, t[i], i, t)) return i; return -1 }, r.findNextWhere = function (t, e, n) { r.isNullOrUndef(n) && (n = -1); for (var i = n + 1; i < t.length; i++) { var o = t[i]; if (e(o)) return o } }, r.findPreviousWhere = function (t, e, n) { r.isNullOrUndef(n) && (n = t.length); for (var i = n - 1; i >= 0; i--) { var o = t[i]; if (e(o)) return o } }, r.isNumber = function (t) { return !isNaN(parseFloat(t)) && isFinite(t) }, r.almostEquals = function (t, e, n) { return Math.abs(t - e) < n }, r.almostWhole = function (t, e) { var n = Math.round(t); return n - e < t && n + e > t }, r.max = function (t) { return t.reduce((function (t, e) { return isNaN(e) ? t : Math.max(t, e) }), Number.NEGATIVE_INFINITY) }, r.min = function (t) { return t.reduce((function (t, e) { return isNaN(e) ? t : Math.min(t, e) }), Number.POSITIVE_INFINITY) }, r.sign = Math.sign ? function (t) { return Math.sign(t) } : function (t) { return 0 === (t = +t) || isNaN(t) ? t : t > 0 ? 1 : -1 }, r.log10 = Math.log10 ? function (t) { return Math.log10(t) } : function (t) { var e = Math.log(t) * Math.LOG10E, n = Math.round(e); return t === Math.pow(10, n) ? n : e }, r.toRadians = function (t) { return t * (Math.PI / 180) }, r.toDegrees = function (t) { return t * (180 / Math.PI) }, r.getAngleFromPoint = function (t, e) { var n = e.x - t.x, i = e.y - t.y, o = Math.sqrt(n * n + i * i), r = Math.atan2(i, n); return r < -.5 * Math.PI && (r += 2 * Math.PI), { angle: r, distance: o } }, r.distanceBetweenPoints = function (t, e) { return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2)) }, r.aliasPixel = function (t) { return t % 2 == 0 ? 0 : .5 }, r.splineCurve = function (t, e, n, i) { var o = t.skip ? e : t, r = e, l = n.skip ? e : n, a = Math.sqrt(Math.pow(r.x - o.x, 2) + Math.pow(r.y - o.y, 2)), s = Math.sqrt(Math.pow(l.x - r.x, 2) + Math.pow(l.y - r.y, 2)), c = a / (a + s), u = s / (a + s), d = i * (c = isNaN(c) ? 0 : c), h = i * (u = isNaN(u) ? 0 : u); return { previous: { x: r.x - d * (l.x - o.x), y: r.y - d * (l.y - o.y) }, next: { x: r.x + h * (l.x - o.x), y: r.y + h * (l.y - o.y) } } }, r.EPSILON = Number.EPSILON || 1e-14, r.splineCurveMonotone = function (t) { var e, n, i, o, l, a, s, c, u, d = (t || []).map((function (t) { return { model: t._model, deltaK: 0, mK: 0 } })), h = d.length; for (e = 0; e < h; ++e)if (!(i = d[e]).model.skip) { if (n = e > 0 ? d[e - 1] : null, (o = e < h - 1 ? d[e + 1] : null) && !o.model.skip) { var f = o.model.x - i.model.x; i.deltaK = 0 !== f ? (o.model.y - i.model.y) / f : 0 } !n || n.model.skip ? i.mK = i.deltaK : !o || o.model.skip ? i.mK = n.deltaK : this.sign(n.deltaK) !== this.sign(i.deltaK) ? i.mK = 0 : i.mK = (n.deltaK + i.deltaK) / 2 } for (e = 0; e < h - 1; ++e)i = d[e], o = d[e + 1], i.model.skip || o.model.skip || (r.almostEquals(i.deltaK, 0, this.EPSILON) ? i.mK = o.mK = 0 : (l = i.mK / i.deltaK, a = o.mK / i.deltaK, (c = Math.pow(l, 2) + Math.pow(a, 2)) <= 9 || (s = 3 / Math.sqrt(c), i.mK = l * s * i.deltaK, o.mK = a * s * i.deltaK))); for (e = 0; e < h; ++e)(i = d[e]).model.skip || (n = e > 0 ? d[e - 1] : null, o = e < h - 1 ? d[e + 1] : null, n && !n.model.skip && (u = (i.model.x - n.model.x) / 3, i.model.controlPointPreviousX = i.model.x - u, i.model.controlPointPreviousY = i.model.y - u * i.mK), o && !o.model.skip && (u = (o.model.x - i.model.x) / 3, i.model.controlPointNextX = i.model.x + u, i.model.controlPointNextY = i.model.y + u * i.mK)) }, r.nextItem = function (t, e, n) { return n ? e >= t.length - 1 ? t[0] : t[e + 1] : e >= t.length - 1 ? t[t.length - 1] : t[e + 1] }, r.previousItem = function (t, e, n) { return n ? e <= 0 ? t[t.length - 1] : t[e - 1] : e <= 0 ? t[0] : t[e - 1] }, r.niceNum = function (t, e) { var n = Math.floor(r.log10(t)), i = t / Math.pow(10, n); return (e ? i < 1.5 ? 1 : i < 3 ? 2 : i < 7 ? 5 : 10 : i <= 1 ? 1 : i <= 2 ? 2 : i <= 5 ? 5 : 10) * Math.pow(10, n) }, r.requestAnimFrame = "undefined" == typeof window ? function (t) { t() } : window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function (t) { return window.setTimeout(t, 1e3 / 60) }, r.getRelativePosition = function (t, e) { var n, i, o = t.originalEvent || t, l = t.target || t.srcElement, a = l.getBoundingClientRect(), s = o.touches; s && s.length > 0 ? (n = s[0].clientX, i = s[0].clientY) : (n = o.clientX, i = o.clientY); var c = parseFloat(r.getStyle(l, "padding-left")), u = parseFloat(r.getStyle(l, "padding-top")), d = parseFloat(r.getStyle(l, "padding-right")), h = parseFloat(r.getStyle(l, "padding-bottom")), f = a.right - a.left - c - d, p = a.bottom - a.top - u - h; return { x: n = Math.round((n - a.left - c) / f * l.width / e.currentDevicePixelRatio), y: i = Math.round((i - a.top - u) / p * l.height / e.currentDevicePixelRatio) } }, r.getConstraintWidth = function (t) { return n(t, "max-width", "clientWidth") }, r.getConstraintHeight = function (t) { return n(t, "max-height", "clientHeight") }, r._calculatePadding = function (t, e, n) { return (e = r.getStyle(t, e)).indexOf("%") > -1 ? n / parseInt(e, 10) : parseInt(e, 10) }, r._getParentNode = function (t) { var e = t.parentNode; return e && e.host && (e = e.host), e }, r.getMaximumWidth = function (t) { var e = r._getParentNode(t); if (!e) return t.clientWidth; var n = e.clientWidth, i = n - r._calculatePadding(e, "padding-left", n) - r._calculatePadding(e, "padding-right", n), o = r.getConstraintWidth(t); return isNaN(o) ? i : Math.min(i, o) }, r.getMaximumHeight = function (t) { var e = r._getParentNode(t); if (!e) return t.clientHeight; var n = e.clientHeight, i = n - r._calculatePadding(e, "padding-top", n) - r._calculatePadding(e, "padding-bottom", n), o = r.getConstraintHeight(t); return isNaN(o) ? i : Math.min(i, o) }, r.getStyle = function (t, e) { return t.currentStyle ? t.currentStyle[e] : document.defaultView.getComputedStyle(t, null).getPropertyValue(e) }, r.retinaScale = function (t, e) { var n = t.currentDevicePixelRatio = e || "undefined" != typeof window && window.devicePixelRatio || 1; if (1 !== n) { var i = t.canvas, o = t.height, r = t.width; i.height = o * n, i.width = r * n, t.ctx.scale(n, n), i.style.height || i.style.width || (i.style.height = o + "px", i.style.width = r + "px") } }, r.fontString = function (t, e, n) { return e + " " + t + "px " + n }, r.longestText = function (t, e, n, i) { var o = (i = i || {}).data = i.data || {}, l = i.garbageCollect = i.garbageCollect || []; i.font !== e && (o = i.data = {}, l = i.garbageCollect = [], i.font = e), t.font = e; var a = 0; r.each(n, (function (e) { null != e && !0 !== r.isArray(e) ? a = r.measureText(t, o, l, a, e) : r.isArray(e) && r.each(e, (function (e) { null == e || r.isArray(e) || (a = r.measureText(t, o, l, a, e)) })) })); var s = l.length / 2; if (s > n.length) { for (var c = 0; c < s; c++)delete o[l[c]]; l.splice(0, s) } return a }, r.measureText = function (t, e, n, i, o) { var r = e[o]; return r || (r = e[o] = t.measureText(o).width, n.push(o)), r > i && (i = r), i }, r.numberOfLabelLines = function (t) { var e = 1; return r.each(t, (function (t) { r.isArray(t) && t.length > e && (e = t.length) })), e }, r.color = i ? function (t) { return t instanceof CanvasGradient && (t = o.global.defaultColor), i(t) } : function (t) { return console.error("Color.js not found!"), t }, r.getHoverColor = function (t) { return t instanceof CanvasPattern ? t : r.color(t).saturate(.5).darken(.1).rgbString() } } }, { 26: 26, 3: 3, 34: 34, 46: 46 }], 29: [function (t, e, n) { var i = t(46); function o(t, e) { return t.native ? { x: t.x, y: t.y } : i.getRelativePosition(t, e) } function r(t, e) { var n, i, o, r, l; for (i = 0, r = t.data.datasets.length; i < r; ++i)if (t.isDatasetVisible(i)) for (o = 0, l = (n = t.getDatasetMeta(i)).data.length; o < l; ++o) { var a = n.data[o]; a._view.skip || e(a) } } function l(t, e) { var n = []; return r(t, (function (t) { t.inRange(e.x, e.y) && n.push(t) })), n } function a(t, e, n, i) { var o = Number.POSITIVE_INFINITY, l = []; return r(t, (function (t) { if (!n || t.inRange(e.x, e.y)) { var r = t.getCenterPoint(), a = i(e, r); a < o ? (l = [t], o = a) : a === o && l.push(t) } })), l } function s(t) { var e = -1 !== t.indexOf("x"), n = -1 !== t.indexOf("y"); return function (t, i) { var o = e ? Math.abs(t.x - i.x) : 0, r = n ? Math.abs(t.y - i.y) : 0; return Math.sqrt(Math.pow(o, 2) + Math.pow(r, 2)) } } function c(t, e, n) { var i = o(e, t); n.axis = n.axis || "x"; var r = s(n.axis), c = n.intersect ? l(t, i) : a(t, i, !1, r), u = []; return c.length ? (t.data.datasets.forEach((function (e, n) { if (t.isDatasetVisible(n)) { var i = t.getDatasetMeta(n).data[c[0]._index]; i && !i._view.skip && u.push(i) } })), u) : [] } e.exports = { modes: { single: function (t, e) { var n = o(e, t), i = []; return r(t, (function (t) { if (t.inRange(n.x, n.y)) return i.push(t), i })), i.slice(0, 1) }, label: c, index: c, dataset: function (t, e, n) { var i = o(e, t); n.axis = n.axis || "xy"; var r = s(n.axis), c = n.intersect ? l(t, i) : a(t, i, !1, r); return c.length > 0 && (c = t.getDatasetMeta(c[0]._datasetIndex).data), c }, "x-axis": function (t, e) { return c(t, e, { intersect: !1 }) }, point: function (t, e) { return l(t, o(e, t)) }, nearest: function (t, e, n) { var i = o(e, t); n.axis = n.axis || "xy"; var r = s(n.axis), l = a(t, i, n.intersect, r); return l.length > 1 && l.sort((function (t, e) { var n = t.getArea() - e.getArea(); return 0 === n && (n = t._datasetIndex - e._datasetIndex), n })), l.slice(0, 1) }, x: function (t, e, n) { var i = o(e, t), l = [], a = !1; return r(t, (function (t) { t.inXRange(i.x) && l.push(t), t.inRange(i.x, i.y) && (a = !0) })), n.intersect && !a && (l = []), l }, y: function (t, e, n) { var i = o(e, t), l = [], a = !1; return r(t, (function (t) { t.inYRange(i.y) && l.push(t), t.inRange(i.x, i.y) && (a = !0) })), n.intersect && !a && (l = []), l } } } }, { 46: 46 }], 30: [function (t, e, n) { t(26)._set("global", { responsive: !0, responsiveAnimationDuration: 0, maintainAspectRatio: !0, events: ["mousemove", "mouseout", "click", "touchstart", "touchmove"], hover: { onHover: null, mode: "nearest", intersect: !0, animationDuration: 400 }, onClick: null, defaultColor: "rgba(0,0,0,0.1)", defaultFontColor: "#666", defaultFontFamily: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif", defaultFontSize: 12, defaultFontStyle: "normal", showLines: !0, elements: {}, layout: { padding: { top: 0, right: 0, bottom: 0, left: 0 } } }), e.exports = function () { var t = function (t, e) { return this.construct(t, e), this }; return t.Chart = t, t } }, { 26: 26 }], 31: [function (t, e, n) { var i = t(46); function o(t, e) { return i.where(t, (function (t) { return t.position === e })) } function r(t, e) { t.forEach((function (t, e) { return t._tmpIndex_ = e, t })), t.sort((function (t, n) { var i = e ? n : t, o = e ? t : n; return i.weight === o.weight ? i._tmpIndex_ - o._tmpIndex_ : i.weight - o.weight })), t.forEach((function (t) { delete t._tmpIndex_ })) } e.exports = { defaults: {}, addBox: function (t, e) { t.boxes || (t.boxes = []), e.fullWidth = e.fullWidth || !1, e.position = e.position || "top", e.weight = e.weight || 0, t.boxes.push(e) }, removeBox: function (t, e) { var n = t.boxes ? t.boxes.indexOf(e) : -1; -1 !== n && t.boxes.splice(n, 1) }, configure: function (t, e, n) { for (var i, o = ["fullWidth", "position", "weight"], r = o.length, l = 0; l < r; ++l)i = o[l], n.hasOwnProperty(i) && (e[i] = n[i]) }, update: function (t, e, n) { if (t) { var l = t.options.layout || {}, a = i.options.toPadding(l.padding), s = a.left, c = a.right, u = a.top, d = a.bottom, h = o(t.boxes, "left"), f = o(t.boxes, "right"), p = o(t.boxes, "top"), m = o(t.boxes, "bottom"), g = o(t.boxes, "chartArea"); r(h, !0), r(f, !1), r(p, !0), r(m, !1); var v = e - s - c, y = n - u - d, b = y / 2, w = (e - v / 2) / (h.length + f.length), x = (n - b) / (p.length + m.length), k = v, S = y, C = []; i.each(h.concat(f, p, m), (function (t) { var e, n = t.isHorizontal(); n ? (e = t.update(t.fullWidth ? v : k, x), S -= e.height) : (e = t.update(w, S), k -= e.width), C.push({ horizontal: n, minSize: e, box: t }) })); var M = 0, _ = 0, T = 0, E = 0; i.each(p.concat(m), (function (t) { if (t.getPadding) { var e = t.getPadding(); M = Math.max(M, e.left), _ = Math.max(_, e.right) } })), i.each(h.concat(f), (function (t) { if (t.getPadding) { var e = t.getPadding(); T = Math.max(T, e.top), E = Math.max(E, e.bottom) } })); var A = s, O = c, P = u, I = d; i.each(h.concat(f), F), i.each(h, (function (t) { A += t.width })), i.each(f, (function (t) { O += t.width })), i.each(p.concat(m), F), i.each(p, (function (t) { P += t.height })), i.each(m, (function (t) { I += t.height })), i.each(h.concat(f), (function (t) { var e = i.findNextWhere(C, (function (e) { return e.box === t })), n = { left: 0, right: 0, top: P, bottom: I }; e && t.update(e.minSize.width, S, n) })), A = s, O = c, P = u, I = d, i.each(h, (function (t) { A += t.width })), i.each(f, (function (t) { O += t.width })), i.each(p, (function (t) { P += t.height })), i.each(m, (function (t) { I += t.height })); var D = Math.max(M - A, 0); A += D, O += Math.max(_ - O, 0); var L = Math.max(T - P, 0); P += L, I += Math.max(E - I, 0); var $ = n - P - I, N = e - A - O; N === k && $ === S || (i.each(h, (function (t) { t.height = $ })), i.each(f, (function (t) { t.height = $ })), i.each(p, (function (t) { t.fullWidth || (t.width = N) })), i.each(m, (function (t) { t.fullWidth || (t.width = N) })), S = $, k = N); var R = s + D, j = u + L; i.each(h.concat(p), V), R += k, j += S, i.each(f, V), i.each(m, V), t.chartArea = { left: A, top: P, right: A + k, bottom: P + S }, i.each(g, (function (e) { e.left = t.chartArea.left, e.top = t.chartArea.top, e.right = t.chartArea.right, e.bottom = t.chartArea.bottom, e.update(k, S) })) } function F(t) { var e = i.findNextWhere(C, (function (e) { return e.box === t })); if (e) if (t.isHorizontal()) { var n = { left: Math.max(A, M), right: Math.max(O, _), top: 0, bottom: 0 }; t.update(t.fullWidth ? v : k, y / 2, n) } else t.update(e.minSize.width, S) } function V(t) { t.isHorizontal() ? (t.left = t.fullWidth ? s : A, t.right = t.fullWidth ? e - c : A + k, t.top = j, t.bottom = j + t.height, j = t.bottom) : (t.left = R, t.right = R + t.width, t.top = P, t.bottom = P + S, R = t.right) } } } }, { 46: 46 }], 32: [function (t, e, n) { var i = t(26), o = t(46); i._set("global", { plugins: {} }), e.exports = { _plugins: [], _cacheId: 0, register: function (t) { var e = this._plugins;[].concat(t).forEach((function (t) { -1 === e.indexOf(t) && e.push(t) })), this._cacheId++ }, unregister: function (t) { var e = this._plugins;[].concat(t).forEach((function (t) { var n = e.indexOf(t); -1 !== n && e.splice(n, 1) })), this._cacheId++ }, clear: function () { this._plugins = [], this._cacheId++ }, count: function () { return this._plugins.length }, getAll: function () { return this._plugins }, notify: function (t, e, n) { var i, o, r, l, a, s = this.descriptors(t), c = s.length; for (i = 0; i < c; ++i)if ("function" == typeof (a = (r = (o = s[i]).plugin)[e]) && ((l = [t].concat(n || [])).push(o.options), !1 === a.apply(r, l))) return !1; return !0 }, descriptors: function (t) { var e = t.$plugins || (t.$plugins = {}); if (e.id === this._cacheId) return e.descriptors; var n = [], r = [], l = t && t.config || {}, a = l.options && l.options.plugins || {}; return this._plugins.concat(l.plugins || []).forEach((function (t) { if (-1 === n.indexOf(t)) { var e = t.id, l = a[e]; !1 !== l && (!0 === l && (l = o.clone(i.global.plugins[e])), n.push(t), r.push({ plugin: t, options: l || {} })) } })), e.descriptors = r, e.id = this._cacheId, r }, _invalidate: function (t) { delete t.$plugins } } }, { 26: 26, 46: 46 }], 33: [function (t, e, n) { var i = t(26), o = t(27), r = t(46), l = t(35); function a(t) { var e, n, i = []; for (e = 0, n = t.length; e < n; ++e)i.push(t[e].label); return i } function s(t, e, n) { var i = t.getPixelForTick(e); return n && (i -= 0 === e ? (t.getPixelForTick(1) - i) / 2 : (i - t.getPixelForTick(e - 1)) / 2), i } function c(t, e, n) { return r.isArray(e) ? r.longestText(t, n, e) : t.measureText(e).width } function u(t) { var e = r.valueOrDefault, n = i.global, o = e(t.fontSize, n.defaultFontSize), l = e(t.fontStyle, n.defaultFontStyle), a = e(t.fontFamily, n.defaultFontFamily); return { size: o, style: l, family: a, font: r.fontString(o, l, a) } } function d(t) { return r.options.toLineHeight(r.valueOrDefault(t.lineHeight, 1.2), r.valueOrDefault(t.fontSize, i.global.defaultFontSize)) } i._set("scale", { display: !0, position: "left", offset: !1, gridLines: { display: !0, color: "rgba(0, 0, 0, 0.1)", lineWidth: 1, drawBorder: !0, drawOnChartArea: !0, drawTicks: !0, tickMarkLength: 10, zeroLineWidth: 1, zeroLineColor: "rgba(0,0,0,0.25)", zeroLineBorderDash: [], zeroLineBorderDashOffset: 0, offsetGridLines: !1, borderDash: [], borderDashOffset: 0 }, scaleLabel: { display: !1, labelString: "", lineHeight: 1.2, padding: { top: 4, bottom: 4 } }, ticks: { beginAtZero: !1, minRotation: 0, maxRotation: 50, mirror: !1, padding: 0, reverse: !1, display: !0, autoSkip: !0, autoSkipPadding: 0, labelOffset: 0, callback: l.formatters.values, minor: {}, major: {} } }), e.exports = o.extend({ getPadding: function () { return { left: this.paddingLeft || 0, top: this.paddingTop || 0, right: this.paddingRight || 0, bottom: this.paddingBottom || 0 } }, getTicks: function () { return this._ticks }, mergeTicksOptions: function () { var t = this.options.ticks; for (var e in !1 === t.minor && (t.minor = { display: !1 }), !1 === t.major && (t.major = { display: !1 }), t) "major" !== e && "minor" !== e && (void 0 === t.minor[e] && (t.minor[e] = t[e]), void 0 === t.major[e] && (t.major[e] = t[e])) }, beforeUpdate: function () { r.callback(this.options.beforeUpdate, [this]) }, update: function (t, e, n) { var i, o, l, a, s, c, u = this; for (u.beforeUpdate(), u.maxWidth = t, u.maxHeight = e, u.margins = r.extend({ left: 0, right: 0, top: 0, bottom: 0 }, n), u.longestTextCache = u.longestTextCache || {}, u.beforeSetDimensions(), u.setDimensions(), u.afterSetDimensions(), u.beforeDataLimits(), u.determineDataLimits(), u.afterDataLimits(), u.beforeBuildTicks(), s = u.buildTicks() || [], u.afterBuildTicks(), u.beforeTickToLabelConversion(), l = u.convertTicksToLabels(s) || u.ticks, u.afterTickToLabelConversion(), u.ticks = l, i = 0, o = l.length; i < o; ++i)a = l[i], (c = s[i]) ? c.label = a : s.push(c = { label: a, major: !1 }); return u._ticks = s, u.beforeCalculateTickRotation(), u.calculateTickRotation(), u.afterCalculateTickRotation(), u.beforeFit(), u.fit(), u.afterFit(), u.afterUpdate(), u.minSize }, afterUpdate: function () { r.callback(this.options.afterUpdate, [this]) }, beforeSetDimensions: function () { r.callback(this.options.beforeSetDimensions, [this]) }, setDimensions: function () { var t = this; t.isHorizontal() ? (t.width = t.maxWidth, t.left = 0, t.right = t.width) : (t.height = t.maxHeight, t.top = 0, t.bottom = t.height), t.paddingLeft = 0, t.paddingTop = 0, t.paddingRight = 0, t.paddingBottom = 0 }, afterSetDimensions: function () { r.callback(this.options.afterSetDimensions, [this]) }, beforeDataLimits: function () { r.callback(this.options.beforeDataLimits, [this]) }, determineDataLimits: r.noop, afterDataLimits: function () { r.callback(this.options.afterDataLimits, [this]) }, beforeBuildTicks: function () { r.callback(this.options.beforeBuildTicks, [this]) }, buildTicks: r.noop, afterBuildTicks: function () { r.callback(this.options.afterBuildTicks, [this]) }, beforeTickToLabelConversion: function () { r.callback(this.options.beforeTickToLabelConversion, [this]) }, convertTicksToLabels: function () { var t = this.options.ticks; this.ticks = this.ticks.map(t.userCallback || t.callback, this) }, afterTickToLabelConversion: function () { r.callback(this.options.afterTickToLabelConversion, [this]) }, beforeCalculateTickRotation: function () { r.callback(this.options.beforeCalculateTickRotation, [this]) }, calculateTickRotation: function () { var t = this, e = t.ctx, n = t.options.ticks, i = a(t._ticks), o = u(n); e.font = o.font; var l = n.minRotation || 0; if (i.length && t.options.display && t.isHorizontal()) for (var s, c = r.longestText(e, o.font, i, t.longestTextCache), d = c, h = t.getPixelForTick(1) - t.getPixelForTick(0) - 6; d > h && l < n.maxRotation;) { var f = r.toRadians(l); if (s = Math.cos(f), Math.sin(f) * c > t.maxHeight) { l--; break } l++, d = s * c } t.labelRotation = l }, afterCalculateTickRotation: function () { r.callback(this.options.afterCalculateTickRotation, [this]) }, beforeFit: function () { r.callback(this.options.beforeFit, [this]) }, fit: function () { var t = this, e = t.minSize = { width: 0, height: 0 }, n = a(t._ticks), i = t.options, o = i.ticks, l = i.scaleLabel, s = i.gridLines, h = i.display, f = t.isHorizontal(), p = u(o), m = i.gridLines.tickMarkLength; if (e.width = f ? t.isFullWidth() ? t.maxWidth - t.margins.left - t.margins.right : t.maxWidth : h && s.drawTicks ? m : 0, e.height = f ? h && s.drawTicks ? m : 0 : t.maxHeight, l.display && h) { var g = d(l) + r.options.toPadding(l.padding).height; f ? e.height += g : e.width += g } if (o.display && h) { var v = r.longestText(t.ctx, p.font, n, t.longestTextCache), y = r.numberOfLabelLines(n), b = .5 * p.size, w = t.options.ticks.padding; if (f) { t.longestLabelWidth = v; var x = r.toRadians(t.labelRotation), k = Math.cos(x), S = Math.sin(x) * v + p.size * y + b * (y - 1) + b; e.height = Math.min(t.maxHeight, e.height + S + w), t.ctx.font = p.font; var C = c(t.ctx, n[0], p.font), M = c(t.ctx, n[n.length - 1], p.font); 0 !== t.labelRotation ? (t.paddingLeft = "bottom" === i.position ? k * C + 3 : k * b + 3, t.paddingRight = "bottom" === i.position ? k * b + 3 : k * M + 3) : (t.paddingLeft = C / 2 + 3, t.paddingRight = M / 2 + 3) } else o.mirror ? v = 0 : v += w + b, e.width = Math.min(t.maxWidth, e.width + v), t.paddingTop = p.size / 2, t.paddingBottom = p.size / 2 } t.handleMargins(), t.width = e.width, t.height = e.height }, handleMargins: function () { var t = this; t.margins && (t.paddingLeft = Math.max(t.paddingLeft - t.margins.left, 0), t.paddingTop = Math.max(t.paddingTop - t.margins.top, 0), t.paddingRight = Math.max(t.paddingRight - t.margins.right, 0), t.paddingBottom = Math.max(t.paddingBottom - t.margins.bottom, 0)) }, afterFit: function () { r.callback(this.options.afterFit, [this]) }, isHorizontal: function () { return "top" === this.options.position || "bottom" === this.options.position }, isFullWidth: function () { return this.options.fullWidth }, getRightValue: function (t) { if (r.isNullOrUndef(t)) return NaN; if ("number" == typeof t && !isFinite(t)) return NaN; if (t) if (this.isHorizontal()) { if (void 0 !== t.x) return this.getRightValue(t.x) } else if (void 0 !== t.y) return this.getRightValue(t.y); return t }, getLabelForIndex: r.noop, getPixelForValue: r.noop, getValueForPixel: r.noop, getPixelForTick: function (t) { var e = this, n = e.options.offset; if (e.isHorizontal()) { var i = (e.width - (e.paddingLeft + e.paddingRight)) / Math.max(e._ticks.length - (n ? 0 : 1), 1), o = i * t + e.paddingLeft; n && (o += i / 2); var r = e.left + Math.round(o); return r += e.isFullWidth() ? e.margins.left : 0 } var l = e.height - (e.paddingTop + e.paddingBottom); return e.top + t * (l / (e._ticks.length - 1)) }, getPixelForDecimal: function (t) { var e = this; if (e.isHorizontal()) { var n = (e.width - (e.paddingLeft + e.paddingRight)) * t + e.paddingLeft, i = e.left + Math.round(n); return i += e.isFullWidth() ? e.margins.left : 0 } return e.top + t * e.height }, getBasePixel: function () { return this.getPixelForValue(this.getBaseValue()) }, getBaseValue: function () { var t = this.min, e = this.max; return this.beginAtZero ? 0 : t < 0 && e < 0 ? e : t > 0 && e > 0 ? t : 0 }, _autoSkip: function (t) { var e, n, i, o, l = this, a = l.isHorizontal(), s = l.options.ticks.minor, c = t.length, u = r.toRadians(l.labelRotation), d = Math.cos(u), h = l.longestLabelWidth * d, f = []; for (s.maxTicksLimit && (o = s.maxTicksLimit), a && (e = !1, (h + s.autoSkipPadding) * c > l.width - (l.paddingLeft + l.paddingRight) && (e = 1 + Math.floor((h + s.autoSkipPadding) * c / (l.width - (l.paddingLeft + l.paddingRight)))), o && c > o && (e = Math.max(e, Math.floor(c / o)))), n = 0; n < c; n++)i = t[n], (e > 1 && n % e > 0 || n % e == 0 && n + e >= c) && n !== c - 1 && delete i.label, f.push(i); return f }, draw: function (t) { var e = this, n = e.options; if (n.display) { var o = e.ctx, l = i.global, a = n.ticks.minor, c = n.ticks.major || a, h = n.gridLines, f = n.scaleLabel, p = 0 !== e.labelRotation, m = e.isHorizontal(), g = a.autoSkip ? e._autoSkip(e.getTicks()) : e.getTicks(), v = r.valueOrDefault(a.fontColor, l.defaultFontColor), y = u(a), b = r.valueOrDefault(c.fontColor, l.defaultFontColor), w = u(c), x = h.drawTicks ? h.tickMarkLength : 0, k = r.valueOrDefault(f.fontColor, l.defaultFontColor), S = u(f), C = r.options.toPadding(f.padding), M = r.toRadians(e.labelRotation), _ = [], T = e.options.gridLines.lineWidth, E = "right" === n.position ? e.left : e.right - T - x, A = "right" === n.position ? e.left + x : e.right, O = "bottom" === n.position ? e.top + T : e.bottom - x - T, P = "bottom" === n.position ? e.top + T + x : e.bottom + T; if (r.each(g, (function (i, o) { if (!r.isNullOrUndef(i.label)) { var c, u, d, f, v, y, b, w, k, S, C, I, D, L, $ = i.label; o === e.zeroLineIndex && n.offset === h.offsetGridLines ? (c = h.zeroLineWidth, u = h.zeroLineColor, d = h.zeroLineBorderDash, f = h.zeroLineBorderDashOffset) : (c = r.valueAtIndexOrDefault(h.lineWidth, o), u = r.valueAtIndexOrDefault(h.color, o), d = r.valueOrDefault(h.borderDash, l.borderDash), f = r.valueOrDefault(h.borderDashOffset, l.borderDashOffset)); var N = "middle", R = "middle", j = a.padding; if (m) { var F = x + j; "bottom" === n.position ? (R = p ? "middle" : "top", N = p ? "right" : "center", L = e.top + F) : (R = p ? "middle" : "bottom", N = p ? "left" : "center", L = e.bottom - F); var V = s(e, o, h.offsetGridLines && g.length > 1); V < e.left && (u = "rgba(0,0,0,0)"), V += r.aliasPixel(c), D = e.getPixelForTick(o) + a.labelOffset, v = b = k = C = V, y = O, w = P, S = t.top, I = t.bottom + T } else { var H, W = "left" === n.position; a.mirror ? (N = W ? "left" : "right", H = j) : (N = W ? "right" : "left", H = x + j), D = W ? e.right - H : e.left + H; var B = s(e, o, h.offsetGridLines && g.length > 1); B < e.top && (u = "rgba(0,0,0,0)"), B += r.aliasPixel(c), L = e.getPixelForTick(o) + a.labelOffset, v = E, b = A, k = t.left, C = t.right + T, y = w = S = I = B } _.push({ tx1: v, ty1: y, tx2: b, ty2: w, x1: k, y1: S, x2: C, y2: I, labelX: D, labelY: L, glWidth: c, glColor: u, glBorderDash: d, glBorderDashOffset: f, rotation: -1 * M, label: $, major: i.major, textBaseline: R, textAlign: N }) } })), r.each(_, (function (t) { if (h.display && (o.save(), o.lineWidth = t.glWidth, o.strokeStyle = t.glColor, o.setLineDash && (o.setLineDash(t.glBorderDash), o.lineDashOffset = t.glBorderDashOffset), o.beginPath(), h.drawTicks && (o.moveTo(t.tx1, t.ty1), o.lineTo(t.tx2, t.ty2)), h.drawOnChartArea && (o.moveTo(t.x1, t.y1), o.lineTo(t.x2, t.y2)), o.stroke(), o.restore()), a.display) { o.save(), o.translate(t.labelX, t.labelY), o.rotate(t.rotation), o.font = t.major ? w.font : y.font, o.fillStyle = t.major ? b : v, o.textBaseline = t.textBaseline, o.textAlign = t.textAlign; var n = t.label; if (r.isArray(n)) for (var i = n.length, l = 1.5 * y.size, s = e.isHorizontal() ? 0 : -l * (i - 1) / 2, c = 0; c < i; ++c)o.fillText("" + n[c], 0, s), s += l; else o.fillText(n, 0, 0); o.restore() } })), f.display) { var I, D, L = 0, $ = d(f) / 2; if (m) I = e.left + (e.right - e.left) / 2, D = "bottom" === n.position ? e.bottom - $ - C.bottom : e.top + $ + C.top; else { var N = "left" === n.position; I = N ? e.left + $ + C.top : e.right - $ - C.top, D = e.top + (e.bottom - e.top) / 2, L = N ? -.5 * Math.PI : .5 * Math.PI } o.save(), o.translate(I, D), o.rotate(L), o.textAlign = "center", o.textBaseline = "middle", o.fillStyle = k, o.font = S.font, o.fillText(f.labelString, 0, 0), o.restore() } if (h.drawBorder) { o.lineWidth = r.valueAtIndexOrDefault(h.lineWidth, 0), o.strokeStyle = r.valueAtIndexOrDefault(h.color, 0); var R = e.left, j = e.right + T, F = e.top, V = e.bottom + T, H = r.aliasPixel(o.lineWidth); m ? (F = V = "top" === n.position ? e.bottom : e.top, F += H, V += H) : (R = j = "left" === n.position ? e.right : e.left, R += H, j += H), o.beginPath(), o.moveTo(R, F), o.lineTo(j, V), o.stroke() } } } }) }, { 26: 26, 27: 27, 35: 35, 46: 46 }], 34: [function (t, e, n) { var i = t(26), o = t(46), r = t(31); e.exports = { constructors: {}, defaults: {}, registerScaleType: function (t, e, n) { this.constructors[t] = e, this.defaults[t] = o.clone(n) }, getScaleConstructor: function (t) { return this.constructors.hasOwnProperty(t) ? this.constructors[t] : void 0 }, getScaleDefaults: function (t) { return this.defaults.hasOwnProperty(t) ? o.merge({}, [i.scale, this.defaults[t]]) : {} }, updateScaleDefaults: function (t, e) { this.defaults.hasOwnProperty(t) && (this.defaults[t] = o.extend(this.defaults[t], e)) }, addScalesToLayout: function (t) { o.each(t.scales, (function (e) { e.fullWidth = e.options.fullWidth, e.position = e.options.position, e.weight = e.options.weight, r.addBox(t, e) })) } } }, { 26: 26, 31: 31, 46: 46 }], 35: [function (t, e, n) { var i = t(46); e.exports = { formatters: { values: function (t) { return i.isArray(t) ? t : "" + t }, linear: function (t, e, n) { var o = n.length > 3 ? n[2] - n[1] : n[1] - n[0]; Math.abs(o) > 1 && t !== Math.floor(t) && (o = t - Math.floor(t)); var r = i.log10(Math.abs(o)), l = ""; if (0 !== t) if (Math.max(Math.abs(n[0]), Math.abs(n[n.length - 1])) < 1e-4) { var a = i.log10(Math.abs(t)); l = t.toExponential(Math.floor(a) - Math.floor(r)) } else { var s = -1 * Math.floor(r); s = Math.max(Math.min(s, 20), 0), l = t.toFixed(s) } else l = "0"; return l }, logarithmic: function (t, e, n) { var o = t / Math.pow(10, Math.floor(i.log10(t))); return 0 === t ? "0" : 1 === o || 2 === o || 5 === o || 0 === e || e === n.length - 1 ? t.toExponential() : "" } } } }, { 46: 46 }], 36: [function (t, e, n) { var i = t(26), o = t(27), r = t(46); i._set("global", { tooltips: { enabled: !0, custom: null, mode: "nearest", position: "average", intersect: !0, backgroundColor: "rgba(0,0,0,0.8)", titleFontStyle: "bold", titleSpacing: 2, titleMarginBottom: 6, titleFontColor: "#fff", titleAlign: "left", bodySpacing: 2, bodyFontColor: "#fff", bodyAlign: "left", footerFontStyle: "bold", footerSpacing: 2, footerMarginTop: 6, footerFontColor: "#fff", footerAlign: "left", yPadding: 6, xPadding: 6, caretPadding: 2, caretSize: 5, cornerRadius: 6, multiKeyBackground: "#fff", displayColors: !0, borderColor: "rgba(0,0,0,0)", borderWidth: 0, callbacks: { beforeTitle: r.noop, title: function (t, e) { var n = "", i = e.labels, o = i ? i.length : 0; if (t.length > 0) { var r = t[0]; r.xLabel ? n = r.xLabel : o > 0 && r.index < o && (n = i[r.index]) } return n }, afterTitle: r.noop, beforeBody: r.noop, beforeLabel: r.noop, label: function (t, e) { var n = e.datasets[t.datasetIndex].label || ""; return n && (n += ": "), n += t.yLabel, n }, labelColor: function (t, e) { var n = e.getDatasetMeta(t.datasetIndex).data[t.index]._view; return { borderColor: n.borderColor, backgroundColor: n.backgroundColor } }, labelTextColor: function () { return this._options.bodyFontColor }, afterLabel: r.noop, afterBody: r.noop, beforeFooter: r.noop, footer: r.noop, afterFooter: r.noop } } }); var l = { average: function (t) { if (!t.length) return !1; var e, n, i = 0, o = 0, r = 0; for (e = 0, n = t.length; e < n; ++e) { var l = t[e]; if (l && l.hasValue()) { var a = l.tooltipPosition(); i += a.x, o += a.y, ++r } } return { x: Math.round(i / r), y: Math.round(o / r) } }, nearest: function (t, e) { var n, i, o, l = e.x, a = e.y, s = Number.POSITIVE_INFINITY; for (n = 0, i = t.length; n < i; ++n) { var c = t[n]; if (c && c.hasValue()) { var u = c.getCenterPoint(), d = r.distanceBetweenPoints(e, u); d < s && (s = d, o = c) } } if (o) { var h = o.tooltipPosition(); l = h.x, a = h.y } return { x: l, y: a } } }; function a(t, e) { var n = r.color(t); return n.alpha(e * n.alpha()).rgbaString() } function s(t, e) { return e && (r.isArray(e) ? Array.prototype.push.apply(t, e) : t.push(e)), t } function c(t) { return ("string" == typeof t || t instanceof String) && t.indexOf("\n") > -1 ? t.split("\n") : t } function u(t) { var e = i.global, n = r.valueOrDefault; return { xPadding: t.xPadding, yPadding: t.yPadding, xAlign: t.xAlign, yAlign: t.yAlign, bodyFontColor: t.bodyFontColor, _bodyFontFamily: n(t.bodyFontFamily, e.defaultFontFamily), _bodyFontStyle: n(t.bodyFontStyle, e.defaultFontStyle), _bodyAlign: t.bodyAlign, bodyFontSize: n(t.bodyFontSize, e.defaultFontSize), bodySpacing: t.bodySpacing, titleFontColor: t.titleFontColor, _titleFontFamily: n(t.titleFontFamily, e.defaultFontFamily), _titleFontStyle: n(t.titleFontStyle, e.defaultFontStyle), titleFontSize: n(t.titleFontSize, e.defaultFontSize), _titleAlign: t.titleAlign, titleSpacing: t.titleSpacing, titleMarginBottom: t.titleMarginBottom, footerFontColor: t.footerFontColor, _footerFontFamily: n(t.footerFontFamily, e.defaultFontFamily), _footerFontStyle: n(t.footerFontStyle, e.defaultFontStyle), footerFontSize: n(t.footerFontSize, e.defaultFontSize), _footerAlign: t.footerAlign, footerSpacing: t.footerSpacing, footerMarginTop: t.footerMarginTop, caretSize: t.caretSize, cornerRadius: t.cornerRadius, backgroundColor: t.backgroundColor, opacity: 0, legendColorBackground: t.multiKeyBackground, displayColors: t.displayColors, borderColor: t.borderColor, borderWidth: t.borderWidth } } function d(t) { return s([], c(t)) } (e.exports = o.extend({ initialize: function () { this._model = u(this._options), this._lastActive = [] }, getTitle: function () { var t = this, e = t._options, n = e.callbacks, i = n.beforeTitle.apply(t, arguments), o = n.title.apply(t, arguments), r = n.afterTitle.apply(t, arguments), l = []; return l = s(l, c(i)), l = s(l, c(o)), l = s(l, c(r)) }, getBeforeBody: function () { return d(this._options.callbacks.beforeBody.apply(this, arguments)) }, getBody: function (t, e) { var n = this, i = n._options.callbacks, o = []; return r.each(t, (function (t) { var r = { before: [], lines: [], after: [] }; s(r.before, c(i.beforeLabel.call(n, t, e))), s(r.lines, i.label.call(n, t, e)), s(r.after, c(i.afterLabel.call(n, t, e))), o.push(r) })), o }, getAfterBody: function () { return d(this._options.callbacks.afterBody.apply(this, arguments)) }, getFooter: function () { var t = this, e = t._options.callbacks, n = e.beforeFooter.apply(t, arguments), i = e.footer.apply(t, arguments), o = e.afterFooter.apply(t, arguments), r = []; return r = s(r, c(n)), r = s(r, c(i)), r = s(r, c(o)) }, update: function (t) { var e, n, i, o, a, s, c, d = this, h = d._options, f = d._model, p = d._model = u(h), m = d._active, g = d._data, v = { xAlign: f.xAlign, yAlign: f.yAlign }, y = { x: f.x, y: f.y }, b = { width: f.width, height: f.height }, w = { x: f.caretX, y: f.caretY }; if (m.length) { p.opacity = 1; var x = [], k = []; w = l[h.position].call(d, m, d._eventPosition); var S = []; for (e = 0, n = m.length; e < n; ++e)S.push((i = m[e], o = void 0, a = void 0, s = void 0, c = void 0, o = i._xScale, a = i._yScale || i._scale, s = i._index, c = i._datasetIndex, { xLabel: o ? o.getLabelForIndex(s, c) : "", yLabel: a ? a.getLabelForIndex(s, c) : "", index: s, datasetIndex: c, x: i._model.x, y: i._model.y })); h.filter && (S = S.filter((function (t) { return h.filter(t, g) }))), h.itemSort && (S = S.sort((function (t, e) { return h.itemSort(t, e, g) }))), r.each(S, (function (t) { x.push(h.callbacks.labelColor.call(d, t, d._chart)), k.push(h.callbacks.labelTextColor.call(d, t, d._chart)) })), p.title = d.getTitle(S, g), p.beforeBody = d.getBeforeBody(S, g), p.body = d.getBody(S, g), p.afterBody = d.getAfterBody(S, g), p.footer = d.getFooter(S, g), p.x = Math.round(w.x), p.y = Math.round(w.y), p.caretPadding = h.caretPadding, p.labelColors = x, p.labelTextColors = k, p.dataPoints = S, b = function (t, e) { var n = t._chart.ctx, i = 2 * e.yPadding, o = 0, l = e.body, a = l.reduce((function (t, e) { return t + e.before.length + e.lines.length + e.after.length }), 0); a += e.beforeBody.length + e.afterBody.length; var s = e.title.length, c = e.footer.length, u = e.titleFontSize, d = e.bodyFontSize, h = e.footerFontSize; i += s * u, i += s ? (s - 1) * e.titleSpacing : 0, i += s ? e.titleMarginBottom : 0, i += a * d, i += a ? (a - 1) * e.bodySpacing : 0, i += c ? e.footerMarginTop : 0, i += c * h, i += c ? (c - 1) * e.footerSpacing : 0; var f = 0, p = function (t) { o = Math.max(o, n.measureText(t).width + f) }; return n.font = r.fontString(u, e._titleFontStyle, e._titleFontFamily), r.each(e.title, p), n.font = r.fontString(d, e._bodyFontStyle, e._bodyFontFamily), r.each(e.beforeBody.concat(e.afterBody), p), f = e.displayColors ? d + 2 : 0, r.each(l, (function (t) { r.each(t.before, p), r.each(t.lines, p), r.each(t.after, p) })), f = 0, n.font = r.fontString(h, e._footerFontStyle, e._footerFontFamily), r.each(e.footer, p), { width: o += 2 * e.xPadding, height: i } }(this, p), y = function (t, e, n, i) { var o = t.x, r = t.y, l = t.caretSize, a = t.caretPadding, s = t.cornerRadius, c = n.xAlign, u = n.yAlign, d = l + a, h = s + a; return "right" === c ? o -= e.width : "center" === c && ((o -= e.width / 2) + e.width > i.width && (o = i.width - e.width), o < 0 && (o = 0)), "top" === u ? r += d : r -= "bottom" === u ? e.height + d : e.height / 2, "center" === u ? "left" === c ? o += d : "right" === c && (o -= d) : "left" === c ? o -= h : "right" === c && (o += h), { x: o, y: r } }(p, b, v = function (t, e) { var n, i, o, r, l, a = t._model, s = t._chart, c = t._chart.chartArea, u = "center", d = "center"; a.y < e.height ? d = "top" : a.y > s.height - e.height && (d = "bottom"); var h = (c.left + c.right) / 2, f = (c.top + c.bottom) / 2; "center" === d ? (n = function (t) { return t <= h }, i = function (t) { return t > h }) : (n = function (t) { return t <= e.width / 2 }, i = function (t) { return t >= s.width - e.width / 2 }), o = function (t) { return t + e.width + a.caretSize + a.caretPadding > s.width }, r = function (t) { return t - e.width - a.caretSize - a.caretPadding < 0 }, l = function (t) { return t <= f ? "top" : "bottom" }, n(a.x) ? (u = "left", o(a.x) && (u = "center", d = l(a.y))) : i(a.x) && (u = "right", r(a.x) && (u = "center", d = l(a.y))); var p = t._options; return { xAlign: p.xAlign ? p.xAlign : u, yAlign: p.yAlign ? p.yAlign : d } }(this, b), d._chart) } else p.opacity = 0; return p.xAlign = v.xAlign, p.yAlign = v.yAlign, p.x = y.x, p.y = y.y, p.width = b.width, p.height = b.height, p.caretX = w.x, p.caretY = w.y, d._model = p, t && h.custom && h.custom.call(d, p), d }, drawCaret: function (t, e) { var n = this._chart.ctx, i = this._view, o = this.getCaretPosition(t, e, i); n.lineTo(o.x1, o.y1), n.lineTo(o.x2, o.y2), n.lineTo(o.x3, o.y3) }, getCaretPosition: function (t, e, n) { var i, o, r, l, a, s, c = n.caretSize, u = n.cornerRadius, d = n.xAlign, h = n.yAlign, f = t.x, p = t.y, m = e.width, g = e.height; if ("center" === h) a = p + g / 2, "left" === d ? (o = (i = f) - c, r = i, l = a + c, s = a - c) : (o = (i = f + m) + c, r = i, l = a - c, s = a + c); else if ("left" === d ? (i = (o = f + u + c) - c, r = o + c) : "right" === d ? (i = (o = f + m - u - c) - c, r = o + c) : (i = (o = n.caretX) - c, r = o + c), "top" === h) a = (l = p) - c, s = l; else { a = (l = p + g) + c, s = l; var v = r; r = i, i = v } return { x1: i, x2: o, x3: r, y1: l, y2: a, y3: s } }, drawTitle: function (t, e, n, i) { var o = e.title; if (o.length) { n.textAlign = e._titleAlign, n.textBaseline = "top"; var l, s, c = e.titleFontSize, u = e.titleSpacing; for (n.fillStyle = a(e.titleFontColor, i), n.font = r.fontString(c, e._titleFontStyle, e._titleFontFamily), l = 0, s = o.length; l < s; ++l)n.fillText(o[l], t.x, t.y), t.y += c + u, l + 1 === o.length && (t.y += e.titleMarginBottom - u) } }, drawBody: function (t, e, n, i) { var o = e.bodyFontSize, l = e.bodySpacing, s = e.body; n.textAlign = e._bodyAlign, n.textBaseline = "top", n.font = r.fontString(o, e._bodyFontStyle, e._bodyFontFamily); var c = 0, u = function (e) { n.fillText(e, t.x + c, t.y), t.y += o + l }; n.fillStyle = a(e.bodyFontColor, i), r.each(e.beforeBody, u); var d = e.displayColors; c = d ? o + 2 : 0, r.each(s, (function (l, s) { var c = a(e.labelTextColors[s], i); n.fillStyle = c, r.each(l.before, u), r.each(l.lines, (function (r) { d && (n.fillStyle = a(e.legendColorBackground, i), n.fillRect(t.x, t.y, o, o), n.lineWidth = 1, n.strokeStyle = a(e.labelColors[s].borderColor, i), n.strokeRect(t.x, t.y, o, o), n.fillStyle = a(e.labelColors[s].backgroundColor, i), n.fillRect(t.x + 1, t.y + 1, o - 2, o - 2), n.fillStyle = c), u(r) })), r.each(l.after, u) })), c = 0, r.each(e.afterBody, u), t.y -= l }, drawFooter: function (t, e, n, i) { var o = e.footer; o.length && (t.y += e.footerMarginTop, n.textAlign = e._footerAlign, n.textBaseline = "top", n.fillStyle = a(e.footerFontColor, i), n.font = r.fontString(e.footerFontSize, e._footerFontStyle, e._footerFontFamily), r.each(o, (function (i) { n.fillText(i, t.x, t.y), t.y += e.footerFontSize + e.footerSpacing }))) }, drawBackground: function (t, e, n, i, o) { n.fillStyle = a(e.backgroundColor, o), n.strokeStyle = a(e.borderColor, o), n.lineWidth = e.borderWidth; var r = e.xAlign, l = e.yAlign, s = t.x, c = t.y, u = i.width, d = i.height, h = e.cornerRadius; n.beginPath(), n.moveTo(s + h, c), "top" === l && this.drawCaret(t, i), n.lineTo(s + u - h, c), n.quadraticCurveTo(s + u, c, s + u, c + h), "center" === l && "right" === r && this.drawCaret(t, i), n.lineTo(s + u, c + d - h), n.quadraticCurveTo(s + u, c + d, s + u - h, c + d), "bottom" === l && this.drawCaret(t, i), n.lineTo(s + h, c + d), n.quadraticCurveTo(s, c + d, s, c + d - h), "center" === l && "left" === r && this.drawCaret(t, i), n.lineTo(s, c + h), n.quadraticCurveTo(s, c, s + h, c), n.closePath(), n.fill(), e.borderWidth > 0 && n.stroke() }, draw: function () { var t = this._chart.ctx, e = this._view; if (0 !== e.opacity) { var n = { width: e.width, height: e.height }, i = { x: e.x, y: e.y }, o = Math.abs(e.opacity < .001) ? 0 : e.opacity, r = e.title.length || e.beforeBody.length || e.body.length || e.afterBody.length || e.footer.length; this._options.enabled && r && (this.drawBackground(i, e, t, n, o), i.x += e.xPadding, i.y += e.yPadding, this.drawTitle(i, e, t, o), this.drawBody(i, e, t, o), this.drawFooter(i, e, t, o)) } }, handleEvent: function (t) { var e, n = this, i = n._options; return n._lastActive = n._lastActive || [], "mouseout" === t.type ? n._active = [] : n._active = n._chart.getElementsAtEventForMode(t, i.mode, i), (e = !r.arrayEquals(n._active, n._lastActive)) && (n._lastActive = n._active, (i.enabled || i.custom) && (n._eventPosition = { x: t.x, y: t.y }, n.update(!0), n.pivot())), e } })).positioners = l }, { 26: 26, 27: 27, 46: 46 }], 37: [function (t, e, n) { var i = t(26), o = t(27), r = t(46); i._set("global", { elements: { arc: { backgroundColor: i.global.defaultColor, borderColor: "#fff", borderWidth: 2 } } }), e.exports = o.extend({ inLabelRange: function (t) { var e = this._view; return !!e && Math.pow(t - e.x, 2) < Math.pow(e.radius + e.hoverRadius, 2) }, inRange: function (t, e) { var n = this._view; if (n) { for (var i = r.getAngleFromPoint(n, { x: t, y: e }), o = i.angle, l = i.distance, a = n.startAngle, s = n.endAngle; s < a;)s += 2 * Math.PI; for (; o > s;)o -= 2 * Math.PI; for (; o < a;)o += 2 * Math.PI; var c = o >= a && o <= s, u = l >= n.innerRadius && l <= n.outerRadius; return c && u } return !1 }, getCenterPoint: function () { var t = this._view, e = (t.startAngle + t.endAngle) / 2, n = (t.innerRadius + t.outerRadius) / 2; return { x: t.x + Math.cos(e) * n, y: t.y + Math.sin(e) * n } }, getArea: function () { var t = this._view; return Math.PI * ((t.endAngle - t.startAngle) / (2 * Math.PI)) * (Math.pow(t.outerRadius, 2) - Math.pow(t.innerRadius, 2)) }, tooltipPosition: function () { var t = this._view, e = t.startAngle + (t.endAngle - t.startAngle) / 2, n = (t.outerRadius - t.innerRadius) / 2 + t.innerRadius; return { x: t.x + Math.cos(e) * n, y: t.y + Math.sin(e) * n } }, draw: function () { var t = this._chart.ctx, e = this._view, n = e.startAngle, i = e.endAngle; t.beginPath(), t.arc(e.x, e.y, e.outerRadius, n, i), t.arc(e.x, e.y, e.innerRadius, i, n, !0), t.closePath(), t.strokeStyle = e.borderColor, t.lineWidth = e.borderWidth, t.fillStyle = e.backgroundColor, t.fill(), t.lineJoin = "bevel", e.borderWidth && t.stroke() } }) }, { 26: 26, 27: 27, 46: 46 }], 38: [function (t, e, n) { var i = t(26), o = t(27), r = t(46), l = i.global; i._set("global", { elements: { line: { tension: .4, backgroundColor: l.defaultColor, borderWidth: 3, borderColor: l.defaultColor, borderCapStyle: "butt", borderDash: [], borderDashOffset: 0, borderJoinStyle: "miter", capBezierPoints: !0, fill: !0 } } }), e.exports = o.extend({ draw: function () { var t, e, n, i, o = this._view, a = this._chart.ctx, s = o.spanGaps, c = this._children.slice(), u = l.elements.line, d = -1; for (this._loop && c.length && c.push(c[0]), a.save(), a.lineCap = o.borderCapStyle || u.borderCapStyle, a.setLineDash && a.setLineDash(o.borderDash || u.borderDash), a.lineDashOffset = o.borderDashOffset || u.borderDashOffset, a.lineJoin = o.borderJoinStyle || u.borderJoinStyle, a.lineWidth = o.borderWidth || u.borderWidth, a.strokeStyle = o.borderColor || l.defaultColor, a.beginPath(), d = -1, t = 0; t < c.length; ++t)e = c[t], n = r.previousItem(c, t), i = e._view, 0 === t ? i.skip || (a.moveTo(i.x, i.y), d = t) : (n = -1 === d ? n : c[d], i.skip || (d !== t - 1 && !s || -1 === d ? a.moveTo(i.x, i.y) : r.canvas.lineTo(a, n._view, e._view), d = t)); a.stroke(), a.restore() } }) }, { 26: 26, 27: 27, 46: 46 }], 39: [function (t, e, n) { var i = t(26), o = t(27), r = t(46), l = i.global.defaultColor; function a(t) { var e = this._view; return !!e && Math.abs(t - e.x) < e.radius + e.hitRadius } i._set("global", { elements: { point: { radius: 3, pointStyle: "circle", backgroundColor: l, borderColor: l, borderWidth: 1, hitRadius: 1, hoverRadius: 4, hoverBorderWidth: 1 } } }), e.exports = o.extend({ inRange: function (t, e) { var n = this._view; return !!n && Math.pow(t - n.x, 2) + Math.pow(e - n.y, 2) < Math.pow(n.hitRadius + n.radius, 2) }, inLabelRange: a, inXRange: a, inYRange: function (t) { var e = this._view; return !!e && Math.abs(t - e.y) < e.radius + e.hitRadius }, getCenterPoint: function () { var t = this._view; return { x: t.x, y: t.y } }, getArea: function () { return Math.PI * Math.pow(this._view.radius, 2) }, tooltipPosition: function () { var t = this._view; return { x: t.x, y: t.y, padding: t.radius + t.borderWidth } }, draw: function (t) { var e = this._view, n = this._model, o = this._chart.ctx, a = e.pointStyle, s = e.rotation, c = e.radius, u = e.x, d = e.y; e.skip || (void 0 === t || n.x >= t.left && 1.01 * t.right >= n.x && n.y >= t.top && 1.01 * t.bottom >= n.y) && (o.strokeStyle = e.borderColor || l, o.lineWidth = r.valueOrDefault(e.borderWidth, i.global.elements.point.borderWidth), o.fillStyle = e.backgroundColor || l, r.canvas.drawPoint(o, a, c, u, d, s)) } }) }, { 26: 26, 27: 27, 46: 46 }], 40: [function (t, e, n) { var i = t(26), o = t(27); function r(t) { return void 0 !== t._view.width } function l(t) { var e, n, i, o, l = t._view; if (r(t)) { var a = l.width / 2; e = l.x - a, n = l.x + a, i = Math.min(l.y, l.base), o = Math.max(l.y, l.base) } else { var s = l.height / 2; e = Math.min(l.x, l.base), n = Math.max(l.x, l.base), i = l.y - s, o = l.y + s } return { left: e, top: i, right: n, bottom: o } } i._set("global", { elements: { rectangle: { backgroundColor: i.global.defaultColor, borderColor: i.global.defaultColor, borderSkipped: "bottom", borderWidth: 0 } } }), e.exports = o.extend({ draw: function () { var t, e, n, i, o, r, l, a = this._chart.ctx, s = this._view, c = s.borderWidth; if (s.horizontal ? (t = s.base, e = s.x, n = s.y - s.height / 2, i = s.y + s.height / 2, o = e > t ? 1 : -1, r = 1, l = s.borderSkipped || "left") : (t = s.x - s.width / 2, e = s.x + s.width / 2, n = s.y, o = 1, r = (i = s.base) > n ? 1 : -1, l = s.borderSkipped || "bottom"), c) { var u = Math.min(Math.abs(t - e), Math.abs(n - i)), d = (c = c > u ? u : c) / 2, h = t + ("left" !== l ? d * o : 0), f = e + ("right" !== l ? -d * o : 0), p = n + ("top" !== l ? d * r : 0), m = i + ("bottom" !== l ? -d * r : 0); h !== f && (n = p, i = m), p !== m && (t = h, e = f) } a.beginPath(), a.fillStyle = s.backgroundColor, a.strokeStyle = s.borderColor, a.lineWidth = c; var g = [[t, i], [t, n], [e, n], [e, i]], v = ["bottom", "left", "top", "right"].indexOf(l, 0); function y(t) { return g[(v + t) % 4] } -1 === v && (v = 0); var b = y(0); a.moveTo(b[0], b[1]); for (var w = 1; w < 4; w++)b = y(w), a.lineTo(b[0], b[1]); a.fill(), c && a.stroke() }, height: function () { var t = this._view; return t.base - t.y }, inRange: function (t, e) { var n = !1; if (this._view) { var i = l(this); n = t >= i.left && t <= i.right && e >= i.top && e <= i.bottom } return n }, inLabelRange: function (t, e) { if (!this._view) return !1; var n = l(this); return r(this) ? t >= n.left && t <= n.right : e >= n.top && e <= n.bottom }, inXRange: function (t) { var e = l(this); return t >= e.left && t <= e.right }, inYRange: function (t) { var e = l(this); return t >= e.top && t <= e.bottom }, getCenterPoint: function () { var t, e, n = this._view; return r(this) ? (t = n.x, e = (n.y + n.base) / 2) : (t = (n.x + n.base) / 2, e = n.y), { x: t, y: e } }, getArea: function () { var t = this._view; return t.width * Math.abs(t.y - t.base) }, tooltipPosition: function () { var t = this._view; return { x: t.x, y: t.y } } }) }, { 26: 26, 27: 27 }], 41: [function (t, e, n) { e.exports = {}, e.exports.Arc = t(37), e.exports.Line = t(38), e.exports.Point = t(39), e.exports.Rectangle = t(40) }, { 37: 37, 38: 38, 39: 39, 40: 40 }], 42: [function (t, e, n) { var i = t(43); n = e.exports = { clear: function (t) { t.ctx.clearRect(0, 0, t.width, t.height) }, roundedRect: function (t, e, n, i, o, r) { if (r) { var l = Math.min(r, o / 2 - 1e-7, i / 2 - 1e-7); t.moveTo(e + l, n), t.lineTo(e + i - l, n), t.arcTo(e + i, n, e + i, n + l, l), t.lineTo(e + i, n + o - l), t.arcTo(e + i, n + o, e + i - l, n + o, l), t.lineTo(e + l, n + o), t.arcTo(e, n + o, e, n + o - l, l), t.lineTo(e, n + l), t.arcTo(e, n, e + l, n, l), t.closePath(), t.moveTo(e, n) } else t.rect(e, n, i, o) }, drawPoint: function (t, e, n, i, r, l) { var a, s, c, u, d, h; if (l = l || 0, !e || "object" !== o(e) || "[object HTMLImageElement]" !== (a = e.toString()) && "[object HTMLCanvasElement]" !== a) { if (!(isNaN(n) || n <= 0)) { switch (t.save(), t.translate(i, r), t.rotate(l * Math.PI / 180), t.beginPath(), e) { default: t.arc(0, 0, n, 0, 2 * Math.PI), t.closePath(); break; case "triangle": d = (s = 3 * n / Math.sqrt(3)) * Math.sqrt(3) / 2, t.moveTo(-s / 2, d / 3), t.lineTo(s / 2, d / 3), t.lineTo(0, -2 * d / 3), t.closePath(); break; case "rect": h = 1 / Math.SQRT2 * n, t.rect(-h, -h, 2 * h, 2 * h); break; case "rectRounded": var f = n / Math.SQRT2, p = -f, m = -f, g = Math.SQRT2 * n; this.roundedRect(t, p, m, g, g, .425 * n); break; case "rectRot": h = 1 / Math.SQRT2 * n, t.moveTo(-h, 0), t.lineTo(0, h), t.lineTo(h, 0), t.lineTo(0, -h), t.closePath(); break; case "cross": t.moveTo(0, n), t.lineTo(0, -n), t.moveTo(-n, 0), t.lineTo(n, 0); break; case "crossRot": c = Math.cos(Math.PI / 4) * n, u = Math.sin(Math.PI / 4) * n, t.moveTo(-c, -u), t.lineTo(c, u), t.moveTo(-c, u), t.lineTo(c, -u); break; case "star": t.moveTo(0, n), t.lineTo(0, -n), t.moveTo(-n, 0), t.lineTo(n, 0), c = Math.cos(Math.PI / 4) * n, u = Math.sin(Math.PI / 4) * n, t.moveTo(-c, -u), t.lineTo(c, u), t.moveTo(-c, u), t.lineTo(c, -u); break; case "line": t.moveTo(-n, 0), t.lineTo(n, 0); break; case "dash": t.moveTo(0, 0), t.lineTo(n, 0) }t.fill(), t.stroke(), t.restore() } } else t.drawImage(e, i - e.width / 2, r - e.height / 2, e.width, e.height) }, clipArea: function (t, e) { t.save(), t.beginPath(), t.rect(e.left, e.top, e.right - e.left, e.bottom - e.top), t.clip() }, unclipArea: function (t) { t.restore() }, lineTo: function (t, e, n, i) { if (n.steppedLine) return "after" === n.steppedLine && !i || "after" !== n.steppedLine && i ? t.lineTo(e.x, n.y) : t.lineTo(n.x, e.y), void t.lineTo(n.x, n.y); n.tension ? t.bezierCurveTo(i ? e.controlPointPreviousX : e.controlPointNextX, i ? e.controlPointPreviousY : e.controlPointNextY, i ? n.controlPointNextX : n.controlPointPreviousX, i ? n.controlPointNextY : n.controlPointPreviousY, n.x, n.y) : t.lineTo(n.x, n.y) } }; i.clear = n.clear, i.drawRoundedRectangle = function (t) { t.beginPath(), n.roundedRect.apply(n, arguments) } }, { 43: 43 }], 43: [function (t, e, n) { var i, o = { noop: function () { }, uid: (i = 0, function () { return i++ }), isNullOrUndef: function (t) { return null == t }, isArray: Array.isArray ? Array.isArray : function (t) { return "[object Array]" === Object.prototype.toString.call(t) }, isObject: function (t) { return null !== t && "[object Object]" === Object.prototype.toString.call(t) }, valueOrDefault: function (t, e) { return void 0 === t ? e : t }, valueAtIndexOrDefault: function (t, e, n) { return o.valueOrDefault(o.isArray(t) ? t[e] : t, n) }, callback: function (t, e, n) { if (t && "function" == typeof t.call) return t.apply(n, e) }, each: function (t, e, n, i) { var r, l, a; if (o.isArray(t)) if (l = t.length, i) for (r = l - 1; r >= 0; r--)e.call(n, t[r], r); else for (r = 0; r < l; r++)e.call(n, t[r], r); else if (o.isObject(t)) for (l = (a = Object.keys(t)).length, r = 0; r < l; r++)e.call(n, t[a[r]], a[r]) }, arrayEquals: function (t, e) { var n, i, r, l; if (!t || !e || t.length !== e.length) return !1; for (n = 0, i = t.length; n < i; ++n)if (r = t[n], l = e[n], r instanceof Array && l instanceof Array) { if (!o.arrayEquals(r, l)) return !1 } else if (r !== l) return !1; return !0 }, clone: function (t) { if (o.isArray(t)) return t.map(o.clone); if (o.isObject(t)) { for (var e = {}, n = Object.keys(t), i = n.length, r = 0; r < i; ++r)e[n[r]] = o.clone(t[n[r]]); return e } return t }, _merger: function (t, e, n, i) { var r = e[t], l = n[t]; o.isObject(r) && o.isObject(l) ? o.merge(r, l, i) : e[t] = o.clone(l) }, _mergerIf: function (t, e, n) { var i = e[t], r = n[t]; o.isObject(i) && o.isObject(r) ? o.mergeIf(i, r) : e.hasOwnProperty(t) || (e[t] = o.clone(r)) }, merge: function (t, e, n) { var i, r, l, a, s, c = o.isArray(e) ? e : [e], u = c.length; if (!o.isObject(t)) return t; for (i = (n = n || {}).merger || o._merger, r = 0; r < u; ++r)if (e = c[r], o.isObject(e)) for (s = 0, a = (l = Object.keys(e)).length; s < a; ++s)i(l[s], t, e, n); return t }, mergeIf: function (t, e) { return o.merge(t, e, { merger: o._mergerIf }) }, extend: function (t) { for (var e = function (e, n) { t[n] = e }, n = 1, i = arguments.length; n < i; ++n)o.each(arguments[n], e); return t }, inherits: function (t) { var e = this, n = t && t.hasOwnProperty("constructor") ? t.constructor : function () { return e.apply(this, arguments) }, i = function () { this.constructor = n }; return i.prototype = e.prototype, n.prototype = new i, n.extend = o.inherits, t && o.extend(n.prototype, t), n.__super__ = e.prototype, n } }; e.exports = o, o.callCallback = o.callback, o.indexOf = function (t, e, n) { return Array.prototype.indexOf.call(t, e, n) }, o.getValueOrDefault = o.valueOrDefault, o.getValueAtIndexOrDefault = o.valueAtIndexOrDefault }, {}], 44: [function (t, e, n) { var i = t(43), o = { linear: function (t) { return t }, easeInQuad: function (t) { return t * t }, easeOutQuad: function (t) { return -t * (t - 2) }, easeInOutQuad: function (t) { return (t /= .5) < 1 ? .5 * t * t : -.5 * (--t * (t - 2) - 1) }, easeInCubic: function (t) { return t * t * t }, easeOutCubic: function (t) { return (t -= 1) * t * t + 1 }, easeInOutCubic: function (t) { return (t /= .5) < 1 ? .5 * t * t * t : .5 * ((t -= 2) * t * t + 2) }, easeInQuart: function (t) { return t * t * t * t }, easeOutQuart: function (t) { return -((t -= 1) * t * t * t - 1) }, easeInOutQuart: function (t) { return (t /= .5) < 1 ? .5 * t * t * t * t : -.5 * ((t -= 2) * t * t * t - 2) }, easeInQuint: function (t) { return t * t * t * t * t }, easeOutQuint: function (t) { return (t -= 1) * t * t * t * t + 1 }, easeInOutQuint: function (t) { return (t /= .5) < 1 ? .5 * t * t * t * t * t : .5 * ((t -= 2) * t * t * t * t + 2) }, easeInSine: function (t) { return 1 - Math.cos(t * (Math.PI / 2)) }, easeOutSine: function (t) { return Math.sin(t * (Math.PI / 2)) }, easeInOutSine: function (t) { return -.5 * (Math.cos(Math.PI * t) - 1) }, easeInExpo: function (t) { return 0 === t ? 0 : Math.pow(2, 10 * (t - 1)) }, easeOutExpo: function (t) { return 1 === t ? 1 : 1 - Math.pow(2, -10 * t) }, easeInOutExpo: function (t) { return 0 === t ? 0 : 1 === t ? 1 : (t /= .5) < 1 ? .5 * Math.pow(2, 10 * (t - 1)) : .5 * (2 - Math.pow(2, -10 * --t)) }, easeInCirc: function (t) { return t >= 1 ? t : -(Math.sqrt(1 - t * t) - 1) }, easeOutCirc: function (t) { return Math.sqrt(1 - (t -= 1) * t) }, easeInOutCirc: function (t) { return (t /= .5) < 1 ? -.5 * (Math.sqrt(1 - t * t) - 1) : .5 * (Math.sqrt(1 - (t -= 2) * t) + 1) }, easeInElastic: function (t) { var e = 1.70158, n = 0, i = 1; return 0 === t ? 0 : 1 === t ? 1 : (n || (n = .3), i < 1 ? (i = 1, e = n / 4) : e = n / (2 * Math.PI) * Math.asin(1 / i), -i * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - e) * (2 * Math.PI) / n)) }, easeOutElastic: function (t) { var e = 1.70158, n = 0, i = 1; return 0 === t ? 0 : 1 === t ? 1 : (n || (n = .3), i < 1 ? (i = 1, e = n / 4) : e = n / (2 * Math.PI) * Math.asin(1 / i), i * Math.pow(2, -10 * t) * Math.sin((t - e) * (2 * Math.PI) / n) + 1) }, easeInOutElastic: function (t) { var e = 1.70158, n = 0, i = 1; return 0 === t ? 0 : 2 == (t /= .5) ? 1 : (n || (n = .45), i < 1 ? (i = 1, e = n / 4) : e = n / (2 * Math.PI) * Math.asin(1 / i), t < 1 ? i * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - e) * (2 * Math.PI) / n) * -.5 : i * Math.pow(2, -10 * (t -= 1)) * Math.sin((t - e) * (2 * Math.PI) / n) * .5 + 1) }, easeInBack: function (t) { var e = 1.70158; return t * t * ((e + 1) * t - e) }, easeOutBack: function (t) { var e = 1.70158; return (t -= 1) * t * ((e + 1) * t + e) + 1 }, easeInOutBack: function (t) { var e = 1.70158; return (t /= .5) < 1 ? t * t * ((1 + (e *= 1.525)) * t - e) * .5 : .5 * ((t -= 2) * t * ((1 + (e *= 1.525)) * t + e) + 2) }, easeInBounce: function (t) { return 1 - o.easeOutBounce(1 - t) }, easeOutBounce: function (t) { return t < 1 / 2.75 ? 7.5625 * t * t : t < 2 / 2.75 ? 7.5625 * (t -= 1.5 / 2.75) * t + .75 : t < 2.5 / 2.75 ? 7.5625 * (t -= 2.25 / 2.75) * t + .9375 : 7.5625 * (t -= 2.625 / 2.75) * t + .984375 }, easeInOutBounce: function (t) { return t < .5 ? .5 * o.easeInBounce(2 * t) : .5 * o.easeOutBounce(2 * t - 1) + .5 } }; e.exports = { effects: o }, i.easingEffects = o }, { 43: 43 }], 45: [function (t, e, n) { var i = t(43); e.exports = { toLineHeight: function (t, e) { var n = ("" + t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/); if (!n || "normal" === n[1]) return 1.2 * e; switch (t = +n[2], n[3]) { case "px": return t; case "%": t /= 100 }return e * t }, toPadding: function (t) { var e, n, o, r; return i.isObject(t) ? (e = +t.top || 0, n = +t.right || 0, o = +t.bottom || 0, r = +t.left || 0) : e = n = o = r = +t || 0, { top: e, right: n, bottom: o, left: r, height: e + o, width: r + n } }, resolve: function (t, e, n) { var o, r, l; for (o = 0, r = t.length; o < r; ++o)if (void 0 !== (l = t[o]) && (void 0 !== e && "function" == typeof l && (l = l(e)), void 0 !== n && i.isArray(l) && (l = l[n]), void 0 !== l)) return l } } }, { 43: 43 }], 46: [function (t, e, n) { e.exports = t(43), e.exports.easing = t(44), e.exports.canvas = t(42), e.exports.options = t(45) }, { 42: 42, 43: 43, 44: 44, 45: 45 }], 47: [function (t, e, n) { e.exports = { acquireContext: function (t) { return t && t.canvas && (t = t.canvas), t && t.getContext("2d") || null } } }, {}], 48: [function (t, e, n) { var i = t(46), o = "$chartjs", r = "chartjs-", l = r + "render-monitor", a = r + "render-animation", s = ["animationstart", "webkitAnimationStart"], c = { touchstart: "mousedown", touchmove: "mousemove", touchend: "mouseup", pointerenter: "mouseenter", pointerdown: "mousedown", pointermove: "mousemove", pointerup: "mouseup", pointerleave: "mouseout", pointerout: "mouseout" }; function u(t, e) { var n = i.getStyle(t, e), o = n && n.match(/^(\d+)(\.\d+)?px$/); return o ? Number(o[1]) : void 0 } var d = !!function () { var t = !1; try { var e = Object.defineProperty({}, "passive", { get: function () { t = !0 } }); window.addEventListener("e", null, e) } catch (t) { } return t }() && { passive: !0 }; function h(t, e, n) { t.addEventListener(e, n, d) } function f(t, e, n) { t.removeEventListener(e, n, d) } function p(t, e, n, i, o) { return { type: t, chart: e, native: o || null, x: void 0 !== n ? n : null, y: void 0 !== i ? i : null } } function m(t, e, n) { var c, u, d, f, m = t[o] || (t[o] = {}), g = m.resizer = function (t) { var e = document.createElement("div"), n = r + "size-monitor", i = "position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;"; e.style.cssText = i, e.className = n, e.innerHTML = '<div class="' + n + '-expand" style="' + i + '"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="' + n + '-shrink" style="' + i + '"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>'; var o = e.childNodes[0], l = e.childNodes[1]; e._reset = function () { o.scrollLeft = 1e6, o.scrollTop = 1e6, l.scrollLeft = 1e6, l.scrollTop = 1e6 }; var a = function () { e._reset(), t() }; return h(o, "scroll", a.bind(o, "expand")), h(l, "scroll", a.bind(l, "shrink")), e }((c = function () { if (m.resizer) return e(p("resize", n)) }, d = !1, f = [], function () { f = Array.prototype.slice.call(arguments), u = u || this, d || (d = !0, i.requestAnimFrame.call(window, (function () { d = !1, c.apply(u, f) }))) })); !function (t, e) { var n = t[o] || (t[o] = {}), r = n.renderProxy = function (t) { t.animationName === a && e() }; i.each(s, (function (e) { h(t, e, r) })), n.reflow = !!t.offsetParent, t.classList.add(l) }(t, (function () { if (m.resizer) { var e = t.parentNode; e && e !== g.parentNode && e.insertBefore(g, e.firstChild), g._reset() } })) } function g(t) { var e = t[o] || {}, n = e.resizer; delete e.resizer, function (t) { var e = t[o] || {}, n = e.renderProxy; n && (i.each(s, (function (e) { f(t, e, n) })), delete e.renderProxy), t.classList.remove(l) }(t), n && n.parentNode && n.parentNode.removeChild(n) } e.exports = { _enabled: "undefined" != typeof window && "undefined" != typeof document, initialize: function () { var t, e, n, i = "from{opacity:0.99}to{opacity:1}"; e = "@-webkit-keyframes " + a + "{" + i + "}@keyframes " + a + "{" + i + "}." + l + "{-webkit-animation:" + a + " 0.001s;animation:" + a + " 0.001s;}", n = (t = this)._style || document.createElement("style"), t._style || (t._style = n, e = "/* Chart.js */\n" + e, n.setAttribute("type", "text/css"), document.getElementsByTagName("head")[0].appendChild(n)), n.appendChild(document.createTextNode(e)) }, acquireContext: function (t, e) { "string" == typeof t ? t = document.getElementById(t) : t.length && (t = t[0]), t && t.canvas && (t = t.canvas); var n = t && t.getContext && t.getContext("2d"); return n && n.canvas === t ? (function (t, e) { var n = t.style, i = t.getAttribute("height"), r = t.getAttribute("width"); if (t[o] = { initial: { height: i, width: r, style: { display: n.display, height: n.height, width: n.width } } }, n.display = n.display || "block", null === r || "" === r) { var l = u(t, "width"); void 0 !== l && (t.width = l) } if (null === i || "" === i) if ("" === t.style.height) t.height = t.width / (e.options.aspectRatio || 2); else { var a = u(t, "height"); void 0 !== l && (t.height = a) } }(t, e), n) : null }, releaseContext: function (t) { var e = t.canvas; if (e[o]) { var n = e[o].initial;["height", "width"].forEach((function (t) { var o = n[t]; i.isNullOrUndef(o) ? e.removeAttribute(t) : e.setAttribute(t, o) })), i.each(n.style || {}, (function (t, n) { e.style[n] = t })), e.width = e.width, delete e[o] } }, addEventListener: function (t, e, n) { var r = t.canvas; if ("resize" !== e) { var l = n[o] || (n[o] = {}); h(r, e, (l.proxies || (l.proxies = {}))[t.id + "_" + e] = function (e) { n(function (t, e) { var n = c[t.type] || t.type, o = i.getRelativePosition(t, e); return p(n, e, o.x, o.y, t) }(e, t)) }) } else m(r, n, t) }, removeEventListener: function (t, e, n) { var i = t.canvas; if ("resize" !== e) { var r = ((n[o] || {}).proxies || {})[t.id + "_" + e]; r && f(i, e, r) } else g(i) } }, i.addEvent = h, i.removeEvent = f }, { 46: 46 }], 49: [function (t, e, n) { var i = t(46), o = t(47), r = t(48), l = r._enabled ? r : o; e.exports = i.extend({ initialize: function () { }, acquireContext: function () { }, releaseContext: function () { }, addEventListener: function () { }, removeEventListener: function () { } }, l) }, { 46: 46, 47: 47, 48: 48 }], 50: [function (t, e, n) { e.exports = {}, e.exports.filler = t(51), e.exports.legend = t(52), e.exports.title = t(53) }, { 51: 51, 52: 52, 53: 53 }], 51: [function (t, e, n) { var i = t(26), o = t(41), r = t(46); i._set("global", { plugins: { filler: { propagate: !0 } } }); var l = { dataset: function (t) { var e = t.fill, n = t.chart, i = n.getDatasetMeta(e), o = i && n.isDatasetVisible(e) && i.dataset._children || [], r = o.length || 0; return r ? function (t, e) { return e < r && o[e]._view || null } : null }, boundary: function (t) { var e = t.boundary, n = e ? e.x : null, i = e ? e.y : null; return function (t) { return { x: null === n ? t.x : n, y: null === i ? t.y : i } } } }; function a(t, e, n) { var i, o = t._model || {}, r = o.fill; if (void 0 === r && (r = !!o.backgroundColor), !1 === r || null === r) return !1; if (!0 === r) return "origin"; if (i = parseFloat(r, 10), isFinite(i) && Math.floor(i) === i) return "-" !== r[0] && "+" !== r[0] || (i = e + i), !(i === e || i < 0 || i >= n) && i; switch (r) { case "bottom": return "start"; case "top": return "end"; case "zero": return "origin"; case "origin": case "start": case "end": return r; default: return !1 } } function s(t) { var e, n = t.el._model || {}, i = t.el._scale || {}, o = t.fill, r = null; if (isFinite(o)) return null; if ("start" === o ? r = void 0 === n.scaleBottom ? i.bottom : n.scaleBottom : "end" === o ? r = void 0 === n.scaleTop ? i.top : n.scaleTop : void 0 !== n.scaleZero ? r = n.scaleZero : i.getBasePosition ? r = i.getBasePosition() : i.getBasePixel && (r = i.getBasePixel()), null != r) { if (void 0 !== r.x && void 0 !== r.y) return r; if ("number" == typeof r && isFinite(r)) return { x: (e = i.isHorizontal()) ? r : null, y: e ? null : r } } return null } function c(t, e, n) { var i, o = t[e].fill, r = [e]; if (!n) return o; for (; !1 !== o && -1 === r.indexOf(o);) { if (!isFinite(o)) return o; if (!(i = t[o])) return !1; if (i.visible) return o; r.push(o), o = i.fill } return !1 } function u(t) { var e = t.fill, n = "dataset"; return !1 === e ? null : (isFinite(e) || (n = "boundary"), l[n](t)) } function d(t) { return t && !t.skip } function h(t, e, n, i, o) { var l; if (i && o) { for (t.moveTo(e[0].x, e[0].y), l = 1; l < i; ++l)r.canvas.lineTo(t, e[l - 1], e[l]); for (t.lineTo(n[o - 1].x, n[o - 1].y), l = o - 1; l > 0; --l)r.canvas.lineTo(t, n[l], n[l - 1], !0) } } e.exports = { id: "filler", afterDatasetsUpdate: function (t, e) { var n, i, r, l, d = (t.data.datasets || []).length, h = e.propagate, f = []; for (i = 0; i < d; ++i)l = null, (r = (n = t.getDatasetMeta(i)).dataset) && r._model && r instanceof o.Line && (l = { visible: t.isDatasetVisible(i), fill: a(r, i, d), chart: t, el: r }), n.$filler = l, f.push(l); for (i = 0; i < d; ++i)(l = f[i]) && (l.fill = c(f, i, h), l.boundary = s(l), l.mapper = u(l)) }, beforeDatasetDraw: function (t, e) { var n = e.meta.$filler; if (n) { var o = t.ctx, l = n.el, a = l._view, s = l._children || [], c = n.mapper, u = a.backgroundColor || i.global.defaultColor; c && u && s.length && (r.canvas.clipArea(o, t.chartArea), function (t, e, n, i, o, r) { var l, a, s, c, u, f, p, m = e.length, g = i.spanGaps, v = [], y = [], b = 0, w = 0; for (t.beginPath(), l = 0, a = m + !!r; l < a; ++l)u = n(c = e[s = l % m]._view, s, i), f = d(c), p = d(u), f && p ? (b = v.push(c), w = y.push(u)) : b && w && (g ? (f && v.push(c), p && y.push(u)) : (h(t, v, y, b, w), b = w = 0, v = [], y = [])); h(t, v, y, b, w), t.closePath(), t.fillStyle = o, t.fill() }(o, s, c, a, u, l._loop), r.canvas.unclipArea(o)) } } } }, { 26: 26, 41: 41, 46: 46 }], 52: [function (t, e, n) { var i = t(26), o = t(27), r = t(46), l = t(31), a = r.noop; function s(t, e) { return t.usePointStyle ? e * Math.SQRT2 : t.boxWidth } i._set("global", { legend: { display: !0, position: "top", fullWidth: !0, reverse: !1, weight: 1e3, onClick: function (t, e) { var n = e.datasetIndex, i = this.chart, o = i.getDatasetMeta(n); o.hidden = null === o.hidden ? !i.data.datasets[n].hidden : null, i.update() }, onHover: null, labels: { boxWidth: 40, padding: 10, generateLabels: function (t) { var e = t.data; return r.isArray(e.datasets) ? e.datasets.map((function (e, n) { return { text: e.label, fillStyle: r.isArray(e.backgroundColor) ? e.backgroundColor[0] : e.backgroundColor, hidden: !t.isDatasetVisible(n), lineCap: e.borderCapStyle, lineDash: e.borderDash, lineDashOffset: e.borderDashOffset, lineJoin: e.borderJoinStyle, lineWidth: e.borderWidth, strokeStyle: e.borderColor, pointStyle: e.pointStyle, datasetIndex: n } }), this) : [] } } }, legendCallback: function (t) { var e = []; e.push('<ul class="' + t.id + '-legend">'); for (var n = 0; n < t.data.datasets.length; n++)e.push('<li><span style="background-color:' + t.data.datasets[n].backgroundColor + '"></span>'), t.data.datasets[n].label && e.push(t.data.datasets[n].label), e.push("</li>"); return e.push("</ul>"), e.join("") } }); var c = o.extend({ initialize: function (t) { r.extend(this, t), this.legendHitBoxes = [], this.doughnutMode = !1 }, beforeUpdate: a, update: function (t, e, n) { var i = this; return i.beforeUpdate(), i.maxWidth = t, i.maxHeight = e, i.margins = n, i.beforeSetDimensions(), i.setDimensions(), i.afterSetDimensions(), i.beforeBuildLabels(), i.buildLabels(), i.afterBuildLabels(), i.beforeFit(), i.fit(), i.afterFit(), i.afterUpdate(), i.minSize }, afterUpdate: a, beforeSetDimensions: a, setDimensions: function () { var t = this; t.isHorizontal() ? (t.width = t.maxWidth, t.left = 0, t.right = t.width) : (t.height = t.maxHeight, t.top = 0, t.bottom = t.height), t.paddingLeft = 0, t.paddingTop = 0, t.paddingRight = 0, t.paddingBottom = 0, t.minSize = { width: 0, height: 0 } }, afterSetDimensions: a, beforeBuildLabels: a, buildLabels: function () { var t = this, e = t.options.labels || {}, n = r.callback(e.generateLabels, [t.chart], t) || []; e.filter && (n = n.filter((function (n) { return e.filter(n, t.chart.data) }))), t.options.reverse && n.reverse(), t.legendItems = n }, afterBuildLabels: a, beforeFit: a, fit: function () { var t = this, e = t.options, n = e.labels, o = e.display, l = t.ctx, a = i.global, c = r.valueOrDefault, u = c(n.fontSize, a.defaultFontSize), d = c(n.fontStyle, a.defaultFontStyle), h = c(n.fontFamily, a.defaultFontFamily), f = r.fontString(u, d, h), p = t.legendHitBoxes = [], m = t.minSize, g = t.isHorizontal(); if (g ? (m.width = t.maxWidth, m.height = o ? 10 : 0) : (m.width = o ? 10 : 0, m.height = t.maxHeight), o) if (l.font = f, g) { var v = t.lineWidths = [0], y = t.legendItems.length ? u + n.padding : 0; l.textAlign = "left", l.textBaseline = "top", r.each(t.legendItems, (function (e, i) { var o = s(n, u) + u / 2 + l.measureText(e.text).width; v[v.length - 1] + o + n.padding >= t.width && (y += u + n.padding, v[v.length] = t.left), p[i] = { left: 0, top: 0, width: o, height: u }, v[v.length - 1] += o + n.padding })), m.height += y } else { var b = n.padding, w = t.columnWidths = [], x = n.padding, k = 0, S = 0, C = u + b; r.each(t.legendItems, (function (t, e) { var i = s(n, u) + u / 2 + l.measureText(t.text).width; S + C > m.height && (x += k + n.padding, w.push(k), k = 0, S = 0), k = Math.max(k, i), S += C, p[e] = { left: 0, top: 0, width: i, height: u } })), x += k, w.push(k), m.width += x } t.width = m.width, t.height = m.height }, afterFit: a, isHorizontal: function () { return "top" === this.options.position || "bottom" === this.options.position }, draw: function () { var t = this, e = t.options, n = e.labels, o = i.global, l = o.elements.line, a = t.width, c = t.lineWidths; if (e.display) { var u, d = t.ctx, h = r.valueOrDefault, f = h(n.fontColor, o.defaultFontColor), p = h(n.fontSize, o.defaultFontSize), m = h(n.fontStyle, o.defaultFontStyle), g = h(n.fontFamily, o.defaultFontFamily), v = r.fontString(p, m, g); d.textAlign = "left", d.textBaseline = "middle", d.lineWidth = .5, d.strokeStyle = f, d.fillStyle = f, d.font = v; var y = s(n, p), b = t.legendHitBoxes, w = t.isHorizontal(); u = w ? { x: t.left + (a - c[0]) / 2, y: t.top + n.padding, line: 0 } : { x: t.left + n.padding, y: t.top + n.padding, line: 0 }; var x = p + n.padding; r.each(t.legendItems, (function (i, s) { var f = d.measureText(i.text).width, m = y + p / 2 + f, g = u.x, v = u.y; w ? g + m >= a && (v = u.y += x, u.line++, g = u.x = t.left + (a - c[u.line]) / 2) : v + x > t.bottom && (g = u.x = g + t.columnWidths[u.line] + n.padding, v = u.y = t.top + n.padding, u.line++), function (t, n, i) { if (!(isNaN(y) || y <= 0)) { d.save(), d.fillStyle = h(i.fillStyle, o.defaultColor), d.lineCap = h(i.lineCap, l.borderCapStyle), d.lineDashOffset = h(i.lineDashOffset, l.borderDashOffset), d.lineJoin = h(i.lineJoin, l.borderJoinStyle), d.lineWidth = h(i.lineWidth, l.borderWidth), d.strokeStyle = h(i.strokeStyle, o.defaultColor); var a = 0 === h(i.lineWidth, l.borderWidth); if (d.setLineDash && d.setLineDash(h(i.lineDash, l.borderDash)), e.labels && e.labels.usePointStyle) { var s = p * Math.SQRT2 / 2, c = s / Math.SQRT2, u = t + c, f = n + c; r.canvas.drawPoint(d, i.pointStyle, s, u, f) } else a || d.strokeRect(t, n, y, p), d.fillRect(t, n, y, p); d.restore() } }(g, v, i), b[s].left = g, b[s].top = v, function (t, e, n, i) { var o = p / 2, r = y + o + t, l = e + o; d.fillText(n.text, r, l), n.hidden && (d.beginPath(), d.lineWidth = 2, d.moveTo(r, l), d.lineTo(r + i, l), d.stroke()) }(g, v, i, f), w ? u.x += m + n.padding : u.y += x })) } }, handleEvent: function (t) { var e = this, n = e.options, i = "mouseup" === t.type ? "click" : t.type, o = !1; if ("mousemove" === i) { if (!n.onHover) return } else { if ("click" !== i) return; if (!n.onClick) return } var r = t.x, l = t.y; if (r >= e.left && r <= e.right && l >= e.top && l <= e.bottom) for (var a = e.legendHitBoxes, s = 0; s < a.length; ++s) { var c = a[s]; if (r >= c.left && r <= c.left + c.width && l >= c.top && l <= c.top + c.height) { if ("click" === i) { n.onClick.call(e, t.native, e.legendItems[s]), o = !0; break } if ("mousemove" === i) { n.onHover.call(e, t.native, e.legendItems[s]), o = !0; break } } } return o } }); function u(t, e) { var n = new c({ ctx: t.ctx, options: e, chart: t }); l.configure(t, n, e), l.addBox(t, n), t.legend = n } e.exports = { id: "legend", _element: c, beforeInit: function (t) { var e = t.options.legend; e && u(t, e) }, beforeUpdate: function (t) { var e = t.options.legend, n = t.legend; e ? (r.mergeIf(e, i.global.legend), n ? (l.configure(t, n, e), n.options = e) : u(t, e)) : n && (l.removeBox(t, n), delete t.legend) }, afterEvent: function (t, e) { var n = t.legend; n && n.handleEvent(e) } } }, { 26: 26, 27: 27, 31: 31, 46: 46 }], 53: [function (t, e, n) { var i = t(26), o = t(27), r = t(46), l = t(31), a = r.noop; i._set("global", { title: { display: !1, fontStyle: "bold", fullWidth: !0, lineHeight: 1.2, padding: 10, position: "top", text: "", weight: 2e3 } }); var s = o.extend({ initialize: function (t) { r.extend(this, t), this.legendHitBoxes = [] }, beforeUpdate: a, update: function (t, e, n) { var i = this; return i.beforeUpdate(), i.maxWidth = t, i.maxHeight = e, i.margins = n, i.beforeSetDimensions(), i.setDimensions(), i.afterSetDimensions(), i.beforeBuildLabels(), i.buildLabels(), i.afterBuildLabels(), i.beforeFit(), i.fit(), i.afterFit(), i.afterUpdate(), i.minSize }, afterUpdate: a, beforeSetDimensions: a, setDimensions: function () { var t = this; t.isHorizontal() ? (t.width = t.maxWidth, t.left = 0, t.right = t.width) : (t.height = t.maxHeight, t.top = 0, t.bottom = t.height), t.paddingLeft = 0, t.paddingTop = 0, t.paddingRight = 0, t.paddingBottom = 0, t.minSize = { width: 0, height: 0 } }, afterSetDimensions: a, beforeBuildLabels: a, buildLabels: a, afterBuildLabels: a, beforeFit: a, fit: function () { var t = this, e = r.valueOrDefault, n = t.options, o = n.display, l = e(n.fontSize, i.global.defaultFontSize), a = t.minSize, s = r.isArray(n.text) ? n.text.length : 1, c = r.options.toLineHeight(n.lineHeight, l), u = o ? s * c + 2 * n.padding : 0; t.isHorizontal() ? (a.width = t.maxWidth, a.height = u) : (a.width = u, a.height = t.maxHeight), t.width = a.width, t.height = a.height }, afterFit: a, isHorizontal: function () { var t = this.options.position; return "top" === t || "bottom" === t }, draw: function () { var t = this, e = t.ctx, n = r.valueOrDefault, o = t.options, l = i.global; if (o.display) { var a, s, c, u = n(o.fontSize, l.defaultFontSize), d = n(o.fontStyle, l.defaultFontStyle), h = n(o.fontFamily, l.defaultFontFamily), f = r.fontString(u, d, h), p = r.options.toLineHeight(o.lineHeight, u), m = p / 2 + o.padding, g = 0, v = t.top, y = t.left, b = t.bottom, w = t.right; e.fillStyle = n(o.fontColor, l.defaultFontColor), e.font = f, t.isHorizontal() ? (s = y + (w - y) / 2, c = v + m, a = w - y) : (s = "left" === o.position ? y + m : w - m, c = v + (b - v) / 2, a = b - v, g = Math.PI * ("left" === o.position ? -.5 : .5)), e.save(), e.translate(s, c), e.rotate(g), e.textAlign = "center", e.textBaseline = "middle"; var x = o.text; if (r.isArray(x)) for (var k = 0, S = 0; S < x.length; ++S)e.fillText(x[S], 0, k, a), k += p; else e.fillText(x, 0, 0, a); e.restore() } } }); function c(t, e) { var n = new s({ ctx: t.ctx, options: e, chart: t }); l.configure(t, n, e), l.addBox(t, n), t.titleBlock = n } e.exports = { id: "title", _element: s, beforeInit: function (t) { var e = t.options.title; e && c(t, e) }, beforeUpdate: function (t) { var e = t.options.title, n = t.titleBlock; e ? (r.mergeIf(e, i.global.title), n ? (l.configure(t, n, e), n.options = e) : c(t, e)) : n && (l.removeBox(t, n), delete t.titleBlock) } } }, { 26: 26, 27: 27, 31: 31, 46: 46 }], 54: [function (t, e, n) { var i = t(33), o = t(34); e.exports = function () { var t = i.extend({ getLabels: function () { var t = this.chart.data; return this.options.labels || (this.isHorizontal() ? t.xLabels : t.yLabels) || t.labels }, determineDataLimits: function () { var t, e = this, n = e.getLabels(); e.minIndex = 0, e.maxIndex = n.length - 1, void 0 !== e.options.ticks.min && (t = n.indexOf(e.options.ticks.min), e.minIndex = -1 !== t ? t : e.minIndex), void 0 !== e.options.ticks.max && (t = n.indexOf(e.options.ticks.max), e.maxIndex = -1 !== t ? t : e.maxIndex), e.min = n[e.minIndex], e.max = n[e.maxIndex] }, buildTicks: function () { var t = this, e = t.getLabels(); t.ticks = 0 === t.minIndex && t.maxIndex === e.length - 1 ? e : e.slice(t.minIndex, t.maxIndex + 1) }, getLabelForIndex: function (t, e) { var n = this, i = n.chart.data, o = n.isHorizontal(); return i.yLabels && !o ? n.getRightValue(i.datasets[e].data[t]) : n.ticks[t - n.minIndex] }, getPixelForValue: function (t, e) { var n, i = this, o = i.options.offset, r = Math.max(i.maxIndex + 1 - i.minIndex - (o ? 0 : 1), 1); if (null != t && (n = i.isHorizontal() ? t.x : t.y), void 0 !== n || void 0 !== t && isNaN(e)) { t = n || t; var l = i.getLabels().indexOf(t); e = -1 !== l ? l : e } if (i.isHorizontal()) { var a = i.width / r, s = a * (e - i.minIndex); return o && (s += a / 2), i.left + Math.round(s) } var c = i.height / r, u = c * (e - i.minIndex); return o && (u += c / 2), i.top + Math.round(u) }, getPixelForTick: function (t) { return this.getPixelForValue(this.ticks[t], t + this.minIndex, null) }, getValueForPixel: function (t) { var e = this, n = e.options.offset, i = Math.max(e._ticks.length - (n ? 0 : 1), 1), o = e.isHorizontal(), r = (o ? e.width : e.height) / i; return t -= o ? e.left : e.top, n && (t -= r / 2), (t <= 0 ? 0 : Math.round(t / r)) + e.minIndex }, getBasePixel: function () { return this.bottom } }); o.registerScaleType("category", t, { position: "bottom" }) } }, { 33: 33, 34: 34 }], 55: [function (t, e, n) { var i = t(26), o = t(46), r = t(34), l = t(35); e.exports = function (t) { var e = { position: "left", ticks: { callback: l.formatters.linear } }, n = t.LinearScaleBase.extend({ determineDataLimits: function () { var t = this, e = t.options, n = t.chart, i = n.data.datasets, r = t.isHorizontal(); function l(e) { return r ? e.xAxisID === t.id : e.yAxisID === t.id } t.min = null, t.max = null; var a = e.stacked; if (void 0 === a && o.each(i, (function (t, e) { if (!a) { var i = n.getDatasetMeta(e); n.isDatasetVisible(e) && l(i) && void 0 !== i.stack && (a = !0) } })), e.stacked || a) { var s = {}; o.each(i, (function (i, r) { var a = n.getDatasetMeta(r), c = [a.type, void 0 === e.stacked && void 0 === a.stack ? r : "", a.stack].join("."); void 0 === s[c] && (s[c] = { positiveValues: [], negativeValues: [] }); var u = s[c].positiveValues, d = s[c].negativeValues; n.isDatasetVisible(r) && l(a) && o.each(i.data, (function (n, i) { var o = +t.getRightValue(n); isNaN(o) || a.data[i].hidden || (u[i] = u[i] || 0, d[i] = d[i] || 0, e.relativePoints ? u[i] = 100 : o < 0 ? d[i] += o : u[i] += o) })) })), o.each(s, (function (e) { var n = e.positiveValues.concat(e.negativeValues), i = o.min(n), r = o.max(n); t.min = null === t.min ? i : Math.min(t.min, i), t.max = null === t.max ? r : Math.max(t.max, r) })) } else o.each(i, (function (e, i) { var r = n.getDatasetMeta(i); n.isDatasetVisible(i) && l(r) && o.each(e.data, (function (e, n) { var i = +t.getRightValue(e); isNaN(i) || r.data[n].hidden || (null === t.min ? t.min = i : i < t.min && (t.min = i), null === t.max ? t.max = i : i > t.max && (t.max = i)) })) })); t.min = isFinite(t.min) && !isNaN(t.min) ? t.min : 0, t.max = isFinite(t.max) && !isNaN(t.max) ? t.max : 1, this.handleTickRangeOptions() }, getTickLimit: function () { var t, e = this.options.ticks; if (this.isHorizontal()) t = Math.min(e.maxTicksLimit ? e.maxTicksLimit : 11, Math.ceil(this.width / 50)); else { var n = o.valueOrDefault(e.fontSize, i.global.defaultFontSize); t = Math.min(e.maxTicksLimit ? e.maxTicksLimit : 11, Math.ceil(this.height / (2 * n))) } return t }, handleDirectionalChanges: function () { this.isHorizontal() || this.ticks.reverse() }, getLabelForIndex: function (t, e) { return +this.getRightValue(this.chart.data.datasets[e].data[t]) }, getPixelForValue: function (t) { var e = this, n = e.start, i = +e.getRightValue(t), o = e.end - n; return e.isHorizontal() ? e.left + e.width / o * (i - n) : e.bottom - e.height / o * (i - n) }, getValueForPixel: function (t) { var e = this, n = e.isHorizontal(), i = n ? e.width : e.height, o = (n ? t - e.left : e.bottom - t) / i; return e.start + (e.end - e.start) * o }, getPixelForTick: function (t) { return this.getPixelForValue(this.ticksAsNumbers[t]) } }); r.registerScaleType("linear", n, e) } }, { 26: 26, 34: 34, 35: 35, 46: 46 }], 56: [function (t, e, n) { var i = t(46), o = t(33); e.exports = function (t) { var e = i.noop; t.LinearScaleBase = o.extend({ getRightValue: function (t) { return "string" == typeof t ? +t : o.prototype.getRightValue.call(this, t) }, handleTickRangeOptions: function () { var t = this, e = t.options.ticks; if (e.beginAtZero) { var n = i.sign(t.min), o = i.sign(t.max); n < 0 && o < 0 ? t.max = 0 : n > 0 && o > 0 && (t.min = 0) } var r = void 0 !== e.min || void 0 !== e.suggestedMin, l = void 0 !== e.max || void 0 !== e.suggestedMax; void 0 !== e.min ? t.min = e.min : void 0 !== e.suggestedMin && (null === t.min ? t.min = e.suggestedMin : t.min = Math.min(t.min, e.suggestedMin)), void 0 !== e.max ? t.max = e.max : void 0 !== e.suggestedMax && (null === t.max ? t.max = e.suggestedMax : t.max = Math.max(t.max, e.suggestedMax)), r !== l && t.min >= t.max && (r ? t.max = t.min + 1 : t.min = t.max - 1), t.min === t.max && (t.max++, e.beginAtZero || t.min--) }, getTickLimit: e, handleDirectionalChanges: e, buildTicks: function () { var t = this, e = t.options.ticks, n = t.getTickLimit(), o = { maxTicks: n = Math.max(2, n), min: e.min, max: e.max, precision: e.precision, stepSize: i.valueOrDefault(e.fixedStepSize, e.stepSize) }, r = t.ticks = function (t, e) { var n, o, r, l = []; if (t.stepSize && t.stepSize > 0) r = t.stepSize; else { var a = i.niceNum(e.max - e.min, !1); r = i.niceNum(a / (t.maxTicks - 1), !0), void 0 !== (o = t.precision) && (n = Math.pow(10, o), r = Math.ceil(r * n) / n) } var s = Math.floor(e.min / r) * r, c = Math.ceil(e.max / r) * r; i.isNullOrUndef(t.min) || i.isNullOrUndef(t.max) || !t.stepSize || i.almostWhole((t.max - t.min) / t.stepSize, r / 1e3) && (s = t.min, c = t.max); var u = (c - s) / r; u = i.almostEquals(u, Math.round(u), r / 1e3) ? Math.round(u) : Math.ceil(u), o = 1, r < 1 && (o = Math.pow(10, 1 - Math.floor(i.log10(r))), s = Math.round(s * o) / o, c = Math.round(c * o) / o), l.push(void 0 !== t.min ? t.min : s); for (var d = 1; d < u; ++d)l.push(Math.round((s + d * r) * o) / o); return l.push(void 0 !== t.max ? t.max : c), l }(o, t); t.handleDirectionalChanges(), t.max = i.max(r), t.min = i.min(r), e.reverse ? (r.reverse(), t.start = t.max, t.end = t.min) : (t.start = t.min, t.end = t.max) }, convertTicksToLabels: function () { var t = this; t.ticksAsNumbers = t.ticks.slice(), t.zeroLineIndex = t.ticks.indexOf(0), o.prototype.convertTicksToLabels.call(t) } }) } }, { 33: 33, 46: 46 }], 57: [function (t, e, n) { var i = t(46), o = t(33), r = t(34), l = t(35); e.exports = function (t) { var e = { position: "left", ticks: { callback: l.formatters.logarithmic } }, n = o.extend({ determineDataLimits: function () { var t = this, e = t.options, n = t.chart, o = n.data.datasets, r = t.isHorizontal(); function l(e) { return r ? e.xAxisID === t.id : e.yAxisID === t.id } t.min = null, t.max = null, t.minNotZero = null; var a = e.stacked; if (void 0 === a && i.each(o, (function (t, e) { if (!a) { var i = n.getDatasetMeta(e); n.isDatasetVisible(e) && l(i) && void 0 !== i.stack && (a = !0) } })), e.stacked || a) { var s = {}; i.each(o, (function (o, r) { var a = n.getDatasetMeta(r), c = [a.type, void 0 === e.stacked && void 0 === a.stack ? r : "", a.stack].join("."); n.isDatasetVisible(r) && l(a) && (void 0 === s[c] && (s[c] = []), i.each(o.data, (function (e, n) { var i = s[c], o = +t.getRightValue(e); isNaN(o) || a.data[n].hidden || o < 0 || (i[n] = i[n] || 0, i[n] += o) }))) })), i.each(s, (function (e) { if (e.length > 0) { var n = i.min(e), o = i.max(e); t.min = null === t.min ? n : Math.min(t.min, n), t.max = null === t.max ? o : Math.max(t.max, o) } })) } else i.each(o, (function (e, o) { var r = n.getDatasetMeta(o); n.isDatasetVisible(o) && l(r) && i.each(e.data, (function (e, n) { var i = +t.getRightValue(e); isNaN(i) || r.data[n].hidden || i < 0 || (null === t.min ? t.min = i : i < t.min && (t.min = i), null === t.max ? t.max = i : i > t.max && (t.max = i), 0 !== i && (null === t.minNotZero || i < t.minNotZero) && (t.minNotZero = i)) })) })); this.handleTickRangeOptions() }, handleTickRangeOptions: function () { var t = this, e = t.options.ticks, n = i.valueOrDefault; t.min = n(e.min, t.min), t.max = n(e.max, t.max), t.min === t.max && (0 !== t.min && null !== t.min ? (t.min = Math.pow(10, Math.floor(i.log10(t.min)) - 1), t.max = Math.pow(10, Math.floor(i.log10(t.max)) + 1)) : (t.min = 1, t.max = 10)), null === t.min && (t.min = Math.pow(10, Math.floor(i.log10(t.max)) - 1)), null === t.max && (t.max = 0 !== t.min ? Math.pow(10, Math.floor(i.log10(t.min)) + 1) : 10), null === t.minNotZero && (t.min > 0 ? t.minNotZero = t.min : t.max < 1 ? t.minNotZero = Math.pow(10, Math.floor(i.log10(t.max))) : t.minNotZero = 1) }, buildTicks: function () { var t = this, e = t.options.ticks, n = !t.isHorizontal(), o = { min: e.min, max: e.max }, r = t.ticks = function (t, e) { var n, o, r = [], l = i.valueOrDefault, a = l(t.min, Math.pow(10, Math.floor(i.log10(e.min)))), s = Math.floor(i.log10(e.max)), c = Math.ceil(e.max / Math.pow(10, s)); 0 === a ? (n = Math.floor(i.log10(e.minNotZero)), o = Math.floor(e.minNotZero / Math.pow(10, n)), r.push(a), a = o * Math.pow(10, n)) : (n = Math.floor(i.log10(a)), o = Math.floor(a / Math.pow(10, n))); var u = n < 0 ? Math.pow(10, Math.abs(n)) : 1; do { r.push(a), 10 === ++o && (o = 1, u = ++n >= 0 ? 1 : u), a = Math.round(o * Math.pow(10, n) * u) / u } while (n < s || n === s && o < c); var d = l(t.max, a); return r.push(d), r }(o, t); t.max = i.max(r), t.min = i.min(r), e.reverse ? (n = !n, t.start = t.max, t.end = t.min) : (t.start = t.min, t.end = t.max), n && r.reverse() }, convertTicksToLabels: function () { this.tickValues = this.ticks.slice(), o.prototype.convertTicksToLabels.call(this) }, getLabelForIndex: function (t, e) { return +this.getRightValue(this.chart.data.datasets[e].data[t]) }, getPixelForTick: function (t) { return this.getPixelForValue(this.tickValues[t]) }, _getFirstTickValue: function (t) { var e = Math.floor(i.log10(t)); return Math.floor(t / Math.pow(10, e)) * Math.pow(10, e) }, getPixelForValue: function (e) { var n, o, r, l, a, s = this, c = s.options.ticks.reverse, u = i.log10, d = s._getFirstTickValue(s.minNotZero), h = 0; return e = +s.getRightValue(e), c ? (r = s.end, l = s.start, a = -1) : (r = s.start, l = s.end, a = 1), s.isHorizontal() ? (n = s.width, o = c ? s.right : s.left) : (n = s.height, a *= -1, o = c ? s.top : s.bottom), e !== r && (0 === r && (n -= h = i.getValueOrDefault(s.options.ticks.fontSize, t.defaults.global.defaultFontSize), r = d), 0 !== e && (h += n / (u(l) - u(r)) * (u(e) - u(r))), o += a * h), o }, getValueForPixel: function (e) { var n, o, r, l, a = this, s = a.options.ticks.reverse, c = i.log10, u = a._getFirstTickValue(a.minNotZero); if (s ? (o = a.end, r = a.start) : (o = a.start, r = a.end), a.isHorizontal() ? (n = a.width, l = s ? a.right - e : e - a.left) : (n = a.height, l = s ? e - a.top : a.bottom - e), l !== o) { if (0 === o) { var d = i.getValueOrDefault(a.options.ticks.fontSize, t.defaults.global.defaultFontSize); l -= d, n -= d, o = u } l *= c(r) - c(o), l /= n, l = Math.pow(10, c(o) + l) } return l } }); r.registerScaleType("logarithmic", n, e) } }, { 33: 33, 34: 34, 35: 35, 46: 46 }], 58: [function (t, e, n) { var i = t(26), o = t(46), r = t(34), l = t(35); e.exports = function (t) { var e = i.global, n = { display: !0, animate: !0, position: "chartArea", angleLines: { display: !0, color: "rgba(0, 0, 0, 0.1)", lineWidth: 1 }, gridLines: { circular: !1 }, ticks: { showLabelBackdrop: !0, backdropColor: "rgba(255,255,255,0.75)", backdropPaddingY: 2, backdropPaddingX: 2, callback: l.formatters.linear }, pointLabels: { display: !0, fontSize: 10, callback: function (t) { return t } } }; function a(t) { var e = t.options; return e.angleLines.display || e.pointLabels.display ? t.chart.data.labels.length : 0 } function s(t) { var n = t.options.pointLabels, i = o.valueOrDefault(n.fontSize, e.defaultFontSize), r = o.valueOrDefault(n.fontStyle, e.defaultFontStyle), l = o.valueOrDefault(n.fontFamily, e.defaultFontFamily); return { size: i, style: r, family: l, font: o.fontString(i, r, l) } } function c(t, e, n, i, o) { return t === i || t === o ? { start: e - n / 2, end: e + n / 2 } : t < i || t > o ? { start: e - n - 5, end: e } : { start: e, end: e + n + 5 } } function u(t) { return 0 === t || 180 === t ? "center" : t < 180 ? "left" : "right" } function d(t, e, n, i) { if (o.isArray(e)) for (var r = n.y, l = 1.5 * i, a = 0; a < e.length; ++a)t.fillText(e[a], n.x, r), r += l; else t.fillText(e, n.x, n.y) } function h(t, e, n) { 90 === t || 270 === t ? n.y -= e.h / 2 : (t > 270 || t < 90) && (n.y -= e.h) } function f(t) { return o.isNumber(t) ? t : 0 } var p = t.LinearScaleBase.extend({ setDimensions: function () { var t = this, n = t.options, i = n.ticks; t.width = t.maxWidth, t.height = t.maxHeight, t.xCenter = Math.round(t.width / 2), t.yCenter = Math.round(t.height / 2); var r = o.min([t.height, t.width]), l = o.valueOrDefault(i.fontSize, e.defaultFontSize); t.drawingArea = n.display ? r / 2 - (l / 2 + i.backdropPaddingY) : r / 2 }, determineDataLimits: function () { var t = this, e = t.chart, n = Number.POSITIVE_INFINITY, i = Number.NEGATIVE_INFINITY; o.each(e.data.datasets, (function (r, l) { if (e.isDatasetVisible(l)) { var a = e.getDatasetMeta(l); o.each(r.data, (function (e, o) { var r = +t.getRightValue(e); isNaN(r) || a.data[o].hidden || (n = Math.min(r, n), i = Math.max(r, i)) })) } })), t.min = n === Number.POSITIVE_INFINITY ? 0 : n, t.max = i === Number.NEGATIVE_INFINITY ? 0 : i, t.handleTickRangeOptions() }, getTickLimit: function () { var t = this.options.ticks, n = o.valueOrDefault(t.fontSize, e.defaultFontSize); return Math.min(t.maxTicksLimit ? t.maxTicksLimit : 11, Math.ceil(this.drawingArea / (1.5 * n))) }, convertTicksToLabels: function () { var e = this; t.LinearScaleBase.prototype.convertTicksToLabels.call(e), e.pointLabels = e.chart.data.labels.map(e.options.pointLabels.callback, e) }, getLabelForIndex: function (t, e) { return +this.getRightValue(this.chart.data.datasets[e].data[t]) }, fit: function () { var t, e; this.options.pointLabels.display ? function (t) { var e, n, i, r = s(t), l = Math.min(t.height / 2, t.width / 2), u = { r: t.width, l: 0, t: t.height, b: 0 }, d = {}; t.ctx.font = r.font, t._pointLabelSizes = []; var h, f, p, m = a(t); for (e = 0; e < m; e++) { i = t.getPointPosition(e, l), h = t.ctx, f = r.size, p = t.pointLabels[e] || "", n = o.isArray(p) ? { w: o.longestText(h, h.font, p), h: p.length * f + 1.5 * (p.length - 1) * f } : { w: h.measureText(p).width, h: f }, t._pointLabelSizes[e] = n; var g = t.getIndexAngle(e), v = o.toDegrees(g) % 360, y = c(v, i.x, n.w, 0, 180), b = c(v, i.y, n.h, 90, 270); y.start < u.l && (u.l = y.start, d.l = g), y.end > u.r && (u.r = y.end, d.r = g), b.start < u.t && (u.t = b.start, d.t = g), b.end > u.b && (u.b = b.end, d.b = g) } t.setReductions(l, u, d) }(this) : (t = this, e = Math.min(t.height / 2, t.width / 2), t.drawingArea = Math.round(e), t.setCenterPoint(0, 0, 0, 0)) }, setReductions: function (t, e, n) { var i = e.l / Math.sin(n.l), o = Math.max(e.r - this.width, 0) / Math.sin(n.r), r = -e.t / Math.cos(n.t), l = -Math.max(e.b - this.height, 0) / Math.cos(n.b); i = f(i), o = f(o), r = f(r), l = f(l), this.drawingArea = Math.min(Math.round(t - (i + o) / 2), Math.round(t - (r + l) / 2)), this.setCenterPoint(i, o, r, l) }, setCenterPoint: function (t, e, n, i) { var o = this, r = o.width - e - o.drawingArea, l = t + o.drawingArea, a = n + o.drawingArea, s = o.height - i - o.drawingArea; o.xCenter = Math.round((l + r) / 2 + o.left), o.yCenter = Math.round((a + s) / 2 + o.top) }, getIndexAngle: function (t) { return t * (2 * Math.PI / a(this)) + (this.chart.options && this.chart.options.startAngle ? this.chart.options.startAngle : 0) * Math.PI * 2 / 360 }, getDistanceFromCenterForValue: function (t) { var e = this; if (null === t) return 0; var n = e.drawingArea / (e.max - e.min); return e.options.ticks.reverse ? (e.max - t) * n : (t - e.min) * n }, getPointPosition: function (t, e) { var n = this.getIndexAngle(t) - Math.PI / 2; return { x: Math.round(Math.cos(n) * e) + this.xCenter, y: Math.round(Math.sin(n) * e) + this.yCenter } }, getPointPositionForValue: function (t, e) { return this.getPointPosition(t, this.getDistanceFromCenterForValue(e)) }, getBasePosition: function () { var t = this.min, e = this.max; return this.getPointPositionForValue(0, this.beginAtZero ? 0 : t < 0 && e < 0 ? e : t > 0 && e > 0 ? t : 0) }, draw: function () { var t = this, n = t.options, i = n.gridLines, r = n.ticks, l = o.valueOrDefault; if (n.display) { var c = t.ctx, f = this.getIndexAngle(0), p = l(r.fontSize, e.defaultFontSize), m = l(r.fontStyle, e.defaultFontStyle), g = l(r.fontFamily, e.defaultFontFamily), v = o.fontString(p, m, g); o.each(t.ticks, (function (n, s) { if (s > 0 || r.reverse) { var u = t.getDistanceFromCenterForValue(t.ticksAsNumbers[s]); if (i.display && 0 !== s && function (t, e, n, i) { var r = t.ctx; if (r.strokeStyle = o.valueAtIndexOrDefault(e.color, i - 1), r.lineWidth = o.valueAtIndexOrDefault(e.lineWidth, i - 1), t.options.gridLines.circular) r.beginPath(), r.arc(t.xCenter, t.yCenter, n, 0, 2 * Math.PI), r.closePath(), r.stroke(); else { var l = a(t); if (0 === l) return; r.beginPath(); var s = t.getPointPosition(0, n); r.moveTo(s.x, s.y); for (var c = 1; c < l; c++)s = t.getPointPosition(c, n), r.lineTo(s.x, s.y); r.closePath(), r.stroke() } }(t, i, u, s), r.display) { var d = l(r.fontColor, e.defaultFontColor); if (c.font = v, c.save(), c.translate(t.xCenter, t.yCenter), c.rotate(f), r.showLabelBackdrop) { var h = c.measureText(n).width; c.fillStyle = r.backdropColor, c.fillRect(-h / 2 - r.backdropPaddingX, -u - p / 2 - r.backdropPaddingY, h + 2 * r.backdropPaddingX, p + 2 * r.backdropPaddingY) } c.textAlign = "center", c.textBaseline = "middle", c.fillStyle = d, c.fillText(n, 0, -u), c.restore() } } })), (n.angleLines.display || n.pointLabels.display) && function (t) { var n = t.ctx, i = t.options, r = i.angleLines, l = i.pointLabels; n.lineWidth = r.lineWidth, n.strokeStyle = r.color; var c = t.getDistanceFromCenterForValue(i.ticks.reverse ? t.min : t.max), f = s(t); n.textBaseline = "top"; for (var p = a(t) - 1; p >= 0; p--) { if (r.display) { var m = t.getPointPosition(p, c); n.beginPath(), n.moveTo(t.xCenter, t.yCenter), n.lineTo(m.x, m.y), n.stroke(), n.closePath() } if (l.display) { var g = t.getPointPosition(p, c + 5), v = o.valueAtIndexOrDefault(l.fontColor, p, e.defaultFontColor); n.font = f.font, n.fillStyle = v; var y = t.getIndexAngle(p), b = o.toDegrees(y); n.textAlign = u(b), h(b, t._pointLabelSizes[p], g), d(n, t.pointLabels[p] || "", g, f.size) } } }(t) } } }); r.registerScaleType("radialLinear", p, n) } }, { 26: 26, 34: 34, 35: 35, 46: 46 }], 59: [function (t, e, n) { var i = t(1); i = "function" == typeof i ? i : window.moment; var o = t(26), r = t(46), l = t(33), a = t(34), s = Number.MIN_SAFE_INTEGER || -9007199254740991, c = Number.MAX_SAFE_INTEGER || 9007199254740991, u = { millisecond: { common: !0, size: 1, steps: [1, 2, 5, 10, 20, 50, 100, 250, 500] }, second: { common: !0, size: 1e3, steps: [1, 2, 5, 10, 15, 30] }, minute: { common: !0, size: 6e4, steps: [1, 2, 5, 10, 15, 30] }, hour: { common: !0, size: 36e5, steps: [1, 2, 3, 6, 12] }, day: { common: !0, size: 864e5, steps: [1, 2, 5] }, week: { common: !1, size: 6048e5, steps: [1, 2, 3, 4] }, month: { common: !0, size: 2628e6, steps: [1, 2, 3] }, quarter: { common: !1, size: 7884e6, steps: [1, 2, 3, 4] }, year: { common: !0, size: 3154e7 } }, d = Object.keys(u); function h(t, e) { return t - e } function f(t) { var e, n, i, o = {}, r = []; for (e = 0, n = t.length; e < n; ++e)o[i = t[e]] || (o[i] = !0, r.push(i)); return r } function p(t, e, n, i) { var o = function (t, e, n) { for (var i, o, r, l = 0, a = t.length - 1; l >= 0 && l <= a;) { if (o = t[(i = l + a >> 1) - 1] || null, r = t[i], !o) return { lo: null, hi: r }; if (r[e] < n) l = i + 1; else { if (!(o[e] > n)) return { lo: o, hi: r }; a = i - 1 } } return { lo: r, hi: null } }(t, e, n), r = o.lo ? o.hi ? o.lo : t[t.length - 2] : t[0], l = o.lo ? o.hi ? o.hi : t[t.length - 1] : t[1], a = l[e] - r[e], s = a ? (n - r[e]) / a : 0, c = (l[i] - r[i]) * s; return r[i] + c } function m(t, e) { var n = e.parser, o = e.parser || e.format; return "function" == typeof n ? n(t) : "string" == typeof t && "string" == typeof o ? i(t, o) : (t instanceof i || (t = i(t)), t.isValid() ? t : "function" == typeof o ? o(t) : t) } function g(t, e) { if (r.isNullOrUndef(t)) return null; var n = e.options.time, i = m(e.getRightValue(t), n); return i.isValid() ? (n.round && i.startOf(n.round), i.valueOf()) : null } function v(t) { for (var e = d.indexOf(t) + 1, n = d.length; e < n; ++e)if (u[d[e]].common) return d[e] } function y(t, e, n, o) { var l, a = o.time, s = a.unit || function (t, e, n, i) { var o, r, l, a = d.length; for (o = d.indexOf(t); o < a - 1; ++o)if (l = (r = u[d[o]]).steps ? r.steps[r.steps.length - 1] : c, r.common && Math.ceil((n - e) / (l * r.size)) <= i) return d[o]; return d[a - 1] }(a.minUnit, t, e, n), h = v(s), f = r.valueOrDefault(a.stepSize, a.unitStepSize), p = "week" === s && a.isoWeekday, m = o.ticks.major.enabled, g = u[s], y = i(t), b = i(e), w = []; for (f || (f = function (t, e, n, i) { var o, r, l, a = e - t, s = u[n], c = s.size, d = s.steps; if (!d) return Math.ceil(a / (i * c)); for (o = 0, r = d.length; o < r && (l = d[o], !(Math.ceil(a / (c * l)) <= i)); ++o); return l }(t, e, s, n)), p && (y = y.isoWeekday(p), b = b.isoWeekday(p)), y = y.startOf(p ? "day" : s), (b = b.startOf(p ? "day" : s)) < e && b.add(1, s), l = i(y), m && h && !p && !a.round && (l.startOf(h), l.add(~~((y - l) / (g.size * f)) * f, s)); l < b; l.add(f, s))w.push(+l); return w.push(+l), w } e.exports = function () { var t = l.extend({ initialize: function () { if (!i) throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com"); this.mergeTicksOptions(), l.prototype.initialize.call(this) }, update: function () { var t = this, e = t.options; return e.time && e.time.format && console.warn("options.time.format is deprecated and replaced by options.time.parser."), l.prototype.update.apply(t, arguments) }, getRightValue: function (t) { return t && void 0 !== t.t && (t = t.t), l.prototype.getRightValue.call(this, t) }, determineDataLimits: function () { var t, e, n, o, l, a, u = this, d = u.chart, p = u.options.time, m = p.unit || "day", v = c, y = s, b = [], w = [], x = []; for (t = 0, n = d.data.labels.length; t < n; ++t)x.push(g(d.data.labels[t], u)); for (t = 0, n = (d.data.datasets || []).length; t < n; ++t)if (d.isDatasetVisible(t)) if (l = d.data.datasets[t].data, r.isObject(l[0])) for (w[t] = [], e = 0, o = l.length; e < o; ++e)a = g(l[e], u), b.push(a), w[t][e] = a; else b.push.apply(b, x), w[t] = x.slice(0); else w[t] = []; x.length && (x = f(x).sort(h), v = Math.min(v, x[0]), y = Math.max(y, x[x.length - 1])), b.length && (b = f(b).sort(h), v = Math.min(v, b[0]), y = Math.max(y, b[b.length - 1])), v = g(p.min, u) || v, y = g(p.max, u) || y, v = v === c ? +i().startOf(m) : v, y = y === s ? +i().endOf(m) + 1 : y, u.min = Math.min(v, y), u.max = Math.max(v + 1, y), u._horizontal = u.isHorizontal(), u._table = [], u._timestamps = { data: b, datasets: w, labels: x } }, buildTicks: function () { var t, e, n, o = this, r = o.min, l = o.max, a = o.options, s = a.time, c = [], h = []; switch (a.ticks.source) { case "data": c = o._timestamps.data; break; case "labels": c = o._timestamps.labels; break; case "auto": default: c = y(r, l, o.getLabelCapacity(r), a) }for ("ticks" === a.bounds && c.length && (r = c[0], l = c[c.length - 1]), r = g(s.min, o) || r, l = g(s.max, o) || l, t = 0, e = c.length; t < e; ++t)(n = c[t]) >= r && n <= l && h.push(n); return o.min = r, o.max = l, o._unit = s.unit || function (t, e, n, o) { var r, l, a = i.duration(i(o).diff(i(n))); for (r = d.length - 1; r >= d.indexOf(e); r--)if (l = d[r], u[l].common && a.as(l) >= t.length) return l; return d[e ? d.indexOf(e) : 0] }(h, s.minUnit, o.min, o.max), o._majorUnit = v(o._unit), o._table = function (t, e, n, i) { if ("linear" === i || !t.length) return [{ time: e, pos: 0 }, { time: n, pos: 1 }]; var o, r, l, a, s, c = [], u = [e]; for (o = 0, r = t.length; o < r; ++o)(a = t[o]) > e && a < n && u.push(a); for (u.push(n), o = 0, r = u.length; o < r; ++o)s = u[o + 1], l = u[o - 1], a = u[o], void 0 !== l && void 0 !== s && Math.round((s + l) / 2) === a || c.push({ time: a, pos: o / (r - 1) }); return c }(o._timestamps.data, r, l, a.distribution), o._offsets = function (t, e, n, i, o) { var r, l, a = 0, s = 0; return o.offset && e.length && (o.time.min || (r = e.length > 1 ? e[1] : i, l = e[0], a = (p(t, "time", r, "pos") - p(t, "time", l, "pos")) / 2), o.time.max || (r = e[e.length - 1], l = e.length > 1 ? e[e.length - 2] : n, s = (p(t, "time", r, "pos") - p(t, "time", l, "pos")) / 2)), { left: a, right: s } }(o._table, h, r, l, a), o._labelFormat = function (t, e) { var n, i, o, r = t.length; for (n = 0; n < r; n++) { if (0 !== (i = m(t[n], e)).millisecond()) return "MMM D, YYYY h:mm:ss.SSS a"; 0 === i.second() && 0 === i.minute() && 0 === i.hour() || (o = !0) } return o ? "MMM D, YYYY h:mm:ss a" : "MMM D, YYYY" }(o._timestamps.data, s), function (t, e) { var n, o, r, l, a = []; for (n = 0, o = t.length; n < o; ++n)r = t[n], l = !!e && r === +i(r).startOf(e), a.push({ value: r, major: l }); return a }(h, o._majorUnit) }, getLabelForIndex: function (t, e) { var n = this.chart.data, i = this.options.time, o = n.labels && t < n.labels.length ? n.labels[t] : "", l = n.datasets[e].data[t]; return r.isObject(l) && (o = this.getRightValue(l)), i.tooltipFormat ? m(o, i).format(i.tooltipFormat) : "string" == typeof o ? o : m(o, i).format(this._labelFormat) }, tickFormatFunction: function (t, e, n, i) { var o = this.options, l = t.valueOf(), a = o.time.displayFormats, s = a[this._unit], c = this._majorUnit, u = a[c], d = t.clone().startOf(c).valueOf(), h = o.ticks.major, f = h.enabled && c && u && l === d, p = t.format(i || (f ? u : s)), m = f ? h : o.ticks.minor, g = r.valueOrDefault(m.callback, m.userCallback); return g ? g(p, e, n) : p }, convertTicksToLabels: function (t) { var e, n, o = []; for (e = 0, n = t.length; e < n; ++e)o.push(this.tickFormatFunction(i(t[e].value), e, t)); return o }, getPixelForOffset: function (t) { var e = this, n = e._horizontal ? e.width : e.height, i = e._horizontal ? e.left : e.top, o = p(e._table, "time", t, "pos"); return i + n * (e._offsets.left + o) / (e._offsets.left + 1 + e._offsets.right) }, getPixelForValue: function (t, e, n) { var i = null; if (void 0 !== e && void 0 !== n && (i = this._timestamps.datasets[n][e]), null === i && (i = g(t, this)), null !== i) return this.getPixelForOffset(i) }, getPixelForTick: function (t) { var e = this.getTicks(); return t >= 0 && t < e.length ? this.getPixelForOffset(e[t].value) : null }, getValueForPixel: function (t) { var e = this, n = e._horizontal ? e.width : e.height, o = e._horizontal ? e.left : e.top, r = (n ? (t - o) / n : 0) * (e._offsets.left + 1 + e._offsets.left) - e._offsets.right, l = p(e._table, "pos", r, "time"); return i(l) }, getLabelWidth: function (t) { var e = this.options.ticks, n = this.ctx.measureText(t).width, i = r.toRadians(e.maxRotation), l = Math.cos(i), a = Math.sin(i); return n * l + r.valueOrDefault(e.fontSize, o.global.defaultFontSize) * a }, getLabelCapacity: function (t) { var e = this, n = e.options.time.displayFormats.millisecond, o = e.tickFormatFunction(i(t), 0, [], n), r = e.getLabelWidth(o), l = e.isHorizontal() ? e.width : e.height, a = Math.floor(l / r); return a > 0 ? a : 1 } }); a.registerScaleType("time", t, { position: "bottom", distribution: "linear", bounds: "data", time: { parser: !1, format: !1, unit: !1, round: !1, displayFormat: !1, isoWeekday: !1, minUnit: "millisecond", displayFormats: { millisecond: "h:mm:ss.SSS a", second: "h:mm:ss a", minute: "h:mm a", hour: "hA", day: "MMM D", week: "ll", month: "MMM YYYY", quarter: "[Q]Q - YYYY", year: "YYYY" } }, ticks: { autoSkip: !1, source: "auto", major: { enabled: !1 } } }) } }, { 1: 1, 26: 26, 33: 33, 34: 34, 46: 46 }] }, {}, [7])(7) }))
}).call(this, n(27)(t), n(91))
}, function (t, e, n) { var i = n(0), o = Math.log, r = Math.LOG10E; i({ target: "Math", stat: !0 }, { log10: function (t) { return o(t) * r } }) }, function (t, e, n) { n(0)({ target: "Math", stat: !0 }, { sign: n(255) }) }, function (t, e) { t.exports = Math.sign || function (t) { return 0 == (t = +t) || t != t ? t : t < 0 ? -1 : 1 } }, function (t, e, n) { n(0)({ target: "Number", stat: !0 }, { EPSILON: Math.pow(2, -52) }) }, function (t, e, n) {
"use strict"; (function (t) {
var e, i; n(10), n(16), n(17), n(31), n(235), n(38), n(12), n(8), n(111), n(28), n(60), n(52), n(61), n(240), n(241), n(42), n(7), n(14), n(18), n(30), n(258), n(40), n(19); function o(t) { return (o = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*!
* chartjs-plugin-datalabels v0.7.0
* https://chartjs-plugin-datalabels.netlify.com
* (c) 2019 Chart.js Contributors
* Released under the MIT license
*/e = void 0, i = function (t) { var e = (t = t && t.hasOwnProperty("default") ? t.default : t).helpers, n = function () { if ("undefined" != typeof window) { if (window.devicePixelRatio) return window.devicePixelRatio; var t = window.screen; if (t) return (t.deviceXDPI || 1) / (t.logicalXDPI || 1) } return 1 }(), i = { toTextLines: function (t) { var n, i = []; for (t = [].concat(t); t.length;)"string" == typeof (n = t.pop()) ? i.unshift.apply(i, n.split("\n")) : Array.isArray(n) ? t.push.apply(t, n) : e.isNullOrUndef(t) || i.unshift("" + n); return i }, toFontString: function (t) { return !t || e.isNullOrUndef(t.size) || e.isNullOrUndef(t.family) ? null : (t.style ? t.style + " " : "") + (t.weight ? t.weight + " " : "") + t.size + "px " + t.family }, textSize: function (t, e, n) { var i, o = [].concat(e), r = o.length, l = t.font, a = 0; for (t.font = n.string, i = 0; i < r; ++i)a = Math.max(t.measureText(o[i]).width, a); return t.font = l, { height: r * n.lineHeight, width: a } }, parseFont: function (n) { var o = t.defaults.global, r = e.valueOrDefault(n.size, o.defaultFontSize), l = { family: e.valueOrDefault(n.family, o.defaultFontFamily), lineHeight: e.options.toLineHeight(n.lineHeight, r), size: r, style: e.valueOrDefault(n.style, o.defaultFontStyle), weight: e.valueOrDefault(n.weight, null), string: "" }; return l.string = i.toFontString(l), l }, bound: function (t, e, n) { return Math.max(t, Math.min(e, n)) }, arrayDiff: function (t, e) { var n, i, o, r, l = t.slice(), a = []; for (n = 0, o = e.length; n < o; ++n)r = e[n], -1 === (i = l.indexOf(r)) ? a.push([r, 1]) : l.splice(i, 1); for (n = 0, o = l.length; n < o; ++n)a.push([l[n], -1]); return a }, rasterize: function (t) { return Math.round(t * n) / n } }; function o(t, e) { var n = e.x, i = e.y; if (null === n) return { x: 0, y: -1 }; if (null === i) return { x: 1, y: 0 }; var o = t.x - n, r = t.y - i, l = Math.sqrt(o * o + r * r); return { x: l ? o / l : 0, y: l ? r / l : -1 } } var r = 0, l = 1, a = 2, s = 4, c = 8; function u(t, e, n) { var i = r; return t < n.left ? i |= l : t > n.right && (i |= a), e < n.top ? i |= c : e > n.bottom && (i |= s), i } function d(t, e) { var n, i, o = e.anchor, r = t; return e.clamp && (r = function (t, e) { for (var n, i, o, r = t.x0, d = t.y0, h = t.x1, f = t.y1, p = u(r, d, e), m = u(h, f, e); p | m && !(p & m);)(n = p || m) & c ? (i = r + (h - r) * (e.top - d) / (f - d), o = e.top) : n & s ? (i = r + (h - r) * (e.bottom - d) / (f - d), o = e.bottom) : n & a ? (o = d + (f - d) * (e.right - r) / (h - r), i = e.right) : n & l && (o = d + (f - d) * (e.left - r) / (h - r), i = e.left), n === p ? p = u(r = i, d = o, e) : m = u(h = i, f = o, e); return { x0: r, x1: h, y0: d, y1: f } }(r, e.area)), "start" === o ? (n = r.x0, i = r.y0) : "end" === o ? (n = r.x1, i = r.y1) : (n = (r.x0 + r.x1) / 2, i = (r.y0 + r.y1) / 2), function (t, e, n, i, o) { switch (o) { case "center": n = i = 0; break; case "bottom": n = 0, i = 1; break; case "right": n = 1, i = 0; break; case "left": n = -1, i = 0; break; case "top": n = 0, i = -1; break; case "start": n = -n, i = -i; break; case "end": break; default: o *= Math.PI / 180, n = Math.cos(o), i = Math.sin(o) }return { x: t, y: e, vx: n, vy: i } }(n, i, t.vx, t.vy, e.align) } var h = { arc: function (t, e) { var n = (t.startAngle + t.endAngle) / 2, i = Math.cos(n), o = Math.sin(n), r = t.innerRadius, l = t.outerRadius; return d({ x0: t.x + i * r, y0: t.y + o * r, x1: t.x + i * l, y1: t.y + o * l, vx: i, vy: o }, e) }, point: function (t, e) { var n = o(t, e.origin), i = n.x * t.radius, r = n.y * t.radius; return d({ x0: t.x - i, y0: t.y - r, x1: t.x + i, y1: t.y + r, vx: n.x, vy: n.y }, e) }, rect: function (t, e) { var n = o(t, e.origin), i = t.x, r = t.y, l = 0, a = 0; return t.horizontal ? (i = Math.min(t.x, t.base), l = Math.abs(t.base - t.x)) : (r = Math.min(t.y, t.base), a = Math.abs(t.base - t.y)), d({ x0: i, y0: r + a, x1: i + l, y1: r, vx: n.x, vy: n.y }, e) }, fallback: function (t, e) { var n = o(t, e.origin); return d({ x0: t.x, y0: t.y, x1: t.x, y1: t.y, vx: n.x, vy: n.y }, e) } }, f = t.helpers, p = i.rasterize; function m(t) { var e = t._model.horizontal, n = t._scale || e && t._xScale || t._yScale; if (!n) return null; if (void 0 !== n.xCenter && void 0 !== n.yCenter) return { x: n.xCenter, y: n.yCenter }; var i = n.getBasePixel(); return e ? { x: i, y: null } : { x: null, y: i } } function g(t, e, n) { var i = t.shadowBlur, o = n.stroked, r = p(n.x), l = p(n.y), a = p(n.w); o && t.strokeText(e, r, l, a), n.filled && (i && o && (t.shadowBlur = 0), t.fillText(e, r, l, a), i && o && (t.shadowBlur = i)) } var v = function (t, e, n, i) { var o = this; o._config = t, o._index = i, o._model = null, o._rects = null, o._ctx = e, o._el = n }; f.extend(v.prototype, { _modelize: function (e, n, o, r) { var l, a = this._index, s = f.options.resolve, c = i.parseFont(s([o.font, {}], r, a)), u = s([o.color, t.defaults.global.defaultFontColor], r, a); return { align: s([o.align, "center"], r, a), anchor: s([o.anchor, "center"], r, a), area: r.chart.chartArea, backgroundColor: s([o.backgroundColor, null], r, a), borderColor: s([o.borderColor, null], r, a), borderRadius: s([o.borderRadius, 0], r, a), borderWidth: s([o.borderWidth, 0], r, a), clamp: s([o.clamp, !1], r, a), clip: s([o.clip, !1], r, a), color: u, display: e, font: c, lines: n, offset: s([o.offset, 0], r, a), opacity: s([o.opacity, 1], r, a), origin: m(this._el), padding: f.options.toPadding(s([o.padding, 0], r, a)), positioner: (l = this._el, l instanceof t.elements.Arc ? h.arc : l instanceof t.elements.Point ? h.point : l instanceof t.elements.Rectangle ? h.rect : h.fallback), rotation: s([o.rotation, 0], r, a) * (Math.PI / 180), size: i.textSize(this._ctx, n, c), textAlign: s([o.textAlign, "start"], r, a), textShadowBlur: s([o.textShadowBlur, 0], r, a), textShadowColor: s([o.textShadowColor, u], r, a), textStrokeColor: s([o.textStrokeColor, u], r, a), textStrokeWidth: s([o.textStrokeWidth, 0], r, a) } }, update: function (t) { var e, n, o, r = this, l = null, a = null, s = r._index, c = r._config, u = f.options.resolve([c.display, !0], t, s); u && (e = t.dataset.data[s], n = f.valueOrDefault(f.callback(c.formatter, [e, t]), e), (o = f.isNullOrUndef(n) ? [] : i.toTextLines(n)).length && (a = function (t) { var e = t.borderWidth || 0, n = t.padding, i = t.size.height, o = t.size.width, r = -o / 2, l = -i / 2; return { frame: { x: r - n.left - e, y: l - n.top - e, w: o + n.width + 2 * e, h: i + n.height + 2 * e }, text: { x: r, y: l, w: o, h: i } } }(l = r._modelize(u, o, c, t)))), r._model = l, r._rects = a }, geometry: function () { return this._rects ? this._rects.frame : {} }, rotation: function () { return this._model ? this._model.rotation : 0 }, visible: function () { return this._model && this._model.opacity }, model: function () { return this._model }, draw: function (t, e) { var n, o = t.ctx, r = this._model, l = this._rects; this.visible() && (o.save(), r.clip && (n = r.area, o.beginPath(), o.rect(n.left, n.top, n.right - n.left, n.bottom - n.top), o.clip()), o.globalAlpha = i.bound(0, r.opacity, 1), o.translate(p(e.x), p(e.y)), o.rotate(r.rotation), function (t, e, n) { var i = n.backgroundColor, o = n.borderColor, r = n.borderWidth; (i || o && r) && (t.beginPath(), f.canvas.roundedRect(t, p(e.x) + r / 2, p(e.y) + r / 2, p(e.w) - r, p(e.h) - r, n.borderRadius), t.closePath(), i && (t.fillStyle = i, t.fill()), o && r && (t.strokeStyle = o, t.lineWidth = r, t.lineJoin = "miter", t.stroke())) }(o, l.frame, r), function (t, e, n, i) { var o, r = i.textAlign, l = i.color, a = !!l, s = i.font, c = e.length, u = i.textStrokeColor, d = i.textStrokeWidth, h = u && d; if (c && (a || h)) for (n = function (t, e, n) { var i = n.lineHeight, o = t.w, r = t.x; return "center" === e ? r += o / 2 : "end" !== e && "right" !== e || (r += o), { h: i, w: o, x: r, y: t.y + i / 2 } }(n, r, s), t.font = s.string, t.textAlign = r, t.textBaseline = "middle", t.shadowBlur = i.textShadowBlur, t.shadowColor = i.textShadowColor, a && (t.fillStyle = l), h && (t.lineJoin = "round", t.lineWidth = d, t.strokeStyle = u), o = 0, c = e.length; o < c; ++o)g(t, e[o], { stroked: h, filled: a, w: n.w, x: n.x, y: n.y + n.h * o }) }(o, r.lines, l.text, r), o.restore()) } }); var y = t.helpers, b = Number.MIN_SAFE_INTEGER || -9007199254740991, w = Number.MAX_SAFE_INTEGER || 9007199254740991; function x(t, e, n) { var i = Math.cos(n), o = Math.sin(n), r = e.x, l = e.y; return { x: r + i * (t.x - r) - o * (t.y - l), y: l + o * (t.x - r) + i * (t.y - l) } } function k(t, e) { var n, i, o, r, l, a = w, s = b, c = e.origin; for (n = 0; n < t.length; ++n)o = (i = t[n]).x - c.x, r = i.y - c.y, l = e.vx * o + e.vy * r, a = Math.min(a, l), s = Math.max(s, l); return { min: a, max: s } } function S(t, e) { var n = e.x - t.x, i = e.y - t.y, o = Math.sqrt(n * n + i * i); return { vx: (e.x - t.x) / o, vy: (e.y - t.y) / o, origin: t, ln: o } } var C = function () { this._rotation = 0, this._rect = { x: 0, y: 0, w: 0, h: 0 } }; function M(t, e, n) { var i = e.positioner(t, e), o = i.vx, r = i.vy; if (!o && !r) return { x: i.x, y: i.y }; var l = n.w, a = n.h, s = e.rotation, c = Math.abs(l / 2 * Math.cos(s)) + Math.abs(a / 2 * Math.sin(s)), u = Math.abs(l / 2 * Math.sin(s)) + Math.abs(a / 2 * Math.cos(s)), d = 1 / Math.max(Math.abs(o), Math.abs(r)); return c *= o * d, u *= r * d, c += e.offset * o, u += e.offset * r, { x: i.x + c, y: i.y + u } } y.extend(C.prototype, { center: function () { var t = this._rect; return { x: t.x + t.w / 2, y: t.y + t.h / 2 } }, update: function (t, e, n) { this._rotation = n, this._rect = { x: e.x + t.x, y: e.y + t.y, w: e.w, h: e.h } }, contains: function (t) { var e = this._rect; return !((t = x(t, this.center(), -this._rotation)).x < e.x - 1 || t.y < e.y - 1 || t.x > e.x + e.w + 2 || t.y > e.y + e.h + 2) }, intersects: function (t) { var e, n, i, o = this._points(), r = t._points(), l = [S(o[0], o[1]), S(o[0], o[3])]; for (this._rotation !== t._rotation && l.push(S(r[0], r[1]), S(r[0], r[3])), e = 0; e < l.length; ++e)if (n = k(o, l[e]), i = k(r, l[e]), n.max < i.min || i.max < n.min) return !1; return !0 }, _points: function () { var t = this._rect, e = this._rotation, n = this.center(); return [x({ x: t.x, y: t.y }, n, e), x({ x: t.x + t.w, y: t.y }, n, e), x({ x: t.x + t.w, y: t.y + t.h }, n, e), x({ x: t.x, y: t.y + t.h }, n, e)] } }); var _ = { prepare: function (t) { var e, n, i, o, r, l = []; for (e = 0, i = t.length; e < i; ++e)for (n = 0, o = t[e].length; n < o; ++n)r = t[e][n], l.push(r), r.$layout = { _box: new C, _hidable: !1, _visible: !0, _set: e, _idx: n }; return l.sort((function (t, e) { var n = t.$layout, i = e.$layout; return n._idx === i._idx ? i._set - n._set : i._idx - n._idx })), this.update(l), l }, update: function (t) { var e, n, i, o, r, l = !1; for (e = 0, n = t.length; e < n; ++e)o = (i = t[e]).model(), (r = i.$layout)._hidable = o && "auto" === o.display, r._visible = i.visible(), l |= r._hidable; l && function (t) { var e, n, i, o, r, l; for (e = 0, n = t.length; e < n; ++e)(o = (i = t[e]).$layout)._visible && (r = i.geometry(), l = M(i._el._model, i.model(), r), o._box.update(l, r, i.rotation())); !function (t, e) { var n, i, o, r; for (n = t.length - 1; n >= 0; --n)for (o = t[n].$layout, i = n - 1; i >= 0 && o._visible; --i)(r = t[i].$layout)._visible && o._box.intersects(r._box) && e(o, r) }(t, (function (t, e) { var n = t._hidable, i = e._hidable; n && i || i ? e._visible = !1 : n && (t._visible = !1) })) }(t) }, lookup: function (t, e) { var n, i; for (n = t.length - 1; n >= 0; --n)if ((i = t[n].$layout) && i._visible && i._box.contains(e)) return t[n]; return null }, draw: function (t, e) { var n, i, o, r, l, a; for (n = 0, i = e.length; n < i; ++n)(r = (o = e[n]).$layout)._visible && (l = o.geometry(), a = M(o._el._view, o.model(), l), r._box.update(a, l, o.rotation()), o.draw(t, a)) } }, T = t.helpers, E = { align: "center", anchor: "center", backgroundColor: null, borderColor: null, borderRadius: 0, borderWidth: 0, clamp: !1, clip: !1, color: void 0, display: !0, font: { family: void 0, lineHeight: 1.2, size: void 0, style: void 0, weight: null }, formatter: function (t) { if (T.isNullOrUndef(t)) return null; var e, n, i, o = t; if (T.isObject(t)) if (T.isNullOrUndef(t.label)) if (T.isNullOrUndef(t.r)) for (o = "", i = 0, n = (e = Object.keys(t)).length; i < n; ++i)o += (0 !== i ? ", " : "") + e[i] + ": " + t[e[i]]; else o = t.r; else o = t.label; return "" + o }, labels: void 0, listeners: {}, offset: 4, opacity: 1, padding: { top: 4, right: 4, bottom: 4, left: 4 }, rotation: 0, textAlign: "start", textStrokeColor: void 0, textStrokeWidth: 0, textShadowBlur: 0, textShadowColor: void 0 }, A = t.helpers, O = "$datalabels", P = "$default"; function I(t, e, n) { if (e) { var i, o = n.$context, r = n.$groups; e[r._set] && (i = e[r._set][r._key]) && !0 === A.callback(i, [o]) && (t[O]._dirty = !0, n.update(o)) } } function D(t, e) { var n, i, o = t[O], r = o._listeners; if (r.enter || r.leave) { if ("mousemove" === e.type) i = _.lookup(o._labels, e); else if ("mouseout" !== e.type) return; n = o._hovered, o._hovered = i, function (t, e, n, i) { var o, r; (n || i) && (n ? i ? n !== i && (r = o = !0) : r = !0 : o = !0, r && I(t, e.leave, n), o && I(t, e.enter, i)) }(t, r, n, i) } } t.defaults.global.plugins.datalabels = E; var L = { id: "datalabels", beforeInit: function (t) { t[O] = { _actives: [] } }, beforeUpdate: function (t) { var e = t[O]; e._listened = !1, e._listeners = {}, e._datasets = [], e._labels = [] }, afterDatasetUpdate: function (t, e, n) { var i, o, r, l, a, s, c, u, d = e.index, h = t[O], f = h._datasets[d] = [], p = t.isDatasetVisible(d), m = t.data.datasets[d], g = function (t, e) { var n, i, o, r = t.datalabels, l = []; return !1 === r ? null : (!0 === r && (r = {}), e = A.merge({}, [e, r]), i = e.labels || {}, o = Object.keys(i), delete e.labels, o.length ? o.forEach((function (t) { i[t] && l.push(A.merge({}, [e, i[t], { _key: t }])) })) : l.push(e), n = l.reduce((function (t, e) { return A.each(e.listeners || {}, (function (n, i) { t[i] = t[i] || {}, t[i][e._key || P] = n })), delete e.listeners, t }), {}), { labels: l, listeners: n }) }(m, n), y = e.meta.data || [], b = t.ctx; for (b.save(), i = 0, r = y.length; i < r; ++i)if ((c = y[i])[O] = [], p && c && !c.hidden && !c._model.skip) for (o = 0, l = g.labels.length; o < l; ++o)s = (a = g.labels[o])._key, (u = new v(a, b, c, i)).$groups = { _set: d, _key: s || P }, u.$context = { active: !1, chart: t, dataIndex: i, dataset: m, datasetIndex: d }, u.update(u.$context), c[O].push(u), f.push(u); b.restore(), A.merge(h._listeners, g.listeners, { merger: function (t, n, i) { n[t] = n[t] || {}, n[t][e.index] = i[t], h._listened = !0 } }) }, afterUpdate: function (t, e) { t[O]._labels = _.prepare(t[O]._datasets, e) }, afterDatasetsDraw: function (t) { _.draw(t, t[O]._labels) }, beforeEvent: function (t, e) { if (t[O]._listened) switch (e.type) { case "mousemove": case "mouseout": D(t, e); break; case "click": !function (t, e) { var n = t[O], i = n._listeners.click, o = i && _.lookup(n._labels, e); o && I(t, i, o) }(t, e) } }, afterEvent: function (e) { var n, o, r, l, a, s, c, u = e[O], d = u._actives, h = u._actives = e.lastActive || [], f = i.arrayDiff(d, h); for (n = 0, o = f.length; n < o; ++n)if ((a = f[n])[1]) for (r = 0, l = (c = a[0][O] || []).length; r < l; ++r)(s = c[r]).$context.active = 1 === a[1], s.update(s.$context); (u._dirty || f.length) && (_.update(u._labels), function (e) { if (!e.animating) { for (var n = t.animationService.animations, i = 0, o = n.length; i < o; ++i)if (n[i].chart === e) return; e.render({ duration: 1, lazy: !0 }) } }(e)), delete u._dirty } }; return t.plugins.unregister(L), L }, "object" === ("undefined" == typeof exports ? "undefined" : o(exports)) && void 0 !== t ? t.exports = i(n(259)) : "function" == typeof define && n(24) ? define(["chart.js"], i) : (e = e || self).ChartDataLabels = i(e.Chart)
}).call(this, n(27)(t))
}, function (t, e, n) { "use strict"; var i = n(0), o = n(247); i({ target: "String", proto: !0, forced: n(248)("anchor") }, { anchor: function (t) { return o(this, "a", "name", t) } }) }, function (t, e) { t.exports = chart }, function (t, e, n) {
"use strict"; n(10), n(16), n(17), n(242), n(38), n(12), n(8), n(28), n(52), n(13), n(243), n(244), n(42), n(7), n(46), n(62), n(14), n(29), n(18), n(35), n(30), n(40), n(19); function i(t) { return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*!
* Name : Just Another Parallax [Jarallax]
* Version : 1.10.4
* Author : nK <https://nkdev.info>
* GitHub : https://github.com/nk-o/jarallax
*/!function (t) { var e = {}; function n(i) { if (e[i]) return e[i].exports; var o = e[i] = { i: i, l: !1, exports: {} }; return t[i].call(o.exports, o, o.exports, n), o.l = !0, o.exports } n.m = t, n.c = e, n.d = function (t, e, i) { n.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: i }) }, n.r = function (t) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t, "__esModule", { value: !0 }) }, n.t = function (t, e) { if (1 & e && (t = n(t)), 8 & e) return t; if (4 & e && "object" === i(t) && t && t.__esModule) return t; var o = Object.create(null); if (n.r(o), Object.defineProperty(o, "default", { enumerable: !0, value: t }), 2 & e && "string" != typeof t) for (var r in t) n.d(o, r, function (e) { return t[e] }.bind(null, r)); return o }, n.n = function (t) { var e = t && t.__esModule ? function () { return t.default } : function () { return t }; return n.d(e, "a", e), e }, n.o = function (t, e) { return Object.prototype.hasOwnProperty.call(t, e) }, n.p = "", n(n.s = 11) }([, , function (t, e, n) { t.exports = function (t) { "complete" === document.readyState || "interactive" === document.readyState ? t.call() : document.attachEvent ? document.attachEvent("onreadystatechange", (function () { "interactive" === document.readyState && t.call() })) : document.addEventListener && document.addEventListener("DOMContentLoaded", t) } }, , function (t, e, n) { (function (e) { var n; n = "undefined" != typeof window ? window : void 0 !== e ? e : "undefined" != typeof self ? self : {}, t.exports = n }).call(this, n(5)) }, function (t, e, n) { var o, r = "function" == typeof Symbol && "symbol" === i(Symbol.iterator) ? function (t) { return i(t) } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : i(t) }; o = function () { return this }(); try { o = o || Function("return this")() || (0, eval)("this") } catch (t) { "object" === ("undefined" == typeof window ? "undefined" : r(window)) && (o = window) } t.exports = o }, , , , , , function (t, e, n) { t.exports = n(12) }, function (t, e, n) { var o = "function" == typeof Symbol && "symbol" === i(Symbol.iterator) ? function (t) { return i(t) } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : i(t) }, r = s(n(2)), l = n(4), a = s(n(13)); function s(t) { return t && t.__esModule ? t : { default: t } } var c = l.window.jarallax; if (l.window.jarallax = a.default, l.window.jarallax.noConflict = function () { return l.window.jarallax = c, this }, void 0 !== l.jQuery) { var u = function () { var t = arguments || []; Array.prototype.unshift.call(t, this); var e = a.default.apply(l.window, t); return "object" !== (void 0 === e ? "undefined" : o(e)) ? e : this }; u.constructor = a.default.constructor; var d = l.jQuery.fn.jarallax; l.jQuery.fn.jarallax = u, l.jQuery.fn.jarallax.noConflict = function () { return l.jQuery.fn.jarallax = d, this } } (0, r.default)((function () { (0, a.default)(document.querySelectorAll("[data-jarallax]")) })) }, function (t, e, n) { (function (t) { Object.defineProperty(e, "__esModule", { value: !0 }); var o = function (t, e) { if (Array.isArray(t)) return t; if (Symbol.iterator in Object(t)) return function (t, e) { var n = [], i = !0, o = !1, r = void 0; try { for (var l, a = t[Symbol.iterator](); !(i = (l = a.next()).done) && (n.push(l.value), !e || n.length !== e); i = !0); } catch (t) { o = !0, r = t } finally { try { !i && a.return && a.return() } finally { if (o) throw r } } return n }(t, e); throw new TypeError("Invalid attempt to destructure non-iterable instance") }, r = function () { function t(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } return function (e, n, i) { return n && t(e.prototype, n), i && t(e, i), e } }(), l = "function" == typeof Symbol && "symbol" === i(Symbol.iterator) ? function (t) { return i(t) } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : i(t) }, a = u(n(2)), s = u(n(14)), c = n(4); function u(t) { return t && t.__esModule ? t : { default: t } } var d = navigator.userAgent.indexOf("MSIE ") > -1 || navigator.userAgent.indexOf("Trident/") > -1 || navigator.userAgent.indexOf("Edge/") > -1, h = function () { for (var t = "transform WebkitTransform MozTransform".split(" "), e = document.createElement("div"), n = 0; n < t.length; n++)if (e && void 0 !== e.style[t[n]]) return t[n]; return !1 }(), f = void 0, p = void 0, m = void 0, g = !1, v = !1; function y(t) { f = c.window.innerWidth || document.documentElement.clientWidth, p = c.window.innerHeight || document.documentElement.clientHeight, "object" !== (void 0 === t ? "undefined" : l(t)) || "load" !== t.type && "dom-loaded" !== t.type || (g = !0) } y(), c.window.addEventListener("resize", y), c.window.addEventListener("orientationchange", y), c.window.addEventListener("load", y), (0, a.default)((function () { y({ type: "dom-loaded" }) })); var b = [], w = !1; function x() { if (b.length) { m = void 0 !== c.window.pageYOffset ? c.window.pageYOffset : (document.documentElement || document.body.parentNode || document.body).scrollTop; var t = g || !w || w.width !== f || w.height !== p, e = v || t || !w || w.y !== m; g = !1, v = !1, (t || e) && (b.forEach((function (n) { t && n.onResize(), e && n.onScroll() })), w = { width: f, height: p, y: m }), (0, s.default)(x) } } var k = !!t.ResizeObserver && new t.ResizeObserver((function (t) { t && t.length && (0, s.default)((function () { t.forEach((function (t) { t.target && t.target.jarallax && (g || t.target.jarallax.onResize(), v = !0) })) })) })), S = 0, C = function () { function t(e, n) { !function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }(this, t); var i = this; i.instanceID = S++, i.$item = e, i.defaults = { type: "scroll", speed: .5, imgSrc: null, imgElement: ".jarallax-img", imgSize: "cover", imgPosition: "50% 50%", imgRepeat: "no-repeat", keepImg: !1, elementInViewport: null, zIndex: -100, disableParallax: !1, disableVideo: !1, automaticResize: !0, videoSrc: null, videoStartTime: 0, videoEndTime: 0, videoVolume: 0, videoPlayOnlyVisible: !0, onScroll: null, onInit: null, onDestroy: null, onCoverImage: null }; var r = i.$item.getAttribute("data-jarallax"), a = JSON.parse(r || "{}"); r && console.warn("Detected usage of deprecated data-jarallax JSON options, you should use pure data-attribute options. See info here - https://github.com/nk-o/jarallax/issues/53"); var s = i.$item.dataset || {}, c = {}; if (Object.keys(s).forEach((function (t) { var e = t.substr(0, 1).toLowerCase() + t.substr(1); e && void 0 !== i.defaults[e] && (c[e] = s[t]) })), i.options = i.extend({}, i.defaults, a, c, n), i.pureOptions = i.extend({}, i.options), Object.keys(i.options).forEach((function (t) { "true" === i.options[t] ? i.options[t] = !0 : "false" === i.options[t] && (i.options[t] = !1) })), i.options.speed = Math.min(2, Math.max(-1, parseFloat(i.options.speed))), (i.options.noAndroid || i.options.noIos) && (console.warn("Detected usage of deprecated noAndroid or noIos options, you should use disableParallax option. See info here - https://github.com/nk-o/jarallax/#disable-on-mobile-devices"), i.options.disableParallax || (i.options.noIos && i.options.noAndroid ? i.options.disableParallax = /iPad|iPhone|iPod|Android/ : i.options.noIos ? i.options.disableParallax = /iPad|iPhone|iPod/ : i.options.noAndroid && (i.options.disableParallax = /Android/))), "string" == typeof i.options.disableParallax && (i.options.disableParallax = new RegExp(i.options.disableParallax)), i.options.disableParallax instanceof RegExp) { var u = i.options.disableParallax; i.options.disableParallax = function () { return u.test(navigator.userAgent) } } if ("function" != typeof i.options.disableParallax && (i.options.disableParallax = function () { return !1 }), "string" == typeof i.options.disableVideo && (i.options.disableVideo = new RegExp(i.options.disableVideo)), i.options.disableVideo instanceof RegExp) { var d = i.options.disableVideo; i.options.disableVideo = function () { return d.test(navigator.userAgent) } } "function" != typeof i.options.disableVideo && (i.options.disableVideo = function () { return !1 }); var h = i.options.elementInViewport; h && "object" === (void 0 === h ? "undefined" : l(h)) && void 0 !== h.length && (h = o(h, 1)[0]); h instanceof Element || (h = null), i.options.elementInViewport = h, i.image = { src: i.options.imgSrc || null, $container: null, useImgTag: !1, position: /iPad|iPhone|iPod|Android/.test(navigator.userAgent) ? "absolute" : "fixed" }, i.initImg() && i.canInitParallax() && i.init() } return r(t, [{ key: "css", value: function (t, e) { return "string" == typeof e ? c.window.getComputedStyle(t).getPropertyValue(e) : (e.transform && h && (e[h] = e.transform), Object.keys(e).forEach((function (n) { t.style[n] = e[n] })), t) } }, { key: "extend", value: function (t) { var e = arguments; return t = t || {}, Object.keys(arguments).forEach((function (n) { e[n] && Object.keys(e[n]).forEach((function (i) { t[i] = e[n][i] })) })), t } }, { key: "getWindowData", value: function () { return { width: f, height: p, y: m } } }, { key: "initImg", value: function () { var t = this.options.imgElement; return t && "string" == typeof t && (t = this.$item.querySelector(t)), t instanceof Element || (t = null), t && (this.options.keepImg ? this.image.$item = t.cloneNode(!0) : (this.image.$item = t, this.image.$itemParent = t.parentNode), this.image.useImgTag = !0), !!this.image.$item || (null === this.image.src && (this.image.src = this.css(this.$item, "background-image").replace(/^url\(['"]?/g, "").replace(/['"]?\)$/g, "")), !(!this.image.src || "none" === this.image.src)) } }, { key: "canInitParallax", value: function () { return h && !this.options.disableParallax() } }, { key: "init", value: function () { var t = { position: "absolute", top: 0, left: 0, width: "100%", height: "100%", overflow: "hidden", pointerEvents: "none" }, e = {}; if (!this.options.keepImg) { var n = this.$item.getAttribute("style"); if (n && this.$item.setAttribute("data-jarallax-original-styles", n), this.image.useImgTag) { var i = this.image.$item.getAttribute("style"); i && this.image.$item.setAttribute("data-jarallax-original-styles", i) } } if ("static" === this.css(this.$item, "position") && this.css(this.$item, { position: "relative" }), "auto" === this.css(this.$item, "z-index") && this.css(this.$item, { zIndex: 0 }), this.image.$container = document.createElement("div"), this.css(this.image.$container, t), this.css(this.image.$container, { "z-index": this.options.zIndex }), d && this.css(this.image.$container, { opacity: .9999 }), this.image.$container.setAttribute("id", "jarallax-container-" + this.instanceID), this.$item.appendChild(this.image.$container), this.image.useImgTag ? e = this.extend({ "object-fit": this.options.imgSize, "object-position": this.options.imgPosition, "font-family": "object-fit: " + this.options.imgSize + "; object-position: " + this.options.imgPosition + ";", "max-width": "none" }, t, e) : (this.image.$item = document.createElement("div"), this.image.src && (e = this.extend({ "background-position": this.options.imgPosition, "background-size": this.options.imgSize, "background-repeat": this.options.imgRepeat, "background-image": 'url("' + this.image.src + '")' }, t, e))), "opacity" !== this.options.type && "scale" !== this.options.type && "scale-opacity" !== this.options.type && 1 !== this.options.speed || (this.image.position = "absolute"), "fixed" === this.image.position) for (var o = 0, r = this.$item; null !== r && r !== document && 0 === o;) { var l = this.css(r, "-webkit-transform") || this.css(r, "-moz-transform") || this.css(r, "transform"); l && "none" !== l && (o = 1, this.image.position = "absolute"), r = r.parentNode } e.position = this.image.position, this.css(this.image.$item, e), this.image.$container.appendChild(this.image.$item), this.onResize(), this.onScroll(!0), this.options.automaticResize && k && k.observe(this.$item), this.options.onInit && this.options.onInit.call(this), "none" !== this.css(this.$item, "background-image") && this.css(this.$item, { "background-image": "none" }), this.addToParallaxList() } }, { key: "addToParallaxList", value: function () { b.push(this), 1 === b.length && x() } }, { key: "removeFromParallaxList", value: function () { var t = this; b.forEach((function (e, n) { e.instanceID === t.instanceID && b.splice(n, 1) })) } }, { key: "destroy", value: function () { this.removeFromParallaxList(); var t = this.$item.getAttribute("data-jarallax-original-styles"); if (this.$item.removeAttribute("data-jarallax-original-styles"), t ? this.$item.setAttribute("style", t) : this.$item.removeAttribute("style"), this.image.useImgTag) { var e = this.image.$item.getAttribute("data-jarallax-original-styles"); this.image.$item.removeAttribute("data-jarallax-original-styles"), e ? this.image.$item.setAttribute("style", t) : this.image.$item.removeAttribute("style"), this.image.$itemParent && this.image.$itemParent.appendChild(this.image.$item) } this.$clipStyles && this.$clipStyles.parentNode.removeChild(this.$clipStyles), this.image.$container && this.image.$container.parentNode.removeChild(this.image.$container), this.options.onDestroy && this.options.onDestroy.call(this), delete this.$item.jarallax } }, { key: "clipContainer", value: function () { if ("fixed" === this.image.position) { var t = this.image.$container.getBoundingClientRect(), e = t.width, n = t.height; if (!this.$clipStyles) this.$clipStyles = document.createElement("style"), this.$clipStyles.setAttribute("type", "text/css"), this.$clipStyles.setAttribute("id", "jarallax-clip-" + this.instanceID), (document.head || document.getElementsByTagName("head")[0]).appendChild(this.$clipStyles); var i = "#jarallax-container-" + this.instanceID + " {\n clip: rect(0 " + e + "px " + n + "px 0);\n clip: rect(0, " + e + "px, " + n + "px, 0);\n }"; this.$clipStyles.styleSheet ? this.$clipStyles.styleSheet.cssText = i : this.$clipStyles.innerHTML = i } } }, { key: "coverImage", value: function () { var t = this.image.$container.getBoundingClientRect(), e = t.height, n = this.options.speed, i = "scroll" === this.options.type || "scroll-opacity" === this.options.type, o = 0, r = e, l = 0; return i && (o = n < 0 ? n * Math.max(e, p) : n * (e + p), n > 1 ? r = Math.abs(o - p) : n < 0 ? r = o / n + Math.abs(o) : r += Math.abs(p - e) * (1 - n), o /= 2), this.parallaxScrollDistance = o, l = i ? (p - r) / 2 : (e - r) / 2, this.css(this.image.$item, { height: r + "px", marginTop: l + "px", left: "fixed" === this.image.position ? t.left + "px" : "0", width: t.width + "px" }), this.options.onCoverImage && this.options.onCoverImage.call(this), { image: { height: r, marginTop: l }, container: t } } }, { key: "isVisible", value: function () { return this.isElementInViewport || !1 } }, { key: "onScroll", value: function (t) { var e = this.$item.getBoundingClientRect(), n = e.top, i = e.height, o = {}, r = e; if (this.options.elementInViewport && (r = this.options.elementInViewport.getBoundingClientRect()), this.isElementInViewport = r.bottom >= 0 && r.right >= 0 && r.top <= p && r.left <= f, t || this.isElementInViewport) { var l = Math.max(0, n), a = Math.max(0, i + n), s = Math.max(0, -n), c = Math.max(0, n + i - p), u = Math.max(0, i - (n + i - p)), d = Math.max(0, -n + p - i), h = 1 - 2 * (p - n) / (p + i), m = 1; if (i < p ? m = 1 - (s || c) / i : a <= p ? m = a / p : u <= p && (m = u / p), "opacity" !== this.options.type && "scale-opacity" !== this.options.type && "scroll-opacity" !== this.options.type || (o.transform = "translate3d(0,0,0)", o.opacity = m), "scale" === this.options.type || "scale-opacity" === this.options.type) { var g = 1; this.options.speed < 0 ? g -= this.options.speed * m : g += this.options.speed * (1 - m), o.transform = "scale(" + g + ") translate3d(0,0,0)" } if ("scroll" === this.options.type || "scroll-opacity" === this.options.type) { var v = this.parallaxScrollDistance * h; "absolute" === this.image.position && (v -= n), o.transform = "translate3d(0," + v + "px,0)" } this.css(this.image.$item, o), this.options.onScroll && this.options.onScroll.call(this, { section: e, beforeTop: l, beforeTopEnd: a, afterTop: s, beforeBottom: c, beforeBottomEnd: u, afterBottom: d, visiblePercent: m, fromViewportCenter: h }) } } }, { key: "onResize", value: function () { this.coverImage(), this.clipContainer() } }]), t }(), M = function (t) { ("object" === ("undefined" == typeof HTMLElement ? "undefined" : l(HTMLElement)) ? t instanceof HTMLElement : t && "object" === (void 0 === t ? "undefined" : l(t)) && null !== t && 1 === t.nodeType && "string" == typeof t.nodeName) && (t = [t]); for (var e = arguments[1], n = Array.prototype.slice.call(arguments, 2), i = t.length, o = 0, r = void 0; o < i; o++)if ("object" === (void 0 === e ? "undefined" : l(e)) || void 0 === e ? t[o].jarallax || (t[o].jarallax = new C(t[o], e)) : t[o].jarallax && (r = t[o].jarallax[e].apply(t[o].jarallax, n)), void 0 !== r) return r; return t }; M.constructor = C, e.default = M }).call(this, n(5)) }, function (t, e, n) { var i = n(4), o = i.requestAnimationFrame || i.webkitRequestAnimationFrame || i.mozRequestAnimationFrame || function (t) { var e = +new Date, n = Math.max(0, 16 - (e - r)), i = setTimeout(t, n); return r = e, i }, r = +new Date; var l = i.cancelAnimationFrame || i.webkitCancelAnimationFrame || i.mozCancelAnimationFrame || clearTimeout; Function.prototype.bind && (o = o.bind(i), l = l.bind(i)), (t.exports = o).cancel = l }])
}, function (t, e, n) {
"use strict"; n(10), n(16), n(17), n(242), n(38), n(8), n(28), n(243), n(244), n(42), n(7), n(44), n(14), n(18), n(43), n(30), n(40), n(19); function i(t) { return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*!
* Name : Video Background Extension for Jarallax
* Version : 1.0.1
* Author : nK <https://nkdev.info>
* GitHub : https://github.com/nk-o/jarallax
*/!function (t) { var e = {}; function n(i) { if (e[i]) return e[i].exports; var o = e[i] = { i: i, l: !1, exports: {} }; return t[i].call(o.exports, o, o.exports, n), o.l = !0, o.exports } n.m = t, n.c = e, n.d = function (t, e, i) { n.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: i }) }, n.r = function (t) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t, "__esModule", { value: !0 }) }, n.t = function (t, e) { if (1 & e && (t = n(t)), 8 & e) return t; if (4 & e && "object" === i(t) && t && t.__esModule) return t; var o = Object.create(null); if (n.r(o), Object.defineProperty(o, "default", { enumerable: !0, value: t }), 2 & e && "string" != typeof t) for (var r in t) n.d(o, r, function (e) { return t[e] }.bind(null, r)); return o }, n.n = function (t) { var e = t && t.__esModule ? function () { return t.default } : function () { return t }; return n.d(e, "a", e), e }, n.o = function (t, e) { return Object.prototype.hasOwnProperty.call(t, e) }, n.p = "", n(n.s = 6) }([, , function (t, e, n) { t.exports = function (t) { "complete" === document.readyState || "interactive" === document.readyState ? t.call() : document.attachEvent ? document.attachEvent("onreadystatechange", (function () { "interactive" === document.readyState && t.call() })) : document.addEventListener && document.addEventListener("DOMContentLoaded", t) } }, , function (t, e, n) { (function (e) { var n; n = "undefined" != typeof window ? window : void 0 !== e ? e : "undefined" != typeof self ? self : {}, t.exports = n }).call(this, n(5)) }, function (t, e, n) { var o, r = "function" == typeof Symbol && "symbol" === i(Symbol.iterator) ? function (t) { return i(t) } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : i(t) }; o = function () { return this }(); try { o = o || Function("return this")() || (0, eval)("this") } catch (t) { "object" === ("undefined" == typeof window ? "undefined" : r(window)) && (o = window) } t.exports = o }, function (t, e, n) { t.exports = n(7) }, function (t, e, n) { var i = a(n(8)), o = a(n(4)), r = a(n(2)), l = a(n(10)); function a(t) { return t && t.__esModule ? t : { default: t } } o.default.VideoWorker = o.default.VideoWorker || i.default, (0, l.default)(), (0, r.default)((function () { "undefined" != typeof jarallax && jarallax(document.querySelectorAll("[data-jarallax-video]")) })) }, function (t, e, n) { t.exports = n(9) }, function (t, e, n) { Object.defineProperty(e, "__esModule", { value: !0 }); var o = "function" == typeof Symbol && "symbol" === i(Symbol.iterator) ? function (t) { return i(t) } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : i(t) }, r = function () { function t(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } return function (e, n, i) { return n && t(e.prototype, n), i && t(e, i), e } }(); function l() { this._done = [], this._fail = [] } l.prototype = { execute: function (t, e) { var n = t.length; for (e = Array.prototype.slice.call(e); n--;)t[n].apply(null, e) }, resolve: function () { this.execute(this._done, arguments) }, reject: function () { this.execute(this._fail, arguments) }, done: function (t) { this._done.push(t) }, fail: function (t) { this._fail.push(t) } }; var a = 0, s = 0, c = 0, u = 0, d = 0, h = new l, f = new l, p = function () { function t(e, n) { !function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }(this, t); this.url = e, this.options_default = { autoplay: !1, loop: !1, mute: !1, volume: 100, showContols: !0, startTime: 0, endTime: 0 }, this.options = this.extend({}, this.options_default, n), this.videoID = this.parseURL(e), this.videoID && (this.ID = a++, this.loadAPI(), this.init()) } return r(t, [{ key: "extend", value: function (t) { var e = arguments; return t = t || {}, Object.keys(arguments).forEach((function (n) { e[n] && Object.keys(e[n]).forEach((function (i) { t[i] = e[n][i] })) })), t } }, { key: "parseURL", value: function (t) { var e, n, i, o, r = !(!(e = t.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/)) || 11 !== e[1].length) && e[1], l = function (t) { var e = t.match(/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/); return !(!e || !e[3]) && e[3] }(t), a = (n = t.split(/,(?=mp4\:|webm\:|ogv\:|ogg\:)/), i = {}, o = 0, n.forEach((function (t) { var e = t.match(/^(mp4|webm|ogv|ogg)\:(.*)/); e && e[1] && e[2] && (i["ogv" === e[1] ? "ogg" : e[1]] = e[2], o = 1) })), !!o && i); return r ? (this.type = "youtube", r) : l ? (this.type = "vimeo", l) : !!a && (this.type = "local", a) } }, { key: "isValid", value: function () { return !!this.videoID } }, { key: "on", value: function (t, e) { this.userEventsList = this.userEventsList || [], (this.userEventsList[t] || (this.userEventsList[t] = [])).push(e) } }, { key: "off", value: function (t, e) { var n = this; this.userEventsList && this.userEventsList[t] && (e ? this.userEventsList[t].forEach((function (i, o) { i === e && (n.userEventsList[t][o] = !1) })) : delete this.userEventsList[t]) } }, { key: "fire", value: function (t) { var e = this, n = [].slice.call(arguments, 1); this.userEventsList && void 0 !== this.userEventsList[t] && this.userEventsList[t].forEach((function (t) { t && t.apply(e, n) })) } }, { key: "play", value: function (t) { var e = this; e.player && ("youtube" === e.type && e.player.playVideo && (void 0 !== t && e.player.seekTo(t || 0), YT.PlayerState.PLAYING !== e.player.getPlayerState() && e.player.playVideo()), "vimeo" === e.type && (void 0 !== t && e.player.setCurrentTime(t), e.player.getPaused().then((function (t) { t && e.player.play() }))), "local" === e.type && (void 0 !== t && (e.player.currentTime = t), e.player.paused && e.player.play())) } }, { key: "pause", value: function () { var t = this; t.player && ("youtube" === t.type && t.player.pauseVideo && YT.PlayerState.PLAYING === t.player.getPlayerState() && t.player.pauseVideo(), "vimeo" === t.type && t.player.getPaused().then((function (e) { e || t.player.pause() })), "local" === t.type && (t.player.paused || t.player.pause())) } }, { key: "mute", value: function () { this.player && ("youtube" === this.type && this.player.mute && this.player.mute(), "vimeo" === this.type && this.player.setVolume && this.player.setVolume(0), "local" === this.type && (this.$video.muted = !0)) } }, { key: "unmute", value: function () { this.player && ("youtube" === this.type && this.player.mute && this.player.unMute(), "vimeo" === this.type && this.player.setVolume && this.player.setVolume(this.options.volume), "local" === this.type && (this.$video.muted = !1)) } }, { key: "setVolume", value: function () { var t = arguments.length > 0 && void 0 !== arguments[0] && arguments[0], e = this; e.player && t && ("youtube" === e.type && e.player.setVolume && e.player.setVolume(t), "vimeo" === e.type && e.player.setVolume && e.player.setVolume(t), "local" === e.type && (e.$video.volume = t / 100)) } }, { key: "getVolume", value: function (t) { this.player ? ("youtube" === this.type && this.player.getVolume && t(this.player.getVolume()), "vimeo" === this.type && this.player.getVolume && this.player.getVolume().then((function (e) { t(e) })), "local" === this.type && t(100 * this.$video.volume)) : t(!1) } }, { key: "getMuted", value: function (t) { this.player ? ("youtube" === this.type && this.player.isMuted && t(this.player.isMuted()), "vimeo" === this.type && this.player.getVolume && this.player.getVolume().then((function (e) { t(!!e) })), "local" === this.type && t(this.$video.muted)) : t(null) } }, { key: "getImageURL", value: function (t) { var e = this; if (e.videoImage) t(e.videoImage); else { if ("youtube" === e.type) { var n = ["maxresdefault", "sddefault", "hqdefault", "0"], i = 0, o = new Image; o.onload = function () { 120 !== (this.naturalWidth || this.width) || i === n.length - 1 ? (e.videoImage = "https://img.youtube.com/vi/" + e.videoID + "/" + n[i] + ".jpg", t(e.videoImage)) : (i++, this.src = "https://img.youtube.com/vi/" + e.videoID + "/" + n[i] + ".jpg") }, o.src = "https://img.youtube.com/vi/" + e.videoID + "/" + n[i] + ".jpg" } if ("vimeo" === e.type) { var r = new XMLHttpRequest; r.open("GET", "https://vimeo.com/api/v2/video/" + e.videoID + ".json", !0), r.onreadystatechange = function () { if (4 === this.readyState && this.status >= 200 && this.status < 400) { var n = JSON.parse(this.responseText); e.videoImage = n[0].thumbnail_large, t(e.videoImage) } }, r.send(), r = null } } } }, { key: "getIframe", value: function (t) { this.getVideo(t) } }, { key: "getVideo", value: function (t) { var e = this; e.$video ? t(e.$video) : e.onAPIready((function () { var n = void 0; if (e.$video || ((n = document.createElement("div")).style.display = "none"), "youtube" === e.type) { e.playerOptions = {}, e.playerOptions.videoId = e.videoID, e.playerOptions.playerVars = { autohide: 1, rel: 0, autoplay: 0, playsinline: 1 }, e.options.showContols || (e.playerOptions.playerVars.iv_load_policy = 3, e.playerOptions.playerVars.modestbranding = 1, e.playerOptions.playerVars.controls = 0, e.playerOptions.playerVars.showinfo = 0, e.playerOptions.playerVars.disablekb = 1); var i = void 0, o = void 0; e.playerOptions.events = { onReady: function (t) { e.options.mute ? t.target.mute() : e.options.volume && t.target.setVolume(e.options.volume), e.options.autoplay && e.play(e.options.startTime), e.fire("ready", t), setInterval((function () { e.getVolume((function (n) { e.options.volume !== n && (e.options.volume = n, e.fire("volumechange", t)) })) }), 150) }, onStateChange: function (t) { e.options.loop && t.data === YT.PlayerState.ENDED && e.play(e.options.startTime), i || t.data !== YT.PlayerState.PLAYING || (i = 1, e.fire("started", t)), t.data === YT.PlayerState.PLAYING && e.fire("play", t), t.data === YT.PlayerState.PAUSED && e.fire("pause", t), t.data === YT.PlayerState.ENDED && e.fire("ended", t), t.data === YT.PlayerState.PLAYING ? o = setInterval((function () { e.fire("timeupdate", t), e.options.endTime && e.player.getCurrentTime() >= e.options.endTime && (e.options.loop ? e.play(e.options.startTime) : e.pause()) }), 150) : clearInterval(o) } }; var r = !e.$video; if (r) { var l = document.createElement("div"); l.setAttribute("id", e.playerID), n.appendChild(l), document.body.appendChild(n) } e.player = e.player || new window.YT.Player(e.playerID, e.playerOptions), r && (e.$video = document.getElementById(e.playerID), e.videoWidth = parseInt(e.$video.getAttribute("width"), 10) || 1280, e.videoHeight = parseInt(e.$video.getAttribute("height"), 10) || 720) } if ("vimeo" === e.type) { e.playerOptions = "", e.playerOptions += "player_id=" + e.playerID, e.playerOptions += "&autopause=0", e.playerOptions += "&transparent=0", e.options.showContols || (e.playerOptions += "&badge=0&byline=0&portrait=0&title=0"), e.playerOptions += "&autoplay=" + (e.options.autoplay ? "1" : "0"), e.playerOptions += "&loop=" + (e.options.loop ? 1 : 0), e.$video || (e.$video = document.createElement("iframe"), e.$video.setAttribute("id", e.playerID), e.$video.setAttribute("src", "https://player.vimeo.com/video/" + e.videoID + "?" + e.playerOptions), e.$video.setAttribute("frameborder", "0"), n.appendChild(e.$video), document.body.appendChild(n)), e.player = e.player || new Vimeo.Player(e.$video), e.player.getVideoWidth().then((function (t) { e.videoWidth = t || 1280 })), e.player.getVideoHeight().then((function (t) { e.videoHeight = t || 720 })), e.options.startTime && e.options.autoplay && e.player.setCurrentTime(e.options.startTime), e.options.mute ? e.player.setVolume(0) : e.options.volume && e.player.setVolume(e.options.volume); var a = void 0; e.player.on("timeupdate", (function (t) { a || (e.fire("started", t), a = 1), e.fire("timeupdate", t), e.options.endTime && e.options.endTime && t.seconds >= e.options.endTime && (e.options.loop ? e.play(e.options.startTime) : e.pause()) })), e.player.on("play", (function (t) { e.fire("play", t), e.options.startTime && 0 === t.seconds && e.play(e.options.startTime) })), e.player.on("pause", (function (t) { e.fire("pause", t) })), e.player.on("ended", (function (t) { e.fire("ended", t) })), e.player.on("loaded", (function (t) { e.fire("ready", t) })), e.player.on("volumechange", (function (t) { e.fire("volumechange", t) })) } if ("local" === e.type) { e.$video || (e.$video = document.createElement("video"), e.options.showContols && (e.$video.controls = !0), e.options.mute ? e.$video.muted = !0 : e.$video.volume && (e.$video.volume = e.options.volume / 100), e.options.loop && (e.$video.loop = !0), e.$video.setAttribute("playsinline", ""), e.$video.setAttribute("webkit-playsinline", ""), e.$video.setAttribute("id", e.playerID), n.appendChild(e.$video), document.body.appendChild(n), Object.keys(e.videoID).forEach((function (t) { var n, i, o, r; n = e.$video, i = e.videoID[t], o = "video/" + t, (r = document.createElement("source")).src = i, r.type = o, n.appendChild(r) }))), e.player = e.player || e.$video; var s = void 0; e.player.addEventListener("playing", (function (t) { s || e.fire("started", t), s = 1 })), e.player.addEventListener("timeupdate", (function (t) { e.fire("timeupdate", t), e.options.endTime && e.options.endTime && this.currentTime >= e.options.endTime && (e.options.loop ? e.play(e.options.startTime) : e.pause()) })), e.player.addEventListener("play", (function (t) { e.fire("play", t) })), e.player.addEventListener("pause", (function (t) { e.fire("pause", t) })), e.player.addEventListener("ended", (function (t) { e.fire("ended", t) })), e.player.addEventListener("loadedmetadata", (function () { e.videoWidth = this.videoWidth || 1280, e.videoHeight = this.videoHeight || 720, e.fire("ready"), e.options.autoplay && e.play(e.options.startTime) })), e.player.addEventListener("volumechange", (function (t) { e.getVolume((function (t) { e.options.volume = t })), e.fire("volumechange", t) })) } t(e.$video) })) } }, { key: "init", value: function () { this.playerID = "VideoWorker-" + this.ID } }, { key: "loadAPI", value: function () { if (!s || !c) { var t = ""; if ("youtube" !== this.type || s || (s = 1, t = "https://www.youtube.com/iframe_api"), "vimeo" !== this.type || c || (c = 1, t = "https://player.vimeo.com/api/player.js"), t) { var e = document.createElement("script"), n = document.getElementsByTagName("head")[0]; e.src = t, n.appendChild(e), n = null, e = null } } } }, { key: "onAPIready", value: function (t) { if ("youtube" === this.type && ("undefined" != typeof YT && 0 !== YT.loaded || u ? "object" === ("undefined" == typeof YT ? "undefined" : o(YT)) && 1 === YT.loaded ? t() : h.done((function () { t() })) : (u = 1, window.onYouTubeIframeAPIReady = function () { window.onYouTubeIframeAPIReady = null, h.resolve("done"), t() })), "vimeo" === this.type) if ("undefined" != typeof Vimeo || d) "undefined" != typeof Vimeo ? t() : f.done((function () { t() })); else { d = 1; var e = setInterval((function () { "undefined" != typeof Vimeo && (clearInterval(e), f.resolve("done"), t()) }), 20) } "local" === this.type && t() } }]), t }(); e.default = p }, function (t, e, n) { Object.defineProperty(e, "__esModule", { value: !0 }), e.default = function () { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : o.default.jarallax; if (void 0 === t) return; var e = t.constructor, n = e.prototype.init; e.prototype.init = function () { var t = this; n.apply(t), t.video && !t.options.disableVideo() && t.video.getVideo((function (e) { var n = e.parentNode; t.css(e, { position: t.image.position, top: "0px", left: "0px", right: "0px", bottom: "0px", width: "100%", height: "100%", maxWidth: "none", maxHeight: "none", margin: 0, zIndex: -1 }), t.$video = e, t.image.$container.appendChild(e), n.parentNode.removeChild(n) })) }; var r = e.prototype.coverImage; e.prototype.coverImage = function () { var t = r.apply(this), e = !!this.image.$item && this.image.$item.nodeName; if (t && this.video && e && ("IFRAME" === e || "VIDEO" === e)) { var n = t.image.height, i = n * this.image.width / this.image.height, o = (t.container.width - i) / 2, l = t.image.marginTop; t.container.width > i && (n = (i = t.container.width) * this.image.height / this.image.width, o = 0, l += (t.image.height - n) / 2), "IFRAME" === e && (n += 400, l -= 200), this.css(this.$video, { width: i + "px", marginLeft: o + "px", height: n + "px", marginTop: l + "px" }) } return t }; var l = e.prototype.initImg; e.prototype.initImg = function () { var t = l.apply(this); return this.options.videoSrc || (this.options.videoSrc = this.$item.getAttribute("data-jarallax-video") || null), this.options.videoSrc ? (this.defaultInitImgResult = t, !0) : t }; var a = e.prototype.canInitParallax; e.prototype.canInitParallax = function () { var t = this, e = a.apply(t); if (!t.options.videoSrc) return e; var n = new i.default(t.options.videoSrc, { autoplay: !0, loop: !0, showContols: !1, startTime: t.options.videoStartTime || 0, endTime: t.options.videoEndTime || 0, mute: t.options.videoVolume ? 0 : 1, volume: t.options.videoVolume || 0 }); if (n.isValid()) if (e) { if (n.on("ready", (function () { if (t.options.videoPlayOnlyVisible) { var e = t.onScroll; t.onScroll = function () { e.apply(t), t.isVisible() ? n.play() : n.pause() } } else n.play() })), n.on("started", (function () { t.image.$default_item = t.image.$item, t.image.$item = t.$video, t.image.width = t.video.videoWidth || 1280, t.image.height = t.video.videoHeight || 720, t.options.imgWidth = t.image.width, t.options.imgHeight = t.image.height, t.coverImage(), t.clipContainer(), t.onScroll(), t.image.$default_item && (t.image.$default_item.style.display = "none") })), t.video = n, !t.defaultInitImgResult) return "local" !== n.type ? (n.getImageURL((function (e) { t.image.src = e, t.init() })), !1) : (t.image.src = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", !0) } else t.defaultInitImgResult || n.getImageURL((function (e) { var n = t.$item.getAttribute("style"); n && t.$item.setAttribute("data-jarallax-original-styles", n), t.css(t.$item, { "background-image": 'url("' + e + '")', "background-position": "center", "background-size": "cover" }) })); return e }; var s = e.prototype.destroy; e.prototype.destroy = function () { this.image.$default_item && (this.image.$item = this.image.$default_item, delete this.image.$default_item), s.apply(this) } }; var i = r(n(8)), o = r(n(4)); function r(t) { return t && t.__esModule ? t : { default: t } } }])
}, function (t, e, n) {
"use strict"; (function (t) {
n(10), n(16), n(17), n(38), n(12), n(8), n(28), n(52), n(13), n(59), n(7), n(46), n(44), n(62), n(14), n(29), n(18), n(43), n(35), n(137), n(30), n(19); function e(t) { return (e = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*! PhotoSwipe - v4.1.1 - 2015-12-24
* http://photoswipe.com
* Copyright (c) 2015 Dmitry Semenov; */!function (i, o) { "function" == typeof define && n(24) ? define(o) : "object" == ("undefined" == typeof exports ? "undefined" : e(exports)) ? t.exports = o() : window.PhotoSwipe = o() }(0, (function () { return function (t, n, i, o) { var r = { features: null, bind: function (t, e, n, i) { var o = (i ? "remove" : "add") + "EventListener"; e = e.split(" "); for (var r = 0; r < e.length; r++)e[r] && t[o](e[r], n, !1) }, isArray: function (t) { return t instanceof Array }, createEl: function (t, e) { var n = document.createElement(e || "div"); return t && (n.className = t), n }, getScrollY: function () { var t = window.pageYOffset; return void 0 !== t ? t : document.documentElement.scrollTop }, unbind: function (t, e, n) { r.bind(t, e, n, !0) }, removeClass: function (t, e) { var n = new RegExp("(\\s|^)" + e + "(\\s|$)"); t.className = t.className.replace(n, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "") }, addClass: function (t, e) { r.hasClass(t, e) || (t.className += (t.className ? " " : "") + e) }, hasClass: function (t, e) { return t.className && new RegExp("(^|\\s)" + e + "(\\s|$)").test(t.className) }, getChildByClass: function (t, e) { for (var n = t.firstChild; n;) { if (r.hasClass(n, e)) return n; n = n.nextSibling } }, arraySearch: function (t, e, n) { for (var i = t.length; i--;)if (t[i][n] === e) return i; return -1 }, extend: function (t, e, n) { for (var i in e) if (e.hasOwnProperty(i)) { if (n && t.hasOwnProperty(i)) continue; t[i] = e[i] } }, easing: { sine: { out: function (t) { return Math.sin(t * (Math.PI / 2)) }, inOut: function (t) { return -(Math.cos(Math.PI * t) - 1) / 2 } }, cubic: { out: function (t) { return --t * t * t + 1 } } }, detectFeatures: function () { if (r.features) return r.features; var t = r.createEl().style, e = "", n = {}; if (n.oldIE = document.all && !document.addEventListener, n.touch = "ontouchstart" in window, window.requestAnimationFrame && (n.raf = window.requestAnimationFrame, n.caf = window.cancelAnimationFrame), n.pointerEvent = navigator.pointerEnabled || navigator.msPointerEnabled, !n.pointerEvent) { var i = navigator.userAgent; if (/iP(hone|od)/.test(navigator.platform)) { var o = navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/); o && o.length > 0 && ((o = parseInt(o[1], 10)) >= 1 && 8 > o && (n.isOldIOSPhone = !0)) } var l = i.match(/Android\s([0-9\.]*)/), a = l ? l[1] : 0; (a = parseFloat(a)) >= 1 && (4.4 > a && (n.isOldAndroid = !0), n.androidVersion = a), n.isMobileOpera = /opera mini|opera mobi/i.test(i) } for (var s, c, u = ["transform", "perspective", "animationName"], d = ["", "webkit", "Moz", "ms", "O"], h = 0; 4 > h; h++) { e = d[h]; for (var f = 0; 3 > f; f++)s = u[f], c = e + (e ? s.charAt(0).toUpperCase() + s.slice(1) : s), !n[s] && c in t && (n[s] = c); e && !n.raf && (e = e.toLowerCase(), n.raf = window[e + "RequestAnimationFrame"], n.raf && (n.caf = window[e + "CancelAnimationFrame"] || window[e + "CancelRequestAnimationFrame"])) } if (!n.raf) { var p = 0; n.raf = function (t) { var e = (new Date).getTime(), n = Math.max(0, 16 - (e - p)), i = window.setTimeout((function () { t(e + n) }), n); return p = e + n, i }, n.caf = function (t) { clearTimeout(t) } } return n.svg = !!document.createElementNS && !!document.createElementNS("http://www.w3.org/2000/svg", "svg").createSVGRect, r.features = n, n } }; r.detectFeatures(), r.features.oldIE && (r.bind = function (t, n, i, o) { n = n.split(" "); for (var r, l = (o ? "detach" : "attach") + "Event", a = function () { i.handleEvent.call(i) }, s = 0; s < n.length; s++)if (r = n[s]) if ("object" == e(i) && i.handleEvent) { if (o) { if (!i["oldIE" + r]) return !1 } else i["oldIE" + r] = a; t[l]("on" + r, i["oldIE" + r]) } else t[l]("on" + r, i) }); var l = this, a = { allowPanToNext: !0, spacing: .12, bgOpacity: 1, mouseUsed: !1, loop: !0, pinchToClose: !0, closeOnScroll: !0, closeOnVerticalDrag: !0, verticalDragRange: .75, hideAnimationDuration: 333, showAnimationDuration: 333, showHideOpacity: !1, focus: !0, escKey: !0, arrowKeys: !0, mainScrollEndFriction: .35, panEndFriction: .35, isClickableElement: function (t) { return "A" === t.tagName }, getDoubleTapZoom: function (t, e) { return t ? 1 : e.initialZoomLevel < .7 ? 1 : 1.33 }, maxSpreadZoom: 1.33, modal: !0, scaleMode: "fit" }; r.extend(a, o); var s, c, u, d, h, f, p, m, g, v, y, b, w, x, k, S, C, M, _, T, E, A, O, P, I, D, L, $, N, R, j, F, V, H, W, B, z, q, Y, Z, X, U, G, Q, K, J, tt, et, nt, it, ot, rt, lt, at, st, ct = { x: 0, y: 0 }, ut = { x: 0, y: 0 }, dt = { x: 0, y: 0 }, ht = {}, ft = 0, pt = {}, mt = { x: 0, y: 0 }, gt = 0, vt = !0, yt = [], bt = {}, wt = !1, xt = function (t, e) { r.extend(l, e.publicMethods), yt.push(t) }, kt = function (t) { var e = Fe(); return t > e - 1 ? t - e : 0 > t ? e + t : t }, St = {}, Ct = function (t, e) { return St[t] || (St[t] = []), St[t].push(e) }, Mt = function (t) { var e = St[t]; if (e) { var n = Array.prototype.slice.call(arguments); n.shift(); for (var i = 0; i < e.length; i++)e[i].apply(l, n) } }, _t = function () { return (new Date).getTime() }, Tt = function (t) { lt = t, l.bg.style.opacity = t * a.bgOpacity }, Et = function (t, e, n, i, o) { (!wt || o && o !== l.currItem) && (i /= o ? o.fitRatio : l.currItem.fitRatio), t[A] = b + e + "px, " + n + "px" + w + " scale(" + i + ")" }, At = function (t) { et && (t && (v > l.currItem.fitRatio ? wt || (Xe(l.currItem, !1, !0), wt = !0) : wt && (Xe(l.currItem), wt = !1)), Et(et, dt.x, dt.y, v)) }, Ot = function (t) { t.container && Et(t.container.style, t.initialPosition.x, t.initialPosition.y, t.initialZoomLevel, t) }, Pt = function (t, e) { e[A] = b + t + "px, 0px" + w }, It = function (t, e) { if (!a.loop && e) { var n = d + (mt.x * ft - t) / mt.x, i = Math.round(t - ue.x); (0 > n && i > 0 || n >= Fe() - 1 && 0 > i) && (t = ue.x + i * a.mainScrollEndFriction) } ue.x = t, Pt(t, h) }, Dt = function (t, e) { var n = de[t] - pt[t]; return ut[t] + ct[t] + n - n * (e / y) }, Lt = function (t, e) { t.x = e.x, t.y = e.y, e.id && (t.id = e.id) }, $t = function (t) { t.x = Math.round(t.x), t.y = Math.round(t.y) }, Nt = null, Rt = function e() { Nt && (r.unbind(document, "mousemove", e), r.addClass(t, "pswp--has_mouse"), a.mouseUsed = !0, Mt("mouseUsed")), Nt = setTimeout((function () { Nt = null }), 100) }, jt = function (t, e) { var n = ze(l.currItem, ht, t); return e && (tt = n), n }, Ft = function (t) { return t || (t = l.currItem), t.initialZoomLevel }, Vt = function (t) { return t || (t = l.currItem), t.w > 0 ? a.maxSpreadZoom : 1 }, Ht = function (t, e, n, i) { return i === l.currItem.initialZoomLevel ? (n[t] = l.currItem.initialPosition[t], !0) : (n[t] = Dt(t, i), n[t] > e.min[t] ? (n[t] = e.min[t], !0) : n[t] < e.max[t] && (n[t] = e.max[t], !0)) }, Wt = function (t) { var e = ""; a.escKey && 27 === t.keyCode ? e = "close" : a.arrowKeys && (37 === t.keyCode ? e = "prev" : 39 === t.keyCode && (e = "next")), e && (t.ctrlKey || t.altKey || t.shiftKey || t.metaKey || (t.preventDefault ? t.preventDefault() : t.returnValue = !1, l[e]())) }, Bt = function (t) { t && (X || Z || nt || B) && (t.preventDefault(), t.stopPropagation()) }, zt = function () { l.setScrollOffset(0, r.getScrollY()) }, qt = {}, Yt = 0, Zt = function (t) { qt[t] && (qt[t].raf && D(qt[t].raf), Yt--, delete qt[t]) }, Xt = function (t) { qt[t] && Zt(t), qt[t] || (Yt++, qt[t] = {}) }, Ut = function () { for (var t in qt) qt.hasOwnProperty(t) && Zt(t) }, Gt = function (t, e, n, i, o, r, l) { var a, s = _t(); Xt(t); !function c() { if (qt[t]) { if ((a = _t() - s) >= i) return Zt(t), r(n), void (l && l()); r((n - e) * o(a / i) + e), qt[t].raf = I(c) } }() }, Qt = { shout: Mt, listen: Ct, viewportSize: ht, options: a, isMainScrollAnimating: function () { return nt }, getZoomLevel: function () { return v }, getCurrentIndex: function () { return d }, isDragging: function () { return q }, isZooming: function () { return K }, setScrollOffset: function (t, e) { pt.x = t, R = pt.y = e, Mt("updateScrollOffset", pt) }, applyZoomPan: function (t, e, n, i) { dt.x = e, dt.y = n, v = t, At(i) }, init: function () { if (!s && !c) { var e; l.framework = r, l.template = t, l.bg = r.getChildByClass(t, "pswp__bg"), L = t.className, s = !0, j = r.detectFeatures(), I = j.raf, D = j.caf, A = j.transform, N = j.oldIE, l.scrollWrap = r.getChildByClass(t, "pswp__scroll-wrap"), l.container = r.getChildByClass(l.scrollWrap, "pswp__container"), h = l.container.style, l.itemHolders = S = [{ el: l.container.children[0], wrap: 0, index: -1 }, { el: l.container.children[1], wrap: 0, index: -1 }, { el: l.container.children[2], wrap: 0, index: -1 }], S[0].el.style.display = S[2].el.style.display = "none", function () { if (A) { var e = j.perspective && !P; return b = "translate" + (e ? "3d(" : "("), void (w = j.perspective ? ", 0px)" : ")") } A = "left", r.addClass(t, "pswp--ie"), Pt = function (t, e) { e.left = t + "px" }, Ot = function (t) { var e = t.fitRatio > 1 ? 1 : t.fitRatio, n = t.container.style, i = e * t.w, o = e * t.h; n.width = i + "px", n.height = o + "px", n.left = t.initialPosition.x + "px", n.top = t.initialPosition.y + "px" }, At = function () { if (et) { var t = et, e = l.currItem, n = e.fitRatio > 1 ? 1 : e.fitRatio, i = n * e.w, o = n * e.h; t.width = i + "px", t.height = o + "px", t.left = dt.x + "px", t.top = dt.y + "px" } } }(), g = { resize: l.updateSize, scroll: zt, keydown: Wt, click: Bt }; var i = j.isOldIOSPhone || j.isOldAndroid || j.isMobileOpera; for (j.animationName && j.transform && !i || (a.showAnimationDuration = a.hideAnimationDuration = 0), e = 0; e < yt.length; e++)l["init" + yt[e]](); if (n) (l.ui = new n(l, r)).init(); Mt("firstUpdate"), d = d || a.index || 0, (isNaN(d) || 0 > d || d >= Fe()) && (d = 0), l.currItem = je(d), (j.isOldIOSPhone || j.isOldAndroid) && (vt = !1), t.setAttribute("aria-hidden", "false"), a.modal && (vt ? t.style.position = "fixed" : (t.style.position = "absolute", t.style.top = r.getScrollY() + "px")), void 0 === R && (Mt("initialLayout"), R = $ = r.getScrollY()); var o = "pswp--open "; for (a.mainClass && (o += a.mainClass + " "), a.showHideOpacity && (o += "pswp--animate_opacity "), o += P ? "pswp--touch" : "pswp--notouch", o += j.animationName ? " pswp--css_animation" : "", o += j.svg ? " pswp--svg" : "", r.addClass(t, o), l.updateSize(), f = -1, gt = null, e = 0; 3 > e; e++)Pt((e + f) * mt.x, S[e].el.style); N || r.bind(l.scrollWrap, m, l), Ct("initialZoomInEnd", (function () { l.setContent(S[0], d - 1), l.setContent(S[2], d + 1), S[0].el.style.display = S[2].el.style.display = "block", a.focus && t.focus(), r.bind(document, "keydown", l), j.transform && r.bind(l.scrollWrap, "click", l), a.mouseUsed || r.bind(document, "mousemove", Rt), r.bind(window, "resize scroll", l), Mt("bindEvents") })), l.setContent(S[1], d), l.updateCurrItem(), Mt("afterInit"), vt || (x = setInterval((function () { Yt || q || K || v !== l.currItem.initialZoomLevel || l.updateSize() }), 1e3)), r.addClass(t, "pswp--visible") } }, close: function () { s && (s = !1, c = !0, Mt("close"), r.unbind(window, "resize", l), r.unbind(window, "scroll", g.scroll), r.unbind(document, "keydown", l), r.unbind(document, "mousemove", Rt), j.transform && r.unbind(l.scrollWrap, "click", l), q && r.unbind(window, p, l), Mt("unbindEvents"), Ve(l.currItem, null, !0, l.destroy)) }, destroy: function () { Mt("destroy"), Le && clearTimeout(Le), t.setAttribute("aria-hidden", "true"), t.className = L, x && clearInterval(x), r.unbind(l.scrollWrap, m, l), r.unbind(window, "scroll", l), pe(), Ut(), St = null }, panTo: function (t, e, n) { n || (t > tt.min.x ? t = tt.min.x : t < tt.max.x && (t = tt.max.x), e > tt.min.y ? e = tt.min.y : e < tt.max.y && (e = tt.max.y)), dt.x = t, dt.y = e, At() }, handleEvent: function (t) { t = t || window.event, g[t.type] && g[t.type](t) }, goTo: function (t) { var e = (t = kt(t)) - d; gt = e, d = t, l.currItem = je(d), ft -= e, It(mt.x * ft), Ut(), nt = !1, l.updateCurrItem() }, next: function () { l.goTo(d + 1) }, prev: function () { l.goTo(d - 1) }, updateCurrZoomItem: function (t) { if (t && Mt("beforeChange", 0), S[1].el.children.length) { var e = S[1].el.children[0]; et = r.hasClass(e, "pswp__zoom-wrap") ? e.style : null } else et = null; tt = l.currItem.bounds, y = v = l.currItem.initialZoomLevel, dt.x = tt.center.x, dt.y = tt.center.y, t && Mt("afterChange") }, invalidateCurrItems: function () { k = !0; for (var t = 0; 3 > t; t++)S[t].item && (S[t].item.needsUpdate = !0) }, updateCurrItem: function (t) { if (0 !== gt) { var e, n = Math.abs(gt); if (!(t && 2 > n)) { l.currItem = je(d), wt = !1, Mt("beforeChange", gt), n >= 3 && (f += gt + (gt > 0 ? -3 : 3), n = 3); for (var i = 0; n > i; i++)gt > 0 ? (e = S.shift(), S[2] = e, Pt((++f + 2) * mt.x, e.el.style), l.setContent(e, d - n + i + 1 + 1)) : (e = S.pop(), S.unshift(e), Pt(--f * mt.x, e.el.style), l.setContent(e, d + n - i - 1 - 1)); if (et && 1 === Math.abs(gt)) { var o = je(C); o.initialZoomLevel !== v && (ze(o, ht), Xe(o), Ot(o)) } gt = 0, l.updateCurrZoomItem(), C = d, Mt("afterChange") } } }, updateSize: function (e) { if (!vt && a.modal) { var n = r.getScrollY(); if (R !== n && (t.style.top = n + "px", R = n), !e && bt.x === window.innerWidth && bt.y === window.innerHeight) return; bt.x = window.innerWidth, bt.y = window.innerHeight, t.style.height = bt.y + "px" } if (ht.x = l.scrollWrap.clientWidth, ht.y = l.scrollWrap.clientHeight, zt(), mt.x = ht.x + Math.round(ht.x * a.spacing), mt.y = ht.y, It(mt.x * ft), Mt("beforeResize"), void 0 !== f) { for (var i, o, s, c = 0; 3 > c; c++)i = S[c], Pt((c + f) * mt.x, i.el.style), s = d + c - 1, a.loop && Fe() > 2 && (s = kt(s)), (o = je(s)) && (k || o.needsUpdate || !o.bounds) ? (l.cleanSlide(o), l.setContent(i, s), 1 === c && (l.currItem = o, l.updateCurrZoomItem(!0)), o.needsUpdate = !1) : -1 === i.index && s >= 0 && l.setContent(i, s), o && o.container && (ze(o, ht), Xe(o), Ot(o)); k = !1 } y = v = l.currItem.initialZoomLevel, (tt = l.currItem.bounds) && (dt.x = tt.center.x, dt.y = tt.center.y, At(!0)), Mt("resize") }, zoomTo: function (t, e, n, i, o) { e && (y = v, de.x = Math.abs(e.x) - dt.x, de.y = Math.abs(e.y) - dt.y, Lt(ut, dt)); var l = jt(t, !1), a = {}; Ht("x", l, a, t), Ht("y", l, a, t); var s = v, c = dt.x, u = dt.y; $t(a); var d = function (e) { 1 === e ? (v = t, dt.x = a.x, dt.y = a.y) : (v = (t - s) * e + s, dt.x = (a.x - c) * e + c, dt.y = (a.y - u) * e + u), o && o(e), At(1 === e) }; n ? Gt("customZoomTo", 0, 1, n, i || r.easing.sine.inOut, d) : d(1) } }, Kt = {}, Jt = {}, te = {}, ee = {}, ne = {}, ie = [], oe = {}, re = [], le = {}, ae = 0, se = { x: 0, y: 0 }, ce = 0, ue = { x: 0, y: 0 }, de = { x: 0, y: 0 }, he = { x: 0, y: 0 }, fe = function (t, e) { return le.x = Math.abs(t.x - e.x), le.y = Math.abs(t.y - e.y), Math.sqrt(le.x * le.x + le.y * le.y) }, pe = function () { U && (D(U), U = null) }, me = {}, ge = function (t, e) { return me.prevent = !function t(e, n) { return !(!e || e === document) && (!(e.getAttribute("class") && e.getAttribute("class").indexOf("pswp__scroll-wrap") > -1) && (n(e) ? e : t(e.parentNode, n))) }(t.target, a.isClickableElement), Mt("preventDragEvent", t, e, me), me.prevent }, ve = function (t, e) { return e.x = t.pageX, e.y = t.pageY, e.id = t.identifier, e }, ye = function (t, e, n) { n.x = .5 * (t.x + e.x), n.y = .5 * (t.y + e.y) }, be = function () { var t = dt.y - l.currItem.initialPosition.y; return 1 - Math.abs(t / (ht.y / 2)) }, we = {}, xe = {}, ke = [], Se = function (t) { for (; ke.length > 0;)ke.pop(); return O ? (st = 0, ie.forEach((function (t) { 0 === st ? ke[0] = t : 1 === st && (ke[1] = t), st++ }))) : t.type.indexOf("touch") > -1 ? t.touches && t.touches.length > 0 && (ke[0] = ve(t.touches[0], we), t.touches.length > 1 && (ke[1] = ve(t.touches[1], xe))) : (we.x = t.pageX, we.y = t.pageY, we.id = "", ke[0] = we), ke }, Ce = function (t, e) { var n, i, o, r, s = dt[t] + e[t], c = e[t] > 0, u = ue.x + e.x, d = ue.x - oe.x; return n = s > tt.min[t] || s < tt.max[t] ? a.panEndFriction : 1, s = dt[t] + e[t] * n, !a.allowPanToNext && v !== l.currItem.initialZoomLevel || (et ? "h" !== it || "x" !== t || Z || (c ? (s > tt.min[t] && (n = a.panEndFriction, tt.min[t] - s, i = tt.min[t] - ut[t]), (0 >= i || 0 > d) && Fe() > 1 ? (r = u, 0 > d && u > oe.x && (r = oe.x)) : tt.min.x !== tt.max.x && (o = s)) : (s < tt.max[t] && (n = a.panEndFriction, s - tt.max[t], i = ut[t] - tt.max[t]), (0 >= i || d > 0) && Fe() > 1 ? (r = u, d > 0 && u < oe.x && (r = oe.x)) : tt.min.x !== tt.max.x && (o = s))) : r = u, "x" !== t) ? void (nt || G || v > l.currItem.fitRatio && (dt[t] += e[t] * n)) : (void 0 !== r && (It(r, !0), G = r !== oe.x), tt.min.x !== tt.max.x && (void 0 !== o ? dt.x = o : G || (dt.x += e.x * n)), void 0 !== r) }, Me = function (t) { if (!("mousedown" === t.type && t.button > 0)) { if (Re) return void t.preventDefault(); if (!z || "mousedown" !== t.type) { if (ge(t, !0) && t.preventDefault(), Mt("pointerDown"), O) { var e = r.arraySearch(ie, t.pointerId, "id"); 0 > e && (e = ie.length), ie[e] = { x: t.pageX, y: t.pageY, id: t.pointerId } } var n = Se(t), i = n.length; Q = null, Ut(), q && 1 !== i || (q = ot = !0, r.bind(window, p, l), W = at = rt = B = G = X = Y = Z = !1, it = null, Mt("firstTouchStart", n), Lt(ut, dt), ct.x = ct.y = 0, Lt(ee, n[0]), Lt(ne, ee), oe.x = mt.x * ft, re = [{ x: ee.x, y: ee.y }], V = F = _t(), jt(v, !0), pe(), function t() { q && (U = I(t), Te()) }()), !K && i > 1 && !nt && !G && (y = v, Z = !1, K = Y = !0, ct.y = ct.x = 0, Lt(ut, dt), Lt(Kt, n[0]), Lt(Jt, n[1]), ye(Kt, Jt, he), de.x = Math.abs(he.x) - dt.x, de.y = Math.abs(he.y) - dt.y, J = fe(Kt, Jt)) } } }, _e = function (t) { if (t.preventDefault(), O) { var e = r.arraySearch(ie, t.pointerId, "id"); if (e > -1) { var n = ie[e]; n.x = t.pageX, n.y = t.pageY } } if (q) { var i = Se(t); if (it || X || K) Q = i; else if (ue.x !== mt.x * ft) it = "h"; else { var o = Math.abs(i[0].x - ee.x) - Math.abs(i[0].y - ee.y); Math.abs(o) >= 10 && (it = o > 0 ? "h" : "v", Q = i) } } }, Te = function () { if (Q) { var t = Q.length; if (0 !== t) if (Lt(Kt, Q[0]), te.x = Kt.x - ee.x, te.y = Kt.y - ee.y, K && t > 1) { if (ee.x = Kt.x, ee.y = Kt.y, !te.x && !te.y && function (t, e) { return t.x === e.x && t.y === e.y }(Q[1], Jt)) return; Lt(Jt, Q[1]), Z || (Z = !0, Mt("zoomGestureStarted")); var e = fe(Kt, Jt), n = Ie(e); n > l.currItem.initialZoomLevel + l.currItem.initialZoomLevel / 15 && (at = !0); var i = 1, o = Ft(), r = Vt(); if (o > n) if (a.pinchToClose && !at && y <= l.currItem.initialZoomLevel) { var s = 1 - (o - n) / (o / 1.2); Tt(s), Mt("onPinchClose", s), rt = !0 } else (i = (o - n) / o) > 1 && (i = 1), n = o - i * (o / 3); else n > r && ((i = (n - r) / (6 * o)) > 1 && (i = 1), n = r + i * o); 0 > i && (i = 0), e, ye(Kt, Jt, se), ct.x += se.x - he.x, ct.y += se.y - he.y, Lt(he, se), dt.x = Dt("x", n), dt.y = Dt("y", n), W = n > v, v = n, At() } else { if (!it) return; if (ot && (ot = !1, Math.abs(te.x) >= 10 && (te.x -= Q[0].x - ne.x), Math.abs(te.y) >= 10 && (te.y -= Q[0].y - ne.y)), ee.x = Kt.x, ee.y = Kt.y, 0 === te.x && 0 === te.y) return; if ("v" === it && a.closeOnVerticalDrag && "fit" === a.scaleMode && v === l.currItem.initialZoomLevel) { ct.y += te.y, dt.y += te.y; var c = be(); return B = !0, Mt("onVerticalDrag", c), Tt(c), void At() } (function (t, e, n) { if (t - V > 50) { var i = re.length > 2 ? re.shift() : {}; i.x = e, i.y = n, re.push(i), V = t } })(_t(), Kt.x, Kt.y), X = !0, tt = l.currItem.bounds, Ce("x", te) || (Ce("y", te), $t(dt), At()) } } }, Ee = function (t) { if (j.isOldAndroid) { if (z && "mouseup" === t.type) return; t.type.indexOf("touch") > -1 && (clearTimeout(z), z = setTimeout((function () { z = 0 }), 600)) } var e; if (Mt("pointerUp"), ge(t, !1) && t.preventDefault(), O) { var n = r.arraySearch(ie, t.pointerId, "id"); if (n > -1) if (e = ie.splice(n, 1)[0], navigator.pointerEnabled) e.type = t.pointerType || "mouse"; else { e.type = { 4: "mouse", 2: "touch", 3: "pen" }[t.pointerType], e.type || (e.type = t.pointerType || "mouse") } } var i, o = Se(t), s = o.length; if ("mouseup" === t.type && (s = 0), 2 === s) return Q = null, !0; 1 === s && Lt(ne, o[0]), 0 !== s || it || nt || (e || ("mouseup" === t.type ? e = { x: t.pageX, y: t.pageY, type: "mouse" } : t.changedTouches && t.changedTouches[0] && (e = { x: t.changedTouches[0].pageX, y: t.changedTouches[0].pageY, type: "touch" })), Mt("touchRelease", t, e)); var c = -1; if (0 === s && (q = !1, r.unbind(window, p, l), pe(), K ? c = 0 : -1 !== ce && (c = _t() - ce)), ce = 1 === s ? _t() : -1, i = -1 !== c && 150 > c ? "zoom" : "swipe", K && 2 > s && (K = !1, 1 === s && (i = "zoomPointerUp"), Mt("zoomGestureEnded")), Q = null, X || Z || nt || B) if (Ut(), H || (H = Ae()), H.calculateSwipeSpeed("x"), B) { if (be() < a.verticalDragRange) l.close(); else { var u = dt.y, d = lt; Gt("verticalDrag", 0, 1, 300, r.easing.cubic.out, (function (t) { dt.y = (l.currItem.initialPosition.y - u) * t + u, Tt((1 - d) * t + d), At() })), Mt("onVerticalDrag", 1) } } else { if ((G || nt) && 0 === s) { if (Pe(i, H)) return; i = "zoomPointerUp" } if (!nt) return "swipe" !== i ? void De() : void (!G && v > l.currItem.fitRatio && Oe(H)) } }, Ae = function () { var t, e, n = { lastFlickOffset: {}, lastFlickDist: {}, lastFlickSpeed: {}, slowDownRatio: {}, slowDownRatioReverse: {}, speedDecelerationRatio: {}, speedDecelerationRatioAbs: {}, distanceOffset: {}, backAnimDestination: {}, backAnimStarted: {}, calculateSwipeSpeed: function (i) { re.length > 1 ? (t = _t() - V + 50, e = re[re.length - 2][i]) : (t = _t() - F, e = ne[i]), n.lastFlickOffset[i] = ee[i] - e, n.lastFlickDist[i] = Math.abs(n.lastFlickOffset[i]), n.lastFlickDist[i] > 20 ? n.lastFlickSpeed[i] = n.lastFlickOffset[i] / t : n.lastFlickSpeed[i] = 0, Math.abs(n.lastFlickSpeed[i]) < .1 && (n.lastFlickSpeed[i] = 0), n.slowDownRatio[i] = .95, n.slowDownRatioReverse[i] = 1 - n.slowDownRatio[i], n.speedDecelerationRatio[i] = 1 }, calculateOverBoundsAnimOffset: function (t, e) { n.backAnimStarted[t] || (dt[t] > tt.min[t] ? n.backAnimDestination[t] = tt.min[t] : dt[t] < tt.max[t] && (n.backAnimDestination[t] = tt.max[t]), void 0 !== n.backAnimDestination[t] && (n.slowDownRatio[t] = .7, n.slowDownRatioReverse[t] = 1 - n.slowDownRatio[t], n.speedDecelerationRatioAbs[t] < .05 && (n.lastFlickSpeed[t] = 0, n.backAnimStarted[t] = !0, Gt("bounceZoomPan" + t, dt[t], n.backAnimDestination[t], e || 300, r.easing.sine.out, (function (e) { dt[t] = e, At() }))))) }, calculateAnimOffset: function (t) { n.backAnimStarted[t] || (n.speedDecelerationRatio[t] = n.speedDecelerationRatio[t] * (n.slowDownRatio[t] + n.slowDownRatioReverse[t] - n.slowDownRatioReverse[t] * n.timeDiff / 10), n.speedDecelerationRatioAbs[t] = Math.abs(n.lastFlickSpeed[t] * n.speedDecelerationRatio[t]), n.distanceOffset[t] = n.lastFlickSpeed[t] * n.speedDecelerationRatio[t] * n.timeDiff, dt[t] += n.distanceOffset[t]) }, panAnimLoop: function () { return qt.zoomPan && (qt.zoomPan.raf = I(n.panAnimLoop), n.now = _t(), n.timeDiff = n.now - n.lastNow, n.lastNow = n.now, n.calculateAnimOffset("x"), n.calculateAnimOffset("y"), At(), n.calculateOverBoundsAnimOffset("x"), n.calculateOverBoundsAnimOffset("y"), n.speedDecelerationRatioAbs.x < .05 && n.speedDecelerationRatioAbs.y < .05) ? (dt.x = Math.round(dt.x), dt.y = Math.round(dt.y), At(), void Zt("zoomPan")) : void 0 } }; return n }, Oe = function (t) { return t.calculateSwipeSpeed("y"), tt = l.currItem.bounds, t.backAnimDestination = {}, t.backAnimStarted = {}, Math.abs(t.lastFlickSpeed.x) <= .05 && Math.abs(t.lastFlickSpeed.y) <= .05 ? (t.speedDecelerationRatioAbs.x = t.speedDecelerationRatioAbs.y = 0, t.calculateOverBoundsAnimOffset("x"), t.calculateOverBoundsAnimOffset("y"), !0) : (Xt("zoomPan"), t.lastNow = _t(), void t.panAnimLoop()) }, Pe = function (t, e) { var n, i, o; if (nt || (ae = d), "swipe" === t) { var s = ee.x - ne.x, c = e.lastFlickDist.x < 10; s > 30 && (c || e.lastFlickOffset.x > 20) ? i = -1 : -30 > s && (c || e.lastFlickOffset.x < -20) && (i = 1) } i && (0 > (d += i) ? (d = a.loop ? Fe() - 1 : 0, o = !0) : d >= Fe() && (d = a.loop ? 0 : Fe() - 1, o = !0), (!o || a.loop) && (gt += i, ft -= i, n = !0)); var u, h = mt.x * ft, f = Math.abs(h - ue.x); return n || h > ue.x == e.lastFlickSpeed.x > 0 ? (u = Math.abs(e.lastFlickSpeed.x) > 0 ? f / Math.abs(e.lastFlickSpeed.x) : 333, u = Math.min(u, 400), u = Math.max(u, 250)) : u = 333, ae === d && (n = !1), nt = !0, Mt("mainScrollAnimStart"), Gt("mainScroll", ue.x, h, u, r.easing.cubic.out, It, (function () { Ut(), nt = !1, ae = -1, (n || ae !== d) && l.updateCurrItem(), Mt("mainScrollAnimComplete") })), n && l.updateCurrItem(!0), n }, Ie = function (t) { return 1 / J * t * y }, De = function () { var t = v, e = Ft(), n = Vt(); e > v ? t = e : v > n && (t = n); var i, o = lt; return rt && !W && !at && e > v ? (l.close(), !0) : (rt && (i = function (t) { Tt((1 - o) * t + o) }), l.zoomTo(t, 0, 200, r.easing.cubic.out, i), !0) }; xt("Gestures", { publicMethods: { initGestures: function () { var t = function (t, e, n, i, o) { M = t + e, _ = t + n, T = t + i, E = o ? t + o : "" }; (O = j.pointerEvent) && j.touch && (j.touch = !1), O ? navigator.pointerEnabled ? t("pointer", "down", "move", "up", "cancel") : t("MSPointer", "Down", "Move", "Up", "Cancel") : j.touch ? (t("touch", "start", "move", "end", "cancel"), P = !0) : t("mouse", "down", "move", "up"), p = _ + " " + T + " " + E, m = M, O && !P && (P = navigator.maxTouchPoints > 1 || navigator.msMaxTouchPoints > 1), l.likelyTouchDevice = P, g[M] = Me, g[_] = _e, g[T] = Ee, E && (g[E] = g[T]), j.touch && (m += " mousedown", p += " mousemove mouseup", g.mousedown = g[M], g.mousemove = g[_], g.mouseup = g[T]), P || (a.allowPanToNext = !1) } } }); var Le, $e, Ne, Re, je, Fe, Ve = function (e, n, i, o) { var s; Le && clearTimeout(Le), Re = !0, Ne = !0, e.initialLayout ? (s = e.initialLayout, e.initialLayout = null) : s = a.getThumbBoundsFn && a.getThumbBoundsFn(d); var c = i ? a.hideAnimationDuration : a.showAnimationDuration, h = function () { Zt("initialZoom"), i ? (l.template.removeAttribute("style"), l.bg.removeAttribute("style")) : (Tt(1), n && (n.style.display = "block"), r.addClass(t, "pswp--animated-in"), Mt("initialZoom" + (i ? "OutEnd" : "InEnd"))), o && o(), Re = !1 }; if (!c || !s || void 0 === s.x) return Mt("initialZoom" + (i ? "Out" : "In")), v = e.initialZoomLevel, Lt(dt, e.initialPosition), At(), t.style.opacity = i ? 0 : 1, Tt(1), void (c ? setTimeout((function () { h() }), c) : h()); !function () { var n = u, o = !l.currItem.src || l.currItem.loadError || a.showHideOpacity; e.miniImg && (e.miniImg.style.webkitBackfaceVisibility = "hidden"), i || (v = s.w / e.w, dt.x = s.x, dt.y = s.y - $, l[o ? "template" : "bg"].style.opacity = .001, At()), Xt("initialZoom"), i && !n && r.removeClass(t, "pswp--animated-in"), o && (i ? r[(n ? "remove" : "add") + "Class"](t, "pswp--animate_opacity") : setTimeout((function () { r.addClass(t, "pswp--animate_opacity") }), 30)), Le = setTimeout((function () { if (Mt("initialZoom" + (i ? "Out" : "In")), i) { var l = s.w / e.w, a = { x: dt.x, y: dt.y }, u = v, d = lt, f = function (e) { 1 === e ? (v = l, dt.x = s.x, dt.y = s.y - R) : (v = (l - u) * e + u, dt.x = (s.x - a.x) * e + a.x, dt.y = (s.y - R - a.y) * e + a.y), At(), o ? t.style.opacity = 1 - e : Tt(d - e * d) }; n ? Gt("initialZoom", 0, 1, c, r.easing.cubic.out, f, h) : (f(1), Le = setTimeout(h, c + 20)) } else v = e.initialZoomLevel, Lt(dt, e.initialPosition), At(), Tt(1), o ? t.style.opacity = 1 : Tt(1), Le = setTimeout(h, c + 20) }), i ? 25 : 90) }() }, He = {}, We = [], Be = { index: 0, errorMsg: '<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>', forceProgressiveLoading: !1, preload: [1, 1], getNumItemsFn: function () { return $e.length } }, ze = function (t, e, n) { if (t.src && !t.loadError) { var i = !n; if (i && (t.vGap || (t.vGap = { top: 0, bottom: 0 }), Mt("parseVerticalMargin", t)), He.x = e.x, He.y = e.y - t.vGap.top - t.vGap.bottom, i) { var o = He.x / t.w, r = He.y / t.h; t.fitRatio = r > o ? o : r; var l = a.scaleMode; "orig" === l ? n = 1 : "fit" === l && (n = t.fitRatio), n > 1 && (n = 1), t.initialZoomLevel = n, t.bounds || (t.bounds = { center: { x: 0, y: 0 }, max: { x: 0, y: 0 }, min: { x: 0, y: 0 } }) } if (!n) return; return function (t, e, n) { var i = t.bounds; i.center.x = Math.round((He.x - e) / 2), i.center.y = Math.round((He.y - n) / 2) + t.vGap.top, i.max.x = e > He.x ? Math.round(He.x - e) : i.center.x, i.max.y = n > He.y ? Math.round(He.y - n) + t.vGap.top : i.center.y, i.min.x = e > He.x ? 0 : i.center.x, i.min.y = n > He.y ? t.vGap.top : i.center.y }(t, t.w * n, t.h * n), i && n === t.initialZoomLevel && (t.initialPosition = t.bounds.center), t.bounds } return t.w = t.h = 0, t.initialZoomLevel = t.fitRatio = 1, t.bounds = { center: { x: 0, y: 0 }, max: { x: 0, y: 0 }, min: { x: 0, y: 0 } }, t.initialPosition = t.bounds.center, t.bounds }, qe = function (t, e, n, i, o, r) { e.loadError || i && (e.imageAppended = !0, Xe(e, i, e === l.currItem && wt), n.appendChild(i), r && setTimeout((function () { e && e.loaded && e.placeholder && (e.placeholder.style.display = "none", e.placeholder = null) }), 500)) }, Ye = function (t) { t.loading = !0, t.loaded = !1; var e = t.img = r.createEl("pswp__img", "img"), n = function () { t.loading = !1, t.loaded = !0, t.loadComplete ? t.loadComplete(t) : t.img = null, e.onload = e.onerror = null, e = null }; return e.onload = n, e.onerror = function () { t.loadError = !0, n() }, e.src = t.src, e }, Ze = function (t, e) { return t.src && t.loadError && t.container ? (e && (t.container.innerHTML = ""), t.container.innerHTML = a.errorMsg.replace("%url%", t.src), !0) : void 0 }, Xe = function (t, e, n) { if (t.src) { e || (e = t.container.lastChild); var i = n ? t.w : Math.round(t.w * t.fitRatio), o = n ? t.h : Math.round(t.h * t.fitRatio); t.placeholder && !t.loaded && (t.placeholder.style.width = i + "px", t.placeholder.style.height = o + "px"), e.style.width = i + "px", e.style.height = o + "px" } }, Ue = function () { if (We.length) { for (var t, e = 0; e < We.length; e++)(t = We[e]).holder.index === t.index && qe(t.index, t.item, t.baseDiv, t.img, 0, t.clearPlaceholder); We = [] } }; xt("Controller", { publicMethods: { lazyLoadItem: function (t) { t = kt(t); var e = je(t); e && (!e.loaded && !e.loading || k) && (Mt("gettingData", t, e), e.src && Ye(e)) }, initController: function () { r.extend(a, Be, !0), l.items = $e = i, je = l.getItemAt, Fe = a.getNumItemsFn, a.loop, Fe() < 3 && (a.loop = !1), Ct("beforeChange", (function (t) { var e, n = a.preload, i = null === t || t >= 0, o = Math.min(n[0], Fe()), r = Math.min(n[1], Fe()); for (e = 1; (i ? r : o) >= e; e++)l.lazyLoadItem(d + e); for (e = 1; (i ? o : r) >= e; e++)l.lazyLoadItem(d - e) })), Ct("initialLayout", (function () { l.currItem.initialLayout = a.getThumbBoundsFn && a.getThumbBoundsFn(d) })), Ct("mainScrollAnimComplete", Ue), Ct("initialZoomInEnd", Ue), Ct("destroy", (function () { for (var t, e = 0; e < $e.length; e++)(t = $e[e]).container && (t.container = null), t.placeholder && (t.placeholder = null), t.img && (t.img = null), t.preloader && (t.preloader = null), t.loadError && (t.loaded = t.loadError = !1); We = null })) }, getItemAt: function (t) { return t >= 0 && void 0 !== $e[t] && $e[t] }, allowProgressiveImg: function () { return a.forceProgressiveLoading || !P || a.mouseUsed || screen.width > 1200 }, setContent: function (t, e) { a.loop && (e = kt(e)); var n = l.getItemAt(t.index); n && (n.container = null); var i, o = l.getItemAt(e); if (o) { Mt("gettingData", e, o), t.index = e, t.item = o; var c = o.container = r.createEl("pswp__zoom-wrap"); if (!o.src && o.html && (o.html.tagName ? c.appendChild(o.html) : c.innerHTML = o.html), Ze(o), ze(o, ht), !o.src || o.loadError || o.loaded) o.src && !o.loadError && ((i = r.createEl("pswp__img", "img")).style.opacity = 1, i.src = o.src, Xe(o, i), qe(0, o, c, i)); else { if (o.loadComplete = function (n) { if (s) { if (t && t.index === e) { if (Ze(n, !0)) return n.loadComplete = n.img = null, ze(n, ht), Ot(n), void (t.index === d && l.updateCurrZoomItem()); n.imageAppended ? !Re && n.placeholder && (n.placeholder.style.display = "none", n.placeholder = null) : j.transform && (nt || Re) ? We.push({ item: n, baseDiv: c, img: n.img, index: e, holder: t, clearPlaceholder: !0 }) : qe(0, n, c, n.img, 0, !0) } n.loadComplete = null, n.img = null, Mt("imageLoadComplete", e, n) } }, r.features.transform) { var u = "pswp__img pswp__img--placeholder"; u += o.msrc ? "" : " pswp__img--placeholder--blank"; var h = r.createEl(u, o.msrc ? "img" : ""); o.msrc && (h.src = o.msrc), Xe(o, h), c.appendChild(h), o.placeholder = h } o.loading || Ye(o), l.allowProgressiveImg() && (!Ne && j.transform ? We.push({ item: o, baseDiv: c, img: o.img, index: e, holder: t }) : qe(0, o, c, o.img, 0, !0)) } Ne || e !== d ? Ot(o) : (et = c.style, Ve(o, i || o.img)), t.el.innerHTML = "", t.el.appendChild(c) } else t.el.innerHTML = "" }, cleanSlide: function (t) { t.img && (t.img.onload = t.img.onerror = null), t.loaded = t.loading = t.img = t.imageAppended = !1 } } }); var Ge, Qe, Ke = {}, Je = function (t, e, n) { var i = document.createEvent("CustomEvent"), o = { origEvent: t, target: t.target, releasePoint: e, pointerType: n || "touch" }; i.initCustomEvent("pswpTap", !0, !0, o), t.target.dispatchEvent(i) }; xt("Tap", { publicMethods: { initTap: function () { Ct("firstTouchStart", l.onTapStart), Ct("touchRelease", l.onTapRelease), Ct("destroy", (function () { Ke = {}, Ge = null })) }, onTapStart: function (t) { t.length > 1 && (clearTimeout(Ge), Ge = null) }, onTapRelease: function (t, e) { if (e && !X && !Y && !Yt) { var n = e; if (Ge && (clearTimeout(Ge), Ge = null, function (t, e) { return Math.abs(t.x - e.x) < 25 && Math.abs(t.y - e.y) < 25 }(n, Ke))) return void Mt("doubleTap", n); if ("mouse" === e.type) return void Je(t, e, "mouse"); if ("BUTTON" === t.target.tagName.toUpperCase() || r.hasClass(t.target, "pswp__single-tap")) return void Je(t, e); Lt(Ke, n), Ge = setTimeout((function () { Je(t, e), Ge = null }), 300) } } } }), xt("DesktopZoom", { publicMethods: { initDesktopZoom: function () { N || (P ? Ct("mouseUsed", (function () { l.setupDesktopZoom() })) : l.setupDesktopZoom(!0)) }, setupDesktopZoom: function (e) { Qe = {}; var n = "wheel mousewheel DOMMouseScroll"; Ct("bindEvents", (function () { r.bind(t, n, l.handleMouseWheel) })), Ct("unbindEvents", (function () { Qe && r.unbind(t, n, l.handleMouseWheel) })), l.mouseZoomedIn = !1; var i, o = function () { l.mouseZoomedIn && (r.removeClass(t, "pswp--zoomed-in"), l.mouseZoomedIn = !1), 1 > v ? r.addClass(t, "pswp--zoom-allowed") : r.removeClass(t, "pswp--zoom-allowed"), a() }, a = function () { i && (r.removeClass(t, "pswp--dragging"), i = !1) }; Ct("resize", o), Ct("afterChange", o), Ct("pointerDown", (function () { l.mouseZoomedIn && (i = !0, r.addClass(t, "pswp--dragging")) })), Ct("pointerUp", a), e || o() }, handleMouseWheel: function (t) { if (v <= l.currItem.fitRatio) return a.modal && (!a.closeOnScroll || Yt || q ? t.preventDefault() : A && Math.abs(t.deltaY) > 2 && (u = !0, l.close())), !0; if (t.stopPropagation(), Qe.x = 0, "deltaX" in t) 1 === t.deltaMode ? (Qe.x = 18 * t.deltaX, Qe.y = 18 * t.deltaY) : (Qe.x = t.deltaX, Qe.y = t.deltaY); else if ("wheelDelta" in t) t.wheelDeltaX && (Qe.x = -.16 * t.wheelDeltaX), t.wheelDeltaY ? Qe.y = -.16 * t.wheelDeltaY : Qe.y = -.16 * t.wheelDelta; else { if (!("detail" in t)) return; Qe.y = t.detail } jt(v, !0); var e = dt.x - Qe.x, n = dt.y - Qe.y; (a.modal || e <= tt.min.x && e >= tt.max.x && n <= tt.min.y && n >= tt.max.y) && t.preventDefault(), l.panTo(e, n) }, toggleDesktopZoom: function (e) { e = e || { x: ht.x / 2 + pt.x, y: ht.y / 2 + pt.y }; var n = a.getDoubleTapZoom(!0, l.currItem), i = v === n; l.mouseZoomedIn = !i, l.zoomTo(i ? l.currItem.initialZoomLevel : n, e, 333), r[(i ? "remove" : "add") + "Class"](t, "pswp--zoomed-in") } } }); var tn, en, nn, on, rn, ln, an, sn, cn, un, dn, hn, fn = { history: !0, galleryUID: 1 }, pn = function () { return dn.hash.substring(1) }, mn = function () { tn && clearTimeout(tn), nn && clearTimeout(nn) }, gn = function () { var t = pn(), e = {}; if (t.length < 5) return e; var n, i = t.split("&"); for (n = 0; n < i.length; n++)if (i[n]) { var o = i[n].split("="); o.length < 2 || (e[o[0]] = o[1]) } if (a.galleryPIDs) { var r = e.pid; for (e.pid = 0, n = 0; n < $e.length; n++)if ($e[n].pid === r) { e.pid = n; break } } else e.pid = parseInt(e.pid, 10) - 1; return e.pid < 0 && (e.pid = 0), e }, vn = function t() { if (nn && clearTimeout(nn), Yt || q) nn = setTimeout(t, 500); else { on ? clearTimeout(en) : on = !0; var e = d + 1, n = je(d); n.hasOwnProperty("pid") && (e = n.pid); var i = an + "&gid=" + a.galleryUID + "&pid=" + e; sn || -1 === dn.hash.indexOf(i) && (un = !0); var o = dn.href.split("#")[0] + "#" + i; hn ? "#" + i !== window.location.hash && history[sn ? "replaceState" : "pushState"]("", document.title, o) : sn ? dn.replace(o) : dn.hash = i, sn = !0, en = setTimeout((function () { on = !1 }), 60) } }; xt("History", { publicMethods: { initHistory: function () { if (r.extend(a, fn, !0), a.history) { dn = window.location, un = !1, cn = !1, sn = !1, an = pn(), hn = "pushState" in history, an.indexOf("gid=") > -1 && (an = (an = an.split("&gid=")[0]).split("?gid=")[0]), Ct("afterChange", l.updateURL), Ct("unbindEvents", (function () { r.unbind(window, "hashchange", l.onHashChange) })); var t = function () { ln = !0, cn || (un ? history.back() : an ? dn.hash = an : hn ? history.pushState("", document.title, dn.pathname + dn.search) : dn.hash = ""), mn() }; Ct("unbindEvents", (function () { u && t() })), Ct("destroy", (function () { ln || t() })), Ct("firstUpdate", (function () { d = gn().pid })); var e = an.indexOf("pid="); e > -1 && ("&" === (an = an.substring(0, e)).slice(-1) && (an = an.slice(0, -1))), setTimeout((function () { s && r.bind(window, "hashchange", l.onHashChange) }), 40) } }, onHashChange: function () { return pn() === an ? (cn = !0, void l.close()) : void (on || (rn = !0, l.goTo(gn().pid), rn = !1)) }, updateURL: function () { mn(), rn || (sn ? tn = setTimeout(vn, 800) : vn()) } } }), r.extend(l, Qt) } })), function (i, o) { "function" == typeof define && n(24) ? define(o) : "object" == ("undefined" == typeof exports ? "undefined" : e(exports)) ? t.exports = o() : window.PhotoSwipeUI_Default = o() }(0, (function () { return function (t, e) { var n, i, o, r, l, a, s, c, u, d, h, f, p, m, g, v, y, b, w = this, x = !1, k = !0, S = !0, C = { barsSize: { top: 44, bottom: "auto" }, closeElClasses: ["item", "caption", "zoom-wrap", "ui", "top-bar"], timeToIdle: 4e3, timeToIdleOutside: 1e3, loadingIndicatorDelay: 1e3, addCaptionHTMLFn: function (t, e) { return t.title ? (e.children[0].innerHTML = t.title, !0) : (e.children[0].innerHTML = "", !1) }, closeEl: !0, captionEl: !0, fullscreenEl: !0, zoomEl: !0, shareEl: !0, counterEl: !0, arrowEl: !0, preloaderEl: !0, tapToClose: !1, tapToToggleControls: !0, clickToCloseNonZoomable: !0, shareButtons: [{ id: "facebook", label: "Share on Facebook", url: "https://www.facebook.com/sharer/sharer.php?u={{url}}" }, { id: "twitter", label: "Tweet", url: "https://twitter.com/intent/tweet?text={{text}}&url={{url}}" }, { id: "pinterest", label: "Pin it", url: "http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}" }, { id: "download", label: "Download image", url: "{{raw_image_url}}", download: !0 }], getImageURLForShare: function () { return t.currItem.src || "" }, getPageURLForShare: function () { return window.location.href }, getTextForShare: function () { return t.currItem.title || "" }, indexIndicatorSep: " / ", fitControlsWidth: 1200 }, M = function (t) { if (v) return !0; t = t || window.event, g.timeToIdle && g.mouseUsed && !u && L(); for (var n, i, o = (t.target || t.srcElement).getAttribute("class") || "", r = 0; r < j.length; r++)(n = j[r]).onTap && o.indexOf("pswp__" + n.name) > -1 && (n.onTap(), i = !0); if (i) { t.stopPropagation && t.stopPropagation(), v = !0; var l = e.features.isOldAndroid ? 600 : 30; setTimeout((function () { v = !1 }), l) } }, _ = function (t, n, i) { e[(i ? "add" : "remove") + "Class"](t, "pswp__" + n) }, T = function () { var t = 1 === g.getNumItemsFn(); t !== m && (_(i, "ui--one-slide", t), m = t) }, E = function () { _(s, "share-modal--hidden", S) }, A = function () { return (S = !S) ? (e.removeClass(s, "pswp__share-modal--fade-in"), setTimeout((function () { S && E() }), 300)) : (E(), setTimeout((function () { S || e.addClass(s, "pswp__share-modal--fade-in") }), 30)), S || P(), !1 }, O = function (e) { var n = (e = e || window.event).target || e.srcElement; return t.shout("shareLinkClick", e, n), !!n.href && (!!n.hasAttribute("download") || (window.open(n.href, "pswp_share", "scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left=" + (window.screen ? Math.round(screen.width / 2 - 275) : 100)), S || A(), !1)) }, P = function () { for (var t, e, n, i, o = "", r = 0; r < g.shareButtons.length; r++)t = g.shareButtons[r], e = g.getImageURLForShare(t), n = g.getPageURLForShare(t), i = g.getTextForShare(t), o += '<a href="' + t.url.replace("{{url}}", encodeURIComponent(n)).replace("{{image_url}}", encodeURIComponent(e)).replace("{{raw_image_url}}", e).replace("{{text}}", encodeURIComponent(i)) + '" target="_blank" class="pswp__share--' + t.id + '"' + (t.download ? "download" : "") + ">" + t.label + "</a>", g.parseShareButtonOut && (o = g.parseShareButtonOut(t, o)); s.children[0].innerHTML = o, s.children[0].onclick = O }, I = function (t) { for (var n = 0; n < g.closeElClasses.length; n++)if (e.hasClass(t, "pswp__" + g.closeElClasses[n])) return !0 }, D = 0, L = function () { clearTimeout(b), D = 0, u && w.setIdle(!1) }, $ = function (t) { var e = (t = t || window.event).relatedTarget || t.toElement; e && "HTML" !== e.nodeName || (clearTimeout(b), b = setTimeout((function () { w.setIdle(!0) }), g.timeToIdleOutside)) }, N = function (t) { f !== t && (_(h, "preloader--active", !t), f = t) }, R = function (n) { var l = n.vGap; if (!t.likelyTouchDevice || g.mouseUsed || screen.width > g.fitControlsWidth) { var a = g.barsSize; if (g.captionEl && "auto" === a.bottom) if (r || ((r = e.createEl("pswp__caption pswp__caption--fake")).appendChild(e.createEl("pswp__caption__center")), i.insertBefore(r, o), e.addClass(i, "pswp__ui--fit")), g.addCaptionHTMLFn(n, r, !0)) { var s = r.clientHeight; l.bottom = parseInt(s, 10) || 44 } else l.bottom = a.top; else l.bottom = "auto" === a.bottom ? 0 : a.bottom; l.top = a.top } else l.top = l.bottom = 0 }, j = [{ name: "caption", option: "captionEl", onInit: function (t) { o = t } }, { name: "share-modal", option: "shareEl", onInit: function (t) { s = t }, onTap: function () { A() } }, { name: "button--share", option: "shareEl", onInit: function (t) { a = t }, onTap: function () { A() } }, { name: "button--zoom", option: "zoomEl", onTap: t.toggleDesktopZoom }, { name: "counter", option: "counterEl", onInit: function (t) { l = t } }, { name: "button--close", option: "closeEl", onTap: t.close }, { name: "button--arrow--left", option: "arrowEl", onTap: t.prev }, { name: "button--arrow--right", option: "arrowEl", onTap: t.next }, { name: "button--fs", option: "fullscreenEl", onTap: function () { n.isFullscreen() ? n.exit() : n.enter() } }, { name: "preloader", option: "preloaderEl", onInit: function (t) { h = t } }]; w.init = function () { e.extend(t.options, C, !0), g = t.options, i = e.getChildByClass(t.scrollWrap, "pswp__ui"), d = t.listen, function () { var t; d("onVerticalDrag", (function (t) { k && .95 > t ? w.hideControls() : !k && t >= .95 && w.showControls() })), d("onPinchClose", (function (e) { k && .9 > e ? (w.hideControls(), t = !0) : t && !k && e > .9 && w.showControls() })), d("zoomGestureEnded", (function () { (t = !1) && !k && w.showControls() })) }(), d("beforeChange", w.update), d("doubleTap", (function (e) { var n = t.currItem.initialZoomLevel; t.getZoomLevel() !== n ? t.zoomTo(n, e, 333) : t.zoomTo(g.getDoubleTapZoom(!1, t.currItem), e, 333) })), d("preventDragEvent", (function (t, e, n) { var i = t.target || t.srcElement; i && i.getAttribute("class") && t.type.indexOf("mouse") > -1 && (i.getAttribute("class").indexOf("__caption") > 0 || /(SMALL|STRONG|EM)/i.test(i.tagName)) && (n.prevent = !1) })), d("bindEvents", (function () { e.bind(i, "pswpTap click", M), e.bind(t.scrollWrap, "pswpTap", w.onGlobalTap), t.likelyTouchDevice || e.bind(t.scrollWrap, "mouseover", w.onMouseOver) })), d("unbindEvents", (function () { S || A(), y && clearInterval(y), e.unbind(document, "mouseout", $), e.unbind(document, "mousemove", L), e.unbind(i, "pswpTap click", M), e.unbind(t.scrollWrap, "pswpTap", w.onGlobalTap), e.unbind(t.scrollWrap, "mouseover", w.onMouseOver), n && (e.unbind(document, n.eventK, w.updateFullscreen), n.isFullscreen() && (g.hideAnimationDuration = 0, n.exit()), n = null) })), d("destroy", (function () { g.captionEl && (r && i.removeChild(r), e.removeClass(o, "pswp__caption--empty")), s && (s.children[0].onclick = null), e.removeClass(i, "pswp__ui--over-close"), e.addClass(i, "pswp__ui--hidden"), w.setIdle(!1) })), g.showAnimationDuration || e.removeClass(i, "pswp__ui--hidden"), d("initialZoomIn", (function () { g.showAnimationDuration && e.removeClass(i, "pswp__ui--hidden") })), d("initialZoomOut", (function () { e.addClass(i, "pswp__ui--hidden") })), d("parseVerticalMargin", R), function () { var t, n, o, r = function (i) { if (i) for (var r = i.length, l = 0; r > l; l++) { t = i[l], n = t.className; for (var a = 0; a < j.length; a++)o = j[a], n.indexOf("pswp__" + o.name) > -1 && (g[o.option] ? (e.removeClass(t, "pswp__element--disabled"), o.onInit && o.onInit(t)) : e.addClass(t, "pswp__element--disabled")) } }; r(i.children); var l = e.getChildByClass(i, "pswp__top-bar"); l && r(l.children) }(), g.shareEl && a && s && (S = !0), T(), g.timeToIdle && d("mouseUsed", (function () { e.bind(document, "mousemove", L), e.bind(document, "mouseout", $), y = setInterval((function () { 2 == ++D && w.setIdle(!0) }), g.timeToIdle / 2) })), g.fullscreenEl && !e.features.isOldAndroid && (n || (n = w.getFullscreenAPI()), n ? (e.bind(document, n.eventK, w.updateFullscreen), w.updateFullscreen(), e.addClass(t.template, "pswp--supports-fs")) : e.removeClass(t.template, "pswp--supports-fs")), g.preloaderEl && (N(!0), d("beforeChange", (function () { clearTimeout(p), p = setTimeout((function () { t.currItem && t.currItem.loading ? (!t.allowProgressiveImg() || t.currItem.img && !t.currItem.img.naturalWidth) && N(!1) : N(!0) }), g.loadingIndicatorDelay) })), d("imageLoadComplete", (function (e, n) { t.currItem === n && N(!0) }))) }, w.setIdle = function (t) { u = t, _(i, "ui--idle", t) }, w.update = function () { k && t.currItem ? (w.updateIndexIndicator(), g.captionEl && (g.addCaptionHTMLFn(t.currItem, o), _(o, "caption--empty", !t.currItem.title)), x = !0) : x = !1, S || A(), T() }, w.updateFullscreen = function (i) { i && setTimeout((function () { t.setScrollOffset(0, e.getScrollY()) }), 50), e[(n.isFullscreen() ? "add" : "remove") + "Class"](t.template, "pswp--fs") }, w.updateIndexIndicator = function () { g.counterEl && (l.innerHTML = t.getCurrentIndex() + 1 + g.indexIndicatorSep + g.getNumItemsFn()) }, w.onGlobalTap = function (n) { var i = (n = n || window.event).target || n.srcElement; if (!v) if (n.detail && "mouse" === n.detail.pointerType) { if (I(i)) return void t.close(); e.hasClass(i, "pswp__img") && (1 === t.getZoomLevel() && t.getZoomLevel() <= t.currItem.fitRatio ? g.clickToCloseNonZoomable && t.close() : t.toggleDesktopZoom(n.detail.releasePoint)) } else if (g.tapToToggleControls && (k ? w.hideControls() : w.showControls()), g.tapToClose && (e.hasClass(i, "pswp__img") || I(i))) return void t.close() }, w.onMouseOver = function (t) { var e = (t = t || window.event).target || t.srcElement; _(i, "ui--over-close", I(e)) }, w.hideControls = function () { e.addClass(i, "pswp__ui--hidden"), k = !1 }, w.showControls = function () { k = !0, x || w.update(), e.removeClass(i, "pswp__ui--hidden") }, w.supportsFullscreen = function () { var t = document; return !!(t.exitFullscreen || t.mozCancelFullScreen || t.webkitExitFullscreen || t.msExitFullscreen) }, w.getFullscreenAPI = function () { var e, n = document.documentElement, i = "fullscreenchange"; return n.requestFullscreen ? e = { enterK: "requestFullscreen", exitK: "exitFullscreen", elementK: "fullscreenElement", eventK: i } : n.mozRequestFullScreen ? e = { enterK: "mozRequestFullScreen", exitK: "mozCancelFullScreen", elementK: "mozFullScreenElement", eventK: "moz" + i } : n.webkitRequestFullscreen ? e = { enterK: "webkitRequestFullscreen", exitK: "webkitExitFullscreen", elementK: "webkitFullscreenElement", eventK: "webkit" + i } : n.msRequestFullscreen && (e = { enterK: "msRequestFullscreen", exitK: "msExitFullscreen", elementK: "msFullscreenElement", eventK: "MSFullscreenChange" }), e && (e.enter = function () { return c = g.closeOnScroll, g.closeOnScroll = !1, "webkitRequestFullscreen" !== this.enterK ? t.template[this.enterK]() : void t.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT) }, e.exit = function () { return g.closeOnScroll = c, document[this.exitK]() }, e.isFullscreen = function () { return document[this.elementK] }), e } } })); !function (t) { for (var e = function (t) { (t = t || window.event).preventDefault ? t.preventDefault() : t.returnValue = !1; var e = function t(e, n) { return e && (n(e) ? e : t(e.parentNode, n)) }(t.target || t.srcElement, (function (t) { return t.tagName && "FIGURE" === t.tagName.toUpperCase() })); if (e) { for (var i, o = e.parentNode, r = e.parentNode.childNodes, l = r.length, a = 0, s = 0; s < l; s++)if (1 === r[s].nodeType) { if (r[s] === e) { i = a; break } a++ } return i >= 0 && n(i, o), !1 } }, n = function (t, e, n, i) { var o, r, l = document.querySelectorAll(".pswp")[0]; if (r = function (t) { for (var e, n, i, o, r = t.childNodes, l = r.length, a = [], s = 0; s < l; s++)1 === (e = r[s]).nodeType && (i = (n = e.children[0]).getAttribute("data-size").split("x"), o = { src: n.getAttribute("href"), w: parseInt(i[0], 10), h: parseInt(i[1], 10) }, e.children.length > 1 && (o.title = e.children[1].innerHTML), n.children.length > 0 && (o.msrc = n.children[0].getAttribute("src")), o.el = e, a.push(o)); return a }(e), o = { galleryUID: e.getAttribute("data-pswp-uid"), getThumbBoundsFn: function (t) { var e = r[t].el.getElementsByTagName("img")[0], n = window.pageYOffset || document.documentElement.scrollTop, i = e.getBoundingClientRect(); return { x: i.left, y: i.top + n, w: i.width } } }, i) if (o.galleryPIDs) { for (var a = 0; a < r.length; a++)if (r[a].pid == t) { o.index = a; break } } else o.index = parseInt(t, 10) - 1; else o.index = parseInt(t, 10); isNaN(o.index) || (n && (o.showAnimationDuration = 0), new PhotoSwipe(l, PhotoSwipeUI_Default, r, o).init()) }, i = document.querySelectorAll(t), o = 0, r = i.length; o < r; o++)i[o].setAttribute("data-pswp-uid", o + 1), i[o].onclick = e; var l = function () { var t = window.location.hash.substring(1), e = {}; if (t.length < 5) return e; for (var n = t.split("&"), i = 0; i < n.length; i++)if (n[i]) { var o = n[i].split("="); o.length < 2 || (e[o[0]] = o[1]) } return e.gid && (e.gid = parseInt(e.gid, 10)), e }(); l.pid && l.gid && n(l.pid, i[l.gid - 1], !0, !0) }(".mdb-lightbox")
}).call(this, n(27)(t))
}, function (t, e, n) {
"use strict"; n(10), n(16), n(17), n(6), n(8), n(23), n(28), n(13), n(7), n(44), n(14), n(18), n(35), n(30), n(19); function i(t) { return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*!
* ClockPicker v0.0.7 (http://weareoutman.github.io/clockpicker/)
* Copyright 2014 Wang Shenwei.
* Licensed under MIT (https://github.com/weareoutman/clockpicker/blob/gh-pages/LICENSE)
*
* Further modified
* Copyright 2015 Ching Yaw Hao.
*/!function () { var t, e, n, o = window.jQuery, r = o(window), l = o(document), a = "http://www.w3.org/2000/svg", s = "SVGAngle" in window && ((e = document.createElement("div")).innerHTML = "<svg/>", t = (e.firstChild && e.firstChild.namespaceURI) == a, e.innerHTML = "", t), c = "transition" in (n = document.createElement("div").style) || "WebkitTransition" in n || "MozTransition" in n || "msTransition" in n || "OTransition" in n, u = "ontouchstart" in window, d = "mousedown" + (u ? " touchstart" : ""), h = "mousemove.clockpicker" + (u ? " touchmove.clockpicker" : ""), f = "mouseup.clockpicker" + (u ? " touchend.clockpicker" : ""), p = navigator.vibrate ? "vibrate" : navigator.webkitVibrate ? "webkitVibrate" : null; function m(t) { return document.createElementNS(a, t) } function g(t, e, n) { var i; return function () { var o = this, r = arguments, l = function () { i = null, n || t.apply(o, r) }, a = n && !i; clearTimeout(i), i = setTimeout(l, e), a && t.apply(o, r) } } function v(t) { return (t < 10 ? "0" : "") + t } var y = 0; var b = 135, w = 110, x = 80, k = 20, S = 2 * b, C = c ? 350 : 1, M = ['<div class="clockpicker picker">', '<div class="picker__holder">', '<div class="picker__frame">', '<div class="picker__wrap">', '<div class="picker__box">', '<div class="picker__date-display">', '<div class="clockpicker-display">', '<div class="clockpicker-display-column">', '<span class="clockpicker-span-hours text-primary"></span>', ":", '<span class="clockpicker-span-minutes"></span>', "</div>", '<div class="clockpicker-display-column clockpicker-display-am-pm">', '<div class="clockpicker-span-am-pm"></div>', "</div>", "</div>", "</div>", '<div class="picker__calendar-container">', '<div class="clockpicker-plate">', '<div class="clockpicker-canvas"></div>', '<div class="clockpicker-dial clockpicker-hours"></div>', '<div class="clockpicker-dial clockpicker-minutes clockpicker-dial-out"></div>', "</div>", '<div class="clockpicker-am-pm-block">', "</div>", "</div>", '<div class="picker__footer">', "</div>", "</div>", "</div>", "</div>", "</div>", "</div>"].join(""); function _(t, e) { var n, i, r = this, a = o(M), c = a.find(".clockpicker-plate"), u = a.find(".picker__holder"), p = a.find(".clockpicker-hours"), _ = a.find(".clockpicker-minutes"), E = a.find(".clockpicker-am-pm-block"), A = "INPUT" === t.prop("tagName"), O = A ? t : t.find("input"), P = (O.prop("type"), o("label[for=" + O.attr("id") + "]")), I = this; this.id = (i = ++y + "", (n = "cp") ? n + i : i), this.element = t, this.holder = u, this.options = e, this.isAppended = !1, this.isShown = !1, this.currentView = "hours", this.isInput = A, this.input = O, this.label = P, this.popover = a, this.plate = c, this.hoursView = p, this.minutesView = _, this.amPmBlock = E, this.spanHours = a.find(".clockpicker-span-hours"), this.spanMinutes = a.find(".clockpicker-span-minutes"), this.spanAmPm = a.find(".clockpicker-span-am-pm"), this.footer = a.find(".picker__footer"), this.amOrPm = "", this.isTwelvehour = e.twelvehour, this.minTime = 0, this.maxTime = 0, this.minMinutes = 0, this.maxMinutes = 59, this.minHours = 0, this.maxHours = 23, this.isInvalidTimeScope = !1; var D = function (t) { var n = t + "Time"; if (r[n] = e[t].split(":"), 4 === r[n][1].length) { var i = r[n][1].replace(/\d+/g, "").toUpperCase(); r[n][1] = r[n][1].replace(/\D+/g, ""), "PM" === i && (r[n][0] = parseInt(r[n][0]) + 12) } if (2 !== r[n].length) r[n] = null; else for (var o = 0; o < r[n].length; o++)r[n][o] = +r[n][o] }; if (e.min && (D("min"), this.minMinutes = this.minTime[1], this.minHours = this.minTime[0]), e.max && (D("max"), this.minHours > this.maxHours || this.minHours === this.maxHours && this.minMinutes >= this.maxMinutes ? this.maxTime = 0 : (this.maxMinutes = this.maxTime[1], this.maxHours = this.maxTime[0])), e.twelvehour) { var L = ['<div class="clockpicker-am-pm-block">', '<button type="button" class="btn-floating btn-flat clockpicker-button clockpicker-am-button">', "AM", "</button>", '<button type="button" class="btn-floating btn-flat clockpicker-button clockpicker-pm-button">', "PM", "</button>", "</div>"].join(""), $ = (o(L), function (t) { var e = "pm"; "PM" === t && (e = "am"), I.amOrPm = t, I.amPmBlock.children(".".concat(e, "-button")).removeClass("active"), I.amPmBlock.children(".".concat(t.toLowerCase(), "-button")).addClass("active"), I.spanAmPm.empty().append(t), r.disableOutOfRangeElements() }); e.ampmclickable ? (this.spanAmPm.empty(), o('<div id="click-am">AM</div>').on("click", (function () { I.spanAmPm.children("#click-am").addClass("text-primary"), I.spanAmPm.children("#click-pm").removeClass("text-primary"), I.amOrPm = "AM" })).appendTo(this.spanAmPm), o('<div id="click-pm">PM</div>').on("click", (function () { I.spanAmPm.children("#click-pm").addClass("text-primary"), I.spanAmPm.children("#click-am").removeClass("text-primary"), I.amOrPm = "PM" })).appendTo(this.spanAmPm)) : (o('<button type="button" class="btn-floating btn-flat clockpicker-button am-button" tabindex="1">AM</button>').on("click", (function () { $("AM") })).appendTo(this.amPmBlock), o('<button type="button" class="btn-floating btn-flat clockpicker-button pm-button" tabindex="2">PM</button>').on("click", (function () { $("PM") })).appendTo(this.amPmBlock)) } e.darktheme && a.addClass("darktheme"), o('<button type="button" class="btn btn-flat clockpicker-button done-button" tabindex="' + (e.twelvehour ? "3" : "1") + '">' + e.donetext + "</button>").click(o.proxy(this.done, this)).appendTo(this.footer), o('<button type="button" class="btn btn-flat clockpicker-button clear-button" tabindex="' + (e.twelvehour ? "4" : "2") + '">' + e.cleartext + "</button>").click(o.proxy(this.clearInput, this)).appendTo(this.footer), this.spanHours.click(o.proxy(this.toggleView, this, "hours")), this.spanMinutes.click(o.proxy(this.toggleView, this, "minutes")), O.on("click.clockpicker", g(o.proxy(this.show, this), 100)); var N, R, j, F, V = o('<div class="clockpicker-tick"></div>'); if (e.twelvehour) for (N = 0; N < 12; N += e.hourstep)R = V.clone(), j = N / 6 * Math.PI, F = w, R.css("font-size", "140%"), R.css({ left: b + Math.sin(j) * F - k, top: b - Math.cos(j) * F - k }), R.html(0 === N ? 12 : N), p.append(R), R.on(d, B), this.disableOutOfRangeElements(); else for (N = 0; N < 24; N += e.hourstep) { R = V.clone(), j = N / 6 * Math.PI; var H = N > 0 && N < 13; F = H ? x : w, R.css({ left: b + Math.sin(j) * F - k, top: b - Math.cos(j) * F - k }), H && R.css("font-size", "120%"), R.html(0 === N ? "00" : N), p.append(R), R.on(d, B), this.disableOutOfRangeElements() } var W = Math.max(e.minutestep, 5); for (N = 0; N < 60; N += W)for (N = 0; N < 60; N += 5)R = V.clone(), j = N / 30 * Math.PI, R.css({ left: b + Math.sin(j) * w - k, top: b - Math.cos(j) * w - k }), R.css("font-size", "140%"), R.html(v(N)), _.append(R), R.on(d, B); function B(t, n) { var i = c.offset(), o = /^touch/.test(t.type), r = i.left + b, a = i.top + b, u = (o ? t.originalEvent.touches[0] : t).pageX - r, d = (o ? t.originalEvent.touches[0] : t).pageY - a, p = Math.sqrt(u * u + d * d), m = !1; if (!n || !(p < w - k || p > w + k)) { t.preventDefault(); var g = setTimeout((function () { I.popover.addClass("clockpicker-moving") }), 200); s && c.append(I.canvas), I.setHand(u, d, !n, !0), l.off(h).on(h, (function (t) { t.preventDefault(); var e = /^touch/.test(t.type), n = (e ? t.originalEvent.touches[0] : t).pageX - r, i = (e ? t.originalEvent.touches[0] : t).pageY - a; (m || n !== u || i !== d) && (m = !0, I.setHand(n, i, !1, !0)) })), l.off(f).on(f, (function (t) { l.off(f), t.preventDefault(); var i = /^touch/.test(t.type), o = (i ? t.originalEvent.changedTouches[0] : t).pageX - r, s = (i ? t.originalEvent.changedTouches[0] : t).pageY - a; (n || m) && o === u && s === d && I.setHand(o, s); I.hours, I.minutes; var p = I.amOrPm, v = I.maxHours, y = I.minHours; I.maxMinutes, I.minMinutes; "PM" === p && (y < 12 && (y = 0), y > 12 && (y -= 12), v > 12 && (v -= 12)), I.isInvalidTimeScope ? (I.isInvalidTimeScope = !1, t.stopPropagation()) : "hours" === I.currentView ? I.toggleView("minutes", C / 2) : "hours" != I.currentView && e.autoclose && (I.minutesView.addClass("clockpicker-dial-out"), setTimeout((function () { I.done() }), C / 2), I.currentHours = 0), c.prepend(z), clearTimeout(g), I.popover.removeClass("clockpicker-moving"), l.off(h) })), I.disableOutOfRangeElements() } } if (c.on(d, (function (t) { 0 === o(t.target).closest(".clockpicker-tick").length && B(t, !0) })), s) { var z = a.find(".clockpicker-canvas"), q = m("svg"); q.setAttribute("class", "clockpicker-svg"), q.setAttribute("width", S), q.setAttribute("height", S); var Y = m("g"); Y.setAttribute("transform", "translate(" + b + "," + b + ")"); var Z = m("circle"); Z.setAttribute("class", "clockpicker-canvas-bearing"), Z.setAttribute("cx", 0), Z.setAttribute("cy", 0), Z.setAttribute("r", 2); var X = m("line"); X.setAttribute("x1", 0), X.setAttribute("y1", 0); var U = m("circle"); U.setAttribute("class", "clockpicker-canvas-bg"), U.setAttribute("r", k); var G = m("circle"); G.setAttribute("class", "clockpicker-canvas-fg"), G.setAttribute("r", 5), Y.appendChild(X), Y.appendChild(U), Y.appendChild(G), Y.appendChild(Z), q.appendChild(Y), z.append(q), this.hand = X, this.bg = U, this.fg = G, this.bearing = Z, this.g = Y, this.canvas = z } T(this.options.init) } function T(t) { t && "function" == typeof t && t() } _.DEFAULTS = { default: "", fromnow: 0, donetext: "Done", cleartext: "Clear", autoclose: !1, ampmclickable: !1, darktheme: !1, twelvehour: !1, vibrate: !0, hourstep: 1, minutestep: 1, ampmSubmit: !1, container: "body" }, _.prototype.toggle = function () { this[this.isShown ? "hide" : "show"]() }, _.prototype.locate = function () { var t = this.element; o(this.options.container).append(this.popover), t.offset(), t.outerWidth(), t.outerHeight(), this.options.align; this.popover.show() }, _.prototype.parseInputValue = function () { var t = this.input.prop("value") || this.options.default || ""; if ("now" === t && (t = new Date(+new Date + this.options.fromnow)), t instanceof Date && (t = t.getHours() + ":" + t.getMinutes()), t = t.split(":"), this.hours = +t[0] || 0, this.minutes = +(t[1] + "").replace(/\D/g, "") || 0, this.hours = Math.round(this.hours / this.options.hourstep) * this.options.hourstep, this.minutes = Math.round(this.minutes / this.options.minutestep) * this.options.minutestep, this.options.twelvehour) { var e = (t[1] + "").replace(/\d+/g, "").toLowerCase(); this.amOrPm = this.hours > 12 || "pm" === e ? "PM" : "AM" } }, _.prototype.show = function (t) { if (!this.isShown) { T(this.options.beforeShow), o(":input").each((function () { o(this).attr("tabindex", -1) })); var e = this; this.input.blur(), this.popover.addClass("picker--opened"), this.input.addClass("picker__input picker__input--active"), o(document.body).css("overflow", "hidden"), this.isAppended || (this.popover.insertAfter(this.input), this.options.twelvehour && (this.amOrPm = "AM", this.options.ampmclickable ? (this.spanAmPm.children("#click-am").addClass("text-primary"), this.spanAmPm.children("#click-pm").removeClass("text-primary")) : (this.amPmBlock.children(".pm-button").removeClass("active"), this.amPmBlock.children(".am-button").addClass("active"), this.spanAmPm.empty().append("PM"))), r.on("resize.clockpicker" + this.id, (function () { e.isShown && e.locate() })), this.isAppended = !0), this.parseInputValue(), 0 === this.hours && (this.hours = this.minHours), this.spanHours.html(v(this.hours)), this.spanMinutes.html(v(this.minutes)), this.options.twelvehour && this.spanAmPm.empty().append(this.amOrPm), this.disableOutOfRangeElements(), this.toggleView("hours"), this.locate(), this.isShown = !0, l.on("click.clockpicker." + this.id + " focusin.clockpicker." + this.id, g((function (t) { var n = o(t.target); 0 === n.closest(e.popover.find(".picker__wrap")).length && 0 === n.closest(e.input).length && e.hide() }), 100)), l.on("keyup.clockpicker." + this.id, g((function (t) { 27 === t.keyCode && e.hide() }), 100)), T(this.options.afterShow) } }, _.prototype.hide = function () { T(this.options.beforeHide), this.input.removeClass("picker__input picker__input--active"), this.popover.removeClass("picker--opened"), o(document.body).css("overflow", "visible"), this.isShown = !1, o(":input").each((function (t) { o(this).attr("tabindex", t + 1) })), l.off("click.clockpicker." + this.id + " focusin.clockpicker." + this.id), l.off("keyup.clockpicker." + this.id), this.popover.hide(), T(this.options.afterHide) }, _.prototype.disableOutOfRangeElements = function () { var t = this, e = this.hours, n = this.minutes, i = this.currentView, r = this.isTwelvehour, l = this.amOrPm, a = this.maxHours, s = this.minHours, c = this.maxMinutes, u = this.minMinutes, d = o(".clockpicker-hours").children(), h = o(".clockpicker-minutes").children(), f = o(".am-button"), p = o(".pm-button"), m = o(".done-button"); r && "minutes" === i && (m.removeClass("grey-text disabled"), "AM" !== l || e + 12 <= a ? "PM" !== l || e >= s || f.addClass("disabled") : p.addClass("disabled")), r && "PM" === l && (s < 12 && (s = 0), s > 12 && (s -= 12), a > 12 && (a -= 12)), r && "hours" === i && (f.removeClass("disabled"), p.removeClass("disabled"), ("AM" !== l || e >= s && e <= a) && ("PM" !== l || e >= s && e <= a) ? m.removeClass("grey-text disabled") : m.addClass("grey-text disabled")), "minutes" === i && (e === s && n < u || e === a && n > c ? m.addClass("grey-text disabled") : m.removeClass("grey-text disabled")), "hours" === i && d.each((function (e, n) { var i = n.innerHTML; t.isTwelvehour && 12 == i && (i = 0), i > a || i < s ? o(n).addClass("grey-text disabled") : o(n).removeClass("grey-text disabled") })), "minutes" === i && h.each((function (t, n) { s == e && n.innerHTML < u ? o(n).addClass("grey-text disabled") : a == e && n.innerHTML > c ? o(n).addClass("grey-text disabled") : o(n).removeClass("grey-text disabled") })) }, _.prototype.toggleView = function (t, e) { var n = !1; "minutes" === t && "visible" === o(this.hoursView).css("visibility") && (T(this.options.beforeHourSelect), n = !0); var i = "hours" === t, r = i ? this.hoursView : this.minutesView, l = i ? this.minutesView : this.hoursView; this.currentView = t, this.spanHours.toggleClass("text-primary", i), this.spanMinutes.toggleClass("text-primary", !i), l.addClass("clockpicker-dial-out"), r.css("visibility", "visible").removeClass("clockpicker-dial-out"), this.resetClock(e), clearTimeout(this.toggleViewTimer), this.toggleViewTimer = setTimeout((function () { l.css("visibility", "hidden") }), C), this.disableOutOfRangeElements(), n && T(this.options.afterHourSelect) }, _.prototype.resetClock = function (t) { var e = this.currentView, n = this[e], i = "hours" === e, o = n * (Math.PI / (i ? 6 : 30)), r = i && n > 0 && n < 13 ? x : w, l = Math.sin(o) * r, a = -Math.cos(o) * r, c = this; s && t ? (c.canvas.addClass("clockpicker-canvas-out"), setTimeout((function () { c.canvas.removeClass("clockpicker-canvas-out"), c.setHand(l, a) }), t)) : this.setHand(l, a) }, _.prototype.setHand = function (t, e, n, i) { var r, l, a = Math.atan2(t, -e), c = "hours" === this.currentView, u = Math.sqrt(t * t + e * e), d = this.options, h = c && u < (w + x) / 2, f = h ? x : w; r = c ? d.hourstep / 6 * Math.PI : d.minutestep / 30 * Math.PI, d.twelvehour && (f = w), a < 0 && (a = 2 * Math.PI + a), a = (l = Math.round(a / r)) * r, c ? (l *= d.hourstep, d.twelvehour || !h != l > 0 || (l += 12), d.twelvehour && 0 === l && (l = 12), 24 === l && (l = 0)) : 60 === (l *= d.minutestep) && (l = 0); var m = this.minHours, g = this.maxHours, y = this.minMinutes, b = this.maxMinutes, k = this.amOrPm; if (c) { var S = l; if ("PM" === this.amOrPm && (m < 12 && (m = 0), m > 12 && (m -= 12), g > 12 && (g -= 12)), this.isTwelvehour && 12 == S && (S = 0), S < m || S > g) return void (this.isInvalidTimeScope = !0); if (this.isTwelvehour && 12 === S) return void (this.isInvalidTimeScope = !0) } else { var C = this.hours; if ("PM" === k && (C += 12), C == m && l < y || C == g && l > b) return void (this.isInvalidTimeScope = !0) } if (c ? this.fg.setAttribute("class", "clockpicker-canvas-fg") : l % 5 == 0 ? this.fg.setAttribute("class", "clockpicker-canvas-fg") : this.fg.setAttribute("class", "clockpicker-canvas-fg active"), this[this.currentView] !== l && p && this.options.vibrate && (this.vibrateTimer || (navigator[p](10), this.vibrateTimer = setTimeout(o.proxy((function () { this.vibrateTimer = null }), this), 100))), this[this.currentView] = l, this[c ? "spanHours" : "spanMinutes"].html(v(l)), s) { i || !c && l % 5 ? (this.g.insertBefore(this.hand, this.bearing), this.g.insertBefore(this.bg, this.fg), this.bg.setAttribute("class", "clockpicker-canvas-bg clockpicker-canvas-bg-trans")) : (this.g.insertBefore(this.hand, this.bg), this.g.insertBefore(this.fg, this.bg), this.bg.setAttribute("class", "clockpicker-canvas-bg")); var M = Math.sin(a) * f, _ = -Math.cos(a) * f; this.hand.setAttribute("x2", M), this.hand.setAttribute("y2", _), this.bg.setAttribute("cx", M), this.bg.setAttribute("cy", _), this.fg.setAttribute("cx", M), this.fg.setAttribute("cy", _) } else this[c ? "hoursView" : "minutesView"].find(".clockpicker-tick").each((function () { var t = o(this); t.toggleClass("active", l === +t.html()) })) }, _.prototype.clearInput = function () { this.input.val(""), this.hide(), this.options.afterDone && "function" == typeof this.options.afterDone && this.options.afterDone(this.input, null) }, _.prototype.getTime = function (t) { this.parseInputValue(); var e = this.hours; this.options.twelvehour && e < 12 && "PM" === this.amOrPm && (e += 12); var n = new Date; return n.setMinutes(this.minutes), n.setHours(e), n.setSeconds(0), t && t.apply(this.element, n) || n }, _.prototype.done = function () { T(this.options.beforeDone), this.hide(), this.label.addClass("active"); var t = this.input.prop("value"), e = this.hours, n = ":" + v(this.minutes); this.isHTML5 && this.options.twelvehour && (this.hours < 12 && "PM" === this.amOrPm && (e += 12), 12 === this.hours && "AM" === this.amOrPm && (e = 0)), n = v(e) + n, !this.isHTML5 && this.options.twelvehour && (n += this.amOrPm), this.input.prop("value", n), n !== t && (this.input.trigger("change"), this.isInput || this.element.trigger("change")), this.options.autoclose && this.input.trigger("blur"), T(this.options.afterDone) }, _.prototype.remove = function () { this.element.removeData("clockpicker"), this.input.off("focus.clockpicker click.clockpicker"), this.isShown && this.hide(), this.isAppended && (r.off("resize.clockpicker" + this.id), this.popover.remove()) }, o.fn.pickatime = function (t) { var e = Array.prototype.slice.call(arguments, 1); function n() { var n = o(this), r = n.data("clockpicker"); if (r) "function" == typeof r[t] && r[t].apply(r, e); else { var l = o.extend({}, _.DEFAULTS, n.data(), "object" == i(t) && t); n.data("clockpicker", new _(n, l)) } } if (1 == this.length) { var r = n.apply(this[0]); return void 0 !== r ? r : this } return this.each(n) }, o(".time-picker-opener").on("click", (function (t) { t.stopPropagation(), t.preventDefault(); var e = t.target.dataset.open; o("#".concat(e)).pickatime("picker").data("clockpicker").show() })) }()
}, function (t, e, n) { "use strict"; n(6), n(38), n(109), n(28), n(138), n(60), n(52), n(93), n(110), n(40); function i(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } jQuery((function (t) { t(document).on("click", ".chip .close", (function () { var e = t(this); e.closest(".chips").data("initialized") || e.closest(".chip").remove() })); var e = function () { function e(n) { var i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; !function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }(this, e), this.$chipsWrapper = n, this.options = "string" == typeof i ? i : { data: this.fallback().or(i.data).or([]).value(), dataChip: this.fallback().or(i.dataChip).or([]).value(), placeholder: this.fallback().or(n.attr("data-placeholder")).or(i.placeholder).or("").value(), secondaryPlaceholder: this.fallback().or(n.attr("data-secondary-placeholder")).or(i.secondaryPlaceholder).or("").value(), sortAutocompleteData: this.fallback().or(n.attr("data-sort-autocomplete-data")).or(i.sortAutocompleteData).or(!0).value(), autocompleteDataCompareFn: this.fallback().or(i.autocompleteDataCompareFn).or(void 0).value() }, this.$autocompleteList = t('<ul class="chip-ul z-depth-1" tabindex="0"></ul>'), this.keyCodes = { backspace: 8, enter: 13, arrowLeft: 37, arrowRight: 39, delete: 46, comma: 188 } } var n, o, r; return n = e, (o = [{ key: "getSelectedChip", value: function () { return this.$chipsWrapper.find(".chip.selected") } }, { key: "returnPublicInterface", value: function () { return "data" === this.options ? this.$chipsWrapper.data("chips") : "options" === this.options ? this.$chipsWrapper.data("options") : this.$chipsWrapper } }, { key: "init", value: function () { this.isPublicInterfaceCall || (this.assignOptions(), this.isInitialized || (this.$chipsWrapper.data({ chips: this.options.data.slice(), index: this.$chipsWrapper.index(), initialized: !0 }), this.$chipsWrapper.attr("tabindex", 0), this.$chipsWrapper.hasClass(".chips") || this.$chipsWrapper.addClass("chips"), this.renderChips(), this.bindEvents())) } }, { key: "assignOptions", value: function () { Array.isArray(this.options.data) || (this.options.data = []), this.$chipsWrapper.data("options", Object.assign({}, this.options)) } }, { key: "bindEvents", value: function () { this.bindChipsWrapperClick(), this.bindChipsWrapperBlur(), this.bindSingleChipClick(), this.bindChipsWrapperKeydown(), this.bindChipsInputClick(), this.bindChipsInputFocusout(), this.bindChipsInputKeydown(), this.bindDeleteButtonClick(), this.bindAutocompleteInputKeyup(), this.bindAutocompleteOptionClick() } }, { key: "bindChipsWrapperClick", value: function () { this.$chipsWrapper.on("click", (function (e) { return t(e.target).find("input").focus().addClass("active") })) } }, { key: "bindChipsWrapperBlur", value: function () { var e = this; this.$chipsWrapper.on("blur", (function (n) { setTimeout((function () { return e.$autocompleteList.removeClass("active").hide() }), 100), t(n.target).removeClass("active"), e.getSelectedChip().removeClass("selected") })) } }, { key: "bindSingleChipClick", value: function () { var e = this; this.$chipsWrapper.on("click", ".chip", (function (n) { var i = t(n.target), o = i.index(); e.$chipsWrapper.find(".chip.selected").not(i).removeClass("selected"), e.selectChip(o) })) } }, { key: "bindChipsWrapperKeydown", value: function () { var t = this; this.$chipsWrapper.on("keydown", (function (e) { var n = e.which === t.keyCodes.backspace, i = e.which === t.keyCodes.delete, o = e.which === t.keyCodes.arrowLeft, r = e.which === t.keyCodes.arrowRight; if ((n || i) && t.getSelectedChip().length) { e.preventDefault(); var l = t.deleteSelectedChip(); t.selectChip(l) } else o ? t.selectLeftChip() : r && t.selectRightChip() })) } }, { key: "bindChipsInputClick", value: function () { var e = this; this.$chipsWrapper.find("input").on("click", (function (n) { t(n.target).addClass("active"), e.$chipsWrapper.addClass("focus"), e.$chipsWrapper.find(".chip").removeClass("selected") })) } }, { key: "bindChipsInputFocusout", value: function () { var t = this; this.$chipsWrapper.on("focusout", "input", (function () { return t.$chipsWrapper.removeClass("focus") })) } }, { key: "bindChipsInputKeydown", value: function () { var e = this; this.$chipsWrapper.on("keydown", "input", (function (n) { var i = t(n.target), o = n.which === e.keyCodes.enter, r = n.which === e.keyCodes.comma, l = n.which === e.keyCodes.backspace; if ((o || r) && !e.$autocompleteList.find("li").hasClass("selected")) return n.preventDefault(), e.addChip({ tag: i.val() }), void i.val(""); if ("" === i.val() && l && !e.$chipsWrapper.find(".chip").hasClass("selected")) { var a = e.$chipsWrapper.find(".chip-position-wrapper .chip").last().index(); e.deleteChip(a) } })) } }, { key: "bindDeleteButtonClick", value: function () { var e = this; this.$chipsWrapper.on("click", ".chip i.close", (function (n) { n.stopPropagation(); var i = t(n.target).closest(".chip").index(); e.deleteChip(i), e.$chipsWrapper.find("input").focus() })) } }, { key: "bindAutocompleteInputKeyup", value: function () { var e = this, n = this.$chipsWrapper.find(".chip-position-wrapper").find("input"); n.on("keyup", (function (i) { var o = n.val(); e.$autocompleteList.empty(), o.length ? (e.options.dataChip.forEach((function (n) { n.toLowerCase().includes(o.toLowerCase()) && e.$chipsWrapper.find(".chip-position-wrapper").append(e.$autocompleteList.append(t("<li>".concat(n, "</li>")))) })), e.$autocompleteList.addClass("active").show()) : e.$autocompleteList.removeClass("active").hide(); var r = i.which === e.keyCodes.enter, l = i.which === e.keyCodes.comma, a = e.$chipsWrapper.find(".chip-position-wrapper .chip").last().text(); !r && !l || e.options.dataChip.includes(a) ? (r || l) && e.$autocompleteList.remove() : (e.options.dataChip.push(a), e.options.sortAutocompleteData && e.options.dataChip.sort(e.options.autocompleteDataCompareFn)) })) } }, { key: "bindAutocompleteOptionClick", value: function () { var e = this; this.$chipsWrapper.on("click", "li", (function (n) { n.preventDefault(); var i = t(n.target); e.addChip({ tag: i.text() }), e.$chipsWrapper.find(".chip-position-wrapper").find("input").val(""), e.$autocompleteList.remove() })) } }, { key: "deleteSelectedChip", value: function () { var t = this.getSelectedChip(), e = t.siblings(".chip").length, n = t.index(); this.deleteChip(n); var i = -1; return n < e - 1 ? i = n : n !== e && n !== e - 1 || (i = e - 1), e || this.$chipsWrapper.find("input").focus(), i } }, { key: "selectLeftChip", value: function () { this.selectLeftRightChip(!0) } }, { key: "selectRightChip", value: function () { this.selectLeftRightChip(!1) } }, { key: "selectLeftRightChip", value: function (t) { var e = this.getSelectedChip(), n = e.index(), i = e.siblings(".chip").length, o = t ? n - 1 : n + 1; if (t && o < 0) o = this.$chipsWrapper.find(".chip").length - 1; else if (!t && o > i) return void this.$chipsWrapper.find("input").focus(); this.$chipsWrapper.find(".chip").removeClass("selected"), this.selectChip(o) } }, { key: "renderChips", value: function () { var t = this, e = ""; this.$chipsWrapper.data("chips").forEach((function (n) { e += t.getSingleChipTemplate(n) })), this.$chipsWrapper.hasClass("chips-autocomplete") ? e += '<span class="chip-position-wrapper position-relative"><input class="input" placeholder=""></span>' : e += '<input class="input" placeholder="">', this.$chipsWrapper.html(e), this.setPlaceholder() } }, { key: "getSingleChipTemplate", value: function (t) { if (!t.tag) return ""; var e = '<div class="chip">'.concat(t.tag); return t.image && (e += ' <img src="'.concat(t.image, '" /> ')), e += '<i class="close fas fa-times"></i>', e += "</div>" } }, { key: "setPlaceholder", value: function () { this.$chipsWrapper.find("input").prop("placeholder", this.options.data.length ? this.options.placeholder : this.options.secondaryPlaceholder) } }, { key: "addChip", value: function (e) { if (this.isValid(e)) { var n = t(this.getSingleChipTemplate(e)); this.$chipsWrapper.data("chips").push(e), this.options.data.push(e), this.$chipsWrapper.hasClass("chips-autocomplete") && this.$chipsWrapper.find(".chip").length > 0 ? n.insertAfter(this.$chipsWrapper.find(".chip").last()) : n.insertBefore(this.$chipsWrapper.find("input")), this.$chipsWrapper.trigger("chip.add", e), this.setPlaceholder() } } }, { key: "isValid", value: function (t) { return "" !== t.tag && !this.options.data.some((function (e) { return e.tag === t.tag })) } }, { key: "deleteChip", value: function (t) { var e = this.$chipsWrapper.data("chips")[t]; this.$chipsWrapper.find(".chip").eq(t).remove(), this.$chipsWrapper.data("chips").splice(t, 1), this.options.data.splice(t, 1), this.$chipsWrapper.trigger("chip.delete", e), this.setPlaceholder() } }, { key: "selectChip", value: function (t) { var e = this.$chipsWrapper.find(".chip").eq(t); e && !e.hasClass("selected") && (e.addClass("selected"), this.$chipsWrapper.trigger("chip.select", this.$chipsWrapper.data("chips")[t])) } }, { key: "fallback", value: function () { return { _value: void 0, or: function (t) { return void 0 !== t && void 0 === this._value && (this._value = t), this }, value: function () { return this._value } } } }, { key: "isPublicInterfaceCall", get: function () { return "string" == typeof this.options } }, { key: "isInitialized", get: function () { return this.$chipsWrapper.data("initialized") } }]) && i(n.prototype, o), r && i(n, r), e }(); t.fn.materialChip = function (n) { if (this.length > 1) { var i = []; return this.each((function () { var o = new e(t(this), n); o.init(), i.push(o.returnPublicInterface()) })), i } var o = new e(t(this), n); return o.init(), o.returnPublicInterface() } })) }, function (t, e, n) { "use strict"; n(6), n(23), n(28), n(13), n(42), n(44), n(14), n(35), n(30); jQuery((function (t) { var e, n = t(window), i = t(document), o = "http://www.w3.org/2000/svg", r = "SVGAngle" in window && function () { var t = document.createElement("div"); t.innerHTML = "<svg/>"; var e = (t.firstChild && t.firstChild.namespaceURI) == o; return t.innerHTML = "", e }(), l = "transition" in (e = document.createElement("div").style) || "WebkitTransition" in e || "MozTransition" in e || "msTransition" in e || "OTransition" in e, a = "ontouchstart" in window, s = "mousedown ".concat(a ? " touchstart" : ""), c = "mousemove.clockpicker ".concat(a ? " touchmove.clockpicker" : ""), u = "mouseup.clockpicker ".concat(a ? " touchend.clockpicker" : ""), d = navigator.vibrate ? "vibrate" : navigator.webkitVibrate ? "webkitVibrate" : null; function h(t) { return document.createElementNS(o, t) } function f(t, e, n) { var i; return function () { var o = this, r = arguments, l = function () { i = null, n || t.apply(o, r) }, a = n && !i; clearTimeout(i), i = setTimeout(l, e), a && t.apply(o, r) } } function p(t) { return (t < 10 ? "0" : "") + t } var m = 0; var g = 135, v = 110, y = 80, b = 20, w = 2 * g, x = l ? 350 : 1, k = ['<div class="clockpicker_container clockpicker picker">', '<div class="picker__holder">', '<div class="picker__frame">', '<div class="picker__wrap">', '<div class="picker__box">', '<div class="picker__date-display">', '<div class="clockpicker-display">', '<div class="clockpicker-display-column">', '<span class="clockpicker-span-hours text-primary" tabindex="1" aria-label="Choose hour"></span>', ":", '<span class="clockpicker-span-minutes" tabindex="2" aria-label="Choose minute"></span>', "</div>", '<div class="clockpicker-display-column clockpicker-display-am-pm">', '<div class="clockpicker-am-pm-block"></div>', "</div>", "</div>", "</div>", '<div class="picker__calendar-container">', '<div class="clockpicker-plate">', '<div class="clockpicker-canvas"></div>', '<div class="clockpicker-dial clockpicker-hours"></div>', '<div class="clockpicker-dial clockpicker-minutes clockpicker-dial-out"></div>', "</div>", '<div class="picker__footer">', "</div>", "</div>", "</div>", "</div>", "</div>", "</div>"].join(""); function S(e, n) { var o, l, a = this, d = t(k), S = d.find(".clockpicker-plate"), M = d.find(".picker__holder"), _ = d.find(".clockpicker-hours"), T = d.find(".clockpicker-minutes"), E = d.find(".clockpicker-am-pm-block"), A = e.children("i"), O = e.children("input"), P = (O.prop("type"), t("label[for=" + O.attr("id") + "]")), I = this, D = {}; if (D.default = e.attr("default") || "", D.fromnow = e.attr("fromnow") || 0, D.donetext = e.attr("donetext") || "OK", D.cleartext = e.attr("cleartext") || "Clear", D.closetext = e.attr("closetext") || "Close", D.autoclose = e.attr("autoclose") || !1, D.darktheme = e.attr("darktheme") || !1, D.twelvehour = e.attr("twelvehour") || !1, D.vibrate = e.attr("vibrate") || !0, D.hourstep = e.attr("hourstep") || 1, D.minutestep = e.attr("minutestep") || 1, D.inputshowpicker = e.attr("inputshowpicker") || !1, D.min = e.attr("min") || 0, D.max = e.attr("max") || 0, this.id = (l = ++m + "", (o = "cp") ? o + l : l), this.element = e, this.holder = M, this.options = D, this.isAppended = !1, this.isShown = !1, this.currentView = "hours", this.input = O, this.icon = A, this.label = P, this.popover = d, this.plate = S, this.hoursView = _, this.minutesView = T, this.amPmBlock = E, this.spanHours = d.find(".clockpicker-span-hours"), this.spanMinutes = d.find(".clockpicker-span-minutes"), this.footer = d.find(".picker__footer"), this.amOrPm = "", this.isTwelvehour = D.twelvehour, this.minTime = D.min, this.maxTime = D.max, this.minMinutes = 0, this.maxMinutes = 59, this.minHours = 0, this.maxHours = 23, this.isInvalidTimeScope = !1, this.hoursBeforeChange = null, this.minutesBeforeChange = null, D.minutestep > 20) D.minutestep = 20; else if (1 != D.minutestep && D.minutestep % 5) { var L = D.minutestep % 5; L >= 2.5 ? D.minutestep += 5 - L : D.minutestep -= L } this.icon.removeClass("active"), this.input.on("focus", (function () { return a.icon.addClass("active") })), this.input.on("blur", (function () { return a.icon.removeClass("active") })); var $ = function (t) { var e = t + "Time"; if (a[e] = D[t].split(":"), 4 === a[e][1].length) { var n = a[e][1].replace(/\d+/g, "").toUpperCase(); a[e][1] = a[e][1].replace(/\D+/g, ""), "PM" === n && (a[e][0] = parseInt(a[e][0]) + 12) } if (2 !== a[e].length) a[e] = null; else for (var i = 0; i < a[e].length; i++)a[e][i] = +a[e][i] }; D.min && ($("min"), this.minMinutes = this.minTime[1], this.minHours = this.minTime[0]), D.max && ($("max"), this.minHours > this.maxHours || this.minHours === this.maxHours && this.minMinutes >= this.maxMinutes ? this.maxTime = 0 : (this.maxMinutes = this.maxTime[1], this.maxHours = this.maxTime[0])), D.twelvehour && (t('<span class="am" aria-label="change to am" tabindex="3">AM</span>').on("click", (function () { I.togglePeriod("AM") })).appendTo(this.amPmBlock), t('<span class="pm" aria-label="change to pm" tabindex="4">PM</span>').on("click", (function () { I.togglePeriod("PM") })).appendTo(this.amPmBlock)), D.darktheme && d.addClass("darktheme"), t('<button type="button" class="btn btn-flat clockpicker-button clear-button" aria-label="Clear input" tabindex="' + (D.twelvehour ? "5" : "3") + '">' + D.cleartext + "</button>").click(t.proxy(this.clearInput, this)).appendTo(this.footer), t('<button type="button" class="btn btn-flat clockpicker-button close-button" aria-label="Close picker" tabindex="' + (D.twelvehour ? "6" : "4") + '">' + D.closetext + "</button>").click(t.proxy(this.closeInput, this)).appendTo(this.footer), t('<button type="button" class="btn btn-flat clockpicker-button done-button" aria-label="save" tabindex="' + (D.twelvehour ? "7" : "5") + '">' + D.donetext + "</button>").click(t.proxy(this.done, this)).appendTo(this.footer), this.spanHours.click(t.proxy(this.toggleView, this, "hours")), this.spanMinutes.click(t.proxy(this.toggleView, this, "minutes")); var N, R, j, F, V = t('<div class="clockpicker-tick"></div>'); if (D.twelvehour) for (N = 0; N < 12; N += D.hourstep)R = V.clone(), j = N / 6 * Math.PI, F = v, R.css("font-size", "140%"), R.css({ left: g + Math.sin(j) * F - b, top: g - Math.cos(j) * F - b }), R.html(0 === N ? 12 : N), _.append(R), R.on(s, B), this.disableOutOfRangeElements(); else for (N = 0; N < 24; N += D.hourstep) { R = V.clone(), j = N / 6 * Math.PI; var H = N > 0 && N < 13; F = H ? y : v, R.css({ left: g + Math.sin(j) * F - b, top: g - Math.cos(j) * F - b }), H && R.css("font-size", "120%"), R.html(0 === N ? "00" : N), _.append(R), R.on(s, B), this.disableOutOfRangeElements() } var W = Math.max(D.minutestep, 5); for (N = 0; N < 60; N += W)for (N = 0; N < 60; N += 5)R = V.clone(), j = N / 30 * Math.PI, R.css({ left: g + Math.sin(j) * v - b, top: g - Math.cos(j) * v - b }), R.css("font-size", "140%"), R.html(p(N)), T.append(R), R.on(s, B); function B(t, e) { var n = S.offset(), o = /^touch/.test(t.type), l = n.left + g, a = n.top + g, s = (o ? t.originalEvent.touches[0] : t).pageX - l, d = (o ? t.originalEvent.touches[0] : t).pageY - a, h = Math.sqrt(s * s + d * d), f = !1; if (!e || !(h < v - b || h > v + b)) { t.preventDefault(); var p = setTimeout((function () { I.popover.addClass("clockpicker-moving") }), 200); r && S.append(I.canvas), I.setHand(s, d, !e, !0), i.off(c).on(c, (function (t) { t.preventDefault(); var e = /^touch/.test(t.type), n = (e ? t.originalEvent.touches[0] : t).pageX - l, i = (e ? t.originalEvent.touches[0] : t).pageY - a; (f || n !== s || i !== d) && (f = !0, I.setHand(n, i, !1, !0)) })), i.off(u).on(u, (function (t) { i.off(u), t.preventDefault(); var n = /^touch/.test(t.type), o = (n ? t.originalEvent.changedTouches[0] : t).pageX - l, r = (n ? t.originalEvent.changedTouches[0] : t).pageY - a; (e || f) && o === s && r === d && I.setHand(o, r); I.hours, I.minutes; var h = I.amOrPm, m = I.maxHours, g = I.minHours; I.maxMinutes, I.minMinutes; "PM" === h && (g < 12 && (g = 0), g > 12 && (g -= 12), m > 12 && (m -= 12)), I.isInvalidTimeScope ? (I.isInvalidTimeScope = !1, t.stopPropagation()) : "hours" === I.currentView ? I.toggleView("minutes", x / 2) : "hours" != I.currentView && D.autoclose && (I.minutesView.addClass("clockpicker-dial-out"), setTimeout((function () { I.done() }), x / 2), I.currentHours = 0), S.prepend(z), clearTimeout(p), I.popover.removeClass("clockpicker-moving"), i.off(c) })), I.disableOutOfRangeElements() } } if (S.on(s, (function (e) { 0 === t(e.target).closest(".clockpicker-tick").length && B(e, !0) })), r) { var z = d.find(".clockpicker-canvas"), q = h("svg"); q.setAttribute("class", "clockpicker-svg"), q.setAttribute("width", w), q.setAttribute("height", w); var Y = h("g"); Y.setAttribute("transform", "translate(" + g + "," + g + ")"); var Z = h("circle"); Z.setAttribute("class", "clockpicker-canvas-bearing"), Z.setAttribute("cx", 0), Z.setAttribute("cy", 0), Z.setAttribute("r", 2); var X = h("line"); X.setAttribute("x1", 0), X.setAttribute("y1", 0); var U = h("circle"); U.setAttribute("class", "clockpicker-canvas-bg"), U.setAttribute("r", b); var G = h("circle"); G.setAttribute("class", "clockpicker-canvas-fg"), G.setAttribute("r", 5), Y.appendChild(X), Y.appendChild(U), Y.appendChild(G), Y.appendChild(Z), q.appendChild(Y), z.append(q), this.hand = X, this.bg = U, this.fg = G, this.bearing = Z, this.g = Y, this.canvas = z } var Q = function (t) { var e = I.hours, n = I.isTwelvehour, i = I.amOrPm, o = I.currentView, r = I.maxHours, l = I.minHours, a = I.maxMinutes, s = I.minMinutes; return n && "hours" === o && "PM" === i && t < 12 && (t += 12), n && "minutes" === o && "PM" === i && (e += 12), "hours" === o && (t > r || t < l) || ("minutes" === o && e == l && t < s || "minutes" === o && e == r && t > a) }; d.find(".clockpicker-span-hours").on("keydown", (function (t) { 9 === t.keyCode && t.shiftKey && (t.preventDefault(), d.find(".done-button").focus()) })), d.find(".done-button").on("keydown", (function (t) { 9 !== t.keyCode || t.shiftKey || (t.preventDefault(), d.find(".clockpicker-span-hours").focus()) })), A.attr("tabindex", "0"), A.attr("aria-haspopup", "true"), A.on("keydown", (function (t) { 32 !== t.keyCode && 13 !== t.keyCode || f(a.show(), 100) })), a.spanHours.on("keydown", (function (t) { var e; if (38 === t.keyCode) { if ("hours" !== a.currentView && a.toggleView("hours"), a.isTwelvehour) if (11 === a.hours) { e = a.hours + 1; var n = "AM" === a.amOrPm ? "PM" : "AM"; I.togglePeriod(n) } else e = 12 === a.hours ? 1 : a.hours + 1; else e = 23 === a.hours ? 0 : a.hours + 1; Q(e) && (a.isTwelvehour && a.minHours <= 12 && I.togglePeriod("AM"), e = a.minHours), a.hours = e, a.spanHours.html(p(a.hours)), a.resetClock() } if (40 === t.keyCode) { if ("hours" !== a.currentView && a.toggleView("hours"), a.isTwelvehour) if (1 === a.hours) e = 12; else if (12 === a.hours) { e = a.hours - 1; var i = "AM" === a.amOrPm ? "PM" : "AM"; I.togglePeriod(i) } else e = a.hours - 1; else e = 0 === a.hours ? 23 : a.hours - 1; Q(e) && (a.isTwelvehour && a.maxHours >= 12 && I.togglePeriod("PM"), e = a.maxHours), a.hours = e, a.spanHours.html(p(a.hours)), a.resetClock() } 13 === t.keyCode && a.toggleView("hours") })), a.isTwelvehour && (d.find(".am").on("keydown", (function (t) { 13 === t.keyCode && (t.preventDefault(), I.togglePeriod("AM")) })), d.find(".pm").on("keydown", (function (t) { 13 === t.keyCode && (t.preventDefault(), I.togglePeriod("PM")) }))), a.spanMinutes.on("keydown", (function (t) { var e; if (38 === t.keyCode) { if ("minutes" !== a.currentView && a.toggleView("minutes"), e = 59 === a.minutes ? 0 : a.minutes + 1, Q(e)) { var n = a.hours, i = a.amOrPm, o = a.minHours, r = a.maxHours, l = a.minMinutes; "PM" === i && (n += 12), n === o && (e = l), n === r && (e = 0) } a.minutes = e, a.spanMinutes.html(p(a.minutes)), a.resetClock() } if (40 === t.keyCode) { if ("minutes" !== a.currentView && a.toggleView("minutes"), e = 0 === a.minutes ? 59 : a.minutes - 1, Q(e)) { var s = a.hours, c = a.amOrPm, u = a.minHours, d = a.maxHours, h = a.maxMinutes; "PM" === c && (s += 12), s === u && (e = 59), s === d && (e = h) } a.minutes = e, a.spanMinutes.html(p(a.minutes)), a.resetClock() } 13 === t.keyCode && a.toggleView("minutes") })), d.find(".close-button").on("click", (function () { a.close() })), (D.inputshowpicker ? O : A).on("click.clockpicker", f(t.proxy(a.show, a), 100)), C(this.options.init) } function C(t) { t && "function" == typeof t && t() } S.DEFAULTS = { default: "", fromnow: 0, donetext: "OK", cleartext: "Clear", closetext: "Cancel", autoclose: !1, darktheme: !1, twelvehour: !1, vibrate: !0, hourstep: 1, minutestep: 1, inputshowpicker: !1 }, S.prototype.toggle = function () { this[this.isShown ? "hide" : "show"]() }, S.prototype.locate = function () { var e = this.element; t("body").append(this.popover), e.offset(), e.outerWidth(), e.outerHeight(), this.options.align; this.popover.show() }, S.prototype.parseInputValue = function () { var t = this.input.prop("value") || this.options.default || ""; if ("now" === t && (t = new Date(+new Date + this.options.fromnow)), t instanceof Date && (t = t.getHours() + ":" + t.getMinutes()), t = t.split(":"), this.hours = +t[0] || 0, this.minutes = +(t[1] + "").replace(/\D/g, "") || 0, this.hours = Math.round(this.hours / this.options.hourstep) * this.options.hourstep, this.minutes = Math.round(this.minutes / this.options.minutestep) * this.options.minutestep, this.options.twelvehour) { var e = (t[1] + "").replace(/\d+/g, "").toLowerCase(); this.amOrPm = this.hours > 12 || "pm" === e ? "PM" : "AM" } }, S.prototype.show = function (e) { if (!this.isShown) { C(this.options.beforeShow), t(":input").each((function () { t(this).attr("tabindex", -1) })); var o = this; this.input.blur(), this.popover.addClass("picker--opened"), this.input.addClass("picker__input picker__input--active"), this.options.inputshowpicker && this.input.siblings("label").addClass("active"), t(document.body).css("overflow", "hidden"), this.isAppended || (this.popover.insertAfter(this.input), this.options.twelvehour && (this.amOrPm = "AM", this.amPmBlock.children(".pm").removeClass("active"), this.amPmBlock.children(".am").addClass("active")), n.on("resize.clockpicker" + this.id, (function () { o.isShown && o.locate() })), this.isAppended = !0), this.parseInputValue(), 0 === this.hours && (this.hours = this.minHours), this.hoursBeforeChange = this.hours, this.minutesBeforeChange = this.minutes, this.spanHours.html(p(this.hours)), this.spanMinutes.html(p(this.minutes)), this.options.twelvehour && this.togglePeriod(this.amOrPm), this.disableOutOfRangeElements(), this.toggleView("hours"), this.locate(), this.isShown = !0, this.spanHours.focus(), i.on("click.clockpicker." + this.id + " focusin.clockpicker." + this.id, f((function (e) { var n = t(e.target); 0 === n.closest(o.popover.find(".picker__wrap")).length && 0 === n.closest(o.input).length && o.hide() }), 100)), i.on("keyup.clockpicker." + this.id, f((function (t) { 27 === t.keyCode && o.hide() }), 100)), C(this.options.afterShow) } }, S.prototype.hide = function () { C(this.options.beforeHide), this.input.removeClass("picker__input picker__input--active"), this.popover.removeClass("picker--opened"), t(document.body).css("overflow", "visible"), this.isShown = !1, t(":input").each((function () { t(this).attr("tabindex", 0) })), i.off("click.clockpicker." + this.id + " focusin.clockpicker." + this.id), i.off("keyup.clockpicker." + this.id), this.input.trigger("blur"), this.popover.hide(), C(this.options.afterHide) }, S.prototype.close = function () { this.hours = this.hoursBeforeChange, this.minutes = this.minutesBeforeChange, this.hide() }, S.prototype.disableOutOfRangeElements = function () { var e = this, n = this.hours, i = this.minutes, o = this.currentView, r = this.isTwelvehour, l = this.amOrPm, a = this.maxHours, s = this.minHours, c = this.maxMinutes, u = this.minMinutes, d = this.options, h = t(".clockpicker-hours").children(), f = t(".clockpicker-minutes").children(), p = t(".am"), m = t(".pm"), g = t(".done-button"); r && "minutes" === o && (g.removeClass("grey-text disabled"), "AM" !== l || n + 12 <= a || !d.max ? "PM" !== l || n >= s || !d.min || p.addClass("disabled") : m.addClass("disabled")), r && "PM" === l && (s < 12 && (s = 0), s > 12 && (s -= 12), a > 12 && (a -= 12)), r && "hours" === o && (p.removeClass("disabled"), m.removeClass("disabled"), ("AM" !== l || n >= s && n <= a) && ("PM" !== l || n >= s && n <= a || !d.max) ? g.removeClass("grey-text disabled") : g.addClass("grey-text disabled")), "minutes" === o && (n === s && i < u || n === a && i > c ? g.addClass("grey-text disabled") : g.removeClass("grey-text disabled")), "hours" === o && h.each((function (n, i) { var o = i.innerHTML; e.isTwelvehour && 12 == o && (o = 0), o > a || o < s ? t(i).addClass("grey-text disabled") : t(i).removeClass("grey-text disabled") })), "minutes" === o && f.each((function (i, o) { s == n && o.innerHTML < u ? t(o).addClass("grey-text disabled") : a == n && o.innerHTML > c ? t(o).addClass("grey-text disabled") : o.innerHTML % e.options.minutestep != 0 ? t(o).addClass("grey-text disabled") : t(o).removeClass("grey-text disabled") })) }, S.prototype.toggleView = function (e, n) { var i = !1; "minutes" === e && "visible" === t(this.hoursView).css("visibility") && (C(this.options.beforeHourSelect), i = !0); var o = "hours" === e, r = o ? this.hoursView : this.minutesView, l = o ? this.minutesView : this.hoursView; this.currentView = e, this.spanHours.toggleClass("text-primary", o), this.spanMinutes.toggleClass("text-primary", !o), l.addClass("clockpicker-dial-out"), r.css("visibility", "visible").removeClass("clockpicker-dial-out"), this.resetClock(n), clearTimeout(this.toggleViewTimer), this.toggleViewTimer = setTimeout((function () { l.css("visibility", "hidden") }), x), this.disableOutOfRangeElements(), i && C(this.options.afterHourSelect) }, S.prototype.togglePeriod = function (t) { var e = "pm"; "PM" === t && (e = "am"), this.amOrPm = t, this.amPmBlock.children(".".concat(e.toLowerCase())).removeClass("active"), this.amPmBlock.children(".".concat(t.toLowerCase())).addClass("active"), this.disableOutOfRangeElements() }, S.prototype.resetClock = function (t) { var e = this.currentView, n = this[e], i = "hours" === e, o = n * (Math.PI / (i ? 6 : 30)), l = i && n > 0 && n < 13 ? y : v, a = Math.sin(o) * l, s = -Math.cos(o) * l, c = this; r && t ? (c.canvas.addClass("clockpicker-canvas-out"), setTimeout((function () { c.canvas.removeClass("clockpicker-canvas-out"), c.setHand(a, s) }), t)) : this.setHand(a, s) }, S.prototype.setHand = function (e, n, i, o) { var l, a, s = Math.atan2(e, -n), c = "hours" === this.currentView, u = Math.sqrt(e * e + n * n), h = this.options, f = c && u < (v + y) / 2, m = f ? y : v; l = c ? h.hourstep / 6 * Math.PI : h.minutestep / 30 * Math.PI, h.twelvehour && (m = v), s < 0 && (s = 2 * Math.PI + s), s = (a = Math.round(s / l)) * l, c ? (a *= h.hourstep, h.twelvehour || !f != a > 0 || (a += 12), h.twelvehour && 0 === a && (a = 12), 24 === a && (a = 0)) : 60 === (a *= h.minutestep) && (a = 0); var g = this.minHours, b = this.maxHours, w = this.minMinutes, x = this.maxMinutes, k = this.amOrPm; if (c) { var S = a; if ("PM" === this.amOrPm && (g < 12 && (g = 0), g > 12 && (g -= 12), b > 12 && (b -= 12)), this.isTwelvehour && 12 == S && (S = 0), S < g || S > b) return void (this.isInvalidTimeScope = !0); if (this.isTwelvehour && 12 === S) return void (this.isInvalidTimeScope = !0) } else { var C = this.hours; if ("PM" === k && (C += 12), C == g && a < w || C == b && a > x) return void (this.isInvalidTimeScope = !0) } if (c ? this.fg.setAttribute("class", "clockpicker-canvas-fg") : a % 5 == 0 ? this.fg.setAttribute("class", "clockpicker-canvas-fg") : this.fg.setAttribute("class", "clockpicker-canvas-fg active"), this[this.currentView] !== a && d && this.options.vibrate && (this.vibrateTimer || (navigator[d](10), this.vibrateTimer = setTimeout(t.proxy((function () { this.vibrateTimer = null }), this), 100))), this[this.currentView] = a, this[c ? "spanHours" : "spanMinutes"].html(p(a)), r) { o || !c && a % 5 ? (this.g.insertBefore(this.hand, this.bearing), this.g.insertBefore(this.bg, this.fg), this.bg.setAttribute("class", "clockpicker-canvas-bg clockpicker-canvas-bg-trans")) : (this.g.insertBefore(this.hand, this.bg), this.g.insertBefore(this.fg, this.bg), this.bg.setAttribute("class", "clockpicker-canvas-bg")); var M = Math.sin(s) * m, _ = -Math.cos(s) * m; this.hand.setAttribute("x2", M), this.hand.setAttribute("y2", _), this.bg.setAttribute("cx", M), this.bg.setAttribute("cy", _), this.fg.setAttribute("cx", M), this.fg.setAttribute("cy", _) } else this[c ? "hoursView" : "minutesView"].find(".clockpicker-tick").each((function () { var e = t(this); e.toggleClass("active", a === +e.html()) })) }, S.prototype.clearInput = function () { this.input.val(""), this.hide(), this.options.afterDone && "function" == typeof this.options.afterDone && this.options.afterDone(this.input, null) }, S.prototype.getTime = function (t) { this.parseInputValue(); var e = this.hours; this.options.twelvehour && e < 12 && "PM" === this.amOrPm && (e += 12); var n = new Date; return n.setMinutes(this.minutes), n.setHours(e), n.setSeconds(0), t && t.apply(this.element, n) || n }, S.prototype.done = function () { C(this.options.beforeDone), this.hide(), this.label.addClass("active"); var t = this.input.prop("value"), e = this.hours, n = ":" + p(this.minutes); this.isHTML5 && this.options.twelvehour && (this.hours < 12 && "PM" === this.amOrPm && (e += 12), 12 === this.hours && "AM" === this.amOrPm && (e = 0)), n = p(e) + n, !this.isHTML5 && this.options.twelvehour && (n += this.amOrPm), this.input.prop("value", n), n !== t && this.input.trigger("change"), this.options.autoclose && this.input.trigger("blur"), C(this.options.afterDone) }, S.prototype.remove = function () { this.element.removeData("clockpicker"), this.input.off("focus.clockpicker click.clockpicker"), this.isShown && this.hide(), this.isAppended && (n.off("resize.clockpicker" + this.id), this.popover.remove()) }, t.fn.timepicker = function (e) { var n = Array.prototype.slice.call(arguments, 1); function i() { var i = t(this), o = i.data("clockpicker"); o ? (Object.keys(e).length && t.each(e, (function (t, e) { i.data().clockpicker.options[t] = e })), "function" == typeof o[e] && o[e].apply(o, n)) : i.data("clockpicker", new S(i)) } if (1 == this.length) { var o = i.apply(this[0]); return void 0 !== o ? o : this } return this.each(i) }, t("div.timepicker").timepicker(), t("#time-picker-opener").on("click", (function (e) { e.stopPropagation(), e.preventDefault(); var n = e.target.dataset.open; t("#".concat(n)).timepicker("picker").data("clockpicker").show() })) })) }, function (t, e, n) { "use strict"; n(31); jQuery((function (t) { t.fn.dateTimePicker = function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ", ", n = t(this)[0], i = t(".picker-opener[data-open='".concat(n.dataset.open, "']")), o = t(".timepicker[data-open='".concat(n.dataset.open, "']")), r = t("#".concat(n.dataset.open)); r.pickadate({ onClose: function () { o.pickatime({ afterHide: function () { o.trigger("change") } }).pickatime("picker").data("clockpicker").show() }, format: "yyyy/mm/dd", formatSubmit: "yyyy/mm/dd" }), r.on("change", (function () { var t = o.val(), n = r.val(); i[0].value = "".concat(n).concat("" !== t && "" !== n ? e : "").concat(t) })), o.on("change", (function () { var t = o.val(), n = r.val(); i[0].value = "".concat(n).concat("" !== t && "" !== n ? e : "").concat(t) })) } })) }, , , , function (t, e) { !function (t) { t.fn.sticky = function (e) { var n = t.extend({}, { topSpacing: 0, zIndex: "", stopper: ".sticky-stopper", stickyClass: !1 }, e); var i = "number" == typeof n.zIndex; var o = 0 < t(n.stopper).length || "number" == typeof n.stopper; return this.each((function () { var e = t(this), r = e.outerHeight(), l = e.outerWidth(), a = n.topSpacing, s = n.zIndex, c = e.offset().top - a, u = t("<div></div>").width(l).height(r).addClass("sticky-placeholder"), d = n.stopper, h = t(window); function f() { var l = h.scrollTop(), f = d, p = e.parent().width(); (u.width(p), o && "string" == typeof d) && (f = t(d).offset().top - r - a); if (c < l) { if (n.stickyClass && e.addClass(n.stickyClass), e.after(u).css({ position: "fixed", top: a, width: p }), i && e.css({ zIndex: s }), o && f < l) { var m = f - l + a; e.css({ top: m }) } } else n.stickyClass && e.removeClass(n.stickyClass), e.css({ position: "static", top: null, left: null, width: "auto" }), u.remove() } h.innerHeight() > r && (h.bind("scroll", f), h.bind("load", f), h.bind("resize", f)) })) } }(jQuery) }, function (t, e, n) { "use strict"; (function (t) { var e; n(10), n(16), n(17), n(235), n(6), n(12), n(8), n(23), n(32), n(28), n(13), n(59), n(61), n(7), n(46), n(44), n(14), n(29), n(18), n(35), n(30), n(19); function i(t) { return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) } !function (t) { var e = { set: { colors: 1, values: 1, backgroundColor: 1, scaleColors: 1, normalizeFunction: 1, focus: 1 }, get: { selectedRegions: 1, selectedMarkers: 1, mapObject: 1, regionName: 1 } }; t.fn.vectorMap = function (t) { var n = this.children(".jvectormap-container").data("mapObject"); if ("addMap" === t) o.Map.maps[arguments[1]] = arguments[2]; else { if (("set" === t || "get" === t) && e[t][arguments[1]]) return n[t + (arguments[1].charAt(0).toUpperCase() + arguments[1].substr(1))].apply(n, Array.prototype.slice.call(arguments, 2)); (t = t || {}).container = this, n = new o.Map(t) } return this } }(jQuery), e = function (t) { function e(e) { var l = e || window.event, a = s.call(arguments, 1), c = 0, u = 0, d = 0, h = 0; if ((e = t.event.fix(l)).type = "mousewheel", "detail" in l && (d = -1 * l.detail), "wheelDelta" in l && (d = l.wheelDelta), "wheelDeltaY" in l && (d = l.wheelDeltaY), "wheelDeltaX" in l && (u = -1 * l.wheelDeltaX), "axis" in l && l.axis === l.HORIZONTAL_AXIS && (u = -1 * d, d = 0), c = 0 === d ? u : d, "deltaY" in l && (c = d = -1 * l.deltaY), "deltaX" in l && (u = l.deltaX, 0 === d && (c = -1 * u)), 0 !== d || 0 !== u) { if (1 === l.deltaMode) { var f = t.data(this, "mousewheel-line-height"); c *= f, d *= f, u *= f } else if (2 === l.deltaMode) { var p = t.data(this, "mousewheel-page-height"); c *= p, d *= p, u *= p } return h = Math.max(Math.abs(d), Math.abs(u)), (!r || r > h) && (r = h, i(l, h) && (r /= 40)), i(l, h) && (c /= 40, u /= 40, d /= 40), c = Math[c >= 1 ? "floor" : "ceil"](c / r), u = Math[u >= 1 ? "floor" : "ceil"](u / r), d = Math[d >= 1 ? "floor" : "ceil"](d / r), e.deltaX = u, e.deltaY = d, e.deltaFactor = r, e.deltaMode = 0, a.unshift(e, c, u, d), o && clearTimeout(o), o = setTimeout(n, 200), (t.event.dispatch || t.event.handle).apply(this, a) } } function n() { r = null } function i(t, e) { return u.settings.adjustOldDeltas && "mousewheel" === t.type && e % 120 == 0 } var o, r, l = ["wheel", "mousewheel", "DOMMouseScroll", "MozMousePixelScroll"], a = "onwheel" in document || document.documentMode >= 9 ? ["wheel"] : ["mousewheel", "DomMouseScroll", "MozMousePixelScroll"], s = Array.prototype.slice; if (t.event.fixHooks) for (var c = l.length; c;)t.event.fixHooks[l[--c]] = t.event.mouseHooks; var u = t.event.special.mousewheel = { version: "3.1.9", setup: function () { if (this.addEventListener) for (var n = a.length; n;)this.addEventListener(a[--n], e, !1); else this.onmousewheel = e; t.data(this, "mousewheel-line-height", u.getLineHeight(this)), t.data(this, "mousewheel-page-height", u.getPageHeight(this)) }, teardown: function () { if (this.removeEventListener) for (var t = a.length; t;)this.removeEventListener(a[--t], e, !1); else this.onmousewheel = null }, getLineHeight: function (e) { return parseInt(t(e)["offsetParent" in t.fn ? "offsetParent" : "parent"]().css("fontSize"), 10) }, getPageHeight: function (e) { return t(e).height() }, settings: { adjustOldDeltas: !0 } }; t.fn.extend({ mousewheel: function (t) { return t ? this.bind("mousewheel", t) : this.trigger("mousewheel") }, unmousewheel: function (t) { return this.unbind("mousewheel", t) } }) }, "function" == typeof define && n(24) ? define(["jquery"], e) : "object" == ("undefined" == typeof exports ? "undefined" : i(exports)) ? t.exports = e : e(jQuery); var o = { inherits: function (t, e) { function n() { } n.prototype = e.prototype, t.prototype = new n, t.prototype.constructor = t, t.parentClass = e }, mixin: function (t, e) { var n; for (n in e.prototype) e.prototype.hasOwnProperty(n) && (t.prototype[n] = e.prototype[n]) }, min: function (t) { var e, n = Number.MAX_VALUE; if (t instanceof Array) for (e = 0; e < t.length; e++)t[e] < n && (n = t[e]); else for (e in t) t[e] < n && (n = t[e]); return n }, max: function (t) { var e, n = Number.MIN_VALUE; if (t instanceof Array) for (e = 0; e < t.length; e++)t[e] > n && (n = t[e]); else for (e in t) t[e] > n && (n = t[e]); return n }, keys: function (t) { var e, n = []; for (e in t) n.push(e); return n }, values: function (t) { var e, n, i = []; for (n = 0; n < arguments.length; n++)for (e in t = arguments[n]) i.push(t[e]); return i }, whenImageLoaded: function (t) { var e = new o.$.Deferred, n = o.$("<img/>"); return n.error((function () { e.reject() })).load((function () { e.resolve(n) })), n.attr("src", t), e }, isImageUrl: function (t) { return /\.\w{3,4}$/.test(t) } }; o.$ = jQuery, Array.prototype.indexOf || (Array.prototype.indexOf = function (t, e) { var n; if (null == this) throw new TypeError('"this" is null or not defined'); var i = Object(this), o = i.length >>> 0; if (0 === o) return -1; var r = +e || 0; if (1 / 0 === Math.abs(r) && (r = 0), r >= o) return -1; for (n = Math.max(r >= 0 ? r : o - Math.abs(r), 0); o > n;) { if (n in i && i[n] === t) return n; n++ } return -1 }), o.AbstractElement = function (t, e) { this.node = this.createElement(t), this.name = t, this.properties = {}, e && this.set(e) }, o.AbstractElement.prototype.set = function (t, e) { var n; if ("object" == i(t)) for (n in t) this.properties[n] = t[n], this.applyAttr(n, t[n]); else this.properties[t] = e, this.applyAttr(t, e) }, o.AbstractElement.prototype.get = function (t) { return this.properties[t] }, o.AbstractElement.prototype.applyAttr = function (t, e) { this.node.setAttribute(t, e) }, o.AbstractElement.prototype.remove = function () { o.$(this.node).remove() }, o.AbstractCanvasElement = function (t, e, n) { this.container = t, this.setSize(e, n), this.rootElement = new o[this.classPrefix + "GroupElement"], this.node.appendChild(this.rootElement.node), this.container.appendChild(this.node) }, o.AbstractCanvasElement.prototype.add = function (t, e) { (e = e || this.rootElement).add(t), t.canvas = this }, o.AbstractCanvasElement.prototype.addPath = function (t, e, n) { var i = new o[this.classPrefix + "PathElement"](t, e); return this.add(i, n), i }, o.AbstractCanvasElement.prototype.addCircle = function (t, e, n) { var i = new o[this.classPrefix + "CircleElement"](t, e); return this.add(i, n), i }, o.AbstractCanvasElement.prototype.addImage = function (t, e, n) { var i = new o[this.classPrefix + "ImageElement"](t, e); return this.add(i, n), i }, o.AbstractCanvasElement.prototype.addText = function (t, e, n) { var i = new o[this.classPrefix + "TextElement"](t, e); return this.add(i, n), i }, o.AbstractCanvasElement.prototype.addGroup = function (t) { var e = new o[this.classPrefix + "GroupElement"]; return t ? t.node.appendChild(e.node) : this.node.appendChild(e.node), e.canvas = this, e }, o.AbstractShapeElement = function (t, e, n) { this.style = n || {}, this.style.current = this.style.current || {}, this.isHovered = !1, this.isSelected = !1, this.updateStyle() }, o.AbstractShapeElement.prototype.setStyle = function (t, e) { var n = {}; "object" == i(t) ? n = t : n[t] = e, o.$.extend(this.style.current, n), this.updateStyle() }, o.AbstractShapeElement.prototype.updateStyle = function () { var t = {}; o.AbstractShapeElement.mergeStyles(t, this.style.initial), o.AbstractShapeElement.mergeStyles(t, this.style.current), this.isHovered && o.AbstractShapeElement.mergeStyles(t, this.style.hover), this.isSelected && (o.AbstractShapeElement.mergeStyles(t, this.style.selected), this.isHovered && o.AbstractShapeElement.mergeStyles(t, this.style.selectedHover)), this.set(t) }, o.AbstractShapeElement.mergeStyles = function (t, e) { var n; for (n in e = e || {}) null === e[n] ? delete t[n] : t[n] = e[n] }, o.SVGElement = function () { o.SVGElement.parentClass.apply(this, arguments) }, o.inherits(o.SVGElement, o.AbstractElement), o.SVGElement.svgns = "http://www.w3.org/2000/svg", o.SVGElement.prototype.createElement = function (t) { return document.createElementNS(o.SVGElement.svgns, t) }, o.SVGElement.prototype.addClass = function (t) { this.node.setAttribute("class", t) }, o.SVGElement.prototype.getElementCtr = function (t) { return o["SVG" + t] }, o.SVGElement.prototype.getBBox = function () { return this.node.getBBox() }, o.SVGGroupElement = function () { o.SVGGroupElement.parentClass.call(this, "g") }, o.inherits(o.SVGGroupElement, o.SVGElement), o.SVGGroupElement.prototype.add = function (t) { this.node.appendChild(t.node) }, o.SVGCanvasElement = function () { this.classPrefix = "SVG", o.SVGCanvasElement.parentClass.call(this, "svg"), this.defsElement = new o.SVGElement("defs"), this.node.appendChild(this.defsElement.node), o.AbstractCanvasElement.apply(this, arguments) }, o.inherits(o.SVGCanvasElement, o.SVGElement), o.mixin(o.SVGCanvasElement, o.AbstractCanvasElement), o.SVGCanvasElement.prototype.setSize = function (t, e) { this.width = t, this.height = e, this.node.setAttribute("width", t), this.node.setAttribute("height", e) }, o.SVGCanvasElement.prototype.applyTransformParams = function (t, e, n) { this.scale = t, this.transX = e, this.transY = n, this.rootElement.node.setAttribute("transform", "scale(" + t + ") translate(" + e + ", " + n + ")") }, o.SVGShapeElement = function (t, e) { o.SVGShapeElement.parentClass.call(this, t, e), o.AbstractShapeElement.apply(this, arguments) }, o.inherits(o.SVGShapeElement, o.SVGElement), o.mixin(o.SVGShapeElement, o.AbstractShapeElement), o.SVGShapeElement.prototype.applyAttr = function (t, e) { var n, i, r = this; "fill" === t && o.isImageUrl(e) ? o.SVGShapeElement.images[e] ? this.applyAttr("fill", "url(#image" + o.SVGShapeElement.images[e] + ")") : o.whenImageLoaded(e).then((function (t) { (i = new o.SVGElement("image")).node.setAttributeNS("http://www.w3.org/1999/xlink", "href", e), i.applyAttr("x", "0"), i.applyAttr("y", "0"), i.applyAttr("width", t[0].width), i.applyAttr("height", t[0].height), (n = new o.SVGElement("pattern")).applyAttr("id", "image" + o.SVGShapeElement.imageCounter), n.applyAttr("x", 0), n.applyAttr("y", 0), n.applyAttr("width", t[0].width / 2), n.applyAttr("height", t[0].height / 2), n.applyAttr("viewBox", "0 0 " + t[0].width + " " + t[0].height), n.applyAttr("patternUnits", "userSpaceOnUse"), n.node.appendChild(i.node), r.canvas.defsElement.node.appendChild(n.node), o.SVGShapeElement.images[e] = o.SVGShapeElement.imageCounter++, r.applyAttr("fill", "url(#image" + o.SVGShapeElement.images[e] + ")") })) : o.SVGShapeElement.parentClass.prototype.applyAttr.apply(this, arguments) }, o.SVGShapeElement.imageCounter = 1, o.SVGShapeElement.images = {}, o.SVGPathElement = function (t, e) { o.SVGPathElement.parentClass.call(this, "path", t, e), this.node.setAttribute("fill-rule", "evenodd") }, o.inherits(o.SVGPathElement, o.SVGShapeElement), o.SVGCircleElement = function (t, e) { o.SVGCircleElement.parentClass.call(this, "circle", t, e) }, o.inherits(o.SVGCircleElement, o.SVGShapeElement), o.SVGImageElement = function (t, e) { o.SVGImageElement.parentClass.call(this, "image", t, e) }, o.inherits(o.SVGImageElement, o.SVGShapeElement), o.SVGImageElement.prototype.applyAttr = function (t, e) { var n = this; "image" == t ? o.whenImageLoaded(e).then((function (t) { n.node.setAttributeNS("http://www.w3.org/1999/xlink", "href", e), n.width = t[0].width, n.height = t[0].height, n.applyAttr("width", n.width), n.applyAttr("height", n.height), n.applyAttr("x", n.cx - n.width / 2), n.applyAttr("y", n.cy - n.height / 2), o.$(n.node).trigger("imageloaded", [t]) })) : "cx" == t ? (this.cx = e, this.width && this.applyAttr("x", e - this.width / 2)) : "cy" == t ? (this.cy = e, this.height && this.applyAttr("y", e - this.height / 2)) : o.SVGImageElement.parentClass.prototype.applyAttr.apply(this, arguments) }, o.SVGTextElement = function (t, e) { o.SVGTextElement.parentClass.call(this, "text", t, e) }, o.inherits(o.SVGTextElement, o.SVGShapeElement), o.SVGTextElement.prototype.applyAttr = function (t, e) { "text" === t ? this.node.textContent = e : o.SVGTextElement.parentClass.prototype.applyAttr.apply(this, arguments) }, o.VMLElement = function () { o.VMLElement.VMLInitialized || o.VMLElement.initializeVML(), o.VMLElement.parentClass.apply(this, arguments) }, o.inherits(o.VMLElement, o.AbstractElement), o.VMLElement.VMLInitialized = !1, o.VMLElement.initializeVML = function () { try { document.namespaces.rvml || document.namespaces.add("rvml", "urn:schemas-microsoft-com:vml"), o.VMLElement.prototype.createElement = function (t) { return document.createElement("<rvml:" + t + ' class="rvml">') } } catch (t) { o.VMLElement.prototype.createElement = function (t) { return document.createElement("<" + t + ' xmlns="urn:schemas-microsoft.com:vml" class="rvml">') } } document.createStyleSheet().addRule(".rvml", "behavior:url(#default#VML)"), o.VMLElement.VMLInitialized = !0 }, o.VMLElement.prototype.getElementCtr = function (t) { return o["VML" + t] }, o.VMLElement.prototype.addClass = function (t) { o.$(this.node).addClass(t) }, o.VMLElement.prototype.applyAttr = function (t, e) { this.node[t] = e }, o.VMLElement.prototype.getBBox = function () { var t = o.$(this.node); return { x: t.position().left / this.canvas.scale, y: t.position().top / this.canvas.scale, width: t.width() / this.canvas.scale, height: t.height() / this.canvas.scale } }, o.VMLGroupElement = function () { o.VMLGroupElement.parentClass.call(this, "group"), this.node.style.left = "0px", this.node.style.top = "0px", this.node.coordorigin = "0 0" }, o.inherits(o.VMLGroupElement, o.VMLElement), o.VMLGroupElement.prototype.add = function (t) { this.node.appendChild(t.node) }, o.VMLCanvasElement = function () { this.classPrefix = "VML", o.VMLCanvasElement.parentClass.call(this, "group"), o.AbstractCanvasElement.apply(this, arguments), this.node.style.position = "absolute" }, o.inherits(o.VMLCanvasElement, o.VMLElement), o.mixin(o.VMLCanvasElement, o.AbstractCanvasElement), o.VMLCanvasElement.prototype.setSize = function (t, e) { var n, i, o, r; if (this.width = t, this.height = e, this.node.style.width = t + "px", this.node.style.height = e + "px", this.node.coordsize = t + " " + e, this.node.coordorigin = "0 0", this.rootElement) { for (o = 0, r = (n = this.rootElement.node.getElementsByTagName("shape")).length; r > o; o++)n[o].coordsize = t + " " + e, n[o].style.width = t + "px", n[o].style.height = e + "px"; for (o = 0, r = (i = this.node.getElementsByTagName("group")).length; r > o; o++)i[o].coordsize = t + " " + e, i[o].style.width = t + "px", i[o].style.height = e + "px" } }, o.VMLCanvasElement.prototype.applyTransformParams = function (t, e, n) { this.scale = t, this.transX = e, this.transY = n, this.rootElement.node.coordorigin = this.width - e - this.width / 100 + "," + (this.height - n - this.height / 100), this.rootElement.node.coordsize = this.width / t + "," + this.height / t }, o.VMLShapeElement = function (t, e) { o.VMLShapeElement.parentClass.call(this, t, e), this.fillElement = new o.VMLElement("fill"), this.strokeElement = new o.VMLElement("stroke"), this.node.appendChild(this.fillElement.node), this.node.appendChild(this.strokeElement.node), this.node.stroked = !1, o.AbstractShapeElement.apply(this, arguments) }, o.inherits(o.VMLShapeElement, o.VMLElement), o.mixin(o.VMLShapeElement, o.AbstractShapeElement), o.VMLShapeElement.prototype.applyAttr = function (t, e) { switch (t) { case "fill": this.node.fillcolor = e; break; case "fill-opacity": this.fillElement.node.opacity = Math.round(100 * e) + "%"; break; case "stroke": this.node.stroked = "none" !== e, this.node.strokecolor = e; break; case "stroke-opacity": this.strokeElement.node.opacity = Math.round(100 * e) + "%"; break; case "stroke-width": this.node.stroked = 0 !== parseInt(e, 10), this.node.strokeweight = e; break; case "d": this.node.path = o.VMLPathElement.pathSvgToVml(e); break; default: o.VMLShapeElement.parentClass.prototype.applyAttr.apply(this, arguments) } }, o.VMLPathElement = function (t, e) { var n = new o.VMLElement("skew"); o.VMLPathElement.parentClass.call(this, "shape", t, e), this.node.coordorigin = "0 0", n.node.on = !0, n.node.matrix = "0.01,0,0,0.01,0,0", n.node.offset = "0,0", this.node.appendChild(n.node) }, o.inherits(o.VMLPathElement, o.VMLShapeElement), o.VMLPathElement.prototype.applyAttr = function (t, e) { "d" === t ? this.node.path = o.VMLPathElement.pathSvgToVml(e) : o.VMLShapeElement.prototype.applyAttr.call(this, t, e) }, o.VMLPathElement.pathSvgToVml = function (t) { var e, n, i = 0, o = 0; return (t = t.replace(/(-?\d+)e(-?\d+)/g, "0")).replace(/([MmLlHhVvCcSs])\s*((?:-?\d*(?:\.\d+)?\s*,?\s*)+)/g, (function (t, r, l) { (l = l.replace(/(\d)-/g, "$1,-").replace(/^\s+/g, "").replace(/\s+$/g, "").replace(/\s+/g, ",").split(","))[0] || l.shift(); for (var a = 0, s = l.length; s > a; a++)l[a] = Math.round(100 * l[a]); switch (r) { case "m": return i += l[0], o += l[1], "t" + l.join(","); case "M": return i = l[0], o = l[1], "m" + l.join(","); case "l": return i += l[0], o += l[1], "r" + l.join(","); case "L": return i = l[0], o = l[1], "l" + l.join(","); case "h": return i += l[0], "r" + l[0] + ",0"; case "H": return "l" + (i = l[0]) + "," + o; case "v": return o += l[0], "r0," + l[0]; case "V": return o = l[0], "l" + i + "," + o; case "c": return e = i + l[l.length - 4], n = o + l[l.length - 3], i += l[l.length - 2], o += l[l.length - 1], "v" + l.join(","); case "C": return e = l[l.length - 4], n = l[l.length - 3], i = l[l.length - 2], o = l[l.length - 1], "c" + l.join(","); case "s": return l.unshift(o - n), l.unshift(i - e), e = i + l[l.length - 4], n = o + l[l.length - 3], i += l[l.length - 2], o += l[l.length - 1], "v" + l.join(","); case "S": return l.unshift(o + o - n), l.unshift(i + i - e), e = l[l.length - 4], n = l[l.length - 3], i = l[l.length - 2], o = l[l.length - 1], "c" + l.join(",") }return "" })).replace(/z/g, "e") }, o.VMLCircleElement = function (t, e) { o.VMLCircleElement.parentClass.call(this, "oval", t, e) }, o.inherits(o.VMLCircleElement, o.VMLShapeElement), o.VMLCircleElement.prototype.applyAttr = function (t, e) { switch (t) { case "r": this.node.style.width = 2 * e + "px", this.node.style.height = 2 * e + "px", this.applyAttr("cx", this.get("cx") || 0), this.applyAttr("cy", this.get("cy") || 0); break; case "cx": if (!e) return; this.node.style.left = e - (this.get("r") || 0) + "px"; break; case "cy": if (!e) return; this.node.style.top = e - (this.get("r") || 0) + "px"; break; default: o.VMLCircleElement.parentClass.prototype.applyAttr.call(this, t, e) } }, o.VectorCanvas = function (t, e, n) { return this.mode = window.SVGAngle ? "svg" : "vml", this.impl = "svg" == this.mode ? new o.SVGCanvasElement(t, e, n) : new o.VMLCanvasElement(t, e, n), this.impl.mode = this.mode, this.impl }, o.SimpleScale = function (t) { this.scale = t }, o.SimpleScale.prototype.getValue = function (t) { return t }, o.OrdinalScale = function (t) { this.scale = t }, o.OrdinalScale.prototype.getValue = function (t) { return this.scale[t] }, o.OrdinalScale.prototype.getTicks = function () { var t, e = []; for (t in this.scale) e.push({ label: t, value: this.scale[t] }); return e }, o.NumericScale = function (t, e, n, i) { this.scale = [], e = e || "linear", t && this.setScale(t), e && this.setNormalizeFunction(e), void 0 !== n && this.setMin(n), void 0 !== i && this.setMax(i) }, o.NumericScale.prototype = { setMin: function (t) { this.clearMinValue = t, this.minValue = "function" == typeof this.normalize ? this.normalize(t) : t }, setMax: function (t) { this.clearMaxValue = t, this.maxValue = "function" == typeof this.normalize ? this.normalize(t) : t }, setScale: function (t) { var e; for (this.scale = [], e = 0; e < t.length; e++)this.scale[e] = [t[e]] }, setNormalizeFunction: function (t) { "polynomial" === t ? this.normalize = function (t) { return Math.pow(t, .2) } : "linear" === t ? delete this.normalize : this.normalize = t, this.setMin(this.clearMinValue), this.setMax(this.clearMaxValue) }, getValue: function (t) { var e, n, i = [], o = 0, r = 0; for ("function" == typeof this.normalize && (t = this.normalize(t)), r = 0; r < this.scale.length - 1; r++)e = this.vectorLength(this.vectorSubtract(this.scale[r + 1], this.scale[r])), i.push(e), o += e; for (n = (this.maxValue - this.minValue) / o, r = 0; r < i.length; r++)i[r] *= n; for (r = 0, t -= this.minValue; t - i[r] >= 0;)t -= i[r], r++; return this.vectorToNum(r == this.scale.length - 1 ? this.scale[r] : this.vectorAdd(this.scale[r], this.vectorMult(this.vectorSubtract(this.scale[r + 1], this.scale[r]), t / i[r]))) }, vectorToNum: function (t) { var e, n = 0; for (e = 0; e < t.length; e++)n += Math.round(t[e]) * Math.pow(256, t.length - e - 1); return n }, vectorSubtract: function (t, e) { var n, i = []; for (n = 0; n < t.length; n++)i[n] = t[n] - e[n]; return i }, vectorAdd: function (t, e) { var n, i = []; for (n = 0; n < t.length; n++)i[n] = t[n] + e[n]; return i }, vectorMult: function (t, e) { var n, i = []; for (n = 0; n < t.length; n++)i[n] = t[n] * e; return i }, vectorLength: function (t) { var e, n = 0; for (e = 0; e < t.length; e++)n += t[e] * t[e]; return Math.sqrt(n) }, getTicks: function () { var t, e, n = [this.clearMinValue, this.clearMaxValue], i = n[1] - n[0], o = Math.pow(10, Math.floor(Math.log(i / 5) / Math.LN10)), r = 5 / i * o, l = []; for (.15 >= r ? o *= 10 : .35 >= r ? o *= 5 : .75 >= r && (o *= 2), n[0] = Math.floor(n[0] / o) * o, n[1] = Math.ceil(n[1] / o) * o, t = n[0]; t <= n[1];)e = t == n[0] ? this.clearMinValue : t == n[1] ? this.clearMaxValue : t, l.push({ label: t, value: this.getValue(e) }), t += o; return l } }, o.ColorScale = function () { o.ColorScale.parentClass.apply(this, arguments) }, o.inherits(o.ColorScale, o.NumericScale), o.ColorScale.prototype.setScale = function (t) { var e; for (e = 0; e < t.length; e++)this.scale[e] = o.ColorScale.rgbToArray(t[e]) }, o.ColorScale.prototype.getValue = function (t) { return o.ColorScale.numToRgb(o.ColorScale.parentClass.prototype.getValue.call(this, t)) }, o.ColorScale.arrayToRgb = function (t) { var e, n, i = "#"; for (n = 0; n < t.length; n++)i += 1 == (e = t[n].toString(16)).length ? "0" + e : e; return i }, o.ColorScale.numToRgb = function (t) { for (t = t.toString(16); t.length < 6;)t = "0" + t; return "#" + t }, o.ColorScale.rgbToArray = function (t) { return t = t.substr(1), [parseInt(t.substr(0, 2), 16), parseInt(t.substr(2, 2), 16), parseInt(t.substr(4, 2), 16)] }, o.Legend = function (t) { this.params = t || {}, this.map = this.params.map, this.series = this.params.series, this.body = o.$("<div/>"), this.body.addClass("jvectormap-legend"), this.params.cssClass && this.body.addClass(this.params.cssClass), t.vertical ? this.map.legendCntVertical.append(this.body) : this.map.legendCntHorizontal.append(this.body), this.render() }, o.Legend.prototype.render = function () { var t, e, n, i, r = this.series.scale.getTicks(), l = o.$("<div/>").addClass("jvectormap-legend-inner"); for (this.body.html(""), this.params.title && this.body.append(o.$("<div/>").addClass("jvectormap-legend-title").html(this.params.title)), this.body.append(l), t = 0; t < r.length; t++) { switch (e = o.$("<div/>").addClass("jvectormap-legend-tick"), n = o.$("<div/>").addClass("jvectormap-legend-tick-sample"), this.series.params.attribute) { case "fill": o.isImageUrl(r[t].value) ? n.css("background", "url(" + r[t].value + ")") : n.css("background", r[t].value); break; case "stroke": n.css("background", r[t].value); break; case "image": n.css("background", "url(" + r[t].value + ") no-repeat center center"); break; case "r": o.$("<div/>").css({ "border-radius": r[t].value, border: this.map.params.markerStyle.initial["stroke-width"] + "px " + this.map.params.markerStyle.initial.stroke + " solid", width: 2 * r[t].value + "px", height: 2 * r[t].value + "px", background: this.map.params.markerStyle.initial.fill }).appendTo(n) }e.append(n), i = r[t].label, this.params.labelRender && (i = this.params.labelRender(i)), e.append(o.$("<div>" + i + " </div>").addClass("jvectormap-legend-tick-text")), l.append(e) } l.append(o.$("<div/>").css("clear", "both")) }, o.DataSeries = function (t, e, n) { var i; (t = t || {}).attribute = t.attribute || "fill", this.elements = e, this.params = t, this.map = n, t.attributes && this.setAttributes(t.attributes), o.$.isArray(t.scale) ? (i = "fill" === t.attribute || "stroke" === t.attribute ? o.ColorScale : o.NumericScale, this.scale = new i(t.scale, t.normalizeFunction, t.min, t.max)) : this.scale = t.scale ? new o.OrdinalScale(t.scale) : new o.SimpleScale(t.scale), this.values = t.values || {}, this.setValues(this.values), this.params.legend && (this.legend = new o.Legend($.extend({ map: this.map, series: this }, this.params.legend))) }, o.DataSeries.prototype = { setAttributes: function (t, e) { var n, i = t; if ("string" == typeof t) this.elements[t] && this.elements[t].setStyle(this.params.attribute, e); else for (n in i) this.elements[n] && this.elements[n].element.setStyle(this.params.attribute, i[n]) }, setValues: function (t) { var e, n, i = -Number.MAX_VALUE, r = Number.MAX_VALUE, l = {}; if (this.scale instanceof o.OrdinalScale || this.scale instanceof o.SimpleScale) for (n in t) l[n] = t[n] ? this.scale.getValue(t[n]) : this.elements[n].element.style.initial[this.params.attribute]; else { if (void 0 === this.params.min || void 0 === this.params.max) for (n in t) (e = parseFloat(t[n])) > i && (i = e), r > e && (r = e); for (n in void 0 === this.params.min ? (this.scale.setMin(r), this.params.min = r) : this.scale.setMin(this.params.min), void 0 === this.params.max ? (this.scale.setMax(i), this.params.max = i) : this.scale.setMax(this.params.max), t) "indexOf" != n && (e = parseFloat(t[n]), l[n] = isNaN(e) ? this.elements[n].element.style.initial[this.params.attribute] : this.scale.getValue(e)) } this.setAttributes(l), o.$.extend(this.values, t) }, clear: function () { var t, e = {}; for (t in this.values) this.elements[t] && (e[t] = this.elements[t].element.shape.style.initial[this.params.attribute]); this.setAttributes(e), this.values = {} }, setScale: function (t) { this.scale.setScale(t), this.values && this.setValues(this.values) }, setNormalizeFunction: function (t) { this.scale.setNormalizeFunction(t), this.values && this.setValues(this.values) } }, o.Proj = { degRad: 180 / Math.PI, radDeg: Math.PI / 180, radius: 6381372, sgn: function (t) { return t > 0 ? 1 : 0 > t ? -1 : t }, mill: function (t, e, n) { return { x: this.radius * (e - n) * this.radDeg, y: -this.radius * Math.log(Math.tan((45 + .4 * t) * this.radDeg)) / .8 } }, mill_inv: function (t, e, n) { return { lat: (2.5 * Math.atan(Math.exp(.8 * e / this.radius)) - 5 * Math.PI / 8) * this.degRad, lng: (n * this.radDeg + t / this.radius) * this.degRad } }, merc: function (t, e, n) { return { x: this.radius * (e - n) * this.radDeg, y: -this.radius * Math.log(Math.tan(Math.PI / 4 + t * Math.PI / 360)) } }, merc_inv: function (t, e, n) { return { lat: (2 * Math.atan(Math.exp(e / this.radius)) - Math.PI / 2) * this.degRad, lng: (n * this.radDeg + t / this.radius) * this.degRad } }, aea: function (t, e, n) { var i = n * this.radDeg, o = 29.5 * this.radDeg, r = 45.5 * this.radDeg, l = t * this.radDeg, a = e * this.radDeg, s = (Math.sin(o) + Math.sin(r)) / 2, c = Math.cos(o) * Math.cos(o) + 2 * s * Math.sin(o), u = s * (a - i), d = Math.sqrt(c - 2 * s * Math.sin(l)) / s, h = Math.sqrt(c - 2 * s * Math.sin(0)) / s; return { x: d * Math.sin(u) * this.radius, y: -(h - d * Math.cos(u)) * this.radius } }, aea_inv: function (t, e, n) { var i = t / this.radius, o = e / this.radius, r = n * this.radDeg, l = 29.5 * this.radDeg, a = 45.5 * this.radDeg, s = (Math.sin(l) + Math.sin(a)) / 2, c = Math.cos(l) * Math.cos(l) + 2 * s * Math.sin(l), u = Math.sqrt(c - 2 * s * Math.sin(0)) / s, d = Math.sqrt(i * i + (u - o) * (u - o)), h = Math.atan(i / (u - o)); return { lat: Math.asin((c - d * d * s * s) / (2 * s)) * this.degRad, lng: (r + h / s) * this.degRad } }, lcc: function (t, e, n) { var i = n * this.radDeg, o = e * this.radDeg, r = 33 * this.radDeg, l = 45 * this.radDeg, a = t * this.radDeg, s = Math.log(Math.cos(r) * (1 / Math.cos(l))) / Math.log(Math.tan(Math.PI / 4 + l / 2) * (1 / Math.tan(Math.PI / 4 + r / 2))), c = Math.cos(r) * Math.pow(Math.tan(Math.PI / 4 + r / 2), s) / s, u = c * Math.pow(1 / Math.tan(Math.PI / 4 + a / 2), s), d = c * Math.pow(1 / Math.tan(Math.PI / 4 + 0), s); return { x: u * Math.sin(s * (o - i)) * this.radius, y: -(d - u * Math.cos(s * (o - i))) * this.radius } }, lcc_inv: function (t, e, n) { var i = t / this.radius, o = e / this.radius, r = n * this.radDeg, l = 33 * this.radDeg, a = 45 * this.radDeg, s = Math.log(Math.cos(l) * (1 / Math.cos(a))) / Math.log(Math.tan(Math.PI / 4 + a / 2) * (1 / Math.tan(Math.PI / 4 + l / 2))), c = Math.cos(l) * Math.pow(Math.tan(Math.PI / 4 + l / 2), s) / s, u = c * Math.pow(1 / Math.tan(Math.PI / 4 + 0), s), d = this.sgn(s) * Math.sqrt(i * i + (u - o) * (u - o)), h = Math.atan(i / (u - o)); return { lat: (2 * Math.atan(Math.pow(c / d, 1 / s)) - Math.PI / 2) * this.degRad, lng: (r + h / s) * this.degRad } } }, o.MapObject = function () { }, o.MapObject.prototype.getLabelText = function (t) { return this.config.label ? "function" == typeof this.config.label.render ? this.config.label.render(t) : t : null }, o.MapObject.prototype.getLabelOffsets = function (t) { var e; return this.config.label && ("function" == typeof this.config.label.offsets ? e = this.config.label.offsets(t) : "object" == i(this.config.label.offsets) && (e = this.config.label.offsets[t])), e || [0, 0] }, o.MapObject.prototype.setHovered = function (t) { this.isHovered !== t && (this.isHovered = t, this.shape.isHovered = t, this.shape.updateStyle(), this.label && (this.label.isHovered = t, this.label.updateStyle())) }, o.MapObject.prototype.setSelected = function (t) { this.isSelected !== t && (this.isSelected = t, this.shape.isSelected = t, this.shape.updateStyle(), this.label && (this.label.isSelected = t, this.label.updateStyle()), o.$(this.shape).trigger("selected", [t])) }, o.MapObject.prototype.setStyle = function () { this.shape.setStyle.apply(this.shape, arguments) }, o.MapObject.prototype.remove = function () { this.shape.remove(), this.label && this.label.remove() }, o.Region = function (t) { var e, n, i; this.config = t, this.map = this.config.map, this.shape = t.canvas.addPath({ d: t.path, "data-code": t.code }, t.style, t.canvas.rootElement), this.shape.addClass("jvectormap-region jvectormap-element"), e = this.shape.getBBox(), n = this.getLabelText(t.code), this.config.label && n && (i = this.getLabelOffsets(t.code), this.labelX = e.x + e.width / 2 + i[0], this.labelY = e.y + e.height / 2 + i[1], this.label = t.canvas.addText({ text: n, "text-anchor": "middle", "alignment-baseline": "central", x: this.labelX, y: this.labelY, "data-code": t.code }, t.labelStyle, t.labelsGroup), this.label.addClass("jvectormap-region jvectormap-element")) }, o.inherits(o.Region, o.MapObject), o.Region.prototype.updateLabelPosition = function () { this.label && this.label.set({ x: this.labelX * this.map.scale + this.map.transX * this.map.scale, y: this.labelY * this.map.scale + this.map.transY * this.map.scale }) }, o.Marker = function (t) { var e; this.config = t, this.map = this.config.map, this.isImage = !!this.config.style.initial.image, this.createShape(), e = this.getLabelText(t.index), this.config.label && e && (this.offsets = this.getLabelOffsets(t.index), this.labelX = t.cx / this.map.scale - this.map.transX, this.labelY = t.cy / this.map.scale - this.map.transY, this.label = t.canvas.addText({ text: e, "data-index": t.index, dy: "0.6ex", x: this.labelX, y: this.labelY }, t.labelStyle, t.labelsGroup), this.label.addClass("jvectormap-marker jvectormap-element")) }, o.inherits(o.Marker, o.MapObject), o.Marker.prototype.createShape = function () { var t = this; this.shape && this.shape.remove(), this.shape = this.config.canvas[this.isImage ? "addImage" : "addCircle"]({ "data-index": this.config.index, cx: this.config.cx, cy: this.config.cy }, this.config.style, this.config.group), this.shape.addClass("jvectormap-marker jvectormap-element"), this.isImage && o.$(this.shape.node).on("imageloaded", (function () { t.updateLabelPosition() })) }, o.Marker.prototype.updateLabelPosition = function () { this.label && this.label.set({ x: this.labelX * this.map.scale + this.offsets[0] + this.map.transX * this.map.scale + 5 + (this.isImage ? (this.shape.width || 0) / 2 : this.shape.properties.r), y: this.labelY * this.map.scale + this.map.transY * this.map.scale + this.offsets[1] }) }, o.Marker.prototype.setStyle = function (t) { var e; o.Marker.parentClass.prototype.setStyle.apply(this, arguments), "r" === t && this.updateLabelPosition(), (e = !!this.shape.get("image")) != this.isImage && (this.isImage = e, this.config.style = o.$.extend(!0, {}, this.shape.style), this.createShape()) }, o.Map = function (t) { var e, n = this; if (this.params = o.$.extend(!0, {}, o.Map.defaultParams, t), !o.Map.maps[this.params.map]) throw new Error("Attempt to use map which was not loaded: " + this.params.map); for (e in this.mapData = o.Map.maps[this.params.map], this.markers = {}, this.regions = {}, this.regionsColors = {}, this.regionsData = {}, this.container = o.$("<div>").addClass("jvectormap-container"), this.params.container && this.params.container.append(this.container), this.container.data("mapObject", this), this.defaultWidth = this.mapData.width, this.defaultHeight = this.mapData.height, this.setBackgroundColor(this.params.backgroundColor), this.onResize = function () { n.updateSize() }, o.$(window).resize(this.onResize), o.Map.apiEvents) this.params[e] && this.container.bind(o.Map.apiEvents[e] + ".jvectormap", this.params[e]); this.canvas = new o.VectorCanvas(this.container[0], this.width, this.height), this.params.bindTouchEvents && ("ontouchstart" in window || window.DocumentTouch && document instanceof DocumentTouch ? this.bindContainerTouchEvents() : window.MSGesture && this.bindContainerPointerEvents()), this.bindContainerEvents(), this.bindElementEvents(), this.createTip(), this.params.zoomButtons && this.bindZoomButtons(), this.createRegions(), this.createMarkers(this.params.markers || {}), this.updateSize(), this.params.focusOn && ("string" == typeof this.params.focusOn ? this.params.focusOn = { region: this.params.focusOn } : o.$.isArray(this.params.focusOn) && (this.params.focusOn = { regions: this.params.focusOn }), this.setFocus(this.params.focusOn)), this.params.selectedRegions && this.setSelectedRegions(this.params.selectedRegions), this.params.selectedMarkers && this.setSelectedMarkers(this.params.selectedMarkers), this.legendCntHorizontal = o.$("<div/>").addClass("jvectormap-legend-cnt jvectormap-legend-cnt-h"), this.legendCntVertical = o.$("<div/>").addClass("jvectormap-legend-cnt jvectormap-legend-cnt-v"), this.container.append(this.legendCntHorizontal), this.container.append(this.legendCntVertical), this.params.series && this.createSeries() }, o.Map.prototype = { transX: 0, transY: 0, scale: 1, baseTransX: 0, baseTransY: 0, baseScale: 1, width: 0, height: 0, setBackgroundColor: function (t) { this.container.css("background-color", t) }, resize: function () { var t = this.baseScale; this.width / this.height > this.defaultWidth / this.defaultHeight ? (this.baseScale = this.height / this.defaultHeight, this.baseTransX = Math.abs(this.width - this.defaultWidth * this.baseScale) / (2 * this.baseScale)) : (this.baseScale = this.width / this.defaultWidth, this.baseTransY = Math.abs(this.height - this.defaultHeight * this.baseScale) / (2 * this.baseScale)), this.scale *= this.baseScale / t, this.transX *= this.baseScale / t, this.transY *= this.baseScale / t }, updateSize: function () { this.width = this.container.width(), this.height = this.container.height(), this.resize(), this.canvas.setSize(this.width, this.height), this.applyTransform() }, reset: function () { var t, e; for (t in this.series) for (e = 0; e < this.series[t].length; e++)this.series[t][e].clear(); this.scale = this.baseScale, this.transX = this.baseTransX, this.transY = this.baseTransY, this.applyTransform() }, applyTransform: function () { var t, e, n, i; this.defaultWidth * this.scale <= this.width ? (t = (this.width - this.defaultWidth * this.scale) / (2 * this.scale), n = (this.width - this.defaultWidth * this.scale) / (2 * this.scale)) : (t = 0, n = (this.width - this.defaultWidth * this.scale) / this.scale), this.defaultHeight * this.scale <= this.height ? (e = (this.height - this.defaultHeight * this.scale) / (2 * this.scale), i = (this.height - this.defaultHeight * this.scale) / (2 * this.scale)) : (e = 0, i = (this.height - this.defaultHeight * this.scale) / this.scale), this.transY > e ? this.transY = e : this.transY < i && (this.transY = i), this.transX > t ? this.transX = t : this.transX < n && (this.transX = n), this.canvas.applyTransformParams(this.scale, this.transX, this.transY), this.markers && this.repositionMarkers(), this.repositionLabels(), this.container.trigger("viewportChange", [this.scale / this.baseScale, this.transX, this.transY]) }, bindContainerEvents: function () { var t, e, n = !1, i = this; this.params.panOnDrag && (this.container.mousemove((function (o) { return n && (i.transX -= (t - o.pageX) / i.scale, i.transY -= (e - o.pageY) / i.scale, i.applyTransform(), t = o.pageX, e = o.pageY), !1 })).mousedown((function (i) { return n = !0, t = i.pageX, e = i.pageY, !1 })), this.onContainerMouseUp = function () { n = !1 }, o.$("body").mouseup(this.onContainerMouseUp)), this.params.zoomOnScroll && this.container.mousewheel((function (t) { var e = o.$(i.container).offset(), n = t.pageX - e.left, r = t.pageY - e.top, l = Math.pow(1 + i.params.zoomOnScrollSpeed / 1e3, t.deltaFactor * t.deltaY); i.tip.hide(), i.setScale(i.scale * l, n, r), t.preventDefault() })) }, bindContainerTouchEvents: function () { var t, e, n, i, r, l, a, s = this, c = function (c) { var u, d, h, f, p = c.originalEvent.touches; "touchstart" == c.type && (a = 0), 1 == p.length ? (1 == a && (h = s.transX, f = s.transY, s.transX -= (n - p[0].pageX) / s.scale, s.transY -= (i - p[0].pageY) / s.scale, s.applyTransform(), s.tip.hide(), (h != s.transX || f != s.transY) && c.preventDefault()), n = p[0].pageX, i = p[0].pageY) : 2 == p.length && (2 == a ? (d = Math.sqrt(Math.pow(p[0].pageX - p[1].pageX, 2) + Math.pow(p[0].pageY - p[1].pageY, 2)) / e, s.setScale(t * d, r, l), s.tip.hide(), c.preventDefault()) : (u = o.$(s.container).offset(), r = p[0].pageX > p[1].pageX ? p[1].pageX + (p[0].pageX - p[1].pageX) / 2 : p[0].pageX + (p[1].pageX - p[0].pageX) / 2, l = p[0].pageY > p[1].pageY ? p[1].pageY + (p[0].pageY - p[1].pageY) / 2 : p[0].pageY + (p[1].pageY - p[0].pageY) / 2, r -= u.left, l -= u.top, t = s.scale, e = Math.sqrt(Math.pow(p[0].pageX - p[1].pageX, 2) + Math.pow(p[0].pageY - p[1].pageY, 2)))), a = p.length }; o.$(this.container).bind("touchstart", c), o.$(this.container).bind("touchmove", c) }, bindContainerPointerEvents: function () { var t = this, e = new MSGesture, n = this.container[0]; e.target = n, n.addEventListener("MSGestureChange", (function (e) { var n, i; (0 != e.translationX || 0 != e.translationY) && (n = t.transX, i = t.transY, t.transX += e.translationX / t.scale, t.transY += e.translationY / t.scale, t.applyTransform(), t.tip.hide(), (n != t.transX || i != t.transY) && e.preventDefault()), 1 != e.scale && (t.setScale(t.scale * e.scale, e.offsetX, e.offsetY), t.tip.hide(), e.preventDefault()) }), !1), n.addEventListener("pointerdown", (function (t) { e.addPointer(t.pointerId) }), !1) }, bindElementEvents: function () { var t, e, n, i = this; this.container.mousemove((function (i) { Math.abs(t - i.pageX) + Math.abs(e - i.pageY) > 2 && (n = !0) })), this.container.delegate("[class~='jvectormap-element']", "mouseover mouseout", (function (t) { var e = -1 === (o.$(this).attr("class").baseVal || o.$(this).attr("class")).indexOf("jvectormap-region") ? "marker" : "region", n = o.$(this).attr("region" == e ? "data-code" : "data-index"), r = "region" == e ? i.regions[n].element : i.markers[n].element, l = "region" == e ? i.mapData.paths[n].name : i.markers[n].config.name || "", a = o.$.Event(e + "TipShow.jvectormap"), s = o.$.Event(e + "Over.jvectormap"); "mouseover" == t.type ? (i.container.trigger(s, [n]), s.isDefaultPrevented() || r.setHovered(!0), i.tip.text(l), i.container.trigger(a, [i.tip, n]), a.isDefaultPrevented() || (i.tip.show(), i.tipWidth = i.tip.width(), i.tipHeight = i.tip.height())) : (r.setHovered(!1), i.tip.hide(), i.container.trigger(e + "Out.jvectormap", [n])) })), this.container.delegate("[class~='jvectormap-element']", "mousedown", (function (i) { t = i.pageX, e = i.pageY, n = !1 })), this.container.delegate("[class~='jvectormap-element']", "mouseup", (function () { var t = -1 === (o.$(this).attr("class").baseVal ? o.$(this).attr("class").baseVal : o.$(this).attr("class")).indexOf("jvectormap-region") ? "marker" : "region", e = o.$(this).attr("region" == t ? "data-code" : "data-index"), r = o.$.Event(t + "Click.jvectormap"), l = "region" == t ? i.regions[e].element : i.markers[e].element; n || (i.container.trigger(r, [e]), ("region" === t && i.params.regionsSelectable || "marker" === t && i.params.markersSelectable) && (r.isDefaultPrevented() || (i.params[t + "sSelectableOne"] && i.clearSelected(t + "s"), l.setSelected(!l.isSelected)))) })) }, bindZoomButtons: function () { var t = this; o.$("<div/>").addClass("jvectormap-zoomin").text("+").appendTo(this.container), o.$("<div/>").addClass("jvectormap-zoomout").html("&#x2212;").appendTo(this.container), this.container.find(".jvectormap-zoomin").click((function () { t.setScale(t.scale * t.params.zoomStep, t.width / 2, t.height / 2, !1, t.params.zoomAnimate) })), this.container.find(".jvectormap-zoomout").click((function () { t.setScale(t.scale / t.params.zoomStep, t.width / 2, t.height / 2, !1, t.params.zoomAnimate) })) }, createTip: function () { var t = this; this.tip = o.$("<div/>").addClass("jvectormap-tip").appendTo(o.$("body")), this.container.mousemove((function (e) { var n = e.pageX - 15 - t.tipWidth, i = e.pageY - 15 - t.tipHeight; 5 > n && (n = e.pageX + 15), 5 > i && (i = e.pageY + 15), t.tip.css({ left: n, top: i }) })) }, setScale: function (t, e, n, i, r) { var l, a, s, c, u, d, h, f, p, m = o.$.Event("zoom.jvectormap"), g = this, v = 0, y = Math.abs(Math.round(60 * (t - this.scale) / Math.max(t, this.scale))), b = new o.$.Deferred; return t > this.params.zoomMax * this.baseScale ? t = this.params.zoomMax * this.baseScale : t < this.params.zoomMin * this.baseScale && (t = this.params.zoomMin * this.baseScale), void 0 !== e && void 0 !== n && (zoomStep = t / this.scale, i ? (f = e + this.defaultWidth * (this.width / (this.defaultWidth * t)) / 2, p = n + this.defaultHeight * (this.height / (this.defaultHeight * t)) / 2) : (f = this.transX - (zoomStep - 1) / t * e, p = this.transY - (zoomStep - 1) / t * n)), r && y > 0 ? (a = this.scale, s = (t - a) / y, c = this.transX * this.scale, d = this.transY * this.scale, u = (f * t - c) / y, h = (p * t - d) / y, l = setInterval((function () { v += 1, g.scale = a + s * v, g.transX = (c + u * v) / g.scale, g.transY = (d + h * v) / g.scale, g.applyTransform(), v == y && (clearInterval(l), g.container.trigger(m, [t / g.baseScale]), b.resolve()) }), 10)) : (this.transX = f, this.transY = p, this.scale = t, this.applyTransform(), this.container.trigger(m, [t / this.baseScale]), b.resolve()), b }, setFocus: function (t) { var e, n, i, o, r; if ((t = t || {}).region ? i = [t.region] : t.regions && (i = t.regions), i) { for (o = 0; o < i.length; o++)this.regions[i[o]] && ((n = this.regions[i[o]].element.shape.getBBox()) && (void 0 === e ? e = n : e = { x: Math.min(e.x, n.x), y: Math.min(e.y, n.y), width: Math.max(e.x + e.width, n.x + n.width) - Math.min(e.x, n.x), height: Math.max(e.y + e.height, n.y + n.height) - Math.min(e.y, n.y) })); return this.setScale(Math.min(this.width / e.width, this.height / e.height), -(e.x + e.width / 2), -(e.y + e.height / 2), !0, t.animate) } return t.lat && t.lng ? (r = this.latLngToPoint(t.lat, t.lng), t.x = this.transX - r.x / this.scale, t.y = this.transY - r.y / this.scale) : t.x && t.y && (t.x *= -this.defaultWidth, t.y *= -this.defaultHeight), this.setScale(t.scale * this.baseScale, t.x, t.y, !0, t.animate) }, getSelected: function (t) { var e, n = []; for (e in this[t]) this[t][e].element.isSelected && n.push(e); return n }, getSelectedRegions: function () { return this.getSelected("regions") }, getSelectedMarkers: function () { return this.getSelected("markers") }, setSelected: function (t, e) { var n; if ("object" != i(e) && (e = [e]), o.$.isArray(e)) for (n = 0; n < e.length; n++)this[t][e[n]].element.setSelected(!0); else for (n in e) this[t][n].element.setSelected(!!e[n]) }, setSelectedRegions: function (t) { this.setSelected("regions", t) }, setSelectedMarkers: function (t) { this.setSelected("markers", t) }, clearSelected: function (t) { var e, n = {}, i = this.getSelected(t); for (e = 0; e < i.length; e++)n[i[e]] = !1; this.setSelected(t, n) }, clearSelectedRegions: function () { this.clearSelected("regions") }, clearSelectedMarkers: function () { this.clearSelected("markers") }, getMapObject: function () { return this }, getRegionName: function (t) { return this.mapData.paths[t].name }, createRegions: function () { var t, e, n = this; for (t in this.regionLabelsGroup = this.regionLabelsGroup || this.canvas.addGroup(), this.mapData.paths) e = new o.Region({ map: this, path: this.mapData.paths[t].path, code: t, style: o.$.extend(!0, {}, this.params.regionStyle), labelStyle: o.$.extend(!0, {}, this.params.regionLabelStyle), canvas: this.canvas, labelsGroup: this.regionLabelsGroup, label: "vml" != this.canvas.mode ? this.params.labels && this.params.labels.regions : null }), o.$(e.shape).bind("selected", (function (t, e) { n.container.trigger("regionSelected.jvectormap", [o.$(this.node).attr("data-code"), e, n.getSelectedRegions()]) })), this.regions[t] = { element: e, config: this.mapData.paths[t] } }, createMarkers: function (t) { var e, n, i, r, l, a = this; if (this.markersGroup = this.markersGroup || this.canvas.addGroup(), this.markerLabelsGroup = this.markerLabelsGroup || this.canvas.addGroup(), o.$.isArray(t)) for (l = t.slice(), t = {}, e = 0; e < l.length; e++)t[e] = l[e]; for (e in t) r = t[e] instanceof Array ? { latLng: t[e] } : t[e], !1 !== (i = this.getMarkerPosition(r)) && (n = new o.Marker({ map: this, style: o.$.extend(!0, {}, this.params.markerStyle, { initial: r.style || {} }), labelStyle: o.$.extend(!0, {}, this.params.markerLabelStyle), index: e, cx: i.x, cy: i.y, group: this.markersGroup, canvas: this.canvas, labelsGroup: this.markerLabelsGroup, label: "vml" != this.canvas.mode ? this.params.labels && this.params.labels.markers : null }), o.$(n.shape).bind("selected", (function (t, e) { a.container.trigger("markerSelected.jvectormap", [o.$(this.node).attr("data-index"), e, a.getSelectedMarkers()]) })), this.markers[e] && this.removeMarkers([e]), this.markers[e] = { element: n, config: r }) }, repositionMarkers: function () { var t, e; for (t in this.markers) !1 !== (e = this.getMarkerPosition(this.markers[t].config)) && this.markers[t].element.setStyle({ cx: e.x, cy: e.y }) }, repositionLabels: function () { var t; for (t in this.regions) this.regions[t].element.updateLabelPosition(); for (t in this.markers) this.markers[t].element.updateLabelPosition() }, getMarkerPosition: function (t) { return o.Map.maps[this.params.map].projection ? this.latLngToPoint.apply(this, t.latLng || [0, 0]) : { x: t.coords[0] * this.scale + this.transX * this.scale, y: t.coords[1] * this.scale + this.transY * this.scale } }, addMarker: function (t, e, n) { var i, o, r = {}, l = []; n = n || []; for (r[t] = e, o = 0; o < n.length; o++)i = {}, void 0 !== n[o] && (i[t] = n[o]), l.push(i); this.addMarkers(r, l) }, addMarkers: function (t, e) { var n; for (e = e || [], this.createMarkers(t), n = 0; n < e.length; n++)this.series.markers[n].setValues(e[n] || {}) }, removeMarkers: function (t) { var e; for (e = 0; e < t.length; e++)this.markers[t[e]].element.remove(), delete this.markers[t[e]] }, removeAllMarkers: function () { var t, e = []; for (t in this.markers) e.push(t); this.removeMarkers(e) }, latLngToPoint: function (t, e) { var n, i, r, l = o.Map.maps[this.params.map].projection, a = l.centralMeridian; return -180 + a > e && (e += 360), n = o.Proj[l.type](t, e, a), !!(i = this.getInsetForPoint(n.x, n.y)) && (r = i.bbox, n.x = (n.x - r[0].x) / (r[1].x - r[0].x) * i.width * this.scale, n.y = (n.y - r[0].y) / (r[1].y - r[0].y) * i.height * this.scale, { x: n.x + this.transX * this.scale + i.left * this.scale, y: n.y + this.transY * this.scale + i.top * this.scale }) }, pointToLatLng: function (t, e) { var n, i, r, l, a, s = o.Map.maps[this.params.map].projection, c = s.centralMeridian, u = o.Map.maps[this.params.map].insets; for (n = 0; n < u.length; n++)if (r = (i = u[n]).bbox, l = t - (this.transX * this.scale + i.left * this.scale), a = e - (this.transY * this.scale + i.top * this.scale), l = l / (i.width * this.scale) * (r[1].x - r[0].x) + r[0].x, a = a / (i.height * this.scale) * (r[1].y - r[0].y) + r[0].y, l > r[0].x && l < r[1].x && a > r[0].y && a < r[1].y) return o.Proj[s.type + "_inv"](l, -a, c); return !1 }, getInsetForPoint: function (t, e) { var n, i, r = o.Map.maps[this.params.map].insets; for (n = 0; n < r.length; n++)if (t > (i = r[n].bbox)[0].x && t < i[1].x && e > i[0].y && e < i[1].y) return r[n] }, createSeries: function () { var t, e; for (e in this.series = { markers: [], regions: [] }, this.params.series) for (t = 0; t < this.params.series[e].length; t++)this.series[e][t] = new o.DataSeries(this.params.series[e][t], this[e], this) }, remove: function () { this.tip.remove(), this.container.remove(), o.$(window).unbind("resize", this.onResize), o.$("body").unbind("mouseup", this.onContainerMouseUp) } }, o.Map.maps = {}, o.Map.defaultParams = { map: "world_mill_en", backgroundColor: "#505050", zoomButtons: !0, zoomOnScroll: !0, zoomOnScrollSpeed: 3, panOnDrag: !0, zoomMax: 8, zoomMin: 1, zoomStep: 1.6, zoomAnimate: !0, regionsSelectable: !1, markersSelectable: !1, bindTouchEvents: !0, regionStyle: { initial: { fill: "white", "fill-opacity": 1, stroke: "none", "stroke-width": 0, "stroke-opacity": 1 }, hover: { "fill-opacity": .8, cursor: "pointer" }, selected: { fill: "yellow" }, selectedHover: {} }, regionLabelStyle: { initial: { "font-family": "Verdana", "font-size": "12", "font-weight": "bold", cursor: "default", fill: "black" }, hover: { cursor: "pointer" } }, markerStyle: { initial: { fill: "grey", stroke: "#505050", "fill-opacity": 1, "stroke-width": 1, "stroke-opacity": 1, r: 5 }, hover: { stroke: "black", "stroke-width": 2, cursor: "pointer" }, selected: { fill: "blue" }, selectedHover: {} }, markerLabelStyle: { initial: { "font-family": "Verdana", "font-size": "12", "font-weight": "bold", cursor: "default", fill: "black" }, hover: { cursor: "pointer" } } }, o.Map.apiEvents = { onRegionTipShow: "regionTipShow", onRegionOver: "regionOver", onRegionOut: "regionOut", onRegionClick: "regionClick", onRegionSelected: "regionSelected", onMarkerTipShow: "markerTipShow", onMarkerOver: "markerOver", onMarkerOut: "markerOut", onMarkerClick: "markerClick", onMarkerSelected: "markerSelected", onViewportChange: "viewportChange" }, o.MultiMap = function (t) { var e = this; this.maps = {}, this.params = o.$.extend(!0, {}, o.MultiMap.defaultParams, t), this.params.maxLevel = this.params.maxLevel || Number.MAX_VALUE, this.params.main = this.params.main || {}, this.params.main.multiMapLevel = 0, this.history = [this.addMap(this.params.main.map, this.params.main)], this.defaultProjection = this.history[0].mapData.projection.type, this.mapsLoaded = {}, this.params.container.css({ position: "relative" }), this.backButton = o.$("<div/>").addClass("jvectormap-goback").text("Back").appendTo(this.params.container), this.backButton.hide(), this.backButton.click((function () { e.goBack() })), this.spinner = o.$("<div/>").addClass("jvectormap-spinner").appendTo(this.params.container), this.spinner.hide() }, o.MultiMap.prototype = { addMap: function (t, e) { var n = o.$("<div/>").css({ width: "100%", height: "100%" }); return this.params.container.append(n), this.maps[t] = new o.Map(o.$.extend(e, { container: n })), this.params.maxLevel > e.multiMapLevel && this.maps[t].container.on("regionClick.jvectormap", { scope: this }, (function (t, e) { var n = t.data.scope, i = n.params.mapNameByCode(e, n); n.drillDownPromise && "pending" === n.drillDownPromise.state() || n.drillDown(i, e) })), this.maps[t] }, downloadMap: function (t) { var e = this, n = o.$.Deferred(); return this.mapsLoaded[t] ? n.resolve() : o.$.get(this.params.mapUrlByCode(t, this)).then((function () { e.mapsLoaded[t] = !0, n.resolve() }), (function () { n.reject() })), n }, drillDown: function (t, e) { var n = this.history[this.history.length - 1], i = this, r = n.setFocus({ region: e, animate: !0 }), l = this.downloadMap(e); r.then((function () { "pending" === l.state() && i.spinner.show() })), l.always((function () { i.spinner.hide() })), this.drillDownPromise = o.$.when(l, r), this.drillDownPromise.then((function () { n.params.container.hide(), i.maps[t] ? i.maps[t].params.container.show() : i.addMap(t, { map: t, multiMapLevel: n.params.multiMapLevel + 1 }), i.history.push(i.maps[t]), i.backButton.show() })) }, goBack: function () { var t = this.history.pop(), e = this.history[this.history.length - 1], n = this; t.setFocus({ scale: 1, x: .5, y: .5, animate: !0 }).then((function () { t.params.container.hide(), e.params.container.show(), e.updateSize(), 1 === n.history.length && n.backButton.hide(), e.setFocus({ scale: 1, x: .5, y: .5, animate: !0 }) })) } }, o.MultiMap.defaultParams = { mapNameByCode: function (t, e) { return t.toLowerCase() + "_" + e.defaultProjection + "_en" }, mapUrlByCode: function (t, e) { return "jquery-jvectormap-data-" + t.toLowerCase() + "-" + e.defaultProjection + "-en.js" } } }).call(this, n(27)(t)) }, function (t, e) { jQuery.fn.vectorMap("addMap", "world_mill_en", { insets: [{ width: 900, top: 0, height: 440.70631074413296, bbox: [{ y: -12671671.123330014, x: -20004297.151525836 }, { y: 6930392.025135122, x: 20026572.39474939 }], left: 0 }], paths: { BD: { path: "M651.84,230.21l-0.6,-2.0l-1.36,-1.71l-2.31,-0.11l-0.41,0.48l0.2,0.94l-0.53,0.99l-0.72,-0.36l-0.68,0.35l-1.2,-0.36l-0.37,-2.0l-0.81,-1.86l0.39,-1.46l-0.22,-0.47l-1.14,-0.53l0.29,-0.5l1.48,-0.94l0.03,-0.65l-1.55,-1.22l0.55,-1.14l1.61,0.94l1.04,0.15l0.18,1.54l0.34,0.35l5.64,0.63l-0.84,1.64l-1.22,0.34l-0.77,1.51l0.07,0.47l1.37,1.37l0.67,-0.19l0.42,-1.39l1.21,3.84l-0.03,1.21l-0.33,-0.15l-0.4,0.28Z", name: "Bangladesh" }, BE: { path: "M429.29,144.05l1.91,0.24l2.1,-0.63l2.63,1.99l-0.21,1.66l-0.69,0.4l-0.18,1.2l-1.66,-1.13l-1.39,0.15l-2.73,-2.7l-1.17,-0.18l-0.16,-0.52l1.54,-0.5Z", name: "Belgium" }, BF: { path: "M421.42,247.64l-0.11,0.95l0.34,1.16l1.4,1.71l0.07,1.1l0.32,0.37l2.55,0.51l-0.04,1.28l-0.38,0.53l-1.07,0.21l-0.72,1.18l-0.63,0.21l-3.22,-0.25l-0.94,0.39l-5.4,-0.05l-0.39,0.38l0.16,2.73l-1.23,-0.43l-1.17,0.1l-0.89,0.57l-2.27,-1.72l-0.13,-1.11l0.61,-0.96l0.02,-0.93l1.87,-1.98l0.44,-1.81l0.43,-0.39l1.28,0.26l1.05,-0.52l0.47,-0.73l1.84,-1.09l0.55,-0.83l2.2,-1.0l1.15,-0.3l0.72,0.45l1.13,-0.01Z", name: "Burkina Faso" }, BG: { path: "M491.65,168.18l-0.86,0.88l-0.91,2.17l0.48,1.34l-1.6,-0.24l-2.55,0.95l-0.28,1.51l-1.8,0.22l-2.0,-1.0l-1.92,0.79l-1.42,-0.07l-0.15,-1.63l-1.05,-0.97l0.0,-0.8l1.2,-1.57l0.01,-0.56l-1.14,-1.23l-0.05,-0.94l0.88,0.97l0.88,-0.2l1.91,0.47l3.68,0.16l1.42,-0.81l2.72,-0.66l2.55,1.24Z", name: "Bulgaria" }, BA: { path: "M463.49,163.65l2.1,0.5l1.72,-0.03l1.52,0.68l-0.36,0.78l0.08,0.45l1.04,1.02l-0.25,0.98l-1.81,1.15l-0.38,1.38l-1.67,-0.87l-0.89,-1.2l-2.11,-1.83l-1.63,-2.22l0.23,-0.57l0.48,0.38l0.55,-0.06l0.43,-0.51l0.94,-0.06Z", name: "Bosnia and Herz." }, BN: { path: "M707.48,273.58l0.68,-0.65l1.41,-0.91l-0.15,1.63l-0.81,-0.05l-0.61,0.58l-0.53,-0.6Z", name: "Brunei" }, BO: { path: "M263.83,340.69l-3.09,-0.23l-0.38,0.23l-0.7,1.52l-1.31,-1.53l-3.28,-0.64l-2.37,2.4l-1.31,0.26l-0.88,-3.26l-1.3,-2.86l0.74,-2.37l-0.13,-0.43l-1.2,-1.01l-0.37,-1.89l-1.08,-1.55l1.45,-2.56l-0.96,-2.33l0.47,-1.06l-0.34,-0.73l0.91,-1.32l0.16,-3.84l0.5,-1.18l-1.81,-3.41l2.46,0.07l0.8,-0.85l3.4,-1.91l2.66,-0.35l-0.19,1.38l0.3,1.07l-0.05,1.97l2.72,2.27l2.88,0.49l0.89,0.86l1.79,0.58l0.98,0.7l1.71,0.05l1.17,0.61l0.6,2.7l-0.7,0.54l0.96,2.99l0.37,0.28l4.3,0.1l-0.25,1.2l0.27,1.02l1.43,0.9l0.5,1.35l-0.41,1.86l-0.65,1.08l0.12,1.35l-2.69,-1.65l-2.4,-0.03l-4.36,0.76l-1.49,2.5l-0.11,1.52l-0.75,2.37Z", name: "Bolivia" }, JP: { path: "M781.12,166.87l1.81,0.68l1.62,-0.97l0.39,2.42l-3.35,0.75l-2.23,2.88l-3.63,-1.9l-0.56,0.2l-1.26,3.05l-2.16,0.03l-0.29,-2.51l1.08,-2.03l2.45,-0.16l0.37,-0.33l1.25,-5.94l2.47,2.71l2.03,1.12ZM773.56,187.34l-0.91,2.22l0.37,1.52l-1.14,1.75l-3.02,1.26l-4.58,0.27l-3.34,3.01l-1.25,-0.8l-0.09,-1.9l-0.46,-0.38l-4.35,0.62l-3.0,1.32l-2.85,0.05l-0.37,0.27l0.13,0.44l2.32,1.89l-1.54,4.34l-1.26,0.9l-0.79,-0.7l0.56,-2.27l-0.21,-0.45l-1.47,-0.75l-0.74,-1.4l2.12,-0.84l1.26,-1.7l2.45,-1.42l1.83,-1.91l4.78,-0.81l2.6,0.57l0.44,-0.21l2.39,-4.66l1.29,1.06l0.5,0.01l5.1,-4.02l1.69,-3.73l-0.38,-3.4l0.9,-1.61l2.14,-0.44l1.23,3.72l-0.07,2.18l-2.23,2.84l-0.04,3.16ZM757.78,196.26l0.19,0.56l-1.01,1.21l-1.16,-0.68l-1.28,0.65l-0.69,1.45l-1.02,-0.5l0.01,-0.93l1.14,-1.38l1.57,0.14l0.85,-0.98l1.4,0.46Z", name: "Japan" }, BI: { path: "M495.45,295.49l-1.08,-2.99l1.14,-0.11l0.64,-1.19l0.76,0.09l0.65,1.83l-2.1,2.36Z", name: "Burundi" }, BJ: { path: "M429.57,255.75l-0.05,0.8l0.5,1.34l-0.42,0.86l0.17,0.79l-1.81,2.12l-0.57,1.76l-0.08,5.42l-1.41,0.2l-0.48,-1.36l0.11,-5.71l-0.52,-0.7l-0.2,-1.35l-1.48,-1.48l0.21,-0.9l0.89,-0.43l0.42,-0.92l1.27,-0.36l1.22,-1.34l0.61,-0.0l1.62,1.24Z", name: "Benin" }, BT: { path: "M650.32,213.86l0.84,0.71l-0.12,1.1l-3.76,-0.11l-1.57,0.4l-1.93,-0.87l1.48,-1.96l1.13,-0.57l1.63,0.57l1.33,0.08l0.99,0.65Z", name: "Bhutan" }, JM: { path: "M228.38,239.28l-0.8,0.4l-2.26,-1.06l0.84,-0.23l2.14,0.3l1.17,0.56l-1.08,0.03Z", name: "Jamaica" }, BW: { path: "M483.92,330.07l2.27,4.01l2.83,2.86l0.96,0.31l0.78,2.43l2.13,0.61l1.02,0.76l-3.0,1.64l-2.32,2.02l-1.54,2.69l-1.52,0.45l-0.64,1.94l-1.34,0.52l-1.85,-0.12l-1.21,-0.74l-1.35,-0.3l-1.22,0.62l-0.75,1.37l-2.31,1.9l-1.4,0.21l-0.35,-0.59l0.16,-1.75l-1.48,-2.54l-0.62,-0.43l-0.0,-7.1l2.08,-0.08l0.39,-0.4l0.07,-8.9l5.19,-0.93l0.8,0.89l0.51,0.07l1.5,-0.95l2.21,-0.49Z", name: "Botswana" }, BR: { path: "M259.98,275.05l3.24,0.7l0.65,-0.53l4.55,-1.32l1.08,-1.06l-0.02,-0.63l0.55,-0.05l0.28,0.28l-0.26,0.87l0.22,0.48l0.73,0.32l0.4,0.81l-0.62,0.86l-0.4,2.13l0.82,2.56l1.69,1.43l1.43,0.2l3.17,-1.68l3.18,0.3l0.65,-0.75l-0.27,-0.92l1.9,-0.09l2.39,0.99l1.06,-0.61l0.84,0.78l1.2,-0.18l1.18,-1.06l0.84,-1.94l1.36,-2.11l0.37,-0.05l1.89,5.45l1.33,0.59l0.05,1.28l-1.77,1.94l0.02,0.56l1.02,0.87l4.07,0.36l0.08,2.16l0.66,0.29l1.74,-1.5l6.97,2.32l1.02,1.22l-0.35,1.18l0.49,0.5l2.81,-0.74l4.77,1.3l3.75,-0.08l3.57,2.0l3.29,2.86l1.93,0.72l2.12,0.12l0.71,0.62l1.21,4.51l-0.95,3.98l-4.72,5.06l-1.64,2.92l-1.72,2.05l-0.8,0.3l-0.72,2.03l0.18,4.75l-0.94,5.53l-0.81,1.13l-0.43,3.36l-2.55,3.5l-0.4,2.51l-1.86,1.04l-0.67,1.53l-2.54,0.01l-3.94,1.01l-1.83,1.2l-2.87,0.82l-3.03,2.19l-2.2,2.83l-0.36,2.0l0.4,1.58l-0.44,2.6l-0.51,1.2l-1.77,1.54l-2.75,4.78l-3.83,3.42l-1.24,2.74l-1.18,1.15l-0.36,-0.83l0.95,-1.14l0.01,-0.5l-1.52,-1.97l-4.56,-3.32l-1.03,-0.0l-2.38,-2.02l-0.81,-0.0l5.34,-5.45l3.77,-2.58l0.22,-2.46l-1.35,-1.81l-0.91,0.07l0.58,-2.33l0.01,-1.54l-1.11,-0.83l-1.75,0.3l-0.44,-3.11l-0.52,-0.95l-1.88,-0.88l-1.24,0.47l-2.17,-0.41l0.15,-3.21l-0.62,-1.34l0.66,-0.73l-0.22,-1.34l0.66,-1.13l0.44,-2.04l-0.61,-1.83l-1.4,-0.86l-0.2,-0.75l0.34,-1.39l-0.38,-0.5l-4.52,-0.1l-0.72,-2.22l0.59,-0.42l-0.03,-1.1l-0.5,-0.87l-0.32,-1.7l-1.45,-0.76l-1.63,-0.02l-1.05,-0.72l-1.6,-0.48l-1.13,-0.99l-2.69,-0.4l-2.47,-2.06l0.13,-4.35l-0.45,-0.45l-3.46,0.5l-3.44,1.94l-0.6,0.74l-2.9,-0.17l-1.47,0.42l-0.72,-0.18l0.15,-3.52l-0.63,-0.34l-1.94,1.41l-1.87,-0.06l-0.83,-1.18l-1.37,-0.26l0.21,-1.01l-1.35,-1.49l-0.88,-1.91l0.56,-0.6l-0.0,-0.81l1.29,-0.62l0.22,-0.43l-0.22,-1.19l0.61,-0.91l0.15,-0.99l2.65,-1.58l1.99,-0.47l0.42,-0.36l2.06,0.11l0.42,-0.33l1.19,-8.0l-0.41,-1.56l-1.1,-1.0l0.01,-1.33l1.91,-0.42l0.08,-0.96l-0.33,-0.43l-1.14,-0.2l-0.02,-0.83l4.47,0.05l0.82,-0.67l0.82,1.81l0.8,0.07l1.15,1.1l2.26,-0.05l0.71,-0.83l2.78,-0.96l0.48,-1.13l1.6,-0.64l0.24,-0.47l-0.48,-0.82l-1.83,-0.19l-0.36,-3.22Z", name: "Brazil" }, BS: { path: "M226.4,223.87l-0.48,-1.15l-0.84,-0.75l0.36,-1.11l0.95,1.95l0.01,1.06ZM225.56,216.43l-1.87,0.29l-0.04,-0.22l0.74,-0.14l1.17,0.06Z", name: "Bahamas" }, BY: { path: "M493.84,128.32l0.29,0.7l0.49,0.23l1.19,-0.38l2.09,0.72l0.19,1.26l-0.45,1.24l1.57,2.26l0.89,0.59l0.17,0.81l1.58,0.56l0.4,0.5l-0.53,0.41l-1.87,-0.11l-0.73,0.38l-0.13,0.52l1.04,2.74l-1.91,0.26l-0.89,0.99l-0.11,1.18l-2.73,-0.04l-0.53,-0.62l-0.52,-0.08l-0.75,0.46l-0.91,-0.42l-1.92,-0.07l-2.75,-0.79l-2.6,-0.28l-2.0,0.07l-1.5,0.92l-0.67,0.07l-0.08,-1.22l-0.59,-1.19l1.36,-0.88l0.01,-1.35l-0.7,-1.41l-0.07,-1.0l2.16,-0.02l2.72,-1.3l0.75,-2.04l1.91,-1.04l0.2,-0.41l-0.19,-1.25l3.8,-1.78l2.3,0.77Z", name: "Belarus" }, BZ: { path: "M198.03,244.38l0.1,-4.49l0.69,-0.06l0.74,-1.3l0.34,0.28l-0.4,1.3l0.17,0.58l-0.34,2.25l-1.3,1.42Z", name: "Belize" }, RU: { path: "M491.55,115.25l2.55,-1.85l-0.01,-0.65l-2.2,-1.5l7.32,-6.76l1.03,-2.11l-0.13,-0.49l-3.46,-2.52l0.86,-2.7l-2.11,-2.81l1.56,-3.67l-2.77,-4.52l2.15,-2.99l-0.08,-0.55l-3.65,-2.73l0.3,-2.54l1.81,-0.37l4.26,-1.77l2.42,-1.45l4.06,2.61l6.79,1.04l9.34,4.85l1.78,1.88l0.14,2.46l-2.55,2.02l-3.9,1.06l-11.07,-3.14l-2.06,0.53l-0.13,0.7l3.94,2.94l0.31,5.86l0.26,0.36l5.14,2.24l0.58,-0.29l0.32,-1.94l-1.35,-1.78l1.13,-1.09l6.13,2.42l2.11,-0.98l0.18,-0.56l-1.51,-2.67l5.41,-3.76l2.07,0.22l2.26,1.41l0.57,-0.16l1.46,-2.87l-0.05,-0.44l-1.92,-2.32l1.12,-2.32l-1.32,-2.27l5.87,1.16l1.04,1.75l-2.59,0.43l-0.33,0.4l0.02,2.36l2.46,1.83l3.87,-0.91l0.86,-2.8l13.69,-5.65l0.99,0.11l-1.92,2.06l0.23,0.67l3.11,0.45l2.0,-1.48l4.56,-0.12l3.64,-1.73l2.65,2.44l0.56,-0.01l2.85,-2.88l-0.01,-0.57l-2.35,-2.29l0.9,-1.01l7.14,1.3l3.41,1.36l9.05,4.97l0.51,-0.11l1.67,-2.27l-0.05,-0.53l-2.43,-2.21l-0.06,-0.78l-0.34,-0.36l-2.52,-0.36l0.64,-1.93l-1.32,-3.46l-0.06,-1.21l4.48,-4.06l1.69,-4.29l1.6,-0.81l6.23,1.18l0.44,2.21l-2.29,3.64l0.06,0.5l1.47,1.39l0.76,3.0l-0.56,6.03l2.69,2.82l-0.96,2.57l-4.86,5.95l0.23,0.64l2.86,0.61l0.42,-0.17l0.93,-1.4l2.64,-1.03l0.87,-2.24l2.09,-1.96l0.07,-0.5l-1.36,-2.28l1.09,-2.69l-0.32,-0.55l-2.47,-0.33l-0.5,-2.06l1.94,-4.38l-0.06,-0.42l-2.96,-3.4l4.12,-2.88l0.16,-0.4l-0.51,-2.93l0.54,-0.05l1.13,2.25l-0.96,4.35l0.27,0.47l2.68,0.84l0.5,-0.51l-1.02,-2.99l3.79,-1.66l5.01,-0.24l4.53,2.61l0.48,-0.06l0.07,-0.48l-2.18,-3.82l-0.23,-4.67l3.98,-0.9l5.97,0.21l5.49,-0.64l0.27,-0.65l-1.83,-2.31l2.56,-2.9l2.87,-0.17l4.8,-2.47l6.54,-0.67l1.03,-1.42l6.25,-0.45l2.32,1.11l5.53,-2.7l4.5,0.08l0.39,-0.28l0.66,-2.15l2.26,-2.12l5.69,-2.11l3.21,1.29l-2.46,0.94l-0.25,0.42l0.34,0.35l5.41,0.77l0.61,2.33l0.58,0.25l2.2,-1.22l7.13,0.07l5.51,2.47l1.79,1.72l-0.53,2.24l-9.16,4.15l-1.97,1.52l0.16,0.71l6.77,1.91l2.16,-0.78l1.13,2.74l0.67,0.11l1.01,-1.15l3.81,-0.73l7.7,0.77l0.54,1.99l0.36,0.29l10.47,0.71l0.43,-0.38l0.13,-3.23l4.87,0.78l3.95,-0.02l3.83,2.4l1.03,2.71l-1.35,1.79l0.02,0.5l3.15,3.64l4.07,1.96l0.53,-0.18l2.23,-4.47l3.95,1.93l4.16,-1.21l4.73,1.39l2.05,-1.26l3.94,0.62l0.43,-0.55l-1.68,-4.02l2.89,-1.8l22.31,3.03l2.16,2.75l6.55,3.51l10.29,-0.81l4.82,0.73l1.85,1.66l-0.29,3.08l0.25,0.41l3.08,1.26l3.56,-0.88l4.35,-0.11l4.8,0.87l4.57,-0.47l4.23,3.79l0.43,0.07l3.1,-1.4l0.16,-0.6l-1.88,-2.62l0.85,-1.52l7.71,1.21l5.22,-0.26l7.09,2.09l9.59,5.22l6.35,4.11l-0.2,2.38l1.88,1.41l0.6,-0.42l-0.48,-2.53l6.15,0.57l4.4,3.51l-1.97,1.43l-4.0,0.41l-0.36,0.39l-0.06,3.79l-0.74,0.62l-2.07,-0.11l-1.91,-1.39l-3.14,-1.11l-0.78,-1.85l-2.72,-0.68l-2.63,0.49l-1.04,-1.1l0.46,-1.31l-0.5,-0.51l-3.0,0.98l-0.22,0.58l0.99,1.7l-1.21,1.48l-3.04,1.68l-3.12,-0.28l-0.4,0.23l0.09,0.46l2.2,2.09l1.46,3.2l1.15,1.1l0.24,1.33l-0.42,0.67l-4.63,-0.77l-6.96,2.9l-2.19,0.44l-7.6,5.06l-0.84,1.45l-3.61,-2.37l-6.24,2.82l-0.94,-1.15l-0.53,-0.08l-2.28,1.52l-3.2,-0.49l-0.44,0.27l-0.78,2.37l-3.05,3.78l0.09,1.47l0.29,0.36l2.54,0.72l-0.29,4.53l-1.97,0.11l-0.35,0.26l-1.07,2.94l0.8,1.45l-3.91,1.58l-1.05,3.95l-3.48,0.77l-0.3,0.3l-0.72,3.29l-3.09,2.65l-0.7,-1.74l-2.44,-12.44l1.16,-4.71l2.04,-2.06l0.22,-1.64l3.8,-0.86l4.46,-4.61l4.28,-3.81l4.48,-3.01l2.17,-5.63l-0.42,-0.54l-3.04,0.33l-1.77,3.31l-5.86,3.86l-1.86,-4.25l-0.45,-0.23l-6.46,1.3l-6.47,6.44l-0.01,0.55l1.58,1.74l-8.24,1.17l0.15,-2.2l-0.34,-0.42l-3.89,-0.56l-3.25,1.81l-7.62,-0.62l-8.45,1.19l-17.71,15.41l0.22,0.7l3.74,0.41l1.36,2.17l2.43,0.76l1.88,-1.68l2.4,0.2l3.4,3.54l0.08,2.6l-1.95,3.42l-0.21,3.9l-1.1,5.06l-3.71,4.54l-0.87,2.21l-8.29,8.89l-3.19,1.7l-1.32,0.03l-1.45,-1.36l-0.49,-0.04l-2.27,1.5l0.41,-3.65l-0.59,-2.47l1.75,-0.89l2.91,0.53l0.42,-0.2l1.68,-3.03l0.87,-3.46l0.97,-1.18l1.32,-2.88l-0.45,-0.56l-4.14,0.95l-2.19,1.25l-3.41,-0.0l-1.06,-2.93l-2.97,-2.3l-4.28,-1.06l-1.75,-5.07l-2.66,-5.01l-2.29,-1.29l-3.75,-1.01l-3.44,0.08l-3.18,0.62l-2.24,1.77l0.05,0.66l1.18,0.69l0.02,1.43l-1.33,1.05l-2.26,3.51l-0.04,1.43l-3.16,1.84l-2.82,-1.16l-3.01,0.23l-1.35,-1.07l-1.5,-0.35l-3.9,2.31l-3.22,0.52l-2.27,0.79l-3.05,-0.51l-2.21,0.03l-1.48,-1.6l-2.6,-1.63l-2.63,-0.43l-5.46,1.01l-3.23,-1.25l-0.72,-2.57l-5.2,-1.24l-2.75,-1.36l-0.5,0.12l-2.59,3.45l0.84,2.1l-2.06,1.93l-3.41,-0.77l-2.42,-0.12l-1.83,-1.54l-2.53,-0.05l-2.42,-0.98l-3.86,1.57l-4.72,2.78l-3.3,0.75l-1.55,-1.92l-3.0,0.41l-1.11,-1.33l-1.62,-0.59l-1.31,-1.94l-1.38,-0.6l-3.7,0.79l-3.31,-1.83l-0.51,0.11l-0.99,1.29l-5.29,-8.05l-2.96,-2.48l0.65,-0.77l0.01,-0.51l-0.5,-0.11l-6.2,3.21l-1.84,0.15l0.15,-1.39l-0.26,-0.42l-3.22,-1.17l-2.46,0.7l-0.69,-3.16l-0.32,-0.31l-4.5,-0.75l-2.47,1.47l-6.19,1.27l-1.29,0.86l-9.51,1.3l-1.15,1.17l-0.03,0.53l1.47,1.9l-1.89,0.69l-0.22,0.56l0.31,0.6l-2.11,1.44l0.03,0.68l3.75,2.12l-0.39,0.98l-3.23,-0.13l-0.86,0.86l-3.09,-1.59l-3.97,0.07l-2.66,1.35l-8.32,-3.56l-4.07,0.06l-5.39,3.68l-0.39,2.0l-2.03,-1.5l-0.59,0.13l-2.0,3.59l0.57,0.93l-1.28,2.16l0.06,0.48l2.13,2.17l1.95,0.04l1.37,1.82l-0.23,1.46l0.25,0.43l0.83,0.33l-0.8,1.31l-2.49,0.62l-2.49,3.2l0.0,0.49l2.17,2.78l-0.15,2.18l2.5,3.24l-1.58,1.59l-0.7,-0.13l-1.63,-1.72l-2.29,-0.84l-0.94,-1.31l-2.34,-0.63l-1.48,0.4l-0.43,-0.47l-3.51,-1.48l-5.76,-1.01l-0.45,0.19l-2.89,-2.34l-2.9,-1.2l-1.53,-1.29l1.29,-0.43l2.08,-2.61l-0.05,-0.55l-0.89,-0.79l3.05,-1.06l0.27,-0.42l-0.07,-0.69l-0.49,-0.35l-1.73,0.39l0.04,-0.68l1.04,-0.72l2.66,-0.48l0.4,-1.32l-0.5,-1.6l0.92,-1.54l0.03,-1.17l-0.29,-0.37l-3.69,-1.06l-1.41,0.02l-1.42,-1.41l-2.19,0.38l-2.77,-1.01l-0.03,-0.59l-0.89,-1.43l-2.0,-0.32l-0.11,-0.54l0.49,-0.53l0.01,-0.53l-1.6,-1.9l-3.58,0.02l-0.88,0.73l-0.46,-0.07l-1.0,-2.79l2.22,-0.02l0.97,-0.74l0.07,-0.57l-0.9,-1.04l-1.35,-0.48l-0.11,-0.7l-0.95,-0.58l-1.38,-1.99l0.46,-0.98l-0.51,-1.96l-2.45,-0.84l-1.21,0.3l-0.46,-0.76l-2.46,-0.83l-0.72,-1.87l-0.21,-1.69l-0.99,-0.85l0.85,-1.17l-0.7,-3.21l1.66,-1.97l-0.16,-0.79ZM749.2,170.72l-0.6,0.4l-0.13,0.16l-0.01,-0.51l0.74,-0.05ZM874.85,67.94l-5.63,0.48l-0.26,-0.84l3.15,-1.89l1.94,0.01l3.19,1.16l-2.39,1.09ZM797.39,48.49l-2.0,1.36l-3.8,-0.42l-4.25,-1.8l0.35,-0.97l9.69,1.83ZM783.67,46.12l-1.63,3.09l-8.98,-0.13l-4.09,1.14l-4.54,-2.97l1.16,-3.01l3.05,-0.89l6.5,0.22l8.54,2.56ZM778.2,134.98l-0.56,-0.9l0.27,-0.12l0.29,1.01ZM778.34,135.48l0.94,3.53l-0.05,3.38l1.05,3.39l2.18,5.0l-2.89,-0.83l-0.49,0.26l-1.54,4.65l2.42,3.5l-0.04,1.13l-1.24,-1.24l-0.61,0.06l-1.09,1.61l-0.28,-1.61l0.27,-3.1l-0.28,-3.4l0.58,-2.47l0.11,-4.39l-1.46,-3.36l0.21,-4.32l2.15,-1.46l0.07,-0.34ZM771.95,56.61l1.76,-1.42l2.89,-0.42l3.28,1.71l0.14,0.6l-3.27,0.03l-4.81,-0.5ZM683.76,31.09l-13.01,1.93l4.03,-6.35l1.82,-0.56l1.73,0.34l5.99,2.98l-0.56,1.66ZM670.85,27.93l-5.08,0.64l-6.86,-1.57l-3.99,-2.05l-2.1,-4.16l-2.6,-0.87l5.72,-3.5l5.2,-1.28l4.69,2.85l5.59,5.4l-0.56,4.53ZM564.15,68.94l-0.64,0.17l-7.85,-0.57l-0.86,-2.04l-4.28,-1.17l-0.28,-1.94l2.27,-0.89l0.25,-0.39l-0.08,-2.38l4.81,-3.97l-0.15,-0.7l-1.47,-0.38l5.3,-3.81l0.15,-0.44l-0.58,-1.94l5.28,-2.51l8.21,-3.27l8.28,-0.96l4.35,-1.94l4.6,-0.64l1.36,1.61l-1.34,1.28l-16.43,4.94l-7.97,4.88l-7.74,9.63l0.66,4.14l4.16,3.27ZM548.81,18.48l-5.5,1.18l-0.58,1.02l-2.59,0.84l-2.13,-1.07l1.12,-1.42l-0.3,-0.65l-2.33,-0.07l1.68,-0.36l3.47,-0.06l0.42,1.29l0.66,0.16l1.38,-1.34l2.15,-0.88l2.94,1.01l-0.39,0.36ZM477.37,133.15l-4.08,0.05l-2.56,-0.32l0.33,-0.87l3.17,-1.03l3.24,0.96l-0.09,1.23Z", name: "Russia" }, RW: { path: "M497.0,288.25l0.71,1.01l-0.11,1.09l-1.63,0.03l-1.04,1.39l-0.83,-0.11l0.51,-1.2l0.08,-1.34l0.42,-0.41l0.7,0.14l1.19,-0.61Z", name: "Rwanda" }, RS: { path: "M469.4,163.99l0.42,-0.5l-0.01,-0.52l-1.15,-1.63l1.43,-0.62l1.33,0.12l1.17,1.06l0.46,1.13l1.34,0.64l0.35,1.35l1.46,0.9l0.76,-0.29l0.2,0.69l-0.48,0.78l0.22,1.12l1.05,1.22l-0.77,0.8l-0.37,1.52l-1.21,0.08l0.24,-0.64l-0.39,-0.54l-2.08,-1.64l-0.9,0.05l-0.48,0.94l-2.12,-1.37l0.53,-1.6l-1.11,-1.37l0.51,-1.1l-0.41,-0.57Z", name: "Serbia" }, LT: { path: "M486.93,129.3l0.17,1.12l-1.81,0.98l-0.72,2.02l-2.47,1.18l-2.1,-0.02l-0.73,-1.05l-1.06,-0.3l-0.09,-1.87l-3.56,-1.13l-0.43,-2.36l2.48,-0.94l4.12,0.22l2.25,-0.31l0.52,0.69l1.24,0.21l2.19,1.56Z", name: "Lithuania" }, LU: { path: "M436.08,149.45l-0.48,-0.07l0.3,-1.28l0.27,0.4l-0.09,0.96Z", name: "Luxembourg" }, LR: { path: "M399.36,265.97l0.18,1.54l-0.48,0.99l0.08,0.47l2.47,1.8l-0.33,2.8l-2.65,-1.13l-5.78,-4.61l0.58,-1.32l2.1,-2.33l0.86,-0.22l0.77,1.14l-0.14,0.85l0.59,0.87l1.0,0.14l0.76,-0.99Z", name: "Liberia" }, RO: { path: "M487.53,154.23l0.6,0.24l2.87,3.98l-0.17,2.69l0.45,1.42l1.32,0.81l1.35,-0.42l0.76,0.36l0.02,0.31l-0.83,0.45l-0.59,-0.22l-0.54,0.3l-0.62,3.3l-1.0,-0.22l-2.07,-1.13l-2.95,0.71l-1.25,0.76l-3.51,-0.15l-1.89,-0.47l-0.87,0.16l-0.82,-1.3l0.29,-0.26l-0.06,-0.64l-1.09,-0.34l-0.56,0.5l-1.05,-0.64l-0.39,-1.39l-1.36,-0.65l-0.35,-1.0l-0.83,-0.75l1.54,-0.54l2.66,-4.21l2.4,-1.24l2.96,0.34l1.48,0.73l0.79,-0.45l1.78,-0.3l0.75,-0.74l0.79,0.0Z", name: "Romania" }, GW: { path: "M386.23,253.6l-0.29,0.84l0.15,0.6l-2.21,0.59l-0.86,0.96l-1.04,-0.83l-1.09,-0.23l-0.54,-1.06l-0.66,-0.49l2.41,-0.48l4.13,0.1Z", name: "Guinea-Bissau" }, GT: { path: "M195.08,249.77l-2.48,-0.37l-1.03,-0.45l-1.14,-0.89l0.3,-0.99l-0.24,-0.68l0.96,-1.66l2.98,-0.01l0.4,-0.37l-0.19,-1.28l-1.67,-1.4l0.51,-0.4l0.0,-1.05l3.85,0.02l-0.21,4.53l0.4,0.43l1.46,0.38l-1.48,0.98l-0.35,0.7l0.12,0.57l-2.2,1.96Z", name: "Guatemala" }, GR: { path: "M487.07,174.59l-0.59,1.43l-0.37,0.21l-2.84,-0.35l-3.03,0.77l-0.18,0.68l1.28,1.23l-0.61,0.23l-1.14,0.0l-1.2,-1.39l-0.63,0.03l-0.53,1.01l0.56,1.76l1.03,1.19l-0.56,0.38l-0.05,0.62l2.52,2.12l0.02,0.87l-1.78,-0.59l-0.48,0.56l0.5,1.0l-1.07,0.2l-0.3,0.53l0.75,2.01l-0.98,0.02l-1.84,-1.12l-1.37,-4.2l-2.21,-2.95l-0.11,-0.56l1.04,-1.28l0.2,-0.95l0.85,-0.66l0.03,-0.46l1.32,-0.21l1.01,-0.64l1.22,0.05l0.65,-0.56l2.26,-0.0l1.82,-0.75l1.85,1.0l2.28,-0.28l0.35,-0.39l0.01,-0.77l0.34,0.22ZM480.49,192.16l0.58,0.4l-0.68,-0.12l0.11,-0.28ZM482.52,192.82l2.51,0.06l0.24,0.32l-1.99,0.13l-0.77,-0.51Z", name: "Greece" }, GQ: { path: "M448.79,279.62l0.02,2.22l-4.09,0.0l0.69,-2.27l3.38,0.05Z", name: "Eq. Guinea" }, GY: { path: "M277.42,270.07l-0.32,1.83l-1.32,0.57l-0.23,0.46l-0.28,2.0l1.11,1.82l0.83,0.19l0.32,1.25l1.13,1.62l-1.21,-0.19l-1.08,0.71l-1.77,0.5l-0.44,0.46l-0.86,-0.09l-1.32,-1.01l-0.77,-2.27l0.36,-1.9l0.68,-1.23l-0.57,-1.17l-0.74,-0.43l0.12,-1.16l-0.9,-0.69l-1.1,0.09l-1.31,-1.48l0.53,-0.72l-0.04,-0.84l1.99,-0.86l0.05,-0.59l-0.71,-0.78l0.14,-0.57l1.66,-1.24l1.36,0.77l1.41,1.49l0.06,1.15l0.37,0.38l0.8,0.05l2.06,1.86Z", name: "Guyana" }, GE: { path: "M521.71,168.93l5.29,0.89l4.07,2.01l1.41,-0.44l2.07,0.56l0.68,1.1l1.07,0.55l-0.12,0.59l0.98,1.29l-1.01,-0.13l-1.81,-0.83l-0.94,0.47l-3.23,0.43l-2.29,-1.39l-2.33,0.05l0.21,-0.97l-0.76,-2.26l-1.45,-1.12l-1.43,-0.39l-0.41,-0.42Z", name: "Georgia" }, GB: { path: "M412.61,118.72l-2.19,3.22l-0.0,0.45l5.13,-0.3l-0.53,2.37l-2.2,3.12l0.29,0.63l2.37,0.21l2.33,4.3l1.76,0.69l2.2,5.12l2.94,0.77l-0.23,1.62l-1.15,0.88l-0.1,0.52l0.82,1.42l-1.86,1.43l-3.3,-0.02l-4.12,0.87l-1.04,-0.58l-0.47,0.06l-1.51,1.41l-2.12,-0.34l-1.86,1.18l-0.6,-0.29l3.19,-3.0l2.16,-0.69l0.28,-0.41l-0.34,-0.36l-3.73,-0.53l-0.4,-0.76l2.2,-0.87l0.17,-0.61l-1.26,-1.67l0.36,-1.7l3.38,0.28l0.43,-0.33l0.37,-1.99l-1.79,-2.49l-3.11,-0.72l-0.38,-0.59l0.79,-1.35l-0.04,-0.46l-0.82,-0.97l-0.61,0.01l-0.68,0.84l-0.1,-2.34l-1.23,-1.88l0.85,-3.47l1.77,-2.68l1.85,0.26l2.17,-0.22ZM406.26,132.86l-1.01,1.77l-1.57,-0.59l-1.16,0.01l0.37,-1.54l-0.39,-1.39l1.45,-0.1l2.3,1.84Z", name: "United Kingdom" }, GA: { path: "M453.24,279.52l-0.08,0.98l0.7,1.29l2.36,0.24l-0.98,2.63l1.18,1.79l0.25,1.78l-0.29,1.52l-0.6,0.93l-1.84,-0.09l-1.23,-1.11l-0.66,0.23l-0.15,0.84l-1.42,0.26l-1.02,0.7l-0.11,0.52l0.77,1.35l-1.34,0.97l-3.94,-4.3l-1.44,-2.45l0.06,-0.6l0.54,-0.81l1.05,-3.46l4.17,-0.07l0.4,-0.4l-0.02,-2.66l2.39,0.21l1.25,-0.27Z", name: "Gabon" }, GN: { path: "M391.8,254.11l0.47,0.8l1.11,-0.32l0.98,0.7l1.07,0.2l2.26,-1.22l0.64,0.44l1.13,1.56l-0.48,1.4l0.8,0.3l-0.08,0.48l0.46,0.68l-0.35,1.36l1.05,2.61l-1.0,0.69l0.03,1.41l-0.72,-0.06l-1.08,1.0l-0.24,-0.27l0.07,-1.11l-1.05,-1.54l-1.79,0.21l-0.35,-2.01l-1.6,-2.18l-2.0,-0.0l-1.31,0.54l-1.95,2.18l-1.86,-2.19l-1.2,-0.78l-0.3,-1.11l-0.8,-0.85l0.65,-0.72l0.81,-0.03l1.64,-0.8l0.23,-1.87l2.67,0.64l0.89,-0.3l1.21,0.15Z", name: "Guinea" }, GM: { path: "M379.31,251.39l0.1,-0.35l2.43,-0.07l0.74,-0.61l0.51,-0.03l0.77,0.49l-1.03,-0.3l-1.87,0.9l-1.65,-0.04ZM384.03,250.91l0.91,0.05l0.75,-0.24l-0.59,0.31l-1.08,-0.13Z", name: "Gambia" }, GL: { path: "M353.02,1.2l14.69,4.67l-3.68,1.89l-22.97,0.86l-0.36,0.27l0.12,0.43l1.55,1.18l8.79,-0.66l7.48,2.07l4.86,-1.77l1.66,1.73l-2.53,3.19l-0.01,0.48l0.46,0.15l6.35,-2.2l12.06,-2.31l7.24,1.13l1.09,1.99l-9.79,4.01l-1.44,1.32l-7.87,0.98l-0.35,0.41l0.38,0.38l5.07,0.24l-2.53,3.58l-2.07,3.81l0.08,6.05l2.57,3.11l-3.22,0.2l-4.12,1.66l-0.05,0.72l4.45,2.65l0.51,3.75l-2.3,0.4l-0.25,0.64l2.79,3.69l-4.82,0.31l-0.36,0.29l0.16,0.44l2.62,1.8l-0.59,1.22l-3.3,0.7l-3.45,0.01l-0.29,0.68l3.03,3.12l0.02,1.34l-4.4,-1.73l-1.72,1.35l0.15,0.66l3.31,1.15l3.13,2.71l0.81,3.16l-3.85,0.75l-4.89,-4.26l-0.47,-0.03l-0.17,0.44l0.79,2.86l-2.71,2.21l-0.13,0.44l0.37,0.27l8.73,0.34l-12.32,6.64l-7.24,1.48l-2.94,0.08l-2.69,1.75l-3.43,4.41l-5.24,2.84l-1.73,0.18l-7.12,2.1l-2.15,2.52l-0.13,2.99l-1.19,2.45l-4.01,3.09l-0.14,0.44l0.97,2.9l-2.28,6.48l-3.1,0.2l-3.83,-3.07l-4.86,-0.02l-2.25,-1.93l-1.7,-3.79l-4.3,-4.84l-1.21,-2.49l-0.44,-3.8l-3.32,-3.63l0.84,-2.86l-1.56,-1.7l2.28,-4.6l3.83,-1.74l1.03,-1.96l0.52,-3.47l-0.59,-0.41l-4.17,2.21l-2.07,0.58l-2.72,-1.28l-0.15,-2.71l0.85,-2.09l2.01,-0.06l5.06,1.2l0.46,-0.23l-0.14,-0.49l-6.54,-4.47l-2.67,0.55l-1.58,-0.86l2.56,-4.01l-0.03,-0.48l-1.5,-1.74l-4.98,-8.5l-3.13,-1.96l0.03,-1.88l-0.24,-0.37l-6.85,-3.02l-5.36,-0.38l-12.7,0.58l-2.78,-1.57l-3.66,-2.77l5.73,-1.45l5.0,-0.28l0.38,-0.38l-0.35,-0.41l-10.67,-1.38l-5.3,-2.06l0.25,-1.54l18.41,-5.26l1.22,-2.27l-0.25,-0.55l-6.14,-1.86l1.68,-1.77l8.55,-4.03l3.59,-0.63l0.3,-0.54l-0.88,-2.27l5.47,-1.47l7.65,-0.95l7.55,-0.05l3.04,1.85l6.48,-3.27l5.81,2.22l3.56,0.5l5.16,1.94l0.5,-0.21l-0.17,-0.52l-5.71,-3.13l0.28,-2.13l8.12,-3.6l8.7,0.28l3.35,-2.34l8.71,-0.6l19.93,0.8Z", name: "Greenland" }, KW: { path: "M540.81,207.91l0.37,0.86l-0.17,0.76l0.6,1.53l-0.95,0.04l-0.82,-1.28l-1.57,-0.18l1.31,-1.88l1.22,0.17Z", name: "Kuwait" }, GH: { path: "M420.53,257.51l-0.01,0.72l0.96,1.2l0.24,3.73l0.59,0.95l-0.51,2.1l0.19,1.41l1.02,2.21l-6.97,2.84l-1.8,-0.57l0.04,-0.89l-1.02,-2.04l0.61,-2.65l1.07,-2.32l-0.96,-6.47l5.01,0.07l0.94,-0.39l0.61,0.11Z", name: "Ghana" }, OM: { path: "M568.09,230.93l-0.91,1.67l-1.22,0.04l-0.6,0.76l-0.41,1.51l0.27,1.58l-1.16,0.05l-1.56,0.97l-0.76,1.74l-1.62,0.05l-0.98,0.65l-0.17,1.15l-0.89,0.52l-1.49,-0.18l-2.4,0.94l-2.47,-5.4l7.35,-2.71l1.67,-5.23l-1.12,-2.09l0.05,-0.83l0.67,-1.0l0.07,-1.05l0.9,-0.42l-0.05,-2.07l0.7,-0.01l1.0,1.62l1.51,1.08l3.3,0.84l1.73,2.29l0.81,0.37l-1.23,2.35l-0.99,0.79Z", name: "Oman" }, _2: { path: "M531.15,258.94l1.51,0.12l5.13,-0.95l5.3,-1.48l-0.01,4.4l-2.67,3.39l-1.85,0.01l-8.04,-2.94l-2.55,-3.17l1.12,-1.71l2.04,2.34Z", name: "Somaliland" }, _1: { path: "M472.77,172.64l-1.08,-1.29l0.96,-0.77l0.29,-0.83l1.98,1.64l-0.36,0.67l-1.79,0.58Z", name: "Kosovo" }, _0: { path: "M504.91,192.87l0.34,0.01l0.27,-0.07l-0.29,0.26l-0.31,-0.2Z", name: "N. Cyprus" }, JO: { path: "M518.64,201.38l-5.14,1.56l-0.19,0.65l2.16,2.39l-0.89,1.14l-1.71,0.34l-1.71,1.8l-2.34,-0.37l1.21,-4.32l0.56,-4.07l2.8,0.94l4.46,-2.71l0.79,2.66Z", name: "Jordan" }, HR: { path: "M455.59,162.84l1.09,0.07l-0.82,0.94l-0.27,-1.01ZM456.96,162.92l0.62,-0.41l1.73,0.45l0.42,-0.4l-0.01,-0.59l0.86,-0.52l0.2,-1.05l1.63,-0.68l2.57,1.68l2.07,0.6l0.87,-0.31l1.05,1.57l-0.52,0.63l-1.05,-0.56l-1.68,0.04l-2.1,-0.5l-1.29,0.06l-0.57,0.49l-0.59,-0.47l-0.62,0.16l-0.46,1.7l1.79,2.42l2.79,2.75l-1.18,-0.87l-2.21,-0.87l-1.67,-1.78l0.13,-0.63l-1.05,-1.19l-0.32,-1.27l-1.42,-0.43Z", name: "Croatia" }, HT: { path: "M237.05,238.38l-1.16,0.43l-0.91,-0.55l0.05,-0.2l2.02,0.31ZM237.53,238.43l1.06,0.12l-0.05,0.01l-1.01,-0.12ZM239.25,238.45l0.79,-0.51l0.06,-0.62l-1.02,-1.0l0.02,-0.82l-0.3,-0.4l-0.93,-0.32l3.16,0.45l0.02,1.84l-0.48,0.34l-0.08,0.58l0.54,0.72l-1.78,-0.26Z", name: "Haiti" }, HU: { path: "M462.08,157.89l0.65,-1.59l-0.09,-0.44l0.64,-0.0l0.39,-0.34l0.1,-0.69l1.75,0.87l2.32,-0.37l0.43,-0.66l3.49,-0.78l0.69,-0.78l0.57,-0.14l2.57,0.93l0.67,-0.23l1.03,0.65l0.08,0.37l-1.42,0.71l-2.59,4.14l-1.8,0.53l-1.68,-0.1l-2.74,1.23l-1.85,-0.54l-2.54,-1.66l-0.66,-1.1Z", name: "Hungary" }, HN: { path: "M199.6,249.52l-1.7,-1.21l0.06,-0.94l3.04,-2.14l2.37,0.28l1.27,-0.09l1.1,-0.52l1.3,0.28l1.14,-0.25l1.38,0.37l2.23,1.37l-2.36,0.93l-1.23,-0.39l-0.88,1.3l-1.28,0.99l-0.98,-0.22l-0.42,0.52l-0.96,0.05l-0.36,0.41l0.04,0.88l-0.52,0.6l-0.3,0.04l-0.3,-0.55l-0.66,-0.31l0.11,-0.67l-0.48,-0.65l-0.87,-0.26l-0.73,0.2Z", name: "Honduras" }, PR: { path: "M256.17,238.73l-0.26,0.27l-2.83,0.05l-0.07,-0.55l1.95,-0.1l1.22,0.33Z", name: "Puerto Rico" }, PS: { path: "M509.21,203.07l0.1,-0.06l-0.02,0.03l-0.09,0.03ZM509.36,202.91l-0.02,-0.63l-0.33,-0.16l0.31,-1.09l0.24,0.1l-0.2,1.78Z", name: "Palestine" }, PT: { path: "M401.84,187.38l-0.64,0.47l-1.13,-0.35l-0.91,0.17l0.28,-1.78l-0.24,-1.78l-1.25,-0.56l-0.45,-0.84l0.17,-1.66l1.01,-1.18l0.69,-2.92l-0.04,-1.39l-0.59,-1.9l1.3,-0.85l0.84,1.35l3.1,-0.3l0.46,0.99l-1.05,0.94l-0.03,2.16l-0.41,0.57l-0.08,1.1l-0.79,0.18l-0.26,0.59l0.91,1.6l-0.63,1.75l0.76,1.09l-1.1,1.52l0.07,1.05Z", name: "Portugal" }, PY: { path: "M274.9,336.12l0.74,1.52l-0.16,3.45l0.32,0.41l2.64,0.5l1.11,-0.47l1.4,0.59l0.36,0.6l0.53,3.42l1.27,0.4l0.98,-0.38l0.51,0.27l-0.0,1.18l-1.21,5.32l-2.09,1.9l-1.8,0.4l-4.71,-0.98l2.2,-3.63l-0.32,-1.5l-2.78,-1.28l-3.03,-1.94l-2.07,-0.44l-4.34,-4.06l0.91,-2.9l0.08,-1.42l1.07,-2.04l4.13,-0.72l2.18,0.03l2.05,1.17l0.03,0.59Z", name: "Paraguay" }, PA: { path: "M213.8,263.68l0.26,-1.52l-0.36,-0.26l-0.01,-0.49l0.44,-0.1l0.93,1.4l1.26,0.03l0.77,0.49l1.38,-0.23l2.51,-1.11l0.86,-0.72l3.45,0.85l1.4,1.18l0.41,1.74l-0.21,0.34l-0.53,-0.12l-0.47,0.29l-0.16,0.6l-0.68,-1.28l0.45,-0.49l-0.19,-0.66l-0.47,-0.13l-0.54,-0.84l-1.5,-0.75l-1.1,0.16l-0.75,0.99l-1.62,0.84l-0.18,0.96l0.85,0.97l-0.58,0.45l-0.69,0.08l-0.34,-1.18l-1.27,0.03l-0.71,-1.05l-2.59,-0.46Z", name: "Panama" }, PG: { path: "M808.58,298.86l2.54,2.56l-0.13,0.26l-0.33,0.12l-0.87,-0.78l-1.22,-2.16ZM801.41,293.04l0.5,0.29l0.26,0.27l-0.49,-0.35l-0.27,-0.21ZM803.17,294.58l0.59,0.5l0.08,1.06l-0.29,-0.91l-0.38,-0.65ZM796.68,298.41l0.52,0.75l1.43,-0.19l2.27,-1.81l-0.01,-1.43l1.12,0.16l-0.04,1.1l-0.7,1.28l-1.12,0.18l-0.62,0.79l-2.46,1.11l-1.17,-0.0l-3.08,-1.25l3.41,0.0l0.45,-0.68ZM789.15,303.55l2.31,1.8l1.59,2.61l1.34,0.13l-0.06,0.66l0.31,0.43l1.06,0.24l0.06,0.65l2.25,1.05l-1.22,0.13l-0.72,-0.63l-4.56,-0.65l-3.22,-2.87l-1.49,-2.34l-3.27,-1.1l-2.38,0.72l-1.59,0.86l-0.2,0.42l0.27,1.55l-1.55,0.68l-1.36,-0.4l-2.21,-0.09l-0.08,-15.41l8.39,2.93l2.95,2.4l0.6,1.64l4.02,1.49l0.31,0.68l-1.76,0.21l-0.33,0.52l0.55,1.68Z", name: "Papua New Guinea" }, PE: { path: "M244.96,295.21l-1.26,-0.07l-0.57,0.42l-1.93,0.45l-2.98,1.75l-0.36,1.36l-0.58,0.8l0.12,1.37l-1.24,0.59l-0.22,1.22l-0.62,0.84l1.04,2.27l1.28,1.44l-0.41,0.84l0.32,0.57l1.48,0.13l1.16,1.37l2.21,0.07l1.63,-1.08l-0.13,3.02l0.3,0.4l1.14,0.29l1.31,-0.34l1.9,3.59l-0.48,0.85l-0.17,3.85l-0.94,1.59l0.35,0.75l-0.47,1.07l0.98,1.97l-2.1,3.82l-0.98,0.5l-2.17,-1.28l-0.39,-1.16l-4.95,-2.58l-4.46,-2.79l-1.84,-1.51l-0.91,-1.84l0.3,-0.96l-2.11,-3.33l-4.82,-9.68l-1.04,-1.2l-0.87,-1.94l-3.4,-2.48l0.58,-1.18l-1.13,-2.23l0.66,-1.49l1.45,-1.15l-0.6,0.98l0.07,0.92l0.47,0.36l1.74,0.03l0.97,1.17l0.54,0.07l1.42,-1.03l0.6,-1.84l1.42,-2.02l3.04,-1.04l2.73,-2.62l0.86,-1.74l-0.1,-1.87l1.44,1.02l0.9,1.25l1.06,0.59l1.7,2.73l1.86,0.31l1.45,-0.61l0.96,0.39l1.36,-0.19l1.45,0.89l-1.4,2.21l0.31,0.61l0.59,0.05l0.47,0.5Z", name: "Peru" }, PK: { path: "M615.09,192.34l-1.83,1.81l-2.6,0.39l-3.73,-0.68l-1.58,1.33l-0.09,0.42l1.77,4.39l1.7,1.23l-1.69,1.27l-0.12,2.14l-2.33,2.64l-1.6,2.8l-2.46,2.67l-3.03,-0.07l-2.76,2.83l0.05,0.6l1.5,1.11l0.26,1.9l1.44,1.5l0.37,1.68l-5.01,-0.01l-1.78,1.7l-1.42,-0.52l-0.76,-1.87l-2.27,-2.15l-11.61,0.86l0.71,-2.34l3.43,-1.32l0.25,-0.44l-0.21,-1.24l-1.2,-0.65l-0.28,-2.46l-2.29,-1.14l-1.28,-1.94l2.82,0.94l2.62,-0.38l1.42,0.33l0.76,-0.56l1.71,0.19l3.25,-1.14l0.27,-0.36l0.08,-2.19l1.18,-1.32l1.68,0.0l0.58,-0.82l1.6,-0.3l1.19,0.16l0.98,-0.78l0.02,-1.88l0.93,-1.47l1.48,-0.66l0.19,-0.55l-0.66,-1.25l2.04,-0.11l0.69,-1.01l-0.02,-1.16l1.11,-1.06l-0.17,-1.78l-0.49,-1.03l1.15,-0.98l5.42,-0.91l2.6,-0.82l1.6,1.16l0.97,2.34l3.45,0.97Z", name: "Pakistan" }, PH: { path: "M737.01,263.84l0.39,2.97l-0.44,1.18l-0.55,-1.53l-0.67,-0.14l-1.17,1.28l0.65,2.09l-0.42,0.69l-2.48,-1.23l-0.57,-1.49l0.65,-1.03l-0.1,-0.54l-1.59,-1.19l-0.56,0.08l-0.65,0.87l-1.23,0.0l-1.58,0.97l0.83,-1.8l2.56,-1.42l0.65,0.84l0.45,0.13l1.9,-0.69l0.56,-1.11l1.5,-0.06l0.38,-0.43l-0.09,-1.19l1.21,0.71l0.36,2.02ZM733.59,256.58l0.05,0.75l0.08,0.26l-0.8,-0.42l-0.18,-0.71l0.85,0.12ZM734.08,256.1l-0.12,-1.12l-1.0,-1.27l1.36,0.03l0.53,0.73l0.51,2.04l-1.27,-0.4ZM733.76,257.68l0.38,0.98l-0.32,0.15l-0.07,-1.13ZM724.65,238.43l1.46,0.7l0.72,-0.31l-0.32,1.17l0.79,1.71l-0.57,1.84l-1.53,1.04l-0.39,2.25l0.56,2.04l1.63,0.57l1.16,-0.27l2.71,1.23l-0.19,1.08l0.76,0.84l-0.08,0.36l-1.4,-0.9l-0.88,-1.27l-0.66,0.0l-0.38,0.55l-1.6,-1.31l-2.15,0.36l-0.87,-0.39l0.07,-0.61l0.66,-0.55l-0.01,-0.62l-0.75,-0.59l-0.72,0.44l-0.74,-0.87l-0.39,-2.49l0.32,0.27l0.66,-0.28l0.26,-3.97l0.7,-2.02l1.14,0.0ZM731.03,258.87l-0.88,0.85l-1.19,1.94l-1.05,-1.19l0.93,-1.1l0.32,-1.47l0.52,-0.06l-0.27,1.15l0.22,0.45l0.49,-0.12l1.0,-1.32l-0.08,0.85ZM726.83,255.78l0.83,0.38l1.17,-0.0l-0.02,0.48l-2.0,1.4l0.03,-2.26ZM724.81,252.09l-0.38,1.27l-1.42,-1.95l1.2,0.05l0.6,0.63ZM716.55,261.82l1.1,-0.95l0.03,-0.03l-0.28,0.36l-0.85,0.61ZM719.22,259.06l0.04,-0.06l0.8,-1.53l0.16,0.75l-1.0,0.84Z", name: "Philippines" }, PL: { path: "M468.44,149.42l-1.11,-1.54l-1.86,-0.33l-0.48,-1.05l-1.72,-0.37l-0.65,0.69l-0.72,-0.36l0.11,-0.61l-0.33,-0.46l-1.75,-0.27l-1.04,-0.93l-0.94,-1.94l0.16,-1.22l-0.62,-1.8l-0.78,-1.07l0.57,-1.04l-0.48,-1.43l1.41,-0.83l6.91,-2.71l2.14,0.5l0.52,0.91l5.51,0.44l4.55,-0.05l1.07,0.31l0.48,0.84l0.15,1.58l0.65,1.2l-0.01,0.99l-1.27,0.58l-0.19,0.54l0.73,1.48l0.08,1.55l1.2,2.76l-0.17,0.58l-1.23,0.44l-2.27,2.72l0.18,0.95l-1.97,-1.03l-1.98,0.4l-1.36,-0.28l-1.24,0.58l-1.07,-0.97l-1.16,0.24Z", name: "Poland" }, ZM: { path: "M481.47,313.3l0.39,0.31l2.52,0.14l0.99,1.17l2.01,0.35l1.4,-0.64l0.69,1.17l1.78,0.33l1.84,2.35l2.23,0.18l0.4,-0.43l-0.21,-2.74l-0.62,-0.3l-0.48,0.32l-1.98,-1.17l0.72,-5.29l-0.51,-1.18l0.57,-1.3l3.68,-0.62l0.26,0.63l1.21,0.63l0.9,-0.22l2.16,0.67l1.33,0.71l1.07,1.02l0.56,1.87l-0.88,2.7l0.43,2.09l-0.73,0.87l-0.76,2.37l0.59,0.68l-6.6,1.83l-0.29,0.44l0.19,1.45l-1.68,0.35l-1.43,1.02l-0.38,0.87l-0.87,0.26l-3.48,3.69l-4.16,-0.53l-1.52,-1.0l-1.77,-0.13l-1.83,0.52l-3.04,-3.4l0.11,-7.59l4.82,0.03l0.39,-0.49l-0.18,-0.76l0.33,-0.83l-0.4,-1.36l0.24,-1.05Z", name: "Zambia" }, EH: { path: "M384.42,230.28l0.25,-0.79l1.06,-1.29l0.8,-3.51l3.38,-2.78l0.7,-1.81l0.06,4.84l-1.98,0.2l-0.94,1.59l0.39,3.56l-3.7,-0.01ZM392.01,218.1l0.7,-1.8l1.77,-0.24l2.09,0.34l0.95,-0.62l1.28,-0.07l-0.0,2.51l-6.79,-0.12Z", name: "W. Sahara" }, EE: { path: "M485.71,115.04l2.64,0.6l2.56,0.11l-1.6,1.91l0.61,3.54l-0.81,0.87l-1.78,-0.01l-3.22,-1.76l-1.8,0.45l0.21,-1.53l-0.58,-0.41l-0.69,0.34l-1.26,-1.03l-0.17,-1.63l2.83,-0.92l3.05,-0.52Z", name: "Estonia" }, EG: { path: "M492.06,205.03l1.46,0.42l2.95,-1.64l2.04,-0.21l1.53,0.3l0.59,1.19l0.69,0.04l0.41,-0.64l1.81,0.58l1.95,0.16l1.04,-0.51l1.42,4.08l-2.03,4.54l-1.66,-1.77l-1.76,-3.85l-0.64,-0.12l-0.36,0.67l1.04,2.88l3.44,6.95l1.78,3.04l2.03,2.65l-0.36,0.53l0.23,2.01l2.7,2.19l-28.41,0.0l0.0,-18.96l-0.73,-2.2l0.59,-1.56l-0.32,-1.26l0.68,-0.99l3.06,-0.04l4.82,1.52Z", name: "Egypt" }, ZA: { path: "M467.14,373.21l-0.13,-1.96l-0.68,-1.56l0.7,-0.68l-0.13,-2.33l-4.56,-8.19l0.77,-0.86l0.6,0.45l0.69,1.31l2.83,0.72l1.5,-0.26l2.24,-1.39l0.19,-9.55l1.35,2.3l-0.21,1.5l0.61,1.2l0.4,0.19l1.79,-0.27l2.6,-2.07l0.69,-1.32l0.96,-0.48l2.19,1.04l2.04,0.13l1.77,-0.65l0.85,-2.12l1.38,-0.33l1.59,-2.76l2.15,-1.89l3.41,-1.87l2.0,0.45l1.02,-0.28l0.99,0.2l1.75,5.29l-0.38,3.25l-0.81,-0.23l-1.0,0.46l-0.87,1.68l-0.05,1.16l1.97,1.84l1.47,-0.29l0.69,-1.18l1.09,0.01l-0.76,3.69l-0.58,1.09l-2.2,1.79l-3.17,4.76l-2.8,2.83l-3.57,2.88l-2.53,1.05l-1.22,0.14l-0.51,0.7l-1.18,-0.32l-1.39,0.5l-2.59,-0.52l-1.61,0.33l-1.18,-0.11l-2.55,1.1l-2.1,0.44l-1.6,1.07l-0.85,0.05l-0.93,-0.89l-0.93,-0.15l-0.97,-1.13l-0.25,0.05ZM491.45,364.19l0.62,-0.93l1.48,-0.59l1.18,-2.19l-0.07,-0.49l-1.99,-1.69l-1.66,0.56l-1.43,1.14l-1.34,1.73l0.02,0.51l1.88,2.11l1.31,-0.16Z", name: "South Africa" }, EC: { path: "M231.86,285.53l0.29,1.59l-0.69,1.45l-2.61,2.51l-3.13,1.11l-1.53,2.18l-0.49,1.68l-1.0,0.73l-1.02,-1.11l-1.78,-0.16l0.67,-1.15l-0.24,-0.86l1.25,-2.13l-0.54,-1.09l-0.67,-0.08l-0.72,0.87l-0.87,-0.64l0.35,-0.69l-0.36,-1.96l0.81,-0.51l0.45,-1.51l0.92,-1.57l-0.07,-0.97l2.65,-1.33l2.75,1.35l0.77,1.05l2.12,0.35l0.76,-0.32l1.96,1.21Z", name: "Ecuador" }, AL: { path: "M470.32,171.8l0.74,0.03l0.92,0.89l-0.17,1.95l0.36,1.28l1.01,0.82l-1.82,2.83l-0.19,-0.61l-1.25,-0.89l-0.18,-1.2l0.53,-2.82l-0.54,-1.47l0.6,-0.83Z", name: "Albania" }, AO: { path: "M461.55,300.03l1.26,3.15l1.94,2.36l2.47,-0.53l1.25,0.32l0.44,-0.18l0.93,-1.92l1.31,-0.08l0.41,-0.44l0.47,-0.0l-0.1,0.41l0.39,0.49l2.65,-0.02l0.03,1.19l0.48,1.01l-0.34,1.52l0.18,1.55l0.83,1.04l-0.13,2.85l0.54,0.39l3.96,-0.41l-0.1,1.79l0.39,1.05l-0.24,1.43l-4.7,-0.03l-0.4,0.39l-0.12,8.13l2.92,3.49l-3.83,0.88l-5.89,-0.36l-1.88,-1.24l-10.47,0.22l-1.3,-1.01l-1.85,-0.16l-2.4,0.77l-0.15,-1.06l0.33,-2.16l1.0,-3.45l1.35,-3.2l2.24,-2.8l0.33,-2.06l-0.13,-1.53l-0.8,-1.08l-1.21,-2.87l0.87,-1.62l-1.27,-4.12l-1.17,-1.53l2.47,-0.63l7.03,0.03ZM451.71,298.87l-0.47,-1.25l1.25,-1.11l0.32,0.3l-0.99,1.03l-0.12,1.03Z", name: "Angola" }, KZ: { path: "M552.8,172.89l0.46,-1.27l-0.48,-1.05l-2.96,-1.19l-1.06,-2.58l-1.37,-0.87l-0.03,-0.3l1.95,0.23l0.45,-0.38l0.08,-1.96l1.75,-0.41l2.1,0.45l0.48,-0.33l0.45,-3.04l-0.45,-2.09l-0.41,-0.31l-2.42,0.15l-2.36,-0.73l-2.87,1.37l-2.17,0.61l-0.85,-0.34l0.13,-1.61l-1.6,-2.12l-2.02,-0.08l-1.78,-1.82l1.29,-2.18l-0.57,-0.95l1.62,-2.91l2.21,1.63l0.63,-0.27l0.29,-2.22l4.92,-3.43l3.71,-0.08l8.4,3.6l2.92,-1.36l3.77,-0.06l3.11,1.66l0.51,-0.11l0.6,-0.81l3.31,0.13l0.39,-0.25l0.63,-1.57l-0.17,-0.5l-3.5,-1.98l1.87,-1.27l-0.13,-1.03l1.98,-0.72l0.18,-0.62l-1.59,-2.06l0.81,-0.82l9.23,-1.18l1.33,-0.88l6.18,-1.26l2.26,-1.42l4.08,0.68l0.73,3.33l0.51,0.3l2.48,-0.8l2.79,1.02l-0.17,1.56l0.43,0.44l2.55,-0.24l4.89,-2.53l0.03,0.32l3.15,2.61l5.56,8.47l0.65,0.02l1.12,-1.46l3.15,1.74l3.76,-0.78l1.15,0.49l1.14,1.8l1.84,0.76l0.99,1.29l3.35,-0.25l1.02,1.52l-1.6,1.81l-1.93,0.28l-0.34,0.38l-0.11,3.05l-1.13,1.16l-4.75,-1.0l-0.46,0.27l-1.76,5.47l-1.1,0.59l-4.91,1.23l-0.27,0.54l2.1,4.97l-1.37,0.63l-0.23,0.41l0.13,1.13l-0.88,-0.25l-1.42,-1.13l-7.89,-0.4l-0.92,0.31l-3.73,-1.22l-1.42,0.63l-0.53,1.66l-3.72,-0.94l-1.85,0.43l-0.76,1.4l-4.65,2.62l-1.13,2.08l-0.44,0.01l-0.92,-1.4l-2.87,-0.09l-0.45,-2.14l-0.38,-0.32l-0.8,-0.01l0.0,-2.96l-3.0,-2.22l-7.31,0.58l-2.35,-2.68l-6.71,-3.69l-6.45,1.83l-0.29,0.39l0.1,10.85l-0.7,0.08l-1.62,-2.17l-1.83,-0.96l-3.11,0.59l-0.64,0.51Z", name: "Kazakhstan" }, ET: { path: "M516.04,247.79l1.1,0.84l1.63,-0.45l0.68,0.47l1.63,0.03l2.01,0.94l1.73,1.66l1.64,2.07l-1.52,2.04l0.16,1.72l0.39,0.38l2.05,0.0l-0.36,1.03l2.86,3.58l8.32,3.08l1.31,0.02l-6.32,6.75l-3.1,0.11l-2.36,1.77l-1.47,0.04l-0.86,0.79l-1.38,-0.0l-1.32,-0.81l-2.29,1.05l-0.76,0.98l-3.29,-0.41l-3.07,-2.07l-1.8,-0.07l-0.62,-0.6l0.0,-1.24l-0.28,-0.38l-1.15,-0.37l-1.4,-2.59l-1.19,-0.68l-0.47,-1.0l-1.27,-1.23l-1.16,-0.22l0.43,-0.72l1.45,-0.28l0.41,-0.95l-0.03,-2.21l0.68,-2.44l1.05,-0.63l1.43,-3.06l1.57,-1.37l1.02,-2.51l0.35,-1.88l2.52,0.46l0.44,-0.24l0.58,-1.43Z", name: "Ethiopia" }, ZW: { path: "M498.91,341.09l-1.11,-0.22l-0.92,0.28l-2.09,-0.44l-1.5,-1.11l-1.89,-0.43l-0.62,-1.4l-0.01,-0.84l-0.3,-0.38l-0.97,-0.25l-2.71,-2.74l-1.92,-3.32l3.83,0.45l3.73,-3.82l1.08,-0.44l0.26,-0.77l1.25,-0.9l1.41,-0.26l0.5,0.89l1.99,-0.05l1.72,1.17l1.11,0.17l1.05,0.66l0.01,2.99l-0.59,3.76l0.38,0.86l-0.23,1.23l-0.39,0.35l-0.63,1.81l-2.43,2.75Z", name: "Zimbabwe" }, ES: { path: "M416.0,169.21l1.07,1.17l4.61,1.38l1.06,-0.57l2.6,1.26l2.71,-0.3l0.09,1.12l-2.14,1.8l-3.11,0.61l-0.31,0.31l-0.2,0.89l-1.54,1.69l-0.97,2.4l0.84,1.74l-1.32,1.27l-0.48,1.68l-1.88,0.65l-1.66,2.07l-5.36,-0.01l-1.79,1.08l-0.89,0.98l-0.88,-0.17l-0.79,-0.82l-0.68,-1.59l-2.37,-0.63l-0.11,-0.5l1.21,-1.82l-0.77,-1.13l0.61,-1.68l-0.76,-1.62l0.87,-0.49l0.09,-1.25l0.42,-0.6l0.03,-2.11l0.99,-0.69l0.13,-0.5l-1.03,-1.73l-1.46,-0.11l-0.61,0.38l-1.06,0.0l-0.52,-1.23l-0.53,-0.21l-1.32,0.67l-0.01,-1.49l-0.75,-0.96l3.03,-1.88l2.99,0.53l3.32,-0.02l2.63,0.51l6.01,-0.06Z", name: "Spain" }, ER: { path: "M520.38,246.23l3.42,2.43l3.5,3.77l0.84,0.54l-0.95,-0.01l-3.51,-3.89l-2.33,-1.15l-1.73,-0.07l-0.91,-0.51l-1.26,0.51l-1.34,-1.02l-0.61,0.17l-0.66,1.61l-2.35,-0.43l-0.17,-0.67l1.29,-5.29l0.61,-0.61l1.95,-0.53l0.87,-1.01l1.17,2.41l0.68,2.33l1.49,1.43Z", name: "Eritrea" }, ME: { path: "M468.91,172.53l-1.22,-1.02l0.47,-1.81l0.89,-0.72l2.26,1.51l-0.5,0.57l-0.75,-0.27l-1.14,1.73Z", name: "Montenegro" }, MD: { path: "M488.41,153.73l1.4,-0.27l1.72,0.93l1.07,0.15l0.85,0.65l-0.14,0.84l0.96,0.85l1.12,2.47l-1.15,-0.07l-0.66,-0.41l-0.52,0.25l-0.09,0.86l-1.08,1.89l-0.27,-0.86l0.25,-1.34l-0.16,-1.6l-3.29,-4.34Z", name: "Moldova" }, MG: { path: "M545.91,319.14l0.4,3.03l0.62,1.21l-0.21,1.02l-0.57,-0.8l-0.69,-0.01l-0.47,0.76l0.41,2.12l-0.18,0.87l-0.73,0.78l-0.15,2.14l-4.71,15.2l-1.06,2.88l-3.92,1.64l-3.12,-1.49l-0.6,-1.21l-0.19,-2.4l-0.86,-2.05l-0.21,-1.77l0.38,-1.62l1.21,-0.75l0.01,-0.76l1.19,-2.04l0.23,-1.66l-1.06,-2.99l-0.19,-2.21l0.81,-1.33l0.32,-1.46l4.63,-1.22l3.44,-3.0l0.85,-1.4l-0.08,-0.7l0.78,-0.04l1.38,-1.77l0.13,-1.64l0.45,-0.61l1.16,1.69l0.59,1.6Z", name: "Madagascar" }, MA: { path: "M378.78,230.02l0.06,-0.59l0.92,-0.73l0.82,-1.37l-0.09,-1.04l0.79,-1.7l1.31,-1.58l0.96,-0.59l0.66,-1.55l0.09,-1.47l0.81,-1.48l1.72,-1.07l1.55,-2.69l1.16,-0.96l2.44,-0.39l1.94,-1.82l1.31,-0.78l2.09,-2.28l-0.51,-3.65l1.24,-3.7l1.5,-1.75l4.46,-2.57l2.37,-4.47l1.44,0.01l1.68,1.21l2.32,-0.19l3.47,0.65l0.8,1.54l0.16,1.71l0.86,2.96l0.56,0.59l-0.26,0.61l-3.05,0.44l-1.26,1.05l-1.33,0.22l-0.33,0.37l-0.09,1.78l-2.68,1.0l-1.07,1.42l-4.47,1.13l-4.04,2.01l-0.54,4.64l-1.15,0.06l-0.92,0.61l-1.96,-0.35l-2.42,0.54l-0.74,1.9l-0.86,0.4l-1.14,3.26l-3.53,3.01l-0.8,3.55l-0.96,1.1l-0.29,0.82l-4.95,0.18Z", name: "Morocco" }, UZ: { path: "M598.64,172.75l-1.63,1.52l0.06,0.64l1.85,1.12l1.97,-0.64l2.21,1.17l-2.52,1.68l-2.59,-0.22l-0.18,-0.41l0.46,-1.23l-0.45,-0.53l-3.35,0.69l-2.1,3.51l-1.87,-0.12l-1.03,1.51l0.22,0.55l1.64,0.62l0.46,1.83l-1.19,2.49l-2.66,-0.53l0.05,-1.36l-0.26,-0.39l-3.3,-1.23l-2.56,-1.4l-4.4,-3.34l-1.34,-3.14l-1.08,-0.6l-2.58,0.13l-0.69,-0.44l-0.47,-2.52l-3.37,-1.6l-0.43,0.05l-2.07,1.72l-2.1,1.01l-0.21,0.47l0.28,1.01l-1.91,0.03l-0.09,-10.5l5.99,-1.7l6.19,3.54l2.71,2.84l7.05,-0.67l2.71,2.01l-0.17,2.81l0.39,0.42l0.9,0.02l0.44,2.14l0.38,0.32l2.94,0.09l0.95,1.42l1.28,-0.24l1.05,-2.04l4.43,-2.5Z", name: "Uzbekistan" }, MM: { path: "M673.9,230.21l-1.97,1.57l-0.57,0.96l-1.4,0.6l-1.36,1.05l-1.99,0.36l-1.08,2.66l-0.91,0.4l-0.19,0.55l1.21,2.27l2.52,3.43l-0.79,1.91l-0.74,0.41l-0.17,0.52l0.65,1.37l1.61,1.95l0.25,2.58l0.9,2.13l-1.92,3.57l0.68,-2.25l-0.81,-1.74l0.19,-2.65l-1.05,-1.53l-1.24,-6.17l-1.12,-2.26l-0.6,-0.13l-4.34,3.02l-2.39,-0.65l0.77,-2.84l-0.52,-2.61l-1.91,-2.96l0.25,-0.75l-0.29,-0.51l-1.33,-0.3l-1.61,-1.93l-0.1,-1.3l0.82,-0.24l0.04,-1.64l1.02,-0.52l0.21,-0.45l-0.23,-0.95l0.54,-0.96l0.08,-2.22l1.46,0.45l0.47,-0.2l1.12,-2.19l0.16,-1.35l1.33,-2.16l-0.0,-1.52l2.89,-1.66l1.63,0.44l0.5,-0.44l-0.17,-1.4l0.64,-0.36l0.08,-1.04l0.77,-0.11l0.71,1.35l1.06,0.69l-0.03,3.86l-2.38,2.37l-0.3,3.15l0.46,0.43l2.28,-0.38l0.51,2.08l1.47,0.67l-0.6,1.8l0.19,0.48l2.97,1.48l1.64,-0.55l0.02,0.32Z", name: "Myanmar" }, ML: { path: "M392.61,254.08l-0.19,-2.37l-0.99,-0.87l-0.44,-1.3l-0.09,-1.28l0.81,-0.58l0.35,-1.24l2.37,0.65l1.31,-0.47l0.86,0.15l0.66,-0.56l9.83,-0.04l0.38,-0.28l0.56,-1.8l-0.44,-0.65l-2.35,-21.95l3.27,-0.04l16.7,11.38l0.74,1.31l2.5,1.09l0.02,1.38l0.44,0.39l2.34,-0.21l0.01,5.38l-1.28,1.61l-0.26,1.49l-5.31,0.57l-1.07,0.92l-2.9,0.1l-0.86,-0.48l-1.38,0.36l-2.4,1.08l-0.6,0.87l-1.85,1.09l-0.43,0.7l-0.79,0.39l-1.44,-0.21l-0.81,0.84l-0.34,1.64l-1.91,2.02l-0.06,1.03l-0.67,1.22l0.13,1.16l-0.97,0.39l-0.23,-0.64l-0.52,-0.24l-1.35,0.4l-0.34,0.55l-2.69,-0.28l-0.37,-0.35l-0.02,-0.9l-0.65,-0.35l0.45,-0.64l-0.03,-0.53l-2.12,-2.44l-0.76,-0.01l-2.0,1.16l-0.78,-0.15l-0.8,-0.67l-1.21,0.23Z", name: "Mali" }, MN: { path: "M676.61,146.48l3.81,1.68l5.67,-1.0l2.37,0.41l2.34,1.5l1.79,1.75l2.29,-0.03l3.12,0.52l2.47,-0.81l3.41,-0.59l3.53,-2.21l1.25,0.29l1.53,1.13l2.27,-0.21l-2.66,5.01l0.64,1.68l0.47,0.21l1.32,-0.38l2.38,0.48l2.02,-1.11l1.76,0.89l2.06,2.02l-0.13,0.53l-1.72,-0.29l-3.77,0.46l-1.88,0.99l-1.76,1.99l-3.71,1.17l-2.45,1.6l-3.83,-0.87l-0.41,0.17l-1.31,1.99l1.04,2.24l-1.52,0.9l-1.74,1.57l-2.79,1.02l-3.78,0.13l-4.05,1.05l-2.77,1.52l-1.16,-0.85l-2.94,0.0l-3.62,-1.79l-2.58,-0.49l-3.4,0.41l-5.12,-0.67l-2.63,0.06l-1.31,-1.6l-1.4,-3.0l-1.48,-0.33l-3.13,-1.94l-6.16,-0.93l-0.71,-1.06l0.86,-3.82l-1.93,-2.71l-3.5,-1.18l-1.95,-1.58l-0.5,-1.72l2.34,-0.52l4.75,-2.8l3.62,-1.47l2.18,0.97l2.46,0.05l1.81,1.53l2.46,0.12l3.95,0.71l2.43,-2.28l0.08,-0.48l-0.9,-1.72l2.24,-2.98l2.62,1.27l4.94,1.17l0.43,2.24Z", name: "Mongolia" }, MK: { path: "M472.8,173.98l0.49,-0.71l3.57,-0.71l1.0,0.77l0.13,1.45l-0.65,0.53l-1.15,-0.05l-1.12,0.67l-1.39,0.22l-0.79,-0.55l-0.29,-1.03l0.19,-0.6Z", name: "Macedonia" }, MW: { path: "M505.5,309.31l0.85,1.95l0.15,2.86l-0.69,1.65l0.71,1.8l0.06,1.28l0.49,0.64l0.07,1.06l0.4,0.55l0.8,-0.23l0.55,0.61l0.69,-0.21l0.34,0.6l0.19,2.94l-1.04,0.62l-0.54,1.25l-1.11,-1.08l-0.16,-1.56l0.51,-1.31l-0.32,-1.3l-0.99,-0.65l-0.82,0.12l-2.36,-1.64l0.63,-1.96l0.82,-1.18l-0.46,-2.01l0.9,-2.86l-0.94,-2.51l0.96,0.18l0.29,0.4Z", name: "Malawi" }, MR: { path: "M407.36,220.66l-2.58,0.03l-0.39,0.44l2.42,22.56l0.36,0.43l-0.39,1.24l-9.75,0.04l-0.56,0.53l-0.91,-0.11l-1.27,0.45l-1.61,-0.66l-0.97,0.03l-0.36,0.29l-0.38,1.35l-0.42,0.23l-2.93,-3.4l-2.96,-1.52l-1.62,-0.03l-1.27,0.54l-1.12,-0.2l-0.65,0.4l-0.08,-0.49l0.68,-1.29l0.31,-2.43l-0.57,-3.91l0.23,-1.21l-0.69,-1.5l-1.15,-1.02l0.25,-0.39l9.58,0.02l0.4,-0.45l-0.46,-3.68l0.47,-1.04l2.12,-0.21l0.36,-0.4l-0.08,-6.4l7.81,0.13l0.41,-0.4l0.01,-3.31l7.76,5.35Z", name: "Mauritania" }, UG: { path: "M498.55,276.32l0.7,-0.46l1.65,0.5l1.96,-0.57l1.7,0.01l1.45,-0.98l0.91,1.33l1.33,3.95l-2.57,4.03l-1.46,-0.4l-2.54,0.91l-1.37,1.61l-0.01,0.81l-2.42,-0.01l-2.26,1.01l-0.17,-1.59l0.58,-1.04l0.14,-1.94l1.37,-2.28l1.78,-1.58l-0.17,-0.65l-0.72,-0.24l0.13,-2.43Z", name: "Uganda" }, MY: { path: "M717.47,273.46l-1.39,0.65l-2.12,-0.41l-2.88,-0.0l-0.38,0.28l-0.84,2.75l-0.99,0.96l-1.21,3.29l-1.73,0.45l-2.45,-0.68l-1.39,0.31l-1.33,1.15l-1.59,-0.14l-1.41,0.44l-1.44,-1.19l-0.18,-0.73l1.34,0.53l1.93,-0.47l0.75,-2.22l4.02,-1.03l2.75,-3.21l0.82,0.94l0.64,-0.05l0.4,-0.65l0.96,0.06l0.42,-0.36l0.24,-2.68l1.81,-1.64l1.21,-1.86l0.63,-0.01l1.07,1.05l0.34,1.28l3.44,1.35l-0.06,0.35l-1.37,0.1l-0.35,0.54l0.32,0.88ZM673.68,269.59l0.17,1.09l0.47,0.33l1.65,-0.3l0.87,-0.94l1.61,1.52l0.98,1.56l-0.12,2.81l0.41,2.29l0.95,0.9l0.88,2.44l-1.27,0.12l-5.1,-3.67l-0.34,-1.29l-1.37,-1.59l-0.33,-1.97l-0.88,-1.4l0.25,-1.68l-0.46,-1.05l1.63,0.84Z", name: "Malaysia" }, MX: { path: "M133.12,200.41l0.2,0.47l9.63,3.33l6.96,-0.02l0.4,-0.4l0.0,-0.74l3.77,0.0l3.55,2.93l1.39,2.83l1.52,1.04l2.08,0.82l0.47,-0.14l1.46,-2.0l1.73,-0.04l1.59,0.98l2.05,3.35l1.47,1.56l1.26,3.14l2.18,1.02l2.26,0.58l-1.18,3.72l-0.42,5.04l1.79,4.89l1.62,1.89l0.61,1.52l1.2,1.42l2.55,0.66l1.37,1.1l7.54,-1.89l1.86,-1.3l1.14,-4.3l4.1,-1.21l3.57,-0.11l0.32,0.3l-0.06,0.94l-1.26,1.45l-0.67,1.71l0.38,0.7l-0.72,2.27l-0.49,-0.3l-1.0,0.08l-1.0,1.39l-0.47,-0.11l-0.53,0.47l-4.26,-0.02l-0.4,0.4l-0.0,1.06l-1.1,0.26l0.1,0.44l1.82,1.44l0.56,0.91l-3.19,0.21l-1.21,2.09l0.24,0.72l-0.2,0.44l-2.24,-2.18l-1.45,-0.93l-2.22,-0.69l-1.52,0.22l-3.07,1.16l-10.55,-3.85l-2.86,-1.96l-3.78,-0.92l-1.08,-1.19l-2.62,-1.43l-1.18,-1.54l-0.38,-0.81l0.66,-0.63l-0.18,-0.53l0.52,-0.76l0.01,-0.91l-2.0,-3.82l-2.21,-2.63l-2.53,-2.09l-1.19,-1.62l-2.2,-1.17l-0.3,-0.43l0.34,-1.48l-0.21,-0.45l-1.23,-0.6l-1.36,-1.2l-0.59,-1.78l-1.54,-0.47l-2.44,-2.55l-0.16,-0.9l-1.33,-2.03l-0.84,-1.99l-0.16,-1.33l-1.81,-1.1l-0.97,0.05l-1.31,-0.7l-0.57,0.22l-0.4,1.12l0.72,3.77l3.51,3.89l0.28,0.78l0.53,0.26l0.41,1.43l1.33,1.73l1.58,1.41l0.8,2.39l1.43,2.41l0.13,1.32l0.37,0.36l1.04,0.08l1.67,2.28l-0.85,0.76l-0.66,-1.51l-1.68,-1.54l-2.91,-1.87l0.06,-1.82l-0.54,-1.68l-2.91,-2.03l-0.55,0.09l-1.95,-1.1l-0.88,-0.94l0.68,-0.08l0.93,-1.01l0.08,-1.78l-1.93,-1.94l-1.46,-0.77l-3.75,-7.56l4.88,-0.42Z", name: "Mexico" }, VU: { path: "M839.04,322.8l0.22,1.14l-0.44,0.03l-0.2,-1.45l0.42,0.27Z", name: "Vanuatu" }, FR: { path: "M444.48,172.62l-0.64,1.78l-0.58,-0.31l-0.49,-1.72l0.4,-0.89l1.0,-0.72l0.3,1.85ZM429.64,147.1l1.78,1.58l1.46,-0.13l2.1,1.42l1.35,0.27l1.23,0.83l3.04,0.5l-1.03,1.85l-0.3,2.12l-0.41,0.32l-0.95,-0.24l-0.5,0.43l0.06,0.61l-1.81,1.92l-0.04,1.42l0.55,0.38l0.88,-0.36l0.61,0.97l-0.03,1.0l0.57,0.91l-0.75,1.09l0.65,2.39l1.27,0.57l-0.18,0.82l-2.01,1.53l-4.77,-0.8l-3.82,1.0l-0.53,1.85l-2.49,0.34l-2.71,-1.31l-1.16,0.57l-4.31,-1.29l-0.72,-0.86l1.19,-1.78l0.39,-6.45l-2.58,-3.3l-1.9,-1.66l-3.72,-1.23l-0.19,-1.72l2.81,-0.61l4.12,0.81l0.47,-0.48l-0.6,-2.77l1.94,0.95l5.83,-2.54l0.92,-2.74l1.6,-0.49l0.24,0.78l1.36,0.33l1.05,1.19ZM289.01,278.39l-0.81,0.8l-0.78,0.12l-0.5,-0.66l-0.56,-0.1l-0.91,0.6l-0.46,-0.22l1.09,-2.96l-0.96,-1.77l-0.17,-1.49l1.07,-1.77l2.32,0.75l2.51,2.01l0.3,0.74l-2.14,3.96Z", name: "France" }, FI: { path: "M492.17,76.39l-0.23,3.5l3.52,2.63l-2.08,2.88l-0.02,0.44l2.8,4.56l-1.59,3.31l2.16,3.24l-0.94,2.39l0.14,0.47l3.44,2.51l-0.77,1.62l-7.52,6.95l-4.5,0.31l-4.38,1.37l-3.8,0.74l-1.44,-1.96l-2.17,-1.11l0.5,-3.66l-1.16,-3.33l1.09,-2.08l2.21,-2.42l5.67,-4.32l1.64,-0.83l0.21,-0.42l-0.46,-2.02l-3.38,-1.89l-0.75,-1.43l-0.22,-6.74l-6.79,-4.8l0.8,-0.62l2.54,2.12l3.46,-0.12l3.0,0.96l2.51,-2.11l1.17,-3.08l3.55,-1.38l2.76,1.53l-0.95,2.79Z", name: "Finland" }, FJ: { path: "M871.53,326.34l-2.8,1.05l-0.08,-0.23l2.97,-1.21l-0.1,0.39ZM867.58,329.25l0.43,0.37l-0.27,0.88l-1.24,0.28l-1.04,-0.24l-0.14,-0.66l0.63,-0.58l0.92,0.26l0.7,-0.31Z", name: "Fiji" }, FK: { path: "M274.36,425.85l1.44,1.08l-0.47,0.73l-3.0,0.89l-0.96,-1.0l-0.52,-0.05l-1.83,1.29l-0.73,-0.88l2.46,-1.64l1.93,0.76l1.67,-1.19Z", name: "Falkland Is." }, NI: { path: "M202.33,252.67l0.81,-0.18l1.03,-1.02l-0.04,-0.88l0.68,-0.0l0.63,-0.54l0.97,0.22l1.53,-1.26l0.58,-0.99l1.17,0.34l2.41,-0.94l0.13,1.32l-0.81,1.94l0.1,2.74l-0.36,0.37l-0.11,1.75l-0.47,0.81l0.18,1.14l-1.73,-0.85l-0.71,0.27l-1.47,-0.6l-0.52,0.16l-4.01,-3.81Z", name: "Nicaragua" }, NL: { path: "M430.31,143.39l0.6,-0.5l2.13,-4.8l3.2,-1.33l1.74,0.08l0.33,0.8l-0.59,2.92l-0.5,0.99l-1.26,0.0l-0.4,0.45l0.33,2.7l-2.2,-1.78l-2.62,0.58l-0.75,-0.11Z", name: "Netherlands" }, NO: { path: "M491.44,67.41l6.8,2.89l-2.29,0.86l-0.15,0.65l2.33,2.38l-4.98,1.79l0.84,-2.45l-0.18,-0.48l-3.55,-1.8l-3.89,1.52l-1.42,3.38l-2.12,1.72l-2.64,-1.0l-3.11,0.21l-2.66,-2.22l-0.5,-0.01l-1.41,1.1l-1.44,0.17l-0.35,0.35l-0.32,2.47l-4.32,-0.64l-0.44,0.29l-0.58,2.11l-2.45,0.2l-4.15,7.68l-3.88,5.76l0.78,1.62l-0.64,1.16l-2.24,-0.06l-0.38,0.24l-1.66,3.89l0.15,5.17l1.57,2.04l-0.78,4.16l-2.02,2.48l-0.85,1.63l-1.3,-1.75l-0.58,-0.07l-4.87,4.19l-3.1,0.79l-3.16,-1.7l-0.85,-3.77l-0.77,-8.55l2.14,-2.31l6.55,-3.27l5.02,-4.17l10.63,-13.84l10.98,-8.7l5.35,-1.91l4.34,0.12l3.69,-3.64l4.49,0.19l4.37,-0.89ZM484.55,20.04l4.26,1.75l-3.1,2.55l-7.1,0.65l-7.08,-0.9l-0.37,-1.31l-0.37,-0.29l-3.44,-0.1l-2.08,-2.0l6.87,-1.44l3.9,1.31l2.39,-1.64l6.13,1.4ZM481.69,33.93l-4.45,1.74l-3.54,-0.99l1.12,-0.9l0.05,-0.58l-1.06,-1.22l4.22,-0.89l1.09,1.97l2.57,0.87ZM466.44,24.04l7.43,3.77l-5.41,1.86l-1.58,4.08l-2.26,1.2l-1.12,4.11l-2.61,0.18l-4.79,-2.86l1.84,-1.54l-0.1,-0.68l-3.69,-1.53l-4.77,-4.51l-1.73,-3.89l6.11,-1.82l1.54,1.92l3.57,-0.08l1.2,-1.96l3.32,-0.18l3.05,1.92Z", name: "Norway" }, NA: { path: "M474.26,330.66l-0.97,0.04l-0.38,0.4l-0.07,8.9l-2.09,0.08l-0.39,0.4l-0.0,17.42l-1.98,1.23l-1.17,0.17l-2.44,-0.66l-0.48,-1.13l-0.99,-0.74l-0.54,0.05l-0.9,1.01l-1.53,-1.68l-0.93,-1.88l-1.99,-8.56l-0.06,-3.12l-0.33,-1.52l-2.3,-3.34l-1.91,-4.83l-1.96,-2.43l-0.12,-1.57l2.33,-0.79l1.43,0.07l1.81,1.13l10.23,-0.25l1.84,1.23l5.87,0.35ZM474.66,330.64l6.51,-1.6l1.9,0.39l-1.69,0.4l-1.31,0.83l-1.12,-0.94l-4.29,0.92Z", name: "Namibia" }, NC: { path: "M838.78,341.24l-0.33,0.22l-2.9,-1.75l-3.26,-3.37l1.65,0.83l4.85,4.07Z", name: "New Caledonia" }, NE: { path: "M454.75,226.53l1.33,1.37l0.48,0.07l1.27,-0.7l0.53,3.52l0.94,0.83l0.17,0.92l0.81,0.69l-0.44,0.95l-0.96,5.26l-0.13,3.22l-3.04,2.31l-1.22,3.57l1.02,1.24l-0.0,1.46l0.39,0.4l1.13,0.04l-0.9,1.25l-1.47,-2.42l-0.86,-0.29l-2.09,1.37l-1.74,-0.67l-1.45,-0.17l-0.85,0.35l-1.36,-0.07l-1.64,1.09l-1.06,0.05l-2.94,-1.28l-1.44,0.59l-1.01,-0.03l-0.97,-0.94l-2.7,-0.98l-2.69,0.3l-0.87,0.64l-0.47,1.6l-0.75,1.16l-0.12,1.53l-1.57,-1.1l-1.31,0.24l0.03,-0.81l-0.32,-0.41l-2.59,-0.52l-0.15,-1.16l-1.35,-1.6l-0.29,-1.0l0.13,-0.84l1.29,-0.08l1.08,-0.92l3.31,-0.22l2.22,-0.41l0.32,-0.34l0.2,-1.47l1.39,-1.88l-0.01,-5.66l3.36,-1.12l7.24,-5.12l8.42,-4.92l3.69,1.06Z", name: "Niger" }, NG: { path: "M456.32,253.89l0.64,0.65l-0.28,1.04l-2.11,2.01l-2.03,5.18l-1.37,1.16l-1.15,3.18l-1.33,0.66l-1.46,-0.97l-1.21,0.16l-1.38,1.36l-0.91,0.24l-1.79,4.06l-2.33,0.81l-1.11,-0.07l-0.86,0.5l-1.71,-0.05l-1.19,-1.39l-0.89,-1.89l-1.77,-1.66l-3.95,-0.08l0.07,-5.21l0.42,-1.43l1.95,-2.3l-0.14,-0.91l0.43,-1.18l-0.53,-1.41l0.25,-2.92l0.72,-1.07l0.32,-1.34l0.46,-0.39l2.47,-0.28l2.34,0.89l1.15,1.02l1.28,0.04l1.22,-0.58l3.03,1.27l1.49,-0.14l1.36,-1.0l1.33,0.07l0.82,-0.35l3.45,0.8l1.82,-1.32l1.84,2.67l0.66,0.16Z", name: "Nigeria" }, NZ: { path: "M857.8,379.65l1.86,3.12l0.44,0.18l0.3,-0.38l0.03,-1.23l0.38,0.27l0.57,2.31l2.02,0.94l1.81,0.27l1.57,-1.06l0.7,0.18l-1.15,3.59l-1.98,0.11l-0.74,1.2l0.2,1.11l-2.42,3.98l-1.49,0.92l-1.04,-0.85l1.21,-2.05l-0.81,-2.01l-2.63,-1.25l0.04,-0.57l1.82,-1.19l0.43,-2.34l-0.16,-2.03l-0.95,-1.82l-0.06,-0.72l-3.11,-3.64l-0.79,-1.52l1.56,1.45l1.76,0.66l0.65,2.34ZM853.83,393.59l0.57,1.24l0.59,0.16l1.42,-0.97l0.46,0.79l0.0,1.03l-2.47,3.48l-1.26,1.2l-0.06,0.5l0.55,0.87l-1.41,0.07l-2.33,1.38l-2.03,5.02l-3.02,2.16l-2.06,-0.06l-1.71,-1.04l-2.47,-0.2l-0.27,-0.73l1.22,-2.1l3.05,-2.94l1.62,-0.59l4.02,-2.82l1.57,-1.67l1.07,-2.16l0.88,-0.7l0.48,-1.75l1.24,-0.97l0.35,0.79Z", name: "New Zealand" }, NP: { path: "M641.14,213.62l0.01,3.19l-1.74,0.04l-4.8,-0.86l-1.58,-1.39l-3.37,-0.34l-7.65,-3.7l0.8,-2.09l2.33,-1.7l1.77,0.75l2.49,1.76l1.38,0.41l0.99,1.35l1.9,0.52l1.99,1.17l5.49,0.9Z", name: "Nepal" }, CI: { path: "M407.4,259.27l0.86,0.42l0.56,0.9l1.13,0.53l1.19,-0.61l0.97,-0.08l1.42,0.54l0.6,3.24l-1.03,2.08l-0.65,2.84l1.06,2.33l-0.06,0.53l-2.54,-0.47l-1.66,0.03l-3.06,0.46l-4.11,1.6l0.32,-3.06l-1.18,-1.31l-1.32,-0.66l0.42,-0.85l-0.2,-1.4l0.5,-0.67l0.01,-1.59l0.84,-0.32l0.26,-0.5l-1.15,-3.01l0.12,-0.5l0.51,-0.25l0.66,0.31l1.93,0.02l0.67,-0.71l0.71,-0.14l0.25,0.69l0.57,0.22l1.4,-0.61Z", name: "C脙麓te d'Ivoire" }, CH: { path: "M444.62,156.35l-0.29,0.87l0.18,0.53l1.13,0.58l1.0,0.1l-0.1,0.65l-0.79,0.38l-1.72,-0.37l-0.45,0.23l-0.45,1.04l-0.75,0.06l-0.84,-0.4l-1.32,1.0l-0.96,0.12l-0.88,-0.55l-0.81,-1.3l-0.49,-0.16l-0.63,0.26l0.02,-0.65l1.71,-1.66l0.1,-0.56l0.93,0.08l0.58,-0.46l1.99,0.02l0.66,-0.61l2.19,0.79Z", name: "Switzerland" }, CO: { path: "M242.07,254.93l-1.7,0.59l-0.59,1.18l-1.7,1.69l-0.38,1.93l-0.67,1.43l0.31,0.57l1.03,0.13l0.25,0.9l0.57,0.64l-0.04,2.34l1.64,1.42l3.16,-0.24l1.26,0.28l1.67,2.06l0.41,0.13l4.09,-0.39l0.45,0.22l-0.92,1.95l-0.2,1.8l0.52,1.83l0.75,1.05l-1.12,1.1l0.07,0.63l0.84,0.51l0.74,1.29l-0.39,-0.45l-0.59,-0.01l-0.71,0.74l-4.71,-0.05l-0.4,0.41l0.03,1.57l0.33,0.39l1.11,0.2l-1.68,0.4l-0.29,0.38l-0.01,1.82l1.16,1.14l0.34,1.25l-1.05,7.05l-1.04,-0.87l1.26,-1.99l-0.13,-0.56l-2.18,-1.23l-1.38,0.2l-1.14,-0.38l-1.27,0.61l-1.55,-0.26l-1.38,-2.46l-1.23,-0.75l-0.85,-1.2l-1.67,-1.19l-0.86,0.13l-2.11,-1.32l-1.01,0.31l-1.8,-0.29l-0.52,-0.91l-3.09,-1.68l0.77,-0.52l-0.1,-1.12l0.41,-0.64l1.34,-0.32l2.0,-2.88l-0.11,-0.57l-0.66,-0.43l0.39,-1.38l-0.52,-2.1l0.49,-0.83l-0.4,-2.13l-0.97,-1.35l0.17,-0.66l0.86,-0.08l0.47,-0.75l-0.46,-1.63l1.41,-0.07l1.8,-1.69l0.93,-0.24l0.3,-0.38l0.45,-2.76l1.22,-1.0l1.44,-0.04l0.45,-0.5l1.91,0.12l2.93,-1.84l1.15,-1.14l0.91,0.46l-0.25,0.45Z", name: "Colombia" }, CN: { path: "M740.23,148.97l4.57,1.3l2.8,2.17l0.98,2.9l0.38,0.27l3.8,0.0l2.32,-1.28l3.29,-0.75l-0.96,2.09l-1.02,1.28l-0.85,3.4l-1.52,2.73l-2.76,-0.5l-2.4,1.13l-0.21,0.45l0.64,2.57l-0.32,3.2l-0.94,0.06l-0.37,0.89l-0.91,-1.01l-0.64,0.07l-0.92,1.57l-3.73,1.25l-0.26,0.48l0.26,1.06l-1.5,-0.08l-1.09,-0.86l-0.56,0.06l-1.67,2.06l-2.7,1.56l-2.03,1.88l-3.4,0.83l-1.93,1.4l-1.15,0.34l0.33,-0.7l-0.41,-0.89l1.79,-1.79l0.02,-0.54l-1.32,-1.56l-0.48,-0.1l-2.24,1.09l-2.83,2.06l-1.51,1.83l-2.28,0.13l-1.55,1.49l-0.04,0.5l1.32,1.97l2.0,0.58l0.31,1.35l1.98,0.84l3.0,-1.96l2.0,1.02l1.49,0.11l0.22,0.83l-3.37,0.86l-1.12,1.48l-2.5,1.52l-1.29,1.99l0.14,0.56l2.57,1.48l0.97,2.7l3.17,4.63l-0.03,1.66l-1.35,0.65l-0.2,0.51l0.6,1.47l1.4,0.91l-0.89,3.82l-1.43,0.38l-3.85,6.44l-2.27,3.11l-6.78,4.57l-2.73,0.29l-1.45,1.04l-0.62,-0.61l-0.55,-0.01l-1.36,1.25l-3.39,1.27l-2.61,0.4l-1.1,2.79l-0.81,0.09l-0.49,-1.42l0.5,-0.85l-0.25,-0.59l-3.36,-0.84l-1.3,0.4l-2.31,-0.62l-0.94,-0.84l0.33,-1.28l-0.3,-0.49l-2.19,-0.46l-1.13,-0.93l-0.47,-0.02l-2.06,1.36l-4.29,0.28l-2.76,1.05l-0.28,0.43l0.32,2.53l-0.59,-0.03l-0.19,-1.34l-0.55,-0.34l-1.68,0.7l-2.46,-1.23l0.62,-1.87l-0.26,-0.51l-1.37,-0.44l-0.54,-2.22l-0.45,-0.3l-2.13,0.35l0.24,-2.48l2.39,-2.4l0.03,-4.31l-1.19,-0.92l-0.78,-1.49l-0.41,-0.21l-1.41,0.19l-1.98,-0.3l0.46,-1.07l-1.17,-1.7l-0.55,-0.11l-1.63,1.05l-2.25,-0.57l-2.89,1.73l-2.25,1.98l-1.75,0.29l-1.17,-0.71l-3.31,-0.65l-1.48,0.79l-1.04,1.27l-0.12,-1.17l-0.54,-0.34l-1.44,0.54l-5.55,-0.86l-1.98,-1.16l-1.89,-0.54l-0.99,-1.35l-1.34,-0.37l-2.55,-1.79l-2.01,-0.84l-1.21,0.56l-5.57,-3.45l-0.53,-2.31l1.19,0.25l0.48,-0.37l0.08,-1.42l-0.98,-1.56l0.15,-2.44l-2.69,-3.32l-4.12,-1.23l-0.67,-2.0l-1.92,-1.48l-0.38,-0.7l-0.51,-3.01l-1.52,-0.66l-0.7,0.13l-0.48,-2.05l0.55,-0.51l-0.09,-0.82l2.03,-1.19l1.6,-0.54l2.56,0.38l0.42,-0.22l0.85,-1.7l3.0,-0.33l1.1,-1.26l4.05,-1.77l0.39,-0.91l-0.17,-1.44l1.45,-0.67l0.2,-0.52l-2.07,-4.9l4.51,-1.12l1.37,-0.73l1.89,-5.51l4.98,0.86l1.51,-1.7l0.11,-2.87l1.99,-0.38l1.83,-2.06l0.49,-0.13l0.68,2.08l2.23,1.77l3.44,1.16l1.55,2.29l-0.92,3.49l0.96,1.67l6.54,1.13l2.95,1.87l1.47,0.35l1.06,2.62l1.53,1.91l3.05,0.08l5.14,0.67l3.37,-0.41l2.36,0.43l3.65,1.8l3.06,0.04l1.45,0.88l2.87,-1.59l3.95,-1.02l3.83,-0.14l3.06,-1.14l1.77,-1.6l1.72,-1.01l0.17,-0.49l-1.1,-2.05l1.02,-1.54l4.02,0.8l2.45,-1.61l3.76,-1.19l1.96,-2.13l1.63,-0.83l3.51,-0.4l1.92,0.34l0.46,-0.3l0.17,-1.5l-2.27,-2.22l-2.11,-1.09l-2.18,1.11l-2.32,-0.47l-1.29,0.32l-0.4,-0.82l2.73,-5.16l3.02,1.06l3.53,-2.06l0.18,-1.68l2.16,-3.35l1.49,-1.35l-0.03,-1.85l-1.07,-0.85l1.54,-1.26l2.98,-0.59l3.23,-0.09l3.64,0.99l2.04,1.16l3.29,6.71l0.92,3.19ZM696.92,237.31l-1.87,1.08l-1.63,-0.64l-0.06,-1.79l1.03,-0.98l2.58,-0.69l1.16,0.05l0.3,0.54l-0.98,1.06l-0.53,1.37Z", name: "China" }, CM: { path: "M457.92,257.49l1.05,1.91l-1.4,0.16l-1.05,-0.23l-0.45,0.22l-0.54,1.19l0.08,0.45l1.48,1.47l1.05,0.45l1.01,2.46l-1.52,2.99l-0.68,0.68l-0.13,3.69l2.38,3.84l1.09,0.8l0.24,2.48l-3.67,-1.14l-11.27,-0.13l0.23,-1.79l-0.98,-1.66l-1.19,-0.54l-0.44,-0.97l-0.6,-0.42l1.71,-4.27l0.75,-0.13l1.38,-1.36l0.65,-0.03l1.71,0.99l1.93,-1.12l1.14,-3.18l1.38,-1.17l2.0,-5.14l2.17,-2.13l0.3,-1.64l-0.86,-0.88l0.03,-0.33l0.94,1.28l0.07,3.22Z", name: "Cameroon" }, CL: { path: "M246.5,429.18l-3.14,1.83l-0.57,3.16l-0.64,0.05l-2.68,-1.06l-2.82,-2.33l-3.04,-1.89l-0.69,-1.85l0.63,-2.14l-1.21,-2.11l-0.31,-5.37l1.01,-2.91l2.57,-2.38l-0.18,-0.68l-3.16,-0.77l2.05,-2.47l0.77,-4.65l2.32,0.9l0.54,-0.29l1.31,-6.31l-0.22,-0.44l-1.68,-0.8l-0.56,0.28l-0.7,3.36l-0.81,-0.22l1.56,-9.41l1.15,-2.24l-0.71,-2.82l-0.18,-2.84l1.01,-0.33l3.26,-9.14l1.07,-4.22l-0.56,-4.21l0.74,-2.34l-0.29,-3.27l1.46,-3.34l2.04,-16.59l-0.66,-7.76l1.03,-0.53l0.54,-0.9l0.79,1.14l0.32,1.78l1.25,1.16l-0.69,2.55l1.33,2.9l0.97,3.59l0.46,0.29l1.5,-0.3l0.11,0.23l-0.76,2.44l-2.57,1.23l-0.23,0.37l0.08,4.33l-0.46,0.77l0.56,1.21l-1.58,1.51l-1.68,2.62l-0.89,2.47l0.2,2.7l-1.48,2.73l1.12,5.09l0.64,0.61l-0.01,2.29l-1.38,2.68l0.01,2.4l-1.89,2.04l0.02,2.75l0.69,2.57l-1.43,1.13l-1.26,5.68l0.39,3.51l-0.97,0.89l0.58,3.5l1.02,1.14l-0.65,1.02l0.15,0.57l1.0,0.53l0.16,0.69l-1.03,0.85l0.26,1.75l-0.89,4.03l-1.31,2.66l0.24,1.75l-0.71,1.83l-1.99,1.7l0.3,3.67l0.88,1.19l1.58,0.01l0.01,2.21l1.04,1.95l5.98,0.63ZM248.69,430.79l0.0,7.33l0.4,0.4l3.52,0.05l-0.44,0.75l-1.94,0.98l-2.49,-0.37l-1.88,-1.06l-2.55,-0.49l-5.59,-3.71l-2.38,-2.63l4.1,2.48l3.32,1.23l0.45,-0.12l1.29,-1.57l0.83,-2.32l2.05,-1.24l1.31,0.29Z", name: "Chile" }, CA: { path: "M280.06,145.6l-1.67,2.88l0.07,0.49l0.5,0.04l1.46,-0.98l1.0,0.42l-0.56,0.72l0.17,0.62l2.22,0.89l1.35,-0.71l1.95,0.78l-0.66,2.01l0.5,0.51l1.32,-0.42l0.98,3.17l-0.91,2.41l-0.8,0.08l-1.23,-0.45l0.47,-2.25l-0.89,-0.83l-0.48,0.06l-2.78,2.63l-0.34,-0.02l1.02,-0.85l-0.14,-0.69l-2.4,-0.77l-7.4,0.08l-0.17,-0.41l1.3,-0.94l0.02,-0.64l-0.73,-0.58l1.85,-1.74l2.57,-5.16l1.47,-1.79l1.99,-1.05l0.46,0.06l-1.53,2.45ZM68.32,74.16l4.13,0.95l4.02,2.14l2.61,0.4l2.47,-1.89l2.88,-1.31l3.85,0.48l3.71,-1.94l3.82,-1.04l1.56,1.68l0.49,0.08l1.87,-1.04l0.65,-1.98l1.24,0.35l4.16,3.94l0.54,0.01l2.75,-2.49l0.26,2.59l0.49,0.35l3.08,-0.73l1.04,-1.27l2.73,0.23l3.83,1.86l5.86,1.61l3.47,0.75l2.44,-0.26l2.73,1.78l-2.98,1.81l-0.19,0.41l0.31,0.32l4.53,0.92l6.87,-0.5l2.0,-0.69l2.49,2.39l0.53,0.02l2.72,-2.16l-0.02,-0.64l-2.16,-1.54l1.15,-1.06l4.83,-0.61l1.84,0.95l2.48,2.31l3.01,-0.23l4.55,1.92l3.85,-0.67l3.61,0.1l0.41,-0.44l-0.25,-2.36l1.79,-0.61l3.49,1.32l-0.01,3.77l0.31,0.39l0.45,-0.22l1.48,-3.16l1.74,0.1l0.41,-0.3l1.13,-4.37l-2.78,-3.11l-2.8,-1.74l0.19,-4.64l2.71,-3.07l2.98,0.67l2.41,1.95l3.19,4.8l-1.99,1.97l0.21,0.68l4.33,0.84l-0.01,4.15l0.25,0.37l0.44,-0.09l3.07,-3.15l2.54,2.39l-0.61,3.33l2.42,2.88l0.61,0.0l2.61,-3.08l1.88,-3.82l0.17,-4.58l6.72,0.94l3.13,2.04l0.13,1.82l-1.76,2.19l-0.01,0.49l1.66,2.16l-0.26,1.71l-4.68,2.8l-3.28,0.61l-2.47,-1.2l-0.55,0.23l-0.73,2.04l-2.38,3.43l-0.74,1.77l-2.74,2.57l-3.44,0.25l-2.21,1.78l-0.28,2.53l-2.82,0.55l-3.12,3.22l-2.72,4.31l-1.03,3.17l-0.14,4.31l0.33,0.41l3.44,0.57l2.24,5.95l0.45,0.23l3.4,-0.69l4.52,1.51l2.43,1.31l1.91,1.73l3.1,0.96l2.62,1.46l6.6,0.54l-0.35,2.74l0.81,3.53l1.81,3.78l3.83,3.3l0.45,0.04l2.1,-1.28l1.37,-3.69l-1.31,-5.38l-1.45,-1.58l3.57,-1.47l2.84,-2.46l1.52,-2.8l-0.25,-2.55l-1.7,-3.07l-2.85,-2.61l2.8,-3.95l-1.08,-3.37l-0.79,-5.67l1.36,-0.7l6.76,1.41l2.12,-0.96l5.12,3.36l1.05,1.61l4.08,0.26l-0.06,2.87l0.83,4.7l0.3,0.32l2.16,0.54l1.73,2.06l0.5,0.09l3.63,-2.03l2.52,-4.19l1.26,-1.32l7.6,11.72l-0.92,2.04l0.16,0.51l3.3,1.97l2.22,1.98l4.1,0.98l1.43,0.99l0.95,2.79l2.1,0.68l0.84,1.08l0.17,3.45l-3.37,2.26l-4.22,1.24l-3.06,2.63l-4.06,0.51l-5.35,-0.69l-6.39,0.2l-2.3,2.41l-3.26,1.51l-6.47,7.15l-0.06,0.48l0.44,0.19l2.13,-0.52l4.17,-4.24l5.12,-2.62l3.52,-0.3l1.69,1.21l-2.12,2.21l0.81,3.47l1.02,2.61l3.47,1.6l4.14,-0.45l2.15,-2.8l0.26,1.48l1.14,0.8l-2.56,1.69l-5.5,1.82l-2.54,1.27l-2.74,2.15l-1.4,-0.16l-0.07,-2.01l4.14,-2.44l0.18,-0.45l-0.39,-0.29l-6.63,0.45l-1.39,-1.49l-0.14,-4.43l-1.11,-0.91l-1.82,0.39l-0.66,-0.66l-0.6,0.03l-1.91,2.39l-0.82,2.52l-0.8,1.27l-1.67,0.56l-0.46,0.76l-8.31,0.07l-1.21,0.62l-2.35,1.97l-0.71,-0.14l-1.37,0.96l-1.12,-0.48l-4.74,1.26l-0.9,1.17l0.21,0.62l1.73,0.3l-1.81,0.31l-1.85,0.81l-2.11,-0.13l-2.95,1.78l-0.69,-0.09l1.39,-2.1l1.73,-1.21l0.1,-2.29l1.16,-1.99l0.49,0.53l2.03,0.42l1.2,-1.16l0.02,-0.47l-2.66,-3.51l-2.28,-0.61l-5.64,-0.71l-0.4,-0.57l-0.79,0.13l0.2,-0.41l-0.22,-0.55l-0.68,-0.26l0.19,-1.26l-0.78,-0.73l0.31,-0.64l-0.29,-0.57l-2.6,-0.44l-0.75,-1.63l-0.94,-0.66l-4.31,-0.65l-1.13,1.19l-1.48,0.59l-0.85,1.06l-2.83,-0.76l-2.09,0.39l-2.39,-0.97l-4.24,-0.7l-0.57,-0.4l-0.41,-1.63l-0.4,-0.3l-0.85,0.02l-0.39,0.4l-0.01,0.85l-69.13,-0.01l-6.51,-4.52l-4.5,-1.38l-1.26,-2.66l0.33,-1.93l-0.23,-0.43l-3.01,-1.35l-0.55,-2.77l-2.89,-2.38l-0.04,-1.45l1.39,-1.83l-0.28,-2.55l-4.16,-2.2l-4.07,-6.6l-4.02,-3.22l-1.3,-1.88l-0.5,-0.13l-2.51,1.21l-2.23,1.87l-3.85,-3.88l-2.44,-1.04l-2.22,-0.13l0.03,-37.49ZM260.37,148.65l3.04,0.76l2.26,1.2l-3.78,-0.95l-1.53,-1.01ZM249.4,3.81l6.68,0.49l5.32,0.79l4.26,1.57l-0.07,1.1l-5.85,2.53l-6.02,1.21l-2.39,1.39l-0.18,0.45l0.39,0.29l4.01,-0.02l-4.65,2.82l-4.2,1.74l-4.19,4.59l-5.03,0.92l-1.67,1.15l-7.47,0.59l-0.37,0.37l0.32,0.42l2.41,0.49l-0.81,0.47l-0.12,0.59l1.83,2.41l-2.02,1.59l-3.81,1.51l-1.32,2.16l-3.38,1.53l-0.22,0.48l0.35,1.19l0.4,0.29l3.88,-0.18l0.03,0.61l-6.33,2.95l-6.41,-1.4l-7.43,0.79l-3.72,-0.62l-4.4,-0.25l-0.23,-1.83l4.29,-1.11l0.28,-0.51l-1.1,-3.45l1.0,-0.25l6.58,2.28l0.47,-0.16l-0.05,-0.49l-3.41,-3.45l-3.58,-0.98l1.48,-1.55l4.34,-1.29l0.97,-2.19l-0.16,-0.48l-3.42,-2.13l-0.81,-2.26l6.2,0.22l2.24,0.58l3.91,-2.1l0.2,-0.43l-0.35,-0.32l-5.64,-0.67l-8.73,0.36l-4.26,-1.9l-2.12,-2.4l-2.78,-1.66l-0.41,-1.52l3.31,-1.03l2.93,-0.2l4.91,-0.99l3.7,-2.27l2.87,0.3l2.62,1.67l0.56,-0.14l1.82,-3.2l3.13,-0.94l4.44,-0.69l7.53,-0.26l1.48,0.67l7.19,-1.06l10.8,0.79ZM203.85,57.54l0.01,0.42l1.97,2.97l0.68,-0.02l2.24,-3.72l5.95,-1.86l4.01,4.64l-0.35,2.91l0.5,0.43l4.95,-1.36l2.32,-1.8l5.31,2.28l3.27,2.11l0.3,1.84l0.48,0.33l4.42,-0.99l2.64,2.87l5.97,1.77l2.06,1.72l2.11,3.71l-4.19,1.86l-0.01,0.73l5.9,2.83l3.94,0.94l3.78,3.95l3.46,0.25l-0.63,2.37l-4.11,4.47l-2.76,-1.56l-3.9,-3.94l-3.59,0.41l-0.33,0.34l-0.19,2.72l2.63,2.38l3.42,1.89l0.94,0.97l1.55,3.75l-0.7,2.29l-2.74,-0.92l-6.25,-3.15l-0.51,0.13l0.05,0.52l6.07,5.69l0.18,0.59l-6.09,-1.39l-5.31,-2.24l-2.63,-1.66l0.6,-0.77l-0.12,-0.6l-7.39,-4.01l-0.59,0.37l0.03,0.79l-6.73,0.6l-1.69,-1.1l1.36,-2.46l4.51,-0.07l5.15,-0.52l0.31,-0.6l-0.74,-1.3l0.78,-1.84l3.21,-4.05l-0.67,-2.35l-1.11,-1.6l-3.84,-2.1l-4.35,-1.28l0.91,-0.63l0.06,-0.61l-2.65,-2.75l-2.34,-0.36l-1.89,-1.46l-0.53,0.03l-1.24,1.23l-4.36,0.55l-9.04,-0.99l-9.26,-1.98l-1.6,-1.22l2.22,-1.77l0.13,-0.44l-0.38,-0.27l-3.22,-0.02l-0.72,-4.25l1.83,-4.04l2.42,-1.85l5.5,-1.1l-1.39,2.35ZM261.19,159.33l2.07,0.61l1.44,-0.04l-1.15,0.63l-2.94,-1.23l-0.4,-0.68l0.36,-0.37l0.61,1.07ZM230.83,84.39l-2.37,0.18l-0.49,-1.63l0.93,-2.09l1.94,-0.51l1.62,0.99l0.02,1.52l-1.66,1.54ZM229.43,58.25l0.11,0.65l-4.87,-0.21l-2.72,0.62l-3.1,-2.57l0.08,-1.26l0.86,-0.23l5.57,0.51l4.08,2.5ZM222.0,105.02l-0.72,1.49l-0.63,-0.19l-0.48,-0.84l0.81,-0.99l0.65,0.05l0.37,0.46ZM183.74,38.32l2.9,1.7l4.79,-0.01l1.84,1.46l-0.49,1.68l0.23,0.48l2.82,1.14l1.76,1.26l7.01,0.65l4.1,-1.1l5.03,-0.43l3.93,0.35l2.48,1.77l0.46,1.7l-1.3,1.1l-3.56,1.01l-3.23,-0.59l-7.17,0.76l-5.09,0.09l-3.99,-0.6l-6.42,-1.54l-0.79,-2.51l-0.3,-2.49l-2.64,-2.5l-5.32,-0.72l-2.52,-1.4l0.68,-1.57l4.78,0.31ZM207.38,91.35l0.4,1.56l0.56,0.26l1.06,-0.52l1.32,0.96l5.42,2.57l0.2,1.68l0.46,0.35l1.68,-0.28l1.15,0.85l-1.55,0.87l-3.61,-0.88l-1.32,-1.69l-0.57,-0.06l-2.45,2.1l-3.12,1.79l-0.7,-1.87l-0.42,-0.26l-2.16,0.24l1.39,-1.39l0.32,-3.14l0.76,-3.35l1.18,0.22ZM215.49,102.6l-2.67,1.95l-1.4,-0.07l-0.3,-0.58l1.53,-1.48l2.84,0.18ZM202.7,24.12l2.53,1.59l-2.87,1.4l-4.53,4.05l-4.25,0.38l-5.03,-0.68l-2.45,-2.04l0.03,-1.62l1.82,-1.37l0.14,-0.45l-0.38,-0.27l-4.45,0.04l-2.59,-1.76l-1.41,-2.29l1.57,-2.32l1.62,-1.66l2.44,-0.39l0.25,-0.65l-0.6,-0.74l4.86,-0.25l3.24,3.11l8.16,2.3l1.9,3.61ZM187.47,59.2l-2.76,3.49l-2.38,-0.15l-1.44,-3.84l0.04,-2.2l1.19,-1.88l2.3,-1.23l5.07,0.17l4.11,1.02l-3.24,3.72l-2.88,0.89ZM186.07,48.79l-1.08,1.53l-3.34,-0.34l-2.56,-1.1l1.03,-1.75l3.25,-1.23l1.95,1.58l0.75,1.3ZM185.71,35.32l-5.3,-0.2l-0.32,-0.71l4.31,0.07l1.3,0.84ZM180.68,32.48l-3.34,1.0l-1.79,-1.1l-0.98,-1.87l-0.15,-1.73l4.1,0.53l2.67,1.7l-0.51,1.47ZM180.9,76.31l-1.1,1.08l-3.13,-1.23l-2.12,0.43l-2.71,-1.57l1.72,-1.09l1.55,-1.72l3.81,1.9l1.98,2.2ZM169.74,54.87l2.96,0.97l4.17,-0.57l0.41,0.88l-2.14,2.11l0.09,0.64l3.55,1.92l-0.4,3.72l-3.79,1.65l-2.17,-0.35l-1.72,-1.74l-6.02,-3.5l0.03,-0.85l4.68,0.54l0.4,-0.21l-0.05,-0.45l-2.48,-2.81l2.46,-1.95ZM174.45,40.74l1.37,1.73l0.07,2.44l-1.05,3.45l-3.79,0.47l-2.32,-0.69l0.05,-2.64l-0.44,-0.41l-3.68,0.35l-0.12,-3.1l2.45,0.1l3.67,-1.73l3.41,0.29l0.37,-0.26ZM170.05,31.55l0.67,1.56l-3.33,-0.49l-4.22,-1.77l-4.35,-0.16l1.4,-0.94l-0.06,-0.7l-2.81,-1.23l-0.12,-1.39l4.39,0.68l6.62,1.98l1.81,2.47ZM134.5,58.13l-1.02,1.82l0.45,0.58l5.4,-1.39l3.33,2.29l0.49,-0.03l2.6,-2.23l1.94,1.32l2.0,4.5l0.7,0.06l1.3,-2.29l-1.63,-4.46l1.69,-0.54l2.31,0.71l2.65,1.81l2.49,7.92l8.48,4.27l-0.19,1.35l-3.79,0.33l-0.26,0.67l1.4,1.49l-0.58,1.1l-4.23,-0.64l-4.43,-1.19l-3.0,0.28l-4.66,1.47l-10.52,1.04l-1.43,-2.02l-3.42,-1.2l-2.21,0.43l-2.51,-2.86l4.84,-1.05l3.6,0.19l3.27,-0.78l0.31,-0.39l-0.31,-0.39l-4.84,-1.06l-8.79,0.27l-0.85,-1.07l5.26,-1.66l0.27,-0.45l-0.4,-0.34l-3.8,0.06l-3.81,-1.06l1.81,-3.01l1.66,-1.79l6.48,-2.81l1.97,0.71ZM158.7,56.61l-1.7,2.44l-3.2,-2.75l0.37,-0.3l3.11,-0.18l1.42,0.79ZM149.61,42.73l1.01,1.89l0.5,0.18l2.14,-0.82l2.23,0.19l0.36,2.04l-1.33,2.09l-8.28,0.76l-6.35,2.15l-3.41,0.1l-0.19,-0.96l4.9,-2.08l0.23,-0.46l-0.41,-0.31l-11.25,0.59l-2.89,-0.74l3.04,-4.44l2.14,-1.32l6.81,1.69l4.58,3.06l4.37,0.39l0.36,-0.63l-3.36,-4.6l1.85,-1.53l2.18,0.51l0.77,2.26ZM144.76,34.41l-4.36,1.44l-3.0,-1.4l1.46,-1.24l3.47,-0.52l2.96,0.71l-0.52,1.01ZM145.13,29.83l-1.9,0.66l-3.67,-0.0l2.27,-1.61l3.3,0.95ZM118.92,65.79l-6.03,2.02l-1.33,-1.9l-5.38,-2.28l2.59,-5.05l2.16,-3.14l-0.02,-0.48l-1.97,-2.41l7.64,-0.7l3.6,1.02l6.3,0.27l4.42,2.95l-2.53,0.98l-6.24,3.43l-3.1,3.28l-0.11,2.01ZM129.54,35.53l-0.28,3.37l-1.72,1.62l-2.33,0.28l-4.61,2.19l-3.86,0.76l-2.64,-0.87l3.72,-3.4l5.01,-3.34l3.72,0.07l3.0,-0.67ZM111.09,152.69l-0.67,0.24l-3.85,-1.37l-0.83,-1.17l-2.12,-1.07l-0.66,-1.02l-2.4,-0.55l-0.74,-1.71l6.02,1.45l2.0,2.55l2.52,1.39l0.73,1.27ZM87.8,134.64l0.89,0.29l1.86,-0.21l-0.65,3.34l1.69,2.33l-1.31,-1.33l-0.99,-1.62l-1.17,-0.98l-0.33,-1.82Z", name: "Canada" }, CG: { path: "M466.72,276.48l-0.1,1.03l-1.25,2.97l-0.19,3.62l-0.46,1.78l-0.23,0.63l-1.61,1.19l-1.21,1.39l-1.09,2.43l0.04,2.09l-3.25,3.24l-0.5,-0.24l-0.5,-0.83l-1.36,-0.02l-0.98,0.89l-1.68,-0.99l-1.54,1.24l-1.52,-1.96l1.57,-1.14l0.11,-0.52l-0.77,-1.35l2.1,-0.66l0.39,-0.73l1.05,0.82l2.21,0.11l1.12,-1.37l0.37,-1.81l-0.27,-2.09l-1.13,-1.5l1.0,-2.69l-0.13,-0.45l-0.92,-0.58l-1.6,0.17l-0.51,-0.94l0.1,-0.61l2.75,0.09l3.97,1.24l0.51,-0.33l0.17,-1.28l1.24,-2.21l1.28,-1.14l2.76,0.49Z", name: "Congo" }, CF: { path: "M461.16,278.2l-0.26,-1.19l-1.09,-0.77l-0.84,-1.17l-0.29,-1.0l-1.04,-1.15l0.08,-3.43l0.58,-0.49l1.16,-2.35l1.85,-0.17l0.61,-0.62l0.97,0.58l3.15,-0.96l2.48,-1.92l0.02,-0.96l2.81,0.02l2.36,-1.17l1.93,-2.85l1.16,-0.93l1.11,-0.3l0.27,0.86l1.34,1.47l-0.39,2.01l0.3,1.01l4.01,2.75l0.17,0.93l2.63,2.31l0.6,1.44l2.08,1.4l-3.84,-0.21l-1.94,0.88l-1.23,-0.49l-2.67,1.2l-1.29,-0.18l-0.51,0.36l-0.6,1.22l-3.35,-0.65l-1.57,-0.91l-2.42,-0.83l-1.45,0.91l-0.97,1.27l-0.26,1.56l-3.22,-0.43l-1.49,1.33l-0.94,1.62Z", name: "Central African Rep." }, CD: { path: "M487.01,272.38l2.34,-0.14l1.35,1.84l1.34,0.45l0.86,-0.39l1.21,0.12l1.07,-0.41l0.54,0.89l2.04,1.54l-0.14,2.72l0.7,0.54l-1.38,1.13l-1.53,2.54l-0.17,2.05l-0.59,1.08l-0.02,1.72l-0.72,0.84l-0.66,3.01l0.63,1.32l-0.44,4.26l0.64,1.47l-0.37,1.22l0.86,1.8l1.53,1.41l0.3,1.26l0.44,0.5l-4.08,0.75l-0.92,1.81l0.51,1.34l-0.74,5.43l0.17,0.38l2.45,1.46l0.54,-0.1l0.12,1.62l-1.28,-0.01l-1.85,-2.35l-1.94,-0.45l-0.48,-1.13l-0.55,-0.2l-1.41,0.74l-1.71,-0.3l-1.01,-1.18l-2.49,-0.19l-0.44,-0.77l-1.98,-0.21l-2.88,0.36l0.11,-2.41l-0.85,-1.13l-0.16,-1.36l0.32,-1.73l-0.46,-0.89l-0.04,-1.49l-0.4,-0.39l-2.53,0.02l0.1,-0.41l-0.39,-0.49l-1.28,0.01l-0.43,0.45l-1.62,0.32l-0.83,1.79l-1.09,-0.28l-2.4,0.52l-1.37,-1.91l-1.3,-3.3l-0.38,-0.27l-7.39,-0.03l-2.46,0.42l0.5,-0.45l0.37,-1.47l0.66,-0.38l0.92,0.08l0.73,-0.82l0.87,0.02l0.31,0.68l1.4,0.36l3.59,-3.63l0.01,-2.23l1.02,-2.29l2.69,-2.39l0.43,-0.99l0.49,-1.96l0.17,-3.51l1.25,-2.95l0.36,-3.14l0.86,-1.13l1.1,-0.66l3.57,1.73l3.65,0.73l0.46,-0.21l0.8,-1.46l1.24,0.19l2.61,-1.17l0.81,0.44l1.04,-0.03l0.59,-0.66l0.7,-0.16l1.81,0.25Z", name: "Dem. Rep. Congo" }, CZ: { path: "M458.46,144.88l1.22,1.01l1.47,0.23l0.13,0.93l1.36,0.68l0.54,-0.2l0.24,-0.55l1.15,0.25l0.53,1.09l1.68,0.18l0.6,0.84l-1.04,0.73l-0.96,1.28l-1.6,0.17l-0.55,0.56l-1.04,-0.46l-1.05,0.15l-2.12,-0.96l-1.05,0.34l-1.2,1.12l-1.56,-0.87l-2.57,-2.1l-0.53,-1.88l4.7,-2.52l0.71,0.26l0.9,-0.28Z", name: "Czech Rep." }, CY: { path: "M504.36,193.47l0.43,0.28l-1.28,0.57l-0.92,-0.28l-0.24,-0.46l2.01,-0.13Z", name: "Cyprus" }, CR: { path: "M211.34,258.05l0.48,0.99l1.6,1.6l-0.54,0.45l0.29,1.42l-0.25,1.19l-1.09,-0.59l-0.05,-1.25l-2.46,-1.42l-0.28,-0.77l-0.66,-0.45l-0.45,-0.0l-0.11,1.04l-1.32,-0.95l0.31,-1.3l-0.36,-0.6l0.31,-0.27l1.42,0.58l1.29,-0.14l0.56,0.56l0.74,0.17l0.55,-0.27Z", name: "Costa Rica" }, CU: { path: "M221.21,227.25l1.27,1.02l2.19,-0.28l4.43,3.33l2.08,0.43l-0.1,0.38l0.36,0.5l1.75,0.1l1.48,0.84l-3.11,0.51l-4.15,-0.03l0.77,-0.67l-0.04,-0.64l-1.2,-0.74l-1.49,-0.16l-0.7,-0.61l-0.56,-1.4l-0.4,-0.25l-1.34,0.1l-2.2,-0.66l-0.88,-0.58l-3.18,-0.4l-0.27,-0.16l0.58,-0.74l-0.36,-0.29l-2.72,-0.05l-1.7,1.29l-0.91,0.03l-0.61,0.69l-1.01,0.22l1.11,-1.29l1.01,-0.52l3.69,-1.01l3.98,0.21l2.21,0.84Z", name: "Cuba" }, SZ: { path: "M500.35,351.36l0.5,2.04l-0.38,0.89l-1.05,0.21l-1.23,-1.2l-0.02,-0.64l0.83,-1.57l1.34,0.27Z", name: "Swaziland" }, SY: { path: "M511.0,199.79l0.05,-1.33l0.54,-1.36l1.28,-0.99l0.13,-0.45l-0.41,-1.11l-1.14,-0.36l-0.19,-1.74l0.52,-1.0l1.29,-1.21l0.2,-1.18l0.59,0.23l2.62,-0.76l1.36,0.52l2.06,-0.01l2.95,-1.08l3.25,-0.26l-0.67,0.94l-1.28,0.66l-0.21,0.4l0.23,2.01l-0.88,3.19l-10.15,5.73l-2.15,-0.85Z", name: "Syria" }, KG: { path: "M621.35,172.32l-3.87,1.69l-0.96,1.18l-3.04,0.34l-1.13,1.86l-2.36,-0.35l-1.99,0.63l-2.39,1.4l0.06,0.95l-0.4,0.37l-4.52,0.43l-3.02,-0.93l-2.37,0.17l0.11,-0.79l2.32,0.42l1.13,-0.88l1.99,0.2l3.21,-2.14l-0.03,-0.69l-2.97,-1.57l-1.94,0.65l-1.22,-0.74l1.71,-1.58l-0.12,-0.67l-0.36,-0.15l0.32,-0.77l1.36,-0.35l4.02,1.02l0.49,-0.3l0.35,-1.59l1.09,-0.48l3.42,1.22l1.11,-0.31l7.64,0.39l1.16,1.0l1.23,0.39Z", name: "Kyrgyzstan" }, KE: { path: "M506.26,284.69l1.87,-2.56l0.93,-2.15l-1.38,-4.08l-1.06,-1.6l2.82,-2.75l0.79,0.26l0.12,1.41l0.86,0.83l1.9,0.11l3.28,2.13l3.57,0.44l1.05,-1.12l1.96,-0.9l0.82,0.68l1.16,0.09l-1.78,2.45l0.03,9.12l1.3,1.94l-1.37,0.78l-0.67,1.03l-1.08,0.46l-0.34,1.67l-0.81,1.07l-0.45,1.55l-0.68,0.56l-3.2,-2.23l-0.35,-1.58l-8.86,-4.98l0.14,-1.6l-0.57,-1.04Z", name: "Kenya" }, SS: { path: "M481.71,263.34l1.07,-0.72l1.2,-3.18l1.36,-0.26l1.61,1.99l0.87,0.34l1.1,-0.41l1.5,0.07l0.57,0.53l2.49,0.0l0.44,-0.63l1.07,-0.4l0.45,-0.84l0.59,-0.33l1.9,1.33l1.6,-0.2l2.83,-3.33l-0.32,-2.21l1.59,-0.52l-0.24,1.6l0.3,1.83l1.35,1.18l0.2,1.87l0.35,0.41l0.02,1.53l-0.23,0.47l-1.42,0.25l-0.85,1.44l0.3,0.6l1.4,0.16l1.11,1.08l0.59,1.13l1.03,0.53l1.28,2.36l-4.41,3.98l-1.74,0.01l-1.89,0.55l-1.47,-0.52l-1.15,0.57l-2.96,-2.62l-1.3,0.49l-1.06,-0.15l-0.79,0.39l-0.82,-0.22l-1.8,-2.7l-1.91,-1.1l-0.66,-1.5l-2.62,-2.32l-0.18,-0.94l-2.37,-1.6Z", name: "S. Sudan" }, SR: { path: "M283.12,270.19l2.1,0.53l-1.08,1.95l0.2,1.72l0.93,1.49l-0.59,2.03l-0.43,0.71l-1.12,-0.42l-1.32,0.22l-0.93,-0.2l-0.46,0.26l-0.25,0.73l0.33,0.7l-0.89,-0.13l-1.39,-1.97l-0.31,-1.34l-0.97,-0.31l-0.89,-1.47l0.35,-1.61l1.45,-0.82l0.33,-1.87l2.61,0.44l0.57,-0.47l1.75,-0.16Z", name: "Suriname" }, KH: { path: "M689.52,249.39l0.49,1.45l-0.28,2.74l-4.0,1.86l-0.16,0.6l0.68,0.95l-2.06,0.17l-2.05,0.97l-1.82,-0.32l-2.12,-3.7l-0.55,-2.85l1.4,-1.85l3.02,-0.45l2.23,0.35l2.01,0.98l0.51,-0.14l0.95,-1.48l1.74,0.74Z", name: "Cambodia" }, SV: { path: "M195.8,250.13l1.4,-1.19l2.24,1.45l0.98,-0.27l0.44,0.2l-0.27,1.05l-1.14,-0.03l-3.64,-1.21Z", name: "El Salvador" }, SK: { path: "M476.82,151.17l-1.14,1.9l-2.73,-0.92l-0.82,0.2l-0.74,0.8l-3.46,0.73l-0.47,0.69l-1.76,0.33l-1.88,-1.0l-0.18,-0.81l0.38,-0.75l1.87,-0.32l1.74,-1.89l0.83,0.16l0.79,-0.34l1.51,1.04l1.34,-0.63l1.25,0.3l1.65,-0.42l1.81,0.95Z", name: "Slovakia" }, KR: { path: "M737.51,185.84l0.98,-0.1l0.87,-1.17l2.69,-0.32l0.33,-0.29l1.76,2.79l0.58,1.76l0.02,3.12l-0.8,1.32l-2.21,0.55l-1.93,1.13l-1.8,0.19l-0.2,-1.1l0.43,-2.28l-0.95,-2.56l1.43,-0.37l0.23,-0.62l-1.43,-2.06Z", name: "Korea" }, SI: { path: "M456.18,162.07l-0.51,-1.32l0.18,-1.05l1.69,0.2l1.42,-0.71l2.09,-0.07l0.62,-0.51l0.21,0.47l-1.61,0.67l-0.44,1.34l-0.66,0.24l-0.26,0.82l-1.22,-0.49l-0.84,0.46l-0.69,-0.04Z", name: "Slovenia" }, KP: { path: "M736.77,185.16l-0.92,-0.42l-0.88,0.62l-1.21,-0.88l0.96,-1.15l0.59,-2.59l-0.46,-0.74l-2.09,-0.77l1.64,-1.52l2.72,-1.58l1.58,-1.91l1.11,0.78l2.17,0.11l0.41,-0.5l-0.3,-1.22l3.52,-1.18l0.94,-1.4l0.98,1.08l-2.19,2.18l0.01,2.14l-1.06,0.54l-1.41,1.4l-1.7,0.52l-1.25,1.09l-0.14,1.98l0.94,0.45l1.15,1.04l-0.13,0.26l-2.6,0.29l-1.13,1.29l-1.22,0.08Z", name: "Dem. Rep. Korea" }, SO: { path: "M525.13,288.48l-1.13,-1.57l-0.03,-8.86l2.66,-3.38l1.67,-0.13l2.13,-1.69l3.41,-0.23l7.08,-7.55l2.91,-3.69l0.08,-4.82l2.98,-0.67l1.24,-0.86l0.45,-0.0l-0.2,3.0l-1.21,3.62l-2.73,5.97l-2.13,3.65l-5.03,6.16l-8.56,6.4l-2.78,3.08l-0.8,1.56Z", name: "Somalia" }, SN: { path: "M390.09,248.21l0.12,1.55l0.49,1.46l0.96,0.82l0.05,1.28l-1.26,-0.19l-0.75,0.33l-1.84,-0.61l-5.84,-0.13l-2.54,0.51l-0.22,-1.03l1.77,0.04l2.01,-0.91l1.03,0.48l1.09,0.04l1.29,-0.62l0.14,-0.58l-0.51,-0.74l-1.81,0.25l-1.13,-0.63l-0.79,0.04l-0.72,0.61l-2.31,0.06l-0.92,-1.77l-0.81,-0.64l0.64,-0.35l2.46,-3.74l1.04,0.19l1.38,-0.56l1.19,-0.02l2.72,1.37l3.03,3.48Z", name: "Senegal" }, SL: { path: "M394.46,264.11l-1.73,1.98l-0.58,1.33l-2.07,-1.06l-1.22,-1.26l-0.65,-2.39l1.16,-0.96l0.67,-1.17l1.21,-0.52l1.66,0.0l1.03,1.64l0.52,2.41Z", name: "Sierra Leone" }, SB: { path: "M826.69,311.6l-0.61,0.09l-0.2,-0.33l0.37,0.15l0.44,0.09ZM824.18,307.38l-0.26,-0.3l-0.31,-0.91l0.03,0.0l0.54,1.21ZM823.04,309.33l-1.66,-0.22l-0.2,-0.52l1.16,0.28l0.69,0.46ZM819.28,304.68l1.14,0.65l0.02,0.03l-0.81,-0.44l-0.35,-0.23Z", name: "Solomon Is." }, SA: { path: "M537.53,210.34l2.0,0.24l0.9,1.32l1.49,-0.06l0.87,2.08l1.29,0.76l0.51,0.99l1.56,1.03l-0.1,1.9l0.32,0.9l1.58,2.47l0.76,0.53l0.7,-0.04l1.68,4.23l7.53,1.33l0.51,-0.29l0.77,1.25l-1.55,4.87l-7.29,2.52l-7.3,1.03l-2.34,1.17l-1.88,2.74l-0.76,0.28l-0.82,-0.78l-0.91,0.12l-2.88,-0.51l-3.51,0.25l-0.86,-0.56l-0.57,0.15l-0.66,1.27l0.16,1.11l-0.43,0.32l-0.93,-1.4l-0.33,-1.16l-1.23,-0.88l-1.27,-2.06l-0.78,-2.22l-1.73,-1.79l-1.14,-0.48l-1.54,-2.31l-0.21,-3.41l-1.44,-2.93l-1.27,-1.16l-1.33,-0.57l-1.31,-3.37l-0.77,-0.67l-0.97,-1.97l-2.8,-4.03l-1.06,-0.17l0.37,-1.96l0.2,-0.72l2.74,0.3l1.08,-0.84l0.6,-0.94l1.74,-0.35l0.65,-1.03l0.71,-0.4l0.1,-0.62l-2.06,-2.28l4.39,-1.22l0.48,-0.37l2.77,0.69l3.66,1.9l7.03,5.5l4.87,0.3Z", name: "Saudi Arabia" }, SE: { path: "M480.22,89.3l-4.03,1.17l-2.43,2.86l0.26,2.57l-8.77,6.64l-1.78,5.79l1.78,2.68l2.22,1.96l-2.07,3.77l-2.72,1.13l-0.95,6.04l-1.29,3.01l-2.74,-0.31l-0.4,0.22l-1.31,2.59l-2.34,0.13l-0.75,-3.09l-2.08,-4.03l-1.83,-4.96l1.0,-1.93l2.14,-2.7l0.83,-4.45l-1.6,-2.17l-0.15,-4.94l1.48,-3.39l2.58,-0.15l0.87,-1.59l-0.78,-1.57l3.76,-5.59l4.04,-7.48l2.17,0.01l0.39,-0.29l0.57,-2.07l4.37,0.64l0.46,-0.34l0.33,-2.56l1.1,-0.13l6.94,4.87l0.06,6.32l0.66,1.36Z", name: "Sweden" }, SD: { path: "M505.98,259.4l-0.34,-0.77l-1.17,-0.9l-0.26,-1.61l0.29,-1.81l-0.34,-0.46l-1.16,-0.17l-0.54,0.59l-1.23,0.11l-0.28,0.65l0.53,0.65l0.17,1.22l-2.44,3.0l-0.96,0.19l-2.39,-1.4l-0.95,0.52l-0.38,0.78l-1.11,0.41l-0.29,0.5l-1.94,0.0l-0.54,-0.52l-1.81,-0.09l-0.95,0.4l-2.45,-2.35l-2.07,0.54l-0.73,1.26l-0.6,2.1l-1.25,0.58l-0.75,-0.62l0.27,-2.65l-1.48,-1.78l-0.22,-1.48l-0.92,-0.96l-0.02,-1.29l-0.57,-1.16l-0.68,-0.16l0.69,-1.29l-0.18,-1.14l0.65,-0.62l0.03,-0.55l-0.36,-0.41l1.55,-2.97l1.91,0.16l0.43,-0.4l-0.1,-10.94l2.49,-0.01l0.4,-0.4l-0.0,-4.82l29.02,0.0l0.64,2.04l-0.49,0.66l0.36,2.69l0.93,3.16l2.12,1.55l-0.89,1.04l-1.72,0.39l-0.98,0.9l-1.43,5.65l0.24,1.15l-0.38,2.06l-0.96,2.38l-1.53,1.31l-1.32,2.91l-1.22,0.86l-0.37,1.34Z", name: "Sudan" }, DO: { path: "M241.8,239.2l0.05,-0.65l-0.46,-0.73l0.42,-0.44l0.19,-1.0l-0.09,-1.53l1.66,0.01l1.99,0.63l0.33,0.67l1.28,0.19l0.33,0.76l1.0,0.08l0.8,0.62l-0.45,0.51l-1.13,-0.47l-1.88,-0.01l-1.27,0.59l-0.75,-0.55l-1.01,0.54l-0.79,1.4l-0.23,-0.61Z", name: "Dominican Rep." }, DJ: { path: "M528.43,256.18l-0.45,0.66l-0.58,-0.25l-1.51,0.13l-0.18,-1.01l1.45,-1.95l0.83,0.17l0.77,-0.44l0.2,1.0l-1.2,0.51l-0.06,0.7l0.73,0.47Z", name: "Djibouti" }, DK: { path: "M452.28,129.07l-1.19,2.24l-2.13,-1.6l-0.23,-0.95l2.98,-0.95l0.57,1.26ZM447.74,126.31l-0.26,0.57l-0.88,-0.07l-1.8,2.53l0.48,1.69l-1.09,0.36l-1.61,-0.39l-0.89,-1.69l-0.07,-3.43l0.96,-1.73l2.02,-0.2l1.09,-1.07l1.33,-0.67l-0.05,1.06l-0.73,1.41l0.3,1.0l1.2,0.64Z", name: "Denmark" }, DE: { path: "M453.14,155.55l-0.55,-0.36l-1.2,-0.1l-1.87,0.57l-2.13,-0.13l-0.56,0.63l-0.86,-0.6l-0.96,0.09l-2.57,-0.93l-0.85,0.67l-1.47,-0.02l0.24,-1.75l1.23,-2.14l-0.28,-0.59l-3.52,-0.58l-0.92,-0.66l0.12,-1.2l-0.48,-0.88l0.27,-2.17l-0.37,-3.03l1.41,-0.22l0.63,-1.26l0.66,-3.19l-0.41,-1.18l0.26,-0.39l1.66,-0.15l0.33,0.54l0.62,0.07l1.7,-1.69l-0.54,-3.02l1.37,0.33l1.31,-0.37l0.31,1.18l2.25,0.71l-0.02,0.92l0.5,0.4l2.55,-0.65l1.34,-0.87l2.57,1.24l1.06,0.98l0.48,1.44l-0.57,0.74l-0.0,0.48l0.87,1.15l0.57,1.64l-0.14,1.29l0.82,1.7l-1.5,-0.07l-0.56,0.57l-4.47,2.15l-0.22,0.54l0.68,2.26l2.58,2.16l-0.66,1.11l-0.79,0.36l-0.23,0.43l0.32,1.87Z", name: "Germany" }, YE: { path: "M528.27,246.72l0.26,-0.42l-0.22,-1.01l0.19,-1.5l0.92,-0.69l-0.07,-1.35l0.39,-0.75l1.01,0.47l3.34,-0.27l3.76,0.41l0.95,0.81l1.36,-0.58l1.74,-2.62l2.18,-1.09l6.86,-0.94l2.48,5.41l-1.64,0.76l-0.56,1.9l-6.23,2.16l-2.29,1.8l-1.93,0.05l-1.41,1.02l-4.24,0.74l-1.72,1.49l-3.28,0.19l-0.52,-1.18l0.02,-1.51l-1.34,-3.29Z", name: "Yemen" }, AT: { path: "M462.89,152.8l0.04,2.25l-1.07,0.0l-0.33,0.63l0.36,0.51l-1.04,2.13l-2.02,0.07l-1.33,0.7l-5.29,-0.99l-0.47,-0.93l-0.44,-0.21l-2.47,0.55l-0.42,0.51l-3.18,-0.81l0.43,-0.91l1.12,0.78l0.6,-0.17l0.25,-0.58l1.93,0.12l1.86,-0.56l1.0,0.08l0.68,0.57l0.62,-0.15l0.26,-0.77l-0.3,-1.78l0.8,-0.44l0.68,-1.15l1.52,0.85l0.47,-0.06l1.34,-1.25l0.64,-0.17l1.81,0.92l1.28,-0.11l0.7,0.37Z", name: "Austria" }, DZ: { path: "M441.46,188.44l-0.32,1.07l0.39,2.64l-0.54,2.16l-1.58,1.82l0.37,2.39l1.91,1.55l0.18,0.8l1.42,1.03l1.84,7.23l0.12,1.16l-0.57,5.0l0.2,1.51l-0.87,0.99l-0.02,0.51l1.41,1.86l0.14,1.2l0.89,1.48l0.5,0.16l0.98,-0.41l1.73,1.08l0.82,1.23l-8.22,4.81l-7.23,5.11l-3.43,1.13l-2.3,0.21l-0.28,-1.59l-2.56,-1.09l-0.67,-1.25l-26.12,-17.86l0.01,-3.47l3.77,-1.88l2.44,-0.41l2.12,-0.75l1.08,-1.42l2.81,-1.05l0.35,-2.08l1.33,-0.29l1.04,-0.94l3.47,-0.69l0.46,-1.08l-0.1,-0.45l-0.58,-0.52l-0.82,-2.81l-0.19,-1.83l-0.78,-1.49l2.03,-1.31l2.63,-0.48l1.7,-1.22l2.31,-0.84l8.24,-0.73l1.49,0.38l2.28,-1.1l2.46,-0.02l0.92,0.6l1.35,-0.05Z", name: "Algeria" }, US: { path: "M892.72,99.2l1.31,0.53l1.41,-0.37l1.89,0.98l1.89,0.42l-1.32,0.58l-2.9,-1.53l-2.08,0.22l-0.26,-0.15l0.07,-0.67ZM183.22,150.47l0.37,1.47l1.12,0.85l4.23,0.7l2.39,0.98l2.17,-0.38l1.85,0.5l-1.55,0.65l-3.49,2.61l-0.16,0.77l0.5,0.39l2.33,-0.61l1.77,1.02l5.15,-2.4l-0.31,0.65l0.25,0.56l1.36,0.38l1.71,1.16l4.7,-0.88l0.67,0.85l1.31,0.21l0.58,0.58l-1.34,0.17l-2.18,-0.32l-3.6,0.89l-2.71,3.25l0.35,0.9l0.59,-0.0l0.55,-0.6l-1.36,4.65l0.29,3.09l0.67,1.58l0.61,0.45l1.77,-0.44l1.6,-1.96l0.14,-2.21l-0.82,-1.96l0.11,-1.13l1.19,-2.37l0.44,-0.33l0.48,0.75l0.4,-0.29l0.4,-1.37l0.6,-0.47l0.24,-0.8l1.69,0.49l1.65,1.08l-0.03,2.37l-1.27,1.13l-0.0,1.13l0.87,0.36l1.66,-1.29l0.5,0.17l0.5,2.6l-2.49,3.75l0.17,0.61l1.54,0.62l1.48,0.17l1.92,-0.44l4.72,-2.15l2.16,-1.8l-0.05,-1.24l0.75,-0.22l3.92,0.36l2.12,-1.05l0.21,-0.4l-0.28,-1.48l3.27,-2.4l8.32,-0.02l0.56,-0.82l1.9,-0.77l0.93,-1.51l0.74,-2.37l1.58,-1.98l0.92,0.62l1.47,-0.47l0.8,0.66l-0.0,4.09l1.96,2.6l-2.34,1.31l-5.37,2.09l-1.83,2.72l0.02,1.79l0.83,1.59l0.54,0.23l-6.19,0.94l-2.2,0.89l-0.23,0.48l0.45,0.29l2.99,-0.46l-2.19,0.56l-1.13,0.0l-0.15,-0.32l-0.48,0.08l-0.76,0.82l0.22,0.67l0.32,0.06l-0.41,1.62l-1.27,1.58l-1.48,-1.07l-0.49,-0.04l-0.16,0.46l0.52,1.58l0.61,0.59l0.03,0.79l-0.95,1.38l-1.21,-1.22l-0.27,-2.27l-0.35,-0.35l-0.42,0.25l-0.48,1.27l0.33,1.41l-0.97,-0.27l-0.48,0.24l0.18,0.5l1.52,0.83l0.1,2.52l0.79,0.51l0.52,3.42l-1.42,1.88l-2.47,0.8l-1.71,1.66l-1.31,0.25l-1.27,1.03l-0.43,0.99l-2.69,1.78l-2.64,3.03l-0.45,2.12l0.45,2.08l0.85,2.38l1.09,1.9l0.04,1.2l1.16,3.06l-0.18,2.69l-0.55,1.43l-0.47,0.21l-0.89,-0.23l-0.49,-1.18l-0.87,-0.56l-2.75,-5.16l0.48,-1.68l-0.72,-1.78l-2.01,-2.38l-1.12,-0.53l-2.72,1.18l-1.47,-1.35l-1.57,-0.68l-2.99,0.31l-2.17,-0.3l-2.0,0.19l-1.15,0.46l-0.19,0.58l0.39,0.63l0.14,1.34l-0.84,-0.2l-0.84,0.46l-1.58,-0.07l-2.08,-1.44l-2.09,0.33l-1.91,-0.62l-3.73,0.84l-2.39,2.07l-2.54,1.22l-1.45,1.41l-0.61,1.38l0.34,3.71l-0.29,0.02l-3.5,-1.33l-1.25,-3.11l-1.44,-1.5l-2.24,-3.56l-1.76,-1.09l-2.27,-0.01l-1.71,2.07l-1.76,-0.69l-1.16,-0.74l-1.52,-2.98l-3.93,-3.16l-4.34,-0.0l-0.4,0.4l-0.0,0.74l-6.5,0.02l-9.02,-3.14l-0.34,-0.71l-5.7,0.49l-0.43,-1.29l-1.62,-1.61l-1.14,-0.38l-0.55,-0.88l-1.28,-0.13l-1.01,-0.77l-2.22,-0.27l-0.43,-0.3l-0.36,-1.58l-2.4,-2.83l-2.01,-3.85l-0.06,-0.9l-2.92,-3.26l-0.33,-2.29l-1.3,-1.66l0.52,-2.37l-0.09,-2.57l-0.78,-2.3l0.95,-2.82l0.61,-5.68l-0.47,-4.27l-1.46,-4.08l3.19,0.79l1.26,2.83l0.69,0.08l0.69,-1.14l-1.1,-4.79l68.76,-0.0l0.4,-0.4l0.14,-0.86ZM32.44,67.52l1.73,1.97l0.55,0.05l0.99,-0.79l3.65,0.24l-0.09,0.62l0.32,0.45l3.83,0.77l2.61,-0.43l5.19,1.4l4.84,0.43l1.89,0.57l3.42,-0.7l6.14,1.87l-0.03,38.06l0.38,0.4l2.39,0.11l2.31,0.98l3.9,3.99l0.55,0.04l2.4,-2.03l2.16,-1.04l1.2,1.71l3.95,3.14l4.09,6.63l4.2,2.29l0.06,1.83l-1.02,1.23l-1.16,-1.08l-2.04,-1.03l-0.67,-2.89l-3.28,-3.03l-1.65,-3.57l-6.35,-0.32l-2.82,-1.01l-5.26,-3.85l-6.77,-2.04l-3.53,0.3l-4.81,-1.69l-3.25,-1.63l-2.78,0.8l-0.28,0.46l0.44,2.21l-3.91,0.96l-2.26,1.27l-2.3,0.65l-0.27,-1.65l1.05,-3.42l2.49,-1.09l0.16,-0.6l-0.69,-0.96l-0.55,-0.1l-3.19,2.12l-1.78,2.56l-3.55,2.61l-0.04,0.61l1.56,1.52l-2.07,2.29l-5.11,2.57l-0.77,1.66l-3.76,1.77l-0.92,1.73l-2.69,1.38l-1.81,-0.22l-6.95,3.32l-3.97,0.91l4.85,-2.5l2.59,-1.86l3.26,-0.52l1.19,-1.4l3.42,-2.1l2.59,-2.27l0.42,-2.68l1.23,-2.1l-0.04,-0.46l-0.45,-0.11l-2.68,1.03l-0.63,-0.49l-0.53,0.03l-1.05,1.04l-1.36,-1.54l-0.66,0.08l-0.32,0.62l-0.58,-1.14l-0.56,-0.16l-2.41,1.42l-1.07,-0.0l-0.17,-1.75l0.3,-1.71l-1.61,-1.33l-3.41,0.59l-1.96,-1.63l-1.57,-0.84l-0.15,-2.21l-1.7,-1.43l0.82,-1.88l1.99,-2.12l0.88,-1.92l1.71,-0.24l2.04,0.51l1.87,-1.77l1.91,0.25l1.91,-1.23l0.17,-0.43l-0.47,-1.82l-1.07,-0.7l1.39,-1.17l0.12,-0.45l-0.39,-0.26l-1.65,0.07l-2.66,0.88l-0.75,0.78l-1.92,-0.8l-3.46,0.44l-3.44,-0.91l-1.06,-1.61l-2.65,-1.99l2.91,-1.43l5.5,-2.0l1.52,0.0l-0.26,1.62l0.41,0.46l5.29,-0.16l0.3,-0.65l-2.03,-2.59l-3.14,-1.68l-1.79,-2.12l-2.4,-1.83l-3.09,-1.24l1.04,-1.69l4.23,-0.14l3.36,-2.07l0.73,-2.27l2.39,-1.99l2.42,-0.52l4.65,-1.97l2.46,0.23l3.71,-2.35l3.5,0.89ZM37.6,123.41l-2.25,1.23l-0.95,-0.69l-0.29,-1.24l3.21,-1.63l1.42,0.21l0.67,0.7l-1.8,1.42ZM31.06,234.03l0.98,0.47l0.74,0.87l-1.77,1.07l-0.44,-1.53l0.49,-0.89ZM29.34,232.07l0.18,0.05l0.08,0.05l-0.16,0.03l-0.11,-0.14ZM25.16,230.17l0.05,-0.03l0.18,0.22l-0.13,-0.01l-0.1,-0.18ZM5.89,113.26l-1.08,0.41l-2.21,-1.12l1.53,-0.4l1.62,0.28l0.14,0.83Z", name: "United States" }, LV: { path: "M489.16,122.85l0.96,0.66l0.22,1.65l0.68,1.76l-3.65,1.7l-2.23,-1.58l-1.29,-0.26l-0.68,-0.77l-2.42,0.34l-4.16,-0.23l-2.47,0.9l0.06,-1.98l1.13,-2.06l1.95,-1.02l2.12,2.58l2.01,-0.07l0.38,-0.33l0.44,-2.52l1.76,-0.53l3.06,1.7l2.15,0.07Z", name: "Latvia" }, UY: { path: "M286.85,372.74l-0.92,1.5l-2.59,1.44l-1.69,-0.52l-1.42,0.26l-2.39,-1.19l-1.52,0.08l-1.27,-1.3l0.16,-1.5l0.56,-0.79l-0.02,-2.73l1.21,-4.74l1.19,-0.21l2.37,2.0l1.08,0.03l4.36,3.17l1.22,1.6l-0.96,1.5l0.61,1.4Z", name: "Uruguay" }, LB: { path: "M510.37,198.01l-0.88,0.51l1.82,-3.54l0.62,0.08l0.22,0.61l-1.13,0.88l-0.65,1.47Z", name: "Lebanon" }, LA: { path: "M689.54,248.53l-1.76,-0.74l-0.49,0.15l-0.94,1.46l-1.32,-0.64l0.62,-0.98l0.11,-2.17l-2.04,-2.42l-0.25,-2.65l-1.9,-2.1l-2.15,-0.31l-0.78,0.91l-1.12,0.06l-1.05,-0.4l-2.06,1.2l-0.04,-1.59l0.61,-2.68l-0.36,-0.49l-1.35,-0.1l-0.11,-1.23l-0.96,-0.88l1.96,-1.89l0.39,0.36l1.33,0.07l0.42,-0.45l-0.34,-2.66l0.7,-0.21l1.28,1.81l1.11,2.35l0.36,0.23l2.82,0.02l0.71,1.67l-1.39,0.65l-0.72,0.93l0.13,0.6l2.91,1.51l3.6,5.25l1.88,1.78l0.56,1.62l-0.35,1.96Z", name: "Lao PDR" }, TW: { path: "M724.01,226.68l-0.74,1.48l-0.9,-1.52l-0.25,-1.74l1.38,-2.44l1.73,-1.74l0.64,0.44l-1.85,5.52Z", name: "Taiwan" }, TT: { path: "M266.64,259.32l0.28,-1.16l1.13,-0.22l-0.06,1.2l-1.35,0.18Z", name: "Trinidad and Tobago" }, TR: { path: "M513.21,175.47l3.64,1.17l3.05,-0.44l2.1,0.26l3.11,-1.56l2.46,-0.13l2.19,1.33l0.33,0.82l-0.22,1.33l0.25,0.44l2.28,1.13l-1.17,0.57l-0.21,0.45l0.75,3.2l-0.41,1.16l1.13,1.92l-0.55,0.22l-0.9,-0.67l-2.91,-0.37l-1.24,0.46l-4.23,0.41l-2.81,1.05l-1.91,0.01l-1.52,-0.53l-2.58,0.75l-0.66,-0.45l-0.62,0.3l-0.12,1.45l-0.89,0.84l-0.47,-0.67l0.79,-1.3l-0.41,-0.2l-1.43,0.23l-2.0,-0.63l-2.02,1.65l-3.51,0.3l-2.13,-1.53l-2.7,-0.1l-0.86,1.24l-1.38,0.27l-2.29,-1.44l-2.71,-0.01l-1.37,-2.65l-1.68,-1.52l1.07,-1.99l-0.09,-0.49l-1.27,-1.12l2.37,-2.41l3.7,-0.11l1.28,-2.24l4.49,0.37l3.21,-1.97l2.81,-0.82l3.99,-0.06l4.29,2.07ZM488.79,176.72l-1.72,1.31l-0.5,-0.88l1.37,-2.57l-0.7,-0.85l1.7,-0.63l1.8,0.34l0.46,1.17l1.76,0.78l-2.87,0.32l-1.3,1.01Z", name: "Turkey" }, LK: { path: "M624.16,268.99l-1.82,0.48l-0.99,-1.67l-0.42,-3.46l0.95,-3.43l1.21,0.98l2.26,4.19l-0.34,2.33l-0.85,0.58Z", name: "Sri Lanka" }, TN: { path: "M448.1,188.24l-1.0,1.27l-0.02,1.32l0.84,0.88l-0.28,2.09l-1.53,1.32l-0.12,0.42l0.48,1.54l1.42,0.32l0.53,1.11l0.9,0.52l-0.11,1.67l-3.54,2.64l-0.1,2.38l-0.58,0.3l-0.96,-4.45l-1.54,-1.25l-0.16,-0.78l-1.92,-1.56l-0.18,-1.76l1.51,-1.62l0.59,-2.34l-0.38,-2.78l0.42,-1.21l2.45,-1.05l1.29,0.26l-0.06,1.11l0.58,0.38l1.47,-0.73Z", name: "Tunisia" }, TL: { path: "M734.55,307.93l-0.1,-0.97l4.5,-0.86l-2.82,1.28l-1.59,0.55Z", name: "Timor-Leste" }, TM: { path: "M553.03,173.76l-0.04,0.34l-0.09,-0.22l0.13,-0.12ZM555.87,172.66l0.45,-0.1l1.48,0.74l2.06,2.43l4.07,-0.18l0.38,-0.51l-0.32,-1.19l1.92,-0.94l1.91,-1.59l2.94,1.39l0.43,2.47l1.19,0.67l2.58,-0.13l0.62,0.4l1.32,3.12l4.54,3.44l2.67,1.45l3.06,1.14l-0.04,1.05l-1.33,-0.75l-0.59,0.19l-0.32,0.84l-2.2,0.81l-0.46,2.13l-1.21,0.74l-1.91,0.42l-0.73,1.33l-1.56,0.31l-2.22,-0.94l-0.2,-2.17l-0.38,-0.36l-1.73,-0.09l-2.76,-2.46l-2.14,-0.4l-2.84,-1.48l-1.78,-0.27l-1.24,0.53l-1.57,-0.08l-2.0,1.69l-1.7,0.43l-0.36,-1.58l0.36,-2.98l-0.22,-0.4l-1.65,-0.84l0.54,-1.69l-0.34,-0.52l-1.22,-0.13l0.36,-1.64l2.22,0.59l2.2,-0.95l0.12,-0.65l-1.77,-1.74l-0.66,-1.57Z", name: "Turkmenistan" }, TJ: { path: "M597.75,178.82l-2.54,-0.44l-0.47,0.34l-0.24,1.7l0.43,0.45l2.64,-0.22l3.18,0.95l4.39,-0.41l0.56,2.37l0.52,0.29l0.67,-0.24l1.11,0.49l0.21,2.13l-3.76,-0.21l-1.8,1.32l-1.76,0.74l-0.61,-0.58l0.21,-2.23l-0.64,-0.49l-0.07,-0.93l-1.36,-0.66l-0.45,0.07l-1.08,1.01l-0.55,1.48l-1.31,-0.05l-0.95,1.16l-0.9,-0.35l-1.86,0.74l1.26,-2.83l-0.54,-2.17l-1.67,-0.82l0.33,-0.66l2.18,-0.04l1.19,-1.63l0.76,-1.79l2.43,-0.5l-0.26,1.0l0.73,1.05Z", name: "Tajikistan" }, LS: { path: "M491.06,363.48l-0.49,0.15l-1.49,-1.67l1.1,-1.43l2.19,-1.44l1.51,1.27l-0.98,1.82l-1.23,0.38l-0.62,0.93Z", name: "Lesotho" }, TH: { path: "M670.27,255.86l-1.41,3.87l0.15,2.0l0.38,0.36l1.38,0.07l0.9,2.04l0.55,2.34l1.4,1.44l1.61,0.38l0.96,0.97l-0.5,0.64l-1.1,0.2l-0.34,-1.18l-2.04,-1.1l-0.63,0.23l-0.63,-0.62l-0.48,-1.3l-2.56,-2.63l-0.73,0.41l0.95,-3.89l2.16,-4.22ZM670.67,254.77l-0.92,-2.18l-0.26,-2.61l-2.14,-3.06l0.71,-0.49l0.89,-2.59l-3.61,-5.45l0.87,-0.51l1.05,-2.58l1.74,-0.18l2.6,-1.59l0.76,0.56l0.13,1.39l0.37,0.36l1.23,0.09l-0.51,2.28l0.05,2.42l0.6,0.34l2.43,-1.42l0.77,0.39l1.47,-0.07l0.71,-0.88l1.48,0.14l1.71,1.88l0.25,2.65l1.92,2.11l-0.1,1.89l-0.61,0.86l-2.22,-0.33l-3.5,0.64l-1.6,2.12l0.36,2.58l-1.51,-0.79l-1.84,-0.01l0.28,-1.52l-0.4,-0.47l-2.21,0.01l-0.4,0.37l-0.19,2.74l-0.34,0.93Z", name: "Thailand" }, TF: { path: "M596.68,420.38l-3.2,0.18l-0.05,-1.26l0.39,-1.41l1.3,0.78l2.08,0.35l-0.52,1.36Z", name: "Fr. S. Antarctic Lands" }, TG: { path: "M422.7,257.63l-0.09,1.23l1.53,1.52l0.08,1.09l0.5,0.65l-0.11,5.62l0.49,1.47l-1.31,0.35l-1.02,-2.13l-0.18,-1.12l0.53,-2.19l-0.63,-1.16l-0.22,-3.68l-1.01,-1.4l0.07,-0.28l1.37,0.03Z", name: "Togo" }, TD: { path: "M480.25,235.49l0.12,9.57l-2.1,0.05l-1.14,1.89l-0.69,1.63l0.34,0.73l-0.66,0.91l0.24,0.89l-0.86,1.95l0.45,0.5l0.6,-0.1l0.34,0.64l0.03,1.38l0.9,1.04l-1.45,0.43l-1.27,1.03l-1.83,2.76l-2.16,1.07l-2.31,-0.15l-0.86,0.25l-0.26,0.49l0.17,0.61l-2.11,1.68l-2.85,0.87l-1.09,-0.57l-0.73,0.66l-1.12,0.1l-1.1,-3.12l-1.25,-0.64l-1.22,-1.22l0.29,-0.64l3.01,0.04l0.35,-0.6l-1.3,-2.2l-0.08,-3.31l-0.97,-1.66l0.22,-1.04l-0.38,-0.48l-1.22,-0.04l0.0,-1.25l-0.98,-1.07l0.96,-3.01l3.25,-2.65l0.13,-3.33l0.95,-5.18l0.52,-1.07l-0.1,-0.48l-0.91,-0.78l-0.2,-0.96l-0.8,-0.58l-0.55,-3.65l2.1,-1.2l19.57,9.83Z", name: "Chad" }, LY: { path: "M483.48,203.15l-0.75,1.1l0.29,1.39l-0.6,1.83l0.73,2.14l0.0,24.12l-2.48,0.01l-0.41,0.85l-19.41,-9.76l-4.41,2.28l-1.37,-1.33l-3.82,-1.1l-1.14,-1.65l-1.98,-1.23l-1.22,0.32l-0.66,-1.11l-0.17,-1.26l-1.28,-1.69l0.87,-1.19l-0.07,-4.34l0.43,-2.27l-0.86,-3.45l1.13,-0.76l0.22,-1.16l-0.2,-1.03l3.48,-2.61l0.29,-1.94l2.45,0.8l1.18,-0.21l1.98,0.44l3.15,1.18l1.37,2.54l5.72,1.67l2.64,1.35l1.61,-0.72l1.29,-1.34l-0.44,-2.34l0.66,-1.13l1.67,-1.21l1.57,-0.35l3.14,0.53l1.08,1.28l3.99,0.78l0.36,0.54Z", name: "Libya" }, AE: { path: "M550.76,223.97l1.88,-0.4l3.84,0.02l4.78,-4.75l0.19,0.36l0.26,1.58l-0.81,0.01l-0.39,0.35l-0.08,2.04l-0.81,0.63l-0.01,0.96l-0.66,0.99l-0.39,1.41l-7.08,-1.25l-0.7,-1.96Z", name: "United Arab Emirates" }, VE: { path: "M240.68,256.69l0.53,0.75l-0.02,1.06l-1.07,1.78l0.95,2.0l0.42,0.22l1.4,-0.44l0.56,-1.83l-0.77,-1.17l-0.1,-1.47l2.82,-0.93l0.26,-0.49l-0.28,-0.96l0.3,-0.28l0.66,1.31l1.96,0.26l1.4,1.22l0.08,0.68l0.39,0.35l4.81,-0.22l1.49,1.11l1.92,0.31l1.67,-0.84l0.22,-0.6l3.44,-0.14l-0.17,0.55l0.86,1.19l2.19,0.35l1.67,1.1l0.37,1.86l0.41,0.32l1.55,0.17l-1.66,1.35l-0.22,0.92l0.65,0.97l-1.67,0.54l-0.3,0.4l0.04,0.99l-0.56,0.57l-0.01,0.55l1.85,2.27l-0.66,0.69l-4.47,1.29l-0.72,0.54l-3.69,-0.9l-0.71,0.27l-0.02,0.7l0.91,0.53l-0.08,1.54l0.35,1.58l0.35,0.31l1.66,0.17l-1.3,0.52l-0.48,1.13l-2.68,0.91l-0.6,0.77l-1.57,0.13l-1.17,-1.13l-0.8,-2.52l-1.25,-1.26l1.02,-1.23l-1.29,-2.95l0.18,-1.62l1.0,-2.21l-0.2,-0.49l-1.14,-0.46l-4.02,0.36l-1.82,-2.1l-1.57,-0.33l-2.99,0.22l-1.06,-0.97l0.25,-1.23l-0.2,-1.01l-0.59,-0.69l-0.29,-1.06l-1.08,-0.39l0.78,-2.79l1.9,-2.11Z", name: "Venezuela" }, AF: { path: "M600.7,188.88l-1.57,1.3l-0.1,0.48l0.8,2.31l-1.09,1.04l-0.03,1.27l-0.48,0.71l-2.16,-0.08l-0.37,0.59l0.78,1.48l-1.38,0.69l-1.06,1.69l0.06,1.7l-0.65,0.52l-0.91,-0.21l-1.91,0.36l-0.48,0.77l-1.88,0.13l-1.4,1.56l-0.18,2.32l-2.91,1.02l-1.65,-0.23l-0.71,0.55l-1.41,-0.3l-2.41,0.39l-3.52,-1.17l1.96,-2.35l-0.21,-1.78l-0.3,-0.34l-1.63,-0.4l-0.19,-1.58l-0.75,-2.03l0.95,-1.36l-0.19,-0.6l-0.73,-0.28l1.47,-4.8l2.14,0.9l2.12,-0.36l0.74,-1.34l1.77,-0.39l1.54,-0.92l0.63,-2.31l1.87,-0.5l0.49,-0.81l0.94,0.56l2.13,0.11l2.55,0.92l1.95,-0.83l0.65,0.43l0.56,-0.13l0.69,-1.12l1.57,-0.08l0.72,-1.66l0.79,-0.74l0.8,0.39l-0.17,0.56l0.71,0.58l-0.08,2.39l1.11,0.95ZM601.37,188.71l1.73,-0.71l1.43,-1.18l4.03,0.35l-2.23,0.74l-4.95,0.8Z", name: "Afghanistan" }, IQ: { path: "M530.82,187.47l0.79,0.66l1.26,-0.28l1.46,3.08l1.63,0.94l0.14,1.23l-1.22,1.05l-0.53,2.52l1.73,2.67l3.12,1.62l1.15,1.88l-0.38,1.85l0.39,0.48l0.41,-0.0l0.02,1.07l0.76,0.94l-2.47,-0.1l-1.71,2.44l-4.31,-0.2l-7.02,-5.48l-3.73,-1.94l-2.88,-0.73l-0.85,-2.87l5.45,-3.02l0.95,-3.43l-0.19,-1.96l1.27,-0.7l1.22,-1.7l0.87,-0.36l2.69,0.34Z", name: "Iraq" }, IS: { path: "M384.14,88.06l-0.37,2.61l2.54,2.51l-2.9,2.75l-9.19,3.4l-9.25,-1.66l1.7,-1.22l-0.1,-0.7l-4.05,-1.47l2.96,-0.53l0.33,-0.43l-0.11,-1.2l-0.33,-0.36l-4.67,-0.85l1.28,-2.04l3.45,-0.56l3.77,2.72l0.44,0.02l3.64,-2.16l3.3,1.08l3.98,-2.16l3.58,0.26Z", name: "Iceland" }, IR: { path: "M533.43,187.16l-1.27,-2.15l0.42,-0.98l-0.71,-3.04l1.03,-0.5l0.33,0.83l1.26,1.35l2.05,0.51l1.11,-0.16l2.89,-2.11l0.62,-0.14l0.39,0.46l-0.72,1.2l0.06,0.49l1.56,1.53l0.65,0.04l0.67,1.81l2.56,0.83l1.87,1.48l3.69,0.49l3.91,-0.76l0.47,-0.73l2.17,-0.6l1.66,-1.54l1.51,0.08l1.18,-0.53l1.59,0.24l2.83,1.48l1.88,0.3l2.77,2.47l1.77,0.18l0.18,1.99l-1.68,5.49l0.24,0.5l0.61,0.23l-0.82,1.48l0.8,2.18l0.19,1.71l0.3,0.34l1.63,0.4l0.15,1.32l-2.15,2.35l-0.01,0.53l2.21,3.03l2.34,1.24l0.06,2.14l1.24,0.72l0.11,0.69l-3.31,1.27l-1.08,3.03l-9.68,-1.68l-0.99,-3.05l-1.43,-0.73l-2.17,0.46l-2.47,1.26l-2.83,-0.82l-2.46,-2.02l-2.41,-0.8l-3.42,-6.06l-0.48,-0.2l-1.18,0.39l-1.44,-0.82l-0.5,0.08l-0.65,0.74l-0.97,-1.01l-0.02,-1.31l-0.71,-0.39l0.26,-1.81l-1.29,-2.11l-3.13,-1.63l-1.58,-2.43l0.5,-1.9l1.31,-1.26l-0.19,-1.66l-1.74,-1.1l-1.57,-3.3Z", name: "Iran" }, AM: { path: "M536.99,182.33l-0.28,0.03l-1.23,-2.13l-0.93,0.01l-0.62,-0.66l-0.69,-0.07l-0.96,-0.81l-1.56,-0.62l0.19,-1.12l-0.26,-0.79l2.72,-0.36l1.09,1.01l-0.17,0.92l1.02,0.78l-0.47,0.62l0.08,0.56l2.04,1.23l0.04,1.4Z", name: "Armenia" }, IT: { path: "M451.59,158.63l3.48,0.94l-0.21,1.17l0.3,0.83l-1.49,-0.24l-2.04,1.1l-0.21,0.39l0.13,1.45l-0.25,1.12l0.82,1.57l2.39,1.63l1.31,2.54l2.79,2.43l2.05,0.08l0.21,0.23l-0.39,0.33l0.09,0.67l4.05,1.97l2.17,1.76l-0.16,0.36l-1.17,-1.08l-2.18,-0.49l-0.44,0.2l-1.05,1.91l0.14,0.54l1.57,0.95l-0.19,0.98l-1.06,0.33l-1.25,2.34l-0.37,0.08l0.0,-0.33l1.0,-2.45l-1.73,-3.17l-1.12,-0.51l-0.88,-1.33l-1.51,-0.51l-1.27,-1.25l-1.75,-0.18l-4.12,-3.21l-1.62,-1.65l-1.03,-3.19l-3.53,-1.36l-1.3,0.51l-1.69,1.41l0.16,-0.72l-0.28,-0.47l-1.14,-0.33l-0.53,-1.96l0.72,-0.78l0.04,-0.48l-0.65,-1.17l0.8,0.39l1.4,-0.23l1.11,-0.84l0.52,0.35l1.19,-0.1l0.75,-1.2l1.53,0.33l1.36,-0.56l0.35,-1.14l1.08,0.32l0.68,-0.64l1.98,-0.44l0.42,0.82ZM459.19,184.75l-0.65,1.65l0.32,1.05l-0.31,0.89l-1.5,-0.85l-4.5,-1.67l0.19,-0.82l2.67,0.23l3.78,-0.48ZM443.93,176.05l1.18,1.66l-0.3,3.32l-1.06,-0.01l-0.77,0.73l-0.53,-0.44l-0.1,-3.37l-0.39,-1.22l1.04,0.01l0.92,-0.68Z", name: "Italy" }, VN: { path: "M690.56,230.25l-2.7,1.82l-2.09,2.46l-0.63,1.95l4.31,6.45l2.32,1.65l1.43,1.94l1.11,4.59l-0.32,4.24l-1.93,1.54l-2.84,1.61l-2.11,2.15l-2.73,2.06l-0.59,-1.05l0.63,-1.53l-0.13,-0.47l-1.34,-1.04l1.51,-0.71l2.55,-0.18l0.3,-0.63l-0.82,-1.14l4.0,-2.07l0.31,-3.05l-0.57,-1.77l0.42,-2.66l-0.73,-1.97l-1.86,-1.76l-3.63,-5.29l-2.72,-1.46l0.36,-0.47l1.5,-0.64l0.21,-0.52l-0.97,-2.27l-0.37,-0.24l-2.83,-0.02l-2.24,-3.9l0.83,-0.4l4.39,-0.29l2.06,-1.31l1.15,0.89l1.88,0.4l-0.17,1.51l1.35,1.16l1.67,0.45Z", name: "Vietnam" }, AR: { path: "M249.29,428.93l-2.33,-0.52l-5.83,-0.43l-0.89,-1.66l0.05,-2.37l-0.45,-0.4l-1.43,0.18l-0.67,-0.91l-0.2,-3.13l1.88,-1.47l0.79,-2.04l-0.25,-1.7l1.3,-2.68l0.91,-4.15l-0.22,-1.69l0.85,-0.45l0.2,-0.44l-0.27,-1.16l-0.98,-0.68l0.59,-0.92l-0.05,-0.5l-1.04,-1.07l-0.52,-3.1l0.97,-0.86l-0.42,-3.58l1.2,-5.43l1.38,-0.98l0.16,-0.43l-0.75,-2.79l-0.01,-2.43l1.78,-1.75l0.06,-2.57l1.43,-2.85l0.01,-2.58l-0.69,-0.74l-1.09,-4.52l1.47,-2.7l-0.18,-2.79l0.85,-2.35l1.59,-2.46l1.73,-1.64l0.05,-0.52l-0.6,-0.84l0.44,-0.85l-0.07,-4.19l2.7,-1.44l0.86,-2.75l-0.21,-0.71l1.76,-2.01l2.9,0.57l1.38,1.78l0.68,-0.08l0.87,-1.87l2.39,0.09l4.95,4.77l2.17,0.49l3.0,1.92l2.47,1.0l0.25,0.82l-2.37,3.93l0.23,0.59l5.39,1.16l2.12,-0.44l2.45,-2.16l0.5,-2.38l0.76,-0.31l0.98,1.2l-0.04,1.8l-3.67,2.51l-2.85,2.66l-3.43,3.88l-1.3,5.07l0.01,2.72l-0.54,0.73l-0.36,3.28l3.14,2.64l-0.16,2.11l1.4,1.11l-0.1,1.09l-2.29,3.52l-3.55,1.49l-4.92,0.6l-2.71,-0.29l-0.43,0.51l0.5,1.65l-0.49,2.1l0.38,1.42l-1.19,0.83l-2.36,0.38l-2.3,-1.04l-1.38,0.83l0.41,3.64l1.69,0.91l1.4,-0.71l0.36,0.76l-2.04,0.86l-2.01,1.89l-0.97,4.63l-2.34,0.1l-2.09,1.78l-0.61,2.75l2.46,2.31l2.17,0.63l-0.7,2.32l-2.83,1.73l-1.73,3.86l-2.17,1.22l-1.16,1.67l0.75,3.76l1.04,1.28ZM256.71,438.88l-2.0,0.15l-1.4,-1.22l-3.82,-0.1l-0.0,-5.83l1.6,3.05l3.26,2.07l3.08,0.78l-0.71,1.1Z", name: "Argentina" }, AU: { path: "M705.8,353.26l0.26,0.04l0.17,-0.47l-0.48,-1.42l0.92,1.11l0.45,0.15l0.27,-0.39l-0.1,-1.56l-1.98,-3.63l1.09,-3.31l-0.24,-1.57l0.34,-0.62l0.38,1.06l0.43,-0.19l0.99,-1.7l1.91,-0.83l1.29,-1.15l1.81,-0.91l0.96,-0.17l0.92,0.26l1.92,-0.95l1.47,-0.28l1.03,-0.8l1.43,0.04l2.78,-0.84l1.36,-1.15l0.71,-1.45l1.41,-1.26l0.3,-2.58l1.27,-1.59l0.78,1.65l0.54,0.19l1.07,-0.51l0.15,-0.6l-0.73,-1.0l0.45,-0.71l0.78,0.39l0.58,-0.3l0.28,-1.82l1.87,-2.14l1.12,-0.39l0.28,-0.58l0.62,0.17l0.53,-0.73l1.87,-0.57l1.65,1.05l1.35,1.48l3.39,0.38l0.43,-0.54l-0.46,-1.23l1.05,-1.79l1.04,-0.61l0.14,-0.55l-0.25,-0.41l0.88,-1.17l1.31,-0.77l1.3,0.27l2.1,-0.48l0.31,-0.4l-0.05,-1.3l-0.92,-0.77l1.48,0.56l1.41,1.07l2.11,0.65l0.81,-0.2l1.4,0.7l1.69,-0.66l0.8,0.19l0.64,-0.33l0.71,0.77l-1.33,1.94l-0.71,0.07l-0.35,0.51l0.24,0.86l-1.52,2.35l0.12,1.05l2.15,1.65l1.97,0.85l3.04,2.36l1.97,0.65l0.55,0.88l2.72,0.85l1.84,-1.1l2.07,-5.97l-0.42,-3.59l0.3,-1.73l0.47,-0.87l-0.31,-0.68l1.09,-3.28l0.46,-0.47l0.4,0.71l0.16,1.51l0.65,0.52l0.16,1.04l0.85,1.21l0.12,2.38l0.9,2.0l0.57,0.18l1.3,-0.78l1.69,1.7l-0.2,1.08l0.53,2.2l0.39,1.3l0.68,0.48l0.6,1.95l-0.19,1.48l0.81,1.76l6.01,3.69l-0.11,0.76l1.38,1.58l0.95,2.77l0.58,0.22l0.72,-0.41l0.8,0.9l0.61,0.01l0.46,2.41l4.81,4.71l0.66,2.02l-0.07,3.31l1.14,2.2l-0.13,2.24l-1.1,3.68l0.03,1.64l-0.47,1.89l-1.05,2.4l-1.9,1.47l-1.72,3.51l-2.38,6.09l-0.24,2.82l-1.14,0.8l-2.85,0.15l-2.31,1.19l-2.51,2.25l-3.09,-1.57l0.3,-1.15l-0.54,-0.47l-1.5,0.63l-2.01,1.94l-7.12,-2.18l-1.48,-1.63l-1.14,-3.74l-1.45,-1.26l-1.81,-0.26l0.56,-1.18l-0.61,-2.1l-0.72,-0.1l-1.14,1.82l-0.9,0.21l0.63,-0.82l0.36,-1.55l0.92,-1.31l-0.13,-2.34l-0.7,-0.22l-2.0,2.34l-1.51,0.93l-0.94,2.01l-1.35,-0.81l-0.02,-1.52l-1.57,-2.04l-1.09,-0.88l0.24,-0.33l-0.14,-0.59l-3.21,-1.69l-1.83,-0.12l-2.54,-1.35l-4.58,0.28l-6.02,1.9l-2.53,-0.13l-2.62,1.41l-2.13,0.63l-1.49,2.6l-3.49,0.31l-2.29,-0.5l-3.48,0.43l-1.6,1.47l-0.81,-0.04l-2.37,1.63l-3.26,-0.1l-3.72,-2.21l0.04,-1.05l1.19,-0.46l0.49,-0.89l0.21,-2.97l-0.28,-1.64l-1.34,-2.86l-0.38,-1.47l0.05,-1.72l-0.95,-1.7l-0.18,-0.97l-1.01,-0.99l-0.29,-1.98l-1.13,-1.75ZM784.92,393.44l2.65,1.02l3.23,-0.96l1.09,0.14l0.15,3.06l-0.85,1.13l-0.17,1.63l-0.87,-0.24l-1.57,1.91l-1.68,-0.18l-1.4,-2.36l-0.37,-2.04l-1.39,-2.51l0.04,-0.8l1.15,0.18Z", name: "Australia" }, IL: { path: "M507.76,203.05l0.4,-0.78l0.18,0.4l-0.33,1.03l0.52,0.44l0.68,-0.22l-0.86,3.6l-1.16,-3.32l0.59,-0.74l-0.03,-0.41ZM508.73,200.34l0.37,-1.02l0.64,0.0l0.52,-0.51l-0.49,1.53l-0.56,-0.24l-0.48,0.23Z", name: "Israel" }, IN: { path: "M623.34,207.03l-1.24,1.04l-0.97,2.55l0.22,0.51l8.04,3.87l3.42,0.37l1.57,1.38l4.92,0.88l2.18,-0.04l0.38,-0.3l0.29,-1.24l-0.32,-1.64l0.14,-0.87l0.82,-0.31l0.45,2.48l2.28,1.02l1.77,-0.38l4.14,0.1l0.38,-0.36l0.18,-1.66l-0.5,-0.65l1.37,-0.29l2.25,-1.99l2.7,-1.62l1.93,0.62l1.8,-0.98l0.79,1.14l-0.68,0.91l0.26,0.63l2.42,0.36l0.09,0.47l-0.83,0.75l0.13,1.07l-1.52,-0.29l-3.24,1.86l-0.13,1.78l-1.32,2.14l-0.18,1.39l-0.93,1.82l-1.64,-0.5l-0.52,0.37l-0.09,2.63l-0.56,1.11l0.19,0.81l-0.53,0.27l-1.18,-3.73l-1.08,-0.27l-0.38,0.31l-0.24,1.0l-0.66,-0.66l0.54,-1.06l1.22,-0.34l1.15,-2.25l-0.24,-0.56l-1.57,-0.47l-4.34,-0.28l-0.18,-1.56l-0.35,-0.35l-1.11,-0.12l-1.91,-1.12l-0.56,0.17l-0.88,1.82l0.11,0.49l1.36,1.07l-1.09,0.69l-0.69,1.11l0.18,0.56l1.24,0.57l-0.32,1.54l0.85,1.94l0.36,2.01l-0.22,0.59l-4.58,0.52l-0.33,0.42l0.13,1.8l-1.17,1.36l-3.65,1.81l-2.79,3.03l-4.32,3.28l-0.18,1.27l-4.65,1.79l-0.77,2.16l0.64,5.3l-1.06,2.49l-0.01,3.94l-1.24,0.28l-1.14,1.93l0.39,0.84l-1.68,0.53l-1.04,1.83l-0.65,0.47l-2.06,-2.05l-2.1,-6.02l-2.2,-3.64l-1.05,-4.75l-2.29,-3.57l-1.76,-8.2l0.01,-3.11l-0.49,-2.53l-0.55,-0.29l-3.53,1.52l-1.53,-0.27l-2.86,-2.77l0.85,-0.67l0.08,-0.55l-0.74,-1.03l-2.67,-2.06l1.24,-1.32l5.34,0.01l0.39,-0.49l-0.5,-2.29l-1.42,-1.46l-0.27,-1.93l-1.43,-1.2l2.31,-2.37l3.05,0.06l2.62,-2.85l1.6,-2.81l2.4,-2.73l0.07,-2.04l1.97,-1.48l-0.02,-0.65l-1.93,-1.31l-0.82,-1.78l-0.8,-2.21l0.9,-0.89l3.59,0.65l2.92,-0.42l2.33,-2.19l2.31,2.85l-0.24,2.13l0.99,1.59l-0.05,0.82l-1.34,-0.28l-0.47,0.48l0.7,3.06l2.62,1.99l2.99,1.65Z", name: "India" }, TZ: { path: "M495.56,296.42l2.8,-3.12l-0.02,-0.81l-0.64,-1.3l0.68,-0.52l0.14,-1.47l-0.76,-1.25l0.31,-0.11l2.26,0.03l-0.51,2.76l0.76,1.3l0.5,0.12l1.05,-0.53l1.19,-0.12l0.61,0.24l1.43,-0.62l0.1,-0.67l-0.71,-0.62l1.57,-1.7l8.65,4.86l0.32,1.53l3.34,2.33l-1.05,2.8l0.13,1.61l1.63,1.12l-0.6,1.76l-0.01,2.33l1.89,4.03l0.57,0.43l-1.46,1.08l-2.61,0.94l-1.43,-0.04l-1.06,0.77l-2.29,0.36l-2.87,-0.68l-0.83,0.07l-0.63,-0.75l-0.31,-2.78l-1.32,-1.35l-3.25,-0.77l-3.96,-1.58l-1.18,-2.41l-0.32,-1.75l-1.76,-1.49l0.42,-1.05l-0.44,-0.89l0.08,-0.96l-0.46,-0.58l0.06,-0.56Z", name: "Tanzania" }, AZ: { path: "M539.29,175.73l1.33,0.32l1.94,-1.8l2.3,3.34l1.43,0.43l-1.26,0.15l-0.35,0.32l-0.8,3.14l-0.99,0.96l0.05,1.11l-1.26,-1.13l0.7,-1.18l-0.04,-0.47l-0.74,-0.86l-1.48,0.15l-2.34,1.71l-0.03,-1.27l-2.03,-1.35l0.47,-0.62l-0.08,-0.56l-1.03,-0.79l0.29,-0.43l-0.14,-0.58l-1.13,-0.86l1.89,0.68l1.69,0.06l0.37,-0.87l-0.81,-1.37l0.42,0.06l1.63,1.72ZM533.78,180.57l0.61,0.46l0.69,-0.0l0.59,1.15l-0.68,-0.15l-1.21,-1.45Z", name: "Azerbaijan" }, IE: { path: "M405.08,135.42l0.35,2.06l-1.75,2.78l-4.22,1.88l-2.84,-0.4l1.73,-3.0l-1.18,-3.53l4.6,-3.74l0.32,1.15l-0.49,1.74l0.4,0.51l1.47,-0.04l1.6,0.6Z", name: "Ireland" }, ID: { path: "M756.47,287.89l0.69,4.01l2.79,1.78l0.51,-0.1l2.04,-2.59l2.71,-1.43l2.05,-0.0l3.9,1.73l2.46,0.45l0.08,15.12l-1.75,-1.54l-2.54,-0.51l-0.88,0.71l-2.32,0.06l0.69,-1.33l1.45,-0.64l0.23,-0.46l-0.65,-2.74l-1.24,-2.21l-5.04,-2.29l-2.09,-0.23l-3.68,-2.27l-0.55,0.13l-0.65,1.07l-0.52,0.12l-0.55,-1.89l-1.21,-0.78l1.84,-0.62l1.72,0.05l0.39,-0.52l-0.21,-0.66l-0.38,-0.28l-3.45,-0.0l-1.13,-1.48l-2.1,-0.43l-0.52,-0.6l2.69,-0.48l1.28,-0.78l3.66,0.94l0.3,0.71ZM757.91,300.34l-0.62,0.82l-0.1,-0.8l0.59,-1.12l0.13,1.1ZM747.38,292.98l0.34,0.72l-1.22,-0.57l-4.68,-0.1l0.27,-0.62l2.78,-0.09l2.52,0.67ZM741.05,285.25l-0.67,-2.88l0.64,-2.01l0.41,0.86l1.21,0.18l0.16,0.7l-0.1,1.68l-0.84,-0.16l-0.46,0.3l-0.34,1.34ZM739.05,293.5l-0.5,0.44l-1.34,-0.36l-0.17,-0.37l1.73,-0.08l0.27,0.36ZM721.45,284.51l-0.19,1.97l2.24,2.23l0.54,0.02l1.27,-1.07l2.75,-0.5l-0.9,1.21l-2.11,0.93l-0.16,0.6l2.22,3.01l-0.3,1.07l1.36,1.74l-2.26,0.85l-0.28,-0.31l0.12,-1.19l-1.64,-1.34l0.17,-2.23l-0.56,-0.39l-1.67,0.76l-0.23,0.39l0.3,6.17l-1.1,0.25l-0.69,-0.47l0.64,-2.21l-0.39,-2.42l-0.39,-0.34l-0.8,-0.01l-0.58,-1.29l0.98,-1.6l0.35,-1.96l1.32,-3.87ZM728.59,296.27l0.38,0.49l-0.02,1.28l-0.88,0.49l-0.53,-0.47l1.04,-1.79ZM729.04,286.98l0.27,-0.05l-0.02,0.13l-0.24,-0.08ZM721.68,284.05l0.16,-0.32l1.89,-1.65l1.83,0.68l3.16,0.35l2.94,-0.1l2.39,-1.66l-1.73,2.13l-1.66,0.43l-2.41,-0.48l-4.17,0.13l-2.39,0.51ZM730.55,310.47l1.11,-1.93l2.03,-0.82l0.08,0.62l-1.45,1.67l-1.77,0.46ZM728.12,305.88l-0.1,0.38l-3.46,0.66l-2.91,-0.27l-0.0,-0.25l1.54,-0.41l1.66,0.73l1.67,-0.19l1.61,-0.65ZM722.9,310.24l-0.64,0.03l-2.26,-1.2l1.11,-0.24l1.78,1.41ZM716.26,305.77l0.88,0.51l1.28,-0.17l0.2,0.35l-4.65,0.73l0.39,-0.67l1.15,-0.02l0.75,-0.73ZM711.66,293.84l-0.38,-0.16l-2.54,1.01l-1.12,-1.44l-1.69,-0.13l-1.16,-0.75l-3.04,0.77l-1.1,-1.15l-3.31,-0.11l-0.35,-3.05l-1.35,-0.95l-1.11,-1.98l-0.33,-2.06l0.27,-2.14l0.9,-1.01l0.37,1.15l2.09,1.49l1.53,-0.48l1.82,0.08l1.38,-1.19l1.0,-0.18l2.28,0.67l2.26,-0.53l1.52,-3.64l1.01,-0.99l0.78,-2.57l4.1,0.3l-1.11,1.77l0.02,0.46l1.7,2.2l-0.23,1.39l2.07,1.71l-2.33,0.42l-0.88,1.9l0.1,2.05l-2.4,1.9l-0.06,2.45l-0.7,2.79ZM692.58,302.03l0.35,0.26l4.8,0.25l0.78,-0.97l4.17,1.09l1.13,1.68l3.69,0.45l2.13,1.04l-1.8,0.6l-2.77,-0.99l-4.8,-0.12l-5.24,-1.41l-1.84,-0.25l-1.11,0.3l-4.26,-0.97l-0.7,-1.14l-1.59,-0.13l1.18,-1.65l2.74,0.13l2.87,1.13l0.26,0.68ZM685.53,299.17l-2.22,0.04l-2.06,-2.03l-3.15,-2.01l-2.93,-3.51l-3.11,-5.33l-2.2,-2.12l-1.64,-4.06l-2.32,-1.69l-1.27,-2.07l-1.96,-1.5l-2.51,-2.65l-0.11,-0.66l4.81,0.53l2.15,2.38l3.31,2.74l2.35,2.66l2.7,0.17l1.95,1.59l1.54,2.17l1.59,0.95l-0.84,1.71l0.15,0.52l1.44,0.87l0.79,0.1l0.4,1.58l0.87,1.4l1.96,0.39l1.0,1.31l-0.6,3.01l-0.09,3.5Z", name: "Indonesia" }, UA: { path: "M492.5,162.44l1.28,-2.49l1.82,0.19l0.66,-0.23l0.09,-0.71l-0.25,-0.75l-0.79,-0.72l-0.33,-1.21l-0.86,-0.62l-0.02,-1.19l-1.13,-0.86l-1.15,-0.19l-2.04,-1.0l-1.66,0.32l-0.66,0.47l-0.92,-0.0l-0.84,0.78l-2.48,0.7l-1.18,-0.71l-3.07,-0.36l-0.89,0.43l-0.24,-0.55l-1.11,-0.7l0.35,-0.93l1.26,-1.02l-0.54,-1.23l2.04,-2.43l1.4,-0.62l0.25,-1.19l-1.04,-2.39l0.83,-0.13l1.28,-0.84l1.8,-0.07l2.47,0.26l2.86,0.81l1.88,0.06l0.86,0.44l1.04,-0.41l0.77,0.66l2.18,-0.15l0.92,0.3l0.52,-0.34l0.15,-1.53l0.56,-0.54l2.85,-0.05l0.84,-0.72l3.04,-0.18l1.23,1.46l-0.48,0.77l0.21,1.03l0.36,0.32l1.8,0.14l0.93,2.08l3.18,1.15l1.94,-0.45l1.67,1.49l1.4,-0.03l3.35,0.96l0.02,0.54l-0.96,1.59l0.47,1.97l-0.26,0.7l-2.36,0.28l-1.29,0.89l-0.23,1.38l-1.83,0.27l-1.58,0.97l-2.41,0.21l-2.16,1.17l-0.21,0.38l0.34,2.26l1.23,0.75l2.13,-0.08l-0.14,0.31l-2.65,0.53l-3.23,1.69l-0.87,-0.39l0.42,-1.1l-0.25,-0.52l-2.21,-0.73l2.35,-1.06l0.12,-0.65l-0.93,-0.82l-3.62,-0.74l-0.13,-0.89l-0.46,-0.34l-2.61,0.59l-0.91,1.69l-1.71,2.04l-0.86,-0.4l-1.62,0.27Z", name: "Ukraine" }, QA: { path: "M549.33,221.64l-0.76,-0.23l-0.14,-1.64l0.84,-1.29l0.47,0.52l0.04,1.34l-0.45,1.3Z", name: "Qatar" }, MZ: { path: "M508.58,318.75l-0.34,-2.57l0.51,-2.05l3.55,0.63l2.5,-0.38l1.02,-0.76l1.49,0.01l2.74,-0.98l1.66,-1.2l0.5,9.24l0.41,1.23l-0.68,1.67l-0.93,1.71l-1.5,1.5l-5.16,2.28l-2.78,2.73l-1.02,0.53l-1.71,1.8l-0.98,0.57l-0.35,2.41l1.16,1.94l0.49,2.17l0.43,0.31l-0.06,2.06l-0.39,1.17l0.5,0.72l-0.25,0.73l-0.92,0.83l-5.12,2.39l-1.22,1.36l0.21,1.13l0.58,0.39l-0.11,0.72l-1.22,-0.01l-0.73,-2.97l0.42,-3.09l-1.78,-5.37l2.49,-2.81l0.69,-1.89l0.44,-0.43l0.28,-1.53l-0.39,-0.93l0.59,-3.65l-0.01,-3.26l-1.49,-1.16l-1.2,-0.22l-1.74,-1.17l-1.92,0.01l-0.29,-2.08l7.06,-1.96l1.28,1.09l0.89,-0.1l0.67,0.44l0.1,0.73l-0.51,1.29l0.19,1.81l1.75,1.83l0.65,-0.13l0.71,-1.65l1.17,-0.86l-0.26,-3.47l-1.05,-1.85l-1.04,-0.94Z", name: "Mozambique" } }, height: 440.70631074413296, projection: { type: "mill", centralMeridian: 11.5 }, width: 900 }) }, function (t, e, n) {
"use strict"; (function (t) {
var e; n(10), n(16), n(17), n(31), n(36), n(6), n(8), n(23), n(251), n(32), n(28), n(13), n(59), n(61), n(7), n(62), n(14), n(29), n(18), n(43), n(35), n(30), n(53), n(19); function i(t) { return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t })(t) }
/*!
* jQuery Validation Plugin v1.19.0
*
* https://jqueryvalidation.org/
*
* Copyright (c) 2018 J枚rn Zaefferer
* Released under the MIT license
*/e = function (t) { var e; t.extend(t.fn, { validate: function (e) { if (this.length) { var n = t.data(this[0], "validator"); return n || (this.attr("novalidate", "novalidate"), n = new t.validator(e, this[0]), t.data(this[0], "validator", n), n.settings.onsubmit && (this.on("click.validate", ":submit", (function (e) { n.submitButton = e.currentTarget, t(this).hasClass("cancel") && (n.cancelSubmit = !0), void 0 !== t(this).attr("formnovalidate") && (n.cancelSubmit = !0) })), this.on("submit.validate", (function (e) { function i() { var i, o; return n.submitButton && (n.settings.submitHandler || n.formSubmitted) && (i = t("<input type='hidden'/>").attr("name", n.submitButton.name).val(t(n.submitButton).val()).appendTo(n.currentForm)), !(n.settings.submitHandler && !n.settings.debug) || (o = n.settings.submitHandler.call(n, n.currentForm, e), i && i.remove(), void 0 !== o && o) } return n.settings.debug && e.preventDefault(), n.cancelSubmit ? (n.cancelSubmit = !1, i()) : n.form() ? n.pendingRequest ? (n.formSubmitted = !0, !1) : i() : (n.focusInvalid(), !1) }))), n) } e && e.debug && window.console && console.warn("Nothing selected, can't validate, returning nothing.") }, valid: function () { var e, n, i; return t(this[0]).is("form") ? e = this.validate().form() : (i = [], e = !0, n = t(this[0].form).validate(), this.each((function () { e = n.element(this) && e, e || (i = i.concat(n.errorList)) })), n.errorList = i), e }, rules: function (e, n) { var i, o, r, l, a, s, c = this[0], u = void 0 !== this.attr("contenteditable") && "false" !== this.attr("contenteditable"); if (null != c && (!c.form && u && (c.form = this.closest("form")[0], c.name = this.attr("name")), null != c.form)) { if (e) switch (o = (i = t.data(c.form, "validator").settings).rules, r = t.validator.staticRules(c), e) { case "add": t.extend(r, t.validator.normalizeRule(n)), delete r.messages, o[c.name] = r, n.messages && (i.messages[c.name] = t.extend(i.messages[c.name], n.messages)); break; case "remove": return n ? (s = {}, t.each(n.split(/\s/), (function (t, e) { s[e] = r[e], delete r[e] })), s) : (delete o[c.name], r) }return (l = t.validator.normalizeRules(t.extend({}, t.validator.classRules(c), t.validator.attributeRules(c), t.validator.dataRules(c), t.validator.staticRules(c)), c)).required && (a = l.required, delete l.required, l = t.extend({ required: a }, l)), l.remote && (a = l.remote, delete l.remote, l = t.extend(l, { remote: a })), l } } }), t.extend(t.expr.pseudos || t.expr[":"], { blank: function (e) { return !t.trim("" + t(e).val()) }, filled: function (e) { var n = t(e).val(); return null !== n && !!t.trim("" + n) }, unchecked: function (e) { return !t(e).prop("checked") } }), t.validator = function (e, n) { this.settings = t.extend(!0, {}, t.validator.defaults, e), this.currentForm = n, this.init() }, t.validator.format = function (e, n) { return 1 === arguments.length ? function () { var n = t.makeArray(arguments); return n.unshift(e), t.validator.format.apply(this, n) } : void 0 === n ? e : (arguments.length > 2 && n.constructor !== Array && (n = t.makeArray(arguments).slice(1)), n.constructor !== Array && (n = [n]), t.each(n, (function (t, n) { e = e.replace(new RegExp("\\{" + t + "\\}", "g"), (function () { return n })) })), e) }, t.extend(t.validator, { defaults: { messages: {}, groups: {}, rules: {}, errorClass: "error", pendingClass: "pending", validClass: "valid", errorElement: "label", focusCleanup: !1, focusInvalid: !0, errorContainer: t([]), errorLabelContainer: t([]), onsubmit: !0, ignore: ":hidden", ignoreTitle: !1, onfocusin: function (t) { this.lastActive = t, this.settings.focusCleanup && (this.settings.unhighlight && this.settings.unhighlight.call(this, t, this.settings.errorClass, this.settings.validClass), this.hideThese(this.errorsFor(t))) }, onfocusout: function (t) { this.checkable(t) || !(t.name in this.submitted) && this.optional(t) || this.element(t) }, onkeyup: function (e, n) { 9 === n.which && "" === this.elementValue(e) || -1 !== t.inArray(n.keyCode, [16, 17, 18, 20, 35, 36, 37, 38, 39, 40, 45, 144, 225]) || (e.name in this.submitted || e.name in this.invalid) && this.element(e) }, onclick: function (t) { t.name in this.submitted ? this.element(t) : t.parentNode.name in this.submitted && this.element(t.parentNode) }, highlight: function (e, n, i) { "radio" === e.type ? this.findByName(e.name).addClass(n).removeClass(i) : t(e).addClass(n).removeClass(i) }, unhighlight: function (e, n, i) { "radio" === e.type ? this.findByName(e.name).removeClass(n).addClass(i) : t(e).removeClass(n).addClass(i) } }, setDefaults: function (e) { t.extend(t.validator.defaults, e) }, messages: { required: "This field is required.", remote: "Please fix this field.", email: "Please enter a valid email address.", url: "Please enter a valid URL.", date: "Please enter a valid date.", dateISO: "Please enter a valid date (ISO).", number: "Please enter a valid number.", digits: "Please enter only digits.", equalTo: "Please enter the same value again.", maxlength: t.validator.format("Please enter no more than {0} characters."), minlength: t.validator.format("Please enter at least {0} characters."), rangelength: t.validator.format("Please enter a value between {0} and {1} characters long."), range: t.validator.format("Please enter a value between {0} and {1}."), max: t.validator.format("Please enter a value less than or equal to {0}."), min: t.validator.format("Please enter a value greater than or equal to {0}."), step: t.validator.format("Please enter a multiple of {0}.") }, autoCreateRanges: !1, prototype: { init: function () { this.labelContainer = t(this.settings.errorLabelContainer), this.errorContext = this.labelContainer.length && this.labelContainer || t(this.currentForm), this.containers = t(this.settings.errorContainer).add(this.settings.errorLabelContainer), this.submitted = {}, this.valueCache = {}, this.pendingRequest = 0, this.pending = {}, this.invalid = {}, this.reset(); var e, n = this.currentForm, i = this.groups = {}; function o(e) { var i = void 0 !== t(this).attr("contenteditable") && "false" !== t(this).attr("contenteditable"); if (!this.form && i && (this.form = t(this).closest("form")[0], this.name = t(this).attr("name")), n === this.form) { var o = t.data(this.form, "validator"), r = "on" + e.type.replace(/^validate/, ""), l = o.settings; l[r] && !t(this).is(l.ignore) && l[r].call(o, this, e) } } t.each(this.settings.groups, (function (e, n) { "string" == typeof n && (n = n.split(/\s/)), t.each(n, (function (t, n) { i[n] = e })) })), e = this.settings.rules, t.each(e, (function (n, i) { e[n] = t.validator.normalizeRule(i) })), t(this.currentForm).on("focusin.validate focusout.validate keyup.validate", ":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']", o).on("click.validate", "select, option, [type='radio'], [type='checkbox']", o), this.settings.invalidHandler && t(this.currentForm).on("invalid-form.validate", this.settings.invalidHandler) }, form: function () { return this.checkForm(), t.extend(this.submitted, this.errorMap), this.invalid = t.extend({}, this.errorMap), this.valid() || t(this.currentForm).triggerHandler("invalid-form", [this]), this.showErrors(), this.valid() }, checkForm: function () { this.prepareForm(); for (var t = 0, e = this.currentElements = this.elements(); e[t]; t++)this.check(e[t]); return this.valid() }, element: function (e) { var n, i, o = this.clean(e), r = this.validationTargetFor(o), l = this, a = !0; return void 0 === r ? delete this.invalid[o.name] : (this.prepareElement(r), this.currentElements = t(r), (i = this.groups[r.name]) && t.each(this.groups, (function (t, e) { e === i && t !== r.name && (o = l.validationTargetFor(l.clean(l.findByName(t)))) && o.name in l.invalid && (l.currentElements.push(o), a = l.check(o) && a) })), n = !1 !== this.check(r), a = a && n, this.invalid[r.name] = !n, this.numberOfInvalids() || (this.toHide = this.toHide.add(this.containers)), this.showErrors(), t(e).attr("aria-invalid", !n)), a }, showErrors: function (e) { if (e) { var n = this; t.extend(this.errorMap, e), this.errorList = t.map(this.errorMap, (function (t, e) { return { message: t, element: n.findByName(e)[0] } })), this.successList = t.grep(this.successList, (function (t) { return !(t.name in e) })) } this.settings.showErrors ? this.settings.showErrors.call(this, this.errorMap, this.errorList) : this.defaultShowErrors() }, resetForm: function () { t.fn.resetForm && t(this.currentForm).resetForm(), this.invalid = {}, this.submitted = {}, this.prepareForm(), this.hideErrors(); var e = this.elements().removeData("previousValue").removeAttr("aria-invalid"); this.resetElements(e) }, resetElements: function (t) { var e; if (this.settings.unhighlight) for (e = 0; t[e]; e++)this.settings.unhighlight.call(this, t[e], this.settings.errorClass, ""), this.findByName(t[e].name).removeClass(this.settings.validClass); else t.removeClass(this.settings.errorClass).removeClass(this.settings.validClass) }, numberOfInvalids: function () { return this.objectLength(this.invalid) }, objectLength: function (t) { var e, n = 0; for (e in t) void 0 !== t[e] && null !== t[e] && !1 !== t[e] && n++; return n }, hideErrors: function () { this.hideThese(this.toHide) }, hideThese: function (t) { t.not(this.containers).text(""), this.addWrapper(t).hide() }, valid: function () { return 0 === this.size() }, size: function () { return this.errorList.length }, focusInvalid: function () { if (this.settings.focusInvalid) try { t(this.findLastActive() || this.errorList.length && this.errorList[0].element || []).filter(":visible").focus().trigger("focusin") } catch (t) { } }, findLastActive: function () { var e = this.lastActive; return e && 1 === t.grep(this.errorList, (function (t) { return t.element.name === e.name })).length && e }, elements: function () { var e = this, n = {}; return t(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter((function () { var i = this.name || t(this).attr("name"), o = void 0 !== t(this).attr("contenteditable") && "false" !== t(this).attr("contenteditable"); return !i && e.settings.debug && window.console && console.error("%o has no name assigned", this), o && (this.form = t(this).closest("form")[0], this.name = i), !(this.form !== e.currentForm || i in n || !e.objectLength(t(this).rules()) || (n[i] = !0, 0)) })) }, clean: function (e) { return t(e)[0] }, errors: function () { var e = this.settings.errorClass.split(" ").join("."); return t(this.settings.errorElement + "." + e, this.errorContext) }, resetInternals: function () { this.successList = [], this.errorList = [], this.errorMap = {}, this.toShow = t([]), this.toHide = t([]) }, reset: function () { this.resetInternals(), this.currentElements = t([]) }, prepareForm: function () { this.reset(), this.toHide = this.errors().add(this.containers) }, prepareElement: function (t) { this.reset(), this.toHide = this.errorsFor(t) }, elementValue: function (e) { var n, i, o = t(e), r = e.type, l = void 0 !== o.attr("contenteditable") && "false" !== o.attr("contenteditable"); return "radio" === r || "checkbox" === r ? this.findByName(e.name).filter(":checked").val() : "number" === r && void 0 !== e.validity ? e.validity.badInput ? "NaN" : o.val() : (n = l ? o.text() : o.val(), "file" === r ? "C:\\fakepath\\" === n.substr(0, 12) ? n.substr(12) : (i = n.lastIndexOf("/")) >= 0 ? n.substr(i + 1) : (i = n.lastIndexOf("\\")) >= 0 ? n.substr(i + 1) : n : "string" == typeof n ? n.replace(/\r/g, "") : n) }, check: function (e) { e = this.validationTargetFor(this.clean(e)); var n, i, o, r, l = t(e).rules(), a = t.map(l, (function (t, e) { return e })).length, s = !1, c = this.elementValue(e); for (i in "function" == typeof l.normalizer ? r = l.normalizer : "function" == typeof this.settings.normalizer && (r = this.settings.normalizer), r && (c = r.call(e, c), delete l.normalizer), l) { o = { method: i, parameters: l[i] }; try { if ("dependency-mismatch" === (n = t.validator.methods[i].call(this, c, e, o.parameters)) && 1 === a) { s = !0; continue } if (s = !1, "pending" === n) return void (this.toHide = this.toHide.not(this.errorsFor(e))); if (!n) return this.formatAndAdd(e, o), !1 } catch (t) { throw this.settings.debug && window.console && console.log("Exception occurred when checking element " + e.id + ", check the '" + o.method + "' method.", t), t instanceof TypeError && (t.message += ". Exception occurred when checking element " + e.id + ", check the '" + o.method + "' method."), t } } if (!s) return this.objectLength(l) && this.successList.push(e), !0 }, customDataMessage: function (e, n) { return t(e).data("msg" + n.charAt(0).toUpperCase() + n.substring(1).toLowerCase()) || t(e).data("msg") }, customMessage: function (t, e) { var n = this.settings.messages[t]; return n && (n.constructor === String ? n : n[e]) }, findDefined: function () { for (var t = 0; t < arguments.length; t++)if (void 0 !== arguments[t]) return arguments[t] }, defaultMessage: function (e, n) { "string" == typeof n && (n = { method: n }); var i = this.findDefined(this.customMessage(e.name, n.method), this.customDataMessage(e, n.method), !this.settings.ignoreTitle && e.title || void 0, t.validator.messages[n.method], "<strong>Warning: No message defined for " + e.name + "</strong>"), o = /\$?\{(\d+)\}/g; return "function" == typeof i ? i = i.call(this, n.parameters, e) : o.test(i) && (i = t.validator.format(i.replace(o, "{$1}"), n.parameters)), i }, formatAndAdd: function (t, e) { var n = this.defaultMessage(t, e); this.errorList.push({ message: n, element: t, method: e.method }), this.errorMap[t.name] = n, this.submitted[t.name] = n }, addWrapper: function (t) { return this.settings.wrapper && (t = t.add(t.parent(this.settings.wrapper))), t }, defaultShowErrors: function () { var t, e, n; for (t = 0; this.errorList[t]; t++)n = this.errorList[t], this.settings.highlight && this.settings.highlight.call(this, n.element, this.settings.errorClass, this.settings.validClass), this.showLabel(n.element, n.message); if (this.errorList.length && (this.toShow = this.toShow.add(this.containers)), this.settings.success) for (t = 0; this.successList[t]; t++)this.showLabel(this.successList[t]); if (this.settings.unhighlight) for (t = 0, e = this.validElements(); e[t]; t++)this.settings.unhighlight.call(this, e[t], this.settings.errorClass, this.settings.validClass); this.toHide = this.toHide.not(this.toShow), this.hideErrors(), this.addWrapper(this.toShow).show() }, validElements: function () { return this.currentElements.not(this.invalidElements()) }, invalidElements: function () { return t(this.errorList).map((function () { return this.element })) }, showLabel: function (e, n) { var i, o, r, l, a = this.errorsFor(e), s = this.idOrName(e), c = t(e).attr("aria-describedby"); a.length ? (a.removeClass(this.settings.validClass).addClass(this.settings.errorClass), a.html(n)) : (i = a = t("<" + this.settings.errorElement + ">").attr("id", s + "-error").addClass(this.settings.errorClass).html(n || ""), this.settings.wrapper && (i = a.hide().show().wrap("<" + this.settings.wrapper + "/>").parent()), this.labelContainer.length ? this.labelContainer.append(i) : this.settings.errorPlacement ? this.settings.errorPlacement.call(this, i, t(e)) : i.insertAfter(e), a.is("label") ? a.attr("for", s) : 0 === a.parents("label[for='" + this.escapeCssMeta(s) + "']").length && (r = a.attr("id"), c ? c.match(new RegExp("\\b" + this.escapeCssMeta(r) + "\\b")) || (c += " " + r) : c = r, t(e).attr("aria-describedby", c), (o = this.groups[e.name]) && (l = this, t.each(l.groups, (function (e, n) { n === o && t("[name='" + l.escapeCssMeta(e) + "']", l.currentForm).attr("aria-describedby", a.attr("id")) }))))), !n && this.settings.success && (a.text(""), "string" == typeof this.settings.success ? a.addClass(this.settings.success) : this.settings.success(a, e)), this.toShow = this.toShow.add(a) }, errorsFor: function (e) { var n = this.escapeCssMeta(this.idOrName(e)), i = t(e).attr("aria-describedby"), o = "label[for='" + n + "'], label[for='" + n + "'] *"; return i && (o = o + ", #" + this.escapeCssMeta(i).replace(/\s+/g, ", #")), this.errors().filter(o) }, escapeCssMeta: function (t) { return t.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g, "\\$1") }, idOrName: function (t) { return this.groups[t.name] || (this.checkable(t) ? t.name : t.id || t.name) }, validationTargetFor: function (e) { return this.checkable(e) && (e = this.findByName(e.name)), t(e).not(this.settings.ignore)[0] }, checkable: function (t) { return /radio|checkbox/i.test(t.type) }, findByName: function (e) { return t(this.currentForm).find("[name='" + this.escapeCssMeta(e) + "']") }, getLength: function (e, n) { switch (n.nodeName.toLowerCase()) { case "select": return t("option:selected", n).length; case "input": if (this.checkable(n)) return this.findByName(n.name).filter(":checked").length }return e.length }, depend: function (t, e) { return !this.dependTypes[i(t)] || this.dependTypes[i(t)](t, e) }, dependTypes: { boolean: function (t) { return t }, string: function (e, n) { return !!t(e, n.form).length }, function: function (t, e) { return t(e) } }, optional: function (e) { var n = this.elementValue(e); return !t.validator.methods.required.call(this, n, e) && "dependency-mismatch" }, startRequest: function (e) { this.pending[e.name] || (this.pendingRequest++, t(e).addClass(this.settings.pendingClass), this.pending[e.name] = !0) }, stopRequest: function (e, n) { this.pendingRequest--, this.pendingRequest < 0 && (this.pendingRequest = 0), delete this.pending[e.name], t(e).removeClass(this.settings.pendingClass), n && 0 === this.pendingRequest && this.formSubmitted && this.form() ? (t(this.currentForm).submit(), this.submitButton && t("input:hidden[name='" + this.submitButton.name + "']", this.currentForm).remove(), this.formSubmitted = !1) : !n && 0 === this.pendingRequest && this.formSubmitted && (t(this.currentForm).triggerHandler("invalid-form", [this]), this.formSubmitted = !1) }, previousValue: function (e, n) { return n = "string" == typeof n && n || "remote", t.data(e, "previousValue") || t.data(e, "previousValue", { old: null, valid: !0, message: this.defaultMessage(e, { method: n }) }) }, destroy: function () { this.resetForm(), t(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur") } }, classRuleSettings: { required: { required: !0 }, email: { email: !0 }, url: { url: !0 }, date: { date: !0 }, dateISO: { dateISO: !0 }, number: { number: !0 }, digits: { digits: !0 }, creditcard: { creditcard: !0 } }, addClassRules: function (e, n) { e.constructor === String ? this.classRuleSettings[e] = n : t.extend(this.classRuleSettings, e) }, classRules: function (e) { var n = {}, i = t(e).attr("class"); return i && t.each(i.split(" "), (function () { this in t.validator.classRuleSettings && t.extend(n, t.validator.classRuleSettings[this]) })), n }, normalizeAttributeRule: function (t, e, n, i) { /min|max|step/.test(n) && (null === e || /number|range|text/.test(e)) && (i = Number(i), isNaN(i) && (i = void 0)), i || 0 === i ? t[n] = i : e === n && "range" !== e && (t[n] = !0) }, attributeRules: function (e) { var n, i, o = {}, r = t(e), l = e.getAttribute("type"); for (n in t.validator.methods) "required" === n ? ("" === (i = e.getAttribute(n)) && (i = !0), i = !!i) : i = r.attr(n), this.normalizeAttributeRule(o, l, n, i); return o.maxlength && /-1|2147483647|524288/.test(o.maxlength) && delete o.maxlength, o }, dataRules: function (e) { var n, i, o = {}, r = t(e), l = e.getAttribute("type"); for (n in t.validator.methods) "" === (i = r.data("rule" + n.charAt(0).toUpperCase() + n.substring(1).toLowerCase())) && (i = !0), this.normalizeAttributeRule(o, l, n, i); return o }, staticRules: function (e) { var n = {}, i = t.data(e.form, "validator"); return i.settings.rules && (n = t.validator.normalizeRule(i.settings.rules[e.name]) || {}), n }, normalizeRules: function (e, n) { return t.each(e, (function (o, r) { if (!1 !== r) { if (r.param || r.depends) { var l = !0; switch (i(r.depends)) { case "string": l = !!t(r.depends, n.form).length; break; case "function": l = r.depends.call(n, n) }l ? e[o] = void 0 === r.param || r.param : (t.data(n.form, "validator").resetElements(t(n)), delete e[o]) } } else delete e[o] })), t.each(e, (function (i, o) { e[i] = t.isFunction(o) && "normalizer" !== i ? o(n) : o })), t.each(["minlength", "maxlength"], (function () { e[this] && (e[this] = Number(e[this])) })), t.each(["rangelength", "range"], (function () { var n; e[this] && (t.isArray(e[this]) ? e[this] = [Number(e[this][0]), Number(e[this][1])] : "string" == typeof e[this] && (n = e[this].replace(/[\[\]]/g, "").split(/[\s,]+/), e[this] = [Number(n[0]), Number(n[1])])) })), t.validator.autoCreateRanges && (null != e.min && null != e.max && (e.range = [e.min, e.max], delete e.min, delete e.max), null != e.minlength && null != e.maxlength && (e.rangelength = [e.minlength, e.maxlength], delete e.minlength, delete e.maxlength)), e }, normalizeRule: function (e) { if ("string" == typeof e) { var n = {}; t.each(e.split(/\s/), (function () { n[this] = !0 })), e = n } return e }, addMethod: function (e, n, i) { t.validator.methods[e] = n, t.validator.messages[e] = void 0 !== i ? i : t.validator.messages[e], n.length < 3 && t.validator.addClassRules(e, t.validator.normalizeRule(e)) }, methods: { required: function (e, n, i) { if (!this.depend(i, n)) return "dependency-mismatch"; if ("select" === n.nodeName.toLowerCase()) { var o = t(n).val(); return o && o.length > 0 } return this.checkable(n) ? this.getLength(e, n) > 0 : null != e && e.length > 0 }, email: function (t, e) { return this.optional(e) || /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t) }, url: function (t, e) { return this.optional(e) || /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(t) }, date: (e = !1, function (t, n) { return e || (e = !0, this.settings.debug && window.console && console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")), this.optional(n) || !/Invalid|NaN/.test(new Date(t).toString()) }), dateISO: function (t, e) { return this.optional(e) || /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t) }, number: function (t, e) { return this.optional(e) || /^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t) }, digits: function (t, e) { return this.optional(e) || /^\d+$/.test(t) }, minlength: function (e, n, i) { var o = t.isArray(e) ? e.length : this.getLength(e, n); return this.optional(n) || o >= i }, maxlength: function (e, n, i) { var o = t.isArray(e) ? e.length : this.getLength(e, n); return this.optional(n) || o <= i }, rangelength: function (e, n, i) { var o = t.isArray(e) ? e.length : this.getLength(e, n); return this.optional(n) || o >= i[0] && o <= i[1] }, min: function (t, e, n) { return this.optional(e) || t >= n }, max: function (t, e, n) { return this.optional(e) || t <= n }, range: function (t, e, n) { return this.optional(e) || t >= n[0] && t <= n[1] }, step: function (e, n, i) { var o, r = t(n).attr("type"), l = "Step attribute on input type " + r + " is not supported.", a = new RegExp("\\b" + r + "\\b"), s = function (t) { var e = ("" + t).match(/(?:\.(\d+))?$/); return e && e[1] ? e[1].length : 0 }, c = function (t) { return Math.round(t * Math.pow(10, o)) }, u = !0; if (r && !a.test(["text", "number", "range"].join())) throw new Error(l); return o = s(i), (s(e) > o || c(e) % c(i) != 0) && (u = !1), this.optional(n) || u }, equalTo: function (e, n, i) { var o = t(i); return this.settings.onfocusout && o.not(".validate-equalTo-blur").length && o.addClass("validate-equalTo-blur").on("blur.validate-equalTo", (function () { t(n).valid() })), e === o.val() }, remote: function (e, n, i, o) { if (this.optional(n)) return "dependency-mismatch"; o = "string" == typeof o && o || "remote"; var r, l, a, s = this.previousValue(n, o); return this.settings.messages[n.name] || (this.settings.messages[n.name] = {}), s.originalMessage = s.originalMessage || this.settings.messages[n.name][o], this.settings.messages[n.name][o] = s.message, i = "string" == typeof i && { url: i } || i, a = t.param(t.extend({ data: e }, i.data)), s.old === a ? s.valid : (s.old = a, r = this, this.startRequest(n), (l = {})[n.name] = e, t.ajax(t.extend(!0, { mode: "abort", port: "validate" + n.name, dataType: "json", data: l, context: r.currentForm, success: function (t) { var i, l, a, c = !0 === t || "true" === t; r.settings.messages[n.name][o] = s.originalMessage, c ? (a = r.formSubmitted, r.resetInternals(), r.toHide = r.errorsFor(n), r.formSubmitted = a, r.successList.push(n), r.invalid[n.name] = !1, r.showErrors()) : (i = {}, l = t || r.defaultMessage(n, { method: o, parameters: e }), i[n.name] = s.message = l, r.invalid[n.name] = !0, r.showErrors(i)), s.valid = c, r.stopRequest(n, c) } }, i)), "pending") } } }); var n, o = {}; return t.ajaxPrefilter ? t.ajaxPrefilter((function (t, e, n) { var i = t.port; "abort" === t.mode && (o[i] && o[i].abort(), o[i] = n) })) : (n = t.ajax, t.ajax = function (e) { var i = ("mode" in e ? e : t.ajaxSettings).mode, r = ("port" in e ? e : t.ajaxSettings).port; return "abort" === i ? (o[r] && o[r].abort(), o[r] = n.apply(this, arguments), o[r]) : n.apply(this, arguments) }), t }, "function" == typeof define && n(24) ? define(["jquery"], e) : "object" === i(t) && t.exports ? t.exports = e(n(64)) : e(jQuery)
}).call(this, n(27)(t))
}, , function (t, e, n) { "use strict"; n(171), n(252), n(257), n(172), n(173), n(174), n(205), n(206), n(207), n(208), n(209), n(260), n(261), n(270), n(262), n(14), n(35), function () { var t = "bfred-it:object-fit-images", e = /(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g, n = "undefined" == typeof Image ? { style: { "object-position": 1 } } : new Image, i = "object-fit" in n.style, o = "object-position" in n.style, r = "background-size" in n.style, l = "string" == typeof n.currentSrc, a = n.getAttribute, s = n.setAttribute, c = !1; function u(t, e, n) { var i = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='" + (e || 1) + "' height='" + (n || 0) + "'%3E%3C/svg%3E"; a.call(t, "src") !== i && s.call(t, "src", i) } function d(t, e) { t.naturalWidth ? e(t) : setTimeout(d, 100, t, e) } function h(n) { var o = function (t) { for (var n, i = getComputedStyle(t).fontFamily, o = {}; null !== (n = e.exec(i));)o[n[1]] = n[2]; return o }(n), r = n[t]; if (o["object-fit"] = o["object-fit"] || "fill", !r.img) { if ("fill" === o["object-fit"]) return; if (!r.skipTest && i && !o["object-position"]) return } if (!r.img) { r.img = new Image(n.width, n.height), r.img.srcset = a.call(n, "data-ofi-srcset") || n.srcset, r.img.src = a.call(n, "data-ofi-src") || n.src, s.call(n, "data-ofi-src", n.src), n.srcset && s.call(n, "data-ofi-srcset", n.srcset), u(n, n.naturalWidth || n.width, n.naturalHeight || n.height), n.srcset && (n.srcset = ""); try { !function (e) { var n = { get: function (n) { return e[t].img[n || "src"] }, set: function (n, i) { return e[t].img[i || "src"] = n, s.call(e, "data-ofi-" + i, n), h(e), n } }; Object.defineProperty(e, "src", n), Object.defineProperty(e, "currentSrc", { get: function () { return n.get("currentSrc") } }), Object.defineProperty(e, "srcset", { get: function () { return n.get("srcset") }, set: function (t) { return n.set(t, "srcset") } }) }(n) } catch (t) { window.console && console.warn("https://bit.ly/ofi-old-browser") } } !function (t) { if (t.srcset && !l && window.picturefill) { var e = window.picturefill._; t[e.ns] && t[e.ns].evaled || e.fillImg(t, { reselect: !0 }), t[e.ns].curSrc || (t[e.ns].supported = !1, e.fillImg(t, { reselect: !0 })), t.currentSrc = t[e.ns].curSrc || t.src } }(r.img), n.style.backgroundImage = 'url("' + (r.img.currentSrc || r.img.src).replace(/"/g, '\\"') + '")', n.style.backgroundPosition = o["object-position"] || "center", n.style.backgroundRepeat = "no-repeat", n.style.backgroundOrigin = "content-box", /scale-down/.test(o["object-fit"]) ? d(r.img, (function () { r.img.naturalWidth > n.width || r.img.naturalHeight > n.height ? n.style.backgroundSize = "contain" : n.style.backgroundSize = "auto" })) : n.style.backgroundSize = o["object-fit"].replace("none", "auto").replace("fill", "100% 100%"), d(r.img, (function (t) { u(n, t.naturalWidth, t.naturalHeight) })) } function f(e, n) { var i = !c && !e; if (n = n || {}, e = e || "img", o && !n.skipTest || !r) return !1; "img" === e ? e = document.getElementsByTagName("img") : "string" == typeof e ? e = document.querySelectorAll(e) : "length" in e || (e = [e]); for (var l = 0; l < e.length; l++)e[l][t] = e[l][t] || { skipTest: n.skipTest }, h(e[l]); i && (document.body.addEventListener("load", (function (t) { "IMG" === t.target.tagName && f(t.target, { skipTest: n.skipTest }) }), !0), c = !0, e = "img"), n.watchMQ && window.addEventListener("resize", f.bind(null, e, { skipTest: n.skipTest })) } f.supportsObjectFit = i, f.supportsObjectPosition = o, function () { function e(e, n) { return e[t] && e[t].img && ("src" === n || "srcset" === n) ? e[t].img : e } o || (HTMLImageElement.prototype.getAttribute = function (t) { return a.call(e(this, t), t) }, HTMLImageElement.prototype.setAttribute = function (t, n) { return s.call(e(this, t), t, String(n)) }) }() }(), n(236), n(249), n(263), n(266), n(210), n(212), n(271), n(272), n(213), n(214), n(215), n(264), n(218), n(219), n(220), n(237), n(250), n(265), n(221), n(222), n(223), n(10), n(16), n(17), n(6), n(8), n(13), n(61), n(7), n(29), n(18), n(19); function i(t, e) { return function (t) { if (Array.isArray(t)) return t }(t) || function (t, e) { if (!(Symbol.iterator in Object(t) || "[object Arguments]" === Object.prototype.toString.call(t))) return; var n = [], i = !0, o = !1, r = void 0; try { for (var l, a = t[Symbol.iterator](); !(i = (l = a.next()).done) && (n.push(l.value), !e || n.length !== e); i = !0); } catch (t) { o = !0, r = t } finally { try { i || null == a.return || a.return() } finally { if (o) throw r } } return n }(t, e) || function () { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } function o(t, e) { for (var n = 0; n < e.length; n++) { var i = e[n]; i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) } } jQuery((function (t) { var e = function () { function e(n, i) { !function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }(this, e), this.settings = { menuLeftMinBorder: .3, menuLeftMaxBorder: -.5, menuRightMinBorder: -.3, menuRightMaxBorder: .5, menuVelocityOffset: 10 }, this.defaults = { menuWidth: 240, edge: "left", closeOnClick: !1, breakpoint: 1440, timeDurationOpen: 500, timeDurationClose: 500, timeDurationOverlayOpen: 200, timeDurationOverlayClose: 200, easingOpen: "easeInOutQuad", easingClose: "easeInOutQuad", showOverlay: !0, showCloseButton: !1, slim: !1, onOpen: null, onClose: null, mode: "over" }, this.$element = n, this.$elementCloned = n.clone().css({ display: "inline-block", lineHeight: "24px" }).html('<i class="fas fa-times"></i>'), this.options = this.assignOptions(i), this.menuOut = !1, this.lastTouchVelocity = { x: { startPosition: 0, startTime: 0, endPosition: 0, endTime: 0 } }, this.$body = t("body"), this.$menu = t("#".concat(this.$element.attr("data-activates"))), this.$sidenavOverlay = t("#sidenav-overlay"), this.$dragTarget = t('<div class="drag-target"></div>'), this.isTouchDevice = "ontouchstart" in document.documentElement, this.$body.append(this.$dragTarget) } var n, r, l; return n = e, (r = [{ key: "assignOptions", value: function (e) { return t.extend({}, this.defaults, e) } }, { key: "init", value: function () { this.setMenuWidth(), this.setMenuTranslation(), this.closeOnClick(), this.openOnClick(), this.bindTouchEvents(), this.bindKeydownEvents(), this.showCloseButton(), this.inputOnClick(), this.setTabTrap(), this.handleSlim(), !0 === this.options.slim && t("#toggle").trigger("click"), this.onOpen(), this.onClose(), this.options[0] + this.options[1] + this.options[2] + this.options[3] === "show" && !1 === this.menuOut && this.$element.trigger("click"), this.options[0] + this.options[1] + this.options[2] + this.options[3] === "hide" && !0 === this.menuOut && this.removeMenu(), "push" !== this.options.mode && "side" !== this.options.mode || t(".fixed-sn .main, .fixed-sn footer, .fixed-sn header").css({ transition: "all 0.5s ease-in-out" }) } }, { key: "setMenuWidth", value: function () { var e = t("#".concat(this.$menu.attr("id"))).find("> .sidenav-bg"); this.$menu.css("width", this.options.menuWidth), e.css("width", this.options.menuWidth) } }, { key: "setMenuTranslation", value: function () { var e = this; "left" === this.options.edge ? (this.$menu.css("transform", "translateX(-100%)"), this.$dragTarget.css({ left: 0 })) : (this.$menu.addClass("right-aligned").css("transform", "translateX(100%)"), this.$dragTarget.css({ right: 0 })), this.$menu.hasClass("side") && (window.innerWidth > this.options.breakpoint ? (this.menuOut = !0, this.$menu.css("transform", "translateX(0)")) : this.menuOut = !1, this.$menu.find("input[type=text]").on("touchstart", (function () { e.$menu.addClass("transform-fix-input") })), t(window).on("resize", (function () { if (e.isTouchDevice || t(".fixed-sn main, .fixed-sn footer").css("padding-left", e.options.menuWidth), window.innerWidth > e.options.breakpoint) e.$sidenavOverlay.length ? (e.removeMenu(!0), t(".fixed-sn main, .fixed-sn footer").css("padding-left", e.options.menuWidth)) : (!1 === e.menuOut && t(e).trigger("sidenav_open", [e.options.onOpen]), e.$menu.css("transform", "translateX(0%)"), e.menuOut = !0); else if (!1 !== e.menuOut || e.isTouchDevice) e.isTouchDevice || (e.menuOut = !1, e.removeMenu(!0)); else { var n = "left" === e.options.edge ? "-100" : "100"; e.$menu.css("transform", "translateX(".concat(n, "%)")), e.removeMenu(!0) } }))) } }, { key: "closeOnClick", value: function () { var t = this; !0 === this.options.closeOnClick && (this.$menu.on("click", "a:not(.collapsible-header)", (function () { return t.removeMenu() })), "translateX(0)" === this.$menu.css("transform") && this.$menu.on("click", (function () { return t.removeMenu() }))) } }, { key: "onOpen", value: function (e) { t(this).on("sidenav_open", (function (t, e) { "function" == typeof e && e() })) } }, { key: "onClose", value: function (e) { t(this).on("sidenav_close", (function (t, e) { "function" == typeof e && e() })) } }, { key: "openOnClick", value: function () { var e = this; this.$element.on("click", (function (n) { if (n.preventDefault(), !0 === e.menuOut) return e.removeMenu(); t(e).trigger("sidenav_open", [e.options.onOpen]), e.menuOut = !0, !0 === e.options.showOverlay ? t("#sidenav-overlay").length || e.showSidenavOverlay() : e.showCloseButton(); var i, o = []; if (o = "left" === e.options.edge ? [0, -1 * e.options.menuWidth] : [0, e.options.menuWidth], "matrix(1, 0, 0, 1, 0, 0)" !== e.$menu.css("transform") && e.$menu.velocity({ translateX: o }, { duration: e.options.timeDurationOpen, queue: !1, easing: e.options.easingOpen }), e.$sidenavOverlay.on("touchmove", e.touchmoveEventHandler.bind(e)), e.$menu.on("touchmove", (function (t) { t.preventDefault(), e.$menu.find(".custom-scrollbar").css("padding-bottom", "30px") })), !1 === e.options.showOverlay && (e.menuOut = !0), "push" === e.options.mode && (i = e.$menu.hasClass("slim") ? "left" === e.options.edge ? { marginLeft: "3.75rem" } : { marginLeft: "-3.75rem" } : "left" === e.options.edge ? { marginLeft: "".concat(e.options.menuWidth, "px") } : { marginLeft: "-".concat(e.options.menuWidth, "px") }, t(".fixed-sn .main, .fixed-sn footer, .fixed-sn header").css(i)), "side" === e.options.mode) { var r, l = t(".main").width() - e.options.menuWidth; r = e.$menu.hasClass("slim") ? "left" === e.options.edge ? { marginLeft: "3.75rem", width: "" } : { marginLeft: "-3.75rem", width: "" } : "left" === e.options.edge ? { marginLeft: "".concat(e.options.menuWidth, "px"), width: "".concat(l, "px") } : { marginRight: "".concat(e.options.menuWidth, "px"), width: "".concat(l, "px") }, t(".fixed-sn .main, .fixed-sn footer, .fixed-sn header").css(r) } })) } }, { key: "bindTouchEvents", value: function () { var t = this; this.$dragTarget.on("click", (function () { t.menuOut && t.removeMenu() })), this.$dragTarget.on("touchstart", (function (e) { t.lastTouchVelocity.x.startPosition = e.touches[0].clientX, t.lastTouchVelocity.x.startTime = Date.now() })), this.$dragTarget.on("touchmove", this.touchmoveEventHandler.bind(this)), this.$dragTarget.on("touchend", this.touchendEventHandler.bind(this)) } }, { key: "showCloseButton", value: function () { !0 === this.options.showCloseButton && (this.$menu.prepend(this.$elementCloned), this.$menu.find(".logo-wrapper").css({ borderTop: "1px solid rgba(153,153,153,.3)" })) } }, { key: "inputOnClick", value: function () { var t = this; this.$menu.find("input[type=text]").on("touchstart", (function () { return t.$menu.css("transform", "translateX(0)") })) } }, { key: "removeMenu", value: function (e) { var n = this; "push" === this.options.mode && t(".fixed-sn .main, .fixed-sn footer, .fixed-sn header").css({ marginLeft: "0" }), "side" === this.options.mode && (t(".main").width(), this.options.menuWidth, t(".fixed-sn .main, .fixed-sn footer, .fixed-sn header").css({ marginLeft: "0", width: "100%" })), this.$body.css({ overflow: "", width: "" }), this.$menu.velocity({ translateX: "left" === this.options.edge ? "-100%" : "100%" }, { duration: this.options.timeDurationClose, queue: !1, easing: this.options.easingClose, complete: function () { !0 === e && (n.$menu.removeAttr("style"), n.$menu.css("width", n.options.menuWidth)) } }), this.$menu.removeClass("transform-fix-input"), this.hideSidenavOverlay(), this.menuOut = !1, t(".fixed-sn .double-nav").css("padding-left", "unset"), t(".fixed-sn main, .fixed-sn footer").css({ "padding-left": "0" }), t(this).trigger("sidenav_close", [this.options.onClose]) } }, { key: "handleSlim", value: function () { var e = this; t("#toggle").on("click", (function () { if (e.$menu.hasClass("slim")) { if (e.$menu.removeClass("slim"), t(".sv-slim-icon").removeClass("fa-angle-double-right").addClass("fa-angle-double-left"), t(".fixed-sn .double-nav").css({ transition: "all .3s ease-in-out", "padding-left": "15.9rem" }), "push" === e.options.mode) { var n = "left" === e.options.edge ? { marginLeft: "15rem" } : { marginRight: "15rem", marginLeft: "-15rem" }; t(".fixed-sn .main, .fixed-sn footer, .fixed-sn header").css(n) } if ("side" === e.options.mode) { var i = "left" === e.options.edge ? { marginLeft: "15rem", width: "" } : { marginRight: "15rem", width: "" }; t(".fixed-sn .main, .fixed-sn footer, .fixed-sn header").css(i) } t(".fixed-sn main, .fixed-sn footer").css({ transition: "all .3s ease-in-out", "padding-left": "15rem" }) } else { if (e.$menu.addClass("slim"), "right" === e.options.edge && e.$menu.css({ right: "0" }), "push" === e.options.mode) { var o = "left" === e.options.edge ? { marginLeft: "3.75rem" } : { marginRight: "3.75rem", marginLeft: "0" }; t(".fixed-sn .main, .fixed-sn footer, .fixed-sn header").css(o) } if ("side" === e.options.mode) { t(".main").width(), e.options.menuWidth; var r = "left" === e.options.edge ? { marginLeft: "3.75rem", width: "" } : { marginRight: "3.75rem", width: "" }; t(".fixed-sn .main, .fixed-sn footer, .fixed-sn header").css(r) } t(".sv-slim-icon").removeClass("fa-angle-double-left").addClass("fa-angle-double-right"), t(".fixed-sn .double-nav").css("padding-left", "4.6rem"), t(".fixed-sn main, .fixed-sn footer").css({ "padding-left": "3.7rem" }) } })) } }, { key: "touchmoveEventHandler", value: function (t) { if ("touchmove" === t.type) { var e = i(t.touches, 1)[0], n = e.clientX; Date.now() - this.lastTouchVelocity.x.startTime > 20 && (this.lastTouchVelocity.x.startPosition = e.clientX, this.lastTouchVelocity.x.startTime = Date.now()), this.disableScrolling(), 0 !== this.$sidenavOverlay.length || this.buildSidenavOverlay(), "left" === this.options.edge && (n > this.options.menuWidth ? n = this.options.menuWidth : n < 0 && (n = 0)), this.translateSidenavX(n), this.updateOverlayOpacity(n) } } }, { key: "setTabTrap", value: function () { this.$menu.find(".collapsible-header").each((function (e, n) { t(n).attr("tabIndex", "0") })), this.$menu.find("#toggle").attr("tabIndex", "0"); var e = this.$menu.find("a[tabindex=0]"), n = e.length, i = this.$menu.find("li").get(0), o = e.get(n - 1); t(o).on("keydown", (function (e) { 9 === e.keyCode && (e.preventDefault(), e.shiftKey || t(i).find("a").focus(), e.shiftKey && t(o).focus()) })) } }, { key: "bindKeydownEvents", value: function () { this.$menu.find(".collapsible-accordion a").on("keydown", (function (e) { 32 !== e.keyCode && 13 !== e.keyCode || t(e.currentTarget).trigger("click") })) } }, { key: "calculateTouchVelocityX", value: function () { return Math.abs(this.lastTouchVelocity.x.endPosition - this.lastTouchVelocity.x.startPosition) / Math.abs(this.lastTouchVelocity.x.endTime - this.lastTouchVelocity.x.startTime) } }, { key: "touchendEventHandler", value: function (t) { if ("touchend" === t.type) { var e = t.changedTouches[0]; this.lastTouchVelocity.x.endTime = Date.now(), this.lastTouchVelocity.x.endPosition = e.clientX; var n = this.calculateTouchVelocityX(), i = e.clientX, o = i - this.options.menuWidth, r = i - this.options.menuWidth / 2; o > 0 && (o = 0), r < 0 && (r = 0), "left" === this.options.edge ? (this.menuOut || n <= this.settings.menuLeftMinBorder || n < this.options.menuLeftMaxBorder ? (0 !== o && this.translateMenuX([0, o], "300"), this.showSidenavOverlay()) : (!this.menuOut || n > this.settings.menuLeftMinBorder) && (this.enableScrolling(), this.translateMenuX([-1 * this.options.menuWidth - this.options.menuVelocityOffset, o], "200"), this.hideSidenavOverlay()), this.$dragTarget.css({ width: "10px", right: "", left: 0 })) : this.menuOut && n >= this.settings.menuRightMinBorder || n > this.settings.menuRightMaxBorder ? (this.translateMenuX([0, r], "300"), this.showSidenavOverlay(), this.$dragTarget.css({ width: "50%", right: "", left: 0 })) : (!this.menuOut || n < this.settings.menuRightMinBorder) && (this.enableScrolling(), this.translateMenuX([this.options.menuWidth + this.options.menuVelocityOffset, r], "200"), this.hideSidenavOverlay(), this.$dragTarget.css({ width: "10px", right: 0, left: "" })) } } }, { key: "buildSidenavOverlay", value: function () { var e = this; !0 === this.options.showOverlay && (this.$sidenavOverlay = t('<div id="sidenav-overlay"></div>'), this.$sidenavOverlay.css("opacity", 0).on("click", (function () { return e.removeMenu() })), this.$body.append(this.$sidenavOverlay)) } }, { key: "disableScrolling", value: function () { var t = this.$body.innerWidth(); this.$body.css("overflow", "hidden"), this.$body.width(t) } }, { key: "enableScrolling", value: function () { this.$body.css({ overflow: "", width: "" }) } }, { key: "translateMenuX", value: function (t, e) { this.$menu.velocity({ translateX: t }, { duration: "string" == typeof e ? Number(e) : e, queue: !1, easing: this.options.easingOpen }) } }, { key: "translateSidenavX", value: function (t) { if ("left" === this.options.edge) { var e = t >= this.options.menuWidth / 2; this.menuOut = e, this.$menu.css("transform", "translateX(".concat(t - this.options.menuWidth, "px)")) } else { var n = t < window.innerWidth - this.options.menuWidth / 2; this.menuOut = n; var i = t - this.options.menuWidth / 2; i < 0 && (i = 0), this.$menu.css("transform", "translateX(".concat(i, "px)")) } } }, { key: "updateOverlayOpacity", value: function (t) { var e; e = "left" === this.options.edge ? t / this.options.menuWidth : Math.abs((t - window.innerWidth) / this.options.menuWidth), this.$sidenavOverlay.velocity({ opacity: e }, { duration: 10, queue: !1, easing: this.options.easingOpen }) } }, { key: "showSidenavOverlay", value: function () { !0 !== this.options.showOverlay || t("#sidenav-overlay").length || this.buildSidenavOverlay(), this.$sidenavOverlay.velocity({ opacity: 1 }, { duration: this.options.timeDurationOverlayOpen, queue: !1, easing: this.options.easingOpen }) } }, { key: "hideSidenavOverlay", value: function () { this.$sidenavOverlay.velocity({ opacity: 0 }, { duration: this.options.timeDurationOverlayClose, queue: !1, easing: this.options.easingOpen, complete: function () { t(this).remove() } }) } }]) && o(n.prototype, r), l && o(n, l), e }(); t.fn.sideNav2 = function (n) { t(this).each((function () { new e(t(this), n).init() })) }, t(".side-nav").on("touchmove", (function (t) { t.stopPropagation() }), !1) })); n(224), n(225), n(226), n(229), n(105), n(106), n(230) }, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , function (t, e, n) { "use strict"; n.r(e); n(156), n(160), n(169), n(275), n(273), n(231), n(232), n(234) }]);