@everymatrix/player-account-gaming-limits-popup-2 1.4.0 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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 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}function a(e,t){e.appendChild(t)}function l(e,t,n){e.insertBefore(t,n||null)}function u(e){e.parentNode.removeChild(e)}function c(e){return document.createElement(e)}function h(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function p(e){return document.createTextNode(e)}function f(){return p(" ")}function m(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function
|
|
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}function a(e,t){e.appendChild(t)}function l(e,t,n){e.insertBefore(t,n||null)}function u(e){e.parentNode.removeChild(e)}function c(e){return document.createElement(e)}function h(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function p(e){return document.createTextNode(e)}function f(){return p(" ")}function m(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function d(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function g(e){return""===e?null:+e}function y(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function b(e,t){e.value=null==t?"":t}function E(e,t,n,i){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,i?"important":"")}function v(e,t,n){e.classList[n?"add":"remove"](t)}function P(e){const t={};for(const n of e)t[n.name]=n.value;return t}let T;function B(e){T=e}const w=[],L=[],H=[],A=[],k=Promise.resolve();let _=!1;function S(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.
|
|
@@ -18,33 +18,33 @@
|
|
|
18
18
|
// callback called a second time; the seen_callbacks set, outside the flush()
|
|
19
19
|
// function, guarantees this behavior.
|
|
20
20
|
const C=new Set;let I=0;// Do *not* move this inside the flush() function
|
|
21
|
-
function N(){const e=
|
|
21
|
+
function N(){const e=T;do{
|
|
22
22
|
// first, call beforeUpdate functions
|
|
23
23
|
// and update components
|
|
24
|
-
for(;I<w.length;){const e=w[I];I++,
|
|
24
|
+
for(;I<w.length;){const e=w[I];I++,B(e),M(e.$$)}for(B(null),w.length=0,I=0;L.length;)L.pop()();
|
|
25
25
|
// then, once components are updated, call
|
|
26
26
|
// afterUpdate functions. This may cause
|
|
27
27
|
// subsequent updates...
|
|
28
|
-
for(let e=0;e<
|
|
28
|
+
for(let e=0;e<H.length;e+=1){const t=H[e];C.has(t)||(
|
|
29
29
|
// ...so guard against infinite loops
|
|
30
|
-
C.add(t),t())}
|
|
30
|
+
C.add(t),t())}H.length=0}while(w.length);for(;A.length;)A.pop()();_=!1,C.clear(),B(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(S)}}const O=new Set;const D="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function R(e,t){-1===e.$$.dirty[0]&&(w.push(e),_||(_=!0,k.then(N)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function j(o,s,a,l,c,h,p,f=[-1]){const m=T;B(o);const d=o.$$={fragment:null,ctx:null,
|
|
31
31
|
// state
|
|
32
32
|
props:h,update:e,not_equal:c,bound:n(),
|
|
33
33
|
// lifecycle
|
|
34
34
|
on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(m?m.$$.context:[])),
|
|
35
35
|
// everything else
|
|
36
|
-
callbacks:n(),dirty:f,skip_bound:!1,root:s.target||m.$$.root};p&&p(
|
|
36
|
+
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 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&&R(o,e)),t})):[],d.update(),g=!0,i(d.before_update),
|
|
37
37
|
// `false` as a special case of no DOM component
|
|
38
|
-
|
|
38
|
+
d.fragment=!!l&&l(d.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);
|
|
39
39
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
40
|
-
|
|
40
|
+
d.fragment&&d.fragment.l(e),e.forEach(u)}else
|
|
41
41
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
42
|
-
|
|
42
|
+
d.fragment&&d.fragment.c();s.intro&&((y=o.$$.fragment)&&y.i&&(O.delete(y),y.i(b))),function(e,n,o,s){const{fragment:a,on_mount:l,on_destroy:u,after_update:c}=e.$$;a&&a.m(n,o),s||
|
|
43
43
|
// onMount happens before the initial afterUpdate
|
|
44
44
|
S((()=>{const n=l.map(t).filter(r);u?u.push(...n):
|
|
45
45
|
// Edge case - component was destroyed immediately,
|
|
46
46
|
// most likely as a result of a binding initialising
|
|
47
|
-
i(n),e.$$.on_mount=[]})),c.forEach(S)}(o,s.target,s.anchor,s.customElement),N()}var y,b;
|
|
47
|
+
i(n),e.$$.on_mount=[]})),c.forEach(S)}(o,s.target,s.anchor,s.customElement),N()}var y,b;B(m)}let U;"function"==typeof HTMLElement&&(U=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(r);
|
|
48
48
|
// @ts-ignore todo: improve typings
|
|
49
49
|
for(const e in this.$$.slotted)
|
|
50
50
|
// @ts-ignore todo: improve typings
|
|
@@ -77,7 +77,7 @@ n.cloneUnlessOtherwiseSpecified=V;var i=Array.isArray(t);return i===Array.isArra
|
|
|
77
77
|
/**
|
|
78
78
|
* Type Guards
|
|
79
79
|
*/
|
|
80
|
-
function oe(e){return e.type===te.literal}function se(e){return e.type===te.argument}function ae(e){return e.type===te.number}function le(e){return e.type===te.date}function ue(e){return e.type===te.time}function ce(e){return e.type===te.select}function he(e){return e.type===te.plural}function pe(e){return e.type===te.pound}function fe(e){return e.type===te.tag}function me(e){return!(!e||"object"!=typeof e||e.type!==ne.number)}function
|
|
80
|
+
function oe(e){return e.type===te.literal}function se(e){return e.type===te.argument}function ae(e){return e.type===te.number}function le(e){return e.type===te.date}function ue(e){return e.type===te.time}function ce(e){return e.type===te.select}function he(e){return e.type===te.plural}function pe(e){return e.type===te.pound}function fe(e){return e.type===te.tag}function me(e){return!(!e||"object"!=typeof e||e.type!==ne.number)}function de(e){return!(!e||"object"!=typeof e||e.type!==ne.dateTime)}
|
|
81
81
|
// @generated from regex-gen.ts
|
|
82
82
|
!function(e){
|
|
83
83
|
/** Argument is unclosed (e.g. `{0`) */
|
|
@@ -176,7 +176,7 @@ e[e.pound=7]="pound",
|
|
|
176
176
|
/**
|
|
177
177
|
* XML-like tag
|
|
178
178
|
*/
|
|
179
|
-
e[e.tag=8]="tag"}(te||(te={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ne||(ne={}));var
|
|
179
|
+
e[e.tag=8]="tag"}(te||(te={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ne||(ne={}));var ge=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ye=/(?:[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;
|
|
180
180
|
/**
|
|
181
181
|
* https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
182
182
|
* Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
|
|
@@ -222,20 +222,20 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
|
|
|
222
222
|
case"x":// 1, 2, 3, 4: The ISO8601 varios formats
|
|
223
223
|
throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
|
|
224
224
|
// @generated from regex-gen.ts
|
|
225
|
-
var Ee=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var ve=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Pe=/^(@+)?(\+|#+)?[rs]?$/g,
|
|
225
|
+
var Ee=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var ve=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Pe=/^(@+)?(\+|#+)?[rs]?$/g,Te=/(\*)(0+)|(#+)(0+)|(0+)/g,Be=/^(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(Pe,(function(e,n,i){
|
|
226
226
|
// @@@ case
|
|
227
|
-
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
|
|
227
|
+
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 Le(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){
|
|
228
228
|
// Engineering
|
|
229
|
-
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)),!
|
|
229
|
+
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)),!Be.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ae(e){var t=Le(e);return t||{}}
|
|
230
230
|
/**
|
|
231
231
|
* https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
|
|
232
|
-
*/function
|
|
232
|
+
*/function ke(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=ie(ie(ie({},t),{notation:"scientific"}),r.options.reduce((function(e,t){return ie(ie({},e),Ae(t))}),{}));continue;case"engineering":t=ie(ie(ie({},t),{notation:"engineering"}),r.options.reduce((function(e,t){return ie(ie({},e),Ae(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
|
|
233
233
|
// https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
|
|
234
234
|
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;
|
|
235
235
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
|
|
236
|
-
case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(
|
|
236
|
+
case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Te,(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}
|
|
237
237
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
|
|
238
|
-
if(
|
|
238
|
+
if(Be.test(r.stem))t.minimumIntegerDigits=r.stem.length;else if(ve.test(r.stem)){
|
|
239
239
|
// Precision
|
|
240
240
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
|
|
241
241
|
// precision-integer case
|
|
@@ -245,10 +245,10 @@ return"*"===i?t.minimumFractionDigits=n.length:r&&"#"===r[0]?t.maximumFractionDi
|
|
|
245
245
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
|
|
246
246
|
"w"===o?t=ie(ie({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=ie(ie({},t),we(o)))}
|
|
247
247
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
|
|
248
|
-
else if(Pe.test(r.stem))t=ie(ie({},t),we(r.stem));else{var s=
|
|
248
|
+
else if(Pe.test(r.stem))t=ie(ie({},t),we(r.stem));else{var s=Le(r.stem);s&&(t=ie(ie({},t),s));var a=He(r.stem);a&&(t=ie(ie({},t),a))}}return t}
|
|
249
249
|
// @generated from time-data-gen.ts
|
|
250
250
|
// prettier-ignore
|
|
251
|
-
var
|
|
251
|
+
var _e,Se={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"]};
|
|
252
252
|
/**
|
|
253
253
|
* Returns the best matching date time pattern if a date time skeleton
|
|
254
254
|
* pattern is provided with a locale. Follows the Unicode specification:
|
|
@@ -269,7 +269,7 @@ e.hourCycles.length&&(
|
|
|
269
269
|
// @ts-ignore
|
|
270
270
|
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")}
|
|
271
271
|
// TODO: Once hourCycle is fully supported remove the following with data generation
|
|
272
|
-
var n,i=e.language;return"root"!==i&&(n=e.maximize().region),(Se[n||""]||Se[i||""]||Se["".concat(i,"-001")]||Se["001"])[0]}var Ie=new RegExp("^".concat(
|
|
272
|
+
var n,i=e.language;return"root"!==i&&(n=e.maximize().region),(Se[n||""]||Se[i||""]||Se["".concat(i,"-001")]||Se["001"])[0]}var Ie=new RegExp("^".concat(ge.source,"*")),Ne=new RegExp("".concat(ge.source,"*$"));function Me(e,t){return{start:e,end:t}}
|
|
273
273
|
// #region Ponyfills
|
|
274
274
|
// Consolidate these variables up top for easier toggling during debugging
|
|
275
275
|
var Oe=!!String.prototype.startsWith,De=!!String.fromCodePoint,Re=!!Object.fromEntries,je=!!String.prototype.codePointAt,Ue=!!String.prototype.trimStart,xe=!!String.prototype.trimEnd,Ge=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ze=!0;try{
|
|
@@ -279,7 +279,7 @@ var Oe=!!String.prototype.startsWith,De=!!String.fromCodePoint,Re=!!Object.fromE
|
|
|
279
279
|
* Pattern_Syntax support: not supported
|
|
280
280
|
* See https://github.com/formatjs/formatjs/issues/2822
|
|
281
281
|
*/
|
|
282
|
-
ze="a"===(null===(
|
|
282
|
+
ze="a"===(null===(_e=Ye("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===_e?void 0:_e[0])}catch(e){ze=!1}var $e,Fe=Oe?// Native
|
|
283
283
|
function(e,t,n){return e.startsWith(t,n)}:// For IE11
|
|
284
284
|
function(e,t,n){return e.slice(n,n+t.length)===t},Ve=De?String.fromCodePoint:// IE11
|
|
285
285
|
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},Ke=
|
|
@@ -397,9 +397,9 @@ var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.err
|
|
|
397
397
|
// or the first option:
|
|
398
398
|
// {name, plural, one {...} other {...}}
|
|
399
399
|
// ^--^
|
|
400
|
-
var
|
|
400
|
+
var d=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(ee.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Me(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(ee.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ee.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
|
|
401
401
|
// Parse another identifier for option parsing
|
|
402
|
-
this.bumpSpace(),
|
|
402
|
+
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:te.select,value:n,options:Ke(E.val),location:v},err:null}:{val:{type:te.plural,value:n,options:Ke(E.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:v},err:null};default:return this.error(ee.INVALID_ARGUMENT_TYPE,Me(o,a))}},e.prototype.tryParseArgumentClose=function(e){
|
|
403
403
|
// Parse: {value, number, ::currency/GBP }
|
|
404
404
|
return this.isEOF()||125/* `}` */!==this.char()?this.error(ee.EXPECT_ARGUMENT_CLOSING_BRACE,Me(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
|
|
405
405
|
/**
|
|
@@ -410,7 +410,7 @@ e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePos
|
|
|
410
410
|
// Find the end of the quoted literal text.
|
|
411
411
|
this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ee.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");
|
|
412
412
|
// Parse the skeleton
|
|
413
|
-
for(var t=e.split(Ee).filter((function(e){return e.length>0})),n=[],i=0,r=t;i<r.length;i++){var o=r[i].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),l=0,u=a;l<u.length;l++)if(0===u[l].length)throw new Error("Invalid number skeleton");n.push({stem:s,options:a})}return n}(e)}catch(e){return this.error(ee.INVALID_NUMBER_SKELETON,t)}return{val:{type:ne.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?
|
|
413
|
+
for(var t=e.split(Ee).filter((function(e){return e.length>0})),n=[],i=0,r=t;i<r.length;i++){var o=r[i].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),l=0,u=a;l<u.length;l++)if(0===u[l].length)throw new Error("Invalid number skeleton");n.push({stem:s,options:a})}return n}(e)}catch(e){return this.error(ee.INVALID_NUMBER_SKELETON,t)}return{val:{type:ne.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?ke(n):{}},err:null}},
|
|
414
414
|
/**
|
|
415
415
|
* @param nesting_level The current nesting level of messages.
|
|
416
416
|
* This can be positive when parsing message fragment in select or plural argument options.
|
|
@@ -485,7 +485,7 @@ e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this
|
|
|
485
485
|
/**
|
|
486
486
|
* Code point equivalent of regex `\p{Pattern_Syntax}`.
|
|
487
487
|
* See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
|
|
488
|
-
*/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,ce(e)||he(e))for(var t in e.options)delete e.options[t].location,it(e.options[t].value);else ae(e)&&me(e.style)||(le(e)||ue(e))&&
|
|
488
|
+
*/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,ce(e)||he(e))for(var t in e.options)delete e.options[t].location,it(e.options[t].value);else ae(e)&&me(e.style)||(le(e)||ue(e))&&de(e.style)?delete e.style.location:fe(e)&&it(e.children)}))}function rt(e,t){void 0===t&&(t={}),t=ie({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Je(e,t).parse();if(n.err){var i=SyntaxError(ee[n.err.kind]);
|
|
489
489
|
// @ts-expect-error Assign to error object
|
|
490
490
|
throw i.location=n.err.location,
|
|
491
491
|
// @ts-expect-error Assign to error object
|
|
@@ -511,49 +511,49 @@ e.MISSING_VALUE="MISSING_VALUE",
|
|
|
511
511
|
// When value supplied is invalid
|
|
512
512
|
e.INVALID_VALUE="INVALID_VALUE",
|
|
513
513
|
// When we need specific Intl API but it's not available
|
|
514
|
-
e.MISSING_INTL_API="MISSING_INTL_API"}(pt||(pt={}));var gt
|
|
514
|
+
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 Q(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 Q(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 Q(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 Q(t,e),t}(gt);function vt(e){return"function"==typeof e}
|
|
515
515
|
// TODO(skeleton): add skeleton support
|
|
516
516
|
function Pt(e,t,n,i,r,o,
|
|
517
517
|
// For debugging
|
|
518
518
|
s){
|
|
519
519
|
// Hot path for straight simple msg translations
|
|
520
|
-
if(1===e.length&&oe(e[0]))return[{type:
|
|
520
|
+
if(1===e.length&&oe(e[0]))return[{type:dt.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];
|
|
521
521
|
// Exit early for string parts.
|
|
522
|
-
if(oe(c))a.push({type:
|
|
522
|
+
if(oe(c))a.push({type:dt.literal,value:c.value});else
|
|
523
523
|
// TODO: should this part be literal type?
|
|
524
524
|
// Replace `#` in plural rules with the actual numeric value.
|
|
525
|
-
if(pe(c))"number"==typeof o&&a.push({type:
|
|
525
|
+
if(pe(c))"number"==typeof o&&a.push({type:dt.literal,value:n.getNumberFormat(t).format(o)});else{var h=c.value;
|
|
526
526
|
// Enforce that all required values are provided by the caller.
|
|
527
|
-
if(!r||!(h in r))throw new Et(h,s);var p=r[h];if(se(c))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?
|
|
527
|
+
if(!r||!(h in r))throw new Et(h,s);var p=r[h];if(se(c))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
|
|
528
528
|
// Recursively format plural and select parts' option — which can be a
|
|
529
529
|
// nested pattern structure. The choosing of the option to use is
|
|
530
530
|
// abstracted-by and delegated-to the part helper object.
|
|
531
|
-
if(le(c)){var f="string"==typeof c.style?i.date[c.style]:
|
|
531
|
+
if(le(c)){var f="string"==typeof c.style?i.date[c.style]:de(c.style)?c.style.parsedOptions:void 0;a.push({type:dt.literal,value:n.getDateTimeFormat(t,f).format(p)})}else if(ue(c)){f="string"==typeof c.style?i.time[c.style]:de(c.style)?c.style.parsedOptions:i.time.medium;a.push({type:dt.literal,value:n.getDateTimeFormat(t,f).format(p)})}else if(ae(c)){(f="string"==typeof c.style?i.number[c.style]:me(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(p*=f.scale||1),a.push({type:dt.literal,value:n.getNumberFormat(t,f).format(p)})}else{if(fe(c)){var m=c.children,d=c.value,g=r[d];if(!vt(g))throw new bt(d,"function",s);var y=g(Pt(m,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(ce(c)){if(!(b=c.options[p]||c.options.other))throw new yt(c.value,p,Object.keys(c.options),s);a.push.apply(a,Pt(b.value,t,n,i,r))}else if(he(c)){var b;if(!(b=c.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:c.pluralType}).select(p-(c.offset||0));b=c.options[E]||c.options.other}if(!b)throw new yt(c.value,p,Object.keys(c.options),s);a.push.apply(a,Pt(b.value,t,n,i,r,p-(c.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)}
|
|
532
532
|
/*
|
|
533
533
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
|
534
534
|
Copyrights licensed under the New BSD License.
|
|
535
535
|
See the accompanying LICENSE file for terms.
|
|
536
536
|
*/
|
|
537
537
|
// -- MessageFormat --------------------------------------------------------
|
|
538
|
-
function
|
|
538
|
+
function Tt(e,t){return t?Object.keys(e).reduce((function(n,i){var r,o;return n[i]=(r=e[i],(o=t[i])?ie(ie(ie({},r||{}),o||{}),Object.keys(r).reduce((function(e,t){return e[t]=ie(ie({},r[t]),o[t]||{}),e}),{})):r),n}),ie({},e)):e}function Bt(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 wt=/** @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);
|
|
539
539
|
// Hot path for straight simple msg translations
|
|
540
|
-
if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===
|
|
540
|
+
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 Pt(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},
|
|
541
541
|
// Defined first because it's used to build the format pattern.
|
|
542
542
|
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`");
|
|
543
543
|
// Parse string messages into an AST.
|
|
544
544
|
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.");
|
|
545
545
|
// Creates a new object with the specified `formats` merged with the default
|
|
546
546
|
// formats.
|
|
547
|
-
this.formats=
|
|
547
|
+
this.formats=Tt(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,re([void 0],t,!1)))}),{cache:Bt(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,re([void 0],t,!1)))}),{cache:Bt(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,re([void 0],t,!1)))}),{cache:Bt(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=rt,
|
|
548
548
|
// Default format options used as the prototype of the `formats` provided to the
|
|
549
549
|
// constructor. These are used when constructing the internal Intl.NumberFormat
|
|
550
550
|
// and Intl.DateTimeFormat instances.
|
|
551
|
-
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}(),
|
|
551
|
+
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}(),Lt=wt;
|
|
552
552
|
/*
|
|
553
553
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
|
554
554
|
Copyrights licensed under the New BSD License.
|
|
555
555
|
See the accompanying LICENSE file for terms.
|
|
556
|
-
*/const
|
|
556
|
+
*/const Ht={},At=(e,t,n)=>n?(t in Ht||(Ht[t]={}),e in Ht[t]||(Ht[t][e]=n),n):n,kt=(e,t)=>{if(null==t)return;if(t in Ht&&e in Ht[t])return Ht[t][e];const n=Kt(t);for(let i=0;i<n.length;i++){const r=It(n[i],e);if(r)return At(e,t,r)}};let _t;const St=G({});function Ct(e){return e in _t}function It(e,t){if(!Ct(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 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 Nt(e,...t){delete Ht[e],St.update((n=>(n[e]=q.all([n[e]||{},...t]),n)))}z([St],(([e])=>Object.keys(e))),St.subscribe((e=>_t=e));const Mt={};function Ot(e){return Mt[e]}function Dt(e){return null!=e&&Kt(e).some((e=>{var t;return null===(t=Ot(e))||void 0===t?void 0:t.size}))}const Rt={};function jt(e){if(!Dt(e))return e in Rt?Rt[e]:Promise.resolve();const t=function(e){return Kt(e).map((e=>{const t=Ot(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Rt[e]=Promise.all(t.map((([e,t])=>function(e,t){const n=Promise.all(t.map((t=>(function(e,t){Mt[e].delete(t),0===Mt[e].size&&delete Mt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Nt(e,...t)))}(e,t)))).then((()=>{if(Dt(e))return jt(e);delete Rt[e]})),Rt[e]}
|
|
557
557
|
/*! *****************************************************************************
|
|
558
558
|
Copyright (c) Microsoft Corporation.
|
|
559
559
|
|
|
@@ -567,28 +567,28 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
|
567
567
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
568
568
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
569
569
|
PERFORMANCE OF THIS SOFTWARE.
|
|
570
|
-
***************************************************************************** */function Ut(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}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 Gt(){return xt}const zt=G(!1);let $t;const Ft=G(null);function Vt(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Kt(e,t=Gt().fallbackLocale){const n=Vt(e);return t?[...new Set([...n,...Vt(t)])]:n}function Xt(){return null!=$t?$t:void 0}Ft.subscribe((e=>{$t=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Zt=Object.assign(Object.assign({},Ft),{set:e=>{if(e&&function(e){if(null==e)return;const t=Kt(e);for(let e=0;e<t.length;e++){const n=t[e];if(Ct(n))return n}}(e)&&Dt(e)){const{loadingDelay:t}=Gt();let n;return"undefined"!=typeof window&&null!=Xt()&&t?n=window.setTimeout((()=>zt.set(!0)),t):zt.set(!0),jt(e).then((()=>{Ft.set(e)})).finally((()=>{clearTimeout(n),zt.set(!1)}))}return Ft.set(e)}}),Wt=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}},Yt=(e,t)=>{const{formats:n}=Gt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},qt=Wt((e=>{var{locale:t,format:n}=e,i=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Yt("number",n)),new Intl.NumberFormat(t,i)})),Jt=Wt((e=>{var{locale:t,format:n}=e,i=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Yt("date",n):0===Object.keys(i).length&&(i=Yt("date","short")),new Intl.DateTimeFormat(t,i)})),Qt=Wt((e=>{var{locale:t,format:n}=e,i=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Yt("time",n):0===Object.keys(i).length&&(i=Yt("time","short")),new Intl.DateTimeFormat(t,i)})),en=Wt(((e,t=Xt())=>new Ht(e,t,Gt().formats,{ignoreTag:Gt().ignoreTag}))),tn=(e,t={})=>{var n,i,r,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Xt(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=_t(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(o=null!==(r=null===(i=(n=Gt()).handleMissingMessage)||void 0===i?void 0:i.call(n,{locale:l,id:e,defaultValue:u}))&&void 0!==r?r:u)&&void 0!==o?o:e;if(!a)return c;let h=c;try{h=en(c,l).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},nn=(e,t)=>((e={})=>{var{locale:t=Xt()}=e,n=Ut(e,["locale"]);return Qt(Object.assign({locale:t},n))})(t).format(e),rn=(e,t)=>((e={})=>{var{locale:t=Xt()}=e,n=Ut(e,["locale"]);return Jt(Object.assign({locale:t},n))})(t).format(e),on=(e,t)=>((e={})=>{var{locale:t=Xt()}=e,n=Ut(e,["locale"]);return qt(Object.assign({locale:t},n))})(t).format(e),sn=(e,t=Xt())=>_t(e,t),an=z([Zt,St],(()=>tn));function ln(e,t){Nt(e,t)}z([Zt],(()=>nn)),z([Zt],(()=>rn)),z([Zt],(()=>on)),z([Zt,St],(()=>sn));const un={en:{lugasPopup:{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:{lugasPopup:{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:{lugasPopup:{loading:"Učitavanje...",setLimit:"Postavite ograničenje",setLimitDescription:"U Njemačkoj ste iz zakonskih razloga dužni postaviti mjesečno ograničenje uplate.",lugasInfo1:"Ima li pitanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"Zadrži trenutno ograničenje",keepCurrentLimitButton:"Novo ograničenje",applyButton:"Primijeni",depositPeriod:"Mjesečno ograničenje uplate",TCpart1:"Klikom na “Zadrži trenutno ograničenje” ili “Postavi“, potvrđujem da sam pročitao i prihvatio ",TClink:"Opća pravila i uvjeti",TCpart2:"Molimo također obratite pozornost na našu",PPlink:"Izjava o privatnosti",depositLimit:"Uspješno",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:"Vaše mjesečno ograničenje uplate bilo je moguće postaviti na 10,000 eura.",kyc1Part2:"Kako bismo povećali ograničenje na željeni iznos, molimo Vas da nam pošaljete potrebne podatke. Te podatke možete poslati putem opcije učitavanja dokumenata.",kycButton:"Učitajte dokumente",closeButton:"Zatvori",depositError:"Došlo je do pogreške. Molimo pokušajte ponovno.",errorDescription:"Došlo je do pogreške. Molimo pokušajte ponovno.",docsRequired:"Documents required!",kyc2:"Za odabrano ograničenje, potrebni su nam dokumenti koji pokazuju Vaš financijski kapacitet. Molimo učitajte svoj najnoviji ispis plaće, kao i najnoviji ispis bankovnog račun koji potvrđuje primitak te plaće."}},sl:{lugasPopup:{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:{lugasPopup:{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."}}},{document:cn}=D;
|
|
570
|
+
***************************************************************************** */function Ut(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}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 Gt(){return xt}const zt=G(!1);let $t;const Ft=G(null);function Vt(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Kt(e,t=Gt().fallbackLocale){const n=Vt(e);return t?[...new Set([...n,...Vt(t)])]:n}function Xt(){return null!=$t?$t:void 0}Ft.subscribe((e=>{$t=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Zt=Object.assign(Object.assign({},Ft),{set:e=>{if(e&&function(e){if(null==e)return;const t=Kt(e);for(let e=0;e<t.length;e++){const n=t[e];if(Ct(n))return n}}(e)&&Dt(e)){const{loadingDelay:t}=Gt();let n;return"undefined"!=typeof window&&null!=Xt()&&t?n=window.setTimeout((()=>zt.set(!0)),t):zt.set(!0),jt(e).then((()=>{Ft.set(e)})).finally((()=>{clearTimeout(n),zt.set(!1)}))}return Ft.set(e)}}),Wt=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}},Yt=(e,t)=>{const{formats:n}=Gt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},qt=Wt((e=>{var{locale:t,format:n}=e,i=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Yt("number",n)),new Intl.NumberFormat(t,i)})),Jt=Wt((e=>{var{locale:t,format:n}=e,i=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Yt("date",n):0===Object.keys(i).length&&(i=Yt("date","short")),new Intl.DateTimeFormat(t,i)})),Qt=Wt((e=>{var{locale:t,format:n}=e,i=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Yt("time",n):0===Object.keys(i).length&&(i=Yt("time","short")),new Intl.DateTimeFormat(t,i)})),en=Wt(((e,t=Xt())=>new Lt(e,t,Gt().formats,{ignoreTag:Gt().ignoreTag}))),tn=(e,t={})=>{var n,i,r,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Xt(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=kt(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(o=null!==(r=null===(i=(n=Gt()).handleMissingMessage)||void 0===i?void 0:i.call(n,{locale:l,id:e,defaultValue:u}))&&void 0!==r?r:u)&&void 0!==o?o:e;if(!a)return c;let h=c;try{h=en(c,l).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},nn=(e,t)=>((e={})=>{var{locale:t=Xt()}=e,n=Ut(e,["locale"]);return Qt(Object.assign({locale:t},n))})(t).format(e),rn=(e,t)=>((e={})=>{var{locale:t=Xt()}=e,n=Ut(e,["locale"]);return Jt(Object.assign({locale:t},n))})(t).format(e),on=(e,t)=>((e={})=>{var{locale:t=Xt()}=e,n=Ut(e,["locale"]);return qt(Object.assign({locale:t},n))})(t).format(e),sn=(e,t=Xt())=>kt(e,t),an=z([Zt,St],(()=>tn));function ln(e,t){Nt(e,t)}z([Zt],(()=>nn)),z([Zt],(()=>rn)),z([Zt],(()=>on)),z([Zt,St],(()=>sn));const un={en:{lugasPopup:{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:{lugasPopup:{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:{lugasPopup:{loading:"Učitavanje...",setLimit:"Postavite ograničenje",setLimitDescription:"U Njemačkoj ste iz zakonskih razloga dužni postaviti mjesečno ograničenje uplate.",lugasInfo1:"Ima li pitanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"Zadrži trenutno ograničenje",keepCurrentLimitButton:"Novo ograničenje",applyButton:"Primijeni",depositPeriod:"Mjesečno ograničenje uplate",TCpart1:"Klikom na “Zadrži trenutno ograničenje” ili “Postavi“, potvrđujem da sam pročitao i prihvatio ",TClink:"Opća pravila i uvjeti",TCpart2:"Molimo također obratite pozornost na našu",PPlink:"Izjava o privatnosti",depositLimit:"Uspješno",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:"Vaše mjesečno ograničenje uplate bilo je moguće postaviti na 10,000 eura.",kyc1Part2:"Kako bismo povećali ograničenje na željeni iznos, molimo Vas da nam pošaljete potrebne podatke. Te podatke možete poslati putem opcije učitavanja dokumenata.",kycButton:"Učitajte dokumente",closeButton:"Zatvori",depositError:"Došlo je do pogreške. Molimo pokušajte ponovno.",errorDescription:"Došlo je do pogreške. Molimo pokušajte ponovno.",docsRequired:"Documents required!",kyc2:"Za odabrano ograničenje, potrebni su nam dokumenti koji pokazuju Vaš financijski kapacitet. Molimo učitajte svoj najnoviji ispis plaće, kao i najnoviji ispis bankovnog račun koji potvrđuje primitak te plaće."}},sl:{lugasPopup:{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:{lugasPopup:{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:{lugasPopup:{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:cn}=D;
|
|
571
571
|
/* src/PlayerAccountGamingLimitsPopup_2.svelte generated by Svelte v3.48.0 */function hn(e){let t;function n(e,t){/*popupState*/
|
|
572
|
-
return"initial"===e[10]?yn:/*popupState*/"successful"===e[10]?
|
|
572
|
+
return"initial"===e[10]?yn:/*popupState*/"successful"===e[10]?gn:/*popupState*/"KYC"===e[10]?dn:/*popupState*/"KYC2"===e[10]?mn:/*popupState*/"error"===e[10]?fn:void 0}let i=n(e),r=i&&i(e);return{c(){t=c("div"),r&&r.c(),d(t,"class","InitialWrapper")},m(e,n){l(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()}}}
|
|
573
573
|
// (146:8) {#if isLoading}
|
|
574
574
|
function pn(e){let t,n,i=/*$_*/e[12]("lugasPopup.loading")+"";return{c(){t=c("p"),n=p(i)},m(e,i){l(e,t,i),a(t,n)},p(e,t){/*$_*/4096&t[0]&&i!==(i=/*$_*/e[12]("lugasPopup.loading")+"")&&y(n,i)},d(e){e&&u(t)}}}
|
|
575
575
|
// (242:43)
|
|
576
|
-
function fn(e){let t,n,i,r,o,s,h,
|
|
576
|
+
function fn(e){let t,n,i,r,o,s,h,g,b,E,v,P,T=/*$_*/e[12]("lugasPopup.depositError")+"",B=/*$_*/e[12]("lugasPopup.errorDescription")+"",w=/*$_*/e[12]("lugasPopup.closeButton")+"";return{c(){t=c("p"),n=p(T),i=f(),r=c("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=c("p"),h=p(B),g=f(),b=c("button"),E=p(w),d(t,"class","Title"),d(r,"class","ResultIconWrapper"),d(s,"class","Description CenterAlign"),d(b,"class","ConfirmButton SecondaryButtonStyle")},m(u,c){l(u,t,c),a(t,n),l(u,i,c),l(u,r,c),l(u,o,c),l(u,s,c),a(s,h),l(u,g,c),l(u,b,c),a(b,E),v||(P=m(b,"click",/*click_handler_10*/e[36]),v=!0)},p(e,t){/*$_*/4096&t[0]&&T!==(T=/*$_*/e[12]("lugasPopup.depositError")+"")&&y(n,T),/*$_*/4096&t[0]&&B!==(B=/*$_*/e[12]("lugasPopup.errorDescription")+"")&&y(h,B),/*$_*/4096&t[0]&&w!==(w=/*$_*/e[12]("lugasPopup.closeButton")+"")&&y(E,w)},d(e){e&&u(t),e&&u(i),e&&u(r),e&&u(o),e&&u(s),e&&u(g),e&&u(b),v=!1,P()}}}
|
|
577
577
|
// (219:42)
|
|
578
|
-
function mn(e){let t,n,r,o,s,
|
|
578
|
+
function mn(e){let t,n,r,o,s,g,b,v,P,T,B,w,L,H,A,k,_,S,C,I,N,M,O=/*$_*/e[12]("lugasPopup.docsRequired")+"",D=/*$_*/e[12]("lugasPopup.docsRequired")+"",R=/*$_*/e[12]("lugasPopup.kyc2")+"",j=/*$_*/e[12]("lugasPopup.kycButton")+"",U=/*$_*/e[12]("lugasPopup.closeButton")+"";return{c(){t=c("p"),n=p(O),r=f(),o=c("div"),s=c("div"),g=h("svg"),b=h("g"),v=h("path"),P=f(),T=c("p"),B=p(D),w=f(),L=c("p"),H=p(R),A=f(),k=c("button"),_=p(j),S=f(),C=c("button"),I=p(U),d(t,"class","Title"),d(v,"id","XMLID_6_"),d(v,"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"),d(b,"id","XMLID_1_"),d(g,"version","1.1"),d(g,"id","Layer_1"),d(g,"xmlns","http://www.w3.org/2000/svg"),d(g,"xmlns:xlink","http://www.w3.org/1999/xlink"),d(g,"x","0px"),d(g,"y","0px"),d(g,"viewBox","0 0 512 512"),E(g,"enable-background","new 0 0 512 512"),d(g,"xml:space","preserve"),d(s,"class","ResultIconWrapper"),d(L,"class","Description CenterAlign"),d(o,"class","DescriptionWrapper"),d(k,"class","KycButton PrimaryButtonStyle"),d(C,"class","ConfirmButton SecondaryButtonStyle")},m(i,u){l(i,t,u),a(t,n),l(i,r,u),l(i,o,u),a(o,s),a(s,g),a(g,b),a(b,v),a(s,P),a(s,T),a(T,B),a(o,w),a(o,L),a(L,H),l(i,A,u),l(i,k,u),a(k,_),l(i,S,u),l(i,C,u),a(C,I),N||(M=[m(k,"click",/*click_handler_8*/e[34]),m(C,"click",/*click_handler_9*/e[35])],N=!0)},p(e,t){/*$_*/4096&t[0]&&O!==(O=/*$_*/e[12]("lugasPopup.docsRequired")+"")&&y(n,O),/*$_*/4096&t[0]&&D!==(D=/*$_*/e[12]("lugasPopup.docsRequired")+"")&&y(B,D),/*$_*/4096&t[0]&&R!==(R=/*$_*/e[12]("lugasPopup.kyc2")+"")&&y(H,R),/*$_*/4096&t[0]&&j!==(j=/*$_*/e[12]("lugasPopup.kycButton")+"")&&y(_,j),/*$_*/4096&t[0]&&U!==(U=/*$_*/e[12]("lugasPopup.closeButton")+"")&&y(I,U)},d(e){e&&u(t),e&&u(r),e&&u(o),e&&u(A),e&&u(k),e&&u(S),e&&u(C),N=!1,i(M)}}}
|
|
579
579
|
// (196:41)
|
|
580
|
-
function
|
|
580
|
+
function dn(e){let t,n,r,o,s,g,b,v,P,T,B,w,L,H,A,k,_,S,C,I,N,M,O,D,R,j,U=/*$_*/e[12]("lugasPopup.depositLimit")+"",x=/*$_*/e[12]("lugasPopup.successful")+"",G=/*$_*/e[12]("lugasPopup.kyc1Part1")+"",z=/*$_*/e[12]("lugasPopup.kyc1Part2")+"",$=/*$_*/e[12]("lugasPopup.kycButton")+"",F=/*$_*/e[12]("lugasPopup.closeButton")+"";return{c(){t=c("p"),n=p(U),r=f(),o=c("div"),s=c("div"),g=h("svg"),b=h("g"),v=h("path"),P=f(),T=c("p"),B=p(x),w=f(),L=c("p"),H=p(G),A=p(/*legislatorLimitValue*/e[11]),k=f(),_=p(/*currency*/e[0]),S=p(z),C=f(),I=c("button"),N=p($),M=f(),O=c("button"),D=p(F),d(t,"class","Title"),d(v,"id","XMLID_6_"),d(v,"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"),d(b,"id","XMLID_1_"),d(g,"version","1.1"),d(g,"id","Layer_1"),d(g,"xmlns","http://www.w3.org/2000/svg"),d(g,"xmlns:xlink","http://www.w3.org/1999/xlink"),d(g,"x","0px"),d(g,"y","0px"),d(g,"viewBox","0 0 512 512"),E(g,"enable-background","new 0 0 512 512"),d(g,"xml:space","preserve"),d(s,"class","ResultIconWrapper"),d(L,"class","Description CenterAlign"),d(o,"class","DescriptionWrapper"),d(I,"class","KycButton PrimaryButtonStyle"),d(O,"class","ConfirmButton SecondaryButtonStyle")},m(i,u){l(i,t,u),a(t,n),l(i,r,u),l(i,o,u),a(o,s),a(s,g),a(g,b),a(b,v),a(s,P),a(s,T),a(T,B),a(o,w),a(o,L),a(L,H),a(L,A),a(L,k),a(L,_),a(L,S),l(i,C,u),l(i,I,u),a(I,N),l(i,M,u),l(i,O,u),a(O,D),R||(j=[m(I,"click",/*click_handler_6*/e[32]),m(O,"click",/*click_handler_7*/e[33])],R=!0)},p(e,t){/*$_*/4096&t[0]&&U!==(U=/*$_*/e[12]("lugasPopup.depositLimit")+"")&&y(n,U),/*$_*/4096&t[0]&&x!==(x=/*$_*/e[12]("lugasPopup.successful")+"")&&y(B,x),/*$_*/4096&t[0]&&G!==(G=/*$_*/e[12]("lugasPopup.kyc1Part1")+"")&&y(H,G),/*legislatorLimitValue*/2048&t[0]&&y(A,/*legislatorLimitValue*/e[11]),/*currency*/1&t[0]&&y(_,/*currency*/e[0]),/*$_*/4096&t[0]&&z!==(z=/*$_*/e[12]("lugasPopup.kyc1Part2")+"")&&y(S,z),/*$_*/4096&t[0]&&$!==($=/*$_*/e[12]("lugasPopup.kycButton")+"")&&y(N,$),/*$_*/4096&t[0]&&F!==(F=/*$_*/e[12]("lugasPopup.closeButton")+"")&&y(D,F)},d(e){e&&u(t),e&&u(r),e&&u(o),e&&u(C),e&&u(I),e&&u(M),e&&u(O),R=!1,i(j)}}}
|
|
581
581
|
// (179:48)
|
|
582
|
-
function
|
|
582
|
+
function gn(e){let t,n,i,r,o,s,g,b,v,P,T,B,w,L,H,A,k,_,S,C,I,N=/*$_*/e[12]("lugasPopup.depositLimit")+"",M=/*$_*/e[12]("lugasPopup.successful")+"",O=/*$_*/e[12]("lugasPopup.successDescription")+"";return{c(){t=c("p"),n=p(N),i=f(),r=c("div"),o=c("div"),s=h("svg"),g=h("defs"),b=h("style"),v=p(".fil0 {fill:black;fill-rule:nonzero}\n "),P=h("g"),T=h("polygon"),B=f(),w=c("p"),L=p(M),H=f(),A=c("p"),k=p(O),_=f(),S=c("button"),S.textContent="OK",d(t,"class","Title"),d(b,"type","text/css"),d(T,"class","fil0"),d(T,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),d(s,"xmlns","http://www.w3.org/2000/svg"),d(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),d(s,"xml:space","preserve"),d(s,"version","1.1"),E(s,"shape-rendering","geometricPrecision"),E(s,"text-rendering","geometricPrecision"),E(s,"image-rendering","optimizeQuality"),d(s,"viewBox","0 0 90 69"),d(s,"x","0px"),d(s,"y","0px"),d(s,"fill-rule","evenodd"),d(s,"clip-rule","evenodd"),d(o,"class","ResultIconWrapper"),d(A,"class","Description CenterAlign"),d(r,"class","DescriptionWrapper"),d(S,"class","ConfirmButton PrimaryButtonStyle")},m(u,c){l(u,t,c),a(t,n),l(u,i,c),l(u,r,c),a(r,o),a(o,s),a(s,g),a(g,b),a(b,v),a(s,P),a(P,T),a(o,B),a(o,w),a(w,L),a(r,H),a(r,A),a(A,k),l(u,_,c),l(u,S,c),C||(I=m(S,"click",/*click_handler_5*/e[31]),C=!0)},p(e,t){/*$_*/4096&t[0]&&N!==(N=/*$_*/e[12]("lugasPopup.depositLimit")+"")&&y(n,N),/*$_*/4096&t[0]&&M!==(M=/*$_*/e[12]("lugasPopup.successful")+"")&&y(L,M),/*$_*/4096&t[0]&&O!==(O=/*$_*/e[12]("lugasPopup.successDescription")+"")&&y(k,O)},d(e){e&&u(t),e&&u(i),e&&u(r),e&&u(_),e&&u(S),C=!1,I()}}}
|
|
583
583
|
// (150:10) {#if popupState === "initial"}
|
|
584
|
-
function yn(e){let t,n,r,o,s,E,P,B,
|
|
584
|
+
function yn(e){let t,n,r,o,s,E,P,T,B,w,L,H,A,k,_,S,C,I,N,M,O,D,R,j,U,x,G,z,$,F,V,K,X,Z,W,Y,q,J,Q,ee,te,ne,ie,re,oe=/*$_*/e[12]("lugasPopup.setLimit")+"",se=/*$_*/e[12]("lugasPopup.setLimitDescription")+"",ae=/*$_*/e[12]("lugasPopup.lugasInfo1")+"",le=/*$_*/e[12]("lugasPopup.lugasInfo2")+"",ue=/*$_*/e[12]("lugasPopup.keepCurrentLimit")+"",ce=/*$_*/e[12]("lugasPopup.keepCurrentLimitButton")+"",he=/*$_*/e[12]("lugasPopup.depositPeriod")+"",pe=/*$_*/e[12]("lugasPopup.applyButton")+"",fe=/*$_*/e[12]("lugasPopup.TCpart1")+"",me=/*$_*/e[12]("lugasPopup.TClink")+"",de=/*$_*/e[12]("lugasPopup.TCpart2")+"",ge=/*$_*/e[12]("lugasPopup.PPlink")+"";return{c(){t=c("p"),n=p(oe),r=f(),o=c("p"),s=p(se),E=f(),P=c("p"),T=p(ae),B=f(),w=c("button"),L=p(le),H=f(),A=c("button"),k=p(ue),_=f(),S=c("button"),C=p(ce),I=h("svg"),N=h("path"),M=h("path"),O=f(),D=c("div"),R=c("div"),j=c("span"),U=p(he),x=f(),G=c("div"),z=c("input"),$=f(),F=c("button"),V=p(pe),K=f(),X=c("p"),Z=p(fe),W=c("button"),Y=p(me),q=f(),J=p(de),Q=f(),ee=c("button"),te=p(ge),ne=p("."),d(t,"class","Title"),d(o,"class","Description LeftAlign"),d(w,"class","LinkButton"),d(P,"class","AdditionalInformation"),d(A,"class","KeepCurrentButton PrimaryButtonStyle"),d(N,"d","M10.5 15l7.5 7.5 7.5-7.5z"),d(M,"d","M0 0h36v36h-36z"),d(M,"fill","none"),d(I,"class","ExpandArrow"),d(I,"xmlns","http://www.w3.org/2000/svg"),d(I,"width","36"),d(I,"height","36"),d(I,"viewBox","0 0 36 36"),d(I,"fill","#999"),v(I,"Extended",/*extended*/e[5]),d(S,"class","ExpandButton"),d(j,"class","DepositPeriodText"),d(R,"class","DepositTextSection"),d(z,"type","number"),d(z,"class","DepositInput"),d(F,"type","submit"),d(F,"class","SubmitDepositButton PrimaryButtonStyle"),F.disabled=!0,d(G,"class","DepositInputSection"),d(D,"class","SetLimitSection"),v(D,"Hidden",/*hidden*/e[4]),d(W,"class","LinkButton"),d(ee,"class","LinkButton"),d(X,"class","TermsConditions")},m(i,u){l(i,t,u),a(t,n),l(i,r,u),l(i,o,u),a(o,s),l(i,E,u),l(i,P,u),a(P,T),a(P,B),a(P,w),a(w,L),l(i,H,u),l(i,A,u),a(A,k),l(i,_,u),l(i,S,u),a(S,C),a(S,I),a(I,N),a(I,M),
|
|
585
585
|
/*svg_binding*/e[25](I),l(i,O,u),l(i,D,u),a(D,R),a(R,j),a(j,U),a(D,x),a(D,G),a(G,z),b(z,/*inputAmount*/e[6]),a(G,$),a(G,F),a(F,V),
|
|
586
|
-
/*button3_binding*/e[27](F),l(i,K,u),l(i,X,u),a(X,Z),a(X,W),a(W,Y),a(X,q),a(X,J),a(X,Q),a(X,ee),a(ee,te),a(X,ne),ie||(re=[m(w,"click",/*click_handler*/e[23]),m(A,"click",/*click_handler_1*/e[24]),m(S,"click",/*toggleNewLimitArea*/e[13]),m(z,"input",/*input_input_handler*/e[26]),m(z,"keyup",/*updateInputValue*/e[14]),m(F,"click",/*click_handler_2*/e[28]),m(W,"click",/*click_handler_3*/e[29]),m(ee,"click",/*click_handler_4*/e[30])],ie=!0)},p(e,t){/*$_*/4096&t[0]&&oe!==(oe=/*$_*/e[12]("lugasPopup.setLimit")+"")&&y(n,oe),/*$_*/4096&t[0]&&se!==(se=/*$_*/e[12]("lugasPopup.setLimitDescription")+"")&&y(s,se),/*$_*/4096&t[0]&&ae!==(ae=/*$_*/e[12]("lugasPopup.lugasInfo1")+"")&&y(
|
|
586
|
+
/*button3_binding*/e[27](F),l(i,K,u),l(i,X,u),a(X,Z),a(X,W),a(W,Y),a(X,q),a(X,J),a(X,Q),a(X,ee),a(ee,te),a(X,ne),ie||(re=[m(w,"click",/*click_handler*/e[23]),m(A,"click",/*click_handler_1*/e[24]),m(S,"click",/*toggleNewLimitArea*/e[13]),m(z,"input",/*input_input_handler*/e[26]),m(z,"keyup",/*updateInputValue*/e[14]),m(F,"click",/*click_handler_2*/e[28]),m(W,"click",/*click_handler_3*/e[29]),m(ee,"click",/*click_handler_4*/e[30])],ie=!0)},p(e,t){/*$_*/4096&t[0]&&oe!==(oe=/*$_*/e[12]("lugasPopup.setLimit")+"")&&y(n,oe),/*$_*/4096&t[0]&&se!==(se=/*$_*/e[12]("lugasPopup.setLimitDescription")+"")&&y(s,se),/*$_*/4096&t[0]&&ae!==(ae=/*$_*/e[12]("lugasPopup.lugasInfo1")+"")&&y(T,ae),/*$_*/4096&t[0]&&le!==(le=/*$_*/e[12]("lugasPopup.lugasInfo2")+"")&&y(L,le),/*$_*/4096&t[0]&&ue!==(ue=/*$_*/e[12]("lugasPopup.keepCurrentLimit")+"")&&y(k,ue),/*$_*/4096&t[0]&&ce!==(ce=/*$_*/e[12]("lugasPopup.keepCurrentLimitButton")+"")&&y(C,ce),/*extended*/32&t[0]&&v(I,"Extended",/*extended*/e[5]),/*$_*/4096&t[0]&&he!==(he=/*$_*/e[12]("lugasPopup.depositPeriod")+"")&&y(U,he),/*inputAmount*/64&t[0]&&g(z.value)!==/*inputAmount*/e[6]&&b(z,/*inputAmount*/e[6]),/*$_*/4096&t[0]&&pe!==(pe=/*$_*/e[12]("lugasPopup.applyButton")+"")&&y(V,pe),/*hidden*/16&t[0]&&v(D,"Hidden",/*hidden*/e[4]),/*$_*/4096&t[0]&&fe!==(fe=/*$_*/e[12]("lugasPopup.TCpart1")+"")&&y(Z,fe),/*$_*/4096&t[0]&&me!==(me=/*$_*/e[12]("lugasPopup.TClink")+"")&&y(Y,me),/*$_*/4096&t[0]&&de!==(de=/*$_*/e[12]("lugasPopup.TCpart2")+"")&&y(J,de),/*$_*/4096&t[0]&&ge!==(ge=/*$_*/e[12]("lugasPopup.PPlink")+"")&&y(te,ge)},d(n){n&&u(t),n&&u(r),n&&u(o),n&&u(E),n&&u(P),n&&u(H),n&&u(A),n&&u(_),n&&u(S)
|
|
587
587
|
/*svg_binding*/,e[25](null),n&&u(O),n&&u(D)
|
|
588
588
|
/*button3_binding*/,e[27](null),n&&u(K),n&&u(X),ie=!1,i(re)}}}function bn(t){let n,i,r,o,s,h;function p(e,t){/*isLoading*/
|
|
589
|
-
return e[7]?pn:/*lang*/e[1]?hn:void 0}let m=p(t),
|
|
589
|
+
return e[7]?pn:/*lang*/e[1]?hn:void 0}let m=p(t),g=m&&m(t);return{c(){n=c("meta"),i=f(),r=c("div"),o=c("div"),s=c("div"),h=c("div"),g&&g.c(),this.c=e,d(n,"name","viewport"),d(n,"content","width=device-width, initial-scale=1"),d(h,"class","ModalContainer"),d(s,"class","Overlay"),d(o,"class","player-account-gaming-limits-popup-2")},m(e,u){a(cn.head,n),l(e,i,u),l(e,r,u),a(r,o),a(o,s),a(s,h),g&&g.m(h,null)
|
|
590
590
|
/*div2_binding*/,t[37](o),
|
|
591
|
-
/*div3_binding*/t[38](r)},p(e,t){m===(m=p(e))&&
|
|
591
|
+
/*div3_binding*/t[38](r)},p(e,t){m===(m=p(e))&&g?g.p(e,t):(g&&g.d(1),g=m&&m(e),g&&(g.c(),g.m(h,null)))},i:e,o:e,d(e){u(n),e&&u(i),e&&u(r),g&&g.d()
|
|
592
592
|
/*div2_binding*/,t[37](null),
|
|
593
|
-
/*div3_binding*/t[38](null)}}}function En(e,t,n){let i;var r,o;r=an,o=e=>n(12,i=e),e.$$.on_destroy.push(s(r,o));let a,l,u,c,h,p,{userid:f=""}=t,{session:m=""}=t,{endpoint:
|
|
593
|
+
/*div3_binding*/t[38](null)}}}function En(e,t,n){let i;var r,o;r=an,o=e=>n(12,i=e),e.$$.on_destroy.push(s(r,o));let a,l,u,c,h,p,{userid:f=""}=t,{session:m=""}=t,{endpoint:d=""}=t,{currency:y=""}=t,{lang:b=""}=t,{translationurl:E=""}=t,{clientstyling:v=""}=t,{clientstylingurl:P=""}=t,T=!0,B=!1,w=!1,H="initial";Object.keys(un).forEach((e=>{ln(e,un[e])}));const A=e=>{switch(window.postMessage({type:e}),e){case"closePopup":case"uploadDocuments":h.parentNode.removeChild(h)}},k=e=>{const t=new URL(`/v1/player/${f}/limit/lugas`,d);let i={};n(7,w=!0),i="custom"===e?{amount:u}:{};let r={method:"POST",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(i)};fetch(t.href,r).then((e=>e.json())).then((e=>{_(e)})).catch((e=>{console.log(e)})).finally((()=>{n(7,w=!1)}))},_=e=>{if(e.hasOwnProperty("kycNeeded"))switch(e.popup){case 1:n(10,H="KYC"),n(11,p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.operatorDepositLimitAmount));break;case 2:n(10,H="successful");break;case 3:n(10,H="KYC2")}else n(10,H="error")},S=()=>{var e;e=b,Zt.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,y=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,P=e.clientstylingurl)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&b&&S(),/*clientstylingurl, customStylingContainer*/4194308&e.$$.dirty[0]&&P&&a&&(()=>{let e=new URL(P),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=>{ln(t,e[t])}))})).catch((e=>{console.log(e)}))},[y,b,a,l,T,B,u,w,c,h,H,p,i,()=>{n(5,B=!B),n(4,T=!T)},()=>{const e=999999999999999;u>e&&n(6,u=e);const t=u-Math.floor(u)==0;u>0&&t?c.removeAttribute("disabled"):c.setAttribute("disabled","true")},A,k,f,m,d,E,v,P,()=>A("lugasInformation"),()=>k("default"),function(e){L[e?"unshift":"push"]((()=>{l=e,n(3,l)}))},function(){u=g(this.value),n(6,u)},function(e){L[e?"unshift":"push"]((()=>{c=e,n(8,c)}))},()=>k("custom"),()=>A("termsConditions"),()=>A("privacyPolicy"),()=>A("closePopup"),()=>A("uploadDocuments"),()=>A("closePopup"),()=>A("uploadDocuments"),()=>A("closePopup"),()=>A("closePopup"),function(e){L[e?"unshift":"push"]((()=>{h=e,n(9,h)}))},function(e){L[e?"unshift":"push"]((()=>{a=e,n(2,a)}))}]}class vn extends U{constructor(e){super(),this.shadowRoot.innerHTML='<style>: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:#3366CC;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:#fff;border:0;padding:0;margin-top:-10px;color:#999;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:#ccc;cursor:not-allowed;background:#fff;border:#ccc 1px solid}.Hidden{display:none}.Extended{transform:rotate(180deg)}</style>',j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},En,bn,o,{userid:17,session:18,endpoint:19,currency:0,lang:1,translationurl:20,clientstyling:21,clientstylingurl:22},null,[-1,-1]),e&&(e.target&&l(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}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}),N()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),N()}get endpoint(){return this.$$.ctx[19]}set endpoint(e){this.$$set({endpoint:e}),N()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),N()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),N()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),N()}get clientstyling(){return this.$$.ctx[21]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[22]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}}return!customElements.get("player-account-gaming-limits-popup-2")&&customElements.define("player-account-gaming-limits-popup-2",vn),vn}));
|
|
594
594
|
//# sourceMappingURL=player-account-gaming-limits-popup-2.js.map
|