@everymatrix/player-account-gaming-limits-page-2-gmcore 1.45.0 → 1.45.2
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/{PlayerAccountGamingLimitsPage2Gmcore-Dip50DU4.cjs → PlayerAccountGamingLimitsPage2Gmcore-BsB_g0r_.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gmcore-BkKr7L0b.js → PlayerAccountGamingLimitsPage2Gmcore-Dsk1qn4e.js} +201 -201
- package/es2015/player-account-gaming-limits-page-2-gmcore.cjs +1 -1
- package/es2015/player-account-gaming-limits-page-2-gmcore.js +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";var mr=Object.defineProperty,pr=Object.defineProperties;var dr=Object.getOwnPropertyDescriptors;var xt=Object.getOwnPropertySymbols;var gr=Object.prototype.hasOwnProperty,yr=Object.prototype.propertyIsEnumerable;var Ge=(e,t,i)=>t in e?mr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Tt=(e,t)=>{for(var i in t||(t={}))gr.call(t,i)&&Ge(e,i,t[i]);if(xt)for(var i of xt(t))yr.call(t,i)&&Ge(e,i,t[i]);return e},wt=(e,t)=>pr(e,dr(t));var V=(e,t,i)=>Ge(e,typeof t!="symbol"?t+"":t,i);var St=(e,t,i)=>new Promise((r,n)=>{var o=c=>{try{a(i.next(c))}catch(l){n(l)}},s=c=>{try{a(i.throw(c))}catch(l){n(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(o,s);a((i=i.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function U(){}function ci(e){return e()}function Pt(){return Object.create(null)}function te(e){e.forEach(ci)}function mt(e){return typeof e=="function"}function hi(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function vr(e){return Object.keys(e).length===0}function fi(e,...t){if(e==null){for(const r of t)r(void 0);return U}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function br(e,t,i){e.$$.on_destroy.push(fi(t,i))}const _r=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function g(e,t){e.appendChild(t)}function Er(e,t,i){const r=Lr(e);if(!r.getElementById(t)){const n=b("style");n.id=t,n.textContent=i,xr(r,n)}}function Lr(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function xr(e,t){return g(e.head||e,t),t.sheet}function I(e,t,i){e.insertBefore(t,i||null)}function A(e){e.parentNode&&e.parentNode.removeChild(e)}function Ce(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 ge(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function $(e){return document.createTextNode(e)}function R(){return $(" ")}function Tr(){return $("")}function Y(e,t,i,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function p(e,t,i){i==null?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function mi(e){return e===""?null:+e}function wr(e){return Array.from(e.childNodes)}function W(e,t){t=""+t,e.data!==t&&(e.data=t)}function be(e,t){e.value=t==null?"":t}function ze(e,t,i,r){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function Ne(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 At(e){const t=e.querySelector(":checked");return t&&t.__value}function Sr(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let pt;function ve(e){pt=e}const se=[],He=[];let ae=[];const Bt=[],Pr=Promise.resolve();let Ke=!1;function Ar(){Ke||(Ke=!0,Pr.then(Z))}function _e(e){ae.push(e)}const We=new Set;let ne=0;function Z(){if(ne!==0)return;const e=pt;do{try{for(;ne<se.length;){const t=se[ne];ne++,ve(t),Br(t.$$)}}catch(t){throw se.length=0,ne=0,t}for(ve(null),se.length=0,ne=0;He.length;)He.pop()();for(let t=0;t<ae.length;t+=1){const i=ae[t];We.has(i)||(We.add(i),i())}ae.length=0}while(se.length);for(;Bt.length;)Bt.pop()();Ke=!1,We.clear(),ve(e)}function Br(e){if(e.fragment!==null){e.update(),te(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(_e)}}function Ir(e){const t=[],i=[];ae.forEach(r=>e.indexOf(r)===-1?t.push(r):i.push(r)),i.forEach(r=>r()),ae=t}const Nr=new Set;function Hr(e,t){e&&e.i&&(Nr.delete(e),e.i(t))}function ee(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Or(e,t,i){const{fragment:r,after_update:n}=e.$$;r&&r.m(t,i),_e(()=>{const o=e.$$.on_mount.map(ci).filter(mt);e.$$.on_destroy?e.$$.on_destroy.push(...o):te(o),e.$$.on_mount=[]}),n.forEach(_e)}function Mr(e,t){const i=e.$$;i.fragment!==null&&(Ir(i.after_update),te(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function Cr(e,t){e.$$.dirty[0]===-1&&(se.push(e),Ar(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Dr(e,t,i,r,n,o,s=null,a=[-1]){const c=pt;ve(e);const l=e.$$={fragment:null,ctx:[],props:o,update:U,not_equal:n,bound:Pt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Pt(),dirty:a,skip_bound:!1,root:t.target||c.$$.root};s&&s(l.root);let u=!1;if(l.ctx=i?i(e,t.props||{},(h,m,...f)=>{const y=f.length?f[0]:m;return l.ctx&&n(l.ctx[h],l.ctx[h]=y)&&(!l.skip_bound&&l.bound[h]&&l.bound[h](y),u&&Cr(e,h)),m}):[],l.update(),u=!0,te(l.before_update),l.fragment=r?r(l.ctx):!1,t.target){if(t.hydrate){const h=wr(t.target);l.fragment&&l.fragment.l(h),h.forEach(A)}else l.fragment&&l.fragment.c();t.intro&&Hr(e.$$.fragment),Or(e,t.target,t.anchor),Z()}ve(c)}let pi;typeof HTMLElement=="function"&&(pi=class extends HTMLElement{constructor(t,i,r){super();V(this,"$$ctor");V(this,"$$s");V(this,"$$c");V(this,"$$cn",!1);V(this,"$$d",{});V(this,"$$r",!1);V(this,"$$p_d",{});V(this,"$$l",{});V(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 St(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let s;return{c:function(){s=b("slot"),o!=="default"&&p(s,"name",o)},m:function(l,u){I(l,s,u)},d:function(l){l&&A(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},r=Sr(this);for(const o of this.$$s)o in r&&(i[o]=[t(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=Pe(s,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:wt(Tt({},this.$$d),{$$slots:i,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const s=Pe(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const o in this.$$l)for(const s of this.$$l[o]){const a=this.$$c.$on(o,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(t,i,r){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Pe(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 Pe(e,t,i,r){var o;const n=(o=i[e])==null?void 0:o.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 kr(e,t,i,r,n,o){let s=class extends pi{constructor(){super(e,i,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(c){var l;c=Pe(a,c,t),this.$$d[a]=c,(l=this.$$c)==null||l.$set({[a]:c})}})}),r.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var c;return(c=this.$$c)==null?void 0:c[a]}})}),e.element=s,s}class Rr{constructor(){V(this,"$$");V(this,"$$set")}$destroy(){Mr(this,1),this.$destroy=U}$on(t,i){if(!mt(i))return U;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&&!vr(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ur="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ur);const X={deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",periods:["Daily","Weekly","Monthly"]},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",periods:["Daily","Weekly","Monthly"]},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",periods:["Monthly"]},stake:{title:"Stake Limit",value:"stake",callValue:"stakeLimit",periods:["Monthly"]}},oe=[];function jr(e,t){return{subscribe:De(e,t).subscribe}}function De(e,t=U){let i;const r=new Set;function n(a){if(hi(e,a)&&(e=a,i)){const c=!oe.length;for(const l of r)l[1](),oe.push(l,e);if(c){for(let l=0;l<oe.length;l+=2)oe[l][0](oe[l+1]);oe.length=0}}}function o(a){n(a(e))}function s(a,c=U){const l=[a,c];return r.add(l),r.size===1&&(i=t(n,o)||U),a(e),()=>{r.delete(l),r.size===0&&i&&(i(),i=null)}}return{set:n,update:o,subscribe:s}}function me(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 o=t.length<2;return jr(i,(s,a)=>{let c=!1;const l=[];let u=0,h=U;const m=()=>{if(u)return;h();const y=t(r?l[0]:l,s,a);o?s(y):h=mt(y)?y:U},f=n.map((y,_)=>fi(y,O=>{l[_]=O,u&=~(1<<_),c&&m()},()=>{u|=1<<_}));return c=!0,m(),function(){te(f),h(),c=!1}})}function $r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fr=function(t){return Gr(t)&&!zr(t)};function Gr(e){return!!e&&typeof e=="object"}function zr(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Xr(e)}var Wr=typeof Symbol=="function"&&Symbol.for,Vr=Wr?Symbol.for("react.element"):60103;function Xr(e){return e.$$typeof===Vr}function Zr(e){return Array.isArray(e)?[]:{}}function Ee(e,t){return t.clone!==!1&&t.isMergeableObject(e)?ue(Zr(e),e,t):e}function Yr(e,t,i){return e.concat(t).map(function(r){return Ee(r,i)})}function qr(e,t){if(!t.customMerge)return ue;var i=t.customMerge(e);return typeof i=="function"?i:ue}function Jr(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function It(e){return Object.keys(e).concat(Jr(e))}function di(e,t){try{return t in e}catch(i){return!1}}function Qr(e,t){return di(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Kr(e,t,i){var r={};return i.isMergeableObject(e)&&It(e).forEach(function(n){r[n]=Ee(e[n],i)}),It(t).forEach(function(n){Qr(e,n)||(di(e,n)&&i.isMergeableObject(t[n])?r[n]=qr(n,i)(e[n],t[n],i):r[n]=Ee(t[n],i))}),r}function ue(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||Yr,i.isMergeableObject=i.isMergeableObject||Fr,i.cloneUnlessOtherwiseSpecified=Ee;var r=Array.isArray(t),n=Array.isArray(e),o=r===n;return o?r?i.arrayMerge(e,t,i):Kr(e,t,i):Ee(t,i)}ue.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return ue(r,n,i)},{})};var en=ue,tn=en;const rn=$r(tn);var et=function(e,t){return et=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])},et(e,t)};function Q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");et(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var P=function(){return P=Object.assign||function(t){for(var i,r=1,n=arguments.length;r<n;r++){i=arguments[r];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},P.apply(this,arguments)};function nn(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 tt(e){var t=typeof Symbol=="function"&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function it(e,t){var i=typeof Symbol=="function"&&e[Symbol.iterator];if(!i)return e;var r=i.call(e),n,o=[],s;try{for(;(t===void 0||t-- >0)&&!(n=r.next()).done;)o.push(n.value)}catch(a){s={error:a}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(s)throw s.error}}return o}function le(e,t,i){if(i||arguments.length===2)for(var r=0,n=t.length,o;r<n;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var T;(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"})(T||(T={}));var M;(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"})(M||(M={}));var ce;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ce||(ce={}));function Nt(e){return e.type===M.literal}function on(e){return e.type===M.argument}function gi(e){return e.type===M.number}function yi(e){return e.type===M.date}function vi(e){return e.type===M.time}function bi(e){return e.type===M.select}function _i(e){return e.type===M.plural}function sn(e){return e.type===M.pound}function Ei(e){return e.type===M.tag}function Li(e){return!!(e&&typeof e=="object"&&e.type===ce.number)}function rt(e){return!!(e&&typeof e=="object"&&e.type===ce.dateTime)}var xi=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,an=/(?:[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 ln(e){var t={};return e.replace(an,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 un=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function cn(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(un).filter(function(m){return m.length>0}),i=[],r=0,n=t;r<n.length;r++){var o=n[r],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],c=s.slice(1),l=0,u=c;l<u.length;l++){var h=u[l];if(h.length===0)throw new Error("Invalid number skeleton")}i.push({stem:a,options:c})}return i}function hn(e){return e.replace(/^(.*?)-/,"")}var Ht=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ti=/^(@+)?(\+|#+)?[rs]?$/g,fn=/(\*)(0+)|(#+)(0+)|(0+)/g,wi=/^(0+)$/;function Ot(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ti,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 Si(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 mn(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)),!wi.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Mt(e){var t={},i=Si(e);return i||t}function pn(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=hn(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=P(P(P({},t),{notation:"scientific"}),n.options.reduce(function(c,l){return P(P({},c),Mt(l))},{}));continue;case"engineering":t=P(P(P({},t),{notation:"engineering"}),n.options.reduce(function(c,l){return P(P({},c),Mt(l))},{}));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(fn,function(c,l,u,h,m,f){if(l)t.minimumIntegerDigits=u.length;else{if(h&&m)throw new Error("We currently do not support maximum integer digits");if(f)throw new Error("We currently do not support exact integer digits")}return""});continue}if(wi.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Ht.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Ht,function(c,l,u,h,m,f){return u==="*"?t.minimumFractionDigits=l.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:m&&f?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+f.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=n.options[0];o==="w"?t=P(P({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=P(P({},t),Ot(o)));continue}if(Ti.test(n.stem)){t=P(P({},t),Ot(n.stem));continue}var s=Si(n.stem);s&&(t=P(P({},t),s));var a=mn(n.stem);a&&(t=P(P({},t),a))}return t}var we={"001":["H","h"],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","hB","h","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","hB","h","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","hB","h","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"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["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 dn(e,t){for(var i="",r=0;r<e.length;r++){var n=e.charAt(r);if(n==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===n;)o++,r++;var s=1+(o&1),a=o<2?1:3+(o>>1),c="a",l=gn(t);for((l=="H"||l=="k")&&(a=0);a-- >0;)i+=c;for(;s-- >0;)i=l+i}else n==="J"?i+="H":i+=n}return i}function gn(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=we[r||""]||we[i||""]||we["".concat(i,"-001")]||we["001"];return n[0]}var Ve,yn=new RegExp("^".concat(xi.source,"*")),vn=new RegExp("".concat(xi.source,"*$"));function w(e,t){return{start:e,end:t}}var bn=!!String.prototype.startsWith&&"_a".startsWith("a",1),_n=!!String.fromCodePoint,En=!!Object.fromEntries,Ln=!!String.prototype.codePointAt,xn=!!String.prototype.trimStart,Tn=!!String.prototype.trimEnd,wn=!!Number.isSafeInteger,Sn=wn?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},nt=!0;try{var Pn=Ai("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");nt=((Ve=Pn.exec("a"))===null||Ve===void 0?void 0:Ve[0])==="a"}catch(e){nt=!1}var Ct=bn?function(t,i,r){return t.startsWith(i,r)}:function(t,i,r){return t.slice(r,r+i.length)===i},ot=_n?String.fromCodePoint:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var r="",n=t.length,o=0,s;n>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},Dt=En?Object.fromEntries:function(t){for(var i={},r=0,n=t;r<n.length;r++){var o=n[r],s=o[0],a=o[1];i[s]=a}return i},Pi=Ln?function(t,i){return t.codePointAt(i)}:function(t,i){var r=t.length;if(!(i<0||i>=r)){var n=t.charCodeAt(i),o;return n<55296||n>56319||i+1===r||(o=t.charCodeAt(i+1))<56320||o>57343?n:(n-55296<<10)+(o-56320)+65536}},An=xn?function(t){return t.trimStart()}:function(t){return t.replace(yn,"")},Bn=Tn?function(t){return t.trimEnd()}:function(t){return t.replace(vn,"")};function Ai(e,t){return new RegExp(e,t)}var st;if(nt){var kt=Ai("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");st=function(t,i){var r;kt.lastIndex=i;var n=kt.exec(t);return(r=n[1])!==null&&r!==void 0?r:""}}else st=function(t,i){for(var r=[];;){var n=Pi(t,i);if(n===void 0||Bi(n)||On(n))break;r.push(n),i+=n>=65536?2:1}return ot.apply(void 0,r)};var In=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 o=this.char();if(o===123){var s=this.parseArgument(t,r);if(s.err)return s;n.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(i==="plural"||i==="selectordinal")){var a=this.clonePosition();this.bump(),n.push({type:M.pound,location:w(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(T.UNMATCHED_CLOSING_TAG,w(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&at(this.peek()||0)){var s=this.parseTag(t,i);if(s.err)return s;n.push(s.val)}else{var s=this.parseLiteral(t,i);if(s.err)return s;n.push(s.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,i){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:M.literal,value:"<".concat(n,"/>"),location:w(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,i,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!at(this.char()))return this.error(T.INVALID_TAG,w(a,this.clonePosition()));var c=this.clonePosition(),l=this.parseTagName();return n!==l?this.error(T.UNMATCHED_CLOSING_TAG,w(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:M.tag,value:n,children:s,location:w(r,this.clonePosition())},err:null}:this.error(T.INVALID_TAG,w(a,this.clonePosition())))}else return this.error(T.UNCLOSED_TAG,w(r,this.clonePosition()))}else return this.error(T.INVALID_TAG,w(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Hn(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,i){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(i);if(o){n+=o;continue}var s=this.tryParseUnquoted(t,i);if(s){n+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){n+=a;continue}break}var c=w(r,this.clonePosition());return{val:{type:M.literal,value:n,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Nn(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 ot.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(),ot(r))},e.prototype.parseArgument=function(t,i){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,w(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(T.EMPTY_ARGUMENT,w(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(T.MALFORMED_ARGUMENT,w(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,w(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:M.argument,value:n,location:w(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,w(r,this.clonePosition())):this.parseArgumentOptions(t,i,n,r);default:return this.error(T.MALFORMED_ARGUMENT,w(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),r=st(this.message,i),n=i+r.length;this.bumpTo(n);var o=this.clonePosition(),s=w(t,o);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,i,r,n){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(a){case"":return this.error(T.EXPECT_ARGUMENT_TYPE,w(s,c));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var m=Bn(h.val);if(m.length===0)return this.error(T.EXPECT_ARGUMENT_STYLE,w(this.clonePosition(),this.clonePosition()));var f=w(u,this.clonePosition());l={style:m,styleLocation:f}}var y=this.tryParseArgumentClose(n);if(y.err)return y;var _=w(n,this.clonePosition());if(l&&Ct(l==null?void 0:l.style,"::",0)){var O=An(l.style.slice(2));if(a==="number"){var h=this.parseNumberSkeletonFromString(O,l.styleLocation);return h.err?h:{val:{type:M.number,value:r,location:_,style:h.val},err:null}}else{if(O.length===0)return this.error(T.EXPECT_DATE_TIME_SKELETON,_);var E=O;this.locale&&(E=dn(O,this.locale));var m={type:ce.dateTime,pattern:E,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?ln(E):{}},S=a==="date"?M.date:M.time;return{val:{type:S,value:r,location:_,style:m},err:null}}}return{val:{type:a==="number"?M.number:a==="date"?M.date:M.time,value:r,location:_,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var x=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS,w(x,P({},x)));this.bumpSpace();var j=this.parseIdentifierIfPossible(),N=0;if(a!=="select"&&j.value==="offset"){if(!this.bumpIf(":"))return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,w(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),j=this.parseIdentifierIfPossible(),N=h.val}var C=this.tryParsePluralOrSelectOptions(t,a,i,j);if(C.err)return C;var y=this.tryParseArgumentClose(n);if(y.err)return y;var H=w(n,this.clonePosition());return a==="select"?{val:{type:M.select,value:r,options:Dt(C.val),location:H},err:null}:{val:{type:M.plural,value:r,options:Dt(C.val),offset:N,pluralType:a==="plural"?"cardinal":"ordinal",location:H},err:null}}default:return this.error(T.INVALID_ARGUMENT_TYPE,w(s,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,w(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(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,w(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=cn(t)}catch(n){return this.error(T.INVALID_NUMBER_SKELETON,i)}return{val:{type:ce.number,tokens:r,location:i,parsedOptions:this.shouldParseSkeletons?pn(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,i,r,n){for(var o,s=!1,a=[],c=new Set,l=n.value,u=n.location;;){if(l.length===0){var h=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR,T.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;u=w(h,this.clonePosition()),l=this.message.slice(h.offset,this.offset())}else break}if(c.has(l))return this.error(i==="select"?T.DUPLICATE_SELECT_ARGUMENT_SELECTOR:T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);l==="other"&&(s=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,w(this.clonePosition(),this.clonePosition()));var y=this.parseMessage(t+1,i,r);if(y.err)return y;var _=this.tryParseArgumentClose(f);if(_.err)return _;a.push([l,{value:y.val,location:w(f,this.clonePosition())}]),c.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,u=o.location}return a.length===0?this.error(i==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR:T.EXPECT_PLURAL_ARGUMENT_SELECTOR,w(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(T.MISSING_OTHER_CLAUSE,w(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,i){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var c=w(n,this.clonePosition());return o?(s*=r,Sn(s)?{val:s,err:null}:this.error(i,c)):this.error(t,c)},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=Pi(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(Ct(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()&&Bi(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 at(e){return e>=97&&e<=122||e>=65&&e<=90}function Nn(e){return at(e)||e===47}function Hn(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 Bi(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function On(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 lt(e){e.forEach(function(t){if(delete t.location,bi(t)||_i(t))for(var i in t.options)delete t.options[i].location,lt(t.options[i].value);else gi(t)&&Li(t.style)||(yi(t)||vi(t))&&rt(t.style)?delete t.style.location:Ei(t)&<(t.children)})}function Mn(e,t){t===void 0&&(t={}),t=P({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new In(e,t).parse();if(i.err){var r=SyntaxError(T[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return t!=null&&t.captureLocation||lt(i.val),i.val}function Xe(e,t){var i=t&&t.cache?t.cache:jn,r=t&&t.serializer?t.serializer:Un,n=t&&t.strategy?t.strategy:Dn;return n(e,{cache:i,serializer:r})}function Cn(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ii(e,t,i,r){var n=Cn(r)?r:i(r),o=t.get(n);return typeof o=="undefined"&&(o=e.call(this,r),t.set(n,o)),o}function Ni(e,t,i){var r=Array.prototype.slice.call(arguments,3),n=i(r),o=t.get(n);return typeof o=="undefined"&&(o=e.apply(this,r),t.set(n,o)),o}function dt(e,t,i,r,n){return i.bind(t,e,r,n)}function Dn(e,t){var i=e.length===1?Ii:Ni;return dt(e,this,i,t.cache.create(),t.serializer)}function kn(e,t){return dt(e,this,Ni,t.cache.create(),t.serializer)}function Rn(e,t){return dt(e,this,Ii,t.cache.create(),t.serializer)}var Un=function(){return JSON.stringify(arguments)};function gt(){this.cache=Object.create(null)}gt.prototype.get=function(e){return this.cache[e]};gt.prototype.set=function(e,t){this.cache[e]=t};var jn={create:function(){return new gt}},Ze={variadic:kn,monadic:Rn},he;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(he||(he={}));var ke=function(e){Q(t,e);function t(i,r,n){var o=e.call(this,i)||this;return o.code=r,o.originalMessage=n,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Rt=function(e){Q(t,e);function t(i,r,n,o){return e.call(this,'Invalid values for "'.concat(i,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),he.INVALID_VALUE,o)||this}return t}(ke),$n=function(e){Q(t,e);function t(i,r,n){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(r),he.INVALID_VALUE,n)||this}return t}(ke),Fn=function(e){Q(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,'"'),he.MISSING_VALUE,r)||this}return t}(ke),G;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(G||(G={}));function Gn(e){return e.length<2?e:e.reduce(function(t,i){var r=t[t.length-1];return!r||r.type!==G.literal||i.type!==G.literal?t.push(i):r.value+=i.value,t},[])}function zn(e){return typeof e=="function"}function Ae(e,t,i,r,n,o,s){if(e.length===1&&Nt(e[0]))return[{type:G.literal,value:e[0].value}];for(var a=[],c=0,l=e;c<l.length;c++){var u=l[c];if(Nt(u)){a.push({type:G.literal,value:u.value});continue}if(sn(u)){typeof o=="number"&&a.push({type:G.literal,value:i.getNumberFormat(t).format(o)});continue}var h=u.value;if(!(n&&h in n))throw new Fn(h,s);var m=n[h];if(on(u)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),a.push({type:typeof m=="string"?G.literal:G.object,value:m});continue}if(yi(u)){var f=typeof u.style=="string"?r.date[u.style]:rt(u.style)?u.style.parsedOptions:void 0;a.push({type:G.literal,value:i.getDateTimeFormat(t,f).format(m)});continue}if(vi(u)){var f=typeof u.style=="string"?r.time[u.style]:rt(u.style)?u.style.parsedOptions:r.time.medium;a.push({type:G.literal,value:i.getDateTimeFormat(t,f).format(m)});continue}if(gi(u)){var f=typeof u.style=="string"?r.number[u.style]:Li(u.style)?u.style.parsedOptions:void 0;f&&f.scale&&(m=m*(f.scale||1)),a.push({type:G.literal,value:i.getNumberFormat(t,f).format(m)});continue}if(Ei(u)){var y=u.children,_=u.value,O=n[_];if(!zn(O))throw new $n(_,"function",s);var E=Ae(y,t,i,r,n,o),S=O(E.map(function(N){return N.value}));Array.isArray(S)||(S=[S]),a.push.apply(a,S.map(function(N){return{type:typeof N=="string"?G.literal:G.object,value:N}}))}if(bi(u)){var x=u.options[m]||u.options.other;if(!x)throw new Rt(u.value,m,Object.keys(u.options),s);a.push.apply(a,Ae(x.value,t,i,r,n));continue}if(_i(u)){var x=u.options["=".concat(m)];if(!x){if(!Intl.PluralRules)throw new ke(`Intl.PluralRules is not available in this environment.
|
|
1
|
+
"use strict";var mr=Object.defineProperty,pr=Object.defineProperties;var dr=Object.getOwnPropertyDescriptors;var xt=Object.getOwnPropertySymbols;var br=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable;var Ge=(e,t,i)=>t in e?mr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Tt=(e,t)=>{for(var i in t||(t={}))br.call(t,i)&&Ge(e,i,t[i]);if(xt)for(var i of xt(t))gr.call(t,i)&&Ge(e,i,t[i]);return e},wt=(e,t)=>pr(e,dr(t));var V=(e,t,i)=>Ge(e,typeof t!="symbol"?t+"":t,i);var St=(e,t,i)=>new Promise((r,n)=>{var o=c=>{try{a(i.next(c))}catch(l){n(l)}},s=c=>{try{a(i.throw(c))}catch(l){n(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(o,s);a((i=i.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function U(){}function ci(e){return e()}function Pt(){return Object.create(null)}function te(e){e.forEach(ci)}function mt(e){return typeof e=="function"}function hi(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function yr(e){return Object.keys(e).length===0}function fi(e,...t){if(e==null){for(const r of t)r(void 0);return U}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function vr(e,t,i){e.$$.on_destroy.push(fi(t,i))}const _r=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function d(e,t){e.appendChild(t)}function Er(e,t,i){const r=Lr(e);if(!r.getElementById(t)){const n=v("style");n.id=t,n.textContent=i,xr(r,n)}}function Lr(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function xr(e,t){return d(e.head||e,t),t.sheet}function I(e,t,i){e.insertBefore(t,i||null)}function A(e){e.parentNode&&e.parentNode.removeChild(e)}function Ce(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function v(e){return document.createElement(e)}function be(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function $(e){return document.createTextNode(e)}function R(){return $(" ")}function Tr(){return $("")}function Y(e,t,i,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function b(e,t,i){i==null?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function mi(e){return e===""?null:+e}function wr(e){return Array.from(e.childNodes)}function W(e,t){t=""+t,e.data!==t&&(e.data=t)}function ve(e,t){e.value=t==null?"":t}function ze(e,t,i,r){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function Ne(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 At(e){const t=e.querySelector(":checked");return t&&t.__value}function Sr(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let pt;function ye(e){pt=e}const se=[],He=[];let ae=[];const Bt=[],Pr=Promise.resolve();let Ke=!1;function Ar(){Ke||(Ke=!0,Pr.then(Z))}function _e(e){ae.push(e)}const We=new Set;let ne=0;function Z(){if(ne!==0)return;const e=pt;do{try{for(;ne<se.length;){const t=se[ne];ne++,ye(t),Br(t.$$)}}catch(t){throw se.length=0,ne=0,t}for(ye(null),se.length=0,ne=0;He.length;)He.pop()();for(let t=0;t<ae.length;t+=1){const i=ae[t];We.has(i)||(We.add(i),i())}ae.length=0}while(se.length);for(;Bt.length;)Bt.pop()();Ke=!1,We.clear(),ye(e)}function Br(e){if(e.fragment!==null){e.update(),te(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(_e)}}function Ir(e){const t=[],i=[];ae.forEach(r=>e.indexOf(r)===-1?t.push(r):i.push(r)),i.forEach(r=>r()),ae=t}const Nr=new Set;function Hr(e,t){e&&e.i&&(Nr.delete(e),e.i(t))}function ee(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Or(e,t,i){const{fragment:r,after_update:n}=e.$$;r&&r.m(t,i),_e(()=>{const o=e.$$.on_mount.map(ci).filter(mt);e.$$.on_destroy?e.$$.on_destroy.push(...o):te(o),e.$$.on_mount=[]}),n.forEach(_e)}function Mr(e,t){const i=e.$$;i.fragment!==null&&(Ir(i.after_update),te(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function Cr(e,t){e.$$.dirty[0]===-1&&(se.push(e),Ar(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Dr(e,t,i,r,n,o,s=null,a=[-1]){const c=pt;ye(e);const l=e.$$={fragment:null,ctx:[],props:o,update:U,not_equal:n,bound:Pt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Pt(),dirty:a,skip_bound:!1,root:t.target||c.$$.root};s&&s(l.root);let u=!1;if(l.ctx=i?i(e,t.props||{},(h,m,...f)=>{const g=f.length?f[0]:m;return l.ctx&&n(l.ctx[h],l.ctx[h]=g)&&(!l.skip_bound&&l.bound[h]&&l.bound[h](g),u&&Cr(e,h)),m}):[],l.update(),u=!0,te(l.before_update),l.fragment=r?r(l.ctx):!1,t.target){if(t.hydrate){const h=wr(t.target);l.fragment&&l.fragment.l(h),h.forEach(A)}else l.fragment&&l.fragment.c();t.intro&&Hr(e.$$.fragment),Or(e,t.target,t.anchor),Z()}ye(c)}let pi;typeof HTMLElement=="function"&&(pi=class extends HTMLElement{constructor(t,i,r){super();V(this,"$$ctor");V(this,"$$s");V(this,"$$c");V(this,"$$cn",!1);V(this,"$$d",{});V(this,"$$r",!1);V(this,"$$p_d",{});V(this,"$$l",{});V(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 St(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let s;return{c:function(){s=v("slot"),o!=="default"&&b(s,"name",o)},m:function(l,u){I(l,s,u)},d:function(l){l&&A(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},r=Sr(this);for(const o of this.$$s)o in r&&(i[o]=[t(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=Pe(s,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:wt(Tt({},this.$$d),{$$slots:i,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const s=Pe(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const o in this.$$l)for(const s of this.$$l[o]){const a=this.$$c.$on(o,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(t,i,r){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Pe(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 Pe(e,t,i,r){var o;const n=(o=i[e])==null?void 0:o.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 kr(e,t,i,r,n,o){let s=class extends pi{constructor(){super(e,i,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(c){var l;c=Pe(a,c,t),this.$$d[a]=c,(l=this.$$c)==null||l.$set({[a]:c})}})}),r.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var c;return(c=this.$$c)==null?void 0:c[a]}})}),e.element=s,s}class Rr{constructor(){V(this,"$$");V(this,"$$set")}$destroy(){Mr(this,1),this.$destroy=U}$on(t,i){if(!mt(i))return U;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&&!yr(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ur="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ur);const X={deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",periods:["Daily","Weekly","Monthly"]},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",periods:["Daily","Weekly","Monthly"]},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",periods:["Monthly"]},stake:{title:"Stake Limit",value:"stake",callValue:"stakeLimit",periods:["Monthly"]}},oe=[];function jr(e,t){return{subscribe:De(e,t).subscribe}}function De(e,t=U){let i;const r=new Set;function n(a){if(hi(e,a)&&(e=a,i)){const c=!oe.length;for(const l of r)l[1](),oe.push(l,e);if(c){for(let l=0;l<oe.length;l+=2)oe[l][0](oe[l+1]);oe.length=0}}}function o(a){n(a(e))}function s(a,c=U){const l=[a,c];return r.add(l),r.size===1&&(i=t(n,o)||U),a(e),()=>{r.delete(l),r.size===0&&i&&(i(),i=null)}}return{set:n,update:o,subscribe:s}}function me(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 o=t.length<2;return jr(i,(s,a)=>{let c=!1;const l=[];let u=0,h=U;const m=()=>{if(u)return;h();const g=t(r?l[0]:l,s,a);o?s(g):h=mt(g)?g:U},f=n.map((g,_)=>fi(g,O=>{l[_]=O,u&=~(1<<_),c&&m()},()=>{u|=1<<_}));return c=!0,m(),function(){te(f),h(),c=!1}})}function $r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fr=function(t){return Gr(t)&&!zr(t)};function Gr(e){return!!e&&typeof e=="object"}function zr(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Xr(e)}var Wr=typeof Symbol=="function"&&Symbol.for,Vr=Wr?Symbol.for("react.element"):60103;function Xr(e){return e.$$typeof===Vr}function Zr(e){return Array.isArray(e)?[]:{}}function Ee(e,t){return t.clone!==!1&&t.isMergeableObject(e)?ue(Zr(e),e,t):e}function Yr(e,t,i){return e.concat(t).map(function(r){return Ee(r,i)})}function qr(e,t){if(!t.customMerge)return ue;var i=t.customMerge(e);return typeof i=="function"?i:ue}function Jr(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function It(e){return Object.keys(e).concat(Jr(e))}function di(e,t){try{return t in e}catch(i){return!1}}function Qr(e,t){return di(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Kr(e,t,i){var r={};return i.isMergeableObject(e)&&It(e).forEach(function(n){r[n]=Ee(e[n],i)}),It(t).forEach(function(n){Qr(e,n)||(di(e,n)&&i.isMergeableObject(t[n])?r[n]=qr(n,i)(e[n],t[n],i):r[n]=Ee(t[n],i))}),r}function ue(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||Yr,i.isMergeableObject=i.isMergeableObject||Fr,i.cloneUnlessOtherwiseSpecified=Ee;var r=Array.isArray(t),n=Array.isArray(e),o=r===n;return o?r?i.arrayMerge(e,t,i):Kr(e,t,i):Ee(t,i)}ue.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return ue(r,n,i)},{})};var en=ue,tn=en;const rn=$r(tn);var et=function(e,t){return et=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])},et(e,t)};function Q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");et(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var P=function(){return P=Object.assign||function(t){for(var i,r=1,n=arguments.length;r<n;r++){i=arguments[r];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},P.apply(this,arguments)};function nn(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 tt(e){var t=typeof Symbol=="function"&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function it(e,t){var i=typeof Symbol=="function"&&e[Symbol.iterator];if(!i)return e;var r=i.call(e),n,o=[],s;try{for(;(t===void 0||t-- >0)&&!(n=r.next()).done;)o.push(n.value)}catch(a){s={error:a}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(s)throw s.error}}return o}function le(e,t,i){if(i||arguments.length===2)for(var r=0,n=t.length,o;r<n;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var T;(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"})(T||(T={}));var M;(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"})(M||(M={}));var ce;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ce||(ce={}));function Nt(e){return e.type===M.literal}function on(e){return e.type===M.argument}function bi(e){return e.type===M.number}function gi(e){return e.type===M.date}function yi(e){return e.type===M.time}function vi(e){return e.type===M.select}function _i(e){return e.type===M.plural}function sn(e){return e.type===M.pound}function Ei(e){return e.type===M.tag}function Li(e){return!!(e&&typeof e=="object"&&e.type===ce.number)}function rt(e){return!!(e&&typeof e=="object"&&e.type===ce.dateTime)}var xi=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,an=/(?:[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 ln(e){var t={};return e.replace(an,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 un=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function cn(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(un).filter(function(m){return m.length>0}),i=[],r=0,n=t;r<n.length;r++){var o=n[r],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],c=s.slice(1),l=0,u=c;l<u.length;l++){var h=u[l];if(h.length===0)throw new Error("Invalid number skeleton")}i.push({stem:a,options:c})}return i}function hn(e){return e.replace(/^(.*?)-/,"")}var Ht=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ti=/^(@+)?(\+|#+)?[rs]?$/g,fn=/(\*)(0+)|(#+)(0+)|(0+)/g,wi=/^(0+)$/;function Ot(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ti,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 Si(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 mn(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)),!wi.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Mt(e){var t={},i=Si(e);return i||t}function pn(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=hn(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=P(P(P({},t),{notation:"scientific"}),n.options.reduce(function(c,l){return P(P({},c),Mt(l))},{}));continue;case"engineering":t=P(P(P({},t),{notation:"engineering"}),n.options.reduce(function(c,l){return P(P({},c),Mt(l))},{}));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(fn,function(c,l,u,h,m,f){if(l)t.minimumIntegerDigits=u.length;else{if(h&&m)throw new Error("We currently do not support maximum integer digits");if(f)throw new Error("We currently do not support exact integer digits")}return""});continue}if(wi.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Ht.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Ht,function(c,l,u,h,m,f){return u==="*"?t.minimumFractionDigits=l.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:m&&f?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+f.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=n.options[0];o==="w"?t=P(P({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=P(P({},t),Ot(o)));continue}if(Ti.test(n.stem)){t=P(P({},t),Ot(n.stem));continue}var s=Si(n.stem);s&&(t=P(P({},t),s));var a=mn(n.stem);a&&(t=P(P({},t),a))}return t}var we={"001":["H","h"],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","hB","h","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","hB","h","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","hB","h","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"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["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 dn(e,t){for(var i="",r=0;r<e.length;r++){var n=e.charAt(r);if(n==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===n;)o++,r++;var s=1+(o&1),a=o<2?1:3+(o>>1),c="a",l=bn(t);for((l=="H"||l=="k")&&(a=0);a-- >0;)i+=c;for(;s-- >0;)i=l+i}else n==="J"?i+="H":i+=n}return i}function bn(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=we[r||""]||we[i||""]||we["".concat(i,"-001")]||we["001"];return n[0]}var Ve,gn=new RegExp("^".concat(xi.source,"*")),yn=new RegExp("".concat(xi.source,"*$"));function w(e,t){return{start:e,end:t}}var vn=!!String.prototype.startsWith&&"_a".startsWith("a",1),_n=!!String.fromCodePoint,En=!!Object.fromEntries,Ln=!!String.prototype.codePointAt,xn=!!String.prototype.trimStart,Tn=!!String.prototype.trimEnd,wn=!!Number.isSafeInteger,Sn=wn?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},nt=!0;try{var Pn=Ai("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");nt=((Ve=Pn.exec("a"))===null||Ve===void 0?void 0:Ve[0])==="a"}catch(e){nt=!1}var Ct=vn?function(t,i,r){return t.startsWith(i,r)}:function(t,i,r){return t.slice(r,r+i.length)===i},ot=_n?String.fromCodePoint:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var r="",n=t.length,o=0,s;n>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},Dt=En?Object.fromEntries:function(t){for(var i={},r=0,n=t;r<n.length;r++){var o=n[r],s=o[0],a=o[1];i[s]=a}return i},Pi=Ln?function(t,i){return t.codePointAt(i)}:function(t,i){var r=t.length;if(!(i<0||i>=r)){var n=t.charCodeAt(i),o;return n<55296||n>56319||i+1===r||(o=t.charCodeAt(i+1))<56320||o>57343?n:(n-55296<<10)+(o-56320)+65536}},An=xn?function(t){return t.trimStart()}:function(t){return t.replace(gn,"")},Bn=Tn?function(t){return t.trimEnd()}:function(t){return t.replace(yn,"")};function Ai(e,t){return new RegExp(e,t)}var st;if(nt){var kt=Ai("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");st=function(t,i){var r;kt.lastIndex=i;var n=kt.exec(t);return(r=n[1])!==null&&r!==void 0?r:""}}else st=function(t,i){for(var r=[];;){var n=Pi(t,i);if(n===void 0||Bi(n)||On(n))break;r.push(n),i+=n>=65536?2:1}return ot.apply(void 0,r)};var In=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 o=this.char();if(o===123){var s=this.parseArgument(t,r);if(s.err)return s;n.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(i==="plural"||i==="selectordinal")){var a=this.clonePosition();this.bump(),n.push({type:M.pound,location:w(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(T.UNMATCHED_CLOSING_TAG,w(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&at(this.peek()||0)){var s=this.parseTag(t,i);if(s.err)return s;n.push(s.val)}else{var s=this.parseLiteral(t,i);if(s.err)return s;n.push(s.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,i){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:M.literal,value:"<".concat(n,"/>"),location:w(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,i,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!at(this.char()))return this.error(T.INVALID_TAG,w(a,this.clonePosition()));var c=this.clonePosition(),l=this.parseTagName();return n!==l?this.error(T.UNMATCHED_CLOSING_TAG,w(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:M.tag,value:n,children:s,location:w(r,this.clonePosition())},err:null}:this.error(T.INVALID_TAG,w(a,this.clonePosition())))}else return this.error(T.UNCLOSED_TAG,w(r,this.clonePosition()))}else return this.error(T.INVALID_TAG,w(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Hn(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,i){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(i);if(o){n+=o;continue}var s=this.tryParseUnquoted(t,i);if(s){n+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){n+=a;continue}break}var c=w(r,this.clonePosition());return{val:{type:M.literal,value:n,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Nn(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 ot.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(),ot(r))},e.prototype.parseArgument=function(t,i){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,w(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(T.EMPTY_ARGUMENT,w(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(T.MALFORMED_ARGUMENT,w(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,w(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:M.argument,value:n,location:w(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,w(r,this.clonePosition())):this.parseArgumentOptions(t,i,n,r);default:return this.error(T.MALFORMED_ARGUMENT,w(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),r=st(this.message,i),n=i+r.length;this.bumpTo(n);var o=this.clonePosition(),s=w(t,o);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,i,r,n){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(a){case"":return this.error(T.EXPECT_ARGUMENT_TYPE,w(s,c));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var m=Bn(h.val);if(m.length===0)return this.error(T.EXPECT_ARGUMENT_STYLE,w(this.clonePosition(),this.clonePosition()));var f=w(u,this.clonePosition());l={style:m,styleLocation:f}}var g=this.tryParseArgumentClose(n);if(g.err)return g;var _=w(n,this.clonePosition());if(l&&Ct(l==null?void 0:l.style,"::",0)){var O=An(l.style.slice(2));if(a==="number"){var h=this.parseNumberSkeletonFromString(O,l.styleLocation);return h.err?h:{val:{type:M.number,value:r,location:_,style:h.val},err:null}}else{if(O.length===0)return this.error(T.EXPECT_DATE_TIME_SKELETON,_);var E=O;this.locale&&(E=dn(O,this.locale));var m={type:ce.dateTime,pattern:E,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?ln(E):{}},S=a==="date"?M.date:M.time;return{val:{type:S,value:r,location:_,style:m},err:null}}}return{val:{type:a==="number"?M.number:a==="date"?M.date:M.time,value:r,location:_,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var x=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS,w(x,P({},x)));this.bumpSpace();var j=this.parseIdentifierIfPossible(),N=0;if(a!=="select"&&j.value==="offset"){if(!this.bumpIf(":"))return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,w(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),j=this.parseIdentifierIfPossible(),N=h.val}var C=this.tryParsePluralOrSelectOptions(t,a,i,j);if(C.err)return C;var g=this.tryParseArgumentClose(n);if(g.err)return g;var H=w(n,this.clonePosition());return a==="select"?{val:{type:M.select,value:r,options:Dt(C.val),location:H},err:null}:{val:{type:M.plural,value:r,options:Dt(C.val),offset:N,pluralType:a==="plural"?"cardinal":"ordinal",location:H},err:null}}default:return this.error(T.INVALID_ARGUMENT_TYPE,w(s,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,w(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(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,w(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=cn(t)}catch(n){return this.error(T.INVALID_NUMBER_SKELETON,i)}return{val:{type:ce.number,tokens:r,location:i,parsedOptions:this.shouldParseSkeletons?pn(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,i,r,n){for(var o,s=!1,a=[],c=new Set,l=n.value,u=n.location;;){if(l.length===0){var h=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR,T.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;u=w(h,this.clonePosition()),l=this.message.slice(h.offset,this.offset())}else break}if(c.has(l))return this.error(i==="select"?T.DUPLICATE_SELECT_ARGUMENT_SELECTOR:T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);l==="other"&&(s=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,w(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,i,r);if(g.err)return g;var _=this.tryParseArgumentClose(f);if(_.err)return _;a.push([l,{value:g.val,location:w(f,this.clonePosition())}]),c.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,u=o.location}return a.length===0?this.error(i==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR:T.EXPECT_PLURAL_ARGUMENT_SELECTOR,w(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(T.MISSING_OTHER_CLAUSE,w(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,i){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var c=w(n,this.clonePosition());return o?(s*=r,Sn(s)?{val:s,err:null}:this.error(i,c)):this.error(t,c)},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=Pi(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(Ct(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()&&Bi(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 at(e){return e>=97&&e<=122||e>=65&&e<=90}function Nn(e){return at(e)||e===47}function Hn(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 Bi(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function On(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 lt(e){e.forEach(function(t){if(delete t.location,vi(t)||_i(t))for(var i in t.options)delete t.options[i].location,lt(t.options[i].value);else bi(t)&&Li(t.style)||(gi(t)||yi(t))&&rt(t.style)?delete t.style.location:Ei(t)&<(t.children)})}function Mn(e,t){t===void 0&&(t={}),t=P({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new In(e,t).parse();if(i.err){var r=SyntaxError(T[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return t!=null&&t.captureLocation||lt(i.val),i.val}function Xe(e,t){var i=t&&t.cache?t.cache:jn,r=t&&t.serializer?t.serializer:Un,n=t&&t.strategy?t.strategy:Dn;return n(e,{cache:i,serializer:r})}function Cn(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ii(e,t,i,r){var n=Cn(r)?r:i(r),o=t.get(n);return typeof o=="undefined"&&(o=e.call(this,r),t.set(n,o)),o}function Ni(e,t,i){var r=Array.prototype.slice.call(arguments,3),n=i(r),o=t.get(n);return typeof o=="undefined"&&(o=e.apply(this,r),t.set(n,o)),o}function dt(e,t,i,r,n){return i.bind(t,e,r,n)}function Dn(e,t){var i=e.length===1?Ii:Ni;return dt(e,this,i,t.cache.create(),t.serializer)}function kn(e,t){return dt(e,this,Ni,t.cache.create(),t.serializer)}function Rn(e,t){return dt(e,this,Ii,t.cache.create(),t.serializer)}var Un=function(){return JSON.stringify(arguments)};function bt(){this.cache=Object.create(null)}bt.prototype.get=function(e){return this.cache[e]};bt.prototype.set=function(e,t){this.cache[e]=t};var jn={create:function(){return new bt}},Ze={variadic:kn,monadic:Rn},he;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(he||(he={}));var ke=function(e){Q(t,e);function t(i,r,n){var o=e.call(this,i)||this;return o.code=r,o.originalMessage=n,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Rt=function(e){Q(t,e);function t(i,r,n,o){return e.call(this,'Invalid values for "'.concat(i,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),he.INVALID_VALUE,o)||this}return t}(ke),$n=function(e){Q(t,e);function t(i,r,n){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(r),he.INVALID_VALUE,n)||this}return t}(ke),Fn=function(e){Q(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,'"'),he.MISSING_VALUE,r)||this}return t}(ke),G;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(G||(G={}));function Gn(e){return e.length<2?e:e.reduce(function(t,i){var r=t[t.length-1];return!r||r.type!==G.literal||i.type!==G.literal?t.push(i):r.value+=i.value,t},[])}function zn(e){return typeof e=="function"}function Ae(e,t,i,r,n,o,s){if(e.length===1&&Nt(e[0]))return[{type:G.literal,value:e[0].value}];for(var a=[],c=0,l=e;c<l.length;c++){var u=l[c];if(Nt(u)){a.push({type:G.literal,value:u.value});continue}if(sn(u)){typeof o=="number"&&a.push({type:G.literal,value:i.getNumberFormat(t).format(o)});continue}var h=u.value;if(!(n&&h in n))throw new Fn(h,s);var m=n[h];if(on(u)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),a.push({type:typeof m=="string"?G.literal:G.object,value:m});continue}if(gi(u)){var f=typeof u.style=="string"?r.date[u.style]:rt(u.style)?u.style.parsedOptions:void 0;a.push({type:G.literal,value:i.getDateTimeFormat(t,f).format(m)});continue}if(yi(u)){var f=typeof u.style=="string"?r.time[u.style]:rt(u.style)?u.style.parsedOptions:r.time.medium;a.push({type:G.literal,value:i.getDateTimeFormat(t,f).format(m)});continue}if(bi(u)){var f=typeof u.style=="string"?r.number[u.style]:Li(u.style)?u.style.parsedOptions:void 0;f&&f.scale&&(m=m*(f.scale||1)),a.push({type:G.literal,value:i.getNumberFormat(t,f).format(m)});continue}if(Ei(u)){var g=u.children,_=u.value,O=n[_];if(!zn(O))throw new $n(_,"function",s);var E=Ae(g,t,i,r,n,o),S=O(E.map(function(N){return N.value}));Array.isArray(S)||(S=[S]),a.push.apply(a,S.map(function(N){return{type:typeof N=="string"?G.literal:G.object,value:N}}))}if(vi(u)){var x=u.options[m]||u.options.other;if(!x)throw new Rt(u.value,m,Object.keys(u.options),s);a.push.apply(a,Ae(x.value,t,i,r,n));continue}if(_i(u)){var x=u.options["=".concat(m)];if(!x){if(!Intl.PluralRules)throw new ke(`Intl.PluralRules is not available in this environment.
|
|
2
2
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
|
-
`,he.MISSING_INTL_API,s);var j=i.getPluralRules(t,{type:u.pluralType}).select(m-(u.offset||0));x=u.options[j]||u.options.other}if(!x)throw new Rt(u.value,m,Object.keys(u.options),s);a.push.apply(a,Ae(x.value,t,i,r,n,m-(u.offset||0)));continue}}return Gn(a)}function Wn(e,t){return t?P(P(P({},e||{}),t||{}),Object.keys(e).reduce(function(i,r){return i[r]=P(P({},e[r]),t[r]||{}),i},{})):e}function Vn(e,t){return t?Object.keys(e).reduce(function(i,r){return i[r]=Wn(e[r],t[r]),i},P({},e)):e}function Ye(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function Xn(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Xe(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,le([void 0],i,!1)))},{cache:Ye(e.number),strategy:Ze.variadic}),getDateTimeFormat:Xe(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,le([void 0],i,!1)))},{cache:Ye(e.dateTime),strategy:Ze.variadic}),getPluralRules:Xe(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,le([void 0],i,!1)))},{cache:Ye(e.pluralRules),strategy:Ze.variadic})}}var Zn=function(){function e(t,i,r,n){var o=this;if(i===void 0&&(i=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var l=o.formatToParts(c);if(l.length===1)return l[0].value;var u=l.reduce(function(h,m){return!h.length||m.type!==G.literal||typeof h[h.length-1]!="string"?h.push(m.value):h[h.length-1]+=m.value,h},[]);return u.length<=1?u[0]||"":u},this.formatToParts=function(c){return Ae(o.ast,o.locales,o.formatters,o.formats,c,void 0,o.message)},this.resolvedOptions=function(){var c;return{locale:((c=o.resolvedLocale)===null||c===void 0?void 0:c.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=n||{};s.formatters;var a=nn(s,["formatters"]);this.ast=e.__parse(t,P(P({},a),{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=Vn(e.formats,r),this.formatters=n&&n.formatters||Xn(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=Mn,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 Yn(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 o=i.slice(n,i.length).join(".");if(o in r){r=r[o];break}}r=r[i[n]]}else r=void 0;return r}const K={},qn=(e,t,i)=>i&&(t in K||(K[t]={}),e in K[t]||(K[t][e]=i),i),Hi=(e,t)=>{if(t==null)return;if(t in K&&e in K[t])return K[t][e];const i=Re(t);for(let r=0;r<i.length;r++){const n=i[r],o=Qn(n,e);if(o)return qn(e,t,o)}};let yt;const xe=De({});function Jn(e){return yt[e]||null}function Oi(e){return e in yt}function Qn(e,t){if(!Oi(e))return null;const i=Jn(e);return Yn(i,t)}function Kn(e){if(e==null)return;const t=Re(e);for(let i=0;i<t.length;i++){const r=t[i];if(Oi(r))return r}}function Mi(e,...t){delete K[e],xe.update(i=>(i[e]=rn.all([i[e]||{},...t]),i))}me([xe],([e])=>Object.keys(e));xe.subscribe(e=>yt=e);const Be={};function eo(e,t){Be[e].delete(t),Be[e].size===0&&delete Be[e]}function Ci(e){return Be[e]}function to(e){return Re(e).map(t=>{const i=Ci(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function ut(e){return e==null?!1:Re(e).some(t=>{var i;return(i=Ci(t))==null?void 0:i.size})}function io(e,t){return Promise.all(t.map(r=>(eo(e,r),r().then(n=>n.default||n)))).then(r=>Mi(e,...r))}const ye={};function Di(e){if(!ut(e))return e in ye?ye[e]:Promise.resolve();const t=to(e);return ye[e]=Promise.all(t.map(([i,r])=>io(i,r))).then(()=>{if(ut(e))return Di(e);delete ye[e]}),ye[e]}const ro={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"}}},no={fallbackLocale:null,loadingDelay:200,formats:ro,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},oo=no;function fe(){return oo}const qe=De(!1);var so=Object.defineProperty,ao=Object.defineProperties,lo=Object.getOwnPropertyDescriptors,Ut=Object.getOwnPropertySymbols,uo=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,jt=(e,t,i)=>t in e?so(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,ho=(e,t)=>{for(var i in t||(t={}))uo.call(t,i)&&jt(e,i,t[i]);if(Ut)for(var i of Ut(t))co.call(t,i)&&jt(e,i,t[i]);return e},fo=(e,t)=>ao(e,lo(t));let ct;const Oe=De(null);function $t(e){return e.split("-").map((t,i,r)=>r.slice(0,i+1).join("-")).reverse()}function Re(e,t=fe().fallbackLocale){const i=$t(e);return t?[...new Set([...i,...$t(t)])]:i}function ie(){return ct!=null?ct:void 0}Oe.subscribe(e=>{ct=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const mo=e=>{if(e&&Kn(e)&&ut(e)){const{loadingDelay:t}=fe();let i;return typeof window!="undefined"&&ie()!=null&&t?i=window.setTimeout(()=>qe.set(!0),t):qe.set(!0),Di(e).then(()=>{Oe.set(e)}).finally(()=>{clearTimeout(i),qe.set(!1)})}return Oe.set(e)},pe=fo(ho({},Oe),{set:mo}),Ue=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var po=Object.defineProperty,Me=Object.getOwnPropertySymbols,ki=Object.prototype.hasOwnProperty,Ri=Object.prototype.propertyIsEnumerable,Ft=(e,t,i)=>t in e?po(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,vt=(e,t)=>{for(var i in t||(t={}))ki.call(t,i)&&Ft(e,i,t[i]);if(Me)for(var i of Me(t))Ri.call(t,i)&&Ft(e,i,t[i]);return e},de=(e,t)=>{var i={};for(var r in e)ki.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&Me)for(var r of Me(e))t.indexOf(r)<0&&Ri.call(e,r)&&(i[r]=e[r]);return i};const Le=(e,t)=>{const{formats:i}=fe();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},go=Ue(e=>{var t=e,{locale:i,format:r}=t,n=de(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Le("number",r)),new Intl.NumberFormat(i,n)}),yo=Ue(e=>{var t=e,{locale:i,format:r}=t,n=de(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Le("date",r):Object.keys(n).length===0&&(n=Le("date","short")),new Intl.DateTimeFormat(i,n)}),vo=Ue(e=>{var t=e,{locale:i,format:r}=t,n=de(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Le("time",r):Object.keys(n).length===0&&(n=Le("time","short")),new Intl.DateTimeFormat(i,n)}),bo=(e={})=>{var t=e,{locale:i=ie()}=t,r=de(t,["locale"]);return go(vt({locale:i},r))},_o=(e={})=>{var t=e,{locale:i=ie()}=t,r=de(t,["locale"]);return yo(vt({locale:i},r))},Eo=(e={})=>{var t=e,{locale:i=ie()}=t,r=de(t,["locale"]);return vo(vt({locale:i},r))},Lo=Ue((e,t=ie())=>new Zn(e,t,fe().formats,{ignoreTag:fe().ignoreTag})),xo=(e,t={})=>{var i,r,n,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:c=ie(),default:l}=s;if(c==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Hi(e,c);if(!u)u=(o=(n=(r=(i=fe()).handleMissingMessage)==null?void 0:r.call(i,{locale:c,id:e,defaultValue:l}))!=null?n:l)!=null?o:e;else if(typeof u!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u;if(!a)return u;let h=u;try{h=Lo(u,c).format(a)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return h},To=(e,t)=>Eo(t).format(e),wo=(e,t)=>_o(t).format(e),So=(e,t)=>bo(t).format(e),Po=(e,t=ie())=>Hi(e,t),Ao=me([pe,xe],()=>xo);me([pe],()=>To);me([pe],()=>wo);me([pe],()=>So);me([pe,xe],()=>Po);function Gt(e,t){Mi(e,t)}function Bo(e){pe.set(e)}const zt={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",updateText:"will be applied on",removedLimitText:"The limit will be removed on",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",minutes:"minutes",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit",stake:"Stake Limit",lugas:"Current Deposit Limit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"There was a problem while setting the limit, please try again.",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},de:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",adjectiveMonthly:"Monatlich",adjectiveWeekly:"Wöchentlich",adjectiveDaily:"Täglich",None:"",noPeriod:".",per:"pro",updateText:"Anwendung am",removedLimitText:"Entfernung des Limits am",noLimitText:"Derzeit ist kein Limit gesetzt.",lugasPrivacy:"Das anbieterübergreifende LUGAS-Limit ist für Anbieter nicht einsehbar.",limitType:"Limitart",period:"Zeitraum",amount:"Betrag",minutes:"minute",new:"Neu",limit:"Limit",setLimit:"LIMIT SETZEN",loss:"Verlustlimit",deposit:"Einzahlungslimit",wager:"Einsatzlimit",stake:"Einsatzlimit",lugas:"Aktuelles Einzahlungslimit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ENTFERNEN",popupPendingUpdate:"Wir haben die Anfrage zur Änderung des Limits erhalten. Bitte beachten Sie, dass die Änderung erst in Kraft tritt am",popupImmediateUpdate:"Ihre neues Limit {selectedLimit} beträgt {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit geändert!",popupSuccess:"Erfolgreich",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},hr:{loadingText:"Učitavanje",Monthly:"mjesečno",Weekly:"tjedno",Daily:"dnevno",adjectiveMonthly:"mjesečno",adjectiveWeekly:"tjedno",adjectiveDaily:"dnevno",None:"Nijedno",noPeriod:"Nijedno",per:"po",updateText:"primjenjivat će se na",removedLimitText:"Ograničenje će biti uklonjeno dana",noLimitText:"Trenutno nije postavljeno ograničenje.",lugasPrivacy:"Ograničenje LUGAS za više pružatelja nije vidljivo pružateljima.",limitType:"Vrsta ograničenja",period:"Razdoblje",amount:"Iznos",minutes:"minute",new:"Novo",limit:"ograničenje",setLimit:"POSTAVITE OGRANIČENJE",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wager:"Ograničenje igranja",stake:"Ograničenje uloga",lugas:"Trenutno ograničenje uplate",sessionLimit:"Vremenska ograničenja jedne sesije",cumulativeSession:"Vremensko ograničenje razdoblja",removeLimit:"OTKAŽI",popupPendingUpdate:"Primili smo zahtjev za promjenu limita. Imajte na umu da će ažuriranje stupiti na snagu tek",popupImmediateUpdate:"Vaš novi {selectedLimit} je {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Ograničenje promijenjeno",popupSuccess:"Uspješno",kycNotNeeded:"Ograničenje uplate je uspješno postavljeno. Svojim ograničenjima možete upravljati u bilo kojem trenutku u postavkama računa.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". Kako bi povećali ograničenje na željeni iznos",uploadDocumentsButton:"UČITAJ DOKUMENTE",closeButton:"ZATVORI",popupError:"Došlo je do problema prilikom postavljanja ograničenja"},sl:{loadingText:"Nalaga...",Monthly:"na mesec",Weekly:"na teden",Daily:"na dan",adjectiveMonthly:"Mesečno",adjectiveWeekly:"Tedensko",adjectiveDaily:"Dnevno",None:"",noPeriod:".",per:"na",updateText:"uporabljeno bo na",removedLimitText:"Limit bo odstranjen",noLimitText:"Trenutno ni določen noben limit.",lugasPrivacy:"Na vse ponudnike vezan limit LUGAS, ponudnikom ni v pogled.",limitType:"Vrsta limita",period:"Časovno obdobje",amount:"Znesek",minutes:"minutes",new:"Novo",limit:"Limit",setLimit:"NASTAVITE LIMIT",loss:"Limit izgube",deposit:"Limit vplačila",wager:"Limit igralnih avtomatov",stake:"Limit vložkov",lugas:"Trenuten vplačilni limit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ODSTRANI",popupPendingUpdate:"Prejeli smo prošnjo za spremembo limita. Prosimo upoštevajte, da sprememba začne veljati šele",popupImmediateUpdate:"Vaš novi {selectedLimit} znaša {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit spremenjen!",popupSuccess:"Uspešno",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},pl:{loadingText:"Ładowanie...",Monthly:"na miesiąc",Weekly:"na tydzień",Daily:"na dzień",adjectiveMonthly:"Miesięcznie",adjectiveWeekly:"Tygodniowo",adjectiveDaily:"Codzienny",None:"",noPeriod:".",per:"za",updateText:"Zostanie zastosowany w dniu",removedLimitText:"Limit zostanie usunięty",noLimitText:"Obecnie nie posiadasz limitu.",lugasPrivacy:"Świadczeniodawcy nie widzą wzajemnie ustalonego limitu LUGAS.",limitType:"Rodzaj limitu",period:"Przedział czasowy",amount:"Kwota",minutes:"minutes",new:"Nowe",limit:"Limit",setLimit:"USTAW LIMIT",loss:"Limit Strat",deposit:"Limit wpłat",wager:"Limit na gre na automatach",stake:"Limit stawek",lugas:"Obecny limit depozytów",sessionLimit:"USUŃ",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"Otrzymaliśmy prośbę o zmianę limitu. Informujemy, że aktualizacja wejdzie w życie w dniu",popupImmediateUpdate:"Twój nowy {selectedLimit} jest {aktualizateAmount} {waluta} {selectederiod}",popupTitle:"Limit zmieniony!",popupSuccess:"Zakończone powodzeniem",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},fr:{loadingText:"Chargement, veuillez patienter...",Monthly:"mois",Weekly:"semaine",Daily:"jour",per:"par",updateText:"sera appliqué sur",noLimitText:"Aucune limite n'est actuellement définie.",limitType:"Limit Type",period:"Period",amount:"Amount",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit"},ro:{loadingText:"Se incarca, va rugam asteptati...",Monthly:"luna",Weekly:"saptamana",Daily:"zi",per:"pe",updateText:"va intra in vigoare incepand cu",noLimitText:"Momentan nu este setata o limita.",limitType:"Tip Limita",period:"Perioada",amount:"Valoare",new:"Limita pe",limit:"noua",setLimit:"ACCEPTA LIMITA",loss:"Limita de Pierdere",deposit:"Limita de Depunere",wager:"Limita de Pariere",removeLimit:"ELIMINA",popupPendingUpdate:"Am primit cererea de a schimba limita. Schimbarea va intra in vigoare in data de",popupImmediateUpdate:"Noua {selectedLimit} este {updatedAmount}{currency} pe {selectedPeriod}",popupTitle:"Limita schimbata",popupSuccess:"Succes!"},es:{loadingText:"Cargando",Monthly:"por mes",Weekly:"por semana",Daily:"por día",adjectiveMonthly:"mensual",adjectiveWeekly:"semanal",adjectiveDaily:"diario",None:"Ninguno",noPeriod:"Sin periodo",per:"por",updateText:"será aplicado en",removedLimitText:"El límite será retirado en",noLimitText:"Actualmente no hay un límite establecido.",lugasPrivacy:"El límite del proveedor-cruzado LUGAS no es visible para los proveedores.",limitType:"Tipo de Límite",period:"Periodo",amount:"Monto",minutes:"minutos",new:"Nuevo",limit:"límite",setLimit:"ESTABELECE UN LÍMITE",loss:"Límite de pérdida",deposit:"Límite de depósito",wager:"Límite de apuesta",stake:"Límite de apuesta",lugas:"Límite de depósito actual",sessionLimit:"Límites de tiempo en sesión única",cumulativeSession:"Límite de tiempo en periodo",removeLimit:"QUITAR / RETIRAR",popupPendingUpdate:"Hemos recibido la solicitud de cambiar el límite. Por favor este al tanto que el cambio solo entrará en efecto en",popupImmediateUpdate:"Tú nuevo {selectedLimit} esta {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Límite cambiado",popupSuccess:"Exitoso",popupError:"Hubo un problema mientras se establecía el límite",kycNotNeeded:"El límite de depósito se ha establecido con éxito. Puede administrar sus límites en cualquier momento en la confirguración de la cuenta.",kycNeeded1:"Pudimos estabelecer tu límite de deposito mensual en",kycNeeded2:"Para aumentar el límite a la cantidad deseada",uploadDocumentsButton:"SUBIR DOCUMENTOS / ADJUNTAR DOCUMENTOS",closeButton:"CERRAR"},pt:{loadingText:"Carregando, por favor espere..."},"pt-br":{"Loading Text":"Carregando, por favor espere...",Monthly:"Por mês",Weekly:"Semanalmente",Daily:"Diário",adjectiveMonthly:"Por mês",adjectiveWeekly:"Semanalmente",adjectiveDaily:"Diário",None:"Nada",noPeriod:"nenhum periodo",per:"per",updateText:"Serão aplicados",removedLimitText:"O limite será removido em",noLimitText:"Não há limite definido",lugasPrivacy:"O provedor LUGAS não é visível para outros provedores",limitType:"Tipo de limite",period:"Período",amount:"Quantidade",minutes:"minutos",new:"Novo",limit:"limite",setLimit:"DEFINIR LIMITE",loss:"Limite de perda",deposit:"Limite de depósito",wager:"Limite de aposta",stake:"Limite de valor da aposta",lugas:"Limite de depósito atual",sessionLimit:"Limite de sessão única",cumulativeSession:"Limite por período de tempo",removeLimit:"REMOVER",popupPendingUpdate:"Recebemos a solicitação para alterar o limite. Observe que a atualização entrará em vigor em",popupImmediateUpdate:"Seu novo limite {selectedLimit} é {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limite alterado",popupSuccess:"Operação bem-sucedida",popupError:"Ocorreu um problema ao definir o limite, por favor, tente novamente",kycNotNeeded:"O limite de depósito foi definido com sucesso. Você pode gerenciar seus limites a qualquer momento nas configurações da sua conta.",kycNeeded1:"Conseguimos definir seu depósito mensal em",kycNeeded2:"Para aumentar o limite solicitado,Pedimos que você compartilhe as informações relevantes conosco. Essas informações podem ser enviadas na seção de upload de arquivos da página",uploadDocumentsButton:"fazer upload de arquivos",closeButton:"Data"},"es-mx":{"Loading Text":"Cargando, por favor espere...",Monthly:"Mensual",Weekly:"Semanal",Daily:"Diario",adjectiveMonthly:"Mensual",adjectiveWeekly:"Semanal",adjectiveDaily:"Diario",None:"Nada",noPeriod:"Ningún periodo",per:"per",updateText:"será aplicado el",removedLimitText:"el límite será removido el",noLimitText:"No hay límite puesto",lugasPrivacy:"El proveedor LUGAS no es visible para los demás proveedores",limitType:"Tipo de límite",period:"Periodo",amount:"Monto",minutes:"minutos",new:"Nuevo",limit:"límite",setLimit:"FIJAR LÍMITE",loss:"Límite de pérdida",deposit:"Límite de depósito",wager:"Límite de apuesta",stake:"Límite de monto de apuesta",lugas:"Límite de depósito actual",sessionLimit:"Límite de sesión única",cumulativeSession:"Límite por periodo de tiempo",removeLimit:"REMOVER",popupPendingUpdate:"Hemos recibido la solicitud de cambiar el límite. Por favor tome en cuenta que la actualización entrará en efecto el",popupImmediateUpdate:"Su nuevo límite {selectedLimit} es {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Límite cambiado",popupSuccess:"Operación exitosa",popupError:"Hubo un problema fijando el límite, por favor intente de nuevo",kycNotNeeded:"El límite de depósito se ha fijado exitosamente. Ustede puede manejar sus límites en cualquier momento en ajustes de su cuenta.",kycNeeded1:"Pudimos fijar su depósito mensual en",kycNeeded2:"Para poder incrementar el límite solicitado,le pedimos nos comparta la información relevante . Esta información puede ser enviada en la sección para subir archivos en la página",uploadDocumentsButton:"subir archivos",closeButton:"CERRAR"},tr:{loadingText:"Yükleniyor lütfen bekleyin...",Monthly:"her ay",Weekly:"haftada",Daily:"günlük",adjectiveMonthly:"aylık",adjectiveWeekly:"haftalık",adjectiveDaily:"günlük",None:"",noPeriod:".",per:"",updateText:"tarihinde uygulanacak",removedLimitText:"Limit kaldırılacak",noLimitText:"Şu anda belirlenmiş bir limit bulunmamaktadır.",lugasPrivacy:"Sağlayıcılar arası LUGAS limiti sağlayıcılar tarafından görülmez.",limitType:"Limit Türü",period:"Dönem",amount:"Miktar",minutes:"dakika",new:"Yeni",limit:"sınır",setLimit:"LİMİT AYARI",loss:"Kayıp Limiti",deposit:"Para Yatırma Limiti",wager:"Bahis Limiti",stake:"Bahis Limiti",lugas:"Güncel Para Yatırma Limiti",sessionLimit:"Tek Oturum Süre Sınırları",cumulativeSession:"Dönem Zaman Sınırı",removeLimit:"KALDIRMAK",popupPendingUpdate:"Limitin değiştirilmesi talebini aldık. Lütfen güncellemenin yalnızca şu tarihte geçerli olacağını unutmayın:",popupImmediateUpdate:"Yeni {selectedLimit}'iniz: {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Sınır değiştirildi",popupSuccess:"Başarılı",popupError:"Limit ayarlanırken bir sorun oluştu, lütfen tekrar deneyin.",kycNotNeeded:"Para yatırma limiti başarıyla belirlendi. Limitlerinizi istediğiniz zaman hesap ayarlarından yönetebilirsiniz.",kycNeeded1:"Aylık para yatırma limitinizi şu şekilde ayarlayabildik:",kycNeeded2:". Limitin istenilen tutara yükseltilebilmesi için ilgili bilgileri tarafımıza iletmenizi rica ederiz. Bu bilgi belge yüklemede gönderilebilir.",uploadDocumentsButton:"BELGELERİ YÜKLE",closeButton:"KAPALI"}};function J(e){return typeof e=="function"}function Ui(e){var t=function(r){Error.call(r),r.stack=new Error().stack},i=e(t);return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var Je=Ui(function(e){return function(i){e(this),this.message=i?i.length+` errors occurred during unsubscription:
|
|
3
|
+
`,he.MISSING_INTL_API,s);var j=i.getPluralRules(t,{type:u.pluralType}).select(m-(u.offset||0));x=u.options[j]||u.options.other}if(!x)throw new Rt(u.value,m,Object.keys(u.options),s);a.push.apply(a,Ae(x.value,t,i,r,n,m-(u.offset||0)));continue}}return Gn(a)}function Wn(e,t){return t?P(P(P({},e||{}),t||{}),Object.keys(e).reduce(function(i,r){return i[r]=P(P({},e[r]),t[r]||{}),i},{})):e}function Vn(e,t){return t?Object.keys(e).reduce(function(i,r){return i[r]=Wn(e[r],t[r]),i},P({},e)):e}function Ye(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function Xn(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Xe(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,le([void 0],i,!1)))},{cache:Ye(e.number),strategy:Ze.variadic}),getDateTimeFormat:Xe(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,le([void 0],i,!1)))},{cache:Ye(e.dateTime),strategy:Ze.variadic}),getPluralRules:Xe(function(){for(var t,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,le([void 0],i,!1)))},{cache:Ye(e.pluralRules),strategy:Ze.variadic})}}var Zn=function(){function e(t,i,r,n){var o=this;if(i===void 0&&(i=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var l=o.formatToParts(c);if(l.length===1)return l[0].value;var u=l.reduce(function(h,m){return!h.length||m.type!==G.literal||typeof h[h.length-1]!="string"?h.push(m.value):h[h.length-1]+=m.value,h},[]);return u.length<=1?u[0]||"":u},this.formatToParts=function(c){return Ae(o.ast,o.locales,o.formatters,o.formats,c,void 0,o.message)},this.resolvedOptions=function(){var c;return{locale:((c=o.resolvedLocale)===null||c===void 0?void 0:c.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=n||{};s.formatters;var a=nn(s,["formatters"]);this.ast=e.__parse(t,P(P({},a),{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=Vn(e.formats,r),this.formatters=n&&n.formatters||Xn(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=Mn,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 Yn(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 o=i.slice(n,i.length).join(".");if(o in r){r=r[o];break}}r=r[i[n]]}else r=void 0;return r}const K={},qn=(e,t,i)=>i&&(t in K||(K[t]={}),e in K[t]||(K[t][e]=i),i),Hi=(e,t)=>{if(t==null)return;if(t in K&&e in K[t])return K[t][e];const i=Re(t);for(let r=0;r<i.length;r++){const n=i[r],o=Qn(n,e);if(o)return qn(e,t,o)}};let gt;const xe=De({});function Jn(e){return gt[e]||null}function Oi(e){return e in gt}function Qn(e,t){if(!Oi(e))return null;const i=Jn(e);return Yn(i,t)}function Kn(e){if(e==null)return;const t=Re(e);for(let i=0;i<t.length;i++){const r=t[i];if(Oi(r))return r}}function Mi(e,...t){delete K[e],xe.update(i=>(i[e]=rn.all([i[e]||{},...t]),i))}me([xe],([e])=>Object.keys(e));xe.subscribe(e=>gt=e);const Be={};function eo(e,t){Be[e].delete(t),Be[e].size===0&&delete Be[e]}function Ci(e){return Be[e]}function to(e){return Re(e).map(t=>{const i=Ci(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function ut(e){return e==null?!1:Re(e).some(t=>{var i;return(i=Ci(t))==null?void 0:i.size})}function io(e,t){return Promise.all(t.map(r=>(eo(e,r),r().then(n=>n.default||n)))).then(r=>Mi(e,...r))}const ge={};function Di(e){if(!ut(e))return e in ge?ge[e]:Promise.resolve();const t=to(e);return ge[e]=Promise.all(t.map(([i,r])=>io(i,r))).then(()=>{if(ut(e))return Di(e);delete ge[e]}),ge[e]}const ro={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"}}},no={fallbackLocale:null,loadingDelay:200,formats:ro,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},oo=no;function fe(){return oo}const qe=De(!1);var so=Object.defineProperty,ao=Object.defineProperties,lo=Object.getOwnPropertyDescriptors,Ut=Object.getOwnPropertySymbols,uo=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,jt=(e,t,i)=>t in e?so(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,ho=(e,t)=>{for(var i in t||(t={}))uo.call(t,i)&&jt(e,i,t[i]);if(Ut)for(var i of Ut(t))co.call(t,i)&&jt(e,i,t[i]);return e},fo=(e,t)=>ao(e,lo(t));let ct;const Oe=De(null);function $t(e){return e.split("-").map((t,i,r)=>r.slice(0,i+1).join("-")).reverse()}function Re(e,t=fe().fallbackLocale){const i=$t(e);return t?[...new Set([...i,...$t(t)])]:i}function ie(){return ct!=null?ct:void 0}Oe.subscribe(e=>{ct=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const mo=e=>{if(e&&Kn(e)&&ut(e)){const{loadingDelay:t}=fe();let i;return typeof window!="undefined"&&ie()!=null&&t?i=window.setTimeout(()=>qe.set(!0),t):qe.set(!0),Di(e).then(()=>{Oe.set(e)}).finally(()=>{clearTimeout(i),qe.set(!1)})}return Oe.set(e)},pe=fo(ho({},Oe),{set:mo}),Ue=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var po=Object.defineProperty,Me=Object.getOwnPropertySymbols,ki=Object.prototype.hasOwnProperty,Ri=Object.prototype.propertyIsEnumerable,Ft=(e,t,i)=>t in e?po(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,yt=(e,t)=>{for(var i in t||(t={}))ki.call(t,i)&&Ft(e,i,t[i]);if(Me)for(var i of Me(t))Ri.call(t,i)&&Ft(e,i,t[i]);return e},de=(e,t)=>{var i={};for(var r in e)ki.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&Me)for(var r of Me(e))t.indexOf(r)<0&&Ri.call(e,r)&&(i[r]=e[r]);return i};const Le=(e,t)=>{const{formats:i}=fe();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},bo=Ue(e=>{var t=e,{locale:i,format:r}=t,n=de(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Le("number",r)),new Intl.NumberFormat(i,n)}),go=Ue(e=>{var t=e,{locale:i,format:r}=t,n=de(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Le("date",r):Object.keys(n).length===0&&(n=Le("date","short")),new Intl.DateTimeFormat(i,n)}),yo=Ue(e=>{var t=e,{locale:i,format:r}=t,n=de(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Le("time",r):Object.keys(n).length===0&&(n=Le("time","short")),new Intl.DateTimeFormat(i,n)}),vo=(e={})=>{var t=e,{locale:i=ie()}=t,r=de(t,["locale"]);return bo(yt({locale:i},r))},_o=(e={})=>{var t=e,{locale:i=ie()}=t,r=de(t,["locale"]);return go(yt({locale:i},r))},Eo=(e={})=>{var t=e,{locale:i=ie()}=t,r=de(t,["locale"]);return yo(yt({locale:i},r))},Lo=Ue((e,t=ie())=>new Zn(e,t,fe().formats,{ignoreTag:fe().ignoreTag})),xo=(e,t={})=>{var i,r,n,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:c=ie(),default:l}=s;if(c==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Hi(e,c);if(!u)u=(o=(n=(r=(i=fe()).handleMissingMessage)==null?void 0:r.call(i,{locale:c,id:e,defaultValue:l}))!=null?n:l)!=null?o:e;else if(typeof u!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u;if(!a)return u;let h=u;try{h=Lo(u,c).format(a)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return h},To=(e,t)=>Eo(t).format(e),wo=(e,t)=>_o(t).format(e),So=(e,t)=>vo(t).format(e),Po=(e,t=ie())=>Hi(e,t),Ao=me([pe,xe],()=>xo);me([pe],()=>To);me([pe],()=>wo);me([pe],()=>So);me([pe,xe],()=>Po);function Gt(e,t){Mi(e,t)}function Bo(e){pe.set(e)}const zt={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",updateText:"will be applied on",removedLimitText:"The limit will be removed on",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",minutes:"minutes",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit",stake:"Stake Limit",lugas:"Current Deposit Limit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"There was a problem while setting the limit, please try again.",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},de:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",adjectiveMonthly:"Monatlich",adjectiveWeekly:"Wöchentlich",adjectiveDaily:"Täglich",None:"",noPeriod:".",per:"pro",updateText:"Anwendung am",removedLimitText:"Entfernung des Limits am",noLimitText:"Derzeit ist kein Limit gesetzt.",lugasPrivacy:"Das anbieterübergreifende LUGAS-Limit ist für Anbieter nicht einsehbar.",limitType:"Limitart",period:"Zeitraum",amount:"Betrag",minutes:"minute",new:"Neu",limit:"Limit",setLimit:"LIMIT SETZEN",loss:"Verlustlimit",deposit:"Einzahlungslimit",wager:"Einsatzlimit",stake:"Einsatzlimit",lugas:"Aktuelles Einzahlungslimit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ENTFERNEN",popupPendingUpdate:"Wir haben die Anfrage zur Änderung des Limits erhalten. Bitte beachten Sie, dass die Änderung erst in Kraft tritt am",popupImmediateUpdate:"Ihre neues Limit {selectedLimit} beträgt {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit geändert!",popupSuccess:"Erfolgreich",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},hr:{loadingText:"Učitavanje",Monthly:"mjesečno",Weekly:"tjedno",Daily:"dnevno",adjectiveMonthly:"mjesečno",adjectiveWeekly:"tjedno",adjectiveDaily:"dnevno",None:"Nijedno",noPeriod:"Nijedno",per:"po",updateText:"primjenjivat će se na",removedLimitText:"Ograničenje će biti uklonjeno dana",noLimitText:"Trenutno nije postavljeno ograničenje.",lugasPrivacy:"Ograničenje LUGAS za više pružatelja nije vidljivo pružateljima.",limitType:"Vrsta ograničenja",period:"Razdoblje",amount:"Iznos",minutes:"minute",new:"Novo",limit:"ograničenje",setLimit:"POSTAVITE OGRANIČENJE",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wager:"Ograničenje igranja",stake:"Ograničenje uloga",lugas:"Trenutno ograničenje uplate",sessionLimit:"Vremenska ograničenja jedne sesije",cumulativeSession:"Vremensko ograničenje razdoblja",removeLimit:"OTKAŽI",popupPendingUpdate:"Primili smo zahtjev za promjenu limita. Imajte na umu da će ažuriranje stupiti na snagu tek",popupImmediateUpdate:"Vaš novi {selectedLimit} je {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Ograničenje promijenjeno",popupSuccess:"Uspješno",kycNotNeeded:"Ograničenje uplate je uspješno postavljeno. Svojim ograničenjima možete upravljati u bilo kojem trenutku u postavkama računa.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". Kako bi povećali ograničenje na željeni iznos",uploadDocumentsButton:"UČITAJ DOKUMENTE",closeButton:"ZATVORI",popupError:"Došlo je do problema prilikom postavljanja ograničenja"},sl:{loadingText:"Nalaga...",Monthly:"na mesec",Weekly:"na teden",Daily:"na dan",adjectiveMonthly:"Mesečno",adjectiveWeekly:"Tedensko",adjectiveDaily:"Dnevno",None:"",noPeriod:".",per:"na",updateText:"uporabljeno bo na",removedLimitText:"Limit bo odstranjen",noLimitText:"Trenutno ni določen noben limit.",lugasPrivacy:"Na vse ponudnike vezan limit LUGAS, ponudnikom ni v pogled.",limitType:"Vrsta limita",period:"Časovno obdobje",amount:"Znesek",minutes:"minutes",new:"Novo",limit:"Limit",setLimit:"NASTAVITE LIMIT",loss:"Limit izgube",deposit:"Limit vplačila",wager:"Limit igralnih avtomatov",stake:"Limit vložkov",lugas:"Trenuten vplačilni limit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ODSTRANI",popupPendingUpdate:"Prejeli smo prošnjo za spremembo limita. Prosimo upoštevajte, da sprememba začne veljati šele",popupImmediateUpdate:"Vaš novi {selectedLimit} znaša {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit spremenjen!",popupSuccess:"Uspešno",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},pl:{loadingText:"Ładowanie...",Monthly:"na miesiąc",Weekly:"na tydzień",Daily:"na dzień",adjectiveMonthly:"Miesięcznie",adjectiveWeekly:"Tygodniowo",adjectiveDaily:"Codzienny",None:"",noPeriod:".",per:"za",updateText:"Zostanie zastosowany w dniu",removedLimitText:"Limit zostanie usunięty",noLimitText:"Obecnie nie posiadasz limitu.",lugasPrivacy:"Świadczeniodawcy nie widzą wzajemnie ustalonego limitu LUGAS.",limitType:"Rodzaj limitu",period:"Przedział czasowy",amount:"Kwota",minutes:"minutes",new:"Nowe",limit:"Limit",setLimit:"USTAW LIMIT",loss:"Limit Strat",deposit:"Limit wpłat",wager:"Limit na gre na automatach",stake:"Limit stawek",lugas:"Obecny limit depozytów",sessionLimit:"USUŃ",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"Otrzymaliśmy prośbę o zmianę limitu. Informujemy, że aktualizacja wejdzie w życie w dniu",popupImmediateUpdate:"Twój nowy {selectedLimit} jest {aktualizateAmount} {waluta} {selectederiod}",popupTitle:"Limit zmieniony!",popupSuccess:"Zakończone powodzeniem",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},fr:{loadingText:"Chargement, veuillez patienter...",Monthly:"mois",Weekly:"semaine",Daily:"jour",per:"par",updateText:"sera appliqué sur",noLimitText:"Aucune limite n'est actuellement définie.",limitType:"Limit Type",period:"Period",amount:"Amount",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit"},ro:{loadingText:"Se incarca, va rugam asteptati...",Monthly:"luna",Weekly:"saptamana",Daily:"zi",per:"pe",updateText:"va intra in vigoare incepand cu",noLimitText:"Momentan nu este setata o limita.",limitType:"Tip Limita",period:"Perioada",amount:"Valoare",new:"Limita pe",limit:"noua",setLimit:"ACCEPTA LIMITA",loss:"Limita de Pierdere",deposit:"Limita de Depunere",wager:"Limita de Pariere",removeLimit:"ELIMINA",popupPendingUpdate:"Am primit cererea de a schimba limita. Schimbarea va intra in vigoare in data de",popupImmediateUpdate:"Noua {selectedLimit} este {updatedAmount}{currency} pe {selectedPeriod}",popupTitle:"Limita schimbata",popupSuccess:"Succes!"},es:{loadingText:"Cargando",Monthly:"por mes",Weekly:"por semana",Daily:"por día",adjectiveMonthly:"mensual",adjectiveWeekly:"semanal",adjectiveDaily:"diario",None:"Ninguno",noPeriod:"Sin periodo",per:"por",updateText:"será aplicado en",removedLimitText:"El límite será retirado en",noLimitText:"Actualmente no hay un límite establecido.",lugasPrivacy:"El límite del proveedor-cruzado LUGAS no es visible para los proveedores.",limitType:"Tipo de Límite",period:"Periodo",amount:"Monto",minutes:"minutos",new:"Nuevo",limit:"límite",setLimit:"ESTABELECE UN LÍMITE",loss:"Límite de pérdida",deposit:"Límite de depósito",wager:"Límite de apuesta",stake:"Límite de apuesta",lugas:"Límite de depósito actual",sessionLimit:"Límites de tiempo en sesión única",cumulativeSession:"Límite de tiempo en periodo",removeLimit:"QUITAR / RETIRAR",popupPendingUpdate:"Hemos recibido la solicitud de cambiar el límite. Por favor este al tanto que el cambio solo entrará en efecto en",popupImmediateUpdate:"Tú nuevo {selectedLimit} esta {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Límite cambiado",popupSuccess:"Exitoso",popupError:"Hubo un problema mientras se establecía el límite",kycNotNeeded:"El límite de depósito se ha establecido con éxito. Puede administrar sus límites en cualquier momento en la confirguración de la cuenta.",kycNeeded1:"Pudimos estabelecer tu límite de deposito mensual en",kycNeeded2:"Para aumentar el límite a la cantidad deseada",uploadDocumentsButton:"SUBIR DOCUMENTOS / ADJUNTAR DOCUMENTOS",closeButton:"CERRAR"},pt:{loadingText:"Carregando, por favor espere..."},"pt-br":{"Loading Text":"Carregando, por favor espere...",Monthly:"Por mês",Weekly:"Semanalmente",Daily:"Diário",adjectiveMonthly:"Por mês",adjectiveWeekly:"Semanalmente",adjectiveDaily:"Diário",None:"Nada",noPeriod:"nenhum periodo",per:"per",updateText:"Serão aplicados",removedLimitText:"O limite será removido em",noLimitText:"Não há limite definido",lugasPrivacy:"O provedor LUGAS não é visível para outros provedores",limitType:"Tipo de limite",period:"Período",amount:"Quantidade",minutes:"minutos",new:"Novo",limit:"limite",setLimit:"DEFINIR LIMITE",loss:"Limite de perda",deposit:"Limite de depósito",wager:"Limite de aposta",stake:"Limite de valor da aposta",lugas:"Limite de depósito atual",sessionLimit:"Limite de sessão única",cumulativeSession:"Limite por período de tempo",removeLimit:"REMOVER",popupPendingUpdate:"Recebemos a solicitação para alterar o limite. Observe que a atualização entrará em vigor em",popupImmediateUpdate:"Seu novo limite {selectedLimit} é {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limite alterado",popupSuccess:"Operação bem-sucedida",popupError:"Ocorreu um problema ao definir o limite, por favor, tente novamente",kycNotNeeded:"O limite de depósito foi definido com sucesso. Você pode gerenciar seus limites a qualquer momento nas configurações da sua conta.",kycNeeded1:"Conseguimos definir seu depósito mensal em",kycNeeded2:"Para aumentar o limite solicitado,Pedimos que você compartilhe as informações relevantes conosco. Essas informações podem ser enviadas na seção de upload de arquivos da página",uploadDocumentsButton:"fazer upload de arquivos",closeButton:"Data"},"es-mx":{"Loading Text":"Cargando, por favor espere...",Monthly:"Mensual",Weekly:"Semanal",Daily:"Diario",adjectiveMonthly:"Mensual",adjectiveWeekly:"Semanal",adjectiveDaily:"Diario",None:"Nada",noPeriod:"Ningún periodo",per:"per",updateText:"será aplicado el",removedLimitText:"el límite será removido el",noLimitText:"No hay límite puesto",lugasPrivacy:"El proveedor LUGAS no es visible para los demás proveedores",limitType:"Tipo de límite",period:"Periodo",amount:"Monto",minutes:"minutos",new:"Nuevo",limit:"límite",setLimit:"FIJAR LÍMITE",loss:"Límite de pérdida",deposit:"Límite de depósito",wager:"Límite de apuesta",stake:"Límite de monto de apuesta",lugas:"Límite de depósito actual",sessionLimit:"Límite de sesión única",cumulativeSession:"Límite por periodo de tiempo",removeLimit:"REMOVER",popupPendingUpdate:"Hemos recibido la solicitud de cambiar el límite. Por favor tome en cuenta que la actualización entrará en efecto el",popupImmediateUpdate:"Su nuevo límite {selectedLimit} es {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Límite cambiado",popupSuccess:"Operación exitosa",popupError:"Hubo un problema fijando el límite, por favor intente de nuevo",kycNotNeeded:"El límite de depósito se ha fijado exitosamente. Ustede puede manejar sus límites en cualquier momento en ajustes de su cuenta.",kycNeeded1:"Pudimos fijar su depósito mensual en",kycNeeded2:"Para poder incrementar el límite solicitado,le pedimos nos comparta la información relevante . Esta información puede ser enviada en la sección para subir archivos en la página",uploadDocumentsButton:"subir archivos",closeButton:"CERRAR"},tr:{loadingText:"Yükleniyor lütfen bekleyin...",Monthly:"her ay",Weekly:"haftada",Daily:"günlük",adjectiveMonthly:"aylık",adjectiveWeekly:"haftalık",adjectiveDaily:"günlük",None:"",noPeriod:".",per:"",updateText:"tarihinde uygulanacak",removedLimitText:"Limit kaldırılacak",noLimitText:"Şu anda belirlenmiş bir limit bulunmamaktadır.",lugasPrivacy:"Sağlayıcılar arası LUGAS limiti sağlayıcılar tarafından görülmez.",limitType:"Limit Türü",period:"Dönem",amount:"Miktar",minutes:"dakika",new:"Yeni",limit:"sınır",setLimit:"LİMİT AYARI",loss:"Kayıp Limiti",deposit:"Para Yatırma Limiti",wager:"Bahis Limiti",stake:"Bahis Limiti",lugas:"Güncel Para Yatırma Limiti",sessionLimit:"Tek Oturum Süre Sınırları",cumulativeSession:"Dönem Zaman Sınırı",removeLimit:"KALDIRMAK",popupPendingUpdate:"Limitin değiştirilmesi talebini aldık. Lütfen güncellemenin yalnızca şu tarihte geçerli olacağını unutmayın:",popupImmediateUpdate:"Yeni {selectedLimit}'iniz: {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Sınır değiştirildi",popupSuccess:"Başarılı",popupError:"Limit ayarlanırken bir sorun oluştu, lütfen tekrar deneyin.",kycNotNeeded:"Para yatırma limiti başarıyla belirlendi. Limitlerinizi istediğiniz zaman hesap ayarlarından yönetebilirsiniz.",kycNeeded1:"Aylık para yatırma limitinizi şu şekilde ayarlayabildik:",kycNeeded2:". Limitin istenilen tutara yükseltilebilmesi için ilgili bilgileri tarafımıza iletmenizi rica ederiz. Bu bilgi belge yüklemede gönderilebilir.",uploadDocumentsButton:"BELGELERİ YÜKLE",closeButton:"KAPALI"}};function J(e){return typeof e=="function"}function Ui(e){var t=function(r){Error.call(r),r.stack=new Error().stack},i=e(t);return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var Je=Ui(function(e){return function(i){e(this),this.message=i?i.length+` errors occurred during unsubscription:
|
|
4
4
|
`+i.map(function(r,n){return n+1+") "+r.toString()}).join(`
|
|
5
|
-
`):"",this.name="UnsubscriptionError",this.errors=i}});function ht(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var je=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,i,r,n,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=tt(s),c=a.next();!c.done;c=a.next()){var l=c.value;l.remove(this)}}catch(_){t={error:_}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}else s.remove(this);var u=this.initialTeardown;if(J(u))try{u()}catch(_){o=_ instanceof Je?_.errors:[_]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var m=tt(h),f=m.next();!f.done;f=m.next()){var y=f.value;try{Wt(y)}catch(_){o=o!=null?o:[],_ instanceof Je?o=le(le([],it(o)),it(_.errors)):o.push(_)}}}catch(_){r={error:_}}finally{try{f&&!f.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}}if(o)throw new Je(o)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)Wt(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(t)}},e.prototype._hasParent=function(t){var i=this._parentage;return i===t||Array.isArray(i)&&i.includes(t)},e.prototype._addParent=function(t){var i=this._parentage;this._parentage=Array.isArray(i)?(i.push(t),i):i?[i,t]:t},e.prototype._removeParent=function(t){var i=this._parentage;i===t?this._parentage=null:Array.isArray(i)&&ht(i,t)},e.prototype.remove=function(t){var i=this._finalizers;i&&ht(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ji=je.EMPTY;function $i(e){return e instanceof je||e&&"closed"in e&&J(e.remove)&&J(e.add)&&J(e.unsubscribe)}function Wt(e){J(e)?e():e.unsubscribe()}var Fi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Gi={setTimeout:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];return setTimeout.apply(void 0,le([e,t],it(i)))},clearTimeout:function(e){var t=Gi.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Io(e){Gi.setTimeout(function(){throw e})}function Vt(){}function Ie(e){e()}var zi=function(e){Q(t,e);function t(i){var r=e.call(this)||this;return r.isStopped=!1,i?(r.destination=i,$i(i)&&i.add(r)):r.destination=Mo,r}return t.create=function(i,r,n){return new ft(i,r,n)},t.prototype.next=function(i){this.isStopped||this._next(i)},t.prototype.error=function(i){this.isStopped||(this.isStopped=!0,this._error(i))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(i){this.destination.next(i)},t.prototype._error=function(i){try{this.destination.error(i)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(je),No=Function.prototype.bind;function Qe(e,t){return No.call(e,t)}var Ho=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var i=this.partialObserver;if(i.next)try{i.next(t)}catch(r){Se(r)}},e.prototype.error=function(t){var i=this.partialObserver;if(i.error)try{i.error(t)}catch(r){Se(r)}else Se(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(i){Se(i)}},e}(),ft=function(e){Q(t,e);function t(i,r,n){var o=e.call(this)||this,s;if(J(i)||!i)s={next:i!=null?i:void 0,error:r!=null?r:void 0,complete:n!=null?n:void 0};else{var a;o&&Fi.useDeprecatedNextContext?(a=Object.create(i),a.unsubscribe=function(){return o.unsubscribe()},s={next:i.next&&Qe(i.next,a),error:i.error&&Qe(i.error,a),complete:i.complete&&Qe(i.complete,a)}):s=i}return o.destination=new Ho(s),o}return t}(zi);function Se(e){Io(e)}function Oo(e){throw e}var Mo={closed:!0,next:Vt,error:Oo,complete:Vt},Co=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Do(e){return e}function ko(e){return e.length===0?Do:e.length===1?e[0]:function(i){return e.reduce(function(r,n){return n(r)},i)}}var Xt=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(t,i,r){var n=this,o=Uo(t)?t:new ft(t,i,r);return Ie(function(){var s=n,a=s.operator,c=s.source;o.add(a?a.call(o,c):c?n._subscribe(o):n._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(i){t.error(i)}},e.prototype.forEach=function(t,i){var r=this;return i=Zt(i),new i(function(n,o){var s=new ft({next:function(a){try{t(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:n});r.subscribe(s)})},e.prototype._subscribe=function(t){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(t)},e.prototype[Co]=function(){return this},e.prototype.pipe=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return ko(t)(this)},e.prototype.toPromise=function(t){var i=this;return t=Zt(t),new t(function(r,n){var o;i.subscribe(function(s){return o=s},function(s){return n(s)},function(){return r(o)})})},e.create=function(t){return new e(t)},e}();function Zt(e){var t;return(t=e!=null?e:Fi.Promise)!==null&&t!==void 0?t:Promise}function Ro(e){return e&&J(e.next)&&J(e.error)&&J(e.complete)}function Uo(e){return e&&e instanceof zi||Ro(e)&&$i(e)}var jo=Ui(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Wi=function(e){Q(t,e);function t(){var i=e.call(this)||this;return i.closed=!1,i.currentObservers=null,i.observers=[],i.isStopped=!1,i.hasError=!1,i.thrownError=null,i}return t.prototype.lift=function(i){var r=new Yt(this,this);return r.operator=i,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new jo},t.prototype.next=function(i){var r=this;Ie(function(){var n,o;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var s=tt(r.currentObservers),a=s.next();!a.done;a=s.next()){var c=a.value;c.next(i)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}}})},t.prototype.error=function(i){var r=this;Ie(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=i;for(var n=r.observers;n.length;)n.shift().error(i)}})},t.prototype.complete=function(){var i=this;Ie(function(){if(i._throwIfClosed(),!i.isStopped){i.isStopped=!0;for(var r=i.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(i){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,i)},t.prototype._subscribe=function(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)},t.prototype._innerSubscribe=function(i){var r=this,n=this,o=n.hasError,s=n.isStopped,a=n.observers;return o||s?ji:(this.currentObservers=null,a.push(i),new je(function(){r.currentObservers=null,ht(a,i)}))},t.prototype._checkFinalizedStatuses=function(i){var r=this,n=r.hasError,o=r.thrownError,s=r.isStopped;n?i.error(o):s&&i.complete()},t.prototype.asObservable=function(){var i=new Xt;return i.source=this,i},t.create=function(i,r){return new Yt(i,r)},t}(Xt),Yt=function(e){Q(t,e);function t(i,r){var n=e.call(this)||this;return n.destination=i,n.source=r,n}return t.prototype.next=function(i){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,i)},t.prototype.error=function(i){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,i)},t.prototype.complete=function(){var i,r;(r=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||r===void 0||r.call(i)},t.prototype._subscribe=function(i){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(i))!==null&&n!==void 0?n:ji},t}(Wi),Vi={now:function(){return(Vi.delegate||Date).now()},delegate:void 0},$o=function(e){Q(t,e);function t(i,r,n){i===void 0&&(i=1/0),r===void 0&&(r=1/0),n===void 0&&(n=Vi);var o=e.call(this)||this;return o._bufferSize=i,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,i),o._windowTime=Math.max(1,r),o}return t.prototype.next=function(i){var r=this,n=r.isStopped,o=r._buffer,s=r._infiniteTimeWindow,a=r._timestampProvider,c=r._windowTime;n||(o.push(i),!s&&o.push(a.now()+c)),this._trimBuffer(),e.prototype.next.call(this,i)},t.prototype._subscribe=function(i){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(i),n=this,o=n._infiniteTimeWindow,s=n._buffer,a=s.slice(),c=0;c<a.length&&!i.closed;c+=o?1:2)i.next(a[c]);return this._checkFinalizedStatuses(i),r},t.prototype._trimBuffer=function(){var i=this,r=i._bufferSize,n=i._timestampProvider,o=i._buffer,s=i._infiniteTimeWindow,a=(s?1:2)*r;if(r<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var c=n.now(),l=0,u=1;u<o.length&&o[u]<=c;u+=2)l=u;l&&o.splice(0,l+1)}},t}(Wi);const qt=[],Jt={},Fo=(e,t=0)=>{if(qt.indexOf(e)==-1){const i=new $o(t);Jt[e]=i,qt.push(e)}return Jt[e]};window.emWidgets={topic:Fo};const Go=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),{document:zo}=_r;function Wo(e){Er(e,"svelte-1ty7usg",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-1ty7usg.svelte-1ty7usg,.svelte-1ty7usg.svelte-1ty7usg::before,.svelte-1ty7usg.svelte-1ty7usg::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input.svelte-1ty7usg.svelte-1ty7usg{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A))}input.svelte-1ty7usg.svelte-1ty7usg:focus{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}select.svelte-1ty7usg.svelte-1ty7usg{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF)}select.svelte-1ty7usg.svelte-1ty7usg:focus,select.svelte-1ty7usg .svelte-1ty7usg:focus-within,select.svelte-1ty7usg .svelte-1ty7usg:focus-visible,select.svelte-1ty7usg .svelte-1ty7usg:visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}input.svelte-1ty7usg.svelte-1ty7usg::-webkit-outer-spin-button,input.svelte-1ty7usg.svelte-1ty7usg::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number].svelte-1ty7usg.svelte-1ty7usg{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gmcore.svelte-1ty7usg.svelte-1ty7usg{color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A))}.LimitsInteractionArea.svelte-1ty7usg.svelte-1ty7usg{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop.svelte-1ty7usg.svelte-1ty7usg{width:320px;padding:0 12px}.LimitsList.Desktop.svelte-1ty7usg.svelte-1ty7usg{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper.svelte-1ty7usg.svelte-1ty7usg{background:var(--emfe-w-color-white, #fff);font-size:1.3rem;border:1px solid var(--emfe-w-color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper.svelte-1ty7usg.svelte-1ty7usg:not(:first-child){margin-top:12px}.LimitWrapper.Desktop.svelte-1ty7usg.svelte-1ty7usg{width:45%;margin:12px}.LimitSubmitButton.svelte-1ty7usg.svelte-1ty7usg,.ConfirmButton.svelte-1ty7usg.svelte-1ty7usg{background:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton.svelte-1ty7usg.svelte-1ty7usg:disabled,.ConfirmButton.svelte-1ty7usg.svelte-1ty7usg:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails.svelte-1ty7usg.svelte-1ty7usg{padding:12px 0 12px 4px}.LimitDetails.svelte-1ty7usg.svelte-1ty7usg:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper.svelte-1ty7usg.svelte-1ty7usg{font-size:1.3rem;color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A))}.PendingLimit.svelte-1ty7usg.svelte-1ty7usg{color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A))}.LimitTitle.svelte-1ty7usg.svelte-1ty7usg{font-size:1.5rem}.PopupOverlay.svelte-1ty7usg.svelte-1ty7usg{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer.svelte-1ty7usg.svelte-1ty7usg{background:var(--emfe-w-color-white, #FFFFFF);font-size:1rem;color:var(--emfe-w-color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop.svelte-1ty7usg.svelte-1ty7usg{width:30vw}.PopupTitleWrapper.svelte-1ty7usg.svelte-1ty7usg{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper.svelte-1ty7usg button.svelte-1ty7usg{background:var(--emfe-w-color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph.svelte-1ty7usg.svelte-1ty7usg{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper.svelte-1ty7usg.svelte-1ty7usg{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper.svelte-1ty7usg svg.svelte-1ty7usg{height:auto;width:60px;margin:12px}.ResultIconWrapper.svelte-1ty7usg p.svelte-1ty7usg{color:#666}.LimitDetails.svelte-1ty7usg.svelte-1ty7usg{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton.svelte-1ty7usg.svelte-1ty7usg{height:28px;font-size:0.7rem;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton.svelte-1ty7usg.svelte-1ty7usg:hover{background:var(--emfe-w-color-gray-300, #58586B)}@keyframes svelte-1ty7usg-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes svelte-1ty7usg-rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator.svelte-1ty7usg.svelte-1ty7usg{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:svelte-1ty7usg-rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:svelte-1ty7usg-rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}')}function Qt(e,t,i){const r=e.slice();return r[51]=t[i],r}function Kt(e,t,i){const r=e.slice();return r[54]=t[i],r}function ei(e,t,i){const r=e.slice();return r[54]=t[i],r}function ti(e,t,i){const r=e.slice();return r[59]=t[i],r}function ii(e){let t,i;function r(s,a){return s[11]?Vo:Xo}let n=r(e),o=n(e);return{c(){t=b("div"),i=b("div"),o.c(),p(i,"class","PopupContainer "+(e[14]?"Desktop":"")+" svelte-1ty7usg"),p(t,"class","PopupOverlay svelte-1ty7usg")},m(s,a){I(s,t,a),g(t,i),o.m(i,null)},p(s,a){n===(n=r(s))&&o?o.p(s,a):(o.d(1),o=n(s),o&&(o.c(),o.m(i,null)))},d(s){s&&A(t),o.d()}}}function Vo(e){let t,i,r=e[13]("popupTitle")+"",n,o,s,a,c,l,u,h,m,f,y,_,O,E=!e[9]&&ri(e);return{c(){t=b("div"),i=b("span"),n=$(r),o=R(),s=b("button"),s.textContent="X",a=R(),c=b("div"),l=b("div"),E&&E.c(),u=R(),h=b("p"),m=$(e[12]),f=R(),y=b("button"),y.textContent="OK",p(i,"class","PopupTitle svelte-1ty7usg"),p(s,"class","ClosePopup svelte-1ty7usg"),p(t,"class","PopupTitleWrapper svelte-1ty7usg"),p(l,"class","ResultIconWrapper svelte-1ty7usg"),p(h,"class","DescriptionParagraph svelte-1ty7usg"),p(c,"class","DescriptionWrapper svelte-1ty7usg"),p(y,"class","ConfirmButton svelte-1ty7usg")},m(S,x){I(S,t,x),g(t,i),g(i,n),g(t,o),g(t,s),I(S,a,x),I(S,c,x),g(c,l),E&&E.m(l,null),g(c,u),g(c,h),g(h,m),I(S,f,x),I(S,y,x),_||(O=[Y(s,"click",e[20]),Y(y,"click",e[20])],_=!0)},p(S,x){x[0]&8192&&r!==(r=S[13]("popupTitle")+"")&&W(n,r),S[9]?E&&(E.d(1),E=null):E?E.p(S,x):(E=ri(S),E.c(),E.m(l,null)),x[0]&4096&&W(m,S[12])},d(S){S&&(A(t),A(a),A(c),A(f),A(y)),E&&E.d(),_=!1,te(O)}}}function Xo(e){let t;return{c(){t=b("div"),p(t,"class","LoadingIndicator svelte-1ty7usg")},m(i,r){I(i,t,r)},p:U,d(i){i&&A(t)}}}function ri(e){let t,i,r,n,o,s,a,c,l=e[13]("popupSuccess")+"",u;return{c(){t=ge("svg"),i=ge("defs"),r=ge("style"),n=$(`.fil0 {fill:black;fill-rule:nonzero}
|
|
6
|
-
`),o=ge("g"),s=ge("polygon"),a=R(),c=b("p"),u=$(l),p(r,"type","text/css"),p(r,"class","svelte-1ty7usg"),p(i,"class","svelte-1ty7usg"),p(s,"class","fil0 svelte-1ty7usg"),p(s,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),p(o,"class","svelte-1ty7usg"),p(t,"xmlns","http://www.w3.org/2000/svg"),p(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),p(t,"xml:space","preserve"),p(t,"version","1.1"),ze(t,"shape-rendering","geometricPrecision"),ze(t,"text-rendering","geometricPrecision"),ze(t,"image-rendering","optimizeQuality"),p(t,"viewBox","0 0 90 69"),p(t,"x","0px"),p(t,"y","0px"),p(t,"fill-rule","evenodd"),p(t,"clip-rule","evenodd"),p(t,"class","svelte-1ty7usg"),p(c,"class","svelte-1ty7usg")},m(h,m){I(h,t,m),g(t,i),g(i,r),g(r,n),g(t,o),g(o,s),I(h,a,m),I(h,c,m),g(c,u)},p(h,m){m[0]&8192&&l!==(l=h[13]("popupSuccess")+"")&&W(u,l)},d(h){h&&(A(t),A(a),A(c))}}}function Zo(e){let t,i,r,n,o,s,a,c,l,u=e[6]?`${e[13]("amount")}`:`${e[13]("new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("limit")}`,h,m,f,y,_,O=e[13]("setLimit")+"",E,S,x,j=ee(e[15]),N=[];for(let L=0;L<j.length;L+=1)N[L]=oi(ei(e,j,L));let C=e[5]&&si(e),H=e[6]&&li(e);return{c(){t=b("div"),i=b("div"),r=b("div");for(let L=0;L<N.length;L+=1)N[L].c();n=R(),o=b("form"),C&&C.c(),s=R(),H&&H.c(),a=R(),c=b("label"),l=b("span"),h=$(u),m=R(),f=b("input"),y=R(),_=b("button"),E=$(O),p(r,"class","LimitsList "+(e[14]?"Desktop":"")+" svelte-1ty7usg"),p(l,"class","LimitInputText svelte-1ty7usg"),p(c,"class","LimitAmountInputWrapper svelte-1ty7usg"),p(f,"type","number"),p(f,"pattern","[0-9]*"),p(f,"class","svelte-1ty7usg"),p(_,"class","LimitSubmitButton svelte-1ty7usg"),p(_,"type","button"),_.disabled=!0,p(o,"class","LimitsInteractionArea "+(e[14]?"Desktop":"")+" svelte-1ty7usg"),p(i,"class","LimitsPageContainer svelte-1ty7usg"),p(t,"class","player-account-gaming-limits-page-2-gmcore svelte-1ty7usg")},m(L,z){I(L,t,z),g(t,i),g(i,r);for(let D=0;D<N.length;D+=1)N[D]&&N[D].m(r,null);g(i,n),g(i,o),C&&C.m(o,null),g(o,s),H&&H.m(o,null),g(o,a),g(o,c),g(c,l),g(l,h),g(o,m),g(o,f),be(f,e[3]),g(o,y),g(o,_),g(_,E),e[34](_),S||(x=[Y(f,"input",e[33]),Y(f,"keyup",e[18]),Y(_,"click",e[17]),Y(o,"submit",e[17])],S=!0)},p(L,z){if(z[0]&581632){j=ee(L[15]);let D;for(D=0;D<j.length;D+=1){const re=ei(L,j,D);N[D]?N[D].p(re,z):(N[D]=oi(re),N[D].c(),N[D].m(r,null))}for(;D<N.length;D+=1)N[D].d(1);N.length=j.length}L[5]?C?C.p(L,z):(C=si(L),C.c(),C.m(o,s)):C&&(C.d(1),C=null),L[6]?H?H.p(L,z):(H=li(L),H.c(),H.m(o,a)):H&&(H.d(1),H=null),z[0]&8260&&u!==(u=L[6]?`${L[13]("amount")}`:`${L[13]("new")} ${L[13](`gamingLimits.${L[2]}`)} ${L[13]("limit")}`)&&W(h,u),z[0]&8&&mi(f.value)!==L[3]&&be(f,L[3]),z[0]&8192&&O!==(O=L[13]("setLimit")+"")&&W(E,O)},d(L){L&&A(t),Ce(N,L),C&&C.d(),H&&H.d(),e[34](null),S=!1,te(x)}}}function Yo(e){let t;return{c(){t=b("p"),t.textContent="500 Server error",p(t,"class","svelte-1ty7usg")},m(i,r){I(i,t,r)},p:U,d(i){i&&A(t)}}}function qo(e){return{c:U,m:U,p:U,d:U}}function Jo(e){let t;return{c(){t=b("div"),p(t,"class","LoadingIndicator svelte-1ty7usg")},m(i,r){I(i,t,r)},p:U,d(i){i&&A(t)}}}function Qo(e){let t,i,r,n=e[13]("noLimitText")+"",o;return{c(){t=b("div"),i=b("div"),r=b("div"),o=$(n),p(r,"class","LimitDetailsTextWrapper svelte-1ty7usg"),p(i,"class","LimitDetailsWrapper svelte-1ty7usg"),p(t,"class","LimitDetails svelte-1ty7usg")},m(s,a){I(s,t,a),g(t,i),g(i,r),g(r,o)},p(s,a){a[0]&8192&&n!==(n=s[13]("noLimitText")+"")&&W(o,n)},d(s){s&&A(t)}}}function Ko(e){let t,i=ee(e[54].currentLimits),r=[];for(let n=0;n<i.length;n+=1)r[n]=ni(ti(e,i,n));return{c(){for(let n=0;n<r.length;n+=1)r[n].c();t=Tr()},m(n,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(n,o);I(n,t,o)},p(n,o){if(o[0]&565248){i=ee(n[54].currentLimits);let s;for(s=0;s<i.length;s+=1){const a=ti(n,i,s);r[s]?r[s].p(a,o):(r[s]=ni(a),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=i.length}},d(n){n&&A(t),Ce(r,n)}}}function es(e){let t,i=`${e[13]("removedLimitText")} ${e[59].expiryDate}`,r;return{c(){t=b("div"),r=$(i),p(t,"class","PendingLimit svelte-1ty7usg")},m(n,o){I(n,t,o),g(t,r)},p(n,o){o[0]&8192&&i!==(i=`${n[13]("removedLimitText")} ${n[59].expiryDate}`)&&W(r,i)},d(n){n&&A(t)}}}function ts(e){let t,i=`${e[59].updateAmount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)} ${e[13]("updateText")} ${e[59].expiryDate}`,r;return{c(){t=b("div"),r=$(i),p(t,"class","PendingLimit svelte-1ty7usg")},m(n,o){I(n,t,o),g(t,r)},p(n,o){o[0]&8192&&i!==(i=`${n[59].updateAmount}${n[59].currency} ${n[13](`gamingLimits.${n[59].period}`)} ${n[13]("updateText")} ${n[59].expiryDate}`)&&W(r,i)},d(n){n&&A(t)}}}function is(e){let t,i=e[13]("gamingLimits.removeLimit")+"",r,n,o;function s(){return e[30](e[59])}return{c(){t=b("button"),r=$(i),p(t,"class","RemoveLimitButton svelte-1ty7usg")},m(a,c){I(a,t,c),g(t,r),n||(o=Y(t,"click",s),n=!0)},p(a,c){e=a,c[0]&8192&&i!==(i=e[13]("gamingLimits.removeLimit")+"")&&W(r,i)},d(a){a&&A(t),n=!1,o()}}}function ni(e){let t,i,r,n=`${e[59].amount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)}`,o,s,a,c;function l(f,y){if(f[59].isModified&&f[59].updateAmount!="-1")return ts;if(f[59].isModified)return es}let u=l(e),h=u&&u(e),m=!e[59].isModified&&is(e);return{c(){t=b("div"),i=b("div"),r=b("div"),o=$(n),s=R(),h&&h.c(),a=R(),m&&m.c(),c=R(),p(r,"class","CurrentLimit svelte-1ty7usg"),p(i,"class","LimitDetailsTextWrapper svelte-1ty7usg"),p(t,"class","LimitDetails svelte-1ty7usg")},m(f,y){I(f,t,y),g(t,i),g(i,r),g(r,o),g(i,s),h&&h.m(i,null),g(t,a),m&&m.m(t,null),g(t,c)},p(f,y){y[0]&8192&&n!==(n=`${f[59].amount}${f[59].currency} ${f[13](`gamingLimits.${f[59].period}`)}`)&&W(o,n),h&&h.p(f,y),f[59].isModified||m.p(f,y)},d(f){f&&A(t),h&&h.d(),m&&m.d()}}}function oi(e){let t,i,r=e[13](`gamingLimits.${e[54].value}`)+"",n,o,s;function a(u,h){return u[54].currentLimits.length>0?Ko:Qo}let l=a(e)(e);return{c(){t=b("div"),i=b("p"),n=$(r),o=R(),l.c(),s=R(),p(i,"class","LimitTitle svelte-1ty7usg"),p(t,"class","LimitWrapper "+(e[14]?"Desktop":"")+" svelte-1ty7usg")},m(u,h){I(u,t,h),g(t,i),g(i,n),g(t,o),l.m(t,null),g(t,s)},p(u,h){h[0]&8192&&r!==(r=u[13](`gamingLimits.${u[54].value}`)+"")&&W(n,r),l.p(u,h)},d(u){u&&A(t),l.d()}}}function si(e){let t,i,r=e[13]("limitType")+"",n,o,s,a,c,l=ee(e[15]),u=[];for(let h=0;h<l.length;h+=1)u[h]=ai(Kt(e,l,h));return{c(){t=b("label"),i=b("span"),n=$(r),o=R(),s=b("select");for(let h=0;h<u.length;h+=1)u[h].c();p(i,"class","LimitSelectText svelte-1ty7usg"),p(s,"name",""),p(s,"id",""),p(s,"class","svelte-1ty7usg"),e[1]===void 0&&_e(()=>e[31].call(s)),p(t,"class","LimitTypeDropdownWrapper svelte-1ty7usg")},m(h,m){I(h,t,m),g(t,i),g(i,n),g(t,o),g(t,s);for(let f=0;f<u.length;f+=1)u[f]&&u[f].m(s,null);Ne(s,e[1],!0),a||(c=[Y(s,"change",e[31]),Y(s,"change",e[16])],a=!0)},p(h,m){if(m[0]&8192&&r!==(r=h[13]("limitType")+"")&&W(n,r),m[0]&32768){l=ee(h[15]);let f;for(f=0;f<l.length;f+=1){const y=Kt(h,l,f);u[f]?u[f].p(y,m):(u[f]=ai(y),u[f].c(),u[f].m(s,null))}for(;f<u.length;f+=1)u[f].d(1);u.length=l.length}m[0]&32770&&Ne(s,h[1])},d(h){h&&A(t),Ce(u,h),a=!1,te(c)}}}function ai(e){let t,i=e[54].title+"",r;return{c(){t=b("option"),r=$(i),t.__value=e[54].value,be(t,t.__value),p(t,"class","svelte-1ty7usg")},m(n,o){I(n,t,o),g(t,r)},p:U,d(n){n&&A(t)}}}function li(e){let t,i,r=e[13]("period")+"",n,o,s,a,c,l=ee(X[e[1]].periods),u=[];for(let h=0;h<l.length;h+=1)u[h]=ui(Qt(e,l,h));return{c(){t=b("label"),i=b("span"),n=$(r),o=R(),s=b("select");for(let h=0;h<u.length;h+=1)u[h].c();p(i,"class","PeriodSelectText svelte-1ty7usg"),p(t,"class","LimitPeriodDropdownWrapper svelte-1ty7usg"),p(s,"name",""),p(s,"id",""),p(s,"class","svelte-1ty7usg"),e[2]===void 0&&_e(()=>e[32].call(s))},m(h,m){I(h,t,m),g(t,i),g(i,n),I(h,o,m),I(h,s,m);for(let f=0;f<u.length;f+=1)u[f]&&u[f].m(s,null);Ne(s,e[2],!0),a||(c=Y(s,"change",e[32]),a=!0)},p(h,m){if(m[0]&8192&&r!==(r=h[13]("period")+"")&&W(n,r),m[0]&8194){l=ee(X[h[1]].periods);let f;for(f=0;f<l.length;f+=1){const y=Qt(h,l,f);u[f]?u[f].p(y,m):(u[f]=ui(y),u[f].c(),u[f].m(s,null))}for(;f<u.length;f+=1)u[f].d(1);u.length=l.length}m[0]&6&&Ne(s,h[2])},d(h){h&&(A(t),A(o),A(s)),Ce(u,h),a=!1,c()}}}function ui(e){let t,i=e[13](`gamingLimits.${e[51]}`)+"",r,n;return{c(){t=b("option"),r=$(i),t.__value=n=e[51],be(t,t.__value),t.selected=!0,p(t,"class","svelte-1ty7usg")},m(o,s){I(o,t,s),g(t,r)},p(o,s){s[0]&8194&&i!==(i=o[13](`gamingLimits.${o[51]}`)+"")&&W(r,i),s[0]&32770&&n!==(n=o[51])&&(t.__value=n,be(t,t.__value))},d(o){o&&A(t)}}}function rs(e){let t,i,r,n,o=e[10]&&ii(e);function s(l,u){return l[7]&&!l[10]?Jo:l[7]?qo:l[8]?Yo:Zo}let a=s(e),c=a(e);return{c(){t=b("meta"),i=R(),r=b("div"),o&&o.c(),n=R(),c.c(),p(t,"name","viewport"),p(t,"content","width=device-width, initial-scale=1"),p(t,"class","svelte-1ty7usg"),p(r,"class","svelte-1ty7usg")},m(l,u){g(zo.head,t),I(l,i,u),I(l,r,u),o&&o.m(r,null),g(r,n),c.m(r,null),e[35](r)},p(l,u){l[10]?o?o.p(l,u):(o=ii(l),o.c(),o.m(r,n)):o&&(o.d(1),o=null),a===(a=s(l))&&c?c.p(l,u):(c.d(1),c=a(l),c&&(c.c(),c.m(r,null)))},i:U,o:U,d(l){l&&(A(i),A(r)),A(t),o&&o.d(),c.d(),e[35](null)}}}function ns(e,t,i){let r;br(e,Ao,d=>i(13,r=d));let{lang:n="en"}=t,{currency:o=""}=t,{limits:s=""}=t,{session:a=""}=t,{userid:c=""}=t,{endpoint:l=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{translationurl:m=""}=t,f,y=window.navigator.userAgent,_=!Go(y),O=[],E="",S="",x,j,N=!1,C=!1,H=!0,L=!1,z=!1,D=!1,re=!1,$e="",Te;const bt={EUR:"€",RON:" lei"},Zi={updatePendingError:["SYS_1037","SYS_1142","SYS_1140"]},Yi=()=>{fetch(m).then(v=>v.json()).then(v=>{Object.keys(v).forEach(B=>{Gt(B,v[B])})}).catch(v=>{console.log(v)})};Object.keys(zt).forEach(d=>{Gt(d,zt[d])});const qi=()=>{s.split(" ").forEach(v=>{X[v]?O.push(X[v]):console.error(`Unknown limit: ${v}`)}),i(1,E=O[0].value),i(2,S=X[E].periods[0]),i(5,N=O.length>1),i(6,C=X[E].periods.length>1)},Ji=()=>{i(2,S=X[E].periods[0]),i(6,C=X[E].periods.length>1)},Qi=()=>{if(!(x>0))return;i(10,D=!0),i(7,H=!0);let d=new URL(`/v2/player/${c}/limits`,l);const v={};v[X[E].callValue]=[{period:S,amount:x,currency:o}];let B={method:"PUT",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(v)};fetch(d.href,B).then(k=>(k.status>=300&&i(9,z=!0),k.json())).then(k=>{Fe(),z&&Ki(k)}).catch(k=>{console.log(k),i(7,H=!1),i(8,L=!0)})},Ki=d=>{const v=d.error.match(/errorCode:(.*)\)/)[1];console.error(`API response error: ${v}`);let B;for(const[k,F]of Object.entries(Zi))F.includes(v)&&(B=r(`gamingLimits.${k}`));B=B!=null?B:r("gamingLimits.genericError"),_t(v,B)},Fe=()=>{let d=new URL(`/v2/player/${c}/limits`,l),v=!z,B={method:"GET",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,B).then(k=>{if(k.status>=300)throw i(7,H=!1),i(8,L=!0),new Error("There was an error fetching the limits");return k.json()}).then(k=>{Te=k,D&&v&&_t(),er(Te),i(7,H=!1),i(3,x=null)}).catch(k=>{console.log(k),i(7,H=!1),i(8,L=!0)})},er=d=>{O.forEach(v=>{var B;v.currentLimits=[],(B=d[X[v.value].callValue])==null||B.forEach((k,F)=>{var Lt;const q=d[X[v.value].callValue][F];v.currentLimits.push({}),v.currentLimits[F].limitType=v.value,v.currentLimits[F].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(q.amount),v.currentLimits[F].currency=(Lt=bt[q.currency])!=null?Lt:q.currency,v.currentLimits[F].period=q.period,v.currentLimits[F].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(q.updateAmount),v.currentLimits[F].isModified=q.isModified,v.currentLimits[F].expiryDate=`${new Date(q.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),v.currentLimits=tr(v.currentLimits)})},tr=d=>{const v={Daily:0,Weekly:1,Monthly:2};return d.sort((B,k)=>v[B.period]-v[k.period]),d},ir=()=>{x>999999999999999&&i(3,x=999999999999999);const v=x-Math.floor(x)===0;x>0&&v?j.removeAttribute("disabled"):j.setAttribute("disabled","true")},_t=(d,v)=>{if(d)i(12,$e=v);else if(Te){const B=Te[X[E].callValue].filter(q=>q.period===S)[0],k=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(B.amount);let F=r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",r(`gamingLimits.${E}`).toLowerCase()).replace("{updatedAmount}",k).replace("{currency}",bt[B.currency]||B.currency).replace("{selectedPeriod}",r(`gamingLimits.${S}`).toLowerCase());i(12,$e=B.isModified?`${r("popupPendingUpdate")} ${new Date(B.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:F)}else console.error("Couldn't populate popupContent");i(11,re=!0)},Et=d=>{const v={wager:"wagering",loss:"loss",deposit:"deposit"};i(10,D=!0),i(7,H=!0);let B=new URL(`/v2/player/${c}/limits/${v[d.limitType]}?periods=${d.period}`,l),k={method:"DELETE",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"}};fetch(B.href,k).then(F=>F.json()).then(F=>{Fe()}).catch(F=>{console.log(F),i(7,H=!1),i(8,L=!0)})},rr=()=>{i(11,re=i(10,D=!1))},nr=()=>{Bo(n)},or=()=>{let d=document.createElement("style");d.innerHTML=u,f.appendChild(d)},sr=()=>{let d=new URL(h),v=document.createElement("style");fetch(d.href).then(B=>B.text()).then(B=>{v.innerHTML=B,setTimeout(()=>{f.appendChild(v)},1),setTimeout(()=>{},500)})},ar=d=>Et(d);function lr(){E=At(this),i(1,E),i(15,O)}function ur(){S=At(this),i(2,S),i(1,E)}function cr(){x=mi(this.value),i(3,x)}function hr(d){He[d?"unshift":"push"](()=>{j=d,i(4,j)})}function fr(d){He[d?"unshift":"push"](()=>{f=d,i(0,f)})}return e.$$set=d=>{"lang"in d&&i(21,n=d.lang),"currency"in d&&i(22,o=d.currency),"limits"in d&&i(23,s=d.limits),"session"in d&&i(24,a=d.session),"userid"in d&&i(25,c=d.userid),"endpoint"in d&&i(26,l=d.endpoint),"clientstyling"in d&&i(27,u=d.clientstyling),"clientstylingurl"in d&&i(28,h=d.clientstylingurl),"translationurl"in d&&i(29,m=d.translationurl)},e.$$.update=()=>{e.$$.dirty[0]&8388608&&s&&qi(),e.$$.dirty[0]&2097152&&n&&nr(),e.$$.dirty[0]&117440512&&c&&a&&l&&Fe(),e.$$.dirty[0]&268435457&&h&&f&&sr(),e.$$.dirty[0]&134217729&&u&&f&&or(),e.$$.dirty[0]&536870912&&m&&Yi()},[f,E,S,x,j,N,C,H,L,z,D,re,$e,r,_,O,Ji,Qi,ir,Et,rr,n,o,s,a,c,l,u,h,m,ar,lr,ur,cr,hr,fr]}class Xi extends Rr{constructor(t){super(),Dr(this,t,ns,rs,hi,{lang:21,currency:22,limits:23,session:24,userid:25,endpoint:26,clientstyling:27,clientstylingurl:28,translationurl:29},Wo,[-1,-1])}get lang(){return this.$$.ctx[21]}set lang(t){this.$$set({lang:t}),Z()}get currency(){return this.$$.ctx[22]}set currency(t){this.$$set({currency:t}),Z()}get limits(){return this.$$.ctx[23]}set limits(t){this.$$set({limits:t}),Z()}get session(){return this.$$.ctx[24]}set session(t){this.$$set({session:t}),Z()}get userid(){return this.$$.ctx[25]}set userid(t){this.$$set({userid:t}),Z()}get endpoint(){return this.$$.ctx[26]}set endpoint(t){this.$$set({endpoint:t}),Z()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(t){this.$$set({clientstyling:t}),Z()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Z()}get translationurl(){return this.$$.ctx[29]}set translationurl(t){this.$$set({translationurl:t}),Z()}}kr(Xi,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=Xi;
|
|
5
|
+
`):"",this.name="UnsubscriptionError",this.errors=i}});function ht(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var je=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,i,r,n,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=tt(s),c=a.next();!c.done;c=a.next()){var l=c.value;l.remove(this)}}catch(_){t={error:_}}finally{try{c&&!c.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}else s.remove(this);var u=this.initialTeardown;if(J(u))try{u()}catch(_){o=_ instanceof Je?_.errors:[_]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var m=tt(h),f=m.next();!f.done;f=m.next()){var g=f.value;try{Wt(g)}catch(_){o=o!=null?o:[],_ instanceof Je?o=le(le([],it(o)),it(_.errors)):o.push(_)}}}catch(_){r={error:_}}finally{try{f&&!f.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}}if(o)throw new Je(o)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)Wt(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(t)}},e.prototype._hasParent=function(t){var i=this._parentage;return i===t||Array.isArray(i)&&i.includes(t)},e.prototype._addParent=function(t){var i=this._parentage;this._parentage=Array.isArray(i)?(i.push(t),i):i?[i,t]:t},e.prototype._removeParent=function(t){var i=this._parentage;i===t?this._parentage=null:Array.isArray(i)&&ht(i,t)},e.prototype.remove=function(t){var i=this._finalizers;i&&ht(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ji=je.EMPTY;function $i(e){return e instanceof je||e&&"closed"in e&&J(e.remove)&&J(e.add)&&J(e.unsubscribe)}function Wt(e){J(e)?e():e.unsubscribe()}var Fi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Gi={setTimeout:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];return setTimeout.apply(void 0,le([e,t],it(i)))},clearTimeout:function(e){var t=Gi.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Io(e){Gi.setTimeout(function(){throw e})}function Vt(){}function Ie(e){e()}var zi=function(e){Q(t,e);function t(i){var r=e.call(this)||this;return r.isStopped=!1,i?(r.destination=i,$i(i)&&i.add(r)):r.destination=Mo,r}return t.create=function(i,r,n){return new ft(i,r,n)},t.prototype.next=function(i){this.isStopped||this._next(i)},t.prototype.error=function(i){this.isStopped||(this.isStopped=!0,this._error(i))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(i){this.destination.next(i)},t.prototype._error=function(i){try{this.destination.error(i)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(je),No=Function.prototype.bind;function Qe(e,t){return No.call(e,t)}var Ho=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var i=this.partialObserver;if(i.next)try{i.next(t)}catch(r){Se(r)}},e.prototype.error=function(t){var i=this.partialObserver;if(i.error)try{i.error(t)}catch(r){Se(r)}else Se(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(i){Se(i)}},e}(),ft=function(e){Q(t,e);function t(i,r,n){var o=e.call(this)||this,s;if(J(i)||!i)s={next:i!=null?i:void 0,error:r!=null?r:void 0,complete:n!=null?n:void 0};else{var a;o&&Fi.useDeprecatedNextContext?(a=Object.create(i),a.unsubscribe=function(){return o.unsubscribe()},s={next:i.next&&Qe(i.next,a),error:i.error&&Qe(i.error,a),complete:i.complete&&Qe(i.complete,a)}):s=i}return o.destination=new Ho(s),o}return t}(zi);function Se(e){Io(e)}function Oo(e){throw e}var Mo={closed:!0,next:Vt,error:Oo,complete:Vt},Co=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Do(e){return e}function ko(e){return e.length===0?Do:e.length===1?e[0]:function(i){return e.reduce(function(r,n){return n(r)},i)}}var Xt=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(t,i,r){var n=this,o=Uo(t)?t:new ft(t,i,r);return Ie(function(){var s=n,a=s.operator,c=s.source;o.add(a?a.call(o,c):c?n._subscribe(o):n._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(i){t.error(i)}},e.prototype.forEach=function(t,i){var r=this;return i=Zt(i),new i(function(n,o){var s=new ft({next:function(a){try{t(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:n});r.subscribe(s)})},e.prototype._subscribe=function(t){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(t)},e.prototype[Co]=function(){return this},e.prototype.pipe=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return ko(t)(this)},e.prototype.toPromise=function(t){var i=this;return t=Zt(t),new t(function(r,n){var o;i.subscribe(function(s){return o=s},function(s){return n(s)},function(){return r(o)})})},e.create=function(t){return new e(t)},e}();function Zt(e){var t;return(t=e!=null?e:Fi.Promise)!==null&&t!==void 0?t:Promise}function Ro(e){return e&&J(e.next)&&J(e.error)&&J(e.complete)}function Uo(e){return e&&e instanceof zi||Ro(e)&&$i(e)}var jo=Ui(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Wi=function(e){Q(t,e);function t(){var i=e.call(this)||this;return i.closed=!1,i.currentObservers=null,i.observers=[],i.isStopped=!1,i.hasError=!1,i.thrownError=null,i}return t.prototype.lift=function(i){var r=new Yt(this,this);return r.operator=i,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new jo},t.prototype.next=function(i){var r=this;Ie(function(){var n,o;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var s=tt(r.currentObservers),a=s.next();!a.done;a=s.next()){var c=a.value;c.next(i)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}}})},t.prototype.error=function(i){var r=this;Ie(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=i;for(var n=r.observers;n.length;)n.shift().error(i)}})},t.prototype.complete=function(){var i=this;Ie(function(){if(i._throwIfClosed(),!i.isStopped){i.isStopped=!0;for(var r=i.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(i){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,i)},t.prototype._subscribe=function(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)},t.prototype._innerSubscribe=function(i){var r=this,n=this,o=n.hasError,s=n.isStopped,a=n.observers;return o||s?ji:(this.currentObservers=null,a.push(i),new je(function(){r.currentObservers=null,ht(a,i)}))},t.prototype._checkFinalizedStatuses=function(i){var r=this,n=r.hasError,o=r.thrownError,s=r.isStopped;n?i.error(o):s&&i.complete()},t.prototype.asObservable=function(){var i=new Xt;return i.source=this,i},t.create=function(i,r){return new Yt(i,r)},t}(Xt),Yt=function(e){Q(t,e);function t(i,r){var n=e.call(this)||this;return n.destination=i,n.source=r,n}return t.prototype.next=function(i){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,i)},t.prototype.error=function(i){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,i)},t.prototype.complete=function(){var i,r;(r=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||r===void 0||r.call(i)},t.prototype._subscribe=function(i){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(i))!==null&&n!==void 0?n:ji},t}(Wi),Vi={now:function(){return(Vi.delegate||Date).now()},delegate:void 0},$o=function(e){Q(t,e);function t(i,r,n){i===void 0&&(i=1/0),r===void 0&&(r=1/0),n===void 0&&(n=Vi);var o=e.call(this)||this;return o._bufferSize=i,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,i),o._windowTime=Math.max(1,r),o}return t.prototype.next=function(i){var r=this,n=r.isStopped,o=r._buffer,s=r._infiniteTimeWindow,a=r._timestampProvider,c=r._windowTime;n||(o.push(i),!s&&o.push(a.now()+c)),this._trimBuffer(),e.prototype.next.call(this,i)},t.prototype._subscribe=function(i){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(i),n=this,o=n._infiniteTimeWindow,s=n._buffer,a=s.slice(),c=0;c<a.length&&!i.closed;c+=o?1:2)i.next(a[c]);return this._checkFinalizedStatuses(i),r},t.prototype._trimBuffer=function(){var i=this,r=i._bufferSize,n=i._timestampProvider,o=i._buffer,s=i._infiniteTimeWindow,a=(s?1:2)*r;if(r<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var c=n.now(),l=0,u=1;u<o.length&&o[u]<=c;u+=2)l=u;l&&o.splice(0,l+1)}},t}(Wi);const qt=[],Jt={},Fo=(e,t=0)=>{if(qt.indexOf(e)==-1){const i=new $o(t);Jt[e]=i,qt.push(e)}return Jt[e]};window.emWidgets={topic:Fo};const Go=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),{document:zo}=_r;function Wo(e){Er(e,"svelte-1vvsdee",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gmcore{color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emfe-w-color-white, #fff);font-size:1.3rem;border:1px solid var(--emfe-w-color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A))}.PendingLimit{color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A))}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:var(--emfe-w-color-white, #FFFFFF);font-size:1rem;color:var(--emfe-w-color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emfe-w-color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emfe-w-color-gray-300, #58586B)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}')}function Qt(e,t,i){const r=e.slice();return r[51]=t[i],r}function Kt(e,t,i){const r=e.slice();return r[54]=t[i],r}function ei(e,t,i){const r=e.slice();return r[54]=t[i],r}function ti(e,t,i){const r=e.slice();return r[59]=t[i],r}function ii(e){let t,i;function r(s,a){return s[11]?Vo:Xo}let n=r(e),o=n(e);return{c(){t=v("div"),i=v("div"),o.c(),b(i,"class","PopupContainer "+(e[14]?"Desktop":"")),b(t,"class","PopupOverlay")},m(s,a){I(s,t,a),d(t,i),o.m(i,null)},p(s,a){n===(n=r(s))&&o?o.p(s,a):(o.d(1),o=n(s),o&&(o.c(),o.m(i,null)))},d(s){s&&A(t),o.d()}}}function Vo(e){let t,i,r=e[13]("popupTitle")+"",n,o,s,a,c,l,u,h,m,f,g,_,O,E=!e[9]&&ri(e);return{c(){t=v("div"),i=v("span"),n=$(r),o=R(),s=v("button"),s.textContent="X",a=R(),c=v("div"),l=v("div"),E&&E.c(),u=R(),h=v("p"),m=$(e[12]),f=R(),g=v("button"),g.textContent="OK",b(i,"class","PopupTitle"),b(s,"class","ClosePopup"),b(t,"class","PopupTitleWrapper"),b(l,"class","ResultIconWrapper"),b(h,"class","DescriptionParagraph"),b(c,"class","DescriptionWrapper"),b(g,"class","ConfirmButton")},m(S,x){I(S,t,x),d(t,i),d(i,n),d(t,o),d(t,s),I(S,a,x),I(S,c,x),d(c,l),E&&E.m(l,null),d(c,u),d(c,h),d(h,m),I(S,f,x),I(S,g,x),_||(O=[Y(s,"click",e[20]),Y(g,"click",e[20])],_=!0)},p(S,x){x[0]&8192&&r!==(r=S[13]("popupTitle")+"")&&W(n,r),S[9]?E&&(E.d(1),E=null):E?E.p(S,x):(E=ri(S),E.c(),E.m(l,null)),x[0]&4096&&W(m,S[12])},d(S){S&&(A(t),A(a),A(c),A(f),A(g)),E&&E.d(),_=!1,te(O)}}}function Xo(e){let t;return{c(){t=v("div"),b(t,"class","LoadingIndicator")},m(i,r){I(i,t,r)},p:U,d(i){i&&A(t)}}}function ri(e){let t,i,r,n,o,s,a,c,l=e[13]("popupSuccess")+"",u;return{c(){t=be("svg"),i=be("defs"),r=be("style"),n=$(`.fil0 {fill:black;fill-rule:nonzero}
|
|
6
|
+
`),o=be("g"),s=be("polygon"),a=R(),c=v("p"),u=$(l),b(r,"type","text/css"),b(s,"class","fil0"),b(s,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"xml:space","preserve"),b(t,"version","1.1"),ze(t,"shape-rendering","geometricPrecision"),ze(t,"text-rendering","geometricPrecision"),ze(t,"image-rendering","optimizeQuality"),b(t,"viewBox","0 0 90 69"),b(t,"x","0px"),b(t,"y","0px"),b(t,"fill-rule","evenodd"),b(t,"clip-rule","evenodd")},m(h,m){I(h,t,m),d(t,i),d(i,r),d(r,n),d(t,o),d(o,s),I(h,a,m),I(h,c,m),d(c,u)},p(h,m){m[0]&8192&&l!==(l=h[13]("popupSuccess")+"")&&W(u,l)},d(h){h&&(A(t),A(a),A(c))}}}function Zo(e){let t,i,r,n,o,s,a,c,l,u=e[6]?`${e[13]("amount")}`:`${e[13]("new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("limit")}`,h,m,f,g,_,O=e[13]("setLimit")+"",E,S,x,j=ee(e[15]),N=[];for(let L=0;L<j.length;L+=1)N[L]=oi(ei(e,j,L));let C=e[5]&&si(e),H=e[6]&&li(e);return{c(){t=v("div"),i=v("div"),r=v("div");for(let L=0;L<N.length;L+=1)N[L].c();n=R(),o=v("form"),C&&C.c(),s=R(),H&&H.c(),a=R(),c=v("label"),l=v("span"),h=$(u),m=R(),f=v("input"),g=R(),_=v("button"),E=$(O),b(r,"class","LimitsList "+(e[14]?"Desktop":"")),b(l,"class","LimitInputText"),b(c,"class","LimitAmountInputWrapper"),b(f,"type","number"),b(f,"pattern","[0-9]*"),b(_,"class","LimitSubmitButton"),b(_,"type","button"),_.disabled=!0,b(o,"class","LimitsInteractionArea "+(e[14]?"Desktop":"")),b(i,"class","LimitsPageContainer"),b(t,"class","player-account-gaming-limits-page-2-gmcore")},m(L,z){I(L,t,z),d(t,i),d(i,r);for(let D=0;D<N.length;D+=1)N[D]&&N[D].m(r,null);d(i,n),d(i,o),C&&C.m(o,null),d(o,s),H&&H.m(o,null),d(o,a),d(o,c),d(c,l),d(l,h),d(o,m),d(o,f),ve(f,e[3]),d(o,g),d(o,_),d(_,E),e[34](_),S||(x=[Y(f,"input",e[33]),Y(f,"keyup",e[18]),Y(_,"click",e[17]),Y(o,"submit",e[17])],S=!0)},p(L,z){if(z[0]&581632){j=ee(L[15]);let D;for(D=0;D<j.length;D+=1){const re=ei(L,j,D);N[D]?N[D].p(re,z):(N[D]=oi(re),N[D].c(),N[D].m(r,null))}for(;D<N.length;D+=1)N[D].d(1);N.length=j.length}L[5]?C?C.p(L,z):(C=si(L),C.c(),C.m(o,s)):C&&(C.d(1),C=null),L[6]?H?H.p(L,z):(H=li(L),H.c(),H.m(o,a)):H&&(H.d(1),H=null),z[0]&8260&&u!==(u=L[6]?`${L[13]("amount")}`:`${L[13]("new")} ${L[13](`gamingLimits.${L[2]}`)} ${L[13]("limit")}`)&&W(h,u),z[0]&8&&mi(f.value)!==L[3]&&ve(f,L[3]),z[0]&8192&&O!==(O=L[13]("setLimit")+"")&&W(E,O)},d(L){L&&A(t),Ce(N,L),C&&C.d(),H&&H.d(),e[34](null),S=!1,te(x)}}}function Yo(e){let t;return{c(){t=v("p"),t.textContent="500 Server error"},m(i,r){I(i,t,r)},p:U,d(i){i&&A(t)}}}function qo(e){return{c:U,m:U,p:U,d:U}}function Jo(e){let t;return{c(){t=v("div"),b(t,"class","LoadingIndicator")},m(i,r){I(i,t,r)},p:U,d(i){i&&A(t)}}}function Qo(e){let t,i,r,n=e[13]("noLimitText")+"",o;return{c(){t=v("div"),i=v("div"),r=v("div"),o=$(n),b(r,"class","LimitDetailsTextWrapper"),b(i,"class","LimitDetailsWrapper"),b(t,"class","LimitDetails")},m(s,a){I(s,t,a),d(t,i),d(i,r),d(r,o)},p(s,a){a[0]&8192&&n!==(n=s[13]("noLimitText")+"")&&W(o,n)},d(s){s&&A(t)}}}function Ko(e){let t,i=ee(e[54].currentLimits),r=[];for(let n=0;n<i.length;n+=1)r[n]=ni(ti(e,i,n));return{c(){for(let n=0;n<r.length;n+=1)r[n].c();t=Tr()},m(n,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(n,o);I(n,t,o)},p(n,o){if(o[0]&565248){i=ee(n[54].currentLimits);let s;for(s=0;s<i.length;s+=1){const a=ti(n,i,s);r[s]?r[s].p(a,o):(r[s]=ni(a),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=i.length}},d(n){n&&A(t),Ce(r,n)}}}function es(e){let t,i=`${e[13]("removedLimitText")} ${e[59].expiryDate}`,r;return{c(){t=v("div"),r=$(i),b(t,"class","PendingLimit")},m(n,o){I(n,t,o),d(t,r)},p(n,o){o[0]&8192&&i!==(i=`${n[13]("removedLimitText")} ${n[59].expiryDate}`)&&W(r,i)},d(n){n&&A(t)}}}function ts(e){let t,i=`${e[59].updateAmount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)} ${e[13]("updateText")} ${e[59].expiryDate}`,r;return{c(){t=v("div"),r=$(i),b(t,"class","PendingLimit")},m(n,o){I(n,t,o),d(t,r)},p(n,o){o[0]&8192&&i!==(i=`${n[59].updateAmount}${n[59].currency} ${n[13](`gamingLimits.${n[59].period}`)} ${n[13]("updateText")} ${n[59].expiryDate}`)&&W(r,i)},d(n){n&&A(t)}}}function is(e){let t,i=e[13]("gamingLimits.removeLimit")+"",r,n,o;function s(){return e[30](e[59])}return{c(){t=v("button"),r=$(i),b(t,"class","RemoveLimitButton")},m(a,c){I(a,t,c),d(t,r),n||(o=Y(t,"click",s),n=!0)},p(a,c){e=a,c[0]&8192&&i!==(i=e[13]("gamingLimits.removeLimit")+"")&&W(r,i)},d(a){a&&A(t),n=!1,o()}}}function ni(e){let t,i,r,n=`${e[59].amount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)}`,o,s,a,c;function l(f,g){if(f[59].isModified&&f[59].updateAmount!="-1")return ts;if(f[59].isModified)return es}let u=l(e),h=u&&u(e),m=!e[59].isModified&&is(e);return{c(){t=v("div"),i=v("div"),r=v("div"),o=$(n),s=R(),h&&h.c(),a=R(),m&&m.c(),c=R(),b(r,"class","CurrentLimit"),b(i,"class","LimitDetailsTextWrapper"),b(t,"class","LimitDetails")},m(f,g){I(f,t,g),d(t,i),d(i,r),d(r,o),d(i,s),h&&h.m(i,null),d(t,a),m&&m.m(t,null),d(t,c)},p(f,g){g[0]&8192&&n!==(n=`${f[59].amount}${f[59].currency} ${f[13](`gamingLimits.${f[59].period}`)}`)&&W(o,n),h&&h.p(f,g),f[59].isModified||m.p(f,g)},d(f){f&&A(t),h&&h.d(),m&&m.d()}}}function oi(e){let t,i,r=e[13](`gamingLimits.${e[54].value}`)+"",n,o,s;function a(u,h){return u[54].currentLimits.length>0?Ko:Qo}let l=a(e)(e);return{c(){t=v("div"),i=v("p"),n=$(r),o=R(),l.c(),s=R(),b(i,"class","LimitTitle"),b(t,"class","LimitWrapper "+(e[14]?"Desktop":""))},m(u,h){I(u,t,h),d(t,i),d(i,n),d(t,o),l.m(t,null),d(t,s)},p(u,h){h[0]&8192&&r!==(r=u[13](`gamingLimits.${u[54].value}`)+"")&&W(n,r),l.p(u,h)},d(u){u&&A(t),l.d()}}}function si(e){let t,i,r=e[13]("limitType")+"",n,o,s,a,c,l=ee(e[15]),u=[];for(let h=0;h<l.length;h+=1)u[h]=ai(Kt(e,l,h));return{c(){t=v("label"),i=v("span"),n=$(r),o=R(),s=v("select");for(let h=0;h<u.length;h+=1)u[h].c();b(i,"class","LimitSelectText"),b(s,"name",""),b(s,"id",""),e[1]===void 0&&_e(()=>e[31].call(s)),b(t,"class","LimitTypeDropdownWrapper")},m(h,m){I(h,t,m),d(t,i),d(i,n),d(t,o),d(t,s);for(let f=0;f<u.length;f+=1)u[f]&&u[f].m(s,null);Ne(s,e[1],!0),a||(c=[Y(s,"change",e[31]),Y(s,"change",e[16])],a=!0)},p(h,m){if(m[0]&8192&&r!==(r=h[13]("limitType")+"")&&W(n,r),m[0]&32768){l=ee(h[15]);let f;for(f=0;f<l.length;f+=1){const g=Kt(h,l,f);u[f]?u[f].p(g,m):(u[f]=ai(g),u[f].c(),u[f].m(s,null))}for(;f<u.length;f+=1)u[f].d(1);u.length=l.length}m[0]&32770&&Ne(s,h[1])},d(h){h&&A(t),Ce(u,h),a=!1,te(c)}}}function ai(e){let t,i=e[54].title+"",r;return{c(){t=v("option"),r=$(i),t.__value=e[54].value,ve(t,t.__value)},m(n,o){I(n,t,o),d(t,r)},p:U,d(n){n&&A(t)}}}function li(e){let t,i,r=e[13]("period")+"",n,o,s,a,c,l=ee(X[e[1]].periods),u=[];for(let h=0;h<l.length;h+=1)u[h]=ui(Qt(e,l,h));return{c(){t=v("label"),i=v("span"),n=$(r),o=R(),s=v("select");for(let h=0;h<u.length;h+=1)u[h].c();b(i,"class","PeriodSelectText"),b(t,"class","LimitPeriodDropdownWrapper"),b(s,"name",""),b(s,"id",""),e[2]===void 0&&_e(()=>e[32].call(s))},m(h,m){I(h,t,m),d(t,i),d(i,n),I(h,o,m),I(h,s,m);for(let f=0;f<u.length;f+=1)u[f]&&u[f].m(s,null);Ne(s,e[2],!0),a||(c=Y(s,"change",e[32]),a=!0)},p(h,m){if(m[0]&8192&&r!==(r=h[13]("period")+"")&&W(n,r),m[0]&8194){l=ee(X[h[1]].periods);let f;for(f=0;f<l.length;f+=1){const g=Qt(h,l,f);u[f]?u[f].p(g,m):(u[f]=ui(g),u[f].c(),u[f].m(s,null))}for(;f<u.length;f+=1)u[f].d(1);u.length=l.length}m[0]&6&&Ne(s,h[2])},d(h){h&&(A(t),A(o),A(s)),Ce(u,h),a=!1,c()}}}function ui(e){let t,i=e[13](`gamingLimits.${e[51]}`)+"",r,n;return{c(){t=v("option"),r=$(i),t.__value=n=e[51],ve(t,t.__value),t.selected=!0},m(o,s){I(o,t,s),d(t,r)},p(o,s){s[0]&8194&&i!==(i=o[13](`gamingLimits.${o[51]}`)+"")&&W(r,i),s[0]&32770&&n!==(n=o[51])&&(t.__value=n,ve(t,t.__value))},d(o){o&&A(t)}}}function rs(e){let t,i,r,n,o=e[10]&&ii(e);function s(l,u){return l[7]&&!l[10]?Jo:l[7]?qo:l[8]?Yo:Zo}let a=s(e),c=a(e);return{c(){t=v("meta"),i=R(),r=v("div"),o&&o.c(),n=R(),c.c(),b(t,"name","viewport"),b(t,"content","width=device-width, initial-scale=1")},m(l,u){d(zo.head,t),I(l,i,u),I(l,r,u),o&&o.m(r,null),d(r,n),c.m(r,null),e[35](r)},p(l,u){l[10]?o?o.p(l,u):(o=ii(l),o.c(),o.m(r,n)):o&&(o.d(1),o=null),a===(a=s(l))&&c?c.p(l,u):(c.d(1),c=a(l),c&&(c.c(),c.m(r,null)))},i:U,o:U,d(l){l&&(A(i),A(r)),A(t),o&&o.d(),c.d(),e[35](null)}}}function ns(e,t,i){let r;vr(e,Ao,p=>i(13,r=p));let{lang:n="en"}=t,{currency:o=""}=t,{limits:s=""}=t,{session:a=""}=t,{userid:c=""}=t,{endpoint:l=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{translationurl:m=""}=t,f,g=window.navigator.userAgent,_=!Go(g),O=[],E="",S="",x,j,N=!1,C=!1,H=!0,L=!1,z=!1,D=!1,re=!1,$e="",Te;const vt={EUR:"€",RON:" lei"},Zi={updatePendingError:["SYS_1037","SYS_1142","SYS_1140"]},Yi=()=>{fetch(m).then(y=>y.json()).then(y=>{Object.keys(y).forEach(B=>{Gt(B,y[B])})}).catch(y=>{console.log(y)})};Object.keys(zt).forEach(p=>{Gt(p,zt[p])});const qi=()=>{s.split(" ").forEach(y=>{X[y]?O.push(X[y]):console.error(`Unknown limit: ${y}`)}),i(1,E=O[0].value),i(2,S=X[E].periods[0]),i(5,N=O.length>1),i(6,C=X[E].periods.length>1)},Ji=()=>{i(2,S=X[E].periods[0]),i(6,C=X[E].periods.length>1)},Qi=()=>{if(!(x>0))return;i(10,D=!0),i(7,H=!0);let p=new URL(`/v2/player/${c}/limits`,l);const y={};y[X[E].callValue]=[{period:S,amount:x,currency:o}];let B={method:"PUT",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(y)};fetch(p.href,B).then(k=>(k.status>=300&&i(9,z=!0),k.json())).then(k=>{Fe(),z&&Ki(k)}).catch(k=>{console.log(k),i(7,H=!1),i(8,L=!0)})},Ki=p=>{const y=p.error.match(/errorCode:(.*)\)/)[1];console.error(`API response error: ${y}`);let B;for(const[k,F]of Object.entries(Zi))F.includes(y)&&(B=r(`gamingLimits.${k}`));B=B!=null?B:r("gamingLimits.genericError"),_t(y,B)},Fe=()=>{let p=new URL(`/v2/player/${c}/limits`,l),y=!z,B={method:"GET",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"}};fetch(p.href,B).then(k=>{if(k.status>=300)throw i(7,H=!1),i(8,L=!0),new Error("There was an error fetching the limits");return k.json()}).then(k=>{Te=k,D&&y&&_t(),er(Te),i(7,H=!1),i(3,x=null)}).catch(k=>{console.log(k),i(7,H=!1),i(8,L=!0)})},er=p=>{O.forEach(y=>{var B;y.currentLimits=[],(B=p[X[y.value].callValue])==null||B.forEach((k,F)=>{var Lt;const q=p[X[y.value].callValue][F];y.currentLimits.push({}),y.currentLimits[F].limitType=y.value,y.currentLimits[F].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(q.amount),y.currentLimits[F].currency=(Lt=vt[q.currency])!=null?Lt:q.currency,y.currentLimits[F].period=q.period,y.currentLimits[F].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(q.updateAmount),y.currentLimits[F].isModified=q.isModified,y.currentLimits[F].expiryDate=`${new Date(q.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),y.currentLimits=tr(y.currentLimits)})},tr=p=>{const y={Daily:0,Weekly:1,Monthly:2};return p.sort((B,k)=>y[B.period]-y[k.period]),p},ir=()=>{x>999999999999999&&i(3,x=999999999999999);const y=x-Math.floor(x)===0;x>0&&y?j.removeAttribute("disabled"):j.setAttribute("disabled","true")},_t=(p,y)=>{if(p)i(12,$e=y);else if(Te){const B=Te[X[E].callValue].filter(q=>q.period===S)[0],k=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(B.amount);let F=r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",r(`gamingLimits.${E}`).toLowerCase()).replace("{updatedAmount}",k).replace("{currency}",vt[B.currency]||B.currency).replace("{selectedPeriod}",r(`gamingLimits.${S}`).toLowerCase());i(12,$e=B.isModified?`${r("popupPendingUpdate")} ${new Date(B.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:F)}else console.error("Couldn't populate popupContent");i(11,re=!0)},Et=p=>{const y={wager:"wagering",loss:"loss",deposit:"deposit"};i(10,D=!0),i(7,H=!0);let B=new URL(`/v2/player/${c}/limits/${y[p.limitType]}?periods=${p.period}`,l),k={method:"DELETE",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"}};fetch(B.href,k).then(F=>F.json()).then(F=>{Fe()}).catch(F=>{console.log(F),i(7,H=!1),i(8,L=!0)})},rr=()=>{i(11,re=i(10,D=!1))},nr=()=>{Bo(n)},or=()=>{let p=document.createElement("style");p.innerHTML=u,f.appendChild(p)},sr=()=>{let p=new URL(h),y=document.createElement("style");fetch(p.href).then(B=>B.text()).then(B=>{y.innerHTML=B,setTimeout(()=>{f.appendChild(y)},1),setTimeout(()=>{},500)})},ar=p=>Et(p);function lr(){E=At(this),i(1,E),i(15,O)}function ur(){S=At(this),i(2,S),i(1,E)}function cr(){x=mi(this.value),i(3,x)}function hr(p){He[p?"unshift":"push"](()=>{j=p,i(4,j)})}function fr(p){He[p?"unshift":"push"](()=>{f=p,i(0,f)})}return e.$$set=p=>{"lang"in p&&i(21,n=p.lang),"currency"in p&&i(22,o=p.currency),"limits"in p&&i(23,s=p.limits),"session"in p&&i(24,a=p.session),"userid"in p&&i(25,c=p.userid),"endpoint"in p&&i(26,l=p.endpoint),"clientstyling"in p&&i(27,u=p.clientstyling),"clientstylingurl"in p&&i(28,h=p.clientstylingurl),"translationurl"in p&&i(29,m=p.translationurl)},e.$$.update=()=>{e.$$.dirty[0]&8388608&&s&&qi(),e.$$.dirty[0]&2097152&&n&&nr(),e.$$.dirty[0]&117440512&&c&&a&&l&&Fe(),e.$$.dirty[0]&268435457&&h&&f&&sr(),e.$$.dirty[0]&134217729&&u&&f&&or(),e.$$.dirty[0]&536870912&&m&&Yi()},[f,E,S,x,j,N,C,H,L,z,D,re,$e,r,_,O,Ji,Qi,ir,Et,rr,n,o,s,a,c,l,u,h,m,ar,lr,ur,cr,hr,fr]}class Xi extends Rr{constructor(t){super(),Dr(this,t,ns,rs,hi,{lang:21,currency:22,limits:23,session:24,userid:25,endpoint:26,clientstyling:27,clientstylingurl:28,translationurl:29},Wo,[-1,-1])}get lang(){return this.$$.ctx[21]}set lang(t){this.$$set({lang:t}),Z()}get currency(){return this.$$.ctx[22]}set currency(t){this.$$set({currency:t}),Z()}get limits(){return this.$$.ctx[23]}set limits(t){this.$$set({limits:t}),Z()}get session(){return this.$$.ctx[24]}set session(t){this.$$set({session:t}),Z()}get userid(){return this.$$.ctx[25]}set userid(t){this.$$set({userid:t}),Z()}get endpoint(){return this.$$.ctx[26]}set endpoint(t){this.$$set({endpoint:t}),Z()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(t){this.$$set({clientstyling:t}),Z()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Z()}get translationurl(){return this.$$.ctx[29]}set translationurl(t){this.$$set({translationurl:t}),Z()}}kr(Xi,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=Xi;
|