@everymatrix/cashier-page 1.74.7 → 1.74.10
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/{CashierConfirmModal-rwhmlwC5.js → CashierConfirmModal-BYlFu0me.js} +171 -171
- package/components/{CashierConfirmModal-irSMDzV_.cjs → CashierConfirmModal-ByJUy9ry.cjs} +1 -1
- package/components/{CashierConfirmModal-Dx60VYf6.js → CashierConfirmModal-S3xQoD4Y.js} +37 -37
- package/components/CashierError-DRraQILq.cjs +18 -0
- package/components/{CashierError-BWuNinWy.js → CashierError-DZCfGiar.js} +844 -842
- package/components/{CashierError-BIqFaX3H.js → CashierError-sTxUIcEn.js} +845 -843
- package/components/{CashierHeader-CXaZ-6Ua.js → CashierHeader-Be38HoWF.js} +85 -85
- package/components/{CashierHeader-Ca2cghIW.js → CashierHeader-C1kEuuWB.js} +85 -85
- package/components/CashierHeader-DQPl9zQv.cjs +1 -0
- package/components/{CashierIframeRedirect-7GBPLJHr.js → CashierIframeRedirect-CYLFQJXg.js} +19 -19
- package/components/{CashierIframeRedirect-BjLvrvKL.cjs → CashierIframeRedirect-IwINWeSY.cjs} +1 -1
- package/components/{CashierIframeRedirect-ChyzshIQ.js → CashierIframeRedirect-MolEdZEL.js} +19 -19
- package/components/{CashierMethodDetails-DxYPk7Br.cjs → CashierMethodDetails-BCQ8AJM6.cjs} +5 -5
- package/components/{CashierMethodDetails-CEFupmfP.js → CashierMethodDetails-DFS9YP8N.js} +506 -522
- package/components/{CashierMethodDetails-BuRbRo-R.js → CashierMethodDetails-_cqOdGAf.js} +499 -515
- package/components/{CashierMethodsList-CB_m5hK-.js → CashierMethodsList-CiubPxJr.js} +7 -7
- package/components/{CashierMethodsList-BI_GHUxf.cjs → CashierMethodsList-DT1GJvFl.cjs} +1 -1
- package/components/{CashierMethodsList-BqmFmDOC.js → CashierMethodsList-Dok-PyaF.js} +7 -7
- package/components/{CashierModal-CTayVmDw.js → CashierModal-CosVS6ZG.js} +14 -14
- package/components/{CashierModal-Bh6E-PDS.js → CashierModal-DaLEgzCg.js} +14 -14
- package/components/{CashierModal-BwVWBmwZ.cjs → CashierModal-DfAT-fOm.cjs} +1 -1
- package/components/{CashierNotifications-77FpsD4N.js → CashierNotifications-BwRxYhUc.js} +7 -7
- package/components/{CashierNotifications-CM4Cti_x.js → CashierNotifications-D_oROtv8.js} +7 -7
- package/components/{CashierNotifications-YOOhP2yz.cjs → CashierNotifications-Ozbtt3mJ.cjs} +1 -1
- package/components/{CashierPage-Bi90dl_Y.cjs → CashierPage-BwCzKH0T.cjs} +1 -1
- package/components/{CashierPage-Dq-XwH-T.js → CashierPage-cgi3jjun.js} +42 -42
- package/components/{CashierPage-B90j2bUX.js → CashierPage-e-dA2kkK.js} +42 -42
- package/components/{CashierReceiptPage-BsBy8_a9.js → CashierReceiptPage-CWB3Qb6X.js} +7 -7
- package/components/{CashierReceiptPage-C-5P1j5e.cjs → CashierReceiptPage-GuGtbsZ9.cjs} +1 -1
- package/components/{CashierReceiptPage-TGTe-vYp.js → CashierReceiptPage-poXQkZls.js} +7 -7
- package/components/{CashierSessionExpirationModal-D7u1LLSa.js → CashierSessionExpirationModal-COgNoxpO.js} +192 -192
- package/components/{CashierSessionExpirationModal-Bwks132l.js → CashierSessionExpirationModal-CZYZsKSE.js} +192 -192
- package/components/{CashierSessionExpirationModal-lqr-I0nF.cjs → CashierSessionExpirationModal-DH2pQRwj.cjs} +2 -2
- package/components/{CashierSpinner-BhE9RAhI.cjs → CashierSpinner-DF2vfHQq.cjs} +1 -1
- package/components/{CashierSpinner-C6RPqoHx.js → CashierSpinner-itmEpf5t.js} +8 -8
- package/components/{CashierSpinner-sEBjrLfs.js → CashierSpinner-xWC9BbBR.js} +8 -8
- package/components/{CashierTransactionHistory-CkMKi6Fz.js → CashierTransactionHistory-CGvz3iLW.js} +11 -11
- package/components/{CashierTransactionHistory-BSO5XGtr.cjs → CashierTransactionHistory-DVIT9utw.cjs} +1 -1
- package/components/{CashierTransactionHistory-DiONlMGi.js → CashierTransactionHistory-lJRQE6lc.js} +11 -11
- package/components/{CashierVerifications-B63zidU5.js → CashierVerifications-DlieKYAR.js} +8 -8
- package/components/{CashierVerifications-J6r2bd7v.cjs → CashierVerifications-DoORbl64.cjs} +1 -1
- package/components/{CashierVerifications-DkUcWYyo.js → CashierVerifications-Wi4nIbHi.js} +8 -8
- package/components/{TxnStatusIcon-Bqtf3sG3.js → TxnStatusIcon-B1CpcXOx.js} +4 -4
- package/components/{TxnStatusIcon-fiVxFVX_.js → TxnStatusIcon-BQqw71yX.js} +4 -4
- package/components/{TxnStatusIcon-C9hNDByt.cjs → TxnStatusIcon-DjmVZ3PB.cjs} +1 -1
- package/components/{TxnTypeIcons-D6ZYjaVc.cjs → TxnTypeIcons-BVZYEXE4.cjs} +1 -1
- package/components/{TxnTypeIcons-CA9VDuG4.js → TxnTypeIcons-D0np3tlV.js} +1 -1
- package/components/{TxnTypeIcons-DMjccElF.js → TxnTypeIcons-Dq7VBNAU.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-97d17652-BgKdDb-e.cjs +1 -0
- package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
- package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
- package/stencil/index-b2193545-B1ZEoKQs.cjs +1 -0
- package/stencil/{index-b2193545-Dfy4Cgny.js → index-b2193545-B5WVVmva.js} +176 -176
- package/stencil/{index-b2193545-DWKmtYUG.js → index-b2193545-CfiRkmy3.js} +169 -169
- package/stencil/{ui-image-CER01gdl.cjs → ui-image-CNNeJmP0.cjs} +1 -1
- package/stencil/{ui-image-6u7OR3Eo.js → ui-image-DCPAt25-.js} +1 -1
- package/stencil/{ui-image-4dZyD9yF.js → ui-image-am9MgSQ8.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-CzFe50WB.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-z5LhXZY2.js} +2 -2
- package/stencil/{ui-skeleton-P4PO_42z.js → ui-skeleton-D1L4lwNZ.js} +2 -2
- package/stencil/{ui-skeleton-gIFE_2eg.cjs → ui-skeleton-DuT40Wl3.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BIdXBK8D.js → ui-skeleton-ae35c6f2-Biyf8F-y.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-D-MGUxCy.cjs → ui-skeleton-ae35c6f2-CFTNuZYA.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-C7WHUwAT.js → ui-skeleton-ae35c6f2-CzSGP5Of.js} +1 -1
- package/stencil/{ui-skeleton-BTr272EW.js → ui-skeleton-vQGsM2TX.js} +2 -2
- package/components/CashierError-CORG04aE.cjs +0 -18
- package/components/CashierHeader-Dl6r6hK0.cjs +0 -1
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
- package/stencil/index-b2193545-BhpttWPO.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as Cn, b as Rn, f as j, c as xn, a as On, d as Mn,
|
|
2
|
-
import { f as Bt } from "./CashierModal-
|
|
3
|
-
import { a as Un, i as zn, $ as Fn, b as Wn } from "./CashierError-
|
|
4
|
-
import { d as Yt, u as Hn, x as jt } from "./CashierMethodDetails-
|
|
1
|
+
import { S as Cn, b as Rn, f as j, c as xn, a as On, d as Mn, y as cn, k as ce, t as le, p as pe, q as un, v as ue, w as Ut, x as Ln, X as Nn, e as Be, g as P, z as qe, h as ve, j as h, J as zt, l as C, V as kn, B as Ft, A as Ze, u as Ye, m as je, o as Ve, C as fn, W as Wt, r as vn, D as Ht, E as Dn, F as In, G as Pn, R as Gt, n as ut, H as ft } from "./CashierConfirmModal-S3xQoD4Y.js";
|
|
2
|
+
import { f as Bt } from "./CashierModal-CosVS6ZG.js";
|
|
3
|
+
import { a as Un, i as zn, $ as Fn, b as Wn } from "./CashierError-sTxUIcEn.js";
|
|
4
|
+
import { d as Yt, u as Hn, x as jt } from "./CashierMethodDetails-DFS9YP8N.js";
|
|
5
5
|
function Vt(n, t) {
|
|
6
6
|
Un(n, t);
|
|
7
7
|
}
|
|
@@ -42,14 +42,14 @@ const {
|
|
|
42
42
|
getOwnPropertyDescriptor: jn
|
|
43
43
|
} = Object;
|
|
44
44
|
let {
|
|
45
|
-
freeze:
|
|
45
|
+
freeze: U,
|
|
46
46
|
seal: J,
|
|
47
47
|
create: pn
|
|
48
48
|
} = Object, {
|
|
49
49
|
apply: mt,
|
|
50
50
|
construct: pt
|
|
51
|
-
} = typeof Reflect
|
|
52
|
-
|
|
51
|
+
} = typeof Reflect != "undefined" && Reflect;
|
|
52
|
+
U || (U = function(t) {
|
|
53
53
|
return t;
|
|
54
54
|
});
|
|
55
55
|
J || (J = function(t) {
|
|
@@ -61,7 +61,7 @@ mt || (mt = function(t, i, o) {
|
|
|
61
61
|
pt || (pt = function(t, i) {
|
|
62
62
|
return new t(...i);
|
|
63
63
|
});
|
|
64
|
-
const He = V(Array.prototype.forEach), Zt = V(Array.prototype.pop), Oe = V(Array.prototype.push), Xe = V(String.prototype.toLowerCase), st = V(String.prototype.toString), Kt = V(String.prototype.match), Me = V(String.prototype.replace), Vn = V(String.prototype.indexOf), Xn = V(String.prototype.trim), te = V(Object.prototype.hasOwnProperty),
|
|
64
|
+
const He = V(Array.prototype.forEach), Zt = V(Array.prototype.pop), Oe = V(Array.prototype.push), Xe = V(String.prototype.toLowerCase), st = V(String.prototype.toString), Kt = V(String.prototype.match), Me = V(String.prototype.replace), Vn = V(String.prototype.indexOf), Xn = V(String.prototype.trim), te = V(Object.prototype.hasOwnProperty), I = V(RegExp.prototype.test), Le = qn(TypeError);
|
|
65
65
|
function V(n) {
|
|
66
66
|
return function(t) {
|
|
67
67
|
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), r = 1; r < i; r++)
|
|
@@ -117,7 +117,7 @@ function Ne(n, t) {
|
|
|
117
117
|
}
|
|
118
118
|
return i;
|
|
119
119
|
}
|
|
120
|
-
const Jt =
|
|
120
|
+
const Jt = U(["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 = U(["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 = U(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Kn = U(["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 = U(["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 = U(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Qt = U(["#text"]), $t = U(["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 = U(["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 = U(["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 = U(["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(
|
|
121
121
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
122
122
|
// eslint-disable-line no-useless-escape
|
|
123
123
|
), ii = J(/^(?:\w+script|data):/i), oi = J(
|
|
@@ -154,7 +154,7 @@ const ke = {
|
|
|
154
154
|
notation: 12
|
|
155
155
|
// Deprecated
|
|
156
156
|
}, ri = function() {
|
|
157
|
-
return typeof window
|
|
157
|
+
return typeof window == "undefined" ? null : window;
|
|
158
158
|
}, ai = function(t, i) {
|
|
159
159
|
if (typeof t != "object" || typeof t.createPolicy != "function")
|
|
160
160
|
return null;
|
|
@@ -171,7 +171,7 @@ const ke = {
|
|
|
171
171
|
return m;
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
|
-
} catch {
|
|
174
|
+
} catch (m) {
|
|
175
175
|
return console.warn("TrustedTypes policy " + l + " could not be created."), null;
|
|
176
176
|
}
|
|
177
177
|
};
|
|
@@ -186,33 +186,33 @@ function gn() {
|
|
|
186
186
|
const o = i, r = o.currentScript, {
|
|
187
187
|
DocumentFragment: l,
|
|
188
188
|
HTMLTemplateElement: m,
|
|
189
|
-
Node:
|
|
190
|
-
Element:
|
|
189
|
+
Node: N,
|
|
190
|
+
Element: k,
|
|
191
191
|
NodeFilter: w,
|
|
192
192
|
NamedNodeMap: R = n.NamedNodeMap || n.MozNamedAttrMap,
|
|
193
193
|
HTMLFormElement: de,
|
|
194
194
|
DOMParser: he,
|
|
195
195
|
trustedTypes: X
|
|
196
|
-
} = n, b =
|
|
196
|
+
} = n, b = k.prototype, x = Ne(b, "cloneNode"), M = Ne(b, "remove"), fe = Ne(b, "nextSibling"), z = Ne(b, "childNodes"), d = Ne(b, "parentNode");
|
|
197
197
|
if (typeof m == "function") {
|
|
198
198
|
const u = i.createElement("template");
|
|
199
199
|
u.content && u.content.ownerDocument && (i = u.content.ownerDocument);
|
|
200
200
|
}
|
|
201
|
-
let p,
|
|
201
|
+
let p, G = "";
|
|
202
202
|
const {
|
|
203
203
|
implementation: q,
|
|
204
204
|
createNodeIterator: Z,
|
|
205
|
-
createDocumentFragment:
|
|
205
|
+
createDocumentFragment: F,
|
|
206
206
|
getElementsByTagName: Q
|
|
207
207
|
} = i, {
|
|
208
208
|
importNode: oe
|
|
209
209
|
} = o;
|
|
210
|
-
let
|
|
210
|
+
let A = {};
|
|
211
211
|
t.isSupported = typeof mn == "function" && typeof d == "function" && q && q.createHTMLDocument !== void 0;
|
|
212
212
|
const {
|
|
213
|
-
MUSTACHE_EXPR:
|
|
213
|
+
MUSTACHE_EXPR: B,
|
|
214
214
|
ERB_EXPR: $,
|
|
215
|
-
TMPLIT_EXPR:
|
|
215
|
+
TMPLIT_EXPR: Y,
|
|
216
216
|
DATA_ATTR: Ee,
|
|
217
217
|
ARIA_ATTR: K,
|
|
218
218
|
IS_SCRIPT_OR_DATA: se,
|
|
@@ -244,7 +244,7 @@ function gn() {
|
|
|
244
244
|
enumerable: !0,
|
|
245
245
|
value: !1
|
|
246
246
|
}
|
|
247
|
-
})),
|
|
247
|
+
})), E = null, ee = null, W = !0, Ke = !0, dt = !1, ht = !0, _e = !1, Je = !0, ge = !1, Qe = !1, $e = !1, Ae = !1, Pe = !1, Ue = !1, gt = !0, Tt = !1;
|
|
248
248
|
const Tn = "user-content-";
|
|
249
249
|
let et = !0, Ce = !1, be = {}, ye = null;
|
|
250
250
|
const Et = 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"]);
|
|
@@ -256,36 +256,36 @@ function gn() {
|
|
|
256
256
|
const En = f({}, [ze, Fe, re], st);
|
|
257
257
|
let Re = null;
|
|
258
258
|
const _n = ["application/xhtml+xml", "text/html"], An = "text/html";
|
|
259
|
-
let
|
|
259
|
+
let O = null, we = null;
|
|
260
260
|
const bn = i.createElement("form"), yt = function(e) {
|
|
261
261
|
return e instanceof RegExp || e instanceof Function;
|
|
262
262
|
}, ot = function() {
|
|
263
263
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
264
264
|
if (!(we && we === e)) {
|
|
265
265
|
if ((!e || typeof e != "object") && (e = {}), e = Te(e), Re = // eslint-disable-next-line unicorn/prefer-includes
|
|
266
|
-
_n.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? An : e.PARSER_MEDIA_TYPE,
|
|
266
|
+
_n.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? An : e.PARSER_MEDIA_TYPE, O = Re === "application/xhtml+xml" ? st : Xe, y = te(e, "ALLOWED_TAGS") ? f({}, e.ALLOWED_TAGS, O) : De, S = te(e, "ALLOWED_ATTR") ? f({}, e.ALLOWED_ATTR, O) : Ie, it = te(e, "ALLOWED_NAMESPACES") ? f({}, e.ALLOWED_NAMESPACES, st) : En, tt = te(e, "ADD_URI_SAFE_ATTR") ? f(
|
|
267
267
|
Te(bt),
|
|
268
268
|
// eslint-disable-line indent
|
|
269
269
|
e.ADD_URI_SAFE_ATTR,
|
|
270
270
|
// eslint-disable-line indent
|
|
271
|
-
|
|
271
|
+
O
|
|
272
272
|
// eslint-disable-line indent
|
|
273
273
|
) : bt, _t = te(e, "ADD_DATA_URI_TAGS") ? f(
|
|
274
274
|
Te(At),
|
|
275
275
|
// eslint-disable-line indent
|
|
276
276
|
e.ADD_DATA_URI_TAGS,
|
|
277
277
|
// eslint-disable-line indent
|
|
278
|
-
|
|
278
|
+
O
|
|
279
279
|
// eslint-disable-line indent
|
|
280
|
-
) : At, ye = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS,
|
|
280
|
+
) : At, ye = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, O) : Et, E = te(e, "FORBID_TAGS") ? f({}, e.FORBID_TAGS, O) : {}, ee = te(e, "FORBID_ATTR") ? f({}, e.FORBID_ATTR, O) : {}, be = te(e, "USE_PROFILES") ? e.USE_PROFILES : !1, W = e.ALLOW_ARIA_ATTR !== !1, Ke = e.ALLOW_DATA_ATTR !== !1, dt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, ht = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _e = e.SAFE_FOR_TEMPLATES || !1, Je = e.SAFE_FOR_XML !== !1, ge = e.WHOLE_DOCUMENT || !1, Ae = e.RETURN_DOM || !1, Pe = e.RETURN_DOM_FRAGMENT || !1, Ue = e.RETURN_TRUSTED_TYPE || !1, $e = e.FORCE_BODY || !1, gt = e.SANITIZE_DOM !== !1, Tt = e.SANITIZE_NAMED_PROPS || !1, et = e.KEEP_CONTENT !== !1, Ce = e.IN_PLACE || !1, me = e.ALLOWED_URI_REGEXP || dn, Se = e.NAMESPACE || re, a = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (a.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && yt(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), _e && (Ke = !1), Pe && (Ae = !0), be && (y = f({}, Qt), S = [], be.html === !0 && (f(y, Jt), f(S, $t)), be.svg === !0 && (f(y, rt), f(S, ct), f(S, Ge)), be.svgFilters === !0 && (f(y, at), f(S, ct), f(S, Ge)), be.mathMl === !0 && (f(y, lt), f(S, en), f(S, Ge))), e.ADD_TAGS && (y === De && (y = Te(y)), f(y, e.ADD_TAGS, O)), e.ADD_ATTR && (S === Ie && (S = Te(S)), f(S, e.ADD_ATTR, O)), e.ADD_URI_SAFE_ATTR && f(tt, e.ADD_URI_SAFE_ATTR, O), e.FORBID_CONTENTS && (ye === Et && (ye = Te(ye)), f(ye, e.FORBID_CONTENTS, O)), et && (y["#text"] = !0), ge && f(y, ["html", "head", "body"]), y.table && (f(y, ["tbody"]), delete E.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
281
281
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
282
282
|
throw Le('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
283
283
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
284
284
|
throw Le('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
285
|
-
p = e.TRUSTED_TYPES_POLICY,
|
|
285
|
+
p = e.TRUSTED_TYPES_POLICY, G = p.createHTML("");
|
|
286
286
|
} else
|
|
287
|
-
p === void 0 && (p = ai(X, r)), p !== null && typeof
|
|
288
|
-
|
|
287
|
+
p === void 0 && (p = ai(X, r)), p !== null && typeof G == "string" && (G = p.createHTML(""));
|
|
288
|
+
U && U(e), we = e;
|
|
289
289
|
}
|
|
290
290
|
}, St = f({}, ["mi", "mo", "mn", "ms", "mtext"]), wt = f({}, ["foreignobject", "annotation-xml"]), yn = f({}, ["title", "style", "font", "a", "script"]), Ct = f({}, [...rt, ...at, ...Kn]), Rt = f({}, [...lt, ...Jn]), Sn = function(e) {
|
|
291
291
|
let s = d(e);
|
|
@@ -293,16 +293,16 @@ function gn() {
|
|
|
293
293
|
namespaceURI: Se,
|
|
294
294
|
tagName: "template"
|
|
295
295
|
});
|
|
296
|
-
const c = Xe(e.tagName),
|
|
297
|
-
return it[e.namespaceURI] ? e.namespaceURI === Fe ? s.namespaceURI === re ? c === "svg" : s.namespaceURI === ze ? c === "svg" && (
|
|
296
|
+
const c = Xe(e.tagName), T = Xe(s.tagName);
|
|
297
|
+
return it[e.namespaceURI] ? e.namespaceURI === Fe ? s.namespaceURI === re ? c === "svg" : s.namespaceURI === ze ? c === "svg" && (T === "annotation-xml" || St[T]) : !!Ct[c] : e.namespaceURI === ze ? s.namespaceURI === re ? c === "math" : s.namespaceURI === Fe ? c === "math" && wt[T] : !!Rt[c] : e.namespaceURI === re ? s.namespaceURI === Fe && !wt[T] || s.namespaceURI === ze && !St[T] ? !1 : !Rt[c] && (yn[c] || !Ct[c]) : !!(Re === "application/xhtml+xml" && it[e.namespaceURI]) : !1;
|
|
298
298
|
}, ne = function(e) {
|
|
299
299
|
Oe(t.removed, {
|
|
300
300
|
element: e
|
|
301
301
|
});
|
|
302
302
|
try {
|
|
303
303
|
d(e).removeChild(e);
|
|
304
|
-
} catch {
|
|
305
|
-
|
|
304
|
+
} catch (s) {
|
|
305
|
+
M(e);
|
|
306
306
|
}
|
|
307
307
|
}, We = function(e, s) {
|
|
308
308
|
try {
|
|
@@ -310,7 +310,7 @@ function gn() {
|
|
|
310
310
|
attribute: s.getAttributeNode(e),
|
|
311
311
|
from: s
|
|
312
312
|
});
|
|
313
|
-
} catch {
|
|
313
|
+
} catch (c) {
|
|
314
314
|
Oe(t.removed, {
|
|
315
315
|
attribute: null,
|
|
316
316
|
from: s
|
|
@@ -320,37 +320,37 @@ function gn() {
|
|
|
320
320
|
if (Ae || Pe)
|
|
321
321
|
try {
|
|
322
322
|
ne(s);
|
|
323
|
-
} catch {
|
|
323
|
+
} catch (c) {
|
|
324
324
|
}
|
|
325
325
|
else
|
|
326
326
|
try {
|
|
327
327
|
s.setAttribute(e, "");
|
|
328
|
-
} catch {
|
|
328
|
+
} catch (c) {
|
|
329
329
|
}
|
|
330
330
|
}, xt = function(e) {
|
|
331
331
|
let s = null, c = null;
|
|
332
332
|
if ($e)
|
|
333
333
|
e = "<remove></remove>" + e;
|
|
334
334
|
else {
|
|
335
|
-
const
|
|
336
|
-
c =
|
|
335
|
+
const L = Kt(e, /^[\r\n\t ]+/);
|
|
336
|
+
c = L && L[0];
|
|
337
337
|
}
|
|
338
338
|
Re === "application/xhtml+xml" && Se === re && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
339
|
-
const
|
|
339
|
+
const T = p ? p.createHTML(e) : e;
|
|
340
340
|
if (Se === re)
|
|
341
341
|
try {
|
|
342
|
-
s = new he().parseFromString(
|
|
343
|
-
} catch {
|
|
342
|
+
s = new he().parseFromString(T, Re);
|
|
343
|
+
} catch (L) {
|
|
344
344
|
}
|
|
345
345
|
if (!s || !s.documentElement) {
|
|
346
346
|
s = q.createDocument(Se, "template", null);
|
|
347
347
|
try {
|
|
348
|
-
s.documentElement.innerHTML = nt ?
|
|
349
|
-
} catch {
|
|
348
|
+
s.documentElement.innerHTML = nt ? G : T;
|
|
349
|
+
} catch (L) {
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
|
-
const
|
|
353
|
-
return e && c &&
|
|
352
|
+
const v = s.body || s.documentElement;
|
|
353
|
+
return e && c && v.insertBefore(i.createTextNode(c), v.childNodes[0] || null), Se === re ? Q.call(s, ge ? "html" : "body")[0] : ge ? s.documentElement : v;
|
|
354
354
|
}, Ot = function(e) {
|
|
355
355
|
return Z.call(
|
|
356
356
|
e.ownerDocument || e,
|
|
@@ -362,60 +362,60 @@ function gn() {
|
|
|
362
362
|
}, Mt = function(e) {
|
|
363
363
|
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");
|
|
364
364
|
}, Lt = function(e) {
|
|
365
|
-
return typeof
|
|
365
|
+
return typeof N == "function" && e instanceof N;
|
|
366
366
|
}, ae = function(e, s, c) {
|
|
367
|
-
|
|
368
|
-
|
|
367
|
+
A[e] && He(A[e], (T) => {
|
|
368
|
+
T.call(t, s, c, we);
|
|
369
369
|
});
|
|
370
370
|
}, Nt = function(e) {
|
|
371
371
|
let s = null;
|
|
372
372
|
if (ae("beforeSanitizeElements", e, null), Mt(e))
|
|
373
373
|
return ne(e), !0;
|
|
374
|
-
const c =
|
|
374
|
+
const c = O(e.nodeName);
|
|
375
375
|
if (ae("uponSanitizeElement", e, {
|
|
376
376
|
tagName: c,
|
|
377
377
|
allowedTags: y
|
|
378
|
-
}), e.hasChildNodes() && !Lt(e.firstElementChild) &&
|
|
378
|
+
}), e.hasChildNodes() && !Lt(e.firstElementChild) && I(/<[/\w]/g, e.innerHTML) && I(/<[/\w]/g, e.textContent) || e.nodeType === ke.progressingInstruction || Je && e.nodeType === ke.comment && I(/<[/\w]/g, e.data))
|
|
379
379
|
return ne(e), !0;
|
|
380
|
-
if (!y[c] ||
|
|
381
|
-
if (!
|
|
380
|
+
if (!y[c] || E[c]) {
|
|
381
|
+
if (!E[c] && vt(c) && (a.tagNameCheck instanceof RegExp && I(a.tagNameCheck, c) || a.tagNameCheck instanceof Function && a.tagNameCheck(c)))
|
|
382
382
|
return !1;
|
|
383
383
|
if (et && !ye[c]) {
|
|
384
|
-
const
|
|
385
|
-
if (
|
|
386
|
-
const
|
|
387
|
-
for (let
|
|
388
|
-
const ie = x(
|
|
389
|
-
ie.__removalCount = (e.__removalCount || 0) + 1,
|
|
384
|
+
const T = d(e) || e.parentNode, v = z(e) || e.childNodes;
|
|
385
|
+
if (v && T) {
|
|
386
|
+
const L = v.length;
|
|
387
|
+
for (let H = L - 1; H >= 0; --H) {
|
|
388
|
+
const ie = x(v[H], !0);
|
|
389
|
+
ie.__removalCount = (e.__removalCount || 0) + 1, T.insertBefore(ie, fe(e));
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
return ne(e), !0;
|
|
394
394
|
}
|
|
395
|
-
return e instanceof
|
|
396
|
-
s = Me(s,
|
|
395
|
+
return e instanceof k && !Sn(e) || (c === "noscript" || c === "noembed" || c === "noframes") && I(/<\/no(script|embed|frames)/i, e.innerHTML) ? (ne(e), !0) : (_e && e.nodeType === ke.text && (s = e.textContent, He([B, $, Y], (T) => {
|
|
396
|
+
s = Me(s, T, " ");
|
|
397
397
|
}), e.textContent !== s && (Oe(t.removed, {
|
|
398
398
|
element: e.cloneNode()
|
|
399
399
|
}), e.textContent = s)), ae("afterSanitizeElements", e, null), !1);
|
|
400
400
|
}, kt = function(e, s, c) {
|
|
401
401
|
if (gt && (s === "id" || s === "name") && (c in i || c in bn))
|
|
402
402
|
return !1;
|
|
403
|
-
if (!(Ke && !ee[s] &&
|
|
404
|
-
if (!(
|
|
403
|
+
if (!(Ke && !ee[s] && I(Ee, s))) {
|
|
404
|
+
if (!(W && I(K, s))) {
|
|
405
405
|
if (!S[s] || ee[s]) {
|
|
406
406
|
if (
|
|
407
407
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
408
408
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
409
409
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
410
|
-
!(vt(e) && (a.tagNameCheck instanceof RegExp &&
|
|
410
|
+
!(vt(e) && (a.tagNameCheck instanceof RegExp && I(a.tagNameCheck, e) || a.tagNameCheck instanceof Function && a.tagNameCheck(e)) && (a.attributeNameCheck instanceof RegExp && I(a.attributeNameCheck, s) || a.attributeNameCheck instanceof Function && a.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
411
411
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
412
|
-
s === "is" && a.allowCustomizedBuiltInElements && (a.tagNameCheck instanceof RegExp &&
|
|
412
|
+
s === "is" && a.allowCustomizedBuiltInElements && (a.tagNameCheck instanceof RegExp && I(a.tagNameCheck, c) || a.tagNameCheck instanceof Function && a.tagNameCheck(c)))
|
|
413
413
|
)
|
|
414
414
|
return !1;
|
|
415
415
|
} else if (!tt[s]) {
|
|
416
|
-
if (!
|
|
416
|
+
if (!I(me, Me(c, g, ""))) {
|
|
417
417
|
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Vn(c, "data:") === 0 && _t[e])) {
|
|
418
|
-
if (!(dt && !
|
|
418
|
+
if (!(dt && !I(se, Me(c, g, "")))) {
|
|
419
419
|
if (c)
|
|
420
420
|
return !1;
|
|
421
421
|
}
|
|
@@ -440,43 +440,43 @@ function gn() {
|
|
|
440
440
|
keepAttr: !0,
|
|
441
441
|
allowedAttributes: S
|
|
442
442
|
};
|
|
443
|
-
let
|
|
444
|
-
for (;
|
|
445
|
-
const
|
|
446
|
-
name:
|
|
447
|
-
namespaceURI:
|
|
443
|
+
let T = s.length;
|
|
444
|
+
for (; T--; ) {
|
|
445
|
+
const v = s[T], {
|
|
446
|
+
name: L,
|
|
447
|
+
namespaceURI: H,
|
|
448
448
|
value: ie
|
|
449
|
-
} =
|
|
450
|
-
let
|
|
451
|
-
if (c.attrName = xe, c.attrValue =
|
|
452
|
-
We(
|
|
449
|
+
} = v, xe = O(L);
|
|
450
|
+
let D = L === "value" ? ie : Xn(ie);
|
|
451
|
+
if (c.attrName = xe, c.attrValue = D, c.keepAttr = !0, c.forceKeepAttr = void 0, ae("uponSanitizeAttribute", e, c), D = c.attrValue, Je && I(/((--!?|])>)|<\/(style|title)/i, D)) {
|
|
452
|
+
We(L, e);
|
|
453
453
|
continue;
|
|
454
454
|
}
|
|
455
|
-
if (c.forceKeepAttr || (We(
|
|
455
|
+
if (c.forceKeepAttr || (We(L, e), !c.keepAttr))
|
|
456
456
|
continue;
|
|
457
|
-
if (!ht &&
|
|
458
|
-
We(
|
|
457
|
+
if (!ht && I(/\/>/i, D)) {
|
|
458
|
+
We(L, e);
|
|
459
459
|
continue;
|
|
460
460
|
}
|
|
461
|
-
_e && He([
|
|
462
|
-
|
|
461
|
+
_e && He([B, $, Y], (Pt) => {
|
|
462
|
+
D = Me(D, Pt, " ");
|
|
463
463
|
});
|
|
464
|
-
const It =
|
|
465
|
-
if (kt(It, xe,
|
|
466
|
-
if (Tt && (xe === "id" || xe === "name") && (We(
|
|
464
|
+
const It = O(e.nodeName);
|
|
465
|
+
if (kt(It, xe, D)) {
|
|
466
|
+
if (Tt && (xe === "id" || xe === "name") && (We(L, e), D = Tn + D), p && typeof X == "object" && typeof X.getAttributeType == "function" && !H)
|
|
467
467
|
switch (X.getAttributeType(It, xe)) {
|
|
468
468
|
case "TrustedHTML": {
|
|
469
|
-
|
|
469
|
+
D = p.createHTML(D);
|
|
470
470
|
break;
|
|
471
471
|
}
|
|
472
472
|
case "TrustedScriptURL": {
|
|
473
|
-
|
|
473
|
+
D = p.createScriptURL(D);
|
|
474
474
|
break;
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
try {
|
|
478
|
-
|
|
479
|
-
} catch {
|
|
478
|
+
H ? e.setAttributeNS(H, L, D) : e.setAttribute(L, D), Mt(e) ? ne(e) : Zt(t.removed);
|
|
479
|
+
} catch (Pt) {
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
482
|
}
|
|
@@ -489,7 +489,7 @@ function gn() {
|
|
|
489
489
|
ae("afterSanitizeShadowDOM", e, null);
|
|
490
490
|
};
|
|
491
491
|
return t.sanitize = function(u) {
|
|
492
|
-
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, c = null,
|
|
492
|
+
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, c = null, T = null, v = null;
|
|
493
493
|
if (nt = !u, nt && (u = "<!-->"), typeof u != "string" && !Lt(u))
|
|
494
494
|
if (typeof u.toString == "function") {
|
|
495
495
|
if (u = u.toString(), typeof u != "string")
|
|
@@ -500,38 +500,38 @@ function gn() {
|
|
|
500
500
|
return u;
|
|
501
501
|
if (Qe || ot(e), t.removed = [], typeof u == "string" && (Ce = !1), Ce) {
|
|
502
502
|
if (u.nodeName) {
|
|
503
|
-
const ie =
|
|
504
|
-
if (!y[ie] ||
|
|
503
|
+
const ie = O(u.nodeName);
|
|
504
|
+
if (!y[ie] || E[ie])
|
|
505
505
|
throw Le("root node is forbidden and cannot be sanitized in-place");
|
|
506
506
|
}
|
|
507
|
-
} else if (u instanceof
|
|
507
|
+
} else if (u instanceof N)
|
|
508
508
|
s = xt("<!---->"), c = s.ownerDocument.importNode(u, !0), c.nodeType === ke.element && c.nodeName === "BODY" || c.nodeName === "HTML" ? s = c : s.appendChild(c);
|
|
509
509
|
else {
|
|
510
510
|
if (!Ae && !_e && !ge && // eslint-disable-next-line unicorn/prefer-includes
|
|
511
511
|
u.indexOf("<") === -1)
|
|
512
512
|
return p && Ue ? p.createHTML(u) : u;
|
|
513
513
|
if (s = xt(u), !s)
|
|
514
|
-
return Ae ? null : Ue ?
|
|
514
|
+
return Ae ? null : Ue ? G : "";
|
|
515
515
|
}
|
|
516
516
|
s && $e && ne(s.firstChild);
|
|
517
|
-
const
|
|
518
|
-
for (;
|
|
519
|
-
Nt(
|
|
517
|
+
const L = Ot(Ce ? u : s);
|
|
518
|
+
for (; T = L.nextNode(); )
|
|
519
|
+
Nt(T) || (T.content instanceof l && wn(T.content), Dt(T));
|
|
520
520
|
if (Ce)
|
|
521
521
|
return u;
|
|
522
522
|
if (Ae) {
|
|
523
523
|
if (Pe)
|
|
524
|
-
for (
|
|
525
|
-
|
|
524
|
+
for (v = F.call(s.ownerDocument); s.firstChild; )
|
|
525
|
+
v.appendChild(s.firstChild);
|
|
526
526
|
else
|
|
527
|
-
|
|
528
|
-
return (S.shadowroot || S.shadowrootmode) && (
|
|
527
|
+
v = s;
|
|
528
|
+
return (S.shadowroot || S.shadowrootmode) && (v = oe.call(o, v, !0)), v;
|
|
529
529
|
}
|
|
530
|
-
let
|
|
531
|
-
return ge && y["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name &&
|
|
532
|
-
` +
|
|
533
|
-
|
|
534
|
-
}), p && Ue ? p.createHTML(
|
|
530
|
+
let H = ge ? s.outerHTML : s.innerHTML;
|
|
531
|
+
return ge && y["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && I(hn, s.ownerDocument.doctype.name) && (H = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
|
|
532
|
+
` + H), _e && He([B, $, Y], (ie) => {
|
|
533
|
+
H = Me(H, ie, " ");
|
|
534
|
+
}), p && Ue ? p.createHTML(H) : H;
|
|
535
535
|
}, t.setConfig = function() {
|
|
536
536
|
let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
537
537
|
ot(u), Qe = !0;
|
|
@@ -539,17 +539,17 @@ function gn() {
|
|
|
539
539
|
we = null, Qe = !1;
|
|
540
540
|
}, t.isValidAttribute = function(u, e, s) {
|
|
541
541
|
we || ot({});
|
|
542
|
-
const c =
|
|
543
|
-
return kt(c,
|
|
542
|
+
const c = O(u), T = O(e);
|
|
543
|
+
return kt(c, T, s);
|
|
544
544
|
}, t.addHook = function(u, e) {
|
|
545
|
-
typeof e == "function" && (
|
|
545
|
+
typeof e == "function" && (A[u] = A[u] || [], Oe(A[u], e));
|
|
546
546
|
}, t.removeHook = function(u) {
|
|
547
|
-
if (
|
|
548
|
-
return Zt(
|
|
547
|
+
if (A[u])
|
|
548
|
+
return Zt(A[u]);
|
|
549
549
|
}, t.removeHooks = function(u) {
|
|
550
|
-
|
|
550
|
+
A[u] && (A[u] = []);
|
|
551
551
|
}, t.removeAllHooks = function() {
|
|
552
|
-
|
|
552
|
+
A = {};
|
|
553
553
|
}, t;
|
|
554
554
|
}
|
|
555
555
|
var nn = gn();
|
|
@@ -562,7 +562,7 @@ function ln(n) {
|
|
|
562
562
|
let t, i, o, r, l, m = (
|
|
563
563
|
/*$_*/
|
|
564
564
|
n[8]("sessionExpirationHeader") + ""
|
|
565
|
-
),
|
|
565
|
+
), N, k, w, R, de, he, X, b, x, M, fe, z, d, p, G;
|
|
566
566
|
const q = (
|
|
567
567
|
/*#slots*/
|
|
568
568
|
n[22].icon
|
|
@@ -572,7 +572,7 @@ function ln(n) {
|
|
|
572
572
|
/*$$scope*/
|
|
573
573
|
n[21],
|
|
574
574
|
an
|
|
575
|
-
),
|
|
575
|
+
), F = Z || gi(n), Q = (
|
|
576
576
|
/*#slots*/
|
|
577
577
|
n[22].title
|
|
578
578
|
), oe = Be(
|
|
@@ -581,36 +581,36 @@ function ln(n) {
|
|
|
581
581
|
/*$$scope*/
|
|
582
582
|
n[21],
|
|
583
583
|
rn
|
|
584
|
-
),
|
|
584
|
+
), A = oe || Ti(n), B = (
|
|
585
585
|
/*#slots*/
|
|
586
586
|
n[22].text
|
|
587
587
|
), $ = Be(
|
|
588
|
-
|
|
588
|
+
B,
|
|
589
589
|
n,
|
|
590
590
|
/*$$scope*/
|
|
591
591
|
n[21],
|
|
592
592
|
sn
|
|
593
|
-
),
|
|
593
|
+
), Y = $ || Ei(n), Ee = [Ai, _i], K = [];
|
|
594
594
|
function se(g, _) {
|
|
595
595
|
return (
|
|
596
596
|
/*showLoaderButton*/
|
|
597
597
|
g[6] ? 0 : 1
|
|
598
598
|
);
|
|
599
599
|
}
|
|
600
|
-
return x = se(n),
|
|
600
|
+
return x = se(n), M = K[x] = Ee[x](n), {
|
|
601
601
|
c() {
|
|
602
|
-
t =
|
|
602
|
+
t = P("div"), i = P("div"), o = P("div"), r = P("div"), l = P("div"), N = qe(m), k = ve(), w = P("div"), R = P("div"), F.c(), de = ve(), A.c(), he = ve(), Y.c(), X = ve(), b = P("button"), M.c(), h(l, "class", "CashierSessionExpirationModalHeaderTitle"), h(r, "class", "CashierSessionExpirationModalHeader"), h(b, "type", "button"), b.disabled = /*showLoaderButton*/
|
|
603
603
|
n[6], h(b, "class", "CashierSessionExpirationButton"), h(R, "class", "CashierSessionExpiration"), h(w, "class", "CashierSessionExpirationModalContainer"), h(o, "class", "CashierSessionExpirationModalWrapper"), h(i, "class", "CashierSessionExpirationModalWindow"), h(i, "id", "CashierSessionExpirationModal"), zt(() => (
|
|
604
604
|
/*div5_elementresize_handler*/
|
|
605
605
|
n[24].call(i)
|
|
606
606
|
));
|
|
607
607
|
},
|
|
608
608
|
m(g, _) {
|
|
609
|
-
ce(g, t, _), C(t, i), C(i, o), C(o, r), C(r, l), C(l,
|
|
609
|
+
ce(g, t, _), C(t, i), C(i, o), C(o, r), C(r, l), C(l, N), C(o, k), C(o, w), C(w, R), F.m(R, null), C(R, de), A.m(R, null), C(R, he), Y.m(R, null), C(R, X), C(R, b), K[x].m(b, null), n[23](R), fe = kn(
|
|
610
610
|
i,
|
|
611
611
|
/*div5_elementresize_handler*/
|
|
612
612
|
n[24].bind(i)
|
|
613
|
-
), n[25](t), d = !0, p || (
|
|
613
|
+
), n[25](t), d = !0, p || (G = [
|
|
614
614
|
Ft(
|
|
615
615
|
b,
|
|
616
616
|
"click",
|
|
@@ -628,7 +628,7 @@ function ln(n) {
|
|
|
628
628
|
p(g, _) {
|
|
629
629
|
n = g, (!d || _[0] & /*$_*/
|
|
630
630
|
256) && m !== (m = /*$_*/
|
|
631
|
-
n[8]("sessionExpirationHeader") + "") && Ze(
|
|
631
|
+
n[8]("sessionExpirationHeader") + "") && Ze(N, m), Z ? Z.p && (!d || _[0] & /*$$scope*/
|
|
632
632
|
2097152) && Ye(
|
|
633
633
|
Z,
|
|
634
634
|
q,
|
|
@@ -646,8 +646,8 @@ function ln(n) {
|
|
|
646
646
|
n[21]
|
|
647
647
|
),
|
|
648
648
|
an
|
|
649
|
-
) :
|
|
650
|
-
8) &&
|
|
649
|
+
) : F.p && (!d || _[0] & /*assetsurl*/
|
|
650
|
+
8) && F.p(n, d ? _ : [-1, -1]), oe ? oe.p && (!d || _[0] & /*$$scope*/
|
|
651
651
|
2097152) && Ye(
|
|
652
652
|
oe,
|
|
653
653
|
Q,
|
|
@@ -665,16 +665,16 @@ function ln(n) {
|
|
|
665
665
|
n[21]
|
|
666
666
|
),
|
|
667
667
|
rn
|
|
668
|
-
) :
|
|
669
|
-
256) &&
|
|
668
|
+
) : A.p && (!d || _[0] & /*$_*/
|
|
669
|
+
256) && A.p(n, d ? _ : [-1, -1]), $ ? $.p && (!d || _[0] & /*$$scope*/
|
|
670
670
|
2097152) && Ye(
|
|
671
671
|
$,
|
|
672
|
-
|
|
672
|
+
B,
|
|
673
673
|
n,
|
|
674
674
|
/*$$scope*/
|
|
675
675
|
n[21],
|
|
676
676
|
d ? Ve(
|
|
677
|
-
|
|
677
|
+
B,
|
|
678
678
|
/*$$scope*/
|
|
679
679
|
n[21],
|
|
680
680
|
_,
|
|
@@ -684,31 +684,31 @@ function ln(n) {
|
|
|
684
684
|
n[21]
|
|
685
685
|
),
|
|
686
686
|
sn
|
|
687
|
-
) :
|
|
688
|
-
384) &&
|
|
687
|
+
) : Y.p && (!d || _[0] & /*$_, timeLeft*/
|
|
688
|
+
384) && Y.p(n, d ? _ : [-1, -1]);
|
|
689
689
|
let me = x;
|
|
690
690
|
x = se(n), x === me ? K[x].p(n, _) : (fn(), pe(K[me], 1, 1, () => {
|
|
691
691
|
K[me] = null;
|
|
692
|
-
}), un(),
|
|
692
|
+
}), un(), M = K[x], M ? M.p(n, _) : (M = K[x] = Ee[x](n), M.c()), le(M, 1), M.m(b, null)), (!d || _[0] & /*showLoaderButton*/
|
|
693
693
|
64) && (b.disabled = /*showLoaderButton*/
|
|
694
694
|
n[6]);
|
|
695
695
|
},
|
|
696
696
|
i(g) {
|
|
697
|
-
d || (le(
|
|
698
|
-
d && (
|
|
697
|
+
d || (le(F, g), le(A, g), le(Y, g), le(M), g && zt(() => {
|
|
698
|
+
d && (z || (z = Wt(i, Bt, { duration: (
|
|
699
699
|
/*duration*/
|
|
700
700
|
n[2]
|
|
701
|
-
) }, !0)),
|
|
701
|
+
) }, !0)), z.run(1));
|
|
702
702
|
}), d = !0);
|
|
703
703
|
},
|
|
704
704
|
o(g) {
|
|
705
|
-
pe(
|
|
705
|
+
pe(F, g), pe(A, g), pe(Y, g), pe(M), g && (z || (z = Wt(i, Bt, { duration: (
|
|
706
706
|
/*duration*/
|
|
707
707
|
n[2]
|
|
708
|
-
) }, !1)),
|
|
708
|
+
) }, !1)), z.run(0)), d = !1;
|
|
709
709
|
},
|
|
710
710
|
d(g) {
|
|
711
|
-
g && ue(t),
|
|
711
|
+
g && ue(t), F.d(g), A.d(g), Y.d(g), K[x].d(), n[23](null), fe(), g && z && z.end(), n[25](null), p = !1, vn(G);
|
|
712
712
|
}
|
|
713
713
|
};
|
|
714
714
|
}
|
|
@@ -716,7 +716,7 @@ function di(n) {
|
|
|
716
716
|
let t, i;
|
|
717
717
|
return {
|
|
718
718
|
c() {
|
|
719
|
-
t =
|
|
719
|
+
t = P("img"), ft(t.src, i = li) || h(t, "src", i), h(t, "width", "300px"), h(t, "alt", "error");
|
|
720
720
|
},
|
|
721
721
|
m(o, r) {
|
|
722
722
|
ce(o, t, r);
|
|
@@ -731,7 +731,7 @@ function hi(n) {
|
|
|
731
731
|
let t, i;
|
|
732
732
|
return {
|
|
733
733
|
c() {
|
|
734
|
-
t =
|
|
734
|
+
t = P("img"), ft(t.src, i = `${/*assetsurl*/
|
|
735
735
|
n[3]}/set-timeout-icon.png`) || h(t, "src", i), h(t, "width", "300px"), h(t, "alt", "error");
|
|
736
736
|
},
|
|
737
737
|
m(o, r) {
|
|
@@ -778,7 +778,7 @@ function Ti(n) {
|
|
|
778
778
|
), o;
|
|
779
779
|
return {
|
|
780
780
|
c() {
|
|
781
|
-
t =
|
|
781
|
+
t = P("span"), o = qe(i), h(t, "class", "CashierSessionExpirationTitle");
|
|
782
782
|
},
|
|
783
783
|
m(r, l) {
|
|
784
784
|
ce(r, t, l), C(t, o);
|
|
@@ -803,7 +803,7 @@ function Ei(n) {
|
|
|
803
803
|
) + "";
|
|
804
804
|
return {
|
|
805
805
|
c() {
|
|
806
|
-
t =
|
|
806
|
+
t = P("span"), h(t, "class", "CashierSessionExpirationText");
|
|
807
807
|
},
|
|
808
808
|
m(o, r) {
|
|
809
809
|
ce(o, t, r), t.innerHTML = i;
|
|
@@ -837,10 +837,10 @@ function _i(n) {
|
|
|
837
837
|
), r = o || bi(n);
|
|
838
838
|
return {
|
|
839
839
|
c() {
|
|
840
|
-
r
|
|
840
|
+
r.c();
|
|
841
841
|
},
|
|
842
842
|
m(l, m) {
|
|
843
|
-
r
|
|
843
|
+
r.m(l, m), t = !0;
|
|
844
844
|
},
|
|
845
845
|
p(l, m) {
|
|
846
846
|
o ? o.p && (!t || m[0] & /*$$scope*/
|
|
@@ -861,7 +861,7 @@ function _i(n) {
|
|
|
861
861
|
l[21]
|
|
862
862
|
),
|
|
863
863
|
on
|
|
864
|
-
) : r
|
|
864
|
+
) : r.p && (!t || m[0] & /*$_*/
|
|
865
865
|
256) && r.p(l, t ? m : [-1, -1]);
|
|
866
866
|
},
|
|
867
867
|
i(l) {
|
|
@@ -871,7 +871,7 @@ function _i(n) {
|
|
|
871
871
|
pe(r, l), t = !1;
|
|
872
872
|
},
|
|
873
873
|
d(l) {
|
|
874
|
-
r
|
|
874
|
+
r.d(l);
|
|
875
875
|
}
|
|
876
876
|
};
|
|
877
877
|
}
|
|
@@ -879,23 +879,23 @@ function Ai(n) {
|
|
|
879
879
|
let t, i, o, r, l, m = (
|
|
880
880
|
/*$_*/
|
|
881
881
|
n[8]("sessionExpirationLoadingButton") + ""
|
|
882
|
-
),
|
|
882
|
+
), N;
|
|
883
883
|
return {
|
|
884
884
|
c() {
|
|
885
|
-
t =
|
|
885
|
+
t = P("div"), i = Gt("svg"), o = Gt("path"), r = ve(), l = P("span"), N = qe(m), h(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"), h(o, "fill", "white"), h(i, "class", "CashierSessionExpirationButtonSpinner"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(i, "width", "15"), h(i, "height", "14"), h(i, "viewBox", "0 0 15 14"), h(i, "fill", "none"), h(l, "class", "CashierSessionExpirationButtonText");
|
|
886
886
|
},
|
|
887
|
-
m(
|
|
888
|
-
ce(
|
|
887
|
+
m(k, w) {
|
|
888
|
+
ce(k, t, w), C(t, i), C(i, o), C(t, r), C(t, l), C(l, N);
|
|
889
889
|
},
|
|
890
|
-
p(
|
|
890
|
+
p(k, w) {
|
|
891
891
|
w[0] & /*$_*/
|
|
892
892
|
256 && m !== (m = /*$_*/
|
|
893
|
-
|
|
893
|
+
k[8]("sessionExpirationLoadingButton") + "") && Ze(N, m);
|
|
894
894
|
},
|
|
895
895
|
i: ut,
|
|
896
896
|
o: ut,
|
|
897
|
-
d(
|
|
898
|
-
|
|
897
|
+
d(k) {
|
|
898
|
+
k && ue(t);
|
|
899
899
|
}
|
|
900
900
|
};
|
|
901
901
|
}
|
|
@@ -906,7 +906,7 @@ function bi(n) {
|
|
|
906
906
|
), o;
|
|
907
907
|
return {
|
|
908
908
|
c() {
|
|
909
|
-
t =
|
|
909
|
+
t = P("span"), o = qe(i), h(t, "class", "CashierSessionExpirationButtonText");
|
|
910
910
|
},
|
|
911
911
|
m(r, l) {
|
|
912
912
|
ce(r, t, l), C(t, o);
|
|
@@ -957,85 +957,85 @@ function wi(n, t, i) {
|
|
|
957
957
|
Ut(n, jt, (a) => i(20, o = a)), Ut(n, Wn, (a) => i(8, r = a));
|
|
958
958
|
let { $$slots: l = {}, $$scope: m } = t;
|
|
959
959
|
Yt.extend(Hn);
|
|
960
|
-
let { clientstyling:
|
|
961
|
-
var
|
|
960
|
+
let { clientstyling: N = "" } = t, { clientstylingurl: k = "" } = t, { width: w } = t, { height: R } = t, { duration: de = 200 } = t, { assetsurl: he = "" } = t, { lang: X = "en" } = t, { translationurl: b = "" } = t, { endpoint: x } = t, { currency: M } = t, { customerid: fe } = t, { selectedpaymentmethodname: z } = t, { mbsource: d = "" } = t, p, G = !1, q = !1, Z, F, Q, oe, A;
|
|
961
|
+
var B;
|
|
962
962
|
(function(a) {
|
|
963
963
|
a.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", a.Success = "Success", a.JwtTokenError = "JwtTokenError";
|
|
964
|
-
})(
|
|
964
|
+
})(B || (B = {}));
|
|
965
965
|
const $ = (a) => {
|
|
966
966
|
a.data.type === "StartSessionCountdown" && (oe = a.data.paymentMethodName);
|
|
967
|
-
},
|
|
967
|
+
}, Y = (a) => {
|
|
968
968
|
try {
|
|
969
969
|
return JSON.parse(atob(a.split(".")[1]));
|
|
970
|
-
} catch {
|
|
970
|
+
} catch (E) {
|
|
971
971
|
return null;
|
|
972
972
|
}
|
|
973
973
|
}, Ee = () => {
|
|
974
974
|
window.postMessage(
|
|
975
975
|
{
|
|
976
976
|
type: "ErrorResponseCode",
|
|
977
|
-
errorResponseCode:
|
|
977
|
+
errorResponseCode: A
|
|
978
978
|
},
|
|
979
979
|
window.location.href
|
|
980
980
|
);
|
|
981
981
|
}, K = (a) => {
|
|
982
|
-
i(5,
|
|
983
|
-
const
|
|
984
|
-
|
|
982
|
+
i(5, G = !1);
|
|
983
|
+
const E = Y(a);
|
|
984
|
+
E && (F = E == null ? void 0 : E.exp, i(7, Z = F), Q && clearInterval(Q), Q = setInterval(
|
|
985
985
|
() => {
|
|
986
986
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
987
|
-
i(7, Z =
|
|
987
|
+
i(7, Z = F - ee), Z <= Si && i(5, G = !0), ee >= F && (se(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
988
988
|
},
|
|
989
989
|
1e3
|
|
990
990
|
));
|
|
991
991
|
}, se = () => {
|
|
992
|
-
i(7, Z = 0), i(5,
|
|
992
|
+
i(7, Z = 0), i(5, G = !1), clearInterval(Q);
|
|
993
993
|
}, g = () => {
|
|
994
994
|
if (q)
|
|
995
995
|
return;
|
|
996
|
-
const a = new URL(`${x}/v1/player/${fe}/payment/GetPaymentMethod`),
|
|
997
|
-
i(6, q = !0),
|
|
996
|
+
const a = new URL(`${x}/v1/player/${fe}/payment/GetPaymentMethod`), E = new Headers();
|
|
997
|
+
i(6, q = !0), E.append("accept", "application/json"), E.append("Content-Type", "application/json"), E.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
998
998
|
const ee = {
|
|
999
999
|
method: "POST",
|
|
1000
1000
|
mode: "cors",
|
|
1001
|
-
headers:
|
|
1001
|
+
headers: E,
|
|
1002
1002
|
body: JSON.stringify({
|
|
1003
|
-
PaymentMethodName: oe ||
|
|
1004
|
-
Currency:
|
|
1003
|
+
PaymentMethodName: oe || z,
|
|
1004
|
+
Currency: M,
|
|
1005
1005
|
XPaymentSessionToken: o
|
|
1006
1006
|
})
|
|
1007
1007
|
};
|
|
1008
|
-
fetch(a, ee).then((
|
|
1009
|
-
if (
|
|
1008
|
+
fetch(a, ee).then((W) => W.json()).then((W) => {
|
|
1009
|
+
if (W.error) {
|
|
1010
1010
|
window.postMessage(
|
|
1011
1011
|
{
|
|
1012
1012
|
type: "ShowSessionError",
|
|
1013
|
-
error:
|
|
1013
|
+
error: W.error
|
|
1014
1014
|
},
|
|
1015
1015
|
window.location.href
|
|
1016
1016
|
), se();
|
|
1017
1017
|
return;
|
|
1018
1018
|
}
|
|
1019
|
-
if (
|
|
1020
|
-
|
|
1019
|
+
if (W.ResponseCode === B.PlayerSessionIsNotValid || W.ResponseCode === B.JwtTokenError) {
|
|
1020
|
+
A = W.ResponseCode, se(), Ee();
|
|
1021
1021
|
return;
|
|
1022
1022
|
}
|
|
1023
|
-
if (
|
|
1024
|
-
|
|
1023
|
+
if (W.ResponseCode !== B.Success) {
|
|
1024
|
+
A = W.ResponseCode, se();
|
|
1025
1025
|
return;
|
|
1026
1026
|
}
|
|
1027
|
-
|
|
1027
|
+
W.XPaymentSessionToken && jt.set(W.XPaymentSessionToken);
|
|
1028
1028
|
}).finally(() => i(6, q = !1));
|
|
1029
1029
|
}, _ = (a) => {
|
|
1030
|
-
const
|
|
1031
|
-
a.target ===
|
|
1030
|
+
const E = a.currentTarget;
|
|
1031
|
+
a.target === E && g();
|
|
1032
1032
|
}, me = () => {
|
|
1033
|
-
fetch(b).then((
|
|
1034
|
-
Object.keys(
|
|
1035
|
-
Vt(ee,
|
|
1033
|
+
fetch(b).then((E) => E.json()).then((E) => {
|
|
1034
|
+
Object.keys(E).forEach((ee) => {
|
|
1035
|
+
Vt(ee, E[ee]);
|
|
1036
1036
|
});
|
|
1037
|
-
}).catch((
|
|
1038
|
-
console.log(
|
|
1037
|
+
}).catch((E) => {
|
|
1038
|
+
console.log(E);
|
|
1039
1039
|
});
|
|
1040
1040
|
};
|
|
1041
1041
|
Object.keys(Xt).forEach((a) => {
|
|
@@ -1063,14 +1063,14 @@ function wi(n, t, i) {
|
|
|
1063
1063
|
});
|
|
1064
1064
|
}
|
|
1065
1065
|
return n.$$set = (a) => {
|
|
1066
|
-
"clientstyling" in a && i(11,
|
|
1066
|
+
"clientstyling" in a && i(11, N = a.clientstyling), "clientstylingurl" in a && i(12, k = a.clientstylingurl), "width" in a && i(0, w = a.width), "height" in a && i(1, R = a.height), "duration" in a && i(2, de = a.duration), "assetsurl" in a && i(3, he = a.assetsurl), "lang" in a && i(13, X = a.lang), "translationurl" in a && i(14, b = a.translationurl), "endpoint" in a && i(15, x = a.endpoint), "currency" in a && i(16, M = 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);
|
|
1067
1067
|
}, n.$$.update = () => {
|
|
1068
1068
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1069
1069
|
1048576 && K(o), n.$$.dirty[0] & /*lang*/
|
|
1070
1070
|
8192 && X && y(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1071
|
-
2064 &&
|
|
1072
|
-
4112 &&
|
|
1073
|
-
524304 && d && p &&
|
|
1071
|
+
2064 && N && p && Dn(p, N), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1072
|
+
4112 && k && p && In(p, k), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1073
|
+
524304 && d && p && Pn(p, `${d}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
1074
1074
|
16384 && b && me();
|
|
1075
1075
|
}, [
|
|
1076
1076
|
w,
|
|
@@ -1078,20 +1078,20 @@ function wi(n, t, i) {
|
|
|
1078
1078
|
de,
|
|
1079
1079
|
he,
|
|
1080
1080
|
p,
|
|
1081
|
-
|
|
1081
|
+
G,
|
|
1082
1082
|
q,
|
|
1083
1083
|
Z,
|
|
1084
1084
|
r,
|
|
1085
1085
|
g,
|
|
1086
1086
|
_,
|
|
1087
|
-
|
|
1088
|
-
|
|
1087
|
+
N,
|
|
1088
|
+
k,
|
|
1089
1089
|
X,
|
|
1090
1090
|
b,
|
|
1091
1091
|
x,
|
|
1092
|
-
|
|
1092
|
+
M,
|
|
1093
1093
|
fe,
|
|
1094
|
-
|
|
1094
|
+
z,
|
|
1095
1095
|
d,
|
|
1096
1096
|
o,
|
|
1097
1097
|
m,
|