text: /* eslint-disable */
  !function (e, t) { "object" == typeof exports && "undefined" != typeof module ? module.exports = t(require("react"), require("react-dom"), require("prop-types")) : "function" == typeof define && define.amd ? define(["react", "react-dom", "prop-types"], t) : e.mobiscroll = t(e.React, e.ReactDOM, e.PropTypes) }(this, function (e, t, n) {
      "use strict"; function a(e) { return "function" == typeof e } function s(e) { return "object" === (void 0 === e ? "undefined" : te(e)) } function o(e) { return "number" == typeof e.length } function i(e) { return e.replace(/-+(.)?/g, function (e, t) { return t ? t.toUpperCase() : "" }) } function r(e, t, n) { for (var a in t) n && (de.isPlainObject(t[a]) || de.isArray(t[a])) ? ((de.isPlainObject(t[a]) && !de.isPlainObject(e[a]) || de.isArray(t[a]) && !de.isArray(e[a])) && (e[a] = {}), r(e[a], t[a], n)) : void 0 !== t[a] && (e[a] = t[a]) } function c(e) { return e.replace(/::/g, "/").replace(/([A-Z]+)([A-Z][a-z])/g, "$1_$2").replace(/([a-z\d])([A-Z])/g, "$1_$2").replace(/_/g, "-").toLowerCase() } function l(e, t) { return "number" != typeof t || re[c(e)] ? t : t + "px" } function u() { } function m(e) { var t, n = []; for (t in e) n.push(e[t]); return n } function d(e) { return e - parseFloat(e) >= 0 } function p(e) { return "string" == typeof e } function h(e, t, n) { return Math.max(t, Math.min(e, n)) } function f(e) { "vibrate" in navigator && navigator.vibrate(e || 50) } function T(e, t, n) { return 100 * (e - t) / (n - t) } function x(e, t, n) { var a = n.attr(e); return void 0 === a || "" === a ? t : "true" === a } function b() { Se++ , setTimeout(function () { Se-- }, 500) } function v(e, t) { var n = (e.originalEvent || e).changedTouches[0], a = document.createEvent("MouseEvents"); a.initMouseEvent("click", !0, !0, window, 1, n.screenX, n.screenY, n.clientX, n.clientY, !1, !1, !1, !1, 0, null), a.tap = !0, t.mbscChange = !0, t.dispatchEvent(a), b() } function g(e, t, n) { var a = e.originalEvent || e, s = (n ? "page" : "client") + t; return a.targetTouches && a.targetTouches[0] ? a.targetTouches[0][s] : a.changedTouches && a.changedTouches[0] ? a.changedTouches[0][s] : e[s] } function y(e, t, n, a, s, o) { function i(e) { d || (a && e.preventDefault(), d = this, u = g(e, "X"), m = g(e, "Y"), p = !1, h = new Date) } function r(e) { d && !p && (Math.abs(g(e, "X") - u) > s || Math.abs(g(e, "Y") - m) > s) && (p = !0) } function c(t) { d && ((o && new Date - h < 100 || !p) && (t.preventDefault(), n.call(d, t, e)), d = !1, b()) } function l() { d = !1 } var u, m, d, p, h, f = ee.$, T = f(t); s = s || 9, e.settings.tap && T.on("touchstart.mbsc", i).on("touchcancel.mbsc", l).on("touchmove.mbsc", r).on("touchend.mbsc", c), T.on("click.mbsc", function (t) { a && t.preventDefault(), n.call(this, t, e) }) } function _(e) { if (Se && !e.tap && ("TEXTAREA" != e.target.nodeName || "mousedown" != e.type)) return e.stopPropagation(), e.preventDefault(), !1 } function S(e, t, n) { be && Me(function () { Me(e).each(function () { new t(this) }), Me(document).on("mbsc-enhance", function (n, a) { Me(n.target).is(e) ? new t(n.target, a) : Me(e, n.target).each(function () { new t(this, a) }) }), n && Me(document).on("mbsc-refresh", function (t) { var n; Me(t.target).is(e) ? (n = Ce[t.target.id]) && n.refresh() : Me(e, t.target).each(function () { (n = Ce[this.id]) && n.refresh() }) }) }) } function w(e, t) { var n = {}; for (var a in e) t.indexOf(a) >= 0 || Object.prototype.hasOwnProperty.call(e, a) && (n[a] = e[a]); return n } function M(e, n) { var a = t.findDOMNode(this), s = e.replace(/\s+/g, " ").trim(), o = n.replace(/\s+/g, " ").trim(); s && a.classList.remove.apply(a.classList, s.split(" ")), o && a.classList.add.apply(a.classList, o.split(" ")) } function k(e, t) { function n(e, t) { var o; if (isNaN(e) && isNaN(t) && "number" == typeof e && "number" == typeof t) return !0; if (e === t) return !0; if ("function" == typeof e && "function" == typeof t || e instanceof Date && t instanceof Date || e instanceof RegExp && t instanceof RegExp || e instanceof String && t instanceof String || e instanceof Number && t instanceof Number) return e.toString() === t.toString(); if (!(e instanceof Object && t instanceof Object)) return !1; if (e.isPrototypeOf(t) || t.isPrototypeOf(e)) return !1; if (e.constructor !== t.constructor) return !1; if (e.prototype !== t.prototype) return !1; if (a.indexOf(e) > -1 || s.indexOf(t) > -1) return !1; for (o in t) { if (t.hasOwnProperty(o) !== e.hasOwnProperty(o)) return !1; if (te(t[o]) !== te(e[o])) return !1 } for (o in e) { if (t.hasOwnProperty(o) !== e.hasOwnProperty(o)) return !1; if (te(t[o]) !== te(e[o])) return !1; switch (te(e[o])) { case "object": case "function": if (a.push(e), s.push(t), !n(e[o], t[o])) return !1; a.pop(), s.pop(); break; default: if (e[o] !== t[o]) return !1 } } return !0 } var a = [], s = []; return n(e, t) } function C(e) { var t; for (t in e) if (void 0 !== Ie[e[t]]) return !0; return !1 } function N(e, t) { if ("touchstart" == e.type) Me(t).attr("data-touch", "1"); else if (Me(t).attr("data-touch")) return Me(t).removeAttr("data-touch"), !1; return !0 } function O(e, t) { var n, a = getComputedStyle(e[0]); return Me.each(["t", "webkitT", "MozT", "OT", "msT"], function (e, t) { if (void 0 !== a[t + "ransform"]) return n = a[t + "ransform"], !1 }), n = n.split(")")[0].split(", "), t ? n[13] || n[5] : n[12] || n[4] } function D(e) { var t = e[0], n = e.attr("data-role"), a = e.attr("type") || t.nodeName.toLowerCase(); return /(switch|range|rating|segmented|stepper)/.test(n) && (a = n), a } function P(e) { var t = ee.themes.form[e]; return t && t.addRipple ? t : null } function A() { clearTimeout(pt), pt = setTimeout(function () { Me("textarea.mbsc-control").each(function () { E(this) }) }, 100) } function E(e) { var t = void 0, n = void 0, a = void 0, s = Me(e).attr("rows") || 6; e.offsetHeight && (e.style.height = "", a = e.scrollHeight - e.offsetHeight, t = e.offsetHeight + (a > 0 ? a : 0), n = Math.round(t / 24), n > s ? (e.scrollTop = t, t = 24 * s + (t - 24 * n), Me(e).addClass("mbsc-textarea-scroll")) : Me(e).removeClass("mbsc-textarea-scroll"), t && (e.style.height = t + "px")) } function L(e) { if (!Me(e).hasClass("mbsc-textarea-scroll")) { var t = e.scrollHeight - e.offsetHeight, n = e.offsetHeight + t; e.scrollTop = 0, e.style.height = n + "px" } } function F(e, t, n, a, s, o) { function i(e) { var t; h = Me(this), y = +h.attr("data-step"), T = +h.attr("data-index"), f = !0, s && e.stopPropagation(), "mousedown" == e.type && e.preventDefault(), "keydown" != e.type ? (b = g(e, "X"), v = g(e, "Y"), t = N(e, this)) : t = 32 === e.keyCode, x || !t || h.hasClass("mbsc-disabled") || (m(T, y) && (h.addClass("mbsc-active"), o && o.addRipple(h.find(".mbsc-segmented-content"), e)), "mousedown" == e.type && Me(document).on("mousemove", r).on("mouseup", c)) } function r(e) { (Math.abs(b - g(e, "X")) > 7 || Math.abs(v - g(e, "Y")) > 7) && (f = !0, l()) } function c(e) { "touchend" == e.type && e.preventDefault(), l(), "mouseup" == e.type && Me(document).off("mousemove", r).off("mouseup", c) } function l() { x = !1, clearInterval(_), h && (h.removeClass("mbsc-active"), o && setTimeout(function () { o.removeRipple() }, 100)) } function m(e, t) { return x || S(e) || (T = e, y = t, x = !0, f = !1, setTimeout(d, 100)), x } function d() { if (h && h.hasClass("mbsc-disabled")) return void l(); !x && f || (f = !0, t(T, y, d)), x && n && (clearInterval(_), _ = setInterval(function () { t(T, y) }, n)) } function p() { e.off("touchstart mousedown keydown", i).off("touchmove", r).off("touchend touchcancel keyup", c) } var h, f, T, x, b, v, y, _, S = a || u; return e.on("touchstart mousedown keydown", i).on("touchmove", r).on("touchend touchcancel keyup", c), { start: m, stop: l, destroy: p } } function j(e, t) { var n = {}, a = e.parent(), s = a.find(".mbsc-err-msg"), o = e.attr("data-icon-align") || "left", i = e.attr("data-icon"); a.hasClass(kt) ? a = a.parent() : Me('<span class="' + kt + '"></span>').insertAfter(e).append(e), s && a.find("." + kt).append(s), i && (-1 !== i.indexOf("{") ? n = JSON.parse(i) : n[o] = i), (i || t) && (De(n, t), a.addClass((n.right ? "mbsc-ic-right " : "") + (n.left ? " mbsc-ic-left" : "")).find("." + kt).append(n.left ? '<span class="mbsc-input-ic mbsc-left-ic mbsc-ic mbsc-ic-' + n.left + '"></span>' : "").append(n.right ? '<span class="mbsc-input-ic mbsc-right-ic mbsc-ic mbsc-ic-' + n.right + '"></span>' : "")) } function H(e, t, n) { var a = {}, s = n[0], o = n.attr("data-password-toggle"), i = n.attr("data-icon-show") || "eye", r = n.attr("data-icon-hide") || "eye-blocked"; o && (a.right = "password" == s.type ? i : r), j(n, a), o && y(e, t.find(".mbsc-right-ic").addClass("mbsc-input-toggle"), function () { "text" == s.type ? (s.type = "password", Me(this).addClass("mbsc-ic-" + i).removeClass("mbsc-ic-" + r)) : (s.type = "text", Me(this).removeClass("mbsc-ic-" + i).addClass("mbsc-ic-" + r)) }) } function V(e, t) { "button" != t && "submit" != t && "segmented" != t && (e.addClass("mbsc-control-w").find("label").addClass("mbsc-label"), e.contents().filter(function () { return 3 == this.nodeType && this.nodeValue && /\S/.test(this.nodeValue) }).each(function () { Me('<span class="mbsc-label"></span>').insertAfter(this).append(this) })) } function I(e, t, n, a) { Me("input,select,textarea,progress,button", e).each(function () { var e = this, a = Me(e), s = D(a); if ("false" != a.attr("data-enhance")) if (a.hasClass("mbsc-control")) e.mbscInst && e.mbscInst.option({ theme: n.theme, lang: n.lang, rtl: n.rtl, onText: n.onText, offText: n.offText, stopProp: n.stopProp }); else switch (e.id || (e.id = "mbsc-form-control-" + ++Mt), s) { case "button": case "submit": t[e.id] = new ct(e, { theme: n.theme, tap: n.tap }); break; case "switch": t[e.id] = new vt(e, { theme: n.theme, lang: n.lang, rtl: n.rtl, tap: n.tap, onText: n.onText, offText: n.offText, stopProp: n.stopProp }); break; case "checkbox": t[e.id] = new lt(e, { tap: n.tap }); break; case "range": Me(e).parent().hasClass("mbsc-slider") || (t[e.id] = new yt(e, { theme: n.theme, lang: n.lang, rtl: n.rtl, stopProp: n.stopProp })); break; case "rating": t[e.id] = new _t(e, { theme: n.theme, lang: n.lang, rtl: n.rtl, stopProp: n.stopProp }); break; case "progress": t[e.id] = new gt(e, { theme: n.theme, lang: n.lang, rtl: n.rtl }); break; case "radio": t[e.id] = new ut(e, { tap: n.tap }); break; case "select": case "select-one": case "select-multiple": t[e.id] = new mt(e, { tap: n.tap }); break; case "textarea": t[e.id] = new ht(e, { tap: n.tap }); break; case "segmented": t[e.id] = new ft(e, { theme: n.theme, tap: n.tap }); break; case "stepper": t[e.id] = new Tt(e, { theme: n.theme }); break; case "hidden": return; default: t[e.id] = new rt(e, { tap: n.tap }) } }), a || A() } function z(e) { Ht.length || e.show(), Ht.push(e) } function J(e) { var t = Vt.length; Vt.push(e), Ht.length || (t ? Vt[0].hide() : e.show(!1, !0)) } function R(e, t, n, a) { return De({ display: t.display || "center", cssClass: "mbsc-alert", okText: t.okText, cancelText: t.cancelText, context: t.context, theme: t.theme, closeOnOverlayTap: !1, onBeforeClose: function () { e.shift() }, onBeforeShow: function () { ee.activeInstance = null }, onHide: function (e, a) { n && n(a._resolve), t.callback && t.callback(a._resolve), a && a.destroy(), Ht.length ? Ht[0].show() : Vt.length && Vt[0].show(!1, !0) } }, a) } function $(e) { return (e.title ? "<h2>" + e.title + "</h2>" : "") + "<p>" + (e.message || "") + "</p>" } function W(e, t, n) { z(new Ft(e, R(Ht, t, n))) } function Y(e, t, n) { var a = new Ft(e, R(Ht, t, n, { buttons: ["cancel", "ok"], onSet: function () { a._resolve = !0 } })); a._resolve = !1, z(a) } function B(e, t, n) { var a = void 0, s = new Ft(e, R(Ht, t, n, { buttons: ["cancel", "ok"], onMarkupReady: function (e, t) { a = t._markup.find("input")[0], setTimeout(function () { a.focus(), a.setSelectionRange(0, a.value.length) }, 300) }, onSet: function () { s._resolve = a.value } })); s._resolve = null, z(s) } function U(e, t, n, a, s) { var o = void 0; J(new Ft(e, R(Vt, t, n, { display: "bottom", animate: s, cssClass: a || "mbsc-snackbar", scrollLock: !1, focusTrap: !1, buttons: [], onShow: function (e, n) { !1 !== t.duration && (o = setTimeout(function () { n && n.hide() }, t.duration || 3e3)), t.button && n.tap(Me(".mbsc-snackbar-btn", e.target), function () { n.hide(), t.button.action && t.button.action.call(this) }) }, onClose: function () { clearTimeout(o) } }))) } function K(e, t, n) { U(e, t, n, "mbsc-toast", "fade") } function G(e, t, n) { var a = void 0; return jt ? a = new Promise(function (a) { e(t, n, a) }) : e(t, n), a } function X(e, t) { var n = {}; for (var a in e) t.indexOf(a) >= 0 || Object.prototype.hasOwnProperty.call(e, a) && (n[a] = e[a]); return n } function Z(e, t) { var n = g(t, "X", !0), a = g(t, "Y", !0), s = e.offset(), o = n - s.left, i = a - s.top, r = Math.max(o, e[0].offsetWidth - o), c = Math.max(i, e[0].offsetHeight - i), l = 2 * Math.sqrt(Math.pow(r, 2) + Math.pow(c, 2)); q(ta), ta = Me('<span class="mbsc-ripple"></span>').css({ width: l, height: l, top: a - s.top - l / 2, left: n - s.left - l / 2 }).appendTo(e), setTimeout(function () { ta.addClass("mbsc-ripple-scaled mbsc-ripple-visible") }, 10) } function q(e) { setTimeout(function () { e && (e.removeClass("mbsc-ripple-visible"), setTimeout(function () { e.remove() }, 2e3)) }, 100) } function Q(e, t, n, a) { var s, o; e.off(".mbsc-ripple").on("touchstart.mbsc-ripple mousedown.mbsc-ripple", t, function (e) { N(e, this) && (s = g(e, "X"), o = g(e, "Y"), ea = Me(this), ea.hasClass(n) || ea.hasClass(a) ? ea = null : Z(ea, e)) }).on("touchmove.mbsc-ripple mousemove.mbsc-ripple", t, function (e) { (ea && Math.abs(g(e, "X") - s) > 9 || Math.abs(g(e, "Y") - o) > 9) && (q(ta), ea = null) }).on("touchend.mbsc-ripple touchcancel.mbsc-ripple mouseleave.mbsc-ripple mouseup.mbsc-ripple", t, function () { ea && (setTimeout(function () { q(ta) }, 100), ea = null) }) } e = e && e.hasOwnProperty("default") ? e.default : e, t = t && t.hasOwnProperty("default") ? t.default : t, n = n && n.hasOwnProperty("default") ? n.default : n; var ee = ee || {}, te = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e }, ne = function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }, ae = function () { function e(e, t) { for (var n = 0; n < t.length; n++) { var a = t[n]; a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a) } } return function (t, n, a) { return n && e(t.prototype, n), a && e(t, a), t } }(), se = function e(t, n, a) { null === t && (t = Function.prototype); var s = Object.getOwnPropertyDescriptor(t, n); if (void 0 === s) { var o = Object.getPrototypeOf(t); return null === o ? void 0 : e(o, n, a) } if ("value" in s) return s.value; var i = s.get; if (void 0 !== i) return i.call(a) }, oe = function (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) }, ie = function (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 }, re = { "column-count": 1, columns: 1, "font-weight": 1, "line-height": 1, opacity: 1, "z-index": 1, zoom: 1 }, ce = { readonly: "readOnly" }, le = [], ue = Array.prototype.slice, me = function () { var e = function (e) { var n = this, a = 0; for (a = 0; a < e.length; a++)n[a] = e[a]; return n.length = e.length, t(this) }, t = function t(n, s) { var o = [], i = 0; if (n && !s && n instanceof e) return n; if (a(n)) return t(document).ready(n); if (n) if ("string" == typeof n) { var r, c, l; if (n = l = n.trim(), l.indexOf("<") >= 0 && l.indexOf(">") >= 0) { var u = "div"; for (0 === l.indexOf("<li") && (u = "ul"), 0 === l.indexOf("<tr") && (u = "tbody"), 0 !== l.indexOf("<td") && 0 !== l.indexOf("<th") || (u = "tr"), 0 === l.indexOf("<tbody") && (u = "table"), 0 === l.indexOf("<option") && (u = "select"), c = document.createElement(u), c.innerHTML = l, i = 0; i < c.childNodes.length; i++)o.push(c.childNodes[i]) } else for (s || "#" !== n[0] || n.match(/[ .<>:~]/) ? (s instanceof e && (s = s[0]), r = (s || document).querySelectorAll(n)) : r = [document.getElementById(n.split("#")[1])], i = 0; i < r.length; i++)r[i] && o.push(r[i]) } else if (n.nodeType || n === window || n === document) o.push(n); else if (n.length > 0 && n[0].nodeType) for (i = 0; i < n.length; i++)o.push(n[i]); else t.isArray(n) && (o = n); return new e(o) }; return e.prototype = { ready: function (e) { return (document.attachEvent ? "complete" == document.readyState : "loading" != document.readyState) ? e(t) : document.addEventListener("DOMContentLoaded", function () { e(t) }, !1), this }, concat: le.concat, empty: function () { return this.each(function () { this.innerHTML = "" }) }, map: function (e) { return t(t.map(this, function (t, n) { return e.call(t, n, t) })) }, slice: function () { return t(ue.apply(this, arguments)) }, addClass: function (e) { if (void 0 === e) return this; for (var t = e.split(" "), n = 0; n < t.length; n++)for (var a = 0; a < this.length; a++)void 0 !== this[a].classList && "" !== t[n] && this[a].classList.add(t[n]); return this }, removeClass: function (e) { if (void 0 === e) return this; for (var t = e.split(" "), n = 0; n < t.length; n++)for (var a = 0; a < this.length; a++)void 0 !== this[a].classList && "" !== t[n] && this[a].classList.remove(t[n]); return this }, hasClass: function (e) { return !!this[0] && this[0].classList.contains(e) }, toggleClass: function (e) { for (var t = e.split(" "), n = 0; n < t.length; n++)for (var a = 0; a < this.length; a++)void 0 !== this[a].classList && this[a].classList.toggle(t[n]); return this }, closest: function (e, n) { var a = this[0], o = !1; for (s(e) && (o = t(e)); a && !(o ? o.indexOf(a) >= 0 : t.matches(a, e));)a = a !== n && a.nodeType !== a.DOCUMENT_NODE && a.parentNode; return t(a) }, attr: function (e, t) { var n; if (1 !== arguments.length || "string" != typeof e) { for (var a = 0; a < this.length; a++)if (2 === arguments.length) this[a].setAttribute(e, t); else for (var s in e) this[a][s] = e[s], this[a].setAttribute(s, e[s]); return this } if (this.length) return n = this[0].getAttribute(e), n || "" === n ? n : void 0 }, removeAttr: function (e) { for (var t = 0; t < this.length; t++)this[t].removeAttribute(e); return this }, prop: function (e, t) { if (e = ce[e] || e, 1 === arguments.length && "string" == typeof e) return this[0] ? this[0][e] : void 0; for (var n = 0; n < this.length; n++)this[n][e] = t; return this }, val: function (e) { if (void 0 === e) return this.length && this[0].multiple ? t.map(this.find("option:checked"), function (e) { return e.value }) : this[0] ? this[0].value : void 0; if (this.length && this[0].multiple) t.each(this[0].options, function () { this.selected = -1 != e.indexOf(this.value) }); else for (var n = 0; n < this.length; n++)this[n].value = e; return this }, on: function (e, n, s, o) { function i(e) { var a, o, i = e.target; if (t(i).is(n)) s.call(i, e); else for (o = t(i).parents(), a = 0; a < o.length; a++)t(o[a]).is(n) && s.call(o[a], e) } function r(e, t, n, a) { var s = t.split("."); e.DomNameSpaces || (e.DomNameSpaces = []), e.DomNameSpaces.push({ namespace: s[1], event: s[0], listener: n, capture: a }), e.addEventListener(s[0], n, a) } var c, l, u = e.split(" "); for (c = 0; c < this.length; c++)if (a(n) || !1 === n) for (a(n) && (o = s || !1, s = n), l = 0; l < u.length; l++)-1 != u[l].indexOf(".") ? r(this[c], u[l], s, o) : this[c].addEventListener(u[l], s, o); else for (l = 0; l < u.length; l++)this[c].DomLiveListeners || (this[c].DomLiveListeners = []), this[c].DomLiveListeners.push({ listener: s, liveListener: i }), -1 != u[l].indexOf(".") ? r(this[c], u[l], i, o) : this[c].addEventListener(u[l], i, o); return this }, off: function (e, t, n, s) { function o(e) { var t, n, a, s = e.split("."), o = s[0], i = s[1]; for (t = 0; t < u.length; ++t)if (u[t].DomNameSpaces) { for (n = 0; n < u[t].DomNameSpaces.length; ++n)a = u[t].DomNameSpaces[n], a.namespace != i || a.event != o && o || (u[t].removeEventListener(a.event, a.listener, a.capture), a.removed = !0); for (n = u[t].DomNameSpaces.length - 1; n >= 0; --n)u[t].DomNameSpaces[n].removed && u[t].DomNameSpaces.splice(n, 1) } } var i, r, c, l, u = this; for (i = e.split(" "), r = 0; r < i.length; r++)for (c = 0; c < this.length; c++)if (a(t) || !1 === t) a(t) && (s = n || !1, n = t), 0 === i[r].indexOf(".") ? o(i[r].substr(1)) : this[c].removeEventListener(i[r], n, s); else { if (this[c].DomLiveListeners) for (l = 0; l < this[c].DomLiveListeners.length; l++)this[c].DomLiveListeners[l].listener === n && this[c].removeEventListener(i[r], this[c].DomLiveListeners[l].liveListener, s); this[c].DomNameSpaces && this[c].DomNameSpaces.length && i[r] && o(i[r]) } return this }, trigger: function (e, t) { for (var n = e.split(" "), a = 0; a < n.length; a++)for (var s = 0; s < this.length; s++) { var o; try { o = new CustomEvent(n[a], { detail: t, bubbles: !0, cancelable: !0 }) } catch (e) { o = document.createEvent("Event"), o.initEvent(n[a], !0, !0), o.detail = t } this[s].dispatchEvent(o) } return this }, width: function (e) { return void 0 !== e ? this.css("width", e) : this[0] === window ? window.innerWidth : this[0] === document ? document.documentElement.scrollWidth : this.length > 0 ? parseFloat(this.css("width")) : null }, height: function (e) { if (void 0 !== e) return this.css("height", e); if (this[0] === window) return window.innerHeight; if (this[0] === document) { var t = document.body, n = document.documentElement; return Math.max(t.scrollHeight, t.offsetHeight, n.clientHeight, n.scrollHeight, n.offsetHeight) } return this.length > 0 ? parseFloat(this.css("height")) : null }, innerWidth: function () { var e = this; if (this.length > 0) { if (this[0].innerWidth) return this[0].innerWidth; var t = this[0].offsetWidth; return ["left", "right"].forEach(function (n) { t -= parseInt(e.css(i("border-" + n + "-width")) || 0, 10) }), t } }, innerHeight: function () { var e = this; if (this.length > 0) { if (this[0].innerHeight) return this[0].innerHeight; var t = this[0].offsetHeight; return ["top", "bottom"].forEach(function (n) { t -= parseInt(e.css(i("border-" + n + "-width")) || 0, 10) }), t } }, offset: function () { if (this.length > 0) { var e = this[0], t = e.getBoundingClientRect(), n = document.documentElement; return { top: t.top + window.pageYOffset - n.clientTop, left: t.left + window.pageXOffset - n.clientLeft } } }, hide: function () { for (var e = 0; e < this.length; e++)this[e].style.display = "none"; return this }, show: function () { for (var e = 0; e < this.length; e++)"none" == this[e].style.display && (this[e].style.display = ""), "none" == getComputedStyle(this[e], "").getPropertyValue("display") && (this[e].style.display = "block"); return this }, clone: function () { return this.map(function () { return this.cloneNode(!0) }) }, styles: function () { return this[0] ? window.getComputedStyle(this[0], null) : void 0 }, css: function (e, t) { var n, a, s = this[0], o = ""; if (arguments.length < 2) { if (!s) return; if ("string" == typeof e) return s.style[e] || getComputedStyle(s, "").getPropertyValue(e) } if ("string" == typeof e) t || 0 === t ? o = c(e) + ":" + l(e, t) : this.each(function () { this.style.removeProperty(c(e)) }); else for (a in e) if (e[a] || 0 === e[a]) o += c(a) + ":" + l(a, e[a]) + ";"; else for (n = 0; n < this.length; n++)this[n].style.removeProperty(c(a)); return this.each(function () { this.style.cssText += ";" + o }) }, each: function (e) { for (var t = 0; t < this.length && !1 !== e.apply(this[t], [t, this[t]]); t++); return this }, filter: function (n) { for (var s = [], o = 0; o < this.length; o++)a(n) ? n.call(this[o], o, this[o]) && s.push(this[o]) : t.matches(this[o], n) && s.push(this[o]); return new e(s) }, html: function (e) { if (void 0 === e) return this[0] ? this[0].innerHTML : void 0; this.empty(); for (var t = 0; t < this.length; t++)this[t].innerHTML = e; return this }, text: function (e) { if (void 0 === e) return this[0] ? this[0].textContent.trim() : null; for (var t = 0; t < this.length; t++)this[t].textContent = e; return this }, is: function (e) { return this.length > 0 && t.matches(this[0], e) }, not: function (e) { var n = []; if (a(e) && void 0 !== e.call) this.each(function (t) { e.call(this, t) || n.push(this) }); else { var i = "string" == typeof e ? this.filter(e) : o(e) && a(e.item) ? ue.call(e) : t(e); s(i) && (i = t.map(i, function (e) { return e })), this.each(function (e, t) { i.indexOf(t) < 0 && n.push(t) }) } return t(n) }, indexOf: function (e) { for (var t = 0; t < this.length; t++)if (this[t] === e) return t }, index: function (e) { return e ? this.indexOf(t(e)[0]) : this.parent().children().indexOf(this[0]) }, get: function (e) { return void 0 === e ? ue.call(this) : this[e >= 0 ? e : e + this.length] }, eq: function (t) { if (void 0 === t) return this; var n, a = this.length; return t > a - 1 ? new e([]) : t < 0 ? (n = a + t, new e(n < 0 ? [] : [this[n]])) : new e([this[t]]) }, append: function (t) { var n, a; for (n = 0; n < this.length; n++)if ("string" == typeof t) { var s = document.createElement("div"); for (s.innerHTML = t; s.firstChild;)this[n].appendChild(s.firstChild) } else if (t instanceof e) for (a = 0; a < t.length; a++)this[n].appendChild(t[a]); else this[n].appendChild(t); return this }, appendTo: function (e) { return t(e).append(this), this }, prepend: function (t) { var n, a; for (n = 0; n < this.length; n++)if ("string" == typeof t) { var s = document.createElement("div"); for (s.innerHTML = t, a = s.childNodes.length - 1; a >= 0; a--)this[n].insertBefore(s.childNodes[a], this[n].childNodes[0]) } else if (t instanceof e) for (a = 0; a < t.length; a++)this[n].insertBefore(t[a], this[n].childNodes[0]); else this[n].insertBefore(t, this[n].childNodes[0]); return this }, prependTo: function (e) { return t(e).prepend(this), this }, insertBefore: function (e) { for (var n = t(e), a = 0; a < this.length; a++)if (1 === n.length) n[0].parentNode.insertBefore(this[a], n[0]); else if (n.length > 1) for (var s = 0; s < n.length; s++)n[s].parentNode.insertBefore(this[a].cloneNode(!0), n[s]); return this }, insertAfter: function (e) { for (var n = t(e), a = 0; a < this.length; a++)if (1 === n.length) n[0].parentNode.insertBefore(this[a], n[0].nextSibling); else if (n.length > 1) for (var s = 0; s < n.length; s++)n[s].parentNode.insertBefore(this[a].cloneNode(!0), n[s].nextSibling); return this }, next: function (n) { return new e(this.length > 0 ? n ? this[0].nextElementSibling && t(this[0].nextElementSibling).is(n) ? [this[0].nextElementSibling] : [] : this[0].nextElementSibling ? [this[0].nextElementSibling] : [] : []) }, nextAll: function (n) { var a = [], s = this[0]; if (!s) return new e([]); for (; s.nextElementSibling;) { var o = s.nextElementSibling; n ? t(o).is(n) && a.push(o) : a.push(o), s = o } return new e(a) }, prev: function (n) { return new e(this.length > 0 ? n ? this[0].previousElementSibling && t(this[0].previousElementSibling).is(n) ? [this[0].previousElementSibling] : [] : this[0].previousElementSibling ? [this[0].previousElementSibling] : [] : []) }, prevAll: function (n) { var a = [], s = this[0]; if (!s) return new e([]); for (; s.previousElementSibling;) { var o = s.previousElementSibling; n ? t(o).is(n) && a.push(o) : a.push(o), s = o } return new e(a) }, parent: function (e) { for (var n = [], a = 0; a < this.length; a++)null !== this[a].parentNode && (e ? t(this[a].parentNode).is(e) && n.push(this[a].parentNode) : n.push(this[a].parentNode)); return t(t.unique(n)) }, parents: function (e) { for (var n = [], a = 0; a < this.length; a++)for (var s = this[a].parentNode; s;)e ? t(s).is(e) && n.push(s) : n.push(s), s = s.parentNode; return t(t.unique(n)) }, find: function (t) { for (var n = [], a = 0; a < this.length; a++)for (var s = this[a].querySelectorAll(t), o = 0; o < s.length; o++)n.push(s[o]); return new e(n) }, children: function (n) { for (var a = [], s = 0; s < this.length; s++)for (var o = this[s].childNodes, i = 0; i < o.length; i++)n ? 1 === o[i].nodeType && t(o[i]).is(n) && a.push(o[i]) : 1 === o[i].nodeType && a.push(o[i]); return new e(t.unique(a)) }, remove: function () { for (var e = 0; e < this.length; e++)this[e].parentNode && this[e].parentNode.removeChild(this[e]); return this }, add: function () { var e, n, a = this; for (e = 0; e < arguments.length; e++) { var s = t(arguments[e]); for (n = 0; n < s.length; n++)a[a.length] = s[n], a.length++ } return a }, before: function (e) { return t(e).insertBefore(this), this }, after: function (e) { return t(e).insertAfter(this), this }, scrollTop: function (e) { if (this.length) { var t = "scrollTop" in this[0]; return void 0 === e ? t ? this[0].scrollTop : this[0].pageYOffset : this.each(t ? function () { this.scrollTop = e } : function () { this.scrollTo(this.scrollX, e) }) } }, scrollLeft: function (e) { if (this.length) { var t = "scrollLeft" in this[0]; return void 0 === e ? t ? this[0].scrollLeft : this[0].pageXOffset : this.each(t ? function () { this.scrollLeft = e } : function () { this.scrollTo(e, this.scrollY) }) } }, contents: function () { return this.map(function (e, t) { return ue.call(t.childNodes) }) }, nextUntil: function (e) { for (var n = this, a = []; n.length && !n.filter(e).length;)a.push(n[0]), n = n.next(); return t(a) }, prevUntil: function (e) { for (var n = this, a = []; n.length && !t(n).filter(e).length;)a.push(n[0]), n = n.prev(); return t(a) }, detach: function () { return this.remove() } }, t.fn = e.prototype, t }(), de = me; ee.$ = me, de.inArray = function (e, t, n) { return le.indexOf.call(t, e, n) }, de.extend = function (e) { var t, n = ue.call(arguments, 1); return "boolean" == typeof e && (t = e, e = n.shift()), e = e || {}, n.forEach(function (n) { r(e, n, t) }), e }, de.isFunction = a, de.isArray = function (e) { return "[object Array]" === Object.prototype.toString.apply(e) }, de.isPlainObject = function (e) { return s(e) && null !== e && e !== e.window && Object.getPrototypeOf(e) == Object.prototype }, de.each = function (e, t) { var n, a; if (s(e) && t) { if (de.isArray(e) || e instanceof me) for (n = 0; n < e.length && !1 !== t.call(e[n], n, e[n]); n++); else for (a in e) if (e.hasOwnProperty(a) && "length" !== a && !1 === t.call(e[a], a, e[a])) break; return this } }, de.unique = function (e) { for (var t = [], n = 0; n < e.length; n++)-1 === t.indexOf(e[n]) && t.push(e[n]); return t }, de.map = function (e, t) { var n, a, s, i = []; if (o(e)) for (a = 0; a < e.length; a++)null !== (n = t(e[a], a)) && i.push(n); else for (s in e) null !== (n = t(e[s], s)) && i.push(n); return i.length > 0 ? de.fn.concat.apply([], i) : i }, de.matches = function (e, t) { return !(!t || !e || 1 !== e.nodeType) && (e.matchesSelector || e.webkitMatchesSelector || e.mozMatchesSelector || e.msMatchesSelector).call(e, t) }; var pe, he, fe, Te, xe = [], be = "undefined" != typeof window, ve = be ? navigator.userAgent : "", ge = ve.match(/Android|iPhone|iPad|iPod|Windows Phone|Windows|MSIE/i), ye = be && window.requestAnimationFrame || function (e) { e() }, _e = be && window.cancelAnimationFrame || function () { }; /Android/i.test(ge) ? (pe = "android", (he = ve.match(/Android\s+([\d\.]+)/i)) && (xe = he[0].replace("Android ", "").split("."))) : /iPhone|iPad|iPod/i.test(ge) ? (pe = "ios", (he = ve.match(/OS\s+([\d\_]+)/i)) && (xe = he[0].replace(/_/g, ".").replace("OS ", "").split("."))) : /Windows Phone/i.test(ge) ? pe = "wp" : /Windows|MSIE/i.test(ge) && (pe = "windows"), fe = xe[0], Te = xe[1]; var Se = 0; be && (["mouseover", "mousedown", "mouseup", "click"].forEach(function (e) { document.addEventListener(e, _, !0) }), "android" == pe && fe < 5 && document.addEventListener("change", function (e) { Se && "checkbox" == e.target.type && !e.target.mbscChange && (e.stopPropagation(), e.preventDefault()), delete e.target.mbscChange }, !0)); var we, Me = ee.$, ke = +new Date, Ce = {}, Ne = {}, Oe = { getCoord: g, preventClick: b, vibrate: f }, De = Me.extend; we = De(ee, { $: Me, version: "4.0.0", autoTheme: "mobiscroll", themes: { form: {}, page: {}, frame: {}, scroller: {}, listview: {}, navigation: {}, progress: {}, card: {} }, platform: { name: pe, majorVersion: fe, minorVersion: Te }, i18n: {}, instances: Ce, classes: Ne, util: Oe, settings: {}, setDefaults: function (e) { De(this.settings, e) }, customTheme: function (e, t) { var n, a = ee.themes, s = ["frame", "scroller", "listview", "navigation", "form", "page", "progress", "card"]; for (n = 0; n < s.length; n++)a[s[n]][e] = De({}, a[s[n]][t], { baseTheme: t }) } }); var Pe, Ae, Ee, Le, Fe, je, He, Ve, Ie, ze, Je, Re = function (e, t) { var n, a, s, o, i, r, c, l = this; l.settings = {}, l._init = u, l._destroy = u, l._processSettings = u, l.init = function (u) { var m; for (m in l.settings) delete l.settings[m]; s = l.settings, De(t, u), l._hasDef && (c = we.settings), De(s, l._defaults, c, t), l._hasTheme && (i = s.theme, "auto" != i && i || (i = we.autoTheme), "default" == i && (i = "mobiscroll"), t.theme = i, o = we.themes[l._class] ? we.themes[l._class][i] : {}), l._hasLang && (n = we.i18n[s.lang]), De(s, o, n, c, t), l._processSettings(), l._presets && (a = l._presets[s.preset]) && (a = a.call(e, l), De(s, a, t)), l._init(u), r("onInit") }, l.destroy = function () { l && (l._destroy(), r("onDestroy"), delete Ce[e.id], l = null) }, l.tap = function (e, t, n, a, s) { y(l, e, t, n, a, s) }, l.trigger = function (n, s) { var i, r, u, m = [c, o, a, t]; for (r = 0; r < 4; r++)(u = m[r]) && u[n] && (i = u[n].call(e, s || {}, l)); return i }, l.option = function (e, n) { var a = {}, o = ["data", "invalid", "valid", "marked", "labels", "colors", "readonly"]; "object" === (void 0 === e ? "undefined" : te(e)) ? a = e : a[e] = n, o.forEach(function (e) { t[e] = s[e] }), l.init(a) }, l.getInst = function () { return l }, t = t || {}, r = l.trigger, l.__ready || function () { Me(e).addClass("mbsc-comp"), e.id ? Ce[e.id] && Ce[e.id].destroy() : e.id = "mobiscroll" + ++ke, Ce[e.id] = l, l.__ready = !0 }() }, $e = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]) } return e }, We = n.bool, Ye = n.string, Be = n.func, Ue = n.number, Ke = n.object, Ge = n.oneOfType([Ue, n.arrayOf(Ue)]), Xe = { theme: Ye, lang: Ye, rtl: We, context: n.oneOfType([Ye, Ke]) }, Ze = { anchor: n.oneOfType([Ye, Ke]), animate: n.oneOfType([We, n.oneOf(["fade", "flip", "pop", "swing", "slidevertical", "slidehorizontal", "slidedown", "slideup"])]), buttons: n.array, closeOnOverlayTap: We, cssClass: Ye, disabled: We, display: n.oneOf(["top", "bottom", "bubble", "inline", "center"]), focusOnClose: n.oneOfType([We, Ye, Ke]), focusTrap: We, headerText: n.oneOfType([We, Ye, Be]), showOnFocus: We, showOnTap: We, onBeforeClose: Be, onBeforeShow: Be, onCancel: Be, onClose: Be, onDestroy: Be, onMarkupReady: Be, onPosition: Be, onShow: Be }, qe = { circular: n.oneOfType([We, n.arrayOf(We)]), height: Ue, layout: n.oneOf(["liquid", "fixed"]), maxWidth: Ge, minWidth: Ge, multiline: Ue, readOnly: n.oneOfType([We, n.arrayOf(We)]), rows: Ue, showLabel: We, showScrollArrows: We, wheels: n.array, width: Ue, onChange: Be, validate: Be, onSet: Be, onItemTap: Be, onClear: Be, cancelText: Ye, clearText: Ye, selectedText: Ye, setText: Ye, formatValue: Be, parseValue: Be }, Qe = (n.array, n.shape({ hour: Ue, minute: Ue, second: Ue, zeroBased: We }), n.array, n.arrayOf(Ye), n.arrayOf(Ye), n.arrayOf(Ye), n.arrayOf(Ye), n.oneOf(["horizontal", "vertical"]), n.oneOfType([Ke, n.array]), n.arrayOf(n.shape({ start: Ke, end: Ke, d: n.oneOfType([Ke, Ue, Ye]), text: Ye, color: Ye, background: Ye, cssClass: Ye })), n.arrayOf(n.shape({ start: Ke, end: Ke, d: n.oneOfType([Ke, Ue, Ye]), text: Ye, color: Ye, background: Ye, cssClass: Ye })), n.arrayOf(n.oneOfType([Ke, Ye, n.shape({ d: n.oneOfType([Ke, Ye, Ue]), color: Ye, background: Ye, cssClass: Ye })])), n.arrayOf(n.shape({ d: n.oneOfType([Ke, Ye, Ue]), background: Ye, cssClass: Ye })), n.oneOf(["year", "month"]), n.oneOf(["full", "short", "min"]), n.arrayOf(Ye), n.arrayOf(Ye), Ae = Pe = function (e) { function t(e) { ne(this, t); var n = ie(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e)); Ee.call(n), n.initialCssClass = n.props.className || ""; var a = n.getSettingsFromProps(e); return n.state = { options: a, value: e.value, data: e.data, cssClasses: e.className }, n } return oe(t, e), t }(e.Component), Ee = function () {
          var e = this; this.render = function () { return null }, this.componentWillReceiveProps = function (t) {
              var n = e.getSettingsFromProps(t); e.state.cssClasses !== t.className && M.call(e, e.state.cssClasses, t.className), e.setState({
                  options: n, value: t.value, data: t.data, cssClasses: t.className
              })
          }, this.getSettingsFromProps = function (e) {
              var t = {}; if (void 0 !== e) {/* eslint-disable no-unused-vars */
                  var n = e.options, a = (e.children, e.value, e.data, e.className, w(e, ["options", "children", "value", "data", "className"])), s = n || "{}"; t = n || {}, void 0 !== n && "string" == typeof s && (t = new Function("return " + s + ";")()), t = De({}, t, a)
              } return t
          }, this.componentWillUnmount = function () { e.instance.destroy(), delete e.instance }
      }, Ae), et = function (e) { function t(e) { ne(this, t); var n = ie(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e)); return n.componentDidUpdate = function () { var e = De({}, n.state.options); n.optimizeUpdate ? (n.optimizeUpdate.updateOptions && n.instance.option(e), n.optimizeUpdate.updateValue && void 0 !== n.state.value && !k(n.state.value, n.instance.getVal()) && n.instance.setVal(n.state.value, !0)) : (n.instance.option(e), void 0 !== n.state.value && n.instance.setVal(n.state.value, !0)) }, n } return oe(t, e), t }(Qe), tt = function (e) { function t(e) { ne(this, t); var n = ie(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e)); return n.shouldComponentUpdate = function (e, t) { var a = !k(t.options, n.state.options), s = !k(t.value, n.state.value), o = !k(e.children, n.props.children); return n.optimizeUpdate = { updateOptions: a, updateValue: s, updateChildren: o }, a || s || o }, n } return oe(t, e), t }(et), nt = (Fe = Le = function (n) { function a() { var n, s, o; ne(this, a); for (var i, r = arguments.length, c = Array(r), l = 0; l < r; l++)c[l] = arguments[l]; return i = s = ie(this, (n = a.__proto__ || Object.getPrototypeOf(a)).call.apply(n, [this].concat(c))), s.render = function () { var t = s.props, n = t.type, a = t.readOnly, o = t.disabled, i = t.placeholder; return n = n || "text", s.props.children ? s.props.children : e.createElement("input", { className: s.initialCssClass, type: n, readOnly: a, disabled: o, placeholder: i }) }, s.componentDidMount = function () { var e = De({}, s.mbscInit, s.state.options); s.instance = new Ne[s.mbscInit.component || "Scroller"](t.findDOMNode(s), e), void 0 !== s.props.value && s.instance.setVal(s.props.value, !0) }, o = i, ie(s, o) } return oe(a, n), a }(tt), Le.propTypes = $e({}, Xe, Ze), Fe); He = je = function (n) { function a() { var n, s, o; ne(this, a); for (var i, r = arguments.length, c = Array(r), l = 0; l < r; l++)c[l] = arguments[l]; return i = s = ie(this, (n = a.__proto__ || Object.getPrototypeOf(a)).call.apply(n, [this].concat(c))), s.render = function () { return e.createElement("ul", { className: s.initialCssClass + " mbsc-cloak" }, s.props.children) }, s.componentDidMount = function () { var e = De({}, s.mbscInit, s.state.options), n = t.findDOMNode(s); s.instance = new Ne[s.mbscInit.component || "Scroller"](n, e), void 0 !== s.props.value && s.instance.setVal(s.props.value, !0), (s.instance._markup || Me(n)).on("click", function (e) { e.stopPropagation() }) }, s.componentDidUpdate = function () { !s.optimizeUpdate.updateOptions && s.optimizeUpdate.updateChildren && s.instance.option(s.state.options); var e = t.findDOMNode(s); (s.instance._markup || Me(e)).on("click", function (e) { e.stopPropagation() }) }, o = i, ie(s, o) } return oe(a, n), a }(tt), je.propTypes = $e({}, Xe, Ze, qe); be && (Ie = document.createElement("modernizr").style, ze = function () { var e, t = ["Webkit", "Moz", "O", "ms"]; for (e in t) if (C([t[e] + "Transform"])) return "-" + t[e].toLowerCase() + "-"; return "" }(), Je = ze.replace(/^\-/, "").replace(/\-$/, "").replace("moz", "Moz"), Ve = void 0 !== Ie.animation ? "animationend" : "webkitAnimationEnd"); var at = ["touchstart", "touchmove", "touchend", "touchcancel", "mousedown", "mousemove", "mouseup", "mouseleave"], st = { tap: !0 }, ot = void 0, it = function () { function e(t, n) { var a = this; ne(this, e); var s = De({}, st, ee.settings, n), o = Me(t), i = o.parent(), r = i.hasClass("mbsc-input-wrap") ? i.parent() : i, c = o.next().hasClass("mbsc-fr") ? o.next() : null, l = D(o); c && c.insertAfter(r), V(r, l), o.addClass("mbsc-control"), at.forEach(function (e) { t.addEventListener(e, a) }), this.settings = s, this._type = l, this._elm = t, this._$elm = o, this._$parent = r, this._$frame = c, this._ripple = P(s.theme), t.mbscInst = this } return ae(e, [{ key: "destroy", value: function () { var e = this; this._$elm.removeClass("mbsc-control"), at.forEach(function (t) { e._elm.removeEventListener(t, e) }), delete this._elm.mbscInst } }, { key: "option", value: function (e) { De(this.settings, e), this._ripple = P(this.settings.theme) } }, { key: "handleEvent", value: function (e) { switch (e.type) { case "touchstart": case "mousedown": this._onStart(e); break; case "touchmove": case "mousemove": this._onMove(e); break; case "touchend": case "touchcancel": case "mouseup": case "mouseleave": this._onEnd(e) } } }, { key: "_addRipple", value: function (e) { this._ripple && this._$rippleElm && this._ripple.addRipple(this._$rippleElm, e) } }, { key: "_removeRipple", value: function () { this._ripple && this._$rippleElm && this._ripple.removeRipple() } }, { key: "_onStart", value: function (e) { var t = this._elm; N(e, t) && (this._startX = g(e, "X"), this._startY = g(e, "Y"), ot && ot.removeClass("mbsc-active"), t.disabled || (this._isActive = !0, ot = this._$elm, ot.addClass("mbsc-active"), this._addRipple(e))) } }, { key: "_onMove", value: function (e) { (this._isActive && Math.abs(g(e, "X") - this._startX) > 9 || Math.abs(g(e, "Y") - this._startY) > 9) && (this._$elm.removeClass("mbsc-active"), this._removeRipple(), this._isActive = !1) } }, { key: "_onEnd", value: function (e) { var t = this, n = this._elm, a = this._type; this._isActive && this.settings.tap && "touchend" == e.type && !n.readOnly && (n.focus(), /(button|submit|checkbox|switch|radio)/.test(a) && e.preventDefault(), /select/.test(a) || v(e, n)), this._isActive && setTimeout(function () { t._$elm.removeClass("mbsc-active"), t._removeRipple() }, 100), this._isActive = !1, ot = null } }]), e }(), rt = function (e) { function t(e, n) { ne(this, t); var a = ie(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n)); return H(a, a._$parent, a._$elm), a._$parent.addClass("mbsc-input"), a } return oe(t, e), ae(t, [{ key: "destroy", value: function () { se(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), "destroy", this).call(this), this._$parent.removeClass("mbsc-ic-left mbsc-ic-right").find(".mbsc-input-ic").remove() } }]), t }(it), ct = function (e) { function t(e, n) { ne(this, t); var a = ie(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n)), s = a._$elm, o = s.attr("data-icon"); return s.addClass("mbsc-btn").find(".mbsc-btn-ic").remove(), o && (s.prepend('<span class="mbsc-btn-ic mbsc-ic mbsc-ic-' + o + '"></span>'), "" === s.text() && s.addClass("mbsc-btn-icon-only")), a._$rippleElm = s, a } return oe(t, e), t }(it), lt = function (e) { function t(e, n) { ne(this, t); var a = ie(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n)); return a._$parent.prepend(a._$elm).addClass("mbsc-checkbox mbsc-control-w").find(".mbsc-checkbox-box").remove(), a._$elm.after('<span class="mbsc-checkbox-box"></span>'), a } return oe(t, e), t }(it), ut = function (e) { function t(e, n) { ne(this, t); var a = ie(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n)); return a._$parent.addClass("mbsc-radio mbsc-control-w").find(".mbsc-radio-box").remove(), a._$elm.after('<span class="mbsc-radio-box"><span></span></span>'), a } return oe(t, e), t }(it), mt = function (e) { function t(e, n) { ne(this, t); var a = ie(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n)), s = a._$elm, o = a._$parent, i = o.find("input.mbsc-control"), r = i.length ? i : Me('<input tabindex="-1" class="mbsc-control" readonly>'); return a._$input = r, o.addClass("mbsc-select" + (a._$frame ? " mbsc-select-inline" : "")), s.after(r), r.after('<span class="mbsc-select-ic mbsc-ic mbsc-ic-arrow-down5"></span>'), s.hasClass("mbsc-comp") || (e.addEventListener("change", a), a._setText()), a } return oe(t, e), ae(t, [{ key: "destroy", value: function () { se(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), "destroy", this).call(this), this._$parent.find(".mbsc-select-ic").remove(), this._elm.removeEventListener("change", this) } }, { key: "handleEvent", value: function (e) { se(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), "handleEvent", this).call(this, e), "change" == e.type && this._setText() } }, { key: "_setText", value: function () { var e = this._elm; this._$elm.hasClass("mbsc-comp") || this._$input.val(-1 != e.selectedIndex ? e.options[e.selectedIndex].text : "") } }]), t }(rt), dt = ["keydown", "input", "scroll"], pt = void 0; be && Me(window).on("resize orientationchange", A); var ht = function (e) { function t(e, n) { ne(this, t); var a = ie(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n)); return a._$parent.addClass("mbsc-textarea"), dt.forEach(function (e) { a._elm.addEventListener(e, a) }), E(e), a } return oe(t, e), ae(t, [{ key: "destroy", value: function () { var e = this; se(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), "destroy", this).call(this), dt.forEach(function (t) { e._elm.removeEventListener(t, e) }) } }, { key: "handleEvent", value: function (e) { switch (se(t.prototype.__proto__ || Object.getPrototypeOf(t.prototype), "handleEvent", this).call(this, e), e.type) { case "keydown": case "input": this._onInput(e); break; case "scroll": L(this._elm) } } }, { key: "_onInput", value: function () { var e = this; clearTimeout(this._debounce), this._debounce = setTimeout(function () { E(e._elm) }, 100) } }]), t }(rt), ft = function (e) { function t(e, n) { ne(this, t); var a = ie(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, n)), s = void 0, o = void 0, i = a._$elm, r = a._$parent; return r.hasClass("mbsc-segmented-item-ready") || (s = Me('<div class="mbsc-segmented"></div>'), r.after(s), r.parent().find('input[name="' + i.attr("name") + '"]').each(function () { var e = Me(this); o = e.parent().addClass("mbsc-segmented-item mbsc-segmented-item-ready"), Me('<span class="mbsc-segmented-content">' + (e.attr("data-icon") ? '<span class="mbsc-ic mbsc-ic-' + e.attr("data-icon") + '"></span>' : "") + "</span>").append(o.contents()).appendTo(o), o.prepend(e), s.append(o) })), a._$rippleElm = i.next(), a } return oe(t, e), t }(it), Tt = function (e, t) { function n() { var t; e.disabled || (t = parseFloat(Me(this).val()), o(isNaN(t) ? b : t)) } function a() { return e.disabled } function s(e, t) { o(b + t * h) } function o(e, t, n) { S = b, void 0 === t && (t = !0), void 0 === n && (n = t), b = Math.min(m, Math.max(Math.round(e / h) * h, d)), l.removeClass("mbsc-disabled"), t && _.val(b), b == d ? c.addClass("mbsc-disabled") : b == m && r.addClass("mbsc-disabled"), b !== S && n && _.trigger("change") } function i(e, t) { var n = _.attr(e); return void 0 === n || "" === n ? t : +n } var r, c, l, u, m, d, p, h, f, T, x, b, v, g, y = this, _ = Me(e), S = b; Re.call(this, e, t, !0), y.getVal = function () { var e = parseFloat(_.val()); return e = isNaN(e) ? b : e, Math.min(m, Math.max(Math.round(e / h) * h, d)) }, y.setVal = function (e, t, n) { e = parseFloat(e), o(isNaN(e) ? b : e, t, n) }, y._init = function (t) { v = _.parent().hasClass("mbsc-stepper"), g = v ? _.closest(".mbsc-stepper-cont") : _.parent(), T = y.settings, d = void 0 === t.min ? i("min", T.min) : t.min, m = void 0 === t.max ? i("max", T.max) : t.max, h = void 0 === t.step ? i("step", T.step) : t.step, u = _.attr("data-val") || T.val, b = Math.min(m, Math.max(Math.round(+e.value / h) * h || 0, d)), x = ee.themes.form[T.theme], p = x && x.addRipple ? x : null, v || g.addClass("mbsc-stepper-cont mbsc-control-w").append('<span class="mbsc-segmented mbsc-stepper"></span>').find(".mbsc-stepper").append('<span class="mbsc-segmented-item mbsc-stepper-control mbsc-stepper-minus ' + (b == d ? "mbsc-disabled" : "") + '" data-step="-1" tabindex="0"><span class="mbsc-segmented-content"><span class="mbsc-ic mbsc-ic-minus"></span></span></span>').append('<span class="mbsc-segmented-item mbsc-stepper-control mbsc-stepper-plus ' + (b == m ? "mbsc-disabled" : "") + '"  data-step="1" tabindex="0"><span class="mbsc-segmented-content"> <span class="mbsc-ic mbsc-ic-plus"></span></span></span>').prepend(_), c = Me(".mbsc-stepper-minus", g), r = Me(".mbsc-stepper-plus", g), l = Me(".mbsc-stepper-control", g), v || ("left" == u ? (g.addClass("mbsc-stepper-val-left"), _.after('<span class="mbsc-segmented-item"><span class="mbsc-segmented-content"></span></span>')) : "right" == u ? (g.addClass("mbsc-stepper-val-right"), r.after('<span class="mbsc-segmented-item"><span class="mbsc-segmented-content"></span></span>')) : c.after('<span class="mbsc-segmented-item"><span class="mbsc-segmented-content mbsc-stepper-val"></span></span>')), f || (_.on("change", n), f = F(l, s, 150, a, !1, p)), _.val(b).attr("data-role", "stepper").attr("min", d).attr("max", m).attr("step", h).addClass("mbsc-control"), e.mbscInst = y }, y._destroy = function () { _.removeClass("mbsc-control").off("change", n), f.destroy(), delete e.mbscInst }, y.init(t) }; Tt.prototype = { _class: "stepper", _hasDef: !0, _defaults: { min: 0, max: 100, step: 1 } }, Ne.Stepper = Tt; var xt = function (e, t, n) { var a, s, o, i, r = this; Re.call(this, e, t, !0), r.__init = u, r.__destroy = u, r._init = function (t) { var n; i = r.settings, a = Me(e), n = !!s, s = a.parent(), s = s.hasClass("mbsc-input-wrap") ? s.parent() : s, r._$parent = s, o && s.removeClass(o), o = r._css + " mbsc-progress-w mbsc-control-w mbsc-" + i.theme + (i.baseTheme ? " mbsc-" + i.baseTheme : "") + (i.rtl ? " mbsc-rtl" : " mbsc-ltr"), s.addClass(o), a.addClass("mbsc-control"), r.__init(t), n || r._attachChange(), r.refresh(), e.mbscInst = r }, r._destroy = function () { r.__destroy(), s.removeClass(o), a.removeClass("mbsc-control"), delete e.mbscInst }, n || r.init(t) }, bt = function (e, t, n) { function a(t) { "mousedown" === t.type && t.preventDefault(), !N(t, this) || k && !j || e.disabled || e.readOnly || (B.stopProp && t.stopPropagation(), k = !0, R = !1, O = !1, K = g(t, "X"), G = g(t, "Y"), E = K, M.removeClass("mbsc-progress-anim"), v = $ ? Me(".mbsc-slider-handle", this) : _, y && y.removeClass("mbsc-handle-curr"), y = v.parent().addClass("mbsc-active mbsc-handle-curr"), x.addClass("mbsc-active"), F = +v.attr("data-index"), q = M[0].offsetWidth, A = M[0].getBoundingClientRect().left, "mousedown" === t.type && (H = !0, Me(document).on("mousemove", s).on("mouseup", o)), "mouseenter" === t.type && (j = !0, Me(document).on("mousemove", s))) } function s(e) { k && (E = g(e, "X"), L = g(e, "Y"), D = E - K, P = L - G, Math.abs(D) > 5 && (R = !0), (R || H || j) && Math.abs(te - new Date) > 50 && (te = new Date, h(E, B.round, I && (!j || H))), R ? e.preventDefault() : Math.abs(P) > 7 && "touchmove" == e.type && p()) } function o(e) { k && (e.preventDefault(), $ || M.addClass("mbsc-progress-anim"), j && !H ? f(Q[F], F, !1, !1, !0) : h(E, !0, !0), R || O || ("touchend" == e.type && b(), ee._onTap(Q[F])), "mouseup" == e.type && (H = !1), "mouseleave" == e.type && (j = !1), j || p()) } function i() { k && p() } function r() { var e = ee._readValue(Me(this)), t = +Me(this).attr("data-index"); e !== Q[t] && (Q[t] = e, W[t] = e, f(e, t)) } function c(e) { e.stopPropagation() } function l(e) { e.preventDefault() } function m(t) { var n; if (!e.disabled) { switch (t.keyCode) { case 38: case 39: n = 1; break; case 40: case 37: n = -1 }n && (t.preventDefault(), Z || (F = +Me(this).attr("data-index"), f(Q[F] + Y * n, F, !0), Z = setInterval(function () { f(Q[F] + Y * n, F, !0) }, 200))) } } function d(e) { e.preventDefault(), clearInterval(Z), Z = null } function p() { k = !1, y.removeClass("mbsc-active"), x.removeClass("mbsc-active"), Me(document).off("mousemove", s).off("mouseup", o) } function h(e, t, n) { var a = t ? Math.min(Math[ee._rounding || "round"](Math.max(100 * (e - A) / q, 0) / U / Y) * Y * 100 / (z - J + C), 100) : Math.max(0, Math.min(100 * (e - A) / q, 100)); V && (a = 100 - a), f(Math.round((J - C + a / U) * X) / X, F, n, a) } function f(e, t, n, a, s, o) { var i = _.eq(t), r = i.parent(); e = Math.min(z, Math.max(e, J)), void 0 === o && (o = n), ee._update ? e = ee._update(e, Q, t, a, $, s, r) : r.css({ left: V ? "auto" : (a || T(e, J, z)) + "%", right: V ? (a || T(e, J, z)) + "%" : "auto" }), e > J ? r.removeClass("mbsc-slider-start") : (Q[t] > J || s) && r.addClass("mbsc-slider-start"), n && W[t] != e && (O = !0, W[t] = e, Q[t] = e, ee._fillValue(e, t, o)), i.attr("aria-valuenow", e) } var x, v, y, _, S, w, M, k, C, O, D, P, A, E, L, F, j, H, V, I, z, J, R, $, W, Y, B, U, K, G, X, Z, q, Q, ee = this, te = new Date; xt.call(this, e, t, !0), ee._onTap = u, ee.___init = u, ee.___destroy = u, ee._attachChange = function () { x.on(B.changeEvent, r) }, ee.__init = function (e) { var t; _ && (t = !0, _.parent().remove()), ee.___init(e), w = ee._$parent, M = ee._$track, x = w.find("input"), B = ee.settings, J = ee._min, z = ee._max, C = ee._base || 0, Y = ee._step, I = ee._live, X = Y % 1 != 0 ? 100 / (100 * +(Y % 1).toFixed(2)) : 1, U = 100 / (z - J + C) || 100, $ = x.length > 1, V = B.rtl, Q = [], W = [], x.each(function (e) { Q[e] = ee._readValue(Me(this)), Me(this).attr("data-index", e) }), _ = w.find(".mbsc-slider-handle"), S = w.find($ ? ".mbsc-slider-handle-cont" : ".mbsc-progress-cont"), _.on("keydown", m).on("keyup", d).on("blur", d), S.on("touchstart mousedown" + (B.hover ? " mouseenter" : ""), a).on("touchmove", s).on("touchend touchcancel" + (B.hover ? " mouseleave" : ""), o).on("pointercancel", i), t || (x.on("click", c), w.on("click", l)) }, ee.__destroy = function () { w.off("click", l), x.off(B.changeEvent, r).off("click", c), _.off("keydown", m).off("keyup", d).off("blur", d), S.off("touchstart mousedown mouseenter", a).off("touchmove", s).off("touchend touchcancel mouseleave", o).off("pointercancel", i), ee.___destroy() }, ee.refresh = function () { x.each(function (e) { f(ee._readValue(Me(this)), e, !0, !1, !0, !1) }) }, ee.getVal = function () { return $ ? Q.slice(0) : Q[0] }, ee.setVal = ee._setVal = function (e, t, n) { Me.isArray(e) || (e = [e]), Me.each(e, function (e, t) { Q[e] = t }), Me.each(e, function (e, t) { f(t, e, !0, !1, !0, n) }) }, n || ee.init(t) }, vt = function (e, t) { var n, a, s, o, i = this; t = t || {}, De(t, { changeEvent: "click", round: !1 }), bt.call(this, e, t, !0), i._readValue = function () { return e.checked ? 1 : 0 }, i._fillValue = function (e, t, a) { n.prop("checked", !!e), a && n.trigger("change") }, i._onTap = function (e) { i._setVal(e ? 0 : 1) }, i.___init = function () { s = i.settings, n = Me(e), a = n.parent(), a.find(".mbsc-switch-track").remove(), a.prepend(n), n.attr("data-role", "switch").after('<span class="mbsc-progress-cont mbsc-switch-track"><span class="mbsc-progress-track mbsc-progress-anim"><span class="mbsc-slider-handle-cont"><span class="mbsc-slider-handle mbsc-switch-handle" data-index="0"><span class="mbsc-switch-txt-off">' + s.offText + '</span><span class="mbsc-switch-txt-on">' + s.onText + "</span></span></span></span></span>"), o && o.destroy(), o = new it(e, s), i._$track = a.find(".mbsc-progress-track"), i._min = 0, i._max = 1, i._step = 1 }, i.___destroy = function () { o.destroy() }, i.getVal = function () { return e.checked }, i.setVal = function (e, t, n) { i._setVal(e ? 1 : 0, t, n) }, i.init(t) }; vt.prototype = { _class: "switch", _css: "mbsc-switch", _hasTheme: !0, _hasLang: !0, _hasDef: !0, _defaults: { stopProp: !0, offText: "Off", onText: "On" } }, Ne.Switch = vt;/* eslint-disable no-unused-vars */
      var gt = function (e, t, n) { function a() { var e = s("value", d); e !== T && o(e) } function s(e, t) { var n = r.attr(e); return void 0 === n || "" === n ? t : +n } function o(e, t, n, a) { e = Math.min(p, Math.max(e, d)), l.css("width", 100 * (e - d) / (p - d) + "%"), void 0 === n && (n = !0), void 0 === a && (a = n), (e !== T || t) && b._display(e), e !== T && (T = e, n && r.attr("value", T), a && r.trigger("change")) } var i, r, c, l, u, m, d, p, h, f, T, x, b = this; xt.call(this, e, t, !0), b._display = function (e) { x = f && h.returnAffix ? f.replace(/\{value\}/, e).replace(/\{max\}/, p) : e, u && u.html(x), i && i.html(x) }, b._attachChange = function () { r.on("change", a) }, b.__init = function (t) { var n, a, o, x; if (h = b.settings, r = Me(e), x = !!c, c = b._$parent, d = b._min = void 0 === t.min ? s("min", h.min) : t.min, p = b._max = void 0 === t.max ? s("max", h.max) : t.max, T = s("value", d), n = r.attr("data-val") || h.val, o = r.attr("data-step-labels"), o = o ? JSON.parse(o) : h.stepLabels, f = r.attr("data-template") || (100 != p || h.template ? h.template : "{value}%"), x ? (n && (i.remove(), c.removeClass("mbsc-progress-value-" + ("right" == n ? "right" : "left"))), o && Me(".mbsc-progress-step-label", m).remove()) : (V(c), j(r), c.find(".mbsc-input-wrap").append('<span class="mbsc-progress-cont"><span class="mbsc-progress-track mbsc-progress-anim"><span class="mbsc-progress-bar"></span></span></span>'), l = b._$progress = c.find(".mbsc-progress-bar"), m = b._$track = c.find(".mbsc-progress-track")), r.attr("min", d).attr("max", p), n && (i = Me('<span class="mbsc-progress-value"></span>'), c.addClass("mbsc-progress-value-" + ("right" == n ? "right" : "left")).find(".mbsc-input-wrap").append(i)), o) for (a = 0; a < o.length; ++a)m.append('<span class="mbsc-progress-step-label" style="' + (h.rtl ? "right" : "left") + ": " + 100 * (o[a] - d) / (p - d) + '%" >' + o[a] + "</span>"); u = Me(r.attr("data-target") || h.target) }, b.__destroy = function () { c.removeClass("mbsc-ic-left mbsc-ic-right").find(".mbsc-progress-cont").remove(), c.find(".mbsc-input-ic").remove(), r.off("change", a) }, b.refresh = function () { o(s("value", d), !0, !1) }, b.getVal = function () { return T }, b.setVal = function (e, t, n) { o(e, !0, t, n) }, n || b.init(t) }; gt.prototype = { _class: "progress", _css: "mbsc-progress", _hasTheme: !0, _hasLang: !0, _hasDef: !0, _defaults: { min: 0, max: 100, returnAffix: !0 } }, Ne.Progress = gt; var yt = function (e, t, n) { var a, s, o, i, r, c, l, u, m, d, p, h, f, b = this; gt.call(this, e, t, !0); var v = b.__init, g = b.__destroy; bt.call(this, e, t, !0); var y = b.__init, _ = b.__destroy; b.__init = function (e) { v(e), y(e) }, b.__destroy = function () { g(), _() }, b._update = function (e, t, n, a, s, r, h) { return u ? 0 === n ? (e = Math.min(e, t[1]), o.css({ width: T(t[1], p, d) - T(e, p, d) + "%", left: m ? "auto" : T(e, p, d) + "%", right: m ? T(e, p, d) + "%" : "auto" })) : (e = Math.max(e, t[0]), o.css({ width: T(e, p, d) - T(t[0], p, d) + "%" })) : s || !c ? h.css({ left: m ? "auto" : (a || T(e, p, d)) + "%", right: m ? (a || T(e, p, d)) + "%" : "auto" }) : o.css("width", (a || T(e, p, d)) + "%"), l && i.eq(n).html(e), s || t[n] == e && !r || b._display(e), e }, b._readValue = function (e) { return +e.val() }, b._fillValue = function (e, t, n) { a.eq(t).val(e), n && a.eq(t).trigger("change") }, b._markupReady = function () { var e, t; if (l && s.addClass("mbsc-slider-has-tooltip"), 1 != h) for (t = (d - p) / h, e = 0; e <= t; ++e)r.append('<span class="mbsc-slider-step" style="' + (m ? "right" : "left") + ":" + 100 / t * e + '%"></span>'); a.each(function (e) { "range" == this.type && Me(this).attr("min", p).attr("max", d).attr("step", h), (c ? o : r).append('<span class="mbsc-slider-handle-cont' + (u && !e ? " mbsc-slider-handle-left" : "") + '"><span tabindex="0" class="mbsc-slider-handle" aria-valuemin="' + p + '" aria-valuemax="' + d + '" data-index="' + e + '"></span>' + (l ? '<span class="mbsc-slider-tooltip"></span>' : "") + "</span>") }), i = s.find(".mbsc-slider-tooltip") }, b.___init = function (e) { s && (s.removeClass("mbsc-slider-has-tooltip"), 1 != h && Me(".mbsc-slider-step", r).remove()), s = b._$parent, r = b._$track, o = b._$progress, a = s.find("input"), f = b.settings, p = b._min, d = b._max, b._step = h = void 0 === e.step ? +a.attr("step") || f.step : e.step, b._live = x("data-live", f.live, a), l = x("data-tooltip", f.tooltip, a), c = x("data-highlight", f.highlight, a) && a.length < 3, u = c && 2 == a.length, m = f.rtl, b._markupReady() }, n || b.init(t) }; yt.prototype = { _class: "progress", _css: "mbsc-progress mbsc-slider", _hasTheme: !0, _hasLang: !0, _hasDef: !0, _defaults: { changeEvent: "change", stopProp: !0, min: 0, max: 100, step: 1, live: !0, highlight: !0, round: !0, returnAffix: !0 } }, Ne.Slider = yt; var _t = function (e, t, n) { var a, s, o, i, r, c, l, u = this, m = Me(e); yt.call(this, e, t, !0), u._update = function (e, t, n, s, i, r) { return a.css("width", T(e, 0, o) + "%"), i || t[n] == e && !r || u._display(e), e }, u._markupReady = function () { var e, t = "", n = ""; for (s = u._$track, a = u._$progress, l = u.settings, i = u._min, o = u._max, u._base = i, u._rounding = l.rtl ? "floor" : "ceil", r = m.attr("data-empty") || l.empty, c = m.attr("data-filled") || l.filled, e = 0; e < o; ++e)t += '<span class="mbsc-ic mbsc-ic-' + r + '"></span>', n += '<span class="mbsc-ic mbsc-ic-' + c + '"></span>'; s.html(t), s.append(a), a.html(n), s.append('<span class="mbsc-rating-handle-cont"><span tabindex="0" class="mbsc-slider-handle" aria-valuemin="' + i + '" aria-valuemax="' + o + '" data-index="0"></span></span>') }, n || u.init(t) }; _t.prototype = { _class: "progress", _css: "mbsc-progress mbsc-rating", _hasTheme: !0, _hasLang: !0, _hasDef: !0, _defaults: { changeEvent: "change", stopProp: !0, min: 1, max: 5, step: 1, live: !0, round: !0, hover: !0, highlight: !0, returnAffix: !0, empty: "star", filled: "star3" } }, Ne.Rating = _t; var St, wt, Mt = 0, kt = "mbsc-input-wrap", Ct = ee.themes, Nt = /(iphone|ipod)/i.test(ve) && fe >= 7, Ot = "android" == pe, Dt = "ios" == pe, Pt = Dt && 8 == fe, At = Dt && fe > 7, Et = function (e) { e.preventDefault() }, Lt = function (e, t, n) { function a(e) { D && D.removeClass("mbsc-active"), D = Me(this), D.hasClass("mbsc-disabled") || D.hasClass("mbsc-fr-btn-nhl") || D.addClass("mbsc-active"), "mousedown" === e.type ? Me(document).on("mouseup", s) : "pointerdown" === e.type && Me(document).on("pointerup", s) } function s(e) { D && (D.removeClass("mbsc-active"), D = null), "mouseup" === e.type ? Me(document).off("mouseup", s) : "pointerup" === e.type && Me(document).off("pointerup", s) } function o(e) { 13 == e.keyCode ? te.select() : 27 == e.keyCode && te.cancel() } function i(e) { e || Ot || te._activeElm.focus() } function r(e) { var t = St, n = B.focusOnClose; te._markupRemove(), S.remove(), L && (P.mbscModals-- , B.scrollLock && P.mbscLock-- , P.mbscLock || _.removeClass("mbsc-fr-lock"), P.mbscModals || (_.removeClass("mbsc-fr-lock-ios mbsc-fr-lock-ctx"), z && (v.css({ top: "", left: "" }), C.scrollLeft(U), C.scrollTop(G)), e || (t || (t = ne), setTimeout(function () { void 0 === n || !0 === n ? (wt = !0, t[0].focus()) : n && Me(n)[0].focus() }, 200)))), te._isVisible = !1, F = !1, Z("onHide") } function c(e) { clearTimeout($), $ = setTimeout(function () { te.position(!0), "orientationchange" == e.type && (R.style.display = "none", R.offsetHeight, R.style.display = "") }, 200) } function l(e) { e.target.nodeType && !J.contains(e.target) && se - new Date > 100 && (J.focus(), se = new Date) } function m(e, t) { function n() { S.off(Ve, n).removeClass("mbsc-anim-in mbsc-anim-trans mbsc-anim-trans-" + A).find(".mbsc-fr-popup").removeClass("mbsc-anim-" + A), i(t) } if (L) S.appendTo(v); else if (ne.is("div") && !te._hasContent) ne.empty().append(S); else if (ne.hasClass("mbsc-control")) { var o = ne.closest(".mbsc-control-w"); S.insertAfter(o), o.hasClass("mbsc-select") && o.addClass("mbsc-select-inline") } else S.insertAfter(ne); F = !0, te._markupInserted(S), Z("onMarkupInserted", { target: j }), S.on("selectstart mousedown", Et).on("click", ".mbsc-fr-btn-e", Et).on("keydown", ".mbsc-fr-btn-e", function (e) { 32 == e.keyCode && (e.preventDefault(), e.stopPropagation(), this.click()) }).on("keydown", function (e) { if (32 == e.keyCode) e.preventDefault(); else if (9 == e.keyCode && L && B.focusTrap) { var t = S.find('[tabindex="0"]').filter(function () { return this.offsetWidth > 0 || this.offsetHeight > 0 }), n = t.index(Me(":focus", S)), a = t.length - 1, s = 0; e.shiftKey && (a = 0, s = -1), n === a && (t.eq(s)[0].focus(), e.preventDefault()) } }).on("touchstart mousedown pointerdown", ".mbsc-fr-btn-e", a).on("touchend", ".mbsc-fr-btn-e", s), Me("input,select,textarea", S).on("selectstart mousedown", function (e) { e.stopPropagation() }).on("keydown", function (e) { 32 == e.keyCode && e.stopPropagation() }), j.addEventListener("touchstart", function () { X || (X = !0, v.find(".mbsc-no-touch").removeClass("mbsc-no-touch")) }, !0), Me.each(O, function (e, t) { te.tap(Me(".mbsc-fr-btn" + e, S), function (e) { t = p(t) ? te.buttons[t] : t, (p(t.handler) ? te.handlers[t.handler] : t.handler).call(this, e, te) }, !0) }), te._attachEvents(S), te.position(), C.on(W, c), L && (A && !e ? S.addClass("mbsc-anim-in mbsc-anim-trans mbsc-anim-trans-" + A).on(Ve, n).find(".mbsc-fr-popup").addClass("mbsc-anim-" + A) : i(t)), Z("onShow", { target: j, valueText: te._tempValue }) } function d(e, t) { e && e(), !1 !== te.show() && (St = t) } function f() { te._fillValue(), Z("onSet", { valueText: te._value }) } function T() { Z("onCancel", { valueText: te._value }) } function x() { te.setVal(null, !0) } var v, y, _, S, w, M, k, C, N, O, D, P, A, E, L, F, j, H, V, I, z, J, R, $, W, Y, B, U, K, G, X, Z, q, Q, te = this, ne = Me(e), ae = [], se = new Date; Re.call(this, e, t, !0), te.position = function (e) { var t, n, a, s, o, i, r, c, l, u, m, d, p, f, T, x, b, g = {}, y = 0, _ = 0, w = 0, O = 0; !Y && F && (te._position(S), p = j.offsetHeight, f = j.offsetWidth, q === f && Q === p && e || (te._isFullScreen || /top|bottom/.test(B.display) ? k.width(f) : L && N.addClass("mbsc-fr-pos").width(""), Me(".mbsc-comp", S).each(function () { var e = Ce[this.id]; e && e !== te && e.position && e.position() }), !te._isFullScreen && /center|bubble/.test(B.display) && (Me(".mbsc-w-p", S).each(function () { T = this.getBoundingClientRect().width, O += T, w = T > w ? T : w }), d = O > f - 16 || !0 === B.tabs, N.removeClass("mbsc-fr-pos").css({ width: te._isLiquid ? Math.min(B.maxPopupWidth, f - 16) : Math.ceil(d ? w : O), "white-space": d ? "" : "nowrap" })), !1 !== Z("onPosition", { target: j, popup: R, hasTabs: d, windowWidth: f, windowHeight: p }) && L && (H = R.offsetWidth, V = R.offsetHeight, K = V <= p && H <= f, I && (y = C.scrollLeft(), _ = C.scrollTop()), "center" == B.display ? (b = Math.max(0, y + (f - H) / 2), x = Math.max(0, _ + (p - V) / 2)) : "bubble" == B.display ? (t = void 0 === B.anchor ? ne : Me(B.anchor), r = Me(".mbsc-fr-arr-i", S)[0], s = t.offset(), o = s.top + (E ? _ - v.offset().top : 0), i = s.left + (E ? y - v.offset().left : 0), n = t[0].offsetWidth, a = t[0].offsetHeight, c = r.offsetWidth, l = r.offsetHeight, b = h(i - (H - n) / 2, y + 3, y + f - H - 3), x = o - V - l / 2, x < _ || o > _ + p ? (k.removeClass("mbsc-fr-bubble-top").addClass("mbsc-fr-bubble-bottom"), x = o + a + l / 2) : k.removeClass("mbsc-fr-bubble-bottom").addClass("mbsc-fr-bubble-top"), Me(".mbsc-fr-arr", S).css({ left: h(i + n / 2 - (b + (H - c) / 2), 0, c) }), K = x > _ && b > y && x + V <= _ + p && b + H <= y + f) : (b = y, x = "top" == B.display ? _ : Math.max(0, _ + p - V)), I && (u = Math.max(x + V, E ? P.scrollHeight : Me(document).height()), m = Math.max(b + H, E ? P.scrollWidth : Me(document).width()), M.css({ width: m, height: u }), B.scroll && "bubble" == B.display && (x + V + 8 > _ + p || o > _ + p || o + a < _) && (Y = !0, setTimeout(function () { Y = !1 }, 300), C.scrollTop(Math.min(o, x + V - p + 8, u - p)))), g.top = Math.floor(x), g.left = Math.floor(b), k.css(g), q = f, Q = p))) }, te.attachShow = function (e, t) { var n, a = Me(e), s = a.prop("readonly"); if ("inline" !== B.display) { if ((B.showOnFocus || B.showOnTap) && a.is("input,select") && (a.prop("readonly", !0).on("mousedown.mbsc", function (e) { e.preventDefault() }).on("focus.mbsc", function () { te._isVisible && this.blur() }), n = Me('label[for="' + a.attr("id") + '"]'), n.length || (n = a.closest("label"))), a.is("select")) return; B.showOnFocus && a.on("focus.mbsc", function () { wt ? wt = !1 : d(t, a) }), B.showOnTap && (a.on("keydown.mbsc", function (e) { 32 != e.keyCode && 13 != e.keyCode || (e.preventDefault(), e.stopPropagation(), d(t, a)) }), te.tap(a, function (e) { "touchend" == e.type && (X = !0), d(t, a) }), n && n.length && te.tap(n, function () { d(t, a) })), ae.push({ readOnly: s, el: a, lbl: n }) } }, te.select = function () { L ? te.hide(!1, "set", !1, f) : f() }, te.cancel = function () { L ? te.hide(!1, "cancel", !1, T) : T() }, te.clear = function () { te._clearValue(), Z("onClear"), L && te._isVisible && !te.live ? te.hide(!1, "clear", !1, x) : x() }, te.enable = function () { B.disabled = !1, te._isInput && ne.prop("disabled", !1) }, te.disable = function () { B.disabled = !0, te._isInput && ne.prop("disabled", !0) }, te.show = function (e, t) { var n, a; if (!B.disabled && !te._isVisible) { if (te._readValue(), !1 === Z("onBeforeShow")) return !1; if (St = null, A = B.animate, O = B.buttons || [], I = E || "bubble" == B.display, z = Nt && !I && B.scrollLock, n = O.length > 0, !1 !== A && ("top" == B.display ? A = A || "slidedown" : "bottom" == B.display ? A = A || "slideup" : "center" != B.display && "bubble" != B.display || (A = A || "pop")), L && (G = Math.max(0, C.scrollTop()), U = Math.max(0, C.scrollLeft()), q = 0, Q = 0, z && !_.hasClass("mbsc-fr-lock-ios") && v.css({ top: -G + "px", left: -U + "px" }), _.addClass((B.scrollLock ? "mbsc-fr-lock" : "") + (z ? " mbsc-fr-lock-ios" : "") + (E ? " mbsc-fr-lock-ctx" : "")), Me(document.activeElement).is("input,textarea") && document.activeElement.blur(), ee.activeInstance && ee.activeInstance.hide(), ee.activeInstance = te, P.mbscModals = P.mbscModals || 0, P.mbscLock = P.mbscLock || 0, P.mbscModals++ , B.scrollLock && P.mbscLock++), a = '<div lang="' + B.lang + '" class="mbsc-fr mbsc-' + B.theme + (B.baseTheme ? " mbsc-" + B.baseTheme : "") + " mbsc-fr-" + B.display + " " + (B.cssClass || "") + " " + (B.compClass || "") + (te._isLiquid ? " mbsc-fr-liq" : "") + (At ? " mbsc-fr-hb" : "") + (X ? "" : " mbsc-no-touch") + (z ? " mbsc-platform-ios" : "") + (n ? O.length >= 3 ? " mbsc-fr-btn-block " : "" : " mbsc-fr-nobtn") + '">' + (L ? '<div class="mbsc-fr-persp"><div class="mbsc-fr-overlay"></div><div role="dialog" tabindex="-1" class="mbsc-fr-scroll">' : "") + '<div class="mbsc-fr-popup' + (B.rtl ? " mbsc-rtl" : " mbsc-ltr") + (B.headerText ? " mbsc-fr-has-hdr" : "") + '">' + ("bubble" === B.display ? '<div class="mbsc-fr-arr-w"><div class="mbsc-fr-arr-i"><div class="mbsc-fr-arr"></div></div></div>' : "") + '<div class="mbsc-fr-w">' + (B.headerText ? '<div class="mbsc-fr-hdr">' + (p(B.headerText) ? B.headerText : "") + "</div>" : "") + '<div class="mbsc-fr-c">', a += te._generateContent(), a += "</div>", n) { var s, i, r, c = O.length; for (a += '<div class="mbsc-fr-btn-cont">', i = 0; i < O.length; i++)r = B.btnReverse ? c - i - 1 : i, s = O[r], s = p(s) ? te.buttons[s] : s, "set" === s.handler && (s.parentClass = "mbsc-fr-btn-s"), "cancel" === s.handler && (s.parentClass = "mbsc-fr-btn-c"), a += "<div" + (B.btnWidth ? ' style="width:' + 100 / O.length + '%"' : "") + ' class="mbsc-fr-btn-w ' + (s.parentClass || "") + '"><div tabindex="0" role="button" class="mbsc-fr-btn' + r + " mbsc-fr-btn-e " + (void 0 === s.cssClass ? B.btnClass : s.cssClass) + (s.icon ? " mbsc-ic mbsc-ic-" + s.icon : "") + '">' + (s.text || "") + "</div></div>"; a += "</div>" } if (a += "</div></div></div></div>" + (L ? "</div></div>" : ""), S = Me(a), M = Me(".mbsc-fr-persp", S), w = Me(".mbsc-fr-scroll", S), N = Me(".mbsc-fr-w", S), k = Me(".mbsc-fr-popup", S), y = Me(".mbsc-fr-hdr", S), j = S[0], J = w[0], R = k[0], te._activeElm = J, te._markup = S, te._isVisible = !0, W = "orientationchange resize", te._markupReady(S), Z("onMarkupReady", { target: j }), L && (Me(window).on("keydown", o), B.scrollLock && S.on("touchmove mousewheel wheel", function (e) { K && e.preventDefault() }), B.focusTrap && C.on("focusin", l), B.closeOnOverlayTap)) { var u, d, h, f; w.on("touchstart mousedown", function (e) { d || e.target != w[0] || (d = !0, u = !1, h = g(e, "X"), f = g(e, "Y")) }).on("touchmove mousemove", function (e) { d && !u && (Math.abs(g(e, "X") - h) > 9 || Math.abs(g(e, "Y") - f) > 9) && (u = !0) }).on("touchcancel", function () { d = !1 }).on("touchend touchcancel mouseup", function (e) { d && !u && (te.cancel(), "mouseup" != e.type && b()), d = !1 }) } L && z ? setTimeout(function () { m(e, t) }, 100) : m(e, t) } }, te.hide = function (e, t, n, a) { function s() { S.off(Ve, s), r(e) } if (!te._isVisible || !n && !te._isValid && "set" == t || !n && !1 === Z("onBeforeClose", { valueText: te._tempValue, button: t })) return !1; L && (Me(document.activeElement).is("input,textarea") && R.contains(document.activeElement) && document.activeElement.blur(), Me(window).off("keydown", o), delete ee.activeInstance), S && (L && A && !e ? S.addClass("mbsc-anim-out mbsc-anim-trans mbsc-anim-trans-" + A).on(Ve, s).find(".mbsc-fr-popup").addClass("mbsc-anim-" + A) : r(e), te._detachEvents(S), C.off(W, c).off("focusin", l)), a && a(), ne.trigger("blur"), Z("onClose", { valueText: te._value }) }, te.isVisible = function () { return te._isVisible }, te.setVal = u, te.getVal = u, te._generateContent = u, te._attachEvents = u, te._detachEvents = u, te._readValue = u, te._clearValue = u, te._fillValue = u, te._markupReady = u, te._markupInserted = u, te._markupRemove = u, te._position = u, te.__processSettings = u, te.__init = u, te.__destroy = u, te._destroy = function () { te.hide(!0, !1, !0), ne.off(".mbsc"), Me.each(ae, function (e, t) { t.el.off(".mbsc").prop("readonly", t.readOnly), t.lbl && t.lbl.off(".mbsc") }), te.__destroy() }, te._updateHeader = function () { var t = B.headerText; y.html(t ? "function" == typeof t ? t.call(e, te._tempValue) : t.replace(/\{value\}/i, te._tempValue) : "") }, te._processSettings = function () { var e, t; for (te.__processSettings(), B.buttons = B.buttons || ("inline" !== B.display ? ["cancel", "set"] : []), B.headerText = void 0 === B.headerText ? "inline" !== B.display && "{value}" : B.headerText, O = B.buttons || [], L = "inline" !== B.display, E = "body" != B.context, v = Me(B.context), _ = E ? v : Me("body,html"), P = v[0], te._$window = C = Me(E ? B.context : window), te.live = !0, t = 0; t < O.length; t++)"ok" != (e = O[t]) && "set" != e && "set" != e.handler || (te.live = !1); te.buttons.set = { text: B.setText, icon: B.setIcon, handler: "set" }, te.buttons.cancel = { text: B.cancelText, icon: B.cancelIcon, handler: "cancel" }, te.buttons.close = { text: B.closeText, icon: B.closeIcon, handler: "cancel" }, te.buttons.clear = { text: B.clearText, icon: B.clearIcon, handler: "clear" }, te._isInput = ne.is("input") }, te._init = function () { te._isVisible && te.hide(!0, !1, !0), ne.off(".mbsc"), te.__init(), te._isLiquid = "liquid" == B.layout, L ? (te._readValue(), te._hasContent || te.attachShow(ne)) : te.show(), ne.on("change.mbsc", function () { te._preventChange || te.setVal(ne.val(), !0, !1), te._preventChange = !1 }).removeClass("mbsc-cloak") }, te.buttons = {}, te.handlers = { set: te.select, cancel: te.cancel, clear: te.clear }, te._value = null, te._isValid = !0, te._isVisible = !1, B = te.settings, Z = te.trigger, n || te.init(t) }; Lt.prototype._defaults = { lang: "en", setText: "Set", selectedText: "{count} selected", closeText: "Close", cancelText: "Cancel", clearText: "Clear", context: "body", maxPopupWidth: 600, disabled: !1, closeOnOverlayTap: !0, showOnFocus: Ot || Dt, showOnTap: !0, display: "center", scroll: !0, scrollLock: !0, tap: !0, btnClass: "mbsc-fr-btn", btnWidth: !0, focusTrap: !0, focusOnClose: !Pt }, Ne.Frame = Lt, Ct.frame.mobiscroll = { headerText: !1, btnWidth: !1 }, Ct.scroller.mobiscroll = De({}, Ct.frame.mobiscroll, { rows: 5, showLabel: !1, selectedLineBorder: 1, weekDays: "min", checkIcon: "ion-ios7-checkmark-empty", btnPlusClass: "mbsc-ic mbsc-ic-arrow-down5", btnMinusClass: "mbsc-ic mbsc-ic-arrow-up5", btnCalPrevClass: "mbsc-ic mbsc-ic-arrow-left5", btnCalNextClass: "mbsc-ic mbsc-ic-arrow-right5" }), be && Me(window).on("focus", function () { St && (wt = !0) }); var Ft = function (e, t, n) { function a(e) { Me(".mbsc-fr-c", e).hasClass("mbsc-wdg-c") || (Me(".mbsc-fr-c", e).addClass("mbsc-wdg-c").append(r.show()), Me(".mbsc-w-p", e).length || Me(".mbsc-fr-c", e).addClass("mbsc-w-p")) } var s, o, i, r = Me(e), c = this; Lt.call(this, e, t, !0), c._generateContent = function () { return "" }, c._markupReady = function (e) { "inline" != s.display && a(e) }, c._markupInserted = function (e) { "inline" == s.display && a(e), e.trigger("mbsc-enhance", [{ theme: s.theme, lang: s.lang }]) }, c._markupRemove = function () { r.hide(), o ? o.prepend(r) : i.after(r) }, c.__processSettings = function () { s = c.settings, c.buttons.ok = { text: s.okText, icon: s.okIcon, handler: "set" }, s.buttons = s.buttons || ("inline" == s.display ? [] : ["ok"]), o || i || (i = r.prev(), i.length || (o = r.parent())), r.hide() }, c.__init = function () { s.cssClass = (s.cssClass || "") + " mbsc-wdg" }, n || c.init(t) }; Ft.prototype = { _hasDef: !0, _hasTheme: !0, _hasContent: !0, _hasLang: !0, _class: "widget", _defaults: De({}, Lt.prototype._defaults, { okText: "OK", headerText: !1 }) }, Ne.Widget = Ft, ee.themes.widget = ee.themes.frame; var jt = be && !!window.Promise, Ht = [], Vt = []; ee.alert = function (e) { var t = document.createElement("div"); return t.innerHTML = $(e), G(W, t, e) }, ee.confirm = function (e) { var t = document.createElement("div"); return t.innerHTML = $(e), G(Y, t, e) }, ee.prompt = function (e) { var t = document.createElement("div"); return t.innerHTML = $(e) + '<label class="mbsc-input">' + (e.label ? '<span class="mbsc-label">' + e.label + "</span>" : "") + '<input tabindex="0" type="' + (e.inputType || "text") + '" placeholder="' + (e.placeholder || "") + '" value="' + (e.value || "") + '"></label>', G(B, t, e) }, ee.snackbar = function (e) { var t = document.createElement("div"); return t.innerHTML = '<div class="mbsc-snackbar-cont"><div class="mbsc-snackbar-msg">' + (e.message || "") + "</div>" + (e.button ? '<button class="mbsc-snackbar-btn mbsc-btn mbsc-btn-flat">' + (e.button.text || "") + "</button>" : "") + "</div>", G(U, t, e) }, ee.toast = function (e) { var t = document.createElement("div"); return t.innerHTML = '<div class="mbsc-toast-msg">' + (e.message || "") + "</div>", G(K, t, e) }; var It = "ios" == pe && fe > 7, zt = function (e, t) { function n() { o.removeClass("mbsc-no-touch") } var a, s = "", o = Me(e), i = {}, r = this; Re.call(this, e, t, !0), r.refresh = function (e) { I(o, i, a, e) }, r._init = function () { ee.themes.form[a.theme] || (a.theme = "mobiscroll"), o.hasClass("mbsc-form") || o.on("touchstart", n).show(), s && o.removeClass(s), s = "mbsc-form mbsc-no-touch mbsc-" + a.theme + (It ? " mbsc-form-hb" : "") + (a.baseTheme ? " mbsc-" + a.baseTheme : "") + (a.rtl ? " mbsc-rtl" : " mbsc-ltr"), o.addClass(s).removeClass("mbsc-cloak"), r.refresh() }, r._destroy = function () { o.removeClass(s).off("touchstart", n); for (var e in i) i[e].destroy() }, a = r.settings, r.init(t) }; zt.prototype = { _hasDef: !0, _hasTheme: !0, _hasLang: !0, _class: "form", _defaults: { tap: !0, stopProp: !0, lang: "en" } }, ee.themes.form.mobiscroll = {}, Ne.Form = zt, S("[mbsc-enhance],[mbsc-form]", zt, !0); var Jt = function (e, t) { var n = "", a = Me(e), s = this, o = s.settings; Re.call(this, e, t, !0), s._init = function () { var e = o.context, t = Me(e), s = t.find(".mbsc-ms-top .mbsc-ms"), i = t.find(".mbsc-ms-bottom .mbsc-ms"), r = {}; "body" == e ? Me("body,html").addClass("mbsc-page-ctx") : t.addClass("mbsc-page-ctx"), n && a.removeClass(n), s.length && (r.paddingTop = s[0].offsetHeight), i.length && (r.paddingBottom = i[0].offsetHeight), n = "mbsc-page mbsc-" + o.theme + (o.baseTheme ? " mbsc-" + o.baseTheme : "") + (o.rtl ? " mbsc-rtl" : " mbsc-ltr"), a.addClass(n).removeClass("mbsc-cloak").css(r) }, s._destroy = function () { a.removeClass(n) }, o = s.settings, s.init(t) }; Jt.prototype = { _hasDef: !0, _hasTheme: !0, _hasLang: !0, _class: "page", _defaults: { context: "body" } }, Ne.Page = Jt, ee.themes.page.mobiscroll = {}, S("[mbsc-page]", Jt); var Rt, $t, Wt = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]) } return e }, Yt = function (n) { function a(n) { ne(this, a); var s = ie(this, (a.__proto__ || Object.getPrototypeOf(a)).call(this, n)); return s.componentDidMount = function () { var e = De({}, s.state.options); s.instance = new Jt(t.findDOMNode(s), e) }, s.render = function () { return e.createElement("div", { className: s.initialCssClass }, s.props.children) }, s } return oe(a, n), a }(tt); Yt.propTypes = Wt({}, Yt.propTypes, Xe, { onInit: n.func }); var Bt = ($t = Rt = function (t) { function n(t) { ne(this, n); var a = ie(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t)); return a.render = function () { var t = "mbsc-note mbsc-note-" + a.props.color; return e.createElement("div", { className: t }, a.props.children) }, a } return oe(n, t), n }(e.Component), Rt.propTypes = { color: n.string }, Rt.defaultProps = { color: "primary" }, $t), Ut = function (t) { function n(t) { ne(this, n); var a = ie(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t)); return a.render = function () { return e.createElement("img", { className: "mbsc-avatar", src: a.props.src, alt: a.props.alt }) }, a } return oe(n, t), n }(e.Component); ee.Page = Yt, ee.Note = Bt, ee.Avatar = Ut; var Kt, Gt, Xt, Zt, qt, Qt, en, tn, nn, an, sn, on, rn, cn, ln, un, mn, dn, pn, hn, fn, Tn, xn, bn, vn, gn, yn = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]) } return e }, _n = n.number, Sn = n.string, wn = n.func, Mn = n.bool, kn = { onInit: wn, onChange: wn, value: _n, disabled: Mn, min: _n, max: _n, step: _n, val: n.oneOf(["left", "right"]) }, Cn = { onInit: wn, onChange: wn, checked: Mn, disabled: Mn, value: Mn }, Nn = (Gt = Kt = function (n) { function a(n) { ne(this, a); var s = ie(this, (a.__proto__ || Object.getPrototypeOf(a)).call(this, n)); return s.componentDidMount = function () { var e = De({}, s.state.options); s.instance = new zt(t.findDOMNode(s), e) }, s.componentDidUpdate = function () { if (!s.optimizeUpdate.updateOptions && s.optimizeUpdate.updateChildren) s.instance.refresh(!0); else if (s.optimizeUpdate.updateOptions) { var e = De({}, s.state.options); s.instance.option(e) } }, s.checkFormWrapper = function (t) { return 1 == e.Children.count(t.props.children) && "form" == t.props.children.type }, s.render = function () { var t = s.props, n = t.action, a = t.method, o = t.noValidate, i = t.renderForm, r = t.name, c = t.target, l = t.autoComplete, u = t.onSubmit; return s.checkFormWrapper(s) || !i ? s.props.children : e.createElement("form", { className: s.initialCssClass, action: n, name: r, target: c, method: a, autoComplete: l, noValidate: o, onSubmit: u }, s.props.children) }, s } return oe(a, n), a }(tt), Kt.defaultProps = { renderForm: !0 }, Kt.propTypes = yn({}, Xe, { onInit: wn }), Gt); ee.Form = Nn; var On = (Zt = Xt = function (t) {
          function n(t) {
              ne(this, n); var a = ie(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t)); return a.render = function () {/* eslint-disable no-unused-vars */
                  var t = a.props, n = (t.valid, t.className, t.color), s = t.children, o = t.presetName, i = X(t, ["valid", "className", "color", "children", "presetName"]), r = ""; n && (r = "mbsc-" + o + "-" + n); var c = r + (a.initialCssClass ? " " : "") + a.initialCssClass; return e.createElement("label", yn({ className: c }, i), s)
              }, a.componentWillReceiveProps = function (e) { var t = (a.state.cssClasses || "") + (void 0 === a.props.valid || a.props.valid ? "" : " mbsc-err"), n = (e.className || "") + (void 0 === a.props.valid || e.valid ? "" : " mbsc-err"); t == n && e.valid == a.props.valid || M.call(a, t, n), a.state.cssClasses !== e.cssClasses && a.setState({ cssClasses: e.className }) }, a.initialCssClass = (a.props.className || "") + (void 0 === a.props.valid || a.props.valid ? "" : " mbsc-err"), a.state = { cssClasses: a.props.className || "" }, a
          } return oe(n, t), n
      }(e.Component), Xt.propTypes = { valid: n.bool, color: n.string, presetName: n.string }, Zt); ee.Form.Label = On, ee.Label = On; var Dn = (Qt = qt = function (t) { function n(t) { ne(this, n); var a = ie(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t)); return a.componentDidMount = function () { var e = De({}, a.state.options); a.instance = new rt(a.inputNode, e) }, a.inputMounted = function (e) { a.inputNode = e }, a.render = function () { var t = a.props, n = t.valid, s = t.errorMessage, o = t.type, i = t.icon, r = t.iconAlign, c = t.passwordToggle, l = t.iconShow, u = t.iconHide, m = t.children, d = X(t, ["valid", "errorMessage", "type", "icon", "iconAlign", "passwordToggle", "iconShow", "iconHide", "children"]), p = null; return s && !n && (p = e.createElement("span", { className: "mbsc-err-msg" }, s)), o = o || "text", e.createElement(On, { valid: n }, m, e.createElement("span", { className: "mbsc-input-wrap" }, e.createElement("input", yn({ ref: a.inputMounted, type: o, "data-icon": i, "data-icon-align": r, "data-password-toggle": c, "data-icon-show": l, "data-icon-hide": u }, d)), p)) }, a } return oe(n, t), n }(Qe), qt.propTypes = { disabled: n.bool, valid: n.bool, errorMessage: n.string, type: n.string, icon: n.string, iconAlign: n.string, passwordToggle: n.bool, iconShow: n.string, iconHide: n.string, name: n.string }, Qt); ee.Input = Dn; var Pn = (tn = en = function (t) { function n(t) { ne(this, n); var a = ie(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t)); return a.componentDidMount = function () { var e = De({}, a.state.options); a.instance = new ht(a.inputNode, e) }, a.textMounted = function (e) { a.inputNode = e }, a.render = function () { var t = a.props, n = t.valid, s = t.errorMessage, o = t.icon, i = t.iconAlign, r = t.children, c = X(t, ["valid", "errorMessage", "icon", "iconAlign", "children"]), l = null; return s && !n && (l = e.createElement("span", { className: "mbsc-err-msg" }, s)), e.createElement(On, { valid: n }, r, e.createElement("span", { className: "mbsc-input-wrap" }, e.createElement("textarea", yn({ ref: a.textMounted, "data-icon": o, "data-icon-align": i }, c)), l)) }, a } return oe(n, t), n }(Qe), en.propTypes = { disabled: n.bool, valid: n.bool, errorMessage: n.string, icon: n.string, iconAlign: n.string, name: n.string }, tn); ee.Textarea = Pn; var An = (an = nn = function (t) { function n(t) { ne(this, n); var a = ie(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t)); return a.componentDidMount = function () { var e = De({}, a.state.options); a.instance = new mt(a.selectNode, e) }, a.selectMounted = function (e) { a.selectNode = e }, a.componentDidUpdate = function () { a.instance._setText() }, a.render = function () { var t = a.props, n = t.label, s = t.valid, o = t.errorMessage, i = t.icon, r = t.iconAlign, c = t.children, l = X(t, ["label", "valid", "errorMessage", "icon", "iconAlign", "children"]), u = null; return u = o && !s ? e.createElement("span", { className: "mbsc-err-msg" }, o) : e.createElement("span", null), e.createElement(On, { valid: s }, n, e.createElement("span", { className: "mbsc-input-wrap" }, e.createElement("select", yn({ ref: a.selectMounted, "data-icon": i, "data-icon-align": r }, l), c), u)) }, a } return oe(n, t), n }(Qe), nn.propTypes = { label: n.string, disabled: n.bool, valid: n.bool, errorMessage: n.string, icon: n.string, iconAlign: n.string, name: n.string }, an); ee.Dropdown = An; var En = (on = sn = function (t) { function n(t) { ne(this, n); var a = ie(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t)); return a.componentDidMount = function () { var e = De({}, a.state.options); a.instance = new ct(a.btnNode, e) }, a.btnMounted = function (e) { a.btnNode = e }, a.render = function () { var t = a.props, n = t.type, s = t.children, o = t.color, i = t.flat, r = t.block, c = t.outline, l = t.icon, u = X(t, ["type", "children", "color", "flat", "block", "outline", "icon"]); n = n || "button"; var m = ""; return i && (m += " mbsc-btn-flat"), r && (m += " mbsc-btn-block"), c && (m += " mbsc-btn-outline"), o && (m += " mbsc-btn-" + o), a.initialCssClass && (m += " " + a.initialCssClass), m = m.trim(), e.createElement("button", yn({ className: m, ref: a.btnMounted, type: n, "data-icon": l }, u), s) }, a } return oe(n, t), n }(Qe), sn.propTypes = { type: n.string, color: n.string, flat: n.bool, block: n.bool, outline: n.bool, icon: n.string, disabled: n.bool, name: n.string }, on); ee.Button = En; var Ln = (cn = rn = function (t) { function n(t) { ne(this, n); var a = ie(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t)); return a.componentDidMount = function () { var e = De({}, a.state.options); a.instance = new lt(a.inputNode, e) }, a.inputMounted = function (e) { a.inputNode = e }, a.render = function () { var t = a.props, n = t.color, s = t.children, o = X(t, ["color", "children"]); return e.createElement(On, { color: n, presetName: "checkbox" }, e.createElement("input", yn({ ref: a.inputMounted, type: "checkbox" }, o)), s) }, a } return oe(n, t), n }(Qe), rn.propTypes = { color: n.string, disabled: n.bool, name: n.string }, cn); ee.Checkbox = Ln; var Fn = (un = ln = function (t) { function n(t) { ne(this, n); var a = ie(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t)); return a.componentDidMount = function () { var e = De({}, a.state.options); a.instance = new ut(a.inputNode, e) }, a.inputMounted = function (e) { a.inputNode = e }, a.render = function () { var t = a.props, n = t.color, s = t.children, o = X(t, ["color", "children"]); return e.createElement(On, { color: n, presetName: "radio" }, e.createElement("input", yn({ ref: a.inputMounted, type: "radio" }, o)), s) }, a } return oe(n, t), n }(Qe), ln.propTypes = { color: n.string, name: n.string, disabled: n.bool }, un); ee.Radio = Fn; var jn = (dn = mn = function (t) { function n(t) { ne(this, n); var a = ie(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t)); return a.componentDidMount = function () { var e = De({}, a.state.options); a.instance = new ft(a.inputNode, e) }, a.inputMounted = function (e) { a.inputNode = e }, a.render = function () { var t = a.props, n = t.color, s = t.children, o = t.multiSelect, i = t.icon, r = X(t, ["color", "children", "multiSelect", "icon"]), c = o ? "checkbox" : "radio"; return e.createElement(On, { color: n, presetName: "segmented" }, e.createElement("input", yn({ ref: a.inputMounted, type: c, "data-icon": i, "data-role": "segmented" }, r)), s) }, a } return oe(n, t), n }(Qe), mn.propTypes = { color: n.string, name: n.string, disabled: n.bool, multiSelect: n.bool, icon: n.string }, dn); ee.Segmented = jn; var Hn = (hn = pn = function (t) {
          function n(t, a) {
              ne(this, n); var s = ie(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t)); return s.componentDidMount = function () { var e = De({}, s.mbscInit, s.state.options); s.instance = new Ne[s.mbscInit.component || "Scroller"](s.inputNode, e), void 0 !== s.state.value && s.instance.setVal(s.state.value, !0), Me(s.inputNode).on("change", s.props.onChange || function () { }) }, s.inputMounted = function (e) { s.inputNode = e }, s.render = function () {/* eslint-disable no-unused-vars */
                  var t = s.props, n = (t.className, t.children), a = (t.value, t.onChange, t.name), o = t.color, i = X(t, ["className", "children", "value", "onChange", "name", "color"]), r = ""; o && (r = "mbsc-" + s.presetName + "-" + o); var c = s.inputType || "text"; return e.createElement("div", { className: r + (s.initialCssClass ? " " + s.initialCssClass : "") }, n, e.createElement("input", yn({ ref: s.inputMounted, type: c, "data-role": a }, i)))
              }, s.presetName = a, s
          } return oe(n, t), n
      }(tt), pn.propTypes = yn({}, Xe, { color: Sn }), hn), Vn = function (e) { function t(e) { ne(this, t); var n = ie(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, "switch")); return n.mbscInit = { component: "Switch" }, n.inputType = "checkbox", n } return oe(t, e), t }(Hn); Vn.propTypes = yn({}, Vn.propTypes, Cn), ee.Switch = US; var In = function (e) { function t(e) { ne(this, t); var n = ie(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e, "stepper")); return n.mbscInit = { component: "Stepper" }, n } return oe(t, e), t }(Hn); In.propTypes = yn({}, In.propTypes, kn), ee.Stepper = In; var zn = (Tn = fn = function (t) {
          function n(t) {
              ne(this, n); var a = ie(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t)); return a.componentDidMount = function () { var e = De({}, a.state.options); a.instance = new gt(a.progressNode, e), void 0 !== a.state.value && a.instance.setVal(a.state.value, !0) }, a.progressMounted = function (e) { a.progressNode = e }, a.render = function () {/* eslint-disable no-unused-vars */
                  var t = a.props, n = (t.className, t.children), s = (t.value, t.color), o = X(t, ["className", "children", "value", "color"]), i = ""; s && (i = "mbsc-progress-" + s); var r = i + (a.initialCssClass ? " " + a.initialCssClass : ""); return e.createElement("div", { className: r }, n, e.createElement("progress", yn({ ref: a.progressMounted }, o)))
              }, a
          } return oe(n, t), n
      }(tt), fn.propTypes = yn({}, Xe, { "data-icon": Sn, "data-icon-align": n.oneOf(["left", "right"]), val: n.oneOf(["left", "right"]), disabled: Mn, max: _n, value: _n, color: Sn }), Tn); ee.Progress = zn; var Jn = (bn = xn = function (t) {
          function n(t) {
              ne(this, n); var a = ie(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t)); return a.componentDidMount = function () { var e = De({}, a.state.options); a.instance = new yt(a.firstInput, e), void 0 !== a.state.value && a.instance.setVal(a.state.value, !0); var t = a; Me(a.label).on("change", function () { if (t.props.onChange) { var e = t.instance.getVal(); t.props.onChange(e) } }) }, a.firstInputMounted = function (e) { a.firstInput = e }, a.parentMounted = function (e) { a.label = e }, a.onValueChanged = function () { }, a.render = function () {/* eslint-disable no-unused-vars */
                  var t = a.props, n = t.children, s = t.value, o = (t.onChange, t.className, t.icon), i = t.live, r = (t.stepLabels, t.tooltip, t.color), c = X(t, ["children", "value", "onChange", "className", "icon", "live", "stepLabels", "tooltip", "color"]), l = s || []; i = i || a.props["data-live"] || !1, o = o || a.props["data-icon"], void 0 === s || Array.isArray(s) || (l = [s]); var u = ""; r && (u = "mbsc-slider-" + r); var m = u + (a.initialCssClass ? " " + a.initialCssClass : ""); return e.createElement("label", { ref: a.parentMounted, className: m }, n, l.map(function (t, n) { return 0 === n ? e.createElement("input", yn({ ref: this.firstInputMounted, "data-icon": o, "data-live": i, key: n, type: "range" }, c)) : e.createElement("input", { key: n, type: "range", "data-live": i, "data-index": n }) }, a))
              }, a
          } return oe(n, t), n
      }(tt), xn.propTypes = yn({}, Xe, { highlight: Mn, live: Mn, stepLabels: n.arrayOf(_n), "data-icon": Sn, tooltip: Mn, val: n.oneOf(["left", "right"]), disabled: Mn, max: _n, min: _n, step: _n, values: _n, color: Sn }), bn); ee.Slider = Jn; var Rn = (gn = US = function (t) {
          function n(t) {
              ne(this, n); var a = ie(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, t)); return a.componentDidMount = function () { var e = De({}, a.state.options); a.instance = new _t(a.inputNode, e), void 0 !== a.state.value && a.instance.setVal(a.state.value, !0), Me(a.label).on("change", function () { if (a.props.onChange) { var e = a.instance.getVal(); a.props.onChange(e) } }) }, a.inputMounted = function (e) { a.inputNode = e }, a.parentMounted = function (e) { a.label = e }, a.render = function () {/* eslint-disable no-unused-vars */
                  var t = a.props, n = (t.className, t.children), s = (t.onChange, t.value, t.empty), o = t.filled, i = t.template, r = t.val, c = t.color, l = X(t, ["className", "children", "onChange", "value", "empty", "filled", "template", "val", "color"]), u = ""; c && (u = "mbsc-rating-" + c); var m = u + (a.initialCssClass ? " " + a.initialCssClass : ""); return e.createElement("label", { className: m, ref: a.parentMounted }, n, e.createElement("input", yn({ type: "rating", "data-role": "rating", "data-val": r, "data-template": i, "data-empty": s, "data-filled": o, ref: a.inputMounted }, l)))
              }, a
          } return oe(n, t), n
      }(tt), vn.propTypes = yn({}, Xe, { val: n.oneOf(["left", "right"]), disabled: Mn, max: _n, min: _n, step: _n, template: Sn, empty: Sn, filled: Sn, value: _n, color: Sn }), gn); ee.Rating = Rn;/* eslint-disable no-unused-vars */
      var $n = "ios" == pe, Wn = function (e, t, n) { function a(e) { X("onStart", { domEvent: e }), ne.stopProp && e.stopPropagation(), ne.prevDef && e.preventDefault(), ne.readonly || ne.lock && E || N(e, this) && !A && (u && u.removeClass("mbsc-active"), k = !1, E || (u = Me(e.target).closest(".mbsc-btn-e", this), u.length && !u.hasClass("mbsc-disabled") && (k = !0, m = setTimeout(function () { u.addClass("mbsc-active") }, 100))), A = !0, H = !1, L = !1, Q.scrolled = E, W = g(e, "X"), Y = g(e, "Y"), S = W, T = 0, x = 0, b = 0, $ = new Date, R = +O(U, Z) || 0, E && l(R, $n ? 0 : 1), "mousedown" === e.type && Me(document).on("mousemove", s).on("mouseup", i)) } function s(e) { A && (ne.stopProp && e.stopPropagation(), S = g(e, "X"), w = g(e, "Y"), T = S - W, x = w - Y, b = Z ? x : T, k && (Math.abs(x) > ne.thresholdY || Math.abs(T) > ne.thresholdX) && (clearTimeout(m), u.removeClass("mbsc-active"), k = !1), (Q.scrolled || !L && Math.abs(b) > G) && (H || X("onGestureStart", M), Q.scrolled = H = !0, j || (j = !0, F = ye(o))), Z || ne.scrollLock ? e.preventDefault() : Q.scrolled ? e.preventDefault() : Math.abs(x) > 7 && (L = !0, Q.scrolled = !0, ae.trigger("touchend"))) } function o() { D && (b = h(b, -z * D, z * D)), l(h(R + b, P - _, C + _)), j = !1 } function i(e) { if (A) { var t, n = new Date - $; ne.stopProp && e.stopPropagation(), _e(F), j = !1, !L && Q.scrolled && (ne.momentum && n < 300 && (t = b / n, b = Math.max(Math.abs(b), t * t / ne.speedUnit) * (b < 0 ? -1 : 1)), c(b)), k && (clearTimeout(m), u.addClass("mbsc-active"), setTimeout(function () { u.removeClass("mbsc-active") }, 100), L || Q.scrolled || X("onBtnTap", { target: u[0], domEvent: e })), "mouseup" == e.type && Me(document).off("mousemove", s).off("mouseup", i), A = !1 } } function r(e) { if (e = e.originalEvent || e, b = Z ? e.deltaY || e.wheelDelta || e.detail : e.deltaX, X("onStart", { domEvent: e }), ne.stopProp && e.stopPropagation(), b) { if (e.preventDefault(), e.deltaMode && 1 == e.deltaMode && (b *= 5), b = h(-b, -20, 20), R = q, ne.readonly || R + b < P || R + b > C) return; H || (M = { posX: Z ? 0 : q, posY: Z ? q : 0, originX: Z ? 0 : R, originY: Z ? R : 0, direction: b > 0 ? Z ? 270 : 360 : Z ? 90 : 180 }, X("onGestureStart", M)), j || (j = !0, F = ye(o)), H = !0, clearTimeout(V), V = setTimeout(function () { _e(F), j = !1, H = !1, c(b) }, 200) } } function c(e) { var t, n, a; if (D && (e = h(e, -z * D, z * D)), a = h(Math.round((R + e) / z) * z, P, C), ee = Math.round(a / z), J) { if (e < 0) { for (t = J.length - 1; t >= 0; t--)if (Math.abs(a) + f >= J[t].breakpoint) { ee = t, te = 2, a = J[t].snap2; break } } else if (e >= 0) for (t = 0; t < J.length; t++)if (Math.abs(a) <= J[t].breakpoint) { ee = t, te = 1, a = J[t].snap1; break } a = h(a, P, C) } n = ne.time || (q < P || q > C ? 1e3 : Math.max(1e3, Math.abs(a - q) * ne.timeUnit)), M.destinationX = Z ? 0 : a, M.destinationY = Z ? a : 0, M.duration = n, M.transitionTiming = y, X("onGestureEnd", M), l(a, n) } function l(e, t, n, a) { var s = e != q, o = t > 1, i = function () { clearInterval(I), clearTimeout(K), E = !1, q = e, M.posX = Z ? 0 : e, M.posY = Z ? e : 0, s && X("onMove", M), o && X("onAnimationEnd", M), a && a() }; M = { posX: Z ? 0 : q, posY: Z ? q : 0, originX: Z ? 0 : R, originY: Z ? R : 0, direction: e - q > 0 ? Z ? 270 : 360 : Z ? 90 : 180 }, q = e, o && (M.destinationX = Z ? 0 : e, M.destinationY = Z ? e : 0, M.duration = t, M.transitionTiming = y, X("onAnimationStart", M)), B[Je + "Transition"] = t ? ze + "transform " + Math.round(t) + "ms " + y : "", B[Je + "Transform"] = "translate3d(" + (Z ? "0," + e + "px," : e + "px,0,") + "0)", !s && !E || !t || t <= 1 ? i() : t && (E = !n, clearInterval(I), I = setInterval(function () { var t = +O(U, Z) || 0; M.posX = Z ? 0 : t, M.posY = Z ? t : 0, X("onMove", M), Math.abs(t - e) < 2 && i() }, 100), clearTimeout(K), K = setTimeout(function () { i() }, t)), ne.sync && ne.sync(e, t, y) } var u, m, f, T, x, b, v, y, _, S, w, M, k, C, D, P, A, E, L, F, j, H, V, I, z, J, R, $, W, Y, B, U, K, G, X, Z, q, Q = this, ee = 0, te = 1, ne = t, ae = Me(e); Re.call(this, e, t, !0), Q.scrolled = !1, Q.scroll = function (t, n, a, s) { t = d(t) ? Math.round(t / z) * z : Math.ceil((Me(t, e).length ? Math.round(U.offset()[v] - Me(t, e).offset()[v]) : q) / z) * z, t = h(t, P, C), ee = Math.round(t / z), R = q, l(t, n, a, s) }, Q.refresh = function (e) { var t; f = void 0 === ne.contSize ? Z ? ae.height() : ae.width() : ne.contSize, P = void 0 === ne.minScroll ? Math.min(0, Z ? f - U.height() : f - U.width()) : ne.minScroll, C = void 0 === ne.maxScroll ? 0 : ne.maxScroll, J = null, !Z && ne.rtl && (t = C, C = -P, P = -t), p(ne.snap) && (J = [], U.find(ne.snap).each(function () { var e = Z ? this.offsetTop : this.offsetLeft, t = Z ? this.offsetHeight : this.offsetWidth; J.push({ breakpoint: e + t / 2, snap1: -e, snap2: f - e - t }) })), z = d(ne.snap) ? ne.snap : 1, D = ne.snap ? ne.maxSnapScroll : 0, y = ne.easing, _ = ne.elastic ? d(ne.snap) ? z : d(ne.elastic) ? ne.elastic : 0 : 0, void 0 === q && (q = ne.initialPos, ee = Math.round(q / z)), e || Q.scroll(ne.snap ? J ? J[ee]["snap" + te] : ee * z : q) }, Q._processSettings = function () { Z = "Y" == ne.axis, v = Z ? "top" : "left", U = ne.moveElement || ae.children().eq(0), B = U[0].style, G = Z ? ne.thresholdY : ne.thresholdX }, Q._init = function () { Q.refresh(), ae.on("touchstart mousedown", a).on("touchmove", s).on("touchend touchcancel", i), ne.mousewheel && ae.on("wheel mousewheel", r), e.addEventListener && e.addEventListener("click", function (e) { Q.scrolled && (Q.scrolled = !1, e.stopPropagation(), e.preventDefault()) }, !0) }, Q._destroy = function () { clearInterval(I), ae.off("touchstart mousedown", a).off("touchmove", s).off("touchend touchcancel", i).off("wheel mousewheel", r) }, ne = Q.settings, X = Q.trigger, n || Q.init(t) }; Wn.prototype = { _defaults: { speedUnit: .0022, timeUnit: 3, initialPos: 0, axis: "Y", thresholdX: 10, thresholdY: 5, easing: "cubic-bezier(0.190, 1.000, 0.220, 1.000)", stopProp: !0, momentum: !0, mousewheel: !0, elastic: !0 } };/* eslint-disable no-unused-vars */
      var Yn = {}, Bn = be ? window.CSS : null, Un = Bn && Bn.supports && Bn.supports("(transform-style: preserve-3d)"), Kn = !Un || "wp" == pe || "android" == pe, Gn = function (e, t, n) { function a(e) { var t, n, a = Me(this).attr("data-index"); 38 == e.keyCode ? (t = !0, n = -1) : 40 == e.keyCode ? (t = !0, n = 1) : 32 == e.keyCode && (t = !0, o(a, H[a]._$markup.find('.mbsc-sc-itm[data-val="' + O[a] + '"]'))), t && (e.stopPropagation(), e.preventDefault(), n && N.start(a, n)) } function s() { N.stop() } function o(e, t) { var n = H[e], a = +t.attr("data-index"), s = u(n, a), o = J._tempSelected[e], i = d(n.multiple) ? n.multiple : 1 / 0; !1 !== L("onItemTap", { target: t[0], index: e, value: s, selected: t.hasClass("mbsc-sc-itm-sel") }) && (n.multiple && !n._disabled[s] && (void 0 !== o[s] ? (t.removeClass(k).removeAttr("aria-selected"), delete o[s]) : (1 == i && (J._tempSelected[e] = o = {}, n._$markup.find(".mbsc-sc-itm-sel").removeClass(k).removeAttr("aria-selected")), m(o).length < i && (t.addClass(k).attr("aria-selected", "true"), o[s] = s))), g(n, e, a, z, !0, !0, n.multiple), !J.live || n.multiple || !0 !== E.setOnTap && !E.setOnTap[e] || setTimeout(function () { J.select() }, 200)) } function i(e, t) { return (e._array ? e._map[t] : e.getIndex(t, J)) || 0 } function r(e, t) { var n = e.data; if (t >= e.min && t <= e.max) return e._array ? e.circular ? Me(n).get(t % e._length) : n[t] : Me.isFunction(n) ? n(t, J) : "" } function c(e) { return Me.isPlainObject(e) ? void 0 !== e.value ? e.value : e.display : e } function l(e) { var t = Me.isPlainObject(e) ? e.display : e; return void 0 === t ? "" : t } function u(e, t) { return c(r(e, t)) } function p(e, t) { var n = H[e]; g(n, e, n._current + t, z, 1 == t ? 1 : 2) } function h(e) { return Me.isArray(E.readonly) ? E.readonly[e] : E.readonly } function f(e, t, n) { var a = e._index - e._batch; return e.data = e.data || [], e.key = void 0 !== e.key ? e.key : t, e.label = void 0 !== e.label ? e.label : t, e._map = {}, e._array = Me.isArray(e.data), e._array && (e._length = e.data.length, Me.each(e.data, function (t, n) { e._map[c(n)] = t })), e.circular = void 0 === E.circular ? void 0 === e.circular ? e._array && e._length > E.rows : e.circular : Me.isArray(E.circular) ? E.circular[t] : E.circular, e.min = e._array ? e.circular ? -1 / 0 : 0 : void 0 === e.min ? -1 / 0 : e.min, e.max = e._array ? e.circular ? 1 / 0 : e._length - 1 : void 0 === e.max ? 1 / 0 : e.max, e._nr = t, e._index = i(e, O[t]), e._disabled = {}, e._batch = 0, e._current = e._index, e._first = e._index - I, e._last = e._index + I, e._offset = e._first, n ? (e._offset -= e._margin / D + (e._index - a), e._margin += (e._index - a) * D) : e._margin = 0, e._refresh = function (t) { var n = -(e.min - e._offset + (e.multiple && !M ? Math.floor(E.rows / 2) : 0)) * D, a = Math.min(n, -(e.max - e._offset - (e.multiple && !M ? Math.floor(E.rows / 2) : 0)) * D); De(e._scroller.settings, { minScroll: a, maxScroll: n }), e._scroller.refresh(t) }, V[e.key] = e, e } function T(e, t, n, a, s) { var o, i, u, m, d, p, h, f, T = "", x = J._tempSelected[t], b = e._disabled || {}; for (o = n; o <= a; o++)u = r(e, o), d = l(u), m = c(u), i = u && void 0 !== u.cssClass ? u.cssClass : "", p = u && void 0 !== u.label ? u.label : "", h = u && u.invalid, f = void 0 !== m && m == O[t] && !e.multiple, T += '<div role="option" aria-selected="' + !!x[m] + '" class="mbsc-sc-itm ' + (s ? "mbsc-sc-itm-3d " : "") + i + " " + (f ? "mbsc-sc-itm-sel " : "") + (x[m] ? k : "") + (void 0 === m ? " mbsc-sc-itm-ph" : " mbsc-btn-e") + (h ? " mbsc-sc-itm-inv-h mbsc-disabled" : "") + (b[m] ? " mbsc-sc-itm-inv mbsc-disabled" : "") + '" data-index="' + o + '" data-val="' + m + '"' + (p ? ' aria-label="' + p + '"' : "") + (f ? ' aria-selected="true"' : "") + ' style="height:' + D + "px;line-height:" + D + "px;" + (s ? ze + "transform:rotateX(" + (e._offset - o) * w % 360 + "deg) translateZ(" + D * E.rows / 2 + "px);" : "") + '">' + (j > 1 ? '<div class="mbsc-sc-itm-ml" style="line-height:' + Math.round(D / j) + "px;font-size:" + Math.round(D / j * .8) + 'px;">' : "") + d + (j > 1 ? "</div>" : "") + "</div>"; return T } function x(e, t, n) { var a = Math.round(-n / D) + e._offset, s = a - e._current, o = e._first, i = e._last, r = o + I - S + 1, c = i - I + S; s && (e._first += s, e._last += s, e._current = a, s > 0 ? (e._$scroller.append(T(e, t, Math.max(i + 1, o + s), i + s)), Me(".mbsc-sc-itm", e._$scroller).slice(0, Math.min(s, i - o + 1)).remove(), M && (e._$3d.append(T(e, t, Math.max(c + 1, r + s), c + s, !0)), Me(".mbsc-sc-itm", e._$3d).slice(0, Math.min(s, c - r + 1)).attr("class", "mbsc-sc-itm-del"))) : s < 0 && (e._$scroller.prepend(T(e, t, o + s, Math.min(o - 1, i + s))), Me(".mbsc-sc-itm", e._$scroller).slice(Math.max(s, o - i - 1)).remove(), M && (e._$3d.prepend(T(e, t, r + s, Math.min(r - 1, c + s), !0)), Me(".mbsc-sc-itm", e._$3d).slice(Math.max(s, r - c - 1)).attr("class", "mbsc-sc-itm-del"))), e._margin += s * D, e._$scroller.css("margin-top", e._margin + "px")) } function b(e, t, n, a) { var s, o = H[e], r = a || o._disabled, c = i(o, t), l = t, m = t, d = 0, p = 0; if (void 0 === t && (t = u(o, c)), !0 === r[t]) { for (s = 0; c - d >= o.min && r[l] && s < 100;)s++ , d++ , l = u(o, c - d); for (s = 0; c + p < o.max && r[m] && s < 100;)s++ , p++ , m = u(o, c + p); t = (p < d && p && 2 !== n || !d || c - d < 0 || 1 == n) && !r[m] ? m : l } return t } function v(t, n, a, s, o, r) { var c, l, u, m, d = J._isVisible; A = !0, m = E.validate.call(e, { values: O.slice(0), index: n, direction: a }, J) || {}, A = !1, m.valid && (J._tempWheelArray = O = m.valid.slice(0)), r || Me.each(H, function (e, s) { if (d && s._$markup.find(".mbsc-sc-itm-inv").removeClass("mbsc-sc-itm-inv mbsc-disabled"), s._disabled = {}, m.disabled && m.disabled[e] && Me.each(m.disabled[e], function (e, t) { s._disabled[t] = !0, d && s._$markup.find('.mbsc-sc-itm[data-val="' + t + '"]').addClass("mbsc-sc-itm-inv mbsc-disabled") }), O[e] = s.multiple ? O[e] : b(e, O[e], a), d) { if (s.multiple && void 0 !== n || s._$markup.find(".mbsc-sc-itm-sel").removeClass(k).removeAttr("aria-selected"), s.multiple) { if (void 0 === n) for (var r in J._tempSelected[e]) s._$markup.find('.mbsc-sc-itm[data-val="' + r + '"]').addClass(k).attr("aria-selected", "true") } else s._$markup.find('.mbsc-sc-itm[data-val="' + O[e] + '"]').addClass("mbsc-sc-itm-sel").attr("aria-selected", "true"); l = i(s, O[e]), c = l - s._index + s._batch, Math.abs(c) > 2 * I + 1 && (u = c + (2 * I + 1) * (c > 0 ? -1 : 1), s._offset += u, s._margin -= u * D, s._refresh()), s._index = l + s._batch, s._scroller.scroll(-(l - s._offset + s._batch) * D, n === e || void 0 === n ? t : z, o) } }), L("onValidated", { index: n, time: t }), J._tempValue = E.formatValue.call(e, O, J), d && J._updateHeader(), J.live && (J._hasValue = s || J._hasValue, y(s, s, 0, !0), s && L("onSet", { valueText: J._value })), s && L("onChange", { index: n, valueText: J._tempValue }) } function g(e, t, n, a, s, o, i) { var r = u(e, n); void 0 !== r && (O[t] = r, e._batch = e._array ? Math.floor(n / e._length) * e._length : 0, e._index = n, setTimeout(function () { v(a, t, s, !0, o, i) }, 10)) } function y(t, n, a, s, o) { if (s ? J._tempValue = E.formatValue.call(e, J._tempWheelArray, J) : v(a), !o) { J._wheelArray = []; for (var i = 0; i < O.length; i++)J._wheelArray[i] = H[i] && H[i].multiple ? Object.keys(J._tempSelected[i])[0] : O[i]; J._value = J._hasValue ? J._tempValue : null, J._selected = De(!0, {}, J._tempSelected) } t && (J._isInput && R.val(J._hasValue ? J._tempValue : ""), L("onFill", { valueText: J._hasValue ? J._tempValue : "", change: n }), n && (J._preventChange = !0, R.trigger("change"))) } var _, S, w, M, k, C, N, O, D, P, A, E, L, j, H, V, I = 40, z = 1e3, J = this, R = Me(e); Lt.call(this, e, t, !0), J.setVal = J._setVal = function (t, n, a, s, o) { J._hasValue = null !== t && void 0 !== t, J._tempWheelArray = O = Me.isArray(t) ? t.slice(0) : E.parseValue.call(e, t, J) || [], y(n, void 0 === a ? n : a, o, !1, s) }, J.getVal = J._getVal = function (e) { var t = J._hasValue || e ? J[e ? "_tempValue" : "_value"] : null; return d(t) ? +t : t }, J.setArrayVal = J.setVal, J.getArrayVal = function (e) { return e ? J._tempWheelArray : J._wheelArray }, J.changeWheel = function (e, t, n) { var a, s; Me.each(e, function (e, t) { (s = V[e]) && (a = s._nr, De(s, t), f(s, a, !0), J._isVisible && (M && s._$3d.html(T(s, a, s._first + I - S + 1, s._last - I + S, !0)), s._$scroller.html(T(s, a, s._first, s._last)).css("margin-top", s._margin + "px"), s._refresh(A))) }), !J._isVisible || J._isLiquid || A || J.position(), A || v(t, void 0, void 0, n) }, J.getValidValue = b, J._generateContent = function () { var e, t = 0, n = "", a = M ? ze + "transform: translateZ(" + (D * E.rows / 2 + 3) + "px);" : "", s = '<div class="mbsc-sc-whl-l" style="' + a + "height:" + D + "px;margin-top:-" + (D / 2 + (E.selectedLineBorder || 0)) + 'px;"></div>', o = 0; return Me.each(E.wheels, function (i, r) { n += '<div class="mbsc-w-p mbsc-sc-whl-gr-c' + (M ? " mbsc-sc-whl-gr-3d-c" : "") + (E.showLabel ? " mbsc-sc-lbl-v" : "") + '">' + s + '<div class="mbsc-sc-whl-gr' + (M ? " mbsc-sc-whl-gr-3d" : "") + (C ? " mbsc-sc-cp" : "") + (E.width || E.maxWidth ? '"' : '" style="max-width:' + E.maxPopupWidth + 'px;"') + ">", Me.each(r, function (i, r) { J._tempSelected[o] = De({}, J._selected[o]), H[o] = f(r, o), t += E.maxWidth ? E.maxWidth[o] || E.maxWidth : E.width ? E.width[o] || E.width : 0, e = void 0 !== r.label ? r.label : i, n += '<div class="mbsc-sc-whl-w ' + (r.cssClass || "") + (r.multiple ? " mbsc-sc-whl-multi" : "") + '" style="' + (E.width ? "width:" + (E.width[o] || E.width) + "px;" : (E.minWidth ? "min-width:" + (E.minWidth[o] || E.minWidth) + "px;" : "") + (E.maxWidth ? "max-width:" + (E.maxWidth[o] || E.maxWidth) + "px;" : "")) + '"><div class="mbsc-sc-whl-o" style="' + a + '"></div>' + s + '<div tabindex="0" aria-live="off" aria-label="' + e + '"' + (r.multiple ? ' aria-multiselectable="true"' : "") + ' role="listbox" data-index="' + o + '" class="mbsc-sc-whl" style="height:' + E.rows * D * (M ? 1.1 : 1) + 'px;">' + (C ? '<div data-index="' + o + '" data-step="1" class="mbsc-sc-btn mbsc-sc-btn-plus ' + (E.btnPlusClass || "") + '" style="height:' + D + "px;line-height:" + D + 'px;"></div><div data-index="' + o + '" data-step="-1" class="mbsc-sc-btn mbsc-sc-btn-minus ' + (E.btnMinusClass || "") + '" style="height:' + D + "px;line-height:" + D + 'px;"></div>' : "") + '<div class="mbsc-sc-lbl">' + e + '</div><div class="mbsc-sc-whl-c" style="height:' + P + "px;margin-top:-" + (P / 2 + 1) + "px;" + a + '"><div class="mbsc-sc-whl-sc" style="top:' + (P - D) / 2 + 'px;">', n += T(r, o, r._first, r._last) + "</div></div>", M && (n += '<div class="mbsc-sc-whl-3d" style="height:' + D + "px;margin-top:-" + D / 2 + 'px;">', n += T(r, o, r._first + I - S + 1, r._last - I + S, !0), n += "</div>"), n += "</div></div>", o++ }), n += "</div></div>" }), t && (E.maxPopupWidth = t), n }, J._attachEvents = function (e) { N = F(Me(".mbsc-sc-btn", e), p, E.delay, h, !0), Me(".mbsc-sc-whl", e).on("keydown", a).on("keyup", s) }, J._detachEvents = function () { for (var e = 0; e < H.length; e++)H[e]._scroller.destroy() }, J._markupReady = function (e) { _ = e, Me(".mbsc-sc-whl-w", _).each(function (e) { var t, n = Me(this), a = H[e], s = -(a.min - a._offset + (a.multiple && !M ? Math.floor(E.rows / 2) : 0)) * D, i = Math.min(s, -(a.max - a._offset - (a.multiple && !M ? Math.floor(E.rows / 2) : 0)) * D); a._$markup = n, a._$scroller = Me(".mbsc-sc-whl-sc", this), a._$3d = Me(".mbsc-sc-whl-3d", this), a._scroller = new Wn(this, { mousewheel: E.mousewheel, moveElement: a._$scroller, initialPos: (a._first - a._index) * D, contSize: 0, snap: D, minScroll: i, maxScroll: s, maxSnapScroll: I, prevDef: !0, stopProp: !0, timeUnit: 3, easing: "cubic-bezier(0.190, 1.000, 0.220, 1.000)", sync: function (e, t, n) { M && (a._$3d[0].style[Je + "Transition"] = t ? ze + "transform " + Math.round(t) + "ms " + n : "", a._$3d[0].style[Je + "Transform"] = "rotateX(" + -e / D * w + "deg)") }, onStart: function (t, n) { n.settings.readonly = h(e) }, onGestureStart: function () { n.addClass("mbsc-sc-whl-a mbsc-sc-whl-anim"), L("onWheelGestureStart", { index: e }) }, onGestureEnd: function (n) { var s = 90 == n.direction ? 1 : 2, o = n.duration, i = n.destinationY; t = Math.round(-i / D) + a._offset, g(a, e, t, o, s) }, onAnimationStart: function () { n.addClass("mbsc-sc-whl-anim") }, onAnimationEnd: function () { n.removeClass("mbsc-sc-whl-a mbsc-sc-whl-anim"), L("onWheelAnimationEnd", { index: e }), a._$3d.find(".mbsc-sc-itm-del").remove() }, onMove: function (t) { x(a, e, t.posY) }, onBtnTap: function (t) { o(e, Me(t.target)) } }) }), v() }, J._fillValue = function () { J._hasValue = !0, y(!0, !0, 0, !0) }, J._clearValue = function () { Me(".mbsc-sc-whl-multi .mbsc-sc-itm-sel", _).removeClass(k).removeAttr("aria-selected") }, J._readValue = function () { var t = R.val() || "", n = 0; "" !== t && (J._hasValue = !0), J._tempWheelArray = O = J._hasValue && J._wheelArray ? J._wheelArray.slice(0) : E.parseValue.call(e, t, J) || [], J._tempSelected = De(!0, {}, J._selected), Me.each(E.wheels, function (e, t) { Me.each(t, function (e, t) { H[n] = f(t, n), n++ }) }), y(!1, !1, 0, !0), L("onRead") }, J.__processSettings = function () { E = J.settings, L = J.trigger, j = E.multiline, k = "mbsc-sc-itm-sel mbsc-ic mbsc-ic-" + E.checkIcon }, J.__init = function () { H = [], V = {}, C = E.showScrollArrows, M = E.scroll3d && !Kn && !C, D = E.height, P = M ? 2 * Math.round((D - .03 * (D * E.rows / 2 + 3)) / 2) : D, S = Math.round(1.8 * E.rows), w = 360 / (2 * S), C && (E.rows = Math.max(3, E.rows)), E.cssClass = (E.cssClass || "") + " mbsc-sc" }, J._getItemValue = c, J._tempSelected = {}, J._selected = {}, n || J.init(t) }; Gn.prototype = { _hasDef: !0, _hasTheme: !0, _hasLang: !0, _class: "scroller", _presets: Yn, _defaults: De({}, Lt.prototype._defaults, { minWidth: 80, height: 40, rows: 3, multiline: 1, delay: 300, readonly: !1, showLabel: !0, setOnTap: !1, wheels: [], preset: "", speedUnit: .0012, timeUnit: .08, checkIcon: "checkmark", validate: function () { }, formatValue: function (e) { return e.join(" ") }, parseValue: function (e, t) { var n, a, s = [], o = [], i = 0; return null !== e && void 0 !== e && (s = (e + "").split(" ")), Me.each(t.settings.wheels, function (e, r) { Me.each(r, function (e, r) { a = r.data, n = t._getItemValue(a[0]), Me.each(a, function (e, a) { if (s[i] == t._getItemValue(a)) return n = t._getItemValue(a), !1 }), o.push(n), i++ }) }), o } }) }, Ne.Scroller = Gn; var Xn = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]) } return e }, Zn = function (e) { function t(e) { ne(this, t); var n = ie(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e)); return n.mbscInit = { component: "Scroller" }, n } return oe(t, e), t }(nt); Zn.propTypes = Xn({}, Zn.propTypes, qe), ee.Scroller = Zn, ee.i18n.ar = { rtl: !0, setText: "تعيين", cancelText: "إلغاء", clearText: "مسح", selectedText: "{count} المحدد", dateFormat: "dd/mm/yy", dayNames: ["الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"], dayNamesShort: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت"], dayNamesMin: ["ح", "ن", "ث", "ر", "خ", "ج", "س"], dayText: "يوم", hourText: "ساعات", minuteText: "الدقائق", monthNames: ["كانون الثاني", "شهر فبراير", "مارس", "أبريل", "قد", "يونيو", "يوليو", "أغسطس", "سبتمبر", "شهر اكتوبر", "شهر نوفمبر", "ديسمبر"], monthNamesShort: ["كانون الثاني", "شهر فبراير", "مارس", "أبريل", "قد", "يونيو", "يوليو", "أغسطس", "سبتمبر", "شهر اكتوبر", "شهر نوفمبر", "ديسمبر"], monthText: "شهر", secText: "ثواني", amText: "ص", pmText: "م", timeFormat: "hh:ii A", yearText: "عام", nowText: "الآن", firstDay: 0, dateText: "تاريخ", timeText: "وقت", closeText: "إغلاق", todayText: "اليوم", prevMonthText: "الشهر السابق", nextMonthText: "الشهر القادم", prevYearText: "السنه السابقة", nextYearText: "العام القادم", eventText: "الحدث", eventsText: "أحداث", fromText: "يبدا", toText: "ينتهي", wholeText: "كامل", fractionText: "جزء", unitText: "وحدة", delimiter: "/", decimalSeparator: ".", thousandsSeparator: ",", labels: ["سنوات", "أشهر", "أيام", "ساعة", "دقائق", "ثواني", ""], labelsShort: ["سنوات", "أشهر", "أيام", "ساعة", "دقائق", "ثواني", ""], startText: "بدء", stopText: "إيقاف", resetText: "إعادة ضبط", lapText: "الدورة", hideText: "إخفاء", offText: "إيقاف", onText: "تشغيل", backText: "رجوع", undoText: "تراجع" }, ee.i18n.bg = { setText: "Задаване", cancelText: "Отмяна", clearText: "Изчистване", selectedText: "{count} подбран", dateFormat: "dd.mm.yy", dayNames: ["Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота"], dayNamesShort: ["Нед", "Пон", "Вто", "Сря", "Чет", "Пет", "Съб"], dayNamesMin: ["Не", "По", "Вт", "Ср", "Че", "Пе", "Съ"], dayText: "ден", delimiter: ".", hourText: "час", minuteText: "минута", monthNames: ["Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"], monthNamesShort: ["Яну", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Нов", "Дек"], monthText: "месец", secText: "секунди", timeFormat: "H:ii", yearText: "година", nowText: "Сега", pmText: "pm", amText: "am", firstDay: 1, dateText: "Дата", timeText: "път", todayText: "днес", prevMonthText: "Предишния месец", nextMonthText: "Следващият месец", prevYearText: "Предходната година", nextYearText: "Следващата година", closeText: "затвори", eventText: "Събитие", eventsText: "Събития", fromText: "ОТ", toText: "ДО", wholeText: "цяло", fractionText: "фракция", unitText: "единица", labels: ["Години", "месеца", "дни", "часа", "минути", "секунди", ""], labelsShort: ["Години", "месеца", "дни", "часа", "минути", "секунди", ""], startText: "Старт", stopText: "Стоп", resetText: "Нулиране", lapText: "Обиколка", hideText: "крия", backText: "връщане", undoText: "ОТМЯНА", offText: "ИЗКЛ", onText: "ВКЛ", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.ca = { setText: "Acceptar", cancelText: "Cancel·lar", clearText: "Esborrar", selectedText: "{count} seleccionat", selectedPluralText: "{count} seleccionats", dateFormat: "dd/mm/yy", dayNames: ["Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"], dayNamesShort: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"], dayNamesMin: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"], dayText: "Dia", hourText: "Hores", minuteText: "Minuts", monthNames: ["Gener", "Febrer", "Mar&ccedil;", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"], monthNamesShort: ["Gen", "Feb", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Oct", "Nov", "Des"], monthText: "Mes", secText: "Segons", timeFormat: "HH:ii", yearText: "Any", nowText: "Ara", pmText: "pm", amText: "am", todayText: "Avui", firstDay: 1, dateText: "Data", timeText: "Temps", closeText: "Tancar", fromText: "Iniciar", toText: "Final", wholeText: "Sencer", fractionText: "Fracció", unitText: "Unitat", labels: ["Anys", "Mesos", "Dies", "Hores", "Minuts", "Segons", ""], labelsShort: ["Anys", "Mesos", "Dies", "Hrs", "Mins", "Secs", ""], startText: "Iniciar", stopText: "Aturar", resetText: "Reiniciar", lapText: "Volta", hideText: "Amagar", backText: "Enrere", undoText: "Desfés", offText: "No", onText: "Si" }, ee.i18n.cs = { setText: "Zadej", cancelText: "Storno", clearText: "Vymazat", selectedText: "Označený: {count}", dateFormat: "dd.mm.yy", dayNames: ["Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota"], dayNamesShort: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So"], dayNamesMin: ["N", "P", "Ú", "S", "Č", "P", "S"], dayText: "Den", hourText: "Hodiny", minuteText: "Minuty", monthNames: ["Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"], monthNamesShort: ["Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čvc", "Spr", "Zář", "Říj", "Lis", "Pro"], monthText: "Měsíc", secText: "Sekundy", timeFormat: "HH:ii", yearText: "Rok", nowText: "Teď", amText: "am", pmText: "pm", todayText: "Dnes", firstDay: 1, dateText: "Datum", timeText: "Čas", closeText: "Zavřít", fromText: "Začátek", toText: "Konec", wholeText: "Celý", fractionText: "Část", unitText: "Jednotka", labels: ["Roky", "Měsíce", "Dny", "Hodiny", "Minuty", "Sekundy", ""], labelsShort: ["Rok", "Měs", "Dny", "Hod", "Min", "Sec", ""], startText: "Start", stopText: "Stop", resetText: "Resetovat", lapText: "Etapa", hideText: "Schovat", backText: "Zpět", undoText: "Zpět", offText: "O", onText: "I", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.da = { setText: "Sæt", cancelText: "Annuller", clearText: "Ryd", selectedText: "{count} valgt", selectedPluralText: "{count} valgt", dateFormat: "dd/mm/yy", dayNames: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"], dayNamesShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør"], dayNamesMin: ["S", "M", "T", "O", "T", "F", "L"], dayText: "Dag", hourText: "Timer", minuteText: "Minutter", monthNames: ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"], monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], monthText: "Måned", secText: "Sekunder", amText: "am", pmText: "pm", timeFormat: "HH.ii", yearText: "År", nowText: "Nu", todayText: "I dag", firstDay: 1, dateText: "Dato", timeText: "Tid", closeText: "Luk", fromText: "Start", toText: "Slut", wholeText: "Hele", fractionText: "Dele", unitText: "Enhed", labels: ["År", "Måneder", "Dage", "Timer", "Minutter", "Sekunder", ""], labelsShort: ["År", "Mdr", "Dg", "Timer", "Min", "Sek", ""], startText: "Start", stopText: "Stop", resetText: "Nulstil", lapText: "Omgang", hideText: "Skjul", offText: "Fra", onText: "Til", backText: "Tilbage", undoText: "Fortryd" }, ee.i18n.de = { setText: "OK", cancelText: "Abbrechen", clearText: "Löschen", selectedText: "{count} ausgewählt", dateFormat: "dd.mm.yy", dayNames: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], dayNamesShort: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], dayNamesMin: ["S", "M", "D", "M", "D", "F", "S"], dayText: "Tag", delimiter: ".", hourText: "Stunde", minuteText: "Minuten", monthNames: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], monthNamesShort: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], monthText: "Monat", secText: "Sekunden", timeFormat: "HH:ii", yearText: "Jahr", nowText: "Jetzt", pmText: "pm", amText: "am", todayText: "Heute", firstDay: 1, dateText: "Datum", timeText: "Zeit", closeText: "Schließen", fromText: "Von", toText: "Bis", wholeText: "Ganze Zahl", fractionText: "Bruchzahl", unitText: "Maßeinheit", labels: ["Jahre", "Monate", "Tage", "Stunden", "Minuten", "Sekunden", ""], labelsShort: ["Jahr.", "Mon.", "Tag.", "Std.", "Min.", "Sek.", ""], startText: "Starten", stopText: "Stoppen", resetText: "Zurücksetzen", lapText: "Lap", hideText: "Ausblenden", backText: "Zurück", undoText: "Rückgängig machen", offText: "Aus", onText: "Ein", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.el = { setText: "Ορισμος", cancelText: "Ακυρωση", clearText: "Διαγραφη", selectedText: "{count} επιλεγμένα", dateFormat: "dd/mm/yy", dayNames: ["Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο"], dayNamesShort: ["Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ"], dayNamesMin: ["Κυ", "Δε", "Τρ", "Τε", "Πε", "Πα", "Σα"], dayText: "ημέρα", delimiter: "/", hourText: "ώρα", minuteText: "λεπτό", monthNames: ["Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"], monthNamesShort: ["Ιαν", "Φεβ", "Μαρ", "Απρ", "Μαι", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ"], monthText: "Μήνας", secText: "δευτερόλεπτα", timeFormat: "H:ii", yearText: "έτος", nowText: "τώρα", pmText: "μμ", amText: "πμ", firstDay: 1, dateText: "Ημερομηνία", timeText: "φορά", todayText: "Σήμερα", prevMonthText: "Προηγούμενο μήνα", nextMonthText: "Επόμενο μήνα", prevYearText: "Προηγούμενο έτος", nextYearText: "Επόμενο έτος", closeText: "Κλείσιμο", eventText: "Γεγονότα", eventsText: "Γεγονότα", fromText: "Αρχή", toText: "Τέλος", wholeText: "Ολόκληρος", fractionText: "κλάσμα", unitText: "Μονάδα", labels: ["Χρόνια", "Μήνες", "Ημέρες", "Ωρες", "Λεπτά", "δευτερόλεπτα", ""], labelsShort: ["Χρόνια", "Μήνες", "Ημέρες", "Ωρες", "Λεπτά", "δευτ", ""], startText: "΄Εναρξη", stopText: "Διακοπή", resetText: "Επαναφορά", lapText: "Γύρος", hideText: "κρύβω", backText: "Πίσω", undoText: "Αναιρεση", offText: "Ανενεργό", onText: "Ενεργό", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n["en-GB"] = ee.i18n["en-UK"] = { dateFormat: "dd/mm/yy", timeFormat: "HH:ii" }, ee.i18n.es = { setText: "Aceptar", cancelText: "Cancelar", clearText: "Borrar", selectedText: "{count} seleccionado", selectedPluralText: "{count} seleccionados", dateFormat: "dd/mm/yy", dayNames: ["Domingo", "Lunes", "Martes", "Mi&#xE9;rcoles", "Jueves", "Viernes", "S&#xE1;bado"], dayNamesShort: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "S&#xE1;"], dayNamesMin: ["D", "L", "M", "M", "J", "V", "S"], dayText: "D&#237;a", hourText: "Horas", minuteText: "Minutos", monthNames: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"], monthNamesShort: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"], monthText: "Mes", secText: "Segundos", timeFormat: "HH:ii", yearText: "A&ntilde;o", nowText: "Ahora", pmText: "pm", amText: "am", todayText: "Hoy", firstDay: 1, dateText: "Fecha", timeText: "Tiempo", closeText: "Cerrar", fromText: "Iniciar", toText: "Final", wholeText: "Entero", fractionText: "Fracción", unitText: "Unidad", labels: ["Años", "Meses", "Días", "Horas", "Minutos", "Segundos", ""], labelsShort: ["Año", "Mes", "Día", "Hora", "Min", "Seg", ""], startText: "Iniciar", stopText: "Deténgase", resetText: "Reinicializar", lapText: "Lap", hideText: "Esconder", backText: "Atrás", undoText: "Deshacer", offText: "No", onText: "Sí", decimalSeparator: ",", thousandsSeparator: " " }; var qn = { gDaysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], jDaysInMonth: [31, 31, 31, 31, 31, 31, 30, 30, 30, 30, 30, 29] }; qn.jalaliToGregorian = function (e, t, n) { e = parseInt(e), t = parseInt(t), n = parseInt(n); var a, s = e - 979, o = t - 1, i = n - 1, r = 365 * s + 8 * parseInt(s / 33) + parseInt((s % 33 + 3) / 4); for (a = 0; a < o; ++a)r += qn.jDaysInMonth[a]; r += i; var c = r + 79, l = 1600 + 400 * parseInt(c / 146097); c %= 146097; var u = !0; for (c >= 36525 && (c-- , l += 100 * parseInt(c / 36524), c %= 36524, c >= 365 ? c++ : u = !1), l += 4 * parseInt(c / 1461), c %= 1461, c >= 366 && (u = !1, c-- , l += parseInt(c / 365), c %= 365), a = 0; c >= qn.gDaysInMonth[a] + (1 == a && u); a++)c -= qn.gDaysInMonth[a] + (1 == a && u); return [l, a + 1, c + 1] }, qn.checkDate = function (e, t, n) { return !(e < 0 || e > 32767 || t < 1 || t > 12 || n < 1 || n > qn.jDaysInMonth[t - 1] + (12 == t && (e - 979) % 33 % 4 == 0)) }, qn.gregorianToJalali = function (e, t, n) { e = parseInt(e), t = parseInt(t), n = parseInt(n); var a, s = e - 1600, o = t - 1, i = n - 1, r = 365 * s + parseInt((s + 3) / 4) - parseInt((s + 99) / 100) + parseInt((s + 399) / 400); for (a = 0; a < o; ++a)r += qn.gDaysInMonth[a]; o > 1 && (s % 4 == 0 && s % 100 != 0 || s % 400 == 0) && ++r, r += i; var c = r - 79, l = parseInt(c / 12053); c %= 12053; var u = 979 + 33 * l + 4 * parseInt(c / 1461); for (c %= 1461, c >= 366 && (u += parseInt((c - 1) / 365), c = (c - 1) % 365), a = 0; a < 11 && c >= qn.jDaysInMonth[a]; ++a)c -= qn.jDaysInMonth[a]; return [u, a + 1, c + 1] }, ee.i18n.fa = { setText: "تاييد", cancelText: "انصراف", clearText: "واضح ", selectedText: "{count} منتخب", dateFormat: "yy/mm/dd", dayNames: ["يکشنبه", "دوشنبه", "سه‌شنبه", "چهارشنبه", "پنج‌شنبه", "جمعه", "شنبه"], dayNamesShort: ["ی", "د", "س", "چ", "پ", "ج", "ش"], dayNamesMin: ["ی", "د", "س", "چ", "پ", "ج", "ش"], dayText: "روز", hourText: "ساعت", minuteText: "دقيقه", monthNames: ["فروردين", "ارديبهشت", "خرداد", "تير", "مرداد", "شهريور", "مهر", "آبان", "آذر", "دی", "بهمن", "اسفند"], monthNamesShort: ["فروردين", "ارديبهشت", "خرداد", "تير", "مرداد", "شهريور", "مهر", "آبان", "آذر", "دی", "بهمن", "اسفند"], monthText: "ماه", secText: "ثانيه", timeFormat: "HH:ii", timeWheels: "iiHH", yearText: "سال", nowText: "اکنون", amText: "ب", pmText: "ص", todayText: "امروز", getYear: function (e) { return qn.gregorianToJalali(e.getFullYear(), e.getMonth() + 1, e.getDate())[0] }, getMonth: function (e) { return --qn.gregorianToJalali(e.getFullYear(), e.getMonth() + 1, e.getDate())[1] }, getDay: function (e) { return qn.gregorianToJalali(e.getFullYear(), e.getMonth() + 1, e.getDate())[2] }, getDate: function (e, t, n, a, s, o, i) { t < 0 && (e += Math.floor(t / 12), t = 12 + t % 12), t > 11 && (e += Math.floor(t / 12), t %= 12); var r = qn.jalaliToGregorian(e, +t + 1, n); return new Date(r[0], r[1] - 1, r[2], a || 0, s || 0, o || 0, i || 0) }, getMaxDayOfMonth: function (e, t) { for (var n = 31; !1 === qn.checkDate(e, t + 1, n);)n--; return n }, firstDay: 6, rtl: !0, dateText: "تاریخ ", timeText: "زمان ", closeText: "نزدیک", fromText: "شروع ", toText: "پایان", wholeText: "تمام", fractionText: "کسر", unitText: "واحد", labels: ["سال", "ماه", "روز", "ساعت", "دقیقه", "ثانیه", ""], labelsShort: ["سال", "ماه", "روز", "ساعت", "دقیقه", "ثانیه", ""], startText: "شروع", stopText: "پايان", resetText: "تنظیم مجدد", lapText: "Lap", hideText: "پنهان کردن", backText: "پشت", undoText: "واچیدن" }, ee.i18n.fi = { setText: "Aseta", cancelText: "Peruuta", clearText: "Tyhjennä", selectedText: "{count} valita", dateFormat: "d. MM yy", dayNames: ["Sunnuntai", "Maanantai", "Tiistai", "Keskiviiko", "Torstai", "Perjantai", "Lauantai"], dayNamesShort: ["Su", "Ma", "Ti", "Ke", "To", "Pe", "La"], dayNamesMin: ["S", "M", "T", "K", "T", "P", "L"], dayText: "Päivä", delimiter: ".", hourText: "Tuntia", minuteText: "Minuutti", monthNames: ["Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kesäkuu", "Heinäkuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu"], monthNamesShort: ["Tam", "Hel", "Maa", "Huh", "Tou", "Kes", "Hei", "Elo", "Syy", "Lok", "Mar", "Jou"], monthText: "Kuukausi", secText: "Sekunda", timeFormat: "H:ii", yearText: "Vuosi", nowText: "Nyt", pmText: "pm", amText: "am", firstDay: 1, dateText: "Päiväys", timeText: "Aika", todayText: "Tänään", prevMonthText: "Edellinen kuukausi", nextMonthText: "Ensi kuussa", prevYearText: "Edellinen vuosi", nextYearText: "Ensi vuosi", closeText: "Sulje", eventText: "Tapahtumia", eventsText: "Tapahtumia", fromText: "Alkaa", toText: "Päättyy", wholeText: "Kokonainen", fractionText: "Murtoluku", unitText: "Yksikkö", labels: ["Vuosi", "Kuukausi", "Päivä", "Tunnin", "Minuutti", "sekuntia", ""], labelsShort: ["Vuo", "Kuu", "Päi", "Tun", "Min", "Sek", ""], startText: "Käynnistys", stopText: "Seis", resetText: "Aseta uudelleen", lapText: "Kierros", hideText: "Vuota", backText: "Edellinen", undoText: "Kumoa", offText: "Pois", onText: "Päällä", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.fr = { setText: "Terminer", cancelText: "Annuler", clearText: "Effacer", selectedText: "{count} sélectionné", selectedPluralText: "{count} sélectionnés", dateFormat: "dd/mm/yy", dayNames: ["&#68;imanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"], dayNamesShort: ["&#68;im.", "Lun.", "Mar.", "Mer.", "Jeu.", "Ven.", "Sam."], dayNamesMin: ["&#68;", "L", "M", "M", "J", "V", "S"], dayText: "Jour", monthText: "Mois", monthNames: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"], monthNamesShort: ["Janv.", "Févr.", "Mars", "Avril", "Mai", "Juin", "Juil.", "Août", "Sept.", "Oct.", "Nov.", "Déc."], hourText: "Heures", minuteText: "Minutes", secText: "Secondes", timeFormat: "HH:ii", yearText: "Année", nowText: "Maintenant", pmText: "pm", amText: "am", todayText: "Aujourd'hui", firstDay: 1, dateText: "Date", timeText: "Heure", closeText: "Fermer", fromText: "Démarrer", toText: "Fin", wholeText: "Entier", fractionText: "Fraction", unitText: "Unité", labels: ["Ans", "Mois", "Jours", "Heures", "Minutes", "Secondes", ""], labelsShort: ["Ans", "Mois", "Jours", "Hrs", "Min", "Sec", ""], startText: "Démarrer", stopText: "Arrêter", resetText: "Réinitialiser", lapText: "Lap", hideText: "Cachez", backText: "Retour", undoText: "Annuler", offText: "Non", onText: "Oui", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.he = { rtl: !0, setText: "שמירה", cancelText: "ביטול", clearText: "נקה", selectedText: "{count} נבחר", selectedPluralText: "{count} נבחרו", dateFormat: "dd/mm/yy", dayNames: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"], dayNamesShort: ["א'", "ב'", "ג'", "ד'", "ה'", "ו'", "ש'"], dayNamesMin: ["א", "ב", "ג", "ד", "ה", "ו", "ש"], dayText: "יום", hourText: "שעות", minuteText: "דקות", monthNames: ["ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"], monthNamesShort: ["ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ"], monthText: "חודש", secText: "שניות", amText: "am", pmText: "pm", timeFormat: "HH:ii", timeWheels: "iiHH", yearText: "שנה", nowText: "עכשיו", firstDay: 0, dateText: "תאריך", timeText: "זמן", closeText: "סגירה", todayText: "היום", eventText: "מִקרֶה", eventsText: "מִקרֶה", fromText: "התחלה", toText: "סיום", wholeText: "כֹּל", fractionText: "שבריר", unitText: "יחידה", labels: ["שנים", "חודשים", "ימים", "שעות", "דקות", "שניים", ""], labelsShort: ["שנים", "חודשים", "ימים", "שעות", "דקות", "שניים", ""], startText: "התחל", stopText: "עצור", resetText: "אתחול", lapText: "הקפה", hideText: "הסתר", offText: "כיבוי", onText: "הפעלה", backText: "חזור", undoText: "ביטול פעולה" }, ee.i18n.hi = { setText: "सैट करें", cancelText: "रद्द करें", clearText: "साफ़ को", selectedText: "{count} चयनित", dateFormat: "dd/mm/yy", dayNames: ["रविवार", "सोमवार", "मंगलवार", "बुधवार", "गुरुवार", "शुक्रवार", "शनिवार"], dayNamesShort: ["रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि"], dayNamesMin: ["रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि"], dayText: "दिन", delimiter: ".", hourText: "घंटा", minuteText: "मिनट", monthNames: ["जनवरी ", "फरवरी", "मार्च", "अप्रेल", "मई", "जून", "जूलाई", "अगस्त ", "सितम्बर", "अक्टूबर", "नवम्बर", "दिसम्बर"], monthNamesShort: ["जन", "फर", "मार्च", "अप्रेल", "मई", "जून", "जूलाई", "अग", "सित", "अक्ट", "नव", "दि"], monthText: "महीना", secText: "सेकंड", timeFormat: "H:ii", yearText: "साल", nowText: "अब", pmText: "अपराह्न", amText: "पूर्वाह्न", firstDay: 1, dateText: "तिथि", timeText: "समय", todayText: "आज", prevMonthText: "पिछ्ला महिना", nextMonthText: "अगले महीने", prevYearText: "पिछला साल", nextYearText: "अगले वर्ष", closeText: "बंद", eventText: "इवेट३", eventsText: "इवेट३", fromText: "से", toText: "तक", wholeText: "समूचा", fractionText: "अंश", unitText: "इकाई", labels: ["साल", "महीने", "दिन", "घंटे", "मिनट", "सेकंड", ""], labelsShort: ["साल", "महीने", "दिन", "घंटे", "मिनट", "सेकंड", ""], startText: "प्रारंभ", stopText: "रोकें", resetText: "रीसेट करें", lapText: "लैप", hideText: "छिपाना", backText: "वापस", undoText: "वापस लाएं", offText: "बंद", onText: "चालू", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.hr = {
          setText: "Postavi", cancelText: "Izlaz", clearText: "Izbriši", selectedText: "{count} odabran", dateFormat: "dd.mm.yy", dayNames: ["Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"], dayNamesShort: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"], dayNamesMin: ["Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su"], dayText: "Dan", delimiter: ".", hourText: "Sat", minuteText: "Minuta", monthNames: ["Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"], monthNamesShort: ["Sij", "Velj", "Ožu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro"], monthText: "Mjesec", secText: "Sekunda", timeFormat: "H:ii", yearText: "Godina", nowText: "Sada", pmText: "pm", amText: "am", firstDay: 1, dateText: "Datum", timeText: "Vrijeme", todayText: "Danas", prevMonthText: "Prethodni mjesec", nextMonthText: "Sljedeći mjesec", prevYearText: "Prethodni godina", nextYearText: "Slijedeće godine", closeText: "Zatvori", eventText: "Događaj", eventsText: "događaja", fromText: "Počinje", toText: "Završava", wholeText: "Cjelina", fractionText: "Frakcija", unitText: "Jedinica", labels: ["godina", "mjesec", "dan", "sat", "minuta", "sekunda", ""], labelsShort: ["god", "mje", "dan", "sat", "min", "sec", ""], startText: "Početak", stopText: "Prekid", resetText: "Resetiraj", lapText: "Ciklus",
          hideText: "Sakriti", backText: "Natrag", undoText: "Poništavanje", offText: "Uklj.", onText: "Isklj.", decimalSeparator: ",", thousandsSeparator: " "
      }, ee.i18n.hu = { setText: "OK", cancelText: "Mégse", clearText: "Törlés", selectedText: "{count} kiválasztva", dateFormat: "yy.mm.dd.", dayNames: ["Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat"], dayNamesShort: ["Va", "Hé", "Ke", "Sze", "Csü", "Pé", "Szo"], dayNamesMin: ["V", "H", "K", "Sz", "Cs", "P", "Sz"], dayText: "Nap", delimiter: ".", hourText: "Óra", minuteText: "Perc", monthNames: ["Január", "Február", "Március", "Április", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"], monthNamesShort: ["Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Szep", "Okt", "Nov", "Dec"], monthText: "Hónap", secText: "Másodperc", timeFormat: "H:ii", yearText: "Év", nowText: "Most", pmText: "pm", amText: "am", firstDay: 1, dateText: "Dátum", timeText: "Idő", todayText: "Ma", prevMonthText: "Előző hónap", nextMonthText: "Következő hónap", prevYearText: "Előző év", nextYearText: "Következő év", closeText: "Bezár", eventText: "esemény", eventsText: "esemény", fromText: "Eleje", toText: "Vége", wholeText: "Egész", fractionText: "Tört", unitText: "Egység", labels: ["Év", "Hónap", "Nap", "Óra", "Perc", "Másodperc", ""], labelsShort: ["Év", "Hó.", "Nap", "Óra", "Perc", "Mp.", ""], startText: "Indít", stopText: "Megállít", resetText: "Visszaállít", lapText: "Lap", hideText: "Elrejt", backText: "Vissza", undoText: "Visszavon", offText: "Ki", onText: "Be", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.it = { setText: "OK", cancelText: "Annulla", clearText: "Chiarire", selectedText: "{count} selezionato", selectedPluralText: "{count} selezionati", dateFormat: "dd/mm/yy", dayNames: ["Domenica", "Lunedì", "Mertedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato"], dayNamesShort: ["Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa"], dayNamesMin: ["D", "L", "M", "M", "G", "V", "S"], dayText: "Giorno", hourText: "Ore", minuteText: "Minuti", monthNames: ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"], monthNamesShort: ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"], monthText: "Mese", secText: "Secondi", timeFormat: "HH:ii", yearText: "Anno", nowText: "Ora", pmText: "pm", amText: "am", todayText: "Oggi", firstDay: 1, dateText: "Data", timeText: "Volta", closeText: "Chiudere", fromText: "Inizio", toText: "Fine", wholeText: "Intero", fractionText: "Frazione", unitText: "Unità", labels: ["Anni", "Mesi", "Giorni", "Ore", "Minuti", "Secondi", ""], labelsShort: ["Anni", "Mesi", "Gio", "Ore", "Min", "Sec", ""], startText: "Inizio", stopText: "Arresto", resetText: "Ripristina", lapText: "Lap", hideText: "Nascondi", backText: "Indietro", undoText: "Annulla", offText: "Via", onText: "Su", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.ja = { setText: "セット", cancelText: "キャンセル", clearText: "クリア", selectedText: "{count} 選択", dateFormat: "yy年mm月dd日", dayNames: ["日", "月", "火", "水", "木", "金", "土"], dayNamesShort: ["日", "月", "火", "水", "木", "金", "土"], dayNamesMin: ["日", "月", "火", "水", "木", "金", "土"], dayText: "日", hourText: "時", minuteText: "分", monthNames: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], monthNamesShort: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], monthText: "月", secText: "秒", timeFormat: "HH:ii", yearText: "年", nowText: "今", pmText: "午後", amText: "午前", yearSuffix: "年", monthSuffix: "月", daySuffix: "日", todayText: "今日", dateText: "日付", timeText: "時間", closeText: "クローズ", fromText: "開始", toText: "終わり", wholeText: "全数", fractionText: "分数", unitText: "単位", labels: ["年間", "月間", "日間", "時間", "分", "秒", ""], labelsShort: ["年間", "月間", "日間", "時間", "分", "秒", ""], startText: "開始", stopText: "停止", resetText: "リセット", lapText: "ラップ", hideText: "隠す", backText: "バック", undoText: "アンドゥ" }, ee.i18n.ko = { setText: "설정", cancelText: "취소", clearText: "삭제", selectedText: "{count} 선택된", dateFormat: "yy-mm-dd", dayNames: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일"], dayNamesShort: ["일", "월", "화", "수", "목", "금", "토"], dayNamesMin: ["일", "월", "화", "수", "목", "금", "토"], dayText: "일", delimiter: "-", hourText: "시간", minuteText: "분", monthNames: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"], monthNamesShort: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"], monthText: "달", secText: "초", timeFormat: "H:ii", yearText: "년", nowText: "지금", pmText: "오후", amText: "오전", firstDay: 0, dateText: "날짜", timeText: "시간", todayText: "오늘", prevMonthText: "이전 달", nextMonthText: "다음 달", prevYearText: "이전 년", nextYearText: "다음 년", closeText: "닫기", eventText: "이벤트", eventsText: "이벤트", fromText: "시작", toText: "종료", wholeText: "정수", fractionText: "분수", unitText: "단위", labels: ["년", "달", "일", "시간", "분", "초", ""], labelsShort: ["년", "달", "일", "시간", "분", "초", ""], startText: "시작", stopText: "중지 ", resetText: "초기화", lapText: "기록", hideText: "숨는 장소", backText: "뒤로", undoText: "실행취소", offText: "끔", onText: "켬", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.lt = { setText: "OK", cancelText: "Atšaukti", clearText: "Išvalyti", selectedText: "Pasirinktas {count}", selectedPluralText: "Pasirinkti {count}", dateFormat: "yy-mm-dd", dayNames: ["Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis"], dayNamesShort: ["S", "Pr", "A", "T", "K", "Pn", "Š"], dayNamesMin: ["S", "Pr", "A", "T", "K", "Pn", "Š"], dayText: "Diena", hourText: "Valanda", minuteText: "Minutes", monthNames: ["Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"], monthNamesShort: ["Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugp", "Rugs", "Spa", "Lap", "Gruo"], monthText: "Mėnuo", secText: "Sekundes", amText: "am", pmText: "pm", timeFormat: "HH:ii", yearText: "Metai", nowText: "Dabar", todayText: "Šiandien", firstDay: 1, dateText: "Data", timeText: "Laikas", closeText: "Uždaryti", fromText: "Nuo", toText: "Iki", wholeText: "Visas", fractionText: "Frakcija", unitText: "Vienetas", labels: ["Metai", "Mėnesiai", "Dienos", "Valandos", "Minutes", "Sekundes", ""], labelsShort: ["m", "mėn.", "d", "h", "min", "s", ""], startText: "Pradėti", stopText: "Sustabdyti", resetText: "Išnaujo", lapText: "Ratas", hideText: "Slėpti", backText: "Atgal", undoText: "Anuliuoti", offText: "Išj.", onText: "Įj.", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.nl = { setText: "Instellen", cancelText: "Annuleren", clearText: "Leegmaken", selectedText: "{count} gekozen", dateFormat: "dd-mm-yy", dayNames: ["zondag", "maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"], dayNamesShort: ["zo", "ma", "di", "wo", "do", "vr", "za"], dayNamesMin: ["z", "m", "d", "w", "d", "v", "z"], dayText: "Dag", hourText: "Uur", minuteText: "Minuten", monthNames: ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december"], monthNamesShort: ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec"], monthText: "Maand", secText: "Seconden", timeFormat: "HH:ii", yearText: "Jaar", nowText: "Nu", pmText: "pm", amText: "am", todayText: "Vandaag", firstDay: 1, dateText: "Datum", timeText: "Tijd", closeText: "Sluiten", fromText: "Start", toText: "Einde", wholeText: "geheel", fractionText: "fractie", unitText: "eenheid", labels: ["Jaren", "Maanden", "Dagen", "Uren", "Minuten", "Seconden", ""], labelsShort: ["j", "m", "d", "u", "min", "sec", ""], startText: "Start", stopText: "Stop", resetText: "Reset", lapText: "Ronde", hideText: "Verbergen", backText: "Terug", undoText: "Onged. maken", offText: "Uit", onText: "Aan", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.no = { setText: "OK", cancelText: "Avbryt", clearText: "Tømme", selectedText: "{count} valgt", dateFormat: "dd.mm.yy", dayNames: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"], dayNamesShort: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø"], dayNamesMin: ["S", "M", "T", "O", "T", "F", "L"], dayText: "Dag", delimiter: ".", hourText: "Time", minuteText: "Minutt", monthNames: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"], monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"], monthText: "Måned", secText: "Sekund", timeFormat: "HH:ii", yearText: "År", nowText: "Nå", pmText: "pm", amText: "am", todayText: "I dag", firstDay: 1, dateText: "Dato", timeText: "Tid", closeText: "Lukk", fromText: "Start", toText: "End", wholeText: "Hele", fractionText: "Fraksjon", unitText: "Enhet", labels: ["År", "Måneder", "Dager", "Timer", "Minutter", "Sekunder", ""], labelsShort: ["År", "Mån", "Dag", "Time", "Min", "Sek", ""], startText: "Start", stopText: "Stopp", resetText: "Tilbakestille", lapText: "Runde", hideText: "Skjul", backText: "Tilbake", undoText: "Angre", offText: "Av", onText: "På", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.pl = { setText: "Zestaw", cancelText: "Anuluj", clearText: "Oczyścić", selectedText: "Wybór: {count}", dateFormat: "yy-mm-dd", dayNames: ["Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota"], dayNamesShort: ["Niedz.", "Pon.", "Wt.", "Śr.", "Czw.", "Pt.", "Sob."], dayNamesMin: ["N", "P", "W", "Ś", "C", "P", "S"], dayText: "Dzień", hourText: "Godziny", minuteText: "Minuty", monthNames: ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"], monthNamesShort: ["Sty", "Lut", "Mar", "Kwi", "Maj", "Cze", "Lip", "Sie", "Wrz", "Paź", "Lis", "Gru"], monthText: "Miesiąc", secText: "Sekundy", timeFormat: "HH:ii", yearText: "Rok", nowText: "Teraz", amText: "am", pmText: "pm", todayText: "Dzisiaj", firstDay: 1, dateText: "Data", timeText: "Czas", closeText: "Zakończenie", fromText: "Rozpoczęcie", toText: "Koniec", wholeText: "Cały", fractionText: "Ułamek", unitText: "Jednostka", labels: ["Lata", "Miesiąc", "Dni", "Godziny", "Minuty", "Sekundy", ""], labelsShort: ["R", "M", "Dz", "Godz", "Min", "Sek", ""], startText: "Rozpoczęcie", stopText: "Zatrzymać", resetText: "Zresetować", lapText: "Zakładka", hideText: "Ukryć", backText: "Wróć", undoText: "Cofnij", offText: "Wył", onText: "Wł", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n["pt-BR"] = { setText: "Selecionar", cancelText: "Cancelar", clearText: "Claro", selectedText: "{count} selecionado", selectedPluralText: "{count} selecionados", dateFormat: "dd/mm/yy", dayNames: ["Domingo", "Segunda-feira", "Terça-feira", "Quarta-feira", "Quinta-feira", "Sexta-feira", "Sábado"], dayNamesShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"], dayNamesMin: ["D", "S", "T", "Q", "Q", "S", "S"], dayText: "Dia", hourText: "Hora", minuteText: "Minutos", monthNames: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"], monthNamesShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"], monthText: "Mês", secText: "Segundo", timeFormat: "HH:ii", yearText: "Ano", nowText: "Agora", pmText: "pm", amText: "am", todayText: "Hoje", dateText: "Data", timeText: "Tempo", closeText: "Fechar", fromText: "In&iacute;cio", toText: "Fim", wholeText: "Inteiro", fractionText: "Fração", unitText: "Unidade", labels: ["Anos", "Meses", "Dias", "Horas", "Minutos", "Segundos", ""], labelsShort: ["Ano", "M&ecirc;s", "Dia", "Hora", "Min", "Seg", ""], startText: "Começar", stopText: "Pare", resetText: "Reinicializar", lapText: "Lap", hideText: "Esconder", backText: "Anterior", undoText: "Desfazer", offText: "Desl", onText: "Lig", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n["pt-PT"] = { setText: "Seleccionar", cancelText: "Cancelar", clearText: "Claro", selectedText: "{count} selecionado", selectedPluralText: "{count} selecionados", dateFormat: "dd-mm-yy", dayNames: ["Domingo", "Segunda-feira", "Terça-feira", "Quarta-feira", "Quinta-feira", "Sexta-feira", "S&aacute;bado"], dayNamesShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "S&aacute;b"], dayNamesMin: ["D", "S", "T", "Q", "Q", "S", "S"], dayText: "Dia", hourText: "Horas", minuteText: "Minutos", monthNames: ["Janeiro", "Fevereiro", "Mar&ccedil;o", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"], monthNamesShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"], monthText: "M&ecirc;s", secText: "Segundo", timeFormat: "HH:ii", yearText: "Ano", nowText: "Actualizar", pmText: "pm", amText: "am", todayText: "Hoy", firstDay: 1, dateText: "Data", timeText: "Tempo", closeText: "Fechar", fromText: "In&iacute;cio", toText: "Fim", wholeText: "Inteiro", fractionText: "Frac&ccedil;&atilde;o", unitText: "Unidade", labels: ["Anos", "Meses", "Dias", "Horas", "Minutos", "Segundos", ""], labelsShort: ["Ano", "M&ecirc;s", "Dia", "Hora", "Min", "Seg", ""], startText: "Come&ccedil;ar", stopText: "Parar", resetText: "Reinicializar", lapText: "Lap", hideText: "Esconder", backText: "Anterior", undoText: "Anular", offText: "Desl", onText: "Lig", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.ro = { setText: "Setare", cancelText: "Anulare", clearText: "Ştergere", selectedText: "{count} selectat", selectedPluralText: "{count} selectate", dateFormat: "dd.mm.yy", dayNames: ["Duminică", "Luni", "Marți", "Miercuri", "Joi", "Vineri", "Sâmbătă"], dayNamesShort: ["Du", "Lu", "Ma", "Mi", "Jo", "Vi", "Sâ"], dayNamesMin: ["D", "L", "M", "M", "J", "V", "S"], dayText: " Ziua", delimiter: ".", hourText: " Ore ", minuteText: "Minute", monthNames: ["Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"], monthNamesShort: ["Ian.", "Feb.", "Mar.", "Apr.", "Mai", "Iun.", "Iul.", "Aug.", "Sept.", "Oct.", "Nov.", "Dec."], monthText: "Luna", secText: "Secunde", timeFormat: "HH:ii", yearText: "Anul", nowText: "Acum", amText: "am", pmText: "pm", todayText: "Astăzi", firstDay: 1, dateText: "Data", timeText: "Ora", closeText: "Închidere", fromText: "Start", toText: "Final", wholeText: "Complet", fractionText: "Parţial", unitText: "Unitate", labels: ["Ani", "Luni", "Zile", "Ore", "Minute", "Secunde", ""], labelsShort: ["Ani", "Luni", "Zile", "Ore", "Min.", "Sec.", ""], startText: "Start", stopText: "Stop", resetText: "Resetare", lapText: "Tură", hideText: "Ascundere", backText: "Înapoi", undoText: "Anulează", offText: "Nu", onText: "Da", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n["ru-UA"] = { setText: "Установить", cancelText: "Отменить", clearText: "Очиститьr", selectedText: "{count} Вібрать", dateFormat: "dd.mm.yy", dayNames: ["воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота"], dayNamesShort: ["вс", "пн", "вт", "ср", "чт", "пт", "сб"], dayNamesMin: ["в", "п", "в", "с", "ч", "п", "с"], dayText: "День", delimiter: ".", hourText: "Часы", minuteText: "Минуты", monthNames: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"], monthNamesShort: ["Янв.", "Февр.", "Март", "Апр.", "Май", "Июнь", "Июль", "Авг.", "Сент.", "Окт.", "Нояб.", "Дек."], monthText: "Месяцы", secText: "Сикунды", timeFormat: "HH:ii", yearText: "Год", nowText: "Сейчас", amText: "am", pmText: "pm", todayText: "Cегодня", firstDay: 1, dateText: "Дата", timeText: "Время", closeText: "Закрыть", fromText: "Начало", toText: "Конец", wholeText: "Весь", fractionText: "Часть", unitText: "Единица", labels: ["Годы", " Месяцы ", " Дни ", " Часы ", " Минуты ", " Секунды", ""], labelsShort: ["Год", "Мес.", "Дн.", "Ч.", "Мин.", "Сек.", ""], startText: "Старт", stopText: "Стоп", resetText: " Сброс ", lapText: " Этап ", hideText: " Скрыть ", backText: "назад", undoText: "ОтменитЬ", offText: "O", onText: "I", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n["ru-RU"] = ee.i18n.ru = { setText: "Установить", cancelText: "Отмена", clearText: "Очистить", selectedText: "{count} Выбрать", dateFormat: "dd.mm.yy", dayNames: ["воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота"], dayNamesShort: ["вс", "пн", "вт", "ср", "чт", "пт", "сб"], dayNamesMin: ["в", "п", "в", "с", "ч", "п", "с"], dayText: "День", delimiter: ".", hourText: "Час", minuteText: "Минут", monthNames: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"], monthNamesShort: ["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек"], monthText: "Месяц", secText: "Секунд", timeFormat: "HH:ii", yearText: "Год", nowText: "Сейчас", amText: "am", pmText: "pm", todayText: "Cегодня", firstDay: 1, dateText: "Дата", timeText: "Время", closeText: "Закрыть", fromText: "Начало", toText: "Конец", wholeText: "Целое", fractionText: "Дробное", unitText: "Единица", labels: ["Лет", "Месяцев", "Дней", "Часов", "Минут", "Секунд", ""], labelsShort: ["Лет", "Мес", "Дн", "Час", "Мин", "Сек", ""], startText: "Старт", stopText: "Стоп", resetText: "Сбросить", lapText: "Круг", hideText: "Скрыть", backText: "назад", undoText: "ОтменитЬ", offText: "O", onText: "I", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.sk = { setText: "Zadaj", cancelText: "Zrušiť", clearText: "Vymazať", selectedText: "Označený: {count}", dateFormat: "d.m.yy", dayNames: ["Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota"], dayNamesShort: ["Ne", "Po", "Ut", "St", "Št", "Pi", "So"], dayNamesMin: ["N", "P", "U", "S", "Š", "P", "S"], dayText: "Ďeň", hourText: "Hodiny", minuteText: "Minúty", monthNames: ["Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"], monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec"], monthText: "Mesiac", secText: "Sekundy", timeFormat: "H:ii", yearText: "Rok", nowText: "Teraz", amText: "am", pmText: "pm", todayText: "Dnes", firstDay: 1, dateText: "Datum", timeText: "Čas", closeText: "Zavrieť", fromText: "Začiatok", toText: "Koniec", wholeText: "Celý", fractionText: "Časť", unitText: "Jednotka", labels: ["Roky", "Mesiace", "Dni", "Hodiny", "Minúty", "Sekundy", ""], labelsShort: ["Rok", "Mes", "Dni", "Hod", "Min", "Sec", ""], startText: "Start", stopText: "Stop", resetText: "Resetovať", lapText: "Etapa", hideText: "Schovať", backText: "Späť", undoText: "Späť", offText: "O", onText: "I", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.sr = { setText: "Постави", cancelText: "Откажи", clearText: "Обриши", selectedText: "{count} изабрана", dateFormat: "dd.mm.yy", dayNames: ["Недеља", "Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота"], dayNamesShort: ["Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб"], dayNamesMin: ["Не", "По", "Ут", "Ср", "Че", "Пе", "Су"], dayText: "Дан", delimiter: ".", hourText: "Час", minuteText: "Минут", monthNames: ["Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"], monthNamesShort: ["Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец"], monthText: "месец", secText: "Секунд", timeFormat: "H:ii", yearText: "година", nowText: "сада", pmText: "pm", amText: "am", firstDay: 1, dateText: "Датум", timeText: "време", todayText: "Данас", prevMonthText: "Претходни мјесец", nextMonthText: "Следећег месеца", prevYearText: "Претходна године", nextYearText: "Следеће године", closeText: "Затвори", eventText: "Догађај", eventsText: "Догађаји", fromText: "Од", toText: "До", wholeText: "цео", fractionText: "Фракција", unitText: "единица", labels: ["Године", "Месеци", "Дана", "Сати", "Минута", "Секунди", ""], labelsShort: ["Год", "Мес", "Дана", "Сати", "Мину", "Секу", ""], startText: "Започни", stopText: "Стоп", resetText: "Ресетуј", lapText: "Круг", hideText: "Сакрити", backText: "Повратак", undoText: "Опозови", offText: "нe", onText: "да", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.sv = { setText: "OK", cancelText: "Avbryt", clearText: "Klara", selectedText: "{count} vald", dateFormat: "yy-mm-dd", dayNames: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag"], dayNamesShort: ["Sö", "Må", "Ti", "On", "To", "Fr", "Lö"], dayNamesMin: ["S", "M", "T", "O", "T", "F", "L"], dayText: "Dag", hourText: "Timme", minuteText: "Minut", monthNames: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"], monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], monthText: "Månad", secText: "Sekund", timeFormat: "HH:ii", yearText: "År", nowText: "Nu", pmText: "pm", amText: "am", todayText: "I dag", firstDay: 1, dateText: "Datum", timeText: "Tid", closeText: "Stäng", fromText: "Start", toText: "Slut", wholeText: "Hela", fractionText: "Bråk", unitText: "Enhet", labels: ["År", "Månader", "Dagar", "Timmar", "Minuter", "Sekunder", ""], labelsShort: ["År", "Mån", "Dag", "Tim", "Min", "Sek", ""], startText: "Start", stopText: "Stopp", resetText: "Återställ", lapText: "Varv", hideText: "Dölj", backText: "Tillbaka", undoText: "Ångra", offText: "Av", onText: "På" }, ee.i18n.tr = { setText: "Seç", cancelText: "İptal", clearText: "Temizleyin", selectedText: "{count} seçilmiş", dateFormat: "dd.mm.yy", dayNames: ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"], dayNamesShort: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"], dayNamesMin: ["P", "P", "S", "Ç", "P", "C", "C"], dayText: "Gün", delimiter: ".", hourText: "Saat", minuteText: "Dakika", monthNames: ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"], monthNamesShort: ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara"], monthText: "Ay", secText: "Saniye", timeFormat: "HH:ii", yearText: "Yıl", nowText: "Şimdi", pmText: "pm", amText: "am", todayText: "Bugün", firstDay: 1, dateText: "Tarih", timeText: "Zaman", closeText: "Kapatmak", fromText: "Başla", toText: "Son", wholeText: "Tam", fractionText: "Kesir", unitText: "Birim", labels: ["Yıl", "Ay", "Gün", "Saat", "Dakika", "Saniye", ""], labelsShort: ["Yıl", "Ay", "Gün", "Sa", "Dak", "Sn", ""], startText: "Başla", stopText: "Durdur", resetText: "Sıfırla", lapText: "Tur", hideText: "Gizle", backText: "Geri", undoText: "Geri Al", offText: "O", onText: "I", decimalSeparator: ",", thousandsSeparator: "." }, ee.i18n.vi = { setText: "Đặt", cancelText: "Hủy bò", clearText: "Xóa", selectedText: "{count} chọn", dateFormat: "dd/mm/yy", dayNames: ["Chủ Nhật", "Thứ Hai", "Thứ Ba", "Thứ Tư", "Thứ Năm", "Thứ Sáu", "Thứ Bảy"], dayNamesShort: ["CN", "T2", "T3", "T4", "T5", "T6", "T7"], dayNamesMin: ["CN", "T2", "T3", "T4", "T5", "T6", "T7"], dayText: "", delimiter: "/", hourText: "Giờ", minuteText: "Phút", monthNames: ["Tháng Một", "Tháng Hai", "Tháng Ba", "Tháng Tư", "Tháng Năm", "Tháng Sáu", "Tháng Bảy", "Tháng Tám", "Tháng Chín", "Tháng Mười", "Tháng Mười Một", "Tháng Mười Hai"], monthNamesShort: ["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"], monthText: "Tháng", secText: "Giây", timeFormat: "H:ii", yearText: "Năm", nowText: "Bây giờ", pmText: "pm", amText: "am", firstDay: 0, dateText: "Ngày", timeText: "Hồi", todayText: "Hôm nay", prevMonthText: "Tháng trước", nextMonthText: "Tháng tới", prevYearText: "Măm trước", nextYearText: "Năm tới", closeText: "Đóng", eventText: "Sự kiện", eventsText: "Sự kiện", fromText: "Từ", toText: "Tới", wholeText: "Toàn thể", fractionText: "Phân số", unitText: "đơn vị", labels: ["Năm", "Tháng", "Ngày", "Giờ", "Phút", "Giây", ""], labelsShort: ["Năm", "Tháng", "Ngày", "Giờ", "Phút", "Giây", ""], startText: "Bắt đầu", stopText: "Dừng", resetText: "Đặt lại", lapText: "Vòng", hideText: "Giấu", backText: "Quay lại", undoText: "Hoàn tác", offText: "Tất", onText: "Bật", decimalSeparator: ",", thousandsSeparator: " " }, ee.i18n.zh = { setText: "确定", cancelText: "取消", clearText: "明确", selectedText: "{count} 选", dateFormat: "yy/mm/dd", dayNames: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"], dayNamesShort: ["日", "一", "二", "三", "四", "五", "六"], dayNamesMin: ["日", "一", "二", "三", "四", "五", "六"], dayText: "日", hourText: "时", minuteText: "分", monthNames: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], monthNamesShort: ["一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二"], monthText: "月", secText: "秒", timeFormat: "HH:ii", yearText: "年", nowText: "当前", pmText: "下午", amText: "上午", todayText: "今天", dateText: "日", timeText: "时间", closeText: "关闭", fromText: "开始时间", toText: "结束时间", wholeText: "合计", fractionText: "分数", unitText: "单位", labels: ["年", "月", "日", "小时", "分钟", "秒", ""], labelsShort: ["年", "月", "日", "点", "分", "秒", ""], startText: "开始", stopText: "停止", resetText: "重置", lapText: "圈", hideText: "隐藏", backText: "返回", undoText: "复原", offText: "关闭", onText: "开启", decimalSeparator: ",", thousandsSeparator: " " }; var Qn = ee.themes; Qn.frame.ios = { display: "bottom", headerText: !1, btnWidth: !1, deleteIcon: "ios-backspace", scroll3d: !0 }, Qn.scroller.ios = De({}, Qn.frame.ios, { rows: 5, height: 34, minWidth: 55, selectedLineHeight: !0, selectedLineBorder: 1, showLabel: !1, useShortLabels: !0, btnPlusClass: "mbsc-ic mbsc-ic-arrow-down5", btnMinusClass: "mbsc-ic mbsc-ic-arrow-up5", checkIcon: "ion-ios7-checkmark-empty", filterClearIcon: "ion-close-circled", dateDisplay: "MMdyy", btnCalPrevClass: "mbsc-ic mbsc-ic-arrow-left5", btnCalNextClass: "mbsc-ic mbsc-ic-arrow-right5" }), Qn.listview.ios = { leftArrowClass: "mbsc-ic-ion-ios7-arrow-back", rightArrowClass: "mbsc-ic-ion-ios7-arrow-forward" }, Qn.form.ios = {}; var ea, ta, na = ee.themes; na.frame.material = { headerText: !1, btnWidth: !1, deleteIcon: "material-backspace", onMarkupReady: function (e) { Q(Me(e.target), ".mbsc-fr-btn-e", "mbsc-disabled", "mbsc-fr-btn-nhl") } }, na.scroller.material = De({}, na.frame.material, { showLabel: !1, selectedLineBorder: 2, weekDays: "min", icon: { filled: "material-star", empty: "material-star-outline" }, checkIcon: "material-check", btnPlusClass: "mbsc-ic mbsc-ic-material-keyboard-arrow-down", btnMinusClass: "mbsc-ic mbsc-ic-material-keyboard-arrow-up", btnCalPrevClass: "mbsc-ic mbsc-ic-material-keyboard-arrow-left", btnCalNextClass: "mbsc-ic mbsc-ic-material-keyboard-arrow-right", onEventBubbleShow: function (e) { var t = Me(e.eventList), n = Me(e.target).closest(".mbsc-cal-row").index() < 2, a = Me(".mbsc-cal-event-color", t).eq(n ? 0 : -1).css("background-color"); Me(".mbsc-cal-events-arr", t).css("border-color", n ? "transparent transparent " + a + " transparent" : a + "transparent transparent transparent") } }), na.listview.material = { leftArrowClass: "mbsc-ic-material-keyboard-arrow-left", rightArrowClass: "mbsc-ic-material-keyboard-arrow-right", onItemActivate: function (e) { Z(Me(e.target), e.domEvent) }, onItemDeactivate: function () { q(ta) }, onSlideStart: function (e) { Me(".mbsc-ripple", e.target).remove() }, onSortStart: function (e) { Me(".mbsc-ripple", e.target).remove() } }, na.navigation.material = { onInit: function () { Q(Me(this), ".mbsc-ms-item.mbsc-btn-e", "mbsc-disabled", "mbsc-btn-nhl") }, onMarkupInit: function () { Me(".mbsc-ripple", this).remove() }, onDestroy: function () { Me(this).off(".mbsc-ripple") } }, na.form.material = { addRipple: function (e, t) { Z(e, t) }, removeRipple: function () { q(ta) } }; var aa = ee.themes; aa.frame.windows = { headerText: !1, deleteIcon: "backspace4", btnReverse: !0 }, aa.scroller.windows = De({}, aa.frame.windows, { rows: 6, minWidth: 88, height: 44, btnPlusClass: "mbsc-ic mbsc-ic-arrow-down5", btnMinusClass: "mbsc-ic mbsc-ic-arrow-up5", checkIcon: "material-check", dateDisplay: "MMdyy", showLabel: !1, showScrollArrows: !0, btnCalPrevClass: "mbsc-ic mbsc-ic-arrow-left5", btnCalNextClass: "mbsc-ic mbsc-ic-arrow-right5", dayNamesShort: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], useShortLabels: !0 }), aa.form.windows = {}, ee.customTheme("ios-dark", "ios"), ee.customTheme("material-dark", "material"), ee.customTheme("mobiscroll-dark", "mobiscroll"), ee.customTheme("windows-dark", "windows"); var sa = ee.themes, oa = void 0; return "android" == pe ? oa = "material" : "ios" == pe ? oa = "ios" : "wp" == pe && (oa = "windows"), Me.each(sa.frame, function (e, t) { if (oa && t.baseTheme == oa && "material-dark" != e && "windows-dark" != e && "ios-dark" != e) return ee.autoTheme = e, !1; e == oa && (ee.autoTheme = e) }), ee
  });