@everymatrix/cashier-page 1.76.1 → 1.76.4
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-DsMwtzxf.cjs +8 -0
- package/components/CashierError-Em-_czPe.js +4724 -0
- package/components/CashierError-yvKyTaTC.js +4687 -0
- package/components/{CashierHeader-CCegZMC-.cjs → CashierHeader-CuDEl1w1.cjs} +1 -1
- package/components/{CashierHeader-DNaxJTUL.js → CashierHeader-Dxi8Jtj4.js} +35 -35
- package/components/{CashierHeader-BbZGAnuG.js → CashierHeader-RLJk1gKN.js} +37 -37
- package/components/{CashierIframeRedirect-C4vwtj8l.js → CashierIframeRedirect-Cco7Gb7R.js} +28 -28
- package/components/{CashierIframeRedirect-Blfr3pyV.cjs → CashierIframeRedirect-CnJ84d_e.cjs} +1 -1
- package/components/{CashierIframeRedirect-CTxdepS4.js → CashierIframeRedirect-N_09LMIf.js} +34 -34
- package/components/CashierMethodDetails-BdOa371S.cjs +99 -0
- package/components/{CashierMethodDetails-DVo0cXMI.js → CashierMethodDetails-Dkt9M8SJ.js} +2829 -2652
- package/components/{CashierMethodDetails-Baj2EjN-.js → CashierMethodDetails-I1ULEoTT.js} +2898 -2721
- package/components/{CashierMethodsList-DKbeO7Zb.js → CashierMethodsList-B-8ChoCF.js} +129 -129
- package/components/{CashierMethodsList-Dy8fB_k6.js → CashierMethodsList-Ws4f-d0D.js} +91 -91
- package/components/CashierMethodsList-v4GpQIuZ.cjs +1 -0
- package/components/CashierModal-BXxFqB-I.cjs +1 -0
- package/components/{CashierModal-CvFJoOmo.js → CashierModal-CASS0-KJ.js} +37 -37
- package/components/{CashierModal-IDFc2AKX.js → CashierModal-ClAusfBV.js} +37 -37
- package/components/{CashierNotifications-CN6iz8Le.js → CashierNotifications-B2IF5AKx.js} +32 -32
- package/components/{CashierNotifications-C8NH2amn.cjs → CashierNotifications-BCh3NAch.cjs} +1 -1
- package/components/{CashierNotifications-Ca26lmek.js → CashierNotifications-BpwG5KTj.js} +32 -32
- package/components/{CashierPage-CyTi5QHc.js → CashierPage-BBV2mhMw.js} +177 -177
- package/components/{CashierPage-CfO-JUd0.cjs → CashierPage-CGrBSaaJ.cjs} +1 -1
- package/components/{CashierPage-D5aNp8Ge.js → CashierPage-DrzPS3IQ.js} +159 -159
- package/components/CashierReceiptPage-B5AHJwdZ.js +1640 -0
- package/components/CashierReceiptPage-BagkO30m.js +1638 -0
- package/components/CashierReceiptPage-Bp8508qg.cjs +1 -0
- package/components/{CashierSessionExpirationModal-BLu4TNHt.js → CashierSessionExpirationModal-BJo_prcQ.js} +321 -331
- package/components/{CashierSessionExpirationModal-DBxlWcf6.js → CashierSessionExpirationModal-D1JlHD-p.js} +323 -333
- package/components/CashierSessionExpirationModal-NGNJ3oLH.cjs +2 -0
- package/components/{CashierSpinner-DDvJyQQW.cjs → CashierSpinner-B2gn5ROq.cjs} +1 -1
- package/components/{CashierSpinner-DFcKn5vy.js → CashierSpinner-BUwNkgvV.js} +19 -19
- package/components/{CashierSpinner-wbkrOsgH.js → CashierSpinner-C22FDQ97.js} +19 -19
- package/components/{CashierTransactionHistory-C-r7zjU6.js → CashierTransactionHistory-CVIrofQA.js} +76 -76
- package/components/{CashierTransactionHistory-BtkRWtAp.cjs → CashierTransactionHistory-ox8r32fd.cjs} +1 -1
- package/components/{CashierTransactionHistory-CCfgwGru.js → CashierTransactionHistory-qeDvpFLP.js} +119 -119
- package/components/{CashierVerifications-C7CPpJhz.js → CashierVerifications-BI0KHSGz.js} +25 -25
- package/components/{CashierVerifications-Cwymmpvc.js → CashierVerifications-BcD3FsVC.js} +34 -34
- package/components/CashierVerifications-CoUPH9y3.cjs +1 -0
- package/components/{TxnStatusIcon-CiKk-nYc.js → TxnStatusIcon-B04w0fo2.js} +27 -27
- package/components/{TxnStatusIcon-CRrx95-L.cjs → TxnStatusIcon-DFkrUixr.cjs} +1 -1
- package/components/{TxnStatusIcon-DXXsTrZP.js → TxnStatusIcon-nKCGcJ5M.js} +23 -23
- package/components/{TxnTypeIcons-DmiRydbQ.cjs → TxnTypeIcons-B37wJ04B.cjs} +1 -1
- package/components/{TxnTypeIcons-Cdt9fsws.js → TxnTypeIcons-CKT9qv8s.js} +14 -14
- package/components/{TxnTypeIcons-FNu8rfdT.js → TxnTypeIcons-CpvqiIon.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-97d17652--F7PvMq9.js +542 -0
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/index-97d17652-CCFHkzJw.js +558 -0
- package/stencil/index-b2193545-BoSqyMpB.js +519 -0
- package/stencil/index-b2193545-D4dOaNlR.js +503 -0
- package/stencil/index-b2193545-DGHOe8n4.cjs +1 -0
- package/stencil/{ui-image-4dZyD9yF.js → ui-image-BWJXFWH1.js} +1 -1
- package/stencil/{ui-image-CER01gdl.cjs → ui-image-ByEXiBzx.cjs} +1 -1
- package/stencil/{ui-image-6u7OR3Eo.js → ui-image-DIEeZy5u.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-qO3reSlr.js} +2 -2
- package/stencil/{ui-skeleton-BTr272EW.js → ui-skeleton-4-zrLsIW.js} +2 -2
- package/stencil/{ui-skeleton-P4PO_42z.js → ui-skeleton-9boHSjtG.js} +2 -2
- package/stencil/{ui-skeleton-C4Ir1ffm.cjs → ui-skeleton-DgAs7VA3.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-C7WHUwAT.js → ui-skeleton-ae35c6f2-8tYGV8SR.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-jcrjm-Kl.cjs → ui-skeleton-ae35c6f2-DLHrpWJM.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BIdXBK8D.js → ui-skeleton-ae35c6f2-IN_dPA5_.js} +1 -1
- package/components/CashierError-BQyQ2QE7.cjs +0 -21
- package/components/CashierError-DrApuR85.js +0 -4715
- package/components/CashierError-bO6xrjYl.js +0 -4752
- package/components/CashierMethodDetails-DdrzL7xr.cjs +0 -86
- package/components/CashierMethodsList-DPzaIMdg.cjs +0 -1
- package/components/CashierModal-Bn0175Ok.cjs +0 -1
- package/components/CashierReceiptPage-0O5m5b_q.js +0 -1605
- package/components/CashierReceiptPage-CihaXe7B.js +0 -1607
- package/components/CashierReceiptPage-Dpca_ujT.cjs +0 -1
- package/components/CashierSessionExpirationModal-Bzf6Fc1m.cjs +0 -2
- package/components/CashierVerifications-BnkVpYfm.cjs +0 -1
- package/stencil/index-97d17652-BD-QREJe.js +0 -558
- package/stencil/index-97d17652-DJqGt8q2.js +0 -542
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
- package/stencil/index-b2193545-ByMYc64n.cjs +0 -1
- package/stencil/index-b2193545-DWKmtYUG.js +0 -503
- package/stencil/index-b2193545-Dfy4Cgny.js +0 -519
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { a as Cn, i as
|
|
2
|
-
import { f as
|
|
3
|
-
import { d as Yt, u as
|
|
4
|
-
function
|
|
1
|
+
import { a as Cn, i as xn, $ as Rn, S as Ln, b as Mn, s as On, f as j, c as Nn, e as ce, t as pe, g as le, X as cn, Y as un, k as ue, r as fn, p as Pt, q as kn, a0 as vn, d as We, R as Dn, Z as Ut, K as Ft, v as qe, u as Ye, h as je, j as Xe, l as C, _ as In, z as Ht, m as F, w as Ke, n as ve, o as E, x as zt, y as ut, U as Bt, G as Gt, A as Pn, B as Un, C as Fn, D as Hn, E as zn } from "./CashierError-Em-_czPe.js";
|
|
2
|
+
import { f as Wt } from "./CashierModal-ClAusfBV.js";
|
|
3
|
+
import { d as Yt, u as Bn, x as jt } from "./CashierMethodDetails-I1ULEoTT.js";
|
|
4
|
+
function Xt(n, t) {
|
|
5
5
|
Cn(n, t);
|
|
6
6
|
}
|
|
7
7
|
function Gn(n) {
|
|
8
|
-
|
|
8
|
+
xn({
|
|
9
9
|
fallbackLocale: "en"
|
|
10
|
-
}),
|
|
10
|
+
}), Rn.set(n);
|
|
11
11
|
}
|
|
12
|
-
const
|
|
12
|
+
const Vt = {
|
|
13
13
|
en: {
|
|
14
14
|
sessionExpirationHeader: "Session Warning",
|
|
15
15
|
sessionExpirationTitle: "Your session is about to expire!",
|
|
@@ -36,68 +36,68 @@ const Xt = {
|
|
|
36
36
|
const {
|
|
37
37
|
entries: mn,
|
|
38
38
|
setPrototypeOf: qt,
|
|
39
|
-
isFrozen:
|
|
39
|
+
isFrozen: Wn,
|
|
40
40
|
getPrototypeOf: Yn,
|
|
41
41
|
getOwnPropertyDescriptor: jn
|
|
42
42
|
} = Object;
|
|
43
43
|
let {
|
|
44
|
-
freeze:
|
|
44
|
+
freeze: H,
|
|
45
45
|
seal: J,
|
|
46
46
|
create: pn
|
|
47
47
|
} = Object, {
|
|
48
|
-
apply:
|
|
49
|
-
construct:
|
|
48
|
+
apply: ft,
|
|
49
|
+
construct: mt
|
|
50
50
|
} = typeof Reflect != "undefined" && Reflect;
|
|
51
|
-
|
|
51
|
+
H || (H = function(t) {
|
|
52
52
|
return t;
|
|
53
53
|
});
|
|
54
54
|
J || (J = function(t) {
|
|
55
55
|
return t;
|
|
56
56
|
});
|
|
57
|
-
|
|
57
|
+
ft || (ft = function(t, i, o) {
|
|
58
58
|
return t.apply(i, o);
|
|
59
59
|
});
|
|
60
|
-
|
|
60
|
+
mt || (mt = function(t, i) {
|
|
61
61
|
return new t(...i);
|
|
62
62
|
});
|
|
63
|
-
const
|
|
64
|
-
function
|
|
63
|
+
const Be = X(Array.prototype.forEach), Kt = X(Array.prototype.pop), Le = X(Array.prototype.push), Ve = X(String.prototype.toLowerCase), st = X(String.prototype.toString), Zt = 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
|
+
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++)
|
|
67
67
|
o[r - 1] = arguments[r];
|
|
68
|
-
return
|
|
68
|
+
return ft(n, t, o);
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
function qn(n) {
|
|
72
72
|
return function() {
|
|
73
73
|
for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++)
|
|
74
74
|
i[o] = arguments[o];
|
|
75
|
-
return
|
|
75
|
+
return mt(n, i);
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
function f(n, t) {
|
|
79
|
-
let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
79
|
+
let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ve;
|
|
80
80
|
qt && qt(n, null);
|
|
81
81
|
let o = t.length;
|
|
82
82
|
for (; o--; ) {
|
|
83
83
|
let r = t[o];
|
|
84
84
|
if (typeof r == "string") {
|
|
85
85
|
const l = i(r);
|
|
86
|
-
l !== r && (
|
|
86
|
+
l !== r && (Wn(t) || (t[o] = l), r = l);
|
|
87
87
|
}
|
|
88
88
|
n[r] = !0;
|
|
89
89
|
}
|
|
90
90
|
return n;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function Kn(n) {
|
|
93
93
|
for (let t = 0; t < n.length; t++)
|
|
94
94
|
te(n, t) || (n[t] = null);
|
|
95
95
|
return n;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
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] = Kn(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) {
|
|
@@ -105,9 +105,9 @@ function Ne(n, t) {
|
|
|
105
105
|
const o = jn(n, t);
|
|
106
106
|
if (o) {
|
|
107
107
|
if (o.get)
|
|
108
|
-
return
|
|
108
|
+
return X(o.get);
|
|
109
109
|
if (typeof o.value == "function")
|
|
110
|
-
return
|
|
110
|
+
return X(o.value);
|
|
111
111
|
}
|
|
112
112
|
n = Yn(n);
|
|
113
113
|
}
|
|
@@ -116,7 +116,7 @@ function Ne(n, t) {
|
|
|
116
116
|
}
|
|
117
117
|
return i;
|
|
118
118
|
}
|
|
119
|
-
const Jt =
|
|
119
|
+
const Jt = 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"]), Zn = 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"]), Jn = 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 = J(/\{\{[\w\W]*|[\w\W]*\}\}/gm), $n = J(/<%[\w\W]*|[\w\W]*%>/gm), ei = J(/\${[\w\W]*}/gm), ti = J(/^data-[\-\w.\u00B7-\uFFFF]/), ni = J(/^aria-[\-\w]+$/), dn = J(
|
|
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
122
|
), ii = J(/^(?:\w+script|data):/i), oi = J(
|
|
@@ -138,20 +138,11 @@ var tn = /* @__PURE__ */ Object.freeze({
|
|
|
138
138
|
});
|
|
139
139
|
const ke = {
|
|
140
140
|
element: 1,
|
|
141
|
-
attribute: 2,
|
|
142
141
|
text: 3,
|
|
143
|
-
cdataSection: 4,
|
|
144
|
-
entityReference: 5,
|
|
145
|
-
// Deprecated
|
|
146
|
-
entityNode: 6,
|
|
147
142
|
// Deprecated
|
|
148
143
|
progressingInstruction: 7,
|
|
149
144
|
comment: 8,
|
|
150
|
-
document: 9
|
|
151
|
-
documentType: 10,
|
|
152
|
-
documentFragment: 11,
|
|
153
|
-
notation: 12
|
|
154
|
-
// Deprecated
|
|
145
|
+
document: 9
|
|
155
146
|
}, ri = function() {
|
|
156
147
|
return typeof window == "undefined" ? null : window;
|
|
157
148
|
}, ai = function(t, i) {
|
|
@@ -188,41 +179,41 @@ function gn() {
|
|
|
188
179
|
Node: v,
|
|
189
180
|
Element: D,
|
|
190
181
|
NodeFilter: w,
|
|
191
|
-
NamedNodeMap:
|
|
182
|
+
NamedNodeMap: x = n.NamedNodeMap || n.MozNamedAttrMap,
|
|
192
183
|
HTMLFormElement: de,
|
|
193
184
|
DOMParser: he,
|
|
194
|
-
trustedTypes:
|
|
195
|
-
} = n, b = D.prototype,
|
|
185
|
+
trustedTypes: V
|
|
186
|
+
} = n, b = D.prototype, R = Ne(b, "cloneNode"), O = Ne(b, "remove"), fe = Ne(b, "nextSibling"), z = Ne(b, "childNodes"), d = Ne(b, "parentNode");
|
|
196
187
|
if (typeof m == "function") {
|
|
197
188
|
const u = i.createElement("template");
|
|
198
189
|
u.content && u.content.ownerDocument && (i = u.content.ownerDocument);
|
|
199
190
|
}
|
|
200
|
-
let p,
|
|
191
|
+
let p, W = "";
|
|
201
192
|
const {
|
|
202
193
|
implementation: q,
|
|
203
|
-
createNodeIterator:
|
|
204
|
-
createDocumentFragment:
|
|
194
|
+
createNodeIterator: K,
|
|
195
|
+
createDocumentFragment: L,
|
|
205
196
|
getElementsByTagName: Q
|
|
206
197
|
} = i, {
|
|
207
198
|
importNode: oe
|
|
208
199
|
} = o;
|
|
209
|
-
let
|
|
200
|
+
let g = {};
|
|
210
201
|
t.isSupported = typeof mn == "function" && typeof d == "function" && q && q.createHTMLDocument !== void 0;
|
|
211
202
|
const {
|
|
212
203
|
MUSTACHE_EXPR: Y,
|
|
213
204
|
ERB_EXPR: $,
|
|
214
205
|
TMPLIT_EXPR: N,
|
|
215
206
|
DATA_ATTR: Ee,
|
|
216
|
-
ARIA_ATTR:
|
|
207
|
+
ARIA_ATTR: Z,
|
|
217
208
|
IS_SCRIPT_OR_DATA: se,
|
|
218
|
-
ATTR_WHITESPACE:
|
|
219
|
-
CUSTOM_ELEMENT:
|
|
209
|
+
ATTR_WHITESPACE: h,
|
|
210
|
+
CUSTOM_ELEMENT: S
|
|
220
211
|
} = tn;
|
|
221
212
|
let {
|
|
222
213
|
IS_ALLOWED_URI: me
|
|
223
|
-
} = tn,
|
|
214
|
+
} = tn, A = null;
|
|
224
215
|
const De = f({}, [...Jt, ...rt, ...at, ...lt, ...Qt]);
|
|
225
|
-
let
|
|
216
|
+
let y = null;
|
|
226
217
|
const Ie = f({}, [...$t, ...ct, ...en, ...Ge]);
|
|
227
218
|
let a = Object.seal(pn(null, {
|
|
228
219
|
tagNameCheck: {
|
|
@@ -243,80 +234,80 @@ function gn() {
|
|
|
243
234
|
enumerable: !0,
|
|
244
235
|
value: !1
|
|
245
236
|
}
|
|
246
|
-
})),
|
|
247
|
-
const
|
|
248
|
-
let et = !0, Ce = !1, be = {},
|
|
249
|
-
const
|
|
250
|
-
let
|
|
251
|
-
const
|
|
237
|
+
})), T = null, ee = null, B = !0, Ze = !0, pt = !1, dt = !0, Te = !1, Je = !0, ge = !1, Qe = !1, $e = !1, Se = !1, Pe = !1, Ue = !1, ht = !0, gt = !1;
|
|
238
|
+
const _n = "user-content-";
|
|
239
|
+
let et = !0, Ce = !1, be = {}, Ae = null;
|
|
240
|
+
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"]);
|
|
241
|
+
let Et = null;
|
|
242
|
+
const Tt = f({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
252
243
|
let tt = null;
|
|
253
|
-
const
|
|
254
|
-
let
|
|
255
|
-
const En = f({}, [
|
|
256
|
-
let
|
|
257
|
-
const
|
|
244
|
+
const St = 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 ye = re, nt = !1, it = null;
|
|
246
|
+
const En = f({}, [Fe, He, re], st);
|
|
247
|
+
let xe = null;
|
|
248
|
+
const Tn = ["application/xhtml+xml", "text/html"], Sn = "text/html";
|
|
258
249
|
let M = null, we = null;
|
|
259
|
-
const bn = i.createElement("form"),
|
|
250
|
+
const bn = i.createElement("form"), bt = function(e) {
|
|
260
251
|
return e instanceof RegExp || e instanceof Function;
|
|
261
252
|
}, ot = function() {
|
|
262
253
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
263
254
|
if (!(we && we === e)) {
|
|
264
|
-
if ((!e || typeof e != "object") && (e = {}), e =
|
|
265
|
-
|
|
266
|
-
|
|
255
|
+
if ((!e || typeof e != "object") && (e = {}), e = _e(e), xe = // eslint-disable-next-line unicorn/prefer-includes
|
|
256
|
+
Tn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? Sn : e.PARSER_MEDIA_TYPE, M = xe === "application/xhtml+xml" ? st : Ve, A = te(e, "ALLOWED_TAGS") ? f({}, e.ALLOWED_TAGS, M) : De, y = te(e, "ALLOWED_ATTR") ? f({}, e.ALLOWED_ATTR, M) : Ie, it = te(e, "ALLOWED_NAMESPACES") ? f({}, e.ALLOWED_NAMESPACES, st) : En, tt = te(e, "ADD_URI_SAFE_ATTR") ? f(
|
|
257
|
+
_e(St),
|
|
267
258
|
// eslint-disable-line indent
|
|
268
259
|
e.ADD_URI_SAFE_ATTR,
|
|
269
260
|
// eslint-disable-line indent
|
|
270
261
|
M
|
|
271
262
|
// eslint-disable-line indent
|
|
272
|
-
) :
|
|
273
|
-
|
|
263
|
+
) : St, Et = te(e, "ADD_DATA_URI_TAGS") ? f(
|
|
264
|
+
_e(Tt),
|
|
274
265
|
// eslint-disable-line indent
|
|
275
266
|
e.ADD_DATA_URI_TAGS,
|
|
276
267
|
// eslint-disable-line indent
|
|
277
268
|
M
|
|
278
269
|
// eslint-disable-line indent
|
|
279
|
-
) :
|
|
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, Ze = 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, Je = 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 && (Ze = !1), Pe && (Se = !0), be && (A = f({}, Qt), y = [], be.html === !0 && (f(A, Jt), 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) {
|
|
280
271
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
281
|
-
throw
|
|
272
|
+
throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
282
273
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
283
|
-
throw
|
|
284
|
-
p = e.TRUSTED_TYPES_POLICY,
|
|
274
|
+
throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
275
|
+
p = e.TRUSTED_TYPES_POLICY, W = p.createHTML("");
|
|
285
276
|
} else
|
|
286
|
-
p === void 0 && (p = ai(
|
|
287
|
-
|
|
277
|
+
p === void 0 && (p = ai(V, r)), p !== null && typeof W == "string" && (W = p.createHTML(""));
|
|
278
|
+
H && H(e), we = e;
|
|
288
279
|
}
|
|
289
|
-
},
|
|
280
|
+
}, At = f({}, ["mi", "mo", "mn", "ms", "mtext"]), yt = f({}, ["foreignobject", "annotation-xml"]), An = f({}, ["title", "style", "font", "a", "script"]), wt = f({}, [...rt, ...at, ...Zn]), Ct = f({}, [...lt, ...Jn]), yn = function(e) {
|
|
290
281
|
let s = d(e);
|
|
291
282
|
(!s || !s.tagName) && (s = {
|
|
292
|
-
namespaceURI:
|
|
283
|
+
namespaceURI: ye,
|
|
293
284
|
tagName: "template"
|
|
294
285
|
});
|
|
295
|
-
const c =
|
|
296
|
-
return it[e.namespaceURI] ? e.namespaceURI ===
|
|
286
|
+
const c = Ve(e.tagName), _ = Ve(s.tagName);
|
|
287
|
+
return it[e.namespaceURI] ? e.namespaceURI === He ? s.namespaceURI === re ? c === "svg" : s.namespaceURI === Fe ? c === "svg" && (_ === "annotation-xml" || At[_]) : !!wt[c] : e.namespaceURI === Fe ? s.namespaceURI === re ? c === "math" : s.namespaceURI === He ? c === "math" && yt[_] : !!Ct[c] : e.namespaceURI === re ? s.namespaceURI === He && !yt[_] || s.namespaceURI === Fe && !At[_] ? !1 : !Ct[c] && (An[c] || !wt[c]) : !!(xe === "application/xhtml+xml" && it[e.namespaceURI]) : !1;
|
|
297
288
|
}, ne = function(e) {
|
|
298
|
-
|
|
289
|
+
Le(t.removed, {
|
|
299
290
|
element: e
|
|
300
291
|
});
|
|
301
292
|
try {
|
|
302
293
|
d(e).removeChild(e);
|
|
303
294
|
} catch (s) {
|
|
304
|
-
|
|
295
|
+
O(e);
|
|
305
296
|
}
|
|
306
|
-
},
|
|
297
|
+
}, ze = function(e, s) {
|
|
307
298
|
try {
|
|
308
|
-
|
|
299
|
+
Le(t.removed, {
|
|
309
300
|
attribute: s.getAttributeNode(e),
|
|
310
301
|
from: s
|
|
311
302
|
});
|
|
312
303
|
} catch (c) {
|
|
313
|
-
|
|
304
|
+
Le(t.removed, {
|
|
314
305
|
attribute: null,
|
|
315
306
|
from: s
|
|
316
307
|
});
|
|
317
308
|
}
|
|
318
|
-
if (s.removeAttribute(e), e === "is" && !
|
|
319
|
-
if (
|
|
309
|
+
if (s.removeAttribute(e), e === "is" && !y[e])
|
|
310
|
+
if (Se || Pe)
|
|
320
311
|
try {
|
|
321
312
|
ne(s);
|
|
322
313
|
} catch (c) {
|
|
@@ -331,90 +322,90 @@ function gn() {
|
|
|
331
322
|
if ($e)
|
|
332
323
|
e = "<remove></remove>" + e;
|
|
333
324
|
else {
|
|
334
|
-
const k =
|
|
325
|
+
const k = Zt(e, /^[\r\n\t ]+/);
|
|
335
326
|
c = k && k[0];
|
|
336
327
|
}
|
|
337
|
-
|
|
338
|
-
const
|
|
339
|
-
if (
|
|
328
|
+
xe === "application/xhtml+xml" && ye === re && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
329
|
+
const _ = p ? p.createHTML(e) : e;
|
|
330
|
+
if (ye === re)
|
|
340
331
|
try {
|
|
341
|
-
s = new he().parseFromString(
|
|
332
|
+
s = new he().parseFromString(_, xe);
|
|
342
333
|
} catch (k) {
|
|
343
334
|
}
|
|
344
335
|
if (!s || !s.documentElement) {
|
|
345
|
-
s = q.createDocument(
|
|
336
|
+
s = q.createDocument(ye, "template", null);
|
|
346
337
|
try {
|
|
347
|
-
s.documentElement.innerHTML = nt ?
|
|
338
|
+
s.documentElement.innerHTML = nt ? W : _;
|
|
348
339
|
} catch (k) {
|
|
349
340
|
}
|
|
350
341
|
}
|
|
351
342
|
const I = s.body || s.documentElement;
|
|
352
|
-
return e && c && I.insertBefore(i.createTextNode(c), I.childNodes[0] || null),
|
|
353
|
-
},
|
|
354
|
-
return
|
|
343
|
+
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
|
+
}, Rt = function(e) {
|
|
345
|
+
return K.call(
|
|
355
346
|
e.ownerDocument || e,
|
|
356
347
|
e,
|
|
357
348
|
// eslint-disable-next-line no-bitwise
|
|
358
349
|
w.SHOW_ELEMENT | w.SHOW_COMMENT | w.SHOW_TEXT | w.SHOW_PROCESSING_INSTRUCTION | w.SHOW_CDATA_SECTION,
|
|
359
350
|
null
|
|
360
351
|
);
|
|
361
|
-
}, Mt = function(e) {
|
|
362
|
-
return e instanceof de && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof R) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
363
352
|
}, Lt = function(e) {
|
|
353
|
+
return e instanceof de && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof x) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
354
|
+
}, Mt = function(e) {
|
|
364
355
|
return typeof v == "function" && e instanceof v;
|
|
365
356
|
}, ae = function(e, s, c) {
|
|
366
|
-
|
|
367
|
-
|
|
357
|
+
g[e] && Be(g[e], (_) => {
|
|
358
|
+
_.call(t, s, c, we);
|
|
368
359
|
});
|
|
369
|
-
},
|
|
360
|
+
}, Ot = function(e) {
|
|
370
361
|
let s = null;
|
|
371
|
-
if (ae("beforeSanitizeElements", e, null),
|
|
362
|
+
if (ae("beforeSanitizeElements", e, null), Lt(e))
|
|
372
363
|
return ne(e), !0;
|
|
373
364
|
const c = M(e.nodeName);
|
|
374
365
|
if (ae("uponSanitizeElement", e, {
|
|
375
366
|
tagName: c,
|
|
376
|
-
allowedTags:
|
|
377
|
-
}), e.hasChildNodes() && !
|
|
367
|
+
allowedTags: A
|
|
368
|
+
}), e.hasChildNodes() && !Mt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === ke.progressingInstruction || Je && e.nodeType === ke.comment && U(/<[/\w]/g, e.data))
|
|
378
369
|
return ne(e), !0;
|
|
379
|
-
if (!
|
|
380
|
-
if (!
|
|
370
|
+
if (!A[c] || T[c]) {
|
|
371
|
+
if (!T[c] && kt(c) && (a.tagNameCheck instanceof RegExp && U(a.tagNameCheck, c) || a.tagNameCheck instanceof Function && a.tagNameCheck(c)))
|
|
381
372
|
return !1;
|
|
382
|
-
if (et && !
|
|
383
|
-
const
|
|
384
|
-
if (I &&
|
|
373
|
+
if (et && !Ae[c]) {
|
|
374
|
+
const _ = d(e) || e.parentNode, I = z(e) || e.childNodes;
|
|
375
|
+
if (I && _) {
|
|
385
376
|
const k = I.length;
|
|
386
377
|
for (let G = k - 1; G >= 0; --G) {
|
|
387
|
-
const ie =
|
|
388
|
-
ie.__removalCount = (e.__removalCount || 0) + 1,
|
|
378
|
+
const ie = R(I[G], !0);
|
|
379
|
+
ie.__removalCount = (e.__removalCount || 0) + 1, _.insertBefore(ie, fe(e));
|
|
389
380
|
}
|
|
390
381
|
}
|
|
391
382
|
}
|
|
392
383
|
return ne(e), !0;
|
|
393
384
|
}
|
|
394
|
-
return e instanceof D && !
|
|
395
|
-
s = Me(s,
|
|
396
|
-
}), e.textContent !== s && (
|
|
385
|
+
return e instanceof D && !yn(e) || (c === "noscript" || c === "noembed" || c === "noframes") && U(/<\/no(script|embed|frames)/i, e.innerHTML) ? (ne(e), !0) : (Te && e.nodeType === ke.text && (s = e.textContent, Be([Y, $, N], (_) => {
|
|
386
|
+
s = Me(s, _, " ");
|
|
387
|
+
}), e.textContent !== s && (Le(t.removed, {
|
|
397
388
|
element: e.cloneNode()
|
|
398
389
|
}), e.textContent = s)), ae("afterSanitizeElements", e, null), !1);
|
|
399
|
-
},
|
|
400
|
-
if (
|
|
390
|
+
}, Nt = function(e, s, c) {
|
|
391
|
+
if (ht && (s === "id" || s === "name") && (c in i || c in bn))
|
|
401
392
|
return !1;
|
|
402
|
-
if (!(
|
|
403
|
-
if (!(
|
|
404
|
-
if (!
|
|
393
|
+
if (!(Ze && !ee[s] && U(Ee, s))) {
|
|
394
|
+
if (!(B && U(Z, s))) {
|
|
395
|
+
if (!y[s] || ee[s]) {
|
|
405
396
|
if (
|
|
406
397
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
407
398
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
408
399
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
409
|
-
!(
|
|
400
|
+
!(kt(e) && (a.tagNameCheck instanceof RegExp && U(a.tagNameCheck, e) || a.tagNameCheck instanceof Function && a.tagNameCheck(e)) && (a.attributeNameCheck instanceof RegExp && U(a.attributeNameCheck, s) || a.attributeNameCheck instanceof Function && a.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
410
401
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
411
402
|
s === "is" && a.allowCustomizedBuiltInElements && (a.tagNameCheck instanceof RegExp && U(a.tagNameCheck, c) || a.tagNameCheck instanceof Function && a.tagNameCheck(c)))
|
|
412
403
|
)
|
|
413
404
|
return !1;
|
|
414
405
|
} else if (!tt[s]) {
|
|
415
|
-
if (!U(me, Me(c,
|
|
416
|
-
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" &&
|
|
417
|
-
if (!(
|
|
406
|
+
if (!U(me, Me(c, h, ""))) {
|
|
407
|
+
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Xn(c, "data:") === 0 && Et[e])) {
|
|
408
|
+
if (!(pt && !U(se, Me(c, h, "")))) {
|
|
418
409
|
if (c)
|
|
419
410
|
return !1;
|
|
420
411
|
}
|
|
@@ -424,9 +415,9 @@ function gn() {
|
|
|
424
415
|
}
|
|
425
416
|
}
|
|
426
417
|
return !0;
|
|
418
|
+
}, kt = function(e) {
|
|
419
|
+
return e !== "annotation-xml" && Zt(e, S);
|
|
427
420
|
}, vt = function(e) {
|
|
428
|
-
return e !== "annotation-xml" && Kt(e, A);
|
|
429
|
-
}, Dt = function(e) {
|
|
430
421
|
ae("beforeSanitizeAttributes", e, null);
|
|
431
422
|
const {
|
|
432
423
|
attributes: s
|
|
@@ -437,33 +428,33 @@ function gn() {
|
|
|
437
428
|
attrName: "",
|
|
438
429
|
attrValue: "",
|
|
439
430
|
keepAttr: !0,
|
|
440
|
-
allowedAttributes:
|
|
431
|
+
allowedAttributes: y
|
|
441
432
|
};
|
|
442
|
-
let
|
|
443
|
-
for (;
|
|
444
|
-
const I = s[
|
|
433
|
+
let _ = s.length;
|
|
434
|
+
for (; _--; ) {
|
|
435
|
+
const I = s[_], {
|
|
445
436
|
name: k,
|
|
446
437
|
namespaceURI: G,
|
|
447
438
|
value: ie
|
|
448
|
-
} = I,
|
|
449
|
-
let P = k === "value" ? ie :
|
|
450
|
-
if (c.attrName =
|
|
451
|
-
|
|
439
|
+
} = I, Re = M(k);
|
|
440
|
+
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, Je && U(/((--!?|])>)|<\/(style|title)/i, P)) {
|
|
442
|
+
ze(k, e);
|
|
452
443
|
continue;
|
|
453
444
|
}
|
|
454
|
-
if (c.forceKeepAttr || (
|
|
445
|
+
if (c.forceKeepAttr || (ze(k, e), !c.keepAttr))
|
|
455
446
|
continue;
|
|
456
|
-
if (!
|
|
457
|
-
|
|
447
|
+
if (!dt && U(/\/>/i, P)) {
|
|
448
|
+
ze(k, e);
|
|
458
449
|
continue;
|
|
459
450
|
}
|
|
460
|
-
|
|
461
|
-
P = Me(P,
|
|
451
|
+
Te && Be([Y, $, N], (It) => {
|
|
452
|
+
P = Me(P, It, " ");
|
|
462
453
|
});
|
|
463
|
-
const
|
|
464
|
-
if (
|
|
465
|
-
if (
|
|
466
|
-
switch (
|
|
454
|
+
const Dt = M(e.nodeName);
|
|
455
|
+
if (Nt(Dt, Re, P)) {
|
|
456
|
+
if (gt && (Re === "id" || Re === "name") && (ze(k, e), P = _n + P), p && typeof V == "object" && typeof V.getAttributeType == "function" && !G)
|
|
457
|
+
switch (V.getAttributeType(Dt, Re)) {
|
|
467
458
|
case "TrustedHTML": {
|
|
468
459
|
P = p.createHTML(P);
|
|
469
460
|
break;
|
|
@@ -474,61 +465,61 @@ function gn() {
|
|
|
474
465
|
}
|
|
475
466
|
}
|
|
476
467
|
try {
|
|
477
|
-
G ? e.setAttributeNS(G, k, P) : e.setAttribute(k, P),
|
|
478
|
-
} catch (
|
|
468
|
+
G ? e.setAttributeNS(G, k, P) : e.setAttribute(k, P), Lt(e) ? ne(e) : Kt(t.removed);
|
|
469
|
+
} catch (It) {
|
|
479
470
|
}
|
|
480
471
|
}
|
|
481
472
|
}
|
|
482
473
|
ae("afterSanitizeAttributes", e, null);
|
|
483
474
|
}, wn = function u(e) {
|
|
484
475
|
let s = null;
|
|
485
|
-
const c =
|
|
476
|
+
const c = Rt(e);
|
|
486
477
|
for (ae("beforeSanitizeShadowDOM", e, null); s = c.nextNode(); )
|
|
487
|
-
ae("uponSanitizeShadowNode", s, null), !
|
|
478
|
+
ae("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof l && u(s.content), vt(s));
|
|
488
479
|
ae("afterSanitizeShadowDOM", e, null);
|
|
489
480
|
};
|
|
490
481
|
return t.sanitize = function(u) {
|
|
491
|
-
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, c = null,
|
|
492
|
-
if (nt = !u, nt && (u = "<!-->"), typeof u != "string" && !
|
|
482
|
+
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, c = null, _ = null, I = null;
|
|
483
|
+
if (nt = !u, nt && (u = "<!-->"), typeof u != "string" && !Mt(u))
|
|
493
484
|
if (typeof u.toString == "function") {
|
|
494
485
|
if (u = u.toString(), typeof u != "string")
|
|
495
|
-
throw
|
|
486
|
+
throw Oe("dirty is not a string, aborting");
|
|
496
487
|
} else
|
|
497
|
-
throw
|
|
488
|
+
throw Oe("toString is not a function");
|
|
498
489
|
if (!t.isSupported)
|
|
499
490
|
return u;
|
|
500
491
|
if (Qe || ot(e), t.removed = [], typeof u == "string" && (Ce = !1), Ce) {
|
|
501
492
|
if (u.nodeName) {
|
|
502
493
|
const ie = M(u.nodeName);
|
|
503
|
-
if (!
|
|
504
|
-
throw
|
|
494
|
+
if (!A[ie] || T[ie])
|
|
495
|
+
throw Oe("root node is forbidden and cannot be sanitized in-place");
|
|
505
496
|
}
|
|
506
497
|
} else if (u instanceof v)
|
|
507
498
|
s = xt("<!---->"), c = s.ownerDocument.importNode(u, !0), c.nodeType === ke.element && c.nodeName === "BODY" || c.nodeName === "HTML" ? s = c : s.appendChild(c);
|
|
508
499
|
else {
|
|
509
|
-
if (!
|
|
500
|
+
if (!Se && !Te && !ge && // eslint-disable-next-line unicorn/prefer-includes
|
|
510
501
|
u.indexOf("<") === -1)
|
|
511
502
|
return p && Ue ? p.createHTML(u) : u;
|
|
512
503
|
if (s = xt(u), !s)
|
|
513
|
-
return
|
|
504
|
+
return Se ? null : Ue ? W : "";
|
|
514
505
|
}
|
|
515
506
|
s && $e && ne(s.firstChild);
|
|
516
|
-
const k =
|
|
517
|
-
for (;
|
|
518
|
-
|
|
507
|
+
const k = Rt(Ce ? u : s);
|
|
508
|
+
for (; _ = k.nextNode(); )
|
|
509
|
+
Ot(_) || (_.content instanceof l && wn(_.content), vt(_));
|
|
519
510
|
if (Ce)
|
|
520
511
|
return u;
|
|
521
|
-
if (
|
|
512
|
+
if (Se) {
|
|
522
513
|
if (Pe)
|
|
523
|
-
for (I =
|
|
514
|
+
for (I = L.call(s.ownerDocument); s.firstChild; )
|
|
524
515
|
I.appendChild(s.firstChild);
|
|
525
516
|
else
|
|
526
517
|
I = s;
|
|
527
|
-
return (
|
|
518
|
+
return (y.shadowroot || y.shadowrootmode) && (I = oe.call(o, I, !0)), I;
|
|
528
519
|
}
|
|
529
520
|
let G = ge ? s.outerHTML : s.innerHTML;
|
|
530
|
-
return ge &&
|
|
531
|
-
` + G),
|
|
521
|
+
return ge && A["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && U(hn, s.ownerDocument.doctype.name) && (G = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
|
|
522
|
+
` + G), Te && Be([Y, $, N], (ie) => {
|
|
532
523
|
G = Me(G, ie, " ");
|
|
533
524
|
}), p && Ue ? p.createHTML(G) : G;
|
|
534
525
|
}, t.setConfig = function() {
|
|
@@ -538,85 +529,84 @@ function gn() {
|
|
|
538
529
|
we = null, Qe = !1;
|
|
539
530
|
}, t.isValidAttribute = function(u, e, s) {
|
|
540
531
|
we || ot({});
|
|
541
|
-
const c = M(u),
|
|
542
|
-
return
|
|
532
|
+
const c = M(u), _ = M(e);
|
|
533
|
+
return Nt(c, _, s);
|
|
543
534
|
}, t.addHook = function(u, e) {
|
|
544
|
-
typeof e == "function" && (
|
|
535
|
+
typeof e == "function" && (g[u] = g[u] || [], Le(g[u], e));
|
|
545
536
|
}, t.removeHook = function(u) {
|
|
546
|
-
if (
|
|
547
|
-
return
|
|
537
|
+
if (g[u])
|
|
538
|
+
return Kt(g[u]);
|
|
548
539
|
}, t.removeHooks = function(u) {
|
|
549
|
-
|
|
540
|
+
g[u] && (g[u] = []);
|
|
550
541
|
}, t.removeAllHooks = function() {
|
|
551
|
-
|
|
542
|
+
g = {};
|
|
552
543
|
}, t;
|
|
553
544
|
}
|
|
554
545
|
var nn = gn();
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
kn(n, "svelte-140mrml", "*,*::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:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:15;top:0;left:0;background-color:var(--mmw--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(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-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(--mmw--color-grey-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(--mmw--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(--mmw--color-grey-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(--mmw--color-main-button-hover, #71B11B)}.CashierSessionExpirationButton:active{background:var(--mmw--color-main-button-active, #5C950F)}.CashierSessionExpirationButton:disabled{background:var(--mmw--color-main-button-disabled, #5C950F)}.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}}");
|
|
546
|
+
function li(n) {
|
|
547
|
+
Nn(n, "svelte-iiiimw", "*,*::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:absolute;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}}");
|
|
558
548
|
}
|
|
559
|
-
const
|
|
549
|
+
const ci = (n) => ({}), on = (n) => ({}), ui = (n) => ({}), sn = (n) => ({}), fi = (n) => ({}), rn = (n) => ({}), mi = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
|
|
560
550
|
function ln(n) {
|
|
561
551
|
let t, i, o, r, l, m = (
|
|
562
552
|
/*$_*/
|
|
563
553
|
n[8]("sessionExpirationHeader") + ""
|
|
564
|
-
), v, D, w,
|
|
554
|
+
), v, D, w, x, de, he, V, b, R, O, fe, z, d, p, W;
|
|
565
555
|
const q = (
|
|
566
556
|
/*#slots*/
|
|
567
557
|
n[22].icon
|
|
568
|
-
),
|
|
558
|
+
), K = We(
|
|
569
559
|
q,
|
|
570
560
|
n,
|
|
571
561
|
/*$$scope*/
|
|
572
562
|
n[21],
|
|
573
563
|
an
|
|
574
|
-
),
|
|
564
|
+
), L = K || hi(n), Q = (
|
|
575
565
|
/*#slots*/
|
|
576
566
|
n[22].title
|
|
577
|
-
), oe =
|
|
567
|
+
), oe = We(
|
|
578
568
|
Q,
|
|
579
569
|
n,
|
|
580
570
|
/*$$scope*/
|
|
581
571
|
n[21],
|
|
582
572
|
rn
|
|
583
|
-
),
|
|
573
|
+
), g = oe || gi(n), Y = (
|
|
584
574
|
/*#slots*/
|
|
585
575
|
n[22].text
|
|
586
|
-
), $ =
|
|
576
|
+
), $ = We(
|
|
587
577
|
Y,
|
|
588
578
|
n,
|
|
589
579
|
/*$$scope*/
|
|
590
580
|
n[21],
|
|
591
581
|
sn
|
|
592
|
-
), N = $ ||
|
|
593
|
-
function se(
|
|
582
|
+
), N = $ || _i(n), Ee = [Ti, Ei], Z = [];
|
|
583
|
+
function se(h, S) {
|
|
594
584
|
return (
|
|
595
585
|
/*showLoaderButton*/
|
|
596
|
-
|
|
586
|
+
h[6] ? 0 : 1
|
|
597
587
|
);
|
|
598
588
|
}
|
|
599
|
-
return
|
|
589
|
+
return R = se(n), O = Z[R] = Ee[R](n), {
|
|
600
590
|
c() {
|
|
601
|
-
t =
|
|
602
|
-
n[6],
|
|
591
|
+
t = F("div"), i = F("div"), o = F("div"), r = F("div"), l = F("div"), v = Ke(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*/
|
|
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"), Ft(() => (
|
|
603
593
|
/*div5_elementresize_handler*/
|
|
604
594
|
n[24].call(i)
|
|
605
595
|
));
|
|
606
596
|
},
|
|
607
|
-
m(
|
|
608
|
-
|
|
597
|
+
m(h, S) {
|
|
598
|
+
ue(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), Z[R].m(b, null), n[23](x), fe = In(
|
|
609
599
|
i,
|
|
610
600
|
/*div5_elementresize_handler*/
|
|
611
601
|
n[24].bind(i)
|
|
612
|
-
), n[25](t), d = !0, p || (
|
|
613
|
-
|
|
602
|
+
), n[25](t), d = !0, p || (W = [
|
|
603
|
+
Ht(
|
|
614
604
|
b,
|
|
615
605
|
"click",
|
|
616
606
|
/*renewSession*/
|
|
617
607
|
n[9]
|
|
618
608
|
),
|
|
619
|
-
|
|
609
|
+
Ht(
|
|
620
610
|
i,
|
|
621
611
|
"click",
|
|
622
612
|
/*outOfModalClick*/
|
|
@@ -624,175 +614,175 @@ function ln(n) {
|
|
|
624
614
|
)
|
|
625
615
|
], p = !0);
|
|
626
616
|
},
|
|
627
|
-
p(
|
|
628
|
-
n =
|
|
617
|
+
p(h, S) {
|
|
618
|
+
n = h, (!d || S[0] & /*$_*/
|
|
629
619
|
256) && m !== (m = /*$_*/
|
|
630
|
-
n[8]("sessionExpirationHeader") + "") &&
|
|
620
|
+
n[8]("sessionExpirationHeader") + "") && qe(v, m), K ? K.p && (!d || S[0] & /*$$scope*/
|
|
631
621
|
2097152) && Ye(
|
|
632
|
-
|
|
622
|
+
K,
|
|
633
623
|
q,
|
|
634
624
|
n,
|
|
635
625
|
/*$$scope*/
|
|
636
626
|
n[21],
|
|
637
|
-
d ?
|
|
627
|
+
d ? Xe(
|
|
638
628
|
q,
|
|
639
629
|
/*$$scope*/
|
|
640
630
|
n[21],
|
|
641
|
-
|
|
642
|
-
|
|
631
|
+
S,
|
|
632
|
+
mi
|
|
643
633
|
) : je(
|
|
644
634
|
/*$$scope*/
|
|
645
635
|
n[21]
|
|
646
636
|
),
|
|
647
637
|
an
|
|
648
|
-
) :
|
|
649
|
-
8) &&
|
|
638
|
+
) : L && L.p && (!d || S[0] & /*assetsurl*/
|
|
639
|
+
8) && L.p(n, d ? S : [-1, -1]), oe ? oe.p && (!d || S[0] & /*$$scope*/
|
|
650
640
|
2097152) && Ye(
|
|
651
641
|
oe,
|
|
652
642
|
Q,
|
|
653
643
|
n,
|
|
654
644
|
/*$$scope*/
|
|
655
645
|
n[21],
|
|
656
|
-
d ?
|
|
646
|
+
d ? Xe(
|
|
657
647
|
Q,
|
|
658
648
|
/*$$scope*/
|
|
659
649
|
n[21],
|
|
660
|
-
|
|
661
|
-
|
|
650
|
+
S,
|
|
651
|
+
fi
|
|
662
652
|
) : je(
|
|
663
653
|
/*$$scope*/
|
|
664
654
|
n[21]
|
|
665
655
|
),
|
|
666
656
|
rn
|
|
667
|
-
) :
|
|
668
|
-
256) &&
|
|
657
|
+
) : g && g.p && (!d || S[0] & /*$_*/
|
|
658
|
+
256) && g.p(n, d ? S : [-1, -1]), $ ? $.p && (!d || S[0] & /*$$scope*/
|
|
669
659
|
2097152) && Ye(
|
|
670
660
|
$,
|
|
671
661
|
Y,
|
|
672
662
|
n,
|
|
673
663
|
/*$$scope*/
|
|
674
664
|
n[21],
|
|
675
|
-
d ?
|
|
665
|
+
d ? Xe(
|
|
676
666
|
Y,
|
|
677
667
|
/*$$scope*/
|
|
678
668
|
n[21],
|
|
679
|
-
|
|
680
|
-
|
|
669
|
+
S,
|
|
670
|
+
ui
|
|
681
671
|
) : je(
|
|
682
672
|
/*$$scope*/
|
|
683
673
|
n[21]
|
|
684
674
|
),
|
|
685
675
|
sn
|
|
686
|
-
) : N && N.p && (!d ||
|
|
687
|
-
384) && N.p(n, d ?
|
|
688
|
-
let me =
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
}), un(),
|
|
676
|
+
) : N && N.p && (!d || S[0] & /*$_, timeLeft*/
|
|
677
|
+
384) && N.p(n, d ? S : [-1, -1]);
|
|
678
|
+
let me = R;
|
|
679
|
+
R = se(n), R === me ? Z[R].p(n, S) : (cn(), pe(Z[me], 1, 1, () => {
|
|
680
|
+
Z[me] = null;
|
|
681
|
+
}), un(), O = Z[R], O ? O.p(n, S) : (O = Z[R] = Ee[R](n), O.c()), le(O, 1), O.m(b, null)), (!d || S[0] & /*showLoaderButton*/
|
|
692
682
|
64) && (b.disabled = /*showLoaderButton*/
|
|
693
683
|
n[6]);
|
|
694
684
|
},
|
|
695
|
-
i(
|
|
696
|
-
d || (le(
|
|
697
|
-
d && (
|
|
685
|
+
i(h) {
|
|
686
|
+
d || (le(L, h), le(g, h), le(N, h), le(O), h && Ft(() => {
|
|
687
|
+
d && (z || (z = Ut(i, Wt, { duration: (
|
|
698
688
|
/*duration*/
|
|
699
689
|
n[2]
|
|
700
|
-
) }, !0)),
|
|
690
|
+
) }, !0)), z.run(1));
|
|
701
691
|
}), d = !0);
|
|
702
692
|
},
|
|
703
|
-
o(
|
|
704
|
-
pe(
|
|
693
|
+
o(h) {
|
|
694
|
+
pe(L, h), pe(g, h), pe(N, h), pe(O), h && (z || (z = Ut(i, Wt, { duration: (
|
|
705
695
|
/*duration*/
|
|
706
696
|
n[2]
|
|
707
|
-
) }, !1)),
|
|
697
|
+
) }, !1)), z.run(0)), d = !1;
|
|
708
698
|
},
|
|
709
|
-
d(
|
|
710
|
-
|
|
699
|
+
d(h) {
|
|
700
|
+
h && ce(t), L && L.d(h), g && g.d(h), N && N.d(h), Z[R].d(), n[23](null), fe(), h && z && z.end(), n[25](null), p = !1, Dn(W);
|
|
711
701
|
}
|
|
712
702
|
};
|
|
713
703
|
}
|
|
714
|
-
function
|
|
715
|
-
let t
|
|
704
|
+
function pi(n) {
|
|
705
|
+
let t;
|
|
716
706
|
return {
|
|
717
707
|
c() {
|
|
718
|
-
t =
|
|
708
|
+
t = F("div"), E(t, "class", "ImagePlaceholder");
|
|
719
709
|
},
|
|
720
|
-
m(
|
|
721
|
-
|
|
710
|
+
m(i, o) {
|
|
711
|
+
ue(i, t, o);
|
|
722
712
|
},
|
|
723
713
|
p: ut,
|
|
724
|
-
d(
|
|
725
|
-
|
|
714
|
+
d(i) {
|
|
715
|
+
i && ce(t);
|
|
726
716
|
}
|
|
727
717
|
};
|
|
728
718
|
}
|
|
729
|
-
function
|
|
719
|
+
function di(n) {
|
|
730
720
|
let t, i;
|
|
731
721
|
return {
|
|
732
722
|
c() {
|
|
733
|
-
t =
|
|
734
|
-
n[3]}/set-timeout-icon.png`) ||
|
|
723
|
+
t = F("img"), Gt(t.src, i = `${/*assetsurl*/
|
|
724
|
+
n[3]}/set-timeout-icon.png`) || E(t, "src", i), E(t, "width", "300px"), E(t, "alt", "error");
|
|
735
725
|
},
|
|
736
726
|
m(o, r) {
|
|
737
|
-
|
|
727
|
+
ue(o, t, r);
|
|
738
728
|
},
|
|
739
729
|
p(o, r) {
|
|
740
730
|
r[0] & /*assetsurl*/
|
|
741
|
-
8 && !
|
|
742
|
-
o[3]}/set-timeout-icon.png`) &&
|
|
731
|
+
8 && !Gt(t.src, i = `${/*assetsurl*/
|
|
732
|
+
o[3]}/set-timeout-icon.png`) && E(t, "src", i);
|
|
743
733
|
},
|
|
744
734
|
d(o) {
|
|
745
|
-
o &&
|
|
735
|
+
o && ce(t);
|
|
746
736
|
}
|
|
747
737
|
};
|
|
748
738
|
}
|
|
749
|
-
function
|
|
739
|
+
function hi(n) {
|
|
750
740
|
let t;
|
|
751
741
|
function i(l, m) {
|
|
752
742
|
return (
|
|
753
743
|
/*assetsurl*/
|
|
754
|
-
l[3] ?
|
|
744
|
+
l[3] ? di : pi
|
|
755
745
|
);
|
|
756
746
|
}
|
|
757
747
|
let o = i(n), r = o(n);
|
|
758
748
|
return {
|
|
759
749
|
c() {
|
|
760
|
-
r.c(), t =
|
|
750
|
+
r.c(), t = fn();
|
|
761
751
|
},
|
|
762
752
|
m(l, m) {
|
|
763
|
-
r.m(l, m),
|
|
753
|
+
r.m(l, m), ue(l, t, m);
|
|
764
754
|
},
|
|
765
755
|
p(l, m) {
|
|
766
756
|
o === (o = i(l)) && r ? r.p(l, m) : (r.d(1), r = o(l), r && (r.c(), r.m(t.parentNode, t)));
|
|
767
757
|
},
|
|
768
758
|
d(l) {
|
|
769
|
-
l &&
|
|
759
|
+
l && ce(t), r.d(l);
|
|
770
760
|
}
|
|
771
761
|
};
|
|
772
762
|
}
|
|
773
|
-
function
|
|
763
|
+
function gi(n) {
|
|
774
764
|
let t, i = (
|
|
775
765
|
/*$_*/
|
|
776
766
|
n[8]("sessionExpirationTitle") + ""
|
|
777
767
|
), o;
|
|
778
768
|
return {
|
|
779
769
|
c() {
|
|
780
|
-
t =
|
|
770
|
+
t = F("span"), o = Ke(i), E(t, "class", "CashierSessionExpirationTitle");
|
|
781
771
|
},
|
|
782
772
|
m(r, l) {
|
|
783
|
-
|
|
773
|
+
ue(r, t, l), C(t, o);
|
|
784
774
|
},
|
|
785
775
|
p(r, l) {
|
|
786
776
|
l[0] & /*$_*/
|
|
787
777
|
256 && i !== (i = /*$_*/
|
|
788
|
-
r[8]("sessionExpirationTitle") + "") &&
|
|
778
|
+
r[8]("sessionExpirationTitle") + "") && qe(o, i);
|
|
789
779
|
},
|
|
790
780
|
d(r) {
|
|
791
|
-
r &&
|
|
781
|
+
r && ce(t);
|
|
792
782
|
}
|
|
793
783
|
};
|
|
794
784
|
}
|
|
795
|
-
function
|
|
785
|
+
function _i(n) {
|
|
796
786
|
let t, i = nn.sanitize(
|
|
797
787
|
/*$_*/
|
|
798
788
|
n[8]("sessionExpirationGeneralText", { values: { second: (
|
|
@@ -802,10 +792,10 @@ function Ei(n) {
|
|
|
802
792
|
) + "";
|
|
803
793
|
return {
|
|
804
794
|
c() {
|
|
805
|
-
t =
|
|
795
|
+
t = F("span"), E(t, "class", "CashierSessionExpirationText");
|
|
806
796
|
},
|
|
807
797
|
m(o, r) {
|
|
808
|
-
|
|
798
|
+
ue(o, t, r), t.innerHTML = i;
|
|
809
799
|
},
|
|
810
800
|
p(o, r) {
|
|
811
801
|
r[0] & /*$_, timeLeft*/
|
|
@@ -818,22 +808,22 @@ function Ei(n) {
|
|
|
818
808
|
) + "") && (t.innerHTML = i);
|
|
819
809
|
},
|
|
820
810
|
d(o) {
|
|
821
|
-
o &&
|
|
811
|
+
o && ce(t);
|
|
822
812
|
}
|
|
823
813
|
};
|
|
824
814
|
}
|
|
825
|
-
function
|
|
815
|
+
function Ei(n) {
|
|
826
816
|
let t;
|
|
827
817
|
const i = (
|
|
828
818
|
/*#slots*/
|
|
829
819
|
n[22].button
|
|
830
|
-
), o =
|
|
820
|
+
), o = We(
|
|
831
821
|
i,
|
|
832
822
|
n,
|
|
833
823
|
/*$$scope*/
|
|
834
824
|
n[21],
|
|
835
825
|
on
|
|
836
|
-
), r = o ||
|
|
826
|
+
), r = o || Si(n);
|
|
837
827
|
return {
|
|
838
828
|
c() {
|
|
839
829
|
r && r.c();
|
|
@@ -849,12 +839,12 @@ function _i(n) {
|
|
|
849
839
|
l,
|
|
850
840
|
/*$$scope*/
|
|
851
841
|
l[21],
|
|
852
|
-
t ?
|
|
842
|
+
t ? Xe(
|
|
853
843
|
i,
|
|
854
844
|
/*$$scope*/
|
|
855
845
|
l[21],
|
|
856
846
|
m,
|
|
857
|
-
|
|
847
|
+
ci
|
|
858
848
|
) : je(
|
|
859
849
|
/*$$scope*/
|
|
860
850
|
l[21]
|
|
@@ -874,68 +864,68 @@ function _i(n) {
|
|
|
874
864
|
}
|
|
875
865
|
};
|
|
876
866
|
}
|
|
877
|
-
function
|
|
867
|
+
function Ti(n) {
|
|
878
868
|
let t, i, o, r, l, m = (
|
|
879
869
|
/*$_*/
|
|
880
870
|
n[8]("sessionExpirationLoadingButton") + ""
|
|
881
871
|
), v;
|
|
882
872
|
return {
|
|
883
873
|
c() {
|
|
884
|
-
t =
|
|
874
|
+
t = F("div"), i = Bt("svg"), o = Bt("path"), r = ve(), l = F("span"), v = Ke(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");
|
|
885
875
|
},
|
|
886
876
|
m(D, w) {
|
|
887
|
-
|
|
877
|
+
ue(D, t, w), C(t, i), C(i, o), C(t, r), C(t, l), C(l, v);
|
|
888
878
|
},
|
|
889
879
|
p(D, w) {
|
|
890
880
|
w[0] & /*$_*/
|
|
891
881
|
256 && m !== (m = /*$_*/
|
|
892
|
-
D[8]("sessionExpirationLoadingButton") + "") &&
|
|
882
|
+
D[8]("sessionExpirationLoadingButton") + "") && qe(v, m);
|
|
893
883
|
},
|
|
894
884
|
i: ut,
|
|
895
885
|
o: ut,
|
|
896
886
|
d(D) {
|
|
897
|
-
D &&
|
|
887
|
+
D && ce(t);
|
|
898
888
|
}
|
|
899
889
|
};
|
|
900
890
|
}
|
|
901
|
-
function
|
|
891
|
+
function Si(n) {
|
|
902
892
|
let t, i = (
|
|
903
893
|
/*$_*/
|
|
904
894
|
n[8]("sessionExpirationGeneralButton") + ""
|
|
905
895
|
), o;
|
|
906
896
|
return {
|
|
907
897
|
c() {
|
|
908
|
-
t =
|
|
898
|
+
t = F("span"), o = Ke(i), E(t, "class", "CashierSessionExpirationButtonText");
|
|
909
899
|
},
|
|
910
900
|
m(r, l) {
|
|
911
|
-
|
|
901
|
+
ue(r, t, l), C(t, o);
|
|
912
902
|
},
|
|
913
903
|
p(r, l) {
|
|
914
904
|
l[0] & /*$_*/
|
|
915
905
|
256 && i !== (i = /*$_*/
|
|
916
|
-
r[8]("sessionExpirationGeneralButton") + "") &&
|
|
906
|
+
r[8]("sessionExpirationGeneralButton") + "") && qe(o, i);
|
|
917
907
|
},
|
|
918
908
|
d(r) {
|
|
919
|
-
r &&
|
|
909
|
+
r && ce(t);
|
|
920
910
|
}
|
|
921
911
|
};
|
|
922
912
|
}
|
|
923
|
-
function
|
|
913
|
+
function bi(n) {
|
|
924
914
|
let t, i, o = (
|
|
925
915
|
/*show*/
|
|
926
916
|
n[5] && ln(n)
|
|
927
917
|
);
|
|
928
918
|
return {
|
|
929
919
|
c() {
|
|
930
|
-
o && o.c(), t =
|
|
920
|
+
o && o.c(), t = fn();
|
|
931
921
|
},
|
|
932
922
|
m(r, l) {
|
|
933
|
-
o && o.m(r, l),
|
|
923
|
+
o && o.m(r, l), ue(r, t, l), i = !0;
|
|
934
924
|
},
|
|
935
925
|
p(r, l) {
|
|
936
926
|
/*show*/
|
|
937
927
|
r[5] ? o ? (o.p(r, l), l[0] & /*show*/
|
|
938
|
-
32 && le(o, 1)) : (o = ln(r), o.c(), le(o, 1), o.m(t.parentNode, t)) : o && (
|
|
928
|
+
32 && le(o, 1)) : (o = ln(r), o.c(), le(o, 1), o.m(t.parentNode, t)) : o && (cn(), pe(o, 1, 1, () => {
|
|
939
929
|
o = null;
|
|
940
930
|
}), un());
|
|
941
931
|
},
|
|
@@ -946,17 +936,17 @@ function yi(n) {
|
|
|
946
936
|
pe(o), i = !1;
|
|
947
937
|
},
|
|
948
938
|
d(r) {
|
|
949
|
-
r &&
|
|
939
|
+
r && ce(t), o && o.d(r);
|
|
950
940
|
}
|
|
951
941
|
};
|
|
952
942
|
}
|
|
953
|
-
const
|
|
954
|
-
function
|
|
943
|
+
const Ai = 90;
|
|
944
|
+
function yi(n, t, i) {
|
|
955
945
|
let o, r;
|
|
956
|
-
|
|
946
|
+
Pt(n, jt, (a) => i(20, o = a)), Pt(n, zn, (a) => i(8, r = a));
|
|
957
947
|
let { $$slots: l = {}, $$scope: m } = t;
|
|
958
|
-
Yt.extend(
|
|
959
|
-
let { clientstyling: v = "" } = t, { clientstylingurl: D = "" } = t, { width: w } = t, { height:
|
|
948
|
+
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, K, L, Q, oe, g;
|
|
960
950
|
var Y;
|
|
961
951
|
(function(a) {
|
|
962
952
|
a.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", a.Success = "Success", a.JwtTokenError = "JwtTokenError";
|
|
@@ -966,148 +956,148 @@ function wi(n, t, i) {
|
|
|
966
956
|
}, N = (a) => {
|
|
967
957
|
try {
|
|
968
958
|
return JSON.parse(atob(a.split(".")[1]));
|
|
969
|
-
} catch (
|
|
959
|
+
} catch (T) {
|
|
970
960
|
return null;
|
|
971
961
|
}
|
|
972
962
|
}, Ee = () => {
|
|
973
963
|
window.postMessage(
|
|
974
964
|
{
|
|
975
965
|
type: "ErrorResponseCode",
|
|
976
|
-
errorResponseCode:
|
|
966
|
+
errorResponseCode: g
|
|
977
967
|
},
|
|
978
968
|
window.location.href
|
|
979
969
|
);
|
|
980
|
-
},
|
|
981
|
-
i(5,
|
|
982
|
-
const
|
|
983
|
-
|
|
970
|
+
}, Z = (a) => {
|
|
971
|
+
i(5, W = !1);
|
|
972
|
+
const T = N(a);
|
|
973
|
+
T && (L = T == null ? void 0 : T.exp, i(7, K = L), Q && clearInterval(Q), Q = setInterval(
|
|
984
974
|
() => {
|
|
985
975
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
986
|
-
i(7,
|
|
976
|
+
i(7, K = L - ee), K <= Ai && i(5, W = !0), ee >= L && (se(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
987
977
|
},
|
|
988
978
|
1e3
|
|
989
979
|
));
|
|
990
980
|
}, se = () => {
|
|
991
|
-
i(7,
|
|
992
|
-
},
|
|
981
|
+
i(7, K = 0), i(5, W = !1), clearInterval(Q);
|
|
982
|
+
}, h = () => {
|
|
993
983
|
if (q)
|
|
994
984
|
return;
|
|
995
|
-
const a = new URL(`${
|
|
996
|
-
i(6, q = !0),
|
|
985
|
+
const a = new URL(`${R}/v1/player/${fe}/payment/GetPaymentMethod`), T = new Headers();
|
|
986
|
+
i(6, q = !0), T.append("accept", "application/json"), T.append("Content-Type", "application/json"), T.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
997
987
|
const ee = {
|
|
998
988
|
method: "POST",
|
|
999
989
|
mode: "cors",
|
|
1000
|
-
headers:
|
|
990
|
+
headers: T,
|
|
1001
991
|
body: JSON.stringify({
|
|
1002
|
-
PaymentMethodName: oe ||
|
|
1003
|
-
Currency:
|
|
992
|
+
PaymentMethodName: oe || z,
|
|
993
|
+
Currency: O,
|
|
1004
994
|
XPaymentSessionToken: o
|
|
1005
995
|
})
|
|
1006
996
|
};
|
|
1007
|
-
fetch(a, ee).then((
|
|
1008
|
-
if (
|
|
997
|
+
fetch(a, ee).then((B) => B.json()).then((B) => {
|
|
998
|
+
if (B.error) {
|
|
1009
999
|
window.postMessage(
|
|
1010
1000
|
{
|
|
1011
1001
|
type: "ShowSessionError",
|
|
1012
|
-
error:
|
|
1002
|
+
error: B.error
|
|
1013
1003
|
},
|
|
1014
1004
|
window.location.href
|
|
1015
1005
|
), se();
|
|
1016
1006
|
return;
|
|
1017
1007
|
}
|
|
1018
|
-
if (
|
|
1019
|
-
|
|
1008
|
+
if (B.ResponseCode === Y.PlayerSessionIsNotValid || B.ResponseCode === Y.JwtTokenError) {
|
|
1009
|
+
g = B.ResponseCode, se(), Ee();
|
|
1020
1010
|
return;
|
|
1021
1011
|
}
|
|
1022
|
-
if (
|
|
1023
|
-
|
|
1012
|
+
if (B.ResponseCode !== Y.Success) {
|
|
1013
|
+
g = B.ResponseCode, se();
|
|
1024
1014
|
return;
|
|
1025
1015
|
}
|
|
1026
|
-
|
|
1016
|
+
B.XPaymentSessionToken && jt.set(B.XPaymentSessionToken);
|
|
1027
1017
|
}).finally(() => i(6, q = !1));
|
|
1028
|
-
},
|
|
1029
|
-
const
|
|
1030
|
-
a.target ===
|
|
1018
|
+
}, S = (a) => {
|
|
1019
|
+
const T = a.currentTarget;
|
|
1020
|
+
a.target === T && h();
|
|
1031
1021
|
}, me = () => {
|
|
1032
|
-
fetch(b).then((
|
|
1033
|
-
Object.keys(
|
|
1034
|
-
|
|
1022
|
+
fetch(b).then((T) => T.json()).then((T) => {
|
|
1023
|
+
Object.keys(T).forEach((ee) => {
|
|
1024
|
+
Xt(ee, T[ee]);
|
|
1035
1025
|
});
|
|
1036
|
-
}).catch((
|
|
1037
|
-
console.log(
|
|
1026
|
+
}).catch((T) => {
|
|
1027
|
+
console.log(T);
|
|
1038
1028
|
});
|
|
1039
1029
|
};
|
|
1040
|
-
Object.keys(
|
|
1041
|
-
|
|
1030
|
+
Object.keys(Vt).forEach((a) => {
|
|
1031
|
+
Xt(a, Vt[a]);
|
|
1042
1032
|
});
|
|
1043
|
-
const
|
|
1044
|
-
Gn(
|
|
1033
|
+
const A = () => {
|
|
1034
|
+
Gn(V);
|
|
1045
1035
|
};
|
|
1046
|
-
|
|
1036
|
+
kn(() => (window.addEventListener("message", $, !1), () => {
|
|
1047
1037
|
window.removeEventListener("message", $);
|
|
1048
|
-
})),
|
|
1038
|
+
})), vn(() => {
|
|
1049
1039
|
clearInterval(Q);
|
|
1050
1040
|
});
|
|
1051
1041
|
function De(a) {
|
|
1052
|
-
|
|
1042
|
+
zt[a ? "unshift" : "push"](() => {
|
|
1053
1043
|
p = a, i(4, p);
|
|
1054
1044
|
});
|
|
1055
1045
|
}
|
|
1056
|
-
function
|
|
1057
|
-
w = this.clientWidth,
|
|
1046
|
+
function y() {
|
|
1047
|
+
w = this.clientWidth, x = this.clientHeight, i(0, w), i(1, x);
|
|
1058
1048
|
}
|
|
1059
1049
|
function Ie(a) {
|
|
1060
|
-
|
|
1050
|
+
zt[a ? "unshift" : "push"](() => {
|
|
1061
1051
|
p = a, i(4, p);
|
|
1062
1052
|
});
|
|
1063
1053
|
}
|
|
1064
1054
|
return n.$$set = (a) => {
|
|
1065
|
-
"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,
|
|
1055
|
+
"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);
|
|
1066
1056
|
}, n.$$.update = () => {
|
|
1067
1057
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1068
|
-
1048576 &&
|
|
1069
|
-
8192 &&
|
|
1070
|
-
2064 && v && p &&
|
|
1071
|
-
4112 && D && p &&
|
|
1072
|
-
524304 && d && p &&
|
|
1058
|
+
1048576 && Z(o), n.$$.dirty[0] & /*lang*/
|
|
1059
|
+
8192 && V && A(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1060
|
+
2064 && v && p && Pn(p, v), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1061
|
+
4112 && D && p && Un(p, D), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1062
|
+
524304 && d && p && Fn(p, `${d}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
1073
1063
|
16384 && b && me();
|
|
1074
1064
|
}, [
|
|
1075
1065
|
w,
|
|
1076
|
-
|
|
1066
|
+
x,
|
|
1077
1067
|
de,
|
|
1078
1068
|
he,
|
|
1079
1069
|
p,
|
|
1080
|
-
|
|
1070
|
+
W,
|
|
1081
1071
|
q,
|
|
1082
|
-
|
|
1072
|
+
K,
|
|
1083
1073
|
r,
|
|
1084
|
-
|
|
1085
|
-
|
|
1074
|
+
h,
|
|
1075
|
+
S,
|
|
1086
1076
|
v,
|
|
1087
1077
|
D,
|
|
1088
|
-
|
|
1078
|
+
V,
|
|
1089
1079
|
b,
|
|
1090
|
-
|
|
1091
|
-
|
|
1080
|
+
R,
|
|
1081
|
+
O,
|
|
1092
1082
|
fe,
|
|
1093
|
-
|
|
1083
|
+
z,
|
|
1094
1084
|
d,
|
|
1095
1085
|
o,
|
|
1096
1086
|
m,
|
|
1097
1087
|
l,
|
|
1098
1088
|
De,
|
|
1099
|
-
|
|
1089
|
+
y,
|
|
1100
1090
|
Ie
|
|
1101
1091
|
];
|
|
1102
1092
|
}
|
|
1103
|
-
class
|
|
1093
|
+
class wi extends Ln {
|
|
1104
1094
|
constructor(t) {
|
|
1105
1095
|
super(), Mn(
|
|
1106
1096
|
this,
|
|
1107
1097
|
t,
|
|
1108
|
-
wi,
|
|
1109
1098
|
yi,
|
|
1110
|
-
|
|
1099
|
+
bi,
|
|
1100
|
+
On,
|
|
1111
1101
|
{
|
|
1112
1102
|
clientstyling: 11,
|
|
1113
1103
|
clientstylingurl: 12,
|
|
@@ -1123,7 +1113,7 @@ class Ci extends On {
|
|
|
1123
1113
|
selectedpaymentmethodname: 18,
|
|
1124
1114
|
mbsource: 19
|
|
1125
1115
|
},
|
|
1126
|
-
|
|
1116
|
+
li,
|
|
1127
1117
|
[-1, -1]
|
|
1128
1118
|
);
|
|
1129
1119
|
}
|
|
@@ -1206,7 +1196,7 @@ class Ci extends On {
|
|
|
1206
1196
|
this.$$set({ mbsource: t }), j();
|
|
1207
1197
|
}
|
|
1208
1198
|
}
|
|
1209
|
-
|
|
1199
|
+
Hn(wi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1210
1200
|
export {
|
|
1211
|
-
|
|
1201
|
+
wi as default
|
|
1212
1202
|
};
|