@everymatrix/cashier-page 1.77.24 → 1.77.26
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-D9RhCULN.js → CashierCarousel-8hy7C-Hc.js} +970 -991
- package/components/CashierCarousel-CMHHOrjm.cjs +23 -0
- package/components/{CashierCarousel-C-jIotRi.js → CashierCarousel-CTAl631F.js} +1141 -1162
- package/components/{CashierError-DFUpmwPW.js → CashierError-B-mGufxN.js} +29 -29
- package/components/{CashierError-gMoSUhpw.js → CashierError-BpvGGYHk.js} +32 -32
- package/components/{CashierError-am916cR_.cjs → CashierError-DXU0vohJ.cjs} +1 -1
- package/components/{CashierHeader-Z4vR_fbH.js → CashierHeader-BbPVdDSy.js} +49 -49
- package/components/{CashierHeader-B3IckLiD.cjs → CashierHeader-Ch27ai33.cjs} +1 -1
- package/components/{CashierHeader-CK_NVBvX.js → CashierHeader-Dt53rt72.js} +50 -50
- package/components/{CashierIframeRedirect-CdQkuIPa.cjs → CashierIframeRedirect-C_lzvCiQ.cjs} +1 -1
- package/components/{CashierIframeRedirect-Cae_sEXq.js → CashierIframeRedirect-DDwa62_J.js} +32 -32
- package/components/{CashierIframeRedirect-Cs3dAZqE.js → CashierIframeRedirect-DFqk8jV8.js} +42 -42
- package/components/{CashierMethodDetails-khwdIxvu.js → CashierMethodDetails-BswSN85a.js} +522 -522
- package/components/{CashierMethodDetails-DWh8sNEJ.js → CashierMethodDetails-CGu0vT5f.js} +180 -180
- package/components/{CashierMethodDetails-f2nVnAEu.cjs → CashierMethodDetails-DEqy0Axp.cjs} +2 -2
- package/components/{CashierMethodsList-DXkNlgio.js → CashierMethodsList-D9pQQPn8.js} +39 -39
- package/components/{CashierMethodsList-DeCIPW3N.cjs → CashierMethodsList-DfTNLel1.cjs} +1 -1
- package/components/{CashierMethodsList-CZkxXZST.js → CashierMethodsList-wKjHJTnI.js} +38 -38
- package/components/{CashierModal-By3PyyVz.js → CashierModal-C4wQBswd.js} +36 -36
- package/components/{CashierModal-pKGYmx2d.js → CashierModal-DJYOMvm6.js} +37 -37
- package/components/{CashierModal-D2cxw8Kv.cjs → CashierModal-Nya61zKi.cjs} +1 -1
- package/components/{CashierNotifications-Cot8tKyV.js → CashierNotifications-CuIRG1fU.js} +33 -33
- package/components/{CashierNotifications-64xrf21d.js → CashierNotifications-D3DnlGgu.js} +34 -34
- package/components/{CashierNotifications-o1UTpxCw.cjs → CashierNotifications-U6wVwYzB.cjs} +1 -1
- package/components/{CashierPage-D537sTlX.js → CashierPage-BRGPiScz.js} +115 -115
- package/components/{CashierPage-CDVatUXZ.js → CashierPage-CeQNpD59.js} +138 -138
- package/components/{CashierPage-CJxWyfnl.cjs → CashierPage-Cntnp_3f.cjs} +1 -1
- package/components/{CashierReceiptPage-ZjlpnjxZ.js → CashierReceiptPage-BJ33QbnV.js} +85 -85
- package/components/{CashierReceiptPage-DJVOcSy_.js → CashierReceiptPage-ClJPgidb.js} +88 -88
- package/components/{CashierReceiptPage-vffilP0r.cjs → CashierReceiptPage-KWljug_9.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-BfRG-VY2.js → CashierSessionExpirationModal-BV2HUMWf.js} +59 -50
- package/components/{CashierSessionExpirationModal-BCfqE6Qk.js → CashierSessionExpirationModal-CvGVtyf5.js} +118 -109
- package/components/{CashierSessionExpirationModal-BgZuMP6W.cjs → CashierSessionExpirationModal-DITljBPL.cjs} +2 -2
- package/components/{CashierSpinner-fUvoz21a.js → CashierSpinner-BSlrvjni.js} +16 -16
- package/components/{CashierSpinner-CIpXwm9I.js → CashierSpinner-C175vtkA.js} +16 -16
- package/components/{CashierSpinner-DOCzNsD8.cjs → CashierSpinner-msj_XpO-.cjs} +1 -1
- package/components/{CashierTransactionHistory-C_77nNRF.cjs → CashierTransactionHistory-CfOZEGn-.cjs} +1 -1
- package/components/{CashierTransactionHistory-DLBclLcC.js → CashierTransactionHistory-Cv2FL_zi.js} +104 -104
- package/components/{CashierTransactionHistory-CHPwXvGA.js → CashierTransactionHistory-DFs4bnVj.js} +61 -61
- package/components/{CashierVerifications-B-e9bu7a.js → CashierVerifications-Bl-okfn_.js} +75 -75
- package/components/{CashierVerifications-D1I7kgbX.cjs → CashierVerifications-C7-keFiS.cjs} +1 -1
- package/components/{CashierVerifications-DAfJTpBE.js → CashierVerifications-DdisN2u9.js} +36 -36
- package/components/{TxnStatusIcon-C5YEVJGC.js → TxnStatusIcon-DLuaaRoA.js} +19 -19
- package/components/{TxnStatusIcon-Dx4SpBKR.cjs → TxnStatusIcon-Dfxg1kzJ.cjs} +1 -1
- package/components/{TxnStatusIcon-Cdbn57Qc.js → TxnStatusIcon-mzkkoROK.js} +19 -19
- package/components/{TxnTypeIcons-DaYTcY0u.js → TxnTypeIcons-CHAbo_FI.js} +14 -14
- package/components/{TxnTypeIcons-Dl8aWDV4.js → TxnTypeIcons-D3fc1OY6.js} +14 -14
- package/components/{TxnTypeIcons-D-p9WLvQ.cjs → TxnTypeIcons-DIvNxsdh.cjs} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-BD-QREJe.js +558 -0
- package/stencil/index-97d17652-DJqGt8q2.js +542 -0
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/index-b2193545-BhpttWPO.cjs +1 -0
- package/stencil/index-b2193545-DWKmtYUG.js +503 -0
- package/stencil/index-b2193545-Dfy4Cgny.js +519 -0
- package/stencil/{ui-image-BWJXFWH1.js → ui-image-4dZyD9yF.js} +1 -1
- package/stencil/{ui-image-DIEeZy5u.js → ui-image-6u7OR3Eo.js} +1 -1
- package/stencil/{ui-image-ByEXiBzx.cjs → ui-image-CER01gdl.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-_K8Pt3w9.js} +2 -2
- package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-BTr272EW.js} +2 -2
- package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-P4PO_42z.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ae35c6f2-BIdXBK8D.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-skeleton-ae35c6f2-C7WHUwAT.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CKgUXOQC.cjs → ui-skeleton-ae35c6f2-D-MGUxCy.cjs} +1 -1
- package/stencil/{ui-skeleton-_yJvAdAL.cjs → ui-skeleton-gIFE_2eg.cjs} +1 -1
- package/components/CashierCarousel-DXPbv83E.cjs +0 -23
- package/stencil/index-97d17652--F7PvMq9.js +0 -542
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
- package/stencil/index-97d17652-CCFHkzJw.js +0 -558
- package/stencil/index-b2193545-B8kMF2bI.cjs +0 -1
- package/stencil/index-b2193545-BoSqyMpB.js +0 -519
- package/stencil/index-b2193545-D4dOaNlR.js +0 -503
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as xn, i as Rn, $ as Ln, S as Mn, b as On,
|
|
2
|
-
import { f as Wt } from "./CashierModal-
|
|
3
|
-
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-
|
|
1
|
+
import { a as xn, i as Rn, $ as Ln, S as Mn, b as On, f as j, c as Nn, s as vn, d as Dn, y as un, k as me, t as le, o as fe, p as fn, q as pe, r as It, v as kn, a3 as In, w as Pn, x as Un, e as We, g as G, z as qe, h as De, j as T, M as Pt, l as C, a1 as Fn, B as Ut, A as Ze, u as Ye, m as je, n as Xe, C as mn, a2 as Ft, V as Hn, D as Ht, E as zn, F as zt, Z as Bt, I as Gt, H as Bn } from "./CashierCarousel-CTAl631F.js";
|
|
2
|
+
import { f as Wt } from "./CashierModal-C4wQBswd.js";
|
|
3
|
+
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-CGu0vT5f.js";
|
|
4
4
|
function Xt(n, t) {
|
|
5
5
|
xn(n, t);
|
|
6
6
|
}
|
|
@@ -138,11 +138,20 @@ var tn = /* @__PURE__ */ Object.freeze({
|
|
|
138
138
|
});
|
|
139
139
|
const ve = {
|
|
140
140
|
element: 1,
|
|
141
|
+
attribute: 2,
|
|
141
142
|
text: 3,
|
|
143
|
+
cdataSection: 4,
|
|
144
|
+
entityReference: 5,
|
|
145
|
+
// Deprecated
|
|
146
|
+
entityNode: 6,
|
|
142
147
|
// Deprecated
|
|
143
148
|
progressingInstruction: 7,
|
|
144
149
|
comment: 8,
|
|
145
|
-
document: 9
|
|
150
|
+
document: 9,
|
|
151
|
+
documentType: 10,
|
|
152
|
+
documentFragment: 11,
|
|
153
|
+
notation: 12
|
|
154
|
+
// Deprecated
|
|
146
155
|
}, ai = function() {
|
|
147
156
|
return typeof window == "undefined" ? null : window;
|
|
148
157
|
}, li = function(t, i) {
|
|
@@ -178,12 +187,12 @@ function _n() {
|
|
|
178
187
|
HTMLTemplateElement: h,
|
|
179
188
|
Node: D,
|
|
180
189
|
Element: k,
|
|
181
|
-
NodeFilter:
|
|
190
|
+
NodeFilter: w,
|
|
182
191
|
NamedNodeMap: x = n.NamedNodeMap || n.MozNamedAttrMap,
|
|
183
192
|
HTMLFormElement: de,
|
|
184
193
|
DOMParser: he,
|
|
185
194
|
trustedTypes: V
|
|
186
|
-
} = n,
|
|
195
|
+
} = n, b = k.prototype, R = Ne(b, "cloneNode"), O = Ne(b, "remove"), ce = Ne(b, "nextSibling"), H = Ne(b, "childNodes"), p = Ne(b, "parentNode");
|
|
187
196
|
if (typeof h == "function") {
|
|
188
197
|
const c = i.createElement("template");
|
|
189
198
|
c.content && c.content.ownerDocument && (i = c.content.ownerDocument);
|
|
@@ -211,9 +220,9 @@ function _n() {
|
|
|
211
220
|
} = tn;
|
|
212
221
|
let {
|
|
213
222
|
IS_ALLOWED_URI: ue
|
|
214
|
-
} = tn,
|
|
223
|
+
} = tn, A = null;
|
|
215
224
|
const ke = f({}, [...Kt, ...rt, ...at, ...lt, ...Qt]);
|
|
216
|
-
let
|
|
225
|
+
let y = null;
|
|
217
226
|
const Ie = f({}, [...$t, ...ct, ...en, ...Ge]);
|
|
218
227
|
let r = Object.seal(dn(null, {
|
|
219
228
|
tagNameCheck: {
|
|
@@ -236,24 +245,24 @@ function _n() {
|
|
|
236
245
|
}
|
|
237
246
|
})), E = null, ee = null, z = !0, Je = !0, mt = !1, pt = !0, Te = !1, Ke = !0, ge = !1, Qe = !1, $e = !1, Se = !1, Pe = !1, Ue = !1, dt = !0, ht = !1;
|
|
238
247
|
const En = "user-content-";
|
|
239
|
-
let et = !0, Ce = !1,
|
|
248
|
+
let et = !0, Ce = !1, be = {}, Ae = null;
|
|
240
249
|
const gt = f({}, ["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"]);
|
|
241
250
|
let _t = null;
|
|
242
251
|
const Et = f({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
243
252
|
let tt = null;
|
|
244
253
|
const Tt = f({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Fe = "http://www.w3.org/1998/Math/MathML", He = "http://www.w3.org/2000/svg", re = "http://www.w3.org/1999/xhtml";
|
|
245
|
-
let
|
|
254
|
+
let ye = re, nt = !1, it = null;
|
|
246
255
|
const Tn = f({}, [Fe, He, re], st);
|
|
247
256
|
let xe = null;
|
|
248
|
-
const Sn = ["application/xhtml+xml", "text/html"],
|
|
249
|
-
let M = null,
|
|
250
|
-
const
|
|
257
|
+
const Sn = ["application/xhtml+xml", "text/html"], bn = "text/html";
|
|
258
|
+
let M = null, we = null;
|
|
259
|
+
const An = i.createElement("form"), St = function(e) {
|
|
251
260
|
return e instanceof RegExp || e instanceof Function;
|
|
252
261
|
}, ot = function() {
|
|
253
262
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
254
|
-
if (!(
|
|
263
|
+
if (!(we && we === e)) {
|
|
255
264
|
if ((!e || typeof e != "object") && (e = {}), e = _e(e), xe = // eslint-disable-next-line unicorn/prefer-includes
|
|
256
|
-
Sn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ?
|
|
265
|
+
Sn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? bn : e.PARSER_MEDIA_TYPE, M = xe === "application/xhtml+xml" ? st : Ve, A = te(e, "ALLOWED_TAGS") ? f({}, e.ALLOWED_TAGS, M) : ke, y = te(e, "ALLOWED_ATTR") ? f({}, e.ALLOWED_ATTR, M) : Ie, it = te(e, "ALLOWED_NAMESPACES") ? f({}, e.ALLOWED_NAMESPACES, st) : Tn, tt = te(e, "ADD_URI_SAFE_ATTR") ? f(
|
|
257
266
|
_e(Tt),
|
|
258
267
|
// eslint-disable-line indent
|
|
259
268
|
e.ADD_URI_SAFE_ATTR,
|
|
@@ -267,7 +276,7 @@ function _n() {
|
|
|
267
276
|
// eslint-disable-line indent
|
|
268
277
|
M
|
|
269
278
|
// eslint-disable-line indent
|
|
270
|
-
) : Et,
|
|
279
|
+
) : Et, Ae = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, M) : gt, E = te(e, "FORBID_TAGS") ? f({}, e.FORBID_TAGS, M) : {}, ee = te(e, "FORBID_ATTR") ? f({}, e.FORBID_ATTR, M) : {}, be = te(e, "USE_PROFILES") ? e.USE_PROFILES : !1, z = e.ALLOW_ARIA_ATTR !== !1, Je = e.ALLOW_DATA_ATTR !== !1, mt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, pt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Te = e.SAFE_FOR_TEMPLATES || !1, Ke = e.SAFE_FOR_XML !== !1, ge = e.WHOLE_DOCUMENT || !1, Se = e.RETURN_DOM || !1, Pe = e.RETURN_DOM_FRAGMENT || !1, Ue = e.RETURN_TRUSTED_TYPE || !1, $e = e.FORCE_BODY || !1, dt = e.SANITIZE_DOM !== !1, ht = e.SANITIZE_NAMED_PROPS || !1, et = e.KEEP_CONTENT !== !1, Ce = e.IN_PLACE || !1, ue = e.ALLOWED_URI_REGEXP || hn, ye = e.NAMESPACE || re, r = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (r.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (r.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (r.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Te && (Je = !1), Pe && (Se = !0), be && (A = f({}, Qt), y = [], be.html === !0 && (f(A, Kt), f(y, $t)), be.svg === !0 && (f(A, rt), f(y, ct), f(y, Ge)), be.svgFilters === !0 && (f(A, at), f(y, ct), f(y, Ge)), be.mathMl === !0 && (f(A, lt), f(y, en), f(y, Ge))), e.ADD_TAGS && (A === ke && (A = _e(A)), f(A, e.ADD_TAGS, M)), e.ADD_ATTR && (y === Ie && (y = _e(y)), f(y, e.ADD_ATTR, M)), e.ADD_URI_SAFE_ATTR && f(tt, e.ADD_URI_SAFE_ATTR, M), e.FORBID_CONTENTS && (Ae === gt && (Ae = _e(Ae)), f(Ae, e.FORBID_CONTENTS, M)), et && (A["#text"] = !0), ge && f(A, ["html", "head", "body"]), A.table && (f(A, ["tbody"]), delete E.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
271
280
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
272
281
|
throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
273
282
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -275,16 +284,16 @@ function _n() {
|
|
|
275
284
|
m = e.TRUSTED_TYPES_POLICY, W = m.createHTML("");
|
|
276
285
|
} else
|
|
277
286
|
m === void 0 && (m = li(V, a)), m !== null && typeof W == "string" && (W = m.createHTML(""));
|
|
278
|
-
F && F(e),
|
|
287
|
+
F && F(e), we = e;
|
|
279
288
|
}
|
|
280
|
-
},
|
|
289
|
+
}, bt = f({}, ["mi", "mo", "mn", "ms", "mtext"]), At = f({}, ["foreignobject", "annotation-xml"]), yn = f({}, ["title", "style", "font", "a", "script"]), yt = f({}, [...rt, ...at, ...Kn]), wt = f({}, [...lt, ...Qn]), wn = function(e) {
|
|
281
290
|
let s = p(e);
|
|
282
291
|
(!s || !s.tagName) && (s = {
|
|
283
|
-
namespaceURI:
|
|
292
|
+
namespaceURI: ye,
|
|
284
293
|
tagName: "template"
|
|
285
294
|
});
|
|
286
295
|
const l = Ve(e.tagName), _ = Ve(s.tagName);
|
|
287
|
-
return it[e.namespaceURI] ? e.namespaceURI === He ? s.namespaceURI === re ? l === "svg" : s.namespaceURI === Fe ? l === "svg" && (_ === "annotation-xml" ||
|
|
296
|
+
return it[e.namespaceURI] ? e.namespaceURI === He ? s.namespaceURI === re ? l === "svg" : s.namespaceURI === Fe ? l === "svg" && (_ === "annotation-xml" || bt[_]) : !!yt[l] : e.namespaceURI === Fe ? s.namespaceURI === re ? l === "math" : s.namespaceURI === He ? l === "math" && At[_] : !!wt[l] : e.namespaceURI === re ? s.namespaceURI === He && !At[_] || s.namespaceURI === Fe && !bt[_] ? !1 : !wt[l] && (yn[l] || !yt[l]) : !!(xe === "application/xhtml+xml" && it[e.namespaceURI]) : !1;
|
|
288
297
|
}, ne = function(e) {
|
|
289
298
|
Le(t.removed, {
|
|
290
299
|
element: e
|
|
@@ -306,7 +315,7 @@ function _n() {
|
|
|
306
315
|
from: s
|
|
307
316
|
});
|
|
308
317
|
}
|
|
309
|
-
if (s.removeAttribute(e), e === "is" && !
|
|
318
|
+
if (s.removeAttribute(e), e === "is" && !y[e])
|
|
310
319
|
if (Se || Pe)
|
|
311
320
|
try {
|
|
312
321
|
ne(s);
|
|
@@ -325,28 +334,28 @@ function _n() {
|
|
|
325
334
|
const v = Jt(e, /^[\r\n\t ]+/);
|
|
326
335
|
l = v && v[0];
|
|
327
336
|
}
|
|
328
|
-
xe === "application/xhtml+xml" &&
|
|
337
|
+
xe === "application/xhtml+xml" && ye === re && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
329
338
|
const _ = m ? m.createHTML(e) : e;
|
|
330
|
-
if (
|
|
339
|
+
if (ye === re)
|
|
331
340
|
try {
|
|
332
341
|
s = new he().parseFromString(_, xe);
|
|
333
342
|
} catch (v) {
|
|
334
343
|
}
|
|
335
344
|
if (!s || !s.documentElement) {
|
|
336
|
-
s = q.createDocument(
|
|
345
|
+
s = q.createDocument(ye, "template", null);
|
|
337
346
|
try {
|
|
338
347
|
s.documentElement.innerHTML = nt ? W : _;
|
|
339
348
|
} catch (v) {
|
|
340
349
|
}
|
|
341
350
|
}
|
|
342
351
|
const I = s.body || s.documentElement;
|
|
343
|
-
return e && l && I.insertBefore(i.createTextNode(l), I.childNodes[0] || null),
|
|
352
|
+
return e && l && I.insertBefore(i.createTextNode(l), I.childNodes[0] || null), ye === re ? Q.call(s, ge ? "html" : "body")[0] : ge ? s.documentElement : I;
|
|
344
353
|
}, xt = function(e) {
|
|
345
354
|
return Z.call(
|
|
346
355
|
e.ownerDocument || e,
|
|
347
356
|
e,
|
|
348
357
|
// eslint-disable-next-line no-bitwise
|
|
349
|
-
|
|
358
|
+
w.SHOW_ELEMENT | w.SHOW_COMMENT | w.SHOW_TEXT | w.SHOW_PROCESSING_INSTRUCTION | w.SHOW_CDATA_SECTION,
|
|
350
359
|
null
|
|
351
360
|
);
|
|
352
361
|
}, Rt = function(e) {
|
|
@@ -355,7 +364,7 @@ function _n() {
|
|
|
355
364
|
return typeof D == "function" && e instanceof D;
|
|
356
365
|
}, ae = function(e, s, l) {
|
|
357
366
|
g[e] && Be(g[e], (_) => {
|
|
358
|
-
_.call(t, s, l,
|
|
367
|
+
_.call(t, s, l, we);
|
|
359
368
|
});
|
|
360
369
|
}, Mt = function(e) {
|
|
361
370
|
let s = null;
|
|
@@ -364,13 +373,13 @@ function _n() {
|
|
|
364
373
|
const l = M(e.nodeName);
|
|
365
374
|
if (ae("uponSanitizeElement", e, {
|
|
366
375
|
tagName: l,
|
|
367
|
-
allowedTags:
|
|
376
|
+
allowedTags: A
|
|
368
377
|
}), e.hasChildNodes() && !Lt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === ve.progressingInstruction || Ke && e.nodeType === ve.comment && U(/<[/\w]/g, e.data))
|
|
369
378
|
return ne(e), !0;
|
|
370
|
-
if (!
|
|
379
|
+
if (!A[l] || E[l]) {
|
|
371
380
|
if (!E[l] && Nt(l) && (r.tagNameCheck instanceof RegExp && U(r.tagNameCheck, l) || r.tagNameCheck instanceof Function && r.tagNameCheck(l)))
|
|
372
381
|
return !1;
|
|
373
|
-
if (et && !
|
|
382
|
+
if (et && !Ae[l]) {
|
|
374
383
|
const _ = p(e) || e.parentNode, I = H(e) || e.childNodes;
|
|
375
384
|
if (I && _) {
|
|
376
385
|
const v = I.length;
|
|
@@ -382,17 +391,17 @@ function _n() {
|
|
|
382
391
|
}
|
|
383
392
|
return ne(e), !0;
|
|
384
393
|
}
|
|
385
|
-
return e instanceof k && !
|
|
394
|
+
return e instanceof k && !wn(e) || (l === "noscript" || l === "noembed" || l === "noframes") && U(/<\/no(script|embed|frames)/i, e.innerHTML) ? (ne(e), !0) : (Te && e.nodeType === ve.text && (s = e.textContent, Be([Y, $, N], (_) => {
|
|
386
395
|
s = Me(s, _, " ");
|
|
387
396
|
}), e.textContent !== s && (Le(t.removed, {
|
|
388
397
|
element: e.cloneNode()
|
|
389
398
|
}), e.textContent = s)), ae("afterSanitizeElements", e, null), !1);
|
|
390
399
|
}, Ot = function(e, s, l) {
|
|
391
|
-
if (dt && (s === "id" || s === "name") && (l in i || l in
|
|
400
|
+
if (dt && (s === "id" || s === "name") && (l in i || l in An))
|
|
392
401
|
return !1;
|
|
393
402
|
if (!(Je && !ee[s] && U(Ee, s))) {
|
|
394
403
|
if (!(z && U(J, s))) {
|
|
395
|
-
if (!
|
|
404
|
+
if (!y[s] || ee[s]) {
|
|
396
405
|
if (
|
|
397
406
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
398
407
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
@@ -428,7 +437,7 @@ function _n() {
|
|
|
428
437
|
attrName: "",
|
|
429
438
|
attrValue: "",
|
|
430
439
|
keepAttr: !0,
|
|
431
|
-
allowedAttributes:
|
|
440
|
+
allowedAttributes: y
|
|
432
441
|
};
|
|
433
442
|
let _ = s.length;
|
|
434
443
|
for (; _--; ) {
|
|
@@ -491,7 +500,7 @@ function _n() {
|
|
|
491
500
|
if (Qe || ot(e), t.removed = [], typeof c == "string" && (Ce = !1), Ce) {
|
|
492
501
|
if (c.nodeName) {
|
|
493
502
|
const ie = M(c.nodeName);
|
|
494
|
-
if (!
|
|
503
|
+
if (!A[ie] || E[ie])
|
|
495
504
|
throw Oe("root node is forbidden and cannot be sanitized in-place");
|
|
496
505
|
}
|
|
497
506
|
} else if (c instanceof D)
|
|
@@ -515,10 +524,10 @@ function _n() {
|
|
|
515
524
|
I.appendChild(s.firstChild);
|
|
516
525
|
else
|
|
517
526
|
I = s;
|
|
518
|
-
return (
|
|
527
|
+
return (y.shadowroot || y.shadowrootmode) && (I = oe.call(o, I, !0)), I;
|
|
519
528
|
}
|
|
520
529
|
let B = ge ? s.outerHTML : s.innerHTML;
|
|
521
|
-
return ge &&
|
|
530
|
+
return ge && A["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && U(gn, s.ownerDocument.doctype.name) && (B = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
|
|
522
531
|
` + B), Te && Be([Y, $, N], (ie) => {
|
|
523
532
|
B = Me(B, ie, " ");
|
|
524
533
|
}), m && Ue ? m.createHTML(B) : B;
|
|
@@ -526,9 +535,9 @@ function _n() {
|
|
|
526
535
|
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
527
536
|
ot(c), Qe = !0;
|
|
528
537
|
}, t.clearConfig = function() {
|
|
529
|
-
|
|
538
|
+
we = null, Qe = !1;
|
|
530
539
|
}, t.isValidAttribute = function(c, e, s) {
|
|
531
|
-
|
|
540
|
+
we || ot({});
|
|
532
541
|
const l = M(c), _ = M(e);
|
|
533
542
|
return Ot(l, _, s);
|
|
534
543
|
}, t.addHook = function(c, e) {
|
|
@@ -544,14 +553,14 @@ function _n() {
|
|
|
544
553
|
}
|
|
545
554
|
var nn = _n();
|
|
546
555
|
function ci(n) {
|
|
547
|
-
|
|
556
|
+
Dn(n, "svelte-878602", "*,*::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:15;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.2));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);width:400px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;height:var(--emw--header-height, 40px);background-color:var(--emw--color-gray-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0}.CashierSessionExpirationModalHeaderTitle{display:flex;text-align:center;color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis;line-height:calc(var(--emw--font-size-medium, 16px) + 2px)}.CashierSessionExpirationModalContainer{padding:var(--emw--spacing-large, 20px)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--emw--spacing-large, 20px)}.CashierSessionExpiration button{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #3854FF)}.CashierSessionExpirationTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierSessionExpirationText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #3854FF)}.CashierErrorButton:hover{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:disabled{filter:saturate(50%);opacity:0.5;cursor:auto;pointer-events:none}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}");
|
|
548
557
|
}
|
|
549
558
|
const ui = (n) => ({}), on = (n) => ({}), fi = (n) => ({}), sn = (n) => ({}), mi = (n) => ({}), rn = (n) => ({}), pi = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
|
|
550
559
|
function ln(n) {
|
|
551
560
|
let t, i, o, a, u, h = (
|
|
552
561
|
/*$_*/
|
|
553
562
|
n[8]("sessionExpirationHeader") + ""
|
|
554
|
-
), D, k,
|
|
563
|
+
), D, k, w, x, de, he, V, b, R, O, ce, H, p, m, W;
|
|
555
564
|
const q = (
|
|
556
565
|
/*#slots*/
|
|
557
566
|
n[22].icon
|
|
@@ -588,25 +597,25 @@ function ln(n) {
|
|
|
588
597
|
}
|
|
589
598
|
return R = se(n), O = J[R] = Ee[R](n), {
|
|
590
599
|
c() {
|
|
591
|
-
t = G("div"), i = G("div"), o = G("div"), a = G("div"), u = G("div"), D =
|
|
592
|
-
n[6], T(
|
|
600
|
+
t = G("div"), i = G("div"), o = G("div"), a = G("div"), u = G("div"), D = qe(h), k = De(), w = G("div"), x = G("div"), L && L.c(), de = De(), g && g.c(), he = De(), N && N.c(), V = De(), b = G("button"), O.c(), T(u, "class", "CashierSessionExpirationModalHeaderTitle"), T(a, "class", "CashierSessionExpirationModalHeader"), T(b, "type", "button"), b.disabled = /*showLoaderButton*/
|
|
601
|
+
n[6], T(b, "class", "CashierSessionExpirationButton"), T(x, "class", "CashierSessionExpiration"), T(w, "class", "CashierSessionExpirationModalContainer"), T(o, "class", "CashierSessionExpirationModalWrapper"), T(i, "class", "CashierSessionExpirationModalWindow"), T(i, "id", "CashierSessionExpirationModal"), Pt(() => (
|
|
593
602
|
/*div5_elementresize_handler*/
|
|
594
603
|
n[24].call(i)
|
|
595
604
|
));
|
|
596
605
|
},
|
|
597
606
|
m(d, S) {
|
|
598
|
-
|
|
607
|
+
me(d, t, S), C(t, i), C(i, o), C(o, a), C(a, u), C(u, D), C(o, k), C(o, w), C(w, x), L && L.m(x, null), C(x, de), g && g.m(x, null), C(x, he), N && N.m(x, null), C(x, V), C(x, b), J[R].m(b, null), n[23](x), ce = Fn(
|
|
599
608
|
i,
|
|
600
609
|
/*div5_elementresize_handler*/
|
|
601
610
|
n[24].bind(i)
|
|
602
611
|
), n[25](t), p = !0, m || (W = [
|
|
603
|
-
|
|
604
|
-
|
|
612
|
+
Ut(
|
|
613
|
+
b,
|
|
605
614
|
"click",
|
|
606
615
|
/*renewSession*/
|
|
607
616
|
n[9]
|
|
608
617
|
),
|
|
609
|
-
|
|
618
|
+
Ut(
|
|
610
619
|
i,
|
|
611
620
|
"click",
|
|
612
621
|
/*outOfModalClick*/
|
|
@@ -617,7 +626,7 @@ function ln(n) {
|
|
|
617
626
|
p(d, S) {
|
|
618
627
|
n = d, (!p || S[0] & /*$_*/
|
|
619
628
|
256) && h !== (h = /*$_*/
|
|
620
|
-
n[8]("sessionExpirationHeader") + "") &&
|
|
629
|
+
n[8]("sessionExpirationHeader") + "") && Ze(D, h), Z ? Z.p && (!p || S[0] & /*$$scope*/
|
|
621
630
|
2097152) && Ye(
|
|
622
631
|
Z,
|
|
623
632
|
q,
|
|
@@ -676,28 +685,28 @@ function ln(n) {
|
|
|
676
685
|
) : N && N.p && (!p || S[0] & /*$_, timeLeft*/
|
|
677
686
|
384) && N.p(n, p ? S : [-1, -1]);
|
|
678
687
|
let ue = R;
|
|
679
|
-
R = se(n), R === ue ? J[R].p(n, S) : (
|
|
688
|
+
R = se(n), R === ue ? J[R].p(n, S) : (mn(), fe(J[ue], 1, 1, () => {
|
|
680
689
|
J[ue] = null;
|
|
681
|
-
}), fn(), O = J[R], O ? O.p(n, S) : (O = J[R] = Ee[R](n), O.c()), le(O, 1), O.m(
|
|
682
|
-
64) && (
|
|
690
|
+
}), fn(), O = J[R], O ? O.p(n, S) : (O = J[R] = Ee[R](n), O.c()), le(O, 1), O.m(b, null)), (!p || S[0] & /*showLoaderButton*/
|
|
691
|
+
64) && (b.disabled = /*showLoaderButton*/
|
|
683
692
|
n[6]);
|
|
684
693
|
},
|
|
685
694
|
i(d) {
|
|
686
|
-
p || (le(L, d), le(g, d), le(N, d), le(O), d &&
|
|
687
|
-
p && (H || (H =
|
|
695
|
+
p || (le(L, d), le(g, d), le(N, d), le(O), d && Pt(() => {
|
|
696
|
+
p && (H || (H = Ft(i, Wt, { duration: (
|
|
688
697
|
/*duration*/
|
|
689
698
|
n[2]
|
|
690
699
|
) }, !0)), H.run(1));
|
|
691
700
|
}), p = !0);
|
|
692
701
|
},
|
|
693
702
|
o(d) {
|
|
694
|
-
fe(L, d), fe(g, d), fe(N, d), fe(O), d && (H || (H =
|
|
703
|
+
fe(L, d), fe(g, d), fe(N, d), fe(O), d && (H || (H = Ft(i, Wt, { duration: (
|
|
695
704
|
/*duration*/
|
|
696
705
|
n[2]
|
|
697
706
|
) }, !1)), H.run(0)), p = !1;
|
|
698
707
|
},
|
|
699
708
|
d(d) {
|
|
700
|
-
d &&
|
|
709
|
+
d && pe(t), L && L.d(d), g && g.d(d), N && N.d(d), J[R].d(), n[23](null), ce(), d && H && H.end(), n[25](null), m = !1, Hn(W);
|
|
701
710
|
}
|
|
702
711
|
};
|
|
703
712
|
}
|
|
@@ -705,19 +714,19 @@ function cn(n) {
|
|
|
705
714
|
let t, i;
|
|
706
715
|
return {
|
|
707
716
|
c() {
|
|
708
|
-
t = G("img"),
|
|
717
|
+
t = G("img"), zt(t.src, i = `${/*assetsurl*/
|
|
709
718
|
n[3]}/set-timeout-icon.png`) || T(t, "src", i), T(t, "width", "300px"), T(t, "alt", "error");
|
|
710
719
|
},
|
|
711
720
|
m(o, a) {
|
|
712
|
-
|
|
721
|
+
me(o, t, a);
|
|
713
722
|
},
|
|
714
723
|
p(o, a) {
|
|
715
724
|
a[0] & /*assetsurl*/
|
|
716
|
-
8 && !
|
|
725
|
+
8 && !zt(t.src, i = `${/*assetsurl*/
|
|
717
726
|
o[3]}/set-timeout-icon.png`) && T(t, "src", i);
|
|
718
727
|
},
|
|
719
728
|
d(o) {
|
|
720
|
-
o &&
|
|
729
|
+
o && pe(t);
|
|
721
730
|
}
|
|
722
731
|
};
|
|
723
732
|
}
|
|
@@ -728,17 +737,17 @@ function di(n) {
|
|
|
728
737
|
);
|
|
729
738
|
return {
|
|
730
739
|
c() {
|
|
731
|
-
i && i.c(), t =
|
|
740
|
+
i && i.c(), t = un();
|
|
732
741
|
},
|
|
733
742
|
m(o, a) {
|
|
734
|
-
i && i.m(o, a),
|
|
743
|
+
i && i.m(o, a), me(o, t, a);
|
|
735
744
|
},
|
|
736
745
|
p(o, a) {
|
|
737
746
|
/*assetsurl*/
|
|
738
747
|
o[3] ? i ? i.p(o, a) : (i = cn(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null);
|
|
739
748
|
},
|
|
740
749
|
d(o) {
|
|
741
|
-
o &&
|
|
750
|
+
o && pe(t), i && i.d(o);
|
|
742
751
|
}
|
|
743
752
|
};
|
|
744
753
|
}
|
|
@@ -749,18 +758,18 @@ function hi(n) {
|
|
|
749
758
|
), o;
|
|
750
759
|
return {
|
|
751
760
|
c() {
|
|
752
|
-
t = G("span"), o =
|
|
761
|
+
t = G("span"), o = qe(i), T(t, "class", "CashierSessionExpirationTitle");
|
|
753
762
|
},
|
|
754
763
|
m(a, u) {
|
|
755
|
-
|
|
764
|
+
me(a, t, u), C(t, o);
|
|
756
765
|
},
|
|
757
766
|
p(a, u) {
|
|
758
767
|
u[0] & /*$_*/
|
|
759
768
|
256 && i !== (i = /*$_*/
|
|
760
|
-
a[8]("sessionExpirationTitle") + "") &&
|
|
769
|
+
a[8]("sessionExpirationTitle") + "") && Ze(o, i);
|
|
761
770
|
},
|
|
762
771
|
d(a) {
|
|
763
|
-
a &&
|
|
772
|
+
a && pe(t);
|
|
764
773
|
}
|
|
765
774
|
};
|
|
766
775
|
}
|
|
@@ -777,7 +786,7 @@ function gi(n) {
|
|
|
777
786
|
t = G("span"), T(t, "class", "CashierSessionExpirationText");
|
|
778
787
|
},
|
|
779
788
|
m(o, a) {
|
|
780
|
-
|
|
789
|
+
me(o, t, a), t.innerHTML = i;
|
|
781
790
|
},
|
|
782
791
|
p(o, a) {
|
|
783
792
|
a[0] & /*$_, timeLeft*/
|
|
@@ -790,7 +799,7 @@ function gi(n) {
|
|
|
790
799
|
) + "") && (t.innerHTML = i);
|
|
791
800
|
},
|
|
792
801
|
d(o) {
|
|
793
|
-
o &&
|
|
802
|
+
o && pe(t);
|
|
794
803
|
}
|
|
795
804
|
};
|
|
796
805
|
}
|
|
@@ -853,20 +862,20 @@ function Ei(n) {
|
|
|
853
862
|
), D;
|
|
854
863
|
return {
|
|
855
864
|
c() {
|
|
856
|
-
t = G("div"), i = Bt("svg"), o = Bt("path"), a = De(), u = G("span"), D =
|
|
865
|
+
t = G("div"), i = Bt("svg"), o = Bt("path"), a = De(), u = G("span"), D = qe(h), T(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"), T(o, "fill", "white"), T(i, "class", "CashierSessionExpirationButtonSpinner"), T(i, "xmlns", "http://www.w3.org/2000/svg"), T(i, "width", "15"), T(i, "height", "14"), T(i, "viewBox", "0 0 15 14"), T(i, "fill", "none"), T(u, "class", "CashierSessionExpirationButtonText");
|
|
857
866
|
},
|
|
858
|
-
m(k,
|
|
859
|
-
|
|
867
|
+
m(k, w) {
|
|
868
|
+
me(k, t, w), C(t, i), C(i, o), C(t, a), C(t, u), C(u, D);
|
|
860
869
|
},
|
|
861
|
-
p(k,
|
|
862
|
-
|
|
870
|
+
p(k, w) {
|
|
871
|
+
w[0] & /*$_*/
|
|
863
872
|
256 && h !== (h = /*$_*/
|
|
864
|
-
k[8]("sessionExpirationLoadingButton") + "") &&
|
|
873
|
+
k[8]("sessionExpirationLoadingButton") + "") && Ze(D, h);
|
|
865
874
|
},
|
|
866
|
-
i:
|
|
867
|
-
o:
|
|
875
|
+
i: Gt,
|
|
876
|
+
o: Gt,
|
|
868
877
|
d(k) {
|
|
869
|
-
k &&
|
|
878
|
+
k && pe(t);
|
|
870
879
|
}
|
|
871
880
|
};
|
|
872
881
|
}
|
|
@@ -877,18 +886,18 @@ function Ti(n) {
|
|
|
877
886
|
), o;
|
|
878
887
|
return {
|
|
879
888
|
c() {
|
|
880
|
-
t = G("span"), o =
|
|
889
|
+
t = G("span"), o = qe(i), T(t, "class", "CashierSessionExpirationButtonText");
|
|
881
890
|
},
|
|
882
891
|
m(a, u) {
|
|
883
|
-
|
|
892
|
+
me(a, t, u), C(t, o);
|
|
884
893
|
},
|
|
885
894
|
p(a, u) {
|
|
886
895
|
u[0] & /*$_*/
|
|
887
896
|
256 && i !== (i = /*$_*/
|
|
888
|
-
a[8]("sessionExpirationGeneralButton") + "") &&
|
|
897
|
+
a[8]("sessionExpirationGeneralButton") + "") && Ze(o, i);
|
|
889
898
|
},
|
|
890
899
|
d(a) {
|
|
891
|
-
a &&
|
|
900
|
+
a && pe(t);
|
|
892
901
|
}
|
|
893
902
|
};
|
|
894
903
|
}
|
|
@@ -899,15 +908,15 @@ function Si(n) {
|
|
|
899
908
|
);
|
|
900
909
|
return {
|
|
901
910
|
c() {
|
|
902
|
-
o && o.c(), t =
|
|
911
|
+
o && o.c(), t = un();
|
|
903
912
|
},
|
|
904
913
|
m(a, u) {
|
|
905
|
-
o && o.m(a, u),
|
|
914
|
+
o && o.m(a, u), me(a, t, u), i = !0;
|
|
906
915
|
},
|
|
907
916
|
p(a, u) {
|
|
908
917
|
/*show*/
|
|
909
918
|
a[5] ? o ? (o.p(a, u), u[0] & /*show*/
|
|
910
|
-
32 && le(o, 1)) : (o = ln(a), o.c(), le(o, 1), o.m(t.parentNode, t)) : o && (
|
|
919
|
+
32 && le(o, 1)) : (o = ln(a), o.c(), le(o, 1), o.m(t.parentNode, t)) : o && (mn(), fe(o, 1, 1, () => {
|
|
911
920
|
o = null;
|
|
912
921
|
}), fn());
|
|
913
922
|
},
|
|
@@ -918,17 +927,17 @@ function Si(n) {
|
|
|
918
927
|
fe(o), i = !1;
|
|
919
928
|
},
|
|
920
929
|
d(a) {
|
|
921
|
-
a &&
|
|
930
|
+
a && pe(t), o && o.d(a);
|
|
922
931
|
}
|
|
923
932
|
};
|
|
924
933
|
}
|
|
925
|
-
const
|
|
926
|
-
function
|
|
934
|
+
const bi = 90;
|
|
935
|
+
function Ai(n, t, i) {
|
|
927
936
|
let o, a;
|
|
928
937
|
It(n, jt, (r) => i(20, o = r)), It(n, Bn, (r) => i(8, a = r));
|
|
929
938
|
let { $$slots: u = {}, $$scope: h } = t;
|
|
930
939
|
Yt.extend(Gn);
|
|
931
|
-
let { clientstyling: D = "" } = t, { clientstylingurl: k = "" } = t, { width:
|
|
940
|
+
let { clientstyling: D = "" } = t, { clientstylingurl: k = "" } = t, { width: w } = t, { height: x } = t, { duration: de = 200 } = t, { assetsurl: he = "" } = t, { lang: V = "en" } = t, { translationurl: b = "" } = t, { endpoint: R } = t, { currency: O } = t, { customerid: ce } = t, { selectedpaymentmethodname: H } = t, { mbsource: p = "" } = t, m, W = !1, q = !1, Z, L, Q, oe, g;
|
|
932
941
|
var Y;
|
|
933
942
|
(function(r) {
|
|
934
943
|
r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
|
|
@@ -955,7 +964,7 @@ function bi(n, t, i) {
|
|
|
955
964
|
E && (L = E == null ? void 0 : E.exp, i(7, Z = L), Q && clearInterval(Q), Q = setInterval(
|
|
956
965
|
() => {
|
|
957
966
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
958
|
-
i(7, Z = L - ee), Z <=
|
|
967
|
+
i(7, Z = L - ee), Z <= bi && i(5, W = !0), ee >= L && (se(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
959
968
|
},
|
|
960
969
|
1e3
|
|
961
970
|
));
|
|
@@ -1001,7 +1010,7 @@ function bi(n, t, i) {
|
|
|
1001
1010
|
const E = r.currentTarget;
|
|
1002
1011
|
r.target === E && d();
|
|
1003
1012
|
}, ue = () => {
|
|
1004
|
-
fetch(
|
|
1013
|
+
fetch(b).then((E) => E.json()).then((E) => {
|
|
1005
1014
|
Object.keys(E).forEach((ee) => {
|
|
1006
1015
|
Xt(ee, E[ee]);
|
|
1007
1016
|
});
|
|
@@ -1012,12 +1021,12 @@ function bi(n, t, i) {
|
|
|
1012
1021
|
Object.keys(Vt).forEach((r) => {
|
|
1013
1022
|
Xt(r, Vt[r]);
|
|
1014
1023
|
});
|
|
1015
|
-
const
|
|
1024
|
+
const A = () => {
|
|
1016
1025
|
Wn(V);
|
|
1017
1026
|
};
|
|
1018
|
-
|
|
1027
|
+
kn(() => (window.addEventListener("message", $, !1), () => {
|
|
1019
1028
|
window.removeEventListener("message", $);
|
|
1020
|
-
})),
|
|
1029
|
+
})), In(() => {
|
|
1021
1030
|
clearInterval(Q);
|
|
1022
1031
|
});
|
|
1023
1032
|
function ke(r) {
|
|
@@ -1025,8 +1034,8 @@ function bi(n, t, i) {
|
|
|
1025
1034
|
m = r, i(4, m);
|
|
1026
1035
|
});
|
|
1027
1036
|
}
|
|
1028
|
-
function
|
|
1029
|
-
|
|
1037
|
+
function y() {
|
|
1038
|
+
w = this.clientWidth, x = this.clientHeight, i(0, w), i(1, x);
|
|
1030
1039
|
}
|
|
1031
1040
|
function Ie(r) {
|
|
1032
1041
|
Ht[r ? "unshift" : "push"](() => {
|
|
@@ -1034,17 +1043,17 @@ function bi(n, t, i) {
|
|
|
1034
1043
|
});
|
|
1035
1044
|
}
|
|
1036
1045
|
return n.$$set = (r) => {
|
|
1037
|
-
"clientstyling" in r && i(11, D = r.clientstyling), "clientstylingurl" in r && i(12, k = r.clientstylingurl), "width" in r && i(0,
|
|
1046
|
+
"clientstyling" in r && i(11, D = r.clientstyling), "clientstylingurl" in r && i(12, k = r.clientstylingurl), "width" in r && i(0, w = r.width), "height" in r && i(1, x = r.height), "duration" in r && i(2, de = r.duration), "assetsurl" in r && i(3, he = r.assetsurl), "lang" in r && i(13, V = r.lang), "translationurl" in r && i(14, b = r.translationurl), "endpoint" in r && i(15, R = r.endpoint), "currency" in r && i(16, O = r.currency), "customerid" in r && i(17, ce = r.customerid), "selectedpaymentmethodname" in r && i(18, H = r.selectedpaymentmethodname), "mbsource" in r && i(19, p = r.mbsource), "$$scope" in r && i(21, h = r.$$scope);
|
|
1038
1047
|
}, n.$$.update = () => {
|
|
1039
1048
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1040
1049
|
1048576 && J(o), n.$$.dirty[0] & /*lang*/
|
|
1041
|
-
8192 && V &&
|
|
1042
|
-
2064 && D && m &&
|
|
1043
|
-
4112 && k && m &&
|
|
1044
|
-
524304 && p && m &&
|
|
1045
|
-
16384 &&
|
|
1050
|
+
8192 && V && A(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1051
|
+
2064 && D && m && zn(m, D), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1052
|
+
4112 && k && m && Pn(m, k), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1053
|
+
524304 && p && m && Un(m, `${p}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
1054
|
+
16384 && b && ue();
|
|
1046
1055
|
}, [
|
|
1047
|
-
|
|
1056
|
+
w,
|
|
1048
1057
|
x,
|
|
1049
1058
|
de,
|
|
1050
1059
|
he,
|
|
@@ -1058,7 +1067,7 @@ function bi(n, t, i) {
|
|
|
1058
1067
|
D,
|
|
1059
1068
|
k,
|
|
1060
1069
|
V,
|
|
1061
|
-
|
|
1070
|
+
b,
|
|
1062
1071
|
R,
|
|
1063
1072
|
O,
|
|
1064
1073
|
ce,
|
|
@@ -1068,18 +1077,18 @@ function bi(n, t, i) {
|
|
|
1068
1077
|
h,
|
|
1069
1078
|
u,
|
|
1070
1079
|
ke,
|
|
1071
|
-
|
|
1080
|
+
y,
|
|
1072
1081
|
Ie
|
|
1073
1082
|
];
|
|
1074
1083
|
}
|
|
1075
|
-
class
|
|
1084
|
+
class yi extends Mn {
|
|
1076
1085
|
constructor(t) {
|
|
1077
1086
|
super(), On(
|
|
1078
1087
|
this,
|
|
1079
1088
|
t,
|
|
1080
|
-
|
|
1089
|
+
Ai,
|
|
1081
1090
|
Si,
|
|
1082
|
-
|
|
1091
|
+
vn,
|
|
1083
1092
|
{
|
|
1084
1093
|
clientstyling: 11,
|
|
1085
1094
|
clientstylingurl: 12,
|
|
@@ -1178,7 +1187,7 @@ class wi extends Mn {
|
|
|
1178
1187
|
this.$$set({ mbsource: t }), j();
|
|
1179
1188
|
}
|
|
1180
1189
|
}
|
|
1181
|
-
|
|
1190
|
+
Nn(yi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1182
1191
|
export {
|
|
1183
|
-
|
|
1192
|
+
yi as default
|
|
1184
1193
|
};
|