@everymatrix/player-rglimits 1.86.4 → 1.86.6
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-BMPbVLZC.js → PlayerRglimits-2S-nyO-H.js} +876 -874
- package/components/{PlayerRglimits-B_6_kbhg.js → PlayerRglimits-8pYAO7nT.js} +826 -824
- package/components/PlayerRglimits-Br4953Tn.cjs +21 -0
- 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/index-b2193545-9K-aI7zC.cjs +1 -0
- package/stencil/index-b2193545-DsMHU6jb.js +519 -0
- package/stencil/index-b2193545-R7ZoV-kY.js +503 -0
- package/stencil/{ui-skeleton-C7KTfaPd.cjs → ui-skeleton-BreIU6e5.cjs} +1 -1
- package/stencil/{ui-skeleton-Cn9Rv2BY.js → ui-skeleton-W50o8tfg.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BA-lE0xf.js → ui-skeleton-ed169f8f-CVY4B-CP.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-cGTgZqRU.cjs → ui-skeleton-ed169f8f-CpiCXJrP.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-b70BXhTZ.js → ui-skeleton-ed169f8f-D3TjbVKy.js} +1 -1
- package/stencil/{ui-skeleton-YNoAIoec.js → ui-skeleton-xXZA3rYO.js} +2 -2
- package/components/PlayerRglimits-KwBDP2GM.cjs +0 -34
- package/stencil/index-b2193545-CMoQ4Pov.js +0 -503
- package/stencil/index-b2193545-CQaBo5im.cjs +0 -1
- package/stencil/index-b2193545-DvP9W4Go.js +0 -519
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";var Wn=Object.defineProperty,zn=Object.defineProperties;var $n=Object.getOwnPropertyDescriptors;var mr=Object.getOwnPropertySymbols;var Vn=Object.prototype.hasOwnProperty,qn=Object.prototype.propertyIsEnumerable;var Mi=(e,t,i)=>t in e?Wn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,pr=(e,t)=>{for(var i in t||(t={}))Vn.call(t,i)&&Mi(e,i,t[i]);if(mr)for(var i of mr(t))qn.call(t,i)&&Mi(e,i,t[i]);return e},gr=(e,t)=>zn(e,$n(t));var te=(e,t,i)=>(Mi(e,typeof t!="symbol"?t+"":t,i),i);var Rt=(e,t,i)=>new Promise((r,n)=>{var a=u=>{try{l(i.next(u))}catch(s){n(s)}},o=u=>{try{l(i.throw(u))}catch(s){n(s)}},l=u=>u.done?r(u.value):Promise.resolve(u.value).then(a,o);l((i=i.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-C7KTfaPd.cjs");function me(){}function dn(e){return e()}function br(){return Object.create(null)}function Ne(e){e.forEach(dn)}function Ki(e){return typeof e=="function"}function cn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Xn(e){return Object.keys(e).length===0}function hn(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 Yn(e,t,i){e.$$.on_destroy.push(hn(t,i))}function d(e,t){e.appendChild(t)}function Qn(e,t,i){const r=Zn(e);if(!r.getElementById(t)){const n=b("style");n.id=t,n.textContent=i,Jn(r,n)}}function Zn(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Jn(e,t){return d(e.head||e,t),t.sheet}function M(e,t,i){e.insertBefore(t,i||null)}function H(e){e.parentNode&&e.parentNode.removeChild(e)}function We(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function b(e){return document.createElement(e)}function Kn(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function E(e){return document.createTextNode(e)}function w(){return E(" ")}function ve(e,t,i,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function vt(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 ea(e){return Array.from(e.childNodes)}function S(e,t){t=""+t,e.data!==t&&(e.data=t)}function ct(e,t){e.value=t==null?"":t}function di(e,t,i,r){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function ht(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 Oi(e){const t=e.querySelector(":checked");return t&&t.__value}class ta{constructor(t=!1){te(this,"is_svg",!1);te(this,"e");te(this,"n");te(this,"t");te(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=Kn(i.nodeName):this.e=b(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)M(this.t,this.n[i],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(H)}}function ia(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let Wt;function Gt(e){Wt=e}function ra(){if(!Wt)throw new Error("Function called outside component initialization");return Wt}function na(e){ra().$$.on_mount.push(e)}const ut=[],Gi=[];let dt=[];const vr=[],aa=Promise.resolve();let Wi=!1;function oa(){Wi||(Wi=!0,aa.then(K))}function ft(e){dt.push(e)}const Di=new Set;let ot=0;function K(){if(ot!==0)return;const e=Wt;do{try{for(;ot<ut.length;){const t=ut[ot];ot++,Gt(t),la(t.$$)}}catch(t){throw ut.length=0,ot=0,t}for(Gt(null),ut.length=0,ot=0;Gi.length;)Gi.pop()();for(let t=0;t<dt.length;t+=1){const i=dt[t];Di.has(i)||(Di.add(i),i())}dt.length=0}while(ut.length);for(;vr.length;)vr.pop()();Wi=!1,Di.clear(),Gt(e)}function la(e){if(e.fragment!==null){e.update(),Ne(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ft)}}function sa(e){const t=[],i=[];dt.forEach(r=>e.indexOf(r)===-1?t.push(r):i.push(r)),i.forEach(r=>r()),dt=t}const ua=new Set;function da(e,t){e&&e.i&&(ua.delete(e),e.i(t))}function Le(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function ca(e,t,i){const{fragment:r,after_update:n}=e.$$;r&&r.m(t,i),ft(()=>{const a=e.$$.on_mount.map(dn).filter(Ki);e.$$.on_destroy?e.$$.on_destroy.push(...a):Ne(a),e.$$.on_mount=[]}),n.forEach(ft)}function ha(e,t){const i=e.$$;i.fragment!==null&&(sa(i.after_update),Ne(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function fa(e,t){e.$$.dirty[0]===-1&&(ut.push(e),oa(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ma(e,t,i,r,n,a,o=null,l=[-1]){const u=Wt;Gt(e);const s=e.$$={fragment:null,ctx:[],props:a,update:me,not_equal:n,bound:br(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:br(),dirty:l,skip_bound:!1,root:t.target||u.$$.root};o&&o(s.root);let c=!1;if(s.ctx=i?i(e,t.props||{},(f,h,...v)=>{const g=v.length?v[0]:h;return s.ctx&&n(s.ctx[f],s.ctx[f]=g)&&(!s.skip_bound&&s.bound[f]&&s.bound[f](g),c&&fa(e,f)),h}):[],s.update(),c=!0,Ne(s.before_update),s.fragment=r?r(s.ctx):!1,t.target){if(t.hydrate){const f=ea(t.target);s.fragment&&s.fragment.l(f),f.forEach(H)}else s.fragment&&s.fragment.c();t.intro&&da(e.$$.fragment),ca(e,t.target,t.anchor),K()}Gt(u)}let fn;typeof HTMLElement=="function"&&(fn=class extends HTMLElement{constructor(t,i,r){super();te(this,"$$ctor");te(this,"$$s");te(this,"$$c");te(this,"$$cn",!1);te(this,"$$d",{});te(this,"$$r",!1);te(this,"$$p_d",{});te(this,"$$l",{});te(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 Rt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let o;return{c:function(){o=b("slot"),a!=="default"&&p(o,"name",a)},m:function(s,c){M(s,o,c)},d:function(s){s&&H(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},r=ia(this);for(const a of this.$$s)a in r&&(i[a]=[t(a)]);for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=hi(o,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:gr(pr({},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 o=hi(a,this.$$d[a],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,o)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const a in this.$$l)for(const o of this.$$l[a]){const l=this.$$c.$on(a,o);this.$$l_u.set(o,l)}this.$$l={}}})}attributeChangedCallback(t,i,r){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=hi(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 hi(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 pa(e,t,i,r,n,a){let o=class extends fn{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(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(u){var s;u=hi(l,u,t),this.$$d[l]=u,(s=this.$$c)==null||s.$set({[l]:u})}})}),r.forEach(l=>{Object.defineProperty(o.prototype,l,{get(){var u;return(u=this.$$c)==null?void 0:u[l]}})}),e.element=o,o}class ga{constructor(){te(this,"$$");te(this,"$$set")}$destroy(){ha(this,1),this.$destroy=me}$on(t,i){if(!Ki(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&&!Xn(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ba="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ba);function pi(e){"@babel/helpers - typeof";return pi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pi(e)}function ze(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function ne(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function _e(e){ne(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||pi(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function va(e,t){ne(2,arguments);var i=_e(e).getTime(),r=ze(t);return new Date(i+r)}var La={};function yi(){return La}function ya(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function wa(e){return ne(1,arguments),e instanceof Date||pi(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function _a(e){if(ne(1,arguments),!wa(e)&&typeof e!="number")return!1;var t=_e(e);return!isNaN(Number(t))}function Ta(e,t){ne(2,arguments);var i=ze(t);return va(e,-i)}var Ea=864e5;function xa(e){ne(1,arguments);var t=_e(e),i=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),n=i-r;return Math.floor(n/Ea)+1}function gi(e){ne(1,arguments);var t=1,i=_e(e),r=i.getUTCDay(),n=(r<t?7:0)+r-t;return i.setUTCDate(i.getUTCDate()-n),i.setUTCHours(0,0,0,0),i}function mn(e){ne(1,arguments);var t=_e(e),i=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(i+1,0,4),r.setUTCHours(0,0,0,0);var n=gi(r),a=new Date(0);a.setUTCFullYear(i,0,4),a.setUTCHours(0,0,0,0);var o=gi(a);return t.getTime()>=n.getTime()?i+1:t.getTime()>=o.getTime()?i:i-1}function Ca(e){ne(1,arguments);var t=mn(e),i=new Date(0);i.setUTCFullYear(t,0,4),i.setUTCHours(0,0,0,0);var r=gi(i);return r}var Pa=6048e5;function Sa(e){ne(1,arguments);var t=_e(e),i=gi(t).getTime()-Ca(t).getTime();return Math.round(i/Pa)+1}function bi(e,t){var i,r,n,a,o,l,u,s;ne(1,arguments);var c=yi(),f=ze((i=(r=(n=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:c.weekStartsOn)!==null&&r!==void 0?r:(u=c.locale)===null||u===void 0||(s=u.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=_e(e),v=h.getUTCDay(),g=(v<f?7:0)+v-f;return h.setUTCDate(h.getUTCDate()-g),h.setUTCHours(0,0,0,0),h}function pn(e,t){var i,r,n,a,o,l,u,s;ne(1,arguments);var c=_e(e),f=c.getUTCFullYear(),h=yi(),v=ze((i=(r=(n=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:h.firstWeekContainsDate)!==null&&r!==void 0?r:(u=h.locale)===null||u===void 0||(s=u.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(f+1,0,v),g.setUTCHours(0,0,0,0);var _=bi(g,t),z=new Date(0);z.setUTCFullYear(f,0,v),z.setUTCHours(0,0,0,0);var q=bi(z,t);return c.getTime()>=_.getTime()?f+1:c.getTime()>=q.getTime()?f:f-1}function Aa(e,t){var i,r,n,a,o,l,u,s;ne(1,arguments);var c=yi(),f=ze((i=(r=(n=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:c.firstWeekContainsDate)!==null&&r!==void 0?r:(u=c.locale)===null||u===void 0||(s=u.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:1),h=pn(e,t),v=new Date(0);v.setUTCFullYear(h,0,f),v.setUTCHours(0,0,0,0);var g=bi(v,t);return g}var Ha=6048e5;function ka(e,t){ne(1,arguments);var i=_e(e),r=bi(i,t).getTime()-Aa(i,t).getTime();return Math.round(r/Ha)+1}function R(e,t){for(var i=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return i+r}var Ue={y:function(t,i){var r=t.getUTCFullYear(),n=r>0?r:1-r;return R(i==="yy"?n%100:n,i.length)},M:function(t,i){var r=t.getUTCMonth();return i==="M"?String(r+1):R(r+1,2)},d:function(t,i){return R(t.getUTCDate(),i.length)},a:function(t,i){var r=t.getUTCHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,i){return R(t.getUTCHours()%12||12,i.length)},H:function(t,i){return R(t.getUTCHours(),i.length)},m:function(t,i){return R(t.getUTCMinutes(),i.length)},s:function(t,i){return R(t.getUTCSeconds(),i.length)},S:function(t,i){var r=i.length,n=t.getUTCMilliseconds(),a=Math.floor(n*Math.pow(10,r-3));return R(a,i.length)}},lt={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ma={G:function(t,i,r){var n=t.getUTCFullYear()>0?1:0;switch(i){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(t,i,r){if(i==="yo"){var n=t.getUTCFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return Ue.y(t,i)},Y:function(t,i,r,n){var a=pn(t,n),o=a>0?a:1-a;if(i==="YY"){var l=o%100;return R(l,2)}return i==="Yo"?r.ordinalNumber(o,{unit:"year"}):R(o,i.length)},R:function(t,i){var r=mn(t);return R(r,i.length)},u:function(t,i){var r=t.getUTCFullYear();return R(r,i.length)},Q:function(t,i,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(i){case"Q":return String(n);case"QQ":return R(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,i,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(i){case"q":return String(n);case"qq":return R(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,i,r){var n=t.getUTCMonth();switch(i){case"M":case"MM":return Ue.M(t,i);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,i,r){var n=t.getUTCMonth();switch(i){case"L":return String(n+1);case"LL":return R(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,i,r,n){var a=ka(t,n);return i==="wo"?r.ordinalNumber(a,{unit:"week"}):R(a,i.length)},I:function(t,i,r){var n=Sa(t);return i==="Io"?r.ordinalNumber(n,{unit:"week"}):R(n,i.length)},d:function(t,i,r){return i==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):Ue.d(t,i)},D:function(t,i,r){var n=xa(t);return i==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):R(n,i.length)},E:function(t,i,r){var n=t.getUTCDay();switch(i){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,i,r,n){var a=t.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(i){case"e":return String(o);case"ee":return R(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(t,i,r,n){var a=t.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(i){case"c":return String(o);case"cc":return R(o,i.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(t,i,r){var n=t.getUTCDay(),a=n===0?7:n;switch(i){case"i":return String(a);case"ii":return R(a,i.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,i,r){var n=t.getUTCHours(),a=n/12>=1?"pm":"am";switch(i){case"a":case"aa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,i,r){var n=t.getUTCHours(),a;switch(n===12?a=lt.noon:n===0?a=lt.midnight:a=n/12>=1?"pm":"am",i){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,i,r){var n=t.getUTCHours(),a;switch(n>=17?a=lt.evening:n>=12?a=lt.afternoon:n>=4?a=lt.morning:a=lt.night,i){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,i,r){if(i==="ho"){var n=t.getUTCHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return Ue.h(t,i)},H:function(t,i,r){return i==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Ue.H(t,i)},K:function(t,i,r){var n=t.getUTCHours()%12;return i==="Ko"?r.ordinalNumber(n,{unit:"hour"}):R(n,i.length)},k:function(t,i,r){var n=t.getUTCHours();return n===0&&(n=24),i==="ko"?r.ordinalNumber(n,{unit:"hour"}):R(n,i.length)},m:function(t,i,r){return i==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Ue.m(t,i)},s:function(t,i,r){return i==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Ue.s(t,i)},S:function(t,i){return Ue.S(t,i)},X:function(t,i,r,n){var a=n._originalDate||t,o=a.getTimezoneOffset();if(o===0)return"Z";switch(i){case"X":return yr(o);case"XXXX":case"XX":return Ge(o);case"XXXXX":case"XXX":default:return Ge(o,":")}},x:function(t,i,r,n){var a=n._originalDate||t,o=a.getTimezoneOffset();switch(i){case"x":return yr(o);case"xxxx":case"xx":return Ge(o);case"xxxxx":case"xxx":default:return Ge(o,":")}},O:function(t,i,r,n){var a=n._originalDate||t,o=a.getTimezoneOffset();switch(i){case"O":case"OO":case"OOO":return"GMT"+Lr(o,":");case"OOOO":default:return"GMT"+Ge(o,":")}},z:function(t,i,r,n){var a=n._originalDate||t,o=a.getTimezoneOffset();switch(i){case"z":case"zz":case"zzz":return"GMT"+Lr(o,":");case"zzzz":default:return"GMT"+Ge(o,":")}},t:function(t,i,r,n){var a=n._originalDate||t,o=Math.floor(a.getTime()/1e3);return R(o,i.length)},T:function(t,i,r,n){var a=n._originalDate||t,o=a.getTime();return R(o,i.length)}};function Lr(e,t){var i=e>0?"-":"+",r=Math.abs(e),n=Math.floor(r/60),a=r%60;if(a===0)return i+String(n);var o=t;return i+String(n)+o+R(a,2)}function yr(e,t){if(e%60===0){var i=e>0?"-":"+";return i+R(Math.abs(e)/60,2)}return Ge(e,t)}function Ge(e,t){var i=t||"",r=e>0?"-":"+",n=Math.abs(e),a=R(Math.floor(n/60),2),o=R(n%60,2);return r+a+i+o}var wr=function(t,i){switch(t){case"P":return i.date({width:"short"});case"PP":return i.date({width:"medium"});case"PPP":return i.date({width:"long"});case"PPPP":default:return i.date({width:"full"})}},gn=function(t,i){switch(t){case"p":return i.time({width:"short"});case"pp":return i.time({width:"medium"});case"ppp":return i.time({width:"long"});case"pppp":default:return i.time({width:"full"})}},Oa=function(t,i){var r=t.match(/(P+)(p+)?/)||[],n=r[1],a=r[2];if(!a)return wr(t,i);var o;switch(n){case"P":o=i.dateTime({width:"short"});break;case"PP":o=i.dateTime({width:"medium"});break;case"PPP":o=i.dateTime({width:"long"});break;case"PPPP":default:o=i.dateTime({width:"full"});break}return o.replace("{{date}}",wr(n,i)).replace("{{time}}",gn(a,i))},Da={p:gn,P:Oa},Ba=["D","DD"],Ua=["YY","YYYY"];function Ra(e){return Ba.indexOf(e)!==-1}function Na(e){return Ua.indexOf(e)!==-1}function _r(e,t,i){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Ia={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ja=function(t,i,r){var n,a=Ia[t];return typeof a=="string"?n=a:i===1?n=a.one:n=a.other.replace("{{count}}",i.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};function Bi(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=t.width?String(t.width):e.defaultWidth,r=e.formats[i]||e.formats[e.defaultWidth];return r}}var Fa={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ga={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Wa={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},za={date:Bi({formats:Fa,defaultWidth:"full"}),time:Bi({formats:Ga,defaultWidth:"full"}),dateTime:Bi({formats:Wa,defaultWidth:"full"})},$a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Va=function(t,i,r,n){return $a[t]};function Nt(e){return function(t,i){var r=i!=null&&i.context?String(i.context):"standalone",n;if(r==="formatting"&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=i!=null&&i.width?String(i.width):a;n=e.formattingValues[o]||e.formattingValues[a]}else{var l=e.defaultWidth,u=i!=null&&i.width?String(i.width):e.defaultWidth;n=e.values[u]||e.values[l]}var s=e.argumentCallback?e.argumentCallback(t):t;return n[s]}}var qa={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Xa={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ya={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Qa={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Za={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ja={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Ka=function(t,i){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},eo={ordinalNumber:Ka,era:Nt({values:qa,defaultWidth:"wide"}),quarter:Nt({values:Xa,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Nt({values:Ya,defaultWidth:"wide"}),day:Nt({values:Qa,defaultWidth:"wide"}),dayPeriod:Nt({values:Za,defaultWidth:"wide",formattingValues:Ja,defaultFormattingWidth:"wide"})};function It(e){return function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=i.width,n=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(n);if(!a)return null;var o=a[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?io(l,function(f){return f.test(o)}):to(l,function(f){return f.test(o)}),s;s=e.valueCallback?e.valueCallback(u):u,s=i.valueCallback?i.valueCallback(s):s;var c=t.slice(o.length);return{value:s,rest:c}}}function to(e,t){for(var i in e)if(e.hasOwnProperty(i)&&t(e[i]))return i}function io(e,t){for(var i=0;i<e.length;i++)if(t(e[i]))return i}function ro(e){return function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var n=r[0],a=t.match(e.parsePattern);if(!a)return null;var o=e.valueCallback?e.valueCallback(a[0]):a[0];o=i.valueCallback?i.valueCallback(o):o;var l=t.slice(n.length);return{value:o,rest:l}}}var no=/^(\d+)(th|st|nd|rd)?/i,ao=/\d+/i,oo={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},lo={any:[/^b/i,/^(a|c)/i]},so={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},uo={any:[/1/i,/2/i,/3/i,/4/i]},co={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},ho={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},fo={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},mo={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},po={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},go={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},bo={ordinalNumber:ro({matchPattern:no,parsePattern:ao,valueCallback:function(t){return parseInt(t,10)}}),era:It({matchPatterns:oo,defaultMatchWidth:"wide",parsePatterns:lo,defaultParseWidth:"any"}),quarter:It({matchPatterns:so,defaultMatchWidth:"wide",parsePatterns:uo,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:It({matchPatterns:co,defaultMatchWidth:"wide",parsePatterns:ho,defaultParseWidth:"any"}),day:It({matchPatterns:fo,defaultMatchWidth:"wide",parsePatterns:mo,defaultParseWidth:"any"}),dayPeriod:It({matchPatterns:po,defaultMatchWidth:"any",parsePatterns:go,defaultParseWidth:"any"})},vo={code:"en-US",formatDistance:ja,formatLong:za,formatRelative:Va,localize:eo,match:bo,options:{weekStartsOn:0,firstWeekContainsDate:1}},Lo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,yo=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,wo=/^'([^]*?)'?$/,_o=/''/g,To=/[a-zA-Z]/;function Eo(e,t,i){var r,n,a,o,l,u,s,c,f,h,v,g,_,z;ne(2,arguments);var q=String(t),F=yi(),C=(r=(n=void 0)!==null&&n!==void 0?n:F.locale)!==null&&r!==void 0?r:vo,G=ze((a=(o=(l=(u=void 0)!==null&&u!==void 0?u:void 0)!==null&&l!==void 0?l:F.firstWeekContainsDate)!==null&&o!==void 0?o:(s=F.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(G>=1&&G<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var N=ze((f=(h=(v=(g=void 0)!==null&&g!==void 0?g:void 0)!==null&&v!==void 0?v:F.weekStartsOn)!==null&&h!==void 0?h:(_=F.locale)===null||_===void 0||(z=_.options)===null||z===void 0?void 0:z.weekStartsOn)!==null&&f!==void 0?f:0);if(!(N>=0&&N<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!C.localize)throw new RangeError("locale must contain localize property");if(!C.formatLong)throw new RangeError("locale must contain formatLong property");var x=_e(e);if(!_a(x))throw new RangeError("Invalid time value");var X=ya(x),O=Ta(x,X),pe={firstWeekContainsDate:G,weekStartsOn:N,locale:C,_originalDate:x},Y=q.match(yo).map(function(U){var I=U[0];if(I==="p"||I==="P"){var Q=Da[I];return Q(U,C.formatLong)}return U}).join("").match(Lo).map(function(U){if(U==="''")return"'";var I=U[0];if(I==="'")return xo(U);var Q=Ma[I];if(Q)return Na(U)&&_r(U,t,String(e)),Ra(U)&&_r(U,t,String(e)),Q(O,U,C.localize,pe);if(I.match(To))throw new RangeError("Format string contains an unescaped latin alphabet character `"+I+"`");return U}).join("");return Y}function xo(e){var t=e.match(wo);return t?t[1].replace(_o,"'"):e}const st=[];function Co(e,t){return{subscribe:wi(e,t).subscribe}}function wi(e,t=me){let i;const r=new Set;function n(l){if(cn(e,l)&&(e=l,i)){const u=!st.length;for(const s of r)s[1](),st.push(s,e);if(u){for(let s=0;s<st.length;s+=2)st[s][0](st[s+1]);st.length=0}}}function a(l){n(l(e))}function o(l,u=me){const s=[l,u];return r.add(s),r.size===1&&(i=t(n,a)||me),l(e),()=>{r.delete(s),r.size===0&&i&&(i(),i=null)}}return{set:n,update:a,subscribe:o}}function Lt(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 Co(i,(o,l)=>{let u=!1;const s=[];let c=0,f=me;const h=()=>{if(c)return;f();const g=t(r?s[0]:s,o,l);a?o(g):f=Ki(g)?g:me},v=n.map((g,_)=>hn(g,z=>{s[_]=z,c&=~(1<<_),u&&h()},()=>{c|=1<<_}));return u=!0,h(),function(){Ne(v),f(),u=!1}})}function Po(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var So=function(t){return Ao(t)&&!Ho(t)};function Ao(e){return!!e&&typeof e=="object"}function Ho(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Oo(e)}var ko=typeof Symbol=="function"&&Symbol.for,Mo=ko?Symbol.for("react.element"):60103;function Oo(e){return e.$$typeof===Mo}function Do(e){return Array.isArray(e)?[]:{}}function zt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?mt(Do(e),e,t):e}function Bo(e,t,i){return e.concat(t).map(function(r){return zt(r,i)})}function Uo(e,t){if(!t.customMerge)return mt;var i=t.customMerge(e);return typeof i=="function"?i:mt}function Ro(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Tr(e){return Object.keys(e).concat(Ro(e))}function bn(e,t){try{return t in e}catch(i){return!1}}function No(e,t){return bn(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Io(e,t,i){var r={};return i.isMergeableObject(e)&&Tr(e).forEach(function(n){r[n]=zt(e[n],i)}),Tr(t).forEach(function(n){No(e,n)||(bn(e,n)&&i.isMergeableObject(t[n])?r[n]=Uo(n,i)(e[n],t[n],i):r[n]=zt(t[n],i))}),r}function mt(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||Bo,i.isMergeableObject=i.isMergeableObject||So,i.cloneUnlessOtherwiseSpecified=zt;var r=Array.isArray(t),n=Array.isArray(e),a=r===n;return a?r?i.arrayMerge(e,t,i):Io(e,t,i):zt(t,i)}mt.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return mt(r,n,i)},{})};var jo=mt,Fo=jo;const Go=Po(Fo);/*! *****************************************************************************
|
|
2
|
-
Copyright (c) Microsoft Corporation.
|
|
3
|
-
|
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
-
purpose with or without fee is hereby granted.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
-
***************************************************************************** */var zi=function(e,t){return zi=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])},zi(e,t)};function _i(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");zi(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var D=function(){return D=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},D.apply(this,arguments)};function Wo(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 Ui(e,t,i){if(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||t)}function Ri(e,t){var i=t&&t.cache?t.cache:Yo,r=t&&t.serializer?t.serializer:Xo,n=t&&t.strategy?t.strategy:$o;return n(e,{cache:i,serializer:r})}function zo(e){return e==null||typeof e=="number"||typeof e=="boolean"}function vn(e,t,i,r){var n=zo(r)?r:i(r),a=t.get(n);return typeof a=="undefined"&&(a=e.call(this,r),t.set(n,a)),a}function Ln(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 er(e,t,i,r,n){return i.bind(t,e,r,n)}function $o(e,t){var i=e.length===1?vn:Ln;return er(e,this,i,t.cache.create(),t.serializer)}function Vo(e,t){return er(e,this,Ln,t.cache.create(),t.serializer)}function qo(e,t){return er(e,this,vn,t.cache.create(),t.serializer)}var Xo=function(){return JSON.stringify(arguments)};function tr(){this.cache=Object.create(null)}tr.prototype.get=function(e){return this.cache[e]};tr.prototype.set=function(e,t){this.cache[e]=t};var Yo={create:function(){return new tr}},Ni={variadic:Vo,monadic:qo},A;(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"})(A||(A={}));var V;(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"})(V||(V={}));var pt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(pt||(pt={}));function Er(e){return e.type===V.literal}function Qo(e){return e.type===V.argument}function yn(e){return e.type===V.number}function wn(e){return e.type===V.date}function _n(e){return e.type===V.time}function Tn(e){return e.type===V.select}function En(e){return e.type===V.plural}function Zo(e){return e.type===V.pound}function xn(e){return e.type===V.tag}function Cn(e){return!!(e&&typeof e=="object"&&e.type===pt.number)}function $i(e){return!!(e&&typeof e=="object"&&e.type===pt.dateTime)}var Pn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Jo=/(?:[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 Ko(e){var t={};return e.replace(Jo,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 el=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function tl(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(el).filter(function(h){return h.length>0}),i=[],r=0,n=t;r<n.length;r++){var a=n[r],o=a.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var l=o[0],u=o.slice(1),s=0,c=u;s<c.length;s++){var f=c[s];if(f.length===0)throw new Error("Invalid number skeleton")}i.push({stem:l,options:u})}return i}function il(e){return e.replace(/^(.*?)-/,"")}var xr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Sn=/^(@+)?(\+|#+)?[rs]?$/g,rl=/(\*)(0+)|(#+)(0+)|(0+)/g,An=/^(0+)$/;function Cr(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Sn,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 Hn(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 nl(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)),!An.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Pr(e){var t={},i=Hn(e);return i||t}function al(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=il(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=D(D(D({},t),{notation:"scientific"}),n.options.reduce(function(u,s){return D(D({},u),Pr(s))},{}));continue;case"engineering":t=D(D(D({},t),{notation:"engineering"}),n.options.reduce(function(u,s){return D(D({},u),Pr(s))},{}));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(rl,function(u,s,c,f,h,v){if(s)t.minimumIntegerDigits=c.length;else{if(f&&h)throw new Error("We currently do not support maximum integer digits");if(v)throw new Error("We currently do not support exact integer digits")}return""});continue}if(An.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(xr.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(xr,function(u,s,c,f,h,v){return c==="*"?t.minimumFractionDigits=s.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:h&&v?(t.minimumFractionDigits=h.length,t.maximumFractionDigits=h.length+v.length):(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length),""});var a=n.options[0];a==="w"?t=D(D({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=D(D({},t),Cr(a)));continue}if(Sn.test(n.stem)){t=D(D({},t),Cr(n.stem));continue}var o=Hn(n.stem);o&&(t=D(D({},t),o));var l=nl(n.stem);l&&(t=D(D({},t),l))}return t}var ci={"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 ol(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 o=1+(a&1),l=a<2?1:3+(a>>1),u="a",s=ll(t);for((s=="H"||s=="k")&&(l=0);l-- >0;)i+=u;for(;o-- >0;)i=s+i}else n==="J"?i+="H":i+=n}return i}function ll(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=ci[r||""]||ci[i||""]||ci["".concat(i,"-001")]||ci["001"];return n[0]}var Ii,sl=new RegExp("^".concat(Pn.source,"*")),ul=new RegExp("".concat(Pn.source,"*$"));function k(e,t){return{start:e,end:t}}var dl=!!String.prototype.startsWith&&"_a".startsWith("a",1),cl=!!String.fromCodePoint,hl=!!Object.fromEntries,fl=!!String.prototype.codePointAt,ml=!!String.prototype.trimStart,pl=!!String.prototype.trimEnd,gl=!!Number.isSafeInteger,bl=gl?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Vi=!0;try{var vl=Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Vi=((Ii=vl.exec("a"))===null||Ii===void 0?void 0:Ii[0])==="a"}catch(e){Vi=!1}var Sr=dl?function(t,i,r){return t.startsWith(i,r)}:function(t,i,r){return t.slice(r,r+i.length)===i},qi=cl?String.fromCodePoint:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var r="",n=t.length,a=0,o;n>a;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");r+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return r},Ar=hl?Object.fromEntries:function(t){for(var i={},r=0,n=t;r<n.length;r++){var a=n[r],o=a[0],l=a[1];i[o]=l}return i},kn=fl?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}},Ll=ml?function(t){return t.trimStart()}:function(t){return t.replace(sl,"")},yl=pl?function(t){return t.trimEnd()}:function(t){return t.replace(ul,"")};function Mn(e,t){return new RegExp(e,t)}var Xi;if(Vi){var Hr=Mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Xi=function(t,i){var r;Hr.lastIndex=i;var n=Hr.exec(t);return(r=n[1])!==null&&r!==void 0?r:""}}else Xi=function(t,i){for(var r=[];;){var n=kn(t,i);if(n===void 0||On(n)||El(n))break;r.push(n),i+=n>=65536?2:1}return qi.apply(void 0,r)};var wl=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 o=this.parseArgument(t,r);if(o.err)return o;n.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(i==="plural"||i==="selectordinal")){var l=this.clonePosition();this.bump(),n.push({type:V.pound,location:k(l,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(A.UNMATCHED_CLOSING_TAG,k(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Yi(this.peek()||0)){var o=this.parseTag(t,i);if(o.err)return o;n.push(o.val)}else{var o=this.parseLiteral(t,i);if(o.err)return o;n.push(o.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:V.literal,value:"<".concat(n,"/>"),location:k(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,i,!0);if(a.err)return a;var o=a.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Yi(this.char()))return this.error(A.INVALID_TAG,k(l,this.clonePosition()));var u=this.clonePosition(),s=this.parseTagName();return n!==s?this.error(A.UNMATCHED_CLOSING_TAG,k(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:V.tag,value:n,children:o,location:k(r,this.clonePosition())},err:null}:this.error(A.INVALID_TAG,k(l,this.clonePosition())))}else return this.error(A.UNCLOSED_TAG,k(r,this.clonePosition()))}else return this.error(A.INVALID_TAG,k(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Tl(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 o=this.tryParseUnquoted(t,i);if(o){n+=o;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var u=k(r,this.clonePosition());return{val:{type:V.literal,value:n,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!_l(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 qi.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(),qi(r))},e.prototype.parseArgument=function(t,i){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,k(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(A.EMPTY_ARGUMENT,k(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(A.MALFORMED_ARGUMENT,k(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,k(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:V.argument,value:n,location:k(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,k(r,this.clonePosition())):this.parseArgumentOptions(t,i,n,r);default:return this.error(A.MALFORMED_ARGUMENT,k(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),r=Xi(this.message,i),n=i+r.length;this.bumpTo(n);var a=this.clonePosition(),o=k(t,a);return{value:r,location:o}},e.prototype.parseArgumentOptions=function(t,i,r,n){var a,o=this.clonePosition(),l=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(l){case"":return this.error(A.EXPECT_ARGUMENT_TYPE,k(o,u));case"number":case"date":case"time":{this.bumpSpace();var s=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var h=yl(f.val);if(h.length===0)return this.error(A.EXPECT_ARGUMENT_STYLE,k(this.clonePosition(),this.clonePosition()));var v=k(c,this.clonePosition());s={style:h,styleLocation:v}}var g=this.tryParseArgumentClose(n);if(g.err)return g;var _=k(n,this.clonePosition());if(s&&Sr(s==null?void 0:s.style,"::",0)){var z=Ll(s.style.slice(2));if(l==="number"){var f=this.parseNumberSkeletonFromString(z,s.styleLocation);return f.err?f:{val:{type:V.number,value:r,location:_,style:f.val},err:null}}else{if(z.length===0)return this.error(A.EXPECT_DATE_TIME_SKELETON,_);var q=z;this.locale&&(q=ol(z,this.locale));var h={type:pt.dateTime,pattern:q,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?Ko(q):{}},F=l==="date"?V.date:V.time;return{val:{type:F,value:r,location:_,style:h},err:null}}}return{val:{type:l==="number"?V.number:l==="date"?V.date:V.time,value:r,location:_,style:(a=s==null?void 0:s.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var C=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS,k(C,D({},C)));this.bumpSpace();var G=this.parseIdentifierIfPossible(),N=0;if(l!=="select"&&G.value==="offset"){if(!this.bumpIf(":"))return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,k(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),G=this.parseIdentifierIfPossible(),N=f.val}var x=this.tryParsePluralOrSelectOptions(t,l,i,G);if(x.err)return x;var g=this.tryParseArgumentClose(n);if(g.err)return g;var X=k(n,this.clonePosition());return l==="select"?{val:{type:V.select,value:r,options:Ar(x.val),location:X},err:null}:{val:{type:V.plural,value:r,options:Ar(x.val),offset:N,pluralType:l==="plural"?"cardinal":"ordinal",location:X},err:null}}default:return this.error(A.INVALID_ARGUMENT_TYPE,k(o,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,k(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(A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,k(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=tl(t)}catch(n){return this.error(A.INVALID_NUMBER_SKELETON,i)}return{val:{type:pt.number,tokens:r,location:i,parsedOptions:this.shouldParseSkeletons?al(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,i,r,n){for(var a,o=!1,l=[],u=new Set,s=n.value,c=n.location;;){if(s.length===0){var f=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR,A.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=k(f,this.clonePosition()),s=this.message.slice(f.offset,this.offset())}else break}if(u.has(s))return this.error(i==="select"?A.DUPLICATE_SELECT_ARGUMENT_SELECTOR:A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);s==="other"&&(o=!0),this.bumpSpace();var v=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,k(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,i,r);if(g.err)return g;var _=this.tryParseArgumentClose(v);if(_.err)return _;l.push([s,{value:g.val,location:k(v,this.clonePosition())}]),u.add(s),this.bumpSpace(),a=this.parseIdentifierIfPossible(),s=a.value,c=a.location}return l.length===0?this.error(i==="select"?A.EXPECT_SELECT_ARGUMENT_SELECTOR:A.EXPECT_PLURAL_ARGUMENT_SELECTOR,k(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(A.MISSING_OTHER_CLAUSE,k(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,o=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)a=!0,o=o*10+(l-48),this.bump();else break}var u=k(n,this.clonePosition());return a?(o*=r,bl(o)?{val:o,err:null}:this.error(i,u)):this.error(t,u)},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=kn(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(Sr(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()&&On(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 Yi(e){return e>=97&&e<=122||e>=65&&e<=90}function _l(e){return Yi(e)||e===47}function Tl(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 On(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function El(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 Qi(e){e.forEach(function(t){if(delete t.location,Tn(t)||En(t))for(var i in t.options)delete t.options[i].location,Qi(t.options[i].value);else yn(t)&&Cn(t.style)||(wn(t)||_n(t))&&$i(t.style)?delete t.style.location:xn(t)&&Qi(t.children)})}function xl(e,t){t===void 0&&(t={}),t=D({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new wl(e,t).parse();if(i.err){var r=SyntaxError(A[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return t!=null&&t.captureLocation||Qi(i.val),i.val}var gt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(gt||(gt={}));var Ti=function(e){_i(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),kr=function(e){_i(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('", "'),'"'),gt.INVALID_VALUE,a)||this}return t}(Ti),Cl=function(e){_i(t,e);function t(i,r,n){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(r),gt.INVALID_VALUE,n)||this}return t}(Ti),Pl=function(e){_i(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,'"'),gt.MISSING_VALUE,r)||this}return t}(Ti),re;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(re||(re={}));function Sl(e){return e.length<2?e:e.reduce(function(t,i){var r=t[t.length-1];return!r||r.type!==re.literal||i.type!==re.literal?t.push(i):r.value+=i.value,t},[])}function Al(e){return typeof e=="function"}function fi(e,t,i,r,n,a,o){if(e.length===1&&Er(e[0]))return[{type:re.literal,value:e[0].value}];for(var l=[],u=0,s=e;u<s.length;u++){var c=s[u];if(Er(c)){l.push({type:re.literal,value:c.value});continue}if(Zo(c)){typeof a=="number"&&l.push({type:re.literal,value:i.getNumberFormat(t).format(a)});continue}var f=c.value;if(!(n&&f in n))throw new Pl(f,o);var h=n[f];if(Qo(c)){(!h||typeof h=="string"||typeof h=="number")&&(h=typeof h=="string"||typeof h=="number"?String(h):""),l.push({type:typeof h=="string"?re.literal:re.object,value:h});continue}if(wn(c)){var v=typeof c.style=="string"?r.date[c.style]:$i(c.style)?c.style.parsedOptions:void 0;l.push({type:re.literal,value:i.getDateTimeFormat(t,v).format(h)});continue}if(_n(c)){var v=typeof c.style=="string"?r.time[c.style]:$i(c.style)?c.style.parsedOptions:r.time.medium;l.push({type:re.literal,value:i.getDateTimeFormat(t,v).format(h)});continue}if(yn(c)){var v=typeof c.style=="string"?r.number[c.style]:Cn(c.style)?c.style.parsedOptions:void 0;v&&v.scale&&(h=h*(v.scale||1)),l.push({type:re.literal,value:i.getNumberFormat(t,v).format(h)});continue}if(xn(c)){var g=c.children,_=c.value,z=n[_];if(!Al(z))throw new Cl(_,"function",o);var q=fi(g,t,i,r,n,a),F=z(q.map(function(N){return N.value}));Array.isArray(F)||(F=[F]),l.push.apply(l,F.map(function(N){return{type:typeof N=="string"?re.literal:re.object,value:N}}))}if(Tn(c)){var C=c.options[h]||c.options.other;if(!C)throw new kr(c.value,h,Object.keys(c.options),o);l.push.apply(l,fi(C.value,t,i,r,n));continue}if(En(c)){var C=c.options["=".concat(h)];if(!C){if(!Intl.PluralRules)throw new Ti(`Intl.PluralRules is not available in this environment.
|
|
15
|
-
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
16
|
-
`,gt.MISSING_INTL_API,o);var G=i.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0));C=c.options[G]||c.options.other}if(!C)throw new kr(c.value,h,Object.keys(c.options),o);l.push.apply(l,fi(C.value,t,i,r,n,h-(c.offset||0)));continue}}return Sl(l)}function Hl(e,t){return t?D(D(D({},e||{}),t||{}),Object.keys(e).reduce(function(i,r){return i[r]=D(D({},e[r]),t[r]||{}),i},{})):e}function kl(e,t){return t?Object.keys(e).reduce(function(i,r){return i[r]=Hl(e[r],t[r]),i},D({},e)):e}function ji(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function Ml(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Ri(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,Ui([void 0],i,!1)))},{cache:ji(e.number),strategy:Ni.variadic}),getDateTimeFormat:Ri(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,Ui([void 0],i,!1)))},{cache:ji(e.dateTime),strategy:Ni.variadic}),getPluralRules:Ri(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,Ui([void 0],i,!1)))},{cache:ji(e.pluralRules),strategy:Ni.variadic})}}var Ol=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(u){var s=a.formatToParts(u);if(s.length===1)return s[0].value;var c=s.reduce(function(f,h){return!f.length||h.type!==re.literal||typeof f[f.length-1]!="string"?f.push(h.value):f[f.length-1]+=h.value,f},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(u){return fi(a.ast,a.locales,a.formatters,a.formats,u,void 0,a.message)},this.resolvedOptions=function(){var u;return{locale:((u=a.resolvedLocale)===null||u===void 0?void 0:u.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 o=n||{};o.formatters;var l=Wo(o,["formatters"]);this.ast=e.__parse(t,D(D({},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=kl(e.formats,r),this.formatters=n&&n.formatters||Ml(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=xl,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 Dl(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 Re={},Bl=(e,t,i)=>i&&(t in Re||(Re[t]={}),e in Re[t]||(Re[t][e]=i),i),Dn=(e,t)=>{if(t==null)return;if(t in Re&&e in Re[t])return Re[t][e];const i=Ei(t);for(let r=0;r<i.length;r++){const n=i[r],a=Rl(n,e);if(a)return Bl(e,t,a)}};let ir;const Vt=wi({});function Ul(e){return ir[e]||null}function Bn(e){return e in ir}function Rl(e,t){if(!Bn(e))return null;const i=Ul(e);return Dl(i,t)}function Nl(e){if(e==null)return;const t=Ei(e);for(let i=0;i<t.length;i++){const r=t[i];if(Bn(r))return r}}function Un(e,...t){delete Re[e],Vt.update(i=>(i[e]=Go.all([i[e]||{},...t]),i))}Lt([Vt],([e])=>Object.keys(e));Vt.subscribe(e=>ir=e);const mi={};function Il(e,t){mi[e].delete(t),mi[e].size===0&&delete mi[e]}function Rn(e){return mi[e]}function jl(e){return Ei(e).map(t=>{const i=Rn(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function Zi(e){return e==null?!1:Ei(e).some(t=>{var i;return(i=Rn(t))==null?void 0:i.size})}function Fl(e,t){return Promise.all(t.map(r=>(Il(e,r),r().then(n=>n.default||n)))).then(r=>Un(e,...r))}const jt={};function Nn(e){if(!Zi(e))return e in jt?jt[e]:Promise.resolve();const t=jl(e);return jt[e]=Promise.all(t.map(([i,r])=>Fl(i,r))).then(()=>{if(Zi(e))return Nn(e);delete jt[e]}),jt[e]}const Gl={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"}}},Wl={fallbackLocale:null,loadingDelay:200,formats:Gl,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},zl=Wl;function bt(){return zl}const Fi=wi(!1);var $l=Object.defineProperty,Vl=Object.defineProperties,ql=Object.getOwnPropertyDescriptors,Mr=Object.getOwnPropertySymbols,Xl=Object.prototype.hasOwnProperty,Yl=Object.prototype.propertyIsEnumerable,Or=(e,t,i)=>t in e?$l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Ql=(e,t)=>{for(var i in t||(t={}))Xl.call(t,i)&&Or(e,i,t[i]);if(Mr)for(var i of Mr(t))Yl.call(t,i)&&Or(e,i,t[i]);return e},Zl=(e,t)=>Vl(e,ql(t));let Ji;const vi=wi(null);function Dr(e){return e.split("-").map((t,i,r)=>r.slice(0,i+1).join("-")).reverse()}function Ei(e,t=bt().fallbackLocale){const i=Dr(e);return t?[...new Set([...i,...Dr(t)])]:i}function $e(){return Ji!=null?Ji:void 0}vi.subscribe(e=>{Ji=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Jl=e=>{if(e&&Nl(e)&&Zi(e)){const{loadingDelay:t}=bt();let i;return typeof window!="undefined"&&$e()!=null&&t?i=window.setTimeout(()=>Fi.set(!0),t):Fi.set(!0),Nn(e).then(()=>{vi.set(e)}).finally(()=>{clearTimeout(i),Fi.set(!1)})}return vi.set(e)},yt=Zl(Ql({},vi),{set:Jl}),xi=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var Kl=Object.defineProperty,Li=Object.getOwnPropertySymbols,In=Object.prototype.hasOwnProperty,jn=Object.prototype.propertyIsEnumerable,Br=(e,t,i)=>t in e?Kl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,rr=(e,t)=>{for(var i in t||(t={}))In.call(t,i)&&Br(e,i,t[i]);if(Li)for(var i of Li(t))jn.call(t,i)&&Br(e,i,t[i]);return e},wt=(e,t)=>{var i={};for(var r in e)In.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&Li)for(var r of Li(e))t.indexOf(r)<0&&jn.call(e,r)&&(i[r]=e[r]);return i};const $t=(e,t)=>{const{formats:i}=bt();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},es=xi(e=>{var t=e,{locale:i,format:r}=t,n=wt(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=$t("number",r)),new Intl.NumberFormat(i,n)}),ts=xi(e=>{var t=e,{locale:i,format:r}=t,n=wt(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=$t("date",r):Object.keys(n).length===0&&(n=$t("date","short")),new Intl.DateTimeFormat(i,n)}),is=xi(e=>{var t=e,{locale:i,format:r}=t,n=wt(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=$t("time",r):Object.keys(n).length===0&&(n=$t("time","short")),new Intl.DateTimeFormat(i,n)}),rs=(e={})=>{var t=e,{locale:i=$e()}=t,r=wt(t,["locale"]);return es(rr({locale:i},r))},ns=(e={})=>{var t=e,{locale:i=$e()}=t,r=wt(t,["locale"]);return ts(rr({locale:i},r))},as=(e={})=>{var t=e,{locale:i=$e()}=t,r=wt(t,["locale"]);return is(rr({locale:i},r))},os=xi((e,t=$e())=>new Ol(e,t,bt().formats,{ignoreTag:bt().ignoreTag})),ls=(e,t={})=>{var i,r,n,a;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:l,locale:u=$e(),default:s}=o;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Dn(e,u);if(!c)c=(a=(n=(r=(i=bt()).handleMissingMessage)==null?void 0:r.call(i,{locale:u,id:e,defaultValue:s}))!=null?n:s)!=null?a:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!l)return c;let f=c;try{f=os(c,u).format(l)}catch(h){h instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,h.message)}return f},ss=(e,t)=>as(t).format(e),us=(e,t)=>ns(t).format(e),ds=(e,t)=>rs(t).format(e),cs=(e,t=$e())=>Dn(e,t),hs=Lt([yt,Vt],()=>ls);Lt([yt],()=>ss);Lt([yt],()=>us);Lt([yt],()=>ds);Lt([yt,Vt],()=>cs);function Ur(e,t){Un(e,t)}function fs(e){yt.set(e)}const Rr={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 ms(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function ps(e,t){if(!e||!t)return;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 gs(e,t,i){if(window.emMessageBus){const r=document.createElement("style");window.emMessageBus.subscribe(t,n=>{r.innerHTML=n,e&&e.appendChild(r)})}}const bs=`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 386 193" fill="none">
|
|
17
|
-
<path d="M4 193a189 189 0 0 1 379 0" stroke="url(#a)" stroke-width="6" stroke-dasharray="2 2"/>
|
|
18
|
-
<path d="M49 193a144 144 0 1 1 288 0" stroke="#C4C4C4" stroke-width="30" stroke-dasharray="2 2"/>
|
|
19
|
-
<defs><linearGradient id="a" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%"/><stop offset="100%" stop-opacity=".2"/></linearGradient></defs>
|
|
20
|
-
</svg>`,vs=`<svg width="13" height="28" viewBox="0 0 13 28" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
21
|
-
<path d="M13 14L0.250001 27.8564L0.250002 0.143593L13 14Z"/>
|
|
22
|
-
</svg>
|
|
23
|
-
`,Ft=`<svelte:options tag={'caret-right'} />
|
|
24
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="12" width="6" viewBox="0 0 256 512">
|
|
25
|
-
<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"/>
|
|
26
|
-
</svg>
|
|
27
|
-
`,Ls=`<svg width="18" viewBox="0 0 25 26" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
28
|
-
<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"/>
|
|
29
|
-
</svg>
|
|
30
|
-
`,ys=`<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>
|
|
31
|
-
`,ws=`<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>
|
|
32
|
-
`,_s=`<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>
|
|
33
|
-
`,Fn=`<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>
|
|
34
|
-
`;function Ts(e){Qn(e,"svelte-1aihsl3",'*,*::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, 10px);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 Nr(e,t,i){const r=e.slice();return r[85]=t[i],r}function Ir(e,t,i){const r=e.slice();return r[85]=t[i],r}function jr(e,t,i){const r=e.slice();return r[85]=t[i],r}function Fr(e,t,i){const r=e.slice();return r[92]=t[i],r}function Es(e,t,i){const r=e.slice();return r[78]=t[i],r}function Gr(e,t,i){const r=e.slice();return r[78]=t[i],r}function xs(e,t,i){const r=e.slice();return r[78]=t[i],r}function Cs(e){let t,i;function r(o,l){return o[8]?Hs:o[20]?As:Ss}let n=r(e),a=n(e);return{c(){t=b("div"),i=b("div"),a.c(),p(i,"class","LimitsWrapper"),p(t,"class","LimitsContainer")},m(o,l){M(o,t,l),d(t,i),a.m(i,null),e[58](t)},p(o,l){n===(n=r(o))&&a?a.p(o,l):(a.d(1),a=n(o),a&&(a.c(),a.m(i,null)))},d(o){o&&H(t),a.d(),e[58](null)}}}function Ps(e){let t,i,r,n,a,o,l,u,s,c,f,h,v,g,_,z,q,F=Le(Array(4)),C=[];for(let x=0;x<F.length;x+=1)C[x]=un(Gr(e,F,x));let G=Le(Array(3)),N=[];for(let x=0;x<G.length;x+=1)N[x]=Ds(Es(e,G,x));return{c(){t=b("div"),i=b("div"),r=b("div"),n=b("div"),n.innerHTML='<ui-skeleton structure="title" width="20px" height="25px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="25px"></ui-skeleton>',a=w(),o=b("div"),o.innerHTML='<ui-skeleton structure="rectangle" width="100%" height="63px" margin-bottom="20px"></ui-skeleton>',l=w(),u=b("div");for(let x=0;x<C.length;x+=1)C[x].c();s=w(),c=b("div"),c.innerHTML='<div class="Row"><div class="Col"><ui-skeleton structure="text" width="50%" height="15px"></ui-skeleton></div></div>',f=w(),h=b("div"),v=b("div");for(let x=0;x<N.length;x+=1)N[x].c();g=w(),_=b("div"),_.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>',z=w(),q=b("div"),q.innerHTML='<ui-skeleton structure="image" width="100%" height="177px"></ui-skeleton>',p(n,"class","LimitTypeHeader"),p(o,"class","ProductSelector"),p(c,"class","UsefulLinksSection"),p(u,"class","DetailsContainer"),p(r,"class","ContentLeft"),p(_,"class","ControlContainer"),p(v,"class","WidgetControls"),p(q,"class","Gauge"),p(h,"class","ContentRight"),p(i,"class","LimitsWrapper"),p(t,"class","LimitsContainer")},m(x,X){M(x,t,X),d(t,i),d(i,r),d(r,n),d(r,a),d(r,o),d(r,l),d(r,u);for(let O=0;O<C.length;O+=1)C[O]&&C[O].m(u,null);d(u,s),d(u,c),d(i,f),d(i,h),d(h,v);for(let O=0;O<N.length;O+=1)N[O]&&N[O].m(v,null);d(v,g),d(v,_),d(h,z),d(h,q)},p(x,X){if(X&0){F=Le(Array(4));let O;for(O=0;O<F.length;O+=1){const pe=Gr(x,F,O);C[O]?C[O].p(pe,X):(C[O]=un(pe),C[O].c(),C[O].m(u,s))}for(;O<C.length;O+=1)C[O].d(1);C.length=F.length}},d(x){x&&H(t),We(C,x),We(N,x)}}}function Ss(e){let t,i,r,n=e[25](e[16])+"",a,o,l,u,s,c=e[17]==="All"?`${e[17]} ${e[21]("walletsLabel")}`:`${e[17]} ${e[21]("walletLabel")}`,f,h,v,g=e[30](e[10].totalAmount)+"",_,z,q,F=e[10].limitCurrency+"",C,G,N,x,X,O,pe,Y,U,I,Q=e[21]("spentAmount")+"",Te,Ie,W,$,ge,Z=e[30](e[10].spentAmount)+"",ae,be,ye=e[10].limitCurrency+"",Ve,_t,Ae,qe,Ee=e[21]("remainingAmount")+"",Tt,Xe,we,He,Et,xe=e[30](e[10].remainingAmount)+"",xt,qt,je=e[10].limitCurrency+"",Ct,Xt,Pt,ke,Fe,Ye=e[21]("startLabel")+"",St,At,Me,Qe,Yt,Ze=e[24](e[10].from)+"",Je,Ht,Ce,Oe,Ke=e[21]("resetLabel")+"",kt,Qt,De,et,Zt,tt=e[24](e[10].to)+"",Mt,Jt,Ot,Dt,m,y,T,B,j,Pe,Se,J,Kt,nr,Bt,ar,Be,ei=e[30](e[10].spentAmount)+"",Ci,or,ti=e[10].limitCurrency+"",Pi,ii,lr,Si,sr,Ut,ur,it,rt,ri,dr,ni,ai=e[10].limitCurrency+"",Ai,cr,nt,oi,li=e[30](e[10].totalAmount)+"",Hi,hr,si,ui=e[10].limitCurrency+"",ki,oe=e[18].length>1&&Wr(e),at=Le(e[18]),ie=[];for(let L=0;L<at.length;L+=1)ie[L]=zr(Fr(e,at,L));let le=e[10].formattedSchedule.isUpdated===!0&&$r(e),se=(e[10].formattedSchedule.isRemoved===!0||e[10].formattedSchedule.isUpdated===!0)&&Vr(e),ue=e[0]==="admin"&&Yr(e),de=e[11].length>0&&Qr(e),ce=e[12].length>0&&Jr(e),he=e[13].length>0&&en(e),fe=e[13].length>0&&e[0]==="admin"&&e[10]&&rn(e);return{c(){t=b("div"),i=b("h2"),r=new ta(!1),a=E(n),o=w(),l=b("div"),u=b("div"),s=b("span"),f=E(c),h=w(),v=b("span"),_=E(g),z=w(),q=b("span"),C=E(F),N=w(),oe&&oe.c(),x=w(),X=b("div");for(let L=0;L<ie.length;L+=1)ie[L].c();pe=w(),Y=b("div"),U=b("div"),I=b("div"),Te=E(Q),Ie=w(),W=b("div"),$=b("span"),ge=w(),ae=E(Z),be=w(),Ve=E(ye),_t=w(),Ae=b("div"),qe=b("div"),Tt=E(Ee),Xe=w(),we=b("div"),He=b("span"),Et=w(),xt=E(xe),qt=w(),Ct=E(je),Xt=w(),le&&le.c(),Pt=w(),ke=b("div"),Fe=b("div"),St=E(Ye),At=w(),Me=b("div"),Qe=b("span"),Yt=w(),Je=E(Ze),Ht=w(),Ce=b("div"),Oe=b("div"),kt=E(Ke),Qt=w(),De=b("div"),et=b("span"),Zt=w(),Mt=E(tt),Jt=w(),se&&se.c(),Ot=w(),ue&&ue.c(),Dt=w(),m=b("div"),y=b("div"),de&&de.c(),T=w(),ce&&ce.c(),B=w(),he&&he.c(),j=w(),fe&&fe.c(),Pe=w(),Se=b("div"),J=b("div"),Kt=b("div"),nr=w(),Bt=b("div"),ar=w(),Be=b("div"),Ci=E(ei),or=w(),Pi=E(ti),lr=w(),Si=b("div"),sr=w(),Ut=b("div"),ur=w(),it=b("div"),rt=b("div"),ri=b("strong"),ri.textContent="0",dr=w(),ni=b("span"),Ai=E(ai),cr=w(),nt=b("div"),oi=b("strong"),Hi=E(li),hr=w(),si=b("span"),ki=E(ui),r.a=a,p(i,"class","LimitTypeHeader"),p(s,"class","SelectedProduct"),p(q,"class","Currency"),p(v,"class","TotalAmount"),p(v,"title",G=`${e[30](e[10].totalAmount)} ${e[10].limitCurrency}`),p(u,"class","DisplayContainer"),p(X,"class",O="ProductsDropdown "+(e[9]?"Show":"")),p(l,"class","ProductSelector"),p(I,"class","Col"),p($,"class","CaretRight"),p(W,"class","Col"),p(U,"class","Row"),p(qe,"class","Col"),p(He,"class","CaretRight"),p(we,"class","Col"),p(Ae,"class","Row"),p(Fe,"class","Col"),p(Qe,"class","CaretRight"),p(Me,"class","Col"),p(ke,"class","Row"),p(Oe,"class","Col"),p(et,"class","CaretRight"),p(De,"class","Col"),p(Ce,"class","Row"),p(Y,"class","DetailsContainer Entries"),p(t,"class","ContentLeft"),p(y,"class","WidgetControls"),p(Kt,"class","Archbg"),p(Bt,"class","GaugeFill"),di(Bt,"--p",e[19]+"deg"),p(Be,"class","GaugeCover"),p(Be,"title",ii=`${e[30](e[10].spentAmount)} ${e[10].limitCurrency}`),p(Si,"class","GaugeNeedleCover"),p(Ut,"class","GaugeNeedle"),di(Ut,"--transform-needle-value","rotate("+(e[19]-90)+"deg)"),p(J,"class","GaugeBody"),p(ri,"class","MinContent"),p(ni,"class","MinContentCurrency"),p(rt,"class","Min"),p(oi,"class","MaxContent"),p(si,"class","MaxContentCurrency"),p(nt,"class","Max"),p(it,"class","MinMaxContainer"),p(Se,"class","Gauge"),p(m,"class","ContentRight")},m(L,P){M(L,t,P),d(t,i),r.m(Ls,i),d(i,a),d(t,o),d(t,l),d(l,u),d(u,s),d(s,f),d(u,h),d(u,v),d(v,_),d(v,z),d(v,q),d(q,C),d(u,N),oe&&oe.m(u,null),d(l,x),d(l,X);for(let ee=0;ee<ie.length;ee+=1)ie[ee]&&ie[ee].m(X,null);d(t,pe),d(t,Y),d(Y,U),d(U,I),d(I,Te),d(U,Ie),d(U,W),d(W,$),$.innerHTML=Ft,d(W,ge),d(W,ae),d(W,be),d(W,Ve),d(Y,_t),d(Y,Ae),d(Ae,qe),d(qe,Tt),d(Ae,Xe),d(Ae,we),d(we,He),He.innerHTML=Ft,d(we,Et),d(we,xt),d(we,qt),d(we,Ct),d(Y,Xt),le&&le.m(Y,null),d(Y,Pt),d(Y,ke),d(ke,Fe),d(Fe,St),d(ke,At),d(ke,Me),d(Me,Qe),Qe.innerHTML=Ft,d(Me,Yt),d(Me,Je),d(Y,Ht),d(Y,Ce),d(Ce,Oe),d(Oe,kt),d(Ce,Qt),d(Ce,De),d(De,et),et.innerHTML=Ft,d(De,Zt),d(De,Mt),d(t,Jt),se&&se.m(t,null),d(t,Ot),ue&&ue.m(t,null),M(L,Dt,P),M(L,m,P),d(m,y),de&&de.m(y,null),d(y,T),ce&&ce.m(y,null),d(y,B),he&&he.m(y,null),d(y,j),fe&&fe.m(y,null),d(m,Pe),d(m,Se),d(Se,J),d(J,Kt),Kt.innerHTML=bs,d(J,nr),d(J,Bt),d(J,ar),d(J,Be),d(Be,Ci),d(Be,or),d(Be,Pi),d(J,lr),d(J,Si),d(J,sr),d(J,Ut),d(Se,ur),d(Se,it),d(it,rt),d(rt,ri),d(rt,dr),d(rt,ni),d(ni,Ai),d(it,cr),d(it,nt),d(nt,oi),d(oi,Hi),d(nt,hr),d(nt,si),d(si,ki)},p(L,P){if(P[0]&65536&&n!==(n=L[25](L[16])+"")&&S(a,n),P[0]&2228224&&c!==(c=L[17]==="All"?`${L[17]} ${L[21]("walletsLabel")}`:`${L[17]} ${L[21]("walletLabel")}`)&&S(f,c),P[0]&1024&&g!==(g=L[30](L[10].totalAmount)+"")&&S(_,g),P[0]&1024&&F!==(F=L[10].limitCurrency+"")&&S(C,F),P[0]&1024&&G!==(G=`${L[30](L[10].totalAmount)} ${L[10].limitCurrency}`)&&p(v,"title",G),L[18].length>1?oe?oe.p(L,P):(oe=Wr(L),oe.c(),oe.m(u,null)):oe&&(oe.d(1),oe=null),P[0]&270794752){at=Le(L[18]);let ee;for(ee=0;ee<at.length;ee+=1){const fr=Fr(L,at,ee);ie[ee]?ie[ee].p(fr,P):(ie[ee]=zr(fr),ie[ee].c(),ie[ee].m(X,null))}for(;ee<ie.length;ee+=1)ie[ee].d(1);ie.length=at.length}P[0]&512&&O!==(O="ProductsDropdown "+(L[9]?"Show":""))&&p(X,"class",O),P[0]&2097152&&Q!==(Q=L[21]("spentAmount")+"")&&S(Te,Q),P[0]&1024&&Z!==(Z=L[30](L[10].spentAmount)+"")&&S(ae,Z),P[0]&1024&&ye!==(ye=L[10].limitCurrency+"")&&S(Ve,ye),P[0]&2097152&&Ee!==(Ee=L[21]("remainingAmount")+"")&&S(Tt,Ee),P[0]&1024&&xe!==(xe=L[30](L[10].remainingAmount)+"")&&S(xt,xe),P[0]&1024&&je!==(je=L[10].limitCurrency+"")&&S(Ct,je),L[10].formattedSchedule.isUpdated===!0?le?le.p(L,P):(le=$r(L),le.c(),le.m(Y,Pt)):le&&(le.d(1),le=null),P[0]&2097152&&Ye!==(Ye=L[21]("startLabel")+"")&&S(St,Ye),P[0]&1024&&Ze!==(Ze=L[24](L[10].from)+"")&&S(Je,Ze),P[0]&2097152&&Ke!==(Ke=L[21]("resetLabel")+"")&&S(kt,Ke),P[0]&1024&&tt!==(tt=L[24](L[10].to)+"")&&S(Mt,tt),L[10].formattedSchedule.isRemoved===!0||L[10].formattedSchedule.isUpdated===!0?se?se.p(L,P):(se=Vr(L),se.c(),se.m(t,Ot)):se&&(se.d(1),se=null),L[0]==="admin"?ue?ue.p(L,P):(ue=Yr(L),ue.c(),ue.m(t,null)):ue&&(ue.d(1),ue=null),L[11].length>0?de?de.p(L,P):(de=Qr(L),de.c(),de.m(y,T)):de&&(de.d(1),de=null),L[12].length>0?ce?ce.p(L,P):(ce=Jr(L),ce.c(),ce.m(y,B)):ce&&(ce.d(1),ce=null),L[13].length>0?he?he.p(L,P):(he=en(L),he.c(),he.m(y,j)):he&&(he.d(1),he=null),L[13].length>0&&L[0]==="admin"&&L[10]?fe?fe.p(L,P):(fe=rn(L),fe.c(),fe.m(y,null)):fe&&(fe.d(1),fe=null),P[0]&524288&&di(Bt,"--p",L[19]+"deg"),P[0]&1024&&ei!==(ei=L[30](L[10].spentAmount)+"")&&S(Ci,ei),P[0]&1024&&ti!==(ti=L[10].limitCurrency+"")&&S(Pi,ti),P[0]&1024&&ii!==(ii=`${L[30](L[10].spentAmount)} ${L[10].limitCurrency}`)&&p(Be,"title",ii),P[0]&524288&&di(Ut,"--transform-needle-value","rotate("+(L[19]-90)+"deg)"),P[0]&1024&&ai!==(ai=L[10].limitCurrency+"")&&S(Ai,ai),P[0]&1024&&li!==(li=L[30](L[10].totalAmount)+"")&&S(Hi,li),P[0]&1024&&ui!==(ui=L[10].limitCurrency+"")&&S(ki,ui)},d(L){L&&(H(t),H(Dt),H(m)),oe&&oe.d(),We(ie,L),le&&le.d(),se&&se.d(),ue&&ue.d(),de&&de.d(),ce&&ce.d(),he&&he.d(),fe&&fe.d()}}}function As(e){let t,i,r;return{c(){t=b("div"),i=b("strong"),r=E(e[20]),p(i,"class","ErrorMessage"),p(t,"class","ContainerCenter")},m(n,a){M(n,t,a),d(t,i),d(i,r)},p(n,a){a[0]&1048576&&S(r,n[20])},d(n){n&&H(t)}}}function Hs(e){let t,i,r=e[21]("noLimitToDisplay")+"",n,a,o=e[3]==="true"&&sn(e);return{c(){t=b("div"),i=b("p"),n=E(r),a=w(),o&&o.c(),p(t,"class","ContainerCenter")},m(l,u){M(l,t,u),d(t,i),d(i,n),d(t,a),o&&o.m(t,null)},p(l,u){u[0]&2097152&&r!==(r=l[21]("noLimitToDisplay")+"")&&S(n,r),l[3]==="true"?o?o.p(l,u):(o=sn(l),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(l){l&&H(t),o&&o.d()}}}function Wr(e){let t,i,r,n;return{c(){t=b("button"),p(t,"class",i="DropdownToggle "+(e[9]?"Active":""))},m(a,o){M(a,t,o),t.innerHTML=vs,r||(n=ve(t,"click",vt(e[49])),r=!0)},p(a,o){o[0]&512&&i!==(i="DropdownToggle "+(a[9]?"Active":""))&&p(t,"class",i)},d(a){a&&H(t),r=!1,n()}}}function zr(e){let t,i=e[92]==="All"?`${e[92]} ${e[21]("walletsLabel")}`:`${e[92]} ${e[21]("walletLabel")}`,r,n,a,o;function l(){return e[50](e[92])}return{c(){t=b("button"),r=E(i),n=w()},m(u,s){M(u,t,s),d(t,r),d(t,n),a||(o=ve(t,"click",l),a=!0)},p(u,s){e=u,s[0]&2359296&&i!==(i=e[92]==="All"?`${e[92]} ${e[21]("walletsLabel")}`:`${e[92]} ${e[21]("walletLabel")}`)&&S(r,i)},d(u){u&&H(t),a=!1,o()}}}function $r(e){let t,i,r=e[21]("futureAmount")+"",n,a,o,l,u,s=e[30](e[10].formattedSchedule.updateAmount)+"",c,f,h=e[10].limitCurrency+"",v;return{c(){t=b("div"),i=b("div"),n=E(r),a=w(),o=b("div"),l=b("span"),u=w(),c=E(s),f=w(),v=E(h),p(i,"class","Col"),p(l,"class","CaretRight"),p(o,"class","Col"),p(t,"class","Row")},m(g,_){M(g,t,_),d(t,i),d(i,n),d(t,a),d(t,o),d(o,l),l.innerHTML=Ft,d(o,u),d(o,c),d(o,f),d(o,v)},p(g,_){_[0]&2097152&&r!==(r=g[21]("futureAmount")+"")&&S(n,r),_[0]&1024&&s!==(s=g[30](g[10].formattedSchedule.updateAmount)+"")&&S(c,s),_[0]&1024&&h!==(h=g[10].limitCurrency+"")&&S(v,h)},d(g){g&&H(t)}}}function Vr(e){let t,i,r=e[10].formattedSchedule.isRemoved===!0&&qr(e),n=e[10].formattedSchedule.isUpdated===!0&&Xr(e);return{c(){t=b("div"),r&&r.c(),i=w(),n&&n.c(),p(t,"class","ExtraInfoContainer")},m(a,o){M(a,t,o),r&&r.m(t,null),d(t,i),n&&n.m(t,null)},p(a,o){a[10].formattedSchedule.isRemoved===!0?r?r.p(a,o):(r=qr(a),r.c(),r.m(t,i)):r&&(r.d(1),r=null),a[10].formattedSchedule.isUpdated===!0?n?n.p(a,o):(n=Xr(a),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},d(a){a&&H(t),r&&r.d(),n&&n.d()}}}function qr(e){let t,i=e[21]("limitRemoved")+"",r,n,a=e[10].formattedSchedule.expiresString+"",o;return{c(){t=b("span"),r=E(i),n=E(": "),o=E(a)},m(l,u){M(l,t,u),d(t,r),d(t,n),d(t,o)},p(l,u){u[0]&2097152&&i!==(i=l[21]("limitRemoved")+"")&&S(r,i),u[0]&1024&&a!==(a=l[10].formattedSchedule.expiresString+"")&&S(o,a)},d(l){l&&H(t)}}}function Xr(e){let t,i=e[21]("limitUpdated")+"",r,n,a=e[10].formattedSchedule.expiresString+"",o;return{c(){t=b("span"),r=E(i),n=E(": "),o=E(a)},m(l,u){M(l,t,u),d(t,r),d(t,n),d(t,o)},p(l,u){u[0]&2097152&&i!==(i=l[21]("limitUpdated")+"")&&S(r,i),u[0]&1024&&a!==(a=l[10].formattedSchedule.expiresString+"")&&S(o,a)},d(l){l&&H(t)}}}function Yr(e){let t;function i(a,o){if(a[1])return Ms;if(a[2])return ks}let r=i(e),n=r&&r(e);return{c(){t=b("div"),n&&n.c(),p(t,"class","UsefulLinksSection")},m(a,o){M(a,t,o),n&&n.m(t,null)},p(a,o){r===(r=i(a))&&n?n.p(a,o):(n&&n.d(1),n=r&&r(a),n&&(n.c(),n.m(t,null)))},d(a){a&&H(t),n&&n.d()}}}function ks(e){let t,i=e[21]("additionalLink2")+"",r;return{c(){t=b("a"),r=E(i),p(t,"href",e[31]()),p(t,"target","_blank")},m(n,a){M(n,t,a),d(t,r)},p(n,a){a[0]&2097152&&i!==(i=n[21]("additionalLink2")+"")&&S(r,i)},d(n){n&&H(t)}}}function Ms(e){let t,i=e[21]("additionalLink1")+"",r;return{c(){t=b("a"),r=E(i),p(t,"href",e[1]),p(t,"target","_blank")},m(n,a){M(n,t,a),d(t,r)},p(n,a){a[0]&2097152&&i!==(i=n[21]("additionalLink1")+"")&&S(r,i),a[0]&2&&p(t,"href",n[1])},d(n){n&&H(t)}}}function Qr(e){let t,i,r=e[21]("limitWalletTypeLabel")+"",n,a,o,l,u,s,c=Le(e[11]),f=[];for(let h=0;h<c.length;h+=1)f[h]=Zr(jr(e,c,h));return{c(){t=b("div"),i=b("label"),n=E(r),a=E(":"),o=w(),l=b("select");for(let h=0;h<f.length;h+=1)f[h].c();p(i,"for","LimitPeriod"),p(l,"id","WalletType"),e[14]===void 0&&ft(()=>e[51].call(l)),p(t,"class","ControlContainer")},m(h,v){M(h,t,v),d(t,i),d(i,n),d(i,a),d(t,o),d(t,l);for(let g=0;g<f.length;g+=1)f[g]&&f[g].m(l,null);ht(l,e[14],!0),u||(s=[ve(l,"change",e[51]),ve(l,"change",e[27])],u=!0)},p(h,v){if(v[0]&2097152&&r!==(r=h[21]("limitWalletTypeLabel")+"")&&S(n,r),v[0]&4196352){c=Le(h[11]);let g;for(g=0;g<c.length;g+=1){const _=jr(h,c,g);f[g]?f[g].p(_,v):(f[g]=Zr(_),f[g].c(),f[g].m(l,null))}for(;g<f.length;g+=1)f[g].d(1);f.length=c.length}v[0]&18432&&ht(l,h[14])},d(h){h&&H(t),We(f,h),u=!1,Ne(s)}}}function Zr(e){let t,i=e[22][e[85]]+"",r,n,a;return{c(){t=b("option"),r=E(i),n=w(),t.__value=a=e[85],ct(t,t.__value)},m(o,l){M(o,t,l),d(t,r),d(t,n)},p(o,l){l[0]&2048&&i!==(i=o[22][o[85]]+"")&&S(r,i),l[0]&2048&&a!==(a=o[85])&&(t.__value=a,ct(t,t.__value))},d(o){o&&H(t)}}}function Jr(e){let t,i,r=e[21]("changeLimitLabel")+"",n,a,o,l,u,s,c=Le(e[12]),f=[];for(let h=0;h<c.length;h+=1)f[h]=Kr(Ir(e,c,h));return{c(){t=b("div"),i=b("label"),n=E(r),a=E(":"),o=w(),l=b("select");for(let h=0;h<f.length;h+=1)f[h].c();p(i,"for","LimitPeriod"),p(l,"id","LimitPeriod"),e[15]===void 0&&ft(()=>e[52].call(l)),p(t,"class","ControlContainer")},m(h,v){M(h,t,v),d(t,i),d(i,n),d(i,a),d(t,o),d(t,l);for(let g=0;g<f.length;g+=1)f[g]&&f[g].m(l,null);ht(l,e[15],!0),u||(s=[ve(l,"change",e[52]),ve(l,"change",e[26])],u=!0)},p(h,v){if(v[0]&2097152&&r!==(r=h[21]("changeLimitLabel")+"")&&S(n,r),v[0]&4096){c=Le(h[12]);let g;for(g=0;g<c.length;g+=1){const _=Ir(h,c,g);f[g]?f[g].p(_,v):(f[g]=Kr(_),f[g].c(),f[g].m(l,null))}for(;g<f.length;g+=1)f[g].d(1);f.length=c.length}v[0]&36864&&ht(l,h[15])},d(h){h&&H(t),We(f,h),u=!1,Ne(s)}}}function Kr(e){let t,i=e[85]+"",r,n,a;return{c(){t=b("option"),r=E(i),n=w(),t.__value=a=e[85],ct(t,t.__value)},m(o,l){M(o,t,l),d(t,r),d(t,n)},p(o,l){l[0]&4096&&i!==(i=o[85]+"")&&S(r,i),l[0]&4096&&a!==(a=o[85])&&(t.__value=a,ct(t,t.__value))},d(o){o&&H(t)}}}function en(e){let t,i,r=e[21]("limitTypeLabel")+"",n,a,o,l,u,s,c=Le(e[13]),f=[];for(let h=0;h<c.length;h+=1)f[h]=tn(Nr(e,c,h));return{c(){t=b("div"),i=b("label"),n=E(r),a=E(":"),o=w(),l=b("select");for(let h=0;h<f.length;h+=1)f[h].c();p(i,"for","LimitType"),p(l,"id","LimitType"),e[16]===void 0&&ft(()=>e[53].call(l)),p(t,"class","ControlContainer")},m(h,v){M(h,t,v),d(t,i),d(i,n),d(i,a),d(t,o),d(t,l);for(let g=0;g<f.length;g+=1)f[g]&&f[g].m(l,null);ht(l,e[16],!0),u||(s=[ve(l,"change",e[53]),ve(l,"change",e[23])],u=!0)},p(h,v){if(v[0]&2097152&&r!==(r=h[21]("limitTypeLabel")+"")&&S(n,r),v[0]&8192){c=Le(h[13]);let g;for(g=0;g<c.length;g+=1){const _=Nr(h,c,g);f[g]?f[g].p(_,v):(f[g]=tn(_),f[g].c(),f[g].m(l,null))}for(;g<f.length;g+=1)f[g].d(1);f.length=c.length}v[0]&73728&&ht(l,h[16])},d(h){h&&H(t),We(f,h),u=!1,Ne(s)}}}function tn(e){let t,i=e[85]+"",r,n,a;return{c(){t=b("option"),r=E(i),n=w(),t.__value=a=e[85],ct(t,t.__value)},m(o,l){M(o,t,l),d(t,r),d(t,n)},p(o,l){l[0]&8192&&i!==(i=o[85]+"")&&S(r,i),l[0]&8192&&a!==(a=o[85])&&(t.__value=a,ct(t,t.__value))},d(o){o&&H(t)}}}function rn(e){let t,i,r,n,a=e[3]==="true"&&nn(e),o=e[3]==="true"&&an(e),l=e[4]==="true"&&on(e),u=e[5]==="true"&&e[10].formattedSchedule&&(e[10].formattedSchedule.isRemoved===!0||e[10].formattedSchedule.isUpdated===!0)&&ln(e);return{c(){t=b("div"),a&&a.c(),i=w(),o&&o.c(),r=w(),l&&l.c(),n=w(),u&&u.c(),p(t,"class","ControlContainer")},m(s,c){M(s,t,c),a&&a.m(t,null),d(t,i),o&&o.m(t,null),d(t,r),l&&l.m(t,null),d(t,n),u&&u.m(t,null)},p(s,c){s[3]==="true"?a?a.p(s,c):(a=nn(s),a.c(),a.m(t,i)):a&&(a.d(1),a=null),s[3]==="true"?o?o.p(s,c):(o=an(s),o.c(),o.m(t,r)):o&&(o.d(1),o=null),s[4]==="true"?l?l.p(s,c):(l=on(s),l.c(),l.m(t,n)):l&&(l.d(1),l=null),s[5]==="true"&&s[10].formattedSchedule&&(s[10].formattedSchedule.isRemoved===!0||s[10].formattedSchedule.isUpdated===!0)?u?u.p(s,c):(u=ln(s),u.c(),u.m(t,null)):u&&(u.d(1),u=null)},d(s){s&&H(t),a&&a.d(),o&&o.d(),l&&l.d(),u&&u.d()}}}function nn(e){let t,i,r,n,a;return{c(){t=b("button"),i=b("span"),p(i,"class","ActionsSvg"),p(t,"class","ActionButton"),p(t,"title",r=e[21]("addLimitTitle"))},m(o,l){M(o,t,l),d(t,i),i.innerHTML=Fn,n||(a=ve(t,"click",vt(e[54])),n=!0)},p(o,l){l[0]&2097152&&r!==(r=o[21]("addLimitTitle"))&&p(t,"title",r)},d(o){o&&H(t),n=!1,a()}}}function an(e){let t,i,r,n,a;return{c(){t=b("button"),i=b("span"),p(i,"class","ActionsSvg"),p(t,"class","ActionButton"),p(t,"title",r=e[21]("editLimitTitle"))},m(o,l){M(o,t,l),d(t,i),i.innerHTML=ws,n||(a=ve(t,"click",vt(e[55])),n=!0)},p(o,l){l[0]&2097152&&r!==(r=o[21]("editLimitTitle"))&&p(t,"title",r)},d(o){o&&H(t),n=!1,a()}}}function on(e){let t,i,r,n,a;return{c(){t=b("button"),i=b("span"),p(i,"class","ActionsSvg"),p(t,"class","ActionButton"),p(t,"title",r=e[21]("deleteLimitTitle"))},m(o,l){M(o,t,l),d(t,i),i.innerHTML=_s,n||(a=ve(t,"click",vt(e[56])),n=!0)},p(o,l){l[0]&2097152&&r!==(r=o[21]("deleteLimitTitle"))&&p(t,"title",r)},d(o){o&&H(t),n=!1,a()}}}function ln(e){let t,i,r,n,a;return{c(){t=b("button"),i=b("span"),p(i,"class","ActionsSvg"),p(t,"class","ActionButton"),p(t,"title",r=e[21]("cancelScheduleTitle"))},m(o,l){M(o,t,l),d(t,i),i.innerHTML=ys,n||(a=ve(t,"click",vt(e[57])),n=!0)},p(o,l){l[0]&2097152&&r!==(r=o[21]("cancelScheduleTitle"))&&p(t,"title",r)},d(o){o&&H(t),n=!1,a()}}}function sn(e){let t,i,r,n,a=e[21]("addLimitText")+"",o,l,u,s;return{c(){t=b("button"),i=b("span"),r=w(),n=b("span"),o=E(a),p(i,"class","ActionsSvg"),p(t,"class","AddLimitControl"),p(t,"title",l=e[21]("addLimitTitle"))},m(c,f){M(c,t,f),d(t,i),i.innerHTML=Fn,d(t,r),d(t,n),d(n,o),u||(s=ve(t,"click",vt(e[48])),u=!0)},p(c,f){f[0]&2097152&&a!==(a=c[21]("addLimitText")+"")&&S(o,a),f[0]&2097152&&l!==(l=c[21]("addLimitTitle"))&&p(t,"title",l)},d(c){c&&H(t),u=!1,s()}}}function Os(e){let t;return{c(){t=b("div"),t.innerHTML='<ui-skeleton structure="text" width="90%" height="15px"></ui-skeleton>',p(t,"class","Col")},m(i,r){M(i,t,r)},p:me,d(i){i&&H(t)}}}function un(e){let t,i=Le(Array(2)),r=[];for(let n=0;n<i.length;n+=1)r[n]=Os(xs(e,i,n));return{c(){t=b("div");for(let n=0;n<r.length;n+=1)r[n].c();p(t,"class","Row")},m(n,a){M(n,t,a);for(let o=0;o<r.length;o+=1)r[o]&&r[o].m(t,null)},p:me,d(n){n&&H(t),We(r,n)}}}function Ds(e){let t;return{c(){t=b("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){M(i,t,r)},p:me,d(i){i&&H(t)}}}function Bs(e){let t;function i(a,o){return a[7]?Ps:Cs}let r=i(e),n=r(e);return{c(){t=b("div"),n.c(),p(t,"class","")},m(a,o){M(a,t,o),n.m(t,null)},p(a,o){r===(r=i(a))&&n?n.p(a,o):(n.d(1),n=r(a),n&&(n.c(),n.m(t,null)))},i:me,o:me,d(a){a&&H(t),n.d()}}}function Us(e,t,i){let r;Yn(e,hs,m=>i(21,r=m));let{session:n=""}=t,{sessiontype:a=""}=t,{userid:o=""}=t,{endpoint:l=""}=t,{transdetailsurl:u=""}=t,{transactionspageurl:s=""}=t,{clientstyling:c=""}=t,{clientstylingurl:f=""}=t,{mbsource:h}=t,{lang:v="en"}=t,{translationurl:g=""}=t,{datetimeformat:_=""}=t,{editlimitaction:z=""}=t,{deletelimitaction:q=""}=t,{cancelimitscheduleaction:F=""}=t,{getutctime:C=""}=t,G,N=!1,x=!1,X="",O="",pe=!0,Y,U=!1,I={id:"",totalAmount:null,spentAmount:"",limitCurrency:"EUR",remainingAmount:"",limitPeriod:"",limitProducts:"",from:"",to:""},Q=[],Te=[],Ie=[],W="",$="",ge="",Z="",ae=[],be=[],ye=0,Ve="";const _t={Daily:0,Weekly:1,Monthly:2},Ae={All:"All",RealCash:"Real Money"};Object.keys(Rr).forEach(m=>{Ur(m,Rr[m])}),na(()=>{setTimeout(()=>{i(46,N=!0)},50);const m=y=>{y.target.closest(".ProductsDropdown")||i(9,U=!1)};return window.addEventListener("click",m),()=>{window.removeEventListener("click",m)}});const qe=()=>{i(47,x=!0),X=n,O=o},Ee=m=>{i(20,Ve=m)},Tt=()=>{let m=ae;return $&&(m=m.filter(y=>y.period===$)),W&&(m=m.filter(y=>y.walletTypes.includes(W))),ge&&(m=m.filter(y=>y.type===ge)),Z&&(m=m.filter(y=>y.products.includes(Z))),m[0]||ae[0]},Xe=()=>Rt(this,null,function*(){i(9,U=!1);try{if(ae=yield we(),ae.length===0){i(7,pe=!1),i(8,Y=!0);return}i(12,Te=[...new Set(ae.map(m=>m.period))].sort((m,y)=>_t[m]-_t[y])),(!$||!Te.includes($))&&i(15,$=Te[0]),i(11,Q=Et($)),(!W||!Q.includes(W))&&i(14,W=Q[0]),i(18,be=He($,W)),be.includes(Z)||i(17,Z=be[0]),xe(Tt())}catch(m){i(7,pe=!1),Ee(r("fetchLimitBalanceError"));return}}),we=()=>Rt(this,null,function*(){try{const m=new URL(`${l}/v1/player/${O}/limits/monetary/`),T=yield fetch(m,{method:"GET",headers:{"X-SessionId":X,"X-Session-Type":a}});if(!T.ok)throw new Error(r("fetchLimitDefError"));const B=yield T.json(),j=["Deposit","Loss","Wagering"],Pe=B.limits.map(J=>J.type);i(13,Ie=Array.from(new Set(Pe)).filter(J=>j.includes(J))),ge||i(16,ge=Ie[0]);const Se=B.limits.filter(J=>J.type===ge);return Se.length>0?Se:[]}catch(m){const y=m instanceof TypeError?r("invalidUrl"):m.message;Ee(y)}}),He=(m,y)=>{const T=ae.filter(j=>j.period===m&&j.walletTypes[0]===y),B=[];return T.forEach(j=>{j.products.forEach(Pe=>{B.indexOf(Pe)===-1&&B.push(Pe)})}),B.sort()},Et=m=>{const y=ae.filter(B=>B.period===m),T=[];return y.forEach(B=>{B.walletTypes.forEach(j=>{T.indexOf(j)===-1&&T.push(j)})}),T.sort()},xe=m=>Rt(this,null,function*(){try{i(7,pe=!0);const y=new URL(`${l}/v1/player/${O}/limits/monetary/balance`);y.searchParams.append("limitDefinitionId",m.id);const B=yield fetch(y,{method:"GET",headers:{"X-SessionId":X,"X-Session-Type":a}});if(!B.ok)throw new Error(r("fetchLimitBalanceError"));const j=yield B.json();xt(j.limitBalances[0],m)}catch(y){const T=y instanceof TypeError?r("invalidUrl"):y.message;Ee(T)}finally{i(7,pe=!1)}}),xt=(m,y)=>{i(15,$=m.limitPeriod),i(17,Z=m.limitProducts[0]),i(14,W=m.limitWalletTypes[0]);const T=qt(y.id,y.schedules);i(10,I={id:y.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:Z,from:m.from,to:m.to}),T&&i(10,I.formattedSchedule=T,I),Ct(I)},qt=(m,y)=>{const T=y.find(B=>B.playerLimitId===m);return T?{updateAmount:T.updateAmount,expires:T.applyAt,expiresString:je(T.applyAt),id:T.id,isRemoved:T.updateAmount<1,isUpdated:T.updateAmount>0}:{updateAmount:"",expires:"",expiresString:"",id:"",isRemoved:!1,isUpdated:!1}},je=m=>Eo(new Date(m),_||"dd/MM/yyyy HH:mm:ss"),Ct=m=>{let y=180/m.totalAmount*parseFloat(m.spentAmount);y=Math.min(180,Math.max(0,y));const T=1.5,B=setInterval(()=>{i(19,ye+=ye<y?T:-T),Math.abs(ye-y)<=T&&(i(19,ye=y),clearInterval(B))})},Xt=m=>{switch(m){case"Deposit":return r("depositLimitHeader");case"Loss":return r("lossLimitHeader");case"Wagering":return r("wageringLimitHeader");default:return""}},Pt=m=>{const y=m.currentTarget;i(15,$=y.value),i(11,Q=Et($)),(!W||!Q.includes(W))&&i(14,W=Q[0]),i(18,be=He($,W)),i(9,U=!1),be.includes(Z)||i(17,Z=be[0]);const T=ae.find(B=>B.period===$&&B.walletTypes[0]===W&&B.products.includes(Z));T&&xe(T)},ke=m=>{const y=m.currentTarget;i(14,W=y.value),i(18,be=He($,W)),i(9,U=!1),be.includes(Z)||i(17,Z=be[0]);const T=ae.find(B=>B.period===$&&B.walletTypes[0]===W&&B.products.includes(Z));T&&xe(T)},Fe=m=>{const y=ae.find(T=>T.period===$&&T.products.includes(m));i(10,I.limitProducts=m,I),i(9,U=!1),y&&xe(y)},Ye=()=>{fs(v)},St=()=>{let m=new URL(g);fetch(m.href).then(y=>y.json()).then(y=>{Object.keys(y).forEach(T=>{Ur(T,y[T])})}).catch(y=>{console.log(y)})},At=()=>{i(9,U=!U)},Me=m=>m.toString().replace(new RegExp("\\B(?<!\\.\\d*)(?=(\\d{3})+(?!\\d))","g")," "),Qe=()=>{const m=s,y=ge==="Deposit"?"payment-transactions":"gaming-transactions",T={Daily:1,Weekly:7,Monthly:30},B=Yt(new Date(I.to),T[$]);try{const j=new URL(`${m}/gammatrix/gmwi/${y}`);switch(j.searchParams.append("transStatuses","2"),j.searchParams.append("startTime",B.toISOString()),j.searchParams.append("endTime",new Date().toISOString()),j.searchParams.append("dateOption","Select custom dates"),j.searchParams.append("userId",o),ge){case"Deposit":j.searchParams.append("transTypes","1");break;case"Wagering":j.searchParams.append("transTypes","12");break;case"Loss":j.searchParams.append("transTypes","8");break;default:break}return j.toString()}catch(j){const Pe=j instanceof TypeError?r("invalidUrl"):j.message;Ee(Pe)}},Yt=(m,y)=>new Date(m.getTime()-y*24*60*60*1e3),Ze=()=>{window.addEventListener("message",m=>{m.data.type==="RGW:RefreshLimits"&&Xe()})},Je=()=>{window.postMessage({type:"RGW:EditLimit",payload:{id:I.id}},window.location.href)},Ht=()=>{window.postMessage({type:"RGW:DeleteLimit",payload:{id:I.id}},window.location.href)},Ce=()=>{I&&I.formattedSchedule&&window.postMessage({type:"RGW:CancelLimitSchedule",payload:{limitId:I.id,scheduleId:I.formattedSchedule.id}},window.location.href)},Oe=()=>{window.postMessage({type:"RGW:AddNewLimit"},window.location.href)},Ke=()=>Oe(),kt=()=>At(),Qt=m=>Fe(m);function De(){W=Oi(this),i(14,W),i(11,Q)}function et(){$=Oi(this),i(15,$),i(12,Te)}function Zt(){ge=Oi(this),i(16,ge),i(13,Ie)}const tt=()=>Oe(),Mt=()=>Je(),Jt=()=>Ht(),Ot=()=>Ce();function Dt(m){Gi[m?"unshift":"push"](()=>{G=m,i(6,G)})}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,o=m.userid),"endpoint"in m&&i(38,l=m.endpoint),"transdetailsurl"in m&&i(1,u=m.transdetailsurl),"transactionspageurl"in m&&i(2,s=m.transactionspageurl),"clientstyling"in m&&i(39,c=m.clientstyling),"clientstylingurl"in m&&i(40,f=m.clientstylingurl),"mbsource"in m&&i(41,h=m.mbsource),"lang"in m&&i(42,v=m.lang),"translationurl"in m&&i(43,g=m.translationurl),"datetimeformat"in m&&i(44,_=m.datetimeformat),"editlimitaction"in m&&i(3,z=m.editlimitaction),"deletelimitaction"in m&&i(4,q=m.deletelimitaction),"cancelimitscheduleaction"in m&&i(5,F=m.cancelimitscheduleaction),"getutctime"in m&&i(45,C=m.getutctime)},e.$$.update=()=>{e.$$.dirty[1]&32864&&N&&n&&o&&qe(),e.$$.dirty[1]&98304&&N&&x&&Ze(),e.$$.dirty[1]&98304&&N&&x&&Xe(),e.$$.dirty[0]&64|e.$$.dirty[1]&256&&c&&G&&ms(G,c),e.$$.dirty[0]&64|e.$$.dirty[1]&512&&f&&G&&ps(G,f),e.$$.dirty[0]&64|e.$$.dirty[1]&1024&&h&&G&&gs(G,`${h}.Style`),e.$$.dirty[1]&2048&&v&&Ye(),e.$$.dirty[1]&4096&&g&&St()},[a,u,s,z,q,F,G,pe,Y,U,I,Q,Te,Ie,W,$,ge,Z,be,ye,Ve,r,Ae,Xe,je,Xt,Pt,ke,Fe,At,Me,Qe,Je,Ht,Ce,Oe,n,o,l,c,f,h,v,g,_,C,N,x,Ke,kt,Qt,De,et,Zt,tt,Mt,Jt,Ot,Dt]}class Gn extends ga{constructor(t){super(),ma(this,t,Us,Bs,cn,{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},Ts,[-1,-1,-1,-1])}get session(){return this.$$.ctx[36]}set session(t){this.$$set({session:t}),K()}get sessiontype(){return this.$$.ctx[0]}set sessiontype(t){this.$$set({sessiontype:t}),K()}get userid(){return this.$$.ctx[37]}set userid(t){this.$$set({userid:t}),K()}get endpoint(){return this.$$.ctx[38]}set endpoint(t){this.$$set({endpoint:t}),K()}get transdetailsurl(){return this.$$.ctx[1]}set transdetailsurl(t){this.$$set({transdetailsurl:t}),K()}get transactionspageurl(){return this.$$.ctx[2]}set transactionspageurl(t){this.$$set({transactionspageurl:t}),K()}get clientstyling(){return this.$$.ctx[39]}set clientstyling(t){this.$$set({clientstyling:t}),K()}get clientstylingurl(){return this.$$.ctx[40]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),K()}get mbsource(){return this.$$.ctx[41]}set mbsource(t){this.$$set({mbsource:t}),K()}get lang(){return this.$$.ctx[42]}set lang(t){this.$$set({lang:t}),K()}get translationurl(){return this.$$.ctx[43]}set translationurl(t){this.$$set({translationurl:t}),K()}get datetimeformat(){return this.$$.ctx[44]}set datetimeformat(t){this.$$set({datetimeformat:t}),K()}get editlimitaction(){return this.$$.ctx[3]}set editlimitaction(t){this.$$set({editlimitaction:t}),K()}get deletelimitaction(){return this.$$.ctx[4]}set deletelimitaction(t){this.$$set({deletelimitaction:t}),K()}get cancelimitscheduleaction(){return this.$$.ctx[5]}set cancelimitscheduleaction(t){this.$$set({cancelimitscheduleaction:t}),K()}get getutctime(){return this.$$.ctx[45]}set getutctime(t){this.$$set({getutctime:t}),K()}}pa(Gn,{session:{},sessiontype:{},userid:{},endpoint:{},transdetailsurl:{},transactionspageurl:{},clientstyling:{},clientstylingurl:{},mbsource:{},lang:{},translationurl:{},datetimeformat:{},editlimitaction:{},deletelimitaction:{},cancelimitscheduleaction:{},getutctime:{}},[],[],!0);exports.default=Gn;
|