@everymatrix/player-account-gaming-limits-popup-2 1.28.8 → 1.29.3

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.
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function i(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}const a="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function l(e,t){e.appendChild(t)}function c(e,t,n){e.insertBefore(t,n||null)}function u(e){e.parentNode&&e.parentNode.removeChild(e)}function h(e){return document.createElement(e)}function p(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function f(e){return document.createTextNode(e)}function m(){return f(" ")}function d(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function g(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function y(e){return""===e?null:+e}function b(e,t){t=""+t,e.data!==t&&(e.data=t)}function E(e,t){e.value=null==t?"":t}function v(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function T(e,t,n){e.classList[n?"add":"remove"](t)}function B(e){const t={};for(const n of e)t[n.name]=n.value;return t}let w;function P(e){w=e}const L=[],A=[];let H=[];const _=[],S=Promise.resolve();let k=!1;function C(e){H.push(e)}
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function i(e){e.forEach(t)}function r(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(t,...n){if(null==t)return e;const i=t.subscribe(...n);return i.unsubscribe?()=>i.unsubscribe():i}const a="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function l(e,t){e.appendChild(t)}function c(e,t,n){e.insertBefore(t,n||null)}function u(e){e.parentNode&&e.parentNode.removeChild(e)}function h(e){return document.createElement(e)}function p(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function m(e){return document.createTextNode(e)}function f(){return m(" ")}function d(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function g(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function y(e){return""===e?null:+e}function b(e,t){t=""+t,e.data!==t&&(e.data=t)}function E(e,t){e.value=null==t?"":t}function v(e,t,n,i){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,i?"important":"")}function T(e,t,n){e.classList[n?"add":"remove"](t)}function B(e){const t={};for(const n of e)t[n.name]=n.value;return t}let P;function L(e){P=e}const w=[],A=[];let H=[];const k=[],S=Promise.resolve();let I=!1;function _(e){H.push(e)}
2
2
  // flush() calls callbacks in this order:
3
3
  // 1. All beforeUpdate callbacks, in order: parents before children
4
4
  // 2. All bind:this callbacks, in reverse order: children before parents.
@@ -17,35 +17,35 @@
17
17
  // 3. During afterUpdate, any updated components will NOT have their afterUpdate
18
18
  // callback called a second time; the seen_callbacks set, outside the flush()
19
19
  // function, guarantees this behavior.
20
- const I=new Set;let N=0;// Do *not* move this inside the flush() function
20
+ const C=new Set;let N=0;// Do *not* move this inside the flush() function
21
21
  function O(){
22
22
  // Do not reenter flush while dirty components are updated, as this can
23
23
  // result in an infinite loop. Instead, let the inner flush handle it.
24
24
  // Reentrancy is ok afterwards for bindings etc.
25
- if(0!==N)return;const e=w;do{
25
+ if(0!==N)return;const e=P;do{
26
26
  // first, call beforeUpdate functions
27
27
  // and update components
28
- try{for(;N<L.length;){const e=L[N];N++,P(e),M(e.$$)}}catch(e){
28
+ try{for(;N<w.length;){const e=w[N];N++,L(e),M(e.$$)}}catch(e){
29
29
  // reset dirty state to not end up in a deadlocked state and then rethrow
30
- throw L.length=0,N=0,e}for(P(null),L.length=0,N=0;A.length;)A.pop()();
30
+ throw w.length=0,N=0,e}for(L(null),w.length=0,N=0;A.length;)A.pop()();
31
31
  // then, once components are updated, call
32
32
  // afterUpdate functions. This may cause
33
33
  // subsequent updates...
34
- for(let e=0;e<H.length;e+=1){const t=H[e];I.has(t)||(
34
+ for(let e=0;e<H.length;e+=1){const t=H[e];C.has(t)||(
35
35
  // ...so guard against infinite loops
36
- I.add(t),t())}H.length=0}while(L.length);for(;_.length;)_.pop()();k=!1,I.clear(),P(e)}function M(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(C)}}
36
+ C.add(t),t())}H.length=0}while(w.length);for(;k.length;)k.pop()();I=!1,C.clear(),L(e)}function M(e){if(null!==e.fragment){e.update(),i(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(_)}}
37
37
  /**
38
38
  * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
39
- */const R=new Set;function D(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];H.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),H=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),
39
+ */const R=new Set;function D(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];H.forEach((i=>-1===e.indexOf(i)?t.push(i):n.push(i))),n.forEach((e=>e())),H=t}(n.after_update),i(n.on_destroy),n.fragment&&n.fragment.d(t),
40
40
  // TODO null out other refs, including component.$$ (but need to
41
41
  // preserve final state?)
42
- n.on_destroy=n.fragment=null,n.ctx=[])}function U(e,t){-1===e.$$.dirty[0]&&(L.push(e),k||(k=!0,S.then(O)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function x(o,s,a,l,c,h,p,f=[-1]){const m=w;P(o);const d=o.$$={fragment:null,ctx:[],
42
+ n.on_destroy=n.fragment=null,n.ctx=[])}function U(e,t){-1===e.$$.dirty[0]&&(w.push(e),I||(I=!0,S.then(O)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function x(o,s,a,l,c,h,p,m=[-1]){const f=P;L(o);const d=o.$$={fragment:null,ctx:[],
43
43
  // state
44
44
  props:h,update:e,not_equal:c,bound:n(),
45
45
  // lifecycle
46
- on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(m?m.$$.context:[])),
46
+ on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(f?f.$$.context:[])),
47
47
  // everything else
48
- callbacks:n(),dirty:f,skip_bound:!1,root:s.target||m.$$.root};p&&p(d.root);let g=!1;if(d.ctx=a?a(o,s.props||{},((e,t,...n)=>{const r=n.length?n[0]:t;return d.ctx&&c(d.ctx[e],d.ctx[e]=r)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](r),g&&U(o,e)),t})):[],d.update(),g=!0,r(d.before_update),
48
+ callbacks:n(),dirty:m,skip_bound:!1,root:s.target||f.$$.root};p&&p(d.root);let g=!1;if(d.ctx=a?a(o,s.props||{},((e,t,...n)=>{const i=n.length?n[0]:t;return d.ctx&&c(d.ctx[e],d.ctx[e]=i)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](i),g&&U(o,e)),t})):[],d.update(),g=!0,i(d.before_update),
49
49
  // `false` as a special case of no DOM component
50
50
  d.fragment=!!l&&l(d.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);
51
51
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
@@ -53,20 +53,20 @@ d.fragment&&d.fragment.l(e),e.forEach(u)}else
53
53
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
54
54
  d.fragment&&d.fragment.c();s.intro&&((y=o.$$.fragment)&&y.i&&(R.delete(y),y.i(b))),function(e,n,o,s){const{fragment:a,after_update:l}=e.$$;a&&a.m(n,o),s||
55
55
  // onMount happens before the initial afterUpdate
56
- C((()=>{const n=e.$$.on_mount.map(t).filter(i);
56
+ _((()=>{const n=e.$$.on_mount.map(t).filter(r);
57
57
  // if the component was destroyed immediately
58
58
  // it will update the `$$.on_destroy` reference to `null`.
59
59
  // the destructured on_destroy may still reference to the old array
60
60
  e.$$.on_destroy?e.$$.on_destroy.push(...n):
61
61
  // Edge case - component was destroyed immediately,
62
62
  // most likely as a result of a binding initialising
63
- r(n),e.$$.on_mount=[]})),l.forEach(C)}(o,s.target,s.anchor,s.customElement),O()}var y,b;P(m)}let j;"function"==typeof HTMLElement&&(j=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
63
+ i(n),e.$$.on_mount=[]})),l.forEach(_)}(o,s.target,s.anchor,s.customElement),O()}var y,b;L(f)}let j;"function"==typeof HTMLElement&&(j=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(r);
64
64
  // @ts-ignore todo: improve typings
65
65
  for(const e in this.$$.slotted)
66
66
  // @ts-ignore todo: improve typings
67
- this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){r(this.$$.on_disconnect)}$destroy(){D(this,1),this.$destroy=e}$on(t,n){
67
+ this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){i(this.$$.on_disconnect)}$destroy(){D(this,1),this.$destroy=e}$on(t,n){
68
68
  // TODO should this delegate to addEventListener?
69
- if(!i(n))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const G=[];
69
+ if(!r(n))return e;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const e=i.indexOf(n);-1!==e&&i.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const G=[];
70
70
  /**
71
71
  * Creates a `Readable` store that allows reading by subscription.
72
72
  * @param value initial value
@@ -77,24 +77,24 @@ if(!i(n))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return
77
77
  * @param {*=}value initial value
78
78
  * @param {StartStopNotifier=} start
79
79
  */
80
- function $(t,n=e){let r;const i=new Set;function s(e){if(o(t,e)&&(t=e,r)){// store is ready
81
- const e=!G.length;for(const e of i)e[1](),G.push(e,t);if(e){for(let e=0;e<G.length;e+=2)G[e][0](G[e+1]);G.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return i.add(l),1===i.size&&(r=n(s)||e),o(t),()=>{i.delete(l),0===i.size&&r&&(r(),r=null)}}}}function z(t,n,o){const a=!Array.isArray(t),l=a?[t]:t,c=n.length<2;return u=t=>{let o=!1;const u=[];let h=0,p=e;const f=()=>{if(h)return;p();const r=n(a?u[0]:u,t);c?t(r):p=i(r)?r:e},m=l.map(((e,t)=>s(e,(e=>{u[t]=e,h&=~(1<<t),o&&f()}),(()=>{h|=1<<t}))));return o=!0,f(),function(){r(m),p(),
80
+ function z(t,n=e){let i;const r=new Set;function s(e){if(o(t,e)&&(t=e,i)){// store is ready
81
+ const e=!G.length;for(const e of r)e[1](),G.push(e,t);if(e){for(let e=0;e<G.length;e+=2)G[e][0](G[e+1]);G.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return r.add(l),1===r.size&&(i=n(s)||e),o(t),()=>{r.delete(l),0===r.size&&i&&(i(),i=null)}}}}function $(t,n,o){const a=!Array.isArray(t),l=a?[t]:t,c=n.length<2;return u=t=>{let o=!1;const u=[];let h=0,p=e;const m=()=>{if(h)return;p();const i=n(a?u[0]:u,t);c?t(i):p=r(i)?i:e},f=l.map(((e,t)=>s(e,(e=>{u[t]=e,h&=~(1<<t),o&&m()}),(()=>{h|=1<<t}))));return o=!0,m(),function(){i(f),p(),
82
82
  // We need to set this to false because callbacks can still happen despite having unsubscribed:
83
83
  // Callbacks might already be placed in the queue which doesn't know it should no longer
84
84
  // invoke this derived store.
85
- o=!1}},{subscribe:$(o,u).subscribe};var u}var F=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===V}(e)}
85
+ o=!1}},{subscribe:z(o,u).subscribe};var u}var F=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===V}(e)}
86
86
  // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
87
- (e)};var V="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function K(e,t){return!1!==t.clone&&t.isMergeableObject(e)?q((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function X(e,t,n){return e.concat(t).map((function(e){return K(e,n)}))}function Z(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function W(e,t){try{return t in e}catch(e){return!1}}
87
+ (e)};var V="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function K(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Y((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function X(e,t,n){return e.concat(t).map((function(e){return K(e,n)}))}function q(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function Z(e,t){try{return t in e}catch(e){return!1}}
88
88
  // Protects from prototype poisoning and unexpected merging up the prototype chain.
89
- function Y(e,t,n){var r={};return n.isMergeableObject(e)&&Z(e).forEach((function(t){r[t]=K(e[t],n)})),Z(t).forEach((function(i){(function(e,t){return W(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
90
- })(e,i)||(W(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return q;var n=t.customMerge(e);return"function"==typeof n?n:q}(i,n)(e[i],t[i],n):r[i]=K(t[i],n))})),r}function q(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||X,n.isMergeableObject=n.isMergeableObject||F,
89
+ function W(e,t,n){var i={};return n.isMergeableObject(e)&&q(e).forEach((function(t){i[t]=K(e[t],n)})),q(t).forEach((function(r){(function(e,t){return Z(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
90
+ })(e,r)||(Z(e,r)&&n.isMergeableObject(t[r])?i[r]=function(e,t){if(!t.customMerge)return Y;var n=t.customMerge(e);return"function"==typeof n?n:Y}(r,n)(e[r],t[r],n):i[r]=K(t[r],n))})),i}function Y(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||X,n.isMergeableObject=n.isMergeableObject||F,
91
91
  // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
92
92
  // implementations can use it. The caller may not replace it.
93
- n.cloneUnlessOtherwiseSpecified=K;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Y(e,t,n):K(t,n)}q.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return q(e,n,t)}),{})};var J=q,Q=function(e,t){return Q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Q(e,t)};function ee(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Q(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var te,ne,re,ie=function(){return ie=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ie.apply(this,arguments)};function oe(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}
93
+ n.cloneUnlessOtherwiseSpecified=K;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):W(e,t,n):K(t,n)}Y.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return Y(e,n,t)}),{})};var J=Y,Q=function(e,t){return Q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Q(e,t)};function ee(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Q(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var te,ne,ie,re=function(){return re=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},re.apply(this,arguments)};function oe(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}
94
94
  /**
95
95
  * Type Guards
96
96
  */
97
- function se(e){return e.type===ne.literal}function ae(e){return e.type===ne.argument}function le(e){return e.type===ne.number}function ce(e){return e.type===ne.date}function ue(e){return e.type===ne.time}function he(e){return e.type===ne.select}function pe(e){return e.type===ne.plural}function fe(e){return e.type===ne.pound}function me(e){return e.type===ne.tag}function de(e){return!(!e||"object"!=typeof e||e.type!==re.number)}function ge(e){return!(!e||"object"!=typeof e||e.type!==re.dateTime)}
97
+ function se(e){return e.type===ne.literal}function ae(e){return e.type===ne.argument}function le(e){return e.type===ne.number}function ce(e){return e.type===ne.date}function ue(e){return e.type===ne.time}function he(e){return e.type===ne.select}function pe(e){return e.type===ne.plural}function me(e){return e.type===ne.pound}function fe(e){return e.type===ne.tag}function de(e){return!(!e||"object"!=typeof e||e.type!==ie.number)}function ge(e){return!(!e||"object"!=typeof e||e.type!==ie.dateTime)}
98
98
  // @generated from regex-gen.ts
99
99
  "function"==typeof SuppressedError&&SuppressedError,function(e){
100
100
  /** Argument is unclosed (e.g. `{0`) */
@@ -193,7 +193,7 @@ e[e.pound=7]="pound",
193
193
  /**
194
194
  * XML-like tag
195
195
  */
196
- e[e.tag=8]="tag"}(ne||(ne={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(re||(re={}));var ye=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,be=/(?:[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;
196
+ e[e.tag=8]="tag"}(ne||(ne={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ie||(ie={}));var ye=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,be=/(?:[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;
197
197
  /**
198
198
  * https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
199
199
  * Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
@@ -239,33 +239,33 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
239
239
  case"x":// 1, 2, 3, 4: The ISO8601 varios formats
240
240
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
241
241
  // @generated from regex-gen.ts
242
- var ve=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Te=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Be=/^(@+)?(\+|#+)?[rs]?$/g,we=/(\*)(0+)|(#+)(0+)|(0+)/g,Pe=/^(0+)$/;function Le(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Be,(function(e,n,r){
242
+ var ve=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Te=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Be=/^(@+)?(\+|#+)?[rs]?$/g,Pe=/(\*)(0+)|(#+)(0+)|(0+)/g,Le=/^(0+)$/;function we(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Be,(function(e,n,i){
243
243
  // @@@ case
244
- return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function Ae(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 He(e){
244
+ return"string"!=typeof i?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===i?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof i?i.length:0)),""})),t}function Ae(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 He(e){
245
245
  // Engineering
246
- var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Pe.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function _e(e){var t=Ae(e);return t||{}}
246
+ var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Le.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function ke(e){var t=Ae(e);return t||{}}
247
247
  /**
248
248
  * https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
249
- */function Se(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.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=i.options[0].replace(/^(.*?)-/,"");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=ie(ie(ie({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return ie(ie({},e),_e(t))}),{}));continue;case"engineering":t=ie(ie(ie({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return ie(ie({},e),_e(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
249
+ */function Se(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n];switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.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=r.options[0].replace(/^(.*?)-/,"");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=re(re(re({},t),{notation:"scientific"}),r.options.reduce((function(e,t){return re(re({},e),ke(t))}),{}));continue;case"engineering":t=re(re(re({},t),{notation:"engineering"}),r.options.reduce((function(e,t){return re(re({},e),ke(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
250
250
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
251
- 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(i.options[0]);continue;
251
+ 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(r.options[0]);continue;
252
252
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
253
- case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(we,(function(e,n,r,i,o,s){if(n)t.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
253
+ case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Pe,(function(e,n,i,r,o,s){if(n)t.minimumIntegerDigits=i.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
254
254
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
255
- if(Pe.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(Te.test(i.stem)){
255
+ if(Le.test(r.stem))t.minimumIntegerDigits=r.stem.length;else if(Te.test(r.stem)){
256
256
  // Precision
257
257
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
258
258
  // precision-integer case
259
- if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Te,(function(e,n,r,i,o,s){
259
+ if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Te,(function(e,n,i,r,o,s){
260
260
  // .000* case (before ICU67 it was .000+)
261
- return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var o=i.options[0];
261
+ return"*"===i?t.minimumFractionDigits=n.length:r&&"#"===r[0]?t.maximumFractionDigits=r.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var o=r.options[0];
262
262
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
263
- "w"===o?t=ie(ie({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=ie(ie({},t),Le(o)))}
263
+ "w"===o?t=re(re({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=re(re({},t),we(o)))}
264
264
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
265
- else if(Be.test(i.stem))t=ie(ie({},t),Le(i.stem));else{var s=Ae(i.stem);s&&(t=ie(ie({},t),s));var a=He(i.stem);a&&(t=ie(ie({},t),a))}}return t}
265
+ else if(Be.test(r.stem))t=re(re({},t),we(r.stem));else{var s=Ae(r.stem);s&&(t=re(re({},t),s));var a=He(r.stem);a&&(t=re(re({},t),a))}}return t}
266
266
  // @generated from time-data-gen.ts
267
267
  // prettier-ignore
268
- var ke,Ce={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","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"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
268
+ var Ie,_e={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","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"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
269
269
  /**
270
270
  * Returns the best matching date time pattern if a date time skeleton
271
271
  * pattern is provided with a locale. Follows the Unicode specification:
@@ -278,7 +278,7 @@ var ke,Ce={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H
278
278
  * of the given `locale` to the corresponding time pattern.
279
279
  * @param locale
280
280
  */
281
- function Ie(e){var t=e.hourCycle;if(void 0===t&&
281
+ function Ce(e){var t=e.hourCycle;if(void 0===t&&
282
282
  // @ts-ignore hourCycle(s) is not identified yet
283
283
  e.hourCycles&&
284
284
  // @ts-ignore
@@ -286,37 +286,37 @@ e.hourCycles.length&&(
286
286
  // @ts-ignore
287
287
  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")}
288
288
  // TODO: Once hourCycle is fully supported remove the following with data generation
289
- var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Ce[n||""]||Ce[r||""]||Ce["".concat(r,"-001")]||Ce["001"])[0]}var Ne=new RegExp("^".concat(ye.source,"*")),Oe=new RegExp("".concat(ye.source,"*$"));function Me(e,t){return{start:e,end:t}}
289
+ var n,i=e.language;return"root"!==i&&(n=e.maximize().region),(_e[n||""]||_e[i||""]||_e["".concat(i,"-001")]||_e["001"])[0]}var Ne=new RegExp("^".concat(ye.source,"*")),Oe=new RegExp("".concat(ye.source,"*$"));function Me(e,t){return{start:e,end:t}}
290
290
  // #region Ponyfills
291
291
  // Consolidate these variables up top for easier toggling during debugging
292
- var Re=!!String.prototype.startsWith,De=!!String.fromCodePoint,Ue=!!Object.fromEntries,xe=!!String.prototype.codePointAt,je=!!String.prototype.trimStart,Ge=!!String.prototype.trimEnd,$e=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ze=!0;try{
292
+ var Re=!!String.prototype.startsWith,De=!!String.fromCodePoint,Ue=!!Object.fromEntries,xe=!!String.prototype.codePointAt,je=!!String.prototype.trimStart,Ge=!!String.prototype.trimEnd,ze=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},$e=!0;try{
293
293
  /**
294
294
  * legacy Edge or Xbox One browser
295
295
  * Unicode flag support: supported
296
296
  * Pattern_Syntax support: not supported
297
297
  * See https://github.com/formatjs/formatjs/issues/2822
298
298
  */
299
- ze="a"===(null===(ke=qe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===ke?void 0:ke[0])}catch(e){ze=!1}var Fe,Ve=Re?// Native
299
+ $e="a"===(null===(Ie=Ye("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ie?void 0:Ie[0])}catch(e){$e=!1}var Fe,Ve=Re?// Native
300
300
  function(e,t,n){return e.startsWith(t,n)}:// For IE11
301
301
  function(e,t,n){return e.slice(n,n+t.length)===t},Ke=De?String.fromCodePoint:// IE11
302
- function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;i>o;){if((n=e[o++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Xe=
302
+ function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",r=e.length,o=0;r>o;){if((n=e[o++])>1114111)throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},Xe=
303
303
  // native
304
304
  Ue?Object.fromEntries:// Ponyfill
305
- function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],s=i[1];t[o]=s}return t},Ze=xe?// Native
305
+ function(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n],o=r[0],s=r[1];t[o]=s}return t},qe=xe?// Native
306
306
  function(e,t){return e.codePointAt(t)}:// IE 11
307
- function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},We=je?// Native
307
+ function(e,t){var n=e.length;if(!(t<0||t>=n)){var i,r=e.charCodeAt(t);return r<55296||r>56319||t+1===n||(i=e.charCodeAt(t+1))<56320||i>57343?r:i-56320+(r-55296<<10)+65536}},Ze=je?// Native
308
308
  function(e){return e.trimStart()}:// Ponyfill
309
- function(e){return e.replace(Ne,"")},Ye=Ge?// Native
309
+ function(e){return e.replace(Ne,"")},We=Ge?// Native
310
310
  function(e){return e.trimEnd()}:// Ponyfill
311
311
  function(e){return e.replace(Oe,"")};
312
312
  // Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
313
- function qe(e,t){return new RegExp(e,t)}
313
+ function Ye(e,t){return new RegExp(e,t)}
314
314
  // #endregion
315
- if(ze){
315
+ if($e){
316
316
  // Native
317
- var Je=qe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Fe=function(e,t){var n;return Je.lastIndex=t,null!==(n=Je.exec(e)[1])&&void 0!==n?n:""}}else
317
+ var Je=Ye("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Fe=function(e,t){var n;return Je.lastIndex=t,null!==(n=Je.exec(e)[1])&&void 0!==n?n:""}}else
318
318
  // IE11
319
- Fe=function(e,t){for(var n=[];;){var r=Ze(e,t);if(void 0===r||tt(r)||nt(r))break;n.push(r),t+=r>=65536?2:1}return Ke.apply(void 0,n)};var Qe=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123/* `{` */===i){if((o=this.parseArgument(e,n)).err)return o;r.push(o.val)}else{if(125/* `}` */===i&&e>0)break;if(35/* `#` */!==i||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(te.UNMATCHED_CLOSING_TAG,Me(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&et(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:ne.pound,location:Me(s,this.clonePosition())})}}}return{val:r,err:null}},
319
+ Fe=function(e,t){for(var n=[];;){var i=qe(e,t);if(void 0===i||tt(i)||nt(i))break;n.push(i),t+=i>=65536?2:1}return Ke.apply(void 0,n)};var Qe=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var r=this.char();if(123/* `{` */===r){if((o=this.parseArgument(e,n)).err)return o;i.push(o.val)}else{if(125/* `}` */===r&&e>0)break;if(35/* `#` */!==r||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===r&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(te.UNMATCHED_CLOSING_TAG,Me(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===r&&!this.ignoreTag&&et(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;i.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;i.push(o.val)}}else{var s=this.clonePosition();this.bump(),i.push({type:ne.pound,location:Me(s,this.clonePosition())})}}}return{val:i,err:null}},
320
320
  /**
321
321
  * A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
322
322
  * [custom element name][] except that a dash is NOT always mandatory and uppercase letters
@@ -336,16 +336,16 @@ Fe=function(e,t){for(var n=[];;){var r=Ze(e,t);if(void 0===r||tt(r)||nt(r))break
336
336
  * since other tag-based engines like React allow it
337
337
  */
338
338
  e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();// `<`
339
- var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
339
+ var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
340
340
  // Self closing tag
341
- return{val:{type:ne.literal,value:"<".concat(r,"/>"),location:Me(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();
341
+ return{val:{type:ne.literal,value:"<".concat(i,"/>"),location:Me(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;var o=r.val,s=this.clonePosition();
342
342
  // Expecting a close tag
343
- if(this.bumpIf("</")){if(this.isEOF()||!et(this.char()))return this.error(te.INVALID_TAG,Me(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(te.UNMATCHED_CLOSING_TAG,Me(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ne.tag,value:r,children:o,location:Me(n,this.clonePosition())},err:null}:this.error(te.INVALID_TAG,Me(s,this.clonePosition())))}return this.error(te.UNCLOSED_TAG,Me(n,this.clonePosition()))}return this.error(te.INVALID_TAG,Me(n,this.clonePosition()))},
343
+ if(this.bumpIf("</")){if(this.isEOF()||!et(this.char()))return this.error(te.INVALID_TAG,Me(s,this.clonePosition()));var a=this.clonePosition();return i!==this.parseTagName()?this.error(te.UNMATCHED_CLOSING_TAG,Me(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ne.tag,value:i,children:o,location:Me(n,this.clonePosition())},err:null}:this.error(te.INVALID_TAG,Me(s,this.clonePosition())))}return this.error(te.UNCLOSED_TAG,Me(n,this.clonePosition()))}return this.error(te.INVALID_TAG,Me(n,this.clonePosition()))},
344
344
  /**
345
345
  * This method assumes that the caller has peeked ahead for the first tag character.
346
346
  */
347
347
  e.prototype.parseTagName=function(){var e,t=this.offset();// the first tag name character
348
- for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||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);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=Me(n,this.clonePosition());return{val:{type:ne.literal,value:r,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(et(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
348
+ for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||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);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(t);if(r)i+=r;else{var o=this.tryParseUnquoted(e,t);if(o)i+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;i+=s}}}var a=Me(n,this.clonePosition());return{val:{type:ne.literal,value:i,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(et(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
349
349
  /** See `parseTag` function docs. */},
350
350
  /**
351
351
  * Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
@@ -370,20 +370,20 @@ this.bump();break}t.push(39),
370
370
  this.bump()}else t.push(n);this.bump()}return Ke.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60/* `<` */===n||123/* `{` */===n||35/* `#` */===n&&("plural"===t||"selectordinal"===t)||125/* `}` */===n&&e>0?null:(this.bump(),Ke(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),// `{`
371
371
  this.bumpSpace(),this.isEOF())return this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,Me(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(te.EMPTY_ARGUMENT,Me(n,this.clonePosition()));
372
372
  // argument name
373
- var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(te.MALFORMED_ARGUMENT,Me(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,Me(n,this.clonePosition()));switch(this.char()){
373
+ var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(te.MALFORMED_ARGUMENT,Me(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,Me(n,this.clonePosition()));switch(this.char()){
374
374
  // Simple argument: `{name}`
375
375
  case 125/* `}` */:// `}`
376
376
  return this.bump(),{val:{type:ne.argument,
377
377
  // value does not include the opening and closing braces.
378
- value:r,location:Me(n,this.clonePosition())},err:null};
378
+ value:i,location:Me(n,this.clonePosition())},err:null};
379
379
  // Argument with options: `{name, format, ...}`
380
380
  case 44/* `,` */:return this.bump(),// `,`
381
- this.bumpSpace(),this.isEOF()?this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,Me(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(te.MALFORMED_ARGUMENT,Me(n,this.clonePosition()))}},
381
+ this.bumpSpace(),this.isEOF()?this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,Me(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(te.MALFORMED_ARGUMENT,Me(n,this.clonePosition()))}},
382
382
  /**
383
383
  * Advance the parser until the end of the identifier, if it is currently on
384
384
  * an identifier character. Return an empty string otherwise.
385
385
  */
386
- e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Fe(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Me(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();
386
+ e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Fe(this.message,t),i=t+n.length;return this.bumpTo(i),{value:n,location:Me(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,i){var r,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();
387
387
  // Parse this range:
388
388
  // {name, type, style}
389
389
  // ^---^
@@ -393,21 +393,21 @@ return this.error(te.EXPECT_ARGUMENT_TYPE,Me(o,a));case"number":case"date":case"
393
393
  // Parse this range:
394
394
  // {name, number, style}
395
395
  // ^-------^
396
- this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(f=Ye(y.val)).length)return this.error(te.EXPECT_ARGUMENT_STYLE,Me(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Me(c,this.clonePosition())}}if((b=this.tryParseArgumentClose(r)).err)return b;var u=Me(r,this.clonePosition());
396
+ this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(m=We(y.val)).length)return this.error(te.EXPECT_ARGUMENT_STYLE,Me(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:Me(c,this.clonePosition())}}if((b=this.tryParseArgumentClose(i)).err)return b;var u=Me(i,this.clonePosition());
397
397
  // Extract style or skeleton
398
398
  if(l&&Ve(null==l?void 0:l.style,"::",0)){
399
399
  // Skeleton starts with `::`.
400
- var h=We(l.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?y:{val:{type:ne.number,value:n,location:u,style:y.val},err:null};if(0===h.length)return this.error(te.EXPECT_DATE_TIME_SKELETON,u);var p=h;
400
+ var h=Ze(l.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?y:{val:{type:ne.number,value:n,location:u,style:y.val},err:null};if(0===h.length)return this.error(te.EXPECT_DATE_TIME_SKELETON,u);var p=h;
401
401
  // Get "best match" pattern only if locale is passed, if not, let it
402
402
  // pass as-is where `parseDateTimeSkeleton()` will throw an error
403
403
  // for unsupported patterns.
404
- this.locale&&(p=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=Ie(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)n+="a";for(;s-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale));var f={type:re.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Ee(p):{}};return{val:{type:"date"===s?ne.date:ne.time,value:n,location:u,style:f},err:null}}
404
+ this.locale&&(p=function(e,t){for(var n="",i=0;i<e.length;i++){var r=e.charAt(i);if("j"===r){for(var o=0;i+1<e.length&&e.charAt(i+1)===r;)o++,i++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=Ce(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)n+="a";for(;s-- >0;)n=l+n}else n+="J"===r?"H":r}return n}(h,this.locale));var m={type:ie.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Ee(p):{}};return{val:{type:"date"===s?ne.date:ne.time,value:n,location:u,style:m},err:null}}
405
405
  // Regular style or no style.
406
- return{val:{type:"number"===s?ne.number:"date"===s?ne.date:ne.time,value:n,location:u,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
406
+ return{val:{type:"number"===s?ne.number:"date"===s?ne.date:ne.time,value:n,location:u,style:null!==(r=null==l?void 0:l.style)&&void 0!==r?r:null},err:null};case"plural":case"selectordinal":case"select":
407
407
  // Parse this range:
408
408
  // {name, plural, options}
409
409
  // ^---------^
410
- var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(te.EXPECT_SELECT_ARGUMENT_OPTIONS,Me(m,ie({},m)));this.bumpSpace();
410
+ var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(te.EXPECT_SELECT_ARGUMENT_OPTIONS,Me(f,re({},f)));this.bumpSpace();
411
411
  // Parse offset:
412
412
  // {name, plural, offset:1, options}
413
413
  // ^-----^
@@ -416,7 +416,7 @@ var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.err
416
416
  // ^--^
417
417
  var d=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(te.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Me(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(te.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,te.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
418
418
  // Parse another identifier for option parsing
419
- this.bumpSpace(),d=this.parseIdentifierIfPossible(),g=y.val}var b,E=this.tryParsePluralOrSelectOptions(e,s,t,d);if(E.err)return E;if((b=this.tryParseArgumentClose(r)).err)return b;var v=Me(r,this.clonePosition());return"select"===s?{val:{type:ne.select,value:n,options:Xe(E.val),location:v},err:null}:{val:{type:ne.plural,value:n,options:Xe(E.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:v},err:null};default:return this.error(te.INVALID_ARGUMENT_TYPE,Me(o,a))}},e.prototype.tryParseArgumentClose=function(e){
419
+ this.bumpSpace(),d=this.parseIdentifierIfPossible(),g=y.val}var b,E=this.tryParsePluralOrSelectOptions(e,s,t,d);if(E.err)return E;if((b=this.tryParseArgumentClose(i)).err)return b;var v=Me(i,this.clonePosition());return"select"===s?{val:{type:ne.select,value:n,options:Xe(E.val),location:v},err:null}:{val:{type:ne.plural,value:n,options:Xe(E.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:v},err:null};default:return this.error(te.INVALID_ARGUMENT_TYPE,Me(o,a))}},e.prototype.tryParseArgumentClose=function(e){
420
420
  // Parse: {value, number, ::currency/GBP }
421
421
  return this.isEOF()||125/* `}` */!==this.char()?this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,Me(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
422
422
  /**
@@ -427,7 +427,7 @@ e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePos
427
427
  // Find the end of the quoted literal text.
428
428
  this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(te.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Me(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
429
429
  // Parse the skeleton
430
- for(var t=[],n=0,r=e.split(ve).filter((function(e){return e.length>0}));n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],s=i.slice(1),a=0,l=s;a<l.length;a++)if(0===l[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:s})}return t}(e)}catch(e){return this.error(te.INVALID_NUMBER_SKELETON,t)}return{val:{type:re.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Se(n):{}},err:null}},
430
+ for(var t=[],n=0,i=e.split(ve).filter((function(e){return e.length>0}));n<i.length;n++){var r=i[n].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var o=r[0],s=r.slice(1),a=0,l=s;a<l.length;a++)if(0===l[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:s})}return t}(e)}catch(e){return this.error(te.INVALID_NUMBER_SKELETON,t)}return{val:{type:ie.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Se(n):{}},err:null}},
431
431
  /**
432
432
  * @param nesting_level The current nesting level of messages.
433
433
  * This can be positive when parsing message fragment in select or plural argument options.
@@ -438,11 +438,11 @@ for(var t=[],n=0,r=e.split(ve).filter((function(e){return e.length>0}));n<r.leng
438
438
  * between a pair of opening and closing tags. The nested message will not parse beyond
439
439
  * the closing tag boundary.
440
440
  */
441
- e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){
441
+ e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){
442
442
  // Parse:
443
443
  // one {one apple}
444
444
  // ^--^
445
- for(var i,o=!1,s=[],a=new Set,l=r.value,c=r.location;;){if(0===l.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
445
+ for(var r,o=!1,s=[],a=new Set,l=i.value,c=i.location;;){if(0===l.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
446
446
  // Try parse `={number}` selector
447
447
  var h=this.tryParseDecimalInteger(te.EXPECT_PLURAL_ARGUMENT_SELECTOR,te.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=Me(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}
448
448
  // Duplicate selector clauses
@@ -450,18 +450,18 @@ if(a.has(l))return this.error("select"===t?te.DUPLICATE_SELECT_ARGUMENT_SELECTOR
450
450
  // Parse:
451
451
  // one {one apple}
452
452
  // ^----------^
453
- this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?te.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:te.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Me(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,n);if(f.err)return f;var m=this.tryParseArgumentClose(p);if(m.err)return m;s.push([l,{value:f.val,location:Me(p,this.clonePosition())}]),
453
+ this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?te.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:te.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Me(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,n);if(m.err)return m;var f=this.tryParseArgumentClose(p);if(f.err)return f;s.push([l,{value:m.val,location:Me(p,this.clonePosition())}]),
454
454
  // Keep track of the existing selectors
455
455
  a.add(l),
456
456
  // Prep next selector clause.
457
- this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===s.length?this.error("select"===t?te.EXPECT_SELECT_ARGUMENT_SELECTOR:te.EXPECT_PLURAL_ARGUMENT_SELECTOR,Me(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(te.MISSING_OTHER_CLAUSE,Me(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;i=!0,o=10*o+(s-48),this.bump()}var a=Me(r,this.clonePosition());return i?$e(o*=n)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
457
+ this.bumpSpace(),l=(r=this.parseIdentifierIfPossible()).value,c=r.location}return 0===s.length?this.error("select"===t?te.EXPECT_SELECT_ARGUMENT_SELECTOR:te.EXPECT_PLURAL_ARGUMENT_SELECTOR,Me(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(te.MISSING_OTHER_CLAUSE,Me(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;r=!0,o=10*o+(s-48),this.bump()}var a=Me(i,this.clonePosition());return r?ze(o*=n)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
458
458
  // This is much faster than `Object.assign` or spread.
459
459
  return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
460
460
  /**
461
461
  * Return the code point at the current position of the parser.
462
462
  * Throws if the index is out of bound.
463
463
  */
464
- e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ze(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},
464
+ e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=qe(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},
465
465
  /** Bump the parser to the next UTF-16 code unit. */
466
466
  e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10/* '\n' */===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,
467
467
  // 0 ~ 0x10000 -> unicode BMP, otherwise skip the surrogate pair.
@@ -503,35 +503,35 @@ function tt(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||
503
503
  /**
504
504
  * Code point equivalent of regex `\p{Pattern_Syntax}`.
505
505
  * See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
506
- */function nt(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||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||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||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||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||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||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||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||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||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||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function rt(e){e.forEach((function(e){if(delete e.location,he(e)||pe(e))for(var t in e.options)delete e.options[t].location,rt(e.options[t].value);else le(e)&&de(e.style)||(ce(e)||ue(e))&&ge(e.style)?delete e.style.location:me(e)&&rt(e.children)}))}function it(e,t){void 0===t&&(t={}),t=ie({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Qe(e,t).parse();if(n.err){var r=SyntaxError(te[n.err.kind]);
506
+ */function nt(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||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||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||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||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||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||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||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||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||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||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function it(e){e.forEach((function(e){if(delete e.location,he(e)||pe(e))for(var t in e.options)delete e.options[t].location,it(e.options[t].value);else le(e)&&de(e.style)||(ce(e)||ue(e))&&ge(e.style)?delete e.style.location:fe(e)&&it(e.children)}))}function rt(e,t){void 0===t&&(t={}),t=re({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Qe(e,t).parse();if(n.err){var i=SyntaxError(te[n.err.kind]);
507
507
  // @ts-expect-error Assign to error object
508
- throw r.location=n.err.location,
508
+ throw i.location=n.err.location,
509
509
  // @ts-expect-error Assign to error object
510
- r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||rt(n.val),n.val}
510
+ i.originalMessage=n.err.message,i}return(null==t?void 0:t.captureLocation)||it(n.val),n.val}
511
511
 
512
512
  // Main
513
513
 
514
- function ot(e,t){var n=t&&t.cache?t.cache:ft,r=t&&t.serializer?t.serializer:ut;return(t&&t.strategy?t.strategy:ct)(e,{cache:n,serializer:r})}
514
+ function ot(e,t){var n=t&&t.cache?t.cache:mt,i=t&&t.serializer?t.serializer:ut;return(t&&t.strategy?t.strategy:ct)(e,{cache:n,serializer:i})}
515
515
 
516
516
  // Strategy
517
517
 
518
- function st(e,t,n,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),s=t.get(o);return void 0===s&&(s=e.call(this,r),t.set(o,s)),s}function at(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return void 0===o&&(o=e.apply(this,r),t.set(i,o)),o}function lt(e,t,n,r,i){return n.bind(t,e,r,i)}function ct(e,t){return lt(e,this,1===e.length?st:at,t.cache.create(),t.serializer)}
518
+ function st(e,t,n,i){var r,o=null==(r=i)||"number"==typeof r||"boolean"==typeof r?i:n(i),s=t.get(o);return void 0===s&&(s=e.call(this,i),t.set(o,s)),s}function at(e,t,n){var i=Array.prototype.slice.call(arguments,3),r=n(i),o=t.get(r);return void 0===o&&(o=e.apply(this,i),t.set(r,o)),o}function lt(e,t,n,i,r){return n.bind(t,e,i,r)}function ct(e,t){return lt(e,this,1===e.length?st:at,t.cache.create(),t.serializer)}
519
519
  // Serializer
520
520
  var ut=function(){return JSON.stringify(arguments)};
521
521
 
522
522
  // Cache
523
523
 
524
- function ht(){this.cache=Object.create(null)}ht.prototype.get=function(e){return this.cache[e]},ht.prototype.set=function(e,t){this.cache[e]=t};var pt,ft={create:function(){
524
+ function ht(){this.cache=Object.create(null)}ht.prototype.get=function(e){return this.cache[e]},ht.prototype.set=function(e,t){this.cache[e]=t};var pt,mt={create:function(){
525
525
  // @ts-ignore
526
- return new ht}},mt={variadic:function(e,t){return lt(e,this,at,t.cache.create(),t.serializer)},monadic:function(e,t){return lt(e,this,st,t.cache.create(),t.serializer)}};!function(e){
526
+ return new ht}},ft={variadic:function(e,t){return lt(e,this,at,t.cache.create(),t.serializer)},monadic:function(e,t){return lt(e,this,st,t.cache.create(),t.serializer)}};!function(e){
527
527
  // When we have a placeholder but no value to format
528
528
  e.MISSING_VALUE="MISSING_VALUE",
529
529
  // When value supplied is invalid
530
530
  e.INVALID_VALUE="INVALID_VALUE",
531
531
  // When we need specific Intl API but it's not available
532
- e.MISSING_INTL_API="MISSING_INTL_API"}(pt||(pt={}));var dt,gt=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return ee(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),yt=/** @class */function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),pt.INVALID_VALUE,i)||this}return ee(t,e),t}(gt),bt=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),pt.INVALID_VALUE,r)||this}return ee(t,e),t}(gt),Et=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),pt.MISSING_VALUE,n)||this}return ee(t,e),t}(gt);function vt(e){return"function"==typeof e}
532
+ e.MISSING_INTL_API="MISSING_INTL_API"}(pt||(pt={}));var dt,gt=/** @class */function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.code=n,r.originalMessage=i,r}return ee(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),yt=/** @class */function(e){function t(t,n,i,r){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),pt.INVALID_VALUE,r)||this}return ee(t,e),t}(gt),bt=/** @class */function(e){function t(t,n,i){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),pt.INVALID_VALUE,i)||this}return ee(t,e),t}(gt),Et=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),pt.MISSING_VALUE,n)||this}return ee(t,e),t}(gt);function vt(e){return"function"==typeof e}
533
533
  // TODO(skeleton): add skeleton support
534
- function Tt(e,t,n,r,i,o,
534
+ function Tt(e,t,n,i,r,o,
535
535
  // For debugging
536
536
  s){
537
537
  // Hot path for straight simple msg translations
@@ -540,56 +540,56 @@ if(1===e.length&&se(e[0]))return[{type:dt.literal,value:e[0].value}];for(var a=[
540
540
  if(se(u))a.push({type:dt.literal,value:u.value});else
541
541
  // TODO: should this part be literal type?
542
542
  // Replace `#` in plural rules with the actual numeric value.
543
- if(fe(u))"number"==typeof o&&a.push({type:dt.literal,value:n.getNumberFormat(t).format(o)});else{var h=u.value;
543
+ if(me(u))"number"==typeof o&&a.push({type:dt.literal,value:n.getNumberFormat(t).format(o)});else{var h=u.value;
544
544
  // Enforce that all required values are provided by the caller.
545
- if(!i||!(h in i))throw new Et(h,s);var p=i[h];if(ae(u))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?dt.literal:dt.object,value:p});else
545
+ if(!r||!(h in r))throw new Et(h,s);var p=r[h];if(ae(u))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?dt.literal:dt.object,value:p});else
546
546
  // Recursively format plural and select parts' option — which can be a
547
547
  // nested pattern structure. The choosing of the option to use is
548
548
  // abstracted-by and delegated-to the part helper object.
549
- if(ce(u)){var f="string"==typeof u.style?r.date[u.style]:ge(u.style)?u.style.parsedOptions:void 0;a.push({type:dt.literal,value:n.getDateTimeFormat(t,f).format(p)})}else if(ue(u)){f="string"==typeof u.style?r.time[u.style]:ge(u.style)?u.style.parsedOptions:r.time.medium;a.push({type:dt.literal,value:n.getDateTimeFormat(t,f).format(p)})}else if(le(u)){(f="string"==typeof u.style?r.number[u.style]:de(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(p*=f.scale||1),a.push({type:dt.literal,value:n.getNumberFormat(t,f).format(p)})}else{if(me(u)){var m=u.children,d=u.value,g=i[d];if(!vt(g))throw new bt(d,"function",s);var y=g(Tt(m,t,n,r,i,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map((function(e){return{type:"string"==typeof e?dt.literal:dt.object,value:e}})))}if(he(u)){if(!(b=u.options[p]||u.options.other))throw new yt(u.value,p,Object.keys(u.options),s);a.push.apply(a,Tt(b.value,t,n,r,i))}else if(pe(u)){var b;if(!(b=u.options["=".concat(p)])){if(!Intl.PluralRules)throw new gt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',pt.MISSING_INTL_API,s);var E=n.getPluralRules(t,{type:u.pluralType}).select(p-(u.offset||0));b=u.options[E]||u.options.other}if(!b)throw new yt(u.value,p,Object.keys(u.options),s);a.push.apply(a,Tt(b.value,t,n,r,i,p-(u.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===dt.literal&&t.type===dt.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
549
+ if(ce(u)){var m="string"==typeof u.style?i.date[u.style]:ge(u.style)?u.style.parsedOptions:void 0;a.push({type:dt.literal,value:n.getDateTimeFormat(t,m).format(p)})}else if(ue(u)){m="string"==typeof u.style?i.time[u.style]:ge(u.style)?u.style.parsedOptions:i.time.medium;a.push({type:dt.literal,value:n.getDateTimeFormat(t,m).format(p)})}else if(le(u)){(m="string"==typeof u.style?i.number[u.style]:de(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),a.push({type:dt.literal,value:n.getNumberFormat(t,m).format(p)})}else{if(fe(u)){var f=u.children,d=u.value,g=r[d];if(!vt(g))throw new bt(d,"function",s);var y=g(Tt(f,t,n,i,r,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map((function(e){return{type:"string"==typeof e?dt.literal:dt.object,value:e}})))}if(he(u)){if(!(b=u.options[p]||u.options.other))throw new yt(u.value,p,Object.keys(u.options),s);a.push.apply(a,Tt(b.value,t,n,i,r))}else if(pe(u)){var b;if(!(b=u.options["=".concat(p)])){if(!Intl.PluralRules)throw new gt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',pt.MISSING_INTL_API,s);var E=n.getPluralRules(t,{type:u.pluralType}).select(p-(u.offset||0));b=u.options[E]||u.options.other}if(!b)throw new yt(u.value,p,Object.keys(u.options),s);a.push.apply(a,Tt(b.value,t,n,i,r,p-(u.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===dt.literal&&t.type===dt.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
550
550
  /*
551
551
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
552
552
  Copyrights licensed under the New BSD License.
553
553
  See the accompanying LICENSE file for terms.
554
554
  */
555
555
  // -- MessageFormat --------------------------------------------------------
556
- function Bt(e,t){return t?Object.keys(e).reduce((function(n,r){var i,o;return n[r]=(i=e[r],(o=t[r])?ie(ie(ie({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=ie(ie({},i[t]),o[t]||{}),e}),{})):i),n}),ie({},e)):e}function wt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(dt||(dt={}));var Pt=/** @class */function(){function e(t,n,r,i){var o,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
556
+ function Bt(e,t){return t?Object.keys(e).reduce((function(n,i){var r,o;return n[i]=(r=e[i],(o=t[i])?re(re(re({},r||{}),o||{}),Object.keys(r).reduce((function(e,t){return e[t]=re(re({},r[t]),o[t]||{}),e}),{})):r),n}),re({},e)):e}function Pt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(dt||(dt={}));var Lt=/** @class */function(){function e(t,n,i,r){var o,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
557
557
  // Hot path for straight simple msg translations
558
558
  if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===dt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return Tt(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},
559
559
  // Defined first because it's used to build the format pattern.
560
560
  this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
561
561
  // Parse string messages into an AST.
562
- this.ast=e.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag,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.");
562
+ this.ast=e.__parse(t,{ignoreTag:null==r?void 0:r.ignoreTag,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.");
563
563
  // Creates a new object with the specified `formats` merged with the default
564
564
  // formats.
565
- this.formats=Bt(e.formats,r),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ot((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,oe([void 0],t,!1)))}),{cache:wt(o.number),strategy:mt.variadic}),getDateTimeFormat:ot((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,oe([void 0],t,!1)))}),{cache:wt(o.dateTime),strategy:mt.variadic}),getPluralRules:ot((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,oe([void 0],t,!1)))}),{cache:wt(o.pluralRules),strategy:mt.variadic})})}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(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=it,
565
+ this.formats=Bt(e.formats,i),this.formatters=r&&r.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ot((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,oe([void 0],t,!1)))}),{cache:Pt(o.number),strategy:ft.variadic}),getDateTimeFormat:ot((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,oe([void 0],t,!1)))}),{cache:Pt(o.dateTime),strategy:ft.variadic}),getPluralRules:ot((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,oe([void 0],t,!1)))}),{cache:Pt(o.pluralRules),strategy:ft.variadic})})}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(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=rt,
566
566
  // Default format options used as the prototype of the `formats` provided to the
567
567
  // constructor. These are used when constructing the internal Intl.NumberFormat
568
568
  // and Intl.DateTimeFormat instances.
569
- 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}();const Lt={},At=(e,t,n)=>n?(t in Lt||(Lt[t]={}),e in Lt[t]||(Lt[t][e]=n),n):n,Ht=(e,t)=>{if(null==t)return;if(t in Lt&&e in Lt[t])return Lt[t][e];const n=Jt(t);for(let r=0;r<n.length;r++){const i=Ct(n[r],e);if(i)return At(e,t,i)}};let _t;const St=$({});function kt(e){return e in _t}function Ct(e,t){if(!kt(e))return null;const n=function(e){return _t[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function It(e,...t){delete Lt[e],St.update((n=>(n[e]=J.all([n[e]||{},...t]),n)))}z([St],(([e])=>Object.keys(e))),St.subscribe((e=>_t=e));const Nt={};function Ot(e){return Nt[e]}function Mt(e){return null!=e&&Jt(e).some((e=>{var t;return null==(t=Ot(e))?void 0:t.size}))}function Rt(e,t){const n=Promise.all(t.map((t=>(function(e,t){Nt[e].delete(t),0===Nt[e].size&&delete Nt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>It(e,...t)))}const Dt={};function Ut(e){if(!Mt(e))return e in Dt?Dt[e]:Promise.resolve();const t=function(e){return Jt(e).map((e=>{const t=Ot(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Dt[e]=Promise.all(t.map((([e,t])=>Rt(e,t)))).then((()=>{if(Mt(e))return Ut(e);delete Dt[e]})),Dt[e]}const xt={fallbackLocale:null,loadingDelay:200,formats:{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"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function jt(){return xt}const Gt=$(!1);var $t=Object.defineProperty,zt=Object.defineProperties,Ft=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,Zt=(e,t,n)=>t in e?$t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Wt;const Yt=$(null);function qt(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Jt(e,t=jt().fallbackLocale){const n=qt(e);return t?[...new Set([...n,...qt(t)])]:n}function Qt(){return null!=Wt?Wt:void 0}Yt.subscribe((e=>{Wt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const en=(tn=((e,t)=>{for(var n in t||(t={}))Kt.call(t,n)&&Zt(e,n,t[n]);if(Vt)for(var n of Vt(t))Xt.call(t,n)&&Zt(e,n,t[n]);return e})({},Yt),zt(tn,Ft({set:e=>{if(e&&function(e){if(null==e)return;const t=Jt(e);for(let e=0;e<t.length;e++){const n=t[e];if(kt(n))return n}}(e)&&Mt(e)){const{loadingDelay:t}=jt();let n;return"undefined"!=typeof window&&null!=Qt()&&t?n=window.setTimeout((()=>Gt.set(!0)),t):Gt.set(!0),Ut(e).then((()=>{Yt.set(e)})).finally((()=>{clearTimeout(n),Gt.set(!1)}))}return Yt.set(e)}})));var tn;const nn=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var rn=Object.defineProperty,on=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,ln=(e,t,n)=>t in e?rn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cn=(e,t)=>{for(var n in t||(t={}))sn.call(t,n)&&ln(e,n,t[n]);if(on)for(var n of on(t))an.call(t,n)&&ln(e,n,t[n]);return e},un=(e,t)=>{var n={};for(var r in e)sn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&on)for(var r of on(e))t.indexOf(r)<0&&an.call(e,r)&&(n[r]=e[r]);return n};const hn=(e,t)=>{const{formats:n}=jt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},pn=nn((e=>{var t=e,{locale:n,format:r}=t,i=un(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=hn("number",r)),new Intl.NumberFormat(n,i)})),fn=nn((e=>{var t=e,{locale:n,format:r}=t,i=un(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=hn("date",r):0===Object.keys(i).length&&(i=hn("date","short")),new Intl.DateTimeFormat(n,i)})),mn=nn((e=>{var t=e,{locale:n,format:r}=t,i=un(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=hn("time",r):0===Object.keys(i).length&&(i=hn("time","short")),new Intl.DateTimeFormat(n,i)})),dn=nn((
569
+ 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}();const wt={},At=(e,t,n)=>n?(t in wt||(wt[t]={}),e in wt[t]||(wt[t][e]=n),n):n,Ht=(e,t)=>{if(null==t)return;if(t in wt&&e in wt[t])return wt[t][e];const n=Jt(t);for(let i=0;i<n.length;i++){const r=_t(n[i],e);if(r)return At(e,t,r)}};let kt;const St=z({});function It(e){return e in kt}function _t(e,t){if(!It(e))return null;const n=function(e){return kt[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let i=e;for(let e=0;e<n.length;e++)if("object"==typeof i){if(e>0){const t=n.slice(e,n.length).join(".");if(t in i){i=i[t];break}}i=i[n[e]]}else i=void 0;return i}(n,t)}function Ct(e,...t){delete wt[e],St.update((n=>(n[e]=J.all([n[e]||{},...t]),n)))}$([St],(([e])=>Object.keys(e))),St.subscribe((e=>kt=e));const Nt={};function Ot(e){return Nt[e]}function Mt(e){return null!=e&&Jt(e).some((e=>{var t;return null==(t=Ot(e))?void 0:t.size}))}function Rt(e,t){const n=Promise.all(t.map((t=>(function(e,t){Nt[e].delete(t),0===Nt[e].size&&delete Nt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Ct(e,...t)))}const Dt={};function Ut(e){if(!Mt(e))return e in Dt?Dt[e]:Promise.resolve();const t=function(e){return Jt(e).map((e=>{const t=Ot(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Dt[e]=Promise.all(t.map((([e,t])=>Rt(e,t)))).then((()=>{if(Mt(e))return Ut(e);delete Dt[e]})),Dt[e]}const xt={fallbackLocale:null,loadingDelay:200,formats:{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"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function jt(){return xt}const Gt=z(!1);var zt=Object.defineProperty,$t=Object.defineProperties,Ft=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,qt=(e,t,n)=>t in e?zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Zt;const Wt=z(null);function Yt(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Jt(e,t=jt().fallbackLocale){const n=Yt(e);return t?[...new Set([...n,...Yt(t)])]:n}function Qt(){return null!=Zt?Zt:void 0}Wt.subscribe((e=>{Zt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const en=(tn=((e,t)=>{for(var n in t||(t={}))Kt.call(t,n)&&qt(e,n,t[n]);if(Vt)for(var n of Vt(t))Xt.call(t,n)&&qt(e,n,t[n]);return e})({},Wt),$t(tn,Ft({set:e=>{if(e&&function(e){if(null==e)return;const t=Jt(e);for(let e=0;e<t.length;e++){const n=t[e];if(It(n))return n}}(e)&&Mt(e)){const{loadingDelay:t}=jt();let n;return"undefined"!=typeof window&&null!=Qt()&&t?n=window.setTimeout((()=>Gt.set(!0)),t):Gt.set(!0),Ut(e).then((()=>{Wt.set(e)})).finally((()=>{clearTimeout(n),Gt.set(!1)}))}return Wt.set(e)}})));var tn;const nn=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var rn=Object.defineProperty,on=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,ln=(e,t,n)=>t in e?rn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cn=(e,t)=>{for(var n in t||(t={}))sn.call(t,n)&&ln(e,n,t[n]);if(on)for(var n of on(t))an.call(t,n)&&ln(e,n,t[n]);return e},un=(e,t)=>{var n={};for(var i in e)sn.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&on)for(var i of on(e))t.indexOf(i)<0&&an.call(e,i)&&(n[i]=e[i]);return n};const hn=(e,t)=>{const{formats:n}=jt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},pn=nn((e=>{var t=e,{locale:n,format:i}=t,r=un(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(r=hn("number",i)),new Intl.NumberFormat(n,r)})),mn=nn((e=>{var t=e,{locale:n,format:i}=t,r=un(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?r=hn("date",i):0===Object.keys(r).length&&(r=hn("date","short")),new Intl.DateTimeFormat(n,r)})),fn=nn((e=>{var t=e,{locale:n,format:i}=t,r=un(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?r=hn("time",i):0===Object.keys(r).length&&(r=hn("time","short")),new Intl.DateTimeFormat(n,r)})),dn=nn((
570
570
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
571
- (e,t=Qt())=>new Pt(e,t,jt().formats,{ignoreTag:jt().ignoreTag}))),gn=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Qt(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Ht(e,l);if(u){if("string"!=typeof u)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}else u=null!=(o=null!=(i=null==(r=(n=jt()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?o:e;if(!a)return u;let h=u;try{h=dn(u,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},yn=(e,t)=>((e={})=>{var t=e,{locale:n=Qt()}=t,r=un(t,["locale"]);return mn(cn({locale:n},r))})(t).format(e),bn=(e,t)=>((e={})=>{var t=e,{locale:n=Qt()}=t,r=un(t,["locale"]);return fn(cn({locale:n},r))})(t).format(e),En=(e,t)=>((e={})=>{var t=e,{locale:n=Qt()}=t,r=un(t,["locale"]);return pn(cn({locale:n},r))})(t).format(e),vn=(e,t=Qt())=>Ht(e,t),Tn=z([en,St],(()=>gn));function Bn(e,t){It(e,t)}z([en],(()=>yn)),z([en],(()=>bn)),z([en],(()=>En)),z([en,St],(()=>vn));const wn={en:{loading:"Loading, please wait...",setLimit:"Set a limit",setLimitDescription:"In Germany, you are legally required to set a monthly deposit limit. Therefore, we ask you to confirm your existing limit or set a new one in order to enjoy playing without restrictions.",lugasInfo1:"Any questions? Information about",lugasInfo2:"LUGAS",keepCurrentLimit:"KEEP THE CURRENT LIMIT",keepCurrentLimitButton:"NEW LIMIT",applyButton:"APPLY",depositPeriod:"Monthly deposit limit",TCpart1:'By clicking "Keep the current limit" or "Apply" I confirm that I have read and accept the',TClink:"General Terms and Conditions",TCpart2:"Also note our",PPlink:"Privacy Policy",depositLimit:"Deposit Limit set",successful:"Successful!",successDescription:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kyc1Part1:"We were able to set your monthly deposit limit to",kyc1Part2:"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.",kycButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",depositError:"Deposit Limit update error",errorDescription:"We were unable to set your limit at this time, due to a server error. Please try again later.",docsRequired:"Documents required!",kyc2:"For the selected limit, we require documents that show your financial situation. Please upload your last payslip as well as a current bank statement, that shows the account balance as well as that you received the salary payment."},de:{loading:"Lädt ...",setLimit:"Legen Sie ein Grenzwert fest",setLimitDescription:"In Deutschland müssen Sie gesetzlich ein monatliches Einlagenlimit festlegen.",lugasInfo1:"Fragen? Informationen zu",lugasInfo2:"LUGAS",keepCurrentLimit:"Aktuelles Limit beibehalten",keepCurrentLimitButton:"Neue Grenze",applyButton:"Anwenden",depositPeriod:"Monatliche Einzahlungslimit",TCpart1:'Durch Klicken auf "das aktuelle Grenzwert halten" oder "anwenden", bestätige ich, dass ich die',TClink:"Allgemeine Geschäftsbedingungen",TCpart2:"Beachten Sie auch unsere",PPlink:"Datenschutz-Bestimmungen",depositLimit:"Erfolgreich",successful:"Erfolgreich",successDescription:"Einzahlungslimit erfolgreich festgelegt. Sie können Ihre Grenzen jederzeit in den Kontoeinstellungen verwalten.",kyc1Part1:"Wir konnten Ihr monatliches Einzahlungslimit auf",kyc1Part2:"Um das Limit auf den gewünschten Betrag zu erhöhen, bitten wir, uns relevante Informationen zur Verfügung zu stellen. Diese Informationen können im Dokumenten-Upload eingereicht werden.",kycButton:"Dokumente hochladen",closeButton:"Schließen",depositError:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",errorDescription:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",docsRequired:"Documents required!",kyc2:"Für das gewählte Limit benötigen wir Dokumente, aus denen Ihre finanzielle Situation hervorgeht. Bitte laden Sie Ihre letzte Gehaltsabrechnung sowie einen aktuellen Kontoauszug, auf dem Kontostand sowie Gehaltseingang ersichtlich sind, hoch."},hr:{loading:"Učitavanje",setLimit:"Postavite ograničenje",setLimitDescription:"U Njemačkoj",lugasInfo1:"Ima li pitanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"ZADRŽITE TRENUTNO OGRANIČENJE",keepCurrentLimitButton:"NOVO OGRANIČENJE",applyButton:"PRIMJENI",depositPeriod:"Mjesečno ograničenje uplate",TCpart1:'Klikom na "Zadrži trenutno ograničenje" ili "Primijeni" potvrđujem da sam pročitao i prihvaćam',TClink:"Opći uvjeti poslovanja",TCpart2:"Također imajte na umu našu",PPlink:"Politiku privatnosti",depositLimit:"Postavljeno ograničenje uplate",successful:"Uspješno!",successDescription:"Ograničenje uplate je uspješno postavljeno. Svojim ograničenjima možete upravljati u bilo kojem trenutku u postavkama računa.",kyc1Part1:"Uspjeli smo postaviti vaše mjesečno ograničenje uplate na",kyc1Part2:"Kako bi povećali ograničenje na željeni iznos",kycButton:"UČITAJ DOKUMENTE",closeButton:"ZATVORI",depositError:"Pogreška ažuriranja ograničenja uplate",errorDescription:"Trenutačno nismo mogli postaviti vaše ograničenje",docsRequired:"Potrebni dokumenti!",kyc2:"Za odabrano ograničenje"},sl:{loading:"Nalaga...",setLimit:"Določi limit",setLimitDescription:"V Nemčiji je zakonsko predpisano, da določite mesečni vplačilni limit.",lugasInfo1:"Vprašanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"Ohranite obstoječi limit",keepCurrentLimitButton:"Novi limit",applyButton:"Uporabi",depositPeriod:"Mesečni vplačilni limit",TCpart1:"S klikom na „ohranite obstoječi limit“ ali „prevzem“ potrjujem, da sem prebral-a",TClink:"Splošna pravila in pogoji",TCpart2:"Preverite tudi na naš",PPlink:"Pravila o zasebnosti",depositLimit:"Uspešno",successful:"Uspešno",successDescription:"Vplačilni limit je bil uspešno postavljen. Limiti se lahko kadar koli prilagodijo v nastavitvah stavnega računa.",kyc1Part1:"Mesečni vplačilni limit smo lahko nastavili na",kyc1Part2:"Da bi povečali limit na želeni znesek, prosimo, da nam posredujete relevantne informacije. Te informacije lahko naložite pod prenos dokumentov.",kycButton:"Naložite dokumenteS",closeButton:"Zapri",depositError:"Nekaj ​​je šlo narobe. Prosim poskusite ponovno.",errorDescription:"Nekaj ​​je šlo narobe. Prosim poskusite ponovno.",docsRequired:"Documents required!",kyc2:"Za izbrani limit, potrebujemo dokumente, ki prikazujejo vašo ekonomsko stanje. Prosimo naložite vašo zadnjo plačilno listo in zadnji bančni izpisek, vključno s prikazom dobroimetja, ki prikazuje, da ste prejeli plačilo."},pl:{loading:"Ładowanie...",setLimit:"Ustaw limit",setLimitDescription:"W Niemczech istnieje prawny obowiązek ustalenia miesięcznego limitu wpłat.",lugasInfo1:"Jakieś pytania? Informacja o",lugasInfo2:"LUGAS",keepCurrentLimit:"Zachowaj obecny limit",keepCurrentLimitButton:"Nowy limit",applyButton:"Zastosuj",depositPeriod:"Miesięczny limit wpłat",TCpart1:'Klikając na "Zachowaj obecny limit" lub "Zastosuj", potwierdzam, że przeczytałem i akceptuję',TClink:"Ogólne warunki handlowe",TCpart2:"Zapoznaj się również z naszą",PPlink:"Polityka prywatności",depositLimit:"Zakończone powodzeniem",successful:"Zakończone powodzeniem",successDescription:"Limit wpłat ustawiony pomyślnie. Możesz zarządzać limitami w dowolnym momencie w ustawieniach konta.",kyc1Part1:"Udało nam się ustawić Twój miesięczny limit wpłat na",kyc1Part2:"Aby zwiększyć limit żądanej kwoty, prosimy o podanie nam odpowiednich informacji. Informacje te można przesłać w przesyłaniu dokumentu.",kycButton:"Wczytywanie dokumentów",closeButton:"zamknij",depositError:"Coś poszło nie tak. Proszę spróbuj ponownie.",errorDescription:"Coś poszło nie tak. Proszę spróbuj ponownie.",docsRequired:"Documents required!",kyc2:"Do wybranego limitu potrzebujemy dokumentów potwierdzających Państwa sytuację finansową. Prosimy o przesłanie ostatniego odcinka wypłaty oraz aktualnego wyciągu bankowego, na którym widnieje stan konta i przychodzące wynagrodzenie."},es:{loading:"Cargando...",setLimit:"Establece un límite",setLimitDescription:"En Alemania",lugasInfo1:"Alguna pregunta? Información sobre",lugasInfo2:"LUGAS",keepCurrentLimit:"MANTENER LÍMITE ACTUAL",keepCurrentLimitButton:"NUEVO LÍMITE",applyButton:"APLICAR",depositPeriod:"Límite Mensual de depósitos",TCpart1:'Dando clic en "Mantener límite actual" o "Aplicar" yo confirmo que he leido y aceptado los',TClink:"Términos y Condiciones Generales",TCpart2:"También note nuestra",PPlink:"Politica de Privacidad",depositLimit:"Límite de depósito establecido",successful:"Exitoso!",successDescription:"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.",kyc1Part1:"Pudimos estabelecer tu límite de deposito mensual en",kyc1Part2:"Para aumentar el límite a la cantidad deseada",kycButton:"SUBIR DOCUMENTOS / ADJUNTAR DOCUMENTOS",closeButton:"CERRAR",depositError:"Error en actualización de límite de depósito",errorDescription:"No pudimos actualizar tu límite en este momento.",docsRequired:"Documentos requeridos!",kyc2:"Para el límite seleccionado."}},{document:Pn}=a;
572
- /* src/PlayerAccountGamingLimitsPopup_2.svelte generated by Svelte v3.59.2 */function Ln(e){let t;function n(e,t){/*popupState*/
573
- return"initial"===e[10]?Cn:/*popupState*/"successful"===e[10]?kn:/*popupState*/"KYC"===e[10]?Sn:/*popupState*/"KYC2"===e[10]?_n:/*popupState*/"error"===e[10]?Hn:void 0}let r=n(e),i=r&&r(e);return{c(){t=h("div"),i&&i.c(),g(t,"class","InitialWrapper")},m(e,n){c(e,t,n),i&&i.m(t,null)},p(e,o){r===(r=n(e))&&i?i.p(e,o):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t,null)))},d(e){e&&u(t),i&&i.d()}}}
571
+ (e,t=Qt())=>new Lt(e,t,jt().formats,{ignoreTag:jt().ignoreTag}))),gn=(e,t={})=>{var n,i,r,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Qt(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Ht(e,l);if(u){if("string"!=typeof u)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}else u=null!=(o=null!=(r=null==(i=(n=jt()).handleMissingMessage)?void 0:i.call(n,{locale:l,id:e,defaultValue:c}))?r:c)?o:e;if(!a)return u;let h=u;try{h=dn(u,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},yn=(e,t)=>((e={})=>{var t=e,{locale:n=Qt()}=t,i=un(t,["locale"]);return fn(cn({locale:n},i))})(t).format(e),bn=(e,t)=>((e={})=>{var t=e,{locale:n=Qt()}=t,i=un(t,["locale"]);return mn(cn({locale:n},i))})(t).format(e),En=(e,t)=>((e={})=>{var t=e,{locale:n=Qt()}=t,i=un(t,["locale"]);return pn(cn({locale:n},i))})(t).format(e),vn=(e,t=Qt())=>Ht(e,t),Tn=$([en,St],(()=>gn));function Bn(e,t){Ct(e,t)}$([en],(()=>yn)),$([en],(()=>bn)),$([en],(()=>En)),$([en,St],(()=>vn));const Pn={en:{loading:"Loading, please wait...",setLimit:"Set a limit",setLimitDescription:"In Germany, you are legally required to set a monthly deposit limit. Therefore, we ask you to confirm your existing limit or set a new one in order to enjoy playing without restrictions.",lugasInfo1:"Any questions? Information about",lugasInfo2:"LUGAS",keepCurrentLimit:"KEEP THE CURRENT LIMIT",keepCurrentLimitButton:"NEW LIMIT",applyButton:"APPLY",depositPeriod:"Monthly deposit limit",TCpart1:'By clicking "Keep the current limit" or "Apply" I confirm that I have read and accept the',TClink:"General Terms and Conditions",TCpart2:"Also note our",PPlink:"Privacy Policy",depositLimit:"Deposit Limit set",successful:"Successful!",successDescription:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kyc1Part1:"We were able to set your monthly deposit limit to",kyc1Part2:"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.",kycButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",depositError:"Deposit Limit update error",errorDescription:"We were unable to set your limit at this time, due to a server error. Please try again later.",docsRequired:"Documents required!",kyc2:"For the selected limit, we require documents that show your financial situation. Please upload your last payslip as well as a current bank statement, that shows the account balance as well as that you received the salary payment."},de:{loading:"Lädt ...",setLimit:"Legen Sie ein Grenzwert fest",setLimitDescription:"In Deutschland müssen Sie gesetzlich ein monatliches Einlagenlimit festlegen.",lugasInfo1:"Fragen? Informationen zu",lugasInfo2:"LUGAS",keepCurrentLimit:"Aktuelles Limit beibehalten",keepCurrentLimitButton:"Neue Grenze",applyButton:"Anwenden",depositPeriod:"Monatliche Einzahlungslimit",TCpart1:'Durch Klicken auf "das aktuelle Grenzwert halten" oder "anwenden", bestätige ich, dass ich die',TClink:"Allgemeine Geschäftsbedingungen",TCpart2:"Beachten Sie auch unsere",PPlink:"Datenschutz-Bestimmungen",depositLimit:"Erfolgreich",successful:"Erfolgreich",successDescription:"Einzahlungslimit erfolgreich festgelegt. Sie können Ihre Grenzen jederzeit in den Kontoeinstellungen verwalten.",kyc1Part1:"Wir konnten Ihr monatliches Einzahlungslimit auf",kyc1Part2:"Um das Limit auf den gewünschten Betrag zu erhöhen, bitten wir, uns relevante Informationen zur Verfügung zu stellen. Diese Informationen können im Dokumenten-Upload eingereicht werden.",kycButton:"Dokumente hochladen",closeButton:"Schließen",depositError:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",errorDescription:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",docsRequired:"Documents required!",kyc2:"Für das gewählte Limit benötigen wir Dokumente, aus denen Ihre finanzielle Situation hervorgeht. Bitte laden Sie Ihre letzte Gehaltsabrechnung sowie einen aktuellen Kontoauszug, auf dem Kontostand sowie Gehaltseingang ersichtlich sind, hoch."},hr:{loading:"Učitavanje",setLimit:"Postavite ograničenje",setLimitDescription:"U Njemačkoj",lugasInfo1:"Ima li pitanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"ZADRŽITE TRENUTNO OGRANIČENJE",keepCurrentLimitButton:"NOVO OGRANIČENJE",applyButton:"PRIMJENI",depositPeriod:"Mjesečno ograničenje uplate",TCpart1:'Klikom na "Zadrži trenutno ograničenje" ili "Primijeni" potvrđujem da sam pročitao i prihvaćam',TClink:"Opći uvjeti poslovanja",TCpart2:"Također imajte na umu našu",PPlink:"Politiku privatnosti",depositLimit:"Postavljeno ograničenje uplate",successful:"Uspješno!",successDescription:"Ograničenje uplate je uspješno postavljeno. Svojim ograničenjima možete upravljati u bilo kojem trenutku u postavkama računa.",kyc1Part1:"Uspjeli smo postaviti vaše mjesečno ograničenje uplate na",kyc1Part2:"Kako bi povećali ograničenje na željeni iznos",kycButton:"UČITAJ DOKUMENTE",closeButton:"ZATVORI",depositError:"Pogreška ažuriranja ograničenja uplate",errorDescription:"Trenutačno nismo mogli postaviti vaše ograničenje",docsRequired:"Potrebni dokumenti!",kyc2:"Za odabrano ograničenje"},sl:{loading:"Nalaga...",setLimit:"Določi limit",setLimitDescription:"V Nemčiji je zakonsko predpisano, da določite mesečni vplačilni limit.",lugasInfo1:"Vprašanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"Ohranite obstoječi limit",keepCurrentLimitButton:"Novi limit",applyButton:"Uporabi",depositPeriod:"Mesečni vplačilni limit",TCpart1:"S klikom na „ohranite obstoječi limit“ ali „prevzem“ potrjujem, da sem prebral-a",TClink:"Splošna pravila in pogoji",TCpart2:"Preverite tudi na naš",PPlink:"Pravila o zasebnosti",depositLimit:"Uspešno",successful:"Uspešno",successDescription:"Vplačilni limit je bil uspešno postavljen. Limiti se lahko kadar koli prilagodijo v nastavitvah stavnega računa.",kyc1Part1:"Mesečni vplačilni limit smo lahko nastavili na",kyc1Part2:"Da bi povečali limit na želeni znesek, prosimo, da nam posredujete relevantne informacije. Te informacije lahko naložite pod prenos dokumentov.",kycButton:"Naložite dokumenteS",closeButton:"Zapri",depositError:"Nekaj ​​je šlo narobe. Prosim poskusite ponovno.",errorDescription:"Nekaj ​​je šlo narobe. Prosim poskusite ponovno.",docsRequired:"Documents required!",kyc2:"Za izbrani limit, potrebujemo dokumente, ki prikazujejo vašo ekonomsko stanje. Prosimo naložite vašo zadnjo plačilno listo in zadnji bančni izpisek, vključno s prikazom dobroimetja, ki prikazuje, da ste prejeli plačilo."},pl:{loading:"Ładowanie...",setLimit:"Ustaw limit",setLimitDescription:"W Niemczech istnieje prawny obowiązek ustalenia miesięcznego limitu wpłat.",lugasInfo1:"Jakieś pytania? Informacja o",lugasInfo2:"LUGAS",keepCurrentLimit:"Zachowaj obecny limit",keepCurrentLimitButton:"Nowy limit",applyButton:"Zastosuj",depositPeriod:"Miesięczny limit wpłat",TCpart1:'Klikając na "Zachowaj obecny limit" lub "Zastosuj", potwierdzam, że przeczytałem i akceptuję',TClink:"Ogólne warunki handlowe",TCpart2:"Zapoznaj się również z naszą",PPlink:"Polityka prywatności",depositLimit:"Zakończone powodzeniem",successful:"Zakończone powodzeniem",successDescription:"Limit wpłat ustawiony pomyślnie. Możesz zarządzać limitami w dowolnym momencie w ustawieniach konta.",kyc1Part1:"Udało nam się ustawić Twój miesięczny limit wpłat na",kyc1Part2:"Aby zwiększyć limit żądanej kwoty, prosimy o podanie nam odpowiednich informacji. Informacje te można przesłać w przesyłaniu dokumentu.",kycButton:"Wczytywanie dokumentów",closeButton:"zamknij",depositError:"Coś poszło nie tak. Proszę spróbuj ponownie.",errorDescription:"Coś poszło nie tak. Proszę spróbuj ponownie.",docsRequired:"Documents required!",kyc2:"Do wybranego limitu potrzebujemy dokumentów potwierdzających Państwa sytuację finansową. Prosimy o przesłanie ostatniego odcinka wypłaty oraz aktualnego wyciągu bankowego, na którym widnieje stan konta i przychodzące wynagrodzenie."},es:{loading:"Cargando...",setLimit:"Establece un límite",setLimitDescription:"En Alemania",lugasInfo1:"Alguna pregunta? Información sobre",lugasInfo2:"LUGAS",keepCurrentLimit:"MANTENER LÍMITE ACTUAL",keepCurrentLimitButton:"NUEVO LÍMITE",applyButton:"APLICAR",depositPeriod:"Límite Mensual de depósitos",TCpart1:'Dando clic en "Mantener límite actual" o "Aplicar" yo confirmo que he leido y aceptado los',TClink:"Términos y Condiciones Generales",TCpart2:"También note nuestra",PPlink:"Politica de Privacidad",depositLimit:"Límite de depósito establecido",successful:"Exitoso!",successDescription:"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.",kyc1Part1:"Pudimos estabelecer tu límite de deposito mensual en",kyc1Part2:"Para aumentar el límite a la cantidad deseada",kycButton:"SUBIR DOCUMENTOS / ADJUNTAR DOCUMENTOS",closeButton:"CERRAR",depositError:"Error en actualización de límite de depósito",errorDescription:"No pudimos actualizar tu límite en este momento.",docsRequired:"Documentos requeridos!",kyc2:"Para el límite seleccionado."},"pt-br":{Loading:"Carregando, por favor espere...",setLimit:"Definir limite",setLimitDescription:'Na Alemanha, por lei é obrigatório estabelecer um limite de depósito mensal, portanto",Pedimos que você confirme o limite existente ou defina um novo para aproveitar o jogo sem restrições.',lugasInfo1:"Dúvidas? Informação sobre",lugasInfo2:"LUGARES",keepCurrentLimit:"MANTENHA O LIMITE ATUAL",keepCurrentLimitButton:"NOVO LIMITE",applyButton:"APLICAR",depositPeriod:"LIMITE DE DEPÓSITO MENSAL",TCpart1:'Ao selecionar ""manter limite atual"" ou ""aplicar"", confirmo que aceitei o"',TClink:"Termos e Condições Gerais",TCpart2:'Por favor, leve também em consideração o nosso"',PPlink:"Política de privacidade",depositLimit:"Limite de depósito fixo",successful:"Operação bem-sucedida",successDescription:"O limite de depósito foi definido com sucesso. Você pode gerenciar seus limites a qualquer momento na seção Configurações da sua conta.",kyc1Part1:"Conseguimos definir seu limite de depósito mensal para",kyc1Part2:"Para aumentar o limite de depósito mensal,Pedimos que você compartilhe-nos informações relevantes. Essas informações podem ser enviadas na seção de upload de arquivos na página",kycButton:"FAZER UPLOAD DE ARQUIVOS",closeButton:"Data",depositError:"Erro de atualização do limite de depósito",errorDescription:"Não foi possível atualizar seu limite neste momento,devido a um erro no servidor. Tente mais tarde",docsRequired:"Documentos requeridos",kyc2:'Para o limite selecionado," Exigimos documentos que comprovem sua situação financeira. Envie seu recibo de pagamento mais recente, bem como um extrato bancário atual",mostrando o saldo da sua conta e o depósito do seu salário.'},"es-mx":{Loading:"Cargando, por favor espere...",setLimit:"Fijar límite",setLimitDescription:'En Alemania,"por ley se requiere fijar un límite de depósito mensual, por lo tanto", le pedimos confirme el límite existente o establezca uno nuevo para disfrutar el juego sin restricciones.',lugasInfo1:"¿Alguna pregunta? Información acerca de",lugasInfo2:"LUGAS",keepCurrentLimit:"MANTENER EL LÍMITE ACTUAL",keepCurrentLimitButton:"LÍMITE NUEVO",applyButton:"APLICAR",depositPeriod:"LÍMITE DE DEPÓSITO MENSUAL",TClink:"Términos y condiciones generales",TCpart2:"Por favor también tome en cuenta nuestra",PPlink:"Política de privacidad",depositLimit:"Límite de depósito fijado",successful:"Operación exitosa",successDescription:"El límite depósito se ha fijado exitosamente. Puede manejar sus límites en cualquier momento en la sección de Ajustes de su cuenta.",kyc1Part1:"Pudimos fijar su límite de depósito mensual a",kyc1Part2:"Para poder incrementar el límite de depósito mensual,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",kycButton:"SUBIR ARCHIVOS",closeButton:"CERRAR",depositError:"Error de actualización de límite de depósito",errorDescription:"No pudimos actualizar su límite en este momento,debido a un error del servidor. Intente más tarde",docsRequired:"Documentos requeridos",kyc2:"Para el límite seleccionado, requerimos documentos que muestren su situación financiera. Por favor suba su último talón de pago al igual que un estado de cuenta bancario actual, que muestre el balance de su cuenta y el depósito de su salario."}},{document:Ln}=a;
572
+ /* src/PlayerAccountGamingLimitsPopup_2.svelte generated by Svelte v3.59.2 */function wn(e){let t;function n(e,t){/*popupState*/
573
+ return"initial"===e[10]?_n:/*popupState*/"successful"===e[10]?In:/*popupState*/"KYC"===e[10]?Sn:/*popupState*/"KYC2"===e[10]?kn:/*popupState*/"error"===e[10]?Hn:void 0}let i=n(e),r=i&&i(e);return{c(){t=h("div"),r&&r.c(),g(t,"class","InitialWrapper")},m(e,n){c(e,t,n),r&&r.m(t,null)},p(e,o){i===(i=n(e))&&r?r.p(e,o):(r&&r.d(1),r=i&&i(e),r&&(r.c(),r.m(t,null)))},d(e){e&&u(t),r&&r.d()}}}
574
574
  // (146:8) {#if isLoading}
575
- function An(e){let t,n,r=/*$_*/e[12]("loading")+"";return{c(){t=h("p"),n=f(r)},m(e,r){c(e,t,r),l(t,n)},p(e,t){/*$_*/4096&t[0]&&r!==(r=/*$_*/e[12]("loading")+"")&&b(n,r)},d(e){e&&u(t)}}}
575
+ function An(e){let t,n,i=/*$_*/e[12]("loading")+"";return{c(){t=h("p"),n=m(i)},m(e,i){c(e,t,i),l(t,n)},p(e,t){/*$_*/4096&t[0]&&i!==(i=/*$_*/e[12]("loading")+"")&&b(n,i)},d(e){e&&u(t)}}}
576
576
  // (242:43)
577
- function Hn(e){let t,n,r,i,o,s,a,p,y,E,v,T,B=/*$_*/e[12]("depositError")+"",w=/*$_*/e[12]("errorDescription")+"",P=/*$_*/e[12]("closeButton")+"";return{c(){t=h("p"),n=f(B),r=m(),i=h("div"),i.innerHTML='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><metadata>Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata><g><path d="M500,100.9c220,0,399.1,179,399.1,399.1S720.1,899.1,500,899.1c-220.1,0-399.1-179-399.1-399.1C100.9,279.9,279.9,100.9,500,100.9 M500,10C229.4,10,10,229.4,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.4,770.6,10,500,10L500,10z"></path><path d="M658.7,734.5L272.2,348l75-75l386.4,386.4L658.7,734.5z"></path><path d="M347.2,734.5l-75-75L658.7,273l75,75L347.2,734.5z"></path></g></svg>',o=m(),s=h("p"),a=f(w),p=m(),y=h("button"),E=f(P),g(t,"class","Title"),g(i,"class","ResultIconWrapper"),g(s,"class","Description CenterAlign"),g(y,"class","ConfirmButton SecondaryButtonStyle")},m(u,h){c(u,t,h),l(t,n),c(u,r,h),c(u,i,h),c(u,o,h),c(u,s,h),l(s,a),c(u,p,h),c(u,y,h),l(y,E),v||(T=d(y,"click",/*click_handler_10*/e[36]),v=!0)},p(e,t){/*$_*/4096&t[0]&&B!==(B=/*$_*/e[12]("depositError")+"")&&b(n,B),/*$_*/4096&t[0]&&w!==(w=/*$_*/e[12]("errorDescription")+"")&&b(a,w),/*$_*/4096&t[0]&&P!==(P=/*$_*/e[12]("closeButton")+"")&&b(E,P)},d(e){e&&u(t),e&&u(r),e&&u(i),e&&u(o),e&&u(s),e&&u(p),e&&u(y),v=!1,T()}}}
577
+ function Hn(e){let t,n,i,r,o,s,a,p,y,E,v,T,B=/*$_*/e[12]("depositError")+"",P=/*$_*/e[12]("errorDescription")+"",L=/*$_*/e[12]("closeButton")+"";return{c(){t=h("p"),n=m(B),i=f(),r=h("div"),r.innerHTML='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><metadata>Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata><g><path d="M500,100.9c220,0,399.1,179,399.1,399.1S720.1,899.1,500,899.1c-220.1,0-399.1-179-399.1-399.1C100.9,279.9,279.9,100.9,500,100.9 M500,10C229.4,10,10,229.4,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.4,770.6,10,500,10L500,10z"></path><path d="M658.7,734.5L272.2,348l75-75l386.4,386.4L658.7,734.5z"></path><path d="M347.2,734.5l-75-75L658.7,273l75,75L347.2,734.5z"></path></g></svg>',o=f(),s=h("p"),a=m(P),p=f(),y=h("button"),E=m(L),g(t,"class","Title"),g(r,"class","ResultIconWrapper"),g(s,"class","Description CenterAlign"),g(y,"class","ConfirmButton SecondaryButtonStyle")},m(u,h){c(u,t,h),l(t,n),c(u,i,h),c(u,r,h),c(u,o,h),c(u,s,h),l(s,a),c(u,p,h),c(u,y,h),l(y,E),v||(T=d(y,"click",/*click_handler_10*/e[36]),v=!0)},p(e,t){/*$_*/4096&t[0]&&B!==(B=/*$_*/e[12]("depositError")+"")&&b(n,B),/*$_*/4096&t[0]&&P!==(P=/*$_*/e[12]("errorDescription")+"")&&b(a,P),/*$_*/4096&t[0]&&L!==(L=/*$_*/e[12]("closeButton")+"")&&b(E,L)},d(e){e&&u(t),e&&u(i),e&&u(r),e&&u(o),e&&u(s),e&&u(p),e&&u(y),v=!1,T()}}}
578
578
  // (219:42)
579
- function _n(e){let t,n,i,o,s,a,y,E,T,B,w,P,L,A,H,_,S,k,C,I,N,O,M=/*$_*/e[12]("docsRequired")+"",R=/*$_*/e[12]("docsRequired")+"",D=/*$_*/e[12]("kyc2")+"",U=/*$_*/e[12]("kycButton")+"",x=/*$_*/e[12]("closeButton")+"";return{c(){t=h("p"),n=f(M),i=m(),o=h("div"),s=h("div"),a=p("svg"),y=p("g"),E=p("path"),T=m(),B=h("p"),w=f(R),P=m(),L=h("p"),A=f(D),H=m(),_=h("button"),S=f(U),k=m(),C=h("button"),I=f(x),g(t,"class","Title"),g(E,"id","XMLID_6_"),g(E,"d","M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360\n c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55\n c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1\n h256.5v-82.1H429v366.5H429.9z"),g(y,"id","XMLID_1_"),g(a,"version","1.1"),g(a,"id","Layer_1"),g(a,"xmlns","http://www.w3.org/2000/svg"),g(a,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(a,"x","0px"),g(a,"y","0px"),g(a,"viewBox","0 0 512 512"),v(a,"enable-background","new 0 0 512 512"),g(a,"xml:space","preserve"),g(s,"class","ResultIconWrapper"),g(L,"class","Description CenterAlign"),g(o,"class","DescriptionWrapper"),g(_,"class","KycButton PrimaryButtonStyle"),g(C,"class","ConfirmButton SecondaryButtonStyle")},m(r,u){c(r,t,u),l(t,n),c(r,i,u),c(r,o,u),l(o,s),l(s,a),l(a,y),l(y,E),l(s,T),l(s,B),l(B,w),l(o,P),l(o,L),l(L,A),c(r,H,u),c(r,_,u),l(_,S),c(r,k,u),c(r,C,u),l(C,I),N||(O=[d(_,"click",/*click_handler_8*/e[34]),d(C,"click",/*click_handler_9*/e[35])],N=!0)},p(e,t){/*$_*/4096&t[0]&&M!==(M=/*$_*/e[12]("docsRequired")+"")&&b(n,M),/*$_*/4096&t[0]&&R!==(R=/*$_*/e[12]("docsRequired")+"")&&b(w,R),/*$_*/4096&t[0]&&D!==(D=/*$_*/e[12]("kyc2")+"")&&b(A,D),/*$_*/4096&t[0]&&U!==(U=/*$_*/e[12]("kycButton")+"")&&b(S,U),/*$_*/4096&t[0]&&x!==(x=/*$_*/e[12]("closeButton")+"")&&b(I,x)},d(e){e&&u(t),e&&u(i),e&&u(o),e&&u(H),e&&u(_),e&&u(k),e&&u(C),N=!1,r(O)}}}
579
+ function kn(e){let t,n,r,o,s,a,y,E,T,B,P,L,w,A,H,k,S,I,_,C,N,O,M=/*$_*/e[12]("docsRequired")+"",R=/*$_*/e[12]("docsRequired")+"",D=/*$_*/e[12]("kyc2")+"",U=/*$_*/e[12]("kycButton")+"",x=/*$_*/e[12]("closeButton")+"";return{c(){t=h("p"),n=m(M),r=f(),o=h("div"),s=h("div"),a=p("svg"),y=p("g"),E=p("path"),T=f(),B=h("p"),P=m(R),L=f(),w=h("p"),A=m(D),H=f(),k=h("button"),S=m(U),I=f(),_=h("button"),C=m(x),g(t,"class","Title"),g(E,"id","XMLID_6_"),g(E,"d","M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360\n c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55\n c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1\n h256.5v-82.1H429v366.5H429.9z"),g(y,"id","XMLID_1_"),g(a,"version","1.1"),g(a,"id","Layer_1"),g(a,"xmlns","http://www.w3.org/2000/svg"),g(a,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(a,"x","0px"),g(a,"y","0px"),g(a,"viewBox","0 0 512 512"),v(a,"enable-background","new 0 0 512 512"),g(a,"xml:space","preserve"),g(s,"class","ResultIconWrapper"),g(w,"class","Description CenterAlign"),g(o,"class","DescriptionWrapper"),g(k,"class","KycButton PrimaryButtonStyle"),g(_,"class","ConfirmButton SecondaryButtonStyle")},m(i,u){c(i,t,u),l(t,n),c(i,r,u),c(i,o,u),l(o,s),l(s,a),l(a,y),l(y,E),l(s,T),l(s,B),l(B,P),l(o,L),l(o,w),l(w,A),c(i,H,u),c(i,k,u),l(k,S),c(i,I,u),c(i,_,u),l(_,C),N||(O=[d(k,"click",/*click_handler_8*/e[34]),d(_,"click",/*click_handler_9*/e[35])],N=!0)},p(e,t){/*$_*/4096&t[0]&&M!==(M=/*$_*/e[12]("docsRequired")+"")&&b(n,M),/*$_*/4096&t[0]&&R!==(R=/*$_*/e[12]("docsRequired")+"")&&b(P,R),/*$_*/4096&t[0]&&D!==(D=/*$_*/e[12]("kyc2")+"")&&b(A,D),/*$_*/4096&t[0]&&U!==(U=/*$_*/e[12]("kycButton")+"")&&b(S,U),/*$_*/4096&t[0]&&x!==(x=/*$_*/e[12]("closeButton")+"")&&b(C,x)},d(e){e&&u(t),e&&u(r),e&&u(o),e&&u(H),e&&u(k),e&&u(I),e&&u(_),N=!1,i(O)}}}
580
580
  // (196:41)
581
- function Sn(e){let t,n,i,o,s,a,y,E,T,B,w,P,L,A,H,_,S,k,C,I,N,O,M,R,D,U,x=/*$_*/e[12]("depositLimit")+"",j=/*$_*/e[12]("successful")+"",G=/*$_*/e[12]("kyc1Part1")+"",$=/*$_*/e[12]("kyc1Part2")+"",z=/*$_*/e[12]("kycButton")+"",F=/*$_*/e[12]("closeButton")+"";return{c(){t=h("p"),n=f(x),i=m(),o=h("div"),s=h("div"),a=p("svg"),y=p("g"),E=p("path"),T=m(),B=h("p"),w=f(j),P=m(),L=h("p"),A=f(G),H=f(/*legislatorLimitValue*/e[11]),_=m(),S=f(/*currency*/e[0]),k=f($),C=m(),I=h("button"),N=f(z),O=m(),M=h("button"),R=f(F),g(t,"class","Title"),g(E,"id","XMLID_6_"),g(E,"d","M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360\n c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55\n c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1\n h256.5v-82.1H429v366.5H429.9z"),g(y,"id","XMLID_1_"),g(a,"version","1.1"),g(a,"id","Layer_1"),g(a,"xmlns","http://www.w3.org/2000/svg"),g(a,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(a,"x","0px"),g(a,"y","0px"),g(a,"viewBox","0 0 512 512"),v(a,"enable-background","new 0 0 512 512"),g(a,"xml:space","preserve"),g(s,"class","ResultIconWrapper"),g(L,"class","Description CenterAlign"),g(o,"class","DescriptionWrapper"),g(I,"class","KycButton PrimaryButtonStyle"),g(M,"class","ConfirmButton SecondaryButtonStyle")},m(r,u){c(r,t,u),l(t,n),c(r,i,u),c(r,o,u),l(o,s),l(s,a),l(a,y),l(y,E),l(s,T),l(s,B),l(B,w),l(o,P),l(o,L),l(L,A),l(L,H),l(L,_),l(L,S),l(L,k),c(r,C,u),c(r,I,u),l(I,N),c(r,O,u),c(r,M,u),l(M,R),D||(U=[d(I,"click",/*click_handler_6*/e[32]),d(M,"click",/*click_handler_7*/e[33])],D=!0)},p(e,t){/*$_*/4096&t[0]&&x!==(x=/*$_*/e[12]("depositLimit")+"")&&b(n,x),/*$_*/4096&t[0]&&j!==(j=/*$_*/e[12]("successful")+"")&&b(w,j),/*$_*/4096&t[0]&&G!==(G=/*$_*/e[12]("kyc1Part1")+"")&&b(A,G),/*legislatorLimitValue*/2048&t[0]&&b(H,/*legislatorLimitValue*/e[11]),/*currency*/1&t[0]&&b(S,/*currency*/e[0]),/*$_*/4096&t[0]&&$!==($=/*$_*/e[12]("kyc1Part2")+"")&&b(k,$),/*$_*/4096&t[0]&&z!==(z=/*$_*/e[12]("kycButton")+"")&&b(N,z),/*$_*/4096&t[0]&&F!==(F=/*$_*/e[12]("closeButton")+"")&&b(R,F)},d(e){e&&u(t),e&&u(i),e&&u(o),e&&u(C),e&&u(I),e&&u(O),e&&u(M),D=!1,r(U)}}}
581
+ function Sn(e){let t,n,r,o,s,a,y,E,T,B,P,L,w,A,H,k,S,I,_,C,N,O,M,R,D,U,x=/*$_*/e[12]("depositLimit")+"",j=/*$_*/e[12]("successful")+"",G=/*$_*/e[12]("kyc1Part1")+"",z=/*$_*/e[12]("kyc1Part2")+"",$=/*$_*/e[12]("kycButton")+"",F=/*$_*/e[12]("closeButton")+"";return{c(){t=h("p"),n=m(x),r=f(),o=h("div"),s=h("div"),a=p("svg"),y=p("g"),E=p("path"),T=f(),B=h("p"),P=m(j),L=f(),w=h("p"),A=m(G),H=m(/*legislatorLimitValue*/e[11]),k=f(),S=m(/*currency*/e[0]),I=m(z),_=f(),C=h("button"),N=m($),O=f(),M=h("button"),R=m(F),g(t,"class","Title"),g(E,"id","XMLID_6_"),g(E,"d","M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360\n c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55\n c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1\n h256.5v-82.1H429v366.5H429.9z"),g(y,"id","XMLID_1_"),g(a,"version","1.1"),g(a,"id","Layer_1"),g(a,"xmlns","http://www.w3.org/2000/svg"),g(a,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(a,"x","0px"),g(a,"y","0px"),g(a,"viewBox","0 0 512 512"),v(a,"enable-background","new 0 0 512 512"),g(a,"xml:space","preserve"),g(s,"class","ResultIconWrapper"),g(w,"class","Description CenterAlign"),g(o,"class","DescriptionWrapper"),g(C,"class","KycButton PrimaryButtonStyle"),g(M,"class","ConfirmButton SecondaryButtonStyle")},m(i,u){c(i,t,u),l(t,n),c(i,r,u),c(i,o,u),l(o,s),l(s,a),l(a,y),l(y,E),l(s,T),l(s,B),l(B,P),l(o,L),l(o,w),l(w,A),l(w,H),l(w,k),l(w,S),l(w,I),c(i,_,u),c(i,C,u),l(C,N),c(i,O,u),c(i,M,u),l(M,R),D||(U=[d(C,"click",/*click_handler_6*/e[32]),d(M,"click",/*click_handler_7*/e[33])],D=!0)},p(e,t){/*$_*/4096&t[0]&&x!==(x=/*$_*/e[12]("depositLimit")+"")&&b(n,x),/*$_*/4096&t[0]&&j!==(j=/*$_*/e[12]("successful")+"")&&b(P,j),/*$_*/4096&t[0]&&G!==(G=/*$_*/e[12]("kyc1Part1")+"")&&b(A,G),/*legislatorLimitValue*/2048&t[0]&&b(H,/*legislatorLimitValue*/e[11]),/*currency*/1&t[0]&&b(S,/*currency*/e[0]),/*$_*/4096&t[0]&&z!==(z=/*$_*/e[12]("kyc1Part2")+"")&&b(I,z),/*$_*/4096&t[0]&&$!==($=/*$_*/e[12]("kycButton")+"")&&b(N,$),/*$_*/4096&t[0]&&F!==(F=/*$_*/e[12]("closeButton")+"")&&b(R,F)},d(e){e&&u(t),e&&u(r),e&&u(o),e&&u(_),e&&u(C),e&&u(O),e&&u(M),D=!1,i(U)}}}
582
582
  // (179:48)
583
- function kn(e){let t,n,r,i,o,s,a,y,E,T,B,w,P,L,A,H,_,S,k,C,I,N=/*$_*/e[12]("depositLimit")+"",O=/*$_*/e[12]("successful")+"",M=/*$_*/e[12]("successDescription")+"";return{c(){t=h("p"),n=f(N),r=m(),i=h("div"),o=h("div"),s=p("svg"),a=p("defs"),y=p("style"),E=f(".fil0 {fill:black;fill-rule:nonzero}\n "),T=p("g"),B=p("polygon"),w=m(),P=h("p"),L=f(O),A=m(),H=h("p"),_=f(M),S=m(),k=h("button"),k.textContent="OK",g(t,"class","Title"),g(y,"type","text/css"),g(B,"class","fil0"),g(B,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),g(s,"xmlns","http://www.w3.org/2000/svg"),g(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(s,"xml:space","preserve"),g(s,"version","1.1"),v(s,"shape-rendering","geometricPrecision"),v(s,"text-rendering","geometricPrecision"),v(s,"image-rendering","optimizeQuality"),g(s,"viewBox","0 0 90 69"),g(s,"x","0px"),g(s,"y","0px"),g(s,"fill-rule","evenodd"),g(s,"clip-rule","evenodd"),g(o,"class","ResultIconWrapper"),g(H,"class","Description CenterAlign"),g(i,"class","DescriptionWrapper"),g(k,"class","ConfirmButton PrimaryButtonStyle")},m(u,h){c(u,t,h),l(t,n),c(u,r,h),c(u,i,h),l(i,o),l(o,s),l(s,a),l(a,y),l(y,E),l(s,T),l(T,B),l(o,w),l(o,P),l(P,L),l(i,A),l(i,H),l(H,_),c(u,S,h),c(u,k,h),C||(I=d(k,"click",/*click_handler_5*/e[31]),C=!0)},p(e,t){/*$_*/4096&t[0]&&N!==(N=/*$_*/e[12]("depositLimit")+"")&&b(n,N),/*$_*/4096&t[0]&&O!==(O=/*$_*/e[12]("successful")+"")&&b(L,O),/*$_*/4096&t[0]&&M!==(M=/*$_*/e[12]("successDescription")+"")&&b(_,M)},d(e){e&&u(t),e&&u(r),e&&u(i),e&&u(S),e&&u(k),C=!1,I()}}}
583
+ function In(e){let t,n,i,r,o,s,a,y,E,T,B,P,L,w,A,H,k,S,I,_,C,N=/*$_*/e[12]("depositLimit")+"",O=/*$_*/e[12]("successful")+"",M=/*$_*/e[12]("successDescription")+"";return{c(){t=h("p"),n=m(N),i=f(),r=h("div"),o=h("div"),s=p("svg"),a=p("defs"),y=p("style"),E=m(".fil0 {fill:black;fill-rule:nonzero}\n "),T=p("g"),B=p("polygon"),P=f(),L=h("p"),w=m(O),A=f(),H=h("p"),k=m(M),S=f(),I=h("button"),I.textContent="OK",g(t,"class","Title"),g(y,"type","text/css"),g(B,"class","fil0"),g(B,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),g(s,"xmlns","http://www.w3.org/2000/svg"),g(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(s,"xml:space","preserve"),g(s,"version","1.1"),v(s,"shape-rendering","geometricPrecision"),v(s,"text-rendering","geometricPrecision"),v(s,"image-rendering","optimizeQuality"),g(s,"viewBox","0 0 90 69"),g(s,"x","0px"),g(s,"y","0px"),g(s,"fill-rule","evenodd"),g(s,"clip-rule","evenodd"),g(o,"class","ResultIconWrapper"),g(H,"class","Description CenterAlign"),g(r,"class","DescriptionWrapper"),g(I,"class","ConfirmButton PrimaryButtonStyle")},m(u,h){c(u,t,h),l(t,n),c(u,i,h),c(u,r,h),l(r,o),l(o,s),l(s,a),l(a,y),l(y,E),l(s,T),l(T,B),l(o,P),l(o,L),l(L,w),l(r,A),l(r,H),l(H,k),c(u,S,h),c(u,I,h),_||(C=d(I,"click",/*click_handler_5*/e[31]),_=!0)},p(e,t){/*$_*/4096&t[0]&&N!==(N=/*$_*/e[12]("depositLimit")+"")&&b(n,N),/*$_*/4096&t[0]&&O!==(O=/*$_*/e[12]("successful")+"")&&b(w,O),/*$_*/4096&t[0]&&M!==(M=/*$_*/e[12]("successDescription")+"")&&b(k,M)},d(e){e&&u(t),e&&u(i),e&&u(r),e&&u(S),e&&u(I),_=!1,C()}}}
584
584
  // (150:10) {#if popupState === "initial"}
585
- function Cn(e){let t,n,i,o,s,a,v,B,w,P,L,A,H,_,S,k,C,I,N,O,M,R,D,U,x,j,G,$,z,F,V,K,X,Z,W,Y,q,J,Q,ee,te,ne,re,ie,oe=/*$_*/e[12]("setLimit")+"",se=/*$_*/e[12]("setLimitDescription")+"",ae=/*$_*/e[12]("lugasInfo1")+"",le=/*$_*/e[12]("lugasInfo2")+"",ce=/*$_*/e[12]("keepCurrentLimit")+"",ue=/*$_*/e[12]("keepCurrentLimitButton")+"",he=/*$_*/e[12]("depositPeriod")+"",pe=/*$_*/e[12]("applyButton")+"",fe=/*$_*/e[12]("TCpart1")+"",me=/*$_*/e[12]("TClink")+"",de=/*$_*/e[12]("TCpart2")+"",ge=/*$_*/e[12]("PPlink")+"";return{c(){t=h("p"),n=f(oe),i=m(),o=h("p"),s=f(se),a=m(),v=h("p"),B=f(ae),w=m(),P=h("button"),L=f(le),A=m(),H=h("button"),_=f(ce),S=m(),k=h("button"),C=f(ue),I=p("svg"),N=p("path"),O=p("path"),M=m(),R=h("div"),D=h("div"),U=h("span"),x=f(he),j=m(),G=h("div"),$=h("input"),z=m(),F=h("button"),V=f(pe),K=m(),X=h("p"),Z=f(fe),W=h("button"),Y=f(me),q=m(),J=f(de),Q=m(),ee=h("button"),te=f(ge),ne=f("."),g(t,"class","Title"),g(o,"class","Description LeftAlign"),g(P,"class","LinkButton"),g(v,"class","AdditionalInformation"),g(H,"class","KeepCurrentButton PrimaryButtonStyle"),g(N,"d","M10.5 15l7.5 7.5 7.5-7.5z"),g(O,"d","M0 0h36v36h-36z"),g(O,"fill","none"),g(I,"class","ExpandArrow"),g(I,"xmlns","http://www.w3.org/2000/svg"),g(I,"width","36"),g(I,"height","36"),g(I,"viewBox","0 0 36 36"),g(I,"fill","#999"),T(I,"Extended",/*extended*/e[5]),g(k,"class","ExpandButton"),g(U,"class","DepositPeriodText"),g(D,"class","DepositTextSection"),g($,"type","number"),g($,"class","DepositInput"),g(F,"type","submit"),g(F,"class","SubmitDepositButton PrimaryButtonStyle"),F.disabled=!0,g(G,"class","DepositInputSection"),g(R,"class","SetLimitSection"),T(R,"Hidden",/*hidden*/e[4]),g(W,"class","LinkButton"),g(ee,"class","LinkButton"),g(X,"class","TermsConditions")},m(r,u){c(r,t,u),l(t,n),c(r,i,u),c(r,o,u),l(o,s),c(r,a,u),c(r,v,u),l(v,B),l(v,w),l(v,P),l(P,L),c(r,A,u),c(r,H,u),l(H,_),c(r,S,u),c(r,k,u),l(k,C),l(k,I),l(I,N),l(I,O),
586
- /*svg_binding*/e[25](I),c(r,M,u),c(r,R,u),l(R,D),l(D,U),l(U,x),l(R,j),l(R,G),l(G,$),E($,/*inputAmount*/e[6]),l(G,z),l(G,F),l(F,V),
587
- /*button3_binding*/e[27](F),c(r,K,u),c(r,X,u),l(X,Z),l(X,W),l(W,Y),l(X,q),l(X,J),l(X,Q),l(X,ee),l(ee,te),l(X,ne),re||(ie=[d(P,"click",/*click_handler*/e[23]),d(H,"click",/*click_handler_1*/e[24]),d(k,"click",/*toggleNewLimitArea*/e[13]),d($,"input",/*input_input_handler*/e[26]),d($,"keyup",/*updateInputValue*/e[14]),d(F,"click",/*click_handler_2*/e[28]),d(W,"click",/*click_handler_3*/e[29]),d(ee,"click",/*click_handler_4*/e[30])],re=!0)},p(e,t){/*$_*/4096&t[0]&&oe!==(oe=/*$_*/e[12]("setLimit")+"")&&b(n,oe),/*$_*/4096&t[0]&&se!==(se=/*$_*/e[12]("setLimitDescription")+"")&&b(s,se),/*$_*/4096&t[0]&&ae!==(ae=/*$_*/e[12]("lugasInfo1")+"")&&b(B,ae),/*$_*/4096&t[0]&&le!==(le=/*$_*/e[12]("lugasInfo2")+"")&&b(L,le),/*$_*/4096&t[0]&&ce!==(ce=/*$_*/e[12]("keepCurrentLimit")+"")&&b(_,ce),/*$_*/4096&t[0]&&ue!==(ue=/*$_*/e[12]("keepCurrentLimitButton")+"")&&b(C,ue),/*extended*/32&t[0]&&T(I,"Extended",/*extended*/e[5]),/*$_*/4096&t[0]&&he!==(he=/*$_*/e[12]("depositPeriod")+"")&&b(x,he),/*inputAmount*/64&t[0]&&y($.value)!==/*inputAmount*/e[6]&&E($,/*inputAmount*/e[6]),/*$_*/4096&t[0]&&pe!==(pe=/*$_*/e[12]("applyButton")+"")&&b(V,pe),/*hidden*/16&t[0]&&T(R,"Hidden",/*hidden*/e[4]),/*$_*/4096&t[0]&&fe!==(fe=/*$_*/e[12]("TCpart1")+"")&&b(Z,fe),/*$_*/4096&t[0]&&me!==(me=/*$_*/e[12]("TClink")+"")&&b(Y,me),/*$_*/4096&t[0]&&de!==(de=/*$_*/e[12]("TCpart2")+"")&&b(J,de),/*$_*/4096&t[0]&&ge!==(ge=/*$_*/e[12]("PPlink")+"")&&b(te,ge)},d(n){n&&u(t),n&&u(i),n&&u(o),n&&u(a),n&&u(v),n&&u(A),n&&u(H),n&&u(S),n&&u(k)
585
+ function _n(e){let t,n,r,o,s,a,v,B,P,L,w,A,H,k,S,I,_,C,N,O,M,R,D,U,x,j,G,z,$,F,V,K,X,q,Z,W,Y,J,Q,ee,te,ne,ie,re,oe=/*$_*/e[12]("setLimit")+"",se=/*$_*/e[12]("setLimitDescription")+"",ae=/*$_*/e[12]("lugasInfo1")+"",le=/*$_*/e[12]("lugasInfo2")+"",ce=/*$_*/e[12]("keepCurrentLimit")+"",ue=/*$_*/e[12]("keepCurrentLimitButton")+"",he=/*$_*/e[12]("depositPeriod")+"",pe=/*$_*/e[12]("applyButton")+"",me=/*$_*/e[12]("TCpart1")+"",fe=/*$_*/e[12]("TClink")+"",de=/*$_*/e[12]("TCpart2")+"",ge=/*$_*/e[12]("PPlink")+"";return{c(){t=h("p"),n=m(oe),r=f(),o=h("p"),s=m(se),a=f(),v=h("p"),B=m(ae),P=f(),L=h("button"),w=m(le),A=f(),H=h("button"),k=m(ce),S=f(),I=h("button"),_=m(ue),C=p("svg"),N=p("path"),O=p("path"),M=f(),R=h("div"),D=h("div"),U=h("span"),x=m(he),j=f(),G=h("div"),z=h("input"),$=f(),F=h("button"),V=m(pe),K=f(),X=h("p"),q=m(me),Z=h("button"),W=m(fe),Y=f(),J=m(de),Q=f(),ee=h("button"),te=m(ge),ne=m("."),g(t,"class","Title"),g(o,"class","Description LeftAlign"),g(L,"class","LinkButton"),g(v,"class","AdditionalInformation"),g(H,"class","KeepCurrentButton PrimaryButtonStyle"),g(N,"d","M10.5 15l7.5 7.5 7.5-7.5z"),g(O,"d","M0 0h36v36h-36z"),g(O,"fill","none"),g(C,"class","ExpandArrow"),g(C,"xmlns","http://www.w3.org/2000/svg"),g(C,"width","36"),g(C,"height","36"),g(C,"viewBox","0 0 36 36"),g(C,"fill","#999"),T(C,"Extended",/*extended*/e[5]),g(I,"class","ExpandButton"),g(U,"class","DepositPeriodText"),g(D,"class","DepositTextSection"),g(z,"type","number"),g(z,"class","DepositInput"),g(F,"type","submit"),g(F,"class","SubmitDepositButton PrimaryButtonStyle"),F.disabled=!0,g(G,"class","DepositInputSection"),g(R,"class","SetLimitSection"),T(R,"Hidden",/*hidden*/e[4]),g(Z,"class","LinkButton"),g(ee,"class","LinkButton"),g(X,"class","TermsConditions")},m(i,u){c(i,t,u),l(t,n),c(i,r,u),c(i,o,u),l(o,s),c(i,a,u),c(i,v,u),l(v,B),l(v,P),l(v,L),l(L,w),c(i,A,u),c(i,H,u),l(H,k),c(i,S,u),c(i,I,u),l(I,_),l(I,C),l(C,N),l(C,O),
586
+ /*svg_binding*/e[25](C),c(i,M,u),c(i,R,u),l(R,D),l(D,U),l(U,x),l(R,j),l(R,G),l(G,z),E(z,/*inputAmount*/e[6]),l(G,$),l(G,F),l(F,V),
587
+ /*button3_binding*/e[27](F),c(i,K,u),c(i,X,u),l(X,q),l(X,Z),l(Z,W),l(X,Y),l(X,J),l(X,Q),l(X,ee),l(ee,te),l(X,ne),ie||(re=[d(L,"click",/*click_handler*/e[23]),d(H,"click",/*click_handler_1*/e[24]),d(I,"click",/*toggleNewLimitArea*/e[13]),d(z,"input",/*input_input_handler*/e[26]),d(z,"keyup",/*updateInputValue*/e[14]),d(F,"click",/*click_handler_2*/e[28]),d(Z,"click",/*click_handler_3*/e[29]),d(ee,"click",/*click_handler_4*/e[30])],ie=!0)},p(e,t){/*$_*/4096&t[0]&&oe!==(oe=/*$_*/e[12]("setLimit")+"")&&b(n,oe),/*$_*/4096&t[0]&&se!==(se=/*$_*/e[12]("setLimitDescription")+"")&&b(s,se),/*$_*/4096&t[0]&&ae!==(ae=/*$_*/e[12]("lugasInfo1")+"")&&b(B,ae),/*$_*/4096&t[0]&&le!==(le=/*$_*/e[12]("lugasInfo2")+"")&&b(w,le),/*$_*/4096&t[0]&&ce!==(ce=/*$_*/e[12]("keepCurrentLimit")+"")&&b(k,ce),/*$_*/4096&t[0]&&ue!==(ue=/*$_*/e[12]("keepCurrentLimitButton")+"")&&b(_,ue),/*extended*/32&t[0]&&T(C,"Extended",/*extended*/e[5]),/*$_*/4096&t[0]&&he!==(he=/*$_*/e[12]("depositPeriod")+"")&&b(x,he),/*inputAmount*/64&t[0]&&y(z.value)!==/*inputAmount*/e[6]&&E(z,/*inputAmount*/e[6]),/*$_*/4096&t[0]&&pe!==(pe=/*$_*/e[12]("applyButton")+"")&&b(V,pe),/*hidden*/16&t[0]&&T(R,"Hidden",/*hidden*/e[4]),/*$_*/4096&t[0]&&me!==(me=/*$_*/e[12]("TCpart1")+"")&&b(q,me),/*$_*/4096&t[0]&&fe!==(fe=/*$_*/e[12]("TClink")+"")&&b(W,fe),/*$_*/4096&t[0]&&de!==(de=/*$_*/e[12]("TCpart2")+"")&&b(J,de),/*$_*/4096&t[0]&&ge!==(ge=/*$_*/e[12]("PPlink")+"")&&b(te,ge)},d(n){n&&u(t),n&&u(r),n&&u(o),n&&u(a),n&&u(v),n&&u(A),n&&u(H),n&&u(S),n&&u(I)
588
588
  /*svg_binding*/,e[25](null),n&&u(M),n&&u(R)
589
- /*button3_binding*/,e[27](null),n&&u(K),n&&u(X),re=!1,r(ie)}}}function In(t){let n,r,i,o,s,a;function p(e,t){/*isLoading*/
590
- return e[7]?An:/*lang*/e[1]?Ln:void 0}let f=p(t),d=f&&f(t);return{c(){n=h("meta"),r=m(),i=h("div"),o=h("div"),s=h("div"),a=h("div"),d&&d.c(),this.c=e,g(n,"name","viewport"),g(n,"content","width=device-width, initial-scale=1"),g(a,"class","ModalContainer"),g(s,"class","Overlay"),g(o,"class","player-account-gaming-limits-popup-2")},m(e,u){l(Pn.head,n),c(e,r,u),c(e,i,u),l(i,o),l(o,s),l(s,a),d&&d.m(a,null)
589
+ /*button3_binding*/,e[27](null),n&&u(K),n&&u(X),ie=!1,i(re)}}}function Cn(t){let n,i,r,o,s,a;function p(e,t){/*isLoading*/
590
+ return e[7]?An:/*lang*/e[1]?wn:void 0}let m=p(t),d=m&&m(t);return{c(){n=h("meta"),i=f(),r=h("div"),o=h("div"),s=h("div"),a=h("div"),d&&d.c(),this.c=e,g(n,"name","viewport"),g(n,"content","width=device-width, initial-scale=1"),g(a,"class","ModalContainer"),g(s,"class","Overlay"),g(o,"class","player-account-gaming-limits-popup-2")},m(e,u){l(Ln.head,n),c(e,i,u),c(e,r,u),l(r,o),l(o,s),l(s,a),d&&d.m(a,null)
591
591
  /*div2_binding*/,t[37](o),
592
- /*div3_binding*/t[38](i)},p(e,t){f===(f=p(e))&&d?d.p(e,t):(d&&d.d(1),d=f&&f(e),d&&(d.c(),d.m(a,null)))},i:e,o:e,d(e){u(n),e&&u(r),e&&u(i),d&&d.d()
592
+ /*div3_binding*/t[38](r)},p(e,t){m===(m=p(e))&&d?d.p(e,t):(d&&d.d(1),d=m&&m(e),d&&(d.c(),d.m(a,null)))},i:e,o:e,d(e){u(n),e&&u(i),e&&u(r),d&&d.d()
593
593
  /*div2_binding*/,t[37](null),
594
- /*div3_binding*/t[38](null)}}}function Nn(e,t,n){let r;var i,o;i=Tn,o=e=>n(12,r=e),e.$$.on_destroy.push(s(i,o));let a,l,c,u,h,p,{userid:f=""}=t,{session:m=""}=t,{endpoint:d=""}=t,{currency:g=""}=t,{lang:b=""}=t,{translationurl:E=""}=t,{clientstyling:v=""}=t,{clientstylingurl:T=""}=t,B=!0,w=!1,P=!1,L="initial";Object.keys(wn).forEach((e=>{Bn(e,wn[e])}));const H=e=>{switch(window.postMessage({type:e},window.location.href),e){case"closePopup":case"uploadDocuments":h.parentNode.removeChild(h)}},_=e=>{const t=new URL(`/v1/player/${f}/limit/lugas`,d);let r={};n(7,P=!0),r="custom"===e?{amount:c}:{};let i={method:"POST",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(t.href,i).then((e=>e.json())).then((e=>{S(e)})).catch((e=>{console.log(e)})).finally((()=>{n(7,P=!1)}))},S=e=>{if(e.hasOwnProperty("kycNeeded"))switch(e.popup){case 1:n(10,L="KYC"),n(11,p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.operatorDepositLimitAmount));break;case 2:n(10,L="successful");break;case 3:n(10,L="KYC2")}else n(10,L="error")},k=()=>{var e;e=b,en.set(e)};return e.$$set=e=>{"userid"in e&&n(17,f=e.userid),"session"in e&&n(18,m=e.session),"endpoint"in e&&n(19,d=e.endpoint),"currency"in e&&n(0,g=e.currency),"lang"in e&&n(1,b=e.lang),"translationurl"in e&&n(20,E=e.translationurl),"clientstyling"in e&&n(21,v=e.clientstyling),"clientstylingurl"in e&&n(22,T=e.clientstylingurl)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&b&&k(),/*clientstylingurl, customStylingContainer*/4194308&e.$$.dirty[0]&&T&&a&&(()=>{let e=new URL(T),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1)}))})(),/*clientstyling, customStylingContainer*/2097156&e.$$.dirty[0]&&v&&a&&(()=>{let e=document.createElement("style");e.innerHTML=v,a.appendChild(e)})(),/*translationurl*/1048576&e.$$.dirty[0]&&E&&fetch(E).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Bn(t,e[t])}))})).catch((e=>{console.log(e)}))},[g,b,a,l,B,w,c,P,u,h,L,p,r,()=>{n(5,w=!w),n(4,B=!B)},()=>{const e=999999999999999;c>e&&n(6,c=e);const t=c-Math.floor(c)==0;c>0&&t?u.removeAttribute("disabled"):u.setAttribute("disabled","true")},H,_,f,m,d,E,v,T,()=>H("lugasInformation"),()=>_("default"),function(e){A[e?"unshift":"push"]((()=>{l=e,n(3,l)}))},function(){c=y(this.value),n(6,c)},function(e){A[e?"unshift":"push"]((()=>{u=e,n(8,u)}))},()=>_("custom"),()=>H("termsConditions"),()=>H("privacyPolicy"),()=>H("closePopup"),()=>H("uploadDocuments"),()=>H("closePopup"),()=>H("uploadDocuments"),()=>H("closePopup"),()=>H("closePopup"),function(e){A[e?"unshift":"push"]((()=>{h=e,n(9,h)}))},function(e){A[e?"unshift":"push"]((()=>{a=e,n(2,a)}))}]}class On extends j{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}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-popup-2{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emfe-w-color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emfe-w-color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}',this.shadowRoot.appendChild(t),x(this,{target:this.shadowRoot,props:B(this.attributes),customElement:!0},Nn,In,o,{userid:17,session:18,endpoint:19,currency:0,lang:1,translationurl:20,clientstyling:21,clientstylingurl:22},null,[-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["userid","session","endpoint","currency","lang","translationurl","clientstyling","clientstylingurl"]}get userid(){return this.$$.ctx[17]}set userid(e){this.$$set({userid:e}),O()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),O()}get endpoint(){return this.$$.ctx[19]}set endpoint(e){this.$$set({endpoint:e}),O()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),O()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),O()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),O()}get clientstyling(){return this.$$.ctx[21]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[22]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}}return!customElements.get("player-account-gaming-limits-popup-2")&&customElements.define("player-account-gaming-limits-popup-2",On),On}));
594
+ /*div3_binding*/t[38](null)}}}function Nn(e,t,n){let i;var r,o;r=Tn,o=e=>n(12,i=e),e.$$.on_destroy.push(s(r,o));let a,l,c,u,h,p,{userid:m=""}=t,{session:f=""}=t,{endpoint:d=""}=t,{currency:g=""}=t,{lang:b=""}=t,{translationurl:E=""}=t,{clientstyling:v=""}=t,{clientstylingurl:T=""}=t,B=!0,P=!1,L=!1,w="initial";Object.keys(Pn).forEach((e=>{Bn(e,Pn[e])}));const H=e=>{switch(window.postMessage({type:e},window.location.href),e){case"closePopup":case"uploadDocuments":h.parentNode.removeChild(h)}},k=e=>{const t=new URL(`/v1/player/${m}/limit/lugas`,d);let i={};n(7,L=!0),i="custom"===e?{amount:c}:{};let r={method:"POST",headers:{"X-SessionID":f,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(i)};fetch(t.href,r).then((e=>e.json())).then((e=>{S(e)})).catch((e=>{console.log(e)})).finally((()=>{n(7,L=!1)}))},S=e=>{if(e.hasOwnProperty("kycNeeded"))switch(e.popup){case 1:n(10,w="KYC"),n(11,p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.operatorDepositLimitAmount));break;case 2:n(10,w="successful");break;case 3:n(10,w="KYC2")}else n(10,w="error")},I=()=>{var e;e=b,en.set(e)};return e.$$set=e=>{"userid"in e&&n(17,m=e.userid),"session"in e&&n(18,f=e.session),"endpoint"in e&&n(19,d=e.endpoint),"currency"in e&&n(0,g=e.currency),"lang"in e&&n(1,b=e.lang),"translationurl"in e&&n(20,E=e.translationurl),"clientstyling"in e&&n(21,v=e.clientstyling),"clientstylingurl"in e&&n(22,T=e.clientstylingurl)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&b&&I(),/*clientstylingurl, customStylingContainer*/4194308&e.$$.dirty[0]&&T&&a&&(()=>{let e=new URL(T),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1)}))})(),/*clientstyling, customStylingContainer*/2097156&e.$$.dirty[0]&&v&&a&&(()=>{let e=document.createElement("style");e.innerHTML=v,a.appendChild(e)})(),/*translationurl*/1048576&e.$$.dirty[0]&&E&&fetch(E).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Bn(t,e[t])}))})).catch((e=>{console.log(e)}))},[g,b,a,l,B,P,c,L,u,h,w,p,i,()=>{n(5,P=!P),n(4,B=!B)},()=>{const e=999999999999999;c>e&&n(6,c=e);const t=c-Math.floor(c)==0;c>0&&t?u.removeAttribute("disabled"):u.setAttribute("disabled","true")},H,k,m,f,d,E,v,T,()=>H("lugasInformation"),()=>k("default"),function(e){A[e?"unshift":"push"]((()=>{l=e,n(3,l)}))},function(){c=y(this.value),n(6,c)},function(e){A[e?"unshift":"push"]((()=>{u=e,n(8,u)}))},()=>k("custom"),()=>H("termsConditions"),()=>H("privacyPolicy"),()=>H("closePopup"),()=>H("uploadDocuments"),()=>H("closePopup"),()=>H("uploadDocuments"),()=>H("closePopup"),()=>H("closePopup"),function(e){A[e?"unshift":"push"]((()=>{h=e,n(9,h)}))},function(e){A[e?"unshift":"push"]((()=>{a=e,n(2,a)}))}]}class On extends j{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}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-popup-2{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emfe-w-color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emfe-w-color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}',this.shadowRoot.appendChild(t),x(this,{target:this.shadowRoot,props:B(this.attributes),customElement:!0},Nn,Cn,o,{userid:17,session:18,endpoint:19,currency:0,lang:1,translationurl:20,clientstyling:21,clientstylingurl:22},null,[-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["userid","session","endpoint","currency","lang","translationurl","clientstyling","clientstylingurl"]}get userid(){return this.$$.ctx[17]}set userid(e){this.$$set({userid:e}),O()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),O()}get endpoint(){return this.$$.ctx[19]}set endpoint(e){this.$$set({endpoint:e}),O()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),O()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),O()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),O()}get clientstyling(){return this.$$.ctx[21]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[22]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}}return!customElements.get("player-account-gaming-limits-popup-2")&&customElements.define("player-account-gaming-limits-popup-2",On),On}));
595
595
  //# sourceMappingURL=player-account-gaming-limits-popup-2.js.map