@everymatrix/player-account-controller 1.45.0 → 1.45.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-PMsAgsr8.js → GeneralLogout-DR-XxT8N.js} +245 -245
- package/components/{GeneralLogout-WbaN9lE3.cjs → GeneralLogout-bc8vhI_H.cjs} +5 -5
- package/components/PlayerAccountBettingHistory-BK6xPWSw.cjs +1 -0
- package/components/PlayerAccountBettingHistory-fca6lsNS.js +328 -0
- package/components/PlayerAccountBiometrics-C-3zrtyy.cjs +1 -0
- package/components/PlayerAccountBiometrics-CjiFJhw-.js +300 -0
- package/components/PlayerAccountClosure-C8BNtCld.cjs +1 -0
- package/components/PlayerAccountClosure-jv1Rveed.js +339 -0
- package/components/PlayerAccountController-B5GxyiMU.cjs +1 -0
- package/components/{PlayerAccountController-DRQpN2gW.js → PlayerAccountController-BJBxx9xW.js} +1973 -1973
- package/components/{PlayerAccountGamingLimits-BnH1h5ZI.js → PlayerAccountGamingLimits-D3HbxASA.js} +183 -183
- package/components/PlayerAccountGamingLimits-a_ERECbs.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-D0i0fMnV.js +306 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-l6qA-tGo.cjs +1 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-C0TmN9tW.cjs +10 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-QO4BtCS2.js → PlayerAccountGamingLimitsGroupEdit-Ds0hHVHM.js} +966 -966
- package/components/{PlayerAccountGamingLimitsHistory2-_p2IXses.cjs → PlayerAccountGamingLimitsHistory2-BQABSfo3.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-CJxOlPZu.js → PlayerAccountGamingLimitsHistory2-CMLSdTnW.js} +1 -1
- package/components/PlayerAccountGamingLimitsInfoCard-0xDp-CBL.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-GwIjd7fB.js → PlayerAccountGamingLimitsInfoCard-BBL_jJC8.js} +359 -359
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DcGsK_Nq.js → PlayerAccountGamingLimitsPage2Gm16-B7_BHyXu.js} +851 -851
- package/components/PlayerAccountGamingLimitsPage2Gm16-DSOYjGfv.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsPopup-DO2f_4IF.js → PlayerAccountGamingLimitsPopup-B_VQVAW1.js} +75 -73
- package/components/PlayerAccountGamingLimitsPopup-CRCoJtQR.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2-oY7Nyl9P.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsWrapper2-CQClFTjE.js → PlayerAccountGamingLimitsWrapper2-qU20DTdn.js} +185 -185
- package/components/PlayerAccountMenu-Cguxd1Gn.js +576 -0
- package/components/PlayerAccountMenu-_QF6LQHb.cjs +1 -0
- package/components/{PlayerAccountModal-BPuDqVwe.js → PlayerAccountModal-BpuFEHxz.js} +49 -49
- package/components/PlayerAccountModal-CIR41mpM.cjs +1 -0
- package/components/PlayerAccountNotifications-DNWMsUnC.cjs +1 -0
- package/components/PlayerAccountNotifications-SC-So9Ge.js +261 -0
- package/components/{PlayerAccountSelfExclusion-CA2oAuhb.cjs → PlayerAccountSelfExclusion-DVLlbxoJ.cjs} +125 -125
- package/components/{PlayerAccountSelfExclusion-BR4bl6bz.js → PlayerAccountSelfExclusion-zuKOJE1A.js} +1794 -1794
- package/components/PlayerAccountTimeout-C0nlqzAC.cjs +1 -0
- package/components/{PlayerAccountTimeout-Df9mSPXx.js → PlayerAccountTimeout-CMxX7J1C.js} +106 -106
- package/components/PlayerActiveBonuses-CinsfLQL.js +986 -0
- package/components/PlayerActiveBonuses-bY0Y51Al.cjs +1 -0
- package/components/PlayerBonusCard-CQTRKi8G.js +565 -0
- package/components/PlayerBonusCard-DdxYH7lf.cjs +1 -0
- package/components/PlayerBonusHistory-CnA7jYi8.cjs +1 -0
- package/components/PlayerBonusHistory-Dz9N_GGZ.js +840 -0
- package/components/PlayerChangePassword-B9qM0mFd.js +1161 -0
- package/components/PlayerChangePassword-BDyXZ2_q.cjs +3 -0
- package/components/PlayerDeposit-CYpXuZIT.cjs +1 -0
- package/components/PlayerDeposit-Dvm1Z2l9.js +395 -0
- package/components/PlayerGamingHistory-1wUzXwQ1.js +920 -0
- package/components/PlayerGamingHistory-TcfH2pYz.cjs +1 -0
- package/components/PlayerPendingWithdrawals-DgF86kij.js +307 -0
- package/components/PlayerPendingWithdrawals-Dn63yKxo.cjs +1 -0
- package/components/PlayerProfileInfo-CsWD1vK0.cjs +1 -0
- package/components/PlayerProfileInfo-D-A2kQVn.js +1707 -0
- package/components/PlayerRealityCheck-BaBE_tNE.cjs +1 -0
- package/components/PlayerRealityCheck-gh3vV1ow.js +587 -0
- package/components/PlayerTransactionHistory-DJICk5qY.cjs +1 -0
- package/components/PlayerTransactionHistory-DpPF3FQq.js +311 -0
- package/components/PlayerWithdrawal-BHyCdUgc.js +365 -0
- package/components/PlayerWithdrawal-DuxGAxKs.cjs +1 -0
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/package.json +2 -2
- package/components/PlayerAccountBettingHistory-C5O_N5I6.js +0 -328
- package/components/PlayerAccountBettingHistory-CvFzGDm4.cjs +0 -1
- package/components/PlayerAccountBiometrics--Rc4hXU1.cjs +0 -1
- package/components/PlayerAccountBiometrics-BIZ77T9P.js +0 -300
- package/components/PlayerAccountClosure-DIRkc6kA.cjs +0 -1
- package/components/PlayerAccountClosure-O9rY7FHF.js +0 -339
- package/components/PlayerAccountController-1M1FKlrd.cjs +0 -1
- package/components/PlayerAccountGamingLimits-Dtw0RzGI.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-CHBpCAi7.js +0 -306
- package/components/PlayerAccountGamingLimitsConfirmationModal-Cvsvauqa.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-tfKhIo7R.cjs +0 -10
- package/components/PlayerAccountGamingLimitsInfoCard--AbjEx7s.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16-Dymt7LmL.cjs +0 -21
- package/components/PlayerAccountGamingLimitsPopup-DVEuryoE.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2-BZ-Ax67a.cjs +0 -1
- package/components/PlayerAccountMenu-1kpYtr6Q.cjs +0 -1
- package/components/PlayerAccountMenu-C9YFW_X4.js +0 -576
- package/components/PlayerAccountModal-DpMfe1gv.cjs +0 -1
- package/components/PlayerAccountNotifications-DfLcLCTk.js +0 -261
- package/components/PlayerAccountNotifications-Dwb_RDr0.cjs +0 -1
- package/components/PlayerAccountTimeout-dxzuaoP9.cjs +0 -1
- package/components/PlayerActiveBonuses-BJtk2_80.js +0 -986
- package/components/PlayerActiveBonuses-D0-qI8iz.cjs +0 -1
- package/components/PlayerBonusCard-BoENnXsd.cjs +0 -1
- package/components/PlayerBonusCard-D4MZsrSK.js +0 -565
- package/components/PlayerBonusHistory-3B1tPB8g.cjs +0 -1
- package/components/PlayerBonusHistory-CDA_Ahs-.js +0 -840
- package/components/PlayerChangePassword-C69CRrvS.js +0 -1161
- package/components/PlayerChangePassword-RpQIhFff.cjs +0 -3
- package/components/PlayerDeposit-BK_UhkqG.js +0 -395
- package/components/PlayerDeposit-COhpfcRx.cjs +0 -1
- package/components/PlayerGamingHistory-C8Kvaq7b.cjs +0 -1
- package/components/PlayerGamingHistory-CCSGdevP.js +0 -920
- package/components/PlayerPendingWithdrawals-CVBvRj42.cjs +0 -1
- package/components/PlayerPendingWithdrawals-DIp1o6Bq.js +0 -307
- package/components/PlayerProfileInfo-BeD6hzPW.cjs +0 -1
- package/components/PlayerProfileInfo-CkcYNGGP.js +0 -1707
- package/components/PlayerRealityCheck-B37H9_Rn.cjs +0 -1
- package/components/PlayerRealityCheck-UaRdeADU.js +0 -587
- package/components/PlayerTransactionHistory-CxYO3lnm.cjs +0 -1
- package/components/PlayerTransactionHistory-Da2H2goa.js +0 -311
- package/components/PlayerWithdrawal-DK_JxD9z.js +0 -365
- package/components/PlayerWithdrawal-DYkzBPcQ.cjs +0 -1
|
@@ -27,7 +27,7 @@ var pt = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function B() {
|
|
31
31
|
}
|
|
32
32
|
const Rr = (e) => e;
|
|
33
33
|
function Ur(e, t) {
|
|
@@ -63,7 +63,7 @@ function Ft(e, ...t) {
|
|
|
63
63
|
if (e == null) {
|
|
64
64
|
for (const n of t)
|
|
65
65
|
n(void 0);
|
|
66
|
-
return
|
|
66
|
+
return B;
|
|
67
67
|
}
|
|
68
68
|
const r = e.subscribe(...t);
|
|
69
69
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
@@ -114,10 +114,10 @@ function Po(e) {
|
|
|
114
114
|
return e == null ? "" : e;
|
|
115
115
|
}
|
|
116
116
|
function Oo(e) {
|
|
117
|
-
return e && he(e.destroy) ? e.destroy :
|
|
117
|
+
return e && he(e.destroy) ? e.destroy : B;
|
|
118
118
|
}
|
|
119
119
|
const kt = typeof window != "undefined";
|
|
120
|
-
let Fr = kt ? () => window.performance.now() : () => Date.now(), it = kt ? (e) => requestAnimationFrame(e) :
|
|
120
|
+
let Fr = kt ? () => window.performance.now() : () => Date.now(), it = kt ? (e) => requestAnimationFrame(e) : B;
|
|
121
121
|
const z = /* @__PURE__ */ new Set();
|
|
122
122
|
function Vt(e) {
|
|
123
123
|
z.forEach((t) => {
|
|
@@ -202,12 +202,12 @@ function No(e) {
|
|
|
202
202
|
return t.preventDefault(), e.call(this, t);
|
|
203
203
|
};
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function A(e, t, r) {
|
|
206
206
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
207
207
|
}
|
|
208
208
|
function Mo(e, t, r) {
|
|
209
209
|
const n = t.toLowerCase();
|
|
210
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
210
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : A(e, t, r);
|
|
211
211
|
}
|
|
212
212
|
function $o(e) {
|
|
213
213
|
let t;
|
|
@@ -258,7 +258,7 @@ function Fo(e, t, r) {
|
|
|
258
258
|
function Zr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
259
259
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function qr(e) {
|
|
262
262
|
const t = {};
|
|
263
263
|
return e.childNodes.forEach(
|
|
264
264
|
/** @param {Element} node */
|
|
@@ -269,7 +269,7 @@ function Qr(e) {
|
|
|
269
269
|
}
|
|
270
270
|
const Se = /* @__PURE__ */ new Map();
|
|
271
271
|
let Te = 0;
|
|
272
|
-
function
|
|
272
|
+
function Qr(e) {
|
|
273
273
|
let t = 5381, r = e.length;
|
|
274
274
|
for (; r--; ) t = (t << 5) - t ^ e.charCodeAt(r);
|
|
275
275
|
return t >>> 0;
|
|
@@ -282,13 +282,13 @@ function mt(e, t, r, n, i, o, s, a = 0) {
|
|
|
282
282
|
const u = 16.666 / n;
|
|
283
283
|
let l = `{
|
|
284
284
|
`;
|
|
285
|
-
for (let
|
|
286
|
-
const
|
|
287
|
-
l +=
|
|
285
|
+
for (let x = 0; x <= 1; x += u) {
|
|
286
|
+
const T = t + (r - t) * o(x);
|
|
287
|
+
l += x * 100 + `%{${s(T, 1 - T)}}
|
|
288
288
|
`;
|
|
289
289
|
}
|
|
290
290
|
const h = l + `100% {${s(r, 1 - r)}}
|
|
291
|
-
}`, c = `__svelte_${
|
|
291
|
+
}`, c = `__svelte_${Qr(h)}_${a}`, f = ot(e), { stylesheet: p, rules: d } = Se.get(f) || Jr(f, e);
|
|
292
292
|
d[c] || (d[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
|
|
293
293
|
const m = e.style.animation || "";
|
|
294
294
|
return e.style.animation = `${m ? `${m}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Te += 1, c;
|
|
@@ -323,11 +323,11 @@ const W = [], ke = [];
|
|
|
323
323
|
let Z = [];
|
|
324
324
|
const bt = [], Zt = /* @__PURE__ */ Promise.resolve();
|
|
325
325
|
let Ve = !1;
|
|
326
|
-
function
|
|
326
|
+
function qt() {
|
|
327
327
|
Ve || (Ve = !0, Zt.then(N));
|
|
328
328
|
}
|
|
329
329
|
function ko() {
|
|
330
|
-
return
|
|
330
|
+
return qt(), Zt;
|
|
331
331
|
}
|
|
332
332
|
function we(e) {
|
|
333
333
|
Z.push(e);
|
|
@@ -378,7 +378,7 @@ function nn() {
|
|
|
378
378
|
function Me(e, t, r) {
|
|
379
379
|
e.dispatchEvent(Zr(`${t ? "intro" : "outro"}${r}`));
|
|
380
380
|
}
|
|
381
|
-
const
|
|
381
|
+
const ye = /* @__PURE__ */ new Set();
|
|
382
382
|
let M;
|
|
383
383
|
function Vo() {
|
|
384
384
|
M = {
|
|
@@ -392,13 +392,13 @@ function Xo() {
|
|
|
392
392
|
M.r || F(M.c), M = M.p;
|
|
393
393
|
}
|
|
394
394
|
function on(e, t) {
|
|
395
|
-
e && e.i && (
|
|
395
|
+
e && e.i && (ye.delete(e), e.i(t));
|
|
396
396
|
}
|
|
397
397
|
function Wo(e, t, r, n) {
|
|
398
398
|
if (e && e.o) {
|
|
399
|
-
if (
|
|
400
|
-
|
|
401
|
-
|
|
399
|
+
if (ye.has(e)) return;
|
|
400
|
+
ye.add(e), M.c.push(() => {
|
|
401
|
+
ye.delete(e), n && (r && e.d(1), n());
|
|
402
402
|
}), e.o(t);
|
|
403
403
|
} else n && n();
|
|
404
404
|
}
|
|
@@ -409,14 +409,14 @@ function zo(e, t, r, n) {
|
|
|
409
409
|
l && Yr(e, l);
|
|
410
410
|
}
|
|
411
411
|
function f(d, m) {
|
|
412
|
-
const
|
|
412
|
+
const x = (
|
|
413
413
|
/** @type {Program['d']} */
|
|
414
414
|
d.b - s
|
|
415
415
|
);
|
|
416
|
-
return m *= Math.abs(
|
|
416
|
+
return m *= Math.abs(x), {
|
|
417
417
|
a: s,
|
|
418
418
|
b: d.b,
|
|
419
|
-
d:
|
|
419
|
+
d: x,
|
|
420
420
|
duration: m,
|
|
421
421
|
start: d.start,
|
|
422
422
|
end: d.start + m,
|
|
@@ -426,30 +426,30 @@ function zo(e, t, r, n) {
|
|
|
426
426
|
function p(d) {
|
|
427
427
|
const {
|
|
428
428
|
delay: m = 0,
|
|
429
|
-
duration:
|
|
430
|
-
easing:
|
|
431
|
-
tick:
|
|
432
|
-
css:
|
|
429
|
+
duration: x = 300,
|
|
430
|
+
easing: T = Rr,
|
|
431
|
+
tick: w = B,
|
|
432
|
+
css: E
|
|
433
433
|
} = o || sn, I = {
|
|
434
434
|
start: Fr() + m,
|
|
435
435
|
b: d
|
|
436
436
|
};
|
|
437
437
|
d || (I.group = M, M.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
438
|
-
e.inert, e.inert = !0)), a || u ? u = I : (
|
|
439
|
-
if (u &&
|
|
438
|
+
e.inert, e.inert = !0)), a || u ? u = I : (E && (c(), l = mt(e, s, d, x, m, T, E)), d && w(0, 1), a = f(I, x), we(() => Me(e, d, "start")), jr((H) => {
|
|
439
|
+
if (u && H > u.start && (a = f(u, x), u = null, Me(e, a.b, "start"), E && (c(), l = mt(
|
|
440
440
|
e,
|
|
441
441
|
s,
|
|
442
442
|
a.b,
|
|
443
443
|
a.duration,
|
|
444
444
|
0,
|
|
445
|
-
|
|
445
|
+
T,
|
|
446
446
|
o.css
|
|
447
447
|
))), a) {
|
|
448
|
-
if (
|
|
449
|
-
|
|
450
|
-
else if (
|
|
451
|
-
const U =
|
|
452
|
-
s = a.a + a.d *
|
|
448
|
+
if (H >= a.end)
|
|
449
|
+
w(s = a.b, 1 - s), Me(e, a.b, "end"), u || (a.b ? c() : --a.group.r || F(a.group.c)), a = null;
|
|
450
|
+
else if (H >= a.start) {
|
|
451
|
+
const U = H - a.start;
|
|
452
|
+
s = a.a + a.d * T(U / a.duration), w(s, 1 - s);
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
455
|
return !!(a || u);
|
|
@@ -481,7 +481,7 @@ function un(e, t) {
|
|
|
481
481
|
r.fragment !== null && (rn(r.after_update), F(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
482
482
|
}
|
|
483
483
|
function ln(e, t) {
|
|
484
|
-
e.$$.dirty[0] === -1 && (W.push(e),
|
|
484
|
+
e.$$.dirty[0] === -1 && (W.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
485
485
|
}
|
|
486
486
|
function hn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
487
487
|
const u = ae;
|
|
@@ -491,7 +491,7 @@ function hn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
491
491
|
ctx: [],
|
|
492
492
|
// state
|
|
493
493
|
props: o,
|
|
494
|
-
update:
|
|
494
|
+
update: B,
|
|
495
495
|
not_equal: i,
|
|
496
496
|
bound: dt(),
|
|
497
497
|
// lifecycle
|
|
@@ -522,8 +522,8 @@ function hn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
522
522
|
}
|
|
523
523
|
se(u);
|
|
524
524
|
}
|
|
525
|
-
let
|
|
526
|
-
typeof HTMLElement == "function" && (
|
|
525
|
+
let Qt;
|
|
526
|
+
typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
|
|
527
527
|
constructor(t, r, n) {
|
|
528
528
|
super();
|
|
529
529
|
/** The Svelte component constructor */
|
|
@@ -567,7 +567,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
567
567
|
let s;
|
|
568
568
|
return {
|
|
569
569
|
c: function() {
|
|
570
|
-
s = C("slot"), o !== "default" &&
|
|
570
|
+
s = C("slot"), o !== "default" && A(s, "name", o);
|
|
571
571
|
},
|
|
572
572
|
/**
|
|
573
573
|
* @param {HTMLElement} target
|
|
@@ -584,7 +584,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
584
584
|
};
|
|
585
585
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
586
586
|
return;
|
|
587
|
-
const r = {}, n =
|
|
587
|
+
const r = {}, n = qr(this);
|
|
588
588
|
for (const o of this.$$s)
|
|
589
589
|
o in n && (r[o] = [t(o)]);
|
|
590
590
|
for (const o of this.attributes) {
|
|
@@ -674,7 +674,7 @@ function ve(e, t, r, n) {
|
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
676
|
function cn(e, t, r, n, i, o) {
|
|
677
|
-
let s = class extends
|
|
677
|
+
let s = class extends Qt {
|
|
678
678
|
constructor() {
|
|
679
679
|
super(e, r, i), this.$$p_d = t;
|
|
680
680
|
}
|
|
@@ -725,7 +725,7 @@ class fn {
|
|
|
725
725
|
}
|
|
726
726
|
/** @returns {void} */
|
|
727
727
|
$destroy() {
|
|
728
|
-
un(this, 1), this.$destroy =
|
|
728
|
+
un(this, 1), this.$destroy = B;
|
|
729
729
|
}
|
|
730
730
|
/**
|
|
731
731
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -735,7 +735,7 @@ class fn {
|
|
|
735
735
|
*/
|
|
736
736
|
$on(t, r) {
|
|
737
737
|
if (!he(r))
|
|
738
|
-
return
|
|
738
|
+
return B;
|
|
739
739
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
740
740
|
return n.push(r), () => {
|
|
741
741
|
const i = n.indexOf(r);
|
|
@@ -812,7 +812,7 @@ function ze(e, t) {
|
|
|
812
812
|
}
|
|
813
813
|
return o;
|
|
814
814
|
}
|
|
815
|
-
function
|
|
815
|
+
function q(e, t, r) {
|
|
816
816
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
817
817
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
818
818
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
@@ -882,9 +882,9 @@ var Ae = function() {
|
|
|
882
882
|
for (var f = We(c), p = f.next(); !p.done; p = f.next()) {
|
|
883
883
|
var d = p.value;
|
|
884
884
|
try {
|
|
885
|
-
|
|
885
|
+
gt(d);
|
|
886
886
|
} catch (m) {
|
|
887
|
-
o = o != null ? o : [], m instanceof $e ? o =
|
|
887
|
+
o = o != null ? o : [], m instanceof $e ? o = q(q([], ze(o)), ze(m.errors)) : o.push(m);
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
890
|
} catch (m) {
|
|
@@ -904,7 +904,7 @@ var Ae = function() {
|
|
|
904
904
|
var r;
|
|
905
905
|
if (t && t !== this)
|
|
906
906
|
if (this.closed)
|
|
907
|
-
|
|
907
|
+
gt(t);
|
|
908
908
|
else {
|
|
909
909
|
if (t instanceof e) {
|
|
910
910
|
if (t.closed || t._hasParent(this))
|
|
@@ -933,7 +933,7 @@ var Ae = function() {
|
|
|
933
933
|
function Kt(e) {
|
|
934
934
|
return e instanceof Ae || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
935
935
|
}
|
|
936
|
-
function
|
|
936
|
+
function gt(e) {
|
|
937
937
|
$(e) ? e() : e.unsubscribe();
|
|
938
938
|
}
|
|
939
939
|
var er = {
|
|
@@ -946,7 +946,7 @@ var er = {
|
|
|
946
946
|
setTimeout: function(e, t) {
|
|
947
947
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
948
948
|
r[n - 2] = arguments[n];
|
|
949
|
-
return setTimeout.apply(void 0,
|
|
949
|
+
return setTimeout.apply(void 0, q([e, t], ze(r)));
|
|
950
950
|
},
|
|
951
951
|
clearTimeout: function(e) {
|
|
952
952
|
var t = tr.delegate;
|
|
@@ -959,7 +959,7 @@ function mn(e) {
|
|
|
959
959
|
throw e;
|
|
960
960
|
});
|
|
961
961
|
}
|
|
962
|
-
function
|
|
962
|
+
function yt() {
|
|
963
963
|
}
|
|
964
964
|
function _e(e) {
|
|
965
965
|
e();
|
|
@@ -971,7 +971,7 @@ var rr = function(e) {
|
|
|
971
971
|
return n.isStopped = !1, r ? (n.destination = r, Kt(r) && r.add(n)) : n.destination = vn, n;
|
|
972
972
|
}
|
|
973
973
|
return t.create = function(r, n, i) {
|
|
974
|
-
return new
|
|
974
|
+
return new qe(r, n, i);
|
|
975
975
|
}, t.prototype.next = function(r) {
|
|
976
976
|
this.isStopped || this._next(r);
|
|
977
977
|
}, t.prototype.error = function(r) {
|
|
@@ -999,7 +999,7 @@ var rr = function(e) {
|
|
|
999
999
|
function Re(e, t) {
|
|
1000
1000
|
return bn.call(e, t);
|
|
1001
1001
|
}
|
|
1002
|
-
var
|
|
1002
|
+
var gn = function() {
|
|
1003
1003
|
function e(t) {
|
|
1004
1004
|
this.partialObserver = t;
|
|
1005
1005
|
}
|
|
@@ -1030,7 +1030,7 @@ var yn = function() {
|
|
|
1030
1030
|
be(r);
|
|
1031
1031
|
}
|
|
1032
1032
|
}, e;
|
|
1033
|
-
}(),
|
|
1033
|
+
}(), qe = function(e) {
|
|
1034
1034
|
R(t, e);
|
|
1035
1035
|
function t(r, n, i) {
|
|
1036
1036
|
var o = e.call(this) || this, s;
|
|
@@ -1050,29 +1050,29 @@ var yn = function() {
|
|
|
1050
1050
|
complete: r.complete && Re(r.complete, a)
|
|
1051
1051
|
}) : s = r;
|
|
1052
1052
|
}
|
|
1053
|
-
return o.destination = new
|
|
1053
|
+
return o.destination = new gn(s), o;
|
|
1054
1054
|
}
|
|
1055
1055
|
return t;
|
|
1056
1056
|
}(rr);
|
|
1057
1057
|
function be(e) {
|
|
1058
1058
|
mn(e);
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1060
|
+
function yn(e) {
|
|
1061
1061
|
throw e;
|
|
1062
1062
|
}
|
|
1063
1063
|
var vn = {
|
|
1064
1064
|
closed: !0,
|
|
1065
|
-
next:
|
|
1066
|
-
error:
|
|
1067
|
-
complete:
|
|
1065
|
+
next: yt,
|
|
1066
|
+
error: yn,
|
|
1067
|
+
complete: yt
|
|
1068
1068
|
}, _n = function() {
|
|
1069
1069
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1070
1070
|
}();
|
|
1071
|
-
function
|
|
1071
|
+
function xn(e) {
|
|
1072
1072
|
return e;
|
|
1073
1073
|
}
|
|
1074
|
-
function
|
|
1075
|
-
return e.length === 0 ?
|
|
1074
|
+
function En(e) {
|
|
1075
|
+
return e.length === 0 ? xn : e.length === 1 ? e[0] : function(r) {
|
|
1076
1076
|
return e.reduce(function(n, i) {
|
|
1077
1077
|
return i(n);
|
|
1078
1078
|
}, r);
|
|
@@ -1086,7 +1086,7 @@ var vt = function() {
|
|
|
1086
1086
|
var r = new e();
|
|
1087
1087
|
return r.source = this, r.operator = t, r;
|
|
1088
1088
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1089
|
-
var i = this, o = Tn(t) ? t : new
|
|
1089
|
+
var i = this, o = Tn(t) ? t : new qe(t, r, n);
|
|
1090
1090
|
return _e(function() {
|
|
1091
1091
|
var s = i, a = s.operator, u = s.source;
|
|
1092
1092
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1100,7 +1100,7 @@ var vt = function() {
|
|
|
1100
1100
|
}, e.prototype.forEach = function(t, r) {
|
|
1101
1101
|
var n = this;
|
|
1102
1102
|
return r = _t(r), new r(function(i, o) {
|
|
1103
|
-
var s = new
|
|
1103
|
+
var s = new qe({
|
|
1104
1104
|
next: function(a) {
|
|
1105
1105
|
try {
|
|
1106
1106
|
t(a);
|
|
@@ -1121,7 +1121,7 @@ var vt = function() {
|
|
|
1121
1121
|
}, e.prototype.pipe = function() {
|
|
1122
1122
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1123
1123
|
t[r] = arguments[r];
|
|
1124
|
-
return
|
|
1124
|
+
return En(t)(this);
|
|
1125
1125
|
}, e.prototype.toPromise = function(t) {
|
|
1126
1126
|
var r = this;
|
|
1127
1127
|
return t = _t(t), new t(function(n, i) {
|
|
@@ -1159,7 +1159,7 @@ var wn = Jt(function(e) {
|
|
|
1159
1159
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1160
1160
|
}
|
|
1161
1161
|
return t.prototype.lift = function(r) {
|
|
1162
|
-
var n = new
|
|
1162
|
+
var n = new xt(this, this);
|
|
1163
1163
|
return n.operator = r, n;
|
|
1164
1164
|
}, t.prototype._throwIfClosed = function() {
|
|
1165
1165
|
if (this.closed)
|
|
@@ -1229,9 +1229,9 @@ var wn = Jt(function(e) {
|
|
|
1229
1229
|
var r = new vt();
|
|
1230
1230
|
return r.source = this, r;
|
|
1231
1231
|
}, t.create = function(r, n) {
|
|
1232
|
-
return new
|
|
1232
|
+
return new xt(r, n);
|
|
1233
1233
|
}, t;
|
|
1234
|
-
}(vt),
|
|
1234
|
+
}(vt), xt = function(e) {
|
|
1235
1235
|
R(t, e);
|
|
1236
1236
|
function t(r, n) {
|
|
1237
1237
|
var i = e.call(this) || this;
|
|
@@ -1279,10 +1279,10 @@ var wn = Jt(function(e) {
|
|
|
1279
1279
|
}
|
|
1280
1280
|
}, t;
|
|
1281
1281
|
}(nr);
|
|
1282
|
-
const
|
|
1283
|
-
if (
|
|
1282
|
+
const Et = [], St = {}, Bn = (e, t = 0) => {
|
|
1283
|
+
if (Et.indexOf(e) == -1) {
|
|
1284
1284
|
const r = new Hn(t);
|
|
1285
|
-
St[e] = r,
|
|
1285
|
+
St[e] = r, Et.push(e);
|
|
1286
1286
|
}
|
|
1287
1287
|
return St[e];
|
|
1288
1288
|
}, X = [];
|
|
@@ -1291,7 +1291,7 @@ function An(e, t) {
|
|
|
1291
1291
|
subscribe: Pe(e, t).subscribe
|
|
1292
1292
|
};
|
|
1293
1293
|
}
|
|
1294
|
-
function Pe(e, t =
|
|
1294
|
+
function Pe(e, t = B) {
|
|
1295
1295
|
let r;
|
|
1296
1296
|
const n = /* @__PURE__ */ new Set();
|
|
1297
1297
|
function i(a) {
|
|
@@ -1309,9 +1309,9 @@ function Pe(e, t = A) {
|
|
|
1309
1309
|
function o(a) {
|
|
1310
1310
|
i(a(e));
|
|
1311
1311
|
}
|
|
1312
|
-
function s(a, u =
|
|
1312
|
+
function s(a, u = B) {
|
|
1313
1313
|
const l = [a, u];
|
|
1314
|
-
return n.add(l), n.size === 1 && (r = t(i, o) ||
|
|
1314
|
+
return n.add(l), n.size === 1 && (r = t(i, o) || B), a(e), () => {
|
|
1315
1315
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
|
1316
1316
|
};
|
|
1317
1317
|
}
|
|
@@ -1325,18 +1325,18 @@ function ee(e, t, r) {
|
|
|
1325
1325
|
return An(r, (s, a) => {
|
|
1326
1326
|
let u = !1;
|
|
1327
1327
|
const l = [];
|
|
1328
|
-
let h = 0, c =
|
|
1328
|
+
let h = 0, c = B;
|
|
1329
1329
|
const f = () => {
|
|
1330
1330
|
if (h)
|
|
1331
1331
|
return;
|
|
1332
1332
|
c();
|
|
1333
1333
|
const d = t(n ? l[0] : l, s, a);
|
|
1334
|
-
o ? s(d) : c = he(d) ? d :
|
|
1334
|
+
o ? s(d) : c = he(d) ? d : B;
|
|
1335
1335
|
}, p = i.map(
|
|
1336
1336
|
(d, m) => Ft(
|
|
1337
1337
|
d,
|
|
1338
|
-
(
|
|
1339
|
-
l[m] =
|
|
1338
|
+
(x) => {
|
|
1339
|
+
l[m] = x, h &= ~(1 << m), u && f();
|
|
1340
1340
|
},
|
|
1341
1341
|
() => {
|
|
1342
1342
|
h |= 1 << m;
|
|
@@ -1348,7 +1348,7 @@ function ee(e, t, r) {
|
|
|
1348
1348
|
};
|
|
1349
1349
|
});
|
|
1350
1350
|
}
|
|
1351
|
-
var
|
|
1351
|
+
var qo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
1352
1352
|
function Pn(e) {
|
|
1353
1353
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1354
1354
|
}
|
|
@@ -1370,7 +1370,7 @@ function $n(e) {
|
|
|
1370
1370
|
return Array.isArray(e) ? [] : {};
|
|
1371
1371
|
}
|
|
1372
1372
|
function ue(e, t) {
|
|
1373
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1373
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q($n(e), e, t) : e;
|
|
1374
1374
|
}
|
|
1375
1375
|
function Rn(e, t, r) {
|
|
1376
1376
|
return e.concat(t).map(function(n) {
|
|
@@ -1379,9 +1379,9 @@ function Rn(e, t, r) {
|
|
|
1379
1379
|
}
|
|
1380
1380
|
function Un(e, t) {
|
|
1381
1381
|
if (!t.customMerge)
|
|
1382
|
-
return
|
|
1382
|
+
return Q;
|
|
1383
1383
|
var r = t.customMerge(e);
|
|
1384
|
-
return typeof r == "function" ? r :
|
|
1384
|
+
return typeof r == "function" ? r : Q;
|
|
1385
1385
|
}
|
|
1386
1386
|
function Dn(e) {
|
|
1387
1387
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -1409,19 +1409,19 @@ function Fn(e, t, r) {
|
|
|
1409
1409
|
Gn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Un(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
|
|
1410
1410
|
}), n;
|
|
1411
1411
|
}
|
|
1412
|
-
function
|
|
1412
|
+
function Q(e, t, r) {
|
|
1413
1413
|
r = r || {}, r.arrayMerge = r.arrayMerge || Rn, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = ue;
|
|
1414
1414
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1415
1415
|
return o ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : ue(t, r);
|
|
1416
1416
|
}
|
|
1417
|
-
|
|
1417
|
+
Q.all = function(t, r) {
|
|
1418
1418
|
if (!Array.isArray(t))
|
|
1419
1419
|
throw new Error("first argument should be an array");
|
|
1420
1420
|
return t.reduce(function(n, i) {
|
|
1421
|
-
return
|
|
1421
|
+
return Q(n, i, r);
|
|
1422
1422
|
}, {});
|
|
1423
1423
|
};
|
|
1424
|
-
var jn =
|
|
1424
|
+
var jn = Q, kn = jn;
|
|
1425
1425
|
const Vn = /* @__PURE__ */ Pn(kn);
|
|
1426
1426
|
var b;
|
|
1427
1427
|
(function(e) {
|
|
@@ -1465,7 +1465,7 @@ function cr(e) {
|
|
|
1465
1465
|
function fr(e) {
|
|
1466
1466
|
return !!(e && typeof e == "object" && e.type === J.number);
|
|
1467
1467
|
}
|
|
1468
|
-
function
|
|
1468
|
+
function Qe(e) {
|
|
1469
1469
|
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
1470
1470
|
}
|
|
1471
1471
|
var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zn = /(?:[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;
|
|
@@ -1560,11 +1560,11 @@ function Zn(e) {
|
|
|
1560
1560
|
return "";
|
|
1561
1561
|
}), t;
|
|
1562
1562
|
}
|
|
1563
|
-
var
|
|
1564
|
-
function
|
|
1563
|
+
var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1564
|
+
function Qn(e) {
|
|
1565
1565
|
if (e.length === 0)
|
|
1566
1566
|
throw new Error("Number skeleton cannot be empty");
|
|
1567
|
-
for (var t = e.split(
|
|
1567
|
+
for (var t = e.split(qn).filter(function(f) {
|
|
1568
1568
|
return f.length > 0;
|
|
1569
1569
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1570
1570
|
var o = i[n], s = o.split("/");
|
|
@@ -1771,7 +1771,7 @@ function ei(e) {
|
|
|
1771
1771
|
}
|
|
1772
1772
|
return t;
|
|
1773
1773
|
}
|
|
1774
|
-
var
|
|
1774
|
+
var ge = {
|
|
1775
1775
|
"001": [
|
|
1776
1776
|
"H",
|
|
1777
1777
|
"h"
|
|
@@ -3214,18 +3214,18 @@ function ri(e) {
|
|
|
3214
3214
|
}
|
|
3215
3215
|
var r = e.language, n;
|
|
3216
3216
|
r !== "root" && (n = e.maximize().region);
|
|
3217
|
-
var i =
|
|
3217
|
+
var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
|
|
3218
3218
|
return i[0];
|
|
3219
3219
|
}
|
|
3220
3220
|
var Ue, ni = new RegExp("^".concat(pr.source, "*")), ii = new RegExp("".concat(pr.source, "*$"));
|
|
3221
|
-
function
|
|
3221
|
+
function g(e, t) {
|
|
3222
3222
|
return { start: e, end: t };
|
|
3223
3223
|
}
|
|
3224
3224
|
var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), si = !!String.fromCodePoint, ai = !!Object.fromEntries, ui = !!String.prototype.codePointAt, li = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, ci = !!Number.isSafeInteger, fi = ci ? Number.isSafeInteger : function(e) {
|
|
3225
3225
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3226
3226
|
}, Je = !0;
|
|
3227
3227
|
try {
|
|
3228
|
-
var pi =
|
|
3228
|
+
var pi = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3229
3229
|
Je = ((Ue = pi.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
|
|
3230
3230
|
} catch (e) {
|
|
3231
3231
|
Je = !1;
|
|
@@ -3264,7 +3264,7 @@ var Pt = oi ? (
|
|
|
3264
3264
|
return r;
|
|
3265
3265
|
}
|
|
3266
3266
|
)
|
|
3267
|
-
),
|
|
3267
|
+
), gr = ui ? (
|
|
3268
3268
|
// Native
|
|
3269
3269
|
function(t, r) {
|
|
3270
3270
|
return t.codePointAt(r);
|
|
@@ -3299,12 +3299,12 @@ var Pt = oi ? (
|
|
|
3299
3299
|
return t.replace(ii, "");
|
|
3300
3300
|
}
|
|
3301
3301
|
);
|
|
3302
|
-
function
|
|
3302
|
+
function yr(e, t) {
|
|
3303
3303
|
return new RegExp(e, t);
|
|
3304
3304
|
}
|
|
3305
3305
|
var Ke;
|
|
3306
3306
|
if (Je) {
|
|
3307
|
-
var It =
|
|
3307
|
+
var It = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3308
3308
|
Ke = function(t, r) {
|
|
3309
3309
|
var n;
|
|
3310
3310
|
It.lastIndex = r;
|
|
@@ -3314,7 +3314,7 @@ if (Je) {
|
|
|
3314
3314
|
} else
|
|
3315
3315
|
Ke = function(t, r) {
|
|
3316
3316
|
for (var n = []; ; ) {
|
|
3317
|
-
var i =
|
|
3317
|
+
var i = gr(t, r);
|
|
3318
3318
|
if (i === void 0 || vr(i) || vi(i))
|
|
3319
3319
|
break;
|
|
3320
3320
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
@@ -3346,12 +3346,12 @@ var bi = (
|
|
|
3346
3346
|
var a = this.clonePosition();
|
|
3347
3347
|
this.bump(), i.push({
|
|
3348
3348
|
type: _.pound,
|
|
3349
|
-
location:
|
|
3349
|
+
location: g(a, this.clonePosition())
|
|
3350
3350
|
});
|
|
3351
3351
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3352
3352
|
if (n)
|
|
3353
3353
|
break;
|
|
3354
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3354
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3355
3355
|
} else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
|
|
3356
3356
|
var s = this.parseTag(t, r);
|
|
3357
3357
|
if (s.err)
|
|
@@ -3375,7 +3375,7 @@ var bi = (
|
|
|
3375
3375
|
val: {
|
|
3376
3376
|
type: _.literal,
|
|
3377
3377
|
value: "<".concat(i, "/>"),
|
|
3378
|
-
location:
|
|
3378
|
+
location: g(n, this.clonePosition())
|
|
3379
3379
|
},
|
|
3380
3380
|
err: null
|
|
3381
3381
|
};
|
|
@@ -3386,24 +3386,24 @@ var bi = (
|
|
|
3386
3386
|
var s = o.val, a = this.clonePosition();
|
|
3387
3387
|
if (this.bumpIf("</")) {
|
|
3388
3388
|
if (this.isEOF() || !et(this.char()))
|
|
3389
|
-
return this.error(b.INVALID_TAG,
|
|
3389
|
+
return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
|
|
3390
3390
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
3391
|
-
return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3391
|
+
return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, g(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3392
3392
|
val: {
|
|
3393
3393
|
type: _.tag,
|
|
3394
3394
|
value: i,
|
|
3395
3395
|
children: s,
|
|
3396
|
-
location:
|
|
3396
|
+
location: g(n, this.clonePosition())
|
|
3397
3397
|
},
|
|
3398
3398
|
err: null
|
|
3399
|
-
} : this.error(b.INVALID_TAG,
|
|
3399
|
+
} : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
|
|
3400
3400
|
} else
|
|
3401
|
-
return this.error(b.UNCLOSED_TAG,
|
|
3401
|
+
return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
|
|
3402
3402
|
} else
|
|
3403
|
-
return this.error(b.INVALID_TAG,
|
|
3403
|
+
return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
|
|
3404
3404
|
}, e.prototype.parseTagName = function() {
|
|
3405
3405
|
var t = this.offset();
|
|
3406
|
-
for (this.bump(); !this.isEOF() &&
|
|
3406
|
+
for (this.bump(); !this.isEOF() && yi(this.char()); )
|
|
3407
3407
|
this.bump();
|
|
3408
3408
|
return this.message.slice(t, this.offset());
|
|
3409
3409
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3425,14 +3425,14 @@ var bi = (
|
|
|
3425
3425
|
}
|
|
3426
3426
|
break;
|
|
3427
3427
|
}
|
|
3428
|
-
var u =
|
|
3428
|
+
var u = g(n, this.clonePosition());
|
|
3429
3429
|
return {
|
|
3430
3430
|
val: { type: _.literal, value: i, location: u },
|
|
3431
3431
|
err: null
|
|
3432
3432
|
};
|
|
3433
3433
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3434
3434
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3435
|
-
!
|
|
3435
|
+
!gi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3436
3436
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3437
3437
|
if (this.isEOF() || this.char() !== 39)
|
|
3438
3438
|
return null;
|
|
@@ -3475,14 +3475,14 @@ var bi = (
|
|
|
3475
3475
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3476
3476
|
var n = this.clonePosition();
|
|
3477
3477
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3478
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3478
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3479
3479
|
if (this.char() === 125)
|
|
3480
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
3480
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
|
|
3481
3481
|
var i = this.parseIdentifierIfPossible().value;
|
|
3482
3482
|
if (!i)
|
|
3483
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3483
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3484
3484
|
if (this.bumpSpace(), this.isEOF())
|
|
3485
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3485
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3486
3486
|
switch (this.char()) {
|
|
3487
3487
|
case 125:
|
|
3488
3488
|
return this.bump(), {
|
|
@@ -3490,25 +3490,25 @@ var bi = (
|
|
|
3490
3490
|
type: _.argument,
|
|
3491
3491
|
// value does not include the opening and closing braces.
|
|
3492
3492
|
value: i,
|
|
3493
|
-
location:
|
|
3493
|
+
location: g(n, this.clonePosition())
|
|
3494
3494
|
},
|
|
3495
3495
|
err: null
|
|
3496
3496
|
};
|
|
3497
3497
|
case 44:
|
|
3498
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3498
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3499
3499
|
default:
|
|
3500
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3500
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3501
3501
|
}
|
|
3502
3502
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3503
3503
|
var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
|
|
3504
3504
|
this.bumpTo(i);
|
|
3505
|
-
var o = this.clonePosition(), s =
|
|
3505
|
+
var o = this.clonePosition(), s = g(t, o);
|
|
3506
3506
|
return { value: n, location: s };
|
|
3507
3507
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3508
3508
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3509
3509
|
switch (a) {
|
|
3510
3510
|
case "":
|
|
3511
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
3511
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, u));
|
|
3512
3512
|
case "number":
|
|
3513
3513
|
case "date":
|
|
3514
3514
|
case "time": {
|
|
@@ -3521,35 +3521,35 @@ var bi = (
|
|
|
3521
3521
|
return c;
|
|
3522
3522
|
var f = mi(c.val);
|
|
3523
3523
|
if (f.length === 0)
|
|
3524
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
3525
|
-
var p =
|
|
3524
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3525
|
+
var p = g(h, this.clonePosition());
|
|
3526
3526
|
l = { style: f, styleLocation: p };
|
|
3527
3527
|
}
|
|
3528
3528
|
var d = this.tryParseArgumentClose(i);
|
|
3529
3529
|
if (d.err)
|
|
3530
3530
|
return d;
|
|
3531
|
-
var m =
|
|
3531
|
+
var m = g(i, this.clonePosition());
|
|
3532
3532
|
if (l && Pt(l == null ? void 0 : l.style, "::", 0)) {
|
|
3533
|
-
var
|
|
3533
|
+
var x = di(l.style.slice(2));
|
|
3534
3534
|
if (a === "number") {
|
|
3535
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3535
|
+
var c = this.parseNumberSkeletonFromString(x, l.styleLocation);
|
|
3536
3536
|
return c.err ? c : {
|
|
3537
3537
|
val: { type: _.number, value: n, location: m, style: c.val },
|
|
3538
3538
|
err: null
|
|
3539
3539
|
};
|
|
3540
3540
|
} else {
|
|
3541
|
-
if (
|
|
3541
|
+
if (x.length === 0)
|
|
3542
3542
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3543
|
-
var
|
|
3544
|
-
this.locale && (
|
|
3543
|
+
var T = x;
|
|
3544
|
+
this.locale && (T = ti(x, this.locale));
|
|
3545
3545
|
var f = {
|
|
3546
3546
|
type: J.dateTime,
|
|
3547
|
-
pattern:
|
|
3547
|
+
pattern: T,
|
|
3548
3548
|
location: l.styleLocation,
|
|
3549
|
-
parsedOptions: this.shouldParseSkeletons ? Zn(
|
|
3550
|
-
},
|
|
3549
|
+
parsedOptions: this.shouldParseSkeletons ? Zn(T) : {}
|
|
3550
|
+
}, w = a === "date" ? _.date : _.time;
|
|
3551
3551
|
return {
|
|
3552
|
-
val: { type:
|
|
3552
|
+
val: { type: w, value: n, location: m, style: f },
|
|
3553
3553
|
err: null
|
|
3554
3554
|
};
|
|
3555
3555
|
}
|
|
@@ -3567,19 +3567,19 @@ var bi = (
|
|
|
3567
3567
|
case "plural":
|
|
3568
3568
|
case "selectordinal":
|
|
3569
3569
|
case "select": {
|
|
3570
|
-
var
|
|
3570
|
+
var E = this.clonePosition();
|
|
3571
3571
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3572
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3572
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, v({}, E)));
|
|
3573
3573
|
this.bumpSpace();
|
|
3574
|
-
var I = this.parseIdentifierIfPossible(),
|
|
3574
|
+
var I = this.parseIdentifierIfPossible(), H = 0;
|
|
3575
3575
|
if (a !== "select" && I.value === "offset") {
|
|
3576
3576
|
if (!this.bumpIf(":"))
|
|
3577
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3577
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3578
3578
|
this.bumpSpace();
|
|
3579
3579
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3580
3580
|
if (c.err)
|
|
3581
3581
|
return c;
|
|
3582
|
-
this.bumpSpace(), I = this.parseIdentifierIfPossible(),
|
|
3582
|
+
this.bumpSpace(), I = this.parseIdentifierIfPossible(), H = c.val;
|
|
3583
3583
|
}
|
|
3584
3584
|
var U = this.tryParsePluralOrSelectOptions(t, a, r, I);
|
|
3585
3585
|
if (U.err)
|
|
@@ -3587,7 +3587,7 @@ var bi = (
|
|
|
3587
3587
|
var d = this.tryParseArgumentClose(i);
|
|
3588
3588
|
if (d.err)
|
|
3589
3589
|
return d;
|
|
3590
|
-
var de =
|
|
3590
|
+
var de = g(i, this.clonePosition());
|
|
3591
3591
|
return a === "select" ? {
|
|
3592
3592
|
val: {
|
|
3593
3593
|
type: _.select,
|
|
@@ -3601,7 +3601,7 @@ var bi = (
|
|
|
3601
3601
|
type: _.plural,
|
|
3602
3602
|
value: n,
|
|
3603
3603
|
options: Ot(U.val),
|
|
3604
|
-
offset:
|
|
3604
|
+
offset: H,
|
|
3605
3605
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3606
3606
|
location: de
|
|
3607
3607
|
},
|
|
@@ -3609,10 +3609,10 @@ var bi = (
|
|
|
3609
3609
|
};
|
|
3610
3610
|
}
|
|
3611
3611
|
default:
|
|
3612
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
3612
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, g(s, u));
|
|
3613
3613
|
}
|
|
3614
3614
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3615
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3615
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3616
3616
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3617
3617
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3618
3618
|
var n = this.char();
|
|
@@ -3621,7 +3621,7 @@ var bi = (
|
|
|
3621
3621
|
this.bump();
|
|
3622
3622
|
var i = this.clonePosition();
|
|
3623
3623
|
if (!this.bumpUntil("'"))
|
|
3624
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3624
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
|
|
3625
3625
|
this.bump();
|
|
3626
3626
|
break;
|
|
3627
3627
|
}
|
|
@@ -3651,7 +3651,7 @@ var bi = (
|
|
|
3651
3651
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3652
3652
|
var n = [];
|
|
3653
3653
|
try {
|
|
3654
|
-
n =
|
|
3654
|
+
n = Qn(t);
|
|
3655
3655
|
} catch (i) {
|
|
3656
3656
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3657
3657
|
}
|
|
@@ -3672,7 +3672,7 @@ var bi = (
|
|
|
3672
3672
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3673
3673
|
if (f.err)
|
|
3674
3674
|
return f;
|
|
3675
|
-
h =
|
|
3675
|
+
h = g(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
|
|
3676
3676
|
} else
|
|
3677
3677
|
break;
|
|
3678
3678
|
}
|
|
@@ -3681,7 +3681,7 @@ var bi = (
|
|
|
3681
3681
|
l === "other" && (s = !0), this.bumpSpace();
|
|
3682
3682
|
var p = this.clonePosition();
|
|
3683
3683
|
if (!this.bumpIf("{"))
|
|
3684
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3684
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3685
3685
|
var d = this.parseMessage(t + 1, r, n);
|
|
3686
3686
|
if (d.err)
|
|
3687
3687
|
return d;
|
|
@@ -3692,11 +3692,11 @@ var bi = (
|
|
|
3692
3692
|
l,
|
|
3693
3693
|
{
|
|
3694
3694
|
value: d.val,
|
|
3695
|
-
location:
|
|
3695
|
+
location: g(p, this.clonePosition())
|
|
3696
3696
|
}
|
|
3697
3697
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
|
|
3698
3698
|
}
|
|
3699
|
-
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3699
|
+
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3700
3700
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3701
3701
|
var n = 1, i = this.clonePosition();
|
|
3702
3702
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3707,7 +3707,7 @@ var bi = (
|
|
|
3707
3707
|
else
|
|
3708
3708
|
break;
|
|
3709
3709
|
}
|
|
3710
|
-
var u =
|
|
3710
|
+
var u = g(i, this.clonePosition());
|
|
3711
3711
|
return o ? (s *= n, fi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3712
3712
|
}, e.prototype.offset = function() {
|
|
3713
3713
|
return this.position.offset;
|
|
@@ -3723,7 +3723,7 @@ var bi = (
|
|
|
3723
3723
|
var t = this.position.offset;
|
|
3724
3724
|
if (t >= this.message.length)
|
|
3725
3725
|
throw Error("out of bound");
|
|
3726
|
-
var r =
|
|
3726
|
+
var r = gr(this.message, t);
|
|
3727
3727
|
if (r === void 0)
|
|
3728
3728
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3729
3729
|
return r;
|
|
@@ -3777,10 +3777,10 @@ var bi = (
|
|
|
3777
3777
|
function et(e) {
|
|
3778
3778
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3779
3779
|
}
|
|
3780
|
-
function
|
|
3780
|
+
function gi(e) {
|
|
3781
3781
|
return et(e) || e === 47;
|
|
3782
3782
|
}
|
|
3783
|
-
function
|
|
3783
|
+
function yi(e) {
|
|
3784
3784
|
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;
|
|
3785
3785
|
}
|
|
3786
3786
|
function vr(e) {
|
|
@@ -3794,7 +3794,7 @@ function tt(e) {
|
|
|
3794
3794
|
if (delete t.location, lr(t) || hr(t))
|
|
3795
3795
|
for (var r in t.options)
|
|
3796
3796
|
delete t.options[r].location, tt(t.options[r].value);
|
|
3797
|
-
else sr(t) && fr(t.style) || (ar(t) || ur(t)) &&
|
|
3797
|
+
else sr(t) && fr(t.style) || (ar(t) || ur(t)) && Qe(t.style) ? delete t.style.location : cr(t) && tt(t.children);
|
|
3798
3798
|
});
|
|
3799
3799
|
}
|
|
3800
3800
|
function _i(e, t) {
|
|
@@ -3807,32 +3807,32 @@ function _i(e, t) {
|
|
|
3807
3807
|
return t != null && t.captureLocation || tt(r.val), r.val;
|
|
3808
3808
|
}
|
|
3809
3809
|
function De(e, t) {
|
|
3810
|
-
var r = t && t.cache ? t.cache : Hi, n = t && t.serializer ? t.serializer : wi, i = t && t.strategy ? t.strategy :
|
|
3810
|
+
var r = t && t.cache ? t.cache : Hi, n = t && t.serializer ? t.serializer : wi, i = t && t.strategy ? t.strategy : Ei;
|
|
3811
3811
|
return i(e, {
|
|
3812
3812
|
cache: r,
|
|
3813
3813
|
serializer: n
|
|
3814
3814
|
});
|
|
3815
3815
|
}
|
|
3816
|
-
function
|
|
3816
|
+
function xi(e) {
|
|
3817
3817
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3818
3818
|
}
|
|
3819
3819
|
function _r(e, t, r, n) {
|
|
3820
|
-
var i =
|
|
3820
|
+
var i = xi(n) ? n : r(n), o = t.get(i);
|
|
3821
3821
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
3822
3822
|
}
|
|
3823
|
-
function
|
|
3823
|
+
function xr(e, t, r) {
|
|
3824
3824
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
3825
3825
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
3826
3826
|
}
|
|
3827
3827
|
function st(e, t, r, n, i) {
|
|
3828
3828
|
return r.bind(t, e, n, i);
|
|
3829
3829
|
}
|
|
3830
|
-
function
|
|
3831
|
-
var r = e.length === 1 ? _r :
|
|
3830
|
+
function Ei(e, t) {
|
|
3831
|
+
var r = e.length === 1 ? _r : xr;
|
|
3832
3832
|
return st(e, this, r, t.cache.create(), t.serializer);
|
|
3833
3833
|
}
|
|
3834
3834
|
function Si(e, t) {
|
|
3835
|
-
return st(e, this,
|
|
3835
|
+
return st(e, this, xr, t.cache.create(), t.serializer);
|
|
3836
3836
|
}
|
|
3837
3837
|
function Ti(e, t) {
|
|
3838
3838
|
return st(e, this, _r, t.cache.create(), t.serializer);
|
|
@@ -3899,24 +3899,24 @@ var Oe = (
|
|
|
3899
3899
|
}
|
|
3900
3900
|
return t;
|
|
3901
3901
|
}(Oe)
|
|
3902
|
-
),
|
|
3902
|
+
), S;
|
|
3903
3903
|
(function(e) {
|
|
3904
3904
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3905
|
-
})(
|
|
3905
|
+
})(S || (S = {}));
|
|
3906
3906
|
function Pi(e) {
|
|
3907
3907
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3908
3908
|
var n = t[t.length - 1];
|
|
3909
|
-
return !n || n.type !==
|
|
3909
|
+
return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
|
|
3910
3910
|
}, []);
|
|
3911
3911
|
}
|
|
3912
3912
|
function Oi(e) {
|
|
3913
3913
|
return typeof e == "function";
|
|
3914
3914
|
}
|
|
3915
|
-
function
|
|
3915
|
+
function xe(e, t, r, n, i, o, s) {
|
|
3916
3916
|
if (e.length === 1 && wt(e[0]))
|
|
3917
3917
|
return [
|
|
3918
3918
|
{
|
|
3919
|
-
type:
|
|
3919
|
+
type: S.literal,
|
|
3920
3920
|
value: e[0].value
|
|
3921
3921
|
}
|
|
3922
3922
|
];
|
|
@@ -3924,14 +3924,14 @@ function Ee(e, t, r, n, i, o, s) {
|
|
|
3924
3924
|
var h = l[u];
|
|
3925
3925
|
if (wt(h)) {
|
|
3926
3926
|
a.push({
|
|
3927
|
-
type:
|
|
3927
|
+
type: S.literal,
|
|
3928
3928
|
value: h.value
|
|
3929
3929
|
});
|
|
3930
3930
|
continue;
|
|
3931
3931
|
}
|
|
3932
3932
|
if (Wn(h)) {
|
|
3933
3933
|
typeof o == "number" && a.push({
|
|
3934
|
-
type:
|
|
3934
|
+
type: S.literal,
|
|
3935
3935
|
value: r.getNumberFormat(t).format(o)
|
|
3936
3936
|
});
|
|
3937
3937
|
continue;
|
|
@@ -3942,23 +3942,23 @@ function Ee(e, t, r, n, i, o, s) {
|
|
|
3942
3942
|
var f = i[c];
|
|
3943
3943
|
if (Xn(h)) {
|
|
3944
3944
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3945
|
-
type: typeof f == "string" ?
|
|
3945
|
+
type: typeof f == "string" ? S.literal : S.object,
|
|
3946
3946
|
value: f
|
|
3947
3947
|
});
|
|
3948
3948
|
continue;
|
|
3949
3949
|
}
|
|
3950
3950
|
if (ar(h)) {
|
|
3951
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3951
|
+
var p = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
|
|
3952
3952
|
a.push({
|
|
3953
|
-
type:
|
|
3953
|
+
type: S.literal,
|
|
3954
3954
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3955
3955
|
});
|
|
3956
3956
|
continue;
|
|
3957
3957
|
}
|
|
3958
3958
|
if (ur(h)) {
|
|
3959
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3959
|
+
var p = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3960
3960
|
a.push({
|
|
3961
|
-
type:
|
|
3961
|
+
type: S.literal,
|
|
3962
3962
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3963
3963
|
});
|
|
3964
3964
|
continue;
|
|
@@ -3966,45 +3966,45 @@ function Ee(e, t, r, n, i, o, s) {
|
|
|
3966
3966
|
if (sr(h)) {
|
|
3967
3967
|
var p = typeof h.style == "string" ? n.number[h.style] : fr(h.style) ? h.style.parsedOptions : void 0;
|
|
3968
3968
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3969
|
-
type:
|
|
3969
|
+
type: S.literal,
|
|
3970
3970
|
value: r.getNumberFormat(t, p).format(f)
|
|
3971
3971
|
});
|
|
3972
3972
|
continue;
|
|
3973
3973
|
}
|
|
3974
3974
|
if (cr(h)) {
|
|
3975
|
-
var d = h.children, m = h.value,
|
|
3976
|
-
if (!Oi(
|
|
3975
|
+
var d = h.children, m = h.value, x = i[m];
|
|
3976
|
+
if (!Oi(x))
|
|
3977
3977
|
throw new Bi(m, "function", s);
|
|
3978
|
-
var
|
|
3979
|
-
return
|
|
3978
|
+
var T = xe(d, t, r, n, i, o), w = x(T.map(function(H) {
|
|
3979
|
+
return H.value;
|
|
3980
3980
|
}));
|
|
3981
|
-
Array.isArray(
|
|
3981
|
+
Array.isArray(w) || (w = [w]), a.push.apply(a, w.map(function(H) {
|
|
3982
3982
|
return {
|
|
3983
|
-
type: typeof
|
|
3984
|
-
value:
|
|
3983
|
+
type: typeof H == "string" ? S.literal : S.object,
|
|
3984
|
+
value: H
|
|
3985
3985
|
};
|
|
3986
3986
|
}));
|
|
3987
3987
|
}
|
|
3988
3988
|
if (lr(h)) {
|
|
3989
|
-
var
|
|
3990
|
-
if (!
|
|
3989
|
+
var E = h.options[f] || h.options.other;
|
|
3990
|
+
if (!E)
|
|
3991
3991
|
throw new Lt(h.value, f, Object.keys(h.options), s);
|
|
3992
|
-
a.push.apply(a,
|
|
3992
|
+
a.push.apply(a, xe(E.value, t, r, n, i));
|
|
3993
3993
|
continue;
|
|
3994
3994
|
}
|
|
3995
3995
|
if (hr(h)) {
|
|
3996
|
-
var
|
|
3997
|
-
if (!
|
|
3996
|
+
var E = h.options["=".concat(f)];
|
|
3997
|
+
if (!E) {
|
|
3998
3998
|
if (!Intl.PluralRules)
|
|
3999
3999
|
throw new Oe(`Intl.PluralRules is not available in this environment.
|
|
4000
4000
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4001
4001
|
`, Y.MISSING_INTL_API, s);
|
|
4002
4002
|
var I = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
4003
|
-
|
|
4003
|
+
E = h.options[I] || h.options.other;
|
|
4004
4004
|
}
|
|
4005
|
-
if (!
|
|
4005
|
+
if (!E)
|
|
4006
4006
|
throw new Lt(h.value, f, Object.keys(h.options), s);
|
|
4007
|
-
a.push.apply(a,
|
|
4007
|
+
a.push.apply(a, xe(E.value, t, r, n, i, f - (h.offset || 0)));
|
|
4008
4008
|
continue;
|
|
4009
4009
|
}
|
|
4010
4010
|
}
|
|
@@ -4043,7 +4043,7 @@ function Ci(e) {
|
|
|
4043
4043
|
getNumberFormat: De(function() {
|
|
4044
4044
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4045
4045
|
r[n] = arguments[n];
|
|
4046
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4046
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
4047
4047
|
}, {
|
|
4048
4048
|
cache: Fe(e.number),
|
|
4049
4049
|
strategy: Ge.variadic
|
|
@@ -4051,7 +4051,7 @@ function Ci(e) {
|
|
|
4051
4051
|
getDateTimeFormat: De(function() {
|
|
4052
4052
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4053
4053
|
r[n] = arguments[n];
|
|
4054
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4054
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
|
|
4055
4055
|
}, {
|
|
4056
4056
|
cache: Fe(e.dateTime),
|
|
4057
4057
|
strategy: Ge.variadic
|
|
@@ -4059,7 +4059,7 @@ function Ci(e) {
|
|
|
4059
4059
|
getPluralRules: De(function() {
|
|
4060
4060
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4061
4061
|
r[n] = arguments[n];
|
|
4062
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4062
|
+
return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
|
|
4063
4063
|
}, {
|
|
4064
4064
|
cache: Fe(e.pluralRules),
|
|
4065
4065
|
strategy: Ge.variadic
|
|
@@ -4080,11 +4080,11 @@ var Ni = (
|
|
|
4080
4080
|
if (l.length === 1)
|
|
4081
4081
|
return l[0].value;
|
|
4082
4082
|
var h = l.reduce(function(c, f) {
|
|
4083
|
-
return !c.length || f.type !==
|
|
4083
|
+
return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
4084
4084
|
}, []);
|
|
4085
4085
|
return h.length <= 1 ? h[0] || "" : h;
|
|
4086
4086
|
}, this.formatToParts = function(u) {
|
|
4087
|
-
return
|
|
4087
|
+
return xe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
4088
4088
|
}, this.resolvedOptions = function() {
|
|
4089
4089
|
var u;
|
|
4090
4090
|
return {
|
|
@@ -4198,7 +4198,7 @@ function Mi(e, t) {
|
|
|
4198
4198
|
n = void 0;
|
|
4199
4199
|
return n;
|
|
4200
4200
|
}
|
|
4201
|
-
const D = {}, $i = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r),
|
|
4201
|
+
const D = {}, $i = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Er = (e, t) => {
|
|
4202
4202
|
if (t == null)
|
|
4203
4203
|
return;
|
|
4204
4204
|
if (t in D && e in D[t])
|
|
@@ -4242,12 +4242,12 @@ ee(
|
|
|
4242
4242
|
([e]) => Object.keys(e)
|
|
4243
4243
|
);
|
|
4244
4244
|
pe.subscribe((e) => ut = e);
|
|
4245
|
-
const
|
|
4245
|
+
const Ee = {};
|
|
4246
4246
|
function Gi(e, t) {
|
|
4247
|
-
|
|
4247
|
+
Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
|
|
4248
4248
|
}
|
|
4249
4249
|
function wr(e) {
|
|
4250
|
-
return
|
|
4250
|
+
return Ee[e];
|
|
4251
4251
|
}
|
|
4252
4252
|
function Fi(e) {
|
|
4253
4253
|
return Ie(e).map((t) => {
|
|
@@ -4324,12 +4324,12 @@ function K() {
|
|
|
4324
4324
|
return Xi;
|
|
4325
4325
|
}
|
|
4326
4326
|
const je = Pe(!1);
|
|
4327
|
-
var Wi = Object.defineProperty, zi = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols,
|
|
4327
|
+
var Wi = Object.defineProperty, zi = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ji = (e, t) => {
|
|
4328
4328
|
for (var r in t || (t = {}))
|
|
4329
|
-
|
|
4329
|
+
qi.call(t, r) && Nt(e, r, t[r]);
|
|
4330
4330
|
if (Ct)
|
|
4331
4331
|
for (var r of Ct(t))
|
|
4332
|
-
|
|
4332
|
+
Qi.call(t, r) && Nt(e, r, t[r]);
|
|
4333
4333
|
return e;
|
|
4334
4334
|
}, Yi = (e, t) => zi(e, Zi(t));
|
|
4335
4335
|
let nt;
|
|
@@ -4453,7 +4453,7 @@ const le = (e, t) => {
|
|
|
4453
4453
|
throw new Error(
|
|
4454
4454
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4455
4455
|
);
|
|
4456
|
-
let h =
|
|
4456
|
+
let h = Er(e, u);
|
|
4457
4457
|
if (!h)
|
|
4458
4458
|
h = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4459
4459
|
else if (typeof h != "string")
|
|
@@ -4472,13 +4472,13 @@ const le = (e, t) => {
|
|
|
4472
4472
|
);
|
|
4473
4473
|
}
|
|
4474
4474
|
return c;
|
|
4475
|
-
}, lo = (e, t) => so(t).format(e), ho = (e, t) => oo(t).format(e), co = (e, t) => io(t).format(e), fo = (e, t = k()) =>
|
|
4475
|
+
}, lo = (e, t) => so(t).format(e), ho = (e, t) => oo(t).format(e), co = (e, t) => io(t).format(e), fo = (e, t = k()) => Er(e, t), po = ee([te, pe], () => uo);
|
|
4476
4476
|
ee([te], () => lo);
|
|
4477
4477
|
ee([te], () => ho);
|
|
4478
4478
|
ee([te], () => co);
|
|
4479
4479
|
ee([te, pe], () => fo);
|
|
4480
4480
|
window.emWidgets = { topic: Bn };
|
|
4481
|
-
const
|
|
4481
|
+
const Qo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), mo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4482
4482
|
function Rt(e, t) {
|
|
4483
4483
|
Tr(e, t);
|
|
4484
4484
|
}
|
|
@@ -4517,17 +4517,17 @@ const Ut = {
|
|
|
4517
4517
|
logoutButton: "Cerrar sesión"
|
|
4518
4518
|
}
|
|
4519
4519
|
};
|
|
4520
|
-
function yo(e) {
|
|
4521
|
-
kr(e, "svelte-1oay3a3", ".svelte-1oay3a3.svelte-1oay3a3,.svelte-1oay3a3.svelte-1oay3a3::before,.svelte-1oay3a3.svelte-1oay3a3::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox.svelte-1oay3a3.svelte-1oay3a3{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox.svelte-1oay3a3 .PlayerLogoutText.svelte-1oay3a3{margin-left:20px}.PlayerAccountMenuItemBox.svelte-1oay3a3 svg.svelte-1oay3a3{fill:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox.svelte-1oay3a3.svelte-1oay3a3{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox.svelte-1oay3a3 svg.svelte-1oay3a3{fill:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-white, #FFFFFF))}");
|
|
4522
|
-
}
|
|
4523
4520
|
function go(e) {
|
|
4521
|
+
kr(e, "svelte-1xktkq3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emfe-w-pam-typography-color-nav-bg, var(--emfe-w-color-white, #FFFFFF))}");
|
|
4522
|
+
}
|
|
4523
|
+
function yo(e) {
|
|
4524
4524
|
let t, r, n, i = (
|
|
4525
4525
|
/*$_*/
|
|
4526
4526
|
e[2]("logoutButton") + ""
|
|
4527
4527
|
), o, s, a;
|
|
4528
4528
|
return {
|
|
4529
4529
|
c() {
|
|
4530
|
-
t = C("div"), r = C("button"), n = C("span"), o = fe(i),
|
|
4530
|
+
t = C("div"), r = C("button"), n = C("span"), o = fe(i), A(t, "class", "GeneralLogout");
|
|
4531
4531
|
},
|
|
4532
4532
|
m(u, l) {
|
|
4533
4533
|
ce(u, t, l), P(t, r), P(r, n), P(n, o), s || (a = Wt(
|
|
@@ -4552,14 +4552,14 @@ function vo(e) {
|
|
|
4552
4552
|
e[3] && _o(e);
|
|
4553
4553
|
return {
|
|
4554
4554
|
c() {
|
|
4555
|
-
t = C("p"), r = C("span"), n = ne("svg"), i = ne("defs"), o = ne("style"), s = fe(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emfe-w-color-white, #FFFFFF);}"), a = ne("path"), u = ne("path"), l = Xr(), f && f.c(),
|
|
4555
|
+
t = C("p"), r = C("span"), n = ne("svg"), i = ne("defs"), o = ne("style"), s = fe(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emfe-w-color-white, #FFFFFF);}"), a = ne("path"), u = ne("path"), l = Xr(), f && f.c(), A(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), A(u, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(u, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), A(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), A(n, "data-name", "Layer 1"), A(n, "xmlns", "http://www.w3.org/2000/svg"), A(n, "viewBox", "0 0 150 150"), zr(r, "width", /*isMobile*/
|
|
4556
4556
|
e[3] ? (
|
|
4557
4557
|
/*mediaQuery*/
|
|
4558
4558
|
e[4].matches ? "50px" : "24px"
|
|
4559
|
-
) : "20px"),
|
|
4559
|
+
) : "20px"), A(t, "class", "PlayerAccountMenuItemBox " + /*isMobile*/
|
|
4560
4560
|
(e[3] ? "PlayerAccountMenuItemBoxMobile" : "") + " " + /*mediaQuery*/
|
|
4561
4561
|
(e[4].matches && /*isMobile*/
|
|
4562
|
-
e[3] ? "PlayerAccountMenuItemBoxTablet" : "")
|
|
4562
|
+
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4563
4563
|
},
|
|
4564
4564
|
m(p, d) {
|
|
4565
4565
|
ce(p, t, d), P(t, r), P(r, n), P(n, i), P(i, o), P(o, s), P(n, a), P(n, u), P(t, l), f && f.m(t, null), h || (c = Wt(
|
|
@@ -4585,7 +4585,7 @@ function _o(e) {
|
|
|
4585
4585
|
), n;
|
|
4586
4586
|
return {
|
|
4587
4587
|
c() {
|
|
4588
|
-
t = C("span"), n = fe(r),
|
|
4588
|
+
t = C("span"), n = fe(r), A(t, "class", "PlayerLogoutText");
|
|
4589
4589
|
},
|
|
4590
4590
|
m(i, o) {
|
|
4591
4591
|
ce(i, t, o), P(t, n);
|
|
@@ -4600,18 +4600,18 @@ function _o(e) {
|
|
|
4600
4600
|
}
|
|
4601
4601
|
};
|
|
4602
4602
|
}
|
|
4603
|
-
function
|
|
4603
|
+
function xo(e) {
|
|
4604
4604
|
let t;
|
|
4605
4605
|
function r(o, s) {
|
|
4606
4606
|
return (
|
|
4607
4607
|
/*buttonlocation*/
|
|
4608
|
-
o[0] === "PlayerAccountMenu" ? vo :
|
|
4608
|
+
o[0] === "PlayerAccountMenu" ? vo : yo
|
|
4609
4609
|
);
|
|
4610
4610
|
}
|
|
4611
4611
|
let n = r(e), i = n(e);
|
|
4612
4612
|
return {
|
|
4613
4613
|
c() {
|
|
4614
|
-
t = C("div"), i.c()
|
|
4614
|
+
t = C("div"), i.c();
|
|
4615
4615
|
},
|
|
4616
4616
|
m(o, s) {
|
|
4617
4617
|
ce(o, t, s), i.m(t, null), e[14](t);
|
|
@@ -4619,18 +4619,18 @@ function Eo(e) {
|
|
|
4619
4619
|
p(o, [s]) {
|
|
4620
4620
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4621
4621
|
},
|
|
4622
|
-
i:
|
|
4623
|
-
o:
|
|
4622
|
+
i: B,
|
|
4623
|
+
o: B,
|
|
4624
4624
|
d(o) {
|
|
4625
4625
|
o && j(t), i.d(), e[14](null);
|
|
4626
4626
|
}
|
|
4627
4627
|
};
|
|
4628
4628
|
}
|
|
4629
|
-
function
|
|
4629
|
+
function Eo(e, t, r) {
|
|
4630
4630
|
let n;
|
|
4631
|
-
Gr(e, po, (
|
|
4631
|
+
Gr(e, po, (y) => r(2, n = y));
|
|
4632
4632
|
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: h = "" } = t, c = "", f = !1, p, d = window.navigator.userAgent, m = mo(d) !== "PC";
|
|
4633
|
-
const
|
|
4633
|
+
const x = window.matchMedia("(min-width: 768px)"), T = () => {
|
|
4634
4634
|
fetch(h).then((L) => L.json()).then((L) => {
|
|
4635
4635
|
Object.keys(L).forEach((G) => {
|
|
4636
4636
|
Rt(G, L[G]);
|
|
@@ -4639,24 +4639,24 @@ function xo(e, t, r) {
|
|
|
4639
4639
|
console.log(L);
|
|
4640
4640
|
});
|
|
4641
4641
|
};
|
|
4642
|
-
Object.keys(Ut).forEach((
|
|
4643
|
-
Rt(
|
|
4642
|
+
Object.keys(Ut).forEach((y) => {
|
|
4643
|
+
Rt(y, Ut[y]);
|
|
4644
4644
|
});
|
|
4645
|
-
const
|
|
4646
|
-
let
|
|
4647
|
-
|
|
4648
|
-
let L = { method: "DELETE", headers:
|
|
4645
|
+
const w = () => {
|
|
4646
|
+
let y = new Headers();
|
|
4647
|
+
y.append("Content-type", "application/json"), y.append("X-SessionID", o);
|
|
4648
|
+
let L = { method: "DELETE", headers: y };
|
|
4649
4649
|
fetch(`${i}/v1/player/session/player`, L).then((G) => {
|
|
4650
4650
|
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
|
|
4651
4651
|
});
|
|
4652
|
-
},
|
|
4652
|
+
}, E = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", f = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", f = !0, console.error(c)), f), I = () => {
|
|
4653
4653
|
bo(a);
|
|
4654
|
-
},
|
|
4655
|
-
let
|
|
4656
|
-
|
|
4654
|
+
}, H = () => {
|
|
4655
|
+
let y = document.createElement("style");
|
|
4656
|
+
y.innerHTML = u, p.appendChild(y);
|
|
4657
4657
|
}, U = () => {
|
|
4658
|
-
let
|
|
4659
|
-
fetch(
|
|
4658
|
+
let y = new URL(l), L = document.createElement("style");
|
|
4659
|
+
fetch(y.href).then((G) => G.text()).then((G) => {
|
|
4660
4660
|
L.innerHTML = G, setTimeout(
|
|
4661
4661
|
() => {
|
|
4662
4662
|
p.appendChild(L);
|
|
@@ -4668,28 +4668,28 @@ function xo(e, t, r) {
|
|
|
4668
4668
|
500
|
|
4669
4669
|
);
|
|
4670
4670
|
});
|
|
4671
|
-
}, de = () =>
|
|
4672
|
-
function Ir(
|
|
4673
|
-
ke[
|
|
4674
|
-
p =
|
|
4671
|
+
}, de = () => w(), Or = () => w();
|
|
4672
|
+
function Ir(y) {
|
|
4673
|
+
ke[y ? "unshift" : "push"](() => {
|
|
4674
|
+
p = y, r(1, p);
|
|
4675
4675
|
});
|
|
4676
4676
|
}
|
|
4677
|
-
return e.$$set = (
|
|
4678
|
-
"endpoint" in
|
|
4677
|
+
return e.$$set = (y) => {
|
|
4678
|
+
"endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, s = y.buttonlocation), "lang" in y && r(8, a = y.lang), "clientstyling" in y && r(9, u = y.clientstyling), "clientstylingurl" in y && r(10, l = y.clientstylingurl), "translationurl" in y && r(11, h = y.translationurl);
|
|
4679
4679
|
}, e.$$.update = () => {
|
|
4680
4680
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
4681
|
-
193 && i && o && s &&
|
|
4681
|
+
193 && i && o && s && E(), e.$$.dirty & /*lang*/
|
|
4682
4682
|
256 && a && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4683
|
-
514 && u && p &&
|
|
4683
|
+
514 && u && p && H(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4684
4684
|
1026 && l && p && U(), e.$$.dirty & /*translationurl*/
|
|
4685
|
-
2048 && h &&
|
|
4685
|
+
2048 && h && T();
|
|
4686
4686
|
}, [
|
|
4687
4687
|
s,
|
|
4688
4688
|
p,
|
|
4689
4689
|
n,
|
|
4690
4690
|
m,
|
|
4691
|
-
|
|
4692
|
-
|
|
4691
|
+
x,
|
|
4692
|
+
w,
|
|
4693
4693
|
i,
|
|
4694
4694
|
o,
|
|
4695
4695
|
a,
|
|
@@ -4706,8 +4706,8 @@ class Pr extends fn {
|
|
|
4706
4706
|
super(), hn(
|
|
4707
4707
|
this,
|
|
4708
4708
|
t,
|
|
4709
|
-
xo,
|
|
4710
4709
|
Eo,
|
|
4710
|
+
xo,
|
|
4711
4711
|
Gt,
|
|
4712
4712
|
{
|
|
4713
4713
|
endpoint: 6,
|
|
@@ -4718,7 +4718,7 @@ class Pr extends fn {
|
|
|
4718
4718
|
clientstylingurl: 10,
|
|
4719
4719
|
translationurl: 11
|
|
4720
4720
|
},
|
|
4721
|
-
|
|
4721
|
+
go
|
|
4722
4722
|
);
|
|
4723
4723
|
}
|
|
4724
4724
|
get endpoint() {
|
|
@@ -4792,7 +4792,7 @@ export {
|
|
|
4792
4792
|
fn as S,
|
|
4793
4793
|
Do as T,
|
|
4794
4794
|
he as U,
|
|
4795
|
-
|
|
4795
|
+
Qo as V,
|
|
4796
4796
|
Po as W,
|
|
4797
4797
|
zr as X,
|
|
4798
4798
|
Rr as Y,
|
|
@@ -4800,7 +4800,7 @@ export {
|
|
|
4800
4800
|
zo as _,
|
|
4801
4801
|
Tr as a,
|
|
4802
4802
|
Vo as a0,
|
|
4803
|
-
|
|
4803
|
+
qo as a1,
|
|
4804
4804
|
Pn as a2,
|
|
4805
4805
|
$o as a3,
|
|
4806
4806
|
Jo as a4,
|
|
@@ -4809,7 +4809,7 @@ export {
|
|
|
4809
4809
|
Xr as d,
|
|
4810
4810
|
C as e,
|
|
4811
4811
|
N as f,
|
|
4812
|
-
|
|
4812
|
+
A as g,
|
|
4813
4813
|
Fo as h,
|
|
4814
4814
|
hn as i,
|
|
4815
4815
|
Mo as j,
|
|
@@ -4817,7 +4817,7 @@ export {
|
|
|
4817
4817
|
P as l,
|
|
4818
4818
|
Wt as m,
|
|
4819
4819
|
zt as n,
|
|
4820
|
-
|
|
4820
|
+
B as o,
|
|
4821
4821
|
j as p,
|
|
4822
4822
|
Gr as q,
|
|
4823
4823
|
F as r,
|