@everymatrix/player-account-gaming-limits-popup-2 1.0.2 → 1.0.4
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
|
|
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 u(e,t,n){e.insertBefore(t,n||null)}function l(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 g(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function d(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 B;function T(e){B=e}const w=[],H=[],L=[],A=[],_=Promise.resolve();let k=!1;function S(e){L.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,16 +18,16 @@
|
|
|
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=B;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++,T(e),M(e.$$)}for(T(null),w.length=0,I=0;H.length;)H.pop()();
|
|
25
25
|
// then, once components are updated, call
|
|
26
26
|
// afterUpdate functions. This may cause
|
|
27
27
|
// subsequent updates...
|
|
28
28
|
for(let e=0;e<L.length;e+=1){const t=L[e];C.has(t)||(
|
|
29
29
|
// ...so guard against infinite loops
|
|
30
|
-
C.add(t),t())}L.length=0}while(w.length);for(;A.length;)A.pop()();k=!1,C.clear(),
|
|
30
|
+
C.add(t),t())}L.length=0}while(w.length);for(;A.length;)A.pop()();k=!1,C.clear(),T(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),k||(k=!0,_.then(N)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function j(o,s,a,u,c,h,p,f=[-1]){const m=B;T(o);const g=o.$$={fragment:null,ctx:null,
|
|
31
31
|
// state
|
|
32
32
|
props:h,update:e,not_equal:c,bound:n(),
|
|
33
33
|
// lifecycle
|
|
@@ -35,16 +35,16 @@ on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],cont
|
|
|
35
35
|
// everything else
|
|
36
36
|
callbacks:n(),dirty:f,skip_bound:!1,root:s.target||m.$$.root};p&&p(g.root);let d=!1;if(g.ctx=a?a(o,s.props||{},((e,t,...n)=>{const i=n.length?n[0]:t;return g.ctx&&c(g.ctx[e],g.ctx[e]=i)&&(!g.skip_bound&&g.bound[e]&&g.bound[e](i),d&&R(o,e)),t})):[],g.update(),d=!0,i(g.before_update),
|
|
37
37
|
// `false` as a special case of no DOM component
|
|
38
|
-
g.fragment=!!
|
|
38
|
+
g.fragment=!!u&&u(g.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
|
-
g.fragment&&g.fragment.l(e),e.forEach(
|
|
40
|
+
g.fragment&&g.fragment.l(e),e.forEach(l)}else
|
|
41
41
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
42
|
-
g.fragment&&g.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:
|
|
42
|
+
g.fragment&&g.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:u,on_destroy:l,after_update:c}=e.$$;a&&a.m(n,o),s||
|
|
43
43
|
// onMount happens before the initial afterUpdate
|
|
44
|
-
S((()=>{const n=
|
|
44
|
+
S((()=>{const n=u.map(t).filter(r);l?l.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;T(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
|
|
@@ -65,7 +65,7 @@ const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{co
|
|
|
65
65
|
* @param {StartStopNotifier=}start start and stop notifications for subscriptions
|
|
66
66
|
*/
|
|
67
67
|
function G(t,n=e){let i;const r=new Set;function s(e){if(o(t,e)&&(t=e,i)){// store is ready
|
|
68
|
-
const e=!x.length;for(const e of r)e[1](),x.push(e,t);if(e){for(let e=0;e<x.length;e+=2)x[e][0](x[e+1]);x.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const
|
|
68
|
+
const e=!x.length;for(const e of r)e[1](),x.push(e,t);if(e){for(let e=0;e<x.length;e+=2)x[e][0](x[e+1]);x.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const u=[o,a];return r.add(u),1===r.size&&(i=n(s)||e),o(t),()=>{r.delete(u),0===r.size&&(i(),i=null)}}}}function z(t,n,o){const a=!Array.isArray(t),u=a?[t]:t,l=n.length<2;return c=t=>{let o=!1;const c=[];let h=0,p=e;const f=()=>{if(h)return;p();const i=n(a?c[0]:c,t);l?t(i):p=r(i)?i:e},m=u.map(((e,t)=>s(e,(e=>{c[t]=e,h&=~(1<<t),o&&f()}),(()=>{h|=1<<t}))));return o=!0,f(),function(){i(m),p()}},{subscribe:G(o,c).subscribe};var c}var $=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===F}(e)}
|
|
69
69
|
// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
|
|
70
70
|
(e)};var F="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function V(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Y((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function K(e,t,n){return e.concat(t).map((function(e){return V(e,n)}))}function X(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function Z(e,t){try{return t in e}catch(e){return!1}}
|
|
71
71
|
// Protects from prototype poisoning and unexpected merging up the prototype chain.
|
|
@@ -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
|
|
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 ue(e){return e.type===te.date}function le(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 ge(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`) */
|
|
@@ -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,Be=/(\*)(0+)|(#+)(0+)|(0+)/g,Te=/^(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
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 He(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 Le(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)),!Te.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ae(e){var t=He(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
232
|
*/function _e(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(Be,(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(Te.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
|
|
@@ -376,17 +376,17 @@ return this.error(ee.EXPECT_ARGUMENT_TYPE,Me(o,a));case"number":case"date":case"
|
|
|
376
376
|
// Parse this range:
|
|
377
377
|
// {name, number, style}
|
|
378
378
|
// ^-------^
|
|
379
|
-
this.bumpSpace();var
|
|
379
|
+
this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(f=We(y.val)).length)return this.error(ee.EXPECT_ARGUMENT_STYLE,Me(this.clonePosition(),this.clonePosition()));u={style:f,styleLocation:Me(l,this.clonePosition())}}if((b=this.tryParseArgumentClose(i)).err)return b;var c=Me(i,this.clonePosition());
|
|
380
380
|
// Extract style or skeleton
|
|
381
|
-
if(
|
|
381
|
+
if(u&&Fe(null==u?void 0:u.style,"::",0)){
|
|
382
382
|
// Skeleton starts with `::`.
|
|
383
|
-
var h=Ze(
|
|
383
|
+
var h=Ze(u.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(h,u.styleLocation)).err?y:{val:{type:te.number,value:n,location:c,style:y.val},err:null};if(0===h.length)return this.error(ee.EXPECT_DATE_TIME_SKELETON,c);var p=h;
|
|
384
384
|
// Get "best match" pattern only if locale is passed, if not, let it
|
|
385
385
|
// pass as-is where `parseDateTimeSkeleton()` will throw an error
|
|
386
386
|
// for unsupported patterns.
|
|
387
|
-
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),
|
|
387
|
+
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),u=Ce(t);for("H"!=u&&"k"!=u||(a=0);a-- >0;)n+="a";for(;s-- >0;)n=u+n}else n+="J"===r?"H":r}return n}(h,this.locale));var f={type:ne.dateTime,pattern:p,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?be(p):{}};return{val:{type:"date"===s?te.date:te.time,value:n,location:c,style:f},err:null}}
|
|
388
388
|
// Regular style or no style.
|
|
389
|
-
return{val:{type:"number"===s?te.number:"date"===s?te.date:te.time,value:n,location:c,style:null!==(r=null==
|
|
389
|
+
return{val:{type:"number"===s?te.number:"date"===s?te.date:te.time,value:n,location:c,style:null!==(r=null==u?void 0:u.style)&&void 0!==r?r:null},err:null};case"plural":case"selectordinal":case"select":
|
|
390
390
|
// Parse this range:
|
|
391
391
|
// {name, plural, options}
|
|
392
392
|
// ^---------^
|
|
@@ -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),
|
|
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),u=0,l=a;u<l.length;u++)if(0===l[u].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?_e(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.
|
|
@@ -425,19 +425,19 @@ e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){
|
|
|
425
425
|
// Parse:
|
|
426
426
|
// one {one apple}
|
|
427
427
|
// ^--^
|
|
428
|
-
for(var r,o=!1,s=[],a=new Set,
|
|
428
|
+
for(var r,o=!1,s=[],a=new Set,u=i.value,l=i.location;;){if(0===u.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
|
|
429
429
|
// Try parse `={number}` selector
|
|
430
|
-
var h=this.tryParseDecimalInteger(ee.EXPECT_PLURAL_ARGUMENT_SELECTOR,ee.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;
|
|
430
|
+
var h=this.tryParseDecimalInteger(ee.EXPECT_PLURAL_ARGUMENT_SELECTOR,ee.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;l=Me(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}
|
|
431
431
|
// Duplicate selector clauses
|
|
432
|
-
if(a.has(
|
|
432
|
+
if(a.has(u))return this.error("select"===t?ee.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ee.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===u&&(o=!0),
|
|
433
433
|
// Parse:
|
|
434
434
|
// one {one apple}
|
|
435
435
|
// ^----------^
|
|
436
|
-
this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ee.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ee.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([
|
|
436
|
+
this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ee.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ee.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([u,{value:f.val,location:Me(p,this.clonePosition())}]),
|
|
437
437
|
// Keep track of the existing selectors
|
|
438
|
-
a.add(
|
|
438
|
+
a.add(u),
|
|
439
439
|
// Prep next selector clause.
|
|
440
|
-
this.bumpSpace(),
|
|
440
|
+
this.bumpSpace(),u=(r=this.parseIdentifierIfPossible()).value,l=r.location}return 0===s.length?this.error("select"===t?ee.EXPECT_SELECT_ARGUMENT_SELECTOR:ee.EXPECT_PLURAL_ARGUMENT_SELECTOR,Me(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ee.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?Ge(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(){
|
|
441
441
|
// This is much faster than `Object.assign` or spread.
|
|
442
442
|
return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
|
|
443
443
|
/**
|
|
@@ -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)||(
|
|
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)||(ue(e)||le(e))&&ge(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
|
|
@@ -493,11 +493,11 @@ i.originalMessage=n.err.message,i}return(null==t?void 0:t.captureLocation)||it(n
|
|
|
493
493
|
|
|
494
494
|
// Main
|
|
495
495
|
|
|
496
|
-
function ot(e,t){var n=t&&t.cache?t.cache:ft,i=t&&t.serializer?t.serializer:ct;return(t&&t.strategy?t.strategy:
|
|
496
|
+
function ot(e,t){var n=t&&t.cache?t.cache:ft,i=t&&t.serializer?t.serializer:ct;return(t&&t.strategy?t.strategy:lt)(e,{cache:n,serializer:i})}
|
|
497
497
|
|
|
498
498
|
// Strategy
|
|
499
499
|
|
|
500
|
-
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
|
|
500
|
+
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 ut(e,t,n,i,r){return n.bind(t,e,i,r)}function lt(e,t){return ut(e,this,1===e.length?st:at,t.cache.create(),t.serializer)}
|
|
501
501
|
// Serializer
|
|
502
502
|
var ct=function(){return JSON.stringify(arguments)};
|
|
503
503
|
|
|
@@ -505,7 +505,7 @@ var ct=function(){return JSON.stringify(arguments)};
|
|
|
505
505
|
|
|
506
506
|
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(){
|
|
507
507
|
// @ts-ignore
|
|
508
|
-
return new ht}},mt={variadic:function(e,t){return
|
|
508
|
+
return new ht}},mt={variadic:function(e,t){return ut(e,this,at,t.cache.create(),t.serializer)},monadic:function(e,t){return ut(e,this,st,t.cache.create(),t.serializer)}};!function(e){
|
|
509
509
|
// When we have a placeholder but no value to format
|
|
510
510
|
e.MISSING_VALUE="MISSING_VALUE",
|
|
511
511
|
// When value supplied is invalid
|
|
@@ -517,7 +517,7 @@ 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:gt.literal,value:e[0].value}];for(var a=[],
|
|
520
|
+
if(1===e.length&&oe(e[0]))return[{type:gt.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var c=l[u];
|
|
521
521
|
// Exit early for string parts.
|
|
522
522
|
if(oe(c))a.push({type:gt.literal,value:c.value});else
|
|
523
523
|
// TODO: should this part be literal type?
|
|
@@ -528,14 +528,14 @@ if(!r||!(h in r))throw new Et(h,s);var p=r[h];if(se(c))p&&"string"!=typeof p&&"n
|
|
|
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(
|
|
531
|
+
if(ue(c)){var f="string"==typeof c.style?i.date[c.style]:ge(c.style)?c.style.parsedOptions:void 0;a.push({type:gt.literal,value:n.getDateTimeFormat(t,f).format(p)})}else if(le(c)){f="string"==typeof c.style?i.time[c.style]:ge(c.style)?c.style.parsedOptions:i.time.medium;a.push({type:gt.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:gt.literal,value:n.getNumberFormat(t,f).format(p)})}else{if(fe(c)){var m=c.children,g=c.value,d=r[g];if(!vt(d))throw new bt(g,"function",s);var y=d(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?gt.literal:gt.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 dt('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===gt.literal&&t.type===gt.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 Bt(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 Tt(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"}(gt||(gt={}));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
540
|
if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===gt.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.
|
|
@@ -544,7 +544,7 @@ this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(thi
|
|
|
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=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,re([void 0],t,!1)))}),{cache:Tt(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:Tt(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:Tt(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.
|
|
@@ -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));z([Zt],(()=>nn)),z([Zt],(()=>rn)),z([Zt],(()=>on)),z([Zt,St],(()=>sn));const ln={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:un}=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 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:u=Xt(),default:l}=s;if(null==u)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=_t(e,u);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:u,id:e,defaultValue:l}))&&void 0!==r?r:l)&&void 0!==o?o:e;if(!a)return c;let h=c;try{h=en(c,u).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));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:ln}=D;
|
|
571
571
|
/* src/PlayerAccountGamingLimitsPopup_2.svelte generated by Svelte v3.48.0 */function cn(e){let t;function n(e,t){/*popupState*/
|
|
572
|
-
return"initial"===e[10]?dn:/*popupState*/"successful"===e[10]?gn:/*popupState*/"KYC"===e[10]?mn:/*popupState*/"KYC2"===e[10]?fn:/*popupState*/"error"===e[10]?pn:void 0}let i=n(e),r=i&&i(e);return{c(){t=c("div"),r&&r.c(),g(t,"class","InitialWrapper")},m(e,n){
|
|
572
|
+
return"initial"===e[10]?dn:/*popupState*/"successful"===e[10]?gn:/*popupState*/"KYC"===e[10]?mn:/*popupState*/"KYC2"===e[10]?fn:/*popupState*/"error"===e[10]?pn:void 0}let i=n(e),r=i&&i(e);return{c(){t=c("div"),r&&r.c(),g(t,"class","InitialWrapper")},m(e,n){u(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&&l(t),r&&r.d()}}}
|
|
573
573
|
// (135:8) {#if isLoading}
|
|
574
|
-
function hn(e){let t,n,i=/*$_*/e[12]("lugasPopup.loading")+"";return{c(){t=c("p"),n=p(i)},m(e,i){
|
|
574
|
+
function hn(e){let t,n,i=/*$_*/e[12]("lugasPopup.loading")+"";return{c(){t=c("p"),n=p(i)},m(e,i){u(e,t,i),a(t,n)},p(e,t){/*$_*/4096&t[0]&&i!==(i=/*$_*/e[12]("lugasPopup.loading")+"")&&y(n,i)},d(e){e&&l(t)}}}
|
|
575
575
|
// (231:43)
|
|
576
|
-
function pn(e){let t,n,i,r,o,s,h,d,b,E,v,P,
|
|
576
|
+
function pn(e){let t,n,i,r,o,s,h,d,b,E,v,P,B=/*$_*/e[12]("lugasPopup.depositError")+"",T=/*$_*/e[12]("lugasPopup.errorDescription")+"",w=/*$_*/e[12]("lugasPopup.closeButton")+"";return{c(){t=c("p"),n=p(B),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(T),d=f(),b=c("button"),E=p(w),g(t,"class","Title"),g(r,"class","ResultIconWrapper"),g(s,"class","Description CenterAlign"),g(b,"class","ConfirmButton SecondaryButtonStyle")},m(l,c){u(l,t,c),a(t,n),u(l,i,c),u(l,r,c),u(l,o,c),u(l,s,c),a(s,h),u(l,d,c),u(l,b,c),a(b,E),v||(P=m(b,"click",/*click_handler_10*/e[35]),v=!0)},p(e,t){/*$_*/4096&t[0]&&B!==(B=/*$_*/e[12]("lugasPopup.depositError")+"")&&y(n,B),/*$_*/4096&t[0]&&T!==(T=/*$_*/e[12]("lugasPopup.errorDescription")+"")&&y(h,T),/*$_*/4096&t[0]&&w!==(w=/*$_*/e[12]("lugasPopup.closeButton")+"")&&y(E,w)},d(e){e&&l(t),e&&l(i),e&&l(r),e&&l(o),e&&l(s),e&&l(d),e&&l(b),v=!1,P()}}}
|
|
577
577
|
// (208:42)
|
|
578
|
-
function fn(e){let t,n,r,o,s,d,b,v,P,T,
|
|
578
|
+
function fn(e){let t,n,r,o,s,d,b,v,P,B,T,w,H,L,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"),d=h("svg"),b=h("g"),v=h("path"),P=f(),B=c("p"),T=p(D),w=f(),H=c("p"),L=p(R),A=f(),_=c("button"),k=p(j),S=f(),C=c("button"),I=p(U),g(t,"class","Title"),g(v,"id","XMLID_6_"),g(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"),g(b,"id","XMLID_1_"),g(d,"version","1.1"),g(d,"id","Layer_1"),g(d,"xmlns","http://www.w3.org/2000/svg"),g(d,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(d,"x","0px"),g(d,"y","0px"),g(d,"viewBox","0 0 512 512"),E(d,"enable-background","new 0 0 512 512"),g(d,"xml:space","preserve"),g(s,"class","ResultIconWrapper"),g(H,"class","Description CenterAlign"),g(o,"class","DescriptionWrapper"),g(_,"class","KycButton PrimaryButtonStyle"),g(C,"class","ConfirmButton SecondaryButtonStyle")},m(i,l){u(i,t,l),a(t,n),u(i,r,l),u(i,o,l),a(o,s),a(s,d),a(d,b),a(b,v),a(s,P),a(s,B),a(B,T),a(o,w),a(o,H),a(H,L),u(i,A,l),u(i,_,l),a(_,k),u(i,S,l),u(i,C,l),a(C,I),N||(M=[m(_,"click",/*click_handler_8*/e[33]),m(C,"click",/*click_handler_9*/e[34])],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(T,D),/*$_*/4096&t[0]&&R!==(R=/*$_*/e[12]("lugasPopup.kyc2")+"")&&y(L,R),/*$_*/4096&t[0]&&j!==(j=/*$_*/e[12]("lugasPopup.kycButton")+"")&&y(k,j),/*$_*/4096&t[0]&&U!==(U=/*$_*/e[12]("lugasPopup.closeButton")+"")&&y(I,U)},d(e){e&&l(t),e&&l(r),e&&l(o),e&&l(A),e&&l(_),e&&l(S),e&&l(C),N=!1,i(M)}}}
|
|
579
579
|
// (185:41)
|
|
580
|
-
function mn(e){let t,n,r,o,s,d,b,v,P,T,
|
|
580
|
+
function mn(e){let t,n,r,o,s,d,b,v,P,B,T,w,H,L,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"),d=h("svg"),b=h("g"),v=h("path"),P=f(),B=c("p"),T=p(x),w=f(),H=c("p"),L=p(G),A=p(/*legislatorLimitValue*/e[11]),_=f(),k=p(/*currency*/e[0]),S=p(z),C=f(),I=c("button"),N=p($),M=f(),O=c("button"),D=p(F),g(t,"class","Title"),g(v,"id","XMLID_6_"),g(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"),g(b,"id","XMLID_1_"),g(d,"version","1.1"),g(d,"id","Layer_1"),g(d,"xmlns","http://www.w3.org/2000/svg"),g(d,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(d,"x","0px"),g(d,"y","0px"),g(d,"viewBox","0 0 512 512"),E(d,"enable-background","new 0 0 512 512"),g(d,"xml:space","preserve"),g(s,"class","ResultIconWrapper"),g(H,"class","Description CenterAlign"),g(o,"class","DescriptionWrapper"),g(I,"class","KycButton PrimaryButtonStyle"),g(O,"class","ConfirmButton SecondaryButtonStyle")},m(i,l){u(i,t,l),a(t,n),u(i,r,l),u(i,o,l),a(o,s),a(s,d),a(d,b),a(b,v),a(s,P),a(s,B),a(B,T),a(o,w),a(o,H),a(H,L),a(H,A),a(H,_),a(H,k),a(H,S),u(i,C,l),u(i,I,l),a(I,N),u(i,M,l),u(i,O,l),a(O,D),R||(j=[m(I,"click",/*click_handler_6*/e[31]),m(O,"click",/*click_handler_7*/e[32])],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(T,x),/*$_*/4096&t[0]&&G!==(G=/*$_*/e[12]("lugasPopup.kyc1Part1")+"")&&y(L,G),/*legislatorLimitValue*/2048&t[0]&&y(A,/*legislatorLimitValue*/e[11]),/*currency*/1&t[0]&&y(k,/*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&&l(t),e&&l(r),e&&l(o),e&&l(C),e&&l(I),e&&l(M),e&&l(O),R=!1,i(j)}}}
|
|
581
581
|
// (168:48)
|
|
582
|
-
function gn(e){let t,n,i,r,o,s,d,b,v,P,T,
|
|
582
|
+
function gn(e){let t,n,i,r,o,s,d,b,v,P,B,T,w,H,L,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"),d=h("defs"),b=h("style"),v=p(".fil0 {fill:black;fill-rule:nonzero}\n "),P=h("g"),B=h("polygon"),T=f(),w=c("p"),H=p(M),L=f(),A=c("p"),_=p(O),k=f(),S=c("button"),S.textContent="OK",g(t,"class","Title"),g(b,"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"),E(s,"shape-rendering","geometricPrecision"),E(s,"text-rendering","geometricPrecision"),E(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(A,"class","Description CenterAlign"),g(r,"class","DescriptionWrapper"),g(S,"class","ConfirmButton PrimaryButtonStyle")},m(l,c){u(l,t,c),a(t,n),u(l,i,c),u(l,r,c),a(r,o),a(o,s),a(s,d),a(d,b),a(b,v),a(s,P),a(P,B),a(o,T),a(o,w),a(w,H),a(r,L),a(r,A),a(A,_),u(l,k,c),u(l,S,c),C||(I=m(S,"click",/*click_handler_5*/e[30]),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(H,M),/*$_*/4096&t[0]&&O!==(O=/*$_*/e[12]("lugasPopup.successDescription")+"")&&y(_,O)},d(e){e&&l(t),e&&l(i),e&&l(r),e&&l(k),e&&l(S),C=!1,I()}}}
|
|
583
583
|
// (139:10) {#if popupState === "initial"}
|
|
584
|
-
function dn(e){let t,n,r,o,s,E,P,T,
|
|
585
|
-
/*svg_binding*/e[24](I),
|
|
586
|
-
/*
|
|
587
|
-
/*svg_binding*/,e[24](null),n&&
|
|
588
|
-
/*
|
|
589
|
-
return e[7]?hn:/*lang*/e[1]?cn:void 0}let m=p(t),d=m&&m(t);return{c(){n=c("meta"),i=f(),r=c("div"),o=c("div"),s=c("div"),h=c("div"),d&&d.c(),this.c=e,g(n,"name","viewport"),g(n,"content","width=device-width, initial-scale=1"),g(h,"class","ModalContainer"),g(s,"class","Overlay"),g(o,"class","player-account-gaming-limits-popup-2")},m(e,
|
|
584
|
+
function dn(e){let t,n,r,o,s,E,P,B,T,w,H,L,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")+"",ue=/*$_*/e[12]("lugasPopup.lugasInfo2")+"",le=/*$_*/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")+"",ge=/*$_*/e[12]("lugasPopup.TCpart2")+"",de=/*$_*/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"),B=p(ae),T=f(),w=c("button"),H=p(ue),L=f(),A=c("button"),_=p(le),k=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(ge),Q=f(),ee=c("button"),te=p(de),ne=p("."),g(t,"class","Title"),g(o,"class","Description LeftAlign"),g(w,"class","LinkButton"),g(P,"class","AdditionalInformation"),g(A,"class","KeepCurrentButton PrimaryButtonStyle"),g(N,"d","M10.5 15l7.5 7.5 7.5-7.5z"),g(M,"d","M0 0h36v36h-36z"),g(M,"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"),v(I,"Extended",/*extended*/e[5]),g(S,"class","ExpandButton"),g(j,"class","DepositPeriodText"),g(R,"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(D,"class","SetLimitSection"),v(D,"Hidden",/*hidden*/e[4]),g(W,"class","LinkButton"),g(ee,"class","LinkButton"),g(X,"class","TermsConditions")},m(i,l){u(i,t,l),a(t,n),u(i,r,l),u(i,o,l),a(o,s),u(i,E,l),u(i,P,l),a(P,B),a(P,T),a(P,w),a(w,H),u(i,L,l),u(i,A,l),a(A,_),u(i,k,l),u(i,S,l),a(S,C),a(S,I),a(I,N),a(I,M),
|
|
585
|
+
/*svg_binding*/e[24](I),u(i,O,l),u(i,D,l),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[26](F),u(i,K,l),u(i,X,l),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[22]),m(A,"click",/*click_handler_1*/e[23]),m(S,"click",/*toggleNewLimitArea*/e[13]),m(z,"input",/*input_input_handler*/e[25]),m(z,"keyup",/*updateInputValue*/e[14]),m(F,"click",/*click_handler_2*/e[27]),m(W,"click",/*click_handler_3*/e[28]),m(ee,"click",/*click_handler_4*/e[29])],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(B,ae),/*$_*/4096&t[0]&&ue!==(ue=/*$_*/e[12]("lugasPopup.lugasInfo2")+"")&&y(H,ue),/*$_*/4096&t[0]&&le!==(le=/*$_*/e[12]("lugasPopup.keepCurrentLimit")+"")&&y(_,le),/*$_*/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]&&d(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]&&ge!==(ge=/*$_*/e[12]("lugasPopup.TCpart2")+"")&&y(J,ge),/*$_*/4096&t[0]&&de!==(de=/*$_*/e[12]("lugasPopup.PPlink")+"")&&y(te,de)},d(n){n&&l(t),n&&l(r),n&&l(o),n&&l(E),n&&l(P),n&&l(L),n&&l(A),n&&l(k),n&&l(S)
|
|
587
|
+
/*svg_binding*/,e[24](null),n&&l(O),n&&l(D)
|
|
588
|
+
/*button3_binding*/,e[26](null),n&&l(K),n&&l(X),ie=!1,i(re)}}}function yn(t){let n,i,r,o,s,h;function p(e,t){/*isLoading*/
|
|
589
|
+
return e[7]?hn:/*lang*/e[1]?cn:void 0}let m=p(t),d=m&&m(t);return{c(){n=c("meta"),i=f(),r=c("div"),o=c("div"),s=c("div"),h=c("div"),d&&d.c(),this.c=e,g(n,"name","viewport"),g(n,"content","width=device-width, initial-scale=1"),g(h,"class","ModalContainer"),g(s,"class","Overlay"),g(o,"class","player-account-gaming-limits-popup-2")},m(e,l){a(ln.head,n),u(e,i,l),u(e,r,l),a(r,o),a(o,s),a(s,h),d&&d.m(h,null)
|
|
590
590
|
/*div2_binding*/,t[36](o),
|
|
591
|
-
/*div3_binding*/t[37](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(h,null)))},i:e,o:e,d(e){
|
|
591
|
+
/*div3_binding*/t[37](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(h,null)))},i:e,o:e,d(e){l(n),e&&l(i),e&&l(r),d&&d.d()
|
|
592
592
|
/*div2_binding*/,t[36](null),
|
|
593
|
-
/*div3_binding*/t[37](null)}}}function bn(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,
|
|
593
|
+
/*div3_binding*/t[37](null)}}}function bn(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,u,l,c,h,p,{userid:f=""}=t,{session:m=""}=t,{endpoint:g=""}=t,{currency:y=""}=t,{lang:b=""}=t,{clientstyling:E=""}=t,{clientstylingurl:v=""}=t,P=!0,B=!1,T=!1,w="initial";Object.keys(un).forEach((e=>{!function(e,t){Nt(e,t)}(e,un[e])}));const L=e=>{switch(window.postMessage({type:e}),e){case"closePopup":case"uploadDocuments":h.parentNode.removeChild(h)}},A=e=>{const t=new URL(`/v1/player/${f}/limit/lugas`,g);let i={};n(7,T=!0),i="custom"===e?{amount:l}:{};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,T=!1)}))},_=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")},k=()=>{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,g=e.endpoint),"currency"in e&&n(0,y=e.currency),"lang"in e&&n(1,b=e.lang),"clientstyling"in e&&n(20,E=e.clientstyling),"clientstylingurl"in e&&n(21,v=e.clientstylingurl)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&b&&k(),/*clientstylingurl*/2097152&e.$$.dirty[0]&&v&&(()=>{let e=new URL(v),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,a&&setTimeout((()=>{a.appendChild(t)}),1)}))})(),/*clientstyling*/1048576&e.$$.dirty[0]&&E&&(()=>{let e=document.createElement("style");e.innerHTML=E,a.appendChild(e)})()},[y,b,a,u,P,B,l,T,c,h,w,p,i,()=>{n(5,B=!B),n(4,P=!P)},()=>{const e=999999999999999;l>e&&n(6,l=e);const t=l-Math.floor(l)==0;l>0&&t?c.removeAttribute("disabled"):c.setAttribute("disabled","true")},L,A,f,m,g,E,v,()=>L("lugasInformation"),()=>A("default"),function(e){H[e?"unshift":"push"]((()=>{u=e,n(3,u)}))},function(){l=d(this.value),n(6,l)},function(e){H[e?"unshift":"push"]((()=>{c=e,n(8,c)}))},()=>A("custom"),()=>L("termsConditions"),()=>L("privacyPolicy"),()=>L("closePopup"),()=>L("uploadDocuments"),()=>L("closePopup"),()=>L("uploadDocuments"),()=>L("closePopup"),()=>L("closePopup"),function(e){H[e?"unshift":"push"]((()=>{h=e,n(9,h)}))},function(e){H[e?"unshift":"push"]((()=>{a=e,n(2,a)}))}]}class En 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:#7ac317}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},bn,yn,o,{userid:17,session:18,endpoint:19,currency:0,lang:1,clientstyling:20,clientstylingurl:21},null,[-1,-1]),e&&(e.target&&u(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["userid","session","endpoint","currency","lang","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 clientstyling(){return this.$$.ctx[20]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[21]}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",En),En}));
|
|
594
594
|
//# sourceMappingURL=player-account-gaming-limits-popup-2.js.map
|