@everymatrix/cashier-session-expiration-modal 1.94.36 → 1.94.38
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-DWBBNjE-.js → CashierSessionExpirationModal-1-TeUU_p.js} +372 -348
- package/components/{CashierSessionExpirationModal-D8OiqE6c.cjs → CashierSessionExpirationModal-B4j5drTR.cjs} +5 -5
- package/components/{CashierSessionExpirationModal-C0akT2hA.js → CashierSessionExpirationModal-Bmx0vZt6.js} +357 -333
- 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 +1 -1
|
@@ -134,13 +134,13 @@ function $(e, t) {
|
|
|
134
134
|
e.appendChild(t);
|
|
135
135
|
}
|
|
136
136
|
function oo(e, t, n) {
|
|
137
|
-
const r =
|
|
137
|
+
const r = Bn(e);
|
|
138
138
|
if (!r.getElementById(t)) {
|
|
139
139
|
const i = ne("style");
|
|
140
140
|
i.id = t, i.textContent = n, ii(r, i);
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function Bn(e) {
|
|
144
144
|
if (!e)
|
|
145
145
|
return document;
|
|
146
146
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -152,7 +152,7 @@ function Dn(e) {
|
|
|
152
152
|
}
|
|
153
153
|
function so(e) {
|
|
154
154
|
const t = ne("style");
|
|
155
|
-
return t.textContent = "/* empty */", ii(
|
|
155
|
+
return t.textContent = "/* empty */", ii(Bn(e), t), t.sheet;
|
|
156
156
|
}
|
|
157
157
|
function ii(e, t) {
|
|
158
158
|
return $(
|
|
@@ -253,7 +253,7 @@ function po(e, t) {
|
|
|
253
253
|
const n = { stylesheet: so(t), rules: {} };
|
|
254
254
|
return Xt.set(e, n), n;
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function dr(e, t, n, r, i, o, l, a = 0) {
|
|
257
257
|
const c = 16.666 / r;
|
|
258
258
|
let u = `{
|
|
259
259
|
`;
|
|
@@ -263,7 +263,7 @@ function pr(e, t, n, r, i, o, l, a = 0) {
|
|
|
263
263
|
`;
|
|
264
264
|
}
|
|
265
265
|
const f = u + `100% {${l(n, 1 - n)}}
|
|
266
|
-
}`, m = `__svelte_${mo(f)}_${a}`, y =
|
|
266
|
+
}`, m = `__svelte_${mo(f)}_${a}`, y = Bn(e), { stylesheet: A, rules: x } = Xt.get(y) || po(y, e);
|
|
267
267
|
x[m] || (x[m] = !0, A.insertRule(`@keyframes ${m} ${f}`, A.cssRules.length));
|
|
268
268
|
const g = e.style.animation || "";
|
|
269
269
|
return e.style.animation = `${g ? `${g}, ` : ""}${m} ${r}ms linear ${i}ms 1 both`, Yt += 1, m;
|
|
@@ -273,9 +273,9 @@ function go(e, t) {
|
|
|
273
273
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
274
274
|
// remove all Svelte animations
|
|
275
275
|
), i = n.length - r.length;
|
|
276
|
-
i && (e.style.animation = r.join(", "), Yt -= i, Yt ||
|
|
276
|
+
i && (e.style.animation = r.join(", "), Yt -= i, Yt || bo());
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function bo() {
|
|
279
279
|
Rn(() => {
|
|
280
280
|
Yt || (Xt.forEach((e) => {
|
|
281
281
|
const { ownerNode: t } = e.stylesheet;
|
|
@@ -292,7 +292,7 @@ function oi() {
|
|
|
292
292
|
throw new Error("Function called outside component initialization");
|
|
293
293
|
return vt;
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function _o(e) {
|
|
296
296
|
oi().$$.on_mount.push(e);
|
|
297
297
|
}
|
|
298
298
|
function Eo(e) {
|
|
@@ -300,7 +300,7 @@ function Eo(e) {
|
|
|
300
300
|
}
|
|
301
301
|
const Je = [], Zt = [];
|
|
302
302
|
let tt = [];
|
|
303
|
-
const
|
|
303
|
+
const pr = [], yo = /* @__PURE__ */ Promise.resolve();
|
|
304
304
|
let Sn = !1;
|
|
305
305
|
function xo() {
|
|
306
306
|
Sn || (Sn = !0, yo.then(ge));
|
|
@@ -331,8 +331,8 @@ function ge() {
|
|
|
331
331
|
}
|
|
332
332
|
tt.length = 0;
|
|
333
333
|
} while (Je.length);
|
|
334
|
-
for (;
|
|
335
|
-
|
|
334
|
+
for (; pr.length; )
|
|
335
|
+
pr.pop()();
|
|
336
336
|
Sn = !1, fn.clear(), yt(e);
|
|
337
337
|
}
|
|
338
338
|
function vo(e) {
|
|
@@ -356,26 +356,26 @@ function hn(e, t, n) {
|
|
|
356
356
|
e.dispatchEvent(fo(`${t ? "intro" : "outro"}${n}`));
|
|
357
357
|
}
|
|
358
358
|
const Ft = /* @__PURE__ */ new Set();
|
|
359
|
-
let
|
|
359
|
+
let Be;
|
|
360
360
|
function si() {
|
|
361
|
-
|
|
361
|
+
Be = {
|
|
362
362
|
r: 0,
|
|
363
363
|
c: [],
|
|
364
|
-
p:
|
|
364
|
+
p: Be
|
|
365
365
|
// parent group
|
|
366
366
|
};
|
|
367
367
|
}
|
|
368
368
|
function ai() {
|
|
369
|
-
|
|
369
|
+
Be.r || Ue(Be.c), Be = Be.p;
|
|
370
370
|
}
|
|
371
371
|
function He(e, t) {
|
|
372
372
|
e && e.i && (Ft.delete(e), e.i(t));
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function De(e, t, n, r) {
|
|
375
375
|
if (e && e.o) {
|
|
376
376
|
if (Ft.has(e))
|
|
377
377
|
return;
|
|
378
|
-
Ft.add(e),
|
|
378
|
+
Ft.add(e), Be.c.push(() => {
|
|
379
379
|
Ft.delete(e), r && (n && e.d(1), r());
|
|
380
380
|
}), e.o(t);
|
|
381
381
|
} else
|
|
@@ -413,9 +413,9 @@ function gr(e, t, n, r) {
|
|
|
413
413
|
start: ro() + g,
|
|
414
414
|
b: x
|
|
415
415
|
};
|
|
416
|
-
x || (H.group =
|
|
417
|
-
e.inert, e.inert = !0)), a || c ? c = H : (R && (m(), u =
|
|
418
|
-
if (c && I > c.start && (a = y(c, N), c = null, hn(e, a.b, "start"), R && (m(), u =
|
|
416
|
+
x || (H.group = Be, Be.r += 1), "inert" in e && (x ? f !== void 0 && (e.inert = f) : (f = /** @type {HTMLElement} */
|
|
417
|
+
e.inert, e.inert = !0)), a || c ? c = H : (R && (m(), u = dr(e, l, x, N, g, k, R)), x && X(0, 1), a = y(H, N), nt(() => hn(e, x, "start")), io((I) => {
|
|
418
|
+
if (c && I > c.start && (a = y(c, N), c = null, hn(e, a.b, "start"), R && (m(), u = dr(
|
|
419
419
|
e,
|
|
420
420
|
l,
|
|
421
421
|
a.b,
|
|
@@ -728,7 +728,7 @@ class Ho {
|
|
|
728
728
|
}
|
|
729
729
|
const No = "4";
|
|
730
730
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(No);
|
|
731
|
-
function
|
|
731
|
+
function br(e, { delay: t = 0, duration: n = 400, easing: r = Jr } = {}) {
|
|
732
732
|
const i = +getComputedStyle(e).opacity;
|
|
733
733
|
return {
|
|
734
734
|
delay: t,
|
|
@@ -801,20 +801,20 @@ function at(e, t, n) {
|
|
|
801
801
|
});
|
|
802
802
|
}
|
|
803
803
|
var ui = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
804
|
-
function
|
|
804
|
+
function Dn(e) {
|
|
805
805
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
806
806
|
}
|
|
807
807
|
var Po = function(t) {
|
|
808
|
-
return Ro(t) && !
|
|
808
|
+
return Ro(t) && !Bo(t);
|
|
809
809
|
};
|
|
810
810
|
function Ro(e) {
|
|
811
811
|
return !!e && typeof e == "object";
|
|
812
812
|
}
|
|
813
|
-
function
|
|
813
|
+
function Bo(e) {
|
|
814
814
|
var t = Object.prototype.toString.call(e);
|
|
815
815
|
return t === "[object RegExp]" || t === "[object Date]" || Uo(e);
|
|
816
816
|
}
|
|
817
|
-
var
|
|
817
|
+
var Do = typeof Symbol == "function" && Symbol.for, $o = Do ? Symbol.for("react.element") : 60103;
|
|
818
818
|
function Uo(e) {
|
|
819
819
|
return e.$$typeof === $o;
|
|
820
820
|
}
|
|
@@ -840,7 +840,7 @@ function jo(e) {
|
|
|
840
840
|
return Object.propertyIsEnumerable.call(e, t);
|
|
841
841
|
}) : [];
|
|
842
842
|
}
|
|
843
|
-
function
|
|
843
|
+
function _r(e) {
|
|
844
844
|
return Object.keys(e).concat(jo(e));
|
|
845
845
|
}
|
|
846
846
|
function ci(e, t) {
|
|
@@ -855,9 +855,9 @@ function zo(e, t) {
|
|
|
855
855
|
}
|
|
856
856
|
function Wo(e, t, n) {
|
|
857
857
|
var r = {};
|
|
858
|
-
return n.isMergeableObject(e) &&
|
|
858
|
+
return n.isMergeableObject(e) && _r(e).forEach(function(i) {
|
|
859
859
|
r[i] = Tt(e[i], n);
|
|
860
|
-
}),
|
|
860
|
+
}), _r(t).forEach(function(i) {
|
|
861
861
|
zo(e, i) || (ci(e, i) && n.isMergeableObject(t[i]) ? r[i] = Fo(i, n)(e[i], t[i], n) : r[i] = Tt(t[i], n));
|
|
862
862
|
}), r;
|
|
863
863
|
}
|
|
@@ -874,7 +874,7 @@ rt.all = function(t, n) {
|
|
|
874
874
|
}, {});
|
|
875
875
|
};
|
|
876
876
|
var Vo = rt, Xo = Vo;
|
|
877
|
-
const Yo = /* @__PURE__ */
|
|
877
|
+
const Yo = /* @__PURE__ */ Dn(Xo);
|
|
878
878
|
var wn = function(e, t) {
|
|
879
879
|
return wn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
880
880
|
n.__proto__ = r;
|
|
@@ -917,7 +917,7 @@ function mn(e, t, n) {
|
|
|
917
917
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
918
918
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
919
919
|
}
|
|
920
|
-
function
|
|
920
|
+
function dn(e, t) {
|
|
921
921
|
var n = t && t.cache ? t.cache : ns, r = t && t.serializer ? t.serializer : es, i = t && t.strategy ? t.strategy : Qo;
|
|
922
922
|
return i(e, {
|
|
923
923
|
cache: n,
|
|
@@ -963,7 +963,7 @@ var es = function() {
|
|
|
963
963
|
create: function() {
|
|
964
964
|
return new ts();
|
|
965
965
|
}
|
|
966
|
-
},
|
|
966
|
+
}, pn = {
|
|
967
967
|
variadic: Ko
|
|
968
968
|
}, qt = function() {
|
|
969
969
|
return qt = Object.assign || function(t) {
|
|
@@ -996,22 +996,22 @@ function rs(e) {
|
|
|
996
996
|
function mi(e) {
|
|
997
997
|
return e.type === Q.number;
|
|
998
998
|
}
|
|
999
|
-
function
|
|
999
|
+
function di(e) {
|
|
1000
1000
|
return e.type === Q.date;
|
|
1001
1001
|
}
|
|
1002
|
-
function
|
|
1002
|
+
function pi(e) {
|
|
1003
1003
|
return e.type === Q.time;
|
|
1004
1004
|
}
|
|
1005
1005
|
function gi(e) {
|
|
1006
1006
|
return e.type === Q.select;
|
|
1007
1007
|
}
|
|
1008
|
-
function
|
|
1008
|
+
function bi(e) {
|
|
1009
1009
|
return e.type === Q.plural;
|
|
1010
1010
|
}
|
|
1011
1011
|
function is(e) {
|
|
1012
1012
|
return e.type === Q.pound;
|
|
1013
1013
|
}
|
|
1014
|
-
function
|
|
1014
|
+
function _i(e) {
|
|
1015
1015
|
return e.type === Q.tag;
|
|
1016
1016
|
}
|
|
1017
1017
|
function Ei(e) {
|
|
@@ -2754,7 +2754,7 @@ function ms(e, t) {
|
|
|
2754
2754
|
if (i === "j") {
|
|
2755
2755
|
for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2756
2756
|
o++, r++;
|
|
2757
|
-
var l = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", u =
|
|
2757
|
+
var l = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", u = ds(t);
|
|
2758
2758
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2759
2759
|
n += c;
|
|
2760
2760
|
for (; l-- > 0; )
|
|
@@ -2764,7 +2764,7 @@ function ms(e, t) {
|
|
|
2764
2764
|
}
|
|
2765
2765
|
return n;
|
|
2766
2766
|
}
|
|
2767
|
-
function
|
|
2767
|
+
function ds(e) {
|
|
2768
2768
|
var t = e.hourCycle;
|
|
2769
2769
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2770
2770
|
e.hourCycles && // @ts-ignore
|
|
@@ -2786,11 +2786,11 @@ function ps(e) {
|
|
|
2786
2786
|
var i = Rt[r || ""] || Rt[n || ""] || Rt["".concat(n, "-001")] || Rt["001"];
|
|
2787
2787
|
return i[0];
|
|
2788
2788
|
}
|
|
2789
|
-
var gn,
|
|
2789
|
+
var gn, ps = new RegExp("^".concat(yi.source, "*")), gs = new RegExp("".concat(yi.source, "*$"));
|
|
2790
2790
|
function j(e, t) {
|
|
2791
2791
|
return { start: e, end: t };
|
|
2792
2792
|
}
|
|
2793
|
-
var
|
|
2793
|
+
var bs = !!String.prototype.startsWith && "_a".startsWith("a", 1), _s = !!String.fromCodePoint, Es = !!Object.fromEntries, ys = !!String.prototype.codePointAt, xs = !!String.prototype.trimStart, vs = !!String.prototype.trimEnd, Ts = !!Number.isSafeInteger, Ss = Ts ? Number.isSafeInteger : function(e) {
|
|
2794
2794
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2795
2795
|
}, Cn = !0;
|
|
2796
2796
|
try {
|
|
@@ -2799,7 +2799,7 @@ try {
|
|
|
2799
2799
|
} catch (e) {
|
|
2800
2800
|
Cn = !1;
|
|
2801
2801
|
}
|
|
2802
|
-
var Tr =
|
|
2802
|
+
var Tr = bs ? (
|
|
2803
2803
|
// Native
|
|
2804
2804
|
function(t, n, r) {
|
|
2805
2805
|
return t.startsWith(n, r);
|
|
@@ -2809,7 +2809,7 @@ var Tr = _s ? (
|
|
|
2809
2809
|
function(t, n, r) {
|
|
2810
2810
|
return t.slice(r, r + n.length) === n;
|
|
2811
2811
|
}
|
|
2812
|
-
), On =
|
|
2812
|
+
), On = _s ? String.fromCodePoint : (
|
|
2813
2813
|
// IE11
|
|
2814
2814
|
function() {
|
|
2815
2815
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
@@ -2855,7 +2855,7 @@ var Tr = _s ? (
|
|
|
2855
2855
|
) : (
|
|
2856
2856
|
// Ponyfill
|
|
2857
2857
|
function(t) {
|
|
2858
|
-
return t.replace(
|
|
2858
|
+
return t.replace(ps, "");
|
|
2859
2859
|
}
|
|
2860
2860
|
), Cs = vs ? (
|
|
2861
2861
|
// Native
|
|
@@ -3360,11 +3360,11 @@ function Hs(e) {
|
|
|
3360
3360
|
}
|
|
3361
3361
|
function Hn(e) {
|
|
3362
3362
|
e.forEach(function(t) {
|
|
3363
|
-
if (delete t.location, gi(t) ||
|
|
3363
|
+
if (delete t.location, gi(t) || bi(t))
|
|
3364
3364
|
for (var n in t.options)
|
|
3365
3365
|
delete t.options[n].location, Hn(t.options[n].value);
|
|
3366
3366
|
else
|
|
3367
|
-
mi(t) && Ei(t.style) || (
|
|
3367
|
+
mi(t) && Ei(t.style) || (di(t) || pi(t)) && An(t.style) ? delete t.style.location : _i(t) && Hn(t.children);
|
|
3368
3368
|
});
|
|
3369
3369
|
}
|
|
3370
3370
|
function Ns(e, t) {
|
|
@@ -3419,24 +3419,24 @@ var nn = (
|
|
|
3419
3419
|
}
|
|
3420
3420
|
return t;
|
|
3421
3421
|
}(nn)
|
|
3422
|
-
),
|
|
3422
|
+
), be;
|
|
3423
3423
|
(function(e) {
|
|
3424
3424
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3425
|
-
})(
|
|
3425
|
+
})(be || (be = {}));
|
|
3426
3426
|
function Rs(e) {
|
|
3427
3427
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3428
3428
|
var r = t[t.length - 1];
|
|
3429
|
-
return !r || r.type !==
|
|
3429
|
+
return !r || r.type !== be.literal || n.type !== be.literal ? t.push(n) : r.value += n.value, t;
|
|
3430
3430
|
}, []);
|
|
3431
3431
|
}
|
|
3432
|
-
function
|
|
3432
|
+
function Bs(e) {
|
|
3433
3433
|
return typeof e == "function";
|
|
3434
3434
|
}
|
|
3435
3435
|
function zt(e, t, n, r, i, o, l) {
|
|
3436
3436
|
if (e.length === 1 && Er(e[0]))
|
|
3437
3437
|
return [
|
|
3438
3438
|
{
|
|
3439
|
-
type:
|
|
3439
|
+
type: be.literal,
|
|
3440
3440
|
value: e[0].value
|
|
3441
3441
|
}
|
|
3442
3442
|
];
|
|
@@ -3444,14 +3444,14 @@ function zt(e, t, n, r, i, o, l) {
|
|
|
3444
3444
|
var f = u[c];
|
|
3445
3445
|
if (Er(f)) {
|
|
3446
3446
|
a.push({
|
|
3447
|
-
type:
|
|
3447
|
+
type: be.literal,
|
|
3448
3448
|
value: f.value
|
|
3449
3449
|
});
|
|
3450
3450
|
continue;
|
|
3451
3451
|
}
|
|
3452
3452
|
if (is(f)) {
|
|
3453
3453
|
typeof o == "number" && a.push({
|
|
3454
|
-
type:
|
|
3454
|
+
type: be.literal,
|
|
3455
3455
|
value: n.getNumberFormat(t).format(o)
|
|
3456
3456
|
});
|
|
3457
3457
|
continue;
|
|
@@ -3462,23 +3462,23 @@ function zt(e, t, n, r, i, o, l) {
|
|
|
3462
3462
|
var y = i[m];
|
|
3463
3463
|
if (rs(f)) {
|
|
3464
3464
|
(!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), a.push({
|
|
3465
|
-
type: typeof y == "string" ?
|
|
3465
|
+
type: typeof y == "string" ? be.literal : be.object,
|
|
3466
3466
|
value: y
|
|
3467
3467
|
});
|
|
3468
3468
|
continue;
|
|
3469
3469
|
}
|
|
3470
|
-
if (
|
|
3470
|
+
if (di(f)) {
|
|
3471
3471
|
var A = typeof f.style == "string" ? r.date[f.style] : An(f.style) ? f.style.parsedOptions : void 0;
|
|
3472
3472
|
a.push({
|
|
3473
|
-
type:
|
|
3473
|
+
type: be.literal,
|
|
3474
3474
|
value: n.getDateTimeFormat(t, A).format(y)
|
|
3475
3475
|
});
|
|
3476
3476
|
continue;
|
|
3477
3477
|
}
|
|
3478
|
-
if (
|
|
3478
|
+
if (pi(f)) {
|
|
3479
3479
|
var A = typeof f.style == "string" ? r.time[f.style] : An(f.style) ? f.style.parsedOptions : r.time.medium;
|
|
3480
3480
|
a.push({
|
|
3481
|
-
type:
|
|
3481
|
+
type: be.literal,
|
|
3482
3482
|
value: n.getDateTimeFormat(t, A).format(y)
|
|
3483
3483
|
});
|
|
3484
3484
|
continue;
|
|
@@ -3486,21 +3486,21 @@ function zt(e, t, n, r, i, o, l) {
|
|
|
3486
3486
|
if (mi(f)) {
|
|
3487
3487
|
var A = typeof f.style == "string" ? r.number[f.style] : Ei(f.style) ? f.style.parsedOptions : void 0;
|
|
3488
3488
|
A && A.scale && (y = y * (A.scale || 1)), a.push({
|
|
3489
|
-
type:
|
|
3489
|
+
type: be.literal,
|
|
3490
3490
|
value: n.getNumberFormat(t, A).format(y)
|
|
3491
3491
|
});
|
|
3492
3492
|
continue;
|
|
3493
3493
|
}
|
|
3494
|
-
if (
|
|
3494
|
+
if (_i(f)) {
|
|
3495
3495
|
var x = f.children, g = f.value, N = i[g];
|
|
3496
|
-
if (!
|
|
3496
|
+
if (!Bs(N))
|
|
3497
3497
|
throw new Is(g, "function", l);
|
|
3498
3498
|
var k = zt(x, t, n, r, i, o), X = N(k.map(function(I) {
|
|
3499
3499
|
return I.value;
|
|
3500
3500
|
}));
|
|
3501
3501
|
Array.isArray(X) || (X = [X]), a.push.apply(a, X.map(function(I) {
|
|
3502
3502
|
return {
|
|
3503
|
-
type: typeof I == "string" ?
|
|
3503
|
+
type: typeof I == "string" ? be.literal : be.object,
|
|
3504
3504
|
value: I
|
|
3505
3505
|
};
|
|
3506
3506
|
}));
|
|
@@ -3512,7 +3512,7 @@ function zt(e, t, n, r, i, o, l) {
|
|
|
3512
3512
|
a.push.apply(a, zt(R.value, t, n, r, i));
|
|
3513
3513
|
continue;
|
|
3514
3514
|
}
|
|
3515
|
-
if (
|
|
3515
|
+
if (bi(f)) {
|
|
3516
3516
|
var R = f.options["=".concat(y)];
|
|
3517
3517
|
if (!R) {
|
|
3518
3518
|
if (!Intl.PluralRules)
|
|
@@ -3530,17 +3530,17 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3530
3530
|
}
|
|
3531
3531
|
return Rs(a);
|
|
3532
3532
|
}
|
|
3533
|
-
function
|
|
3533
|
+
function Ds(e, t) {
|
|
3534
3534
|
return t ? Ne(Ne(Ne({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3535
3535
|
return n[r] = Ne(Ne({}, e[r]), t[r] || {}), n;
|
|
3536
3536
|
}, {})) : e;
|
|
3537
3537
|
}
|
|
3538
3538
|
function $s(e, t) {
|
|
3539
3539
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3540
|
-
return n[r] =
|
|
3540
|
+
return n[r] = Ds(e[r], t[r]), n;
|
|
3541
3541
|
}, Ne({}, e)) : e;
|
|
3542
3542
|
}
|
|
3543
|
-
function
|
|
3543
|
+
function bn(e) {
|
|
3544
3544
|
return {
|
|
3545
3545
|
create: function() {
|
|
3546
3546
|
return {
|
|
@@ -3560,29 +3560,29 @@ function Us(e) {
|
|
|
3560
3560
|
dateTime: {},
|
|
3561
3561
|
pluralRules: {}
|
|
3562
3562
|
}), {
|
|
3563
|
-
getNumberFormat:
|
|
3563
|
+
getNumberFormat: dn(function() {
|
|
3564
3564
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3565
3565
|
n[r] = arguments[r];
|
|
3566
3566
|
return new ((t = Intl.NumberFormat).bind.apply(t, mn([void 0], n, !1)))();
|
|
3567
3567
|
}, {
|
|
3568
|
-
cache:
|
|
3569
|
-
strategy:
|
|
3568
|
+
cache: bn(e.number),
|
|
3569
|
+
strategy: pn.variadic
|
|
3570
3570
|
}),
|
|
3571
|
-
getDateTimeFormat:
|
|
3571
|
+
getDateTimeFormat: dn(function() {
|
|
3572
3572
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3573
3573
|
n[r] = arguments[r];
|
|
3574
3574
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, mn([void 0], n, !1)))();
|
|
3575
3575
|
}, {
|
|
3576
|
-
cache:
|
|
3577
|
-
strategy:
|
|
3576
|
+
cache: bn(e.dateTime),
|
|
3577
|
+
strategy: pn.variadic
|
|
3578
3578
|
}),
|
|
3579
|
-
getPluralRules:
|
|
3579
|
+
getPluralRules: dn(function() {
|
|
3580
3580
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3581
3581
|
n[r] = arguments[r];
|
|
3582
3582
|
return new ((t = Intl.PluralRules).bind.apply(t, mn([void 0], n, !1)))();
|
|
3583
3583
|
}, {
|
|
3584
|
-
cache:
|
|
3585
|
-
strategy:
|
|
3584
|
+
cache: bn(e.pluralRules),
|
|
3585
|
+
strategy: pn.variadic
|
|
3586
3586
|
})
|
|
3587
3587
|
};
|
|
3588
3588
|
}
|
|
@@ -3601,7 +3601,7 @@ var Ci = (
|
|
|
3601
3601
|
if (u.length === 1)
|
|
3602
3602
|
return u[0].value;
|
|
3603
3603
|
var f = u.reduce(function(m, y) {
|
|
3604
|
-
return !m.length || y.type !==
|
|
3604
|
+
return !m.length || y.type !== be.literal || typeof m[m.length - 1] != "string" ? m.push(y.value) : m[m.length - 1] += y.value, m;
|
|
3605
3605
|
}, []);
|
|
3606
3606
|
return f.length <= 1 ? f[0] || "" : f;
|
|
3607
3607
|
}, this.formatToParts = function(c) {
|
|
@@ -3878,7 +3878,7 @@ function ea(e) {
|
|
|
3878
3878
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3879
3879
|
)), Object.assign(Et, r, { initialLocale: i }), n && ("number" in n && Object.assign(Et.formats.number, n.number), "date" in n && Object.assign(Et.formats.date, n.date), "time" in n && Object.assign(Et.formats.time, n.time)), ze.set(i);
|
|
3880
3880
|
}
|
|
3881
|
-
const
|
|
3881
|
+
const _n = wt(!1);
|
|
3882
3882
|
var ta = Object.defineProperty, na = Object.defineProperties, ra = Object.getOwnPropertyDescriptors, Or = Object.getOwnPropertySymbols, ia = Object.prototype.hasOwnProperty, oa = Object.prototype.propertyIsEnumerable, Mr = (e, t, n) => t in e ? ta(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, sa = (e, t) => {
|
|
3883
3883
|
for (var n in t || (t = {}))
|
|
3884
3884
|
ia.call(t, n) && Mr(e, n, t[n]);
|
|
@@ -3907,12 +3907,12 @@ const la = (e) => {
|
|
|
3907
3907
|
const { loadingDelay: t } = st();
|
|
3908
3908
|
let n;
|
|
3909
3909
|
return typeof window != "undefined" && Ge() != null && t ? n = window.setTimeout(
|
|
3910
|
-
() =>
|
|
3910
|
+
() => _n.set(!0),
|
|
3911
3911
|
t
|
|
3912
|
-
) :
|
|
3912
|
+
) : _n.set(!0), Ni(e).then(() => {
|
|
3913
3913
|
Qt.set(e);
|
|
3914
3914
|
}).finally(() => {
|
|
3915
|
-
clearTimeout(n),
|
|
3915
|
+
clearTimeout(n), _n.set(!1);
|
|
3916
3916
|
});
|
|
3917
3917
|
}
|
|
3918
3918
|
return Qt.set(e);
|
|
@@ -3976,14 +3976,14 @@ const St = (e, t) => {
|
|
|
3976
3976
|
"locale"
|
|
3977
3977
|
]);
|
|
3978
3978
|
return ca(Un({ locale: n }, r));
|
|
3979
|
-
},
|
|
3979
|
+
}, da = (e = {}) => {
|
|
3980
3980
|
var t = e, {
|
|
3981
3981
|
locale: n = Ge()
|
|
3982
3982
|
} = t, r = lt(t, [
|
|
3983
3983
|
"locale"
|
|
3984
3984
|
]);
|
|
3985
3985
|
return fa(Un({ locale: n }, r));
|
|
3986
|
-
},
|
|
3986
|
+
}, pa = (e = {}) => {
|
|
3987
3987
|
var t = e, {
|
|
3988
3988
|
locale: n = Ge()
|
|
3989
3989
|
} = t, r = lt(t, [
|
|
@@ -3995,7 +3995,7 @@ const St = (e, t) => {
|
|
|
3995
3995
|
(e, t = Ge()) => new Ci(e, t, st().formats, {
|
|
3996
3996
|
ignoreTag: st().ignoreTag
|
|
3997
3997
|
})
|
|
3998
|
-
),
|
|
3998
|
+
), ba = (e, t = {}) => {
|
|
3999
3999
|
var n, r, i, o;
|
|
4000
4000
|
let l = t;
|
|
4001
4001
|
typeof e == "object" && (l = e, e = l.id);
|
|
@@ -4027,8 +4027,8 @@ const St = (e, t) => {
|
|
|
4027
4027
|
);
|
|
4028
4028
|
}
|
|
4029
4029
|
return m;
|
|
4030
|
-
},
|
|
4031
|
-
at([ze], () =>
|
|
4030
|
+
}, _a = (e, t) => pa(t).format(e), Ea = (e, t) => da(t).format(e), ya = (e, t) => ma(t).format(e), xa = (e, t = Ge()) => Oi(e, t), va = at([ze, At], () => ba);
|
|
4031
|
+
at([ze], () => _a);
|
|
4032
4032
|
at([ze], () => Ea);
|
|
4033
4033
|
at([ze], () => ya);
|
|
4034
4034
|
at([ze, At], () => xa);
|
|
@@ -4059,11 +4059,35 @@ const Ir = {
|
|
|
4059
4059
|
},
|
|
4060
4060
|
fr: {
|
|
4061
4061
|
sessionExpirationHeader: "Avertissement de session",
|
|
4062
|
-
sessionExpirationTitle: "Votre session est sur le point d
|
|
4062
|
+
sessionExpirationTitle: "Votre session est sur le point d'expirer !",
|
|
4063
4063
|
sessionExpirationGeneralText: "Votre session se terminera automatiquement dans <b>{second} secondes</b>.",
|
|
4064
4064
|
sessionExpirationGeneralButton: "Continuer la session",
|
|
4065
4065
|
sessionExpirationLoadingButton: "Traitement en cours...",
|
|
4066
4066
|
sessionExpirationEnd: "Terminer la session"
|
|
4067
|
+
},
|
|
4068
|
+
da: {
|
|
4069
|
+
sessionExpirationHeader: "Sessionsadvarsel",
|
|
4070
|
+
sessionExpirationTitle: "Din session er ved at udløbe!",
|
|
4071
|
+
sessionExpirationGeneralText: "Din session afsluttes automatisk om <b>{second} sekunder</b>.",
|
|
4072
|
+
sessionExpirationGeneralButton: "Fortsæt session",
|
|
4073
|
+
sessionExpirationLoadingButton: "Behandler...",
|
|
4074
|
+
sessionExpirationEnd: "Afslut session"
|
|
4075
|
+
},
|
|
4076
|
+
de: {
|
|
4077
|
+
sessionExpirationHeader: "Sitzungswarnung",
|
|
4078
|
+
sessionExpirationTitle: "Ihre Sitzung läuft bald ab!",
|
|
4079
|
+
sessionExpirationGeneralText: "Ihre Sitzung wird automatisch in <b>{second} Sekunden</b> beendet.",
|
|
4080
|
+
sessionExpirationGeneralButton: "Sitzung fortsetzen",
|
|
4081
|
+
sessionExpirationLoadingButton: "Verarbeitung...",
|
|
4082
|
+
sessionExpirationEnd: "Sitzung beenden"
|
|
4083
|
+
},
|
|
4084
|
+
nl: {
|
|
4085
|
+
sessionExpirationHeader: "Sessiewaarschuwing",
|
|
4086
|
+
sessionExpirationTitle: "Uw sessie staat op het punt te verlopen!",
|
|
4087
|
+
sessionExpirationGeneralText: "Uw sessie wordt automatisch beëindigd over <b>{second} seconden</b>.",
|
|
4088
|
+
sessionExpirationGeneralButton: "Sessie voortzetten",
|
|
4089
|
+
sessionExpirationLoadingButton: "Verwerken...",
|
|
4090
|
+
sessionExpirationEnd: "Sessie beëindigen"
|
|
4067
4091
|
}
|
|
4068
4092
|
};
|
|
4069
4093
|
/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
|
|
@@ -4075,14 +4099,14 @@ const {
|
|
|
4075
4099
|
getOwnPropertyDescriptor: Aa
|
|
4076
4100
|
} = Object;
|
|
4077
4101
|
let {
|
|
4078
|
-
freeze:
|
|
4102
|
+
freeze: _e,
|
|
4079
4103
|
seal: Te,
|
|
4080
|
-
create:
|
|
4104
|
+
create: Bi
|
|
4081
4105
|
} = Object, {
|
|
4082
4106
|
apply: In,
|
|
4083
4107
|
construct: Pn
|
|
4084
4108
|
} = typeof Reflect != "undefined" && Reflect;
|
|
4085
|
-
|
|
4109
|
+
_e || (_e = function(t) {
|
|
4086
4110
|
return t;
|
|
4087
4111
|
});
|
|
4088
4112
|
Te || (Te = function(t) {
|
|
@@ -4094,7 +4118,7 @@ In || (In = function(t, n, r) {
|
|
|
4094
4118
|
Pn || (Pn = function(t, n) {
|
|
4095
4119
|
return new t(...n);
|
|
4096
4120
|
});
|
|
4097
|
-
const
|
|
4121
|
+
const Bt = xe(Array.prototype.forEach), Rr = xe(Array.prototype.pop), dt = xe(Array.prototype.push), Vt = xe(String.prototype.toLowerCase), En = xe(String.prototype.toString), Br = xe(String.prototype.match), pt = xe(String.prototype.replace), Ca = xe(String.prototype.indexOf), Oa = xe(String.prototype.trim), we = xe(Object.prototype.hasOwnProperty), pe = xe(RegExp.prototype.test), gt = Ma(TypeError);
|
|
4098
4122
|
function xe(e) {
|
|
4099
4123
|
return function(t) {
|
|
4100
4124
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
@@ -4129,12 +4153,12 @@ function La(e) {
|
|
|
4129
4153
|
return e;
|
|
4130
4154
|
}
|
|
4131
4155
|
function Fe(e) {
|
|
4132
|
-
const t =
|
|
4156
|
+
const t = Bi(null);
|
|
4133
4157
|
for (const [n, r] of Ri(e))
|
|
4134
4158
|
we(e, n) && (Array.isArray(r) ? t[n] = La(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = Fe(r) : t[n] = r);
|
|
4135
4159
|
return t;
|
|
4136
4160
|
}
|
|
4137
|
-
function
|
|
4161
|
+
function bt(e, t) {
|
|
4138
4162
|
for (; e !== null; ) {
|
|
4139
4163
|
const r = Aa(e, t);
|
|
4140
4164
|
if (r) {
|
|
@@ -4150,7 +4174,7 @@ function _t(e, t) {
|
|
|
4150
4174
|
}
|
|
4151
4175
|
return n;
|
|
4152
4176
|
}
|
|
4153
|
-
const
|
|
4177
|
+
const Dr = _e(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), yn = _e(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), xn = _e(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Ha = _e(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), vn = _e(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Na = _e(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), $r = _e(["#text"]), Ur = _e(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Tn = _e(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), kr = _e(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Dt = _e(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ia = Te(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Pa = Te(/<%[\w\W]*|[\w\W]*%>/gm), Ra = Te(/\${[\w\W]*}/gm), Ba = Te(/^data-[\-\w.\u00B7-\uFFFF]/), Da = Te(/^aria-[\-\w]+$/), Di = Te(
|
|
4154
4178
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
4155
4179
|
// eslint-disable-line no-useless-escape
|
|
4156
4180
|
), $a = Te(/^(?:\w+script|data):/i), Ua = Te(
|
|
@@ -4162,15 +4186,15 @@ var Gr = /* @__PURE__ */ Object.freeze({
|
|
|
4162
4186
|
MUSTACHE_EXPR: Ia,
|
|
4163
4187
|
ERB_EXPR: Pa,
|
|
4164
4188
|
TMPLIT_EXPR: Ra,
|
|
4165
|
-
DATA_ATTR:
|
|
4166
|
-
ARIA_ATTR:
|
|
4167
|
-
IS_ALLOWED_URI:
|
|
4189
|
+
DATA_ATTR: Ba,
|
|
4190
|
+
ARIA_ATTR: Da,
|
|
4191
|
+
IS_ALLOWED_URI: Di,
|
|
4168
4192
|
IS_SCRIPT_OR_DATA: $a,
|
|
4169
4193
|
ATTR_WHITESPACE: Ua,
|
|
4170
4194
|
DOCTYPE_NAME: $i,
|
|
4171
4195
|
CUSTOM_ELEMENT: ka
|
|
4172
4196
|
});
|
|
4173
|
-
const
|
|
4197
|
+
const _t = {
|
|
4174
4198
|
element: 1,
|
|
4175
4199
|
text: 3,
|
|
4176
4200
|
// Deprecated
|
|
@@ -4202,7 +4226,7 @@ const bt = {
|
|
|
4202
4226
|
function Ui() {
|
|
4203
4227
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ga();
|
|
4204
4228
|
const t = (S) => Ui(S);
|
|
4205
|
-
if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !==
|
|
4229
|
+
if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !== _t.document)
|
|
4206
4230
|
return t.isSupported = !1, t;
|
|
4207
4231
|
let {
|
|
4208
4232
|
document: n
|
|
@@ -4217,7 +4241,7 @@ function Ui() {
|
|
|
4217
4241
|
HTMLFormElement: m,
|
|
4218
4242
|
DOMParser: y,
|
|
4219
4243
|
trustedTypes: A
|
|
4220
|
-
} = e, x = c.prototype, g =
|
|
4244
|
+
} = e, x = c.prototype, g = bt(x, "cloneNode"), N = bt(x, "remove"), k = bt(x, "nextSibling"), X = bt(x, "childNodes"), R = bt(x, "parentNode");
|
|
4221
4245
|
if (typeof l == "function") {
|
|
4222
4246
|
const S = n.createElement("template");
|
|
4223
4247
|
S.content && S.content.ownerDocument && (n = S.content.ownerDocument);
|
|
@@ -4237,19 +4261,19 @@ function Ui() {
|
|
|
4237
4261
|
MUSTACHE_EXPR: he,
|
|
4238
4262
|
ERB_EXPR: ue,
|
|
4239
4263
|
TMPLIT_EXPR: O,
|
|
4240
|
-
DATA_ATTR:
|
|
4264
|
+
DATA_ATTR: b,
|
|
4241
4265
|
ARIA_ATTR: h,
|
|
4242
4266
|
IS_SCRIPT_OR_DATA: E,
|
|
4243
|
-
ATTR_WHITESPACE:
|
|
4267
|
+
ATTR_WHITESPACE: p,
|
|
4244
4268
|
CUSTOM_ELEMENT: M
|
|
4245
4269
|
} = Gr;
|
|
4246
4270
|
let {
|
|
4247
4271
|
IS_ALLOWED_URI: C
|
|
4248
4272
|
} = Gr, v = null;
|
|
4249
|
-
const W = U({}, [...
|
|
4273
|
+
const W = U({}, [...Dr, ...yn, ...xn, ...vn, ...$r]);
|
|
4250
4274
|
let P = null;
|
|
4251
|
-
const q = U({}, [...Ur, ...Tn, ...kr, ...
|
|
4252
|
-
let
|
|
4275
|
+
const q = U({}, [...Ur, ...Tn, ...kr, ...Dt]);
|
|
4276
|
+
let B = Object.seal(Bi(null, {
|
|
4253
4277
|
tagNameCheck: {
|
|
4254
4278
|
writable: !0,
|
|
4255
4279
|
configurable: !1,
|
|
@@ -4268,7 +4292,7 @@ function Ui() {
|
|
|
4268
4292
|
enumerable: !0,
|
|
4269
4293
|
value: !1
|
|
4270
4294
|
}
|
|
4271
|
-
})), Y = null,
|
|
4295
|
+
})), Y = null, _ = null, D = !0, ee = !0, F = !1, te = !0, me = !1, ae = !0, Ce = !1, J = !1, re = !1, Oe = !1, Ot = !1, Mt = !1, kn = !0, Gn = !1;
|
|
4272
4296
|
const Fi = "user-content-";
|
|
4273
4297
|
let on = !0, ut = !1, We = {}, Ve = null;
|
|
4274
4298
|
const Fn = U({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
@@ -4301,7 +4325,7 @@ function Ui() {
|
|
|
4301
4325
|
// eslint-disable-line indent
|
|
4302
4326
|
se
|
|
4303
4327
|
// eslint-disable-line indent
|
|
4304
|
-
) : zn, Ve = we(s, "FORBID_CONTENTS") ? U({}, s.FORBID_CONTENTS, se) : Fn, Y = we(s, "FORBID_TAGS") ? U({}, s.FORBID_TAGS, se) : {},
|
|
4328
|
+
) : zn, Ve = we(s, "FORBID_CONTENTS") ? U({}, s.FORBID_CONTENTS, se) : Fn, Y = we(s, "FORBID_TAGS") ? U({}, s.FORBID_TAGS, se) : {}, _ = we(s, "FORBID_ATTR") ? U({}, s.FORBID_ATTR, se) : {}, We = we(s, "USE_PROFILES") ? s.USE_PROFILES : !1, D = s.ALLOW_ARIA_ATTR !== !1, ee = s.ALLOW_DATA_ATTR !== !1, F = s.ALLOW_UNKNOWN_PROTOCOLS || !1, te = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, me = s.SAFE_FOR_TEMPLATES || !1, ae = s.SAFE_FOR_XML !== !1, Ce = s.WHOLE_DOCUMENT || !1, Oe = s.RETURN_DOM || !1, Ot = s.RETURN_DOM_FRAGMENT || !1, Mt = s.RETURN_TRUSTED_TYPE || !1, re = s.FORCE_BODY || !1, kn = s.SANITIZE_DOM !== !1, Gn = s.SANITIZE_NAMED_PROPS || !1, on = s.KEEP_CONTENT !== !1, ut = s.IN_PLACE || !1, C = s.ALLOWED_URI_REGEXP || Di, Xe = s.NAMESPACE || Ie, B = s.CUSTOM_ELEMENT_HANDLING || {}, s.CUSTOM_ELEMENT_HANDLING && Vn(s.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (B.tagNameCheck = s.CUSTOM_ELEMENT_HANDLING.tagNameCheck), s.CUSTOM_ELEMENT_HANDLING && Vn(s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (B.attributeNameCheck = s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), s.CUSTOM_ELEMENT_HANDLING && typeof s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (B.allowCustomizedBuiltInElements = s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), me && (ee = !1), Ot && (Oe = !0), We && (v = U({}, $r), P = [], We.html === !0 && (U(v, Dr), U(P, Ur)), We.svg === !0 && (U(v, yn), U(P, Tn), U(P, Dt)), We.svgFilters === !0 && (U(v, xn), U(P, Tn), U(P, Dt)), We.mathMl === !0 && (U(v, vn), U(P, kr), U(P, Dt))), s.ADD_TAGS && (v === W && (v = Fe(v)), U(v, s.ADD_TAGS, se)), s.ADD_ATTR && (P === q && (P = Fe(P)), U(P, s.ADD_ATTR, se)), s.ADD_URI_SAFE_ATTR && U(sn, s.ADD_URI_SAFE_ATTR, se), s.FORBID_CONTENTS && (Ve === Fn && (Ve = Fe(Ve)), U(Ve, s.FORBID_CONTENTS, se)), on && (v["#text"] = !0), Ce && U(v, ["html", "head", "body"]), v.table && (U(v, ["tbody"]), delete Y.tbody), s.TRUSTED_TYPES_POLICY) {
|
|
4305
4329
|
if (typeof s.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
4306
4330
|
throw gt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
4307
4331
|
if (typeof s.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -4309,72 +4333,72 @@ function Ui() {
|
|
|
4309
4333
|
H = s.TRUSTED_TYPES_POLICY, I = H.createHTML("");
|
|
4310
4334
|
} else
|
|
4311
4335
|
H === void 0 && (H = Fa(A, i)), H !== null && typeof I == "string" && (I = H.createHTML(""));
|
|
4312
|
-
|
|
4336
|
+
_e && _e(s), Ye = s;
|
|
4313
4337
|
}
|
|
4314
4338
|
}, Xn = U({}, ["mi", "mo", "mn", "ms", "mtext"]), Yn = U({}, ["foreignobject", "annotation-xml"]), Xi = U({}, ["title", "style", "font", "a", "script"]), Zn = U({}, [...yn, ...xn, ...Ha]), qn = U({}, [...vn, ...Na]), Yi = function(s) {
|
|
4315
|
-
let
|
|
4316
|
-
(!
|
|
4339
|
+
let d = R(s);
|
|
4340
|
+
(!d || !d.tagName) && (d = {
|
|
4317
4341
|
namespaceURI: Xe,
|
|
4318
4342
|
tagName: "template"
|
|
4319
4343
|
});
|
|
4320
|
-
const T = Vt(s.tagName), Z = Vt(
|
|
4321
|
-
return ln[s.namespaceURI] ? s.namespaceURI === Ht ?
|
|
4344
|
+
const T = Vt(s.tagName), Z = Vt(d.tagName);
|
|
4345
|
+
return ln[s.namespaceURI] ? s.namespaceURI === Ht ? d.namespaceURI === Ie ? T === "svg" : d.namespaceURI === Lt ? T === "svg" && (Z === "annotation-xml" || Xn[Z]) : !!Zn[T] : s.namespaceURI === Lt ? d.namespaceURI === Ie ? T === "math" : d.namespaceURI === Ht ? T === "math" && Yn[Z] : !!qn[T] : s.namespaceURI === Ie ? d.namespaceURI === Ht && !Yn[Z] || d.namespaceURI === Lt && !Xn[Z] ? !1 : !qn[T] && (Xi[T] || !Zn[T]) : !!(ct === "application/xhtml+xml" && ln[s.namespaceURI]) : !1;
|
|
4322
4346
|
}, Me = function(s) {
|
|
4323
|
-
|
|
4347
|
+
dt(t.removed, {
|
|
4324
4348
|
element: s
|
|
4325
4349
|
});
|
|
4326
4350
|
try {
|
|
4327
4351
|
R(s).removeChild(s);
|
|
4328
|
-
} catch (
|
|
4352
|
+
} catch (d) {
|
|
4329
4353
|
N(s);
|
|
4330
4354
|
}
|
|
4331
|
-
}, Nt = function(s,
|
|
4355
|
+
}, Nt = function(s, d) {
|
|
4332
4356
|
try {
|
|
4333
|
-
|
|
4334
|
-
attribute:
|
|
4335
|
-
from:
|
|
4357
|
+
dt(t.removed, {
|
|
4358
|
+
attribute: d.getAttributeNode(s),
|
|
4359
|
+
from: d
|
|
4336
4360
|
});
|
|
4337
4361
|
} catch (T) {
|
|
4338
|
-
|
|
4362
|
+
dt(t.removed, {
|
|
4339
4363
|
attribute: null,
|
|
4340
|
-
from:
|
|
4364
|
+
from: d
|
|
4341
4365
|
});
|
|
4342
4366
|
}
|
|
4343
|
-
if (
|
|
4367
|
+
if (d.removeAttribute(s), s === "is" && !P[s])
|
|
4344
4368
|
if (Oe || Ot)
|
|
4345
4369
|
try {
|
|
4346
|
-
Me(
|
|
4370
|
+
Me(d);
|
|
4347
4371
|
} catch (T) {
|
|
4348
4372
|
}
|
|
4349
4373
|
else
|
|
4350
4374
|
try {
|
|
4351
|
-
|
|
4375
|
+
d.setAttribute(s, "");
|
|
4352
4376
|
} catch (T) {
|
|
4353
4377
|
}
|
|
4354
4378
|
}, Jn = function(s) {
|
|
4355
|
-
let
|
|
4379
|
+
let d = null, T = null;
|
|
4356
4380
|
if (re)
|
|
4357
4381
|
s = "<remove></remove>" + s;
|
|
4358
4382
|
else {
|
|
4359
|
-
const le =
|
|
4383
|
+
const le = Br(s, /^[\r\n\t ]+/);
|
|
4360
4384
|
T = le && le[0];
|
|
4361
4385
|
}
|
|
4362
4386
|
ct === "application/xhtml+xml" && Xe === Ie && (s = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + s + "</body></html>");
|
|
4363
4387
|
const Z = H ? H.createHTML(s) : s;
|
|
4364
4388
|
if (Xe === Ie)
|
|
4365
4389
|
try {
|
|
4366
|
-
|
|
4390
|
+
d = new y().parseFromString(Z, ct);
|
|
4367
4391
|
} catch (le) {
|
|
4368
4392
|
}
|
|
4369
|
-
if (!
|
|
4370
|
-
|
|
4393
|
+
if (!d || !d.documentElement) {
|
|
4394
|
+
d = V.createDocument(Xe, "template", null);
|
|
4371
4395
|
try {
|
|
4372
|
-
|
|
4396
|
+
d.documentElement.innerHTML = an ? I : Z;
|
|
4373
4397
|
} catch (le) {
|
|
4374
4398
|
}
|
|
4375
4399
|
}
|
|
4376
|
-
const ce =
|
|
4377
|
-
return s && T && ce.insertBefore(n.createTextNode(T), ce.childNodes[0] || null), Xe === Ie ? K.call(
|
|
4400
|
+
const ce = d.body || d.documentElement;
|
|
4401
|
+
return s && T && ce.insertBefore(n.createTextNode(T), ce.childNodes[0] || null), Xe === Ie ? K.call(d, Ce ? "html" : "body")[0] : Ce ? d.documentElement : ce;
|
|
4378
4402
|
}, Qn = function(s) {
|
|
4379
4403
|
return oe.call(
|
|
4380
4404
|
s.ownerDocument || s,
|
|
@@ -4387,22 +4411,22 @@ function Ui() {
|
|
|
4387
4411
|
return s instanceof m && (typeof s.nodeName != "string" || typeof s.textContent != "string" || typeof s.removeChild != "function" || !(s.attributes instanceof f) || typeof s.removeAttribute != "function" || typeof s.setAttribute != "function" || typeof s.namespaceURI != "string" || typeof s.insertBefore != "function" || typeof s.hasChildNodes != "function");
|
|
4388
4412
|
}, er = function(s) {
|
|
4389
4413
|
return typeof a == "function" && s instanceof a;
|
|
4390
|
-
}, Pe = function(s,
|
|
4391
|
-
L[s] &&
|
|
4392
|
-
Z.call(t,
|
|
4414
|
+
}, Pe = function(s, d, T) {
|
|
4415
|
+
L[s] && Bt(L[s], (Z) => {
|
|
4416
|
+
Z.call(t, d, T, Ye);
|
|
4393
4417
|
});
|
|
4394
4418
|
}, tr = function(s) {
|
|
4395
|
-
let
|
|
4419
|
+
let d = null;
|
|
4396
4420
|
if (Pe("beforeSanitizeElements", s, null), Kn(s))
|
|
4397
4421
|
return Me(s), !0;
|
|
4398
4422
|
const T = se(s.nodeName);
|
|
4399
4423
|
if (Pe("uponSanitizeElement", s, {
|
|
4400
4424
|
tagName: T,
|
|
4401
4425
|
allowedTags: v
|
|
4402
|
-
}), s.hasChildNodes() && !er(s.firstElementChild) &&
|
|
4426
|
+
}), s.hasChildNodes() && !er(s.firstElementChild) && pe(/<[/\w]/g, s.innerHTML) && pe(/<[/\w]/g, s.textContent) || s.nodeType === _t.progressingInstruction || ae && s.nodeType === _t.comment && pe(/<[/\w]/g, s.data))
|
|
4403
4427
|
return Me(s), !0;
|
|
4404
4428
|
if (!v[T] || Y[T]) {
|
|
4405
|
-
if (!Y[T] && rr(T) && (
|
|
4429
|
+
if (!Y[T] && rr(T) && (B.tagNameCheck instanceof RegExp && pe(B.tagNameCheck, T) || B.tagNameCheck instanceof Function && B.tagNameCheck(T)))
|
|
4406
4430
|
return !1;
|
|
4407
4431
|
if (on && !Ve[T]) {
|
|
4408
4432
|
const Z = R(s) || s.parentNode, ce = X(s) || s.childNodes;
|
|
@@ -4416,30 +4440,30 @@ function Ui() {
|
|
|
4416
4440
|
}
|
|
4417
4441
|
return Me(s), !0;
|
|
4418
4442
|
}
|
|
4419
|
-
return s instanceof c && !Yi(s) || (T === "noscript" || T === "noembed" || T === "noframes") &&
|
|
4420
|
-
|
|
4421
|
-
}), s.textContent !==
|
|
4443
|
+
return s instanceof c && !Yi(s) || (T === "noscript" || T === "noembed" || T === "noframes") && pe(/<\/no(script|embed|frames)/i, s.innerHTML) ? (Me(s), !0) : (me && s.nodeType === _t.text && (d = s.textContent, Bt([he, ue, O], (Z) => {
|
|
4444
|
+
d = pt(d, Z, " ");
|
|
4445
|
+
}), s.textContent !== d && (dt(t.removed, {
|
|
4422
4446
|
element: s.cloneNode()
|
|
4423
|
-
}), s.textContent =
|
|
4424
|
-
}, nr = function(s,
|
|
4425
|
-
if (kn && (
|
|
4447
|
+
}), s.textContent = d)), Pe("afterSanitizeElements", s, null), !1);
|
|
4448
|
+
}, nr = function(s, d, T) {
|
|
4449
|
+
if (kn && (d === "id" || d === "name") && (T in n || T in Vi))
|
|
4426
4450
|
return !1;
|
|
4427
|
-
if (!(ee && !
|
|
4428
|
-
if (!(
|
|
4429
|
-
if (!P[
|
|
4451
|
+
if (!(ee && !_[d] && pe(b, d))) {
|
|
4452
|
+
if (!(D && pe(h, d))) {
|
|
4453
|
+
if (!P[d] || _[d]) {
|
|
4430
4454
|
if (
|
|
4431
4455
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
4432
4456
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4433
4457
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
4434
|
-
!(rr(s) && (
|
|
4458
|
+
!(rr(s) && (B.tagNameCheck instanceof RegExp && pe(B.tagNameCheck, s) || B.tagNameCheck instanceof Function && B.tagNameCheck(s)) && (B.attributeNameCheck instanceof RegExp && pe(B.attributeNameCheck, d) || B.attributeNameCheck instanceof Function && B.attributeNameCheck(d)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
4435
4459
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4436
|
-
|
|
4460
|
+
d === "is" && B.allowCustomizedBuiltInElements && (B.tagNameCheck instanceof RegExp && pe(B.tagNameCheck, T) || B.tagNameCheck instanceof Function && B.tagNameCheck(T)))
|
|
4437
4461
|
)
|
|
4438
4462
|
return !1;
|
|
4439
|
-
} else if (!sn[
|
|
4440
|
-
if (!
|
|
4441
|
-
if (!((
|
|
4442
|
-
if (!(F && !
|
|
4463
|
+
} else if (!sn[d]) {
|
|
4464
|
+
if (!pe(C, pt(T, p, ""))) {
|
|
4465
|
+
if (!((d === "src" || d === "xlink:href" || d === "href") && s !== "script" && Ca(T, "data:") === 0 && jn[s])) {
|
|
4466
|
+
if (!(F && !pe(E, pt(T, p, "")))) {
|
|
4443
4467
|
if (T)
|
|
4444
4468
|
return !1;
|
|
4445
4469
|
}
|
|
@@ -4450,13 +4474,13 @@ function Ui() {
|
|
|
4450
4474
|
}
|
|
4451
4475
|
return !0;
|
|
4452
4476
|
}, rr = function(s) {
|
|
4453
|
-
return s !== "annotation-xml" &&
|
|
4477
|
+
return s !== "annotation-xml" && Br(s, M);
|
|
4454
4478
|
}, ir = function(s) {
|
|
4455
4479
|
Pe("beforeSanitizeAttributes", s, null);
|
|
4456
4480
|
const {
|
|
4457
|
-
attributes:
|
|
4481
|
+
attributes: d
|
|
4458
4482
|
} = s;
|
|
4459
|
-
if (!
|
|
4483
|
+
if (!d)
|
|
4460
4484
|
return;
|
|
4461
4485
|
const T = {
|
|
4462
4486
|
attrName: "",
|
|
@@ -4464,56 +4488,56 @@ function Ui() {
|
|
|
4464
4488
|
keepAttr: !0,
|
|
4465
4489
|
allowedAttributes: P
|
|
4466
4490
|
};
|
|
4467
|
-
let Z =
|
|
4491
|
+
let Z = d.length;
|
|
4468
4492
|
for (; Z--; ) {
|
|
4469
|
-
const ce =
|
|
4493
|
+
const ce = d[Z], {
|
|
4470
4494
|
name: le,
|
|
4471
4495
|
namespaceURI: Ee,
|
|
4472
4496
|
value: Le
|
|
4473
4497
|
} = ce, ft = se(le);
|
|
4474
|
-
let
|
|
4475
|
-
if (T.attrName = ft, T.attrValue =
|
|
4498
|
+
let de = le === "value" ? Le : Oa(Le);
|
|
4499
|
+
if (T.attrName = ft, T.attrValue = de, T.keepAttr = !0, T.forceKeepAttr = void 0, Pe("uponSanitizeAttribute", s, T), de = T.attrValue, ae && pe(/((--!?|])>)|<\/(style|title)/i, de)) {
|
|
4476
4500
|
Nt(le, s);
|
|
4477
4501
|
continue;
|
|
4478
4502
|
}
|
|
4479
4503
|
if (T.forceKeepAttr || (Nt(le, s), !T.keepAttr))
|
|
4480
4504
|
continue;
|
|
4481
|
-
if (!te &&
|
|
4505
|
+
if (!te && pe(/\/>/i, de)) {
|
|
4482
4506
|
Nt(le, s);
|
|
4483
4507
|
continue;
|
|
4484
4508
|
}
|
|
4485
|
-
me &&
|
|
4486
|
-
|
|
4509
|
+
me && Bt([he, ue, O], (sr) => {
|
|
4510
|
+
de = pt(de, sr, " ");
|
|
4487
4511
|
});
|
|
4488
4512
|
const or = se(s.nodeName);
|
|
4489
|
-
if (nr(or, ft,
|
|
4490
|
-
if (Gn && (ft === "id" || ft === "name") && (Nt(le, s),
|
|
4513
|
+
if (nr(or, ft, de)) {
|
|
4514
|
+
if (Gn && (ft === "id" || ft === "name") && (Nt(le, s), de = Fi + de), H && typeof A == "object" && typeof A.getAttributeType == "function" && !Ee)
|
|
4491
4515
|
switch (A.getAttributeType(or, ft)) {
|
|
4492
4516
|
case "TrustedHTML": {
|
|
4493
|
-
|
|
4517
|
+
de = H.createHTML(de);
|
|
4494
4518
|
break;
|
|
4495
4519
|
}
|
|
4496
4520
|
case "TrustedScriptURL": {
|
|
4497
|
-
|
|
4521
|
+
de = H.createScriptURL(de);
|
|
4498
4522
|
break;
|
|
4499
4523
|
}
|
|
4500
4524
|
}
|
|
4501
4525
|
try {
|
|
4502
|
-
Ee ? s.setAttributeNS(Ee, le,
|
|
4526
|
+
Ee ? s.setAttributeNS(Ee, le, de) : s.setAttribute(le, de), Kn(s) ? Me(s) : Rr(t.removed);
|
|
4503
4527
|
} catch (sr) {
|
|
4504
4528
|
}
|
|
4505
4529
|
}
|
|
4506
4530
|
}
|
|
4507
4531
|
Pe("afterSanitizeAttributes", s, null);
|
|
4508
4532
|
}, Zi = function S(s) {
|
|
4509
|
-
let
|
|
4533
|
+
let d = null;
|
|
4510
4534
|
const T = Qn(s);
|
|
4511
|
-
for (Pe("beforeSanitizeShadowDOM", s, null);
|
|
4512
|
-
Pe("uponSanitizeShadowNode",
|
|
4535
|
+
for (Pe("beforeSanitizeShadowDOM", s, null); d = T.nextNode(); )
|
|
4536
|
+
Pe("uponSanitizeShadowNode", d, null), !tr(d) && (d.content instanceof o && S(d.content), ir(d));
|
|
4513
4537
|
Pe("afterSanitizeShadowDOM", s, null);
|
|
4514
4538
|
};
|
|
4515
4539
|
return t.sanitize = function(S) {
|
|
4516
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {},
|
|
4540
|
+
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, d = null, T = null, Z = null, ce = null;
|
|
4517
4541
|
if (an = !S, an && (S = "<!-->"), typeof S != "string" && !er(S))
|
|
4518
4542
|
if (typeof S.toString == "function") {
|
|
4519
4543
|
if (S = S.toString(), typeof S != "string")
|
|
@@ -4529,44 +4553,44 @@ function Ui() {
|
|
|
4529
4553
|
throw gt("root node is forbidden and cannot be sanitized in-place");
|
|
4530
4554
|
}
|
|
4531
4555
|
} else if (S instanceof a)
|
|
4532
|
-
|
|
4556
|
+
d = Jn("<!---->"), T = d.ownerDocument.importNode(S, !0), T.nodeType === _t.element && T.nodeName === "BODY" || T.nodeName === "HTML" ? d = T : d.appendChild(T);
|
|
4533
4557
|
else {
|
|
4534
4558
|
if (!Oe && !me && !Ce && // eslint-disable-next-line unicorn/prefer-includes
|
|
4535
4559
|
S.indexOf("<") === -1)
|
|
4536
4560
|
return H && Mt ? H.createHTML(S) : S;
|
|
4537
|
-
if (
|
|
4561
|
+
if (d = Jn(S), !d)
|
|
4538
4562
|
return Oe ? null : Mt ? I : "";
|
|
4539
4563
|
}
|
|
4540
|
-
|
|
4541
|
-
const le = Qn(ut ? S :
|
|
4564
|
+
d && re && Me(d.firstChild);
|
|
4565
|
+
const le = Qn(ut ? S : d);
|
|
4542
4566
|
for (; Z = le.nextNode(); )
|
|
4543
4567
|
tr(Z) || (Z.content instanceof o && Zi(Z.content), ir(Z));
|
|
4544
4568
|
if (ut)
|
|
4545
4569
|
return S;
|
|
4546
4570
|
if (Oe) {
|
|
4547
4571
|
if (Ot)
|
|
4548
|
-
for (ce = fe.call(
|
|
4549
|
-
ce.appendChild(
|
|
4572
|
+
for (ce = fe.call(d.ownerDocument); d.firstChild; )
|
|
4573
|
+
ce.appendChild(d.firstChild);
|
|
4550
4574
|
else
|
|
4551
|
-
ce =
|
|
4575
|
+
ce = d;
|
|
4552
4576
|
return (P.shadowroot || P.shadowrootmode) && (ce = z.call(r, ce, !0)), ce;
|
|
4553
4577
|
}
|
|
4554
|
-
let Ee = Ce ?
|
|
4555
|
-
return Ce && v["!doctype"] &&
|
|
4556
|
-
` + Ee), me &&
|
|
4557
|
-
Ee =
|
|
4578
|
+
let Ee = Ce ? d.outerHTML : d.innerHTML;
|
|
4579
|
+
return Ce && v["!doctype"] && d.ownerDocument && d.ownerDocument.doctype && d.ownerDocument.doctype.name && pe($i, d.ownerDocument.doctype.name) && (Ee = "<!DOCTYPE " + d.ownerDocument.doctype.name + `>
|
|
4580
|
+
` + Ee), me && Bt([he, ue, O], (Le) => {
|
|
4581
|
+
Ee = pt(Ee, Le, " ");
|
|
4558
4582
|
}), H && Mt ? H.createHTML(Ee) : Ee;
|
|
4559
4583
|
}, t.setConfig = function() {
|
|
4560
4584
|
let S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4561
4585
|
un(S), J = !0;
|
|
4562
4586
|
}, t.clearConfig = function() {
|
|
4563
4587
|
Ye = null, J = !1;
|
|
4564
|
-
}, t.isValidAttribute = function(S, s,
|
|
4588
|
+
}, t.isValidAttribute = function(S, s, d) {
|
|
4565
4589
|
Ye || un({});
|
|
4566
4590
|
const T = se(S), Z = se(s);
|
|
4567
|
-
return nr(T, Z,
|
|
4591
|
+
return nr(T, Z, d);
|
|
4568
4592
|
}, t.addHook = function(S, s) {
|
|
4569
|
-
typeof s == "function" && (L[S] = L[S] || [],
|
|
4593
|
+
typeof s == "function" && (L[S] = L[S] || [], dt(L[S], s));
|
|
4570
4594
|
}, t.removeHook = function(S) {
|
|
4571
4595
|
if (L[S])
|
|
4572
4596
|
return Rr(L[S]);
|
|
@@ -4582,19 +4606,19 @@ var Fr = Ui(), ki = { exports: {} };
|
|
|
4582
4606
|
e.exports = r();
|
|
4583
4607
|
})(ui, function() {
|
|
4584
4608
|
var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", l = "second", a = "minute", c = "hour", u = "day", f = "week", m = "month", y = "quarter", A = "year", x = "date", g = "Invalid Date", N = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|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, X = { 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(O) {
|
|
4585
|
-
var
|
|
4586
|
-
return "[" + O + (
|
|
4587
|
-
} }, R = function(O,
|
|
4609
|
+
var b = ["th", "st", "nd", "rd"], h = O % 100;
|
|
4610
|
+
return "[" + O + (b[(h - 20) % 10] || b[h] || b[0]) + "]";
|
|
4611
|
+
} }, R = function(O, b, h) {
|
|
4588
4612
|
var E = String(O);
|
|
4589
|
-
return !E || E.length >=
|
|
4613
|
+
return !E || E.length >= b ? O : "" + Array(b + 1 - E.length).join(h) + O;
|
|
4590
4614
|
}, H = { s: R, z: function(O) {
|
|
4591
|
-
var
|
|
4592
|
-
return (
|
|
4593
|
-
}, m: function O(
|
|
4594
|
-
if (
|
|
4595
|
-
return -O(h,
|
|
4596
|
-
var E = 12 * (h.year() -
|
|
4597
|
-
return +(-(E + (h -
|
|
4615
|
+
var b = -O.utcOffset(), h = Math.abs(b), E = Math.floor(h / 60), p = h % 60;
|
|
4616
|
+
return (b <= 0 ? "+" : "-") + R(E, 2, "0") + ":" + R(p, 2, "0");
|
|
4617
|
+
}, m: function O(b, h) {
|
|
4618
|
+
if (b.date() < h.date())
|
|
4619
|
+
return -O(h, b);
|
|
4620
|
+
var E = 12 * (h.year() - b.year()) + (h.month() - b.month()), p = b.clone().add(E, m), M = h - p < 0, C = b.clone().add(E + (M ? -1 : 1), m);
|
|
4621
|
+
return +(-(E + (h - p) / (M ? p - C : C - p)) || 0);
|
|
4598
4622
|
}, a: function(O) {
|
|
4599
4623
|
return O < 0 ? Math.ceil(O) || 0 : Math.floor(O);
|
|
4600
4624
|
}, p: function(O) {
|
|
@@ -4605,88 +4629,88 @@ var Fr = Ui(), ki = { exports: {} };
|
|
|
4605
4629
|
V[I] = X;
|
|
4606
4630
|
var oe = "$isDayjsObject", fe = function(O) {
|
|
4607
4631
|
return O instanceof he || !(!O || !O[oe]);
|
|
4608
|
-
}, K = function O(
|
|
4609
|
-
var
|
|
4610
|
-
if (!
|
|
4632
|
+
}, K = function O(b, h, E) {
|
|
4633
|
+
var p;
|
|
4634
|
+
if (!b)
|
|
4611
4635
|
return I;
|
|
4612
|
-
if (typeof
|
|
4613
|
-
var M =
|
|
4614
|
-
V[M] && (
|
|
4615
|
-
var C =
|
|
4616
|
-
if (!
|
|
4636
|
+
if (typeof b == "string") {
|
|
4637
|
+
var M = b.toLowerCase();
|
|
4638
|
+
V[M] && (p = M), h && (V[M] = h, p = M);
|
|
4639
|
+
var C = b.split("-");
|
|
4640
|
+
if (!p && C.length > 1)
|
|
4617
4641
|
return O(C[0]);
|
|
4618
4642
|
} else {
|
|
4619
|
-
var v =
|
|
4620
|
-
V[v] =
|
|
4643
|
+
var v = b.name;
|
|
4644
|
+
V[v] = b, p = v;
|
|
4621
4645
|
}
|
|
4622
|
-
return !E &&
|
|
4623
|
-
}, z = function(O,
|
|
4646
|
+
return !E && p && (I = p), p || !E && I;
|
|
4647
|
+
}, z = function(O, b) {
|
|
4624
4648
|
if (fe(O))
|
|
4625
4649
|
return O.clone();
|
|
4626
|
-
var h = typeof
|
|
4650
|
+
var h = typeof b == "object" ? b : {};
|
|
4627
4651
|
return h.date = O, h.args = arguments, new he(h);
|
|
4628
4652
|
}, L = H;
|
|
4629
|
-
L.l = K, L.i = fe, L.w = function(O,
|
|
4630
|
-
return z(O, { locale:
|
|
4653
|
+
L.l = K, L.i = fe, L.w = function(O, b) {
|
|
4654
|
+
return z(O, { locale: b.$L, utc: b.$u, x: b.$x, $offset: b.$offset });
|
|
4631
4655
|
};
|
|
4632
4656
|
var he = function() {
|
|
4633
4657
|
function O(h) {
|
|
4634
4658
|
this.$L = K(h.locale, null, !0), this.parse(h), this.$x = this.$x || h.x || {}, this[oe] = !0;
|
|
4635
4659
|
}
|
|
4636
|
-
var
|
|
4637
|
-
return
|
|
4660
|
+
var b = O.prototype;
|
|
4661
|
+
return b.parse = function(h) {
|
|
4638
4662
|
this.$d = function(E) {
|
|
4639
|
-
var
|
|
4640
|
-
if (
|
|
4663
|
+
var p = E.date, M = E.utc;
|
|
4664
|
+
if (p === null)
|
|
4641
4665
|
return /* @__PURE__ */ new Date(NaN);
|
|
4642
|
-
if (L.u(
|
|
4666
|
+
if (L.u(p))
|
|
4643
4667
|
return /* @__PURE__ */ new Date();
|
|
4644
|
-
if (
|
|
4645
|
-
return new Date(
|
|
4646
|
-
if (typeof
|
|
4647
|
-
var C =
|
|
4668
|
+
if (p instanceof Date)
|
|
4669
|
+
return new Date(p);
|
|
4670
|
+
if (typeof p == "string" && !/Z$/i.test(p)) {
|
|
4671
|
+
var C = p.match(N);
|
|
4648
4672
|
if (C) {
|
|
4649
4673
|
var v = C[2] - 1 || 0, W = (C[7] || "0").substring(0, 3);
|
|
4650
4674
|
return M ? new Date(Date.UTC(C[1], v, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, W)) : new Date(C[1], v, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, W);
|
|
4651
4675
|
}
|
|
4652
4676
|
}
|
|
4653
|
-
return new Date(
|
|
4677
|
+
return new Date(p);
|
|
4654
4678
|
}(h), this.init();
|
|
4655
|
-
},
|
|
4679
|
+
}, b.init = function() {
|
|
4656
4680
|
var h = this.$d;
|
|
4657
4681
|
this.$y = h.getFullYear(), this.$M = h.getMonth(), this.$D = h.getDate(), this.$W = h.getDay(), this.$H = h.getHours(), this.$m = h.getMinutes(), this.$s = h.getSeconds(), this.$ms = h.getMilliseconds();
|
|
4658
|
-
},
|
|
4682
|
+
}, b.$utils = function() {
|
|
4659
4683
|
return L;
|
|
4660
|
-
},
|
|
4684
|
+
}, b.isValid = function() {
|
|
4661
4685
|
return this.$d.toString() !== g;
|
|
4662
|
-
},
|
|
4663
|
-
var
|
|
4664
|
-
return this.startOf(E) <=
|
|
4665
|
-
},
|
|
4686
|
+
}, b.isSame = function(h, E) {
|
|
4687
|
+
var p = z(h);
|
|
4688
|
+
return this.startOf(E) <= p && p <= this.endOf(E);
|
|
4689
|
+
}, b.isAfter = function(h, E) {
|
|
4666
4690
|
return z(h) < this.startOf(E);
|
|
4667
|
-
},
|
|
4691
|
+
}, b.isBefore = function(h, E) {
|
|
4668
4692
|
return this.endOf(E) < z(h);
|
|
4669
|
-
},
|
|
4670
|
-
return L.u(h) ? this[E] : this.set(
|
|
4671
|
-
},
|
|
4693
|
+
}, b.$g = function(h, E, p) {
|
|
4694
|
+
return L.u(h) ? this[E] : this.set(p, h);
|
|
4695
|
+
}, b.unix = function() {
|
|
4672
4696
|
return Math.floor(this.valueOf() / 1e3);
|
|
4673
|
-
},
|
|
4697
|
+
}, b.valueOf = function() {
|
|
4674
4698
|
return this.$d.getTime();
|
|
4675
|
-
},
|
|
4676
|
-
var
|
|
4677
|
-
var te = L.w(
|
|
4699
|
+
}, b.startOf = function(h, E) {
|
|
4700
|
+
var p = this, M = !!L.u(E) || E, C = L.p(h), v = function(ee, F) {
|
|
4701
|
+
var te = L.w(p.$u ? Date.UTC(p.$y, F, ee) : new Date(p.$y, F, ee), p);
|
|
4678
4702
|
return M ? te : te.endOf(u);
|
|
4679
4703
|
}, W = function(ee, F) {
|
|
4680
|
-
return L.w(
|
|
4681
|
-
}, P = this.$W, q = this.$M,
|
|
4704
|
+
return L.w(p.toDate()[ee].apply(p.toDate("s"), (M ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(F)), p);
|
|
4705
|
+
}, P = this.$W, q = this.$M, B = this.$D, Y = "set" + (this.$u ? "UTC" : "");
|
|
4682
4706
|
switch (C) {
|
|
4683
4707
|
case A:
|
|
4684
4708
|
return M ? v(1, 0) : v(31, 11);
|
|
4685
4709
|
case m:
|
|
4686
4710
|
return M ? v(1, q) : v(0, q + 1);
|
|
4687
4711
|
case f:
|
|
4688
|
-
var
|
|
4689
|
-
return v(M ?
|
|
4712
|
+
var _ = this.$locale().weekStart || 0, D = (P < _ ? P + 7 : P) - _;
|
|
4713
|
+
return v(M ? B - D : B + (6 - D), q);
|
|
4690
4714
|
case u:
|
|
4691
4715
|
case x:
|
|
4692
4716
|
return W(Y + "Hours", 0);
|
|
@@ -4699,26 +4723,26 @@ var Fr = Ui(), ki = { exports: {} };
|
|
|
4699
4723
|
default:
|
|
4700
4724
|
return this.clone();
|
|
4701
4725
|
}
|
|
4702
|
-
},
|
|
4726
|
+
}, b.endOf = function(h) {
|
|
4703
4727
|
return this.startOf(h, !1);
|
|
4704
|
-
},
|
|
4705
|
-
var
|
|
4728
|
+
}, b.$set = function(h, E) {
|
|
4729
|
+
var p, M = L.p(h), C = "set" + (this.$u ? "UTC" : ""), v = (p = {}, p[u] = C + "Date", p[x] = C + "Date", p[m] = C + "Month", p[A] = C + "FullYear", p[c] = C + "Hours", p[a] = C + "Minutes", p[l] = C + "Seconds", p[o] = C + "Milliseconds", p)[M], W = M === u ? this.$D + (E - this.$W) : E;
|
|
4706
4730
|
if (M === m || M === A) {
|
|
4707
4731
|
var P = this.clone().set(x, 1);
|
|
4708
4732
|
P.$d[v](W), P.init(), this.$d = P.set(x, Math.min(this.$D, P.daysInMonth())).$d;
|
|
4709
4733
|
} else
|
|
4710
4734
|
v && this.$d[v](W);
|
|
4711
4735
|
return this.init(), this;
|
|
4712
|
-
},
|
|
4736
|
+
}, b.set = function(h, E) {
|
|
4713
4737
|
return this.clone().$set(h, E);
|
|
4714
|
-
},
|
|
4738
|
+
}, b.get = function(h) {
|
|
4715
4739
|
return this[L.p(h)]();
|
|
4716
|
-
},
|
|
4717
|
-
var
|
|
4740
|
+
}, b.add = function(h, E) {
|
|
4741
|
+
var p, M = this;
|
|
4718
4742
|
h = Number(h);
|
|
4719
4743
|
var C = L.p(E), v = function(q) {
|
|
4720
|
-
var
|
|
4721
|
-
return L.w(
|
|
4744
|
+
var B = z(M);
|
|
4745
|
+
return L.w(B.date(B.date() + Math.round(q * h)), M);
|
|
4722
4746
|
};
|
|
4723
4747
|
if (C === m)
|
|
4724
4748
|
return this.set(m, this.$M + h);
|
|
@@ -4728,17 +4752,17 @@ var Fr = Ui(), ki = { exports: {} };
|
|
|
4728
4752
|
return v(1);
|
|
4729
4753
|
if (C === f)
|
|
4730
4754
|
return v(7);
|
|
4731
|
-
var W = (
|
|
4755
|
+
var W = (p = {}, p[a] = r, p[c] = i, p[l] = n, p)[C] || 1, P = this.$d.getTime() + h * W;
|
|
4732
4756
|
return L.w(P, this);
|
|
4733
|
-
},
|
|
4757
|
+
}, b.subtract = function(h, E) {
|
|
4734
4758
|
return this.add(-1 * h, E);
|
|
4735
|
-
},
|
|
4736
|
-
var E = this,
|
|
4759
|
+
}, b.format = function(h) {
|
|
4760
|
+
var E = this, p = this.$locale();
|
|
4737
4761
|
if (!this.isValid())
|
|
4738
|
-
return
|
|
4739
|
-
var M = h || "YYYY-MM-DDTHH:mm:ssZ", C = L.z(this), v = this.$H, W = this.$m, P = this.$M, q =
|
|
4762
|
+
return p.invalidDate || g;
|
|
4763
|
+
var M = h || "YYYY-MM-DDTHH:mm:ssZ", C = L.z(this), v = this.$H, W = this.$m, P = this.$M, q = p.weekdays, B = p.months, Y = p.meridiem, _ = function(F, te, me, ae) {
|
|
4740
4764
|
return F && (F[te] || F(E, M)) || me[te].slice(0, ae);
|
|
4741
|
-
},
|
|
4765
|
+
}, D = function(F) {
|
|
4742
4766
|
return L.s(v % 12 || 12, F, "0");
|
|
4743
4767
|
}, ee = Y || function(F, te, me) {
|
|
4744
4768
|
var ae = F < 12 ? "AM" : "PM";
|
|
@@ -4756,9 +4780,9 @@ var Fr = Ui(), ki = { exports: {} };
|
|
|
4756
4780
|
case "MM":
|
|
4757
4781
|
return L.s(P + 1, 2, "0");
|
|
4758
4782
|
case "MMM":
|
|
4759
|
-
return
|
|
4783
|
+
return _(p.monthsShort, P, B, 3);
|
|
4760
4784
|
case "MMMM":
|
|
4761
|
-
return
|
|
4785
|
+
return _(B, P);
|
|
4762
4786
|
case "D":
|
|
4763
4787
|
return E.$D;
|
|
4764
4788
|
case "DD":
|
|
@@ -4766,9 +4790,9 @@ var Fr = Ui(), ki = { exports: {} };
|
|
|
4766
4790
|
case "d":
|
|
4767
4791
|
return String(E.$W);
|
|
4768
4792
|
case "dd":
|
|
4769
|
-
return
|
|
4793
|
+
return _(p.weekdaysMin, E.$W, q, 2);
|
|
4770
4794
|
case "ddd":
|
|
4771
|
-
return
|
|
4795
|
+
return _(p.weekdaysShort, E.$W, q, 3);
|
|
4772
4796
|
case "dddd":
|
|
4773
4797
|
return q[E.$W];
|
|
4774
4798
|
case "H":
|
|
@@ -4776,9 +4800,9 @@ var Fr = Ui(), ki = { exports: {} };
|
|
|
4776
4800
|
case "HH":
|
|
4777
4801
|
return L.s(v, 2, "0");
|
|
4778
4802
|
case "h":
|
|
4779
|
-
return
|
|
4803
|
+
return D(1);
|
|
4780
4804
|
case "hh":
|
|
4781
|
-
return
|
|
4805
|
+
return D(2);
|
|
4782
4806
|
case "a":
|
|
4783
4807
|
return ee(v, W, !0);
|
|
4784
4808
|
case "A":
|
|
@@ -4799,21 +4823,21 @@ var Fr = Ui(), ki = { exports: {} };
|
|
|
4799
4823
|
return null;
|
|
4800
4824
|
}(F) || C.replace(":", "");
|
|
4801
4825
|
});
|
|
4802
|
-
},
|
|
4826
|
+
}, b.utcOffset = function() {
|
|
4803
4827
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4804
|
-
},
|
|
4805
|
-
var M, C = this, v = L.p(E), W = z(h), P = (W.utcOffset() - this.utcOffset()) * r, q = this - W,
|
|
4828
|
+
}, b.diff = function(h, E, p) {
|
|
4829
|
+
var M, C = this, v = L.p(E), W = z(h), P = (W.utcOffset() - this.utcOffset()) * r, q = this - W, B = function() {
|
|
4806
4830
|
return L.m(C, W);
|
|
4807
4831
|
};
|
|
4808
4832
|
switch (v) {
|
|
4809
4833
|
case A:
|
|
4810
|
-
M =
|
|
4834
|
+
M = B() / 12;
|
|
4811
4835
|
break;
|
|
4812
4836
|
case m:
|
|
4813
|
-
M =
|
|
4837
|
+
M = B();
|
|
4814
4838
|
break;
|
|
4815
4839
|
case y:
|
|
4816
|
-
M =
|
|
4840
|
+
M = B() / 3;
|
|
4817
4841
|
break;
|
|
4818
4842
|
case f:
|
|
4819
4843
|
M = (q - P) / 6048e5;
|
|
@@ -4833,41 +4857,41 @@ var Fr = Ui(), ki = { exports: {} };
|
|
|
4833
4857
|
default:
|
|
4834
4858
|
M = q;
|
|
4835
4859
|
}
|
|
4836
|
-
return
|
|
4837
|
-
},
|
|
4860
|
+
return p ? M : L.a(M);
|
|
4861
|
+
}, b.daysInMonth = function() {
|
|
4838
4862
|
return this.endOf(m).$D;
|
|
4839
|
-
},
|
|
4863
|
+
}, b.$locale = function() {
|
|
4840
4864
|
return V[this.$L];
|
|
4841
|
-
},
|
|
4865
|
+
}, b.locale = function(h, E) {
|
|
4842
4866
|
if (!h)
|
|
4843
4867
|
return this.$L;
|
|
4844
|
-
var
|
|
4845
|
-
return M && (
|
|
4846
|
-
},
|
|
4868
|
+
var p = this.clone(), M = K(h, E, !0);
|
|
4869
|
+
return M && (p.$L = M), p;
|
|
4870
|
+
}, b.clone = function() {
|
|
4847
4871
|
return L.w(this.$d, this);
|
|
4848
|
-
},
|
|
4872
|
+
}, b.toDate = function() {
|
|
4849
4873
|
return new Date(this.valueOf());
|
|
4850
|
-
},
|
|
4874
|
+
}, b.toJSON = function() {
|
|
4851
4875
|
return this.isValid() ? this.toISOString() : null;
|
|
4852
|
-
},
|
|
4876
|
+
}, b.toISOString = function() {
|
|
4853
4877
|
return this.$d.toISOString();
|
|
4854
|
-
},
|
|
4878
|
+
}, b.toString = function() {
|
|
4855
4879
|
return this.$d.toUTCString();
|
|
4856
4880
|
}, O;
|
|
4857
4881
|
}(), ue = he.prototype;
|
|
4858
4882
|
return z.prototype = ue, [["$ms", o], ["$s", l], ["$m", a], ["$H", c], ["$W", u], ["$M", m], ["$y", A], ["$D", x]].forEach(function(O) {
|
|
4859
|
-
ue[O[1]] = function(
|
|
4860
|
-
return this.$g(
|
|
4883
|
+
ue[O[1]] = function(b) {
|
|
4884
|
+
return this.$g(b, O[0], O[1]);
|
|
4861
4885
|
};
|
|
4862
|
-
}), z.extend = function(O,
|
|
4863
|
-
return O.$i || (O(
|
|
4886
|
+
}), z.extend = function(O, b) {
|
|
4887
|
+
return O.$i || (O(b, he, z), O.$i = !0), z;
|
|
4864
4888
|
}, z.locale = K, z.isDayjs = fe, z.unix = function(O) {
|
|
4865
4889
|
return z(1e3 * O);
|
|
4866
4890
|
}, z.en = V[I], z.Ls = V, z.p = {}, z;
|
|
4867
4891
|
});
|
|
4868
4892
|
})(ki);
|
|
4869
4893
|
var ja = ki.exports;
|
|
4870
|
-
const jr = /* @__PURE__ */
|
|
4894
|
+
const jr = /* @__PURE__ */ Dn(ja);
|
|
4871
4895
|
var Gi = { exports: {} };
|
|
4872
4896
|
(function(e, t) {
|
|
4873
4897
|
(function(n, r) {
|
|
@@ -4950,7 +4974,7 @@ var Gi = { exports: {} };
|
|
|
4950
4974
|
});
|
|
4951
4975
|
})(Gi);
|
|
4952
4976
|
var za = Gi.exports;
|
|
4953
|
-
const Wa = /* @__PURE__ */
|
|
4977
|
+
const Wa = /* @__PURE__ */ Dn(za);
|
|
4954
4978
|
let zr = wt(null);
|
|
4955
4979
|
const Qe = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4956
4980
|
function Va(e, t) {
|
|
@@ -5016,21 +5040,21 @@ function Zr(e) {
|
|
|
5016
5040
|
), x, g, N, k, X, R, H, I, V, oe, fe, K, z, L, he = (
|
|
5017
5041
|
/*$_*/
|
|
5018
5042
|
e[8]("sessionExpirationEnd") + ""
|
|
5019
|
-
), ue, O,
|
|
5043
|
+
), ue, O, b, h, E, p, M, C, v, W, P;
|
|
5020
5044
|
const q = (
|
|
5021
5045
|
/*#slots*/
|
|
5022
5046
|
e[23].icon
|
|
5023
|
-
),
|
|
5047
|
+
), B = $t(
|
|
5024
5048
|
q,
|
|
5025
5049
|
e,
|
|
5026
5050
|
/*$$scope*/
|
|
5027
5051
|
e[22],
|
|
5028
5052
|
Yr
|
|
5029
|
-
), Y =
|
|
5053
|
+
), Y = B || nl(e), _ = (
|
|
5030
5054
|
/*#slots*/
|
|
5031
5055
|
e[23].title
|
|
5032
|
-
),
|
|
5033
|
-
|
|
5056
|
+
), D = $t(
|
|
5057
|
+
_,
|
|
5034
5058
|
e,
|
|
5035
5059
|
/*$$scope*/
|
|
5036
5060
|
e[22],
|
|
@@ -5053,14 +5077,14 @@ function Zr(e) {
|
|
|
5053
5077
|
}
|
|
5054
5078
|
return h = Ce(e), E = ae[h] = me[h](e), {
|
|
5055
5079
|
c() {
|
|
5056
|
-
t = ne("div"), n = ne("div"), r = ne("div"), i = ne("div"), o = Se("svg"), l = Se("defs"), a = Se("mask"), c = Se("circle"), u = Se("rect"), f = Se("circle"), m = Se("circle"), y = Re(), x = je(A), g = Re(), N = ne("div"), k = Se("svg"), X = Se("path"), R = Re(), H = ne("div"), I = ne("div"), Y && Y.c(), V = Re(),
|
|
5080
|
+
t = ne("div"), n = ne("div"), r = ne("div"), i = ne("div"), o = Se("svg"), l = Se("defs"), a = Se("mask"), c = Se("circle"), u = Se("rect"), f = Se("circle"), m = Se("circle"), y = Re(), x = je(A), g = Re(), N = ne("div"), k = Se("svg"), X = Se("path"), R = Re(), H = ne("div"), I = ne("div"), Y && Y.c(), V = Re(), D && D.c(), oe = Re(), te && te.c(), fe = Re(), K = ne("div"), z = ne("button"), L = ne("span"), ue = je(he), O = Re(), b = ne("button"), E.c(), w(c, "cx", "100"), w(c, "cy", "100"), w(c, "r", "90"), w(u, "x", "88"), w(u, "y", "40"), w(u, "width", "24"), w(u, "height", "80"), w(u, "rx", "12"), w(u, "fill", "black"), w(f, "cx", "100"), w(f, "cy", "150"), w(f, "r", "14"), w(f, "fill", "black"), w(a, "id", "exclamation-mask"), w(m, "cx", "100"), w(m, "cy", "100"), w(m, "r", "90"), w(m, "mask", "url(#exclamation-mask)"), w(o, "viewBox", "0 0 200 200"), w(o, "xmlns", "http://www.w3.org/2000/svg"), w(i, "class", "CashierSessionExpirationModalHeaderTitle"), w(X, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), w(k, "xmlns", "http://www.w3.org/2000/svg"), w(k, "viewBox", "0 0 13 13"), w(k, "fill", "none"), w(k, "class", "CloseButton"), w(N, "class", "ModalCloseIcon"), w(r, "class", "CashierSessionExpirationModalHeader"), w(L, "class", "CashierSessionExpirationButtonText"), w(z, "type", "button"), w(z, "class", "ModalButton Secondary"), w(b, "type", "button"), w(b, "class", p = "ModalButton Primary " + /*showLoaderButton*/
|
|
5057
5081
|
(e[6] ? "Disabled" : "")), w(K, "class", "ButtonsContainer"), w(I, "class", "CashierSessionExpiration"), w(H, "class", "CashierSessionExpirationModalContainer"), w(n, "class", "CashierSessionExpirationModalWrapper"), w(t, "class", "CashierSessionExpirationModalWindow"), w(t, "id", "CashierSessionExpirationModal"), nt(() => (
|
|
5058
5082
|
/*div7_elementresize_handler*/
|
|
5059
5083
|
e[25].call(t)
|
|
5060
5084
|
));
|
|
5061
5085
|
},
|
|
5062
5086
|
m(J, re) {
|
|
5063
|
-
ke(J, t, re), $(t, n), $(n, r), $(r, i), $(i, o), $(o, l), $(l, a), $(a, c), $(a, u), $(a, f), $(o, m), $(i, y), $(i, x), $(r, g), $(r, N), $(N, k), $(k, X), $(n, R), $(n, H), $(H, I), Y && Y.m(I, null), $(I, V),
|
|
5087
|
+
ke(J, t, re), $(t, n), $(n, r), $(r, i), $(i, o), $(o, l), $(l, a), $(a, c), $(a, u), $(a, f), $(o, m), $(i, y), $(i, x), $(r, g), $(r, N), $(N, k), $(k, X), $(n, R), $(n, H), $(H, I), Y && Y.m(I, null), $(I, V), D && D.m(I, null), $(I, oe), te && te.m(I, null), $(I, fe), $(I, K), $(K, z), $(z, L), $(L, ue), $(K, O), $(K, b), ae[h].m(b, null), e[24](I), M = co(
|
|
5064
5088
|
t,
|
|
5065
5089
|
/*div7_elementresize_handler*/
|
|
5066
5090
|
e[25].bind(t)
|
|
@@ -5078,7 +5102,7 @@ function Zr(e) {
|
|
|
5078
5102
|
e[11]
|
|
5079
5103
|
),
|
|
5080
5104
|
Ke(
|
|
5081
|
-
|
|
5105
|
+
b,
|
|
5082
5106
|
"click",
|
|
5083
5107
|
/*renewSession*/
|
|
5084
5108
|
e[9]
|
|
@@ -5094,9 +5118,9 @@ function Zr(e) {
|
|
|
5094
5118
|
p(J, re) {
|
|
5095
5119
|
e = J, (!v || re[0] & /*$_*/
|
|
5096
5120
|
256) && A !== (A = /*$_*/
|
|
5097
|
-
e[8]("sessionExpirationHeader") + "") && xt(x, A),
|
|
5121
|
+
e[8]("sessionExpirationHeader") + "") && xt(x, A), B ? B.p && (!v || re[0] & /*$$scope*/
|
|
5098
5122
|
4194304) && kt(
|
|
5099
|
-
|
|
5123
|
+
B,
|
|
5100
5124
|
q,
|
|
5101
5125
|
e,
|
|
5102
5126
|
/*$$scope*/
|
|
@@ -5113,15 +5137,15 @@ function Zr(e) {
|
|
|
5113
5137
|
),
|
|
5114
5138
|
Yr
|
|
5115
5139
|
) : Y && Y.p && (!v || re[0] & /*assetsurl*/
|
|
5116
|
-
8) && Y.p(e, v ? re : [-1, -1]),
|
|
5140
|
+
8) && Y.p(e, v ? re : [-1, -1]), D && D.p && (!v || re[0] & /*$$scope*/
|
|
5117
5141
|
4194304) && kt(
|
|
5118
|
-
|
|
5119
|
-
|
|
5142
|
+
D,
|
|
5143
|
+
_,
|
|
5120
5144
|
e,
|
|
5121
5145
|
/*$$scope*/
|
|
5122
5146
|
e[22],
|
|
5123
5147
|
v ? Ut(
|
|
5124
|
-
|
|
5148
|
+
_,
|
|
5125
5149
|
/*$$scope*/
|
|
5126
5150
|
e[22],
|
|
5127
5151
|
re,
|
|
@@ -5154,28 +5178,28 @@ function Zr(e) {
|
|
|
5154
5178
|
256) && he !== (he = /*$_*/
|
|
5155
5179
|
e[8]("sessionExpirationEnd") + "") && xt(ue, he);
|
|
5156
5180
|
let Oe = h;
|
|
5157
|
-
h = Ce(e), h === Oe ? ae[h].p(e, re) : (si(),
|
|
5181
|
+
h = Ce(e), h === Oe ? ae[h].p(e, re) : (si(), De(ae[Oe], 1, 1, () => {
|
|
5158
5182
|
ae[Oe] = null;
|
|
5159
|
-
}), ai(), E = ae[h], E ? E.p(e, re) : (E = ae[h] = me[h](e), E.c()), He(E, 1), E.m(
|
|
5160
|
-
64 &&
|
|
5161
|
-
(e[6] ? "Disabled" : ""))) && w(
|
|
5183
|
+
}), ai(), E = ae[h], E ? E.p(e, re) : (E = ae[h] = me[h](e), E.c()), He(E, 1), E.m(b, null)), (!v || re[0] & /*showLoaderButton*/
|
|
5184
|
+
64 && p !== (p = "ModalButton Primary " + /*showLoaderButton*/
|
|
5185
|
+
(e[6] ? "Disabled" : ""))) && w(b, "class", p);
|
|
5162
5186
|
},
|
|
5163
5187
|
i(J) {
|
|
5164
|
-
v || (He(Y, J), He(
|
|
5165
|
-
v && (C || (C = gr(t,
|
|
5188
|
+
v || (He(Y, J), He(D, J), He(te, J), He(E), J && nt(() => {
|
|
5189
|
+
v && (C || (C = gr(t, br, { duration: (
|
|
5166
5190
|
/*duration*/
|
|
5167
5191
|
e[2]
|
|
5168
5192
|
) }, !0)), C.run(1));
|
|
5169
5193
|
}), v = !0);
|
|
5170
5194
|
},
|
|
5171
5195
|
o(J) {
|
|
5172
|
-
|
|
5196
|
+
De(Y, J), De(D, J), De(te, J), De(E), J && (C || (C = gr(t, br, { duration: (
|
|
5173
5197
|
/*duration*/
|
|
5174
5198
|
e[2]
|
|
5175
5199
|
) }, !1)), C.run(0)), v = !1;
|
|
5176
5200
|
},
|
|
5177
5201
|
d(J) {
|
|
5178
|
-
J && Ae(t), Y && Y.d(J),
|
|
5202
|
+
J && Ae(t), Y && Y.d(J), D && D.d(J), te && te.d(J), ae[h].d(), e[24](null), M(), J && C && C.end(), W = !1, Ue(P);
|
|
5179
5203
|
}
|
|
5180
5204
|
};
|
|
5181
5205
|
}
|
|
@@ -5300,7 +5324,7 @@ function il(e) {
|
|
|
5300
5324
|
t || (He(i, o), t = !0);
|
|
5301
5325
|
},
|
|
5302
5326
|
o(o) {
|
|
5303
|
-
|
|
5327
|
+
De(i, o), t = !1;
|
|
5304
5328
|
},
|
|
5305
5329
|
d(o) {
|
|
5306
5330
|
i && i.d(o);
|
|
@@ -5368,7 +5392,7 @@ function al(e) {
|
|
|
5368
5392
|
p(i, o) {
|
|
5369
5393
|
/*show*/
|
|
5370
5394
|
i[5] ? r ? (r.p(i, o), o[0] & /*show*/
|
|
5371
|
-
32 && He(r, 1)) : (r = Zr(i), r.c(), He(r, 1), r.m(t, null)) : r && (si(),
|
|
5395
|
+
32 && He(r, 1)) : (r = Zr(i), r.c(), He(r, 1), r.m(t, null)) : r && (si(), De(r, 1, 1, () => {
|
|
5372
5396
|
r = null;
|
|
5373
5397
|
}), ai());
|
|
5374
5398
|
},
|
|
@@ -5376,7 +5400,7 @@ function al(e) {
|
|
|
5376
5400
|
n || (He(r), n = !0);
|
|
5377
5401
|
},
|
|
5378
5402
|
o(i) {
|
|
5379
|
-
|
|
5403
|
+
De(r), n = !1;
|
|
5380
5404
|
},
|
|
5381
5405
|
d(i) {
|
|
5382
5406
|
i && Ae(t), r && r.d(), e[26](null);
|
|
@@ -5386,20 +5410,20 @@ function al(e) {
|
|
|
5386
5410
|
const ll = 90;
|
|
5387
5411
|
function ul(e, t, n) {
|
|
5388
5412
|
let r, i;
|
|
5389
|
-
mr(e, zr, (
|
|
5413
|
+
mr(e, zr, (_) => n(21, r = _)), mr(e, va, (_) => n(8, i = _));
|
|
5390
5414
|
let { $$slots: o = {}, $$scope: l } = t;
|
|
5391
5415
|
jr.extend(Wa);
|
|
5392
5416
|
let { clientstyling: a = "" } = t, { clientstylingurl: c = "" } = t, { width: u } = t, { height: f } = t, { duration: m = 200 } = t, { assetsurl: y = "" } = t, { lang: A = "en" } = t, { translationurl: x = "" } = t, { endpoint: g } = t, { currency: N } = t, { customerid: k } = t, { selectedpaymentmethodname: X } = t, { mbsource: R = "" } = t, H, I = !1, V = !1, oe, fe, K, z, L, he;
|
|
5393
5417
|
var ue;
|
|
5394
|
-
(function(
|
|
5395
|
-
|
|
5418
|
+
(function(_) {
|
|
5419
|
+
_.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", _.Success = "Success", _.JwtTokenError = "JwtTokenError";
|
|
5396
5420
|
})(ue || (ue = {}));
|
|
5397
|
-
const O = (
|
|
5398
|
-
|
|
5399
|
-
},
|
|
5421
|
+
const O = (_) => {
|
|
5422
|
+
_.data.type === "StartSessionCountdown" && (z = _.data.paymentMethodName);
|
|
5423
|
+
}, b = (_) => {
|
|
5400
5424
|
try {
|
|
5401
|
-
return JSON.parse(atob(
|
|
5402
|
-
} catch (
|
|
5425
|
+
return JSON.parse(atob(_.split(".")[1]));
|
|
5426
|
+
} catch (D) {
|
|
5403
5427
|
return null;
|
|
5404
5428
|
}
|
|
5405
5429
|
}, h = () => {
|
|
@@ -5410,34 +5434,34 @@ function ul(e, t, n) {
|
|
|
5410
5434
|
},
|
|
5411
5435
|
window.location.href
|
|
5412
5436
|
);
|
|
5413
|
-
}, E = (
|
|
5437
|
+
}, E = (_) => {
|
|
5414
5438
|
n(5, I = !1);
|
|
5415
|
-
const
|
|
5416
|
-
|
|
5439
|
+
const D = b(_);
|
|
5440
|
+
D && (fe = D == null ? void 0 : D.exp, n(7, oe = fe), K && clearInterval(K), K = setInterval(
|
|
5417
5441
|
() => {
|
|
5418
5442
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
5419
|
-
n(7, oe = fe - ee), oe <= ll && n(5, I = !0), ee >= fe && (
|
|
5443
|
+
n(7, oe = fe - ee), oe <= ll && n(5, I = !0), ee >= fe && (p(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
5420
5444
|
},
|
|
5421
5445
|
1e3
|
|
5422
5446
|
));
|
|
5423
|
-
},
|
|
5447
|
+
}, p = () => {
|
|
5424
5448
|
n(7, oe = 0), n(5, I = !1), clearInterval(K);
|
|
5425
5449
|
}, M = () => {
|
|
5426
5450
|
if (V)
|
|
5427
5451
|
return;
|
|
5428
|
-
const
|
|
5429
|
-
n(6, V = !0),
|
|
5452
|
+
const _ = new URL(`${g}/v1/player/${k}/payment/GetPaymentMethod`), D = new Headers();
|
|
5453
|
+
n(6, V = !0), D.append("accept", "application/json"), D.append("Content-Type", "application/json"), D.append("X-Client-Request-Timestamp", jr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
5430
5454
|
const ee = {
|
|
5431
5455
|
method: "POST",
|
|
5432
5456
|
mode: "cors",
|
|
5433
|
-
headers:
|
|
5457
|
+
headers: D,
|
|
5434
5458
|
body: JSON.stringify({
|
|
5435
5459
|
PaymentMethodName: z || X,
|
|
5436
5460
|
Currency: N,
|
|
5437
5461
|
XPaymentSessionToken: r
|
|
5438
5462
|
})
|
|
5439
5463
|
};
|
|
5440
|
-
fetch(
|
|
5464
|
+
fetch(_, ee).then((F) => F.json()).then((F) => {
|
|
5441
5465
|
if (F.error) {
|
|
5442
5466
|
window.postMessage(
|
|
5443
5467
|
{
|
|
@@ -5445,59 +5469,59 @@ function ul(e, t, n) {
|
|
|
5445
5469
|
error: F.error
|
|
5446
5470
|
},
|
|
5447
5471
|
window.location.href
|
|
5448
|
-
),
|
|
5472
|
+
), p();
|
|
5449
5473
|
return;
|
|
5450
5474
|
}
|
|
5451
5475
|
if (F.ResponseCode === ue.PlayerSessionIsNotValid || F.ResponseCode === ue.JwtTokenError) {
|
|
5452
|
-
L = F.ResponseCode,
|
|
5476
|
+
L = F.ResponseCode, p(), h();
|
|
5453
5477
|
return;
|
|
5454
5478
|
}
|
|
5455
5479
|
if (F.ResponseCode !== ue.Success) {
|
|
5456
|
-
L = F.ResponseCode,
|
|
5480
|
+
L = F.ResponseCode, p();
|
|
5457
5481
|
return;
|
|
5458
5482
|
}
|
|
5459
5483
|
F.XPaymentSessionToken && zr.set(F.XPaymentSessionToken);
|
|
5460
5484
|
}).finally(() => n(6, V = !1));
|
|
5461
|
-
}, C = (
|
|
5462
|
-
const
|
|
5463
|
-
|
|
5485
|
+
}, C = (_) => {
|
|
5486
|
+
const D = _.currentTarget;
|
|
5487
|
+
_.target === D && M();
|
|
5464
5488
|
}, v = () => {
|
|
5465
|
-
fetch(x).then((
|
|
5466
|
-
Object.keys(
|
|
5467
|
-
Nr(ee,
|
|
5489
|
+
fetch(x).then((D) => D.json()).then((D) => {
|
|
5490
|
+
Object.keys(D).forEach((ee) => {
|
|
5491
|
+
Nr(ee, D[ee]);
|
|
5468
5492
|
});
|
|
5469
|
-
}).catch((
|
|
5470
|
-
console.log(
|
|
5493
|
+
}).catch((D) => {
|
|
5494
|
+
console.log(D);
|
|
5471
5495
|
});
|
|
5472
5496
|
}, W = () => {
|
|
5473
5497
|
window.postMessage({ type: "Cashier:goToHome" }, window.location.href), n(5, I = !1);
|
|
5474
5498
|
};
|
|
5475
|
-
Object.keys(Ir).forEach((
|
|
5476
|
-
Nr(
|
|
5499
|
+
Object.keys(Ir).forEach((_) => {
|
|
5500
|
+
Nr(_, Ir[_]);
|
|
5477
5501
|
});
|
|
5478
5502
|
const P = () => {
|
|
5479
5503
|
Ta(A);
|
|
5480
5504
|
};
|
|
5481
|
-
|
|
5505
|
+
_o(() => (window.addEventListener("message", O, !1), () => {
|
|
5482
5506
|
window.removeEventListener("message", O);
|
|
5483
5507
|
})), Eo(() => {
|
|
5484
5508
|
clearInterval(K);
|
|
5485
5509
|
});
|
|
5486
|
-
function q(
|
|
5487
|
-
Zt[
|
|
5488
|
-
H =
|
|
5510
|
+
function q(_) {
|
|
5511
|
+
Zt[_ ? "unshift" : "push"](() => {
|
|
5512
|
+
H = _, n(4, H);
|
|
5489
5513
|
});
|
|
5490
5514
|
}
|
|
5491
|
-
function
|
|
5515
|
+
function B() {
|
|
5492
5516
|
u = this.clientWidth, f = this.clientHeight, n(0, u), n(1, f);
|
|
5493
5517
|
}
|
|
5494
|
-
function Y(
|
|
5495
|
-
Zt[
|
|
5496
|
-
H =
|
|
5518
|
+
function Y(_) {
|
|
5519
|
+
Zt[_ ? "unshift" : "push"](() => {
|
|
5520
|
+
H = _, n(4, H);
|
|
5497
5521
|
});
|
|
5498
5522
|
}
|
|
5499
|
-
return e.$$set = (
|
|
5500
|
-
"clientstyling" in
|
|
5523
|
+
return e.$$set = (_) => {
|
|
5524
|
+
"clientstyling" in _ && n(12, a = _.clientstyling), "clientstylingurl" in _ && n(13, c = _.clientstylingurl), "width" in _ && n(0, u = _.width), "height" in _ && n(1, f = _.height), "duration" in _ && n(2, m = _.duration), "assetsurl" in _ && n(3, y = _.assetsurl), "lang" in _ && n(14, A = _.lang), "translationurl" in _ && n(15, x = _.translationurl), "endpoint" in _ && n(16, g = _.endpoint), "currency" in _ && n(17, N = _.currency), "customerid" in _ && n(18, k = _.customerid), "selectedpaymentmethodname" in _ && n(19, X = _.selectedpaymentmethodname), "mbsource" in _ && n(20, R = _.mbsource), "$$scope" in _ && n(22, l = _.$$scope);
|
|
5501
5525
|
}, e.$$.update = () => {
|
|
5502
5526
|
e.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
5503
5527
|
2097152 && E(r), e.$$.dirty[0] & /*lang*/
|
|
@@ -5532,7 +5556,7 @@ function ul(e, t, n) {
|
|
|
5532
5556
|
l,
|
|
5533
5557
|
o,
|
|
5534
5558
|
q,
|
|
5535
|
-
|
|
5559
|
+
B,
|
|
5536
5560
|
Y
|
|
5537
5561
|
];
|
|
5538
5562
|
}
|