@everymatrix/cashier-page 1.93.66 → 1.93.75
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-BekweMPA.cjs → CashierCarousel-BM-KceW7.cjs} +6 -6
- package/components/{CashierCarousel-B0fVKMjP.js → CashierCarousel-CwYg_hFh.js} +969 -968
- package/components/{CashierCarousel-BtKQtzdv.js → CashierCarousel-DcUyAcwc.js} +947 -946
- 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-BfBH2bp5.js → CashierHeader-C7A_llUb.js} +159 -168
- package/components/{CashierHeader-BPxfHV7O.js → CashierHeader-DHBbF3Fw.js} +158 -167
- package/components/{CashierIframeRedirect-wYvtOAcP.js → CashierIframeRedirect-BUfajkxx.js} +91 -88
- package/components/CashierIframeRedirect-cI2gXg_a.cjs +1 -0
- package/components/{CashierIframeRedirect-B_XLllRU.js → CashierIframeRedirect-pWxVJsqa.js} +96 -93
- package/components/{CashierMethodDetails-BIrHwWr_.js → CashierMethodDetails-B80VNj_D.js} +4500 -4244
- package/components/CashierMethodDetails-DL0E2K7D.cjs +85 -0
- package/components/{CashierMethodDetails-BIIsDUJD.js → CashierMethodDetails-DOxjgBPP.js} +4332 -4076
- package/components/CashierMethodsList-AGyi-1WS.js +993 -0
- package/components/CashierMethodsList-BMD1_XUn.js +979 -0
- package/components/CashierMethodsList-DhXCE9bn.cjs +1 -0
- package/components/{CashierModal-Dbo2y6I0.js → CashierModal-CkZf2u_p.js} +31 -31
- package/components/{CashierModal-D_cTbvqs.cjs → CashierModal-DCXxFKAW.cjs} +1 -1
- package/components/{CashierModal-DmFWYYBv.js → CashierModal-Sl2X44Qr.js} +27 -27
- package/components/{CashierNotifications-CCfHWtui.js → CashierNotifications-6zJqvaK5.js} +30 -30
- package/components/{CashierNotifications-O-t5pi8m.cjs → CashierNotifications-BJ9m5MR5.cjs} +1 -1
- package/components/{CashierNotifications-BF72AddE.js → CashierNotifications-CI9LFS0z.js} +36 -36
- package/components/{CashierPage-CMOWUvKb.js → CashierPage-Cl1B-pXl.js} +1774 -1677
- package/components/{CashierPage-BwKWBfb9.js → CashierPage-wnVVxtWE.js} +1677 -1586
- package/components/CashierPage-z3O2UFl5.cjs +1 -0
- package/components/{CashierReceiptPage-D4MzhJ9V.js → CashierReceiptPage-DIbzZT8o.js} +1012 -1160
- package/components/CashierReceiptPage-DjD6wuB3.cjs +26 -0
- package/components/{CashierReceiptPage-DT5sVMW6.js → CashierReceiptPage-HK4kGpqY.js} +1039 -1187
- package/components/CashierSessionExpirationModal-BI0TSNVV.js +1224 -0
- package/components/CashierSessionExpirationModal-C6eNs52S.js +1224 -0
- package/components/CashierSessionExpirationModal-kmyaKGHm.cjs +2 -0
- package/components/{CashierSpinner-DOUYOomg.js → CashierSpinner-CxccWP9P.js} +14 -14
- package/components/{CashierSpinner-BNkBVuft.cjs → CashierSpinner-D6QJrkuJ.cjs} +1 -1
- package/components/{CashierSpinner-BJI9qezE.js → CashierSpinner-h23y-7eM.js} +16 -16
- package/components/CashierStepUp-BaKfagWu.js +1204 -0
- package/components/CashierStepUp-Bwo5aVPT.cjs +1 -0
- package/components/CashierStepUp-cTf7L6t4.js +1165 -0
- package/components/CashierTransactionHistory-CXBAT5C2.cjs +1 -0
- package/components/CashierTransactionHistory-CXUPvjmQ.js +1394 -0
- package/components/CashierTransactionHistory-CnmFGuup.js +1394 -0
- package/components/CashierVerifications-C_dhaXxc.cjs +1 -0
- package/components/CashierVerifications-DqJGumEc.js +695 -0
- package/components/CashierVerifications-fkBvQqBz.js +691 -0
- package/components/{TxnStatusIcon-z17R4Qdy.js → TxnStatusIcon-BdmgpoFK.js} +5 -5
- package/components/{TxnStatusIcon-BcQgw6kQ.cjs → TxnStatusIcon-BuY_lIOK.cjs} +1 -1
- package/components/{TxnStatusIcon-DbrDCliI.js → TxnStatusIcon-DdHua6_u.js} +9 -9
- package/components/{TxnTypeIcons-keA0IcNM.cjs → TxnTypeIcons-BOR9sqs3.cjs} +1 -1
- package/components/{TxnTypeIcons-DA4xjdSc.js → TxnTypeIcons-Dj4BEiZD.js} +1 -1
- package/components/{TxnTypeIcons-_jm1frsR.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-BtMqsFpr.js +0 -848
- package/components/CashierError-Co7r_Zm9.cjs +0 -1
- package/components/CashierError-Dl1PsAvl.js +0 -848
- package/components/CashierHeader-CCqfqjfy.cjs +0 -1
- package/components/CashierIframeRedirect-BjtL1epU.cjs +0 -1
- package/components/CashierMethodDetails-BcyAbL4u.cjs +0 -85
- package/components/CashierMethodsList-C9nbu9q4.js +0 -977
- package/components/CashierMethodsList-DQfEkcgV.cjs +0 -1
- package/components/CashierMethodsList-DWU-U5kE.js +0 -963
- package/components/CashierPage-ptop6UgQ.cjs +0 -1
- package/components/CashierReceiptPage-DIDyIvIl.cjs +0 -26
- package/components/CashierSessionExpirationModal-C1B4Ul82.js +0 -1213
- package/components/CashierSessionExpirationModal-C7vvczxX.js +0 -1213
- package/components/CashierSessionExpirationModal-C_FzRlaI.cjs +0 -2
- package/components/CashierStepUp-BFJ7us6S.cjs +0 -1
- package/components/CashierStepUp-C3MjcoUT.js +0 -1199
- package/components/CashierStepUp-NMJhP_y_.js +0 -1160
- package/components/CashierTransactionHistory-CqvrPlI6.js +0 -1416
- package/components/CashierTransactionHistory-CxWFTJz1.cjs +0 -1
- package/components/CashierTransactionHistory-Ska3IjOh.js +0 -1416
- package/components/CashierVerifications-BujMq3Z2.js +0 -684
- package/components/CashierVerifications-D53gdMIF.js +0 -680
- package/components/CashierVerifications-cAHUa0ou.cjs +0 -1
|
@@ -1,1213 +0,0 @@
|
|
|
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, d as Me, t as Ae, e as we, g as un, h as fn, j as Re, k as R, m as Ut, o as On, ag as Dn, n as $e, a4 as Nn, aa as Bt, N as zt, y as We, u as et, p as tt, q as nt, l as u, r as p, a8 as In, A as Je, Z as se, v as be, z as Ye, w as Ht, x as Pn, I as Ft, B as Gt, D as Un, E as Bn, F as zn, G as Hn, H as Fn } from "./CashierCarousel-B0fVKMjP.js";
|
|
2
|
-
import { f as Wt } from "./CashierPage-CMOWUvKb.js";
|
|
3
|
-
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-BIrHwWr_.js";
|
|
4
|
-
function Vt(n, t) {
|
|
5
|
-
An(n, t);
|
|
6
|
-
}
|
|
7
|
-
function Wn(n) {
|
|
8
|
-
Cn({
|
|
9
|
-
fallbackLocale: "en"
|
|
10
|
-
}), vn.set(n);
|
|
11
|
-
}
|
|
12
|
-
const Xt = {
|
|
13
|
-
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"
|
|
20
|
-
},
|
|
21
|
-
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"
|
|
28
|
-
},
|
|
29
|
-
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"
|
|
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"
|
|
60
|
-
}
|
|
61
|
-
};
|
|
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 */
|
|
63
|
-
const {
|
|
64
|
-
entries: mn,
|
|
65
|
-
setPrototypeOf: qt,
|
|
66
|
-
isFrozen: Yn,
|
|
67
|
-
getPrototypeOf: jn,
|
|
68
|
-
getOwnPropertyDescriptor: Vn
|
|
69
|
-
} = Object;
|
|
70
|
-
let {
|
|
71
|
-
freeze: z,
|
|
72
|
-
seal: te,
|
|
73
|
-
create: pn
|
|
74
|
-
} = Object, {
|
|
75
|
-
apply: dt,
|
|
76
|
-
construct: ht
|
|
77
|
-
} = typeof Reflect != "undefined" && Reflect;
|
|
78
|
-
z || (z = function(t) {
|
|
79
|
-
return t;
|
|
80
|
-
});
|
|
81
|
-
te || (te = function(t) {
|
|
82
|
-
return t;
|
|
83
|
-
});
|
|
84
|
-
dt || (dt = function(t, i, o) {
|
|
85
|
-
return t.apply(i, o);
|
|
86
|
-
});
|
|
87
|
-
ht || (ht = function(t, i) {
|
|
88
|
-
return new t(...i);
|
|
89
|
-
});
|
|
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), Xn = J(String.prototype.indexOf), qn = J(String.prototype.trim), re = J(Object.prototype.hasOwnProperty), B = J(RegExp.prototype.test), He = Zn(TypeError);
|
|
91
|
-
function J(n) {
|
|
92
|
-
return function(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);
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
function Zn(n) {
|
|
99
|
-
return function() {
|
|
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);
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
function d(n, t) {
|
|
106
|
-
let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : it;
|
|
107
|
-
qt && qt(n, null);
|
|
108
|
-
let o = t.length;
|
|
109
|
-
for (; o--; ) {
|
|
110
|
-
let r = t[o];
|
|
111
|
-
if (typeof r == "string") {
|
|
112
|
-
const f = i(r);
|
|
113
|
-
f !== r && (Yn(t) || (t[o] = f), r = f);
|
|
114
|
-
}
|
|
115
|
-
n[r] = !0;
|
|
116
|
-
}
|
|
117
|
-
return n;
|
|
118
|
-
}
|
|
119
|
-
function Jn(n) {
|
|
120
|
-
for (let t = 0; t < n.length; t++)
|
|
121
|
-
re(n, t) || (n[t] = null);
|
|
122
|
-
return n;
|
|
123
|
-
}
|
|
124
|
-
function Le(n) {
|
|
125
|
-
const t = pn(null);
|
|
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);
|
|
128
|
-
return t;
|
|
129
|
-
}
|
|
130
|
-
function Fe(n, t) {
|
|
131
|
-
for (; n !== null; ) {
|
|
132
|
-
const o = Vn(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);
|
|
138
|
-
}
|
|
139
|
-
n = jn(n);
|
|
140
|
-
}
|
|
141
|
-
function i() {
|
|
142
|
-
return null;
|
|
143
|
-
}
|
|
144
|
-
return i;
|
|
145
|
-
}
|
|
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(
|
|
147
|
-
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
148
|
-
// eslint-disable-line no-useless-escape
|
|
149
|
-
), oi = te(/^(?:\w+script|data):/i), si = te(
|
|
150
|
-
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
151
|
-
// eslint-disable-line no-control-regex
|
|
152
|
-
), hn = te(/^html$/i), ri = te(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
153
|
-
var tn = /* @__PURE__ */ Object.freeze({
|
|
154
|
-
__proto__: null,
|
|
155
|
-
MUSTACHE_EXPR: $n,
|
|
156
|
-
ERB_EXPR: ei,
|
|
157
|
-
TMPLIT_EXPR: ti,
|
|
158
|
-
DATA_ATTR: ni,
|
|
159
|
-
ARIA_ATTR: ii,
|
|
160
|
-
IS_ALLOWED_URI: dn,
|
|
161
|
-
IS_SCRIPT_OR_DATA: oi,
|
|
162
|
-
ATTR_WHITESPACE: si,
|
|
163
|
-
DOCTYPE_NAME: hn,
|
|
164
|
-
CUSTOM_ELEMENT: ri
|
|
165
|
-
});
|
|
166
|
-
const Ge = {
|
|
167
|
-
element: 1,
|
|
168
|
-
text: 3,
|
|
169
|
-
// Deprecated
|
|
170
|
-
progressingInstruction: 7,
|
|
171
|
-
comment: 8,
|
|
172
|
-
document: 9
|
|
173
|
-
}, ai = function() {
|
|
174
|
-
return typeof window == "undefined" ? null : window;
|
|
175
|
-
}, li = function(t, i) {
|
|
176
|
-
if (typeof t != "object" || typeof t.createPolicy != "function")
|
|
177
|
-
return null;
|
|
178
|
-
let o = null;
|
|
179
|
-
const r = "data-tt-policy-suffix";
|
|
180
|
-
i && i.hasAttribute(r) && (o = i.getAttribute(r));
|
|
181
|
-
const f = "dompurify" + (o ? "#" + o : "");
|
|
182
|
-
try {
|
|
183
|
-
return t.createPolicy(f, {
|
|
184
|
-
createHTML(_) {
|
|
185
|
-
return _;
|
|
186
|
-
},
|
|
187
|
-
createScriptURL(_) {
|
|
188
|
-
return _;
|
|
189
|
-
}
|
|
190
|
-
});
|
|
191
|
-
} catch (_) {
|
|
192
|
-
return console.warn("TrustedTypes policy " + f + " could not be created."), null;
|
|
193
|
-
}
|
|
194
|
-
};
|
|
195
|
-
function gn() {
|
|
196
|
-
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ai();
|
|
197
|
-
const t = (c) => gn(c);
|
|
198
|
-
if (t.version = "3.1.6", t.removed = [], !n || !n.document || n.document.nodeType !== Ge.document)
|
|
199
|
-
return t.isSupported = !1, t;
|
|
200
|
-
let {
|
|
201
|
-
document: i
|
|
202
|
-
} = n;
|
|
203
|
-
const o = i, r = o.currentScript, {
|
|
204
|
-
DocumentFragment: f,
|
|
205
|
-
HTMLTemplateElement: _,
|
|
206
|
-
Node: S,
|
|
207
|
-
Element: b,
|
|
208
|
-
NodeFilter: E,
|
|
209
|
-
NamedNodeMap: V = n.NamedNodeMap || n.MozNamedAttrMap,
|
|
210
|
-
HTMLFormElement: ne,
|
|
211
|
-
DOMParser: Ce,
|
|
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");
|
|
214
|
-
if (typeof _ == "function") {
|
|
215
|
-
const c = i.createElement("template");
|
|
216
|
-
c.content && c.content.ownerDocument && (i = c.content.ownerDocument);
|
|
217
|
-
}
|
|
218
|
-
let g, x = "";
|
|
219
|
-
const {
|
|
220
|
-
implementation: ie,
|
|
221
|
-
createNodeIterator: le,
|
|
222
|
-
createDocumentFragment: he,
|
|
223
|
-
getElementsByTagName: W
|
|
224
|
-
} = i, {
|
|
225
|
-
importNode: oe
|
|
226
|
-
} = o;
|
|
227
|
-
let v = {};
|
|
228
|
-
t.isSupported = typeof mn == "function" && typeof K == "function" && ie && ie.createHTMLDocument !== void 0;
|
|
229
|
-
const {
|
|
230
|
-
MUSTACHE_EXPR: ce,
|
|
231
|
-
ERB_EXPR: X,
|
|
232
|
-
TMPLIT_EXPR: ge,
|
|
233
|
-
DATA_ATTR: Q,
|
|
234
|
-
ARIA_ATTR: D,
|
|
235
|
-
IS_SCRIPT_OR_DATA: I,
|
|
236
|
-
ATTR_WHITESPACE: $,
|
|
237
|
-
CUSTOM_ELEMENT: ve
|
|
238
|
-
} = tn;
|
|
239
|
-
let {
|
|
240
|
-
IS_ALLOWED_URI: q
|
|
241
|
-
} = tn, m = null;
|
|
242
|
-
const Se = d({}, [...Kt, ...ut, ...ft, ...mt, ...Qt]);
|
|
243
|
-
let A = null;
|
|
244
|
-
const xe = d({}, [...$t, ...pt, ...en, ...Qe]);
|
|
245
|
-
let T = Object.seal(pn(null, {
|
|
246
|
-
tagNameCheck: {
|
|
247
|
-
writable: !0,
|
|
248
|
-
configurable: !1,
|
|
249
|
-
enumerable: !0,
|
|
250
|
-
value: null
|
|
251
|
-
},
|
|
252
|
-
attributeNameCheck: {
|
|
253
|
-
writable: !0,
|
|
254
|
-
configurable: !1,
|
|
255
|
-
enumerable: !0,
|
|
256
|
-
value: null
|
|
257
|
-
},
|
|
258
|
-
allowCustomizedBuiltInElements: {
|
|
259
|
-
writable: !0,
|
|
260
|
-
configurable: !1,
|
|
261
|
-
enumerable: !0,
|
|
262
|
-
value: !1
|
|
263
|
-
}
|
|
264
|
-
})), L = null, a = null, h = !0, P = !0, M = !1, Y = !0, _e = !1, ee = !0, ue = !1, y = !1, C = !1, fe = !1, je = !1, Ve = !1, gt = !0, _t = !1;
|
|
265
|
-
const _n = "user-content-";
|
|
266
|
-
let ot = !0, Ie = !1, ke = {}, Oe = null;
|
|
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"]);
|
|
268
|
-
let Tt = null;
|
|
269
|
-
const bt = d({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
270
|
-
let st = null;
|
|
271
|
-
const wt = d({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Xe = "http://www.w3.org/1998/Math/MathML", qe = "http://www.w3.org/2000/svg", Ee = "http://www.w3.org/1999/xhtml";
|
|
272
|
-
let De = Ee, rt = !1, at = null;
|
|
273
|
-
const En = d({}, [Xe, qe, Ee], ct);
|
|
274
|
-
let Pe = null;
|
|
275
|
-
const Tn = ["application/xhtml+xml", "text/html"], bn = "text/html";
|
|
276
|
-
let k = null, Ne = null;
|
|
277
|
-
const wn = i.createElement("form"), yt = function(e) {
|
|
278
|
-
return e instanceof RegExp || e instanceof Function;
|
|
279
|
-
}, lt = function() {
|
|
280
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
281
|
-
if (!(Ne && Ne === e)) {
|
|
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),
|
|
285
|
-
// eslint-disable-line indent
|
|
286
|
-
e.ADD_URI_SAFE_ATTR,
|
|
287
|
-
// eslint-disable-line indent
|
|
288
|
-
k
|
|
289
|
-
// eslint-disable-line indent
|
|
290
|
-
) : wt, Tt = re(e, "ADD_DATA_URI_TAGS") ? d(
|
|
291
|
-
Le(bt),
|
|
292
|
-
// eslint-disable-line indent
|
|
293
|
-
e.ADD_DATA_URI_TAGS,
|
|
294
|
-
// eslint-disable-line indent
|
|
295
|
-
k
|
|
296
|
-
// eslint-disable-line indent
|
|
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, h = 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, Ve = 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) {
|
|
298
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
299
|
-
throw He('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
300
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
301
|
-
throw He('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
302
|
-
g = e.TRUSTED_TYPES_POLICY, x = g.createHTML("");
|
|
303
|
-
} else
|
|
304
|
-
g === void 0 && (g = li(H, r)), g !== null && typeof x == "string" && (x = g.createHTML(""));
|
|
305
|
-
z && z(e), Ne = e;
|
|
306
|
-
}
|
|
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) {
|
|
308
|
-
let s = K(e);
|
|
309
|
-
(!s || !s.tagName) && (s = {
|
|
310
|
-
namespaceURI: De,
|
|
311
|
-
tagName: "template"
|
|
312
|
-
});
|
|
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 === Xe ? l === "svg" && (w === "annotation-xml" || St[w]) : !!At[l] : e.namespaceURI === Xe ? s.namespaceURI === Ee ? l === "math" : s.namespaceURI === qe ? l === "math" && xt[w] : !!Ct[l] : e.namespaceURI === Ee ? s.namespaceURI === qe && !xt[w] || s.namespaceURI === Xe && !St[w] ? !1 : !Ct[l] && (yn[l] || !At[l]) : !!(Pe === "application/xhtml+xml" && at[e.namespaceURI]) : !1;
|
|
315
|
-
}, me = function(e) {
|
|
316
|
-
Be(t.removed, {
|
|
317
|
-
element: e
|
|
318
|
-
});
|
|
319
|
-
try {
|
|
320
|
-
K(e).removeChild(e);
|
|
321
|
-
} catch (s) {
|
|
322
|
-
ae(e);
|
|
323
|
-
}
|
|
324
|
-
}, Ze = function(e, s) {
|
|
325
|
-
try {
|
|
326
|
-
Be(t.removed, {
|
|
327
|
-
attribute: s.getAttributeNode(e),
|
|
328
|
-
from: s
|
|
329
|
-
});
|
|
330
|
-
} catch (l) {
|
|
331
|
-
Be(t.removed, {
|
|
332
|
-
attribute: null,
|
|
333
|
-
from: s
|
|
334
|
-
});
|
|
335
|
-
}
|
|
336
|
-
if (s.removeAttribute(e), e === "is" && !A[e])
|
|
337
|
-
if (fe || je)
|
|
338
|
-
try {
|
|
339
|
-
me(s);
|
|
340
|
-
} catch (l) {
|
|
341
|
-
}
|
|
342
|
-
else
|
|
343
|
-
try {
|
|
344
|
-
s.setAttribute(e, "");
|
|
345
|
-
} catch (l) {
|
|
346
|
-
}
|
|
347
|
-
}, vt = function(e) {
|
|
348
|
-
let s = null, l = null;
|
|
349
|
-
if (C)
|
|
350
|
-
e = "<remove></remove>" + e;
|
|
351
|
-
else {
|
|
352
|
-
const O = Jt(e, /^[\r\n\t ]+/);
|
|
353
|
-
l = O && O[0];
|
|
354
|
-
}
|
|
355
|
-
Pe === "application/xhtml+xml" && De === Ee && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
356
|
-
const w = g ? g.createHTML(e) : e;
|
|
357
|
-
if (De === Ee)
|
|
358
|
-
try {
|
|
359
|
-
s = new Ce().parseFromString(w, Pe);
|
|
360
|
-
} catch (O) {
|
|
361
|
-
}
|
|
362
|
-
if (!s || !s.documentElement) {
|
|
363
|
-
s = ie.createDocument(De, "template", null);
|
|
364
|
-
try {
|
|
365
|
-
s.documentElement.innerHTML = rt ? x : w;
|
|
366
|
-
} catch (O) {
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
const N = s.body || s.documentElement;
|
|
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) {
|
|
372
|
-
return le.call(
|
|
373
|
-
e.ownerDocument || e,
|
|
374
|
-
e,
|
|
375
|
-
// eslint-disable-next-line no-bitwise
|
|
376
|
-
E.SHOW_ELEMENT | E.SHOW_COMMENT | E.SHOW_TEXT | E.SHOW_PROCESSING_INSTRUCTION | E.SHOW_CDATA_SECTION,
|
|
377
|
-
null
|
|
378
|
-
);
|
|
379
|
-
}, Mt = function(e) {
|
|
380
|
-
return e instanceof ne && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof V) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
381
|
-
}, Rt = function(e) {
|
|
382
|
-
return typeof S == "function" && e instanceof S;
|
|
383
|
-
}, Te = function(e, s, l) {
|
|
384
|
-
v[e] && Ke(v[e], (w) => {
|
|
385
|
-
w.call(t, s, l, Ne);
|
|
386
|
-
});
|
|
387
|
-
}, kt = function(e) {
|
|
388
|
-
let s = null;
|
|
389
|
-
if (Te("beforeSanitizeElements", e, null), Mt(e))
|
|
390
|
-
return me(e), !0;
|
|
391
|
-
const l = k(e.nodeName);
|
|
392
|
-
if (Te("uponSanitizeElement", e, {
|
|
393
|
-
tagName: l,
|
|
394
|
-
allowedTags: m
|
|
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))
|
|
396
|
-
return me(e), !0;
|
|
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)))
|
|
399
|
-
return !1;
|
|
400
|
-
if (ot && !Oe[l]) {
|
|
401
|
-
const w = K(e) || e.parentNode, N = de(e) || e.childNodes;
|
|
402
|
-
if (N && w) {
|
|
403
|
-
const O = N.length;
|
|
404
|
-
for (let j = O - 1; j >= 0; --j) {
|
|
405
|
-
const pe = ye(N[j], !0);
|
|
406
|
-
pe.__removalCount = (e.__removalCount || 0) + 1, w.insertBefore(pe, G(e));
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
return me(e), !0;
|
|
411
|
-
}
|
|
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, X, ge], (w) => {
|
|
413
|
-
s = ze(s, w, " ");
|
|
414
|
-
}), e.textContent !== s && (Be(t.removed, {
|
|
415
|
-
element: e.cloneNode()
|
|
416
|
-
}), e.textContent = s)), Te("afterSanitizeElements", e, null), !1);
|
|
417
|
-
}, Ot = function(e, s, l) {
|
|
418
|
-
if (gt && (s === "id" || s === "name") && (l in i || l in wn))
|
|
419
|
-
return !1;
|
|
420
|
-
if (!(P && !a[s] && B(Q, s))) {
|
|
421
|
-
if (!(h && B(D, s))) {
|
|
422
|
-
if (!A[s] || a[s]) {
|
|
423
|
-
if (
|
|
424
|
-
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
425
|
-
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
426
|
-
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
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
|
|
428
|
-
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
429
|
-
s === "is" && T.allowCustomizedBuiltInElements && (T.tagNameCheck instanceof RegExp && B(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
|
|
430
|
-
)
|
|
431
|
-
return !1;
|
|
432
|
-
} else if (!st[s]) {
|
|
433
|
-
if (!B(q, ze(l, $, ""))) {
|
|
434
|
-
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Xn(l, "data:") === 0 && Tt[e])) {
|
|
435
|
-
if (!(M && !B(I, ze(l, $, "")))) {
|
|
436
|
-
if (l)
|
|
437
|
-
return !1;
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
return !0;
|
|
445
|
-
}, Dt = function(e) {
|
|
446
|
-
return e !== "annotation-xml" && Jt(e, ve);
|
|
447
|
-
}, Nt = function(e) {
|
|
448
|
-
Te("beforeSanitizeAttributes", e, null);
|
|
449
|
-
const {
|
|
450
|
-
attributes: s
|
|
451
|
-
} = e;
|
|
452
|
-
if (!s)
|
|
453
|
-
return;
|
|
454
|
-
const l = {
|
|
455
|
-
attrName: "",
|
|
456
|
-
attrValue: "",
|
|
457
|
-
keepAttr: !0,
|
|
458
|
-
allowedAttributes: A
|
|
459
|
-
};
|
|
460
|
-
let w = s.length;
|
|
461
|
-
for (; w--; ) {
|
|
462
|
-
const N = s[w], {
|
|
463
|
-
name: O,
|
|
464
|
-
namespaceURI: j,
|
|
465
|
-
value: pe
|
|
466
|
-
} = N, Ue = k(O);
|
|
467
|
-
let U = O === "value" ? pe : qn(pe);
|
|
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)) {
|
|
469
|
-
Ze(O, e);
|
|
470
|
-
continue;
|
|
471
|
-
}
|
|
472
|
-
if (l.forceKeepAttr || (Ze(O, e), !l.keepAttr))
|
|
473
|
-
continue;
|
|
474
|
-
if (!Y && B(/\/>/i, U)) {
|
|
475
|
-
Ze(O, e);
|
|
476
|
-
continue;
|
|
477
|
-
}
|
|
478
|
-
_e && Ke([ce, X, ge], (Pt) => {
|
|
479
|
-
U = ze(U, Pt, " ");
|
|
480
|
-
});
|
|
481
|
-
const It = k(e.nodeName);
|
|
482
|
-
if (Ot(It, Ue, U)) {
|
|
483
|
-
if (_t && (Ue === "id" || Ue === "name") && (Ze(O, e), U = _n + U), g && typeof H == "object" && typeof H.getAttributeType == "function" && !j)
|
|
484
|
-
switch (H.getAttributeType(It, Ue)) {
|
|
485
|
-
case "TrustedHTML": {
|
|
486
|
-
U = g.createHTML(U);
|
|
487
|
-
break;
|
|
488
|
-
}
|
|
489
|
-
case "TrustedScriptURL": {
|
|
490
|
-
U = g.createScriptURL(U);
|
|
491
|
-
break;
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
try {
|
|
495
|
-
j ? e.setAttributeNS(j, O, U) : e.setAttribute(O, U), Mt(e) ? me(e) : Zt(t.removed);
|
|
496
|
-
} catch (Pt) {
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
Te("afterSanitizeAttributes", e, null);
|
|
501
|
-
}, xn = function c(e) {
|
|
502
|
-
let s = null;
|
|
503
|
-
const l = Lt(e);
|
|
504
|
-
for (Te("beforeSanitizeShadowDOM", e, null); s = l.nextNode(); )
|
|
505
|
-
Te("uponSanitizeShadowNode", s, null), !kt(s) && (s.content instanceof f && c(s.content), Nt(s));
|
|
506
|
-
Te("afterSanitizeShadowDOM", e, null);
|
|
507
|
-
};
|
|
508
|
-
return t.sanitize = function(c) {
|
|
509
|
-
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null, w = null, N = null;
|
|
510
|
-
if (rt = !c, rt && (c = "<!-->"), typeof c != "string" && !Rt(c))
|
|
511
|
-
if (typeof c.toString == "function") {
|
|
512
|
-
if (c = c.toString(), typeof c != "string")
|
|
513
|
-
throw He("dirty is not a string, aborting");
|
|
514
|
-
} else
|
|
515
|
-
throw He("toString is not a function");
|
|
516
|
-
if (!t.isSupported)
|
|
517
|
-
return c;
|
|
518
|
-
if (y || lt(e), t.removed = [], typeof c == "string" && (Ie = !1), Ie) {
|
|
519
|
-
if (c.nodeName) {
|
|
520
|
-
const pe = k(c.nodeName);
|
|
521
|
-
if (!m[pe] || L[pe])
|
|
522
|
-
throw He("root node is forbidden and cannot be sanitized in-place");
|
|
523
|
-
}
|
|
524
|
-
} else if (c instanceof 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);
|
|
526
|
-
else {
|
|
527
|
-
if (!fe && !_e && !ue && // eslint-disable-next-line unicorn/prefer-includes
|
|
528
|
-
c.indexOf("<") === -1)
|
|
529
|
-
return g && Ve ? g.createHTML(c) : c;
|
|
530
|
-
if (s = vt(c), !s)
|
|
531
|
-
return fe ? null : Ve ? x : "";
|
|
532
|
-
}
|
|
533
|
-
s && C && me(s.firstChild);
|
|
534
|
-
const O = Lt(Ie ? c : s);
|
|
535
|
-
for (; w = O.nextNode(); )
|
|
536
|
-
kt(w) || (w.content instanceof f && xn(w.content), Nt(w));
|
|
537
|
-
if (Ie)
|
|
538
|
-
return c;
|
|
539
|
-
if (fe) {
|
|
540
|
-
if (je)
|
|
541
|
-
for (N = he.call(s.ownerDocument); s.firstChild; )
|
|
542
|
-
N.appendChild(s.firstChild);
|
|
543
|
-
else
|
|
544
|
-
N = s;
|
|
545
|
-
return (A.shadowroot || A.shadowrootmode) && (N = oe.call(o, N, !0)), N;
|
|
546
|
-
}
|
|
547
|
-
let j = ue ? s.outerHTML : s.innerHTML;
|
|
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 + `>
|
|
549
|
-
` + j), _e && Ke([ce, X, ge], (pe) => {
|
|
550
|
-
j = ze(j, pe, " ");
|
|
551
|
-
}), g && Ve ? g.createHTML(j) : j;
|
|
552
|
-
}, t.setConfig = function() {
|
|
553
|
-
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
554
|
-
lt(c), y = !0;
|
|
555
|
-
}, t.clearConfig = function() {
|
|
556
|
-
Ne = null, y = !1;
|
|
557
|
-
}, t.isValidAttribute = function(c, e, s) {
|
|
558
|
-
Ne || lt({});
|
|
559
|
-
const l = k(c), w = k(e);
|
|
560
|
-
return Ot(l, w, s);
|
|
561
|
-
}, t.addHook = function(c, e) {
|
|
562
|
-
typeof e == "function" && (v[c] = v[c] || [], Be(v[c], e));
|
|
563
|
-
}, t.removeHook = function(c) {
|
|
564
|
-
if (v[c])
|
|
565
|
-
return Zt(v[c]);
|
|
566
|
-
}, t.removeHooks = function(c) {
|
|
567
|
-
v[c] && (v[c] = []);
|
|
568
|
-
}, t.removeAllHooks = function() {
|
|
569
|
-
v = {};
|
|
570
|
-
}, t;
|
|
571
|
-
}
|
|
572
|
-
var nn = gn();
|
|
573
|
-
function ci(n) {
|
|
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}');
|
|
575
|
-
}
|
|
576
|
-
const ui = (n) => ({}), on = (n) => ({}), fi = (n) => ({}), sn = (n) => ({}), mi = (n) => ({}), rn = (n) => ({}), pi = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
|
|
577
|
-
function ln(n) {
|
|
578
|
-
let t, i, o, r, f, _, S, b, E, V, ne, Ce, H = (
|
|
579
|
-
/*$_*/
|
|
580
|
-
n[8]("sessionExpirationHeader") + ""
|
|
581
|
-
), F, ye, ae, G, de, K, g, x, ie, le, he, W, oe, v, ce = (
|
|
582
|
-
/*$_*/
|
|
583
|
-
n[8]("sessionExpirationEnd") + ""
|
|
584
|
-
), X, ge, Q, D, I, $, ve, q, m, Se, A;
|
|
585
|
-
const xe = (
|
|
586
|
-
/*#slots*/
|
|
587
|
-
n[23].icon
|
|
588
|
-
), T = $e(
|
|
589
|
-
xe,
|
|
590
|
-
n,
|
|
591
|
-
/*$$scope*/
|
|
592
|
-
n[22],
|
|
593
|
-
an
|
|
594
|
-
), L = T || di(n), a = (
|
|
595
|
-
/*#slots*/
|
|
596
|
-
n[23].title
|
|
597
|
-
), h = $e(
|
|
598
|
-
a,
|
|
599
|
-
n,
|
|
600
|
-
/*$$scope*/
|
|
601
|
-
n[22],
|
|
602
|
-
rn
|
|
603
|
-
), P = (
|
|
604
|
-
/*#slots*/
|
|
605
|
-
n[23].text
|
|
606
|
-
), M = $e(
|
|
607
|
-
P,
|
|
608
|
-
n,
|
|
609
|
-
/*$$scope*/
|
|
610
|
-
n[22],
|
|
611
|
-
sn
|
|
612
|
-
), Y = M || hi(n), _e = [_i, gi], ee = [];
|
|
613
|
-
function ue(y, C) {
|
|
614
|
-
return (
|
|
615
|
-
/*showLoaderButton*/
|
|
616
|
-
y[6] ? 0 : 1
|
|
617
|
-
);
|
|
618
|
-
}
|
|
619
|
-
return D = ue(n), I = ee[D] = _e[D](n), {
|
|
620
|
-
c() {
|
|
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"), V = se("circle"), ne = se("circle"), Ce = be(), F = Ye(H), ye = be(), ae = R("div"), G = se("svg"), de = se("path"), K = be(), g = R("div"), x = R("div"), L && L.c(), ie = be(), h && h.c(), le = be(), Y && Y.c(), he = be(), W = R("div"), oe = R("button"), v = R("span"), X = 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(V, "cx", "100"), u(V, "cy", "150"), u(V, "r", "14"), u(V, "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(g, "class", "CashierSessionExpirationModalContainer"), u(i, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), zt(() => (
|
|
623
|
-
/*div7_elementresize_handler*/
|
|
624
|
-
n[25].call(t)
|
|
625
|
-
));
|
|
626
|
-
},
|
|
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, V), 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, 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, X), p(W, ge), p(W, Q), ee[D].m(Q, null), n[24](x), ve = In(
|
|
629
|
-
t,
|
|
630
|
-
/*div7_elementresize_handler*/
|
|
631
|
-
n[25].bind(t)
|
|
632
|
-
), m = !0, Se || (A = [
|
|
633
|
-
Je(
|
|
634
|
-
G,
|
|
635
|
-
"click",
|
|
636
|
-
/*goToHome*/
|
|
637
|
-
n[11]
|
|
638
|
-
),
|
|
639
|
-
Je(
|
|
640
|
-
oe,
|
|
641
|
-
"click",
|
|
642
|
-
/*goToHome*/
|
|
643
|
-
n[11]
|
|
644
|
-
),
|
|
645
|
-
Je(
|
|
646
|
-
Q,
|
|
647
|
-
"click",
|
|
648
|
-
/*renewSession*/
|
|
649
|
-
n[9]
|
|
650
|
-
),
|
|
651
|
-
Je(
|
|
652
|
-
t,
|
|
653
|
-
"click",
|
|
654
|
-
/*outOfModalClick*/
|
|
655
|
-
n[10]
|
|
656
|
-
)
|
|
657
|
-
], Se = !0);
|
|
658
|
-
},
|
|
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*/
|
|
663
|
-
4194304) && et(
|
|
664
|
-
T,
|
|
665
|
-
xe,
|
|
666
|
-
n,
|
|
667
|
-
/*$$scope*/
|
|
668
|
-
n[22],
|
|
669
|
-
m ? nt(
|
|
670
|
-
xe,
|
|
671
|
-
/*$$scope*/
|
|
672
|
-
n[22],
|
|
673
|
-
C,
|
|
674
|
-
pi
|
|
675
|
-
) : tt(
|
|
676
|
-
/*$$scope*/
|
|
677
|
-
n[22]
|
|
678
|
-
),
|
|
679
|
-
an
|
|
680
|
-
) : L && L.p && (!m || C[0] & /*assetsurl*/
|
|
681
|
-
8) && L.p(n, m ? C : [-1, -1]), h && h.p && (!m || C[0] & /*$$scope*/
|
|
682
|
-
4194304) && et(
|
|
683
|
-
h,
|
|
684
|
-
a,
|
|
685
|
-
n,
|
|
686
|
-
/*$$scope*/
|
|
687
|
-
n[22],
|
|
688
|
-
m ? nt(
|
|
689
|
-
a,
|
|
690
|
-
/*$$scope*/
|
|
691
|
-
n[22],
|
|
692
|
-
C,
|
|
693
|
-
mi
|
|
694
|
-
) : tt(
|
|
695
|
-
/*$$scope*/
|
|
696
|
-
n[22]
|
|
697
|
-
),
|
|
698
|
-
rn
|
|
699
|
-
), M ? M.p && (!m || C[0] & /*$$scope*/
|
|
700
|
-
4194304) && et(
|
|
701
|
-
M,
|
|
702
|
-
P,
|
|
703
|
-
n,
|
|
704
|
-
/*$$scope*/
|
|
705
|
-
n[22],
|
|
706
|
-
m ? nt(
|
|
707
|
-
P,
|
|
708
|
-
/*$$scope*/
|
|
709
|
-
n[22],
|
|
710
|
-
C,
|
|
711
|
-
fi
|
|
712
|
-
) : tt(
|
|
713
|
-
/*$$scope*/
|
|
714
|
-
n[22]
|
|
715
|
-
),
|
|
716
|
-
sn
|
|
717
|
-
) : Y && Y.p && (!m || C[0] & /*$_, timeLeft*/
|
|
718
|
-
384) && Y.p(n, m ? C : [-1, -1]), (!m || C[0] & /*$_*/
|
|
719
|
-
256) && ce !== (ce = /*$_*/
|
|
720
|
-
n[8]("sessionExpirationEnd") + "") && We(X, ce);
|
|
721
|
-
let fe = D;
|
|
722
|
-
D = ue(n), D === fe ? ee[D].p(n, C) : (un(), Ae(ee[fe], 1, 1, () => {
|
|
723
|
-
ee[fe] = null;
|
|
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*/
|
|
725
|
-
64 && $ !== ($ = "ModalButton Primary " + /*showLoaderButton*/
|
|
726
|
-
(n[6] ? "Disabled" : ""))) && u(Q, "class", $);
|
|
727
|
-
},
|
|
728
|
-
i(y) {
|
|
729
|
-
m || (we(L, y), we(h, y), we(Y, y), we(I), y && zt(() => {
|
|
730
|
-
m && (q || (q = Bt(t, Wt, { duration: (
|
|
731
|
-
/*duration*/
|
|
732
|
-
n[2]
|
|
733
|
-
) }, !0)), q.run(1));
|
|
734
|
-
}), m = !0);
|
|
735
|
-
},
|
|
736
|
-
o(y) {
|
|
737
|
-
Ae(L, y), Ae(h, y), Ae(Y, y), Ae(I), y && (q || (q = Bt(t, Wt, { duration: (
|
|
738
|
-
/*duration*/
|
|
739
|
-
n[2]
|
|
740
|
-
) }, !1)), q.run(0)), m = !1;
|
|
741
|
-
},
|
|
742
|
-
d(y) {
|
|
743
|
-
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, Nn(A);
|
|
744
|
-
}
|
|
745
|
-
};
|
|
746
|
-
}
|
|
747
|
-
function cn(n) {
|
|
748
|
-
let t, i;
|
|
749
|
-
return {
|
|
750
|
-
c() {
|
|
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");
|
|
753
|
-
},
|
|
754
|
-
m(o, r) {
|
|
755
|
-
Re(o, t, r);
|
|
756
|
-
},
|
|
757
|
-
p(o, r) {
|
|
758
|
-
r[0] & /*assetsurl*/
|
|
759
|
-
8 && !Gt(t.src, i = `${/*assetsurl*/
|
|
760
|
-
o[3]}/set-timeout-icon.png`) && u(t, "src", i);
|
|
761
|
-
},
|
|
762
|
-
d(o) {
|
|
763
|
-
o && Me(t);
|
|
764
|
-
}
|
|
765
|
-
};
|
|
766
|
-
}
|
|
767
|
-
function di(n) {
|
|
768
|
-
let t, i = (
|
|
769
|
-
/*assetsurl*/
|
|
770
|
-
n[3] && cn(n)
|
|
771
|
-
);
|
|
772
|
-
return {
|
|
773
|
-
c() {
|
|
774
|
-
i && i.c(), t = Pn();
|
|
775
|
-
},
|
|
776
|
-
m(o, r) {
|
|
777
|
-
i && i.m(o, r), Re(o, t, r);
|
|
778
|
-
},
|
|
779
|
-
p(o, r) {
|
|
780
|
-
/*assetsurl*/
|
|
781
|
-
o[3] ? i ? i.p(o, r) : (i = cn(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null);
|
|
782
|
-
},
|
|
783
|
-
d(o) {
|
|
784
|
-
o && Me(t), i && i.d(o);
|
|
785
|
-
}
|
|
786
|
-
};
|
|
787
|
-
}
|
|
788
|
-
function hi(n) {
|
|
789
|
-
let t, i, o = (
|
|
790
|
-
/*$_*/
|
|
791
|
-
n[8]("sessionExpirationTitle") + ""
|
|
792
|
-
), r, f, _, S = nn.sanitize(
|
|
793
|
-
/*$_*/
|
|
794
|
-
n[8]("sessionExpirationGeneralText", { values: { second: (
|
|
795
|
-
/*timeLeft*/
|
|
796
|
-
n[7]
|
|
797
|
-
) } })
|
|
798
|
-
) + "";
|
|
799
|
-
return {
|
|
800
|
-
c() {
|
|
801
|
-
t = R("span"), i = R("p"), r = Ye(o), f = be(), _ = R("p"), u(t, "class", "CashierSessionExpirationText");
|
|
802
|
-
},
|
|
803
|
-
m(b, E) {
|
|
804
|
-
Re(b, t, E), p(t, i), p(i, r), p(t, f), p(t, _), _.innerHTML = S;
|
|
805
|
-
},
|
|
806
|
-
p(b, E) {
|
|
807
|
-
E[0] & /*$_*/
|
|
808
|
-
256 && o !== (o = /*$_*/
|
|
809
|
-
b[8]("sessionExpirationTitle") + "") && We(r, o), E[0] & /*$_, timeLeft*/
|
|
810
|
-
384 && S !== (S = nn.sanitize(
|
|
811
|
-
/*$_*/
|
|
812
|
-
b[8]("sessionExpirationGeneralText", { values: { second: (
|
|
813
|
-
/*timeLeft*/
|
|
814
|
-
b[7]
|
|
815
|
-
) } })
|
|
816
|
-
) + "") && (_.innerHTML = S);
|
|
817
|
-
},
|
|
818
|
-
d(b) {
|
|
819
|
-
b && Me(t);
|
|
820
|
-
}
|
|
821
|
-
};
|
|
822
|
-
}
|
|
823
|
-
function gi(n) {
|
|
824
|
-
let t;
|
|
825
|
-
const i = (
|
|
826
|
-
/*#slots*/
|
|
827
|
-
n[23].button
|
|
828
|
-
), o = $e(
|
|
829
|
-
i,
|
|
830
|
-
n,
|
|
831
|
-
/*$$scope*/
|
|
832
|
-
n[22],
|
|
833
|
-
on
|
|
834
|
-
), r = o || Ei(n);
|
|
835
|
-
return {
|
|
836
|
-
c() {
|
|
837
|
-
r && r.c();
|
|
838
|
-
},
|
|
839
|
-
m(f, _) {
|
|
840
|
-
r && r.m(f, _), t = !0;
|
|
841
|
-
},
|
|
842
|
-
p(f, _) {
|
|
843
|
-
o ? o.p && (!t || _[0] & /*$$scope*/
|
|
844
|
-
4194304) && et(
|
|
845
|
-
o,
|
|
846
|
-
i,
|
|
847
|
-
f,
|
|
848
|
-
/*$$scope*/
|
|
849
|
-
f[22],
|
|
850
|
-
t ? nt(
|
|
851
|
-
i,
|
|
852
|
-
/*$$scope*/
|
|
853
|
-
f[22],
|
|
854
|
-
_,
|
|
855
|
-
ui
|
|
856
|
-
) : tt(
|
|
857
|
-
/*$$scope*/
|
|
858
|
-
f[22]
|
|
859
|
-
),
|
|
860
|
-
on
|
|
861
|
-
) : r && r.p && (!t || _[0] & /*$_*/
|
|
862
|
-
256) && r.p(f, t ? _ : [-1, -1]);
|
|
863
|
-
},
|
|
864
|
-
i(f) {
|
|
865
|
-
t || (we(r, f), t = !0);
|
|
866
|
-
},
|
|
867
|
-
o(f) {
|
|
868
|
-
Ae(r, f), t = !1;
|
|
869
|
-
},
|
|
870
|
-
d(f) {
|
|
871
|
-
r && r.d(f);
|
|
872
|
-
}
|
|
873
|
-
};
|
|
874
|
-
}
|
|
875
|
-
function _i(n) {
|
|
876
|
-
let t, i, o, r, f, _ = (
|
|
877
|
-
/*$_*/
|
|
878
|
-
n[8]("sessionExpirationLoadingButton") + ""
|
|
879
|
-
), S;
|
|
880
|
-
return {
|
|
881
|
-
c() {
|
|
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");
|
|
883
|
-
},
|
|
884
|
-
m(b, E) {
|
|
885
|
-
Re(b, t, E), p(t, i), p(i, o), p(t, r), p(t, f), p(f, S);
|
|
886
|
-
},
|
|
887
|
-
p(b, E) {
|
|
888
|
-
E[0] & /*$_*/
|
|
889
|
-
256 && _ !== (_ = /*$_*/
|
|
890
|
-
b[8]("sessionExpirationLoadingButton") + "") && We(S, _);
|
|
891
|
-
},
|
|
892
|
-
i: Ft,
|
|
893
|
-
o: Ft,
|
|
894
|
-
d(b) {
|
|
895
|
-
b && Me(t);
|
|
896
|
-
}
|
|
897
|
-
};
|
|
898
|
-
}
|
|
899
|
-
function Ei(n) {
|
|
900
|
-
let t, i = (
|
|
901
|
-
/*$_*/
|
|
902
|
-
n[8]("sessionExpirationGeneralButton") + ""
|
|
903
|
-
), o;
|
|
904
|
-
return {
|
|
905
|
-
c() {
|
|
906
|
-
t = R("span"), o = Ye(i), u(t, "class", "CashierSessionExpirationButtonText");
|
|
907
|
-
},
|
|
908
|
-
m(r, f) {
|
|
909
|
-
Re(r, t, f), p(t, o);
|
|
910
|
-
},
|
|
911
|
-
p(r, f) {
|
|
912
|
-
f[0] & /*$_*/
|
|
913
|
-
256 && i !== (i = /*$_*/
|
|
914
|
-
r[8]("sessionExpirationGeneralButton") + "") && We(o, i);
|
|
915
|
-
},
|
|
916
|
-
d(r) {
|
|
917
|
-
r && Me(t);
|
|
918
|
-
}
|
|
919
|
-
};
|
|
920
|
-
}
|
|
921
|
-
function Ti(n) {
|
|
922
|
-
let t, i, o = (
|
|
923
|
-
/*show*/
|
|
924
|
-
n[5] && ln(n)
|
|
925
|
-
);
|
|
926
|
-
return {
|
|
927
|
-
c() {
|
|
928
|
-
t = R("div"), o && o.c();
|
|
929
|
-
},
|
|
930
|
-
m(r, f) {
|
|
931
|
-
Re(r, t, f), o && o.m(t, null), n[26](t), i = !0;
|
|
932
|
-
},
|
|
933
|
-
p(r, f) {
|
|
934
|
-
/*show*/
|
|
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;
|
|
938
|
-
}), fn());
|
|
939
|
-
},
|
|
940
|
-
i(r) {
|
|
941
|
-
i || (we(o), i = !0);
|
|
942
|
-
},
|
|
943
|
-
o(r) {
|
|
944
|
-
Ae(o), i = !1;
|
|
945
|
-
},
|
|
946
|
-
d(r) {
|
|
947
|
-
r && Me(t), o && o.d(), n[26](null);
|
|
948
|
-
}
|
|
949
|
-
};
|
|
950
|
-
}
|
|
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));
|
|
955
|
-
let { $$slots: f = {}, $$scope: _ } = t;
|
|
956
|
-
Yt.extend(Gn);
|
|
957
|
-
let { clientstyling: S = "" } = t, { clientstylingurl: b = "" } = t, { width: E } = t, { height: V } = 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, g, x = !1, ie = !1, le, he, W, oe, v, ce;
|
|
958
|
-
var X;
|
|
959
|
-
(function(a) {
|
|
960
|
-
a.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", a.Success = "Success", a.JwtTokenError = "JwtTokenError";
|
|
961
|
-
})(X || (X = {}));
|
|
962
|
-
const ge = (a) => {
|
|
963
|
-
a.data.type === "StartSessionCountdown" && (oe = a.data.paymentMethodName);
|
|
964
|
-
}, Q = (a) => {
|
|
965
|
-
try {
|
|
966
|
-
return JSON.parse(atob(a.split(".")[1]));
|
|
967
|
-
} catch (h) {
|
|
968
|
-
return null;
|
|
969
|
-
}
|
|
970
|
-
}, D = () => {
|
|
971
|
-
window.postMessage(
|
|
972
|
-
{
|
|
973
|
-
type: "ErrorResponseCode",
|
|
974
|
-
errorResponseCode: v
|
|
975
|
-
},
|
|
976
|
-
window.location.href
|
|
977
|
-
);
|
|
978
|
-
}, I = (a) => {
|
|
979
|
-
i(5, x = !1);
|
|
980
|
-
const h = Q(a);
|
|
981
|
-
h && (he = h == null ? void 0 : h.exp, i(7, le = he), W && clearInterval(W), W = setInterval(
|
|
982
|
-
() => {
|
|
983
|
-
const P = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
984
|
-
i(7, le = he - P), le <= bi && i(5, x = !0), P >= he && ($(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
985
|
-
},
|
|
986
|
-
1e3
|
|
987
|
-
));
|
|
988
|
-
}, $ = () => {
|
|
989
|
-
i(7, le = 0), i(5, x = !1), clearInterval(W);
|
|
990
|
-
}, ve = () => {
|
|
991
|
-
if (ie)
|
|
992
|
-
return;
|
|
993
|
-
const a = new URL(`${ye}/v1/player/${G}/payment/GetPaymentMethod`), h = new Headers();
|
|
994
|
-
i(6, ie = !0), h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
995
|
-
const P = {
|
|
996
|
-
method: "POST",
|
|
997
|
-
mode: "cors",
|
|
998
|
-
headers: h,
|
|
999
|
-
body: JSON.stringify({
|
|
1000
|
-
PaymentMethodName: oe || de,
|
|
1001
|
-
Currency: ae,
|
|
1002
|
-
XPaymentSessionToken: o
|
|
1003
|
-
})
|
|
1004
|
-
};
|
|
1005
|
-
fetch(a, P).then((M) => M.json()).then((M) => {
|
|
1006
|
-
if (M.error) {
|
|
1007
|
-
window.postMessage(
|
|
1008
|
-
{
|
|
1009
|
-
type: "ShowSessionError",
|
|
1010
|
-
error: M.error
|
|
1011
|
-
},
|
|
1012
|
-
window.location.href
|
|
1013
|
-
), $();
|
|
1014
|
-
return;
|
|
1015
|
-
}
|
|
1016
|
-
if (M.ResponseCode === X.PlayerSessionIsNotValid || M.ResponseCode === X.JwtTokenError) {
|
|
1017
|
-
v = M.ResponseCode, $(), D();
|
|
1018
|
-
return;
|
|
1019
|
-
}
|
|
1020
|
-
if (M.ResponseCode !== X.Success) {
|
|
1021
|
-
v = M.ResponseCode, $();
|
|
1022
|
-
return;
|
|
1023
|
-
}
|
|
1024
|
-
M.XPaymentSessionToken && jt.set(M.XPaymentSessionToken);
|
|
1025
|
-
}).finally(() => i(6, ie = !1));
|
|
1026
|
-
}, q = (a) => {
|
|
1027
|
-
const h = a.currentTarget;
|
|
1028
|
-
a.target === h && ve();
|
|
1029
|
-
}, m = () => {
|
|
1030
|
-
fetch(F).then((h) => h.json()).then((h) => {
|
|
1031
|
-
Object.keys(h).forEach((P) => {
|
|
1032
|
-
Vt(P, h[P]);
|
|
1033
|
-
});
|
|
1034
|
-
}).catch((h) => {
|
|
1035
|
-
console.log(h);
|
|
1036
|
-
});
|
|
1037
|
-
}, Se = () => {
|
|
1038
|
-
window.postMessage({ type: "Cashier:goToHome" }, window.location.href), i(5, x = !1);
|
|
1039
|
-
};
|
|
1040
|
-
Object.keys(Xt).forEach((a) => {
|
|
1041
|
-
Vt(a, Xt[a]);
|
|
1042
|
-
});
|
|
1043
|
-
const A = () => {
|
|
1044
|
-
Wn(H);
|
|
1045
|
-
};
|
|
1046
|
-
On(() => (window.addEventListener("message", ge, !1), () => {
|
|
1047
|
-
window.removeEventListener("message", ge);
|
|
1048
|
-
})), Dn(() => {
|
|
1049
|
-
clearInterval(W);
|
|
1050
|
-
});
|
|
1051
|
-
function xe(a) {
|
|
1052
|
-
Ht[a ? "unshift" : "push"](() => {
|
|
1053
|
-
g = a, i(4, g);
|
|
1054
|
-
});
|
|
1055
|
-
}
|
|
1056
|
-
function T() {
|
|
1057
|
-
E = this.clientWidth, V = this.clientHeight, i(0, E), i(1, V);
|
|
1058
|
-
}
|
|
1059
|
-
function L(a) {
|
|
1060
|
-
Ht[a ? "unshift" : "push"](() => {
|
|
1061
|
-
g = a, i(4, g);
|
|
1062
|
-
});
|
|
1063
|
-
}
|
|
1064
|
-
return n.$$set = (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, V = 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);
|
|
1066
|
-
}, n.$$.update = () => {
|
|
1067
|
-
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1068
|
-
2097152 && I(o), n.$$.dirty[0] & /*lang*/
|
|
1069
|
-
16384 && H && A(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1070
|
-
4112 && S && g && Un(g, S), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1071
|
-
8208 && b && g && Bn(g, b), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1072
|
-
1048592 && K && g && zn(g, `${K}.Style`, ce), n.$$.dirty[0] & /*translationurl*/
|
|
1073
|
-
32768 && F && m();
|
|
1074
|
-
}, [
|
|
1075
|
-
E,
|
|
1076
|
-
V,
|
|
1077
|
-
ne,
|
|
1078
|
-
Ce,
|
|
1079
|
-
g,
|
|
1080
|
-
x,
|
|
1081
|
-
ie,
|
|
1082
|
-
le,
|
|
1083
|
-
r,
|
|
1084
|
-
ve,
|
|
1085
|
-
q,
|
|
1086
|
-
Se,
|
|
1087
|
-
S,
|
|
1088
|
-
b,
|
|
1089
|
-
H,
|
|
1090
|
-
F,
|
|
1091
|
-
ye,
|
|
1092
|
-
ae,
|
|
1093
|
-
G,
|
|
1094
|
-
de,
|
|
1095
|
-
K,
|
|
1096
|
-
o,
|
|
1097
|
-
_,
|
|
1098
|
-
f,
|
|
1099
|
-
xe,
|
|
1100
|
-
T,
|
|
1101
|
-
L
|
|
1102
|
-
];
|
|
1103
|
-
}
|
|
1104
|
-
class yi extends Ln {
|
|
1105
|
-
constructor(t) {
|
|
1106
|
-
super(), Mn(
|
|
1107
|
-
this,
|
|
1108
|
-
t,
|
|
1109
|
-
wi,
|
|
1110
|
-
Ti,
|
|
1111
|
-
Rn,
|
|
1112
|
-
{
|
|
1113
|
-
clientstyling: 12,
|
|
1114
|
-
clientstylingurl: 13,
|
|
1115
|
-
width: 0,
|
|
1116
|
-
height: 1,
|
|
1117
|
-
duration: 2,
|
|
1118
|
-
assetsurl: 3,
|
|
1119
|
-
lang: 14,
|
|
1120
|
-
translationurl: 15,
|
|
1121
|
-
endpoint: 16,
|
|
1122
|
-
currency: 17,
|
|
1123
|
-
customerid: 18,
|
|
1124
|
-
selectedpaymentmethodname: 19,
|
|
1125
|
-
mbsource: 20
|
|
1126
|
-
},
|
|
1127
|
-
ci,
|
|
1128
|
-
[-1, -1]
|
|
1129
|
-
);
|
|
1130
|
-
}
|
|
1131
|
-
get clientstyling() {
|
|
1132
|
-
return this.$$.ctx[12];
|
|
1133
|
-
}
|
|
1134
|
-
set clientstyling(t) {
|
|
1135
|
-
this.$$set({ clientstyling: t }), Z();
|
|
1136
|
-
}
|
|
1137
|
-
get clientstylingurl() {
|
|
1138
|
-
return this.$$.ctx[13];
|
|
1139
|
-
}
|
|
1140
|
-
set clientstylingurl(t) {
|
|
1141
|
-
this.$$set({ clientstylingurl: t }), Z();
|
|
1142
|
-
}
|
|
1143
|
-
get width() {
|
|
1144
|
-
return this.$$.ctx[0];
|
|
1145
|
-
}
|
|
1146
|
-
set width(t) {
|
|
1147
|
-
this.$$set({ width: t }), Z();
|
|
1148
|
-
}
|
|
1149
|
-
get height() {
|
|
1150
|
-
return this.$$.ctx[1];
|
|
1151
|
-
}
|
|
1152
|
-
set height(t) {
|
|
1153
|
-
this.$$set({ height: t }), Z();
|
|
1154
|
-
}
|
|
1155
|
-
get duration() {
|
|
1156
|
-
return this.$$.ctx[2];
|
|
1157
|
-
}
|
|
1158
|
-
set duration(t) {
|
|
1159
|
-
this.$$set({ duration: t }), Z();
|
|
1160
|
-
}
|
|
1161
|
-
get assetsurl() {
|
|
1162
|
-
return this.$$.ctx[3];
|
|
1163
|
-
}
|
|
1164
|
-
set assetsurl(t) {
|
|
1165
|
-
this.$$set({ assetsurl: t }), Z();
|
|
1166
|
-
}
|
|
1167
|
-
get lang() {
|
|
1168
|
-
return this.$$.ctx[14];
|
|
1169
|
-
}
|
|
1170
|
-
set lang(t) {
|
|
1171
|
-
this.$$set({ lang: t }), Z();
|
|
1172
|
-
}
|
|
1173
|
-
get translationurl() {
|
|
1174
|
-
return this.$$.ctx[15];
|
|
1175
|
-
}
|
|
1176
|
-
set translationurl(t) {
|
|
1177
|
-
this.$$set({ translationurl: t }), Z();
|
|
1178
|
-
}
|
|
1179
|
-
get endpoint() {
|
|
1180
|
-
return this.$$.ctx[16];
|
|
1181
|
-
}
|
|
1182
|
-
set endpoint(t) {
|
|
1183
|
-
this.$$set({ endpoint: t }), Z();
|
|
1184
|
-
}
|
|
1185
|
-
get currency() {
|
|
1186
|
-
return this.$$.ctx[17];
|
|
1187
|
-
}
|
|
1188
|
-
set currency(t) {
|
|
1189
|
-
this.$$set({ currency: t }), Z();
|
|
1190
|
-
}
|
|
1191
|
-
get customerid() {
|
|
1192
|
-
return this.$$.ctx[18];
|
|
1193
|
-
}
|
|
1194
|
-
set customerid(t) {
|
|
1195
|
-
this.$$set({ customerid: t }), Z();
|
|
1196
|
-
}
|
|
1197
|
-
get selectedpaymentmethodname() {
|
|
1198
|
-
return this.$$.ctx[19];
|
|
1199
|
-
}
|
|
1200
|
-
set selectedpaymentmethodname(t) {
|
|
1201
|
-
this.$$set({ selectedpaymentmethodname: t }), Z();
|
|
1202
|
-
}
|
|
1203
|
-
get mbsource() {
|
|
1204
|
-
return this.$$.ctx[20];
|
|
1205
|
-
}
|
|
1206
|
-
set mbsource(t) {
|
|
1207
|
-
this.$$set({ mbsource: t }), Z();
|
|
1208
|
-
}
|
|
1209
|
-
}
|
|
1210
|
-
Hn(yi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1211
|
-
export {
|
|
1212
|
-
yi as default
|
|
1213
|
-
};
|