@everymatrix/cashier-page 1.93.60 → 1.93.65
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/{CashierCarousel-DMrMmClP.cjs → CashierCarousel-BM-KceW7.cjs} +6 -6
- package/components/{CashierCarousel-DwrGzk7c.js → CashierCarousel-CwYg_hFh.js} +1004 -967
- package/components/{CashierCarousel-DJXsZKF9.js → CashierCarousel-DcUyAcwc.js} +950 -913
- package/components/CashierError-BeL8YqKx.cjs +1 -0
- package/components/CashierError-CfKKb6JV.js +831 -0
- package/components/CashierError-dD8Ujs5i.js +847 -0
- package/components/CashierHeader-BcMI_JFJ.cjs +1 -0
- package/components/CashierHeader-C7A_llUb.js +409 -0
- package/components/CashierHeader-DHBbF3Fw.js +409 -0
- package/components/{CashierIframeRedirect-CF8dL6ee.js → CashierIframeRedirect-BUfajkxx.js} +107 -95
- package/components/CashierIframeRedirect-cI2gXg_a.cjs +1 -0
- package/components/{CashierIframeRedirect-CbC9sVb1.js → CashierIframeRedirect-pWxVJsqa.js} +107 -95
- package/components/{CashierMethodDetails-DU55y4Rq.js → CashierMethodDetails-CyiT2xsa.js} +4410 -3877
- package/components/CashierMethodDetails-p9l4Iluu.cjs +85 -0
- package/components/{CashierMethodDetails-BrlBDyIX.js → CashierMethodDetails-vTXZEUgh.js} +4327 -3794
- package/components/{CashierMethodsList-CsZkLAGV.js → CashierMethodsList-By3SBa7K.js} +307 -264
- package/components/CashierMethodsList-CUErZLfD.cjs +1 -0
- package/components/{CashierMethodsList-DuiE7pDZ.js → CashierMethodsList-CZdQjuPQ.js} +308 -265
- package/components/{CashierModal-ZV_9oeml.js → CashierModal-CkZf2u_p.js} +20 -20
- package/components/{CashierModal-BLrymidc.cjs → CashierModal-DCXxFKAW.cjs} +1 -1
- package/components/{CashierModal-CV1Fn4BP.js → CashierModal-Sl2X44Qr.js} +19 -19
- package/components/{CashierNotifications-C_xReVni.js → CashierNotifications-6zJqvaK5.js} +18 -18
- package/components/{CashierNotifications-B8bRZMac.cjs → CashierNotifications-BJ9m5MR5.cjs} +1 -1
- package/components/{CashierNotifications-DHKh64xU.js → CashierNotifications-CI9LFS0z.js} +18 -18
- package/components/CashierPage-9HFOkmPt.cjs +1 -0
- package/components/CashierPage-CBLhCGtM.js +4851 -0
- package/components/CashierPage-ChksZ7x2.js +4811 -0
- package/components/CashierReceiptPage-C9vc8Tdq.js +1892 -0
- package/components/CashierReceiptPage-D7uA7grn.cjs +26 -0
- package/components/CashierReceiptPage-DiyMd0oq.js +1912 -0
- package/components/{CashierSessionExpirationModal-DlbWG4xD.js → CashierSessionExpirationModal-DsVCou9W.js} +514 -487
- package/components/CashierSessionExpirationModal-TeGdT9SY.cjs +2 -0
- package/components/{CashierSessionExpirationModal-C0KV3SHR.js → CashierSessionExpirationModal-u83AoXvo.js} +490 -463
- package/components/{CashierSpinner-D3HhhmOb.js → CashierSpinner-CxccWP9P.js} +9 -9
- package/components/{CashierSpinner-DKYO0FtD.cjs → CashierSpinner-D6QJrkuJ.cjs} +1 -1
- package/components/{CashierSpinner-DyemUXs_.js → CashierSpinner-h23y-7eM.js} +9 -9
- package/components/CashierStepUp-BaKfagWu.js +1204 -0
- package/components/CashierStepUp-Bwo5aVPT.cjs +1 -0
- package/components/CashierStepUp-cTf7L6t4.js +1165 -0
- package/components/CashierTransactionHistory-Dd5ydbYM.js +1394 -0
- package/components/CashierTransactionHistory-Dx7mVKOh.cjs +1 -0
- package/components/CashierTransactionHistory-JR1DrsVh.js +1394 -0
- package/components/CashierVerifications-0enYZZLD.js +683 -0
- package/components/CashierVerifications-C_73oFvm.cjs +1 -0
- package/components/CashierVerifications-clMzLemr.js +687 -0
- package/components/{TxnStatusIcon-ssLhQR5N.js → TxnStatusIcon-BdmgpoFK.js} +5 -5
- package/components/{TxnStatusIcon-CWkyVMIU.cjs → TxnStatusIcon-BuY_lIOK.cjs} +1 -1
- package/components/{TxnStatusIcon-BwvCa-Ig.js → TxnStatusIcon-DdHua6_u.js} +5 -5
- package/components/{TxnTypeIcons-CTQXT_j5.cjs → TxnTypeIcons-BOR9sqs3.cjs} +1 -1
- package/components/{TxnTypeIcons-B84nFRMh.js → TxnTypeIcons-Dj4BEiZD.js} +1 -1
- package/components/{TxnTypeIcons-DhwUYw-o.js → TxnTypeIcons-GA3AS07V.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierError-BL_rmfvV.cjs +0 -1
- package/components/CashierError-Bqtyy8-q.js +0 -638
- package/components/CashierError-D054pa3k.js +0 -654
- package/components/CashierHeader-BNDmkX5f.js +0 -397
- package/components/CashierHeader-DJYOdmdi.js +0 -397
- package/components/CashierHeader-PvXFHPzQ.cjs +0 -1
- package/components/CashierIframeRedirect-C0AQ3pLh.cjs +0 -1
- package/components/CashierMethodDetails-DLCEFTpO.cjs +0 -85
- package/components/CashierMethodsList-D6dEg4zv.cjs +0 -1
- package/components/CashierPage-BtrYOlrz.js +0 -4584
- package/components/CashierPage-XewFlLFL.js +0 -4550
- package/components/CashierPage-ZwlEVQK1.cjs +0 -1
- package/components/CashierReceiptPage-BHUK-JH2.js +0 -1784
- package/components/CashierReceiptPage-Ur_cm9GB.cjs +0 -26
- package/components/CashierReceiptPage-ooyhUTMT.js +0 -1764
- package/components/CashierSessionExpirationModal-WrH-ardc.cjs +0 -2
- package/components/CashierStepUp-CSZd5C7z.js +0 -1130
- package/components/CashierStepUp-CmTcFbG9.js +0 -1091
- package/components/CashierStepUp-DKytvkqu.cjs +0 -1
- package/components/CashierTransactionHistory-DSJAL5H2.js +0 -1341
- package/components/CashierTransactionHistory-Dk0b66AC.cjs +0 -1
- package/components/CashierTransactionHistory-Dt-gnylu.js +0 -1341
- package/components/CashierVerifications-BUcxHXrG.js +0 -627
- package/components/CashierVerifications-Byj-MslV.js +0 -623
- package/components/CashierVerifications-f5t-nR--.cjs +0 -1
|
@@ -1,55 +1,82 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import {
|
|
3
|
-
import { d as
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { a as Cn, $ as vn, i as Ln, b as Mn, c as Rn, S as kn, d as On, s as Dn, f as Z, e as Nn, h as Me, t as Ae, j as be, a6 as fn, a7 as mn, m as Re, o as R, r as Ut, v as In, ag as Fn, g as et, a2 as Pn, aa as Bt, L as zt, x as We, u as tt, k as nt, l as it, q as u, n as p, a8 as Un, z as Ke, X as se, p as we, y as Ye, A as Ht, w as Bn, H as Gt, B as Wt, D as zn, E as Hn, F as Gn, G as Wn } from "./CashierCarousel-CwYg_hFh.js";
|
|
2
|
+
import { a as Yt } from "./CashierPage-CBLhCGtM.js";
|
|
3
|
+
import { d as jt, u as Yn, x as Xt } from "./CashierMethodDetails-CyiT2xsa.js";
|
|
4
|
+
const je = typeof window != "undefined" && window.__EMWCashierI18n || { dictionary: Rn, locale: Mn, init: Ln, addMessages: Cn, format: vn };
|
|
5
|
+
typeof window != "undefined" && !window.__EMWCashierI18n && (window.__EMWCashierI18n = je);
|
|
6
|
+
const jn = je.format;
|
|
7
|
+
function Vt(n, t) {
|
|
8
|
+
je.addMessages(n, t);
|
|
6
9
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
10
|
+
function Xn(n) {
|
|
11
|
+
je.init({
|
|
9
12
|
fallbackLocale: "en"
|
|
10
|
-
}),
|
|
13
|
+
}), je.locale.set(n);
|
|
11
14
|
}
|
|
12
|
-
const
|
|
15
|
+
const qt = {
|
|
13
16
|
en: {
|
|
14
|
-
sessionExpirationHeader: "Session Warning",
|
|
15
|
-
sessionExpirationTitle: "Your session is about to expire!",
|
|
16
|
-
sessionExpirationGeneralText: "Your session will automatically terminate in <b>{second} seconds</b>.",
|
|
17
|
-
sessionExpirationGeneralButton: "Continue session",
|
|
18
|
-
sessionExpirationLoadingButton: "Processing...",
|
|
19
|
-
sessionExpirationEnd: "End session"
|
|
17
|
+
"FE.sessionExpirationHeader": "Session Warning",
|
|
18
|
+
"FE.sessionExpirationTitle": "Your session is about to expire!",
|
|
19
|
+
"FE.sessionExpirationGeneralText": "Your session will automatically terminate in <b>{second} seconds</b>.",
|
|
20
|
+
"FE.sessionExpirationGeneralButton": "Continue session",
|
|
21
|
+
"FE.sessionExpirationLoadingButton": "Processing...",
|
|
22
|
+
"FE.sessionExpirationEnd": "End session"
|
|
20
23
|
},
|
|
21
24
|
tr: {
|
|
22
|
-
sessionExpirationHeader: "Oturum Uyarısı",
|
|
23
|
-
sessionExpirationTitle: "Oturumunuzun süresi dolmak üzere!",
|
|
24
|
-
sessionExpirationGeneralText: "Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",
|
|
25
|
-
sessionExpirationGeneralButton: "DEVAM ET",
|
|
26
|
-
sessionExpirationLoadingButton: "İŞLEME...",
|
|
27
|
-
sessionExpirationEnd: "Oturumu sonlandır"
|
|
25
|
+
"FE.sessionExpirationHeader": "Oturum Uyarısı",
|
|
26
|
+
"FE.sessionExpirationTitle": "Oturumunuzun süresi dolmak üzere!",
|
|
27
|
+
"FE.sessionExpirationGeneralText": "Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",
|
|
28
|
+
"FE.sessionExpirationGeneralButton": "DEVAM ET",
|
|
29
|
+
"FE.sessionExpirationLoadingButton": "İŞLEME...",
|
|
30
|
+
"FE.sessionExpirationEnd": "Oturumu sonlandır"
|
|
28
31
|
},
|
|
29
32
|
fr: {
|
|
30
|
-
sessionExpirationHeader: "Avertissement de session",
|
|
31
|
-
sessionExpirationTitle: "Votre session est sur le point d’expirer !",
|
|
32
|
-
sessionExpirationGeneralText: "Votre session se terminera automatiquement dans <b>{second} secondes</b>.",
|
|
33
|
-
sessionExpirationGeneralButton: "Continuer la session",
|
|
34
|
-
sessionExpirationLoadingButton: "Traitement en cours...",
|
|
35
|
-
sessionExpirationEnd: "Terminer la session"
|
|
33
|
+
"FE.sessionExpirationHeader": "Avertissement de session",
|
|
34
|
+
"FE.sessionExpirationTitle": "Votre session est sur le point d’expirer !",
|
|
35
|
+
"FE.sessionExpirationGeneralText": "Votre session se terminera automatiquement dans <b>{second} secondes</b>.",
|
|
36
|
+
"FE.sessionExpirationGeneralButton": "Continuer la session",
|
|
37
|
+
"FE.sessionExpirationLoadingButton": "Traitement en cours...",
|
|
38
|
+
"FE.sessionExpirationEnd": "Terminer la session"
|
|
39
|
+
},
|
|
40
|
+
da: {
|
|
41
|
+
"FE.sessionExpirationHeader": "Sessionsadvarsel",
|
|
42
|
+
"FE.sessionExpirationTitle": "Din session er ved at udløbe!",
|
|
43
|
+
"FE.sessionExpirationGeneralText": "Din session afsluttes automatisk om <b>{second} sekunder</b>.",
|
|
44
|
+
"FE.sessionExpirationGeneralButton": "Fortsæt session",
|
|
45
|
+
"FE.sessionExpirationLoadingButton": "Behandler...",
|
|
46
|
+
"FE.sessionExpirationEnd": "Afslut session"
|
|
47
|
+
},
|
|
48
|
+
de: {
|
|
49
|
+
"FE.sessionExpirationHeader": "Sitzungswarnung",
|
|
50
|
+
"FE.sessionExpirationTitle": "Ihre Sitzung läuft bald ab!",
|
|
51
|
+
"FE.sessionExpirationGeneralText": "Ihre Sitzung wird automatisch in <b>{second} Sekunden</b> beendet.",
|
|
52
|
+
"FE.sessionExpirationGeneralButton": "Sitzung fortsetzen",
|
|
53
|
+
"FE.sessionExpirationLoadingButton": "Verarbeitung...",
|
|
54
|
+
"FE.sessionExpirationEnd": "Sitzung beenden"
|
|
55
|
+
},
|
|
56
|
+
nl: {
|
|
57
|
+
"FE.sessionExpirationHeader": "Sessiewaarschuwing",
|
|
58
|
+
"FE.sessionExpirationTitle": "Uw sessie staat op het punt te verlopen!",
|
|
59
|
+
"FE.sessionExpirationGeneralText": "Uw sessie wordt automatisch beëindigd over <b>{second} seconden</b>.",
|
|
60
|
+
"FE.sessionExpirationGeneralButton": "Sessie voortzetten",
|
|
61
|
+
"FE.sessionExpirationLoadingButton": "Verwerken...",
|
|
62
|
+
"FE.sessionExpirationEnd": "Sessie beëindigen"
|
|
36
63
|
}
|
|
37
64
|
};
|
|
38
65
|
/*! @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 */
|
|
39
66
|
const {
|
|
40
|
-
entries:
|
|
41
|
-
setPrototypeOf:
|
|
42
|
-
isFrozen:
|
|
43
|
-
getPrototypeOf:
|
|
44
|
-
getOwnPropertyDescriptor:
|
|
67
|
+
entries: pn,
|
|
68
|
+
setPrototypeOf: Zt,
|
|
69
|
+
isFrozen: Vn,
|
|
70
|
+
getPrototypeOf: qn,
|
|
71
|
+
getOwnPropertyDescriptor: Zn
|
|
45
72
|
} = Object;
|
|
46
73
|
let {
|
|
47
74
|
freeze: B,
|
|
48
75
|
seal: te,
|
|
49
|
-
create:
|
|
76
|
+
create: dn
|
|
50
77
|
} = Object, {
|
|
51
|
-
apply:
|
|
52
|
-
construct:
|
|
78
|
+
apply: ht,
|
|
79
|
+
construct: gt
|
|
53
80
|
} = typeof Reflect != "undefined" && Reflect;
|
|
54
81
|
B || (B = function(t) {
|
|
55
82
|
return t;
|
|
@@ -57,87 +84,87 @@ B || (B = function(t) {
|
|
|
57
84
|
te || (te = function(t) {
|
|
58
85
|
return t;
|
|
59
86
|
});
|
|
60
|
-
|
|
61
|
-
return t.apply(
|
|
87
|
+
ht || (ht = function(t, i, o) {
|
|
88
|
+
return t.apply(i, o);
|
|
62
89
|
});
|
|
63
|
-
|
|
64
|
-
return new t(...
|
|
90
|
+
gt || (gt = function(t, i) {
|
|
91
|
+
return new t(...i);
|
|
65
92
|
});
|
|
66
|
-
const
|
|
93
|
+
const Qe = J(Array.prototype.forEach), Jt = J(Array.prototype.pop), Ue = J(Array.prototype.push), ot = J(String.prototype.toLowerCase), ut = J(String.prototype.toString), Kt = J(String.prototype.match), Be = J(String.prototype.replace), Jn = J(String.prototype.indexOf), Kn = J(String.prototype.trim), re = J(Object.prototype.hasOwnProperty), U = J(RegExp.prototype.test), ze = Qn(TypeError);
|
|
67
94
|
function J(n) {
|
|
68
95
|
return function(t) {
|
|
69
|
-
for (var
|
|
70
|
-
|
|
71
|
-
return
|
|
96
|
+
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), r = 1; r < i; r++)
|
|
97
|
+
o[r - 1] = arguments[r];
|
|
98
|
+
return ht(n, t, o);
|
|
72
99
|
};
|
|
73
100
|
}
|
|
74
|
-
function
|
|
101
|
+
function Qn(n) {
|
|
75
102
|
return function() {
|
|
76
|
-
for (var t = arguments.length,
|
|
77
|
-
o
|
|
78
|
-
return
|
|
103
|
+
for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++)
|
|
104
|
+
i[o] = arguments[o];
|
|
105
|
+
return gt(n, i);
|
|
79
106
|
};
|
|
80
107
|
}
|
|
81
108
|
function d(n, t) {
|
|
82
|
-
let
|
|
83
|
-
|
|
84
|
-
let
|
|
85
|
-
for (;
|
|
86
|
-
let r = t[
|
|
109
|
+
let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ot;
|
|
110
|
+
Zt && Zt(n, null);
|
|
111
|
+
let o = t.length;
|
|
112
|
+
for (; o--; ) {
|
|
113
|
+
let r = t[o];
|
|
87
114
|
if (typeof r == "string") {
|
|
88
|
-
const f =
|
|
89
|
-
f !== r && (
|
|
115
|
+
const f = i(r);
|
|
116
|
+
f !== r && (Vn(t) || (t[o] = f), r = f);
|
|
90
117
|
}
|
|
91
118
|
n[r] = !0;
|
|
92
119
|
}
|
|
93
120
|
return n;
|
|
94
121
|
}
|
|
95
|
-
function
|
|
122
|
+
function $n(n) {
|
|
96
123
|
for (let t = 0; t < n.length; t++)
|
|
97
124
|
re(n, t) || (n[t] = null);
|
|
98
125
|
return n;
|
|
99
126
|
}
|
|
100
|
-
function
|
|
101
|
-
const t =
|
|
102
|
-
for (const [
|
|
103
|
-
re(n,
|
|
127
|
+
function Le(n) {
|
|
128
|
+
const t = dn(null);
|
|
129
|
+
for (const [i, o] of pn(n))
|
|
130
|
+
re(n, i) && (Array.isArray(o) ? t[i] = $n(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = Le(o) : t[i] = o);
|
|
104
131
|
return t;
|
|
105
132
|
}
|
|
106
|
-
function
|
|
133
|
+
function He(n, t) {
|
|
107
134
|
for (; n !== null; ) {
|
|
108
|
-
const
|
|
109
|
-
if (
|
|
110
|
-
if (
|
|
111
|
-
return J(
|
|
112
|
-
if (typeof
|
|
113
|
-
return J(
|
|
135
|
+
const o = Zn(n, t);
|
|
136
|
+
if (o) {
|
|
137
|
+
if (o.get)
|
|
138
|
+
return J(o.get);
|
|
139
|
+
if (typeof o.value == "function")
|
|
140
|
+
return J(o.value);
|
|
114
141
|
}
|
|
115
|
-
n =
|
|
142
|
+
n = qn(n);
|
|
116
143
|
}
|
|
117
|
-
function
|
|
144
|
+
function i() {
|
|
118
145
|
return null;
|
|
119
146
|
}
|
|
120
|
-
return
|
|
147
|
+
return i;
|
|
121
148
|
}
|
|
122
|
-
const
|
|
149
|
+
const Qt = B(["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"]), ft = B(["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"]), mt = B(["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"]), ei = B(["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"]), pt = B(["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"]), ti = B(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), $t = B(["#text"]), en = B(["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"]), dt = B(["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"]), tn = B(["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"]), $e = B(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), ni = te(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ii = te(/<%[\w\W]*|[\w\W]*%>/gm), oi = te(/\${[\w\W]*}/gm), si = te(/^data-[\-\w.\u00B7-\uFFFF]/), ri = te(/^aria-[\-\w]+$/), hn = te(
|
|
123
150
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
124
151
|
// eslint-disable-line no-useless-escape
|
|
125
|
-
),
|
|
152
|
+
), ai = te(/^(?:\w+script|data):/i), li = te(
|
|
126
153
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
127
154
|
// eslint-disable-line no-control-regex
|
|
128
|
-
),
|
|
129
|
-
var
|
|
155
|
+
), gn = te(/^html$/i), ci = te(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
156
|
+
var nn = /* @__PURE__ */ Object.freeze({
|
|
130
157
|
__proto__: null,
|
|
131
|
-
MUSTACHE_EXPR:
|
|
132
|
-
ERB_EXPR:
|
|
133
|
-
TMPLIT_EXPR:
|
|
134
|
-
DATA_ATTR:
|
|
135
|
-
ARIA_ATTR:
|
|
136
|
-
IS_ALLOWED_URI:
|
|
137
|
-
IS_SCRIPT_OR_DATA:
|
|
138
|
-
ATTR_WHITESPACE:
|
|
139
|
-
DOCTYPE_NAME:
|
|
140
|
-
CUSTOM_ELEMENT:
|
|
158
|
+
MUSTACHE_EXPR: ni,
|
|
159
|
+
ERB_EXPR: ii,
|
|
160
|
+
TMPLIT_EXPR: oi,
|
|
161
|
+
DATA_ATTR: si,
|
|
162
|
+
ARIA_ATTR: ri,
|
|
163
|
+
IS_ALLOWED_URI: hn,
|
|
164
|
+
IS_SCRIPT_OR_DATA: ai,
|
|
165
|
+
ATTR_WHITESPACE: li,
|
|
166
|
+
DOCTYPE_NAME: gn,
|
|
167
|
+
CUSTOM_ELEMENT: ci
|
|
141
168
|
});
|
|
142
169
|
const Ge = {
|
|
143
170
|
element: 1,
|
|
@@ -146,62 +173,62 @@ const Ge = {
|
|
|
146
173
|
progressingInstruction: 7,
|
|
147
174
|
comment: 8,
|
|
148
175
|
document: 9
|
|
149
|
-
},
|
|
176
|
+
}, ui = function() {
|
|
150
177
|
return typeof window == "undefined" ? null : window;
|
|
151
|
-
},
|
|
178
|
+
}, fi = function(t, i) {
|
|
152
179
|
if (typeof t != "object" || typeof t.createPolicy != "function")
|
|
153
180
|
return null;
|
|
154
|
-
let
|
|
181
|
+
let o = null;
|
|
155
182
|
const r = "data-tt-policy-suffix";
|
|
156
|
-
|
|
157
|
-
const f = "dompurify" + (
|
|
183
|
+
i && i.hasAttribute(r) && (o = i.getAttribute(r));
|
|
184
|
+
const f = "dompurify" + (o ? "#" + o : "");
|
|
158
185
|
try {
|
|
159
186
|
return t.createPolicy(f, {
|
|
160
|
-
createHTML(
|
|
161
|
-
return
|
|
187
|
+
createHTML(E) {
|
|
188
|
+
return E;
|
|
162
189
|
},
|
|
163
|
-
createScriptURL(
|
|
164
|
-
return
|
|
190
|
+
createScriptURL(E) {
|
|
191
|
+
return E;
|
|
165
192
|
}
|
|
166
193
|
});
|
|
167
|
-
} catch (
|
|
194
|
+
} catch (E) {
|
|
168
195
|
return console.warn("TrustedTypes policy " + f + " could not be created."), null;
|
|
169
196
|
}
|
|
170
197
|
};
|
|
171
|
-
function
|
|
172
|
-
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
173
|
-
const t = (c) =>
|
|
198
|
+
function En() {
|
|
199
|
+
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ui();
|
|
200
|
+
const t = (c) => En(c);
|
|
174
201
|
if (t.version = "3.1.6", t.removed = [], !n || !n.document || n.document.nodeType !== Ge.document)
|
|
175
202
|
return t.isSupported = !1, t;
|
|
176
203
|
let {
|
|
177
|
-
document:
|
|
204
|
+
document: i
|
|
178
205
|
} = n;
|
|
179
|
-
const
|
|
206
|
+
const o = i, r = o.currentScript, {
|
|
180
207
|
DocumentFragment: f,
|
|
181
|
-
HTMLTemplateElement:
|
|
208
|
+
HTMLTemplateElement: E,
|
|
182
209
|
Node: S,
|
|
183
|
-
Element:
|
|
184
|
-
NodeFilter:
|
|
210
|
+
Element: w,
|
|
211
|
+
NodeFilter: _,
|
|
185
212
|
NamedNodeMap: X = n.NamedNodeMap || n.MozNamedAttrMap,
|
|
186
213
|
HTMLFormElement: ne,
|
|
187
214
|
DOMParser: Ce,
|
|
188
|
-
trustedTypes:
|
|
189
|
-
} = n,
|
|
190
|
-
if (typeof
|
|
191
|
-
const c =
|
|
192
|
-
c.content && c.content.ownerDocument && (
|
|
215
|
+
trustedTypes: z
|
|
216
|
+
} = n, H = w.prototype, ye = He(H, "cloneNode"), ae = He(H, "remove"), G = He(H, "nextSibling"), de = He(H, "childNodes"), K = He(H, "parentNode");
|
|
217
|
+
if (typeof E == "function") {
|
|
218
|
+
const c = i.createElement("template");
|
|
219
|
+
c.content && c.content.ownerDocument && (i = c.content.ownerDocument);
|
|
193
220
|
}
|
|
194
|
-
let g,
|
|
221
|
+
let g, x = "";
|
|
195
222
|
const {
|
|
196
|
-
implementation:
|
|
223
|
+
implementation: ie,
|
|
197
224
|
createNodeIterator: le,
|
|
198
225
|
createDocumentFragment: he,
|
|
199
226
|
getElementsByTagName: W
|
|
200
|
-
} =
|
|
201
|
-
importNode:
|
|
202
|
-
} =
|
|
203
|
-
let
|
|
204
|
-
t.isSupported = typeof
|
|
227
|
+
} = i, {
|
|
228
|
+
importNode: oe
|
|
229
|
+
} = o;
|
|
230
|
+
let v = {};
|
|
231
|
+
t.isSupported = typeof pn == "function" && typeof K == "function" && ie && ie.createHTMLDocument !== void 0;
|
|
205
232
|
const {
|
|
206
233
|
MUSTACHE_EXPR: ce,
|
|
207
234
|
ERB_EXPR: V,
|
|
@@ -210,15 +237,15 @@ function gn() {
|
|
|
210
237
|
ARIA_ATTR: D,
|
|
211
238
|
IS_SCRIPT_OR_DATA: I,
|
|
212
239
|
ATTR_WHITESPACE: $,
|
|
213
|
-
CUSTOM_ELEMENT:
|
|
214
|
-
} =
|
|
240
|
+
CUSTOM_ELEMENT: ve
|
|
241
|
+
} = nn;
|
|
215
242
|
let {
|
|
216
243
|
IS_ALLOWED_URI: q
|
|
217
|
-
} =
|
|
218
|
-
const Se = d({}, [...
|
|
219
|
-
let
|
|
220
|
-
const
|
|
221
|
-
let T = Object.seal(
|
|
244
|
+
} = nn, m = null;
|
|
245
|
+
const Se = d({}, [...Qt, ...ft, ...mt, ...pt, ...$t]);
|
|
246
|
+
let A = null;
|
|
247
|
+
const xe = d({}, [...en, ...dt, ...tn, ...$e]);
|
|
248
|
+
let T = Object.seal(dn(null, {
|
|
222
249
|
tagNameCheck: {
|
|
223
250
|
writable: !0,
|
|
224
251
|
configurable: !1,
|
|
@@ -237,59 +264,59 @@ function gn() {
|
|
|
237
264
|
enumerable: !0,
|
|
238
265
|
value: !1
|
|
239
266
|
}
|
|
240
|
-
})),
|
|
267
|
+
})), L = null, a = null, h = !0, F = !0, M = !1, Y = !0, Ee = !1, ee = !0, ue = !1, y = !1, C = !1, fe = !1, Xe = !1, Ve = !1, Et = !0, _t = !1;
|
|
241
268
|
const _n = "user-content-";
|
|
242
|
-
let
|
|
243
|
-
const
|
|
244
|
-
let
|
|
245
|
-
const
|
|
246
|
-
let
|
|
247
|
-
const
|
|
248
|
-
let De =
|
|
249
|
-
const
|
|
250
|
-
let
|
|
251
|
-
const
|
|
252
|
-
let
|
|
253
|
-
const
|
|
269
|
+
let st = !0, Ie = !1, ke = {}, Oe = null;
|
|
270
|
+
const Tt = d({}, ["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"]);
|
|
271
|
+
let wt = null;
|
|
272
|
+
const bt = d({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
273
|
+
let rt = null;
|
|
274
|
+
const yt = d({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), qe = "http://www.w3.org/1998/Math/MathML", Ze = "http://www.w3.org/2000/svg", _e = "http://www.w3.org/1999/xhtml";
|
|
275
|
+
let De = _e, at = !1, lt = null;
|
|
276
|
+
const Tn = d({}, [qe, Ze, _e], ut);
|
|
277
|
+
let Fe = null;
|
|
278
|
+
const wn = ["application/xhtml+xml", "text/html"], bn = "text/html";
|
|
279
|
+
let k = null, Ne = null;
|
|
280
|
+
const yn = i.createElement("form"), St = function(e) {
|
|
254
281
|
return e instanceof RegExp || e instanceof Function;
|
|
255
|
-
},
|
|
282
|
+
}, ct = function() {
|
|
256
283
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
257
284
|
if (!(Ne && Ne === e)) {
|
|
258
|
-
if ((!e || typeof e != "object") && (e = {}), e =
|
|
259
|
-
|
|
260
|
-
|
|
285
|
+
if ((!e || typeof e != "object") && (e = {}), e = Le(e), Fe = // eslint-disable-next-line unicorn/prefer-includes
|
|
286
|
+
wn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? bn : e.PARSER_MEDIA_TYPE, k = Fe === "application/xhtml+xml" ? ut : ot, m = re(e, "ALLOWED_TAGS") ? d({}, e.ALLOWED_TAGS, k) : Se, A = re(e, "ALLOWED_ATTR") ? d({}, e.ALLOWED_ATTR, k) : xe, lt = re(e, "ALLOWED_NAMESPACES") ? d({}, e.ALLOWED_NAMESPACES, ut) : Tn, rt = re(e, "ADD_URI_SAFE_ATTR") ? d(
|
|
287
|
+
Le(yt),
|
|
261
288
|
// eslint-disable-line indent
|
|
262
289
|
e.ADD_URI_SAFE_ATTR,
|
|
263
290
|
// eslint-disable-line indent
|
|
264
|
-
|
|
291
|
+
k
|
|
265
292
|
// eslint-disable-line indent
|
|
266
|
-
) :
|
|
267
|
-
|
|
293
|
+
) : yt, wt = re(e, "ADD_DATA_URI_TAGS") ? d(
|
|
294
|
+
Le(bt),
|
|
268
295
|
// eslint-disable-line indent
|
|
269
296
|
e.ADD_DATA_URI_TAGS,
|
|
270
297
|
// eslint-disable-line indent
|
|
271
|
-
|
|
298
|
+
k
|
|
272
299
|
// eslint-disable-line indent
|
|
273
|
-
) :
|
|
300
|
+
) : bt, Oe = re(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, k) : Tt, L = re(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, k) : {}, a = re(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, k) : {}, ke = re(e, "USE_PROFILES") ? e.USE_PROFILES : !1, h = e.ALLOW_ARIA_ATTR !== !1, F = e.ALLOW_DATA_ATTR !== !1, M = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Y = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ee = e.SAFE_FOR_TEMPLATES || !1, ee = e.SAFE_FOR_XML !== !1, ue = e.WHOLE_DOCUMENT || !1, fe = e.RETURN_DOM || !1, Xe = e.RETURN_DOM_FRAGMENT || !1, Ve = e.RETURN_TRUSTED_TYPE || !1, C = e.FORCE_BODY || !1, Et = e.SANITIZE_DOM !== !1, _t = e.SANITIZE_NAMED_PROPS || !1, st = e.KEEP_CONTENT !== !1, Ie = e.IN_PLACE || !1, q = e.ALLOWED_URI_REGEXP || hn, De = e.NAMESPACE || _e, T = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (T.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (T.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ee && (F = !1), Xe && (fe = !0), ke && (m = d({}, $t), A = [], ke.html === !0 && (d(m, Qt), d(A, en)), ke.svg === !0 && (d(m, ft), d(A, dt), d(A, $e)), ke.svgFilters === !0 && (d(m, mt), d(A, dt), d(A, $e)), ke.mathMl === !0 && (d(m, pt), d(A, tn), d(A, $e))), e.ADD_TAGS && (m === Se && (m = Le(m)), d(m, e.ADD_TAGS, k)), e.ADD_ATTR && (A === xe && (A = Le(A)), d(A, e.ADD_ATTR, k)), e.ADD_URI_SAFE_ATTR && d(rt, e.ADD_URI_SAFE_ATTR, k), e.FORBID_CONTENTS && (Oe === Tt && (Oe = Le(Oe)), d(Oe, e.FORBID_CONTENTS, k)), st && (m["#text"] = !0), ue && d(m, ["html", "head", "body"]), m.table && (d(m, ["tbody"]), delete L.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
274
301
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
275
|
-
throw
|
|
302
|
+
throw ze('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
276
303
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
277
|
-
throw
|
|
278
|
-
g = e.TRUSTED_TYPES_POLICY,
|
|
304
|
+
throw ze('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
305
|
+
g = e.TRUSTED_TYPES_POLICY, x = g.createHTML("");
|
|
279
306
|
} else
|
|
280
|
-
g === void 0 && (g =
|
|
307
|
+
g === void 0 && (g = fi(z, r)), g !== null && typeof x == "string" && (x = g.createHTML(""));
|
|
281
308
|
B && B(e), Ne = e;
|
|
282
309
|
}
|
|
283
|
-
},
|
|
310
|
+
}, xt = d({}, ["mi", "mo", "mn", "ms", "mtext"]), At = d({}, ["foreignobject", "annotation-xml"]), Sn = d({}, ["title", "style", "font", "a", "script"]), Ct = d({}, [...ft, ...mt, ...ei]), vt = d({}, [...pt, ...ti]), xn = function(e) {
|
|
284
311
|
let s = K(e);
|
|
285
312
|
(!s || !s.tagName) && (s = {
|
|
286
313
|
namespaceURI: De,
|
|
287
314
|
tagName: "template"
|
|
288
315
|
});
|
|
289
|
-
const l = ot(e.tagName),
|
|
290
|
-
return
|
|
316
|
+
const l = ot(e.tagName), b = ot(s.tagName);
|
|
317
|
+
return lt[e.namespaceURI] ? e.namespaceURI === Ze ? s.namespaceURI === _e ? l === "svg" : s.namespaceURI === qe ? l === "svg" && (b === "annotation-xml" || xt[b]) : !!Ct[l] : e.namespaceURI === qe ? s.namespaceURI === _e ? l === "math" : s.namespaceURI === Ze ? l === "math" && At[b] : !!vt[l] : e.namespaceURI === _e ? s.namespaceURI === Ze && !At[b] || s.namespaceURI === qe && !xt[b] ? !1 : !vt[l] && (Sn[l] || !Ct[l]) : !!(Fe === "application/xhtml+xml" && lt[e.namespaceURI]) : !1;
|
|
291
318
|
}, me = function(e) {
|
|
292
|
-
|
|
319
|
+
Ue(t.removed, {
|
|
293
320
|
element: e
|
|
294
321
|
});
|
|
295
322
|
try {
|
|
@@ -297,20 +324,20 @@ function gn() {
|
|
|
297
324
|
} catch (s) {
|
|
298
325
|
ae(e);
|
|
299
326
|
}
|
|
300
|
-
},
|
|
327
|
+
}, Je = function(e, s) {
|
|
301
328
|
try {
|
|
302
|
-
|
|
329
|
+
Ue(t.removed, {
|
|
303
330
|
attribute: s.getAttributeNode(e),
|
|
304
331
|
from: s
|
|
305
332
|
});
|
|
306
333
|
} catch (l) {
|
|
307
|
-
|
|
334
|
+
Ue(t.removed, {
|
|
308
335
|
attribute: null,
|
|
309
336
|
from: s
|
|
310
337
|
});
|
|
311
338
|
}
|
|
312
|
-
if (s.removeAttribute(e), e === "is" && !
|
|
313
|
-
if (fe ||
|
|
339
|
+
if (s.removeAttribute(e), e === "is" && !A[e])
|
|
340
|
+
if (fe || Xe)
|
|
314
341
|
try {
|
|
315
342
|
me(s);
|
|
316
343
|
} catch (l) {
|
|
@@ -325,90 +352,90 @@ function gn() {
|
|
|
325
352
|
if (C)
|
|
326
353
|
e = "<remove></remove>" + e;
|
|
327
354
|
else {
|
|
328
|
-
const
|
|
329
|
-
l =
|
|
355
|
+
const O = Kt(e, /^[\r\n\t ]+/);
|
|
356
|
+
l = O && O[0];
|
|
330
357
|
}
|
|
331
|
-
|
|
332
|
-
const
|
|
333
|
-
if (De ===
|
|
358
|
+
Fe === "application/xhtml+xml" && De === _e && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
359
|
+
const b = g ? g.createHTML(e) : e;
|
|
360
|
+
if (De === _e)
|
|
334
361
|
try {
|
|
335
|
-
s = new Ce().parseFromString(
|
|
336
|
-
} catch (
|
|
362
|
+
s = new Ce().parseFromString(b, Fe);
|
|
363
|
+
} catch (O) {
|
|
337
364
|
}
|
|
338
365
|
if (!s || !s.documentElement) {
|
|
339
|
-
s =
|
|
366
|
+
s = ie.createDocument(De, "template", null);
|
|
340
367
|
try {
|
|
341
|
-
s.documentElement.innerHTML =
|
|
342
|
-
} catch (
|
|
368
|
+
s.documentElement.innerHTML = at ? x : b;
|
|
369
|
+
} catch (O) {
|
|
343
370
|
}
|
|
344
371
|
}
|
|
345
372
|
const N = s.body || s.documentElement;
|
|
346
|
-
return e && l && N.insertBefore(
|
|
347
|
-
},
|
|
373
|
+
return e && l && N.insertBefore(i.createTextNode(l), N.childNodes[0] || null), De === _e ? W.call(s, ue ? "html" : "body")[0] : ue ? s.documentElement : N;
|
|
374
|
+
}, Mt = function(e) {
|
|
348
375
|
return le.call(
|
|
349
376
|
e.ownerDocument || e,
|
|
350
377
|
e,
|
|
351
378
|
// eslint-disable-next-line no-bitwise
|
|
352
|
-
|
|
379
|
+
_.SHOW_ELEMENT | _.SHOW_COMMENT | _.SHOW_TEXT | _.SHOW_PROCESSING_INSTRUCTION | _.SHOW_CDATA_SECTION,
|
|
353
380
|
null
|
|
354
381
|
);
|
|
355
|
-
}, Mt = function(e) {
|
|
356
|
-
return e instanceof ne && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof X) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
357
382
|
}, Rt = function(e) {
|
|
383
|
+
return e instanceof ne && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof X) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
384
|
+
}, kt = function(e) {
|
|
358
385
|
return typeof S == "function" && e instanceof S;
|
|
359
386
|
}, Te = function(e, s, l) {
|
|
360
|
-
|
|
361
|
-
|
|
387
|
+
v[e] && Qe(v[e], (b) => {
|
|
388
|
+
b.call(t, s, l, Ne);
|
|
362
389
|
});
|
|
363
390
|
}, Ot = function(e) {
|
|
364
391
|
let s = null;
|
|
365
|
-
if (Te("beforeSanitizeElements", e, null),
|
|
392
|
+
if (Te("beforeSanitizeElements", e, null), Rt(e))
|
|
366
393
|
return me(e), !0;
|
|
367
|
-
const l =
|
|
394
|
+
const l = k(e.nodeName);
|
|
368
395
|
if (Te("uponSanitizeElement", e, {
|
|
369
396
|
tagName: l,
|
|
370
397
|
allowedTags: m
|
|
371
|
-
}), e.hasChildNodes() && !
|
|
398
|
+
}), e.hasChildNodes() && !kt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === Ge.progressingInstruction || ee && e.nodeType === Ge.comment && U(/<[/\w]/g, e.data))
|
|
372
399
|
return me(e), !0;
|
|
373
|
-
if (!m[l] ||
|
|
374
|
-
if (!
|
|
400
|
+
if (!m[l] || L[l]) {
|
|
401
|
+
if (!L[l] && Nt(l) && (T.tagNameCheck instanceof RegExp && U(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
|
|
375
402
|
return !1;
|
|
376
|
-
if (
|
|
377
|
-
const
|
|
378
|
-
if (N &&
|
|
379
|
-
const
|
|
380
|
-
for (let j =
|
|
381
|
-
const pe =
|
|
382
|
-
pe.__removalCount = (e.__removalCount || 0) + 1,
|
|
403
|
+
if (st && !Oe[l]) {
|
|
404
|
+
const b = K(e) || e.parentNode, N = de(e) || e.childNodes;
|
|
405
|
+
if (N && b) {
|
|
406
|
+
const O = N.length;
|
|
407
|
+
for (let j = O - 1; j >= 0; --j) {
|
|
408
|
+
const pe = ye(N[j], !0);
|
|
409
|
+
pe.__removalCount = (e.__removalCount || 0) + 1, b.insertBefore(pe, G(e));
|
|
383
410
|
}
|
|
384
411
|
}
|
|
385
412
|
}
|
|
386
413
|
return me(e), !0;
|
|
387
414
|
}
|
|
388
|
-
return e instanceof
|
|
389
|
-
s = Be(s,
|
|
390
|
-
}), e.textContent !== s && (
|
|
415
|
+
return e instanceof w && !xn(e) || (l === "noscript" || l === "noembed" || l === "noframes") && U(/<\/no(script|embed|frames)/i, e.innerHTML) ? (me(e), !0) : (Ee && e.nodeType === Ge.text && (s = e.textContent, Qe([ce, V, ge], (b) => {
|
|
416
|
+
s = Be(s, b, " ");
|
|
417
|
+
}), e.textContent !== s && (Ue(t.removed, {
|
|
391
418
|
element: e.cloneNode()
|
|
392
419
|
}), e.textContent = s)), Te("afterSanitizeElements", e, null), !1);
|
|
393
|
-
},
|
|
394
|
-
if (
|
|
420
|
+
}, Dt = function(e, s, l) {
|
|
421
|
+
if (Et && (s === "id" || s === "name") && (l in i || l in yn))
|
|
395
422
|
return !1;
|
|
396
|
-
if (!(
|
|
397
|
-
if (!(h &&
|
|
398
|
-
if (!
|
|
423
|
+
if (!(F && !a[s] && U(Q, s))) {
|
|
424
|
+
if (!(h && U(D, s))) {
|
|
425
|
+
if (!A[s] || a[s]) {
|
|
399
426
|
if (
|
|
400
427
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
401
428
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
402
429
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
403
|
-
!(
|
|
430
|
+
!(Nt(e) && (T.tagNameCheck instanceof RegExp && U(T.tagNameCheck, e) || T.tagNameCheck instanceof Function && T.tagNameCheck(e)) && (T.attributeNameCheck instanceof RegExp && U(T.attributeNameCheck, s) || T.attributeNameCheck instanceof Function && T.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
404
431
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
405
|
-
s === "is" && T.allowCustomizedBuiltInElements && (T.tagNameCheck instanceof RegExp &&
|
|
432
|
+
s === "is" && T.allowCustomizedBuiltInElements && (T.tagNameCheck instanceof RegExp && U(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
|
|
406
433
|
)
|
|
407
434
|
return !1;
|
|
408
|
-
} else if (!
|
|
409
|
-
if (!
|
|
410
|
-
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" &&
|
|
411
|
-
if (!(M && !
|
|
435
|
+
} else if (!rt[s]) {
|
|
436
|
+
if (!U(q, Be(l, $, ""))) {
|
|
437
|
+
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Jn(l, "data:") === 0 && wt[e])) {
|
|
438
|
+
if (!(M && !U(I, Be(l, $, "")))) {
|
|
412
439
|
if (l)
|
|
413
440
|
return !1;
|
|
414
441
|
}
|
|
@@ -418,9 +445,9 @@ function gn() {
|
|
|
418
445
|
}
|
|
419
446
|
}
|
|
420
447
|
return !0;
|
|
421
|
-
}, Dt = function(e) {
|
|
422
|
-
return e !== "annotation-xml" && Jt(e, Le);
|
|
423
448
|
}, Nt = function(e) {
|
|
449
|
+
return e !== "annotation-xml" && Kt(e, ve);
|
|
450
|
+
}, It = function(e) {
|
|
424
451
|
Te("beforeSanitizeAttributes", e, null);
|
|
425
452
|
const {
|
|
426
453
|
attributes: s
|
|
@@ -431,44 +458,44 @@ function gn() {
|
|
|
431
458
|
attrName: "",
|
|
432
459
|
attrValue: "",
|
|
433
460
|
keepAttr: !0,
|
|
434
|
-
allowedAttributes:
|
|
461
|
+
allowedAttributes: A
|
|
435
462
|
};
|
|
436
|
-
let
|
|
437
|
-
for (;
|
|
438
|
-
const N = s[
|
|
439
|
-
name:
|
|
463
|
+
let b = s.length;
|
|
464
|
+
for (; b--; ) {
|
|
465
|
+
const N = s[b], {
|
|
466
|
+
name: O,
|
|
440
467
|
namespaceURI: j,
|
|
441
468
|
value: pe
|
|
442
|
-
} = N,
|
|
443
|
-
let
|
|
444
|
-
if (l.attrName =
|
|
445
|
-
|
|
469
|
+
} = N, Pe = k(O);
|
|
470
|
+
let P = O === "value" ? pe : Kn(pe);
|
|
471
|
+
if (l.attrName = Pe, l.attrValue = P, l.keepAttr = !0, l.forceKeepAttr = void 0, Te("uponSanitizeAttribute", e, l), P = l.attrValue, ee && U(/((--!?|])>)|<\/(style|title)/i, P)) {
|
|
472
|
+
Je(O, e);
|
|
446
473
|
continue;
|
|
447
474
|
}
|
|
448
|
-
if (l.forceKeepAttr || (
|
|
475
|
+
if (l.forceKeepAttr || (Je(O, e), !l.keepAttr))
|
|
449
476
|
continue;
|
|
450
|
-
if (!Y &&
|
|
451
|
-
|
|
477
|
+
if (!Y && U(/\/>/i, P)) {
|
|
478
|
+
Je(O, e);
|
|
452
479
|
continue;
|
|
453
480
|
}
|
|
454
|
-
|
|
455
|
-
|
|
481
|
+
Ee && Qe([ce, V, ge], (Pt) => {
|
|
482
|
+
P = Be(P, Pt, " ");
|
|
456
483
|
});
|
|
457
|
-
const
|
|
458
|
-
if (
|
|
459
|
-
if (_t && (
|
|
460
|
-
switch (
|
|
484
|
+
const Ft = k(e.nodeName);
|
|
485
|
+
if (Dt(Ft, Pe, P)) {
|
|
486
|
+
if (_t && (Pe === "id" || Pe === "name") && (Je(O, e), P = _n + P), g && typeof z == "object" && typeof z.getAttributeType == "function" && !j)
|
|
487
|
+
switch (z.getAttributeType(Ft, Pe)) {
|
|
461
488
|
case "TrustedHTML": {
|
|
462
|
-
|
|
489
|
+
P = g.createHTML(P);
|
|
463
490
|
break;
|
|
464
491
|
}
|
|
465
492
|
case "TrustedScriptURL": {
|
|
466
|
-
|
|
493
|
+
P = g.createScriptURL(P);
|
|
467
494
|
break;
|
|
468
495
|
}
|
|
469
496
|
}
|
|
470
497
|
try {
|
|
471
|
-
j ? e.setAttributeNS(j,
|
|
498
|
+
j ? e.setAttributeNS(j, O, P) : e.setAttribute(O, P), Rt(e) ? me(e) : Jt(t.removed);
|
|
472
499
|
} catch (Pt) {
|
|
473
500
|
}
|
|
474
501
|
}
|
|
@@ -476,155 +503,155 @@ function gn() {
|
|
|
476
503
|
Te("afterSanitizeAttributes", e, null);
|
|
477
504
|
}, An = function c(e) {
|
|
478
505
|
let s = null;
|
|
479
|
-
const l =
|
|
506
|
+
const l = Mt(e);
|
|
480
507
|
for (Te("beforeSanitizeShadowDOM", e, null); s = l.nextNode(); )
|
|
481
|
-
Te("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof f && c(s.content),
|
|
508
|
+
Te("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof f && c(s.content), It(s));
|
|
482
509
|
Te("afterSanitizeShadowDOM", e, null);
|
|
483
510
|
};
|
|
484
511
|
return t.sanitize = function(c) {
|
|
485
|
-
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null,
|
|
486
|
-
if (
|
|
512
|
+
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null, b = null, N = null;
|
|
513
|
+
if (at = !c, at && (c = "<!-->"), typeof c != "string" && !kt(c))
|
|
487
514
|
if (typeof c.toString == "function") {
|
|
488
515
|
if (c = c.toString(), typeof c != "string")
|
|
489
|
-
throw
|
|
516
|
+
throw ze("dirty is not a string, aborting");
|
|
490
517
|
} else
|
|
491
|
-
throw
|
|
518
|
+
throw ze("toString is not a function");
|
|
492
519
|
if (!t.isSupported)
|
|
493
520
|
return c;
|
|
494
|
-
if (
|
|
521
|
+
if (y || ct(e), t.removed = [], typeof c == "string" && (Ie = !1), Ie) {
|
|
495
522
|
if (c.nodeName) {
|
|
496
|
-
const pe =
|
|
497
|
-
if (!m[pe] ||
|
|
498
|
-
throw
|
|
523
|
+
const pe = k(c.nodeName);
|
|
524
|
+
if (!m[pe] || L[pe])
|
|
525
|
+
throw ze("root node is forbidden and cannot be sanitized in-place");
|
|
499
526
|
}
|
|
500
527
|
} else if (c instanceof S)
|
|
501
528
|
s = Lt("<!---->"), l = s.ownerDocument.importNode(c, !0), l.nodeType === Ge.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? s = l : s.appendChild(l);
|
|
502
529
|
else {
|
|
503
|
-
if (!fe && !
|
|
530
|
+
if (!fe && !Ee && !ue && // eslint-disable-next-line unicorn/prefer-includes
|
|
504
531
|
c.indexOf("<") === -1)
|
|
505
|
-
return g &&
|
|
532
|
+
return g && Ve ? g.createHTML(c) : c;
|
|
506
533
|
if (s = Lt(c), !s)
|
|
507
|
-
return fe ? null :
|
|
534
|
+
return fe ? null : Ve ? x : "";
|
|
508
535
|
}
|
|
509
536
|
s && C && me(s.firstChild);
|
|
510
|
-
const
|
|
511
|
-
for (;
|
|
512
|
-
Ot(
|
|
537
|
+
const O = Mt(Ie ? c : s);
|
|
538
|
+
for (; b = O.nextNode(); )
|
|
539
|
+
Ot(b) || (b.content instanceof f && An(b.content), It(b));
|
|
513
540
|
if (Ie)
|
|
514
541
|
return c;
|
|
515
542
|
if (fe) {
|
|
516
|
-
if (
|
|
543
|
+
if (Xe)
|
|
517
544
|
for (N = he.call(s.ownerDocument); s.firstChild; )
|
|
518
545
|
N.appendChild(s.firstChild);
|
|
519
546
|
else
|
|
520
547
|
N = s;
|
|
521
|
-
return (
|
|
548
|
+
return (A.shadowroot || A.shadowrootmode) && (N = oe.call(o, N, !0)), N;
|
|
522
549
|
}
|
|
523
550
|
let j = ue ? s.outerHTML : s.innerHTML;
|
|
524
|
-
return ue && m["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name &&
|
|
525
|
-
` + j),
|
|
551
|
+
return ue && m["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && U(gn, s.ownerDocument.doctype.name) && (j = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
|
|
552
|
+
` + j), Ee && Qe([ce, V, ge], (pe) => {
|
|
526
553
|
j = Be(j, pe, " ");
|
|
527
|
-
}), g &&
|
|
554
|
+
}), g && Ve ? g.createHTML(j) : j;
|
|
528
555
|
}, t.setConfig = function() {
|
|
529
556
|
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
530
|
-
|
|
557
|
+
ct(c), y = !0;
|
|
531
558
|
}, t.clearConfig = function() {
|
|
532
|
-
Ne = null,
|
|
559
|
+
Ne = null, y = !1;
|
|
533
560
|
}, t.isValidAttribute = function(c, e, s) {
|
|
534
|
-
Ne ||
|
|
535
|
-
const l =
|
|
536
|
-
return
|
|
561
|
+
Ne || ct({});
|
|
562
|
+
const l = k(c), b = k(e);
|
|
563
|
+
return Dt(l, b, s);
|
|
537
564
|
}, t.addHook = function(c, e) {
|
|
538
|
-
typeof e == "function" && (
|
|
565
|
+
typeof e == "function" && (v[c] = v[c] || [], Ue(v[c], e));
|
|
539
566
|
}, t.removeHook = function(c) {
|
|
540
|
-
if (
|
|
541
|
-
return
|
|
567
|
+
if (v[c])
|
|
568
|
+
return Jt(v[c]);
|
|
542
569
|
}, t.removeHooks = function(c) {
|
|
543
|
-
|
|
570
|
+
v[c] && (v[c] = []);
|
|
544
571
|
}, t.removeAllHooks = function() {
|
|
545
|
-
|
|
572
|
+
v = {};
|
|
546
573
|
}, t;
|
|
547
574
|
}
|
|
548
|
-
var
|
|
549
|
-
function
|
|
550
|
-
|
|
575
|
+
var on = En();
|
|
576
|
+
function mi(n) {
|
|
577
|
+
Nn(n, "svelte-1kjup2o", '*,*::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);display:flex;flex-direction:column;min-width:400px;position:relative;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3);padding:20px}.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%)}.ButtonsContainer{display:flex;flex-direction:row;gap:10px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;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;justify-content:space-between}.CashierSessionExpirationModalHeaderTitle{display:flex;align-items: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);gap:8px}.CashierSessionExpirationModalHeaderTitle svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;justify-content:center;top:10px;right: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;margin-top:20px;gap:25px}.CashierSessionExpiration .CashierSessionExpirationButton{width:100%;height:36px;color:var(--emw-color-font-typography, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-small, 12px);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%}.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);opacity:0.6}.CashierSessionExpirationText p{padding:3px}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-small, 12px);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}}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{fill:var(--emw--color-typography, #fff);width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.ModalButton{color:var(--emw--color-secondary, #000);text-align:center;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 600);font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear;box-shadow:inset 0px 0px 0px 1px var(--emw--color-primary)}.ModalButton:hover{background-color:var(--emw--color-hover, #dbac03)}.ModalButton.Secondary{background:transparent;color:var(--emw-color-white, #fff)}.ModalButton.Secondary:hover{background-color:var(--emw--color-hover, #dbac03);color:var(--emw-color-black, #000)}.ModalButton.Primary.Disabled{cursor:default;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);opacity:0.5}.ModalButton.Primary.Disabled:hover{background:var(--emw--color-primary, #f9c408);cursor:not-allowed}');
|
|
551
578
|
}
|
|
552
|
-
const
|
|
553
|
-
function
|
|
554
|
-
let t,
|
|
579
|
+
const pi = (n) => ({}), sn = (n) => ({}), di = (n) => ({}), rn = (n) => ({}), hi = (n) => ({}), an = (n) => ({}), gi = (n) => ({}), ln = (n) => ({ class: "CashierSessionExpirationIcon" });
|
|
580
|
+
function cn(n) {
|
|
581
|
+
let t, i, o, r, f, E, S, w, _, X, ne, Ce, z = (
|
|
555
582
|
/*$_*/
|
|
556
|
-
n[8]("sessionExpirationHeader") + ""
|
|
557
|
-
),
|
|
583
|
+
n[8]("FE.sessionExpirationHeader") + ""
|
|
584
|
+
), H, ye, ae, G, de, K, g, x, ie, le, he, W, oe, v, ce = (
|
|
558
585
|
/*$_*/
|
|
559
|
-
n[8]("sessionExpirationEnd") + ""
|
|
560
|
-
), V, ge, Q, D, I, $,
|
|
561
|
-
const
|
|
586
|
+
n[8]("FE.sessionExpirationEnd") + ""
|
|
587
|
+
), V, ge, Q, D, I, $, ve, q, m, Se, A;
|
|
588
|
+
const xe = (
|
|
562
589
|
/*#slots*/
|
|
563
590
|
n[23].icon
|
|
564
|
-
), T =
|
|
565
|
-
|
|
591
|
+
), T = et(
|
|
592
|
+
xe,
|
|
566
593
|
n,
|
|
567
594
|
/*$$scope*/
|
|
568
595
|
n[22],
|
|
569
|
-
|
|
570
|
-
),
|
|
596
|
+
ln
|
|
597
|
+
), L = T || Ei(n), a = (
|
|
571
598
|
/*#slots*/
|
|
572
599
|
n[23].title
|
|
573
|
-
), h =
|
|
600
|
+
), h = et(
|
|
574
601
|
a,
|
|
575
602
|
n,
|
|
576
603
|
/*$$scope*/
|
|
577
604
|
n[22],
|
|
578
|
-
|
|
579
|
-
),
|
|
605
|
+
an
|
|
606
|
+
), F = (
|
|
580
607
|
/*#slots*/
|
|
581
608
|
n[23].text
|
|
582
|
-
), M =
|
|
583
|
-
|
|
609
|
+
), M = et(
|
|
610
|
+
F,
|
|
584
611
|
n,
|
|
585
612
|
/*$$scope*/
|
|
586
613
|
n[22],
|
|
587
|
-
|
|
588
|
-
), Y = M ||
|
|
589
|
-
function ue(
|
|
614
|
+
rn
|
|
615
|
+
), Y = M || _i(n), Ee = [wi, Ti], ee = [];
|
|
616
|
+
function ue(y, C) {
|
|
590
617
|
return (
|
|
591
618
|
/*showLoaderButton*/
|
|
592
|
-
|
|
619
|
+
y[6] ? 0 : 1
|
|
593
620
|
);
|
|
594
621
|
}
|
|
595
|
-
return D = ue(n), I = ee[D] =
|
|
622
|
+
return D = ue(n), I = ee[D] = Ee[D](n), {
|
|
596
623
|
c() {
|
|
597
|
-
t = R("div"),
|
|
598
|
-
(n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(
|
|
624
|
+
t = R("div"), i = R("div"), o = R("div"), r = R("div"), f = se("svg"), E = se("defs"), S = se("mask"), w = se("circle"), _ = se("rect"), X = se("circle"), ne = se("circle"), Ce = we(), H = Ye(z), ye = we(), ae = R("div"), G = se("svg"), de = se("path"), K = we(), g = R("div"), x = R("div"), L && L.c(), ie = we(), h && h.c(), le = we(), Y && Y.c(), he = we(), W = R("div"), oe = R("button"), v = R("span"), V = Ye(ce), ge = we(), Q = R("button"), I.c(), u(w, "cx", "100"), u(w, "cy", "100"), u(w, "r", "90"), u(_, "x", "88"), u(_, "y", "40"), u(_, "width", "24"), u(_, "height", "80"), u(_, "rx", "12"), u(_, "fill", "black"), u(X, "cx", "100"), u(X, "cy", "150"), u(X, "r", "14"), u(X, "fill", "black"), u(S, "id", "exclamation-mask"), u(ne, "cx", "100"), u(ne, "cy", "100"), u(ne, "r", "90"), u(ne, "mask", "url(#exclamation-mask)"), u(f, "viewBox", "0 0 200 200"), u(f, "xmlns", "http://www.w3.org/2000/svg"), u(r, "class", "CashierSessionExpirationModalHeaderTitle"), u(de, "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"), u(G, "xmlns", "http://www.w3.org/2000/svg"), u(G, "viewBox", "0 0 13 13"), u(G, "fill", "none"), u(G, "class", "CloseButton"), u(ae, "class", "ModalCloseIcon"), u(o, "class", "CashierSessionExpirationModalHeader"), u(v, "class", "CashierSessionExpirationButtonText"), u(oe, "type", "button"), u(oe, "class", "ModalButton Secondary"), u(Q, "type", "button"), u(Q, "class", $ = "ModalButton Primary " + /*showLoaderButton*/
|
|
625
|
+
(n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(x, "class", "CashierSessionExpiration"), u(g, "class", "CashierSessionExpirationModalContainer"), u(i, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), zt(() => (
|
|
599
626
|
/*div7_elementresize_handler*/
|
|
600
627
|
n[25].call(t)
|
|
601
628
|
));
|
|
602
629
|
},
|
|
603
|
-
m(
|
|
604
|
-
Re(
|
|
630
|
+
m(y, C) {
|
|
631
|
+
Re(y, t, C), p(t, i), p(i, o), p(o, r), p(r, f), p(f, E), p(E, S), p(S, w), p(S, _), p(S, X), p(f, ne), p(r, Ce), p(r, H), p(o, ye), p(o, ae), p(ae, G), p(G, de), p(i, K), p(i, g), p(g, x), L && L.m(x, null), p(x, ie), h && h.m(x, null), p(x, le), Y && Y.m(x, null), p(x, he), p(x, W), p(W, oe), p(oe, v), p(v, V), p(W, ge), p(W, Q), ee[D].m(Q, null), n[24](x), ve = Un(
|
|
605
632
|
t,
|
|
606
633
|
/*div7_elementresize_handler*/
|
|
607
634
|
n[25].bind(t)
|
|
608
|
-
), m = !0, Se || (
|
|
609
|
-
|
|
635
|
+
), m = !0, Se || (A = [
|
|
636
|
+
Ke(
|
|
610
637
|
G,
|
|
611
638
|
"click",
|
|
612
639
|
/*goToHome*/
|
|
613
640
|
n[11]
|
|
614
641
|
),
|
|
615
|
-
|
|
616
|
-
|
|
642
|
+
Ke(
|
|
643
|
+
oe,
|
|
617
644
|
"click",
|
|
618
645
|
/*goToHome*/
|
|
619
646
|
n[11]
|
|
620
647
|
),
|
|
621
|
-
|
|
648
|
+
Ke(
|
|
622
649
|
Q,
|
|
623
650
|
"click",
|
|
624
651
|
/*renewSession*/
|
|
625
652
|
n[9]
|
|
626
653
|
),
|
|
627
|
-
|
|
654
|
+
Ke(
|
|
628
655
|
t,
|
|
629
656
|
"click",
|
|
630
657
|
/*outOfModalClick*/
|
|
@@ -632,311 +659,311 @@ function ln(n) {
|
|
|
632
659
|
)
|
|
633
660
|
], Se = !0);
|
|
634
661
|
},
|
|
635
|
-
p(
|
|
636
|
-
n =
|
|
637
|
-
256) &&
|
|
638
|
-
n[8]("sessionExpirationHeader") + "") && We(
|
|
639
|
-
4194304) &&
|
|
662
|
+
p(y, C) {
|
|
663
|
+
n = y, (!m || C[0] & /*$_*/
|
|
664
|
+
256) && z !== (z = /*$_*/
|
|
665
|
+
n[8]("FE.sessionExpirationHeader") + "") && We(H, z), T ? T.p && (!m || C[0] & /*$$scope*/
|
|
666
|
+
4194304) && tt(
|
|
640
667
|
T,
|
|
641
|
-
|
|
668
|
+
xe,
|
|
642
669
|
n,
|
|
643
670
|
/*$$scope*/
|
|
644
671
|
n[22],
|
|
645
|
-
m ?
|
|
646
|
-
|
|
672
|
+
m ? it(
|
|
673
|
+
xe,
|
|
647
674
|
/*$$scope*/
|
|
648
675
|
n[22],
|
|
649
676
|
C,
|
|
650
|
-
|
|
651
|
-
) :
|
|
677
|
+
gi
|
|
678
|
+
) : nt(
|
|
652
679
|
/*$$scope*/
|
|
653
680
|
n[22]
|
|
654
681
|
),
|
|
655
|
-
|
|
656
|
-
) :
|
|
657
|
-
8) &&
|
|
658
|
-
4194304) &&
|
|
682
|
+
ln
|
|
683
|
+
) : L && L.p && (!m || C[0] & /*assetsurl*/
|
|
684
|
+
8) && L.p(n, m ? C : [-1, -1]), h && h.p && (!m || C[0] & /*$$scope*/
|
|
685
|
+
4194304) && tt(
|
|
659
686
|
h,
|
|
660
687
|
a,
|
|
661
688
|
n,
|
|
662
689
|
/*$$scope*/
|
|
663
690
|
n[22],
|
|
664
|
-
m ?
|
|
691
|
+
m ? it(
|
|
665
692
|
a,
|
|
666
693
|
/*$$scope*/
|
|
667
694
|
n[22],
|
|
668
695
|
C,
|
|
669
|
-
|
|
670
|
-
) :
|
|
696
|
+
hi
|
|
697
|
+
) : nt(
|
|
671
698
|
/*$$scope*/
|
|
672
699
|
n[22]
|
|
673
700
|
),
|
|
674
|
-
|
|
701
|
+
an
|
|
675
702
|
), M ? M.p && (!m || C[0] & /*$$scope*/
|
|
676
|
-
4194304) &&
|
|
703
|
+
4194304) && tt(
|
|
677
704
|
M,
|
|
678
|
-
|
|
705
|
+
F,
|
|
679
706
|
n,
|
|
680
707
|
/*$$scope*/
|
|
681
708
|
n[22],
|
|
682
|
-
m ?
|
|
683
|
-
|
|
709
|
+
m ? it(
|
|
710
|
+
F,
|
|
684
711
|
/*$$scope*/
|
|
685
712
|
n[22],
|
|
686
713
|
C,
|
|
687
|
-
|
|
688
|
-
) :
|
|
714
|
+
di
|
|
715
|
+
) : nt(
|
|
689
716
|
/*$$scope*/
|
|
690
717
|
n[22]
|
|
691
718
|
),
|
|
692
|
-
|
|
719
|
+
rn
|
|
693
720
|
) : Y && Y.p && (!m || C[0] & /*$_, timeLeft*/
|
|
694
721
|
384) && Y.p(n, m ? C : [-1, -1]), (!m || C[0] & /*$_*/
|
|
695
722
|
256) && ce !== (ce = /*$_*/
|
|
696
|
-
n[8]("sessionExpirationEnd") + "") && We(V, ce);
|
|
723
|
+
n[8]("FE.sessionExpirationEnd") + "") && We(V, ce);
|
|
697
724
|
let fe = D;
|
|
698
|
-
D = ue(n), D === fe ? ee[D].p(n, C) : (
|
|
725
|
+
D = ue(n), D === fe ? ee[D].p(n, C) : (fn(), Ae(ee[fe], 1, 1, () => {
|
|
699
726
|
ee[fe] = null;
|
|
700
|
-
}),
|
|
727
|
+
}), mn(), I = ee[D], I ? I.p(n, C) : (I = ee[D] = Ee[D](n), I.c()), be(I, 1), I.m(Q, null)), (!m || C[0] & /*showLoaderButton*/
|
|
701
728
|
64 && $ !== ($ = "ModalButton Primary " + /*showLoaderButton*/
|
|
702
729
|
(n[6] ? "Disabled" : ""))) && u(Q, "class", $);
|
|
703
730
|
},
|
|
704
|
-
i(
|
|
705
|
-
m || (
|
|
706
|
-
m && (q || (q =
|
|
731
|
+
i(y) {
|
|
732
|
+
m || (be(L, y), be(h, y), be(Y, y), be(I), y && zt(() => {
|
|
733
|
+
m && (q || (q = Bt(t, Yt, { duration: (
|
|
707
734
|
/*duration*/
|
|
708
735
|
n[2]
|
|
709
736
|
) }, !0)), q.run(1));
|
|
710
737
|
}), m = !0);
|
|
711
738
|
},
|
|
712
|
-
o(
|
|
713
|
-
|
|
739
|
+
o(y) {
|
|
740
|
+
Ae(L, y), Ae(h, y), Ae(Y, y), Ae(I), y && (q || (q = Bt(t, Yt, { duration: (
|
|
714
741
|
/*duration*/
|
|
715
742
|
n[2]
|
|
716
743
|
) }, !1)), q.run(0)), m = !1;
|
|
717
744
|
},
|
|
718
|
-
d(
|
|
719
|
-
|
|
745
|
+
d(y) {
|
|
746
|
+
y && Me(t), L && L.d(y), h && h.d(y), Y && Y.d(y), ee[D].d(), n[24](null), ve(), y && q && q.end(), Se = !1, Pn(A);
|
|
720
747
|
}
|
|
721
748
|
};
|
|
722
749
|
}
|
|
723
|
-
function
|
|
724
|
-
let t,
|
|
750
|
+
function un(n) {
|
|
751
|
+
let t, i;
|
|
725
752
|
return {
|
|
726
753
|
c() {
|
|
727
|
-
t = R("img"),
|
|
728
|
-
n[3]}/set-timeout-icon.png`) || u(t, "src",
|
|
754
|
+
t = R("img"), Wt(t.src, i = `${/*assetsurl*/
|
|
755
|
+
n[3]}/set-timeout-icon.png`) || u(t, "src", i), u(t, "width", "300px"), u(t, "alt", "error");
|
|
729
756
|
},
|
|
730
|
-
m(
|
|
731
|
-
Re(
|
|
757
|
+
m(o, r) {
|
|
758
|
+
Re(o, t, r);
|
|
732
759
|
},
|
|
733
|
-
p(
|
|
760
|
+
p(o, r) {
|
|
734
761
|
r[0] & /*assetsurl*/
|
|
735
|
-
8 && !
|
|
736
|
-
|
|
762
|
+
8 && !Wt(t.src, i = `${/*assetsurl*/
|
|
763
|
+
o[3]}/set-timeout-icon.png`) && u(t, "src", i);
|
|
737
764
|
},
|
|
738
|
-
d(
|
|
739
|
-
|
|
765
|
+
d(o) {
|
|
766
|
+
o && Me(t);
|
|
740
767
|
}
|
|
741
768
|
};
|
|
742
769
|
}
|
|
743
|
-
function
|
|
744
|
-
let t,
|
|
770
|
+
function Ei(n) {
|
|
771
|
+
let t, i = (
|
|
745
772
|
/*assetsurl*/
|
|
746
|
-
n[3] &&
|
|
773
|
+
n[3] && un(n)
|
|
747
774
|
);
|
|
748
775
|
return {
|
|
749
776
|
c() {
|
|
750
|
-
|
|
777
|
+
i && i.c(), t = Bn();
|
|
751
778
|
},
|
|
752
|
-
m(
|
|
753
|
-
|
|
779
|
+
m(o, r) {
|
|
780
|
+
i && i.m(o, r), Re(o, t, r);
|
|
754
781
|
},
|
|
755
|
-
p(
|
|
782
|
+
p(o, r) {
|
|
756
783
|
/*assetsurl*/
|
|
757
|
-
|
|
784
|
+
o[3] ? i ? i.p(o, r) : (i = un(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null);
|
|
758
785
|
},
|
|
759
|
-
d(
|
|
760
|
-
|
|
786
|
+
d(o) {
|
|
787
|
+
o && Me(t), i && i.d(o);
|
|
761
788
|
}
|
|
762
789
|
};
|
|
763
790
|
}
|
|
764
|
-
function
|
|
765
|
-
let t,
|
|
791
|
+
function _i(n) {
|
|
792
|
+
let t, i, o = (
|
|
766
793
|
/*$_*/
|
|
767
|
-
n[8]("sessionExpirationTitle") + ""
|
|
768
|
-
), r, f,
|
|
794
|
+
n[8]("FE.sessionExpirationTitle") + ""
|
|
795
|
+
), r, f, E, S = on.sanitize(
|
|
769
796
|
/*$_*/
|
|
770
|
-
n[8]("sessionExpirationGeneralText", { values: { second: (
|
|
797
|
+
n[8]("FE.sessionExpirationGeneralText", { values: { second: (
|
|
771
798
|
/*timeLeft*/
|
|
772
799
|
n[7]
|
|
773
800
|
) } })
|
|
774
801
|
) + "";
|
|
775
802
|
return {
|
|
776
803
|
c() {
|
|
777
|
-
t = R("span"),
|
|
804
|
+
t = R("span"), i = R("p"), r = Ye(o), f = we(), E = R("p"), u(t, "class", "CashierSessionExpirationText");
|
|
778
805
|
},
|
|
779
|
-
m(
|
|
780
|
-
Re(
|
|
806
|
+
m(w, _) {
|
|
807
|
+
Re(w, t, _), p(t, i), p(i, r), p(t, f), p(t, E), E.innerHTML = S;
|
|
781
808
|
},
|
|
782
|
-
p(
|
|
783
|
-
|
|
784
|
-
256 &&
|
|
785
|
-
|
|
786
|
-
384 && S !== (S =
|
|
809
|
+
p(w, _) {
|
|
810
|
+
_[0] & /*$_*/
|
|
811
|
+
256 && o !== (o = /*$_*/
|
|
812
|
+
w[8]("FE.sessionExpirationTitle") + "") && We(r, o), _[0] & /*$_, timeLeft*/
|
|
813
|
+
384 && S !== (S = on.sanitize(
|
|
787
814
|
/*$_*/
|
|
788
|
-
|
|
815
|
+
w[8]("FE.sessionExpirationGeneralText", { values: { second: (
|
|
789
816
|
/*timeLeft*/
|
|
790
|
-
|
|
817
|
+
w[7]
|
|
791
818
|
) } })
|
|
792
|
-
) + "") && (
|
|
819
|
+
) + "") && (E.innerHTML = S);
|
|
793
820
|
},
|
|
794
|
-
d(
|
|
795
|
-
|
|
821
|
+
d(w) {
|
|
822
|
+
w && Me(t);
|
|
796
823
|
}
|
|
797
824
|
};
|
|
798
825
|
}
|
|
799
|
-
function
|
|
826
|
+
function Ti(n) {
|
|
800
827
|
let t;
|
|
801
|
-
const
|
|
828
|
+
const i = (
|
|
802
829
|
/*#slots*/
|
|
803
830
|
n[23].button
|
|
804
|
-
),
|
|
805
|
-
|
|
831
|
+
), o = et(
|
|
832
|
+
i,
|
|
806
833
|
n,
|
|
807
834
|
/*$$scope*/
|
|
808
835
|
n[22],
|
|
809
|
-
|
|
810
|
-
), r =
|
|
836
|
+
sn
|
|
837
|
+
), r = o || bi(n);
|
|
811
838
|
return {
|
|
812
839
|
c() {
|
|
813
840
|
r && r.c();
|
|
814
841
|
},
|
|
815
|
-
m(f,
|
|
816
|
-
r && r.m(f,
|
|
842
|
+
m(f, E) {
|
|
843
|
+
r && r.m(f, E), t = !0;
|
|
817
844
|
},
|
|
818
|
-
p(f,
|
|
819
|
-
|
|
820
|
-
4194304) &&
|
|
821
|
-
i,
|
|
845
|
+
p(f, E) {
|
|
846
|
+
o ? o.p && (!t || E[0] & /*$$scope*/
|
|
847
|
+
4194304) && tt(
|
|
822
848
|
o,
|
|
849
|
+
i,
|
|
823
850
|
f,
|
|
824
851
|
/*$$scope*/
|
|
825
852
|
f[22],
|
|
826
|
-
t ?
|
|
827
|
-
|
|
853
|
+
t ? it(
|
|
854
|
+
i,
|
|
828
855
|
/*$$scope*/
|
|
829
856
|
f[22],
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
) :
|
|
857
|
+
E,
|
|
858
|
+
pi
|
|
859
|
+
) : nt(
|
|
833
860
|
/*$$scope*/
|
|
834
861
|
f[22]
|
|
835
862
|
),
|
|
836
|
-
|
|
837
|
-
) : r && r.p && (!t ||
|
|
838
|
-
256) && r.p(f, t ?
|
|
863
|
+
sn
|
|
864
|
+
) : r && r.p && (!t || E[0] & /*$_*/
|
|
865
|
+
256) && r.p(f, t ? E : [-1, -1]);
|
|
839
866
|
},
|
|
840
867
|
i(f) {
|
|
841
|
-
t || (
|
|
868
|
+
t || (be(r, f), t = !0);
|
|
842
869
|
},
|
|
843
870
|
o(f) {
|
|
844
|
-
|
|
871
|
+
Ae(r, f), t = !1;
|
|
845
872
|
},
|
|
846
873
|
d(f) {
|
|
847
874
|
r && r.d(f);
|
|
848
875
|
}
|
|
849
876
|
};
|
|
850
877
|
}
|
|
851
|
-
function
|
|
852
|
-
let t,
|
|
878
|
+
function wi(n) {
|
|
879
|
+
let t, i, o, r, f, E = (
|
|
853
880
|
/*$_*/
|
|
854
|
-
n[8]("sessionExpirationLoadingButton") + ""
|
|
881
|
+
n[8]("FE.sessionExpirationLoadingButton") + ""
|
|
855
882
|
), S;
|
|
856
883
|
return {
|
|
857
884
|
c() {
|
|
858
|
-
t = R("div"),
|
|
885
|
+
t = R("div"), i = se("svg"), o = se("path"), r = we(), f = R("span"), S = Ye(E), u(o, "d", "M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"), u(o, "fill", "white"), u(i, "class", "CashierSessionExpirationButtonSpinner"), u(i, "xmlns", "http://www.w3.org/2000/svg"), u(i, "width", "15"), u(i, "height", "14"), u(i, "viewBox", "0 0 15 14"), u(i, "fill", "none"), u(f, "class", "CashierSessionExpirationButtonText");
|
|
859
886
|
},
|
|
860
|
-
m(
|
|
861
|
-
Re(
|
|
887
|
+
m(w, _) {
|
|
888
|
+
Re(w, t, _), p(t, i), p(i, o), p(t, r), p(t, f), p(f, S);
|
|
862
889
|
},
|
|
863
|
-
p(
|
|
864
|
-
|
|
865
|
-
256 &&
|
|
866
|
-
|
|
890
|
+
p(w, _) {
|
|
891
|
+
_[0] & /*$_*/
|
|
892
|
+
256 && E !== (E = /*$_*/
|
|
893
|
+
w[8]("FE.sessionExpirationLoadingButton") + "") && We(S, E);
|
|
867
894
|
},
|
|
868
|
-
i:
|
|
869
|
-
o:
|
|
870
|
-
d(
|
|
871
|
-
|
|
895
|
+
i: Gt,
|
|
896
|
+
o: Gt,
|
|
897
|
+
d(w) {
|
|
898
|
+
w && Me(t);
|
|
872
899
|
}
|
|
873
900
|
};
|
|
874
901
|
}
|
|
875
|
-
function
|
|
876
|
-
let t,
|
|
902
|
+
function bi(n) {
|
|
903
|
+
let t, i = (
|
|
877
904
|
/*$_*/
|
|
878
|
-
n[8]("sessionExpirationGeneralButton") + ""
|
|
879
|
-
),
|
|
905
|
+
n[8]("FE.sessionExpirationGeneralButton") + ""
|
|
906
|
+
), o;
|
|
880
907
|
return {
|
|
881
908
|
c() {
|
|
882
|
-
t = R("span"),
|
|
909
|
+
t = R("span"), o = Ye(i), u(t, "class", "CashierSessionExpirationButtonText");
|
|
883
910
|
},
|
|
884
911
|
m(r, f) {
|
|
885
|
-
Re(r, t, f), p(t,
|
|
912
|
+
Re(r, t, f), p(t, o);
|
|
886
913
|
},
|
|
887
914
|
p(r, f) {
|
|
888
915
|
f[0] & /*$_*/
|
|
889
|
-
256 &&
|
|
890
|
-
r[8]("sessionExpirationGeneralButton") + "") && We(
|
|
916
|
+
256 && i !== (i = /*$_*/
|
|
917
|
+
r[8]("FE.sessionExpirationGeneralButton") + "") && We(o, i);
|
|
891
918
|
},
|
|
892
919
|
d(r) {
|
|
893
920
|
r && Me(t);
|
|
894
921
|
}
|
|
895
922
|
};
|
|
896
923
|
}
|
|
897
|
-
function
|
|
898
|
-
let t,
|
|
924
|
+
function yi(n) {
|
|
925
|
+
let t, i, o = (
|
|
899
926
|
/*show*/
|
|
900
|
-
n[5] &&
|
|
927
|
+
n[5] && cn(n)
|
|
901
928
|
);
|
|
902
929
|
return {
|
|
903
930
|
c() {
|
|
904
|
-
t = R("div"),
|
|
931
|
+
t = R("div"), o && o.c();
|
|
905
932
|
},
|
|
906
933
|
m(r, f) {
|
|
907
|
-
Re(r, t, f),
|
|
934
|
+
Re(r, t, f), o && o.m(t, null), n[26](t), i = !0;
|
|
908
935
|
},
|
|
909
936
|
p(r, f) {
|
|
910
937
|
/*show*/
|
|
911
|
-
r[5] ?
|
|
912
|
-
32 &&
|
|
913
|
-
|
|
914
|
-
}),
|
|
938
|
+
r[5] ? o ? (o.p(r, f), f[0] & /*show*/
|
|
939
|
+
32 && be(o, 1)) : (o = cn(r), o.c(), be(o, 1), o.m(t, null)) : o && (fn(), Ae(o, 1, 1, () => {
|
|
940
|
+
o = null;
|
|
941
|
+
}), mn());
|
|
915
942
|
},
|
|
916
943
|
i(r) {
|
|
917
|
-
|
|
944
|
+
i || (be(o), i = !0);
|
|
918
945
|
},
|
|
919
946
|
o(r) {
|
|
920
|
-
|
|
947
|
+
Ae(o), i = !1;
|
|
921
948
|
},
|
|
922
949
|
d(r) {
|
|
923
|
-
r && Me(t),
|
|
950
|
+
r && Me(t), o && o.d(), n[26](null);
|
|
924
951
|
}
|
|
925
952
|
};
|
|
926
953
|
}
|
|
927
|
-
const
|
|
928
|
-
function
|
|
929
|
-
let
|
|
930
|
-
Ut(n,
|
|
931
|
-
let { $$slots: f = {}, $$scope:
|
|
932
|
-
|
|
933
|
-
let { clientstyling: S = "" } = t, { clientstylingurl:
|
|
954
|
+
const Si = 90;
|
|
955
|
+
function xi(n, t, i) {
|
|
956
|
+
let o, r;
|
|
957
|
+
Ut(n, Xt, (a) => i(21, o = a)), Ut(n, jn, (a) => i(8, r = a));
|
|
958
|
+
let { $$slots: f = {}, $$scope: E } = t;
|
|
959
|
+
jt.extend(Yn);
|
|
960
|
+
let { clientstyling: S = "" } = t, { clientstylingurl: w = "" } = t, { width: _ } = t, { height: X } = t, { duration: ne = 200 } = t, { assetsurl: Ce = "" } = t, { lang: z = "en" } = t, { translationurl: H = "" } = t, { endpoint: ye } = t, { currency: ae } = t, { customerid: G } = t, { selectedpaymentmethodname: de } = t, { mbsource: K = "" } = t, g, x = !1, ie = !1, le, he, W, oe, v, ce;
|
|
934
961
|
var V;
|
|
935
962
|
(function(a) {
|
|
936
963
|
a.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", a.Success = "Success", a.JwtTokenError = "JwtTokenError";
|
|
937
964
|
})(V || (V = {}));
|
|
938
965
|
const ge = (a) => {
|
|
939
|
-
a.data.type === "StartSessionCountdown" && (
|
|
966
|
+
a.data.type === "StartSessionCountdown" && (oe = a.data.paymentMethodName);
|
|
940
967
|
}, Q = (a) => {
|
|
941
968
|
try {
|
|
942
969
|
return JSON.parse(atob(a.split(".")[1]));
|
|
@@ -947,38 +974,38 @@ function bo(n, t, o) {
|
|
|
947
974
|
window.postMessage(
|
|
948
975
|
{
|
|
949
976
|
type: "ErrorResponseCode",
|
|
950
|
-
errorResponseCode:
|
|
977
|
+
errorResponseCode: v
|
|
951
978
|
},
|
|
952
979
|
window.location.href
|
|
953
980
|
);
|
|
954
981
|
}, I = (a) => {
|
|
955
|
-
|
|
982
|
+
i(5, x = !1);
|
|
956
983
|
const h = Q(a);
|
|
957
|
-
h && (he = h == null ? void 0 : h.exp,
|
|
984
|
+
h && (he = h == null ? void 0 : h.exp, i(7, le = he), W && clearInterval(W), W = setInterval(
|
|
958
985
|
() => {
|
|
959
|
-
const
|
|
960
|
-
|
|
986
|
+
const F = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
987
|
+
i(7, le = he - F), le <= Si && i(5, x = !0), F >= he && ($(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
961
988
|
},
|
|
962
989
|
1e3
|
|
963
990
|
));
|
|
964
991
|
}, $ = () => {
|
|
965
|
-
|
|
966
|
-
},
|
|
967
|
-
if (
|
|
992
|
+
i(7, le = 0), i(5, x = !1), clearInterval(W);
|
|
993
|
+
}, ve = () => {
|
|
994
|
+
if (ie)
|
|
968
995
|
return;
|
|
969
|
-
const a = new URL(`${
|
|
970
|
-
|
|
971
|
-
const
|
|
996
|
+
const a = new URL(`${ye}/v1/player/${G}/payment/GetPaymentMethod`), h = new Headers();
|
|
997
|
+
i(6, ie = !0), h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp", jt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
998
|
+
const F = {
|
|
972
999
|
method: "POST",
|
|
973
1000
|
mode: "cors",
|
|
974
1001
|
headers: h,
|
|
975
1002
|
body: JSON.stringify({
|
|
976
|
-
PaymentMethodName:
|
|
1003
|
+
PaymentMethodName: oe || de,
|
|
977
1004
|
Currency: ae,
|
|
978
|
-
XPaymentSessionToken:
|
|
1005
|
+
XPaymentSessionToken: o
|
|
979
1006
|
})
|
|
980
1007
|
};
|
|
981
|
-
fetch(a,
|
|
1008
|
+
fetch(a, F).then((M) => M.json()).then((M) => {
|
|
982
1009
|
if (M.error) {
|
|
983
1010
|
window.postMessage(
|
|
984
1011
|
{
|
|
@@ -990,101 +1017,101 @@ function bo(n, t, o) {
|
|
|
990
1017
|
return;
|
|
991
1018
|
}
|
|
992
1019
|
if (M.ResponseCode === V.PlayerSessionIsNotValid || M.ResponseCode === V.JwtTokenError) {
|
|
993
|
-
|
|
1020
|
+
v = M.ResponseCode, $(), D();
|
|
994
1021
|
return;
|
|
995
1022
|
}
|
|
996
1023
|
if (M.ResponseCode !== V.Success) {
|
|
997
|
-
|
|
1024
|
+
v = M.ResponseCode, $();
|
|
998
1025
|
return;
|
|
999
1026
|
}
|
|
1000
|
-
M.XPaymentSessionToken &&
|
|
1001
|
-
}).finally(() =>
|
|
1027
|
+
M.XPaymentSessionToken && Xt.set(M.XPaymentSessionToken);
|
|
1028
|
+
}).finally(() => i(6, ie = !1));
|
|
1002
1029
|
}, q = (a) => {
|
|
1003
1030
|
const h = a.currentTarget;
|
|
1004
|
-
a.target === h &&
|
|
1031
|
+
a.target === h && ve();
|
|
1005
1032
|
}, m = () => {
|
|
1006
|
-
fetch(
|
|
1007
|
-
Object.keys(h).forEach((
|
|
1008
|
-
|
|
1033
|
+
fetch(H).then((h) => h.json()).then((h) => {
|
|
1034
|
+
Object.keys(h).forEach((F) => {
|
|
1035
|
+
Vt(F, h[F]);
|
|
1009
1036
|
});
|
|
1010
1037
|
}).catch((h) => {
|
|
1011
1038
|
console.log(h);
|
|
1012
1039
|
});
|
|
1013
1040
|
}, Se = () => {
|
|
1014
|
-
window.postMessage({ type: "Cashier:goToHome" }, window.location.href),
|
|
1041
|
+
window.postMessage({ type: "Cashier:goToHome" }, window.location.href), i(5, x = !1);
|
|
1015
1042
|
};
|
|
1016
|
-
Object.keys(
|
|
1017
|
-
|
|
1043
|
+
Object.keys(qt).forEach((a) => {
|
|
1044
|
+
Vt(a, qt[a]);
|
|
1018
1045
|
});
|
|
1019
|
-
const
|
|
1020
|
-
|
|
1046
|
+
const A = () => {
|
|
1047
|
+
Xn(z);
|
|
1021
1048
|
};
|
|
1022
|
-
|
|
1049
|
+
In(() => (window.addEventListener("message", ge, !1), () => {
|
|
1023
1050
|
window.removeEventListener("message", ge);
|
|
1024
|
-
})),
|
|
1051
|
+
})), Fn(() => {
|
|
1025
1052
|
clearInterval(W);
|
|
1026
1053
|
});
|
|
1027
|
-
function
|
|
1028
|
-
|
|
1029
|
-
g = a,
|
|
1054
|
+
function xe(a) {
|
|
1055
|
+
Ht[a ? "unshift" : "push"](() => {
|
|
1056
|
+
g = a, i(4, g);
|
|
1030
1057
|
});
|
|
1031
1058
|
}
|
|
1032
1059
|
function T() {
|
|
1033
|
-
|
|
1060
|
+
_ = this.clientWidth, X = this.clientHeight, i(0, _), i(1, X);
|
|
1034
1061
|
}
|
|
1035
|
-
function
|
|
1036
|
-
|
|
1037
|
-
g = a,
|
|
1062
|
+
function L(a) {
|
|
1063
|
+
Ht[a ? "unshift" : "push"](() => {
|
|
1064
|
+
g = a, i(4, g);
|
|
1038
1065
|
});
|
|
1039
1066
|
}
|
|
1040
1067
|
return n.$$set = (a) => {
|
|
1041
|
-
"clientstyling" in a &&
|
|
1068
|
+
"clientstyling" in a && i(12, S = a.clientstyling), "clientstylingurl" in a && i(13, w = a.clientstylingurl), "width" in a && i(0, _ = a.width), "height" in a && i(1, X = a.height), "duration" in a && i(2, ne = a.duration), "assetsurl" in a && i(3, Ce = a.assetsurl), "lang" in a && i(14, z = a.lang), "translationurl" in a && i(15, H = a.translationurl), "endpoint" in a && i(16, ye = a.endpoint), "currency" in a && i(17, ae = a.currency), "customerid" in a && i(18, G = a.customerid), "selectedpaymentmethodname" in a && i(19, de = a.selectedpaymentmethodname), "mbsource" in a && i(20, K = a.mbsource), "$$scope" in a && i(22, E = a.$$scope);
|
|
1042
1069
|
}, n.$$.update = () => {
|
|
1043
1070
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1044
|
-
2097152 && I(
|
|
1045
|
-
16384 &&
|
|
1046
|
-
4112 && S && g &&
|
|
1047
|
-
8208 &&
|
|
1048
|
-
1048592 && K && g &&
|
|
1049
|
-
32768 &&
|
|
1071
|
+
2097152 && I(o), n.$$.dirty[0] & /*lang*/
|
|
1072
|
+
16384 && z && A(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1073
|
+
4112 && S && g && zn(g, S), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1074
|
+
8208 && w && g && Hn(g, w), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1075
|
+
1048592 && K && g && Gn(g, `${K}.Style`, ce), n.$$.dirty[0] & /*translationurl*/
|
|
1076
|
+
32768 && H && m();
|
|
1050
1077
|
}, [
|
|
1051
|
-
|
|
1078
|
+
_,
|
|
1052
1079
|
X,
|
|
1053
1080
|
ne,
|
|
1054
1081
|
Ce,
|
|
1055
1082
|
g,
|
|
1056
|
-
|
|
1057
|
-
|
|
1083
|
+
x,
|
|
1084
|
+
ie,
|
|
1058
1085
|
le,
|
|
1059
1086
|
r,
|
|
1060
|
-
|
|
1087
|
+
ve,
|
|
1061
1088
|
q,
|
|
1062
1089
|
Se,
|
|
1063
1090
|
S,
|
|
1064
|
-
|
|
1065
|
-
F,
|
|
1091
|
+
w,
|
|
1066
1092
|
z,
|
|
1067
|
-
|
|
1093
|
+
H,
|
|
1094
|
+
ye,
|
|
1068
1095
|
ae,
|
|
1069
1096
|
G,
|
|
1070
1097
|
de,
|
|
1071
1098
|
K,
|
|
1072
|
-
|
|
1073
|
-
|
|
1099
|
+
o,
|
|
1100
|
+
E,
|
|
1074
1101
|
f,
|
|
1075
|
-
|
|
1102
|
+
xe,
|
|
1076
1103
|
T,
|
|
1077
|
-
|
|
1104
|
+
L
|
|
1078
1105
|
];
|
|
1079
1106
|
}
|
|
1080
|
-
class
|
|
1107
|
+
class Ai extends kn {
|
|
1081
1108
|
constructor(t) {
|
|
1082
|
-
super(),
|
|
1109
|
+
super(), On(
|
|
1083
1110
|
this,
|
|
1084
1111
|
t,
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1112
|
+
xi,
|
|
1113
|
+
yi,
|
|
1114
|
+
Dn,
|
|
1088
1115
|
{
|
|
1089
1116
|
clientstyling: 12,
|
|
1090
1117
|
clientstylingurl: 13,
|
|
@@ -1100,7 +1127,7 @@ class So extends vn {
|
|
|
1100
1127
|
selectedpaymentmethodname: 19,
|
|
1101
1128
|
mbsource: 20
|
|
1102
1129
|
},
|
|
1103
|
-
|
|
1130
|
+
mi,
|
|
1104
1131
|
[-1, -1]
|
|
1105
1132
|
);
|
|
1106
1133
|
}
|
|
@@ -1183,7 +1210,7 @@ class So extends vn {
|
|
|
1183
1210
|
this.$$set({ mbsource: t }), Z();
|
|
1184
1211
|
}
|
|
1185
1212
|
}
|
|
1186
|
-
|
|
1213
|
+
Wn(Ai, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1187
1214
|
export {
|
|
1188
|
-
|
|
1215
|
+
Ai as default
|
|
1189
1216
|
};
|