@everymatrix/cashier-session-expiration-modal 1.54.8 → 1.54.10
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/{CashierSessionExpirationModal-DrKM_g26.js → CashierSessionExpirationModal-C-jqeLlS.js} +390 -390
- package/components/{CashierSessionExpirationModal-USDvtyiY.cjs → CashierSessionExpirationModal-Czs4Kb3v.cjs} +7 -7
- package/components/{CashierSessionExpirationModal-DmJaxNwn.js → CashierSessionExpirationModal-DsxGwhjW.js} +392 -392
- package/es2015/cashier-session-expiration-modal.cjs +1 -1
- package/es2015/cashier-session-expiration-modal.js +1 -1
- package/esnext/cashier-session-expiration-modal.js +1 -1
- package/package.json +2 -2
|
@@ -14,20 +14,20 @@ var ge = (e, t, n) => on(e, typeof t != "symbol" ? t + "" : t, n);
|
|
|
14
14
|
var ar = (e, t, n) => new Promise((r, i) => {
|
|
15
15
|
var s = (c) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
17
|
+
l(n.next(c));
|
|
18
|
+
} catch (u) {
|
|
19
|
+
i(u);
|
|
20
20
|
}
|
|
21
21
|
}, a = (c) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
23
|
+
l(n.throw(c));
|
|
24
|
+
} catch (u) {
|
|
25
|
+
i(u);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, l = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(s, a);
|
|
28
|
+
l((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function he() {
|
|
31
31
|
}
|
|
32
32
|
const Zr = (e) => e;
|
|
33
33
|
function qi(e, t) {
|
|
@@ -40,7 +40,7 @@ function qi(e, t) {
|
|
|
40
40
|
function Vr(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function lr() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
46
|
function Re(e) {
|
|
@@ -63,7 +63,7 @@ function Jr(e, ...t) {
|
|
|
63
63
|
if (e == null) {
|
|
64
64
|
for (const r of t)
|
|
65
65
|
r(void 0);
|
|
66
|
-
return
|
|
66
|
+
return he;
|
|
67
67
|
}
|
|
68
68
|
const n = e.subscribe(...t);
|
|
69
69
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
@@ -87,8 +87,8 @@ function Nt(e, t, n, r) {
|
|
|
87
87
|
return i;
|
|
88
88
|
if (typeof i == "object") {
|
|
89
89
|
const s = [], a = Math.max(t.dirty.length, i.length);
|
|
90
|
-
for (let
|
|
91
|
-
s[
|
|
90
|
+
for (let l = 0; l < a; l += 1)
|
|
91
|
+
s[l] = t.dirty[l] | i[l];
|
|
92
92
|
return s;
|
|
93
93
|
}
|
|
94
94
|
return t.dirty | i;
|
|
@@ -111,7 +111,7 @@ function Rt(e) {
|
|
|
111
111
|
return -1;
|
|
112
112
|
}
|
|
113
113
|
const qr = typeof window != "undefined";
|
|
114
|
-
let $i = qr ? () => window.performance.now() : () => Date.now(), Pn = qr ? (e) => requestAnimationFrame(e) :
|
|
114
|
+
let $i = qr ? () => window.performance.now() : () => Date.now(), Pn = qr ? (e) => requestAnimationFrame(e) : he;
|
|
115
115
|
const Ve = /* @__PURE__ */ new Set();
|
|
116
116
|
function Qr(e) {
|
|
117
117
|
Ve.forEach((t) => {
|
|
@@ -168,13 +168,13 @@ function me(e) {
|
|
|
168
168
|
function K(e) {
|
|
169
169
|
return document.createElement(e);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function ur(e) {
|
|
172
172
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
173
173
|
}
|
|
174
174
|
function $e(e) {
|
|
175
175
|
return document.createTextNode(e);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function ft() {
|
|
178
178
|
return $e(" ");
|
|
179
179
|
}
|
|
180
180
|
function $r() {
|
|
@@ -241,27 +241,27 @@ function as(e) {
|
|
|
241
241
|
}
|
|
242
242
|
const Gt = /* @__PURE__ */ new Map();
|
|
243
243
|
let Ft = 0;
|
|
244
|
-
function
|
|
244
|
+
function ls(e) {
|
|
245
245
|
let t = 5381, n = e.length;
|
|
246
246
|
for (; n--; ) t = (t << 5) - t ^ e.charCodeAt(n);
|
|
247
247
|
return t >>> 0;
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function us(e, t) {
|
|
250
250
|
const n = { stylesheet: ns(t), rules: {} };
|
|
251
251
|
return Gt.set(e, n), n;
|
|
252
252
|
}
|
|
253
|
-
function cr(e, t, n, r, i, s, a,
|
|
253
|
+
function cr(e, t, n, r, i, s, a, l = 0) {
|
|
254
254
|
const c = 16.666 / r;
|
|
255
|
-
let
|
|
255
|
+
let u = `{
|
|
256
256
|
`;
|
|
257
257
|
for (let M = 0; M <= 1; M += c) {
|
|
258
258
|
const j = t + (n - t) * s(M);
|
|
259
|
-
|
|
259
|
+
u += M * 100 + `%{${a(j, 1 - j)}}
|
|
260
260
|
`;
|
|
261
261
|
}
|
|
262
|
-
const
|
|
263
|
-
}`, b = `__svelte_${
|
|
264
|
-
E[b] || (E[b] = !0, C.insertRule(`@keyframes ${b} ${
|
|
262
|
+
const h = u + `100% {${a(n, 1 - n)}}
|
|
263
|
+
}`, b = `__svelte_${ls(h)}_${l}`, T = Rn(e), { stylesheet: C, rules: E } = Gt.get(T) || us(T, e);
|
|
264
|
+
E[b] || (E[b] = !0, C.insertRule(`@keyframes ${b} ${h}`, C.cssRules.length));
|
|
265
265
|
const m = e.style.animation || "";
|
|
266
266
|
return e.style.animation = `${m ? `${m}, ` : ""}${b} ${r}ms linear ${i}ms 1 both`, Ft += 1, b;
|
|
267
267
|
}
|
|
@@ -270,9 +270,9 @@ function cs(e, t) {
|
|
|
270
270
|
t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
|
|
271
271
|
// remove all Svelte animations
|
|
272
272
|
), i = n.length - r.length;
|
|
273
|
-
i && (e.style.animation = r.join(", "), Ft -= i, Ft ||
|
|
273
|
+
i && (e.style.animation = r.join(", "), Ft -= i, Ft || hs());
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function hs() {
|
|
276
276
|
Pn(() => {
|
|
277
277
|
Ft || (Gt.forEach((e) => {
|
|
278
278
|
const { ownerNode: t } = e.stylesheet;
|
|
@@ -288,7 +288,7 @@ function ei() {
|
|
|
288
288
|
if (!dt) throw new Error("Function called outside component initialization");
|
|
289
289
|
return dt;
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function fs(e) {
|
|
292
292
|
ei().$$.on_mount.push(e);
|
|
293
293
|
}
|
|
294
294
|
function ms(e) {
|
|
@@ -296,7 +296,7 @@ function ms(e) {
|
|
|
296
296
|
}
|
|
297
297
|
const Ze = [], zt = [];
|
|
298
298
|
let Xe = [];
|
|
299
|
-
const
|
|
299
|
+
const hr = [], ps = /* @__PURE__ */ Promise.resolve();
|
|
300
300
|
let xn = !1;
|
|
301
301
|
function ds() {
|
|
302
302
|
xn || (xn = !0, ps.then(ce));
|
|
@@ -326,8 +326,8 @@ function ce() {
|
|
|
326
326
|
}
|
|
327
327
|
Xe.length = 0;
|
|
328
328
|
} while (Ze.length);
|
|
329
|
-
for (;
|
|
330
|
-
|
|
329
|
+
for (; hr.length; )
|
|
330
|
+
hr.pop()();
|
|
331
331
|
xn = !1, an.clear(), pt(e);
|
|
332
332
|
}
|
|
333
333
|
function gs(e) {
|
|
@@ -347,7 +347,7 @@ function Es() {
|
|
|
347
347
|
st = null;
|
|
348
348
|
})), st;
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function ln(e, t, n) {
|
|
351
351
|
e.dispatchEvent(os(`${t ? "intro" : "outro"}${n}`));
|
|
352
352
|
}
|
|
353
353
|
const Lt = /* @__PURE__ */ new Set();
|
|
@@ -375,10 +375,10 @@ function Ne(e, t, n, r) {
|
|
|
375
375
|
} else r && r();
|
|
376
376
|
}
|
|
377
377
|
const ys = { duration: 0 };
|
|
378
|
-
function
|
|
379
|
-
let s = t(e, n, { direction: "both" }), a = r ? 0 : 1,
|
|
378
|
+
function fr(e, t, n, r) {
|
|
379
|
+
let s = t(e, n, { direction: "both" }), a = r ? 0 : 1, l = null, c = null, u = null, h;
|
|
380
380
|
function b() {
|
|
381
|
-
|
|
381
|
+
u && cs(e, u);
|
|
382
382
|
}
|
|
383
383
|
function T(E, m) {
|
|
384
384
|
const M = (
|
|
@@ -400,31 +400,31 @@ function hr(e, t, n, r) {
|
|
|
400
400
|
delay: m = 0,
|
|
401
401
|
duration: M = 300,
|
|
402
402
|
easing: j = Zr,
|
|
403
|
-
tick: R =
|
|
403
|
+
tick: R = he,
|
|
404
404
|
css: A
|
|
405
405
|
} = s || ys, L = {
|
|
406
406
|
start: $i() + m,
|
|
407
407
|
b: E
|
|
408
408
|
};
|
|
409
|
-
E || (L.group = Ce, Ce.r += 1), "inert" in e && (E ?
|
|
410
|
-
e.inert, e.inert = !0)),
|
|
411
|
-
if (c && D > c.start && (
|
|
409
|
+
E || (L.group = Ce, Ce.r += 1), "inert" in e && (E ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
410
|
+
e.inert, e.inert = !0)), l || c ? c = L : (A && (b(), u = cr(e, a, E, M, m, j, A)), E && R(0, 1), l = T(L, M), Je(() => ln(e, E, "start")), es((D) => {
|
|
411
|
+
if (c && D > c.start && (l = T(c, M), c = null, ln(e, l.b, "start"), A && (b(), u = cr(
|
|
412
412
|
e,
|
|
413
413
|
a,
|
|
414
|
-
|
|
415
|
-
|
|
414
|
+
l.b,
|
|
415
|
+
l.duration,
|
|
416
416
|
0,
|
|
417
417
|
j,
|
|
418
418
|
s.css
|
|
419
|
-
))),
|
|
420
|
-
if (D >=
|
|
421
|
-
R(a =
|
|
422
|
-
else if (D >=
|
|
423
|
-
const z = D -
|
|
424
|
-
a =
|
|
419
|
+
))), l) {
|
|
420
|
+
if (D >= l.end)
|
|
421
|
+
R(a = l.b, 1 - a), ln(e, l.b, "end"), c || (l.b ? b() : --l.group.r || Re(l.group.c)), l = null;
|
|
422
|
+
else if (D >= l.start) {
|
|
423
|
+
const z = D - l.start;
|
|
424
|
+
a = l.a + l.d * j(z / l.duration), R(a, 1 - a);
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
return !!(
|
|
427
|
+
return !!(l || c);
|
|
428
428
|
}));
|
|
429
429
|
}
|
|
430
430
|
return {
|
|
@@ -434,7 +434,7 @@ function hr(e, t, n, r) {
|
|
|
434
434
|
}) : C(E);
|
|
435
435
|
},
|
|
436
436
|
end() {
|
|
437
|
-
b(),
|
|
437
|
+
b(), l = c = null;
|
|
438
438
|
}
|
|
439
439
|
};
|
|
440
440
|
}
|
|
@@ -452,17 +452,17 @@ function xs(e, t) {
|
|
|
452
452
|
function vs(e, t) {
|
|
453
453
|
e.$$.dirty[0] === -1 && (Ze.push(e), ds(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
454
454
|
}
|
|
455
|
-
function Ss(e, t, n, r, i, s, a = null,
|
|
455
|
+
function Ss(e, t, n, r, i, s, a = null, l = [-1]) {
|
|
456
456
|
const c = dt;
|
|
457
457
|
pt(e);
|
|
458
|
-
const
|
|
458
|
+
const u = e.$$ = {
|
|
459
459
|
fragment: null,
|
|
460
460
|
ctx: [],
|
|
461
461
|
// state
|
|
462
462
|
props: s,
|
|
463
|
-
update:
|
|
463
|
+
update: he,
|
|
464
464
|
not_equal: i,
|
|
465
|
-
bound:
|
|
465
|
+
bound: lr(),
|
|
466
466
|
// lifecycle
|
|
467
467
|
on_mount: [],
|
|
468
468
|
on_destroy: [],
|
|
@@ -471,22 +471,22 @@ function Ss(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
471
471
|
after_update: [],
|
|
472
472
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
473
473
|
// everything else
|
|
474
|
-
callbacks:
|
|
475
|
-
dirty:
|
|
474
|
+
callbacks: lr(),
|
|
475
|
+
dirty: l,
|
|
476
476
|
skip_bound: !1,
|
|
477
477
|
root: t.target || c.$$.root
|
|
478
478
|
};
|
|
479
|
-
a && a(
|
|
480
|
-
let
|
|
481
|
-
if (
|
|
479
|
+
a && a(u.root);
|
|
480
|
+
let h = !1;
|
|
481
|
+
if (u.ctx = n ? n(e, t.props || {}, (b, T, ...C) => {
|
|
482
482
|
const E = C.length ? C[0] : T;
|
|
483
|
-
return
|
|
484
|
-
}) : [],
|
|
483
|
+
return u.ctx && i(u.ctx[b], u.ctx[b] = E) && (!u.skip_bound && u.bound[b] && u.bound[b](E), h && vs(e, b)), T;
|
|
484
|
+
}) : [], u.update(), h = !0, Re(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
|
|
485
485
|
if (t.hydrate) {
|
|
486
486
|
const b = rs(t.target);
|
|
487
|
-
|
|
487
|
+
u.fragment && u.fragment.l(b), b.forEach(me);
|
|
488
488
|
} else
|
|
489
|
-
|
|
489
|
+
u.fragment && u.fragment.c();
|
|
490
490
|
t.intro && we(e.$$.fragment), Ts(e, t.target, t.anchor), ce();
|
|
491
491
|
}
|
|
492
492
|
pt(c);
|
|
@@ -542,11 +542,11 @@ typeof HTMLElement == "function" && (ri = class extends HTMLElement {
|
|
|
542
542
|
* @param {HTMLElement} target
|
|
543
543
|
* @param {HTMLElement} [anchor]
|
|
544
544
|
*/
|
|
545
|
-
m: function(
|
|
546
|
-
Ae(
|
|
545
|
+
m: function(u, h) {
|
|
546
|
+
Ae(u, a, h);
|
|
547
547
|
},
|
|
548
|
-
d: function(
|
|
549
|
-
|
|
548
|
+
d: function(u) {
|
|
549
|
+
u && me(a);
|
|
550
550
|
}
|
|
551
551
|
};
|
|
552
552
|
};
|
|
@@ -588,8 +588,8 @@ typeof HTMLElement == "function" && (ri = class extends HTMLElement {
|
|
|
588
588
|
this.$$c.$$.after_update.push(i), i();
|
|
589
589
|
for (const s in this.$$l)
|
|
590
590
|
for (const a of this.$$l[s]) {
|
|
591
|
-
const
|
|
592
|
-
this.$$l_u.set(a,
|
|
591
|
+
const l = this.$$c.$on(s, a);
|
|
592
|
+
this.$$l_u.set(a, l);
|
|
593
593
|
}
|
|
594
594
|
this.$$l = {};
|
|
595
595
|
}
|
|
@@ -649,25 +649,25 @@ function ws(e, t, n, r, i, s) {
|
|
|
649
649
|
}
|
|
650
650
|
static get observedAttributes() {
|
|
651
651
|
return Object.keys(t).map(
|
|
652
|
-
(
|
|
652
|
+
(l) => (t[l].attribute || l).toLowerCase()
|
|
653
653
|
);
|
|
654
654
|
}
|
|
655
655
|
};
|
|
656
|
-
return Object.keys(t).forEach((
|
|
657
|
-
Object.defineProperty(a.prototype,
|
|
656
|
+
return Object.keys(t).forEach((l) => {
|
|
657
|
+
Object.defineProperty(a.prototype, l, {
|
|
658
658
|
get() {
|
|
659
|
-
return this.$$c &&
|
|
659
|
+
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
660
660
|
},
|
|
661
661
|
set(c) {
|
|
662
|
-
var
|
|
663
|
-
c = It(
|
|
662
|
+
var u;
|
|
663
|
+
c = It(l, c, t), this.$$d[l] = c, (u = this.$$c) == null || u.$set({ [l]: c });
|
|
664
664
|
}
|
|
665
665
|
});
|
|
666
|
-
}), r.forEach((
|
|
667
|
-
Object.defineProperty(a.prototype,
|
|
666
|
+
}), r.forEach((l) => {
|
|
667
|
+
Object.defineProperty(a.prototype, l, {
|
|
668
668
|
get() {
|
|
669
669
|
var c;
|
|
670
|
-
return (c = this.$$c) == null ? void 0 : c[
|
|
670
|
+
return (c = this.$$c) == null ? void 0 : c[l];
|
|
671
671
|
}
|
|
672
672
|
});
|
|
673
673
|
}), e.element = /** @type {any} */
|
|
@@ -694,7 +694,7 @@ class As {
|
|
|
694
694
|
}
|
|
695
695
|
/** @returns {void} */
|
|
696
696
|
$destroy() {
|
|
697
|
-
xs(this, 1), this.$destroy =
|
|
697
|
+
xs(this, 1), this.$destroy = he;
|
|
698
698
|
}
|
|
699
699
|
/**
|
|
700
700
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -704,7 +704,7 @@ class As {
|
|
|
704
704
|
*/
|
|
705
705
|
$on(t, n) {
|
|
706
706
|
if (!Vt(n))
|
|
707
|
-
return
|
|
707
|
+
return he;
|
|
708
708
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
709
709
|
return r.push(n), () => {
|
|
710
710
|
const i = r.indexOf(n);
|
|
@@ -736,28 +736,28 @@ function Os(e, t) {
|
|
|
736
736
|
subscribe: Jt(e, t).subscribe
|
|
737
737
|
};
|
|
738
738
|
}
|
|
739
|
-
function Jt(e, t =
|
|
739
|
+
function Jt(e, t = he) {
|
|
740
740
|
let n;
|
|
741
741
|
const r = /* @__PURE__ */ new Set();
|
|
742
|
-
function i(
|
|
743
|
-
if (Xr(e,
|
|
742
|
+
function i(l) {
|
|
743
|
+
if (Xr(e, l) && (e = l, n)) {
|
|
744
744
|
const c = !We.length;
|
|
745
|
-
for (const
|
|
746
|
-
|
|
745
|
+
for (const u of r)
|
|
746
|
+
u[1](), We.push(u, e);
|
|
747
747
|
if (c) {
|
|
748
|
-
for (let
|
|
749
|
-
We[
|
|
748
|
+
for (let u = 0; u < We.length; u += 2)
|
|
749
|
+
We[u][0](We[u + 1]);
|
|
750
750
|
We.length = 0;
|
|
751
751
|
}
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
|
-
function s(
|
|
755
|
-
i(
|
|
754
|
+
function s(l) {
|
|
755
|
+
i(l(e));
|
|
756
756
|
}
|
|
757
|
-
function a(
|
|
758
|
-
const
|
|
759
|
-
return r.add(
|
|
760
|
-
r.delete(
|
|
757
|
+
function a(l, c = he) {
|
|
758
|
+
const u = [l, c];
|
|
759
|
+
return r.add(u), r.size === 1 && (n = t(i, s) || he), l(e), () => {
|
|
760
|
+
r.delete(u), r.size === 0 && n && (n(), n = null);
|
|
761
761
|
};
|
|
762
762
|
}
|
|
763
763
|
return { set: i, update: s, subscribe: a };
|
|
@@ -767,24 +767,24 @@ function et(e, t, n) {
|
|
|
767
767
|
if (!i.every(Boolean))
|
|
768
768
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
769
769
|
const s = t.length < 2;
|
|
770
|
-
return Os(n, (a,
|
|
770
|
+
return Os(n, (a, l) => {
|
|
771
771
|
let c = !1;
|
|
772
|
-
const
|
|
773
|
-
let
|
|
772
|
+
const u = [];
|
|
773
|
+
let h = 0, b = he;
|
|
774
774
|
const T = () => {
|
|
775
|
-
if (
|
|
775
|
+
if (h)
|
|
776
776
|
return;
|
|
777
777
|
b();
|
|
778
|
-
const E = t(r ?
|
|
779
|
-
s ? a(E) : b = Vt(E) ? E :
|
|
778
|
+
const E = t(r ? u[0] : u, a, l);
|
|
779
|
+
s ? a(E) : b = Vt(E) ? E : he;
|
|
780
780
|
}, C = i.map(
|
|
781
781
|
(E, m) => Jr(
|
|
782
782
|
E,
|
|
783
783
|
(M) => {
|
|
784
|
-
|
|
784
|
+
u[m] = M, h &= ~(1 << m), c && T();
|
|
785
785
|
},
|
|
786
786
|
() => {
|
|
787
|
-
|
|
787
|
+
h |= 1 << m;
|
|
788
788
|
}
|
|
789
789
|
)
|
|
790
790
|
);
|
|
@@ -901,7 +901,7 @@ function js(e, t) {
|
|
|
901
901
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
902
902
|
return n;
|
|
903
903
|
}
|
|
904
|
-
function
|
|
904
|
+
function un(e, t, n) {
|
|
905
905
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, s; r < i; r++)
|
|
906
906
|
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
907
907
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
@@ -952,7 +952,7 @@ var Js = function() {
|
|
|
952
952
|
create: function() {
|
|
953
953
|
return new Ys();
|
|
954
954
|
}
|
|
955
|
-
},
|
|
955
|
+
}, hn = {
|
|
956
956
|
variadic: Xs
|
|
957
957
|
}, U;
|
|
958
958
|
(function(e) {
|
|
@@ -972,19 +972,19 @@ function dr(e) {
|
|
|
972
972
|
function Qs(e) {
|
|
973
973
|
return e.type === X.argument;
|
|
974
974
|
}
|
|
975
|
-
function
|
|
975
|
+
function li(e) {
|
|
976
976
|
return e.type === X.number;
|
|
977
977
|
}
|
|
978
|
-
function
|
|
978
|
+
function ui(e) {
|
|
979
979
|
return e.type === X.date;
|
|
980
980
|
}
|
|
981
981
|
function ci(e) {
|
|
982
982
|
return e.type === X.time;
|
|
983
983
|
}
|
|
984
|
-
function
|
|
984
|
+
function hi(e) {
|
|
985
985
|
return e.type === X.select;
|
|
986
986
|
}
|
|
987
|
-
function
|
|
987
|
+
function fi(e) {
|
|
988
988
|
return e.type === X.plural;
|
|
989
989
|
}
|
|
990
990
|
function Ks(e) {
|
|
@@ -1101,12 +1101,12 @@ function no(e) {
|
|
|
1101
1101
|
var s = i[r], a = s.split("/");
|
|
1102
1102
|
if (a.length === 0)
|
|
1103
1103
|
throw new Error("Invalid number skeleton");
|
|
1104
|
-
for (var
|
|
1105
|
-
var b =
|
|
1104
|
+
for (var l = a[0], c = a.slice(1), u = 0, h = c; u < h.length; u++) {
|
|
1105
|
+
var b = h[u];
|
|
1106
1106
|
if (b.length === 0)
|
|
1107
1107
|
throw new Error("Invalid number skeleton");
|
|
1108
1108
|
}
|
|
1109
|
-
n.push({ stem:
|
|
1109
|
+
n.push({ stem: l, options: c });
|
|
1110
1110
|
}
|
|
1111
1111
|
return n;
|
|
1112
1112
|
}
|
|
@@ -1213,13 +1213,13 @@ function oo(e) {
|
|
|
1213
1213
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1214
1214
|
continue;
|
|
1215
1215
|
case "scientific":
|
|
1216
|
-
t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(c,
|
|
1217
|
-
return F(F({}, c), Er(
|
|
1216
|
+
t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(c, u) {
|
|
1217
|
+
return F(F({}, c), Er(u));
|
|
1218
1218
|
}, {}));
|
|
1219
1219
|
continue;
|
|
1220
1220
|
case "engineering":
|
|
1221
|
-
t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(c,
|
|
1222
|
-
return F(F({}, c), Er(
|
|
1221
|
+
t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(c, u) {
|
|
1222
|
+
return F(F({}, c), Er(u));
|
|
1223
1223
|
}, {}));
|
|
1224
1224
|
continue;
|
|
1225
1225
|
case "notation-simple":
|
|
@@ -1264,9 +1264,9 @@ function oo(e) {
|
|
|
1264
1264
|
case "integer-width":
|
|
1265
1265
|
if (i.options.length > 1)
|
|
1266
1266
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1267
|
-
i.options[0].replace(io, function(c,
|
|
1268
|
-
if (
|
|
1269
|
-
t.minimumIntegerDigits =
|
|
1267
|
+
i.options[0].replace(io, function(c, u, h, b, T, C) {
|
|
1268
|
+
if (u)
|
|
1269
|
+
t.minimumIntegerDigits = h.length;
|
|
1270
1270
|
else {
|
|
1271
1271
|
if (b && T)
|
|
1272
1272
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1284,8 +1284,8 @@ function oo(e) {
|
|
|
1284
1284
|
if (gr.test(i.stem)) {
|
|
1285
1285
|
if (i.options.length > 1)
|
|
1286
1286
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1287
|
-
i.stem.replace(gr, function(c,
|
|
1288
|
-
return
|
|
1287
|
+
i.stem.replace(gr, function(c, u, h, b, T, C) {
|
|
1288
|
+
return h === "*" ? t.minimumFractionDigits = u.length : b && b[0] === "#" ? t.maximumFractionDigits = b.length : T && C ? (t.minimumFractionDigits = T.length, t.maximumFractionDigits = T.length + C.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1289
1289
|
});
|
|
1290
1290
|
var s = i.options[0];
|
|
1291
1291
|
s === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = F(F({}, t), br(s)));
|
|
@@ -1297,8 +1297,8 @@ function oo(e) {
|
|
|
1297
1297
|
}
|
|
1298
1298
|
var a = Ei(i.stem);
|
|
1299
1299
|
a && (t = F(F({}, t), a));
|
|
1300
|
-
var
|
|
1301
|
-
|
|
1300
|
+
var l = so(i.stem);
|
|
1301
|
+
l && (t = F(F({}, t), l));
|
|
1302
1302
|
}
|
|
1303
1303
|
return t;
|
|
1304
1304
|
}
|
|
@@ -2723,16 +2723,16 @@ function ao(e, t) {
|
|
|
2723
2723
|
if (i === "j") {
|
|
2724
2724
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2725
2725
|
s++, r++;
|
|
2726
|
-
var a = 1 + (s & 1),
|
|
2727
|
-
for ((
|
|
2726
|
+
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), c = "a", u = lo(t);
|
|
2727
|
+
for ((u == "H" || u == "k") && (l = 0); l-- > 0; )
|
|
2728
2728
|
n += c;
|
|
2729
2729
|
for (; a-- > 0; )
|
|
2730
|
-
n =
|
|
2730
|
+
n = u + n;
|
|
2731
2731
|
} else i === "J" ? n += "H" : n += i;
|
|
2732
2732
|
}
|
|
2733
2733
|
return n;
|
|
2734
2734
|
}
|
|
2735
|
-
function
|
|
2735
|
+
function lo(e) {
|
|
2736
2736
|
var t = e.hourCycle;
|
|
2737
2737
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2738
2738
|
e.hourCycles && // @ts-ignore
|
|
@@ -2754,20 +2754,20 @@ function uo(e) {
|
|
|
2754
2754
|
var i = Ot[r || ""] || Ot[n || ""] || Ot["".concat(n, "-001")] || Ot["001"];
|
|
2755
2755
|
return i[0];
|
|
2756
2756
|
}
|
|
2757
|
-
var
|
|
2757
|
+
var fn, uo = new RegExp("^".concat(di.source, "*")), co = new RegExp("".concat(di.source, "*$"));
|
|
2758
2758
|
function k(e, t) {
|
|
2759
2759
|
return { start: e, end: t };
|
|
2760
2760
|
}
|
|
2761
|
-
var
|
|
2761
|
+
var ho = !!String.prototype.startsWith && "_a".startsWith("a", 1), fo = !!String.fromCodePoint, mo = !!Object.fromEntries, po = !!String.prototype.codePointAt, go = !!String.prototype.trimStart, bo = !!String.prototype.trimEnd, Eo = !!Number.isSafeInteger, yo = Eo ? Number.isSafeInteger : function(e) {
|
|
2762
2762
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2763
2763
|
}, wn = !0;
|
|
2764
2764
|
try {
|
|
2765
2765
|
var To = Ti("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2766
|
-
wn = ((
|
|
2766
|
+
wn = ((fn = To.exec("a")) === null || fn === void 0 ? void 0 : fn[0]) === "a";
|
|
2767
2767
|
} catch (e) {
|
|
2768
2768
|
wn = !1;
|
|
2769
2769
|
}
|
|
2770
|
-
var yr =
|
|
2770
|
+
var yr = ho ? (
|
|
2771
2771
|
// Native
|
|
2772
2772
|
function(t, n, r) {
|
|
2773
2773
|
return t.startsWith(n, r);
|
|
@@ -2777,7 +2777,7 @@ var yr = fo ? (
|
|
|
2777
2777
|
function(t, n, r) {
|
|
2778
2778
|
return t.slice(r, r + n.length) === n;
|
|
2779
2779
|
}
|
|
2780
|
-
), An =
|
|
2780
|
+
), An = fo ? String.fromCodePoint : (
|
|
2781
2781
|
// IE11
|
|
2782
2782
|
function() {
|
|
2783
2783
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
@@ -2795,8 +2795,8 @@ var yr = fo ? (
|
|
|
2795
2795
|
// Ponyfill
|
|
2796
2796
|
function(t) {
|
|
2797
2797
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2798
|
-
var s = i[r], a = s[0],
|
|
2799
|
-
n[a] =
|
|
2798
|
+
var s = i[r], a = s[0], l = s[1];
|
|
2799
|
+
n[a] = l;
|
|
2800
2800
|
}
|
|
2801
2801
|
return n;
|
|
2802
2802
|
}
|
|
@@ -2823,7 +2823,7 @@ var yr = fo ? (
|
|
|
2823
2823
|
) : (
|
|
2824
2824
|
// Ponyfill
|
|
2825
2825
|
function(t) {
|
|
2826
|
-
return t.replace(
|
|
2826
|
+
return t.replace(uo, "");
|
|
2827
2827
|
}
|
|
2828
2828
|
), vo = bo ? (
|
|
2829
2829
|
// Native
|
|
@@ -2880,10 +2880,10 @@ var So = (
|
|
|
2880
2880
|
if (s === 125 && t > 0)
|
|
2881
2881
|
break;
|
|
2882
2882
|
if (s === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2883
|
-
var
|
|
2883
|
+
var l = this.clonePosition();
|
|
2884
2884
|
this.bump(), i.push({
|
|
2885
2885
|
type: X.pound,
|
|
2886
|
-
location: k(
|
|
2886
|
+
location: k(l, this.clonePosition())
|
|
2887
2887
|
});
|
|
2888
2888
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2889
2889
|
if (r)
|
|
@@ -2920,12 +2920,12 @@ var So = (
|
|
|
2920
2920
|
var s = this.parseMessage(t + 1, n, !0);
|
|
2921
2921
|
if (s.err)
|
|
2922
2922
|
return s;
|
|
2923
|
-
var a = s.val,
|
|
2923
|
+
var a = s.val, l = this.clonePosition();
|
|
2924
2924
|
if (this.bumpIf("</")) {
|
|
2925
2925
|
if (this.isEOF() || !On(this.char()))
|
|
2926
|
-
return this.error(U.INVALID_TAG, k(
|
|
2927
|
-
var c = this.clonePosition(),
|
|
2928
|
-
return i !==
|
|
2926
|
+
return this.error(U.INVALID_TAG, k(l, this.clonePosition()));
|
|
2927
|
+
var c = this.clonePosition(), u = this.parseTagName();
|
|
2928
|
+
return i !== u ? this.error(U.UNMATCHED_CLOSING_TAG, k(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2929
2929
|
val: {
|
|
2930
2930
|
type: X.tag,
|
|
2931
2931
|
value: i,
|
|
@@ -2933,7 +2933,7 @@ var So = (
|
|
|
2933
2933
|
location: k(r, this.clonePosition())
|
|
2934
2934
|
},
|
|
2935
2935
|
err: null
|
|
2936
|
-
} : this.error(U.INVALID_TAG, k(
|
|
2936
|
+
} : this.error(U.INVALID_TAG, k(l, this.clonePosition())));
|
|
2937
2937
|
} else
|
|
2938
2938
|
return this.error(U.UNCLOSED_TAG, k(r, this.clonePosition()));
|
|
2939
2939
|
} else
|
|
@@ -2955,9 +2955,9 @@ var So = (
|
|
|
2955
2955
|
i += a;
|
|
2956
2956
|
continue;
|
|
2957
2957
|
}
|
|
2958
|
-
var
|
|
2959
|
-
if (
|
|
2960
|
-
i +=
|
|
2958
|
+
var l = this.tryParseLeftAngleBracket();
|
|
2959
|
+
if (l) {
|
|
2960
|
+
i += l;
|
|
2961
2961
|
continue;
|
|
2962
2962
|
}
|
|
2963
2963
|
break;
|
|
@@ -3042,34 +3042,34 @@ var So = (
|
|
|
3042
3042
|
var s = this.clonePosition(), a = k(t, s);
|
|
3043
3043
|
return { value: r, location: a };
|
|
3044
3044
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
3045
|
-
var s, a = this.clonePosition(),
|
|
3046
|
-
switch (
|
|
3045
|
+
var s, a = this.clonePosition(), l = this.parseIdentifierIfPossible().value, c = this.clonePosition();
|
|
3046
|
+
switch (l) {
|
|
3047
3047
|
case "":
|
|
3048
3048
|
return this.error(U.EXPECT_ARGUMENT_TYPE, k(a, c));
|
|
3049
3049
|
case "number":
|
|
3050
3050
|
case "date":
|
|
3051
3051
|
case "time": {
|
|
3052
3052
|
this.bumpSpace();
|
|
3053
|
-
var
|
|
3053
|
+
var u = null;
|
|
3054
3054
|
if (this.bumpIf(",")) {
|
|
3055
3055
|
this.bumpSpace();
|
|
3056
|
-
var
|
|
3056
|
+
var h = this.clonePosition(), b = this.parseSimpleArgStyleIfPossible();
|
|
3057
3057
|
if (b.err)
|
|
3058
3058
|
return b;
|
|
3059
3059
|
var T = vo(b.val);
|
|
3060
3060
|
if (T.length === 0)
|
|
3061
3061
|
return this.error(U.EXPECT_ARGUMENT_STYLE, k(this.clonePosition(), this.clonePosition()));
|
|
3062
|
-
var C = k(
|
|
3063
|
-
|
|
3062
|
+
var C = k(h, this.clonePosition());
|
|
3063
|
+
u = { style: T, styleLocation: C };
|
|
3064
3064
|
}
|
|
3065
3065
|
var E = this.tryParseArgumentClose(i);
|
|
3066
3066
|
if (E.err)
|
|
3067
3067
|
return E;
|
|
3068
3068
|
var m = k(i, this.clonePosition());
|
|
3069
|
-
if (
|
|
3070
|
-
var M = xo(
|
|
3071
|
-
if (
|
|
3072
|
-
var b = this.parseNumberSkeletonFromString(M,
|
|
3069
|
+
if (u && yr(u == null ? void 0 : u.style, "::", 0)) {
|
|
3070
|
+
var M = xo(u.style.slice(2));
|
|
3071
|
+
if (l === "number") {
|
|
3072
|
+
var b = this.parseNumberSkeletonFromString(M, u.styleLocation);
|
|
3073
3073
|
return b.err ? b : {
|
|
3074
3074
|
val: { type: X.number, value: r, location: m, style: b.val },
|
|
3075
3075
|
err: null
|
|
@@ -3082,9 +3082,9 @@ var So = (
|
|
|
3082
3082
|
var T = {
|
|
3083
3083
|
type: qe.dateTime,
|
|
3084
3084
|
pattern: j,
|
|
3085
|
-
location:
|
|
3085
|
+
location: u.styleLocation,
|
|
3086
3086
|
parsedOptions: this.shouldParseSkeletons ? eo(j) : {}
|
|
3087
|
-
}, R =
|
|
3087
|
+
}, R = l === "date" ? X.date : X.time;
|
|
3088
3088
|
return {
|
|
3089
3089
|
val: { type: R, value: r, location: m, style: T },
|
|
3090
3090
|
err: null
|
|
@@ -3093,10 +3093,10 @@ var So = (
|
|
|
3093
3093
|
}
|
|
3094
3094
|
return {
|
|
3095
3095
|
val: {
|
|
3096
|
-
type:
|
|
3096
|
+
type: l === "number" ? X.number : l === "date" ? X.date : X.time,
|
|
3097
3097
|
value: r,
|
|
3098
3098
|
location: m,
|
|
3099
|
-
style: (s =
|
|
3099
|
+
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
|
3100
3100
|
},
|
|
3101
3101
|
err: null
|
|
3102
3102
|
};
|
|
@@ -3109,7 +3109,7 @@ var So = (
|
|
|
3109
3109
|
return this.error(U.EXPECT_SELECT_ARGUMENT_OPTIONS, k(A, F({}, A)));
|
|
3110
3110
|
this.bumpSpace();
|
|
3111
3111
|
var L = this.parseIdentifierIfPossible(), D = 0;
|
|
3112
|
-
if (
|
|
3112
|
+
if (l !== "select" && L.value === "offset") {
|
|
3113
3113
|
if (!this.bumpIf(":"))
|
|
3114
3114
|
return this.error(U.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, k(this.clonePosition(), this.clonePosition()));
|
|
3115
3115
|
this.bumpSpace();
|
|
@@ -3118,14 +3118,14 @@ var So = (
|
|
|
3118
3118
|
return b;
|
|
3119
3119
|
this.bumpSpace(), L = this.parseIdentifierIfPossible(), D = b.val;
|
|
3120
3120
|
}
|
|
3121
|
-
var z = this.tryParsePluralOrSelectOptions(t,
|
|
3121
|
+
var z = this.tryParsePluralOrSelectOptions(t, l, n, L);
|
|
3122
3122
|
if (z.err)
|
|
3123
3123
|
return z;
|
|
3124
3124
|
var E = this.tryParseArgumentClose(i);
|
|
3125
3125
|
if (E.err)
|
|
3126
3126
|
return E;
|
|
3127
3127
|
var J = k(i, this.clonePosition());
|
|
3128
|
-
return
|
|
3128
|
+
return l === "select" ? {
|
|
3129
3129
|
val: {
|
|
3130
3130
|
type: X.select,
|
|
3131
3131
|
value: r,
|
|
@@ -3139,7 +3139,7 @@ var So = (
|
|
|
3139
3139
|
value: r,
|
|
3140
3140
|
options: Tr(z.val),
|
|
3141
3141
|
offset: D,
|
|
3142
|
-
pluralType:
|
|
3142
|
+
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
3143
3143
|
location: J
|
|
3144
3144
|
},
|
|
3145
3145
|
err: null
|
|
@@ -3202,20 +3202,20 @@ var So = (
|
|
|
3202
3202
|
err: null
|
|
3203
3203
|
};
|
|
3204
3204
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3205
|
-
for (var s, a = !1,
|
|
3206
|
-
if (
|
|
3205
|
+
for (var s, a = !1, l = [], c = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3206
|
+
if (u.length === 0) {
|
|
3207
3207
|
var b = this.clonePosition();
|
|
3208
3208
|
if (n !== "select" && this.bumpIf("=")) {
|
|
3209
3209
|
var T = this.tryParseDecimalInteger(U.EXPECT_PLURAL_ARGUMENT_SELECTOR, U.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3210
3210
|
if (T.err)
|
|
3211
3211
|
return T;
|
|
3212
|
-
|
|
3212
|
+
h = k(b, this.clonePosition()), u = this.message.slice(b.offset, this.offset());
|
|
3213
3213
|
} else
|
|
3214
3214
|
break;
|
|
3215
3215
|
}
|
|
3216
|
-
if (c.has(
|
|
3217
|
-
return this.error(n === "select" ? U.DUPLICATE_SELECT_ARGUMENT_SELECTOR : U.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3218
|
-
|
|
3216
|
+
if (c.has(u))
|
|
3217
|
+
return this.error(n === "select" ? U.DUPLICATE_SELECT_ARGUMENT_SELECTOR : U.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3218
|
+
u === "other" && (a = !0), this.bumpSpace();
|
|
3219
3219
|
var C = this.clonePosition();
|
|
3220
3220
|
if (!this.bumpIf("{"))
|
|
3221
3221
|
return this.error(n === "select" ? U.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : U.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, k(this.clonePosition(), this.clonePosition()));
|
|
@@ -3225,22 +3225,22 @@ var So = (
|
|
|
3225
3225
|
var m = this.tryParseArgumentClose(C);
|
|
3226
3226
|
if (m.err)
|
|
3227
3227
|
return m;
|
|
3228
|
-
|
|
3229
|
-
|
|
3228
|
+
l.push([
|
|
3229
|
+
u,
|
|
3230
3230
|
{
|
|
3231
3231
|
value: E.val,
|
|
3232
3232
|
location: k(C, this.clonePosition())
|
|
3233
3233
|
}
|
|
3234
|
-
]), c.add(
|
|
3234
|
+
]), c.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
|
|
3235
3235
|
}
|
|
3236
|
-
return
|
|
3236
|
+
return l.length === 0 ? this.error(n === "select" ? U.EXPECT_SELECT_ARGUMENT_SELECTOR : U.EXPECT_PLURAL_ARGUMENT_SELECTOR, k(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(U.MISSING_OTHER_CLAUSE, k(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
3237
3237
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3238
3238
|
var r = 1, i = this.clonePosition();
|
|
3239
3239
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3240
3240
|
for (var s = !1, a = 0; !this.isEOF(); ) {
|
|
3241
|
-
var
|
|
3242
|
-
if (
|
|
3243
|
-
s = !0, a = a * 10 + (
|
|
3241
|
+
var l = this.char();
|
|
3242
|
+
if (l >= 48 && l <= 57)
|
|
3243
|
+
s = !0, a = a * 10 + (l - 48), this.bump();
|
|
3244
3244
|
else
|
|
3245
3245
|
break;
|
|
3246
3246
|
}
|
|
@@ -3328,10 +3328,10 @@ function _o(e) {
|
|
|
3328
3328
|
}
|
|
3329
3329
|
function Cn(e) {
|
|
3330
3330
|
e.forEach(function(t) {
|
|
3331
|
-
if (delete t.location,
|
|
3331
|
+
if (delete t.location, hi(t) || fi(t))
|
|
3332
3332
|
for (var n in t.options)
|
|
3333
3333
|
delete t.options[n].location, Cn(t.options[n].value);
|
|
3334
|
-
else
|
|
3334
|
+
else li(t) && pi(t.style) || (ui(t) || ci(t)) && Sn(t.style) ? delete t.style.location : mi(t) && Cn(t.children);
|
|
3335
3335
|
});
|
|
3336
3336
|
}
|
|
3337
3337
|
function Oo(e, t) {
|
|
@@ -3407,95 +3407,95 @@ function Dt(e, t, n, r, i, s, a) {
|
|
|
3407
3407
|
value: e[0].value
|
|
3408
3408
|
}
|
|
3409
3409
|
];
|
|
3410
|
-
for (var
|
|
3411
|
-
var
|
|
3412
|
-
if (dr(
|
|
3413
|
-
|
|
3410
|
+
for (var l = [], c = 0, u = e; c < u.length; c++) {
|
|
3411
|
+
var h = u[c];
|
|
3412
|
+
if (dr(h)) {
|
|
3413
|
+
l.push({
|
|
3414
3414
|
type: oe.literal,
|
|
3415
|
-
value:
|
|
3415
|
+
value: h.value
|
|
3416
3416
|
});
|
|
3417
3417
|
continue;
|
|
3418
3418
|
}
|
|
3419
|
-
if (Ks(
|
|
3420
|
-
typeof s == "number" &&
|
|
3419
|
+
if (Ks(h)) {
|
|
3420
|
+
typeof s == "number" && l.push({
|
|
3421
3421
|
type: oe.literal,
|
|
3422
3422
|
value: n.getNumberFormat(t).format(s)
|
|
3423
3423
|
});
|
|
3424
3424
|
continue;
|
|
3425
3425
|
}
|
|
3426
|
-
var b =
|
|
3426
|
+
var b = h.value;
|
|
3427
3427
|
if (!(i && b in i))
|
|
3428
3428
|
throw new Mo(b, a);
|
|
3429
3429
|
var T = i[b];
|
|
3430
|
-
if (Qs(
|
|
3431
|
-
(!T || typeof T == "string" || typeof T == "number") && (T = typeof T == "string" || typeof T == "number" ? String(T) : ""),
|
|
3430
|
+
if (Qs(h)) {
|
|
3431
|
+
(!T || typeof T == "string" || typeof T == "number") && (T = typeof T == "string" || typeof T == "number" ? String(T) : ""), l.push({
|
|
3432
3432
|
type: typeof T == "string" ? oe.literal : oe.object,
|
|
3433
3433
|
value: T
|
|
3434
3434
|
});
|
|
3435
3435
|
continue;
|
|
3436
3436
|
}
|
|
3437
|
-
if (
|
|
3438
|
-
var C = typeof
|
|
3439
|
-
|
|
3437
|
+
if (ui(h)) {
|
|
3438
|
+
var C = typeof h.style == "string" ? r.date[h.style] : Sn(h.style) ? h.style.parsedOptions : void 0;
|
|
3439
|
+
l.push({
|
|
3440
3440
|
type: oe.literal,
|
|
3441
3441
|
value: n.getDateTimeFormat(t, C).format(T)
|
|
3442
3442
|
});
|
|
3443
3443
|
continue;
|
|
3444
3444
|
}
|
|
3445
|
-
if (ci(
|
|
3446
|
-
var C = typeof
|
|
3447
|
-
|
|
3445
|
+
if (ci(h)) {
|
|
3446
|
+
var C = typeof h.style == "string" ? r.time[h.style] : Sn(h.style) ? h.style.parsedOptions : r.time.medium;
|
|
3447
|
+
l.push({
|
|
3448
3448
|
type: oe.literal,
|
|
3449
3449
|
value: n.getDateTimeFormat(t, C).format(T)
|
|
3450
3450
|
});
|
|
3451
3451
|
continue;
|
|
3452
3452
|
}
|
|
3453
|
-
if (
|
|
3454
|
-
var C = typeof
|
|
3455
|
-
C && C.scale && (T = T * (C.scale || 1)),
|
|
3453
|
+
if (li(h)) {
|
|
3454
|
+
var C = typeof h.style == "string" ? r.number[h.style] : pi(h.style) ? h.style.parsedOptions : void 0;
|
|
3455
|
+
C && C.scale && (T = T * (C.scale || 1)), l.push({
|
|
3456
3456
|
type: oe.literal,
|
|
3457
3457
|
value: n.getNumberFormat(t, C).format(T)
|
|
3458
3458
|
});
|
|
3459
3459
|
continue;
|
|
3460
3460
|
}
|
|
3461
|
-
if (mi(
|
|
3462
|
-
var E =
|
|
3461
|
+
if (mi(h)) {
|
|
3462
|
+
var E = h.children, m = h.value, M = i[m];
|
|
3463
3463
|
if (!No(M))
|
|
3464
3464
|
throw new Co(m, "function", a);
|
|
3465
3465
|
var j = Dt(E, t, n, r, i, s), R = M(j.map(function(D) {
|
|
3466
3466
|
return D.value;
|
|
3467
3467
|
}));
|
|
3468
|
-
Array.isArray(R) || (R = [R]),
|
|
3468
|
+
Array.isArray(R) || (R = [R]), l.push.apply(l, R.map(function(D) {
|
|
3469
3469
|
return {
|
|
3470
3470
|
type: typeof D == "string" ? oe.literal : oe.object,
|
|
3471
3471
|
value: D
|
|
3472
3472
|
};
|
|
3473
3473
|
}));
|
|
3474
3474
|
}
|
|
3475
|
-
if (
|
|
3476
|
-
var A =
|
|
3475
|
+
if (hi(h)) {
|
|
3476
|
+
var A = h.options[T] || h.options.other;
|
|
3477
3477
|
if (!A)
|
|
3478
|
-
throw new vr(
|
|
3479
|
-
|
|
3478
|
+
throw new vr(h.value, T, Object.keys(h.options), a);
|
|
3479
|
+
l.push.apply(l, Dt(A.value, t, n, r, i));
|
|
3480
3480
|
continue;
|
|
3481
3481
|
}
|
|
3482
|
-
if (
|
|
3483
|
-
var A =
|
|
3482
|
+
if (fi(h)) {
|
|
3483
|
+
var A = h.options["=".concat(T)];
|
|
3484
3484
|
if (!A) {
|
|
3485
3485
|
if (!Intl.PluralRules)
|
|
3486
3486
|
throw new qt(`Intl.PluralRules is not available in this environment.
|
|
3487
3487
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3488
3488
|
`, Qe.MISSING_INTL_API, a);
|
|
3489
|
-
var L = n.getPluralRules(t, { type:
|
|
3490
|
-
A =
|
|
3489
|
+
var L = n.getPluralRules(t, { type: h.pluralType }).select(T - (h.offset || 0));
|
|
3490
|
+
A = h.options[L] || h.options.other;
|
|
3491
3491
|
}
|
|
3492
3492
|
if (!A)
|
|
3493
|
-
throw new vr(
|
|
3494
|
-
|
|
3493
|
+
throw new vr(h.value, T, Object.keys(h.options), a);
|
|
3494
|
+
l.push.apply(l, Dt(A.value, t, n, r, i, T - (h.offset || 0)));
|
|
3495
3495
|
continue;
|
|
3496
3496
|
}
|
|
3497
3497
|
}
|
|
3498
|
-
return Ho(
|
|
3498
|
+
return Ho(l);
|
|
3499
3499
|
}
|
|
3500
3500
|
function Po(e, t) {
|
|
3501
3501
|
return t ? F(F(F({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
@@ -3530,26 +3530,26 @@ function Lo(e) {
|
|
|
3530
3530
|
getNumberFormat: cn(function() {
|
|
3531
3531
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3532
3532
|
n[r] = arguments[r];
|
|
3533
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3533
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, un([void 0], n, !1)))();
|
|
3534
3534
|
}, {
|
|
3535
3535
|
cache: mn(e.number),
|
|
3536
|
-
strategy:
|
|
3536
|
+
strategy: hn.variadic
|
|
3537
3537
|
}),
|
|
3538
3538
|
getDateTimeFormat: cn(function() {
|
|
3539
3539
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3540
3540
|
n[r] = arguments[r];
|
|
3541
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3541
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, un([void 0], n, !1)))();
|
|
3542
3542
|
}, {
|
|
3543
3543
|
cache: mn(e.dateTime),
|
|
3544
|
-
strategy:
|
|
3544
|
+
strategy: hn.variadic
|
|
3545
3545
|
}),
|
|
3546
3546
|
getPluralRules: cn(function() {
|
|
3547
3547
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3548
3548
|
n[r] = arguments[r];
|
|
3549
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3549
|
+
return new ((t = Intl.PluralRules).bind.apply(t, un([void 0], n, !1)))();
|
|
3550
3550
|
}, {
|
|
3551
3551
|
cache: mn(e.pluralRules),
|
|
3552
|
-
strategy:
|
|
3552
|
+
strategy: hn.variadic
|
|
3553
3553
|
})
|
|
3554
3554
|
};
|
|
3555
3555
|
}
|
|
@@ -3564,13 +3564,13 @@ var vi = (
|
|
|
3564
3564
|
dateTime: {},
|
|
3565
3565
|
pluralRules: {}
|
|
3566
3566
|
}, this.format = function(c) {
|
|
3567
|
-
var
|
|
3568
|
-
if (
|
|
3569
|
-
return
|
|
3570
|
-
var
|
|
3567
|
+
var u = s.formatToParts(c);
|
|
3568
|
+
if (u.length === 1)
|
|
3569
|
+
return u[0].value;
|
|
3570
|
+
var h = u.reduce(function(b, T) {
|
|
3571
3571
|
return !b.length || T.type !== oe.literal || typeof b[b.length - 1] != "string" ? b.push(T.value) : b[b.length - 1] += T.value, b;
|
|
3572
3572
|
}, []);
|
|
3573
|
-
return
|
|
3573
|
+
return h.length <= 1 ? h[0] || "" : h;
|
|
3574
3574
|
}, this.formatToParts = function(c) {
|
|
3575
3575
|
return Dt(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
|
|
3576
3576
|
}, this.resolvedOptions = function() {
|
|
@@ -3585,8 +3585,8 @@ var vi = (
|
|
|
3585
3585
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3586
3586
|
var a = i || {};
|
|
3587
3587
|
a.formatters;
|
|
3588
|
-
var
|
|
3589
|
-
this.ast = e.__parse(t, F(F({},
|
|
3588
|
+
var l = js(a, ["formatters"]);
|
|
3589
|
+
this.ast = e.__parse(t, F(F({}, l), { locale: this.resolvedLocale }));
|
|
3590
3590
|
} else
|
|
3591
3591
|
this.ast = t;
|
|
3592
3592
|
if (!Array.isArray(this.ast))
|
|
@@ -3936,14 +3936,14 @@ const bt = (e, t) => {
|
|
|
3936
3936
|
);
|
|
3937
3937
|
return r ? i = bt("time", r) : Object.keys(i).length === 0 && (i = bt("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3938
3938
|
}
|
|
3939
|
-
),
|
|
3939
|
+
), la = (e = {}) => {
|
|
3940
3940
|
var t = e, {
|
|
3941
3941
|
locale: n = Le()
|
|
3942
3942
|
} = t, r = tt(t, [
|
|
3943
3943
|
"locale"
|
|
3944
3944
|
]);
|
|
3945
3945
|
return sa(Dn({ locale: n }, r));
|
|
3946
|
-
},
|
|
3946
|
+
}, ua = (e = {}) => {
|
|
3947
3947
|
var t = e, {
|
|
3948
3948
|
locale: n = Le()
|
|
3949
3949
|
} = t, r = tt(t, [
|
|
@@ -3957,36 +3957,36 @@ const bt = (e, t) => {
|
|
|
3957
3957
|
"locale"
|
|
3958
3958
|
]);
|
|
3959
3959
|
return aa(Dn({ locale: n }, r));
|
|
3960
|
-
},
|
|
3960
|
+
}, ha = Qt(
|
|
3961
3961
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3962
3962
|
(e, t = Le()) => new vi(e, t, Ke().formats, {
|
|
3963
3963
|
ignoreTag: Ke().ignoreTag
|
|
3964
3964
|
})
|
|
3965
|
-
),
|
|
3965
|
+
), fa = (e, t = {}) => {
|
|
3966
3966
|
var n, r, i, s;
|
|
3967
3967
|
let a = t;
|
|
3968
3968
|
typeof e == "object" && (a = e, e = a.id);
|
|
3969
3969
|
const {
|
|
3970
|
-
values:
|
|
3970
|
+
values: l,
|
|
3971
3971
|
locale: c = Le(),
|
|
3972
|
-
default:
|
|
3972
|
+
default: u
|
|
3973
3973
|
} = a;
|
|
3974
3974
|
if (c == null)
|
|
3975
3975
|
throw new Error(
|
|
3976
3976
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3977
3977
|
);
|
|
3978
|
-
let
|
|
3979
|
-
if (!
|
|
3980
|
-
|
|
3981
|
-
else if (typeof
|
|
3978
|
+
let h = Si(e, c);
|
|
3979
|
+
if (!h)
|
|
3980
|
+
h = (s = (i = (r = (n = Ke()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3981
|
+
else if (typeof h != "string")
|
|
3982
3982
|
return console.warn(
|
|
3983
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3984
|
-
),
|
|
3985
|
-
if (!
|
|
3986
|
-
return
|
|
3987
|
-
let b =
|
|
3983
|
+
`[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.`
|
|
3984
|
+
), h;
|
|
3985
|
+
if (!l)
|
|
3986
|
+
return h;
|
|
3987
|
+
let b = h;
|
|
3988
3988
|
try {
|
|
3989
|
-
b =
|
|
3989
|
+
b = ha(h, c).format(l);
|
|
3990
3990
|
} catch (T) {
|
|
3991
3991
|
T instanceof Error && console.warn(
|
|
3992
3992
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3994,7 +3994,7 @@ const bt = (e, t) => {
|
|
|
3994
3994
|
);
|
|
3995
3995
|
}
|
|
3996
3996
|
return b;
|
|
3997
|
-
}, ma = (e, t) => ca(t).format(e), pa = (e, t) =>
|
|
3997
|
+
}, ma = (e, t) => ca(t).format(e), pa = (e, t) => ua(t).format(e), da = (e, t) => la(t).format(e), ga = (e, t = Le()) => Si(e, t), ba = et([Be, Et], () => fa);
|
|
3998
3998
|
et([Be], () => ma);
|
|
3999
3999
|
et([Be], () => pa);
|
|
4000
4000
|
et([Be], () => da);
|
|
@@ -4058,8 +4058,8 @@ Hn || (Hn = function(t, n, r) {
|
|
|
4058
4058
|
Nn || (Nn = function(t, n) {
|
|
4059
4059
|
return new t(...n);
|
|
4060
4060
|
});
|
|
4061
|
-
const Ct =
|
|
4062
|
-
function
|
|
4061
|
+
const Ct = fe(Array.prototype.forEach), Nr = fe(Array.prototype.pop), at = fe(Array.prototype.push), Ut = fe(String.prototype.toLowerCase), dn = fe(String.prototype.toString), Pr = fe(String.prototype.match), lt = fe(String.prototype.replace), va = fe(String.prototype.indexOf), Sa = fe(String.prototype.trim), xe = fe(Object.prototype.hasOwnProperty), se = fe(RegExp.prototype.test), ut = wa(TypeError);
|
|
4062
|
+
function fe(e) {
|
|
4063
4063
|
return function(t) {
|
|
4064
4064
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
4065
4065
|
r[i - 1] = arguments[i];
|
|
@@ -4103,9 +4103,9 @@ function ct(e, t) {
|
|
|
4103
4103
|
const r = xa(e, t);
|
|
4104
4104
|
if (r) {
|
|
4105
4105
|
if (r.get)
|
|
4106
|
-
return
|
|
4106
|
+
return fe(r.get);
|
|
4107
4107
|
if (typeof r.value == "function")
|
|
4108
|
-
return
|
|
4108
|
+
return fe(r.value);
|
|
4109
4109
|
}
|
|
4110
4110
|
e = Ta(e);
|
|
4111
4111
|
}
|
|
@@ -4134,7 +4134,7 @@ var Br = /* @__PURE__ */ Object.freeze({
|
|
|
4134
4134
|
DOCTYPE_NAME: Ri,
|
|
4135
4135
|
CUSTOM_ELEMENT: Ia
|
|
4136
4136
|
});
|
|
4137
|
-
const
|
|
4137
|
+
const ht = {
|
|
4138
4138
|
element: 1,
|
|
4139
4139
|
text: 3,
|
|
4140
4140
|
// Deprecated
|
|
@@ -4166,7 +4166,7 @@ const ft = {
|
|
|
4166
4166
|
function Li() {
|
|
4167
4167
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Da();
|
|
4168
4168
|
const t = (O) => Li(O);
|
|
4169
|
-
if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !==
|
|
4169
|
+
if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !== ht.document)
|
|
4170
4170
|
return t.isSupported = !1, t;
|
|
4171
4171
|
let {
|
|
4172
4172
|
document: n
|
|
@@ -4174,10 +4174,10 @@ function Li() {
|
|
|
4174
4174
|
const r = n, i = r.currentScript, {
|
|
4175
4175
|
DocumentFragment: s,
|
|
4176
4176
|
HTMLTemplateElement: a,
|
|
4177
|
-
Node:
|
|
4177
|
+
Node: l,
|
|
4178
4178
|
Element: c,
|
|
4179
|
-
NodeFilter:
|
|
4180
|
-
NamedNodeMap:
|
|
4179
|
+
NodeFilter: u,
|
|
4180
|
+
NamedNodeMap: h = e.NamedNodeMap || e.MozNamedAttrMap,
|
|
4181
4181
|
HTMLFormElement: b,
|
|
4182
4182
|
DOMParser: T,
|
|
4183
4183
|
trustedTypes: C
|
|
@@ -4199,12 +4199,12 @@ function Li() {
|
|
|
4199
4199
|
t.isSupported = typeof Hi == "function" && typeof A == "function" && z && z.createHTMLDocument !== void 0;
|
|
4200
4200
|
const {
|
|
4201
4201
|
MUSTACHE_EXPR: re,
|
|
4202
|
-
ERB_EXPR:
|
|
4202
|
+
ERB_EXPR: le,
|
|
4203
4203
|
TMPLIT_EXPR: v,
|
|
4204
4204
|
DATA_ATTR: y,
|
|
4205
4205
|
ARIA_ATTR: d,
|
|
4206
4206
|
IS_SCRIPT_OR_DATA: S,
|
|
4207
|
-
ATTR_WHITESPACE:
|
|
4207
|
+
ATTR_WHITESPACE: f,
|
|
4208
4208
|
CUSTOM_ELEMENT: x
|
|
4209
4209
|
} = Br;
|
|
4210
4210
|
let {
|
|
@@ -4267,9 +4267,9 @@ function Li() {
|
|
|
4267
4267
|
// eslint-disable-line indent
|
|
4268
4268
|
) : Fn, Ge = xe(o, "FORBID_CONTENTS") ? B({}, o.FORBID_CONTENTS, $) : kn, pe = xe(o, "FORBID_TAGS") ? B({}, o.FORBID_TAGS, $) : {}, Ee = xe(o, "FORBID_ATTR") ? B({}, o.FORBID_ATTR, $) : {}, ke = xe(o, "USE_PROFILES") ? o.USE_PROFILES : !1, Me = o.ALLOW_ARIA_ATTR !== !1, ye = o.ALLOW_DATA_ATTR !== !1, ee = o.ALLOW_UNKNOWN_PROTOCOLS || !1, Te = o.ALLOW_SELF_CLOSE_IN_ATTR !== !1, de = o.SAFE_FOR_TEMPLATES || !1, He = o.SAFE_FOR_XML !== !1, Ie = o.WHOLE_DOCUMENT || !1, Ue = o.RETURN_DOM || !1, Tt = o.RETURN_DOM_FRAGMENT || !1, xt = o.RETURN_TRUSTED_TYPE || !1, $t = o.FORCE_BODY || !1, Bn = o.SANITIZE_DOM !== !1, Un = o.SANITIZE_NAMED_PROPS || !1, en = o.KEEP_CONTENT !== !1, nt = o.IN_PLACE || !1, N = o.ALLOWED_URI_REGEXP || Pi, Fe = o.NAMESPACE || _e, I = o.CUSTOM_ELEMENT_HANDLING || {}, o.CUSTOM_ELEMENT_HANDLING && jn(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (I.tagNameCheck = o.CUSTOM_ELEMENT_HANDLING.tagNameCheck), o.CUSTOM_ELEMENT_HANDLING && jn(o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (I.attributeNameCheck = o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), o.CUSTOM_ELEMENT_HANDLING && typeof o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (I.allowCustomizedBuiltInElements = o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), de && (ye = !1), Tt && (Ue = !0), ke && (P = B({}, Lr), _ = [], ke.html === !0 && (B(P, Rr), B(_, Ir)), ke.svg === !0 && (B(P, gn), B(_, yn), B(_, Mt)), ke.svgFilters === !0 && (B(P, bn), B(_, yn), B(_, Mt)), ke.mathMl === !0 && (B(P, En), B(_, Dr), B(_, Mt))), o.ADD_TAGS && (P === g && (P = De(P)), B(P, o.ADD_TAGS, $)), o.ADD_ATTR && (_ === Z && (_ = De(_)), B(_, o.ADD_ATTR, $)), o.ADD_URI_SAFE_ATTR && B(tn, o.ADD_URI_SAFE_ATTR, $), o.FORBID_CONTENTS && (Ge === kn && (Ge = De(Ge)), B(Ge, o.FORBID_CONTENTS, $)), en && (P["#text"] = !0), Ie && B(P, ["html", "head", "body"]), P.table && (B(P, ["tbody"]), delete pe.tbody), o.TRUSTED_TYPES_POLICY) {
|
|
4269
4269
|
if (typeof o.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
4270
|
-
throw
|
|
4270
|
+
throw ut('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
4271
4271
|
if (typeof o.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
4272
|
-
throw
|
|
4272
|
+
throw ut('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
4273
4273
|
L = o.TRUSTED_TYPES_POLICY, D = L.createHTML("");
|
|
4274
4274
|
} else
|
|
4275
4275
|
L === void 0 && (L = Ba(C, i)), L !== null && typeof D == "string" && (D = L.createHTML(""));
|
|
@@ -4344,13 +4344,13 @@ function Li() {
|
|
|
4344
4344
|
o.ownerDocument || o,
|
|
4345
4345
|
o,
|
|
4346
4346
|
// eslint-disable-next-line no-bitwise
|
|
4347
|
-
|
|
4347
|
+
u.SHOW_ELEMENT | u.SHOW_COMMENT | u.SHOW_TEXT | u.SHOW_PROCESSING_INSTRUCTION | u.SHOW_CDATA_SECTION,
|
|
4348
4348
|
null
|
|
4349
4349
|
);
|
|
4350
4350
|
}, qn = function(o) {
|
|
4351
|
-
return o instanceof b && (typeof o.nodeName != "string" || typeof o.textContent != "string" || typeof o.removeChild != "function" || !(o.attributes instanceof
|
|
4351
|
+
return o instanceof b && (typeof o.nodeName != "string" || typeof o.textContent != "string" || typeof o.removeChild != "function" || !(o.attributes instanceof h) || typeof o.removeAttribute != "function" || typeof o.setAttribute != "function" || typeof o.namespaceURI != "string" || typeof o.insertBefore != "function" || typeof o.hasChildNodes != "function");
|
|
4352
4352
|
}, Qn = function(o) {
|
|
4353
|
-
return typeof
|
|
4353
|
+
return typeof l == "function" && o instanceof l;
|
|
4354
4354
|
}, Oe = function(o, p, w) {
|
|
4355
4355
|
H[o] && Ct(H[o], (V) => {
|
|
4356
4356
|
V.call(t, p, w, ze);
|
|
@@ -4363,7 +4363,7 @@ function Li() {
|
|
|
4363
4363
|
if (Oe("uponSanitizeElement", o, {
|
|
4364
4364
|
tagName: w,
|
|
4365
4365
|
allowedTags: P
|
|
4366
|
-
}), o.hasChildNodes() && !Qn(o.firstElementChild) && se(/<[/\w]/g, o.innerHTML) && se(/<[/\w]/g, o.textContent) || o.nodeType ===
|
|
4366
|
+
}), o.hasChildNodes() && !Qn(o.firstElementChild) && se(/<[/\w]/g, o.innerHTML) && se(/<[/\w]/g, o.textContent) || o.nodeType === ht.progressingInstruction || He && o.nodeType === ht.comment && se(/<[/\w]/g, o.data))
|
|
4367
4367
|
return ve(o), !0;
|
|
4368
4368
|
if (!P[w] || pe[w]) {
|
|
4369
4369
|
if (!pe[w] && er(w) && (I.tagNameCheck instanceof RegExp && se(I.tagNameCheck, w) || I.tagNameCheck instanceof Function && I.tagNameCheck(w)))
|
|
@@ -4372,16 +4372,16 @@ function Li() {
|
|
|
4372
4372
|
const V = A(o) || o.parentNode, ne = R(o) || o.childNodes;
|
|
4373
4373
|
if (ne && V) {
|
|
4374
4374
|
const te = ne.length;
|
|
4375
|
-
for (let
|
|
4376
|
-
const Se = m(ne[
|
|
4375
|
+
for (let ue = te - 1; ue >= 0; --ue) {
|
|
4376
|
+
const Se = m(ne[ue], !0);
|
|
4377
4377
|
Se.__removalCount = (o.__removalCount || 0) + 1, V.insertBefore(Se, j(o));
|
|
4378
4378
|
}
|
|
4379
4379
|
}
|
|
4380
4380
|
}
|
|
4381
4381
|
return ve(o), !0;
|
|
4382
4382
|
}
|
|
4383
|
-
return o instanceof c && !ji(o) || (w === "noscript" || w === "noembed" || w === "noframes") && se(/<\/no(script|embed|frames)/i, o.innerHTML) ? (ve(o), !0) : (de && o.nodeType ===
|
|
4384
|
-
p =
|
|
4383
|
+
return o instanceof c && !ji(o) || (w === "noscript" || w === "noembed" || w === "noframes") && se(/<\/no(script|embed|frames)/i, o.innerHTML) ? (ve(o), !0) : (de && o.nodeType === ht.text && (p = o.textContent, Ct([re, le, v], (V) => {
|
|
4384
|
+
p = lt(p, V, " ");
|
|
4385
4385
|
}), o.textContent !== p && (at(t.removed, {
|
|
4386
4386
|
element: o.cloneNode()
|
|
4387
4387
|
}), o.textContent = p)), Oe("afterSanitizeElements", o, null), !1);
|
|
@@ -4400,9 +4400,9 @@ function Li() {
|
|
|
4400
4400
|
p === "is" && I.allowCustomizedBuiltInElements && (I.tagNameCheck instanceof RegExp && se(I.tagNameCheck, w) || I.tagNameCheck instanceof Function && I.tagNameCheck(w)))
|
|
4401
4401
|
) return !1;
|
|
4402
4402
|
} else if (!tn[p]) {
|
|
4403
|
-
if (!se(N,
|
|
4403
|
+
if (!se(N, lt(w, f, ""))) {
|
|
4404
4404
|
if (!((p === "src" || p === "xlink:href" || p === "href") && o !== "script" && va(w, "data:") === 0 && Gn[o])) {
|
|
4405
|
-
if (!(ee && !se(S,
|
|
4405
|
+
if (!(ee && !se(S, lt(w, f, "")))) {
|
|
4406
4406
|
if (w)
|
|
4407
4407
|
return !1;
|
|
4408
4408
|
}
|
|
@@ -4431,7 +4431,7 @@ function Li() {
|
|
|
4431
4431
|
for (; V--; ) {
|
|
4432
4432
|
const ne = p[V], {
|
|
4433
4433
|
name: te,
|
|
4434
|
-
namespaceURI:
|
|
4434
|
+
namespaceURI: ue,
|
|
4435
4435
|
value: Se
|
|
4436
4436
|
} = ne, it = $(te);
|
|
4437
4437
|
let ie = te === "value" ? Se : Sa(Se);
|
|
@@ -4445,12 +4445,12 @@ function Li() {
|
|
|
4445
4445
|
wt(te, o);
|
|
4446
4446
|
continue;
|
|
4447
4447
|
}
|
|
4448
|
-
de && Ct([re,
|
|
4449
|
-
ie =
|
|
4448
|
+
de && Ct([re, le, v], (rr) => {
|
|
4449
|
+
ie = lt(ie, rr, " ");
|
|
4450
4450
|
});
|
|
4451
4451
|
const nr = $(o.nodeName);
|
|
4452
4452
|
if ($n(nr, it, ie)) {
|
|
4453
|
-
if (Un && (it === "id" || it === "name") && (wt(te, o), ie = Bi + ie), L && typeof C == "object" && typeof C.getAttributeType == "function" && !
|
|
4453
|
+
if (Un && (it === "id" || it === "name") && (wt(te, o), ie = Bi + ie), L && typeof C == "object" && typeof C.getAttributeType == "function" && !ue)
|
|
4454
4454
|
switch (C.getAttributeType(nr, it)) {
|
|
4455
4455
|
case "TrustedHTML": {
|
|
4456
4456
|
ie = L.createHTML(ie);
|
|
@@ -4462,7 +4462,7 @@ function Li() {
|
|
|
4462
4462
|
}
|
|
4463
4463
|
}
|
|
4464
4464
|
try {
|
|
4465
|
-
|
|
4465
|
+
ue ? o.setAttributeNS(ue, te, ie) : o.setAttribute(te, ie), qn(o) ? ve(o) : Nr(t.removed);
|
|
4466
4466
|
} catch (rr) {
|
|
4467
4467
|
}
|
|
4468
4468
|
}
|
|
@@ -4480,19 +4480,19 @@ function Li() {
|
|
|
4480
4480
|
if (nn = !O, nn && (O = "<!-->"), typeof O != "string" && !Qn(O))
|
|
4481
4481
|
if (typeof O.toString == "function") {
|
|
4482
4482
|
if (O = O.toString(), typeof O != "string")
|
|
4483
|
-
throw
|
|
4483
|
+
throw ut("dirty is not a string, aborting");
|
|
4484
4484
|
} else
|
|
4485
|
-
throw
|
|
4485
|
+
throw ut("toString is not a function");
|
|
4486
4486
|
if (!t.isSupported)
|
|
4487
4487
|
return O;
|
|
4488
4488
|
if (Kt || sn(o), t.removed = [], typeof O == "string" && (nt = !1), nt) {
|
|
4489
4489
|
if (O.nodeName) {
|
|
4490
4490
|
const Se = $(O.nodeName);
|
|
4491
4491
|
if (!P[Se] || pe[Se])
|
|
4492
|
-
throw
|
|
4492
|
+
throw ut("root node is forbidden and cannot be sanitized in-place");
|
|
4493
4493
|
}
|
|
4494
|
-
} else if (O instanceof
|
|
4495
|
-
p = Jn("<!---->"), w = p.ownerDocument.importNode(O, !0), w.nodeType ===
|
|
4494
|
+
} else if (O instanceof l)
|
|
4495
|
+
p = Jn("<!---->"), w = p.ownerDocument.importNode(O, !0), w.nodeType === ht.element && w.nodeName === "BODY" || w.nodeName === "HTML" ? p = w : p.appendChild(w);
|
|
4496
4496
|
else {
|
|
4497
4497
|
if (!Ue && !de && !Ie && // eslint-disable-next-line unicorn/prefer-includes
|
|
4498
4498
|
O.indexOf("<") === -1)
|
|
@@ -4514,11 +4514,11 @@ function Li() {
|
|
|
4514
4514
|
ne = p;
|
|
4515
4515
|
return (_.shadowroot || _.shadowrootmode) && (ne = W.call(r, ne, !0)), ne;
|
|
4516
4516
|
}
|
|
4517
|
-
let
|
|
4518
|
-
return Ie && P["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && se(Ri, p.ownerDocument.doctype.name) && (
|
|
4519
|
-
` +
|
|
4520
|
-
|
|
4521
|
-
}), L && xt ? L.createHTML(
|
|
4517
|
+
let ue = Ie ? p.outerHTML : p.innerHTML;
|
|
4518
|
+
return Ie && P["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && se(Ri, p.ownerDocument.doctype.name) && (ue = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
|
|
4519
|
+
` + ue), de && Ct([re, le, v], (Se) => {
|
|
4520
|
+
ue = lt(ue, Se, " ");
|
|
4521
|
+
}), L && xt ? L.createHTML(ue) : ue;
|
|
4522
4522
|
}, t.setConfig = function() {
|
|
4523
4523
|
let O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4524
4524
|
sn(O), Kt = !0;
|
|
@@ -4546,23 +4546,23 @@ var Ii = { exports: {} };
|
|
|
4546
4546
|
(function(n, r) {
|
|
4547
4547
|
e.exports = r();
|
|
4548
4548
|
})(ii, function() {
|
|
4549
|
-
var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", a = "second",
|
|
4549
|
+
var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", a = "second", l = "minute", c = "hour", u = "day", h = "week", b = "month", T = "quarter", C = "year", E = "date", m = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, j = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(v) {
|
|
4550
4550
|
var y = ["th", "st", "nd", "rd"], d = v % 100;
|
|
4551
4551
|
return "[" + v + (y[(d - 20) % 10] || y[d] || y[0]) + "]";
|
|
4552
4552
|
} }, A = function(v, y, d) {
|
|
4553
4553
|
var S = String(v);
|
|
4554
4554
|
return !S || S.length >= y ? v : "" + Array(y + 1 - S.length).join(d) + v;
|
|
4555
4555
|
}, L = { s: A, z: function(v) {
|
|
4556
|
-
var y = -v.utcOffset(), d = Math.abs(y), S = Math.floor(d / 60),
|
|
4557
|
-
return (y <= 0 ? "+" : "-") + A(S, 2, "0") + ":" + A(
|
|
4556
|
+
var y = -v.utcOffset(), d = Math.abs(y), S = Math.floor(d / 60), f = d % 60;
|
|
4557
|
+
return (y <= 0 ? "+" : "-") + A(S, 2, "0") + ":" + A(f, 2, "0");
|
|
4558
4558
|
}, m: function v(y, d) {
|
|
4559
4559
|
if (y.date() < d.date()) return -v(d, y);
|
|
4560
|
-
var S = 12 * (d.year() - y.year()) + (d.month() - y.month()),
|
|
4561
|
-
return +(-(S + (d -
|
|
4560
|
+
var S = 12 * (d.year() - y.year()) + (d.month() - y.month()), f = y.clone().add(S, b), x = d - f < 0, N = y.clone().add(S + (x ? -1 : 1), b);
|
|
4561
|
+
return +(-(S + (d - f) / (x ? f - N : N - f)) || 0);
|
|
4562
4562
|
}, a: function(v) {
|
|
4563
4563
|
return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
|
|
4564
4564
|
}, p: function(v) {
|
|
4565
|
-
return { M: b, y: C, w:
|
|
4565
|
+
return { M: b, y: C, w: h, d: u, D: E, h: c, m: l, s: a, ms: s, Q: T }[v] || String(v || "").toLowerCase().replace(/s$/, "");
|
|
4566
4566
|
}, u: function(v) {
|
|
4567
4567
|
return v === void 0;
|
|
4568
4568
|
} }, D = "en", z = {};
|
|
@@ -4570,18 +4570,18 @@ var Ii = { exports: {} };
|
|
|
4570
4570
|
var J = "$isDayjsObject", Y = function(v) {
|
|
4571
4571
|
return v instanceof re || !(!v || !v[J]);
|
|
4572
4572
|
}, Q = function v(y, d, S) {
|
|
4573
|
-
var
|
|
4573
|
+
var f;
|
|
4574
4574
|
if (!y) return D;
|
|
4575
4575
|
if (typeof y == "string") {
|
|
4576
4576
|
var x = y.toLowerCase();
|
|
4577
|
-
z[x] && (
|
|
4577
|
+
z[x] && (f = x), d && (z[x] = d, f = x);
|
|
4578
4578
|
var N = y.split("-");
|
|
4579
|
-
if (!
|
|
4579
|
+
if (!f && N.length > 1) return v(N[0]);
|
|
4580
4580
|
} else {
|
|
4581
4581
|
var P = y.name;
|
|
4582
|
-
z[P] = y,
|
|
4582
|
+
z[P] = y, f = P;
|
|
4583
4583
|
}
|
|
4584
|
-
return !S &&
|
|
4584
|
+
return !S && f && (D = f), f || !S && D;
|
|
4585
4585
|
}, W = function(v, y) {
|
|
4586
4586
|
if (Y(v)) return v.clone();
|
|
4587
4587
|
var d = typeof y == "object" ? y : {};
|
|
@@ -4597,18 +4597,18 @@ var Ii = { exports: {} };
|
|
|
4597
4597
|
var y = v.prototype;
|
|
4598
4598
|
return y.parse = function(d) {
|
|
4599
4599
|
this.$d = function(S) {
|
|
4600
|
-
var
|
|
4601
|
-
if (
|
|
4602
|
-
if (H.u(
|
|
4603
|
-
if (
|
|
4604
|
-
if (typeof
|
|
4605
|
-
var N =
|
|
4600
|
+
var f = S.date, x = S.utc;
|
|
4601
|
+
if (f === null) return /* @__PURE__ */ new Date(NaN);
|
|
4602
|
+
if (H.u(f)) return /* @__PURE__ */ new Date();
|
|
4603
|
+
if (f instanceof Date) return new Date(f);
|
|
4604
|
+
if (typeof f == "string" && !/Z$/i.test(f)) {
|
|
4605
|
+
var N = f.match(M);
|
|
4606
4606
|
if (N) {
|
|
4607
4607
|
var P = N[2] - 1 || 0, g = (N[7] || "0").substring(0, 3);
|
|
4608
4608
|
return x ? new Date(Date.UTC(N[1], P, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, g)) : new Date(N[1], P, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, g);
|
|
4609
4609
|
}
|
|
4610
4610
|
}
|
|
4611
|
-
return new Date(
|
|
4611
|
+
return new Date(f);
|
|
4612
4612
|
}(d), this.init();
|
|
4613
4613
|
}, y.init = function() {
|
|
4614
4614
|
var d = this.$d;
|
|
@@ -4618,39 +4618,39 @@ var Ii = { exports: {} };
|
|
|
4618
4618
|
}, y.isValid = function() {
|
|
4619
4619
|
return this.$d.toString() !== m;
|
|
4620
4620
|
}, y.isSame = function(d, S) {
|
|
4621
|
-
var
|
|
4622
|
-
return this.startOf(S) <=
|
|
4621
|
+
var f = W(d);
|
|
4622
|
+
return this.startOf(S) <= f && f <= this.endOf(S);
|
|
4623
4623
|
}, y.isAfter = function(d, S) {
|
|
4624
4624
|
return W(d) < this.startOf(S);
|
|
4625
4625
|
}, y.isBefore = function(d, S) {
|
|
4626
4626
|
return this.endOf(S) < W(d);
|
|
4627
|
-
}, y.$g = function(d, S,
|
|
4628
|
-
return H.u(d) ? this[S] : this.set(
|
|
4627
|
+
}, y.$g = function(d, S, f) {
|
|
4628
|
+
return H.u(d) ? this[S] : this.set(f, d);
|
|
4629
4629
|
}, y.unix = function() {
|
|
4630
4630
|
return Math.floor(this.valueOf() / 1e3);
|
|
4631
4631
|
}, y.valueOf = function() {
|
|
4632
4632
|
return this.$d.getTime();
|
|
4633
4633
|
}, y.startOf = function(d, S) {
|
|
4634
|
-
var
|
|
4635
|
-
var Te = H.w(
|
|
4636
|
-
return x ? Te : Te.endOf(
|
|
4634
|
+
var f = this, x = !!H.u(S) || S, N = H.p(d), P = function(ye, ee) {
|
|
4635
|
+
var Te = H.w(f.$u ? Date.UTC(f.$y, ee, ye) : new Date(f.$y, ee, ye), f);
|
|
4636
|
+
return x ? Te : Te.endOf(u);
|
|
4637
4637
|
}, g = function(ye, ee) {
|
|
4638
|
-
return H.w(
|
|
4638
|
+
return H.w(f.toDate()[ye].apply(f.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ee)), f);
|
|
4639
4639
|
}, _ = this.$W, Z = this.$M, I = this.$D, pe = "set" + (this.$u ? "UTC" : "");
|
|
4640
4640
|
switch (N) {
|
|
4641
4641
|
case C:
|
|
4642
4642
|
return x ? P(1, 0) : P(31, 11);
|
|
4643
4643
|
case b:
|
|
4644
4644
|
return x ? P(1, Z) : P(0, Z + 1);
|
|
4645
|
-
case
|
|
4645
|
+
case h:
|
|
4646
4646
|
var Ee = this.$locale().weekStart || 0, Me = (_ < Ee ? _ + 7 : _) - Ee;
|
|
4647
4647
|
return P(x ? I - Me : I + (6 - Me), Z);
|
|
4648
|
-
case
|
|
4648
|
+
case u:
|
|
4649
4649
|
case E:
|
|
4650
4650
|
return g(pe + "Hours", 0);
|
|
4651
4651
|
case c:
|
|
4652
4652
|
return g(pe + "Minutes", 1);
|
|
4653
|
-
case
|
|
4653
|
+
case l:
|
|
4654
4654
|
return g(pe + "Seconds", 2);
|
|
4655
4655
|
case a:
|
|
4656
4656
|
return g(pe + "Milliseconds", 3);
|
|
@@ -4660,7 +4660,7 @@ var Ii = { exports: {} };
|
|
|
4660
4660
|
}, y.endOf = function(d) {
|
|
4661
4661
|
return this.startOf(d, !1);
|
|
4662
4662
|
}, y.$set = function(d, S) {
|
|
4663
|
-
var
|
|
4663
|
+
var f, x = H.p(d), N = "set" + (this.$u ? "UTC" : ""), P = (f = {}, f[u] = N + "Date", f[E] = N + "Date", f[b] = N + "Month", f[C] = N + "FullYear", f[c] = N + "Hours", f[l] = N + "Minutes", f[a] = N + "Seconds", f[s] = N + "Milliseconds", f)[x], g = x === u ? this.$D + (S - this.$W) : S;
|
|
4664
4664
|
if (x === b || x === C) {
|
|
4665
4665
|
var _ = this.clone().set(E, 1);
|
|
4666
4666
|
_.$d[P](g), _.init(), this.$d = _.set(E, Math.min(this.$D, _.daysInMonth())).$d;
|
|
@@ -4671,7 +4671,7 @@ var Ii = { exports: {} };
|
|
|
4671
4671
|
}, y.get = function(d) {
|
|
4672
4672
|
return this[H.p(d)]();
|
|
4673
4673
|
}, y.add = function(d, S) {
|
|
4674
|
-
var
|
|
4674
|
+
var f, x = this;
|
|
4675
4675
|
d = Number(d);
|
|
4676
4676
|
var N = H.p(S), P = function(Z) {
|
|
4677
4677
|
var I = W(x);
|
|
@@ -4679,16 +4679,16 @@ var Ii = { exports: {} };
|
|
|
4679
4679
|
};
|
|
4680
4680
|
if (N === b) return this.set(b, this.$M + d);
|
|
4681
4681
|
if (N === C) return this.set(C, this.$y + d);
|
|
4682
|
-
if (N ===
|
|
4683
|
-
if (N ===
|
|
4684
|
-
var g = (
|
|
4682
|
+
if (N === u) return P(1);
|
|
4683
|
+
if (N === h) return P(7);
|
|
4684
|
+
var g = (f = {}, f[l] = r, f[c] = i, f[a] = n, f)[N] || 1, _ = this.$d.getTime() + d * g;
|
|
4685
4685
|
return H.w(_, this);
|
|
4686
4686
|
}, y.subtract = function(d, S) {
|
|
4687
4687
|
return this.add(-1 * d, S);
|
|
4688
4688
|
}, y.format = function(d) {
|
|
4689
|
-
var S = this,
|
|
4690
|
-
if (!this.isValid()) return
|
|
4691
|
-
var x = d || "YYYY-MM-DDTHH:mm:ssZ", N = H.z(this), P = this.$H, g = this.$m, _ = this.$M, Z =
|
|
4689
|
+
var S = this, f = this.$locale();
|
|
4690
|
+
if (!this.isValid()) return f.invalidDate || m;
|
|
4691
|
+
var x = d || "YYYY-MM-DDTHH:mm:ssZ", N = H.z(this), P = this.$H, g = this.$m, _ = this.$M, Z = f.weekdays, I = f.months, pe = f.meridiem, Ee = function(ee, Te, de, He) {
|
|
4692
4692
|
return ee && (ee[Te] || ee(S, x)) || de[Te].slice(0, He);
|
|
4693
4693
|
}, Me = function(ee) {
|
|
4694
4694
|
return H.s(P % 12 || 12, ee, "0");
|
|
@@ -4708,7 +4708,7 @@ var Ii = { exports: {} };
|
|
|
4708
4708
|
case "MM":
|
|
4709
4709
|
return H.s(_ + 1, 2, "0");
|
|
4710
4710
|
case "MMM":
|
|
4711
|
-
return Ee(
|
|
4711
|
+
return Ee(f.monthsShort, _, I, 3);
|
|
4712
4712
|
case "MMMM":
|
|
4713
4713
|
return Ee(I, _);
|
|
4714
4714
|
case "D":
|
|
@@ -4718,9 +4718,9 @@ var Ii = { exports: {} };
|
|
|
4718
4718
|
case "d":
|
|
4719
4719
|
return String(S.$W);
|
|
4720
4720
|
case "dd":
|
|
4721
|
-
return Ee(
|
|
4721
|
+
return Ee(f.weekdaysMin, S.$W, Z, 2);
|
|
4722
4722
|
case "ddd":
|
|
4723
|
-
return Ee(
|
|
4723
|
+
return Ee(f.weekdaysShort, S.$W, Z, 3);
|
|
4724
4724
|
case "dddd":
|
|
4725
4725
|
return Z[S.$W];
|
|
4726
4726
|
case "H":
|
|
@@ -4753,7 +4753,7 @@ var Ii = { exports: {} };
|
|
|
4753
4753
|
});
|
|
4754
4754
|
}, y.utcOffset = function() {
|
|
4755
4755
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4756
|
-
}, y.diff = function(d, S,
|
|
4756
|
+
}, y.diff = function(d, S, f) {
|
|
4757
4757
|
var x, N = this, P = H.p(S), g = W(d), _ = (g.utcOffset() - this.utcOffset()) * r, Z = this - g, I = function() {
|
|
4758
4758
|
return H.m(N, g);
|
|
4759
4759
|
};
|
|
@@ -4767,16 +4767,16 @@ var Ii = { exports: {} };
|
|
|
4767
4767
|
case T:
|
|
4768
4768
|
x = I() / 3;
|
|
4769
4769
|
break;
|
|
4770
|
-
case
|
|
4770
|
+
case h:
|
|
4771
4771
|
x = (Z - _) / 6048e5;
|
|
4772
4772
|
break;
|
|
4773
|
-
case
|
|
4773
|
+
case u:
|
|
4774
4774
|
x = (Z - _) / 864e5;
|
|
4775
4775
|
break;
|
|
4776
4776
|
case c:
|
|
4777
4777
|
x = Z / i;
|
|
4778
4778
|
break;
|
|
4779
|
-
case
|
|
4779
|
+
case l:
|
|
4780
4780
|
x = Z / r;
|
|
4781
4781
|
break;
|
|
4782
4782
|
case a:
|
|
@@ -4785,15 +4785,15 @@ var Ii = { exports: {} };
|
|
|
4785
4785
|
default:
|
|
4786
4786
|
x = Z;
|
|
4787
4787
|
}
|
|
4788
|
-
return
|
|
4788
|
+
return f ? x : H.a(x);
|
|
4789
4789
|
}, y.daysInMonth = function() {
|
|
4790
4790
|
return this.endOf(b).$D;
|
|
4791
4791
|
}, y.$locale = function() {
|
|
4792
4792
|
return z[this.$L];
|
|
4793
4793
|
}, y.locale = function(d, S) {
|
|
4794
4794
|
if (!d) return this.$L;
|
|
4795
|
-
var
|
|
4796
|
-
return x && (
|
|
4795
|
+
var f = this.clone(), x = Q(d, S, !0);
|
|
4796
|
+
return x && (f.$L = x), f;
|
|
4797
4797
|
}, y.clone = function() {
|
|
4798
4798
|
return H.w(this.$d, this);
|
|
4799
4799
|
}, y.toDate = function() {
|
|
@@ -4805,9 +4805,9 @@ var Ii = { exports: {} };
|
|
|
4805
4805
|
}, y.toString = function() {
|
|
4806
4806
|
return this.$d.toUTCString();
|
|
4807
4807
|
}, v;
|
|
4808
|
-
}(),
|
|
4809
|
-
return W.prototype =
|
|
4810
|
-
|
|
4808
|
+
}(), le = re.prototype;
|
|
4809
|
+
return W.prototype = le, [["$ms", s], ["$s", a], ["$m", l], ["$H", c], ["$W", u], ["$M", b], ["$y", C], ["$D", E]].forEach(function(v) {
|
|
4810
|
+
le[v[1]] = function(y) {
|
|
4811
4811
|
return this.$g(y, v[0], v[1]);
|
|
4812
4812
|
};
|
|
4813
4813
|
}), W.extend = function(v, y) {
|
|
@@ -4825,27 +4825,27 @@ var Di = { exports: {} };
|
|
|
4825
4825
|
e.exports = r();
|
|
4826
4826
|
})(ii, function() {
|
|
4827
4827
|
var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
|
|
4828
|
-
return function(s, a,
|
|
4828
|
+
return function(s, a, l) {
|
|
4829
4829
|
var c = a.prototype;
|
|
4830
|
-
|
|
4830
|
+
l.utc = function(m) {
|
|
4831
4831
|
var M = { date: m, utc: !0, args: arguments };
|
|
4832
4832
|
return new a(M);
|
|
4833
4833
|
}, c.utc = function(m) {
|
|
4834
|
-
var M =
|
|
4834
|
+
var M = l(this.toDate(), { locale: this.$L, utc: !0 });
|
|
4835
4835
|
return m ? M.add(this.utcOffset(), n) : M;
|
|
4836
4836
|
}, c.local = function() {
|
|
4837
|
-
return
|
|
4837
|
+
return l(this.toDate(), { locale: this.$L, utc: !1 });
|
|
4838
4838
|
};
|
|
4839
|
-
var
|
|
4839
|
+
var u = c.parse;
|
|
4840
4840
|
c.parse = function(m) {
|
|
4841
|
-
m.utc && (this.$u = !0), this.$utils().u(m.$offset) || (this.$offset = m.$offset),
|
|
4841
|
+
m.utc && (this.$u = !0), this.$utils().u(m.$offset) || (this.$offset = m.$offset), u.call(this, m);
|
|
4842
4842
|
};
|
|
4843
|
-
var
|
|
4843
|
+
var h = c.init;
|
|
4844
4844
|
c.init = function() {
|
|
4845
4845
|
if (this.$u) {
|
|
4846
4846
|
var m = this.$d;
|
|
4847
4847
|
this.$y = m.getUTCFullYear(), this.$M = m.getUTCMonth(), this.$D = m.getUTCDate(), this.$W = m.getUTCDay(), this.$H = m.getUTCHours(), this.$m = m.getUTCMinutes(), this.$s = m.getUTCSeconds(), this.$ms = m.getUTCMilliseconds();
|
|
4848
|
-
} else
|
|
4848
|
+
} else h.call(this);
|
|
4849
4849
|
};
|
|
4850
4850
|
var b = c.utcOffset;
|
|
4851
4851
|
c.utcOffset = function(m, M) {
|
|
@@ -4882,12 +4882,12 @@ var Di = { exports: {} };
|
|
|
4882
4882
|
};
|
|
4883
4883
|
var C = c.toDate;
|
|
4884
4884
|
c.toDate = function(m) {
|
|
4885
|
-
return m === "s" && this.$offset ?
|
|
4885
|
+
return m === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : C.call(this);
|
|
4886
4886
|
};
|
|
4887
4887
|
var E = c.diff;
|
|
4888
4888
|
c.diff = function(m, M, j) {
|
|
4889
4889
|
if (m && this.$u === m.$u) return E.call(this, m, M, j);
|
|
4890
|
-
var R = this.local(), A =
|
|
4890
|
+
var R = this.local(), A = l(m).local();
|
|
4891
4891
|
return E.call(R, A, M, j);
|
|
4892
4892
|
};
|
|
4893
4893
|
};
|
|
@@ -4903,7 +4903,7 @@ function Wr(e) {
|
|
|
4903
4903
|
let t, n, r, i, s, a = (
|
|
4904
4904
|
/*$_*/
|
|
4905
4905
|
e[8]("sessionExpirationHeader") + ""
|
|
4906
|
-
),
|
|
4906
|
+
), l, c, u, h, b, T, C, E, m, M, j, R, A, L, D;
|
|
4907
4907
|
const z = (
|
|
4908
4908
|
/*#slots*/
|
|
4909
4909
|
e[20].icon
|
|
@@ -4925,29 +4925,29 @@ function Wr(e) {
|
|
|
4925
4925
|
), H = W || qa(e), re = (
|
|
4926
4926
|
/*#slots*/
|
|
4927
4927
|
e[20].text
|
|
4928
|
-
),
|
|
4928
|
+
), le = Ht(
|
|
4929
4929
|
re,
|
|
4930
4930
|
e,
|
|
4931
4931
|
/*$$scope*/
|
|
4932
4932
|
e[19],
|
|
4933
4933
|
Fr
|
|
4934
|
-
), v =
|
|
4935
|
-
function S(
|
|
4934
|
+
), v = le || Qa(e), y = [$a, Ka], d = [];
|
|
4935
|
+
function S(f, x) {
|
|
4936
4936
|
return (
|
|
4937
4937
|
/*showLoaderButton*/
|
|
4938
|
-
|
|
4938
|
+
f[6] ? 0 : 1
|
|
4939
4939
|
);
|
|
4940
4940
|
}
|
|
4941
4941
|
return m = S(e), M = d[m] = y[m](e), {
|
|
4942
4942
|
c() {
|
|
4943
|
-
t = K("div"), n = K("div"), r = K("div"), i = K("div"), s = K("div"),
|
|
4944
|
-
e[6], G(E, "class", "CashierSessionExpirationButton"), G(
|
|
4943
|
+
t = K("div"), n = K("div"), r = K("div"), i = K("div"), s = K("div"), l = $e(a), c = ft(), u = K("div"), h = K("div"), Y && Y.c(), b = ft(), H && H.c(), T = ft(), v && v.c(), C = ft(), E = K("button"), M.c(), G(s, "class", "CashierSessionExpirationModalHeaderTitle"), G(i, "class", "CashierSessionExpirationModalHeader"), G(E, "type", "button"), E.disabled = /*showLoaderButton*/
|
|
4944
|
+
e[6], G(E, "class", "CashierSessionExpirationButton"), G(h, "class", "CashierSessionExpiration"), G(u, "class", "CashierSessionExpirationModalContainer"), G(u, "part", "CashierSessionExpirationModalContainer"), G(r, "class", "CashierSessionExpirationModalWrapper"), G(r, "part", "CashierSessionExpirationModalWrapper"), G(n, "class", "CashierSessionExpirationModalWindow"), G(n, "part", "CashierSessionExpirationModalWindow"), G(n, "id", "CashierSessionExpirationModal"), Je(() => (
|
|
4945
4945
|
/*div5_elementresize_handler*/
|
|
4946
4946
|
e[22].call(n)
|
|
4947
4947
|
)), G(t, "part", "CustomStylingContainer");
|
|
4948
4948
|
},
|
|
4949
|
-
m(
|
|
4950
|
-
Ae(
|
|
4949
|
+
m(f, x) {
|
|
4950
|
+
Ae(f, t, x), q(t, n), q(n, r), q(r, i), q(i, s), q(s, l), q(r, c), q(r, u), q(u, h), Y && Y.m(h, null), q(h, b), H && H.m(h, null), q(h, T), v && v.m(h, null), q(h, C), q(h, E), d[m].m(E, null), e[21](h), j = ss(
|
|
4951
4951
|
n,
|
|
4952
4952
|
/*div5_elementresize_handler*/
|
|
4953
4953
|
e[22].bind(n)
|
|
@@ -4966,10 +4966,10 @@ function Wr(e) {
|
|
|
4966
4966
|
)
|
|
4967
4967
|
], L = !0);
|
|
4968
4968
|
},
|
|
4969
|
-
p(
|
|
4970
|
-
e =
|
|
4969
|
+
p(f, x) {
|
|
4970
|
+
e = f, (!A || x[0] & /*$_*/
|
|
4971
4971
|
256) && a !== (a = /*$_*/
|
|
4972
|
-
e[8]("sessionExpirationHeader") + "") && Xt(
|
|
4972
|
+
e[8]("sessionExpirationHeader") + "") && Xt(l, a), J ? J.p && (!A || x[0] & /*$$scope*/
|
|
4973
4973
|
524288) && Pt(
|
|
4974
4974
|
J,
|
|
4975
4975
|
z,
|
|
@@ -5007,9 +5007,9 @@ function Wr(e) {
|
|
|
5007
5007
|
),
|
|
5008
5008
|
zr
|
|
5009
5009
|
) : H && H.p && (!A || x[0] & /*$_*/
|
|
5010
|
-
256) && H.p(e, A ? x : [-1, -1]),
|
|
5010
|
+
256) && H.p(e, A ? x : [-1, -1]), le ? le.p && (!A || x[0] & /*$$scope*/
|
|
5011
5011
|
524288) && Pt(
|
|
5012
|
-
|
|
5012
|
+
le,
|
|
5013
5013
|
re,
|
|
5014
5014
|
e,
|
|
5015
5015
|
/*$$scope*/
|
|
@@ -5034,22 +5034,22 @@ function Wr(e) {
|
|
|
5034
5034
|
64) && (E.disabled = /*showLoaderButton*/
|
|
5035
5035
|
e[6]);
|
|
5036
5036
|
},
|
|
5037
|
-
i(
|
|
5038
|
-
A || (we(Y,
|
|
5039
|
-
A && (R || (R =
|
|
5037
|
+
i(f) {
|
|
5038
|
+
A || (we(Y, f), we(H, f), we(v, f), we(M), f && Je(() => {
|
|
5039
|
+
A && (R || (R = fr(n, mr, { duration: (
|
|
5040
5040
|
/*duration*/
|
|
5041
5041
|
e[2]
|
|
5042
5042
|
) }, !0)), R.run(1));
|
|
5043
5043
|
}), A = !0);
|
|
5044
5044
|
},
|
|
5045
|
-
o(
|
|
5046
|
-
Ne(Y,
|
|
5045
|
+
o(f) {
|
|
5046
|
+
Ne(Y, f), Ne(H, f), Ne(v, f), Ne(M), f && (R || (R = fr(n, mr, { duration: (
|
|
5047
5047
|
/*duration*/
|
|
5048
5048
|
e[2]
|
|
5049
5049
|
) }, !1)), R.run(0)), A = !1;
|
|
5050
5050
|
},
|
|
5051
|
-
d(
|
|
5052
|
-
|
|
5051
|
+
d(f) {
|
|
5052
|
+
f && me(t), Y && Y.d(f), H && H.d(f), v && v.d(f), d[m].d(), e[21](null), j(), f && R && R.end(), e[23](null), L = !1, Re(D);
|
|
5053
5053
|
}
|
|
5054
5054
|
};
|
|
5055
5055
|
}
|
|
@@ -5062,7 +5062,7 @@ function Xa(e) {
|
|
|
5062
5062
|
m(r, i) {
|
|
5063
5063
|
Ae(r, t, i);
|
|
5064
5064
|
},
|
|
5065
|
-
p:
|
|
5065
|
+
p: he,
|
|
5066
5066
|
d(r) {
|
|
5067
5067
|
r && me(t);
|
|
5068
5068
|
}
|
|
@@ -5175,7 +5175,7 @@ function Ka(e) {
|
|
|
5175
5175
|
/*$$scope*/
|
|
5176
5176
|
e[19],
|
|
5177
5177
|
Gr
|
|
5178
|
-
), i = r ||
|
|
5178
|
+
), i = r || el(e);
|
|
5179
5179
|
return {
|
|
5180
5180
|
c() {
|
|
5181
5181
|
i && i.c();
|
|
@@ -5220,27 +5220,27 @@ function $a(e) {
|
|
|
5220
5220
|
let t, n, r, i, s, a = (
|
|
5221
5221
|
/*$_*/
|
|
5222
5222
|
e[8]("sessionExpirationLoadingButton") + ""
|
|
5223
|
-
),
|
|
5223
|
+
), l;
|
|
5224
5224
|
return {
|
|
5225
5225
|
c() {
|
|
5226
|
-
t = K("div"), n =
|
|
5226
|
+
t = K("div"), n = ur("svg"), r = ur("path"), i = ft(), s = K("span"), l = $e(a), G(r, "d", "M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"), G(r, "fill", "white"), G(n, "class", "CashierSessionExpirationButtonSpinner"), G(n, "xmlns", "http://www.w3.org/2000/svg"), G(n, "width", "15"), G(n, "height", "14"), G(n, "viewBox", "0 0 15 14"), G(n, "fill", "none"), G(s, "class", "CashierSessionExpirationButtonText");
|
|
5227
5227
|
},
|
|
5228
|
-
m(c,
|
|
5229
|
-
Ae(c, t,
|
|
5228
|
+
m(c, u) {
|
|
5229
|
+
Ae(c, t, u), q(t, n), q(n, r), q(t, i), q(t, s), q(s, l);
|
|
5230
5230
|
},
|
|
5231
|
-
p(c,
|
|
5232
|
-
|
|
5231
|
+
p(c, u) {
|
|
5232
|
+
u[0] & /*$_*/
|
|
5233
5233
|
256 && a !== (a = /*$_*/
|
|
5234
|
-
c[8]("sessionExpirationLoadingButton") + "") && Xt(
|
|
5234
|
+
c[8]("sessionExpirationLoadingButton") + "") && Xt(l, a);
|
|
5235
5235
|
},
|
|
5236
|
-
i:
|
|
5237
|
-
o:
|
|
5236
|
+
i: he,
|
|
5237
|
+
o: he,
|
|
5238
5238
|
d(c) {
|
|
5239
5239
|
c && me(t);
|
|
5240
5240
|
}
|
|
5241
5241
|
};
|
|
5242
5242
|
}
|
|
5243
|
-
function
|
|
5243
|
+
function el(e) {
|
|
5244
5244
|
let t, n = (
|
|
5245
5245
|
/*$_*/
|
|
5246
5246
|
e[8]("sessionExpirationGeneralButton") + ""
|
|
@@ -5262,7 +5262,7 @@ function eu(e) {
|
|
|
5262
5262
|
}
|
|
5263
5263
|
};
|
|
5264
5264
|
}
|
|
5265
|
-
function
|
|
5265
|
+
function tl(e) {
|
|
5266
5266
|
let t, n, r = (
|
|
5267
5267
|
/*show*/
|
|
5268
5268
|
e[5] && Wr(e)
|
|
@@ -5292,13 +5292,13 @@ function tu(e) {
|
|
|
5292
5292
|
}
|
|
5293
5293
|
};
|
|
5294
5294
|
}
|
|
5295
|
-
const
|
|
5296
|
-
function
|
|
5295
|
+
const nl = 90;
|
|
5296
|
+
function rl(e, t, n) {
|
|
5297
5297
|
let r;
|
|
5298
5298
|
Ki(e, ba, (g) => n(8, r = g));
|
|
5299
5299
|
let { $$slots: i = {}, $$scope: s } = t;
|
|
5300
5300
|
kr.extend(Fa);
|
|
5301
|
-
let { clientstyling: a = "" } = t, { clientstylingurl:
|
|
5301
|
+
let { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { width: c } = t, { height: u } = t, { duration: h = 200 } = t, { assetsurl: b = "" } = t, { lang: T = "en" } = t, { translationurl: C = "" } = t, { endpoint: E } = t, { currency: m } = t, { customerid: M } = t, { selectedpaymentmethodname: j } = t, R, A = !1, L = !1, D, z, J, Y, Q;
|
|
5302
5302
|
const W = (g) => {
|
|
5303
5303
|
g.data.type === "StartSessionCountdown" && (Q = g.data.xPaymentSessionToken, Y = g.data.paymentMethodName, re());
|
|
5304
5304
|
}, H = (g) => {
|
|
@@ -5313,11 +5313,11 @@ function ru(e, t, n) {
|
|
|
5313
5313
|
g && (z = g == null ? void 0 : g.exp, n(7, D = z), J && clearInterval(J), J = setInterval(
|
|
5314
5314
|
() => {
|
|
5315
5315
|
const _ = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
5316
|
-
n(7, D = z - _), D <=
|
|
5316
|
+
n(7, D = z - _), D <= nl && n(5, A = !0), _ >= z && (n(7, D = 0), n(5, A = !1), clearInterval(J), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
5317
5317
|
},
|
|
5318
5318
|
1e3
|
|
5319
5319
|
));
|
|
5320
|
-
},
|
|
5320
|
+
}, le = () => {
|
|
5321
5321
|
if (L) return;
|
|
5322
5322
|
const g = new URL(`${E}/v1/player/${M}/payment/GetPaymentMethod`), _ = new Headers();
|
|
5323
5323
|
n(6, L = !0), _.append("accept", "application/json"), _.append("Content-Type", "application/json"), _.append("X-Client-Request-Timestamp", kr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
@@ -5336,7 +5336,7 @@ function ru(e, t, n) {
|
|
|
5336
5336
|
}).finally(() => n(6, L = !1));
|
|
5337
5337
|
}, v = (g) => {
|
|
5338
5338
|
const _ = g.currentTarget;
|
|
5339
|
-
g.target === _ &&
|
|
5339
|
+
g.target === _ && le();
|
|
5340
5340
|
}, y = () => {
|
|
5341
5341
|
fetch(C).then((_) => _.json()).then((_) => {
|
|
5342
5342
|
Object.keys(_).forEach((Z) => {
|
|
@@ -5354,8 +5354,8 @@ function ru(e, t, n) {
|
|
|
5354
5354
|
}, S = () => {
|
|
5355
5355
|
let g = document.createElement("style");
|
|
5356
5356
|
g.innerHTML = a, R.appendChild(g);
|
|
5357
|
-
},
|
|
5358
|
-
let g = new URL(
|
|
5357
|
+
}, f = () => {
|
|
5358
|
+
let g = new URL(l), _ = document.createElement("style");
|
|
5359
5359
|
fetch(g.href).then((Z) => Z.text()).then((Z) => {
|
|
5360
5360
|
_.innerHTML = Z, setTimeout(
|
|
5361
5361
|
() => {
|
|
@@ -5365,7 +5365,7 @@ function ru(e, t, n) {
|
|
|
5365
5365
|
);
|
|
5366
5366
|
});
|
|
5367
5367
|
};
|
|
5368
|
-
|
|
5368
|
+
fs(() => (window.addEventListener("message", W, !1), () => {
|
|
5369
5369
|
window.removeEventListener("message", W);
|
|
5370
5370
|
})), ms(() => {
|
|
5371
5371
|
clearInterval(J);
|
|
@@ -5376,7 +5376,7 @@ function ru(e, t, n) {
|
|
|
5376
5376
|
});
|
|
5377
5377
|
}
|
|
5378
5378
|
function N() {
|
|
5379
|
-
c = this.clientWidth,
|
|
5379
|
+
c = this.clientWidth, u = this.clientHeight, n(0, c), n(1, u);
|
|
5380
5380
|
}
|
|
5381
5381
|
function P(g) {
|
|
5382
5382
|
zt[g ? "unshift" : "push"](() => {
|
|
@@ -5384,27 +5384,27 @@ function ru(e, t, n) {
|
|
|
5384
5384
|
});
|
|
5385
5385
|
}
|
|
5386
5386
|
return e.$$set = (g) => {
|
|
5387
|
-
"clientstyling" in g && n(11, a = g.clientstyling), "clientstylingurl" in g && n(12,
|
|
5387
|
+
"clientstyling" in g && n(11, a = g.clientstyling), "clientstylingurl" in g && n(12, l = g.clientstylingurl), "width" in g && n(0, c = g.width), "height" in g && n(1, u = g.height), "duration" in g && n(2, h = g.duration), "assetsurl" in g && n(3, b = g.assetsurl), "lang" in g && n(13, T = g.lang), "translationurl" in g && n(14, C = g.translationurl), "endpoint" in g && n(15, E = g.endpoint), "currency" in g && n(16, m = g.currency), "customerid" in g && n(17, M = g.customerid), "selectedpaymentmethodname" in g && n(18, j = g.selectedpaymentmethodname), "$$scope" in g && n(19, s = g.$$scope);
|
|
5388
5388
|
}, e.$$.update = () => {
|
|
5389
5389
|
e.$$.dirty[0] & /*lang*/
|
|
5390
5390
|
8192 && T && d(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5391
5391
|
2064 && a && R && S(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5392
|
-
4112 &&
|
|
5392
|
+
4112 && l && R && f(), e.$$.dirty[0] & /*translationurl*/
|
|
5393
5393
|
16384 && C && y();
|
|
5394
5394
|
}, [
|
|
5395
5395
|
c,
|
|
5396
|
-
|
|
5397
|
-
|
|
5396
|
+
u,
|
|
5397
|
+
h,
|
|
5398
5398
|
b,
|
|
5399
5399
|
R,
|
|
5400
5400
|
A,
|
|
5401
5401
|
L,
|
|
5402
5402
|
D,
|
|
5403
5403
|
r,
|
|
5404
|
-
|
|
5404
|
+
le,
|
|
5405
5405
|
v,
|
|
5406
5406
|
a,
|
|
5407
|
-
|
|
5407
|
+
l,
|
|
5408
5408
|
T,
|
|
5409
5409
|
C,
|
|
5410
5410
|
E,
|
|
@@ -5418,13 +5418,13 @@ function ru(e, t, n) {
|
|
|
5418
5418
|
P
|
|
5419
5419
|
];
|
|
5420
5420
|
}
|
|
5421
|
-
class
|
|
5421
|
+
class il extends As {
|
|
5422
5422
|
constructor(t) {
|
|
5423
5423
|
super(), Ss(
|
|
5424
5424
|
this,
|
|
5425
5425
|
t,
|
|
5426
|
-
|
|
5427
|
-
|
|
5426
|
+
rl,
|
|
5427
|
+
tl,
|
|
5428
5428
|
Xr,
|
|
5429
5429
|
{
|
|
5430
5430
|
clientstyling: 11,
|
|
@@ -5517,7 +5517,7 @@ class iu extends As {
|
|
|
5517
5517
|
this.$$set({ selectedpaymentmethodname: t }), ce();
|
|
5518
5518
|
}
|
|
5519
5519
|
}
|
|
5520
|
-
ws(
|
|
5520
|
+
ws(il, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
5521
5521
|
export {
|
|
5522
|
-
|
|
5522
|
+
il as default
|
|
5523
5523
|
};
|