@everymatrix/cashier-page 1.77.4 → 1.77.6
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-BEEnpeVH.cjs → CashierError-85r_lbiV.cjs} +4 -4
- package/components/{CashierError-BuW5dJfP.js → CashierError-CteHkwfB.js} +471 -489
- package/components/{CashierError-BL7OTzSK.js → CashierError-In4OzIIA.js} +623 -641
- package/components/{CashierHeader-FDYsDrpF.js → CashierHeader-BeeK80Nf.js} +73 -73
- package/components/{CashierHeader-CkyrZZ8s.js → CashierHeader-DGh4L4vF.js} +74 -74
- package/components/CashierHeader-bssm74cT.cjs +1 -0
- package/components/{CashierIframeRedirect-Db-zgjwP.cjs → CashierIframeRedirect-B2PCgM3_.cjs} +1 -1
- package/components/{CashierIframeRedirect-CmdPA_aZ.js → CashierIframeRedirect-CWs1zVlC.js} +3 -3
- package/components/{CashierIframeRedirect-wlE_YN39.js → CashierIframeRedirect-tRttmemn.js} +3 -3
- package/components/{CashierMethodDetails-B7K0CIlB.cjs → CashierMethodDetails-0UiFXxGB.cjs} +5 -5
- package/components/{CashierMethodDetails-BSBqkHNa.js → CashierMethodDetails-CXghdR2g.js} +127 -127
- package/components/{CashierMethodDetails-C7dG4t8m.js → CashierMethodDetails-tCy-EPwr.js} +127 -127
- package/components/{CashierMethodsList-FNgy0d7U.js → CashierMethodsList-CoALKisj.js} +239 -239
- package/components/{CashierMethodsList-gPmctW-Q.js → CashierMethodsList-D-nRx8wu.js} +256 -256
- package/components/CashierMethodsList-D5XG8usA.cjs +1 -0
- package/components/{CashierModal-BAzO-8NU.js → CashierModal-C49IE2Ol.js} +32 -32
- package/components/{CashierModal-vCh-dC6Q.cjs → CashierModal-CQu7VSLY.cjs} +1 -1
- package/components/{CashierModal-CIWk9EpH.js → CashierModal-CZVHRmZu.js} +36 -36
- package/components/{CashierNotifications-Bgf97-ym.cjs → CashierNotifications-CX0e5h0X.cjs} +1 -1
- package/components/{CashierNotifications-BhA-DfA9.js → CashierNotifications-Cdscp8qT.js} +1 -1
- package/components/{CashierNotifications-CfzNxd6q.js → CashierNotifications-DmdtMYZ2.js} +1 -1
- package/components/{CashierPage-D8YY3wAI.js → CashierPage-CGIvMHE7.js} +577 -595
- package/components/CashierPage-D9oKaypy.cjs +1 -0
- package/components/{CashierPage-DbHvX6nI.js → CashierPage-DlXd_cZV.js} +586 -604
- package/components/{CashierReceiptPage-BzjCwk2b.js → CashierReceiptPage-BlcpLLCo.js} +3 -3
- package/components/{CashierReceiptPage-A1MYfWGW.js → CashierReceiptPage-Bv6emon7.js} +3 -3
- package/components/{CashierReceiptPage-CQyluI1J.cjs → CashierReceiptPage-DE_LkOm4.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-CtakjuI_.js → CashierSessionExpirationModal-3Uya7xVh.js} +444 -462
- package/components/CashierSessionExpirationModal-5KkgklG1.cjs +2 -0
- package/components/{CashierSessionExpirationModal-YWIpKzje.js → CashierSessionExpirationModal-Dxm2K4pN.js} +402 -420
- package/components/{CashierSpinner-DXrTfpLq.js → CashierSpinner-Cz3Wh-IF.js} +1 -1
- package/components/{CashierSpinner-DTztqXMW.cjs → CashierSpinner-DWl8E_o4.cjs} +1 -1
- package/components/{CashierSpinner-CAqB2_pw.js → CashierSpinner-lg9LHAJP.js} +1 -1
- package/components/CashierTransactionHistory-B02OAEKa.js +1305 -0
- package/components/CashierTransactionHistory-BjR4_or_.cjs +1 -0
- package/components/CashierTransactionHistory-CXDAkYHG.js +1305 -0
- package/components/CashierVerifications-BaE9KdGs.js +612 -0
- package/components/CashierVerifications-M462VMAt.cjs +1 -0
- package/components/CashierVerifications-c1_MVNTC.js +608 -0
- package/components/{TxnStatusIcon-Dapc6xhT.cjs → TxnStatusIcon-CTlOyy_y.cjs} +1 -1
- package/components/{TxnStatusIcon-ClddwA7r.js → TxnStatusIcon-DAlixEXq.js} +1 -1
- package/components/{TxnStatusIcon-DPmmaKoK.js → TxnStatusIcon-rx3aknw5.js} +1 -1
- package/components/{TxnTypeIcons-w8LBVBiN.cjs → TxnTypeIcons-CBrT37yr.cjs} +1 -1
- package/components/{TxnTypeIcons-CEcfPpqm.js → TxnTypeIcons-Dvyjxf9B.js} +1 -1
- package/components/{TxnTypeIcons-CWojIltL.js → TxnTypeIcons-xUx3dWMd.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/stencil/index-256b7d4e-7jcaQ7rC.js +543 -0
- package/stencil/index-256b7d4e-BnoVkrXr.cjs +1 -0
- package/stencil/index-256b7d4e-CSg5Fmgt.js +559 -0
- package/stencil/ui-image-8975d115-BIwRmPA-.cjs +1 -0
- package/stencil/ui-image-8975d115-C8pJTCfZ.js +71 -0
- package/stencil/ui-image-8975d115-DxO6YS6C.js +71 -0
- package/stencil/{ui-image-e4W3SkhP.js → ui-image-B0TLi195.js} +1 -1
- package/stencil/{ui-image-C0iABVS5.cjs → ui-image-CLll1WRz.cjs} +1 -1
- package/stencil/{ui-image-BRBJSkg1.js → ui-image-CayMADxC.js} +1 -1
- package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-CXGY1IY3.cjs} +1 -1
- package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-DwuycSdC.js} +2 -2
- package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-rhY_9uoo.js} +2 -2
- package/components/CashierHeader-D5eAmyvG.cjs +0 -1
- package/components/CashierMethodsList-pakwpTY2.cjs +0 -1
- package/components/CashierPage-DcwM8mwG.cjs +0 -1
- package/components/CashierSessionExpirationModal-Bh3jmXl_.cjs +0 -2
- package/components/CashierTransactionHistory-U9Il8eZb.js +0 -1305
- package/components/CashierTransactionHistory-Y1g5hagc.js +0 -1305
- package/components/CashierTransactionHistory-c_0mTjNo.cjs +0 -1
- package/components/CashierVerifications-BA7PsePr.js +0 -608
- package/components/CashierVerifications-BTvFySIg.js +0 -604
- package/components/CashierVerifications-BlWTY2gh.cjs +0 -1
- 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/ui-image-2ff23cd5-BHGIWJop.cjs +0 -1
- package/stencil/ui-image-2ff23cd5-D0rXudCW.js +0 -86
- package/stencil/ui-image-2ff23cd5-DCLQ0SIO.js +0 -86
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { f as Wt } from "./CashierModal-
|
|
3
|
-
import { d as Yt, u as
|
|
1
|
+
import { a as xn, i as Rn, $ as Ln, S as Mn, b as On, s as Nn, f as j, d as vn, g as me, t as fe, h as le, X as un, Y as fn, l as pe, v as mn, q as It, r as kn, a0 as Dn, e as We, R as In, Z as Pt, K as Ut, w as qe, u as Ye, j as je, k as Xe, m as C, _ as Pn, A as Ft, n as G, x as Ke, o as ke, p as E, y as Ht, z as zt, U as Bt, G as Gt, C as Un, D as Fn, E as Hn, c as zn, B as Bn } from "./CashierError-In4OzIIA.js";
|
|
2
|
+
import { f as Wt } from "./CashierModal-CZVHRmZu.js";
|
|
3
|
+
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-CXghdR2g.js";
|
|
4
4
|
function Xt(n, t) {
|
|
5
|
-
|
|
5
|
+
xn(n, t);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
7
|
+
function Wn(n) {
|
|
8
|
+
Rn({
|
|
9
9
|
fallbackLocale: "en"
|
|
10
|
-
}),
|
|
10
|
+
}), Ln.set(n);
|
|
11
11
|
}
|
|
12
12
|
const Vt = {
|
|
13
13
|
en: {
|
|
@@ -34,45 +34,45 @@ const Vt = {
|
|
|
34
34
|
};
|
|
35
35
|
/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
|
|
36
36
|
const {
|
|
37
|
-
entries:
|
|
37
|
+
entries: pn,
|
|
38
38
|
setPrototypeOf: qt,
|
|
39
|
-
isFrozen:
|
|
40
|
-
getPrototypeOf:
|
|
41
|
-
getOwnPropertyDescriptor:
|
|
39
|
+
isFrozen: Yn,
|
|
40
|
+
getPrototypeOf: jn,
|
|
41
|
+
getOwnPropertyDescriptor: Xn
|
|
42
42
|
} = Object;
|
|
43
43
|
let {
|
|
44
|
-
freeze:
|
|
44
|
+
freeze: F,
|
|
45
45
|
seal: J,
|
|
46
|
-
create:
|
|
46
|
+
create: dn
|
|
47
47
|
} = Object, {
|
|
48
|
-
apply:
|
|
49
|
-
construct:
|
|
48
|
+
apply: ut,
|
|
49
|
+
construct: ft
|
|
50
50
|
} = typeof Reflect < "u" && Reflect;
|
|
51
|
-
|
|
51
|
+
F || (F = function(t) {
|
|
52
52
|
return t;
|
|
53
53
|
});
|
|
54
54
|
J || (J = function(t) {
|
|
55
55
|
return t;
|
|
56
56
|
});
|
|
57
|
-
|
|
57
|
+
ut || (ut = function(t, i, o) {
|
|
58
58
|
return t.apply(i, o);
|
|
59
59
|
});
|
|
60
|
-
|
|
60
|
+
ft || (ft = function(t, i) {
|
|
61
61
|
return new t(...i);
|
|
62
62
|
});
|
|
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),
|
|
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), Vn = X(String.prototype.indexOf), qn = X(String.prototype.trim), te = X(Object.prototype.hasOwnProperty), U = X(RegExp.prototype.test), Oe = Kn(TypeError);
|
|
64
64
|
function X(n) {
|
|
65
65
|
return function(t) {
|
|
66
|
-
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0),
|
|
67
|
-
o[
|
|
68
|
-
return
|
|
66
|
+
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), a = 1; a < i; a++)
|
|
67
|
+
o[a - 1] = arguments[a];
|
|
68
|
+
return ut(n, t, o);
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Kn(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 ft(n, i);
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
function f(n, t) {
|
|
@@ -80,115 +80,115 @@ function f(n, t) {
|
|
|
80
80
|
qt && qt(n, null);
|
|
81
81
|
let o = t.length;
|
|
82
82
|
for (; o--; ) {
|
|
83
|
-
let
|
|
84
|
-
if (typeof
|
|
85
|
-
const
|
|
86
|
-
|
|
83
|
+
let a = t[o];
|
|
84
|
+
if (typeof a == "string") {
|
|
85
|
+
const u = i(a);
|
|
86
|
+
u !== a && (Yn(t) || (t[o] = u), a = u);
|
|
87
87
|
}
|
|
88
|
-
n[
|
|
88
|
+
n[a] = !0;
|
|
89
89
|
}
|
|
90
90
|
return n;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function Zn(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
97
|
function _e(n) {
|
|
98
|
-
const t =
|
|
99
|
-
for (const [i, o] of
|
|
100
|
-
te(n, i) && (Array.isArray(o) ? t[i] =
|
|
98
|
+
const t = dn(null);
|
|
99
|
+
for (const [i, o] of pn(n))
|
|
100
|
+
te(n, i) && (Array.isArray(o) ? t[i] = Zn(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) {
|
|
104
104
|
for (; n !== null; ) {
|
|
105
|
-
const o =
|
|
105
|
+
const o = Xn(n, t);
|
|
106
106
|
if (o) {
|
|
107
107
|
if (o.get)
|
|
108
108
|
return X(o.get);
|
|
109
109
|
if (typeof o.value == "function")
|
|
110
110
|
return X(o.value);
|
|
111
111
|
}
|
|
112
|
-
n =
|
|
112
|
+
n = jn(n);
|
|
113
113
|
}
|
|
114
114
|
function i() {
|
|
115
115
|
return null;
|
|
116
116
|
}
|
|
117
117
|
return i;
|
|
118
118
|
}
|
|
119
|
-
const Jt =
|
|
119
|
+
const Jt = F(["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 = F(["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 = F(["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"]), Jn = F(["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 = F(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Qn = F(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Qt = F(["#text"]), $t = F(["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 = F(["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 = F(["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 = F(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), $n = J(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ei = J(/<%[\w\W]*|[\w\W]*%>/gm), ti = J(/\${[\w\W]*}/gm), ni = J(/^data-[\-\w.\u00B7-\uFFFF]/), ii = J(/^aria-[\-\w]+$/), hn = 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
|
+
), oi = J(/^(?:\w+script|data):/i), si = J(
|
|
123
123
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
124
124
|
// eslint-disable-line no-control-regex
|
|
125
|
-
),
|
|
125
|
+
), gn = J(/^html$/i), ri = J(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
126
126
|
var tn = /* @__PURE__ */ Object.freeze({
|
|
127
127
|
__proto__: null,
|
|
128
|
-
MUSTACHE_EXPR:
|
|
129
|
-
ERB_EXPR:
|
|
130
|
-
TMPLIT_EXPR:
|
|
131
|
-
DATA_ATTR:
|
|
132
|
-
ARIA_ATTR:
|
|
133
|
-
IS_ALLOWED_URI:
|
|
134
|
-
IS_SCRIPT_OR_DATA:
|
|
135
|
-
ATTR_WHITESPACE:
|
|
136
|
-
DOCTYPE_NAME:
|
|
137
|
-
CUSTOM_ELEMENT:
|
|
128
|
+
MUSTACHE_EXPR: $n,
|
|
129
|
+
ERB_EXPR: ei,
|
|
130
|
+
TMPLIT_EXPR: ti,
|
|
131
|
+
DATA_ATTR: ni,
|
|
132
|
+
ARIA_ATTR: ii,
|
|
133
|
+
IS_ALLOWED_URI: hn,
|
|
134
|
+
IS_SCRIPT_OR_DATA: oi,
|
|
135
|
+
ATTR_WHITESPACE: si,
|
|
136
|
+
DOCTYPE_NAME: gn,
|
|
137
|
+
CUSTOM_ELEMENT: ri
|
|
138
138
|
});
|
|
139
|
-
const
|
|
139
|
+
const ve = {
|
|
140
140
|
element: 1,
|
|
141
141
|
text: 3,
|
|
142
142
|
// Deprecated
|
|
143
143
|
progressingInstruction: 7,
|
|
144
144
|
comment: 8,
|
|
145
145
|
document: 9
|
|
146
|
-
},
|
|
146
|
+
}, ai = function() {
|
|
147
147
|
return typeof window > "u" ? null : window;
|
|
148
|
-
},
|
|
148
|
+
}, li = function(t, i) {
|
|
149
149
|
if (typeof t != "object" || typeof t.createPolicy != "function")
|
|
150
150
|
return null;
|
|
151
151
|
let o = null;
|
|
152
|
-
const
|
|
153
|
-
i && i.hasAttribute(
|
|
154
|
-
const
|
|
152
|
+
const a = "data-tt-policy-suffix";
|
|
153
|
+
i && i.hasAttribute(a) && (o = i.getAttribute(a));
|
|
154
|
+
const u = "dompurify" + (o ? "#" + o : "");
|
|
155
155
|
try {
|
|
156
|
-
return t.createPolicy(
|
|
157
|
-
createHTML(
|
|
158
|
-
return
|
|
156
|
+
return t.createPolicy(u, {
|
|
157
|
+
createHTML(h) {
|
|
158
|
+
return h;
|
|
159
159
|
},
|
|
160
|
-
createScriptURL(
|
|
161
|
-
return
|
|
160
|
+
createScriptURL(h) {
|
|
161
|
+
return h;
|
|
162
162
|
}
|
|
163
163
|
});
|
|
164
164
|
} catch {
|
|
165
|
-
return console.warn("TrustedTypes policy " +
|
|
165
|
+
return console.warn("TrustedTypes policy " + u + " could not be created."), null;
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
|
-
function
|
|
169
|
-
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
170
|
-
const t = (
|
|
171
|
-
if (t.version = "3.1.6", t.removed = [], !n || !n.document || n.document.nodeType !==
|
|
168
|
+
function _n() {
|
|
169
|
+
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ai();
|
|
170
|
+
const t = (c) => _n(c);
|
|
171
|
+
if (t.version = "3.1.6", t.removed = [], !n || !n.document || n.document.nodeType !== ve.document)
|
|
172
172
|
return t.isSupported = !1, t;
|
|
173
173
|
let {
|
|
174
174
|
document: i
|
|
175
175
|
} = n;
|
|
176
|
-
const o = i,
|
|
177
|
-
DocumentFragment:
|
|
178
|
-
HTMLTemplateElement:
|
|
179
|
-
Node:
|
|
176
|
+
const o = i, a = o.currentScript, {
|
|
177
|
+
DocumentFragment: u,
|
|
178
|
+
HTMLTemplateElement: h,
|
|
179
|
+
Node: k,
|
|
180
180
|
Element: D,
|
|
181
181
|
NodeFilter: w,
|
|
182
182
|
NamedNodeMap: x = n.NamedNodeMap || n.MozNamedAttrMap,
|
|
183
183
|
HTMLFormElement: de,
|
|
184
184
|
DOMParser: he,
|
|
185
185
|
trustedTypes: V
|
|
186
|
-
} = n,
|
|
187
|
-
if (typeof
|
|
188
|
-
const
|
|
189
|
-
|
|
186
|
+
} = n, A = D.prototype, R = Ne(A, "cloneNode"), O = Ne(A, "remove"), ce = Ne(A, "nextSibling"), H = Ne(A, "childNodes"), p = Ne(A, "parentNode");
|
|
187
|
+
if (typeof h == "function") {
|
|
188
|
+
const c = i.createElement("template");
|
|
189
|
+
c.content && c.content.ownerDocument && (i = c.content.ownerDocument);
|
|
190
190
|
}
|
|
191
|
-
let
|
|
191
|
+
let m, W = "";
|
|
192
192
|
const {
|
|
193
193
|
implementation: q,
|
|
194
194
|
createNodeIterator: K,
|
|
@@ -198,7 +198,7 @@ function gn() {
|
|
|
198
198
|
importNode: oe
|
|
199
199
|
} = o;
|
|
200
200
|
let g = {};
|
|
201
|
-
t.isSupported = typeof
|
|
201
|
+
t.isSupported = typeof pn == "function" && typeof p == "function" && q && q.createHTMLDocument !== void 0;
|
|
202
202
|
const {
|
|
203
203
|
MUSTACHE_EXPR: Y,
|
|
204
204
|
ERB_EXPR: $,
|
|
@@ -206,16 +206,16 @@ function gn() {
|
|
|
206
206
|
DATA_ATTR: Ee,
|
|
207
207
|
ARIA_ATTR: Z,
|
|
208
208
|
IS_SCRIPT_OR_DATA: se,
|
|
209
|
-
ATTR_WHITESPACE:
|
|
209
|
+
ATTR_WHITESPACE: d,
|
|
210
210
|
CUSTOM_ELEMENT: T
|
|
211
211
|
} = tn;
|
|
212
212
|
let {
|
|
213
|
-
IS_ALLOWED_URI:
|
|
214
|
-
} = tn,
|
|
213
|
+
IS_ALLOWED_URI: ue
|
|
214
|
+
} = tn, b = null;
|
|
215
215
|
const De = f({}, [...Jt, ...rt, ...at, ...lt, ...Qt]);
|
|
216
216
|
let y = null;
|
|
217
217
|
const Ie = f({}, [...$t, ...ct, ...en, ...Ge]);
|
|
218
|
-
let
|
|
218
|
+
let r = Object.seal(dn(null, {
|
|
219
219
|
tagNameCheck: {
|
|
220
220
|
writable: !0,
|
|
221
221
|
configurable: !1,
|
|
@@ -234,63 +234,63 @@ function gn() {
|
|
|
234
234
|
enumerable: !0,
|
|
235
235
|
value: !1
|
|
236
236
|
}
|
|
237
|
-
})), S = null, ee = null,
|
|
238
|
-
const
|
|
239
|
-
let et = !0, Ce = !1,
|
|
240
|
-
const
|
|
241
|
-
let
|
|
242
|
-
const
|
|
237
|
+
})), S = null, ee = null, z = !0, Ze = !0, mt = !1, pt = !0, Te = !1, Je = !0, ge = !1, Qe = !1, $e = !1, Se = !1, Pe = !1, Ue = !1, dt = !0, ht = !1;
|
|
238
|
+
const En = "user-content-";
|
|
239
|
+
let et = !0, Ce = !1, Ae = {}, be = null;
|
|
240
|
+
const gt = f({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
241
|
+
let _t = null;
|
|
242
|
+
const Et = f({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
243
243
|
let tt = null;
|
|
244
|
-
const
|
|
244
|
+
const Tt = f({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Fe = "http://www.w3.org/1998/Math/MathML", He = "http://www.w3.org/2000/svg", re = "http://www.w3.org/1999/xhtml";
|
|
245
245
|
let ye = re, nt = !1, it = null;
|
|
246
|
-
const
|
|
246
|
+
const Tn = f({}, [Fe, He, re], st);
|
|
247
247
|
let xe = null;
|
|
248
|
-
const
|
|
248
|
+
const Sn = ["application/xhtml+xml", "text/html"], An = "text/html";
|
|
249
249
|
let M = null, we = null;
|
|
250
|
-
const bn = i.createElement("form"),
|
|
250
|
+
const bn = i.createElement("form"), St = function(e) {
|
|
251
251
|
return e instanceof RegExp || e instanceof Function;
|
|
252
252
|
}, ot = function() {
|
|
253
253
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
254
254
|
if (!(we && we === e)) {
|
|
255
255
|
if ((!e || typeof e != "object") && (e = {}), e = _e(e), xe = // eslint-disable-next-line unicorn/prefer-includes
|
|
256
|
-
|
|
257
|
-
_e(
|
|
256
|
+
Sn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? An : e.PARSER_MEDIA_TYPE, M = xe === "application/xhtml+xml" ? st : Ve, b = 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) : Tn, tt = te(e, "ADD_URI_SAFE_ATTR") ? f(
|
|
257
|
+
_e(Tt),
|
|
258
258
|
// eslint-disable-line indent
|
|
259
259
|
e.ADD_URI_SAFE_ATTR,
|
|
260
260
|
// eslint-disable-line indent
|
|
261
261
|
M
|
|
262
262
|
// eslint-disable-line indent
|
|
263
|
-
) :
|
|
264
|
-
_e(
|
|
263
|
+
) : Tt, _t = te(e, "ADD_DATA_URI_TAGS") ? f(
|
|
264
|
+
_e(Et),
|
|
265
265
|
// eslint-disable-line indent
|
|
266
266
|
e.ADD_DATA_URI_TAGS,
|
|
267
267
|
// eslint-disable-line indent
|
|
268
268
|
M
|
|
269
269
|
// eslint-disable-line indent
|
|
270
|
-
) :
|
|
270
|
+
) : Et, be = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, M) : gt, S = te(e, "FORBID_TAGS") ? f({}, e.FORBID_TAGS, M) : {}, ee = te(e, "FORBID_ATTR") ? f({}, e.FORBID_ATTR, M) : {}, Ae = te(e, "USE_PROFILES") ? e.USE_PROFILES : !1, z = e.ALLOW_ARIA_ATTR !== !1, Ze = e.ALLOW_DATA_ATTR !== !1, mt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, pt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Te = e.SAFE_FOR_TEMPLATES || !1, 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, dt = e.SANITIZE_DOM !== !1, ht = e.SANITIZE_NAMED_PROPS || !1, et = e.KEEP_CONTENT !== !1, Ce = e.IN_PLACE || !1, ue = e.ALLOWED_URI_REGEXP || hn, ye = e.NAMESPACE || re, r = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (r.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (r.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (r.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Te && (Ze = !1), Pe && (Se = !0), Ae && (b = f({}, Qt), y = [], Ae.html === !0 && (f(b, Jt), f(y, $t)), Ae.svg === !0 && (f(b, rt), f(y, ct), f(y, Ge)), Ae.svgFilters === !0 && (f(b, at), f(y, ct), f(y, Ge)), Ae.mathMl === !0 && (f(b, lt), f(y, en), f(y, Ge))), e.ADD_TAGS && (b === De && (b = _e(b)), f(b, 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 && (be === gt && (be = _e(be)), f(be, e.FORBID_CONTENTS, M)), et && (b["#text"] = !0), ge && f(b, ["html", "head", "body"]), b.table && (f(b, ["tbody"]), delete S.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
271
271
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
272
272
|
throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
273
273
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
274
274
|
throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
275
|
-
|
|
275
|
+
m = e.TRUSTED_TYPES_POLICY, W = m.createHTML("");
|
|
276
276
|
} else
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
m === void 0 && (m = li(V, a)), m !== null && typeof W == "string" && (W = m.createHTML(""));
|
|
278
|
+
F && F(e), we = e;
|
|
279
279
|
}
|
|
280
|
-
}, At = f({}, ["mi", "mo", "mn", "ms", "mtext"]),
|
|
281
|
-
let s =
|
|
280
|
+
}, At = f({}, ["mi", "mo", "mn", "ms", "mtext"]), bt = f({}, ["foreignobject", "annotation-xml"]), yn = f({}, ["title", "style", "font", "a", "script"]), yt = f({}, [...rt, ...at, ...Jn]), wt = f({}, [...lt, ...Qn]), wn = function(e) {
|
|
281
|
+
let s = p(e);
|
|
282
282
|
(!s || !s.tagName) && (s = {
|
|
283
283
|
namespaceURI: ye,
|
|
284
284
|
tagName: "template"
|
|
285
285
|
});
|
|
286
|
-
const
|
|
287
|
-
return it[e.namespaceURI] ? e.namespaceURI === He ? s.namespaceURI === re ?
|
|
286
|
+
const l = Ve(e.tagName), _ = Ve(s.tagName);
|
|
287
|
+
return it[e.namespaceURI] ? e.namespaceURI === He ? s.namespaceURI === re ? l === "svg" : s.namespaceURI === Fe ? l === "svg" && (_ === "annotation-xml" || At[_]) : !!yt[l] : e.namespaceURI === Fe ? s.namespaceURI === re ? l === "math" : s.namespaceURI === He ? l === "math" && bt[_] : !!wt[l] : e.namespaceURI === re ? s.namespaceURI === He && !bt[_] || s.namespaceURI === Fe && !At[_] ? !1 : !wt[l] && (yn[l] || !yt[l]) : !!(xe === "application/xhtml+xml" && it[e.namespaceURI]) : !1;
|
|
288
288
|
}, ne = function(e) {
|
|
289
289
|
Le(t.removed, {
|
|
290
290
|
element: e
|
|
291
291
|
});
|
|
292
292
|
try {
|
|
293
|
-
|
|
293
|
+
p(e).removeChild(e);
|
|
294
294
|
} catch {
|
|
295
295
|
O(e);
|
|
296
296
|
}
|
|
@@ -317,16 +317,16 @@ function gn() {
|
|
|
317
317
|
s.setAttribute(e, "");
|
|
318
318
|
} catch {
|
|
319
319
|
}
|
|
320
|
-
},
|
|
321
|
-
let s = null,
|
|
320
|
+
}, Ct = function(e) {
|
|
321
|
+
let s = null, l = null;
|
|
322
322
|
if ($e)
|
|
323
323
|
e = "<remove></remove>" + e;
|
|
324
324
|
else {
|
|
325
|
-
const
|
|
326
|
-
|
|
325
|
+
const v = Zt(e, /^[\r\n\t ]+/);
|
|
326
|
+
l = v && v[0];
|
|
327
327
|
}
|
|
328
328
|
xe === "application/xhtml+xml" && ye === re && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
329
|
-
const _ =
|
|
329
|
+
const _ = m ? m.createHTML(e) : e;
|
|
330
330
|
if (ye === re)
|
|
331
331
|
try {
|
|
332
332
|
s = new he().parseFromString(_, xe);
|
|
@@ -340,8 +340,8 @@ function gn() {
|
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
const I = s.body || s.documentElement;
|
|
343
|
-
return e &&
|
|
344
|
-
},
|
|
343
|
+
return e && l && I.insertBefore(i.createTextNode(l), I.childNodes[0] || null), ye === re ? Q.call(s, ge ? "html" : "body")[0] : ge ? s.documentElement : I;
|
|
344
|
+
}, xt = function(e) {
|
|
345
345
|
return K.call(
|
|
346
346
|
e.ownerDocument || e,
|
|
347
347
|
e,
|
|
@@ -349,64 +349,64 @@ function gn() {
|
|
|
349
349
|
w.SHOW_ELEMENT | w.SHOW_COMMENT | w.SHOW_TEXT | w.SHOW_PROCESSING_INSTRUCTION | w.SHOW_CDATA_SECTION,
|
|
350
350
|
null
|
|
351
351
|
);
|
|
352
|
-
},
|
|
352
|
+
}, Rt = function(e) {
|
|
353
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
|
-
},
|
|
355
|
-
return typeof
|
|
356
|
-
}, ae = function(e, s,
|
|
354
|
+
}, Lt = function(e) {
|
|
355
|
+
return typeof k == "function" && e instanceof k;
|
|
356
|
+
}, ae = function(e, s, l) {
|
|
357
357
|
g[e] && Be(g[e], (_) => {
|
|
358
|
-
_.call(t, s,
|
|
358
|
+
_.call(t, s, l, we);
|
|
359
359
|
});
|
|
360
|
-
},
|
|
360
|
+
}, Mt = function(e) {
|
|
361
361
|
let s = null;
|
|
362
|
-
if (ae("beforeSanitizeElements", e, null),
|
|
362
|
+
if (ae("beforeSanitizeElements", e, null), Rt(e))
|
|
363
363
|
return ne(e), !0;
|
|
364
|
-
const
|
|
364
|
+
const l = M(e.nodeName);
|
|
365
365
|
if (ae("uponSanitizeElement", e, {
|
|
366
|
-
tagName:
|
|
367
|
-
allowedTags:
|
|
368
|
-
}), e.hasChildNodes() && !
|
|
366
|
+
tagName: l,
|
|
367
|
+
allowedTags: b
|
|
368
|
+
}), e.hasChildNodes() && !Lt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === ve.progressingInstruction || Je && e.nodeType === ve.comment && U(/<[/\w]/g, e.data))
|
|
369
369
|
return ne(e), !0;
|
|
370
|
-
if (!
|
|
371
|
-
if (!S[
|
|
370
|
+
if (!b[l] || S[l]) {
|
|
371
|
+
if (!S[l] && Nt(l) && (r.tagNameCheck instanceof RegExp && U(r.tagNameCheck, l) || r.tagNameCheck instanceof Function && r.tagNameCheck(l)))
|
|
372
372
|
return !1;
|
|
373
|
-
if (et && !
|
|
374
|
-
const _ =
|
|
373
|
+
if (et && !be[l]) {
|
|
374
|
+
const _ = p(e) || e.parentNode, I = H(e) || e.childNodes;
|
|
375
375
|
if (I && _) {
|
|
376
|
-
const
|
|
377
|
-
for (let
|
|
378
|
-
const ie = R(I[
|
|
379
|
-
ie.__removalCount = (e.__removalCount || 0) + 1, _.insertBefore(ie,
|
|
376
|
+
const v = I.length;
|
|
377
|
+
for (let B = v - 1; B >= 0; --B) {
|
|
378
|
+
const ie = R(I[B], !0);
|
|
379
|
+
ie.__removalCount = (e.__removalCount || 0) + 1, _.insertBefore(ie, ce(e));
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
return ne(e), !0;
|
|
384
384
|
}
|
|
385
|
-
return e instanceof D && !
|
|
385
|
+
return e instanceof D && !wn(e) || (l === "noscript" || l === "noembed" || l === "noframes") && U(/<\/no(script|embed|frames)/i, e.innerHTML) ? (ne(e), !0) : (Te && e.nodeType === ve.text && (s = e.textContent, Be([Y, $, N], (_) => {
|
|
386
386
|
s = Me(s, _, " ");
|
|
387
387
|
}), e.textContent !== s && (Le(t.removed, {
|
|
388
388
|
element: e.cloneNode()
|
|
389
389
|
}), e.textContent = s)), ae("afterSanitizeElements", e, null), !1);
|
|
390
|
-
},
|
|
391
|
-
if (
|
|
390
|
+
}, Ot = function(e, s, l) {
|
|
391
|
+
if (dt && (s === "id" || s === "name") && (l in i || l in bn))
|
|
392
392
|
return !1;
|
|
393
393
|
if (!(Ze && !ee[s] && U(Ee, s))) {
|
|
394
|
-
if (!(
|
|
394
|
+
if (!(z && U(Z, s))) {
|
|
395
395
|
if (!y[s] || ee[s]) {
|
|
396
396
|
if (
|
|
397
397
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
398
398
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
399
399
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
400
|
-
!(
|
|
400
|
+
!(Nt(e) && (r.tagNameCheck instanceof RegExp && U(r.tagNameCheck, e) || r.tagNameCheck instanceof Function && r.tagNameCheck(e)) && (r.attributeNameCheck instanceof RegExp && U(r.attributeNameCheck, s) || r.attributeNameCheck instanceof Function && r.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
401
401
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
402
|
-
s === "is" &&
|
|
402
|
+
s === "is" && r.allowCustomizedBuiltInElements && (r.tagNameCheck instanceof RegExp && U(r.tagNameCheck, l) || r.tagNameCheck instanceof Function && r.tagNameCheck(l)))
|
|
403
403
|
)
|
|
404
404
|
return !1;
|
|
405
405
|
} else if (!tt[s]) {
|
|
406
|
-
if (!U(
|
|
407
|
-
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" &&
|
|
408
|
-
if (!(
|
|
409
|
-
if (
|
|
406
|
+
if (!U(ue, Me(l, d, ""))) {
|
|
407
|
+
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Vn(l, "data:") === 0 && _t[e])) {
|
|
408
|
+
if (!(mt && !U(se, Me(l, d, "")))) {
|
|
409
|
+
if (l)
|
|
410
410
|
return !1;
|
|
411
411
|
}
|
|
412
412
|
}
|
|
@@ -415,7 +415,7 @@ function gn() {
|
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
return !0;
|
|
418
|
-
},
|
|
418
|
+
}, Nt = function(e) {
|
|
419
419
|
return e !== "annotation-xml" && Zt(e, T);
|
|
420
420
|
}, vt = function(e) {
|
|
421
421
|
ae("beforeSanitizeAttributes", e, null);
|
|
@@ -424,7 +424,7 @@ function gn() {
|
|
|
424
424
|
} = e;
|
|
425
425
|
if (!s)
|
|
426
426
|
return;
|
|
427
|
-
const
|
|
427
|
+
const l = {
|
|
428
428
|
attrName: "",
|
|
429
429
|
attrValue: "",
|
|
430
430
|
keepAttr: !0,
|
|
@@ -433,82 +433,82 @@ function gn() {
|
|
|
433
433
|
let _ = s.length;
|
|
434
434
|
for (; _--; ) {
|
|
435
435
|
const I = s[_], {
|
|
436
|
-
name:
|
|
437
|
-
namespaceURI:
|
|
436
|
+
name: v,
|
|
437
|
+
namespaceURI: B,
|
|
438
438
|
value: ie
|
|
439
|
-
} = I, Re = M(
|
|
440
|
-
let P =
|
|
441
|
-
if (
|
|
442
|
-
ze(
|
|
439
|
+
} = I, Re = M(v);
|
|
440
|
+
let P = v === "value" ? ie : qn(ie);
|
|
441
|
+
if (l.attrName = Re, l.attrValue = P, l.keepAttr = !0, l.forceKeepAttr = void 0, ae("uponSanitizeAttribute", e, l), P = l.attrValue, Je && U(/((--!?|])>)|<\/(style|title)/i, P)) {
|
|
442
|
+
ze(v, e);
|
|
443
443
|
continue;
|
|
444
444
|
}
|
|
445
|
-
if (
|
|
445
|
+
if (l.forceKeepAttr || (ze(v, e), !l.keepAttr))
|
|
446
446
|
continue;
|
|
447
|
-
if (!
|
|
448
|
-
ze(
|
|
447
|
+
if (!pt && U(/\/>/i, P)) {
|
|
448
|
+
ze(v, e);
|
|
449
449
|
continue;
|
|
450
450
|
}
|
|
451
|
-
Te && Be([Y, $, N], (
|
|
452
|
-
P = Me(P,
|
|
451
|
+
Te && Be([Y, $, N], (Dt) => {
|
|
452
|
+
P = Me(P, Dt, " ");
|
|
453
453
|
});
|
|
454
|
-
const
|
|
455
|
-
if (
|
|
456
|
-
if (
|
|
457
|
-
switch (V.getAttributeType(
|
|
454
|
+
const kt = M(e.nodeName);
|
|
455
|
+
if (Ot(kt, Re, P)) {
|
|
456
|
+
if (ht && (Re === "id" || Re === "name") && (ze(v, e), P = En + P), m && typeof V == "object" && typeof V.getAttributeType == "function" && !B)
|
|
457
|
+
switch (V.getAttributeType(kt, Re)) {
|
|
458
458
|
case "TrustedHTML": {
|
|
459
|
-
P =
|
|
459
|
+
P = m.createHTML(P);
|
|
460
460
|
break;
|
|
461
461
|
}
|
|
462
462
|
case "TrustedScriptURL": {
|
|
463
|
-
P =
|
|
463
|
+
P = m.createScriptURL(P);
|
|
464
464
|
break;
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
467
|
try {
|
|
468
|
-
|
|
468
|
+
B ? e.setAttributeNS(B, v, P) : e.setAttribute(v, P), Rt(e) ? ne(e) : Kt(t.removed);
|
|
469
469
|
} catch {
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
473
|
ae("afterSanitizeAttributes", e, null);
|
|
474
|
-
},
|
|
474
|
+
}, Cn = function c(e) {
|
|
475
475
|
let s = null;
|
|
476
|
-
const
|
|
477
|
-
for (ae("beforeSanitizeShadowDOM", e, null); s =
|
|
478
|
-
ae("uponSanitizeShadowNode", s, null), !
|
|
476
|
+
const l = xt(e);
|
|
477
|
+
for (ae("beforeSanitizeShadowDOM", e, null); s = l.nextNode(); )
|
|
478
|
+
ae("uponSanitizeShadowNode", s, null), !Mt(s) && (s.content instanceof u && c(s.content), vt(s));
|
|
479
479
|
ae("afterSanitizeShadowDOM", e, null);
|
|
480
480
|
};
|
|
481
|
-
return t.sanitize = function(
|
|
482
|
-
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null,
|
|
483
|
-
if (nt = !
|
|
484
|
-
if (typeof
|
|
485
|
-
if (
|
|
481
|
+
return t.sanitize = function(c) {
|
|
482
|
+
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null, _ = null, I = null;
|
|
483
|
+
if (nt = !c, nt && (c = "<!-->"), typeof c != "string" && !Lt(c))
|
|
484
|
+
if (typeof c.toString == "function") {
|
|
485
|
+
if (c = c.toString(), typeof c != "string")
|
|
486
486
|
throw Oe("dirty is not a string, aborting");
|
|
487
487
|
} else
|
|
488
488
|
throw Oe("toString is not a function");
|
|
489
489
|
if (!t.isSupported)
|
|
490
|
-
return
|
|
491
|
-
if (Qe || ot(e), t.removed = [], typeof
|
|
492
|
-
if (
|
|
493
|
-
const ie = M(
|
|
494
|
-
if (!
|
|
490
|
+
return c;
|
|
491
|
+
if (Qe || ot(e), t.removed = [], typeof c == "string" && (Ce = !1), Ce) {
|
|
492
|
+
if (c.nodeName) {
|
|
493
|
+
const ie = M(c.nodeName);
|
|
494
|
+
if (!b[ie] || S[ie])
|
|
495
495
|
throw Oe("root node is forbidden and cannot be sanitized in-place");
|
|
496
496
|
}
|
|
497
|
-
} else if (
|
|
498
|
-
s =
|
|
497
|
+
} else if (c instanceof k)
|
|
498
|
+
s = Ct("<!---->"), l = s.ownerDocument.importNode(c, !0), l.nodeType === ve.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? s = l : s.appendChild(l);
|
|
499
499
|
else {
|
|
500
500
|
if (!Se && !Te && !ge && // eslint-disable-next-line unicorn/prefer-includes
|
|
501
|
-
|
|
502
|
-
return
|
|
503
|
-
if (s =
|
|
501
|
+
c.indexOf("<") === -1)
|
|
502
|
+
return m && Ue ? m.createHTML(c) : c;
|
|
503
|
+
if (s = Ct(c), !s)
|
|
504
504
|
return Se ? null : Ue ? W : "";
|
|
505
505
|
}
|
|
506
506
|
s && $e && ne(s.firstChild);
|
|
507
|
-
const
|
|
508
|
-
for (; _ =
|
|
509
|
-
|
|
507
|
+
const v = xt(Ce ? c : s);
|
|
508
|
+
for (; _ = v.nextNode(); )
|
|
509
|
+
Mt(_) || (_.content instanceof u && Cn(_.content), vt(_));
|
|
510
510
|
if (Ce)
|
|
511
|
-
return
|
|
511
|
+
return c;
|
|
512
512
|
if (Se) {
|
|
513
513
|
if (Pe)
|
|
514
514
|
for (I = L.call(s.ownerDocument); s.firstChild; )
|
|
@@ -517,41 +517,41 @@ function gn() {
|
|
|
517
517
|
I = s;
|
|
518
518
|
return (y.shadowroot || y.shadowrootmode) && (I = oe.call(o, I, !0)), I;
|
|
519
519
|
}
|
|
520
|
-
let
|
|
521
|
-
return ge &&
|
|
522
|
-
` +
|
|
523
|
-
|
|
524
|
-
}),
|
|
520
|
+
let B = ge ? s.outerHTML : s.innerHTML;
|
|
521
|
+
return ge && b["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && U(gn, s.ownerDocument.doctype.name) && (B = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
|
|
522
|
+
` + B), Te && Be([Y, $, N], (ie) => {
|
|
523
|
+
B = Me(B, ie, " ");
|
|
524
|
+
}), m && Ue ? m.createHTML(B) : B;
|
|
525
525
|
}, t.setConfig = function() {
|
|
526
|
-
let
|
|
527
|
-
ot(
|
|
526
|
+
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
527
|
+
ot(c), Qe = !0;
|
|
528
528
|
}, t.clearConfig = function() {
|
|
529
529
|
we = null, Qe = !1;
|
|
530
|
-
}, t.isValidAttribute = function(
|
|
530
|
+
}, t.isValidAttribute = function(c, e, s) {
|
|
531
531
|
we || ot({});
|
|
532
|
-
const
|
|
533
|
-
return
|
|
534
|
-
}, t.addHook = function(
|
|
535
|
-
typeof e == "function" && (g[
|
|
536
|
-
}, t.removeHook = function(
|
|
537
|
-
if (g[
|
|
538
|
-
return Kt(g[
|
|
539
|
-
}, t.removeHooks = function(
|
|
540
|
-
g[
|
|
532
|
+
const l = M(c), _ = M(e);
|
|
533
|
+
return Ot(l, _, s);
|
|
534
|
+
}, t.addHook = function(c, e) {
|
|
535
|
+
typeof e == "function" && (g[c] = g[c] || [], Le(g[c], e));
|
|
536
|
+
}, t.removeHook = function(c) {
|
|
537
|
+
if (g[c])
|
|
538
|
+
return Kt(g[c]);
|
|
539
|
+
}, t.removeHooks = function(c) {
|
|
540
|
+
g[c] && (g[c] = []);
|
|
541
541
|
}, t.removeAllHooks = function() {
|
|
542
542
|
g = {};
|
|
543
543
|
}, t;
|
|
544
544
|
}
|
|
545
|
-
var nn =
|
|
546
|
-
function
|
|
547
|
-
|
|
545
|
+
var nn = _n();
|
|
546
|
+
function ci(n) {
|
|
547
|
+
vn(n, "svelte-878602", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:15;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.2));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);width:400px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;height:var(--emw--header-height, 40px);background-color:var(--emw--color-gray-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0}.CashierSessionExpirationModalHeaderTitle{display:flex;text-align:center;color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis;line-height:calc(var(--emw--font-size-medium, 16px) + 2px)}.CashierSessionExpirationModalContainer{padding:var(--emw--spacing-large, 20px)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--emw--spacing-large, 20px)}.CashierSessionExpiration button{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #3854FF)}.CashierSessionExpirationTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierSessionExpirationText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #3854FF)}.CashierErrorButton:hover{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:disabled{filter:saturate(50%);opacity:0.5;cursor:auto;pointer-events:none}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}");
|
|
548
548
|
}
|
|
549
|
-
const
|
|
549
|
+
const ui = (n) => ({}), on = (n) => ({}), fi = (n) => ({}), sn = (n) => ({}), mi = (n) => ({}), rn = (n) => ({}), pi = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
|
|
550
550
|
function ln(n) {
|
|
551
|
-
let t, i, o,
|
|
551
|
+
let t, i, o, a, u, h = (
|
|
552
552
|
/*$_*/
|
|
553
553
|
n[8]("sessionExpirationHeader") + ""
|
|
554
|
-
),
|
|
554
|
+
), k, D, w, x, de, he, V, A, R, O, ce, H, p, m, W;
|
|
555
555
|
const q = (
|
|
556
556
|
/*#slots*/
|
|
557
557
|
n[22].icon
|
|
@@ -561,7 +561,7 @@ function ln(n) {
|
|
|
561
561
|
/*$$scope*/
|
|
562
562
|
n[21],
|
|
563
563
|
an
|
|
564
|
-
), L = K ||
|
|
564
|
+
), L = K || di(n), Q = (
|
|
565
565
|
/*#slots*/
|
|
566
566
|
n[22].title
|
|
567
567
|
), oe = We(
|
|
@@ -570,7 +570,7 @@ function ln(n) {
|
|
|
570
570
|
/*$$scope*/
|
|
571
571
|
n[21],
|
|
572
572
|
rn
|
|
573
|
-
), g = oe ||
|
|
573
|
+
), g = oe || hi(n), Y = (
|
|
574
574
|
/*#slots*/
|
|
575
575
|
n[22].text
|
|
576
576
|
), $ = We(
|
|
@@ -579,210 +579,192 @@ function ln(n) {
|
|
|
579
579
|
/*$$scope*/
|
|
580
580
|
n[21],
|
|
581
581
|
sn
|
|
582
|
-
), N = $ ||
|
|
583
|
-
function se(
|
|
582
|
+
), N = $ || gi(n), Ee = [Ei, _i], Z = [];
|
|
583
|
+
function se(d, T) {
|
|
584
584
|
return (
|
|
585
585
|
/*showLoaderButton*/
|
|
586
|
-
|
|
586
|
+
d[6] ? 0 : 1
|
|
587
587
|
);
|
|
588
588
|
}
|
|
589
589
|
return R = se(n), O = Z[R] = Ee[R](n), {
|
|
590
590
|
c() {
|
|
591
|
-
t =
|
|
592
|
-
n[6], E(
|
|
591
|
+
t = G("div"), i = G("div"), o = G("div"), a = G("div"), u = G("div"), k = Ke(h), D = ke(), w = G("div"), x = G("div"), L && L.c(), de = ke(), g && g.c(), he = ke(), N && N.c(), V = ke(), A = G("button"), O.c(), E(u, "class", "CashierSessionExpirationModalHeaderTitle"), E(a, "class", "CashierSessionExpirationModalHeader"), E(A, "type", "button"), A.disabled = /*showLoaderButton*/
|
|
592
|
+
n[6], E(A, "class", "CashierSessionExpirationButton"), E(x, "class", "CashierSessionExpiration"), E(w, "class", "CashierSessionExpirationModalContainer"), E(o, "class", "CashierSessionExpirationModalWrapper"), E(i, "class", "CashierSessionExpirationModalWindow"), E(i, "id", "CashierSessionExpirationModal"), Ut(() => (
|
|
593
593
|
/*div5_elementresize_handler*/
|
|
594
594
|
n[24].call(i)
|
|
595
595
|
));
|
|
596
596
|
},
|
|
597
|
-
m(
|
|
598
|
-
|
|
597
|
+
m(d, T) {
|
|
598
|
+
pe(d, t, T), C(t, i), C(i, o), C(o, a), C(a, u), C(u, k), 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, A), Z[R].m(A, null), n[23](x), ce = Pn(
|
|
599
599
|
i,
|
|
600
600
|
/*div5_elementresize_handler*/
|
|
601
601
|
n[24].bind(i)
|
|
602
|
-
), n[25](t),
|
|
603
|
-
|
|
604
|
-
|
|
602
|
+
), n[25](t), p = !0, m || (W = [
|
|
603
|
+
Ft(
|
|
604
|
+
A,
|
|
605
605
|
"click",
|
|
606
606
|
/*renewSession*/
|
|
607
607
|
n[9]
|
|
608
608
|
),
|
|
609
|
-
|
|
609
|
+
Ft(
|
|
610
610
|
i,
|
|
611
611
|
"click",
|
|
612
612
|
/*outOfModalClick*/
|
|
613
613
|
n[10]
|
|
614
614
|
)
|
|
615
|
-
],
|
|
615
|
+
], m = !0);
|
|
616
616
|
},
|
|
617
|
-
p(
|
|
618
|
-
n =
|
|
619
|
-
256) &&
|
|
620
|
-
n[8]("sessionExpirationHeader") + "") && qe(
|
|
617
|
+
p(d, T) {
|
|
618
|
+
n = d, (!p || T[0] & /*$_*/
|
|
619
|
+
256) && h !== (h = /*$_*/
|
|
620
|
+
n[8]("sessionExpirationHeader") + "") && qe(k, h), K ? K.p && (!p || T[0] & /*$$scope*/
|
|
621
621
|
2097152) && Ye(
|
|
622
622
|
K,
|
|
623
623
|
q,
|
|
624
624
|
n,
|
|
625
625
|
/*$$scope*/
|
|
626
626
|
n[21],
|
|
627
|
-
|
|
627
|
+
p ? Xe(
|
|
628
628
|
q,
|
|
629
629
|
/*$$scope*/
|
|
630
630
|
n[21],
|
|
631
631
|
T,
|
|
632
|
-
|
|
632
|
+
pi
|
|
633
633
|
) : je(
|
|
634
634
|
/*$$scope*/
|
|
635
635
|
n[21]
|
|
636
636
|
),
|
|
637
637
|
an
|
|
638
|
-
) : L && L.p && (!
|
|
639
|
-
8) && L.p(n,
|
|
638
|
+
) : L && L.p && (!p || T[0] & /*assetsurl*/
|
|
639
|
+
8) && L.p(n, p ? T : [-1, -1]), oe ? oe.p && (!p || T[0] & /*$$scope*/
|
|
640
640
|
2097152) && Ye(
|
|
641
641
|
oe,
|
|
642
642
|
Q,
|
|
643
643
|
n,
|
|
644
644
|
/*$$scope*/
|
|
645
645
|
n[21],
|
|
646
|
-
|
|
646
|
+
p ? Xe(
|
|
647
647
|
Q,
|
|
648
648
|
/*$$scope*/
|
|
649
649
|
n[21],
|
|
650
650
|
T,
|
|
651
|
-
|
|
651
|
+
mi
|
|
652
652
|
) : je(
|
|
653
653
|
/*$$scope*/
|
|
654
654
|
n[21]
|
|
655
655
|
),
|
|
656
656
|
rn
|
|
657
|
-
) : g && g.p && (!
|
|
658
|
-
256) && g.p(n,
|
|
657
|
+
) : g && g.p && (!p || T[0] & /*$_*/
|
|
658
|
+
256) && g.p(n, p ? T : [-1, -1]), $ ? $.p && (!p || T[0] & /*$$scope*/
|
|
659
659
|
2097152) && Ye(
|
|
660
660
|
$,
|
|
661
661
|
Y,
|
|
662
662
|
n,
|
|
663
663
|
/*$$scope*/
|
|
664
664
|
n[21],
|
|
665
|
-
|
|
665
|
+
p ? Xe(
|
|
666
666
|
Y,
|
|
667
667
|
/*$$scope*/
|
|
668
668
|
n[21],
|
|
669
669
|
T,
|
|
670
|
-
|
|
670
|
+
fi
|
|
671
671
|
) : je(
|
|
672
672
|
/*$$scope*/
|
|
673
673
|
n[21]
|
|
674
674
|
),
|
|
675
675
|
sn
|
|
676
|
-
) : N && N.p && (!
|
|
677
|
-
384) && N.p(n,
|
|
678
|
-
let
|
|
679
|
-
R = se(n), R ===
|
|
680
|
-
Z[
|
|
681
|
-
}),
|
|
682
|
-
64) && (
|
|
676
|
+
) : N && N.p && (!p || T[0] & /*$_, timeLeft*/
|
|
677
|
+
384) && N.p(n, p ? T : [-1, -1]);
|
|
678
|
+
let ue = R;
|
|
679
|
+
R = se(n), R === ue ? Z[R].p(n, T) : (un(), fe(Z[ue], 1, 1, () => {
|
|
680
|
+
Z[ue] = null;
|
|
681
|
+
}), fn(), O = Z[R], O ? O.p(n, T) : (O = Z[R] = Ee[R](n), O.c()), le(O, 1), O.m(A, null)), (!p || T[0] & /*showLoaderButton*/
|
|
682
|
+
64) && (A.disabled = /*showLoaderButton*/
|
|
683
683
|
n[6]);
|
|
684
684
|
},
|
|
685
|
-
i(
|
|
686
|
-
|
|
687
|
-
|
|
685
|
+
i(d) {
|
|
686
|
+
p || (le(L, d), le(g, d), le(N, d), le(O), d && Ut(() => {
|
|
687
|
+
p && (H || (H = Pt(i, Wt, { duration: (
|
|
688
688
|
/*duration*/
|
|
689
689
|
n[2]
|
|
690
|
-
) }, !0)),
|
|
691
|
-
}),
|
|
690
|
+
) }, !0)), H.run(1));
|
|
691
|
+
}), p = !0);
|
|
692
692
|
},
|
|
693
|
-
o(
|
|
694
|
-
|
|
693
|
+
o(d) {
|
|
694
|
+
fe(L, d), fe(g, d), fe(N, d), fe(O), d && (H || (H = Pt(i, Wt, { duration: (
|
|
695
695
|
/*duration*/
|
|
696
696
|
n[2]
|
|
697
|
-
) }, !1)),
|
|
698
|
-
},
|
|
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);
|
|
701
|
-
}
|
|
702
|
-
};
|
|
703
|
-
}
|
|
704
|
-
function pi(n) {
|
|
705
|
-
let t;
|
|
706
|
-
return {
|
|
707
|
-
c() {
|
|
708
|
-
t = F("div"), E(t, "class", "ImagePlaceholder");
|
|
697
|
+
) }, !1)), H.run(0)), p = !1;
|
|
709
698
|
},
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
},
|
|
713
|
-
p: ut,
|
|
714
|
-
d(i) {
|
|
715
|
-
i && ce(t);
|
|
699
|
+
d(d) {
|
|
700
|
+
d && me(t), L && L.d(d), g && g.d(d), N && N.d(d), Z[R].d(), n[23](null), ce(), d && H && H.end(), n[25](null), m = !1, In(W);
|
|
716
701
|
}
|
|
717
702
|
};
|
|
718
703
|
}
|
|
719
|
-
function
|
|
704
|
+
function cn(n) {
|
|
720
705
|
let t, i;
|
|
721
706
|
return {
|
|
722
707
|
c() {
|
|
723
|
-
t =
|
|
708
|
+
t = G("img"), Gt(t.src, i = `${/*assetsurl*/
|
|
724
709
|
n[3]}/set-timeout-icon.png`) || E(t, "src", i), E(t, "width", "300px"), E(t, "alt", "error");
|
|
725
710
|
},
|
|
726
|
-
m(o,
|
|
727
|
-
|
|
711
|
+
m(o, a) {
|
|
712
|
+
pe(o, t, a);
|
|
728
713
|
},
|
|
729
|
-
p(o,
|
|
730
|
-
|
|
714
|
+
p(o, a) {
|
|
715
|
+
a[0] & /*assetsurl*/
|
|
731
716
|
8 && !Gt(t.src, i = `${/*assetsurl*/
|
|
732
717
|
o[3]}/set-timeout-icon.png`) && E(t, "src", i);
|
|
733
718
|
},
|
|
734
719
|
d(o) {
|
|
735
|
-
o &&
|
|
720
|
+
o && me(t);
|
|
736
721
|
}
|
|
737
722
|
};
|
|
738
723
|
}
|
|
739
|
-
function
|
|
740
|
-
let t
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
l[3] ? di : pi
|
|
745
|
-
);
|
|
746
|
-
}
|
|
747
|
-
let o = i(n), r = o(n);
|
|
724
|
+
function di(n) {
|
|
725
|
+
let t, i = (
|
|
726
|
+
/*assetsurl*/
|
|
727
|
+
n[3] && cn(n)
|
|
728
|
+
);
|
|
748
729
|
return {
|
|
749
730
|
c() {
|
|
750
|
-
|
|
731
|
+
i && i.c(), t = mn();
|
|
751
732
|
},
|
|
752
|
-
m(
|
|
753
|
-
|
|
733
|
+
m(o, a) {
|
|
734
|
+
i && i.m(o, a), pe(o, t, a);
|
|
754
735
|
},
|
|
755
|
-
p(
|
|
756
|
-
|
|
736
|
+
p(o, a) {
|
|
737
|
+
/*assetsurl*/
|
|
738
|
+
o[3] ? i ? i.p(o, a) : (i = cn(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null);
|
|
757
739
|
},
|
|
758
|
-
d(
|
|
759
|
-
|
|
740
|
+
d(o) {
|
|
741
|
+
o && me(t), i && i.d(o);
|
|
760
742
|
}
|
|
761
743
|
};
|
|
762
744
|
}
|
|
763
|
-
function
|
|
745
|
+
function hi(n) {
|
|
764
746
|
let t, i = (
|
|
765
747
|
/*$_*/
|
|
766
748
|
n[8]("sessionExpirationTitle") + ""
|
|
767
749
|
), o;
|
|
768
750
|
return {
|
|
769
751
|
c() {
|
|
770
|
-
t =
|
|
752
|
+
t = G("span"), o = Ke(i), E(t, "class", "CashierSessionExpirationTitle");
|
|
771
753
|
},
|
|
772
|
-
m(
|
|
773
|
-
|
|
754
|
+
m(a, u) {
|
|
755
|
+
pe(a, t, u), C(t, o);
|
|
774
756
|
},
|
|
775
|
-
p(
|
|
776
|
-
|
|
757
|
+
p(a, u) {
|
|
758
|
+
u[0] & /*$_*/
|
|
777
759
|
256 && i !== (i = /*$_*/
|
|
778
|
-
|
|
760
|
+
a[8]("sessionExpirationTitle") + "") && qe(o, i);
|
|
779
761
|
},
|
|
780
|
-
d(
|
|
781
|
-
|
|
762
|
+
d(a) {
|
|
763
|
+
a && me(t);
|
|
782
764
|
}
|
|
783
765
|
};
|
|
784
766
|
}
|
|
785
|
-
function
|
|
767
|
+
function gi(n) {
|
|
786
768
|
let t, i = nn.sanitize(
|
|
787
769
|
/*$_*/
|
|
788
770
|
n[8]("sessionExpirationGeneralText", { values: { second: (
|
|
@@ -792,13 +774,13 @@ function _i(n) {
|
|
|
792
774
|
) + "";
|
|
793
775
|
return {
|
|
794
776
|
c() {
|
|
795
|
-
t =
|
|
777
|
+
t = G("span"), E(t, "class", "CashierSessionExpirationText");
|
|
796
778
|
},
|
|
797
|
-
m(o,
|
|
798
|
-
|
|
779
|
+
m(o, a) {
|
|
780
|
+
pe(o, t, a), t.innerHTML = i;
|
|
799
781
|
},
|
|
800
|
-
p(o,
|
|
801
|
-
|
|
782
|
+
p(o, a) {
|
|
783
|
+
a[0] & /*$_, timeLeft*/
|
|
802
784
|
384 && i !== (i = nn.sanitize(
|
|
803
785
|
/*$_*/
|
|
804
786
|
o[8]("sessionExpirationGeneralText", { values: { second: (
|
|
@@ -808,11 +790,11 @@ function _i(n) {
|
|
|
808
790
|
) + "") && (t.innerHTML = i);
|
|
809
791
|
},
|
|
810
792
|
d(o) {
|
|
811
|
-
o &&
|
|
793
|
+
o && me(t);
|
|
812
794
|
}
|
|
813
795
|
};
|
|
814
796
|
}
|
|
815
|
-
function
|
|
797
|
+
function _i(n) {
|
|
816
798
|
let t;
|
|
817
799
|
const i = (
|
|
818
800
|
/*#slots*/
|
|
@@ -823,139 +805,139 @@ function Ei(n) {
|
|
|
823
805
|
/*$$scope*/
|
|
824
806
|
n[21],
|
|
825
807
|
on
|
|
826
|
-
),
|
|
808
|
+
), a = o || Ti(n);
|
|
827
809
|
return {
|
|
828
810
|
c() {
|
|
829
|
-
|
|
811
|
+
a && a.c();
|
|
830
812
|
},
|
|
831
|
-
m(
|
|
832
|
-
|
|
813
|
+
m(u, h) {
|
|
814
|
+
a && a.m(u, h), t = !0;
|
|
833
815
|
},
|
|
834
|
-
p(
|
|
835
|
-
o ? o.p && (!t ||
|
|
816
|
+
p(u, h) {
|
|
817
|
+
o ? o.p && (!t || h[0] & /*$$scope*/
|
|
836
818
|
2097152) && Ye(
|
|
837
819
|
o,
|
|
838
820
|
i,
|
|
839
|
-
|
|
821
|
+
u,
|
|
840
822
|
/*$$scope*/
|
|
841
|
-
|
|
823
|
+
u[21],
|
|
842
824
|
t ? Xe(
|
|
843
825
|
i,
|
|
844
826
|
/*$$scope*/
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
827
|
+
u[21],
|
|
828
|
+
h,
|
|
829
|
+
ui
|
|
848
830
|
) : je(
|
|
849
831
|
/*$$scope*/
|
|
850
|
-
|
|
832
|
+
u[21]
|
|
851
833
|
),
|
|
852
834
|
on
|
|
853
|
-
) :
|
|
854
|
-
256) &&
|
|
835
|
+
) : a && a.p && (!t || h[0] & /*$_*/
|
|
836
|
+
256) && a.p(u, t ? h : [-1, -1]);
|
|
855
837
|
},
|
|
856
|
-
i(
|
|
857
|
-
t || (le(
|
|
838
|
+
i(u) {
|
|
839
|
+
t || (le(a, u), t = !0);
|
|
858
840
|
},
|
|
859
|
-
o(
|
|
860
|
-
|
|
841
|
+
o(u) {
|
|
842
|
+
fe(a, u), t = !1;
|
|
861
843
|
},
|
|
862
|
-
d(
|
|
863
|
-
|
|
844
|
+
d(u) {
|
|
845
|
+
a && a.d(u);
|
|
864
846
|
}
|
|
865
847
|
};
|
|
866
848
|
}
|
|
867
|
-
function
|
|
868
|
-
let t, i, o,
|
|
849
|
+
function Ei(n) {
|
|
850
|
+
let t, i, o, a, u, h = (
|
|
869
851
|
/*$_*/
|
|
870
852
|
n[8]("sessionExpirationLoadingButton") + ""
|
|
871
|
-
),
|
|
853
|
+
), k;
|
|
872
854
|
return {
|
|
873
855
|
c() {
|
|
874
|
-
t =
|
|
856
|
+
t = G("div"), i = Bt("svg"), o = Bt("path"), a = ke(), u = G("span"), k = Ke(h), 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(u, "class", "CashierSessionExpirationButtonText");
|
|
875
857
|
},
|
|
876
858
|
m(D, w) {
|
|
877
|
-
|
|
859
|
+
pe(D, t, w), C(t, i), C(i, o), C(t, a), C(t, u), C(u, k);
|
|
878
860
|
},
|
|
879
861
|
p(D, w) {
|
|
880
862
|
w[0] & /*$_*/
|
|
881
|
-
256 &&
|
|
882
|
-
D[8]("sessionExpirationLoadingButton") + "") && qe(
|
|
863
|
+
256 && h !== (h = /*$_*/
|
|
864
|
+
D[8]("sessionExpirationLoadingButton") + "") && qe(k, h);
|
|
883
865
|
},
|
|
884
|
-
i:
|
|
885
|
-
o:
|
|
866
|
+
i: zt,
|
|
867
|
+
o: zt,
|
|
886
868
|
d(D) {
|
|
887
|
-
D &&
|
|
869
|
+
D && me(t);
|
|
888
870
|
}
|
|
889
871
|
};
|
|
890
872
|
}
|
|
891
|
-
function
|
|
873
|
+
function Ti(n) {
|
|
892
874
|
let t, i = (
|
|
893
875
|
/*$_*/
|
|
894
876
|
n[8]("sessionExpirationGeneralButton") + ""
|
|
895
877
|
), o;
|
|
896
878
|
return {
|
|
897
879
|
c() {
|
|
898
|
-
t =
|
|
880
|
+
t = G("span"), o = Ke(i), E(t, "class", "CashierSessionExpirationButtonText");
|
|
899
881
|
},
|
|
900
|
-
m(
|
|
901
|
-
|
|
882
|
+
m(a, u) {
|
|
883
|
+
pe(a, t, u), C(t, o);
|
|
902
884
|
},
|
|
903
|
-
p(
|
|
904
|
-
|
|
885
|
+
p(a, u) {
|
|
886
|
+
u[0] & /*$_*/
|
|
905
887
|
256 && i !== (i = /*$_*/
|
|
906
|
-
|
|
888
|
+
a[8]("sessionExpirationGeneralButton") + "") && qe(o, i);
|
|
907
889
|
},
|
|
908
|
-
d(
|
|
909
|
-
|
|
890
|
+
d(a) {
|
|
891
|
+
a && me(t);
|
|
910
892
|
}
|
|
911
893
|
};
|
|
912
894
|
}
|
|
913
|
-
function
|
|
895
|
+
function Si(n) {
|
|
914
896
|
let t, i, o = (
|
|
915
897
|
/*show*/
|
|
916
898
|
n[5] && ln(n)
|
|
917
899
|
);
|
|
918
900
|
return {
|
|
919
901
|
c() {
|
|
920
|
-
o && o.c(), t =
|
|
902
|
+
o && o.c(), t = mn();
|
|
921
903
|
},
|
|
922
|
-
m(
|
|
923
|
-
o && o.m(
|
|
904
|
+
m(a, u) {
|
|
905
|
+
o && o.m(a, u), pe(a, t, u), i = !0;
|
|
924
906
|
},
|
|
925
|
-
p(
|
|
907
|
+
p(a, u) {
|
|
926
908
|
/*show*/
|
|
927
|
-
|
|
928
|
-
32 && le(o, 1)) : (o = ln(
|
|
909
|
+
a[5] ? o ? (o.p(a, u), u[0] & /*show*/
|
|
910
|
+
32 && le(o, 1)) : (o = ln(a), o.c(), le(o, 1), o.m(t.parentNode, t)) : o && (un(), fe(o, 1, 1, () => {
|
|
929
911
|
o = null;
|
|
930
|
-
}),
|
|
912
|
+
}), fn());
|
|
931
913
|
},
|
|
932
|
-
i(
|
|
914
|
+
i(a) {
|
|
933
915
|
i || (le(o), i = !0);
|
|
934
916
|
},
|
|
935
|
-
o(
|
|
936
|
-
|
|
917
|
+
o(a) {
|
|
918
|
+
fe(o), i = !1;
|
|
937
919
|
},
|
|
938
|
-
d(
|
|
939
|
-
|
|
920
|
+
d(a) {
|
|
921
|
+
a && me(t), o && o.d(a);
|
|
940
922
|
}
|
|
941
923
|
};
|
|
942
924
|
}
|
|
943
925
|
const Ai = 90;
|
|
944
|
-
function
|
|
945
|
-
let o,
|
|
946
|
-
|
|
947
|
-
let { $$slots:
|
|
948
|
-
Yt.extend(
|
|
949
|
-
let { clientstyling:
|
|
926
|
+
function bi(n, t, i) {
|
|
927
|
+
let o, a;
|
|
928
|
+
It(n, jt, (r) => i(20, o = r)), It(n, Bn, (r) => i(8, a = r));
|
|
929
|
+
let { $$slots: u = {}, $$scope: h } = t;
|
|
930
|
+
Yt.extend(Gn);
|
|
931
|
+
let { clientstyling: k = "" } = t, { clientstylingurl: D = "" } = t, { width: w } = t, { height: x } = t, { duration: de = 200 } = t, { assetsurl: he = "" } = t, { lang: V = "en" } = t, { translationurl: A = "" } = t, { endpoint: R } = t, { currency: O } = t, { customerid: ce } = t, { selectedpaymentmethodname: H } = t, { mbsource: p = "" } = t, m, W = !1, q = !1, K, L, Q, oe, g;
|
|
950
932
|
var Y;
|
|
951
|
-
(function(
|
|
952
|
-
|
|
933
|
+
(function(r) {
|
|
934
|
+
r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
|
|
953
935
|
})(Y || (Y = {}));
|
|
954
|
-
const $ = (
|
|
955
|
-
|
|
956
|
-
}, N = (
|
|
936
|
+
const $ = (r) => {
|
|
937
|
+
r.data.type === "StartSessionCountdown" && (oe = r.data.paymentMethodName);
|
|
938
|
+
}, N = (r) => {
|
|
957
939
|
try {
|
|
958
|
-
return JSON.parse(atob(
|
|
940
|
+
return JSON.parse(atob(r.split(".")[1]));
|
|
959
941
|
} catch {
|
|
960
942
|
return null;
|
|
961
943
|
}
|
|
@@ -967,9 +949,9 @@ function yi(n, t, i) {
|
|
|
967
949
|
},
|
|
968
950
|
window.location.href
|
|
969
951
|
);
|
|
970
|
-
}, Z = (
|
|
952
|
+
}, Z = (r) => {
|
|
971
953
|
i(5, W = !1);
|
|
972
|
-
const S = N(
|
|
954
|
+
const S = N(r);
|
|
973
955
|
S && (L = S?.exp, i(7, K = L), Q && clearInterval(Q), Q = setInterval(
|
|
974
956
|
() => {
|
|
975
957
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
@@ -979,47 +961,47 @@ function yi(n, t, i) {
|
|
|
979
961
|
));
|
|
980
962
|
}, se = () => {
|
|
981
963
|
i(7, K = 0), i(5, W = !1), clearInterval(Q);
|
|
982
|
-
},
|
|
964
|
+
}, d = () => {
|
|
983
965
|
if (q)
|
|
984
966
|
return;
|
|
985
|
-
const
|
|
967
|
+
const r = new URL(`${R}/v1/player/${ce}/payment/GetPaymentMethod`), S = new Headers();
|
|
986
968
|
i(6, q = !0), S.append("accept", "application/json"), S.append("Content-Type", "application/json"), S.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
987
969
|
const ee = {
|
|
988
970
|
method: "POST",
|
|
989
971
|
mode: "cors",
|
|
990
972
|
headers: S,
|
|
991
973
|
body: JSON.stringify({
|
|
992
|
-
PaymentMethodName: oe ||
|
|
974
|
+
PaymentMethodName: oe || H,
|
|
993
975
|
Currency: O,
|
|
994
976
|
XPaymentSessionToken: o
|
|
995
977
|
})
|
|
996
978
|
};
|
|
997
|
-
fetch(
|
|
998
|
-
if (
|
|
979
|
+
fetch(r, ee).then((z) => z.json()).then((z) => {
|
|
980
|
+
if (z.error) {
|
|
999
981
|
window.postMessage(
|
|
1000
982
|
{
|
|
1001
983
|
type: "ShowSessionError",
|
|
1002
|
-
error:
|
|
984
|
+
error: z.error
|
|
1003
985
|
},
|
|
1004
986
|
window.location.href
|
|
1005
987
|
), se();
|
|
1006
988
|
return;
|
|
1007
989
|
}
|
|
1008
|
-
if (
|
|
1009
|
-
g =
|
|
990
|
+
if (z.ResponseCode === Y.PlayerSessionIsNotValid || z.ResponseCode === Y.JwtTokenError) {
|
|
991
|
+
g = z.ResponseCode, se(), Ee();
|
|
1010
992
|
return;
|
|
1011
993
|
}
|
|
1012
|
-
if (
|
|
1013
|
-
g =
|
|
994
|
+
if (z.ResponseCode !== Y.Success) {
|
|
995
|
+
g = z.ResponseCode, se();
|
|
1014
996
|
return;
|
|
1015
997
|
}
|
|
1016
|
-
|
|
998
|
+
z.XPaymentSessionToken && jt.set(z.XPaymentSessionToken);
|
|
1017
999
|
}).finally(() => i(6, q = !1));
|
|
1018
|
-
}, T = (
|
|
1019
|
-
const S =
|
|
1020
|
-
|
|
1021
|
-
},
|
|
1022
|
-
fetch(
|
|
1000
|
+
}, T = (r) => {
|
|
1001
|
+
const S = r.currentTarget;
|
|
1002
|
+
r.target === S && d();
|
|
1003
|
+
}, ue = () => {
|
|
1004
|
+
fetch(A).then((S) => S.json()).then((S) => {
|
|
1023
1005
|
Object.keys(S).forEach((ee) => {
|
|
1024
1006
|
Xt(ee, S[ee]);
|
|
1025
1007
|
});
|
|
@@ -1027,77 +1009,77 @@ function yi(n, t, i) {
|
|
|
1027
1009
|
console.log(S);
|
|
1028
1010
|
});
|
|
1029
1011
|
};
|
|
1030
|
-
Object.keys(Vt).forEach((
|
|
1031
|
-
Xt(
|
|
1012
|
+
Object.keys(Vt).forEach((r) => {
|
|
1013
|
+
Xt(r, Vt[r]);
|
|
1032
1014
|
});
|
|
1033
|
-
const
|
|
1034
|
-
|
|
1015
|
+
const b = () => {
|
|
1016
|
+
Wn(V);
|
|
1035
1017
|
};
|
|
1036
1018
|
kn(() => (window.addEventListener("message", $, !1), () => {
|
|
1037
1019
|
window.removeEventListener("message", $);
|
|
1038
|
-
})),
|
|
1020
|
+
})), Dn(() => {
|
|
1039
1021
|
clearInterval(Q);
|
|
1040
1022
|
});
|
|
1041
|
-
function De(
|
|
1042
|
-
|
|
1043
|
-
|
|
1023
|
+
function De(r) {
|
|
1024
|
+
Ht[r ? "unshift" : "push"](() => {
|
|
1025
|
+
m = r, i(4, m);
|
|
1044
1026
|
});
|
|
1045
1027
|
}
|
|
1046
1028
|
function y() {
|
|
1047
1029
|
w = this.clientWidth, x = this.clientHeight, i(0, w), i(1, x);
|
|
1048
1030
|
}
|
|
1049
|
-
function Ie(
|
|
1050
|
-
|
|
1051
|
-
|
|
1031
|
+
function Ie(r) {
|
|
1032
|
+
Ht[r ? "unshift" : "push"](() => {
|
|
1033
|
+
m = r, i(4, m);
|
|
1052
1034
|
});
|
|
1053
1035
|
}
|
|
1054
|
-
return n.$$set = (
|
|
1055
|
-
"clientstyling" in
|
|
1036
|
+
return n.$$set = (r) => {
|
|
1037
|
+
"clientstyling" in r && i(11, k = r.clientstyling), "clientstylingurl" in r && i(12, D = r.clientstylingurl), "width" in r && i(0, w = r.width), "height" in r && i(1, x = r.height), "duration" in r && i(2, de = r.duration), "assetsurl" in r && i(3, he = r.assetsurl), "lang" in r && i(13, V = r.lang), "translationurl" in r && i(14, A = r.translationurl), "endpoint" in r && i(15, R = r.endpoint), "currency" in r && i(16, O = r.currency), "customerid" in r && i(17, ce = r.customerid), "selectedpaymentmethodname" in r && i(18, H = r.selectedpaymentmethodname), "mbsource" in r && i(19, p = r.mbsource), "$$scope" in r && i(21, h = r.$$scope);
|
|
1056
1038
|
}, n.$$.update = () => {
|
|
1057
1039
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1058
1040
|
1048576 && Z(o), n.$$.dirty[0] & /*lang*/
|
|
1059
|
-
8192 && V &&
|
|
1060
|
-
2064 &&
|
|
1061
|
-
4112 && D &&
|
|
1062
|
-
524304 &&
|
|
1063
|
-
16384 &&
|
|
1041
|
+
8192 && V && b(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1042
|
+
2064 && k && m && Un(m, k), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1043
|
+
4112 && D && m && Fn(m, D), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1044
|
+
524304 && p && m && Hn(m, `${p}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
1045
|
+
16384 && A && ue();
|
|
1064
1046
|
}, [
|
|
1065
1047
|
w,
|
|
1066
1048
|
x,
|
|
1067
1049
|
de,
|
|
1068
1050
|
he,
|
|
1069
|
-
|
|
1051
|
+
m,
|
|
1070
1052
|
W,
|
|
1071
1053
|
q,
|
|
1072
1054
|
K,
|
|
1073
|
-
|
|
1074
|
-
|
|
1055
|
+
a,
|
|
1056
|
+
d,
|
|
1075
1057
|
T,
|
|
1076
|
-
|
|
1058
|
+
k,
|
|
1077
1059
|
D,
|
|
1078
1060
|
V,
|
|
1079
|
-
|
|
1061
|
+
A,
|
|
1080
1062
|
R,
|
|
1081
1063
|
O,
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1064
|
+
ce,
|
|
1065
|
+
H,
|
|
1066
|
+
p,
|
|
1085
1067
|
o,
|
|
1086
|
-
|
|
1087
|
-
|
|
1068
|
+
h,
|
|
1069
|
+
u,
|
|
1088
1070
|
De,
|
|
1089
1071
|
y,
|
|
1090
1072
|
Ie
|
|
1091
1073
|
];
|
|
1092
1074
|
}
|
|
1093
|
-
class
|
|
1075
|
+
class yi extends Mn {
|
|
1094
1076
|
constructor(t) {
|
|
1095
|
-
super(),
|
|
1077
|
+
super(), On(
|
|
1096
1078
|
this,
|
|
1097
1079
|
t,
|
|
1098
|
-
yi,
|
|
1099
1080
|
bi,
|
|
1100
|
-
|
|
1081
|
+
Si,
|
|
1082
|
+
Nn,
|
|
1101
1083
|
{
|
|
1102
1084
|
clientstyling: 11,
|
|
1103
1085
|
clientstylingurl: 12,
|
|
@@ -1113,7 +1095,7 @@ class wi extends Ln {
|
|
|
1113
1095
|
selectedpaymentmethodname: 18,
|
|
1114
1096
|
mbsource: 19
|
|
1115
1097
|
},
|
|
1116
|
-
|
|
1098
|
+
ci,
|
|
1117
1099
|
[-1, -1]
|
|
1118
1100
|
);
|
|
1119
1101
|
}
|
|
@@ -1196,7 +1178,7 @@ class wi extends Ln {
|
|
|
1196
1178
|
this.$$set({ mbsource: t }), j();
|
|
1197
1179
|
}
|
|
1198
1180
|
}
|
|
1199
|
-
|
|
1181
|
+
zn(yi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1200
1182
|
export {
|
|
1201
|
-
|
|
1183
|
+
yi as default
|
|
1202
1184
|
};
|