@everymatrix/player-account-gaming-limits-popup-2 1.49.2 → 1.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimitsPopup2-BuMVvlya.js → PlayerAccountGamingLimitsPopup2-BkyBDfvs.js} +77 -77
- package/components/{PlayerAccountGamingLimitsPopup2--_XeVVML.cjs → PlayerAccountGamingLimitsPopup2-DnalozRf.cjs} +5 -5
- package/es2015/player-account-gaming-limits-popup-2.cjs +1 -1
- package/es2015/player-account-gaming-limits-popup-2.js +1 -1
- package/package.json +1 -1
|
@@ -32,7 +32,7 @@ function te() {
|
|
|
32
32
|
function Zt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Ht() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function ue(e) {
|
|
@@ -59,14 +59,14 @@ function Yt(e, ...t) {
|
|
|
59
59
|
function Ii(e, t, i) {
|
|
60
60
|
e.$$.on_destroy.push(Yt(t, i));
|
|
61
61
|
}
|
|
62
|
-
const
|
|
62
|
+
const Hi = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
|
|
63
63
|
// @ts-ignore Node typings have this
|
|
64
64
|
global
|
|
65
65
|
);
|
|
66
66
|
function p(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function ki(e, t, i) {
|
|
70
70
|
const n = Ci(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
72
|
const r = y("style");
|
|
@@ -119,11 +119,11 @@ function Qt(e) {
|
|
|
119
119
|
function Oi(e) {
|
|
120
120
|
return Array.from(e.childNodes);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function k(e, t) {
|
|
123
123
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
124
124
|
t);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function kt(e, t) {
|
|
127
127
|
e.value = t == null ? "" : t;
|
|
128
128
|
}
|
|
129
129
|
function Ce(e, t, i, n) {
|
|
@@ -220,7 +220,7 @@ function Xi(e, t, i, n, r, o, l = null, s = [-1]) {
|
|
|
220
220
|
props: o,
|
|
221
221
|
update: te,
|
|
222
222
|
not_equal: r,
|
|
223
|
-
bound:
|
|
223
|
+
bound: Ht(),
|
|
224
224
|
// lifecycle
|
|
225
225
|
on_mount: [],
|
|
226
226
|
on_destroy: [],
|
|
@@ -229,7 +229,7 @@ function Xi(e, t, i, n, r, o, l = null, s = [-1]) {
|
|
|
229
229
|
after_update: [],
|
|
230
230
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
231
231
|
// everything else
|
|
232
|
-
callbacks:
|
|
232
|
+
callbacks: Ht(),
|
|
233
233
|
dirty: s,
|
|
234
234
|
skip_bound: !1,
|
|
235
235
|
root: t.target || u.$$.root
|
|
@@ -632,14 +632,14 @@ function We(e, t) {
|
|
|
632
632
|
}
|
|
633
633
|
e.prototype = t === null ? Object.create(t) : (i.prototype = t.prototype, new i());
|
|
634
634
|
}
|
|
635
|
-
var
|
|
636
|
-
return
|
|
635
|
+
var H = function() {
|
|
636
|
+
return H = Object.assign || function(t) {
|
|
637
637
|
for (var i, n = 1, r = arguments.length; n < r; n++) {
|
|
638
638
|
i = arguments[n];
|
|
639
639
|
for (var o in i) Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
|
|
640
640
|
}
|
|
641
641
|
return t;
|
|
642
|
-
},
|
|
642
|
+
}, H.apply(this, arguments);
|
|
643
643
|
};
|
|
644
644
|
function mn(e, t) {
|
|
645
645
|
var i = {};
|
|
@@ -913,13 +913,13 @@ function Pn(e) {
|
|
|
913
913
|
t.notation = "compact", t.compactDisplay = "long";
|
|
914
914
|
continue;
|
|
915
915
|
case "scientific":
|
|
916
|
-
t =
|
|
917
|
-
return
|
|
916
|
+
t = H(H(H({}, t), { notation: "scientific" }), r.options.reduce(function(u, a) {
|
|
917
|
+
return H(H({}, u), Rt(a));
|
|
918
918
|
}, {}));
|
|
919
919
|
continue;
|
|
920
920
|
case "engineering":
|
|
921
|
-
t =
|
|
922
|
-
return
|
|
921
|
+
t = H(H(H({}, t), { notation: "engineering" }), r.options.reduce(function(u, a) {
|
|
922
|
+
return H(H({}, u), Rt(a));
|
|
923
923
|
}, {}));
|
|
924
924
|
continue;
|
|
925
925
|
case "notation-simple":
|
|
@@ -988,17 +988,17 @@ function Pn(e) {
|
|
|
988
988
|
return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : m && b ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
989
989
|
});
|
|
990
990
|
var o = r.options[0];
|
|
991
|
-
o === "w" ? t =
|
|
991
|
+
o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), Dt(o)));
|
|
992
992
|
continue;
|
|
993
993
|
}
|
|
994
994
|
if (ui.test(r.stem)) {
|
|
995
|
-
t =
|
|
995
|
+
t = H(H({}, t), Dt(r.stem));
|
|
996
996
|
continue;
|
|
997
997
|
}
|
|
998
998
|
var l = ci(r.stem);
|
|
999
|
-
l && (t =
|
|
999
|
+
l && (t = H(H({}, t), l));
|
|
1000
1000
|
var s = Tn(r.stem);
|
|
1001
|
-
s && (t =
|
|
1001
|
+
s && (t = H(H({}, t), s));
|
|
1002
1002
|
}
|
|
1003
1003
|
return t;
|
|
1004
1004
|
}
|
|
@@ -2452,7 +2452,7 @@ var nt, Ln = new RegExp("^".concat(li.source, "*")), An = new RegExp("".concat(l
|
|
|
2452
2452
|
function A(e, t) {
|
|
2453
2453
|
return { start: e, end: t };
|
|
2454
2454
|
}
|
|
2455
|
-
var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint,
|
|
2455
|
+
var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Hn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Cn = !!String.prototype.trimStart, Nn = !!String.prototype.trimEnd, On = !!Number.isSafeInteger, Mn = On ? Number.isSafeInteger : function(e) {
|
|
2456
2456
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2457
2457
|
}, ft = !0;
|
|
2458
2458
|
try {
|
|
@@ -2485,7 +2485,7 @@ var Ut = Sn ? (
|
|
|
2485
2485
|
}
|
|
2486
2486
|
), jt = (
|
|
2487
2487
|
// native
|
|
2488
|
-
|
|
2488
|
+
Hn ? Object.fromEntries : (
|
|
2489
2489
|
// Ponyfill
|
|
2490
2490
|
function(t) {
|
|
2491
2491
|
for (var i = {}, n = 0, r = t; n < r.length; n++) {
|
|
@@ -2495,7 +2495,7 @@ var Ut = Sn ? (
|
|
|
2495
2495
|
return i;
|
|
2496
2496
|
}
|
|
2497
2497
|
)
|
|
2498
|
-
), fi =
|
|
2498
|
+
), fi = kn ? (
|
|
2499
2499
|
// Native
|
|
2500
2500
|
function(t, i) {
|
|
2501
2501
|
return t.codePointAt(i);
|
|
@@ -2800,7 +2800,7 @@ var jn = (
|
|
|
2800
2800
|
case "select": {
|
|
2801
2801
|
var P = this.clonePosition();
|
|
2802
2802
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2803
|
-
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, A(P,
|
|
2803
|
+
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, A(P, H({}, P)));
|
|
2804
2804
|
this.bumpSpace();
|
|
2805
2805
|
var R = this.parseIdentifierIfPossible(), C = 0;
|
|
2806
2806
|
if (s !== "select" && R.value === "offset") {
|
|
@@ -3029,7 +3029,7 @@ function gt(e) {
|
|
|
3029
3029
|
});
|
|
3030
3030
|
}
|
|
3031
3031
|
function Fn(e, t) {
|
|
3032
|
-
t === void 0 && (t = {}), t =
|
|
3032
|
+
t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3033
3033
|
var i = new jn(e, t).parse();
|
|
3034
3034
|
if (i.err) {
|
|
3035
3035
|
var n = SyntaxError(w[i.err.kind]);
|
|
@@ -3242,14 +3242,14 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3242
3242
|
return Kn(s);
|
|
3243
3243
|
}
|
|
3244
3244
|
function tr(e, t) {
|
|
3245
|
-
return t ?
|
|
3246
|
-
return i[n] =
|
|
3245
|
+
return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(i, n) {
|
|
3246
|
+
return i[n] = H(H({}, e[n]), t[n] || {}), i;
|
|
3247
3247
|
}, {})) : e;
|
|
3248
3248
|
}
|
|
3249
3249
|
function ir(e, t) {
|
|
3250
3250
|
return t ? Object.keys(e).reduce(function(i, n) {
|
|
3251
3251
|
return i[n] = tr(e[n], t[n]), i;
|
|
3252
|
-
},
|
|
3252
|
+
}, H({}, e)) : e;
|
|
3253
3253
|
}
|
|
3254
3254
|
function st(e) {
|
|
3255
3255
|
return {
|
|
@@ -3329,7 +3329,7 @@ var rr = (
|
|
|
3329
3329
|
var l = r || {};
|
|
3330
3330
|
l.formatters;
|
|
3331
3331
|
var s = mn(l, ["formatters"]);
|
|
3332
|
-
this.ast = e.__parse(t,
|
|
3332
|
+
this.ast = e.__parse(t, H(H({}, s), { locale: this.resolvedLocale }));
|
|
3333
3333
|
} else
|
|
3334
3334
|
this.ast = t;
|
|
3335
3335
|
if (!Array.isArray(this.ast))
|
|
@@ -3499,20 +3499,20 @@ function fr(e, t) {
|
|
|
3499
3499
|
t.map((n) => (hr(e, n), n().then((r) => r.default || r)))
|
|
3500
3500
|
).then((n) => vi(e, ...n));
|
|
3501
3501
|
}
|
|
3502
|
-
const
|
|
3502
|
+
const ke = {};
|
|
3503
3503
|
function _i(e) {
|
|
3504
3504
|
if (!bt(e))
|
|
3505
|
-
return e in
|
|
3505
|
+
return e in ke ? ke[e] : Promise.resolve();
|
|
3506
3506
|
const t = cr(e);
|
|
3507
|
-
return
|
|
3507
|
+
return ke[e] = Promise.all(
|
|
3508
3508
|
t.map(
|
|
3509
3509
|
([i, n]) => fr(i, n)
|
|
3510
3510
|
)
|
|
3511
3511
|
).then(() => {
|
|
3512
3512
|
if (bt(e))
|
|
3513
3513
|
return _i(e);
|
|
3514
|
-
delete
|
|
3515
|
-
}),
|
|
3514
|
+
delete ke[e];
|
|
3515
|
+
}), ke[e];
|
|
3516
3516
|
}
|
|
3517
3517
|
const pr = {
|
|
3518
3518
|
number: {
|
|
@@ -3666,12 +3666,12 @@ const Me = (e, t) => {
|
|
|
3666
3666
|
"locale"
|
|
3667
3667
|
]);
|
|
3668
3668
|
return Lr(Pt({ locale: i }, n));
|
|
3669
|
-
},
|
|
3669
|
+
}, Hr = Ye(
|
|
3670
3670
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3671
3671
|
(e, t = fe()) => new rr(e, t, Pe().formats, {
|
|
3672
3672
|
ignoreTag: Pe().ignoreTag
|
|
3673
3673
|
})
|
|
3674
|
-
),
|
|
3674
|
+
), kr = (e, t = {}) => {
|
|
3675
3675
|
var i, n, r, o;
|
|
3676
3676
|
let l = t;
|
|
3677
3677
|
typeof e == "object" && (l = e, e = l.id);
|
|
@@ -3695,7 +3695,7 @@ const Me = (e, t) => {
|
|
|
3695
3695
|
return h;
|
|
3696
3696
|
let f = h;
|
|
3697
3697
|
try {
|
|
3698
|
-
f =
|
|
3698
|
+
f = Hr(h, u).format(s);
|
|
3699
3699
|
} catch (m) {
|
|
3700
3700
|
m instanceof Error && console.warn(
|
|
3701
3701
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3703,7 +3703,7 @@ const Me = (e, t) => {
|
|
|
3703
3703
|
);
|
|
3704
3704
|
}
|
|
3705
3705
|
return f;
|
|
3706
|
-
}, Cr = (e, t) => Ir(t).format(e), Nr = (e, t) => Sr(t).format(e), Or = (e, t) => Ar(t).format(e), Mr = (e, t = fe()) => bi(e, t), Dr = we([Be, De], () =>
|
|
3706
|
+
}, Cr = (e, t) => Ir(t).format(e), Nr = (e, t) => Sr(t).format(e), Or = (e, t) => Ar(t).format(e), Mr = (e, t = fe()) => bi(e, t), Dr = we([Be, De], () => kr);
|
|
3707
3707
|
we([Be], () => Cr);
|
|
3708
3708
|
we([Be], () => Nr);
|
|
3709
3709
|
we([Be], () => Or);
|
|
@@ -3948,9 +3948,9 @@ const Wt = {
|
|
|
3948
3948
|
docsRequired: "Gerekli belgeler!",
|
|
3949
3949
|
kyc2: "Seçilen limit için mali durumunuzu gösteren belgelere ihtiyacımız var. Lütfen son maaş bordronuzu ve hesap bakiyenizi ve maaş ödemenizi aldığınızı gösteren güncel banka ekstrenizi yükleyin."
|
|
3950
3950
|
}
|
|
3951
|
-
}, { document: Ur } =
|
|
3951
|
+
}, { document: Ur } = Hi;
|
|
3952
3952
|
function jr(e) {
|
|
3953
|
-
|
|
3953
|
+
ki(e, "svelte-1jw4gf9", ':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(--emw--color-black, #000000);color:var(--emw--color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emw--color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}');
|
|
3954
3954
|
}
|
|
3955
3955
|
function Gr(e) {
|
|
3956
3956
|
let t;
|
|
@@ -4007,7 +4007,7 @@ function $r(e) {
|
|
|
4007
4007
|
p(r, o) {
|
|
4008
4008
|
o[0] & /*$_*/
|
|
4009
4009
|
4096 && i !== (i = /*$_*/
|
|
4010
|
-
r[12]("loading") + "") &&
|
|
4010
|
+
r[12]("loading") + "") && k(n, i);
|
|
4011
4011
|
},
|
|
4012
4012
|
d(r) {
|
|
4013
4013
|
r && v(t);
|
|
@@ -4040,11 +4040,11 @@ function zr(e) {
|
|
|
4040
4040
|
p(g, T) {
|
|
4041
4041
|
T[0] & /*$_*/
|
|
4042
4042
|
4096 && i !== (i = /*$_*/
|
|
4043
|
-
g[12]("depositError") + "") &&
|
|
4043
|
+
g[12]("depositError") + "") && k(n, i), T[0] & /*$_*/
|
|
4044
4044
|
4096 && u !== (u = /*$_*/
|
|
4045
|
-
g[12]("errorDescription") + "") &&
|
|
4045
|
+
g[12]("errorDescription") + "") && k(a, u), T[0] & /*$_*/
|
|
4046
4046
|
4096 && m !== (m = /*$_*/
|
|
4047
|
-
g[12]("closeButton") + "") &&
|
|
4047
|
+
g[12]("closeButton") + "") && k(b, m);
|
|
4048
4048
|
},
|
|
4049
4049
|
d(g) {
|
|
4050
4050
|
g && (v(t), v(r), v(o), v(l), v(s), v(h), v(f)), E = !1, _();
|
|
@@ -4094,15 +4094,15 @@ function Fr(e) {
|
|
|
4094
4094
|
p(L, G) {
|
|
4095
4095
|
G[0] & /*$_*/
|
|
4096
4096
|
4096 && i !== (i = /*$_*/
|
|
4097
|
-
L[12]("docsRequired") + "") &&
|
|
4097
|
+
L[12]("docsRequired") + "") && k(n, i), G[0] & /*$_*/
|
|
4098
4098
|
4096 && m !== (m = /*$_*/
|
|
4099
|
-
L[12]("docsRequired") + "") &&
|
|
4099
|
+
L[12]("docsRequired") + "") && k(b, m), G[0] & /*$_*/
|
|
4100
4100
|
4096 && g !== (g = /*$_*/
|
|
4101
|
-
L[12]("kyc2") + "") &&
|
|
4101
|
+
L[12]("kyc2") + "") && k(T, g), G[0] & /*$_*/
|
|
4102
4102
|
4096 && R !== (R = /*$_*/
|
|
4103
|
-
L[12]("kycButton") + "") &&
|
|
4103
|
+
L[12]("kycButton") + "") && k(C, R), G[0] & /*$_*/
|
|
4104
4104
|
4096 && O !== (O = /*$_*/
|
|
4105
|
-
L[12]("closeButton") + "") &&
|
|
4105
|
+
L[12]("closeButton") + "") && k(j, O);
|
|
4106
4106
|
},
|
|
4107
4107
|
d(L) {
|
|
4108
4108
|
L && (v(t), v(r), v(o), v(N), v(P), v(U), v(F)), S = !1, ue(W);
|
|
@@ -4161,27 +4161,27 @@ function Vr(e) {
|
|
|
4161
4161
|
p(V, $) {
|
|
4162
4162
|
$[0] & /*$_*/
|
|
4163
4163
|
4096 && i !== (i = /*$_*/
|
|
4164
|
-
V[12]("depositLimit") + "") &&
|
|
4164
|
+
V[12]("depositLimit") + "") && k(n, i), $[0] & /*$_*/
|
|
4165
4165
|
4096 && m !== (m = /*$_*/
|
|
4166
|
-
V[12]("successful") + "") &&
|
|
4166
|
+
V[12]("successful") + "") && k(b, m), $[0] & /*$_*/
|
|
4167
4167
|
4096 && g !== (g = /*$_*/
|
|
4168
|
-
V[12]("kyc1Part1") + "") &&
|
|
4169
|
-
2048 &&
|
|
4168
|
+
V[12]("kyc1Part1") + "") && k(T, g), $[0] & /*legislatorLimitValue*/
|
|
4169
|
+
2048 && k(
|
|
4170
4170
|
N,
|
|
4171
4171
|
/*legislatorLimitValue*/
|
|
4172
4172
|
V[11]
|
|
4173
4173
|
), $[0] & /*currency*/
|
|
4174
|
-
1 &&
|
|
4174
|
+
1 && k(
|
|
4175
4175
|
R,
|
|
4176
4176
|
/*currency*/
|
|
4177
4177
|
V[0]
|
|
4178
4178
|
), $[0] & /*$_*/
|
|
4179
4179
|
4096 && C !== (C = /*$_*/
|
|
4180
|
-
V[12]("kyc1Part2") + "") &&
|
|
4180
|
+
V[12]("kyc1Part2") + "") && k(U, C), $[0] & /*$_*/
|
|
4181
4181
|
4096 && j !== (j = /*$_*/
|
|
4182
|
-
V[12]("kycButton") + "") &&
|
|
4182
|
+
V[12]("kycButton") + "") && k(S, j), $[0] & /*$_*/
|
|
4183
4183
|
4096 && G !== (G = /*$_*/
|
|
4184
|
-
V[12]("closeButton") + "") &&
|
|
4184
|
+
V[12]("closeButton") + "") && k(ie, G);
|
|
4185
4185
|
},
|
|
4186
4186
|
d(V) {
|
|
4187
4187
|
V && (v(t), v(r), v(o), v(F), v(O), v(W), v(L)), ne = !1, ue(ae);
|
|
@@ -4215,11 +4215,11 @@ function Xr(e) {
|
|
|
4215
4215
|
p(j, S) {
|
|
4216
4216
|
S[0] & /*$_*/
|
|
4217
4217
|
4096 && i !== (i = /*$_*/
|
|
4218
|
-
j[12]("depositLimit") + "") &&
|
|
4218
|
+
j[12]("depositLimit") + "") && k(n, i), S[0] & /*$_*/
|
|
4219
4219
|
4096 && _ !== (_ = /*$_*/
|
|
4220
|
-
j[12]("successful") + "") &&
|
|
4220
|
+
j[12]("successful") + "") && k(g, _), S[0] & /*$_*/
|
|
4221
4221
|
4096 && P !== (P = /*$_*/
|
|
4222
|
-
j[12]("successDescription") + "") &&
|
|
4222
|
+
j[12]("successDescription") + "") && k(R, P);
|
|
4223
4223
|
},
|
|
4224
4224
|
d(j) {
|
|
4225
4225
|
j && (v(t), v(r), v(o), v(C), v(U)), F = !1, O();
|
|
@@ -4257,7 +4257,7 @@ function qr(e) {
|
|
|
4257
4257
|
), Ie, he, de = (
|
|
4258
4258
|
/*$_*/
|
|
4259
4259
|
e[12]("TClink") + ""
|
|
4260
|
-
),
|
|
4260
|
+
), He, Ue, d = (
|
|
4261
4261
|
/*$_*/
|
|
4262
4262
|
e[12]("TCpart2") + ""
|
|
4263
4263
|
), X, Q, ce, oe = (
|
|
@@ -4266,7 +4266,7 @@ function qr(e) {
|
|
|
4266
4266
|
), Qe, wt, Ke, Bt;
|
|
4267
4267
|
return {
|
|
4268
4268
|
c() {
|
|
4269
|
-
t = y("p"), n = B(i), r = M(), o = y("p"), s = B(l), u = M(), a = y("p"), f = B(h), m = M(), b = y("button"), _ = B(E), g = M(), T = y("button"), P = B(N), R = M(), C = y("button"), F = B(U), O = J("svg"), j = J("path"), S = J("path"), W = M(), L = y("div"), G = y("div"), ie = y("span"), ae = B(ne), V = M(), $ = y("div"), ee = y("input"), Re = M(), re = y("button"), Ae = B(pe), Se = M(), Y = y("p"), Ie = B(me), he = y("button"),
|
|
4269
|
+
t = y("p"), n = B(i), r = M(), o = y("p"), s = B(l), u = M(), a = y("p"), f = B(h), m = M(), b = y("button"), _ = B(E), g = M(), T = y("button"), P = B(N), R = M(), C = y("button"), F = B(U), O = J("svg"), j = J("path"), S = J("path"), W = M(), L = y("div"), G = y("div"), ie = y("span"), ae = B(ne), V = M(), $ = y("div"), ee = y("input"), Re = M(), re = y("button"), Ae = B(pe), Se = M(), Y = y("p"), Ie = B(me), he = y("button"), He = B(de), Ue = M(), X = B(d), Q = M(), ce = y("button"), Qe = B(oe), wt = B("."), c(t, "class", "Title"), c(o, "class", "Description LeftAlign"), c(b, "class", "LinkButton"), c(a, "class", "AdditionalInformation"), c(T, "class", "KeepCurrentButton PrimaryButtonStyle"), c(j, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), c(S, "d", "M0 0h36v36h-36z"), c(S, "fill", "none"), c(O, "class", "ExpandArrow"), c(O, "xmlns", "http://www.w3.org/2000/svg"), c(O, "width", "36"), c(O, "height", "36"), c(O, "viewBox", "0 0 36 36"), c(O, "fill", "#999"), je(
|
|
4270
4270
|
O,
|
|
4271
4271
|
"Extended",
|
|
4272
4272
|
/*extended*/
|
|
@@ -4279,11 +4279,11 @@ function qr(e) {
|
|
|
4279
4279
|
), c(he, "class", "LinkButton"), c(ce, "class", "LinkButton"), c(Y, "class", "TermsConditions");
|
|
4280
4280
|
},
|
|
4281
4281
|
m(I, D) {
|
|
4282
|
-
x(I, t, D), p(t, n), x(I, r, D), x(I, o, D), p(o, s), x(I, u, D), x(I, a, D), p(a, f), p(a, m), p(a, b), p(b, _), x(I, g, D), x(I, T, D), p(T, P), x(I, R, D), x(I, C, D), p(C, F), p(C, O), p(O, j), p(O, S), e[25](O), x(I, W, D), x(I, L, D), p(L, G), p(G, ie), p(ie, ae), p(L, V), p(L, $), p($, ee),
|
|
4282
|
+
x(I, t, D), p(t, n), x(I, r, D), x(I, o, D), p(o, s), x(I, u, D), x(I, a, D), p(a, f), p(a, m), p(a, b), p(b, _), x(I, g, D), x(I, T, D), p(T, P), x(I, R, D), x(I, C, D), p(C, F), p(C, O), p(O, j), p(O, S), e[25](O), x(I, W, D), x(I, L, D), p(L, G), p(G, ie), p(ie, ae), p(L, V), p(L, $), p($, ee), kt(
|
|
4283
4283
|
ee,
|
|
4284
4284
|
/*inputAmount*/
|
|
4285
4285
|
e[6]
|
|
4286
|
-
), p($, Re), p($, re), p(re, Ae), e[27](re), x(I, Se, D), x(I, Y, D), p(Y, Ie), p(Y, he), p(he,
|
|
4286
|
+
), p($, Re), p($, re), p(re, Ae), e[27](re), x(I, Se, D), x(I, Y, D), p(Y, Ie), p(Y, he), p(he, He), p(Y, Ue), p(Y, X), p(Y, Q), p(Y, ce), p(ce, Qe), p(Y, wt), Ke || (Bt = [
|
|
4287
4287
|
Z(
|
|
4288
4288
|
b,
|
|
4289
4289
|
"click",
|
|
@@ -4337,17 +4337,17 @@ function qr(e) {
|
|
|
4337
4337
|
p(I, D) {
|
|
4338
4338
|
D[0] & /*$_*/
|
|
4339
4339
|
4096 && i !== (i = /*$_*/
|
|
4340
|
-
I[12]("setLimit") + "") &&
|
|
4340
|
+
I[12]("setLimit") + "") && k(n, i), D[0] & /*$_*/
|
|
4341
4341
|
4096 && l !== (l = /*$_*/
|
|
4342
|
-
I[12]("setLimitDescription") + "") &&
|
|
4342
|
+
I[12]("setLimitDescription") + "") && k(s, l), D[0] & /*$_*/
|
|
4343
4343
|
4096 && h !== (h = /*$_*/
|
|
4344
|
-
I[12]("lugasInfo1") + "") &&
|
|
4344
|
+
I[12]("lugasInfo1") + "") && k(f, h), D[0] & /*$_*/
|
|
4345
4345
|
4096 && E !== (E = /*$_*/
|
|
4346
|
-
I[12]("lugasInfo2") + "") &&
|
|
4346
|
+
I[12]("lugasInfo2") + "") && k(_, E), D[0] & /*$_*/
|
|
4347
4347
|
4096 && N !== (N = /*$_*/
|
|
4348
|
-
I[12]("keepCurrentLimit") + "") &&
|
|
4348
|
+
I[12]("keepCurrentLimit") + "") && k(P, N), D[0] & /*$_*/
|
|
4349
4349
|
4096 && U !== (U = /*$_*/
|
|
4350
|
-
I[12]("keepCurrentLimitButton") + "") &&
|
|
4350
|
+
I[12]("keepCurrentLimitButton") + "") && k(F, U), D[0] & /*extended*/
|
|
4351
4351
|
32 && je(
|
|
4352
4352
|
O,
|
|
4353
4353
|
"Extended",
|
|
@@ -4355,15 +4355,15 @@ function qr(e) {
|
|
|
4355
4355
|
I[5]
|
|
4356
4356
|
), D[0] & /*$_*/
|
|
4357
4357
|
4096 && ne !== (ne = /*$_*/
|
|
4358
|
-
I[12]("depositPeriod") + "") &&
|
|
4358
|
+
I[12]("depositPeriod") + "") && k(ae, ne), D[0] & /*inputAmount*/
|
|
4359
4359
|
64 && Qt(ee.value) !== /*inputAmount*/
|
|
4360
|
-
I[6] &&
|
|
4360
|
+
I[6] && kt(
|
|
4361
4361
|
ee,
|
|
4362
4362
|
/*inputAmount*/
|
|
4363
4363
|
I[6]
|
|
4364
4364
|
), D[0] & /*$_*/
|
|
4365
4365
|
4096 && pe !== (pe = /*$_*/
|
|
4366
|
-
I[12]("applyButton") + "") &&
|
|
4366
|
+
I[12]("applyButton") + "") && k(Ae, pe), D[0] & /*hidden*/
|
|
4367
4367
|
16 && je(
|
|
4368
4368
|
L,
|
|
4369
4369
|
"Hidden",
|
|
@@ -4371,13 +4371,13 @@ function qr(e) {
|
|
|
4371
4371
|
I[4]
|
|
4372
4372
|
), D[0] & /*$_*/
|
|
4373
4373
|
4096 && me !== (me = /*$_*/
|
|
4374
|
-
I[12]("TCpart1") + "") &&
|
|
4374
|
+
I[12]("TCpart1") + "") && k(Ie, me), D[0] & /*$_*/
|
|
4375
4375
|
4096 && de !== (de = /*$_*/
|
|
4376
|
-
I[12]("TClink") + "") &&
|
|
4376
|
+
I[12]("TClink") + "") && k(He, de), D[0] & /*$_*/
|
|
4377
4377
|
4096 && d !== (d = /*$_*/
|
|
4378
|
-
I[12]("TCpart2") + "") &&
|
|
4378
|
+
I[12]("TCpart2") + "") && k(X, d), D[0] & /*$_*/
|
|
4379
4379
|
4096 && oe !== (oe = /*$_*/
|
|
4380
|
-
I[12]("PPlink") + "") &&
|
|
4380
|
+
I[12]("PPlink") + "") && k(Qe, oe);
|
|
4381
4381
|
},
|
|
4382
4382
|
d(I) {
|
|
4383
4383
|
I && (v(t), v(r), v(o), v(u), v(a), v(g), v(T), v(R), v(C), v(W), v(L), v(Se), v(Y)), e[25](null), e[27](null), Ke = !1, ue(Bt);
|
|
@@ -4510,7 +4510,7 @@ function Zr(e, t, i) {
|
|
|
4510
4510
|
});
|
|
4511
4511
|
}
|
|
4512
4512
|
const re = () => W("custom"), pe = () => S("termsConditions"), Ae = () => S("privacyPolicy"), Se = () => S("closePopup"), Y = () => S("uploadDocuments"), me = () => S("closePopup"), Ie = () => S("uploadDocuments"), he = () => S("closePopup"), de = () => S("closePopup");
|
|
4513
|
-
function
|
|
4513
|
+
function He(d) {
|
|
4514
4514
|
ve[d ? "unshift" : "push"](() => {
|
|
4515
4515
|
P = d, i(9, P);
|
|
4516
4516
|
});
|
|
@@ -4566,7 +4566,7 @@ function Zr(e, t, i) {
|
|
|
4566
4566
|
Ie,
|
|
4567
4567
|
he,
|
|
4568
4568
|
de,
|
|
4569
|
-
|
|
4569
|
+
He,
|
|
4570
4570
|
Ue
|
|
4571
4571
|
];
|
|
4572
4572
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";var wi=Object.defineProperty,Bi=Object.defineProperties;var Li=Object.getOwnPropertyDescriptors;var Lt=Object.getOwnPropertySymbols;var Ai=Object.prototype.hasOwnProperty,Si=Object.prototype.propertyIsEnumerable;var et=(e,t,i)=>t in e?wi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,At=(e,t)=>{for(var i in t||(t={}))Ai.call(t,i)&&et(e,i,t[i]);if(Lt)for(var i of Lt(t))Si.call(t,i)&&et(e,i,t[i]);return e},St=(e,t)=>Bi(e,Li(t));var K=(e,t,i)=>et(e,typeof t!="symbol"?t+"":t,i);var It=(e,t,i)=>new Promise((n,r)=>{var o=u=>{try{s(i.next(u))}catch(a){r(a)}},l=u=>{try{s(i.throw(u))}catch(a){r(a)}},s=u=>u.done?n(u.value):Promise.resolve(u.value).then(o,l);s((i=i.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function te(){}function Zt(e){return e()}function kt(){return Object.create(null)}function ue(e){e.forEach(Zt)}function vt(e){return typeof e=="function"}function Jt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Ii(e){return Object.keys(e).length===0}function Yt(e,...t){if(e==null){for(const n of t)n(void 0);return te}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function ki(e,t,i){e.$$.on_destroy.push(Yt(t,i))}const Hi=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(e,t){e.appendChild(t)}function Ci(e,t,i){const n=Ni(e);if(!n.getElementById(t)){const r=y("style");r.id=t,r.textContent=i,Oi(n,r)}}function Ni(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Oi(e,t){return p(e.head||e,t),t.sheet}function x(e,t,i){e.insertBefore(t,i||null)}function v(e){e.parentNode&&e.parentNode.removeChild(e)}function y(e){return document.createElement(e)}function J(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function B(e){return document.createTextNode(e)}function M(){return B(" ")}function Z(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function c(e,t,i){i==null?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function Qt(e){return e===""?null:+e}function Mi(e){return Array.from(e.childNodes)}function H(e,t){t=""+t,e.data!==t&&(e.data=t)}function Ht(e,t){e.value=t==null?"":t}function Ce(e,t,i,n){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function je(e,t,i){e.classList.toggle(t,!!i)}function Di(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let Et;function Ne(e){Et=e}const ye=[],ve=[];let Ee=[];const Ct=[],Ri=Promise.resolve();let lt=!1;function Ui(){lt||(lt=!0,Ri.then(se))}function ut(e){Ee.push(e)}const tt=new Set;let ge=0;function se(){if(ge!==0)return;const e=Et;do{try{for(;ge<ye.length;){const t=ye[ge];ge++,Ne(t),ji(t.$$)}}catch(t){throw ye.length=0,ge=0,t}for(Ne(null),ye.length=0,ge=0;ve.length;)ve.pop()();for(let t=0;t<Ee.length;t+=1){const i=Ee[t];tt.has(i)||(tt.add(i),i())}Ee.length=0}while(ye.length);for(;Ct.length;)Ct.pop()();lt=!1,tt.clear(),Ne(e)}function ji(e){if(e.fragment!==null){e.update(),ue(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ut)}}function Gi(e){const t=[],i=[];Ee.forEach(n=>e.indexOf(n)===-1?t.push(n):i.push(n)),i.forEach(n=>n()),Ee=t}const $i=new Set;function zi(e,t){e&&e.i&&($i.delete(e),e.i(t))}function Fi(e,t,i){const{fragment:n,after_update:r}=e.$$;n&&n.m(t,i),ut(()=>{const o=e.$$.on_mount.map(Zt).filter(vt);e.$$.on_destroy?e.$$.on_destroy.push(...o):ue(o),e.$$.on_mount=[]}),r.forEach(ut)}function Vi(e,t){const i=e.$$;i.fragment!==null&&(Gi(i.after_update),ue(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function Xi(e,t){e.$$.dirty[0]===-1&&(ye.push(e),Ui(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function qi(e,t,i,n,r,o,l=null,s=[-1]){const u=Et;Ne(e);const a=e.$$={fragment:null,ctx:[],props:o,update:te,not_equal:r,bound:kt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:kt(),dirty:s,skip_bound:!1,root:t.target||u.$$.root};l&&l(a.root);let h=!1;if(a.ctx=i?i(e,t.props||{},(f,m,...b)=>{const E=b.length?b[0]:m;return a.ctx&&r(a.ctx[f],a.ctx[f]=E)&&(!a.skip_bound&&a.bound[f]&&a.bound[f](E),h&&Xi(e,f)),m}):[],a.update(),h=!0,ue(a.before_update),a.fragment=n?n(a.ctx):!1,t.target){if(t.hydrate){const f=Mi(t.target);a.fragment&&a.fragment.l(f),f.forEach(v)}else a.fragment&&a.fragment.c();t.intro&&zi(e.$$.fragment),Fi(e,t.target,t.anchor),se()}Ne(u)}let Kt;typeof HTMLElement=="function"&&(Kt=class extends HTMLElement{constructor(t,i,n){super();K(this,"$$ctor");K(this,"$$s");K(this,"$$c");K(this,"$$cn",!1);K(this,"$$d",{});K(this,"$$r",!1);K(this,"$$p_d",{});K(this,"$$l",{});K(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=i,n&&this.attachShadow({mode:"open"})}addEventListener(t,i,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(i),this.$$c){const r=this.$$c.$on(t,i);this.$$l_u.set(i,r)}super.addEventListener(t,i,n)}removeEventListener(t,i,n){if(super.removeEventListener(t,i,n),this.$$c){const r=this.$$l_u.get(i);r&&(r(),this.$$l_u.delete(i))}}connectedCallback(){return It(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let l;return{c:function(){l=y("slot"),o!=="default"&&c(l,"name",o)},m:function(a,h){x(a,l,h)},d:function(a){a&&v(l)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},n=Di(this);for(const o of this.$$s)o in n&&(i[o]=[t(o)]);for(const o of this.attributes){const l=this.$$g_p(o.name);l in this.$$d||(this.$$d[l]=$e(l,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:St(At({},this.$$d),{$$slots:i,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const l=$e(o,this.$$d[o],this.$$p_d,"toAttribute");l==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,l)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const o in this.$$l)for(const l of this.$$l[o]){const s=this.$$c.$on(o,l);this.$$l_u.set(l,s)}this.$$l={}}})}attributeChangedCallback(t,i,n){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=$e(t,n,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(i=>this.$$p_d[i].attribute===t||!this.$$p_d[i].attribute&&i.toLowerCase()===t)||t}});function $e(e,t,i,n){var o;const r=(o=i[e])==null?void 0:o.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!i[e])return t;if(n==="toAttribute")switch(r){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Wi(e,t,i,n,r,o){let l=class extends Kt{constructor(){super(e,i,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(l.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(u){var a;u=$e(s,u,t),this.$$d[s]=u,(a=this.$$c)==null||a.$set({[s]:u})}})}),n.forEach(s=>{Object.defineProperty(l.prototype,s,{get(){var u;return(u=this.$$c)==null?void 0:u[s]}})}),e.element=l,l}class Zi{constructor(){K(this,"$$");K(this,"$$set")}$destroy(){Vi(this,1),this.$destroy=te}$on(t,i){if(!vt(i))return te;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(i),()=>{const r=n.indexOf(i);r!==-1&&n.splice(r,1)}}$set(t){this.$$set&&!Ii(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ji="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ji);const be=[];function Yi(e,t){return{subscribe:qe(e,t).subscribe}}function qe(e,t=te){let i;const n=new Set;function r(s){if(Jt(e,s)&&(e=s,i)){const u=!be.length;for(const a of n)a[1](),be.push(a,e);if(u){for(let a=0;a<be.length;a+=2)be[a][0](be[a+1]);be.length=0}}}function o(s){r(s(e))}function l(s,u=te){const a=[s,u];return n.add(a),n.size===1&&(i=t(r,o)||te),s(e),()=>{n.delete(a),n.size===0&&i&&(i(),i=null)}}return{set:r,update:o,subscribe:l}}function we(e,t,i){const n=!Array.isArray(e),r=n?[e]:e;if(!r.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Yi(i,(l,s)=>{let u=!1;const a=[];let h=0,f=te;const m=()=>{if(h)return;f();const E=t(n?a[0]:a,l,s);o?l(E):f=vt(E)?E:te},b=r.map((E,_)=>Yt(E,g=>{a[_]=g,h&=~(1<<_),u&&m()},()=>{h|=1<<_}));return u=!0,m(),function(){ue(b),f(),u=!1}})}function Qi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ki=function(t){return en(t)&&!tn(t)};function en(e){return!!e&&typeof e=="object"}function tn(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||on(e)}var nn=typeof Symbol=="function"&&Symbol.for,rn=nn?Symbol.for("react.element"):60103;function on(e){return e.$$typeof===rn}function sn(e){return Array.isArray(e)?[]:{}}function Oe(e,t){return t.clone!==!1&&t.isMergeableObject(e)?_e(sn(e),e,t):e}function an(e,t,i){return e.concat(t).map(function(n){return Oe(n,i)})}function ln(e,t){if(!t.customMerge)return _e;var i=t.customMerge(e);return typeof i=="function"?i:_e}function un(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Nt(e){return Object.keys(e).concat(un(e))}function ei(e,t){try{return t in e}catch(i){return!1}}function hn(e,t){return ei(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function cn(e,t,i){var n={};return i.isMergeableObject(e)&&Nt(e).forEach(function(r){n[r]=Oe(e[r],i)}),Nt(t).forEach(function(r){hn(e,r)||(ei(e,r)&&i.isMergeableObject(t[r])?n[r]=ln(r,i)(e[r],t[r],i):n[r]=Oe(t[r],i))}),n}function _e(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||an,i.isMergeableObject=i.isMergeableObject||Ki,i.cloneUnlessOtherwiseSpecified=Oe;var n=Array.isArray(t),r=Array.isArray(e),o=n===r;return o?n?i.arrayMerge(e,t,i):cn(e,t,i):Oe(t,i)}_e.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,r){return _e(n,r,i)},{})};var fn=_e,pn=fn;const mn=Qi(pn);var ht=function(e,t){return ht=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(i[r]=n[r])},ht(e,t)};function We(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ht(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var k=function(){return k=Object.assign||function(t){for(var i,n=1,r=arguments.length;n<r;n++){i=arguments[n];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},k.apply(this,arguments)};function dn(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]]);return i}function it(e,t,i){if(i||arguments.length===2)for(var n=0,r=t.length,o;n<r;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}var w;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(w||(w={}));var z;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(z||(z={}));var xe;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(xe||(xe={}));function Ot(e){return e.type===z.literal}function gn(e){return e.type===z.argument}function ti(e){return e.type===z.number}function ii(e){return e.type===z.date}function ni(e){return e.type===z.time}function ri(e){return e.type===z.select}function oi(e){return e.type===z.plural}function bn(e){return e.type===z.pound}function si(e){return e.type===z.tag}function ai(e){return!!(e&&typeof e=="object"&&e.type===xe.number)}function ct(e){return!!(e&&typeof e=="object"&&e.type===xe.dateTime)}var li=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,yn=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function vn(e){var t={};return e.replace(yn,function(i){var n=i.length;switch(i[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var En=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function _n(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(En).filter(function(m){return m.length>0}),i=[],n=0,r=t;n<r.length;n++){var o=r[n],l=o.split("/");if(l.length===0)throw new Error("Invalid number skeleton");for(var s=l[0],u=l.slice(1),a=0,h=u;a<h.length;a++){var f=h[a];if(f.length===0)throw new Error("Invalid number skeleton")}i.push({stem:s,options:u})}return i}function xn(e){return e.replace(/^(.*?)-/,"")}var Mt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ui=/^(@+)?(\+|#+)?[rs]?$/g,Tn=/(\*)(0+)|(#+)(0+)|(0+)/g,hi=/^(0+)$/;function Dt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(ui,function(i,n,r){return typeof r!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):r==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof r=="string"?r.length:0)),""}),t}function ci(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 Pn(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var i=e.slice(0,2);if(i==="+!"?(t.signDisplay="always",e=e.slice(2)):i==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!hi.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Rt(e){var t={},i=ci(e);return i||t}function wn(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i];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=xn(r.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=k(k(k({},t),{notation:"scientific"}),r.options.reduce(function(u,a){return k(k({},u),Rt(a))},{}));continue;case"engineering":t=k(k(k({},t),{notation:"engineering"}),r.options.reduce(function(u,a){return k(k({},u),Rt(a))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Tn,function(u,a,h,f,m,b){if(a)t.minimumIntegerDigits=h.length;else{if(f&&m)throw new Error("We currently do not support maximum integer digits");if(b)throw new Error("We currently do not support exact integer digits")}return""});continue}if(hi.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(Mt.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Mt,function(u,a,h,f,m,b){return h==="*"?t.minimumFractionDigits=a.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:m&&b?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+b.length):(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length),""});var o=r.options[0];o==="w"?t=k(k({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=k(k({},t),Dt(o)));continue}if(ui.test(r.stem)){t=k(k({},t),Dt(r.stem));continue}var l=ci(r.stem);l&&(t=k(k({},t),l));var s=Pn(r.stem);s&&(t=k(k({},t),s))}return t}var Ge={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Bn(e,t){for(var i="",n=0;n<e.length;n++){var r=e.charAt(n);if(r==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===r;)o++,n++;var l=1+(o&1),s=o<2?1:3+(o>>1),u="a",a=Ln(t);for((a=="H"||a=="k")&&(s=0);s-- >0;)i+=u;for(;l-- >0;)i=a+i}else r==="J"?i+="H":i+=r}return i}function Ln(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i=e.language,n;i!=="root"&&(n=e.maximize().region);var r=Ge[n||""]||Ge[i||""]||Ge["".concat(i,"-001")]||Ge["001"];return r[0]}var nt,An=new RegExp("^".concat(li.source,"*")),Sn=new RegExp("".concat(li.source,"*$"));function A(e,t){return{start:e,end:t}}var In=!!String.prototype.startsWith&&"_a".startsWith("a",1),kn=!!String.fromCodePoint,Hn=!!Object.fromEntries,Cn=!!String.prototype.codePointAt,Nn=!!String.prototype.trimStart,On=!!String.prototype.trimEnd,Mn=!!Number.isSafeInteger,Dn=Mn?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ft=!0;try{var Rn=pi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ft=((nt=Rn.exec("a"))===null||nt===void 0?void 0:nt[0])==="a"}catch(e){ft=!1}var Ut=In?function(t,i,n){return t.startsWith(i,n)}:function(t,i,n){return t.slice(n,n+i.length)===i},pt=kn?String.fromCodePoint:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var n="",r=t.length,o=0,l;r>o;){if(l=t[o++],l>1114111)throw RangeError(l+" is not a valid code point");n+=l<65536?String.fromCharCode(l):String.fromCharCode(((l-=65536)>>10)+55296,l%1024+56320)}return n},jt=Hn?Object.fromEntries:function(t){for(var i={},n=0,r=t;n<r.length;n++){var o=r[n],l=o[0],s=o[1];i[l]=s}return i},fi=Cn?function(t,i){return t.codePointAt(i)}:function(t,i){var n=t.length;if(!(i<0||i>=n)){var r=t.charCodeAt(i),o;return r<55296||r>56319||i+1===n||(o=t.charCodeAt(i+1))<56320||o>57343?r:(r-55296<<10)+(o-56320)+65536}},Un=Nn?function(t){return t.trimStart()}:function(t){return t.replace(An,"")},jn=On?function(t){return t.trimEnd()}:function(t){return t.replace(Sn,"")};function pi(e,t){return new RegExp(e,t)}var mt;if(ft){var Gt=pi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");mt=function(t,i){var n;Gt.lastIndex=i;var r=Gt.exec(t);return(n=r[1])!==null&&n!==void 0?n:""}}else mt=function(t,i){for(var n=[];;){var r=fi(t,i);if(r===void 0||mi(r)||Fn(r))break;n.push(r),i+=r>=65536?2:1}return pt.apply(void 0,n)};var Gn=function(){function e(t,i){i===void 0&&(i={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!i.ignoreTag,this.locale=i.locale,this.requiresOtherClause=!!i.requiresOtherClause,this.shouldParseSkeletons=!!i.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,i,n){for(var r=[];!this.isEOF();){var o=this.char();if(o===123){var l=this.parseArgument(t,n);if(l.err)return l;r.push(l.val)}else{if(o===125&&t>0)break;if(o===35&&(i==="plural"||i==="selectordinal")){var s=this.clonePosition();this.bump(),r.push({type:z.pound,location:A(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(w.UNMATCHED_CLOSING_TAG,A(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&dt(this.peek()||0)){var l=this.parseTag(t,i);if(l.err)return l;r.push(l.val)}else{var l=this.parseLiteral(t,i);if(l.err)return l;r.push(l.val)}}}return{val:r,err:null}},e.prototype.parseTag=function(t,i){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:z.literal,value:"<".concat(r,"/>"),location:A(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,i,!0);if(o.err)return o;var l=o.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!dt(this.char()))return this.error(w.INVALID_TAG,A(s,this.clonePosition()));var u=this.clonePosition(),a=this.parseTagName();return r!==a?this.error(w.UNMATCHED_CLOSING_TAG,A(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:z.tag,value:r,children:l,location:A(n,this.clonePosition())},err:null}:this.error(w.INVALID_TAG,A(s,this.clonePosition())))}else return this.error(w.UNCLOSED_TAG,A(n,this.clonePosition()))}else return this.error(w.INVALID_TAG,A(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&zn(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,i){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(i);if(o){r+=o;continue}var l=this.tryParseUnquoted(t,i);if(l){r+=l;continue}var s=this.tryParseLeftAngleBracket();if(s){r+=s;continue}break}var u=A(n,this.clonePosition());return{val:{type:z.literal,value:r,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!$n(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var i=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)i.push(39),this.bump();else{this.bump();break}else i.push(n);this.bump()}return pt.apply(void 0,i)},e.prototype.tryParseUnquoted=function(t,i){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(i==="plural"||i==="selectordinal")||n===125&&t>0?null:(this.bump(),pt(n))},e.prototype.parseArgument=function(t,i){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,A(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(w.EMPTY_ARGUMENT,A(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(w.MALFORMED_ARGUMENT,A(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,A(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:z.argument,value:r,location:A(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,A(n,this.clonePosition())):this.parseArgumentOptions(t,i,r,n);default:return this.error(w.MALFORMED_ARGUMENT,A(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),n=mt(this.message,i),r=i+n.length;this.bumpTo(r);var o=this.clonePosition(),l=A(t,o);return{value:n,location:l}},e.prototype.parseArgumentOptions=function(t,i,n,r){var o,l=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(w.EXPECT_ARGUMENT_TYPE,A(l,u));case"number":case"date":case"time":{this.bumpSpace();var a=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var m=jn(f.val);if(m.length===0)return this.error(w.EXPECT_ARGUMENT_STYLE,A(this.clonePosition(),this.clonePosition()));var b=A(h,this.clonePosition());a={style:m,styleLocation:b}}var E=this.tryParseArgumentClose(r);if(E.err)return E;var _=A(r,this.clonePosition());if(a&&Ut(a==null?void 0:a.style,"::",0)){var g=Un(a.style.slice(2));if(s==="number"){var f=this.parseNumberSkeletonFromString(g,a.styleLocation);return f.err?f:{val:{type:z.number,value:n,location:_,style:f.val},err:null}}else{if(g.length===0)return this.error(w.EXPECT_DATE_TIME_SKELETON,_);var T=g;this.locale&&(T=Bn(g,this.locale));var m={type:xe.dateTime,pattern:T,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?vn(T):{}},N=s==="date"?z.date:z.time;return{val:{type:N,value:n,location:_,style:m},err:null}}}return{val:{type:s==="number"?z.number:s==="date"?z.date:z.time,value:n,location:_,style:(o=a==null?void 0:a.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var P=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS,A(P,k({},P)));this.bumpSpace();var R=this.parseIdentifierIfPossible(),C=0;if(s!=="select"&&R.value==="offset"){if(!this.bumpIf(":"))return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,A(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),R=this.parseIdentifierIfPossible(),C=f.val}var U=this.tryParsePluralOrSelectOptions(t,s,i,R);if(U.err)return U;var E=this.tryParseArgumentClose(r);if(E.err)return E;var F=A(r,this.clonePosition());return s==="select"?{val:{type:z.select,value:n,options:jt(U.val),location:F},err:null}:{val:{type:z.plural,value:n,options:jt(U.val),offset:C,pluralType:s==="plural"?"cardinal":"ordinal",location:F},err:null}}default:return this.error(w.INVALID_ARGUMENT_TYPE,A(l,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,A(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,i=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,A(r,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(i.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(i.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,i){var n=[];try{n=_n(t)}catch(r){return this.error(w.INVALID_NUMBER_SKELETON,i)}return{val:{type:xe.number,tokens:n,location:i,parsedOptions:this.shouldParseSkeletons?wn(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,i,n,r){for(var o,l=!1,s=[],u=new Set,a=r.value,h=r.location;;){if(a.length===0){var f=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR,w.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;h=A(f,this.clonePosition()),a=this.message.slice(f.offset,this.offset())}else break}if(u.has(a))return this.error(i==="select"?w.DUPLICATE_SELECT_ARGUMENT_SELECTOR:w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);a==="other"&&(l=!0),this.bumpSpace();var b=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,A(this.clonePosition(),this.clonePosition()));var E=this.parseMessage(t+1,i,n);if(E.err)return E;var _=this.tryParseArgumentClose(b);if(_.err)return _;s.push([a,{value:E.val,location:A(b,this.clonePosition())}]),u.add(a),this.bumpSpace(),o=this.parseIdentifierIfPossible(),a=o.value,h=o.location}return s.length===0?this.error(i==="select"?w.EXPECT_SELECT_ARGUMENT_SELECTOR:w.EXPECT_PLURAL_ARGUMENT_SELECTOR,A(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!l?this.error(w.MISSING_OTHER_CLAUSE,A(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,i){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,l=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,l=l*10+(s-48),this.bump();else break}var u=A(r,this.clonePosition());return o?(l*=n,Dn(l)?{val:l,err:null}:this.error(i,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var i=fi(this.message,t);if(i===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return i},e.prototype.error=function(t,i){return{val:null,err:{kind:t,message:this.message,location:i}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ut(this.message,t,this.offset())){for(var i=0;i<t.length;i++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var i=this.offset(),n=this.message.indexOf(t,i);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var i=this.offset();if(i===t)break;if(i>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&mi(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),i=this.offset(),n=this.message.charCodeAt(i+(t>=65536?2:1));return n!=null?n:null},e}();function dt(e){return e>=97&&e<=122||e>=65&&e<=90}function $n(e){return dt(e)||e===47}function zn(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function mi(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Fn(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function gt(e){e.forEach(function(t){if(delete t.location,ri(t)||oi(t))for(var i in t.options)delete t.options[i].location,gt(t.options[i].value);else ti(t)&&ai(t.style)||(ii(t)||ni(t))&&ct(t.style)?delete t.style.location:si(t)&>(t.children)})}function Vn(e,t){t===void 0&&(t={}),t=k({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new Gn(e,t).parse();if(i.err){var n=SyntaxError(w[i.err.kind]);throw n.location=i.err.location,n.originalMessage=i.err.message,n}return t!=null&&t.captureLocation||gt(i.val),i.val}function rt(e,t){var i=t&&t.cache?t.cache:Yn,n=t&&t.serializer?t.serializer:Jn,r=t&&t.strategy?t.strategy:qn;return r(e,{cache:i,serializer:n})}function Xn(e){return e==null||typeof e=="number"||typeof e=="boolean"}function di(e,t,i,n){var r=Xn(n)?n:i(n),o=t.get(r);return typeof o=="undefined"&&(o=e.call(this,n),t.set(r,o)),o}function gi(e,t,i){var n=Array.prototype.slice.call(arguments,3),r=i(n),o=t.get(r);return typeof o=="undefined"&&(o=e.apply(this,n),t.set(r,o)),o}function _t(e,t,i,n,r){return i.bind(t,e,n,r)}function qn(e,t){var i=e.length===1?di:gi;return _t(e,this,i,t.cache.create(),t.serializer)}function Wn(e,t){return _t(e,this,gi,t.cache.create(),t.serializer)}function Zn(e,t){return _t(e,this,di,t.cache.create(),t.serializer)}var Jn=function(){return JSON.stringify(arguments)};function xt(){this.cache=Object.create(null)}xt.prototype.get=function(e){return this.cache[e]};xt.prototype.set=function(e,t){this.cache[e]=t};var Yn={create:function(){return new xt}},ot={variadic:Wn,monadic:Zn},Te;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Te||(Te={}));var Ze=function(e){We(t,e);function t(i,n,r){var o=e.call(this,i)||this;return o.code=n,o.originalMessage=r,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),$t=function(e){We(t,e);function t(i,n,r,o){return e.call(this,'Invalid values for "'.concat(i,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Te.INVALID_VALUE,o)||this}return t}(Ze),Qn=function(e){We(t,e);function t(i,n,r){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(n),Te.INVALID_VALUE,r)||this}return t}(Ze),Kn=function(e){We(t,e);function t(i,n){return e.call(this,'The intl string context variable "'.concat(i,'" was not provided to the string "').concat(n,'"'),Te.MISSING_VALUE,n)||this}return t}(Ze),q;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(q||(q={}));function er(e){return e.length<2?e:e.reduce(function(t,i){var n=t[t.length-1];return!n||n.type!==q.literal||i.type!==q.literal?t.push(i):n.value+=i.value,t},[])}function tr(e){return typeof e=="function"}function ze(e,t,i,n,r,o,l){if(e.length===1&&Ot(e[0]))return[{type:q.literal,value:e[0].value}];for(var s=[],u=0,a=e;u<a.length;u++){var h=a[u];if(Ot(h)){s.push({type:q.literal,value:h.value});continue}if(bn(h)){typeof o=="number"&&s.push({type:q.literal,value:i.getNumberFormat(t).format(o)});continue}var f=h.value;if(!(r&&f in r))throw new Kn(f,l);var m=r[f];if(gn(h)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),s.push({type:typeof m=="string"?q.literal:q.object,value:m});continue}if(ii(h)){var b=typeof h.style=="string"?n.date[h.style]:ct(h.style)?h.style.parsedOptions:void 0;s.push({type:q.literal,value:i.getDateTimeFormat(t,b).format(m)});continue}if(ni(h)){var b=typeof h.style=="string"?n.time[h.style]:ct(h.style)?h.style.parsedOptions:n.time.medium;s.push({type:q.literal,value:i.getDateTimeFormat(t,b).format(m)});continue}if(ti(h)){var b=typeof h.style=="string"?n.number[h.style]:ai(h.style)?h.style.parsedOptions:void 0;b&&b.scale&&(m=m*(b.scale||1)),s.push({type:q.literal,value:i.getNumberFormat(t,b).format(m)});continue}if(si(h)){var E=h.children,_=h.value,g=r[_];if(!tr(g))throw new Qn(_,"function",l);var T=ze(E,t,i,n,r,o),N=g(T.map(function(C){return C.value}));Array.isArray(N)||(N=[N]),s.push.apply(s,N.map(function(C){return{type:typeof C=="string"?q.literal:q.object,value:C}}))}if(ri(h)){var P=h.options[m]||h.options.other;if(!P)throw new $t(h.value,m,Object.keys(h.options),l);s.push.apply(s,ze(P.value,t,i,n,r));continue}if(oi(h)){var P=h.options["=".concat(m)];if(!P){if(!Intl.PluralRules)throw new Ze(`Intl.PluralRules is not available in this environment.
|
|
1
|
+
"use strict";var wi=Object.defineProperty,Bi=Object.defineProperties;var Li=Object.getOwnPropertyDescriptors;var Lt=Object.getOwnPropertySymbols;var Ai=Object.prototype.hasOwnProperty,Si=Object.prototype.propertyIsEnumerable;var et=(e,t,i)=>t in e?wi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,At=(e,t)=>{for(var i in t||(t={}))Ai.call(t,i)&&et(e,i,t[i]);if(Lt)for(var i of Lt(t))Si.call(t,i)&&et(e,i,t[i]);return e},St=(e,t)=>Bi(e,Li(t));var K=(e,t,i)=>et(e,typeof t!="symbol"?t+"":t,i);var It=(e,t,i)=>new Promise((n,r)=>{var o=u=>{try{s(i.next(u))}catch(a){r(a)}},l=u=>{try{s(i.throw(u))}catch(a){r(a)}},s=u=>u.done?n(u.value):Promise.resolve(u.value).then(o,l);s((i=i.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function te(){}function Zt(e){return e()}function Ht(){return Object.create(null)}function ue(e){e.forEach(Zt)}function vt(e){return typeof e=="function"}function Jt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Ii(e){return Object.keys(e).length===0}function Yt(e,...t){if(e==null){for(const n of t)n(void 0);return te}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function Hi(e,t,i){e.$$.on_destroy.push(Yt(t,i))}const ki=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(e,t){e.appendChild(t)}function Ci(e,t,i){const n=Ni(e);if(!n.getElementById(t)){const r=y("style");r.id=t,r.textContent=i,Oi(n,r)}}function Ni(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Oi(e,t){return p(e.head||e,t),t.sheet}function x(e,t,i){e.insertBefore(t,i||null)}function v(e){e.parentNode&&e.parentNode.removeChild(e)}function y(e){return document.createElement(e)}function J(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function B(e){return document.createTextNode(e)}function M(){return B(" ")}function Z(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function c(e,t,i){i==null?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function Qt(e){return e===""?null:+e}function Mi(e){return Array.from(e.childNodes)}function k(e,t){t=""+t,e.data!==t&&(e.data=t)}function kt(e,t){e.value=t==null?"":t}function Ce(e,t,i,n){i==null?e.style.removeProperty(t):e.style.setProperty(t,i,"")}function je(e,t,i){e.classList.toggle(t,!!i)}function Di(e){const t={};return e.childNodes.forEach(i=>{t[i.slot||"default"]=!0}),t}let Et;function Ne(e){Et=e}const ye=[],ve=[];let Ee=[];const Ct=[],Ri=Promise.resolve();let lt=!1;function Ui(){lt||(lt=!0,Ri.then(se))}function ut(e){Ee.push(e)}const tt=new Set;let ge=0;function se(){if(ge!==0)return;const e=Et;do{try{for(;ge<ye.length;){const t=ye[ge];ge++,Ne(t),ji(t.$$)}}catch(t){throw ye.length=0,ge=0,t}for(Ne(null),ye.length=0,ge=0;ve.length;)ve.pop()();for(let t=0;t<Ee.length;t+=1){const i=Ee[t];tt.has(i)||(tt.add(i),i())}Ee.length=0}while(ye.length);for(;Ct.length;)Ct.pop()();lt=!1,tt.clear(),Ne(e)}function ji(e){if(e.fragment!==null){e.update(),ue(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ut)}}function Gi(e){const t=[],i=[];Ee.forEach(n=>e.indexOf(n)===-1?t.push(n):i.push(n)),i.forEach(n=>n()),Ee=t}const $i=new Set;function zi(e,t){e&&e.i&&($i.delete(e),e.i(t))}function Fi(e,t,i){const{fragment:n,after_update:r}=e.$$;n&&n.m(t,i),ut(()=>{const o=e.$$.on_mount.map(Zt).filter(vt);e.$$.on_destroy?e.$$.on_destroy.push(...o):ue(o),e.$$.on_mount=[]}),r.forEach(ut)}function Vi(e,t){const i=e.$$;i.fragment!==null&&(Gi(i.after_update),ue(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function Xi(e,t){e.$$.dirty[0]===-1&&(ye.push(e),Ui(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function qi(e,t,i,n,r,o,l=null,s=[-1]){const u=Et;Ne(e);const a=e.$$={fragment:null,ctx:[],props:o,update:te,not_equal:r,bound:Ht(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:Ht(),dirty:s,skip_bound:!1,root:t.target||u.$$.root};l&&l(a.root);let h=!1;if(a.ctx=i?i(e,t.props||{},(f,m,...b)=>{const E=b.length?b[0]:m;return a.ctx&&r(a.ctx[f],a.ctx[f]=E)&&(!a.skip_bound&&a.bound[f]&&a.bound[f](E),h&&Xi(e,f)),m}):[],a.update(),h=!0,ue(a.before_update),a.fragment=n?n(a.ctx):!1,t.target){if(t.hydrate){const f=Mi(t.target);a.fragment&&a.fragment.l(f),f.forEach(v)}else a.fragment&&a.fragment.c();t.intro&&zi(e.$$.fragment),Fi(e,t.target,t.anchor),se()}Ne(u)}let Kt;typeof HTMLElement=="function"&&(Kt=class extends HTMLElement{constructor(t,i,n){super();K(this,"$$ctor");K(this,"$$s");K(this,"$$c");K(this,"$$cn",!1);K(this,"$$d",{});K(this,"$$r",!1);K(this,"$$p_d",{});K(this,"$$l",{});K(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=i,n&&this.attachShadow({mode:"open"})}addEventListener(t,i,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(i),this.$$c){const r=this.$$c.$on(t,i);this.$$l_u.set(i,r)}super.addEventListener(t,i,n)}removeEventListener(t,i,n){if(super.removeEventListener(t,i,n),this.$$c){const r=this.$$l_u.get(i);r&&(r(),this.$$l_u.delete(i))}}connectedCallback(){return It(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let l;return{c:function(){l=y("slot"),o!=="default"&&c(l,"name",o)},m:function(a,h){x(a,l,h)},d:function(a){a&&v(l)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},n=Di(this);for(const o of this.$$s)o in n&&(i[o]=[t(o)]);for(const o of this.attributes){const l=this.$$g_p(o.name);l in this.$$d||(this.$$d[l]=$e(l,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:St(At({},this.$$d),{$$slots:i,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const l=$e(o,this.$$d[o],this.$$p_d,"toAttribute");l==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,l)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const o in this.$$l)for(const l of this.$$l[o]){const s=this.$$c.$on(o,l);this.$$l_u.set(l,s)}this.$$l={}}})}attributeChangedCallback(t,i,n){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=$e(t,n,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(i=>this.$$p_d[i].attribute===t||!this.$$p_d[i].attribute&&i.toLowerCase()===t)||t}});function $e(e,t,i,n){var o;const r=(o=i[e])==null?void 0:o.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!i[e])return t;if(n==="toAttribute")switch(r){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Wi(e,t,i,n,r,o){let l=class extends Kt{constructor(){super(e,i,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(l.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(u){var a;u=$e(s,u,t),this.$$d[s]=u,(a=this.$$c)==null||a.$set({[s]:u})}})}),n.forEach(s=>{Object.defineProperty(l.prototype,s,{get(){var u;return(u=this.$$c)==null?void 0:u[s]}})}),e.element=l,l}class Zi{constructor(){K(this,"$$");K(this,"$$set")}$destroy(){Vi(this,1),this.$destroy=te}$on(t,i){if(!vt(i))return te;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(i),()=>{const r=n.indexOf(i);r!==-1&&n.splice(r,1)}}$set(t){this.$$set&&!Ii(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ji="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ji);const be=[];function Yi(e,t){return{subscribe:qe(e,t).subscribe}}function qe(e,t=te){let i;const n=new Set;function r(s){if(Jt(e,s)&&(e=s,i)){const u=!be.length;for(const a of n)a[1](),be.push(a,e);if(u){for(let a=0;a<be.length;a+=2)be[a][0](be[a+1]);be.length=0}}}function o(s){r(s(e))}function l(s,u=te){const a=[s,u];return n.add(a),n.size===1&&(i=t(r,o)||te),s(e),()=>{n.delete(a),n.size===0&&i&&(i(),i=null)}}return{set:r,update:o,subscribe:l}}function we(e,t,i){const n=!Array.isArray(e),r=n?[e]:e;if(!r.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Yi(i,(l,s)=>{let u=!1;const a=[];let h=0,f=te;const m=()=>{if(h)return;f();const E=t(n?a[0]:a,l,s);o?l(E):f=vt(E)?E:te},b=r.map((E,_)=>Yt(E,g=>{a[_]=g,h&=~(1<<_),u&&m()},()=>{h|=1<<_}));return u=!0,m(),function(){ue(b),f(),u=!1}})}function Qi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ki=function(t){return en(t)&&!tn(t)};function en(e){return!!e&&typeof e=="object"}function tn(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||on(e)}var nn=typeof Symbol=="function"&&Symbol.for,rn=nn?Symbol.for("react.element"):60103;function on(e){return e.$$typeof===rn}function sn(e){return Array.isArray(e)?[]:{}}function Oe(e,t){return t.clone!==!1&&t.isMergeableObject(e)?_e(sn(e),e,t):e}function an(e,t,i){return e.concat(t).map(function(n){return Oe(n,i)})}function ln(e,t){if(!t.customMerge)return _e;var i=t.customMerge(e);return typeof i=="function"?i:_e}function un(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Nt(e){return Object.keys(e).concat(un(e))}function ei(e,t){try{return t in e}catch(i){return!1}}function hn(e,t){return ei(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function cn(e,t,i){var n={};return i.isMergeableObject(e)&&Nt(e).forEach(function(r){n[r]=Oe(e[r],i)}),Nt(t).forEach(function(r){hn(e,r)||(ei(e,r)&&i.isMergeableObject(t[r])?n[r]=ln(r,i)(e[r],t[r],i):n[r]=Oe(t[r],i))}),n}function _e(e,t,i){i=i||{},i.arrayMerge=i.arrayMerge||an,i.isMergeableObject=i.isMergeableObject||Ki,i.cloneUnlessOtherwiseSpecified=Oe;var n=Array.isArray(t),r=Array.isArray(e),o=n===r;return o?n?i.arrayMerge(e,t,i):cn(e,t,i):Oe(t,i)}_e.all=function(t,i){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,r){return _e(n,r,i)},{})};var fn=_e,pn=fn;const mn=Qi(pn);var ht=function(e,t){return ht=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(i[r]=n[r])},ht(e,t)};function We(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ht(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}var H=function(){return H=Object.assign||function(t){for(var i,n=1,r=arguments.length;n<r;n++){i=arguments[n];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t},H.apply(this,arguments)};function dn(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]]);return i}function it(e,t,i){if(i||arguments.length===2)for(var n=0,r=t.length,o;n<r;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}var w;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(w||(w={}));var z;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(z||(z={}));var xe;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(xe||(xe={}));function Ot(e){return e.type===z.literal}function gn(e){return e.type===z.argument}function ti(e){return e.type===z.number}function ii(e){return e.type===z.date}function ni(e){return e.type===z.time}function ri(e){return e.type===z.select}function oi(e){return e.type===z.plural}function bn(e){return e.type===z.pound}function si(e){return e.type===z.tag}function ai(e){return!!(e&&typeof e=="object"&&e.type===xe.number)}function ct(e){return!!(e&&typeof e=="object"&&e.type===xe.dateTime)}var li=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,yn=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function vn(e){var t={};return e.replace(yn,function(i){var n=i.length;switch(i[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var En=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function _n(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(En).filter(function(m){return m.length>0}),i=[],n=0,r=t;n<r.length;n++){var o=r[n],l=o.split("/");if(l.length===0)throw new Error("Invalid number skeleton");for(var s=l[0],u=l.slice(1),a=0,h=u;a<h.length;a++){var f=h[a];if(f.length===0)throw new Error("Invalid number skeleton")}i.push({stem:s,options:u})}return i}function xn(e){return e.replace(/^(.*?)-/,"")}var Mt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ui=/^(@+)?(\+|#+)?[rs]?$/g,Tn=/(\*)(0+)|(#+)(0+)|(0+)/g,hi=/^(0+)$/;function Dt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(ui,function(i,n,r){return typeof r!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):r==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof r=="string"?r.length:0)),""}),t}function ci(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 Pn(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var i=e.slice(0,2);if(i==="+!"?(t.signDisplay="always",e=e.slice(2)):i==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!hi.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Rt(e){var t={},i=ci(e);return i||t}function wn(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i];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=xn(r.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=H(H(H({},t),{notation:"scientific"}),r.options.reduce(function(u,a){return H(H({},u),Rt(a))},{}));continue;case"engineering":t=H(H(H({},t),{notation:"engineering"}),r.options.reduce(function(u,a){return H(H({},u),Rt(a))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Tn,function(u,a,h,f,m,b){if(a)t.minimumIntegerDigits=h.length;else{if(f&&m)throw new Error("We currently do not support maximum integer digits");if(b)throw new Error("We currently do not support exact integer digits")}return""});continue}if(hi.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(Mt.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Mt,function(u,a,h,f,m,b){return h==="*"?t.minimumFractionDigits=a.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:m&&b?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+b.length):(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length),""});var o=r.options[0];o==="w"?t=H(H({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=H(H({},t),Dt(o)));continue}if(ui.test(r.stem)){t=H(H({},t),Dt(r.stem));continue}var l=ci(r.stem);l&&(t=H(H({},t),l));var s=Pn(r.stem);s&&(t=H(H({},t),s))}return t}var Ge={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Bn(e,t){for(var i="",n=0;n<e.length;n++){var r=e.charAt(n);if(r==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===r;)o++,n++;var l=1+(o&1),s=o<2?1:3+(o>>1),u="a",a=Ln(t);for((a=="H"||a=="k")&&(s=0);s-- >0;)i+=u;for(;l-- >0;)i=a+i}else r==="J"?i+="H":i+=r}return i}function Ln(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i=e.language,n;i!=="root"&&(n=e.maximize().region);var r=Ge[n||""]||Ge[i||""]||Ge["".concat(i,"-001")]||Ge["001"];return r[0]}var nt,An=new RegExp("^".concat(li.source,"*")),Sn=new RegExp("".concat(li.source,"*$"));function A(e,t){return{start:e,end:t}}var In=!!String.prototype.startsWith&&"_a".startsWith("a",1),Hn=!!String.fromCodePoint,kn=!!Object.fromEntries,Cn=!!String.prototype.codePointAt,Nn=!!String.prototype.trimStart,On=!!String.prototype.trimEnd,Mn=!!Number.isSafeInteger,Dn=Mn?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ft=!0;try{var Rn=pi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ft=((nt=Rn.exec("a"))===null||nt===void 0?void 0:nt[0])==="a"}catch(e){ft=!1}var Ut=In?function(t,i,n){return t.startsWith(i,n)}:function(t,i,n){return t.slice(n,n+i.length)===i},pt=Hn?String.fromCodePoint:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var n="",r=t.length,o=0,l;r>o;){if(l=t[o++],l>1114111)throw RangeError(l+" is not a valid code point");n+=l<65536?String.fromCharCode(l):String.fromCharCode(((l-=65536)>>10)+55296,l%1024+56320)}return n},jt=kn?Object.fromEntries:function(t){for(var i={},n=0,r=t;n<r.length;n++){var o=r[n],l=o[0],s=o[1];i[l]=s}return i},fi=Cn?function(t,i){return t.codePointAt(i)}:function(t,i){var n=t.length;if(!(i<0||i>=n)){var r=t.charCodeAt(i),o;return r<55296||r>56319||i+1===n||(o=t.charCodeAt(i+1))<56320||o>57343?r:(r-55296<<10)+(o-56320)+65536}},Un=Nn?function(t){return t.trimStart()}:function(t){return t.replace(An,"")},jn=On?function(t){return t.trimEnd()}:function(t){return t.replace(Sn,"")};function pi(e,t){return new RegExp(e,t)}var mt;if(ft){var Gt=pi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");mt=function(t,i){var n;Gt.lastIndex=i;var r=Gt.exec(t);return(n=r[1])!==null&&n!==void 0?n:""}}else mt=function(t,i){for(var n=[];;){var r=fi(t,i);if(r===void 0||mi(r)||Fn(r))break;n.push(r),i+=r>=65536?2:1}return pt.apply(void 0,n)};var Gn=function(){function e(t,i){i===void 0&&(i={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!i.ignoreTag,this.locale=i.locale,this.requiresOtherClause=!!i.requiresOtherClause,this.shouldParseSkeletons=!!i.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,i,n){for(var r=[];!this.isEOF();){var o=this.char();if(o===123){var l=this.parseArgument(t,n);if(l.err)return l;r.push(l.val)}else{if(o===125&&t>0)break;if(o===35&&(i==="plural"||i==="selectordinal")){var s=this.clonePosition();this.bump(),r.push({type:z.pound,location:A(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(w.UNMATCHED_CLOSING_TAG,A(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&dt(this.peek()||0)){var l=this.parseTag(t,i);if(l.err)return l;r.push(l.val)}else{var l=this.parseLiteral(t,i);if(l.err)return l;r.push(l.val)}}}return{val:r,err:null}},e.prototype.parseTag=function(t,i){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:z.literal,value:"<".concat(r,"/>"),location:A(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,i,!0);if(o.err)return o;var l=o.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!dt(this.char()))return this.error(w.INVALID_TAG,A(s,this.clonePosition()));var u=this.clonePosition(),a=this.parseTagName();return r!==a?this.error(w.UNMATCHED_CLOSING_TAG,A(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:z.tag,value:r,children:l,location:A(n,this.clonePosition())},err:null}:this.error(w.INVALID_TAG,A(s,this.clonePosition())))}else return this.error(w.UNCLOSED_TAG,A(n,this.clonePosition()))}else return this.error(w.INVALID_TAG,A(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&zn(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,i){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(i);if(o){r+=o;continue}var l=this.tryParseUnquoted(t,i);if(l){r+=l;continue}var s=this.tryParseLeftAngleBracket();if(s){r+=s;continue}break}var u=A(n,this.clonePosition());return{val:{type:z.literal,value:r,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!$n(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var i=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)i.push(39),this.bump();else{this.bump();break}else i.push(n);this.bump()}return pt.apply(void 0,i)},e.prototype.tryParseUnquoted=function(t,i){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(i==="plural"||i==="selectordinal")||n===125&&t>0?null:(this.bump(),pt(n))},e.prototype.parseArgument=function(t,i){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,A(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(w.EMPTY_ARGUMENT,A(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(w.MALFORMED_ARGUMENT,A(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,A(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:z.argument,value:r,location:A(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,A(n,this.clonePosition())):this.parseArgumentOptions(t,i,r,n);default:return this.error(w.MALFORMED_ARGUMENT,A(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),i=this.offset(),n=mt(this.message,i),r=i+n.length;this.bumpTo(r);var o=this.clonePosition(),l=A(t,o);return{value:n,location:l}},e.prototype.parseArgumentOptions=function(t,i,n,r){var o,l=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(w.EXPECT_ARGUMENT_TYPE,A(l,u));case"number":case"date":case"time":{this.bumpSpace();var a=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var m=jn(f.val);if(m.length===0)return this.error(w.EXPECT_ARGUMENT_STYLE,A(this.clonePosition(),this.clonePosition()));var b=A(h,this.clonePosition());a={style:m,styleLocation:b}}var E=this.tryParseArgumentClose(r);if(E.err)return E;var _=A(r,this.clonePosition());if(a&&Ut(a==null?void 0:a.style,"::",0)){var g=Un(a.style.slice(2));if(s==="number"){var f=this.parseNumberSkeletonFromString(g,a.styleLocation);return f.err?f:{val:{type:z.number,value:n,location:_,style:f.val},err:null}}else{if(g.length===0)return this.error(w.EXPECT_DATE_TIME_SKELETON,_);var T=g;this.locale&&(T=Bn(g,this.locale));var m={type:xe.dateTime,pattern:T,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?vn(T):{}},N=s==="date"?z.date:z.time;return{val:{type:N,value:n,location:_,style:m},err:null}}}return{val:{type:s==="number"?z.number:s==="date"?z.date:z.time,value:n,location:_,style:(o=a==null?void 0:a.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var P=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS,A(P,H({},P)));this.bumpSpace();var R=this.parseIdentifierIfPossible(),C=0;if(s!=="select"&&R.value==="offset"){if(!this.bumpIf(":"))return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,A(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),R=this.parseIdentifierIfPossible(),C=f.val}var U=this.tryParsePluralOrSelectOptions(t,s,i,R);if(U.err)return U;var E=this.tryParseArgumentClose(r);if(E.err)return E;var F=A(r,this.clonePosition());return s==="select"?{val:{type:z.select,value:n,options:jt(U.val),location:F},err:null}:{val:{type:z.plural,value:n,options:jt(U.val),offset:C,pluralType:s==="plural"?"cardinal":"ordinal",location:F},err:null}}default:return this.error(w.INVALID_ARGUMENT_TYPE,A(l,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,A(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,i=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,A(r,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(i.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(i.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,i){var n=[];try{n=_n(t)}catch(r){return this.error(w.INVALID_NUMBER_SKELETON,i)}return{val:{type:xe.number,tokens:n,location:i,parsedOptions:this.shouldParseSkeletons?wn(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,i,n,r){for(var o,l=!1,s=[],u=new Set,a=r.value,h=r.location;;){if(a.length===0){var f=this.clonePosition();if(i!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR,w.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;h=A(f,this.clonePosition()),a=this.message.slice(f.offset,this.offset())}else break}if(u.has(a))return this.error(i==="select"?w.DUPLICATE_SELECT_ARGUMENT_SELECTOR:w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);a==="other"&&(l=!0),this.bumpSpace();var b=this.clonePosition();if(!this.bumpIf("{"))return this.error(i==="select"?w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,A(this.clonePosition(),this.clonePosition()));var E=this.parseMessage(t+1,i,n);if(E.err)return E;var _=this.tryParseArgumentClose(b);if(_.err)return _;s.push([a,{value:E.val,location:A(b,this.clonePosition())}]),u.add(a),this.bumpSpace(),o=this.parseIdentifierIfPossible(),a=o.value,h=o.location}return s.length===0?this.error(i==="select"?w.EXPECT_SELECT_ARGUMENT_SELECTOR:w.EXPECT_PLURAL_ARGUMENT_SELECTOR,A(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!l?this.error(w.MISSING_OTHER_CLAUSE,A(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,i){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,l=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,l=l*10+(s-48),this.bump();else break}var u=A(r,this.clonePosition());return o?(l*=n,Dn(l)?{val:l,err:null}:this.error(i,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var i=fi(this.message,t);if(i===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return i},e.prototype.error=function(t,i){return{val:null,err:{kind:t,message:this.message,location:i}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ut(this.message,t,this.offset())){for(var i=0;i<t.length;i++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var i=this.offset(),n=this.message.indexOf(t,i);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var i=this.offset();if(i===t)break;if(i>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&mi(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),i=this.offset(),n=this.message.charCodeAt(i+(t>=65536?2:1));return n!=null?n:null},e}();function dt(e){return e>=97&&e<=122||e>=65&&e<=90}function $n(e){return dt(e)||e===47}function zn(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function mi(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Fn(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function gt(e){e.forEach(function(t){if(delete t.location,ri(t)||oi(t))for(var i in t.options)delete t.options[i].location,gt(t.options[i].value);else ti(t)&&ai(t.style)||(ii(t)||ni(t))&&ct(t.style)?delete t.style.location:si(t)&>(t.children)})}function Vn(e,t){t===void 0&&(t={}),t=H({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new Gn(e,t).parse();if(i.err){var n=SyntaxError(w[i.err.kind]);throw n.location=i.err.location,n.originalMessage=i.err.message,n}return t!=null&&t.captureLocation||gt(i.val),i.val}function rt(e,t){var i=t&&t.cache?t.cache:Yn,n=t&&t.serializer?t.serializer:Jn,r=t&&t.strategy?t.strategy:qn;return r(e,{cache:i,serializer:n})}function Xn(e){return e==null||typeof e=="number"||typeof e=="boolean"}function di(e,t,i,n){var r=Xn(n)?n:i(n),o=t.get(r);return typeof o=="undefined"&&(o=e.call(this,n),t.set(r,o)),o}function gi(e,t,i){var n=Array.prototype.slice.call(arguments,3),r=i(n),o=t.get(r);return typeof o=="undefined"&&(o=e.apply(this,n),t.set(r,o)),o}function _t(e,t,i,n,r){return i.bind(t,e,n,r)}function qn(e,t){var i=e.length===1?di:gi;return _t(e,this,i,t.cache.create(),t.serializer)}function Wn(e,t){return _t(e,this,gi,t.cache.create(),t.serializer)}function Zn(e,t){return _t(e,this,di,t.cache.create(),t.serializer)}var Jn=function(){return JSON.stringify(arguments)};function xt(){this.cache=Object.create(null)}xt.prototype.get=function(e){return this.cache[e]};xt.prototype.set=function(e,t){this.cache[e]=t};var Yn={create:function(){return new xt}},ot={variadic:Wn,monadic:Zn},Te;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Te||(Te={}));var Ze=function(e){We(t,e);function t(i,n,r){var o=e.call(this,i)||this;return o.code=n,o.originalMessage=r,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),$t=function(e){We(t,e);function t(i,n,r,o){return e.call(this,'Invalid values for "'.concat(i,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Te.INVALID_VALUE,o)||this}return t}(Ze),Qn=function(e){We(t,e);function t(i,n,r){return e.call(this,'Value for "'.concat(i,'" must be of type ').concat(n),Te.INVALID_VALUE,r)||this}return t}(Ze),Kn=function(e){We(t,e);function t(i,n){return e.call(this,'The intl string context variable "'.concat(i,'" was not provided to the string "').concat(n,'"'),Te.MISSING_VALUE,n)||this}return t}(Ze),q;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(q||(q={}));function er(e){return e.length<2?e:e.reduce(function(t,i){var n=t[t.length-1];return!n||n.type!==q.literal||i.type!==q.literal?t.push(i):n.value+=i.value,t},[])}function tr(e){return typeof e=="function"}function ze(e,t,i,n,r,o,l){if(e.length===1&&Ot(e[0]))return[{type:q.literal,value:e[0].value}];for(var s=[],u=0,a=e;u<a.length;u++){var h=a[u];if(Ot(h)){s.push({type:q.literal,value:h.value});continue}if(bn(h)){typeof o=="number"&&s.push({type:q.literal,value:i.getNumberFormat(t).format(o)});continue}var f=h.value;if(!(r&&f in r))throw new Kn(f,l);var m=r[f];if(gn(h)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),s.push({type:typeof m=="string"?q.literal:q.object,value:m});continue}if(ii(h)){var b=typeof h.style=="string"?n.date[h.style]:ct(h.style)?h.style.parsedOptions:void 0;s.push({type:q.literal,value:i.getDateTimeFormat(t,b).format(m)});continue}if(ni(h)){var b=typeof h.style=="string"?n.time[h.style]:ct(h.style)?h.style.parsedOptions:n.time.medium;s.push({type:q.literal,value:i.getDateTimeFormat(t,b).format(m)});continue}if(ti(h)){var b=typeof h.style=="string"?n.number[h.style]:ai(h.style)?h.style.parsedOptions:void 0;b&&b.scale&&(m=m*(b.scale||1)),s.push({type:q.literal,value:i.getNumberFormat(t,b).format(m)});continue}if(si(h)){var E=h.children,_=h.value,g=r[_];if(!tr(g))throw new Qn(_,"function",l);var T=ze(E,t,i,n,r,o),N=g(T.map(function(C){return C.value}));Array.isArray(N)||(N=[N]),s.push.apply(s,N.map(function(C){return{type:typeof C=="string"?q.literal:q.object,value:C}}))}if(ri(h)){var P=h.options[m]||h.options.other;if(!P)throw new $t(h.value,m,Object.keys(h.options),l);s.push.apply(s,ze(P.value,t,i,n,r));continue}if(oi(h)){var P=h.options["=".concat(m)];if(!P){if(!Intl.PluralRules)throw new Ze(`Intl.PluralRules is not available in this environment.
|
|
2
2
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
|
-
`,Te.MISSING_INTL_API,l);var R=i.getPluralRules(t,{type:h.pluralType}).select(m-(h.offset||0));P=h.options[R]||h.options.other}if(!P)throw new $t(h.value,m,Object.keys(h.options),l);s.push.apply(s,ze(P.value,t,i,n,r,m-(h.offset||0)));continue}}return er(s)}function ir(e,t){return t?k(k(k({},e||{}),t||{}),Object.keys(e).reduce(function(i,n){return i[n]=k(k({},e[n]),t[n]||{}),i},{})):e}function nr(e,t){return t?Object.keys(e).reduce(function(i,n){return i[n]=ir(e[n],t[n]),i},k({},e)):e}function st(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function rr(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:rt(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,it([void 0],i,!1)))},{cache:st(e.number),strategy:ot.variadic}),getDateTimeFormat:rt(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,it([void 0],i,!1)))},{cache:st(e.dateTime),strategy:ot.variadic}),getPluralRules:rt(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,it([void 0],i,!1)))},{cache:st(e.pluralRules),strategy:ot.variadic})}}var or=function(){function e(t,i,n,r){var o=this;if(i===void 0&&(i=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var a=o.formatToParts(u);if(a.length===1)return a[0].value;var h=a.reduce(function(f,m){return!f.length||m.type!==q.literal||typeof f[f.length-1]!="string"?f.push(m.value):f[f.length-1]+=m.value,f},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(u){return ze(o.ast,o.locales,o.formatters,o.formats,u,void 0,o.message)},this.resolvedOptions=function(){var u;return{locale:((u=o.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var l=r||{};l.formatters;var s=dn(l,["formatters"]);this.ast=e.__parse(t,k(k({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=nr(e.formats,n),this.formatters=r&&r.formatters||rr(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var i=Intl.NumberFormat.supportedLocalesOf(t);return i.length>0?new Intl.Locale(i[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Vn,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function sr(e,t){if(t==null)return;if(t in e)return e[t];const i=t.split(".");let n=e;for(let r=0;r<i.length;r++)if(typeof n=="object"){if(r>0){const o=i.slice(r,i.length).join(".");if(o in n){n=n[o];break}}n=n[i[r]]}else n=void 0;return n}const le={},ar=(e,t,i)=>i&&(t in le||(le[t]={}),e in le[t]||(le[t][e]=i),i),bi=(e,t)=>{if(t==null)return;if(t in le&&e in le[t])return le[t][e];const i=Je(t);for(let n=0;n<i.length;n++){const r=i[n],o=ur(r,e);if(o)return ar(e,t,o)}};let Tt;const De=qe({});function lr(e){return Tt[e]||null}function yi(e){return e in Tt}function ur(e,t){if(!yi(e))return null;const i=lr(e);return sr(i,t)}function hr(e){if(e==null)return;const t=Je(e);for(let i=0;i<t.length;i++){const n=t[i];if(yi(n))return n}}function vi(e,...t){delete le[e],De.update(i=>(i[e]=mn.all([i[e]||{},...t]),i))}we([De],([e])=>Object.keys(e));De.subscribe(e=>Tt=e);const Fe={};function cr(e,t){Fe[e].delete(t),Fe[e].size===0&&delete Fe[e]}function Ei(e){return Fe[e]}function fr(e){return Je(e).map(t=>{const i=Ei(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function bt(e){return e==null?!1:Je(e).some(t=>{var i;return(i=Ei(t))==null?void 0:i.size})}function pr(e,t){return Promise.all(t.map(n=>(cr(e,n),n().then(r=>r.default||r)))).then(n=>vi(e,...n))}const He={};function _i(e){if(!bt(e))return e in He?He[e]:Promise.resolve();const t=fr(e);return He[e]=Promise.all(t.map(([i,n])=>pr(i,n))).then(()=>{if(bt(e))return _i(e);delete He[e]}),He[e]}const mr={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"}}},dr={fallbackLocale:null,loadingDelay:200,formats:mr,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},gr=dr;function Pe(){return gr}const at=qe(!1);var br=Object.defineProperty,yr=Object.defineProperties,vr=Object.getOwnPropertyDescriptors,zt=Object.getOwnPropertySymbols,Er=Object.prototype.hasOwnProperty,_r=Object.prototype.propertyIsEnumerable,Ft=(e,t,i)=>t in e?br(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,xr=(e,t)=>{for(var i in t||(t={}))Er.call(t,i)&&Ft(e,i,t[i]);if(zt)for(var i of zt(t))_r.call(t,i)&&Ft(e,i,t[i]);return e},Tr=(e,t)=>yr(e,vr(t));let yt;const Ve=qe(null);function Vt(e){return e.split("-").map((t,i,n)=>n.slice(0,i+1).join("-")).reverse()}function Je(e,t=Pe().fallbackLocale){const i=Vt(e);return t?[...new Set([...i,...Vt(t)])]:i}function fe(){return yt!=null?yt:void 0}Ve.subscribe(e=>{yt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Pr=e=>{if(e&&hr(e)&&bt(e)){const{loadingDelay:t}=Pe();let i;return typeof window!="undefined"&&fe()!=null&&t?i=window.setTimeout(()=>at.set(!0),t):at.set(!0),_i(e).then(()=>{Ve.set(e)}).finally(()=>{clearTimeout(i),at.set(!1)})}return Ve.set(e)},Be=Tr(xr({},Ve),{set:Pr}),Ye=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var wr=Object.defineProperty,Xe=Object.getOwnPropertySymbols,xi=Object.prototype.hasOwnProperty,Ti=Object.prototype.propertyIsEnumerable,Xt=(e,t,i)=>t in e?wr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Pt=(e,t)=>{for(var i in t||(t={}))xi.call(t,i)&&Xt(e,i,t[i]);if(Xe)for(var i of Xe(t))Ti.call(t,i)&&Xt(e,i,t[i]);return e},Le=(e,t)=>{var i={};for(var n in e)xi.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&Xe)for(var n of Xe(e))t.indexOf(n)<0&&Ti.call(e,n)&&(i[n]=e[n]);return i};const Me=(e,t)=>{const{formats:i}=Pe();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Br=Ye(e=>{var t=e,{locale:i,format:n}=t,r=Le(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Me("number",n)),new Intl.NumberFormat(i,r)}),Lr=Ye(e=>{var t=e,{locale:i,format:n}=t,r=Le(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Me("date",n):Object.keys(r).length===0&&(r=Me("date","short")),new Intl.DateTimeFormat(i,r)}),Ar=Ye(e=>{var t=e,{locale:i,format:n}=t,r=Le(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Me("time",n):Object.keys(r).length===0&&(r=Me("time","short")),new Intl.DateTimeFormat(i,r)}),Sr=(e={})=>{var t=e,{locale:i=fe()}=t,n=Le(t,["locale"]);return Br(Pt({locale:i},n))},Ir=(e={})=>{var t=e,{locale:i=fe()}=t,n=Le(t,["locale"]);return Lr(Pt({locale:i},n))},kr=(e={})=>{var t=e,{locale:i=fe()}=t,n=Le(t,["locale"]);return Ar(Pt({locale:i},n))},Hr=Ye((e,t=fe())=>new or(e,t,Pe().formats,{ignoreTag:Pe().ignoreTag})),Cr=(e,t={})=>{var i,n,r,o;let l=t;typeof e=="object"&&(l=e,e=l.id);const{values:s,locale:u=fe(),default:a}=l;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=bi(e,u);if(!h)h=(o=(r=(n=(i=Pe()).handleMissingMessage)==null?void 0:n.call(i,{locale:u,id:e,defaultValue:a}))!=null?r:a)!=null?o:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!s)return h;let f=h;try{f=Hr(h,u).format(s)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return f},Nr=(e,t)=>kr(t).format(e),Or=(e,t)=>Ir(t).format(e),Mr=(e,t)=>Sr(t).format(e),Dr=(e,t=fe())=>bi(e,t),Rr=we([Be,De],()=>Cr);we([Be],()=>Nr);we([Be],()=>Or);we([Be],()=>Mr);we([Be,De],()=>Dr);function qt(e,t){vi(e,t)}function Ur(e){Be.set(e)}const Wt={en:{loading:"Loading, please wait...",setLimit:"Set a limit",setLimitDescription:"In Germany, you are legally required to set a monthly deposit limit. Therefore, we ask you to confirm your existing limit or set a new one in order to enjoy playing without restrictions.",lugasInfo1:"Any questions? Information about",lugasInfo2:"LUGAS",keepCurrentLimit:"KEEP THE CURRENT LIMIT",keepCurrentLimitButton:"NEW LIMIT",applyButton:"APPLY",depositPeriod:"Monthly deposit limit",TCpart1:'By clicking "Keep the current limit" or "Apply" I confirm that I have read and accept the',TClink:"General Terms and Conditions",TCpart2:"Also note our",PPlink:"Privacy Policy",depositLimit:"Deposit Limit set",successful:"Successful!",successDescription:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kyc1Part1:"We were able to set your monthly deposit limit to",kyc1Part2:"In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",kycButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",depositError:"Deposit Limit update error",errorDescription:"We were unable to set your limit at this time, due to a server error. Please try again later.",docsRequired:"Documents required!",kyc2:"For the selected limit, we require documents that show your financial situation. Please upload your last payslip as well as a current bank statement, that shows the account balance as well as that you received the salary payment."},de:{loading:"Lädt ...",setLimit:"Legen Sie ein Grenzwert fest",setLimitDescription:"In Deutschland müssen Sie gesetzlich ein monatliches Einlagenlimit festlegen.",lugasInfo1:"Fragen? Informationen zu",lugasInfo2:"LUGAS",keepCurrentLimit:"Aktuelles Limit beibehalten",keepCurrentLimitButton:"Neue Grenze",applyButton:"Anwenden",depositPeriod:"Monatliche Einzahlungslimit",TCpart1:'Durch Klicken auf "das aktuelle Grenzwert halten" oder "anwenden", bestätige ich, dass ich die',TClink:"Allgemeine Geschäftsbedingungen",TCpart2:"Beachten Sie auch unsere",PPlink:"Datenschutz-Bestimmungen",depositLimit:"Erfolgreich",successful:"Erfolgreich",successDescription:"Einzahlungslimit erfolgreich festgelegt. Sie können Ihre Grenzen jederzeit in den Kontoeinstellungen verwalten.",kyc1Part1:"Wir konnten Ihr monatliches Einzahlungslimit auf",kyc1Part2:"Um das Limit auf den gewünschten Betrag zu erhöhen, bitten wir, uns relevante Informationen zur Verfügung zu stellen. Diese Informationen können im Dokumenten-Upload eingereicht werden.",kycButton:"Dokumente hochladen",closeButton:"Schließen",depositError:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",errorDescription:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",docsRequired:"Documents required!",kyc2:"Für das gewählte Limit benötigen wir Dokumente, aus denen Ihre finanzielle Situation hervorgeht. Bitte laden Sie Ihre letzte Gehaltsabrechnung sowie einen aktuellen Kontoauszug, auf dem Kontostand sowie Gehaltseingang ersichtlich sind, hoch."},hr:{loading:"Učitavanje",setLimit:"Postavite ograničenje",setLimitDescription:"U Njemačkoj",lugasInfo1:"Ima li pitanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"ZADRŽITE TRENUTNO OGRANIČENJE",keepCurrentLimitButton:"NOVO OGRANIČENJE",applyButton:"PRIMJENI",depositPeriod:"Mjesečno ograničenje uplate",TCpart1:'Klikom na "Zadrži trenutno ograničenje" ili "Primijeni" potvrđujem da sam pročitao i prihvaćam',TClink:"Opći uvjeti poslovanja",TCpart2:"Također imajte na umu našu",PPlink:"Politiku privatnosti",depositLimit:"Postavljeno ograničenje uplate",successful:"Uspješno!",successDescription:"Ograničenje uplate je uspješno postavljeno. Svojim ograničenjima možete upravljati u bilo kojem trenutku u postavkama računa.",kyc1Part1:"Uspjeli smo postaviti vaše mjesečno ograničenje uplate na",kyc1Part2:"Kako bi povećali ograničenje na željeni iznos",kycButton:"UČITAJ DOKUMENTE",closeButton:"ZATVORI",depositError:"Pogreška ažuriranja ograničenja uplate",errorDescription:"Trenutačno nismo mogli postaviti vaše ograničenje",docsRequired:"Potrebni dokumenti!",kyc2:"Za odabrano ograničenje"},sl:{loading:"Nalaga...",setLimit:"Določi limit",setLimitDescription:"V Nemčiji je zakonsko predpisano, da določite mesečni vplačilni limit.",lugasInfo1:"Vprašanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"Ohranite obstoječi limit",keepCurrentLimitButton:"Novi limit",applyButton:"Uporabi",depositPeriod:"Mesečni vplačilni limit",TCpart1:"S klikom na „ohranite obstoječi limit“ ali „prevzem“ potrjujem, da sem prebral-a",TClink:"Splošna pravila in pogoji",TCpart2:"Preverite tudi na naš",PPlink:"Pravila o zasebnosti",depositLimit:"Uspešno",successful:"Uspešno",successDescription:"Vplačilni limit je bil uspešno postavljen. Limiti se lahko kadar koli prilagodijo v nastavitvah stavnega računa.",kyc1Part1:"Mesečni vplačilni limit smo lahko nastavili na",kyc1Part2:"Da bi povečali limit na želeni znesek, prosimo, da nam posredujete relevantne informacije. Te informacije lahko naložite pod prenos dokumentov.",kycButton:"Naložite dokumenteS",closeButton:"Zapri",depositError:"Nekaj je šlo narobe. Prosim poskusite ponovno.",errorDescription:"Nekaj je šlo narobe. Prosim poskusite ponovno.",docsRequired:"Documents required!",kyc2:"Za izbrani limit, potrebujemo dokumente, ki prikazujejo vašo ekonomsko stanje. Prosimo naložite vašo zadnjo plačilno listo in zadnji bančni izpisek, vključno s prikazom dobroimetja, ki prikazuje, da ste prejeli plačilo."},pl:{loading:"Ładowanie...",setLimit:"Ustaw limit",setLimitDescription:"W Niemczech istnieje prawny obowiązek ustalenia miesięcznego limitu wpłat.",lugasInfo1:"Jakieś pytania? Informacja o",lugasInfo2:"LUGAS",keepCurrentLimit:"Zachowaj obecny limit",keepCurrentLimitButton:"Nowy limit",applyButton:"Zastosuj",depositPeriod:"Miesięczny limit wpłat",TCpart1:'Klikając na "Zachowaj obecny limit" lub "Zastosuj", potwierdzam, że przeczytałem i akceptuję',TClink:"Ogólne warunki handlowe",TCpart2:"Zapoznaj się również z naszą",PPlink:"Polityka prywatności",depositLimit:"Zakończone powodzeniem",successful:"Zakończone powodzeniem",successDescription:"Limit wpłat ustawiony pomyślnie. Możesz zarządzać limitami w dowolnym momencie w ustawieniach konta.",kyc1Part1:"Udało nam się ustawić Twój miesięczny limit wpłat na",kyc1Part2:"Aby zwiększyć limit żądanej kwoty, prosimy o podanie nam odpowiednich informacji. Informacje te można przesłać w przesyłaniu dokumentu.",kycButton:"Wczytywanie dokumentów",closeButton:"zamknij",depositError:"Coś poszło nie tak. Proszę spróbuj ponownie.",errorDescription:"Coś poszło nie tak. Proszę spróbuj ponownie.",docsRequired:"Documents required!",kyc2:"Do wybranego limitu potrzebujemy dokumentów potwierdzających Państwa sytuację finansową. Prosimy o przesłanie ostatniego odcinka wypłaty oraz aktualnego wyciągu bankowego, na którym widnieje stan konta i przychodzące wynagrodzenie."},es:{loading:"Cargando...",setLimit:"Establece un límite",setLimitDescription:"En Alemania",lugasInfo1:"Alguna pregunta? Información sobre",lugasInfo2:"LUGAS",keepCurrentLimit:"MANTENER LÍMITE ACTUAL",keepCurrentLimitButton:"NUEVO LÍMITE",applyButton:"APLICAR",depositPeriod:"Límite Mensual de depósitos",TCpart1:'Dando clic en "Mantener límite actual" o "Aplicar" yo confirmo que he leido y aceptado los',TClink:"Términos y Condiciones Generales",TCpart2:"También note nuestra",PPlink:"Politica de Privacidad",depositLimit:"Límite de depósito establecido",successful:"Exitoso!",successDescription:"El límite de depósito se ha establecido con éxito. Puede administrar sus límites en cualquier momento en la confirguración de la cuenta.",kyc1Part1:"Pudimos estabelecer tu límite de deposito mensual en",kyc1Part2:"Para aumentar el límite a la cantidad deseada",kycButton:"SUBIR DOCUMENTOS / ADJUNTAR DOCUMENTOS",closeButton:"CERRAR",depositError:"Error en actualización de límite de depósito",errorDescription:"No pudimos actualizar tu límite en este momento.",docsRequired:"Documentos requeridos!",kyc2:"Para el límite seleccionado."},"pt-br":{Loading:"Carregando, por favor espere...",setLimit:"Definir limite",setLimitDescription:'Na Alemanha, por lei é obrigatório estabelecer um limite de depósito mensal, portanto",Pedimos que você confirme o limite existente ou defina um novo para aproveitar o jogo sem restrições.',lugasInfo1:"Dúvidas? Informação sobre",lugasInfo2:"LUGARES",keepCurrentLimit:"MANTENHA O LIMITE ATUAL",keepCurrentLimitButton:"NOVO LIMITE",applyButton:"APLICAR",depositPeriod:"LIMITE DE DEPÓSITO MENSAL",TCpart1:'Ao selecionar ""manter limite atual"" ou ""aplicar"", confirmo que aceitei o"',TClink:"Termos e Condições Gerais",TCpart2:'Por favor, leve também em consideração o nosso"',PPlink:"Política de privacidade",depositLimit:"Limite de depósito fixo",successful:"Operação bem-sucedida",successDescription:"O limite de depósito foi definido com sucesso. Você pode gerenciar seus limites a qualquer momento na seção Configurações da sua conta.",kyc1Part1:"Conseguimos definir seu limite de depósito mensal para",kyc1Part2:"Para aumentar o limite de depósito mensal,Pedimos que você compartilhe-nos informações relevantes. Essas informações podem ser enviadas na seção de upload de arquivos na página",kycButton:"FAZER UPLOAD DE ARQUIVOS",closeButton:"Data",depositError:"Erro de atualização do limite de depósito",errorDescription:"Não foi possível atualizar seu limite neste momento,devido a um erro no servidor. Tente mais tarde",docsRequired:"Documentos requeridos",kyc2:'Para o limite selecionado," Exigimos documentos que comprovem sua situação financeira. Envie seu recibo de pagamento mais recente, bem como um extrato bancário atual",mostrando o saldo da sua conta e o depósito do seu salário.'},"es-mx":{Loading:"Cargando, por favor espere...",setLimit:"Fijar límite",setLimitDescription:'En Alemania,"por ley se requiere fijar un límite de depósito mensual, por lo tanto", le pedimos confirme el límite existente o establezca uno nuevo para disfrutar el juego sin restricciones.',lugasInfo1:"¿Alguna pregunta? Información acerca de",lugasInfo2:"LUGAS",keepCurrentLimit:"MANTENER EL LÍMITE ACTUAL",keepCurrentLimitButton:"LÍMITE NUEVO",applyButton:"APLICAR",depositPeriod:"LÍMITE DE DEPÓSITO MENSUAL",TClink:"Términos y condiciones generales",TCpart2:"Por favor también tome en cuenta nuestra",PPlink:"Política de privacidad",depositLimit:"Límite de depósito fijado",successful:"Operación exitosa",successDescription:"El límite depósito se ha fijado exitosamente. Puede manejar sus límites en cualquier momento en la sección de Ajustes de su cuenta.",kyc1Part1:"Pudimos fijar su límite de depósito mensual a",kyc1Part2:"Para poder incrementar el límite de depósito mensual,le pedimos nos comparta la información relevante . Esta información puede ser enviada en la sección para subir archivos en la página",kycButton:"SUBIR ARCHIVOS",closeButton:"CERRAR",depositError:"Error de actualización de límite de depósito",errorDescription:"No pudimos actualizar su límite en este momento,debido a un error del servidor. Intente más tarde",docsRequired:"Documentos requeridos",kyc2:"Para el límite seleccionado, requerimos documentos que muestren su situación financiera. Por favor suba su último talón de pago al igual que un estado de cuenta bancario actual, que muestre el balance de su cuenta y el depósito de su salario."},tr:{loading:"Yükleniyor lütfen bekleyin...",setLimit:"Bir sınır belirleyin",setLimitDescription:"Almanya'da yasal olarak aylık bir para yatırma limiti belirlemeniz gerekmektedir. Bu nedenle kısıtlama olmadan oyun keyfini yaşayabilmeniz için mevcut limitinizi onaylamanızı veya yeni bir limit belirlemenizi rica ediyoruz.",lugasInfo1:"Sorusu olan? Hakkında bilgi",lugasInfo2:"LUGAS",keepCurrentLimit:"MEVCUT LİMİTİ TUTUN",keepCurrentLimitButton:"YENİ LİMİT",applyButton:"UYGULA",depositPeriod:"Aylık para yatırma limiti",TCpart1:"Mevcut limiti koru veya Uygula seçeneğini tıklayarak okuduğumu ve kabul ettiğimi onaylıyorum",TClink:"Genel Şartlar ve Koşullar",TCpart2:"Ayrıca şunu da not edin:",PPlink:"Gizlilik Politikası",depositLimit:"Para Yatırma Limiti belirlendi",successful:"Başarılı!",successDescription:"Para yatırma limiti başarıyla belirlendi. Limitlerinizi istediğiniz zaman hesap ayarlarından yönetebilirsiniz.",kyc1Part1:"Aylık para yatırma limitinizi şu şekilde ayarlayabildik:",kyc1Part2:"Limitin istenilen tutara yükseltilebilmesi için ilgili bilgileri tarafımıza iletmenizi rica ederiz. Bu bilgi belge yüklemede gönderilebilir.",kycButton:"BELGELERİ YÜKLE",closeButton:"KAPALI",depositError:"Para Yatırma Limiti güncelleme hatası",errorDescription:"Sunucu hatası nedeniyle şu anda sınırınızı belirleyemedik. Lütfen daha sonra tekrar deneyiniz.",docsRequired:"Gerekli belgeler!",kyc2:"Seçilen limit için mali durumunuzu gösteren belgelere ihtiyacımız var. Lütfen son maaş bordronuzu ve hesap bakiyenizi ve maaş ödemenizi aldığınızı gösteren güncel banka ekstrenizi yükleyin."}},{document:jr}=Hi;function Gr(e){Ci(e,"svelte-4201kg",':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emfe-w-color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emfe-w-color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}')}function $r(e){let t;function i(o,l){if(o[10]==="initial")return Wr;if(o[10]==="successful")return qr;if(o[10]==="KYC")return Xr;if(o[10]==="KYC2")return Vr;if(o[10]==="error")return Fr}let n=i(e),r=n&&n(e);return{c(){t=y("div"),r&&r.c(),c(t,"class","InitialWrapper")},m(o,l){x(o,t,l),r&&r.m(t,null)},p(o,l){n===(n=i(o))&&r?r.p(o,l):(r&&r.d(1),r=n&&n(o),r&&(r.c(),r.m(t,null)))},d(o){o&&v(t),r&&r.d()}}}function zr(e){let t,i=e[12]("loading")+"",n;return{c(){t=y("p"),n=B(i)},m(r,o){x(r,t,o),p(t,n)},p(r,o){o[0]&4096&&i!==(i=r[12]("loading")+"")&&H(n,i)},d(r){r&&v(t)}}}function Fr(e){let t,i=e[12]("depositError")+"",n,r,o,l,s,u=e[12]("errorDescription")+"",a,h,f,m=e[12]("closeButton")+"",b,E,_;return{c(){t=y("p"),n=B(i),r=M(),o=y("div"),o.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>',l=M(),s=y("p"),a=B(u),h=M(),f=y("button"),b=B(m),c(t,"class","Title"),c(o,"class","ResultIconWrapper"),c(s,"class","Description CenterAlign"),c(f,"class","ConfirmButton SecondaryButtonStyle")},m(g,T){x(g,t,T),p(t,n),x(g,r,T),x(g,o,T),x(g,l,T),x(g,s,T),p(s,a),x(g,h,T),x(g,f,T),p(f,b),E||(_=Z(f,"click",e[36]),E=!0)},p(g,T){T[0]&4096&&i!==(i=g[12]("depositError")+"")&&H(n,i),T[0]&4096&&u!==(u=g[12]("errorDescription")+"")&&H(a,u),T[0]&4096&&m!==(m=g[12]("closeButton")+"")&&H(b,m)},d(g){g&&(v(t),v(r),v(o),v(l),v(s),v(h),v(f)),E=!1,_()}}}function Vr(e){let t,i=e[12]("docsRequired")+"",n,r,o,l,s,u,a,h,f,m=e[12]("docsRequired")+"",b,E,_,g=e[12]("kyc2")+"",T,N,P,R=e[12]("kycButton")+"",C,U,F,O=e[12]("closeButton")+"",j,S,W;return{c(){t=y("p"),n=B(i),r=M(),o=y("div"),l=y("div"),s=J("svg"),u=J("g"),a=J("path"),h=M(),f=y("p"),b=B(m),E=M(),_=y("p"),T=B(g),N=M(),P=y("button"),C=B(R),U=M(),F=y("button"),j=B(O),c(t,"class","Title"),c(a,"id","XMLID_6_"),c(a,"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
|
|
3
|
+
`,Te.MISSING_INTL_API,l);var R=i.getPluralRules(t,{type:h.pluralType}).select(m-(h.offset||0));P=h.options[R]||h.options.other}if(!P)throw new $t(h.value,m,Object.keys(h.options),l);s.push.apply(s,ze(P.value,t,i,n,r,m-(h.offset||0)));continue}}return er(s)}function ir(e,t){return t?H(H(H({},e||{}),t||{}),Object.keys(e).reduce(function(i,n){return i[n]=H(H({},e[n]),t[n]||{}),i},{})):e}function nr(e,t){return t?Object.keys(e).reduce(function(i,n){return i[n]=ir(e[n],t[n]),i},H({},e)):e}function st(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}function rr(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:rt(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,it([void 0],i,!1)))},{cache:st(e.number),strategy:ot.variadic}),getDateTimeFormat:rt(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,it([void 0],i,!1)))},{cache:st(e.dateTime),strategy:ot.variadic}),getPluralRules:rt(function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,it([void 0],i,!1)))},{cache:st(e.pluralRules),strategy:ot.variadic})}}var or=function(){function e(t,i,n,r){var o=this;if(i===void 0&&(i=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var a=o.formatToParts(u);if(a.length===1)return a[0].value;var h=a.reduce(function(f,m){return!f.length||m.type!==q.literal||typeof f[f.length-1]!="string"?f.push(m.value):f[f.length-1]+=m.value,f},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(u){return ze(o.ast,o.locales,o.formatters,o.formats,u,void 0,o.message)},this.resolvedOptions=function(){var u;return{locale:((u=o.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var l=r||{};l.formatters;var s=dn(l,["formatters"]);this.ast=e.__parse(t,H(H({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=nr(e.formats,n),this.formatters=r&&r.formatters||rr(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var i=Intl.NumberFormat.supportedLocalesOf(t);return i.length>0?new Intl.Locale(i[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Vn,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function sr(e,t){if(t==null)return;if(t in e)return e[t];const i=t.split(".");let n=e;for(let r=0;r<i.length;r++)if(typeof n=="object"){if(r>0){const o=i.slice(r,i.length).join(".");if(o in n){n=n[o];break}}n=n[i[r]]}else n=void 0;return n}const le={},ar=(e,t,i)=>i&&(t in le||(le[t]={}),e in le[t]||(le[t][e]=i),i),bi=(e,t)=>{if(t==null)return;if(t in le&&e in le[t])return le[t][e];const i=Je(t);for(let n=0;n<i.length;n++){const r=i[n],o=ur(r,e);if(o)return ar(e,t,o)}};let Tt;const De=qe({});function lr(e){return Tt[e]||null}function yi(e){return e in Tt}function ur(e,t){if(!yi(e))return null;const i=lr(e);return sr(i,t)}function hr(e){if(e==null)return;const t=Je(e);for(let i=0;i<t.length;i++){const n=t[i];if(yi(n))return n}}function vi(e,...t){delete le[e],De.update(i=>(i[e]=mn.all([i[e]||{},...t]),i))}we([De],([e])=>Object.keys(e));De.subscribe(e=>Tt=e);const Fe={};function cr(e,t){Fe[e].delete(t),Fe[e].size===0&&delete Fe[e]}function Ei(e){return Fe[e]}function fr(e){return Je(e).map(t=>{const i=Ei(t);return[t,i?[...i]:[]]}).filter(([,t])=>t.length>0)}function bt(e){return e==null?!1:Je(e).some(t=>{var i;return(i=Ei(t))==null?void 0:i.size})}function pr(e,t){return Promise.all(t.map(n=>(cr(e,n),n().then(r=>r.default||r)))).then(n=>vi(e,...n))}const ke={};function _i(e){if(!bt(e))return e in ke?ke[e]:Promise.resolve();const t=fr(e);return ke[e]=Promise.all(t.map(([i,n])=>pr(i,n))).then(()=>{if(bt(e))return _i(e);delete ke[e]}),ke[e]}const mr={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"}}},dr={fallbackLocale:null,loadingDelay:200,formats:mr,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},gr=dr;function Pe(){return gr}const at=qe(!1);var br=Object.defineProperty,yr=Object.defineProperties,vr=Object.getOwnPropertyDescriptors,zt=Object.getOwnPropertySymbols,Er=Object.prototype.hasOwnProperty,_r=Object.prototype.propertyIsEnumerable,Ft=(e,t,i)=>t in e?br(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,xr=(e,t)=>{for(var i in t||(t={}))Er.call(t,i)&&Ft(e,i,t[i]);if(zt)for(var i of zt(t))_r.call(t,i)&&Ft(e,i,t[i]);return e},Tr=(e,t)=>yr(e,vr(t));let yt;const Ve=qe(null);function Vt(e){return e.split("-").map((t,i,n)=>n.slice(0,i+1).join("-")).reverse()}function Je(e,t=Pe().fallbackLocale){const i=Vt(e);return t?[...new Set([...i,...Vt(t)])]:i}function fe(){return yt!=null?yt:void 0}Ve.subscribe(e=>{yt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Pr=e=>{if(e&&hr(e)&&bt(e)){const{loadingDelay:t}=Pe();let i;return typeof window!="undefined"&&fe()!=null&&t?i=window.setTimeout(()=>at.set(!0),t):at.set(!0),_i(e).then(()=>{Ve.set(e)}).finally(()=>{clearTimeout(i),at.set(!1)})}return Ve.set(e)},Be=Tr(xr({},Ve),{set:Pr}),Ye=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var wr=Object.defineProperty,Xe=Object.getOwnPropertySymbols,xi=Object.prototype.hasOwnProperty,Ti=Object.prototype.propertyIsEnumerable,Xt=(e,t,i)=>t in e?wr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Pt=(e,t)=>{for(var i in t||(t={}))xi.call(t,i)&&Xt(e,i,t[i]);if(Xe)for(var i of Xe(t))Ti.call(t,i)&&Xt(e,i,t[i]);return e},Le=(e,t)=>{var i={};for(var n in e)xi.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(e!=null&&Xe)for(var n of Xe(e))t.indexOf(n)<0&&Ti.call(e,n)&&(i[n]=e[n]);return i};const Me=(e,t)=>{const{formats:i}=Pe();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Br=Ye(e=>{var t=e,{locale:i,format:n}=t,r=Le(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Me("number",n)),new Intl.NumberFormat(i,r)}),Lr=Ye(e=>{var t=e,{locale:i,format:n}=t,r=Le(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Me("date",n):Object.keys(r).length===0&&(r=Me("date","short")),new Intl.DateTimeFormat(i,r)}),Ar=Ye(e=>{var t=e,{locale:i,format:n}=t,r=Le(t,["locale","format"]);if(i==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Me("time",n):Object.keys(r).length===0&&(r=Me("time","short")),new Intl.DateTimeFormat(i,r)}),Sr=(e={})=>{var t=e,{locale:i=fe()}=t,n=Le(t,["locale"]);return Br(Pt({locale:i},n))},Ir=(e={})=>{var t=e,{locale:i=fe()}=t,n=Le(t,["locale"]);return Lr(Pt({locale:i},n))},Hr=(e={})=>{var t=e,{locale:i=fe()}=t,n=Le(t,["locale"]);return Ar(Pt({locale:i},n))},kr=Ye((e,t=fe())=>new or(e,t,Pe().formats,{ignoreTag:Pe().ignoreTag})),Cr=(e,t={})=>{var i,n,r,o;let l=t;typeof e=="object"&&(l=e,e=l.id);const{values:s,locale:u=fe(),default:a}=l;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=bi(e,u);if(!h)h=(o=(r=(n=(i=Pe()).handleMissingMessage)==null?void 0:n.call(i,{locale:u,id:e,defaultValue:a}))!=null?r:a)!=null?o:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!s)return h;let f=h;try{f=kr(h,u).format(s)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return f},Nr=(e,t)=>Hr(t).format(e),Or=(e,t)=>Ir(t).format(e),Mr=(e,t)=>Sr(t).format(e),Dr=(e,t=fe())=>bi(e,t),Rr=we([Be,De],()=>Cr);we([Be],()=>Nr);we([Be],()=>Or);we([Be],()=>Mr);we([Be,De],()=>Dr);function qt(e,t){vi(e,t)}function Ur(e){Be.set(e)}const Wt={en:{loading:"Loading, please wait...",setLimit:"Set a limit",setLimitDescription:"In Germany, you are legally required to set a monthly deposit limit. Therefore, we ask you to confirm your existing limit or set a new one in order to enjoy playing without restrictions.",lugasInfo1:"Any questions? Information about",lugasInfo2:"LUGAS",keepCurrentLimit:"KEEP THE CURRENT LIMIT",keepCurrentLimitButton:"NEW LIMIT",applyButton:"APPLY",depositPeriod:"Monthly deposit limit",TCpart1:'By clicking "Keep the current limit" or "Apply" I confirm that I have read and accept the',TClink:"General Terms and Conditions",TCpart2:"Also note our",PPlink:"Privacy Policy",depositLimit:"Deposit Limit set",successful:"Successful!",successDescription:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kyc1Part1:"We were able to set your monthly deposit limit to",kyc1Part2:"In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",kycButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",depositError:"Deposit Limit update error",errorDescription:"We were unable to set your limit at this time, due to a server error. Please try again later.",docsRequired:"Documents required!",kyc2:"For the selected limit, we require documents that show your financial situation. Please upload your last payslip as well as a current bank statement, that shows the account balance as well as that you received the salary payment."},de:{loading:"Lädt ...",setLimit:"Legen Sie ein Grenzwert fest",setLimitDescription:"In Deutschland müssen Sie gesetzlich ein monatliches Einlagenlimit festlegen.",lugasInfo1:"Fragen? Informationen zu",lugasInfo2:"LUGAS",keepCurrentLimit:"Aktuelles Limit beibehalten",keepCurrentLimitButton:"Neue Grenze",applyButton:"Anwenden",depositPeriod:"Monatliche Einzahlungslimit",TCpart1:'Durch Klicken auf "das aktuelle Grenzwert halten" oder "anwenden", bestätige ich, dass ich die',TClink:"Allgemeine Geschäftsbedingungen",TCpart2:"Beachten Sie auch unsere",PPlink:"Datenschutz-Bestimmungen",depositLimit:"Erfolgreich",successful:"Erfolgreich",successDescription:"Einzahlungslimit erfolgreich festgelegt. Sie können Ihre Grenzen jederzeit in den Kontoeinstellungen verwalten.",kyc1Part1:"Wir konnten Ihr monatliches Einzahlungslimit auf",kyc1Part2:"Um das Limit auf den gewünschten Betrag zu erhöhen, bitten wir, uns relevante Informationen zur Verfügung zu stellen. Diese Informationen können im Dokumenten-Upload eingereicht werden.",kycButton:"Dokumente hochladen",closeButton:"Schließen",depositError:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",errorDescription:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",docsRequired:"Documents required!",kyc2:"Für das gewählte Limit benötigen wir Dokumente, aus denen Ihre finanzielle Situation hervorgeht. Bitte laden Sie Ihre letzte Gehaltsabrechnung sowie einen aktuellen Kontoauszug, auf dem Kontostand sowie Gehaltseingang ersichtlich sind, hoch."},hr:{loading:"Učitavanje",setLimit:"Postavite ograničenje",setLimitDescription:"U Njemačkoj",lugasInfo1:"Ima li pitanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"ZADRŽITE TRENUTNO OGRANIČENJE",keepCurrentLimitButton:"NOVO OGRANIČENJE",applyButton:"PRIMJENI",depositPeriod:"Mjesečno ograničenje uplate",TCpart1:'Klikom na "Zadrži trenutno ograničenje" ili "Primijeni" potvrđujem da sam pročitao i prihvaćam',TClink:"Opći uvjeti poslovanja",TCpart2:"Također imajte na umu našu",PPlink:"Politiku privatnosti",depositLimit:"Postavljeno ograničenje uplate",successful:"Uspješno!",successDescription:"Ograničenje uplate je uspješno postavljeno. Svojim ograničenjima možete upravljati u bilo kojem trenutku u postavkama računa.",kyc1Part1:"Uspjeli smo postaviti vaše mjesečno ograničenje uplate na",kyc1Part2:"Kako bi povećali ograničenje na željeni iznos",kycButton:"UČITAJ DOKUMENTE",closeButton:"ZATVORI",depositError:"Pogreška ažuriranja ograničenja uplate",errorDescription:"Trenutačno nismo mogli postaviti vaše ograničenje",docsRequired:"Potrebni dokumenti!",kyc2:"Za odabrano ograničenje"},sl:{loading:"Nalaga...",setLimit:"Določi limit",setLimitDescription:"V Nemčiji je zakonsko predpisano, da določite mesečni vplačilni limit.",lugasInfo1:"Vprašanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"Ohranite obstoječi limit",keepCurrentLimitButton:"Novi limit",applyButton:"Uporabi",depositPeriod:"Mesečni vplačilni limit",TCpart1:"S klikom na „ohranite obstoječi limit“ ali „prevzem“ potrjujem, da sem prebral-a",TClink:"Splošna pravila in pogoji",TCpart2:"Preverite tudi na naš",PPlink:"Pravila o zasebnosti",depositLimit:"Uspešno",successful:"Uspešno",successDescription:"Vplačilni limit je bil uspešno postavljen. Limiti se lahko kadar koli prilagodijo v nastavitvah stavnega računa.",kyc1Part1:"Mesečni vplačilni limit smo lahko nastavili na",kyc1Part2:"Da bi povečali limit na želeni znesek, prosimo, da nam posredujete relevantne informacije. Te informacije lahko naložite pod prenos dokumentov.",kycButton:"Naložite dokumenteS",closeButton:"Zapri",depositError:"Nekaj je šlo narobe. Prosim poskusite ponovno.",errorDescription:"Nekaj je šlo narobe. Prosim poskusite ponovno.",docsRequired:"Documents required!",kyc2:"Za izbrani limit, potrebujemo dokumente, ki prikazujejo vašo ekonomsko stanje. Prosimo naložite vašo zadnjo plačilno listo in zadnji bančni izpisek, vključno s prikazom dobroimetja, ki prikazuje, da ste prejeli plačilo."},pl:{loading:"Ładowanie...",setLimit:"Ustaw limit",setLimitDescription:"W Niemczech istnieje prawny obowiązek ustalenia miesięcznego limitu wpłat.",lugasInfo1:"Jakieś pytania? Informacja o",lugasInfo2:"LUGAS",keepCurrentLimit:"Zachowaj obecny limit",keepCurrentLimitButton:"Nowy limit",applyButton:"Zastosuj",depositPeriod:"Miesięczny limit wpłat",TCpart1:'Klikając na "Zachowaj obecny limit" lub "Zastosuj", potwierdzam, że przeczytałem i akceptuję',TClink:"Ogólne warunki handlowe",TCpart2:"Zapoznaj się również z naszą",PPlink:"Polityka prywatności",depositLimit:"Zakończone powodzeniem",successful:"Zakończone powodzeniem",successDescription:"Limit wpłat ustawiony pomyślnie. Możesz zarządzać limitami w dowolnym momencie w ustawieniach konta.",kyc1Part1:"Udało nam się ustawić Twój miesięczny limit wpłat na",kyc1Part2:"Aby zwiększyć limit żądanej kwoty, prosimy o podanie nam odpowiednich informacji. Informacje te można przesłać w przesyłaniu dokumentu.",kycButton:"Wczytywanie dokumentów",closeButton:"zamknij",depositError:"Coś poszło nie tak. Proszę spróbuj ponownie.",errorDescription:"Coś poszło nie tak. Proszę spróbuj ponownie.",docsRequired:"Documents required!",kyc2:"Do wybranego limitu potrzebujemy dokumentów potwierdzających Państwa sytuację finansową. Prosimy o przesłanie ostatniego odcinka wypłaty oraz aktualnego wyciągu bankowego, na którym widnieje stan konta i przychodzące wynagrodzenie."},es:{loading:"Cargando...",setLimit:"Establece un límite",setLimitDescription:"En Alemania",lugasInfo1:"Alguna pregunta? Información sobre",lugasInfo2:"LUGAS",keepCurrentLimit:"MANTENER LÍMITE ACTUAL",keepCurrentLimitButton:"NUEVO LÍMITE",applyButton:"APLICAR",depositPeriod:"Límite Mensual de depósitos",TCpart1:'Dando clic en "Mantener límite actual" o "Aplicar" yo confirmo que he leido y aceptado los',TClink:"Términos y Condiciones Generales",TCpart2:"También note nuestra",PPlink:"Politica de Privacidad",depositLimit:"Límite de depósito establecido",successful:"Exitoso!",successDescription:"El límite de depósito se ha establecido con éxito. Puede administrar sus límites en cualquier momento en la confirguración de la cuenta.",kyc1Part1:"Pudimos estabelecer tu límite de deposito mensual en",kyc1Part2:"Para aumentar el límite a la cantidad deseada",kycButton:"SUBIR DOCUMENTOS / ADJUNTAR DOCUMENTOS",closeButton:"CERRAR",depositError:"Error en actualización de límite de depósito",errorDescription:"No pudimos actualizar tu límite en este momento.",docsRequired:"Documentos requeridos!",kyc2:"Para el límite seleccionado."},"pt-br":{Loading:"Carregando, por favor espere...",setLimit:"Definir limite",setLimitDescription:'Na Alemanha, por lei é obrigatório estabelecer um limite de depósito mensal, portanto",Pedimos que você confirme o limite existente ou defina um novo para aproveitar o jogo sem restrições.',lugasInfo1:"Dúvidas? Informação sobre",lugasInfo2:"LUGARES",keepCurrentLimit:"MANTENHA O LIMITE ATUAL",keepCurrentLimitButton:"NOVO LIMITE",applyButton:"APLICAR",depositPeriod:"LIMITE DE DEPÓSITO MENSAL",TCpart1:'Ao selecionar ""manter limite atual"" ou ""aplicar"", confirmo que aceitei o"',TClink:"Termos e Condições Gerais",TCpart2:'Por favor, leve também em consideração o nosso"',PPlink:"Política de privacidade",depositLimit:"Limite de depósito fixo",successful:"Operação bem-sucedida",successDescription:"O limite de depósito foi definido com sucesso. Você pode gerenciar seus limites a qualquer momento na seção Configurações da sua conta.",kyc1Part1:"Conseguimos definir seu limite de depósito mensal para",kyc1Part2:"Para aumentar o limite de depósito mensal,Pedimos que você compartilhe-nos informações relevantes. Essas informações podem ser enviadas na seção de upload de arquivos na página",kycButton:"FAZER UPLOAD DE ARQUIVOS",closeButton:"Data",depositError:"Erro de atualização do limite de depósito",errorDescription:"Não foi possível atualizar seu limite neste momento,devido a um erro no servidor. Tente mais tarde",docsRequired:"Documentos requeridos",kyc2:'Para o limite selecionado," Exigimos documentos que comprovem sua situação financeira. Envie seu recibo de pagamento mais recente, bem como um extrato bancário atual",mostrando o saldo da sua conta e o depósito do seu salário.'},"es-mx":{Loading:"Cargando, por favor espere...",setLimit:"Fijar límite",setLimitDescription:'En Alemania,"por ley se requiere fijar un límite de depósito mensual, por lo tanto", le pedimos confirme el límite existente o establezca uno nuevo para disfrutar el juego sin restricciones.',lugasInfo1:"¿Alguna pregunta? Información acerca de",lugasInfo2:"LUGAS",keepCurrentLimit:"MANTENER EL LÍMITE ACTUAL",keepCurrentLimitButton:"LÍMITE NUEVO",applyButton:"APLICAR",depositPeriod:"LÍMITE DE DEPÓSITO MENSUAL",TClink:"Términos y condiciones generales",TCpart2:"Por favor también tome en cuenta nuestra",PPlink:"Política de privacidad",depositLimit:"Límite de depósito fijado",successful:"Operación exitosa",successDescription:"El límite depósito se ha fijado exitosamente. Puede manejar sus límites en cualquier momento en la sección de Ajustes de su cuenta.",kyc1Part1:"Pudimos fijar su límite de depósito mensual a",kyc1Part2:"Para poder incrementar el límite de depósito mensual,le pedimos nos comparta la información relevante . Esta información puede ser enviada en la sección para subir archivos en la página",kycButton:"SUBIR ARCHIVOS",closeButton:"CERRAR",depositError:"Error de actualización de límite de depósito",errorDescription:"No pudimos actualizar su límite en este momento,debido a un error del servidor. Intente más tarde",docsRequired:"Documentos requeridos",kyc2:"Para el límite seleccionado, requerimos documentos que muestren su situación financiera. Por favor suba su último talón de pago al igual que un estado de cuenta bancario actual, que muestre el balance de su cuenta y el depósito de su salario."},tr:{loading:"Yükleniyor lütfen bekleyin...",setLimit:"Bir sınır belirleyin",setLimitDescription:"Almanya'da yasal olarak aylık bir para yatırma limiti belirlemeniz gerekmektedir. Bu nedenle kısıtlama olmadan oyun keyfini yaşayabilmeniz için mevcut limitinizi onaylamanızı veya yeni bir limit belirlemenizi rica ediyoruz.",lugasInfo1:"Sorusu olan? Hakkında bilgi",lugasInfo2:"LUGAS",keepCurrentLimit:"MEVCUT LİMİTİ TUTUN",keepCurrentLimitButton:"YENİ LİMİT",applyButton:"UYGULA",depositPeriod:"Aylık para yatırma limiti",TCpart1:"Mevcut limiti koru veya Uygula seçeneğini tıklayarak okuduğumu ve kabul ettiğimi onaylıyorum",TClink:"Genel Şartlar ve Koşullar",TCpart2:"Ayrıca şunu da not edin:",PPlink:"Gizlilik Politikası",depositLimit:"Para Yatırma Limiti belirlendi",successful:"Başarılı!",successDescription:"Para yatırma limiti başarıyla belirlendi. Limitlerinizi istediğiniz zaman hesap ayarlarından yönetebilirsiniz.",kyc1Part1:"Aylık para yatırma limitinizi şu şekilde ayarlayabildik:",kyc1Part2:"Limitin istenilen tutara yükseltilebilmesi için ilgili bilgileri tarafımıza iletmenizi rica ederiz. Bu bilgi belge yüklemede gönderilebilir.",kycButton:"BELGELERİ YÜKLE",closeButton:"KAPALI",depositError:"Para Yatırma Limiti güncelleme hatası",errorDescription:"Sunucu hatası nedeniyle şu anda sınırınızı belirleyemedik. Lütfen daha sonra tekrar deneyiniz.",docsRequired:"Gerekli belgeler!",kyc2:"Seçilen limit için mali durumunuzu gösteren belgelere ihtiyacımız var. Lütfen son maaş bordronuzu ve hesap bakiyenizi ve maaş ödemenizi aldığınızı gösteren güncel banka ekstrenizi yükleyin."}},{document:jr}=ki;function Gr(e){Ci(e,"svelte-1jw4gf9",':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(--emw--color-black, #000000);color:var(--emw--color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emw--color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}')}function $r(e){let t;function i(o,l){if(o[10]==="initial")return Wr;if(o[10]==="successful")return qr;if(o[10]==="KYC")return Xr;if(o[10]==="KYC2")return Vr;if(o[10]==="error")return Fr}let n=i(e),r=n&&n(e);return{c(){t=y("div"),r&&r.c(),c(t,"class","InitialWrapper")},m(o,l){x(o,t,l),r&&r.m(t,null)},p(o,l){n===(n=i(o))&&r?r.p(o,l):(r&&r.d(1),r=n&&n(o),r&&(r.c(),r.m(t,null)))},d(o){o&&v(t),r&&r.d()}}}function zr(e){let t,i=e[12]("loading")+"",n;return{c(){t=y("p"),n=B(i)},m(r,o){x(r,t,o),p(t,n)},p(r,o){o[0]&4096&&i!==(i=r[12]("loading")+"")&&k(n,i)},d(r){r&&v(t)}}}function Fr(e){let t,i=e[12]("depositError")+"",n,r,o,l,s,u=e[12]("errorDescription")+"",a,h,f,m=e[12]("closeButton")+"",b,E,_;return{c(){t=y("p"),n=B(i),r=M(),o=y("div"),o.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>',l=M(),s=y("p"),a=B(u),h=M(),f=y("button"),b=B(m),c(t,"class","Title"),c(o,"class","ResultIconWrapper"),c(s,"class","Description CenterAlign"),c(f,"class","ConfirmButton SecondaryButtonStyle")},m(g,T){x(g,t,T),p(t,n),x(g,r,T),x(g,o,T),x(g,l,T),x(g,s,T),p(s,a),x(g,h,T),x(g,f,T),p(f,b),E||(_=Z(f,"click",e[36]),E=!0)},p(g,T){T[0]&4096&&i!==(i=g[12]("depositError")+"")&&k(n,i),T[0]&4096&&u!==(u=g[12]("errorDescription")+"")&&k(a,u),T[0]&4096&&m!==(m=g[12]("closeButton")+"")&&k(b,m)},d(g){g&&(v(t),v(r),v(o),v(l),v(s),v(h),v(f)),E=!1,_()}}}function Vr(e){let t,i=e[12]("docsRequired")+"",n,r,o,l,s,u,a,h,f,m=e[12]("docsRequired")+"",b,E,_,g=e[12]("kyc2")+"",T,N,P,R=e[12]("kycButton")+"",C,U,F,O=e[12]("closeButton")+"",j,S,W;return{c(){t=y("p"),n=B(i),r=M(),o=y("div"),l=y("div"),s=J("svg"),u=J("g"),a=J("path"),h=M(),f=y("p"),b=B(m),E=M(),_=y("p"),T=B(g),N=M(),P=y("button"),C=B(R),U=M(),F=y("button"),j=B(O),c(t,"class","Title"),c(a,"id","XMLID_6_"),c(a,"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
|
|
4
4
|
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
|
|
5
5
|
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
|
|
6
|
-
h256.5v-82.1H429v366.5H429.9z`),c(u,"id","XMLID_1_"),c(s,"version","1.1"),c(s,"id","Layer_1"),c(s,"xmlns","http://www.w3.org/2000/svg"),c(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),c(s,"x","0px"),c(s,"y","0px"),c(s,"viewBox","0 0 512 512"),Ce(s,"enable-background","new 0 0 512 512"),c(s,"xml:space","preserve"),c(l,"class","ResultIconWrapper"),c(_,"class","Description CenterAlign"),c(o,"class","DescriptionWrapper"),c(P,"class","KycButton PrimaryButtonStyle"),c(F,"class","ConfirmButton SecondaryButtonStyle")},m(L,G){x(L,t,G),p(t,n),x(L,r,G),x(L,o,G),p(o,l),p(l,s),p(s,u),p(u,a),p(l,h),p(l,f),p(f,b),p(o,E),p(o,_),p(_,T),x(L,N,G),x(L,P,G),p(P,C),x(L,U,G),x(L,F,G),p(F,j),S||(W=[Z(P,"click",e[34]),Z(F,"click",e[35])],S=!0)},p(L,G){G[0]&4096&&i!==(i=L[12]("docsRequired")+"")&&
|
|
6
|
+
h256.5v-82.1H429v366.5H429.9z`),c(u,"id","XMLID_1_"),c(s,"version","1.1"),c(s,"id","Layer_1"),c(s,"xmlns","http://www.w3.org/2000/svg"),c(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),c(s,"x","0px"),c(s,"y","0px"),c(s,"viewBox","0 0 512 512"),Ce(s,"enable-background","new 0 0 512 512"),c(s,"xml:space","preserve"),c(l,"class","ResultIconWrapper"),c(_,"class","Description CenterAlign"),c(o,"class","DescriptionWrapper"),c(P,"class","KycButton PrimaryButtonStyle"),c(F,"class","ConfirmButton SecondaryButtonStyle")},m(L,G){x(L,t,G),p(t,n),x(L,r,G),x(L,o,G),p(o,l),p(l,s),p(s,u),p(u,a),p(l,h),p(l,f),p(f,b),p(o,E),p(o,_),p(_,T),x(L,N,G),x(L,P,G),p(P,C),x(L,U,G),x(L,F,G),p(F,j),S||(W=[Z(P,"click",e[34]),Z(F,"click",e[35])],S=!0)},p(L,G){G[0]&4096&&i!==(i=L[12]("docsRequired")+"")&&k(n,i),G[0]&4096&&m!==(m=L[12]("docsRequired")+"")&&k(b,m),G[0]&4096&&g!==(g=L[12]("kyc2")+"")&&k(T,g),G[0]&4096&&R!==(R=L[12]("kycButton")+"")&&k(C,R),G[0]&4096&&O!==(O=L[12]("closeButton")+"")&&k(j,O)},d(L){L&&(v(t),v(r),v(o),v(N),v(P),v(U),v(F)),S=!1,ue(W)}}}function Xr(e){let t,i=e[12]("depositLimit")+"",n,r,o,l,s,u,a,h,f,m=e[12]("successful")+"",b,E,_,g=e[12]("kyc1Part1")+"",T,N,P,R,C=e[12]("kyc1Part2")+"",U,F,O,j=e[12]("kycButton")+"",S,W,L,G=e[12]("closeButton")+"",ie,ne,ae;return{c(){t=y("p"),n=B(i),r=M(),o=y("div"),l=y("div"),s=J("svg"),u=J("g"),a=J("path"),h=M(),f=y("p"),b=B(m),E=M(),_=y("p"),T=B(g),N=B(e[11]),P=M(),R=B(e[0]),U=B(C),F=M(),O=y("button"),S=B(j),W=M(),L=y("button"),ie=B(G),c(t,"class","Title"),c(a,"id","XMLID_6_"),c(a,"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
|
|
7
7
|
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
|
|
8
8
|
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
|
|
9
|
-
h256.5v-82.1H429v366.5H429.9z`),c(u,"id","XMLID_1_"),c(s,"version","1.1"),c(s,"id","Layer_1"),c(s,"xmlns","http://www.w3.org/2000/svg"),c(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),c(s,"x","0px"),c(s,"y","0px"),c(s,"viewBox","0 0 512 512"),Ce(s,"enable-background","new 0 0 512 512"),c(s,"xml:space","preserve"),c(l,"class","ResultIconWrapper"),c(_,"class","Description CenterAlign"),c(o,"class","DescriptionWrapper"),c(O,"class","KycButton PrimaryButtonStyle"),c(L,"class","ConfirmButton SecondaryButtonStyle")},m(V,$){x(V,t,$),p(t,n),x(V,r,$),x(V,o,$),p(o,l),p(l,s),p(s,u),p(u,a),p(l,h),p(l,f),p(f,b),p(o,E),p(o,_),p(_,T),p(_,N),p(_,P),p(_,R),p(_,U),x(V,F,$),x(V,O,$),p(O,S),x(V,W,$),x(V,L,$),p(L,ie),ne||(ae=[Z(O,"click",e[32]),Z(L,"click",e[33])],ne=!0)},p(V,$){$[0]&4096&&i!==(i=V[12]("depositLimit")+"")&&
|
|
10
|
-
`),f=J("g"),m=J("polygon"),b=M(),E=y("p"),g=B(_),T=M(),N=y("p"),R=B(P),C=M(),U=y("button"),U.textContent="OK",c(t,"class","Title"),c(a,"type","text/css"),c(m,"class","fil0"),c(m,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),c(s,"xmlns","http://www.w3.org/2000/svg"),c(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),c(s,"xml:space","preserve"),c(s,"version","1.1"),Ce(s,"shape-rendering","geometricPrecision"),Ce(s,"text-rendering","geometricPrecision"),Ce(s,"image-rendering","optimizeQuality"),c(s,"viewBox","0 0 90 69"),c(s,"x","0px"),c(s,"y","0px"),c(s,"fill-rule","evenodd"),c(s,"clip-rule","evenodd"),c(l,"class","ResultIconWrapper"),c(N,"class","Description CenterAlign"),c(o,"class","DescriptionWrapper"),c(U,"class","ConfirmButton PrimaryButtonStyle")},m(j,S){x(j,t,S),p(t,n),x(j,r,S),x(j,o,S),p(o,l),p(l,s),p(s,u),p(u,a),p(a,h),p(s,f),p(f,m),p(l,b),p(l,E),p(E,g),p(o,T),p(o,N),p(N,R),x(j,C,S),x(j,U,S),F||(O=Z(U,"click",e[31]),F=!0)},p(j,S){S[0]&4096&&i!==(i=j[12]("depositLimit")+"")&&
|
|
9
|
+
h256.5v-82.1H429v366.5H429.9z`),c(u,"id","XMLID_1_"),c(s,"version","1.1"),c(s,"id","Layer_1"),c(s,"xmlns","http://www.w3.org/2000/svg"),c(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),c(s,"x","0px"),c(s,"y","0px"),c(s,"viewBox","0 0 512 512"),Ce(s,"enable-background","new 0 0 512 512"),c(s,"xml:space","preserve"),c(l,"class","ResultIconWrapper"),c(_,"class","Description CenterAlign"),c(o,"class","DescriptionWrapper"),c(O,"class","KycButton PrimaryButtonStyle"),c(L,"class","ConfirmButton SecondaryButtonStyle")},m(V,$){x(V,t,$),p(t,n),x(V,r,$),x(V,o,$),p(o,l),p(l,s),p(s,u),p(u,a),p(l,h),p(l,f),p(f,b),p(o,E),p(o,_),p(_,T),p(_,N),p(_,P),p(_,R),p(_,U),x(V,F,$),x(V,O,$),p(O,S),x(V,W,$),x(V,L,$),p(L,ie),ne||(ae=[Z(O,"click",e[32]),Z(L,"click",e[33])],ne=!0)},p(V,$){$[0]&4096&&i!==(i=V[12]("depositLimit")+"")&&k(n,i),$[0]&4096&&m!==(m=V[12]("successful")+"")&&k(b,m),$[0]&4096&&g!==(g=V[12]("kyc1Part1")+"")&&k(T,g),$[0]&2048&&k(N,V[11]),$[0]&1&&k(R,V[0]),$[0]&4096&&C!==(C=V[12]("kyc1Part2")+"")&&k(U,C),$[0]&4096&&j!==(j=V[12]("kycButton")+"")&&k(S,j),$[0]&4096&&G!==(G=V[12]("closeButton")+"")&&k(ie,G)},d(V){V&&(v(t),v(r),v(o),v(F),v(O),v(W),v(L)),ne=!1,ue(ae)}}}function qr(e){let t,i=e[12]("depositLimit")+"",n,r,o,l,s,u,a,h,f,m,b,E,_=e[12]("successful")+"",g,T,N,P=e[12]("successDescription")+"",R,C,U,F,O;return{c(){t=y("p"),n=B(i),r=M(),o=y("div"),l=y("div"),s=J("svg"),u=J("defs"),a=J("style"),h=B(`.fil0 {fill:black;fill-rule:nonzero}
|
|
10
|
+
`),f=J("g"),m=J("polygon"),b=M(),E=y("p"),g=B(_),T=M(),N=y("p"),R=B(P),C=M(),U=y("button"),U.textContent="OK",c(t,"class","Title"),c(a,"type","text/css"),c(m,"class","fil0"),c(m,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),c(s,"xmlns","http://www.w3.org/2000/svg"),c(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),c(s,"xml:space","preserve"),c(s,"version","1.1"),Ce(s,"shape-rendering","geometricPrecision"),Ce(s,"text-rendering","geometricPrecision"),Ce(s,"image-rendering","optimizeQuality"),c(s,"viewBox","0 0 90 69"),c(s,"x","0px"),c(s,"y","0px"),c(s,"fill-rule","evenodd"),c(s,"clip-rule","evenodd"),c(l,"class","ResultIconWrapper"),c(N,"class","Description CenterAlign"),c(o,"class","DescriptionWrapper"),c(U,"class","ConfirmButton PrimaryButtonStyle")},m(j,S){x(j,t,S),p(t,n),x(j,r,S),x(j,o,S),p(o,l),p(l,s),p(s,u),p(u,a),p(a,h),p(s,f),p(f,m),p(l,b),p(l,E),p(E,g),p(o,T),p(o,N),p(N,R),x(j,C,S),x(j,U,S),F||(O=Z(U,"click",e[31]),F=!0)},p(j,S){S[0]&4096&&i!==(i=j[12]("depositLimit")+"")&&k(n,i),S[0]&4096&&_!==(_=j[12]("successful")+"")&&k(g,_),S[0]&4096&&P!==(P=j[12]("successDescription")+"")&&k(R,P)},d(j){j&&(v(t),v(r),v(o),v(C),v(U)),F=!1,O()}}}function Wr(e){let t,i=e[12]("setLimit")+"",n,r,o,l=e[12]("setLimitDescription")+"",s,u,a,h=e[12]("lugasInfo1")+"",f,m,b,E=e[12]("lugasInfo2")+"",_,g,T,N=e[12]("keepCurrentLimit")+"",P,R,C,U=e[12]("keepCurrentLimitButton")+"",F,O,j,S,W,L,G,ie,ne=e[12]("depositPeriod")+"",ae,V,$,ee,Re,re,pe=e[12]("applyButton")+"",Ae,Se,Y,me=e[12]("TCpart1")+"",Ie,he,de=e[12]("TClink")+"",He,Ue,d=e[12]("TCpart2")+"",X,Q,ce,oe=e[12]("PPlink")+"",Qe,wt,Ke,Bt;return{c(){t=y("p"),n=B(i),r=M(),o=y("p"),s=B(l),u=M(),a=y("p"),f=B(h),m=M(),b=y("button"),_=B(E),g=M(),T=y("button"),P=B(N),R=M(),C=y("button"),F=B(U),O=J("svg"),j=J("path"),S=J("path"),W=M(),L=y("div"),G=y("div"),ie=y("span"),ae=B(ne),V=M(),$=y("div"),ee=y("input"),Re=M(),re=y("button"),Ae=B(pe),Se=M(),Y=y("p"),Ie=B(me),he=y("button"),He=B(de),Ue=M(),X=B(d),Q=M(),ce=y("button"),Qe=B(oe),wt=B("."),c(t,"class","Title"),c(o,"class","Description LeftAlign"),c(b,"class","LinkButton"),c(a,"class","AdditionalInformation"),c(T,"class","KeepCurrentButton PrimaryButtonStyle"),c(j,"d","M10.5 15l7.5 7.5 7.5-7.5z"),c(S,"d","M0 0h36v36h-36z"),c(S,"fill","none"),c(O,"class","ExpandArrow"),c(O,"xmlns","http://www.w3.org/2000/svg"),c(O,"width","36"),c(O,"height","36"),c(O,"viewBox","0 0 36 36"),c(O,"fill","#999"),je(O,"Extended",e[5]),c(C,"class","ExpandButton"),c(ie,"class","DepositPeriodText"),c(G,"class","DepositTextSection"),c(ee,"type","number"),c(ee,"class","DepositInput"),c(re,"type","submit"),c(re,"class","SubmitDepositButton PrimaryButtonStyle"),re.disabled=!0,c($,"class","DepositInputSection"),c(L,"class","SetLimitSection"),je(L,"Hidden",e[4]),c(he,"class","LinkButton"),c(ce,"class","LinkButton"),c(Y,"class","TermsConditions")},m(I,D){x(I,t,D),p(t,n),x(I,r,D),x(I,o,D),p(o,s),x(I,u,D),x(I,a,D),p(a,f),p(a,m),p(a,b),p(b,_),x(I,g,D),x(I,T,D),p(T,P),x(I,R,D),x(I,C,D),p(C,F),p(C,O),p(O,j),p(O,S),e[25](O),x(I,W,D),x(I,L,D),p(L,G),p(G,ie),p(ie,ae),p(L,V),p(L,$),p($,ee),kt(ee,e[6]),p($,Re),p($,re),p(re,Ae),e[27](re),x(I,Se,D),x(I,Y,D),p(Y,Ie),p(Y,he),p(he,He),p(Y,Ue),p(Y,X),p(Y,Q),p(Y,ce),p(ce,Qe),p(Y,wt),Ke||(Bt=[Z(b,"click",e[23]),Z(T,"click",e[24]),Z(C,"click",e[13]),Z(ee,"input",e[26]),Z(ee,"keyup",e[14]),Z(re,"click",e[28]),Z(he,"click",e[29]),Z(ce,"click",e[30])],Ke=!0)},p(I,D){D[0]&4096&&i!==(i=I[12]("setLimit")+"")&&k(n,i),D[0]&4096&&l!==(l=I[12]("setLimitDescription")+"")&&k(s,l),D[0]&4096&&h!==(h=I[12]("lugasInfo1")+"")&&k(f,h),D[0]&4096&&E!==(E=I[12]("lugasInfo2")+"")&&k(_,E),D[0]&4096&&N!==(N=I[12]("keepCurrentLimit")+"")&&k(P,N),D[0]&4096&&U!==(U=I[12]("keepCurrentLimitButton")+"")&&k(F,U),D[0]&32&&je(O,"Extended",I[5]),D[0]&4096&&ne!==(ne=I[12]("depositPeriod")+"")&&k(ae,ne),D[0]&64&&Qt(ee.value)!==I[6]&&kt(ee,I[6]),D[0]&4096&&pe!==(pe=I[12]("applyButton")+"")&&k(Ae,pe),D[0]&16&&je(L,"Hidden",I[4]),D[0]&4096&&me!==(me=I[12]("TCpart1")+"")&&k(Ie,me),D[0]&4096&&de!==(de=I[12]("TClink")+"")&&k(He,de),D[0]&4096&&d!==(d=I[12]("TCpart2")+"")&&k(X,d),D[0]&4096&&oe!==(oe=I[12]("PPlink")+"")&&k(Qe,oe)},d(I){I&&(v(t),v(r),v(o),v(u),v(a),v(g),v(T),v(R),v(C),v(W),v(L),v(Se),v(Y)),e[25](null),e[27](null),Ke=!1,ue(Bt)}}}function Zr(e){let t,i,n,r,o,l;function s(h,f){if(h[7])return zr;if(h[1])return $r}let u=s(e),a=u&&u(e);return{c(){t=y("meta"),i=M(),n=y("div"),r=y("div"),o=y("div"),l=y("div"),a&&a.c(),c(t,"name","viewport"),c(t,"content","width=device-width, initial-scale=1"),c(l,"class","ModalContainer"),c(o,"class","Overlay"),c(r,"class","player-account-gaming-limits-popup-2")},m(h,f){p(jr.head,t),x(h,i,f),x(h,n,f),p(n,r),p(r,o),p(o,l),a&&a.m(l,null),e[37](r),e[38](n)},p(h,f){u===(u=s(h))&&a?a.p(h,f):(a&&a.d(1),a=u&&u(h),a&&(a.c(),a.m(l,null)))},i:te,o:te,d(h){h&&(v(i),v(n)),v(t),a&&a.d(),e[37](null),e[38](null)}}}function Jr(e,t,i){let n;Hi(e,Rr,d=>i(12,n=d));let{userid:r=""}=t,{session:o=""}=t,{endpoint:l=""}=t,{currency:s=""}=t,{lang:u=""}=t,{translationurl:a=""}=t,{clientstyling:h=""}=t,{clientstylingurl:f=""}=t,m,b,E=!0,_=!1,g,T=!1,N,P,R="initial",C;const U=()=>{fetch(a).then(X=>X.json()).then(X=>{Object.keys(X).forEach(Q=>{qt(Q,X[Q])})}).catch(X=>{console.log(X)})};Object.keys(Wt).forEach(d=>{qt(d,Wt[d])});const F=()=>{i(5,_=!_),i(4,E=!E)},O=()=>{P.parentNode.removeChild(P)},j=()=>{g>999999999999999&&i(6,g=999999999999999);const X=g-Math.floor(g)===0;g>0&&X?N.removeAttribute("disabled"):N.setAttribute("disabled","true")},S=d=>{switch(window.postMessage({type:d},window.location.href),d){case"closePopup":case"uploadDocuments":O();break}},W=d=>{const X=new URL(`/v1/player/${r}/limit/lugas`,l);let Q={};i(7,T=!0),Q=d==="custom"?{amount:g}:{};let ce={method:"POST",headers:{"X-SessionID":o,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(Q)};fetch(X.href,ce).then(oe=>oe.json()).then(oe=>{L(oe)}).catch(oe=>{console.log(oe)}).finally(()=>{i(7,T=!1)})},L=d=>{if(d.hasOwnProperty("kycNeeded"))switch(d.popup){case 1:i(10,R="KYC"),i(11,C=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(d.operatorDepositLimitAmount));break;case 2:i(10,R="successful");break;case 3:i(10,R="KYC2");break}else i(10,R="error")},G=()=>{Ur(u)},ie=()=>{let d=document.createElement("style");d.innerHTML=h,m.appendChild(d)},ne=()=>{let d=new URL(f),X=document.createElement("style");fetch(d.href).then(Q=>Q.text()).then(Q=>{X.innerHTML=Q,setTimeout(()=>{m.appendChild(X)},1)})},ae=()=>S("lugasInformation"),V=()=>W("default");function $(d){ve[d?"unshift":"push"](()=>{b=d,i(3,b)})}function ee(){g=Qt(this.value),i(6,g)}function Re(d){ve[d?"unshift":"push"](()=>{N=d,i(8,N)})}const re=()=>W("custom"),pe=()=>S("termsConditions"),Ae=()=>S("privacyPolicy"),Se=()=>S("closePopup"),Y=()=>S("uploadDocuments"),me=()=>S("closePopup"),Ie=()=>S("uploadDocuments"),he=()=>S("closePopup"),de=()=>S("closePopup");function He(d){ve[d?"unshift":"push"](()=>{P=d,i(9,P)})}function Ue(d){ve[d?"unshift":"push"](()=>{m=d,i(2,m)})}return e.$$set=d=>{"userid"in d&&i(17,r=d.userid),"session"in d&&i(18,o=d.session),"endpoint"in d&&i(19,l=d.endpoint),"currency"in d&&i(0,s=d.currency),"lang"in d&&i(1,u=d.lang),"translationurl"in d&&i(20,a=d.translationurl),"clientstyling"in d&&i(21,h=d.clientstyling),"clientstylingurl"in d&&i(22,f=d.clientstylingurl)},e.$$.update=()=>{e.$$.dirty[0]&2&&u&&G(),e.$$.dirty[0]&4194308&&f&&m&&ne(),e.$$.dirty[0]&2097156&&h&&m&&ie(),e.$$.dirty[0]&1048576&&a&&U()},[s,u,m,b,E,_,g,T,N,P,R,C,n,F,j,S,W,r,o,l,a,h,f,ae,V,$,ee,Re,re,pe,Ae,Se,Y,me,Ie,he,de,He,Ue]}class Pi extends Zi{constructor(t){super(),qi(this,t,Jr,Zr,Jt,{userid:17,session:18,endpoint:19,currency:0,lang:1,translationurl:20,clientstyling:21,clientstylingurl:22},Gr,[-1,-1])}get userid(){return this.$$.ctx[17]}set userid(t){this.$$set({userid:t}),se()}get session(){return this.$$.ctx[18]}set session(t){this.$$set({session:t}),se()}get endpoint(){return this.$$.ctx[19]}set endpoint(t){this.$$set({endpoint:t}),se()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),se()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),se()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),se()}get clientstyling(){return this.$$.ctx[21]}set clientstyling(t){this.$$set({clientstyling:t}),se()}get clientstylingurl(){return this.$$.ctx[22]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),se()}}Wi(Pi,{userid:{},session:{},endpoint:{},currency:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=Pi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountGamingLimitsPopup2
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountGamingLimitsPopup2-DnalozRf.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-popup-2")&&customElements.define("player-account-gaming-limits-popup-2",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimitsPopup2-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimitsPopup2-BkyBDfvs.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-account-gaming-limits-popup-2") && customElements.define("player-account-gaming-limits-popup-2", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED