@everymatrix/player-rglimits 1.55.0 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/PlayerRglimits-BUKrkaYn.cjs +30 -0
- package/components/{PlayerRglimits-D19CVMb7.js → PlayerRglimits-CtvEMtNI.js} +3125 -2576
- package/components/{PlayerRglimits-CkBjc7jh.js → PlayerRglimits-D2eEMQ9E.js} +3147 -2577
- package/es2015/player-rglimits.cjs +1 -1
- package/es2015/player-rglimits.js +1 -1
- package/esnext/player-rglimits.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-db5752f9--Bvt52z2.js +610 -0
- package/stencil/index-db5752f9-CAzJb5N3.js +594 -0
- package/stencil/index-db5752f9-CEbtfUsZ.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-BH4FIF5y.js +122 -0
- package/stencil/ui-skeleton-982450d2-BYrWGs9b.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-DGJAETMx.js +122 -0
- package/stencil/ui-skeleton-DlfwJJb1.js +29 -0
- package/stencil/ui-skeleton-DtnYQAt6.cjs +1 -0
- package/stencil/ui-skeleton-rqI1NmdA.js +11 -0
- package/components/GeneralAnimationLoading-BYQ3Ievv.cjs +0 -1
- package/components/GeneralAnimationLoading-DPCYrrdu.js +0 -655
- package/components/GeneralAnimationLoading-KiKS37N6.js +0 -692
- package/components/PlayerRglimits-Bb8nuUct.cjs +0 -12
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";var Ml=Object.defineProperty,Dl=Object.defineProperties;var Pl=Object.getOwnPropertyDescriptors;var da=Object.getOwnPropertySymbols;var Al=Object.prototype.hasOwnProperty,Ol=Object.prototype.propertyIsEnumerable;var Jr=(e,t,i)=>t in e?Ml(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,ha=(e,t)=>{for(var i in t||(t={}))Al.call(t,i)&&Jr(e,i,t[i]);if(da)for(var i of da(t))Ol.call(t,i)&&Jr(e,i,t[i]);return e},fa=(e,t)=>Dl(e,Pl(t));var fe=(e,t,i)=>Jr(e,typeof t!="symbol"?t+"":t,i);var Pi=(e,t,i)=>new Promise((r,n)=>{var a=o=>{try{l(i.next(o))}catch(u){n(u)}},s=o=>{try{l(i.throw(o))}catch(u){n(u)}},l=o=>o.done?r(o.value):Promise.resolve(o.value).then(a,s);l((i=i.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-DtnYQAt6.cjs");function Me(){}function ls(e){return e()}function ca(){return Object.create(null)}function Lt(e){e.forEach(ls)}function Dn(e){return typeof e=="function"}function os(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Cl(e){return Object.keys(e).length===0}function us(e,...t){if(e==null){for(const r of t)r(void 0);return Me}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function Hl(e,t,i){e.$$.on_destroy.push(us(t,i))}function d(e,t){e.appendChild(t)}function Rl(e,t,i){const r=Nl(e);if(!r.getElementById(t)){const n=g("style");n.id=t,n.textContent=i,Il(r,n)}}function Nl(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Il(e,t){return d(e.head||e,t),t.sheet}function U(e,t,i){e.insertBefore(t,i||null)}function R(e){e.parentNode&&e.parentNode.removeChild(e)}function Mt(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function g(e){return document.createElement(e)}function Ul(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function E(e){return document.createTextNode(e)}function S(){return E(" ")}function Oe(e,t,i,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function oi(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function p(e,t,i){i==null?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function Bl(e){return Array.from(e.childNodes)}function O(e,t){t=""+t,e.data!==t&&(e.data=t)}function ti(e,t){e.value=t==null?"":t}function fr(e,t,i,r){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function ii(e,t,i){for(let r=0;r<e.options.length;r+=1){const n=e.options[r];if(n.__value===t){n.selected=!0;return}}(!i||t!==void 0)&&(e.selectedIndex=-1)}function Qr(e){const t=e.querySelector(":checked");return t&&t.__value}class Yl{constructor(t=!1){fe(this,"is_svg",!1);fe(this,"e");fe(this,"n");fe(this,"t");fe(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,i,r=null){this.e||(this.is_svg?this.e=Ul(i.nodeName):this.e=g(i.nodeType===11?"TEMPLATE":i.nodeName),this.t=i.tagName!=="TEMPLATE"?i:i.content,this.c(t)),this.i(r)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let i=0;i<this.n.length;i+=1)U(this.t,this.n[i],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(R)}}function Fl(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let Ii;function Ri(e){Ii=e}function jl(){if(!Ii)throw new Error("Function called outside component initialization");return Ii}function Gl(e){jl().$$.on_mount.push(e)}const qt=[],hn=[];let Jt=[];const ma=[],Wl=Promise.resolve();let fn=!1;function zl(){fn||(fn=!0,Wl.then(de))}function ri(e){Jt.push(e)}const Kr=new Set;let zt=0;function de(){if(zt!==0)return;const e=Ii;do{try{for(;zt<qt.length;){const t=qt[zt];zt++,Ri(t),Vl(t.$$)}}catch(t){throw qt.length=0,zt=0,t}for(Ri(null),qt.length=0,zt=0;hn.length;)hn.pop()();for(let t=0;t<Jt.length;t+=1){const i=Jt[t];Kr.has(i)||(Kr.add(i),i())}Jt.length=0}while(qt.length);for(;ma.length;)ma.pop()();fn=!1,Kr.clear(),Ri(e)}function Vl(e){if(e.fragment!==null){e.update(),Lt(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ri)}}function $l(e){const t=[],i=[];Jt.forEach(r=>e.indexOf(r)===-1?t.push(r):i.push(r)),i.forEach(r=>r()),Jt=t}const ql=new Set;function Zl(e,t){e&&e.i&&(ql.delete(e),e.i(t))}function Re(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Xl(e,t,i){const{fragment:r,after_update:n}=e.$$;r&&r.m(t,i),ri(()=>{const a=e.$$.on_mount.map(ls).filter(Dn);e.$$.on_destroy?e.$$.on_destroy.push(...a):Lt(a),e.$$.on_mount=[]}),n.forEach(ri)}function Jl(e,t){const i=e.$$;i.fragment!==null&&($l(i.after_update),Lt(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function Ql(e,t){e.$$.dirty[0]===-1&&(qt.push(e),zl(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Kl(e,t,i,r,n,a,s=null,l=[-1]){const o=Ii;Ri(e);const u=e.$$={fragment:null,ctx:[],props:a,update:Me,not_equal:n,bound:ca(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(o?o.$$.context:[])),callbacks:ca(),dirty:l,skip_bound:!1,root:t.target||o.$$.root};s&&s(u.root);let h=!1;if(u.ctx=i?i(e,t.props||{},(c,f,...w)=>{const _=w.length?w[0]:f;return u.ctx&&n(u.ctx[c],u.ctx[c]=_)&&(!u.skip_bound&&u.bound[c]&&u.bound[c](_),h&&Ql(e,c)),f}):[],u.update(),h=!0,Lt(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const c=Bl(t.target);u.fragment&&u.fragment.l(c),c.forEach(R)}else u.fragment&&u.fragment.c();t.intro&&Zl(e.$$.fragment),Xl(e,t.target,t.anchor),de()}Ri(o)}let ds;typeof HTMLElement=="function"&&(ds=class extends HTMLElement{constructor(t,i,r){super();fe(this,"$$ctor");fe(this,"$$s");fe(this,"$$c");fe(this,"$$cn",!1);fe(this,"$$d",{});fe(this,"$$r",!1);fe(this,"$$p_d",{});fe(this,"$$l",{});fe(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=i,r&&this.attachShadow({mode:"open"})}addEventListener(t,i,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(i),this.$$c){const n=this.$$c.$on(t,i);this.$$l_u.set(i,n)}super.addEventListener(t,i,r)}removeEventListener(t,i,r){if(super.removeEventListener(t,i,r),this.$$c){const n=this.$$l_u.get(i);n&&(n(),this.$$l_u.delete(i))}}connectedCallback(){return Pi(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let s;return{c:function(){s=g("slot"),a!=="default"&&p(s,"name",a)},m:function(u,h){U(u,s,h)},d:function(u){u&&R(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},r=Fl(this);for(const a of this.$$s)a in r&&(i[a]=[t(a)]);for(const a of this.attributes){const s=this.$$g_p(a.name);s in this.$$d||(this.$$d[s]=gr(s,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:fa(ha({},this.$$d),{$$slots:i,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const a in this.$$p_d)if(this.$$d[a]=this.$$c.$$.ctx[this.$$c.$$.props[a]],this.$$p_d[a].reflect){const s=gr(a,this.$$d[a],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,s)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const a in this.$$l)for(const s of this.$$l[a]){const l=this.$$c.$on(a,s);this.$$l_u.set(s,l)}this.$$l={}}})}attributeChangedCallback(t,i,r){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=gr(t,r,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(i=>this.$$p_d[i].attribute===t||!this.$$p_d[i].attribute&&i.toLowerCase()===t)||t}});function gr(e,t,i,r){var a;const n=(a=i[e])==null?void 0:a.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!i[e])return t;if(r==="toAttribute")switch(n){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function eo(e,t,i,r,n,a){let s=class extends ds{constructor(){super(e,i,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(s.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){var u;o=gr(l,o,t),this.$$d[l]=o,(u=this.$$c)==null||u.$set({[l]:o})}})}),r.forEach(l=>{Object.defineProperty(s.prototype,l,{get(){var o;return(o=this.$$c)==null?void 0:o[l]}})}),e.element=s,s}class to{constructor(){fe(this,"$$");fe(this,"$$set")}$destroy(){Jl(this,1),this.$destroy=Me}$on(t,i){if(!Dn(i))return Me;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(i),()=>{const n=r.indexOf(i);n!==-1&&r.splice(n,1)}}$set(t){this.$$set&&!Cl(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const io="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(io);function ro(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function no(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
|
|
2
|
+
//! version : 2.30.1
|
|
3
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
|
+
//! license : MIT
|
|
5
|
+
//! momentjs.com
|
|
6
|
+
var hs;function L(){return hs.apply(null,arguments)}function ao(e){hs=e}function Ye(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function xt(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function F(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Pn(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(F(e,t))return!1;return!0}function xe(e){return e===void 0}function lt(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Wi(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function fs(e,t){var i=[],r,n=e.length;for(r=0;r<n;++r)i.push(t(e[r],r));return i}function _t(e,t){for(var i in t)F(t,i)&&(e[i]=t[i]);return F(t,"toString")&&(e.toString=t.toString),F(t,"valueOf")&&(e.valueOf=t.valueOf),e}function $e(e,t,i,r){return Rs(e,t,i,r,!0).utc()}function so(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function D(e){return e._pf==null&&(e._pf=so()),e._pf}var cn;Array.prototype.some?cn=Array.prototype.some:cn=function(e){var t=Object(this),i=t.length>>>0,r;for(r=0;r<i;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function An(e){var t=null,i=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=D(e),i=cn.call(t.parsedDateParts,function(n){return n!=null}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i),e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function Dr(e){var t=$e(NaN);return e!=null?_t(D(t),e):D(t).userInvalidated=!0,t}var pa=L.momentProperties=[],en=!1;function On(e,t){var i,r,n,a=pa.length;if(xe(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),xe(t._i)||(e._i=t._i),xe(t._f)||(e._f=t._f),xe(t._l)||(e._l=t._l),xe(t._strict)||(e._strict=t._strict),xe(t._tzm)||(e._tzm=t._tzm),xe(t._isUTC)||(e._isUTC=t._isUTC),xe(t._offset)||(e._offset=t._offset),xe(t._pf)||(e._pf=D(t)),xe(t._locale)||(e._locale=t._locale),a>0)for(i=0;i<a;i++)r=pa[i],n=t[r],xe(n)||(e[r]=n);return e}function zi(e){On(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),en===!1&&(en=!0,L.updateOffset(this),en=!1)}function Fe(e){return e instanceof zi||e!=null&&e._isAMomentObject!=null}function cs(e){L.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function Ne(e,t){var i=!0;return _t(function(){if(L.deprecationHandler!=null&&L.deprecationHandler(null,e),i){var r=[],n,a,s,l=arguments.length;for(a=0;a<l;a++){if(n="",typeof arguments[a]=="object"){n+=`
|
|
7
|
+
[`+a+"] ";for(s in arguments[0])F(arguments[0],s)&&(n+=s+": "+arguments[0][s]+", ");n=n.slice(0,-2)}else n=arguments[a];r.push(n)}cs(e+`
|
|
8
|
+
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
9
|
+
`+new Error().stack),i=!1}return t.apply(this,arguments)},t)}var ga={};function ms(e,t){L.deprecationHandler!=null&&L.deprecationHandler(e,t),ga[e]||(cs(t),ga[e]=!0)}L.suppressDeprecationWarnings=!1;L.deprecationHandler=null;function qe(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function lo(e){var t,i;for(i in e)F(e,i)&&(t=e[i],qe(t)?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function mn(e,t){var i=_t({},e),r;for(r in t)F(t,r)&&(xt(e[r])&&xt(t[r])?(i[r]={},_t(i[r],e[r]),_t(i[r],t[r])):t[r]!=null?i[r]=t[r]:delete i[r]);for(r in e)F(e,r)&&!F(t,r)&&xt(e[r])&&(i[r]=_t({},i[r]));return i}function Cn(e){e!=null&&this.set(e)}var pn;Object.keys?pn=Object.keys:pn=function(e){var t,i=[];for(t in e)F(e,t)&&i.push(t);return i};var oo={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function uo(e,t,i){var r=this._calendar[e]||this._calendar.sameElse;return qe(r)?r.call(t,i):r}function Ve(e,t,i){var r=""+Math.abs(e),n=t-r.length,a=e>=0;return(a?i?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var Hn=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,cr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,tn={},Qt={};function k(e,t,i,r){var n=r;typeof r=="string"&&(n=function(){return this[r]()}),e&&(Qt[e]=n),t&&(Qt[t[0]]=function(){return Ve(n.apply(this,arguments),t[1],t[2])}),i&&(Qt[i]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function ho(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function fo(e){var t=e.match(Hn),i,r;for(i=0,r=t.length;i<r;i++)Qt[t[i]]?t[i]=Qt[t[i]]:t[i]=ho(t[i]);return function(n){var a="",s;for(s=0;s<r;s++)a+=qe(t[s])?t[s].call(n,e):t[s];return a}}function _r(e,t){return e.isValid()?(t=ps(t,e.localeData()),tn[t]=tn[t]||fo(t),tn[t](e)):e.localeData().invalidDate()}function ps(e,t){var i=5;function r(n){return t.longDateFormat(n)||n}for(cr.lastIndex=0;i>=0&&cr.test(e);)e=e.replace(cr,r),cr.lastIndex=0,i-=1;return e}var co={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function mo(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(Hn).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var po="Invalid date";function go(){return this._invalidDate}var _o="%d",yo=/\d{1,2}/;function bo(e){return this._ordinal.replace("%d",e)}var vo={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Lo(e,t,i,r){var n=this._relativeTime[i];return qe(n)?n(e,t,i,r):n.replace(/%d/i,e)}function wo(e,t){var i=this._relativeTime[e>0?"future":"past"];return qe(i)?i(t):i.replace(/%s/i,t)}var _a={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Ie(e){return typeof e=="string"?_a[e]||_a[e.toLowerCase()]:void 0}function Rn(e){var t={},i,r;for(r in e)F(e,r)&&(i=Ie(r),i&&(t[i]=e[r]));return t}var To={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function So(e){var t=[],i;for(i in e)F(e,i)&&t.push({unit:i,priority:To[i]});return t.sort(function(r,n){return r.priority-n.priority}),t}var gs=/\d/,Ce=/\d\d/,_s=/\d{3}/,Nn=/\d{4}/,Pr=/[+-]?\d{6}/,Z=/\d\d?/,ys=/\d\d\d\d?/,bs=/\d\d\d\d\d\d?/,Ar=/\d{1,3}/,In=/\d{1,4}/,Or=/[+-]?\d{1,6}/,ui=/\d+/,Cr=/[+-]?\d+/,ko=/Z|[+-]\d\d:?\d\d/gi,Hr=/Z|[+-]\d\d(?::?\d\d)?/gi,Eo=/[+-]?\d+(\.\d{1,3})?/,Vi=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,di=/^[1-9]\d?/,Un=/^([1-9]\d|\d)/,wr;wr={};function T(e,t,i){wr[e]=qe(t)?t:function(r,n){return r&&i?i:t}}function xo(e,t){return F(wr,e)?wr[e](t._strict,t._locale):new RegExp(Mo(e))}function Mo(e){return at(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,i,r,n,a){return i||r||n||a}))}function at(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function He(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function C(e){var t=+e,i=0;return t!==0&&isFinite(t)&&(i=He(t)),i}var gn={};function V(e,t){var i,r=t,n;for(typeof e=="string"&&(e=[e]),lt(t)&&(r=function(a,s){s[t]=C(a)}),n=e.length,i=0;i<n;i++)gn[e[i]]=r}function $i(e,t){V(e,function(i,r,n,a){n._w=n._w||{},t(i,n._w,n,a)})}function Do(e,t,i){t!=null&&F(gn,e)&&gn[e](t,i._a,i,e)}function Rr(e){return e%4===0&&e%100!==0||e%400===0}var me=0,rt=1,ze=2,ne=3,Be=4,nt=5,Et=6,Po=7,Ao=8;k("Y",0,0,function(){var e=this.year();return e<=9999?Ve(e,4):"+"+e});k(0,["YY",2],0,function(){return this.year()%100});k(0,["YYYY",4],0,"year");k(0,["YYYYY",5],0,"year");k(0,["YYYYYY",6,!0],0,"year");T("Y",Cr);T("YY",Z,Ce);T("YYYY",In,Nn);T("YYYYY",Or,Pr);T("YYYYYY",Or,Pr);V(["YYYYY","YYYYYY"],me);V("YYYY",function(e,t){t[me]=e.length===2?L.parseTwoDigitYear(e):C(e)});V("YY",function(e,t){t[me]=L.parseTwoDigitYear(e)});V("Y",function(e,t){t[me]=parseInt(e,10)});function Ni(e){return Rr(e)?366:365}L.parseTwoDigitYear=function(e){return C(e)+(C(e)>68?1900:2e3)};var vs=hi("FullYear",!0);function Oo(){return Rr(this.year())}function hi(e,t){return function(i){return i!=null?(Ls(this,e,i),L.updateOffset(this,t),this):Ui(this,e)}}function Ui(e,t){if(!e.isValid())return NaN;var i=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?i.getUTCMilliseconds():i.getMilliseconds();case"Seconds":return r?i.getUTCSeconds():i.getSeconds();case"Minutes":return r?i.getUTCMinutes():i.getMinutes();case"Hours":return r?i.getUTCHours():i.getHours();case"Date":return r?i.getUTCDate():i.getDate();case"Day":return r?i.getUTCDay():i.getDay();case"Month":return r?i.getUTCMonth():i.getMonth();case"FullYear":return r?i.getUTCFullYear():i.getFullYear();default:return NaN}}function Ls(e,t,i){var r,n,a,s,l;if(!(!e.isValid()||isNaN(i))){switch(r=e._d,n=e._isUTC,t){case"Milliseconds":return void(n?r.setUTCMilliseconds(i):r.setMilliseconds(i));case"Seconds":return void(n?r.setUTCSeconds(i):r.setSeconds(i));case"Minutes":return void(n?r.setUTCMinutes(i):r.setMinutes(i));case"Hours":return void(n?r.setUTCHours(i):r.setHours(i));case"Date":return void(n?r.setUTCDate(i):r.setDate(i));case"FullYear":break;default:return}a=i,s=e.month(),l=e.date(),l=l===29&&s===1&&!Rr(a)?28:l,n?r.setUTCFullYear(a,s,l):r.setFullYear(a,s,l)}}function Co(e){return e=Ie(e),qe(this[e])?this[e]():this}function Ho(e,t){if(typeof e=="object"){e=Rn(e);var i=So(e),r,n=i.length;for(r=0;r<n;r++)this[i[r].unit](e[i[r].unit])}else if(e=Ie(e),qe(this[e]))return this[e](t);return this}function Ro(e,t){return(e%t+t)%t}var ie;Array.prototype.indexOf?ie=Array.prototype.indexOf:ie=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Bn(e,t){if(isNaN(e)||isNaN(t))return NaN;var i=Ro(t,12);return e+=(t-i)/12,i===1?Rr(e)?29:28:31-i%7%2}k("M",["MM",2],"Mo",function(){return this.month()+1});k("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});k("MMMM",0,0,function(e){return this.localeData().months(this,e)});T("M",Z,di);T("MM",Z,Ce);T("MMM",function(e,t){return t.monthsShortRegex(e)});T("MMMM",function(e,t){return t.monthsRegex(e)});V(["M","MM"],function(e,t){t[rt]=C(e)-1});V(["MMM","MMMM"],function(e,t,i,r){var n=i._locale.monthsParse(e,r,i._strict);n!=null?t[rt]=n:D(i).invalidMonth=e});var No="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ws="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ts=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Io=Vi,Uo=Vi;function Bo(e,t){return e?Ye(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ts).test(t)?"format":"standalone"][e.month()]:Ye(this._months)?this._months:this._months.standalone}function Yo(e,t){return e?Ye(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ts.test(t)?"format":"standalone"][e.month()]:Ye(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Fo(e,t,i){var r,n,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=$e([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return i?t==="MMM"?(n=ie.call(this._shortMonthsParse,s),n!==-1?n:null):(n=ie.call(this._longMonthsParse,s),n!==-1?n:null):t==="MMM"?(n=ie.call(this._shortMonthsParse,s),n!==-1?n:(n=ie.call(this._longMonthsParse,s),n!==-1?n:null)):(n=ie.call(this._longMonthsParse,s),n!==-1?n:(n=ie.call(this._shortMonthsParse,s),n!==-1?n:null))}function jo(e,t,i){var r,n,a;if(this._monthsParseExact)return Fo.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=$e([2e3,r]),i&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!i&&!this._monthsParse[r]&&(a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),i&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(i&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!i&&this._monthsParse[r].test(e))return r}}function Ss(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=C(t);else if(t=e.localeData().monthsParse(t),!lt(t))return e}var i=t,r=e.date();return r=r<29?r:Math.min(r,Bn(e.year(),i)),e._isUTC?e._d.setUTCMonth(i,r):e._d.setMonth(i,r),e}function ks(e){return e!=null?(Ss(this,e),L.updateOffset(this,!0),this):Ui(this,"Month")}function Go(){return Bn(this.year(),this.month())}function Wo(e){return this._monthsParseExact?(F(this,"_monthsRegex")||Es.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(F(this,"_monthsShortRegex")||(this._monthsShortRegex=Io),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function zo(e){return this._monthsParseExact?(F(this,"_monthsRegex")||Es.call(this),e?this._monthsStrictRegex:this._monthsRegex):(F(this,"_monthsRegex")||(this._monthsRegex=Uo),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Es(){function e(o,u){return u.length-o.length}var t=[],i=[],r=[],n,a,s,l;for(n=0;n<12;n++)a=$e([2e3,n]),s=at(this.monthsShort(a,"")),l=at(this.months(a,"")),t.push(s),i.push(l),r.push(l),r.push(s);t.sort(e),i.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Vo(e,t,i,r,n,a,s){var l;return e<100&&e>=0?(l=new Date(e+400,t,i,r,n,a,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,i,r,n,a,s),l}function Bi(e){var t,i;return e<100&&e>=0?(i=Array.prototype.slice.call(arguments),i[0]=e+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Tr(e,t,i){var r=7+t-i,n=(7+Bi(e,0,r).getUTCDay()-t)%7;return-n+r-1}function xs(e,t,i,r,n){var a=(7+i-r)%7,s=Tr(e,r,n),l=1+7*(t-1)+a+s,o,u;return l<=0?(o=e-1,u=Ni(o)+l):l>Ni(e)?(o=e+1,u=l-Ni(e)):(o=e,u=l),{year:o,dayOfYear:u}}function Yi(e,t,i){var r=Tr(e.year(),t,i),n=Math.floor((e.dayOfYear()-r-1)/7)+1,a,s;return n<1?(s=e.year()-1,a=n+st(s,t,i)):n>st(e.year(),t,i)?(a=n-st(e.year(),t,i),s=e.year()+1):(s=e.year(),a=n),{week:a,year:s}}function st(e,t,i){var r=Tr(e,t,i),n=Tr(e+1,t,i);return(Ni(e)-r+n)/7}k("w",["ww",2],"wo","week");k("W",["WW",2],"Wo","isoWeek");T("w",Z,di);T("ww",Z,Ce);T("W",Z,di);T("WW",Z,Ce);$i(["w","ww","W","WW"],function(e,t,i,r){t[r.substr(0,1)]=C(e)});function $o(e){return Yi(e,this._week.dow,this._week.doy).week}var qo={dow:0,doy:6};function Zo(){return this._week.dow}function Xo(){return this._week.doy}function Jo(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Qo(e){var t=Yi(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}k("d",0,"do","day");k("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});k("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});k("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});k("e",0,0,"weekday");k("E",0,0,"isoWeekday");T("d",Z);T("e",Z);T("E",Z);T("dd",function(e,t){return t.weekdaysMinRegex(e)});T("ddd",function(e,t){return t.weekdaysShortRegex(e)});T("dddd",function(e,t){return t.weekdaysRegex(e)});$i(["dd","ddd","dddd"],function(e,t,i,r){var n=i._locale.weekdaysParse(e,r,i._strict);n!=null?t.d=n:D(i).invalidWeekday=e});$i(["d","e","E"],function(e,t,i,r){t[r]=C(e)});function Ko(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function eu(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Yn(e,t){return e.slice(t,7).concat(e.slice(0,t))}var tu="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ms="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),iu="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ru=Vi,nu=Vi,au=Vi;function su(e,t){var i=Ye(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Yn(i,this._week.dow):e?i[e.day()]:i}function lu(e){return e===!0?Yn(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function ou(e){return e===!0?Yn(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function uu(e,t,i){var r,n,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=$e([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return i?t==="dddd"?(n=ie.call(this._weekdaysParse,s),n!==-1?n:null):t==="ddd"?(n=ie.call(this._shortWeekdaysParse,s),n!==-1?n:null):(n=ie.call(this._minWeekdaysParse,s),n!==-1?n:null):t==="dddd"?(n=ie.call(this._weekdaysParse,s),n!==-1||(n=ie.call(this._shortWeekdaysParse,s),n!==-1)?n:(n=ie.call(this._minWeekdaysParse,s),n!==-1?n:null)):t==="ddd"?(n=ie.call(this._shortWeekdaysParse,s),n!==-1||(n=ie.call(this._weekdaysParse,s),n!==-1)?n:(n=ie.call(this._minWeekdaysParse,s),n!==-1?n:null)):(n=ie.call(this._minWeekdaysParse,s),n!==-1||(n=ie.call(this._weekdaysParse,s),n!==-1)?n:(n=ie.call(this._shortWeekdaysParse,s),n!==-1?n:null))}function du(e,t,i){var r,n,a;if(this._weekdaysParseExact)return uu.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=$e([2e3,1]).day(r),i&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),i&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(i&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(i&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!i&&this._weekdaysParse[r].test(e))return r}}function hu(e){if(!this.isValid())return e!=null?this:NaN;var t=Ui(this,"Day");return e!=null?(e=Ko(e,this.localeData()),this.add(e-t,"d")):t}function fu(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function cu(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=eu(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function mu(e){return this._weekdaysParseExact?(F(this,"_weekdaysRegex")||Fn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(F(this,"_weekdaysRegex")||(this._weekdaysRegex=ru),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function pu(e){return this._weekdaysParseExact?(F(this,"_weekdaysRegex")||Fn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(F(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=nu),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function gu(e){return this._weekdaysParseExact?(F(this,"_weekdaysRegex")||Fn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(F(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=au),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Fn(){function e(h,c){return c.length-h.length}var t=[],i=[],r=[],n=[],a,s,l,o,u;for(a=0;a<7;a++)s=$e([2e3,1]).day(a),l=at(this.weekdaysMin(s,"")),o=at(this.weekdaysShort(s,"")),u=at(this.weekdays(s,"")),t.push(l),i.push(o),r.push(u),n.push(l),n.push(o),n.push(u);t.sort(e),i.sort(e),r.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function jn(){return this.hours()%12||12}function _u(){return this.hours()||24}k("H",["HH",2],0,"hour");k("h",["hh",2],0,jn);k("k",["kk",2],0,_u);k("hmm",0,0,function(){return""+jn.apply(this)+Ve(this.minutes(),2)});k("hmmss",0,0,function(){return""+jn.apply(this)+Ve(this.minutes(),2)+Ve(this.seconds(),2)});k("Hmm",0,0,function(){return""+this.hours()+Ve(this.minutes(),2)});k("Hmmss",0,0,function(){return""+this.hours()+Ve(this.minutes(),2)+Ve(this.seconds(),2)});function Ds(e,t){k(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Ds("a",!0);Ds("A",!1);function Ps(e,t){return t._meridiemParse}T("a",Ps);T("A",Ps);T("H",Z,Un);T("h",Z,di);T("k",Z,di);T("HH",Z,Ce);T("hh",Z,Ce);T("kk",Z,Ce);T("hmm",ys);T("hmmss",bs);T("Hmm",ys);T("Hmmss",bs);V(["H","HH"],ne);V(["k","kk"],function(e,t,i){var r=C(e);t[ne]=r===24?0:r});V(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e});V(["h","hh"],function(e,t,i){t[ne]=C(e),D(i).bigHour=!0});V("hmm",function(e,t,i){var r=e.length-2;t[ne]=C(e.substr(0,r)),t[Be]=C(e.substr(r)),D(i).bigHour=!0});V("hmmss",function(e,t,i){var r=e.length-4,n=e.length-2;t[ne]=C(e.substr(0,r)),t[Be]=C(e.substr(r,2)),t[nt]=C(e.substr(n)),D(i).bigHour=!0});V("Hmm",function(e,t,i){var r=e.length-2;t[ne]=C(e.substr(0,r)),t[Be]=C(e.substr(r))});V("Hmmss",function(e,t,i){var r=e.length-4,n=e.length-2;t[ne]=C(e.substr(0,r)),t[Be]=C(e.substr(r,2)),t[nt]=C(e.substr(n))});function yu(e){return(e+"").toLowerCase().charAt(0)==="p"}var bu=/[ap]\.?m?\.?/i,vu=hi("Hours",!0);function Lu(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"}var As={calendar:oo,longDateFormat:co,invalidDate:po,ordinal:_o,dayOfMonthOrdinalParse:yo,relativeTime:vo,months:No,monthsShort:ws,week:qo,weekdays:tu,weekdaysMin:iu,weekdaysShort:Ms,meridiemParse:bu},Q={},Ai={},Fi;function wu(e,t){var i,r=Math.min(e.length,t.length);for(i=0;i<r;i+=1)if(e[i]!==t[i])return i;return r}function ya(e){return e&&e.toLowerCase().replace("_","-")}function Tu(e){for(var t=0,i,r,n,a;t<e.length;){for(a=ya(e[t]).split("-"),i=a.length,r=ya(e[t+1]),r=r?r.split("-"):null;i>0;){if(n=Nr(a.slice(0,i).join("-")),n)return n;if(r&&r.length>=i&&wu(a,r)>=i-1)break;i--}t++}return Fi}function Su(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Nr(e){var t=null,i;if(Q[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&Su(e))try{t=Fi._abbr,i=no,i("./locale/"+e),vt(t)}catch(r){Q[e]=null}return Q[e]}function vt(e,t){var i;return e&&(xe(t)?i=ot(e):i=Gn(e,t),i?Fi=i:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Fi._abbr}function Gn(e,t){if(t!==null){var i,r=As;if(t.abbr=e,Q[e]!=null)ms("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Q[e]._config;else if(t.parentLocale!=null)if(Q[t.parentLocale]!=null)r=Q[t.parentLocale]._config;else if(i=Nr(t.parentLocale),i!=null)r=i._config;else return Ai[t.parentLocale]||(Ai[t.parentLocale]=[]),Ai[t.parentLocale].push({name:e,config:t}),null;return Q[e]=new Cn(mn(r,t)),Ai[e]&&Ai[e].forEach(function(n){Gn(n.name,n.config)}),vt(e),Q[e]}else return delete Q[e],null}function ku(e,t){if(t!=null){var i,r,n=As;Q[e]!=null&&Q[e].parentLocale!=null?Q[e].set(mn(Q[e]._config,t)):(r=Nr(e),r!=null&&(n=r._config),t=mn(n,t),r==null&&(t.abbr=e),i=new Cn(t),i.parentLocale=Q[e],Q[e]=i),vt(e)}else Q[e]!=null&&(Q[e].parentLocale!=null?(Q[e]=Q[e].parentLocale,e===vt()&&vt(e)):Q[e]!=null&&delete Q[e]);return Q[e]}function ot(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Fi;if(!Ye(e)){if(t=Nr(e),t)return t;e=[e]}return Tu(e)}function Eu(){return pn(Q)}function Wn(e){var t,i=e._a;return i&&D(e).overflow===-2&&(t=i[rt]<0||i[rt]>11?rt:i[ze]<1||i[ze]>Bn(i[me],i[rt])?ze:i[ne]<0||i[ne]>24||i[ne]===24&&(i[Be]!==0||i[nt]!==0||i[Et]!==0)?ne:i[Be]<0||i[Be]>59?Be:i[nt]<0||i[nt]>59?nt:i[Et]<0||i[Et]>999?Et:-1,D(e)._overflowDayOfYear&&(t<me||t>ze)&&(t=ze),D(e)._overflowWeeks&&t===-1&&(t=Po),D(e)._overflowWeekday&&t===-1&&(t=Ao),D(e).overflow=t),e}var xu=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Mu=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Du=/Z|[+-]\d\d(?::?\d\d)?/,mr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],rn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Pu=/^\/?Date\((-?\d+)/i,Au=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ou={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Os(e){var t,i,r=e._i,n=xu.exec(r)||Mu.exec(r),a,s,l,o,u=mr.length,h=rn.length;if(n){for(D(e).iso=!0,t=0,i=u;t<i;t++)if(mr[t][1].exec(n[1])){s=mr[t][0],a=mr[t][2]!==!1;break}if(s==null){e._isValid=!1;return}if(n[3]){for(t=0,i=h;t<i;t++)if(rn[t][1].exec(n[3])){l=(n[2]||" ")+rn[t][0];break}if(l==null){e._isValid=!1;return}}if(!a&&l!=null){e._isValid=!1;return}if(n[4])if(Du.exec(n[4]))o="Z";else{e._isValid=!1;return}e._f=s+(l||"")+(o||""),Vn(e)}else e._isValid=!1}function Cu(e,t,i,r,n,a){var s=[Hu(e),ws.indexOf(t),parseInt(i,10),parseInt(r,10),parseInt(n,10)];return a&&s.push(parseInt(a,10)),s}function Hu(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ru(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Nu(e,t,i){if(e){var r=Ms.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(r!==n)return D(i).weekdayMismatch=!0,i._isValid=!1,!1}return!0}function Iu(e,t,i){if(e)return Ou[e];if(t)return 0;var r=parseInt(i,10),n=r%100,a=(r-n)/100;return a*60+n}function Cs(e){var t=Au.exec(Ru(e._i)),i;if(t){if(i=Cu(t[4],t[3],t[2],t[5],t[6],t[7]),!Nu(t[1],i,e))return;e._a=i,e._tzm=Iu(t[8],t[9],t[10]),e._d=Bi.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),D(e).rfc2822=!0}else e._isValid=!1}function Uu(e){var t=Pu.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Os(e),e._isValid===!1)delete e._isValid;else return;if(Cs(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:L.createFromInputFallback(e)}L.createFromInputFallback=Ne("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Zt(e,t,i){return e!=null?e:t!=null?t:i}function Bu(e){var t=new Date(L.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function zn(e){var t,i,r=[],n,a,s;if(!e._d){for(n=Bu(e),e._w&&e._a[ze]==null&&e._a[rt]==null&&Yu(e),e._dayOfYear!=null&&(s=Zt(e._a[me],n[me]),(e._dayOfYear>Ni(s)||e._dayOfYear===0)&&(D(e)._overflowDayOfYear=!0),i=Bi(s,0,e._dayOfYear),e._a[rt]=i.getUTCMonth(),e._a[ze]=i.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=n[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[ne]===24&&e._a[Be]===0&&e._a[nt]===0&&e._a[Et]===0&&(e._nextDay=!0,e._a[ne]=0),e._d=(e._useUTC?Bi:Vo).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ne]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==a&&(D(e).weekdayMismatch=!0)}}function Yu(e){var t,i,r,n,a,s,l,o,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,s=4,i=Zt(t.GG,e._a[me],Yi(q(),1,4).year),r=Zt(t.W,1),n=Zt(t.E,1),(n<1||n>7)&&(o=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,u=Yi(q(),a,s),i=Zt(t.gg,e._a[me],u.year),r=Zt(t.w,u.week),t.d!=null?(n=t.d,(n<0||n>6)&&(o=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(o=!0)):n=a),r<1||r>st(i,a,s)?D(e)._overflowWeeks=!0:o!=null?D(e)._overflowWeekday=!0:(l=xs(i,r,n,a,s),e._a[me]=l.year,e._dayOfYear=l.dayOfYear)}L.ISO_8601=function(){};L.RFC_2822=function(){};function Vn(e){if(e._f===L.ISO_8601){Os(e);return}if(e._f===L.RFC_2822){Cs(e);return}e._a=[],D(e).empty=!0;var t=""+e._i,i,r,n,a,s,l=t.length,o=0,u,h;for(n=ps(e._f,e._locale).match(Hn)||[],h=n.length,i=0;i<h;i++)a=n[i],r=(t.match(xo(a,e))||[])[0],r&&(s=t.substr(0,t.indexOf(r)),s.length>0&&D(e).unusedInput.push(s),t=t.slice(t.indexOf(r)+r.length),o+=r.length),Qt[a]?(r?D(e).empty=!1:D(e).unusedTokens.push(a),Do(a,r,e)):e._strict&&!r&&D(e).unusedTokens.push(a);D(e).charsLeftOver=l-o,t.length>0&&D(e).unusedInput.push(t),e._a[ne]<=12&&D(e).bigHour===!0&&e._a[ne]>0&&(D(e).bigHour=void 0),D(e).parsedDateParts=e._a.slice(0),D(e).meridiem=e._meridiem,e._a[ne]=Fu(e._locale,e._a[ne],e._meridiem),u=D(e).era,u!==null&&(e._a[me]=e._locale.erasConvertYear(u,e._a[me])),zn(e),Wn(e)}function Fu(e,t,i){var r;return i==null?t:e.meridiemHour!=null?e.meridiemHour(t,i):(e.isPM!=null&&(r=e.isPM(i),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function ju(e){var t,i,r,n,a,s,l=!1,o=e._f.length;if(o===0){D(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<o;n++)a=0,s=!1,t=On({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],Vn(t),An(t)&&(s=!0),a+=D(t).charsLeftOver,a+=D(t).unusedTokens.length*10,D(t).score=a,l?a<r&&(r=a,i=t):(r==null||a<r||s)&&(r=a,i=t,s&&(l=!0));_t(e,i||t)}function Gu(e){if(!e._d){var t=Rn(e._i),i=t.day===void 0?t.date:t.day;e._a=fs([t.year,t.month,i,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),zn(e)}}function Wu(e){var t=new zi(Wn(Hs(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Hs(e){var t=e._i,i=e._f;return e._locale=e._locale||ot(e._l),t===null||i===void 0&&t===""?Dr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),Fe(t)?new zi(Wn(t)):(Wi(t)?e._d=t:Ye(i)?ju(e):i?Vn(e):zu(e),An(e)||(e._d=null),e))}function zu(e){var t=e._i;xe(t)?e._d=new Date(L.now()):Wi(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Uu(e):Ye(t)?(e._a=fs(t.slice(0),function(i){return parseInt(i,10)}),zn(e)):xt(t)?Gu(e):lt(t)?e._d=new Date(t):L.createFromInputFallback(e)}function Rs(e,t,i,r,n){var a={};return(t===!0||t===!1)&&(r=t,t=void 0),(i===!0||i===!1)&&(r=i,i=void 0),(xt(e)&&Pn(e)||Ye(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=i,a._i=e,a._f=t,a._strict=r,Wu(a)}function q(e,t,i,r){return Rs(e,t,i,r,!1)}var Vu=Ne("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=q.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Dr()}),$u=Ne("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=q.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Dr()});function Ns(e,t){var i,r;if(t.length===1&&Ye(t[0])&&(t=t[0]),!t.length)return q();for(i=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](i))&&(i=t[r]);return i}function qu(){var e=[].slice.call(arguments,0);return Ns("isBefore",e)}function Zu(){var e=[].slice.call(arguments,0);return Ns("isAfter",e)}var Xu=function(){return Date.now?Date.now():+new Date},Oi=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ju(e){var t,i=!1,r,n=Oi.length;for(t in e)if(F(e,t)&&!(ie.call(Oi,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<n;++r)if(e[Oi[r]]){if(i)return!1;parseFloat(e[Oi[r]])!==C(e[Oi[r]])&&(i=!0)}return!0}function Qu(){return this._isValid}function Ku(){return je(NaN)}function Ir(e){var t=Rn(e),i=t.year||0,r=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,o=t.minute||0,u=t.second||0,h=t.millisecond||0;this._isValid=Ju(t),this._milliseconds=+h+u*1e3+o*6e4+l*1e3*60*60,this._days=+s+a*7,this._months=+n+r*3+i*12,this._data={},this._locale=ot(),this._bubble()}function yr(e){return e instanceof Ir}function _n(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function ed(e,t,i){var r=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,s;for(s=0;s<r;s++)C(e[s])!==C(t[s])&&a++;return a+n}function Is(e,t){k(e,0,0,function(){var i=this.utcOffset(),r="+";return i<0&&(i=-i,r="-"),r+Ve(~~(i/60),2)+t+Ve(~~i%60,2)})}Is("Z",":");Is("ZZ","");T("Z",Hr);T("ZZ",Hr);V(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=$n(Hr,e)});var td=/([\+\-]|\d\d)/gi;function $n(e,t){var i=(t||"").match(e),r,n,a;return i===null?null:(r=i[i.length-1]||[],n=(r+"").match(td)||["-",0,0],a=+(n[1]*60)+C(n[2]),a===0?0:n[0]==="+"?a:-a)}function qn(e,t){var i,r;return t._isUTC?(i=t.clone(),r=(Fe(e)||Wi(e)?e.valueOf():q(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+r),L.updateOffset(i,!1),i):q(e).local()}function yn(e){return-Math.round(e._d.getTimezoneOffset())}L.updateOffset=function(){};function id(e,t,i){var r=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=$n(Hr,e),e===null)return this}else Math.abs(e)<16&&!i&&(e=e*60);return!this._isUTC&&t&&(n=yn(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?Ys(this,je(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,L.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:yn(this)}function rd(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function nd(e){return this.utcOffset(0,e)}function ad(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(yn(this),"m")),this}function sd(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=$n(ko,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ld(e){return this.isValid()?(e=e?q(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function od(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ud(){if(!xe(this._isDSTShifted))return this._isDSTShifted;var e={},t;return On(e,this),e=Hs(e),e._a?(t=e._isUTC?$e(e._a):q(e._a),this._isDSTShifted=this.isValid()&&ed(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function dd(){return this.isValid()?!this._isUTC:!1}function hd(){return this.isValid()?this._isUTC:!1}function Us(){return this.isValid()?this._isUTC&&this._offset===0:!1}var fd=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,cd=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function je(e,t){var i=e,r=null,n,a,s;return yr(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:lt(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(r=fd.exec(e))?(n=r[1]==="-"?-1:1,i={y:0,d:C(r[ze])*n,h:C(r[ne])*n,m:C(r[Be])*n,s:C(r[nt])*n,ms:C(_n(r[Et]*1e3))*n}):(r=cd.exec(e))?(n=r[1]==="-"?-1:1,i={y:kt(r[2],n),M:kt(r[3],n),w:kt(r[4],n),d:kt(r[5],n),h:kt(r[6],n),m:kt(r[7],n),s:kt(r[8],n)}):i==null?i={}:typeof i=="object"&&("from"in i||"to"in i)&&(s=md(q(i.from),q(i.to)),i={},i.ms=s.milliseconds,i.M=s.months),a=new Ir(i),yr(e)&&F(e,"_locale")&&(a._locale=e._locale),yr(e)&&F(e,"_isValid")&&(a._isValid=e._isValid),a}je.fn=Ir.prototype;je.invalid=Ku;function kt(e,t){var i=e&&parseFloat(e.replace(",","."));return(isNaN(i)?0:i)*t}function ba(e,t){var i={};return i.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function md(e,t){var i;return e.isValid()&&t.isValid()?(t=qn(t,e),e.isBefore(t)?i=ba(e,t):(i=ba(t,e),i.milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0}}function Bs(e,t){return function(i,r){var n,a;return r!==null&&!isNaN(+r)&&(ms(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=i,i=r,r=a),n=je(i,r),Ys(this,n,e),this}}function Ys(e,t,i,r){var n=t._milliseconds,a=_n(t._days),s=_n(t._months);e.isValid()&&(r=r==null?!0:r,s&&Ss(e,Ui(e,"Month")+s*i),a&&Ls(e,"Date",Ui(e,"Date")+a*i),n&&e._d.setTime(e._d.valueOf()+n*i),r&&L.updateOffset(e,a||s))}var pd=Bs(1,"add"),gd=Bs(-1,"subtract");function Fs(e){return typeof e=="string"||e instanceof String}function _d(e){return Fe(e)||Wi(e)||Fs(e)||lt(e)||bd(e)||yd(e)||e===null||e===void 0}function yd(e){var t=xt(e)&&!Pn(e),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],n,a,s=r.length;for(n=0;n<s;n+=1)a=r[n],i=i||F(e,a);return t&&i}function bd(e){var t=Ye(e),i=!1;return t&&(i=e.filter(function(r){return!lt(r)&&Fs(e)}).length===0),t&&i}function vd(e){var t=xt(e)&&!Pn(e),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,a;for(n=0;n<r.length;n+=1)a=r[n],i=i||F(e,a);return t&&i}function Ld(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"}function wd(e,t){arguments.length===1&&(arguments[0]?_d(arguments[0])?(e=arguments[0],t=void 0):vd(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var i=e||q(),r=qn(i,this).startOf("day"),n=L.calendarFormat(this,r)||"sameElse",a=t&&(qe(t[n])?t[n].call(this,i):t[n]);return this.format(a||this.localeData().calendar(n,this,q(i)))}function Td(){return new zi(this)}function Sd(e,t){var i=Fe(e)?e:q(e);return this.isValid()&&i.isValid()?(t=Ie(t)||"millisecond",t==="millisecond"?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf()):!1}function kd(e,t){var i=Fe(e)?e:q(e);return this.isValid()&&i.isValid()?(t=Ie(t)||"millisecond",t==="millisecond"?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf()):!1}function Ed(e,t,i,r){var n=Fe(e)?e:q(e),a=Fe(t)?t:q(t);return this.isValid()&&n.isValid()&&a.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(n,i):!this.isBefore(n,i))&&(r[1]===")"?this.isBefore(a,i):!this.isAfter(a,i))):!1}function xd(e,t){var i=Fe(e)?e:q(e),r;return this.isValid()&&i.isValid()?(t=Ie(t)||"millisecond",t==="millisecond"?this.valueOf()===i.valueOf():(r=i.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function Md(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Dd(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Pd(e,t,i){var r,n,a;if(!this.isValid())return NaN;if(r=qn(e,this),!r.isValid())return NaN;switch(n=(r.utcOffset()-this.utcOffset())*6e4,t=Ie(t),t){case"year":a=br(this,r)/12;break;case"month":a=br(this,r);break;case"quarter":a=br(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-n)/864e5;break;case"week":a=(this-r-n)/6048e5;break;default:a=this-r}return i?a:He(a)}function br(e,t){if(e.date()<t.date())return-br(t,e);var i=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(i,"months"),n,a;return t-r<0?(n=e.clone().add(i-1,"months"),a=(t-r)/(r-n)):(n=e.clone().add(i+1,"months"),a=(t-r)/(n-r)),-(i+a)||0}L.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";L.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Ad(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Od(e){if(!this.isValid())return null;var t=e!==!0,i=t?this.clone().utc():this;return i.year()<0||i.year()>9999?_r(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):qe(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",_r(i,"Z")):_r(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Cd(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",i,r,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),i="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(i+r+n+a)}function Hd(e){e||(e=this.isUtc()?L.defaultFormatUtc:L.defaultFormat);var t=_r(this,e);return this.localeData().postformat(t)}function Rd(e,t){return this.isValid()&&(Fe(e)&&e.isValid()||q(e).isValid())?je({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Nd(e){return this.from(q(),e)}function Id(e,t){return this.isValid()&&(Fe(e)&&e.isValid()||q(e).isValid())?je({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ud(e){return this.to(q(),e)}function js(e){var t;return e===void 0?this._locale._abbr:(t=ot(e),t!=null&&(this._locale=t),this)}var Gs=Ne("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Ws(){return this._locale}var Sr=1e3,Kt=60*Sr,kr=60*Kt,zs=(365*400+97)*24*kr;function ei(e,t){return(e%t+t)%t}function Vs(e,t,i){return e<100&&e>=0?new Date(e+400,t,i)-zs:new Date(e,t,i).valueOf()}function $s(e,t,i){return e<100&&e>=0?Date.UTC(e+400,t,i)-zs:Date.UTC(e,t,i)}function Bd(e){var t,i;if(e=Ie(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(i=this._isUTC?$s:Vs,e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ei(t+(this._isUTC?0:this.utcOffset()*Kt),kr);break;case"minute":t=this._d.valueOf(),t-=ei(t,Kt);break;case"second":t=this._d.valueOf(),t-=ei(t,Sr);break}return this._d.setTime(t),L.updateOffset(this,!0),this}function Yd(e){var t,i;if(e=Ie(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(i=this._isUTC?$s:Vs,e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=kr-ei(t+(this._isUTC?0:this.utcOffset()*Kt),kr)-1;break;case"minute":t=this._d.valueOf(),t+=Kt-ei(t,Kt)-1;break;case"second":t=this._d.valueOf(),t+=Sr-ei(t,Sr)-1;break}return this._d.setTime(t),L.updateOffset(this,!0),this}function Fd(){return this._d.valueOf()-(this._offset||0)*6e4}function jd(){return Math.floor(this.valueOf()/1e3)}function Gd(){return new Date(this.valueOf())}function Wd(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function zd(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Vd(){return this.isValid()?this.toISOString():null}function $d(){return An(this)}function qd(){return _t({},D(this))}function Zd(){return D(this).overflow}function Xd(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}k("N",0,0,"eraAbbr");k("NN",0,0,"eraAbbr");k("NNN",0,0,"eraAbbr");k("NNNN",0,0,"eraName");k("NNNNN",0,0,"eraNarrow");k("y",["y",1],"yo","eraYear");k("y",["yy",2],0,"eraYear");k("y",["yyy",3],0,"eraYear");k("y",["yyyy",4],0,"eraYear");T("N",Zn);T("NN",Zn);T("NNN",Zn);T("NNNN",lh);T("NNNNN",oh);V(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,r){var n=i._locale.erasParse(e,r,i._strict);n?D(i).era=n:D(i).invalidEra=e});T("y",ui);T("yy",ui);T("yyy",ui);T("yyyy",ui);T("yo",uh);V(["y","yy","yyy","yyyy"],me);V(["yo"],function(e,t,i,r){var n;i._locale._eraYearOrdinalRegex&&(n=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[me]=i._locale.eraYearOrdinalParse(e,n):t[me]=parseInt(e,10)});function Jd(e,t){var i,r,n,a=this._eras||ot("en")._eras;for(i=0,r=a.length;i<r;++i){switch(typeof a[i].since){case"string":n=L(a[i].since).startOf("day"),a[i].since=n.valueOf();break}switch(typeof a[i].until){case"undefined":a[i].until=1/0;break;case"string":n=L(a[i].until).startOf("day").valueOf(),a[i].until=n.valueOf();break}}return a}function Qd(e,t,i){var r,n,a=this.eras(),s,l,o;for(e=e.toUpperCase(),r=0,n=a.length;r<n;++r)if(s=a[r].name.toUpperCase(),l=a[r].abbr.toUpperCase(),o=a[r].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(l===e)return a[r];break;case"NNNN":if(s===e)return a[r];break;case"NNNNN":if(o===e)return a[r];break}else if([s,l,o].indexOf(e)>=0)return a[r]}function Kd(e,t){var i=e.since<=e.until?1:-1;return t===void 0?L(e.since).year():L(e.since).year()+(t-e.offset)*i}function eh(){var e,t,i,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(i=this.clone().startOf("day").valueOf(),r[e].since<=i&&i<=r[e].until||r[e].until<=i&&i<=r[e].since)return r[e].name;return""}function th(){var e,t,i,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(i=this.clone().startOf("day").valueOf(),r[e].since<=i&&i<=r[e].until||r[e].until<=i&&i<=r[e].since)return r[e].narrow;return""}function ih(){var e,t,i,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(i=this.clone().startOf("day").valueOf(),r[e].since<=i&&i<=r[e].until||r[e].until<=i&&i<=r[e].since)return r[e].abbr;return""}function rh(){var e,t,i,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(i=n[e].since<=n[e].until?1:-1,r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return(this.year()-L(n[e].since).year())*i+n[e].offset;return this.year()}function nh(e){return F(this,"_erasNameRegex")||Xn.call(this),e?this._erasNameRegex:this._erasRegex}function ah(e){return F(this,"_erasAbbrRegex")||Xn.call(this),e?this._erasAbbrRegex:this._erasRegex}function sh(e){return F(this,"_erasNarrowRegex")||Xn.call(this),e?this._erasNarrowRegex:this._erasRegex}function Zn(e,t){return t.erasAbbrRegex(e)}function lh(e,t){return t.erasNameRegex(e)}function oh(e,t){return t.erasNarrowRegex(e)}function uh(e,t){return t._eraYearOrdinalRegex||ui}function Xn(){var e=[],t=[],i=[],r=[],n,a,s,l,o,u=this.eras();for(n=0,a=u.length;n<a;++n)s=at(u[n].name),l=at(u[n].abbr),o=at(u[n].narrow),t.push(s),e.push(l),i.push(o),r.push(s),r.push(l),r.push(o);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}k(0,["gg",2],0,function(){return this.weekYear()%100});k(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Ur(e,t){k(0,[e,e.length],0,t)}Ur("gggg","weekYear");Ur("ggggg","weekYear");Ur("GGGG","isoWeekYear");Ur("GGGGG","isoWeekYear");T("G",Cr);T("g",Cr);T("GG",Z,Ce);T("gg",Z,Ce);T("GGGG",In,Nn);T("gggg",In,Nn);T("GGGGG",Or,Pr);T("ggggg",Or,Pr);$i(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,r){t[r.substr(0,2)]=C(e)});$i(["gg","GG"],function(e,t,i,r){t[r]=L.parseTwoDigitYear(e)});function dh(e){return qs.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function hh(e){return qs.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function fh(){return st(this.year(),1,4)}function ch(){return st(this.isoWeekYear(),1,4)}function mh(){var e=this.localeData()._week;return st(this.year(),e.dow,e.doy)}function ph(){var e=this.localeData()._week;return st(this.weekYear(),e.dow,e.doy)}function qs(e,t,i,r,n){var a;return e==null?Yi(this,r,n).year:(a=st(e,r,n),t>a&&(t=a),gh.call(this,e,t,i,r,n))}function gh(e,t,i,r,n){var a=xs(e,t,i,r,n),s=Bi(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}k("Q",0,"Qo","quarter");T("Q",gs);V("Q",function(e,t){t[rt]=(C(e)-1)*3});function _h(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}k("D",["DD",2],"Do","date");T("D",Z,di);T("DD",Z,Ce);T("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});V(["D","DD"],ze);V("Do",function(e,t){t[ze]=C(e.match(Z)[0])});var Zs=hi("Date",!0);k("DDD",["DDDD",3],"DDDo","dayOfYear");T("DDD",Ar);T("DDDD",_s);V(["DDD","DDDD"],function(e,t,i){i._dayOfYear=C(e)});function yh(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}k("m",["mm",2],0,"minute");T("m",Z,Un);T("mm",Z,Ce);V(["m","mm"],Be);var bh=hi("Minutes",!1);k("s",["ss",2],0,"second");T("s",Z,Un);T("ss",Z,Ce);V(["s","ss"],nt);var vh=hi("Seconds",!1);k("S",0,0,function(){return~~(this.millisecond()/100)});k(0,["SS",2],0,function(){return~~(this.millisecond()/10)});k(0,["SSS",3],0,"millisecond");k(0,["SSSS",4],0,function(){return this.millisecond()*10});k(0,["SSSSS",5],0,function(){return this.millisecond()*100});k(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});k(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});k(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});k(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});T("S",Ar,gs);T("SS",Ar,Ce);T("SSS",Ar,_s);var yt,Xs;for(yt="SSSS";yt.length<=9;yt+="S")T(yt,ui);function Lh(e,t){t[Et]=C(("0."+e)*1e3)}for(yt="S";yt.length<=9;yt+="S")V(yt,Lh);Xs=hi("Milliseconds",!1);k("z",0,0,"zoneAbbr");k("zz",0,0,"zoneName");function wh(){return this._isUTC?"UTC":""}function Th(){return this._isUTC?"Coordinated Universal Time":""}var y=zi.prototype;y.add=pd;y.calendar=wd;y.clone=Td;y.diff=Pd;y.endOf=Yd;y.format=Hd;y.from=Rd;y.fromNow=Nd;y.to=Id;y.toNow=Ud;y.get=Co;y.invalidAt=Zd;y.isAfter=Sd;y.isBefore=kd;y.isBetween=Ed;y.isSame=xd;y.isSameOrAfter=Md;y.isSameOrBefore=Dd;y.isValid=$d;y.lang=Gs;y.locale=js;y.localeData=Ws;y.max=$u;y.min=Vu;y.parsingFlags=qd;y.set=Ho;y.startOf=Bd;y.subtract=gd;y.toArray=Wd;y.toObject=zd;y.toDate=Gd;y.toISOString=Od;y.inspect=Cd;typeof Symbol!="undefined"&&Symbol.for!=null&&(y[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});y.toJSON=Vd;y.toString=Ad;y.unix=jd;y.valueOf=Fd;y.creationData=Xd;y.eraName=eh;y.eraNarrow=th;y.eraAbbr=ih;y.eraYear=rh;y.year=vs;y.isLeapYear=Oo;y.weekYear=dh;y.isoWeekYear=hh;y.quarter=y.quarters=_h;y.month=ks;y.daysInMonth=Go;y.week=y.weeks=Jo;y.isoWeek=y.isoWeeks=Qo;y.weeksInYear=mh;y.weeksInWeekYear=ph;y.isoWeeksInYear=fh;y.isoWeeksInISOWeekYear=ch;y.date=Zs;y.day=y.days=hu;y.weekday=fu;y.isoWeekday=cu;y.dayOfYear=yh;y.hour=y.hours=vu;y.minute=y.minutes=bh;y.second=y.seconds=vh;y.millisecond=y.milliseconds=Xs;y.utcOffset=id;y.utc=nd;y.local=ad;y.parseZone=sd;y.hasAlignedHourOffset=ld;y.isDST=od;y.isLocal=dd;y.isUtcOffset=hd;y.isUtc=Us;y.isUTC=Us;y.zoneAbbr=wh;y.zoneName=Th;y.dates=Ne("dates accessor is deprecated. Use date instead.",Zs);y.months=Ne("months accessor is deprecated. Use month instead",ks);y.years=Ne("years accessor is deprecated. Use year instead",vs);y.zone=Ne("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",rd);y.isDSTShifted=Ne("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ud);function Sh(e){return q(e*1e3)}function kh(){return q.apply(null,arguments).parseZone()}function Js(e){return e}var j=Cn.prototype;j.calendar=uo;j.longDateFormat=mo;j.invalidDate=go;j.ordinal=bo;j.preparse=Js;j.postformat=Js;j.relativeTime=Lo;j.pastFuture=wo;j.set=lo;j.eras=Jd;j.erasParse=Qd;j.erasConvertYear=Kd;j.erasAbbrRegex=ah;j.erasNameRegex=nh;j.erasNarrowRegex=sh;j.months=Bo;j.monthsShort=Yo;j.monthsParse=jo;j.monthsRegex=zo;j.monthsShortRegex=Wo;j.week=$o;j.firstDayOfYear=Xo;j.firstDayOfWeek=Zo;j.weekdays=su;j.weekdaysMin=ou;j.weekdaysShort=lu;j.weekdaysParse=du;j.weekdaysRegex=mu;j.weekdaysShortRegex=pu;j.weekdaysMinRegex=gu;j.isPM=yu;j.meridiem=Lu;function Er(e,t,i,r){var n=ot(),a=$e().set(r,t);return n[i](a,e)}function Qs(e,t,i){if(lt(e)&&(t=e,e=void 0),e=e||"",t!=null)return Er(e,t,i,"month");var r,n=[];for(r=0;r<12;r++)n[r]=Er(e,r,i,"month");return n}function Jn(e,t,i,r){typeof e=="boolean"?(lt(t)&&(i=t,t=void 0),t=t||""):(t=e,i=t,e=!1,lt(t)&&(i=t,t=void 0),t=t||"");var n=ot(),a=e?n._week.dow:0,s,l=[];if(i!=null)return Er(t,(i+a)%7,r,"day");for(s=0;s<7;s++)l[s]=Er(t,(s+a)%7,r,"day");return l}function Eh(e,t){return Qs(e,t,"months")}function xh(e,t){return Qs(e,t,"monthsShort")}function Mh(e,t,i){return Jn(e,t,i,"weekdays")}function Dh(e,t,i){return Jn(e,t,i,"weekdaysShort")}function Ph(e,t,i){return Jn(e,t,i,"weekdaysMin")}vt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,i=C(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+i}});L.lang=Ne("moment.lang is deprecated. Use moment.locale instead.",vt);L.langData=Ne("moment.langData is deprecated. Use moment.localeData instead.",ot);var tt=Math.abs;function Ah(){var e=this._data;return this._milliseconds=tt(this._milliseconds),this._days=tt(this._days),this._months=tt(this._months),e.milliseconds=tt(e.milliseconds),e.seconds=tt(e.seconds),e.minutes=tt(e.minutes),e.hours=tt(e.hours),e.months=tt(e.months),e.years=tt(e.years),this}function Ks(e,t,i,r){var n=je(t,i);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function Oh(e,t){return Ks(this,e,t,1)}function Ch(e,t){return Ks(this,e,t,-1)}function va(e){return e<0?Math.floor(e):Math.ceil(e)}function Hh(){var e=this._milliseconds,t=this._days,i=this._months,r=this._data,n,a,s,l,o;return e>=0&&t>=0&&i>=0||e<=0&&t<=0&&i<=0||(e+=va(bn(i)+t)*864e5,t=0,i=0),r.milliseconds=e%1e3,n=He(e/1e3),r.seconds=n%60,a=He(n/60),r.minutes=a%60,s=He(a/60),r.hours=s%24,t+=He(s/24),o=He(el(t)),i+=o,t-=va(bn(o)),l=He(i/12),i%=12,r.days=t,r.months=i,r.years=l,this}function el(e){return e*4800/146097}function bn(e){return e*146097/4800}function Rh(e){if(!this.isValid())return NaN;var t,i,r=this._milliseconds;if(e=Ie(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,i=this._months+el(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(bn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function ut(e){return function(){return this.as(e)}}var tl=ut("ms"),Nh=ut("s"),Ih=ut("m"),Uh=ut("h"),Bh=ut("d"),Yh=ut("w"),Fh=ut("M"),jh=ut("Q"),Gh=ut("y"),Wh=tl;function zh(){return je(this)}function Vh(e){return e=Ie(e),this.isValid()?this[e+"s"]():NaN}function Dt(e){return function(){return this.isValid()?this._data[e]:NaN}}var $h=Dt("milliseconds"),qh=Dt("seconds"),Zh=Dt("minutes"),Xh=Dt("hours"),Jh=Dt("days"),Qh=Dt("months"),Kh=Dt("years");function ef(){return He(this.days()/7)}var it=Math.round,Xt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function tf(e,t,i,r,n){return n.relativeTime(t||1,!!i,e,r)}function rf(e,t,i,r){var n=je(e).abs(),a=it(n.as("s")),s=it(n.as("m")),l=it(n.as("h")),o=it(n.as("d")),u=it(n.as("M")),h=it(n.as("w")),c=it(n.as("y")),f=a<=i.ss&&["s",a]||a<i.s&&["ss",a]||s<=1&&["m"]||s<i.m&&["mm",s]||l<=1&&["h"]||l<i.h&&["hh",l]||o<=1&&["d"]||o<i.d&&["dd",o];return i.w!=null&&(f=f||h<=1&&["w"]||h<i.w&&["ww",h]),f=f||u<=1&&["M"]||u<i.M&&["MM",u]||c<=1&&["y"]||["yy",c],f[2]=t,f[3]=+e>0,f[4]=r,tf.apply(null,f)}function nf(e){return e===void 0?it:typeof e=="function"?(it=e,!0):!1}function af(e,t){return Xt[e]===void 0?!1:t===void 0?Xt[e]:(Xt[e]=t,e==="s"&&(Xt.ss=t-1),!0)}function sf(e,t){if(!this.isValid())return this.localeData().invalidDate();var i=!1,r=Xt,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(i=e),typeof t=="object"&&(r=Object.assign({},Xt,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),n=this.localeData(),a=rf(this,!i,r,n),i&&(a=n.pastFuture(+this,a)),n.postformat(a)}var nn=Math.abs;function Vt(e){return(e>0)-(e<0)||+e}function Br(){if(!this.isValid())return this.localeData().invalidDate();var e=nn(this._milliseconds)/1e3,t=nn(this._days),i=nn(this._months),r,n,a,s,l=this.asSeconds(),o,u,h,c;return l?(r=He(e/60),n=He(r/60),e%=60,r%=60,a=He(i/12),i%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",o=l<0?"-":"",u=Vt(this._months)!==Vt(l)?"-":"",h=Vt(this._days)!==Vt(l)?"-":"",c=Vt(this._milliseconds)!==Vt(l)?"-":"",o+"P"+(a?u+a+"Y":"")+(i?u+i+"M":"")+(t?h+t+"D":"")+(n||r||e?"T":"")+(n?c+n+"H":"")+(r?c+r+"M":"")+(e?c+s+"S":"")):"P0D"}var B=Ir.prototype;B.isValid=Qu;B.abs=Ah;B.add=Oh;B.subtract=Ch;B.as=Rh;B.asMilliseconds=tl;B.asSeconds=Nh;B.asMinutes=Ih;B.asHours=Uh;B.asDays=Bh;B.asWeeks=Yh;B.asMonths=Fh;B.asQuarters=jh;B.asYears=Gh;B.valueOf=Wh;B._bubble=Hh;B.clone=zh;B.get=Vh;B.milliseconds=$h;B.seconds=qh;B.minutes=Zh;B.hours=Xh;B.days=Jh;B.weeks=ef;B.months=Qh;B.years=Kh;B.humanize=sf;B.toISOString=Br;B.toString=Br;B.toJSON=Br;B.locale=js;B.localeData=Ws;B.toIsoString=Ne("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Br);B.lang=Gs;k("X",0,0,"unix");k("x",0,0,"valueOf");T("x",Cr);T("X",Eo);V("X",function(e,t,i){i._d=new Date(parseFloat(e)*1e3)});V("x",function(e,t,i){i._d=new Date(C(e))});//! moment.js
|
|
10
|
+
L.version="2.30.1";ao(q);L.fn=y;L.min=qu;L.max=Zu;L.now=Xu;L.utc=$e;L.unix=Sh;L.months=Eh;L.isDate=Wi;L.locale=vt;L.invalid=Dr;L.duration=je;L.isMoment=Fe;L.weekdays=Mh;L.parseZone=kh;L.localeData=ot;L.isDuration=yr;L.monthsShort=xh;L.weekdaysMin=Ph;L.defineLocale=Gn;L.updateLocale=ku;L.locales=Eu;L.weekdaysShort=Dh;L.normalizeUnits=Ie;L.relativeTimeRounding=nf;L.relativeTimeThreshold=af;L.calendarFormat=Ld;L.prototype=y;L.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const $t=[];function lf(e,t){return{subscribe:Yr(e,t).subscribe}}function Yr(e,t=Me){let i;const r=new Set;function n(l){if(os(e,l)&&(e=l,i)){const o=!$t.length;for(const u of r)u[1](),$t.push(u,e);if(o){for(let u=0;u<$t.length;u+=2)$t[u][0]($t[u+1]);$t.length=0}}}function a(l){n(l(e))}function s(l,o=Me){const u=[l,o];return r.add(u),r.size===1&&(i=t(n,a)||Me),l(e),()=>{r.delete(u),r.size===0&&i&&(i(),i=null)}}return{set:n,update:a,subscribe:s}}function fi(e,t,i){const r=!Array.isArray(e),n=r?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=t.length<2;return lf(i,(s,l)=>{let o=!1;const u=[];let h=0,c=Me;const f=()=>{if(h)return;c();const _=t(r?u[0]:u,s,l);a?s(_):c=Dn(_)?_:Me},w=n.map((_,M)=>us(_,ae=>{u[M]=ae,h&=~(1<<M),o&&f()},()=>{h|=1<<M}));return o=!0,f(),function(){Lt(w),c(),o=!1}})}var of=function(t){return uf(t)&&!df(t)};function uf(e){return!!e&&typeof e=="object"}function df(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||cf(e)}var hf=typeof Symbol=="function"&&Symbol.for,ff=hf?Symbol.for("react.element"):60103;function cf(e){return e.$$typeof===ff}function mf(e){return Array.isArray(e)?[]:{}}function ji(e,t){return t.clone!==!1&&t.isMergeableObject(e)?ni(mf(e),e,t):e}function pf(e,t,i){return e.concat(t).map(function(r){return ji(r,i)})}function gf(e,t){if(!t.customMerge)return ni;var i=t.customMerge(e);return typeof i=="function"?i:ni}function _f(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function La(e){return Object.keys(e).concat(_f(e))}function il(e,t){try{return t in e}catch(i){return!1}}function yf(e,t){return il(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function bf(e,t,i){var r={};return i.isMergeableObject(e)&&La(e).forEach(function(n){r[n]=ji(e[n],i)}),La(t).forEach(function(n){yf(e,n)||(il(e,n)&&i.isMergeableObject(t[n])?r[n]=gf(n,i)(e[n],t[n],i):r[n]=ji(t[n],i))}),r}function ni(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||pf,i.isMergeableObject=i.isMergeableObject||of,i.cloneUnlessOtherwiseSpecified=ji;var r=Array.isArray(t),n=Array.isArray(e),a=r===n;return a?r?i.arrayMerge(e,t,i):bf(e,t,i):ji(t,i)}ni.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return ni(r,n,i)},{})};var vf=ni,Lf=vf;const wf=ro(Lf);var vn=function(e,t){return vn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(i[n]=r[n])},vn(e,t)};function Fr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");vn(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var Y=function(){return Y=Object.assign||function(t){for(var i,r=1,n=arguments.length;r<n;r++){i=arguments[r];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},Y.apply(this,arguments)};function Tf(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(i[r[n]]=e[r[n]]);return i}function an(e,t,i){if(i||arguments.length===2)for(var r=0,n=t.length,a;r<n;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function sn(e,t){var i=t&&t.cache?t.cache:Pf,r=t&&t.serializer?t.serializer:Mf,n=t&&t.strategy?t.strategy:Ef;return n(e,{cache:i,serializer:r})}function Sf(e){return e==null||typeof e=="number"||typeof e=="boolean"}function kf(e,t,i,r){var n=Sf(r)?r:i(r),a=t.get(n);return typeof a=="undefined"&&(a=e.call(this,r),t.set(n,a)),a}function rl(e,t,i){var r=Array.prototype.slice.call(arguments,3),n=i(r),a=t.get(n);return typeof a=="undefined"&&(a=e.apply(this,r),t.set(n,a)),a}function nl(e,t,i,r,n){return i.bind(t,e,r,n)}function Ef(e,t){var i=e.length===1?kf:rl;return nl(e,this,i,t.cache.create(),t.serializer)}function xf(e,t){return nl(e,this,rl,t.cache.create(),t.serializer)}var Mf=function(){return JSON.stringify(arguments)},Df=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,i){this.cache[t]=i},e}(),Pf={create:function(){return new Df}},ln={variadic:xf},H;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(H||(H={}));var K;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(K||(K={}));var ai;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ai||(ai={}));function wa(e){return e.type===K.literal}function Af(e){return e.type===K.argument}function al(e){return e.type===K.number}function sl(e){return e.type===K.date}function ll(e){return e.type===K.time}function ol(e){return e.type===K.select}function ul(e){return e.type===K.plural}function Of(e){return e.type===K.pound}function dl(e){return e.type===K.tag}function hl(e){return!!(e&&typeof e=="object"&&e.type===ai.number)}function Ln(e){return!!(e&&typeof e=="object"&&e.type===ai.dateTime)}var fl=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Cf=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Hf(e){var t={};return e.replace(Cf,function(i){var r=i.length;switch(i[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Rf=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Nf(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Rf).filter(function(f){return f.length>0}),i=[],r=0,n=t;r<n.length;r++){var a=n[r],s=a.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var l=s[0],o=s.slice(1),u=0,h=o;u<h.length;u++){var c=h[u];if(c.length===0)throw new Error("Invalid number skeleton")}i.push({stem:l,options:o})}return i}function If(e){return e.replace(/^(.*?)-/,"")}var Ta=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,cl=/^(@+)?(\+|#+)?[rs]?$/g,Uf=/(\*)(0+)|(#+)(0+)|(0+)/g,ml=/^(0+)$/;function Sa(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(cl,function(i,r,n){return typeof n!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):n==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof n=="string"?n.length:0)),""}),t}function pl(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Bf(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var i=e.slice(0,2);if(i==="+!"?(t.signDisplay="always",e=e.slice(2)):i==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!ml.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function ka(e){var t={},i=pl(e);return i||t}function Yf(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=If(n.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Y(Y(Y({},t),{notation:"scientific"}),n.options.reduce(function(o,u){return Y(Y({},o),ka(u))},{}));continue;case"engineering":t=Y(Y(Y({},t),{notation:"engineering"}),n.options.reduce(function(o,u){return Y(Y({},o),ka(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(Uf,function(o,u,h,c,f,w){if(u)t.minimumIntegerDigits=h.length;else{if(c&&f)throw new Error("We currently do not support maximum integer digits");if(w)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ml.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Ta.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Ta,function(o,u,h,c,f,w){return h==="*"?t.minimumFractionDigits=u.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:f&&w?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+w.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=n.options[0];a==="w"?t=Y(Y({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=Y(Y({},t),Sa(a)));continue}if(cl.test(n.stem)){t=Y(Y({},t),Sa(n.stem));continue}var s=pl(n.stem);s&&(t=Y(Y({},t),s));var l=Bf(n.stem);l&&(t=Y(Y({},t),l))}return t}var pr={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Ff(e,t){for(var i="",r=0;r<e.length;r++){var n=e.charAt(r);if(n==="j"){for(var a=0;r+1<e.length&&e.charAt(r+1)===n;)a++,r++;var s=1+(a&1),l=a<2?1:3+(a>>1),o="a",u=jf(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)i+=o;for(;s-- >0;)i=u+i}else n==="J"?i+="H":i+=n}return i}function jf(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i=e.language,r;i!=="root"&&(r=e.maximize().region);var n=pr[r||""]||pr[i||""]||pr["".concat(i,"-001")]||pr["001"];return n[0]}var on,Gf=new RegExp("^".concat(fl.source,"*")),Wf=new RegExp("".concat(fl.source,"*$"));function I(e,t){return{start:e,end:t}}var zf=!!String.prototype.startsWith&&"_a".startsWith("a",1),Vf=!!String.fromCodePoint,$f=!!Object.fromEntries,qf=!!String.prototype.codePointAt,Zf=!!String.prototype.trimStart,Xf=!!String.prototype.trimEnd,Jf=!!Number.isSafeInteger,Qf=Jf?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},wn=!0;try{var Kf=_l("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");wn=((on=Kf.exec("a"))===null||on===void 0?void 0:on[0])==="a"}catch(e){wn=!1}var Ea=zf?function(t,i,r){return t.startsWith(i,r)}:function(t,i,r){return t.slice(r,r+i.length)===i},Tn=Vf?String.fromCodePoint:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var r="",n=t.length,a=0,s;n>a;){if(s=t[a++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},xa=$f?Object.fromEntries:function(t){for(var i={},r=0,n=t;r<n.length;r++){var a=n[r],s=a[0],l=a[1];i[s]=l}return i},gl=qf?function(t,i){return t.codePointAt(i)}:function(t,i){var r=t.length;if(!(i<0||i>=r)){var n=t.charCodeAt(i),a;return n<55296||n>56319||i+1===r||(a=t.charCodeAt(i+1))<56320||a>57343?n:(n-55296<<10)+(a-56320)+65536}},ec=Zf?function(t){return t.trimStart()}:function(t){return t.replace(Gf,"")},tc=Xf?function(t){return t.trimEnd()}:function(t){return t.replace(Wf,"")};function _l(e,t){return new RegExp(e,t)}var Sn;if(wn){var Ma=_l("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Sn=function(t,i){var r;Ma.lastIndex=i;var n=Ma.exec(t);return(r=n[1])!==null&&r!==void 0?r:""}}else Sn=function(t,i){for(var r=[];;){var n=gl(t,i);if(n===void 0||yl(n)||ac(n))break;r.push(n),i+=n>=65536?2:1}return Tn.apply(void 0,r)};var ic=function(){function e(t,i){i===void 0&&(i={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!i.ignoreTag,this.locale=i.locale,this.requiresOtherClause=!!i.requiresOtherClause,this.shouldParseSkeletons=!!i.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,i,r){for(var n=[];!this.isEOF();){var a=this.char();if(a===123){var s=this.parseArgument(t,r);if(s.err)return s;n.push(s.val)}else{if(a===125&&t>0)break;if(a===35&&(i==="plural"||i==="selectordinal")){var l=this.clonePosition();this.bump(),n.push({type:K.pound,location:I(l,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(H.UNMATCHED_CLOSING_TAG,I(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&kn(this.peek()||0)){var s=this.parseTag(t,i);if(s.err)return s;n.push(s.val)}else{var s=this.parseLiteral(t,i);if(s.err)return s;n.push(s.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,i){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:K.literal,value:"<".concat(n,"/>"),location:I(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,i,!0);if(a.err)return a;var s=a.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!kn(this.char()))return this.error(H.INVALID_TAG,I(l,this.clonePosition()));var o=this.clonePosition(),u=this.parseTagName();return n!==u?this.error(H.UNMATCHED_CLOSING_TAG,I(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:K.tag,value:n,children:s,location:I(r,this.clonePosition())},err:null}:this.error(H.INVALID_TAG,I(l,this.clonePosition())))}else return this.error(H.UNCLOSED_TAG,I(r,this.clonePosition()))}else return this.error(H.INVALID_TAG,I(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&nc(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,i){for(var r=this.clonePosition(),n="";;){var a=this.tryParseQuote(i);if(a){n+=a;continue}var s=this.tryParseUnquoted(t,i);if(s){n+=s;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var o=I(r,this.clonePosition());return{val:{type:K.literal,value:n,location:o},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!rc(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var i=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)i.push(39),this.bump();else{this.bump();break}else i.push(r);this.bump()}return Tn.apply(void 0,i)},e.prototype.tryParseUnquoted=function(t,i){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(i==="plural"||i==="selectordinal")||r===125&&t>0?null:(this.bump(),Tn(r))},e.prototype.parseArgument=function(t,i){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,I(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(H.EMPTY_ARGUMENT,I(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(H.MALFORMED_ARGUMENT,I(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,I(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:K.argument,value:n,location:I(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,I(r,this.clonePosition())):this.parseArgumentOptions(t,i,n,r);default:return this.error(H.MALFORMED_ARGUMENT,I(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),r=Sn(this.message,i),n=i+r.length;this.bumpTo(n);var a=this.clonePosition(),s=I(t,a);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,i,r,n){var a,s=this.clonePosition(),l=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(l){case"":return this.error(H.EXPECT_ARGUMENT_TYPE,I(s,o));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var f=tc(c.val);if(f.length===0)return this.error(H.EXPECT_ARGUMENT_STYLE,I(this.clonePosition(),this.clonePosition()));var w=I(h,this.clonePosition());u={style:f,styleLocation:w}}var _=this.tryParseArgumentClose(n);if(_.err)return _;var M=I(n,this.clonePosition());if(u&&Ea(u==null?void 0:u.style,"::",0)){var ae=ec(u.style.slice(2));if(l==="number"){var c=this.parseNumberSkeletonFromString(ae,u.styleLocation);return c.err?c:{val:{type:K.number,value:r,location:M,style:c.val},err:null}}else{if(ae.length===0)return this.error(H.EXPECT_DATE_TIME_SKELETON,M);var se=ae;this.locale&&(se=Ff(ae,this.locale));var f={type:ai.dateTime,pattern:se,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Hf(se):{}},te=l==="date"?K.date:K.time;return{val:{type:te,value:r,location:M,style:f},err:null}}}return{val:{type:l==="number"?K.number:l==="date"?K.date:K.time,value:r,location:M,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var N=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS,I(N,Y({},N)));this.bumpSpace();var ee=this.parseIdentifierIfPossible(),X=0;if(l!=="select"&&ee.value==="offset"){if(!this.bumpIf(":"))return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,I(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),ee=this.parseIdentifierIfPossible(),X=c.val}var P=this.tryParsePluralOrSelectOptions(t,l,i,ee);if(P.err)return P;var _=this.tryParseArgumentClose(n);if(_.err)return _;var le=I(n,this.clonePosition());return l==="select"?{val:{type:K.select,value:r,options:xa(P.val),location:le},err:null}:{val:{type:K.plural,value:r,options:xa(P.val),offset:X,pluralType:l==="plural"?"cardinal":"ordinal",location:le},err:null}}default:return this.error(H.INVALID_ARGUMENT_TYPE,I(s,o))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,I(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,i=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,I(n,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(i.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(i.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,i){var r=[];try{r=Nf(t)}catch(n){return this.error(H.INVALID_NUMBER_SKELETON,i)}return{val:{type:ai.number,tokens:r,location:i,parsedOptions:this.shouldParseSkeletons?Yf(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,i,r,n){for(var a,s=!1,l=[],o=new Set,u=n.value,h=n.location;;){if(u.length===0){var c=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR,H.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;h=I(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}else break}if(o.has(u))return this.error(i==="select"?H.DUPLICATE_SELECT_ARGUMENT_SELECTOR:H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);u==="other"&&(s=!0),this.bumpSpace();var w=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,I(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(t+1,i,r);if(_.err)return _;var M=this.tryParseArgumentClose(w);if(M.err)return M;l.push([u,{value:_.val,location:I(w,this.clonePosition())}]),o.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,h=a.location}return l.length===0?this.error(i==="select"?H.EXPECT_SELECT_ARGUMENT_SELECTOR:H.EXPECT_PLURAL_ARGUMENT_SELECTOR,I(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(H.MISSING_OTHER_CLAUSE,I(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,i){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,s=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)a=!0,s=s*10+(l-48),this.bump();else break}var o=I(n,this.clonePosition());return a?(s*=r,Qf(s)?{val:s,err:null}:this.error(i,o)):this.error(t,o)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var i=gl(this.message,t);if(i===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return i},e.prototype.error=function(t,i){return{val:null,err:{kind:t,message:this.message,location:i}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ea(this.message,t,this.offset())){for(var i=0;i<t.length;i++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var i=this.offset(),r=this.message.indexOf(t,i);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var i=this.offset();if(i===t)break;if(i>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&yl(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),i=this.offset(),r=this.message.charCodeAt(i+(t>=65536?2:1));return r!=null?r:null},e}();function kn(e){return e>=97&&e<=122||e>=65&&e<=90}function rc(e){return kn(e)||e===47}function nc(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function yl(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ac(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function En(e){e.forEach(function(t){if(delete t.location,ol(t)||ul(t))for(var i in t.options)delete t.options[i].location,En(t.options[i].value);else al(t)&&hl(t.style)||(sl(t)||ll(t))&&Ln(t.style)?delete t.style.location:dl(t)&&En(t.children)})}function sc(e,t){t===void 0&&(t={}),t=Y({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new ic(e,t).parse();if(i.err){var r=SyntaxError(H[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return t!=null&&t.captureLocation||En(i.val),i.val}var si;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(si||(si={}));var jr=function(e){Fr(t,e);function t(i,r,n){var a=e.call(this,i)||this;return a.code=r,a.originalMessage=n,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Da=function(e){Fr(t,e);function t(i,r,n,a){return e.call(this,'Invalid values for "'.concat(i,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),si.INVALID_VALUE,a)||this}return t}(jr),lc=function(e){Fr(t,e);function t(i,r,n){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(r),si.INVALID_VALUE,n)||this}return t}(jr),oc=function(e){Fr(t,e);function t(i,r){return e.call(this,'The intl string context variable "'.concat(i,'" was not provided to the string "').concat(r,'"'),si.MISSING_VALUE,r)||this}return t}(jr),_e;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(_e||(_e={}));function uc(e){return e.length<2?e:e.reduce(function(t,i){var r=t[t.length-1];return!r||r.type!==_e.literal||i.type!==_e.literal?t.push(i):r.value+=i.value,t},[])}function dc(e){return typeof e=="function"}function vr(e,t,i,r,n,a,s){if(e.length===1&&wa(e[0]))return[{type:_e.literal,value:e[0].value}];for(var l=[],o=0,u=e;o<u.length;o++){var h=u[o];if(wa(h)){l.push({type:_e.literal,value:h.value});continue}if(Of(h)){typeof a=="number"&&l.push({type:_e.literal,value:i.getNumberFormat(t).format(a)});continue}var c=h.value;if(!(n&&c in n))throw new oc(c,s);var f=n[c];if(Af(h)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),l.push({type:typeof f=="string"?_e.literal:_e.object,value:f});continue}if(sl(h)){var w=typeof h.style=="string"?r.date[h.style]:Ln(h.style)?h.style.parsedOptions:void 0;l.push({type:_e.literal,value:i.getDateTimeFormat(t,w).format(f)});continue}if(ll(h)){var w=typeof h.style=="string"?r.time[h.style]:Ln(h.style)?h.style.parsedOptions:r.time.medium;l.push({type:_e.literal,value:i.getDateTimeFormat(t,w).format(f)});continue}if(al(h)){var w=typeof h.style=="string"?r.number[h.style]:hl(h.style)?h.style.parsedOptions:void 0;w&&w.scale&&(f=f*(w.scale||1)),l.push({type:_e.literal,value:i.getNumberFormat(t,w).format(f)});continue}if(dl(h)){var _=h.children,M=h.value,ae=n[M];if(!dc(ae))throw new lc(M,"function",s);var se=vr(_,t,i,r,n,a),te=ae(se.map(function(X){return X.value}));Array.isArray(te)||(te=[te]),l.push.apply(l,te.map(function(X){return{type:typeof X=="string"?_e.literal:_e.object,value:X}}))}if(ol(h)){var N=h.options[f]||h.options.other;if(!N)throw new Da(h.value,f,Object.keys(h.options),s);l.push.apply(l,vr(N.value,t,i,r,n));continue}if(ul(h)){var N=h.options["=".concat(f)];if(!N){if(!Intl.PluralRules)throw new jr(`Intl.PluralRules is not available in this environment.
|
|
11
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
12
|
+
`,si.MISSING_INTL_API,s);var ee=i.getPluralRules(t,{type:h.pluralType}).select(f-(h.offset||0));N=h.options[ee]||h.options.other}if(!N)throw new Da(h.value,f,Object.keys(h.options),s);l.push.apply(l,vr(N.value,t,i,r,n,f-(h.offset||0)));continue}}return uc(l)}function hc(e,t){return t?Y(Y(Y({},e||{}),t||{}),Object.keys(e).reduce(function(i,r){return i[r]=Y(Y({},e[r]),t[r]||{}),i},{})):e}function fc(e,t){return t?Object.keys(e).reduce(function(i,r){return i[r]=hc(e[r],t[r]),i},Y({},e)):e}function un(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function cc(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:sn(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,an([void 0],i,!1)))},{cache:un(e.number),strategy:ln.variadic}),getDateTimeFormat:sn(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,an([void 0],i,!1)))},{cache:un(e.dateTime),strategy:ln.variadic}),getPluralRules:sn(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,an([void 0],i,!1)))},{cache:un(e.pluralRules),strategy:ln.variadic})}}var mc=function(){function e(t,i,r,n){i===void 0&&(i=e.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(o){var u=a.formatToParts(o);if(u.length===1)return u[0].value;var h=u.reduce(function(c,f){return!c.length||f.type!==_e.literal||typeof c[c.length-1]!="string"?c.push(f.value):c[c.length-1]+=f.value,c},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(o){return vr(a.ast,a.locales,a.formatters,a.formats,o,void 0,a.message)},this.resolvedOptions=function(){var o;return{locale:((o=a.resolvedLocale)===null||o===void 0?void 0:o.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=n||{};s.formatters;var l=Tf(s,["formatters"]);this.ast=e.__parse(t,Y(Y({},l),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=fc(e.formats,r),this.formatters=n&&n.formatters||cc(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var i=Intl.NumberFormat.supportedLocalesOf(t);return i.length>0?new Intl.Locale(i[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=sc,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function pc(e,t){if(t==null)return;if(t in e)return e[t];const i=t.split(".");let r=e;for(let n=0;n<i.length;n++)if(typeof r=="object"){if(n>0){const a=i.slice(n,i.length).join(".");if(a in r){r=r[a];break}}r=r[i[n]]}else r=void 0;return r}const bt={},gc=(e,t,i)=>i&&(t in bt||(bt[t]={}),e in bt[t]||(bt[t][e]=i),i),bl=(e,t)=>{if(t==null)return;if(t in bt&&e in bt[t])return bt[t][e];const i=Gr(t);for(let r=0;r<i.length;r++){const n=i[r],a=yc(n,e);if(a)return gc(e,t,a)}};let Qn;const qi=Yr({});function _c(e){return Qn[e]||null}function vl(e){return e in Qn}function yc(e,t){if(!vl(e))return null;const i=_c(e);return pc(i,t)}function bc(e){if(e==null)return;const t=Gr(e);for(let i=0;i<t.length;i++){const r=t[i];if(vl(r))return r}}function Ll(e,...t){delete bt[e],qi.update(i=>(i[e]=wf.all([i[e]||{},...t]),i))}fi([qi],([e])=>Object.keys(e));qi.subscribe(e=>Qn=e);const Lr={};function vc(e,t){Lr[e].delete(t),Lr[e].size===0&&delete Lr[e]}function wl(e){return Lr[e]}function Lc(e){return Gr(e).map(t=>{const i=wl(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function xn(e){return e==null?!1:Gr(e).some(t=>{var i;return(i=wl(t))==null?void 0:i.size})}function wc(e,t){return Promise.all(t.map(r=>(vc(e,r),r().then(n=>n.default||n)))).then(r=>Ll(e,...r))}const Ci={};function Tl(e){if(!xn(e))return e in Ci?Ci[e]:Promise.resolve();const t=Lc(e);return Ci[e]=Promise.all(t.map(([i,r])=>wc(i,r))).then(()=>{if(xn(e))return Tl(e);delete Ci[e]}),Ci[e]}const Tc={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},Sc={fallbackLocale:null,loadingDelay:200,formats:Tc,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},kc=Sc;function li(){return kc}const dn=Yr(!1);var Ec=Object.defineProperty,xc=Object.defineProperties,Mc=Object.getOwnPropertyDescriptors,Pa=Object.getOwnPropertySymbols,Dc=Object.prototype.hasOwnProperty,Pc=Object.prototype.propertyIsEnumerable,Aa=(e,t,i)=>t in e?Ec(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Ac=(e,t)=>{for(var i in t||(t={}))Dc.call(t,i)&&Aa(e,i,t[i]);if(Pa)for(var i of Pa(t))Pc.call(t,i)&&Aa(e,i,t[i]);return e},Oc=(e,t)=>xc(e,Mc(t));let Mn;const xr=Yr(null);function Oa(e){return e.split("-").map((t,i,r)=>r.slice(0,i+1).join("-")).reverse()}function Gr(e,t=li().fallbackLocale){const i=Oa(e);return t?[...new Set([...i,...Oa(t)])]:i}function Pt(){return Mn!=null?Mn:void 0}xr.subscribe(e=>{Mn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Cc=e=>{if(e&&bc(e)&&xn(e)){const{loadingDelay:t}=li();let i;return typeof window!="undefined"&&Pt()!=null&&t?i=window.setTimeout(()=>dn.set(!0),t):dn.set(!0),Tl(e).then(()=>{xr.set(e)}).finally(()=>{clearTimeout(i),dn.set(!1)})}return xr.set(e)},ci=Oc(Ac({},xr),{set:Cc}),Wr=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var Hc=Object.defineProperty,Mr=Object.getOwnPropertySymbols,Sl=Object.prototype.hasOwnProperty,kl=Object.prototype.propertyIsEnumerable,Ca=(e,t,i)=>t in e?Hc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Kn=(e,t)=>{for(var i in t||(t={}))Sl.call(t,i)&&Ca(e,i,t[i]);if(Mr)for(var i of Mr(t))kl.call(t,i)&&Ca(e,i,t[i]);return e},mi=(e,t)=>{var i={};for(var r in e)Sl.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&Mr)for(var r of Mr(e))t.indexOf(r)<0&&kl.call(e,r)&&(i[r]=e[r]);return i};const Gi=(e,t)=>{const{formats:i}=li();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Rc=Wr(e=>{var t=e,{locale:i,format:r}=t,n=mi(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Gi("number",r)),new Intl.NumberFormat(i,n)}),Nc=Wr(e=>{var t=e,{locale:i,format:r}=t,n=mi(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Gi("date",r):Object.keys(n).length===0&&(n=Gi("date","short")),new Intl.DateTimeFormat(i,n)}),Ic=Wr(e=>{var t=e,{locale:i,format:r}=t,n=mi(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Gi("time",r):Object.keys(n).length===0&&(n=Gi("time","short")),new Intl.DateTimeFormat(i,n)}),Uc=(e={})=>{var t=e,{locale:i=Pt()}=t,r=mi(t,["locale"]);return Rc(Kn({locale:i},r))},Bc=(e={})=>{var t=e,{locale:i=Pt()}=t,r=mi(t,["locale"]);return Nc(Kn({locale:i},r))},Yc=(e={})=>{var t=e,{locale:i=Pt()}=t,r=mi(t,["locale"]);return Ic(Kn({locale:i},r))},Fc=Wr((e,t=Pt())=>new mc(e,t,li().formats,{ignoreTag:li().ignoreTag})),jc=(e,t={})=>{var i,r,n,a;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:l,locale:o=Pt(),default:u}=s;if(o==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=bl(e,o);if(!h)h=(a=(n=(r=(i=li()).handleMissingMessage)==null?void 0:r.call(i,{locale:o,id:e,defaultValue:u}))!=null?n:u)!=null?a:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!l)return h;let c=h;try{c=Fc(h,o).format(l)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,f.message)}return c},Gc=(e,t)=>Yc(t).format(e),Wc=(e,t)=>Bc(t).format(e),zc=(e,t)=>Uc(t).format(e),Vc=(e,t=Pt())=>bl(e,t),$c=fi([ci,qi],()=>jc);fi([ci],()=>Gc);fi([ci],()=>Wc);fi([ci],()=>zc);fi([ci,qi],()=>Vc);function Ha(e,t){Ll(e,t)}function qc(e){ci.set(e)}const Ra={en:{noLimitToDisplay:"The user has not set a limit...",depositLimitHeader:"Deposit limit",lossLimitHeader:"Loss limit",wageringLimitHeader:"Wagering limit",spentAmount:"Spent amount",remainingAmount:"Remaining amount",limitPeriod:"Limit period",displayedProduct:"Product",futureLimit:"Future limit",additionalLink1:"Last deposit transaction details",additionalLink2:"Transactions in period",limitRemoved:"This limit has been removed and is valid until",limitUpdated:"This limit will be applied beginning with",changeLimitLabel:"Period",futureAmount:"Future amount",limitTypeLabel:"Limit type",fetchLimitDefError:"Failed to fetch limit definitions.",fetchLimitBalanceError:"Failed to fetch limit balance.",invalidUrl:"Failed to construct 'URL': Invalid URL",startLabel:"Start",resetLabel:"Reset",infoLabel:"Info",walletLabel:"Wallet",walletsLabel:"Wallets",addLimitTitle:"Add limit",editLimitTitle:"Edit Limit",deleteLimitTitle:"Delete limit",cancelScheduleTitle:"Cancel schedule",addLimitText:"Add monetary limit",limitWalletTypeLabel:"Wallet type"},"zh-hk":{noLimitToDisplay:"使用者尚未設定限額...",depositLimitHeader:"存款限額",lossLimitHeader:"損失限額",wageringLimitHeader:"押注限額",spentAmount:"花費金額",remainingAmount:"剩餘金額",limitPeriod:"限制期限",displayedProduct:"產品",futureLimit:"未來限額",additionalLink1:"最後存款交易詳情",additionalLink2:"期間交易",limitRemoved:"此限額已移除,有效期至",limitUpdated:"此限額將自以下日期開始生效",changeLimitLabel:"期限",futureAmount:"未來金額",limitTypeLabel:"限額類型",fetchLimitDefError:"無法獲取限額定義。",fetchLimitBalanceError:"無法獲取限額餘額。",invalidUrl:"無法構建 'URL':URL 無效",startLabel:"開始",resetLabel:"重設",infoLabel:"信息",walletLabel:"錢包",walletsLabel:"錢包",addLimitTitle:"新增限制",editLimitTitle:"編輯限制",deleteLimitTitle:"刪除限制",cancelScheduleTitle:"取消行程",addLimitText:"新增貨幣限額",limitWalletTypeLabel:"钱包类型"},de:{noLimitToDisplay:"Der Benutzer hat kein Limit festgelegt...",depositLimitHeader:"Einzahlungslimit",lossLimitHeader:"Verlustgrenze",wageringLimitHeader:"Wetteinsatzgrenze",spentAmount:"Ausgegebener Betrag",remainingAmount:"Verbleibender Betrag",limitPeriod:"Begrenzungszeitraum",displayedProduct:"Produkt",futureLimit:"Zukünftiges Limit",additionalLink1:"Details zur letzten Einzahlungstransaktion",additionalLink2:"Transaktionen im Zeitraum",limitRemoved:"Dieses Limit wurde entfernt und ist gültig bis",limitUpdated:"Dieses Limit wird ab dem folgenden Datum angewendet",changeLimitLabel:"Zeitraum",futureAmount:"Zukünftiger Betrag",limitTypeLabel:"Limit Typ",fetchLimitDefError:"Fehler beim Abrufen von Limitdefinitionen.",fetchLimitBalanceError:"Fehler beim Abrufen des Limitbetrags.",invalidUrl:"Fehler beim Erstellen der URL: Ungültige URL",startLabel:"Start",resetLabel:"Zurücksetzen",infoLabel:"Info",walletLabel:"Brieftasche",walletsLabel:"Brieftaschen",addLimitTitle:"Limit hinzufügen",editLimitTitle:"Limit bearbeiten",deleteLimitTitle:"Limit löschen",cancelScheduleTitle:"Zeitplan abbrechen",addLimitText:"Geldlimit hinzufügen",limitWalletTypeLabel:"Geldbörsentyp"},it:{noLimitToDisplay:"L'utente non ha impostato un limite...",depositLimitHeader:"Limite di deposito",lossLimitHeader:"Limite di perdita",wageringLimitHeader:"Limite di scommessa",spentAmount:"Importo speso",remainingAmount:"Importo residuo",limitPeriod:"Periodo limite",displayedProduct:"Prodotto",futureLimit:"Limite futuro",additionalLink1:"Dettagli della transazione dell'ultimo deposito",additionalLink2:"Deposito nel periodo",limitRemoved:"Questo limite è stato rimosso ed è valido fino a",limitUpdated:"Questo limite sarà applicato a partire da",changeLimitLabel:"Cambia limite",futureAmount:"Importo futuro",limitTypeLabel:"Tipo di limite",fetchLimitDefError:"Impossibile recuperare le definizioni di limite.",fetchLimitBalanceError:"Impossibile recuperare il saldo limite.",invalidUrl:"Impossibile costruire l'URL: URL non valido",startLabel:"Inizio",resetLabel:"Ripristina",infoLabel:"Info",walletLabel:"Portafoglio",walletsLabel:"Portafogli",addLimitTitle:"Aggiungi limite",editLimitTitle:"Modifica limite",deleteLimitTitle:"Elimina limite",cancelScheduleTitle:"Annulla pianificazione",addLimitText:"Aggiungi limite monetario",limitWalletTypeLabel:"Tipo di portafoglio"},fr:{noLimitToDisplay:"L'utilisateur n'a pas fixé de limite...",depositLimitHeader:"Limite de dépôt",lossLimitHeader:"Limite de perte",wageringLimitHeader:"Limite de mise",spentAmount:"Montant dépensé",remainingAmount:"Montant restant",limitPeriod:"Délai limite",displayedProduct:"Produit",futureLimit:"Limite future",additionalLink1:"Détails de la transaction du dernier dépôt",additionalLink2:"Dépôt en période",limitRemoved:"Cette limite a été supprimée et est valide jusqu'à",limitUpdated:"Cette limite sera appliquée à partir de",changeLimitLabel:"Changer de limite",futureAmount:"Montant futur",limitTypeLabel:"Type de limite",fetchLimitDefError:"Échec du téléchargement des définitions de limite.",fetchLimitBalanceError:"Échec du téléchargement du solde limite.",invalidUrl:"Échec de la construction de 'URL' : URL non valide",startLabel:"Démarrer",resetLabel:"Réinitialiser",infoLabel:"Info",walletLabel:"Portefeuille",walletsLabel:"Portefeuilles",addLimitTitle:"Ajouter une limite",editLimitTitle:"Modifier la limite",deleteLimitTitle:"Supprimer la limite",cancelScheduleTitle:"Annuler le planning",addLimitText:"Ajouter une limite monétaire",limitWalletTypeLabel:"Type de portefeuille"},es:{noLimitToDisplay:"El usuario no ha establecido un límite...",depositLimitHeader:"Límite de depósito",lossLimitHeader:"Límite de pérdida",wageringLimitHeader:"Límite de apuesta",spentAmount:"Monto gastado",remainingAmount:"Monto restante",limitPeriod:"Período de límite",displayedProduct:"Producto",futureLimit:"Límite futuro",additionalLink1:"Detalles de la última transacción de depósito",additionalLink2:"Depósito en el período",limitRemoved:"Este límite ha sido eliminado y es válido hasta",limitUpdated:"Este límite se aplicará a partir de",changeLimitLabel:"Cambiar límite",futureAmount:"Monto futuro",limitTypeLabel:"Tipo de límite",fetchLimitDefError:"Error al obtener definiciones de límite.",fetchLimitBalanceError:"Error al obtener el saldo del límite.",invalidUrl:"Error al construir 'URL': URL inválida",startLabel:"Comienzo",resetLabel:"Reiniciar",infoLabel:"Información",walletLabel:"Cartera",walletsLabel:"Carteras",addLimitTitle:"Agregar límite",editLimitTitle:"Editar límite",deleteLimitTitle:"Eliminar límite",cancelScheduleTitle:"Cancelar programación",addLimitText:"Agregar límite monetario",limitWalletTypeLabel:"Tipo de billetera"},el:{noLimitToDisplay:"Ο χρήστης δεν έχει ορίσει όριο...",depositLimitHeader:"Όριο κατάθεσης",lossLimitHeader:"Όριο απώλειας",wageringLimitHeader:"Όριο στοίχημα",spentAmount:"Ποσό που έχει δαπανηθεί",remainingAmount:"Υπόλοιπο ποσό",limitPeriod:"Περίοδος ορίου",displayedProduct:"Προϊόν",futureLimit:"Μελλοντικό όριο",additionalLink1:"Λεπτομέρειες της τελευταίας συναλλαγής κατάθεσης",additionalLink2:"Καταθέσεις κατά την περίοδο",limitRemoved:"Αυτό το όριο έχει καταργηθεί και είναι έγκυρο μέχρι",limitUpdated:"Αυτό το όριο θα εφαρμοστεί από",changeLimitLabel:"Αλλαγή ορίου",futureAmount:"Μελλοντικό ποσό",limitTypeLabel:"Τύπος ορίου",fetchLimitDefError:"Αποτυχία λήψης ορισμών ορίου.",fetchLimitBalanceError:"Αποτυχία λήψης υπολοίπου ορίου.",invalidUrl:"Αποτυχία κατασκευής 'URL': Μη έγκυρη διεύθυνση URL",startLabel:"Έναρξη",resetLabel:"Επαναφορά",infoLabel:"Πληροφορίες",walletLabel:"Πορτοφόλι",walletsLabel:"Πορτοφόλια",addLimitTitle:"Προσθήκη ορίου",editLimitTitle:"Επεξεργασία ορίου",deleteLimitTitle:"Διαγραφή ορίου",cancelScheduleTitle:"Ακύρωση προγράμματος",addLimitText:"Προσθήκη νομισματικού ορίου",limitWalletTypeLabel:"Τύπος πορτοφολιού"},tr:{noLimitToDisplay:"Kullanıcı bir sınırlama belirlemedi...",depositLimitHeader:"Yatırım limiti",lossLimitHeader:"Kayıp limiti",wageringLimitHeader:"Bahis limiti",spentAmount:"Harcamış miktar",remainingAmount:"Kalan miktar",limitPeriod:"Limit süresi",displayedProduct:"Ürün",futureLimit:"Gelecek limit",additionalLink1:"Son yatırım işlemi detayları",additionalLink2:"Dönemdeki işlemler",limitRemoved:"Bu limit kaldırıldı ve geçerli",limitUpdated:"Bu limit aşağıdaki tarihte uygulanacaktır",changeLimitLabel:"Dönem",futureAmount:"Gelecek miktar",limitTypeLabel:"Limit türü",fetchLimitDefError:"Limit tanımları alınamadı.",fetchLimitBalanceError:"Limit bakiyesi alınamadı.",invalidUrl:"'URL' oluşturulamadı: Geçersiz URL",startLabel:"Başlangıç",resetLabel:"Sıfırla",infoLabel:"Bilgi",walletLabel:"Cüzdan",walletsLabel:"Cüzdanlar",addLimitTitle:"Sınır ekle",editLimitTitle:"Sınırı Düzenle",deleteLimitTitle:"Sınırı sil",cancelScheduleTitle:"Programı iptal et",addLimitText:"Para limiti ekle",limitWalletTypeLabel:"Cüzdan türü"},ru:{noLimitToDisplay:"Пользователь не установил лимит...",depositLimitHeader:"Лимит депозита",lossLimitHeader:"Лимит потерь",wageringLimitHeader:"Лимит ставок",spentAmount:"Потраченная сумма",remainingAmount:"Оставшаяся сумма",limitPeriod:"Период лимита",displayedProduct:"Продукт",futureLimit:"Будущий лимит",additionalLink1:"Детали последней транзакции депозита",additionalLink2:"Транзакции за период",limitRemoved:"Этот лимит был удален и действует до",limitUpdated:"Этот лимит будет применен с",changeLimitLabel:"Изменить лимит",futureAmount:"Будущая сумма",limitTypeLabel:"Тип лимита",fetchLimitDefError:"Не удалось получить определения лимита.",fetchLimitBalanceError:"Не удалось получить баланс лимита.",invalidUrl:"Не удалось построить 'URL': Недопустимый URL",startLabel:"Начало",resetLabel:"Сброс",infoLabel:"Информация",walletLabel:"Кошелек",walletsLabel:"Кошельки",addLimitTitle:"Добавить лимит",editLimitTitle:"Изменить лимит",deleteLimitTitle:"Удалить лимит",cancelScheduleTitle:"Отменить расписание",addLimitText:"Добавить денежный лимит",limitWalletTypeLabel:"Тип кошелька"},ro:{noLimitToDisplay:"Utilizatorul nu a setat nicio limită...",depositLimitHeader:"Limită de depunere",lossLimitHeader:"Limită de pierdere",wageringLimitHeader:"Limită de pariere",spentAmount:"Suma cheltuită",remainingAmount:"Suma rămasă",limitPeriod:"Perioadă limită",displayedProduct:"Produs",futureLimit:"Limită viitoare",additionalLink1:"Detalii ultima tranzacție de depunere",additionalLink2:"Tranzacții în perioadă",limitRemoved:"Această limită a fost eliminată și este validă până la",limitUpdated:"Această limită va fi aplicată începând cu",changeLimitLabel:"Schimbă limita",futureAmount:"Suma viitoare",limitTypeLabel:"Tipul limitei",fetchLimitDefError:"Eșec la preluarea definițiilor de limită.",fetchLimitBalanceError:"Eșec la preluarea balanței limitelor.",invalidUrl:"Eșec la construirea 'URL-ului': URL invalid",startLabel:"Start",resetLabel:"Resetare",infoLabel:"Info",walletLabel:"Portofel",walletsLabel:"Portofele",addLimitTitle:"Adăugați limită",editLimitTitle:"Editați limita",deleteLimitTitle:"Ștergeți limita",cancelScheduleTitle:"Anulați programul",addLimitText:"Adăugați o limită monetară",limitWalletTypeLabel:"Tip portofel"},hr:{noLimitToDisplay:"Korisnik nije postavio limit...",depositLimitHeader:"Limit uplate",lossLimitHeader:"Limit gubitka",wageringLimitHeader:"Limit klađenja",spentAmount:"Potrošeni iznos",remainingAmount:"Preostali iznos",limitPeriod:"Period limita",displayedProduct:"Proizvod",futureLimit:"Budući limit",additionalLink1:"Detalji posljednje transakcije uplate",additionalLink2:"Transakcije u periodu",limitRemoved:"Ovaj limit je uklonjen i važi do",limitUpdated:"Ovaj limit će biti primijenjen počevši od",changeLimitLabel:"Promijeni limit",futureAmount:"Budući iznos",limitTypeLabel:"Vrsta limita",fetchLimitDefError:"Nije uspjelo preuzimanje definicija limita.",fetchLimitBalanceError:"Nije uspjelo preuzimanje stanja limita.",invalidUrl:"Nije uspjelo konstruiranje 'URL'-a: Nevaljan URL",startLabel:"Početak",resetLabel:"Resetiraj",infoLabel:"Informacije",walletLabel:"Novčanik",walletsLabel:"Novčanici",addLimitTitle:"Dodaj ograničenje",editLimitTitle:"Uredi ograničenje",deleteLimitTitle:"Ograničenje brisanja",cancelScheduleTitle:"Otkaži raspored",addLimitText:"Dodaj novčani limit",limitWalletTypeLabel:"Vrsta novčanika"},hu:{noLimitToDisplay:"A felhasználó nem állított be korlátot...",depositLimitHeader:"Befizetési limit",lossLimitHeader:"Veszteségkorlát",wageringLimitHeader:"Tétlimit",spentAmount:"Elköltött összeg",remainingAmount:"Fennmaradó összeg",limitPeriod:"Korlát időtartama",displayedProduct:"Termék",futureLimit:"Jövőbeli limit",additionalLink1:"Legutóbbi befizetési tranzakció részletei",additionalLink2:"Tranzakciók időszakban",limitRemoved:"Ez a korlát eltávolításra került és érvényes",limitUpdated:"Ez a korlát alkalmazásra kerül a következőtől",changeLimitLabel:"Korlát módosítása",futureAmount:"Jövőbeli összeg",limitTypeLabel:"Korlát típusa",fetchLimitDefError:"Nem sikerült letölteni a korlát definíciókat.",fetchLimitBalanceError:"Nem sikerült letölteni a korlát egyenlegét.",invalidUrl:"Nem sikerült létrehozni az 'URL'-t: Érvénytelen URL",startLabel:"Indítás",resetLabel:"Visszaállítás",infoLabel:"Információ",walletLabel:"Pénztárca",walletsLabel:"Pénztárcák",addLimitTitle:"Korlát hozzáadása",editLimitTitle:"Korlát szerkesztése",deleteLimitTitle:"Korlát törlése",cancelScheduleTitle:"Ütemezés törlése",addLimitText:"Pénzösszeg hozzáadása",limitWalletTypeLabel:"Pénztárca típusa"},pl:{noLimitToDisplay:"Użytkownik nie ustawił limitu...",depositLimitHeader:"Limit depozytu",lossLimitHeader:"Limit strat",wageringLimitHeader:"Limit zakładów",spentAmount:"Wydana kwota",remainingAmount:"Pozostała kwota",limitPeriod:"Okres limitu",displayedProduct:"Produkt",futureLimit:"Przyszły limit",additionalLink1:"Szczegóły ostatniej transakcji depozytowej",additionalLink2:"Transakcje w okresie",limitRemoved:"Ten limit został usunięty i jest ważny do",limitUpdated:"Ten limit będzie obowiązywać począwszy od",changeLimitLabel:"Zmień limit",futureAmount:"Przyszła kwota",limitTypeLabel:"Typ limitu",fetchLimitDefError:"Nie udało się pobrać definicji limitu.",fetchLimitBalanceError:"Nie udało się pobrać salda limitu.",invalidUrl:"Nie udało się skonstruować 'URL': Nieprawidłowy URL",startLabel:"Start",resetLabel:"Resetuj",infoLabel:"Informacje",walletLabel:"Portfel",walletsLabel:"Portfele",addLimitTitle:"Dodaj limit",editLimitTitle:"Limit edycji",deleteLimitTitle:"Usuń limit",cancelScheduleTitle:"Anuluj harmonogram",addLimitText:"Dodaj limit pieniężny",limitWalletTypeLabel:"Typ portfela"},pt:{noLimitToDisplay:"O usuário não definiu um limite...",depositLimitHeader:"Limite de depósito",lossLimitHeader:"Limite de perdas",wageringLimitHeader:"Limite de apostas",spentAmount:"Valor gasto",remainingAmount:"Valor restante",limitPeriod:"Período do limite",displayedProduct:"Produto",futureLimit:"Limite futuro",additionalLink1:"Detalhes da última transação de depósito",additionalLink2:"Transações no período",limitRemoved:"Este limite foi removido e é válido até",limitUpdated:"Este limite será aplicado a partir de",changeLimitLabel:"Alterar limite",futureAmount:"Valor futuro",limitTypeLabel:"Tipo de limite",fetchLimitDefError:"Falha ao buscar definições de limite.",fetchLimitBalanceError:"Falha ao buscar saldo do limite.",invalidUrl:"Falha ao construir 'URL': URL inválida",startLabel:"Iniciar",resetLabel:"Redefinir",infoLabel:"Informação",walletLabel:"Carteira",walletsLabel:"Carteiras",addLimitTitle:"Adicionar limite",editLimitTitle:"Editar Limite",deleteLimitTitle:"Excluir limite",cancelScheduleTitle:"Cancelar agendamento",addLimitText:"Adicionar limite monetário",limitWalletTypeLabel:"Tipo de carteira"},sl:{noLimitToDisplay:"Uporabnik ni določil omejitve...",depositLimitHeader:"Omejitev pologa",lossLimitHeader:"Omejitev izgub",wageringLimitHeader:"Omejitev stav",spentAmount:"Porabljen znesek",remainingAmount:"Preostali znesek",limitPeriod:"Obdobje omejitve",displayedProduct:"Izdelek",futureLimit:"Prihodnja omejitev",additionalLink1:"Podrobnosti zadnje transakcije pologa",additionalLink2:"Transakcije v obdobju",limitRemoved:"Ta omejitev je bila odstranjena in velja do",limitUpdated:"Ta omejitev bo veljavna od",changeLimitLabel:"Spremeni omejitev",futureAmount:"Prihodnji znesek",limitTypeLabel:"Vrsta omejitve",fetchLimitDefError:"Pridobivanje definicij omejitev ni uspelo.",fetchLimitBalanceError:"Pridobivanje stanja omejitev ni uspelo.",invalidUrl:"Izgradnja 'URL'-ja ni uspela: Neveljaven URL",startLabel:"Začni",resetLabel:"Ponastavi",infoLabel:"Informacije",walletLabel:"Denarnica",walletsLabel:"Denarnice",addLimitTitle:"Dodaj omejitev",editLimitTitle:"Uredi omejitev",deleteLimitTitle:"Omejitev brisanja",cancelScheduleTitle:"Prekliči razpored",addLimitText:"Dodaj denarno omejitev",limitWalletTypeLabel:"Vrsta denarnice"},sr:{noLimitToDisplay:"Korisnik nije postavio limit...",depositLimitHeader:"Limit depozita",lossLimitHeader:"Limit gubitka",wageringLimitHeader:"Limit klađenja",spentAmount:"Potrošeni iznos",remainingAmount:"Preostali iznos",limitPeriod:"Period limita",displayedProduct:"Proizvod",futureLimit:"Budući limit",additionalLink1:"Detalji poslednje transakcije depozita",additionalLink2:"Transakcije u periodu",limitRemoved:"Ovaj limit je uklonjen i važi do",limitUpdated:"Ovaj limit će se primeniti počevši od",changeLimitLabel:"Promeni limit",futureAmount:"Budući iznos",limitTypeLabel:"Vrsta limita",fetchLimitDefError:"Neuspeh u dobavljanju definicija limita.",fetchLimitBalanceError:"Neuspeh u dobavljanju stanja limita.",invalidUrl:"Neuspeh u konstrukciji 'URL'-a: Neispravan URL",startLabel:"Početak",resetLabel:"Resetuj",infoLabel:"Informacije",walletLabel:"Novčanik",walletsLabel:"Novčanici",addLimitTitle:"Додај ограничење",editLimitTitle:"Ограничење уређивања",deleteLimitTitle:"Избриши ограничење",cancelScheduleTitle:"Откажи распоред",addLimitText:"Додај новчано ограничење",limitWalletTypeLabel:"Тип новчаника"},"es-mx":{noLimitToDisplay:"El usuario no ha establecido un límite...",depositLimitHeader:"Límite de depósito",lossLimitHeader:"Límite de pérdida",wageringLimitHeader:"Límite de apuesta",spentAmount:"Monto gastado",remainingAmount:"Monto restante",limitPeriod:"Período de límite",displayedProduct:"Producto",futureLimit:"Límite futuro",additionalLink1:"Detalles de la última transacción de depósito",additionalLink2:"Transacciones en el período",limitRemoved:"Este límite ha sido eliminado y es válido hasta",limitUpdated:"Este límite se aplicará a partir de",changeLimitLabel:"Cambiar límite",futureAmount:"Monto futuro",limitTypeLabel:"Tipo de límite",fetchLimitDefError:"Error al obtener definiciones de límite.",fetchLimitBalanceError:"Error al obtener el saldo del límite.",invalidUrl:"Error al construir 'URL': URL inválida",startLabel:"Inicio",resetLabel:"Reiniciar",infoLabel:"Información",walletLabel:"Cartera",walletsLabel:"Carteras",addLimitTitle:"Agregar límite",editLimitTitle:"Editar límite",deleteLimitTitle:"Eliminar límite",cancelScheduleTitle:"Cancelar programación",addLimitText:"Agregar límite monetario",limitWalletTypeLabel:"Tipo de billetera"},"pt-br":{noLimitToDisplay:"O usuário não definiu um limite...",depositLimitHeader:"Limite de depósito",lossLimitHeader:"Limite de perda",wageringLimitHeader:"Limite de apostas",spentAmount:"Valor gasto",remainingAmount:"Valor restante",limitPeriod:"Período de limite",displayedProduct:"Produto",futureLimit:"Limite futuro",additionalLink1:"Detalhes da última transação de depósito",additionalLink2:"Transações no período",limitRemoved:"Este limite foi removido e é válido até",limitUpdated:"Este limite será aplicado a partir de",changeLimitLabel:"Alterar limite",futureAmount:"Valor futuro",limitTypeLabel:"Tipo de limite",fetchLimitDefError:"Falha ao buscar definições de limite.",fetchLimitBalanceError:"Falha ao buscar saldo do limite.",invalidUrl:"Falha ao construir 'URL': URL inválida",startLabel:"Iniciar",resetLabel:"Redefinir",infoLabel:"Informação",walletLabel:"Carteira",walletsLabel:"Carteiras",addLimitTitle:"Agregar límite",editLimitTitle:"Editar límite",deleteLimitTitle:"Eliminar límite",cancelScheduleTitle:"Cancelar programación",addLimitText:"Agregar límite monetario",limitWalletTypeLabel:"Tipo de carteira"}};function Zc(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function Xc(e,t){const i=new URL(t);fetch(i.href).then(r=>r.text()).then(r=>{const n=document.createElement("style");n.innerHTML=r,e&&e.appendChild(n)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function Jc(e,t,i){if(window.emMessageBus){const r=document.createElement("style");window.emMessageBus.subscribe(t,n=>{r.innerHTML=n,e&&e.appendChild(r)})}}const Qc=`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 386 193" fill="none">
|
|
13
|
+
<path d="M4 193a189 189 0 0 1 379 0" stroke="url(#a)" stroke-width="6" stroke-dasharray="2 2"/>
|
|
14
|
+
<path d="M49 193a144 144 0 1 1 288 0" stroke="#C4C4C4" stroke-width="30" stroke-dasharray="2 2"/>
|
|
15
|
+
<defs><linearGradient id="a" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%"/><stop offset="100%" stop-opacity=".2"/></linearGradient></defs>
|
|
16
|
+
</svg>`,Kc=`<svg width="13" height="28" viewBox="0 0 13 28" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
17
|
+
<path d="M13 14L0.250001 27.8564L0.250002 0.143593L13 14Z"/>
|
|
18
|
+
</svg>
|
|
19
|
+
`,Hi=`<svelte:options tag={'caret-right'} />
|
|
20
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="12" width="6" viewBox="0 0 256 512">
|
|
21
|
+
<path fill="currentColor" d="M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z"/>
|
|
22
|
+
</svg>
|
|
23
|
+
`,em=`<svg width="18" viewBox="0 0 25 26" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
24
|
+
<path d="M12.375 25.3977C10.7746 25.3977 9.27367 25.09 7.87216 24.4744C6.47064 23.8494 5.23485 22.9782 4.16477 21.8608C3.10417 20.7434 2.27557 19.4413 1.67898 17.9545C1.08239 16.4678 0.784091 14.858 0.784091 13.125C0.784091 11.392 1.08239 9.78693 1.67898 8.30966C2.27557 6.82292 3.10417 5.52557 4.16477 4.41761C5.23485 3.30966 6.47064 2.44792 7.87216 1.83239C9.27367 1.21686 10.7746 0.90909 12.375 0.90909C13.9848 0.90909 15.4905 1.21686 16.892 1.83239C18.303 2.44792 19.5388 3.30966 20.5994 4.41761C21.6695 5.52557 22.5076 6.82292 23.1136 8.30966C23.7197 9.78693 24.0227 11.392 24.0227 13.125C24.0227 14.858 23.7197 16.4678 23.1136 17.9545C22.5076 19.4413 21.6695 20.7434 20.5994 21.8608C19.5388 22.9782 18.303 23.8494 16.892 24.4744C15.4905 25.09 13.9848 25.3977 12.375 25.3977ZM12.375 22.2727C13.5398 22.2727 14.6288 22.036 15.642 21.5625C16.6648 21.0795 17.5597 20.4167 18.3267 19.5739C19.0938 18.7311 19.6951 17.7604 20.1307 16.6619C20.5663 15.554 20.7841 14.375 20.7841 13.125C20.7841 11.4394 20.4053 9.9053 19.6477 8.52273C18.8996 7.14015 17.8864 6.03693 16.608 5.21307C15.339 4.3892 13.928 3.97727 12.375 3.97727C10.822 3.97727 9.40152 4.3892 8.11364 5.21307C6.83523 6.03693 5.8125 7.14015 5.04545 8.52273C4.28788 9.9053 3.90909 11.4394 3.90909 13.125C3.90909 14.7917 4.28788 16.321 5.04545 17.7131C5.8125 19.0956 6.83523 20.2036 8.11364 21.0369C9.40152 21.8608 10.822 22.2727 12.375 22.2727ZM20.6136 6.93182L18.3409 4.54545L22.2614 0.511363L24.5909 2.89773L20.6136 6.93182ZM22.2614 25.2841L18.3409 21.25L20.6136 18.9205L24.5909 22.8977L22.2614 25.2841ZM2.60227 25.2841L0.329545 22.8977L4.25 18.9205L6.57955 21.25L2.60227 25.2841ZM4.25 6.93182L0.329545 2.89773L2.60227 0.511363L6.57955 4.54545L4.25 6.93182Z"/>
|
|
25
|
+
</svg>
|
|
26
|
+
`,tm=`<svg xmlns="http://www.w3.org/2000/svg" width="0.93em" height="1em" viewBox="0 0 1664 1792"><path fill="currentColor" d="m1111 1385l-46 46q-9 9-22 9t-23-9l-188-189l-188 189q-10 9-23 9t-22-9l-46-46q-9-9-9-22t9-23l189-188l-189-188q-9-10-9-23t9-22l46-46q9-9 22-9t23 9l188 188l188-188q10-9 23-9t22 9l46 46q9 9 9 22t-9 23l-188 188l188 188q9 10 9 23t-9 22m-983 279h1408V640H128zM512 448V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23m768 0V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23m384-64v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V384q0-52 38-90t90-38h128v-96q0-66 47-113T416 0h64q66 0 113 47t47 113v96h384v-96q0-66 47-113t113-47h64q66 0 113 47t47 113v96h128q52 0 90 38t38 90"/></svg>
|
|
27
|
+
`,im=`<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 1536 1536"><path fill="currentColor" d="m363 1408l91-91l-235-235l-91 91v107h128v128zm523-928q0-22-22-22q-10 0-17 7l-542 542q-7 7-7 17q0 22 22 22q10 0 17-7l542-542q7-7 7-17m-54-192l416 416l-832 832H0v-416zm683 96q0 53-37 90l-166 166l-416-416l166-165q36-38 90-38q53 0 91 38l235 234q37 39 37 91"/></svg>
|
|
28
|
+
`,rm=`<svg xmlns="http://www.w3.org/2000/svg" width="0.93em" height="1em" viewBox="0 0 1216 1312"><path fill="currentColor" d="M1202 1066q0 40-28 68l-136 136q-28 28-68 28t-68-28L608 976l-294 294q-28 28-68 28t-68-28L42 1134q-28-28-28-68t28-68l294-294L42 410q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294l294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68L880 704l294 294q28 28 28 68"/></svg>
|
|
29
|
+
`,El=`<svg xmlns="http://www.w3.org/2000/svg" class="ControlContainerSvg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"/></svg>
|
|
30
|
+
`;function nm(e){Rl(e,"svelte-6z51uw",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.DisplayNone{display:none}.ContainerCenter{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ContainerCenter p{padding:6px}.ErrorMessage{margin:0 15px;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.LimitsContainer{width:100%;max-width:700px;min-height:355px;border:1px solid var(--emw--color-primary, #307fe2);border-radius:var(--emw--border-radius-large, 20px);overflow:hidden;box-shadow:14px 26px 19.7px 0px var(--emw--color-gray-150, #76768B)}.LimitsContainer .LimitsWrapper{display:flex;gap:25px;padding:25px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.ContentLeft{line-height:20px;flex:1}.LimitTypeHeader{display:flex;align-items:center;color:var(--emw--color-gray-150, #76768B);margin-bottom:20px;gap:5px}.DetailsContainer{margin-bottom:15px;display:inline}.DetailsContainer span{font-weight:var(--emw--font-weight-bold, 700)}.CaretRight{color:var(--emw--color-primary, #307fe2)}.ContentRight{min-width:300px;display:flex;justify-content:center;flex-direction:column}.ExtraInfoContainer{padding:1rem 0;color:var(--emw--color-red, #ed0909)}.UsefulLinksSection{padding-top:5px}.UsefulLinksSection a{color:var(--emw--color-primary, #307fe2);text-decoration:underline}.AddLimitControl{border:0.1rem solid var(--emw--color-primary, #307fe2);border-radius:var(--emw--border-radius-small, 0.3rem);min-height:1rem;color:var(--emw--color-white, #FFFFFF);background:var(--emw--color-primary, #307fe2);padding:0.3rem;cursor:pointer;min-width:10rem;display:flex;flex-direction:row;align-items:center;justify-content:center}.WidgetControls{display:flex;width:100%;justify-content:end;gap:10px}.ControlContainer label{display:block;width:100%;font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-bold, 700);margin-bottom:5px}.ControlContainer button{padding:5px;border:1px solid var(--emw--color-contrast, #07072A);border-radius:var(--emw--border-radius-small, 5px);width:25px;cursor:pointer;display:flex;flex-direction:column;margin-bottom:4px}.ControlContainer select{max-width:100px}.ControlContainer .ActionsSvg{height:1em;width:1em;display:flex;justify-content:center;cursor:pointer}.ControlContainer button{padding:5px;border:1px solid var(--emw--color-contrast, #07072A);border-radius:var(--emw--border-radius-small, 5px);width:25px;cursor:pointer;display:flex;flex-direction:column;margin-bottom:4px}.ControlContainer .ActionsSvg{height:1em;width:1em;display:flex;justify-content:center;cursor:pointer}.AddLimitControl .ActionsSvg{height:2em;width:2em;display:flex;justify-content:center;cursor:pointer;padding:5px;margin-right:5px;border:1px solid var(--emw--color-contrast, #07072A);border-radius:var(--emw--border-radius-small, 4px);background:var(--emw--color-white, #FFFFFF)}.Gauge{width:100%;font-family:"Roboto", sans-serif;color:var(--emw--color-black, #000000);margin:1rem 0;flex:1;align-content:center}.GaugeBody{width:100%;position:relative;text-align:center;padding:23px;padding-bottom:0}.Archbg{position:absolute;right:0;bottom:0}.GaugeFill{--p:0deg;--b:26px;border-radius:500px 500px 0 0;background:var(--emw--gauge-fill-bg, var(--emw--color-primary, #307fe2));mask:radial-gradient(farthest-side at bottom, transparent calc(100% - var(--b) - 1px), #fff calc(100% - var(--b))), linear-gradient(var(--p), #fff 50%, transparent 0) top/100% 200%;-webkit-mask:radial-gradient(farthest-side at bottom, transparent calc(100% - var(--b) - 1px), #fff calc(100% - var(--b))), linear-gradient(var(--p), #fff 50%, transparent 0) top/100% 200%;mask-composite:intersect;-webkit-mask-composite:destination-in}.GaugeFill::before{content:"";display:block;padding-top:50%}.GaugeCover{position:absolute;left:50%;transform:translateX(-50%);top:50%;font-size:var(--emw--font-size-large, 18px);white-space:nowrap;width:130px;max-width:200px;overflow-x:auto;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.GaugeNeedle{width:0.2rem;height:3.5rem;background:linear-gradient(0deg, #000000 0, #000000 55%, #c5c5c5 55%, #c5c5c5 90%, #000000 90%, #000000 100%);display:inline-block;left:49.5%;position:absolute;bottom:0.1rem;transform:var(--transform-needle-value);transform-origin:bottom}.GaugeNeedleCover{width:60px;height:30px;border-radius:150px 150px 0 0;background:var(--emw--color-black, #000000);background:radial-gradient(circle at 50% 100%, var(--emw--color-black, #000000) 0%, var(--emw--color-black, #000000) 25%, #fff 25%, #fff 40%, var(--emw--color-primary, #307fe2) 40%);position:absolute;bottom:0;left:50%;border:4px solid var(--emw--color-white, #FFFFFF);border-bottom:0;transform:translateX(-50%)}.MinMaxContainer{display:flex;justify-content:space-between;margin-top:10px}.ProductSelector{position:relative;margin-bottom:20px}.DisplayContainer{border:1px solid var(--emw--color-primary, #307fe2);background-color:var(--emw--color-gray-100, #f5f5f5);border-radius:var(--emw--border-radius-medium, 12px);box-shadow:4px 4px 4px 0px rgba(0, 0, 0, 0.25);padding:9px;display:flex;align-items:center;justify-content:space-between;color:var(--emw--color-contrast, #07072A);gap:5px;margin-top:20px}.SelectedProduct{font-weight:var(--emw--font-weight-bold, 700);text-align:center;width:70px;color:var(--emw--color-gray-150, #76768B)}.TotalAmount{font-size:var(--emw--font-size-2x-large, 36px);align-items:baseline;gap:5px;overflow-x:auto;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none;line-height:normal;justify-content:center;white-space:nowrap;max-width:188px;flex:1;text-align:center}.TotalAmount .Currency{font-size:var(--emw--font-size-x-large, 24px)}.TotalAmount::-webkit-scrollbar{display:none}.ProductsDropdown{display:none;position:absolute;background-color:var(--emw--color-gray-100, #f5f5f5);width:100%;box-shadow:0 8px 16px 0 rgba(0, 0, 0, 0.2);z-index:1;border:1px solid var(--emw--color-primary, #307fe2)}.ProductsDropdown.Show{display:block;border-radius:var(--emw--border-radius-medium, 12px)}.ProductsDropdown button{background-color:transparent;border:none;outline:none;cursor:pointer;padding:10px;width:100%;text-align:left;font-weight:var(--emw--font-weight-bold, 700)}.ProductsDropdown button:hover{border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--color-primary, #307fe2);color:var(--emw--color-white, #FFFFFF)}.DropdownToggle{width:35px;height:35px;display:flex;justify-content:center;align-items:center;background:none;border:none;cursor:pointer;color:var(--emw--color-primary, #307fe2);line-height:0}.DropdownToggle.Active{transform:rotate(90deg)}.Row{display:flex}.Col{flex:1}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function Na(e,t,i){const r=e.slice();return r[85]=t[i],r}function Ia(e,t,i){const r=e.slice();return r[85]=t[i],r}function Ua(e,t,i){const r=e.slice();return r[85]=t[i],r}function Ba(e,t,i){const r=e.slice();return r[92]=t[i],r}function am(e,t,i){const r=e.slice();return r[78]=t[i],r}function Ya(e,t,i){const r=e.slice();return r[78]=t[i],r}function sm(e,t,i){const r=e.slice();return r[78]=t[i],r}function lm(e){let t,i;function r(s,l){return s[8]?hm:s[20]?dm:um}let n=r(e),a=n(e);return{c(){t=g("div"),i=g("div"),a.c(),p(i,"class","LimitsWrapper"),p(t,"class","LimitsContainer")},m(s,l){U(s,t,l),d(t,i),a.m(i,null),e[58](t)},p(s,l){n===(n=r(s))&&a?a.p(s,l):(a.d(1),a=n(s),a&&(a.c(),a.m(i,null)))},d(s){s&&R(t),a.d(),e[58](null)}}}function om(e){let t,i,r,n,a,s,l,o,u,h,c,f,w,_,M,ae,se,te=Re(Array(4)),N=[];for(let P=0;P<te.length;P+=1)N[P]=ss(Ya(e,te,P));let ee=Re(Array(3)),X=[];for(let P=0;P<ee.length;P+=1)X[P]=pm(am(e,ee,P));return{c(){t=g("div"),i=g("div"),r=g("div"),n=g("div"),n.innerHTML='<ui-skeleton structure="title" width="20px" height="25px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="25px"></ui-skeleton>',a=S(),s=g("div"),s.innerHTML='<ui-skeleton structure="rectangle" width="100%" height="63px" margin-bottom="20px"></ui-skeleton>',l=S(),o=g("div");for(let P=0;P<N.length;P+=1)N[P].c();u=S(),h=g("div"),h.innerHTML='<div class="Row"><div class="Col"><ui-skeleton structure="text" width="50%" height="15px"></ui-skeleton></div></div>',c=S(),f=g("div"),w=g("div");for(let P=0;P<X.length;P+=1)X[P].c();_=S(),M=g("div"),M.innerHTML='<ui-skeleton structure="rectangle" width="25px" height="25px" margin-bottom="4px"></ui-skeleton> <ui-skeleton structure="rectangle" width="25px" height="25px" margin-bottom="4px"></ui-skeleton> <ui-skeleton structure="rectangle" width="25px" height="25px" margin-bottom="4px"></ui-skeleton>',ae=S(),se=g("div"),se.innerHTML='<ui-skeleton structure="image" width="100%" height="177px"></ui-skeleton>',p(n,"class","LimitTypeHeader"),p(s,"class","ProductSelector"),p(h,"class","UsefulLinksSection"),p(o,"class","DetailsContainer"),p(r,"class","ContentLeft"),p(M,"class","ControlContainer"),p(w,"class","WidgetControls"),p(se,"class","Gauge"),p(f,"class","ContentRight"),p(i,"class","LimitsWrapper"),p(t,"class","LimitsContainer")},m(P,le){U(P,t,le),d(t,i),d(i,r),d(r,n),d(r,a),d(r,s),d(r,l),d(r,o);for(let G=0;G<N.length;G+=1)N[G]&&N[G].m(o,null);d(o,u),d(o,h),d(i,c),d(i,f),d(f,w);for(let G=0;G<X.length;G+=1)X[G]&&X[G].m(w,null);d(w,_),d(w,M),d(f,ae),d(f,se)},p(P,le){if(le&0){te=Re(Array(4));let G;for(G=0;G<te.length;G+=1){const Ue=Ya(P,te,G);N[G]?N[G].p(Ue,le):(N[G]=ss(Ue),N[G].c(),N[G].m(o,u))}for(;G<N.length;G+=1)N[G].d(1);N.length=te.length}},d(P){P&&R(t),Mt(N,P),Mt(X,P)}}}function um(e){let t,i,r,n=e[25](e[16])+"",a,s,l,o,u,h=e[17]==="All"?`${e[17]} ${e[21]("walletsLabel")}`:`${e[17]} ${e[21]("walletLabel")}`,c,f,w,_=e[30](e[10].totalAmount)+"",M,ae,se,te=e[10].limitCurrency+"",N,ee,X,P,le,G,Ue,ce,pe,re,De=e[21]("spentAmount")+"",Ze,wt,$,J,Pe,oe=e[30](e[10].spentAmount)+"",ye,Ae,Ge=e[10].limitCurrency+"",At,pi,dt,Ot,Xe=e[21]("remainingAmount")+"",gi,Ct,We,ht,_i,Je=e[30](e[10].remainingAmount)+"",yi,Zi,Tt=e[10].limitCurrency+"",bi,Xi,vi,ft,St,Ht=e[21]("startLabel")+"",Li,wi,ct,Rt,Ji,Nt=e[24](e[10].from)+"",It,Ti,Qe,mt,Ut=e[21]("resetLabel")+"",Si,Qi,pt,Bt,Ki,Yt=e[24](e[10].to)+"",ki,er,Ei,xi,m,v,x,W,z,Ke,et,ue,tr,ea,Mi,ta,gt,ir=e[30](e[10].spentAmount)+"",zr,ia,rr=e[10].limitCurrency+"",Vr,nr,ra,$r,na,Di,aa,Ft,jt,ar,sa,sr,lr=e[10].limitCurrency+"",qr,la,Gt,or,ur=e[30](e[10].totalAmount)+"",Zr,oa,dr,hr=e[10].limitCurrency+"",Xr,be=e[18].length>1&&Fa(e),Wt=Re(e[18]),ge=[];for(let b=0;b<Wt.length;b+=1)ge[b]=ja(Ba(e,Wt,b));let ve=e[10].formattedSchedule.isUpdated===!0&&Ga(e),Le=(e[10].formattedSchedule.isRemoved===!0||e[10].formattedSchedule.isUpdated===!0)&&Wa(e),we=e[0]==="admin"&&$a(e),Te=e[11].length>0&&qa(e),Se=e[12].length>0&&Xa(e),ke=e[13].length>0&&Qa(e),Ee=e[13].length>0&&e[0]==="admin"&&e[10]&&es(e);return{c(){t=g("div"),i=g("h2"),r=new Yl(!1),a=E(n),s=S(),l=g("div"),o=g("div"),u=g("span"),c=E(h),f=S(),w=g("span"),M=E(_),ae=S(),se=g("span"),N=E(te),X=S(),be&&be.c(),P=S(),le=g("div");for(let b=0;b<ge.length;b+=1)ge[b].c();Ue=S(),ce=g("div"),pe=g("div"),re=g("div"),Ze=E(De),wt=S(),$=g("div"),J=g("span"),Pe=S(),ye=E(oe),Ae=S(),At=E(Ge),pi=S(),dt=g("div"),Ot=g("div"),gi=E(Xe),Ct=S(),We=g("div"),ht=g("span"),_i=S(),yi=E(Je),Zi=S(),bi=E(Tt),Xi=S(),ve&&ve.c(),vi=S(),ft=g("div"),St=g("div"),Li=E(Ht),wi=S(),ct=g("div"),Rt=g("span"),Ji=S(),It=E(Nt),Ti=S(),Qe=g("div"),mt=g("div"),Si=E(Ut),Qi=S(),pt=g("div"),Bt=g("span"),Ki=S(),ki=E(Yt),er=S(),Le&&Le.c(),Ei=S(),we&&we.c(),xi=S(),m=g("div"),v=g("div"),Te&&Te.c(),x=S(),Se&&Se.c(),W=S(),ke&&ke.c(),z=S(),Ee&&Ee.c(),Ke=S(),et=g("div"),ue=g("div"),tr=g("div"),ea=S(),Mi=g("div"),ta=S(),gt=g("div"),zr=E(ir),ia=S(),Vr=E(rr),ra=S(),$r=g("div"),na=S(),Di=g("div"),aa=S(),Ft=g("div"),jt=g("div"),ar=g("strong"),ar.textContent="0",sa=S(),sr=g("span"),qr=E(lr),la=S(),Gt=g("div"),or=g("strong"),Zr=E(ur),oa=S(),dr=g("span"),Xr=E(hr),r.a=a,p(i,"class","LimitTypeHeader"),p(u,"class","SelectedProduct"),p(se,"class","Currency"),p(w,"class","TotalAmount"),p(w,"title",ee=`${e[30](e[10].totalAmount)} ${e[10].limitCurrency}`),p(o,"class","DisplayContainer"),p(le,"class",G="ProductsDropdown "+(e[9]?"Show":"")),p(l,"class","ProductSelector"),p(re,"class","Col"),p(J,"class","CaretRight"),p($,"class","Col"),p(pe,"class","Row"),p(Ot,"class","Col"),p(ht,"class","CaretRight"),p(We,"class","Col"),p(dt,"class","Row"),p(St,"class","Col"),p(Rt,"class","CaretRight"),p(ct,"class","Col"),p(ft,"class","Row"),p(mt,"class","Col"),p(Bt,"class","CaretRight"),p(pt,"class","Col"),p(Qe,"class","Row"),p(ce,"class","DetailsContainer Entries"),p(t,"class","ContentLeft"),p(v,"class","WidgetControls"),p(tr,"class","Archbg"),p(Mi,"class","GaugeFill"),fr(Mi,"--p",e[19]+"deg"),p(gt,"class","GaugeCover"),p(gt,"title",nr=`${e[30](e[10].spentAmount)} ${e[10].limitCurrency}`),p($r,"class","GaugeNeedleCover"),p(Di,"class","GaugeNeedle"),fr(Di,"--transform-needle-value","rotate("+(e[19]-90)+"deg)"),p(ue,"class","GaugeBody"),p(ar,"class","MinContent"),p(sr,"class","MinContentCurrency"),p(jt,"class","Min"),p(or,"class","MaxContent"),p(dr,"class","MaxContentCurrency"),p(Gt,"class","Max"),p(Ft,"class","MinMaxContainer"),p(et,"class","Gauge"),p(m,"class","ContentRight")},m(b,A){U(b,t,A),d(t,i),r.m(em,i),d(i,a),d(t,s),d(t,l),d(l,o),d(o,u),d(u,c),d(o,f),d(o,w),d(w,M),d(w,ae),d(w,se),d(se,N),d(o,X),be&&be.m(o,null),d(l,P),d(l,le);for(let he=0;he<ge.length;he+=1)ge[he]&&ge[he].m(le,null);d(t,Ue),d(t,ce),d(ce,pe),d(pe,re),d(re,Ze),d(pe,wt),d(pe,$),d($,J),J.innerHTML=Hi,d($,Pe),d($,ye),d($,Ae),d($,At),d(ce,pi),d(ce,dt),d(dt,Ot),d(Ot,gi),d(dt,Ct),d(dt,We),d(We,ht),ht.innerHTML=Hi,d(We,_i),d(We,yi),d(We,Zi),d(We,bi),d(ce,Xi),ve&&ve.m(ce,null),d(ce,vi),d(ce,ft),d(ft,St),d(St,Li),d(ft,wi),d(ft,ct),d(ct,Rt),Rt.innerHTML=Hi,d(ct,Ji),d(ct,It),d(ce,Ti),d(ce,Qe),d(Qe,mt),d(mt,Si),d(Qe,Qi),d(Qe,pt),d(pt,Bt),Bt.innerHTML=Hi,d(pt,Ki),d(pt,ki),d(t,er),Le&&Le.m(t,null),d(t,Ei),we&&we.m(t,null),U(b,xi,A),U(b,m,A),d(m,v),Te&&Te.m(v,null),d(v,x),Se&&Se.m(v,null),d(v,W),ke&&ke.m(v,null),d(v,z),Ee&&Ee.m(v,null),d(m,Ke),d(m,et),d(et,ue),d(ue,tr),tr.innerHTML=Qc,d(ue,ea),d(ue,Mi),d(ue,ta),d(ue,gt),d(gt,zr),d(gt,ia),d(gt,Vr),d(ue,ra),d(ue,$r),d(ue,na),d(ue,Di),d(et,aa),d(et,Ft),d(Ft,jt),d(jt,ar),d(jt,sa),d(jt,sr),d(sr,qr),d(Ft,la),d(Ft,Gt),d(Gt,or),d(or,Zr),d(Gt,oa),d(Gt,dr),d(dr,Xr)},p(b,A){if(A[0]&65536&&n!==(n=b[25](b[16])+"")&&O(a,n),A[0]&2228224&&h!==(h=b[17]==="All"?`${b[17]} ${b[21]("walletsLabel")}`:`${b[17]} ${b[21]("walletLabel")}`)&&O(c,h),A[0]&1024&&_!==(_=b[30](b[10].totalAmount)+"")&&O(M,_),A[0]&1024&&te!==(te=b[10].limitCurrency+"")&&O(N,te),A[0]&1024&&ee!==(ee=`${b[30](b[10].totalAmount)} ${b[10].limitCurrency}`)&&p(w,"title",ee),b[18].length>1?be?be.p(b,A):(be=Fa(b),be.c(),be.m(o,null)):be&&(be.d(1),be=null),A[0]&270794752){Wt=Re(b[18]);let he;for(he=0;he<Wt.length;he+=1){const ua=Ba(b,Wt,he);ge[he]?ge[he].p(ua,A):(ge[he]=ja(ua),ge[he].c(),ge[he].m(le,null))}for(;he<ge.length;he+=1)ge[he].d(1);ge.length=Wt.length}A[0]&512&&G!==(G="ProductsDropdown "+(b[9]?"Show":""))&&p(le,"class",G),A[0]&2097152&&De!==(De=b[21]("spentAmount")+"")&&O(Ze,De),A[0]&1024&&oe!==(oe=b[30](b[10].spentAmount)+"")&&O(ye,oe),A[0]&1024&&Ge!==(Ge=b[10].limitCurrency+"")&&O(At,Ge),A[0]&2097152&&Xe!==(Xe=b[21]("remainingAmount")+"")&&O(gi,Xe),A[0]&1024&&Je!==(Je=b[30](b[10].remainingAmount)+"")&&O(yi,Je),A[0]&1024&&Tt!==(Tt=b[10].limitCurrency+"")&&O(bi,Tt),b[10].formattedSchedule.isUpdated===!0?ve?ve.p(b,A):(ve=Ga(b),ve.c(),ve.m(ce,vi)):ve&&(ve.d(1),ve=null),A[0]&2097152&&Ht!==(Ht=b[21]("startLabel")+"")&&O(Li,Ht),A[0]&1024&&Nt!==(Nt=b[24](b[10].from)+"")&&O(It,Nt),A[0]&2097152&&Ut!==(Ut=b[21]("resetLabel")+"")&&O(Si,Ut),A[0]&1024&&Yt!==(Yt=b[24](b[10].to)+"")&&O(ki,Yt),b[10].formattedSchedule.isRemoved===!0||b[10].formattedSchedule.isUpdated===!0?Le?Le.p(b,A):(Le=Wa(b),Le.c(),Le.m(t,Ei)):Le&&(Le.d(1),Le=null),b[0]==="admin"?we?we.p(b,A):(we=$a(b),we.c(),we.m(t,null)):we&&(we.d(1),we=null),b[11].length>0?Te?Te.p(b,A):(Te=qa(b),Te.c(),Te.m(v,x)):Te&&(Te.d(1),Te=null),b[12].length>0?Se?Se.p(b,A):(Se=Xa(b),Se.c(),Se.m(v,W)):Se&&(Se.d(1),Se=null),b[13].length>0?ke?ke.p(b,A):(ke=Qa(b),ke.c(),ke.m(v,z)):ke&&(ke.d(1),ke=null),b[13].length>0&&b[0]==="admin"&&b[10]?Ee?Ee.p(b,A):(Ee=es(b),Ee.c(),Ee.m(v,null)):Ee&&(Ee.d(1),Ee=null),A[0]&524288&&fr(Mi,"--p",b[19]+"deg"),A[0]&1024&&ir!==(ir=b[30](b[10].spentAmount)+"")&&O(zr,ir),A[0]&1024&&rr!==(rr=b[10].limitCurrency+"")&&O(Vr,rr),A[0]&1024&&nr!==(nr=`${b[30](b[10].spentAmount)} ${b[10].limitCurrency}`)&&p(gt,"title",nr),A[0]&524288&&fr(Di,"--transform-needle-value","rotate("+(b[19]-90)+"deg)"),A[0]&1024&&lr!==(lr=b[10].limitCurrency+"")&&O(qr,lr),A[0]&1024&&ur!==(ur=b[30](b[10].totalAmount)+"")&&O(Zr,ur),A[0]&1024&&hr!==(hr=b[10].limitCurrency+"")&&O(Xr,hr)},d(b){b&&(R(t),R(xi),R(m)),be&&be.d(),Mt(ge,b),ve&&ve.d(),Le&&Le.d(),we&&we.d(),Te&&Te.d(),Se&&Se.d(),ke&&ke.d(),Ee&&Ee.d()}}}function dm(e){let t,i,r;return{c(){t=g("div"),i=g("strong"),r=E(e[20]),p(i,"class","ErrorMessage"),p(t,"class","ContainerCenter")},m(n,a){U(n,t,a),d(t,i),d(i,r)},p(n,a){a[0]&1048576&&O(r,n[20])},d(n){n&&R(t)}}}function hm(e){let t,i,r=e[21]("noLimitToDisplay")+"",n,a,s=e[3]==="true"&&as(e);return{c(){t=g("div"),i=g("p"),n=E(r),a=S(),s&&s.c(),p(t,"class","ContainerCenter")},m(l,o){U(l,t,o),d(t,i),d(i,n),d(t,a),s&&s.m(t,null)},p(l,o){o[0]&2097152&&r!==(r=l[21]("noLimitToDisplay")+"")&&O(n,r),l[3]==="true"?s?s.p(l,o):(s=as(l),s.c(),s.m(t,null)):s&&(s.d(1),s=null)},d(l){l&&R(t),s&&s.d()}}}function Fa(e){let t,i,r,n;return{c(){t=g("button"),p(t,"class",i="DropdownToggle "+(e[9]?"Active":""))},m(a,s){U(a,t,s),t.innerHTML=Kc,r||(n=Oe(t,"click",oi(e[49])),r=!0)},p(a,s){s[0]&512&&i!==(i="DropdownToggle "+(a[9]?"Active":""))&&p(t,"class",i)},d(a){a&&R(t),r=!1,n()}}}function ja(e){let t,i=e[92]==="All"?`${e[92]} ${e[21]("walletsLabel")}`:`${e[92]} ${e[21]("walletLabel")}`,r,n,a,s;function l(){return e[50](e[92])}return{c(){t=g("button"),r=E(i),n=S()},m(o,u){U(o,t,u),d(t,r),d(t,n),a||(s=Oe(t,"click",l),a=!0)},p(o,u){e=o,u[0]&2359296&&i!==(i=e[92]==="All"?`${e[92]} ${e[21]("walletsLabel")}`:`${e[92]} ${e[21]("walletLabel")}`)&&O(r,i)},d(o){o&&R(t),a=!1,s()}}}function Ga(e){let t,i,r=e[21]("futureAmount")+"",n,a,s,l,o,u=e[30](e[10].formattedSchedule.updateAmount)+"",h,c,f=e[10].limitCurrency+"",w;return{c(){t=g("div"),i=g("div"),n=E(r),a=S(),s=g("div"),l=g("span"),o=S(),h=E(u),c=S(),w=E(f),p(i,"class","Col"),p(l,"class","CaretRight"),p(s,"class","Col"),p(t,"class","Row")},m(_,M){U(_,t,M),d(t,i),d(i,n),d(t,a),d(t,s),d(s,l),l.innerHTML=Hi,d(s,o),d(s,h),d(s,c),d(s,w)},p(_,M){M[0]&2097152&&r!==(r=_[21]("futureAmount")+"")&&O(n,r),M[0]&1024&&u!==(u=_[30](_[10].formattedSchedule.updateAmount)+"")&&O(h,u),M[0]&1024&&f!==(f=_[10].limitCurrency+"")&&O(w,f)},d(_){_&&R(t)}}}function Wa(e){let t,i,r=e[10].formattedSchedule.isRemoved===!0&&za(e),n=e[10].formattedSchedule.isUpdated===!0&&Va(e);return{c(){t=g("div"),r&&r.c(),i=S(),n&&n.c(),p(t,"class","ExtraInfoContainer")},m(a,s){U(a,t,s),r&&r.m(t,null),d(t,i),n&&n.m(t,null)},p(a,s){a[10].formattedSchedule.isRemoved===!0?r?r.p(a,s):(r=za(a),r.c(),r.m(t,i)):r&&(r.d(1),r=null),a[10].formattedSchedule.isUpdated===!0?n?n.p(a,s):(n=Va(a),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},d(a){a&&R(t),r&&r.d(),n&&n.d()}}}function za(e){let t,i=e[21]("limitRemoved")+"",r,n,a=e[10].formattedSchedule.expiresString+"",s;return{c(){t=g("span"),r=E(i),n=E(": "),s=E(a)},m(l,o){U(l,t,o),d(t,r),d(t,n),d(t,s)},p(l,o){o[0]&2097152&&i!==(i=l[21]("limitRemoved")+"")&&O(r,i),o[0]&1024&&a!==(a=l[10].formattedSchedule.expiresString+"")&&O(s,a)},d(l){l&&R(t)}}}function Va(e){let t,i=e[21]("limitUpdated")+"",r,n,a=e[10].formattedSchedule.expiresString+"",s;return{c(){t=g("span"),r=E(i),n=E(": "),s=E(a)},m(l,o){U(l,t,o),d(t,r),d(t,n),d(t,s)},p(l,o){o[0]&2097152&&i!==(i=l[21]("limitUpdated")+"")&&O(r,i),o[0]&1024&&a!==(a=l[10].formattedSchedule.expiresString+"")&&O(s,a)},d(l){l&&R(t)}}}function $a(e){let t;function i(a,s){if(a[1])return cm;if(a[2])return fm}let r=i(e),n=r&&r(e);return{c(){t=g("div"),n&&n.c(),p(t,"class","UsefulLinksSection")},m(a,s){U(a,t,s),n&&n.m(t,null)},p(a,s){r===(r=i(a))&&n?n.p(a,s):(n&&n.d(1),n=r&&r(a),n&&(n.c(),n.m(t,null)))},d(a){a&&R(t),n&&n.d()}}}function fm(e){let t,i=e[21]("additionalLink2")+"",r;return{c(){t=g("a"),r=E(i),p(t,"href",e[31]()),p(t,"target","_blank")},m(n,a){U(n,t,a),d(t,r)},p(n,a){a[0]&2097152&&i!==(i=n[21]("additionalLink2")+"")&&O(r,i)},d(n){n&&R(t)}}}function cm(e){let t,i=e[21]("additionalLink1")+"",r;return{c(){t=g("a"),r=E(i),p(t,"href",e[1]),p(t,"target","_blank")},m(n,a){U(n,t,a),d(t,r)},p(n,a){a[0]&2097152&&i!==(i=n[21]("additionalLink1")+"")&&O(r,i),a[0]&2&&p(t,"href",n[1])},d(n){n&&R(t)}}}function qa(e){let t,i,r=e[21]("limitWalletTypeLabel")+"",n,a,s,l,o,u,h=Re(e[11]),c=[];for(let f=0;f<h.length;f+=1)c[f]=Za(Ua(e,h,f));return{c(){t=g("div"),i=g("label"),n=E(r),a=E(":"),s=S(),l=g("select");for(let f=0;f<c.length;f+=1)c[f].c();p(i,"for","LimitPeriod"),p(l,"id","WalletType"),e[14]===void 0&&ri(()=>e[51].call(l)),p(t,"class","ControlContainer")},m(f,w){U(f,t,w),d(t,i),d(i,n),d(i,a),d(t,s),d(t,l);for(let _=0;_<c.length;_+=1)c[_]&&c[_].m(l,null);ii(l,e[14],!0),o||(u=[Oe(l,"change",e[51]),Oe(l,"change",e[27])],o=!0)},p(f,w){if(w[0]&2097152&&r!==(r=f[21]("limitWalletTypeLabel")+"")&&O(n,r),w[0]&4196352){h=Re(f[11]);let _;for(_=0;_<h.length;_+=1){const M=Ua(f,h,_);c[_]?c[_].p(M,w):(c[_]=Za(M),c[_].c(),c[_].m(l,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=h.length}w[0]&18432&&ii(l,f[14])},d(f){f&&R(t),Mt(c,f),o=!1,Lt(u)}}}function Za(e){let t,i=e[22][e[85]]+"",r,n,a;return{c(){t=g("option"),r=E(i),n=S(),t.__value=a=e[85],ti(t,t.__value)},m(s,l){U(s,t,l),d(t,r),d(t,n)},p(s,l){l[0]&2048&&i!==(i=s[22][s[85]]+"")&&O(r,i),l[0]&2048&&a!==(a=s[85])&&(t.__value=a,ti(t,t.__value))},d(s){s&&R(t)}}}function Xa(e){let t,i,r=e[21]("changeLimitLabel")+"",n,a,s,l,o,u,h=Re(e[12]),c=[];for(let f=0;f<h.length;f+=1)c[f]=Ja(Ia(e,h,f));return{c(){t=g("div"),i=g("label"),n=E(r),a=E(":"),s=S(),l=g("select");for(let f=0;f<c.length;f+=1)c[f].c();p(i,"for","LimitPeriod"),p(l,"id","LimitPeriod"),e[15]===void 0&&ri(()=>e[52].call(l)),p(t,"class","ControlContainer")},m(f,w){U(f,t,w),d(t,i),d(i,n),d(i,a),d(t,s),d(t,l);for(let _=0;_<c.length;_+=1)c[_]&&c[_].m(l,null);ii(l,e[15],!0),o||(u=[Oe(l,"change",e[52]),Oe(l,"change",e[26])],o=!0)},p(f,w){if(w[0]&2097152&&r!==(r=f[21]("changeLimitLabel")+"")&&O(n,r),w[0]&4096){h=Re(f[12]);let _;for(_=0;_<h.length;_+=1){const M=Ia(f,h,_);c[_]?c[_].p(M,w):(c[_]=Ja(M),c[_].c(),c[_].m(l,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=h.length}w[0]&36864&&ii(l,f[15])},d(f){f&&R(t),Mt(c,f),o=!1,Lt(u)}}}function Ja(e){let t,i=e[85]+"",r,n,a;return{c(){t=g("option"),r=E(i),n=S(),t.__value=a=e[85],ti(t,t.__value)},m(s,l){U(s,t,l),d(t,r),d(t,n)},p(s,l){l[0]&4096&&i!==(i=s[85]+"")&&O(r,i),l[0]&4096&&a!==(a=s[85])&&(t.__value=a,ti(t,t.__value))},d(s){s&&R(t)}}}function Qa(e){let t,i,r=e[21]("limitTypeLabel")+"",n,a,s,l,o,u,h=Re(e[13]),c=[];for(let f=0;f<h.length;f+=1)c[f]=Ka(Na(e,h,f));return{c(){t=g("div"),i=g("label"),n=E(r),a=E(":"),s=S(),l=g("select");for(let f=0;f<c.length;f+=1)c[f].c();p(i,"for","LimitType"),p(l,"id","LimitType"),e[16]===void 0&&ri(()=>e[53].call(l)),p(t,"class","ControlContainer")},m(f,w){U(f,t,w),d(t,i),d(i,n),d(i,a),d(t,s),d(t,l);for(let _=0;_<c.length;_+=1)c[_]&&c[_].m(l,null);ii(l,e[16],!0),o||(u=[Oe(l,"change",e[53]),Oe(l,"change",e[23])],o=!0)},p(f,w){if(w[0]&2097152&&r!==(r=f[21]("limitTypeLabel")+"")&&O(n,r),w[0]&8192){h=Re(f[13]);let _;for(_=0;_<h.length;_+=1){const M=Na(f,h,_);c[_]?c[_].p(M,w):(c[_]=Ka(M),c[_].c(),c[_].m(l,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=h.length}w[0]&73728&&ii(l,f[16])},d(f){f&&R(t),Mt(c,f),o=!1,Lt(u)}}}function Ka(e){let t,i=e[85]+"",r,n,a;return{c(){t=g("option"),r=E(i),n=S(),t.__value=a=e[85],ti(t,t.__value)},m(s,l){U(s,t,l),d(t,r),d(t,n)},p(s,l){l[0]&8192&&i!==(i=s[85]+"")&&O(r,i),l[0]&8192&&a!==(a=s[85])&&(t.__value=a,ti(t,t.__value))},d(s){s&&R(t)}}}function es(e){let t,i,r,n,a=e[3]==="true"&&ts(e),s=e[3]==="true"&&is(e),l=e[4]==="true"&&rs(e),o=e[5]==="true"&&e[10].formattedSchedule&&(e[10].formattedSchedule.isRemoved===!0||e[10].formattedSchedule.isUpdated===!0)&&ns(e);return{c(){t=g("div"),a&&a.c(),i=S(),s&&s.c(),r=S(),l&&l.c(),n=S(),o&&o.c(),p(t,"class","ControlContainer")},m(u,h){U(u,t,h),a&&a.m(t,null),d(t,i),s&&s.m(t,null),d(t,r),l&&l.m(t,null),d(t,n),o&&o.m(t,null)},p(u,h){u[3]==="true"?a?a.p(u,h):(a=ts(u),a.c(),a.m(t,i)):a&&(a.d(1),a=null),u[3]==="true"?s?s.p(u,h):(s=is(u),s.c(),s.m(t,r)):s&&(s.d(1),s=null),u[4]==="true"?l?l.p(u,h):(l=rs(u),l.c(),l.m(t,n)):l&&(l.d(1),l=null),u[5]==="true"&&u[10].formattedSchedule&&(u[10].formattedSchedule.isRemoved===!0||u[10].formattedSchedule.isUpdated===!0)?o?o.p(u,h):(o=ns(u),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(u){u&&R(t),a&&a.d(),s&&s.d(),l&&l.d(),o&&o.d()}}}function ts(e){let t,i,r,n,a;return{c(){t=g("button"),i=g("span"),p(i,"class","ActionsSvg"),p(t,"class","ActionButton"),p(t,"title",r=e[21]("addLimitTitle"))},m(s,l){U(s,t,l),d(t,i),i.innerHTML=El,n||(a=Oe(t,"click",oi(e[54])),n=!0)},p(s,l){l[0]&2097152&&r!==(r=s[21]("addLimitTitle"))&&p(t,"title",r)},d(s){s&&R(t),n=!1,a()}}}function is(e){let t,i,r,n,a;return{c(){t=g("button"),i=g("span"),p(i,"class","ActionsSvg"),p(t,"class","ActionButton"),p(t,"title",r=e[21]("editLimitTitle"))},m(s,l){U(s,t,l),d(t,i),i.innerHTML=im,n||(a=Oe(t,"click",oi(e[55])),n=!0)},p(s,l){l[0]&2097152&&r!==(r=s[21]("editLimitTitle"))&&p(t,"title",r)},d(s){s&&R(t),n=!1,a()}}}function rs(e){let t,i,r,n,a;return{c(){t=g("button"),i=g("span"),p(i,"class","ActionsSvg"),p(t,"class","ActionButton"),p(t,"title",r=e[21]("deleteLimitTitle"))},m(s,l){U(s,t,l),d(t,i),i.innerHTML=rm,n||(a=Oe(t,"click",oi(e[56])),n=!0)},p(s,l){l[0]&2097152&&r!==(r=s[21]("deleteLimitTitle"))&&p(t,"title",r)},d(s){s&&R(t),n=!1,a()}}}function ns(e){let t,i,r,n,a;return{c(){t=g("button"),i=g("span"),p(i,"class","ActionsSvg"),p(t,"class","ActionButton"),p(t,"title",r=e[21]("cancelScheduleTitle"))},m(s,l){U(s,t,l),d(t,i),i.innerHTML=tm,n||(a=Oe(t,"click",oi(e[57])),n=!0)},p(s,l){l[0]&2097152&&r!==(r=s[21]("cancelScheduleTitle"))&&p(t,"title",r)},d(s){s&&R(t),n=!1,a()}}}function as(e){let t,i,r,n,a=e[21]("addLimitText")+"",s,l,o,u;return{c(){t=g("button"),i=g("span"),r=S(),n=g("span"),s=E(a),p(i,"class","ActionsSvg"),p(t,"class","AddLimitControl"),p(t,"title",l=e[21]("addLimitTitle"))},m(h,c){U(h,t,c),d(t,i),i.innerHTML=El,d(t,r),d(t,n),d(n,s),o||(u=Oe(t,"click",oi(e[48])),o=!0)},p(h,c){c[0]&2097152&&a!==(a=h[21]("addLimitText")+"")&&O(s,a),c[0]&2097152&&l!==(l=h[21]("addLimitTitle"))&&p(t,"title",l)},d(h){h&&R(t),o=!1,u()}}}function mm(e){let t;return{c(){t=g("div"),t.innerHTML='<ui-skeleton structure="text" width="90%" height="15px"></ui-skeleton>',p(t,"class","Col")},m(i,r){U(i,t,r)},p:Me,d(i){i&&R(t)}}}function ss(e){let t,i=Re(Array(2)),r=[];for(let n=0;n<i.length;n+=1)r[n]=mm(sm(e,i,n));return{c(){t=g("div");for(let n=0;n<r.length;n+=1)r[n].c();p(t,"class","Row")},m(n,a){U(n,t,a);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(t,null)},p:Me,d(n){n&&R(t),Mt(r,n)}}}function pm(e){let t;return{c(){t=g("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="60px" height="10px" margin-bottom="5px"></ui-skeleton> <ui-skeleton structure="rectangle" width="90px" height="20px"></ui-skeleton>',p(t,"class","ControlContainer")},m(i,r){U(i,t,r)},p:Me,d(i){i&&R(t)}}}function gm(e){let t;function i(a,s){return a[7]?om:lm}let r=i(e),n=r(e);return{c(){t=g("div"),n.c(),p(t,"class","")},m(a,s){U(a,t,s),n.m(t,null)},p(a,s){r===(r=i(a))&&n?n.p(a,s):(n.d(1),n=r(a),n&&(n.c(),n.m(t,null)))},i:Me,o:Me,d(a){a&&R(t),n.d()}}}function _m(e,t,i){let r;Hl(e,$c,m=>i(21,r=m));let{session:n=""}=t,{sessiontype:a=""}=t,{userid:s=""}=t,{endpoint:l=""}=t,{transdetailsurl:o=""}=t,{transactionspageurl:u=""}=t,{clientstyling:h=""}=t,{clientstylingurl:c=""}=t,{mbsource:f}=t,{lang:w="en"}=t,{translationurl:_=""}=t,{datetimeformat:M=""}=t,{editlimitaction:ae=""}=t,{deletelimitaction:se=""}=t,{cancelimitscheduleaction:te=""}=t,{getutctime:N=""}=t,ee,X=!1,P=!1,le="",G="",Ue=!0,ce,pe=!1,re={id:"",totalAmount:null,spentAmount:"",limitCurrency:"EUR",remainingAmount:"",limitPeriod:"",limitProducts:"",from:"",to:""},De=[],Ze=[],wt=[],$="",J="",Pe="",oe="",ye=[],Ae=[],Ge=0,At="";const pi={Daily:0,Weekly:1,Monthly:2},dt={All:"All",RealCash:"Real Money"};Object.keys(Ra).forEach(m=>{Ha(m,Ra[m])}),Gl(()=>{setTimeout(()=>{i(46,X=!0)},50);const m=v=>{v.target.closest(".ProductsDropdown")||i(9,pe=!1)};return window.addEventListener("click",m),()=>{window.removeEventListener("click",m)}});const Ot=()=>{i(47,P=!0),le=n,G=s},Xe=m=>{i(20,At=m)},gi=()=>{let m=ye;return J&&(m=m.filter(v=>v.period===J)),$&&(m=m.filter(v=>v.walletTypes.includes($))),Pe&&(m=m.filter(v=>v.type===Pe)),oe&&(m=m.filter(v=>v.products.includes(oe))),m[0]||ye[0]},Ct=()=>Pi(this,null,function*(){i(9,pe=!1);try{if(ye=yield We(),ye.length===0){i(7,Ue=!1),i(8,ce=!0);return}i(12,Ze=[...new Set(ye.map(m=>m.period))].sort((m,v)=>pi[m]-pi[v])),(!J||!Ze.includes(J))&&i(15,J=Ze[0]),i(11,De=_i(J)),(!$||!De.includes($))&&i(14,$=De[0]),i(18,Ae=ht(J,$)),Ae.includes(oe)||i(17,oe=Ae[0]),Je(gi())}catch(m){i(7,Ue=!1),Xe(r("fetchLimitBalanceError"));return}}),We=()=>Pi(this,null,function*(){try{const m=new URL(`${l}/v1/player/${G}/limits/monetary/`),x=yield fetch(m,{method:"GET",headers:{"X-SessionId":le,"X-Session-Type":a}});if(!x.ok)throw new Error(r("fetchLimitDefError"));const W=yield x.json(),z=["Deposit","Loss","Wagering"],Ke=W.limits.map(ue=>ue.type);i(13,wt=Array.from(new Set(Ke)).filter(ue=>z.includes(ue))),Pe||i(16,Pe=wt[0]);const et=W.limits.filter(ue=>ue.type===Pe);return et.length>0?et:[]}catch(m){const v=m instanceof TypeError?r("invalidUrl"):m.message;Xe(v)}}),ht=(m,v)=>{const x=ye.filter(z=>z.period===m&&z.walletTypes[0]===v),W=[];return x.forEach(z=>{z.products.forEach(Ke=>{W.indexOf(Ke)===-1&&W.push(Ke)})}),W.sort()},_i=m=>{const v=ye.filter(W=>W.period===m),x=[];return v.forEach(W=>{W.walletTypes.forEach(z=>{x.indexOf(z)===-1&&x.push(z)})}),x.sort()},Je=m=>Pi(this,null,function*(){try{i(7,Ue=!0);const v=new URL(`${l}/v1/player/${G}/limits/monetary/balance`);v.searchParams.append("limitDefinitionId",m.id);const W=yield fetch(v,{method:"GET",headers:{"X-SessionId":le,"X-Session-Type":a}});if(!W.ok)throw new Error(r("fetchLimitBalanceError"));const z=yield W.json();yi(z.limitBalances[0],m)}catch(v){const x=v instanceof TypeError?r("invalidUrl"):v.message;Xe(x)}finally{i(7,Ue=!1)}}),yi=(m,v)=>{i(15,J=m.limitPeriod),i(17,oe=m.limitProducts[0]),i(14,$=m.limitWalletTypes[0]);const x=Zi(v.id,v.schedules);i(10,re={id:v.id,totalAmount:m.limitAmount,spentAmount:m.spentBalance.amount.toFixed(2),limitCurrency:m.limitCurrency,remainingAmount:(m.limitAmount-m.spentBalance.amount).toFixed(2),limitPeriod:m.limitPeriod,limitProducts:oe,from:m.from,to:m.to}),x&&i(10,re.formattedSchedule=x,re),bi(re)},Zi=(m,v)=>{const x=v.find(W=>W.playerLimitId===m);return x?{updateAmount:x.updateAmount,expires:x.applyAt,expiresString:Tt(x.applyAt),id:x.id,isRemoved:x.updateAmount<1,isUpdated:x.updateAmount>0}:{updateAmount:"",expires:"",expiresString:"",id:"",isRemoved:!1,isUpdated:!1}},Tt=m=>{const v=N==="true";return L(m).utc(v).format(M||"DD/MM/YYYY HH:mm:ss")},bi=m=>{let v=180/m.totalAmount*parseFloat(m.spentAmount);v=Math.min(180,Math.max(0,v));const x=1.5,W=setInterval(()=>{i(19,Ge+=Ge<v?x:-1.5),Math.abs(Ge-v)<=x&&(i(19,Ge=v),clearInterval(W))})},Xi=m=>{switch(m){case"Deposit":return r("depositLimitHeader");case"Loss":return r("lossLimitHeader");case"Wagering":return r("wageringLimitHeader");default:return""}},vi=m=>{const v=m.currentTarget;i(15,J=v.value),i(11,De=_i(J)),(!$||!De.includes($))&&i(14,$=De[0]),i(18,Ae=ht(J,$)),i(9,pe=!1),Ae.includes(oe)||i(17,oe=Ae[0]);const x=ye.find(W=>W.period===J&&W.walletTypes[0]===$&&W.products.includes(oe));x&&Je(x)},ft=m=>{const v=m.currentTarget;i(14,$=v.value),i(18,Ae=ht(J,$)),i(9,pe=!1),Ae.includes(oe)||i(17,oe=Ae[0]);const x=ye.find(W=>W.period===J&&W.walletTypes[0]===$&&W.products.includes(oe));x&&Je(x)},St=m=>{const v=ye.find(x=>x.period===J&&x.products.includes(m));i(10,re.limitProducts=m,re),i(9,pe=!1),v&&Je(v)},Ht=()=>{qc(w)},Li=()=>{let m=new URL(_);fetch(m.href).then(v=>v.json()).then(v=>{Object.keys(v).forEach(x=>{Ha(x,v[x])})}).catch(v=>{console.log(v)})},wi=()=>{i(9,pe=!pe)},ct=m=>m.toString().replace(new RegExp("\\B(?<!\\.\\d*)(?=(\\d{3})+(?!\\d))","g")," "),Rt=()=>{const m=u,v=Pe==="Deposit"?"payment-transactions":"gaming-transactions",x={Daily:1,Weekly:7,Monthly:30},W=Ji(new Date(re.to),x[J]);try{const z=new URL(`${m}/gammatrix/gmwi/${v}`);switch(z.searchParams.append("transStatuses","2"),z.searchParams.append("startTime",W.toISOString()),z.searchParams.append("endTime",new Date().toISOString()),z.searchParams.append("dateOption","Select custom dates"),z.searchParams.append("userId",s),Pe){case"Deposit":z.searchParams.append("transTypes","1");break;case"Wagering":z.searchParams.append("transTypes","12");break;case"Loss":z.searchParams.append("transTypes","8");break;default:break}return z.toString()}catch(z){const Ke=z instanceof TypeError?r("invalidUrl"):z.message;Xe(Ke)}},Ji=(m,v)=>new Date(m.getTime()-v*24*60*60*1e3),Nt=()=>{window.addEventListener("message",m=>{m.data.type==="RGW:RefreshLimits"&&Ct()})},It=()=>{window.postMessage({type:"RGW:EditLimit",payload:{id:re.id}},window.location.href)},Ti=()=>{window.postMessage({type:"RGW:DeleteLimit",payload:{id:re.id}},window.location.href)},Qe=()=>{re&&re.formattedSchedule&&window.postMessage({type:"RGW:CancelLimitSchedule",payload:{limitId:re.id,scheduleId:re.formattedSchedule.id}},window.location.href)},mt=()=>{window.postMessage({type:"RGW:AddNewLimit"},window.location.href)},Ut=()=>mt(),Si=()=>wi(),Qi=m=>St(m);function pt(){$=Qr(this),i(14,$),i(11,De)}function Bt(){J=Qr(this),i(15,J),i(12,Ze)}function Ki(){Pe=Qr(this),i(16,Pe),i(13,wt)}const Yt=()=>mt(),ki=()=>It(),er=()=>Ti(),Ei=()=>Qe();function xi(m){hn[m?"unshift":"push"](()=>{ee=m,i(6,ee)})}return e.$$set=m=>{"session"in m&&i(36,n=m.session),"sessiontype"in m&&i(0,a=m.sessiontype),"userid"in m&&i(37,s=m.userid),"endpoint"in m&&i(38,l=m.endpoint),"transdetailsurl"in m&&i(1,o=m.transdetailsurl),"transactionspageurl"in m&&i(2,u=m.transactionspageurl),"clientstyling"in m&&i(39,h=m.clientstyling),"clientstylingurl"in m&&i(40,c=m.clientstylingurl),"mbsource"in m&&i(41,f=m.mbsource),"lang"in m&&i(42,w=m.lang),"translationurl"in m&&i(43,_=m.translationurl),"datetimeformat"in m&&i(44,M=m.datetimeformat),"editlimitaction"in m&&i(3,ae=m.editlimitaction),"deletelimitaction"in m&&i(4,se=m.deletelimitaction),"cancelimitscheduleaction"in m&&i(5,te=m.cancelimitscheduleaction),"getutctime"in m&&i(45,N=m.getutctime)},e.$$.update=()=>{e.$$.dirty[1]&32864&&X&&n&&s&&Ot(),e.$$.dirty[1]&98304&&X&&P&&Nt(),e.$$.dirty[1]&98304&&X&&P&&Ct(),e.$$.dirty[0]&64|e.$$.dirty[1]&256&&h&&ee&&Zc(ee,h),e.$$.dirty[0]&64|e.$$.dirty[1]&512&&c&&ee&&Xc(ee,c),e.$$.dirty[0]&64|e.$$.dirty[1]&1024&&f&&ee&&Jc(ee,`${f}.Style`),e.$$.dirty[1]&2048&&w&&Ht(),e.$$.dirty[1]&4096&&_&&Li()},[a,o,u,ae,se,te,ee,Ue,ce,pe,re,De,Ze,wt,$,J,Pe,oe,Ae,Ge,At,r,dt,Ct,Tt,Xi,vi,ft,St,wi,ct,Rt,It,Ti,Qe,mt,n,s,l,h,c,f,w,_,M,N,X,P,Ut,Si,Qi,pt,Bt,Ki,Yt,ki,er,Ei,xi]}class xl extends to{constructor(t){super(),Kl(this,t,_m,gm,os,{session:36,sessiontype:0,userid:37,endpoint:38,transdetailsurl:1,transactionspageurl:2,clientstyling:39,clientstylingurl:40,mbsource:41,lang:42,translationurl:43,datetimeformat:44,editlimitaction:3,deletelimitaction:4,cancelimitscheduleaction:5,getutctime:45},nm,[-1,-1,-1,-1])}get session(){return this.$$.ctx[36]}set session(t){this.$$set({session:t}),de()}get sessiontype(){return this.$$.ctx[0]}set sessiontype(t){this.$$set({sessiontype:t}),de()}get userid(){return this.$$.ctx[37]}set userid(t){this.$$set({userid:t}),de()}get endpoint(){return this.$$.ctx[38]}set endpoint(t){this.$$set({endpoint:t}),de()}get transdetailsurl(){return this.$$.ctx[1]}set transdetailsurl(t){this.$$set({transdetailsurl:t}),de()}get transactionspageurl(){return this.$$.ctx[2]}set transactionspageurl(t){this.$$set({transactionspageurl:t}),de()}get clientstyling(){return this.$$.ctx[39]}set clientstyling(t){this.$$set({clientstyling:t}),de()}get clientstylingurl(){return this.$$.ctx[40]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),de()}get mbsource(){return this.$$.ctx[41]}set mbsource(t){this.$$set({mbsource:t}),de()}get lang(){return this.$$.ctx[42]}set lang(t){this.$$set({lang:t}),de()}get translationurl(){return this.$$.ctx[43]}set translationurl(t){this.$$set({translationurl:t}),de()}get datetimeformat(){return this.$$.ctx[44]}set datetimeformat(t){this.$$set({datetimeformat:t}),de()}get editlimitaction(){return this.$$.ctx[3]}set editlimitaction(t){this.$$set({editlimitaction:t}),de()}get deletelimitaction(){return this.$$.ctx[4]}set deletelimitaction(t){this.$$set({deletelimitaction:t}),de()}get cancelimitscheduleaction(){return this.$$.ctx[5]}set cancelimitscheduleaction(t){this.$$set({cancelimitscheduleaction:t}),de()}get getutctime(){return this.$$.ctx[45]}set getutctime(t){this.$$set({getutctime:t}),de()}}eo(xl,{session:{},sessiontype:{},userid:{},endpoint:{},transdetailsurl:{},transactionspageurl:{},clientstyling:{},clientstylingurl:{},mbsource:{},lang:{},translationurl:{},datetimeformat:{},editlimitaction:{},deletelimitaction:{},cancelimitscheduleaction:{},getutctime:{}},[],[],!0);exports.default=xl;
|