@everymatrix/cashier-page 1.86.3 → 1.86.5
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-BhLbwlL5.js → CashierCarousel-BNKjZ4dF.js} +1165 -1144
- package/components/CashierCarousel-CecQbbdW.cjs +23 -0
- package/components/{CashierCarousel-Bwhda3Gl.js → CashierCarousel-D8MiOwuE.js} +1332 -1311
- package/components/{CashierError-CXwvUOLy.js → CashierError-7qg__v0Z.js} +40 -40
- package/components/{CashierError-D4Au4WNB.cjs → CashierError-BorUJmCn.cjs} +1 -1
- package/components/{CashierError-CXcO-Kju.js → CashierError-DZSJKCbW.js} +40 -40
- package/components/{CashierHeader-CmAjJv-w.cjs → CashierHeader-B3b8zbwP.cjs} +1 -1
- package/components/{CashierHeader-DRj1BUdj.js → CashierHeader-B9Y-DaUB.js} +56 -56
- package/components/{CashierHeader-BgAqvq1Q.js → CashierHeader-CzpZDjFX.js} +60 -60
- package/components/{CashierIframeRedirect-DmvuwOL2.js → CashierIframeRedirect-B_A79AFN.js} +24 -24
- package/components/{CashierIframeRedirect-Ddt7NW02.cjs → CashierIframeRedirect-YYamzRsf.cjs} +1 -1
- package/components/{CashierIframeRedirect-B76kjw0o.js → CashierIframeRedirect-aTaiu0hG.js} +24 -24
- package/components/{CashierMethodDetails-BX_W3rwH.js → CashierMethodDetails-Bxh5WhVb.js} +151 -151
- package/components/{CashierMethodDetails-i7grZPp4.js → CashierMethodDetails-BzVSr2on.js} +305 -305
- package/components/{CashierMethodDetails-DmvyMFjk.cjs → CashierMethodDetails-C1kjc4-Q.cjs} +2 -2
- package/components/{CashierMethodsList-B6tMxcnh.js → CashierMethodsList-CBnuQYXc.js} +48 -48
- package/components/{CashierMethodsList-DSq72RRw.js → CashierMethodsList-CLQK5Xcn.js} +80 -80
- package/components/{CashierMethodsList-LHoZgwVR.cjs → CashierMethodsList-D9ypDDJW.cjs} +1 -1
- package/components/{CashierModal-CTYxaPKG.js → CashierModal-BE9c03E8.js} +56 -56
- package/components/{CashierModal-C845c3D0.cjs → CashierModal-Diij1t-w.cjs} +1 -1
- package/components/{CashierModal-ndVMjksn.js → CashierModal-R6fQk7sI.js} +69 -69
- package/components/{CashierNotifications-Bp4KJnpm.js → CashierNotifications-5EjGguMj.js} +34 -34
- package/components/{CashierNotifications-tfTPEiSk.cjs → CashierNotifications-kuNLTOB3.cjs} +1 -1
- package/components/{CashierNotifications-JNstA5Yb.js → CashierNotifications-mhDeZtGd.js} +34 -34
- package/components/{CashierPage-Bd71Nhaq.js → CashierPage-BREFnfc1.js} +89 -89
- package/components/{CashierPage-CHtYMgc0.cjs → CashierPage-DcE7E_Wf.cjs} +1 -1
- package/components/{CashierPage-4nTfbT_j.js → CashierPage-y5YsPxSa.js} +142 -142
- package/components/{CashierReceiptPage-CnyLmUmL.js → CashierReceiptPage-BbHKdDra.js} +97 -97
- package/components/{CashierReceiptPage-DV7Iz4wR.js → CashierReceiptPage-CNwhHWwV.js} +97 -97
- package/components/{CashierReceiptPage-HRthn--H.cjs → CashierReceiptPage-DGAjOoFe.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-Ckhir3qN.cjs → CashierSessionExpirationModal-33ygvBxj.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-DM8-SPd3.js → CashierSessionExpirationModal-BQujD7Vd.js} +90 -99
- package/components/{CashierSessionExpirationModal-CvYI4jUg.js → CashierSessionExpirationModal-D6h6euRq.js} +110 -119
- package/components/{CashierSpinner-CeX51xPH.js → CashierSpinner-CYSebSGZ.js} +17 -17
- package/components/{CashierSpinner-a2VW8q1r.js → CashierSpinner-DIyI0RD1.js} +17 -17
- package/components/{CashierSpinner-ODmoTC6W.cjs → CashierSpinner-DVLxgI0s.cjs} +1 -1
- package/components/{CashierStepUp-CjnvqYJo.cjs → CashierStepUp-B9H7E8wY.cjs} +1 -1
- package/components/{CashierStepUp-5um8gbUX.js → CashierStepUp-DEb05cBS.js} +66 -66
- package/components/{CashierStepUp-CyO7gmgP.js → CashierStepUp-DnvNxlcq.js} +83 -83
- package/components/{CashierTransactionHistory-Cm3ikVPK.js → CashierTransactionHistory-ButX2_sB.js} +84 -84
- package/components/{CashierTransactionHistory-5JNtVHcj.js → CashierTransactionHistory-CX3RviXD.js} +115 -115
- package/components/{CashierTransactionHistory-CmgO6bXN.cjs → CashierTransactionHistory-D8cuhIj_.cjs} +1 -1
- package/components/{CashierVerifications-hID6hjDs.js → CashierVerifications-CPUhZGV4.js} +37 -37
- package/components/{CashierVerifications-DkayuISY.cjs → CashierVerifications-DPeQTcCN.cjs} +1 -1
- package/components/{CashierVerifications-BmZYiJaN.js → CashierVerifications-DVccv6qc.js} +40 -40
- package/components/{TxnStatusIcon-BDnNMhFD.js → TxnStatusIcon-CpJJHtXq.js} +19 -19
- package/components/{TxnStatusIcon-Le-TBKNh.cjs → TxnStatusIcon-DuWdYaRx.cjs} +1 -1
- package/components/{TxnStatusIcon-HrmfQdAc.js → TxnStatusIcon-Krgh5oF3.js} +19 -19
- package/components/{TxnTypeIcons-DZRNYWUy.js → TxnTypeIcons-Az6Gbxxw.js} +14 -14
- package/components/{TxnTypeIcons-__im0AE_.js → TxnTypeIcons-Bvy6NVGO.js} +14 -14
- package/components/{TxnTypeIcons-sZUo9qa8.cjs → TxnTypeIcons-iU9VGsWs.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-B6BYeRne.js +542 -0
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/index-b2193545-B5Q7rnAU.cjs +1 -0
- package/stencil/index-b2193545-CF_fVoFe.js +519 -0
- package/stencil/index-b2193545-DfttkCgg.js +503 -0
- package/stencil/{ui-image-D69wsX4B.js → ui-image-BsYHwNhO.js} +1 -1
- package/stencil/{ui-image-BIr_PDb-.js → ui-image-CNaRr0ax.js} +1 -1
- package/stencil/{ui-image-CEbrFHSD.cjs → ui-image-IJc7Zz_R.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-CmVho0dS.js} +2 -2
- package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
- package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-Daq38JGa.js} +2 -2
- package/stencil/{ui-skeleton-i8axfHXy.js → ui-skeleton-B9YTz-WD.js} +2 -2
- package/stencil/{ui-skeleton-UELn0TdO.js → ui-skeleton-CQ-FgYMx.js} +2 -2
- package/stencil/{ui-skeleton-CTOStr1f.cjs → ui-skeleton-UxIIZ8UD.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-6tILWWI7.cjs → ui-skeleton-ed169f8f-BEwquWmd.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-DU5yFWqG.js → ui-skeleton-ed169f8f-BMrkXoR5.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-DmzkEnLt.js → ui-skeleton-ed169f8f-BNn31z1X.js} +1 -1
- package/components/CashierCarousel-CfPrrhkY.cjs +0 -23
- package/stencil/index-97d17652-DvplcHtm.js +0 -558
- package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
- package/stencil/index-97d17652-p-iQtjus.js +0 -542
- package/stencil/index-b2193545-Bvpy7mp9.js +0 -503
- package/stencil/index-b2193545-DxDmFccl.js +0 -519
- package/stencil/index-b2193545-P1qvDl70.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as xn, i as Cn, $ as Ln, S as vn, b as Mn,
|
|
2
|
-
import { f as Wt } from "./CashierReceiptPage-
|
|
3
|
-
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-
|
|
1
|
+
import { a as xn, i as Cn, $ as Ln, S as vn, b as Mn, s as Rn, f as q, c as On, e as ve, t as Ae, g as Te, a6 as un, a7 as fn, k as Me, m as R, p as Ut, q as kn, af as Dn, d as $e, a0 as Nn, ag as Ht, L as Ft, v as We, u as et, h as tt, j as nt, o as u, l as p, a8 as In, x as Je, X as oe, n as Ee, w as Ye, y as zt, r as Pn, G as Bt, z as Gt, B as Un, C as Hn, D as Fn, E as zn, F as Bn } from "./CashierCarousel-D8MiOwuE.js";
|
|
2
|
+
import { f as Wt } from "./CashierReceiptPage-BbHKdDra.js";
|
|
3
|
+
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-BzVSr2on.js";
|
|
4
4
|
function Xt(n, t) {
|
|
5
5
|
xn(n, t);
|
|
6
6
|
}
|
|
@@ -133,20 +133,11 @@ var tn = /* @__PURE__ */ Object.freeze({
|
|
|
133
133
|
});
|
|
134
134
|
const Ge = {
|
|
135
135
|
element: 1,
|
|
136
|
-
attribute: 2,
|
|
137
136
|
text: 3,
|
|
138
|
-
cdataSection: 4,
|
|
139
|
-
entityReference: 5,
|
|
140
|
-
// Deprecated
|
|
141
|
-
entityNode: 6,
|
|
142
137
|
// Deprecated
|
|
143
138
|
progressingInstruction: 7,
|
|
144
139
|
comment: 8,
|
|
145
|
-
document: 9
|
|
146
|
-
documentType: 10,
|
|
147
|
-
documentFragment: 11,
|
|
148
|
-
notation: 12
|
|
149
|
-
// Deprecated
|
|
140
|
+
document: 9
|
|
150
141
|
}, ao = function() {
|
|
151
142
|
return typeof window == "undefined" ? null : window;
|
|
152
143
|
}, lo = function(t, o) {
|
|
@@ -208,7 +199,7 @@ function gn() {
|
|
|
208
199
|
ERB_EXPR: ae,
|
|
209
200
|
TMPLIT_EXPR: we,
|
|
210
201
|
DATA_ATTR: K,
|
|
211
|
-
ARIA_ATTR:
|
|
202
|
+
ARIA_ATTR: N,
|
|
212
203
|
IS_SCRIPT_OR_DATA: O,
|
|
213
204
|
ATTR_WHITESPACE: le,
|
|
214
205
|
CUSTOM_ELEMENT: Re
|
|
@@ -246,16 +237,16 @@ function gn() {
|
|
|
246
237
|
const yt = d({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
247
238
|
let st = null;
|
|
248
239
|
const wt = d({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ve = "http://www.w3.org/1998/Math/MathML", qe = "http://www.w3.org/2000/svg", ge = "http://www.w3.org/1999/xhtml";
|
|
249
|
-
let
|
|
240
|
+
let De = ge, rt = !1, at = null;
|
|
250
241
|
const En = d({}, [Ve, qe, ge], ct);
|
|
251
242
|
let Pe = null;
|
|
252
243
|
const Tn = ["application/xhtml+xml", "text/html"], yn = "text/html";
|
|
253
|
-
let k = null,
|
|
244
|
+
let k = null, Ne = null;
|
|
254
245
|
const wn = o.createElement("form"), bt = function(e) {
|
|
255
246
|
return e instanceof RegExp || e instanceof Function;
|
|
256
247
|
}, lt = function() {
|
|
257
248
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
258
|
-
if (!(
|
|
249
|
+
if (!(Ne && Ne === e)) {
|
|
259
250
|
if ((!e || typeof e != "object") && (e = {}), e = Le(e), Pe = // eslint-disable-next-line unicorn/prefer-includes
|
|
260
251
|
Tn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? yn : e.PARSER_MEDIA_TYPE, k = Pe === "application/xhtml+xml" ? ct : ot, m = ie(e, "ALLOWED_TAGS") ? d({}, e.ALLOWED_TAGS, k) : be, x = ie(e, "ALLOWED_ATTR") ? d({}, e.ALLOWED_ATTR, k) : Se, at = ie(e, "ALLOWED_NAMESPACES") ? d({}, e.ALLOWED_NAMESPACES, ct) : En, st = ie(e, "ADD_URI_SAFE_ATTR") ? d(
|
|
261
252
|
Le(wt),
|
|
@@ -271,7 +262,7 @@ function gn() {
|
|
|
271
262
|
// eslint-disable-line indent
|
|
272
263
|
k
|
|
273
264
|
// eslint-disable-line indent
|
|
274
|
-
) : yt, ke = ie(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, k) : Et, r = ie(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, k) : {}, y = ie(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, k) : {}, Oe = ie(e, "USE_PROFILES") ? e.USE_PROFILES : !1, C = e.ALLOW_ARIA_ATTR !== !1, M = e.ALLOW_DATA_ATTR !== !1, Ce = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Y = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, he = e.SAFE_FOR_TEMPLATES || !1, Q = e.SAFE_FOR_XML !== !1, ce = e.WHOLE_DOCUMENT || !1, ue = e.RETURN_DOM || !1, je = e.RETURN_DOM_FRAGMENT || !1, Xe = e.RETURN_TRUSTED_TYPE || !1, L = e.FORCE_BODY || !1, gt = e.SANITIZE_DOM !== !1, _t = e.SANITIZE_NAMED_PROPS || !1, it = e.KEEP_CONTENT !== !1, Ie = e.IN_PLACE || !1, V = e.ALLOWED_URI_REGEXP || dn,
|
|
265
|
+
) : yt, ke = ie(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, k) : Et, r = ie(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, k) : {}, y = ie(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, k) : {}, Oe = ie(e, "USE_PROFILES") ? e.USE_PROFILES : !1, C = e.ALLOW_ARIA_ATTR !== !1, M = e.ALLOW_DATA_ATTR !== !1, Ce = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Y = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, he = e.SAFE_FOR_TEMPLATES || !1, Q = e.SAFE_FOR_XML !== !1, ce = e.WHOLE_DOCUMENT || !1, ue = e.RETURN_DOM || !1, je = e.RETURN_DOM_FRAGMENT || !1, Xe = e.RETURN_TRUSTED_TYPE || !1, L = e.FORCE_BODY || !1, gt = e.SANITIZE_DOM !== !1, _t = e.SANITIZE_NAMED_PROPS || !1, it = e.KEEP_CONTENT !== !1, Ie = e.IN_PLACE || !1, V = e.ALLOWED_URI_REGEXP || dn, De = e.NAMESPACE || ge, E = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (E.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (E.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (E.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), he && (M = !1), je && (ue = !0), Oe && (m = d({}, Qt), x = [], Oe.html === !0 && (d(m, Kt), d(x, $t)), Oe.svg === !0 && (d(m, ut), d(x, pt), d(x, Qe)), Oe.svgFilters === !0 && (d(m, ft), d(x, pt), d(x, Qe)), Oe.mathMl === !0 && (d(m, mt), d(x, en), d(x, Qe))), e.ADD_TAGS && (m === be && (m = Le(m)), d(m, e.ADD_TAGS, k)), e.ADD_ATTR && (x === Se && (x = Le(x)), d(x, e.ADD_ATTR, k)), e.ADD_URI_SAFE_ATTR && d(st, e.ADD_URI_SAFE_ATTR, k), e.FORBID_CONTENTS && (ke === Et && (ke = Le(ke)), d(ke, e.FORBID_CONTENTS, k)), it && (m["#text"] = !0), ce && d(m, ["html", "head", "body"]), m.table && (d(m, ["tbody"]), delete r.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
275
266
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
276
267
|
throw ze('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
277
268
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -279,12 +270,12 @@ function gn() {
|
|
|
279
270
|
h = e.TRUSTED_TYPES_POLICY, A = h.createHTML("");
|
|
280
271
|
} else
|
|
281
272
|
h === void 0 && (h = lo(F, a)), h !== null && typeof A == "string" && (A = h.createHTML(""));
|
|
282
|
-
H && H(e),
|
|
273
|
+
H && H(e), Ne = e;
|
|
283
274
|
}
|
|
284
275
|
}, St = d({}, ["mi", "mo", "mn", "ms", "mtext"]), At = d({}, ["foreignobject", "annotation-xml"]), bn = d({}, ["title", "style", "font", "a", "script"]), xt = d({}, [...ut, ...ft, ...Kn]), Ct = d({}, [...mt, ...Qn]), Sn = function(e) {
|
|
285
276
|
let s = J(e);
|
|
286
277
|
(!s || !s.tagName) && (s = {
|
|
287
|
-
namespaceURI:
|
|
278
|
+
namespaceURI: De,
|
|
288
279
|
tagName: "template"
|
|
289
280
|
});
|
|
290
281
|
const l = ot(e.tagName), w = ot(s.tagName);
|
|
@@ -326,25 +317,25 @@ function gn() {
|
|
|
326
317
|
if (L)
|
|
327
318
|
e = "<remove></remove>" + e;
|
|
328
319
|
else {
|
|
329
|
-
const
|
|
330
|
-
l =
|
|
320
|
+
const D = Jt(e, /^[\r\n\t ]+/);
|
|
321
|
+
l = D && D[0];
|
|
331
322
|
}
|
|
332
|
-
Pe === "application/xhtml+xml" &&
|
|
323
|
+
Pe === "application/xhtml+xml" && De === ge && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
333
324
|
const w = h ? h.createHTML(e) : e;
|
|
334
|
-
if (
|
|
325
|
+
if (De === ge)
|
|
335
326
|
try {
|
|
336
327
|
s = new xe().parseFromString(w, Pe);
|
|
337
|
-
} catch (
|
|
328
|
+
} catch (D) {
|
|
338
329
|
}
|
|
339
330
|
if (!s || !s.documentElement) {
|
|
340
|
-
s = te.createDocument(
|
|
331
|
+
s = te.createDocument(De, "template", null);
|
|
341
332
|
try {
|
|
342
333
|
s.documentElement.innerHTML = rt ? A : w;
|
|
343
|
-
} catch (
|
|
334
|
+
} catch (D) {
|
|
344
335
|
}
|
|
345
336
|
}
|
|
346
337
|
const I = s.body || s.documentElement;
|
|
347
|
-
return e && l && I.insertBefore(o.createTextNode(l), I.childNodes[0] || null),
|
|
338
|
+
return e && l && I.insertBefore(o.createTextNode(l), I.childNodes[0] || null), De === ge ? G.call(s, ce ? "html" : "body")[0] : ce ? s.documentElement : I;
|
|
348
339
|
}, vt = function(e) {
|
|
349
340
|
return re.call(
|
|
350
341
|
e.ownerDocument || e,
|
|
@@ -359,7 +350,7 @@ function gn() {
|
|
|
359
350
|
return typeof S == "function" && e instanceof S;
|
|
360
351
|
}, _e = function(e, s, l) {
|
|
361
352
|
v[e] && Ke(v[e], (w) => {
|
|
362
|
-
w.call(t, s, l,
|
|
353
|
+
w.call(t, s, l, Ne);
|
|
363
354
|
});
|
|
364
355
|
}, Ot = function(e) {
|
|
365
356
|
let s = null;
|
|
@@ -372,13 +363,13 @@ function gn() {
|
|
|
372
363
|
}), e.hasChildNodes() && !Rt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === Ge.progressingInstruction || Q && e.nodeType === Ge.comment && U(/<[/\w]/g, e.data))
|
|
373
364
|
return fe(e), !0;
|
|
374
365
|
if (!m[l] || r[l]) {
|
|
375
|
-
if (!r[l] &&
|
|
366
|
+
if (!r[l] && Dt(l) && (E.tagNameCheck instanceof RegExp && U(E.tagNameCheck, l) || E.tagNameCheck instanceof Function && E.tagNameCheck(l)))
|
|
376
367
|
return !1;
|
|
377
368
|
if (it && !ke[l]) {
|
|
378
369
|
const w = J(e) || e.parentNode, I = pe(e) || e.childNodes;
|
|
379
370
|
if (I && w) {
|
|
380
|
-
const
|
|
381
|
-
for (let j =
|
|
371
|
+
const D = I.length;
|
|
372
|
+
for (let j = D - 1; j >= 0; --j) {
|
|
382
373
|
const me = ye(I[j], !0);
|
|
383
374
|
me.__removalCount = (e.__removalCount || 0) + 1, w.insertBefore(me, B(e));
|
|
384
375
|
}
|
|
@@ -395,13 +386,13 @@ function gn() {
|
|
|
395
386
|
if (gt && (s === "id" || s === "name") && (l in o || l in wn))
|
|
396
387
|
return !1;
|
|
397
388
|
if (!(M && !y[s] && U(K, s))) {
|
|
398
|
-
if (!(C && U(
|
|
389
|
+
if (!(C && U(N, s))) {
|
|
399
390
|
if (!x[s] || y[s]) {
|
|
400
391
|
if (
|
|
401
392
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
402
393
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
403
394
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
404
|
-
!(
|
|
395
|
+
!(Dt(e) && (E.tagNameCheck instanceof RegExp && U(E.tagNameCheck, e) || E.tagNameCheck instanceof Function && E.tagNameCheck(e)) && (E.attributeNameCheck instanceof RegExp && U(E.attributeNameCheck, s) || E.attributeNameCheck instanceof Function && E.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
405
396
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
406
397
|
s === "is" && E.allowCustomizedBuiltInElements && (E.tagNameCheck instanceof RegExp && U(E.tagNameCheck, l) || E.tagNameCheck instanceof Function && E.tagNameCheck(l)))
|
|
407
398
|
)
|
|
@@ -419,9 +410,9 @@ function gn() {
|
|
|
419
410
|
}
|
|
420
411
|
}
|
|
421
412
|
return !0;
|
|
422
|
-
}, Nt = function(e) {
|
|
423
|
-
return e !== "annotation-xml" && Jt(e, Re);
|
|
424
413
|
}, Dt = function(e) {
|
|
414
|
+
return e !== "annotation-xml" && Jt(e, Re);
|
|
415
|
+
}, Nt = function(e) {
|
|
425
416
|
_e("beforeSanitizeAttributes", e, null);
|
|
426
417
|
const {
|
|
427
418
|
attributes: s
|
|
@@ -437,19 +428,19 @@ function gn() {
|
|
|
437
428
|
let w = s.length;
|
|
438
429
|
for (; w--; ) {
|
|
439
430
|
const I = s[w], {
|
|
440
|
-
name:
|
|
431
|
+
name: D,
|
|
441
432
|
namespaceURI: j,
|
|
442
433
|
value: me
|
|
443
|
-
} = I, Ue = k(
|
|
444
|
-
let P =
|
|
434
|
+
} = I, Ue = k(D);
|
|
435
|
+
let P = D === "value" ? me : qn(me);
|
|
445
436
|
if (l.attrName = Ue, l.attrValue = P, l.keepAttr = !0, l.forceKeepAttr = void 0, _e("uponSanitizeAttribute", e, l), P = l.attrValue, Q && U(/((--!?|])>)|<\/(style|title)/i, P)) {
|
|
446
|
-
Ze(
|
|
437
|
+
Ze(D, e);
|
|
447
438
|
continue;
|
|
448
439
|
}
|
|
449
|
-
if (l.forceKeepAttr || (Ze(
|
|
440
|
+
if (l.forceKeepAttr || (Ze(D, e), !l.keepAttr))
|
|
450
441
|
continue;
|
|
451
442
|
if (!Y && U(/\/>/i, P)) {
|
|
452
|
-
Ze(
|
|
443
|
+
Ze(D, e);
|
|
453
444
|
continue;
|
|
454
445
|
}
|
|
455
446
|
he && Ke([W, ae, we], (Pt) => {
|
|
@@ -457,7 +448,7 @@ function gn() {
|
|
|
457
448
|
});
|
|
458
449
|
const It = k(e.nodeName);
|
|
459
450
|
if (kt(It, Ue, P)) {
|
|
460
|
-
if (_t && (Ue === "id" || Ue === "name") && (Ze(
|
|
451
|
+
if (_t && (Ue === "id" || Ue === "name") && (Ze(D, e), P = _n + P), h && typeof F == "object" && typeof F.getAttributeType == "function" && !j)
|
|
461
452
|
switch (F.getAttributeType(It, Ue)) {
|
|
462
453
|
case "TrustedHTML": {
|
|
463
454
|
P = h.createHTML(P);
|
|
@@ -469,7 +460,7 @@ function gn() {
|
|
|
469
460
|
}
|
|
470
461
|
}
|
|
471
462
|
try {
|
|
472
|
-
j ? e.setAttributeNS(j,
|
|
463
|
+
j ? e.setAttributeNS(j, D, P) : e.setAttribute(D, P), Mt(e) ? fe(e) : Zt(t.removed);
|
|
473
464
|
} catch (Pt) {
|
|
474
465
|
}
|
|
475
466
|
}
|
|
@@ -479,7 +470,7 @@ function gn() {
|
|
|
479
470
|
let s = null;
|
|
480
471
|
const l = vt(e);
|
|
481
472
|
for (_e("beforeSanitizeShadowDOM", e, null); s = l.nextNode(); )
|
|
482
|
-
_e("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof f && c(s.content),
|
|
473
|
+
_e("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof f && c(s.content), Nt(s));
|
|
483
474
|
_e("afterSanitizeShadowDOM", e, null);
|
|
484
475
|
};
|
|
485
476
|
return t.sanitize = function(c) {
|
|
@@ -508,9 +499,9 @@ function gn() {
|
|
|
508
499
|
return ue ? null : Xe ? A : "";
|
|
509
500
|
}
|
|
510
501
|
s && L && fe(s.firstChild);
|
|
511
|
-
const
|
|
512
|
-
for (; w =
|
|
513
|
-
Ot(w) || (w.content instanceof f && An(w.content),
|
|
502
|
+
const D = vt(Ie ? c : s);
|
|
503
|
+
for (; w = D.nextNode(); )
|
|
504
|
+
Ot(w) || (w.content instanceof f && An(w.content), Nt(w));
|
|
514
505
|
if (Ie)
|
|
515
506
|
return c;
|
|
516
507
|
if (ue) {
|
|
@@ -530,9 +521,9 @@ function gn() {
|
|
|
530
521
|
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
531
522
|
lt(c), b = !0;
|
|
532
523
|
}, t.clearConfig = function() {
|
|
533
|
-
|
|
524
|
+
Ne = null, b = !1;
|
|
534
525
|
}, t.isValidAttribute = function(c, e, s) {
|
|
535
|
-
|
|
526
|
+
Ne || lt({});
|
|
536
527
|
const l = k(c), w = k(e);
|
|
537
528
|
return kt(l, w, s);
|
|
538
529
|
}, t.addHook = function(c, e) {
|
|
@@ -548,7 +539,7 @@ function gn() {
|
|
|
548
539
|
}
|
|
549
540
|
var nn = gn();
|
|
550
541
|
function co(n) {
|
|
551
|
-
|
|
542
|
+
On(n, "svelte-1kjup2o", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:115;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.3));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;min-width:400px;position:relative;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3);padding:20px}.CashierSessionExpirationModalWrapper::before{content:"";position:absolute;inset:0;opacity:0.15;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ButtonsContainer{display:flex;flex-direction:row;gap:10px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;background-color:var(--emw--color-gray-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0;justify-content:space-between}.CashierSessionExpirationModalHeaderTitle{display:flex;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);gap:8px}.CashierSessionExpirationModalHeaderTitle svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;justify-content:center;top:10px;right:10px;border-radius:50%;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;margin-top:20px;gap:25px}.CashierSessionExpiration .CashierSessionExpirationButton{width:100%;height:36px;color:var(--emw-color-font-typography, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #f9c405)}.CashierSessionExpirationTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%}.CashierSessionExpirationText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 12px);opacity:0.6}.CashierSessionExpirationText p{padding:3px}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-small, 12px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{fill:var(--emw--color-typography, #fff);width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.ModalButton{color:var(--emw--color-secondary, #000);text-align:center;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 600);font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear;box-shadow:inset 0px 0px 0px 1px var(--emw--color-primary)}.ModalButton:hover{background-color:var(--emw--color-hover, #dbac03)}.ModalButton.Secondary{background:transparent;color:var(--emw-color-white, #fff)}.ModalButton.Secondary:hover{background-color:var(--emw--color-hover, #dbac03);color:var(--emw-color-black, #000)}.ModalButton.Primary.Disabled{cursor:default;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);opacity:0.5}.ModalButton.Primary.Disabled:hover{background:var(--emw--color-primary, #f9c408);cursor:not-allowed}');
|
|
552
543
|
}
|
|
553
544
|
const uo = (n) => ({}), on = (n) => ({}), fo = (n) => ({}), sn = (n) => ({}), mo = (n) => ({}), rn = (n) => ({}), po = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
|
|
554
545
|
function ln(n) {
|
|
@@ -558,7 +549,7 @@ function ln(n) {
|
|
|
558
549
|
), z, ye, se, B, pe, J, h, A, te, re, de, G, ne, v, W = (
|
|
559
550
|
/*$_*/
|
|
560
551
|
n[8]("sessionExpirationEnd") + ""
|
|
561
|
-
), ae, we, K,
|
|
552
|
+
), ae, we, K, N, O, le, Re, V, m, be, x;
|
|
562
553
|
const Se = (
|
|
563
554
|
/*#slots*/
|
|
564
555
|
n[23].icon
|
|
@@ -593,16 +584,16 @@ function ln(n) {
|
|
|
593
584
|
b[6] ? 0 : 1
|
|
594
585
|
);
|
|
595
586
|
}
|
|
596
|
-
return
|
|
587
|
+
return N = ce(n), O = Q[N] = he[N](n), {
|
|
597
588
|
c() {
|
|
598
|
-
t = R("div"), o = R("div"), i = R("div"), a = R("div"), f = oe("svg"), g = oe("defs"), S = oe("mask"), T = oe("circle"), _ = oe("rect"), X = oe("circle"), ee = oe("circle"), xe = Ee(), z =
|
|
599
|
-
(n[6] ? "Disabled" : "")), u(G, "class", "ButtonsContainer"), u(A, "class", "CashierSessionExpiration"), u(h, "class", "CashierSessionExpirationModalContainer"), u(o, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"),
|
|
589
|
+
t = R("div"), o = R("div"), i = R("div"), a = R("div"), f = oe("svg"), g = oe("defs"), S = oe("mask"), T = oe("circle"), _ = oe("rect"), X = oe("circle"), ee = oe("circle"), xe = Ee(), z = Ye(F), ye = Ee(), se = R("div"), B = oe("svg"), pe = oe("path"), J = Ee(), h = R("div"), A = R("div"), r && r.c(), te = Ee(), C && C.c(), re = Ee(), Y && Y.c(), de = Ee(), G = R("div"), ne = R("button"), v = R("span"), ae = Ye(W), we = Ee(), K = R("button"), O.c(), u(T, "cx", "100"), u(T, "cy", "100"), u(T, "r", "90"), u(_, "x", "88"), u(_, "y", "40"), u(_, "width", "24"), u(_, "height", "80"), u(_, "rx", "12"), u(_, "fill", "black"), u(X, "cx", "100"), u(X, "cy", "150"), u(X, "r", "14"), u(X, "fill", "black"), u(S, "id", "exclamation-mask"), u(ee, "cx", "100"), u(ee, "cy", "100"), u(ee, "r", "90"), u(ee, "mask", "url(#exclamation-mask)"), u(f, "viewBox", "0 0 200 200"), u(f, "xmlns", "http://www.w3.org/2000/svg"), u(a, "class", "CashierSessionExpirationModalHeaderTitle"), u(pe, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), u(B, "xmlns", "http://www.w3.org/2000/svg"), u(B, "viewBox", "0 0 13 13"), u(B, "fill", "none"), u(B, "class", "CloseButton"), u(se, "class", "ModalCloseIcon"), u(i, "class", "CashierSessionExpirationModalHeader"), u(v, "class", "CashierSessionExpirationButtonText"), u(ne, "type", "button"), u(ne, "class", "ModalButton Secondary"), u(K, "type", "button"), u(K, "class", le = "ModalButton Primary " + /*showLoaderButton*/
|
|
590
|
+
(n[6] ? "Disabled" : "")), u(G, "class", "ButtonsContainer"), u(A, "class", "CashierSessionExpiration"), u(h, "class", "CashierSessionExpirationModalContainer"), u(o, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), Ft(() => (
|
|
600
591
|
/*div7_elementresize_handler*/
|
|
601
592
|
n[25].call(t)
|
|
602
593
|
));
|
|
603
594
|
},
|
|
604
595
|
m(b, L) {
|
|
605
|
-
|
|
596
|
+
Me(b, t, L), p(t, o), p(o, i), p(i, a), p(a, f), p(f, g), p(g, S), p(S, T), p(S, _), p(S, X), p(f, ee), p(a, xe), p(a, z), p(i, ye), p(i, se), p(se, B), p(B, pe), p(o, J), p(o, h), p(h, A), r && r.m(A, null), p(A, te), C && C.m(A, null), p(A, re), Y && Y.m(A, null), p(A, de), p(A, G), p(G, ne), p(ne, v), p(v, ae), p(G, we), p(G, K), Q[N].m(K, null), n[24](A), Re = In(
|
|
606
597
|
t,
|
|
607
598
|
/*div7_elementresize_handler*/
|
|
608
599
|
n[25].bind(t)
|
|
@@ -636,7 +627,7 @@ function ln(n) {
|
|
|
636
627
|
p(b, L) {
|
|
637
628
|
n = b, (!m || L[0] & /*$_*/
|
|
638
629
|
256) && F !== (F = /*$_*/
|
|
639
|
-
n[8]("sessionExpirationHeader") + "") &&
|
|
630
|
+
n[8]("sessionExpirationHeader") + "") && We(z, F), E ? E.p && (!m || L[0] & /*$$scope*/
|
|
640
631
|
4194304) && et(
|
|
641
632
|
E,
|
|
642
633
|
Se,
|
|
@@ -694,30 +685,30 @@ function ln(n) {
|
|
|
694
685
|
) : Y && Y.p && (!m || L[0] & /*$_, timeLeft*/
|
|
695
686
|
384) && Y.p(n, m ? L : [-1, -1]), (!m || L[0] & /*$_*/
|
|
696
687
|
256) && W !== (W = /*$_*/
|
|
697
|
-
n[8]("sessionExpirationEnd") + "") &&
|
|
698
|
-
let ue =
|
|
699
|
-
|
|
688
|
+
n[8]("sessionExpirationEnd") + "") && We(ae, W);
|
|
689
|
+
let ue = N;
|
|
690
|
+
N = ce(n), N === ue ? Q[N].p(n, L) : (un(), Ae(Q[ue], 1, 1, () => {
|
|
700
691
|
Q[ue] = null;
|
|
701
|
-
}),
|
|
692
|
+
}), fn(), O = Q[N], O ? O.p(n, L) : (O = Q[N] = he[N](n), O.c()), Te(O, 1), O.m(K, null)), (!m || L[0] & /*showLoaderButton*/
|
|
702
693
|
64 && le !== (le = "ModalButton Primary " + /*showLoaderButton*/
|
|
703
694
|
(n[6] ? "Disabled" : ""))) && u(K, "class", le);
|
|
704
695
|
},
|
|
705
696
|
i(b) {
|
|
706
|
-
m || (Te(r, b), Te(C, b), Te(Y, b), Te(O), b &&
|
|
707
|
-
m && (V || (V =
|
|
697
|
+
m || (Te(r, b), Te(C, b), Te(Y, b), Te(O), b && Ft(() => {
|
|
698
|
+
m && (V || (V = Ht(t, Wt, { duration: (
|
|
708
699
|
/*duration*/
|
|
709
700
|
n[2]
|
|
710
701
|
) }, !0)), V.run(1));
|
|
711
702
|
}), m = !0);
|
|
712
703
|
},
|
|
713
704
|
o(b) {
|
|
714
|
-
Ae(r, b), Ae(C, b), Ae(Y, b), Ae(O), b && (V || (V =
|
|
705
|
+
Ae(r, b), Ae(C, b), Ae(Y, b), Ae(O), b && (V || (V = Ht(t, Wt, { duration: (
|
|
715
706
|
/*duration*/
|
|
716
707
|
n[2]
|
|
717
708
|
) }, !1)), V.run(0)), m = !1;
|
|
718
709
|
},
|
|
719
710
|
d(b) {
|
|
720
|
-
b &&
|
|
711
|
+
b && ve(t), r && r.d(b), C && C.d(b), Y && Y.d(b), Q[N].d(), n[24](null), Re(), b && V && V.end(), be = !1, Nn(x);
|
|
721
712
|
}
|
|
722
713
|
};
|
|
723
714
|
}
|
|
@@ -725,19 +716,19 @@ function cn(n) {
|
|
|
725
716
|
let t, o;
|
|
726
717
|
return {
|
|
727
718
|
c() {
|
|
728
|
-
t = R("img"),
|
|
719
|
+
t = R("img"), Gt(t.src, o = `${/*assetsurl*/
|
|
729
720
|
n[3]}/set-timeout-icon.png`) || u(t, "src", o), u(t, "width", "300px"), u(t, "alt", "error");
|
|
730
721
|
},
|
|
731
722
|
m(i, a) {
|
|
732
|
-
|
|
723
|
+
Me(i, t, a);
|
|
733
724
|
},
|
|
734
725
|
p(i, a) {
|
|
735
726
|
a[0] & /*assetsurl*/
|
|
736
|
-
8 && !
|
|
727
|
+
8 && !Gt(t.src, o = `${/*assetsurl*/
|
|
737
728
|
i[3]}/set-timeout-icon.png`) && u(t, "src", o);
|
|
738
729
|
},
|
|
739
730
|
d(i) {
|
|
740
|
-
i &&
|
|
731
|
+
i && ve(t);
|
|
741
732
|
}
|
|
742
733
|
};
|
|
743
734
|
}
|
|
@@ -748,17 +739,17 @@ function ho(n) {
|
|
|
748
739
|
);
|
|
749
740
|
return {
|
|
750
741
|
c() {
|
|
751
|
-
o && o.c(), t =
|
|
742
|
+
o && o.c(), t = Pn();
|
|
752
743
|
},
|
|
753
744
|
m(i, a) {
|
|
754
|
-
o && o.m(i, a),
|
|
745
|
+
o && o.m(i, a), Me(i, t, a);
|
|
755
746
|
},
|
|
756
747
|
p(i, a) {
|
|
757
748
|
/*assetsurl*/
|
|
758
749
|
i[3] ? o ? o.p(i, a) : (o = cn(i), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null);
|
|
759
750
|
},
|
|
760
751
|
d(i) {
|
|
761
|
-
i &&
|
|
752
|
+
i && ve(t), o && o.d(i);
|
|
762
753
|
}
|
|
763
754
|
};
|
|
764
755
|
}
|
|
@@ -775,15 +766,15 @@ function go(n) {
|
|
|
775
766
|
) + "";
|
|
776
767
|
return {
|
|
777
768
|
c() {
|
|
778
|
-
t = R("span"), o = R("p"), a =
|
|
769
|
+
t = R("span"), o = R("p"), a = Ye(i), f = Ee(), g = R("p"), u(t, "class", "CashierSessionExpirationText");
|
|
779
770
|
},
|
|
780
771
|
m(T, _) {
|
|
781
|
-
|
|
772
|
+
Me(T, t, _), p(t, o), p(o, a), p(t, f), p(t, g), g.innerHTML = S;
|
|
782
773
|
},
|
|
783
774
|
p(T, _) {
|
|
784
775
|
_[0] & /*$_*/
|
|
785
776
|
256 && i !== (i = /*$_*/
|
|
786
|
-
T[8]("sessionExpirationTitle") + "") &&
|
|
777
|
+
T[8]("sessionExpirationTitle") + "") && We(a, i), _[0] & /*$_, timeLeft*/
|
|
787
778
|
384 && S !== (S = nn.sanitize(
|
|
788
779
|
/*$_*/
|
|
789
780
|
T[8]("sessionExpirationGeneralText", { values: { second: (
|
|
@@ -793,7 +784,7 @@ function go(n) {
|
|
|
793
784
|
) + "") && (g.innerHTML = S);
|
|
794
785
|
},
|
|
795
786
|
d(T) {
|
|
796
|
-
T &&
|
|
787
|
+
T && ve(t);
|
|
797
788
|
}
|
|
798
789
|
};
|
|
799
790
|
}
|
|
@@ -856,20 +847,20 @@ function Eo(n) {
|
|
|
856
847
|
), S;
|
|
857
848
|
return {
|
|
858
849
|
c() {
|
|
859
|
-
t = R("div"), o = oe("svg"), i = oe("path"), a = Ee(), f = R("span"), S =
|
|
850
|
+
t = R("div"), o = oe("svg"), i = oe("path"), a = Ee(), f = R("span"), S = Ye(g), u(i, "d", "M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"), u(i, "fill", "white"), u(o, "class", "CashierSessionExpirationButtonSpinner"), u(o, "xmlns", "http://www.w3.org/2000/svg"), u(o, "width", "15"), u(o, "height", "14"), u(o, "viewBox", "0 0 15 14"), u(o, "fill", "none"), u(f, "class", "CashierSessionExpirationButtonText");
|
|
860
851
|
},
|
|
861
852
|
m(T, _) {
|
|
862
|
-
|
|
853
|
+
Me(T, t, _), p(t, o), p(o, i), p(t, a), p(t, f), p(f, S);
|
|
863
854
|
},
|
|
864
855
|
p(T, _) {
|
|
865
856
|
_[0] & /*$_*/
|
|
866
857
|
256 && g !== (g = /*$_*/
|
|
867
|
-
T[8]("sessionExpirationLoadingButton") + "") &&
|
|
858
|
+
T[8]("sessionExpirationLoadingButton") + "") && We(S, g);
|
|
868
859
|
},
|
|
869
|
-
i:
|
|
870
|
-
o:
|
|
860
|
+
i: Bt,
|
|
861
|
+
o: Bt,
|
|
871
862
|
d(T) {
|
|
872
|
-
T &&
|
|
863
|
+
T && ve(t);
|
|
873
864
|
}
|
|
874
865
|
};
|
|
875
866
|
}
|
|
@@ -880,18 +871,18 @@ function To(n) {
|
|
|
880
871
|
), i;
|
|
881
872
|
return {
|
|
882
873
|
c() {
|
|
883
|
-
t = R("span"), i =
|
|
874
|
+
t = R("span"), i = Ye(o), u(t, "class", "CashierSessionExpirationButtonText");
|
|
884
875
|
},
|
|
885
876
|
m(a, f) {
|
|
886
|
-
|
|
877
|
+
Me(a, t, f), p(t, i);
|
|
887
878
|
},
|
|
888
879
|
p(a, f) {
|
|
889
880
|
f[0] & /*$_*/
|
|
890
881
|
256 && o !== (o = /*$_*/
|
|
891
|
-
a[8]("sessionExpirationGeneralButton") + "") &&
|
|
882
|
+
a[8]("sessionExpirationGeneralButton") + "") && We(i, o);
|
|
892
883
|
},
|
|
893
884
|
d(a) {
|
|
894
|
-
a &&
|
|
885
|
+
a && ve(t);
|
|
895
886
|
}
|
|
896
887
|
};
|
|
897
888
|
}
|
|
@@ -905,14 +896,14 @@ function yo(n) {
|
|
|
905
896
|
t = R("div"), i && i.c();
|
|
906
897
|
},
|
|
907
898
|
m(a, f) {
|
|
908
|
-
|
|
899
|
+
Me(a, t, f), i && i.m(t, null), n[26](t), o = !0;
|
|
909
900
|
},
|
|
910
901
|
p(a, f) {
|
|
911
902
|
/*show*/
|
|
912
903
|
a[5] ? i ? (i.p(a, f), f[0] & /*show*/
|
|
913
|
-
32 && Te(i, 1)) : (i = ln(a), i.c(), Te(i, 1), i.m(t, null)) : i && (
|
|
904
|
+
32 && Te(i, 1)) : (i = ln(a), i.c(), Te(i, 1), i.m(t, null)) : i && (un(), Ae(i, 1, 1, () => {
|
|
914
905
|
i = null;
|
|
915
|
-
}),
|
|
906
|
+
}), fn());
|
|
916
907
|
},
|
|
917
908
|
i(a) {
|
|
918
909
|
o || (Te(i), o = !0);
|
|
@@ -921,14 +912,14 @@ function yo(n) {
|
|
|
921
912
|
Ae(i), o = !1;
|
|
922
913
|
},
|
|
923
914
|
d(a) {
|
|
924
|
-
a &&
|
|
915
|
+
a && ve(t), i && i.d(), n[26](null);
|
|
925
916
|
}
|
|
926
917
|
};
|
|
927
918
|
}
|
|
928
919
|
const wo = 90;
|
|
929
920
|
function bo(n, t, o) {
|
|
930
921
|
let i, a;
|
|
931
|
-
Ut(n, jt, (r) => o(21, i = r)), Ut(n,
|
|
922
|
+
Ut(n, jt, (r) => o(21, i = r)), Ut(n, Bn, (r) => o(8, a = r));
|
|
932
923
|
let { $$slots: f = {}, $$scope: g } = t;
|
|
933
924
|
Yt.extend(Gn);
|
|
934
925
|
let { clientstyling: S = "" } = t, { clientstylingurl: T = "" } = t, { width: _ } = t, { height: X } = t, { duration: ee = 200 } = t, { assetsurl: xe = "" } = t, { lang: F = "en" } = t, { translationurl: z = "" } = t, { endpoint: ye } = t, { currency: se } = t, { customerid: B } = t, { selectedpaymentmethodname: pe } = t, { mbsource: J = "" } = t, h, A = !1, te = !1, re, de, G, ne, v;
|
|
@@ -952,7 +943,7 @@ function bo(n, t, o) {
|
|
|
952
943
|
},
|
|
953
944
|
window.location.href
|
|
954
945
|
);
|
|
955
|
-
},
|
|
946
|
+
}, N = (r) => {
|
|
956
947
|
o(5, A = !1);
|
|
957
948
|
const y = we(r);
|
|
958
949
|
y && (de = y == null ? void 0 : y.exp, o(7, re = de), G && clearInterval(G), G = setInterval(
|
|
@@ -1020,7 +1011,7 @@ function bo(n, t, o) {
|
|
|
1020
1011
|
const be = () => {
|
|
1021
1012
|
Wn(F);
|
|
1022
1013
|
};
|
|
1023
|
-
|
|
1014
|
+
kn(() => (window.addEventListener("message", ae, !1), () => {
|
|
1024
1015
|
window.removeEventListener("message", ae);
|
|
1025
1016
|
})), Dn(() => {
|
|
1026
1017
|
clearInterval(G);
|
|
@@ -1042,11 +1033,11 @@ function bo(n, t, o) {
|
|
|
1042
1033
|
"clientstyling" in r && o(12, S = r.clientstyling), "clientstylingurl" in r && o(13, T = r.clientstylingurl), "width" in r && o(0, _ = r.width), "height" in r && o(1, X = r.height), "duration" in r && o(2, ee = r.duration), "assetsurl" in r && o(3, xe = r.assetsurl), "lang" in r && o(14, F = r.lang), "translationurl" in r && o(15, z = r.translationurl), "endpoint" in r && o(16, ye = r.endpoint), "currency" in r && o(17, se = r.currency), "customerid" in r && o(18, B = r.customerid), "selectedpaymentmethodname" in r && o(19, pe = r.selectedpaymentmethodname), "mbsource" in r && o(20, J = r.mbsource), "$$scope" in r && o(22, g = r.$$scope);
|
|
1043
1034
|
}, n.$$.update = () => {
|
|
1044
1035
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1045
|
-
2097152 &&
|
|
1036
|
+
2097152 && N(i), n.$$.dirty[0] & /*lang*/
|
|
1046
1037
|
16384 && F && be(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1047
|
-
4112 && S && h &&
|
|
1048
|
-
8208 && T && h &&
|
|
1049
|
-
1048592 && J && h &&
|
|
1038
|
+
4112 && S && h && Un(h, S), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1039
|
+
8208 && T && h && Hn(h, T), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1040
|
+
1048592 && J && h && Fn(h, `${J}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
1050
1041
|
32768 && z && V();
|
|
1051
1042
|
}, [
|
|
1052
1043
|
_,
|
|
@@ -1085,7 +1076,7 @@ class So extends vn {
|
|
|
1085
1076
|
t,
|
|
1086
1077
|
bo,
|
|
1087
1078
|
yo,
|
|
1088
|
-
|
|
1079
|
+
Rn,
|
|
1089
1080
|
{
|
|
1090
1081
|
clientstyling: 12,
|
|
1091
1082
|
clientstylingurl: 13,
|
|
@@ -1184,7 +1175,7 @@ class So extends vn {
|
|
|
1184
1175
|
this.$$set({ mbsource: t }), q();
|
|
1185
1176
|
}
|
|
1186
1177
|
}
|
|
1187
|
-
|
|
1178
|
+
zn(So, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1188
1179
|
export {
|
|
1189
1180
|
So as default
|
|
1190
1181
|
};
|