window.main = (function (e) { function t(n) { if (i[n]) return i[n].exports var s = (i[n] = { i: n, l: !1, exports: {} }) return e[n].call(s.exports, s, s.exports, t), (s.l = !0), s.exports } var i = {} return ( (t.m = e), (t.c = i), (t.i = function (e) { return e }), (t.d = function (e, i, n) { t.o(e, i) || Object.defineProperty(e, i, { configurable: !1, enumerable: !0, get: n, }) }), (t.n = function (e) { var i = e && e.__esModule ? function () { return e.default } : function () { return e } return t.d(i, 'a', i), i }), (t.o = function (e, t) { return Object.prototype.hasOwnProperty.call(e, t) }), (t.p = ''), t((t.s = 542)) ) })([ function (e, t, i) { 'use strict' ;(t.__esModule = !0), (t.default = function (e, t) { if (!(e instanceof t)) throw new TypeError('Cannot call a class as a function') }) }, function (e, t, i) { 'use strict' t.__esModule = !0 var n = i(19), s = (function (e) { return e && e.__esModule ? e : { default: e } })(n) t.default = (function () { function e(e, t) { for (var i = 0; i < t.length; i++) { var n = t[i] ;(n.enumerable = n.enumerable || !1), (n.configurable = !0), 'value' in n && (n.writable = !0), (0, s.default)(e, n.key, n) } } return function (t, i, n) { return i && e(t.prototype, i), n && e(t, n), t } })() }, function (e, t, i) { e.exports = !i(7)(function () { return ( 7 != Object.defineProperty({}, 'a', { get: function () { return 7 }, }).a ) }) }, function (e, t) { var i = (e.exports = { version: '2.4.0' }) 'number' == typeof __e && (__e = i) }, function (e, t) { e.exports = function (e) { return 'object' == typeof e ? null !== e : 'function' == typeof e } }, function (e, t) { var i = (e.exports = 'undefined' != typeof window && window.Math == Math ? window : 'undefined' != typeof self && self.Math == Math ? self : Function('return this')()) 'number' == typeof __g && (__g = i) }, function (e, t, i) { var n = i(11), s = i(17), r = i(13), a = Object.defineProperty t.f = i(2) ? Object.defineProperty : function (e, t, i) { if ((n(e), (t = r(t, !0)), n(i), s)) try { return a(e, t, i) } catch (e) {} if ('get' in i || 'set' in i) throw TypeError('Accessors not supported!') return 'value' in i && (e[t] = i.value), e } }, function (e, t) { e.exports = function (e) { try { return !!e() } catch (e) { return !0 } } }, function (e, t, i) { var n = i(5), s = i(3), r = i(15), a = i(10), o = function (e, t, i) { var l, u, d, c = e & o.F, h = e & o.G, p = e & o.S, f = e & o.P, m = e & o.B, _ = e & o.W, g = h ? s : s[t] || (s[t] = {}), v = g.prototype, y = h ? n : p ? n[t] : (n[t] || {}).prototype h && (i = t) for (l in i) ((u = !c && y && void 0 !== y[l]) && l in g) || ((d = u ? y[l] : i[l]), (g[l] = h && 'function' != typeof y[l] ? i[l] : m && u ? r(d, n) : _ && y[l] == d ? (function (e) { var t = function (t, i, n) { if (this instanceof e) { switch (arguments.length) { case 0: return new e() case 1: return new e(t) case 2: return new e(t, i) } return new e(t, i, n) } return e.apply(this, arguments) } return (t.prototype = e.prototype), t })(d) : f && 'function' == typeof d ? r(Function.call, d) : d), f && (((g.virtual || (g.virtual = {}))[l] = d), e & o.R && v && !v[l] && a(v, l, d))) } ;(o.F = 1), (o.G = 2), (o.S = 4), (o.P = 8), (o.B = 16), (o.W = 32), (o.U = 64), (o.R = 128), (e.exports = o) }, function (e, t) { var i i = (function () { return this })() try { i = i || Function('return this')() || (0, eval)('this') } catch (e) { 'object' == typeof window && (i = window) } e.exports = i }, function (e, t, i) { var n = i(6), s = i(12) e.exports = i(2) ? function (e, t, i) { return n.f(e, t, s(1, i)) } : function (e, t, i) { return (e[t] = i), e } }, function (e, t, i) { var n = i(4) e.exports = function (e) { if (!n(e)) throw TypeError(e + ' is not an object!') return e } }, function (e, t) { e.exports = function (e, t) { return { enumerable: !(1 & e), configurable: !(2 & e), writable: !(4 & e), value: t, } } }, function (e, t, i) { var n = i(4) e.exports = function (e, t) { if (!n(e)) return e var i, s if (t && 'function' == typeof (i = e.toString) && !n((s = i.call(e)))) return s if ('function' == typeof (i = e.valueOf) && !n((s = i.call(e)))) return s if (!t && 'function' == typeof (i = e.toString) && !n((s = i.call(e)))) return s throw TypeError("Can't convert object to primitive value") } }, function (e, t, i) { ;(function (e) { ;(function () { !(function (t, i) { e.exports = i() })(0, function () { 'use strict' function t() { return Hn.apply(null, arguments) } function n(e) { return ( e instanceof Array || '[object Array]' === Object.prototype.toString.call(e) ) } function s(e) { return ( null != e && '[object Object]' === Object.prototype.toString.call(e) ) } function r(e) { if (Object.getOwnPropertyNames) return 0 === Object.getOwnPropertyNames(e).length var t for (t in e) if (e.hasOwnProperty(t)) return !1 return !0 } function a(e) { return void 0 === e } function o(e) { return ( 'number' == typeof e || '[object Number]' === Object.prototype.toString.call(e) ) } function l(e) { return ( e instanceof Date || '[object Date]' === Object.prototype.toString.call(e) ) } function u(e, t) { var i, n = [] for (i = 0; i < e.length; ++i) n.push(t(e[i], i)) return n } function d(e, t) { return Object.prototype.hasOwnProperty.call(e, t) } function c(e, t) { for (var i in t) d(t, i) && (e[i] = t[i]) return ( d(t, 'toString') && (e.toString = t.toString), d(t, 'valueOf') && (e.valueOf = t.valueOf), e ) } function h(e, t, i, n) { return Tt(e, t, i, n, !0).utc() } function p() { return { empty: !1, unusedTokens: [], unusedInput: [], overflow: -2, charsLeftOver: 0, nullInput: !1, invalidMonth: null, invalidFormat: !1, userInvalidated: !1, iso: !1, parsedDateParts: [], meridiem: null, rfc2822: !1, weekdayMismatch: !1, } } function f(e) { return null == e._pf && (e._pf = p()), e._pf } function m(e) { if (null == e._isValid) { var t = f(e), i = An.call(t.parsedDateParts, function (e) { return null != e }), n = !isNaN(e._d.getTime()) && t.overflow < 0 && !t.empty && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || (t.meridiem && i)) if ( (e._strict && (n = n && 0 === t.charsLeftOver && 0 === t.unusedTokens.length && void 0 === t.bigHour), null != Object.isFrozen && Object.isFrozen(e)) ) return n e._isValid = n } return e._isValid } function _(e) { var t = h(NaN) return null != e ? c(f(t), e) : (f(t).userInvalidated = !0), t } function g(e, t) { var i, n, s if ( (a(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), a(t._i) || (e._i = t._i), a(t._f) || (e._f = t._f), a(t._l) || (e._l = t._l), a(t._strict) || (e._strict = t._strict), a(t._tzm) || (e._tzm = t._tzm), a(t._isUTC) || (e._isUTC = t._isUTC), a(t._offset) || (e._offset = t._offset), a(t._pf) || (e._pf = f(t)), a(t._locale) || (e._locale = t._locale), On.length > 0) ) for (i = 0; i < On.length; i++) (n = On[i]), (s = t[n]), a(s) || (e[n] = s) return e } function v(e) { g(this, e), (this._d = new Date(null != e._d ? e._d.getTime() : NaN)), this.isValid() || (this._d = new Date(NaN)), !1 === Pn && ((Pn = !0), t.updateOffset(this), (Pn = !1)) } function y(e) { return e instanceof v || (null != e && null != e._isAMomentObject) } function b(e) { return e < 0 ? Math.ceil(e) || 0 : Math.floor(e) } function w(e) { var t = +e, i = 0 return 0 !== t && isFinite(t) && (i = b(t)), i } function M(e, t, i) { var n, s = Math.min(e.length, t.length), r = Math.abs(e.length - t.length), a = 0 for (n = 0; n < s; n++) ((i && e[n] !== t[n]) || (!i && w(e[n]) !== w(t[n]))) && a++ return a + r } function k(e) { !1 === t.suppressDeprecationWarnings && 'undefined' != typeof console && console.warn && console.warn('Deprecation warning: ' + e) } function L(e, i) { var n = !0 return c(function () { if ( (null != t.deprecationHandler && t.deprecationHandler(null, e), n) ) { for (var s, r = [], a = 0; a < arguments.length; a++) { if (((s = ''), 'object' == typeof arguments[a])) { s += '\n[' + a + '] ' for (var o in arguments[0]) s += o + ': ' + arguments[0][o] + ', ' s = s.slice(0, -2) } else s = arguments[a] r.push(s) } k( e + '\nArguments: ' + Array.prototype.slice.call(r).join('') + '\n' + new Error().stack ), (n = !1) } return i.apply(this, arguments) }, i) } function D(e, i) { null != t.deprecationHandler && t.deprecationHandler(e, i), In[e] || (k(i), (In[e] = !0)) } function T(e) { return ( e instanceof Function || '[object Function]' === Object.prototype.toString.call(e) ) } function Y(e) { var t, i for (i in e) (t = e[i]), T(t) ? (this[i] = t) : (this['_' + i] = t) ;(this._config = e), (this._dayOfMonthOrdinalParseLenient = new RegExp( (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + '|' + /\d{1,2}/.source )) } function x(e, t) { var i, n = c({}, e) for (i in t) d(t, i) && (s(e[i]) && s(t[i]) ? ((n[i] = {}), c(n[i], e[i]), c(n[i], t[i])) : null != t[i] ? (n[i] = t[i]) : delete n[i]) for (i in e) d(e, i) && !d(t, i) && s(e[i]) && (n[i] = c({}, n[i])) return n } function C(e) { null != e && this.set(e) } function S(e, t, i) { var n = this._calendar[e] || this._calendar.sameElse return T(n) ? n.call(t, i) : n } function E(e) { var t = this._longDateFormat[e], i = this._longDateFormat[e.toUpperCase()] return t || !i ? t : ((this._longDateFormat[e] = i.replace( /MMMM|MM|DD|dddd/g, function (e) { return e.slice(1) } )), this._longDateFormat[e]) } function H() { return this._invalidDate } function A(e) { return this._ordinal.replace('%d', e) } function O(e, t, i, n) { var s = this._relativeTime[i] return T(s) ? s(e, t, i, n) : s.replace(/%d/i, e) } function P(e, t) { var i = this._relativeTime[e > 0 ? 'future' : 'past'] return T(i) ? i(t) : i.replace(/%s/i, t) } function I(e, t) { var i = e.toLowerCase() Rn[i] = Rn[i + 's'] = Rn[t] = e } function j(e) { return 'string' == typeof e ? Rn[e] || Rn[e.toLowerCase()] : void 0 } function W(e) { var t, i, n = {} for (i in e) d(e, i) && (t = j(i)) && (n[t] = e[i]) return n } function N(e, t) { $n[e] = t } function F(e) { var t = [] for (var i in e) t.push({ unit: i, priority: $n[i] }) return ( t.sort(function (e, t) { return e.priority - t.priority }), t ) } function z(e, t, i) { var n = '' + Math.abs(e), s = t - n.length return ( (e >= 0 ? (i ? '+' : '') : '-') + Math.pow(10, Math.max(0, s)).toString().substr(1) + n ) } function R(e, t, i, n) { var s = n 'string' == typeof n && (s = function () { return this[n]() }), e && (Kn[e] = s), t && (Kn[t[0]] = function () { return z(s.apply(this, arguments), t[1], t[2]) }), i && (Kn[i] = function () { return this.localeData().ordinal(s.apply(this, arguments), e) }) } function $(e) { return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, '') : e.replace(/\\/g, '') } function B(e) { var t, i, n = e.match(Bn) for (t = 0, i = n.length; t < i; t++) Kn[n[t]] ? (n[t] = Kn[n[t]]) : (n[t] = $(n[t])) return function (t) { var s, r = '' for (s = 0; s < i; s++) r += T(n[s]) ? n[s].call(t, e) : n[s] return r } } function U(e, t) { return e.isValid() ? ((t = q(t, e.localeData())), (qn[t] = qn[t] || B(t)), qn[t](e)) : e.localeData().invalidDate() } function q(e, t) { function i(e) { return t.longDateFormat(e) || e } var n = 5 for (Un.lastIndex = 0; n >= 0 && Un.test(e); ) (e = e.replace(Un, i)), (Un.lastIndex = 0), (n -= 1) return e } function K(e, t, i) { cs[e] = T(t) ? t : function (e, n) { return e && i ? i : t } } function V(e, t) { return d(cs, e) ? cs[e](t._strict, t._locale) : new RegExp(G(e)) } function G(e) { return J( e .replace('\\', '') .replace( /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (e, t, i, n, s) { return t || i || n || s } ) ) } function J(e) { return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&') } function X(e, t) { var i, n = t for ( 'string' == typeof e && (e = [e]), o(t) && (n = function (e, i) { i[t] = w(e) }), i = 0; i < e.length; i++ ) hs[e[i]] = n } function Q(e, t) { X(e, function (e, i, n, s) { ;(n._w = n._w || {}), t(e, n._w, n, s) }) } function Z(e, t, i) { null != t && d(hs, e) && hs[e](t, i._a, i, e) } function ee(e) { return te(e) ? 366 : 365 } function te(e) { return (e % 4 == 0 && e % 100 != 0) || e % 400 == 0 } function ie() { return te(this.year()) } function ne(e, i) { return function (n) { return null != n ? (re(this, e, n), t.updateOffset(this, i), this) : se(this, e) } } function se(e, t) { return e.isValid() ? e._d['get' + (e._isUTC ? 'UTC' : '') + t]() : NaN } function re(e, t, i) { e.isValid() && !isNaN(i) && ('FullYear' === t && te(e.year()) && 1 === e.month() && 29 === e.date() ? e._d['set' + (e._isUTC ? 'UTC' : '') + t]( i, e.month(), ue(i, e.month()) ) : e._d['set' + (e._isUTC ? 'UTC' : '') + t](i)) } function ae(e) { return (e = j(e)), T(this[e]) ? this[e]() : this } function oe(e, t) { if ('object' == typeof e) { e = W(e) for (var i = F(e), n = 0; n < i.length; n++) this[i[n].unit](e[i[n].unit]) } else if (((e = j(e)), T(this[e]))) return this[e](t) return this } function le(e, t) { return ((e % t) + t) % t } function ue(e, t) { if (isNaN(e) || isNaN(t)) return NaN var i = le(t, 12) return ( (e += (t - i) / 12), 1 === i ? (te(e) ? 29 : 28) : 31 - ((i % 7) % 2) ) } function de(e, t) { return e ? n(this._months) ? this._months[e.month()] : this._months[ (this._months.isFormat || Ls).test(t) ? 'format' : 'standalone' ][e.month()] : n(this._months) ? this._months : this._months.standalone } function ce(e, t) { return e ? n(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[Ls.test(t) ? 'format' : 'standalone'][ e.month() ] : n(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone } function he(e, t, i) { var n, s, r, a = e.toLocaleLowerCase() if (!this._monthsParse) for ( this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], n = 0; n < 12; ++n ) (r = h([2e3, n])), (this._shortMonthsParse[n] = this.monthsShort( r, '' ).toLocaleLowerCase()), (this._longMonthsParse[n] = this.months( r, '' ).toLocaleLowerCase()) return i ? 'MMM' === t ? ((s = Ms.call(this._shortMonthsParse, a)), -1 !== s ? s : null) : ((s = Ms.call(this._longMonthsParse, a)), -1 !== s ? s : null) : 'MMM' === t ? -1 !== (s = Ms.call(this._shortMonthsParse, a)) ? s : ((s = Ms.call(this._longMonthsParse, a)), -1 !== s ? s : null) : -1 !== (s = Ms.call(this._longMonthsParse, a)) ? s : ((s = Ms.call(this._shortMonthsParse, a)), -1 !== s ? s : null) } function pe(e, t, i) { var n, s, r if (this._monthsParseExact) return he.call(this, e, t, i) for ( this._monthsParse || ((this._monthsParse = []), (this._longMonthsParse = []), (this._shortMonthsParse = [])), n = 0; n < 12; n++ ) { if ( ((s = h([2e3, n])), i && !this._longMonthsParse[n] && ((this._longMonthsParse[n] = new RegExp( '^' + this.months(s, '').replace('.', '') + '$', 'i' )), (this._shortMonthsParse[n] = new RegExp( '^' + this.monthsShort(s, '').replace('.', '') + '$', 'i' ))), i || this._monthsParse[n] || ((r = '^' + this.months(s, '') + '|^' + this.monthsShort(s, '')), (this._monthsParse[n] = new RegExp(r.replace('.', ''), 'i'))), i && 'MMMM' === t && this._longMonthsParse[n].test(e)) ) return n if (i && 'MMM' === t && this._shortMonthsParse[n].test(e)) return n if (!i && this._monthsParse[n].test(e)) return n } } function fe(e, t) { var i if (!e.isValid()) return e if ('string' == typeof t) if (/^\d+$/.test(t)) t = w(t) else if (((t = e.localeData().monthsParse(t)), !o(t))) return e return ( (i = Math.min(e.date(), ue(e.year(), t))), e._d['set' + (e._isUTC ? 'UTC' : '') + 'Month'](t, i), e ) } function me(e) { return null != e ? (fe(this, e), t.updateOffset(this, !0), this) : se(this, 'Month') } function _e() { return ue(this.year(), this.month()) } function ge(e) { return this._monthsParseExact ? (d(this, '_monthsRegex') || ye.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (d(this, '_monthsShortRegex') || (this._monthsShortRegex = Ys), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex) } function ve(e) { return this._monthsParseExact ? (d(this, '_monthsRegex') || ye.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (d(this, '_monthsRegex') || (this._monthsRegex = xs), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex) } function ye() { function e(e, t) { return t.length - e.length } var t, i, n = [], s = [], r = [] for (t = 0; t < 12; t++) (i = h([2e3, t])), n.push(this.monthsShort(i, '')), s.push(this.months(i, '')), r.push(this.months(i, '')), r.push(this.monthsShort(i, '')) for (n.sort(e), s.sort(e), r.sort(e), t = 0; t < 12; t++) (n[t] = J(n[t])), (s[t] = J(s[t])) for (t = 0; t < 24; t++) r[t] = J(r[t]) ;(this._monthsRegex = new RegExp('^(' + r.join('|') + ')', 'i')), (this._monthsShortRegex = this._monthsRegex), (this._monthsStrictRegex = new RegExp( '^(' + s.join('|') + ')', 'i' )), (this._monthsShortStrictRegex = new RegExp( '^(' + n.join('|') + ')', 'i' )) } function be(e, t, i, n, s, r, a) { var o return ( e < 100 && e >= 0 ? ((o = new Date(e + 400, t, i, n, s, r, a)), isFinite(o.getFullYear()) && o.setFullYear(e)) : (o = new Date(e, t, i, n, s, r, a)), o ) } function we(e) { var t if (e < 100 && e >= 0) { var i = Array.prototype.slice.call(arguments) ;(i[0] = e + 400), (t = new Date(Date.UTC.apply(null, i))), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e) } else t = new Date(Date.UTC.apply(null, arguments)) return t } function Me(e, t, i) { var n = 7 + t - i return (-(7 + we(e, 0, n).getUTCDay() - t) % 7) + n - 1 } function ke(e, t, i, n, s) { var r, a, o = (7 + i - n) % 7, l = Me(e, n, s), u = 1 + 7 * (t - 1) + o + l return ( u <= 0 ? ((r = e - 1), (a = ee(r) + u)) : u > ee(e) ? ((r = e + 1), (a = u - ee(e))) : ((r = e), (a = u)), { year: r, dayOfYear: a } ) } function Le(e, t, i) { var n, s, r = Me(e.year(), t, i), a = Math.floor((e.dayOfYear() - r - 1) / 7) + 1 return ( a < 1 ? ((s = e.year() - 1), (n = a + De(s, t, i))) : a > De(e.year(), t, i) ? ((n = a - De(e.year(), t, i)), (s = e.year() + 1)) : ((s = e.year()), (n = a)), { week: n, year: s } ) } function De(e, t, i) { var n = Me(e, t, i), s = Me(e + 1, t, i) return (ee(e) - n + s) / 7 } function Te(e) { return Le(e, this._week.dow, this._week.doy).week } function Ye() { return this._week.dow } function xe() { return this._week.doy } function Ce(e) { var t = this.localeData().week(this) return null == e ? t : this.add(7 * (e - t), 'd') } function Se(e) { var t = Le(this, 1, 4).week return null == e ? t : this.add(7 * (e - t), 'd') } function Ee(e, t) { return 'string' != typeof e ? e : isNaN(e) ? ((e = t.weekdaysParse(e)), 'number' == typeof e ? e : null) : parseInt(e, 10) } function He(e, t) { return 'string' == typeof e ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e } function Ae(e, t) { return e.slice(t, 7).concat(e.slice(0, t)) } function Oe(e, t) { var i = n(this._weekdays) ? this._weekdays : this._weekdays[ e && !0 !== e && this._weekdays.isFormat.test(t) ? 'format' : 'standalone' ] return !0 === e ? Ae(i, this._week.dow) : e ? i[e.day()] : i } function Pe(e) { return !0 === e ? Ae(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort } function Ie(e) { return !0 === e ? Ae(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin } function je(e, t, i) { var n, s, r, a = e.toLocaleLowerCase() if (!this._weekdaysParse) for ( this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], n = 0; n < 7; ++n ) (r = h([2e3, 1]).day(n)), (this._minWeekdaysParse[n] = this.weekdaysMin( r, '' ).toLocaleLowerCase()), (this._shortWeekdaysParse[n] = this.weekdaysShort( r, '' ).toLocaleLowerCase()), (this._weekdaysParse[n] = this.weekdays( r, '' ).toLocaleLowerCase()) return i ? 'dddd' === t ? ((s = Ms.call(this._weekdaysParse, a)), -1 !== s ? s : null) : 'ddd' === t ? ((s = Ms.call(this._shortWeekdaysParse, a)), -1 !== s ? s : null) : ((s = Ms.call(this._minWeekdaysParse, a)), -1 !== s ? s : null) : 'dddd' === t ? -1 !== (s = Ms.call(this._weekdaysParse, a)) ? s : -1 !== (s = Ms.call(this._shortWeekdaysParse, a)) ? s : ((s = Ms.call(this._minWeekdaysParse, a)), -1 !== s ? s : null) : 'ddd' === t ? -1 !== (s = Ms.call(this._shortWeekdaysParse, a)) ? s : -1 !== (s = Ms.call(this._weekdaysParse, a)) ? s : ((s = Ms.call(this._minWeekdaysParse, a)), -1 !== s ? s : null) : -1 !== (s = Ms.call(this._minWeekdaysParse, a)) ? s : -1 !== (s = Ms.call(this._weekdaysParse, a)) ? s : ((s = Ms.call(this._shortWeekdaysParse, a)), -1 !== s ? s : null) } function We(e, t, i) { var n, s, r if (this._weekdaysParseExact) return je.call(this, e, t, i) for ( this._weekdaysParse || ((this._weekdaysParse = []), (this._minWeekdaysParse = []), (this._shortWeekdaysParse = []), (this._fullWeekdaysParse = [])), n = 0; n < 7; n++ ) { if ( ((s = h([2e3, 1]).day(n)), i && !this._fullWeekdaysParse[n] && ((this._fullWeekdaysParse[n] = new RegExp( '^' + this.weekdays(s, '').replace('.', '\\.?') + '$', 'i' )), (this._shortWeekdaysParse[n] = new RegExp( '^' + this.weekdaysShort(s, '').replace('.', '\\.?') + '$', 'i' )), (this._minWeekdaysParse[n] = new RegExp( '^' + this.weekdaysMin(s, '').replace('.', '\\.?') + '$', 'i' ))), this._weekdaysParse[n] || ((r = '^' + this.weekdays(s, '') + '|^' + this.weekdaysShort(s, '') + '|^' + this.weekdaysMin(s, '')), (this._weekdaysParse[n] = new RegExp( r.replace('.', ''), 'i' ))), i && 'dddd' === t && this._fullWeekdaysParse[n].test(e)) ) return n if (i && 'ddd' === t && this._shortWeekdaysParse[n].test(e)) return n if (i && 'dd' === t && this._minWeekdaysParse[n].test(e)) return n if (!i && this._weekdaysParse[n].test(e)) return n } } function Ne(e) { if (!this.isValid()) return null != e ? this : NaN var t = this._isUTC ? this._d.getUTCDay() : this._d.getDay() return null != e ? ((e = Ee(e, this.localeData())), this.add(e - t, 'd')) : t } function Fe(e) { if (!this.isValid()) return null != e ? this : NaN var t = (this.day() + 7 - this.localeData()._week.dow) % 7 return null == e ? t : this.add(e - t, 'd') } function ze(e) { if (!this.isValid()) return null != e ? this : NaN if (null != e) { var t = He(e, this.localeData()) return this.day(this.day() % 7 ? t : t - 7) } return this.day() || 7 } function Re(e) { return this._weekdaysParseExact ? (d(this, '_weekdaysRegex') || Ue.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (d(this, '_weekdaysRegex') || (this._weekdaysRegex = As), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex) } function $e(e) { return this._weekdaysParseExact ? (d(this, '_weekdaysRegex') || Ue.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (d(this, '_weekdaysShortRegex') || (this._weekdaysShortRegex = Os), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) } function Be(e) { return this._weekdaysParseExact ? (d(this, '_weekdaysRegex') || Ue.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (d(this, '_weekdaysMinRegex') || (this._weekdaysMinRegex = Ps), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) } function Ue() { function e(e, t) { return t.length - e.length } var t, i, n, s, r, a = [], o = [], l = [], u = [] for (t = 0; t < 7; t++) (i = h([2e3, 1]).day(t)), (n = this.weekdaysMin(i, '')), (s = this.weekdaysShort(i, '')), (r = this.weekdays(i, '')), a.push(n), o.push(s), l.push(r), u.push(n), u.push(s), u.push(r) for (a.sort(e), o.sort(e), l.sort(e), u.sort(e), t = 0; t < 7; t++) (o[t] = J(o[t])), (l[t] = J(l[t])), (u[t] = J(u[t])) ;(this._weekdaysRegex = new RegExp('^(' + u.join('|') + ')', 'i')), (this._weekdaysShortRegex = this._weekdaysRegex), (this._weekdaysMinRegex = this._weekdaysRegex), (this._weekdaysStrictRegex = new RegExp( '^(' + l.join('|') + ')', 'i' )), (this._weekdaysShortStrictRegex = new RegExp( '^(' + o.join('|') + ')', 'i' )), (this._weekdaysMinStrictRegex = new RegExp( '^(' + a.join('|') + ')', 'i' )) } function qe() { return this.hours() % 12 || 12 } function Ke() { return this.hours() || 24 } function Ve(e, t) { R(e, 0, 0, function () { return this.localeData().meridiem(this.hours(), this.minutes(), t) }) } function Ge(e, t) { return t._meridiemParse } function Je(e) { return 'p' === (e + '').toLowerCase().charAt(0) } function Xe(e, t, i) { return e > 11 ? (i ? 'pm' : 'PM') : i ? 'am' : 'AM' } function Qe(e) { return e ? e.toLowerCase().replace('_', '-') : e } function Ze(e) { for (var t, i, n, s, r = 0; r < e.length; ) { for ( s = Qe(e[r]).split('-'), t = s.length, i = Qe(e[r + 1]), i = i ? i.split('-') : null; t > 0; ) { if ((n = et(s.slice(0, t).join('-')))) return n if (i && i.length >= t && M(s, i, !0) >= t - 1) break t-- } r++ } return Is } function et(t) { var n = null if (!Fs[t] && void 0 !== e && e && e.exports) try { n = Is._abbr i(623)('./' + t), tt(n) } catch (e) {} return Fs[t] } function tt(e, t) { var i return ( e && ((i = a(t) ? st(e) : it(e, t)), i ? (Is = i) : 'undefined' != typeof console && console.warn && console.warn( 'Locale ' + e + ' not found. Did you forget to load it?' )), Is._abbr ) } function it(e, t) { if (null !== t) { var i, n = Ns if (((t.abbr = e), null != Fs[e])) D( 'defineLocaleOverride', 'use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info.' ), (n = Fs[e]._config) else if (null != t.parentLocale) if (null != Fs[t.parentLocale]) n = Fs[t.parentLocale]._config else { if (null == (i = et(t.parentLocale))) return ( zs[t.parentLocale] || (zs[t.parentLocale] = []), zs[t.parentLocale].push({ name: e, config: t }), null ) n = i._config } return ( (Fs[e] = new C(x(n, t))), zs[e] && zs[e].forEach(function (e) { it(e.name, e.config) }), tt(e), Fs[e] ) } return delete Fs[e], null } function nt(e, t) { if (null != t) { var i, n, s = Ns ;(n = et(e)), null != n && (s = n._config), (t = x(s, t)), (i = new C(t)), (i.parentLocale = Fs[e]), (Fs[e] = i), tt(e) } else null != Fs[e] && (null != Fs[e].parentLocale ? (Fs[e] = Fs[e].parentLocale) : null != Fs[e] && delete Fs[e]) return Fs[e] } function st(e) { var t if ( (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e) ) return Is if (!n(e)) { if ((t = et(e))) return t e = [e] } return Ze(e) } function rt() { return jn(Fs) } function at(e) { var t, i = e._a return ( i && -2 === f(e).overflow && ((t = i[fs] < 0 || i[fs] > 11 ? fs : i[ms] < 1 || i[ms] > ue(i[ps], i[fs]) ? ms : i[_s] < 0 || i[_s] > 24 || (24 === i[_s] && (0 !== i[gs] || 0 !== i[vs] || 0 !== i[ys])) ? _s : i[gs] < 0 || i[gs] > 59 ? gs : i[vs] < 0 || i[vs] > 59 ? vs : i[ys] < 0 || i[ys] > 999 ? ys : -1), f(e)._overflowDayOfYear && (t < ps || t > ms) && (t = ms), f(e)._overflowWeeks && -1 === t && (t = bs), f(e)._overflowWeekday && -1 === t && (t = ws), (f(e).overflow = t)), e ) } function ot(e, t, i) { return null != e ? e : null != t ? t : i } function lt(e) { var i = new Date(t.now()) return e._useUTC ? [i.getUTCFullYear(), i.getUTCMonth(), i.getUTCDate()] : [i.getFullYear(), i.getMonth(), i.getDate()] } function ut(e) { var t, i, n, s, r, a = [] if (!e._d) { for ( n = lt(e), e._w && null == e._a[ms] && null == e._a[fs] && dt(e), null != e._dayOfYear && ((r = ot(e._a[ps], n[ps])), (e._dayOfYear > ee(r) || 0 === e._dayOfYear) && (f(e)._overflowDayOfYear = !0), (i = we(r, 0, e._dayOfYear)), (e._a[fs] = i.getUTCMonth()), (e._a[ms] = i.getUTCDate())), t = 0; t < 3 && null == e._a[t]; ++t ) e._a[t] = a[t] = n[t] for (; t < 7; t++) e._a[t] = a[t] = null == e._a[t] ? (2 === t ? 1 : 0) : e._a[t] 24 === e._a[_s] && 0 === e._a[gs] && 0 === e._a[vs] && 0 === e._a[ys] && ((e._nextDay = !0), (e._a[_s] = 0)), (e._d = (e._useUTC ? we : be).apply(null, a)), (s = e._useUTC ? e._d.getUTCDay() : e._d.getDay()), null != e._tzm && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[_s] = 24), e._w && void 0 !== e._w.d && e._w.d !== s && (f(e).weekdayMismatch = !0) } } function dt(e) { var t, i, n, s, r, a, o, l if (((t = e._w), null != t.GG || null != t.W || null != t.E)) (r = 1), (a = 4), (i = ot(t.GG, e._a[ps], Le(Yt(), 1, 4).year)), (n = ot(t.W, 1)), ((s = ot(t.E, 1)) < 1 || s > 7) && (l = !0) else { ;(r = e._locale._week.dow), (a = e._locale._week.doy) var u = Le(Yt(), r, a) ;(i = ot(t.gg, e._a[ps], u.year)), (n = ot(t.w, u.week)), null != t.d ? ((s = t.d) < 0 || s > 6) && (l = !0) : null != t.e ? ((s = t.e + r), (t.e < 0 || t.e > 6) && (l = !0)) : (s = r) } n < 1 || n > De(i, r, a) ? (f(e)._overflowWeeks = !0) : null != l ? (f(e)._overflowWeekday = !0) : ((o = ke(i, n, s, r, a)), (e._a[ps] = o.year), (e._dayOfYear = o.dayOfYear)) } function ct(e) { var t, i, n, s, r, a, o = e._i, l = Rs.exec(o) || $s.exec(o) if (l) { for (f(e).iso = !0, t = 0, i = Us.length; t < i; t++) if (Us[t][1].exec(l[1])) { ;(s = Us[t][0]), (n = !1 !== Us[t][2]) break } if (null == s) return void (e._isValid = !1) if (l[3]) { for (t = 0, i = qs.length; t < i; t++) if (qs[t][1].exec(l[3])) { r = (l[2] || ' ') + qs[t][0] break } if (null == r) return void (e._isValid = !1) } if (!n && null != r) return void (e._isValid = !1) if (l[4]) { if (!Bs.exec(l[4])) return void (e._isValid = !1) a = 'Z' } ;(e._f = s + (r || '') + (a || '')), yt(e) } else e._isValid = !1 } function ht(e, t, i, n, s, r) { var a = [ pt(e), Ts.indexOf(t), parseInt(i, 10), parseInt(n, 10), parseInt(s, 10), ] return r && a.push(parseInt(r, 10)), a } function pt(e) { var t = parseInt(e, 10) return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t } function ft(e) { return e .replace(/\([^)]*\)|[\n\t]/g, ' ') .replace(/(\s\s+)/g, ' ') .replace(/^\s\s*/, '') .replace(/\s\s*$/, '') } function mt(e, t, i) { if (e) { if (Es.indexOf(e) !== new Date(t[0], t[1], t[2]).getDay()) return (f(i).weekdayMismatch = !0), (i._isValid = !1), !1 } return !0 } function _t(e, t, i) { if (e) return Gs[e] if (t) return 0 var n = parseInt(i, 10), s = n % 100 return ((n - s) / 100) * 60 + s } function gt(e) { var t = Vs.exec(ft(e._i)) if (t) { var i = ht(t[4], t[3], t[2], t[5], t[6], t[7]) if (!mt(t[1], i, e)) return ;(e._a = i), (e._tzm = _t(t[8], t[9], t[10])), (e._d = we.apply(null, e._a)), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), (f(e).rfc2822 = !0) } else e._isValid = !1 } function vt(e) { var i = Ks.exec(e._i) if (null !== i) return void (e._d = new Date(+i[1])) ct(e), !1 === e._isValid && (delete e._isValid, gt(e), !1 === e._isValid && (delete e._isValid, t.createFromInputFallback(e))) } function yt(e) { if (e._f === t.ISO_8601) return void ct(e) if (e._f === t.RFC_2822) return void gt(e) ;(e._a = []), (f(e).empty = !0) var i, n, s, r, a, o = '' + e._i, l = o.length, u = 0 for ( s = q(e._f, e._locale).match(Bn) || [], i = 0; i < s.length; i++ ) (r = s[i]), (n = (o.match(V(r, e)) || [])[0]), n && ((a = o.substr(0, o.indexOf(n))), a.length > 0 && f(e).unusedInput.push(a), (o = o.slice(o.indexOf(n) + n.length)), (u += n.length)), Kn[r] ? (n ? (f(e).empty = !1) : f(e).unusedTokens.push(r), Z(r, n, e)) : e._strict && !n && f(e).unusedTokens.push(r) ;(f(e).charsLeftOver = l - u), o.length > 0 && f(e).unusedInput.push(o), e._a[_s] <= 12 && !0 === f(e).bigHour && e._a[_s] > 0 && (f(e).bigHour = void 0), (f(e).parsedDateParts = e._a.slice(0)), (f(e).meridiem = e._meridiem), (e._a[_s] = bt(e._locale, e._a[_s], e._meridiem)), ut(e), at(e) } function bt(e, t, i) { var n return null == i ? t : null != e.meridiemHour ? e.meridiemHour(t, i) : null != e.isPM ? ((n = e.isPM(i)), n && t < 12 && (t += 12), n || 12 !== t || (t = 0), t) : t } function wt(e) { var t, i, n, s, r if (0 === e._f.length) return (f(e).invalidFormat = !0), void (e._d = new Date(NaN)) for (s = 0; s < e._f.length; s++) (r = 0), (t = g({}, e)), null != e._useUTC && (t._useUTC = e._useUTC), (t._f = e._f[s]), yt(t), m(t) && ((r += f(t).charsLeftOver), (r += 10 * f(t).unusedTokens.length), (f(t).score = r), (null == n || r < n) && ((n = r), (i = t))) c(e, i || t) } function Mt(e) { if (!e._d) { var t = W(e._i) ;(e._a = u( [ t.year, t.month, t.day || t.date, t.hour, t.minute, t.second, t.millisecond, ], function (e) { return e && parseInt(e, 10) } )), ut(e) } } function kt(e) { var t = new v(at(Lt(e))) return t._nextDay && (t.add(1, 'd'), (t._nextDay = void 0)), t } function Lt(e) { var t = e._i, i = e._f return ( (e._locale = e._locale || st(e._l)), null === t || (void 0 === i && '' === t) ? _({ nullInput: !0 }) : ('string' == typeof t && (e._i = t = e._locale.preparse(t)), y(t) ? new v(at(t)) : (l(t) ? (e._d = t) : n(i) ? wt(e) : i ? yt(e) : Dt(e), m(e) || (e._d = null), e)) ) } function Dt(e) { var i = e._i a(i) ? (e._d = new Date(t.now())) : l(i) ? (e._d = new Date(i.valueOf())) : 'string' == typeof i ? vt(e) : n(i) ? ((e._a = u(i.slice(0), function (e) { return parseInt(e, 10) })), ut(e)) : s(i) ? Mt(e) : o(i) ? (e._d = new Date(i)) : t.createFromInputFallback(e) } function Tt(e, t, i, a, o) { var l = {} return ( (!0 !== i && !1 !== i) || ((a = i), (i = void 0)), ((s(e) && r(e)) || (n(e) && 0 === e.length)) && (e = void 0), (l._isAMomentObject = !0), (l._useUTC = l._isUTC = o), (l._l = i), (l._i = e), (l._f = t), (l._strict = a), kt(l) ) } function Yt(e, t, i, n) { return Tt(e, t, i, n, !1) } function xt(e, t) { var i, s if ((1 === t.length && n(t[0]) && (t = t[0]), !t.length)) return Yt() for (i = t[0], s = 1; s < t.length; ++s) (t[s].isValid() && !t[s][e](i)) || (i = t[s]) return i } function Ct() { return xt('isBefore', [].slice.call(arguments, 0)) } function St() { return xt('isAfter', [].slice.call(arguments, 0)) } function Et(e) { for (var t in e) if (-1 === Ms.call(Zs, t) || (null != e[t] && isNaN(e[t]))) return !1 for (var i = !1, n = 0; n < Zs.length; ++n) if (e[Zs[n]]) { if (i) return !1 parseFloat(e[Zs[n]]) !== w(e[Zs[n]]) && (i = !0) } return !0 } function Ht() { return this._isValid } function At() { return Qt(NaN) } function Ot(e) { var t = W(e), i = t.year || 0, n = t.quarter || 0, s = t.month || 0, r = t.week || t.isoWeek || 0, a = t.day || 0, o = t.hour || 0, l = t.minute || 0, u = t.second || 0, d = t.millisecond || 0 ;(this._isValid = Et(t)), (this._milliseconds = +d + 1e3 * u + 6e4 * l + 1e3 * o * 60 * 60), (this._days = +a + 7 * r), (this._months = +s + 3 * n + 12 * i), (this._data = {}), (this._locale = st()), this._bubble() } function Pt(e) { return e instanceof Ot } function It(e) { return e < 0 ? -1 * Math.round(-1 * e) : Math.round(e) } function jt(e, t) { R(e, 0, 0, function () { var e = this.utcOffset(), i = '+' return ( e < 0 && ((e = -e), (i = '-')), i + z(~~(e / 60), 2) + t + z(~~e % 60, 2) ) }) } function Wt(e, t) { var i = (t || '').match(e) if (null === i) return null var n = i[i.length - 1] || [], s = (n + '').match(er) || ['-', 0, 0], r = 60 * s[1] + w(s[2]) return 0 === r ? 0 : '+' === s[0] ? r : -r } function Nt(e, i) { var n, s return i._isUTC ? ((n = i.clone()), (s = (y(e) || l(e) ? e.valueOf() : Yt(e).valueOf()) - n.valueOf()), n._d.setTime(n._d.valueOf() + s), t.updateOffset(n, !1), n) : Yt(e).local() } function Ft(e) { return 15 * -Math.round(e._d.getTimezoneOffset() / 15) } function zt(e, i, n) { var s, r = this._offset || 0 if (!this.isValid()) return null != e ? this : NaN if (null != e) { if ('string' == typeof e) { if (null === (e = Wt(ls, e))) return this } else Math.abs(e) < 16 && !n && (e *= 60) return ( !this._isUTC && i && (s = Ft(this)), (this._offset = e), (this._isUTC = !0), null != s && this.add(s, 'm'), r !== e && (!i || this._changeInProgress ? ni(this, Qt(e - r, 'm'), 1, !1) : this._changeInProgress || ((this._changeInProgress = !0), t.updateOffset(this, !0), (this._changeInProgress = null))), this ) } return this._isUTC ? r : Ft(this) } function Rt(e, t) { return null != e ? ('string' != typeof e && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset() } function $t(e) { return this.utcOffset(0, e) } function Bt(e) { return ( this._isUTC && (this.utcOffset(0, e), (this._isUTC = !1), e && this.subtract(Ft(this), 'm')), this ) } function Ut() { if (null != this._tzm) this.utcOffset(this._tzm, !1, !0) else if ('string' == typeof this._i) { var e = Wt(os, this._i) null != e ? this.utcOffset(e) : this.utcOffset(0, !0) } return this } function qt(e) { return ( !!this.isValid() && ((e = e ? Yt(e).utcOffset() : 0), (this.utcOffset() - e) % 60 == 0) ) } function Kt() { return ( this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset() ) } function Vt() { if (!a(this._isDSTShifted)) return this._isDSTShifted var e = {} if ((g(e, this), (e = Lt(e)), e._a)) { var t = e._isUTC ? h(e._a) : Yt(e._a) this._isDSTShifted = this.isValid() && M(e._a, t.toArray()) > 0 } else this._isDSTShifted = !1 return this._isDSTShifted } function Gt() { return !!this.isValid() && !this._isUTC } function Jt() { return !!this.isValid() && this._isUTC } function Xt() { return !!this.isValid() && this._isUTC && 0 === this._offset } function Qt(e, t) { var i, n, s, r = e, a = null return ( Pt(e) ? (r = { ms: e._milliseconds, d: e._days, M: e._months }) : o(e) ? ((r = {}), t ? (r[t] = e) : (r.milliseconds = e)) : (a = tr.exec(e)) ? ((i = '-' === a[1] ? -1 : 1), (r = { y: 0, d: w(a[ms]) * i, h: w(a[_s]) * i, m: w(a[gs]) * i, s: w(a[vs]) * i, ms: w(It(1e3 * a[ys])) * i, })) : (a = ir.exec(e)) ? ((i = '-' === a[1] ? -1 : 1), (r = { y: Zt(a[2], i), M: Zt(a[3], i), w: Zt(a[4], i), d: Zt(a[5], i), h: Zt(a[6], i), m: Zt(a[7], i), s: Zt(a[8], i), })) : null == r ? (r = {}) : 'object' == typeof r && ('from' in r || 'to' in r) && ((s = ti(Yt(r.from), Yt(r.to))), (r = {}), (r.ms = s.milliseconds), (r.M = s.months)), (n = new Ot(r)), Pt(e) && d(e, '_locale') && (n._locale = e._locale), n ) } function Zt(e, t) { var i = e && parseFloat(e.replace(',', '.')) return (isNaN(i) ? 0 : i) * t } function ei(e, t) { var i = {} return ( (i.months = t.month() - e.month() + 12 * (t.year() - e.year())), e.clone().add(i.months, 'M').isAfter(t) && --i.months, (i.milliseconds = +t - +e.clone().add(i.months, 'M')), i ) } function ti(e, t) { var i return e.isValid() && t.isValid() ? ((t = Nt(t, e)), e.isBefore(t) ? (i = ei(e, t)) : ((i = ei(t, e)), (i.milliseconds = -i.milliseconds), (i.months = -i.months)), i) : { milliseconds: 0, months: 0 } } function ii(e, t) { return function (i, n) { var s, r return ( null === n || isNaN(+n) || (D( t, 'moment().' + t + '(period, number) is deprecated. Please use moment().' + t + '(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.' ), (r = i), (i = n), (n = r)), (i = 'string' == typeof i ? +i : i), (s = Qt(i, n)), ni(this, s, e), this ) } } function ni(e, i, n, s) { var r = i._milliseconds, a = It(i._days), o = It(i._months) e.isValid() && ((s = null == s || s), o && fe(e, se(e, 'Month') + o * n), a && re(e, 'Date', se(e, 'Date') + a * n), r && e._d.setTime(e._d.valueOf() + r * n), s && t.updateOffset(e, a || o)) } function si(e, t) { var i = e.diff(t, 'days', !0) return i < -6 ? 'sameElse' : i < -1 ? 'lastWeek' : i < 0 ? 'lastDay' : i < 1 ? 'sameDay' : i < 2 ? 'nextDay' : i < 7 ? 'nextWeek' : 'sameElse' } function ri(e, i) { var n = e || Yt(), s = Nt(n, this).startOf('day'), r = t.calendarFormat(this, s) || 'sameElse', a = i && (T(i[r]) ? i[r].call(this, n) : i[r]) return this.format(a || this.localeData().calendar(r, this, Yt(n))) } function ai() { return new v(this) } function oi(e, t) { var i = y(e) ? e : Yt(e) return ( !(!this.isValid() || !i.isValid()) && ((t = j(t) || 'millisecond'), 'millisecond' === t ? this.valueOf() > i.valueOf() : i.valueOf() < this.clone().startOf(t).valueOf()) ) } function li(e, t) { var i = y(e) ? e : Yt(e) return ( !(!this.isValid() || !i.isValid()) && ((t = j(t) || 'millisecond'), 'millisecond' === t ? this.valueOf() < i.valueOf() : this.clone().endOf(t).valueOf() < i.valueOf()) ) } function ui(e, t, i, n) { var s = y(e) ? e : Yt(e), r = y(t) ? t : Yt(t) return ( !!(this.isValid() && s.isValid() && r.isValid()) && ((n = n || '()'), ('(' === n[0] ? this.isAfter(s, i) : !this.isBefore(s, i)) && (')' === n[1] ? this.isBefore(r, i) : !this.isAfter(r, i))) ) } function di(e, t) { var i, n = y(e) ? e : Yt(e) return ( !(!this.isValid() || !n.isValid()) && ((t = j(t) || 'millisecond'), 'millisecond' === t ? this.valueOf() === n.valueOf() : ((i = n.valueOf()), this.clone().startOf(t).valueOf() <= i && i <= this.clone().endOf(t).valueOf())) ) } function ci(e, t) { return this.isSame(e, t) || this.isAfter(e, t) } function hi(e, t) { return this.isSame(e, t) || this.isBefore(e, t) } function pi(e, t, i) { var n, s, r if (!this.isValid()) return NaN if (((n = Nt(e, this)), !n.isValid())) return NaN switch ( ((s = 6e4 * (n.utcOffset() - this.utcOffset())), (t = j(t))) ) { case 'year': r = fi(this, n) / 12 break case 'month': r = fi(this, n) break case 'quarter': r = fi(this, n) / 3 break case 'second': r = (this - n) / 1e3 break case 'minute': r = (this - n) / 6e4 break case 'hour': r = (this - n) / 36e5 break case 'day': r = (this - n - s) / 864e5 break case 'week': r = (this - n - s) / 6048e5 break default: r = this - n } return i ? r : b(r) } function fi(e, t) { var i, n, s = 12 * (t.year() - e.year()) + (t.month() - e.month()), r = e.clone().add(s, 'months') return ( t - r < 0 ? ((i = e.clone().add(s - 1, 'months')), (n = (t - r) / (r - i))) : ((i = e.clone().add(s + 1, 'months')), (n = (t - r) / (i - r))), -(s + n) || 0 ) } function mi() { return this.clone() .locale('en') .format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ') } function _i(e) { if (!this.isValid()) return null var t = !0 !== e, i = t ? this.clone().utc() : this return i.year() < 0 || i.year() > 9999 ? U( i, t ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ' ) : T(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + 60 * this.utcOffset() * 1e3) .toISOString() .replace('Z', U(i, 'Z')) : U( i, t ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ' ) } function gi() { if (!this.isValid()) return 'moment.invalid(/* ' + this._i + ' */)' var e = 'moment', t = '' this.isLocal() || ((e = 0 === this.utcOffset() ? 'moment.utc' : 'moment.parseZone'), (t = 'Z')) var i = '[' + e + '("]', n = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY', s = t + '[")]' return this.format(i + n + '-MM-DD[T]HH:mm:ss.SSS' + s) } function vi(e) { e || (e = this.isUtc() ? t.defaultFormatUtc : t.defaultFormat) var i = U(this, e) return this.localeData().postformat(i) } function yi(e, t) { return this.isValid() && ((y(e) && e.isValid()) || Yt(e).isValid()) ? Qt({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate() } function bi(e) { return this.from(Yt(), e) } function wi(e, t) { return this.isValid() && ((y(e) && e.isValid()) || Yt(e).isValid()) ? Qt({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate() } function Mi(e) { return this.to(Yt(), e) } function ki(e) { var t return void 0 === e ? this._locale._abbr : ((t = st(e)), null != t && (this._locale = t), this) } function Li() { return this._locale } function Di(e, t) { return ((e % t) + t) % t } function Ti(e, t, i) { return e < 100 && e >= 0 ? new Date(e + 400, t, i) - ur : new Date(e, t, i).valueOf() } function Yi(e, t, i) { return e < 100 && e >= 0 ? Date.UTC(e + 400, t, i) - ur : Date.UTC(e, t, i) } function xi(e) { var i if (void 0 === (e = j(e)) || 'millisecond' === e || !this.isValid()) return this var n = this._isUTC ? Yi : Ti switch (e) { case 'year': i = n(this.year(), 0, 1) break case 'quarter': i = n(this.year(), this.month() - (this.month() % 3), 1) break case 'month': i = n(this.year(), this.month(), 1) break case 'week': i = n(this.year(), this.month(), this.date() - this.weekday()) break case 'isoWeek': i = n( this.year(), this.month(), this.date() - (this.isoWeekday() - 1) ) break case 'day': case 'date': i = n(this.year(), this.month(), this.date()) break case 'hour': ;(i = this._d.valueOf()), (i -= Di(i + (this._isUTC ? 0 : this.utcOffset() * or), lr)) break case 'minute': ;(i = this._d.valueOf()), (i -= Di(i, or)) break case 'second': ;(i = this._d.valueOf()), (i -= Di(i, ar)) } return this._d.setTime(i), t.updateOffset(this, !0), this } function Ci(e) { var i if (void 0 === (e = j(e)) || 'millisecond' === e || !this.isValid()) return this var n = this._isUTC ? Yi : Ti switch (e) { case 'year': i = n(this.year() + 1, 0, 1) - 1 break case 'quarter': i = n(this.year(), this.month() - (this.month() % 3) + 3, 1) - 1 break case 'month': i = n(this.year(), this.month() + 1, 1) - 1 break case 'week': i = n( this.year(), this.month(), this.date() - this.weekday() + 7 ) - 1 break case 'isoWeek': i = n( this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7 ) - 1 break case 'day': case 'date': i = n(this.year(), this.month(), this.date() + 1) - 1 break case 'hour': ;(i = this._d.valueOf()), (i += lr - Di(i + (this._isUTC ? 0 : this.utcOffset() * or), lr) - 1) break case 'minute': ;(i = this._d.valueOf()), (i += or - Di(i, or) - 1) break case 'second': ;(i = this._d.valueOf()), (i += ar - Di(i, ar) - 1) } return this._d.setTime(i), t.updateOffset(this, !0), this } function Si() { return this._d.valueOf() - 6e4 * (this._offset || 0) } function Ei() { return Math.floor(this.valueOf() / 1e3) } function Hi() { return new Date(this.valueOf()) } function Ai() { var e = this return [ e.year(), e.month(), e.date(), e.hour(), e.minute(), e.second(), e.millisecond(), ] } function Oi() { var e = this return { years: e.year(), months: e.month(), date: e.date(), hours: e.hours(), minutes: e.minutes(), seconds: e.seconds(), milliseconds: e.milliseconds(), } } function Pi() { return this.isValid() ? this.toISOString() : null } function Ii() { return m(this) } function ji() { return c({}, f(this)) } function Wi() { return f(this).overflow } function Ni() { return { input: this._i, format: this._f, locale: this._locale, isUTC: this._isUTC, strict: this._strict, } } function Fi(e, t) { R(0, [e, e.length], 0, t) } function zi(e) { return Ui.call( this, e, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy ) } function Ri(e) { return Ui.call(this, e, this.isoWeek(), this.isoWeekday(), 1, 4) } function $i() { return De(this.year(), 1, 4) } function Bi() { var e = this.localeData()._week return De(this.year(), e.dow, e.doy) } function Ui(e, t, i, n, s) { var r return null == e ? Le(this, n, s).year : ((r = De(e, n, s)), t > r && (t = r), qi.call(this, e, t, i, n, s)) } function qi(e, t, i, n, s) { var r = ke(e, t, i, n, s), a = we(r.year, 0, r.dayOfYear) return ( this.year(a.getUTCFullYear()), this.month(a.getUTCMonth()), this.date(a.getUTCDate()), this ) } function Ki(e) { return null == e ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (e - 1) + (this.month() % 3)) } function Vi(e) { var t = Math.round( (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5 ) + 1 return null == e ? t : this.add(e - t, 'd') } function Gi(e, t) { t[ys] = w(1e3 * ('0.' + e)) } function Ji() { return this._isUTC ? 'UTC' : '' } function Xi() { return this._isUTC ? 'Coordinated Universal Time' : '' } function Qi(e) { return Yt(1e3 * e) } function Zi() { return Yt.apply(null, arguments).parseZone() } function en(e) { return e } function tn(e, t, i, n) { var s = st(), r = h().set(n, t) return s[i](r, e) } function nn(e, t, i) { if ((o(e) && ((t = e), (e = void 0)), (e = e || ''), null != t)) return tn(e, t, i, 'month') var n, s = [] for (n = 0; n < 12; n++) s[n] = tn(e, n, i, 'month') return s } function sn(e, t, i, n) { 'boolean' == typeof e ? (o(t) && ((i = t), (t = void 0)), (t = t || '')) : ((t = e), (i = t), (e = !1), o(t) && ((i = t), (t = void 0)), (t = t || '')) var s = st(), r = e ? s._week.dow : 0 if (null != i) return tn(t, (i + r) % 7, n, 'day') var a, l = [] for (a = 0; a < 7; a++) l[a] = tn(t, (a + r) % 7, n, 'day') return l } function rn(e, t) { return nn(e, t, 'months') } function an(e, t) { return nn(e, t, 'monthsShort') } function on(e, t, i) { return sn(e, t, i, 'weekdays') } function ln(e, t, i) { return sn(e, t, i, 'weekdaysShort') } function un(e, t, i) { return sn(e, t, i, 'weekdaysMin') } function dn() { var e = this._data return ( (this._milliseconds = gr(this._milliseconds)), (this._days = gr(this._days)), (this._months = gr(this._months)), (e.milliseconds = gr(e.milliseconds)), (e.seconds = gr(e.seconds)), (e.minutes = gr(e.minutes)), (e.hours = gr(e.hours)), (e.months = gr(e.months)), (e.years = gr(e.years)), this ) } function cn(e, t, i, n) { var s = Qt(t, i) return ( (e._milliseconds += n * s._milliseconds), (e._days += n * s._days), (e._months += n * s._months), e._bubble() ) } function hn(e, t) { return cn(this, e, t, 1) } function pn(e, t) { return cn(this, e, t, -1) } function fn(e) { return e < 0 ? Math.floor(e) : Math.ceil(e) } function mn() { var e, t, i, n, s, r = this._milliseconds, a = this._days, o = this._months, l = this._data return ( (r >= 0 && a >= 0 && o >= 0) || (r <= 0 && a <= 0 && o <= 0) || ((r += 864e5 * fn(gn(o) + a)), (a = 0), (o = 0)), (l.milliseconds = r % 1e3), (e = b(r / 1e3)), (l.seconds = e % 60), (t = b(e / 60)), (l.minutes = t % 60), (i = b(t / 60)), (l.hours = i % 24), (a += b(i / 24)), (s = b(_n(a))), (o += s), (a -= fn(gn(s))), (n = b(o / 12)), (o %= 12), (l.days = a), (l.months = o), (l.years = n), this ) } function _n(e) { return (4800 * e) / 146097 } function gn(e) { return (146097 * e) / 4800 } function vn(e) { if (!this.isValid()) return NaN var t, i, n = this._milliseconds if ('month' === (e = j(e)) || 'quarter' === e || 'year' === e) switch ( ((t = this._days + n / 864e5), (i = this._months + _n(t)), e) ) { case 'month': return i case 'quarter': return i / 3 case 'year': return i / 12 } else switch (((t = this._days + Math.round(gn(this._months))), e)) { case 'week': return t / 7 + n / 6048e5 case 'day': return t + n / 864e5 case 'hour': return 24 * t + n / 36e5 case 'minute': return 1440 * t + n / 6e4 case 'second': return 86400 * t + n / 1e3 case 'millisecond': return Math.floor(864e5 * t) + n default: throw new Error('Unknown unit ' + e) } } function yn() { return this.isValid() ? this._milliseconds + 864e5 * this._days + (this._months % 12) * 2592e6 + 31536e6 * w(this._months / 12) : NaN } function bn(e) { return function () { return this.as(e) } } function wn() { return Qt(this) } function Mn(e) { return (e = j(e)), this.isValid() ? this[e + 's']() : NaN } function kn(e) { return function () { return this.isValid() ? this._data[e] : NaN } } function Ln() { return b(this.days() / 7) } function Dn(e, t, i, n, s) { return s.relativeTime(t || 1, !!i, e, n) } function Tn(e, t, i) { var n = Qt(e).abs(), s = Or(n.as('s')), r = Or(n.as('m')), a = Or(n.as('h')), o = Or(n.as('d')), l = Or(n.as('M')), u = Or(n.as('y')), d = (s <= Pr.ss && ['s', s]) || (s < Pr.s && ['ss', s]) || (r <= 1 && ['m']) || (r < Pr.m && ['mm', r]) || (a <= 1 && ['h']) || (a < Pr.h && ['hh', a]) || (o <= 1 && ['d']) || (o < Pr.d && ['dd', o]) || (l <= 1 && ['M']) || (l < Pr.M && ['MM', l]) || (u <= 1 && ['y']) || ['yy', u] return (d[2] = t), (d[3] = +e > 0), (d[4] = i), Dn.apply(null, d) } function Yn(e) { return void 0 === e ? Or : 'function' == typeof e && ((Or = e), !0) } function xn(e, t) { return ( void 0 !== Pr[e] && (void 0 === t ? Pr[e] : ((Pr[e] = t), 's' === e && (Pr.ss = t - 1), !0)) ) } function Cn(e) { if (!this.isValid()) return this.localeData().invalidDate() var t = this.localeData(), i = Tn(this, !e, t) return e && (i = t.pastFuture(+this, i)), t.postformat(i) } function Sn(e) { return (e > 0) - (e < 0) || +e } function En() { if (!this.isValid()) return this.localeData().invalidDate() var e, t, i, n = Ir(this._milliseconds) / 1e3, s = Ir(this._days), r = Ir(this._months) ;(e = b(n / 60)), (t = b(e / 60)), (n %= 60), (e %= 60), (i = b(r / 12)), (r %= 12) var a = i, o = r, l = s, u = t, d = e, c = n ? n.toFixed(3).replace(/\.?0+$/, '') : '', h = this.asSeconds() if (!h) return 'P0D' var p = h < 0 ? '-' : '', f = Sn(this._months) !== Sn(h) ? '-' : '', m = Sn(this._days) !== Sn(h) ? '-' : '', _ = Sn(this._milliseconds) !== Sn(h) ? '-' : '' return ( p + 'P' + (a ? f + a + 'Y' : '') + (o ? f + o + 'M' : '') + (l ? m + l + 'D' : '') + (u || d || c ? 'T' : '') + (u ? _ + u + 'H' : '') + (d ? _ + d + 'M' : '') + (c ? _ + c + 'S' : '') ) } var Hn, An An = Array.prototype.some ? Array.prototype.some : function (e) { for ( var t = Object(this), i = t.length >>> 0, n = 0; n < i; n++ ) if (n in t && e.call(this, t[n], n, t)) return !0 return !1 } var On = (t.momentProperties = []), Pn = !1, In = {} ;(t.suppressDeprecationWarnings = !1), (t.deprecationHandler = null) var jn jn = Object.keys ? Object.keys : function (e) { var t, i = [] for (t in e) d(e, t) && i.push(t) return i } var Wn = { sameDay: '[Today at] LT', nextDay: '[Tomorrow at] LT', nextWeek: 'dddd [at] LT', lastDay: '[Yesterday at] LT', lastWeek: '[Last] dddd [at] LT', sameElse: 'L', }, Nn = { LTS: 'h:mm:ss A', LT: 'h:mm A', L: 'MM/DD/YYYY', LL: 'MMMM D, YYYY', LLL: 'MMMM D, YYYY h:mm A', LLLL: 'dddd, MMMM D, YYYY h:mm A', }, Fn = /\d{1,2}/, zn = { future: 'in %s', past: '%s ago', s: 'a few seconds', ss: '%d seconds', m: 'a minute', mm: '%d minutes', h: 'an hour', hh: '%d hours', d: 'a day', dd: '%d days', M: 'a month', MM: '%d months', y: 'a year', yy: '%d years', }, Rn = {}, $n = {}, Bn = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, Un = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, qn = {}, Kn = {}, Vn = /\d/, Gn = /\d\d/, Jn = /\d{3}/, Xn = /\d{4}/, Qn = /[+-]?\d{6}/, Zn = /\d\d?/, es = /\d\d\d\d?/, ts = /\d\d\d\d\d\d?/, is = /\d{1,3}/, ns = /\d{1,4}/, ss = /[+-]?\d{1,6}/, rs = /\d+/, as = /[+-]?\d+/, os = /Z|[+-]\d\d:?\d\d/gi, ls = /Z|[+-]\d\d(?::?\d\d)?/gi, us = /[+-]?\d+(\.\d{1,3})?/, ds = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, cs = {}, hs = {}, ps = 0, fs = 1, ms = 2, _s = 3, gs = 4, vs = 5, ys = 6, bs = 7, ws = 8 R('Y', 0, 0, function () { var e = this.year() return e <= 9999 ? '' + e : '+' + e }), R(0, ['YY', 2], 0, function () { return this.year() % 100 }), R(0, ['YYYY', 4], 0, 'year'), R(0, ['YYYYY', 5], 0, 'year'), R(0, ['YYYYYY', 6, !0], 0, 'year'), I('year', 'y'), N('year', 1), K('Y', as), K('YY', Zn, Gn), K('YYYY', ns, Xn), K('YYYYY', ss, Qn), K('YYYYYY', ss, Qn), X(['YYYYY', 'YYYYYY'], ps), X('YYYY', function (e, i) { i[ps] = 2 === e.length ? t.parseTwoDigitYear(e) : w(e) }), X('YY', function (e, i) { i[ps] = t.parseTwoDigitYear(e) }), X('Y', function (e, t) { t[ps] = parseInt(e, 10) }), (t.parseTwoDigitYear = function (e) { return w(e) + (w(e) > 68 ? 1900 : 2e3) }) var Ms, ks = ne('FullYear', !0) ;(Ms = Array.prototype.indexOf ? Array.prototype.indexOf : function (e) { var t for (t = 0; t < this.length; ++t) if (this[t] === e) return t return -1 }), R('M', ['MM', 2], 'Mo', function () { return this.month() + 1 }), R('MMM', 0, 0, function (e) { return this.localeData().monthsShort(this, e) }), R('MMMM', 0, 0, function (e) { return this.localeData().months(this, e) }), I('month', 'M'), N('month', 8), K('M', Zn), K('MM', Zn, Gn), K('MMM', function (e, t) { return t.monthsShortRegex(e) }), K('MMMM', function (e, t) { return t.monthsRegex(e) }), X(['M', 'MM'], function (e, t) { t[fs] = w(e) - 1 }), X(['MMM', 'MMMM'], function (e, t, i, n) { var s = i._locale.monthsParse(e, n, i._strict) null != s ? (t[fs] = s) : (f(i).invalidMonth = e) }) var Ls = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, Ds = 'January_February_March_April_May_June_July_August_September_October_November_December'.split( '_' ), Ts = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), Ys = ds, xs = ds R('w', ['ww', 2], 'wo', 'week'), R('W', ['WW', 2], 'Wo', 'isoWeek'), I('week', 'w'), I('isoWeek', 'W'), N('week', 5), N('isoWeek', 5), K('w', Zn), K('ww', Zn, Gn), K('W', Zn), K('WW', Zn, Gn), Q(['w', 'ww', 'W', 'WW'], function (e, t, i, n) { t[n.substr(0, 1)] = w(e) }) var Cs = { dow: 0, doy: 6 } R('d', 0, 'do', 'day'), R('dd', 0, 0, function (e) { return this.localeData().weekdaysMin(this, e) }), R('ddd', 0, 0, function (e) { return this.localeData().weekdaysShort(this, e) }), R('dddd', 0, 0, function (e) { return this.localeData().weekdays(this, e) }), R('e', 0, 0, 'weekday'), R('E', 0, 0, 'isoWeekday'), I('day', 'd'), I('weekday', 'e'), I('isoWeekday', 'E'), N('day', 11), N('weekday', 11), N('isoWeekday', 11), K('d', Zn), K('e', Zn), K('E', Zn), K('dd', function (e, t) { return t.weekdaysMinRegex(e) }), K('ddd', function (e, t) { return t.weekdaysShortRegex(e) }), K('dddd', function (e, t) { return t.weekdaysRegex(e) }), Q(['dd', 'ddd', 'dddd'], function (e, t, i, n) { var s = i._locale.weekdaysParse(e, n, i._strict) null != s ? (t.d = s) : (f(i).invalidWeekday = e) }), Q(['d', 'e', 'E'], function (e, t, i, n) { t[n] = w(e) }) var Ss = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( '_' ), Es = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), Hs = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), As = ds, Os = ds, Ps = ds R('H', ['HH', 2], 0, 'hour'), R('h', ['hh', 2], 0, qe), R('k', ['kk', 2], 0, Ke), R('hmm', 0, 0, function () { return '' + qe.apply(this) + z(this.minutes(), 2) }), R('hmmss', 0, 0, function () { return ( '' + qe.apply(this) + z(this.minutes(), 2) + z(this.seconds(), 2) ) }), R('Hmm', 0, 0, function () { return '' + this.hours() + z(this.minutes(), 2) }), R('Hmmss', 0, 0, function () { return ( '' + this.hours() + z(this.minutes(), 2) + z(this.seconds(), 2) ) }), Ve('a', !0), Ve('A', !1), I('hour', 'h'), N('hour', 13), K('a', Ge), K('A', Ge), K('H', Zn), K('h', Zn), K('k', Zn), K('HH', Zn, Gn), K('hh', Zn, Gn), K('kk', Zn, Gn), K('hmm', es), K('hmmss', ts), K('Hmm', es), K('Hmmss', ts), X(['H', 'HH'], _s), X(['k', 'kk'], function (e, t, i) { var n = w(e) t[_s] = 24 === n ? 0 : n }), X(['a', 'A'], function (e, t, i) { ;(i._isPm = i._locale.isPM(e)), (i._meridiem = e) }), X(['h', 'hh'], function (e, t, i) { ;(t[_s] = w(e)), (f(i).bigHour = !0) }), X('hmm', function (e, t, i) { var n = e.length - 2 ;(t[_s] = w(e.substr(0, n))), (t[gs] = w(e.substr(n))), (f(i).bigHour = !0) }), X('hmmss', function (e, t, i) { var n = e.length - 4, s = e.length - 2 ;(t[_s] = w(e.substr(0, n))), (t[gs] = w(e.substr(n, 2))), (t[vs] = w(e.substr(s))), (f(i).bigHour = !0) }), X('Hmm', function (e, t, i) { var n = e.length - 2 ;(t[_s] = w(e.substr(0, n))), (t[gs] = w(e.substr(n))) }), X('Hmmss', function (e, t, i) { var n = e.length - 4, s = e.length - 2 ;(t[_s] = w(e.substr(0, n))), (t[gs] = w(e.substr(n, 2))), (t[vs] = w(e.substr(s))) }) var Is, js = /[ap]\.?m?\.?/i, Ws = ne('Hours', !0), Ns = { calendar: Wn, longDateFormat: Nn, invalidDate: 'Invalid date', ordinal: '%d', dayOfMonthOrdinalParse: Fn, relativeTime: zn, months: Ds, monthsShort: Ts, week: Cs, weekdays: Ss, weekdaysMin: Hs, weekdaysShort: Es, meridiemParse: js, }, Fs = {}, zs = {}, Rs = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/, $s = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Bs = /Z|[+-]\d\d(?::?\d\d)?/, Us = [ ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], ['GGGG-[W]WW', /\d{4}-W\d\d/, !1], ['YYYY-DDD', /\d{4}-\d{3}/], ['YYYY-MM', /\d{4}-\d\d/, !1], ['YYYYYYMMDD', /[+-]\d{10}/], ['YYYYMMDD', /\d{8}/], ['GGGG[W]WWE', /\d{4}W\d{3}/], ['GGGG[W]WW', /\d{4}W\d{2}/, !1], ['YYYYDDD', /\d{7}/], ], qs = [ ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], ['HH:mm:ss', /\d\d:\d\d:\d\d/], ['HH:mm', /\d\d:\d\d/], ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], ['HHmmss', /\d\d\d\d\d\d/], ['HHmm', /\d\d\d\d/], ['HH', /\d\d/], ], Ks = /^\/?Date\((\-?\d+)/i, Vs = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, Gs = { UT: 0, GMT: 0, EDT: -240, EST: -300, CDT: -300, CST: -360, MDT: -360, MST: -420, PDT: -420, PST: -480, } ;(t.createFromInputFallback = L( 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.', function (e) { e._d = new Date(e._i + (e._useUTC ? ' UTC' : '')) } )), (t.ISO_8601 = function () {}), (t.RFC_2822 = function () {}) var Js = L( 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', function () { var e = Yt.apply(null, arguments) return this.isValid() && e.isValid() ? e < this ? this : e : _() } ), Xs = L( 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', function () { var e = Yt.apply(null, arguments) return this.isValid() && e.isValid() ? e > this ? this : e : _() } ), Qs = function () { return Date.now ? Date.now() : +new Date() }, Zs = [ 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', 'millisecond', ] jt('Z', ':'), jt('ZZ', ''), K('Z', ls), K('ZZ', ls), X(['Z', 'ZZ'], function (e, t, i) { ;(i._useUTC = !0), (i._tzm = Wt(ls, e)) }) var er = /([\+\-]|\d\d)/gi t.updateOffset = function () {} var tr = /^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/, ir = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/ ;(Qt.fn = Ot.prototype), (Qt.invalid = At) var nr = ii(1, 'add'), sr = ii(-1, 'subtract') ;(t.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ'), (t.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]') var rr = L( 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', function (e) { return void 0 === e ? this.localeData() : this.locale(e) } ), ar = 1e3, or = 60 * ar, lr = 60 * or, ur = 3506328 * lr R(0, ['gg', 2], 0, function () { return this.weekYear() % 100 }), R(0, ['GG', 2], 0, function () { return this.isoWeekYear() % 100 }), Fi('gggg', 'weekYear'), Fi('ggggg', 'weekYear'), Fi('GGGG', 'isoWeekYear'), Fi('GGGGG', 'isoWeekYear'), I('weekYear', 'gg'), I('isoWeekYear', 'GG'), N('weekYear', 1), N('isoWeekYear', 1), K('G', as), K('g', as), K('GG', Zn, Gn), K('gg', Zn, Gn), K('GGGG', ns, Xn), K('gggg', ns, Xn), K('GGGGG', ss, Qn), K('ggggg', ss, Qn), Q(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (e, t, i, n) { t[n.substr(0, 2)] = w(e) }), Q(['gg', 'GG'], function (e, i, n, s) { i[s] = t.parseTwoDigitYear(e) }), R('Q', 0, 'Qo', 'quarter'), I('quarter', 'Q'), N('quarter', 7), K('Q', Vn), X('Q', function (e, t) { t[fs] = 3 * (w(e) - 1) }), R('D', ['DD', 2], 'Do', 'date'), I('date', 'D'), N('date', 9), K('D', Zn), K('DD', Zn, Gn), K('Do', function (e, t) { return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient }), X(['D', 'DD'], ms), X('Do', function (e, t) { t[ms] = w(e.match(Zn)[0]) }) var dr = ne('Date', !0) R('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear'), I('dayOfYear', 'DDD'), N('dayOfYear', 4), K('DDD', is), K('DDDD', Jn), X(['DDD', 'DDDD'], function (e, t, i) { i._dayOfYear = w(e) }), R('m', ['mm', 2], 0, 'minute'), I('minute', 'm'), N('minute', 14), K('m', Zn), K('mm', Zn, Gn), X(['m', 'mm'], gs) var cr = ne('Minutes', !1) R('s', ['ss', 2], 0, 'second'), I('second', 's'), N('second', 15), K('s', Zn), K('ss', Zn, Gn), X(['s', 'ss'], vs) var hr = ne('Seconds', !1) R('S', 0, 0, function () { return ~~(this.millisecond() / 100) }), R(0, ['SS', 2], 0, function () { return ~~(this.millisecond() / 10) }), R(0, ['SSS', 3], 0, 'millisecond'), R(0, ['SSSS', 4], 0, function () { return 10 * this.millisecond() }), R(0, ['SSSSS', 5], 0, function () { return 100 * this.millisecond() }), R(0, ['SSSSSS', 6], 0, function () { return 1e3 * this.millisecond() }), R(0, ['SSSSSSS', 7], 0, function () { return 1e4 * this.millisecond() }), R(0, ['SSSSSSSS', 8], 0, function () { return 1e5 * this.millisecond() }), R(0, ['SSSSSSSSS', 9], 0, function () { return 1e6 * this.millisecond() }), I('millisecond', 'ms'), N('millisecond', 16), K('S', is, Vn), K('SS', is, Gn), K('SSS', is, Jn) var pr for (pr = 'SSSS'; pr.length <= 9; pr += 'S') K(pr, rs) for (pr = 'S'; pr.length <= 9; pr += 'S') X(pr, Gi) var fr = ne('Milliseconds', !1) R('z', 0, 0, 'zoneAbbr'), R('zz', 0, 0, 'zoneName') var mr = v.prototype ;(mr.add = nr), (mr.calendar = ri), (mr.clone = ai), (mr.diff = pi), (mr.endOf = Ci), (mr.format = vi), (mr.from = yi), (mr.fromNow = bi), (mr.to = wi), (mr.toNow = Mi), (mr.get = ae), (mr.invalidAt = Wi), (mr.isAfter = oi), (mr.isBefore = li), (mr.isBetween = ui), (mr.isSame = di), (mr.isSameOrAfter = ci), (mr.isSameOrBefore = hi), (mr.isValid = Ii), (mr.lang = rr), (mr.locale = ki), (mr.localeData = Li), (mr.max = Xs), (mr.min = Js), (mr.parsingFlags = ji), (mr.set = oe), (mr.startOf = xi), (mr.subtract = sr), (mr.toArray = Ai), (mr.toObject = Oi), (mr.toDate = Hi), (mr.toISOString = _i), (mr.inspect = gi), (mr.toJSON = Pi), (mr.toString = mi), (mr.unix = Ei), (mr.valueOf = Si), (mr.creationData = Ni), (mr.year = ks), (mr.isLeapYear = ie), (mr.weekYear = zi), (mr.isoWeekYear = Ri), (mr.quarter = mr.quarters = Ki), (mr.month = me), (mr.daysInMonth = _e), (mr.week = mr.weeks = Ce), (mr.isoWeek = mr.isoWeeks = Se), (mr.weeksInYear = Bi), (mr.isoWeeksInYear = $i), (mr.date = dr), (mr.day = mr.days = Ne), (mr.weekday = Fe), (mr.isoWeekday = ze), (mr.dayOfYear = Vi), (mr.hour = mr.hours = Ws), (mr.minute = mr.minutes = cr), (mr.second = mr.seconds = hr), (mr.millisecond = mr.milliseconds = fr), (mr.utcOffset = zt), (mr.utc = $t), (mr.local = Bt), (mr.parseZone = Ut), (mr.hasAlignedHourOffset = qt), (mr.isDST = Kt), (mr.isLocal = Gt), (mr.isUtcOffset = Jt), (mr.isUtc = Xt), (mr.isUTC = Xt), (mr.zoneAbbr = Ji), (mr.zoneName = Xi), (mr.dates = L( 'dates accessor is deprecated. Use date instead.', dr )), (mr.months = L( 'months accessor is deprecated. Use month instead', me )), (mr.years = L( 'years accessor is deprecated. Use year instead', ks )), (mr.zone = L( 'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', Rt )), (mr.isDSTShifted = L( 'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', Vt )) var _r = C.prototype ;(_r.calendar = S), (_r.longDateFormat = E), (_r.invalidDate = H), (_r.ordinal = A), (_r.preparse = en), (_r.postformat = en), (_r.relativeTime = O), (_r.pastFuture = P), (_r.set = Y), (_r.months = de), (_r.monthsShort = ce), (_r.monthsParse = pe), (_r.monthsRegex = ve), (_r.monthsShortRegex = ge), (_r.week = Te), (_r.firstDayOfYear = xe), (_r.firstDayOfWeek = Ye), (_r.weekdays = Oe), (_r.weekdaysMin = Ie), (_r.weekdaysShort = Pe), (_r.weekdaysParse = We), (_r.weekdaysRegex = Re), (_r.weekdaysShortRegex = $e), (_r.weekdaysMinRegex = Be), (_r.isPM = Je), (_r.meridiem = Xe), tt('en', { dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, ordinal: function (e) { var t = e % 10 return ( e + (1 === w((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th') ) }, }), (t.lang = L( 'moment.lang is deprecated. Use moment.locale instead.', tt )), (t.langData = L( 'moment.langData is deprecated. Use moment.localeData instead.', st )) var gr = Math.abs, vr = bn('ms'), yr = bn('s'), br = bn('m'), wr = bn('h'), Mr = bn('d'), kr = bn('w'), Lr = bn('M'), Dr = bn('Q'), Tr = bn('y'), Yr = kn('milliseconds'), xr = kn('seconds'), Cr = kn('minutes'), Sr = kn('hours'), Er = kn('days'), Hr = kn('months'), Ar = kn('years'), Or = Math.round, Pr = { ss: 44, s: 45, m: 45, h: 22, d: 26, M: 11 }, Ir = Math.abs, jr = Ot.prototype return ( (jr.isValid = Ht), (jr.abs = dn), (jr.add = hn), (jr.subtract = pn), (jr.as = vn), (jr.asMilliseconds = vr), (jr.asSeconds = yr), (jr.asMinutes = br), (jr.asHours = wr), (jr.asDays = Mr), (jr.asWeeks = kr), (jr.asMonths = Lr), (jr.asQuarters = Dr), (jr.asYears = Tr), (jr.valueOf = yn), (jr._bubble = mn), (jr.clone = wn), (jr.get = Mn), (jr.milliseconds = Yr), (jr.seconds = xr), (jr.minutes = Cr), (jr.hours = Sr), (jr.days = Er), (jr.weeks = Ln), (jr.months = Hr), (jr.years = Ar), (jr.humanize = Cn), (jr.toISOString = En), (jr.toString = En), (jr.toJSON = En), (jr.locale = ki), (jr.localeData = Li), (jr.toIsoString = L( 'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', En )), (jr.lang = rr), R('X', 0, 0, 'unix'), R('x', 0, 0, 'valueOf'), K('x', as), K('X', us), X('X', function (e, t, i) { i._d = new Date(1e3 * parseFloat(e, 10)) }), X('x', function (e, t, i) { i._d = new Date(w(e)) }), (t.version = '2.24.0'), (function (e) { Hn = e })(Yt), (t.fn = mr), (t.min = Ct), (t.max = St), (t.now = Qs), (t.utc = h), (t.unix = Qi), (t.months = rn), (t.isDate = l), (t.locale = tt), (t.invalid = _), (t.duration = Qt), (t.isMoment = y), (t.weekdays = on), (t.parseZone = Zi), (t.localeData = st), (t.isDuration = Pt), (t.monthsShort = an), (t.weekdaysMin = un), (t.defineLocale = it), (t.updateLocale = nt), (t.locales = rt), (t.weekdaysShort = ln), (t.normalizeUnits = j), (t.relativeTimeRounding = Yn), (t.relativeTimeThreshold = xn), (t.calendarFormat = si), (t.prototype = mr), (t.HTML5_FMT = { DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', DATE: 'YYYY-MM-DD', TIME: 'HH:mm', TIME_SECONDS: 'HH:mm:ss', TIME_MS: 'HH:mm:ss.SSS', WEEK: 'GGGG-[W]WW', MONTH: 'YYYY-MM', }), t ) }) }).call(window) }).call(t, i(139)(e)) }, function (e, t, i) { var n = i(18) e.exports = function (e, t, i) { if ((n(e), void 0 === t)) return e switch (i) { case 1: return function (i) { return e.call(t, i) } case 2: return function (i, n) { return e.call(t, i, n) } case 3: return function (i, n, s) { return e.call(t, i, n, s) } } return function () { return e.apply(t, arguments) } } }, function (e, t, i) { var n = i(4), s = i(5).document, r = n(s) && n(s.createElement) e.exports = function (e) { return r ? s.createElement(e) : {} } }, function (e, t, i) { e.exports = !i(2) && !i(7)(function () { return ( 7 != Object.defineProperty(i(16)('div'), 'a', { get: function () { return 7 }, }).a ) }) }, function (e, t) { e.exports = function (e) { if ('function' != typeof e) throw TypeError(e + ' is not a function!') return e } }, function (e, t, i) { e.exports = { default: i(20), __esModule: !0 } }, function (e, t, i) { i(21) var n = i(3).Object e.exports = function (e, t, i) { return n.defineProperty(e, t, i) } }, function (e, t, i) { var n = i(8) n(n.S + n.F * !i(2), 'Object', { defineProperty: i(6).f }) }, , , , , , , , , , , , , , , , , , , , function (e, t) { !(function () { e.exports = window.jQuery })() }, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , function (e, t, i) { ;(function (e) { function n(e, t) { ;(this._id = e), (this._clearFn = t) } var s = (void 0 !== e && e) || ('undefined' != typeof self && self) || window, r = Function.prototype.apply ;(t.setTimeout = function () { return new n(r.call(setTimeout, s, arguments), clearTimeout) }), (t.setInterval = function () { return new n(r.call(setInterval, s, arguments), clearInterval) }), (t.clearTimeout = t.clearInterval = function (e) { e && e.close() }), (n.prototype.unref = n.prototype.ref = function () {}), (n.prototype.close = function () { this._clearFn.call(s, this._id) }), (t.enroll = function (e, t) { clearTimeout(e._idleTimeoutId), (e._idleTimeout = t) }), (t.unenroll = function (e) { clearTimeout(e._idleTimeoutId), (e._idleTimeout = -1) }), (t._unrefActive = t.active = function (e) { clearTimeout(e._idleTimeoutId) var t = e._idleTimeout t >= 0 && (e._idleTimeoutId = setTimeout(function () { e._onTimeout && e._onTimeout() }, t)) }), i(105), (t.setImmediate = ('undefined' != typeof self && self.setImmediate) || (void 0 !== e && e.setImmediate) || (this && this.setImmediate)), (t.clearImmediate = ('undefined' != typeof self && self.clearImmediate) || (void 0 !== e && e.clearImmediate) || (this && this.clearImmediate)) }).call(t, i(9)) }, , , , , , , , , function (e, t) { function i() { throw new Error('setTimeout has not been defined') } function n() { throw new Error('clearTimeout has not been defined') } function s(e) { if (d === setTimeout) return setTimeout(e, 0) if ((d === i || !d) && setTimeout) return (d = setTimeout), setTimeout(e, 0) try { return d(e, 0) } catch (t) { try { return d.call(null, e, 0) } catch (t) { return d.call(this, e, 0) } } } function r(e) { if (c === clearTimeout) return clearTimeout(e) if ((c === n || !c) && clearTimeout) return (c = clearTimeout), clearTimeout(e) try { return c(e) } catch (t) { try { return c.call(null, e) } catch (t) { return c.call(this, e) } } } function a() { m && p && ((m = !1), p.length ? (f = p.concat(f)) : (_ = -1), f.length && o()) } function o() { if (!m) { var e = s(a) m = !0 for (var t = f.length; t; ) { for (p = f, f = []; ++_ < t; ) p && p[_].run() ;(_ = -1), (t = f.length) } ;(p = null), (m = !1), r(e) } } function l(e, t) { ;(this.fun = e), (this.array = t) } function u() {} var d, c, h = (e.exports = {}) !(function () { try { d = 'function' == typeof setTimeout ? setTimeout : i } catch (e) { d = i } try { c = 'function' == typeof clearTimeout ? clearTimeout : n } catch (e) { c = n } })() var p, f = [], m = !1, _ = -1 ;(h.nextTick = function (e) { var t = new Array(arguments.length - 1) if (arguments.length > 1) for (var i = 1; i < arguments.length; i++) t[i - 1] = arguments[i] f.push(new l(e, t)), 1 !== f.length || m || s(o) }), (l.prototype.run = function () { this.fun.apply(null, this.array) }), (h.title = 'browser'), (h.browser = !0), (h.env = {}), (h.argv = []), (h.version = ''), (h.versions = {}), (h.on = u), (h.addListener = u), (h.once = u), (h.off = u), (h.removeListener = u), (h.removeAllListeners = u), (h.emit = u), (h.prependListener = u), (h.prependOnceListener = u), (h.listeners = function (e) { return [] }), (h.binding = function (e) { throw new Error('process.binding is not supported') }), (h.cwd = function () { return '/' }), (h.chdir = function (e) { throw new Error('process.chdir is not supported') }), (h.umask = function () { return 0 }) }, function (e, t, i) { ;(function (e, t) { !(function (e, i) { 'use strict' function n(e) { 'function' != typeof e && (e = new Function('' + e)) for ( var t = new Array(arguments.length - 1), i = 0; i < t.length; i++ ) t[i] = arguments[i + 1] var n = { callback: e, args: t } return (u[l] = n), o(l), l++ } function s(e) { delete u[e] } function r(e) { var t = e.callback, n = e.args switch (n.length) { case 0: t() break case 1: t(n[0]) break case 2: t(n[0], n[1]) break case 3: t(n[0], n[1], n[2]) break default: t.apply(i, n) } } function a(e) { if (d) setTimeout(a, 0, e) else { var t = u[e] if (t) { d = !0 try { r(t) } finally { s(e), (d = !1) } } } } if (!e.setImmediate) { var o, l = 1, u = {}, d = !1, c = e.document, h = Object.getPrototypeOf && Object.getPrototypeOf(e) ;(h = h && h.setTimeout ? h : e), '[object process]' === {}.toString.call(e.process) ? (function () { o = function (e) { t.nextTick(function () { a(e) }) } })() : (function () { if (e.postMessage && !e.importScripts) { var t = !0, i = e.onmessage return ( (e.onmessage = function () { t = !1 }), e.postMessage('', '*'), (e.onmessage = i), t ) } })() ? (function () { var t = 'setImmediate$' + Math.random() + '$', i = function (i) { i.source === e && 'string' == typeof i.data && 0 === i.data.indexOf(t) && a(+i.data.slice(t.length)) } e.addEventListener ? e.addEventListener('message', i, !1) : e.attachEvent('onmessage', i), (o = function (i) { e.postMessage(t + i, '*') }) })() : e.MessageChannel ? (function () { var e = new MessageChannel() ;(e.port1.onmessage = function (e) { a(e.data) }), (o = function (t) { e.port2.postMessage(t) }) })() : c && 'onreadystatechange' in c.createElement('script') ? (function () { var e = c.documentElement o = function (t) { var i = c.createElement('script') ;(i.onreadystatechange = function () { a(t), (i.onreadystatechange = null), e.removeChild(i), (i = null) }), e.appendChild(i) } })() : (function () { o = function (e) { setTimeout(a, 0, e) } })(), (h.setImmediate = n), (h.clearImmediate = s) } })('undefined' == typeof self ? (void 0 === e ? this : e) : self) }).call(t, i(9), i(104)) }, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , function (e, t) { e.exports = function (e) { return ( e.webpackPolyfill || ((e.deprecate = function () {}), (e.paths = []), e.children || (e.children = []), Object.defineProperty(e, 'loaded', { enumerable: !0, get: function () { return e.l }, }), Object.defineProperty(e, 'id', { enumerable: !0, get: function () { return e.i }, }), (e.webpackPolyfill = 1)), e ) } }, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , function (e, t, i) { 'use strict' ;(function (e) { Object.defineProperty(t, '__esModule', { value: !0 }), i(209) var n = e.$, s = function e() { var t = n('body').find('.bootstrap-datetimepicker-widget:last') if (!(t.length <= 0)) { var i = t.offset(), s = t.outerHeight(), r = (t.outerHeight(!0) - s) / 2 t.appendTo('body') var a = i.top + r t.hasClass('top') && (a += s - t.outerHeight(!0) - r), t.css({ position: 'absolute', top: a, bottom: 'auto', left: i.left, right: 'auto', }), n(window).on('resize', e) } }, r = function () { var t = n('.datepicker input[type="text"]') n.each(t, function (t, i) { n(i) .datetimepicker({ locale: e.full_language_code, format: n(i).data('format') ? n(i).data('format') : 'YYYY-MM-DD', sideBySide: !0, icons: { time: 'time', date: 'date', up: 'up', down: 'down' }, }) .on('dp.show', s) .on('dp.hide', function () { n(window).off('resize', s) }) }) } t.default = r }).call(t, i(9)) }, , , , , , , , , , , , , , , , , , , , , , , function (e, t, i) { ;(function (e) { !(function (e) { var t = (function () { try { return !!Symbol.iterator } catch (e) { return !1 } })(), i = function (e) { var i = { next: function () { var t = e.shift() return { done: void 0 === t, value: t } }, } return ( t && (i[Symbol.iterator] = function () { return i }), i ) }, n = function (e) { return encodeURIComponent(e).replace(/%20/g, '+') }, s = function (e) { return decodeURIComponent(e).replace(/\+/g, ' ') } ;('URLSearchParams' in e && 'a=1' === new URLSearchParams('?a=1').toString()) || (function () { var s = function (e) { Object.defineProperty(this, '_entries', { writable: !0, value: {}, }) var t = typeof e if ('undefined' === t); else if ('string' === t) '' !== e && this._fromString(e) else if (e instanceof s) { var i = this e.forEach(function (e, t) { i.append(t, e) }) } else { if (null === e || 'object' !== t) throw new TypeError( "Unsupported input's type for URLSearchParams" ) if ('[object Array]' === Object.prototype.toString.call(e)) for (var n = 0; n < e.length; n++) { var r = e[n] if ( '[object Array]' !== Object.prototype.toString.call(r) && 2 === r.length ) throw new TypeError( 'Expected [string, any] as entry at index ' + n + " of URLSearchParams's input" ) this.append(r[0], r[1]) } else for (var a in e) e.hasOwnProperty(a) && this.append(a, e[a]) } }, r = s.prototype ;(r.append = function (e, t) { e in this._entries ? this._entries[e].push(String(t)) : (this._entries[e] = [String(t)]) }), (r.delete = function (e) { delete this._entries[e] }), (r.get = function (e) { return e in this._entries ? this._entries[e][0] : null }), (r.getAll = function (e) { return e in this._entries ? this._entries[e].slice(0) : [] }), (r.has = function (e) { return e in this._entries }), (r.set = function (e, t) { this._entries[e] = [String(t)] }), (r.forEach = function (e, t) { var i for (var n in this._entries) if (this._entries.hasOwnProperty(n)) { i = this._entries[n] for (var s = 0; s < i.length; s++) e.call(t, i[s], n, this) } }), (r.keys = function () { var e = [] return ( this.forEach(function (t, i) { e.push(i) }), i(e) ) }), (r.values = function () { var e = [] return ( this.forEach(function (t) { e.push(t) }), i(e) ) }), (r.entries = function () { var e = [] return ( this.forEach(function (t, i) { e.push([i, t]) }), i(e) ) }), t && (r[Symbol.iterator] = r.entries), (r.toString = function () { var e = [] return ( this.forEach(function (t, i) { e.push(n(i) + '=' + n(t)) }), e.join('&') ) }), (e.URLSearchParams = s) })() var r = URLSearchParams.prototype 'function' != typeof r.sort && (r.sort = function () { var e = this, t = [] this.forEach(function (i, n) { t.push([n, i]), e._entries || e.delete(n) }), t.sort(function (e, t) { return e[0] < t[0] ? -1 : e[0] > t[0] ? 1 : 0 }), e._entries && (e._entries = {}) for (var i = 0; i < t.length; i++) this.append(t[i][0], t[i][1]) }), 'function' != typeof r._fromString && Object.defineProperty(r, '_fromString', { enumerable: !1, configurable: !1, writable: !1, value: function (e) { if (this._entries) this._entries = {} else { var t = [] this.forEach(function (e, i) { t.push(i) }) for (var i = 0; i < t.length; i++) this.delete(t[i]) } e = e.replace(/^\?/, '') for (var n, r = e.split('&'), i = 0; i < r.length; i++) (n = r[i].split('=')), this.append(s(n[0]), n.length > 1 ? s(n[1]) : '') }, }) })( void 0 !== e ? e : 'undefined' != typeof window ? window : 'undefined' != typeof self ? self : this ), (function (e) { if ( ((function () { try { var e = new URL('b', 'http://a') return ( (e.pathname = 'c%20d'), 'http://a/c%20d' === e.href && e.searchParams ) } catch (e) { return !1 } })() || (function () { var t = e.URL, i = function (t, i) { 'string' != typeof t && (t = String(t)) var n, s = document if (i && (void 0 === e.location || i !== e.location.href)) { ;(s = document.implementation.createHTMLDocument('')), (n = s.createElement('base')), (n.href = i), s.head.appendChild(n) try { if (0 !== n.href.indexOf(i)) throw new Error(n.href) } catch (e) { throw new Error( 'URL unable to set base ' + i + ' due to ' + e ) } } var r = s.createElement('a') if ( ((r.href = t), n && (s.body.appendChild(r), (r.href = r.href)), ':' === r.protocol || !/:/.test(r.href)) ) throw new TypeError('Invalid URL') Object.defineProperty(this, '_anchorElement', { value: r }) var a = new URLSearchParams(this.search), o = !0, l = !0, u = this ;['append', 'delete', 'set'].forEach(function (e) { var t = a[e] a[e] = function () { t.apply(a, arguments), o && ((l = !1), (u.search = a.toString()), (l = !0)) } }), Object.defineProperty(this, 'searchParams', { value: a, enumerable: !0, }) var d = void 0 Object.defineProperty(this, '_updateSearchParams', { enumerable: !1, configurable: !1, writable: !1, value: function () { this.search !== d && ((d = this.search), l && ((o = !1), this.searchParams._fromString(this.search), (o = !0))) }, }) }, n = i.prototype, s = function (e) { Object.defineProperty(n, e, { get: function () { return this._anchorElement[e] }, set: function (t) { this._anchorElement[e] = t }, enumerable: !0, }) } ;['hash', 'host', 'hostname', 'port', 'protocol'].forEach( function (e) { s(e) } ), Object.defineProperty(n, 'search', { get: function () { return this._anchorElement.search }, set: function (e) { ;(this._anchorElement.search = e), this._updateSearchParams() }, enumerable: !0, }), Object.defineProperties(n, { toString: { get: function () { var e = this return function () { return e.href } }, }, href: { get: function () { return this._anchorElement.href.replace(/\?$/, '') }, set: function (e) { ;(this._anchorElement.href = e), this._updateSearchParams() }, enumerable: !0, }, pathname: { get: function () { return this._anchorElement.pathname.replace( /(^\/?)/, '/' ) }, set: function (e) { this._anchorElement.pathname = e }, enumerable: !0, }, origin: { get: function () { var e = { 'http:': 80, 'https:': 443, 'ftp:': 21 }[ this._anchorElement.protocol ], t = this._anchorElement.port != e && '' !== this._anchorElement.port return ( this._anchorElement.protocol + '//' + this._anchorElement.hostname + (t ? ':' + this._anchorElement.port : '') ) }, enumerable: !0, }, password: { get: function () { return '' }, set: function (e) {}, enumerable: !0, }, username: { get: function () { return '' }, set: function (e) {}, enumerable: !0, }, }), (i.createObjectURL = function (e) { return t.createObjectURL.apply(t, arguments) }), (i.revokeObjectURL = function (e) { return t.revokeObjectURL.apply(t, arguments) }), (e.URL = i) })(), void 0 !== e.location && !('origin' in e.location)) ) { var t = function () { return ( e.location.protocol + '//' + e.location.hostname + (e.location.port ? ':' + e.location.port : '') ) } try { Object.defineProperty(e.location, 'origin', { get: t, enumerable: !0, }) } catch (i) { setInterval(function () { e.location.origin = t() }, 100) } } })( void 0 !== e ? e : 'undefined' != typeof window ? window : 'undefined' != typeof self ? self : this ) }).call(t, i(9)) }, , , , , , , , , , , , , , , , , , , , , , , , function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('af', { months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split( '_' ), monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split( '_' ), weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split( '_' ), weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), meridiemParse: /vm|nm/i, isPM: function (e) { return /^nm$/i.test(e) }, meridiem: function (e, t, i) { return e < 12 ? (i ? 'vm' : 'VM') : i ? 'nm' : 'NM' }, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Vandag om] LT', nextDay: '[Môre om] LT', nextWeek: 'dddd [om] LT', lastDay: '[Gister om] LT', lastWeek: '[Laas] dddd [om] LT', sameElse: 'L', }, relativeTime: { future: 'oor %s', past: '%s gelede', s: "'n paar sekondes", ss: '%d sekondes', m: "'n minuut", mm: '%d minute', h: "'n uur", hh: '%d ure', d: "'n dag", dd: '%d dae', M: "'n maand", MM: '%d maande', y: "'n jaar", yy: '%d jaar', }, dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, ordinal: function (e) { return e + (1 === e || 8 === e || e >= 20 ? 'ste' : 'de') }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('ar-dz', { months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( '_' ), monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( '_' ), weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split( '_' ), weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), weekdaysMin: 'أح_إث_ثلا_أر_خم_جم_سب'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, calendar: { sameDay: '[اليوم على الساعة] LT', nextDay: '[غدا على الساعة] LT', nextWeek: 'dddd [على الساعة] LT', lastDay: '[أمس على الساعة] LT', lastWeek: 'dddd [على الساعة] LT', sameElse: 'L', }, relativeTime: { future: 'في %s', past: 'منذ %s', s: 'ثوان', ss: '%d ثانية', m: 'دقيقة', mm: '%d دقائق', h: 'ساعة', hh: '%d ساعات', d: 'يوم', dd: '%d أيام', M: 'شهر', MM: '%d أشهر', y: 'سنة', yy: '%d سنوات', }, week: { dow: 0, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('ar-kw', { months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( '_' ), monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( '_' ), weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split( '_' ), weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, calendar: { sameDay: '[اليوم على الساعة] LT', nextDay: '[غدا على الساعة] LT', nextWeek: 'dddd [على الساعة] LT', lastDay: '[أمس على الساعة] LT', lastWeek: 'dddd [على الساعة] LT', sameElse: 'L', }, relativeTime: { future: 'في %s', past: 'منذ %s', s: 'ثوان', ss: '%d ثانية', m: 'دقيقة', mm: '%d دقائق', h: 'ساعة', hh: '%d ساعات', d: 'يوم', dd: '%d أيام', M: 'شهر', MM: '%d أشهر', y: 'سنة', yy: '%d سنوات', }, week: { dow: 0, doy: 12 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: '1', 2: '2', 3: '3', 4: '4', 5: '5', 6: '6', 7: '7', 8: '8', 9: '9', 0: '0', }, i = function (e) { return 0 === e ? 0 : 1 === e ? 1 : 2 === e ? 2 : e % 100 >= 3 && e % 100 <= 10 ? 3 : e % 100 >= 11 ? 4 : 5 }, n = { s: [ 'أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية', ], m: [ 'أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة', ], h: [ 'أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة', ], d: [ 'أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم', ], M: [ 'أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر', ], y: [ 'أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام', ], }, s = function (e) { return function (t, s, r, a) { var o = i(t), l = n[e][i(t)] return 2 === o && (l = l[s ? 0 : 1]), l.replace(/%d/i, t) } }, r = [ 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر', ] return e.defineLocale('ar-ly', { months: r, monthsShort: r, weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split( '_' ), weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'D/‏M/‏YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, meridiemParse: /ص|م/, isPM: function (e) { return 'م' === e }, meridiem: function (e, t, i) { return e < 12 ? 'ص' : 'م' }, calendar: { sameDay: '[اليوم عند الساعة] LT', nextDay: '[غدًا عند الساعة] LT', nextWeek: 'dddd [عند الساعة] LT', lastDay: '[أمس عند الساعة] LT', lastWeek: 'dddd [عند الساعة] LT', sameElse: 'L', }, relativeTime: { future: 'بعد %s', past: 'منذ %s', s: s('s'), ss: s('s'), m: s('m'), mm: s('m'), h: s('h'), hh: s('h'), d: s('d'), dd: s('d'), M: s('M'), MM: s('M'), y: s('y'), yy: s('y'), }, preparse: function (e) { return e.replace(/،/g, ',') }, postformat: function (e) { return e .replace(/\d/g, function (e) { return t[e] }) .replace(/,/g, '،') }, week: { dow: 6, doy: 12 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('ar-ma', { months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( '_' ), monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split( '_' ), weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split( '_' ), weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, calendar: { sameDay: '[اليوم على الساعة] LT', nextDay: '[غدا على الساعة] LT', nextWeek: 'dddd [على الساعة] LT', lastDay: '[أمس على الساعة] LT', lastWeek: 'dddd [على الساعة] LT', sameElse: 'L', }, relativeTime: { future: 'في %s', past: 'منذ %s', s: 'ثوان', ss: '%d ثانية', m: 'دقيقة', mm: '%d دقائق', h: 'ساعة', hh: '%d ساعات', d: 'يوم', dd: '%d أيام', M: 'شهر', MM: '%d أشهر', y: 'سنة', yy: '%d سنوات', }, week: { dow: 6, doy: 12 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: '١', 2: '٢', 3: '٣', 4: '٤', 5: '٥', 6: '٦', 7: '٧', 8: '٨', 9: '٩', 0: '٠', }, i = { '١': '1', '٢': '2', '٣': '3', '٤': '4', '٥': '5', '٦': '6', '٧': '7', '٨': '8', '٩': '9', '٠': '0', } return e.defineLocale('ar-sa', { months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( '_' ), monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( '_' ), weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split( '_' ), weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, meridiemParse: /ص|م/, isPM: function (e) { return 'م' === e }, meridiem: function (e, t, i) { return e < 12 ? 'ص' : 'م' }, calendar: { sameDay: '[اليوم على الساعة] LT', nextDay: '[غدا على الساعة] LT', nextWeek: 'dddd [على الساعة] LT', lastDay: '[أمس على الساعة] LT', lastWeek: 'dddd [على الساعة] LT', sameElse: 'L', }, relativeTime: { future: 'في %s', past: 'منذ %s', s: 'ثوان', ss: '%d ثانية', m: 'دقيقة', mm: '%d دقائق', h: 'ساعة', hh: '%d ساعات', d: 'يوم', dd: '%d أيام', M: 'شهر', MM: '%d أشهر', y: 'سنة', yy: '%d سنوات', }, preparse: function (e) { return e .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (e) { return i[e] }) .replace(/،/g, ',') }, postformat: function (e) { return e .replace(/\d/g, function (e) { return t[e] }) .replace(/,/g, '،') }, week: { dow: 0, doy: 6 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('ar-tn', { months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( '_' ), monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split( '_' ), weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split( '_' ), weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, calendar: { sameDay: '[اليوم على الساعة] LT', nextDay: '[غدا على الساعة] LT', nextWeek: 'dddd [على الساعة] LT', lastDay: '[أمس على الساعة] LT', lastWeek: 'dddd [على الساعة] LT', sameElse: 'L', }, relativeTime: { future: 'في %s', past: 'منذ %s', s: 'ثوان', ss: '%d ثانية', m: 'دقيقة', mm: '%d دقائق', h: 'ساعة', hh: '%d ساعات', d: 'يوم', dd: '%d أيام', M: 'شهر', MM: '%d أشهر', y: 'سنة', yy: '%d سنوات', }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: '١', 2: '٢', 3: '٣', 4: '٤', 5: '٥', 6: '٦', 7: '٧', 8: '٨', 9: '٩', 0: '٠', }, i = { '١': '1', '٢': '2', '٣': '3', '٤': '4', '٥': '5', '٦': '6', '٧': '7', '٨': '8', '٩': '9', '٠': '0', }, n = function (e) { return 0 === e ? 0 : 1 === e ? 1 : 2 === e ? 2 : e % 100 >= 3 && e % 100 <= 10 ? 3 : e % 100 >= 11 ? 4 : 5 }, s = { s: [ 'أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية', ], m: [ 'أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة', ], h: [ 'أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة', ], d: [ 'أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم', ], M: [ 'أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر', ], y: [ 'أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام', ], }, r = function (e) { return function (t, i, r, a) { var o = n(t), l = s[e][n(t)] return 2 === o && (l = l[i ? 0 : 1]), l.replace(/%d/i, t) } }, a = [ 'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر', ] return e.defineLocale('ar', { months: a, monthsShort: a, weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split( '_' ), weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'D/‏M/‏YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, meridiemParse: /ص|م/, isPM: function (e) { return 'م' === e }, meridiem: function (e, t, i) { return e < 12 ? 'ص' : 'م' }, calendar: { sameDay: '[اليوم عند الساعة] LT', nextDay: '[غدًا عند الساعة] LT', nextWeek: 'dddd [عند الساعة] LT', lastDay: '[أمس عند الساعة] LT', lastWeek: 'dddd [عند الساعة] LT', sameElse: 'L', }, relativeTime: { future: 'بعد %s', past: 'منذ %s', s: r('s'), ss: r('s'), m: r('m'), mm: r('m'), h: r('h'), hh: r('h'), d: r('d'), dd: r('d'), M: r('M'), MM: r('M'), y: r('y'), yy: r('y'), }, preparse: function (e) { return e .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (e) { return i[e] }) .replace(/،/g, ',') }, postformat: function (e) { return e .replace(/\d/g, function (e) { return t[e] }) .replace(/,/g, '،') }, week: { dow: 6, doy: 12 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: '-inci', 5: '-inci', 8: '-inci', 70: '-inci', 80: '-inci', 2: '-nci', 7: '-nci', 20: '-nci', 50: '-nci', 3: '-üncü', 4: '-üncü', 100: '-üncü', 6: '-ncı', 9: '-uncu', 10: '-uncu', 30: '-uncu', 60: '-ıncı', 90: '-ıncı', } return e.defineLocale('az', { months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split( '_' ), monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split( '_' ), weekdays: 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split( '_' ), weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'), weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[bugün saat] LT', nextDay: '[sabah saat] LT', nextWeek: '[gələn həftə] dddd [saat] LT', lastDay: '[dünən] LT', lastWeek: '[keçən həftə] dddd [saat] LT', sameElse: 'L', }, relativeTime: { future: '%s sonra', past: '%s əvvəl', s: 'birneçə saniyə', ss: '%d saniyə', m: 'bir dəqiqə', mm: '%d dəqiqə', h: 'bir saat', hh: '%d saat', d: 'bir gün', dd: '%d gün', M: 'bir ay', MM: '%d ay', y: 'bir il', yy: '%d il', }, meridiemParse: /gecə|səhər|gündüz|axşam/, isPM: function (e) { return /^(gündüz|axşam)$/.test(e) }, meridiem: function (e, t, i) { return e < 4 ? 'gecə' : e < 12 ? 'səhər' : e < 17 ? 'gündüz' : 'axşam' }, dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/, ordinal: function (e) { if (0 === e) return e + '-ıncı' var i = e % 10, n = (e % 100) - i, s = e >= 100 ? 100 : null return e + (t[i] || t[n] || t[s]) }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t) { var i = e.split('_') return t % 10 == 1 && t % 100 != 11 ? i[0] : t % 10 >= 2 && t % 10 <= 4 && (t % 100 < 10 || t % 100 >= 20) ? i[1] : i[2] } function i(e, i, n) { var s = { ss: i ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд', mm: i ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін', hh: i ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін', dd: 'дзень_дні_дзён', MM: 'месяц_месяцы_месяцаў', yy: 'год_гады_гадоў', } return 'm' === n ? i ? 'хвіліна' : 'хвіліну' : 'h' === n ? i ? 'гадзіна' : 'гадзіну' : e + ' ' + t(s[n], +e) } return e.defineLocale('be', { months: { format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split( '_' ), standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split( '_' ), }, monthsShort: 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'), weekdays: { format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split( '_' ), standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split( '_' ), isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/, }, weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D MMMM YYYY г.', LLL: 'D MMMM YYYY г., HH:mm', LLLL: 'dddd, D MMMM YYYY г., HH:mm', }, calendar: { sameDay: '[Сёння ў] LT', nextDay: '[Заўтра ў] LT', lastDay: '[Учора ў] LT', nextWeek: function () { return '[У] dddd [ў] LT' }, lastWeek: function () { switch (this.day()) { case 0: case 3: case 5: case 6: return '[У мінулую] dddd [ў] LT' case 1: case 2: case 4: return '[У мінулы] dddd [ў] LT' } }, sameElse: 'L', }, relativeTime: { future: 'праз %s', past: '%s таму', s: 'некалькі секунд', m: i, mm: i, h: i, hh: i, d: 'дзень', dd: i, M: 'месяц', MM: i, y: 'год', yy: i, }, meridiemParse: /ночы|раніцы|дня|вечара/, isPM: function (e) { return /^(дня|вечара)$/.test(e) }, meridiem: function (e, t, i) { return e < 4 ? 'ночы' : e < 12 ? 'раніцы' : e < 17 ? 'дня' : 'вечара' }, dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/, ordinal: function (e, t) { switch (t) { case 'M': case 'd': case 'DDD': case 'w': case 'W': return (e % 10 != 2 && e % 10 != 3) || e % 100 == 12 || e % 100 == 13 ? e + '-ы' : e + '-і' case 'D': return e + '-га' default: return e } }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('bg', { months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split( '_' ), monthsShort: 'янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split( '_' ), weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split('_'), weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'), weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'D.MM.YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY H:mm', LLLL: 'dddd, D MMMM YYYY H:mm', }, calendar: { sameDay: '[Днес в] LT', nextDay: '[Утре в] LT', nextWeek: 'dddd [в] LT', lastDay: '[Вчера в] LT', lastWeek: function () { switch (this.day()) { case 0: case 3: case 6: return '[В изминалата] dddd [в] LT' case 1: case 2: case 4: case 5: return '[В изминалия] dddd [в] LT' } }, sameElse: 'L', }, relativeTime: { future: 'след %s', past: 'преди %s', s: 'няколко секунди', ss: '%d секунди', m: 'минута', mm: '%d минути', h: 'час', hh: '%d часа', d: 'ден', dd: '%d дни', M: 'месец', MM: '%d месеца', y: 'година', yy: '%d години', }, dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, ordinal: function (e) { var t = e % 10, i = e % 100 return 0 === e ? e + '-ев' : 0 === i ? e + '-ен' : i > 10 && i < 20 ? e + '-ти' : 1 === t ? e + '-ви' : 2 === t ? e + '-ри' : 7 === t || 8 === t ? e + '-ми' : e + '-ти' }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('bm', { months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split( '_' ), monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split( '_' ), weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'), weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'), weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'MMMM [tile] D [san] YYYY', LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', }, calendar: { sameDay: '[Bi lɛrɛ] LT', nextDay: '[Sini lɛrɛ] LT', nextWeek: 'dddd [don lɛrɛ] LT', lastDay: '[Kunu lɛrɛ] LT', lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT', sameElse: 'L', }, relativeTime: { future: '%s kɔnɔ', past: 'a bɛ %s bɔ', s: 'sanga dama dama', ss: 'sekondi %d', m: 'miniti kelen', mm: 'miniti %d', h: 'lɛrɛ kelen', hh: 'lɛrɛ %d', d: 'tile kelen', dd: 'tile %d', M: 'kalo kelen', MM: 'kalo %d', y: 'san kelen', yy: 'san %d', }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: '১', 2: '২', 3: '৩', 4: '৪', 5: '৫', 6: '৬', 7: '৭', 8: '৮', 9: '৯', 0: '০', }, i = { '১': '1', '২': '2', '৩': '3', '৪': '4', '৫': '5', '৬': '6', '৭': '7', '৮': '8', '৯': '9', '০': '0', } return e.defineLocale('bn', { months: 'জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split( '_' ), monthsShort: 'জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'), weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split( '_' ), weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), weekdaysMin: 'রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি'.split('_'), longDateFormat: { LT: 'A h:mm সময়', LTS: 'A h:mm:ss সময়', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY, A h:mm সময়', LLLL: 'dddd, D MMMM YYYY, A h:mm সময়', }, calendar: { sameDay: '[আজ] LT', nextDay: '[আগামীকাল] LT', nextWeek: 'dddd, LT', lastDay: '[গতকাল] LT', lastWeek: '[গত] dddd, LT', sameElse: 'L', }, relativeTime: { future: '%s পরে', past: '%s আগে', s: 'কয়েক সেকেন্ড', ss: '%d সেকেন্ড', m: 'এক মিনিট', mm: '%d মিনিট', h: 'এক ঘন্টা', hh: '%d ঘন্টা', d: 'এক দিন', dd: '%d দিন', M: 'এক মাস', MM: '%d মাস', y: 'এক বছর', yy: '%d বছর', }, preparse: function (e) { return e.replace(/[১২৩৪৫৬৭৮৯০]/g, function (e) { return i[e] }) }, postformat: function (e) { return e.replace(/\d/g, function (e) { return t[e] }) }, meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), ('রাত' === t && e >= 4) || ('দুপুর' === t && e < 5) || 'বিকাল' === t ? e + 12 : e ) }, meridiem: function (e, t, i) { return e < 4 ? 'রাত' : e < 10 ? 'সকাল' : e < 17 ? 'দুপুর' : e < 20 ? 'বিকাল' : 'রাত' }, week: { dow: 0, doy: 6 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: '༡', 2: '༢', 3: '༣', 4: '༤', 5: '༥', 6: '༦', 7: '༧', 8: '༨', 9: '༩', 0: '༠', }, i = { '༡': '1', '༢': '2', '༣': '3', '༤': '4', '༥': '5', '༦': '6', '༧': '7', '༨': '8', '༩': '9', '༠': '0', } return e.defineLocale('bo', { months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split( '_' ), monthsShort: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split( '_' ), weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split( '_' ), weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'), weekdaysMin: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split( '_' ), longDateFormat: { LT: 'A h:mm', LTS: 'A h:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY, A h:mm', LLLL: 'dddd, D MMMM YYYY, A h:mm', }, calendar: { sameDay: '[དི་རིང] LT', nextDay: '[སང་ཉིན] LT', nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT', lastDay: '[ཁ་སང] LT', lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT', sameElse: 'L', }, relativeTime: { future: '%s ལ་', past: '%s སྔན་ལ', s: 'ལམ་སང', ss: '%d སྐར་ཆ།', m: 'སྐར་མ་གཅིག', mm: '%d སྐར་མ', h: 'ཆུ་ཚོད་གཅིག', hh: '%d ཆུ་ཚོད', d: 'ཉིན་གཅིག', dd: '%d ཉིན་', M: 'ཟླ་བ་གཅིག', MM: '%d ཟླ་བ', y: 'ལོ་གཅིག', yy: '%d ལོ', }, preparse: function (e) { return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (e) { return i[e] }) }, postformat: function (e) { return e.replace(/\d/g, function (e) { return t[e] }) }, meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), ('མཚན་མོ' === t && e >= 4) || ('ཉིན་གུང' === t && e < 5) || 'དགོང་དག' === t ? e + 12 : e ) }, meridiem: function (e, t, i) { return e < 4 ? 'མཚན་མོ' : e < 10 ? 'ཞོགས་ཀས' : e < 17 ? 'ཉིན་གུང' : e < 20 ? 'དགོང་དག' : 'མཚན་མོ' }, week: { dow: 0, doy: 6 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i) { return e + ' ' + s({ mm: 'munutenn', MM: 'miz', dd: 'devezh' }[i], e) } function i(e) { switch (n(e)) { case 1: case 3: case 4: case 5: case 9: return e + ' bloaz' default: return e + ' vloaz' } } function n(e) { return e > 9 ? n(e % 10) : e } function s(e, t) { return 2 === t ? r(e) : e } function r(e) { var t = { m: 'v', b: 'v', d: 'z' } return void 0 === t[e.charAt(0)] ? e : t[e.charAt(0)] + e.substring(1) } return e.defineLocale('br', { months: "Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split( '_' ), monthsShort: "Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split( '_' ), weekdays: "Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split('_'), weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'), weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'h[e]mm A', LTS: 'h[e]mm:ss A', L: 'DD/MM/YYYY', LL: 'D [a viz] MMMM YYYY', LLL: 'D [a viz] MMMM YYYY h[e]mm A', LLLL: 'dddd, D [a viz] MMMM YYYY h[e]mm A', }, calendar: { sameDay: '[Hiziv da] LT', nextDay: "[Warc'hoazh da] LT", nextWeek: 'dddd [da] LT', lastDay: "[Dec'h da] LT", lastWeek: 'dddd [paset da] LT', sameElse: 'L', }, relativeTime: { future: 'a-benn %s', past: "%s 'zo", s: 'un nebeud segondennoù', ss: '%d eilenn', m: 'ur vunutenn', mm: t, h: 'un eur', hh: '%d eur', d: 'un devezh', dd: t, M: 'ur miz', MM: t, y: 'ur bloaz', yy: i, }, dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/, ordinal: function (e) { return e + (1 === e ? 'añ' : 'vet') }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i) { var n = e + ' ' switch (i) { case 'ss': return (n += 1 === e ? 'sekunda' : 2 === e || 3 === e || 4 === e ? 'sekunde' : 'sekundi') case 'm': return t ? 'jedna minuta' : 'jedne minute' case 'mm': return (n += 1 === e ? 'minuta' : 2 === e || 3 === e || 4 === e ? 'minute' : 'minuta') case 'h': return t ? 'jedan sat' : 'jednog sata' case 'hh': return (n += 1 === e ? 'sat' : 2 === e || 3 === e || 4 === e ? 'sata' : 'sati') case 'dd': return (n += 1 === e ? 'dan' : 'dana') case 'MM': return (n += 1 === e ? 'mjesec' : 2 === e || 3 === e || 4 === e ? 'mjeseca' : 'mjeseci') case 'yy': return (n += 1 === e ? 'godina' : 2 === e || 3 === e || 4 === e ? 'godine' : 'godina') } } return e.defineLocale('bs', { months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split( '_' ), monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split( '_' ), monthsParseExact: !0, weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( '_' ), weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY H:mm', LLLL: 'dddd, D. MMMM YYYY H:mm', }, calendar: { sameDay: '[danas u] LT', nextDay: '[sutra u] LT', nextWeek: function () { switch (this.day()) { case 0: return '[u] [nedjelju] [u] LT' case 3: return '[u] [srijedu] [u] LT' case 6: return '[u] [subotu] [u] LT' case 1: case 2: case 4: case 5: return '[u] dddd [u] LT' } }, lastDay: '[jučer u] LT', lastWeek: function () { switch (this.day()) { case 0: case 3: return '[prošlu] dddd [u] LT' case 6: return '[prošle] [subote] [u] LT' case 1: case 2: case 4: case 5: return '[prošli] dddd [u] LT' } }, sameElse: 'L', }, relativeTime: { future: 'za %s', past: 'prije %s', s: 'par sekundi', ss: t, m: t, mm: t, h: t, hh: t, d: 'dan', dd: t, M: 'mjesec', MM: t, y: 'godinu', yy: t, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('ca', { months: { standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split( '_' ), format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split( '_' ), isFormat: /D[oD]?(\s)+MMMM/, }, monthsShort: 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split( '_' ), monthsParseExact: !0, weekdays: 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split( '_' ), weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM [de] YYYY', ll: 'D MMM YYYY', LLL: 'D MMMM [de] YYYY [a les] H:mm', lll: 'D MMM YYYY, H:mm', LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm', llll: 'ddd D MMM YYYY, H:mm', }, calendar: { sameDay: function () { return '[avui a ' + (1 !== this.hours() ? 'les' : 'la') + '] LT' }, nextDay: function () { return '[demà a ' + (1 !== this.hours() ? 'les' : 'la') + '] LT' }, nextWeek: function () { return 'dddd [a ' + (1 !== this.hours() ? 'les' : 'la') + '] LT' }, lastDay: function () { return '[ahir a ' + (1 !== this.hours() ? 'les' : 'la') + '] LT' }, lastWeek: function () { return ( '[el] dddd [passat a ' + (1 !== this.hours() ? 'les' : 'la') + '] LT' ) }, sameElse: 'L', }, relativeTime: { future: "d'aquí %s", past: 'fa %s', s: 'uns segons', ss: '%d segons', m: 'un minut', mm: '%d minuts', h: 'una hora', hh: '%d hores', d: 'un dia', dd: '%d dies', M: 'un mes', MM: '%d mesos', y: 'un any', yy: '%d anys', }, dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, ordinal: function (e, t) { var i = 1 === e ? 'r' : 2 === e ? 'n' : 3 === e ? 'r' : 4 === e ? 't' : 'è' return ('w' !== t && 'W' !== t) || (i = 'a'), e + i }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e) { return e > 1 && e < 5 && 1 != ~~(e / 10) } function i(e, i, n, s) { var r = e + ' ' switch (n) { case 's': return i || s ? 'pár sekund' : 'pár sekundami' case 'ss': return i || s ? r + (t(e) ? 'sekundy' : 'sekund') : r + 'sekundami' case 'm': return i ? 'minuta' : s ? 'minutu' : 'minutou' case 'mm': return i || s ? r + (t(e) ? 'minuty' : 'minut') : r + 'minutami' case 'h': return i ? 'hodina' : s ? 'hodinu' : 'hodinou' case 'hh': return i || s ? r + (t(e) ? 'hodiny' : 'hodin') : r + 'hodinami' case 'd': return i || s ? 'den' : 'dnem' case 'dd': return i || s ? r + (t(e) ? 'dny' : 'dní') : r + 'dny' case 'M': return i || s ? 'měsíc' : 'měsícem' case 'MM': return i || s ? r + (t(e) ? 'měsíce' : 'měsíců') : r + 'měsíci' case 'y': return i || s ? 'rok' : 'rokem' case 'yy': return i || s ? r + (t(e) ? 'roky' : 'let') : r + 'lety' } } var n = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split( '_' ), s = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'), r = [ /^led/i, /^úno/i, /^bře/i, /^dub/i, /^kvě/i, /^(čvn|červen$|června)/i, /^(čvc|červenec|července)/i, /^srp/i, /^zář/i, /^říj/i, /^lis/i, /^pro/i, ], a = /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i return e.defineLocale('cs', { months: n, monthsShort: s, monthsRegex: a, monthsShortRegex: a, monthsStrictRegex: /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i, monthsShortStrictRegex: /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i, monthsParse: r, longMonthsParse: r, shortMonthsParse: r, weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'), weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'), weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'), longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY H:mm', LLLL: 'dddd D. MMMM YYYY H:mm', l: 'D. M. YYYY', }, calendar: { sameDay: '[dnes v] LT', nextDay: '[zítra v] LT', nextWeek: function () { switch (this.day()) { case 0: return '[v neděli v] LT' case 1: case 2: return '[v] dddd [v] LT' case 3: return '[ve středu v] LT' case 4: return '[ve čtvrtek v] LT' case 5: return '[v pátek v] LT' case 6: return '[v sobotu v] LT' } }, lastDay: '[včera v] LT', lastWeek: function () { switch (this.day()) { case 0: return '[minulou neděli v] LT' case 1: case 2: return '[minulé] dddd [v] LT' case 3: return '[minulou středu v] LT' case 4: case 5: return '[minulý] dddd [v] LT' case 6: return '[minulou sobotu v] LT' } }, sameElse: 'L', }, relativeTime: { future: 'za %s', past: 'před %s', s: i, ss: i, m: i, mm: i, h: i, hh: i, d: i, dd: i, M: i, MM: i, y: i, yy: i, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('cv', { months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split( '_' ), monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split( '_' ), weekdays: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split( '_' ), weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'), weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD-MM-YYYY', LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]', LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', }, calendar: { sameDay: '[Паян] LT [сехетре]', nextDay: '[Ыран] LT [сехетре]', lastDay: '[Ӗнер] LT [сехетре]', nextWeek: '[Ҫитес] dddd LT [сехетре]', lastWeek: '[Иртнӗ] dddd LT [сехетре]', sameElse: 'L', }, relativeTime: { future: function (e) { return ( e + (/сехет$/i.exec(e) ? 'рен' : /ҫул$/i.exec(e) ? 'тан' : 'ран') ) }, past: '%s каялла', s: 'пӗр-ик ҫеккунт', ss: '%d ҫеккунт', m: 'пӗр минут', mm: '%d минут', h: 'пӗр сехет', hh: '%d сехет', d: 'пӗр кун', dd: '%d кун', M: 'пӗр уйӑх', MM: '%d уйӑх', y: 'пӗр ҫул', yy: '%d ҫул', }, dayOfMonthOrdinalParse: /\d{1,2}-мӗш/, ordinal: '%d-мӗш', week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('cy', { months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split( '_' ), monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split( '_' ), weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split( '_' ), weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'), weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Heddiw am] LT', nextDay: '[Yfory am] LT', nextWeek: 'dddd [am] LT', lastDay: '[Ddoe am] LT', lastWeek: 'dddd [diwethaf am] LT', sameElse: 'L', }, relativeTime: { future: 'mewn %s', past: '%s yn ôl', s: 'ychydig eiliadau', ss: '%d eiliad', m: 'munud', mm: '%d munud', h: 'awr', hh: '%d awr', d: 'diwrnod', dd: '%d diwrnod', M: 'mis', MM: '%d mis', y: 'blwyddyn', yy: '%d flynedd', }, dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/, ordinal: function (e) { var t = e, i = '', n = [ '', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed', ] return ( t > 20 ? (i = 40 === t || 50 === t || 60 === t || 80 === t || 100 === t ? 'fed' : 'ain') : t > 0 && (i = n[t]), e + i ) }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('da', { months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split( '_' ), monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split( '_' ), weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split( '_' ), weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'), weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY HH:mm', LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm', }, calendar: { sameDay: '[i dag kl.] LT', nextDay: '[i morgen kl.] LT', nextWeek: 'på dddd [kl.] LT', lastDay: '[i går kl.] LT', lastWeek: '[i] dddd[s kl.] LT', sameElse: 'L', }, relativeTime: { future: 'om %s', past: '%s siden', s: 'få sekunder', ss: '%d sekunder', m: 'et minut', mm: '%d minutter', h: 'en time', hh: '%d timer', d: 'en dag', dd: '%d dage', M: 'en måned', MM: '%d måneder', y: 'et år', yy: '%d år', }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i, n) { var s = { m: ['eine Minute', 'einer Minute'], h: ['eine Stunde', 'einer Stunde'], d: ['ein Tag', 'einem Tag'], dd: [e + ' Tage', e + ' Tagen'], M: ['ein Monat', 'einem Monat'], MM: [e + ' Monate', e + ' Monaten'], y: ['ein Jahr', 'einem Jahr'], yy: [e + ' Jahre', e + ' Jahren'], } return t ? s[i][0] : s[i][1] } return e.defineLocale('de-at', { months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( '_' ), monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split( '_' ), monthsParseExact: !0, weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( '_' ), weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY HH:mm', LLLL: 'dddd, D. MMMM YYYY HH:mm', }, calendar: { sameDay: '[heute um] LT [Uhr]', sameElse: 'L', nextDay: '[morgen um] LT [Uhr]', nextWeek: 'dddd [um] LT [Uhr]', lastDay: '[gestern um] LT [Uhr]', lastWeek: '[letzten] dddd [um] LT [Uhr]', }, relativeTime: { future: 'in %s', past: 'vor %s', s: 'ein paar Sekunden', ss: '%d Sekunden', m: t, mm: '%d Minuten', h: t, hh: '%d Stunden', d: t, dd: t, M: t, MM: t, y: t, yy: t, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i, n) { var s = { m: ['eine Minute', 'einer Minute'], h: ['eine Stunde', 'einer Stunde'], d: ['ein Tag', 'einem Tag'], dd: [e + ' Tage', e + ' Tagen'], M: ['ein Monat', 'einem Monat'], MM: [e + ' Monate', e + ' Monaten'], y: ['ein Jahr', 'einem Jahr'], yy: [e + ' Jahre', e + ' Jahren'], } return t ? s[i][0] : s[i][1] } return e.defineLocale('de-ch', { months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( '_' ), monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split( '_' ), monthsParseExact: !0, weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( '_' ), weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY HH:mm', LLLL: 'dddd, D. MMMM YYYY HH:mm', }, calendar: { sameDay: '[heute um] LT [Uhr]', sameElse: 'L', nextDay: '[morgen um] LT [Uhr]', nextWeek: 'dddd [um] LT [Uhr]', lastDay: '[gestern um] LT [Uhr]', lastWeek: '[letzten] dddd [um] LT [Uhr]', }, relativeTime: { future: 'in %s', past: 'vor %s', s: 'ein paar Sekunden', ss: '%d Sekunden', m: t, mm: '%d Minuten', h: t, hh: '%d Stunden', d: t, dd: t, M: t, MM: t, y: t, yy: t, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i, n) { var s = { m: ['eine Minute', 'einer Minute'], h: ['eine Stunde', 'einer Stunde'], d: ['ein Tag', 'einem Tag'], dd: [e + ' Tage', e + ' Tagen'], M: ['ein Monat', 'einem Monat'], MM: [e + ' Monate', e + ' Monaten'], y: ['ein Jahr', 'einem Jahr'], yy: [e + ' Jahre', e + ' Jahren'], } return t ? s[i][0] : s[i][1] } return e.defineLocale('de', { months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split( '_' ), monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split( '_' ), monthsParseExact: !0, weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split( '_' ), weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY HH:mm', LLLL: 'dddd, D. MMMM YYYY HH:mm', }, calendar: { sameDay: '[heute um] LT [Uhr]', sameElse: 'L', nextDay: '[morgen um] LT [Uhr]', nextWeek: 'dddd [um] LT [Uhr]', lastDay: '[gestern um] LT [Uhr]', lastWeek: '[letzten] dddd [um] LT [Uhr]', }, relativeTime: { future: 'in %s', past: 'vor %s', s: 'ein paar Sekunden', ss: '%d Sekunden', m: t, mm: '%d Minuten', h: t, hh: '%d Stunden', d: t, dd: t, M: t, MM: t, y: t, yy: t, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = [ 'ޖެނުއަރީ', 'ފެބްރުއަރީ', 'މާރިޗު', 'އޭޕްރީލު', 'މޭ', 'ޖޫން', 'ޖުލައި', 'އޯގަސްޓު', 'ސެޕްޓެމްބަރު', 'އޮކްޓޯބަރު', 'ނޮވެމްބަރު', 'ޑިސެމްބަރު', ], i = [ 'އާދިއްތަ', 'ހޯމަ', 'އަންގާރަ', 'ބުދަ', 'ބުރާސްފަތި', 'ހުކުރު', 'ހޮނިހިރު', ] return e.defineLocale('dv', { months: t, monthsShort: t, weekdays: i, weekdaysShort: i, weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'D/M/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, meridiemParse: /މކ|މފ/, isPM: function (e) { return 'މފ' === e }, meridiem: function (e, t, i) { return e < 12 ? 'މކ' : 'މފ' }, calendar: { sameDay: '[މިއަދު] LT', nextDay: '[މާދަމާ] LT', nextWeek: 'dddd LT', lastDay: '[އިއްޔެ] LT', lastWeek: '[ފާއިތުވި] dddd LT', sameElse: 'L', }, relativeTime: { future: 'ތެރޭގައި %s', past: 'ކުރިން %s', s: 'ސިކުންތުކޮޅެއް', ss: 'd% ސިކުންތު', m: 'މިނިޓެއް', mm: 'މިނިޓު %d', h: 'ގަޑިއިރެއް', hh: 'ގަޑިއިރު %d', d: 'ދުވަހެއް', dd: 'ދުވަސް %d', M: 'މަހެއް', MM: 'މަސް %d', y: 'އަހަރެއް', yy: 'އަހަރު %d', }, preparse: function (e) { return e.replace(/،/g, ',') }, postformat: function (e) { return e.replace(/,/g, '،') }, week: { dow: 7, doy: 12 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e) { return ( e instanceof Function || '[object Function]' === Object.prototype.toString.call(e) ) } return e.defineLocale('el', { monthsNominativeEl: 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split( '_' ), monthsGenitiveEl: 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split( '_' ), months: function (e, t) { return e ? 'string' == typeof t && /D/.test(t.substring(0, t.indexOf('MMMM'))) ? this._monthsGenitiveEl[e.month()] : this._monthsNominativeEl[e.month()] : this._monthsNominativeEl }, monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split( '_' ), weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'), weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'), weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'), meridiem: function (e, t, i) { return e > 11 ? (i ? 'μμ' : 'ΜΜ') : i ? 'πμ' : 'ΠΜ' }, isPM: function (e) { return 'μ' === (e + '').toLowerCase()[0] }, meridiemParse: /[ΠΜ]\.?Μ?\.?/i, longDateFormat: { LT: 'h:mm A', LTS: 'h:mm:ss A', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY h:mm A', LLLL: 'dddd, D MMMM YYYY h:mm A', }, calendarEl: { sameDay: '[Σήμερα {}] LT', nextDay: '[Αύριο {}] LT', nextWeek: 'dddd [{}] LT', lastDay: '[Χθες {}] LT', lastWeek: function () { switch (this.day()) { case 6: return '[το προηγούμενο] dddd [{}] LT' default: return '[την προηγούμενη] dddd [{}] LT' } }, sameElse: 'L', }, calendar: function (e, i) { var n = this._calendarEl[e], s = i && i.hours() return ( t(n) && (n = n.apply(i)), n.replace('{}', s % 12 == 1 ? 'στη' : 'στις') ) }, relativeTime: { future: 'σε %s', past: '%s πριν', s: 'λίγα δευτερόλεπτα', ss: '%d δευτερόλεπτα', m: 'ένα λεπτό', mm: '%d λεπτά', h: 'μία ώρα', hh: '%d ώρες', d: 'μία μέρα', dd: '%d μέρες', M: 'ένας μήνας', MM: '%d μήνες', y: 'ένας χρόνος', yy: '%d χρόνια', }, dayOfMonthOrdinalParse: /\d{1,2}η/, ordinal: '%dη', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('en-SG', { months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( '_' ), monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split( '_' ), weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Today at] LT', nextDay: '[Tomorrow at] LT', nextWeek: 'dddd [at] LT', lastDay: '[Yesterday at] LT', lastWeek: '[Last] dddd [at] LT', sameElse: 'L', }, relativeTime: { future: 'in %s', past: '%s ago', s: 'a few seconds', ss: '%d seconds', m: 'a minute', mm: '%d minutes', h: 'an hour', hh: '%d hours', d: 'a day', dd: '%d days', M: 'a month', MM: '%d months', y: 'a year', yy: '%d years', }, dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, ordinal: function (e) { var t = e % 10 return ( e + (1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th') ) }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('en-au', { months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( '_' ), monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split( '_' ), weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), longDateFormat: { LT: 'h:mm A', LTS: 'h:mm:ss A', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY h:mm A', LLLL: 'dddd, D MMMM YYYY h:mm A', }, calendar: { sameDay: '[Today at] LT', nextDay: '[Tomorrow at] LT', nextWeek: 'dddd [at] LT', lastDay: '[Yesterday at] LT', lastWeek: '[Last] dddd [at] LT', sameElse: 'L', }, relativeTime: { future: 'in %s', past: '%s ago', s: 'a few seconds', ss: '%d seconds', m: 'a minute', mm: '%d minutes', h: 'an hour', hh: '%d hours', d: 'a day', dd: '%d days', M: 'a month', MM: '%d months', y: 'a year', yy: '%d years', }, dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, ordinal: function (e) { var t = e % 10 return ( e + (1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th') ) }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('en-ca', { months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( '_' ), monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split( '_' ), weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), longDateFormat: { LT: 'h:mm A', LTS: 'h:mm:ss A', L: 'YYYY-MM-DD', LL: 'MMMM D, YYYY', LLL: 'MMMM D, YYYY h:mm A', LLLL: 'dddd, MMMM D, YYYY h:mm A', }, calendar: { sameDay: '[Today at] LT', nextDay: '[Tomorrow at] LT', nextWeek: 'dddd [at] LT', lastDay: '[Yesterday at] LT', lastWeek: '[Last] dddd [at] LT', sameElse: 'L', }, relativeTime: { future: 'in %s', past: '%s ago', s: 'a few seconds', ss: '%d seconds', m: 'a minute', mm: '%d minutes', h: 'an hour', hh: '%d hours', d: 'a day', dd: '%d days', M: 'a month', MM: '%d months', y: 'a year', yy: '%d years', }, dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, ordinal: function (e) { var t = e % 10 return ( e + (1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th') ) }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('en-gb', { months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( '_' ), monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split( '_' ), weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Today at] LT', nextDay: '[Tomorrow at] LT', nextWeek: 'dddd [at] LT', lastDay: '[Yesterday at] LT', lastWeek: '[Last] dddd [at] LT', sameElse: 'L', }, relativeTime: { future: 'in %s', past: '%s ago', s: 'a few seconds', ss: '%d seconds', m: 'a minute', mm: '%d minutes', h: 'an hour', hh: '%d hours', d: 'a day', dd: '%d days', M: 'a month', MM: '%d months', y: 'a year', yy: '%d years', }, dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, ordinal: function (e) { var t = e % 10 return ( e + (1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th') ) }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('en-ie', { months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( '_' ), monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split( '_' ), weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Today at] LT', nextDay: '[Tomorrow at] LT', nextWeek: 'dddd [at] LT', lastDay: '[Yesterday at] LT', lastWeek: '[Last] dddd [at] LT', sameElse: 'L', }, relativeTime: { future: 'in %s', past: '%s ago', s: 'a few seconds', ss: '%d seconds', m: 'a minute', mm: '%d minutes', h: 'an hour', hh: '%d hours', d: 'a day', dd: '%d days', M: 'a month', MM: '%d months', y: 'a year', yy: '%d years', }, dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, ordinal: function (e) { var t = e % 10 return ( e + (1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th') ) }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('en-il', { months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( '_' ), monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split( '_' ), weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Today at] LT', nextDay: '[Tomorrow at] LT', nextWeek: 'dddd [at] LT', lastDay: '[Yesterday at] LT', lastWeek: '[Last] dddd [at] LT', sameElse: 'L', }, relativeTime: { future: 'in %s', past: '%s ago', s: 'a few seconds', m: 'a minute', mm: '%d minutes', h: 'an hour', hh: '%d hours', d: 'a day', dd: '%d days', M: 'a month', MM: '%d months', y: 'a year', yy: '%d years', }, dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, ordinal: function (e) { var t = e % 10 return ( e + (1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th') ) }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('en-nz', { months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split( '_' ), monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split( '_' ), weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), longDateFormat: { LT: 'h:mm A', LTS: 'h:mm:ss A', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY h:mm A', LLLL: 'dddd, D MMMM YYYY h:mm A', }, calendar: { sameDay: '[Today at] LT', nextDay: '[Tomorrow at] LT', nextWeek: 'dddd [at] LT', lastDay: '[Yesterday at] LT', lastWeek: '[Last] dddd [at] LT', sameElse: 'L', }, relativeTime: { future: 'in %s', past: '%s ago', s: 'a few seconds', ss: '%d seconds', m: 'a minute', mm: '%d minutes', h: 'an hour', hh: '%d hours', d: 'a day', dd: '%d days', M: 'a month', MM: '%d months', y: 'a year', yy: '%d years', }, dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, ordinal: function (e) { var t = e % 10 return ( e + (1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th') ) }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('eo', { months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split( '_' ), monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split( '_' ), weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split( '_' ), weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'), weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'YYYY-MM-DD', LL: 'D[-a de] MMMM, YYYY', LLL: 'D[-a de] MMMM, YYYY HH:mm', LLLL: 'dddd, [la] D[-a de] MMMM, YYYY HH:mm', }, meridiemParse: /[ap]\.t\.m/i, isPM: function (e) { return 'p' === e.charAt(0).toLowerCase() }, meridiem: function (e, t, i) { return e > 11 ? (i ? 'p.t.m.' : 'P.T.M.') : i ? 'a.t.m.' : 'A.T.M.' }, calendar: { sameDay: '[Hodiaŭ je] LT', nextDay: '[Morgaŭ je] LT', nextWeek: 'dddd [je] LT', lastDay: '[Hieraŭ je] LT', lastWeek: '[pasinta] dddd [je] LT', sameElse: 'L', }, relativeTime: { future: 'post %s', past: 'antaŭ %s', s: 'sekundoj', ss: '%d sekundoj', m: 'minuto', mm: '%d minutoj', h: 'horo', hh: '%d horoj', d: 'tago', dd: '%d tagoj', M: 'monato', MM: '%d monatoj', y: 'jaro', yy: '%d jaroj', }, dayOfMonthOrdinalParse: /\d{1,2}a/, ordinal: '%da', week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( '_' ), i = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), n = [ /^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i, ], s = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i return e.defineLocale('es-do', { months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( '_' ), monthsShort: function (e, n) { return e ? (/-MMM-/.test(n) ? i[e.month()] : t[e.month()]) : t }, monthsRegex: s, monthsShortRegex: s, monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, monthsParse: n, longMonthsParse: n, shortMonthsParse: n, weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split( '_' ), weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'h:mm A', LTS: 'h:mm:ss A', L: 'DD/MM/YYYY', LL: 'D [de] MMMM [de] YYYY', LLL: 'D [de] MMMM [de] YYYY h:mm A', LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A', }, calendar: { sameDay: function () { return '[hoy a la' + (1 !== this.hours() ? 's' : '') + '] LT' }, nextDay: function () { return '[mañana a la' + (1 !== this.hours() ? 's' : '') + '] LT' }, nextWeek: function () { return 'dddd [a la' + (1 !== this.hours() ? 's' : '') + '] LT' }, lastDay: function () { return '[ayer a la' + (1 !== this.hours() ? 's' : '') + '] LT' }, lastWeek: function () { return ( '[el] dddd [pasado a la' + (1 !== this.hours() ? 's' : '') + '] LT' ) }, sameElse: 'L', }, relativeTime: { future: 'en %s', past: 'hace %s', s: 'unos segundos', ss: '%d segundos', m: 'un minuto', mm: '%d minutos', h: 'una hora', hh: '%d horas', d: 'un día', dd: '%d días', M: 'un mes', MM: '%d meses', y: 'un año', yy: '%d años', }, dayOfMonthOrdinalParse: /\d{1,2}º/, ordinal: '%dº', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( '_' ), i = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), n = [ /^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i, ], s = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i return e.defineLocale('es-us', { months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( '_' ), monthsShort: function (e, n) { return e ? (/-MMM-/.test(n) ? i[e.month()] : t[e.month()]) : t }, monthsRegex: s, monthsShortRegex: s, monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, monthsParse: n, longMonthsParse: n, shortMonthsParse: n, weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split( '_' ), weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'h:mm A', LTS: 'h:mm:ss A', L: 'MM/DD/YYYY', LL: 'D [de] MMMM [de] YYYY', LLL: 'D [de] MMMM [de] YYYY h:mm A', LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A', }, calendar: { sameDay: function () { return '[hoy a la' + (1 !== this.hours() ? 's' : '') + '] LT' }, nextDay: function () { return '[mañana a la' + (1 !== this.hours() ? 's' : '') + '] LT' }, nextWeek: function () { return 'dddd [a la' + (1 !== this.hours() ? 's' : '') + '] LT' }, lastDay: function () { return '[ayer a la' + (1 !== this.hours() ? 's' : '') + '] LT' }, lastWeek: function () { return ( '[el] dddd [pasado a la' + (1 !== this.hours() ? 's' : '') + '] LT' ) }, sameElse: 'L', }, relativeTime: { future: 'en %s', past: 'hace %s', s: 'unos segundos', ss: '%d segundos', m: 'un minuto', mm: '%d minutos', h: 'una hora', hh: '%d horas', d: 'un día', dd: '%d días', M: 'un mes', MM: '%d meses', y: 'un año', yy: '%d años', }, dayOfMonthOrdinalParse: /\d{1,2}º/, ordinal: '%dº', week: { dow: 0, doy: 6 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( '_' ), i = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), n = [ /^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i, ], s = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i return e.defineLocale('es', { months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( '_' ), monthsShort: function (e, n) { return e ? (/-MMM-/.test(n) ? i[e.month()] : t[e.month()]) : t }, monthsRegex: s, monthsShortRegex: s, monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, monthsParse: n, longMonthsParse: n, shortMonthsParse: n, weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split( '_' ), weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD/MM/YYYY', LL: 'D [de] MMMM [de] YYYY', LLL: 'D [de] MMMM [de] YYYY H:mm', LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', }, calendar: { sameDay: function () { return '[hoy a la' + (1 !== this.hours() ? 's' : '') + '] LT' }, nextDay: function () { return '[mañana a la' + (1 !== this.hours() ? 's' : '') + '] LT' }, nextWeek: function () { return 'dddd [a la' + (1 !== this.hours() ? 's' : '') + '] LT' }, lastDay: function () { return '[ayer a la' + (1 !== this.hours() ? 's' : '') + '] LT' }, lastWeek: function () { return ( '[el] dddd [pasado a la' + (1 !== this.hours() ? 's' : '') + '] LT' ) }, sameElse: 'L', }, relativeTime: { future: 'en %s', past: 'hace %s', s: 'unos segundos', ss: '%d segundos', m: 'un minuto', mm: '%d minutos', h: 'una hora', hh: '%d horas', d: 'un día', dd: '%d días', M: 'un mes', MM: '%d meses', y: 'un año', yy: '%d años', }, dayOfMonthOrdinalParse: /\d{1,2}º/, ordinal: '%dº', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i, n) { var s = { s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'], ss: [e + 'sekundi', e + 'sekundit'], m: ['ühe minuti', 'üks minut'], mm: [e + ' minuti', e + ' minutit'], h: ['ühe tunni', 'tund aega', 'üks tund'], hh: [e + ' tunni', e + ' tundi'], d: ['ühe päeva', 'üks päev'], M: ['kuu aja', 'kuu aega', 'üks kuu'], MM: [e + ' kuu', e + ' kuud'], y: ['ühe aasta', 'aasta', 'üks aasta'], yy: [e + ' aasta', e + ' aastat'], } return t ? (s[i][2] ? s[i][2] : s[i][1]) : n ? s[i][0] : s[i][1] } return e.defineLocale('et', { months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split( '_' ), monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split( '_' ), weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split( '_' ), weekdaysShort: 'P_E_T_K_N_R_L'.split('_'), weekdaysMin: 'P_E_T_K_N_R_L'.split('_'), longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY H:mm', LLLL: 'dddd, D. MMMM YYYY H:mm', }, calendar: { sameDay: '[Täna,] LT', nextDay: '[Homme,] LT', nextWeek: '[Järgmine] dddd LT', lastDay: '[Eile,] LT', lastWeek: '[Eelmine] dddd LT', sameElse: 'L', }, relativeTime: { future: '%s pärast', past: '%s tagasi', s: t, ss: t, m: t, mm: t, h: t, hh: t, d: t, dd: '%d päeva', M: t, MM: t, y: t, yy: t, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('eu', { months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split( '_' ), monthsShort: 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split( '_' ), monthsParseExact: !0, weekdays: 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split( '_' ), weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'), weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'YYYY-MM-DD', LL: 'YYYY[ko] MMMM[ren] D[a]', LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm', LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm', l: 'YYYY-M-D', ll: 'YYYY[ko] MMM D[a]', lll: 'YYYY[ko] MMM D[a] HH:mm', llll: 'ddd, YYYY[ko] MMM D[a] HH:mm', }, calendar: { sameDay: '[gaur] LT[etan]', nextDay: '[bihar] LT[etan]', nextWeek: 'dddd LT[etan]', lastDay: '[atzo] LT[etan]', lastWeek: '[aurreko] dddd LT[etan]', sameElse: 'L', }, relativeTime: { future: '%s barru', past: 'duela %s', s: 'segundo batzuk', ss: '%d segundo', m: 'minutu bat', mm: '%d minutu', h: 'ordu bat', hh: '%d ordu', d: 'egun bat', dd: '%d egun', M: 'hilabete bat', MM: '%d hilabete', y: 'urte bat', yy: '%d urte', }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: '۱', 2: '۲', 3: '۳', 4: '۴', 5: '۵', 6: '۶', 7: '۷', 8: '۸', 9: '۹', 0: '۰', }, i = { '۱': '1', '۲': '2', '۳': '3', '۴': '4', '۵': '5', '۶': '6', '۷': '7', '۸': '8', '۹': '9', '۰': '0', } return e.defineLocale('fa', { months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split( '_' ), monthsShort: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split( '_' ), weekdays: 'یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه'.split( '_' ), weekdaysShort: 'یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه'.split('_'), weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, meridiemParse: /قبل از ظهر|بعد از ظهر/, isPM: function (e) { return /بعد از ظهر/.test(e) }, meridiem: function (e, t, i) { return e < 12 ? 'قبل از ظهر' : 'بعد از ظهر' }, calendar: { sameDay: '[امروز ساعت] LT', nextDay: '[فردا ساعت] LT', nextWeek: 'dddd [ساعت] LT', lastDay: '[دیروز ساعت] LT', lastWeek: 'dddd [پیش] [ساعت] LT', sameElse: 'L', }, relativeTime: { future: 'در %s', past: '%s پیش', s: 'چند ثانیه', ss: 'ثانیه d%', m: 'یک دقیقه', mm: '%d دقیقه', h: 'یک ساعت', hh: '%d ساعت', d: 'یک روز', dd: '%d روز', M: 'یک ماه', MM: '%d ماه', y: 'یک سال', yy: '%d سال', }, preparse: function (e) { return e .replace(/[۰-۹]/g, function (e) { return i[e] }) .replace(/،/g, ',') }, postformat: function (e) { return e .replace(/\d/g, function (e) { return t[e] }) .replace(/,/g, '،') }, dayOfMonthOrdinalParse: /\d{1,2}م/, ordinal: '%dم', week: { dow: 6, doy: 12 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, n, s) { var r = '' switch (n) { case 's': return s ? 'muutaman sekunnin' : 'muutama sekunti' case 'ss': return s ? 'sekunnin' : 'sekuntia' case 'm': return s ? 'minuutin' : 'minuutti' case 'mm': r = s ? 'minuutin' : 'minuuttia' break case 'h': return s ? 'tunnin' : 'tunti' case 'hh': r = s ? 'tunnin' : 'tuntia' break case 'd': return s ? 'päivän' : 'päivä' case 'dd': r = s ? 'päivän' : 'päivää' break case 'M': return s ? 'kuukauden' : 'kuukausi' case 'MM': r = s ? 'kuukauden' : 'kuukautta' break case 'y': return s ? 'vuoden' : 'vuosi' case 'yy': r = s ? 'vuoden' : 'vuotta' } return (r = i(e, s) + ' ' + r) } function i(e, t) { return e < 10 ? (t ? s[e] : n[e]) : e } var n = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split( ' ' ), s = [ 'nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden', n[7], n[8], n[9], ] return e.defineLocale('fi', { months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split( '_' ), monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split( '_' ), weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split( '_' ), weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'), weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'), longDateFormat: { LT: 'HH.mm', LTS: 'HH.mm.ss', L: 'DD.MM.YYYY', LL: 'Do MMMM[ta] YYYY', LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm', LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm', l: 'D.M.YYYY', ll: 'Do MMM YYYY', lll: 'Do MMM YYYY, [klo] HH.mm', llll: 'ddd, Do MMM YYYY, [klo] HH.mm', }, calendar: { sameDay: '[tänään] [klo] LT', nextDay: '[huomenna] [klo] LT', nextWeek: 'dddd [klo] LT', lastDay: '[eilen] [klo] LT', lastWeek: '[viime] dddd[na] [klo] LT', sameElse: 'L', }, relativeTime: { future: '%s päästä', past: '%s sitten', s: t, ss: t, m: t, mm: t, h: t, hh: t, d: t, dd: t, M: t, MM: t, y: t, yy: t, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('fo', { months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split( '_' ), monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split( '_' ), weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split( '_' ), weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'), weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D. MMMM, YYYY HH:mm', }, calendar: { sameDay: '[Í dag kl.] LT', nextDay: '[Í morgin kl.] LT', nextWeek: 'dddd [kl.] LT', lastDay: '[Í gjár kl.] LT', lastWeek: '[síðstu] dddd [kl] LT', sameElse: 'L', }, relativeTime: { future: 'um %s', past: '%s síðani', s: 'fá sekund', ss: '%d sekundir', m: 'ein minuttur', mm: '%d minuttir', h: 'ein tími', hh: '%d tímar', d: 'ein dagur', dd: '%d dagar', M: 'ein mánaður', MM: '%d mánaðir', y: 'eitt ár', yy: '%d ár', }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('fr-ca', { months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( '_' ), monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( '_' ), monthsParseExact: !0, weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split( '_' ), weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'YYYY-MM-DD', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Aujourd’hui à] LT', nextDay: '[Demain à] LT', nextWeek: 'dddd [à] LT', lastDay: '[Hier à] LT', lastWeek: 'dddd [dernier à] LT', sameElse: 'L', }, relativeTime: { future: 'dans %s', past: 'il y a %s', s: 'quelques secondes', ss: '%d secondes', m: 'une minute', mm: '%d minutes', h: 'une heure', hh: '%d heures', d: 'un jour', dd: '%d jours', M: 'un mois', MM: '%d mois', y: 'un an', yy: '%d ans', }, dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, ordinal: function (e, t) { switch (t) { default: case 'M': case 'Q': case 'D': case 'DDD': case 'd': return e + (1 === e ? 'er' : 'e') case 'w': case 'W': return e + (1 === e ? 're' : 'e') } }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('fr-ch', { months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( '_' ), monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( '_' ), monthsParseExact: !0, weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split( '_' ), weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Aujourd’hui à] LT', nextDay: '[Demain à] LT', nextWeek: 'dddd [à] LT', lastDay: '[Hier à] LT', lastWeek: 'dddd [dernier à] LT', sameElse: 'L', }, relativeTime: { future: 'dans %s', past: 'il y a %s', s: 'quelques secondes', ss: '%d secondes', m: 'une minute', mm: '%d minutes', h: 'une heure', hh: '%d heures', d: 'un jour', dd: '%d jours', M: 'un mois', MM: '%d mois', y: 'un an', yy: '%d ans', }, dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, ordinal: function (e, t) { switch (t) { default: case 'M': case 'Q': case 'D': case 'DDD': case 'd': return e + (1 === e ? 'er' : 'e') case 'w': case 'W': return e + (1 === e ? 're' : 'e') } }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('fr', { months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split( '_' ), monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split( '_' ), monthsParseExact: !0, weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split( '_' ), weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Aujourd’hui à] LT', nextDay: '[Demain à] LT', nextWeek: 'dddd [à] LT', lastDay: '[Hier à] LT', lastWeek: 'dddd [dernier à] LT', sameElse: 'L', }, relativeTime: { future: 'dans %s', past: 'il y a %s', s: 'quelques secondes', ss: '%d secondes', m: 'une minute', mm: '%d minutes', h: 'une heure', hh: '%d heures', d: 'un jour', dd: '%d jours', M: 'un mois', MM: '%d mois', y: 'un an', yy: '%d ans', }, dayOfMonthOrdinalParse: /\d{1,2}(er|)/, ordinal: function (e, t) { switch (t) { case 'D': return e + (1 === e ? 'er' : '') default: case 'M': case 'Q': case 'DDD': case 'd': return e + (1 === e ? 'er' : 'e') case 'w': case 'W': return e + (1 === e ? 're' : 'e') } }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split( '_' ), i = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_') return e.defineLocale('fy', { months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split( '_' ), monthsShort: function (e, n) { return e ? (/-MMM-/.test(n) ? i[e.month()] : t[e.month()]) : t }, monthsParseExact: !0, weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split( '_' ), weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'), weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD-MM-YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, calendar: { sameDay: '[hjoed om] LT', nextDay: '[moarn om] LT', nextWeek: 'dddd [om] LT', lastDay: '[juster om] LT', lastWeek: '[ôfrûne] dddd [om] LT', sameElse: 'L', }, relativeTime: { future: 'oer %s', past: '%s lyn', s: 'in pear sekonden', ss: '%d sekonden', m: 'ien minút', mm: '%d minuten', h: 'ien oere', hh: '%d oeren', d: 'ien dei', dd: '%d dagen', M: 'ien moanne', MM: '%d moannen', y: 'ien jier', yy: '%d jierren', }, dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, ordinal: function (e) { return e + (1 === e || 8 === e || e >= 20 ? 'ste' : 'de') }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = [ 'Eanáir', 'Feabhra', 'Márta', 'Aibreán', 'Bealtaine', 'Méitheamh', 'Iúil', 'Lúnasa', 'Meán Fómhair', 'Deaireadh Fómhair', 'Samhain', 'Nollaig', ], i = [ 'Eaná', 'Feab', 'Márt', 'Aibr', 'Beal', 'Méit', 'Iúil', 'Lúna', 'Meán', 'Deai', 'Samh', 'Noll', ], n = [ 'Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', 'Dé Satharn', ], s = ['Dom', 'Lua', 'Mái', 'Céa', 'Déa', 'hAo', 'Sat'], r = ['Do', 'Lu', 'Má', 'Ce', 'Dé', 'hA', 'Sa'] return e.defineLocale('ga', { months: t, monthsShort: i, monthsParseExact: !0, weekdays: n, weekdaysShort: s, weekdaysMin: r, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Inniu ag] LT', nextDay: '[Amárach ag] LT', nextWeek: 'dddd [ag] LT', lastDay: '[Inné aig] LT', lastWeek: 'dddd [seo caite] [ag] LT', sameElse: 'L', }, relativeTime: { future: 'i %s', past: '%s ó shin', s: 'cúpla soicind', ss: '%d soicind', m: 'nóiméad', mm: '%d nóiméad', h: 'uair an chloig', hh: '%d uair an chloig', d: 'lá', dd: '%d lá', M: 'mí', MM: '%d mí', y: 'bliain', yy: '%d bliain', }, dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/, ordinal: function (e) { return e + (1 === e ? 'd' : e % 10 == 2 ? 'na' : 'mh') }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = [ 'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd', ], i = [ 'Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh', ], n = [ 'Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne', ], s = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'], r = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'] return e.defineLocale('gd', { months: t, monthsShort: i, monthsParseExact: !0, weekdays: n, weekdaysShort: s, weekdaysMin: r, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[An-diugh aig] LT', nextDay: '[A-màireach aig] LT', nextWeek: 'dddd [aig] LT', lastDay: '[An-dè aig] LT', lastWeek: 'dddd [seo chaidh] [aig] LT', sameElse: 'L', }, relativeTime: { future: 'ann an %s', past: 'bho chionn %s', s: 'beagan diogan', ss: '%d diogan', m: 'mionaid', mm: '%d mionaidean', h: 'uair', hh: '%d uairean', d: 'latha', dd: '%d latha', M: 'mìos', MM: '%d mìosan', y: 'bliadhna', yy: '%d bliadhna', }, dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/, ordinal: function (e) { return e + (1 === e ? 'd' : e % 10 == 2 ? 'na' : 'mh') }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('gl', { months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split( '_' ), monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split( '_' ), monthsParseExact: !0, weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'), weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'), weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD/MM/YYYY', LL: 'D [de] MMMM [de] YYYY', LLL: 'D [de] MMMM [de] YYYY H:mm', LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', }, calendar: { sameDay: function () { return '[hoxe ' + (1 !== this.hours() ? 'ás' : 'á') + '] LT' }, nextDay: function () { return '[mañá ' + (1 !== this.hours() ? 'ás' : 'á') + '] LT' }, nextWeek: function () { return 'dddd [' + (1 !== this.hours() ? 'ás' : 'a') + '] LT' }, lastDay: function () { return '[onte ' + (1 !== this.hours() ? 'á' : 'a') + '] LT' }, lastWeek: function () { return ( '[o] dddd [pasado ' + (1 !== this.hours() ? 'ás' : 'a') + '] LT' ) }, sameElse: 'L', }, relativeTime: { future: function (e) { return 0 === e.indexOf('un') ? 'n' + e : 'en ' + e }, past: 'hai %s', s: 'uns segundos', ss: '%d segundos', m: 'un minuto', mm: '%d minutos', h: 'unha hora', hh: '%d horas', d: 'un día', dd: '%d días', M: 'un mes', MM: '%d meses', y: 'un ano', yy: '%d anos', }, dayOfMonthOrdinalParse: /\d{1,2}º/, ordinal: '%dº', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i, n) { var s = { s: ['thodde secondanim', 'thodde second'], ss: [e + ' secondanim', e + ' second'], m: ['eka mintan', 'ek minute'], mm: [e + ' mintanim', e + ' mintam'], h: ['eka voran', 'ek vor'], hh: [e + ' voranim', e + ' voram'], d: ['eka disan', 'ek dis'], dd: [e + ' disanim', e + ' dis'], M: ['eka mhoinean', 'ek mhoino'], MM: [e + ' mhoineanim', e + ' mhoine'], y: ['eka vorsan', 'ek voros'], yy: [e + ' vorsanim', e + ' vorsam'], } return t ? s[i][0] : s[i][1] } return e.defineLocale('gom-latn', { months: 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split( '_' ), monthsShort: 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split( '_' ), monthsParseExact: !0, weekdays: "Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split( '_' ), weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'), weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'A h:mm [vazta]', LTS: 'A h:mm:ss [vazta]', L: 'DD-MM-YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY A h:mm [vazta]', LLLL: 'dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]', llll: 'ddd, D MMM YYYY, A h:mm [vazta]', }, calendar: { sameDay: '[Aiz] LT', nextDay: '[Faleam] LT', nextWeek: '[Ieta to] dddd[,] LT', lastDay: '[Kal] LT', lastWeek: '[Fatlo] dddd[,] LT', sameElse: 'L', }, relativeTime: { future: '%s', past: '%s adim', s: t, ss: t, m: t, mm: t, h: t, hh: t, d: t, dd: t, M: t, MM: t, y: t, yy: t, }, dayOfMonthOrdinalParse: /\d{1,2}(er)/, ordinal: function (e, t) { switch (t) { case 'D': return e + 'er' default: case 'M': case 'Q': case 'DDD': case 'd': case 'w': case 'W': return e } }, week: { dow: 1, doy: 4 }, meridiemParse: /rati|sokalli|donparam|sanje/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), 'rati' === t ? e < 4 ? e : e + 12 : 'sokalli' === t ? e : 'donparam' === t ? e > 12 ? e : e + 12 : 'sanje' === t ? e + 12 : void 0 ) }, meridiem: function (e, t, i) { return e < 4 ? 'rati' : e < 12 ? 'sokalli' : e < 16 ? 'donparam' : e < 20 ? 'sanje' : 'rati' }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: '૧', 2: '૨', 3: '૩', 4: '૪', 5: '૫', 6: '૬', 7: '૭', 8: '૮', 9: '૯', 0: '૦', }, i = { '૧': '1', '૨': '2', '૩': '3', '૪': '4', '૫': '5', '૬': '6', '૭': '7', '૮': '8', '૯': '9', '૦': '0', } return e.defineLocale('gu', { months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split( '_' ), monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split( '_' ), monthsParseExact: !0, weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split( '_' ), weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'), weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'), longDateFormat: { LT: 'A h:mm વાગ્યે', LTS: 'A h:mm:ss વાગ્યે', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY, A h:mm વાગ્યે', LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે', }, calendar: { sameDay: '[આજ] LT', nextDay: '[કાલે] LT', nextWeek: 'dddd, LT', lastDay: '[ગઇકાલે] LT', lastWeek: '[પાછલા] dddd, LT', sameElse: 'L', }, relativeTime: { future: '%s મા', past: '%s પેહલા', s: 'અમુક પળો', ss: '%d સેકંડ', m: 'એક મિનિટ', mm: '%d મિનિટ', h: 'એક કલાક', hh: '%d કલાક', d: 'એક દિવસ', dd: '%d દિવસ', M: 'એક મહિનો', MM: '%d મહિનો', y: 'એક વર્ષ', yy: '%d વર્ષ', }, preparse: function (e) { return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (e) { return i[e] }) }, postformat: function (e) { return e.replace(/\d/g, function (e) { return t[e] }) }, meridiemParse: /રાત|બપોર|સવાર|સાંજ/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), 'રાત' === t ? e < 4 ? e : e + 12 : 'સવાર' === t ? e : 'બપોર' === t ? e >= 10 ? e : e + 12 : 'સાંજ' === t ? e + 12 : void 0 ) }, meridiem: function (e, t, i) { return e < 4 ? 'રાત' : e < 10 ? 'સવાર' : e < 17 ? 'બપોર' : e < 20 ? 'સાંજ' : 'રાત' }, week: { dow: 0, doy: 6 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('he', { months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split( '_' ), monthsShort: 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split( '_' ), weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'), weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'), weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D [ב]MMMM YYYY', LLL: 'D [ב]MMMM YYYY HH:mm', LLLL: 'dddd, D [ב]MMMM YYYY HH:mm', l: 'D/M/YYYY', ll: 'D MMM YYYY', lll: 'D MMM YYYY HH:mm', llll: 'ddd, D MMM YYYY HH:mm', }, calendar: { sameDay: '[היום ב־]LT', nextDay: '[מחר ב־]LT', nextWeek: 'dddd [בשעה] LT', lastDay: '[אתמול ב־]LT', lastWeek: '[ביום] dddd [האחרון בשעה] LT', sameElse: 'L', }, relativeTime: { future: 'בעוד %s', past: 'לפני %s', s: 'מספר שניות', ss: '%d שניות', m: 'דקה', mm: '%d דקות', h: 'שעה', hh: function (e) { return 2 === e ? 'שעתיים' : e + ' שעות' }, d: 'יום', dd: function (e) { return 2 === e ? 'יומיים' : e + ' ימים' }, M: 'חודש', MM: function (e) { return 2 === e ? 'חודשיים' : e + ' חודשים' }, y: 'שנה', yy: function (e) { return 2 === e ? 'שנתיים' : e % 10 == 0 && 10 !== e ? e + ' שנה' : e + ' שנים' }, }, meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i, isPM: function (e) { return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(e) }, meridiem: function (e, t, i) { return e < 5 ? 'לפנות בוקר' : e < 10 ? 'בבוקר' : e < 12 ? i ? 'לפנה"צ' : 'לפני הצהריים' : e < 18 ? i ? 'אחה"צ' : 'אחרי הצהריים' : 'בערב' }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: '१', 2: '२', 3: '३', 4: '४', 5: '५', 6: '६', 7: '७', 8: '८', 9: '९', 0: '०', }, i = { '१': '1', '२': '2', '३': '3', '४': '4', '५': '5', '६': '6', '७': '7', '८': '8', '९': '9', '०': '0', } return e.defineLocale('hi', { months: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split( '_' ), monthsShort: 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split( '_' ), monthsParseExact: !0, weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split( '_' ), weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'), weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), longDateFormat: { LT: 'A h:mm बजे', LTS: 'A h:mm:ss बजे', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY, A h:mm बजे', LLLL: 'dddd, D MMMM YYYY, A h:mm बजे', }, calendar: { sameDay: '[आज] LT', nextDay: '[कल] LT', nextWeek: 'dddd, LT', lastDay: '[कल] LT', lastWeek: '[पिछले] dddd, LT', sameElse: 'L', }, relativeTime: { future: '%s में', past: '%s पहले', s: 'कुछ ही क्षण', ss: '%d सेकंड', m: 'एक मिनट', mm: '%d मिनट', h: 'एक घंटा', hh: '%d घंटे', d: 'एक दिन', dd: '%d दिन', M: 'एक महीने', MM: '%d महीने', y: 'एक वर्ष', yy: '%d वर्ष', }, preparse: function (e) { return e.replace(/[१२३४५६७८९०]/g, function (e) { return i[e] }) }, postformat: function (e) { return e.replace(/\d/g, function (e) { return t[e] }) }, meridiemParse: /रात|सुबह|दोपहर|शाम/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), 'रात' === t ? e < 4 ? e : e + 12 : 'सुबह' === t ? e : 'दोपहर' === t ? e >= 10 ? e : e + 12 : 'शाम' === t ? e + 12 : void 0 ) }, meridiem: function (e, t, i) { return e < 4 ? 'रात' : e < 10 ? 'सुबह' : e < 17 ? 'दोपहर' : e < 20 ? 'शाम' : 'रात' }, week: { dow: 0, doy: 6 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i) { var n = e + ' ' switch (i) { case 'ss': return (n += 1 === e ? 'sekunda' : 2 === e || 3 === e || 4 === e ? 'sekunde' : 'sekundi') case 'm': return t ? 'jedna minuta' : 'jedne minute' case 'mm': return (n += 1 === e ? 'minuta' : 2 === e || 3 === e || 4 === e ? 'minute' : 'minuta') case 'h': return t ? 'jedan sat' : 'jednog sata' case 'hh': return (n += 1 === e ? 'sat' : 2 === e || 3 === e || 4 === e ? 'sata' : 'sati') case 'dd': return (n += 1 === e ? 'dan' : 'dana') case 'MM': return (n += 1 === e ? 'mjesec' : 2 === e || 3 === e || 4 === e ? 'mjeseca' : 'mjeseci') case 'yy': return (n += 1 === e ? 'godina' : 2 === e || 3 === e || 4 === e ? 'godine' : 'godina') } } return e.defineLocale('hr', { months: { format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split( '_' ), standalone: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split( '_' ), }, monthsShort: 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split( '_' ), monthsParseExact: !0, weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( '_' ), weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY H:mm', LLLL: 'dddd, D. MMMM YYYY H:mm', }, calendar: { sameDay: '[danas u] LT', nextDay: '[sutra u] LT', nextWeek: function () { switch (this.day()) { case 0: return '[u] [nedjelju] [u] LT' case 3: return '[u] [srijedu] [u] LT' case 6: return '[u] [subotu] [u] LT' case 1: case 2: case 4: case 5: return '[u] dddd [u] LT' } }, lastDay: '[jučer u] LT', lastWeek: function () { switch (this.day()) { case 0: case 3: return '[prošlu] dddd [u] LT' case 6: return '[prošle] [subote] [u] LT' case 1: case 2: case 4: case 5: return '[prošli] dddd [u] LT' } }, sameElse: 'L', }, relativeTime: { future: 'za %s', past: 'prije %s', s: 'par sekundi', ss: t, m: t, mm: t, h: t, hh: t, d: 'dan', dd: t, M: 'mjesec', MM: t, y: 'godinu', yy: t, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i, n) { var s = e switch (i) { case 's': return n || t ? 'néhány másodperc' : 'néhány másodperce' case 'ss': return s + (n || t) ? ' másodperc' : ' másodperce' case 'm': return 'egy' + (n || t ? ' perc' : ' perce') case 'mm': return s + (n || t ? ' perc' : ' perce') case 'h': return 'egy' + (n || t ? ' óra' : ' órája') case 'hh': return s + (n || t ? ' óra' : ' órája') case 'd': return 'egy' + (n || t ? ' nap' : ' napja') case 'dd': return s + (n || t ? ' nap' : ' napja') case 'M': return 'egy' + (n || t ? ' hónap' : ' hónapja') case 'MM': return s + (n || t ? ' hónap' : ' hónapja') case 'y': return 'egy' + (n || t ? ' év' : ' éve') case 'yy': return s + (n || t ? ' év' : ' éve') } return '' } function i(e) { return (e ? '' : '[múlt] ') + '[' + n[this.day()] + '] LT[-kor]' } var n = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split( ' ' ) return e.defineLocale('hu', { months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split( '_' ), monthsShort: 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split( '_' ), weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split( '_' ), weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'), weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'), longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'YYYY.MM.DD.', LL: 'YYYY. MMMM D.', LLL: 'YYYY. MMMM D. H:mm', LLLL: 'YYYY. MMMM D., dddd H:mm', }, meridiemParse: /de|du/i, isPM: function (e) { return 'u' === e.charAt(1).toLowerCase() }, meridiem: function (e, t, i) { return e < 12 ? (!0 === i ? 'de' : 'DE') : !0 === i ? 'du' : 'DU' }, calendar: { sameDay: '[ma] LT[-kor]', nextDay: '[holnap] LT[-kor]', nextWeek: function () { return i.call(this, !0) }, lastDay: '[tegnap] LT[-kor]', lastWeek: function () { return i.call(this, !1) }, sameElse: 'L', }, relativeTime: { future: '%s múlva', past: '%s', s: t, ss: t, m: t, mm: t, h: t, hh: t, d: t, dd: t, M: t, MM: t, y: t, yy: t, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('hy-am', { months: { format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split( '_' ), standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split( '_' ), }, monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split( '_' ), weekdays: 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split( '_' ), weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D MMMM YYYY թ.', LLL: 'D MMMM YYYY թ., HH:mm', LLLL: 'dddd, D MMMM YYYY թ., HH:mm', }, calendar: { sameDay: '[այսօր] LT', nextDay: '[վաղը] LT', lastDay: '[երեկ] LT', nextWeek: function () { return 'dddd [օրը ժամը] LT' }, lastWeek: function () { return '[անցած] dddd [օրը ժամը] LT' }, sameElse: 'L', }, relativeTime: { future: '%s հետո', past: '%s առաջ', s: 'մի քանի վայրկյան', ss: '%d վայրկյան', m: 'րոպե', mm: '%d րոպե', h: 'ժամ', hh: '%d ժամ', d: 'օր', dd: '%d օր', M: 'ամիս', MM: '%d ամիս', y: 'տարի', yy: '%d տարի', }, meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/, isPM: function (e) { return /^(ցերեկվա|երեկոյան)$/.test(e) }, meridiem: function (e) { return e < 4 ? 'գիշերվա' : e < 12 ? 'առավոտվա' : e < 17 ? 'ցերեկվա' : 'երեկոյան' }, dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/, ordinal: function (e, t) { switch (t) { case 'DDD': case 'w': case 'W': case 'DDDo': return 1 === e ? e + '-ին' : e + '-րդ' default: return e } }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('id', { months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split( '_' ), monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split( '_' ), weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'), weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'), weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'), longDateFormat: { LT: 'HH.mm', LTS: 'HH.mm.ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY [pukul] HH.mm', LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', }, meridiemParse: /pagi|siang|sore|malam/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), 'pagi' === t ? e : 'siang' === t ? e >= 11 ? e : e + 12 : 'sore' === t || 'malam' === t ? e + 12 : void 0 ) }, meridiem: function (e, t, i) { return e < 11 ? 'pagi' : e < 15 ? 'siang' : e < 19 ? 'sore' : 'malam' }, calendar: { sameDay: '[Hari ini pukul] LT', nextDay: '[Besok pukul] LT', nextWeek: 'dddd [pukul] LT', lastDay: '[Kemarin pukul] LT', lastWeek: 'dddd [lalu pukul] LT', sameElse: 'L', }, relativeTime: { future: 'dalam %s', past: '%s yang lalu', s: 'beberapa detik', ss: '%d detik', m: 'semenit', mm: '%d menit', h: 'sejam', hh: '%d jam', d: 'sehari', dd: '%d hari', M: 'sebulan', MM: '%d bulan', y: 'setahun', yy: '%d tahun', }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e) { return e % 100 == 11 || e % 10 != 1 } function i(e, i, n, s) { var r = e + ' ' switch (n) { case 's': return i || s ? 'nokkrar sekúndur' : 'nokkrum sekúndum' case 'ss': return t(e) ? r + (i || s ? 'sekúndur' : 'sekúndum') : r + 'sekúnda' case 'm': return i ? 'mínúta' : 'mínútu' case 'mm': return t(e) ? r + (i || s ? 'mínútur' : 'mínútum') : i ? r + 'mínúta' : r + 'mínútu' case 'hh': return t(e) ? r + (i || s ? 'klukkustundir' : 'klukkustundum') : r + 'klukkustund' case 'd': return i ? 'dagur' : s ? 'dag' : 'degi' case 'dd': return t(e) ? i ? r + 'dagar' : r + (s ? 'daga' : 'dögum') : i ? r + 'dagur' : r + (s ? 'dag' : 'degi') case 'M': return i ? 'mánuður' : s ? 'mánuð' : 'mánuði' case 'MM': return t(e) ? i ? r + 'mánuðir' : r + (s ? 'mánuði' : 'mánuðum') : i ? r + 'mánuður' : r + (s ? 'mánuð' : 'mánuði') case 'y': return i || s ? 'ár' : 'ári' case 'yy': return t(e) ? r + (i || s ? 'ár' : 'árum') : r + (i || s ? 'ár' : 'ári') } } return e.defineLocale('is', { months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split( '_' ), monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split( '_' ), weekdays: 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split( '_' ), weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'), weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'), longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY [kl.] H:mm', LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm', }, calendar: { sameDay: '[í dag kl.] LT', nextDay: '[á morgun kl.] LT', nextWeek: 'dddd [kl.] LT', lastDay: '[í gær kl.] LT', lastWeek: '[síðasta] dddd [kl.] LT', sameElse: 'L', }, relativeTime: { future: 'eftir %s', past: 'fyrir %s síðan', s: i, ss: i, m: i, mm: i, h: 'klukkustund', hh: i, d: i, dd: i, M: i, MM: i, y: i, yy: i, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('it-ch', { months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split( '_' ), monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split( '_' ), weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'), weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Oggi alle] LT', nextDay: '[Domani alle] LT', nextWeek: 'dddd [alle] LT', lastDay: '[Ieri alle] LT', lastWeek: function () { switch (this.day()) { case 0: return '[la scorsa] dddd [alle] LT' default: return '[lo scorso] dddd [alle] LT' } }, sameElse: 'L', }, relativeTime: { future: function (e) { return (/^[0-9].+$/.test(e) ? 'tra' : 'in') + ' ' + e }, past: '%s fa', s: 'alcuni secondi', ss: '%d secondi', m: 'un minuto', mm: '%d minuti', h: "un'ora", hh: '%d ore', d: 'un giorno', dd: '%d giorni', M: 'un mese', MM: '%d mesi', y: 'un anno', yy: '%d anni', }, dayOfMonthOrdinalParse: /\d{1,2}º/, ordinal: '%dº', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('it', { months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split( '_' ), monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split( '_' ), weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'), weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Oggi alle] LT', nextDay: '[Domani alle] LT', nextWeek: 'dddd [alle] LT', lastDay: '[Ieri alle] LT', lastWeek: function () { switch (this.day()) { case 0: return '[la scorsa] dddd [alle] LT' default: return '[lo scorso] dddd [alle] LT' } }, sameElse: 'L', }, relativeTime: { future: function (e) { return (/^[0-9].+$/.test(e) ? 'tra' : 'in') + ' ' + e }, past: '%s fa', s: 'alcuni secondi', ss: '%d secondi', m: 'un minuto', mm: '%d minuti', h: "un'ora", hh: '%d ore', d: 'un giorno', dd: '%d giorni', M: 'un mese', MM: '%d mesi', y: 'un anno', yy: '%d anni', }, dayOfMonthOrdinalParse: /\d{1,2}º/, ordinal: '%dº', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('ja', { months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( '_' ), monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( '_' ), weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'), weekdaysShort: '日_月_火_水_木_金_土'.split('_'), weekdaysMin: '日_月_火_水_木_金_土'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'YYYY/MM/DD', LL: 'YYYY年M月D日', LLL: 'YYYY年M月D日 HH:mm', LLLL: 'YYYY年M月D日 dddd HH:mm', l: 'YYYY/MM/DD', ll: 'YYYY年M月D日', lll: 'YYYY年M月D日 HH:mm', llll: 'YYYY年M月D日(ddd) HH:mm', }, meridiemParse: /午前|午後/i, isPM: function (e) { return '午後' === e }, meridiem: function (e, t, i) { return e < 12 ? '午前' : '午後' }, calendar: { sameDay: '[今日] LT', nextDay: '[明日] LT', nextWeek: function (e) { return e.week() < this.week() ? '[来週]dddd LT' : 'dddd LT' }, lastDay: '[昨日] LT', lastWeek: function (e) { return this.week() < e.week() ? '[先週]dddd LT' : 'dddd LT' }, sameElse: 'L', }, dayOfMonthOrdinalParse: /\d{1,2}日/, ordinal: function (e, t) { switch (t) { case 'd': case 'D': case 'DDD': return e + '日' default: return e } }, relativeTime: { future: '%s後', past: '%s前', s: '数秒', ss: '%d秒', m: '1分', mm: '%d分', h: '1時間', hh: '%d時間', d: '1日', dd: '%d日', M: '1ヶ月', MM: '%dヶ月', y: '1年', yy: '%d年', }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('jv', { months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split( '_' ), monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split( '_' ), weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'), weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'), weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'), longDateFormat: { LT: 'HH.mm', LTS: 'HH.mm.ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY [pukul] HH.mm', LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', }, meridiemParse: /enjing|siyang|sonten|ndalu/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), 'enjing' === t ? e : 'siyang' === t ? e >= 11 ? e : e + 12 : 'sonten' === t || 'ndalu' === t ? e + 12 : void 0 ) }, meridiem: function (e, t, i) { return e < 11 ? 'enjing' : e < 15 ? 'siyang' : e < 19 ? 'sonten' : 'ndalu' }, calendar: { sameDay: '[Dinten puniko pukul] LT', nextDay: '[Mbenjang pukul] LT', nextWeek: 'dddd [pukul] LT', lastDay: '[Kala wingi pukul] LT', lastWeek: 'dddd [kepengker pukul] LT', sameElse: 'L', }, relativeTime: { future: 'wonten ing %s', past: '%s ingkang kepengker', s: 'sawetawis detik', ss: '%d detik', m: 'setunggal menit', mm: '%d menit', h: 'setunggal jam', hh: '%d jam', d: 'sedinten', dd: '%d dinten', M: 'sewulan', MM: '%d wulan', y: 'setaun', yy: '%d taun', }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('ka', { months: { standalone: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split( '_' ), format: 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split( '_' ), }, monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split( '_' ), weekdays: { standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split( '_' ), format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split( '_' ), isFormat: /(წინა|შემდეგ)/, }, weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'), weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'), longDateFormat: { LT: 'h:mm A', LTS: 'h:mm:ss A', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY h:mm A', LLLL: 'dddd, D MMMM YYYY h:mm A', }, calendar: { sameDay: '[დღეს] LT[-ზე]', nextDay: '[ხვალ] LT[-ზე]', lastDay: '[გუშინ] LT[-ზე]', nextWeek: '[შემდეგ] dddd LT[-ზე]', lastWeek: '[წინა] dddd LT-ზე', sameElse: 'L', }, relativeTime: { future: function (e) { return /(წამი|წუთი|საათი|წელი)/.test(e) ? e.replace(/ი$/, 'ში') : e + 'ში' }, past: function (e) { return /(წამი|წუთი|საათი|დღე|თვე)/.test(e) ? e.replace(/(ი|ე)$/, 'ის წინ') : /წელი/.test(e) ? e.replace(/წელი$/, 'წლის წინ') : void 0 }, s: 'რამდენიმე წამი', ss: '%d წამი', m: 'წუთი', mm: '%d წუთი', h: 'საათი', hh: '%d საათი', d: 'დღე', dd: '%d დღე', M: 'თვე', MM: '%d თვე', y: 'წელი', yy: '%d წელი', }, dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/, ordinal: function (e) { return 0 === e ? e : 1 === e ? e + '-ლი' : e < 20 || (e <= 100 && e % 20 == 0) || e % 100 == 0 ? 'მე-' + e : e + '-ე' }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 0: '-ші', 1: '-ші', 2: '-ші', 3: '-ші', 4: '-ші', 5: '-ші', 6: '-шы', 7: '-ші', 8: '-ші', 9: '-шы', 10: '-шы', 20: '-шы', 30: '-шы', 40: '-шы', 50: '-ші', 60: '-шы', 70: '-ші', 80: '-ші', 90: '-шы', 100: '-ші', } return e.defineLocale('kk', { months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split( '_' ), monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split( '_' ), weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'), weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'), weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Бүгін сағат] LT', nextDay: '[Ертең сағат] LT', nextWeek: 'dddd [сағат] LT', lastDay: '[Кеше сағат] LT', lastWeek: '[Өткен аптаның] dddd [сағат] LT', sameElse: 'L', }, relativeTime: { future: '%s ішінде', past: '%s бұрын', s: 'бірнеше секунд', ss: '%d секунд', m: 'бір минут', mm: '%d минут', h: 'бір сағат', hh: '%d сағат', d: 'бір күн', dd: '%d күн', M: 'бір ай', MM: '%d ай', y: 'бір жыл', yy: '%d жыл', }, dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/, ordinal: function (e) { var i = e % 10, n = e >= 100 ? 100 : null return e + (t[e] || t[i] || t[n]) }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: '១', 2: '២', 3: '៣', 4: '៤', 5: '៥', 6: '៦', 7: '៧', 8: '៨', 9: '៩', 0: '០', }, i = { '១': '1', '២': '2', '៣': '3', '៤': '4', '៥': '5', '៦': '6', '៧': '7', '៨': '8', '៩': '9', '០': '0', } return e.defineLocale('km', { months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split( '_' ), monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split( '_' ), weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, meridiemParse: /ព្រឹក|ល្ងាច/, isPM: function (e) { return 'ល្ងាច' === e }, meridiem: function (e, t, i) { return e < 12 ? 'ព្រឹក' : 'ល្ងាច' }, calendar: { sameDay: '[ថ្ងៃនេះ ម៉ោង] LT', nextDay: '[ស្អែក ម៉ោង] LT', nextWeek: 'dddd [ម៉ោង] LT', lastDay: '[ម្សិលមិញ ម៉ោង] LT', lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT', sameElse: 'L', }, relativeTime: { future: '%sទៀត', past: '%sមុន', s: 'ប៉ុន្មានវិនាទី', ss: '%d វិនាទី', m: 'មួយនាទី', mm: '%d នាទី', h: 'មួយម៉ោង', hh: '%d ម៉ោង', d: 'មួយថ្ងៃ', dd: '%d ថ្ងៃ', M: 'មួយខែ', MM: '%d ខែ', y: 'មួយឆ្នាំ', yy: '%d ឆ្នាំ', }, dayOfMonthOrdinalParse: /ទី\d{1,2}/, ordinal: 'ទី%d', preparse: function (e) { return e.replace(/[១២៣៤៥៦៧៨៩០]/g, function (e) { return i[e] }) }, postformat: function (e) { return e.replace(/\d/g, function (e) { return t[e] }) }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: '೧', 2: '೨', 3: '೩', 4: '೪', 5: '೫', 6: '೬', 7: '೭', 8: '೮', 9: '೯', 0: '೦', }, i = { '೧': '1', '೨': '2', '೩': '3', '೪': '4', '೫': '5', '೬': '6', '೭': '7', '೮': '8', '೯': '9', '೦': '0', } return e.defineLocale('kn', { months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split( '_' ), monthsShort: 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split( '_' ), monthsParseExact: !0, weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split('_'), weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'), weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'), longDateFormat: { LT: 'A h:mm', LTS: 'A h:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY, A h:mm', LLLL: 'dddd, D MMMM YYYY, A h:mm', }, calendar: { sameDay: '[ಇಂದು] LT', nextDay: '[ನಾಳೆ] LT', nextWeek: 'dddd, LT', lastDay: '[ನಿನ್ನೆ] LT', lastWeek: '[ಕೊನೆಯ] dddd, LT', sameElse: 'L', }, relativeTime: { future: '%s ನಂತರ', past: '%s ಹಿಂದೆ', s: 'ಕೆಲವು ಕ್ಷಣಗಳು', ss: '%d ಸೆಕೆಂಡುಗಳು', m: 'ಒಂದು ನಿಮಿಷ', mm: '%d ನಿಮಿಷ', h: 'ಒಂದು ಗಂಟೆ', hh: '%d ಗಂಟೆ', d: 'ಒಂದು ದಿನ', dd: '%d ದಿನ', M: 'ಒಂದು ತಿಂಗಳು', MM: '%d ತಿಂಗಳು', y: 'ಒಂದು ವರ್ಷ', yy: '%d ವರ್ಷ', }, preparse: function (e) { return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (e) { return i[e] }) }, postformat: function (e) { return e.replace(/\d/g, function (e) { return t[e] }) }, meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), 'ರಾತ್ರಿ' === t ? e < 4 ? e : e + 12 : 'ಬೆಳಿಗ್ಗೆ' === t ? e : 'ಮಧ್ಯಾಹ್ನ' === t ? e >= 10 ? e : e + 12 : 'ಸಂಜೆ' === t ? e + 12 : void 0 ) }, meridiem: function (e, t, i) { return e < 4 ? 'ರಾತ್ರಿ' : e < 10 ? 'ಬೆಳಿಗ್ಗೆ' : e < 17 ? 'ಮಧ್ಯಾಹ್ನ' : e < 20 ? 'ಸಂಜೆ' : 'ರಾತ್ರಿ' }, dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/, ordinal: function (e) { return e + 'ನೇ' }, week: { dow: 0, doy: 6 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('ko', { months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split( '_' ), weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'), weekdaysShort: '일_월_화_수_목_금_토'.split('_'), weekdaysMin: '일_월_화_수_목_금_토'.split('_'), longDateFormat: { LT: 'A h:mm', LTS: 'A h:mm:ss', L: 'YYYY.MM.DD.', LL: 'YYYY년 MMMM D일', LLL: 'YYYY년 MMMM D일 A h:mm', LLLL: 'YYYY년 MMMM D일 dddd A h:mm', l: 'YYYY.MM.DD.', ll: 'YYYY년 MMMM D일', lll: 'YYYY년 MMMM D일 A h:mm', llll: 'YYYY년 MMMM D일 dddd A h:mm', }, calendar: { sameDay: '오늘 LT', nextDay: '내일 LT', nextWeek: 'dddd LT', lastDay: '어제 LT', lastWeek: '지난주 dddd LT', sameElse: 'L', }, relativeTime: { future: '%s 후', past: '%s 전', s: '몇 초', ss: '%d초', m: '1분', mm: '%d분', h: '한 시간', hh: '%d시간', d: '하루', dd: '%d일', M: '한 달', MM: '%d달', y: '일 년', yy: '%d년', }, dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/, ordinal: function (e, t) { switch (t) { case 'd': case 'D': case 'DDD': return e + '일' case 'M': return e + '월' case 'w': case 'W': return e + '주' default: return e } }, meridiemParse: /오전|오후/, isPM: function (e) { return '오후' === e }, meridiem: function (e, t, i) { return e < 12 ? '오전' : '오후' }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: '١', 2: '٢', 3: '٣', 4: '٤', 5: '٥', 6: '٦', 7: '٧', 8: '٨', 9: '٩', 0: '٠', }, i = { '١': '1', '٢': '2', '٣': '3', '٤': '4', '٥': '5', '٦': '6', '٧': '7', '٨': '8', '٩': '9', '٠': '0', }, n = [ 'کانونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', 'حوزەیران', 'تەمموز', 'ئاب', 'ئەیلوول', 'تشرینی یەكەم', 'تشرینی دووەم', 'كانونی یەکەم', ] return e.defineLocale('ku', { months: n, monthsShort: n, weekdays: 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split( '_' ), weekdaysShort: 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'), weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, meridiemParse: /ئێواره‌|به‌یانی/, isPM: function (e) { return /ئێواره‌/.test(e) }, meridiem: function (e, t, i) { return e < 12 ? 'به‌یانی' : 'ئێواره‌' }, calendar: { sameDay: '[ئه‌مرۆ كاتژمێر] LT', nextDay: '[به‌یانی كاتژمێر] LT', nextWeek: 'dddd [كاتژمێر] LT', lastDay: '[دوێنێ كاتژمێر] LT', lastWeek: 'dddd [كاتژمێر] LT', sameElse: 'L', }, relativeTime: { future: 'له‌ %s', past: '%s', s: 'چه‌ند چركه‌یه‌ك', ss: 'چركه‌ %d', m: 'یه‌ك خوله‌ك', mm: '%d خوله‌ك', h: 'یه‌ك كاتژمێر', hh: '%d كاتژمێر', d: 'یه‌ك ڕۆژ', dd: '%d ڕۆژ', M: 'یه‌ك مانگ', MM: '%d مانگ', y: 'یه‌ك ساڵ', yy: '%d ساڵ', }, preparse: function (e) { return e .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (e) { return i[e] }) .replace(/،/g, ',') }, postformat: function (e) { return e .replace(/\d/g, function (e) { return t[e] }) .replace(/,/g, '،') }, week: { dow: 6, doy: 12 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 0: '-чү', 1: '-чи', 2: '-чи', 3: '-чү', 4: '-чү', 5: '-чи', 6: '-чы', 7: '-чи', 8: '-чи', 9: '-чу', 10: '-чу', 20: '-чы', 30: '-чу', 40: '-чы', 50: '-чү', 60: '-чы', 70: '-чи', 80: '-чи', 90: '-чу', 100: '-чү', } return e.defineLocale('ky', { months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split( '_' ), monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split( '_' ), weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'), weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'), weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Бүгүн саат] LT', nextDay: '[Эртең саат] LT', nextWeek: 'dddd [саат] LT', lastDay: '[Кечээ саат] LT', lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT', sameElse: 'L', }, relativeTime: { future: '%s ичинде', past: '%s мурун', s: 'бирнече секунд', ss: '%d секунд', m: 'бир мүнөт', mm: '%d мүнөт', h: 'бир саат', hh: '%d саат', d: 'бир күн', dd: '%d күн', M: 'бир ай', MM: '%d ай', y: 'бир жыл', yy: '%d жыл', }, dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/, ordinal: function (e) { var i = e % 10, n = e >= 100 ? 100 : null return e + (t[e] || t[i] || t[n]) }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i, n) { var s = { m: ['eng Minutt', 'enger Minutt'], h: ['eng Stonn', 'enger Stonn'], d: ['een Dag', 'engem Dag'], M: ['ee Mount', 'engem Mount'], y: ['ee Joer', 'engem Joer'], } return t ? s[i][0] : s[i][1] } function i(e) { return s(e.substr(0, e.indexOf(' '))) ? 'a ' + e : 'an ' + e } function n(e) { return s(e.substr(0, e.indexOf(' '))) ? 'viru ' + e : 'virun ' + e } function s(e) { if (((e = parseInt(e, 10)), isNaN(e))) return !1 if (e < 0) return !0 if (e < 10) return 4 <= e && e <= 7 if (e < 100) { var t = e % 10, i = e / 10 return s(0 === t ? i : t) } if (e < 1e4) { for (; e >= 10; ) e /= 10 return s(e) } return (e /= 1e3), s(e) } return e.defineLocale('lb', { months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split( '_' ), monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split( '_' ), monthsParseExact: !0, weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split( '_' ), weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'), weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'H:mm [Auer]', LTS: 'H:mm:ss [Auer]', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY H:mm [Auer]', LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]', }, calendar: { sameDay: '[Haut um] LT', sameElse: 'L', nextDay: '[Muer um] LT', nextWeek: 'dddd [um] LT', lastDay: '[Gëschter um] LT', lastWeek: function () { switch (this.day()) { case 2: case 4: return '[Leschten] dddd [um] LT' default: return '[Leschte] dddd [um] LT' } }, }, relativeTime: { future: i, past: n, s: 'e puer Sekonnen', ss: '%d Sekonnen', m: t, mm: '%d Minutten', h: t, hh: '%d Stonnen', d: t, dd: '%d Deeg', M: t, MM: '%d Méint', y: t, yy: '%d Joer', }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('lo', { months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split( '_' ), monthsShort: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split( '_' ), weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'ວັນdddd D MMMM YYYY HH:mm', }, meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/, isPM: function (e) { return 'ຕອນແລງ' === e }, meridiem: function (e, t, i) { return e < 12 ? 'ຕອນເຊົ້າ' : 'ຕອນແລງ' }, calendar: { sameDay: '[ມື້ນີ້ເວລາ] LT', nextDay: '[ມື້ອື່ນເວລາ] LT', nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT', lastDay: '[ມື້ວານນີ້ເວລາ] LT', lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT', sameElse: 'L', }, relativeTime: { future: 'ອີກ %s', past: '%sຜ່ານມາ', s: 'ບໍ່ເທົ່າໃດວິນາທີ', ss: '%d ວິນາທີ', m: '1 ນາທີ', mm: '%d ນາທີ', h: '1 ຊົ່ວໂມງ', hh: '%d ຊົ່ວໂມງ', d: '1 ມື້', dd: '%d ມື້', M: '1 ເດືອນ', MM: '%d ເດືອນ', y: '1 ປີ', yy: '%d ປີ', }, dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/, ordinal: function (e) { return 'ທີ່' + e }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i, n) { return t ? 'kelios sekundės' : n ? 'kelių sekundžių' : 'kelias sekundes' } function i(e, t, i, n) { return t ? s(i)[0] : n ? s(i)[1] : s(i)[2] } function n(e) { return e % 10 == 0 || (e > 10 && e < 20) } function s(e) { return a[e].split('_') } function r(e, t, r, a) { var o = e + ' ' return 1 === e ? o + i(e, t, r[0], a) : t ? o + (n(e) ? s(r)[1] : s(r)[0]) : a ? o + s(r)[1] : o + (n(e) ? s(r)[1] : s(r)[2]) } var a = { ss: 'sekundė_sekundžių_sekundes', m: 'minutė_minutės_minutę', mm: 'minutės_minučių_minutes', h: 'valanda_valandos_valandą', hh: 'valandos_valandų_valandas', d: 'diena_dienos_dieną', dd: 'dienos_dienų_dienas', M: 'mėnuo_mėnesio_mėnesį', MM: 'mėnesiai_mėnesių_mėnesius', y: 'metai_metų_metus', yy: 'metai_metų_metus', } return e.defineLocale('lt', { months: { format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split( '_' ), standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split( '_' ), isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/, }, monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split( '_' ), weekdays: { format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split( '_' ), standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split( '_' ), isFormat: /dddd HH:mm/, }, weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'), weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'YYYY-MM-DD', LL: 'YYYY [m.] MMMM D [d.]', LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]', l: 'YYYY-MM-DD', ll: 'YYYY [m.] MMMM D [d.]', lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]', }, calendar: { sameDay: '[Šiandien] LT', nextDay: '[Rytoj] LT', nextWeek: 'dddd LT', lastDay: '[Vakar] LT', lastWeek: '[Praėjusį] dddd LT', sameElse: 'L', }, relativeTime: { future: 'po %s', past: 'prieš %s', s: t, ss: r, m: i, mm: r, h: i, hh: r, d: i, dd: r, M: i, MM: r, y: i, yy: r, }, dayOfMonthOrdinalParse: /\d{1,2}-oji/, ordinal: function (e) { return e + '-oji' }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i) { return i ? t % 10 == 1 && t % 100 != 11 ? e[2] : e[3] : t % 10 == 1 && t % 100 != 11 ? e[0] : e[1] } function i(e, i, n) { return e + ' ' + t(r[n], e, i) } function n(e, i, n) { return t(r[n], e, i) } function s(e, t) { return t ? 'dažas sekundes' : 'dažām sekundēm' } var r = { ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'), m: 'minūtes_minūtēm_minūte_minūtes'.split('_'), mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'), h: 'stundas_stundām_stunda_stundas'.split('_'), hh: 'stundas_stundām_stunda_stundas'.split('_'), d: 'dienas_dienām_diena_dienas'.split('_'), dd: 'dienas_dienām_diena_dienas'.split('_'), M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), y: 'gada_gadiem_gads_gadi'.split('_'), yy: 'gada_gadiem_gads_gadi'.split('_'), } return e.defineLocale('lv', { months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split( '_' ), monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split( '_' ), weekdays: 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split( '_' ), weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'), weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY.', LL: 'YYYY. [gada] D. MMMM', LLL: 'YYYY. [gada] D. MMMM, HH:mm', LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm', }, calendar: { sameDay: '[Šodien pulksten] LT', nextDay: '[Rīt pulksten] LT', nextWeek: 'dddd [pulksten] LT', lastDay: '[Vakar pulksten] LT', lastWeek: '[Pagājušā] dddd [pulksten] LT', sameElse: 'L', }, relativeTime: { future: 'pēc %s', past: 'pirms %s', s: s, ss: i, m: n, mm: i, h: n, hh: i, d: n, dd: i, M: n, MM: i, y: n, yy: i, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { words: { ss: ['sekund', 'sekunda', 'sekundi'], m: ['jedan minut', 'jednog minuta'], mm: ['minut', 'minuta', 'minuta'], h: ['jedan sat', 'jednog sata'], hh: ['sat', 'sata', 'sati'], dd: ['dan', 'dana', 'dana'], MM: ['mjesec', 'mjeseca', 'mjeseci'], yy: ['godina', 'godine', 'godina'], }, correctGrammaticalCase: function (e, t) { return 1 === e ? t[0] : e >= 2 && e <= 4 ? t[1] : t[2] }, translate: function (e, i, n) { var s = t.words[n] return 1 === n.length ? i ? s[0] : s[1] : e + ' ' + t.correctGrammaticalCase(e, s) }, } return e.defineLocale('me', { months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split( '_' ), monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), monthsParseExact: !0, weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split( '_' ), weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY H:mm', LLLL: 'dddd, D. MMMM YYYY H:mm', }, calendar: { sameDay: '[danas u] LT', nextDay: '[sjutra u] LT', nextWeek: function () { switch (this.day()) { case 0: return '[u] [nedjelju] [u] LT' case 3: return '[u] [srijedu] [u] LT' case 6: return '[u] [subotu] [u] LT' case 1: case 2: case 4: case 5: return '[u] dddd [u] LT' } }, lastDay: '[juče u] LT', lastWeek: function () { return [ '[prošle] [nedjelje] [u] LT', '[prošlog] [ponedjeljka] [u] LT', '[prošlog] [utorka] [u] LT', '[prošle] [srijede] [u] LT', '[prošlog] [četvrtka] [u] LT', '[prošlog] [petka] [u] LT', '[prošle] [subote] [u] LT', ][this.day()] }, sameElse: 'L', }, relativeTime: { future: 'za %s', past: 'prije %s', s: 'nekoliko sekundi', ss: t.translate, m: t.translate, mm: t.translate, h: t.translate, hh: t.translate, d: 'dan', dd: t.translate, M: 'mjesec', MM: t.translate, y: 'godinu', yy: t.translate, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('mi', { months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split( '_' ), monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split( '_' ), monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i, weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'), weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY [i] HH:mm', LLLL: 'dddd, D MMMM YYYY [i] HH:mm', }, calendar: { sameDay: '[i teie mahana, i] LT', nextDay: '[apopo i] LT', nextWeek: 'dddd [i] LT', lastDay: '[inanahi i] LT', lastWeek: 'dddd [whakamutunga i] LT', sameElse: 'L', }, relativeTime: { future: 'i roto i %s', past: '%s i mua', s: 'te hēkona ruarua', ss: '%d hēkona', m: 'he meneti', mm: '%d meneti', h: 'te haora', hh: '%d haora', d: 'he ra', dd: '%d ra', M: 'he marama', MM: '%d marama', y: 'he tau', yy: '%d tau', }, dayOfMonthOrdinalParse: /\d{1,2}º/, ordinal: '%dº', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('mk', { months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split( '_' ), monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split( '_' ), weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split( '_' ), weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'), weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'), longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'D.MM.YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY H:mm', LLLL: 'dddd, D MMMM YYYY H:mm', }, calendar: { sameDay: '[Денес во] LT', nextDay: '[Утре во] LT', nextWeek: '[Во] dddd [во] LT', lastDay: '[Вчера во] LT', lastWeek: function () { switch (this.day()) { case 0: case 3: case 6: return '[Изминатата] dddd [во] LT' case 1: case 2: case 4: case 5: return '[Изминатиот] dddd [во] LT' } }, sameElse: 'L', }, relativeTime: { future: 'после %s', past: 'пред %s', s: 'неколку секунди', ss: '%d секунди', m: 'минута', mm: '%d минути', h: 'час', hh: '%d часа', d: 'ден', dd: '%d дена', M: 'месец', MM: '%d месеци', y: 'година', yy: '%d години', }, dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, ordinal: function (e) { var t = e % 10, i = e % 100 return 0 === e ? e + '-ев' : 0 === i ? e + '-ен' : i > 10 && i < 20 ? e + '-ти' : 1 === t ? e + '-ви' : 2 === t ? e + '-ри' : 7 === t || 8 === t ? e + '-ми' : e + '-ти' }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('ml', { months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split( '_' ), monthsShort: 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split( '_' ), monthsParseExact: !0, weekdays: 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split( '_' ), weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'), weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'), longDateFormat: { LT: 'A h:mm -നു', LTS: 'A h:mm:ss -നു', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY, A h:mm -നു', LLLL: 'dddd, D MMMM YYYY, A h:mm -നു', }, calendar: { sameDay: '[ഇന്ന്] LT', nextDay: '[നാളെ] LT', nextWeek: 'dddd, LT', lastDay: '[ഇന്നലെ] LT', lastWeek: '[കഴിഞ്ഞ] dddd, LT', sameElse: 'L', }, relativeTime: { future: '%s കഴിഞ്ഞ്', past: '%s മുൻപ്', s: 'അൽപ നിമിഷങ്ങൾ', ss: '%d സെക്കൻഡ്', m: 'ഒരു മിനിറ്റ്', mm: '%d മിനിറ്റ്', h: 'ഒരു മണിക്കൂർ', hh: '%d മണിക്കൂർ', d: 'ഒരു ദിവസം', dd: '%d ദിവസം', M: 'ഒരു മാസം', MM: '%d മാസം', y: 'ഒരു വർഷം', yy: '%d വർഷം', }, meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), ('രാത്രി' === t && e >= 4) || 'ഉച്ച കഴിഞ്ഞ്' === t || 'വൈകുന്നേരം' === t ? e + 12 : e ) }, meridiem: function (e, t, i) { return e < 4 ? 'രാത്രി' : e < 12 ? 'രാവിലെ' : e < 17 ? 'ഉച്ച കഴിഞ്ഞ്' : e < 20 ? 'വൈകുന്നേരം' : 'രാത്രി' }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i, n) { switch (i) { case 's': return t ? 'хэдхэн секунд' : 'хэдхэн секундын' case 'ss': return e + (t ? ' секунд' : ' секундын') case 'm': case 'mm': return e + (t ? ' минут' : ' минутын') case 'h': case 'hh': return e + (t ? ' цаг' : ' цагийн') case 'd': case 'dd': return e + (t ? ' өдөр' : ' өдрийн') case 'M': case 'MM': return e + (t ? ' сар' : ' сарын') case 'y': case 'yy': return e + (t ? ' жил' : ' жилийн') default: return e } } return e.defineLocale('mn', { months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split( '_' ), monthsShort: '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split( '_' ), monthsParseExact: !0, weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'), weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'), weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'YYYY-MM-DD', LL: 'YYYY оны MMMMын D', LLL: 'YYYY оны MMMMын D HH:mm', LLLL: 'dddd, YYYY оны MMMMын D HH:mm', }, meridiemParse: /ҮӨ|ҮХ/i, isPM: function (e) { return 'ҮХ' === e }, meridiem: function (e, t, i) { return e < 12 ? 'ҮӨ' : 'ҮХ' }, calendar: { sameDay: '[Өнөөдөр] LT', nextDay: '[Маргааш] LT', nextWeek: '[Ирэх] dddd LT', lastDay: '[Өчигдөр] LT', lastWeek: '[Өнгөрсөн] dddd LT', sameElse: 'L', }, relativeTime: { future: '%s дараа', past: '%s өмнө', s: t, ss: t, m: t, mm: t, h: t, hh: t, d: t, dd: t, M: t, MM: t, y: t, yy: t, }, dayOfMonthOrdinalParse: /\d{1,2} өдөр/, ordinal: function (e, t) { switch (t) { case 'd': case 'D': case 'DDD': return e + ' өдөр' default: return e } }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i, n) { var s = '' if (t) switch (i) { case 's': s = 'काही सेकंद' break case 'ss': s = '%d सेकंद' break case 'm': s = 'एक मिनिट' break case 'mm': s = '%d मिनिटे' break case 'h': s = 'एक तास' break case 'hh': s = '%d तास' break case 'd': s = 'एक दिवस' break case 'dd': s = '%d दिवस' break case 'M': s = 'एक महिना' break case 'MM': s = '%d महिने' break case 'y': s = 'एक वर्ष' break case 'yy': s = '%d वर्षे' } else switch (i) { case 's': s = 'काही सेकंदां' break case 'ss': s = '%d सेकंदां' break case 'm': s = 'एका मिनिटा' break case 'mm': s = '%d मिनिटां' break case 'h': s = 'एका तासा' break case 'hh': s = '%d तासां' break case 'd': s = 'एका दिवसा' break case 'dd': s = '%d दिवसां' break case 'M': s = 'एका महिन्या' break case 'MM': s = '%d महिन्यां' break case 'y': s = 'एका वर्षा' break case 'yy': s = '%d वर्षां' } return s.replace(/%d/i, e) } var i = { 1: '१', 2: '२', 3: '३', 4: '४', 5: '५', 6: '६', 7: '७', 8: '८', 9: '९', 0: '०', }, n = { '१': '1', '२': '2', '३': '3', '४': '4', '५': '5', '६': '6', '७': '7', '८': '8', '९': '9', '०': '0', } return e.defineLocale('mr', { months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split( '_' ), monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split( '_' ), monthsParseExact: !0, weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split( '_' ), weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'), weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), longDateFormat: { LT: 'A h:mm वाजता', LTS: 'A h:mm:ss वाजता', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY, A h:mm वाजता', LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता', }, calendar: { sameDay: '[आज] LT', nextDay: '[उद्या] LT', nextWeek: 'dddd, LT', lastDay: '[काल] LT', lastWeek: '[मागील] dddd, LT', sameElse: 'L', }, relativeTime: { future: '%sमध्ये', past: '%sपूर्वी', s: t, ss: t, m: t, mm: t, h: t, hh: t, d: t, dd: t, M: t, MM: t, y: t, yy: t, }, preparse: function (e) { return e.replace(/[१२३४५६७८९०]/g, function (e) { return n[e] }) }, postformat: function (e) { return e.replace(/\d/g, function (e) { return i[e] }) }, meridiemParse: /रात्री|सकाळी|दुपारी|सायंकाळी/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), 'रात्री' === t ? e < 4 ? e : e + 12 : 'सकाळी' === t ? e : 'दुपारी' === t ? e >= 10 ? e : e + 12 : 'सायंकाळी' === t ? e + 12 : void 0 ) }, meridiem: function (e, t, i) { return e < 4 ? 'रात्री' : e < 10 ? 'सकाळी' : e < 17 ? 'दुपारी' : e < 20 ? 'सायंकाळी' : 'रात्री' }, week: { dow: 0, doy: 6 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('ms-my', { months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( '_' ), monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split( '_' ), weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), longDateFormat: { LT: 'HH.mm', LTS: 'HH.mm.ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY [pukul] HH.mm', LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', }, meridiemParse: /pagi|tengahari|petang|malam/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), 'pagi' === t ? e : 'tengahari' === t ? e >= 11 ? e : e + 12 : 'petang' === t || 'malam' === t ? e + 12 : void 0 ) }, meridiem: function (e, t, i) { return e < 11 ? 'pagi' : e < 15 ? 'tengahari' : e < 19 ? 'petang' : 'malam' }, calendar: { sameDay: '[Hari ini pukul] LT', nextDay: '[Esok pukul] LT', nextWeek: 'dddd [pukul] LT', lastDay: '[Kelmarin pukul] LT', lastWeek: 'dddd [lepas pukul] LT', sameElse: 'L', }, relativeTime: { future: 'dalam %s', past: '%s yang lepas', s: 'beberapa saat', ss: '%d saat', m: 'seminit', mm: '%d minit', h: 'sejam', hh: '%d jam', d: 'sehari', dd: '%d hari', M: 'sebulan', MM: '%d bulan', y: 'setahun', yy: '%d tahun', }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('ms', { months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split( '_' ), monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split( '_' ), weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), longDateFormat: { LT: 'HH.mm', LTS: 'HH.mm.ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY [pukul] HH.mm', LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm', }, meridiemParse: /pagi|tengahari|petang|malam/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), 'pagi' === t ? e : 'tengahari' === t ? e >= 11 ? e : e + 12 : 'petang' === t || 'malam' === t ? e + 12 : void 0 ) }, meridiem: function (e, t, i) { return e < 11 ? 'pagi' : e < 15 ? 'tengahari' : e < 19 ? 'petang' : 'malam' }, calendar: { sameDay: '[Hari ini pukul] LT', nextDay: '[Esok pukul] LT', nextWeek: 'dddd [pukul] LT', lastDay: '[Kelmarin pukul] LT', lastWeek: 'dddd [lepas pukul] LT', sameElse: 'L', }, relativeTime: { future: 'dalam %s', past: '%s yang lepas', s: 'beberapa saat', ss: '%d saat', m: 'seminit', mm: '%d minit', h: 'sejam', hh: '%d jam', d: 'sehari', dd: '%d hari', M: 'sebulan', MM: '%d bulan', y: 'setahun', yy: '%d tahun', }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('mt', { months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split( '_' ), monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split( '_' ), weekdays: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split( '_' ), weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'), weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Illum fil-]LT', nextDay: '[Għada fil-]LT', nextWeek: 'dddd [fil-]LT', lastDay: '[Il-bieraħ fil-]LT', lastWeek: 'dddd [li għadda] [fil-]LT', sameElse: 'L', }, relativeTime: { future: 'f’ %s', past: '%s ilu', s: 'ftit sekondi', ss: '%d sekondi', m: 'minuta', mm: '%d minuti', h: 'siegħa', hh: '%d siegħat', d: 'ġurnata', dd: '%d ġranet', M: 'xahar', MM: '%d xhur', y: 'sena', yy: '%d sni', }, dayOfMonthOrdinalParse: /\d{1,2}º/, ordinal: '%dº', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: '၁', 2: '၂', 3: '၃', 4: '၄', 5: '၅', 6: '၆', 7: '၇', 8: '၈', 9: '၉', 0: '၀', }, i = { '၁': '1', '၂': '2', '၃': '3', '၄': '4', '၅': '5', '၆': '6', '၇': '7', '၈': '8', '၉': '9', '၀': '0', } return e.defineLocale('my', { months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split( '_' ), monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split( '_' ), weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split( '_' ), weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, calendar: { sameDay: '[ယနေ.] LT [မှာ]', nextDay: '[မနက်ဖြန်] LT [မှာ]', nextWeek: 'dddd LT [မှာ]', lastDay: '[မနေ.က] LT [မှာ]', lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]', sameElse: 'L', }, relativeTime: { future: 'လာမည့် %s မှာ', past: 'လွန်ခဲ့သော %s က', s: 'စက္ကန်.အနည်းငယ်', ss: '%d စက္ကန့်', m: 'တစ်မိနစ်', mm: '%d မိနစ်', h: 'တစ်နာရီ', hh: '%d နာရီ', d: 'တစ်ရက်', dd: '%d ရက်', M: 'တစ်လ', MM: '%d လ', y: 'တစ်နှစ်', yy: '%d နှစ်', }, preparse: function (e) { return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (e) { return i[e] }) }, postformat: function (e) { return e.replace(/\d/g, function (e) { return t[e] }) }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('nb', { months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split( '_' ), monthsShort: 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split( '_' ), monthsParseExact: !0, weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split( '_' ), weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'), weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY [kl.] HH:mm', LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm', }, calendar: { sameDay: '[i dag kl.] LT', nextDay: '[i morgen kl.] LT', nextWeek: 'dddd [kl.] LT', lastDay: '[i går kl.] LT', lastWeek: '[forrige] dddd [kl.] LT', sameElse: 'L', }, relativeTime: { future: 'om %s', past: '%s siden', s: 'noen sekunder', ss: '%d sekunder', m: 'ett minutt', mm: '%d minutter', h: 'en time', hh: '%d timer', d: 'en dag', dd: '%d dager', M: 'en måned', MM: '%d måneder', y: 'ett år', yy: '%d år', }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: '१', 2: '२', 3: '३', 4: '४', 5: '५', 6: '६', 7: '७', 8: '८', 9: '९', 0: '०', }, i = { '१': '1', '२': '2', '३': '3', '४': '4', '५': '5', '६': '6', '७': '7', '८': '8', '९': '9', '०': '0', } return e.defineLocale('ne', { months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split( '_' ), monthsShort: 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split( '_' ), monthsParseExact: !0, weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split( '_' ), weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'), weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'Aको h:mm बजे', LTS: 'Aको h:mm:ss बजे', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY, Aको h:mm बजे', LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे', }, preparse: function (e) { return e.replace(/[१२३४५६७८९०]/g, function (e) { return i[e] }) }, postformat: function (e) { return e.replace(/\d/g, function (e) { return t[e] }) }, meridiemParse: /राति|बिहान|दिउँसो|साँझ/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), 'राति' === t ? e < 4 ? e : e + 12 : 'बिहान' === t ? e : 'दिउँसो' === t ? e >= 10 ? e : e + 12 : 'साँझ' === t ? e + 12 : void 0 ) }, meridiem: function (e, t, i) { return e < 3 ? 'राति' : e < 12 ? 'बिहान' : e < 16 ? 'दिउँसो' : e < 20 ? 'साँझ' : 'राति' }, calendar: { sameDay: '[आज] LT', nextDay: '[भोलि] LT', nextWeek: '[आउँदो] dddd[,] LT', lastDay: '[हिजो] LT', lastWeek: '[गएको] dddd[,] LT', sameElse: 'L', }, relativeTime: { future: '%sमा', past: '%s अगाडि', s: 'केही क्षण', ss: '%d सेकेण्ड', m: 'एक मिनेट', mm: '%d मिनेट', h: 'एक घण्टा', hh: '%d घण्टा', d: 'एक दिन', dd: '%d दिन', M: 'एक महिना', MM: '%d महिना', y: 'एक बर्ष', yy: '%d बर्ष', }, week: { dow: 0, doy: 6 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split( '_' ), i = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), n = [ /^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i, ], s = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i return e.defineLocale('nl-be', { months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( '_' ), monthsShort: function (e, n) { return e ? (/-MMM-/.test(n) ? i[e.month()] : t[e.month()]) : t }, monthsRegex: s, monthsShortRegex: s, monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, monthsParse: n, longMonthsParse: n, shortMonthsParse: n, weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split( '_' ), weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, calendar: { sameDay: '[vandaag om] LT', nextDay: '[morgen om] LT', nextWeek: 'dddd [om] LT', lastDay: '[gisteren om] LT', lastWeek: '[afgelopen] dddd [om] LT', sameElse: 'L', }, relativeTime: { future: 'over %s', past: '%s geleden', s: 'een paar seconden', ss: '%d seconden', m: 'één minuut', mm: '%d minuten', h: 'één uur', hh: '%d uur', d: 'één dag', dd: '%d dagen', M: 'één maand', MM: '%d maanden', y: 'één jaar', yy: '%d jaar', }, dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, ordinal: function (e) { return e + (1 === e || 8 === e || e >= 20 ? 'ste' : 'de') }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split( '_' ), i = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), n = [ /^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i, ], s = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i return e.defineLocale('nl', { months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split( '_' ), monthsShort: function (e, n) { return e ? (/-MMM-/.test(n) ? i[e.month()] : t[e.month()]) : t }, monthsRegex: s, monthsShortRegex: s, monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i, monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, monthsParse: n, longMonthsParse: n, shortMonthsParse: n, weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split( '_' ), weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD-MM-YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, calendar: { sameDay: '[vandaag om] LT', nextDay: '[morgen om] LT', nextWeek: 'dddd [om] LT', lastDay: '[gisteren om] LT', lastWeek: '[afgelopen] dddd [om] LT', sameElse: 'L', }, relativeTime: { future: 'over %s', past: '%s geleden', s: 'een paar seconden', ss: '%d seconden', m: 'één minuut', mm: '%d minuten', h: 'één uur', hh: '%d uur', d: 'één dag', dd: '%d dagen', M: 'één maand', MM: '%d maanden', y: 'één jaar', yy: '%d jaar', }, dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, ordinal: function (e) { return e + (1 === e || 8 === e || e >= 20 ? 'ste' : 'de') }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('nn', { months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split( '_' ), monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split( '_' ), weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split( '_' ), weekdaysShort: 'sun_mån_tys_ons_tor_fre_lau'.split('_'), weekdaysMin: 'su_må_ty_on_to_fr_lø'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY [kl.] H:mm', LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm', }, calendar: { sameDay: '[I dag klokka] LT', nextDay: '[I morgon klokka] LT', nextWeek: 'dddd [klokka] LT', lastDay: '[I går klokka] LT', lastWeek: '[Føregåande] dddd [klokka] LT', sameElse: 'L', }, relativeTime: { future: 'om %s', past: '%s sidan', s: 'nokre sekund', ss: '%d sekund', m: 'eit minutt', mm: '%d minutt', h: 'ein time', hh: '%d timar', d: 'ein dag', dd: '%d dagar', M: 'ein månad', MM: '%d månader', y: 'eit år', yy: '%d år', }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: '੧', 2: '੨', 3: '੩', 4: '੪', 5: '੫', 6: '੬', 7: '੭', 8: '੮', 9: '੯', 0: '੦', }, i = { '੧': '1', '੨': '2', '੩': '3', '੪': '4', '੫': '5', '੬': '6', '੭': '7', '੮': '8', '੯': '9', '੦': '0', } return e.defineLocale('pa-in', { months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( '_' ), monthsShort: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split( '_' ), weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'), weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), longDateFormat: { LT: 'A h:mm ਵਜੇ', LTS: 'A h:mm:ss ਵਜੇ', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY, A h:mm ਵਜੇ', LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ', }, calendar: { sameDay: '[ਅਜ] LT', nextDay: '[ਕਲ] LT', nextWeek: '[ਅਗਲਾ] dddd, LT', lastDay: '[ਕਲ] LT', lastWeek: '[ਪਿਛਲੇ] dddd, LT', sameElse: 'L', }, relativeTime: { future: '%s ਵਿੱਚ', past: '%s ਪਿਛਲੇ', s: 'ਕੁਝ ਸਕਿੰਟ', ss: '%d ਸਕਿੰਟ', m: 'ਇਕ ਮਿੰਟ', mm: '%d ਮਿੰਟ', h: 'ਇੱਕ ਘੰਟਾ', hh: '%d ਘੰਟੇ', d: 'ਇੱਕ ਦਿਨ', dd: '%d ਦਿਨ', M: 'ਇੱਕ ਮਹੀਨਾ', MM: '%d ਮਹੀਨੇ', y: 'ਇੱਕ ਸਾਲ', yy: '%d ਸਾਲ', }, preparse: function (e) { return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (e) { return i[e] }) }, postformat: function (e) { return e.replace(/\d/g, function (e) { return t[e] }) }, meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), 'ਰਾਤ' === t ? e < 4 ? e : e + 12 : 'ਸਵੇਰ' === t ? e : 'ਦੁਪਹਿਰ' === t ? e >= 10 ? e : e + 12 : 'ਸ਼ਾਮ' === t ? e + 12 : void 0 ) }, meridiem: function (e, t, i) { return e < 4 ? 'ਰਾਤ' : e < 10 ? 'ਸਵੇਰ' : e < 17 ? 'ਦੁਪਹਿਰ' : e < 20 ? 'ਸ਼ਾਮ' : 'ਰਾਤ' }, week: { dow: 0, doy: 6 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e) { return e % 10 < 5 && e % 10 > 1 && ~~(e / 10) % 10 != 1 } function i(e, i, n) { var s = e + ' ' switch (n) { case 'ss': return s + (t(e) ? 'sekundy' : 'sekund') case 'm': return i ? 'minuta' : 'minutę' case 'mm': return s + (t(e) ? 'minuty' : 'minut') case 'h': return i ? 'godzina' : 'godzinę' case 'hh': return s + (t(e) ? 'godziny' : 'godzin') case 'MM': return s + (t(e) ? 'miesiące' : 'miesięcy') case 'yy': return s + (t(e) ? 'lata' : 'lat') } } var n = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split( '_' ), s = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split( '_' ) return e.defineLocale('pl', { months: function (e, t) { return e ? '' === t ? '(' + s[e.month()] + '|' + n[e.month()] + ')' : /D MMMM/.test(t) ? s[e.month()] : n[e.month()] : n }, monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split( '_' ), weekdays: 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split( '_' ), weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'), weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Dziś o] LT', nextDay: '[Jutro o] LT', nextWeek: function () { switch (this.day()) { case 0: return '[W niedzielę o] LT' case 2: return '[We wtorek o] LT' case 3: return '[W środę o] LT' case 6: return '[W sobotę o] LT' default: return '[W] dddd [o] LT' } }, lastDay: '[Wczoraj o] LT', lastWeek: function () { switch (this.day()) { case 0: return '[W zeszłą niedzielę o] LT' case 3: return '[W zeszłą środę o] LT' case 6: return '[W zeszłą sobotę o] LT' default: return '[W zeszły] dddd [o] LT' } }, sameElse: 'L', }, relativeTime: { future: 'za %s', past: '%s temu', s: 'kilka sekund', ss: i, m: i, mm: i, h: i, hh: i, d: '1 dzień', dd: '%d dni', M: 'miesiąc', MM: i, y: 'rok', yy: i, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('pt-br', { months: 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split( '_' ), monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split( '_' ), weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split( '_' ), weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D [de] MMMM [de] YYYY', LLL: 'D [de] MMMM [de] YYYY [às] HH:mm', LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm', }, calendar: { sameDay: '[Hoje às] LT', nextDay: '[Amanhã às] LT', nextWeek: 'dddd [às] LT', lastDay: '[Ontem às] LT', lastWeek: function () { return 0 === this.day() || 6 === this.day() ? '[Último] dddd [às] LT' : '[Última] dddd [às] LT' }, sameElse: 'L', }, relativeTime: { future: 'em %s', past: 'há %s', s: 'poucos segundos', ss: '%d segundos', m: 'um minuto', mm: '%d minutos', h: 'uma hora', hh: '%d horas', d: 'um dia', dd: '%d dias', M: 'um mês', MM: '%d meses', y: 'um ano', yy: '%d anos', }, dayOfMonthOrdinalParse: /\d{1,2}º/, ordinal: '%dº', }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('pt', { months: 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split( '_' ), monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split( '_' ), weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split( '_' ), weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D [de] MMMM [de] YYYY', LLL: 'D [de] MMMM [de] YYYY HH:mm', LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm', }, calendar: { sameDay: '[Hoje às] LT', nextDay: '[Amanhã às] LT', nextWeek: 'dddd [às] LT', lastDay: '[Ontem às] LT', lastWeek: function () { return 0 === this.day() || 6 === this.day() ? '[Último] dddd [às] LT' : '[Última] dddd [às] LT' }, sameElse: 'L', }, relativeTime: { future: 'em %s', past: 'há %s', s: 'segundos', ss: '%d segundos', m: 'um minuto', mm: '%d minutos', h: 'uma hora', hh: '%d horas', d: 'um dia', dd: '%d dias', M: 'um mês', MM: '%d meses', y: 'um ano', yy: '%d anos', }, dayOfMonthOrdinalParse: /\d{1,2}º/, ordinal: '%dº', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i) { var n = { ss: 'secunde', mm: 'minute', hh: 'ore', dd: 'zile', MM: 'luni', yy: 'ani', }, s = ' ' return ( (e % 100 >= 20 || (e >= 100 && e % 100 == 0)) && (s = ' de '), e + s + n[i] ) } return e.defineLocale('ro', { months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split( '_' ), monthsShort: 'ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split( '_' ), monthsParseExact: !0, weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'), weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'), weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'), longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD.MM.YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY H:mm', LLLL: 'dddd, D MMMM YYYY H:mm', }, calendar: { sameDay: '[azi la] LT', nextDay: '[mâine la] LT', nextWeek: 'dddd [la] LT', lastDay: '[ieri la] LT', lastWeek: '[fosta] dddd [la] LT', sameElse: 'L', }, relativeTime: { future: 'peste %s', past: '%s în urmă', s: 'câteva secunde', ss: t, m: 'un minut', mm: t, h: 'o oră', hh: t, d: 'o zi', dd: t, M: 'o lună', MM: t, y: 'un an', yy: t, }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t) { var i = e.split('_') return t % 10 == 1 && t % 100 != 11 ? i[0] : t % 10 >= 2 && t % 10 <= 4 && (t % 100 < 10 || t % 100 >= 20) ? i[1] : i[2] } function i(e, i, n) { var s = { ss: i ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд', mm: i ? 'минута_минуты_минут' : 'минуту_минуты_минут', hh: 'час_часа_часов', dd: 'день_дня_дней', MM: 'месяц_месяца_месяцев', yy: 'год_года_лет', } return 'm' === n ? (i ? 'минута' : 'минуту') : e + ' ' + t(s[n], +e) } var n = [ /^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i, ] return e.defineLocale('ru', { months: { format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split( '_' ), standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split( '_' ), }, monthsShort: { format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split( '_' ), standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split( '_' ), }, weekdays: { standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split( '_' ), format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split( '_' ), isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/, }, weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'), weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'), monthsParse: n, longMonthsParse: n, shortMonthsParse: n, monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, monthsShortRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i, monthsShortStrictRegex: /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i, longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD.MM.YYYY', LL: 'D MMMM YYYY г.', LLL: 'D MMMM YYYY г., H:mm', LLLL: 'dddd, D MMMM YYYY г., H:mm', }, calendar: { sameDay: '[Сегодня, в] LT', nextDay: '[Завтра, в] LT', lastDay: '[Вчера, в] LT', nextWeek: function (e) { if (e.week() === this.week()) return 2 === this.day() ? '[Во] dddd, [в] LT' : '[В] dddd, [в] LT' switch (this.day()) { case 0: return '[В следующее] dddd, [в] LT' case 1: case 2: case 4: return '[В следующий] dddd, [в] LT' case 3: case 5: case 6: return '[В следующую] dddd, [в] LT' } }, lastWeek: function (e) { if (e.week() === this.week()) return 2 === this.day() ? '[Во] dddd, [в] LT' : '[В] dddd, [в] LT' switch (this.day()) { case 0: return '[В прошлое] dddd, [в] LT' case 1: case 2: case 4: return '[В прошлый] dddd, [в] LT' case 3: case 5: case 6: return '[В прошлую] dddd, [в] LT' } }, sameElse: 'L', }, relativeTime: { future: 'через %s', past: '%s назад', s: 'несколько секунд', ss: i, m: i, mm: i, h: 'час', hh: i, d: 'день', dd: i, M: 'месяц', MM: i, y: 'год', yy: i, }, meridiemParse: /ночи|утра|дня|вечера/i, isPM: function (e) { return /^(дня|вечера)$/.test(e) }, meridiem: function (e, t, i) { return e < 4 ? 'ночи' : e < 12 ? 'утра' : e < 17 ? 'дня' : 'вечера' }, dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/, ordinal: function (e, t) { switch (t) { case 'M': case 'd': case 'DDD': return e + '-й' case 'D': return e + '-го' case 'w': case 'W': return e + '-я' default: return e } }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = [ 'جنوري', 'فيبروري', 'مارچ', 'اپريل', 'مئي', 'جون', 'جولاءِ', 'آگسٽ', 'سيپٽمبر', 'آڪٽوبر', 'نومبر', 'ڊسمبر', ], i = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر'] return e.defineLocale('sd', { months: t, monthsShort: t, weekdays: i, weekdaysShort: i, weekdaysMin: i, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd، D MMMM YYYY HH:mm', }, meridiemParse: /صبح|شام/, isPM: function (e) { return 'شام' === e }, meridiem: function (e, t, i) { return e < 12 ? 'صبح' : 'شام' }, calendar: { sameDay: '[اڄ] LT', nextDay: '[سڀاڻي] LT', nextWeek: 'dddd [اڳين هفتي تي] LT', lastDay: '[ڪالهه] LT', lastWeek: '[گزريل هفتي] dddd [تي] LT', sameElse: 'L', }, relativeTime: { future: '%s پوء', past: '%s اڳ', s: 'چند سيڪنڊ', ss: '%d سيڪنڊ', m: 'هڪ منٽ', mm: '%d منٽ', h: 'هڪ ڪلاڪ', hh: '%d ڪلاڪ', d: 'هڪ ڏينهن', dd: '%d ڏينهن', M: 'هڪ مهينو', MM: '%d مهينا', y: 'هڪ سال', yy: '%d سال', }, preparse: function (e) { return e.replace(/،/g, ',') }, postformat: function (e) { return e.replace(/,/g, '،') }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('se', { months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split( '_' ), monthsShort: 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split( '_' ), weekdays: 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split( '_' ), weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'), weekdaysMin: 's_v_m_g_d_b_L'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'MMMM D. [b.] YYYY', LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm', LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm', }, calendar: { sameDay: '[otne ti] LT', nextDay: '[ihttin ti] LT', nextWeek: 'dddd [ti] LT', lastDay: '[ikte ti] LT', lastWeek: '[ovddit] dddd [ti] LT', sameElse: 'L', }, relativeTime: { future: '%s geažes', past: 'maŋit %s', s: 'moadde sekunddat', ss: '%d sekunddat', m: 'okta minuhta', mm: '%d minuhtat', h: 'okta diimmu', hh: '%d diimmut', d: 'okta beaivi', dd: '%d beaivvit', M: 'okta mánnu', MM: '%d mánut', y: 'okta jahki', yy: '%d jagit', }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('si', { months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split( '_' ), monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split('_'), weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split( '_' ), weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'), weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'a h:mm', LTS: 'a h:mm:ss', L: 'YYYY/MM/DD', LL: 'YYYY MMMM D', LLL: 'YYYY MMMM D, a h:mm', LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss', }, calendar: { sameDay: '[අද] LT[ට]', nextDay: '[හෙට] LT[ට]', nextWeek: 'dddd LT[ට]', lastDay: '[ඊයේ] LT[ට]', lastWeek: '[පසුගිය] dddd LT[ට]', sameElse: 'L', }, relativeTime: { future: '%sකින්', past: '%sකට පෙර', s: 'තත්පර කිහිපය', ss: 'තත්පර %d', m: 'මිනිත්තුව', mm: 'මිනිත්තු %d', h: 'පැය', hh: 'පැය %d', d: 'දිනය', dd: 'දින %d', M: 'මාසය', MM: 'මාස %d', y: 'වසර', yy: 'වසර %d', }, dayOfMonthOrdinalParse: /\d{1,2} වැනි/, ordinal: function (e) { return e + ' වැනි' }, meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./, isPM: function (e) { return 'ප.ව.' === e || 'පස් වරු' === e }, meridiem: function (e, t, i) { return e > 11 ? (i ? 'ප.ව.' : 'පස් වරු') : i ? 'පෙ.ව.' : 'පෙර වරු' }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e) { return e > 1 && e < 5 } function i(e, i, n, s) { var r = e + ' ' switch (n) { case 's': return i || s ? 'pár sekúnd' : 'pár sekundami' case 'ss': return i || s ? r + (t(e) ? 'sekundy' : 'sekúnd') : r + 'sekundami' case 'm': return i ? 'minúta' : s ? 'minútu' : 'minútou' case 'mm': return i || s ? r + (t(e) ? 'minúty' : 'minút') : r + 'minútami' case 'h': return i ? 'hodina' : s ? 'hodinu' : 'hodinou' case 'hh': return i || s ? r + (t(e) ? 'hodiny' : 'hodín') : r + 'hodinami' case 'd': return i || s ? 'deň' : 'dňom' case 'dd': return i || s ? r + (t(e) ? 'dni' : 'dní') : r + 'dňami' case 'M': return i || s ? 'mesiac' : 'mesiacom' case 'MM': return i || s ? r + (t(e) ? 'mesiace' : 'mesiacov') : r + 'mesiacmi' case 'y': return i || s ? 'rok' : 'rokom' case 'yy': return i || s ? r + (t(e) ? 'roky' : 'rokov') : r + 'rokmi' } } var n = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split( '_' ), s = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_') return e.defineLocale('sk', { months: n, monthsShort: s, weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split( '_' ), weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'), weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'), longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY H:mm', LLLL: 'dddd D. MMMM YYYY H:mm', }, calendar: { sameDay: '[dnes o] LT', nextDay: '[zajtra o] LT', nextWeek: function () { switch (this.day()) { case 0: return '[v nedeľu o] LT' case 1: case 2: return '[v] dddd [o] LT' case 3: return '[v stredu o] LT' case 4: return '[vo štvrtok o] LT' case 5: return '[v piatok o] LT' case 6: return '[v sobotu o] LT' } }, lastDay: '[včera o] LT', lastWeek: function () { switch (this.day()) { case 0: return '[minulú nedeľu o] LT' case 1: case 2: return '[minulý] dddd [o] LT' case 3: return '[minulú stredu o] LT' case 4: case 5: return '[minulý] dddd [o] LT' case 6: return '[minulú sobotu o] LT' } }, sameElse: 'L', }, relativeTime: { future: 'za %s', past: 'pred %s', s: i, ss: i, m: i, mm: i, h: i, hh: i, d: i, dd: i, M: i, MM: i, y: i, yy: i, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i, n) { var s = e + ' ' switch (i) { case 's': return t || n ? 'nekaj sekund' : 'nekaj sekundami' case 'ss': return (s += 1 === e ? t ? 'sekundo' : 'sekundi' : 2 === e ? t || n ? 'sekundi' : 'sekundah' : e < 5 ? t || n ? 'sekunde' : 'sekundah' : 'sekund') case 'm': return t ? 'ena minuta' : 'eno minuto' case 'mm': return (s += 1 === e ? t ? 'minuta' : 'minuto' : 2 === e ? t || n ? 'minuti' : 'minutama' : e < 5 ? t || n ? 'minute' : 'minutami' : t || n ? 'minut' : 'minutami') case 'h': return t ? 'ena ura' : 'eno uro' case 'hh': return (s += 1 === e ? t ? 'ura' : 'uro' : 2 === e ? t || n ? 'uri' : 'urama' : e < 5 ? t || n ? 'ure' : 'urami' : t || n ? 'ur' : 'urami') case 'd': return t || n ? 'en dan' : 'enim dnem' case 'dd': return (s += 1 === e ? t || n ? 'dan' : 'dnem' : 2 === e ? t || n ? 'dni' : 'dnevoma' : t || n ? 'dni' : 'dnevi') case 'M': return t || n ? 'en mesec' : 'enim mesecem' case 'MM': return (s += 1 === e ? t || n ? 'mesec' : 'mesecem' : 2 === e ? t || n ? 'meseca' : 'mesecema' : e < 5 ? t || n ? 'mesece' : 'meseci' : t || n ? 'mesecev' : 'meseci') case 'y': return t || n ? 'eno leto' : 'enim letom' case 'yy': return (s += 1 === e ? t || n ? 'leto' : 'letom' : 2 === e ? t || n ? 'leti' : 'letoma' : e < 5 ? t || n ? 'leta' : 'leti' : t || n ? 'let' : 'leti') } } return e.defineLocale('sl', { months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split( '_' ), monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split( '_' ), monthsParseExact: !0, weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split( '_' ), weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'), weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY H:mm', LLLL: 'dddd, D. MMMM YYYY H:mm', }, calendar: { sameDay: '[danes ob] LT', nextDay: '[jutri ob] LT', nextWeek: function () { switch (this.day()) { case 0: return '[v] [nedeljo] [ob] LT' case 3: return '[v] [sredo] [ob] LT' case 6: return '[v] [soboto] [ob] LT' case 1: case 2: case 4: case 5: return '[v] dddd [ob] LT' } }, lastDay: '[včeraj ob] LT', lastWeek: function () { switch (this.day()) { case 0: return '[prejšnjo] [nedeljo] [ob] LT' case 3: return '[prejšnjo] [sredo] [ob] LT' case 6: return '[prejšnjo] [soboto] [ob] LT' case 1: case 2: case 4: case 5: return '[prejšnji] dddd [ob] LT' } }, sameElse: 'L', }, relativeTime: { future: 'čez %s', past: 'pred %s', s: t, ss: t, m: t, mm: t, h: t, hh: t, d: t, dd: t, M: t, MM: t, y: t, yy: t, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('sq', { months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split( '_' ), monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split( '_' ), weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split( '_' ), weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'), weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'), weekdaysParseExact: !0, meridiemParse: /PD|MD/, isPM: function (e) { return 'M' === e.charAt(0) }, meridiem: function (e, t, i) { return e < 12 ? 'PD' : 'MD' }, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Sot në] LT', nextDay: '[Nesër në] LT', nextWeek: 'dddd [në] LT', lastDay: '[Dje në] LT', lastWeek: 'dddd [e kaluar në] LT', sameElse: 'L', }, relativeTime: { future: 'në %s', past: '%s më parë', s: 'disa sekonda', ss: '%d sekonda', m: 'një minutë', mm: '%d minuta', h: 'një orë', hh: '%d orë', d: 'një ditë', dd: '%d ditë', M: 'një muaj', MM: '%d muaj', y: 'një vit', yy: '%d vite', }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { words: { ss: ['секунда', 'секунде', 'секунди'], m: ['један минут', 'једне минуте'], mm: ['минут', 'минуте', 'минута'], h: ['један сат', 'једног сата'], hh: ['сат', 'сата', 'сати'], dd: ['дан', 'дана', 'дана'], MM: ['месец', 'месеца', 'месеци'], yy: ['година', 'године', 'година'], }, correctGrammaticalCase: function (e, t) { return 1 === e ? t[0] : e >= 2 && e <= 4 ? t[1] : t[2] }, translate: function (e, i, n) { var s = t.words[n] return 1 === n.length ? i ? s[0] : s[1] : e + ' ' + t.correctGrammaticalCase(e, s) }, } return e.defineLocale('sr-cyrl', { months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split( '_' ), monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'), monthsParseExact: !0, weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split( '_' ), weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'), weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY H:mm', LLLL: 'dddd, D. MMMM YYYY H:mm', }, calendar: { sameDay: '[данас у] LT', nextDay: '[сутра у] LT', nextWeek: function () { switch (this.day()) { case 0: return '[у] [недељу] [у] LT' case 3: return '[у] [среду] [у] LT' case 6: return '[у] [суботу] [у] LT' case 1: case 2: case 4: case 5: return '[у] dddd [у] LT' } }, lastDay: '[јуче у] LT', lastWeek: function () { return [ '[прошле] [недеље] [у] LT', '[прошлог] [понедељка] [у] LT', '[прошлог] [уторка] [у] LT', '[прошле] [среде] [у] LT', '[прошлог] [четвртка] [у] LT', '[прошлог] [петка] [у] LT', '[прошле] [суботе] [у] LT', ][this.day()] }, sameElse: 'L', }, relativeTime: { future: 'за %s', past: 'пре %s', s: 'неколико секунди', ss: t.translate, m: t.translate, mm: t.translate, h: t.translate, hh: t.translate, d: 'дан', dd: t.translate, M: 'месец', MM: t.translate, y: 'годину', yy: t.translate, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { words: { ss: ['sekunda', 'sekunde', 'sekundi'], m: ['jedan minut', 'jedne minute'], mm: ['minut', 'minute', 'minuta'], h: ['jedan sat', 'jednog sata'], hh: ['sat', 'sata', 'sati'], dd: ['dan', 'dana', 'dana'], MM: ['mesec', 'meseca', 'meseci'], yy: ['godina', 'godine', 'godina'], }, correctGrammaticalCase: function (e, t) { return 1 === e ? t[0] : e >= 2 && e <= 4 ? t[1] : t[2] }, translate: function (e, i, n) { var s = t.words[n] return 1 === n.length ? i ? s[0] : s[1] : e + ' ' + t.correctGrammaticalCase(e, s) }, } return e.defineLocale('sr', { months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split( '_' ), monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), monthsParseExact: !0, weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split( '_' ), weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'), weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD.MM.YYYY', LL: 'D. MMMM YYYY', LLL: 'D. MMMM YYYY H:mm', LLLL: 'dddd, D. MMMM YYYY H:mm', }, calendar: { sameDay: '[danas u] LT', nextDay: '[sutra u] LT', nextWeek: function () { switch (this.day()) { case 0: return '[u] [nedelju] [u] LT' case 3: return '[u] [sredu] [u] LT' case 6: return '[u] [subotu] [u] LT' case 1: case 2: case 4: case 5: return '[u] dddd [u] LT' } }, lastDay: '[juče u] LT', lastWeek: function () { return [ '[prošle] [nedelje] [u] LT', '[prošlog] [ponedeljka] [u] LT', '[prošlog] [utorka] [u] LT', '[prošle] [srede] [u] LT', '[prošlog] [četvrtka] [u] LT', '[prošlog] [petka] [u] LT', '[prošle] [subote] [u] LT', ][this.day()] }, sameElse: 'L', }, relativeTime: { future: 'za %s', past: 'pre %s', s: 'nekoliko sekundi', ss: t.translate, m: t.translate, mm: t.translate, h: t.translate, hh: t.translate, d: 'dan', dd: t.translate, M: 'mesec', MM: t.translate, y: 'godinu', yy: t.translate, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('ss', { months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split( '_' ), monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split( '_' ), weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split( '_' ), weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'), weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'h:mm A', LTS: 'h:mm:ss A', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY h:mm A', LLLL: 'dddd, D MMMM YYYY h:mm A', }, calendar: { sameDay: '[Namuhla nga] LT', nextDay: '[Kusasa nga] LT', nextWeek: 'dddd [nga] LT', lastDay: '[Itolo nga] LT', lastWeek: 'dddd [leliphelile] [nga] LT', sameElse: 'L', }, relativeTime: { future: 'nga %s', past: 'wenteka nga %s', s: 'emizuzwana lomcane', ss: '%d mzuzwana', m: 'umzuzu', mm: '%d emizuzu', h: 'lihora', hh: '%d emahora', d: 'lilanga', dd: '%d emalanga', M: 'inyanga', MM: '%d tinyanga', y: 'umnyaka', yy: '%d iminyaka', }, meridiemParse: /ekuseni|emini|entsambama|ebusuku/, meridiem: function (e, t, i) { return e < 11 ? 'ekuseni' : e < 15 ? 'emini' : e < 19 ? 'entsambama' : 'ebusuku' }, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), 'ekuseni' === t ? e : 'emini' === t ? e >= 11 ? e : e + 12 : 'entsambama' === t || 'ebusuku' === t ? 0 === e ? 0 : e + 12 : void 0 ) }, dayOfMonthOrdinalParse: /\d{1,2}/, ordinal: '%d', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('sv', { months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split( '_' ), monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split( '_' ), weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split( '_' ), weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'), weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'YYYY-MM-DD', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY [kl.] HH:mm', LLLL: 'dddd D MMMM YYYY [kl.] HH:mm', lll: 'D MMM YYYY HH:mm', llll: 'ddd D MMM YYYY HH:mm', }, calendar: { sameDay: '[Idag] LT', nextDay: '[Imorgon] LT', lastDay: '[Igår] LT', nextWeek: '[På] dddd LT', lastWeek: '[I] dddd[s] LT', sameElse: 'L', }, relativeTime: { future: 'om %s', past: 'för %s sedan', s: 'några sekunder', ss: '%d sekunder', m: 'en minut', mm: '%d minuter', h: 'en timme', hh: '%d timmar', d: 'en dag', dd: '%d dagar', M: 'en månad', MM: '%d månader', y: 'ett år', yy: '%d år', }, dayOfMonthOrdinalParse: /\d{1,2}(e|a)/, ordinal: function (e) { var t = e % 10 return ( e + (1 == ~~((e % 100) / 10) ? 'e' : 1 === t ? 'a' : 2 === t ? 'a' : 'e') ) }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('sw', { months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split( '_' ), monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split( '_' ), weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split( '_' ), weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'), weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[leo saa] LT', nextDay: '[kesho saa] LT', nextWeek: '[wiki ijayo] dddd [saat] LT', lastDay: '[jana] LT', lastWeek: '[wiki iliyopita] dddd [saat] LT', sameElse: 'L', }, relativeTime: { future: '%s baadaye', past: 'tokea %s', s: 'hivi punde', ss: 'sekunde %d', m: 'dakika moja', mm: 'dakika %d', h: 'saa limoja', hh: 'masaa %d', d: 'siku moja', dd: 'masiku %d', M: 'mwezi mmoja', MM: 'miezi %d', y: 'mwaka mmoja', yy: 'miaka %d', }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: '௧', 2: '௨', 3: '௩', 4: '௪', 5: '௫', 6: '௬', 7: '௭', 8: '௮', 9: '௯', 0: '௦', }, i = { '௧': '1', '௨': '2', '௩': '3', '௪': '4', '௫': '5', '௬': '6', '௭': '7', '௮': '8', '௯': '9', '௦': '0', } return e.defineLocale('ta', { months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split( '_' ), monthsShort: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split( '_' ), weekdays: 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split( '_' ), weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split( '_' ), weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY, HH:mm', LLLL: 'dddd, D MMMM YYYY, HH:mm', }, calendar: { sameDay: '[இன்று] LT', nextDay: '[நாளை] LT', nextWeek: 'dddd, LT', lastDay: '[நேற்று] LT', lastWeek: '[கடந்த வாரம்] dddd, LT', sameElse: 'L', }, relativeTime: { future: '%s இல்', past: '%s முன்', s: 'ஒரு சில விநாடிகள்', ss: '%d விநாடிகள்', m: 'ஒரு நிமிடம்', mm: '%d நிமிடங்கள்', h: 'ஒரு மணி நேரம்', hh: '%d மணி நேரம்', d: 'ஒரு நாள்', dd: '%d நாட்கள்', M: 'ஒரு மாதம்', MM: '%d மாதங்கள்', y: 'ஒரு வருடம்', yy: '%d ஆண்டுகள்', }, dayOfMonthOrdinalParse: /\d{1,2}வது/, ordinal: function (e) { return e + 'வது' }, preparse: function (e) { return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (e) { return i[e] }) }, postformat: function (e) { return e.replace(/\d/g, function (e) { return t[e] }) }, meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/, meridiem: function (e, t, i) { return e < 2 ? ' யாமம்' : e < 6 ? ' வைகறை' : e < 10 ? ' காலை' : e < 14 ? ' நண்பகல்' : e < 18 ? ' எற்பாடு' : e < 22 ? ' மாலை' : ' யாமம்' }, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), 'யாமம்' === t ? e < 2 ? e : e + 12 : 'வைகறை' === t || 'காலை' === t ? e : 'நண்பகல்' === t && e >= 10 ? e : e + 12 ) }, week: { dow: 0, doy: 6 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('te', { months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split( '_' ), monthsShort: 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split( '_' ), monthsParseExact: !0, weekdays: 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split( '_' ), weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'), weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'), longDateFormat: { LT: 'A h:mm', LTS: 'A h:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY, A h:mm', LLLL: 'dddd, D MMMM YYYY, A h:mm', }, calendar: { sameDay: '[నేడు] LT', nextDay: '[రేపు] LT', nextWeek: 'dddd, LT', lastDay: '[నిన్న] LT', lastWeek: '[గత] dddd, LT', sameElse: 'L', }, relativeTime: { future: '%s లో', past: '%s క్రితం', s: 'కొన్ని క్షణాలు', ss: '%d సెకన్లు', m: 'ఒక నిమిషం', mm: '%d నిమిషాలు', h: 'ఒక గంట', hh: '%d గంటలు', d: 'ఒక రోజు', dd: '%d రోజులు', M: 'ఒక నెల', MM: '%d నెలలు', y: 'ఒక సంవత్సరం', yy: '%d సంవత్సరాలు', }, dayOfMonthOrdinalParse: /\d{1,2}వ/, ordinal: '%dవ', meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), 'రాత్రి' === t ? e < 4 ? e : e + 12 : 'ఉదయం' === t ? e : 'మధ్యాహ్నం' === t ? e >= 10 ? e : e + 12 : 'సాయంత్రం' === t ? e + 12 : void 0 ) }, meridiem: function (e, t, i) { return e < 4 ? 'రాత్రి' : e < 10 ? 'ఉదయం' : e < 17 ? 'మధ్యాహ్నం' : e < 20 ? 'సాయంత్రం' : 'రాత్రి' }, week: { dow: 0, doy: 6 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('tet', { months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split( '_' ), monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split( '_' ), weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'), weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'), weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Ohin iha] LT', nextDay: '[Aban iha] LT', nextWeek: 'dddd [iha] LT', lastDay: '[Horiseik iha] LT', lastWeek: 'dddd [semana kotuk] [iha] LT', sameElse: 'L', }, relativeTime: { future: 'iha %s', past: '%s liuba', s: 'minutu balun', ss: 'minutu %d', m: 'minutu ida', mm: 'minutu %d', h: 'oras ida', hh: 'oras %d', d: 'loron ida', dd: 'loron %d', M: 'fulan ida', MM: 'fulan %d', y: 'tinan ida', yy: 'tinan %d', }, dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, ordinal: function (e) { var t = e % 10 return ( e + (1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th') ) }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 0: '-ум', 1: '-ум', 2: '-юм', 3: '-юм', 4: '-ум', 5: '-ум', 6: '-ум', 7: '-ум', 8: '-ум', 9: '-ум', 10: '-ум', 12: '-ум', 13: '-ум', 20: '-ум', 30: '-юм', 40: '-ум', 50: '-ум', 60: '-ум', 70: '-ум', 80: '-ум', 90: '-ум', 100: '-ум', } return e.defineLocale('tg', { months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split( '_' ), monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split( '_' ), weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split('_'), weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'), weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[Имрӯз соати] LT', nextDay: '[Пагоҳ соати] LT', lastDay: '[Дирӯз соати] LT', nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT', lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT', sameElse: 'L', }, relativeTime: { future: 'баъди %s', past: '%s пеш', s: 'якчанд сония', m: 'як дақиқа', mm: '%d дақиқа', h: 'як соат', hh: '%d соат', d: 'як рӯз', dd: '%d рӯз', M: 'як моҳ', MM: '%d моҳ', y: 'як сол', yy: '%d сол', }, meridiemParse: /шаб|субҳ|рӯз|бегоҳ/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), 'шаб' === t ? e < 4 ? e : e + 12 : 'субҳ' === t ? e : 'рӯз' === t ? e >= 11 ? e : e + 12 : 'бегоҳ' === t ? e + 12 : void 0 ) }, meridiem: function (e, t, i) { return e < 4 ? 'шаб' : e < 11 ? 'субҳ' : e < 16 ? 'рӯз' : e < 19 ? 'бегоҳ' : 'шаб' }, dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/, ordinal: function (e) { var i = e % 10, n = e >= 100 ? 100 : null return e + (t[e] || t[i] || t[n]) }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('th', { months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split( '_' ), monthsShort: 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split( '_' ), monthsParseExact: !0, weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'), weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'H:mm', LTS: 'H:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY เวลา H:mm', LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm', }, meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/, isPM: function (e) { return 'หลังเที่ยง' === e }, meridiem: function (e, t, i) { return e < 12 ? 'ก่อนเที่ยง' : 'หลังเที่ยง' }, calendar: { sameDay: '[วันนี้ เวลา] LT', nextDay: '[พรุ่งนี้ เวลา] LT', nextWeek: 'dddd[หน้า เวลา] LT', lastDay: '[เมื่อวานนี้ เวลา] LT', lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT', sameElse: 'L', }, relativeTime: { future: 'อีก %s', past: '%sที่แล้ว', s: 'ไม่กี่วินาที', ss: '%d วินาที', m: '1 นาที', mm: '%d นาที', h: '1 ชั่วโมง', hh: '%d ชั่วโมง', d: '1 วัน', dd: '%d วัน', M: '1 เดือน', MM: '%d เดือน', y: '1 ปี', yy: '%d ปี', }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('tl-ph', { months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split( '_' ), monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split( '_' ), weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'), weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'MM/D/YYYY', LL: 'MMMM D, YYYY', LLL: 'MMMM D, YYYY HH:mm', LLLL: 'dddd, MMMM DD, YYYY HH:mm', }, calendar: { sameDay: 'LT [ngayong araw]', nextDay: '[Bukas ng] LT', nextWeek: 'LT [sa susunod na] dddd', lastDay: 'LT [kahapon]', lastWeek: 'LT [noong nakaraang] dddd', sameElse: 'L', }, relativeTime: { future: 'sa loob ng %s', past: '%s ang nakalipas', s: 'ilang segundo', ss: '%d segundo', m: 'isang minuto', mm: '%d minuto', h: 'isang oras', hh: '%d oras', d: 'isang araw', dd: '%d araw', M: 'isang buwan', MM: '%d buwan', y: 'isang taon', yy: '%d taon', }, dayOfMonthOrdinalParse: /\d{1,2}/, ordinal: function (e) { return e }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e) { var t = e return (t = -1 !== e.indexOf('jaj') ? t.slice(0, -3) + 'leS' : -1 !== e.indexOf('jar') ? t.slice(0, -3) + 'waQ' : -1 !== e.indexOf('DIS') ? t.slice(0, -3) + 'nem' : t + ' pIq') } function i(e) { var t = e return (t = -1 !== e.indexOf('jaj') ? t.slice(0, -3) + 'Hu’' : -1 !== e.indexOf('jar') ? t.slice(0, -3) + 'wen' : -1 !== e.indexOf('DIS') ? t.slice(0, -3) + 'ben' : t + ' ret') } function n(e, t, i, n) { var r = s(e) switch (i) { case 'ss': return r + ' lup' case 'mm': return r + ' tup' case 'hh': return r + ' rep' case 'dd': return r + ' jaj' case 'MM': return r + ' jar' case 'yy': return r + ' DIS' } } function s(e) { var t = Math.floor((e % 1e3) / 100), i = Math.floor((e % 100) / 10), n = e % 10, s = '' return ( t > 0 && (s += r[t] + 'vatlh'), i > 0 && (s += ('' !== s ? ' ' : '') + r[i] + 'maH'), n > 0 && (s += ('' !== s ? ' ' : '') + r[n]), '' === s ? 'pagh' : s ) } var r = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_') return e.defineLocale('tlh', { months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split( '_' ), monthsShort: 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split( '_' ), monthsParseExact: !0, weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), weekdaysShort: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), weekdaysMin: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[DaHjaj] LT', nextDay: '[wa’leS] LT', nextWeek: 'LLL', lastDay: '[wa’Hu’] LT', lastWeek: 'LLL', sameElse: 'L', }, relativeTime: { future: t, past: i, s: 'puS lup', ss: n, m: 'wa’ tup', mm: n, h: 'wa’ rep', hh: n, d: 'wa’ jaj', dd: n, M: 'wa’ jar', MM: n, y: 'wa’ DIS', yy: n, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = { 1: "'inci", 5: "'inci", 8: "'inci", 70: "'inci", 80: "'inci", 2: "'nci", 7: "'nci", 20: "'nci", 50: "'nci", 3: "'üncü", 4: "'üncü", 100: "'üncü", 6: "'ncı", 9: "'uncu", 10: "'uncu", 30: "'uncu", 60: "'ıncı", 90: "'ıncı", } return e.defineLocale('tr', { months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split( '_' ), monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split( '_' ), weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split( '_' ), weekdaysShort: 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'), weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[bugün saat] LT', nextDay: '[yarın saat] LT', nextWeek: '[gelecek] dddd [saat] LT', lastDay: '[dün] LT', lastWeek: '[geçen] dddd [saat] LT', sameElse: 'L', }, relativeTime: { future: '%s sonra', past: '%s önce', s: 'birkaç saniye', ss: '%d saniye', m: 'bir dakika', mm: '%d dakika', h: 'bir saat', hh: '%d saat', d: 'bir gün', dd: '%d gün', M: 'bir ay', MM: '%d ay', y: 'bir yıl', yy: '%d yıl', }, ordinal: function (e, i) { switch (i) { case 'd': case 'D': case 'Do': case 'DD': return e default: if (0 === e) return e + "'ıncı" var n = e % 10, s = (e % 100) - n, r = e >= 100 ? 100 : null return e + (t[n] || t[s] || t[r]) } }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t, i, n) { var s = { s: ['viensas secunds', "'iensas secunds"], ss: [e + ' secunds', e + ' secunds'], m: ["'n míut", "'iens míut"], mm: [e + ' míuts', e + ' míuts'], h: ["'n þora", "'iensa þora"], hh: [e + ' þoras', e + ' þoras'], d: ["'n ziua", "'iensa ziua"], dd: [e + ' ziuas', e + ' ziuas'], M: ["'n mes", "'iens mes"], MM: [e + ' mesen', e + ' mesen'], y: ["'n ar", "'iens ar"], yy: [e + ' ars', e + ' ars'], } return n ? s[i][0] : t ? s[i][0] : s[i][1] } return e.defineLocale('tzl', { months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split( '_' ), monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split( '_' ), weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split( '_' ), weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'), weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'), longDateFormat: { LT: 'HH.mm', LTS: 'HH.mm.ss', L: 'DD.MM.YYYY', LL: 'D. MMMM [dallas] YYYY', LLL: 'D. MMMM [dallas] YYYY HH.mm', LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm', }, meridiemParse: /d\'o|d\'a/i, isPM: function (e) { return "d'o" === e.toLowerCase() }, meridiem: function (e, t, i) { return e > 11 ? (i ? "d'o" : "D'O") : i ? "d'a" : "D'A" }, calendar: { sameDay: '[oxhi à] LT', nextDay: '[demà à] LT', nextWeek: 'dddd [à] LT', lastDay: '[ieiri à] LT', lastWeek: '[sür el] dddd [lasteu à] LT', sameElse: 'L', }, relativeTime: { future: 'osprei %s', past: 'ja%s', s: t, ss: t, m: t, mm: t, h: t, hh: t, d: t, dd: t, M: t, MM: t, y: t, yy: t, }, dayOfMonthOrdinalParse: /\d{1,2}\./, ordinal: '%d.', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('tzm-latn', { months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( '_' ), monthsShort: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split( '_' ), weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split( '_' ), weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split( '_' ), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, calendar: { sameDay: '[asdkh g] LT', nextDay: '[aska g] LT', nextWeek: 'dddd [g] LT', lastDay: '[assant g] LT', lastWeek: 'dddd [g] LT', sameElse: 'L', }, relativeTime: { future: 'dadkh s yan %s', past: 'yan %s', s: 'imik', ss: '%d imik', m: 'minuḍ', mm: '%d minuḍ', h: 'saɛa', hh: '%d tassaɛin', d: 'ass', dd: '%d ossan', M: 'ayowr', MM: '%d iyyirn', y: 'asgas', yy: '%d isgasn', }, week: { dow: 6, doy: 12 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('tzm', { months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split( '_' ), monthsShort: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split( '_' ), weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split( '_' ), weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split( '_' ), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm', }, calendar: { sameDay: '[ⴰⵙⴷⵅ ⴴ] LT', nextDay: '[ⴰⵙⴽⴰ ⴴ] LT', nextWeek: 'dddd [ⴴ] LT', lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT', lastWeek: 'dddd [ⴴ] LT', sameElse: 'L', }, relativeTime: { future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s', past: 'ⵢⴰⵏ %s', s: 'ⵉⵎⵉⴽ', ss: '%d ⵉⵎⵉⴽ', m: 'ⵎⵉⵏⵓⴺ', mm: '%d ⵎⵉⵏⵓⴺ', h: 'ⵙⴰⵄⴰ', hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ', d: 'ⴰⵙⵙ', dd: '%d oⵙⵙⴰⵏ', M: 'ⴰⵢoⵓⵔ', MM: '%d ⵉⵢⵢⵉⵔⵏ', y: 'ⴰⵙⴳⴰⵙ', yy: '%d ⵉⵙⴳⴰⵙⵏ', }, week: { dow: 6, doy: 12 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('ug-cn', { months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split( '_' ), monthsShort: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split( '_' ), weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split('_'), weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'YYYY-MM-DD', LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى', LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm', LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm', }, meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), 'يېرىم كېچە' === t || 'سەھەر' === t || 'چۈشتىن بۇرۇن' === t ? e : 'چۈشتىن كېيىن' === t || 'كەچ' === t ? e + 12 : e >= 11 ? e : e + 12 ) }, meridiem: function (e, t, i) { var n = 100 * e + t return n < 600 ? 'يېرىم كېچە' : n < 900 ? 'سەھەر' : n < 1130 ? 'چۈشتىن بۇرۇن' : n < 1230 ? 'چۈش' : n < 1800 ? 'چۈشتىن كېيىن' : 'كەچ' }, calendar: { sameDay: '[بۈگۈن سائەت] LT', nextDay: '[ئەتە سائەت] LT', nextWeek: '[كېلەركى] dddd [سائەت] LT', lastDay: '[تۆنۈگۈن] LT', lastWeek: '[ئالدىنقى] dddd [سائەت] LT', sameElse: 'L', }, relativeTime: { future: '%s كېيىن', past: '%s بۇرۇن', s: 'نەچچە سېكونت', ss: '%d سېكونت', m: 'بىر مىنۇت', mm: '%d مىنۇت', h: 'بىر سائەت', hh: '%d سائەت', d: 'بىر كۈن', dd: '%d كۈن', M: 'بىر ئاي', MM: '%d ئاي', y: 'بىر يىل', yy: '%d يىل', }, dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/, ordinal: function (e, t) { switch (t) { case 'd': case 'D': case 'DDD': return e + '-كۈنى' case 'w': case 'W': return e + '-ھەپتە' default: return e } }, preparse: function (e) { return e.replace(/،/g, ',') }, postformat: function (e) { return e.replace(/,/g, '،') }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' function t(e, t) { var i = e.split('_') return t % 10 == 1 && t % 100 != 11 ? i[0] : t % 10 >= 2 && t % 10 <= 4 && (t % 100 < 10 || t % 100 >= 20) ? i[1] : i[2] } function i(e, i, n) { var s = { ss: i ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд', mm: i ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин', hh: i ? 'година_години_годин' : 'годину_години_годин', dd: 'день_дні_днів', MM: 'місяць_місяці_місяців', yy: 'рік_роки_років', } return 'm' === n ? i ? 'хвилина' : 'хвилину' : 'h' === n ? i ? 'година' : 'годину' : e + ' ' + t(s[n], +e) } function n(e, t) { var i = { nominative: 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split( '_' ), accusative: 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split( '_' ), genitive: 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split( '_' ), } return !0 === e ? i.nominative.slice(1, 7).concat(i.nominative.slice(0, 1)) : e ? i[ /(\[[ВвУу]\]) ?dddd/.test(t) ? 'accusative' : /\[?(?:минулої|наступної)? ?\] ?dddd/.test(t) ? 'genitive' : 'nominative' ][e.day()] : i.nominative } function s(e) { return function () { return e + 'о' + (11 === this.hours() ? 'б' : '') + '] LT' } } return e.defineLocale('uk', { months: { format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split( '_' ), standalone: 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split( '_' ), }, monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'), weekdays: n, weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD.MM.YYYY', LL: 'D MMMM YYYY р.', LLL: 'D MMMM YYYY р., HH:mm', LLLL: 'dddd, D MMMM YYYY р., HH:mm', }, calendar: { sameDay: s('[Сьогодні '), nextDay: s('[Завтра '), lastDay: s('[Вчора '), nextWeek: s('[У] dddd ['), lastWeek: function () { switch (this.day()) { case 0: case 3: case 5: case 6: return s('[Минулої] dddd [').call(this) case 1: case 2: case 4: return s('[Минулого] dddd [').call(this) } }, sameElse: 'L', }, relativeTime: { future: 'за %s', past: '%s тому', s: 'декілька секунд', ss: i, m: i, mm: i, h: 'годину', hh: i, d: 'день', dd: i, M: 'місяць', MM: i, y: 'рік', yy: i, }, meridiemParse: /ночі|ранку|дня|вечора/, isPM: function (e) { return /^(дня|вечора)$/.test(e) }, meridiem: function (e, t, i) { return e < 4 ? 'ночі' : e < 12 ? 'ранку' : e < 17 ? 'дня' : 'вечора' }, dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/, ordinal: function (e, t) { switch (t) { case 'M': case 'd': case 'DDD': case 'w': case 'W': return e + '-й' case 'D': return e + '-го' default: return e } }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' var t = [ 'جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر', ], i = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'] return e.defineLocale('ur', { months: t, monthsShort: t, weekdays: i, weekdaysShort: i, weekdaysMin: i, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd، D MMMM YYYY HH:mm', }, meridiemParse: /صبح|شام/, isPM: function (e) { return 'شام' === e }, meridiem: function (e, t, i) { return e < 12 ? 'صبح' : 'شام' }, calendar: { sameDay: '[آج بوقت] LT', nextDay: '[کل بوقت] LT', nextWeek: 'dddd [بوقت] LT', lastDay: '[گذشتہ روز بوقت] LT', lastWeek: '[گذشتہ] dddd [بوقت] LT', sameElse: 'L', }, relativeTime: { future: '%s بعد', past: '%s قبل', s: 'چند سیکنڈ', ss: '%d سیکنڈ', m: 'ایک منٹ', mm: '%d منٹ', h: 'ایک گھنٹہ', hh: '%d گھنٹے', d: 'ایک دن', dd: '%d دن', M: 'ایک ماہ', MM: '%d ماہ', y: 'ایک سال', yy: '%d سال', }, preparse: function (e) { return e.replace(/،/g, ',') }, postformat: function (e) { return e.replace(/,/g, '،') }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('uz-latn', { months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split( '_' ), monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split( '_' ), weekdays: 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split( '_' ), weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'), weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'D MMMM YYYY, dddd HH:mm', }, calendar: { sameDay: '[Bugun soat] LT [da]', nextDay: '[Ertaga] LT [da]', nextWeek: 'dddd [kuni soat] LT [da]', lastDay: '[Kecha soat] LT [da]', lastWeek: "[O'tgan] dddd [kuni soat] LT [da]", sameElse: 'L', }, relativeTime: { future: 'Yaqin %s ichida', past: 'Bir necha %s oldin', s: 'soniya', ss: '%d soniya', m: 'bir daqiqa', mm: '%d daqiqa', h: 'bir soat', hh: '%d soat', d: 'bir kun', dd: '%d kun', M: 'bir oy', MM: '%d oy', y: 'bir yil', yy: '%d yil', }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('uz', { months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split( '_' ), monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split( '_' ), weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split( '_' ), weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'), weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'D MMMM YYYY, dddd HH:mm', }, calendar: { sameDay: '[Бугун соат] LT [да]', nextDay: '[Эртага] LT [да]', nextWeek: 'dddd [куни соат] LT [да]', lastDay: '[Кеча соат] LT [да]', lastWeek: '[Утган] dddd [куни соат] LT [да]', sameElse: 'L', }, relativeTime: { future: 'Якин %s ичида', past: 'Бир неча %s олдин', s: 'фурсат', ss: '%d фурсат', m: 'бир дакика', mm: '%d дакика', h: 'бир соат', hh: '%d соат', d: 'бир кун', dd: '%d кун', M: 'бир ой', MM: '%d ой', y: 'бир йил', yy: '%d йил', }, week: { dow: 1, doy: 7 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('vi', { months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split( '_' ), monthsShort: 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split( '_' ), monthsParseExact: !0, weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'), weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), weekdaysParseExact: !0, meridiemParse: /sa|ch/i, isPM: function (e) { return /^ch$/i.test(e) }, meridiem: function (e, t, i) { return e < 12 ? (i ? 'sa' : 'SA') : i ? 'ch' : 'CH' }, longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM [năm] YYYY', LLL: 'D MMMM [năm] YYYY HH:mm', LLLL: 'dddd, D MMMM [năm] YYYY HH:mm', l: 'DD/M/YYYY', ll: 'D MMM YYYY', lll: 'D MMM YYYY HH:mm', llll: 'ddd, D MMM YYYY HH:mm', }, calendar: { sameDay: '[Hôm nay lúc] LT', nextDay: '[Ngày mai lúc] LT', nextWeek: 'dddd [tuần tới lúc] LT', lastDay: '[Hôm qua lúc] LT', lastWeek: 'dddd [tuần rồi lúc] LT', sameElse: 'L', }, relativeTime: { future: '%s tới', past: '%s trước', s: 'vài giây', ss: '%d giây', m: 'một phút', mm: '%d phút', h: 'một giờ', hh: '%d giờ', d: 'một ngày', dd: '%d ngày', M: 'một tháng', MM: '%d tháng', y: 'một năm', yy: '%d năm', }, dayOfMonthOrdinalParse: /\d{1,2}/, ordinal: function (e) { return e }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('x-pseudo', { months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split( '_' ), monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split( '_' ), monthsParseExact: !0, weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split( '_' ), weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'), weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'), weekdaysParseExact: !0, longDateFormat: { LT: 'HH:mm', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd, D MMMM YYYY HH:mm', }, calendar: { sameDay: '[T~ódá~ý át] LT', nextDay: '[T~ómó~rró~w át] LT', nextWeek: 'dddd [át] LT', lastDay: '[Ý~ést~érdá~ý át] LT', lastWeek: '[L~ást] dddd [át] LT', sameElse: 'L', }, relativeTime: { future: 'í~ñ %s', past: '%s á~gó', s: 'á ~féw ~sécó~ñds', ss: '%d s~écóñ~ds', m: 'á ~míñ~úté', mm: '%d m~íñú~tés', h: 'á~ñ hó~úr', hh: '%d h~óúrs', d: 'á ~dáý', dd: '%d d~áýs', M: 'á ~móñ~th', MM: '%d m~óñt~hs', y: 'á ~ýéár', yy: '%d ý~éárs', }, dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, ordinal: function (e) { var t = e % 10 return ( e + (1 == ~~((e % 100) / 10) ? 'th' : 1 === t ? 'st' : 2 === t ? 'nd' : 3 === t ? 'rd' : 'th') ) }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('yo', { months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split( '_' ), monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split( '_' ), weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'), weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'), weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'), longDateFormat: { LT: 'h:mm A', LTS: 'h:mm:ss A', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY h:mm A', LLLL: 'dddd, D MMMM YYYY h:mm A', }, calendar: { sameDay: '[Ònì ni] LT', nextDay: '[Ọ̀la ni] LT', nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT", lastDay: '[Àna ni] LT', lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT', sameElse: 'L', }, relativeTime: { future: 'ní %s', past: '%s kọjá', s: 'ìsẹjú aayá die', ss: 'aayá %d', m: 'ìsẹjú kan', mm: 'ìsẹjú %d', h: 'wákati kan', hh: 'wákati %d', d: 'ọjọ́ kan', dd: 'ọjọ́ %d', M: 'osù kan', MM: 'osù %d', y: 'ọdún kan', yy: 'ọdún %d', }, dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/, ordinal: 'ọjọ́ %d', week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('zh-cn', { months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( '_' ), monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( '_' ), weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'), weekdaysMin: '日_一_二_三_四_五_六'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'YYYY/MM/DD', LL: 'YYYY年M月D日', LLL: 'YYYY年M月D日Ah点mm分', LLLL: 'YYYY年M月D日ddddAh点mm分', l: 'YYYY/M/D', ll: 'YYYY年M月D日', lll: 'YYYY年M月D日 HH:mm', llll: 'YYYY年M月D日dddd HH:mm', }, meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), '凌晨' === t || '早上' === t || '上午' === t ? e : '下午' === t || '晚上' === t ? e + 12 : e >= 11 ? e : e + 12 ) }, meridiem: function (e, t, i) { var n = 100 * e + t return n < 600 ? '凌晨' : n < 900 ? '早上' : n < 1130 ? '上午' : n < 1230 ? '中午' : n < 1800 ? '下午' : '晚上' }, calendar: { sameDay: '[今天]LT', nextDay: '[明天]LT', nextWeek: '[下]ddddLT', lastDay: '[昨天]LT', lastWeek: '[上]ddddLT', sameElse: 'L', }, dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/, ordinal: function (e, t) { switch (t) { case 'd': case 'D': case 'DDD': return e + '日' case 'M': return e + '月' case 'w': case 'W': return e + '周' default: return e } }, relativeTime: { future: '%s内', past: '%s前', s: '几秒', ss: '%d 秒', m: '1 分钟', mm: '%d 分钟', h: '1 小时', hh: '%d 小时', d: '1 天', dd: '%d 天', M: '1 个月', MM: '%d 个月', y: '1 年', yy: '%d 年', }, week: { dow: 1, doy: 4 }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('zh-hk', { months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( '_' ), monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( '_' ), weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), weekdaysMin: '日_一_二_三_四_五_六'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'YYYY/MM/DD', LL: 'YYYY年M月D日', LLL: 'YYYY年M月D日 HH:mm', LLLL: 'YYYY年M月D日dddd HH:mm', l: 'YYYY/M/D', ll: 'YYYY年M月D日', lll: 'YYYY年M月D日 HH:mm', llll: 'YYYY年M月D日dddd HH:mm', }, meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), '凌晨' === t || '早上' === t || '上午' === t ? e : '中午' === t ? e >= 11 ? e : e + 12 : '下午' === t || '晚上' === t ? e + 12 : void 0 ) }, meridiem: function (e, t, i) { var n = 100 * e + t return n < 600 ? '凌晨' : n < 900 ? '早上' : n < 1130 ? '上午' : n < 1230 ? '中午' : n < 1800 ? '下午' : '晚上' }, calendar: { sameDay: '[今天]LT', nextDay: '[明天]LT', nextWeek: '[下]ddddLT', lastDay: '[昨天]LT', lastWeek: '[上]ddddLT', sameElse: 'L', }, dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, ordinal: function (e, t) { switch (t) { case 'd': case 'D': case 'DDD': return e + '日' case 'M': return e + '月' case 'w': case 'W': return e + '週' default: return e } }, relativeTime: { future: '%s內', past: '%s前', s: '幾秒', ss: '%d 秒', m: '1 分鐘', mm: '%d 分鐘', h: '1 小時', hh: '%d 小時', d: '1 天', dd: '%d 天', M: '1 個月', MM: '%d 個月', y: '1 年', yy: '%d 年', }, }) }) }, function (e, t, i) { !(function (e, t) { t(i(14)) })(0, function (e) { 'use strict' return e.defineLocale('zh-tw', { months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( '_' ), monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( '_' ), weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), weekdaysMin: '日_一_二_三_四_五_六'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'YYYY/MM/DD', LL: 'YYYY年M月D日', LLL: 'YYYY年M月D日 HH:mm', LLLL: 'YYYY年M月D日dddd HH:mm', l: 'YYYY/M/D', ll: 'YYYY年M月D日', lll: 'YYYY年M月D日 HH:mm', llll: 'YYYY年M月D日dddd HH:mm', }, meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, meridiemHour: function (e, t) { return ( 12 === e && (e = 0), '凌晨' === t || '早上' === t || '上午' === t ? e : '中午' === t ? e >= 11 ? e : e + 12 : '下午' === t || '晚上' === t ? e + 12 : void 0 ) }, meridiem: function (e, t, i) { var n = 100 * e + t return n < 600 ? '凌晨' : n < 900 ? '早上' : n < 1130 ? '上午' : n < 1230 ? '中午' : n < 1800 ? '下午' : '晚上' }, calendar: { sameDay: '[今天] LT', nextDay: '[明天] LT', nextWeek: '[下]dddd LT', lastDay: '[昨天] LT', lastWeek: '[上]dddd LT', sameElse: 'L', }, dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, ordinal: function (e, t) { switch (t) { case 'd': case 'D': case 'DDD': return e + '日' case 'M': return e + '月' case 'w': case 'W': return e + '週' default: return e } }, relativeTime: { future: '%s內', past: '%s前', s: '幾秒', ss: '%d 秒', m: '1 分鐘', mm: '%d 分鐘', h: '1 小時', hh: '%d 小時', d: '1 天', dd: '%d 天', M: '1 個月', MM: '%d 個月', y: '1 年', yy: '%d 年', }, }) }) }, , , , , , , , , , , , function (e, t, i) { 'use strict' Object.defineProperty(t, '__esModule', { value: !0 }) var n = i(624), s = (function (e) { return e && e.__esModule ? e : { default: e } })(n), r = window, a = r.$, o = function (e) { var t = a(e) a.each(t, function (e, t) { if (!t.checkValidity()) { var i = t.value.split('@') s.default.toASCII(i[0]) === i[0] && (t.value = s.default.toASCII(t.value)) } }) } t.default = o }, function (e, t, i) { 'use strict' ;(function (e) { Object.defineProperty(t, '__esModule', { value: !0 }) /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ var i = e.$, n = function () { i('input,select,textarea').on('invalid', function () { this.scrollIntoView(!1) }) } t.default = n }).call(t, i(9)) }, function (e, t, i) { 'use strict' /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ !(function (e) { ;(e.fn.clickableDropdown = function () { return ( e(document).on( 'click', '.dropdown-clickable .dropdown-menu', function (e) { e.stopPropagation() } ), this ) }), e(function () { e(document).clickableDropdown() }) })(window.$) }, , , , , , , , , , , , , , , , , function (e, t, i) { 'use strict' function n(e) { return e && e.__esModule ? e : { default: e } } Object.defineProperty(t, '__esModule', { value: !0 }) var s = i(0), r = n(s), a = i(1), o = n(a), l = i(467), u = n(l), d = window.$, c = (function () { function e() { var t = this ;(0, r.default)(this, e), d(function () { t.initQuickAccess(), t.initMultiStores(), t.initNotificationsToggle(), t.initSearch(), t.initContentDivOffset(), (0, u.default)() }) } return ( (0, o.default)(e, [ { key: 'initQuickAccess', value: function () { d('.js-quick-link').on('click', function (e) { e.preventDefault() var t = d(e.target).data('method'), i = null if ('add' === t) { var n = d(e.target).data('prompt-text'), s = d(e.target).data('link') i = prompt(n, s) } if (('add' === t && i) || 'remove' === t) { var r = d(e.target).data('post-link'), a = d(e.target).data('quicklink-id'), o = d(e.target).data('rand'), l = d(e.target).data('url'), u = d(e.target).data('icon') d.ajax({ type: 'POST', headers: { 'cache-control': 'no-cache' }, async: !0, url: r + '&action=GetUrl&rand=' + o + '&ajax=1&method=' + t + '&id_quick_access=' + a, data: { url: l, name: i, icon: u }, dataType: 'json', success: function (t) { var i = '' d.each(t, function (e) { void 0 !== t[e].name && (i += '
  • ' + t[e].name + '
  • ') }), void 0 !== t.has_errors && t.has_errors ? d.each(t, function (e) { 'string' == typeof t[e] && d.growl.error({ title: '', message: t[e] }) }) : i && (d('#header_quick ul.dropdown-menu .divider') .prevAll() .remove(), d('#header_quick ul.dropdown-menu').prepend(i), d(e.target).remove(), window.showSuccessMessage( window.update_success_msg )) }, }) } }) }, }, { key: 'initMultiStores', value: function () { d('.js-link').on('click', function (e) { window.open( d(e.target).parents('.link').attr('href'), '_blank' ) }) }, }, { key: 'initNotificationsToggle', value: function () { var e = this d('.notification.dropdown-toggle').on('click', function () { d('.mobile-nav').hasClass('expanded') || e.updateEmployeeNotifications() }), d('body').on('click', function (e) { d('div.notification-center.dropdown').is(e.target) || 0 !== d('div.notification-center.dropdown').has(e.target) .length || 0 !== d('.open').has(e.target).length || (d('div.notification-center.dropdown').hasClass('open') && (d('.mobile-layer').removeClass('expanded'), (0, u.default)())) }), d('.notification-center .nav-link').on( 'shown.bs.tab', function () { e.updateEmployeeNotifications() } ) }, }, { key: 'initSearch', value: function () { d('.js-items-list').on('click', function (e) { d('.js-form-search').attr( 'placeholder', d(e.target).data('placeholder') ), d('.js-search-type').val(d(e.target).data('value')), d('.js-dropdown-toggle').text(d(e.target).data('item')) }) }, }, { key: 'updateEmployeeNotifications', value: function () { d.post(admin_notification_push_link, { type: d('.notification-center .nav-link.active').attr( 'data-type' ), }) }, }, { key: 'initContentDivOffset', value: function () { var e = function () { var e = d('.header-toolbar').last(), t = d('.main-header'), i = d('.content-div') e.length && t.length && i.length && i.css('padding-top', e.outerHeight() + t.outerHeight() + 15) } e(), d(window).resize(e), d(document).on('vueHeaderMounted', e) }, }, ]), e ) })() t.default = c }, function (e, t, i) { 'use strict' var n = i(466), s = (function (e) { return e && e.__esModule ? e : { default: e } })(n) /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ ;(0, window.$)(function () { window.location.pathname.match('/configure/shop/maintenance\\b') && s.default.init() }) }, function (e, t, i) { 'use strict' function n(e) { return e && e.__esModule ? e : { default: e } } Object.defineProperty(t, '__esModule', { value: !0 }) var s = i(0), r = n(s), a = i(1), o = n(a), l = i(625), u = n(l) i(616) /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ var d = window.$, c = (function () { function e() { var t = this ;(0, r.default)(this, e), d(function () { var e = d('.nav-bar') if (e.length > 0) { var i = function () { d('body').is('.page-sidebar-closed:not(.mobile)') && d('body').on('click.mobile', function () { d('ul.main-menu li.ul-open').length > 0 && (d( '.nav-bar li.link-levelone.has_submenu.ul-open' ).removeClass('ul-open open -hover'), d( '.nav-bar li.link-levelone.has_submenu.ul-open ul.submenu' ).removeAttr('style')) }) } new u.default('.nav-bar-overflow'), d('.nav-bar-overflow').on('scroll', function () { var e = d('.main-menu .link-levelone.has_submenu.ul-open') d(e).each(function (e, t) { var i = d(t).position().top d(t).find('ul.submenu').css('top', i) }) }), e.find('.link-levelone').hover( function () { d(this).addClass('-hover') }, function () { d(this).removeClass('-hover') } ), d('.nav-bar li.link-levelone.has_submenu > a').on( 'click', function (e) { e.preventDefault(), e.stopPropagation() var t = d(this).parent() d( '.nav-bar li.link-levelone.has_submenu a > i.material-icons.sub-tabs-arrow' ).text('keyboard_arrow_down') var i = d(e.currentTarget).parent().hasClass('ul-open') if ( (d('body').is('.page-sidebar-closed:not(.mobile)') ? (d( '.nav-bar li.link-levelone.has_submenu.ul-open' ).removeClass('ul-open open -hover'), d( '.nav-bar li.link-levelone.has_submenu.ul-open ul.submenu' ).removeAttr('style')) : d( '.nav-bar li.link-levelone.has_submenu.ul-open ul.submenu' ).slideUp({ complete: function () { d(this).parent().removeClass('ul-open open'), d(this).removeAttr('style') }, }), !i) ) { t.addClass('ul-open'), d('body').is('.page-sidebar-closed:not(.mobile)') ? (t.addClass('-hover'), t.find('ul.submenu').removeAttr('style')) : t.find('ul.submenu').slideDown({ complete: function () { t.addClass('open'), d(this).removeAttr('style') }, }), t .find('i.material-icons.sub-tabs-arrow') .text('keyboard_arrow_up') var n = t.position().top t.find('ul.submenu').css('top', n) } } ), e.on('click', '.menu-collapse', function () { d('body').toggleClass('page-sidebar-closed'), d('.popover.show').remove(), d('.help-box[aria-describedby]').removeAttr( 'aria-describedby' ), d('body').hasClass('page-sidebar-closed') ? (d('nav.nav-bar ul.main-menu > li') .removeClass('ul-open open') .find('a > i.material-icons.sub-tabs-arrow') .text('keyboard_arrow_down'), i()) : (d('nav.nav-bar ul.main-menu > li.-active') .addClass('ul-open open') .find('a > i.material-icons.sub-tabs-arrow') .text('keyboard_arrow_up'), d('body').off('click.mobile')), d.post({ url: d(this).data('toggle-url'), cache: !1, data: { shouldCollapse: Number( d('body').hasClass('page-sidebar-closed') ), }, }) }), i() d(window).width() <= 1023 && t.mobileNav(1023), d(window).on('resize', function () { d('body').hasClass('mobile') && d(window).width() > 1023 ? t.unbuildMobileMenu() : !d('body').hasClass('mobile') && d(window).width() <= 1023 && t.mobileNav(1023) }) } }) } return ( (0, o.default)(e, [ { key: 'mobileNav', value: function () { function e(t) { if (!d('div.notification-center.dropdown').hasClass('open')) { if (d('.mobile-nav').hasClass('expanded')) return ( d('.mobile-nav').animate( { 'margin-left': '-100%' }, { complete: function () { d('.nav-bar, .mobile-layer').removeClass( 'expanded' ), d('.nav-bar, .mobile-layer').addClass('d-none') }, } ), void d('.mobile-layer').off() ) d('.nav-bar, .mobile-layer').addClass('expanded'), d('.nav-bar, .mobile-layer').removeClass('d-none'), d('.mobile-layer').on('click', e), d('.mobile-nav').animate({ 'margin-left': 0 }) } } var t = d('#header_logout') .addClass('link') .removeClass('m-t-1') .prop('outerHTML'), i = d('.employee_avatar').prop('outerHTML'), n = d('.profile-link').attr('href'), s = d('.main-menu') d( '.nav-bar li.link-levelone.has_submenu:not(.open) a > i.material-icons.sub-tabs-arrow' ).text('keyboard_arrow_down'), d('body').addClass('mobile'), d('.nav-bar') .addClass('mobile-nav') .attr('style', 'margin-left: -100%;'), d('.panel-collapse').addClass('collapse'), d('.link-levelone a').each(function (e, t) { var i = d(t).parent().find('.collapse').attr('id') i && d(t) .attr('href', '#' + i) .attr('data-toggle', 'collapse') }), s.append( "' ), s.prepend("'), d('.collapse').collapse({ toggle: !1 }), s .find( '.employee_avatar .material-icons, .employee_avatar span' ) .wrap(""), d('.js-mobile-menu').on('click', e), d('.js-notifs_dropdown').css({ height: window.innerHeight }) }, }, { key: 'unbuildMobileMenu', value: function () { d('body').removeClass('mobile'), d( 'body.page-sidebar-closed .nav-bar .link-levelone.open' ).removeClass('ul-open open'), d('.main-menu li:first, .main-menu li:last').remove(), d('.js-notifs_dropdown').removeAttr('style'), d('.nav-bar') .removeClass('mobile-nav expanded') .addClass('d-none') .css('margin-left', 0), d('.js-mobile-menu').off(), d('.panel-collapse') .removeClass('collapse') .addClass('submenu'), d('.shop-list-title').remove(), d('.js-non-responsive').hide(), d('.mobile-layer').addClass('d-none').removeClass('expanded') }, }, ]), e ) })() t.default = c }, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , function (e, t, i) { 'use strict' ;(function (e) { function t(e) { return e && e.__esModule ? e : { default: e } } var n = i(547), s = t(n), r = i(543), a = t(r), o = i(544), l = t(o), u = i(546), d = t(u), c = i(545), h = t(c) e(function () { ;(0, s.default)(l.default) var e = (0, h.default)() ;(0, a.default)(e), (0, d.default)() }) }).call(t, i(41)) }, function (e, t, i) { ;(function (t) { e.exports = t.Bloodhound = i(641) }).call(t, i(9)) }, function (e, t) {}, function (e, t) {}, function (e, t) {}, function (e, t, i) { ;(function (e, t) { var i = !1 ;(function () { /*! * bootstrap-tokenfield * https://github.com/sliptree/bootstrap-tokenfield * Copyright 2013-2014 Sliptree and other contributors; Licensed MIT */ !(function (e) { 'function' == typeof i && i.amd ? i(['jquery'], e) : e(t) })(function (e, t) { 'use strict' var i = function (i, n) { var s = this ;(this.$element = e(i)), (this.textDirection = this.$element.css('direction')), (this.options = e.extend( !0, {}, e.fn.tokenfield.defaults, { tokens: this.$element.val() }, this.$element.data(), n )), (this._delimiters = 'string' == typeof this.options.delimiter ? [this.options.delimiter] : this.options.delimiter), (this._triggerKeys = e.map(this._delimiters, function (e) { return e.charCodeAt(0) })), (this._firstDelimiter = this._delimiters[0]) var r = e.inArray(' ', this._delimiters), a = e.inArray('-', this._delimiters) r >= 0 && (this._delimiters[r] = '\\s'), a >= 0 && (delete this._delimiters[a], this._delimiters.unshift('-')) var o = [ '\\', '$', '[', '{', '^', '.', '|', '?', '*', '+', '(', ')', ] e.each(this._delimiters, function (t, i) { e.inArray(i, o) >= 0 && (s._delimiters[t] = '\\' + i) }) var l, u = t && 'function' == typeof t.getMatchedCSSRules ? t.getMatchedCSSRules(i) : null, d = i.style.width, c = this.$element.width() u && e.each(u, function (e, t) { t.style.width && (l = t.style.width) }) var h = 'rtl' === e('body').css('direction') ? 'right' : 'left', p = { position: this.$element.css('position') } ;(p[h] = this.$element.css(h)), this.$element .data('original-styles', p) .data('original-tabindex', this.$element.prop('tabindex')) .css('position', 'absolute') .css(h, '-10000px') .prop('tabindex', -1), (this.$wrapper = e('
    ')), this.$element.hasClass('input-lg') && this.$wrapper.addClass('input-lg'), this.$element.hasClass('input-sm') && this.$wrapper.addClass('input-sm'), 'rtl' === this.textDirection && this.$wrapper.addClass('rtl') var f = this.$element.prop('id') || new Date().getTime() + '' + Math.floor(100 * (1 + Math.random())) this.$input = e( '' ) .appendTo(this.$wrapper) .prop('placeholder', this.$element.prop('placeholder')) .prop('id', f + '-tokenfield') .prop('tabindex', this.$element.data('original-tabindex')) var m = e('label[for="' + this.$element.prop('id') + '"]') if ( (m.length && m.prop('for', this.$input.prop('id')), (this.$copyHelper = e('') .css('position', 'absolute') .css(h, '-10000px') .prop('tabindex', -1) .prependTo(this.$wrapper)), d ? this.$wrapper.css('width', d) : l ? this.$wrapper.css('width', l) : this.$element.parents('.form-inline').length && this.$wrapper.width(c), (this.$element.prop('disabled') || this.$element.parents('fieldset[disabled]').length) && this.disable(), this.$element.prop('readonly') && this.readonly(), (this.$mirror = e( '' )), this.$input.css('min-width', this.options.minWidth + 'px'), e.each( [ 'fontFamily', 'fontSize', 'fontWeight', 'fontStyle', 'letterSpacing', 'textTransform', 'wordSpacing', 'textIndent', ], function (e, t) { s.$mirror[0].style[t] = s.$input.css(t) } ), this.$mirror.appendTo('body'), this.$wrapper.insertBefore(this.$element), this.$element.prependTo(this.$wrapper), this.update(), this.setTokens(this.options.tokens, !1, !1), this.listen(), !e.isEmptyObject(this.options.autocomplete)) ) { var _ = 'rtl' === this.textDirection ? 'right' : 'left', g = e.extend( { minLength: this.options.showAutocompleteOnFocus ? 0 : null, position: { my: _ + ' top', at: _ + ' bottom', of: this.$wrapper, }, }, this.options.autocomplete ) this.$input.autocomplete(g) } if (!e.isEmptyObject(this.options.typeahead)) { var v = this.options.typeahead, y = { minLength: this.options.showAutocompleteOnFocus ? 0 : null, }, b = e.isArray(v) ? v : [v, v] ;(b[0] = e.extend({}, y, b[0])), this.$input.typeahead.apply(this.$input, b), (this.typeahead = !0) } this.$element.trigger('tokenfield:initialize') } i.prototype = { constructor: i, createToken: function (t, i) { var n = this if ( ('string' == typeof t && (t = { value: t, label: t }), void 0 === i && (i = !0), (t.value = e.trim(t.value)), (t.label = t.label && t.label.length ? e.trim(t.label) : t.value), t.value.length && t.label.length && !(t.label.length <= this.options.minLength) && !( this.options.limit && this.getTokens().length >= this.options.limit )) ) { var s = e.Event('tokenfield:createtoken', { attrs: t }) if ( (this.$element.trigger(s), s.attrs && !s.isDefaultPrevented()) ) { var r = e('
    ') .attr('data-value', t.value) .append('') .append( '×' ) this.$input.hasClass('tt-input') ? this.$input.parent().before(r) : this.$input.before(r), this.$input.css('width', this.options.minWidth + 'px') var a = r.find('.token-label'), o = r.find('.close') return ( this.maxTokenWidth || ((this.maxTokenWidth = this.$wrapper.width() - o.outerWidth() - parseInt(o.css('margin-left'), 10) - parseInt(o.css('margin-right'), 10) - parseInt(r.css('border-left-width'), 10) - parseInt(r.css('border-right-width'), 10) - parseInt(r.css('padding-left'), 10) - parseInt(r.css('padding-right'), 10)), parseInt(a.css('border-left-width'), 10), parseInt(a.css('border-right-width'), 10), parseInt(a.css('padding-left'), 10), parseInt(a.css('padding-right'), 10), parseInt(a.css('margin-left'), 10), parseInt(a.css('margin-right'), 10)), a.text(t.label).css('max-width', this.maxTokenWidth), r .on('mousedown', function (e) { if (n._disabled || n._readonly) return !1 n.preventDeactivation = !0 }) .on('click', function (e) { return ( !n._disabled && !n._readonly && ((n.preventDeactivation = !1), e.ctrlKey || e.metaKey ? (e.preventDefault(), n.toggle(r)) : void n.activate(r, e.shiftKey, e.shiftKey)) ) }) .on('dblclick', function (e) { if ( n._disabled || n._readonly || !n.options.allowEditing ) return !1 n.edit(r) }), o.on('click', e.proxy(this.remove, this)), this.$element.trigger( e.Event('tokenfield:createdtoken', { attrs: t, relatedTarget: r.get(0), }) ), i && this.$element .val(this.getTokensList()) .trigger( e.Event('change', { initiator: 'tokenfield' }) ), this.update(), this.$element.get(0) ) } } }, setTokens: function (t, i, n) { if (t) { i || this.$wrapper.find('.token').remove(), void 0 === n && (n = !0), 'string' == typeof t && (t = this._delimiters.length ? t.split( new RegExp('[' + this._delimiters.join('') + ']') ) : [t]) var s = this return ( e.each(t, function (e, t) { s.createToken(t, n) }), this.$element.get(0) ) } }, getTokenData: function (t) { var i = t .map(function () { var t = e(this) return { value: t.attr('data-value'), label: t.find('.token-label').text(), } }) .get() return 1 == i.length && (i = i[0]), i }, getTokens: function (t) { var i = this, n = [], s = t ? '.active' : '' return ( this.$wrapper.find('.token' + s).each(function () { n.push(i.getTokenData(e(this))) }), n ) }, getTokensList: function (t, i, n) { ;(t = t || this._firstDelimiter), (i = void 0 !== i && null !== i ? i : this.options.beautify) var s = t + (i && ' ' !== t ? ' ' : '') return e .map(this.getTokens(n), function (e) { return e.value }) .join(s) }, getInput: function () { return this.$input.val() }, listen: function () { var i = this this.$element.on('change', e.proxy(this.change, this)), this.$wrapper.on('mousedown', e.proxy(this.focusInput, this)), this.$input .on('focus', e.proxy(this.focus, this)) .on('blur', e.proxy(this.blur, this)) .on('paste', e.proxy(this.paste, this)) .on('keydown', e.proxy(this.keydown, this)) .on('keypress', e.proxy(this.keypress, this)) .on('keyup', e.proxy(this.keyup, this)), this.$copyHelper .on('focus', e.proxy(this.focus, this)) .on('blur', e.proxy(this.blur, this)) .on('keydown', e.proxy(this.keydown, this)) .on('keyup', e.proxy(this.keyup, this)), this.$input .on('keypress', e.proxy(this.update, this)) .on('keyup', e.proxy(this.update, this)), this.$input .on('autocompletecreate', function () { var t = e(this).data('ui-autocomplete').menu.element, n = i.$wrapper.outerWidth() - parseInt(t.css('border-left-width'), 10) - parseInt(t.css('border-right-width'), 10) t.css('min-width', n + 'px') }) .on('autocompleteselect', function (e, t) { return ( i.createToken(t.item) && (i.$input.val(''), i.$input.data('edit') && i.unedit(!0)), !1 ) }) .on( 'typeahead:selected typeahead:autocompleted', function (e, t, n) { i.createToken(t) && (i.$input.typeahead('val', ''), i.$input.data('edit') && i.unedit(!0)) } ), e(t).on('resize', e.proxy(this.update, this)) }, keydown: function (t) { function i(e) { if (s.$input.is(document.activeElement)) { if (s.$input.val().length > 0) return e += 'All' var i = s.$input.hasClass('tt-input') ? s.$input.parent()[e]('.token:first') : s.$input[e]('.token:first') if (!i.length) return ;(s.preventInputFocus = !0), (s.preventDeactivation = !0), s.activate(i), t.preventDefault() } else s[e](t.shiftKey), t.preventDefault() } function n(i) { if (t.shiftKey) { if (s.$input.is(document.activeElement)) { if (s.$input.val().length > 0) return var n = s.$input.hasClass('tt-input') ? s.$input.parent()[i + 'All']('.token:first') : s.$input[i + 'All']('.token:first') if (!n.length) return s.activate(n) } var r = 'prev' === i ? 'next' : 'prev', a = 'prev' === i ? 'first' : 'last' s.firstActiveToken[r + 'All']('.token').each(function () { s.deactivate(e(this)) }), s.activate(s.$wrapper.find('.token:' + a), !0, !0), t.preventDefault() } } if (this.focused) { var s = this switch (t.keyCode) { case 8: if (!this.$input.is(document.activeElement)) break this.lastInputValue = this.$input.val() break case 37: i('rtl' === this.textDirection ? 'next' : 'prev') break case 38: n('prev') break case 39: i('rtl' === this.textDirection ? 'prev' : 'next') break case 40: n('next') break case 65: if ( this.$input.val().length > 0 || (!t.ctrlKey && !t.metaKey) ) break this.activateAll(), t.preventDefault() break case 9: case 13: if ( this.$input.data('ui-autocomplete') && this.$input .data('ui-autocomplete') .menu.element.find('li:has(a.ui-state-focus)').length ) break if ( this.$input.hasClass('tt-input') && this.$wrapper.find('.tt-cursor').length ) break if ( this.$input.hasClass('tt-input') && this.$wrapper.find('.tt-hint').val().length ) break if ( (this.$input.is(document.activeElement) && this.$input.val().length) || this.$input.data('edit') ) return this.createTokensFromInput( t, this.$input.data('edit') ) if (13 === t.keyCode) { if ( !this.$copyHelper.is(document.activeElement) || 1 !== this.$wrapper.find('.token.active').length ) break if (!s.options.allowEditing) break this.edit(this.$wrapper.find('.token.active')) } } this.lastKeyDown = t.keyCode } }, keypress: function (t) { if ( ((this.lastKeyPressCode = t.keyCode), (this.lastKeyPressCharCode = t.charCode), -1 !== e.inArray(t.charCode, this._triggerKeys) && this.$input.is(document.activeElement)) ) return this.$input.val() && this.createTokensFromInput(t), !1 }, keyup: function (e) { if (((this.preventInputFocus = !1), this.focused)) { switch (e.keyCode) { case 8: if (this.$input.is(document.activeElement)) { if ( this.$input.val().length || (this.lastInputValue.length && 8 === this.lastKeyDown) ) break this.preventDeactivation = !0 var t = this.$input.hasClass('tt-input') ? this.$input.parent().prevAll('.token:first') : this.$input.prevAll('.token:first') if (!t.length) break this.activate(t) } else this.remove(e) break case 46: this.remove(e, 'next') } this.lastKeyUp = e.keyCode } }, focus: function (e) { ;(this.focused = !0), this.$wrapper.addClass('focus'), this.$input.is(document.activeElement) && (this.$wrapper.find('.active').removeClass('active'), (this.$firstActiveToken = null), this.options.showAutocompleteOnFocus && this.search()) }, blur: function (e) { ;(this.focused = !1), this.$wrapper.removeClass('focus'), this.preventDeactivation || this.$element.is(document.activeElement) || (this.$wrapper.find('.active').removeClass('active'), (this.$firstActiveToken = null)), !this.preventCreateTokens && ((this.$input.data('edit') && !this.$input.is(document.activeElement)) || this.options.createTokensOnBlur) && this.createTokensFromInput(e), (this.preventDeactivation = !1), (this.preventCreateTokens = !1) }, paste: function (e) { var t = this setTimeout(function () { t.createTokensFromInput(e) }, 1) }, change: function (e) { 'tokenfield' !== e.initiator && this.setTokens(this.$element.val()) }, createTokensFromInput: function (e, t) { if (!(this.$input.val().length < this.options.minLength)) { var i = this.getTokensList() return ( this.setTokens(this.$input.val(), !0), i == this.getTokensList() && this.$input.val().length ? !1 : (this.$input.hasClass('tt-input') ? this.$input.typeahead('val', '') : this.$input.val(''), this.$input.data('edit') && this.unedit(t), !1) ) } }, next: function (e) { if (e) { var t = this.$wrapper.find('.active:first') if ( !(!t || !this.$firstActiveToken) && t.index() < this.$firstActiveToken.index() ) return this.deactivate(t) } var i = this.$wrapper.find('.active:last'), n = i.nextAll('.token:first') if (!n.length) return void this.$input.focus() this.activate(n, e) }, prev: function (e) { if (e) { var t = this.$wrapper.find('.active:last') if ( !(!t || !this.$firstActiveToken) && t.index() > this.$firstActiveToken.index() ) return this.deactivate(t) } var i = this.$wrapper.find('.active:first'), n = i.prevAll('.token:first') if ( (n.length || (n = this.$wrapper.find('.token:first')), !n.length && !e) ) return void this.$input.focus() this.activate(n, e) }, activate: function (t, i, n, s) { if (t) { if (void 0 === s) var s = !0 if (n) var i = !0 if ( (this.$copyHelper.focus(), i || (this.$wrapper.find('.active').removeClass('active'), s ? (this.$firstActiveToken = t) : delete this.$firstActiveToken), n && this.$firstActiveToken) ) { var r = this.$firstActiveToken.index() - 2, a = t.index() - 2, o = this this.$wrapper .find('.token') .slice(Math.min(r, a) + 1, Math.max(r, a)) .each(function () { o.activate(e(this), !0) }) } t.addClass('active'), this.$copyHelper .val(this.getTokensList(null, null, !0)) .select() } }, activateAll: function () { var t = this this.$wrapper.find('.token').each(function (i) { t.activate(e(this), 0 !== i, !1, !1) }) }, deactivate: function (e) { e && (e.removeClass('active'), this.$copyHelper .val(this.getTokensList(null, null, !0)) .select()) }, toggle: function (e) { e && (e.toggleClass('active'), this.$copyHelper .val(this.getTokensList(null, null, !0)) .select()) }, edit: function (t) { if (t) { var i = { value: t.data('value'), label: t.find('.token-label').text(), }, n = { attrs: i, relatedTarget: t.get(0) }, s = e.Event('tokenfield:edittoken', n) if ((this.$element.trigger(s), !s.isDefaultPrevented())) { t.find('.token-label').text(i.value) var r = t.outerWidth(), a = this.$input.hasClass('tt-input') ? this.$input.parent() : this.$input t.replaceWith(a), (this.preventCreateTokens = !0), this.$input.val(i.value).select().data('edit', !0).width(r), this.update(), this.$element.trigger(e.Event('tokenfield:editedtoken', n)) } } }, unedit: function (e) { if ( ((this.$input.hasClass('tt-input') ? this.$input.parent() : this.$input ).appendTo(this.$wrapper), this.$input.data('edit', !1), this.$mirror.text(''), this.update(), e) ) { var t = this setTimeout(function () { t.$input.focus() }, 1) } }, remove: function (t, i) { if ( !( this.$input.is(document.activeElement) || this._disabled || this._readonly ) ) { var n = 'click' === t.type ? e(t.target).closest('.token') : this.$wrapper.find('.token.active') if ('click' !== t.type) { if (!i) var i = 'prev' if ((this[i](), 'prev' === i)) var s = 0 === n.first().prevAll('.token:first').length } var r = { attrs: this.getTokenData(n), relatedTarget: n.get(0), }, a = e.Event('tokenfield:removetoken', r) if ((this.$element.trigger(a), !a.isDefaultPrevented())) { var o = e.Event('tokenfield:removedtoken', r), l = e.Event('change', { initiator: 'tokenfield' }) n.remove(), this.$element .val(this.getTokensList()) .trigger(o) .trigger(l), (this.$wrapper.find('.token').length && 'click' !== t.type && !s) || this.$input.focus(), this.$input.css('width', this.options.minWidth + 'px'), this.update(), t.preventDefault(), t.stopPropagation() } } }, update: function (e) { var t = this.$input.val(), i = parseInt(this.$input.css('padding-left'), 10), n = parseInt(this.$input.css('padding-right'), 10), s = i + n if (this.$input.data('edit')) { if ( (t || (t = this.$input.prop('placeholder')), t === this.$mirror.text()) ) return this.$mirror.text(t) var r = this.$mirror.width() + 10 if (r > this.$wrapper.width()) return this.$input.width(this.$wrapper.width()) this.$input.width(r) } else { if ( (this.$input.css('width', this.options.minWidth + 'px'), 'rtl' === this.textDirection) ) return this.$input.width( this.$input.offset().left + this.$input.outerWidth() - this.$wrapper.offset().left - parseInt(this.$wrapper.css('padding-left'), 10) - s - 1 ) this.$input.width( this.$wrapper.offset().left + this.$wrapper.width() + parseInt(this.$wrapper.css('padding-left'), 10) - this.$input.offset().left - s ) } }, focusInput: function (t) { if ( !( e(t.target).closest('.token').length || e(t.target).closest('.token-input').length || e(t.target).closest('.tt-dropdown-menu').length ) ) { var i = this setTimeout(function () { i.$input.focus() }, 0) } }, search: function () { this.$input.data('ui-autocomplete') && this.$input.autocomplete('search') }, disable: function () { this.setProperty('disabled', !0) }, enable: function () { this.setProperty('disabled', !1) }, readonly: function () { this.setProperty('readonly', !0) }, writeable: function () { this.setProperty('readonly', !1) }, setProperty: function (e, t) { ;(this['_' + e] = t), this.$input.prop(e, t), this.$element.prop(e, t), this.$wrapper[t ? 'addClass' : 'removeClass'](e) }, destroy: function () { this.$element.val(this.getTokensList()), this.$element.css(this.$element.data('original-styles')), this.$element.prop( 'tabindex', this.$element.data('original-tabindex') ) var t = e('label[for="' + this.$input.prop('id') + '"]') return ( t.length && t.prop('for', this.$element.prop('id')), this.$element.insertBefore(this.$wrapper), this.$element .removeData('original-styles') .removeData('original-tabindex') .removeData('bs.tokenfield'), this.$wrapper.remove(), this.$element ) }, } var n = e.fn.tokenfield return ( (e.fn.tokenfield = function (t, n) { var s, r = [] Array.prototype.push.apply(r, arguments) var a = this.each(function () { var a = e(this), o = a.data('bs.tokenfield'), l = 'object' == typeof t && t 'string' == typeof t && o && o[t] ? (r.shift(), (s = o[t].apply(o, r))) : o || 'string' == typeof t || n || a.data('bs.tokenfield', (o = new i(this, l))) }) return void 0 !== s ? s : a }), (e.fn.tokenfield.defaults = { minWidth: 60, minLength: 0, allowEditing: !0, limit: 0, autocomplete: {}, typeahead: {}, showAutocompleteOnFocus: !1, createTokensOnBlur: !1, delimiter: ',', beautify: !0, }), (e.fn.tokenfield.Constructor = i), (e.fn.tokenfield.noConflict = function () { return (e.fn.tokenfield = n), this }), i ) }) }).call(window) }).call(t, i(9), i(41)) }, function (e, t, i) { ;(function (e, t) { var i = !1 ;(function () { /*! version : 4.17.47 ========================================================= bootstrap-datetimejs https://github.com/Eonasdan/bootstrap-datetimepicker Copyright (c) 2015 Jonathan Peterson ========================================================= */ !(function (n) { 'use strict' if ('function' == typeof i && i.amd) i(['jquery', 'moment'], n) else { if (void 0 === e) throw 'bootstrap-datetimepicker requires jQuery to be loaded first' if (void 0 === t) throw 'bootstrap-datetimepicker requires Moment.js to be loaded first' n(e, t) } })(function (e, t) { 'use strict' if (!t) throw new Error( 'bootstrap-datetimepicker requires Moment.js to be loaded first' ) var i = function (i, n) { var s, r, a, o, l, u, d, c = {}, h = !0, p = !1, f = !1, m = 0, _ = [ { clsName: 'days', navFnc: 'M', navStep: 1 }, { clsName: 'months', navFnc: 'y', navStep: 1 }, { clsName: 'years', navFnc: 'y', navStep: 10 }, { clsName: 'decades', navFnc: 'y', navStep: 100 }, ], g = ['days', 'months', 'years', 'decades'], v = ['top', 'bottom', 'auto'], y = ['left', 'right', 'auto'], b = ['default', 'top', 'bottom'], w = { up: 38, 38: 'up', down: 40, 40: 'down', left: 37, 37: 'left', right: 39, 39: 'right', tab: 9, 9: 'tab', escape: 27, 27: 'escape', enter: 13, 13: 'enter', pageUp: 33, 33: 'pageUp', pageDown: 34, 34: 'pageDown', shift: 16, 16: 'shift', control: 17, 17: 'control', space: 32, 32: 'space', t: 84, 84: 't', delete: 46, 46: 'delete', }, M = {}, k = function () { return ( void 0 !== t.tz && void 0 !== n.timeZone && null !== n.timeZone && '' !== n.timeZone ) }, L = function (e) { var i return ( (i = void 0 === e || null === e ? t() : t.isDate(e) || t.isMoment(e) ? t(e) : k() ? t.tz(e, u, n.useStrict, n.timeZone) : t(e, u, n.useStrict)), k() && i.tz(n.timeZone), i ) }, D = function (e) { if ('string' != typeof e || e.length > 1) throw new TypeError( 'isEnabled expects a single character string parameter' ) switch (e) { case 'y': return -1 !== l.indexOf('Y') case 'M': return -1 !== l.indexOf('M') case 'd': return -1 !== l.toLowerCase().indexOf('d') case 'h': case 'H': return -1 !== l.toLowerCase().indexOf('h') case 'm': return -1 !== l.indexOf('m') case 's': return -1 !== l.indexOf('s') default: return !1 } }, T = function () { return D('h') || D('m') || D('s') }, Y = function () { return D('y') || D('M') || D('d') }, x = function () { var t = e('').append( e('') .append( e('') .addClass('prev') .attr('data-action', 'previous') .append(e('').addClass(n.icons.previous)) ) .append( e('') .addClass('picker-switch') .attr('data-action', 'pickerSwitch') .attr('colspan', n.calendarWeeks ? '6' : '5') ) .append( e('') .addClass('next') .attr('data-action', 'next') .append(e('').addClass(n.icons.next)) ) ), i = e('').append( e('').append( e('').attr('colspan', n.calendarWeeks ? '8' : '7') ) ) return [ e('
    ') .addClass('datepicker-days') .append( e('') .addClass('table-condensed') .append(t) .append(e('')) ), e('
    ') .addClass('datepicker-months') .append( e('
    ') .addClass('table-condensed') .append(t.clone()) .append(i.clone()) ), e('
    ') .addClass('datepicker-years') .append( e('
    ') .addClass('table-condensed') .append(t.clone()) .append(i.clone()) ), e('
    ') .addClass('datepicker-decades') .append( e('
    ') .addClass('table-condensed') .append(t.clone()) .append(i.clone()) ), ] }, C = function () { var t = e(''), i = e(''), s = e('') return ( D('h') && (t.append( e('
    ').append( e('') .attr({ href: '#', tabindex: '-1', title: n.tooltips.incrementHour, }) .addClass('btn') .attr('data-action', 'incrementHours') .append(e('').addClass(n.icons.up)) ) ), i.append( e('').append( e('') .addClass('timepicker-hour') .attr({ 'data-time-component': 'hours', title: n.tooltips.pickHour, }) .attr('data-action', 'showHours') ) ), s.append( e('').append( e('') .attr({ href: '#', tabindex: '-1', title: n.tooltips.decrementHour, }) .addClass('btn') .attr('data-action', 'decrementHours') .append(e('').addClass(n.icons.down)) ) )), D('m') && (D('h') && (t.append(e('').addClass('separator')), i.append(e('').addClass('separator').html(':')), s.append(e('').addClass('separator'))), t.append( e('').append( e('') .attr({ href: '#', tabindex: '-1', title: n.tooltips.incrementMinute, }) .addClass('btn') .attr('data-action', 'incrementMinutes') .append(e('').addClass(n.icons.up)) ) ), i.append( e('').append( e('') .addClass('timepicker-minute') .attr({ 'data-time-component': 'minutes', title: n.tooltips.pickMinute, }) .attr('data-action', 'showMinutes') ) ), s.append( e('').append( e('') .attr({ href: '#', tabindex: '-1', title: n.tooltips.decrementMinute, }) .addClass('btn') .attr('data-action', 'decrementMinutes') .append(e('').addClass(n.icons.down)) ) )), D('s') && (D('m') && (t.append(e('').addClass('separator')), i.append(e('').addClass('separator').html(':')), s.append(e('').addClass('separator'))), t.append( e('').append( e('') .attr({ href: '#', tabindex: '-1', title: n.tooltips.incrementSecond, }) .addClass('btn') .attr('data-action', 'incrementSeconds') .append(e('').addClass(n.icons.up)) ) ), i.append( e('').append( e('') .addClass('timepicker-second') .attr({ 'data-time-component': 'seconds', title: n.tooltips.pickSecond, }) .attr('data-action', 'showSeconds') ) ), s.append( e('').append( e('') .attr({ href: '#', tabindex: '-1', title: n.tooltips.decrementSecond, }) .addClass('btn') .attr('data-action', 'decrementSeconds') .append(e('').addClass(n.icons.down)) ) )), o || (t.append(e('').addClass('separator')), i.append( e('').append( e('').addClass('separator'))), e('
    ') .addClass('timepicker-picker') .append( e('').addClass('table-condensed').append([t, i, s]) ) ) }, S = function () { var t = e('
    ') .addClass('timepicker-hours') .append(e('
    ').addClass('table-condensed')), i = e('
    ') .addClass('timepicker-minutes') .append(e('
    ').addClass('table-condensed')), n = e('
    ') .addClass('timepicker-seconds') .append(e('
    ').addClass('table-condensed')), s = [C()] return ( D('h') && s.push(t), D('m') && s.push(i), D('s') && s.push(n), s ) }, E = function () { var t = [] return ( n.showTodayButton && t.push( e('', t.document[0]).appendTo(s) ) : 'tr' === n ? t._createTrPlaceholder(t.currentItem, s) : 'img' === n && s.attr('src', t.currentItem.attr('src')), i || s.css('visibility', 'hidden'), s ) }, update: function (e, s) { ;(i && !n.forcePlaceholderSize) || (s.height() || s.height( t.currentItem.innerHeight() - parseInt( t.currentItem.css('paddingTop') || 0, 10 ) - parseInt( t.currentItem.css('paddingBottom') || 0, 10 ) ), s.width() || s.width( t.currentItem.innerWidth() - parseInt( t.currentItem.css('paddingLeft') || 0, 10 ) - parseInt( t.currentItem.css('paddingRight') || 0, 10 ) )) }, })), (t.placeholder = e( n.placeholder.element.call(t.element, t.currentItem) )), t.currentItem.after(t.placeholder), n.placeholder.update(t, t.placeholder) }, _createTrPlaceholder: function (t, i) { var n = this t.children().each(function () { e('', n.document[0]) .attr('colspan', e(this).attr('colspan') || 1) .appendTo(i) }) }, _contactContainers: function (t) { var i, n, s, r, a, o, l, u, d, c, h = null, p = null for (i = this.containers.length - 1; i >= 0; i--) if ( !e.contains( this.currentItem[0], this.containers[i].element[0] ) ) if ( this._intersectsWith(this.containers[i].containerCache) ) { if ( h && e.contains(this.containers[i].element[0], h.element[0]) ) continue ;(h = this.containers[i]), (p = i) } else this.containers[i].containerCache.over && (this.containers[i]._trigger( 'out', t, this._uiHash(this) ), (this.containers[i].containerCache.over = 0)) if (h) if (1 === this.containers.length) this.containers[p].containerCache.over || (this.containers[p]._trigger( 'over', t, this._uiHash(this) ), (this.containers[p].containerCache.over = 1)) else { for ( s = 1e4, r = null, d = h.floating || this._isFloating(this.currentItem), a = d ? 'left' : 'top', o = d ? 'width' : 'height', c = d ? 'pageX' : 'pageY', n = this.items.length - 1; n >= 0; n-- ) e.contains( this.containers[p].element[0], this.items[n].item[0] ) && this.items[n].item[0] !== this.currentItem[0] && ((l = this.items[n].item.offset()[a]), (u = !1), t[c] - l > this.items[n][o] / 2 && (u = !0), Math.abs(t[c] - l) < s && ((s = Math.abs(t[c] - l)), (r = this.items[n]), (this.direction = u ? 'up' : 'down'))) if (!r && !this.options.dropOnEmpty) return if (this.currentContainer === this.containers[p]) return void ( this.currentContainer.containerCache.over || (this.containers[p]._trigger('over', t, this._uiHash()), (this.currentContainer.containerCache.over = 1)) ) r ? this._rearrange(t, r, null, !0) : this._rearrange( t, null, this.containers[p].element, !0 ), this._trigger('change', t, this._uiHash()), this.containers[p]._trigger( 'change', t, this._uiHash(this) ), (this.currentContainer = this.containers[p]), this.options.placeholder.update( this.currentContainer, this.placeholder ), this.containers[p]._trigger( 'over', t, this._uiHash(this) ), (this.containers[p].containerCache.over = 1) } }, _createHelper: function (t) { var i = this.options, n = e.isFunction(i.helper) ? e(i.helper.apply(this.element[0], [t, this.currentItem])) : 'clone' === i.helper ? this.currentItem.clone() : this.currentItem return ( n.parents('body').length || e( 'parent' !== i.appendTo ? i.appendTo : this.currentItem[0].parentNode )[0].appendChild(n[0]), n[0] === this.currentItem[0] && (this._storedCSS = { width: this.currentItem[0].style.width, height: this.currentItem[0].style.height, position: this.currentItem.css('position'), top: this.currentItem.css('top'), left: this.currentItem.css('left'), }), (n[0].style.width && !i.forceHelperSize) || n.width(this.currentItem.width()), (n[0].style.height && !i.forceHelperSize) || n.height(this.currentItem.height()), n ) }, _adjustOffsetFromHelper: function (t) { 'string' == typeof t && (t = t.split(' ')), e.isArray(t) && (t = { left: +t[0], top: +t[1] || 0 }), 'left' in t && (this.offset.click.left = t.left + this.margins.left), 'right' in t && (this.offset.click.left = this.helperProportions.width - t.right + this.margins.left), 'top' in t && (this.offset.click.top = t.top + this.margins.top), 'bottom' in t && (this.offset.click.top = this.helperProportions.height - t.bottom + this.margins.top) }, _getParentOffset: function () { this.offsetParent = this.helper.offsetParent() var t = this.offsetParent.offset() return ( 'absolute' === this.cssPosition && this.scrollParent[0] !== this.document[0] && e.contains(this.scrollParent[0], this.offsetParent[0]) && ((t.left += this.scrollParent.scrollLeft()), (t.top += this.scrollParent.scrollTop())), (this.offsetParent[0] === this.document[0].body || (this.offsetParent[0].tagName && 'html' === this.offsetParent[0].tagName.toLowerCase() && e.ui.ie)) && (t = { top: 0, left: 0 }), { top: t.top + (parseInt(this.offsetParent.css('borderTopWidth'), 10) || 0), left: t.left + (parseInt(this.offsetParent.css('borderLeftWidth'), 10) || 0), } ) }, _getRelativeOffset: function () { if ('relative' === this.cssPosition) { var e = this.currentItem.position() return { top: e.top - (parseInt(this.helper.css('top'), 10) || 0) + this.scrollParent.scrollTop(), left: e.left - (parseInt(this.helper.css('left'), 10) || 0) + this.scrollParent.scrollLeft(), } } return { top: 0, left: 0 } }, _cacheMargins: function () { this.margins = { left: parseInt(this.currentItem.css('marginLeft'), 10) || 0, top: parseInt(this.currentItem.css('marginTop'), 10) || 0, } }, _cacheHelperProportions: function () { this.helperProportions = { width: this.helper.outerWidth(), height: this.helper.outerHeight(), } }, _setContainment: function () { var t, i, n, s = this.options 'parent' === s.containment && (s.containment = this.helper[0].parentNode), ('document' !== s.containment && 'window' !== s.containment) || (this.containment = [ 0 - this.offset.relative.left - this.offset.parent.left, 0 - this.offset.relative.top - this.offset.parent.top, 'document' === s.containment ? this.document.width() : this.window.width() - this.helperProportions.width - this.margins.left, ('document' === s.containment ? this.document.height() || document.body.parentNode.scrollHeight : this.window.height() || this.document[0].body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top, ]), /^(document|window|parent)$/.test(s.containment) || ((t = e(s.containment)[0]), (i = e(s.containment).offset()), (n = 'hidden' !== e(t).css('overflow')), (this.containment = [ i.left + (parseInt(e(t).css('borderLeftWidth'), 10) || 0) + (parseInt(e(t).css('paddingLeft'), 10) || 0) - this.margins.left, i.top + (parseInt(e(t).css('borderTopWidth'), 10) || 0) + (parseInt(e(t).css('paddingTop'), 10) || 0) - this.margins.top, i.left + (n ? Math.max(t.scrollWidth, t.offsetWidth) : t.offsetWidth) - (parseInt(e(t).css('borderLeftWidth'), 10) || 0) - (parseInt(e(t).css('paddingRight'), 10) || 0) - this.helperProportions.width - this.margins.left, i.top + (n ? Math.max(t.scrollHeight, t.offsetHeight) : t.offsetHeight) - (parseInt(e(t).css('borderTopWidth'), 10) || 0) - (parseInt(e(t).css('paddingBottom'), 10) || 0) - this.helperProportions.height - this.margins.top, ])) }, _convertPositionTo: function (t, i) { i || (i = this.position) var n = 'absolute' === t ? 1 : -1, s = 'absolute' !== this.cssPosition || (this.scrollParent[0] !== this.document[0] && e.contains(this.scrollParent[0], this.offsetParent[0])) ? this.scrollParent : this.offsetParent, r = /(html|body)/i.test(s[0].tagName) return { top: i.top + this.offset.relative.top * n + this.offset.parent.top * n - ('fixed' === this.cssPosition ? -this.scrollParent.scrollTop() : r ? 0 : s.scrollTop()) * n, left: i.left + this.offset.relative.left * n + this.offset.parent.left * n - ('fixed' === this.cssPosition ? -this.scrollParent.scrollLeft() : r ? 0 : s.scrollLeft()) * n, } }, _generatePosition: function (t) { var i, n, s = this.options, r = t.pageX, a = t.pageY, o = 'absolute' !== this.cssPosition || (this.scrollParent[0] !== this.document[0] && e.contains(this.scrollParent[0], this.offsetParent[0])) ? this.scrollParent : this.offsetParent, l = /(html|body)/i.test(o[0].tagName) return ( 'relative' !== this.cssPosition || (this.scrollParent[0] !== this.document[0] && this.scrollParent[0] !== this.offsetParent[0]) || (this.offset.relative = this._getRelativeOffset()), this.originalPosition && (this.containment && (t.pageX - this.offset.click.left < this.containment[0] && (r = this.containment[0] + this.offset.click.left), t.pageY - this.offset.click.top < this.containment[1] && (a = this.containment[1] + this.offset.click.top), t.pageX - this.offset.click.left > this.containment[2] && (r = this.containment[2] + this.offset.click.left), t.pageY - this.offset.click.top > this.containment[3] && (a = this.containment[3] + this.offset.click.top)), s.grid && ((i = this.originalPageY + Math.round((a - this.originalPageY) / s.grid[1]) * s.grid[1]), (a = this.containment ? i - this.offset.click.top >= this.containment[1] && i - this.offset.click.top <= this.containment[3] ? i : i - this.offset.click.top >= this.containment[1] ? i - s.grid[1] : i + s.grid[1] : i), (n = this.originalPageX + Math.round((r - this.originalPageX) / s.grid[0]) * s.grid[0]), (r = this.containment ? n - this.offset.click.left >= this.containment[0] && n - this.offset.click.left <= this.containment[2] ? n : n - this.offset.click.left >= this.containment[0] ? n - s.grid[0] : n + s.grid[0] : n))), { top: a - this.offset.click.top - this.offset.relative.top - this.offset.parent.top + ('fixed' === this.cssPosition ? -this.scrollParent.scrollTop() : l ? 0 : o.scrollTop()), left: r - this.offset.click.left - this.offset.relative.left - this.offset.parent.left + ('fixed' === this.cssPosition ? -this.scrollParent.scrollLeft() : l ? 0 : o.scrollLeft()), } ) }, _rearrange: function (e, t, i, n) { i ? i[0].appendChild(this.placeholder[0]) : t.item[0].parentNode.insertBefore( this.placeholder[0], 'down' === this.direction ? t.item[0] : t.item[0].nextSibling ), (this.counter = this.counter ? ++this.counter : 1) var s = this.counter this._delay(function () { s === this.counter && this.refreshPositions(!n) }) }, _clear: function (e, t) { function i(e, t, i) { return function (n) { i._trigger(e, n, t._uiHash(t)) } } this.reverting = !1 var n, s = [] if ( (!this._noFinalSort && this.currentItem.parent().length && this.placeholder.before(this.currentItem), (this._noFinalSort = null), this.helper[0] === this.currentItem[0]) ) { for (n in this._storedCSS) ('auto' !== this._storedCSS[n] && 'static' !== this._storedCSS[n]) || (this._storedCSS[n] = '') this.currentItem.css(this._storedCSS), this._removeClass(this.currentItem, 'ui-sortable-helper') } else this.currentItem.show() for ( this.fromOutside && !t && s.push(function (e) { this._trigger( 'receive', e, this._uiHash(this.fromOutside) ) }), (!this.fromOutside && this.domPosition.prev === this.currentItem.prev().not('.ui-sortable-helper')[0] && this.domPosition.parent === this.currentItem.parent()[0]) || t || s.push(function (e) { this._trigger('update', e, this._uiHash()) }), this !== this.currentContainer && (t || (s.push(function (e) { this._trigger('remove', e, this._uiHash()) }), s.push( function (e) { return function (t) { e._trigger('receive', t, this._uiHash(this)) } }.call(this, this.currentContainer) ), s.push( function (e) { return function (t) { e._trigger('update', t, this._uiHash(this)) } }.call(this, this.currentContainer) ))), n = this.containers.length - 1; n >= 0; n-- ) t || s.push(i('deactivate', this, this.containers[n])), this.containers[n].containerCache.over && (s.push(i('out', this, this.containers[n])), (this.containers[n].containerCache.over = 0)) if ( (this.storedCursor && (this.document .find('body') .css('cursor', this.storedCursor), this.storedStylesheet.remove()), this._storedOpacity && this.helper.css('opacity', this._storedOpacity), this._storedZIndex && this.helper.css( 'zIndex', 'auto' === this._storedZIndex ? '' : this._storedZIndex ), (this.dragging = !1), t || this._trigger('beforeStop', e, this._uiHash()), this.placeholder[0].parentNode.removeChild( this.placeholder[0] ), this.cancelHelperRemoval || (this.helper[0] !== this.currentItem[0] && this.helper.remove(), (this.helper = null)), !t) ) { for (n = 0; n < s.length; n++) s[n].call(this, e) this._trigger('stop', e, this._uiHash()) } return (this.fromOutside = !1), !this.cancelHelperRemoval }, _trigger: function () { !1 === e.Widget.prototype._trigger.apply(this, arguments) && this.cancel() }, _uiHash: function (t) { var i = t || this return { helper: i.helper, placeholder: i.placeholder || e([]), position: i.position, originalPosition: i.originalPosition, offset: i.positionAbs, item: i.currentItem, sender: t ? t.element : null, } }, }) e.widget('ui.spinner', { version: '1.12.1', defaultElement: '', widgetEventPrefix: 'spin', options: { classes: { 'ui-spinner': 'ui-corner-all', 'ui-spinner-down': 'ui-corner-br', 'ui-spinner-up': 'ui-corner-tr', }, culture: null, icons: { down: 'ui-icon-triangle-1-s', up: 'ui-icon-triangle-1-n', }, incremental: !0, max: null, min: null, numberFormat: null, page: 10, step: 1, change: null, spin: null, start: null, stop: null, }, _create: function () { this._setOption('max', this.options.max), this._setOption('min', this.options.min), this._setOption('step', this.options.step), '' !== this.value() && this._value(this.element.val(), !0), this._draw(), this._on(this._events), this._refresh(), this._on(this.window, { beforeunload: function () { this.element.removeAttr('autocomplete') }, }) }, _getCreateOptions: function () { var t = this._super(), i = this.element return ( e.each(['min', 'max', 'step'], function (e, n) { var s = i.attr(n) null != s && s.length && (t[n] = s) }), t ) }, _events: { keydown: function (e) { this._start(e) && this._keydown(e) && e.preventDefault() }, keyup: '_stop', focus: function () { this.previous = this.element.val() }, blur: function (e) { if (this.cancelBlur) return void delete this.cancelBlur this._stop(), this._refresh(), this.previous !== this.element.val() && this._trigger('change', e) }, mousewheel: function (e, t) { if (t) { if (!this.spinning && !this._start(e)) return !1 this._spin((t > 0 ? 1 : -1) * this.options.step, e), clearTimeout(this.mousewheelTimer), (this.mousewheelTimer = this._delay(function () { this.spinning && this._stop(e) }, 100)), e.preventDefault() } }, 'mousedown .ui-spinner-button': function (t) { function i() { this.element[0] === e.ui.safeActiveElement(this.document[0]) || (this.element.trigger('focus'), (this.previous = n), this._delay(function () { this.previous = n })) } var n ;(n = this.element[0] === e.ui.safeActiveElement(this.document[0]) ? this.previous : this.element.val()), t.preventDefault(), i.call(this), (this.cancelBlur = !0), this._delay(function () { delete this.cancelBlur, i.call(this) }), !1 !== this._start(t) && this._repeat( null, e(t.currentTarget).hasClass('ui-spinner-up') ? 1 : -1, t ) }, 'mouseup .ui-spinner-button': '_stop', 'mouseenter .ui-spinner-button': function (t) { if (e(t.currentTarget).hasClass('ui-state-active')) return ( !1 !== this._start(t) && void this._repeat( null, e(t.currentTarget).hasClass('ui-spinner-up') ? 1 : -1, t ) ) }, 'mouseleave .ui-spinner-button': '_stop', }, _enhance: function () { this.uiSpinner = this.element .attr('autocomplete', 'off') .wrap('') .parent() .append('') }, _draw: function () { this._enhance(), this._addClass( this.uiSpinner, 'ui-spinner', 'ui-widget ui-widget-content' ), this._addClass('ui-spinner-input'), this.element.attr('role', 'spinbutton'), (this.buttons = this.uiSpinner .children('a') .attr('tabIndex', -1) .attr('aria-hidden', !0) .button({ classes: { 'ui-button': '' } })), this._removeClass(this.buttons, 'ui-corner-all'), this._addClass( this.buttons.first(), 'ui-spinner-button ui-spinner-up' ), this._addClass( this.buttons.last(), 'ui-spinner-button ui-spinner-down' ), this.buttons .first() .button({ icon: this.options.icons.up, showLabel: !1 }), this.buttons .last() .button({ icon: this.options.icons.down, showLabel: !1 }), this.buttons.height() > Math.ceil(0.5 * this.uiSpinner.height()) && this.uiSpinner.height() > 0 && this.uiSpinner.height(this.uiSpinner.height()) }, _keydown: function (t) { var i = this.options, n = e.ui.keyCode switch (t.keyCode) { case n.UP: return this._repeat(null, 1, t), !0 case n.DOWN: return this._repeat(null, -1, t), !0 case n.PAGE_UP: return this._repeat(null, i.page, t), !0 case n.PAGE_DOWN: return this._repeat(null, -i.page, t), !0 } return !1 }, _start: function (e) { return ( !(!this.spinning && !1 === this._trigger('start', e)) && (this.counter || (this.counter = 1), (this.spinning = !0), !0) ) }, _repeat: function (e, t, i) { ;(e = e || 500), clearTimeout(this.timer), (this.timer = this._delay(function () { this._repeat(40, t, i) }, e)), this._spin(t * this.options.step, i) }, _spin: function (e, t) { var i = this.value() || 0 this.counter || (this.counter = 1), (i = this._adjustValue(i + e * this._increment(this.counter))), (this.spinning && !1 === this._trigger('spin', t, { value: i })) || (this._value(i), this.counter++) }, _increment: function (t) { var i = this.options.incremental return i ? e.isFunction(i) ? i(t) : Math.floor( (t * t * t) / 5e4 - (t * t) / 500 + (17 * t) / 200 + 1 ) : 1 }, _precision: function () { var e = this._precisionOf(this.options.step) return ( null !== this.options.min && (e = Math.max(e, this._precisionOf(this.options.min))), e ) }, _precisionOf: function (e) { var t = e.toString(), i = t.indexOf('.') return -1 === i ? 0 : t.length - i - 1 }, _adjustValue: function (e) { var t, i, n = this.options return ( (t = null !== n.min ? n.min : 0), (i = e - t), (i = Math.round(i / n.step) * n.step), (e = t + i), (e = parseFloat(e.toFixed(this._precision()))), null !== n.max && e > n.max ? n.max : null !== n.min && e < n.min ? n.min : e ) }, _stop: function (e) { this.spinning && (clearTimeout(this.timer), clearTimeout(this.mousewheelTimer), (this.counter = 0), (this.spinning = !1), this._trigger('stop', e)) }, _setOption: function (e, t) { var i, n, s if ('culture' === e || 'numberFormat' === e) return ( (i = this._parse(this.element.val())), (this.options[e] = t), void this.element.val(this._format(i)) ) ;('max' !== e && 'min' !== e && 'step' !== e) || ('string' == typeof t && (t = this._parse(t))), 'icons' === e && ((n = this.buttons.first().find('.ui-icon')), this._removeClass(n, null, this.options.icons.up), this._addClass(n, null, t.up), (s = this.buttons.last().find('.ui-icon')), this._removeClass(s, null, this.options.icons.down), this._addClass(s, null, t.down)), this._super(e, t) }, _setOptionDisabled: function (e) { this._super(e), this._toggleClass( this.uiSpinner, null, 'ui-state-disabled', !!e ), this.element.prop('disabled', !!e), this.buttons.button(e ? 'disable' : 'enable') }, _setOptions: o(function (e) { this._super(e) }), _parse: function (e) { return ( 'string' == typeof e && '' !== e && (e = window.Globalize && this.options.numberFormat ? Globalize.parseFloat(e, 10, this.options.culture) : +e), '' === e || isNaN(e) ? null : e ) }, _format: function (e) { return '' === e ? '' : window.Globalize && this.options.numberFormat ? Globalize.format( e, this.options.numberFormat, this.options.culture ) : e }, _refresh: function () { this.element.attr({ 'aria-valuemin': this.options.min, 'aria-valuemax': this.options.max, 'aria-valuenow': this._parse(this.element.val()), }) }, isValid: function () { var e = this.value() return null !== e && e === this._adjustValue(e) }, _value: function (e, t) { var i '' !== e && null !== (i = this._parse(e)) && (t || (i = this._adjustValue(i)), (e = this._format(i))), this.element.val(e), this._refresh() }, _destroy: function () { this.element .prop('disabled', !1) .removeAttr( 'autocomplete role aria-valuemin aria-valuemax aria-valuenow' ), this.uiSpinner.replaceWith(this.element) }, stepUp: o(function (e) { this._stepUp(e) }), _stepUp: function (e) { this._start() && (this._spin((e || 1) * this.options.step), this._stop()) }, stepDown: o(function (e) { this._stepDown(e) }), _stepDown: function (e) { this._start() && (this._spin((e || 1) * -this.options.step), this._stop()) }, pageUp: o(function (e) { this._stepUp((e || 1) * this.options.page) }), pageDown: o(function (e) { this._stepDown((e || 1) * this.options.page) }), value: function (e) { if (!arguments.length) return this._parse(this.element.val()) o(this._value).call(this, e) }, widget: function () { return this.uiSpinner }, }), !1 !== e.uiBackCompat && e.widget('ui.spinner', e.ui.spinner, { _enhance: function () { this.uiSpinner = this.element .attr('autocomplete', 'off') .wrap(this._uiSpinnerHtml()) .parent() .append(this._buttonHtml()) }, _uiSpinnerHtml: function () { return '' }, _buttonHtml: function () { return '' }, }) e.ui.spinner /*! * jQuery UI Tabs 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ e.widget('ui.tabs', { version: '1.12.1', delay: 300, options: { active: null, classes: { 'ui-tabs': 'ui-corner-all', 'ui-tabs-nav': 'ui-corner-all', 'ui-tabs-panel': 'ui-corner-bottom', 'ui-tabs-tab': 'ui-corner-top', }, collapsible: !1, event: 'click', heightStyle: 'content', hide: null, show: null, activate: null, beforeActivate: null, beforeLoad: null, load: null, }, _isLocal: (function () { var e = /#.*$/ return function (t) { var i, n ;(i = t.href.replace(e, '')), (n = location.href.replace(e, '')) try { i = decodeURIComponent(i) } catch (e) {} try { n = decodeURIComponent(n) } catch (e) {} return t.hash.length > 1 && i === n } })(), _create: function () { var t = this, i = this.options ;(this.running = !1), this._addClass('ui-tabs', 'ui-widget ui-widget-content'), this._toggleClass('ui-tabs-collapsible', null, i.collapsible), this._processTabs(), (i.active = this._initialActive()), e.isArray(i.disabled) && (i.disabled = e .unique( i.disabled.concat( e.map( this.tabs.filter('.ui-state-disabled'), function (e) { return t.tabs.index(e) } ) ) ) .sort()), !1 !== this.options.active && this.anchors.length ? (this.active = this._findActive(i.active)) : (this.active = e()), this._refresh(), this.active.length && this.load(i.active) }, _initialActive: function () { var t = this.options.active, i = this.options.collapsible, n = location.hash.substring(1) return ( null === t && (n && this.tabs.each(function (i, s) { if (e(s).attr('aria-controls') === n) return (t = i), !1 }), null === t && (t = this.tabs.index(this.tabs.filter('.ui-tabs-active'))), (null !== t && -1 !== t) || (t = !!this.tabs.length && 0)), !1 !== t && -1 === (t = this.tabs.index(this.tabs.eq(t))) && (t = !i && 0), !i && !1 === t && this.anchors.length && (t = 0), t ) }, _getCreateEventData: function () { return { tab: this.active, panel: this.active.length ? this._getPanelForTab(this.active) : e(), } }, _tabKeydown: function (t) { var i = e(e.ui.safeActiveElement(this.document[0])).closest('li'), n = this.tabs.index(i), s = !0 if (!this._handlePageNav(t)) { switch (t.keyCode) { case e.ui.keyCode.RIGHT: case e.ui.keyCode.DOWN: n++ break case e.ui.keyCode.UP: case e.ui.keyCode.LEFT: ;(s = !1), n-- break case e.ui.keyCode.END: n = this.anchors.length - 1 break case e.ui.keyCode.HOME: n = 0 break case e.ui.keyCode.SPACE: return ( t.preventDefault(), clearTimeout(this.activating), void this._activate(n) ) case e.ui.keyCode.ENTER: return ( t.preventDefault(), clearTimeout(this.activating), void this._activate(n !== this.options.active && n) ) default: return } t.preventDefault(), clearTimeout(this.activating), (n = this._focusNextTab(n, s)), t.ctrlKey || t.metaKey || (i.attr('aria-selected', 'false'), this.tabs.eq(n).attr('aria-selected', 'true'), (this.activating = this._delay(function () { this.option('active', n) }, this.delay))) } }, _panelKeydown: function (t) { this._handlePageNav(t) || (t.ctrlKey && t.keyCode === e.ui.keyCode.UP && (t.preventDefault(), this.active.trigger('focus'))) }, _handlePageNav: function (t) { return t.altKey && t.keyCode === e.ui.keyCode.PAGE_UP ? (this._activate( this._focusNextTab(this.options.active - 1, !1) ), !0) : t.altKey && t.keyCode === e.ui.keyCode.PAGE_DOWN ? (this._activate( this._focusNextTab(this.options.active + 1, !0) ), !0) : void 0 }, _findNextTab: function (t, i) { for ( var n = this.tabs.length - 1; -1 !== e.inArray( (function () { return t > n && (t = 0), t < 0 && (t = n), t })(), this.options.disabled ); ) t = i ? t + 1 : t - 1 return t }, _focusNextTab: function (e, t) { return ( (e = this._findNextTab(e, t)), this.tabs.eq(e).trigger('focus'), e ) }, _setOption: function (e, t) { if ('active' === e) return void this._activate(t) this._super(e, t), 'collapsible' === e && (this._toggleClass('ui-tabs-collapsible', null, t), t || !1 !== this.options.active || this._activate(0)), 'event' === e && this._setupEvents(t), 'heightStyle' === e && this._setupHeightStyle(t) }, _sanitizeSelector: function (e) { return e ? e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g, '\\$&') : '' }, refresh: function () { var t = this.options, i = this.tablist.children(':has(a[href])') ;(t.disabled = e.map( i.filter('.ui-state-disabled'), function (e) { return i.index(e) } )), this._processTabs(), !1 !== t.active && this.anchors.length ? this.active.length && !e.contains(this.tablist[0], this.active[0]) ? this.tabs.length === t.disabled.length ? ((t.active = !1), (this.active = e())) : this._activate( this._findNextTab(Math.max(0, t.active - 1), !1) ) : (t.active = this.tabs.index(this.active)) : ((t.active = !1), (this.active = e())), this._refresh() }, _refresh: function () { this._setOptionDisabled(this.options.disabled), this._setupEvents(this.options.event), this._setupHeightStyle(this.options.heightStyle), this.tabs .not(this.active) .attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabIndex: -1, }), this.panels .not(this._getPanelForTab(this.active)) .hide() .attr({ 'aria-hidden': 'true' }), this.active.length ? (this.active.attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabIndex: 0, }), this._addClass( this.active, 'ui-tabs-active', 'ui-state-active' ), this._getPanelForTab(this.active) .show() .attr({ 'aria-hidden': 'false' })) : this.tabs.eq(0).attr('tabIndex', 0) }, _processTabs: function () { var t = this, i = this.tabs, n = this.anchors, s = this.panels ;(this.tablist = this._getList().attr('role', 'tablist')), this._addClass( this.tablist, 'ui-tabs-nav', 'ui-helper-reset ui-helper-clearfix ui-widget-header' ), this.tablist .on('mousedown' + this.eventNamespace, '> li', function (t) { e(this).is('.ui-state-disabled') && t.preventDefault() }) .on( 'focus' + this.eventNamespace, '.ui-tabs-anchor', function () { e(this).closest('li').is('.ui-state-disabled') && this.blur() } ), (this.tabs = this.tablist .find('> li:has(a[href])') .attr({ role: 'tab', tabIndex: -1 })), this._addClass(this.tabs, 'ui-tabs-tab', 'ui-state-default'), (this.anchors = this.tabs .map(function () { return e('a', this)[0] }) .attr({ role: 'presentation', tabIndex: -1 })), this._addClass(this.anchors, 'ui-tabs-anchor'), (this.panels = e()), this.anchors.each(function (i, n) { var s, r, a, o = e(n).uniqueId().attr('id'), l = e(n).closest('li'), u = l.attr('aria-controls') t._isLocal(n) ? ((s = n.hash), (a = s.substring(1)), (r = t.element.find(t._sanitizeSelector(s)))) : ((a = l.attr('aria-controls') || e({}).uniqueId()[0].id), (s = '#' + a), (r = t.element.find(s)), r.length || ((r = t._createPanel(a)), r.insertAfter(t.panels[i - 1] || t.tablist)), r.attr('aria-live', 'polite')), r.length && (t.panels = t.panels.add(r)), u && l.data('ui-tabs-aria-controls', u), l.attr({ 'aria-controls': a, 'aria-labelledby': o }), r.attr('aria-labelledby', o) }), this.panels.attr('role', 'tabpanel'), this._addClass( this.panels, 'ui-tabs-panel', 'ui-widget-content' ), i && (this._off(i.not(this.tabs)), this._off(n.not(this.anchors)), this._off(s.not(this.panels))) }, _getList: function () { return this.tablist || this.element.find('ol, ul').eq(0) }, _createPanel: function (t) { return e('
    ').attr('id', t).data('ui-tabs-destroy', !0) }, _setOptionDisabled: function (t) { var i, n, s for ( e.isArray(t) && (t.length ? t.length === this.anchors.length && (t = !0) : (t = !1)), s = 0; (n = this.tabs[s]); s++ ) (i = e(n)), !0 === t || -1 !== e.inArray(s, t) ? (i.attr('aria-disabled', 'true'), this._addClass(i, null, 'ui-state-disabled')) : (i.removeAttr('aria-disabled'), this._removeClass(i, null, 'ui-state-disabled')) ;(this.options.disabled = t), this._toggleClass( this.widget(), this.widgetFullName + '-disabled', null, !0 === t ) }, _setupEvents: function (t) { var i = {} t && e.each(t.split(' '), function (e, t) { i[t] = '_eventHandler' }), this._off(this.anchors.add(this.tabs).add(this.panels)), this._on(!0, this.anchors, { click: function (e) { e.preventDefault() }, }), this._on(this.anchors, i), this._on(this.tabs, { keydown: '_tabKeydown' }), this._on(this.panels, { keydown: '_panelKeydown' }), this._focusable(this.tabs), this._hoverable(this.tabs) }, _setupHeightStyle: function (t) { var i, n = this.element.parent() 'fill' === t ? ((i = n.height()), (i -= this.element.outerHeight() - this.element.height()), this.element.siblings(':visible').each(function () { var t = e(this), n = t.css('position') 'absolute' !== n && 'fixed' !== n && (i -= t.outerHeight(!0)) }), this.element .children() .not(this.panels) .each(function () { i -= e(this).outerHeight(!0) }), this.panels .each(function () { e(this).height( Math.max( 0, i - e(this).innerHeight() + e(this).height() ) ) }) .css('overflow', 'auto')) : 'auto' === t && ((i = 0), this.panels .each(function () { i = Math.max(i, e(this).height('').height()) }) .height(i)) }, _eventHandler: function (t) { var i = this.options, n = this.active, s = e(t.currentTarget), r = s.closest('li'), a = r[0] === n[0], o = a && i.collapsible, l = o ? e() : this._getPanelForTab(r), u = n.length ? this._getPanelForTab(n) : e(), d = { oldTab: n, oldPanel: u, newTab: o ? e() : r, newPanel: l } t.preventDefault(), r.hasClass('ui-state-disabled') || r.hasClass('ui-tabs-loading') || this.running || (a && !i.collapsible) || !1 === this._trigger('beforeActivate', t, d) || ((i.active = !o && this.tabs.index(r)), (this.active = a ? e() : r), this.xhr && this.xhr.abort(), u.length || l.length || e.error('jQuery UI Tabs: Mismatching fragment identifier.'), l.length && this.load(this.tabs.index(r), t), this._toggle(t, d)) }, _toggle: function (t, i) { function n() { ;(r.running = !1), r._trigger('activate', t, i) } function s() { r._addClass( i.newTab.closest('li'), 'ui-tabs-active', 'ui-state-active' ), a.length && r.options.show ? r._show(a, r.options.show, n) : (a.show(), n()) } var r = this, a = i.newPanel, o = i.oldPanel ;(this.running = !0), o.length && this.options.hide ? this._hide(o, this.options.hide, function () { r._removeClass( i.oldTab.closest('li'), 'ui-tabs-active', 'ui-state-active' ), s() }) : (this._removeClass( i.oldTab.closest('li'), 'ui-tabs-active', 'ui-state-active' ), o.hide(), s()), o.attr('aria-hidden', 'true'), i.oldTab.attr({ 'aria-selected': 'false', 'aria-expanded': 'false', }), a.length && o.length ? i.oldTab.attr('tabIndex', -1) : a.length && this.tabs .filter(function () { return 0 === e(this).attr('tabIndex') }) .attr('tabIndex', -1), a.attr('aria-hidden', 'false'), i.newTab.attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabIndex: 0, }) }, _activate: function (t) { var i, n = this._findActive(t) n[0] !== this.active[0] && (n.length || (n = this.active), (i = n.find('.ui-tabs-anchor')[0]), this._eventHandler({ target: i, currentTarget: i, preventDefault: e.noop, })) }, _findActive: function (t) { return !1 === t ? e() : this.tabs.eq(t) }, _getIndex: function (t) { return ( 'string' == typeof t && (t = this.anchors.index( this.anchors.filter( "[href$='" + e.ui.escapeSelector(t) + "']" ) )), t ) }, _destroy: function () { this.xhr && this.xhr.abort(), this.tablist.removeAttr('role').off(this.eventNamespace), this.anchors.removeAttr('role tabIndex').removeUniqueId(), this.tabs.add(this.panels).each(function () { e.data(this, 'ui-tabs-destroy') ? e(this).remove() : e(this).removeAttr( 'role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded' ) }), this.tabs.each(function () { var t = e(this), i = t.data('ui-tabs-aria-controls') i ? t .attr('aria-controls', i) .removeData('ui-tabs-aria-controls') : t.removeAttr('aria-controls') }), this.panels.show(), 'content' !== this.options.heightStyle && this.panels.css('height', '') }, enable: function (t) { var i = this.options.disabled !1 !== i && (void 0 === t ? (i = !1) : ((t = this._getIndex(t)), (i = e.isArray(i) ? e.map(i, function (e) { return e !== t ? e : null }) : e.map(this.tabs, function (e, i) { return i !== t ? i : null }))), this._setOptionDisabled(i)) }, disable: function (t) { var i = this.options.disabled if (!0 !== i) { if (void 0 === t) i = !0 else { if (((t = this._getIndex(t)), -1 !== e.inArray(t, i))) return i = e.isArray(i) ? e.merge([t], i).sort() : [t] } this._setOptionDisabled(i) } }, load: function (t, i) { t = this._getIndex(t) var n = this, s = this.tabs.eq(t), r = s.find('.ui-tabs-anchor'), a = this._getPanelForTab(s), o = { tab: s, panel: a }, l = function (e, t) { 'abort' === t && n.panels.stop(!1, !0), n._removeClass(s, 'ui-tabs-loading'), a.removeAttr('aria-busy'), e === n.xhr && delete n.xhr } this._isLocal(r[0]) || ((this.xhr = e.ajax(this._ajaxSettings(r, i, o))), this.xhr && 'canceled' !== this.xhr.statusText && (this._addClass(s, 'ui-tabs-loading'), a.attr('aria-busy', 'true'), this.xhr .done(function (e, t, s) { setTimeout(function () { a.html(e), n._trigger('load', i, o), l(s, t) }, 1) }) .fail(function (e, t) { setTimeout(function () { l(e, t) }, 1) }))) }, _ajaxSettings: function (t, i, n) { var s = this return { url: t.attr('href').replace(/#.*$/, ''), beforeSend: function (t, r) { return s._trigger( 'beforeLoad', i, e.extend({ jqXHR: t, ajaxSettings: r }, n) ) }, } }, _getPanelForTab: function (t) { var i = e(t).attr('aria-controls') return this.element.find(this._sanitizeSelector('#' + i)) }, }), !1 !== e.uiBackCompat && e.widget('ui.tabs', e.ui.tabs, { _processTabs: function () { this._superApply(arguments), this._addClass(this.tabs, 'ui-tab') }, }) e.ui.tabs /*! * jQuery UI Tooltip 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ e.widget('ui.tooltip', { version: '1.12.1', options: { classes: { 'ui-tooltip': 'ui-corner-all ui-widget-shadow' }, content: function () { var t = e(this).attr('title') || '' return e('').text(t).html() }, hide: !0, items: '[title]:not([disabled])', position: { my: 'left top+15', at: 'left bottom', collision: 'flipfit flip', }, show: !0, track: !1, close: null, open: null, }, _addDescribedBy: function (t, i) { var n = (t.attr('aria-describedby') || '').split(/\s+/) n.push(i), t .data('ui-tooltip-id', i) .attr('aria-describedby', e.trim(n.join(' '))) }, _removeDescribedBy: function (t) { var i = t.data('ui-tooltip-id'), n = (t.attr('aria-describedby') || '').split(/\s+/), s = e.inArray(i, n) ;-1 !== s && n.splice(s, 1), t.removeData('ui-tooltip-id'), (n = e.trim(n.join(' '))), n ? t.attr('aria-describedby', n) : t.removeAttr('aria-describedby') }, _create: function () { this._on({ mouseover: 'open', focusin: 'open' }), (this.tooltips = {}), (this.parents = {}), (this.liveRegion = e('
    ') .attr({ role: 'log', 'aria-live': 'assertive', 'aria-relevant': 'additions', }) .appendTo(this.document[0].body)), this._addClass( this.liveRegion, null, 'ui-helper-hidden-accessible' ), (this.disabledTitles = e([])) }, _setOption: function (t, i) { var n = this this._super(t, i), 'content' === t && e.each(this.tooltips, function (e, t) { n._updateContent(t.element) }) }, _setOptionDisabled: function (e) { this[e ? '_disable' : '_enable']() }, _disable: function () { var t = this e.each(this.tooltips, function (i, n) { var s = e.Event('blur') ;(s.target = s.currentTarget = n.element[0]), t.close(s, !0) }), (this.disabledTitles = this.disabledTitles.add( this.element .find(this.options.items) .addBack() .filter(function () { var t = e(this) if (t.is('[title]')) return t .data('ui-tooltip-title', t.attr('title')) .removeAttr('title') }) )) }, _enable: function () { this.disabledTitles.each(function () { var t = e(this) t.data('ui-tooltip-title') && t.attr('title', t.data('ui-tooltip-title')) }), (this.disabledTitles = e([])) }, open: function (t) { var i = this, n = e(t ? t.target : this.element).closest(this.options.items) n.length && !n.data('ui-tooltip-id') && (n.attr('title') && n.data('ui-tooltip-title', n.attr('title')), n.data('ui-tooltip-open', !0), t && 'mouseover' === t.type && n.parents().each(function () { var t, n = e(this) n.data('ui-tooltip-open') && ((t = e.Event('blur')), (t.target = t.currentTarget = this), i.close(t, !0)), n.attr('title') && (n.uniqueId(), (i.parents[this.id] = { element: this, title: n.attr('title'), }), n.attr('title', '')) }), this._registerCloseHandlers(t, n), this._updateContent(n, t)) }, _updateContent: function (e, t) { var i, n = this.options.content, s = this, r = t ? t.type : null if ('string' == typeof n || n.nodeType || n.jquery) return this._open(t, e, n) ;(i = n.call(e[0], function (i) { s._delay(function () { e.data('ui-tooltip-open') && (t && (t.type = r), this._open(t, e, i)) }) })) && this._open(t, e, i) }, _open: function (t, i, n) { function s(e) { ;(u.of = e), a.is(':hidden') || a.position(u) } var r, a, o, l, u = e.extend({}, this.options.position) if (n) { if ((r = this._find(i))) return void r.tooltip.find('.ui-tooltip-content').html(n) i.is('[title]') && (t && 'mouseover' === t.type ? i.attr('title', '') : i.removeAttr('title')), (r = this._tooltip(i)), (a = r.tooltip), this._addDescribedBy(i, a.attr('id')), a.find('.ui-tooltip-content').html(n), this.liveRegion.children().hide(), (l = e('
    ').html(a.find('.ui-tooltip-content').html())), l.removeAttr('name').find('[name]').removeAttr('name'), l.removeAttr('id').find('[id]').removeAttr('id'), l.appendTo(this.liveRegion), this.options.track && t && /^mouse/.test(t.type) ? (this._on(this.document, { mousemove: s }), s(t)) : a.position(e.extend({ of: i }, this.options.position)), a.hide(), this._show(a, this.options.show), this.options.track && this.options.show && this.options.show.delay && (o = this.delayedShow = setInterval(function () { a.is(':visible') && (s(u.of), clearInterval(o)) }, e.fx.interval)), this._trigger('open', t, { tooltip: a }) } }, _registerCloseHandlers: function (t, i) { var n = { keyup: function (t) { if (t.keyCode === e.ui.keyCode.ESCAPE) { var n = e.Event(t) ;(n.currentTarget = i[0]), this.close(n, !0) } }, } i[0] !== this.element[0] && (n.remove = function () { this._removeTooltip(this._find(i).tooltip) }), (t && 'mouseover' !== t.type) || (n.mouseleave = 'close'), (t && 'focusin' !== t.type) || (n.focusout = 'close'), this._on(!0, i, n) }, close: function (t) { var i, n = this, s = e(t ? t.currentTarget : this.element), r = this._find(s) if (!r) return void s.removeData('ui-tooltip-open') ;(i = r.tooltip), r.closing || (clearInterval(this.delayedShow), s.data('ui-tooltip-title') && !s.attr('title') && s.attr('title', s.data('ui-tooltip-title')), this._removeDescribedBy(s), (r.hiding = !0), i.stop(!0), this._hide(i, this.options.hide, function () { n._removeTooltip(e(this)) }), s.removeData('ui-tooltip-open'), this._off(s, 'mouseleave focusout keyup'), s[0] !== this.element[0] && this._off(s, 'remove'), this._off(this.document, 'mousemove'), t && 'mouseleave' === t.type && e.each(this.parents, function (t, i) { e(i.element).attr('title', i.title), delete n.parents[t] }), (r.closing = !0), this._trigger('close', t, { tooltip: i }), r.hiding || (r.closing = !1)) }, _tooltip: function (t) { var i = e('
    ').attr('role', 'tooltip'), n = e('
    ').appendTo(i), s = i.uniqueId().attr('id') return ( this._addClass(n, 'ui-tooltip-content'), this._addClass(i, 'ui-tooltip', 'ui-widget ui-widget-content'), i.appendTo(this._appendTo(t)), (this.tooltips[s] = { element: t, tooltip: i }) ) }, _find: function (e) { var t = e.data('ui-tooltip-id') return t ? this.tooltips[t] : null }, _removeTooltip: function (e) { e.remove(), delete this.tooltips[e.attr('id')] }, _appendTo: function (e) { var t = e.closest('.ui-front, dialog') return t.length || (t = this.document[0].body), t }, _destroy: function () { var t = this e.each(this.tooltips, function (i, n) { var s = e.Event('blur'), r = n.element ;(s.target = s.currentTarget = r[0]), t.close(s, !0), e('#' + i).remove(), r.data('ui-tooltip-title') && (r.attr('title') || r.attr('title', r.data('ui-tooltip-title')), r.removeData('ui-tooltip-title')) }), this.liveRegion.remove() }, }), !1 !== e.uiBackCompat && e.widget('ui.tooltip', e.ui.tooltip, { options: { tooltipClass: null }, _tooltip: function () { var e = this._superApply(arguments) return ( this.options.tooltipClass && e.tooltip.addClass(this.options.tooltipClass), e ) }, }) e.ui.tooltip }) }).call(window) }).call(t, i(41)) }, function (e, t) { ;(function () { /* * jwerty - Awesome handling of keyboard events * * jwerty is a JS lib which allows you to bind, fire and assert key combination * strings against elements and events. It normalises the poor std api into * something easy to use and clear. * * This code is licensed under the MIT * For the full license see: http://keithamus.mit-license.org/ * For more information see: http://keithamus.github.com/jwerty * * @author Keith Cirkel ('keithamus') * @license http://keithamus.mit-license.org/ * @copyright Copyright © 2011, Keith Cirkel * */ !(function (e, t) { function i(e, t) { return null === e ? 'null' === t : void 0 === e ? 'undefined' === t : e.is && e instanceof l ? 'element' === t : Object.prototype.toString.call(e).toLowerCase().indexOf(t) > 7 } function s(e) { var t, n, r, a, o, l, u, h, p if (e instanceof s) return e for ( i(e, 'array') || (e = String(e) .replace(/\s/g, '') .toLowerCase() .match(/(?:\+,|[^,])+/g)), t = 0, n = e.length; t < n; ++t ) { for ( i(e[t], 'array') || (e[t] = String(e[t]).match(/(?:\+\/|[^\/])+/g)), l = [], r = e[t].length; r--; ) { var u = e[t][r] for ( o = { jwertyCombo: String(u), shiftKey: !1, ctrlKey: !1, altKey: !1, metaKey: !1, }, i(u, 'array') || (u = String(u) .toLowerCase() .match(/(?:(?:[^\+])+|\+\+|^\+$)/g)), a = u.length; a--; ) '++' === u[a] && (u[a] = '+'), u[a] in c.mods ? (o[d[c.mods[u[a]]]] = !0) : u[a] in c.keys ? (o.keyCode = c.keys[u[a]]) : (h = u[a].match(/^\[([^-]+\-?[^-]*)-([^-]+\-?[^-]*)\]$/)) if (i(o.keyCode, 'undefined')) if (h && h[1] in c.keys && h[2] in c.keys) { for ( h[2] = c.keys[h[2]], h[1] = c.keys[h[1]], p = h[1]; p < h[2]; ++p ) l.push({ altKey: o.altKey, shiftKey: o.shiftKey, metaKey: o.metaKey, ctrlKey: o.ctrlKey, keyCode: p, jwertyCombo: String(u), }) o.keyCode = p } else o.keyCode = 0 l.push(o) } this[t] = l } return (this.length = t), this } var r, a, o = e.document, l = e.jQuery || e.Zepto || e.ender || o, u = 'keydown' l === o ? ((r = function (e, t) { return e ? l.querySelector(e, t || l) : l }), (a = function (e, t) { e.addEventListener(u, t, !1) }), ($f = function (e, t) { var i, n = document.createEvent('Event') n.initEvent(u, !0, !0) for (i in t) n[i] = t[i] return (e || l).dispatchEvent(n) })) : ((r = function (e, t, i) { return l(e || o, t) }), (a = function (e, t) { l(e).bind(u + '.jwerty', t) }), ($f = function (e, t) { l(e || o).trigger(l.Event(u, t)) })) var d = { 16: 'shiftKey', 17: 'ctrlKey', 18: 'altKey', 91: 'metaKey' }, c = { mods: { '⇧': 16, shift: 16, '⌃': 17, ctrl: 17, '⌥': 18, alt: 18, option: 18, '⌘': 91, meta: 91, cmd: 91, super: 91, win: 91, }, keys: { '⌫': 8, backspace: 8, '⇥': 9, '⇆': 9, tab: 9, '↩': 13, return: 13, enter: 13, '⌅': 13, pause: 19, 'pause-break': 19, '⇪': 20, caps: 20, 'caps-lock': 20, '⎋': 27, escape: 27, esc: 27, space: 32, '↖': 33, pgup: 33, 'page-up': 33, '↘': 34, pgdown: 34, 'page-down': 34, '⇟': 35, end: 35, '⇞': 36, home: 36, ins: 45, insert: 45, del: 46, delete: 46, '←': 37, left: 37, 'arrow-left': 37, '↑': 38, up: 38, 'arrow-up': 38, '→': 39, right: 39, 'arrow-right': 39, '↓': 40, down: 40, 'arrow-down': 40, '*': 106, star: 106, asterisk: 106, multiply: 106, '+': 107, plus: 107, '-': 109, subtract: 109, ';': 186, semicolon: 186, '=': 187, equals: 187, ',': 188, comma: 188, '.': 190, period: 190, 'full-stop': 190, '/': 191, slash: 191, 'forward-slash': 191, '`': 192, tick: 192, 'back-quote': 192, '[': 219, 'open-bracket': 219, '\\': 220, 'back-slash': 220, ']': 221, 'close-bracket': 221, "'": 222, quote: 222, apostraphe: 222, }, } for (h = 95, n = 0; ++h < 106; ) (c.keys['num-' + n] = h), ++n for (h = 47, n = 0; ++h < 58; ) (c.keys[n] = h), ++n for (h = 111, n = 1; ++h < 136; ) (c.keys['f' + n] = h), ++n for (var h = 64; ++h < 91; ) c.keys[String.fromCharCode(h).toLowerCase()] = h var p = (t.jwerty = { event: function (e, t, n) { if (i(t, 'boolean')) { var r = t t = function () { return r } } e = new s(e) var a, o, l = 0, u = e.length - 1 return function (i) { if ((o = p.is(e, i, l))) return l < u ? void ++l : ((a = t.call(n || this, i, o)), !1 === a && i.preventDefault(), void (l = 0)) l = p.is(e, i) ? 1 : 0 } }, is: function (e, t, i) { ;(e = new s(e)), (i = i || 0), (e = e[i]), (t = t.originalEvent || t) for (var n = e.length, r = !1; n--; ) { r = e[n].jwertyCombo for (var a in e[n]) 'jwertyCombo' !== a && t[a] != e[n][a] && (r = !1) if (!1 !== r) return r } return r }, key: function (t, n, s, o, l) { var u = i(s, 'element') || i(s, 'string') ? s : o, d = u === s ? e : s, c = u === s ? o : l a(i(u, 'element') ? u : r(u, c), p.event(t, n, d)) }, fire: function (e, t, n, a) { e = new s(e) var o = i(n, 'number') ? n : a $f(i(t, 'element') ? t : r(t, n), e[o || 0][0]) }, KEYS: c, }) })(this, (!1).exports ? (!1).exports : this) }).call(window) }, function (e, t, i) { ;(function (e) { ;(function () { function t(e, t) { if (!e) throw new ReferenceError( "this hasn't been initialised - super() hasn't been called" ) return !t || ('object' != typeof t && 'function' != typeof t) ? e : t } function i(e, t) { if ('function' != typeof t && null !== t) throw new TypeError( 'Super expression must either be null or a function, not ' + typeof t ) ;(e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0, }, })), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : (e.__proto__ = t)) } function n(e, t) { if (!(e instanceof t)) throw new TypeError('Cannot call a class as a function') } function s(e, t) { return void 0 !== e && null !== e ? t(e) : void 0 } function r(e, t, i) { return void 0 !== e && null !== e && 'function' == typeof e[t] ? i(e, t) : void 0 } var a = null, o = (function () { function e(e, t) { for (var i = 0; i < t.length; i++) { var n = t[i] ;(n.enumerable = n.enumerable || !1), (n.configurable = !0), 'value' in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } return function (t, i, n) { return i && e(t.prototype, i), n && e(t, n), t } })(), l = (function () { function e() { n(this, e) } return ( o(e, [ { key: 'on', value: function (e, t) { return ( (this._callbacks = this._callbacks || {}), this._callbacks[e] || (this._callbacks[e] = []), this._callbacks[e].push(t), this ) }, }, { key: 'emit', value: function (e) { this._callbacks = this._callbacks || {} var t = this._callbacks[e] if (t) { for ( var i = arguments.length, n = Array(i > 1 ? i - 1 : 0), s = 1; s < i; s++ ) n[s - 1] = arguments[s] for (var r = t, a = 0, r = r; ; ) { var o if (a >= r.length) break o = r[a++] o.apply(this, n) } } return this }, }, { key: 'off', value: function (e, t) { if (!this._callbacks || 0 === arguments.length) return (this._callbacks = {}), this var i = this._callbacks[e] if (!i) return this if (1 === arguments.length) return delete this._callbacks[e], this for (var n = 0; n < i.length; n++) { if (i[n] === t) { i.splice(n, 1) break } } return this }, }, ]), e ) })(), u = (function (e) { function a(e, i) { n(this, a) var s = t( this, (a.__proto__ || Object.getPrototypeOf(a)).call(this) ), r = void 0, o = void 0 if ( ((s.element = e), (s.version = a.version), (s.defaultOptions.previewTemplate = s.defaultOptions.previewTemplate.replace(/\n*/g, '')), (s.clickableElements = []), (s.listeners = []), (s.files = []), 'string' == typeof s.element && (s.element = document.querySelector(s.element)), !s.element || null == s.element.nodeType) ) throw new Error('Invalid dropzone element.') if (s.element.dropzone) throw new Error('Dropzone already attached.') a.instances.push(s), (s.element.dropzone = s) var l = null != (o = a.optionsForElement(s.element)) ? o : {} if ( ((s.options = a.extend( {}, s.defaultOptions, l, null != i ? i : {} )), s.options.forceFallback || !a.isBrowserSupported()) ) { var u return (u = s.options.fallback.call(s)), t(s, u) } if ( (null == s.options.url && (s.options.url = s.element.getAttribute('action')), !s.options.url) ) throw new Error('No URL provided.') if (s.options.acceptedFiles && s.options.acceptedMimeTypes) throw new Error( "You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated." ) if (s.options.uploadMultiple && s.options.chunking) throw new Error( 'You cannot set both: uploadMultiple and chunking.' ) return ( s.options.acceptedMimeTypes && ((s.options.acceptedFiles = s.options.acceptedMimeTypes), delete s.options.acceptedMimeTypes), null != s.options.renameFilename && (s.options.renameFile = function (e) { return s.options.renameFilename.call(s, e.name, e) }), (s.options.method = s.options.method.toUpperCase()), (r = s.getExistingFallback()) && r.parentNode && r.parentNode.removeChild(r), !1 !== s.options.previewsContainer && (s.options.previewsContainer ? (s.previewsContainer = a.getElement( s.options.previewsContainer, 'previewsContainer' )) : (s.previewsContainer = s.element)), s.options.clickable && (!0 === s.options.clickable ? (s.clickableElements = [s.element]) : (s.clickableElements = a.getElements( s.options.clickable, 'clickable' ))), s.init(), s ) } return ( i(a, e), o(a, null, [ { key: 'initClass', value: function () { ;(this.prototype.Emitter = l), (this.prototype.events = [ 'drop', 'dragstart', 'dragend', 'dragenter', 'dragover', 'dragleave', 'addedfile', 'addedfiles', 'removedfile', 'thumbnail', 'error', 'errormultiple', 'processing', 'processingmultiple', 'uploadprogress', 'totaluploadprogress', 'sending', 'sendingmultiple', 'success', 'successmultiple', 'canceled', 'canceledmultiple', 'complete', 'completemultiple', 'reset', 'maxfilesexceeded', 'maxfilesreached', 'queuecomplete', ]), (this.prototype.defaultOptions = { url: null, method: 'post', withCredentials: !1, timeout: 3e4, parallelUploads: 2, uploadMultiple: !1, chunking: !1, forceChunking: !1, chunkSize: 2e6, parallelChunkUploads: !1, retryChunks: !1, retryChunksLimit: 3, maxFilesize: 256, paramName: 'file', createImageThumbnails: !0, maxThumbnailFilesize: 10, thumbnailWidth: 120, thumbnailHeight: 120, thumbnailMethod: 'crop', resizeWidth: null, resizeHeight: null, resizeMimeType: null, resizeQuality: 0.8, resizeMethod: 'contain', filesizeBase: 1e3, maxFiles: null, headers: null, clickable: !0, ignoreHiddenFiles: !0, acceptedFiles: null, acceptedMimeTypes: null, autoProcessQueue: !0, autoQueue: !0, addRemoveLinks: !1, previewsContainer: null, hiddenInputContainer: 'body', capture: null, renameFilename: null, renameFile: null, forceFallback: !1, dictDefaultMessage: 'Drop files here to upload', dictFallbackMessage: "Your browser does not support drag'n'drop file uploads.", dictFallbackText: 'Please use the fallback form below to upload your files like in the olden days.', dictFileTooBig: 'File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.', dictInvalidFileType: "You can't upload files of this type.", dictResponseError: 'Server responded with {{statusCode}} code.', dictCancelUpload: 'Cancel upload', dictUploadCanceled: 'Upload canceled.', dictCancelUploadConfirmation: 'Are you sure you want to cancel this upload?', dictRemoveFile: 'Remove file', dictRemoveFileConfirmation: null, dictMaxFilesExceeded: 'You can not upload any more files.', dictFileSizeUnits: { tb: 'TB', gb: 'GB', mb: 'MB', kb: 'KB', b: 'b', }, init: function () {}, params: function (e, t, i) { if (i) return { dzuuid: i.file.upload.uuid, dzchunkindex: i.index, dztotalfilesize: i.file.size, dzchunksize: this.options.chunkSize, dztotalchunkcount: i.file.upload.totalChunkCount, dzchunkbyteoffset: i.index * this.options.chunkSize, } }, accept: function (e, t) { return t() }, chunksUploaded: function (e, t) { t() }, fallback: function () { var e = void 0 this.element.className = this.element.className + ' dz-browser-not-supported' for ( var t = this.element.getElementsByTagName('div'), i = 0, t = t; ; ) { var n if (i >= t.length) break n = t[i++] var s = n if (/(^| )dz-message($| )/.test(s.className)) { ;(e = s), (s.className = 'dz-message') break } } e || ((e = a.createElement( '
    ' )), this.element.appendChild(e)) var r = e.getElementsByTagName('span')[0] return ( r && (null != r.textContent ? (r.textContent = this.options.dictFallbackMessage) : null != r.innerText && (r.innerText = this.options.dictFallbackMessage)), this.element.appendChild(this.getFallbackForm()) ) }, resize: function (e, t, i, n) { var s = { srcX: 0, srcY: 0, srcWidth: e.width, srcHeight: e.height, }, r = e.width / e.height null == t && null == i ? ((t = s.srcWidth), (i = s.srcHeight)) : null == t ? (t = i * r) : null == i && (i = t / r), (t = Math.min(t, s.srcWidth)), (i = Math.min(i, s.srcHeight)) var a = t / i if (s.srcWidth > t || s.srcHeight > i) if ('crop' === n) r > a ? ((s.srcHeight = e.height), (s.srcWidth = s.srcHeight * a)) : ((s.srcWidth = e.width), (s.srcHeight = s.srcWidth / a)) else { if ('contain' !== n) throw new Error( "Unknown resizeMethod '" + n + "'" ) r > a ? (i = t / r) : (t = i * r) } return ( (s.srcX = (e.width - s.srcWidth) / 2), (s.srcY = (e.height - s.srcHeight) / 2), (s.trgWidth = t), (s.trgHeight = i), s ) }, transformFile: function (e, t) { return (this.options.resizeWidth || this.options.resizeHeight) && e.type.match(/image.*/) ? this.resizeImage( e, this.options.resizeWidth, this.options.resizeHeight, this.options.resizeMethod, t ) : t(e) }, previewTemplate: '
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n Check\n \n \n \n \n \n
    \n
    \n \n Error\n \n \n \n \n \n \n \n
    \n
    ', drop: function (e) { return this.element.classList.remove('dz-drag-hover') }, dragstart: function (e) {}, dragend: function (e) { return this.element.classList.remove('dz-drag-hover') }, dragenter: function (e) { return this.element.classList.add('dz-drag-hover') }, dragover: function (e) { return this.element.classList.add('dz-drag-hover') }, dragleave: function (e) { return this.element.classList.remove('dz-drag-hover') }, paste: function (e) {}, reset: function () { return this.element.classList.remove('dz-started') }, addedfile: function (e) { var t = this if ( (this.element === this.previewsContainer && this.element.classList.add('dz-started'), this.previewsContainer) ) { ;(e.previewElement = a.createElement( this.options.previewTemplate.trim() )), (e.previewTemplate = e.previewElement), this.previewsContainer.appendChild( e.previewElement ) for ( var i = e.previewElement.querySelectorAll( '[data-dz-name]' ), n = 0, i = i; ; ) { var s if (n >= i.length) break s = i[n++] var r = s r.textContent = e.name } for ( var o = e.previewElement.querySelectorAll( '[data-dz-size]' ), l = 0, o = o; !(l >= o.length); ) (r = o[l++]), (r.innerHTML = this.filesize(e.size)) this.options.addRemoveLinks && ((e._removeLink = a.createElement( '
    ' + this.options.dictRemoveFile + '' )), e.previewElement.appendChild(e._removeLink)) for ( var u = function (i) { return ( i.preventDefault(), i.stopPropagation(), e.status === a.UPLOADING ? a.confirm( t.options .dictCancelUploadConfirmation, function () { return t.removeFile(e) } ) : t.options.dictRemoveFileConfirmation ? a.confirm( t.options.dictRemoveFileConfirmation, function () { return t.removeFile(e) } ) : t.removeFile(e) ) }, d = e.previewElement.querySelectorAll( '[data-dz-remove]' ), c = 0, d = d; ; ) { var h if (c >= d.length) break h = d[c++] h.addEventListener('click', u) } } }, removedfile: function (e) { return ( null != e.previewElement && null != e.previewElement.parentNode && e.previewElement.parentNode.removeChild( e.previewElement ), this._updateMaxFilesReachedClass() ) }, thumbnail: function (e, t) { if (e.previewElement) { e.previewElement.classList.remove('dz-file-preview') for ( var i = e.previewElement.querySelectorAll( '[data-dz-thumbnail]' ), n = 0, i = i; ; ) { var s if (n >= i.length) break s = i[n++] var r = s ;(r.alt = e.name), (r.src = t) } return setTimeout(function () { return e.previewElement.classList.add( 'dz-image-preview' ) }, 1) } }, error: function (e, t) { if (e.previewElement) { e.previewElement.classList.add('dz-error'), 'String' != typeof t && t.error && (t = t.error) for ( var i = e.previewElement.querySelectorAll( '[data-dz-errormessage]' ), n = 0, i = i; ; ) { var s if (n >= i.length) break s = i[n++] s.textContent = t } } }, errormultiple: function () {}, processing: function (e) { if ( e.previewElement && (e.previewElement.classList.add('dz-processing'), e._removeLink) ) return (e._removeLink.innerHTML = this.options.dictCancelUpload) }, processingmultiple: function () {}, uploadprogress: function (e, t, i) { if (e.previewElement) for ( var n = e.previewElement.querySelectorAll( '[data-dz-uploadprogress]' ), s = 0, n = n; ; ) { var r if (s >= n.length) break r = n[s++] var a = r 'PROGRESS' === a.nodeName ? (a.value = t) : (a.style.width = t + '%') } }, totaluploadprogress: function () {}, sending: function () {}, sendingmultiple: function () {}, success: function (e) { if (e.previewElement) return e.previewElement.classList.add('dz-success') }, successmultiple: function () {}, canceled: function (e) { return this.emit( 'error', e, this.options.dictUploadCanceled ) }, canceledmultiple: function () {}, complete: function (e) { if ( (e._removeLink && (e._removeLink.innerHTML = this.options.dictRemoveFile), e.previewElement) ) return e.previewElement.classList.add('dz-complete') }, completemultiple: function () {}, maxfilesexceeded: function () {}, maxfilesreached: function () {}, queuecomplete: function () {}, addedfiles: function () {}, }), (this.prototype._thumbnailQueue = []), (this.prototype._processingThumbnail = !1) }, }, { key: 'extend', value: function (e) { for ( var t = arguments.length, i = Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++ ) i[n - 1] = arguments[n] for (var s = i, r = 0, s = s; ; ) { var a if (r >= s.length) break a = s[r++] var o = a for (var l in o) { var u = o[l] e[l] = u } } return e }, }, ]), o( a, [ { key: 'getAcceptedFiles', value: function () { return this.files .filter(function (e) { return e.accepted }) .map(function (e) { return e }) }, }, { key: 'getRejectedFiles', value: function () { return this.files .filter(function (e) { return !e.accepted }) .map(function (e) { return e }) }, }, { key: 'getFilesWithStatus', value: function (e) { return this.files .filter(function (t) { return t.status === e }) .map(function (e) { return e }) }, }, { key: 'getQueuedFiles', value: function () { return this.getFilesWithStatus(a.QUEUED) }, }, { key: 'getUploadingFiles', value: function () { return this.getFilesWithStatus(a.UPLOADING) }, }, { key: 'getAddedFiles', value: function () { return this.getFilesWithStatus(a.ADDED) }, }, { key: 'getActiveFiles', value: function () { return this.files .filter(function (e) { return ( e.status === a.UPLOADING || e.status === a.QUEUED ) }) .map(function (e) { return e }) }, }, { key: 'init', value: function () { var e = this if ( ('form' === this.element.tagName && this.element.setAttribute( 'enctype', 'multipart/form-data' ), this.element.classList.contains('dropzone') && !this.element.querySelector('.dz-message') && this.element.appendChild( a.createElement( '
    ' + this.options.dictDefaultMessage + '
    ' ) ), this.clickableElements.length) ) { !(function t() { return ( e.hiddenFileInput && e.hiddenFileInput.parentNode.removeChild( e.hiddenFileInput ), (e.hiddenFileInput = document.createElement('input')), e.hiddenFileInput.setAttribute('type', 'file'), (null === e.options.maxFiles || e.options.maxFiles > 1) && e.hiddenFileInput.setAttribute( 'multiple', 'multiple' ), (e.hiddenFileInput.className = 'dz-hidden-input'), null !== e.options.acceptedFiles && e.hiddenFileInput.setAttribute( 'accept', e.options.acceptedFiles ), null !== e.options.capture && e.hiddenFileInput.setAttribute( 'capture', e.options.capture ), (e.hiddenFileInput.style.visibility = 'hidden'), (e.hiddenFileInput.style.position = 'absolute'), (e.hiddenFileInput.style.top = '0'), (e.hiddenFileInput.style.left = '0'), (e.hiddenFileInput.style.height = '0'), (e.hiddenFileInput.style.width = '0'), a .getElement( e.options.hiddenInputContainer, 'hiddenInputContainer' ) .appendChild(e.hiddenFileInput), e.hiddenFileInput.addEventListener( 'change', function () { var i = e.hiddenFileInput.files if (i.length) for (var n = i, s = 0, n = n; ; ) { var r if (s >= n.length) break r = n[s++] var a = r e.addFile(a) } return e.emit('addedfiles', i), t() } ) ) })() } this.URL = null !== window.URL ? window.URL : window.webkitURL for (var t = this.events, i = 0, t = t; ; ) { var n if (i >= t.length) break n = t[i++] var s = n this.on(s, this.options[s]) } this.on('uploadprogress', function () { return e.updateTotalUploadProgress() }), this.on('removedfile', function () { return e.updateTotalUploadProgress() }), this.on('canceled', function (t) { return e.emit('complete', t) }), this.on('complete', function (t) { if ( 0 === e.getAddedFiles().length && 0 === e.getUploadingFiles().length && 0 === e.getQueuedFiles().length ) return setTimeout(function () { return e.emit('queuecomplete') }, 0) }) var r = function (e) { return ( e.stopPropagation(), e.preventDefault ? e.preventDefault() : (e.returnValue = !1) ) } return ( (this.listeners = [ { element: this.element, events: { dragstart: function (t) { return e.emit('dragstart', t) }, dragenter: function (t) { return r(t), e.emit('dragenter', t) }, dragover: function (t) { var i = void 0 try { i = t.dataTransfer.effectAllowed } catch (e) {} return ( (t.dataTransfer.dropEffect = 'move' === i || 'linkMove' === i ? 'move' : 'copy'), r(t), e.emit('dragover', t) ) }, dragleave: function (t) { return e.emit('dragleave', t) }, drop: function (t) { return r(t), e.drop(t) }, dragend: function (t) { return e.emit('dragend', t) }, }, }, ]), this.clickableElements.forEach(function (t) { return e.listeners.push({ element: t, events: { click: function (i) { return ( (t !== e.element || i.target === e.element || a.elementInside( i.target, e.element.querySelector('.dz-message') )) && e.hiddenFileInput.click(), !0 ) }, }, }) }), this.enable(), this.options.init.call(this) ) }, }, { key: 'destroy', value: function () { return ( this.disable(), this.removeAllFiles(!0), (null != this.hiddenFileInput ? this.hiddenFileInput.parentNode : void 0) && (this.hiddenFileInput.parentNode.removeChild( this.hiddenFileInput ), (this.hiddenFileInput = null)), delete this.element.dropzone, a.instances.splice(a.instances.indexOf(this), 1) ) }, }, { key: 'updateTotalUploadProgress', value: function () { var e = void 0, t = 0, i = 0 if (this.getActiveFiles().length) { for (var n = this.getActiveFiles(), s = 0, n = n; ; ) { var r if (s >= n.length) break r = n[s++] var a = r ;(t += a.upload.bytesSent), (i += a.upload.total) } e = (100 * t) / i } else e = 100 return this.emit('totaluploadprogress', e, i, t) }, }, { key: '_getParamName', value: function (e) { return 'function' == typeof this.options.paramName ? this.options.paramName(e) : this.options.paramName + (this.options.uploadMultiple ? '[' + e + ']' : '') }, }, { key: '_renameFile', value: function (e) { return 'function' != typeof this.options.renameFile ? e.name : this.options.renameFile(e) }, }, { key: 'getFallbackForm', value: function () { var e = void 0, t = void 0 if ((e = this.getExistingFallback())) return e var i = '
    ' this.options.dictFallbackText && (i += '

    ' + this.options.dictFallbackText + '

    '), (i += '
    ') var n = a.createElement(i) return ( 'FORM' !== this.element.tagName ? ((t = a.createElement( '
    ' )), t.appendChild(n)) : (this.element.setAttribute( 'enctype', 'multipart/form-data' ), this.element.setAttribute( 'method', this.options.method )), null != t ? t : n ) }, }, { key: 'getExistingFallback', value: function () { for (var e = ['div', 'form'], t = 0; t < e.length; t++) { var i, n = e[t] if ( (i = (function (e) { for (var t = e, i = 0, t = t; ; ) { var n if (i >= t.length) break n = t[i++] var s = n if (/(^| )fallback($| )/.test(s.className)) return s } })(this.element.getElementsByTagName(n))) ) return i } }, }, { key: 'setupEventListeners', value: function () { return this.listeners.map(function (e) { return (function () { var t = [] for (var i in e.events) { var n = e.events[i] t.push(e.element.addEventListener(i, n, !1)) } return t })() }) }, }, { key: 'removeEventListeners', value: function () { return this.listeners.map(function (e) { return (function () { var t = [] for (var i in e.events) { var n = e.events[i] t.push(e.element.removeEventListener(i, n, !1)) } return t })() }) }, }, { key: 'disable', value: function () { var e = this return ( this.clickableElements.forEach(function (e) { return e.classList.remove('dz-clickable') }), this.removeEventListeners(), (this.disabled = !0), this.files.map(function (t) { return e.cancelUpload(t) }) ) }, }, { key: 'enable', value: function () { return ( delete this.disabled, this.clickableElements.forEach(function (e) { return e.classList.add('dz-clickable') }), this.setupEventListeners() ) }, }, { key: 'filesize', value: function (e) { var t = 0, i = 'b' if (e > 0) { for ( var n = ['tb', 'gb', 'mb', 'kb', 'b'], s = 0; s < n.length; s++ ) { var r = n[s] if ( e >= Math.pow(this.options.filesizeBase, 4 - s) / 10 ) { ;(t = e / Math.pow(this.options.filesizeBase, 4 - s)), (i = r) break } } t = Math.round(10 * t) / 10 } return ( '' + t + ' ' + this.options.dictFileSizeUnits[i] ) }, }, { key: '_updateMaxFilesReachedClass', value: function () { return null != this.options.maxFiles && this.getAcceptedFiles().length >= this.options.maxFiles ? (this.getAcceptedFiles().length === this.options.maxFiles && this.emit('maxfilesreached', this.files), this.element.classList.add('dz-max-files-reached')) : this.element.classList.remove('dz-max-files-reached') }, }, { key: 'drop', value: function (e) { if (e.dataTransfer) { this.emit('drop', e) for ( var t = [], i = 0; i < e.dataTransfer.files.length; i++ ) t[i] = e.dataTransfer.files[i] if ((this.emit('addedfiles', t), t.length)) { var n = e.dataTransfer.items n && n.length && null != n[0].webkitGetAsEntry ? this._addFilesFromItems(n) : this.handleFiles(t) } } }, }, { key: 'paste', value: function (e) { if ( null != s(null != e ? e.clipboardData : void 0, function (e) { return e.items }) ) { this.emit('paste', e) var t = e.clipboardData.items return t.length ? this._addFilesFromItems(t) : void 0 } }, }, { key: 'handleFiles', value: function (e) { for (var t = e, i = 0, t = t; ; ) { var n if (i >= t.length) break n = t[i++] var s = n this.addFile(s) } }, }, { key: '_addFilesFromItems', value: function (e) { var t = this return (function () { for (var i = [], n = e, s = 0, n = n; ; ) { var r if (s >= n.length) break r = n[s++] var a, o = r null != o.webkitGetAsEntry && (a = o.webkitGetAsEntry()) ? a.isFile ? i.push(t.addFile(o.getAsFile())) : a.isDirectory ? i.push(t._addFilesFromDirectory(a, a.name)) : i.push(void 0) : null != o.getAsFile && (null == o.kind || 'file' === o.kind) ? i.push(t.addFile(o.getAsFile())) : i.push(void 0) } return i })() }, }, { key: '_addFilesFromDirectory', value: function (e, t) { var i = this, n = e.createReader(), s = function (e) { return r(console, 'log', function (t) { return t.log(e) }) } return (function e() { return n.readEntries(function (n) { if (n.length > 0) { for (var s = n, r = 0, s = s; ; ) { var a if (r >= s.length) break a = s[r++] var o = a o.isFile ? o.file(function (e) { if ( !i.options.ignoreHiddenFiles || '.' !== e.name.substring(0, 1) ) return ( (e.fullPath = t + '/' + e.name), i.addFile(e) ) }) : o.isDirectory && i._addFilesFromDirectory(o, t + '/' + o.name) } e() } return null }, s) })() }, }, { key: 'accept', value: function (e, t) { return this.options.maxFilesize && e.size > 1024 * this.options.maxFilesize * 1024 ? t( this.options.dictFileTooBig .replace( '{{filesize}}', Math.round(e.size / 1024 / 10.24) / 100 ) .replace( '{{maxFilesize}}', this.options.maxFilesize ) ) : a.isValidFile(e, this.options.acceptedFiles) ? null != this.options.maxFiles && this.getAcceptedFiles().length >= this.options.maxFiles ? (t( this.options.dictMaxFilesExceeded.replace( '{{maxFiles}}', this.options.maxFiles ) ), this.emit('maxfilesexceeded', e)) : this.options.accept.call(this, e, t) : t(this.options.dictInvalidFileType) }, }, { key: 'addFile', value: function (e) { var t = this return ( (e.upload = { uuid: a.uuidv4(), progress: 0, total: e.size, bytesSent: 0, filename: this._renameFile(e), chunked: this.options.chunking && (this.options.forceChunking || e.size > this.options.chunkSize), totalChunkCount: Math.ceil( e.size / this.options.chunkSize ), }), this.files.push(e), (e.status = a.ADDED), this.emit('addedfile', e), this._enqueueThumbnail(e), this.accept(e, function (i) { return ( i ? ((e.accepted = !1), t._errorProcessing([e], i)) : ((e.accepted = !0), t.options.autoQueue && t.enqueueFile(e)), t._updateMaxFilesReachedClass() ) }) ) }, }, { key: 'enqueueFiles', value: function (e) { for (var t = e, i = 0, t = t; ; ) { var n if (i >= t.length) break n = t[i++] var s = n this.enqueueFile(s) } return null }, }, { key: 'enqueueFile', value: function (e) { var t = this if (e.status !== a.ADDED || !0 !== e.accepted) throw new Error( "This file can't be queued because it has already been processed or was rejected." ) if ( ((e.status = a.QUEUED), this.options.autoProcessQueue) ) return setTimeout(function () { return t.processQueue() }, 0) }, }, { key: '_enqueueThumbnail', value: function (e) { var t = this if ( this.options.createImageThumbnails && e.type.match(/image.*/) && e.size <= 1024 * this.options.maxThumbnailFilesize * 1024 ) return ( this._thumbnailQueue.push(e), setTimeout(function () { return t._processThumbnailQueue() }, 0) ) }, }, { key: '_processThumbnailQueue', value: function () { var e = this if ( !this._processingThumbnail && 0 !== this._thumbnailQueue.length ) { this._processingThumbnail = !0 var t = this._thumbnailQueue.shift() return this.createThumbnail( t, this.options.thumbnailWidth, this.options.thumbnailHeight, this.options.thumbnailMethod, !0, function (i) { return ( e.emit('thumbnail', t, i), (e._processingThumbnail = !1), e._processThumbnailQueue() ) } ) } }, }, { key: 'removeFile', value: function (e) { if ( (e.status === a.UPLOADING && this.cancelUpload(e), (this.files = d(this.files, e)), this.emit('removedfile', e), 0 === this.files.length) ) return this.emit('reset') }, }, { key: 'removeAllFiles', value: function (e) { null == e && (e = !1) for (var t = this.files.slice(), i = 0, t = t; ; ) { var n if (i >= t.length) break n = t[i++] var s = n ;(s.status !== a.UPLOADING || e) && this.removeFile(s) } return null }, }, { key: 'resizeImage', value: function (e, t, i, n, s) { var r = this return this.createThumbnail( e, t, i, n, !0, function (t, i) { if (null == i) return s(e) var n = r.options.resizeMimeType null == n && (n = e.type) var o = i.toDataURL(n, r.options.resizeQuality) return ( ('image/jpeg' !== n && 'image/jpg' !== n) || (o = f.restore(e.dataURL, o)), s(a.dataURItoBlob(o)) ) } ) }, }, { key: 'createThumbnail', value: function (e, t, i, n, s, r) { var a = this, o = new FileReader() return ( (o.onload = function () { return ( (e.dataURL = o.result), 'image/svg+xml' === e.type ? void (null != r && r(o.result)) : a.createThumbnailFromUrl(e, t, i, n, s, r) ) }), o.readAsDataURL(e) ) }, }, { key: 'createThumbnailFromUrl', value: function (e, t, i, n, s, r, a) { var o = this, l = document.createElement('img') return ( a && (l.crossOrigin = a), (l.onload = function () { var a = function (e) { return e(1) } return ( 'undefined' != typeof EXIF && null !== EXIF && s && (a = function (e) { return EXIF.getData(l, function () { return e(EXIF.getTag(this, 'Orientation')) }) }), a(function (s) { ;(e.width = l.width), (e.height = l.height) var a = o.options.resize.call(o, e, t, i, n), u = document.createElement('canvas'), d = u.getContext('2d') switch ( ((u.width = a.trgWidth), (u.height = a.trgHeight), s > 4 && ((u.width = a.trgHeight), (u.height = a.trgWidth)), s) ) { case 2: d.translate(u.width, 0), d.scale(-1, 1) break case 3: d.translate(u.width, u.height), d.rotate(Math.PI) break case 4: d.translate(0, u.height), d.scale(1, -1) break case 5: d.rotate(0.5 * Math.PI), d.scale(1, -1) break case 6: d.rotate(0.5 * Math.PI), d.translate(0, -u.width) break case 7: d.rotate(0.5 * Math.PI), d.translate(u.height, -u.width), d.scale(-1, 1) break case 8: d.rotate(-0.5 * Math.PI), d.translate(-u.height, 0) } p( d, l, null != a.srcX ? a.srcX : 0, null != a.srcY ? a.srcY : 0, a.srcWidth, a.srcHeight, null != a.trgX ? a.trgX : 0, null != a.trgY ? a.trgY : 0, a.trgWidth, a.trgHeight ) var c = u.toDataURL('image/png') if (null != r) return r(c, u) }) ) }), null != r && (l.onerror = r), (l.src = e.dataURL) ) }, }, { key: 'processQueue', value: function () { var e = this.options.parallelUploads, t = this.getUploadingFiles().length, i = t if (!(t >= e)) { var n = this.getQueuedFiles() if (n.length > 0) { if (this.options.uploadMultiple) return this.processFiles(n.slice(0, e - t)) for (; i < e; ) { if (!n.length) return this.processFile(n.shift()), i++ } } } }, }, { key: 'processFile', value: function (e) { return this.processFiles([e]) }, }, { key: 'processFiles', value: function (e) { for (var t = e, i = 0, t = t; ; ) { var n if (i >= t.length) break n = t[i++] var s = n ;(s.processing = !0), (s.status = a.UPLOADING), this.emit('processing', s) } return ( this.options.uploadMultiple && this.emit('processingmultiple', e), this.uploadFiles(e) ) }, }, { key: '_getFilesWithXhr', value: function (e) { return this.files .filter(function (t) { return t.xhr === e }) .map(function (e) { return e }) }, }, { key: 'cancelUpload', value: function (e) { if (e.status === a.UPLOADING) { for ( var t = this._getFilesWithXhr(e.xhr), i = t, n = 0, i = i; ; ) { var s if (n >= i.length) break s = i[n++] s.status = a.CANCELED } void 0 !== e.xhr && e.xhr.abort() for (var r = t, o = 0, r = r; ; ) { var l if (o >= r.length) break l = r[o++] var u = l this.emit('canceled', u) } this.options.uploadMultiple && this.emit('canceledmultiple', t) } else (e.status !== a.ADDED && e.status !== a.QUEUED) || ((e.status = a.CANCELED), this.emit('canceled', e), this.options.uploadMultiple && this.emit('canceledmultiple', [e])) if (this.options.autoProcessQueue) return this.processQueue() }, }, { key: 'resolveOption', value: function (e) { if ('function' == typeof e) { for ( var t = arguments.length, i = Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++ ) i[n - 1] = arguments[n] return e.apply(this, i) } return e }, }, { key: 'uploadFile', value: function (e) { return this.uploadFiles([e]) }, }, { key: 'uploadFiles', value: function (e) { var t = this this._transformFiles(e, function (i) { if (e[0].upload.chunked) { var n = e[0], s = i[0], r = 0 n.upload.chunks = [] var o = function () { for (var i = 0; void 0 !== n.upload.chunks[i]; ) i++ if (!(i >= n.upload.totalChunkCount)) { r++ var o = i * t.options.chunkSize, l = Math.min(o + t.options.chunkSize, n.size), u = { name: t._getParamName(0), data: s.webkitSlice ? s.webkitSlice(o, l) : s.slice(o, l), filename: n.upload.filename, chunkIndex: i, } ;(n.upload.chunks[i] = { file: n, index: i, dataBlock: u, status: a.UPLOADING, progress: 0, retries: 0, }), t._uploadData(e, [u]) } } if ( ((n.upload.finishedChunkUpload = function (i) { var s = !0 ;(i.status = a.SUCCESS), (i.dataBlock = null), (i.xhr = null) for ( var r = 0; r < n.upload.totalChunkCount; r++ ) { if (void 0 === n.upload.chunks[r]) return o() n.upload.chunks[r].status !== a.SUCCESS && (s = !1) } s && t.options.chunksUploaded(n, function () { t._finished(e, '', null) }) }), t.options.parallelChunkUploads) ) for (var l = 0; l < n.upload.totalChunkCount; l++) o() else o() } else { for (var u = [], d = 0; d < e.length; d++) u[d] = { name: t._getParamName(d), data: i[d], filename: e[d].upload.filename, } t._uploadData(e, u) } }) }, }, { key: '_getChunk', value: function (e, t) { for (var i = 0; i < e.upload.totalChunkCount; i++) if ( void 0 !== e.upload.chunks[i] && e.upload.chunks[i].xhr === t ) return e.upload.chunks[i] }, }, { key: '_uploadData', value: function (e, t) { for ( var i = this, n = new XMLHttpRequest(), s = e, r = 0, s = s; ; ) { var o if (r >= s.length) break o = s[r++] o.xhr = n } e[0].upload.chunked && (e[0].upload.chunks[t[0].chunkIndex].xhr = n) var l = this.resolveOption(this.options.method, e), u = this.resolveOption(this.options.url, e) n.open(l, u, !0), (n.timeout = this.resolveOption( this.options.timeout, e )), (n.withCredentials = !!this.options.withCredentials), (n.onload = function (t) { i._finishedUploading(e, n, t) }), (n.onerror = function () { i._handleUploadError(e, n) }), ((null != n.upload ? n.upload : n).onprogress = function (t) { return i._updateFilesUploadProgress(e, n, t) }) var d = { Accept: 'application/json', 'Cache-Control': 'no-cache', 'X-Requested-With': 'XMLHttpRequest', } this.options.headers && a.extend(d, this.options.headers) for (var c in d) { var h = d[c] h && n.setRequestHeader(c, h) } var p = new FormData() if (this.options.params) { var f = this.options.params 'function' == typeof f && (f = f.call( this, e, n, e[0].upload.chunked ? this._getChunk(e[0], n) : null )) for (var m in f) { var _ = f[m] p.append(m, _) } } for (var g = e, v = 0, g = g; ; ) { var y if (v >= g.length) break y = g[v++] var b = y this.emit('sending', b, n, p) } this.options.uploadMultiple && this.emit('sendingmultiple', e, n, p), this._addFormElementData(p) for (var w = 0; w < t.length; w++) { var M = t[w] p.append(M.name, M.data, M.filename) } this.submitRequest(n, p, e) }, }, { key: '_transformFiles', value: function (e, t) { for ( var i = this, n = [], s = 0, r = 0; r < e.length; r++ ) !(function (r) { i.options.transformFile.call(i, e[r], function (i) { ;(n[r] = i), ++s === e.length && t(n) }) })(r) }, }, { key: '_addFormElementData', value: function (e) { if ('FORM' === this.element.tagName) for ( var t = this.element.querySelectorAll( 'input, textarea, select, button' ), i = 0, t = t; ; ) { var n if (i >= t.length) break n = t[i++] var s = n, r = s.getAttribute('name'), a = s.getAttribute('type') if ( (a && (a = a.toLowerCase()), void 0 !== r && null !== r) ) if ( 'SELECT' === s.tagName && s.hasAttribute('multiple') ) for (var o = s.options, l = 0, o = o; ; ) { var u if (l >= o.length) break u = o[l++] var d = u d.selected && e.append(r, d.value) } else (!a || ('checkbox' !== a && 'radio' !== a) || s.checked) && e.append(r, s.value) } }, }, { key: '_updateFilesUploadProgress', value: function (e, t, i) { var n = void 0 if (void 0 !== i) { if ( ((n = (100 * i.loaded) / i.total), e[0].upload.chunked) ) { var s = e[0], r = this._getChunk(s, t) ;(r.progress = n), (r.total = i.total), (r.bytesSent = i.loaded) ;(s.upload.progress = 0), (s.upload.total = 0), (s.upload.bytesSent = 0) for (var a = 0; a < s.upload.totalChunkCount; a++) void 0 !== s.upload.chunks[a] && void 0 !== s.upload.chunks[a].progress && ((s.upload.progress += s.upload.chunks[a].progress), (s.upload.total += s.upload.chunks[a].total), (s.upload.bytesSent += s.upload.chunks[a].bytesSent)) s.upload.progress = s.upload.progress / s.upload.totalChunkCount } else for (var o = e, l = 0, o = o; ; ) { var u if (l >= o.length) break u = o[l++] var d = u ;(d.upload.progress = n), (d.upload.total = i.total), (d.upload.bytesSent = i.loaded) } for (var c = e, h = 0, c = c; ; ) { var p if (h >= c.length) break p = c[h++] var f = p this.emit( 'uploadprogress', f, f.upload.progress, f.upload.bytesSent ) } } else { var m = !0 n = 100 for (var _ = e, g = 0, _ = _; ; ) { var v if (g >= _.length) break v = _[g++] var y = v ;(100 === y.upload.progress && y.upload.bytesSent === y.upload.total) || (m = !1), (y.upload.progress = n), (y.upload.bytesSent = y.upload.total) } if (m) return for (var b = e, w = 0, b = b; ; ) { var M if (w >= b.length) break M = b[w++] var k = M this.emit('uploadprogress', k, n, k.upload.bytesSent) } } }, }, { key: '_finishedUploading', value: function (e, t, i) { var n = void 0 if (e[0].status !== a.CANCELED && 4 === t.readyState) { if ( 'arraybuffer' !== t.responseType && 'blob' !== t.responseType && ((n = t.responseText), t.getResponseHeader('content-type') && ~t .getResponseHeader('content-type') .indexOf('application/json')) ) try { n = JSON.parse(n) } catch (e) { ;(i = e), (n = 'Invalid JSON response from server.') } this._updateFilesUploadProgress(e), 200 <= t.status && t.status < 300 ? e[0].upload.chunked ? e[0].upload.finishedChunkUpload( this._getChunk(e[0], t) ) : this._finished(e, n, i) : this._handleUploadError(e, t, n) } }, }, { key: '_handleUploadError', value: function (e, t, i) { if (e[0].status !== a.CANCELED) { if (e[0].upload.chunked && this.options.retryChunks) { var n = this._getChunk(e[0], t) if (n.retries++ < this.options.retryChunksLimit) return void this._uploadData(e, [n.dataBlock]) console.warn( 'Retried this chunk too often. Giving up.' ) } for (var s = e, r = 0, s = s; ; ) { if (r >= s.length) break s[r++] this._errorProcessing( e, i || this.options.dictResponseError.replace( '{{statusCode}}', t.status ), t ) } } }, }, { key: 'submitRequest', value: function (e, t, i) { e.send(t) }, }, { key: '_finished', value: function (e, t, i) { for (var n = e, s = 0, n = n; ; ) { var r if (s >= n.length) break r = n[s++] var o = r ;(o.status = a.SUCCESS), this.emit('success', o, t, i), this.emit('complete', o) } if ( (this.options.uploadMultiple && (this.emit('successmultiple', e, t, i), this.emit('completemultiple', e)), this.options.autoProcessQueue) ) return this.processQueue() }, }, { key: '_errorProcessing', value: function (e, t, i) { for (var n = e, s = 0, n = n; ; ) { var r if (s >= n.length) break r = n[s++] var o = r ;(o.status = a.ERROR), this.emit('error', o, t, i), this.emit('complete', o) } if ( (this.options.uploadMultiple && (this.emit('errormultiple', e, t, i), this.emit('completemultiple', e)), this.options.autoProcessQueue) ) return this.processQueue() }, }, ], [ { key: 'uuidv4', value: function () { return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace( /[xy]/g, function (e) { var t = (16 * Math.random()) | 0 return ('x' === e ? t : (3 & t) | 8).toString(16) } ) }, }, ] ), a ) })(l) u.initClass(), (u.version = '5.5.1'), (u.options = {}), (u.optionsForElement = function (e) { return e.getAttribute('id') ? u.options[c(e.getAttribute('id'))] : void 0 }), (u.instances = []), (u.forElement = function (e) { if ( ('string' == typeof e && (e = document.querySelector(e)), null == (null != e ? e.dropzone : void 0)) ) throw new Error( "No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone." ) return e.dropzone }), (u.autoDiscover = !0), (u.discover = function () { var e = void 0 if (document.querySelectorAll) e = document.querySelectorAll('.dropzone') else { e = [] var t = function (t) { return (function () { for (var i = [], n = t, s = 0, n = n; ; ) { var r if (s >= n.length) break r = n[s++] var a = r ;/(^| )dropzone($| )/.test(a.className) ? i.push(e.push(a)) : i.push(void 0) } return i })() } t(document.getElementsByTagName('div')), t(document.getElementsByTagName('form')) } return (function () { for (var t = [], i = e, n = 0, i = i; ; ) { var s if (n >= i.length) break s = i[n++] var r = s !1 !== u.optionsForElement(r) ? t.push(new u(r)) : t.push(void 0) } return t })() }), (u.blacklistedBrowsers = [ /opera.*(Macintosh|Windows Phone).*version\/12/i, ]), (u.isBrowserSupported = function () { var e = !0 if ( window.File && window.FileReader && window.FileList && window.Blob && window.FormData && document.querySelector ) if ('classList' in document.createElement('a')) for (var t = u.blacklistedBrowsers, i = 0, t = t; ; ) { var n if (i >= t.length) break n = t[i++] var s = n s.test(navigator.userAgent) && (e = !1) } else e = !1 else e = !1 return e }), (u.dataURItoBlob = function (e) { for ( var t = atob(e.split(',')[1]), i = e.split(',')[0].split(':')[1].split(';')[0], n = new ArrayBuffer(t.length), s = new Uint8Array(n), r = 0, a = t.length, o = 0 <= a; o ? r <= a : r >= a; o ? r++ : r-- ) s[r] = t.charCodeAt(r) return new Blob([n], { type: i }) }) var d = function (e, t) { return e .filter(function (e) { return e !== t }) .map(function (e) { return e }) }, c = function (e) { return e.replace(/[\-_](\w)/g, function (e) { return e.charAt(1).toUpperCase() }) } ;(u.createElement = function (e) { var t = document.createElement('div') return (t.innerHTML = e), t.childNodes[0] }), (u.elementInside = function (e, t) { if (e === t) return !0 for (; (e = e.parentNode); ) if (e === t) return !0 return !1 }), (u.getElement = function (e, t) { var i = void 0 if ( ('string' == typeof e ? (i = document.querySelector(e)) : null != e.nodeType && (i = e), null == i) ) throw new Error( 'Invalid `' + t + '` option provided. Please provide a CSS selector or a plain HTML element.' ) return i }), (u.getElements = function (e, t) { var i = void 0, n = void 0 if (e instanceof Array) { n = [] try { for (var s = e, r = 0, s = s; !(r >= s.length); ) (i = s[r++]), n.push(this.getElement(i, t)) } catch (e) { n = null } } else if ('string' == typeof e) { n = [] for ( var a = document.querySelectorAll(e), o = 0, a = a; !(o >= a.length); ) (i = a[o++]), n.push(i) } else null != e.nodeType && (n = [e]) if (null == n || !n.length) throw new Error( 'Invalid `' + t + '` option provided. Please provide a CSS selector, a plain HTML element or a list of those.' ) return n }), (u.confirm = function (e, t, i) { return window.confirm(e) ? t() : null != i ? i() : void 0 }), (u.isValidFile = function (e, t) { if (!t) return !0 t = t.split(',') for ( var i = e.type, n = i.replace(/\/.*$/, ''), s = t, r = 0, s = s; ; ) { var a if (r >= s.length) break a = s[r++] var o = a if (((o = o.trim()), '.' === o.charAt(0))) { if ( -1 !== e.name .toLowerCase() .indexOf(o.toLowerCase(), e.name.length - o.length) ) return !0 } else if (/\/\*$/.test(o)) { if (n === o.replace(/\/.*$/, '')) return !0 } else if (i === o) return !0 } return !1 }), void 0 !== e && null !== e && (e.fn.dropzone = function (e) { return this.each(function () { return new u(this, e) }) }), void 0 !== a && null !== a ? (a.exports = u) : (window.Dropzone = u), (u.ADDED = 'added'), (u.QUEUED = 'queued'), (u.ACCEPTED = u.QUEUED), (u.UPLOADING = 'uploading'), (u.PROCESSING = u.UPLOADING), (u.CANCELED = 'canceled'), (u.ERROR = 'error'), (u.SUCCESS = 'success') var h = function (e) { var t = (e.naturalWidth, e.naturalHeight), i = document.createElement('canvas') ;(i.width = 1), (i.height = t) var n = i.getContext('2d') n.drawImage(e, 0, 0) for ( var s = n.getImageData(1, 0, 1, t), r = s.data, a = 0, o = t, l = t; l > a; ) { 0 === r[4 * (l - 1) + 3] ? (o = l) : (a = l), (l = (o + a) >> 1) } var u = l / t return 0 === u ? 1 : u }, p = function (e, t, i, n, s, r, a, o, l, u) { var d = h(t) return e.drawImage(t, i, n, s, r, a, o, l, u / d) }, f = (function () { function e() { n(this, e) } return ( o(e, null, [ { key: 'initClass', value: function () { this.KEY_STR = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=' }, }, { key: 'encode64', value: function (e) { for ( var t = '', i = void 0, n = void 0, s = '', r = void 0, a = void 0, o = void 0, l = '', u = 0; ; ) if ( ((i = e[u++]), (n = e[u++]), (s = e[u++]), (r = i >> 2), (a = ((3 & i) << 4) | (n >> 4)), (o = ((15 & n) << 2) | (s >> 6)), (l = 63 & s), isNaN(n) ? (o = l = 64) : isNaN(s) && (l = 64), (t = t + this.KEY_STR.charAt(r) + this.KEY_STR.charAt(a) + this.KEY_STR.charAt(o) + this.KEY_STR.charAt(l)), (i = n = s = ''), (r = a = o = l = ''), !(u < e.length)) ) break return t }, }, { key: 'restore', value: function (e, t) { if (!e.match('data:image/jpeg;base64,')) return t var i = this.decode64( e.replace('data:image/jpeg;base64,', '') ), n = this.slice2Segments(i), s = this.exifManipulation(t, n) return 'data:image/jpeg;base64,' + this.encode64(s) }, }, { key: 'exifManipulation', value: function (e, t) { var i = this.getExifArray(t), n = this.insertExif(e, i) return new Uint8Array(n) }, }, { key: 'getExifArray', value: function (e) { for (var t = void 0, i = 0; i < e.length; ) { if (((t = e[i]), (255 === t[0]) & (225 === t[1]))) return t i++ } return [] }, }, { key: 'insertExif', value: function (e, t) { var i = e.replace('data:image/jpeg;base64,', ''), n = this.decode64(i), s = n.indexOf(255, 3), r = n.slice(0, s), a = n.slice(s), o = r return (o = o.concat(t)), (o = o.concat(a)) }, }, { key: 'slice2Segments', value: function (e) { for (var t = 0, i = []; ; ) { var n if ((255 === e[t]) & (218 === e[t + 1])) break if ((255 === e[t]) & (216 === e[t + 1])) t += 2 else { n = 256 * e[t + 2] + e[t + 3] var s = t + n + 2, r = e.slice(t, s) i.push(r), (t = s) } if (t > e.length) break } return i }, }, { key: 'decode64', value: function (e) { var t = void 0, i = void 0, n = '', s = void 0, r = void 0, a = void 0, o = '', l = 0, u = [], d = /[^A-Za-z0-9\+\/\=]/g for ( d.exec(e) && console.warn( "There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding." ), e = e.replace(/[^A-Za-z0-9\+\/\=]/g, ''); ; ) if ( ((s = this.KEY_STR.indexOf(e.charAt(l++))), (r = this.KEY_STR.indexOf(e.charAt(l++))), (a = this.KEY_STR.indexOf(e.charAt(l++))), (o = this.KEY_STR.indexOf(e.charAt(l++))), (t = (s << 2) | (r >> 4)), (i = ((15 & r) << 4) | (a >> 2)), (n = ((3 & a) << 6) | o), u.push(t), 64 !== a && u.push(i), 64 !== o && u.push(n), (t = i = n = ''), (s = r = a = o = ''), !(l < e.length)) ) break return u }, }, ]), e ) })() f.initClass() ;(u._autoDiscoverFunction = function () { if (u.autoDiscover) return u.discover() }), (function (e, t) { var i = !1, n = !0, s = e.document, r = s.documentElement, a = s.addEventListener ? 'addEventListener' : 'attachEvent', o = s.addEventListener ? 'removeEventListener' : 'detachEvent', l = s.addEventListener ? '' : 'on', u = function n(r) { if ( 'readystatechange' !== r.type || 'complete' === s.readyState ) return ( ('load' === r.type ? e : s)[o](l + r.type, n, !1), !i && (i = !0) ? t.call(e, r.type || r) : void 0 ) } if ('complete' !== s.readyState) { if (s.createEventObject && r.doScroll) { try { n = !e.frameElement } catch (e) {} n && (function e() { try { r.doScroll('left') } catch (t) { return void setTimeout(e, 50) } return u('poll') })() } s[a](l + 'DOMContentLoaded', u, !1), s[a](l + 'readystatechange', u, !1), e[a](l + 'load', u, !1) } })(window, u._autoDiscoverFunction) }).call(window) }).call(t, i(41)) }, function (module, exports) { !(function (e) { function t(n) { if (i[n]) return i[n].exports var s = (i[n] = { i: n, l: !1, exports: {} }) return e[n].call(s.exports, s, s.exports, t), (s.l = !0), s.exports } var i = {} ;(t.m = e), (t.c = i), (t.d = function (e, i, n) { t.o(e, i) || Object.defineProperty(e, i, { configurable: !1, enumerable: !0, get: n, }) }), (t.n = function (e) { var i = e && e.__esModule ? function () { return e.default } : function () { return e } return t.d(i, 'a', i), i }), (t.o = function (e, t) { return Object.prototype.hasOwnProperty.call(e, t) }), (t.p = ''), t((t.s = 2)) })([ function (e, t, i) { ;(function (t) { e.exports = t.jQuery = i(4) }).call(t, i(1)) }, function (e, t) { var i i = (function () { return this })() try { i = i || Function('return this')() || (0, eval)('this') } catch (e) { 'object' == typeof window && (i = window) } e.exports = i }, function (e, t, i) { i(3), (e.exports = i(16)) }, function (module, __webpack_exports__, __webpack_require__) { 'use strict' Object.defineProperty(__webpack_exports__, '__esModule', { value: !0 }), function ($) { var __WEBPACK_IMPORTED_MODULE_0_tether__ = __webpack_require__(6), __WEBPACK_IMPORTED_MODULE_0_tether___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_tether__), __WEBPACK_IMPORTED_MODULE_1_bootstrap__ = __webpack_require__(9), __WEBPACK_IMPORTED_MODULE_1_bootstrap___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_bootstrap__), __WEBPACK_IMPORTED_MODULE_2_select2__ = __webpack_require__(11), __WEBPACK_IMPORTED_MODULE_2_select2___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_select2__), __WEBPACK_IMPORTED_MODULE_3_jquery_growl__ = __webpack_require__(12), __WEBPACK_IMPORTED_MODULE_3_jquery_growl___default = __webpack_require__.n( __WEBPACK_IMPORTED_MODULE_3_jquery_growl__ ), __WEBPACK_IMPORTED_MODULE_4_pstagger__ = __webpack_require__(13), __WEBPACK_IMPORTED_MODULE_4_pstagger___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_pstagger__), __WEBPACK_IMPORTED_MODULE_5__components_file_input_js__ = __webpack_require__(14) ;($.fn.pstooltip = $.fn.tooltip), (function (global, jQuery) { void 0 === global && 'undefined' != typeof window && (global = window) var initSelect2 = function () { jQuery('[data-toggle="select2"]').each(function () { var newObj = { minimumResultsForSearch: -1 } for (var attr in $(this).data()) attr.localeCompare('templateresult') ? attr.localeCompare('templateselection') ? attr.localeCompare('minimumresultsforsearch') ? attr.localeCompare('toggle') && (newObj[attr] = $(this).data()[attr]) : (newObj.minimumResultsForSearch = $(this).data()[attr]) : (newObj.templateSelection = eval( $(this).data()[attr] )) : (newObj.templateResult = eval($(this).data()[attr])) jQuery(this).select2(newObj) }) }, initToggleButtons = function () { jQuery('[data-toggle="switch"]').each(function () { var e = jQuery(this) if (void 0 == e.data('activated')) { e.data('activated', !0) var t = e.prop('checked') ? '-checked' : '' e.wrap('
    ') var i = e.parent() i.addClass(e.attr('class')), e.on('change', function () { i.toggleClass('-checked', e.prop('checked')) }), i.click(function (t) { if (t.srcElement == i[0] || void 0 == t.srcElement) return e.prop('checked', !e.prop('checked')), !1 }) } }) }, initAlerts = function () { jQuery('.alert-text').each(function () { var e = jQuery(this), t = e.height(), i = parseFloat(e.css('lineHeight')), n = t / i if (Math.ceil(n) > 5) { var s = e.html(), r = e.parent().attr('class') e.parent().addClass('alert-drop'), void 0 !== e.data('title') && '' !== e.data('title') ? e.html('' + e.data('title') + '') : e.html('Read More'), e.css('cursor', 'pointer'), e .parent() .after( '' ), jQuery('.alert-down-text').html(s) } }), $('.alert-drop').each(function () { var e = jQuery(this) e.click(function () { var t = e.css('border-radius') e.next('div').is(':hidden') ? (e.css('border-radius', '0'), e.css('border-bottom', 'none')) : (e.css('border-radius', t), e.css('border-bottom', '')), e.next('div').slideToggle(400) }) }) }, initToolTips = function () { jQuery('.tooltip-error').pstooltip({ template: '
    ', }), jQuery('[data-toggle="pstooltip"]').pstooltip(), jQuery('[data-toggle="popover"]').popover() }, initSearchBar = function () { $('.js-form-search').on('focusin', function () { $('.js-dropdown-form').hasClass('expanded') || $('.js-dropdown-form').addClass('expanded') }) } ;(global.prestaShopUiKit = { init: function () { jQuery(function () { ;(jQuery.propHooks.checked = { set: function (e, t, i) { var n = (e[i] = t) return $(e).trigger('change'), n }, }), jQuery.fn.select2.defaults.set('theme', 'bootstrap'), jQuery.fn.select2.defaults.set('width', 'auto'), initSelect2(), initToggleButtons(), initAlerts(), initToolTips(), initSearchBar(), Object( __WEBPACK_IMPORTED_MODULE_5__components_file_input_js__.a )() }) }, initSelects: function () { initSelect2() }, initToolTips: function () { initToolTips() }, }), global.prestaShopUiKit.init() })('undefined' != typeof window ? window : this, $), $(function () { var e = function (e, t) { var i = {} for (var n in t) e.hasOwnProperty(n) ? (i[n] = e[n]) : (i[n] = t[n]) return i } $.fn.psdwl = function (t) { var i = null, n = { hover: 'install', validate: 'check', text: 'default', time: 3e3, default: !0, }, s = this if (((i = e(t, n)), i.default)) { var r = s.attr('class').replace(/(btn-\w+)/, '$1-reverse') s.attr('class', r) } void 0 !== $(s.selector).html() && '' !== $(s.selector).html() && (i.text = $(s.selector).text()), s.html(i.hover) var a = this.css('width') s.html(i.text) var o = this.css('width'), l = parseInt(o, 10) < parseInt(a, 10) ? a : o ;(l = parseInt(l, 10) < 95 ? '95px' : l), s.css('width', l), s.hover( function () { s.html(i.hover) }, function () { s.html(i.text) } ), s.click(function () { s.css('border-left-color', s.css('border-color')), s.addClass('onclick'), s .unbind('mouseenter') .unbind('mouseleave') .unbind('click') var e = parseInt(l, 10) s.css({ width: '', 'margin-left': e / 4, 'margin-right': e / 4, }), setTimeout(function () { if ( (s.removeClass('onclick'), s.css({ 'margin-left': '', 'margin-right': '', width: l, 'border-left-color': '', }), s.html(i.validate), i.default) ) { var e = s.attr('class').replace('-reverse', '') s.attr('class', e) } }, i.time) }) } }) }.call(__webpack_exports__, __webpack_require__(0)) }, function (e, t, i) { ;(function (t) { e.exports = t.$ = i(5) }).call(t, i(1)) }, function (e, t, i) { var n, s !(function (t, i) { 'use strict' 'object' == typeof e && 'object' == typeof e.exports ? (e.exports = t.document ? i(t, !0) : function (e) { if (!e.document) throw new Error( 'jQuery requires a window with a document' ) return i(e) }) : i(t) })('undefined' != typeof window ? window : this, function (i, r) { 'use strict' function a(e, t, i) { t = t || de var n, s = t.createElement('script') if (((s.text = e), i)) for (n in Le) i[n] && (s[n] = i[n]) t.head.appendChild(s).parentNode.removeChild(s) } function o(e) { return null == e ? e + '' : 'object' == typeof e || 'function' == typeof e ? _e[ge.call(e)] || 'object' : typeof e } function l(e) { var t = !!e && 'length' in e && e.length, i = o(e) return ( !Me(e) && !ke(e) && ('array' === i || 0 === t || ('number' == typeof t && t > 0 && t - 1 in e)) ) } function u(e, t) { return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase() } function d(e, t, i) { return Me(t) ? De.grep(e, function (e, n) { return !!t.call(e, n, e) !== i }) : t.nodeType ? De.grep(e, function (e) { return (e === t) !== i }) : 'string' != typeof t ? De.grep(e, function (e) { return me.call(t, e) > -1 !== i }) : De.filter(t, e, i) } function c(e, t) { for (; (e = e[t]) && 1 !== e.nodeType; ); return e } function h(e) { var t = {} return ( De.each(e.match(Ie) || [], function (e, i) { t[i] = !0 }), t ) } function p(e) { return e } function f(e) { throw e } function m(e, t, i, n) { var s try { e && Me((s = e.promise)) ? s.call(e).done(t).fail(i) : e && Me((s = e.then)) ? s.call(e, t, i) : t.apply(void 0, [e].slice(n)) } catch (e) { i.apply(void 0, [e]) } } function _() { de.removeEventListener('DOMContentLoaded', _), i.removeEventListener('load', _), De.ready() } function g(e, t) { return t.toUpperCase() } function v(e) { return e.replace(Fe, 'ms-').replace(ze, g) } function y() { this.expando = De.expando + y.uid++ } function b(e) { return ( 'true' === e || ('false' !== e && ('null' === e ? null : e === +e + '' ? +e : Ue.test(e) ? JSON.parse(e) : e)) ) } function w(e, t, i) { var n if (void 0 === i && 1 === e.nodeType) if ( ((n = 'data-' + t.replace(qe, '-$&').toLowerCase()), 'string' == typeof (i = e.getAttribute(n))) ) { try { i = b(i) } catch (e) {} Be.set(e, t, i) } else i = void 0 return i } function M(e, t, i, n) { var s, r, a = 20, o = n ? function () { return n.cur() } : function () { return De.css(e, t, '') }, l = o(), u = (i && i[3]) || (De.cssNumber[t] ? '' : 'px'), d = (De.cssNumber[t] || ('px' !== u && +l)) && Ve.exec(De.css(e, t)) if (d && d[3] !== u) { for (l /= 2, u = u || d[3], d = +l || 1; a--; ) De.style(e, t, d + u), (1 - r) * (1 - (r = o() / l || 0.5)) <= 0 && (a = 0), (d /= r) ;(d *= 2), De.style(e, t, d + u), (i = i || []) } return ( i && ((d = +d || +l || 0), (s = i[1] ? d + (i[1] + 1) * i[2] : +i[2]), n && ((n.unit = u), (n.start = d), (n.end = s))), s ) } function k(e) { var t, i = e.ownerDocument, n = e.nodeName, s = Qe[n] return ( s || ((t = i.body.appendChild(i.createElement(n))), (s = De.css(t, 'display')), t.parentNode.removeChild(t), 'none' === s && (s = 'block'), (Qe[n] = s), s) ) } function L(e, t) { for (var i, n, s = [], r = 0, a = e.length; r < a; r++) (n = e[r]), n.style && ((i = n.style.display), t ? ('none' === i && ((s[r] = $e.get(n, 'display') || null), s[r] || (n.style.display = '')), '' === n.style.display && Je(n) && (s[r] = k(n))) : 'none' !== i && ((s[r] = 'none'), $e.set(n, 'display', i))) for (r = 0; r < a; r++) null != s[r] && (e[r].style.display = s[r]) return e } function D(e, t) { var i return ( (i = void 0 !== e.getElementsByTagName ? e.getElementsByTagName(t || '*') : void 0 !== e.querySelectorAll ? e.querySelectorAll(t || '*') : []), void 0 === t || (t && u(e, t)) ? De.merge([e], i) : i ) } function T(e, t) { for (var i = 0, n = e.length; i < n; i++) $e.set(e[i], 'globalEval', !t || $e.get(t[i], 'globalEval')) } function Y(e, t, i, n, s) { for ( var r, a, l, u, d, c, h = t.createDocumentFragment(), p = [], f = 0, m = e.length; f < m; f++ ) if ((r = e[f]) || 0 === r) if ('object' === o(r)) De.merge(p, r.nodeType ? [r] : r) else if (nt.test(r)) { for ( a = a || h.appendChild(t.createElement('div')), l = (et.exec(r) || ['', ''])[1].toLowerCase(), u = it[l] || it._default, a.innerHTML = u[1] + De.htmlPrefilter(r) + u[2], c = u[0]; c--; ) a = a.lastChild De.merge(p, a.childNodes), (a = h.firstChild), (a.textContent = '') } else p.push(t.createTextNode(r)) for (h.textContent = '', f = 0; (r = p[f++]); ) if (n && De.inArray(r, n) > -1) s && s.push(r) else if ( ((d = De.contains(r.ownerDocument, r)), (a = D(h.appendChild(r), 'script')), d && T(a), i) ) for (c = 0; (r = a[c++]); ) tt.test(r.type || '') && i.push(r) return h } function x() { return !0 } function C() { return !1 } function S() { try { return de.activeElement } catch (e) {} } function E(e, t, i, n, s, r) { var a, o if ('object' == typeof t) { 'string' != typeof i && ((n = n || i), (i = void 0)) for (o in t) E(e, o, i, n, t[o], r) return e } if ( (null == n && null == s ? ((s = i), (n = i = void 0)) : null == s && ('string' == typeof i ? ((s = n), (n = void 0)) : ((s = n), (n = i), (i = void 0))), !1 === s) ) s = C else if (!s) return e return ( 1 === r && ((a = s), (s = function (e) { return De().off(e), a.apply(this, arguments) }), (s.guid = a.guid || (a.guid = De.guid++))), e.each(function () { De.event.add(this, t, s, n, i) }) ) } function H(e, t) { return u(e, 'table') && u(11 !== t.nodeType ? t : t.firstChild, 'tr') ? De(e).children('tbody')[0] || e : e } function A(e) { return ( (e.type = (null !== e.getAttribute('type')) + '/' + e.type), e ) } function O(e) { return ( 'true/' === (e.type || '').slice(0, 5) ? (e.type = e.type.slice(5)) : e.removeAttribute('type'), e ) } function P(e, t) { var i, n, s, r, a, o, l, u if (1 === t.nodeType) { if ( $e.hasData(e) && ((r = $e.access(e)), (a = $e.set(t, r)), (u = r.events)) ) { delete a.handle, (a.events = {}) for (s in u) for (i = 0, n = u[s].length; i < n; i++) De.event.add(t, s, u[s][i]) } Be.hasData(e) && ((o = Be.access(e)), (l = De.extend({}, o)), Be.set(t, l)) } } function I(e, t) { var i = t.nodeName.toLowerCase() 'input' === i && Ze.test(e.type) ? (t.checked = e.checked) : ('input' !== i && 'textarea' !== i) || (t.defaultValue = e.defaultValue) } function j(e, t, i, n) { t = pe.apply([], t) var s, r, o, l, u, d, c = 0, h = e.length, p = h - 1, f = t[0], m = Me(f) if ( m || (h > 1 && 'string' == typeof f && !we.checkClone && dt.test(f)) ) return e.each(function (s) { var r = e.eq(s) m && (t[0] = f.call(this, s, r.html())), j(r, t, i, n) }) if ( h && ((s = Y(t, e[0].ownerDocument, !1, e, n)), (r = s.firstChild), 1 === s.childNodes.length && (s = r), r || n) ) { for (o = De.map(D(s, 'script'), A), l = o.length; c < h; c++) (u = s), c !== p && ((u = De.clone(u, !0, !0)), l && De.merge(o, D(u, 'script'))), i.call(e[c], u, c) if (l) for ( d = o[o.length - 1].ownerDocument, De.map(o, O), c = 0; c < l; c++ ) (u = o[c]), tt.test(u.type || '') && !$e.access(u, 'globalEval') && De.contains(d, u) && (u.src && 'module' !== (u.type || '').toLowerCase() ? De._evalUrl && De._evalUrl(u.src) : a(u.textContent.replace(ct, ''), d, u)) } return e } function W(e, t, i) { for ( var n, s = t ? De.filter(t, e) : e, r = 0; null != (n = s[r]); r++ ) i || 1 !== n.nodeType || De.cleanData(D(n)), n.parentNode && (i && De.contains(n.ownerDocument, n) && T(D(n, 'script')), n.parentNode.removeChild(n)) return e } function N(e, t, i) { var n, s, r, a, o = e.style return ( (i = i || pt(e)), i && ((a = i.getPropertyValue(t) || i[t]), '' !== a || De.contains(e.ownerDocument, e) || (a = De.style(e, t)), !we.pixelBoxStyles() && ht.test(a) && ft.test(t) && ((n = o.width), (s = o.minWidth), (r = o.maxWidth), (o.minWidth = o.maxWidth = o.width = a), (a = i.width), (o.width = n), (o.minWidth = s), (o.maxWidth = r))), void 0 !== a ? a + '' : a ) } function F(e, t) { return { get: function () { return e() ? void delete this.get : (this.get = t).apply(this, arguments) }, } } function z(e) { if (e in bt) return e for (var t = e[0].toUpperCase() + e.slice(1), i = yt.length; i--; ) if ((e = yt[i] + t) in bt) return e } function R(e) { var t = De.cssProps[e] return t || (t = De.cssProps[e] = z(e) || e), t } function $(e, t, i) { var n = Ve.exec(t) return n ? Math.max(0, n[2] - (i || 0)) + (n[3] || 'px') : t } function B(e, t, i, n, s, r) { var a = 'width' === t ? 1 : 0, o = 0, l = 0 if (i === (n ? 'border' : 'content')) return 0 for (; a < 4; a += 2) 'margin' === i && (l += De.css(e, i + Ge[a], !0, s)), n ? ('content' === i && (l -= De.css(e, 'padding' + Ge[a], !0, s)), 'margin' !== i && (l -= De.css(e, 'border' + Ge[a] + 'Width', !0, s))) : ((l += De.css(e, 'padding' + Ge[a], !0, s)), 'padding' !== i ? (l += De.css(e, 'border' + Ge[a] + 'Width', !0, s)) : (o += De.css(e, 'border' + Ge[a] + 'Width', !0, s))) return ( !n && r >= 0 && (l += Math.max( 0, Math.ceil( e['offset' + t[0].toUpperCase() + t.slice(1)] - r - l - o - 0.5 ) )), l ) } function U(e, t, i) { var n = pt(e), s = N(e, t, n), r = 'border-box' === De.css(e, 'boxSizing', !1, n), a = r if (ht.test(s)) { if (!i) return s s = 'auto' } return ( (a = a && (we.boxSizingReliable() || s === e.style[t])), ('auto' === s || (!parseFloat(s) && 'inline' === De.css(e, 'display', !1, n))) && ((s = e['offset' + t[0].toUpperCase() + t.slice(1)]), (a = !0)), (s = parseFloat(s) || 0) + B(e, t, i || (r ? 'border' : 'content'), a, n, s) + 'px' ) } function q(e, t, i, n, s) { return new q.prototype.init(e, t, i, n, s) } function K() { Mt && (!1 === de.hidden && i.requestAnimationFrame ? i.requestAnimationFrame(K) : i.setTimeout(K, De.fx.interval), De.fx.tick()) } function V() { return ( i.setTimeout(function () { wt = void 0 }), (wt = Date.now()) ) } function G(e, t) { var i, n = 0, s = { height: e } for (t = t ? 1 : 0; n < 4; n += 2 - t) (i = Ge[n]), (s['margin' + i] = s['padding' + i] = e) return t && (s.opacity = s.width = e), s } function J(e, t, i) { for ( var n, s = (Z.tweeners[t] || []).concat(Z.tweeners['*']), r = 0, a = s.length; r < a; r++ ) if ((n = s[r].call(i, t, e))) return n } function X(e, t, i) { var n, s, r, a, o, l, u, d, c = 'width' in t || 'height' in t, h = this, p = {}, f = e.style, m = e.nodeType && Je(e), _ = $e.get(e, 'fxshow') i.queue || ((a = De._queueHooks(e, 'fx')), null == a.unqueued && ((a.unqueued = 0), (o = a.empty.fire), (a.empty.fire = function () { a.unqueued || o() })), a.unqueued++, h.always(function () { h.always(function () { a.unqueued--, De.queue(e, 'fx').length || a.empty.fire() }) })) for (n in t) if (((s = t[n]), kt.test(s))) { if ( (delete t[n], (r = r || 'toggle' === s), s === (m ? 'hide' : 'show')) ) { if ('show' !== s || !_ || void 0 === _[n]) continue m = !0 } p[n] = (_ && _[n]) || De.style(e, n) } if ((l = !De.isEmptyObject(t)) || !De.isEmptyObject(p)) { c && 1 === e.nodeType && ((i.overflow = [f.overflow, f.overflowX, f.overflowY]), (u = _ && _.display), null == u && (u = $e.get(e, 'display')), (d = De.css(e, 'display')), 'none' === d && (u ? (d = u) : (L([e], !0), (u = e.style.display || u), (d = De.css(e, 'display')), L([e]))), ('inline' === d || ('inline-block' === d && null != u)) && 'none' === De.css(e, 'float') && (l || (h.done(function () { f.display = u }), null == u && ((d = f.display), (u = 'none' === d ? '' : d))), (f.display = 'inline-block'))), i.overflow && ((f.overflow = 'hidden'), h.always(function () { ;(f.overflow = i.overflow[0]), (f.overflowX = i.overflow[1]), (f.overflowY = i.overflow[2]) })), (l = !1) for (n in p) l || (_ ? 'hidden' in _ && (m = _.hidden) : (_ = $e.access(e, 'fxshow', { display: u })), r && (_.hidden = !m), m && L([e], !0), h.done(function () { m || L([e]), $e.remove(e, 'fxshow') for (n in p) De.style(e, n, p[n]) })), (l = J(m ? _[n] : 0, n, h)), n in _ || ((_[n] = l.start), m && ((l.end = l.start), (l.start = 0))) } } function Q(e, t) { var i, n, s, r, a for (i in e) if ( ((n = v(i)), (s = t[n]), (r = e[i]), Array.isArray(r) && ((s = r[1]), (r = e[i] = r[0])), i !== n && ((e[n] = r), delete e[i]), (a = De.cssHooks[n]) && 'expand' in a) ) { ;(r = a.expand(r)), delete e[n] for (i in r) i in e || ((e[i] = r[i]), (t[i] = s)) } else t[n] = s } function Z(e, t, i) { var n, s, r = 0, a = Z.prefilters.length, o = De.Deferred().always(function () { delete l.elem }), l = function () { if (s) return !1 for ( var t = wt || V(), i = Math.max(0, u.startTime + u.duration - t), n = i / u.duration || 0, r = 1 - n, a = 0, l = u.tweens.length; a < l; a++ ) u.tweens[a].run(r) return ( o.notifyWith(e, [u, r, i]), r < 1 && l ? i : (l || o.notifyWith(e, [u, 1, 0]), o.resolveWith(e, [u]), !1) ) }, u = o.promise({ elem: e, props: De.extend({}, t), opts: De.extend( !0, { specialEasing: {}, easing: De.easing._default }, i ), originalProperties: t, originalOptions: i, startTime: wt || V(), duration: i.duration, tweens: [], createTween: function (t, i) { var n = De.Tween( e, u.opts, t, i, u.opts.specialEasing[t] || u.opts.easing ) return u.tweens.push(n), n }, stop: function (t) { var i = 0, n = t ? u.tweens.length : 0 if (s) return this for (s = !0; i < n; i++) u.tweens[i].run(1) return ( t ? (o.notifyWith(e, [u, 1, 0]), o.resolveWith(e, [u, t])) : o.rejectWith(e, [u, t]), this ) }, }), d = u.props for (Q(d, u.opts.specialEasing); r < a; r++) if ((n = Z.prefilters[r].call(u, e, d, u.opts))) return ( Me(n.stop) && (De._queueHooks(u.elem, u.opts.queue).stop = n.stop.bind(n)), n ) return ( De.map(d, J, u), Me(u.opts.start) && u.opts.start.call(e, u), u .progress(u.opts.progress) .done(u.opts.done, u.opts.complete) .fail(u.opts.fail) .always(u.opts.always), De.fx.timer( De.extend(l, { elem: e, anim: u, queue: u.opts.queue }) ), u ) } function ee(e) { return (e.match(Ie) || []).join(' ') } function te(e) { return (e.getAttribute && e.getAttribute('class')) || '' } function ie(e) { return Array.isArray(e) ? e : 'string' == typeof e ? e.match(Ie) || [] : [] } function ne(e, t, i, n) { var s if (Array.isArray(t)) De.each(t, function (t, s) { i || Pt.test(e) ? n(e, s) : ne( e + '[' + ('object' == typeof s && null != s ? t : '') + ']', s, i, n ) }) else if (i || 'object' !== o(t)) n(e, t) else for (s in t) ne(e + '[' + s + ']', t[s], i, n) } function se(e) { return function (t, i) { 'string' != typeof t && ((i = t), (t = '*')) var n, s = 0, r = t.toLowerCase().match(Ie) || [] if (Me(i)) for (; (n = r[s++]); ) '+' === n[0] ? ((n = n.slice(1) || '*'), (e[n] = e[n] || []).unshift(i)) : (e[n] = e[n] || []).push(i) } } function re(e, t, i, n) { function s(o) { var l return ( (r[o] = !0), De.each(e[o] || [], function (e, o) { var u = o(t, i, n) return 'string' != typeof u || a || r[u] ? a ? !(l = u) : void 0 : (t.dataTypes.unshift(u), s(u), !1) }), l ) } var r = {}, a = e === Kt return s(t.dataTypes[0]) || (!r['*'] && s('*')) } function ae(e, t) { var i, n, s = De.ajaxSettings.flatOptions || {} for (i in t) void 0 !== t[i] && ((s[i] ? e : n || (n = {}))[i] = t[i]) return n && De.extend(!0, e, n), e } function oe(e, t, i) { for ( var n, s, r, a, o = e.contents, l = e.dataTypes; '*' === l[0]; ) l.shift(), void 0 === n && (n = e.mimeType || t.getResponseHeader('Content-Type')) if (n) for (s in o) if (o[s] && o[s].test(n)) { l.unshift(s) break } if (l[0] in i) r = l[0] else { for (s in i) { if (!l[0] || e.converters[s + ' ' + l[0]]) { r = s break } a || (a = s) } r = r || a } if (r) return r !== l[0] && l.unshift(r), i[r] } function le(e, t, i, n) { var s, r, a, o, l, u = {}, d = e.dataTypes.slice() if (d[1]) for (a in e.converters) u[a.toLowerCase()] = e.converters[a] for (r = d.shift(); r; ) if ( (e.responseFields[r] && (i[e.responseFields[r]] = t), !l && n && e.dataFilter && (t = e.dataFilter(t, e.dataType)), (l = r), (r = d.shift())) ) if ('*' === r) r = l else if ('*' !== l && l !== r) { if (!(a = u[l + ' ' + r] || u['* ' + r])) for (s in u) if ( ((o = s.split(' ')), o[1] === r && (a = u[l + ' ' + o[0]] || u['* ' + o[0]])) ) { !0 === a ? (a = u[s]) : !0 !== u[s] && ((r = o[0]), d.unshift(o[1])) break } if (!0 !== a) if (a && e.throws) t = a(t) else try { t = a(t) } catch (e) { return { state: 'parsererror', error: a ? e : 'No conversion from ' + l + ' to ' + r, } } } return { state: 'success', data: t } } var ue = [], de = i.document, ce = Object.getPrototypeOf, he = ue.slice, pe = ue.concat, fe = ue.push, me = ue.indexOf, _e = {}, ge = _e.toString, ve = _e.hasOwnProperty, ye = ve.toString, be = ye.call(Object), we = {}, Me = function (e) { return 'function' == typeof e && 'number' != typeof e.nodeType }, ke = function (e) { return null != e && e === e.window }, Le = { type: !0, src: !0, noModule: !0 }, De = function (e, t) { return new De.fn.init(e, t) }, Te = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g ;(De.fn = De.prototype = { jquery: '3.3.1', constructor: De, length: 0, toArray: function () { return he.call(this) }, get: function (e) { return null == e ? he.call(this) : e < 0 ? this[e + this.length] : this[e] }, pushStack: function (e) { var t = De.merge(this.constructor(), e) return (t.prevObject = this), t }, each: function (e) { return De.each(this, e) }, map: function (e) { return this.pushStack( De.map(this, function (t, i) { return e.call(t, i, t) }) ) }, slice: function () { return this.pushStack(he.apply(this, arguments)) }, first: function () { return this.eq(0) }, last: function () { return this.eq(-1) }, eq: function (e) { var t = this.length, i = +e + (e < 0 ? t : 0) return this.pushStack(i >= 0 && i < t ? [this[i]] : []) }, end: function () { return this.prevObject || this.constructor() }, push: fe, sort: ue.sort, splice: ue.splice, }), (De.extend = De.fn.extend = function () { var e, t, i, n, s, r, a = arguments[0] || {}, o = 1, l = arguments.length, u = !1 for ( 'boolean' == typeof a && ((u = a), (a = arguments[o] || {}), o++), 'object' == typeof a || Me(a) || (a = {}), o === l && ((a = this), o--); o < l; o++ ) if (null != (e = arguments[o])) for (t in e) (i = a[t]), (n = e[t]), a !== n && (u && n && (De.isPlainObject(n) || (s = Array.isArray(n))) ? (s ? ((s = !1), (r = i && Array.isArray(i) ? i : [])) : (r = i && De.isPlainObject(i) ? i : {}), (a[t] = De.extend(u, r, n))) : void 0 !== n && (a[t] = n)) return a }), De.extend({ expando: 'jQuery' + ('3.3.1' + Math.random()).replace(/\D/g, ''), isReady: !0, error: function (e) { throw new Error(e) }, noop: function () {}, isPlainObject: function (e) { var t, i return !( !e || '[object Object]' !== ge.call(e) || ((t = ce(e)) && ('function' != typeof (i = ve.call(t, 'constructor') && t.constructor) || ye.call(i) !== be)) ) }, isEmptyObject: function (e) { var t for (t in e) return !1 return !0 }, globalEval: function (e) { a(e) }, each: function (e, t) { var i, n = 0 if (l(e)) for ( i = e.length; n < i && !1 !== t.call(e[n], n, e[n]); n++ ); else for (n in e) if (!1 === t.call(e[n], n, e[n])) break return e }, trim: function (e) { return null == e ? '' : (e + '').replace(Te, '') }, makeArray: function (e, t) { var i = t || [] return ( null != e && (l(Object(e)) ? De.merge(i, 'string' == typeof e ? [e] : e) : fe.call(i, e)), i ) }, inArray: function (e, t, i) { return null == t ? -1 : me.call(t, e, i) }, merge: function (e, t) { for (var i = +t.length, n = 0, s = e.length; n < i; n++) e[s++] = t[n] return (e.length = s), e }, grep: function (e, t, i) { for (var n = [], s = 0, r = e.length, a = !i; s < r; s++) !t(e[s], s) !== a && n.push(e[s]) return n }, map: function (e, t, i) { var n, s, r = 0, a = [] if (l(e)) for (n = e.length; r < n; r++) null != (s = t(e[r], r, i)) && a.push(s) else for (r in e) null != (s = t(e[r], r, i)) && a.push(s) return pe.apply([], a) }, guid: 1, support: we, }), 'function' == typeof Symbol && (De.fn[Symbol.iterator] = ue[Symbol.iterator]), De.each( 'Boolean Number String Function Array Date RegExp Object Error Symbol'.split( ' ' ), function (e, t) { _e['[object ' + t + ']'] = t.toLowerCase() } ) var Ye = (function (e) { function t(e, t, i, n) { var s, r, a, o, l, d, h, p = t && t.ownerDocument, f = t ? t.nodeType : 9 if ( ((i = i || []), 'string' != typeof e || !e || (1 !== f && 9 !== f && 11 !== f)) ) return i if ( !n && ((t ? t.ownerDocument || t : N) !== E && S(t), (t = t || E), A) ) { if (11 !== f && (l = me.exec(e))) if ((s = l[1])) { if (9 === f) { if (!(a = t.getElementById(s))) return i if (a.id === s) return i.push(a), i } else if ( p && (a = p.getElementById(s)) && j(t, a) && a.id === s ) return i.push(a), i } else { if (l[2]) return J.apply(i, t.getElementsByTagName(e)), i if ( (s = l[3]) && b.getElementsByClassName && t.getElementsByClassName ) return J.apply(i, t.getElementsByClassName(s)), i } if (b.qsa && !B[e + ' '] && (!O || !O.test(e))) { if (1 !== f) (p = t), (h = e) else if ('object' !== t.nodeName.toLowerCase()) { for ( (o = t.getAttribute('id')) ? (o = o.replace(ye, be)) : t.setAttribute('id', (o = W)), d = L(e), r = d.length; r--; ) d[r] = '#' + o + ' ' + c(d[r]) ;(h = d.join(',')), (p = (_e.test(e) && u(t.parentNode)) || t) } if (h) try { return J.apply(i, p.querySelectorAll(h)), i } catch (e) { } finally { o === W && t.removeAttribute('id') } } } return T(e.replace(re, '$1'), t, i, n) } function i() { function e(i, n) { return ( t.push(i + ' ') > w.cacheLength && delete e[t.shift()], (e[i + ' '] = n) ) } var t = [] return e } function n(e) { return (e[W] = !0), e } function s(e) { var t = E.createElement('fieldset') try { return !!e(t) } catch (e) { return !1 } finally { t.parentNode && t.parentNode.removeChild(t), (t = null) } } function r(e, t) { for (var i = e.split('|'), n = i.length; n--; ) w.attrHandle[i[n]] = t } function a(e, t) { var i = t && e, n = i && 1 === e.nodeType && 1 === t.nodeType && e.sourceIndex - t.sourceIndex if (n) return n if (i) for (; (i = i.nextSibling); ) if (i === t) return -1 return e ? 1 : -1 } function o(e) { return function (t) { return 'form' in t ? t.parentNode && !1 === t.disabled ? 'label' in t ? 'label' in t.parentNode ? t.parentNode.disabled === e : t.disabled === e : t.isDisabled === e || (t.isDisabled !== !e && Me(t) === e) : t.disabled === e : 'label' in t && t.disabled === e } } function l(e) { return n(function (t) { return ( (t = +t), n(function (i, n) { for (var s, r = e([], i.length, t), a = r.length; a--; ) i[(s = r[a])] && (i[s] = !(n[s] = i[s])) }) ) }) } function u(e) { return e && void 0 !== e.getElementsByTagName && e } function d() {} function c(e) { for (var t = 0, i = e.length, n = ''; t < i; t++) n += e[t].value return n } function h(e, t, i) { var n = t.dir, s = t.next, r = s || n, a = i && 'parentNode' === r, o = z++ return t.first ? function (t, i, s) { for (; (t = t[n]); ) if (1 === t.nodeType || a) return e(t, i, s) return !1 } : function (t, i, l) { var u, d, c, h = [F, o] if (l) { for (; (t = t[n]); ) if ((1 === t.nodeType || a) && e(t, i, l)) return !0 } else for (; (t = t[n]); ) if (1 === t.nodeType || a) if ( ((c = t[W] || (t[W] = {})), (d = c[t.uniqueID] || (c[t.uniqueID] = {})), s && s === t.nodeName.toLowerCase()) ) t = t[n] || t else { if ((u = d[r]) && u[0] === F && u[1] === o) return (h[2] = u[2]) if (((d[r] = h), (h[2] = e(t, i, l)))) return !0 } return !1 } } function p(e) { return e.length > 1 ? function (t, i, n) { for (var s = e.length; s--; ) if (!e[s](t, i, n)) return !1 return !0 } : e[0] } function f(e, i, n) { for (var s = 0, r = i.length; s < r; s++) t(e, i[s], n) return n } function m(e, t, i, n, s) { for ( var r, a = [], o = 0, l = e.length, u = null != t; o < l; o++ ) (r = e[o]) && ((i && !i(r, n, s)) || (a.push(r), u && t.push(o))) return a } function _(e, t, i, s, r, a) { return ( s && !s[W] && (s = _(s)), r && !r[W] && (r = _(r, a)), n(function (n, a, o, l) { var u, d, c, h = [], p = [], _ = a.length, g = n || f(t || '*', o.nodeType ? [o] : o, []), v = !e || (!n && t) ? g : m(g, h, e, o, l), y = i ? (r || (n ? e : _ || s) ? [] : a) : v if ((i && i(v, y, o, l), s)) for (u = m(y, p), s(u, [], o, l), d = u.length; d--; ) (c = u[d]) && (y[p[d]] = !(v[p[d]] = c)) if (n) { if (r || e) { if (r) { for (u = [], d = y.length; d--; ) (c = y[d]) && u.push((v[d] = c)) r(null, (y = []), u, l) } for (d = y.length; d--; ) (c = y[d]) && (u = r ? Q(n, c) : h[d]) > -1 && (n[u] = !(a[u] = c)) } } else (y = m(y === a ? y.splice(_, y.length) : y)), r ? r(null, a, y, l) : J.apply(a, y) }) ) } function g(e) { for ( var t, i, n, s = e.length, r = w.relative[e[0].type], a = r || w.relative[' '], o = r ? 1 : 0, l = h( function (e) { return e === t }, a, !0 ), u = h( function (e) { return Q(t, e) > -1 }, a, !0 ), d = [ function (e, i, n) { var s = (!r && (n || i !== Y)) || ((t = i).nodeType ? l(e, i, n) : u(e, i, n)) return (t = null), s }, ]; o < s; o++ ) if ((i = w.relative[e[o].type])) d = [h(p(d), i)] else { if ( ((i = w.filter[e[o].type].apply(null, e[o].matches)), i[W]) ) { for (n = ++o; n < s && !w.relative[e[n].type]; n++); return _( o > 1 && p(d), o > 1 && c( e .slice(0, o - 1) .concat({ value: ' ' === e[o - 2].type ? '*' : '' }) ).replace(re, '$1'), i, o < n && g(e.slice(o, n)), n < s && g((e = e.slice(n))), n < s && c(e) ) } d.push(i) } return p(d) } function v(e, i) { var s = i.length > 0, r = e.length > 0, a = function (n, a, o, l, u) { var d, c, h, p = 0, f = '0', _ = n && [], g = [], v = Y, y = n || (r && w.find.TAG('*', u)), b = (F += null == v ? 1 : Math.random() || 0.1), M = y.length for ( u && (Y = a === E || a || u); f !== M && null != (d = y[f]); f++ ) { if (r && d) { for ( c = 0, a || d.ownerDocument === E || (S(d), (o = !A)); (h = e[c++]); ) if (h(d, a || E, o)) { l.push(d) break } u && (F = b) } s && ((d = !h && d) && p--, n && _.push(d)) } if (((p += f), s && f !== p)) { for (c = 0; (h = i[c++]); ) h(_, g, a, o) if (n) { if (p > 0) for (; f--; ) _[f] || g[f] || (g[f] = V.call(l)) g = m(g) } J.apply(l, g), u && !n && g.length > 0 && p + i.length > 1 && t.uniqueSort(l) } return u && ((F = b), (Y = v)), _ } return s ? n(a) : a } var y, b, w, M, k, L, D, T, Y, x, C, S, E, H, A, O, P, I, j, W = 'sizzle' + 1 * new Date(), N = e.document, F = 0, z = 0, R = i(), $ = i(), B = i(), U = function (e, t) { return e === t && (C = !0), 0 }, q = {}.hasOwnProperty, K = [], V = K.pop, G = K.push, J = K.push, X = K.slice, Q = function (e, t) { for (var i = 0, n = e.length; i < n; i++) if (e[i] === t) return i return -1 }, Z = 'checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped', ee = '[\\x20\\t\\r\\n\\f]', te = '(?:\\\\.|[\\w-]|[^\0-\\xa0])+', ie = '\\[' + ee + '*(' + te + ')(?:' + ee + '*([*^$|!~]?=)' + ee + '*(?:\'((?:\\\\.|[^\\\\\'])*)\'|"((?:\\\\.|[^\\\\"])*)"|(' + te + '))|)' + ee + '*\\]', ne = ':(' + te + ')(?:\\(((\'((?:\\\\.|[^\\\\\'])*)\'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|' + ie + ')*)|.*)\\)|)', se = new RegExp(ee + '+', 'g'), re = new RegExp( '^' + ee + '+|((?:^|[^\\\\])(?:\\\\.)*)' + ee + '+$', 'g' ), ae = new RegExp('^' + ee + '*,' + ee + '*'), oe = new RegExp('^' + ee + '*([>+~]|' + ee + ')' + ee + '*'), le = new RegExp('=' + ee + '*([^\\]\'"]*?)' + ee + '*\\]', 'g'), ue = new RegExp(ne), de = new RegExp('^' + te + '$'), ce = { ID: new RegExp('^#(' + te + ')'), CLASS: new RegExp('^\\.(' + te + ')'), TAG: new RegExp('^(' + te + '|[*])'), ATTR: new RegExp('^' + ie), PSEUDO: new RegExp('^' + ne), CHILD: new RegExp( '^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(' + ee + '*(even|odd|(([+-]|)(\\d*)n|)' + ee + '*(?:([+-]|)' + ee + '*(\\d+)|))' + ee + '*\\)|)', 'i' ), bool: new RegExp('^(?:' + Z + ')$', 'i'), needsContext: new RegExp( '^' + ee + '*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(' + ee + '*((?:-\\d)?\\d*)' + ee + '*\\)|)(?=[^-]|$)', 'i' ), }, he = /^(?:input|select|textarea|button)$/i, pe = /^h\d$/i, fe = /^[^{]+\{\s*\[native \w/, me = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, _e = /[+~]/, ge = new RegExp( '\\\\([\\da-f]{1,6}' + ee + '?|(' + ee + ')|.)', 'ig' ), ve = function (e, t, i) { var n = '0x' + t - 65536 return n !== n || i ? t : n < 0 ? String.fromCharCode(n + 65536) : String.fromCharCode((n >> 10) | 55296, (1023 & n) | 56320) }, ye = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, be = function (e, t) { return t ? '\0' === e ? '�' : e.slice(0, -1) + '\\' + e.charCodeAt(e.length - 1).toString(16) + ' ' : '\\' + e }, we = function () { S() }, Me = h( function (e) { return !0 === e.disabled && ('form' in e || 'label' in e) }, { dir: 'parentNode', next: 'legend' } ) try { J.apply((K = X.call(N.childNodes)), N.childNodes), K[N.childNodes.length].nodeType } catch (e) { J = { apply: K.length ? function (e, t) { G.apply(e, X.call(t)) } : function (e, t) { for (var i = e.length, n = 0; (e[i++] = t[n++]); ); e.length = i - 1 }, } } ;(b = t.support = {}), (k = t.isXML = function (e) { var t = e && (e.ownerDocument || e).documentElement return !!t && 'HTML' !== t.nodeName }), (S = t.setDocument = function (e) { var t, i, n = e ? e.ownerDocument || e : N return n !== E && 9 === n.nodeType && n.documentElement ? ((E = n), (H = E.documentElement), (A = !k(E)), N !== E && (i = E.defaultView) && i.top !== i && (i.addEventListener ? i.addEventListener('unload', we, !1) : i.attachEvent && i.attachEvent('onunload', we)), (b.attributes = s(function (e) { return (e.className = 'i'), !e.getAttribute('className') })), (b.getElementsByTagName = s(function (e) { return ( e.appendChild(E.createComment('')), !e.getElementsByTagName('*').length ) })), (b.getElementsByClassName = fe.test( E.getElementsByClassName )), (b.getById = s(function (e) { return ( (H.appendChild(e).id = W), !E.getElementsByName || !E.getElementsByName(W).length ) })), b.getById ? ((w.filter.ID = function (e) { var t = e.replace(ge, ve) return function (e) { return e.getAttribute('id') === t } }), (w.find.ID = function (e, t) { if (void 0 !== t.getElementById && A) { var i = t.getElementById(e) return i ? [i] : [] } })) : ((w.filter.ID = function (e) { var t = e.replace(ge, ve) return function (e) { var i = void 0 !== e.getAttributeNode && e.getAttributeNode('id') return i && i.value === t } }), (w.find.ID = function (e, t) { if (void 0 !== t.getElementById && A) { var i, n, s, r = t.getElementById(e) if (r) { if ( (i = r.getAttributeNode('id')) && i.value === e ) return [r] for ( s = t.getElementsByName(e), n = 0; (r = s[n++]); ) if ( (i = r.getAttributeNode('id')) && i.value === e ) return [r] } return [] } })), (w.find.TAG = b.getElementsByTagName ? function (e, t) { return void 0 !== t.getElementsByTagName ? t.getElementsByTagName(e) : b.qsa ? t.querySelectorAll(e) : void 0 } : function (e, t) { var i, n = [], s = 0, r = t.getElementsByTagName(e) if ('*' === e) { for (; (i = r[s++]); ) 1 === i.nodeType && n.push(i) return n } return r }), (w.find.CLASS = b.getElementsByClassName && function (e, t) { if (void 0 !== t.getElementsByClassName && A) return t.getElementsByClassName(e) }), (P = []), (O = []), (b.qsa = fe.test(E.querySelectorAll)) && (s(function (e) { ;(H.appendChild(e).innerHTML = ""), e.querySelectorAll("[msallowcapture^='']").length && O.push('[*^$]=' + ee + '*(?:\'\'|"")'), e.querySelectorAll('[selected]').length || O.push('\\[' + ee + '*(?:value|' + Z + ')'), e.querySelectorAll('[id~=' + W + '-]').length || O.push('~='), e.querySelectorAll(':checked').length || O.push(':checked'), e.querySelectorAll('a#' + W + '+*').length || O.push('.#.+[+~]') }), s(function (e) { e.innerHTML = "" var t = E.createElement('input') t.setAttribute('type', 'hidden'), e.appendChild(t).setAttribute('name', 'D'), e.querySelectorAll('[name=d]').length && O.push('name' + ee + '*[*^$|!~]?='), 2 !== e.querySelectorAll(':enabled').length && O.push(':enabled', ':disabled'), (H.appendChild(e).disabled = !0), 2 !== e.querySelectorAll(':disabled').length && O.push(':enabled', ':disabled'), e.querySelectorAll('*,:x'), O.push(',.*:') })), (b.matchesSelector = fe.test( (I = H.matches || H.webkitMatchesSelector || H.mozMatchesSelector || H.oMatchesSelector || H.msMatchesSelector) )) && s(function (e) { ;(b.disconnectedMatch = I.call(e, '*')), I.call(e, "[s!='']:x"), P.push('!=', ne) }), (O = O.length && new RegExp(O.join('|'))), (P = P.length && new RegExp(P.join('|'))), (t = fe.test(H.compareDocumentPosition)), (j = t || fe.test(H.contains) ? function (e, t) { var i = 9 === e.nodeType ? e.documentElement : e, n = t && t.parentNode return ( e === n || !( !n || 1 !== n.nodeType || !(i.contains ? i.contains(n) : e.compareDocumentPosition && 16 & e.compareDocumentPosition(n)) ) ) } : function (e, t) { if (t) for (; (t = t.parentNode); ) if (t === e) return !0 return !1 }), (U = t ? function (e, t) { if (e === t) return (C = !0), 0 var i = !e.compareDocumentPosition - !t.compareDocumentPosition return ( i || ((i = (e.ownerDocument || e) === (t.ownerDocument || t) ? e.compareDocumentPosition(t) : 1), 1 & i || (!b.sortDetached && t.compareDocumentPosition(e) === i) ? e === E || (e.ownerDocument === N && j(N, e)) ? -1 : t === E || (t.ownerDocument === N && j(N, t)) ? 1 : x ? Q(x, e) - Q(x, t) : 0 : 4 & i ? -1 : 1) ) } : function (e, t) { if (e === t) return (C = !0), 0 var i, n = 0, s = e.parentNode, r = t.parentNode, o = [e], l = [t] if (!s || !r) return e === E ? -1 : t === E ? 1 : s ? -1 : r ? 1 : x ? Q(x, e) - Q(x, t) : 0 if (s === r) return a(e, t) for (i = e; (i = i.parentNode); ) o.unshift(i) for (i = t; (i = i.parentNode); ) l.unshift(i) for (; o[n] === l[n]; ) n++ return n ? a(o[n], l[n]) : o[n] === N ? -1 : l[n] === N ? 1 : 0 }), E) : E }), (t.matches = function (e, i) { return t(e, null, null, i) }), (t.matchesSelector = function (e, i) { if ( ((e.ownerDocument || e) !== E && S(e), (i = i.replace(le, "='$1']")), b.matchesSelector && A && !B[i + ' '] && (!P || !P.test(i)) && (!O || !O.test(i))) ) try { var n = I.call(e, i) if ( n || b.disconnectedMatch || (e.document && 11 !== e.document.nodeType) ) return n } catch (e) {} return t(i, E, null, [e]).length > 0 }), (t.contains = function (e, t) { return (e.ownerDocument || e) !== E && S(e), j(e, t) }), (t.attr = function (e, t) { ;(e.ownerDocument || e) !== E && S(e) var i = w.attrHandle[t.toLowerCase()], n = i && q.call(w.attrHandle, t.toLowerCase()) ? i(e, t, !A) : void 0 return void 0 !== n ? n : b.attributes || !A ? e.getAttribute(t) : (n = e.getAttributeNode(t)) && n.specified ? n.value : null }), (t.escape = function (e) { return (e + '').replace(ye, be) }), (t.error = function (e) { throw new Error('Syntax error, unrecognized expression: ' + e) }), (t.uniqueSort = function (e) { var t, i = [], n = 0, s = 0 if ( ((C = !b.detectDuplicates), (x = !b.sortStable && e.slice(0)), e.sort(U), C) ) { for (; (t = e[s++]); ) t === e[s] && (n = i.push(s)) for (; n--; ) e.splice(i[n], 1) } return (x = null), e }), (M = t.getText = function (e) { var t, i = '', n = 0, s = e.nodeType if (s) { if (1 === s || 9 === s || 11 === s) { if ('string' == typeof e.textContent) return e.textContent for (e = e.firstChild; e; e = e.nextSibling) i += M(e) } else if (3 === s || 4 === s) return e.nodeValue } else for (; (t = e[n++]); ) i += M(t) return i }), (w = t.selectors = { cacheLength: 50, createPseudo: n, match: ce, attrHandle: {}, find: {}, relative: { '>': { dir: 'parentNode', first: !0 }, ' ': { dir: 'parentNode' }, '+': { dir: 'previousSibling', first: !0 }, '~': { dir: 'previousSibling' }, }, preFilter: { ATTR: function (e) { return ( (e[1] = e[1].replace(ge, ve)), (e[3] = (e[3] || e[4] || e[5] || '').replace(ge, ve)), '~=' === e[2] && (e[3] = ' ' + e[3] + ' '), e.slice(0, 4) ) }, CHILD: function (e) { return ( (e[1] = e[1].toLowerCase()), 'nth' === e[1].slice(0, 3) ? (e[3] || t.error(e[0]), (e[4] = +(e[4] ? e[5] + (e[6] || 1) : 2 * ('even' === e[3] || 'odd' === e[3]))), (e[5] = +(e[7] + e[8] || 'odd' === e[3]))) : e[3] && t.error(e[0]), e ) }, PSEUDO: function (e) { var t, i = !e[6] && e[2] return ce.CHILD.test(e[0]) ? null : (e[3] ? (e[2] = e[4] || e[5] || '') : i && ue.test(i) && (t = L(i, !0)) && (t = i.indexOf(')', i.length - t) - i.length) && ((e[0] = e[0].slice(0, t)), (e[2] = i.slice(0, t))), e.slice(0, 3)) }, }, filter: { TAG: function (e) { var t = e.replace(ge, ve).toLowerCase() return '*' === e ? function () { return !0 } : function (e) { return e.nodeName && e.nodeName.toLowerCase() === t } }, CLASS: function (e) { var t = R[e + ' '] return ( t || ((t = new RegExp( '(^|' + ee + ')' + e + '(' + ee + '|$)' )) && R(e, function (e) { return t.test( ('string' == typeof e.className && e.className) || (void 0 !== e.getAttribute && e.getAttribute('class')) || '' ) })) ) }, ATTR: function (e, i, n) { return function (s) { var r = t.attr(s, e) return null == r ? '!=' === i : !i || ((r += ''), '=' === i ? r === n : '!=' === i ? r !== n : '^=' === i ? n && 0 === r.indexOf(n) : '*=' === i ? n && r.indexOf(n) > -1 : '$=' === i ? n && r.slice(-n.length) === n : '~=' === i ? (' ' + r.replace(se, ' ') + ' ').indexOf(n) > -1 : '|=' === i && (r === n || r.slice(0, n.length + 1) === n + '-')) } }, CHILD: function (e, t, i, n, s) { var r = 'nth' !== e.slice(0, 3), a = 'last' !== e.slice(-4), o = 'of-type' === t return 1 === n && 0 === s ? function (e) { return !!e.parentNode } : function (t, i, l) { var u, d, c, h, p, f, m = r !== a ? 'nextSibling' : 'previousSibling', _ = t.parentNode, g = o && t.nodeName.toLowerCase(), v = !l && !o, y = !1 if (_) { if (r) { for (; m; ) { for (h = t; (h = h[m]); ) if ( o ? h.nodeName.toLowerCase() === g : 1 === h.nodeType ) return !1 f = m = 'only' === e && !f && 'nextSibling' } return !0 } if ( ((f = [a ? _.firstChild : _.lastChild]), a && v) ) { for ( h = _, c = h[W] || (h[W] = {}), d = c[h.uniqueID] || (c[h.uniqueID] = {}), u = d[e] || [], p = u[0] === F && u[1], y = p && u[2], h = p && _.childNodes[p]; (h = (++p && h && h[m]) || (y = p = 0) || f.pop()); ) if (1 === h.nodeType && ++y && h === t) { d[e] = [F, p, y] break } } else if ( (v && ((h = t), (c = h[W] || (h[W] = {})), (d = c[h.uniqueID] || (c[h.uniqueID] = {})), (u = d[e] || []), (p = u[0] === F && u[1]), (y = p)), !1 === y) ) for ( ; (h = (++p && h && h[m]) || (y = p = 0) || f.pop()) && ((o ? h.nodeName.toLowerCase() !== g : 1 !== h.nodeType) || !++y || (v && ((c = h[W] || (h[W] = {})), (d = c[h.uniqueID] || (c[h.uniqueID] = {})), (d[e] = [F, y])), h !== t)); ); return ( (y -= s) === n || (y % n == 0 && y / n >= 0) ) } } }, PSEUDO: function (e, i) { var s, r = w.pseudos[e] || w.setFilters[e.toLowerCase()] || t.error('unsupported pseudo: ' + e) return r[W] ? r(i) : r.length > 1 ? ((s = [e, e, '', i]), w.setFilters.hasOwnProperty(e.toLowerCase()) ? n(function (e, t) { for (var n, s = r(e, i), a = s.length; a--; ) (n = Q(e, s[a])), (e[n] = !(t[n] = s[a])) }) : function (e) { return r(e, 0, s) }) : r }, }, pseudos: { not: n(function (e) { var t = [], i = [], s = D(e.replace(re, '$1')) return s[W] ? n(function (e, t, i, n) { for ( var r, a = s(e, null, n, []), o = e.length; o--; ) (r = a[o]) && (e[o] = !(t[o] = r)) }) : function (e, n, r) { return ( (t[0] = e), s(t, null, r, i), (t[0] = null), !i.pop() ) } }), has: n(function (e) { return function (i) { return t(e, i).length > 0 } }), contains: n(function (e) { return ( (e = e.replace(ge, ve)), function (t) { return ( (t.textContent || t.innerText || M(t)).indexOf(e) > -1 ) } ) }), lang: n(function (e) { return ( de.test(e || '') || t.error('unsupported lang: ' + e), (e = e.replace(ge, ve).toLowerCase()), function (t) { var i do { if ( (i = A ? t.lang : t.getAttribute('xml:lang') || t.getAttribute('lang')) ) return ( (i = i.toLowerCase()) === e || 0 === i.indexOf(e + '-') ) } while ((t = t.parentNode) && 1 === t.nodeType) return !1 } ) }), target: function (t) { var i = e.location && e.location.hash return i && i.slice(1) === t.id }, root: function (e) { return e === H }, focus: function (e) { return ( e === E.activeElement && (!E.hasFocus || E.hasFocus()) && !!(e.type || e.href || ~e.tabIndex) ) }, enabled: o(!1), disabled: o(!0), checked: function (e) { var t = e.nodeName.toLowerCase() return ( ('input' === t && !!e.checked) || ('option' === t && !!e.selected) ) }, selected: function (e) { return ( e.parentNode && e.parentNode.selectedIndex, !0 === e.selected ) }, empty: function (e) { for (e = e.firstChild; e; e = e.nextSibling) if (e.nodeType < 6) return !1 return !0 }, parent: function (e) { return !w.pseudos.empty(e) }, header: function (e) { return pe.test(e.nodeName) }, input: function (e) { return he.test(e.nodeName) }, button: function (e) { var t = e.nodeName.toLowerCase() return ( ('input' === t && 'button' === e.type) || 'button' === t ) }, text: function (e) { var t return ( 'input' === e.nodeName.toLowerCase() && 'text' === e.type && (null == (t = e.getAttribute('type')) || 'text' === t.toLowerCase()) ) }, first: l(function () { return [0] }), last: l(function (e, t) { return [t - 1] }), eq: l(function (e, t, i) { return [i < 0 ? i + t : i] }), even: l(function (e, t) { for (var i = 0; i < t; i += 2) e.push(i) return e }), odd: l(function (e, t) { for (var i = 1; i < t; i += 2) e.push(i) return e }), lt: l(function (e, t, i) { for (var n = i < 0 ? i + t : i; --n >= 0; ) e.push(n) return e }), gt: l(function (e, t, i) { for (var n = i < 0 ? i + t : i; ++n < t; ) e.push(n) return e }), }, }), (w.pseudos.nth = w.pseudos.eq) for (y in { radio: !0, checkbox: !0, file: !0, password: !0, image: !0, }) w.pseudos[y] = (function (e) { return function (t) { return 'input' === t.nodeName.toLowerCase() && t.type === e } })(y) for (y in { submit: !0, reset: !0 }) w.pseudos[y] = (function (e) { return function (t) { var i = t.nodeName.toLowerCase() return ('input' === i || 'button' === i) && t.type === e } })(y) return ( (d.prototype = w.filters = w.pseudos), (w.setFilters = new d()), (L = t.tokenize = function (e, i) { var n, s, r, a, o, l, u, d = $[e + ' '] if (d) return i ? 0 : d.slice(0) for (o = e, l = [], u = w.preFilter; o; ) { ;(n && !(s = ae.exec(o))) || (s && (o = o.slice(s[0].length) || o), l.push((r = []))), (n = !1), (s = oe.exec(o)) && ((n = s.shift()), r.push({ value: n, type: s[0].replace(re, ' ') }), (o = o.slice(n.length))) for (a in w.filter) !(s = ce[a].exec(o)) || (u[a] && !(s = u[a](s))) || ((n = s.shift()), r.push({ value: n, type: a, matches: s }), (o = o.slice(n.length))) if (!n) break } return i ? o.length : o ? t.error(e) : $(e, l).slice(0) }), (D = t.compile = function (e, t) { var i, n = [], s = [], r = B[e + ' '] if (!r) { for (t || (t = L(e)), i = t.length; i--; ) (r = g(t[i])), r[W] ? n.push(r) : s.push(r) ;(r = B(e, v(s, n))), (r.selector = e) } return r }), (T = t.select = function (e, t, i, n) { var s, r, a, o, l, d = 'function' == typeof e && e, h = !n && L((e = d.selector || e)) if (((i = i || []), 1 === h.length)) { if ( ((r = h[0] = h[0].slice(0)), r.length > 2 && 'ID' === (a = r[0]).type && 9 === t.nodeType && A && w.relative[r[1].type]) ) { if ( !(t = (w.find.ID(a.matches[0].replace(ge, ve), t) || [])[0]) ) return i d && (t = t.parentNode), (e = e.slice(r.shift().value.length)) } for ( s = ce.needsContext.test(e) ? 0 : r.length; s-- && ((a = r[s]), !w.relative[(o = a.type)]); ) if ( (l = w.find[o]) && (n = l( a.matches[0].replace(ge, ve), (_e.test(r[0].type) && u(t.parentNode)) || t )) ) { if ((r.splice(s, 1), !(e = n.length && c(r)))) return J.apply(i, n), i break } } return ( (d || D(e, h))( n, t, !A, i, !t || (_e.test(e) && u(t.parentNode)) || t ), i ) }), (b.sortStable = W.split('').sort(U).join('') === W), (b.detectDuplicates = !!C), S(), (b.sortDetached = s(function (e) { return ( 1 & e.compareDocumentPosition(E.createElement('fieldset')) ) })), s(function (e) { return ( (e.innerHTML = ""), '#' === e.firstChild.getAttribute('href') ) }) || r('type|href|height|width', function (e, t, i) { if (!i) return e.getAttribute(t, 'type' === t.toLowerCase() ? 1 : 2) }), (b.attributes && s(function (e) { return ( (e.innerHTML = ''), e.firstChild.setAttribute('value', ''), '' === e.firstChild.getAttribute('value') ) })) || r('value', function (e, t, i) { if (!i && 'input' === e.nodeName.toLowerCase()) return e.defaultValue }), s(function (e) { return null == e.getAttribute('disabled') }) || r(Z, function (e, t, i) { var n if (!i) return !0 === e[t] ? t.toLowerCase() : (n = e.getAttributeNode(t)) && n.specified ? n.value : null }), t ) })(i) ;(De.find = Ye), (De.expr = Ye.selectors), (De.expr[':'] = De.expr.pseudos), (De.uniqueSort = De.unique = Ye.uniqueSort), (De.text = Ye.getText), (De.isXMLDoc = Ye.isXML), (De.contains = Ye.contains), (De.escapeSelector = Ye.escape) var xe = function (e, t, i) { for ( var n = [], s = void 0 !== i; (e = e[t]) && 9 !== e.nodeType; ) if (1 === e.nodeType) { if (s && De(e).is(i)) break n.push(e) } return n }, Ce = function (e, t) { for (var i = []; e; e = e.nextSibling) 1 === e.nodeType && e !== t && i.push(e) return i }, Se = De.expr.match.needsContext, Ee = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ;(De.filter = function (e, t, i) { var n = t[0] return ( i && (e = ':not(' + e + ')'), 1 === t.length && 1 === n.nodeType ? De.find.matchesSelector(n, e) ? [n] : [] : De.find.matches( e, De.grep(t, function (e) { return 1 === e.nodeType }) ) ) }), De.fn.extend({ find: function (e) { var t, i, n = this.length, s = this if ('string' != typeof e) return this.pushStack( De(e).filter(function () { for (t = 0; t < n; t++) if (De.contains(s[t], this)) return !0 }) ) for (i = this.pushStack([]), t = 0; t < n; t++) De.find(e, s[t], i) return n > 1 ? De.uniqueSort(i) : i }, filter: function (e) { return this.pushStack(d(this, e || [], !1)) }, not: function (e) { return this.pushStack(d(this, e || [], !0)) }, is: function (e) { return !!d( this, 'string' == typeof e && Se.test(e) ? De(e) : e || [], !1 ).length }, }) var He, Ae = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/ ;((De.fn.init = function (e, t, i) { var n, s if (!e) return this if (((i = i || He), 'string' == typeof e)) { if ( !(n = '<' === e[0] && '>' === e[e.length - 1] && e.length >= 3 ? [null, e, null] : Ae.exec(e)) || (!n[1] && t) ) return !t || t.jquery ? (t || i).find(e) : this.constructor(t).find(e) if (n[1]) { if ( ((t = t instanceof De ? t[0] : t), De.merge( this, De.parseHTML( n[1], t && t.nodeType ? t.ownerDocument || t : de, !0 ) ), Ee.test(n[1]) && De.isPlainObject(t)) ) for (n in t) Me(this[n]) ? this[n](t[n]) : this.attr(n, t[n]) return this } return ( (s = de.getElementById(n[2])), s && ((this[0] = s), (this.length = 1)), this ) } return e.nodeType ? ((this[0] = e), (this.length = 1), this) : Me(e) ? void 0 !== i.ready ? i.ready(e) : e(De) : De.makeArray(e, this) }).prototype = De.fn), (He = De(de)) var Oe = /^(?:parents|prev(?:Until|All))/, Pe = { children: !0, contents: !0, next: !0, prev: !0 } De.fn.extend({ has: function (e) { var t = De(e, this), i = t.length return this.filter(function () { for (var e = 0; e < i; e++) if (De.contains(this, t[e])) return !0 }) }, closest: function (e, t) { var i, n = 0, s = this.length, r = [], a = 'string' != typeof e && De(e) if (!Se.test(e)) for (; n < s; n++) for (i = this[n]; i && i !== t; i = i.parentNode) if ( i.nodeType < 11 && (a ? a.index(i) > -1 : 1 === i.nodeType && De.find.matchesSelector(i, e)) ) { r.push(i) break } return this.pushStack(r.length > 1 ? De.uniqueSort(r) : r) }, index: function (e) { return e ? 'string' == typeof e ? me.call(De(e), this[0]) : me.call(this, e.jquery ? e[0] : e) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1 }, add: function (e, t) { return this.pushStack( De.uniqueSort(De.merge(this.get(), De(e, t))) ) }, addBack: function (e) { return this.add( null == e ? this.prevObject : this.prevObject.filter(e) ) }, }), De.each( { parent: function (e) { var t = e.parentNode return t && 11 !== t.nodeType ? t : null }, parents: function (e) { return xe(e, 'parentNode') }, parentsUntil: function (e, t, i) { return xe(e, 'parentNode', i) }, next: function (e) { return c(e, 'nextSibling') }, prev: function (e) { return c(e, 'previousSibling') }, nextAll: function (e) { return xe(e, 'nextSibling') }, prevAll: function (e) { return xe(e, 'previousSibling') }, nextUntil: function (e, t, i) { return xe(e, 'nextSibling', i) }, prevUntil: function (e, t, i) { return xe(e, 'previousSibling', i) }, siblings: function (e) { return Ce((e.parentNode || {}).firstChild, e) }, children: function (e) { return Ce(e.firstChild) }, contents: function (e) { return u(e, 'iframe') ? e.contentDocument : (u(e, 'template') && (e = e.content || e), De.merge([], e.childNodes)) }, }, function (e, t) { De.fn[e] = function (i, n) { var s = De.map(this, t, i) return ( 'Until' !== e.slice(-5) && (n = i), n && 'string' == typeof n && (s = De.filter(n, s)), this.length > 1 && (Pe[e] || De.uniqueSort(s), Oe.test(e) && s.reverse()), this.pushStack(s) ) } } ) var Ie = /[^\x20\t\r\n\f]+/g ;(De.Callbacks = function (e) { e = 'string' == typeof e ? h(e) : De.extend({}, e) var t, i, n, s, r = [], a = [], l = -1, u = function () { for (s = s || e.once, n = t = !0; a.length; l = -1) for (i = a.shift(); ++l < r.length; ) !1 === r[l].apply(i[0], i[1]) && e.stopOnFalse && ((l = r.length), (i = !1)) e.memory || (i = !1), (t = !1), s && (r = i ? [] : '') }, d = { add: function () { return ( r && (i && !t && ((l = r.length - 1), a.push(i)), (function t(i) { De.each(i, function (i, n) { Me(n) ? (e.unique && d.has(n)) || r.push(n) : n && n.length && 'string' !== o(n) && t(n) }) })(arguments), i && !t && u()), this ) }, remove: function () { return ( De.each(arguments, function (e, t) { for (var i; (i = De.inArray(t, r, i)) > -1; ) r.splice(i, 1), i <= l && l-- }), this ) }, has: function (e) { return e ? De.inArray(e, r) > -1 : r.length > 0 }, empty: function () { return r && (r = []), this }, disable: function () { return (s = a = []), (r = i = ''), this }, disabled: function () { return !r }, lock: function () { return (s = a = []), i || t || (r = i = ''), this }, locked: function () { return !!s }, fireWith: function (e, i) { return ( s || ((i = i || []), (i = [e, i.slice ? i.slice() : i]), a.push(i), t || u()), this ) }, fire: function () { return d.fireWith(this, arguments), this }, fired: function () { return !!n }, } return d }), De.extend({ Deferred: function (e) { var t = [ [ 'notify', 'progress', De.Callbacks('memory'), De.Callbacks('memory'), 2, ], [ 'resolve', 'done', De.Callbacks('once memory'), De.Callbacks('once memory'), 0, 'resolved', ], [ 'reject', 'fail', De.Callbacks('once memory'), De.Callbacks('once memory'), 1, 'rejected', ], ], n = 'pending', s = { state: function () { return n }, always: function () { return r.done(arguments).fail(arguments), this }, catch: function (e) { return s.then(null, e) }, pipe: function () { var e = arguments return De.Deferred(function (i) { De.each(t, function (t, n) { var s = Me(e[n[4]]) && e[n[4]] r[n[1]](function () { var e = s && s.apply(this, arguments) e && Me(e.promise) ? e .promise() .progress(i.notify) .done(i.resolve) .fail(i.reject) : i[n[0] + 'With'](this, s ? [e] : arguments) }) }), (e = null) }).promise() }, then: function (e, n, s) { function r(e, t, n, s) { return function () { var o = this, l = arguments, u = function () { var i, u if (!(e < a)) { if ((i = n.apply(o, l)) === t.promise()) throw new TypeError( 'Thenable self-resolution' ) ;(u = i && ('object' == typeof i || 'function' == typeof i) && i.then), Me(u) ? s ? u.call(i, r(a, t, p, s), r(a, t, f, s)) : (a++, u.call( i, r(a, t, p, s), r(a, t, f, s), r(a, t, p, t.notifyWith) )) : (n !== p && ((o = void 0), (l = [i])), (s || t.resolveWith)(o, l)) } }, d = s ? u : function () { try { u() } catch (i) { De.Deferred.exceptionHook && De.Deferred.exceptionHook( i, d.stackTrace ), e + 1 >= a && (n !== f && ((o = void 0), (l = [i])), t.rejectWith(o, l)) } } e ? d() : (De.Deferred.getStackHook && (d.stackTrace = De.Deferred.getStackHook()), i.setTimeout(d)) } } var a = 0 return De.Deferred(function (i) { t[0][3].add(r(0, i, Me(s) ? s : p, i.notifyWith)), t[1][3].add(r(0, i, Me(e) ? e : p)), t[2][3].add(r(0, i, Me(n) ? n : f)) }).promise() }, promise: function (e) { return null != e ? De.extend(e, s) : s }, }, r = {} return ( De.each(t, function (e, i) { var a = i[2], o = i[5] ;(s[i[1]] = a.add), o && a.add( function () { n = o }, t[3 - e][2].disable, t[3 - e][3].disable, t[0][2].lock, t[0][3].lock ), a.add(i[3].fire), (r[i[0]] = function () { return ( r[i[0] + 'With']( this === r ? void 0 : this, arguments ), this ) }), (r[i[0] + 'With'] = a.fireWith) }), s.promise(r), e && e.call(r, r), r ) }, when: function (e) { var t = arguments.length, i = t, n = Array(i), s = he.call(arguments), r = De.Deferred(), a = function (e) { return function (i) { ;(n[e] = this), (s[e] = arguments.length > 1 ? he.call(arguments) : i), --t || r.resolveWith(n, s) } } if ( t <= 1 && (m(e, r.done(a(i)).resolve, r.reject, !t), 'pending' === r.state() || Me(s[i] && s[i].then)) ) return r.then() for (; i--; ) m(s[i], a(i), r.reject) return r.promise() }, }) var je = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/ ;(De.Deferred.exceptionHook = function (e, t) { i.console && i.console.warn && e && je.test(e.name) && i.console.warn( 'jQuery.Deferred exception: ' + e.message, e.stack, t ) }), (De.readyException = function (e) { i.setTimeout(function () { throw e }) }) var We = De.Deferred() ;(De.fn.ready = function (e) { return ( We.then(e).catch(function (e) { De.readyException(e) }), this ) }), De.extend({ isReady: !1, readyWait: 1, ready: function (e) { ;(!0 === e ? --De.readyWait : De.isReady) || ((De.isReady = !0), (!0 !== e && --De.readyWait > 0) || We.resolveWith(de, [De])) }, }), (De.ready.then = We.then), 'complete' === de.readyState || ('loading' !== de.readyState && !de.documentElement.doScroll) ? i.setTimeout(De.ready) : (de.addEventListener('DOMContentLoaded', _), i.addEventListener('load', _)) var Ne = function (e, t, i, n, s, r, a) { var l = 0, u = e.length, d = null == i if ('object' === o(i)) { s = !0 for (l in i) Ne(e, t, l, i[l], !0, r, a) } else if ( void 0 !== n && ((s = !0), Me(n) || (a = !0), d && (a ? (t.call(e, n), (t = null)) : ((d = t), (t = function (e, t, i) { return d.call(De(e), i) }))), t) ) for (; l < u; l++) t(e[l], i, a ? n : n.call(e[l], l, t(e[l], i))) return s ? e : d ? t.call(e) : u ? t(e[0], i) : r }, Fe = /^-ms-/, ze = /-([a-z])/g, Re = function (e) { return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType } ;(y.uid = 1), (y.prototype = { cache: function (e) { var t = e[this.expando] return ( t || ((t = {}), Re(e) && (e.nodeType ? (e[this.expando] = t) : Object.defineProperty(e, this.expando, { value: t, configurable: !0, }))), t ) }, set: function (e, t, i) { var n, s = this.cache(e) if ('string' == typeof t) s[v(t)] = i else for (n in t) s[v(n)] = t[n] return s }, get: function (e, t) { return void 0 === t ? this.cache(e) : e[this.expando] && e[this.expando][v(t)] }, access: function (e, t, i) { return void 0 === t || (t && 'string' == typeof t && void 0 === i) ? this.get(e, t) : (this.set(e, t, i), void 0 !== i ? i : t) }, remove: function (e, t) { var i, n = e[this.expando] if (void 0 !== n) { if (void 0 !== t) { Array.isArray(t) ? (t = t.map(v)) : ((t = v(t)), (t = t in n ? [t] : t.match(Ie) || [])), (i = t.length) for (; i--; ) delete n[t[i]] } ;(void 0 === t || De.isEmptyObject(n)) && (e.nodeType ? (e[this.expando] = void 0) : delete e[this.expando]) } }, hasData: function (e) { var t = e[this.expando] return void 0 !== t && !De.isEmptyObject(t) }, }) var $e = new y(), Be = new y(), Ue = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, qe = /[A-Z]/g De.extend({ hasData: function (e) { return Be.hasData(e) || $e.hasData(e) }, data: function (e, t, i) { return Be.access(e, t, i) }, removeData: function (e, t) { Be.remove(e, t) }, _data: function (e, t, i) { return $e.access(e, t, i) }, _removeData: function (e, t) { $e.remove(e, t) }, }), De.fn.extend({ data: function (e, t) { var i, n, s, r = this[0], a = r && r.attributes if (void 0 === e) { if ( this.length && ((s = Be.get(r)), 1 === r.nodeType && !$e.get(r, 'hasDataAttrs')) ) { for (i = a.length; i--; ) a[i] && ((n = a[i].name), 0 === n.indexOf('data-') && ((n = v(n.slice(5))), w(r, n, s[n]))) $e.set(r, 'hasDataAttrs', !0) } return s } return 'object' == typeof e ? this.each(function () { Be.set(this, e) }) : Ne( this, function (t) { var i if (r && void 0 === t) { if (void 0 !== (i = Be.get(r, e))) return i if (void 0 !== (i = w(r, e))) return i } else this.each(function () { Be.set(this, e, t) }) }, null, t, arguments.length > 1, null, !0 ) }, removeData: function (e) { return this.each(function () { Be.remove(this, e) }) }, }), De.extend({ queue: function (e, t, i) { var n if (e) return ( (t = (t || 'fx') + 'queue'), (n = $e.get(e, t)), i && (!n || Array.isArray(i) ? (n = $e.access(e, t, De.makeArray(i))) : n.push(i)), n || [] ) }, dequeue: function (e, t) { t = t || 'fx' var i = De.queue(e, t), n = i.length, s = i.shift(), r = De._queueHooks(e, t), a = function () { De.dequeue(e, t) } 'inprogress' === s && ((s = i.shift()), n--), s && ('fx' === t && i.unshift('inprogress'), delete r.stop, s.call(e, a, r)), !n && r && r.empty.fire() }, _queueHooks: function (e, t) { var i = t + 'queueHooks' return ( $e.get(e, i) || $e.access(e, i, { empty: De.Callbacks('once memory').add(function () { $e.remove(e, [t + 'queue', i]) }), }) ) }, }), De.fn.extend({ queue: function (e, t) { var i = 2 return ( 'string' != typeof e && ((t = e), (e = 'fx'), i--), arguments.length < i ? De.queue(this[0], e) : void 0 === t ? this : this.each(function () { var i = De.queue(this, e, t) De._queueHooks(this, e), 'fx' === e && 'inprogress' !== i[0] && De.dequeue(this, e) }) ) }, dequeue: function (e) { return this.each(function () { De.dequeue(this, e) }) }, clearQueue: function (e) { return this.queue(e || 'fx', []) }, promise: function (e, t) { var i, n = 1, s = De.Deferred(), r = this, a = this.length, o = function () { --n || s.resolveWith(r, [r]) } for ( 'string' != typeof e && ((t = e), (e = void 0)), e = e || 'fx'; a--; ) (i = $e.get(r[a], e + 'queueHooks')) && i.empty && (n++, i.empty.add(o)) return o(), s.promise(t) }, }) var Ke = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, Ve = new RegExp('^(?:([+-])=|)(' + Ke + ')([a-z%]*)$', 'i'), Ge = ['Top', 'Right', 'Bottom', 'Left'], Je = function (e, t) { return ( (e = t || e), 'none' === e.style.display || ('' === e.style.display && De.contains(e.ownerDocument, e) && 'none' === De.css(e, 'display')) ) }, Xe = function (e, t, i, n) { var s, r, a = {} for (r in t) (a[r] = e.style[r]), (e.style[r] = t[r]) s = i.apply(e, n || []) for (r in t) e.style[r] = a[r] return s }, Qe = {} De.fn.extend({ show: function () { return L(this, !0) }, hide: function () { return L(this) }, toggle: function (e) { return 'boolean' == typeof e ? e ? this.show() : this.hide() : this.each(function () { Je(this) ? De(this).show() : De(this).hide() }) }, }) var Ze = /^(?:checkbox|radio)$/i, et = /<([a-z][^\/\0>\x20\t\r\n\f]+)/i, tt = /^$|^module$|\/(?:java|ecma)script/i, it = { option: [1, "'], thead: [1, '
    ').append( e('') .attr({ 'data-action': 'today', title: n.tooltips.today, }) .append(e('').addClass(n.icons.today)) ) ), !n.sideBySide && Y() && T() && t.push( e('').append( e('') .attr({ 'data-action': 'togglePicker', title: n.tooltips.selectTime, }) .append(e('').addClass(n.icons.time)) ) ), n.showClear && t.push( e('').append( e('') .attr({ 'data-action': 'clear', title: n.tooltips.clear, }) .append(e('').addClass(n.icons.clear)) ) ), n.showClose && t.push( e('').append( e('') .attr({ 'data-action': 'close', title: n.tooltips.close, }) .append(e('').addClass(n.icons.close)) ) ), e('') .addClass('table-condensed') .append(e('').append(e('').append(t))) ) }, H = function () { var t = e('
    ').addClass( 'bootstrap-datetimepicker-widget dropdown-menu' ), i = e('
    ').addClass('datepicker').append(x()), s = e('
    ').addClass('timepicker').append(S()), r = e('
      ').addClass('list-unstyled'), a = e('
    • ') .addClass( 'picker-switch' + (n.collapse ? ' accordion-toggle' : '') ) .append(E()) return ( n.inline && t.removeClass('dropdown-menu'), o && t.addClass('usetwentyfour'), D('s') && !o && t.addClass('wider'), n.sideBySide && Y() && T() ? (t.addClass('timepicker-sbs'), 'top' === n.toolbarPlacement && t.append(a), t.append( e('
      ') .addClass('row') .append(i.addClass('col-md-6')) .append(s.addClass('col-md-6')) ), 'bottom' === n.toolbarPlacement && t.append(a), t) : ('top' === n.toolbarPlacement && r.append(a), Y() && r.append( e('
    • ') .addClass(n.collapse && T() ? 'collapse in' : '') .append(i) ), 'default' === n.toolbarPlacement && r.append(a), T() && r.append( e('
    • ') .addClass(n.collapse && Y() ? 'collapse' : '') .append(s) ), 'bottom' === n.toolbarPlacement && r.append(a), t.append(r)) ) }, A = function () { var t, s = (p || i).position(), r = (p || i).offset(), a = n.widgetPositioning.vertical, o = n.widgetPositioning.horizontal if (n.widgetParent) t = n.widgetParent.append(f) else if (i.is('input')) t = i.after(f).parent() else { if (n.inline) return void (t = i.append(f)) ;(t = i), i.children().first().after(f) } if ( ('auto' === a && (a = r.top + 1.5 * f.height() >= e(window).height() + e(window).scrollTop() && f.height() + i.outerHeight() < r.top ? 'top' : 'bottom'), 'auto' === o && (o = t.width() < r.left + f.outerWidth() / 2 && r.left + f.outerWidth() > e(window).width() ? 'right' : 'left'), 'top' === a ? f.addClass('top').removeClass('bottom') : f.addClass('bottom').removeClass('top'), 'right' === o ? f.addClass('pull-right') : f.removeClass('pull-right'), 'static' === t.css('position') && (t = t .parents() .filter(function () { return 'static' !== e(this).css('position') }) .first()), 0 === t.length) ) throw new Error( 'datetimepicker component should be placed within a non-static positioned container' ) f.css({ top: 'top' === a ? 'auto' : s.top + i.outerHeight(), bottom: 'top' === a ? t.outerHeight() - (t === i ? 0 : s.top) : 'auto', left: 'left' === o ? (t === i ? 0 : s.left) : 'auto', right: 'left' === o ? 'auto' : t.outerWidth() - i.outerWidth() - (t === i ? 0 : s.left), }) }, O = function (e) { ;('dp.change' === e.type && ((e.date && e.date.isSame(e.oldDate)) || (!e.date && !e.oldDate))) || i.trigger(e) }, P = function (e) { 'y' === e && (e = 'YYYY'), O({ type: 'dp.update', change: e, viewDate: r.clone() }) }, I = function (e) { f && (e && (d = Math.max(m, Math.min(3, d + e))), f .find('.datepicker > div') .hide() .filter('.datepicker-' + _[d].clsName) .show()) }, j = function () { var t = e('
    '), i = r.clone().startOf('w').startOf('d') for ( !0 === n.calendarWeeks && t.append(e('')), n.calendarWeeks && i.append(''), u.push(i)), (d = ['day']), t.isBefore(r, 'M') && d.push('old'), t.isAfter(r, 'M') && d.push('new'), t.isSame(s, 'd') && !h && d.push('active'), R(t, 'd') || d.push('disabled'), t.isSame(L(), 'd') && d.push('today'), (0 !== t.day() && 6 !== t.day()) || d.push('weekend'), O({ type: 'dp.classify', date: t, classNames: d }), i.append( '' ), t.add(1, 'd') o.find('tbody').empty().append(u), B(), U(), q() } }, V = function () { var t = f.find('.timepicker-hours table'), i = r.clone().startOf('d'), n = [], s = e('') for ( r.hour() > 11 && !o && i.hour(12); i.isSame(r, 'd') && (o || (r.hour() < 12 && i.hour() < 12) || r.hour() > 11); ) i.hour() % 4 == 0 && ((s = e('')), n.push(s)), s.append( '' ), i.add(1, 'h') t.empty().append(n) }, G = function () { for ( var t = f.find('.timepicker-minutes table'), i = r.clone().startOf('h'), s = [], a = e(''), o = 1 === n.stepping ? 5 : n.stepping; r.isSame(i, 'h'); ) i.minute() % (4 * o) == 0 && ((a = e('')), s.push(a)), a.append( '' ), i.add(o, 'm') t.empty().append(s) }, J = function () { for ( var t = f.find('.timepicker-seconds table'), i = r.clone().startOf('m'), n = [], s = e(''); r.isSame(i, 'm'); ) i.second() % 20 == 0 && ((s = e('')), n.push(s)), s.append( '' ), i.add(5, 's') t.empty().append(n) }, X = function () { var e, t, i = f.find('.timepicker span[data-time-component]') o || ((e = f.find('.timepicker [data-action=togglePeriod]')), (t = s.clone().add(s.hours() >= 12 ? -12 : 12, 'h')), e.text(s.format('A')), R(t, 'h') ? e.removeClass('disabled') : e.addClass('disabled')), i .filter('[data-time-component=hours]') .text(s.format(o ? 'HH' : 'hh')), i .filter('[data-time-component=minutes]') .text(s.format('mm')), i .filter('[data-time-component=seconds]') .text(s.format('ss')), V(), G(), J() }, Q = function () { f && (K(), X()) }, Z = function (e) { var t = h ? null : s if (!e) return ( (h = !0), a.val(''), i.data('date', ''), O({ type: 'dp.change', date: !1, oldDate: t }), void Q() ) if ( ((e = e.clone().locale(n.locale)), k() && e.tz(n.timeZone), 1 !== n.stepping) ) for ( e .minutes( Math.round(e.minutes() / n.stepping) * n.stepping ) .seconds(0); n.minDate && e.isBefore(n.minDate); ) e.add(n.stepping, 'minutes') R(e) ? ((s = e), (r = s.clone()), a.val(s.format(l)), i.data('date', s.format(l)), (h = !1), Q(), O({ type: 'dp.change', date: s.clone(), oldDate: t })) : (n.keepInvalid ? O({ type: 'dp.change', date: e, oldDate: t }) : a.val(h ? '' : s.format(l)), O({ type: 'dp.error', date: e, oldDate: t })) }, ee = function () { var t = !1 return f ? (f.find('.collapse').each(function () { var i = e(this).data('collapse') return !i || !i.transitioning || ((t = !0), !1) }), t ? c : (p && p.hasClass('btn') && p.toggleClass('active'), f.hide(), e(window).off('resize', A), f.off('click', '[data-action]'), f.off('mousedown', !1), f.remove(), (f = !1), O({ type: 'dp.hide', date: s.clone() }), a.blur(), (r = s.clone()), c)) : c }, te = function () { Z(null) }, ie = function (e) { return ( void 0 === n.parseInputDate ? (!t.isMoment(e) || e instanceof Date) && (e = L(e)) : (e = n.parseInputDate(e)), e ) }, ne = { next: function () { var e = _[d].navFnc r.add(_[d].navStep, e), K(), P(e) }, previous: function () { var e = _[d].navFnc r.subtract(_[d].navStep, e), K(), P(e) }, pickerSwitch: function () { I(1) }, selectMonth: function (t) { var i = e(t.target) .closest('tbody') .find('span') .index(e(t.target)) r.month(i), d === m ? (Z(s.clone().year(r.year()).month(r.month())), n.inline || ee()) : (I(-1), K()), P('M') }, selectYear: function (t) { var i = parseInt(e(t.target).text(), 10) || 0 r.year(i), d === m ? (Z(s.clone().year(r.year())), n.inline || ee()) : (I(-1), K()), P('YYYY') }, selectDecade: function (t) { var i = parseInt(e(t.target).data('selection'), 10) || 0 r.year(i), d === m ? (Z(s.clone().year(r.year())), n.inline || ee()) : (I(-1), K()), P('YYYY') }, selectDay: function (t) { var i = r.clone() e(t.target).is('.old') && i.subtract(1, 'M'), e(t.target).is('.new') && i.add(1, 'M'), Z(i.date(parseInt(e(t.target).text(), 10))), T() || n.keepOpen || n.inline || ee() }, incrementHours: function () { var e = s.clone().add(1, 'h') R(e, 'h') && Z(e) }, incrementMinutes: function () { var e = s.clone().add(n.stepping, 'm') R(e, 'm') && Z(e) }, incrementSeconds: function () { var e = s.clone().add(1, 's') R(e, 's') && Z(e) }, decrementHours: function () { var e = s.clone().subtract(1, 'h') R(e, 'h') && Z(e) }, decrementMinutes: function () { var e = s.clone().subtract(n.stepping, 'm') R(e, 'm') && Z(e) }, decrementSeconds: function () { var e = s.clone().subtract(1, 's') R(e, 's') && Z(e) }, togglePeriod: function () { Z(s.clone().add(s.hours() >= 12 ? -12 : 12, 'h')) }, togglePicker: function (t) { var i, s = e(t.target), r = s.closest('ul'), a = r.find('.in'), o = r.find('.collapse:not(.in)') if (a && a.length) { if ((i = a.data('collapse')) && i.transitioning) return a.collapse ? (a.collapse('hide'), o.collapse('show')) : (a.removeClass('in'), o.addClass('in')), s.is('span') ? s.toggleClass(n.icons.time + ' ' + n.icons.date) : s .find('span') .toggleClass(n.icons.time + ' ' + n.icons.date) } }, showPicker: function () { f.find('.timepicker > div:not(.timepicker-picker)').hide(), f.find('.timepicker .timepicker-picker').show() }, showHours: function () { f.find('.timepicker .timepicker-picker').hide(), f.find('.timepicker .timepicker-hours').show() }, showMinutes: function () { f.find('.timepicker .timepicker-picker').hide(), f.find('.timepicker .timepicker-minutes').show() }, showSeconds: function () { f.find('.timepicker .timepicker-picker').hide(), f.find('.timepicker .timepicker-seconds').show() }, selectHour: function (t) { var i = parseInt(e(t.target).text(), 10) o || (s.hours() >= 12 ? 12 !== i && (i += 12) : 12 === i && (i = 0)), Z(s.clone().hours(i)), ne.showPicker.call(c) }, selectMinute: function (t) { Z(s.clone().minutes(parseInt(e(t.target).text(), 10))), ne.showPicker.call(c) }, selectSecond: function (t) { Z(s.clone().seconds(parseInt(e(t.target).text(), 10))), ne.showPicker.call(c) }, clear: te, today: function () { var e = L() R(e, 'd') && Z(e) }, close: ee, }, se = function (t) { return ( !e(t.currentTarget).is('.disabled') && (ne[e(t.currentTarget).data('action')].apply(c, arguments), !1) ) }, re = function () { var t, i = { year: function (e) { return e.month(0).date(1).hours(0).seconds(0).minutes(0) }, month: function (e) { return e.date(1).hours(0).seconds(0).minutes(0) }, day: function (e) { return e.hours(0).seconds(0).minutes(0) }, hour: function (e) { return e.seconds(0).minutes(0) }, minute: function (e) { return e.seconds(0) }, } return a.prop('disabled') || (!n.ignoreReadonly && a.prop('readonly')) || f ? c : (void 0 !== a.val() && 0 !== a.val().trim().length ? Z(ie(a.val().trim())) : h && n.useCurrent && (n.inline || (a.is('input') && 0 === a.val().trim().length)) && ((t = L()), 'string' == typeof n.useCurrent && (t = i[n.useCurrent](t)), Z(t)), (f = H()), j(), $(), f.find('.timepicker-hours').hide(), f.find('.timepicker-minutes').hide(), f.find('.timepicker-seconds').hide(), Q(), I(), e(window).on('resize', A), f.on('click', '[data-action]', se), f.on('mousedown', !1), p && p.hasClass('btn') && p.toggleClass('active'), A(), f.show(), n.focusOnShow && !a.is(':focus') && a.focus(), O({ type: 'dp.show' }), c) }, ae = function () { return f ? ee() : re() }, oe = function (e) { var t, i, s, r, a = null, o = [], l = {}, u = e.which M[u] = 'p' for (t in M) M.hasOwnProperty(t) && 'p' === M[t] && (o.push(t), parseInt(t, 10) !== u && (l[t] = !0)) for (t in n.keyBinds) if ( n.keyBinds.hasOwnProperty(t) && 'function' == typeof n.keyBinds[t] && ((s = t.split(' ')), s.length === o.length && w[u] === s[s.length - 1]) ) { for (r = !0, i = s.length - 2; i >= 0; i--) if (!(w[s[i]] in l)) { r = !1 break } if (r) { a = n.keyBinds[t] break } } a && (a.call(c, f), e.stopPropagation(), e.preventDefault()) }, le = function (e) { ;(M[e.which] = 'r'), e.stopPropagation(), e.preventDefault() }, ue = function (t) { var i = e(t.target).val().trim(), n = i ? ie(i) : null return Z(n), t.stopImmediatePropagation(), !1 }, de = function () { a.off({ change: ue, blur: blur, keydown: oe, keyup: le, focus: n.allowInputToggle ? ee : '', }), i.is('input') ? a.off({ focus: re }) : p && (p.off('click', ae), p.off('mousedown', !1)) }, ce = function (t) { var i = {} return ( e.each(t, function () { var e = ie(this) e.isValid() && (i[e.format('YYYY-MM-DD')] = !0) }), !!Object.keys(i).length && i ) }, he = function (t) { var i = {} return ( e.each(t, function () { i[this] = !0 }), !!Object.keys(i).length && i ) }, pe = function () { var e = n.format || 'L LT' ;(l = e.replace( /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, function (e) { return (s.localeData().longDateFormat(e) || e).replace( /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, function (e) { return s.localeData().longDateFormat(e) || e } ) } )), (u = n.extraFormats ? n.extraFormats.slice() : []), u.indexOf(e) < 0 && u.indexOf(l) < 0 && u.push(l), (o = l.toLowerCase().indexOf('a') < 1 && l.replace(/\[.*?\]/g, '').indexOf('h') < 1), D('y') && (m = 2), D('M') && (m = 1), D('d') && (m = 0), (d = Math.max(m, d)), h || Z(s) } if ( ((c.destroy = function () { ee(), de(), i.removeData('DateTimePicker'), i.removeData('date') }), (c.toggle = ae), (c.show = re), (c.hide = ee), (c.disable = function () { return ( ee(), p && p.hasClass('btn') && p.addClass('disabled'), a.prop('disabled', !0), c ) }), (c.enable = function () { return ( p && p.hasClass('btn') && p.removeClass('disabled'), a.prop('disabled', !1), c ) }), (c.ignoreReadonly = function (e) { if (0 === arguments.length) return n.ignoreReadonly if ('boolean' != typeof e) throw new TypeError( 'ignoreReadonly () expects a boolean parameter' ) return (n.ignoreReadonly = e), c }), (c.options = function (t) { if (0 === arguments.length) return e.extend(!0, {}, n) if (!(t instanceof Object)) throw new TypeError( 'options() options parameter should be an object' ) return ( e.extend(!0, n, t), e.each(n, function (e, t) { if (void 0 === c[e]) throw new TypeError('option ' + e + ' is not recognized!') c[e](t) }), c ) }), (c.date = function (e) { if (0 === arguments.length) return h ? null : s.clone() if ( !( null === e || 'string' == typeof e || t.isMoment(e) || e instanceof Date ) ) throw new TypeError( 'date() parameter must be one of [null, string, moment or Date]' ) return Z(null === e ? null : ie(e)), c }), (c.format = function (e) { if (0 === arguments.length) return n.format if ('string' != typeof e && ('boolean' != typeof e || !1 !== e)) throw new TypeError( 'format() expects a string or boolean:false parameter ' + e ) return (n.format = e), l && pe(), c }), (c.timeZone = function (e) { if (0 === arguments.length) return n.timeZone if ('string' != typeof e) throw new TypeError('newZone() expects a string parameter') return (n.timeZone = e), c }), (c.dayViewHeaderFormat = function (e) { if (0 === arguments.length) return n.dayViewHeaderFormat if ('string' != typeof e) throw new TypeError( 'dayViewHeaderFormat() expects a string parameter' ) return (n.dayViewHeaderFormat = e), c }), (c.extraFormats = function (e) { if (0 === arguments.length) return n.extraFormats if (!1 !== e && !(e instanceof Array)) throw new TypeError( 'extraFormats() expects an array or false parameter' ) return (n.extraFormats = e), u && pe(), c }), (c.disabledDates = function (t) { if (0 === arguments.length) return n.disabledDates ? e.extend({}, n.disabledDates) : n.disabledDates if (!t) return (n.disabledDates = !1), Q(), c if (!(t instanceof Array)) throw new TypeError( 'disabledDates() expects an array parameter' ) return (n.disabledDates = ce(t)), (n.enabledDates = !1), Q(), c }), (c.enabledDates = function (t) { if (0 === arguments.length) return n.enabledDates ? e.extend({}, n.enabledDates) : n.enabledDates if (!t) return (n.enabledDates = !1), Q(), c if (!(t instanceof Array)) throw new TypeError( 'enabledDates() expects an array parameter' ) return (n.enabledDates = ce(t)), (n.disabledDates = !1), Q(), c }), (c.daysOfWeekDisabled = function (e) { if (0 === arguments.length) return n.daysOfWeekDisabled.splice(0) if ('boolean' == typeof e && !e) return (n.daysOfWeekDisabled = !1), Q(), c if (!(e instanceof Array)) throw new TypeError( 'daysOfWeekDisabled() expects an array parameter' ) if ( ((n.daysOfWeekDisabled = e .reduce(function (e, t) { return (t = parseInt(t, 10)) > 6 || t < 0 || isNaN(t) ? e : (-1 === e.indexOf(t) && e.push(t), e) }, []) .sort()), n.useCurrent && !n.keepInvalid) ) { for (var t = 0; !R(s, 'd'); ) { if ((s.add(1, 'd'), 31 === t)) throw 'Tried 31 times to find a valid date' t++ } Z(s) } return Q(), c }), (c.maxDate = function (e) { if (0 === arguments.length) return n.maxDate ? n.maxDate.clone() : n.maxDate if ('boolean' == typeof e && !1 === e) return (n.maxDate = !1), Q(), c 'string' == typeof e && (('now' !== e && 'moment' !== e) || (e = L())) var t = ie(e) if (!t.isValid()) throw new TypeError( 'maxDate() Could not parse date parameter: ' + e ) if (n.minDate && t.isBefore(n.minDate)) throw new TypeError( 'maxDate() date parameter is before options.minDate: ' + t.format(l) ) return ( (n.maxDate = t), n.useCurrent && !n.keepInvalid && s.isAfter(e) && Z(n.maxDate), r.isAfter(t) && (r = t.clone().subtract(n.stepping, 'm')), Q(), c ) }), (c.minDate = function (e) { if (0 === arguments.length) return n.minDate ? n.minDate.clone() : n.minDate if ('boolean' == typeof e && !1 === e) return (n.minDate = !1), Q(), c 'string' == typeof e && (('now' !== e && 'moment' !== e) || (e = L())) var t = ie(e) if (!t.isValid()) throw new TypeError( 'minDate() Could not parse date parameter: ' + e ) if (n.maxDate && t.isAfter(n.maxDate)) throw new TypeError( 'minDate() date parameter is after options.maxDate: ' + t.format(l) ) return ( (n.minDate = t), n.useCurrent && !n.keepInvalid && s.isBefore(e) && Z(n.minDate), r.isBefore(t) && (r = t.clone().add(n.stepping, 'm')), Q(), c ) }), (c.defaultDate = function (e) { if (0 === arguments.length) return n.defaultDate ? n.defaultDate.clone() : n.defaultDate if (!e) return (n.defaultDate = !1), c 'string' == typeof e && (e = 'now' === e || 'moment' === e ? L() : L(e)) var t = ie(e) if (!t.isValid()) throw new TypeError( 'defaultDate() Could not parse date parameter: ' + e ) if (!R(t)) throw new TypeError( 'defaultDate() date passed is invalid according to component setup validations' ) return ( (n.defaultDate = t), ((n.defaultDate && n.inline) || '' === a.val().trim()) && Z(n.defaultDate), c ) }), (c.locale = function (e) { if (0 === arguments.length) return n.locale if (!t.localeData(e)) throw new TypeError( 'locale() locale ' + e + ' is not loaded from moment locales!' ) return ( (n.locale = e), s.locale(n.locale), r.locale(n.locale), l && pe(), f && (ee(), re()), c ) }), (c.stepping = function (e) { return 0 === arguments.length ? n.stepping : ((e = parseInt(e, 10)), (isNaN(e) || e < 1) && (e = 1), (n.stepping = e), c) }), (c.useCurrent = function (e) { var t = ['year', 'month', 'day', 'hour', 'minute'] if (0 === arguments.length) return n.useCurrent if ('boolean' != typeof e && 'string' != typeof e) throw new TypeError( 'useCurrent() expects a boolean or string parameter' ) if ('string' == typeof e && -1 === t.indexOf(e.toLowerCase())) throw new TypeError( 'useCurrent() expects a string parameter of ' + t.join(', ') ) return (n.useCurrent = e), c }), (c.collapse = function (e) { if (0 === arguments.length) return n.collapse if ('boolean' != typeof e) throw new TypeError('collapse() expects a boolean parameter') return n.collapse === e ? c : ((n.collapse = e), f && (ee(), re()), c) }), (c.icons = function (t) { if (0 === arguments.length) return e.extend({}, n.icons) if (!(t instanceof Object)) throw new TypeError( 'icons() expects parameter to be an Object' ) return e.extend(n.icons, t), f && (ee(), re()), c }), (c.tooltips = function (t) { if (0 === arguments.length) return e.extend({}, n.tooltips) if (!(t instanceof Object)) throw new TypeError( 'tooltips() expects parameter to be an Object' ) return e.extend(n.tooltips, t), f && (ee(), re()), c }), (c.useStrict = function (e) { if (0 === arguments.length) return n.useStrict if ('boolean' != typeof e) throw new TypeError('useStrict() expects a boolean parameter') return (n.useStrict = e), c }), (c.sideBySide = function (e) { if (0 === arguments.length) return n.sideBySide if ('boolean' != typeof e) throw new TypeError( 'sideBySide() expects a boolean parameter' ) return (n.sideBySide = e), f && (ee(), re()), c }), (c.viewMode = function (e) { if (0 === arguments.length) return n.viewMode if ('string' != typeof e) throw new TypeError('viewMode() expects a string parameter') if (-1 === g.indexOf(e)) throw new TypeError( 'viewMode() parameter must be one of (' + g.join(', ') + ') value' ) return (n.viewMode = e), (d = Math.max(g.indexOf(e), m)), I(), c }), (c.toolbarPlacement = function (e) { if (0 === arguments.length) return n.toolbarPlacement if ('string' != typeof e) throw new TypeError( 'toolbarPlacement() expects a string parameter' ) if (-1 === b.indexOf(e)) throw new TypeError( 'toolbarPlacement() parameter must be one of (' + b.join(', ') + ') value' ) return (n.toolbarPlacement = e), f && (ee(), re()), c }), (c.widgetPositioning = function (t) { if (0 === arguments.length) return e.extend({}, n.widgetPositioning) if ('[object Object]' !== {}.toString.call(t)) throw new TypeError( 'widgetPositioning() expects an object variable' ) if (t.horizontal) { if ('string' != typeof t.horizontal) throw new TypeError( 'widgetPositioning() horizontal variable must be a string' ) if ( ((t.horizontal = t.horizontal.toLowerCase()), -1 === y.indexOf(t.horizontal)) ) throw new TypeError( 'widgetPositioning() expects horizontal parameter to be one of (' + y.join(', ') + ')' ) n.widgetPositioning.horizontal = t.horizontal } if (t.vertical) { if ('string' != typeof t.vertical) throw new TypeError( 'widgetPositioning() vertical variable must be a string' ) if ( ((t.vertical = t.vertical.toLowerCase()), -1 === v.indexOf(t.vertical)) ) throw new TypeError( 'widgetPositioning() expects vertical parameter to be one of (' + v.join(', ') + ')' ) n.widgetPositioning.vertical = t.vertical } return Q(), c }), (c.calendarWeeks = function (e) { if (0 === arguments.length) return n.calendarWeeks if ('boolean' != typeof e) throw new TypeError( 'calendarWeeks() expects parameter to be a boolean value' ) return (n.calendarWeeks = e), Q(), c }), (c.showTodayButton = function (e) { if (0 === arguments.length) return n.showTodayButton if ('boolean' != typeof e) throw new TypeError( 'showTodayButton() expects a boolean parameter' ) return (n.showTodayButton = e), f && (ee(), re()), c }), (c.showClear = function (e) { if (0 === arguments.length) return n.showClear if ('boolean' != typeof e) throw new TypeError('showClear() expects a boolean parameter') return (n.showClear = e), f && (ee(), re()), c }), (c.widgetParent = function (t) { if (0 === arguments.length) return n.widgetParent if ( ('string' == typeof t && (t = e(t)), null !== t && 'string' != typeof t && !(t instanceof e)) ) throw new TypeError( 'widgetParent() expects a string or a jQuery object parameter' ) return (n.widgetParent = t), f && (ee(), re()), c }), (c.keepOpen = function (e) { if (0 === arguments.length) return n.keepOpen if ('boolean' != typeof e) throw new TypeError('keepOpen() expects a boolean parameter') return (n.keepOpen = e), c }), (c.focusOnShow = function (e) { if (0 === arguments.length) return n.focusOnShow if ('boolean' != typeof e) throw new TypeError( 'focusOnShow() expects a boolean parameter' ) return (n.focusOnShow = e), c }), (c.inline = function (e) { if (0 === arguments.length) return n.inline if ('boolean' != typeof e) throw new TypeError('inline() expects a boolean parameter') return (n.inline = e), c }), (c.clear = function () { return te(), c }), (c.keyBinds = function (e) { return 0 === arguments.length ? n.keyBinds : ((n.keyBinds = e), c) }), (c.getMoment = function (e) { return L(e) }), (c.debug = function (e) { if ('boolean' != typeof e) throw new TypeError('debug() expects a boolean parameter') return (n.debug = e), c }), (c.allowInputToggle = function (e) { if (0 === arguments.length) return n.allowInputToggle if ('boolean' != typeof e) throw new TypeError( 'allowInputToggle() expects a boolean parameter' ) return (n.allowInputToggle = e), c }), (c.showClose = function (e) { if (0 === arguments.length) return n.showClose if ('boolean' != typeof e) throw new TypeError('showClose() expects a boolean parameter') return (n.showClose = e), c }), (c.keepInvalid = function (e) { if (0 === arguments.length) return n.keepInvalid if ('boolean' != typeof e) throw new TypeError( 'keepInvalid() expects a boolean parameter' ) return (n.keepInvalid = e), c }), (c.datepickerInput = function (e) { if (0 === arguments.length) return n.datepickerInput if ('string' != typeof e) throw new TypeError( 'datepickerInput() expects a string parameter' ) return (n.datepickerInput = e), c }), (c.parseInputDate = function (e) { if (0 === arguments.length) return n.parseInputDate if ('function' != typeof e) throw new TypeError('parseInputDate() sholud be as function') return (n.parseInputDate = e), c }), (c.disabledTimeIntervals = function (t) { if (0 === arguments.length) return n.disabledTimeIntervals ? e.extend({}, n.disabledTimeIntervals) : n.disabledTimeIntervals if (!t) return (n.disabledTimeIntervals = !1), Q(), c if (!(t instanceof Array)) throw new TypeError( 'disabledTimeIntervals() expects an array parameter' ) return (n.disabledTimeIntervals = t), Q(), c }), (c.disabledHours = function (t) { if (0 === arguments.length) return n.disabledHours ? e.extend({}, n.disabledHours) : n.disabledHours if (!t) return (n.disabledHours = !1), Q(), c if (!(t instanceof Array)) throw new TypeError( 'disabledHours() expects an array parameter' ) if ( ((n.disabledHours = he(t)), (n.enabledHours = !1), n.useCurrent && !n.keepInvalid) ) { for (var i = 0; !R(s, 'h'); ) { if ((s.add(1, 'h'), 24 === i)) throw 'Tried 24 times to find a valid date' i++ } Z(s) } return Q(), c }), (c.enabledHours = function (t) { if (0 === arguments.length) return n.enabledHours ? e.extend({}, n.enabledHours) : n.enabledHours if (!t) return (n.enabledHours = !1), Q(), c if (!(t instanceof Array)) throw new TypeError( 'enabledHours() expects an array parameter' ) if ( ((n.enabledHours = he(t)), (n.disabledHours = !1), n.useCurrent && !n.keepInvalid) ) { for (var i = 0; !R(s, 'h'); ) { if ((s.add(1, 'h'), 24 === i)) throw 'Tried 24 times to find a valid date' i++ } Z(s) } return Q(), c }), (c.viewDate = function (e) { if (0 === arguments.length) return r.clone() if (!e) return (r = s.clone()), c if ( !('string' == typeof e || t.isMoment(e) || e instanceof Date) ) throw new TypeError( 'viewDate() parameter must be one of [string, moment or Date]' ) return (r = ie(e)), P(), c }), i.is('input')) ) a = i else if (((a = i.find(n.datepickerInput)), 0 === a.length)) a = i.find('input') else if (!a.is('input')) throw new Error( 'CSS class "' + n.datepickerInput + '" cannot be applied to non input element' ) if ( (i.hasClass('input-group') && (p = 0 === i.find('.datepickerbutton').length ? i.find('.input-group-addon') : i.find('.datepickerbutton')), !n.inline && !a.is('input')) ) throw new Error( 'Could not initialize DateTimePicker without an input element' ) return ( (s = L()), (r = s.clone()), e.extend( !0, n, (function () { var t, s = {} return ( (t = i.is('input') || n.inline ? i.data() : i.find('input').data()), t.dateOptions && t.dateOptions instanceof Object && (s = e.extend(!0, s, t.dateOptions)), e.each(n, function (e) { var i = 'date' + e.charAt(0).toUpperCase() + e.slice(1) void 0 !== t[i] && (s[e] = t[i]) }), s ) })() ), c.options(n), pe(), (function () { a.on({ change: ue, blur: n.debug ? '' : ee, keydown: oe, keyup: le, focus: n.allowInputToggle ? re : '', }), i.is('input') ? a.on({ focus: re }) : p && (p.on('click', ae), p.on('mousedown', !1)) })(), a.prop('disabled') && c.disable(), a.is('input') && 0 !== a.val().trim().length ? Z(ie(a.val().trim())) : n.defaultDate && void 0 === a.attr('placeholder') && Z(n.defaultDate), n.inline && re(), c ) } return ( (e.fn.datetimepicker = function (t) { t = t || {} var n, s = Array.prototype.slice.call(arguments, 1), r = !0, a = ['destroy', 'hide', 'show', 'toggle'] if ('object' == typeof t) return this.each(function () { var n, s = e(this) s.data('DateTimePicker') || ((n = e.extend(!0, {}, e.fn.datetimepicker.defaults, t)), s.data('DateTimePicker', i(s, n))) }) if ('string' == typeof t) return ( this.each(function () { var i = e(this), a = i.data('DateTimePicker') if (!a) throw new Error( 'bootstrap-datetimepicker("' + t + '") method was called on an element that is not using DateTimePicker' ) ;(n = a[t].apply(a, s)), (r = n === a) }), r || e.inArray(t, a) > -1 ? this : n ) throw new TypeError('Invalid arguments for DateTimePicker: ' + t) }), (e.fn.datetimepicker.defaults = { timeZone: '', format: !1, dayViewHeaderFormat: 'MMMM YYYY', extraFormats: !1, stepping: 1, minDate: !1, maxDate: !1, useCurrent: !0, collapse: !0, locale: t.locale(), defaultDate: !1, disabledDates: !1, enabledDates: !1, icons: { time: 'glyphicon glyphicon-time', date: 'glyphicon glyphicon-calendar', up: 'glyphicon glyphicon-chevron-up', down: 'glyphicon glyphicon-chevron-down', previous: 'glyphicon glyphicon-chevron-left', next: 'glyphicon glyphicon-chevron-right', today: 'glyphicon glyphicon-screenshot', clear: 'glyphicon glyphicon-trash', close: 'glyphicon glyphicon-remove', }, tooltips: { today: 'Go to today', clear: 'Clear selection', close: 'Close the picker', selectMonth: 'Select Month', prevMonth: 'Previous Month', nextMonth: 'Next Month', selectYear: 'Select Year', prevYear: 'Previous Year', nextYear: 'Next Year', selectDecade: 'Select Decade', prevDecade: 'Previous Decade', nextDecade: 'Next Decade', prevCentury: 'Previous Century', nextCentury: 'Next Century', pickHour: 'Pick Hour', incrementHour: 'Increment Hour', decrementHour: 'Decrement Hour', pickMinute: 'Pick Minute', incrementMinute: 'Increment Minute', decrementMinute: 'Decrement Minute', pickSecond: 'Pick Second', incrementSecond: 'Increment Second', decrementSecond: 'Decrement Second', togglePeriod: 'Toggle Period', selectTime: 'Select Time', }, useStrict: !1, sideBySide: !1, daysOfWeekDisabled: !1, calendarWeeks: !1, viewMode: 'days', toolbarPlacement: 'default', showTodayButton: !1, showClear: !1, showClose: !1, widgetPositioning: { horizontal: 'auto', vertical: 'auto' }, widgetParent: null, ignoreReadonly: !1, keepOpen: !1, focusOnShow: !0, inline: !1, keepInvalid: !1, datepickerInput: '.datepickerinput', keyBinds: { up: function (e) { if (e) { var t = this.date() || this.getMoment() e.find('.datepicker').is(':visible') ? this.date(t.clone().subtract(7, 'd')) : this.date(t.clone().add(this.stepping(), 'm')) } }, down: function (e) { if (!e) return void this.show() var t = this.date() || this.getMoment() e.find('.datepicker').is(':visible') ? this.date(t.clone().add(7, 'd')) : this.date(t.clone().subtract(this.stepping(), 'm')) }, 'control up': function (e) { if (e) { var t = this.date() || this.getMoment() e.find('.datepicker').is(':visible') ? this.date(t.clone().subtract(1, 'y')) : this.date(t.clone().add(1, 'h')) } }, 'control down': function (e) { if (e) { var t = this.date() || this.getMoment() e.find('.datepicker').is(':visible') ? this.date(t.clone().add(1, 'y')) : this.date(t.clone().subtract(1, 'h')) } }, left: function (e) { if (e) { var t = this.date() || this.getMoment() e.find('.datepicker').is(':visible') && this.date(t.clone().subtract(1, 'd')) } }, right: function (e) { if (e) { var t = this.date() || this.getMoment() e.find('.datepicker').is(':visible') && this.date(t.clone().add(1, 'd')) } }, pageUp: function (e) { if (e) { var t = this.date() || this.getMoment() e.find('.datepicker').is(':visible') && this.date(t.clone().subtract(1, 'M')) } }, pageDown: function (e) { if (e) { var t = this.date() || this.getMoment() e.find('.datepicker').is(':visible') && this.date(t.clone().add(1, 'M')) } }, enter: function () { this.hide() }, escape: function () { this.hide() }, 'control space': function (e) { e && e.find('.timepicker').is(':visible') && e.find('.btn[data-action="togglePeriod"]').click() }, t: function () { this.date(this.getMoment()) }, delete: function () { this.clear() }, }, debug: !1, allowInputToggle: !1, disabledTimeIntervals: !1, disabledHours: !1, enabledHours: !1, viewDate: !1, }), e.fn.datetimepicker ) }) }).call(window) }).call(t, i(41), i(14)) }, function (e, t, i) { var n = !1 ;(function () { !(function (e) { 'function' == typeof n && n.amd ? n(['jquery'], e) : e(window.jQuery || window.Zepto) })(function (e) { var t, i, n, s, r, a, o = function () {}, l = !!window.jQuery, u = e(window), d = function (e, i) { t.ev.on('mfp' + e + '.mfp', i) }, c = function (t, i, n, s) { var r = document.createElement('div') return ( (r.className = 'mfp-' + t), n && (r.innerHTML = n), s ? i && i.appendChild(r) : ((r = e(r)), i && r.appendTo(i)), r ) }, h = function (i, n) { t.ev.triggerHandler('mfp' + i, n), t.st.callbacks && ((i = i.charAt(0).toLowerCase() + i.slice(1)), t.st.callbacks[i] && t.st.callbacks[i].apply(t, e.isArray(n) ? n : [n])) }, p = function (i) { return ( (i === a && t.currTemplate.closeBtn) || ((t.currTemplate.closeBtn = e( t.st.closeMarkup.replace('%title%', t.st.tClose) )), (a = i)), t.currTemplate.closeBtn ) }, f = function () { e.magnificPopup.instance || ((t = new o()), t.init(), (e.magnificPopup.instance = t)) }, m = function () { var e = document.createElement('p').style, t = ['ms', 'O', 'Moz', 'Webkit'] if (void 0 !== e.transition) return !0 for (; t.length; ) if (t.pop() + 'Transition' in e) return !0 return !1 } ;(o.prototype = { constructor: o, init: function () { var i = navigator.appVersion ;(t.isLowIE = t.isIE8 = document.all && !document.addEventListener), (t.isAndroid = /android/gi.test(i)), (t.isIOS = /iphone|ipad|ipod/gi.test(i)), (t.supportsTransition = m()), (t.probablyMobile = t.isAndroid || t.isIOS || /(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test( navigator.userAgent )), (n = e(document)), (t.popupsCache = {}) }, open: function (i) { var s if (!1 === i.isObj) { ;(t.items = i.items.toArray()), (t.index = 0) var a, o = i.items for (s = 0; s < o.length; s++) if (((a = o[s]), a.parsed && (a = a.el[0]), a === i.el[0])) { t.index = s break } } else (t.items = e.isArray(i.items) ? i.items : [i.items]), (t.index = i.index || 0) if (t.isOpen) return void t.updateItemHTML() ;(t.types = []), (r = ''), i.mainEl && i.mainEl.length ? (t.ev = i.mainEl.eq(0)) : (t.ev = n), i.key ? (t.popupsCache[i.key] || (t.popupsCache[i.key] = {}), (t.currTemplate = t.popupsCache[i.key])) : (t.currTemplate = {}), (t.st = e.extend(!0, {}, e.magnificPopup.defaults, i)), (t.fixedContentPos = 'auto' === t.st.fixedContentPos ? !t.probablyMobile : t.st.fixedContentPos), t.st.modal && ((t.st.closeOnContentClick = !1), (t.st.closeOnBgClick = !1), (t.st.showCloseBtn = !1), (t.st.enableEscapeKey = !1)), t.bgOverlay || ((t.bgOverlay = c('bg').on('click.mfp', function () { t.close() })), (t.wrap = c('wrap') .attr('tabindex', -1) .on('click.mfp', function (e) { t._checkIfClose(e.target) && t.close() })), (t.container = c('container', t.wrap))), (t.contentContainer = c('content')), t.st.preloader && (t.preloader = c('preloader', t.container, t.st.tLoading)) var l = e.magnificPopup.modules for (s = 0; s < l.length; s++) { var f = l[s] ;(f = f.charAt(0).toUpperCase() + f.slice(1)), t['init' + f].call(t) } h('BeforeOpen'), t.st.showCloseBtn && (t.st.closeBtnInside ? (d('MarkupParse', function (e, t, i, n) { i.close_replaceWith = p(n.type) }), (r += ' mfp-close-btn-in')) : t.wrap.append(p())), t.st.alignTop && (r += ' mfp-align-top'), t.fixedContentPos ? t.wrap.css({ overflow: t.st.overflowY, overflowX: 'hidden', overflowY: t.st.overflowY, }) : t.wrap.css({ top: u.scrollTop(), position: 'absolute' }), (!1 === t.st.fixedBgPos || ('auto' === t.st.fixedBgPos && !t.fixedContentPos)) && t.bgOverlay.css({ height: n.height(), position: 'absolute' }), t.st.enableEscapeKey && n.on('keyup.mfp', function (e) { 27 === e.keyCode && t.close() }), u.on('resize.mfp', function () { t.updateSize() }), t.st.closeOnContentClick || (r += ' mfp-auto-cursor'), r && t.wrap.addClass(r) var m = (t.wH = u.height()), _ = {} if (t.fixedContentPos && t._hasScrollBar(m)) { var g = t._getScrollbarSize() g && (_.marginRight = g) } t.fixedContentPos && (t.isIE7 ? e('body, html').css('overflow', 'hidden') : (_.overflow = 'hidden')) var v = t.st.mainClass return ( t.isIE7 && (v += ' mfp-ie7'), v && t._addClassToMFP(v), t.updateItemHTML(), h('BuildControls'), e('html').css(_), t.bgOverlay .add(t.wrap) .prependTo(t.st.prependTo || e(document.body)), (t._lastFocusedEl = document.activeElement), setTimeout(function () { t.content ? (t._addClassToMFP('mfp-ready'), t._setFocus()) : t.bgOverlay.addClass('mfp-ready'), n.on('focusin.mfp', t._onFocusIn) }, 16), (t.isOpen = !0), t.updateSize(m), h('Open'), i ) }, close: function () { t.isOpen && (h('BeforeClose'), (t.isOpen = !1), t.st.removalDelay && !t.isLowIE && t.supportsTransition ? (t._addClassToMFP('mfp-removing'), setTimeout(function () { t._close() }, t.st.removalDelay)) : t._close()) }, _close: function () { h('Close') var i = 'mfp-removing mfp-ready ' if ( (t.bgOverlay.detach(), t.wrap.detach(), t.container.empty(), t.st.mainClass && (i += t.st.mainClass + ' '), t._removeClassFromMFP(i), t.fixedContentPos) ) { var s = { marginRight: '' } t.isIE7 ? e('body, html').css('overflow', '') : (s.overflow = ''), e('html').css(s) } n.off('keyup.mfp focusin.mfp'), t.ev.off('.mfp'), t.wrap.attr('class', 'mfp-wrap').removeAttr('style'), t.bgOverlay.attr('class', 'mfp-bg'), t.container.attr('class', 'mfp-container'), !t.st.showCloseBtn || (t.st.closeBtnInside && !0 !== t.currTemplate[t.currItem.type]) || (t.currTemplate.closeBtn && t.currTemplate.closeBtn.detach()), t.st.autoFocusLast && t._lastFocusedEl && e(t._lastFocusedEl).focus(), (t.currItem = null), (t.content = null), (t.currTemplate = null), (t.prevHeight = 0), h('AfterClose') }, updateSize: function (e) { if (t.isIOS) { var i = document.documentElement.clientWidth / window.innerWidth, n = window.innerHeight * i t.wrap.css('height', n), (t.wH = n) } else t.wH = e || u.height() t.fixedContentPos || t.wrap.css('height', t.wH), h('Resize') }, updateItemHTML: function () { var i = t.items[t.index] t.contentContainer.detach(), t.content && t.content.detach(), i.parsed || (i = t.parseEl(t.index)) var n = i.type if ( (h('BeforeChange', [t.currItem ? t.currItem.type : '', n]), (t.currItem = i), !t.currTemplate[n]) ) { var r = !!t.st[n] && t.st[n].markup h('FirstMarkupParse', r), (t.currTemplate[n] = !r || e(r)) } s && s !== i.type && t.container.removeClass('mfp-' + s + '-holder') var a = t['get' + n.charAt(0).toUpperCase() + n.slice(1)]( i, t.currTemplate[n] ) t.appendContent(a, n), (i.preloaded = !0), h('Change', i), (s = i.type), t.container.prepend(t.contentContainer), h('AfterChange') }, appendContent: function (e, i) { ;(t.content = e), e ? t.st.showCloseBtn && t.st.closeBtnInside && !0 === t.currTemplate[i] ? t.content.find('.mfp-close').length || t.content.append(p()) : (t.content = e) : (t.content = ''), h('BeforeAppend'), t.container.addClass('mfp-' + i + '-holder'), t.contentContainer.append(t.content) }, parseEl: function (i) { var n, s = t.items[i] if ( (s.tagName ? (s = { el: e(s) }) : ((n = s.type), (s = { data: s, src: s.src })), s.el) ) { for (var r = t.types, a = 0; a < r.length; a++) if (s.el.hasClass('mfp-' + r[a])) { n = r[a] break } ;(s.src = s.el.attr('data-mfp-src')), s.src || (s.src = s.el.attr('href')) } return ( (s.type = n || t.st.type || 'inline'), (s.index = i), (s.parsed = !0), (t.items[i] = s), h('ElementParse', s), t.items[i] ) }, addGroup: function (e, i) { var n = function (n) { ;(n.mfpEl = this), t._openClick(n, e, i) } i || (i = {}) var s = 'click.magnificPopup' ;(i.mainEl = e), i.items ? ((i.isObj = !0), e.off(s).on(s, n)) : ((i.isObj = !1), i.delegate ? e.off(s).on(s, i.delegate, n) : ((i.items = e), e.off(s).on(s, n))) }, _openClick: function (i, n, s) { if ( (void 0 !== s.midClick ? s.midClick : e.magnificPopup.defaults.midClick) || !( 2 === i.which || i.ctrlKey || i.metaKey || i.altKey || i.shiftKey ) ) { var r = void 0 !== s.disableOn ? s.disableOn : e.magnificPopup.defaults.disableOn if (r) if (e.isFunction(r)) { if (!r.call(t)) return !0 } else if (u.width() < r) return !0 i.type && (i.preventDefault(), t.isOpen && i.stopPropagation()), (s.el = e(i.mfpEl)), s.delegate && (s.items = n.find(s.delegate)), t.open(s) } }, updateStatus: function (e, n) { if (t.preloader) { i !== e && t.container.removeClass('mfp-s-' + i), n || 'loading' !== e || (n = t.st.tLoading) var s = { status: e, text: n } h('UpdateStatus', s), (e = s.status), (n = s.text), t.preloader.html(n), t.preloader.find('a').on('click', function (e) { e.stopImmediatePropagation() }), t.container.addClass('mfp-s-' + e), (i = e) } }, _checkIfClose: function (i) { if (!e(i).hasClass('mfp-prevent-close')) { var n = t.st.closeOnContentClick, s = t.st.closeOnBgClick if (n && s) return !0 if ( !t.content || e(i).hasClass('mfp-close') || (t.preloader && i === t.preloader[0]) ) return !0 if (i === t.content[0] || e.contains(t.content[0], i)) { if (n) return !0 } else if (s && e.contains(document, i)) return !0 return !1 } }, _addClassToMFP: function (e) { t.bgOverlay.addClass(e), t.wrap.addClass(e) }, _removeClassFromMFP: function (e) { this.bgOverlay.removeClass(e), t.wrap.removeClass(e) }, _hasScrollBar: function (e) { return ( (t.isIE7 ? n.height() : document.body.scrollHeight) > (e || u.height()) ) }, _setFocus: function () { ;(t.st.focus ? t.content.find(t.st.focus).eq(0) : t.wrap).focus() }, _onFocusIn: function (i) { if (i.target !== t.wrap[0] && !e.contains(t.wrap[0], i.target)) return t._setFocus(), !1 }, _parseMarkup: function (t, i, n) { var s n.data && (i = e.extend(n.data, i)), h('MarkupParse', [t, i, n]), e.each(i, function (i, n) { if (void 0 === n || !1 === n) return !0 if (((s = i.split('_')), s.length > 1)) { var r = t.find('.mfp-' + s[0]) if (r.length > 0) { var a = s[1] 'replaceWith' === a ? r[0] !== n[0] && r.replaceWith(n) : 'img' === a ? r.is('img') ? r.attr('src', n) : r.replaceWith( e('') .attr('src', n) .attr('class', r.attr('class')) ) : r.attr(s[1], n) } } else t.find('.mfp-' + i).html(n) }) }, _getScrollbarSize: function () { if (void 0 === t.scrollbarSize) { var e = document.createElement('div') ;(e.style.cssText = 'width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;'), document.body.appendChild(e), (t.scrollbarSize = e.offsetWidth - e.clientWidth), document.body.removeChild(e) } return t.scrollbarSize }, }), (e.magnificPopup = { instance: null, proto: o.prototype, modules: [], open: function (t, i) { return ( f(), (t = t ? e.extend(!0, {}, t) : {}), (t.isObj = !0), (t.index = i || 0), this.instance.open(t) ) }, close: function () { return ( e.magnificPopup.instance && e.magnificPopup.instance.close() ) }, registerModule: function (t, i) { i.options && (e.magnificPopup.defaults[t] = i.options), e.extend(this.proto, i.proto), this.modules.push(t) }, defaults: { disableOn: 0, key: null, midClick: !1, mainClass: '', preloader: !0, focus: '', closeOnContentClick: !1, closeOnBgClick: !0, closeBtnInside: !0, showCloseBtn: !0, enableEscapeKey: !0, modal: !1, alignTop: !1, removalDelay: 0, prependTo: null, fixedContentPos: 'auto', fixedBgPos: 'auto', overflowY: 'auto', closeMarkup: '', tClose: 'Close (Esc)', tLoading: 'Loading...', autoFocusLast: !0, }, }), (e.fn.magnificPopup = function (i) { f() var n = e(this) if ('string' == typeof i) if ('open' === i) { var s, r = l ? n.data('magnificPopup') : n[0].magnificPopup, a = parseInt(arguments[1], 10) || 0 r.items ? (s = r.items[a]) : ((s = n), r.delegate && (s = s.find(r.delegate)), (s = s.eq(a))), t._openClick({ mfpEl: s }, n, r) } else t.isOpen && t[i].apply(t, Array.prototype.slice.call(arguments, 1)) else (i = e.extend(!0, {}, i)), l ? n.data('magnificPopup', i) : (n[0].magnificPopup = i), t.addGroup(n, i) return n }) var _, g, v, y = function () { v && (g.after(v.addClass(_)).detach(), (v = null)) } e.magnificPopup.registerModule('inline', { options: { hiddenClass: 'hide', markup: '', tNotFound: 'Content not found', }, proto: { initInline: function () { t.types.push('inline'), d('Close.inline', function () { y() }) }, getInline: function (i, n) { if ((y(), i.src)) { var s = t.st.inline, r = e(i.src) if (r.length) { var a = r[0].parentNode a && a.tagName && (g || ((_ = s.hiddenClass), (g = c(_)), (_ = 'mfp-' + _)), (v = r.after(g).detach().removeClass(_))), t.updateStatus('ready') } else t.updateStatus('error', s.tNotFound), (r = e('
    ')) return (i.inlineElement = r), r } return t.updateStatus('ready'), t._parseMarkup(n, {}, i), n }, }, }) var b, w = function () { b && e(document.body).removeClass(b) }, M = function () { w(), t.req && t.req.abort() } e.magnificPopup.registerModule('ajax', { options: { settings: null, cursor: 'mfp-ajax-cur', tError: 'The content could not be loaded.', }, proto: { initAjax: function () { t.types.push('ajax'), (b = t.st.ajax.cursor), d('Close.ajax', M), d('BeforeChange.ajax', M) }, getAjax: function (i) { b && e(document.body).addClass(b), t.updateStatus('loading') var n = e.extend( { url: i.src, success: function (n, s, r) { var a = { data: n, xhr: r } h('ParseAjax', a), t.appendContent(e(a.data), 'ajax'), (i.finished = !0), w(), t._setFocus(), setTimeout(function () { t.wrap.addClass('mfp-ready') }, 16), t.updateStatus('ready'), h('AjaxContentAdded') }, error: function () { w(), (i.finished = i.loadError = !0), t.updateStatus( 'error', t.st.ajax.tError.replace('%url%', i.src) ) }, }, t.st.ajax.settings ) return (t.req = e.ajax(n)), '' }, }, }) var k, L = function (i) { if (i.data && void 0 !== i.data.title) return i.data.title var n = t.st.image.titleSrc if (n) { if (e.isFunction(n)) return n.call(t, i) if (i.el) return i.el.attr(n) || '' } return '' } e.magnificPopup.registerModule('image', { options: { markup: '
    ', cursor: 'mfp-zoom-out-cur', titleSrc: 'title', verticalFit: !0, tError: 'The image could not be loaded.', }, proto: { initImage: function () { var i = t.st.image, n = '.image' t.types.push('image'), d('Open' + n, function () { 'image' === t.currItem.type && i.cursor && e(document.body).addClass(i.cursor) }), d('Close' + n, function () { i.cursor && e(document.body).removeClass(i.cursor), u.off('resize.mfp') }), d('Resize' + n, t.resizeImage), t.isLowIE && d('AfterChange', t.resizeImage) }, resizeImage: function () { var e = t.currItem if (e && e.img && t.st.image.verticalFit) { var i = 0 t.isLowIE && (i = parseInt(e.img.css('padding-top'), 10) + parseInt(e.img.css('padding-bottom'), 10)), e.img.css('max-height', t.wH - i) } }, _onImageHasSize: function (e) { e.img && ((e.hasSize = !0), k && clearInterval(k), (e.isCheckingImgSize = !1), h('ImageHasSize', e), e.imgHidden && (t.content && t.content.removeClass('mfp-loading'), (e.imgHidden = !1))) }, findImageSize: function (e) { var i = 0, n = e.img[0], s = function (r) { k && clearInterval(k), (k = setInterval(function () { if (n.naturalWidth > 0) return void t._onImageHasSize(e) i > 200 && clearInterval(k), i++, 3 === i ? s(10) : 40 === i ? s(50) : 100 === i && s(500) }, r)) } s(1) }, getImage: function (i, n) { var s = 0, r = function () { i && (i.img[0].complete ? (i.img.off('.mfploader'), i === t.currItem && (t._onImageHasSize(i), t.updateStatus('ready')), (i.hasSize = !0), (i.loaded = !0), h('ImageLoadComplete')) : (s++, s < 200 ? setTimeout(r, 100) : a())) }, a = function () { i && (i.img.off('.mfploader'), i === t.currItem && (t._onImageHasSize(i), t.updateStatus( 'error', o.tError.replace('%url%', i.src) )), (i.hasSize = !0), (i.loaded = !0), (i.loadError = !0)) }, o = t.st.image, l = n.find('.mfp-img') if (l.length) { var u = document.createElement('img') ;(u.className = 'mfp-img'), i.el && i.el.find('img').length && (u.alt = i.el.find('img').attr('alt')), (i.img = e(u) .on('load.mfploader', r) .on('error.mfploader', a)), (u.src = i.src), l.is('img') && (i.img = i.img.clone()), (u = i.img[0]), u.naturalWidth > 0 ? (i.hasSize = !0) : u.width || (i.hasSize = !1) } return ( t._parseMarkup(n, { title: L(i), img_replaceWith: i.img }, i), t.resizeImage(), i.hasSize ? (k && clearInterval(k), i.loadError ? (n.addClass('mfp-loading'), t.updateStatus( 'error', o.tError.replace('%url%', i.src) )) : (n.removeClass('mfp-loading'), t.updateStatus('ready')), n) : (t.updateStatus('loading'), (i.loading = !0), i.hasSize || ((i.imgHidden = !0), n.addClass('mfp-loading'), t.findImageSize(i)), n) ) }, }, }) var D, T = function () { return ( void 0 === D && (D = void 0 !== document.createElement('p').style.MozTransform), D ) } e.magnificPopup.registerModule('zoom', { options: { enabled: !1, easing: 'ease-in-out', duration: 300, opener: function (e) { return e.is('img') ? e : e.find('img') }, }, proto: { initZoom: function () { var e, i = t.st.zoom, n = '.zoom' if (i.enabled && t.supportsTransition) { var s, r, a = i.duration, o = function (e) { var t = e .clone() .removeAttr('style') .removeAttr('class') .addClass('mfp-animated-image'), n = 'all ' + i.duration / 1e3 + 's ' + i.easing, s = { position: 'fixed', zIndex: 9999, left: 0, top: 0, '-webkit-backface-visibility': 'hidden', }, r = 'transition' return ( (s['-webkit-' + r] = s['-moz-' + r] = s['-o-' + r] = s[r] = n), t.css(s), t ) }, l = function () { t.content.css('visibility', 'visible') } d('BuildControls' + n, function () { if (t._allowZoom()) { if ( (clearTimeout(s), t.content.css('visibility', 'hidden'), !(e = t._getItemToZoom())) ) return void l() ;(r = o(e)), r.css(t._getOffset()), t.wrap.append(r), (s = setTimeout(function () { r.css(t._getOffset(!0)), (s = setTimeout(function () { l(), setTimeout(function () { r.remove(), (e = r = null), h('ZoomAnimationEnded') }, 16) }, a)) }, 16)) } }), d('BeforeClose' + n, function () { if (t._allowZoom()) { if ((clearTimeout(s), (t.st.removalDelay = a), !e)) { if (!(e = t._getItemToZoom())) return r = o(e) } r.css(t._getOffset(!0)), t.wrap.append(r), t.content.css('visibility', 'hidden'), setTimeout(function () { r.css(t._getOffset()) }, 16) } }), d('Close' + n, function () { t._allowZoom() && (l(), r && r.remove(), (e = null)) }) } }, _allowZoom: function () { return 'image' === t.currItem.type }, _getItemToZoom: function () { return !!t.currItem.hasSize && t.currItem.img }, _getOffset: function (i) { var n n = i ? t.currItem.img : t.st.zoom.opener(t.currItem.el || t.currItem) var s = n.offset(), r = parseInt(n.css('padding-top'), 10), a = parseInt(n.css('padding-bottom'), 10) s.top -= e(window).scrollTop() - r var o = { width: n.width(), height: (l ? n.innerHeight() : n[0].offsetHeight) - a - r, } return ( T() ? (o['-moz-transform'] = o.transform = 'translate(' + s.left + 'px,' + s.top + 'px)') : ((o.left = s.left), (o.top = s.top)), o ) }, }, }) var Y = function (e) { if (t.currTemplate.iframe) { var i = t.currTemplate.iframe.find('iframe') i.length && (e || (i[0].src = '//about:blank'), t.isIE8 && i.css('display', e ? 'block' : 'none')) } } e.magnificPopup.registerModule('iframe', { options: { markup: '
    ', srcAction: 'iframe_src', patterns: { youtube: { index: 'youtube.com', id: 'v=', src: '//www.youtube.com/embed/%id%?autoplay=1', }, vimeo: { index: 'vimeo.com/', id: '/', src: '//player.vimeo.com/video/%id%?autoplay=1', }, gmaps: { index: '//maps.google.', src: '%id%&output=embed' }, }, }, proto: { initIframe: function () { t.types.push('iframe'), d('BeforeChange', function (e, t, i) { t !== i && ('iframe' === t ? Y() : 'iframe' === i && Y(!0)) }), d('Close.iframe', function () { Y() }) }, getIframe: function (i, n) { var s = i.src, r = t.st.iframe e.each(r.patterns, function () { if (s.indexOf(this.index) > -1) return ( this.id && (s = 'string' == typeof this.id ? s.substr( s.lastIndexOf(this.id) + this.id.length, s.length ) : this.id.call(this, s)), (s = this.src.replace('%id%', s)), !1 ) }) var a = {} return ( r.srcAction && (a[r.srcAction] = s), t._parseMarkup(n, a, i), t.updateStatus('ready'), n ) }, }, }) var x = function (e) { var i = t.items.length return e > i - 1 ? e - i : e < 0 ? i + e : e }, C = function (e, t, i) { return e.replace(/%curr%/gi, t + 1).replace(/%total%/gi, i) } e.magnificPopup.registerModule('gallery', { options: { enabled: !1, arrowMarkup: '', preload: [0, 2], navigateByImgClick: !0, arrows: !0, tPrev: 'Previous (Left arrow key)', tNext: 'Next (Right arrow key)', tCounter: '%curr% of %total%', }, proto: { initGallery: function () { var i = t.st.gallery, s = '.mfp-gallery' if (((t.direction = !0), !i || !i.enabled)) return !1 ;(r += ' mfp-gallery'), d('Open' + s, function () { i.navigateByImgClick && t.wrap.on('click' + s, '.mfp-img', function () { if (t.items.length > 1) return t.next(), !1 }), n.on('keydown' + s, function (e) { 37 === e.keyCode ? t.prev() : 39 === e.keyCode && t.next() }) }), d('UpdateStatus' + s, function (e, i) { i.text && (i.text = C(i.text, t.currItem.index, t.items.length)) }), d('MarkupParse' + s, function (e, n, s, r) { var a = t.items.length s.counter = a > 1 ? C(i.tCounter, r.index, a) : '' }), d('BuildControls' + s, function () { if (t.items.length > 1 && i.arrows && !t.arrowLeft) { var n = i.arrowMarkup, s = (t.arrowLeft = e( n .replace(/%title%/gi, i.tPrev) .replace(/%dir%/gi, 'left') ).addClass('mfp-prevent-close')), r = (t.arrowRight = e( n .replace(/%title%/gi, i.tNext) .replace(/%dir%/gi, 'right') ).addClass('mfp-prevent-close')) s.click(function () { t.prev() }), r.click(function () { t.next() }), t.container.append(s.add(r)) } }), d('Change' + s, function () { t._preloadTimeout && clearTimeout(t._preloadTimeout), (t._preloadTimeout = setTimeout(function () { t.preloadNearbyImages(), (t._preloadTimeout = null) }, 16)) }), d('Close' + s, function () { n.off(s), t.wrap.off('click' + s), (t.arrowRight = t.arrowLeft = null) }) }, next: function () { ;(t.direction = !0), (t.index = x(t.index + 1)), t.updateItemHTML() }, prev: function () { ;(t.direction = !1), (t.index = x(t.index - 1)), t.updateItemHTML() }, goTo: function (e) { ;(t.direction = e >= t.index), (t.index = e), t.updateItemHTML() }, preloadNearbyImages: function () { var e, i = t.st.gallery.preload, n = Math.min(i[0], t.items.length), s = Math.min(i[1], t.items.length) for (e = 1; e <= (t.direction ? s : n); e++) t._preloadItem(t.index + e) for (e = 1; e <= (t.direction ? n : s); e++) t._preloadItem(t.index - e) }, _preloadItem: function (i) { if (((i = x(i)), !t.items[i].preloaded)) { var n = t.items[i] n.parsed || (n = t.parseEl(i)), h('LazyLoad', n), 'image' === n.type && (n.img = e('') .on('load.mfploader', function () { n.hasSize = !0 }) .on('error.mfploader', function () { ;(n.hasSize = !0), (n.loadError = !0), h('LazyLoadError', n) }) .attr('src', n.src)), (n.preloaded = !0) } }, }, }) e.magnificPopup.registerModule('retina', { options: { replaceSrc: function (e) { return e.src.replace(/\.\w+$/, function (e) { return '@2x' + e }) }, ratio: 1, }, proto: { initRetina: function () { if (window.devicePixelRatio > 1) { var e = t.st.retina, i = e.ratio ;(i = isNaN(i) ? i() : i), i > 1 && (d('ImageHasSize.retina', function (e, t) { t.img.css({ 'max-width': t.img[0].naturalWidth / i, width: '100%', }) }), d('ElementParse.retina', function (t, n) { n.src = e.replaceSrc(n, i) })) } }, }, }), f() }) }).call(window) }, function (e, t, i) { ;(function (e, t) { var i = !1 ;(function () { /*! * typeahead.js 0.11.1 * https://github.com/twitter/typeahead.js * Copyright 2013-2015 Twitter, Inc. and other contributors; Licensed MIT */ !(function (e, n) { 'function' == typeof i && i.amd ? i('typeahead.js', ['jquery'], function (e) { return n(e) }) : n(t) })(0, function (t) { var i = (function () { 'use strict' return { isMsie: function () { return ( !!/(msie|trident)/i.test(navigator.userAgent) && navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2] ) }, isBlankString: function (e) { return !e || /^\s*$/.test(e) }, escapeRegExChars: function (e) { return e.replace( /[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&' ) }, isString: function (e) { return 'string' == typeof e }, isNumber: function (e) { return 'number' == typeof e }, isArray: t.isArray, isFunction: t.isFunction, isObject: t.isPlainObject, isUndefined: function (e) { return void 0 === e }, isElement: function (e) { return !(!e || 1 !== e.nodeType) }, isJQuery: function (e) { return e instanceof t }, toStr: function (e) { return i.isUndefined(e) || null === e ? '' : e + '' }, bind: t.proxy, each: function (e, i) { function n(e, t) { return i(t, e) } t.each(e, n) }, map: t.map, filter: t.grep, every: function (e, i) { var n = !0 return e ? (t.each(e, function (t, s) { if (!(n = i.call(null, s, t, e))) return !1 }), !!n) : n }, some: function (e, i) { var n = !1 return e ? (t.each(e, function (t, s) { if ((n = i.call(null, s, t, e))) return !1 }), !!n) : n }, mixin: t.extend, identity: function (e) { return e }, clone: function (e) { return t.extend(!0, {}, e) }, getIdGenerator: function () { var e = 0 return function () { return e++ } }, templatify: function (e) { function i() { return String(e) } return t.isFunction(e) ? e : i }, defer: function (e) { setTimeout(e, 0) }, debounce: function (e, t, i) { var n, s return function () { var r, a, o = this, l = arguments return ( (r = function () { ;(n = null), i || (s = e.apply(o, l)) }), (a = i && !n), clearTimeout(n), (n = setTimeout(r, t)), a && (s = e.apply(o, l)), s ) } }, throttle: function (e, t) { var i, n, s, r, a, o return ( (a = 0), (o = function () { ;(a = new Date()), (s = null), (r = e.apply(i, n)) }), function () { var l = new Date(), u = t - (l - a) return ( (i = this), (n = arguments), u <= 0 ? (clearTimeout(s), (s = null), (a = l), (r = e.apply(i, n))) : s || (s = setTimeout(o, u)), r ) } ) }, stringify: function (e) { return i.isString(e) ? e : JSON.stringify(e) }, noop: function () {}, } })(), n = (function () { 'use strict' function e(e) { var a, o return ( (o = i.mixin({}, r, e)), (a = { css: s(), classes: o, html: t(o), selectors: n(o) }), { css: a.css, html: a.html, classes: a.classes, selectors: a.selectors, mixin: function (e) { i.mixin(e, a) }, } ) } function t(e) { return { wrapper: '', menu: '
    ', } } function n(e) { var t = {} return ( i.each(e, function (e, i) { t[i] = '.' + e }), t ) } function s() { var e = { wrapper: { position: 'relative', display: 'inline-block' }, hint: { position: 'absolute', top: '0', left: '0', borderColor: 'transparent', boxShadow: 'none', opacity: '1', }, input: { position: 'relative', verticalAlign: 'top', backgroundColor: 'transparent', }, inputWithNoHint: { position: 'relative', verticalAlign: 'top', }, menu: { position: 'absolute', top: '100%', left: '0', zIndex: '100', display: 'none', }, ltr: { left: '0', right: 'auto' }, rtl: { left: 'auto', right: ' 0' }, } return ( i.isMsie() && i.mixin(e.input, { backgroundImage: 'url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)', }), e ) } var r = { wrapper: 'twitter-typeahead', input: 'tt-input', hint: 'tt-hint', menu: 'tt-menu', dataset: 'tt-dataset', suggestion: 'tt-suggestion', selectable: 'tt-selectable', empty: 'tt-empty', open: 'tt-open', cursor: 'tt-cursor', highlight: 'tt-highlight', } return e })(), s = (function () { 'use strict' function e(e) { ;(e && e.el) || t.error('EventBus initialized without el'), (this.$el = t(e.el)) } var n, s return ( (n = 'typeahead:'), (s = { render: 'rendered', cursorchange: 'cursorchanged', select: 'selected', autocomplete: 'autocompleted', }), i.mixin(e.prototype, { _trigger: function (e, i) { var s return ( (s = t.Event(n + e)), (i = i || []).unshift(s), this.$el.trigger.apply(this.$el, i), s ) }, before: function (e) { var t, i return ( (t = [].slice.call(arguments, 1)), (i = this._trigger('before' + e, t)), i.isDefaultPrevented() ) }, trigger: function (e) { var t this._trigger(e, [].slice.call(arguments, 1)), (t = s[e]) && this._trigger(t, [].slice.call(arguments, 1)) }, }), e ) })(), r = (function () { 'use strict' function t(e, t, i, n) { var s if (!i) return this for ( t = t.split(l), i = n ? o(i, n) : i, this._callbacks = this._callbacks || {}; (s = t.shift()); ) (this._callbacks[s] = this._callbacks[s] || { sync: [], async: [], }), this._callbacks[s][e].push(i) return this } function i(e, i, n) { return t.call(this, 'async', e, i, n) } function n(e, i, n) { return t.call(this, 'sync', e, i, n) } function s(e) { var t if (!this._callbacks) return this for (e = e.split(l); (t = e.shift()); ) delete this._callbacks[t] return this } function r(e) { var t, i, n, s, r if (!this._callbacks) return this for ( e = e.split(l), n = [].slice.call(arguments, 1); (t = e.shift()) && (i = this._callbacks[t]); ) (s = a(i.sync, this, [t].concat(n))), (r = a(i.async, this, [t].concat(n))), s() && u(r) return this } function a(e, t, i) { function n() { for (var n, s = 0, r = e.length; !n && s < r; s += 1) n = !1 === e[s].apply(t, i) return !n } return n } function o(e, t) { return e.bind ? e.bind(t) : function () { e.apply(t, [].slice.call(arguments, 0)) } } var l = /\s+/, u = (function () { return window.setImmediate ? function (t) { e(function () { t() }) } : function (e) { setTimeout(function () { e() }, 0) } })() return { onSync: n, onAsync: i, off: s, trigger: r } })(), a = (function (e) { 'use strict' function t(e, t, n) { for (var s, r = [], a = 0, o = e.length; a < o; a++) r.push(i.escapeRegExChars(e[a])) return ( (s = n ? '\\b(' + r.join('|') + ')\\b' : '(' + r.join('|') + ')'), t ? new RegExp(s) : new RegExp(s, 'i') ) } var n = { node: null, pattern: null, tagName: 'strong', className: null, wordsOnly: !1, caseSensitive: !1, } return function (s) { function r(t) { var i, n, r return ( (i = o.exec(t.data)) && ((r = e.createElement(s.tagName)), s.className && (r.className = s.className), (n = t.splitText(i.index)), n.splitText(i[0].length), r.appendChild(n.cloneNode(!0)), t.parentNode.replaceChild(r, n)), !!i ) } function a(e, t) { for (var i, n = 0; n < e.childNodes.length; n++) (i = e.childNodes[n]), 3 === i.nodeType ? (n += t(i) ? 1 : 0) : a(i, t) } var o ;(s = i.mixin({}, n, s)), s.node && s.pattern && ((s.pattern = i.isArray(s.pattern) ? s.pattern : [s.pattern]), (o = t(s.pattern, s.caseSensitive, s.wordsOnly)), a(s.node, r)) } })(window.document), o = (function () { 'use strict' function e(e, s) { ;(e = e || {}), e.input || t.error('input is missing'), s.mixin(this), (this.$hint = t(e.hint)), (this.$input = t(e.input)), (this.query = this.$input.val()), (this.queryWhenFocused = this.hasFocus() ? this.query : null), (this.$overflowHelper = n(this.$input)), this._checkLanguageDirection(), 0 === this.$hint.length && (this.setHint = this.getHint = this.clearHint = this.clearHintIfInvalid = i.noop) } function n(e) { return t('') .css({ position: 'absolute', visibility: 'hidden', whiteSpace: 'pre', fontFamily: e.css('font-family'), fontSize: e.css('font-size'), fontStyle: e.css('font-style'), fontVariant: e.css('font-variant'), fontWeight: e.css('font-weight'), wordSpacing: e.css('word-spacing'), letterSpacing: e.css('letter-spacing'), textIndent: e.css('text-indent'), textRendering: e.css('text-rendering'), textTransform: e.css('text-transform'), }) .insertAfter(e) } function s(t, i) { return e.normalizeQuery(t) === e.normalizeQuery(i) } function a(e) { return e.altKey || e.ctrlKey || e.metaKey || e.shiftKey } var o return ( (o = { 9: 'tab', 27: 'esc', 37: 'left', 39: 'right', 13: 'enter', 38: 'up', 40: 'down', }), (e.normalizeQuery = function (e) { return i .toStr(e) .replace(/^\s*/g, '') .replace(/\s{2,}/g, ' ') }), i.mixin(e.prototype, r, { _onBlur: function () { this.resetInputValue(), this.trigger('blurred') }, _onFocus: function () { ;(this.queryWhenFocused = this.query), this.trigger('focused') }, _onKeydown: function (e) { var t = o[e.which || e.keyCode] this._managePreventDefault(t, e), t && this._shouldTrigger(t, e) && this.trigger(t + 'Keyed', e) }, _onInput: function () { this._setQuery(this.getInputValue()), this.clearHintIfInvalid(), this._checkLanguageDirection() }, _managePreventDefault: function (e, t) { var i switch (e) { case 'up': case 'down': i = !a(t) break default: i = !1 } i && t.preventDefault() }, _shouldTrigger: function (e, t) { var i switch (e) { case 'tab': i = !a(t) break default: i = !0 } return i }, _checkLanguageDirection: function () { var e = ( this.$input.css('direction') || 'ltr' ).toLowerCase() this.dir !== e && ((this.dir = e), this.$hint.attr('dir', e), this.trigger('langDirChanged', e)) }, _setQuery: function (e, t) { var i, n ;(i = s(e, this.query)), (n = !!i && this.query.length !== e.length), (this.query = e), t || i ? !t && n && this.trigger('whitespaceChanged', this.query) : this.trigger('queryChanged', this.query) }, bind: function () { var e, t, n, s, r = this return ( (e = i.bind(this._onBlur, this)), (t = i.bind(this._onFocus, this)), (n = i.bind(this._onKeydown, this)), (s = i.bind(this._onInput, this)), this.$input .on('blur.tt', e) .on('focus.tt', t) .on('keydown.tt', n), !i.isMsie() || i.isMsie() > 9 ? this.$input.on('input.tt', s) : this.$input.on( 'keydown.tt keypress.tt cut.tt paste.tt', function (e) { o[e.which || e.keyCode] || i.defer(i.bind(r._onInput, r, e)) } ), this ) }, focus: function () { this.$input.focus() }, blur: function () { this.$input.blur() }, getLangDir: function () { return this.dir }, getQuery: function () { return this.query || '' }, setQuery: function (e, t) { this.setInputValue(e), this._setQuery(e, t) }, hasQueryChangedSinceLastFocus: function () { return this.query !== this.queryWhenFocused }, getInputValue: function () { return this.$input.val() }, setInputValue: function (e) { this.$input.val(e), this.clearHintIfInvalid(), this._checkLanguageDirection() }, resetInputValue: function () { this.setInputValue(this.query) }, getHint: function () { return this.$hint.val() }, setHint: function (e) { this.$hint.val(e) }, clearHint: function () { this.setHint('') }, clearHintIfInvalid: function () { var e, t, i, n ;(e = this.getInputValue()), (t = this.getHint()), (i = e !== t && 0 === t.indexOf(e)), !(n = '' !== e && i && !this.hasOverflow()) && this.clearHint() }, hasFocus: function () { return this.$input.is(':focus') }, hasOverflow: function () { var e = this.$input.width() - 2 return ( this.$overflowHelper.text(this.getInputValue()), this.$overflowHelper.width() >= e ) }, isCursorAtEnd: function () { var e, t, n return ( (e = this.$input.val().length), (t = this.$input[0].selectionStart), i.isNumber(t) ? t === e : !document.selection || ((n = document.selection.createRange()), n.moveStart('character', -e), e === n.text.length) ) }, destroy: function () { this.$hint.off('.tt'), this.$input.off('.tt'), this.$overflowHelper.remove(), (this.$hint = this.$input = this.$overflowHelper = t('
    ')) }, }), e ) })(), l = (function () { 'use strict' function e(e, r) { ;(e = e || {}), (e.templates = e.templates || {}), (e.templates.notFound = e.templates.notFound || e.templates.empty), e.source || t.error('missing source'), e.node || t.error('missing node'), e.name && !o(e.name) && t.error('invalid dataset name: ' + e.name), r.mixin(this), (this.highlight = !!e.highlight), (this.name = e.name || u()), (this.limit = e.limit || 5), (this.displayFn = n(e.display || e.displayKey)), (this.templates = s(e.templates, this.displayFn)), (this.source = e.source.__ttAdapter ? e.source.__ttAdapter() : e.source), (this.async = i.isUndefined(e.async) ? this.source.length > 2 : !!e.async), this._resetLastSuggestion(), (this.$el = t(e.node) .addClass(this.classes.dataset) .addClass(this.classes.dataset + '-' + this.name)) } function n(e) { function t(t) { return t[e] } return (e = e || i.stringify), i.isFunction(e) ? e : t } function s(e, n) { function s(e) { return t('
    ').text(n(e)) } return { notFound: e.notFound && i.templatify(e.notFound), pending: e.pending && i.templatify(e.pending), header: e.header && i.templatify(e.header), footer: e.footer && i.templatify(e.footer), suggestion: e.suggestion || s, } } function o(e) { return /^[_a-zA-Z0-9-]+$/.test(e) } var l, u return ( (l = { val: 'tt-selectable-display', obj: 'tt-selectable-object', }), (u = i.getIdGenerator()), (e.extractData = function (e) { var i = t(e) return i.data(l.obj) ? { val: i.data(l.val) || '', obj: i.data(l.obj) || null } : null }), i.mixin(e.prototype, r, { _overwrite: function (e, t) { ;(t = t || []), t.length ? this._renderSuggestions(e, t) : this.async && this.templates.pending ? this._renderPending(e) : !this.async && this.templates.notFound ? this._renderNotFound(e) : this._empty(), this.trigger('rendered', this.name, t, !1) }, _append: function (e, t) { ;(t = t || []), t.length && this.$lastSuggestion.length ? this._appendSuggestions(e, t) : t.length ? this._renderSuggestions(e, t) : !this.$lastSuggestion.length && this.templates.notFound && this._renderNotFound(e), this.trigger('rendered', this.name, t, !0) }, _renderSuggestions: function (e, t) { var i ;(i = this._getSuggestionsFragment(e, t)), (this.$lastSuggestion = i.children().last()), this.$el .html(i) .prepend(this._getHeader(e, t)) .append(this._getFooter(e, t)) }, _appendSuggestions: function (e, t) { var i, n ;(i = this._getSuggestionsFragment(e, t)), (n = i.children().last()), this.$lastSuggestion.after(i), (this.$lastSuggestion = n) }, _renderPending: function (e) { var t = this.templates.pending this._resetLastSuggestion(), t && this.$el.html(t({ query: e, dataset: this.name })) }, _renderNotFound: function (e) { var t = this.templates.notFound this._resetLastSuggestion(), t && this.$el.html(t({ query: e, dataset: this.name })) }, _empty: function () { this.$el.empty(), this._resetLastSuggestion() }, _getSuggestionsFragment: function (e, n) { var s, r = this return ( (s = document.createDocumentFragment()), i.each(n, function (i) { var n, a ;(a = r._injectQuery(e, i)), (n = t(r.templates.suggestion(a)) .data(l.obj, i) .data(l.val, r.displayFn(i)) .addClass( r.classes.suggestion + ' ' + r.classes.selectable )), s.appendChild(n[0]) }), this.highlight && a({ className: this.classes.highlight, node: s, pattern: e, }), t(s) ) }, _getFooter: function (e, t) { return this.templates.footer ? this.templates.footer({ query: e, suggestions: t, dataset: this.name, }) : null }, _getHeader: function (e, t) { return this.templates.header ? this.templates.header({ query: e, suggestions: t, dataset: this.name, }) : null }, _resetLastSuggestion: function () { this.$lastSuggestion = t() }, _injectQuery: function (e, t) { return i.isObject(t) ? i.mixin({ _query: e }, t) : t }, update: function (e) { function i(t) { a || ((a = !0), (t = (t || []).slice(0, s.limit)), (o = t.length), s._overwrite(e, t), o < s.limit && s.async && s.trigger('asyncRequested', e)) } function n(i) { ;(i = i || []), !r && o < s.limit && ((s.cancel = t.noop), (o += i.length), s._append(e, i.slice(0, s.limit - o)), s.async && s.trigger('asyncReceived', e)) } var s = this, r = !1, a = !1, o = 0 this.cancel(), (this.cancel = function () { ;(r = !0), (s.cancel = t.noop), s.async && s.trigger('asyncCanceled', e) }), this.source(e, i, n), !a && i([]) }, cancel: t.noop, clear: function () { this._empty(), this.cancel(), this.trigger('cleared') }, isEmpty: function () { return this.$el.is(':empty') }, destroy: function () { this.$el = t('
    ') }, }), e ) })(), u = (function () { 'use strict' function e(e, n) { function s(e) { var i = r.$node.find(e.node).first() return ( (e.node = i.length ? i : t('
    ').appendTo(r.$node)), new l(e, n) ) } var r = this ;(e = e || {}), e.node || t.error('node is required'), n.mixin(this), (this.$node = t(e.node)), (this.query = null), (this.datasets = i.map(e.datasets, s)) } return ( i.mixin(e.prototype, r, { _onSelectableClick: function (e) { this.trigger('selectableClicked', t(e.currentTarget)) }, _onRendered: function (e, t, i, n) { this.$node.toggleClass( this.classes.empty, this._allDatasetsEmpty() ), this.trigger('datasetRendered', t, i, n) }, _onCleared: function () { this.$node.toggleClass( this.classes.empty, this._allDatasetsEmpty() ), this.trigger('datasetCleared') }, _propagate: function () { this.trigger.apply(this, arguments) }, _allDatasetsEmpty: function () { function e(e) { return e.isEmpty() } return i.every(this.datasets, e) }, _getSelectables: function () { return this.$node.find(this.selectors.selectable) }, _removeCursor: function () { var e = this.getActiveSelectable() e && e.removeClass(this.classes.cursor) }, _ensureVisible: function (e) { var t, i, n, s ;(t = e.position().top), (i = t + e.outerHeight(!0)), (n = this.$node.scrollTop()), (s = this.$node.height() + parseInt(this.$node.css('paddingTop'), 10) + parseInt(this.$node.css('paddingBottom'), 10)), t < 0 ? this.$node.scrollTop(n + t) : s < i && this.$node.scrollTop(n + (i - s)) }, bind: function () { var e, t = this return ( (e = i.bind(this._onSelectableClick, this)), this.$node.on('click.tt', this.selectors.selectable, e), i.each(this.datasets, function (e) { e.onSync('asyncRequested', t._propagate, t) .onSync('asyncCanceled', t._propagate, t) .onSync('asyncReceived', t._propagate, t) .onSync('rendered', t._onRendered, t) .onSync('cleared', t._onCleared, t) }), this ) }, isOpen: function () { return this.$node.hasClass(this.classes.open) }, open: function () { this.$node.addClass(this.classes.open) }, close: function () { this.$node.removeClass(this.classes.open), this._removeCursor() }, setLanguageDirection: function (e) { this.$node.attr('dir', e) }, selectableRelativeToCursor: function (e) { var t, i, n, s return ( (i = this.getActiveSelectable()), (t = this._getSelectables()), (n = i ? t.index(i) : -1), (s = n + e), (s = ((s + 1) % (t.length + 1)) - 1), (s = s < -1 ? t.length - 1 : s), -1 === s ? null : t.eq(s) ) }, setCursor: function (e) { this._removeCursor(), (e = e && e.first()) && (e.addClass(this.classes.cursor), this._ensureVisible(e)) }, getSelectableData: function (e) { return e && e.length ? l.extractData(e) : null }, getActiveSelectable: function () { var e = this._getSelectables() .filter(this.selectors.cursor) .first() return e.length ? e : null }, getTopSelectable: function () { var e = this._getSelectables().first() return e.length ? e : null }, update: function (e) { function t(t) { t.update(e) } var n = e !== this.query return n && ((this.query = e), i.each(this.datasets, t)), n }, empty: function () { function e(e) { e.clear() } i.each(this.datasets, e), (this.query = null), this.$node.addClass(this.classes.empty) }, destroy: function () { function e(e) { e.destroy() } this.$node.off('.tt'), (this.$node = t('
    ')), i.each(this.datasets, e) }, }), e ) })(), d = (function () { 'use strict' function e() { u.apply(this, [].slice.call(arguments, 0)) } var t = u.prototype return ( i.mixin(e.prototype, u.prototype, { open: function () { return ( !this._allDatasetsEmpty() && this._show(), t.open.apply(this, [].slice.call(arguments, 0)) ) }, close: function () { return ( this._hide(), t.close.apply(this, [].slice.call(arguments, 0)) ) }, _onRendered: function () { return ( this._allDatasetsEmpty() ? this._hide() : this.isOpen() && this._show(), t._onRendered.apply(this, [].slice.call(arguments, 0)) ) }, _onCleared: function () { return ( this._allDatasetsEmpty() ? this._hide() : this.isOpen() && this._show(), t._onCleared.apply(this, [].slice.call(arguments, 0)) ) }, setLanguageDirection: function (e) { return ( this.$node.css('ltr' === e ? this.css.ltr : this.css.rtl), t.setLanguageDirection.apply( this, [].slice.call(arguments, 0) ) ) }, _hide: function () { this.$node.hide() }, _show: function () { this.$node.css('display', 'block') }, }), e ) })(), c = (function () { 'use strict' function e(e, s) { var r, a, o, l, u, d, c, h, p, f, m ;(e = e || {}), e.input || t.error('missing input'), e.menu || t.error('missing menu'), e.eventBus || t.error('missing event bus'), s.mixin(this), (this.eventBus = e.eventBus), (this.minLength = i.isNumber(e.minLength) ? e.minLength : 1), (this.input = e.input), (this.menu = e.menu), (this.enabled = !0), (this.active = !1), this.input.hasFocus() && this.activate(), (this.dir = this.input.getLangDir()), this._hacks(), this.menu .bind() .onSync( 'selectableClicked', this._onSelectableClicked, this ) .onSync('asyncRequested', this._onAsyncRequested, this) .onSync('asyncCanceled', this._onAsyncCanceled, this) .onSync('asyncReceived', this._onAsyncReceived, this) .onSync('datasetRendered', this._onDatasetRendered, this) .onSync('datasetCleared', this._onDatasetCleared, this), (r = n(this, 'activate', 'open', '_onFocused')), (a = n(this, 'deactivate', '_onBlurred')), (o = n(this, 'isActive', 'isOpen', '_onEnterKeyed')), (l = n(this, 'isActive', 'isOpen', '_onTabKeyed')), (u = n(this, 'isActive', '_onEscKeyed')), (d = n(this, 'isActive', 'open', '_onUpKeyed')), (c = n(this, 'isActive', 'open', '_onDownKeyed')), (h = n(this, 'isActive', 'isOpen', '_onLeftKeyed')), (p = n(this, 'isActive', 'isOpen', '_onRightKeyed')), (f = n(this, '_openIfActive', '_onQueryChanged')), (m = n(this, '_openIfActive', '_onWhitespaceChanged')), this.input .bind() .onSync('focused', r, this) .onSync('blurred', a, this) .onSync('enterKeyed', o, this) .onSync('tabKeyed', l, this) .onSync('escKeyed', u, this) .onSync('upKeyed', d, this) .onSync('downKeyed', c, this) .onSync('leftKeyed', h, this) .onSync('rightKeyed', p, this) .onSync('queryChanged', f, this) .onSync('whitespaceChanged', m, this) .onSync('langDirChanged', this._onLangDirChanged, this) } function n(e) { var t = [].slice.call(arguments, 1) return function () { var n = [].slice.call(arguments) i.each(t, function (t) { return e[t].apply(e, n) }) } } return ( i.mixin(e.prototype, { _hacks: function () { var e, n ;(e = this.input.$input || t('
    ')), (n = this.menu.$node || t('
    ')), e.on('blur.tt', function (t) { var s, r, a ;(s = document.activeElement), (r = n.is(s)), (a = n.has(s).length > 0), i.isMsie() && (r || a) && (t.preventDefault(), t.stopImmediatePropagation(), i.defer(function () { e.focus() })) }), n.on('mousedown.tt', function (e) { e.preventDefault() }) }, _onSelectableClicked: function (e, t) { this.select(t) }, _onDatasetCleared: function () { this._updateHint() }, _onDatasetRendered: function (e, t, i, n) { this._updateHint(), this.eventBus.trigger('render', i, n, t) }, _onAsyncRequested: function (e, t, i) { this.eventBus.trigger('asyncrequest', i, t) }, _onAsyncCanceled: function (e, t, i) { this.eventBus.trigger('asynccancel', i, t) }, _onAsyncReceived: function (e, t, i) { this.eventBus.trigger('asyncreceive', i, t) }, _onFocused: function () { this._minLengthMet() && this.menu.update(this.input.getQuery()) }, _onBlurred: function () { this.input.hasQueryChangedSinceLastFocus() && this.eventBus.trigger('change', this.input.getQuery()) }, _onEnterKeyed: function (e, t) { var i ;(i = this.menu.getActiveSelectable()) && this.select(i) && t.preventDefault() }, _onTabKeyed: function (e, t) { var i ;(i = this.menu.getActiveSelectable()) ? this.select(i) && t.preventDefault() : (i = this.menu.getTopSelectable()) && this.autocomplete(i) && t.preventDefault() }, _onEscKeyed: function () { this.close() }, _onUpKeyed: function () { this.moveCursor(-1) }, _onDownKeyed: function () { this.moveCursor(1) }, _onLeftKeyed: function () { 'rtl' === this.dir && this.input.isCursorAtEnd() && this.autocomplete(this.menu.getTopSelectable()) }, _onRightKeyed: function () { 'ltr' === this.dir && this.input.isCursorAtEnd() && this.autocomplete(this.menu.getTopSelectable()) }, _onQueryChanged: function (e, t) { this._minLengthMet(t) ? this.menu.update(t) : this.menu.empty() }, _onWhitespaceChanged: function () { this._updateHint() }, _onLangDirChanged: function (e, t) { this.dir !== t && ((this.dir = t), this.menu.setLanguageDirection(t)) }, _openIfActive: function () { this.isActive() && this.open() }, _minLengthMet: function (e) { return ( (e = i.isString(e) ? e : this.input.getQuery() || ''), e.length >= this.minLength ) }, _updateHint: function () { var e, t, n, s, r, a, l ;(e = this.menu.getTopSelectable()), (t = this.menu.getSelectableData(e)), (n = this.input.getInputValue()), !t || i.isBlankString(n) || this.input.hasOverflow() ? this.input.clearHint() : ((s = o.normalizeQuery(n)), (r = i.escapeRegExChars(s)), (a = new RegExp('^(?:' + r + ')(.+$)', 'i')), (l = a.exec(t.val)) && this.input.setHint(n + l[1])) }, isEnabled: function () { return this.enabled }, enable: function () { this.enabled = !0 }, disable: function () { this.enabled = !1 }, isActive: function () { return this.active }, activate: function () { return ( !!this.isActive() || (!(!this.isEnabled() || this.eventBus.before('active')) && ((this.active = !0), this.eventBus.trigger('active'), !0)) ) }, deactivate: function () { return ( !this.isActive() || (!this.eventBus.before('idle') && ((this.active = !1), this.close(), this.eventBus.trigger('idle'), !0)) ) }, isOpen: function () { return this.menu.isOpen() }, open: function () { return ( this.isOpen() || this.eventBus.before('open') || (this.menu.open(), this._updateHint(), this.eventBus.trigger('open')), this.isOpen() ) }, close: function () { return ( this.isOpen() && !this.eventBus.before('close') && (this.menu.close(), this.input.clearHint(), this.input.resetInputValue(), this.eventBus.trigger('close')), !this.isOpen() ) }, setVal: function (e) { this.input.setQuery(i.toStr(e)) }, getVal: function () { return this.input.getQuery() }, select: function (e) { var t = this.menu.getSelectableData(e) return ( !(!t || this.eventBus.before('select', t.obj)) && (this.input.setQuery(t.val, !0), this.eventBus.trigger('select', t.obj), this.close(), !0) ) }, autocomplete: function (e) { var t, i return ( (t = this.input.getQuery()), (i = this.menu.getSelectableData(e)), !( !(i && t !== i.val) || this.eventBus.before('autocomplete', i.obj) ) && (this.input.setQuery(i.val), this.eventBus.trigger('autocomplete', i.obj), !0) ) }, moveCursor: function (e) { var t, i, n, s return ( (t = this.input.getQuery()), (i = this.menu.selectableRelativeToCursor(e)), (n = this.menu.getSelectableData(i)), (s = n ? n.obj : null), !(this._minLengthMet() && this.menu.update(t)) && !this.eventBus.before('cursorchange', s) && (this.menu.setCursor(i), n ? this.input.setInputValue(n.val) : (this.input.resetInputValue(), this._updateHint()), this.eventBus.trigger('cursorchange', s), !0) ) }, destroy: function () { this.input.destroy(), this.menu.destroy() }, }), e ) })() !(function () { 'use strict' function e(e, i) { e.each(function () { var e, n = t(this) ;(e = n.data(m.typeahead)) && i(e, n) }) } function r(e, t) { return e .clone() .addClass(t.classes.hint) .removeData() .css(t.css.hint) .css(l(e)) .prop('readonly', !0) .removeAttr('id name placeholder required') .attr({ autocomplete: 'off', spellcheck: 'false', tabindex: -1, }) } function a(e, t) { e.data(m.attrs, { dir: e.attr('dir'), autocomplete: e.attr('autocomplete'), spellcheck: e.attr('spellcheck'), style: e.attr('style'), }), e .addClass(t.classes.input) .attr({ autocomplete: 'off', spellcheck: !1 }) try { !e.attr('dir') && e.attr('dir', 'auto') } catch (e) {} return e } function l(e) { return { backgroundAttachment: e.css('background-attachment'), backgroundClip: e.css('background-clip'), backgroundColor: e.css('background-color'), backgroundImage: e.css('background-image'), backgroundOrigin: e.css('background-origin'), backgroundPosition: e.css('background-position'), backgroundRepeat: e.css('background-repeat'), backgroundSize: e.css('background-size'), } } function h(e) { var t, n ;(t = e.data(m.www)), (n = e.parent().filter(t.selectors.wrapper)), i.each(e.data(m.attrs), function (t, n) { i.isUndefined(t) ? e.removeAttr(n) : e.attr(n, t) }), e .removeData(m.typeahead) .removeData(m.www) .removeData(m.attr) .removeClass(t.classes.input), n.length && (e.detach().insertAfter(n), n.remove()) } function p(e) { var n, s return ( (n = i.isJQuery(e) || i.isElement(e)), (s = n ? t(e).first() : []), s.length ? s : null ) } var f, m, _ ;(f = t.fn.typeahead), (m = { www: 'tt-www', attrs: 'tt-attrs', typeahead: 'tt-typeahead', }), (_ = { initialize: function (e, l) { function h() { var n, h, _, g, v, y, b, w, M, k, L i.each(l, function (t) { t.highlight = !!e.highlight }), (n = t(this)), (h = t(f.html.wrapper)), (_ = p(e.hint)), (g = p(e.menu)), (v = !1 !== e.hint && !_), (y = !1 !== e.menu && !g), v && (_ = r(n, f)), y && (g = t(f.html.menu).css(f.css.menu)), _ && _.val(''), (n = a(n, f)), (v || y) && (h.css(f.css.wrapper), n.css(v ? f.css.input : f.css.inputWithNoHint), n .wrap(h) .parent() .prepend(v ? _ : null) .append(y ? g : null)), (L = y ? d : u), (b = new s({ el: n })), (w = new o({ hint: _, input: n }, f)), (M = new L({ node: g, datasets: l }, f)), (k = new c( { input: w, menu: M, eventBus: b, minLength: e.minLength, }, f )), n.data(m.www, f), n.data(m.typeahead, k) } var f return ( (l = i.isArray(l) ? l : [].slice.call(arguments, 1)), (e = e || {}), (f = n(e.classNames)), this.each(h) ) }, isEnabled: function () { var t return ( e(this.first(), function (e) { t = e.isEnabled() }), t ) }, enable: function () { return ( e(this, function (e) { e.enable() }), this ) }, disable: function () { return ( e(this, function (e) { e.disable() }), this ) }, isActive: function () { var t return ( e(this.first(), function (e) { t = e.isActive() }), t ) }, activate: function () { return ( e(this, function (e) { e.activate() }), this ) }, deactivate: function () { return ( e(this, function (e) { e.deactivate() }), this ) }, isOpen: function () { var t return ( e(this.first(), function (e) { t = e.isOpen() }), t ) }, open: function () { return ( e(this, function (e) { e.open() }), this ) }, close: function () { return ( e(this, function (e) { e.close() }), this ) }, select: function (i) { var n = !1, s = t(i) return ( e(this.first(), function (e) { n = e.select(s) }), n ) }, autocomplete: function (i) { var n = !1, s = t(i) return ( e(this.first(), function (e) { n = e.autocomplete(s) }), n ) }, moveCursor: function (t) { var i = !1 return ( e(this.first(), function (e) { i = e.moveCursor(t) }), i ) }, val: function (t) { var i return arguments.length ? (e(this, function (e) { e.setVal(t) }), this) : (e(this.first(), function (e) { i = e.getVal() }), i) }, destroy: function () { return ( e(this, function (e, t) { h(t), e.destroy() }), this ) }, }), (t.fn.typeahead = function (e) { return _[e] ? _[e].apply(this, [].slice.call(arguments, 1)) : _.initialize.apply(this, arguments) }), (t.fn.typeahead.noConflict = function () { return (t.fn.typeahead = f), this }) })() }) }).call(window) }).call(t, i(95).setImmediate, i(41)) }, function (e, t, i) { ;(function (e) { var t = !1 ;(function () { /*! jQuery UI - v1.12.1 - 2016-09-14 * http://jqueryui.com * Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-1-7.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js * Copyright jQuery Foundation and other contributors; Licensed MIT */ !(function (i) { 'function' == typeof t && t.amd ? t(['jquery'], i) : i(e) })(function (e) { function t(e) { for (var t = e.css('visibility'); 'inherit' === t; ) (e = e.parent()), (t = e.css('visibility')) return 'hidden' !== t } function i(e) { for (var t, i; e.length && e[0] !== document; ) { if ( ('absolute' === (t = e.css('position')) || 'relative' === t || 'fixed' === t) && ((i = parseInt(e.css('zIndex'), 10)), !isNaN(i) && 0 !== i) ) return i e = e.parent() } return 0 } function n() { ;(this._curInst = null), (this._keyEvent = !1), (this._disabledInputs = []), (this._datepickerShowing = !1), (this._inDialog = !1), (this._mainDivId = 'ui-datepicker-div'), (this._inlineClass = 'ui-datepicker-inline'), (this._appendClass = 'ui-datepicker-append'), (this._triggerClass = 'ui-datepicker-trigger'), (this._dialogClass = 'ui-datepicker-dialog'), (this._disableClass = 'ui-datepicker-disabled'), (this._unselectableClass = 'ui-datepicker-unselectable'), (this._currentClass = 'ui-datepicker-current-day'), (this._dayOverClass = 'ui-datepicker-days-cell-over'), (this.regional = []), (this.regional[''] = { closeText: 'Done', prevText: 'Prev', nextText: 'Next', currentText: 'Today', monthNames: [ 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December', ], monthNamesShort: [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec', ], dayNames: [ 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', ], dayNamesShort: [ 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', ], dayNamesMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], weekHeader: 'Wk', dateFormat: 'mm/dd/yy', firstDay: 0, isRTL: !1, showMonthAfterYear: !1, yearSuffix: '', }), (this._defaults = { showOn: 'focus', showAnim: 'fadeIn', showOptions: {}, defaultDate: null, appendText: '', buttonText: '...', buttonImage: '', buttonImageOnly: !1, hideIfNoPrevNext: !1, navigationAsDateFormat: !1, gotoCurrent: !1, changeMonth: !1, changeYear: !1, yearRange: 'c-10:c+10', showOtherMonths: !1, selectOtherMonths: !1, showWeek: !1, calculateWeek: this.iso8601Week, shortYearCutoff: '+10', minDate: null, maxDate: null, duration: 'fast', beforeShowDay: null, beforeShow: null, onSelect: null, onChangeMonthYear: null, onClose: null, numberOfMonths: 1, showCurrentAtPos: 0, stepMonths: 1, stepBigMonths: 12, altField: '', altFormat: '', constrainInput: !0, showButtonPanel: !1, autoSize: !1, disabled: !1, }), e.extend(this._defaults, this.regional['']), (this.regional.en = e.extend(!0, {}, this.regional[''])), (this.regional['en-US'] = e.extend(!0, {}, this.regional.en)), (this.dpDiv = s( e( "
    " ) )) } function s(t) { var i = 'button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a' return t .on('mouseout', i, function () { e(this).removeClass('ui-state-hover'), -1 !== this.className.indexOf('ui-datepicker-prev') && e(this).removeClass('ui-datepicker-prev-hover'), -1 !== this.className.indexOf('ui-datepicker-next') && e(this).removeClass('ui-datepicker-next-hover') }) .on('mouseover', i, r) } function r() { e.datepicker._isDisabledDatepicker( p.inline ? p.dpDiv.parent()[0] : p.input[0] ) || (e(this) .parents('.ui-datepicker-calendar') .find('a') .removeClass('ui-state-hover'), e(this).addClass('ui-state-hover'), -1 !== this.className.indexOf('ui-datepicker-prev') && e(this).addClass('ui-datepicker-prev-hover'), -1 !== this.className.indexOf('ui-datepicker-next') && e(this).addClass('ui-datepicker-next-hover')) } function a(t, i) { e.extend(t, i) for (var n in i) null == i[n] && (t[n] = i[n]) return t } /*! * jQuery UI Spinner 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ function o(e) { return function () { var t = this.element.val() e.apply(this, arguments), this._refresh(), t !== this.element.val() && this._trigger('change') } } e.ui = e.ui || {} var l = ((e.ui.version = '1.12.1'), 0), u = Array.prototype.slice ;(e.cleanData = (function (t) { return function (i) { var n, s, r for (r = 0; null != (s = i[r]); r++) try { ;(n = e._data(s, 'events')), n && n.remove && e(s).triggerHandler('remove') } catch (e) {} t(i) } })(e.cleanData)), (e.widget = function (t, i, n) { var s, r, a, o = {}, l = t.split('.')[0] t = t.split('.')[1] var u = l + '-' + t return ( n || ((n = i), (i = e.Widget)), e.isArray(n) && (n = e.extend.apply(null, [{}].concat(n))), (e.expr[':'][u.toLowerCase()] = function (t) { return !!e.data(t, u) }), (e[l] = e[l] || {}), (s = e[l][t]), (r = e[l][t] = function (e, t) { if (!this._createWidget) return new r(e, t) arguments.length && this._createWidget(e, t) }), e.extend(r, s, { version: n.version, _proto: e.extend({}, n), _childConstructors: [], }), (a = new i()), (a.options = e.widget.extend({}, a.options)), e.each(n, function (t, n) { if (!e.isFunction(n)) return void (o[t] = n) o[t] = (function () { function e() { return i.prototype[t].apply(this, arguments) } function s(e) { return i.prototype[t].apply(this, e) } return function () { var t, i = this._super, r = this._superApply return ( (this._super = e), (this._superApply = s), (t = n.apply(this, arguments)), (this._super = i), (this._superApply = r), t ) } })() }), (r.prototype = e.widget.extend( a, { widgetEventPrefix: s ? a.widgetEventPrefix || t : t }, o, { constructor: r, namespace: l, widgetName: t, widgetFullName: u, } )), s ? (e.each(s._childConstructors, function (t, i) { var n = i.prototype e.widget(n.namespace + '.' + n.widgetName, r, i._proto) }), delete s._childConstructors) : i._childConstructors.push(r), e.widget.bridge(t, r), r ) }), (e.widget.extend = function (t) { for ( var i, n, s = u.call(arguments, 1), r = 0, a = s.length; r < a; r++ ) for (i in s[r]) (n = s[r][i]), s[r].hasOwnProperty(i) && void 0 !== n && (e.isPlainObject(n) ? (t[i] = e.isPlainObject(t[i]) ? e.widget.extend({}, t[i], n) : e.widget.extend({}, n)) : (t[i] = n)) return t }), (e.widget.bridge = function (t, i) { var n = i.prototype.widgetFullName || t e.fn[t] = function (s) { var r = 'string' == typeof s, a = u.call(arguments, 1), o = this return ( r ? this.length || 'instance' !== s ? this.each(function () { var i, r = e.data(this, n) return 'instance' === s ? ((o = r), !1) : r ? e.isFunction(r[s]) && '_' !== s.charAt(0) ? ((i = r[s].apply(r, a)), i !== r && void 0 !== i ? ((o = i && i.jquery ? o.pushStack(i.get()) : i), !1) : void 0) : e.error( "no such method '" + s + "' for " + t + ' widget instance' ) : e.error( 'cannot call methods on ' + t + " prior to initialization; attempted to call method '" + s + "'" ) }) : (o = void 0) : (a.length && (s = e.widget.extend.apply(null, [s].concat(a))), this.each(function () { var t = e.data(this, n) t ? (t.option(s || {}), t._init && t._init()) : e.data(this, n, new i(s, this)) })), o ) } }), (e.Widget = function () {}), (e.Widget._childConstructors = []), (e.Widget.prototype = { widgetName: 'widget', widgetEventPrefix: '', defaultElement: '
    ', options: { classes: {}, disabled: !1, create: null }, _createWidget: function (t, i) { ;(i = e(i || this.defaultElement || this)[0]), (this.element = e(i)), (this.uuid = l++), (this.eventNamespace = '.' + this.widgetName + this.uuid), (this.bindings = e()), (this.hoverable = e()), (this.focusable = e()), (this.classesElementLookup = {}), i !== this && (e.data(i, this.widgetFullName, this), this._on(!0, this.element, { remove: function (e) { e.target === i && this.destroy() }, }), (this.document = e( i.style ? i.ownerDocument : i.document || i )), (this.window = e( this.document[0].defaultView || this.document[0].parentWindow ))), (this.options = e.widget.extend( {}, this.options, this._getCreateOptions(), t )), this._create(), this.options.disabled && this._setOptionDisabled(this.options.disabled), this._trigger('create', null, this._getCreateEventData()), this._init() }, _getCreateOptions: function () { return {} }, _getCreateEventData: e.noop, _create: e.noop, _init: e.noop, destroy: function () { var t = this this._destroy(), e.each(this.classesElementLookup, function (e, i) { t._removeClass(i, e) }), this.element .off(this.eventNamespace) .removeData(this.widgetFullName), this.widget() .off(this.eventNamespace) .removeAttr('aria-disabled'), this.bindings.off(this.eventNamespace) }, _destroy: e.noop, widget: function () { return this.element }, option: function (t, i) { var n, s, r, a = t if (0 === arguments.length) return e.widget.extend({}, this.options) if ('string' == typeof t) if ( ((a = {}), (n = t.split('.')), (t = n.shift()), n.length) ) { for ( s = a[t] = e.widget.extend({}, this.options[t]), r = 0; r < n.length - 1; r++ ) (s[n[r]] = s[n[r]] || {}), (s = s[n[r]]) if (((t = n.pop()), 1 === arguments.length)) return void 0 === s[t] ? null : s[t] s[t] = i } else { if (1 === arguments.length) return void 0 === this.options[t] ? null : this.options[t] a[t] = i } return this._setOptions(a), this }, _setOptions: function (e) { var t for (t in e) this._setOption(t, e[t]) return this }, _setOption: function (e, t) { return ( 'classes' === e && this._setOptionClasses(t), (this.options[e] = t), 'disabled' === e && this._setOptionDisabled(t), this ) }, _setOptionClasses: function (t) { var i, n, s for (i in t) (s = this.classesElementLookup[i]), t[i] !== this.options.classes[i] && s && s.length && ((n = e(s.get())), this._removeClass(s, i), n.addClass( this._classes({ element: n, keys: i, classes: t, add: !0, }) )) }, _setOptionDisabled: function (e) { this._toggleClass( this.widget(), this.widgetFullName + '-disabled', null, !!e ), e && (this._removeClass(this.hoverable, null, 'ui-state-hover'), this._removeClass(this.focusable, null, 'ui-state-focus')) }, enable: function () { return this._setOptions({ disabled: !1 }) }, disable: function () { return this._setOptions({ disabled: !0 }) }, _classes: function (t) { function i(i, r) { var a, o for (o = 0; o < i.length; o++) (a = s.classesElementLookup[i[o]] || e()), (a = e( t.add ? e.unique(a.get().concat(t.element.get())) : a.not(t.element).get() )), (s.classesElementLookup[i[o]] = a), n.push(i[o]), r && t.classes[i[o]] && n.push(t.classes[i[o]]) } var n = [], s = this return ( (t = e.extend( { element: this.element, classes: this.options.classes || {}, }, t )), this._on(t.element, { remove: '_untrackClassesElement' }), t.keys && i(t.keys.match(/\S+/g) || [], !0), t.extra && i(t.extra.match(/\S+/g) || []), n.join(' ') ) }, _untrackClassesElement: function (t) { var i = this e.each(i.classesElementLookup, function (n, s) { ;-1 !== e.inArray(t.target, s) && (i.classesElementLookup[n] = e(s.not(t.target).get())) }) }, _removeClass: function (e, t, i) { return this._toggleClass(e, t, i, !1) }, _addClass: function (e, t, i) { return this._toggleClass(e, t, i, !0) }, _toggleClass: function (e, t, i, n) { n = 'boolean' == typeof n ? n : i var s = 'string' == typeof e || null === e, r = { extra: s ? t : i, keys: s ? e : t, element: s ? this.element : e, add: n, } return r.element.toggleClass(this._classes(r), n), this }, _on: function (t, i, n) { var s, r = this 'boolean' != typeof t && ((n = i), (i = t), (t = !1)), n ? ((i = s = e(i)), (this.bindings = this.bindings.add(i))) : ((n = i), (i = this.element), (s = this.widget())), e.each(n, function (n, a) { function o() { if ( t || (!0 !== r.options.disabled && !e(this).hasClass('ui-state-disabled')) ) return ('string' == typeof a ? r[a] : a).apply( r, arguments ) } 'string' != typeof a && (o.guid = a.guid = a.guid || o.guid || e.guid++) var l = n.match(/^([\w:-]*)\s*(.*)$/), u = l[1] + r.eventNamespace, d = l[2] d ? s.on(u, d, o) : i.on(u, o) }) }, _off: function (t, i) { ;(i = (i || '').split(' ').join(this.eventNamespace + ' ') + this.eventNamespace), t.off(i).off(i), (this.bindings = e(this.bindings.not(t).get())), (this.focusable = e(this.focusable.not(t).get())), (this.hoverable = e(this.hoverable.not(t).get())) }, _delay: function (e, t) { function i() { return ('string' == typeof e ? n[e] : e).apply(n, arguments) } var n = this return setTimeout(i, t || 0) }, _hoverable: function (t) { ;(this.hoverable = this.hoverable.add(t)), this._on(t, { mouseenter: function (t) { this._addClass(e(t.currentTarget), null, 'ui-state-hover') }, mouseleave: function (t) { this._removeClass( e(t.currentTarget), null, 'ui-state-hover' ) }, }) }, _focusable: function (t) { ;(this.focusable = this.focusable.add(t)), this._on(t, { focusin: function (t) { this._addClass(e(t.currentTarget), null, 'ui-state-focus') }, focusout: function (t) { this._removeClass( e(t.currentTarget), null, 'ui-state-focus' ) }, }) }, _trigger: function (t, i, n) { var s, r, a = this.options[t] if ( ((n = n || {}), (i = e.Event(i)), (i.type = ( t === this.widgetEventPrefix ? t : this.widgetEventPrefix + t ).toLowerCase()), (i.target = this.element[0]), (r = i.originalEvent)) ) for (s in r) s in i || (i[s] = r[s]) return ( this.element.trigger(i, n), !( (e.isFunction(a) && !1 === a.apply(this.element[0], [i].concat(n))) || i.isDefaultPrevented() ) ) }, }), e.each({ show: 'fadeIn', hide: 'fadeOut' }, function (t, i) { e.Widget.prototype['_' + t] = function (n, s, r) { 'string' == typeof s && (s = { effect: s }) var a, o = s ? !0 === s || 'number' == typeof s ? i : s.effect || i : t ;(s = s || {}), 'number' == typeof s && (s = { duration: s }), (a = !e.isEmptyObject(s)), (s.complete = r), s.delay && n.delay(s.delay), a && e.effects && e.effects.effect[o] ? n[t](s) : o !== t && n[o] ? n[o](s.duration, s.easing, r) : n.queue(function (i) { e(this)[t](), r && r.call(n[0]), i() }) } }) e.widget /*! * jQuery UI Position 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/position/ */ !(function () { function t(e, t, i) { return [ parseFloat(e[0]) * (c.test(e[0]) ? t / 100 : 1), parseFloat(e[1]) * (c.test(e[1]) ? i / 100 : 1), ] } function i(t, i) { return parseInt(e.css(t, i), 10) || 0 } function n(t) { var i = t[0] return 9 === i.nodeType ? { width: t.width(), height: t.height(), offset: { top: 0, left: 0 }, } : e.isWindow(i) ? { width: t.width(), height: t.height(), offset: { top: t.scrollTop(), left: t.scrollLeft() }, } : i.preventDefault ? { width: 0, height: 0, offset: { top: i.pageY, left: i.pageX }, } : { width: t.outerWidth(), height: t.outerHeight(), offset: t.offset(), } } var s, r = Math.max, a = Math.abs, o = /left|center|right/, l = /top|center|bottom/, u = /[\+\-]\d+(\.[\d]+)?%?/, d = /^\w+/, c = /%$/, h = e.fn.position ;(e.position = { scrollbarWidth: function () { if (void 0 !== s) return s var t, i, n = e( "
    " ), r = n.children()[0] return ( e('body').append(n), (t = r.offsetWidth), n.css('overflow', 'scroll'), (i = r.offsetWidth), t === i && (i = n[0].clientWidth), n.remove(), (s = t - i) ) }, getScrollInfo: function (t) { var i = t.isWindow || t.isDocument ? '' : t.element.css('overflow-x'), n = t.isWindow || t.isDocument ? '' : t.element.css('overflow-y'), s = 'scroll' === i || ('auto' === i && t.width < t.element[0].scrollWidth) return { width: 'scroll' === n || ('auto' === n && t.height < t.element[0].scrollHeight) ? e.position.scrollbarWidth() : 0, height: s ? e.position.scrollbarWidth() : 0, } }, getWithinInfo: function (t) { var i = e(t || window), n = e.isWindow(i[0]), s = !!i[0] && 9 === i[0].nodeType return { element: i, isWindow: n, isDocument: s, offset: n || s ? { left: 0, top: 0 } : e(t).offset(), scrollLeft: i.scrollLeft(), scrollTop: i.scrollTop(), width: i.outerWidth(), height: i.outerHeight(), } }, }), (e.fn.position = function (s) { if (!s || !s.of) return h.apply(this, arguments) s = e.extend({}, s) var c, p, f, m, _, g, v = e(s.of), y = e.position.getWithinInfo(s.within), b = e.position.getScrollInfo(y), w = (s.collision || 'flip').split(' '), M = {} return ( (g = n(v)), v[0].preventDefault && (s.at = 'left top'), (p = g.width), (f = g.height), (m = g.offset), (_ = e.extend({}, m)), e.each(['my', 'at'], function () { var e, t, i = (s[this] || '').split(' ') 1 === i.length && (i = o.test(i[0]) ? i.concat(['center']) : l.test(i[0]) ? ['center'].concat(i) : ['center', 'center']), (i[0] = o.test(i[0]) ? i[0] : 'center'), (i[1] = l.test(i[1]) ? i[1] : 'center'), (e = u.exec(i[0])), (t = u.exec(i[1])), (M[this] = [e ? e[0] : 0, t ? t[0] : 0]), (s[this] = [d.exec(i[0])[0], d.exec(i[1])[0]]) }), 1 === w.length && (w[1] = w[0]), 'right' === s.at[0] ? (_.left += p) : 'center' === s.at[0] && (_.left += p / 2), 'bottom' === s.at[1] ? (_.top += f) : 'center' === s.at[1] && (_.top += f / 2), (c = t(M.at, p, f)), (_.left += c[0]), (_.top += c[1]), this.each(function () { var n, o, l = e(this), u = l.outerWidth(), d = l.outerHeight(), h = i(this, 'marginLeft'), g = i(this, 'marginTop'), k = u + h + i(this, 'marginRight') + b.width, L = d + g + i(this, 'marginBottom') + b.height, D = e.extend({}, _), T = t(M.my, l.outerWidth(), l.outerHeight()) 'right' === s.my[0] ? (D.left -= u) : 'center' === s.my[0] && (D.left -= u / 2), 'bottom' === s.my[1] ? (D.top -= d) : 'center' === s.my[1] && (D.top -= d / 2), (D.left += T[0]), (D.top += T[1]), (n = { marginLeft: h, marginTop: g }), e.each(['left', 'top'], function (t, i) { e.ui.position[w[t]] && e.ui.position[w[t]][i](D, { targetWidth: p, targetHeight: f, elemWidth: u, elemHeight: d, collisionPosition: n, collisionWidth: k, collisionHeight: L, offset: [c[0] + T[0], c[1] + T[1]], my: s.my, at: s.at, within: y, elem: l, }) }), s.using && (o = function (e) { var t = m.left - D.left, i = t + p - u, n = m.top - D.top, o = n + f - d, c = { target: { element: v, left: m.left, top: m.top, width: p, height: f, }, element: { element: l, left: D.left, top: D.top, width: u, height: d, }, horizontal: i < 0 ? 'left' : t > 0 ? 'right' : 'center', vertical: o < 0 ? 'top' : n > 0 ? 'bottom' : 'middle', } p < u && a(t + i) < p && (c.horizontal = 'center'), f < d && a(n + o) < f && (c.vertical = 'middle'), r(a(t), a(i)) > r(a(n), a(o)) ? (c.important = 'horizontal') : (c.important = 'vertical'), s.using.call(this, e, c) }), l.offset(e.extend(D, { using: o })) }) ) }), (e.ui.position = { fit: { left: function (e, t) { var i, n = t.within, s = n.isWindow ? n.scrollLeft : n.offset.left, a = n.width, o = e.left - t.collisionPosition.marginLeft, l = s - o, u = o + t.collisionWidth - a - s t.collisionWidth > a ? l > 0 && u <= 0 ? ((i = e.left + l + t.collisionWidth - a - s), (e.left += l - i)) : (e.left = u > 0 && l <= 0 ? s : l > u ? s + a - t.collisionWidth : s) : l > 0 ? (e.left += l) : u > 0 ? (e.left -= u) : (e.left = r(e.left - o, e.left)) }, top: function (e, t) { var i, n = t.within, s = n.isWindow ? n.scrollTop : n.offset.top, a = t.within.height, o = e.top - t.collisionPosition.marginTop, l = s - o, u = o + t.collisionHeight - a - s t.collisionHeight > a ? l > 0 && u <= 0 ? ((i = e.top + l + t.collisionHeight - a - s), (e.top += l - i)) : (e.top = u > 0 && l <= 0 ? s : l > u ? s + a - t.collisionHeight : s) : l > 0 ? (e.top += l) : u > 0 ? (e.top -= u) : (e.top = r(e.top - o, e.top)) }, }, flip: { left: function (e, t) { var i, n, s = t.within, r = s.offset.left + s.scrollLeft, o = s.width, l = s.isWindow ? s.scrollLeft : s.offset.left, u = e.left - t.collisionPosition.marginLeft, d = u - l, c = u + t.collisionWidth - o - l, h = 'left' === t.my[0] ? -t.elemWidth : 'right' === t.my[0] ? t.elemWidth : 0, p = 'left' === t.at[0] ? t.targetWidth : 'right' === t.at[0] ? -t.targetWidth : 0, f = -2 * t.offset[0] d < 0 ? ((i = e.left + h + p + f + t.collisionWidth - o - r) < 0 || i < a(d)) && (e.left += h + p + f) : c > 0 && ((n = e.left - t.collisionPosition.marginLeft + h + p + f - l) > 0 || a(n) < c) && (e.left += h + p + f) }, top: function (e, t) { var i, n, s = t.within, r = s.offset.top + s.scrollTop, o = s.height, l = s.isWindow ? s.scrollTop : s.offset.top, u = e.top - t.collisionPosition.marginTop, d = u - l, c = u + t.collisionHeight - o - l, h = 'top' === t.my[1], p = h ? -t.elemHeight : 'bottom' === t.my[1] ? t.elemHeight : 0, f = 'top' === t.at[1] ? t.targetHeight : 'bottom' === t.at[1] ? -t.targetHeight : 0, m = -2 * t.offset[1] d < 0 ? ((n = e.top + p + f + m + t.collisionHeight - o - r) < 0 || n < a(d)) && (e.top += p + f + m) : c > 0 && ((i = e.top - t.collisionPosition.marginTop + p + f + m - l) > 0 || a(i) < c) && (e.top += p + f + m) }, }, flipfit: { left: function () { e.ui.position.flip.left.apply(this, arguments), e.ui.position.fit.left.apply(this, arguments) }, top: function () { e.ui.position.flip.top.apply(this, arguments), e.ui.position.fit.top.apply(this, arguments) }, }, }) })() var d = (e.ui.position, e.extend(e.expr[':'], { data: e.expr.createPseudo ? e.expr.createPseudo(function (t) { return function (i) { return !!e.data(i, t) } }) : function (t, i, n) { return !!e.data(t, n[3]) }, }), e.fn.extend({ disableSelection: (function () { var e = 'onselectstart' in document.createElement('div') ? 'selectstart' : 'mousedown' return function () { return this.on(e + '.ui-disableSelection', function (e) { e.preventDefault() }) } })(), enableSelection: function () { return this.off('.ui-disableSelection') }, }), 'ui-effects-animated'), c = e ;(e.effects = { effect: {} }) /*! * jQuery Color Animations v2.1.2 * https://github.com/jquery/jquery-color * * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * Date: Wed Jan 16 08:47:09 2013 -0600 */, (function (e, t) { function i(e, t, i) { var n = d[t.type] || {} return null == e ? i || !t.def ? null : t.def : ((e = n.floor ? ~~e : parseFloat(e)), isNaN(e) ? t.def : n.mod ? (e + n.mod) % n.mod : 0 > e ? 0 : n.max < e ? n.max : e) } function n(t) { var i = l(), n = (i._rgba = []) return ( (t = t.toLowerCase()), p(o, function (e, s) { var r, a = s.re.exec(t), o = a && s.parse(a), l = s.space || 'rgba' if (o) return ( (r = i[l](o)), (i[u[l].cache] = r[u[l].cache]), (n = i._rgba = r._rgba), !1 ) }), n.length ? ('0,0,0,0' === n.join() && e.extend(n, r.transparent), i) : r[t] ) } function s(e, t, i) { return ( (i = (i + 1) % 1), 6 * i < 1 ? e + (t - e) * i * 6 : 2 * i < 1 ? t : 3 * i < 2 ? e + (t - e) * (2 / 3 - i) * 6 : e ) } var r, a = /^([\-+])=\s*(\d+\.?\d*)/, o = [ { re: /rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/, parse: function (e) { return [e[1], e[2], e[3], e[4]] }, }, { re: /rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/, parse: function (e) { return [2.55 * e[1], 2.55 * e[2], 2.55 * e[3], e[4]] }, }, { re: /#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/, parse: function (e) { return [ parseInt(e[1], 16), parseInt(e[2], 16), parseInt(e[3], 16), ] }, }, { re: /#([a-f0-9])([a-f0-9])([a-f0-9])/, parse: function (e) { return [ parseInt(e[1] + e[1], 16), parseInt(e[2] + e[2], 16), parseInt(e[3] + e[3], 16), ] }, }, { re: /hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/, space: 'hsla', parse: function (e) { return [e[1], e[2] / 100, e[3] / 100, e[4]] }, }, ], l = (e.Color = function (t, i, n, s) { return new e.Color.fn.parse(t, i, n, s) }), u = { rgba: { props: { red: { idx: 0, type: 'byte' }, green: { idx: 1, type: 'byte' }, blue: { idx: 2, type: 'byte' }, }, }, hsla: { props: { hue: { idx: 0, type: 'degrees' }, saturation: { idx: 1, type: 'percent' }, lightness: { idx: 2, type: 'percent' }, }, }, }, d = { byte: { floor: !0, max: 255 }, percent: { max: 1 }, degrees: { mod: 360, floor: !0 }, }, c = (l.support = {}), h = e('

    ')[0], p = e.each ;(h.style.cssText = 'background-color:rgba(1,1,1,.5)'), (c.rgba = h.style.backgroundColor.indexOf('rgba') > -1), p(u, function (e, t) { ;(t.cache = '_' + e), (t.props.alpha = { idx: 3, type: 'percent', def: 1 }) }), (l.fn = e.extend(l.prototype, { parse: function (t, s, a, o) { if (void 0 === t) return (this._rgba = [null, null, null, null]), this ;(t.jquery || t.nodeType) && ((t = e(t).css(s)), (s = void 0)) var d = this, c = e.type(t), h = (this._rgba = []) /*! * jQuery Color Animations v2.1.2 * https://github.com/jquery/jquery-color * * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * Date: Wed Jan 16 08:47:09 2013 -0600 */ return ( void 0 !== s && ((t = [t, s, a, o]), (c = 'array')), 'string' === c ? this.parse(n(t) || r._default) : 'array' === c ? (p(u.rgba.props, function (e, n) { h[n.idx] = i(t[n.idx], n) }), this) : 'object' === c ? (t instanceof l ? p(u, function (e, i) { t[i.cache] && (d[i.cache] = t[i.cache].slice()) }) : p(u, function (n, s) { var r = s.cache p(s.props, function (e, n) { if (!d[r] && s.to) { if ('alpha' === e || null == t[e]) return d[r] = s.to(d._rgba) } d[r][n.idx] = i(t[e], n, !0) }), d[r] && e.inArray(null, d[r].slice(0, 3)) < 0 && ((d[r][3] = 1), s.from && (d._rgba = s.from(d[r]))) }), this) : void 0 ) }, is: function (e) { var t = l(e), i = !0, n = this return ( p(u, function (e, s) { var r, a = t[s.cache] return ( a && ((r = n[s.cache] || (s.to && s.to(n._rgba)) || []), p(s.props, function (e, t) { if (null != a[t.idx]) return (i = a[t.idx] === r[t.idx]) })), i ) }), i ) }, _space: function () { var e = [], t = this return ( p(u, function (i, n) { t[n.cache] && e.push(i) }), e.pop() ) }, transition: function (e, t) { var n = l(e), s = n._space(), r = u[s], a = 0 === this.alpha() ? l('transparent') : this, o = a[r.cache] || r.to(a._rgba), c = o.slice() return ( (n = n[r.cache]), p(r.props, function (e, s) { var r = s.idx, a = o[r], l = n[r], u = d[s.type] || {} null !== l && (null === a ? (c[r] = l) : (u.mod && (l - a > u.mod / 2 ? (a += u.mod) : a - l > u.mod / 2 && (a -= u.mod)), (c[r] = i((l - a) * t + a, s)))) }), this[s](c) ) }, blend: function (t) { if (1 === this._rgba[3]) return this var i = this._rgba.slice(), n = i.pop(), s = l(t)._rgba return l( e.map(i, function (e, t) { return (1 - n) * s[t] + n * e }) ) }, toRgbaString: function () { var t = 'rgba(', i = e.map(this._rgba, function (e, t) { return null == e ? (t > 2 ? 1 : 0) : e }) return ( 1 === i[3] && (i.pop(), (t = 'rgb(')), t + i.join() + ')' ) }, toHslaString: function () { var t = 'hsla(', i = e.map(this.hsla(), function (e, t) { return ( null == e && (e = t > 2 ? 1 : 0), t && t < 3 && (e = Math.round(100 * e) + '%'), e ) }) return ( 1 === i[3] && (i.pop(), (t = 'hsl(')), t + i.join() + ')' ) }, toHexString: function (t) { var i = this._rgba.slice(), n = i.pop() return ( t && i.push(~~(255 * n)), '#' + e .map(i, function (e) { return ( (e = (e || 0).toString(16)), 1 === e.length ? '0' + e : e ) }) .join('') ) }, toString: function () { return 0 === this._rgba[3] ? 'transparent' : this.toRgbaString() }, })), (l.fn.parse.prototype = l.fn), (u.hsla.to = function (e) { if (null == e[0] || null == e[1] || null == e[2]) return [null, null, null, e[3]] var t, i, n = e[0] / 255, s = e[1] / 255, r = e[2] / 255, a = e[3], o = Math.max(n, s, r), l = Math.min(n, s, r), u = o - l, d = o + l, c = 0.5 * d return ( (t = l === o ? 0 : n === o ? (60 * (s - r)) / u + 360 : s === o ? (60 * (r - n)) / u + 120 : (60 * (n - s)) / u + 240), (i = 0 === u ? 0 : c <= 0.5 ? u / d : u / (2 - d)), [Math.round(t) % 360, i, c, null == a ? 1 : a] ) }), (u.hsla.from = function (e) { if (null == e[0] || null == e[1] || null == e[2]) return [null, null, null, e[3]] var t = e[0] / 360, i = e[1], n = e[2], r = e[3], a = n <= 0.5 ? n * (1 + i) : n + i - n * i, o = 2 * n - a return [ Math.round(255 * s(o, a, t + 1 / 3)), Math.round(255 * s(o, a, t)), Math.round(255 * s(o, a, t - 1 / 3)), r, ] }), p(u, function (t, n) { var s = n.props, r = n.cache, o = n.to, u = n.from ;(l.fn[t] = function (t) { if ( (o && !this[r] && (this[r] = o(this._rgba)), void 0 === t) ) return this[r].slice() var n, a = e.type(t), d = 'array' === a || 'object' === a ? t : arguments, c = this[r].slice() return ( p(s, function (e, t) { var n = d['object' === a ? e : t.idx] null == n && (n = c[t.idx]), (c[t.idx] = i(n, t)) }), u ? ((n = l(u(c))), (n[r] = c), n) : l(c) ) }), p(s, function (i, n) { l.fn[i] || (l.fn[i] = function (s) { var r, o = e.type(s), l = 'alpha' === i ? this._hsla ? 'hsla' : 'rgba' : t, u = this[l](), d = u[n.idx] return 'undefined' === o ? d : ('function' === o && ((s = s.call(this, d)), (o = e.type(s))), null == s && n.empty ? this : ('string' === o && (r = a.exec(s)) && (s = d + parseFloat(r[2]) * ('+' === r[1] ? 1 : -1)), (u[n.idx] = s), this[l](u))) }) }) }), (l.hook = function (t) { var i = t.split(' ') p(i, function (t, i) { ;(e.cssHooks[i] = { set: function (t, s) { var r, a, o = '' if ( 'transparent' !== s && ('string' !== e.type(s) || (r = n(s))) ) { if (((s = l(r || s)), !c.rgba && 1 !== s._rgba[3])) { for ( a = 'backgroundColor' === i ? t.parentNode : t; ('' === o || 'transparent' === o) && a && a.style; ) try { ;(o = e.css(a, 'backgroundColor')), (a = a.parentNode) } catch (e) {} s = s.blend( o && 'transparent' !== o ? o : '_default' ) } s = s.toRgbaString() } try { t.style[i] = s } catch (e) {} }, }), (e.fx.step[i] = function (t) { t.colorInit || ((t.start = l(t.elem, i)), (t.end = l(t.end)), (t.colorInit = !0)), e.cssHooks[i].set( t.elem, t.start.transition(t.end, t.pos) ) }) }) }), l.hook( 'backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor' ), (e.cssHooks.borderColor = { expand: function (e) { var t = {} return ( p(['Top', 'Right', 'Bottom', 'Left'], function (i, n) { t['border' + n + 'Color'] = e }), t ) }, }), (r = e.Color.names = { aqua: '#00ffff', black: '#000000', blue: '#0000ff', fuchsia: '#ff00ff', gray: '#808080', green: '#008000', lime: '#00ff00', maroon: '#800000', navy: '#000080', olive: '#808000', purple: '#800080', red: '#ff0000', silver: '#c0c0c0', teal: '#008080', white: '#ffffff', yellow: '#ffff00', transparent: [null, null, null, 0], _default: '#ffffff', }) })(c), (function () { function t(t) { var i, n, s = t.ownerDocument.defaultView ? t.ownerDocument.defaultView.getComputedStyle(t, null) : t.currentStyle, r = {} if (s && s.length && s[0] && s[s[0]]) for (n = s.length; n--; ) (i = s[n]), 'string' == typeof s[i] && (r[e.camelCase(i)] = s[i]) else for (i in s) 'string' == typeof s[i] && (r[i] = s[i]) return r } function i(t, i) { var n, r, a = {} for (n in i) (r = i[n]), t[n] !== r && (s[n] || (!e.fx.step[n] && isNaN(parseFloat(r))) || (a[n] = r)) return a } var n = ['add', 'remove', 'toggle'], s = { border: 1, borderBottom: 1, borderColor: 1, borderLeft: 1, borderRight: 1, borderTop: 1, borderWidth: 1, margin: 1, padding: 1, } e.each( [ 'borderLeftStyle', 'borderRightStyle', 'borderBottomStyle', 'borderTopStyle', ], function (t, i) { e.fx.step[i] = function (e) { ;(('none' !== e.end && !e.setAttr) || (1 === e.pos && !e.setAttr)) && (c.style(e.elem, i, e.end), (e.setAttr = !0)) } } ), e.fn.addBack || (e.fn.addBack = function (e) { return this.add( null == e ? this.prevObject : this.prevObject.filter(e) ) }), (e.effects.animateClass = function (s, r, a, o) { var l = e.speed(r, a, o) return this.queue(function () { var r, a = e(this), o = a.attr('class') || '', u = l.children ? a.find('*').addBack() : a ;(u = u.map(function () { return { el: e(this), start: t(this) } })), (r = function () { e.each(n, function (e, t) { s[t] && a[t + 'Class'](s[t]) }) }), r(), (u = u.map(function () { return ( (this.end = t(this.el[0])), (this.diff = i(this.start, this.end)), this ) })), a.attr('class', o), (u = u.map(function () { var t = this, i = e.Deferred(), n = e.extend({}, l, { queue: !1, complete: function () { i.resolve(t) }, }) return this.el.animate(this.diff, n), i.promise() })), e.when.apply(e, u.get()).done(function () { r(), e.each(arguments, function () { var t = this.el e.each(this.diff, function (e) { t.css(e, '') }) }), l.complete.call(a[0]) }) }) }), e.fn.extend({ addClass: (function (t) { return function (i, n, s, r) { return n ? e.effects.animateClass.call(this, { add: i }, n, s, r) : t.apply(this, arguments) } })(e.fn.addClass), removeClass: (function (t) { return function (i, n, s, r) { return arguments.length > 1 ? e.effects.animateClass.call( this, { remove: i }, n, s, r ) : t.apply(this, arguments) } })(e.fn.removeClass), toggleClass: (function (t) { return function (i, n, s, r, a) { return 'boolean' == typeof n || void 0 === n ? s ? e.effects.animateClass.call( this, n ? { add: i } : { remove: i }, s, r, a ) : t.apply(this, arguments) : e.effects.animateClass.call( this, { toggle: i }, n, s, r ) } })(e.fn.toggleClass), switchClass: function (t, i, n, s, r) { return e.effects.animateClass.call( this, { add: i, remove: t }, n, s, r ) }, }) })(), (function () { function t(t, i, n, s) { return ( e.isPlainObject(t) && ((i = t), (t = t.effect)), (t = { effect: t }), null == i && (i = {}), e.isFunction(i) && ((s = i), (n = null), (i = {})), ('number' == typeof i || e.fx.speeds[i]) && ((s = n), (n = i), (i = {})), e.isFunction(n) && ((s = n), (n = null)), i && e.extend(t, i), (n = n || i.duration), (t.duration = e.fx.off ? 0 : 'number' == typeof n ? n : n in e.fx.speeds ? e.fx.speeds[n] : e.fx.speeds._default), (t.complete = s || i.complete), t ) } function i(t) { return ( !(t && 'number' != typeof t && !e.fx.speeds[t]) || ('string' == typeof t && !e.effects.effect[t]) || !!e.isFunction(t) || ('object' == typeof t && !t.effect) ) } function n(e, t) { var i = t.outerWidth(), n = t.outerHeight(), s = /^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/, r = s.exec(e) || ['', 0, i, n, 0] return { top: parseFloat(r[1]) || 0, right: 'auto' === r[2] ? i : parseFloat(r[2]), bottom: 'auto' === r[3] ? n : parseFloat(r[3]), left: parseFloat(r[4]) || 0, } } e.expr && e.expr.filters && e.expr.filters.animated && (e.expr.filters.animated = (function (t) { return function (i) { return !!e(i).data(d) || t(i) } })(e.expr.filters.animated)), !1 !== e.uiBackCompat && e.extend(e.effects, { save: function (e, t) { for (var i = 0, n = t.length; i < n; i++) null !== t[i] && e.data('ui-effects-' + t[i], e[0].style[t[i]]) }, restore: function (e, t) { for (var i, n = 0, s = t.length; n < s; n++) null !== t[n] && ((i = e.data('ui-effects-' + t[n])), e.css(t[n], i)) }, setMode: function (e, t) { return ( 'toggle' === t && (t = e.is(':hidden') ? 'show' : 'hide'), t ) }, createWrapper: function (t) { if (t.parent().is('.ui-effects-wrapper')) return t.parent() var i = { width: t.outerWidth(!0), height: t.outerHeight(!0), float: t.css('float'), }, n = e('

    ') .addClass('ui-effects-wrapper') .css({ fontSize: '100%', background: 'transparent', border: 'none', margin: 0, padding: 0, }), s = { width: t.width(), height: t.height() }, r = document.activeElement try { r.id } catch (e) { r = document.body } return ( t.wrap(n), (t[0] === r || e.contains(t[0], r)) && e(r).trigger('focus'), (n = t.parent()), 'static' === t.css('position') ? (n.css({ position: 'relative' }), t.css({ position: 'relative' })) : (e.extend(i, { position: t.css('position'), zIndex: t.css('z-index'), }), e.each( ['top', 'left', 'bottom', 'right'], function (e, n) { ;(i[n] = t.css(n)), isNaN(parseInt(i[n], 10)) && (i[n] = 'auto') } ), t.css({ position: 'relative', top: 0, left: 0, right: 'auto', bottom: 'auto', })), t.css(s), n.css(i).show() ) }, removeWrapper: function (t) { var i = document.activeElement return ( t.parent().is('.ui-effects-wrapper') && (t.parent().replaceWith(t), (t[0] === i || e.contains(t[0], i)) && e(i).trigger('focus')), t ) }, }), e.extend(e.effects, { version: '1.12.1', define: function (t, i, n) { return ( n || ((n = i), (i = 'effect')), (e.effects.effect[t] = n), (e.effects.effect[t].mode = i), n ) }, scaledDimensions: function (e, t, i) { if (0 === t) return { height: 0, width: 0, outerHeight: 0, outerWidth: 0, } var n = 'horizontal' !== i ? (t || 100) / 100 : 1, s = 'vertical' !== i ? (t || 100) / 100 : 1 return { height: e.height() * s, width: e.width() * n, outerHeight: e.outerHeight() * s, outerWidth: e.outerWidth() * n, } }, clipToBox: function (e) { return { width: e.clip.right - e.clip.left, height: e.clip.bottom - e.clip.top, left: e.clip.left, top: e.clip.top, } }, unshift: function (e, t, i) { var n = e.queue() t > 1 && n.splice.apply(n, [1, 0].concat(n.splice(t, i))), e.dequeue() }, saveStyle: function (e) { e.data('ui-effects-style', e[0].style.cssText) }, restoreStyle: function (e) { ;(e[0].style.cssText = e.data('ui-effects-style') || ''), e.removeData('ui-effects-style') }, mode: function (e, t) { var i = e.is(':hidden') return ( 'toggle' === t && (t = i ? 'show' : 'hide'), (i ? 'hide' === t : 'show' === t) && (t = 'none'), t ) }, getBaseline: function (e, t) { var i, n switch (e[0]) { case 'top': i = 0 break case 'middle': i = 0.5 break case 'bottom': i = 1 break default: i = e[0] / t.height } switch (e[1]) { case 'left': n = 0 break case 'center': n = 0.5 break case 'right': n = 1 break default: n = e[1] / t.width } return { x: n, y: i } }, createPlaceholder: function (t) { var i, n = t.css('position'), s = t.position() return ( t .css({ marginTop: t.css('marginTop'), marginBottom: t.css('marginBottom'), marginLeft: t.css('marginLeft'), marginRight: t.css('marginRight'), }) .outerWidth(t.outerWidth()) .outerHeight(t.outerHeight()), /^(static|relative)/.test(n) && ((n = 'absolute'), (i = e('<' + t[0].nodeName + '>') .insertAfter(t) .css({ display: /^(inline|ruby)/.test(t.css('display')) ? 'inline-block' : 'block', visibility: 'hidden', marginTop: t.css('marginTop'), marginBottom: t.css('marginBottom'), marginLeft: t.css('marginLeft'), marginRight: t.css('marginRight'), float: t.css('float'), }) .outerWidth(t.outerWidth()) .outerHeight(t.outerHeight()) .addClass('ui-effects-placeholder')), t.data('ui-effects-placeholder', i)), t.css({ position: n, left: s.left, top: s.top }), i ) }, removePlaceholder: function (e) { var t = 'ui-effects-placeholder', i = e.data(t) i && (i.remove(), e.removeData(t)) }, cleanUp: function (t) { e.effects.restoreStyle(t), e.effects.removePlaceholder(t) }, setTransition: function (t, i, n, s) { return ( (s = s || {}), e.each(i, function (e, i) { var r = t.cssUnit(i) r[0] > 0 && (s[i] = r[0] * n + r[1]) }), s ) }, }), e.fn.extend({ effect: function () { function i(t) { function i() { o.removeData(d), e.effects.cleanUp(o), 'hide' === n.mode && o.hide(), a() } function a() { e.isFunction(l) && l.call(o[0]), e.isFunction(t) && t() } var o = e(this) ;(n.mode = c.shift()), !1 === e.uiBackCompat || r ? 'none' === n.mode ? (o[u](), a()) : s.call(o[0], n, i) : (o.is(':hidden') ? 'hide' === u : 'show' === u) ? (o[u](), a()) : s.call(o[0], n, a) } var n = t.apply(this, arguments), s = e.effects.effect[n.effect], r = s.mode, a = n.queue, o = a || 'fx', l = n.complete, u = n.mode, c = [], h = function (t) { var i = e(this), n = e.effects.mode(i, u) || r i.data(d, !0), c.push(n), r && ('show' === n || (n === r && 'hide' === n)) && i.show(), (r && 'none' === n) || e.effects.saveStyle(i), e.isFunction(t) && t() } return e.fx.off || !s ? u ? this[u](n.duration, l) : this.each(function () { l && l.call(this) }) : !1 === a ? this.each(h).each(i) : this.queue(o, h).queue(o, i) }, show: (function (e) { return function (n) { if (i(n)) return e.apply(this, arguments) var s = t.apply(this, arguments) return (s.mode = 'show'), this.effect.call(this, s) } })(e.fn.show), hide: (function (e) { return function (n) { if (i(n)) return e.apply(this, arguments) var s = t.apply(this, arguments) return (s.mode = 'hide'), this.effect.call(this, s) } })(e.fn.hide), toggle: (function (e) { return function (n) { if (i(n) || 'boolean' == typeof n) return e.apply(this, arguments) var s = t.apply(this, arguments) return (s.mode = 'toggle'), this.effect.call(this, s) } })(e.fn.toggle), cssUnit: function (t) { var i = this.css(t), n = [] return ( e.each(['em', 'px', '%', 'pt'], function (e, t) { i.indexOf(t) > 0 && (n = [parseFloat(i), t]) }), n ) }, cssClip: function (e) { return e ? this.css( 'clip', 'rect(' + e.top + 'px ' + e.right + 'px ' + e.bottom + 'px ' + e.left + 'px)' ) : n(this.css('clip'), this) }, transfer: function (t, i) { var n = e(this), s = e(t.to), r = 'fixed' === s.css('position'), a = e('body'), o = r ? a.scrollTop() : 0, l = r ? a.scrollLeft() : 0, u = s.offset(), d = { top: u.top - o, left: u.left - l, height: s.innerHeight(), width: s.innerWidth(), }, c = n.offset(), h = e("
    ") .appendTo('body') .addClass(t.className) .css({ top: c.top - o, left: c.left - l, height: n.innerHeight(), width: n.innerWidth(), position: r ? 'fixed' : 'absolute', }) .animate(d, t.duration, t.easing, function () { h.remove(), e.isFunction(i) && i() }) }, }), (e.fx.step.clip = function (t) { t.clipInit || ((t.start = e(t.elem).cssClip()), 'string' == typeof t.end && (t.end = n(t.end, t.elem)), (t.clipInit = !0)), e(t.elem).cssClip({ top: t.pos * (t.end.top - t.start.top) + t.start.top, right: t.pos * (t.end.right - t.start.right) + t.start.right, bottom: t.pos * (t.end.bottom - t.start.bottom) + t.start.bottom, left: t.pos * (t.end.left - t.start.left) + t.start.left, }) }) })(), (function () { var t = {} e.each( ['Quad', 'Cubic', 'Quart', 'Quint', 'Expo'], function (e, i) { t[i] = function (t) { return Math.pow(t, e + 2) } } ), e.extend(t, { Sine: function (e) { return 1 - Math.cos((e * Math.PI) / 2) }, Circ: function (e) { return 1 - Math.sqrt(1 - e * e) }, Elastic: function (e) { return 0 === e || 1 === e ? e : -Math.pow(2, 8 * (e - 1)) * Math.sin(((80 * (e - 1) - 7.5) * Math.PI) / 15) }, Back: function (e) { return e * e * (3 * e - 2) }, Bounce: function (e) { for (var t, i = 4; e < ((t = Math.pow(2, --i)) - 1) / 11; ); return ( 1 / Math.pow(4, 3 - i) - 7.5625 * Math.pow((3 * t - 2) / 22 - e, 2) ) }, }), e.each(t, function (t, i) { ;(e.easing['easeIn' + t] = i), (e.easing['easeOut' + t] = function (e) { return 1 - i(1 - e) }), (e.easing['easeInOut' + t] = function (e) { return e < 0.5 ? i(2 * e) / 2 : 1 - i(-2 * e + 2) / 2 }) }) })() e.effects, e.effects.define('blind', 'hide', function (t, i) { var n = { up: ['bottom', 'top'], vertical: ['bottom', 'top'], down: ['top', 'bottom'], left: ['right', 'left'], horizontal: ['right', 'left'], right: ['left', 'right'], }, s = e(this), r = t.direction || 'up', a = s.cssClip(), o = { clip: e.extend({}, a) }, l = e.effects.createPlaceholder(s) ;(o.clip[n[r][0]] = o.clip[n[r][1]]), 'show' === t.mode && (s.cssClip(o.clip), l && l.css(e.effects.clipToBox(o)), (o.clip = a)), l && l.animate(e.effects.clipToBox(o), t.duration, t.easing), s.animate(o, { queue: !1, duration: t.duration, easing: t.easing, complete: i, }) }), e.effects.define('bounce', function (t, i) { var n, s, r, a = e(this), o = t.mode, l = 'hide' === o, u = 'show' === o, d = t.direction || 'up', c = t.distance, h = t.times || 5, p = 2 * h + (u || l ? 1 : 0), f = t.duration / p, m = t.easing, _ = 'up' === d || 'down' === d ? 'top' : 'left', g = 'up' === d || 'left' === d, v = 0, y = a.queue().length for ( e.effects.createPlaceholder(a), r = a.css(_), c || (c = a['top' === _ ? 'outerHeight' : 'outerWidth']() / 3), u && ((s = { opacity: 1 }), (s[_] = r), a .css('opacity', 0) .css(_, g ? 2 * -c : 2 * c) .animate(s, f, m)), l && (c /= Math.pow(2, h - 1)), s = {}, s[_] = r; v < h; v++ ) (n = {}), (n[_] = (g ? '-=' : '+=') + c), a.animate(n, f, m).animate(s, f, m), (c = l ? 2 * c : c / 2) l && ((n = { opacity: 0 }), (n[_] = (g ? '-=' : '+=') + c), a.animate(n, f, m)), a.queue(i), e.effects.unshift(a, y, p + 1) }), e.effects.define('clip', 'hide', function (t, i) { var n, s = {}, r = e(this), a = t.direction || 'vertical', o = 'both' === a, l = o || 'horizontal' === a, u = o || 'vertical' === a ;(n = r.cssClip()), (s.clip = { top: u ? (n.bottom - n.top) / 2 : n.top, right: l ? (n.right - n.left) / 2 : n.right, bottom: u ? (n.bottom - n.top) / 2 : n.bottom, left: l ? (n.right - n.left) / 2 : n.left, }), e.effects.createPlaceholder(r), 'show' === t.mode && (r.cssClip(s.clip), (s.clip = n)), r.animate(s, { queue: !1, duration: t.duration, easing: t.easing, complete: i, }) }), e.effects.define('drop', 'hide', function (t, i) { var n, s = e(this), r = t.mode, a = 'show' === r, o = t.direction || 'left', l = 'up' === o || 'down' === o ? 'top' : 'left', u = 'up' === o || 'left' === o ? '-=' : '+=', d = '+=' === u ? '-=' : '+=', c = { opacity: 0 } e.effects.createPlaceholder(s), (n = t.distance || s['top' === l ? 'outerHeight' : 'outerWidth'](!0) / 2), (c[l] = u + n), a && (s.css(c), (c[l] = d + n), (c.opacity = 1)), s.animate(c, { queue: !1, duration: t.duration, easing: t.easing, complete: i, }) }), e.effects.define('explode', 'hide', function (t, i) { function n() { y.push(this), y.length === c * h && s() } function s() { p.css({ visibility: 'visible' }), e(y).remove(), i() } var r, a, o, l, u, d, c = t.pieces ? Math.round(Math.sqrt(t.pieces)) : 3, h = c, p = e(this), f = t.mode, m = 'show' === f, _ = p.show().css('visibility', 'hidden').offset(), g = Math.ceil(p.outerWidth() / h), v = Math.ceil(p.outerHeight() / c), y = [] for (r = 0; r < c; r++) for (l = _.top + r * v, d = r - (c - 1) / 2, a = 0; a < h; a++) (o = _.left + a * g), (u = a - (h - 1) / 2), p .clone() .appendTo('body') .wrap('
    ') .css({ position: 'absolute', visibility: 'visible', left: -a * g, top: -r * v, }) .parent() .addClass('ui-effects-explode') .css({ position: 'absolute', overflow: 'hidden', width: g, height: v, left: o + (m ? u * g : 0), top: l + (m ? d * v : 0), opacity: m ? 0 : 1, }) .animate( { left: o + (m ? 0 : u * g), top: l + (m ? 0 : d * v), opacity: m ? 1 : 0, }, t.duration || 500, t.easing, n ) }), e.effects.define('fade', 'toggle', function (t, i) { var n = 'show' === t.mode e(this) .css('opacity', n ? 0 : 1) .animate( { opacity: n ? 1 : 0 }, { queue: !1, duration: t.duration, easing: t.easing, complete: i, } ) }), e.effects.define('fold', 'hide', function (t, i) { var n = e(this), s = t.mode, r = 'show' === s, a = 'hide' === s, o = t.size || 15, l = /([0-9]+)%/.exec(o), u = !!t.horizFirst, d = u ? ['right', 'bottom'] : ['bottom', 'right'], c = t.duration / 2, h = e.effects.createPlaceholder(n), p = n.cssClip(), f = { clip: e.extend({}, p) }, m = { clip: e.extend({}, p) }, _ = [p[d[0]], p[d[1]]], g = n.queue().length l && (o = (parseInt(l[1], 10) / 100) * _[a ? 0 : 1]), (f.clip[d[0]] = o), (m.clip[d[0]] = o), (m.clip[d[1]] = 0), r && (n.cssClip(m.clip), h && h.css(e.effects.clipToBox(m)), (m.clip = p)), n .queue(function (i) { h && h .animate(e.effects.clipToBox(f), c, t.easing) .animate(e.effects.clipToBox(m), c, t.easing), i() }) .animate(f, c, t.easing) .animate(m, c, t.easing) .queue(i), e.effects.unshift(n, g, 4) }), e.effects.define('highlight', 'show', function (t, i) { var n = e(this), s = { backgroundColor: n.css('backgroundColor') } 'hide' === t.mode && (s.opacity = 0), e.effects.saveStyle(n), n .css({ backgroundImage: 'none', backgroundColor: t.color || '#ffff99', }) .animate(s, { queue: !1, duration: t.duration, easing: t.easing, complete: i, }) }), e.effects.define('size', function (t, i) { var n, s, r, a = e(this), o = ['fontSize'], l = [ 'borderTopWidth', 'borderBottomWidth', 'paddingTop', 'paddingBottom', ], u = [ 'borderLeftWidth', 'borderRightWidth', 'paddingLeft', 'paddingRight', ], d = t.mode, c = 'effect' !== d, h = t.scale || 'both', p = t.origin || ['middle', 'center'], f = a.css('position'), m = a.position(), _ = e.effects.scaledDimensions(a), g = t.from || _, v = t.to || e.effects.scaledDimensions(a, 0) e.effects.createPlaceholder(a), 'show' === d && ((r = g), (g = v), (v = r)), (s = { from: { y: g.height / _.height, x: g.width / _.width }, to: { y: v.height / _.height, x: v.width / _.width }, }), ('box' !== h && 'both' !== h) || (s.from.y !== s.to.y && ((g = e.effects.setTransition(a, l, s.from.y, g)), (v = e.effects.setTransition(a, l, s.to.y, v))), s.from.x !== s.to.x && ((g = e.effects.setTransition(a, u, s.from.x, g)), (v = e.effects.setTransition(a, u, s.to.x, v)))), ('content' !== h && 'both' !== h) || (s.from.y !== s.to.y && ((g = e.effects.setTransition(a, o, s.from.y, g)), (v = e.effects.setTransition(a, o, s.to.y, v)))), p && ((n = e.effects.getBaseline(p, _)), (g.top = (_.outerHeight - g.outerHeight) * n.y + m.top), (g.left = (_.outerWidth - g.outerWidth) * n.x + m.left), (v.top = (_.outerHeight - v.outerHeight) * n.y + m.top), (v.left = (_.outerWidth - v.outerWidth) * n.x + m.left)), a.css(g), ('content' !== h && 'both' !== h) || ((l = l.concat(['marginTop', 'marginBottom']).concat(o)), (u = u.concat(['marginLeft', 'marginRight'])), a.find('*[width]').each(function () { var i = e(this), n = e.effects.scaledDimensions(i), r = { height: n.height * s.from.y, width: n.width * s.from.x, outerHeight: n.outerHeight * s.from.y, outerWidth: n.outerWidth * s.from.x, }, a = { height: n.height * s.to.y, width: n.width * s.to.x, outerHeight: n.height * s.to.y, outerWidth: n.width * s.to.x, } s.from.y !== s.to.y && ((r = e.effects.setTransition(i, l, s.from.y, r)), (a = e.effects.setTransition(i, l, s.to.y, a))), s.from.x !== s.to.x && ((r = e.effects.setTransition(i, u, s.from.x, r)), (a = e.effects.setTransition(i, u, s.to.x, a))), c && e.effects.saveStyle(i), i.css(r), i.animate(a, t.duration, t.easing, function () { c && e.effects.restoreStyle(i) }) })), a.animate(v, { queue: !1, duration: t.duration, easing: t.easing, complete: function () { var t = a.offset() 0 === v.opacity && a.css('opacity', g.opacity), c || (a .css('position', 'static' === f ? 'relative' : f) .offset(t), e.effects.saveStyle(a)), i() }, }) }), e.effects.define('scale', function (t, i) { var n = e(this), s = t.mode, r = parseInt(t.percent, 10) || (0 === parseInt(t.percent, 10) ? 0 : 'effect' !== s ? 0 : 100), a = e.extend( !0, { from: e.effects.scaledDimensions(n), to: e.effects.scaledDimensions(n, r, t.direction || 'both'), origin: t.origin || ['middle', 'center'], }, t ) t.fade && ((a.from.opacity = 1), (a.to.opacity = 0)), e.effects.effect.size.call(this, a, i) }), e.effects.define('puff', 'hide', function (t, i) { var n = e.extend(!0, {}, t, { fade: !0, percent: parseInt(t.percent, 10) || 150, }) e.effects.effect.scale.call(this, n, i) }), e.effects.define('pulsate', 'show', function (t, i) { var n = e(this), s = t.mode, r = 'show' === s, a = 'hide' === s, o = r || a, l = 2 * (t.times || 5) + (o ? 1 : 0), u = t.duration / l, d = 0, c = 1, h = n.queue().length for ( (!r && n.is(':visible')) || (n.css('opacity', 0).show(), (d = 1)); c < l; c++ ) n.animate({ opacity: d }, u, t.easing), (d = 1 - d) n.animate({ opacity: d }, u, t.easing), n.queue(i), e.effects.unshift(n, h, l + 1) }), e.effects.define('shake', function (t, i) { var n = 1, s = e(this), r = t.direction || 'left', a = t.distance || 20, o = t.times || 3, l = 2 * o + 1, u = Math.round(t.duration / l), d = 'up' === r || 'down' === r ? 'top' : 'left', c = 'up' === r || 'left' === r, h = {}, p = {}, f = {}, m = s.queue().length for ( e.effects.createPlaceholder(s), h[d] = (c ? '-=' : '+=') + a, p[d] = (c ? '+=' : '-=') + 2 * a, f[d] = (c ? '-=' : '+=') + 2 * a, s.animate(h, u, t.easing); n < o; n++ ) s.animate(p, u, t.easing).animate(f, u, t.easing) s .animate(p, u, t.easing) .animate(h, u / 2, t.easing) .queue(i), e.effects.unshift(s, m, l + 1) }), e.effects.define('slide', 'show', function (t, i) { var n, s, r = e(this), a = { up: ['bottom', 'top'], down: ['top', 'bottom'], left: ['right', 'left'], right: ['left', 'right'], }, o = t.mode, l = t.direction || 'left', u = 'up' === l || 'down' === l ? 'top' : 'left', d = 'up' === l || 'left' === l, c = t.distance || r['top' === u ? 'outerHeight' : 'outerWidth'](!0), h = {} e.effects.createPlaceholder(r), (n = r.cssClip()), (s = r.position()[u]), (h[u] = (d ? -1 : 1) * c + s), (h.clip = r.cssClip()), (h.clip[a[l][1]] = h.clip[a[l][0]]), 'show' === o && (r.cssClip(h.clip), r.css(u, h[u]), (h.clip = n), (h[u] = s)), r.animate(h, { queue: !1, duration: t.duration, easing: t.easing, complete: i, }) }) !1 !== e.uiBackCompat && e.effects.define('transfer', function (t, i) { e(this).transfer(t, i) }) /*! * jQuery UI Focusable 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ ;(e.ui.focusable = function (i, n) { var s, r, a, o, l, u = i.nodeName.toLowerCase() return 'area' === u ? ((s = i.parentNode), (r = s.name), !(!i.href || !r || 'map' !== s.nodeName.toLowerCase()) && ((a = e("img[usemap='#" + r + "']")), a.length > 0 && a.is(':visible'))) : (/^(input|select|textarea|button|object)$/.test(u) ? (o = !i.disabled) && (l = e(i).closest('fieldset')[0]) && (o = !l.disabled) : (o = 'a' === u ? i.href || n : n), o && e(i).is(':visible') && t(e(i))) }), e.extend(e.expr[':'], { focusable: function (t) { return e.ui.focusable(t, null != e.attr(t, 'tabindex')) }, }) e.ui.focusable, (e.fn.form = function () { return 'string' == typeof this[0].form ? this.closest('form') : e(this[0].form) }), (e.ui.formResetMixin = { _formResetHandler: function () { var t = e(this) setTimeout(function () { var i = t.data('ui-form-reset-instances') e.each(i, function () { this.refresh() }) }) }, _bindFormResetHandler: function () { if (((this.form = this.element.form()), this.form.length)) { var e = this.form.data('ui-form-reset-instances') || [] e.length || this.form.on('reset.ui-form-reset', this._formResetHandler), e.push(this), this.form.data('ui-form-reset-instances', e) } }, _unbindFormResetHandler: function () { if (this.form.length) { var t = this.form.data('ui-form-reset-instances') t.splice(e.inArray(this, t), 1), t.length ? this.form.data('ui-form-reset-instances', t) : this.form .removeData('ui-form-reset-instances') .off('reset.ui-form-reset') } }, }) /*! * jQuery UI Support for jQuery core 1.7.x 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * */ '1.7' === e.fn.jquery.substring(0, 3) && (e.each(['Width', 'Height'], function (t, i) { function n(t, i, n, r) { return ( e.each(s, function () { ;(i -= parseFloat(e.css(t, 'padding' + this)) || 0), n && (i -= parseFloat(e.css(t, 'border' + this + 'Width')) || 0), r && (i -= parseFloat(e.css(t, 'margin' + this)) || 0) }), i ) } var s = 'Width' === i ? ['Left', 'Right'] : ['Top', 'Bottom'], r = i.toLowerCase(), a = { innerWidth: e.fn.innerWidth, innerHeight: e.fn.innerHeight, outerWidth: e.fn.outerWidth, outerHeight: e.fn.outerHeight, } ;(e.fn['inner' + i] = function (t) { return void 0 === t ? a['inner' + i].call(this) : this.each(function () { e(this).css(r, n(this, t) + 'px') }) }), (e.fn['outer' + i] = function (t, s) { return 'number' != typeof t ? a['outer' + i].call(this, t) : this.each(function () { e(this).css(r, n(this, t, !0, s) + 'px') }) }) }), (e.fn.addBack = function (e) { return this.add( null == e ? this.prevObject : this.prevObject.filter(e) ) })) /*! * jQuery UI Keycode 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ ;(e.ui.keyCode = { BACKSPACE: 8, COMMA: 188, DELETE: 46, DOWN: 40, END: 35, ENTER: 13, ESCAPE: 27, HOME: 36, LEFT: 37, PAGE_DOWN: 34, PAGE_UP: 33, PERIOD: 190, RIGHT: 39, SPACE: 32, TAB: 9, UP: 38, }), (e.ui.escapeSelector = (function () { var e = /([!"#$%&'()*+,.\/:;<=>?@[\]^`{|}~])/g return function (t) { return t.replace(e, '\\$1') } })()), (e.fn.labels = function () { var t, i, n, s, r return this[0].labels && this[0].labels.length ? this.pushStack(this[0].labels) : ((s = this.eq(0).parents('label')), (n = this.attr('id')), n && ((t = this.eq(0).parents().last()), (r = t.add(t.length ? t.siblings() : this.siblings())), (i = "label[for='" + e.ui.escapeSelector(n) + "']"), (s = s.add(r.find(i).addBack(i)))), this.pushStack(s)) }), (e.fn.scrollParent = function (t) { var i = this.css('position'), n = 'absolute' === i, s = t ? /(auto|scroll|hidden)/ : /(auto|scroll)/, r = this.parents() .filter(function () { var t = e(this) return ( (!n || 'static' !== t.css('position')) && s.test( t.css('overflow') + t.css('overflow-y') + t.css('overflow-x') ) ) }) .eq(0) return 'fixed' !== i && r.length ? r : e(this[0].ownerDocument || document) }), e.extend(e.expr[':'], { tabbable: function (t) { var i = e.attr(t, 'tabindex'), n = null != i return (!n || i >= 0) && e.ui.focusable(t, n) }, }), e.fn.extend({ uniqueId: (function () { var e = 0 return function () { return this.each(function () { this.id || (this.id = 'ui-id-' + ++e) }) } })(), removeUniqueId: function () { return this.each(function () { ;/^ui-id-\d+$/.test(this.id) && e(this).removeAttr('id') }) }, }), e.widget('ui.accordion', { version: '1.12.1', options: { active: 0, animate: {}, classes: { 'ui-accordion-header': 'ui-corner-top', 'ui-accordion-header-collapsed': 'ui-corner-all', 'ui-accordion-content': 'ui-corner-bottom', }, collapsible: !1, event: 'click', header: '> li > :first-child, > :not(li):even', heightStyle: 'auto', icons: { activeHeader: 'ui-icon-triangle-1-s', header: 'ui-icon-triangle-1-e', }, activate: null, beforeActivate: null, }, hideProps: { borderTopWidth: 'hide', borderBottomWidth: 'hide', paddingTop: 'hide', paddingBottom: 'hide', height: 'hide', }, showProps: { borderTopWidth: 'show', borderBottomWidth: 'show', paddingTop: 'show', paddingBottom: 'show', height: 'show', }, _create: function () { var t = this.options ;(this.prevShow = this.prevHide = e()), this._addClass('ui-accordion', 'ui-widget ui-helper-reset'), this.element.attr('role', 'tablist'), t.collapsible || (!1 !== t.active && null != t.active) || (t.active = 0), this._processPanels(), t.active < 0 && (t.active += this.headers.length), this._refresh() }, _getCreateEventData: function () { return { header: this.active, panel: this.active.length ? this.active.next() : e(), } }, _createIcons: function () { var t, i, n = this.options.icons n && ((t = e('')), this._addClass( t, 'ui-accordion-header-icon', 'ui-icon ' + n.header ), t.prependTo(this.headers), (i = this.active.children('.ui-accordion-header-icon')), this._removeClass(i, n.header) ._addClass(i, null, n.activeHeader) ._addClass(this.headers, 'ui-accordion-icons')) }, _destroyIcons: function () { this._removeClass(this.headers, 'ui-accordion-icons'), this.headers.children('.ui-accordion-header-icon').remove() }, _destroy: function () { var e this.element.removeAttr('role'), this.headers .removeAttr( 'role aria-expanded aria-selected aria-controls tabIndex' ) .removeUniqueId(), this._destroyIcons(), (e = this.headers .next() .css('display', '') .removeAttr('role aria-hidden aria-labelledby') .removeUniqueId()), 'content' !== this.options.heightStyle && e.css('height', '') }, _setOption: function (e, t) { if ('active' === e) return void this._activate(t) 'event' === e && (this.options.event && this._off(this.headers, this.options.event), this._setupEvents(t)), this._super(e, t), 'collapsible' !== e || t || !1 !== this.options.active || this._activate(0), 'icons' === e && (this._destroyIcons(), t && this._createIcons()) }, _setOptionDisabled: function (e) { this._super(e), this.element.attr('aria-disabled', e), this._toggleClass(null, 'ui-state-disabled', !!e), this._toggleClass( this.headers.add(this.headers.next()), null, 'ui-state-disabled', !!e ) }, _keydown: function (t) { if (!t.altKey && !t.ctrlKey) { var i = e.ui.keyCode, n = this.headers.length, s = this.headers.index(t.target), r = !1 switch (t.keyCode) { case i.RIGHT: case i.DOWN: r = this.headers[(s + 1) % n] break case i.LEFT: case i.UP: r = this.headers[(s - 1 + n) % n] break case i.SPACE: case i.ENTER: this._eventHandler(t) break case i.HOME: r = this.headers[0] break case i.END: r = this.headers[n - 1] } r && (e(t.target).attr('tabIndex', -1), e(r).attr('tabIndex', 0), e(r).trigger('focus'), t.preventDefault()) } }, _panelKeyDown: function (t) { t.keyCode === e.ui.keyCode.UP && t.ctrlKey && e(t.currentTarget).prev().trigger('focus') }, refresh: function () { var t = this.options this._processPanels(), (!1 === t.active && !0 === t.collapsible) || !this.headers.length ? ((t.active = !1), (this.active = e())) : !1 === t.active ? this._activate(0) : this.active.length && !e.contains(this.element[0], this.active[0]) ? this.headers.length === this.headers.find('.ui-state-disabled').length ? ((t.active = !1), (this.active = e())) : this._activate(Math.max(0, t.active - 1)) : (t.active = this.headers.index(this.active)), this._destroyIcons(), this._refresh() }, _processPanels: function () { var e = this.headers, t = this.panels ;(this.headers = this.element.find(this.options.header)), this._addClass( this.headers, 'ui-accordion-header ui-accordion-header-collapsed', 'ui-state-default' ), (this.panels = this.headers .next() .filter(':not(.ui-accordion-content-active)') .hide()), this._addClass( this.panels, 'ui-accordion-content', 'ui-helper-reset ui-widget-content' ), t && (this._off(e.not(this.headers)), this._off(t.not(this.panels))) }, _refresh: function () { var t, i = this.options, n = i.heightStyle, s = this.element.parent() ;(this.active = this._findActive(i.active)), this._addClass( this.active, 'ui-accordion-header-active', 'ui-state-active' )._removeClass(this.active, 'ui-accordion-header-collapsed'), this._addClass( this.active.next(), 'ui-accordion-content-active' ), this.active.next().show(), this.headers .attr('role', 'tab') .each(function () { var t = e(this), i = t.uniqueId().attr('id'), n = t.next(), s = n.uniqueId().attr('id') t.attr('aria-controls', s), n.attr('aria-labelledby', i) }) .next() .attr('role', 'tabpanel'), this.headers .not(this.active) .attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabIndex: -1, }) .next() .attr({ 'aria-hidden': 'true' }) .hide(), this.active.length ? this.active .attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabIndex: 0, }) .next() .attr({ 'aria-hidden': 'false' }) : this.headers.eq(0).attr('tabIndex', 0), this._createIcons(), this._setupEvents(i.event), 'fill' === n ? ((t = s.height()), this.element.siblings(':visible').each(function () { var i = e(this), n = i.css('position') 'absolute' !== n && 'fixed' !== n && (t -= i.outerHeight(!0)) }), this.headers.each(function () { t -= e(this).outerHeight(!0) }), this.headers .next() .each(function () { e(this).height( Math.max( 0, t - e(this).innerHeight() + e(this).height() ) ) }) .css('overflow', 'auto')) : 'auto' === n && ((t = 0), this.headers .next() .each(function () { var i = e(this).is(':visible') i || e(this).show(), (t = Math.max( t, e(this).css('height', '').height() )), i || e(this).hide() }) .height(t)) }, _activate: function (t) { var i = this._findActive(t)[0] i !== this.active[0] && ((i = i || this.active[0]), this._eventHandler({ target: i, currentTarget: i, preventDefault: e.noop, })) }, _findActive: function (t) { return 'number' == typeof t ? this.headers.eq(t) : e() }, _setupEvents: function (t) { var i = { keydown: '_keydown' } t && e.each(t.split(' '), function (e, t) { i[t] = '_eventHandler' }), this._off(this.headers.add(this.headers.next())), this._on(this.headers, i), this._on(this.headers.next(), { keydown: '_panelKeyDown' }), this._hoverable(this.headers), this._focusable(this.headers) }, _eventHandler: function (t) { var i, n, s = this.options, r = this.active, a = e(t.currentTarget), o = a[0] === r[0], l = o && s.collapsible, u = l ? e() : a.next(), d = r.next(), c = { oldHeader: r, oldPanel: d, newHeader: l ? e() : a, newPanel: u, } t.preventDefault(), (o && !s.collapsible) || !1 === this._trigger('beforeActivate', t, c) || ((s.active = !l && this.headers.index(a)), (this.active = o ? e() : a), this._toggle(c), this._removeClass( r, 'ui-accordion-header-active', 'ui-state-active' ), s.icons && ((i = r.children('.ui-accordion-header-icon')), this._removeClass( i, null, s.icons.activeHeader )._addClass(i, null, s.icons.header)), o || (this._removeClass( a, 'ui-accordion-header-collapsed' )._addClass( a, 'ui-accordion-header-active', 'ui-state-active' ), s.icons && ((n = a.children('.ui-accordion-header-icon')), this._removeClass(n, null, s.icons.header)._addClass( n, null, s.icons.activeHeader )), this._addClass(a.next(), 'ui-accordion-content-active'))) }, _toggle: function (t) { var i = t.newPanel, n = this.prevShow.length ? this.prevShow : t.oldPanel this.prevShow.add(this.prevHide).stop(!0, !0), (this.prevShow = i), (this.prevHide = n), this.options.animate ? this._animate(i, n, t) : (n.hide(), i.show(), this._toggleComplete(t)), n.attr({ 'aria-hidden': 'true' }), n .prev() .attr({ 'aria-selected': 'false', 'aria-expanded': 'false', }), i.length && n.length ? n.prev().attr({ tabIndex: -1, 'aria-expanded': 'false' }) : i.length && this.headers .filter(function () { return 0 === parseInt(e(this).attr('tabIndex'), 10) }) .attr('tabIndex', -1), i .attr('aria-hidden', 'false') .prev() .attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabIndex: 0, }) }, _animate: function (e, t, i) { var n, s, r, a = this, o = 0, l = e.css('box-sizing'), u = e.length && (!t.length || e.index() < t.index()), d = this.options.animate || {}, c = (u && d.down) || d, h = function () { a._toggleComplete(i) } return ( 'number' == typeof c && (r = c), 'string' == typeof c && (s = c), (s = s || c.easing || d.easing), (r = r || c.duration || d.duration), t.length ? e.length ? ((n = e.show().outerHeight()), t.animate(this.hideProps, { duration: r, easing: s, step: function (e, t) { t.now = Math.round(e) }, }), void e.hide().animate(this.showProps, { duration: r, easing: s, complete: h, step: function (e, i) { ;(i.now = Math.round(e)), 'height' !== i.prop ? 'content-box' === l && (o += i.now) : 'content' !== a.options.heightStyle && ((i.now = Math.round( n - t.outerHeight() - o )), (o = 0)) }, })) : t.animate(this.hideProps, r, s, h) : e.animate(this.showProps, r, s, h) ) }, _toggleComplete: function (e) { var t = e.oldPanel, i = t.prev() this._removeClass(t, 'ui-accordion-content-active'), this._removeClass(i, 'ui-accordion-header-active')._addClass( i, 'ui-accordion-header-collapsed' ), t.length && (t.parent()[0].className = t.parent()[0].className), this._trigger('activate', null, e) }, }), (e.ui.safeActiveElement = function (e) { var t try { t = e.activeElement } catch (i) { t = e.body } return t || (t = e.body), t.nodeName || (t = e.body), t }), e.widget('ui.menu', { version: '1.12.1', defaultElement: '
      ', delay: 300, options: { icons: { submenu: 'ui-icon-caret-1-e' }, items: '> *', menus: 'ul', position: { my: 'left top', at: 'right top' }, role: 'menu', blur: null, focus: null, select: null, }, _create: function () { ;(this.activeMenu = this.element), (this.mouseHandled = !1), this.element .uniqueId() .attr({ role: this.options.role, tabIndex: 0 }), this._addClass('ui-menu', 'ui-widget ui-widget-content'), this._on({ 'mousedown .ui-menu-item': function (e) { e.preventDefault() }, 'click .ui-menu-item': function (t) { var i = e(t.target), n = e(e.ui.safeActiveElement(this.document[0])) !this.mouseHandled && i.not('.ui-state-disabled').length && (this.select(t), t.isPropagationStopped() || (this.mouseHandled = !0), i.has('.ui-menu').length ? this.expand(t) : !this.element.is(':focus') && n.closest('.ui-menu').length && (this.element.trigger('focus', [!0]), this.active && 1 === this.active.parents('.ui-menu').length && clearTimeout(this.timer))) }, 'mouseenter .ui-menu-item': function (t) { if (!this.previousFilter) { var i = e(t.target).closest('.ui-menu-item'), n = e(t.currentTarget) i[0] === n[0] && (this._removeClass( n.siblings().children('.ui-state-active'), null, 'ui-state-active' ), this.focus(t, n)) } }, mouseleave: 'collapseAll', 'mouseleave .ui-menu': 'collapseAll', focus: function (e, t) { var i = this.active || this.element.find(this.options.items).eq(0) t || this.focus(e, i) }, blur: function (t) { this._delay(function () { !e.contains( this.element[0], e.ui.safeActiveElement(this.document[0]) ) && this.collapseAll(t) }) }, keydown: '_keydown', }), this.refresh(), this._on(this.document, { click: function (e) { this._closeOnDocumentClick(e) && this.collapseAll(e), (this.mouseHandled = !1) }, }) }, _destroy: function () { var t = this.element .find('.ui-menu-item') .removeAttr('role aria-disabled'), i = t .children('.ui-menu-item-wrapper') .removeUniqueId() .removeAttr('tabIndex role aria-haspopup') this.element .removeAttr('aria-activedescendant') .find('.ui-menu') .addBack() .removeAttr( 'role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex' ) .removeUniqueId() .show(), i.children().each(function () { var t = e(this) t.data('ui-menu-submenu-caret') && t.remove() }) }, _keydown: function (t) { var i, n, s, r, a = !0 switch (t.keyCode) { case e.ui.keyCode.PAGE_UP: this.previousPage(t) break case e.ui.keyCode.PAGE_DOWN: this.nextPage(t) break case e.ui.keyCode.HOME: this._move('first', 'first', t) break case e.ui.keyCode.END: this._move('last', 'last', t) break case e.ui.keyCode.UP: this.previous(t) break case e.ui.keyCode.DOWN: this.next(t) break case e.ui.keyCode.LEFT: this.collapse(t) break case e.ui.keyCode.RIGHT: this.active && !this.active.is('.ui-state-disabled') && this.expand(t) break case e.ui.keyCode.ENTER: case e.ui.keyCode.SPACE: this._activate(t) break case e.ui.keyCode.ESCAPE: this.collapse(t) break default: ;(a = !1), (n = this.previousFilter || ''), (r = !1), (s = t.keyCode >= 96 && t.keyCode <= 105 ? (t.keyCode - 96).toString() : String.fromCharCode(t.keyCode)), clearTimeout(this.filterTimer), s === n ? (r = !0) : (s = n + s), (i = this._filterMenuItems(s)), (i = r && -1 !== i.index(this.active.next()) ? this.active.nextAll('.ui-menu-item') : i), i.length || ((s = String.fromCharCode(t.keyCode)), (i = this._filterMenuItems(s))), i.length ? (this.focus(t, i), (this.previousFilter = s), (this.filterTimer = this._delay(function () { delete this.previousFilter }, 1e3))) : delete this.previousFilter } a && t.preventDefault() }, _activate: function (e) { this.active && !this.active.is('.ui-state-disabled') && (this.active.children("[aria-haspopup='true']").length ? this.expand(e) : this.select(e)) }, refresh: function () { var t, i, n, s, r, a = this, o = this.options.icons.submenu, l = this.element.find(this.options.menus) this._toggleClass( 'ui-menu-icons', null, !!this.element.find('.ui-icon').length ), (n = l .filter(':not(.ui-menu)') .hide() .attr({ role: this.options.role, 'aria-hidden': 'true', 'aria-expanded': 'false', }) .each(function () { var t = e(this), i = t.prev(), n = e('').data('ui-menu-submenu-caret', !0) a._addClass(n, 'ui-menu-icon', 'ui-icon ' + o), i.attr('aria-haspopup', 'true').prepend(n), t.attr('aria-labelledby', i.attr('id')) })), this._addClass( n, 'ui-menu', 'ui-widget ui-widget-content ui-front' ), (t = l.add(this.element)), (i = t.find(this.options.items)), i.not('.ui-menu-item').each(function () { var t = e(this) a._isDivider(t) && a._addClass(t, 'ui-menu-divider', 'ui-widget-content') }), (s = i.not('.ui-menu-item, .ui-menu-divider')), (r = s .children() .not('.ui-menu') .uniqueId() .attr({ tabIndex: -1, role: this._itemRole() })), this._addClass(s, 'ui-menu-item')._addClass( r, 'ui-menu-item-wrapper' ), i.filter('.ui-state-disabled').attr('aria-disabled', 'true'), this.active && !e.contains(this.element[0], this.active[0]) && this.blur() }, _itemRole: function () { return { menu: 'menuitem', listbox: 'option' }[ this.options.role ] }, _setOption: function (e, t) { if ('icons' === e) { var i = this.element.find('.ui-menu-icon') this._removeClass( i, null, this.options.icons.submenu )._addClass(i, null, t.submenu) } this._super(e, t) }, _setOptionDisabled: function (e) { this._super(e), this.element.attr('aria-disabled', String(e)), this._toggleClass(null, 'ui-state-disabled', !!e) }, focus: function (e, t) { var i, n, s this.blur(e, e && 'focus' === e.type), this._scrollIntoView(t), (this.active = t.first()), (n = this.active.children('.ui-menu-item-wrapper')), this._addClass(n, null, 'ui-state-active'), this.options.role && this.element.attr('aria-activedescendant', n.attr('id')), (s = this.active .parent() .closest('.ui-menu-item') .children('.ui-menu-item-wrapper')), this._addClass(s, null, 'ui-state-active'), e && 'keydown' === e.type ? this._close() : (this.timer = this._delay(function () { this._close() }, this.delay)), (i = t.children('.ui-menu')), i.length && e && /^mouse/.test(e.type) && this._startOpening(i), (this.activeMenu = t.parent()), this._trigger('focus', e, { item: t }) }, _scrollIntoView: function (t) { var i, n, s, r, a, o this._hasScroll() && ((i = parseFloat(e.css(this.activeMenu[0], 'borderTopWidth')) || 0), (n = parseFloat(e.css(this.activeMenu[0], 'paddingTop')) || 0), (s = t.offset().top - this.activeMenu.offset().top - i - n), (r = this.activeMenu.scrollTop()), (a = this.activeMenu.height()), (o = t.outerHeight()), s < 0 ? this.activeMenu.scrollTop(r + s) : s + o > a && this.activeMenu.scrollTop(r + s - a + o)) }, blur: function (e, t) { t || clearTimeout(this.timer), this.active && (this._removeClass( this.active.children('.ui-menu-item-wrapper'), null, 'ui-state-active' ), this._trigger('blur', e, { item: this.active }), (this.active = null)) }, _startOpening: function (e) { clearTimeout(this.timer), 'true' === e.attr('aria-hidden') && (this.timer = this._delay(function () { this._close(), this._open(e) }, this.delay)) }, _open: function (t) { var i = e.extend({ of: this.active }, this.options.position) clearTimeout(this.timer), this.element .find('.ui-menu') .not(t.parents('.ui-menu')) .hide() .attr('aria-hidden', 'true'), t .show() .removeAttr('aria-hidden') .attr('aria-expanded', 'true') .position(i) }, collapseAll: function (t, i) { clearTimeout(this.timer), (this.timer = this._delay(function () { var n = i ? this.element : e(t && t.target).closest(this.element.find('.ui-menu')) n.length || (n = this.element), this._close(n), this.blur(t), this._removeClass( n.find('.ui-state-active'), null, 'ui-state-active' ), (this.activeMenu = n) }, this.delay)) }, _close: function (e) { e || (e = this.active ? this.active.parent() : this.element), e .find('.ui-menu') .hide() .attr('aria-hidden', 'true') .attr('aria-expanded', 'false') }, _closeOnDocumentClick: function (t) { return !e(t.target).closest('.ui-menu').length }, _isDivider: function (e) { return !/[^\-\u2014\u2013\s]/.test(e.text()) }, collapse: function (e) { var t = this.active && this.active.parent().closest('.ui-menu-item', this.element) t && t.length && (this._close(), this.focus(e, t)) }, expand: function (e) { var t = this.active && this.active .children('.ui-menu ') .find(this.options.items) .first() t && t.length && (this._open(t.parent()), this._delay(function () { this.focus(e, t) })) }, next: function (e) { this._move('next', 'first', e) }, previous: function (e) { this._move('prev', 'last', e) }, isFirstItem: function () { return ( this.active && !this.active.prevAll('.ui-menu-item').length ) }, isLastItem: function () { return ( this.active && !this.active.nextAll('.ui-menu-item').length ) }, _move: function (e, t, i) { var n this.active && (n = 'first' === e || 'last' === e ? this.active['first' === e ? 'prevAll' : 'nextAll']( '.ui-menu-item' ).eq(-1) : this.active[e + 'All']('.ui-menu-item').eq(0)), (n && n.length && this.active) || (n = this.activeMenu.find(this.options.items)[t]()), this.focus(i, n) }, nextPage: function (t) { var i, n, s if (!this.active) return void this.next(t) this.isLastItem() || (this._hasScroll() ? ((n = this.active.offset().top), (s = this.element.height()), this.active.nextAll('.ui-menu-item').each(function () { return (i = e(this)), i.offset().top - n - s < 0 }), this.focus(t, i)) : this.focus( t, this.activeMenu .find(this.options.items) [this.active ? 'last' : 'first']() )) }, previousPage: function (t) { var i, n, s if (!this.active) return void this.next(t) this.isFirstItem() || (this._hasScroll() ? ((n = this.active.offset().top), (s = this.element.height()), this.active.prevAll('.ui-menu-item').each(function () { return (i = e(this)), i.offset().top - n + s > 0 }), this.focus(t, i)) : this.focus( t, this.activeMenu.find(this.options.items).first() )) }, _hasScroll: function () { return ( this.element.outerHeight() < this.element.prop('scrollHeight') ) }, select: function (t) { this.active = this.active || e(t.target).closest('.ui-menu-item') var i = { item: this.active } this.active.has('.ui-menu').length || this.collapseAll(t, !0), this._trigger('select', t, i) }, _filterMenuItems: function (t) { var i = t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, '\\$&'), n = new RegExp('^' + i, 'i') return this.activeMenu .find(this.options.items) .filter('.ui-menu-item') .filter(function () { return n.test( e.trim(e(this).children('.ui-menu-item-wrapper').text()) ) }) }, }) /*! * jQuery UI Autocomplete 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ e.widget('ui.autocomplete', { version: '1.12.1', defaultElement: '', options: { appendTo: null, autoFocus: !1, delay: 300, minLength: 1, position: { my: 'left top', at: 'left bottom', collision: 'none', }, source: null, change: null, close: null, focus: null, open: null, response: null, search: null, select: null, }, requestIndex: 0, pending: 0, _create: function () { var t, i, n, s = this.element[0].nodeName.toLowerCase(), r = 'textarea' === s, a = 'input' === s ;(this.isMultiLine = r || (!a && this._isContentEditable(this.element))), (this.valueMethod = this.element[r || a ? 'val' : 'text']), (this.isNewMenu = !0), this._addClass('ui-autocomplete-input'), this.element.attr('autocomplete', 'off'), this._on(this.element, { keydown: function (s) { if (this.element.prop('readOnly')) return (t = !0), (n = !0), void (i = !0) ;(t = !1), (n = !1), (i = !1) var r = e.ui.keyCode switch (s.keyCode) { case r.PAGE_UP: ;(t = !0), this._move('previousPage', s) break case r.PAGE_DOWN: ;(t = !0), this._move('nextPage', s) break case r.UP: ;(t = !0), this._keyEvent('previous', s) break case r.DOWN: ;(t = !0), this._keyEvent('next', s) break case r.ENTER: this.menu.active && ((t = !0), s.preventDefault(), this.menu.select(s)) break case r.TAB: this.menu.active && this.menu.select(s) break case r.ESCAPE: this.menu.element.is(':visible') && (this.isMultiLine || this._value(this.term), this.close(s), s.preventDefault()) break default: ;(i = !0), this._searchTimeout(s) } }, keypress: function (n) { if (t) return ( (t = !1), void ( (this.isMultiLine && !this.menu.element.is(':visible')) || n.preventDefault() ) ) if (!i) { var s = e.ui.keyCode switch (n.keyCode) { case s.PAGE_UP: this._move('previousPage', n) break case s.PAGE_DOWN: this._move('nextPage', n) break case s.UP: this._keyEvent('previous', n) break case s.DOWN: this._keyEvent('next', n) } } }, input: function (e) { if (n) return (n = !1), void e.preventDefault() this._searchTimeout(e) }, focus: function () { ;(this.selectedItem = null), (this.previous = this._value()) }, blur: function (e) { if (this.cancelBlur) return void delete this.cancelBlur clearTimeout(this.searching), this.close(e), this._change(e) }, }), this._initSource(), (this.menu = e('
        ') .appendTo(this._appendTo()) .menu({ role: null }) .hide() .menu('instance')), this._addClass( this.menu.element, 'ui-autocomplete', 'ui-front' ), this._on(this.menu.element, { mousedown: function (t) { t.preventDefault(), (this.cancelBlur = !0), this._delay(function () { delete this.cancelBlur, this.element[0] !== e.ui.safeActiveElement(this.document[0]) && this.element.trigger('focus') }) }, menufocus: function (t, i) { var n, s if ( this.isNewMenu && ((this.isNewMenu = !1), t.originalEvent && /^mouse/.test(t.originalEvent.type)) ) return ( this.menu.blur(), void this.document.one('mousemove', function () { e(t.target).trigger(t.originalEvent) }) ) ;(s = i.item.data('ui-autocomplete-item')), !1 !== this._trigger('focus', t, { item: s }) && t.originalEvent && /^key/.test(t.originalEvent.type) && this._value(s.value), (n = i.item.attr('aria-label') || s.value) && e.trim(n).length && (this.liveRegion.children().hide(), e('
        ').text(n).appendTo(this.liveRegion)) }, menuselect: function (t, i) { var n = i.item.data('ui-autocomplete-item'), s = this.previous this.element[0] !== e.ui.safeActiveElement(this.document[0]) && (this.element.trigger('focus'), (this.previous = s), this._delay(function () { ;(this.previous = s), (this.selectedItem = n) })), !1 !== this._trigger('select', t, { item: n }) && this._value(n.value), (this.term = this._value()), this.close(t), (this.selectedItem = n) }, }), (this.liveRegion = e('
        ', { role: 'status', 'aria-live': 'assertive', 'aria-relevant': 'additions', }).appendTo(this.document[0].body)), this._addClass( this.liveRegion, null, 'ui-helper-hidden-accessible' ), this._on(this.window, { beforeunload: function () { this.element.removeAttr('autocomplete') }, }) }, _destroy: function () { clearTimeout(this.searching), this.element.removeAttr('autocomplete'), this.menu.element.remove(), this.liveRegion.remove() }, _setOption: function (e, t) { this._super(e, t), 'source' === e && this._initSource(), 'appendTo' === e && this.menu.element.appendTo(this._appendTo()), 'disabled' === e && t && this.xhr && this.xhr.abort() }, _isEventTargetInWidget: function (t) { var i = this.menu.element[0] return ( t.target === this.element[0] || t.target === i || e.contains(i, t.target) ) }, _closeOnClickOutside: function (e) { this._isEventTargetInWidget(e) || this.close() }, _appendTo: function () { var t = this.options.appendTo return ( t && (t = t.jquery || t.nodeType ? e(t) : this.document.find(t).eq(0)), (t && t[0]) || (t = this.element.closest('.ui-front, dialog')), t.length || (t = this.document[0].body), t ) }, _initSource: function () { var t, i, n = this e.isArray(this.options.source) ? ((t = this.options.source), (this.source = function (i, n) { n(e.ui.autocomplete.filter(t, i.term)) })) : 'string' == typeof this.options.source ? ((i = this.options.source), (this.source = function (t, s) { n.xhr && n.xhr.abort(), (n.xhr = e.ajax({ url: i, data: t, dataType: 'json', success: function (e) { s(e) }, error: function () { s([]) }, })) })) : (this.source = this.options.source) }, _searchTimeout: function (e) { clearTimeout(this.searching), (this.searching = this._delay(function () { var t = this.term === this._value(), i = this.menu.element.is(':visible'), n = e.altKey || e.ctrlKey || e.metaKey || e.shiftKey ;(t && (!t || i || n)) || ((this.selectedItem = null), this.search(null, e)) }, this.options.delay)) }, search: function (e, t) { return ( (e = null != e ? e : this._value()), (this.term = this._value()), e.length < this.options.minLength ? this.close(t) : !1 !== this._trigger('search', t) ? this._search(e) : void 0 ) }, _search: function (e) { this.pending++, this._addClass('ui-autocomplete-loading'), (this.cancelSearch = !1), this.source({ term: e }, this._response()) }, _response: function () { var t = ++this.requestIndex return e.proxy(function (e) { t === this.requestIndex && this.__response(e), --this.pending || this._removeClass('ui-autocomplete-loading') }, this) }, __response: function (e) { e && (e = this._normalize(e)), this._trigger('response', null, { content: e }), !this.options.disabled && e && e.length && !this.cancelSearch ? (this._suggest(e), this._trigger('open')) : this._close() }, close: function (e) { ;(this.cancelSearch = !0), this._close(e) }, _close: function (e) { this._off(this.document, 'mousedown'), this.menu.element.is(':visible') && (this.menu.element.hide(), this.menu.blur(), (this.isNewMenu = !0), this._trigger('close', e)) }, _change: function (e) { this.previous !== this._value() && this._trigger('change', e, { item: this.selectedItem }) }, _normalize: function (t) { return t.length && t[0].label && t[0].value ? t : e.map(t, function (t) { return 'string' == typeof t ? { label: t, value: t } : e.extend({}, t, { label: t.label || t.value, value: t.value || t.label, }) }) }, _suggest: function (t) { var i = this.menu.element.empty() this._renderMenu(i, t), (this.isNewMenu = !0), this.menu.refresh(), i.show(), this._resizeMenu(), i.position( e.extend({ of: this.element }, this.options.position) ), this.options.autoFocus && this.menu.next(), this._on(this.document, { mousedown: '_closeOnClickOutside' }) }, _resizeMenu: function () { var e = this.menu.element e.outerWidth( Math.max( e.width('').outerWidth() + 1, this.element.outerWidth() ) ) }, _renderMenu: function (t, i) { var n = this e.each(i, function (e, i) { n._renderItemData(t, i) }) }, _renderItemData: function (e, t) { return this._renderItem(e, t).data('ui-autocomplete-item', t) }, _renderItem: function (t, i) { return e('
      • ').append(e('
        ').text(i.label)).appendTo(t) }, _move: function (e, t) { return this.menu.element.is(':visible') ? (this.menu.isFirstItem() && /^previous/.test(e)) || (this.menu.isLastItem() && /^next/.test(e)) ? (this.isMultiLine || this._value(this.term), void this.menu.blur()) : void this.menu[e](t) : void this.search(null, t) }, widget: function () { return this.menu.element }, _value: function () { return this.valueMethod.apply(this.element, arguments) }, _keyEvent: function (e, t) { ;(this.isMultiLine && !this.menu.element.is(':visible')) || (this._move(e, t), t.preventDefault()) }, _isContentEditable: function (e) { if (!e.length) return !1 var t = e.prop('contentEditable') return 'inherit' === t ? this._isContentEditable(e.parent()) : 'true' === t }, }), e.extend(e.ui.autocomplete, { escapeRegex: function (e) { return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, '\\$&') }, filter: function (t, i) { var n = new RegExp(e.ui.autocomplete.escapeRegex(i), 'i') return e.grep(t, function (e) { return n.test(e.label || e.value || e) }) }, }), e.widget('ui.autocomplete', e.ui.autocomplete, { options: { messages: { noResults: 'No search results.', results: function (e) { return ( e + (e > 1 ? ' results are' : ' result is') + ' available, use up and down arrow keys to navigate.' ) }, }, }, __response: function (t) { var i this._superApply(arguments), this.options.disabled || this.cancelSearch || ((i = t && t.length ? this.options.messages.results(t.length) : this.options.messages.noResults), this.liveRegion.children().hide(), e('
        ').text(i).appendTo(this.liveRegion)) }, }) var h = (e.ui.autocomplete, /ui-corner-([a-z]){2,6}/g) e.widget('ui.controlgroup', { version: '1.12.1', defaultElement: '
        ', options: { direction: 'horizontal', disabled: null, onlyVisible: !0, items: { button: 'input[type=button], input[type=submit], input[type=reset], button, a', controlgroupLabel: '.ui-controlgroup-label', checkboxradio: "input[type='checkbox'], input[type='radio']", selectmenu: 'select', spinner: '.ui-spinner-input', }, }, _create: function () { this._enhance() }, _enhance: function () { this.element.attr('role', 'toolbar'), this.refresh() }, _destroy: function () { this._callChildMethod('destroy'), this.childWidgets.removeData('ui-controlgroup-data'), this.element.removeAttr('role'), this.options.items.controlgroupLabel && this.element .find(this.options.items.controlgroupLabel) .find('.ui-controlgroup-label-contents') .contents() .unwrap() }, _initWidgets: function () { var t = this, i = [] e.each(this.options.items, function (n, s) { var r, a = {} if (s) return 'controlgroupLabel' === n ? ((r = t.element.find(s)), r.each(function () { var t = e(this) t.children('.ui-controlgroup-label-contents').length || t .contents() .wrapAll( "" ) }), t._addClass( r, null, 'ui-widget ui-widget-content ui-state-default' ), void (i = i.concat(r.get()))) : void ( e.fn[n] && ((a = t['_' + n + 'Options'] ? t['_' + n + 'Options']('middle') : { classes: {} }), t.element.find(s).each(function () { var s = e(this), r = s[n]('instance'), o = e.widget.extend({}, a) if ( 'button' !== n || !s.parent('.ui-spinner').length ) { r || (r = s[n]()[n]('instance')), r && (o.classes = t._resolveClassesValues( o.classes, r )), s[n](o) var l = s[n]('widget') e.data( l[0], 'ui-controlgroup-data', r || s[n]('instance') ), i.push(l[0]) } })) ) }), (this.childWidgets = e(e.unique(i))), this._addClass(this.childWidgets, 'ui-controlgroup-item') }, _callChildMethod: function (t) { this.childWidgets.each(function () { var i = e(this), n = i.data('ui-controlgroup-data') n && n[t] && n[t]() }) }, _updateCornerClass: function (e, t) { var i = this._buildSimpleOptions(t, 'label').classes.label this._removeClass( e, null, 'ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all' ), this._addClass(e, null, i) }, _buildSimpleOptions: function (e, t) { var i = 'vertical' === this.options.direction, n = { classes: {} } return ( (n.classes[t] = { middle: '', first: 'ui-corner-' + (i ? 'top' : 'left'), last: 'ui-corner-' + (i ? 'bottom' : 'right'), only: 'ui-corner-all', }[e]), n ) }, _spinnerOptions: function (e) { var t = this._buildSimpleOptions(e, 'ui-spinner') return ( (t.classes['ui-spinner-up'] = ''), (t.classes['ui-spinner-down'] = ''), t ) }, _buttonOptions: function (e) { return this._buildSimpleOptions(e, 'ui-button') }, _checkboxradioOptions: function (e) { return this._buildSimpleOptions(e, 'ui-checkboxradio-label') }, _selectmenuOptions: function (e) { var t = 'vertical' === this.options.direction return { width: !!t && 'auto', classes: { middle: { 'ui-selectmenu-button-open': '', 'ui-selectmenu-button-closed': '', }, first: { 'ui-selectmenu-button-open': 'ui-corner-' + (t ? 'top' : 'tl'), 'ui-selectmenu-button-closed': 'ui-corner-' + (t ? 'top' : 'left'), }, last: { 'ui-selectmenu-button-open': t ? '' : 'ui-corner-tr', 'ui-selectmenu-button-closed': 'ui-corner-' + (t ? 'bottom' : 'right'), }, only: { 'ui-selectmenu-button-open': 'ui-corner-top', 'ui-selectmenu-button-closed': 'ui-corner-all', }, }[e], } }, _resolveClassesValues: function (t, i) { var n = {} return ( e.each(t, function (s) { var r = i.options.classes[s] || '' ;(r = e.trim(r.replace(h, ''))), (n[s] = (r + ' ' + t[s]).replace(/\s+/g, ' ')) }), n ) }, _setOption: function (e, t) { if ( ('direction' === e && this._removeClass( 'ui-controlgroup-' + this.options.direction ), this._super(e, t), 'disabled' === e) ) return void this._callChildMethod(t ? 'disable' : 'enable') this.refresh() }, refresh: function () { var t, i = this this._addClass( 'ui-controlgroup ui-controlgroup-' + this.options.direction ), 'horizontal' === this.options.direction && this._addClass(null, 'ui-helper-clearfix'), this._initWidgets(), (t = this.childWidgets), this.options.onlyVisible && (t = t.filter(':visible')), t.length && (e.each(['first', 'last'], function (e, n) { var s = t[n]().data('ui-controlgroup-data') if (s && i['_' + s.widgetName + 'Options']) { var r = i['_' + s.widgetName + 'Options']( 1 === t.length ? 'only' : n ) ;(r.classes = i._resolveClassesValues(r.classes, s)), s.element[s.widgetName](r) } else i._updateCornerClass(t[n](), n) }), this._callChildMethod('refresh')) }, }) /*! * jQuery UI Checkboxradio 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ e.widget('ui.checkboxradio', [ e.ui.formResetMixin, { version: '1.12.1', options: { disabled: null, label: null, icon: !0, classes: { 'ui-checkboxradio-label': 'ui-corner-all', 'ui-checkboxradio-icon': 'ui-corner-all', }, }, _getCreateOptions: function () { var t, i, n = this, s = this._super() || {} return ( this._readType(), (i = this.element.labels()), (this.label = e(i[i.length - 1])), this.label.length || e.error('No label found for checkboxradio widget'), (this.originalLabel = ''), this.label .contents() .not(this.element[0]) .each(function () { n.originalLabel += 3 === this.nodeType ? e(this).text() : this.outerHTML }), this.originalLabel && (s.label = this.originalLabel), (t = this.element[0].disabled), null != t && (s.disabled = t), s ) }, _create: function () { var e = this.element[0].checked this._bindFormResetHandler(), null == this.options.disabled && (this.options.disabled = this.element[0].disabled), this._setOption('disabled', this.options.disabled), this._addClass( 'ui-checkboxradio', 'ui-helper-hidden-accessible' ), this._addClass( this.label, 'ui-checkboxradio-label', 'ui-button ui-widget' ), 'radio' === this.type && this._addClass(this.label, 'ui-checkboxradio-radio-label'), this.options.label && this.options.label !== this.originalLabel ? this._updateLabel() : this.originalLabel && (this.options.label = this.originalLabel), this._enhance(), e && (this._addClass( this.label, 'ui-checkboxradio-checked', 'ui-state-active' ), this.icon && this._addClass(this.icon, null, 'ui-state-hover')), this._on({ change: '_toggleClasses', focus: function () { this._addClass( this.label, null, 'ui-state-focus ui-visual-focus' ) }, blur: function () { this._removeClass( this.label, null, 'ui-state-focus ui-visual-focus' ) }, }) }, _readType: function () { var t = this.element[0].nodeName.toLowerCase() ;(this.type = this.element[0].type), ('input' === t && /radio|checkbox/.test(this.type)) || e.error( "Can't create checkboxradio on element.nodeName=" + t + ' and element.type=' + this.type ) }, _enhance: function () { this._updateIcon(this.element[0].checked) }, widget: function () { return this.label }, _getRadioGroup: function () { var t, i = this.element[0].name, n = "input[name='" + e.ui.escapeSelector(i) + "']" return i ? ((t = this.form.length ? e(this.form[0].elements).filter(n) : e(n).filter(function () { return 0 === e(this).form().length })), t.not(this.element)) : e([]) }, _toggleClasses: function () { var t = this.element[0].checked this._toggleClass( this.label, 'ui-checkboxradio-checked', 'ui-state-active', t ), this.options.icon && 'checkbox' === this.type && this._toggleClass( this.icon, null, 'ui-icon-check ui-state-checked', t )._toggleClass(this.icon, null, 'ui-icon-blank', !t), 'radio' === this.type && this._getRadioGroup().each(function () { var t = e(this).checkboxradio('instance') t && t._removeClass( t.label, 'ui-checkboxradio-checked', 'ui-state-active' ) }) }, _destroy: function () { this._unbindFormResetHandler(), this.icon && (this.icon.remove(), this.iconSpace.remove()) }, _setOption: function (e, t) { if ('label' !== e || t) { if ((this._super(e, t), 'disabled' === e)) return ( this._toggleClass( this.label, null, 'ui-state-disabled', t ), void (this.element[0].disabled = t) ) this.refresh() } }, _updateIcon: function (t) { var i = 'ui-icon ui-icon-background ' this.options.icon ? (this.icon || ((this.icon = e('')), (this.iconSpace = e(' ')), this._addClass( this.iconSpace, 'ui-checkboxradio-icon-space' )), 'checkbox' === this.type ? ((i += t ? 'ui-icon-check ui-state-checked' : 'ui-icon-blank'), this._removeClass( this.icon, null, t ? 'ui-icon-blank' : 'ui-icon-check' )) : (i += 'ui-icon-blank'), this._addClass(this.icon, 'ui-checkboxradio-icon', i), t || this._removeClass( this.icon, null, 'ui-icon-check ui-state-checked' ), this.icon.prependTo(this.label).after(this.iconSpace)) : void 0 !== this.icon && (this.icon.remove(), this.iconSpace.remove(), delete this.icon) }, _updateLabel: function () { var e = this.label.contents().not(this.element[0]) this.icon && (e = e.not(this.icon[0])), this.iconSpace && (e = e.not(this.iconSpace[0])), e.remove(), this.label.append(this.options.label) }, refresh: function () { var e = this.element[0].checked, t = this.element[0].disabled this._updateIcon(e), this._toggleClass( this.label, 'ui-checkboxradio-checked', 'ui-state-active', e ), null !== this.options.label && this._updateLabel(), t !== this.options.disabled && this._setOptions({ disabled: t }) }, }, ]) e.ui.checkboxradio /*! * jQuery UI Button 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ e.widget('ui.button', { version: '1.12.1', defaultElement: '") .addClass(this._triggerClass) .html( r ? e('').attr({ src: r, alt: s, title: s }) : s ) )), t[o ? 'before' : 'after'](i.trigger), i.trigger.on('click', function () { return ( e.datepicker._datepickerShowing && e.datepicker._lastInput === t[0] ? e.datepicker._hideDatepicker() : e.datepicker._datepickerShowing && e.datepicker._lastInput !== t[0] ? (e.datepicker._hideDatepicker(), e.datepicker._showDatepicker(t[0])) : e.datepicker._showDatepicker(t[0]), !1 ) })) }, _autoSize: function (e) { if (this._get(e, 'autoSize') && !e.inline) { var t, i, n, s, r = new Date(2009, 11, 20), a = this._get(e, 'dateFormat') a.match(/[DM]/) && ((t = function (e) { for (i = 0, n = 0, s = 0; s < e.length; s++) e[s].length > i && ((i = e[s].length), (n = s)) return n }), r.setMonth( t( this._get( e, a.match(/MM/) ? 'monthNames' : 'monthNamesShort' ) ) ), r.setDate( t( this._get(e, a.match(/DD/) ? 'dayNames' : 'dayNamesShort') ) + 20 - r.getDay() )), e.input.attr('size', this._formatDate(e, r).length) } }, _inlineDatepicker: function (t, i) { var n = e(t) n.hasClass(this.markerClassName) || (n.addClass(this.markerClassName).append(i.dpDiv), e.data(t, 'datepicker', i), this._setDate(i, this._getDefaultDate(i), !0), this._updateDatepicker(i), this._updateAlternate(i), i.settings.disabled && this._disableDatepicker(t), i.dpDiv.css('display', 'block')) }, _dialogDatepicker: function (t, i, n, s, r) { var o, l, u, d, c, h = this._dialogInst return ( h || ((this.uuid += 1), (o = 'dp' + this.uuid), (this._dialogInput = e( "" )), this._dialogInput.on('keydown', this._doKeyDown), e('body').append(this._dialogInput), (h = this._dialogInst = this._newInst(this._dialogInput, !1)), (h.settings = {}), e.data(this._dialogInput[0], 'datepicker', h)), a(h.settings, s || {}), (i = i && i.constructor === Date ? this._formatDate(h, i) : i), this._dialogInput.val(i), (this._pos = r ? (r.length ? r : [r.pageX, r.pageY]) : null), this._pos || ((l = document.documentElement.clientWidth), (u = document.documentElement.clientHeight), (d = document.documentElement.scrollLeft || document.body.scrollLeft), (c = document.documentElement.scrollTop || document.body.scrollTop), (this._pos = [l / 2 - 100 + d, u / 2 - 150 + c])), this._dialogInput .css('left', this._pos[0] + 20 + 'px') .css('top', this._pos[1] + 'px'), (h.settings.onSelect = n), (this._inDialog = !0), this.dpDiv.addClass(this._dialogClass), this._showDatepicker(this._dialogInput[0]), e.blockUI && e.blockUI(this.dpDiv), e.data(this._dialogInput[0], 'datepicker', h), this ) }, _destroyDatepicker: function (t) { var i, n = e(t), s = e.data(t, 'datepicker') n.hasClass(this.markerClassName) && ((i = t.nodeName.toLowerCase()), e.removeData(t, 'datepicker'), 'input' === i ? (s.append.remove(), s.trigger.remove(), n .removeClass(this.markerClassName) .off('focus', this._showDatepicker) .off('keydown', this._doKeyDown) .off('keypress', this._doKeyPress) .off('keyup', this._doKeyUp)) : ('div' !== i && 'span' !== i) || n.removeClass(this.markerClassName).empty(), p === s && (p = null)) }, _enableDatepicker: function (t) { var i, n, s = e(t), r = e.data(t, 'datepicker') s.hasClass(this.markerClassName) && ((i = t.nodeName.toLowerCase()), 'input' === i ? ((t.disabled = !1), r.trigger .filter('button') .each(function () { this.disabled = !1 }) .end() .filter('img') .css({ opacity: '1.0', cursor: '' })) : ('div' !== i && 'span' !== i) || ((n = s.children('.' + this._inlineClass)), n.children().removeClass('ui-state-disabled'), n .find( 'select.ui-datepicker-month, select.ui-datepicker-year' ) .prop('disabled', !1)), (this._disabledInputs = e.map( this._disabledInputs, function (e) { return e === t ? null : e } ))) }, _disableDatepicker: function (t) { var i, n, s = e(t), r = e.data(t, 'datepicker') s.hasClass(this.markerClassName) && ((i = t.nodeName.toLowerCase()), 'input' === i ? ((t.disabled = !0), r.trigger .filter('button') .each(function () { this.disabled = !0 }) .end() .filter('img') .css({ opacity: '0.5', cursor: 'default' })) : ('div' !== i && 'span' !== i) || ((n = s.children('.' + this._inlineClass)), n.children().addClass('ui-state-disabled'), n .find( 'select.ui-datepicker-month, select.ui-datepicker-year' ) .prop('disabled', !0)), (this._disabledInputs = e.map( this._disabledInputs, function (e) { return e === t ? null : e } )), (this._disabledInputs[this._disabledInputs.length] = t)) }, _isDisabledDatepicker: function (e) { if (!e) return !1 for (var t = 0; t < this._disabledInputs.length; t++) if (this._disabledInputs[t] === e) return !0 return !1 }, _getInst: function (t) { try { return e.data(t, 'datepicker') } catch (e) { throw 'Missing instance data for this datepicker' } }, _optionDatepicker: function (t, i, n) { var s, r, o, l, u = this._getInst(t) if (2 === arguments.length && 'string' == typeof i) return 'defaults' === i ? e.extend({}, e.datepicker._defaults) : u ? 'all' === i ? e.extend({}, u.settings) : this._get(u, i) : null ;(s = i || {}), 'string' == typeof i && ((s = {}), (s[i] = n)), u && (this._curInst === u && this._hideDatepicker(), (r = this._getDateDatepicker(t, !0)), (o = this._getMinMaxDate(u, 'min')), (l = this._getMinMaxDate(u, 'max')), a(u.settings, s), null !== o && void 0 !== s.dateFormat && void 0 === s.minDate && (u.settings.minDate = this._formatDate(u, o)), null !== l && void 0 !== s.dateFormat && void 0 === s.maxDate && (u.settings.maxDate = this._formatDate(u, l)), 'disabled' in s && (s.disabled ? this._disableDatepicker(t) : this._enableDatepicker(t)), this._attachments(e(t), u), this._autoSize(u), this._setDate(u, r), this._updateAlternate(u), this._updateDatepicker(u)) }, _changeDatepicker: function (e, t, i) { this._optionDatepicker(e, t, i) }, _refreshDatepicker: function (e) { var t = this._getInst(e) t && this._updateDatepicker(t) }, _setDateDatepicker: function (e, t) { var i = this._getInst(e) i && (this._setDate(i, t), this._updateDatepicker(i), this._updateAlternate(i)) }, _getDateDatepicker: function (e, t) { var i = this._getInst(e) return ( i && !i.inline && this._setDateFromField(i, t), i ? this._getDate(i) : null ) }, _doKeyDown: function (t) { var i, n, s, r = e.datepicker._getInst(t.target), a = !0, o = r.dpDiv.is('.ui-datepicker-rtl') if (((r._keyEvent = !0), e.datepicker._datepickerShowing)) switch (t.keyCode) { case 9: e.datepicker._hideDatepicker(), (a = !1) break case 13: return ( (s = e( 'td.' + e.datepicker._dayOverClass + ':not(.' + e.datepicker._currentClass + ')', r.dpDiv )), s[0] && e.datepicker._selectDay( t.target, r.selectedMonth, r.selectedYear, s[0] ), (i = e.datepicker._get(r, 'onSelect')), i ? ((n = e.datepicker._formatDate(r)), i.apply(r.input ? r.input[0] : null, [n, r])) : e.datepicker._hideDatepicker(), !1 ) case 27: e.datepicker._hideDatepicker() break case 33: e.datepicker._adjustDate( t.target, t.ctrlKey ? -e.datepicker._get(r, 'stepBigMonths') : -e.datepicker._get(r, 'stepMonths'), 'M' ) break case 34: e.datepicker._adjustDate( t.target, t.ctrlKey ? +e.datepicker._get(r, 'stepBigMonths') : +e.datepicker._get(r, 'stepMonths'), 'M' ) break case 35: ;(t.ctrlKey || t.metaKey) && e.datepicker._clearDate(t.target), (a = t.ctrlKey || t.metaKey) break case 36: ;(t.ctrlKey || t.metaKey) && e.datepicker._gotoToday(t.target), (a = t.ctrlKey || t.metaKey) break case 37: ;(t.ctrlKey || t.metaKey) && e.datepicker._adjustDate(t.target, o ? 1 : -1, 'D'), (a = t.ctrlKey || t.metaKey), t.originalEvent.altKey && e.datepicker._adjustDate( t.target, t.ctrlKey ? -e.datepicker._get(r, 'stepBigMonths') : -e.datepicker._get(r, 'stepMonths'), 'M' ) break case 38: ;(t.ctrlKey || t.metaKey) && e.datepicker._adjustDate(t.target, -7, 'D'), (a = t.ctrlKey || t.metaKey) break case 39: ;(t.ctrlKey || t.metaKey) && e.datepicker._adjustDate(t.target, o ? -1 : 1, 'D'), (a = t.ctrlKey || t.metaKey), t.originalEvent.altKey && e.datepicker._adjustDate( t.target, t.ctrlKey ? +e.datepicker._get(r, 'stepBigMonths') : +e.datepicker._get(r, 'stepMonths'), 'M' ) break case 40: ;(t.ctrlKey || t.metaKey) && e.datepicker._adjustDate(t.target, 7, 'D'), (a = t.ctrlKey || t.metaKey) break default: a = !1 } else 36 === t.keyCode && t.ctrlKey ? e.datepicker._showDatepicker(this) : (a = !1) a && (t.preventDefault(), t.stopPropagation()) }, _doKeyPress: function (t) { var i, n, s = e.datepicker._getInst(t.target) if (e.datepicker._get(s, 'constrainInput')) return ( (i = e.datepicker._possibleChars( e.datepicker._get(s, 'dateFormat') )), (n = String.fromCharCode( null == t.charCode ? t.keyCode : t.charCode )), t.ctrlKey || t.metaKey || n < ' ' || !i || i.indexOf(n) > -1 ) }, _doKeyUp: function (t) { var i, n = e.datepicker._getInst(t.target) if (n.input.val() !== n.lastVal) try { ;(i = e.datepicker.parseDate( e.datepicker._get(n, 'dateFormat'), n.input ? n.input.val() : null, e.datepicker._getFormatConfig(n) )), i && (e.datepicker._setDateFromField(n), e.datepicker._updateAlternate(n), e.datepicker._updateDatepicker(n)) } catch (e) {} return !0 }, _showDatepicker: function (t) { if ( ((t = t.target || t), 'input' !== t.nodeName.toLowerCase() && (t = e('input', t.parentNode)[0]), !e.datepicker._isDisabledDatepicker(t) && e.datepicker._lastInput !== t) ) { var n, s, r, o, l, u, d ;(n = e.datepicker._getInst(t)), e.datepicker._curInst && e.datepicker._curInst !== n && (e.datepicker._curInst.dpDiv.stop(!0, !0), n && e.datepicker._datepickerShowing && e.datepicker._hideDatepicker( e.datepicker._curInst.input[0] )), (s = e.datepicker._get(n, 'beforeShow')), (r = s ? s.apply(t, [t, n]) : {}), !1 !== r && (a(n.settings, r), (n.lastVal = null), (e.datepicker._lastInput = t), e.datepicker._setDateFromField(n), e.datepicker._inDialog && (t.value = ''), e.datepicker._pos || ((e.datepicker._pos = e.datepicker._findPos(t)), (e.datepicker._pos[1] += t.offsetHeight)), (o = !1), e(t) .parents() .each(function () { return !(o |= 'fixed' === e(this).css('position')) }), (l = { left: e.datepicker._pos[0], top: e.datepicker._pos[1], }), (e.datepicker._pos = null), n.dpDiv.empty(), n.dpDiv.css({ position: 'absolute', display: 'block', top: '-1000px', }), e.datepicker._updateDatepicker(n), (l = e.datepicker._checkOffset(n, l, o)), n.dpDiv.css({ position: e.datepicker._inDialog && e.blockUI ? 'static' : o ? 'fixed' : 'absolute', display: 'none', left: l.left + 'px', top: l.top + 'px', }), n.inline || ((u = e.datepicker._get(n, 'showAnim')), (d = e.datepicker._get(n, 'duration')), n.dpDiv.css('z-index', i(e(t)) + 1), (e.datepicker._datepickerShowing = !0), e.effects && e.effects.effect[u] ? n.dpDiv.show( u, e.datepicker._get(n, 'showOptions'), d ) : n.dpDiv[u || 'show'](u ? d : null), e.datepicker._shouldFocusInput(n) && n.input.trigger('focus'), (e.datepicker._curInst = n))) } }, _updateDatepicker: function (t) { ;(this.maxRows = 4), (p = t), t.dpDiv.empty().append(this._generateHTML(t)), this._attachHandlers(t) var i, n = this._getNumberOfMonths(t), s = n[1], a = t.dpDiv.find('.' + this._dayOverClass + ' a') a.length > 0 && r.apply(a.get(0)), t.dpDiv .removeClass( 'ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4' ) .width(''), s > 1 && t.dpDiv .addClass('ui-datepicker-multi-' + s) .css('width', 17 * s + 'em'), t.dpDiv[ (1 !== n[0] || 1 !== n[1] ? 'add' : 'remove') + 'Class' ]('ui-datepicker-multi'), t.dpDiv[(this._get(t, 'isRTL') ? 'add' : 'remove') + 'Class']( 'ui-datepicker-rtl' ), t === e.datepicker._curInst && e.datepicker._datepickerShowing && e.datepicker._shouldFocusInput(t) && t.input.trigger('focus'), t.yearshtml && ((i = t.yearshtml), setTimeout(function () { i === t.yearshtml && t.yearshtml && t.dpDiv .find('select.ui-datepicker-year:first') .replaceWith(t.yearshtml), (i = t.yearshtml = null) }, 0)) }, _shouldFocusInput: function (e) { return ( e.input && e.input.is(':visible') && !e.input.is(':disabled') && !e.input.is(':focus') ) }, _checkOffset: function (t, i, n) { var s = t.dpDiv.outerWidth(), r = t.dpDiv.outerHeight(), a = t.input ? t.input.outerWidth() : 0, o = t.input ? t.input.outerHeight() : 0, l = document.documentElement.clientWidth + (n ? 0 : e(document).scrollLeft()), u = document.documentElement.clientHeight + (n ? 0 : e(document).scrollTop()) return ( (i.left -= this._get(t, 'isRTL') ? s - a : 0), (i.left -= n && i.left === t.input.offset().left ? e(document).scrollLeft() : 0), (i.top -= n && i.top === t.input.offset().top + o ? e(document).scrollTop() : 0), (i.left -= Math.min( i.left, i.left + s > l && l > s ? Math.abs(i.left + s - l) : 0 )), (i.top -= Math.min( i.top, i.top + r > u && u > r ? Math.abs(r + o) : 0 )), i ) }, _findPos: function (t) { for ( var i, n = this._getInst(t), s = this._get(n, 'isRTL'); t && ('hidden' === t.type || 1 !== t.nodeType || e.expr.filters.hidden(t)); ) t = t[s ? 'previousSibling' : 'nextSibling'] return (i = e(t).offset()), [i.left, i.top] }, _hideDatepicker: function (t) { var i, n, s, r, a = this._curInst !a || (t && a !== e.data(t, 'datepicker')) || (this._datepickerShowing && ((i = this._get(a, 'showAnim')), (n = this._get(a, 'duration')), (s = function () { e.datepicker._tidyDialog(a) }), e.effects && (e.effects.effect[i] || e.effects[i]) ? a.dpDiv.hide(i, e.datepicker._get(a, 'showOptions'), n, s) : a.dpDiv[ 'slideDown' === i ? 'slideUp' : 'fadeIn' === i ? 'fadeOut' : 'hide' ](i ? n : null, s), i || s(), (this._datepickerShowing = !1), (r = this._get(a, 'onClose')), r && r.apply(a.input ? a.input[0] : null, [ a.input ? a.input.val() : '', a, ]), (this._lastInput = null), this._inDialog && (this._dialogInput.css({ position: 'absolute', left: '0', top: '-100px', }), e.blockUI && (e.unblockUI(), e('body').append(this.dpDiv))), (this._inDialog = !1))) }, _tidyDialog: function (e) { e.dpDiv .removeClass(this._dialogClass) .off('.ui-datepicker-calendar') }, _checkExternalClick: function (t) { if (e.datepicker._curInst) { var i = e(t.target), n = e.datepicker._getInst(i[0]) ;((i[0].id === e.datepicker._mainDivId || 0 !== i.parents('#' + e.datepicker._mainDivId).length || i.hasClass(e.datepicker.markerClassName) || i.closest('.' + e.datepicker._triggerClass).length || !e.datepicker._datepickerShowing || (e.datepicker._inDialog && e.blockUI)) && (!i.hasClass(e.datepicker.markerClassName) || e.datepicker._curInst === n)) || e.datepicker._hideDatepicker() } }, _adjustDate: function (t, i, n) { var s = e(t), r = this._getInst(s[0]) this._isDisabledDatepicker(s[0]) || (this._adjustInstDate( r, i + ('M' === n ? this._get(r, 'showCurrentAtPos') : 0), n ), this._updateDatepicker(r)) }, _gotoToday: function (t) { var i, n = e(t), s = this._getInst(n[0]) this._get(s, 'gotoCurrent') && s.currentDay ? ((s.selectedDay = s.currentDay), (s.drawMonth = s.selectedMonth = s.currentMonth), (s.drawYear = s.selectedYear = s.currentYear)) : ((i = new Date()), (s.selectedDay = i.getDate()), (s.drawMonth = s.selectedMonth = i.getMonth()), (s.drawYear = s.selectedYear = i.getFullYear())), this._notifyChange(s), this._adjustDate(n) }, _selectMonthYear: function (t, i, n) { var s = e(t), r = this._getInst(s[0]) ;(r['selected' + ('M' === n ? 'Month' : 'Year')] = r[ 'draw' + ('M' === n ? 'Month' : 'Year') ] = parseInt(i.options[i.selectedIndex].value, 10)), this._notifyChange(r), this._adjustDate(s) }, _selectDay: function (t, i, n, s) { var r, a = e(t) e(s).hasClass(this._unselectableClass) || this._isDisabledDatepicker(a[0]) || ((r = this._getInst(a[0])), (r.selectedDay = r.currentDay = e('a', s).html()), (r.selectedMonth = r.currentMonth = i), (r.selectedYear = r.currentYear = n), this._selectDate( t, this._formatDate( r, r.currentDay, r.currentMonth, r.currentYear ) )) }, _clearDate: function (t) { var i = e(t) this._selectDate(i, '') }, _selectDate: function (t, i) { var n, s = e(t), r = this._getInst(s[0]) ;(i = null != i ? i : this._formatDate(r)), r.input && r.input.val(i), this._updateAlternate(r), (n = this._get(r, 'onSelect')), n ? n.apply(r.input ? r.input[0] : null, [i, r]) : r.input && r.input.trigger('change'), r.inline ? this._updateDatepicker(r) : (this._hideDatepicker(), (this._lastInput = r.input[0]), 'object' != typeof r.input[0] && r.input.trigger('focus'), (this._lastInput = null)) }, _updateAlternate: function (t) { var i, n, s, r = this._get(t, 'altField') r && ((i = this._get(t, 'altFormat') || this._get(t, 'dateFormat')), (n = this._getDate(t)), (s = this.formatDate(i, n, this._getFormatConfig(t))), e(r).val(s)) }, noWeekends: function (e) { var t = e.getDay() return [t > 0 && t < 6, ''] }, iso8601Week: function (e) { var t, i = new Date(e.getTime()) return ( i.setDate(i.getDate() + 4 - (i.getDay() || 7)), (t = i.getTime()), i.setMonth(0), i.setDate(1), Math.floor(Math.round((t - i) / 864e5) / 7) + 1 ) }, parseDate: function (t, i, n) { if (null == t || null == i) throw 'Invalid arguments' if ('' === (i = 'object' == typeof i ? i.toString() : i + '')) return null var s, r, a, o, l = 0, u = (n ? n.shortYearCutoff : null) || this._defaults.shortYearCutoff, d = 'string' != typeof u ? u : (new Date().getFullYear() % 100) + parseInt(u, 10), c = (n ? n.dayNamesShort : null) || this._defaults.dayNamesShort, h = (n ? n.dayNames : null) || this._defaults.dayNames, p = (n ? n.monthNamesShort : null) || this._defaults.monthNamesShort, f = (n ? n.monthNames : null) || this._defaults.monthNames, m = -1, _ = -1, g = -1, v = -1, y = !1, b = function (e) { var i = s + 1 < t.length && t.charAt(s + 1) === e return i && s++, i }, w = function (e) { var t = b(e), n = '@' === e ? 14 : '!' === e ? 20 : 'y' === e && t ? 4 : 'o' === e ? 3 : 2, s = 'y' === e ? n : 1, r = new RegExp('^\\d{' + s + ',' + n + '}'), a = i.substring(l).match(r) if (!a) throw 'Missing number at position ' + l return (l += a[0].length), parseInt(a[0], 10) }, M = function (t, n, s) { var r = -1, a = e .map(b(t) ? s : n, function (e, t) { return [[t, e]] }) .sort(function (e, t) { return -(e[1].length - t[1].length) }) if ( (e.each(a, function (e, t) { var n = t[1] if ( i.substr(l, n.length).toLowerCase() === n.toLowerCase() ) return (r = t[0]), (l += n.length), !1 }), -1 !== r) ) return r + 1 throw 'Unknown name at position ' + l }, k = function () { if (i.charAt(l) !== t.charAt(s)) throw 'Unexpected literal at position ' + l l++ } for (s = 0; s < t.length; s++) if (y) "'" !== t.charAt(s) || b("'") ? k() : (y = !1) else switch (t.charAt(s)) { case 'd': g = w('d') break case 'D': M('D', c, h) break case 'o': v = w('o') break case 'm': _ = w('m') break case 'M': _ = M('M', p, f) break case 'y': m = w('y') break case '@': ;(o = new Date(w('@'))), (m = o.getFullYear()), (_ = o.getMonth() + 1), (g = o.getDate()) break case '!': ;(o = new Date((w('!') - this._ticksTo1970) / 1e4)), (m = o.getFullYear()), (_ = o.getMonth() + 1), (g = o.getDate()) break case "'": b("'") ? k() : (y = !0) break default: k() } if (l < i.length && ((a = i.substr(l)), !/^\s+/.test(a))) throw 'Extra/unparsed characters found in date: ' + a if ( (-1 === m ? (m = new Date().getFullYear()) : m < 100 && (m += new Date().getFullYear() - (new Date().getFullYear() % 100) + (m <= d ? 0 : -100)), v > -1) ) for (_ = 1, g = v; ; ) { if (((r = this._getDaysInMonth(m, _ - 1)), g <= r)) break _++, (g -= r) } if ( ((o = this._daylightSavingAdjust(new Date(m, _ - 1, g))), o.getFullYear() !== m || o.getMonth() + 1 !== _ || o.getDate() !== g) ) throw 'Invalid date' return o }, ATOM: 'yy-mm-dd', COOKIE: 'D, dd M yy', ISO_8601: 'yy-mm-dd', RFC_822: 'D, d M y', RFC_850: 'DD, dd-M-y', RFC_1036: 'D, d M y', RFC_1123: 'D, d M yy', RFC_2822: 'D, d M yy', RSS: 'D, d M y', TICKS: '!', TIMESTAMP: '@', W3C: 'yy-mm-dd', _ticksTo1970: 24 * (718685 + Math.floor(492.5) - Math.floor(19.7) + Math.floor(4.925)) * 60 * 60 * 1e7, formatDate: function (e, t, i) { if (!t) return '' var n, s = (i ? i.dayNamesShort : null) || this._defaults.dayNamesShort, r = (i ? i.dayNames : null) || this._defaults.dayNames, a = (i ? i.monthNamesShort : null) || this._defaults.monthNamesShort, o = (i ? i.monthNames : null) || this._defaults.monthNames, l = function (t) { var i = n + 1 < e.length && e.charAt(n + 1) === t return i && n++, i }, u = function (e, t, i) { var n = '' + t if (l(e)) for (; n.length < i; ) n = '0' + n return n }, d = function (e, t, i, n) { return l(e) ? n[t] : i[t] }, c = '', h = !1 if (t) for (n = 0; n < e.length; n++) if (h) "'" !== e.charAt(n) || l("'") ? (c += e.charAt(n)) : (h = !1) else switch (e.charAt(n)) { case 'd': c += u('d', t.getDate(), 2) break case 'D': c += d('D', t.getDay(), s, r) break case 'o': c += u( 'o', Math.round( (new Date( t.getFullYear(), t.getMonth(), t.getDate() ).getTime() - new Date(t.getFullYear(), 0, 0).getTime()) / 864e5 ), 3 ) break case 'm': c += u('m', t.getMonth() + 1, 2) break case 'M': c += d('M', t.getMonth(), a, o) break case 'y': c += l('y') ? t.getFullYear() : (t.getFullYear() % 100 < 10 ? '0' : '') + (t.getFullYear() % 100) break case '@': c += t.getTime() break case '!': c += 1e4 * t.getTime() + this._ticksTo1970 break case "'": l("'") ? (c += "'") : (h = !0) break default: c += e.charAt(n) } return c }, _possibleChars: function (e) { var t, i = '', n = !1, s = function (i) { var n = t + 1 < e.length && e.charAt(t + 1) === i return n && t++, n } for (t = 0; t < e.length; t++) if (n) "'" !== e.charAt(t) || s("'") ? (i += e.charAt(t)) : (n = !1) else switch (e.charAt(t)) { case 'd': case 'm': case 'y': case '@': i += '0123456789' break case 'D': case 'M': return null case "'": s("'") ? (i += "'") : (n = !0) break default: i += e.charAt(t) } return i }, _get: function (e, t) { return void 0 !== e.settings[t] ? e.settings[t] : this._defaults[t] }, _setDateFromField: function (e, t) { if (e.input.val() !== e.lastVal) { var i = this._get(e, 'dateFormat'), n = (e.lastVal = e.input ? e.input.val() : null), s = this._getDefaultDate(e), r = s, a = this._getFormatConfig(e) try { r = this.parseDate(i, n, a) || s } catch (e) { n = t ? '' : n } ;(e.selectedDay = r.getDate()), (e.drawMonth = e.selectedMonth = r.getMonth()), (e.drawYear = e.selectedYear = r.getFullYear()), (e.currentDay = n ? r.getDate() : 0), (e.currentMonth = n ? r.getMonth() : 0), (e.currentYear = n ? r.getFullYear() : 0), this._adjustInstDate(e) } }, _getDefaultDate: function (e) { return this._restrictMinMax( e, this._determineDate(e, this._get(e, 'defaultDate'), new Date()) ) }, _determineDate: function (t, i, n) { var s = null == i || '' === i ? n : 'string' == typeof i ? (function (i) { try { return e.datepicker.parseDate( e.datepicker._get(t, 'dateFormat'), i, e.datepicker._getFormatConfig(t) ) } catch (e) {} for ( var n = (i.toLowerCase().match(/^c/) ? e.datepicker._getDate(t) : null) || new Date(), s = n.getFullYear(), r = n.getMonth(), a = n.getDate(), o = /([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g, l = o.exec(i); l; ) { switch (l[2] || 'd') { case 'd': case 'D': a += parseInt(l[1], 10) break case 'w': case 'W': a += 7 * parseInt(l[1], 10) break case 'm': case 'M': ;(r += parseInt(l[1], 10)), (a = Math.min( a, e.datepicker._getDaysInMonth(s, r) )) break case 'y': case 'Y': ;(s += parseInt(l[1], 10)), (a = Math.min( a, e.datepicker._getDaysInMonth(s, r) )) } l = o.exec(i) } return new Date(s, r, a) })(i) : 'number' == typeof i ? isNaN(i) ? n : (function (e) { var t = new Date() return t.setDate(t.getDate() + e), t })(i) : new Date(i.getTime()) return ( (s = s && 'Invalid Date' === s.toString() ? n : s), s && (s.setHours(0), s.setMinutes(0), s.setSeconds(0), s.setMilliseconds(0)), this._daylightSavingAdjust(s) ) }, _daylightSavingAdjust: function (e) { return e ? (e.setHours(e.getHours() > 12 ? e.getHours() + 2 : 0), e) : null }, _setDate: function (e, t, i) { var n = !t, s = e.selectedMonth, r = e.selectedYear, a = this._restrictMinMax( e, this._determineDate(e, t, new Date()) ) ;(e.selectedDay = e.currentDay = a.getDate()), (e.drawMonth = e.selectedMonth = e.currentMonth = a.getMonth()), (e.drawYear = e.selectedYear = e.currentYear = a.getFullYear()), (s === e.selectedMonth && r === e.selectedYear) || i || this._notifyChange(e), this._adjustInstDate(e), e.input && e.input.val(n ? '' : this._formatDate(e)) }, _getDate: function (e) { return !e.currentYear || (e.input && '' === e.input.val()) ? null : this._daylightSavingAdjust( new Date(e.currentYear, e.currentMonth, e.currentDay) ) }, _attachHandlers: function (t) { var i = this._get(t, 'stepMonths'), n = '#' + t.id.replace(/\\\\/g, '\\') t.dpDiv.find('[data-handler]').map(function () { var t = { prev: function () { e.datepicker._adjustDate(n, -i, 'M') }, next: function () { e.datepicker._adjustDate(n, +i, 'M') }, hide: function () { e.datepicker._hideDatepicker() }, today: function () { e.datepicker._gotoToday(n) }, selectDay: function () { return ( e.datepicker._selectDay( n, +this.getAttribute('data-month'), +this.getAttribute('data-year'), this ), !1 ) }, selectMonth: function () { return e.datepicker._selectMonthYear(n, this, 'M'), !1 }, selectYear: function () { return e.datepicker._selectMonthYear(n, this, 'Y'), !1 }, } e(this).on( this.getAttribute('data-event'), t[this.getAttribute('data-handler')] ) }) }, _generateHTML: function (e) { var t, i, n, s, r, a, o, l, u, d, c, h, p, f, m, _, g, v, y, b, w, M, k, L, D, T, Y, x, C, S, E, H, A, O, P, I, j, W, N, F = new Date(), z = this._daylightSavingAdjust( new Date(F.getFullYear(), F.getMonth(), F.getDate()) ), R = this._get(e, 'isRTL'), $ = this._get(e, 'showButtonPanel'), B = this._get(e, 'hideIfNoPrevNext'), U = this._get(e, 'navigationAsDateFormat'), q = this._getNumberOfMonths(e), K = this._get(e, 'showCurrentAtPos'), V = this._get(e, 'stepMonths'), G = 1 !== q[0] || 1 !== q[1], J = this._daylightSavingAdjust( e.currentDay ? new Date(e.currentYear, e.currentMonth, e.currentDay) : new Date(9999, 9, 9) ), X = this._getMinMaxDate(e, 'min'), Q = this._getMinMaxDate(e, 'max'), Z = e.drawMonth - K, ee = e.drawYear if ((Z < 0 && ((Z += 12), ee--), Q)) for ( t = this._daylightSavingAdjust( new Date( Q.getFullYear(), Q.getMonth() - q[0] * q[1] + 1, Q.getDate() ) ), t = X && t < X ? X : t; this._daylightSavingAdjust(new Date(ee, Z, 1)) > t; ) --Z < 0 && ((Z = 11), ee--) for ( e.drawMonth = Z, e.drawYear = ee, i = this._get(e, 'prevText'), i = U ? this.formatDate( i, this._daylightSavingAdjust(new Date(ee, Z - V, 1)), this._getFormatConfig(e) ) : i, n = this._canAdjustMonth(e, -1, ee, Z) ? "" + i + '' : B ? '' : "" + i + '', s = this._get(e, 'nextText'), s = U ? this.formatDate( s, this._daylightSavingAdjust(new Date(ee, Z + V, 1)), this._getFormatConfig(e) ) : s, r = this._canAdjustMonth(e, 1, ee, Z) ? "" + s + '' : B ? '' : "" + s + '', a = this._get(e, 'currentText'), o = this._get(e, 'gotoCurrent') && e.currentDay ? J : z, a = U ? this.formatDate(a, o, this._getFormatConfig(e)) : a, l = e.inline ? '' : "', u = $ ? "
        " + (R ? l : '') + (this._isInRange(e, o) ? "' : '') + (R ? '' : l) + '
        ' : '', d = parseInt(this._get(e, 'firstDay'), 10), d = isNaN(d) ? 0 : d, c = this._get(e, 'showWeek'), h = this._get(e, 'dayNames'), p = this._get(e, 'dayNamesMin'), f = this._get(e, 'monthNames'), m = this._get(e, 'monthNamesShort'), _ = this._get(e, 'beforeShowDay'), g = this._get(e, 'showOtherMonths'), v = this._get(e, 'selectOtherMonths'), y = this._getDefaultDate(e), b = '', M = 0; M < q[0]; M++ ) { for (k = '', this.maxRows = 4, L = 0; L < q[1]; L++) { if ( ((D = this._daylightSavingAdjust( new Date(ee, Z, e.selectedDay) )), (T = ' ui-corner-all'), (Y = ''), G) ) { if (((Y += "
        " + (/all|left/.test(T) && 0 === M ? (R ? r : n) : '') + (/all|right/.test(T) && 0 === M ? (R ? n : r) : '') + this._generateMonthYearHeader( e, Z, ee, X, Q, M > 0 || L > 0, f, m ) + "
    ').addClass('cw').text('#')); i.isBefore(r.clone().endOf('w')); ) t.append(e('').addClass('dow').text(i.format('dd'))), i.add(1, 'd') f.find('.datepicker-days thead').append(t) }, W = function (e) { return !0 === n.disabledDates[e.format('YYYY-MM-DD')] }, N = function (e) { return !0 === n.enabledDates[e.format('YYYY-MM-DD')] }, F = function (e) { return !0 === n.disabledHours[e.format('H')] }, z = function (e) { return !0 === n.enabledHours[e.format('H')] }, R = function (t, i) { if (!t.isValid()) return !1 if (n.disabledDates && 'd' === i && W(t)) return !1 if (n.enabledDates && 'd' === i && !N(t)) return !1 if (n.minDate && t.isBefore(n.minDate, i)) return !1 if (n.maxDate && t.isAfter(n.maxDate, i)) return !1 if ( n.daysOfWeekDisabled && 'd' === i && -1 !== n.daysOfWeekDisabled.indexOf(t.day()) ) return !1 if ( n.disabledHours && ('h' === i || 'm' === i || 's' === i) && F(t) ) return !1 if ( n.enabledHours && ('h' === i || 'm' === i || 's' === i) && !z(t) ) return !1 if ( n.disabledTimeIntervals && ('h' === i || 'm' === i || 's' === i) ) { var s = !1 if ( (e.each(n.disabledTimeIntervals, function () { if (t.isBetween(this[0], this[1])) return (s = !0), !1 }), s) ) return !1 } return !0 }, $ = function () { for ( var t = [], i = r.clone().startOf('y').startOf('d'); i.isSame(r, 'y'); ) t.push( e('') .attr('data-action', 'selectMonth') .addClass('month') .text(i.format('MMM')) ), i.add(1, 'M') f.find('.datepicker-months td').empty().append(t) }, B = function () { var t = f.find('.datepicker-months'), i = t.find('th'), a = t.find('tbody').find('span') i.eq(0).find('span').attr('title', n.tooltips.prevYear), i.eq(1).attr('title', n.tooltips.selectYear), i.eq(2).find('span').attr('title', n.tooltips.nextYear), t.find('.disabled').removeClass('disabled'), R(r.clone().subtract(1, 'y'), 'y') || i.eq(0).addClass('disabled'), i.eq(1).text(r.year()), R(r.clone().add(1, 'y'), 'y') || i.eq(2).addClass('disabled'), a.removeClass('active'), s.isSame(r, 'y') && !h && a.eq(s.month()).addClass('active'), a.each(function (t) { R(r.clone().month(t), 'M') || e(this).addClass('disabled') }) }, U = function () { var e = f.find('.datepicker-years'), t = e.find('th'), i = r.clone().subtract(5, 'y'), a = r.clone().add(6, 'y'), o = '' for ( t.eq(0).find('span').attr('title', n.tooltips.prevDecade), t.eq(1).attr('title', n.tooltips.selectDecade), t.eq(2).find('span').attr('title', n.tooltips.nextDecade), e.find('.disabled').removeClass('disabled'), n.minDate && n.minDate.isAfter(i, 'y') && t.eq(0).addClass('disabled'), t.eq(1).text(i.year() + '-' + a.year()), n.maxDate && n.maxDate.isBefore(a, 'y') && t.eq(2).addClass('disabled'); !i.isAfter(a, 'y'); ) (o += '' + i.year() + ''), i.add(1, 'y') e.find('td').html(o) }, q = function () { var e, i = f.find('.datepicker-decades'), a = i.find('th'), o = t({ y: r.year() - (r.year() % 100) - 1 }), l = o.clone().add(100, 'y'), u = o.clone(), d = !1, c = !1, h = '' for ( a.eq(0).find('span').attr('title', n.tooltips.prevCentury), a.eq(2).find('span').attr('title', n.tooltips.nextCentury), i.find('.disabled').removeClass('disabled'), (o.isSame(t({ y: 1900 })) || (n.minDate && n.minDate.isAfter(o, 'y'))) && a.eq(0).addClass('disabled'), a.eq(1).text(o.year() + '-' + l.year()), (o.isSame(t({ y: 2e3 })) || (n.maxDate && n.maxDate.isBefore(l, 'y'))) && a.eq(2).addClass('disabled'); !o.isAfter(l, 'y'); ) (e = o.year() + 12), (d = n.minDate && n.minDate.isAfter(o, 'y') && n.minDate.year() <= e), (c = n.maxDate && n.maxDate.isAfter(o, 'y') && n.maxDate.year() <= e), (h += '' + (o.year() + 1) + ' - ' + (o.year() + 12) + ''), o.add(12, 'y') ;(h += ''), i.find('td').html(h), a.eq(1).text(u.year() + 1 + '-' + o.year()) }, K = function () { var t, i, a, o = f.find('.datepicker-days'), l = o.find('th'), u = [], d = [] if (Y()) { for ( l.eq(0).find('span').attr('title', n.tooltips.prevMonth), l.eq(1).attr('title', n.tooltips.selectMonth), l.eq(2).find('span').attr('title', n.tooltips.nextMonth), o.find('.disabled').removeClass('disabled'), l.eq(1).text(r.format(n.dayViewHeaderFormat)), R(r.clone().subtract(1, 'M'), 'M') || l.eq(0).addClass('disabled'), R(r.clone().add(1, 'M'), 'M') || l.eq(2).addClass('disabled'), t = r.clone().startOf('M').startOf('w').startOf('d'), a = 0; a < 42; a++ ) 0 === t.weekday() && ((i = e('
    ' + t.week() + '' + t.date() + '
    ' + i.format(o ? 'HH' : 'hh') + '
    ' + i.format('mm') + '
    ' + i.format('ss') + '
    ", x = c ? "' : '', w = 0; w < 7; w++ ) (C = (w + d) % 7), (x += "') for ( Y += x + '', S = this._getDaysInMonth(ee, Z), ee === e.selectedYear && Z === e.selectedMonth && (e.selectedDay = Math.min(e.selectedDay, S)), E = (this._getFirstDayOfMonth(ee, Z) - d + 7) % 7, H = Math.ceil((E + S) / 7), A = G && this.maxRows > H ? this.maxRows : H, this.maxRows = A, O = this._daylightSavingAdjust(new Date(ee, Z, 1 - E)), P = 0; P < A; P++ ) { for ( Y += '', I = c ? "' : '', w = 0; w < 7; w++ ) (j = _ ? _.apply(e.input ? e.input[0] : null, [O]) : [!0, '']), (W = O.getMonth() !== Z), (N = (W && !v) || !j[0] || (X && O < X) || (Q && O > Q)), (I += "'), O.setDate(O.getDate() + 1), (O = this._daylightSavingAdjust(O)) Y += I + '' } Z++, Z > 11 && ((Z = 0), ee++), (Y += '
    " + this._get(e, 'weekHeader') + '= 5 ? " class='ui-datepicker-week-end'" : '') + ">" + p[C] + '
    " + this._get(e, 'calculateWeek')(O) + '' + (W && !g ? ' ' : N ? "" + O.getDate() + '' : "" + O.getDate() + '') + '
    ' + (G ? '' + (q[0] > 0 && L === q[1] - 1 ? "
    " : '') : '')), (k += Y) } b += k } return (b += u), (e._keyEvent = !1), b }, _generateMonthYearHeader: function (e, t, i, n, s, r, a, o) { var l, u, d, c, h, p, f, m, _ = this._get(e, 'changeMonth'), g = this._get(e, 'changeYear'), v = this._get(e, 'showMonthAfterYear'), y = "
    ", b = '' if (r || !_) b += "" + a[t] + '' else { for ( l = n && n.getFullYear() === i, u = s && s.getFullYear() === i, b += "' } if ( (v || (y += b + (!r && _ && g ? '' : ' ')), !e.yearshtml) ) if (((e.yearshtml = ''), r || !g)) y += "" + i + '' else { for ( c = this._get(e, 'yearRange').split(':'), h = new Date().getFullYear(), p = function (e) { var t = e.match(/c[+\-].*/) ? i + parseInt(e.substring(1), 10) : e.match(/[+\-].*/) ? h + parseInt(e, 10) : parseInt(e, 10) return isNaN(t) ? h : t }, f = p(c[0]), m = Math.max(f, p(c[1] || '')), f = n ? Math.max(f, n.getFullYear()) : f, m = s ? Math.min(m, s.getFullYear()) : m, e.yearshtml += "'), (y += e.yearshtml), (e.yearshtml = null) } return ( (y += this._get(e, 'yearSuffix')), v && (y += (!r && _ && g ? '' : ' ') + b), (y += '
    ') ) }, _adjustInstDate: function (e, t, i) { var n = e.selectedYear + ('Y' === i ? t : 0), s = e.selectedMonth + ('M' === i ? t : 0), r = Math.min(e.selectedDay, this._getDaysInMonth(n, s)) + ('D' === i ? t : 0), a = this._restrictMinMax( e, this._daylightSavingAdjust(new Date(n, s, r)) ) ;(e.selectedDay = a.getDate()), (e.drawMonth = e.selectedMonth = a.getMonth()), (e.drawYear = e.selectedYear = a.getFullYear()), ('M' !== i && 'Y' !== i) || this._notifyChange(e) }, _restrictMinMax: function (e, t) { var i = this._getMinMaxDate(e, 'min'), n = this._getMinMaxDate(e, 'max'), s = i && t < i ? i : t return n && s > n ? n : s }, _notifyChange: function (e) { var t = this._get(e, 'onChangeMonthYear') t && t.apply(e.input ? e.input[0] : null, [ e.selectedYear, e.selectedMonth + 1, e, ]) }, _getNumberOfMonths: function (e) { var t = this._get(e, 'numberOfMonths') return null == t ? [1, 1] : 'number' == typeof t ? [1, t] : t }, _getMinMaxDate: function (e, t) { return this._determineDate(e, this._get(e, t + 'Date'), null) }, _getDaysInMonth: function (e, t) { return ( 32 - this._daylightSavingAdjust(new Date(e, t, 32)).getDate() ) }, _getFirstDayOfMonth: function (e, t) { return new Date(e, t, 1).getDay() }, _canAdjustMonth: function (e, t, i, n) { var s = this._getNumberOfMonths(e), r = this._daylightSavingAdjust( new Date(i, n + (t < 0 ? t : s[0] * s[1]), 1) ) return ( t < 0 && r.setDate( this._getDaysInMonth(r.getFullYear(), r.getMonth()) ), this._isInRange(e, r) ) }, _isInRange: function (e, t) { var i, n, s = this._getMinMaxDate(e, 'min'), r = this._getMinMaxDate(e, 'max'), a = null, o = null, l = this._get(e, 'yearRange') return ( l && ((i = l.split(':')), (n = new Date().getFullYear()), (a = parseInt(i[0], 10)), (o = parseInt(i[1], 10)), i[0].match(/[+\-].*/) && (a += n), i[1].match(/[+\-].*/) && (o += n)), (!s || t.getTime() >= s.getTime()) && (!r || t.getTime() <= r.getTime()) && (!a || t.getFullYear() >= a) && (!o || t.getFullYear() <= o) ) }, _getFormatConfig: function (e) { var t = this._get(e, 'shortYearCutoff') return ( (t = 'string' != typeof t ? t : (new Date().getFullYear() % 100) + parseInt(t, 10)), { shortYearCutoff: t, dayNamesShort: this._get(e, 'dayNamesShort'), dayNames: this._get(e, 'dayNames'), monthNamesShort: this._get(e, 'monthNamesShort'), monthNames: this._get(e, 'monthNames'), } ) }, _formatDate: function (e, t, i, n) { t || ((e.currentDay = e.selectedDay), (e.currentMonth = e.selectedMonth), (e.currentYear = e.selectedYear)) var s = t ? 'object' == typeof t ? t : this._daylightSavingAdjust(new Date(n, i, t)) : this._daylightSavingAdjust( new Date(e.currentYear, e.currentMonth, e.currentDay) ) return this.formatDate( this._get(e, 'dateFormat'), s, this._getFormatConfig(e) ) }, }), (e.fn.datepicker = function (t) { if (!this.length) return this e.datepicker.initialized || (e(document).on('mousedown', e.datepicker._checkExternalClick), (e.datepicker.initialized = !0)), 0 === e('#' + e.datepicker._mainDivId).length && e('body').append(e.datepicker.dpDiv) var i = Array.prototype.slice.call(arguments, 1) return 'string' != typeof t || ('isDisabled' !== t && 'getDate' !== t && 'widget' !== t) ? 'option' === t && 2 === arguments.length && 'string' == typeof arguments[1] ? e.datepicker['_' + t + 'Datepicker'].apply( e.datepicker, [this[0]].concat(i) ) : this.each(function () { 'string' == typeof t ? e.datepicker['_' + t + 'Datepicker'].apply( e.datepicker, [this].concat(i) ) : e.datepicker._attachDatepicker(this, t) }) : e.datepicker['_' + t + 'Datepicker'].apply( e.datepicker, [this[0]].concat(i) ) }), (e.datepicker = new n()), (e.datepicker.initialized = !1), (e.datepicker.uuid = new Date().getTime()), (e.datepicker.version = '1.12.1') var f = (e.datepicker, (e.ui.ie = !!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())), !1) e(document).on('mouseup', function () { f = !1 }) e.widget('ui.mouse', { version: '1.12.1', options: { cancel: 'input, textarea, button, select, option', distance: 1, delay: 0, }, _mouseInit: function () { var t = this this.element .on('mousedown.' + this.widgetName, function (e) { return t._mouseDown(e) }) .on('click.' + this.widgetName, function (i) { if ( !0 === e.data(i.target, t.widgetName + '.preventClickEvent') ) return ( e.removeData( i.target, t.widgetName + '.preventClickEvent' ), i.stopImmediatePropagation(), !1 ) }), (this.started = !1) }, _mouseDestroy: function () { this.element.off('.' + this.widgetName), this._mouseMoveDelegate && this.document .off( 'mousemove.' + this.widgetName, this._mouseMoveDelegate ) .off('mouseup.' + this.widgetName, this._mouseUpDelegate) }, _mouseDown: function (t) { if (!f) { ;(this._mouseMoved = !1), this._mouseStarted && this._mouseUp(t), (this._mouseDownEvent = t) var i = this, n = 1 === t.which, s = !( 'string' != typeof this.options.cancel || !t.target.nodeName ) && e(t.target).closest(this.options.cancel).length return ( !(n && !s && this._mouseCapture(t)) || ((this.mouseDelayMet = !this.options.delay), this.mouseDelayMet || (this._mouseDelayTimer = setTimeout(function () { i.mouseDelayMet = !0 }, this.options.delay)), this._mouseDistanceMet(t) && this._mouseDelayMet(t) && ((this._mouseStarted = !1 !== this._mouseStart(t)), !this._mouseStarted) ? (t.preventDefault(), !0) : (!0 === e.data( t.target, this.widgetName + '.preventClickEvent' ) && e.removeData( t.target, this.widgetName + '.preventClickEvent' ), (this._mouseMoveDelegate = function (e) { return i._mouseMove(e) }), (this._mouseUpDelegate = function (e) { return i._mouseUp(e) }), this.document .on( 'mousemove.' + this.widgetName, this._mouseMoveDelegate ) .on( 'mouseup.' + this.widgetName, this._mouseUpDelegate ), t.preventDefault(), (f = !0), !0)) ) } }, _mouseMove: function (t) { if (this._mouseMoved) { if ( e.ui.ie && (!document.documentMode || document.documentMode < 9) && !t.button ) return this._mouseUp(t) if (!t.which) if ( t.originalEvent.altKey || t.originalEvent.ctrlKey || t.originalEvent.metaKey || t.originalEvent.shiftKey ) this.ignoreMissingWhich = !0 else if (!this.ignoreMissingWhich) return this._mouseUp(t) } return ( (t.which || t.button) && (this._mouseMoved = !0), this._mouseStarted ? (this._mouseDrag(t), t.preventDefault()) : (this._mouseDistanceMet(t) && this._mouseDelayMet(t) && ((this._mouseStarted = !1 !== this._mouseStart(this._mouseDownEvent, t)), this._mouseStarted ? this._mouseDrag(t) : this._mouseUp(t)), !this._mouseStarted) ) }, _mouseUp: function (t) { this.document .off('mousemove.' + this.widgetName, this._mouseMoveDelegate) .off('mouseup.' + this.widgetName, this._mouseUpDelegate), this._mouseStarted && ((this._mouseStarted = !1), t.target === this._mouseDownEvent.target && e.data( t.target, this.widgetName + '.preventClickEvent', !0 ), this._mouseStop(t)), this._mouseDelayTimer && (clearTimeout(this._mouseDelayTimer), delete this._mouseDelayTimer), (this.ignoreMissingWhich = !1), (f = !1), t.preventDefault() }, _mouseDistanceMet: function (e) { return ( Math.max( Math.abs(this._mouseDownEvent.pageX - e.pageX), Math.abs(this._mouseDownEvent.pageY - e.pageY) ) >= this.options.distance ) }, _mouseDelayMet: function () { return this.mouseDelayMet }, _mouseStart: function () {}, _mouseDrag: function () {}, _mouseStop: function () {}, _mouseCapture: function () { return !0 }, }), (e.ui.plugin = { add: function (t, i, n) { var s, r = e.ui[t].prototype for (s in n) (r.plugins[s] = r.plugins[s] || []), r.plugins[s].push([i, n[s]]) }, call: function (e, t, i, n) { var s, r = e.plugins[t] if ( r && (n || (e.element[0].parentNode && 11 !== e.element[0].parentNode.nodeType)) ) for (s = 0; s < r.length; s++) e.options[r[s][0]] && r[s][1].apply(e.element, i) }, }), (e.ui.safeBlur = function (t) { t && 'body' !== t.nodeName.toLowerCase() && e(t).trigger('blur') }) /*! * jQuery UI Draggable 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ e.widget('ui.draggable', e.ui.mouse, { version: '1.12.1', widgetEventPrefix: 'drag', options: { addClasses: !0, appendTo: 'parent', axis: !1, connectToSortable: !1, containment: !1, cursor: 'auto', cursorAt: !1, grid: !1, handle: !1, helper: 'original', iframeFix: !1, opacity: !1, refreshPositions: !1, revert: !1, revertDuration: 500, scope: 'default', scroll: !0, scrollSensitivity: 20, scrollSpeed: 20, snap: !1, snapMode: 'both', snapTolerance: 20, stack: !1, zIndex: !1, drag: null, start: null, stop: null, }, _create: function () { 'original' === this.options.helper && this._setPositionRelative(), this.options.addClasses && this._addClass('ui-draggable'), this._setHandleClassName(), this._mouseInit() }, _setOption: function (e, t) { this._super(e, t), 'handle' === e && (this._removeHandleClassName(), this._setHandleClassName()) }, _destroy: function () { if ((this.helper || this.element).is('.ui-draggable-dragging')) return void (this.destroyOnClear = !0) this._removeHandleClassName(), this._mouseDestroy() }, _mouseCapture: function (t) { var i = this.options return ( !( this.helper || i.disabled || e(t.target).closest('.ui-resizable-handle').length > 0 ) && ((this.handle = this._getHandle(t)), !!this.handle && (this._blurActiveElement(t), this._blockFrames( !0 === i.iframeFix ? 'iframe' : i.iframeFix ), !0)) ) }, _blockFrames: function (t) { this.iframeBlocks = this.document.find(t).map(function () { var t = e(this) return e('
    ') .css('position', 'absolute') .appendTo(t.parent()) .outerWidth(t.outerWidth()) .outerHeight(t.outerHeight()) .offset(t.offset())[0] }) }, _unblockFrames: function () { this.iframeBlocks && (this.iframeBlocks.remove(), delete this.iframeBlocks) }, _blurActiveElement: function (t) { var i = e.ui.safeActiveElement(this.document[0]) e(t.target).closest(i).length || e.ui.safeBlur(i) }, _mouseStart: function (t) { var i = this.options return ( (this.helper = this._createHelper(t)), this._addClass(this.helper, 'ui-draggable-dragging'), this._cacheHelperProportions(), e.ui.ddmanager && (e.ui.ddmanager.current = this), this._cacheMargins(), (this.cssPosition = this.helper.css('position')), (this.scrollParent = this.helper.scrollParent(!0)), (this.offsetParent = this.helper.offsetParent()), (this.hasFixedAncestor = this.helper.parents().filter(function () { return 'fixed' === e(this).css('position') }).length > 0), (this.positionAbs = this.element.offset()), this._refreshOffsets(t), (this.originalPosition = this.position = this._generatePosition(t, !1)), (this.originalPageX = t.pageX), (this.originalPageY = t.pageY), i.cursorAt && this._adjustOffsetFromHelper(i.cursorAt), this._setContainment(), !1 === this._trigger('start', t) ? (this._clear(), !1) : (this._cacheHelperProportions(), e.ui.ddmanager && !i.dropBehaviour && e.ui.ddmanager.prepareOffsets(this, t), this._mouseDrag(t, !0), e.ui.ddmanager && e.ui.ddmanager.dragStart(this, t), !0) ) }, _refreshOffsets: function (e) { ;(this.offset = { top: this.positionAbs.top - this.margins.top, left: this.positionAbs.left - this.margins.left, scroll: !1, parent: this._getParentOffset(), relative: this._getRelativeOffset(), }), (this.offset.click = { left: e.pageX - this.offset.left, top: e.pageY - this.offset.top, }) }, _mouseDrag: function (t, i) { if ( (this.hasFixedAncestor && (this.offset.parent = this._getParentOffset()), (this.position = this._generatePosition(t, !0)), (this.positionAbs = this._convertPositionTo('absolute')), !i) ) { var n = this._uiHash() if (!1 === this._trigger('drag', t, n)) return this._mouseUp(new e.Event('mouseup', t)), !1 this.position = n.position } return ( (this.helper[0].style.left = this.position.left + 'px'), (this.helper[0].style.top = this.position.top + 'px'), e.ui.ddmanager && e.ui.ddmanager.drag(this, t), !1 ) }, _mouseStop: function (t) { var i = this, n = !1 return ( e.ui.ddmanager && !this.options.dropBehaviour && (n = e.ui.ddmanager.drop(this, t)), this.dropped && ((n = this.dropped), (this.dropped = !1)), ('invalid' === this.options.revert && !n) || ('valid' === this.options.revert && n) || !0 === this.options.revert || (e.isFunction(this.options.revert) && this.options.revert.call(this.element, n)) ? e(this.helper).animate( this.originalPosition, parseInt(this.options.revertDuration, 10), function () { !1 !== i._trigger('stop', t) && i._clear() } ) : !1 !== this._trigger('stop', t) && this._clear(), !1 ) }, _mouseUp: function (t) { return ( this._unblockFrames(), e.ui.ddmanager && e.ui.ddmanager.dragStop(this, t), this.handleElement.is(t.target) && this.element.trigger('focus'), e.ui.mouse.prototype._mouseUp.call(this, t) ) }, cancel: function () { return ( this.helper.is('.ui-draggable-dragging') ? this._mouseUp( new e.Event('mouseup', { target: this.element[0] }) ) : this._clear(), this ) }, _getHandle: function (t) { return ( !this.options.handle || !!e(t.target).closest(this.element.find(this.options.handle)) .length ) }, _setHandleClassName: function () { ;(this.handleElement = this.options.handle ? this.element.find(this.options.handle) : this.element), this._addClass(this.handleElement, 'ui-draggable-handle') }, _removeHandleClassName: function () { this._removeClass(this.handleElement, 'ui-draggable-handle') }, _createHelper: function (t) { var i = this.options, n = e.isFunction(i.helper), s = n ? e(i.helper.apply(this.element[0], [t])) : 'clone' === i.helper ? this.element.clone().removeAttr('id') : this.element return ( s.parents('body').length || s.appendTo( 'parent' === i.appendTo ? this.element[0].parentNode : i.appendTo ), n && s[0] === this.element[0] && this._setPositionRelative(), s[0] === this.element[0] || /(fixed|absolute)/.test(s.css('position')) || s.css('position', 'absolute'), s ) }, _setPositionRelative: function () { ;/^(?:r|a|f)/.test(this.element.css('position')) || (this.element[0].style.position = 'relative') }, _adjustOffsetFromHelper: function (t) { 'string' == typeof t && (t = t.split(' ')), e.isArray(t) && (t = { left: +t[0], top: +t[1] || 0 }), 'left' in t && (this.offset.click.left = t.left + this.margins.left), 'right' in t && (this.offset.click.left = this.helperProportions.width - t.right + this.margins.left), 'top' in t && (this.offset.click.top = t.top + this.margins.top), 'bottom' in t && (this.offset.click.top = this.helperProportions.height - t.bottom + this.margins.top) }, _isRootNode: function (e) { return /(html|body)/i.test(e.tagName) || e === this.document[0] }, _getParentOffset: function () { var t = this.offsetParent.offset(), i = this.document[0] return ( 'absolute' === this.cssPosition && this.scrollParent[0] !== i && e.contains(this.scrollParent[0], this.offsetParent[0]) && ((t.left += this.scrollParent.scrollLeft()), (t.top += this.scrollParent.scrollTop())), this._isRootNode(this.offsetParent[0]) && (t = { top: 0, left: 0 }), { top: t.top + (parseInt(this.offsetParent.css('borderTopWidth'), 10) || 0), left: t.left + (parseInt(this.offsetParent.css('borderLeftWidth'), 10) || 0), } ) }, _getRelativeOffset: function () { if ('relative' !== this.cssPosition) return { top: 0, left: 0 } var e = this.element.position(), t = this._isRootNode(this.scrollParent[0]) return { top: e.top - (parseInt(this.helper.css('top'), 10) || 0) + (t ? 0 : this.scrollParent.scrollTop()), left: e.left - (parseInt(this.helper.css('left'), 10) || 0) + (t ? 0 : this.scrollParent.scrollLeft()), } }, _cacheMargins: function () { this.margins = { left: parseInt(this.element.css('marginLeft'), 10) || 0, top: parseInt(this.element.css('marginTop'), 10) || 0, right: parseInt(this.element.css('marginRight'), 10) || 0, bottom: parseInt(this.element.css('marginBottom'), 10) || 0, } }, _cacheHelperProportions: function () { this.helperProportions = { width: this.helper.outerWidth(), height: this.helper.outerHeight(), } }, _setContainment: function () { var t, i, n, s = this.options, r = this.document[0] return ( (this.relativeContainer = null), s.containment ? 'window' === s.containment ? void (this.containment = [ e(window).scrollLeft() - this.offset.relative.left - this.offset.parent.left, e(window).scrollTop() - this.offset.relative.top - this.offset.parent.top, e(window).scrollLeft() + e(window).width() - this.helperProportions.width - this.margins.left, e(window).scrollTop() + (e(window).height() || r.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top, ]) : 'document' === s.containment ? void (this.containment = [ 0, 0, e(r).width() - this.helperProportions.width - this.margins.left, (e(r).height() || r.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top, ]) : s.containment.constructor === Array ? void (this.containment = s.containment) : ('parent' === s.containment && (s.containment = this.helper[0].parentNode), (i = e(s.containment)), void ( (n = i[0]) && ((t = /(scroll|auto)/.test(i.css('overflow'))), (this.containment = [ (parseInt(i.css('borderLeftWidth'), 10) || 0) + (parseInt(i.css('paddingLeft'), 10) || 0), (parseInt(i.css('borderTopWidth'), 10) || 0) + (parseInt(i.css('paddingTop'), 10) || 0), (t ? Math.max(n.scrollWidth, n.offsetWidth) : n.offsetWidth) - (parseInt(i.css('borderRightWidth'), 10) || 0) - (parseInt(i.css('paddingRight'), 10) || 0) - this.helperProportions.width - this.margins.left - this.margins.right, (t ? Math.max(n.scrollHeight, n.offsetHeight) : n.offsetHeight) - (parseInt(i.css('borderBottomWidth'), 10) || 0) - (parseInt(i.css('paddingBottom'), 10) || 0) - this.helperProportions.height - this.margins.top - this.margins.bottom, ]), (this.relativeContainer = i)) )) : void (this.containment = null) ) }, _convertPositionTo: function (e, t) { t || (t = this.position) var i = 'absolute' === e ? 1 : -1, n = this._isRootNode(this.scrollParent[0]) return { top: t.top + this.offset.relative.top * i + this.offset.parent.top * i - ('fixed' === this.cssPosition ? -this.offset.scroll.top : n ? 0 : this.offset.scroll.top) * i, left: t.left + this.offset.relative.left * i + this.offset.parent.left * i - ('fixed' === this.cssPosition ? -this.offset.scroll.left : n ? 0 : this.offset.scroll.left) * i, } }, _generatePosition: function (e, t) { var i, n, s, r, a = this.options, o = this._isRootNode(this.scrollParent[0]), l = e.pageX, u = e.pageY return ( (o && this.offset.scroll) || (this.offset.scroll = { top: this.scrollParent.scrollTop(), left: this.scrollParent.scrollLeft(), }), t && (this.containment && (this.relativeContainer ? ((n = this.relativeContainer.offset()), (i = [ this.containment[0] + n.left, this.containment[1] + n.top, this.containment[2] + n.left, this.containment[3] + n.top, ])) : (i = this.containment), e.pageX - this.offset.click.left < i[0] && (l = i[0] + this.offset.click.left), e.pageY - this.offset.click.top < i[1] && (u = i[1] + this.offset.click.top), e.pageX - this.offset.click.left > i[2] && (l = i[2] + this.offset.click.left), e.pageY - this.offset.click.top > i[3] && (u = i[3] + this.offset.click.top)), a.grid && ((s = a.grid[1] ? this.originalPageY + Math.round((u - this.originalPageY) / a.grid[1]) * a.grid[1] : this.originalPageY), (u = i ? s - this.offset.click.top >= i[1] || s - this.offset.click.top > i[3] ? s : s - this.offset.click.top >= i[1] ? s - a.grid[1] : s + a.grid[1] : s), (r = a.grid[0] ? this.originalPageX + Math.round((l - this.originalPageX) / a.grid[0]) * a.grid[0] : this.originalPageX), (l = i ? r - this.offset.click.left >= i[0] || r - this.offset.click.left > i[2] ? r : r - this.offset.click.left >= i[0] ? r - a.grid[0] : r + a.grid[0] : r)), 'y' === a.axis && (l = this.originalPageX), 'x' === a.axis && (u = this.originalPageY)), { top: u - this.offset.click.top - this.offset.relative.top - this.offset.parent.top + ('fixed' === this.cssPosition ? -this.offset.scroll.top : o ? 0 : this.offset.scroll.top), left: l - this.offset.click.left - this.offset.relative.left - this.offset.parent.left + ('fixed' === this.cssPosition ? -this.offset.scroll.left : o ? 0 : this.offset.scroll.left), } ) }, _clear: function () { this._removeClass(this.helper, 'ui-draggable-dragging'), this.helper[0] === this.element[0] || this.cancelHelperRemoval || this.helper.remove(), (this.helper = null), (this.cancelHelperRemoval = !1), this.destroyOnClear && this.destroy() }, _trigger: function (t, i, n) { return ( (n = n || this._uiHash()), e.ui.plugin.call(this, t, [i, n, this], !0), /^(drag|start|stop)/.test(t) && ((this.positionAbs = this._convertPositionTo('absolute')), (n.offset = this.positionAbs)), e.Widget.prototype._trigger.call(this, t, i, n) ) }, plugins: {}, _uiHash: function () { return { helper: this.helper, position: this.position, originalPosition: this.originalPosition, offset: this.positionAbs, } }, }), e.ui.plugin.add('draggable', 'connectToSortable', { start: function (t, i, n) { var s = e.extend({}, i, { item: n.element }) ;(n.sortables = []), e(n.options.connectToSortable).each(function () { var i = e(this).sortable('instance') i && !i.options.disabled && (n.sortables.push(i), i.refreshPositions(), i._trigger('activate', t, s)) }) }, stop: function (t, i, n) { var s = e.extend({}, i, { item: n.element }) ;(n.cancelHelperRemoval = !1), e.each(n.sortables, function () { var e = this e.isOver ? ((e.isOver = 0), (n.cancelHelperRemoval = !0), (e.cancelHelperRemoval = !1), (e._storedCSS = { position: e.placeholder.css('position'), top: e.placeholder.css('top'), left: e.placeholder.css('left'), }), e._mouseStop(t), (e.options.helper = e.options._helper)) : ((e.cancelHelperRemoval = !0), e._trigger('deactivate', t, s)) }) }, drag: function (t, i, n) { e.each(n.sortables, function () { var s = !1, r = this ;(r.positionAbs = n.positionAbs), (r.helperProportions = n.helperProportions), (r.offset.click = n.offset.click), r._intersectsWith(r.containerCache) && ((s = !0), e.each(n.sortables, function () { return ( (this.positionAbs = n.positionAbs), (this.helperProportions = n.helperProportions), (this.offset.click = n.offset.click), this !== r && this._intersectsWith(this.containerCache) && e.contains(r.element[0], this.element[0]) && (s = !1), s ) })), s ? (r.isOver || ((r.isOver = 1), (n._parent = i.helper.parent()), (r.currentItem = i.helper .appendTo(r.element) .data('ui-sortable-item', !0)), (r.options._helper = r.options.helper), (r.options.helper = function () { return i.helper[0] }), (t.target = r.currentItem[0]), r._mouseCapture(t, !0), r._mouseStart(t, !0, !0), (r.offset.click.top = n.offset.click.top), (r.offset.click.left = n.offset.click.left), (r.offset.parent.left -= n.offset.parent.left - r.offset.parent.left), (r.offset.parent.top -= n.offset.parent.top - r.offset.parent.top), n._trigger('toSortable', t), (n.dropped = r.element), e.each(n.sortables, function () { this.refreshPositions() }), (n.currentItem = n.element), (r.fromOutside = n)), r.currentItem && (r._mouseDrag(t), (i.position = r.position))) : r.isOver && ((r.isOver = 0), (r.cancelHelperRemoval = !0), (r.options._revert = r.options.revert), (r.options.revert = !1), r._trigger('out', t, r._uiHash(r)), r._mouseStop(t, !0), (r.options.revert = r.options._revert), (r.options.helper = r.options._helper), r.placeholder && r.placeholder.remove(), i.helper.appendTo(n._parent), n._refreshOffsets(t), (i.position = n._generatePosition(t, !0)), n._trigger('fromSortable', t), (n.dropped = !1), e.each(n.sortables, function () { this.refreshPositions() })) }) }, }), e.ui.plugin.add('draggable', 'cursor', { start: function (t, i, n) { var s = e('body'), r = n.options s.css('cursor') && (r._cursor = s.css('cursor')), s.css('cursor', r.cursor) }, stop: function (t, i, n) { var s = n.options s._cursor && e('body').css('cursor', s._cursor) }, }), e.ui.plugin.add('draggable', 'opacity', { start: function (t, i, n) { var s = e(i.helper), r = n.options s.css('opacity') && (r._opacity = s.css('opacity')), s.css('opacity', r.opacity) }, stop: function (t, i, n) { var s = n.options s._opacity && e(i.helper).css('opacity', s._opacity) }, }), e.ui.plugin.add('draggable', 'scroll', { start: function (e, t, i) { i.scrollParentNotHidden || (i.scrollParentNotHidden = i.helper.scrollParent(!1)), i.scrollParentNotHidden[0] !== i.document[0] && 'HTML' !== i.scrollParentNotHidden[0].tagName && (i.overflowOffset = i.scrollParentNotHidden.offset()) }, drag: function (t, i, n) { var s = n.options, r = !1, a = n.scrollParentNotHidden[0], o = n.document[0] a !== o && 'HTML' !== a.tagName ? ((s.axis && 'x' === s.axis) || (n.overflowOffset.top + a.offsetHeight - t.pageY < s.scrollSensitivity ? (a.scrollTop = r = a.scrollTop + s.scrollSpeed) : t.pageY - n.overflowOffset.top < s.scrollSensitivity && (a.scrollTop = r = a.scrollTop - s.scrollSpeed)), (s.axis && 'y' === s.axis) || (n.overflowOffset.left + a.offsetWidth - t.pageX < s.scrollSensitivity ? (a.scrollLeft = r = a.scrollLeft + s.scrollSpeed) : t.pageX - n.overflowOffset.left < s.scrollSensitivity && (a.scrollLeft = r = a.scrollLeft - s.scrollSpeed))) : ((s.axis && 'x' === s.axis) || (t.pageY - e(o).scrollTop() < s.scrollSensitivity ? (r = e(o).scrollTop(e(o).scrollTop() - s.scrollSpeed)) : e(window).height() - (t.pageY - e(o).scrollTop()) < s.scrollSensitivity && (r = e(o).scrollTop( e(o).scrollTop() + s.scrollSpeed ))), (s.axis && 'y' === s.axis) || (t.pageX - e(o).scrollLeft() < s.scrollSensitivity ? (r = e(o).scrollLeft( e(o).scrollLeft() - s.scrollSpeed )) : e(window).width() - (t.pageX - e(o).scrollLeft()) < s.scrollSensitivity && (r = e(o).scrollLeft( e(o).scrollLeft() + s.scrollSpeed )))), !1 !== r && e.ui.ddmanager && !s.dropBehaviour && e.ui.ddmanager.prepareOffsets(n, t) }, }), e.ui.plugin.add('draggable', 'snap', { start: function (t, i, n) { var s = n.options ;(n.snapElements = []), e( s.snap.constructor !== String ? s.snap.items || ':data(ui-draggable)' : s.snap ).each(function () { var t = e(this), i = t.offset() this !== n.element[0] && n.snapElements.push({ item: this, width: t.outerWidth(), height: t.outerHeight(), top: i.top, left: i.left, }) }) }, drag: function (t, i, n) { var s, r, a, o, l, u, d, c, h, p, f = n.options, m = f.snapTolerance, _ = i.offset.left, g = _ + n.helperProportions.width, v = i.offset.top, y = v + n.helperProportions.height for (h = n.snapElements.length - 1; h >= 0; h--) (l = n.snapElements[h].left - n.margins.left), (u = l + n.snapElements[h].width), (d = n.snapElements[h].top - n.margins.top), (c = d + n.snapElements[h].height), g < l - m || _ > u + m || y < d - m || v > c + m || !e.contains( n.snapElements[h].item.ownerDocument, n.snapElements[h].item ) ? (n.snapElements[h].snapping && n.options.snap.release && n.options.snap.release.call( n.element, t, e.extend(n._uiHash(), { snapItem: n.snapElements[h].item, }) ), (n.snapElements[h].snapping = !1)) : ('inner' !== f.snapMode && ((s = Math.abs(d - y) <= m), (r = Math.abs(c - v) <= m), (a = Math.abs(l - g) <= m), (o = Math.abs(u - _) <= m), s && (i.position.top = n._convertPositionTo('relative', { top: d - n.helperProportions.height, left: 0, }).top), r && (i.position.top = n._convertPositionTo('relative', { top: c, left: 0, }).top), a && (i.position.left = n._convertPositionTo( 'relative', { top: 0, left: l - n.helperProportions.width } ).left), o && (i.position.left = n._convertPositionTo( 'relative', { top: 0, left: u } ).left)), (p = s || r || a || o), 'outer' !== f.snapMode && ((s = Math.abs(d - v) <= m), (r = Math.abs(c - y) <= m), (a = Math.abs(l - _) <= m), (o = Math.abs(u - g) <= m), s && (i.position.top = n._convertPositionTo('relative', { top: d, left: 0, }).top), r && (i.position.top = n._convertPositionTo('relative', { top: c - n.helperProportions.height, left: 0, }).top), a && (i.position.left = n._convertPositionTo( 'relative', { top: 0, left: l } ).left), o && (i.position.left = n._convertPositionTo( 'relative', { top: 0, left: u - n.helperProportions.width } ).left)), !n.snapElements[h].snapping && (s || r || a || o || p) && n.options.snap.snap && n.options.snap.snap.call( n.element, t, e.extend(n._uiHash(), { snapItem: n.snapElements[h].item, }) ), (n.snapElements[h].snapping = s || r || a || o || p)) }, }), e.ui.plugin.add('draggable', 'stack', { start: function (t, i, n) { var s, r = n.options, a = e.makeArray(e(r.stack)).sort(function (t, i) { return ( (parseInt(e(t).css('zIndex'), 10) || 0) - (parseInt(e(i).css('zIndex'), 10) || 0) ) }) a.length && ((s = parseInt(e(a[0]).css('zIndex'), 10) || 0), e(a).each(function (t) { e(this).css('zIndex', s + t) }), this.css('zIndex', s + a.length)) }, }), e.ui.plugin.add('draggable', 'zIndex', { start: function (t, i, n) { var s = e(i.helper), r = n.options s.css('zIndex') && (r._zIndex = s.css('zIndex')), s.css('zIndex', r.zIndex) }, stop: function (t, i, n) { var s = n.options s._zIndex && e(i.helper).css('zIndex', s._zIndex) }, }) e.ui.draggable /*! * jQuery UI Resizable 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ e.widget('ui.resizable', e.ui.mouse, { version: '1.12.1', widgetEventPrefix: 'resize', options: { alsoResize: !1, animate: !1, animateDuration: 'slow', animateEasing: 'swing', aspectRatio: !1, autoHide: !1, classes: { 'ui-resizable-se': 'ui-icon ui-icon-gripsmall-diagonal-se', }, containment: !1, ghost: !1, grid: !1, handles: 'e,s,se', helper: !1, maxHeight: null, maxWidth: null, minHeight: 10, minWidth: 10, zIndex: 90, resize: null, start: null, stop: null, }, _num: function (e) { return parseFloat(e) || 0 }, _isNumber: function (e) { return !isNaN(parseFloat(e)) }, _hasScroll: function (t, i) { if ('hidden' === e(t).css('overflow')) return !1 var n = i && 'left' === i ? 'scrollLeft' : 'scrollTop', s = !1 return t[n] > 0 || ((t[n] = 1), (s = t[n] > 0), (t[n] = 0), s) }, _create: function () { var t, i = this.options, n = this this._addClass('ui-resizable'), e.extend(this, { _aspectRatio: !!i.aspectRatio, aspectRatio: i.aspectRatio, originalElement: this.element, _proportionallyResizeElements: [], _helper: i.helper || i.ghost || i.animate ? i.helper || 'ui-resizable-helper' : null, }), this.element[0].nodeName.match( /^(canvas|textarea|input|select|button|img)$/i ) && (this.element.wrap( e( "
    " ).css({ position: this.element.css('position'), width: this.element.outerWidth(), height: this.element.outerHeight(), top: this.element.css('top'), left: this.element.css('left'), }) ), (this.element = this.element .parent() .data('ui-resizable', this.element.resizable('instance'))), (this.elementIsWrapper = !0), (t = { marginTop: this.originalElement.css('marginTop'), marginRight: this.originalElement.css('marginRight'), marginBottom: this.originalElement.css('marginBottom'), marginLeft: this.originalElement.css('marginLeft'), }), this.element.css(t), this.originalElement.css('margin', 0), (this.originalResizeStyle = this.originalElement.css('resize')), this.originalElement.css('resize', 'none'), this._proportionallyResizeElements.push( this.originalElement.css({ position: 'static', zoom: 1, display: 'block', }) ), this.originalElement.css(t), this._proportionallyResize()), this._setupHandles(), i.autoHide && e(this.element) .on('mouseenter', function () { i.disabled || (n._removeClass('ui-resizable-autohide'), n._handles.show()) }) .on('mouseleave', function () { i.disabled || n.resizing || (n._addClass('ui-resizable-autohide'), n._handles.hide()) }), this._mouseInit() }, _destroy: function () { this._mouseDestroy() var t, i = function (t) { e(t) .removeData('resizable') .removeData('ui-resizable') .off('.resizable') .find('.ui-resizable-handle') .remove() } return ( this.elementIsWrapper && (i(this.element), (t = this.element), this.originalElement .css({ position: t.css('position'), width: t.outerWidth(), height: t.outerHeight(), top: t.css('top'), left: t.css('left'), }) .insertAfter(t), t.remove()), this.originalElement.css('resize', this.originalResizeStyle), i(this.originalElement), this ) }, _setOption: function (e, t) { switch ((this._super(e, t), e)) { case 'handles': this._removeHandles(), this._setupHandles() } }, _setupHandles: function () { var t, i, n, s, r, a = this.options, o = this if ( ((this.handles = a.handles || (e('.ui-resizable-handle', this.element).length ? { n: '.ui-resizable-n', e: '.ui-resizable-e', s: '.ui-resizable-s', w: '.ui-resizable-w', se: '.ui-resizable-se', sw: '.ui-resizable-sw', ne: '.ui-resizable-ne', nw: '.ui-resizable-nw', } : 'e,s,se')), (this._handles = e()), this.handles.constructor === String) ) for ( 'all' === this.handles && (this.handles = 'n,e,s,w,se,sw,ne,nw'), n = this.handles.split(','), this.handles = {}, i = 0; i < n.length; i++ ) (t = e.trim(n[i])), (s = 'ui-resizable-' + t), (r = e('
    ')), this._addClass(r, 'ui-resizable-handle ' + s), r.css({ zIndex: a.zIndex }), (this.handles[t] = '.ui-resizable-' + t), this.element.append(r) ;(this._renderAxis = function (t) { var i, n, s, r t = t || this.element for (i in this.handles) this.handles[i].constructor === String ? (this.handles[i] = this.element .children(this.handles[i]) .first() .show()) : (this.handles[i].jquery || this.handles[i].nodeType) && ((this.handles[i] = e(this.handles[i])), this._on(this.handles[i], { mousedown: o._mouseDown })), this.elementIsWrapper && this.originalElement[0].nodeName.match( /^(textarea|input|select|button)$/i ) && ((n = e(this.handles[i], this.element)), (r = /sw|ne|nw|se|n|s/.test(i) ? n.outerHeight() : n.outerWidth()), (s = [ 'padding', /ne|nw|n/.test(i) ? 'Top' : /se|sw|s/.test(i) ? 'Bottom' : /^e$/.test(i) ? 'Right' : 'Left', ].join('')), t.css(s, r), this._proportionallyResize()), (this._handles = this._handles.add(this.handles[i])) }), this._renderAxis(this.element), (this._handles = this._handles.add( this.element.find('.ui-resizable-handle') )), this._handles.disableSelection(), this._handles.on('mouseover', function () { o.resizing || (this.className && (r = this.className.match( /ui-resizable-(se|sw|ne|nw|n|e|s|w)/i )), (o.axis = r && r[1] ? r[1] : 'se')) }), a.autoHide && (this._handles.hide(), this._addClass('ui-resizable-autohide')) }, _removeHandles: function () { this._handles.remove() }, _mouseCapture: function (t) { var i, n, s = !1 for (i in this.handles) ((n = e(this.handles[i])[0]) === t.target || e.contains(n, t.target)) && (s = !0) return !this.options.disabled && s }, _mouseStart: function (t) { var i, n, s, r = this.options, a = this.element return ( (this.resizing = !0), this._renderProxy(), (i = this._num(this.helper.css('left'))), (n = this._num(this.helper.css('top'))), r.containment && ((i += e(r.containment).scrollLeft() || 0), (n += e(r.containment).scrollTop() || 0)), (this.offset = this.helper.offset()), (this.position = { left: i, top: n }), (this.size = this._helper ? { width: this.helper.width(), height: this.helper.height() } : { width: a.width(), height: a.height() }), (this.originalSize = this._helper ? { width: a.outerWidth(), height: a.outerHeight() } : { width: a.width(), height: a.height() }), (this.sizeDiff = { width: a.outerWidth() - a.width(), height: a.outerHeight() - a.height(), }), (this.originalPosition = { left: i, top: n }), (this.originalMousePosition = { left: t.pageX, top: t.pageY }), (this.aspectRatio = 'number' == typeof r.aspectRatio ? r.aspectRatio : this.originalSize.width / this.originalSize.height || 1), (s = e('.ui-resizable-' + this.axis).css('cursor')), e('body').css( 'cursor', 'auto' === s ? this.axis + '-resize' : s ), this._addClass('ui-resizable-resizing'), this._propagate('start', t), !0 ) }, _mouseDrag: function (t) { var i, n, s = this.originalMousePosition, r = this.axis, a = t.pageX - s.left || 0, o = t.pageY - s.top || 0, l = this._change[r] return ( this._updatePrevProperties(), !!l && ((i = l.apply(this, [t, a, o])), this._updateVirtualBoundaries(t.shiftKey), (this._aspectRatio || t.shiftKey) && (i = this._updateRatio(i, t)), (i = this._respectSize(i, t)), this._updateCache(i), this._propagate('resize', t), (n = this._applyChanges()), !this._helper && this._proportionallyResizeElements.length && this._proportionallyResize(), e.isEmptyObject(n) || (this._updatePrevProperties(), this._trigger('resize', t, this.ui()), this._applyChanges()), !1) ) }, _mouseStop: function (t) { this.resizing = !1 var i, n, s, r, a, o, l, u = this.options, d = this return ( this._helper && ((i = this._proportionallyResizeElements), (n = i.length && /textarea/i.test(i[0].nodeName)), (s = n && this._hasScroll(i[0], 'left') ? 0 : d.sizeDiff.height), (r = n ? 0 : d.sizeDiff.width), (a = { width: d.helper.width() - r, height: d.helper.height() - s, }), (o = parseFloat(d.element.css('left')) + (d.position.left - d.originalPosition.left) || null), (l = parseFloat(d.element.css('top')) + (d.position.top - d.originalPosition.top) || null), u.animate || this.element.css(e.extend(a, { top: l, left: o })), d.helper.height(d.size.height), d.helper.width(d.size.width), this._helper && !u.animate && this._proportionallyResize()), e('body').css('cursor', 'auto'), this._removeClass('ui-resizable-resizing'), this._propagate('stop', t), this._helper && this.helper.remove(), !1 ) }, _updatePrevProperties: function () { ;(this.prevPosition = { top: this.position.top, left: this.position.left, }), (this.prevSize = { width: this.size.width, height: this.size.height, }) }, _applyChanges: function () { var e = {} return ( this.position.top !== this.prevPosition.top && (e.top = this.position.top + 'px'), this.position.left !== this.prevPosition.left && (e.left = this.position.left + 'px'), this.size.width !== this.prevSize.width && (e.width = this.size.width + 'px'), this.size.height !== this.prevSize.height && (e.height = this.size.height + 'px'), this.helper.css(e), e ) }, _updateVirtualBoundaries: function (e) { var t, i, n, s, r, a = this.options ;(r = { minWidth: this._isNumber(a.minWidth) ? a.minWidth : 0, maxWidth: this._isNumber(a.maxWidth) ? a.maxWidth : 1 / 0, minHeight: this._isNumber(a.minHeight) ? a.minHeight : 0, maxHeight: this._isNumber(a.maxHeight) ? a.maxHeight : 1 / 0, }), (this._aspectRatio || e) && ((t = r.minHeight * this.aspectRatio), (n = r.minWidth / this.aspectRatio), (i = r.maxHeight * this.aspectRatio), (s = r.maxWidth / this.aspectRatio), t > r.minWidth && (r.minWidth = t), n > r.minHeight && (r.minHeight = n), i < r.maxWidth && (r.maxWidth = i), s < r.maxHeight && (r.maxHeight = s)), (this._vBoundaries = r) }, _updateCache: function (e) { ;(this.offset = this.helper.offset()), this._isNumber(e.left) && (this.position.left = e.left), this._isNumber(e.top) && (this.position.top = e.top), this._isNumber(e.height) && (this.size.height = e.height), this._isNumber(e.width) && (this.size.width = e.width) }, _updateRatio: function (e) { var t = this.position, i = this.size, n = this.axis return ( this._isNumber(e.height) ? (e.width = e.height * this.aspectRatio) : this._isNumber(e.width) && (e.height = e.width / this.aspectRatio), 'sw' === n && ((e.left = t.left + (i.width - e.width)), (e.top = null)), 'nw' === n && ((e.top = t.top + (i.height - e.height)), (e.left = t.left + (i.width - e.width))), e ) }, _respectSize: function (e) { var t = this._vBoundaries, i = this.axis, n = this._isNumber(e.width) && t.maxWidth && t.maxWidth < e.width, s = this._isNumber(e.height) && t.maxHeight && t.maxHeight < e.height, r = this._isNumber(e.width) && t.minWidth && t.minWidth > e.width, a = this._isNumber(e.height) && t.minHeight && t.minHeight > e.height, o = this.originalPosition.left + this.originalSize.width, l = this.originalPosition.top + this.originalSize.height, u = /sw|nw|w/.test(i), d = /nw|ne|n/.test(i) return ( r && (e.width = t.minWidth), a && (e.height = t.minHeight), n && (e.width = t.maxWidth), s && (e.height = t.maxHeight), r && u && (e.left = o - t.minWidth), n && u && (e.left = o - t.maxWidth), a && d && (e.top = l - t.minHeight), s && d && (e.top = l - t.maxHeight), e.width || e.height || e.left || !e.top ? e.width || e.height || e.top || !e.left || (e.left = null) : (e.top = null), e ) }, _getPaddingPlusBorderDimensions: function (e) { for ( var t = 0, i = [], n = [ e.css('borderTopWidth'), e.css('borderRightWidth'), e.css('borderBottomWidth'), e.css('borderLeftWidth'), ], s = [ e.css('paddingTop'), e.css('paddingRight'), e.css('paddingBottom'), e.css('paddingLeft'), ]; t < 4; t++ ) (i[t] = parseFloat(n[t]) || 0), (i[t] += parseFloat(s[t]) || 0) return { height: i[0] + i[2], width: i[1] + i[3] } }, _proportionallyResize: function () { if (this._proportionallyResizeElements.length) for ( var e, t = 0, i = this.helper || this.element; t < this._proportionallyResizeElements.length; t++ ) (e = this._proportionallyResizeElements[t]), this.outerDimensions || (this.outerDimensions = this._getPaddingPlusBorderDimensions(e)), e.css({ height: i.height() - this.outerDimensions.height || 0, width: i.width() - this.outerDimensions.width || 0, }) }, _renderProxy: function () { var t = this.element, i = this.options ;(this.elementOffset = t.offset()), this._helper ? ((this.helper = this.helper || e("
    ")), this._addClass(this.helper, this._helper), this.helper.css({ width: this.element.outerWidth(), height: this.element.outerHeight(), position: 'absolute', left: this.elementOffset.left + 'px', top: this.elementOffset.top + 'px', zIndex: ++i.zIndex, }), this.helper.appendTo('body').disableSelection()) : (this.helper = this.element) }, _change: { e: function (e, t) { return { width: this.originalSize.width + t } }, w: function (e, t) { var i = this.originalSize return { left: this.originalPosition.left + t, width: i.width - t, } }, n: function (e, t, i) { var n = this.originalSize return { top: this.originalPosition.top + i, height: n.height - i, } }, s: function (e, t, i) { return { height: this.originalSize.height + i } }, se: function (t, i, n) { return e.extend( this._change.s.apply(this, arguments), this._change.e.apply(this, [t, i, n]) ) }, sw: function (t, i, n) { return e.extend( this._change.s.apply(this, arguments), this._change.w.apply(this, [t, i, n]) ) }, ne: function (t, i, n) { return e.extend( this._change.n.apply(this, arguments), this._change.e.apply(this, [t, i, n]) ) }, nw: function (t, i, n) { return e.extend( this._change.n.apply(this, arguments), this._change.w.apply(this, [t, i, n]) ) }, }, _propagate: function (t, i) { e.ui.plugin.call(this, t, [i, this.ui()]), 'resize' !== t && this._trigger(t, i, this.ui()) }, plugins: {}, ui: function () { return { originalElement: this.originalElement, element: this.element, helper: this.helper, position: this.position, size: this.size, originalSize: this.originalSize, originalPosition: this.originalPosition, } }, }), e.ui.plugin.add('resizable', 'animate', { stop: function (t) { var i = e(this).resizable('instance'), n = i.options, s = i._proportionallyResizeElements, r = s.length && /textarea/i.test(s[0].nodeName), a = r && i._hasScroll(s[0], 'left') ? 0 : i.sizeDiff.height, o = r ? 0 : i.sizeDiff.width, l = { width: i.size.width - o, height: i.size.height - a }, u = parseFloat(i.element.css('left')) + (i.position.left - i.originalPosition.left) || null, d = parseFloat(i.element.css('top')) + (i.position.top - i.originalPosition.top) || null i.element.animate( e.extend(l, d && u ? { top: d, left: u } : {}), { duration: n.animateDuration, easing: n.animateEasing, step: function () { var n = { width: parseFloat(i.element.css('width')), height: parseFloat(i.element.css('height')), top: parseFloat(i.element.css('top')), left: parseFloat(i.element.css('left')), } s && s.length && e(s[0]).css({ width: n.width, height: n.height }), i._updateCache(n), i._propagate('resize', t) }, } ) }, }), e.ui.plugin.add('resizable', 'containment', { start: function () { var t, i, n, s, r, a, o, l = e(this).resizable('instance'), u = l.options, d = l.element, c = u.containment, h = c instanceof e ? c.get(0) : /parent/.test(c) ? d.parent().get(0) : c h && ((l.containerElement = e(h)), /document/.test(c) || c === document ? ((l.containerOffset = { left: 0, top: 0 }), (l.containerPosition = { left: 0, top: 0 }), (l.parentData = { element: e(document), left: 0, top: 0, width: e(document).width(), height: e(document).height() || document.body.parentNode.scrollHeight, })) : ((t = e(h)), (i = []), e(['Top', 'Right', 'Left', 'Bottom']).each(function ( e, n ) { i[e] = l._num(t.css('padding' + n)) }), (l.containerOffset = t.offset()), (l.containerPosition = t.position()), (l.containerSize = { height: t.innerHeight() - i[3], width: t.innerWidth() - i[1], }), (n = l.containerOffset), (s = l.containerSize.height), (r = l.containerSize.width), (a = l._hasScroll(h, 'left') ? h.scrollWidth : r), (o = l._hasScroll(h) ? h.scrollHeight : s), (l.parentData = { element: h, left: n.left, top: n.top, width: a, height: o, }))) }, resize: function (t) { var i, n, s, r, a = e(this).resizable('instance'), o = a.options, l = a.containerOffset, u = a.position, d = a._aspectRatio || t.shiftKey, c = { top: 0, left: 0 }, h = a.containerElement, p = !0 h[0] !== document && /static/.test(h.css('position')) && (c = l), u.left < (a._helper ? l.left : 0) && ((a.size.width = a.size.width + (a._helper ? a.position.left - l.left : a.position.left - c.left)), d && ((a.size.height = a.size.width / a.aspectRatio), (p = !1)), (a.position.left = o.helper ? l.left : 0)), u.top < (a._helper ? l.top : 0) && ((a.size.height = a.size.height + (a._helper ? a.position.top - l.top : a.position.top)), d && ((a.size.width = a.size.height * a.aspectRatio), (p = !1)), (a.position.top = a._helper ? l.top : 0)), (s = a.containerElement.get(0) === a.element.parent().get(0)), (r = /relative|absolute/.test( a.containerElement.css('position') )), s && r ? ((a.offset.left = a.parentData.left + a.position.left), (a.offset.top = a.parentData.top + a.position.top)) : ((a.offset.left = a.element.offset().left), (a.offset.top = a.element.offset().top)), (i = Math.abs( a.sizeDiff.width + (a._helper ? a.offset.left - c.left : a.offset.left - l.left) )), (n = Math.abs( a.sizeDiff.height + (a._helper ? a.offset.top - c.top : a.offset.top - l.top) )), i + a.size.width >= a.parentData.width && ((a.size.width = a.parentData.width - i), d && ((a.size.height = a.size.width / a.aspectRatio), (p = !1))), n + a.size.height >= a.parentData.height && ((a.size.height = a.parentData.height - n), d && ((a.size.width = a.size.height * a.aspectRatio), (p = !1))), p || ((a.position.left = a.prevPosition.left), (a.position.top = a.prevPosition.top), (a.size.width = a.prevSize.width), (a.size.height = a.prevSize.height)) }, stop: function () { var t = e(this).resizable('instance'), i = t.options, n = t.containerOffset, s = t.containerPosition, r = t.containerElement, a = e(t.helper), o = a.offset(), l = a.outerWidth() - t.sizeDiff.width, u = a.outerHeight() - t.sizeDiff.height t._helper && !i.animate && /relative/.test(r.css('position')) && e(this).css({ left: o.left - s.left - n.left, width: l, height: u, }), t._helper && !i.animate && /static/.test(r.css('position')) && e(this).css({ left: o.left - s.left - n.left, width: l, height: u, }) }, }), e.ui.plugin.add('resizable', 'alsoResize', { start: function () { var t = e(this).resizable('instance'), i = t.options e(i.alsoResize).each(function () { var t = e(this) t.data('ui-resizable-alsoresize', { width: parseFloat(t.width()), height: parseFloat(t.height()), left: parseFloat(t.css('left')), top: parseFloat(t.css('top')), }) }) }, resize: function (t, i) { var n = e(this).resizable('instance'), s = n.options, r = n.originalSize, a = n.originalPosition, o = { height: n.size.height - r.height || 0, width: n.size.width - r.width || 0, top: n.position.top - a.top || 0, left: n.position.left - a.left || 0, } e(s.alsoResize).each(function () { var t = e(this), n = e(this).data('ui-resizable-alsoresize'), s = {}, r = t.parents(i.originalElement[0]).length ? ['width', 'height'] : ['width', 'height', 'top', 'left'] e.each(r, function (e, t) { var i = (n[t] || 0) + (o[t] || 0) i && i >= 0 && (s[t] = i || null) }), t.css(s) }) }, stop: function () { e(this).removeData('ui-resizable-alsoresize') }, }), e.ui.plugin.add('resizable', 'ghost', { start: function () { var t = e(this).resizable('instance'), i = t.size ;(t.ghost = t.originalElement.clone()), t.ghost.css({ opacity: 0.25, display: 'block', position: 'relative', height: i.height, width: i.width, margin: 0, left: 0, top: 0, }), t._addClass(t.ghost, 'ui-resizable-ghost'), !1 !== e.uiBackCompat && 'string' == typeof t.options.ghost && t.ghost.addClass(this.options.ghost), t.ghost.appendTo(t.helper) }, resize: function () { var t = e(this).resizable('instance') t.ghost && t.ghost.css({ position: 'relative', height: t.size.height, width: t.size.width, }) }, stop: function () { var t = e(this).resizable('instance') t.ghost && t.helper && t.helper.get(0).removeChild(t.ghost.get(0)) }, }), e.ui.plugin.add('resizable', 'grid', { resize: function () { var t, i = e(this).resizable('instance'), n = i.options, s = i.size, r = i.originalSize, a = i.originalPosition, o = i.axis, l = 'number' == typeof n.grid ? [n.grid, n.grid] : n.grid, u = l[0] || 1, d = l[1] || 1, c = Math.round((s.width - r.width) / u) * u, h = Math.round((s.height - r.height) / d) * d, p = r.width + c, f = r.height + h, m = n.maxWidth && n.maxWidth < p, _ = n.maxHeight && n.maxHeight < f, g = n.minWidth && n.minWidth > p, v = n.minHeight && n.minHeight > f ;(n.grid = l), g && (p += u), v && (f += d), m && (p -= u), _ && (f -= d), /^(se|s|e)$/.test(o) ? ((i.size.width = p), (i.size.height = f)) : /^(ne)$/.test(o) ? ((i.size.width = p), (i.size.height = f), (i.position.top = a.top - h)) : /^(sw)$/.test(o) ? ((i.size.width = p), (i.size.height = f), (i.position.left = a.left - c)) : ((f - d <= 0 || p - u <= 0) && (t = i._getPaddingPlusBorderDimensions(this)), f - d > 0 ? ((i.size.height = f), (i.position.top = a.top - h)) : ((f = d - t.height), (i.size.height = f), (i.position.top = a.top + r.height - f)), p - u > 0 ? ((i.size.width = p), (i.position.left = a.left - c)) : ((p = u - t.width), (i.size.width = p), (i.position.left = a.left + r.width - p))) }, }) e.ui.resizable /*! * jQuery UI Dialog 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ e.widget('ui.dialog', { version: '1.12.1', options: { appendTo: 'body', autoOpen: !0, buttons: [], classes: { 'ui-dialog': 'ui-corner-all', 'ui-dialog-titlebar': 'ui-corner-all', }, closeOnEscape: !0, closeText: 'Close', draggable: !0, hide: null, height: 'auto', maxHeight: null, maxWidth: null, minHeight: 150, minWidth: 150, modal: !1, position: { my: 'center', at: 'center', of: window, collision: 'fit', using: function (t) { var i = e(this).css(t).offset().top i < 0 && e(this).css('top', t.top - i) }, }, resizable: !0, show: null, title: null, width: 300, beforeClose: null, close: null, drag: null, dragStart: null, dragStop: null, focus: null, open: null, resize: null, resizeStart: null, resizeStop: null, }, sizeRelatedOptions: { buttons: !0, height: !0, maxHeight: !0, maxWidth: !0, minHeight: !0, minWidth: !0, width: !0, }, resizableRelatedOptions: { maxHeight: !0, maxWidth: !0, minHeight: !0, minWidth: !0, }, _create: function () { ;(this.originalCss = { display: this.element[0].style.display, width: this.element[0].style.width, minHeight: this.element[0].style.minHeight, maxHeight: this.element[0].style.maxHeight, height: this.element[0].style.height, }), (this.originalPosition = { parent: this.element.parent(), index: this.element.parent().children().index(this.element), }), (this.originalTitle = this.element.attr('title')), null == this.options.title && null != this.originalTitle && (this.options.title = this.originalTitle), this.options.disabled && (this.options.disabled = !1), this._createWrapper(), this.element.show().removeAttr('title').appendTo(this.uiDialog), this._addClass('ui-dialog-content', 'ui-widget-content'), this._createTitlebar(), this._createButtonPane(), this.options.draggable && e.fn.draggable && this._makeDraggable(), this.options.resizable && e.fn.resizable && this._makeResizable(), (this._isOpen = !1), this._trackFocus() }, _init: function () { this.options.autoOpen && this.open() }, _appendTo: function () { var t = this.options.appendTo return t && (t.jquery || t.nodeType) ? e(t) : this.document.find(t || 'body').eq(0) }, _destroy: function () { var e, t = this.originalPosition this._untrackInstance(), this._destroyOverlay(), this.element.removeUniqueId().css(this.originalCss).detach(), this.uiDialog.remove(), this.originalTitle && this.element.attr('title', this.originalTitle), (e = t.parent.children().eq(t.index)), e.length && e[0] !== this.element[0] ? e.before(this.element) : t.parent.append(this.element) }, widget: function () { return this.uiDialog }, disable: e.noop, enable: e.noop, close: function (t) { var i = this this._isOpen && !1 !== this._trigger('beforeClose', t) && ((this._isOpen = !1), (this._focusedElement = null), this._destroyOverlay(), this._untrackInstance(), this.opener.filter(':focusable').trigger('focus').length || e.ui.safeBlur(e.ui.safeActiveElement(this.document[0])), this._hide(this.uiDialog, this.options.hide, function () { i._trigger('close', t) })) }, isOpen: function () { return this._isOpen }, moveToTop: function () { this._moveToTop() }, _moveToTop: function (t, i) { var n = !1, s = this.uiDialog .siblings('.ui-front:visible') .map(function () { return +e(this).css('z-index') }) .get(), r = Math.max.apply(null, s) return ( r >= +this.uiDialog.css('z-index') && (this.uiDialog.css('z-index', r + 1), (n = !0)), n && !i && this._trigger('focus', t), n ) }, open: function () { var t = this if (this._isOpen) return void (this._moveToTop() && this._focusTabbable()) ;(this._isOpen = !0), (this.opener = e(e.ui.safeActiveElement(this.document[0]))), this._size(), this._position(), this._createOverlay(), this._moveToTop(null, !0), this.overlay && this.overlay.css('z-index', this.uiDialog.css('z-index') - 1), this._show(this.uiDialog, this.options.show, function () { t._focusTabbable(), t._trigger('focus') }), this._makeFocusTarget(), this._trigger('open') }, _focusTabbable: function () { var e = this._focusedElement e || (e = this.element.find('[autofocus]')), e.length || (e = this.element.find(':tabbable')), e.length || (e = this.uiDialogButtonPane.find(':tabbable')), e.length || (e = this.uiDialogTitlebarClose.filter(':tabbable')), e.length || (e = this.uiDialog), e.eq(0).trigger('focus') }, _keepFocus: function (t) { function i() { var t = e.ui.safeActiveElement(this.document[0]) this.uiDialog[0] === t || e.contains(this.uiDialog[0], t) || this._focusTabbable() } t.preventDefault(), i.call(this), this._delay(i) }, _createWrapper: function () { ;(this.uiDialog = e('
    ') .hide() .attr({ tabIndex: -1, role: 'dialog' }) .appendTo(this._appendTo())), this._addClass( this.uiDialog, 'ui-dialog', 'ui-widget ui-widget-content ui-front' ), this._on(this.uiDialog, { keydown: function (t) { if ( this.options.closeOnEscape && !t.isDefaultPrevented() && t.keyCode && t.keyCode === e.ui.keyCode.ESCAPE ) return t.preventDefault(), void this.close(t) if ( t.keyCode === e.ui.keyCode.TAB && !t.isDefaultPrevented() ) { var i = this.uiDialog.find(':tabbable'), n = i.filter(':first'), s = i.filter(':last') ;(t.target !== s[0] && t.target !== this.uiDialog[0]) || t.shiftKey ? (t.target !== n[0] && t.target !== this.uiDialog[0]) || !t.shiftKey || (this._delay(function () { s.trigger('focus') }), t.preventDefault()) : (this._delay(function () { n.trigger('focus') }), t.preventDefault()) } }, mousedown: function (e) { this._moveToTop(e) && this._focusTabbable() }, }), this.element.find('[aria-describedby]').length || this.uiDialog.attr({ 'aria-describedby': this.element.uniqueId().attr('id'), }) }, _createTitlebar: function () { var t ;(this.uiDialogTitlebar = e('
    ')), this._addClass( this.uiDialogTitlebar, 'ui-dialog-titlebar', 'ui-widget-header ui-helper-clearfix' ), this._on(this.uiDialogTitlebar, { mousedown: function (t) { e(t.target).closest('.ui-dialog-titlebar-close') || this.uiDialog.trigger('focus') }, }), (this.uiDialogTitlebarClose = e( "" ) .button({ label: e('').text(this.options.closeText).html(), icon: 'ui-icon-closethick', showLabel: !1, }) .appendTo(this.uiDialogTitlebar)), this._addClass( this.uiDialogTitlebarClose, 'ui-dialog-titlebar-close' ), this._on(this.uiDialogTitlebarClose, { click: function (e) { e.preventDefault(), this.close(e) }, }), (t = e('').uniqueId().prependTo(this.uiDialogTitlebar)), this._addClass(t, 'ui-dialog-title'), this._title(t), this.uiDialogTitlebar.prependTo(this.uiDialog), this.uiDialog.attr({ 'aria-labelledby': t.attr('id') }) }, _title: function (e) { this.options.title ? e.text(this.options.title) : e.html(' ') }, _createButtonPane: function () { ;(this.uiDialogButtonPane = e('
    ')), this._addClass( this.uiDialogButtonPane, 'ui-dialog-buttonpane', 'ui-widget-content ui-helper-clearfix' ), (this.uiButtonSet = e('
    ').appendTo( this.uiDialogButtonPane )), this._addClass(this.uiButtonSet, 'ui-dialog-buttonset'), this._createButtons() }, _createButtons: function () { var t = this, i = this.options.buttons if ( (this.uiDialogButtonPane.remove(), this.uiButtonSet.empty(), e.isEmptyObject(i) || (e.isArray(i) && !i.length)) ) return void this._removeClass( this.uiDialog, 'ui-dialog-buttons' ) e.each(i, function (i, n) { var s, r ;(n = e.isFunction(n) ? { click: n, text: i } : n), (n = e.extend({ type: 'button' }, n)), (s = n.click), (r = { icon: n.icon, iconPosition: n.iconPosition, showLabel: n.showLabel, icons: n.icons, text: n.text, }), delete n.click, delete n.icon, delete n.iconPosition, delete n.showLabel, delete n.icons, 'boolean' == typeof n.text && delete n.text, e('', n) .button(r) .appendTo(t.uiButtonSet) .on('click', function () { s.apply(t.element[0], arguments) }) }), this._addClass(this.uiDialog, 'ui-dialog-buttons'), this.uiDialogButtonPane.appendTo(this.uiDialog) }, _makeDraggable: function () { function t(e) { return { position: e.position, offset: e.offset } } var i = this, n = this.options this.uiDialog.draggable({ cancel: '.ui-dialog-content, .ui-dialog-titlebar-close', handle: '.ui-dialog-titlebar', containment: 'document', start: function (n, s) { i._addClass(e(this), 'ui-dialog-dragging'), i._blockFrames(), i._trigger('dragStart', n, t(s)) }, drag: function (e, n) { i._trigger('drag', e, t(n)) }, stop: function (s, r) { var a = r.offset.left - i.document.scrollLeft(), o = r.offset.top - i.document.scrollTop() ;(n.position = { my: 'left top', at: 'left' + (a >= 0 ? '+' : '') + a + ' top' + (o >= 0 ? '+' : '') + o, of: i.window, }), i._removeClass(e(this), 'ui-dialog-dragging'), i._unblockFrames(), i._trigger('dragStop', s, t(r)) }, }) }, _makeResizable: function () { function t(e) { return { originalPosition: e.originalPosition, originalSize: e.originalSize, position: e.position, size: e.size, } } var i = this, n = this.options, s = n.resizable, r = this.uiDialog.css('position'), a = 'string' == typeof s ? s : 'n,e,s,w,se,sw,ne,nw' this.uiDialog .resizable({ cancel: '.ui-dialog-content', containment: 'document', alsoResize: this.element, maxWidth: n.maxWidth, maxHeight: n.maxHeight, minWidth: n.minWidth, minHeight: this._minHeight(), handles: a, start: function (n, s) { i._addClass(e(this), 'ui-dialog-resizing'), i._blockFrames(), i._trigger('resizeStart', n, t(s)) }, resize: function (e, n) { i._trigger('resize', e, t(n)) }, stop: function (s, r) { var a = i.uiDialog.offset(), o = a.left - i.document.scrollLeft(), l = a.top - i.document.scrollTop() ;(n.height = i.uiDialog.height()), (n.width = i.uiDialog.width()), (n.position = { my: 'left top', at: 'left' + (o >= 0 ? '+' : '') + o + ' top' + (l >= 0 ? '+' : '') + l, of: i.window, }), i._removeClass(e(this), 'ui-dialog-resizing'), i._unblockFrames(), i._trigger('resizeStop', s, t(r)) }, }) .css('position', r) }, _trackFocus: function () { this._on(this.widget(), { focusin: function (t) { this._makeFocusTarget(), (this._focusedElement = e(t.target)) }, }) }, _makeFocusTarget: function () { this._untrackInstance(), this._trackingInstances().unshift(this) }, _untrackInstance: function () { var t = this._trackingInstances(), i = e.inArray(this, t) ;-1 !== i && t.splice(i, 1) }, _trackingInstances: function () { var e = this.document.data('ui-dialog-instances') return ( e || ((e = []), this.document.data('ui-dialog-instances', e)), e ) }, _minHeight: function () { var e = this.options return 'auto' === e.height ? e.minHeight : Math.min(e.minHeight, e.height) }, _position: function () { var e = this.uiDialog.is(':visible') e || this.uiDialog.show(), this.uiDialog.position(this.options.position), e || this.uiDialog.hide() }, _setOptions: function (t) { var i = this, n = !1, s = {} e.each(t, function (e, t) { i._setOption(e, t), e in i.sizeRelatedOptions && (n = !0), e in i.resizableRelatedOptions && (s[e] = t) }), n && (this._size(), this._position()), this.uiDialog.is(':data(ui-resizable)') && this.uiDialog.resizable('option', s) }, _setOption: function (t, i) { var n, s, r = this.uiDialog 'disabled' !== t && (this._super(t, i), 'appendTo' === t && this.uiDialog.appendTo(this._appendTo()), 'buttons' === t && this._createButtons(), 'closeText' === t && this.uiDialogTitlebarClose.button({ label: e('') .text('' + this.options.closeText) .html(), }), 'draggable' === t && ((n = r.is(':data(ui-draggable)')), n && !i && r.draggable('destroy'), !n && i && this._makeDraggable()), 'position' === t && this._position(), 'resizable' === t && ((s = r.is(':data(ui-resizable)')), s && !i && r.resizable('destroy'), s && 'string' == typeof i && r.resizable('option', 'handles', i), s || !1 === i || this._makeResizable()), 'title' === t && this._title(this.uiDialogTitlebar.find('.ui-dialog-title'))) }, _size: function () { var e, t, i, n = this.options this.element .show() .css({ width: 'auto', minHeight: 0, maxHeight: 'none', height: 0, }), n.minWidth > n.width && (n.width = n.minWidth), (e = this.uiDialog .css({ height: 'auto', width: n.width }) .outerHeight()), (t = Math.max(0, n.minHeight - e)), (i = 'number' == typeof n.maxHeight ? Math.max(0, n.maxHeight - e) : 'none'), 'auto' === n.height ? this.element.css({ minHeight: t, maxHeight: i, height: 'auto', }) : this.element.height(Math.max(0, n.height - e)), this.uiDialog.is(':data(ui-resizable)') && this.uiDialog.resizable( 'option', 'minHeight', this._minHeight() ) }, _blockFrames: function () { this.iframeBlocks = this.document.find('iframe').map(function () { var t = e(this) return e('
    ') .css({ position: 'absolute', width: t.outerWidth(), height: t.outerHeight(), }) .appendTo(t.parent()) .offset(t.offset())[0] }) }, _unblockFrames: function () { this.iframeBlocks && (this.iframeBlocks.remove(), delete this.iframeBlocks) }, _allowInteraction: function (t) { return ( !!e(t.target).closest('.ui-dialog').length || !!e(t.target).closest('.ui-datepicker').length ) }, _createOverlay: function () { if (this.options.modal) { var t = !0 this._delay(function () { t = !1 }), this.document.data('ui-dialog-overlays') || this._on(this.document, { focusin: function (e) { t || this._allowInteraction(e) || (e.preventDefault(), this._trackingInstances()[0]._focusTabbable()) }, }), (this.overlay = e('
    ').appendTo(this._appendTo())), this._addClass( this.overlay, null, 'ui-widget-overlay ui-front' ), this._on(this.overlay, { mousedown: '_keepFocus' }), this.document.data( 'ui-dialog-overlays', (this.document.data('ui-dialog-overlays') || 0) + 1 ) } }, _destroyOverlay: function () { if (this.options.modal && this.overlay) { var e = this.document.data('ui-dialog-overlays') - 1 e ? this.document.data('ui-dialog-overlays', e) : (this._off(this.document, 'focusin'), this.document.removeData('ui-dialog-overlays')), this.overlay.remove(), (this.overlay = null) } }, }), !1 !== e.uiBackCompat && e.widget('ui.dialog', e.ui.dialog, { options: { dialogClass: '' }, _createWrapper: function () { this._super(), this.uiDialog.addClass(this.options.dialogClass) }, _setOption: function (e, t) { 'dialogClass' === e && this.uiDialog .removeClass(this.options.dialogClass) .addClass(t), this._superApply(arguments) }, }) e.ui.dialog /*! * jQuery UI Droppable 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ e.widget('ui.droppable', { version: '1.12.1', widgetEventPrefix: 'drop', options: { accept: '*', addClasses: !0, greedy: !1, scope: 'default', tolerance: 'intersect', activate: null, deactivate: null, drop: null, out: null, over: null, }, _create: function () { var t, i = this.options, n = i.accept ;(this.isover = !1), (this.isout = !0), (this.accept = e.isFunction(n) ? n : function (e) { return e.is(n) }), (this.proportions = function () { if (!arguments.length) return ( t || (t = { width: this.element[0].offsetWidth, height: this.element[0].offsetHeight, }) ) t = arguments[0] }), this._addToManager(i.scope), i.addClasses && this._addClass('ui-droppable') }, _addToManager: function (t) { ;(e.ui.ddmanager.droppables[t] = e.ui.ddmanager.droppables[t] || []), e.ui.ddmanager.droppables[t].push(this) }, _splice: function (e) { for (var t = 0; t < e.length; t++) e[t] === this && e.splice(t, 1) }, _destroy: function () { var t = e.ui.ddmanager.droppables[this.options.scope] this._splice(t) }, _setOption: function (t, i) { if ('accept' === t) this.accept = e.isFunction(i) ? i : function (e) { return e.is(i) } else if ('scope' === t) { var n = e.ui.ddmanager.droppables[this.options.scope] this._splice(n), this._addToManager(i) } this._super(t, i) }, _activate: function (t) { var i = e.ui.ddmanager.current this._addActiveClass(), i && this._trigger('activate', t, this.ui(i)) }, _deactivate: function (t) { var i = e.ui.ddmanager.current this._removeActiveClass(), i && this._trigger('deactivate', t, this.ui(i)) }, _over: function (t) { var i = e.ui.ddmanager.current i && (i.currentItem || i.element)[0] !== this.element[0] && this.accept.call(this.element[0], i.currentItem || i.element) && (this._addHoverClass(), this._trigger('over', t, this.ui(i))) }, _out: function (t) { var i = e.ui.ddmanager.current i && (i.currentItem || i.element)[0] !== this.element[0] && this.accept.call(this.element[0], i.currentItem || i.element) && (this._removeHoverClass(), this._trigger('out', t, this.ui(i))) }, _drop: function (t, i) { var n = i || e.ui.ddmanager.current, s = !1 return ( !(!n || (n.currentItem || n.element)[0] === this.element[0]) && (this.element .find(':data(ui-droppable)') .not('.ui-draggable-dragging') .each(function () { var i = e(this).droppable('instance') if ( i.options.greedy && !i.options.disabled && i.options.scope === n.options.scope && i.accept.call(i.element[0], n.currentItem || n.element) && m( n, e.extend(i, { offset: i.element.offset() }), i.options.tolerance, t ) ) return (s = !0), !1 }), !s && !!this.accept.call( this.element[0], n.currentItem || n.element ) && (this._removeActiveClass(), this._removeHoverClass(), this._trigger('drop', t, this.ui(n)), this.element)) ) }, ui: function (e) { return { draggable: e.currentItem || e.element, helper: e.helper, position: e.position, offset: e.positionAbs, } }, _addHoverClass: function () { this._addClass('ui-droppable-hover') }, _removeHoverClass: function () { this._removeClass('ui-droppable-hover') }, _addActiveClass: function () { this._addClass('ui-droppable-active') }, _removeActiveClass: function () { this._removeClass('ui-droppable-active') }, }) var m = (e.ui.intersect = (function () { function e(e, t, i) { return e >= t && e < t + i } return function (t, i, n, s) { if (!i.offset) return !1 var r = (t.positionAbs || t.position.absolute).left + t.margins.left, a = (t.positionAbs || t.position.absolute).top + t.margins.top, o = r + t.helperProportions.width, l = a + t.helperProportions.height, u = i.offset.left, d = i.offset.top, c = u + i.proportions().width, h = d + i.proportions().height switch (n) { case 'fit': return u <= r && o <= c && d <= a && l <= h case 'intersect': return ( u < r + t.helperProportions.width / 2 && o - t.helperProportions.width / 2 < c && d < a + t.helperProportions.height / 2 && l - t.helperProportions.height / 2 < h ) case 'pointer': return ( e(s.pageY, d, i.proportions().height) && e(s.pageX, u, i.proportions().width) ) case 'touch': return ( ((a >= d && a <= h) || (l >= d && l <= h) || (a < d && l > h)) && ((r >= u && r <= c) || (o >= u && o <= c) || (r < u && o > c)) ) default: return !1 } } })()) ;(e.ui.ddmanager = { current: null, droppables: { default: [] }, prepareOffsets: function (t, i) { var n, s, r = e.ui.ddmanager.droppables[t.options.scope] || [], a = i ? i.type : null, o = (t.currentItem || t.element) .find(':data(ui-droppable)') .addBack() e: for (n = 0; n < r.length; n++) if ( !( r[n].options.disabled || (t && !r[n].accept.call( r[n].element[0], t.currentItem || t.element )) ) ) { for (s = 0; s < o.length; s++) if (o[s] === r[n].element[0]) { r[n].proportions().height = 0 continue e } ;(r[n].visible = 'none' !== r[n].element.css('display')), r[n].visible && ('mousedown' === a && r[n]._activate.call(r[n], i), (r[n].offset = r[n].element.offset()), r[n].proportions({ width: r[n].element[0].offsetWidth, height: r[n].element[0].offsetHeight, })) } }, drop: function (t, i) { var n = !1 return ( e.each( (e.ui.ddmanager.droppables[t.options.scope] || []).slice(), function () { this.options && (!this.options.disabled && this.visible && m(t, this, this.options.tolerance, i) && (n = this._drop.call(this, i) || n), !this.options.disabled && this.visible && this.accept.call( this.element[0], t.currentItem || t.element ) && ((this.isout = !0), (this.isover = !1), this._deactivate.call(this, i))) } ), n ) }, dragStart: function (t, i) { t.element .parentsUntil('body') .on('scroll.droppable', function () { t.options.refreshPositions || e.ui.ddmanager.prepareOffsets(t, i) }) }, drag: function (t, i) { t.options.refreshPositions && e.ui.ddmanager.prepareOffsets(t, i), e.each( e.ui.ddmanager.droppables[t.options.scope] || [], function () { if ( !this.options.disabled && !this.greedyChild && this.visible ) { var n, s, r, a = m(t, this, this.options.tolerance, i), o = !a && this.isover ? 'isout' : a && !this.isover ? 'isover' : null o && (this.options.greedy && ((s = this.options.scope), (r = this.element .parents(':data(ui-droppable)') .filter(function () { return ( e(this).droppable('instance').options.scope === s ) })), r.length && ((n = e(r[0]).droppable('instance')), (n.greedyChild = 'isover' === o))), n && 'isover' === o && ((n.isover = !1), (n.isout = !0), n._out.call(n, i)), (this[o] = !0), (this['isout' === o ? 'isover' : 'isout'] = !1), this['isover' === o ? '_over' : '_out'].call(this, i), n && 'isout' === o && ((n.isout = !1), (n.isover = !0), n._over.call(n, i))) } } ) }, dragStop: function (t, i) { t.element.parentsUntil('body').off('scroll.droppable'), t.options.refreshPositions || e.ui.ddmanager.prepareOffsets(t, i) }, }), !1 !== e.uiBackCompat && e.widget('ui.droppable', e.ui.droppable, { options: { hoverClass: !1, activeClass: !1 }, _addActiveClass: function () { this._super(), this.options.activeClass && this.element.addClass(this.options.activeClass) }, _removeActiveClass: function () { this._super(), this.options.activeClass && this.element.removeClass(this.options.activeClass) }, _addHoverClass: function () { this._super(), this.options.hoverClass && this.element.addClass(this.options.hoverClass) }, _removeHoverClass: function () { this._super(), this.options.hoverClass && this.element.removeClass(this.options.hoverClass) }, }) e.ui.droppable, e.widget('ui.progressbar', { version: '1.12.1', options: { classes: { 'ui-progressbar': 'ui-corner-all', 'ui-progressbar-value': 'ui-corner-left', 'ui-progressbar-complete': 'ui-corner-right', }, max: 100, value: 0, change: null, complete: null, }, min: 0, _create: function () { ;(this.oldValue = this.options.value = this._constrainedValue()), this.element.attr({ role: 'progressbar', 'aria-valuemin': this.min, }), this._addClass( 'ui-progressbar', 'ui-widget ui-widget-content' ), (this.valueDiv = e('
    ').appendTo(this.element)), this._addClass( this.valueDiv, 'ui-progressbar-value', 'ui-widget-header' ), this._refreshValue() }, _destroy: function () { this.element.removeAttr( 'role aria-valuemin aria-valuemax aria-valuenow' ), this.valueDiv.remove() }, value: function (e) { if (void 0 === e) return this.options.value ;(this.options.value = this._constrainedValue(e)), this._refreshValue() }, _constrainedValue: function (e) { return ( void 0 === e && (e = this.options.value), (this.indeterminate = !1 === e), 'number' != typeof e && (e = 0), !this.indeterminate && Math.min(this.options.max, Math.max(this.min, e)) ) }, _setOptions: function (e) { var t = e.value delete e.value, this._super(e), (this.options.value = this._constrainedValue(t)), this._refreshValue() }, _setOption: function (e, t) { 'max' === e && (t = Math.max(this.min, t)), this._super(e, t) }, _setOptionDisabled: function (e) { this._super(e), this.element.attr('aria-disabled', e), this._toggleClass(null, 'ui-state-disabled', !!e) }, _percentage: function () { return this.indeterminate ? 100 : (100 * (this.options.value - this.min)) / (this.options.max - this.min) }, _refreshValue: function () { var t = this.options.value, i = this._percentage() this.valueDiv .toggle(this.indeterminate || t > this.min) .width(i.toFixed(0) + '%'), this._toggleClass( this.valueDiv, 'ui-progressbar-complete', null, t === this.options.max )._toggleClass( 'ui-progressbar-indeterminate', null, this.indeterminate ), this.indeterminate ? (this.element.removeAttr('aria-valuenow'), this.overlayDiv || ((this.overlayDiv = e('
    ').appendTo(this.valueDiv)), this._addClass( this.overlayDiv, 'ui-progressbar-overlay' ))) : (this.element.attr({ 'aria-valuemax': this.options.max, 'aria-valuenow': t, }), this.overlayDiv && (this.overlayDiv.remove(), (this.overlayDiv = null))), this.oldValue !== t && ((this.oldValue = t), this._trigger('change')), t === this.options.max && this._trigger('complete') }, }), e.widget('ui.selectable', e.ui.mouse, { version: '1.12.1', options: { appendTo: 'body', autoRefresh: !0, distance: 0, filter: '*', tolerance: 'touch', selected: null, selecting: null, start: null, stop: null, unselected: null, unselecting: null, }, _create: function () { var t = this this._addClass('ui-selectable'), (this.dragged = !1), (this.refresh = function () { ;(t.elementPos = e(t.element[0]).offset()), (t.selectees = e(t.options.filter, t.element[0])), t._addClass(t.selectees, 'ui-selectee'), t.selectees.each(function () { var i = e(this), n = i.offset(), s = { left: n.left - t.elementPos.left, top: n.top - t.elementPos.top, } e.data(this, 'selectable-item', { element: this, $element: i, left: s.left, top: s.top, right: s.left + i.outerWidth(), bottom: s.top + i.outerHeight(), startselected: !1, selected: i.hasClass('ui-selected'), selecting: i.hasClass('ui-selecting'), unselecting: i.hasClass('ui-unselecting'), }) }) }), this.refresh(), this._mouseInit(), (this.helper = e('
    ')), this._addClass(this.helper, 'ui-selectable-helper') }, _destroy: function () { this.selectees.removeData('selectable-item'), this._mouseDestroy() }, _mouseStart: function (t) { var i = this, n = this.options ;(this.opos = [t.pageX, t.pageY]), (this.elementPos = e(this.element[0]).offset()), this.options.disabled || ((this.selectees = e(n.filter, this.element[0])), this._trigger('start', t), e(n.appendTo).append(this.helper), this.helper.css({ left: t.pageX, top: t.pageY, width: 0, height: 0, }), n.autoRefresh && this.refresh(), this.selectees.filter('.ui-selected').each(function () { var n = e.data(this, 'selectable-item') ;(n.startselected = !0), t.metaKey || t.ctrlKey || (i._removeClass(n.$element, 'ui-selected'), (n.selected = !1), i._addClass(n.$element, 'ui-unselecting'), (n.unselecting = !0), i._trigger('unselecting', t, { unselecting: n.element, })) }), e(t.target) .parents() .addBack() .each(function () { var n, s = e.data(this, 'selectable-item') if (s) return ( (n = (!t.metaKey && !t.ctrlKey) || !s.$element.hasClass('ui-selected')), i ._removeClass( s.$element, n ? 'ui-unselecting' : 'ui-selected' ) ._addClass( s.$element, n ? 'ui-selecting' : 'ui-unselecting' ), (s.unselecting = !n), (s.selecting = n), (s.selected = n), n ? i._trigger('selecting', t, { selecting: s.element, }) : i._trigger('unselecting', t, { unselecting: s.element, }), !1 ) })) }, _mouseDrag: function (t) { if (((this.dragged = !0), !this.options.disabled)) { var i, n = this, s = this.options, r = this.opos[0], a = this.opos[1], o = t.pageX, l = t.pageY return ( r > o && ((i = o), (o = r), (r = i)), a > l && ((i = l), (l = a), (a = i)), this.helper.css({ left: r, top: a, width: o - r, height: l - a, }), this.selectees.each(function () { var i = e.data(this, 'selectable-item'), u = !1, d = {} i && i.element !== n.element[0] && ((d.left = i.left + n.elementPos.left), (d.right = i.right + n.elementPos.left), (d.top = i.top + n.elementPos.top), (d.bottom = i.bottom + n.elementPos.top), 'touch' === s.tolerance ? (u = !( d.left > o || d.right < r || d.top > l || d.bottom < a )) : 'fit' === s.tolerance && (u = d.left > r && d.right < o && d.top > a && d.bottom < l), u ? (i.selected && (n._removeClass(i.$element, 'ui-selected'), (i.selected = !1)), i.unselecting && (n._removeClass(i.$element, 'ui-unselecting'), (i.unselecting = !1)), i.selecting || (n._addClass(i.$element, 'ui-selecting'), (i.selecting = !0), n._trigger('selecting', t, { selecting: i.element, }))) : (i.selecting && ((t.metaKey || t.ctrlKey) && i.startselected ? (n._removeClass(i.$element, 'ui-selecting'), (i.selecting = !1), n._addClass(i.$element, 'ui-selected'), (i.selected = !0)) : (n._removeClass(i.$element, 'ui-selecting'), (i.selecting = !1), i.startselected && (n._addClass(i.$element, 'ui-unselecting'), (i.unselecting = !0)), n._trigger('unselecting', t, { unselecting: i.element, }))), i.selected && (t.metaKey || t.ctrlKey || i.startselected || (n._removeClass(i.$element, 'ui-selected'), (i.selected = !1), n._addClass(i.$element, 'ui-unselecting'), (i.unselecting = !0), n._trigger('unselecting', t, { unselecting: i.element, }))))) }), !1 ) } }, _mouseStop: function (t) { var i = this return ( (this.dragged = !1), e('.ui-unselecting', this.element[0]).each(function () { var n = e.data(this, 'selectable-item') i._removeClass(n.$element, 'ui-unselecting'), (n.unselecting = !1), (n.startselected = !1), i._trigger('unselected', t, { unselected: n.element }) }), e('.ui-selecting', this.element[0]).each(function () { var n = e.data(this, 'selectable-item') i ._removeClass(n.$element, 'ui-selecting') ._addClass(n.$element, 'ui-selected'), (n.selecting = !1), (n.selected = !0), (n.startselected = !0), i._trigger('selected', t, { selected: n.element }) }), this._trigger('stop', t), this.helper.remove(), !1 ) }, }), e.widget('ui.selectmenu', [ e.ui.formResetMixin, { version: '1.12.1', defaultElement: '
     
    ', '
    '], col: [2, '', '
    '], tr: [2, '', '
    '], td: [3, '', '
    '], _default: [0, '', ''], } ;(it.optgroup = it.option), (it.tbody = it.tfoot = it.colgroup = it.caption = it.thead), (it.th = it.td) var nt = /<|&#?\w+;/ !(function () { var e = de.createDocumentFragment(), t = e.appendChild(de.createElement('div')), i = de.createElement('input') i.setAttribute('type', 'radio'), i.setAttribute('checked', 'checked'), i.setAttribute('name', 't'), t.appendChild(i), (we.checkClone = t.cloneNode(!0).cloneNode(!0).lastChild.checked), (t.innerHTML = ''), (we.noCloneChecked = !!t.cloneNode(!0).lastChild.defaultValue) })() var st = de.documentElement, rt = /^key/, at = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, ot = /^([^.]*)(?:\.(.+)|)/ ;(De.event = { global: {}, add: function (e, t, i, n, s) { var r, a, o, l, u, d, c, h, p, f, m, _ = $e.get(e) if (_) for ( i.handler && ((r = i), (i = r.handler), (s = r.selector)), s && De.find.matchesSelector(st, s), i.guid || (i.guid = De.guid++), (l = _.events) || (l = _.events = {}), (a = _.handle) || (a = _.handle = function (t) { return void 0 !== De && De.event.triggered !== t.type ? De.event.dispatch.apply(e, arguments) : void 0 }), t = (t || '').match(Ie) || [''], u = t.length; u--; ) (o = ot.exec(t[u]) || []), (p = m = o[1]), (f = (o[2] || '').split('.').sort()), p && ((c = De.event.special[p] || {}), (p = (s ? c.delegateType : c.bindType) || p), (c = De.event.special[p] || {}), (d = De.extend( { type: p, origType: m, data: n, handler: i, guid: i.guid, selector: s, needsContext: s && De.expr.match.needsContext.test(s), namespace: f.join('.'), }, r )), (h = l[p]) || ((h = l[p] = []), (h.delegateCount = 0), (c.setup && !1 !== c.setup.call(e, n, f, a)) || (e.addEventListener && e.addEventListener(p, a))), c.add && (c.add.call(e, d), d.handler.guid || (d.handler.guid = i.guid)), s ? h.splice(h.delegateCount++, 0, d) : h.push(d), (De.event.global[p] = !0)) }, remove: function (e, t, i, n, s) { var r, a, o, l, u, d, c, h, p, f, m, _ = $e.hasData(e) && $e.get(e) if (_ && (l = _.events)) { for (t = (t || '').match(Ie) || [''], u = t.length; u--; ) if ( ((o = ot.exec(t[u]) || []), (p = m = o[1]), (f = (o[2] || '').split('.').sort()), p) ) { for ( c = De.event.special[p] || {}, p = (n ? c.delegateType : c.bindType) || p, h = l[p] || [], o = o[2] && new RegExp( '(^|\\.)' + f.join('\\.(?:.*\\.|)') + '(\\.|$)' ), a = r = h.length; r--; ) (d = h[r]), (!s && m !== d.origType) || (i && i.guid !== d.guid) || (o && !o.test(d.namespace)) || (n && n !== d.selector && ('**' !== n || !d.selector)) || (h.splice(r, 1), d.selector && h.delegateCount--, c.remove && c.remove.call(e, d)) a && !h.length && ((c.teardown && !1 !== c.teardown.call(e, f, _.handle)) || De.removeEvent(e, p, _.handle), delete l[p]) } else for (p in l) De.event.remove(e, p + t[u], i, n, !0) De.isEmptyObject(l) && $e.remove(e, 'handle events') } }, dispatch: function (e) { var t, i, n, s, r, a, o = De.event.fix(e), l = new Array(arguments.length), u = ($e.get(this, 'events') || {})[o.type] || [], d = De.event.special[o.type] || {} for (l[0] = o, t = 1; t < arguments.length; t++) l[t] = arguments[t] if ( ((o.delegateTarget = this), !d.preDispatch || !1 !== d.preDispatch.call(this, o)) ) { for ( a = De.event.handlers.call(this, o, u), t = 0; (s = a[t++]) && !o.isPropagationStopped(); ) for ( o.currentTarget = s.elem, i = 0; (r = s.handlers[i++]) && !o.isImmediatePropagationStopped(); ) (o.rnamespace && !o.rnamespace.test(r.namespace)) || ((o.handleObj = r), (o.data = r.data), void 0 !== (n = ( (De.event.special[r.origType] || {}).handle || r.handler ).apply(s.elem, l)) && !1 === (o.result = n) && (o.preventDefault(), o.stopPropagation())) return d.postDispatch && d.postDispatch.call(this, o), o.result } }, handlers: function (e, t) { var i, n, s, r, a, o = [], l = t.delegateCount, u = e.target if (l && u.nodeType && !('click' === e.type && e.button >= 1)) for (; u !== this; u = u.parentNode || this) if ( 1 === u.nodeType && ('click' !== e.type || !0 !== u.disabled) ) { for (r = [], a = {}, i = 0; i < l; i++) (n = t[i]), (s = n.selector + ' '), void 0 === a[s] && (a[s] = n.needsContext ? De(s, this).index(u) > -1 : De.find(s, this, null, [u]).length), a[s] && r.push(n) r.length && o.push({ elem: u, handlers: r }) } return ( (u = this), l < t.length && o.push({ elem: u, handlers: t.slice(l) }), o ) }, addProp: function (e, t) { Object.defineProperty(De.Event.prototype, e, { enumerable: !0, configurable: !0, get: Me(t) ? function () { if (this.originalEvent) return t(this.originalEvent) } : function () { if (this.originalEvent) return this.originalEvent[e] }, set: function (t) { Object.defineProperty(this, e, { enumerable: !0, configurable: !0, writable: !0, value: t, }) }, }) }, fix: function (e) { return e[De.expando] ? e : new De.Event(e) }, special: { load: { noBubble: !0 }, focus: { trigger: function () { if (this !== S() && this.focus) return this.focus(), !1 }, delegateType: 'focusin', }, blur: { trigger: function () { if (this === S() && this.blur) return this.blur(), !1 }, delegateType: 'focusout', }, click: { trigger: function () { if ( 'checkbox' === this.type && this.click && u(this, 'input') ) return this.click(), !1 }, _default: function (e) { return u(e.target, 'a') }, }, beforeunload: { postDispatch: function (e) { void 0 !== e.result && e.originalEvent && (e.originalEvent.returnValue = e.result) }, }, }, }), (De.removeEvent = function (e, t, i) { e.removeEventListener && e.removeEventListener(t, i) }), (De.Event = function (e, t) { if (!(this instanceof De.Event)) return new De.Event(e, t) e && e.type ? ((this.originalEvent = e), (this.type = e.type), (this.isDefaultPrevented = e.defaultPrevented || (void 0 === e.defaultPrevented && !1 === e.returnValue) ? x : C), (this.target = e.target && 3 === e.target.nodeType ? e.target.parentNode : e.target), (this.currentTarget = e.currentTarget), (this.relatedTarget = e.relatedTarget)) : (this.type = e), t && De.extend(this, t), (this.timeStamp = (e && e.timeStamp) || Date.now()), (this[De.expando] = !0) }), (De.Event.prototype = { constructor: De.Event, isDefaultPrevented: C, isPropagationStopped: C, isImmediatePropagationStopped: C, isSimulated: !1, preventDefault: function () { var e = this.originalEvent ;(this.isDefaultPrevented = x), e && !this.isSimulated && e.preventDefault() }, stopPropagation: function () { var e = this.originalEvent ;(this.isPropagationStopped = x), e && !this.isSimulated && e.stopPropagation() }, stopImmediatePropagation: function () { var e = this.originalEvent ;(this.isImmediatePropagationStopped = x), e && !this.isSimulated && e.stopImmediatePropagation(), this.stopPropagation() }, }), De.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, charCode: !0, key: !0, keyCode: !0, button: !0, buttons: !0, clientX: !0, clientY: !0, offsetX: !0, offsetY: !0, pointerId: !0, pointerType: !0, screenX: !0, screenY: !0, targetTouches: !0, toElement: !0, touches: !0, which: function (e) { var t = e.button return null == e.which && rt.test(e.type) ? null != e.charCode ? e.charCode : e.keyCode : !e.which && void 0 !== t && at.test(e.type) ? 1 & t ? 1 : 2 & t ? 3 : 4 & t ? 2 : 0 : e.which }, }, De.event.addProp ), De.each( { mouseenter: 'mouseover', mouseleave: 'mouseout', pointerenter: 'pointerover', pointerleave: 'pointerout', }, function (e, t) { De.event.special[e] = { delegateType: t, bindType: t, handle: function (e) { var i, n = this, s = e.relatedTarget, r = e.handleObj return ( (s && (s === n || De.contains(n, s))) || ((e.type = r.origType), (i = r.handler.apply(this, arguments)), (e.type = t)), i ) }, } } ), De.fn.extend({ on: function (e, t, i, n) { return E(this, e, t, i, n) }, one: function (e, t, i, n) { return E(this, e, t, i, n, 1) }, off: function (e, t, i) { var n, s if (e && e.preventDefault && e.handleObj) return ( (n = e.handleObj), De(e.delegateTarget).off( n.namespace ? n.origType + '.' + n.namespace : n.origType, n.selector, n.handler ), this ) if ('object' == typeof e) { for (s in e) this.off(s, t, e[s]) return this } return ( (!1 !== t && 'function' != typeof t) || ((i = t), (t = void 0)), !1 === i && (i = C), this.each(function () { De.event.remove(this, e, i, t) }) ) }, }) var lt = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, ut = /\s*$/g De.extend({ htmlPrefilter: function (e) { return e.replace(lt, '<$1>') }, clone: function (e, t, i) { var n, s, r, a, o = e.cloneNode(!0), l = De.contains(e.ownerDocument, e) if ( !( we.noCloneChecked || (1 !== e.nodeType && 11 !== e.nodeType) || De.isXMLDoc(e) ) ) for (a = D(o), r = D(e), n = 0, s = r.length; n < s; n++) I(r[n], a[n]) if (t) if (i) for ( r = r || D(e), a = a || D(o), n = 0, s = r.length; n < s; n++ ) P(r[n], a[n]) else P(e, o) return ( (a = D(o, 'script')), a.length > 0 && T(a, !l && D(e, 'script')), o ) }, cleanData: function (e) { for ( var t, i, n, s = De.event.special, r = 0; void 0 !== (i = e[r]); r++ ) if (Re(i)) { if ((t = i[$e.expando])) { if (t.events) for (n in t.events) s[n] ? De.event.remove(i, n) : De.removeEvent(i, n, t.handle) i[$e.expando] = void 0 } i[Be.expando] && (i[Be.expando] = void 0) } }, }), De.fn.extend({ detach: function (e) { return W(this, e, !0) }, remove: function (e) { return W(this, e) }, text: function (e) { return Ne( this, function (e) { return void 0 === e ? De.text(this) : this.empty().each(function () { ;(1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType) || (this.textContent = e) }) }, null, e, arguments.length ) }, append: function () { return j(this, arguments, function (e) { ;(1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType) || H(this, e).appendChild(e) }) }, prepend: function () { return j(this, arguments, function (e) { if ( 1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType ) { var t = H(this, e) t.insertBefore(e, t.firstChild) } }) }, before: function () { return j(this, arguments, function (e) { this.parentNode && this.parentNode.insertBefore(e, this) }) }, after: function () { return j(this, arguments, function (e) { this.parentNode && this.parentNode.insertBefore(e, this.nextSibling) }) }, empty: function () { for (var e, t = 0; null != (e = this[t]); t++) 1 === e.nodeType && (De.cleanData(D(e, !1)), (e.textContent = '')) return this }, clone: function (e, t) { return ( (e = null != e && e), (t = null == t ? e : t), this.map(function () { return De.clone(this, e, t) }) ) }, html: function (e) { return Ne( this, function (e) { var t = this[0] || {}, i = 0, n = this.length if (void 0 === e && 1 === t.nodeType) return t.innerHTML if ( 'string' == typeof e && !ut.test(e) && !it[(et.exec(e) || ['', ''])[1].toLowerCase()] ) { e = De.htmlPrefilter(e) try { for (; i < n; i++) (t = this[i] || {}), 1 === t.nodeType && (De.cleanData(D(t, !1)), (t.innerHTML = e)) t = 0 } catch (e) {} } t && this.empty().append(e) }, null, e, arguments.length ) }, replaceWith: function () { var e = [] return j( this, arguments, function (t) { var i = this.parentNode De.inArray(this, e) < 0 && (De.cleanData(D(this)), i && i.replaceChild(t, this)) }, e ) }, }), De.each( { appendTo: 'append', prependTo: 'prepend', insertBefore: 'before', insertAfter: 'after', replaceAll: 'replaceWith', }, function (e, t) { De.fn[e] = function (e) { for ( var i, n = [], s = De(e), r = s.length - 1, a = 0; a <= r; a++ ) (i = a === r ? this : this.clone(!0)), De(s[a])[t](i), fe.apply(n, i.get()) return this.pushStack(n) } } ) var ht = new RegExp('^(' + Ke + ')(?!px)[a-z%]+$', 'i'), pt = function (e) { var t = e.ownerDocument.defaultView return (t && t.opener) || (t = i), t.getComputedStyle(e) }, ft = new RegExp(Ge.join('|'), 'i') !(function () { function e() { if (u) { ;(l.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%'), st.appendChild(l).appendChild(u) var e = i.getComputedStyle(u) ;(n = '1%' !== e.top), (o = 12 === t(e.marginLeft)), (u.style.right = '60%'), (a = 36 === t(e.right)), (s = 36 === t(e.width)), (u.style.position = 'absolute'), (r = 36 === u.offsetWidth || 'absolute'), st.removeChild(l), (u = null) } } function t(e) { return Math.round(parseFloat(e)) } var n, s, r, a, o, l = de.createElement('div'), u = de.createElement('div') u.style && ((u.style.backgroundClip = 'content-box'), (u.cloneNode(!0).style.backgroundClip = ''), (we.clearCloneStyle = 'content-box' === u.style.backgroundClip), De.extend(we, { boxSizingReliable: function () { return e(), s }, pixelBoxStyles: function () { return e(), a }, pixelPosition: function () { return e(), n }, reliableMarginLeft: function () { return e(), o }, scrollboxSize: function () { return e(), r }, })) })() var mt = /^(none|table(?!-c[ea]).+)/, _t = /^--/, gt = { position: 'absolute', visibility: 'hidden', display: 'block', }, vt = { letterSpacing: '0', fontWeight: '400' }, yt = ['Webkit', 'Moz', 'ms'], bt = de.createElement('div').style De.extend({ cssHooks: { opacity: { get: function (e, t) { if (t) { var i = N(e, 'opacity') return '' === i ? '1' : i } }, }, }, cssNumber: { animationIterationCount: !0, columnCount: !0, fillOpacity: !0, flexGrow: !0, flexShrink: !0, fontWeight: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, widows: !0, zIndex: !0, zoom: !0, }, cssProps: {}, style: function (e, t, i, n) { if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) { var s, r, a, o = v(t), l = _t.test(t), u = e.style if ( (l || (t = R(o)), (a = De.cssHooks[t] || De.cssHooks[o]), void 0 === i) ) return a && 'get' in a && void 0 !== (s = a.get(e, !1, n)) ? s : u[t] ;(r = typeof i), 'string' === r && (s = Ve.exec(i)) && s[1] && ((i = M(e, t, s)), (r = 'number')), null != i && i === i && ('number' === r && (i += (s && s[3]) || (De.cssNumber[o] ? '' : 'px')), we.clearCloneStyle || '' !== i || 0 !== t.indexOf('background') || (u[t] = 'inherit'), (a && 'set' in a && void 0 === (i = a.set(e, i, n))) || (l ? u.setProperty(t, i) : (u[t] = i))) } }, css: function (e, t, i, n) { var s, r, a, o = v(t) return ( _t.test(t) || (t = R(o)), (a = De.cssHooks[t] || De.cssHooks[o]), a && 'get' in a && (s = a.get(e, !0, i)), void 0 === s && (s = N(e, t, n)), 'normal' === s && t in vt && (s = vt[t]), '' === i || i ? ((r = parseFloat(s)), !0 === i || isFinite(r) ? r || 0 : s) : s ) }, }), De.each(['height', 'width'], function (e, t) { De.cssHooks[t] = { get: function (e, i, n) { if (i) return !mt.test(De.css(e, 'display')) || (e.getClientRects().length && e.getBoundingClientRect().width) ? U(e, t, n) : Xe(e, gt, function () { return U(e, t, n) }) }, set: function (e, i, n) { var s, r = pt(e), a = 'border-box' === De.css(e, 'boxSizing', !1, r), o = n && B(e, t, n, a, r) return ( a && we.scrollboxSize() === r.position && (o -= Math.ceil( e['offset' + t[0].toUpperCase() + t.slice(1)] - parseFloat(r[t]) - B(e, t, 'border', !1, r) - 0.5 )), o && (s = Ve.exec(i)) && 'px' !== (s[3] || 'px') && ((e.style[t] = i), (i = De.css(e, t))), $(e, i, o) ) }, } }), (De.cssHooks.marginLeft = F(we.reliableMarginLeft, function (e, t) { if (t) return ( (parseFloat(N(e, 'marginLeft')) || e.getBoundingClientRect().left - Xe(e, { marginLeft: 0 }, function () { return e.getBoundingClientRect().left })) + 'px' ) })), De.each( { margin: '', padding: '', border: 'Width' }, function (e, t) { ;(De.cssHooks[e + t] = { expand: function (i) { for ( var n = 0, s = {}, r = 'string' == typeof i ? i.split(' ') : [i]; n < 4; n++ ) s[e + Ge[n] + t] = r[n] || r[n - 2] || r[0] return s }, }), 'margin' !== e && (De.cssHooks[e + t].set = $) } ), De.fn.extend({ css: function (e, t) { return Ne( this, function (e, t, i) { var n, s, r = {}, a = 0 if (Array.isArray(t)) { for (n = pt(e), s = t.length; a < s; a++) r[t[a]] = De.css(e, t[a], !1, n) return r } return void 0 !== i ? De.style(e, t, i) : De.css(e, t) }, e, t, arguments.length > 1 ) }, }), (De.Tween = q), (q.prototype = { constructor: q, init: function (e, t, i, n, s, r) { ;(this.elem = e), (this.prop = i), (this.easing = s || De.easing._default), (this.options = t), (this.start = this.now = this.cur()), (this.end = n), (this.unit = r || (De.cssNumber[i] ? '' : 'px')) }, cur: function () { var e = q.propHooks[this.prop] return e && e.get ? e.get(this) : q.propHooks._default.get(this) }, run: function (e) { var t, i = q.propHooks[this.prop] return ( this.options.duration ? (this.pos = t = De.easing[this.easing]( e, this.options.duration * e, 0, 1, this.options.duration )) : (this.pos = t = e), (this.now = (this.end - this.start) * t + this.start), this.options.step && this.options.step.call(this.elem, this.now, this), i && i.set ? i.set(this) : q.propHooks._default.set(this), this ) }, }), (q.prototype.init.prototype = q.prototype), (q.propHooks = { _default: { get: function (e) { var t return 1 !== e.elem.nodeType || (null != e.elem[e.prop] && null == e.elem.style[e.prop]) ? e.elem[e.prop] : ((t = De.css(e.elem, e.prop, '')), t && 'auto' !== t ? t : 0) }, set: function (e) { De.fx.step[e.prop] ? De.fx.step[e.prop](e) : 1 !== e.elem.nodeType || (null == e.elem.style[De.cssProps[e.prop]] && !De.cssHooks[e.prop]) ? (e.elem[e.prop] = e.now) : De.style(e.elem, e.prop, e.now + e.unit) }, }, }), (q.propHooks.scrollTop = q.propHooks.scrollLeft = { set: function (e) { e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now) }, }), (De.easing = { linear: function (e) { return e }, swing: function (e) { return 0.5 - Math.cos(e * Math.PI) / 2 }, _default: 'swing', }), (De.fx = q.prototype.init), (De.fx.step = {}) var wt, Mt, kt = /^(?:toggle|show|hide)$/, Lt = /queueHooks$/ ;(De.Animation = De.extend(Z, { tweeners: { '*': [ function (e, t) { var i = this.createTween(e, t) return M(i.elem, e, Ve.exec(t), i), i }, ], }, tweener: function (e, t) { Me(e) ? ((t = e), (e = ['*'])) : (e = e.match(Ie)) for (var i, n = 0, s = e.length; n < s; n++) (i = e[n]), (Z.tweeners[i] = Z.tweeners[i] || []), Z.tweeners[i].unshift(t) }, prefilters: [X], prefilter: function (e, t) { t ? Z.prefilters.unshift(e) : Z.prefilters.push(e) }, })), (De.speed = function (e, t, i) { var n = e && 'object' == typeof e ? De.extend({}, e) : { complete: i || (!i && t) || (Me(e) && e), duration: e, easing: (i && t) || (t && !Me(t) && t), } return ( De.fx.off ? (n.duration = 0) : 'number' != typeof n.duration && (n.duration in De.fx.speeds ? (n.duration = De.fx.speeds[n.duration]) : (n.duration = De.fx.speeds._default)), (null != n.queue && !0 !== n.queue) || (n.queue = 'fx'), (n.old = n.complete), (n.complete = function () { Me(n.old) && n.old.call(this), n.queue && De.dequeue(this, n.queue) }), n ) }), De.fn.extend({ fadeTo: function (e, t, i, n) { return this.filter(Je) .css('opacity', 0) .show() .end() .animate({ opacity: t }, e, i, n) }, animate: function (e, t, i, n) { var s = De.isEmptyObject(e), r = De.speed(t, i, n), a = function () { var t = Z(this, De.extend({}, e), r) ;(s || $e.get(this, 'finish')) && t.stop(!0) } return ( (a.finish = a), s || !1 === r.queue ? this.each(a) : this.queue(r.queue, a) ) }, stop: function (e, t, i) { var n = function (e) { var t = e.stop delete e.stop, t(i) } return ( 'string' != typeof e && ((i = t), (t = e), (e = void 0)), t && !1 !== e && this.queue(e || 'fx', []), this.each(function () { var t = !0, s = null != e && e + 'queueHooks', r = De.timers, a = $e.get(this) if (s) a[s] && a[s].stop && n(a[s]) else for (s in a) a[s] && a[s].stop && Lt.test(s) && n(a[s]) for (s = r.length; s--; ) r[s].elem !== this || (null != e && r[s].queue !== e) || (r[s].anim.stop(i), (t = !1), r.splice(s, 1)) ;(!t && i) || De.dequeue(this, e) }) ) }, finish: function (e) { return ( !1 !== e && (e = e || 'fx'), this.each(function () { var t, i = $e.get(this), n = i[e + 'queue'], s = i[e + 'queueHooks'], r = De.timers, a = n ? n.length : 0 for ( i.finish = !0, De.queue(this, e, []), s && s.stop && s.stop.call(this, !0), t = r.length; t--; ) r[t].elem === this && r[t].queue === e && (r[t].anim.stop(!0), r.splice(t, 1)) for (t = 0; t < a; t++) n[t] && n[t].finish && n[t].finish.call(this) delete i.finish }) ) }, }), De.each(['toggle', 'show', 'hide'], function (e, t) { var i = De.fn[t] De.fn[t] = function (e, n, s) { return null == e || 'boolean' == typeof e ? i.apply(this, arguments) : this.animate(G(t, !0), e, n, s) } }), De.each( { slideDown: G('show'), slideUp: G('hide'), slideToggle: G('toggle'), fadeIn: { opacity: 'show' }, fadeOut: { opacity: 'hide' }, fadeToggle: { opacity: 'toggle' }, }, function (e, t) { De.fn[e] = function (e, i, n) { return this.animate(t, e, i, n) } } ), (De.timers = []), (De.fx.tick = function () { var e, t = 0, i = De.timers for (wt = Date.now(); t < i.length; t++) (e = i[t])() || i[t] !== e || i.splice(t--, 1) i.length || De.fx.stop(), (wt = void 0) }), (De.fx.timer = function (e) { De.timers.push(e), De.fx.start() }), (De.fx.interval = 13), (De.fx.start = function () { Mt || ((Mt = !0), K()) }), (De.fx.stop = function () { Mt = null }), (De.fx.speeds = { slow: 600, fast: 200, _default: 400 }), (De.fn.delay = function (e, t) { return ( (e = De.fx ? De.fx.speeds[e] || e : e), (t = t || 'fx'), this.queue(t, function (t, n) { var s = i.setTimeout(t, e) n.stop = function () { i.clearTimeout(s) } }) ) }), (function () { var e = de.createElement('input'), t = de.createElement('select'), i = t.appendChild(de.createElement('option')) ;(e.type = 'checkbox'), (we.checkOn = '' !== e.value), (we.optSelected = i.selected), (e = de.createElement('input')), (e.value = 't'), (e.type = 'radio'), (we.radioValue = 't' === e.value) })() var Dt, Tt = De.expr.attrHandle De.fn.extend({ attr: function (e, t) { return Ne(this, De.attr, e, t, arguments.length > 1) }, removeAttr: function (e) { return this.each(function () { De.removeAttr(this, e) }) }, }), De.extend({ attr: function (e, t, i) { var n, s, r = e.nodeType if (3 !== r && 8 !== r && 2 !== r) return void 0 === e.getAttribute ? De.prop(e, t, i) : ((1 === r && De.isXMLDoc(e)) || (s = De.attrHooks[t.toLowerCase()] || (De.expr.match.bool.test(t) ? Dt : void 0)), void 0 !== i ? null === i ? void De.removeAttr(e, t) : s && 'set' in s && void 0 !== (n = s.set(e, i, t)) ? n : (e.setAttribute(t, i + ''), i) : s && 'get' in s && null !== (n = s.get(e, t)) ? n : ((n = De.find.attr(e, t)), null == n ? void 0 : n)) }, attrHooks: { type: { set: function (e, t) { if (!we.radioValue && 'radio' === t && u(e, 'input')) { var i = e.value return e.setAttribute('type', t), i && (e.value = i), t } }, }, }, removeAttr: function (e, t) { var i, n = 0, s = t && t.match(Ie) if (s && 1 === e.nodeType) for (; (i = s[n++]); ) e.removeAttribute(i) }, }), (Dt = { set: function (e, t, i) { return !1 === t ? De.removeAttr(e, i) : e.setAttribute(i, i), i }, }), De.each(De.expr.match.bool.source.match(/\w+/g), function (e, t) { var i = Tt[t] || De.find.attr Tt[t] = function (e, t, n) { var s, r, a = t.toLowerCase() return ( n || ((r = Tt[a]), (Tt[a] = s), (s = null != i(e, t, n) ? a : null), (Tt[a] = r)), s ) } }) var Yt = /^(?:input|select|textarea|button)$/i, xt = /^(?:a|area)$/i De.fn.extend({ prop: function (e, t) { return Ne(this, De.prop, e, t, arguments.length > 1) }, removeProp: function (e) { return this.each(function () { delete this[De.propFix[e] || e] }) }, }), De.extend({ prop: function (e, t, i) { var n, s, r = e.nodeType if (3 !== r && 8 !== r && 2 !== r) return ( (1 === r && De.isXMLDoc(e)) || ((t = De.propFix[t] || t), (s = De.propHooks[t])), void 0 !== i ? s && 'set' in s && void 0 !== (n = s.set(e, i, t)) ? n : (e[t] = i) : s && 'get' in s && null !== (n = s.get(e, t)) ? n : e[t] ) }, propHooks: { tabIndex: { get: function (e) { var t = De.find.attr(e, 'tabindex') return t ? parseInt(t, 10) : Yt.test(e.nodeName) || (xt.test(e.nodeName) && e.href) ? 0 : -1 }, }, }, propFix: { for: 'htmlFor', class: 'className' }, }), we.optSelected || (De.propHooks.selected = { get: function (e) { var t = e.parentNode return t && t.parentNode && t.parentNode.selectedIndex, null }, set: function (e) { var t = e.parentNode t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex) }, }), De.each( [ 'tabIndex', 'readOnly', 'maxLength', 'cellSpacing', 'cellPadding', 'rowSpan', 'colSpan', 'useMap', 'frameBorder', 'contentEditable', ], function () { De.propFix[this.toLowerCase()] = this } ), De.fn.extend({ addClass: function (e) { var t, i, n, s, r, a, o, l = 0 if (Me(e)) return this.each(function (t) { De(this).addClass(e.call(this, t, te(this))) }) if (((t = ie(e)), t.length)) for (; (i = this[l++]); ) if ( ((s = te(i)), (n = 1 === i.nodeType && ' ' + ee(s) + ' ')) ) { for (a = 0; (r = t[a++]); ) n.indexOf(' ' + r + ' ') < 0 && (n += r + ' ') ;(o = ee(n)), s !== o && i.setAttribute('class', o) } return this }, removeClass: function (e) { var t, i, n, s, r, a, o, l = 0 if (Me(e)) return this.each(function (t) { De(this).removeClass(e.call(this, t, te(this))) }) if (!arguments.length) return this.attr('class', '') if (((t = ie(e)), t.length)) for (; (i = this[l++]); ) if ( ((s = te(i)), (n = 1 === i.nodeType && ' ' + ee(s) + ' ')) ) { for (a = 0; (r = t[a++]); ) for (; n.indexOf(' ' + r + ' ') > -1; ) n = n.replace(' ' + r + ' ', ' ') ;(o = ee(n)), s !== o && i.setAttribute('class', o) } return this }, toggleClass: function (e, t) { var i = typeof e, n = 'string' === i || Array.isArray(e) return 'boolean' == typeof t && n ? t ? this.addClass(e) : this.removeClass(e) : Me(e) ? this.each(function (i) { De(this).toggleClass(e.call(this, i, te(this), t), t) }) : this.each(function () { var t, s, r, a if (n) for (s = 0, r = De(this), a = ie(e); (t = a[s++]); ) r.hasClass(t) ? r.removeClass(t) : r.addClass(t) else (void 0 !== e && 'boolean' !== i) || ((t = te(this)), t && $e.set(this, '__className__', t), this.setAttribute && this.setAttribute( 'class', t || !1 === e ? '' : $e.get(this, '__className__') || '' )) }) }, hasClass: function (e) { var t, i, n = 0 for (t = ' ' + e + ' '; (i = this[n++]); ) if ( 1 === i.nodeType && (' ' + ee(te(i)) + ' ').indexOf(t) > -1 ) return !0 return !1 }, }) var Ct = /\r/g De.fn.extend({ val: function (e) { var t, i, n, s = this[0] return arguments.length ? ((n = Me(e)), this.each(function (i) { var s 1 === this.nodeType && ((s = n ? e.call(this, i, De(this).val()) : e), null == s ? (s = '') : 'number' == typeof s ? (s += '') : Array.isArray(s) && (s = De.map(s, function (e) { return null == e ? '' : e + '' })), ((t = De.valHooks[this.type] || De.valHooks[this.nodeName.toLowerCase()]) && 'set' in t && void 0 !== t.set(this, s, 'value')) || (this.value = s)) })) : s ? (t = De.valHooks[s.type] || De.valHooks[s.nodeName.toLowerCase()]) && 'get' in t && void 0 !== (i = t.get(s, 'value')) ? i : ((i = s.value), 'string' == typeof i ? i.replace(Ct, '') : null == i ? '' : i) : void 0 }, }), De.extend({ valHooks: { option: { get: function (e) { var t = De.find.attr(e, 'value') return null != t ? t : ee(De.text(e)) }, }, select: { get: function (e) { var t, i, n, s = e.options, r = e.selectedIndex, a = 'select-one' === e.type, o = a ? null : [], l = a ? r + 1 : s.length for (n = r < 0 ? l : a ? r : 0; n < l; n++) if ( ((i = s[n]), (i.selected || n === r) && !i.disabled && (!i.parentNode.disabled || !u(i.parentNode, 'optgroup'))) ) { if (((t = De(i).val()), a)) return t o.push(t) } return o }, set: function (e, t) { for ( var i, n, s = e.options, r = De.makeArray(t), a = s.length; a--; ) (n = s[a]), (n.selected = De.inArray(De.valHooks.option.get(n), r) > -1) && (i = !0) return i || (e.selectedIndex = -1), r }, }, }, }), De.each(['radio', 'checkbox'], function () { ;(De.valHooks[this] = { set: function (e, t) { if (Array.isArray(t)) return (e.checked = De.inArray(De(e).val(), t) > -1) }, }), we.checkOn || (De.valHooks[this].get = function (e) { return null === e.getAttribute('value') ? 'on' : e.value }) }), (we.focusin = 'onfocusin' in i) var St = /^(?:focusinfocus|focusoutblur)$/, Et = function (e) { e.stopPropagation() } De.extend(De.event, { trigger: function (e, t, n, s) { var r, a, o, l, u, d, c, h, p = [n || de], f = ve.call(e, 'type') ? e.type : e, m = ve.call(e, 'namespace') ? e.namespace.split('.') : [] if ( ((a = h = o = n = n || de), 3 !== n.nodeType && 8 !== n.nodeType && !St.test(f + De.event.triggered) && (f.indexOf('.') > -1 && ((m = f.split('.')), (f = m.shift()), m.sort()), (u = f.indexOf(':') < 0 && 'on' + f), (e = e[De.expando] ? e : new De.Event(f, 'object' == typeof e && e)), (e.isTrigger = s ? 2 : 3), (e.namespace = m.join('.')), (e.rnamespace = e.namespace ? new RegExp( '(^|\\.)' + m.join('\\.(?:.*\\.|)') + '(\\.|$)' ) : null), (e.result = void 0), e.target || (e.target = n), (t = null == t ? [e] : De.makeArray(t, [e])), (c = De.event.special[f] || {}), s || !c.trigger || !1 !== c.trigger.apply(n, t))) ) { if (!s && !c.noBubble && !ke(n)) { for ( l = c.delegateType || f, St.test(l + f) || (a = a.parentNode); a; a = a.parentNode ) p.push(a), (o = a) o === (n.ownerDocument || de) && p.push(o.defaultView || o.parentWindow || i) } for (r = 0; (a = p[r++]) && !e.isPropagationStopped(); ) (h = a), (e.type = r > 1 ? l : c.bindType || f), (d = ($e.get(a, 'events') || {})[e.type] && $e.get(a, 'handle')), d && d.apply(a, t), (d = u && a[u]) && d.apply && Re(a) && ((e.result = d.apply(a, t)), !1 === e.result && e.preventDefault()) return ( (e.type = f), s || e.isDefaultPrevented() || (c._default && !1 !== c._default.apply(p.pop(), t)) || !Re(n) || (u && Me(n[f]) && !ke(n) && ((o = n[u]), o && (n[u] = null), (De.event.triggered = f), e.isPropagationStopped() && h.addEventListener(f, Et), n[f](), e.isPropagationStopped() && h.removeEventListener(f, Et), (De.event.triggered = void 0), o && (n[u] = o))), e.result ) } }, simulate: function (e, t, i) { var n = De.extend(new De.Event(), i, { type: e, isSimulated: !0 }) De.event.trigger(n, null, t) }, }), De.fn.extend({ trigger: function (e, t) { return this.each(function () { De.event.trigger(e, t, this) }) }, triggerHandler: function (e, t) { var i = this[0] if (i) return De.event.trigger(e, t, i, !0) }, }), we.focusin || De.each({ focus: 'focusin', blur: 'focusout' }, function (e, t) { var i = function (e) { De.event.simulate(t, e.target, De.event.fix(e)) } De.event.special[t] = { setup: function () { var n = this.ownerDocument || this, s = $e.access(n, t) s || n.addEventListener(e, i, !0), $e.access(n, t, (s || 0) + 1) }, teardown: function () { var n = this.ownerDocument || this, s = $e.access(n, t) - 1 s ? $e.access(n, t, s) : (n.removeEventListener(e, i, !0), $e.remove(n, t)) }, } }) var Ht = i.location, At = Date.now(), Ot = /\?/ De.parseXML = function (e) { var t if (!e || 'string' != typeof e) return null try { t = new i.DOMParser().parseFromString(e, 'text/xml') } catch (e) { t = void 0 } return ( (t && !t.getElementsByTagName('parsererror').length) || De.error('Invalid XML: ' + e), t ) } var Pt = /\[\]$/, It = /\r?\n/g, jt = /^(?:submit|button|image|reset|file)$/i, Wt = /^(?:input|select|textarea|keygen)/i ;(De.param = function (e, t) { var i, n = [], s = function (e, t) { var i = Me(t) ? t() : t n[n.length] = encodeURIComponent(e) + '=' + encodeURIComponent(null == i ? '' : i) } if (Array.isArray(e) || (e.jquery && !De.isPlainObject(e))) De.each(e, function () { s(this.name, this.value) }) else for (i in e) ne(i, e[i], t, s) return n.join('&') }), De.fn.extend({ serialize: function () { return De.param(this.serializeArray()) }, serializeArray: function () { return this.map(function () { var e = De.prop(this, 'elements') return e ? De.makeArray(e) : this }) .filter(function () { var e = this.type return ( this.name && !De(this).is(':disabled') && Wt.test(this.nodeName) && !jt.test(e) && (this.checked || !Ze.test(e)) ) }) .map(function (e, t) { var i = De(this).val() return null == i ? null : Array.isArray(i) ? De.map(i, function (e) { return { name: t.name, value: e.replace(It, '\r\n') } }) : { name: t.name, value: i.replace(It, '\r\n') } }) .get() }, }) var Nt = /%20/g, Ft = /#.*$/, zt = /([?&])_=[^&]*/, Rt = /^(.*?):[ \t]*([^\r\n]*)$/gm, $t = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, Bt = /^(?:GET|HEAD)$/, Ut = /^\/\//, qt = {}, Kt = {}, Vt = '*/'.concat('*'), Gt = de.createElement('a') ;(Gt.href = Ht.href), De.extend({ active: 0, lastModified: {}, etag: {}, ajaxSettings: { url: Ht.href, type: 'GET', isLocal: $t.test(Ht.protocol), global: !0, processData: !0, async: !0, contentType: 'application/x-www-form-urlencoded; charset=UTF-8', accepts: { '*': Vt, 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': De.parseXML, }, flatOptions: { url: !0, context: !0 }, }, ajaxSetup: function (e, t) { return t ? ae(ae(e, De.ajaxSettings), t) : ae(De.ajaxSettings, e) }, ajaxPrefilter: se(qt), ajaxTransport: se(Kt), ajax: function (e, t) { function n(e, t, n, o) { var u, h, p, b, w, M = t d || ((d = !0), l && i.clearTimeout(l), (s = void 0), (a = o || ''), (k.readyState = e > 0 ? 4 : 0), (u = (e >= 200 && e < 300) || 304 === e), n && (b = oe(f, k, n)), (b = le(f, b, k, u)), u ? (f.ifModified && ((w = k.getResponseHeader('Last-Modified')), w && (De.lastModified[r] = w), (w = k.getResponseHeader('etag')) && (De.etag[r] = w)), 204 === e || 'HEAD' === f.type ? (M = 'nocontent') : 304 === e ? (M = 'notmodified') : ((M = b.state), (h = b.data), (p = b.error), (u = !p))) : ((p = M), (!e && M) || ((M = 'error'), e < 0 && (e = 0))), (k.status = e), (k.statusText = (t || M) + ''), u ? g.resolveWith(m, [h, M, k]) : g.rejectWith(m, [k, M, p]), k.statusCode(y), (y = void 0), c && _.trigger(u ? 'ajaxSuccess' : 'ajaxError', [ k, f, u ? h : p, ]), v.fireWith(m, [k, M]), c && (_.trigger('ajaxComplete', [k, f]), --De.active || De.event.trigger('ajaxStop'))) } 'object' == typeof e && ((t = e), (e = void 0)), (t = t || {}) var s, r, a, o, l, u, d, c, h, p, f = De.ajaxSetup({}, t), m = f.context || f, _ = f.context && (m.nodeType || m.jquery) ? De(m) : De.event, g = De.Deferred(), v = De.Callbacks('once memory'), y = f.statusCode || {}, b = {}, w = {}, M = 'canceled', k = { readyState: 0, getResponseHeader: function (e) { var t if (d) { if (!o) for (o = {}; (t = Rt.exec(a)); ) o[t[1].toLowerCase()] = t[2] t = o[e.toLowerCase()] } return null == t ? null : t }, getAllResponseHeaders: function () { return d ? a : null }, setRequestHeader: function (e, t) { return ( null == d && ((e = w[e.toLowerCase()] = w[e.toLowerCase()] || e), (b[e] = t)), this ) }, overrideMimeType: function (e) { return null == d && (f.mimeType = e), this }, statusCode: function (e) { var t if (e) if (d) k.always(e[k.status]) else for (t in e) y[t] = [y[t], e[t]] return this }, abort: function (e) { var t = e || M return s && s.abort(t), n(0, t), this }, } if ( (g.promise(k), (f.url = ((e || f.url || Ht.href) + '').replace( Ut, Ht.protocol + '//' )), (f.type = t.method || t.type || f.method || f.type), (f.dataTypes = (f.dataType || '*') .toLowerCase() .match(Ie) || ['']), null == f.crossDomain) ) { u = de.createElement('a') try { ;(u.href = f.url), (u.href = u.href), (f.crossDomain = Gt.protocol + '//' + Gt.host != u.protocol + '//' + u.host) } catch (e) { f.crossDomain = !0 } } if ( (f.data && f.processData && 'string' != typeof f.data && (f.data = De.param(f.data, f.traditional)), re(qt, f, t, k), d) ) return k ;(c = De.event && f.global), c && 0 == De.active++ && De.event.trigger('ajaxStart'), (f.type = f.type.toUpperCase()), (f.hasContent = !Bt.test(f.type)), (r = f.url.replace(Ft, '')), f.hasContent ? f.data && f.processData && 0 === (f.contentType || '').indexOf( 'application/x-www-form-urlencoded' ) && (f.data = f.data.replace(Nt, '+')) : ((p = f.url.slice(r.length)), f.data && (f.processData || 'string' == typeof f.data) && ((r += (Ot.test(r) ? '&' : '?') + f.data), delete f.data), !1 === f.cache && ((r = r.replace(zt, '$1')), (p = (Ot.test(r) ? '&' : '?') + '_=' + At++ + p)), (f.url = r + p)), f.ifModified && (De.lastModified[r] && k.setRequestHeader( 'If-Modified-Since', De.lastModified[r] ), De.etag[r] && k.setRequestHeader('If-None-Match', De.etag[r])), ((f.data && f.hasContent && !1 !== f.contentType) || t.contentType) && k.setRequestHeader('Content-Type', f.contentType), k.setRequestHeader( 'Accept', f.dataTypes[0] && f.accepts[f.dataTypes[0]] ? f.accepts[f.dataTypes[0]] + ('*' !== f.dataTypes[0] ? ', ' + Vt + '; q=0.01' : '') : f.accepts['*'] ) for (h in f.headers) k.setRequestHeader(h, f.headers[h]) if (f.beforeSend && (!1 === f.beforeSend.call(m, k, f) || d)) return k.abort() if ( ((M = 'abort'), v.add(f.complete), k.done(f.success), k.fail(f.error), (s = re(Kt, f, t, k))) ) { if ( ((k.readyState = 1), c && _.trigger('ajaxSend', [k, f]), d) ) return k f.async && f.timeout > 0 && (l = i.setTimeout(function () { k.abort('timeout') }, f.timeout)) try { ;(d = !1), s.send(b, n) } catch (e) { if (d) throw e n(-1, e) } } else n(-1, 'No Transport') return k }, getJSON: function (e, t, i) { return De.get(e, t, i, 'json') }, getScript: function (e, t) { return De.get(e, void 0, t, 'script') }, }), De.each(['get', 'post'], function (e, t) { De[t] = function (e, i, n, s) { return ( Me(i) && ((s = s || n), (n = i), (i = void 0)), De.ajax( De.extend( { url: e, type: t, dataType: s, data: i, success: n }, De.isPlainObject(e) && e ) ) ) } }), (De._evalUrl = function (e) { return De.ajax({ url: e, type: 'GET', dataType: 'script', cache: !0, async: !1, global: !1, throws: !0, }) }), De.fn.extend({ wrapAll: function (e) { var t return ( this[0] && (Me(e) && (e = e.call(this[0])), (t = De(e, this[0].ownerDocument).eq(0).clone(!0)), this[0].parentNode && t.insertBefore(this[0]), t .map(function () { for (var e = this; e.firstElementChild; ) e = e.firstElementChild return e }) .append(this)), this ) }, wrapInner: function (e) { return Me(e) ? this.each(function (t) { De(this).wrapInner(e.call(this, t)) }) : this.each(function () { var t = De(this), i = t.contents() i.length ? i.wrapAll(e) : t.append(e) }) }, wrap: function (e) { var t = Me(e) return this.each(function (i) { De(this).wrapAll(t ? e.call(this, i) : e) }) }, unwrap: function (e) { return ( this.parent(e) .not('body') .each(function () { De(this).replaceWith(this.childNodes) }), this ) }, }), (De.expr.pseudos.hidden = function (e) { return !De.expr.pseudos.visible(e) }), (De.expr.pseudos.visible = function (e) { return !!( e.offsetWidth || e.offsetHeight || e.getClientRects().length ) }), (De.ajaxSettings.xhr = function () { try { return new i.XMLHttpRequest() } catch (e) {} }) var Jt = { 0: 200, 1223: 204 }, Xt = De.ajaxSettings.xhr() ;(we.cors = !!Xt && 'withCredentials' in Xt), (we.ajax = Xt = !!Xt), De.ajaxTransport(function (e) { var t, n if (we.cors || (Xt && !e.crossDomain)) return { send: function (s, r) { var a, o = e.xhr() if ( (o.open(e.type, e.url, e.async, e.username, e.password), e.xhrFields) ) for (a in e.xhrFields) o[a] = e.xhrFields[a] e.mimeType && o.overrideMimeType && o.overrideMimeType(e.mimeType), e.crossDomain || s['X-Requested-With'] || (s['X-Requested-With'] = 'XMLHttpRequest') for (a in s) o.setRequestHeader(a, s[a]) ;(t = function (e) { return function () { t && ((t = n = o.onload = o.onerror = o.onabort = o.ontimeout = o.onreadystatechange = null), 'abort' === e ? o.abort() : 'error' === e ? 'number' != typeof o.status ? r(0, 'error') : r(o.status, o.statusText) : r( Jt[o.status] || o.status, o.statusText, 'text' !== (o.responseType || 'text') || 'string' != typeof o.responseText ? { binary: o.response } : { text: o.responseText }, o.getAllResponseHeaders() )) } }), (o.onload = t()), (n = o.onerror = o.ontimeout = t('error')), void 0 !== o.onabort ? (o.onabort = n) : (o.onreadystatechange = function () { 4 === o.readyState && i.setTimeout(function () { t && n() }) }), (t = t('abort')) try { o.send((e.hasContent && e.data) || null) } catch (e) { if (t) throw e } }, abort: function () { t && t() }, } }), De.ajaxPrefilter(function (e) { e.crossDomain && (e.contents.script = !1) }), De.ajaxSetup({ accepts: { script: 'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript', }, contents: { script: /\b(?:java|ecma)script\b/ }, converters: { 'text script': function (e) { return De.globalEval(e), e }, }, }), De.ajaxPrefilter('script', function (e) { void 0 === e.cache && (e.cache = !1), e.crossDomain && (e.type = 'GET') }), De.ajaxTransport('script', function (e) { if (e.crossDomain) { var t, i return { send: function (n, s) { ;(t = De('