@everymatrix/cashier-page 1.85.21 → 1.85.23

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.
Files changed (66) hide show
  1. package/components/{CashierCarousel-C5QNf4lE.js → CashierCarousel-BNKjZ4dF.js} +68 -80
  2. package/components/{CashierCarousel-Jl2aqYfe.cjs → CashierCarousel-CecQbbdW.cjs} +1 -1
  3. package/components/{CashierCarousel-SDse7_hX.js → CashierCarousel-D8MiOwuE.js} +78 -90
  4. package/components/{CashierError-Jdj_uZ4I.js → CashierError-BwZRYX5r.js} +1 -1
  5. package/components/{CashierError-Bwwq1pwM.cjs → CashierError-DFQyDQHn.cjs} +1 -1
  6. package/components/{CashierError-DkeWHxFp.js → CashierError-kVdNczE9.js} +1 -1
  7. package/components/CashierHeader-B3b8zbwP.cjs +1 -0
  8. package/components/{CashierHeader-Bfh3U7q4.js → CashierHeader-B9Y-DaUB.js} +40 -47
  9. package/components/{CashierHeader-Cee3k8wZ.js → CashierHeader-CzpZDjFX.js} +40 -47
  10. package/components/{CashierIframeRedirect-aSqRnHR6.js → CashierIframeRedirect-B_A79AFN.js} +31 -40
  11. package/components/CashierIframeRedirect-YYamzRsf.cjs +1 -0
  12. package/components/{CashierIframeRedirect-BrbS0BDH.js → CashierIframeRedirect-aTaiu0hG.js} +31 -40
  13. package/components/{CashierMethodDetails-i-RQQsra.js → CashierMethodDetails--Ebwn4lg.js} +5 -5
  14. package/components/{CashierMethodDetails-CkmKFn6o.cjs → CashierMethodDetails-D3OcsUSC.cjs} +2 -2
  15. package/components/{CashierMethodDetails-DX-z6Jjw.js → CashierMethodDetails-E1XQT_gz.js} +5 -5
  16. package/components/CashierMethodsList-BCfPOiPQ.cjs +1 -0
  17. package/components/{CashierMethodsList-BGudjIvl.js → CashierMethodsList-ByGJLq8_.js} +157 -173
  18. package/components/{CashierMethodsList-BHs-wwYk.js → CashierMethodsList-D5p1ksRs.js} +133 -149
  19. package/components/{CashierModal-yJBbNL81.js → CashierModal-BE9c03E8.js} +24 -22
  20. package/components/CashierModal-Diij1t-w.cjs +1 -0
  21. package/components/{CashierModal-CwsfMVcW.js → CashierModal-R6fQk7sI.js} +31 -29
  22. package/components/{CashierNotifications-CFvZHX_b.js → CashierNotifications-5EjGguMj.js} +1 -1
  23. package/components/{CashierNotifications-hmcOuIJT.cjs → CashierNotifications-kuNLTOB3.cjs} +1 -1
  24. package/components/{CashierNotifications-DMZuy8M1.js → CashierNotifications-mhDeZtGd.js} +1 -1
  25. package/components/CashierPage-BOXcdzek.js +3958 -0
  26. package/components/CashierPage-DSBg3R7m.js +3932 -0
  27. package/components/CashierPage-DSwyNlUe.cjs +1 -0
  28. package/components/{CashierReceiptPage-B9a7gDY-.js → CashierReceiptPage-DLHbUzv0.js} +512 -673
  29. package/components/{CashierReceiptPage-C3EVhPo1.cjs → CashierReceiptPage-DW63yTeU.cjs} +2 -2
  30. package/components/{CashierReceiptPage-DuEiUyJc.js → CashierReceiptPage-DWJG1k-S.js} +546 -707
  31. package/components/CashierSessionExpirationModal-CeesVv0R.js +1181 -0
  32. package/components/CashierSessionExpirationModal-Di0jBCa7.cjs +2 -0
  33. package/components/CashierSessionExpirationModal-Dk8_yCxM.js +1181 -0
  34. package/components/{CashierSpinner-CXXRwfkL.js → CashierSpinner-CYSebSGZ.js} +1 -1
  35. package/components/{CashierSpinner-XWfResBK.js → CashierSpinner-DIyI0RD1.js} +1 -1
  36. package/components/{CashierSpinner-DHf6UHDV.cjs → CashierSpinner-DVLxgI0s.cjs} +1 -1
  37. package/components/{CashierStepUp-BkNgRDll.js → CashierStepUp-BA2IK4WI.js} +1 -1
  38. package/components/{CashierStepUp-BUkCs2Td.js → CashierStepUp-CSkfphtu.js} +1 -1
  39. package/components/{CashierStepUp-Cbk0-AbY.cjs → CashierStepUp-pkLhK-RI.cjs} +1 -1
  40. package/components/{CashierTransactionHistory-B8cH2q8D.js → CashierTransactionHistory-DAieZJ7I.js} +5 -5
  41. package/components/{CashierTransactionHistory-wILVLaBk.js → CashierTransactionHistory-DZS6p6Wq.js} +5 -5
  42. package/components/{CashierTransactionHistory-DK5N-xDu.cjs → CashierTransactionHistory-dL_Zbx6y.cjs} +1 -1
  43. package/components/{CashierVerifications-jxiTTMUn.js → CashierVerifications-63wvOw6D.js} +106 -125
  44. package/components/{CashierVerifications-DEAJcpkR.js → CashierVerifications-B6QC6J6G.js} +109 -128
  45. package/components/CashierVerifications-BhbImoKx.cjs +1 -0
  46. package/components/{TxnStatusIcon-BRmGPXeu.js → TxnStatusIcon-CpJJHtXq.js} +1 -1
  47. package/components/{TxnStatusIcon-BorUmEdf.cjs → TxnStatusIcon-DuWdYaRx.cjs} +1 -1
  48. package/components/{TxnStatusIcon-B7vs3WN_.js → TxnStatusIcon-Krgh5oF3.js} +1 -1
  49. package/components/{TxnTypeIcons-DvPoXWdX.js → TxnTypeIcons-Az6Gbxxw.js} +1 -1
  50. package/components/{TxnTypeIcons-C_PpXN7w.js → TxnTypeIcons-Bvy6NVGO.js} +1 -1
  51. package/components/{TxnTypeIcons-CDAmP_Qb.cjs → TxnTypeIcons-iU9VGsWs.cjs} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierHeader-CMbldu41.cjs +0 -1
  57. package/components/CashierIframeRedirect-C913Adzi.cjs +0 -1
  58. package/components/CashierMethodsList-Bi3djwQ1.cjs +0 -1
  59. package/components/CashierModal-BNtmC5_L.cjs +0 -1
  60. package/components/CashierPage-Ce2US2_i.js +0 -3951
  61. package/components/CashierPage-Dd9JdidT.cjs +0 -1
  62. package/components/CashierPage-g4TEdHpC.js +0 -3977
  63. package/components/CashierSessionExpirationModal-BCXqjFP1.cjs +0 -2
  64. package/components/CashierSessionExpirationModal-CUZEUmS8.js +0 -1187
  65. package/components/CashierSessionExpirationModal-VNg9En5U.js +0 -1187
  66. package/components/CashierVerifications-BvCSSDjh.cjs +0 -1
@@ -1,1187 +0,0 @@
1
- import { a as Cn, i as xn, $ as Ln, S as vn, b as Rn, s as Mn, f as J, c as On, e as xe, t as ye, g as _e, a6 as fn, a7 as un, k as Le, m as M, p as Ut, q as kn, af as Nn, d as $e, a0 as Dn, ag as Ht, L as zt, v as We, u as et, h as tt, j as nt, l as m, a8 as In, x as Je, X as oe, n as ge, w as Ye, o as f, y as Ft, r as Pn, G as Bt, z as Gt, B as Un, C as Hn, D as zn, E as Fn, F as Bn } from "./CashierCarousel-SDse7_hX.js";
2
- import { f as Wt } from "./CashierReceiptPage-B9a7gDY-.js";
3
- import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-DX-z6Jjw.js";
4
- function Xt(n, t) {
5
- Cn(n, t);
6
- }
7
- function Wn(n) {
8
- xn({
9
- fallbackLocale: "en"
10
- }), Ln.set(n);
11
- }
12
- const Vt = {
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
- },
28
- "en-us": {
29
- sessionExpirationHeader: "Session Warning",
30
- sessionExpirationTitle: "Your session is about to expire!",
31
- sessionExpirationGeneralText: "Your session will automatically terminate in <b>{second} seconds</b>.",
32
- sessionExpirationGeneralButton: "CONTINUE",
33
- sessionExpirationLoadingButton: "PROCESSING..."
34
- }
35
- };
36
- /*! @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 */
37
- const {
38
- entries: mn,
39
- setPrototypeOf: qt,
40
- isFrozen: Yn,
41
- getPrototypeOf: jn,
42
- getOwnPropertyDescriptor: Xn
43
- } = Object;
44
- let {
45
- freeze: z,
46
- seal: ee,
47
- create: pn
48
- } = Object, {
49
- apply: dt,
50
- construct: ht
51
- } = typeof Reflect != "undefined" && Reflect;
52
- z || (z = function(t) {
53
- return t;
54
- });
55
- ee || (ee = function(t) {
56
- return t;
57
- });
58
- dt || (dt = function(t, i, o) {
59
- return t.apply(i, o);
60
- });
61
- ht || (ht = function(t, i) {
62
- return new t(...i);
63
- });
64
- const Ke = K(Array.prototype.forEach), Zt = K(Array.prototype.pop), He = K(Array.prototype.push), it = K(String.prototype.toLowerCase), ct = K(String.prototype.toString), Jt = K(String.prototype.match), ze = K(String.prototype.replace), Vn = K(String.prototype.indexOf), qn = K(String.prototype.trim), se = K(Object.prototype.hasOwnProperty), H = K(RegExp.prototype.test), Fe = Zn(TypeError);
65
- function K(n) {
66
- return function(t) {
67
- for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), r = 1; r < i; r++)
68
- o[r - 1] = arguments[r];
69
- return dt(n, t, o);
70
- };
71
- }
72
- function Zn(n) {
73
- return function() {
74
- for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++)
75
- i[o] = arguments[o];
76
- return ht(n, i);
77
- };
78
- }
79
- function p(n, t) {
80
- let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : it;
81
- qt && qt(n, null);
82
- let o = t.length;
83
- for (; o--; ) {
84
- let r = t[o];
85
- if (typeof r == "string") {
86
- const u = i(r);
87
- u !== r && (Yn(t) || (t[o] = u), r = u);
88
- }
89
- n[r] = !0;
90
- }
91
- return n;
92
- }
93
- function Jn(n) {
94
- for (let t = 0; t < n.length; t++)
95
- se(n, t) || (n[t] = null);
96
- return n;
97
- }
98
- function Ce(n) {
99
- const t = pn(null);
100
- for (const [i, o] of mn(n))
101
- se(n, i) && (Array.isArray(o) ? t[i] = Jn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = Ce(o) : t[i] = o);
102
- return t;
103
- }
104
- function Be(n, t) {
105
- for (; n !== null; ) {
106
- const o = Xn(n, t);
107
- if (o) {
108
- if (o.get)
109
- return K(o.get);
110
- if (typeof o.value == "function")
111
- return K(o.value);
112
- }
113
- n = jn(n);
114
- }
115
- function i() {
116
- return null;
117
- }
118
- return i;
119
- }
120
- 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"]), ft = 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"]), ut = 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 = ee(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ei = ee(/<%[\w\W]*|[\w\W]*%>/gm), ti = ee(/\${[\w\W]*}/gm), ni = ee(/^data-[\-\w.\u00B7-\uFFFF]/), ii = ee(/^aria-[\-\w]+$/), dn = ee(
121
- /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
122
- // eslint-disable-line no-useless-escape
123
- ), oi = ee(/^(?:\w+script|data):/i), si = ee(
124
- /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
125
- // eslint-disable-line no-control-regex
126
- ), hn = ee(/^html$/i), ri = ee(/^[a-z][.\w]*(-[.\w]+)+$/i);
127
- var tn = /* @__PURE__ */ Object.freeze({
128
- __proto__: null,
129
- MUSTACHE_EXPR: $n,
130
- ERB_EXPR: ei,
131
- TMPLIT_EXPR: ti,
132
- DATA_ATTR: ni,
133
- ARIA_ATTR: ii,
134
- IS_ALLOWED_URI: dn,
135
- IS_SCRIPT_OR_DATA: oi,
136
- ATTR_WHITESPACE: si,
137
- DOCTYPE_NAME: hn,
138
- CUSTOM_ELEMENT: ri
139
- });
140
- const Ge = {
141
- element: 1,
142
- text: 3,
143
- // Deprecated
144
- progressingInstruction: 7,
145
- comment: 8,
146
- document: 9
147
- }, ai = function() {
148
- return typeof window == "undefined" ? null : window;
149
- }, li = function(t, i) {
150
- if (typeof t != "object" || typeof t.createPolicy != "function")
151
- return null;
152
- let o = null;
153
- const r = "data-tt-policy-suffix";
154
- i && i.hasAttribute(r) && (o = i.getAttribute(r));
155
- const u = "dompurify" + (o ? "#" + o : "");
156
- try {
157
- return t.createPolicy(u, {
158
- createHTML(_) {
159
- return _;
160
- },
161
- createScriptURL(_) {
162
- return _;
163
- }
164
- });
165
- } catch (_) {
166
- return console.warn("TrustedTypes policy " + u + " could not be created."), null;
167
- }
168
- };
169
- function gn() {
170
- let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ai();
171
- const t = (c) => gn(c);
172
- if (t.version = "3.1.6", t.removed = [], !n || !n.document || n.document.nodeType !== Ge.document)
173
- return t.isSupported = !1, t;
174
- let {
175
- document: i
176
- } = n;
177
- const o = i, r = o.currentScript, {
178
- DocumentFragment: u,
179
- HTMLTemplateElement: _,
180
- Node: b,
181
- Element: w,
182
- NodeFilter: T,
183
- NamedNodeMap: q = n.NamedNodeMap || n.MozNamedAttrMap,
184
- HTMLFormElement: te,
185
- DOMParser: be,
186
- trustedTypes: F
187
- } = n, B = w.prototype, Ee = Be(B, "cloneNode"), re = Be(B, "remove"), G = Be(B, "nextSibling"), ue = Be(B, "childNodes"), Q = Be(B, "parentNode");
188
- if (typeof _ == "function") {
189
- const c = i.createElement("template");
190
- c.content && c.content.ownerDocument && (i = c.content.ownerDocument);
191
- }
192
- let g, C = "";
193
- const {
194
- implementation: ne,
195
- createNodeIterator: ae,
196
- createDocumentFragment: me,
197
- getElementsByTagName: W
198
- } = i, {
199
- importNode: ie
200
- } = o;
201
- let R = {};
202
- t.isSupported = typeof mn == "function" && typeof Q == "function" && ne && ne.createHTMLDocument !== void 0;
203
- const {
204
- MUSTACHE_EXPR: Y,
205
- ERB_EXPR: le,
206
- TMPLIT_EXPR: Te,
207
- DATA_ATTR: Z,
208
- ARIA_ATTR: D,
209
- IS_SCRIPT_OR_DATA: O,
210
- ATTR_WHITESPACE: we,
211
- CUSTOM_ELEMENT: $
212
- } = tn;
213
- let {
214
- IS_ALLOWED_URI: x
215
- } = tn, S = null;
216
- const Se = p({}, [...Kt, ...ft, ...ut, ...mt, ...Qt]);
217
- let A = null;
218
- const pe = p({}, [...$t, ...pt, ...en, ...Qe]);
219
- let d = Object.seal(pn(null, {
220
- tagNameCheck: {
221
- writable: !0,
222
- configurable: !1,
223
- enumerable: !0,
224
- value: null
225
- },
226
- attributeNameCheck: {
227
- writable: !0,
228
- configurable: !1,
229
- enumerable: !0,
230
- value: null
231
- },
232
- allowCustomizedBuiltInElements: {
233
- writable: !0,
234
- configurable: !1,
235
- enumerable: !0,
236
- value: !1
237
- }
238
- })), a = null, h = null, j = !0, v = !0, X = !1, De = !0, P = !1, ve = !0, E = !1, L = !1, Ae = !1, Re = !1, je = !1, Xe = !1, gt = !0, _t = !1;
239
- const _n = "user-content-";
240
- let ot = !0, Ie = !1, Me = {}, Oe = null;
241
- const Et = p({}, ["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"]);
242
- let Tt = null;
243
- const wt = p({}, ["audio", "video", "img", "source", "image", "track"]);
244
- let st = null;
245
- const yt = p({}, ["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", de = "http://www.w3.org/1999/xhtml";
246
- let ke = de, rt = !1, at = null;
247
- const En = p({}, [Ve, qe, de], ct);
248
- let Pe = null;
249
- const Tn = ["application/xhtml+xml", "text/html"], wn = "text/html";
250
- let k = null, Ne = null;
251
- const yn = i.createElement("form"), bt = function(e) {
252
- return e instanceof RegExp || e instanceof Function;
253
- }, lt = function() {
254
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
255
- if (!(Ne && Ne === e)) {
256
- if ((!e || typeof e != "object") && (e = {}), e = Ce(e), Pe = // eslint-disable-next-line unicorn/prefer-includes
257
- Tn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? wn : e.PARSER_MEDIA_TYPE, k = Pe === "application/xhtml+xml" ? ct : it, S = se(e, "ALLOWED_TAGS") ? p({}, e.ALLOWED_TAGS, k) : Se, A = se(e, "ALLOWED_ATTR") ? p({}, e.ALLOWED_ATTR, k) : pe, at = se(e, "ALLOWED_NAMESPACES") ? p({}, e.ALLOWED_NAMESPACES, ct) : En, st = se(e, "ADD_URI_SAFE_ATTR") ? p(
258
- Ce(yt),
259
- // eslint-disable-line indent
260
- e.ADD_URI_SAFE_ATTR,
261
- // eslint-disable-line indent
262
- k
263
- // eslint-disable-line indent
264
- ) : yt, Tt = se(e, "ADD_DATA_URI_TAGS") ? p(
265
- Ce(wt),
266
- // eslint-disable-line indent
267
- e.ADD_DATA_URI_TAGS,
268
- // eslint-disable-line indent
269
- k
270
- // eslint-disable-line indent
271
- ) : wt, Oe = se(e, "FORBID_CONTENTS") ? p({}, e.FORBID_CONTENTS, k) : Et, a = se(e, "FORBID_TAGS") ? p({}, e.FORBID_TAGS, k) : {}, h = se(e, "FORBID_ATTR") ? p({}, e.FORBID_ATTR, k) : {}, Me = se(e, "USE_PROFILES") ? e.USE_PROFILES : !1, j = e.ALLOW_ARIA_ATTR !== !1, v = e.ALLOW_DATA_ATTR !== !1, X = e.ALLOW_UNKNOWN_PROTOCOLS || !1, De = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, P = e.SAFE_FOR_TEMPLATES || !1, ve = e.SAFE_FOR_XML !== !1, E = e.WHOLE_DOCUMENT || !1, Re = e.RETURN_DOM || !1, je = e.RETURN_DOM_FRAGMENT || !1, Xe = e.RETURN_TRUSTED_TYPE || !1, Ae = 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, x = e.ALLOWED_URI_REGEXP || dn, ke = e.NAMESPACE || de, d = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (d.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (d.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (d.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), P && (v = !1), je && (Re = !0), Me && (S = p({}, Qt), A = [], Me.html === !0 && (p(S, Kt), p(A, $t)), Me.svg === !0 && (p(S, ft), p(A, pt), p(A, Qe)), Me.svgFilters === !0 && (p(S, ut), p(A, pt), p(A, Qe)), Me.mathMl === !0 && (p(S, mt), p(A, en), p(A, Qe))), e.ADD_TAGS && (S === Se && (S = Ce(S)), p(S, e.ADD_TAGS, k)), e.ADD_ATTR && (A === pe && (A = Ce(A)), p(A, e.ADD_ATTR, k)), e.ADD_URI_SAFE_ATTR && p(st, e.ADD_URI_SAFE_ATTR, k), e.FORBID_CONTENTS && (Oe === Et && (Oe = Ce(Oe)), p(Oe, e.FORBID_CONTENTS, k)), ot && (S["#text"] = !0), E && p(S, ["html", "head", "body"]), S.table && (p(S, ["tbody"]), delete a.tbody), e.TRUSTED_TYPES_POLICY) {
272
- if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
273
- throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
274
- if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
275
- throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
276
- g = e.TRUSTED_TYPES_POLICY, C = g.createHTML("");
277
- } else
278
- g === void 0 && (g = li(F, r)), g !== null && typeof C == "string" && (C = g.createHTML(""));
279
- z && z(e), Ne = e;
280
- }
281
- }, St = p({}, ["mi", "mo", "mn", "ms", "mtext"]), At = p({}, ["foreignobject", "annotation-xml"]), bn = p({}, ["title", "style", "font", "a", "script"]), Ct = p({}, [...ft, ...ut, ...Kn]), xt = p({}, [...mt, ...Qn]), Sn = function(e) {
282
- let s = Q(e);
283
- (!s || !s.tagName) && (s = {
284
- namespaceURI: ke,
285
- tagName: "template"
286
- });
287
- const l = it(e.tagName), y = it(s.tagName);
288
- return at[e.namespaceURI] ? e.namespaceURI === qe ? s.namespaceURI === de ? l === "svg" : s.namespaceURI === Ve ? l === "svg" && (y === "annotation-xml" || St[y]) : !!Ct[l] : e.namespaceURI === Ve ? s.namespaceURI === de ? l === "math" : s.namespaceURI === qe ? l === "math" && At[y] : !!xt[l] : e.namespaceURI === de ? s.namespaceURI === qe && !At[y] || s.namespaceURI === Ve && !St[y] ? !1 : !xt[l] && (bn[l] || !Ct[l]) : !!(Pe === "application/xhtml+xml" && at[e.namespaceURI]) : !1;
289
- }, ce = function(e) {
290
- He(t.removed, {
291
- element: e
292
- });
293
- try {
294
- Q(e).removeChild(e);
295
- } catch (s) {
296
- re(e);
297
- }
298
- }, Ze = function(e, s) {
299
- try {
300
- He(t.removed, {
301
- attribute: s.getAttributeNode(e),
302
- from: s
303
- });
304
- } catch (l) {
305
- He(t.removed, {
306
- attribute: null,
307
- from: s
308
- });
309
- }
310
- if (s.removeAttribute(e), e === "is" && !A[e])
311
- if (Re || je)
312
- try {
313
- ce(s);
314
- } catch (l) {
315
- }
316
- else
317
- try {
318
- s.setAttribute(e, "");
319
- } catch (l) {
320
- }
321
- }, Lt = function(e) {
322
- let s = null, l = null;
323
- if (Ae)
324
- e = "<remove></remove>" + e;
325
- else {
326
- const N = Jt(e, /^[\r\n\t ]+/);
327
- l = N && N[0];
328
- }
329
- Pe === "application/xhtml+xml" && ke === de && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
330
- const y = g ? g.createHTML(e) : e;
331
- if (ke === de)
332
- try {
333
- s = new be().parseFromString(y, Pe);
334
- } catch (N) {
335
- }
336
- if (!s || !s.documentElement) {
337
- s = ne.createDocument(ke, "template", null);
338
- try {
339
- s.documentElement.innerHTML = rt ? C : y;
340
- } catch (N) {
341
- }
342
- }
343
- const I = s.body || s.documentElement;
344
- return e && l && I.insertBefore(i.createTextNode(l), I.childNodes[0] || null), ke === de ? W.call(s, E ? "html" : "body")[0] : E ? s.documentElement : I;
345
- }, vt = function(e) {
346
- return ae.call(
347
- e.ownerDocument || e,
348
- e,
349
- // eslint-disable-next-line no-bitwise
350
- T.SHOW_ELEMENT | T.SHOW_COMMENT | T.SHOW_TEXT | T.SHOW_PROCESSING_INSTRUCTION | T.SHOW_CDATA_SECTION,
351
- null
352
- );
353
- }, Rt = function(e) {
354
- return e instanceof te && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof q) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
355
- }, Mt = function(e) {
356
- return typeof b == "function" && e instanceof b;
357
- }, he = function(e, s, l) {
358
- R[e] && Ke(R[e], (y) => {
359
- y.call(t, s, l, Ne);
360
- });
361
- }, Ot = function(e) {
362
- let s = null;
363
- if (he("beforeSanitizeElements", e, null), Rt(e))
364
- return ce(e), !0;
365
- const l = k(e.nodeName);
366
- if (he("uponSanitizeElement", e, {
367
- tagName: l,
368
- allowedTags: S
369
- }), e.hasChildNodes() && !Mt(e.firstElementChild) && H(/<[/\w]/g, e.innerHTML) && H(/<[/\w]/g, e.textContent) || e.nodeType === Ge.progressingInstruction || ve && e.nodeType === Ge.comment && H(/<[/\w]/g, e.data))
370
- return ce(e), !0;
371
- if (!S[l] || a[l]) {
372
- if (!a[l] && Nt(l) && (d.tagNameCheck instanceof RegExp && H(d.tagNameCheck, l) || d.tagNameCheck instanceof Function && d.tagNameCheck(l)))
373
- return !1;
374
- if (ot && !Oe[l]) {
375
- const y = Q(e) || e.parentNode, I = ue(e) || e.childNodes;
376
- if (I && y) {
377
- const N = I.length;
378
- for (let V = N - 1; V >= 0; --V) {
379
- const fe = Ee(I[V], !0);
380
- fe.__removalCount = (e.__removalCount || 0) + 1, y.insertBefore(fe, G(e));
381
- }
382
- }
383
- }
384
- return ce(e), !0;
385
- }
386
- return e instanceof w && !Sn(e) || (l === "noscript" || l === "noembed" || l === "noframes") && H(/<\/no(script|embed|frames)/i, e.innerHTML) ? (ce(e), !0) : (P && e.nodeType === Ge.text && (s = e.textContent, Ke([Y, le, Te], (y) => {
387
- s = ze(s, y, " ");
388
- }), e.textContent !== s && (He(t.removed, {
389
- element: e.cloneNode()
390
- }), e.textContent = s)), he("afterSanitizeElements", e, null), !1);
391
- }, kt = function(e, s, l) {
392
- if (gt && (s === "id" || s === "name") && (l in i || l in yn))
393
- return !1;
394
- if (!(v && !h[s] && H(Z, s))) {
395
- if (!(j && H(D, s))) {
396
- if (!A[s] || h[s]) {
397
- if (
398
- // First condition does a very basic check if a) it's basically a valid custom element tagname AND
399
- // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
400
- // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
401
- !(Nt(e) && (d.tagNameCheck instanceof RegExp && H(d.tagNameCheck, e) || d.tagNameCheck instanceof Function && d.tagNameCheck(e)) && (d.attributeNameCheck instanceof RegExp && H(d.attributeNameCheck, s) || d.attributeNameCheck instanceof Function && d.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
402
- // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
403
- s === "is" && d.allowCustomizedBuiltInElements && (d.tagNameCheck instanceof RegExp && H(d.tagNameCheck, l) || d.tagNameCheck instanceof Function && d.tagNameCheck(l)))
404
- )
405
- return !1;
406
- } else if (!st[s]) {
407
- if (!H(x, ze(l, we, ""))) {
408
- if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Vn(l, "data:") === 0 && Tt[e])) {
409
- if (!(X && !H(O, ze(l, we, "")))) {
410
- if (l)
411
- return !1;
412
- }
413
- }
414
- }
415
- }
416
- }
417
- }
418
- return !0;
419
- }, Nt = function(e) {
420
- return e !== "annotation-xml" && Jt(e, $);
421
- }, Dt = function(e) {
422
- he("beforeSanitizeAttributes", e, null);
423
- const {
424
- attributes: s
425
- } = e;
426
- if (!s)
427
- return;
428
- const l = {
429
- attrName: "",
430
- attrValue: "",
431
- keepAttr: !0,
432
- allowedAttributes: A
433
- };
434
- let y = s.length;
435
- for (; y--; ) {
436
- const I = s[y], {
437
- name: N,
438
- namespaceURI: V,
439
- value: fe
440
- } = I, Ue = k(N);
441
- let U = N === "value" ? fe : qn(fe);
442
- if (l.attrName = Ue, l.attrValue = U, l.keepAttr = !0, l.forceKeepAttr = void 0, he("uponSanitizeAttribute", e, l), U = l.attrValue, ve && H(/((--!?|])>)|<\/(style|title)/i, U)) {
443
- Ze(N, e);
444
- continue;
445
- }
446
- if (l.forceKeepAttr || (Ze(N, e), !l.keepAttr))
447
- continue;
448
- if (!De && H(/\/>/i, U)) {
449
- Ze(N, e);
450
- continue;
451
- }
452
- P && Ke([Y, le, Te], (Pt) => {
453
- U = ze(U, Pt, " ");
454
- });
455
- const It = k(e.nodeName);
456
- if (kt(It, Ue, U)) {
457
- if (_t && (Ue === "id" || Ue === "name") && (Ze(N, e), U = _n + U), g && typeof F == "object" && typeof F.getAttributeType == "function" && !V)
458
- switch (F.getAttributeType(It, Ue)) {
459
- case "TrustedHTML": {
460
- U = g.createHTML(U);
461
- break;
462
- }
463
- case "TrustedScriptURL": {
464
- U = g.createScriptURL(U);
465
- break;
466
- }
467
- }
468
- try {
469
- V ? e.setAttributeNS(V, N, U) : e.setAttribute(N, U), Rt(e) ? ce(e) : Zt(t.removed);
470
- } catch (Pt) {
471
- }
472
- }
473
- }
474
- he("afterSanitizeAttributes", e, null);
475
- }, An = function c(e) {
476
- let s = null;
477
- const l = vt(e);
478
- for (he("beforeSanitizeShadowDOM", e, null); s = l.nextNode(); )
479
- he("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof u && c(s.content), Dt(s));
480
- he("afterSanitizeShadowDOM", e, null);
481
- };
482
- return t.sanitize = function(c) {
483
- let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null, y = null, I = null;
484
- if (rt = !c, rt && (c = "<!-->"), typeof c != "string" && !Mt(c))
485
- if (typeof c.toString == "function") {
486
- if (c = c.toString(), typeof c != "string")
487
- throw Fe("dirty is not a string, aborting");
488
- } else
489
- throw Fe("toString is not a function");
490
- if (!t.isSupported)
491
- return c;
492
- if (L || lt(e), t.removed = [], typeof c == "string" && (Ie = !1), Ie) {
493
- if (c.nodeName) {
494
- const fe = k(c.nodeName);
495
- if (!S[fe] || a[fe])
496
- throw Fe("root node is forbidden and cannot be sanitized in-place");
497
- }
498
- } else if (c instanceof b)
499
- s = Lt("<!---->"), l = s.ownerDocument.importNode(c, !0), l.nodeType === Ge.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? s = l : s.appendChild(l);
500
- else {
501
- if (!Re && !P && !E && // eslint-disable-next-line unicorn/prefer-includes
502
- c.indexOf("<") === -1)
503
- return g && Xe ? g.createHTML(c) : c;
504
- if (s = Lt(c), !s)
505
- return Re ? null : Xe ? C : "";
506
- }
507
- s && Ae && ce(s.firstChild);
508
- const N = vt(Ie ? c : s);
509
- for (; y = N.nextNode(); )
510
- Ot(y) || (y.content instanceof u && An(y.content), Dt(y));
511
- if (Ie)
512
- return c;
513
- if (Re) {
514
- if (je)
515
- for (I = me.call(s.ownerDocument); s.firstChild; )
516
- I.appendChild(s.firstChild);
517
- else
518
- I = s;
519
- return (A.shadowroot || A.shadowrootmode) && (I = ie.call(o, I, !0)), I;
520
- }
521
- let V = E ? s.outerHTML : s.innerHTML;
522
- return E && S["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && H(hn, s.ownerDocument.doctype.name) && (V = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
523
- ` + V), P && Ke([Y, le, Te], (fe) => {
524
- V = ze(V, fe, " ");
525
- }), g && Xe ? g.createHTML(V) : V;
526
- }, t.setConfig = function() {
527
- let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
528
- lt(c), L = !0;
529
- }, t.clearConfig = function() {
530
- Ne = null, L = !1;
531
- }, t.isValidAttribute = function(c, e, s) {
532
- Ne || lt({});
533
- const l = k(c), y = k(e);
534
- return kt(l, y, s);
535
- }, t.addHook = function(c, e) {
536
- typeof e == "function" && (R[c] = R[c] || [], He(R[c], e));
537
- }, t.removeHook = function(c) {
538
- if (R[c])
539
- return Zt(R[c]);
540
- }, t.removeHooks = function(c) {
541
- R[c] && (R[c] = []);
542
- }, t.removeAllHooks = function() {
543
- R = {};
544
- }, t;
545
- }
546
- var nn = gn();
547
- function ci(n) {
548
- On(n, "svelte-1ct078u", '*,*::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%)}.CashierSessionHomeButton{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%;background-color:transparent;border-radius:var(--emw--border-radius-medium, 4px);border:1px solid var(---emw-color-primary, #fff)}.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}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #f9c405)}.CashierErrorButton:hover{background:var(--emw--color-active, #fecd1c)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorButton:disabled{filter:saturate(50%);opacity:0.5;cursor:auto;pointer-events:none}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-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}.ModalCloseIcon svg{fill:var(--emw--color-typography, #fff);width:11px;height:11px}');
549
- }
550
- const fi = (n) => ({}), on = (n) => ({}), ui = (n) => ({}), sn = (n) => ({}), mi = (n) => ({}), rn = (n) => ({}), pi = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
551
- function ln(n) {
552
- let t, i, o, r, u, _, b, w, T, q, te, be, F = (
553
- /*$_*/
554
- n[8]("sessionExpirationHeader") + ""
555
- ), B, Ee, re, G, ue, Q, g, C, ne, ae, me, W, ie, R, Y = (
556
- /*$_*/
557
- n[8]("sessionExpirationEnd") + ""
558
- ), le, Te, Z, D, O, we, $, x, S, Se;
559
- const A = (
560
- /*#slots*/
561
- n[23].icon
562
- ), pe = $e(
563
- A,
564
- n,
565
- /*$$scope*/
566
- n[22],
567
- an
568
- ), d = pe || di(n), a = (
569
- /*#slots*/
570
- n[23].title
571
- ), h = $e(
572
- a,
573
- n,
574
- /*$$scope*/
575
- n[22],
576
- rn
577
- ), j = (
578
- /*#slots*/
579
- n[23].text
580
- ), v = $e(
581
- j,
582
- n,
583
- /*$$scope*/
584
- n[22],
585
- sn
586
- ), X = v || hi(n), De = [_i, gi], P = [];
587
- function ve(E, L) {
588
- return (
589
- /*showLoaderButton*/
590
- E[6] ? 0 : 1
591
- );
592
- }
593
- return D = ve(n), O = P[D] = De[D](n), {
594
- c() {
595
- t = M("div"), i = M("div"), o = M("div"), r = M("div"), u = oe("svg"), _ = oe("defs"), b = oe("mask"), w = oe("circle"), T = oe("rect"), q = oe("circle"), te = oe("circle"), be = ge(), B = Ye(F), Ee = ge(), re = M("div"), G = oe("svg"), ue = oe("path"), Q = ge(), g = M("div"), C = M("div"), d && d.c(), ne = ge(), h && h.c(), ae = ge(), X && X.c(), me = ge(), W = M("div"), ie = M("button"), R = M("span"), le = Ye(Y), Te = ge(), Z = M("button"), O.c(), f(w, "cx", "100"), f(w, "cy", "100"), f(w, "r", "90"), f(T, "x", "88"), f(T, "y", "40"), f(T, "width", "24"), f(T, "height", "80"), f(T, "rx", "12"), f(T, "fill", "black"), f(q, "cx", "100"), f(q, "cy", "150"), f(q, "r", "14"), f(q, "fill", "black"), f(b, "id", "exclamation-mask"), f(te, "cx", "100"), f(te, "cy", "100"), f(te, "r", "90"), f(te, "mask", "url(#exclamation-mask)"), f(u, "viewBox", "0 0 200 200"), f(u, "xmlns", "http://www.w3.org/2000/svg"), f(r, "class", "CashierSessionExpirationModalHeaderTitle"), f(ue, "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"), f(G, "xmlns", "http://www.w3.org/2000/svg"), f(G, "viewBox", "0 0 13 13"), f(G, "fill", "none"), f(G, "class", "CloseButton"), f(re, "class", "ModalCloseIcon"), f(o, "class", "CashierSessionExpirationModalHeader"), f(R, "class", "CashierSessionExpirationButtonText"), f(ie, "type", "button"), f(ie, "class", "CashierSessionHomeButton"), f(Z, "type", "button"), Z.disabled = /*showLoaderButton*/
596
- n[6], f(Z, "class", "CashierSessionExpirationButton"), f(W, "class", "ButtonsContainer"), f(C, "class", "CashierSessionExpiration"), f(g, "class", "CashierSessionExpirationModalContainer"), f(i, "class", "CashierSessionExpirationModalWrapper"), f(t, "class", "CashierSessionExpirationModalWindow"), f(t, "id", "CashierSessionExpirationModal"), zt(() => (
597
- /*div7_elementresize_handler*/
598
- n[25].call(t)
599
- ));
600
- },
601
- m(E, L) {
602
- Le(E, t, L), m(t, i), m(i, o), m(o, r), m(r, u), m(u, _), m(_, b), m(b, w), m(b, T), m(b, q), m(u, te), m(r, be), m(r, B), m(o, Ee), m(o, re), m(re, G), m(G, ue), m(i, Q), m(i, g), m(g, C), d && d.m(C, null), m(C, ne), h && h.m(C, null), m(C, ae), X && X.m(C, null), m(C, me), m(C, W), m(W, ie), m(ie, R), m(R, le), m(W, Te), m(W, Z), P[D].m(Z, null), n[24](C), we = In(
603
- t,
604
- /*div7_elementresize_handler*/
605
- n[25].bind(t)
606
- ), x = !0, S || (Se = [
607
- Je(
608
- G,
609
- "click",
610
- /*goToHome*/
611
- n[11]
612
- ),
613
- Je(
614
- ie,
615
- "click",
616
- /*goToHome*/
617
- n[11]
618
- ),
619
- Je(
620
- Z,
621
- "click",
622
- /*renewSession*/
623
- n[9]
624
- ),
625
- Je(
626
- t,
627
- "click",
628
- /*outOfModalClick*/
629
- n[10]
630
- )
631
- ], S = !0);
632
- },
633
- p(E, L) {
634
- n = E, (!x || L[0] & /*$_*/
635
- 256) && F !== (F = /*$_*/
636
- n[8]("sessionExpirationHeader") + "") && We(B, F), pe ? pe.p && (!x || L[0] & /*$$scope*/
637
- 4194304) && et(
638
- pe,
639
- A,
640
- n,
641
- /*$$scope*/
642
- n[22],
643
- x ? nt(
644
- A,
645
- /*$$scope*/
646
- n[22],
647
- L,
648
- pi
649
- ) : tt(
650
- /*$$scope*/
651
- n[22]
652
- ),
653
- an
654
- ) : d && d.p && (!x || L[0] & /*assetsurl*/
655
- 8) && d.p(n, x ? L : [-1, -1]), h && h.p && (!x || L[0] & /*$$scope*/
656
- 4194304) && et(
657
- h,
658
- a,
659
- n,
660
- /*$$scope*/
661
- n[22],
662
- x ? nt(
663
- a,
664
- /*$$scope*/
665
- n[22],
666
- L,
667
- mi
668
- ) : tt(
669
- /*$$scope*/
670
- n[22]
671
- ),
672
- rn
673
- ), v ? v.p && (!x || L[0] & /*$$scope*/
674
- 4194304) && et(
675
- v,
676
- j,
677
- n,
678
- /*$$scope*/
679
- n[22],
680
- x ? nt(
681
- j,
682
- /*$$scope*/
683
- n[22],
684
- L,
685
- ui
686
- ) : tt(
687
- /*$$scope*/
688
- n[22]
689
- ),
690
- sn
691
- ) : X && X.p && (!x || L[0] & /*$_, timeLeft*/
692
- 384) && X.p(n, x ? L : [-1, -1]), (!x || L[0] & /*$_*/
693
- 256) && Y !== (Y = /*$_*/
694
- n[8]("sessionExpirationEnd") + "") && We(le, Y);
695
- let Ae = D;
696
- D = ve(n), D === Ae ? P[D].p(n, L) : (fn(), ye(P[Ae], 1, 1, () => {
697
- P[Ae] = null;
698
- }), un(), O = P[D], O ? O.p(n, L) : (O = P[D] = De[D](n), O.c()), _e(O, 1), O.m(Z, null)), (!x || L[0] & /*showLoaderButton*/
699
- 64) && (Z.disabled = /*showLoaderButton*/
700
- n[6]);
701
- },
702
- i(E) {
703
- x || (_e(d, E), _e(h, E), _e(X, E), _e(O), E && zt(() => {
704
- x && ($ || ($ = Ht(t, Wt, { duration: (
705
- /*duration*/
706
- n[2]
707
- ) }, !0)), $.run(1));
708
- }), x = !0);
709
- },
710
- o(E) {
711
- ye(d, E), ye(h, E), ye(X, E), ye(O), E && ($ || ($ = Ht(t, Wt, { duration: (
712
- /*duration*/
713
- n[2]
714
- ) }, !1)), $.run(0)), x = !1;
715
- },
716
- d(E) {
717
- E && xe(t), d && d.d(E), h && h.d(E), X && X.d(E), P[D].d(), n[24](null), we(), E && $ && $.end(), S = !1, Dn(Se);
718
- }
719
- };
720
- }
721
- function cn(n) {
722
- let t, i;
723
- return {
724
- c() {
725
- t = M("img"), Gt(t.src, i = `${/*assetsurl*/
726
- n[3]}/set-timeout-icon.png`) || f(t, "src", i), f(t, "width", "300px"), f(t, "alt", "error");
727
- },
728
- m(o, r) {
729
- Le(o, t, r);
730
- },
731
- p(o, r) {
732
- r[0] & /*assetsurl*/
733
- 8 && !Gt(t.src, i = `${/*assetsurl*/
734
- o[3]}/set-timeout-icon.png`) && f(t, "src", i);
735
- },
736
- d(o) {
737
- o && xe(t);
738
- }
739
- };
740
- }
741
- function di(n) {
742
- let t, i = (
743
- /*assetsurl*/
744
- n[3] && cn(n)
745
- );
746
- return {
747
- c() {
748
- i && i.c(), t = Pn();
749
- },
750
- m(o, r) {
751
- i && i.m(o, r), Le(o, t, r);
752
- },
753
- p(o, r) {
754
- /*assetsurl*/
755
- o[3] ? i ? i.p(o, r) : (i = cn(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null);
756
- },
757
- d(o) {
758
- o && xe(t), i && i.d(o);
759
- }
760
- };
761
- }
762
- function hi(n) {
763
- let t, i, o = (
764
- /*$_*/
765
- n[8]("sessionExpirationTitle") + ""
766
- ), r, u, _, b = nn.sanitize(
767
- /*$_*/
768
- n[8]("sessionExpirationGeneralText", { values: { second: (
769
- /*timeLeft*/
770
- n[7]
771
- ) } })
772
- ) + "";
773
- return {
774
- c() {
775
- t = M("span"), i = M("p"), r = Ye(o), u = ge(), _ = M("p"), f(t, "class", "CashierSessionExpirationText");
776
- },
777
- m(w, T) {
778
- Le(w, t, T), m(t, i), m(i, r), m(t, u), m(t, _), _.innerHTML = b;
779
- },
780
- p(w, T) {
781
- T[0] & /*$_*/
782
- 256 && o !== (o = /*$_*/
783
- w[8]("sessionExpirationTitle") + "") && We(r, o), T[0] & /*$_, timeLeft*/
784
- 384 && b !== (b = nn.sanitize(
785
- /*$_*/
786
- w[8]("sessionExpirationGeneralText", { values: { second: (
787
- /*timeLeft*/
788
- w[7]
789
- ) } })
790
- ) + "") && (_.innerHTML = b);
791
- },
792
- d(w) {
793
- w && xe(t);
794
- }
795
- };
796
- }
797
- function gi(n) {
798
- let t;
799
- const i = (
800
- /*#slots*/
801
- n[23].button
802
- ), o = $e(
803
- i,
804
- n,
805
- /*$$scope*/
806
- n[22],
807
- on
808
- ), r = o || Ei(n);
809
- return {
810
- c() {
811
- r && r.c();
812
- },
813
- m(u, _) {
814
- r && r.m(u, _), t = !0;
815
- },
816
- p(u, _) {
817
- o ? o.p && (!t || _[0] & /*$$scope*/
818
- 4194304) && et(
819
- o,
820
- i,
821
- u,
822
- /*$$scope*/
823
- u[22],
824
- t ? nt(
825
- i,
826
- /*$$scope*/
827
- u[22],
828
- _,
829
- fi
830
- ) : tt(
831
- /*$$scope*/
832
- u[22]
833
- ),
834
- on
835
- ) : r && r.p && (!t || _[0] & /*$_*/
836
- 256) && r.p(u, t ? _ : [-1, -1]);
837
- },
838
- i(u) {
839
- t || (_e(r, u), t = !0);
840
- },
841
- o(u) {
842
- ye(r, u), t = !1;
843
- },
844
- d(u) {
845
- r && r.d(u);
846
- }
847
- };
848
- }
849
- function _i(n) {
850
- let t, i, o, r, u, _ = (
851
- /*$_*/
852
- n[8]("sessionExpirationLoadingButton") + ""
853
- ), b;
854
- return {
855
- c() {
856
- t = M("div"), i = oe("svg"), o = oe("path"), r = ge(), u = M("span"), b = Ye(_), f(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"), f(o, "fill", "white"), f(i, "class", "CashierSessionExpirationButtonSpinner"), f(i, "xmlns", "http://www.w3.org/2000/svg"), f(i, "width", "15"), f(i, "height", "14"), f(i, "viewBox", "0 0 15 14"), f(i, "fill", "none"), f(u, "class", "CashierSessionExpirationButtonText");
857
- },
858
- m(w, T) {
859
- Le(w, t, T), m(t, i), m(i, o), m(t, r), m(t, u), m(u, b);
860
- },
861
- p(w, T) {
862
- T[0] & /*$_*/
863
- 256 && _ !== (_ = /*$_*/
864
- w[8]("sessionExpirationLoadingButton") + "") && We(b, _);
865
- },
866
- i: Bt,
867
- o: Bt,
868
- d(w) {
869
- w && xe(t);
870
- }
871
- };
872
- }
873
- function Ei(n) {
874
- let t, i = (
875
- /*$_*/
876
- n[8]("sessionExpirationGeneralButton") + ""
877
- ), o;
878
- return {
879
- c() {
880
- t = M("span"), o = Ye(i), f(t, "class", "CashierSessionExpirationButtonText");
881
- },
882
- m(r, u) {
883
- Le(r, t, u), m(t, o);
884
- },
885
- p(r, u) {
886
- u[0] & /*$_*/
887
- 256 && i !== (i = /*$_*/
888
- r[8]("sessionExpirationGeneralButton") + "") && We(o, i);
889
- },
890
- d(r) {
891
- r && xe(t);
892
- }
893
- };
894
- }
895
- function Ti(n) {
896
- let t, i, o = (
897
- /*show*/
898
- n[5] && ln(n)
899
- );
900
- return {
901
- c() {
902
- t = M("div"), o && o.c();
903
- },
904
- m(r, u) {
905
- Le(r, t, u), o && o.m(t, null), n[26](t), i = !0;
906
- },
907
- p(r, u) {
908
- /*show*/
909
- r[5] ? o ? (o.p(r, u), u[0] & /*show*/
910
- 32 && _e(o, 1)) : (o = ln(r), o.c(), _e(o, 1), o.m(t, null)) : o && (fn(), ye(o, 1, 1, () => {
911
- o = null;
912
- }), un());
913
- },
914
- i(r) {
915
- i || (_e(o), i = !0);
916
- },
917
- o(r) {
918
- ye(o), i = !1;
919
- },
920
- d(r) {
921
- r && xe(t), o && o.d(), n[26](null);
922
- }
923
- };
924
- }
925
- const wi = 90;
926
- function yi(n, t, i) {
927
- let o, r;
928
- Ut(n, jt, (a) => i(21, o = a)), Ut(n, Bn, (a) => i(8, r = a));
929
- let { $$slots: u = {}, $$scope: _ } = t;
930
- Yt.extend(Gn);
931
- let { clientstyling: b = "" } = t, { clientstylingurl: w = "" } = t, { width: T } = t, { height: q } = t, { duration: te = 200 } = t, { assetsurl: be = "" } = t, { lang: F = "en" } = t, { translationurl: B = "" } = t, { endpoint: Ee } = t, { currency: re } = t, { customerid: G } = t, { selectedpaymentmethodname: ue } = t, { mbsource: Q = "" } = t, g, C = !1, ne = !1, ae, me, W, ie, R;
932
- var Y;
933
- (function(a) {
934
- a.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", a.Success = "Success", a.JwtTokenError = "JwtTokenError";
935
- })(Y || (Y = {}));
936
- const le = (a) => {
937
- a.data.type === "StartSessionCountdown" && (ie = a.data.paymentMethodName);
938
- }, Te = (a) => {
939
- try {
940
- return JSON.parse(atob(a.split(".")[1]));
941
- } catch (h) {
942
- return null;
943
- }
944
- }, Z = () => {
945
- window.postMessage(
946
- {
947
- type: "ErrorResponseCode",
948
- errorResponseCode: R
949
- },
950
- window.location.href
951
- );
952
- }, D = (a) => {
953
- i(5, C = !1);
954
- const h = Te(a);
955
- h && (me = h == null ? void 0 : h.exp, i(7, ae = me), W && clearInterval(W), W = setInterval(
956
- () => {
957
- const j = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
958
- i(7, ae = me - j), ae <= wi && i(5, C = !0), j >= me && (O(), window.postMessage({ type: "SessionExpired" }, window.location.href));
959
- },
960
- 1e3
961
- ));
962
- }, O = () => {
963
- i(7, ae = 0), i(5, C = !1), clearInterval(W);
964
- }, we = () => {
965
- if (ne)
966
- return;
967
- const a = new URL(`${Ee}/v1/player/${G}/payment/GetPaymentMethod`), h = new Headers();
968
- i(6, ne = !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"));
969
- const j = {
970
- method: "POST",
971
- mode: "cors",
972
- headers: h,
973
- body: JSON.stringify({
974
- PaymentMethodName: ie || ue,
975
- Currency: re,
976
- XPaymentSessionToken: o
977
- })
978
- };
979
- fetch(a, j).then((v) => v.json()).then((v) => {
980
- if (v.error) {
981
- window.postMessage(
982
- {
983
- type: "ShowSessionError",
984
- error: v.error
985
- },
986
- window.location.href
987
- ), O();
988
- return;
989
- }
990
- if (v.ResponseCode === Y.PlayerSessionIsNotValid || v.ResponseCode === Y.JwtTokenError) {
991
- R = v.ResponseCode, O(), Z();
992
- return;
993
- }
994
- if (v.ResponseCode !== Y.Success) {
995
- R = v.ResponseCode, O();
996
- return;
997
- }
998
- v.XPaymentSessionToken && jt.set(v.XPaymentSessionToken);
999
- }).finally(() => i(6, ne = !1));
1000
- }, $ = (a) => {
1001
- const h = a.currentTarget;
1002
- a.target === h && we();
1003
- }, x = () => {
1004
- fetch(B).then((h) => h.json()).then((h) => {
1005
- Object.keys(h).forEach((j) => {
1006
- Xt(j, h[j]);
1007
- });
1008
- }).catch((h) => {
1009
- console.log(h);
1010
- });
1011
- }, S = () => {
1012
- window.postMessage({ type: "Cashier:goToHome" }, window.location.href), i(5, C = !1);
1013
- };
1014
- Object.keys(Vt).forEach((a) => {
1015
- Xt(a, Vt[a]);
1016
- });
1017
- const Se = () => {
1018
- Wn(F);
1019
- };
1020
- kn(() => (window.addEventListener("message", le, !1), () => {
1021
- window.removeEventListener("message", le);
1022
- })), Nn(() => {
1023
- clearInterval(W);
1024
- });
1025
- function A(a) {
1026
- Ft[a ? "unshift" : "push"](() => {
1027
- g = a, i(4, g);
1028
- });
1029
- }
1030
- function pe() {
1031
- T = this.clientWidth, q = this.clientHeight, i(0, T), i(1, q);
1032
- }
1033
- function d(a) {
1034
- Ft[a ? "unshift" : "push"](() => {
1035
- g = a, i(4, g);
1036
- });
1037
- }
1038
- return n.$$set = (a) => {
1039
- "clientstyling" in a && i(12, b = a.clientstyling), "clientstylingurl" in a && i(13, w = a.clientstylingurl), "width" in a && i(0, T = a.width), "height" in a && i(1, q = a.height), "duration" in a && i(2, te = a.duration), "assetsurl" in a && i(3, be = a.assetsurl), "lang" in a && i(14, F = a.lang), "translationurl" in a && i(15, B = a.translationurl), "endpoint" in a && i(16, Ee = a.endpoint), "currency" in a && i(17, re = a.currency), "customerid" in a && i(18, G = a.customerid), "selectedpaymentmethodname" in a && i(19, ue = a.selectedpaymentmethodname), "mbsource" in a && i(20, Q = a.mbsource), "$$scope" in a && i(22, _ = a.$$scope);
1040
- }, n.$$.update = () => {
1041
- n.$$.dirty[0] & /*$xPaymentSessionToken*/
1042
- 2097152 && D(o), n.$$.dirty[0] & /*lang*/
1043
- 16384 && F && Se(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1044
- 4112 && b && g && Un(g, b), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1045
- 8208 && w && g && Hn(g, w), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1046
- 1048592 && Q && g && zn(g, `${Q}.Style`), n.$$.dirty[0] & /*translationurl*/
1047
- 32768 && B && x();
1048
- }, [
1049
- T,
1050
- q,
1051
- te,
1052
- be,
1053
- g,
1054
- C,
1055
- ne,
1056
- ae,
1057
- r,
1058
- we,
1059
- $,
1060
- S,
1061
- b,
1062
- w,
1063
- F,
1064
- B,
1065
- Ee,
1066
- re,
1067
- G,
1068
- ue,
1069
- Q,
1070
- o,
1071
- _,
1072
- u,
1073
- A,
1074
- pe,
1075
- d
1076
- ];
1077
- }
1078
- class bi extends vn {
1079
- constructor(t) {
1080
- super(), Rn(
1081
- this,
1082
- t,
1083
- yi,
1084
- Ti,
1085
- Mn,
1086
- {
1087
- clientstyling: 12,
1088
- clientstylingurl: 13,
1089
- width: 0,
1090
- height: 1,
1091
- duration: 2,
1092
- assetsurl: 3,
1093
- lang: 14,
1094
- translationurl: 15,
1095
- endpoint: 16,
1096
- currency: 17,
1097
- customerid: 18,
1098
- selectedpaymentmethodname: 19,
1099
- mbsource: 20
1100
- },
1101
- ci,
1102
- [-1, -1]
1103
- );
1104
- }
1105
- get clientstyling() {
1106
- return this.$$.ctx[12];
1107
- }
1108
- set clientstyling(t) {
1109
- this.$$set({ clientstyling: t }), J();
1110
- }
1111
- get clientstylingurl() {
1112
- return this.$$.ctx[13];
1113
- }
1114
- set clientstylingurl(t) {
1115
- this.$$set({ clientstylingurl: t }), J();
1116
- }
1117
- get width() {
1118
- return this.$$.ctx[0];
1119
- }
1120
- set width(t) {
1121
- this.$$set({ width: t }), J();
1122
- }
1123
- get height() {
1124
- return this.$$.ctx[1];
1125
- }
1126
- set height(t) {
1127
- this.$$set({ height: t }), J();
1128
- }
1129
- get duration() {
1130
- return this.$$.ctx[2];
1131
- }
1132
- set duration(t) {
1133
- this.$$set({ duration: t }), J();
1134
- }
1135
- get assetsurl() {
1136
- return this.$$.ctx[3];
1137
- }
1138
- set assetsurl(t) {
1139
- this.$$set({ assetsurl: t }), J();
1140
- }
1141
- get lang() {
1142
- return this.$$.ctx[14];
1143
- }
1144
- set lang(t) {
1145
- this.$$set({ lang: t }), J();
1146
- }
1147
- get translationurl() {
1148
- return this.$$.ctx[15];
1149
- }
1150
- set translationurl(t) {
1151
- this.$$set({ translationurl: t }), J();
1152
- }
1153
- get endpoint() {
1154
- return this.$$.ctx[16];
1155
- }
1156
- set endpoint(t) {
1157
- this.$$set({ endpoint: t }), J();
1158
- }
1159
- get currency() {
1160
- return this.$$.ctx[17];
1161
- }
1162
- set currency(t) {
1163
- this.$$set({ currency: t }), J();
1164
- }
1165
- get customerid() {
1166
- return this.$$.ctx[18];
1167
- }
1168
- set customerid(t) {
1169
- this.$$set({ customerid: t }), J();
1170
- }
1171
- get selectedpaymentmethodname() {
1172
- return this.$$.ctx[19];
1173
- }
1174
- set selectedpaymentmethodname(t) {
1175
- this.$$set({ selectedpaymentmethodname: t }), J();
1176
- }
1177
- get mbsource() {
1178
- return this.$$.ctx[20];
1179
- }
1180
- set mbsource(t) {
1181
- this.$$set({ mbsource: t }), J();
1182
- }
1183
- }
1184
- Fn(bi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
1185
- export {
1186
- bi as default
1187
- };