@everymatrix/cashier-session-expiration-modal 1.85.17 → 1.85.18
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-DqNHgUjj.cjs → CashierSessionExpirationModal-73rpPbl7.cjs} +6 -6
- package/components/{CashierSessionExpirationModal-BAFxIrEq.js → CashierSessionExpirationModal-CL_Iqi13.js} +248 -246
- package/components/{CashierSessionExpirationModal-ge0R8xm0.js → CashierSessionExpirationModal-DswSIlPK.js} +250 -248
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function pe() {
|
|
2
2
|
}
|
|
3
3
|
const zr = (e) => e;
|
|
4
4
|
function zi(e, t) {
|
|
@@ -35,7 +35,7 @@ function Xr(e, ...t) {
|
|
|
35
35
|
if (e == null) {
|
|
36
36
|
for (const r of t)
|
|
37
37
|
r(void 0);
|
|
38
|
-
return
|
|
38
|
+
return pe;
|
|
39
39
|
}
|
|
40
40
|
const n = e.subscribe(...t);
|
|
41
41
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
@@ -83,7 +83,7 @@ function Pt(e) {
|
|
|
83
83
|
return -1;
|
|
84
84
|
}
|
|
85
85
|
const Zr = typeof window < "u";
|
|
86
|
-
let Vi = Zr ? () => window.performance.now() : () => Date.now(), Nn = Zr ? (e) => requestAnimationFrame(e) :
|
|
86
|
+
let Vi = Zr ? () => window.performance.now() : () => Date.now(), Nn = Zr ? (e) => requestAnimationFrame(e) : pe;
|
|
87
87
|
const Ve = /* @__PURE__ */ new Set();
|
|
88
88
|
function qr(e) {
|
|
89
89
|
Ve.forEach((t) => {
|
|
@@ -212,8 +212,8 @@ function eo(e) {
|
|
|
212
212
|
}
|
|
213
213
|
), t;
|
|
214
214
|
}
|
|
215
|
-
const
|
|
216
|
-
let
|
|
215
|
+
const Gt = /* @__PURE__ */ new Map();
|
|
216
|
+
let Ft = 0;
|
|
217
217
|
function to(e) {
|
|
218
218
|
let t = 5381, n = e.length;
|
|
219
219
|
for (; n--; )
|
|
@@ -222,46 +222,46 @@ function to(e) {
|
|
|
222
222
|
}
|
|
223
223
|
function no(e, t) {
|
|
224
224
|
const n = { stylesheet: Zi(t), rules: {} };
|
|
225
|
-
return
|
|
225
|
+
return Gt.set(e, n), n;
|
|
226
226
|
}
|
|
227
227
|
function ar(e, t, n, r, i, o, u, a = 0) {
|
|
228
228
|
const c = 16.666 / r;
|
|
229
229
|
let l = `{
|
|
230
230
|
`;
|
|
231
231
|
for (let C = 0; C <= 1; C += c) {
|
|
232
|
-
const
|
|
233
|
-
l += C * 100 + `%{${u(
|
|
232
|
+
const G = t + (n - t) * o(C);
|
|
233
|
+
l += C * 100 + `%{${u(G, 1 - G)}}
|
|
234
234
|
`;
|
|
235
235
|
}
|
|
236
236
|
const f = l + `100% {${u(n, 1 - n)}}
|
|
237
|
-
}`, _ = `__svelte_${to(f)}_${a}`, y = Hn(e), { stylesheet: M, rules: b } =
|
|
237
|
+
}`, _ = `__svelte_${to(f)}_${a}`, y = Hn(e), { stylesheet: M, rules: b } = Gt.get(y) || no(y, e);
|
|
238
238
|
b[_] || (b[_] = !0, M.insertRule(`@keyframes ${_} ${f}`, M.cssRules.length));
|
|
239
|
-
const
|
|
240
|
-
return e.style.animation = `${
|
|
239
|
+
const p = e.style.animation || "";
|
|
240
|
+
return e.style.animation = `${p ? `${p}, ` : ""}${_} ${r}ms linear ${i}ms 1 both`, Ft += 1, _;
|
|
241
241
|
}
|
|
242
242
|
function ro(e, t) {
|
|
243
243
|
const n = (e.style.animation || "").split(", "), r = n.filter(
|
|
244
244
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
245
245
|
// remove all Svelte animations
|
|
246
246
|
), i = n.length - r.length;
|
|
247
|
-
i && (e.style.animation = r.join(", "),
|
|
247
|
+
i && (e.style.animation = r.join(", "), Ft -= i, Ft || io());
|
|
248
248
|
}
|
|
249
249
|
function io() {
|
|
250
250
|
Nn(() => {
|
|
251
|
-
|
|
251
|
+
Ft || (Gt.forEach((e) => {
|
|
252
252
|
const { ownerNode: t } = e.stylesheet;
|
|
253
253
|
t && be(t);
|
|
254
|
-
}),
|
|
254
|
+
}), Gt.clear());
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
|
-
let
|
|
258
|
-
function
|
|
259
|
-
|
|
257
|
+
let dt;
|
|
258
|
+
function pt(e) {
|
|
259
|
+
dt = e;
|
|
260
260
|
}
|
|
261
261
|
function Kr() {
|
|
262
|
-
if (!
|
|
262
|
+
if (!dt)
|
|
263
263
|
throw new Error("Function called outside component initialization");
|
|
264
|
-
return
|
|
264
|
+
return dt;
|
|
265
265
|
}
|
|
266
266
|
function oo(e) {
|
|
267
267
|
Kr().$$.on_mount.push(e);
|
|
@@ -284,17 +284,17 @@ let je = 0;
|
|
|
284
284
|
function le() {
|
|
285
285
|
if (je !== 0)
|
|
286
286
|
return;
|
|
287
|
-
const e =
|
|
287
|
+
const e = dt;
|
|
288
288
|
do {
|
|
289
289
|
try {
|
|
290
290
|
for (; je < We.length; ) {
|
|
291
291
|
const t = We[je];
|
|
292
|
-
je++,
|
|
292
|
+
je++, pt(t), lo(t.$$);
|
|
293
293
|
}
|
|
294
294
|
} catch (t) {
|
|
295
295
|
throw We.length = 0, je = 0, t;
|
|
296
296
|
}
|
|
297
|
-
for (
|
|
297
|
+
for (pt(null), We.length = 0, je = 0; jt.length; )
|
|
298
298
|
jt.pop()();
|
|
299
299
|
for (let t = 0; t < Xe.length; t += 1) {
|
|
300
300
|
const n = Xe[t];
|
|
@@ -304,7 +304,7 @@ function le() {
|
|
|
304
304
|
} while (We.length);
|
|
305
305
|
for (; ur.length; )
|
|
306
306
|
ur.pop()();
|
|
307
|
-
yn = !1, an.clear(),
|
|
307
|
+
yn = !1, an.clear(), pt(e);
|
|
308
308
|
}
|
|
309
309
|
function lo(e) {
|
|
310
310
|
if (e.fragment !== null) {
|
|
@@ -358,48 +358,48 @@ function lr(e, t, n, r) {
|
|
|
358
358
|
function _() {
|
|
359
359
|
l && ro(e, l);
|
|
360
360
|
}
|
|
361
|
-
function y(b,
|
|
361
|
+
function y(b, p) {
|
|
362
362
|
const C = (
|
|
363
363
|
/** @type {Program['d']} */
|
|
364
364
|
b.b - u
|
|
365
365
|
);
|
|
366
|
-
return
|
|
366
|
+
return p *= Math.abs(C), {
|
|
367
367
|
a: u,
|
|
368
368
|
b: b.b,
|
|
369
369
|
d: C,
|
|
370
|
-
duration:
|
|
370
|
+
duration: p,
|
|
371
371
|
start: b.start,
|
|
372
|
-
end: b.start +
|
|
372
|
+
end: b.start + p,
|
|
373
373
|
group: b.group
|
|
374
374
|
};
|
|
375
375
|
}
|
|
376
376
|
function M(b) {
|
|
377
377
|
const {
|
|
378
|
-
delay:
|
|
378
|
+
delay: p = 0,
|
|
379
379
|
duration: C = 300,
|
|
380
|
-
easing:
|
|
381
|
-
tick: $ =
|
|
380
|
+
easing: G = zr,
|
|
381
|
+
tick: $ = pe,
|
|
382
382
|
css: w
|
|
383
383
|
} = o || ho, H = {
|
|
384
|
-
start: Vi() +
|
|
384
|
+
start: Vi() + p,
|
|
385
385
|
b
|
|
386
386
|
};
|
|
387
387
|
b || (H.group = Me, Me.r += 1), "inert" in e && (b ? f !== void 0 && (e.inert = f) : (f = /** @type {HTMLElement} */
|
|
388
|
-
e.inert, e.inert = !0)), a || c ? c = H : (w && (_(), l = ar(e, u, b, C,
|
|
388
|
+
e.inert, e.inert = !0)), a || c ? c = H : (w && (_(), l = ar(e, u, b, C, p, G, w)), b && $(0, 1), a = y(H, C), Ye(() => un(e, b, "start")), Xi((R) => {
|
|
389
389
|
if (c && R > c.start && (a = y(c, C), c = null, un(e, a.b, "start"), w && (_(), l = ar(
|
|
390
390
|
e,
|
|
391
391
|
u,
|
|
392
392
|
a.b,
|
|
393
393
|
a.duration,
|
|
394
394
|
0,
|
|
395
|
-
|
|
395
|
+
G,
|
|
396
396
|
o.css
|
|
397
397
|
))), a) {
|
|
398
398
|
if (R >= a.end)
|
|
399
399
|
$(u = a.b, 1 - u), un(e, a.b, "end"), c || (a.b ? _() : --a.group.r || Ie(a.group.c)), a = null;
|
|
400
400
|
else if (R >= a.start) {
|
|
401
401
|
const U = R - a.start;
|
|
402
|
-
u = a.a + a.d *
|
|
402
|
+
u = a.a + a.d * G(U / a.duration), $(u, 1 - u);
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
return !!(a || c);
|
|
@@ -431,14 +431,14 @@ function go(e, t) {
|
|
|
431
431
|
e.$$.dirty[0] === -1 && (We.push(e), uo(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
432
432
|
}
|
|
433
433
|
function _o(e, t, n, r, i, o, u = null, a = [-1]) {
|
|
434
|
-
const c =
|
|
435
|
-
|
|
434
|
+
const c = dt;
|
|
435
|
+
pt(e);
|
|
436
436
|
const l = e.$$ = {
|
|
437
437
|
fragment: null,
|
|
438
438
|
ctx: [],
|
|
439
439
|
// state
|
|
440
440
|
props: o,
|
|
441
|
-
update:
|
|
441
|
+
update: pe,
|
|
442
442
|
not_equal: i,
|
|
443
443
|
bound: rr(),
|
|
444
444
|
// lifecycle
|
|
@@ -467,7 +467,7 @@ function _o(e, t, n, r, i, o, u = null, a = [-1]) {
|
|
|
467
467
|
l.fragment && l.fragment.c();
|
|
468
468
|
t.intro && Se(e.$$.fragment), mo(e, t.target, t.anchor), le();
|
|
469
469
|
}
|
|
470
|
-
|
|
470
|
+
pt(c);
|
|
471
471
|
}
|
|
472
472
|
let ni;
|
|
473
473
|
typeof HTMLElement == "function" && (ni = class extends HTMLElement {
|
|
@@ -664,7 +664,7 @@ class Eo {
|
|
|
664
664
|
$$set = void 0;
|
|
665
665
|
/** @returns {void} */
|
|
666
666
|
$destroy() {
|
|
667
|
-
po(this, 1), this.$destroy =
|
|
667
|
+
po(this, 1), this.$destroy = pe;
|
|
668
668
|
}
|
|
669
669
|
/**
|
|
670
670
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -674,7 +674,7 @@ class Eo {
|
|
|
674
674
|
*/
|
|
675
675
|
$on(t, n) {
|
|
676
676
|
if (!Yt(n))
|
|
677
|
-
return
|
|
677
|
+
return pe;
|
|
678
678
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
679
679
|
return r.push(n), () => {
|
|
680
680
|
const i = r.indexOf(n);
|
|
@@ -706,7 +706,7 @@ function xo(e, t) {
|
|
|
706
706
|
subscribe: bt(e, t).subscribe
|
|
707
707
|
};
|
|
708
708
|
}
|
|
709
|
-
function bt(e, t =
|
|
709
|
+
function bt(e, t = pe) {
|
|
710
710
|
let n;
|
|
711
711
|
const r = /* @__PURE__ */ new Set();
|
|
712
712
|
function i(a) {
|
|
@@ -724,9 +724,9 @@ function bt(e, t = de) {
|
|
|
724
724
|
function o(a) {
|
|
725
725
|
i(a(e));
|
|
726
726
|
}
|
|
727
|
-
function u(a, c =
|
|
727
|
+
function u(a, c = pe) {
|
|
728
728
|
const l = [a, c];
|
|
729
|
-
return r.add(l), r.size === 1 && (n = t(i, o) ||
|
|
729
|
+
return r.add(l), r.size === 1 && (n = t(i, o) || pe), a(e), () => {
|
|
730
730
|
r.delete(l), r.size === 0 && n && (n(), n = null);
|
|
731
731
|
};
|
|
732
732
|
}
|
|
@@ -740,21 +740,21 @@ function et(e, t, n) {
|
|
|
740
740
|
return xo(n, (u, a) => {
|
|
741
741
|
let c = !1;
|
|
742
742
|
const l = [];
|
|
743
|
-
let f = 0, _ =
|
|
743
|
+
let f = 0, _ = pe;
|
|
744
744
|
const y = () => {
|
|
745
745
|
if (f)
|
|
746
746
|
return;
|
|
747
747
|
_();
|
|
748
748
|
const b = t(r ? l[0] : l, u, a);
|
|
749
|
-
o ? u(b) : _ = Yt(b) ? b :
|
|
749
|
+
o ? u(b) : _ = Yt(b) ? b : pe;
|
|
750
750
|
}, M = i.map(
|
|
751
|
-
(b,
|
|
751
|
+
(b, p) => Xr(
|
|
752
752
|
b,
|
|
753
753
|
(C) => {
|
|
754
|
-
l[
|
|
754
|
+
l[p] = C, f &= ~(1 << p), c && y();
|
|
755
755
|
},
|
|
756
756
|
() => {
|
|
757
|
-
f |= 1 <<
|
|
757
|
+
f |= 1 << p;
|
|
758
758
|
}
|
|
759
759
|
)
|
|
760
760
|
);
|
|
@@ -881,7 +881,7 @@ function ln(e, t, n) {
|
|
|
881
881
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
882
882
|
}
|
|
883
883
|
function cn(e, t) {
|
|
884
|
-
var n = t && t.cache ? t.cache : zo, r = t && t.serializer ? t.serializer :
|
|
884
|
+
var n = t && t.cache ? t.cache : zo, r = t && t.serializer ? t.serializer : Fo, i = t && t.strategy ? t.strategy : ko;
|
|
885
885
|
return i(e, {
|
|
886
886
|
cache: n,
|
|
887
887
|
serializer: r
|
|
@@ -905,10 +905,10 @@ function ko(e, t) {
|
|
|
905
905
|
var n = e.length === 1 ? Uo : oi;
|
|
906
906
|
return si(e, this, n, t.cache.create(), t.serializer);
|
|
907
907
|
}
|
|
908
|
-
function
|
|
908
|
+
function Go(e, t) {
|
|
909
909
|
return si(e, this, oi, t.cache.create(), t.serializer);
|
|
910
910
|
}
|
|
911
|
-
var
|
|
911
|
+
var Fo = function() {
|
|
912
912
|
return JSON.stringify(arguments);
|
|
913
913
|
}, jo = (
|
|
914
914
|
/** @class */
|
|
@@ -927,7 +927,7 @@ var Go = function() {
|
|
|
927
927
|
return new jo();
|
|
928
928
|
}
|
|
929
929
|
}, fn = {
|
|
930
|
-
variadic:
|
|
930
|
+
variadic: Go
|
|
931
931
|
}, zt = function() {
|
|
932
932
|
return zt = Object.assign || function(t) {
|
|
933
933
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
@@ -983,7 +983,7 @@ function mi(e) {
|
|
|
983
983
|
function vn(e) {
|
|
984
984
|
return !!(e && typeof e == "object" && e.type === qe.dateTime);
|
|
985
985
|
}
|
|
986
|
-
var
|
|
986
|
+
var pi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xo = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
987
987
|
function Yo(e) {
|
|
988
988
|
var t = {};
|
|
989
989
|
return e.replace(Xo, function(n) {
|
|
@@ -1107,10 +1107,10 @@ function qo(e) {
|
|
|
1107
1107
|
function Jo(e) {
|
|
1108
1108
|
return e.replace(/^(.*?)-/, "");
|
|
1109
1109
|
}
|
|
1110
|
-
var mr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
1111
|
-
function
|
|
1110
|
+
var mr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, di = /^(@+)?(\+|#+)?[rs]?$/g, Qo = /(\*)(0+)|(#+)(0+)|(0+)/g, gi = /^(0+)$/;
|
|
1111
|
+
function pr(e) {
|
|
1112
1112
|
var t = {};
|
|
1113
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1113
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(di, function(n, r, i) {
|
|
1114
1114
|
return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1115
1115
|
}), t;
|
|
1116
1116
|
}
|
|
@@ -1168,7 +1168,7 @@ function Ko(e) {
|
|
|
1168
1168
|
}
|
|
1169
1169
|
return t;
|
|
1170
1170
|
}
|
|
1171
|
-
function
|
|
1171
|
+
function dr(e) {
|
|
1172
1172
|
var t = {}, n = _i(e);
|
|
1173
1173
|
return n || t;
|
|
1174
1174
|
}
|
|
@@ -1208,12 +1208,12 @@ function es(e) {
|
|
|
1208
1208
|
continue;
|
|
1209
1209
|
case "scientific":
|
|
1210
1210
|
t = Z(Z(Z({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
|
|
1211
|
-
return Z(Z({}, c),
|
|
1211
|
+
return Z(Z({}, c), dr(l));
|
|
1212
1212
|
}, {}));
|
|
1213
1213
|
continue;
|
|
1214
1214
|
case "engineering":
|
|
1215
1215
|
t = Z(Z(Z({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
|
|
1216
|
-
return Z(Z({}, c),
|
|
1216
|
+
return Z(Z({}, c), dr(l));
|
|
1217
1217
|
}, {}));
|
|
1218
1218
|
continue;
|
|
1219
1219
|
case "notation-simple":
|
|
@@ -1282,11 +1282,11 @@ function es(e) {
|
|
|
1282
1282
|
return f === "*" ? t.minimumFractionDigits = l.length : _ && _[0] === "#" ? t.maximumFractionDigits = _.length : y && M ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + M.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1283
1283
|
});
|
|
1284
1284
|
var o = i.options[0];
|
|
1285
|
-
o === "w" ? t = Z(Z({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = Z(Z({}, t),
|
|
1285
|
+
o === "w" ? t = Z(Z({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = Z(Z({}, t), pr(o)));
|
|
1286
1286
|
continue;
|
|
1287
1287
|
}
|
|
1288
|
-
if (
|
|
1289
|
-
t = Z(Z({}, t),
|
|
1288
|
+
if (di.test(i.stem)) {
|
|
1289
|
+
t = Z(Z({}, t), pr(i.stem));
|
|
1290
1290
|
continue;
|
|
1291
1291
|
}
|
|
1292
1292
|
var u = _i(i.stem);
|
|
@@ -2749,7 +2749,7 @@ function ns(e) {
|
|
|
2749
2749
|
var i = Mt[r || ""] || Mt[n || ""] || Mt["".concat(n, "-001")] || Mt["001"];
|
|
2750
2750
|
return i[0];
|
|
2751
2751
|
}
|
|
2752
|
-
var hn, rs = new RegExp("^".concat(
|
|
2752
|
+
var hn, rs = new RegExp("^".concat(pi.source, "*")), is = new RegExp("".concat(pi.source, "*$"));
|
|
2753
2753
|
function B(e, t) {
|
|
2754
2754
|
return { start: e, end: t };
|
|
2755
2755
|
}
|
|
@@ -2810,7 +2810,7 @@ var gr = os ? (
|
|
|
2810
2810
|
return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2811
2811
|
}
|
|
2812
2812
|
}
|
|
2813
|
-
),
|
|
2813
|
+
), ps = ls ? (
|
|
2814
2814
|
// Native
|
|
2815
2815
|
function(t) {
|
|
2816
2816
|
return t.trimStart();
|
|
@@ -2820,7 +2820,7 @@ var gr = os ? (
|
|
|
2820
2820
|
function(t) {
|
|
2821
2821
|
return t.replace(rs, "");
|
|
2822
2822
|
}
|
|
2823
|
-
),
|
|
2823
|
+
), ds = cs ? (
|
|
2824
2824
|
// Native
|
|
2825
2825
|
function(t) {
|
|
2826
2826
|
return t.trimEnd();
|
|
@@ -3051,7 +3051,7 @@ var gs = (
|
|
|
3051
3051
|
var f = this.clonePosition(), _ = this.parseSimpleArgStyleIfPossible();
|
|
3052
3052
|
if (_.err)
|
|
3053
3053
|
return _;
|
|
3054
|
-
var y =
|
|
3054
|
+
var y = ds(_.val);
|
|
3055
3055
|
if (y.length === 0)
|
|
3056
3056
|
return this.error(D.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
|
|
3057
3057
|
var M = B(f, this.clonePosition());
|
|
@@ -3060,28 +3060,28 @@ var gs = (
|
|
|
3060
3060
|
var b = this.tryParseArgumentClose(i);
|
|
3061
3061
|
if (b.err)
|
|
3062
3062
|
return b;
|
|
3063
|
-
var
|
|
3063
|
+
var p = B(i, this.clonePosition());
|
|
3064
3064
|
if (l && gr(l?.style, "::", 0)) {
|
|
3065
|
-
var C =
|
|
3065
|
+
var C = ps(l.style.slice(2));
|
|
3066
3066
|
if (a === "number") {
|
|
3067
3067
|
var _ = this.parseNumberSkeletonFromString(C, l.styleLocation);
|
|
3068
3068
|
return _.err ? _ : {
|
|
3069
|
-
val: { type: X.number, value: r, location:
|
|
3069
|
+
val: { type: X.number, value: r, location: p, style: _.val },
|
|
3070
3070
|
err: null
|
|
3071
3071
|
};
|
|
3072
3072
|
} else {
|
|
3073
3073
|
if (C.length === 0)
|
|
3074
|
-
return this.error(D.EXPECT_DATE_TIME_SKELETON,
|
|
3075
|
-
var
|
|
3076
|
-
this.locale && (
|
|
3074
|
+
return this.error(D.EXPECT_DATE_TIME_SKELETON, p);
|
|
3075
|
+
var G = C;
|
|
3076
|
+
this.locale && (G = ts(C, this.locale));
|
|
3077
3077
|
var y = {
|
|
3078
3078
|
type: qe.dateTime,
|
|
3079
|
-
pattern:
|
|
3079
|
+
pattern: G,
|
|
3080
3080
|
location: l.styleLocation,
|
|
3081
|
-
parsedOptions: this.shouldParseSkeletons ? Yo(
|
|
3081
|
+
parsedOptions: this.shouldParseSkeletons ? Yo(G) : {}
|
|
3082
3082
|
}, $ = a === "date" ? X.date : X.time;
|
|
3083
3083
|
return {
|
|
3084
|
-
val: { type: $, value: r, location:
|
|
3084
|
+
val: { type: $, value: r, location: p, style: y },
|
|
3085
3085
|
err: null
|
|
3086
3086
|
};
|
|
3087
3087
|
}
|
|
@@ -3090,7 +3090,7 @@ var gs = (
|
|
|
3090
3090
|
val: {
|
|
3091
3091
|
type: a === "number" ? X.number : a === "date" ? X.date : X.time,
|
|
3092
3092
|
value: r,
|
|
3093
|
-
location:
|
|
3093
|
+
location: p,
|
|
3094
3094
|
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
|
3095
3095
|
},
|
|
3096
3096
|
err: null
|
|
@@ -3217,9 +3217,9 @@ var gs = (
|
|
|
3217
3217
|
var b = this.parseMessage(t + 1, n, r);
|
|
3218
3218
|
if (b.err)
|
|
3219
3219
|
return b;
|
|
3220
|
-
var
|
|
3221
|
-
if (
|
|
3222
|
-
return
|
|
3220
|
+
var p = this.tryParseArgumentClose(M);
|
|
3221
|
+
if (p.err)
|
|
3222
|
+
return p;
|
|
3223
3223
|
a.push([
|
|
3224
3224
|
l,
|
|
3225
3225
|
{
|
|
@@ -3455,10 +3455,10 @@ function Bt(e, t, n, r, i, o, u) {
|
|
|
3455
3455
|
continue;
|
|
3456
3456
|
}
|
|
3457
3457
|
if (hi(f)) {
|
|
3458
|
-
var b = f.children,
|
|
3458
|
+
var b = f.children, p = f.value, C = i[p];
|
|
3459
3459
|
if (!Ss(C))
|
|
3460
|
-
throw new xs(
|
|
3461
|
-
var
|
|
3460
|
+
throw new xs(p, "function", u);
|
|
3461
|
+
var G = Bt(b, t, n, r, i, o), $ = C(G.map(function(R) {
|
|
3462
3462
|
return R.value;
|
|
3463
3463
|
}));
|
|
3464
3464
|
Array.isArray($) || ($ = [$]), a.push.apply(a, $.map(function(R) {
|
|
@@ -3815,18 +3815,18 @@ function ks({ locale: e, id: t }) {
|
|
|
3815
3815
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3816
3816
|
);
|
|
3817
3817
|
}
|
|
3818
|
-
const
|
|
3818
|
+
const Gs = {
|
|
3819
3819
|
fallbackLocale: null,
|
|
3820
3820
|
loadingDelay: 200,
|
|
3821
3821
|
formats: Us,
|
|
3822
3822
|
warnOnMissingMessages: !0,
|
|
3823
3823
|
handleMissingMessage: void 0,
|
|
3824
3824
|
ignoreTag: !0
|
|
3825
|
-
}, mt =
|
|
3825
|
+
}, mt = Gs;
|
|
3826
3826
|
function Qe() {
|
|
3827
3827
|
return mt;
|
|
3828
3828
|
}
|
|
3829
|
-
function
|
|
3829
|
+
function Fs(e) {
|
|
3830
3830
|
const t = e, { formats: n } = t, r = $s(t, ["formats"]);
|
|
3831
3831
|
let i = e.fallbackLocale;
|
|
3832
3832
|
if (e.initialLocale)
|
|
@@ -3841,7 +3841,7 @@ function Gs(e) {
|
|
|
3841
3841
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3842
3842
|
)), Object.assign(mt, r, { initialLocale: i }), n && ("number" in n && Object.assign(mt.formats.number, n.number), "date" in n && Object.assign(mt.formats.date, n.date), "time" in n && Object.assign(mt.formats.time, n.time)), Be.set(i);
|
|
3843
3843
|
}
|
|
3844
|
-
const
|
|
3844
|
+
const pn = bt(!1);
|
|
3845
3845
|
var js = Object.defineProperty, zs = Object.defineProperties, Ws = Object.getOwnPropertyDescriptors, xr = Object.getOwnPropertySymbols, Vs = Object.prototype.hasOwnProperty, Xs = Object.prototype.propertyIsEnumerable, vr = (e, t, n) => t in e ? js(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ys = (e, t) => {
|
|
3846
3846
|
for (var n in t || (t = {}))
|
|
3847
3847
|
Vs.call(t, n) && vr(e, n, t[n]);
|
|
@@ -3870,12 +3870,12 @@ const qs = (e) => {
|
|
|
3870
3870
|
const { loadingDelay: t } = Qe();
|
|
3871
3871
|
let n;
|
|
3872
3872
|
return typeof window < "u" && Pe() != null && t ? n = window.setTimeout(
|
|
3873
|
-
() =>
|
|
3873
|
+
() => pn.set(!0),
|
|
3874
3874
|
t
|
|
3875
|
-
) :
|
|
3875
|
+
) : pn.set(!0), Ai(e).then(() => {
|
|
3876
3876
|
Vt.set(e);
|
|
3877
3877
|
}).finally(() => {
|
|
3878
|
-
clearTimeout(n),
|
|
3878
|
+
clearTimeout(n), pn.set(!1);
|
|
3879
3879
|
});
|
|
3880
3880
|
}
|
|
3881
3881
|
return Vt.set(e);
|
|
@@ -3999,7 +3999,7 @@ function wr(e, t) {
|
|
|
3999
3999
|
Si(e, t);
|
|
4000
4000
|
}
|
|
4001
4001
|
function fa(e) {
|
|
4002
|
-
|
|
4002
|
+
Fs({
|
|
4003
4003
|
fallbackLocale: "en"
|
|
4004
4004
|
}), Be.set(e);
|
|
4005
4005
|
}
|
|
@@ -4032,7 +4032,7 @@ const {
|
|
|
4032
4032
|
setPrototypeOf: Or,
|
|
4033
4033
|
isFrozen: ha,
|
|
4034
4034
|
getPrototypeOf: ma,
|
|
4035
|
-
getOwnPropertyDescriptor:
|
|
4035
|
+
getOwnPropertyDescriptor: pa
|
|
4036
4036
|
} = Object;
|
|
4037
4037
|
let {
|
|
4038
4038
|
freeze: fe,
|
|
@@ -4054,8 +4054,8 @@ Cn || (Cn = function(t, n, r) {
|
|
|
4054
4054
|
Ln || (Ln = function(t, n) {
|
|
4055
4055
|
return new t(...n);
|
|
4056
4056
|
});
|
|
4057
|
-
const Ct =
|
|
4058
|
-
function
|
|
4057
|
+
const Ct = de(Array.prototype.forEach), Mr = de(Array.prototype.pop), at = de(Array.prototype.push), Ut = de(String.prototype.toLowerCase), dn = de(String.prototype.toString), Cr = de(String.prototype.match), ut = de(String.prototype.replace), da = de(String.prototype.indexOf), ga = de(String.prototype.trim), xe = de(Object.prototype.hasOwnProperty), ue = de(RegExp.prototype.test), lt = _a(TypeError);
|
|
4058
|
+
function de(e) {
|
|
4059
4059
|
return function(t) {
|
|
4060
4060
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
4061
4061
|
r[i - 1] = arguments[i];
|
|
@@ -4096,12 +4096,12 @@ function De(e) {
|
|
|
4096
4096
|
}
|
|
4097
4097
|
function ct(e, t) {
|
|
4098
4098
|
for (; e !== null; ) {
|
|
4099
|
-
const r =
|
|
4099
|
+
const r = pa(e, t);
|
|
4100
4100
|
if (r) {
|
|
4101
4101
|
if (r.get)
|
|
4102
|
-
return
|
|
4102
|
+
return de(r.get);
|
|
4103
4103
|
if (typeof r.value == "function")
|
|
4104
|
-
return
|
|
4104
|
+
return de(r.value);
|
|
4105
4105
|
}
|
|
4106
4106
|
e = ma(e);
|
|
4107
4107
|
}
|
|
@@ -4177,7 +4177,7 @@ function Ii() {
|
|
|
4177
4177
|
HTMLFormElement: _,
|
|
4178
4178
|
DOMParser: y,
|
|
4179
4179
|
trustedTypes: M
|
|
4180
|
-
} = e, b = c.prototype,
|
|
4180
|
+
} = e, b = c.prototype, p = ct(b, "cloneNode"), C = ct(b, "remove"), G = ct(b, "nextSibling"), $ = ct(b, "childNodes"), w = ct(b, "parentNode");
|
|
4181
4181
|
if (typeof u == "function") {
|
|
4182
4182
|
const A = n.createElement("template");
|
|
4183
4183
|
A.content && A.content.ownerDocument && (n = A.content.ownerDocument);
|
|
@@ -4189,7 +4189,7 @@ function Ii() {
|
|
|
4189
4189
|
createDocumentFragment: V,
|
|
4190
4190
|
getElementsByTagName: Q
|
|
4191
4191
|
} = n, {
|
|
4192
|
-
importNode:
|
|
4192
|
+
importNode: F
|
|
4193
4193
|
} = r;
|
|
4194
4194
|
let O = {};
|
|
4195
4195
|
t.isSupported = typeof Ci == "function" && typeof w == "function" && U && U.createHTMLDocument !== void 0;
|
|
@@ -4235,33 +4235,33 @@ function Ii() {
|
|
|
4235
4235
|
let Un = null;
|
|
4236
4236
|
const kn = P({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
4237
4237
|
let nn = null;
|
|
4238
|
-
const
|
|
4239
|
-
let
|
|
4240
|
-
const Bi = P({}, [Tt, St, Ae],
|
|
4238
|
+
const Gn = P({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Tt = "http://www.w3.org/1998/Math/MathML", St = "http://www.w3.org/2000/svg", Ae = "http://www.w3.org/1999/xhtml";
|
|
4239
|
+
let Ge = Ae, rn = !1, on = null;
|
|
4240
|
+
const Bi = P({}, [Tt, St, Ae], dn);
|
|
4241
4241
|
let rt = null;
|
|
4242
4242
|
const $i = ["application/xhtml+xml", "text/html"], Ui = "text/html";
|
|
4243
|
-
let ne = null,
|
|
4244
|
-
const ki = n.createElement("form"),
|
|
4243
|
+
let ne = null, Fe = null;
|
|
4244
|
+
const ki = n.createElement("form"), Fn = function(s) {
|
|
4245
4245
|
return s instanceof RegExp || s instanceof Function;
|
|
4246
4246
|
}, sn = function() {
|
|
4247
4247
|
let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4248
|
-
if (!(
|
|
4248
|
+
if (!(Fe && Fe === s)) {
|
|
4249
4249
|
if ((!s || typeof s != "object") && (s = {}), s = De(s), rt = // eslint-disable-next-line unicorn/prefer-includes
|
|
4250
|
-
$i.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? Ui : s.PARSER_MEDIA_TYPE, ne = rt === "application/xhtml+xml" ?
|
|
4251
|
-
De(
|
|
4250
|
+
$i.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? Ui : s.PARSER_MEDIA_TYPE, ne = rt === "application/xhtml+xml" ? dn : Ut, N = xe(s, "ALLOWED_TAGS") ? P({}, s.ALLOWED_TAGS, ne) : j, I = xe(s, "ALLOWED_ATTR") ? P({}, s.ALLOWED_ATTR, ne) : q, on = xe(s, "ALLOWED_NAMESPACES") ? P({}, s.ALLOWED_NAMESPACES, dn) : Bi, nn = xe(s, "ADD_URI_SAFE_ATTR") ? P(
|
|
4251
|
+
De(Gn),
|
|
4252
4252
|
// eslint-disable-line indent
|
|
4253
4253
|
s.ADD_URI_SAFE_ATTR,
|
|
4254
4254
|
// eslint-disable-line indent
|
|
4255
4255
|
ne
|
|
4256
4256
|
// eslint-disable-line indent
|
|
4257
|
-
) :
|
|
4257
|
+
) : Gn, Un = xe(s, "ADD_DATA_URI_TAGS") ? P(
|
|
4258
4258
|
De(kn),
|
|
4259
4259
|
// eslint-disable-line indent
|
|
4260
4260
|
s.ADD_DATA_URI_TAGS,
|
|
4261
4261
|
// eslint-disable-line indent
|
|
4262
4262
|
ne
|
|
4263
4263
|
// eslint-disable-line indent
|
|
4264
|
-
) : kn, ke = xe(s, "FORBID_CONTENTS") ? P({}, s.FORBID_CONTENTS, ne) : $n, k = xe(s, "FORBID_TAGS") ? P({}, s.FORBID_TAGS, ne) : {}, ee = xe(s, "FORBID_ATTR") ? P({}, s.FORBID_ATTR, ne) : {}, Ue = xe(s, "USE_PROFILES") ? s.USE_PROFILES : !1, K = s.ALLOW_ARIA_ATTR !== !1, Ee = s.ALLOW_DATA_ATTR !== !1, ie = s.ALLOW_UNKNOWN_PROTOCOLS || !1, ye = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ge = s.SAFE_FOR_TEMPLATES || !1, Le = s.SAFE_FOR_XML !== !1, Re = s.WHOLE_DOCUMENT || !1, $e = s.RETURN_DOM || !1, xt = s.RETURN_DOM_FRAGMENT || !1, vt = s.RETURN_TRUSTED_TYPE || !1, en = s.FORCE_BODY || !1, Dn = s.SANITIZE_DOM !== !1, Bn = s.SANITIZE_NAMED_PROPS || !1, tn = s.KEEP_CONTENT !== !1, nt = s.IN_PLACE || !1, L = s.ALLOWED_URI_REGEXP || Ni,
|
|
4264
|
+
) : kn, ke = xe(s, "FORBID_CONTENTS") ? P({}, s.FORBID_CONTENTS, ne) : $n, k = xe(s, "FORBID_TAGS") ? P({}, s.FORBID_TAGS, ne) : {}, ee = xe(s, "FORBID_ATTR") ? P({}, s.FORBID_ATTR, ne) : {}, Ue = xe(s, "USE_PROFILES") ? s.USE_PROFILES : !1, K = s.ALLOW_ARIA_ATTR !== !1, Ee = s.ALLOW_DATA_ATTR !== !1, ie = s.ALLOW_UNKNOWN_PROTOCOLS || !1, ye = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ge = s.SAFE_FOR_TEMPLATES || !1, Le = s.SAFE_FOR_XML !== !1, Re = s.WHOLE_DOCUMENT || !1, $e = s.RETURN_DOM || !1, xt = s.RETURN_DOM_FRAGMENT || !1, vt = s.RETURN_TRUSTED_TYPE || !1, en = s.FORCE_BODY || !1, Dn = s.SANITIZE_DOM !== !1, Bn = s.SANITIZE_NAMED_PROPS || !1, tn = s.KEEP_CONTENT !== !1, nt = s.IN_PLACE || !1, L = s.ALLOWED_URI_REGEXP || Ni, Ge = s.NAMESPACE || Ae, m = s.CUSTOM_ELEMENT_HANDLING || {}, s.CUSTOM_ELEMENT_HANDLING && Fn(s.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (m.tagNameCheck = s.CUSTOM_ELEMENT_HANDLING.tagNameCheck), s.CUSTOM_ELEMENT_HANDLING && Fn(s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (m.attributeNameCheck = s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), s.CUSTOM_ELEMENT_HANDLING && typeof s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (m.allowCustomizedBuiltInElements = s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ge && (Ee = !1), xt && ($e = !0), Ue && (N = P({}, Nr), I = [], Ue.html === !0 && (P(N, Lr), P(I, Hr)), Ue.svg === !0 && (P(N, gn), P(I, En), P(I, Lt)), Ue.svgFilters === !0 && (P(N, _n), P(I, En), P(I, Lt)), Ue.mathMl === !0 && (P(N, bn), P(I, Ir), P(I, Lt))), s.ADD_TAGS && (N === j && (N = De(N)), P(N, s.ADD_TAGS, ne)), s.ADD_ATTR && (I === q && (I = De(I)), P(I, s.ADD_ATTR, ne)), s.ADD_URI_SAFE_ATTR && P(nn, s.ADD_URI_SAFE_ATTR, ne), s.FORBID_CONTENTS && (ke === $n && (ke = De(ke)), P(ke, s.FORBID_CONTENTS, ne)), tn && (N["#text"] = !0), Re && P(N, ["html", "head", "body"]), N.table && (P(N, ["tbody"]), delete k.tbody), s.TRUSTED_TYPES_POLICY) {
|
|
4265
4265
|
if (typeof s.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
4266
4266
|
throw lt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
4267
4267
|
if (typeof s.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -4269,16 +4269,16 @@ function Ii() {
|
|
|
4269
4269
|
H = s.TRUSTED_TYPES_POLICY, R = H.createHTML("");
|
|
4270
4270
|
} else
|
|
4271
4271
|
H === void 0 && (H = La(M, i)), H !== null && typeof R == "string" && (R = H.createHTML(""));
|
|
4272
|
-
fe && fe(s),
|
|
4272
|
+
fe && fe(s), Fe = s;
|
|
4273
4273
|
}
|
|
4274
|
-
}, jn = P({}, ["mi", "mo", "mn", "ms", "mtext"]), zn = P({}, ["foreignobject", "annotation-xml"]),
|
|
4275
|
-
let
|
|
4276
|
-
(!
|
|
4277
|
-
namespaceURI:
|
|
4274
|
+
}, jn = P({}, ["mi", "mo", "mn", "ms", "mtext"]), zn = P({}, ["foreignobject", "annotation-xml"]), Gi = P({}, ["title", "style", "font", "a", "script"]), Wn = P({}, [...gn, ..._n, ...Ea]), Vn = P({}, [...bn, ...ya]), Fi = function(s) {
|
|
4275
|
+
let d = w(s);
|
|
4276
|
+
(!d || !d.tagName) && (d = {
|
|
4277
|
+
namespaceURI: Ge,
|
|
4278
4278
|
tagName: "template"
|
|
4279
4279
|
});
|
|
4280
|
-
const S = Ut(s.tagName), z = Ut(
|
|
4281
|
-
return on[s.namespaceURI] ? s.namespaceURI === St ?
|
|
4280
|
+
const S = Ut(s.tagName), z = Ut(d.tagName);
|
|
4281
|
+
return on[s.namespaceURI] ? s.namespaceURI === St ? d.namespaceURI === Ae ? S === "svg" : d.namespaceURI === Tt ? S === "svg" && (z === "annotation-xml" || jn[z]) : !!Wn[S] : s.namespaceURI === Tt ? d.namespaceURI === Ae ? S === "math" : d.namespaceURI === St ? S === "math" && zn[z] : !!Vn[S] : s.namespaceURI === Ae ? d.namespaceURI === St && !zn[z] || d.namespaceURI === Tt && !jn[z] ? !1 : !Vn[S] && (Gi[S] || !Wn[S]) : !!(rt === "application/xhtml+xml" && on[s.namespaceURI]) : !1;
|
|
4282
4282
|
}, ve = function(s) {
|
|
4283
4283
|
at(t.removed, {
|
|
4284
4284
|
element: s
|
|
@@ -4288,53 +4288,53 @@ function Ii() {
|
|
|
4288
4288
|
} catch {
|
|
4289
4289
|
C(s);
|
|
4290
4290
|
}
|
|
4291
|
-
}, wt = function(s,
|
|
4291
|
+
}, wt = function(s, d) {
|
|
4292
4292
|
try {
|
|
4293
4293
|
at(t.removed, {
|
|
4294
|
-
attribute:
|
|
4295
|
-
from:
|
|
4294
|
+
attribute: d.getAttributeNode(s),
|
|
4295
|
+
from: d
|
|
4296
4296
|
});
|
|
4297
4297
|
} catch {
|
|
4298
4298
|
at(t.removed, {
|
|
4299
4299
|
attribute: null,
|
|
4300
|
-
from:
|
|
4300
|
+
from: d
|
|
4301
4301
|
});
|
|
4302
4302
|
}
|
|
4303
|
-
if (
|
|
4303
|
+
if (d.removeAttribute(s), s === "is" && !I[s])
|
|
4304
4304
|
if ($e || xt)
|
|
4305
4305
|
try {
|
|
4306
|
-
ve(
|
|
4306
|
+
ve(d);
|
|
4307
4307
|
} catch {
|
|
4308
4308
|
}
|
|
4309
4309
|
else
|
|
4310
4310
|
try {
|
|
4311
|
-
|
|
4311
|
+
d.setAttribute(s, "");
|
|
4312
4312
|
} catch {
|
|
4313
4313
|
}
|
|
4314
4314
|
}, Xn = function(s) {
|
|
4315
|
-
let
|
|
4315
|
+
let d = null, S = null;
|
|
4316
4316
|
if (en)
|
|
4317
4317
|
s = "<remove></remove>" + s;
|
|
4318
4318
|
else {
|
|
4319
4319
|
const oe = Cr(s, /^[\r\n\t ]+/);
|
|
4320
4320
|
S = oe && oe[0];
|
|
4321
4321
|
}
|
|
4322
|
-
rt === "application/xhtml+xml" &&
|
|
4322
|
+
rt === "application/xhtml+xml" && Ge === Ae && (s = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + s + "</body></html>");
|
|
4323
4323
|
const z = H ? H.createHTML(s) : s;
|
|
4324
|
-
if (
|
|
4324
|
+
if (Ge === Ae)
|
|
4325
4325
|
try {
|
|
4326
|
-
|
|
4326
|
+
d = new y().parseFromString(z, rt);
|
|
4327
4327
|
} catch {
|
|
4328
4328
|
}
|
|
4329
|
-
if (!
|
|
4330
|
-
|
|
4329
|
+
if (!d || !d.documentElement) {
|
|
4330
|
+
d = U.createDocument(Ge, "template", null);
|
|
4331
4331
|
try {
|
|
4332
|
-
|
|
4332
|
+
d.documentElement.innerHTML = rn ? R : z;
|
|
4333
4333
|
} catch {
|
|
4334
4334
|
}
|
|
4335
4335
|
}
|
|
4336
|
-
const se =
|
|
4337
|
-
return s && S && se.insertBefore(n.createTextNode(S), se.childNodes[0] || null),
|
|
4336
|
+
const se = d.body || d.documentElement;
|
|
4337
|
+
return s && S && se.insertBefore(n.createTextNode(S), se.childNodes[0] || null), Ge === Ae ? Q.call(d, Re ? "html" : "body")[0] : Re ? d.documentElement : se;
|
|
4338
4338
|
}, Yn = function(s) {
|
|
4339
4339
|
return Y.call(
|
|
4340
4340
|
s.ownerDocument || s,
|
|
@@ -4347,12 +4347,12 @@ function Ii() {
|
|
|
4347
4347
|
return s instanceof _ && (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");
|
|
4348
4348
|
}, qn = function(s) {
|
|
4349
4349
|
return typeof a == "function" && s instanceof a;
|
|
4350
|
-
}, Oe = function(s,
|
|
4350
|
+
}, Oe = function(s, d, S) {
|
|
4351
4351
|
O[s] && Ct(O[s], (z) => {
|
|
4352
|
-
z.call(t,
|
|
4352
|
+
z.call(t, d, S, Fe);
|
|
4353
4353
|
});
|
|
4354
4354
|
}, Jn = function(s) {
|
|
4355
|
-
let
|
|
4355
|
+
let d = null;
|
|
4356
4356
|
if (Oe("beforeSanitizeElements", s, null), Zn(s))
|
|
4357
4357
|
return ve(s), !0;
|
|
4358
4358
|
const S = ne(s.nodeName);
|
|
@@ -4369,36 +4369,36 @@ function Ii() {
|
|
|
4369
4369
|
if (se && z) {
|
|
4370
4370
|
const oe = se.length;
|
|
4371
4371
|
for (let me = oe - 1; me >= 0; --me) {
|
|
4372
|
-
const Te =
|
|
4373
|
-
Te.__removalCount = (s.__removalCount || 0) + 1, z.insertBefore(Te,
|
|
4372
|
+
const Te = p(se[me], !0);
|
|
4373
|
+
Te.__removalCount = (s.__removalCount || 0) + 1, z.insertBefore(Te, G(s));
|
|
4374
4374
|
}
|
|
4375
4375
|
}
|
|
4376
4376
|
}
|
|
4377
4377
|
return ve(s), !0;
|
|
4378
4378
|
}
|
|
4379
|
-
return s instanceof c && !
|
|
4380
|
-
|
|
4381
|
-
}), s.textContent !==
|
|
4379
|
+
return s instanceof c && !Fi(s) || (S === "noscript" || S === "noembed" || S === "noframes") && ue(/<\/no(script|embed|frames)/i, s.innerHTML) ? (ve(s), !0) : (ge && s.nodeType === ft.text && (d = s.textContent, Ct([te, he, T], (z) => {
|
|
4380
|
+
d = ut(d, z, " ");
|
|
4381
|
+
}), s.textContent !== d && (at(t.removed, {
|
|
4382
4382
|
element: s.cloneNode()
|
|
4383
|
-
}), s.textContent =
|
|
4384
|
-
}, Qn = function(s,
|
|
4385
|
-
if (Dn && (
|
|
4383
|
+
}), s.textContent = d)), Oe("afterSanitizeElements", s, null), !1);
|
|
4384
|
+
}, Qn = function(s, d, S) {
|
|
4385
|
+
if (Dn && (d === "id" || d === "name") && (S in n || S in ki))
|
|
4386
4386
|
return !1;
|
|
4387
|
-
if (!(Ee && !ee[
|
|
4388
|
-
if (!(K && ue(g,
|
|
4389
|
-
if (!I[
|
|
4387
|
+
if (!(Ee && !ee[d] && ue(E, d))) {
|
|
4388
|
+
if (!(K && ue(g, d))) {
|
|
4389
|
+
if (!I[d] || ee[d]) {
|
|
4390
4390
|
if (
|
|
4391
4391
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
4392
4392
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4393
4393
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
4394
|
-
!(Kn(s) && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, s) || m.tagNameCheck instanceof Function && m.tagNameCheck(s)) && (m.attributeNameCheck instanceof RegExp && ue(m.attributeNameCheck,
|
|
4394
|
+
!(Kn(s) && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, s) || m.tagNameCheck instanceof Function && m.tagNameCheck(s)) && (m.attributeNameCheck instanceof RegExp && ue(m.attributeNameCheck, d) || m.attributeNameCheck instanceof Function && m.attributeNameCheck(d)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
4395
4395
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4396
|
-
|
|
4396
|
+
d === "is" && m.allowCustomizedBuiltInElements && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, S) || m.tagNameCheck instanceof Function && m.tagNameCheck(S)))
|
|
4397
4397
|
)
|
|
4398
4398
|
return !1;
|
|
4399
|
-
} else if (!nn[
|
|
4399
|
+
} else if (!nn[d]) {
|
|
4400
4400
|
if (!ue(L, ut(S, h, ""))) {
|
|
4401
|
-
if (!((
|
|
4401
|
+
if (!((d === "src" || d === "xlink:href" || d === "href") && s !== "script" && da(S, "data:") === 0 && Un[s])) {
|
|
4402
4402
|
if (!(ie && !ue(v, ut(S, h, "")))) {
|
|
4403
4403
|
if (S)
|
|
4404
4404
|
return !1;
|
|
@@ -4414,9 +4414,9 @@ function Ii() {
|
|
|
4414
4414
|
}, er = function(s) {
|
|
4415
4415
|
Oe("beforeSanitizeAttributes", s, null);
|
|
4416
4416
|
const {
|
|
4417
|
-
attributes:
|
|
4417
|
+
attributes: d
|
|
4418
4418
|
} = s;
|
|
4419
|
-
if (!
|
|
4419
|
+
if (!d)
|
|
4420
4420
|
return;
|
|
4421
4421
|
const S = {
|
|
4422
4422
|
attrName: "",
|
|
@@ -4424,9 +4424,9 @@ function Ii() {
|
|
|
4424
4424
|
keepAttr: !0,
|
|
4425
4425
|
allowedAttributes: I
|
|
4426
4426
|
};
|
|
4427
|
-
let z =
|
|
4427
|
+
let z = d.length;
|
|
4428
4428
|
for (; z--; ) {
|
|
4429
|
-
const se =
|
|
4429
|
+
const se = d[z], {
|
|
4430
4430
|
name: oe,
|
|
4431
4431
|
namespaceURI: me,
|
|
4432
4432
|
value: Te
|
|
@@ -4466,14 +4466,14 @@ function Ii() {
|
|
|
4466
4466
|
}
|
|
4467
4467
|
Oe("afterSanitizeAttributes", s, null);
|
|
4468
4468
|
}, ji = function A(s) {
|
|
4469
|
-
let
|
|
4469
|
+
let d = null;
|
|
4470
4470
|
const S = Yn(s);
|
|
4471
|
-
for (Oe("beforeSanitizeShadowDOM", s, null);
|
|
4472
|
-
Oe("uponSanitizeShadowNode",
|
|
4471
|
+
for (Oe("beforeSanitizeShadowDOM", s, null); d = S.nextNode(); )
|
|
4472
|
+
Oe("uponSanitizeShadowNode", d, null), !Jn(d) && (d.content instanceof o && A(d.content), er(d));
|
|
4473
4473
|
Oe("afterSanitizeShadowDOM", s, null);
|
|
4474
4474
|
};
|
|
4475
4475
|
return t.sanitize = function(A) {
|
|
4476
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {},
|
|
4476
|
+
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, d = null, S = null, z = null, se = null;
|
|
4477
4477
|
if (rn = !A, rn && (A = "<!-->"), typeof A != "string" && !qn(A))
|
|
4478
4478
|
if (typeof A.toString == "function") {
|
|
4479
4479
|
if (A = A.toString(), typeof A != "string")
|
|
@@ -4489,30 +4489,30 @@ function Ii() {
|
|
|
4489
4489
|
throw lt("root node is forbidden and cannot be sanitized in-place");
|
|
4490
4490
|
}
|
|
4491
4491
|
} else if (A instanceof a)
|
|
4492
|
-
|
|
4492
|
+
d = Xn("<!---->"), S = d.ownerDocument.importNode(A, !0), S.nodeType === ft.element && S.nodeName === "BODY" || S.nodeName === "HTML" ? d = S : d.appendChild(S);
|
|
4493
4493
|
else {
|
|
4494
4494
|
if (!$e && !ge && !Re && // eslint-disable-next-line unicorn/prefer-includes
|
|
4495
4495
|
A.indexOf("<") === -1)
|
|
4496
4496
|
return H && vt ? H.createHTML(A) : A;
|
|
4497
|
-
if (
|
|
4497
|
+
if (d = Xn(A), !d)
|
|
4498
4498
|
return $e ? null : vt ? R : "";
|
|
4499
4499
|
}
|
|
4500
|
-
|
|
4501
|
-
const oe = Yn(nt ? A :
|
|
4500
|
+
d && en && ve(d.firstChild);
|
|
4501
|
+
const oe = Yn(nt ? A : d);
|
|
4502
4502
|
for (; z = oe.nextNode(); )
|
|
4503
4503
|
Jn(z) || (z.content instanceof o && ji(z.content), er(z));
|
|
4504
4504
|
if (nt)
|
|
4505
4505
|
return A;
|
|
4506
4506
|
if ($e) {
|
|
4507
4507
|
if (xt)
|
|
4508
|
-
for (se = V.call(
|
|
4509
|
-
se.appendChild(
|
|
4508
|
+
for (se = V.call(d.ownerDocument); d.firstChild; )
|
|
4509
|
+
se.appendChild(d.firstChild);
|
|
4510
4510
|
else
|
|
4511
|
-
se =
|
|
4512
|
-
return (I.shadowroot || I.shadowrootmode) && (se =
|
|
4511
|
+
se = d;
|
|
4512
|
+
return (I.shadowroot || I.shadowrootmode) && (se = F.call(r, se, !0)), se;
|
|
4513
4513
|
}
|
|
4514
|
-
let me = Re ?
|
|
4515
|
-
return Re && N["!doctype"] &&
|
|
4514
|
+
let me = Re ? d.outerHTML : d.innerHTML;
|
|
4515
|
+
return Re && N["!doctype"] && d.ownerDocument && d.ownerDocument.doctype && d.ownerDocument.doctype.name && ue(Hi, d.ownerDocument.doctype.name) && (me = "<!DOCTYPE " + d.ownerDocument.doctype.name + `>
|
|
4516
4516
|
` + me), ge && Ct([te, he, T], (Te) => {
|
|
4517
4517
|
me = ut(me, Te, " ");
|
|
4518
4518
|
}), H && vt ? H.createHTML(me) : me;
|
|
@@ -4520,11 +4520,11 @@ function Ii() {
|
|
|
4520
4520
|
let A = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4521
4521
|
sn(A), Kt = !0;
|
|
4522
4522
|
}, t.clearConfig = function() {
|
|
4523
|
-
|
|
4524
|
-
}, t.isValidAttribute = function(A, s,
|
|
4525
|
-
|
|
4523
|
+
Fe = null, Kt = !1;
|
|
4524
|
+
}, t.isValidAttribute = function(A, s, d) {
|
|
4525
|
+
Fe || sn({});
|
|
4526
4526
|
const S = ne(A), z = ne(s);
|
|
4527
|
-
return Qn(S, z,
|
|
4527
|
+
return Qn(S, z, d);
|
|
4528
4528
|
}, t.addHook = function(A, s) {
|
|
4529
4529
|
typeof s == "function" && (O[A] = O[A] || [], at(O[A], s));
|
|
4530
4530
|
}, t.removeHook = function(A) {
|
|
@@ -4541,7 +4541,7 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4541
4541
|
(function(n, r) {
|
|
4542
4542
|
e.exports = r();
|
|
4543
4543
|
})(ri, function() {
|
|
4544
|
-
var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", u = "second", a = "minute", c = "hour", l = "day", f = "week", _ = "month", y = "quarter", M = "year", b = "date",
|
|
4544
|
+
var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", u = "second", a = "minute", c = "hour", l = "day", f = "week", _ = "month", y = "quarter", M = "year", b = "date", p = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, G = /\[([^\]]+)]|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, $ = { 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(T) {
|
|
4545
4545
|
var E = ["th", "st", "nd", "rd"], g = T % 100;
|
|
4546
4546
|
return "[" + T + (E[(g - 20) % 10] || E[g] || E[0]) + "]";
|
|
4547
4547
|
} }, w = function(T, E, g) {
|
|
@@ -4580,14 +4580,14 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4580
4580
|
U[N] = E, h = N;
|
|
4581
4581
|
}
|
|
4582
4582
|
return !v && h && (R = h), h || !v && R;
|
|
4583
|
-
},
|
|
4583
|
+
}, F = function(T, E) {
|
|
4584
4584
|
if (V(T))
|
|
4585
4585
|
return T.clone();
|
|
4586
4586
|
var g = typeof E == "object" ? E : {};
|
|
4587
4587
|
return g.date = T, g.args = arguments, new te(g);
|
|
4588
4588
|
}, O = H;
|
|
4589
4589
|
O.l = Q, O.i = V, O.w = function(T, E) {
|
|
4590
|
-
return
|
|
4590
|
+
return F(T, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
|
|
4591
4591
|
};
|
|
4592
4592
|
var te = function() {
|
|
4593
4593
|
function T(g) {
|
|
@@ -4618,14 +4618,14 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4618
4618
|
}, E.$utils = function() {
|
|
4619
4619
|
return O;
|
|
4620
4620
|
}, E.isValid = function() {
|
|
4621
|
-
return this.$d.toString() !==
|
|
4621
|
+
return this.$d.toString() !== p;
|
|
4622
4622
|
}, E.isSame = function(g, v) {
|
|
4623
|
-
var h =
|
|
4623
|
+
var h = F(g);
|
|
4624
4624
|
return this.startOf(v) <= h && h <= this.endOf(v);
|
|
4625
4625
|
}, E.isAfter = function(g, v) {
|
|
4626
|
-
return
|
|
4626
|
+
return F(g) < this.startOf(v);
|
|
4627
4627
|
}, E.isBefore = function(g, v) {
|
|
4628
|
-
return this.endOf(v) <
|
|
4628
|
+
return this.endOf(v) < F(g);
|
|
4629
4629
|
}, E.$g = function(g, v, h) {
|
|
4630
4630
|
return O.u(g) ? this[v] : this.set(h, g);
|
|
4631
4631
|
}, E.unix = function() {
|
|
@@ -4677,7 +4677,7 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4677
4677
|
var h, x = this;
|
|
4678
4678
|
g = Number(g);
|
|
4679
4679
|
var L = O.p(v), N = function(q) {
|
|
4680
|
-
var m =
|
|
4680
|
+
var m = F(x);
|
|
4681
4681
|
return O.w(m.date(m.date() + Math.round(q * g)), x);
|
|
4682
4682
|
};
|
|
4683
4683
|
if (L === _)
|
|
@@ -4695,7 +4695,7 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4695
4695
|
}, E.format = function(g) {
|
|
4696
4696
|
var v = this, h = this.$locale();
|
|
4697
4697
|
if (!this.isValid())
|
|
4698
|
-
return h.invalidDate ||
|
|
4698
|
+
return h.invalidDate || p;
|
|
4699
4699
|
var x = g || "YYYY-MM-DDTHH:mm:ssZ", L = O.z(this), N = this.$H, j = this.$m, I = this.$M, q = h.weekdays, m = h.months, k = h.meridiem, ee = function(ie, ye, ge, Le) {
|
|
4700
4700
|
return ie && (ie[ye] || ie(v, x)) || ge[ye].slice(0, Le);
|
|
4701
4701
|
}, K = function(ie) {
|
|
@@ -4704,7 +4704,7 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4704
4704
|
var Le = ie < 12 ? "AM" : "PM";
|
|
4705
4705
|
return ge ? Le.toLowerCase() : Le;
|
|
4706
4706
|
};
|
|
4707
|
-
return x.replace(
|
|
4707
|
+
return x.replace(G, function(ie, ye) {
|
|
4708
4708
|
return ye || function(ge) {
|
|
4709
4709
|
switch (ge) {
|
|
4710
4710
|
case "YY":
|
|
@@ -4762,7 +4762,7 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4762
4762
|
}, E.utcOffset = function() {
|
|
4763
4763
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4764
4764
|
}, E.diff = function(g, v, h) {
|
|
4765
|
-
var x, L = this, N = O.p(v), j =
|
|
4765
|
+
var x, L = this, N = O.p(v), j = F(g), I = (j.utcOffset() - this.utcOffset()) * r, q = this - j, m = function() {
|
|
4766
4766
|
return O.m(L, j);
|
|
4767
4767
|
};
|
|
4768
4768
|
switch (N) {
|
|
@@ -4815,15 +4815,15 @@ var Rr = Ii(), Pi = { exports: {} };
|
|
|
4815
4815
|
return this.$d.toUTCString();
|
|
4816
4816
|
}, T;
|
|
4817
4817
|
}(), he = te.prototype;
|
|
4818
|
-
return
|
|
4818
|
+
return F.prototype = he, [["$ms", o], ["$s", u], ["$m", a], ["$H", c], ["$W", l], ["$M", _], ["$y", M], ["$D", b]].forEach(function(T) {
|
|
4819
4819
|
he[T[1]] = function(E) {
|
|
4820
4820
|
return this.$g(E, T[0], T[1]);
|
|
4821
4821
|
};
|
|
4822
|
-
}),
|
|
4823
|
-
return T.$i || (T(E, te,
|
|
4824
|
-
},
|
|
4825
|
-
return
|
|
4826
|
-
},
|
|
4822
|
+
}), F.extend = function(T, E) {
|
|
4823
|
+
return T.$i || (T(E, te, F), T.$i = !0), F;
|
|
4824
|
+
}, F.locale = Q, F.isDayjs = V, F.unix = function(T) {
|
|
4825
|
+
return F(1e3 * T);
|
|
4826
|
+
}, F.en = U[R], F.Ls = U, F.p = {}, F;
|
|
4827
4827
|
});
|
|
4828
4828
|
})(Pi);
|
|
4829
4829
|
var Na = Pi.exports;
|
|
@@ -4836,45 +4836,45 @@ var Ri = { exports: {} };
|
|
|
4836
4836
|
var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
|
|
4837
4837
|
return function(o, u, a) {
|
|
4838
4838
|
var c = u.prototype;
|
|
4839
|
-
a.utc = function(
|
|
4840
|
-
var C = { date:
|
|
4839
|
+
a.utc = function(p) {
|
|
4840
|
+
var C = { date: p, utc: !0, args: arguments };
|
|
4841
4841
|
return new u(C);
|
|
4842
|
-
}, c.utc = function(
|
|
4842
|
+
}, c.utc = function(p) {
|
|
4843
4843
|
var C = a(this.toDate(), { locale: this.$L, utc: !0 });
|
|
4844
|
-
return
|
|
4844
|
+
return p ? C.add(this.utcOffset(), n) : C;
|
|
4845
4845
|
}, c.local = function() {
|
|
4846
4846
|
return a(this.toDate(), { locale: this.$L, utc: !1 });
|
|
4847
4847
|
};
|
|
4848
4848
|
var l = c.parse;
|
|
4849
|
-
c.parse = function(
|
|
4850
|
-
|
|
4849
|
+
c.parse = function(p) {
|
|
4850
|
+
p.utc && (this.$u = !0), this.$utils().u(p.$offset) || (this.$offset = p.$offset), l.call(this, p);
|
|
4851
4851
|
};
|
|
4852
4852
|
var f = c.init;
|
|
4853
4853
|
c.init = function() {
|
|
4854
4854
|
if (this.$u) {
|
|
4855
|
-
var
|
|
4856
|
-
this.$y =
|
|
4855
|
+
var p = this.$d;
|
|
4856
|
+
this.$y = p.getUTCFullYear(), this.$M = p.getUTCMonth(), this.$D = p.getUTCDate(), this.$W = p.getUTCDay(), this.$H = p.getUTCHours(), this.$m = p.getUTCMinutes(), this.$s = p.getUTCSeconds(), this.$ms = p.getUTCMilliseconds();
|
|
4857
4857
|
} else
|
|
4858
4858
|
f.call(this);
|
|
4859
4859
|
};
|
|
4860
4860
|
var _ = c.utcOffset;
|
|
4861
|
-
c.utcOffset = function(
|
|
4862
|
-
var
|
|
4863
|
-
if (
|
|
4864
|
-
return this.$u ? 0 :
|
|
4865
|
-
if (typeof
|
|
4861
|
+
c.utcOffset = function(p, C) {
|
|
4862
|
+
var G = this.$utils().u;
|
|
4863
|
+
if (G(p))
|
|
4864
|
+
return this.$u ? 0 : G(this.$offset) ? _.call(this) : this.$offset;
|
|
4865
|
+
if (typeof p == "string" && (p = function(R) {
|
|
4866
4866
|
R === void 0 && (R = "");
|
|
4867
4867
|
var U = R.match(r);
|
|
4868
4868
|
if (!U)
|
|
4869
4869
|
return null;
|
|
4870
4870
|
var Y = ("" + U[0]).match(i) || ["-", 0, 0], V = Y[0], Q = 60 * +Y[1] + +Y[2];
|
|
4871
4871
|
return Q === 0 ? 0 : V === "+" ? Q : -Q;
|
|
4872
|
-
}(
|
|
4872
|
+
}(p), p === null))
|
|
4873
4873
|
return this;
|
|
4874
|
-
var $ = Math.abs(
|
|
4874
|
+
var $ = Math.abs(p) <= 16 ? 60 * p : p, w = this;
|
|
4875
4875
|
if (C)
|
|
4876
|
-
return w.$offset = $, w.$u =
|
|
4877
|
-
if (
|
|
4876
|
+
return w.$offset = $, w.$u = p === 0, w;
|
|
4877
|
+
if (p !== 0) {
|
|
4878
4878
|
var H = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4879
4879
|
(w = this.local().add($ + H, n)).$offset = $, w.$x.$localOffset = H;
|
|
4880
4880
|
} else
|
|
@@ -4882,12 +4882,12 @@ var Ri = { exports: {} };
|
|
|
4882
4882
|
return w;
|
|
4883
4883
|
};
|
|
4884
4884
|
var y = c.format;
|
|
4885
|
-
c.format = function(
|
|
4886
|
-
var C =
|
|
4885
|
+
c.format = function(p) {
|
|
4886
|
+
var C = p || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
4887
4887
|
return y.call(this, C);
|
|
4888
4888
|
}, c.valueOf = function() {
|
|
4889
|
-
var
|
|
4890
|
-
return this.$d.valueOf() - 6e4 *
|
|
4889
|
+
var p = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
4890
|
+
return this.$d.valueOf() - 6e4 * p;
|
|
4891
4891
|
}, c.isUTC = function() {
|
|
4892
4892
|
return !!this.$u;
|
|
4893
4893
|
}, c.toISOString = function() {
|
|
@@ -4896,15 +4896,15 @@ var Ri = { exports: {} };
|
|
|
4896
4896
|
return this.toDate().toUTCString();
|
|
4897
4897
|
};
|
|
4898
4898
|
var M = c.toDate;
|
|
4899
|
-
c.toDate = function(
|
|
4900
|
-
return
|
|
4899
|
+
c.toDate = function(p) {
|
|
4900
|
+
return p === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : M.call(this);
|
|
4901
4901
|
};
|
|
4902
4902
|
var b = c.diff;
|
|
4903
|
-
c.diff = function(
|
|
4904
|
-
if (
|
|
4905
|
-
return b.call(this,
|
|
4906
|
-
var $ = this.local(), w = a(
|
|
4907
|
-
return b.call($, w, C,
|
|
4903
|
+
c.diff = function(p, C, G) {
|
|
4904
|
+
if (p && this.$u === p.$u)
|
|
4905
|
+
return b.call(this, p, C, G);
|
|
4906
|
+
var $ = this.local(), w = a(p).local();
|
|
4907
|
+
return b.call($, w, C, G);
|
|
4908
4908
|
};
|
|
4909
4909
|
};
|
|
4910
4910
|
});
|
|
@@ -4919,6 +4919,8 @@ function Pa(e, t) {
|
|
|
4919
4919
|
}
|
|
4920
4920
|
}
|
|
4921
4921
|
function Ra(e, t) {
|
|
4922
|
+
if (!e || !t)
|
|
4923
|
+
return;
|
|
4922
4924
|
const n = new URL(t);
|
|
4923
4925
|
fetch(n.href).then((r) => r.text()).then((r) => {
|
|
4924
4926
|
const i = document.createElement("style");
|
|
@@ -4936,14 +4938,14 @@ function Da(e, t, n) {
|
|
|
4936
4938
|
}
|
|
4937
4939
|
}
|
|
4938
4940
|
function Ba(e) {
|
|
4939
|
-
Yi(e, "svelte-
|
|
4941
|
+
Yi(e, "svelte-1kolxtb", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:115;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.3));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border-radius:var(--emw--border-radius-medium, 10px);width:400px;position:relative;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3)}.CashierSessionExpirationModalWrapper::before{content:"";position:absolute;inset:0;opacity:0.15;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;height:var(--emw--header-height, 40px);background-color:var(--emw--color-gray-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0}.CashierSessionExpirationModalHeaderTitle{display:flex;text-align:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis;line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:20px}.CashierSessionExpirationModalContainer{padding:var(--emw--spacing-large, 20px)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--emw--spacing-large, 20px)}.CashierSessionExpiration button{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #f9c405)}.CashierSessionExpirationTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierSessionExpirationText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 12px);line-height:120%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #f9c405)}.CashierErrorButton:hover{background:var(--emw--color-active, #fecd1c)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorButton:disabled{filter:saturate(50%);opacity:0.5;cursor:auto;pointer-events:none}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}');
|
|
4940
4942
|
}
|
|
4941
|
-
const $a = (e) => ({}), $r = (e) => ({}), Ua = (e) => ({}), Ur = (e) => ({}), ka = (e) => ({}), kr = (e) => ({}),
|
|
4942
|
-
function
|
|
4943
|
+
const $a = (e) => ({}), $r = (e) => ({}), Ua = (e) => ({}), Ur = (e) => ({}), ka = (e) => ({}), kr = (e) => ({}), Ga = (e) => ({}), Gr = (e) => ({ class: "CashierSessionExpirationIcon" });
|
|
4944
|
+
function Fr(e) {
|
|
4943
4945
|
let t, n, r, i, o, u = (
|
|
4944
4946
|
/*$_*/
|
|
4945
4947
|
e[8]("sessionExpirationHeader") + ""
|
|
4946
|
-
), a, c, l, f, _, y, M, b,
|
|
4948
|
+
), a, c, l, f, _, y, M, b, p, C, G, $, w, H, R;
|
|
4947
4949
|
const U = (
|
|
4948
4950
|
/*#slots*/
|
|
4949
4951
|
e[22].icon
|
|
@@ -4952,17 +4954,17 @@ function Gr(e) {
|
|
|
4952
4954
|
e,
|
|
4953
4955
|
/*$$scope*/
|
|
4954
4956
|
e[21],
|
|
4955
|
-
|
|
4956
|
-
), V = Y ||
|
|
4957
|
+
Gr
|
|
4958
|
+
), V = Y || Fa(e), Q = (
|
|
4957
4959
|
/*#slots*/
|
|
4958
4960
|
e[22].title
|
|
4959
|
-
),
|
|
4961
|
+
), F = Nt(
|
|
4960
4962
|
Q,
|
|
4961
4963
|
e,
|
|
4962
4964
|
/*$$scope*/
|
|
4963
4965
|
e[21],
|
|
4964
4966
|
kr
|
|
4965
|
-
), O =
|
|
4967
|
+
), O = F || ja(e), te = (
|
|
4966
4968
|
/*#slots*/
|
|
4967
4969
|
e[22].text
|
|
4968
4970
|
), he = Nt(
|
|
@@ -4978,7 +4980,7 @@ function Gr(e) {
|
|
|
4978
4980
|
h[6] ? 0 : 1
|
|
4979
4981
|
);
|
|
4980
4982
|
}
|
|
4981
|
-
return
|
|
4983
|
+
return p = v(e), C = g[p] = E[p](e), {
|
|
4982
4984
|
c() {
|
|
4983
4985
|
t = re("div"), n = re("div"), r = re("div"), i = re("div"), o = re("div"), a = Ke(u), c = ht(), l = re("div"), f = re("div"), V && V.c(), _ = ht(), O && O.c(), y = ht(), T && T.c(), M = ht(), b = re("button"), C.c(), W(o, "class", "CashierSessionExpirationModalHeaderTitle"), W(i, "class", "CashierSessionExpirationModalHeader"), W(b, "type", "button"), b.disabled = /*showLoaderButton*/
|
|
4984
4986
|
e[6], W(b, "class", "CashierSessionExpirationButton"), W(f, "class", "CashierSessionExpiration"), W(l, "class", "CashierSessionExpirationModalContainer"), W(r, "class", "CashierSessionExpirationModalWrapper"), W(n, "class", "CashierSessionExpirationModalWindow"), W(n, "id", "CashierSessionExpirationModal"), Ye(() => (
|
|
@@ -4987,7 +4989,7 @@ function Gr(e) {
|
|
|
4987
4989
|
));
|
|
4988
4990
|
},
|
|
4989
4991
|
m(h, x) {
|
|
4990
|
-
Ce(h, t, x), J(t, n), J(n, r), J(r, i), J(i, o), J(o, a), J(r, c), J(r, l), J(l, f), V && V.m(f, null), J(f, _), O && O.m(f, null), J(f, y), T && T.m(f, null), J(f, M), J(f, b), g[
|
|
4992
|
+
Ce(h, t, x), J(t, n), J(n, r), J(r, i), J(i, o), J(o, a), J(r, c), J(r, l), J(l, f), V && V.m(f, null), J(f, _), O && O.m(f, null), J(f, y), T && T.m(f, null), J(f, M), J(f, b), g[p].m(b, null), e[23](f), G = Qi(
|
|
4991
4993
|
n,
|
|
4992
4994
|
/*div5_elementresize_handler*/
|
|
4993
4995
|
e[24].bind(n)
|
|
@@ -5021,16 +5023,16 @@ function Gr(e) {
|
|
|
5021
5023
|
/*$$scope*/
|
|
5022
5024
|
e[21],
|
|
5023
5025
|
x,
|
|
5024
|
-
|
|
5026
|
+
Ga
|
|
5025
5027
|
) : Pt(
|
|
5026
5028
|
/*$$scope*/
|
|
5027
5029
|
e[21]
|
|
5028
5030
|
),
|
|
5029
|
-
|
|
5031
|
+
Gr
|
|
5030
5032
|
) : V && V.p && (!w || x[0] & /*assetsurl*/
|
|
5031
|
-
8) && V.p(e, w ? x : [-1, -1]),
|
|
5033
|
+
8) && V.p(e, w ? x : [-1, -1]), F ? F.p && (!w || x[0] & /*$$scope*/
|
|
5032
5034
|
2097152) && It(
|
|
5033
|
-
|
|
5035
|
+
F,
|
|
5034
5036
|
Q,
|
|
5035
5037
|
e,
|
|
5036
5038
|
/*$$scope*/
|
|
@@ -5067,10 +5069,10 @@ function Gr(e) {
|
|
|
5067
5069
|
Ur
|
|
5068
5070
|
) : T && T.p && (!w || x[0] & /*$_, timeLeft*/
|
|
5069
5071
|
384) && T.p(e, w ? x : [-1, -1]);
|
|
5070
|
-
let L =
|
|
5071
|
-
|
|
5072
|
+
let L = p;
|
|
5073
|
+
p = v(e), p === L ? g[p].p(e, x) : (ei(), Ne(g[L], 1, 1, () => {
|
|
5072
5074
|
g[L] = null;
|
|
5073
|
-
}), ti(), C = g[
|
|
5075
|
+
}), ti(), C = g[p], C ? C.p(e, x) : (C = g[p] = E[p](e), C.c()), Se(C, 1), C.m(b, null)), (!w || x[0] & /*showLoaderButton*/
|
|
5074
5076
|
64) && (b.disabled = /*showLoaderButton*/
|
|
5075
5077
|
e[6]);
|
|
5076
5078
|
},
|
|
@@ -5089,7 +5091,7 @@ function Gr(e) {
|
|
|
5089
5091
|
) }, !1)), $.run(0)), w = !1;
|
|
5090
5092
|
},
|
|
5091
5093
|
d(h) {
|
|
5092
|
-
h && be(t), V && V.d(h), O && O.d(h), T && T.d(h), g[
|
|
5094
|
+
h && be(t), V && V.d(h), O && O.d(h), T && T.d(h), g[p].d(), e[23](null), G(), h && $ && $.end(), e[25](null), H = !1, Ie(R);
|
|
5093
5095
|
}
|
|
5094
5096
|
};
|
|
5095
5097
|
}
|
|
@@ -5113,7 +5115,7 @@ function jr(e) {
|
|
|
5113
5115
|
}
|
|
5114
5116
|
};
|
|
5115
5117
|
}
|
|
5116
|
-
function
|
|
5118
|
+
function Fa(e) {
|
|
5117
5119
|
let t, n = (
|
|
5118
5120
|
/*assetsurl*/
|
|
5119
5121
|
e[3] && jr(e)
|
|
@@ -5255,8 +5257,8 @@ function Va(e) {
|
|
|
5255
5257
|
256 && u !== (u = /*$_*/
|
|
5256
5258
|
c[8]("sessionExpirationLoadingButton") + "") && Zt(a, u);
|
|
5257
5259
|
},
|
|
5258
|
-
i:
|
|
5259
|
-
o:
|
|
5260
|
+
i: pe,
|
|
5261
|
+
o: pe,
|
|
5260
5262
|
d(c) {
|
|
5261
5263
|
c && be(t);
|
|
5262
5264
|
}
|
|
@@ -5287,7 +5289,7 @@ function Xa(e) {
|
|
|
5287
5289
|
function Ya(e) {
|
|
5288
5290
|
let t, n, r = (
|
|
5289
5291
|
/*show*/
|
|
5290
|
-
e[5] &&
|
|
5292
|
+
e[5] && Fr(e)
|
|
5291
5293
|
);
|
|
5292
5294
|
return {
|
|
5293
5295
|
c() {
|
|
@@ -5299,7 +5301,7 @@ function Ya(e) {
|
|
|
5299
5301
|
p(i, o) {
|
|
5300
5302
|
/*show*/
|
|
5301
5303
|
i[5] ? r ? (r.p(i, o), o[0] & /*show*/
|
|
5302
|
-
32 && Se(r, 1)) : (r =
|
|
5304
|
+
32 && Se(r, 1)) : (r = Fr(i), r.c(), Se(r, 1), r.m(t.parentNode, t)) : r && (ei(), Ne(r, 1, 1, () => {
|
|
5303
5305
|
r = null;
|
|
5304
5306
|
}), ti());
|
|
5305
5307
|
},
|
|
@@ -5320,13 +5322,13 @@ function qa(e, t, n) {
|
|
|
5320
5322
|
or(e, Br, (m) => n(20, r = m)), or(e, ca, (m) => n(8, i = m));
|
|
5321
5323
|
let { $$slots: o = {}, $$scope: u } = t;
|
|
5322
5324
|
Dr.extend(Ia);
|
|
5323
|
-
let { clientstyling: a = "" } = t, { clientstylingurl: c = "" } = t, { width: l } = t, { height: f } = t, { duration: _ = 200 } = t, { assetsurl: y = "" } = t, { lang: M = "en" } = t, { translationurl: b = "" } = t, { endpoint:
|
|
5325
|
+
let { clientstyling: a = "" } = t, { clientstylingurl: c = "" } = t, { width: l } = t, { height: f } = t, { duration: _ = 200 } = t, { assetsurl: y = "" } = t, { lang: M = "en" } = t, { translationurl: b = "" } = t, { endpoint: p } = t, { currency: C } = t, { customerid: G } = t, { selectedpaymentmethodname: $ } = t, { mbsource: w = "" } = t, H, R = !1, U = !1, Y, V, Q, F, O;
|
|
5324
5326
|
var te;
|
|
5325
5327
|
(function(m) {
|
|
5326
5328
|
m.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", m.Success = "Success", m.JwtTokenError = "JwtTokenError";
|
|
5327
5329
|
})(te || (te = {}));
|
|
5328
5330
|
const he = (m) => {
|
|
5329
|
-
m.data.type === "StartSessionCountdown" && (
|
|
5331
|
+
m.data.type === "StartSessionCountdown" && (F = m.data.paymentMethodName);
|
|
5330
5332
|
}, T = (m) => {
|
|
5331
5333
|
try {
|
|
5332
5334
|
return JSON.parse(atob(m.split(".")[1]));
|
|
@@ -5356,14 +5358,14 @@ function qa(e, t, n) {
|
|
|
5356
5358
|
}, h = () => {
|
|
5357
5359
|
if (U)
|
|
5358
5360
|
return;
|
|
5359
|
-
const m = new URL(`${
|
|
5361
|
+
const m = new URL(`${p}/v1/player/${G}/payment/GetPaymentMethod`), k = new Headers();
|
|
5360
5362
|
n(6, U = !0), k.append("accept", "application/json"), k.append("Content-Type", "application/json"), k.append("X-Client-Request-Timestamp", Dr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
5361
5363
|
const ee = {
|
|
5362
5364
|
method: "POST",
|
|
5363
5365
|
mode: "cors",
|
|
5364
5366
|
headers: k,
|
|
5365
5367
|
body: JSON.stringify({
|
|
5366
|
-
PaymentMethodName:
|
|
5368
|
+
PaymentMethodName: F || $,
|
|
5367
5369
|
Currency: C,
|
|
5368
5370
|
XPaymentSessionToken: r
|
|
5369
5371
|
})
|
|
@@ -5426,7 +5428,7 @@ function qa(e, t, n) {
|
|
|
5426
5428
|
});
|
|
5427
5429
|
}
|
|
5428
5430
|
return e.$$set = (m) => {
|
|
5429
|
-
"clientstyling" in m && n(11, a = m.clientstyling), "clientstylingurl" in m && n(12, c = m.clientstylingurl), "width" in m && n(0, l = m.width), "height" in m && n(1, f = m.height), "duration" in m && n(2, _ = m.duration), "assetsurl" in m && n(3, y = m.assetsurl), "lang" in m && n(13, M = m.lang), "translationurl" in m && n(14, b = m.translationurl), "endpoint" in m && n(15,
|
|
5431
|
+
"clientstyling" in m && n(11, a = m.clientstyling), "clientstylingurl" in m && n(12, c = m.clientstylingurl), "width" in m && n(0, l = m.width), "height" in m && n(1, f = m.height), "duration" in m && n(2, _ = m.duration), "assetsurl" in m && n(3, y = m.assetsurl), "lang" in m && n(13, M = m.lang), "translationurl" in m && n(14, b = m.translationurl), "endpoint" in m && n(15, p = m.endpoint), "currency" in m && n(16, C = m.currency), "customerid" in m && n(17, G = m.customerid), "selectedpaymentmethodname" in m && n(18, $ = m.selectedpaymentmethodname), "mbsource" in m && n(19, w = m.mbsource), "$$scope" in m && n(21, u = m.$$scope);
|
|
5430
5432
|
}, e.$$.update = () => {
|
|
5431
5433
|
e.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
5432
5434
|
1048576 && g(r), e.$$.dirty[0] & /*lang*/
|
|
@@ -5451,9 +5453,9 @@ function qa(e, t, n) {
|
|
|
5451
5453
|
c,
|
|
5452
5454
|
M,
|
|
5453
5455
|
b,
|
|
5454
|
-
|
|
5456
|
+
p,
|
|
5455
5457
|
C,
|
|
5456
|
-
|
|
5458
|
+
G,
|
|
5457
5459
|
$,
|
|
5458
5460
|
w,
|
|
5459
5461
|
r,
|