@everymatrix/cashier-page 1.54.6 → 1.54.9

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.
Files changed (46) hide show
  1. package/components/{CashierConfirmModal-bl1anpXG.js → CashierConfirmModal-Bop0eOiK.js} +57 -57
  2. package/components/CashierConfirmModal-KmRU3Mgr.cjs +4 -0
  3. package/components/CashierConfirmModal-T9FhMxP2.js +1052 -0
  4. package/components/CashierError-CXr1Ga3A.js +3764 -0
  5. package/components/{CashierError-CNghn61_.js → CashierError-D3O2fglb.js} +496 -500
  6. package/components/CashierError-pt2isP4C.cjs +5 -0
  7. package/components/{CashierHeader-Cukt_6q5.js → CashierHeader-CI7jIwvA.js} +81 -81
  8. package/components/CashierHeader-CYvR5CZu.cjs +1 -0
  9. package/components/CashierHeader-DXoV0-sU.js +401 -0
  10. package/components/{CashierIframeRedirect-CfOyb27d.js → CashierIframeRedirect-Bj6yzWbz.js} +33 -33
  11. package/components/CashierIframeRedirect-DJX1MABE.cjs +1 -0
  12. package/components/CashierIframeRedirect-DZRW06O3.js +378 -0
  13. package/components/CashierMethodDetails-BHM-R2f6.js +8164 -0
  14. package/components/CashierMethodDetails-BL4YJCfG.cjs +18 -0
  15. package/components/{CashierMethodDetails-BIl7Is4q.js → CashierMethodDetails-WRu0moNB.js} +283 -283
  16. package/components/CashierMethodsList-CZB8pJTu.cjs +1 -0
  17. package/components/{CashierMethodsList-sDyTLsi_.js → CashierMethodsList-DaQJXx57.js} +76 -76
  18. package/components/CashierMethodsList-YiD-AEvx.js +667 -0
  19. package/components/CashierModal-CZ_PAOXO.js +232 -0
  20. package/components/{CashierModal-BvsZYr3E.js → CashierModal-DnFkgCZP.js} +31 -31
  21. package/components/CashierModal-FkJdngyj.cjs +1 -0
  22. package/components/{CashierNotifications-DLiOLPVS.js → CashierNotifications-BCI1m1DC.js} +18 -18
  23. package/components/CashierNotifications-BJzRxOV_.cjs +1 -0
  24. package/components/CashierNotifications-u0zBDLtX.js +129 -0
  25. package/components/CashierPage-CEppzuGk.js +1998 -0
  26. package/components/CashierPage-CQnO9X1E.cjs +1 -0
  27. package/components/{CashierPage-DuY9O8Ns.js → CashierPage-SzTvnTYs.js} +75 -75
  28. package/components/CashierReceiptPage-BkkEn2jf.cjs +1 -0
  29. package/components/CashierReceiptPage-BpeCx1F0.js +1156 -0
  30. package/components/{CashierReceiptPage-BnZNWRHD.js → CashierReceiptPage-CrsgQKKv.js} +76 -76
  31. package/components/CashierSessionExpirationModal-BVxXNQGd.js +1172 -0
  32. package/components/{CashierSessionExpirationModal-m8mfQG7I.js → CashierSessionExpirationModal-Chn_bWCV.js} +234 -243
  33. package/components/CashierSessionExpirationModal-Wrh9-b3V.cjs +2 -0
  34. package/components/CashierSpinner-BjkjegeG.js +71 -0
  35. package/components/{CashierSpinner-BGK4UpXs.js → CashierSpinner-C4PbqmeQ.js} +25 -25
  36. package/components/CashierSpinner-CySOWnIQ.cjs +1 -0
  37. package/components/CashierVerifications-B-jBO3Nx.js +628 -0
  38. package/components/CashierVerifications-BD1cym0W.cjs +1 -0
  39. package/components/{CashierVerifications-DmvaTrGy.js → CashierVerifications-C8WlwUzI.js} +26 -26
  40. package/components/CashierVideoModal-BWI2U3UH.cjs +1 -0
  41. package/components/CashierVideoModal-CEfQgtP6.js +202 -0
  42. package/components/{CashierVideoModal-B_7nq_8u.js → CashierVideoModal-CeguehvU.js} +33 -33
  43. package/es2015/cashier-page.cjs +1 -0
  44. package/es2015/cashier-page.js +16 -0
  45. package/esnext/cashier-page.js +1 -1
  46. package/package.json +3 -2
@@ -1,8 +1,8 @@
1
- import { S as An, b as Cn, f as Y, c as On, a as Rn, d as xn, x as rn, k as le, t as re, p as me, q as ln, v as ce, w as Nn, G as Mn, V as kn, e as Fe, g as z, y as Ve, h as Le, j as d, F as zt, l as R, T as vn, A as Ht, z as qe, u as Be, m as _e, o as Ge, B as cn, U as Zt, r as Dn, C as Wt, O as Ft, n as ct, D as ut } from "./CashierConfirmModal-bl1anpXG.js";
2
- import { f as Bt } from "./CashierModal-BvsZYr3E.js";
3
- import { a as Ln, i as Pn, $ as In, b as Un } from "./CashierError-CNghn61_.js";
4
- import { d as _t, u as zn } from "./CashierMethodDetails-BIl7Is4q.js";
5
- function Gt(n, t) {
1
+ import { S as An, b as Cn, s as On, f as Y, c as xn, e as le, t as me, g as re, C as rn, k as ln, l as ce, w as cn, v as Rn, H as Nn, V as Mn, d as Fe, r as kn, T as zt, F as Ht, x as Ve, u as Be, h as _e, j as Je, m as x, U as vn, A as Zt, o as Z, y as qe, p as Le, q as d, z as Wt, n as ct, N as Ft, B as ut, D as Dn } from "./CashierConfirmModal-Bop0eOiK.js";
2
+ import { f as Bt } from "./CashierModal-DnFkgCZP.js";
3
+ import { a as Ln, i as Pn, $ as In, b as Un } from "./CashierError-D3O2fglb.js";
4
+ import { d as _t, u as zn } from "./CashierMethodDetails-WRu0moNB.js";
5
+ function Jt(n, t) {
6
6
  Ln(n, t);
7
7
  }
8
8
  function Hn(n) {
@@ -10,7 +10,7 @@ function Hn(n) {
10
10
  fallbackLocale: "en"
11
11
  }), In.set(n);
12
12
  }
13
- const Jt = {
13
+ const Gt = {
14
14
  en: {
15
15
  sessionExpirationHeader: "Session Warning",
16
16
  sessionExpirationTitle: "Your session is about to expire!",
@@ -42,14 +42,14 @@ const {
42
42
  getOwnPropertyDescriptor: Fn
43
43
  } = Object;
44
44
  let {
45
- freeze: H,
45
+ freeze: W,
46
46
  seal: j,
47
47
  create: fn
48
48
  } = Object, {
49
49
  apply: ft,
50
50
  construct: mt
51
51
  } = typeof Reflect < "u" && Reflect;
52
- H || (H = function(t) {
52
+ W || (W = function(t) {
53
53
  return t;
54
54
  });
55
55
  j || (j = function(t) {
@@ -61,15 +61,15 @@ ft || (ft = function(t, i, o) {
61
61
  mt || (mt = function(t, i) {
62
62
  return new t(...i);
63
63
  });
64
- const Ze = B(Array.prototype.forEach), qt = B(Array.prototype.pop), Ne = B(Array.prototype.push), Je = B(String.prototype.toLowerCase), ot = B(String.prototype.toString), Yt = B(String.prototype.match), Me = B(String.prototype.replace), Bn = B(String.prototype.indexOf), _n = B(String.prototype.trim), Q = B(Object.prototype.hasOwnProperty), U = B(RegExp.prototype.test), ke = Gn(TypeError);
65
- function B(n) {
64
+ const Ze = _(Array.prototype.forEach), qt = _(Array.prototype.pop), Ne = _(Array.prototype.push), Ge = _(String.prototype.toLowerCase), ot = _(String.prototype.toString), Yt = _(String.prototype.match), Me = _(String.prototype.replace), Bn = _(String.prototype.indexOf), _n = _(String.prototype.trim), Q = _(Object.prototype.hasOwnProperty), H = _(RegExp.prototype.test), ke = Jn(TypeError);
65
+ function _(n) {
66
66
  return function(t) {
67
67
  for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), a = 1; a < i; a++)
68
68
  o[a - 1] = arguments[a];
69
69
  return ft(n, t, o);
70
70
  };
71
71
  }
72
- function Gn(n) {
72
+ function Jn(n) {
73
73
  return function() {
74
74
  for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++)
75
75
  i[o] = arguments[o];
@@ -77,7 +77,7 @@ function Gn(n) {
77
77
  };
78
78
  }
79
79
  function m(n, t) {
80
- let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Je;
80
+ let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ge;
81
81
  Vt && Vt(n, null);
82
82
  let o = t.length;
83
83
  for (; o--; ) {
@@ -90,7 +90,7 @@ function m(n, t) {
90
90
  }
91
91
  return n;
92
92
  }
93
- function Jn(n) {
93
+ function Gn(n) {
94
94
  for (let t = 0; t < n.length; t++)
95
95
  Q(n, t) || (n[t] = null);
96
96
  return n;
@@ -98,7 +98,7 @@ function Jn(n) {
98
98
  function he(n) {
99
99
  const t = fn(null);
100
100
  for (const [i, o] of un(n))
101
- Q(n, i) && (Array.isArray(o) ? t[i] = Jn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = he(o) : t[i] = o);
101
+ Q(n, i) && (Array.isArray(o) ? t[i] = Gn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = he(o) : t[i] = o);
102
102
  return t;
103
103
  }
104
104
  function ve(n, t) {
@@ -106,9 +106,9 @@ function ve(n, t) {
106
106
  const o = Fn(n, t);
107
107
  if (o) {
108
108
  if (o.get)
109
- return B(o.get);
109
+ return _(o.get);
110
110
  if (typeof o.value == "function")
111
- return B(o.value);
111
+ return _(o.value);
112
112
  }
113
113
  n = Wn(n);
114
114
  }
@@ -117,7 +117,7 @@ function ve(n, t) {
117
117
  }
118
118
  return i;
119
119
  }
120
- const jt = H(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), st = H(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), at = H(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Vn = H(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), rt = H(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), qn = H(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Xt = H(["#text"]), Kt = H(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), lt = H(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Qt = H(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), We = H(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Yn = j(/\{\{[\w\W]*|[\w\W]*\}\}/gm), jn = j(/<%[\w\W]*|[\w\W]*%>/gm), Xn = j(/\${[\w\W]*}/gm), Kn = j(/^data-[\-\w.\u00B7-\uFFFF]/), Qn = j(/^aria-[\-\w]+$/), mn = j(
120
+ const jt = W(["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"]), st = W(["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 = W(["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"]), Vn = W(["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"]), rt = W(["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 = W(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Xt = W(["#text"]), Kt = W(["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"]), lt = W(["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"]), Qt = W(["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"]), We = W(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Yn = j(/\{\{[\w\W]*|[\w\W]*\}\}/gm), jn = j(/<%[\w\W]*|[\w\W]*%>/gm), Xn = j(/\${[\w\W]*}/gm), Kn = j(/^data-[\-\w.\u00B7-\uFFFF]/), Qn = j(/^aria-[\-\w]+$/), mn = 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
  ), $n = j(/^(?:\w+script|data):/i), ei = j(
@@ -139,20 +139,11 @@ var $t = /* @__PURE__ */ Object.freeze({
139
139
  });
140
140
  const De = {
141
141
  element: 1,
142
- attribute: 2,
143
142
  text: 3,
144
- cdataSection: 4,
145
- entityReference: 5,
146
- // Deprecated
147
- entityNode: 6,
148
143
  // Deprecated
149
144
  progressingInstruction: 7,
150
145
  comment: 8,
151
- document: 9,
152
- documentType: 10,
153
- documentFragment: 11,
154
- notation: 12
155
- // Deprecated
146
+ document: 9
156
147
  }, ni = function() {
157
148
  return typeof window > "u" ? null : window;
158
149
  }, ii = function(t, i) {
@@ -186,38 +177,38 @@ function dn() {
186
177
  const o = i, a = o.currentScript, {
187
178
  DocumentFragment: r,
188
179
  HTMLTemplateElement: p,
189
- Node: v,
190
- Element: D,
180
+ Node: D,
181
+ Element: L,
191
182
  NodeFilter: y,
192
- NamedNodeMap: L = n.NamedNodeMap || n.MozNamedAttrMap,
183
+ NamedNodeMap: P = n.NamedNodeMap || n.MozNamedAttrMap,
193
184
  HTMLFormElement: pe,
194
185
  DOMParser: ie,
195
- trustedTypes: _
196
- } = n, O = D.prototype, x = ve(O, "cloneNode"), M = ve(O, "remove"), ue = ve(O, "nextSibling"), b = ve(O, "childNodes"), h = ve(O, "parentNode");
186
+ trustedTypes: J
187
+ } = n, O = L.prototype, R = ve(O, "cloneNode"), M = ve(O, "remove"), ue = ve(O, "nextSibling"), A = ve(O, "childNodes"), h = ve(O, "parentNode");
197
188
  if (typeof p == "function") {
198
189
  const u = i.createElement("template");
199
190
  u.content && u.content.ownerDocument && (i = u.content.ownerDocument);
200
191
  }
201
- let S, Z = "";
192
+ let S, F = "";
202
193
  const {
203
194
  implementation: G,
204
- createNodeIterator: J,
205
- createDocumentFragment: V,
195
+ createNodeIterator: V,
196
+ createDocumentFragment: I,
206
197
  getElementsByTagName: $
207
198
  } = i, {
208
199
  importNode: oe
209
200
  } = o;
210
- let A = {};
201
+ let w = {};
211
202
  t.isSupported = typeof un == "function" && typeof h == "function" && G && G.createHTMLDocument !== void 0;
212
203
  const {
213
204
  MUSTACHE_EXPR: ee,
214
205
  ERB_EXPR: X,
215
- TMPLIT_EXPR: F,
206
+ TMPLIT_EXPR: k,
216
207
  DATA_ATTR: ge,
217
208
  ARIA_ATTR: q,
218
209
  IS_SCRIPT_OR_DATA: Te,
219
210
  ATTR_WHITESPACE: g,
220
- CUSTOM_ELEMENT: w
211
+ CUSTOM_ELEMENT: b
221
212
  } = $t;
222
213
  let {
223
214
  IS_ALLOWED_URI: fe
@@ -246,55 +237,55 @@ function dn() {
246
237
  }
247
238
  })), Ce = null, Ye = null, pt = !0, je = !0, dt = !1, ht = !0, Ee = !1, Xe = !0, de = !1, Ke = !1, Qe = !1, Se = !1, Pe = !1, Ie = !1, gt = !0, Tt = !1;
248
239
  const hn = "user-content-";
249
- let $e = !0, Oe = !1, we = {}, ye = null;
240
+ let $e = !0, Oe = !1, we = {}, be = null;
250
241
  const Et = m({}, ["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"]);
251
242
  let St = null;
252
243
  const wt = m({}, ["audio", "video", "img", "source", "image", "track"]);
253
244
  let et = null;
254
- const yt = m({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ue = "http://www.w3.org/1998/Math/MathML", ze = "http://www.w3.org/2000/svg", se = "http://www.w3.org/1999/xhtml";
255
- let be = se, tt = !1, nt = null;
245
+ const bt = m({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ue = "http://www.w3.org/1998/Math/MathML", ze = "http://www.w3.org/2000/svg", se = "http://www.w3.org/1999/xhtml";
246
+ let ye = se, tt = !1, nt = null;
256
247
  const gn = m({}, [Ue, ze, se], ot);
257
- let Re = null;
248
+ let xe = null;
258
249
  const Tn = ["application/xhtml+xml", "text/html"], En = "text/html";
259
250
  let N = null, Ae = null;
260
- const Sn = i.createElement("form"), bt = function(e) {
251
+ const Sn = i.createElement("form"), yt = function(e) {
261
252
  return e instanceof RegExp || e instanceof Function;
262
253
  }, it = function() {
263
254
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
264
255
  if (!(Ae && Ae === e)) {
265
- if ((!e || typeof e != "object") && (e = {}), e = he(e), Re = // eslint-disable-next-line unicorn/prefer-includes
266
- Tn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? En : e.PARSER_MEDIA_TYPE, N = Re === "application/xhtml+xml" ? ot : Je, C = Q(e, "ALLOWED_TAGS") ? m({}, e.ALLOWED_TAGS, N) : l, f = Q(e, "ALLOWED_ATTR") ? m({}, e.ALLOWED_ATTR, N) : K, nt = Q(e, "ALLOWED_NAMESPACES") ? m({}, e.ALLOWED_NAMESPACES, ot) : gn, et = Q(e, "ADD_URI_SAFE_ATTR") ? m(
267
- he(yt),
256
+ if ((!e || typeof e != "object") && (e = {}), e = he(e), xe = // eslint-disable-next-line unicorn/prefer-includes
257
+ Tn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? En : e.PARSER_MEDIA_TYPE, N = xe === "application/xhtml+xml" ? ot : Ge, C = Q(e, "ALLOWED_TAGS") ? m({}, e.ALLOWED_TAGS, N) : l, f = Q(e, "ALLOWED_ATTR") ? m({}, e.ALLOWED_ATTR, N) : K, nt = Q(e, "ALLOWED_NAMESPACES") ? m({}, e.ALLOWED_NAMESPACES, ot) : gn, et = Q(e, "ADD_URI_SAFE_ATTR") ? m(
258
+ he(bt),
268
259
  // eslint-disable-line indent
269
260
  e.ADD_URI_SAFE_ATTR,
270
261
  // eslint-disable-line indent
271
262
  N
272
263
  // eslint-disable-line indent
273
- ) : yt, St = Q(e, "ADD_DATA_URI_TAGS") ? m(
264
+ ) : bt, St = Q(e, "ADD_DATA_URI_TAGS") ? m(
274
265
  he(wt),
275
266
  // eslint-disable-line indent
276
267
  e.ADD_DATA_URI_TAGS,
277
268
  // eslint-disable-line indent
278
269
  N
279
270
  // eslint-disable-line indent
280
- ) : wt, ye = Q(e, "FORBID_CONTENTS") ? m({}, e.FORBID_CONTENTS, N) : Et, Ce = Q(e, "FORBID_TAGS") ? m({}, e.FORBID_TAGS, N) : {}, Ye = Q(e, "FORBID_ATTR") ? m({}, e.FORBID_ATTR, N) : {}, we = Q(e, "USE_PROFILES") ? e.USE_PROFILES : !1, pt = e.ALLOW_ARIA_ATTR !== !1, je = e.ALLOW_DATA_ATTR !== !1, dt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, ht = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ee = e.SAFE_FOR_TEMPLATES || !1, Xe = e.SAFE_FOR_XML !== !1, de = e.WHOLE_DOCUMENT || !1, Se = e.RETURN_DOM || !1, Pe = e.RETURN_DOM_FRAGMENT || !1, Ie = e.RETURN_TRUSTED_TYPE || !1, Qe = e.FORCE_BODY || !1, gt = e.SANITIZE_DOM !== !1, Tt = e.SANITIZE_NAMED_PROPS || !1, $e = e.KEEP_CONTENT !== !1, Oe = e.IN_PLACE || !1, fe = e.ALLOWED_URI_REGEXP || mn, be = e.NAMESPACE || se, E = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (E.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (E.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (E.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ee && (je = !1), Pe && (Se = !0), we && (C = m({}, Xt), f = [], we.html === !0 && (m(C, jt), m(f, Kt)), we.svg === !0 && (m(C, st), m(f, lt), m(f, We)), we.svgFilters === !0 && (m(C, at), m(f, lt), m(f, We)), we.mathMl === !0 && (m(C, rt), m(f, Qt), m(f, We))), e.ADD_TAGS && (C === l && (C = he(C)), m(C, e.ADD_TAGS, N)), e.ADD_ATTR && (f === K && (f = he(f)), m(f, e.ADD_ATTR, N)), e.ADD_URI_SAFE_ATTR && m(et, e.ADD_URI_SAFE_ATTR, N), e.FORBID_CONTENTS && (ye === Et && (ye = he(ye)), m(ye, e.FORBID_CONTENTS, N)), $e && (C["#text"] = !0), de && m(C, ["html", "head", "body"]), C.table && (m(C, ["tbody"]), delete Ce.tbody), e.TRUSTED_TYPES_POLICY) {
271
+ ) : wt, be = Q(e, "FORBID_CONTENTS") ? m({}, e.FORBID_CONTENTS, N) : Et, Ce = Q(e, "FORBID_TAGS") ? m({}, e.FORBID_TAGS, N) : {}, Ye = Q(e, "FORBID_ATTR") ? m({}, e.FORBID_ATTR, N) : {}, we = Q(e, "USE_PROFILES") ? e.USE_PROFILES : !1, pt = e.ALLOW_ARIA_ATTR !== !1, je = e.ALLOW_DATA_ATTR !== !1, dt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, ht = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ee = e.SAFE_FOR_TEMPLATES || !1, Xe = e.SAFE_FOR_XML !== !1, de = e.WHOLE_DOCUMENT || !1, Se = e.RETURN_DOM || !1, Pe = e.RETURN_DOM_FRAGMENT || !1, Ie = e.RETURN_TRUSTED_TYPE || !1, Qe = e.FORCE_BODY || !1, gt = e.SANITIZE_DOM !== !1, Tt = e.SANITIZE_NAMED_PROPS || !1, $e = e.KEEP_CONTENT !== !1, Oe = e.IN_PLACE || !1, fe = e.ALLOWED_URI_REGEXP || mn, ye = e.NAMESPACE || se, E = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (E.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (E.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (E.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ee && (je = !1), Pe && (Se = !0), we && (C = m({}, Xt), f = [], we.html === !0 && (m(C, jt), m(f, Kt)), we.svg === !0 && (m(C, st), m(f, lt), m(f, We)), we.svgFilters === !0 && (m(C, at), m(f, lt), m(f, We)), we.mathMl === !0 && (m(C, rt), m(f, Qt), m(f, We))), e.ADD_TAGS && (C === l && (C = he(C)), m(C, e.ADD_TAGS, N)), e.ADD_ATTR && (f === K && (f = he(f)), m(f, e.ADD_ATTR, N)), e.ADD_URI_SAFE_ATTR && m(et, e.ADD_URI_SAFE_ATTR, N), e.FORBID_CONTENTS && (be === Et && (be = he(be)), m(be, e.FORBID_CONTENTS, N)), $e && (C["#text"] = !0), de && m(C, ["html", "head", "body"]), C.table && (m(C, ["tbody"]), delete Ce.tbody), e.TRUSTED_TYPES_POLICY) {
281
272
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
282
273
  throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
283
274
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
284
275
  throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
285
- S = e.TRUSTED_TYPES_POLICY, Z = S.createHTML("");
276
+ S = e.TRUSTED_TYPES_POLICY, F = S.createHTML("");
286
277
  } else
287
- S === void 0 && (S = ii(_, a)), S !== null && typeof Z == "string" && (Z = S.createHTML(""));
288
- H && H(e), Ae = e;
278
+ S === void 0 && (S = ii(J, a)), S !== null && typeof F == "string" && (F = S.createHTML(""));
279
+ W && W(e), Ae = e;
289
280
  }
290
- }, At = m({}, ["mi", "mo", "mn", "ms", "mtext"]), Ct = m({}, ["foreignobject", "annotation-xml"]), wn = m({}, ["title", "style", "font", "a", "script"]), Ot = m({}, [...st, ...at, ...Vn]), Rt = m({}, [...rt, ...qn]), yn = function(e) {
281
+ }, At = m({}, ["mi", "mo", "mn", "ms", "mtext"]), Ct = m({}, ["foreignobject", "annotation-xml"]), wn = m({}, ["title", "style", "font", "a", "script"]), Ot = m({}, [...st, ...at, ...Vn]), xt = m({}, [...rt, ...qn]), bn = function(e) {
291
282
  let s = h(e);
292
283
  (!s || !s.tagName) && (s = {
293
- namespaceURI: be,
284
+ namespaceURI: ye,
294
285
  tagName: "template"
295
286
  });
296
- const c = Je(e.tagName), T = Je(s.tagName);
297
- return nt[e.namespaceURI] ? e.namespaceURI === ze ? s.namespaceURI === se ? c === "svg" : s.namespaceURI === Ue ? c === "svg" && (T === "annotation-xml" || At[T]) : !!Ot[c] : e.namespaceURI === Ue ? s.namespaceURI === se ? c === "math" : s.namespaceURI === ze ? c === "math" && Ct[T] : !!Rt[c] : e.namespaceURI === se ? s.namespaceURI === ze && !Ct[T] || s.namespaceURI === Ue && !At[T] ? !1 : !Rt[c] && (wn[c] || !Ot[c]) : !!(Re === "application/xhtml+xml" && nt[e.namespaceURI]) : !1;
287
+ const c = Ge(e.tagName), T = Ge(s.tagName);
288
+ return nt[e.namespaceURI] ? e.namespaceURI === ze ? s.namespaceURI === se ? c === "svg" : s.namespaceURI === Ue ? c === "svg" && (T === "annotation-xml" || At[T]) : !!Ot[c] : e.namespaceURI === Ue ? s.namespaceURI === se ? c === "math" : s.namespaceURI === ze ? c === "math" && Ct[T] : !!xt[c] : e.namespaceURI === se ? s.namespaceURI === ze && !Ct[T] || s.namespaceURI === Ue && !At[T] ? !1 : !xt[c] && (wn[c] || !Ot[c]) : !!(xe === "application/xhtml+xml" && nt[e.namespaceURI]) : !1;
298
289
  }, te = function(e) {
299
290
  Ne(t.removed, {
300
291
  element: e
@@ -327,32 +318,32 @@ function dn() {
327
318
  s.setAttribute(e, "");
328
319
  } catch {
329
320
  }
330
- }, xt = function(e) {
321
+ }, Rt = function(e) {
331
322
  let s = null, c = null;
332
323
  if (Qe)
333
324
  e = "<remove></remove>" + e;
334
325
  else {
335
- const k = Yt(e, /^[\r\n\t ]+/);
336
- c = k && k[0];
326
+ const v = Yt(e, /^[\r\n\t ]+/);
327
+ c = v && v[0];
337
328
  }
338
- Re === "application/xhtml+xml" && be === se && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
329
+ xe === "application/xhtml+xml" && ye === se && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
339
330
  const T = S ? S.createHTML(e) : e;
340
- if (be === se)
331
+ if (ye === se)
341
332
  try {
342
- s = new ie().parseFromString(T, Re);
333
+ s = new ie().parseFromString(T, xe);
343
334
  } catch {
344
335
  }
345
336
  if (!s || !s.documentElement) {
346
- s = G.createDocument(be, "template", null);
337
+ s = G.createDocument(ye, "template", null);
347
338
  try {
348
- s.documentElement.innerHTML = tt ? Z : T;
339
+ s.documentElement.innerHTML = tt ? F : T;
349
340
  } catch {
350
341
  }
351
342
  }
352
- const P = s.body || s.documentElement;
353
- return e && c && P.insertBefore(i.createTextNode(c), P.childNodes[0] || null), be === se ? $.call(s, de ? "html" : "body")[0] : de ? s.documentElement : P;
343
+ const U = s.body || s.documentElement;
344
+ return e && c && U.insertBefore(i.createTextNode(c), U.childNodes[0] || null), ye === se ? $.call(s, de ? "html" : "body")[0] : de ? s.documentElement : U;
354
345
  }, Nt = function(e) {
355
- return J.call(
346
+ return V.call(
356
347
  e.ownerDocument || e,
357
348
  e,
358
349
  // eslint-disable-next-line no-bitwise
@@ -360,11 +351,11 @@ function dn() {
360
351
  null
361
352
  );
362
353
  }, Mt = function(e) {
363
- return e instanceof pe && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof L) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
354
+ return e instanceof pe && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof P) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
364
355
  }, kt = function(e) {
365
- return typeof v == "function" && e instanceof v;
356
+ return typeof D == "function" && e instanceof D;
366
357
  }, ae = function(e, s, c) {
367
- A[e] && Ze(A[e], (T) => {
358
+ w[e] && Ze(w[e], (T) => {
368
359
  T.call(t, s, c, Ae);
369
360
  });
370
361
  }, vt = function(e) {
@@ -375,24 +366,24 @@ function dn() {
375
366
  if (ae("uponSanitizeElement", e, {
376
367
  tagName: c,
377
368
  allowedTags: C
378
- }), e.hasChildNodes() && !kt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === De.progressingInstruction || Xe && e.nodeType === De.comment && U(/<[/\w]/g, e.data))
369
+ }), e.hasChildNodes() && !kt(e.firstElementChild) && H(/<[/\w]/g, e.innerHTML) && H(/<[/\w]/g, e.textContent) || e.nodeType === De.progressingInstruction || Xe && e.nodeType === De.comment && H(/<[/\w]/g, e.data))
379
370
  return te(e), !0;
380
371
  if (!C[c] || Ce[c]) {
381
- if (!Ce[c] && Lt(c) && (E.tagNameCheck instanceof RegExp && U(E.tagNameCheck, c) || E.tagNameCheck instanceof Function && E.tagNameCheck(c)))
372
+ if (!Ce[c] && Lt(c) && (E.tagNameCheck instanceof RegExp && H(E.tagNameCheck, c) || E.tagNameCheck instanceof Function && E.tagNameCheck(c)))
382
373
  return !1;
383
- if ($e && !ye[c]) {
384
- const T = h(e) || e.parentNode, P = b(e) || e.childNodes;
385
- if (P && T) {
386
- const k = P.length;
387
- for (let W = k - 1; W >= 0; --W) {
388
- const ne = x(P[W], !0);
374
+ if ($e && !be[c]) {
375
+ const T = h(e) || e.parentNode, U = A(e) || e.childNodes;
376
+ if (U && T) {
377
+ const v = U.length;
378
+ for (let B = v - 1; B >= 0; --B) {
379
+ const ne = R(U[B], !0);
389
380
  ne.__removalCount = (e.__removalCount || 0) + 1, T.insertBefore(ne, ue(e));
390
381
  }
391
382
  }
392
383
  }
393
384
  return te(e), !0;
394
385
  }
395
- return e instanceof D && !yn(e) || (c === "noscript" || c === "noembed" || c === "noframes") && U(/<\/no(script|embed|frames)/i, e.innerHTML) ? (te(e), !0) : (Ee && e.nodeType === De.text && (s = e.textContent, Ze([ee, X, F], (T) => {
386
+ return e instanceof L && !bn(e) || (c === "noscript" || c === "noembed" || c === "noframes") && H(/<\/no(script|embed|frames)/i, e.innerHTML) ? (te(e), !0) : (Ee && e.nodeType === De.text && (s = e.textContent, Ze([ee, X, k], (T) => {
396
387
  s = Me(s, T, " ");
397
388
  }), e.textContent !== s && (Ne(t.removed, {
398
389
  element: e.cloneNode()
@@ -400,21 +391,21 @@ function dn() {
400
391
  }, Dt = function(e, s, c) {
401
392
  if (gt && (s === "id" || s === "name") && (c in i || c in Sn))
402
393
  return !1;
403
- if (!(je && !Ye[s] && U(ge, s))) {
404
- if (!(pt && U(q, s))) {
394
+ if (!(je && !Ye[s] && H(ge, s))) {
395
+ if (!(pt && H(q, s))) {
405
396
  if (!f[s] || Ye[s]) {
406
397
  if (
407
398
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
408
399
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
409
400
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
410
- !(Lt(e) && (E.tagNameCheck instanceof RegExp && U(E.tagNameCheck, e) || E.tagNameCheck instanceof Function && E.tagNameCheck(e)) && (E.attributeNameCheck instanceof RegExp && U(E.attributeNameCheck, s) || E.attributeNameCheck instanceof Function && E.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
401
+ !(Lt(e) && (E.tagNameCheck instanceof RegExp && H(E.tagNameCheck, e) || E.tagNameCheck instanceof Function && E.tagNameCheck(e)) && (E.attributeNameCheck instanceof RegExp && H(E.attributeNameCheck, s) || E.attributeNameCheck instanceof Function && E.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
411
402
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
412
- s === "is" && E.allowCustomizedBuiltInElements && (E.tagNameCheck instanceof RegExp && U(E.tagNameCheck, c) || E.tagNameCheck instanceof Function && E.tagNameCheck(c)))
403
+ s === "is" && E.allowCustomizedBuiltInElements && (E.tagNameCheck instanceof RegExp && H(E.tagNameCheck, c) || E.tagNameCheck instanceof Function && E.tagNameCheck(c)))
413
404
  ) return !1;
414
405
  } else if (!et[s]) {
415
- if (!U(fe, Me(c, g, ""))) {
406
+ if (!H(fe, Me(c, g, ""))) {
416
407
  if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Bn(c, "data:") === 0 && St[e])) {
417
- if (!(dt && !U(Te, Me(c, g, "")))) {
408
+ if (!(dt && !H(Te, Me(c, g, "")))) {
418
409
  if (c)
419
410
  return !1;
420
411
  }
@@ -425,7 +416,7 @@ function dn() {
425
416
  }
426
417
  return !0;
427
418
  }, Lt = function(e) {
428
- return e !== "annotation-xml" && Yt(e, w);
419
+ return e !== "annotation-xml" && Yt(e, b);
429
420
  }, Pt = function(e) {
430
421
  ae("beforeSanitizeAttributes", e, null);
431
422
  const {
@@ -441,46 +432,46 @@ function dn() {
441
432
  };
442
433
  let T = s.length;
443
434
  for (; T--; ) {
444
- const P = s[T], {
445
- name: k,
446
- namespaceURI: W,
435
+ const U = s[T], {
436
+ name: v,
437
+ namespaceURI: B,
447
438
  value: ne
448
- } = P, xe = N(k);
449
- let I = k === "value" ? ne : _n(ne);
450
- if (c.attrName = xe, c.attrValue = I, c.keepAttr = !0, c.forceKeepAttr = void 0, ae("uponSanitizeAttribute", e, c), I = c.attrValue, Xe && U(/((--!?|])>)|<\/(style|title)/i, I)) {
451
- He(k, e);
439
+ } = U, Re = N(v);
440
+ let z = v === "value" ? ne : _n(ne);
441
+ if (c.attrName = Re, c.attrValue = z, c.keepAttr = !0, c.forceKeepAttr = void 0, ae("uponSanitizeAttribute", e, c), z = c.attrValue, Xe && H(/((--!?|])>)|<\/(style|title)/i, z)) {
442
+ He(v, e);
452
443
  continue;
453
444
  }
454
- if (c.forceKeepAttr || (He(k, e), !c.keepAttr))
445
+ if (c.forceKeepAttr || (He(v, e), !c.keepAttr))
455
446
  continue;
456
- if (!ht && U(/\/>/i, I)) {
457
- He(k, e);
447
+ if (!ht && H(/\/>/i, z)) {
448
+ He(v, e);
458
449
  continue;
459
450
  }
460
- Ee && Ze([ee, X, F], (Ut) => {
461
- I = Me(I, Ut, " ");
451
+ Ee && Ze([ee, X, k], (Ut) => {
452
+ z = Me(z, Ut, " ");
462
453
  });
463
454
  const It = N(e.nodeName);
464
- if (Dt(It, xe, I)) {
465
- if (Tt && (xe === "id" || xe === "name") && (He(k, e), I = hn + I), S && typeof _ == "object" && typeof _.getAttributeType == "function" && !W)
466
- switch (_.getAttributeType(It, xe)) {
455
+ if (Dt(It, Re, z)) {
456
+ if (Tt && (Re === "id" || Re === "name") && (He(v, e), z = hn + z), S && typeof J == "object" && typeof J.getAttributeType == "function" && !B)
457
+ switch (J.getAttributeType(It, Re)) {
467
458
  case "TrustedHTML": {
468
- I = S.createHTML(I);
459
+ z = S.createHTML(z);
469
460
  break;
470
461
  }
471
462
  case "TrustedScriptURL": {
472
- I = S.createScriptURL(I);
463
+ z = S.createScriptURL(z);
473
464
  break;
474
465
  }
475
466
  }
476
467
  try {
477
- W ? e.setAttributeNS(W, k, I) : e.setAttribute(k, I), Mt(e) ? te(e) : qt(t.removed);
468
+ B ? e.setAttributeNS(B, v, z) : e.setAttribute(v, z), Mt(e) ? te(e) : qt(t.removed);
478
469
  } catch {
479
470
  }
480
471
  }
481
472
  }
482
473
  ae("afterSanitizeAttributes", e, null);
483
- }, bn = function u(e) {
474
+ }, yn = function u(e) {
484
475
  let s = null;
485
476
  const c = Nt(e);
486
477
  for (ae("beforeSanitizeShadowDOM", e, null); s = c.nextNode(); )
@@ -488,7 +479,7 @@ function dn() {
488
479
  ae("afterSanitizeShadowDOM", e, null);
489
480
  };
490
481
  return t.sanitize = function(u) {
491
- let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, c = null, T = null, P = null;
482
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, c = null, T = null, U = null;
492
483
  if (tt = !u, tt && (u = "<!-->"), typeof u != "string" && !kt(u))
493
484
  if (typeof u.toString == "function") {
494
485
  if (u = u.toString(), typeof u != "string")
@@ -503,34 +494,34 @@ function dn() {
503
494
  if (!C[ne] || Ce[ne])
504
495
  throw ke("root node is forbidden and cannot be sanitized in-place");
505
496
  }
506
- } else if (u instanceof v)
507
- s = xt("<!---->"), c = s.ownerDocument.importNode(u, !0), c.nodeType === De.element && c.nodeName === "BODY" || c.nodeName === "HTML" ? s = c : s.appendChild(c);
497
+ } else if (u instanceof D)
498
+ s = Rt("<!---->"), c = s.ownerDocument.importNode(u, !0), c.nodeType === De.element && c.nodeName === "BODY" || c.nodeName === "HTML" ? s = c : s.appendChild(c);
508
499
  else {
509
500
  if (!Se && !Ee && !de && // eslint-disable-next-line unicorn/prefer-includes
510
501
  u.indexOf("<") === -1)
511
502
  return S && Ie ? S.createHTML(u) : u;
512
- if (s = xt(u), !s)
513
- return Se ? null : Ie ? Z : "";
503
+ if (s = Rt(u), !s)
504
+ return Se ? null : Ie ? F : "";
514
505
  }
515
506
  s && Qe && te(s.firstChild);
516
- const k = Nt(Oe ? u : s);
517
- for (; T = k.nextNode(); )
518
- vt(T) || (T.content instanceof r && bn(T.content), Pt(T));
507
+ const v = Nt(Oe ? u : s);
508
+ for (; T = v.nextNode(); )
509
+ vt(T) || (T.content instanceof r && yn(T.content), Pt(T));
519
510
  if (Oe)
520
511
  return u;
521
512
  if (Se) {
522
513
  if (Pe)
523
- for (P = V.call(s.ownerDocument); s.firstChild; )
524
- P.appendChild(s.firstChild);
514
+ for (U = I.call(s.ownerDocument); s.firstChild; )
515
+ U.appendChild(s.firstChild);
525
516
  else
526
- P = s;
527
- return (f.shadowroot || f.shadowrootmode) && (P = oe.call(o, P, !0)), P;
517
+ U = s;
518
+ return (f.shadowroot || f.shadowrootmode) && (U = oe.call(o, U, !0)), U;
528
519
  }
529
- let W = de ? s.outerHTML : s.innerHTML;
530
- return de && C["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && U(pn, s.ownerDocument.doctype.name) && (W = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
531
- ` + W), Ee && Ze([ee, X, F], (ne) => {
532
- W = Me(W, ne, " ");
533
- }), S && Ie ? S.createHTML(W) : W;
520
+ let B = de ? s.outerHTML : s.innerHTML;
521
+ return de && C["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && H(pn, s.ownerDocument.doctype.name) && (B = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
522
+ ` + B), Ee && Ze([ee, X, k], (ne) => {
523
+ B = Me(B, ne, " ");
524
+ }), S && Ie ? S.createHTML(B) : B;
534
525
  }, t.setConfig = function() {
535
526
  let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
536
527
  it(u), Ke = !0;
@@ -541,14 +532,14 @@ function dn() {
541
532
  const c = N(u), T = N(e);
542
533
  return Dt(c, T, s);
543
534
  }, t.addHook = function(u, e) {
544
- typeof e == "function" && (A[u] = A[u] || [], Ne(A[u], e));
535
+ typeof e == "function" && (w[u] = w[u] || [], Ne(w[u], e));
545
536
  }, t.removeHook = function(u) {
546
- if (A[u])
547
- return qt(A[u]);
537
+ if (w[u])
538
+ return qt(w[u]);
548
539
  }, t.removeHooks = function(u) {
549
- A[u] && (A[u] = []);
540
+ w[u] && (w[u] = []);
550
541
  }, t.removeAllHooks = function() {
551
- A = {};
542
+ w = {};
552
543
  }, t;
553
544
  }
554
545
  var en = dn();
@@ -561,17 +552,17 @@ function an(n) {
561
552
  let t, i, o, a, r, p = (
562
553
  /*$_*/
563
554
  n[8]("sessionExpirationHeader") + ""
564
- ), v, D, y, L, pe, ie, _, O, x, M, ue, b, h, S, Z;
555
+ ), D, L, y, P, pe, ie, J, O, R, M, ue, A, h, S, F;
565
556
  const G = (
566
557
  /*#slots*/
567
558
  n[20].icon
568
- ), J = Fe(
559
+ ), V = Fe(
569
560
  G,
570
561
  n,
571
562
  /*$$scope*/
572
563
  n[19],
573
564
  sn
574
- ), V = J || mi(n), $ = (
565
+ ), I = V || mi(n), $ = (
575
566
  /*#slots*/
576
567
  n[20].title
577
568
  ), oe = Fe(
@@ -580,7 +571,7 @@ function an(n) {
580
571
  /*$$scope*/
581
572
  n[19],
582
573
  on
583
- ), A = oe || pi(n), ee = (
574
+ ), w = oe || pi(n), ee = (
584
575
  /*#slots*/
585
576
  n[20].text
586
577
  ), X = Fe(
@@ -589,34 +580,34 @@ function an(n) {
589
580
  /*$$scope*/
590
581
  n[19],
591
582
  nn
592
- ), F = X || di(n), ge = [gi, hi], q = [];
593
- function Te(g, w) {
583
+ ), k = X || di(n), ge = [gi, hi], q = [];
584
+ function Te(g, b) {
594
585
  return (
595
586
  /*showLoaderButton*/
596
587
  g[6] ? 0 : 1
597
588
  );
598
589
  }
599
- return x = Te(n), M = q[x] = ge[x](n), {
590
+ return R = Te(n), M = q[R] = ge[R](n), {
600
591
  c() {
601
- t = z("div"), i = z("div"), o = z("div"), a = z("div"), r = z("div"), v = Ve(p), D = Le(), y = z("div"), L = z("div"), V.c(), pe = Le(), A.c(), ie = Le(), F.c(), _ = Le(), O = z("button"), M.c(), d(r, "class", "CashierSessionExpirationModalHeaderTitle"), d(a, "class", "CashierSessionExpirationModalHeader"), d(O, "type", "button"), O.disabled = /*showLoaderButton*/
602
- n[6], d(O, "class", "CashierSessionExpirationButton"), d(L, "class", "CashierSessionExpiration"), d(y, "class", "CashierSessionExpirationModalContainer"), d(y, "part", "CashierSessionExpirationModalContainer"), d(o, "class", "CashierSessionExpirationModalWrapper"), d(o, "part", "CashierSessionExpirationModalWrapper"), d(i, "class", "CashierSessionExpirationModalWindow"), d(i, "part", "CashierSessionExpirationModalWindow"), d(i, "id", "CashierSessionExpirationModal"), zt(() => (
592
+ t = Z("div"), i = Z("div"), o = Z("div"), a = Z("div"), r = Z("div"), D = qe(p), L = Le(), y = Z("div"), P = Z("div"), I && I.c(), pe = Le(), w && w.c(), ie = Le(), k && k.c(), J = Le(), O = Z("button"), M.c(), d(r, "class", "CashierSessionExpirationModalHeaderTitle"), d(a, "class", "CashierSessionExpirationModalHeader"), d(O, "type", "button"), O.disabled = /*showLoaderButton*/
593
+ n[6], d(O, "class", "CashierSessionExpirationButton"), d(P, "class", "CashierSessionExpiration"), d(y, "class", "CashierSessionExpirationModalContainer"), d(y, "part", "CashierSessionExpirationModalContainer"), d(o, "class", "CashierSessionExpirationModalWrapper"), d(o, "part", "CashierSessionExpirationModalWrapper"), d(i, "class", "CashierSessionExpirationModalWindow"), d(i, "part", "CashierSessionExpirationModalWindow"), d(i, "id", "CashierSessionExpirationModal"), Ht(() => (
603
594
  /*div5_elementresize_handler*/
604
595
  n[22].call(i)
605
596
  )), d(t, "part", "CustomStylingContainer");
606
597
  },
607
- m(g, w) {
608
- le(g, t, w), R(t, i), R(i, o), R(o, a), R(a, r), R(r, v), R(o, D), R(o, y), R(y, L), V.m(L, null), R(L, pe), A.m(L, null), R(L, ie), F.m(L, null), R(L, _), R(L, O), q[x].m(O, null), n[21](L), ue = vn(
598
+ m(g, b) {
599
+ ce(g, t, b), x(t, i), x(i, o), x(o, a), x(a, r), x(r, D), x(o, L), x(o, y), x(y, P), I && I.m(P, null), x(P, pe), w && w.m(P, null), x(P, ie), k && k.m(P, null), x(P, J), x(P, O), q[R].m(O, null), n[21](P), ue = vn(
609
600
  i,
610
601
  /*div5_elementresize_handler*/
611
602
  n[22].bind(i)
612
- ), n[23](t), h = !0, S || (Z = [
613
- Ht(
603
+ ), n[23](t), h = !0, S || (F = [
604
+ Zt(
614
605
  O,
615
606
  "click",
616
607
  /*renewSession*/
617
608
  n[9]
618
609
  ),
619
- Ht(
610
+ Zt(
620
611
  i,
621
612
  "click",
622
613
  /*outOfModalClick*/
@@ -624,90 +615,90 @@ function an(n) {
624
615
  )
625
616
  ], S = !0);
626
617
  },
627
- p(g, w) {
628
- n = g, (!h || w[0] & /*$_*/
618
+ p(g, b) {
619
+ n = g, (!h || b[0] & /*$_*/
629
620
  256) && p !== (p = /*$_*/
630
- n[8]("sessionExpirationHeader") + "") && qe(v, p), J ? J.p && (!h || w[0] & /*$$scope*/
621
+ n[8]("sessionExpirationHeader") + "") && Ve(D, p), V ? V.p && (!h || b[0] & /*$$scope*/
631
622
  524288) && Be(
632
- J,
623
+ V,
633
624
  G,
634
625
  n,
635
626
  /*$$scope*/
636
627
  n[19],
637
- h ? Ge(
628
+ h ? Je(
638
629
  G,
639
630
  /*$$scope*/
640
631
  n[19],
641
- w,
632
+ b,
642
633
  ci
643
634
  ) : _e(
644
635
  /*$$scope*/
645
636
  n[19]
646
637
  ),
647
638
  sn
648
- ) : V.p && (!h || w[0] & /*assetsurl*/
649
- 8) && V.p(n, h ? w : [-1, -1]), oe ? oe.p && (!h || w[0] & /*$$scope*/
639
+ ) : I && I.p && (!h || b[0] & /*assetsurl*/
640
+ 8) && I.p(n, h ? b : [-1, -1]), oe ? oe.p && (!h || b[0] & /*$$scope*/
650
641
  524288) && Be(
651
642
  oe,
652
643
  $,
653
644
  n,
654
645
  /*$$scope*/
655
646
  n[19],
656
- h ? Ge(
647
+ h ? Je(
657
648
  $,
658
649
  /*$$scope*/
659
650
  n[19],
660
- w,
651
+ b,
661
652
  li
662
653
  ) : _e(
663
654
  /*$$scope*/
664
655
  n[19]
665
656
  ),
666
657
  on
667
- ) : A.p && (!h || w[0] & /*$_*/
668
- 256) && A.p(n, h ? w : [-1, -1]), X ? X.p && (!h || w[0] & /*$$scope*/
658
+ ) : w && w.p && (!h || b[0] & /*$_*/
659
+ 256) && w.p(n, h ? b : [-1, -1]), X ? X.p && (!h || b[0] & /*$$scope*/
669
660
  524288) && Be(
670
661
  X,
671
662
  ee,
672
663
  n,
673
664
  /*$$scope*/
674
665
  n[19],
675
- h ? Ge(
666
+ h ? Je(
676
667
  ee,
677
668
  /*$$scope*/
678
669
  n[19],
679
- w,
670
+ b,
680
671
  ri
681
672
  ) : _e(
682
673
  /*$$scope*/
683
674
  n[19]
684
675
  ),
685
676
  nn
686
- ) : F.p && (!h || w[0] & /*$_, timeLeft*/
687
- 384) && F.p(n, h ? w : [-1, -1]);
688
- let fe = x;
689
- x = Te(n), x === fe ? q[x].p(n, w) : (cn(), me(q[fe], 1, 1, () => {
677
+ ) : k && k.p && (!h || b[0] & /*$_, timeLeft*/
678
+ 384) && k.p(n, h ? b : [-1, -1]);
679
+ let fe = R;
680
+ R = Te(n), R === fe ? q[R].p(n, b) : (rn(), me(q[fe], 1, 1, () => {
690
681
  q[fe] = null;
691
- }), ln(), M = q[x], M ? M.p(n, w) : (M = q[x] = ge[x](n), M.c()), re(M, 1), M.m(O, null)), (!h || w[0] & /*showLoaderButton*/
682
+ }), ln(), M = q[R], M ? M.p(n, b) : (M = q[R] = ge[R](n), M.c()), re(M, 1), M.m(O, null)), (!h || b[0] & /*showLoaderButton*/
692
683
  64) && (O.disabled = /*showLoaderButton*/
693
684
  n[6]);
694
685
  },
695
686
  i(g) {
696
- h || (re(V, g), re(A, g), re(F, g), re(M), g && zt(() => {
697
- h && (b || (b = Zt(i, Bt, { duration: (
687
+ h || (re(I, g), re(w, g), re(k, g), re(M), g && Ht(() => {
688
+ h && (A || (A = zt(i, Bt, { duration: (
698
689
  /*duration*/
699
690
  n[2]
700
- ) }, !0)), b.run(1));
691
+ ) }, !0)), A.run(1));
701
692
  }), h = !0);
702
693
  },
703
694
  o(g) {
704
- me(V, g), me(A, g), me(F, g), me(M), g && (b || (b = Zt(i, Bt, { duration: (
695
+ me(I, g), me(w, g), me(k, g), me(M), g && (A || (A = zt(i, Bt, { duration: (
705
696
  /*duration*/
706
697
  n[2]
707
- ) }, !1)), b.run(0)), h = !1;
698
+ ) }, !1)), A.run(0)), h = !1;
708
699
  },
709
700
  d(g) {
710
- g && ce(t), V.d(g), A.d(g), F.d(g), q[x].d(), n[21](null), ue(), g && b && b.end(), n[23](null), S = !1, Dn(Z);
701
+ g && le(t), I && I.d(g), w && w.d(g), k && k.d(g), q[R].d(), n[21](null), ue(), g && A && A.end(), n[23](null), S = !1, kn(F);
711
702
  }
712
703
  };
713
704
  }
@@ -715,14 +706,14 @@ function ui(n) {
715
706
  let t, i;
716
707
  return {
717
708
  c() {
718
- t = z("img"), ut(t.src, i = oi) || d(t, "src", i), d(t, "width", "300px"), d(t, "alt", "error");
709
+ t = Z("img"), ut(t.src, i = oi) || d(t, "src", i), d(t, "width", "300px"), d(t, "alt", "error");
719
710
  },
720
711
  m(o, a) {
721
- le(o, t, a);
712
+ ce(o, t, a);
722
713
  },
723
714
  p: ct,
724
715
  d(o) {
725
- o && ce(t);
716
+ o && le(t);
726
717
  }
727
718
  };
728
719
  }
@@ -730,11 +721,11 @@ function fi(n) {
730
721
  let t, i;
731
722
  return {
732
723
  c() {
733
- t = z("img"), ut(t.src, i = `${/*assetsurl*/
724
+ t = Z("img"), ut(t.src, i = `${/*assetsurl*/
734
725
  n[3]}/set-timeout-icon.png`) || d(t, "src", i), d(t, "width", "300px"), d(t, "alt", "error");
735
726
  },
736
727
  m(o, a) {
737
- le(o, t, a);
728
+ ce(o, t, a);
738
729
  },
739
730
  p(o, a) {
740
731
  a[0] & /*assetsurl*/
@@ -742,7 +733,7 @@ function fi(n) {
742
733
  o[3]}/set-timeout-icon.png`) && d(t, "src", i);
743
734
  },
744
735
  d(o) {
745
- o && ce(t);
736
+ o && le(t);
746
737
  }
747
738
  };
748
739
  }
@@ -757,16 +748,16 @@ function mi(n) {
757
748
  let o = i(n), a = o(n);
758
749
  return {
759
750
  c() {
760
- a.c(), t = rn();
751
+ a.c(), t = cn();
761
752
  },
762
753
  m(r, p) {
763
- a.m(r, p), le(r, t, p);
754
+ a.m(r, p), ce(r, t, p);
764
755
  },
765
756
  p(r, p) {
766
757
  o === (o = i(r)) && a ? a.p(r, p) : (a.d(1), a = o(r), a && (a.c(), a.m(t.parentNode, t)));
767
758
  },
768
759
  d(r) {
769
- r && ce(t), a.d(r);
760
+ r && le(t), a.d(r);
770
761
  }
771
762
  };
772
763
  }
@@ -777,18 +768,18 @@ function pi(n) {
777
768
  ), o;
778
769
  return {
779
770
  c() {
780
- t = z("span"), o = Ve(i), d(t, "class", "CashierSessionExpirationTitle");
771
+ t = Z("span"), o = qe(i), d(t, "class", "CashierSessionExpirationTitle");
781
772
  },
782
773
  m(a, r) {
783
- le(a, t, r), R(t, o);
774
+ ce(a, t, r), x(t, o);
784
775
  },
785
776
  p(a, r) {
786
777
  r[0] & /*$_*/
787
778
  256 && i !== (i = /*$_*/
788
- a[8]("sessionExpirationTitle") + "") && qe(o, i);
779
+ a[8]("sessionExpirationTitle") + "") && Ve(o, i);
789
780
  },
790
781
  d(a) {
791
- a && ce(t);
782
+ a && le(t);
792
783
  }
793
784
  };
794
785
  }
@@ -802,10 +793,10 @@ function di(n) {
802
793
  ) + "";
803
794
  return {
804
795
  c() {
805
- t = z("span"), d(t, "class", "CashierSessionExpirationText");
796
+ t = Z("span"), d(t, "class", "CashierSessionExpirationText");
806
797
  },
807
798
  m(o, a) {
808
- le(o, t, a), t.innerHTML = i;
799
+ ce(o, t, a), t.innerHTML = i;
809
800
  },
810
801
  p(o, a) {
811
802
  a[0] & /*$_, timeLeft*/
@@ -818,7 +809,7 @@ function di(n) {
818
809
  ) + "") && (t.innerHTML = i);
819
810
  },
820
811
  d(o) {
821
- o && ce(t);
812
+ o && le(t);
822
813
  }
823
814
  };
824
815
  }
@@ -836,10 +827,10 @@ function hi(n) {
836
827
  ), a = o || Ti(n);
837
828
  return {
838
829
  c() {
839
- a.c();
830
+ a && a.c();
840
831
  },
841
832
  m(r, p) {
842
- a.m(r, p), t = !0;
833
+ a && a.m(r, p), t = !0;
843
834
  },
844
835
  p(r, p) {
845
836
  o ? o.p && (!t || p[0] & /*$$scope*/
@@ -849,7 +840,7 @@ function hi(n) {
849
840
  r,
850
841
  /*$$scope*/
851
842
  r[19],
852
- t ? Ge(
843
+ t ? Je(
853
844
  i,
854
845
  /*$$scope*/
855
846
  r[19],
@@ -860,7 +851,7 @@ function hi(n) {
860
851
  r[19]
861
852
  ),
862
853
  tn
863
- ) : a.p && (!t || p[0] & /*$_*/
854
+ ) : a && a.p && (!t || p[0] & /*$_*/
864
855
  256) && a.p(r, t ? p : [-1, -1]);
865
856
  },
866
857
  i(r) {
@@ -870,7 +861,7 @@ function hi(n) {
870
861
  me(a, r), t = !1;
871
862
  },
872
863
  d(r) {
873
- a.d(r);
864
+ a && a.d(r);
874
865
  }
875
866
  };
876
867
  }
@@ -878,23 +869,23 @@ function gi(n) {
878
869
  let t, i, o, a, r, p = (
879
870
  /*$_*/
880
871
  n[8]("sessionExpirationLoadingButton") + ""
881
- ), v;
872
+ ), D;
882
873
  return {
883
874
  c() {
884
- t = z("div"), i = Ft("svg"), o = Ft("path"), a = Le(), r = z("span"), v = Ve(p), d(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"), d(o, "fill", "white"), d(i, "class", "CashierSessionExpirationButtonSpinner"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "15"), d(i, "height", "14"), d(i, "viewBox", "0 0 15 14"), d(i, "fill", "none"), d(r, "class", "CashierSessionExpirationButtonText");
875
+ t = Z("div"), i = Ft("svg"), o = Ft("path"), a = Le(), r = Z("span"), D = qe(p), d(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"), d(o, "fill", "white"), d(i, "class", "CashierSessionExpirationButtonSpinner"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "15"), d(i, "height", "14"), d(i, "viewBox", "0 0 15 14"), d(i, "fill", "none"), d(r, "class", "CashierSessionExpirationButtonText");
885
876
  },
886
- m(D, y) {
887
- le(D, t, y), R(t, i), R(i, o), R(t, a), R(t, r), R(r, v);
877
+ m(L, y) {
878
+ ce(L, t, y), x(t, i), x(i, o), x(t, a), x(t, r), x(r, D);
888
879
  },
889
- p(D, y) {
880
+ p(L, y) {
890
881
  y[0] & /*$_*/
891
882
  256 && p !== (p = /*$_*/
892
- D[8]("sessionExpirationLoadingButton") + "") && qe(v, p);
883
+ L[8]("sessionExpirationLoadingButton") + "") && Ve(D, p);
893
884
  },
894
885
  i: ct,
895
886
  o: ct,
896
- d(D) {
897
- D && ce(t);
887
+ d(L) {
888
+ L && le(t);
898
889
  }
899
890
  };
900
891
  }
@@ -905,18 +896,18 @@ function Ti(n) {
905
896
  ), o;
906
897
  return {
907
898
  c() {
908
- t = z("span"), o = Ve(i), d(t, "class", "CashierSessionExpirationButtonText");
899
+ t = Z("span"), o = qe(i), d(t, "class", "CashierSessionExpirationButtonText");
909
900
  },
910
901
  m(a, r) {
911
- le(a, t, r), R(t, o);
902
+ ce(a, t, r), x(t, o);
912
903
  },
913
904
  p(a, r) {
914
905
  r[0] & /*$_*/
915
906
  256 && i !== (i = /*$_*/
916
- a[8]("sessionExpirationGeneralButton") + "") && qe(o, i);
907
+ a[8]("sessionExpirationGeneralButton") + "") && Ve(o, i);
917
908
  },
918
909
  d(a) {
919
- a && ce(t);
910
+ a && le(t);
920
911
  }
921
912
  };
922
913
  }
@@ -927,15 +918,15 @@ function Ei(n) {
927
918
  );
928
919
  return {
929
920
  c() {
930
- o && o.c(), t = rn();
921
+ o && o.c(), t = cn();
931
922
  },
932
923
  m(a, r) {
933
- o && o.m(a, r), le(a, t, r), i = !0;
924
+ o && o.m(a, r), ce(a, t, r), i = !0;
934
925
  },
935
926
  p(a, r) {
936
927
  /*show*/
937
928
  a[5] ? o ? (o.p(a, r), r[0] & /*show*/
938
- 32 && re(o, 1)) : (o = an(a), o.c(), re(o, 1), o.m(t.parentNode, t)) : o && (cn(), me(o, 1, 1, () => {
929
+ 32 && re(o, 1)) : (o = an(a), o.c(), re(o, 1), o.m(t.parentNode, t)) : o && (rn(), me(o, 1, 1, () => {
939
930
  o = null;
940
931
  }), ln());
941
932
  },
@@ -946,20 +937,20 @@ function Ei(n) {
946
937
  me(o), i = !1;
947
938
  },
948
939
  d(a) {
949
- a && ce(t), o && o.d(a);
940
+ a && le(t), o && o.d(a);
950
941
  }
951
942
  };
952
943
  }
953
944
  const Si = 90;
954
945
  function wi(n, t, i) {
955
946
  let o;
956
- Nn(n, Un, (l) => i(8, o = l));
947
+ Rn(n, Un, (l) => i(8, o = l));
957
948
  let { $$slots: a = {}, $$scope: r } = t;
958
949
  _t.extend(zn);
959
- let { clientstyling: p = "" } = t, { clientstylingurl: v = "" } = t, { width: D } = t, { height: y } = t, { duration: L = 200 } = t, { assetsurl: pe = "" } = t, { lang: ie = "en" } = t, { translationurl: _ = "" } = t, { endpoint: O } = t, { currency: x } = t, { customerid: M } = t, { selectedpaymentmethodname: ue } = t, b, h = !1, S = !1, Z, G, J, V, $;
950
+ let { clientstyling: p = "" } = t, { clientstylingurl: D = "" } = t, { width: L } = t, { height: y } = t, { duration: P = 200 } = t, { assetsurl: pe = "" } = t, { lang: ie = "en" } = t, { translationurl: J = "" } = t, { endpoint: O } = t, { currency: R } = t, { customerid: M } = t, { selectedpaymentmethodname: ue } = t, A, h = !1, S = !1, F, G, V, I, $;
960
951
  const oe = (l) => {
961
- l.data.type === "StartSessionCountdown" && ($ = l.data.xPaymentSessionToken, V = l.data.paymentMethodName, ee());
962
- }, A = (l) => {
952
+ l.data.type === "StartSessionCountdown" && ($ = l.data.xPaymentSessionToken, I = l.data.paymentMethodName, ee());
953
+ }, w = (l) => {
963
954
  try {
964
955
  return JSON.parse(atob(l.split(".")[1]));
965
956
  } catch {
@@ -967,11 +958,11 @@ function wi(n, t, i) {
967
958
  }
968
959
  }, ee = () => {
969
960
  i(5, h = !1);
970
- const l = A($);
971
- l && (G = l?.exp, i(7, Z = G), J && clearInterval(J), J = setInterval(
961
+ const l = w($);
962
+ l && (G = l?.exp, i(7, F = G), V && clearInterval(V), V = setInterval(
972
963
  () => {
973
964
  const f = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
974
- i(7, Z = G - f), Z <= Si && i(5, h = !0), f >= G && (i(7, Z = 0), i(5, h = !1), clearInterval(J), window.postMessage({ type: "SessionExpired" }, window.location.href));
965
+ i(7, F = G - f), F <= Si && i(5, h = !0), f >= G && (i(7, F = 0), i(5, h = !1), clearInterval(V), window.postMessage({ type: "SessionExpired" }, window.location.href));
975
966
  },
976
967
  1e3
977
968
  ));
@@ -984,106 +975,106 @@ function wi(n, t, i) {
984
975
  mode: "cors",
985
976
  headers: f,
986
977
  body: JSON.stringify({
987
- PaymentMethodName: V || ue,
988
- Currency: x,
978
+ PaymentMethodName: I || ue,
979
+ Currency: R,
989
980
  XPaymentSessionToken: $
990
981
  })
991
982
  };
992
983
  fetch(l, K).then((E) => E.json()).then((E) => {
993
984
  $ = E.XPaymentSessionToken, ee();
994
985
  }).finally(() => i(6, S = !1));
995
- }, F = (l) => {
986
+ }, k = (l) => {
996
987
  const f = l.currentTarget;
997
988
  l.target === f && X();
998
989
  }, ge = () => {
999
- fetch(_).then((f) => f.json()).then((f) => {
990
+ fetch(J).then((f) => f.json()).then((f) => {
1000
991
  Object.keys(f).forEach((K) => {
1001
- Gt(K, f[K]);
992
+ Jt(K, f[K]);
1002
993
  });
1003
994
  }).catch((f) => {
1004
995
  console.log(f);
1005
996
  });
1006
997
  };
1007
- Object.keys(Jt).forEach((l) => {
1008
- Gt(l, Jt[l]);
998
+ Object.keys(Gt).forEach((l) => {
999
+ Jt(l, Gt[l]);
1009
1000
  });
1010
1001
  const q = () => {
1011
1002
  Hn(ie);
1012
1003
  }, Te = () => {
1013
1004
  let l = document.createElement("style");
1014
- l.innerHTML = p, b.appendChild(l);
1005
+ l.innerHTML = p, A.appendChild(l);
1015
1006
  }, g = () => {
1016
- let l = new URL(v), f = document.createElement("style");
1007
+ let l = new URL(D), f = document.createElement("style");
1017
1008
  fetch(l.href).then((K) => K.text()).then((K) => {
1018
1009
  f.innerHTML = K, setTimeout(
1019
1010
  () => {
1020
- b.appendChild(f);
1011
+ A.appendChild(f);
1021
1012
  },
1022
1013
  1
1023
1014
  );
1024
1015
  });
1025
1016
  };
1026
- Mn(() => (window.addEventListener("message", oe, !1), () => {
1017
+ Nn(() => (window.addEventListener("message", oe, !1), () => {
1027
1018
  window.removeEventListener("message", oe);
1028
- })), kn(() => {
1029
- clearInterval(J);
1019
+ })), Mn(() => {
1020
+ clearInterval(V);
1030
1021
  });
1031
- function w(l) {
1022
+ function b(l) {
1032
1023
  Wt[l ? "unshift" : "push"](() => {
1033
- b = l, i(4, b);
1024
+ A = l, i(4, A);
1034
1025
  });
1035
1026
  }
1036
1027
  function fe() {
1037
- D = this.clientWidth, y = this.clientHeight, i(0, D), i(1, y);
1028
+ L = this.clientWidth, y = this.clientHeight, i(0, L), i(1, y);
1038
1029
  }
1039
1030
  function C(l) {
1040
1031
  Wt[l ? "unshift" : "push"](() => {
1041
- b = l, i(4, b);
1032
+ A = l, i(4, A);
1042
1033
  });
1043
1034
  }
1044
1035
  return n.$$set = (l) => {
1045
- "clientstyling" in l && i(11, p = l.clientstyling), "clientstylingurl" in l && i(12, v = l.clientstylingurl), "width" in l && i(0, D = l.width), "height" in l && i(1, y = l.height), "duration" in l && i(2, L = l.duration), "assetsurl" in l && i(3, pe = l.assetsurl), "lang" in l && i(13, ie = l.lang), "translationurl" in l && i(14, _ = l.translationurl), "endpoint" in l && i(15, O = l.endpoint), "currency" in l && i(16, x = l.currency), "customerid" in l && i(17, M = l.customerid), "selectedpaymentmethodname" in l && i(18, ue = l.selectedpaymentmethodname), "$$scope" in l && i(19, r = l.$$scope);
1036
+ "clientstyling" in l && i(11, p = l.clientstyling), "clientstylingurl" in l && i(12, D = l.clientstylingurl), "width" in l && i(0, L = l.width), "height" in l && i(1, y = l.height), "duration" in l && i(2, P = l.duration), "assetsurl" in l && i(3, pe = l.assetsurl), "lang" in l && i(13, ie = l.lang), "translationurl" in l && i(14, J = l.translationurl), "endpoint" in l && i(15, O = l.endpoint), "currency" in l && i(16, R = l.currency), "customerid" in l && i(17, M = l.customerid), "selectedpaymentmethodname" in l && i(18, ue = l.selectedpaymentmethodname), "$$scope" in l && i(19, r = l.$$scope);
1046
1037
  }, n.$$.update = () => {
1047
1038
  n.$$.dirty[0] & /*lang*/
1048
1039
  8192 && ie && q(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1049
- 2064 && p && b && Te(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1050
- 4112 && v && b && g(), n.$$.dirty[0] & /*translationurl*/
1051
- 16384 && _ && ge();
1040
+ 2064 && p && A && Te(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1041
+ 4112 && D && A && g(), n.$$.dirty[0] & /*translationurl*/
1042
+ 16384 && J && ge();
1052
1043
  }, [
1053
- D,
1054
- y,
1055
1044
  L,
1045
+ y,
1046
+ P,
1056
1047
  pe,
1057
- b,
1048
+ A,
1058
1049
  h,
1059
1050
  S,
1060
- Z,
1051
+ F,
1061
1052
  o,
1062
1053
  X,
1063
- F,
1054
+ k,
1064
1055
  p,
1065
- v,
1056
+ D,
1066
1057
  ie,
1067
- _,
1058
+ J,
1068
1059
  O,
1069
- x,
1060
+ R,
1070
1061
  M,
1071
1062
  ue,
1072
1063
  r,
1073
1064
  a,
1074
- w,
1065
+ b,
1075
1066
  fe,
1076
1067
  C
1077
1068
  ];
1078
1069
  }
1079
- class yi extends An {
1070
+ class bi extends An {
1080
1071
  constructor(t) {
1081
1072
  super(), Cn(
1082
1073
  this,
1083
1074
  t,
1084
1075
  wi,
1085
1076
  Ei,
1086
- Rn,
1077
+ On,
1087
1078
  {
1088
1079
  clientstyling: 11,
1089
1080
  clientstylingurl: 12,
@@ -1175,7 +1166,7 @@ class yi extends An {
1175
1166
  this.$$set({ selectedpaymentmethodname: t }), Y();
1176
1167
  }
1177
1168
  }
1178
- On(yi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {} }, ["icon", "title", "text", "button"], [], !0);
1169
+ Dn(bi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {} }, ["icon", "title", "text", "button"], [], !0);
1179
1170
  export {
1180
- yi as default
1171
+ bi as default
1181
1172
  };