@everymatrix/cashier-page 1.76.12 → 1.76.14
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/{CashierError-BuW5dJfP.js → CashierError-BD6RqW_4.js} +767 -735
- package/components/CashierError-BVTgkQx8.cjs +21 -0
- package/components/{CashierError-BL7OTzSK.js → CashierError-_mJg7htJ.js} +744 -712
- package/components/{CashierHeader-CkyrZZ8s.js → CashierHeader-CLenwFLu.js} +35 -35
- package/components/{CashierHeader-FDYsDrpF.js → CashierHeader-DGMIDhtj.js} +37 -37
- package/components/{CashierHeader-D5eAmyvG.cjs → CashierHeader-s4ev8t3u.cjs} +1 -1
- package/components/{CashierIframeRedirect-wlE_YN39.js → CashierIframeRedirect-BVU6BJJW.js} +34 -34
- package/components/{CashierIframeRedirect-Db-zgjwP.cjs → CashierIframeRedirect-CVCo8t0b.cjs} +1 -1
- package/components/{CashierIframeRedirect-CmdPA_aZ.js → CashierIframeRedirect-i-bgiInf.js} +28 -28
- package/components/{CashierMethodDetails-B7K0CIlB.cjs → CashierMethodDetails-DNAJHYhK.cjs} +5 -18
- package/components/{CashierMethodDetails-BSBqkHNa.js → CashierMethodDetails-PPgUijPf.js} +694 -743
- package/components/{CashierMethodDetails-C7dG4t8m.js → CashierMethodDetails-Yh-raa4P.js} +835 -884
- package/components/{CashierMethodsList-gPmctW-Q.js → CashierMethodsList-Bq89MePx.js} +92 -92
- package/components/{CashierMethodsList-pakwpTY2.cjs → CashierMethodsList-GFY_3ABy.cjs} +1 -1
- package/components/{CashierMethodsList-FNgy0d7U.js → CashierMethodsList-odtc9D1r.js} +83 -83
- package/components/{CashierModal-vCh-dC6Q.cjs → CashierModal-Btsbp3nD.cjs} +1 -1
- package/components/{CashierModal-BAzO-8NU.js → CashierModal-DTVOjm1x.js} +40 -40
- package/components/{CashierModal-CIWk9EpH.js → CashierModal-wzdkmyre.js} +46 -46
- package/components/{CashierNotifications-BhA-DfA9.js → CashierNotifications-Ci6C686m.js} +32 -32
- package/components/{CashierNotifications-CfzNxd6q.js → CashierNotifications-CmEFRQ8z.js} +32 -32
- package/components/{CashierNotifications-Bgf97-ym.cjs → CashierNotifications-mcKpgb8B.cjs} +1 -1
- package/components/{CashierPage-DcwM8mwG.cjs → CashierPage-CfG1gBA4.cjs} +1 -1
- package/components/{CashierPage-DbHvX6nI.js → CashierPage-D8Py7RSY.js} +109 -109
- package/components/{CashierPage-D8YY3wAI.js → CashierPage-mgwXJuuN.js} +135 -135
- package/components/{CashierReceiptPage-CQyluI1J.cjs → CashierReceiptPage-BVPfyaQD.cjs} +1 -1
- package/components/{CashierReceiptPage-BzjCwk2b.js → CashierReceiptPage-DS7FVfNe.js} +76 -76
- package/components/{CashierReceiptPage-A1MYfWGW.js → CashierReceiptPage-DlVdltM6.js} +76 -76
- package/components/{CashierSessionExpirationModal-CtakjuI_.js → CashierSessionExpirationModal-CeThEk8x.js} +94 -85
- package/components/{CashierSessionExpirationModal-Bh3jmXl_.cjs → CashierSessionExpirationModal-Dj_Kbuv7.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-YWIpKzje.js → CashierSessionExpirationModal-DvN0J2as.js} +94 -85
- package/components/{CashierSpinner-CAqB2_pw.js → CashierSpinner-BCIciib1.js} +19 -19
- package/components/{CashierSpinner-DTztqXMW.cjs → CashierSpinner-DFXOVOqQ.cjs} +1 -1
- package/components/{CashierSpinner-DXrTfpLq.js → CashierSpinner-yNXiNCOs.js} +19 -19
- package/components/{CashierTransactionHistory-c_0mTjNo.cjs → CashierTransactionHistory-BUPbSA6h.cjs} +1 -1
- package/components/{CashierTransactionHistory-Y1g5hagc.js → CashierTransactionHistory-CqwwMSVN.js} +76 -76
- package/components/{CashierTransactionHistory-U9Il8eZb.js → CashierTransactionHistory-pyelfuDA.js} +119 -119
- package/components/{CashierVerifications-BlWTY2gh.cjs → CashierVerifications-B5JCN--3.cjs} +1 -1
- package/components/{CashierVerifications-BA7PsePr.js → CashierVerifications-ChzwoJWn.js} +41 -41
- package/components/{CashierVerifications-BTvFySIg.js → CashierVerifications-DkzSmAn4.js} +30 -30
- package/components/{TxnStatusIcon-ClddwA7r.js → TxnStatusIcon-BogP6LJ2.js} +23 -23
- package/components/{TxnStatusIcon-Dapc6xhT.cjs → TxnStatusIcon-DCMCZZCQ.cjs} +1 -1
- package/components/{TxnStatusIcon-DPmmaKoK.js → TxnStatusIcon-DasCjrqn.js} +27 -27
- package/components/{TxnTypeIcons-w8LBVBiN.cjs → TxnTypeIcons-BByZ1nXT.cjs} +1 -1
- package/components/{TxnTypeIcons-CEcfPpqm.js → TxnTypeIcons-Bg5MfuGX.js} +14 -14
- package/components/{TxnTypeIcons-CWojIltL.js → TxnTypeIcons-DavAdp_P.js} +14 -14
- 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-242ac81a-Bl2OSy8h.js +538 -0
- package/stencil/index-242ac81a-Czg480dJ.js +554 -0
- package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
- package/stencil/index-b2193545-ByMYc64n.cjs +1 -0
- package/stencil/index-b2193545-DWKmtYUG.js +503 -0
- package/stencil/index-b2193545-Dfy4Cgny.js +519 -0
- package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
- package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
- package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
- package/stencil/{ui-image-BRBJSkg1.js → ui-image-BGfwfp_F.js} +1 -1
- package/stencil/{ui-image-C0iABVS5.cjs → ui-image-CBGIeQyw.cjs} +1 -1
- package/stencil/{ui-image-e4W3SkhP.js → ui-image-Cgsi32kw.js} +1 -1
- package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
- package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-ID_1Oi3k.js} +2 -2
- package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-exO7RXKL.js} +2 -2
- package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-BTr272EW.js} +2 -2
- package/stencil/{ui-skeleton-DgAs7VA3.cjs → ui-skeleton-C4Ir1ffm.cjs} +1 -1
- 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-DLHrpWJM.cjs → ui-skeleton-ae35c6f2-jcrjm-Kl.cjs} +1 -1
- package/components/CashierError-BEEnpeVH.cjs +0 -8
- package/stencil/index-242ac81a-BqeIndhr.js +0 -554
- package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
- package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
- package/stencil/index-b2193545-BoSqyMpB.js +0 -519
- package/stencil/index-b2193545-D4dOaNlR.js +0 -503
- package/stencil/index-b2193545-DGHOe8n4.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Cn, i as xn, $ as Rn, S as Ln, b as Mn,
|
|
2
|
-
import { f as Wt } from "./CashierModal-
|
|
3
|
-
import { d as Yt, u as Bn, x as jt } from "./CashierMethodDetails-
|
|
1
|
+
import { a as Cn, i as xn, $ as Rn, S as Ln, b as Mn, f as j, c as On, s as Nn, d as kn, x as cn, k as ce, t as le, o as pe, a0 as un, p as ue, q as Pt, r as vn, a4 as Dn, v as In, w as Pn, e as We, g as F, y as qe, h as ve, j as E, N as Ut, l as C, a1 as Un, C as Ft, z as Je, u as Ye, m as je, n as Xe, a3 as fn, a2 as Ht, V as Fn, A as zt, B as Hn, X as Bt, D as ut, E as zn, G as Gt } from "./CashierError-BD6RqW_4.js";
|
|
2
|
+
import { f as Wt } from "./CashierModal-wzdkmyre.js";
|
|
3
|
+
import { d as Yt, u as Bn, x as jt } from "./CashierMethodDetails-Yh-raa4P.js";
|
|
4
4
|
function Xt(n, t) {
|
|
5
5
|
Cn(n, t);
|
|
6
6
|
}
|
|
@@ -42,7 +42,7 @@ const {
|
|
|
42
42
|
} = Object;
|
|
43
43
|
let {
|
|
44
44
|
freeze: H,
|
|
45
|
-
seal:
|
|
45
|
+
seal: Z,
|
|
46
46
|
create: pn
|
|
47
47
|
} = Object, {
|
|
48
48
|
apply: ft,
|
|
@@ -51,7 +51,7 @@ let {
|
|
|
51
51
|
H || (H = function(t) {
|
|
52
52
|
return t;
|
|
53
53
|
});
|
|
54
|
-
|
|
54
|
+
Z || (Z = function(t) {
|
|
55
55
|
return t;
|
|
56
56
|
});
|
|
57
57
|
ft || (ft = function(t, i, o) {
|
|
@@ -60,7 +60,7 @@ ft || (ft = function(t, i, o) {
|
|
|
60
60
|
mt || (mt = function(t, i) {
|
|
61
61
|
return new t(...i);
|
|
62
62
|
});
|
|
63
|
-
const Be = X(Array.prototype.forEach),
|
|
63
|
+
const Be = X(Array.prototype.forEach), Jt = X(Array.prototype.pop), Le = X(Array.prototype.push), Ve = X(String.prototype.toLowerCase), st = X(String.prototype.toString), Kt = X(String.prototype.match), Me = X(String.prototype.replace), Xn = X(String.prototype.indexOf), Vn = X(String.prototype.trim), te = X(Object.prototype.hasOwnProperty), U = X(RegExp.prototype.test), Oe = qn(TypeError);
|
|
64
64
|
function X(n) {
|
|
65
65
|
return function(t) {
|
|
66
66
|
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), r = 1; r < i; r++)
|
|
@@ -89,7 +89,7 @@ function f(n, t) {
|
|
|
89
89
|
}
|
|
90
90
|
return n;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function Jn(n) {
|
|
93
93
|
for (let t = 0; t < n.length; t++)
|
|
94
94
|
te(n, t) || (n[t] = null);
|
|
95
95
|
return n;
|
|
@@ -97,7 +97,7 @@ function Kn(n) {
|
|
|
97
97
|
function _e(n) {
|
|
98
98
|
const t = pn(null);
|
|
99
99
|
for (const [i, o] of mn(n))
|
|
100
|
-
te(n, i) && (Array.isArray(o) ? t[i] =
|
|
100
|
+
te(n, i) && (Array.isArray(o) ? t[i] = Jn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = _e(o) : t[i] = o);
|
|
101
101
|
return t;
|
|
102
102
|
}
|
|
103
103
|
function Ne(n, t) {
|
|
@@ -116,13 +116,13 @@ function Ne(n, t) {
|
|
|
116
116
|
}
|
|
117
117
|
return i;
|
|
118
118
|
}
|
|
119
|
-
const
|
|
119
|
+
const Zt = H(["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"]), rt = H(["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"]), at = H(["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 = H(["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"]), lt = H(["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"]), Zn = H(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Qt = H(["#text"]), $t = H(["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"]), ct = H(["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 = H(["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"]), Ge = H(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Qn = Z(/\{\{[\w\W]*|[\w\W]*\}\}/gm), $n = Z(/<%[\w\W]*|[\w\W]*%>/gm), ei = Z(/\${[\w\W]*}/gm), ti = Z(/^data-[\-\w.\u00B7-\uFFFF]/), ni = Z(/^aria-[\-\w]+$/), dn = Z(
|
|
120
120
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
121
121
|
// eslint-disable-line no-useless-escape
|
|
122
|
-
), ii =
|
|
122
|
+
), ii = Z(/^(?:\w+script|data):/i), oi = Z(
|
|
123
123
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
124
124
|
// eslint-disable-line no-control-regex
|
|
125
|
-
), hn =
|
|
125
|
+
), hn = Z(/^html$/i), si = Z(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
126
126
|
var tn = /* @__PURE__ */ Object.freeze({
|
|
127
127
|
__proto__: null,
|
|
128
128
|
MUSTACHE_EXPR: Qn,
|
|
@@ -138,11 +138,20 @@ var tn = /* @__PURE__ */ Object.freeze({
|
|
|
138
138
|
});
|
|
139
139
|
const ke = {
|
|
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
|
}, ri = function() {
|
|
147
156
|
return typeof window == "undefined" ? null : window;
|
|
148
157
|
}, ai = function(t, i) {
|
|
@@ -191,7 +200,7 @@ function gn() {
|
|
|
191
200
|
let p, W = "";
|
|
192
201
|
const {
|
|
193
202
|
implementation: q,
|
|
194
|
-
createNodeIterator:
|
|
203
|
+
createNodeIterator: J,
|
|
195
204
|
createDocumentFragment: L,
|
|
196
205
|
getElementsByTagName: Q
|
|
197
206
|
} = i, {
|
|
@@ -204,7 +213,7 @@ function gn() {
|
|
|
204
213
|
ERB_EXPR: $,
|
|
205
214
|
TMPLIT_EXPR: N,
|
|
206
215
|
DATA_ATTR: Ee,
|
|
207
|
-
ARIA_ATTR:
|
|
216
|
+
ARIA_ATTR: K,
|
|
208
217
|
IS_SCRIPT_OR_DATA: se,
|
|
209
218
|
ATTR_WHITESPACE: h,
|
|
210
219
|
CUSTOM_ELEMENT: S
|
|
@@ -212,7 +221,7 @@ function gn() {
|
|
|
212
221
|
let {
|
|
213
222
|
IS_ALLOWED_URI: me
|
|
214
223
|
} = tn, A = null;
|
|
215
|
-
const De = f({}, [...
|
|
224
|
+
const De = f({}, [...Zt, ...rt, ...at, ...lt, ...Qt]);
|
|
216
225
|
let y = null;
|
|
217
226
|
const Ie = f({}, [...$t, ...ct, ...en, ...Ge]);
|
|
218
227
|
let a = Object.seal(pn(null, {
|
|
@@ -234,7 +243,7 @@ function gn() {
|
|
|
234
243
|
enumerable: !0,
|
|
235
244
|
value: !1
|
|
236
245
|
}
|
|
237
|
-
})), T = null, ee = null, B = !0,
|
|
246
|
+
})), T = null, ee = null, B = !0, Ke = !0, pt = !1, dt = !0, Te = !1, Ze = !0, ge = !1, Qe = !1, $e = !1, Se = !1, Pe = !1, Ue = !1, ht = !0, gt = !1;
|
|
238
247
|
const _n = "user-content-";
|
|
239
248
|
let et = !0, Ce = !1, be = {}, Ae = null;
|
|
240
249
|
const _t = 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"]);
|
|
@@ -267,7 +276,7 @@ function gn() {
|
|
|
267
276
|
// eslint-disable-line indent
|
|
268
277
|
M
|
|
269
278
|
// eslint-disable-line indent
|
|
270
|
-
) : Tt, Ae = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, M) : _t, T = 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, B = e.ALLOW_ARIA_ATTR !== !1,
|
|
279
|
+
) : Tt, Ae = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, M) : _t, T = 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, B = e.ALLOW_ARIA_ATTR !== !1, Ke = e.ALLOW_DATA_ATTR !== !1, pt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, dt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Te = e.SAFE_FOR_TEMPLATES || !1, Ze = 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, ht = e.SANITIZE_DOM !== !1, gt = e.SANITIZE_NAMED_PROPS || !1, et = e.KEEP_CONTENT !== !1, Ce = e.IN_PLACE || !1, me = e.ALLOWED_URI_REGEXP || dn, ye = e.NAMESPACE || re, a = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (a.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (a.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (a.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Te && (Ke = !1), Pe && (Se = !0), be && (A = f({}, Qt), y = [], be.html === !0 && (f(A, Zt), 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 === De && (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 === _t && (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 T.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")
|
|
@@ -277,7 +286,7 @@ function gn() {
|
|
|
277
286
|
p === void 0 && (p = ai(V, r)), p !== null && typeof W == "string" && (W = p.createHTML(""));
|
|
278
287
|
H && H(e), we = e;
|
|
279
288
|
}
|
|
280
|
-
}, At = f({}, ["mi", "mo", "mn", "ms", "mtext"]), yt = f({}, ["foreignobject", "annotation-xml"]), An = f({}, ["title", "style", "font", "a", "script"]), wt = f({}, [...rt, ...at, ...
|
|
289
|
+
}, At = f({}, ["mi", "mo", "mn", "ms", "mtext"]), yt = f({}, ["foreignobject", "annotation-xml"]), An = f({}, ["title", "style", "font", "a", "script"]), wt = f({}, [...rt, ...at, ...Kn]), Ct = f({}, [...lt, ...Zn]), yn = function(e) {
|
|
281
290
|
let s = d(e);
|
|
282
291
|
(!s || !s.tagName) && (s = {
|
|
283
292
|
namespaceURI: ye,
|
|
@@ -322,7 +331,7 @@ function gn() {
|
|
|
322
331
|
if ($e)
|
|
323
332
|
e = "<remove></remove>" + e;
|
|
324
333
|
else {
|
|
325
|
-
const k =
|
|
334
|
+
const k = Kt(e, /^[\r\n\t ]+/);
|
|
326
335
|
c = k && k[0];
|
|
327
336
|
}
|
|
328
337
|
xe === "application/xhtml+xml" && ye === re && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
@@ -342,7 +351,7 @@ function gn() {
|
|
|
342
351
|
const I = s.body || s.documentElement;
|
|
343
352
|
return e && c && I.insertBefore(i.createTextNode(c), I.childNodes[0] || null), ye === re ? Q.call(s, ge ? "html" : "body")[0] : ge ? s.documentElement : I;
|
|
344
353
|
}, Rt = function(e) {
|
|
345
|
-
return
|
|
354
|
+
return J.call(
|
|
346
355
|
e.ownerDocument || e,
|
|
347
356
|
e,
|
|
348
357
|
// eslint-disable-next-line no-bitwise
|
|
@@ -365,7 +374,7 @@ function gn() {
|
|
|
365
374
|
if (ae("uponSanitizeElement", e, {
|
|
366
375
|
tagName: c,
|
|
367
376
|
allowedTags: A
|
|
368
|
-
}), e.hasChildNodes() && !Mt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === ke.progressingInstruction ||
|
|
377
|
+
}), e.hasChildNodes() && !Mt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === ke.progressingInstruction || Ze && e.nodeType === ke.comment && U(/<[/\w]/g, e.data))
|
|
369
378
|
return ne(e), !0;
|
|
370
379
|
if (!A[c] || T[c]) {
|
|
371
380
|
if (!T[c] && kt(c) && (a.tagNameCheck instanceof RegExp && U(a.tagNameCheck, c) || a.tagNameCheck instanceof Function && a.tagNameCheck(c)))
|
|
@@ -390,8 +399,8 @@ function gn() {
|
|
|
390
399
|
}, Nt = function(e, s, c) {
|
|
391
400
|
if (ht && (s === "id" || s === "name") && (c in i || c in bn))
|
|
392
401
|
return !1;
|
|
393
|
-
if (!(
|
|
394
|
-
if (!(B && U(
|
|
402
|
+
if (!(Ke && !ee[s] && U(Ee, s))) {
|
|
403
|
+
if (!(B && U(K, s))) {
|
|
395
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
|
|
@@ -416,7 +425,7 @@ function gn() {
|
|
|
416
425
|
}
|
|
417
426
|
return !0;
|
|
418
427
|
}, kt = function(e) {
|
|
419
|
-
return e !== "annotation-xml" &&
|
|
428
|
+
return e !== "annotation-xml" && Kt(e, S);
|
|
420
429
|
}, vt = function(e) {
|
|
421
430
|
ae("beforeSanitizeAttributes", e, null);
|
|
422
431
|
const {
|
|
@@ -438,7 +447,7 @@ function gn() {
|
|
|
438
447
|
value: ie
|
|
439
448
|
} = I, Re = M(k);
|
|
440
449
|
let P = k === "value" ? ie : Vn(ie);
|
|
441
|
-
if (c.attrName = Re, c.attrValue = P, c.keepAttr = !0, c.forceKeepAttr = void 0, ae("uponSanitizeAttribute", e, c), P = c.attrValue,
|
|
450
|
+
if (c.attrName = Re, c.attrValue = P, c.keepAttr = !0, c.forceKeepAttr = void 0, ae("uponSanitizeAttribute", e, c), P = c.attrValue, Ze && U(/((--!?|])>)|<\/(style|title)/i, P)) {
|
|
442
451
|
ze(k, e);
|
|
443
452
|
continue;
|
|
444
453
|
}
|
|
@@ -465,7 +474,7 @@ function gn() {
|
|
|
465
474
|
}
|
|
466
475
|
}
|
|
467
476
|
try {
|
|
468
|
-
G ? e.setAttributeNS(G, k, P) : e.setAttribute(k, P), Lt(e) ? ne(e) :
|
|
477
|
+
G ? e.setAttributeNS(G, k, P) : e.setAttribute(k, P), Lt(e) ? ne(e) : Jt(t.removed);
|
|
469
478
|
} catch (It) {
|
|
470
479
|
}
|
|
471
480
|
}
|
|
@@ -535,7 +544,7 @@ function gn() {
|
|
|
535
544
|
typeof e == "function" && (g[u] = g[u] || [], Le(g[u], e));
|
|
536
545
|
}, t.removeHook = function(u) {
|
|
537
546
|
if (g[u])
|
|
538
|
-
return
|
|
547
|
+
return Jt(g[u]);
|
|
539
548
|
}, t.removeHooks = function(u) {
|
|
540
549
|
g[u] && (g[u] = []);
|
|
541
550
|
}, t.removeAllHooks = function() {
|
|
@@ -544,7 +553,7 @@ function gn() {
|
|
|
544
553
|
}
|
|
545
554
|
var nn = gn();
|
|
546
555
|
function li(n) {
|
|
547
|
-
|
|
556
|
+
kn(n, "svelte-122ajk5", "*,*::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)}.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}.CashierSessionExpirationButton{display:flex;width:100%;height:36px;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0;color:var(--emw--color-white, #FFF);cursor:pointer;text-align:center;font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);line-height:36px;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E);border:none}.CashierSessionExpirationButton:hover{background:var(--emw--color-main-button-hover, #71B11B)}.CashierSessionExpirationButton:active{background:var(--emw--color-main-button-active, #5C950F)}.CashierSessionExpirationButton:disabled{background:var(--emw--color-main-button-disabled, #5C950F)}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}.ImagePlaceholder{height:250px;width:100%;background:#E6E6E6}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}");
|
|
548
557
|
}
|
|
549
558
|
const ci = (n) => ({}), on = (n) => ({}), ui = (n) => ({}), sn = (n) => ({}), fi = (n) => ({}), rn = (n) => ({}), mi = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
|
|
550
559
|
function ln(n) {
|
|
@@ -555,13 +564,13 @@ function ln(n) {
|
|
|
555
564
|
const q = (
|
|
556
565
|
/*#slots*/
|
|
557
566
|
n[22].icon
|
|
558
|
-
),
|
|
567
|
+
), J = We(
|
|
559
568
|
q,
|
|
560
569
|
n,
|
|
561
570
|
/*$$scope*/
|
|
562
571
|
n[21],
|
|
563
572
|
an
|
|
564
|
-
), L =
|
|
573
|
+
), L = J || hi(n), Q = (
|
|
565
574
|
/*#slots*/
|
|
566
575
|
n[22].title
|
|
567
576
|
), oe = We(
|
|
@@ -579,34 +588,34 @@ function ln(n) {
|
|
|
579
588
|
/*$$scope*/
|
|
580
589
|
n[21],
|
|
581
590
|
sn
|
|
582
|
-
), N = $ || _i(n), Ee = [Ti, Ei],
|
|
591
|
+
), N = $ || _i(n), Ee = [Ti, Ei], K = [];
|
|
583
592
|
function se(h, S) {
|
|
584
593
|
return (
|
|
585
594
|
/*showLoaderButton*/
|
|
586
595
|
h[6] ? 0 : 1
|
|
587
596
|
);
|
|
588
597
|
}
|
|
589
|
-
return R = se(n), O =
|
|
598
|
+
return R = se(n), O = K[R] = Ee[R](n), {
|
|
590
599
|
c() {
|
|
591
|
-
t = F("div"), i = F("div"), o = F("div"), r = F("div"), l = F("div"), v =
|
|
592
|
-
n[6], E(b, "class", "CashierSessionExpirationButton"), E(x, "class", "CashierSessionExpiration"), E(w, "class", "CashierSessionExpirationModalContainer"), E(o, "class", "CashierSessionExpirationModalWrapper"), E(i, "class", "CashierSessionExpirationModalWindow"), E(i, "id", "CashierSessionExpirationModal"),
|
|
600
|
+
t = F("div"), i = F("div"), o = F("div"), r = F("div"), l = F("div"), v = qe(m), D = ve(), w = F("div"), x = F("div"), L && L.c(), de = ve(), g && g.c(), he = ve(), N && N.c(), V = ve(), b = F("button"), O.c(), E(l, "class", "CashierSessionExpirationModalHeaderTitle"), E(r, "class", "CashierSessionExpirationModalHeader"), E(b, "type", "button"), b.disabled = /*showLoaderButton*/
|
|
601
|
+
n[6], E(b, "class", "CashierSessionExpirationButton"), E(x, "class", "CashierSessionExpiration"), E(w, "class", "CashierSessionExpirationModalContainer"), E(o, "class", "CashierSessionExpirationModalWrapper"), E(i, "class", "CashierSessionExpirationModalWindow"), E(i, "id", "CashierSessionExpirationModal"), Ut(() => (
|
|
593
602
|
/*div5_elementresize_handler*/
|
|
594
603
|
n[24].call(i)
|
|
595
604
|
));
|
|
596
605
|
},
|
|
597
606
|
m(h, S) {
|
|
598
|
-
|
|
607
|
+
ce(h, t, S), C(t, i), C(i, o), C(o, r), C(r, l), C(l, v), C(o, D), 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), K[R].m(b, null), n[23](x), fe = Un(
|
|
599
608
|
i,
|
|
600
609
|
/*div5_elementresize_handler*/
|
|
601
610
|
n[24].bind(i)
|
|
602
611
|
), n[25](t), d = !0, p || (W = [
|
|
603
|
-
|
|
612
|
+
Ft(
|
|
604
613
|
b,
|
|
605
614
|
"click",
|
|
606
615
|
/*renewSession*/
|
|
607
616
|
n[9]
|
|
608
617
|
),
|
|
609
|
-
|
|
618
|
+
Ft(
|
|
610
619
|
i,
|
|
611
620
|
"click",
|
|
612
621
|
/*outOfModalClick*/
|
|
@@ -617,9 +626,9 @@ function ln(n) {
|
|
|
617
626
|
p(h, S) {
|
|
618
627
|
n = h, (!d || S[0] & /*$_*/
|
|
619
628
|
256) && m !== (m = /*$_*/
|
|
620
|
-
n[8]("sessionExpirationHeader") + "") &&
|
|
629
|
+
n[8]("sessionExpirationHeader") + "") && Je(v, m), J ? J.p && (!d || S[0] & /*$$scope*/
|
|
621
630
|
2097152) && Ye(
|
|
622
|
-
|
|
631
|
+
J,
|
|
623
632
|
q,
|
|
624
633
|
n,
|
|
625
634
|
/*$$scope*/
|
|
@@ -676,28 +685,28 @@ function ln(n) {
|
|
|
676
685
|
) : N && N.p && (!d || S[0] & /*$_, timeLeft*/
|
|
677
686
|
384) && N.p(n, d ? S : [-1, -1]);
|
|
678
687
|
let me = R;
|
|
679
|
-
R = se(n), R === me ?
|
|
680
|
-
|
|
681
|
-
}), un(), O =
|
|
688
|
+
R = se(n), R === me ? K[R].p(n, S) : (fn(), pe(K[me], 1, 1, () => {
|
|
689
|
+
K[me] = null;
|
|
690
|
+
}), un(), O = K[R], O ? O.p(n, S) : (O = K[R] = Ee[R](n), O.c()), le(O, 1), O.m(b, null)), (!d || S[0] & /*showLoaderButton*/
|
|
682
691
|
64) && (b.disabled = /*showLoaderButton*/
|
|
683
692
|
n[6]);
|
|
684
693
|
},
|
|
685
694
|
i(h) {
|
|
686
|
-
d || (le(L, h), le(g, h), le(N, h), le(O), h &&
|
|
687
|
-
d && (z || (z =
|
|
695
|
+
d || (le(L, h), le(g, h), le(N, h), le(O), h && Ut(() => {
|
|
696
|
+
d && (z || (z = Ht(i, Wt, { duration: (
|
|
688
697
|
/*duration*/
|
|
689
698
|
n[2]
|
|
690
699
|
) }, !0)), z.run(1));
|
|
691
700
|
}), d = !0);
|
|
692
701
|
},
|
|
693
702
|
o(h) {
|
|
694
|
-
pe(L, h), pe(g, h), pe(N, h), pe(O), h && (z || (z =
|
|
703
|
+
pe(L, h), pe(g, h), pe(N, h), pe(O), h && (z || (z = Ht(i, Wt, { duration: (
|
|
695
704
|
/*duration*/
|
|
696
705
|
n[2]
|
|
697
706
|
) }, !1)), z.run(0)), d = !1;
|
|
698
707
|
},
|
|
699
708
|
d(h) {
|
|
700
|
-
h &&
|
|
709
|
+
h && ue(t), L && L.d(h), g && g.d(h), N && N.d(h), K[R].d(), n[23](null), fe(), h && z && z.end(), n[25](null), p = !1, Fn(W);
|
|
701
710
|
}
|
|
702
711
|
};
|
|
703
712
|
}
|
|
@@ -708,11 +717,11 @@ function pi(n) {
|
|
|
708
717
|
t = F("div"), E(t, "class", "ImagePlaceholder");
|
|
709
718
|
},
|
|
710
719
|
m(i, o) {
|
|
711
|
-
|
|
720
|
+
ce(i, t, o);
|
|
712
721
|
},
|
|
713
722
|
p: ut,
|
|
714
723
|
d(i) {
|
|
715
|
-
i &&
|
|
724
|
+
i && ue(t);
|
|
716
725
|
}
|
|
717
726
|
};
|
|
718
727
|
}
|
|
@@ -724,7 +733,7 @@ function di(n) {
|
|
|
724
733
|
n[3]}/set-timeout-icon.png`) || E(t, "src", i), E(t, "width", "300px"), E(t, "alt", "error");
|
|
725
734
|
},
|
|
726
735
|
m(o, r) {
|
|
727
|
-
|
|
736
|
+
ce(o, t, r);
|
|
728
737
|
},
|
|
729
738
|
p(o, r) {
|
|
730
739
|
r[0] & /*assetsurl*/
|
|
@@ -732,7 +741,7 @@ function di(n) {
|
|
|
732
741
|
o[3]}/set-timeout-icon.png`) && E(t, "src", i);
|
|
733
742
|
},
|
|
734
743
|
d(o) {
|
|
735
|
-
o &&
|
|
744
|
+
o && ue(t);
|
|
736
745
|
}
|
|
737
746
|
};
|
|
738
747
|
}
|
|
@@ -747,16 +756,16 @@ function hi(n) {
|
|
|
747
756
|
let o = i(n), r = o(n);
|
|
748
757
|
return {
|
|
749
758
|
c() {
|
|
750
|
-
r.c(), t =
|
|
759
|
+
r.c(), t = cn();
|
|
751
760
|
},
|
|
752
761
|
m(l, m) {
|
|
753
|
-
r.m(l, m),
|
|
762
|
+
r.m(l, m), ce(l, t, m);
|
|
754
763
|
},
|
|
755
764
|
p(l, m) {
|
|
756
765
|
o === (o = i(l)) && r ? r.p(l, m) : (r.d(1), r = o(l), r && (r.c(), r.m(t.parentNode, t)));
|
|
757
766
|
},
|
|
758
767
|
d(l) {
|
|
759
|
-
l &&
|
|
768
|
+
l && ue(t), r.d(l);
|
|
760
769
|
}
|
|
761
770
|
};
|
|
762
771
|
}
|
|
@@ -767,18 +776,18 @@ function gi(n) {
|
|
|
767
776
|
), o;
|
|
768
777
|
return {
|
|
769
778
|
c() {
|
|
770
|
-
t = F("span"), o =
|
|
779
|
+
t = F("span"), o = qe(i), E(t, "class", "CashierSessionExpirationTitle");
|
|
771
780
|
},
|
|
772
781
|
m(r, l) {
|
|
773
|
-
|
|
782
|
+
ce(r, t, l), C(t, o);
|
|
774
783
|
},
|
|
775
784
|
p(r, l) {
|
|
776
785
|
l[0] & /*$_*/
|
|
777
786
|
256 && i !== (i = /*$_*/
|
|
778
|
-
r[8]("sessionExpirationTitle") + "") &&
|
|
787
|
+
r[8]("sessionExpirationTitle") + "") && Je(o, i);
|
|
779
788
|
},
|
|
780
789
|
d(r) {
|
|
781
|
-
r &&
|
|
790
|
+
r && ue(t);
|
|
782
791
|
}
|
|
783
792
|
};
|
|
784
793
|
}
|
|
@@ -795,7 +804,7 @@ function _i(n) {
|
|
|
795
804
|
t = F("span"), E(t, "class", "CashierSessionExpirationText");
|
|
796
805
|
},
|
|
797
806
|
m(o, r) {
|
|
798
|
-
|
|
807
|
+
ce(o, t, r), t.innerHTML = i;
|
|
799
808
|
},
|
|
800
809
|
p(o, r) {
|
|
801
810
|
r[0] & /*$_, timeLeft*/
|
|
@@ -808,7 +817,7 @@ function _i(n) {
|
|
|
808
817
|
) + "") && (t.innerHTML = i);
|
|
809
818
|
},
|
|
810
819
|
d(o) {
|
|
811
|
-
o &&
|
|
820
|
+
o && ue(t);
|
|
812
821
|
}
|
|
813
822
|
};
|
|
814
823
|
}
|
|
@@ -871,20 +880,20 @@ function Ti(n) {
|
|
|
871
880
|
), v;
|
|
872
881
|
return {
|
|
873
882
|
c() {
|
|
874
|
-
t = F("div"), i = Bt("svg"), o = Bt("path"), r = ve(), l = F("span"), v =
|
|
883
|
+
t = F("div"), i = Bt("svg"), o = Bt("path"), r = ve(), l = F("span"), v = qe(m), E(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"), E(o, "fill", "white"), E(i, "class", "CashierSessionExpirationButtonSpinner"), E(i, "xmlns", "http://www.w3.org/2000/svg"), E(i, "width", "15"), E(i, "height", "14"), E(i, "viewBox", "0 0 15 14"), E(i, "fill", "none"), E(l, "class", "CashierSessionExpirationButtonText");
|
|
875
884
|
},
|
|
876
885
|
m(D, w) {
|
|
877
|
-
|
|
886
|
+
ce(D, t, w), C(t, i), C(i, o), C(t, r), C(t, l), C(l, v);
|
|
878
887
|
},
|
|
879
888
|
p(D, w) {
|
|
880
889
|
w[0] & /*$_*/
|
|
881
890
|
256 && m !== (m = /*$_*/
|
|
882
|
-
D[8]("sessionExpirationLoadingButton") + "") &&
|
|
891
|
+
D[8]("sessionExpirationLoadingButton") + "") && Je(v, m);
|
|
883
892
|
},
|
|
884
893
|
i: ut,
|
|
885
894
|
o: ut,
|
|
886
895
|
d(D) {
|
|
887
|
-
D &&
|
|
896
|
+
D && ue(t);
|
|
888
897
|
}
|
|
889
898
|
};
|
|
890
899
|
}
|
|
@@ -895,18 +904,18 @@ function Si(n) {
|
|
|
895
904
|
), o;
|
|
896
905
|
return {
|
|
897
906
|
c() {
|
|
898
|
-
t = F("span"), o =
|
|
907
|
+
t = F("span"), o = qe(i), E(t, "class", "CashierSessionExpirationButtonText");
|
|
899
908
|
},
|
|
900
909
|
m(r, l) {
|
|
901
|
-
|
|
910
|
+
ce(r, t, l), C(t, o);
|
|
902
911
|
},
|
|
903
912
|
p(r, l) {
|
|
904
913
|
l[0] & /*$_*/
|
|
905
914
|
256 && i !== (i = /*$_*/
|
|
906
|
-
r[8]("sessionExpirationGeneralButton") + "") &&
|
|
915
|
+
r[8]("sessionExpirationGeneralButton") + "") && Je(o, i);
|
|
907
916
|
},
|
|
908
917
|
d(r) {
|
|
909
|
-
r &&
|
|
918
|
+
r && ue(t);
|
|
910
919
|
}
|
|
911
920
|
};
|
|
912
921
|
}
|
|
@@ -917,15 +926,15 @@ function bi(n) {
|
|
|
917
926
|
);
|
|
918
927
|
return {
|
|
919
928
|
c() {
|
|
920
|
-
o && o.c(), t =
|
|
929
|
+
o && o.c(), t = cn();
|
|
921
930
|
},
|
|
922
931
|
m(r, l) {
|
|
923
|
-
o && o.m(r, l),
|
|
932
|
+
o && o.m(r, l), ce(r, t, l), i = !0;
|
|
924
933
|
},
|
|
925
934
|
p(r, l) {
|
|
926
935
|
/*show*/
|
|
927
936
|
r[5] ? o ? (o.p(r, l), l[0] & /*show*/
|
|
928
|
-
32 && le(o, 1)) : (o = ln(r), o.c(), le(o, 1), o.m(t.parentNode, t)) : o && (
|
|
937
|
+
32 && le(o, 1)) : (o = ln(r), o.c(), le(o, 1), o.m(t.parentNode, t)) : o && (fn(), pe(o, 1, 1, () => {
|
|
929
938
|
o = null;
|
|
930
939
|
}), un());
|
|
931
940
|
},
|
|
@@ -936,7 +945,7 @@ function bi(n) {
|
|
|
936
945
|
pe(o), i = !1;
|
|
937
946
|
},
|
|
938
947
|
d(r) {
|
|
939
|
-
r &&
|
|
948
|
+
r && ue(t), o && o.d(r);
|
|
940
949
|
}
|
|
941
950
|
};
|
|
942
951
|
}
|
|
@@ -946,7 +955,7 @@ function yi(n, t, i) {
|
|
|
946
955
|
Pt(n, jt, (a) => i(20, o = a)), Pt(n, zn, (a) => i(8, r = a));
|
|
947
956
|
let { $$slots: l = {}, $$scope: m } = t;
|
|
948
957
|
Yt.extend(Bn);
|
|
949
|
-
let { clientstyling: v = "" } = t, { clientstylingurl: D = "" } = 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: fe } = t, { selectedpaymentmethodname: z } = t, { mbsource: d = "" } = t, p, W = !1, q = !1,
|
|
958
|
+
let { clientstyling: v = "" } = t, { clientstylingurl: D = "" } = 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: fe } = t, { selectedpaymentmethodname: z } = t, { mbsource: d = "" } = t, p, W = !1, q = !1, J, L, Q, oe, g;
|
|
950
959
|
var Y;
|
|
951
960
|
(function(a) {
|
|
952
961
|
a.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", a.Success = "Success", a.JwtTokenError = "JwtTokenError";
|
|
@@ -967,18 +976,18 @@ function yi(n, t, i) {
|
|
|
967
976
|
},
|
|
968
977
|
window.location.href
|
|
969
978
|
);
|
|
970
|
-
},
|
|
979
|
+
}, K = (a) => {
|
|
971
980
|
i(5, W = !1);
|
|
972
981
|
const T = N(a);
|
|
973
|
-
T && (L = T == null ? void 0 : T.exp, i(7,
|
|
982
|
+
T && (L = T == null ? void 0 : T.exp, i(7, J = L), Q && clearInterval(Q), Q = setInterval(
|
|
974
983
|
() => {
|
|
975
984
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
976
|
-
i(7,
|
|
985
|
+
i(7, J = L - ee), J <= Ai && i(5, W = !0), ee >= L && (se(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
977
986
|
},
|
|
978
987
|
1e3
|
|
979
988
|
));
|
|
980
989
|
}, se = () => {
|
|
981
|
-
i(7,
|
|
990
|
+
i(7, J = 0), i(5, W = !1), clearInterval(Q);
|
|
982
991
|
}, h = () => {
|
|
983
992
|
if (q)
|
|
984
993
|
return;
|
|
@@ -1033,9 +1042,9 @@ function yi(n, t, i) {
|
|
|
1033
1042
|
const A = () => {
|
|
1034
1043
|
Gn(V);
|
|
1035
1044
|
};
|
|
1036
|
-
|
|
1045
|
+
vn(() => (window.addEventListener("message", $, !1), () => {
|
|
1037
1046
|
window.removeEventListener("message", $);
|
|
1038
|
-
})),
|
|
1047
|
+
})), Dn(() => {
|
|
1039
1048
|
clearInterval(Q);
|
|
1040
1049
|
});
|
|
1041
1050
|
function De(a) {
|
|
@@ -1055,11 +1064,11 @@ function yi(n, t, i) {
|
|
|
1055
1064
|
"clientstyling" in a && i(11, v = a.clientstyling), "clientstylingurl" in a && i(12, D = a.clientstylingurl), "width" in a && i(0, w = a.width), "height" in a && i(1, x = a.height), "duration" in a && i(2, de = a.duration), "assetsurl" in a && i(3, he = a.assetsurl), "lang" in a && i(13, V = a.lang), "translationurl" in a && i(14, b = a.translationurl), "endpoint" in a && i(15, R = a.endpoint), "currency" in a && i(16, O = a.currency), "customerid" in a && i(17, fe = a.customerid), "selectedpaymentmethodname" in a && i(18, z = a.selectedpaymentmethodname), "mbsource" in a && i(19, d = a.mbsource), "$$scope" in a && i(21, m = a.$$scope);
|
|
1056
1065
|
}, n.$$.update = () => {
|
|
1057
1066
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1058
|
-
1048576 &&
|
|
1067
|
+
1048576 && K(o), n.$$.dirty[0] & /*lang*/
|
|
1059
1068
|
8192 && V && A(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1060
|
-
2064 && v && p &&
|
|
1061
|
-
4112 && D && p &&
|
|
1062
|
-
524304 && d && p &&
|
|
1069
|
+
2064 && v && p && Hn(p, v), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1070
|
+
4112 && D && p && In(p, D), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1071
|
+
524304 && d && p && Pn(p, `${d}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
1063
1072
|
16384 && b && me();
|
|
1064
1073
|
}, [
|
|
1065
1074
|
w,
|
|
@@ -1069,7 +1078,7 @@ function yi(n, t, i) {
|
|
|
1069
1078
|
p,
|
|
1070
1079
|
W,
|
|
1071
1080
|
q,
|
|
1072
|
-
|
|
1081
|
+
J,
|
|
1073
1082
|
r,
|
|
1074
1083
|
h,
|
|
1075
1084
|
S,
|
|
@@ -1097,7 +1106,7 @@ class wi extends Ln {
|
|
|
1097
1106
|
t,
|
|
1098
1107
|
yi,
|
|
1099
1108
|
bi,
|
|
1100
|
-
|
|
1109
|
+
Nn,
|
|
1101
1110
|
{
|
|
1102
1111
|
clientstyling: 11,
|
|
1103
1112
|
clientstylingurl: 12,
|
|
@@ -1196,7 +1205,7 @@ class wi extends Ln {
|
|
|
1196
1205
|
this.$$set({ mbsource: t }), j();
|
|
1197
1206
|
}
|
|
1198
1207
|
}
|
|
1199
|
-
|
|
1208
|
+
On(wi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1200
1209
|
export {
|
|
1201
1210
|
wi as default
|
|
1202
1211
|
};
|