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