@everymatrix/cashier-page 1.92.8 → 1.92.21

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 (78) hide show
  1. package/components/CashierCarousel-B-cM-nlR.js +5797 -0
  2. package/components/CashierCarousel-CXoovlrR.js +5835 -0
  3. package/components/CashierCarousel-DMrMmClP.cjs +23 -0
  4. package/components/{CashierError-C854_1dB.js → CashierError-66WHxjwV.js} +45 -44
  5. package/components/{CashierError-D638x9x-.js → CashierError-BCtelxyY.js} +46 -45
  6. package/components/CashierError-BL_rmfvV.cjs +1 -0
  7. package/components/CashierHeader-B7FnLv3f.js +397 -0
  8. package/components/CashierHeader-BbP0idUh.js +397 -0
  9. package/components/CashierHeader-PvXFHPzQ.cjs +1 -0
  10. package/components/CashierIframeRedirect-C0AQ3pLh.cjs +1 -0
  11. package/components/{CashierIframeRedirect-BUcU3T5U.js → CashierIframeRedirect-C3muwYdO.js} +106 -91
  12. package/components/{CashierIframeRedirect-BhmYmTKc.js → CashierIframeRedirect-Ti9O6xV-.js} +108 -93
  13. package/components/{CashierMethodDetails-iZTHVxaU.js → CashierMethodDetails-C7odWYEI.js} +3987 -3408
  14. package/components/CashierMethodDetails-DjLhLSey.cjs +85 -0
  15. package/components/{CashierMethodDetails-BOhUmKCH.js → CashierMethodDetails-JQOw_ppF.js} +4016 -3438
  16. package/components/{CashierMethodsList-B97v3Xuh.js → CashierMethodsList-C-7-CmRx.js} +65 -65
  17. package/components/CashierMethodsList-CNxb5rVf.cjs +1 -0
  18. package/components/{CashierMethodsList-eUczF6XC.js → CashierMethodsList-CZxMoF32.js} +56 -56
  19. package/components/{CashierModal-C4MoXHG7.js → CashierModal-B1pfSpCs.js} +36 -37
  20. package/components/{CashierModal-BUkNhHpl.js → CashierModal-BsrmgnKi.js} +32 -33
  21. package/components/CashierModal-DF8meLAZ.cjs +1 -0
  22. package/components/CashierNotifications-B8bRZMac.cjs +1 -0
  23. package/components/{CashierNotifications-BatwRhbq.js → CashierNotifications-BXxNDzMM.js} +3 -3
  24. package/components/{CashierNotifications-C0NjswTn.js → CashierNotifications-DbJuswYZ.js} +5 -5
  25. package/components/CashierPage-Bhgj76MY.js +4490 -0
  26. package/components/CashierPage-CIxAkXYb.js +4460 -0
  27. package/components/CashierPage-iIGUB5g4.cjs +1 -0
  28. package/components/CashierReceiptPage-B530KWIS.cjs +26 -0
  29. package/components/{CashierReceiptPage-CdqmVXe9.js → CashierReceiptPage-DGZSqJFO.js} +169 -156
  30. package/components/{CashierReceiptPage-2rVfG2fm.js → CashierReceiptPage-DjfCUH2F.js} +177 -164
  31. package/components/{CashierSessionExpirationModal-CK0YLZbU.js → CashierSessionExpirationModal-BKxhGCj9.js} +254 -267
  32. package/components/CashierSessionExpirationModal-C6owPr_u.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-0EbJrsdx.js → CashierSessionExpirationModal-CU8HtTwA.js} +267 -280
  34. package/components/CashierSpinner-DKYO0FtD.cjs +1 -0
  35. package/components/{CashierSpinner-hEROg29-.js → CashierSpinner-DMrM0bGx.js} +10 -11
  36. package/components/{CashierSpinner-DGz_dycp.js → CashierSpinner-gJqeYU1n.js} +12 -13
  37. package/components/{CashierStepUp-CrJocLXp.js → CashierStepUp-B530YrSp.js} +168 -169
  38. package/components/{CashierStepUp-q7iSJelQ.js → CashierStepUp-BtmD9q4i.js} +245 -246
  39. package/components/CashierStepUp-DKytvkqu.cjs +1 -0
  40. package/components/{CashierTransactionHistory-sGV35WcB.js → CashierTransactionHistory-CWxjn4dO.js} +71 -71
  41. package/components/CashierTransactionHistory-CYaB1hEN.cjs +1 -0
  42. package/components/{CashierTransactionHistory-BrgrDNsw.js → CashierTransactionHistory-D1hopcmz.js} +66 -66
  43. package/components/{CashierVerifications-yC2Ur1H-.js → CashierVerifications-B3UcXWeI.js} +142 -158
  44. package/components/{CashierVerifications-DnM9z8za.js → CashierVerifications-CWsTc0hE.js} +102 -118
  45. package/components/CashierVerifications-D3X4oFbB.cjs +1 -0
  46. package/components/TxnStatusIcon-CWkyVMIU.cjs +1 -0
  47. package/components/{TxnStatusIcon-BduMMfo6.js → TxnStatusIcon-DCSCOAn2.js} +1 -1
  48. package/components/{TxnStatusIcon-rwPr0B_L.js → TxnStatusIcon-DRFHs_0F.js} +8 -8
  49. package/components/{TxnTypeIcons-ByJ8NlBp.js → TxnTypeIcons-Bg7QJKuH.js} +1 -1
  50. package/components/TxnTypeIcons-CTQXT_j5.cjs +1 -0
  51. package/components/{TxnTypeIcons-DQrCawdt.js → TxnTypeIcons-D37zQDwq.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +7 -7
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-CFDrfBto.cjs +0 -1
  57. package/components/CashierCarousel-JhSTmzvt.js +0 -672
  58. package/components/CashierCarousel-PsCjjLe2.js +0 -675
  59. package/components/CashierError-zeIQl4g_.cjs +0 -1
  60. package/components/CashierHeader-Bp8vaWrp.cjs +0 -1
  61. package/components/CashierHeader-D-mMGt-Y.js +0 -456
  62. package/components/CashierHeader-il09PBLP.js +0 -456
  63. package/components/CashierIframeRedirect-CMcw96Fv.cjs +0 -1
  64. package/components/CashierMethodDetails-DnbNzQW6.cjs +0 -85
  65. package/components/CashierMethodsList-B_9i2Q2s.cjs +0 -1
  66. package/components/CashierModal-Dq36GGc7.cjs +0 -1
  67. package/components/CashierNotifications-BB8FN1j_.cjs +0 -1
  68. package/components/CashierPage-Cc-WWhS2.cjs +0 -23
  69. package/components/CashierPage-DRWrUyaV.js +0 -9936
  70. package/components/CashierPage-HxKce2E6.js +0 -9989
  71. package/components/CashierReceiptPage-CF7knTfT.cjs +0 -26
  72. package/components/CashierSessionExpirationModal-Dht4fdo7.cjs +0 -2
  73. package/components/CashierSpinner-D78lroyw.cjs +0 -1
  74. package/components/CashierStepUp-Dr4sPwOr.cjs +0 -1
  75. package/components/CashierTransactionHistory-sQ3KzTVb.cjs +0 -1
  76. package/components/CashierVerifications-t7V-5Qq2.cjs +0 -1
  77. package/components/TxnStatusIcon-DwP4kCaz.cjs +0 -1
  78. package/components/TxnTypeIcons-DwmzII52.cjs +0 -1
@@ -1,19 +1,11 @@
1
- import { a7 as Cn, a as vn, i as Mn, $ as Ln, S as Rn, b as On, s as kn, f as J, c as Nn, e as Le, t as xe, g as be, a8 as un, a9 as fn, k as Re, m as R, p as Ut, M as Ht, N as Dn, q as In, aa as Pn, d as $e, F as Un, ab as Bt, H as zt, v as We, u as et, h as tt, j as nt, o as u, l as p, G as Hn, z as Ze, P as se, n as ye, w as Ye, Q as Ft, x as Gt, r as Bn, y as Wt, J as Yt, A as zn, B as Fn } from "./CashierPage-HxKce2E6.js";
2
- import { s as Gn, a as Wn, b as Yn } from "./CashierHeader-D-mMGt-Y.js";
3
- function jt(n, { delay: t = 0, duration: o = 400, easing: i = Cn } = {}) {
4
- const r = +getComputedStyle(n).opacity;
5
- return {
6
- delay: t,
7
- duration: o,
8
- easing: i,
9
- css: (f) => `opacity: ${f * r}`
10
- };
11
- }
1
+ import { a as xn, i as Cn, $ as Ln, S as vn, b as Mn, s as Rn, f as Z, c as On, e as Me, t as xe, g as we, a6 as un, a7 as fn, k as Re, m as R, p as Ut, q as kn, af as Dn, d as $e, a2 as Nn, ag as Ht, L as Bt, v as We, u as et, h as tt, j as nt, o as u, l as p, a8 as In, x as Je, X as se, n as ye, w as Ye, y as Ft, r as Pn, G as zt, z as Gt, B as Un, C as Hn, D as Bn, E as Fn, F as zn } from "./CashierCarousel-CXoovlrR.js";
2
+ import { f as Wt } from "./CashierReceiptPage-DGZSqJFO.js";
3
+ import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-C7odWYEI.js";
12
4
  function Xt(n, t) {
13
- vn(n, t);
5
+ xn(n, t);
14
6
  }
15
- function jn(n) {
16
- Mn({
7
+ function Wn(n) {
8
+ Cn({
17
9
  fallbackLocale: "en"
18
10
  }), Ln.set(n);
19
11
  }
@@ -47,9 +39,9 @@ const Vt = {
47
39
  const {
48
40
  entries: mn,
49
41
  setPrototypeOf: qt,
50
- isFrozen: Xn,
51
- getPrototypeOf: Vn,
52
- getOwnPropertyDescriptor: qn
42
+ isFrozen: Yn,
43
+ getPrototypeOf: jn,
44
+ getOwnPropertyDescriptor: Xn
53
45
  } = Object;
54
46
  let {
55
47
  freeze: B,
@@ -71,15 +63,15 @@ dt || (dt = function(t, o, i) {
71
63
  ht || (ht = function(t, o) {
72
64
  return new t(...o);
73
65
  });
74
- const Ke = Z(Array.prototype.forEach), Jt = Z(Array.prototype.pop), He = Z(Array.prototype.push), ot = Z(String.prototype.toLowerCase), ct = Z(String.prototype.toString), Zt = Z(String.prototype.match), Be = Z(String.prototype.replace), Jn = Z(String.prototype.indexOf), Zn = Z(String.prototype.trim), re = Z(Object.prototype.hasOwnProperty), H = Z(RegExp.prototype.test), ze = Kn(TypeError);
75
- function Z(n) {
66
+ const Ke = J(Array.prototype.forEach), Zt = J(Array.prototype.pop), He = J(Array.prototype.push), ot = J(String.prototype.toLowerCase), ct = J(String.prototype.toString), Jt = J(String.prototype.match), Be = J(String.prototype.replace), Vn = J(String.prototype.indexOf), qn = J(String.prototype.trim), re = J(Object.prototype.hasOwnProperty), H = J(RegExp.prototype.test), Fe = Zn(TypeError);
67
+ function J(n) {
76
68
  return function(t) {
77
69
  for (var o = arguments.length, i = new Array(o > 1 ? o - 1 : 0), r = 1; r < o; r++)
78
70
  i[r - 1] = arguments[r];
79
71
  return dt(n, t, i);
80
72
  };
81
73
  }
82
- function Kn(n) {
74
+ function Zn(n) {
83
75
  return function() {
84
76
  for (var t = arguments.length, o = new Array(t), i = 0; i < t; i++)
85
77
  o[i] = arguments[i];
@@ -94,58 +86,58 @@ function d(n, t) {
94
86
  let r = t[i];
95
87
  if (typeof r == "string") {
96
88
  const f = o(r);
97
- f !== r && (Xn(t) || (t[i] = f), r = f);
89
+ f !== r && (Yn(t) || (t[i] = f), r = f);
98
90
  }
99
91
  n[r] = !0;
100
92
  }
101
93
  return n;
102
94
  }
103
- function Qn(n) {
95
+ function Jn(n) {
104
96
  for (let t = 0; t < n.length; t++)
105
97
  re(n, t) || (n[t] = null);
106
98
  return n;
107
99
  }
108
- function Me(n) {
100
+ function ve(n) {
109
101
  const t = pn(null);
110
102
  for (const [o, i] of mn(n))
111
- re(n, o) && (Array.isArray(i) ? t[o] = Qn(i) : i && typeof i == "object" && i.constructor === Object ? t[o] = Me(i) : t[o] = i);
103
+ re(n, o) && (Array.isArray(i) ? t[o] = Jn(i) : i && typeof i == "object" && i.constructor === Object ? t[o] = ve(i) : t[o] = i);
112
104
  return t;
113
105
  }
114
- function Fe(n, t) {
106
+ function ze(n, t) {
115
107
  for (; n !== null; ) {
116
- const i = qn(n, t);
108
+ const i = Xn(n, t);
117
109
  if (i) {
118
110
  if (i.get)
119
- return Z(i.get);
111
+ return J(i.get);
120
112
  if (typeof i.value == "function")
121
- return Z(i.value);
113
+ return J(i.value);
122
114
  }
123
- n = Vn(n);
115
+ n = jn(n);
124
116
  }
125
117
  function o() {
126
118
  return null;
127
119
  }
128
120
  return o;
129
121
  }
130
- const Kt = B(["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"]), ut = B(["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"]), ft = B(["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"]), $n = B(["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"]), mt = B(["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"]), eo = B(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Qt = B(["#text"]), $t = B(["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"]), pt = B(["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 = B(["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"]), Qe = B(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), to = te(/\{\{[\w\W]*|[\w\W]*\}\}/gm), no = te(/<%[\w\W]*|[\w\W]*%>/gm), oo = te(/\${[\w\W]*}/gm), io = te(/^data-[\-\w.\u00B7-\uFFFF]/), so = te(/^aria-[\-\w]+$/), dn = te(
122
+ const Kt = B(["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"]), ut = B(["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"]), ft = B(["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 = B(["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"]), mt = B(["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 = B(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Qt = B(["#text"]), $t = B(["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"]), pt = B(["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 = B(["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"]), Qe = B(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), $n = te(/\{\{[\w\W]*|[\w\W]*\}\}/gm), eo = te(/<%[\w\W]*|[\w\W]*%>/gm), to = te(/\${[\w\W]*}/gm), no = te(/^data-[\-\w.\u00B7-\uFFFF]/), oo = te(/^aria-[\-\w]+$/), dn = te(
131
123
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
132
124
  // eslint-disable-line no-useless-escape
133
- ), ro = te(/^(?:\w+script|data):/i), ao = te(
125
+ ), io = te(/^(?:\w+script|data):/i), so = te(
134
126
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
135
127
  // eslint-disable-line no-control-regex
136
- ), hn = te(/^html$/i), lo = te(/^[a-z][.\w]*(-[.\w]+)+$/i);
128
+ ), hn = te(/^html$/i), ro = te(/^[a-z][.\w]*(-[.\w]+)+$/i);
137
129
  var tn = /* @__PURE__ */ Object.freeze({
138
130
  __proto__: null,
139
- MUSTACHE_EXPR: to,
140
- ERB_EXPR: no,
141
- TMPLIT_EXPR: oo,
142
- DATA_ATTR: io,
143
- ARIA_ATTR: so,
131
+ MUSTACHE_EXPR: $n,
132
+ ERB_EXPR: eo,
133
+ TMPLIT_EXPR: to,
134
+ DATA_ATTR: no,
135
+ ARIA_ATTR: oo,
144
136
  IS_ALLOWED_URI: dn,
145
- IS_SCRIPT_OR_DATA: ro,
146
- ATTR_WHITESPACE: ao,
137
+ IS_SCRIPT_OR_DATA: io,
138
+ ATTR_WHITESPACE: so,
147
139
  DOCTYPE_NAME: hn,
148
- CUSTOM_ELEMENT: lo
140
+ CUSTOM_ELEMENT: ro
149
141
  });
150
142
  const Ge = {
151
143
  element: 1,
@@ -154,9 +146,9 @@ const Ge = {
154
146
  progressingInstruction: 7,
155
147
  comment: 8,
156
148
  document: 9
157
- }, co = function() {
149
+ }, ao = function() {
158
150
  return typeof window == "undefined" ? null : window;
159
- }, uo = function(t, o) {
151
+ }, lo = function(t, o) {
160
152
  if (typeof t != "object" || typeof t.createPolicy != "function")
161
153
  return null;
162
154
  let i = null;
@@ -177,7 +169,7 @@ const Ge = {
177
169
  }
178
170
  };
179
171
  function gn() {
180
- let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : co();
172
+ let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ao();
181
173
  const t = (c) => gn(c);
182
174
  if (t.version = "3.1.6", t.removed = [], !n || !n.document || n.document.nodeType !== Ge.document)
183
175
  return t.isSupported = !1, t;
@@ -193,8 +185,8 @@ function gn() {
193
185
  NamedNodeMap: X = n.NamedNodeMap || n.MozNamedAttrMap,
194
186
  HTMLFormElement: ne,
195
187
  DOMParser: Ce,
196
- trustedTypes: z
197
- } = n, F = y.prototype, we = Fe(F, "cloneNode"), ae = Fe(F, "remove"), G = Fe(F, "nextSibling"), de = Fe(F, "childNodes"), K = Fe(F, "parentNode");
188
+ trustedTypes: F
189
+ } = n, z = y.prototype, be = ze(z, "cloneNode"), ae = ze(z, "remove"), G = ze(z, "nextSibling"), de = ze(z, "childNodes"), K = ze(z, "parentNode");
198
190
  if (typeof _ == "function") {
199
191
  const c = o.createElement("template");
200
192
  c.content && c.content.ownerDocument && (o = c.content.ownerDocument);
@@ -208,17 +200,17 @@ function gn() {
208
200
  } = o, {
209
201
  importNode: ie
210
202
  } = i;
211
- let v = {};
203
+ let L = {};
212
204
  t.isSupported = typeof mn == "function" && typeof K == "function" && oe && oe.createHTMLDocument !== void 0;
213
205
  const {
214
206
  MUSTACHE_EXPR: ce,
215
207
  ERB_EXPR: V,
216
208
  TMPLIT_EXPR: ge,
217
209
  DATA_ATTR: Q,
218
- ARIA_ATTR: N,
210
+ ARIA_ATTR: D,
219
211
  IS_SCRIPT_OR_DATA: I,
220
212
  ATTR_WHITESPACE: $,
221
- CUSTOM_ELEMENT: ve
213
+ CUSTOM_ELEMENT: Le
222
214
  } = tn;
223
215
  let {
224
216
  IS_ALLOWED_URI: q
@@ -245,57 +237,57 @@ function gn() {
245
237
  enumerable: !0,
246
238
  value: !1
247
239
  }
248
- })), M = null, a = null, h = !0, P = !0, L = !1, Y = !0, _e = !1, ee = !0, ue = !1, w = !1, C = !1, fe = !1, je = !1, Xe = !1, gt = !0, _t = !1;
249
- const En = "user-content-";
240
+ })), v = null, a = null, h = !0, P = !0, M = !1, Y = !0, _e = !1, ee = !0, ue = !1, b = !1, C = !1, fe = !1, je = !1, Xe = !1, gt = !0, _t = !1;
241
+ const _n = "user-content-";
250
242
  let it = !0, Ie = !1, Oe = {}, ke = null;
251
243
  const Et = d({}, ["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"]);
252
244
  let Tt = null;
253
245
  const yt = d({}, ["audio", "video", "img", "source", "image", "track"]);
254
246
  let st = null;
255
- const bt = d({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ve = "http://www.w3.org/1998/Math/MathML", qe = "http://www.w3.org/2000/svg", Ee = "http://www.w3.org/1999/xhtml";
256
- let Ne = Ee, rt = !1, at = null;
257
- const Tn = d({}, [Ve, qe, Ee], ct);
247
+ const wt = d({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ve = "http://www.w3.org/1998/Math/MathML", qe = "http://www.w3.org/2000/svg", Ee = "http://www.w3.org/1999/xhtml";
248
+ let De = Ee, rt = !1, at = null;
249
+ const En = d({}, [Ve, qe, Ee], ct);
258
250
  let Pe = null;
259
- const yn = ["application/xhtml+xml", "text/html"], bn = "text/html";
260
- let O = null, De = null;
261
- const wn = o.createElement("form"), wt = function(e) {
251
+ const Tn = ["application/xhtml+xml", "text/html"], yn = "text/html";
252
+ let O = null, Ne = null;
253
+ const wn = o.createElement("form"), bt = function(e) {
262
254
  return e instanceof RegExp || e instanceof Function;
263
255
  }, lt = function() {
264
256
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
265
- if (!(De && De === e)) {
266
- if ((!e || typeof e != "object") && (e = {}), e = Me(e), Pe = // eslint-disable-next-line unicorn/prefer-includes
267
- yn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? bn : e.PARSER_MEDIA_TYPE, O = Pe === "application/xhtml+xml" ? ct : ot, m = re(e, "ALLOWED_TAGS") ? d({}, e.ALLOWED_TAGS, O) : Se, x = re(e, "ALLOWED_ATTR") ? d({}, e.ALLOWED_ATTR, O) : Ae, at = re(e, "ALLOWED_NAMESPACES") ? d({}, e.ALLOWED_NAMESPACES, ct) : Tn, st = re(e, "ADD_URI_SAFE_ATTR") ? d(
268
- Me(bt),
257
+ if (!(Ne && Ne === e)) {
258
+ if ((!e || typeof e != "object") && (e = {}), e = ve(e), Pe = // eslint-disable-next-line unicorn/prefer-includes
259
+ Tn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? yn : e.PARSER_MEDIA_TYPE, O = Pe === "application/xhtml+xml" ? ct : ot, m = re(e, "ALLOWED_TAGS") ? d({}, e.ALLOWED_TAGS, O) : Se, x = re(e, "ALLOWED_ATTR") ? d({}, e.ALLOWED_ATTR, O) : Ae, at = re(e, "ALLOWED_NAMESPACES") ? d({}, e.ALLOWED_NAMESPACES, ct) : En, st = re(e, "ADD_URI_SAFE_ATTR") ? d(
260
+ ve(wt),
269
261
  // eslint-disable-line indent
270
262
  e.ADD_URI_SAFE_ATTR,
271
263
  // eslint-disable-line indent
272
264
  O
273
265
  // eslint-disable-line indent
274
- ) : bt, Tt = re(e, "ADD_DATA_URI_TAGS") ? d(
275
- Me(yt),
266
+ ) : wt, Tt = re(e, "ADD_DATA_URI_TAGS") ? d(
267
+ ve(yt),
276
268
  // eslint-disable-line indent
277
269
  e.ADD_DATA_URI_TAGS,
278
270
  // eslint-disable-line indent
279
271
  O
280
272
  // eslint-disable-line indent
281
- ) : yt, ke = re(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, O) : Et, M = re(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, O) : {}, a = re(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, O) : {}, Oe = re(e, "USE_PROFILES") ? e.USE_PROFILES : !1, h = e.ALLOW_ARIA_ATTR !== !1, P = e.ALLOW_DATA_ATTR !== !1, L = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Y = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _e = e.SAFE_FOR_TEMPLATES || !1, ee = e.SAFE_FOR_XML !== !1, ue = e.WHOLE_DOCUMENT || !1, fe = e.RETURN_DOM || !1, je = e.RETURN_DOM_FRAGMENT || !1, Xe = e.RETURN_TRUSTED_TYPE || !1, C = e.FORCE_BODY || !1, gt = e.SANITIZE_DOM !== !1, _t = e.SANITIZE_NAMED_PROPS || !1, it = e.KEEP_CONTENT !== !1, Ie = e.IN_PLACE || !1, q = e.ALLOWED_URI_REGEXP || dn, Ne = e.NAMESPACE || Ee, T = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && wt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && wt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (T.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (T.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _e && (P = !1), je && (fe = !0), Oe && (m = d({}, Qt), x = [], Oe.html === !0 && (d(m, Kt), d(x, $t)), Oe.svg === !0 && (d(m, ut), d(x, pt), d(x, Qe)), Oe.svgFilters === !0 && (d(m, ft), d(x, pt), d(x, Qe)), Oe.mathMl === !0 && (d(m, mt), d(x, en), d(x, Qe))), e.ADD_TAGS && (m === Se && (m = Me(m)), d(m, e.ADD_TAGS, O)), e.ADD_ATTR && (x === Ae && (x = Me(x)), d(x, e.ADD_ATTR, O)), e.ADD_URI_SAFE_ATTR && d(st, e.ADD_URI_SAFE_ATTR, O), e.FORBID_CONTENTS && (ke === Et && (ke = Me(ke)), d(ke, e.FORBID_CONTENTS, O)), it && (m["#text"] = !0), ue && d(m, ["html", "head", "body"]), m.table && (d(m, ["tbody"]), delete M.tbody), e.TRUSTED_TYPES_POLICY) {
273
+ ) : yt, ke = re(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, O) : Et, v = re(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, O) : {}, a = re(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, O) : {}, Oe = re(e, "USE_PROFILES") ? e.USE_PROFILES : !1, h = e.ALLOW_ARIA_ATTR !== !1, P = e.ALLOW_DATA_ATTR !== !1, M = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Y = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _e = e.SAFE_FOR_TEMPLATES || !1, ee = e.SAFE_FOR_XML !== !1, ue = e.WHOLE_DOCUMENT || !1, fe = e.RETURN_DOM || !1, je = e.RETURN_DOM_FRAGMENT || !1, Xe = e.RETURN_TRUSTED_TYPE || !1, C = e.FORCE_BODY || !1, gt = e.SANITIZE_DOM !== !1, _t = e.SANITIZE_NAMED_PROPS || !1, it = e.KEEP_CONTENT !== !1, Ie = e.IN_PLACE || !1, q = e.ALLOWED_URI_REGEXP || dn, De = e.NAMESPACE || Ee, T = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (T.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (T.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _e && (P = !1), je && (fe = !0), Oe && (m = d({}, Qt), x = [], Oe.html === !0 && (d(m, Kt), d(x, $t)), Oe.svg === !0 && (d(m, ut), d(x, pt), d(x, Qe)), Oe.svgFilters === !0 && (d(m, ft), d(x, pt), d(x, Qe)), Oe.mathMl === !0 && (d(m, mt), d(x, en), d(x, Qe))), e.ADD_TAGS && (m === Se && (m = ve(m)), d(m, e.ADD_TAGS, O)), e.ADD_ATTR && (x === Ae && (x = ve(x)), d(x, e.ADD_ATTR, O)), e.ADD_URI_SAFE_ATTR && d(st, e.ADD_URI_SAFE_ATTR, O), e.FORBID_CONTENTS && (ke === Et && (ke = ve(ke)), d(ke, e.FORBID_CONTENTS, O)), it && (m["#text"] = !0), ue && d(m, ["html", "head", "body"]), m.table && (d(m, ["tbody"]), delete v.tbody), e.TRUSTED_TYPES_POLICY) {
282
274
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
283
- throw ze('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
275
+ throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
284
276
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
285
- throw ze('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
277
+ throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
286
278
  g = e.TRUSTED_TYPES_POLICY, A = g.createHTML("");
287
279
  } else
288
- g === void 0 && (g = uo(z, r)), g !== null && typeof A == "string" && (A = g.createHTML(""));
289
- B && B(e), De = e;
280
+ g === void 0 && (g = lo(F, r)), g !== null && typeof A == "string" && (A = g.createHTML(""));
281
+ B && B(e), Ne = e;
290
282
  }
291
- }, St = d({}, ["mi", "mo", "mn", "ms", "mtext"]), At = d({}, ["foreignobject", "annotation-xml"]), Sn = d({}, ["title", "style", "font", "a", "script"]), xt = d({}, [...ut, ...ft, ...$n]), Ct = d({}, [...mt, ...eo]), An = function(e) {
283
+ }, St = d({}, ["mi", "mo", "mn", "ms", "mtext"]), At = d({}, ["foreignobject", "annotation-xml"]), bn = d({}, ["title", "style", "font", "a", "script"]), xt = d({}, [...ut, ...ft, ...Kn]), Ct = d({}, [...mt, ...Qn]), Sn = function(e) {
292
284
  let s = K(e);
293
285
  (!s || !s.tagName) && (s = {
294
- namespaceURI: Ne,
286
+ namespaceURI: De,
295
287
  tagName: "template"
296
288
  });
297
- const l = ot(e.tagName), b = ot(s.tagName);
298
- return at[e.namespaceURI] ? e.namespaceURI === qe ? s.namespaceURI === Ee ? l === "svg" : s.namespaceURI === Ve ? l === "svg" && (b === "annotation-xml" || St[b]) : !!xt[l] : e.namespaceURI === Ve ? s.namespaceURI === Ee ? l === "math" : s.namespaceURI === qe ? l === "math" && At[b] : !!Ct[l] : e.namespaceURI === Ee ? s.namespaceURI === qe && !At[b] || s.namespaceURI === Ve && !St[b] ? !1 : !Ct[l] && (Sn[l] || !xt[l]) : !!(Pe === "application/xhtml+xml" && at[e.namespaceURI]) : !1;
289
+ const l = ot(e.tagName), w = ot(s.tagName);
290
+ return at[e.namespaceURI] ? e.namespaceURI === qe ? s.namespaceURI === Ee ? l === "svg" : s.namespaceURI === Ve ? l === "svg" && (w === "annotation-xml" || St[w]) : !!xt[l] : e.namespaceURI === Ve ? s.namespaceURI === Ee ? l === "math" : s.namespaceURI === qe ? l === "math" && At[w] : !!Ct[l] : e.namespaceURI === Ee ? s.namespaceURI === qe && !At[w] || s.namespaceURI === Ve && !St[w] ? !1 : !Ct[l] && (bn[l] || !xt[l]) : !!(Pe === "application/xhtml+xml" && at[e.namespaceURI]) : !1;
299
291
  }, me = function(e) {
300
292
  He(t.removed, {
301
293
  element: e
@@ -305,7 +297,7 @@ function gn() {
305
297
  } catch (s) {
306
298
  ae(e);
307
299
  }
308
- }, Je = function(e, s) {
300
+ }, Ze = function(e, s) {
309
301
  try {
310
302
  He(t.removed, {
311
303
  attribute: s.getAttributeNode(e),
@@ -328,31 +320,31 @@ function gn() {
328
320
  s.setAttribute(e, "");
329
321
  } catch (l) {
330
322
  }
331
- }, vt = function(e) {
323
+ }, Lt = function(e) {
332
324
  let s = null, l = null;
333
325
  if (C)
334
326
  e = "<remove></remove>" + e;
335
327
  else {
336
- const k = Zt(e, /^[\r\n\t ]+/);
328
+ const k = Jt(e, /^[\r\n\t ]+/);
337
329
  l = k && k[0];
338
330
  }
339
- Pe === "application/xhtml+xml" && Ne === Ee && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
340
- const b = g ? g.createHTML(e) : e;
341
- if (Ne === Ee)
331
+ Pe === "application/xhtml+xml" && De === Ee && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
332
+ const w = g ? g.createHTML(e) : e;
333
+ if (De === Ee)
342
334
  try {
343
- s = new Ce().parseFromString(b, Pe);
335
+ s = new Ce().parseFromString(w, Pe);
344
336
  } catch (k) {
345
337
  }
346
338
  if (!s || !s.documentElement) {
347
- s = oe.createDocument(Ne, "template", null);
339
+ s = oe.createDocument(De, "template", null);
348
340
  try {
349
- s.documentElement.innerHTML = rt ? A : b;
341
+ s.documentElement.innerHTML = rt ? A : w;
350
342
  } catch (k) {
351
343
  }
352
344
  }
353
- const D = s.body || s.documentElement;
354
- return e && l && D.insertBefore(o.createTextNode(l), D.childNodes[0] || null), Ne === Ee ? W.call(s, ue ? "html" : "body")[0] : ue ? s.documentElement : D;
355
- }, Mt = function(e) {
345
+ const N = s.body || s.documentElement;
346
+ return e && l && N.insertBefore(o.createTextNode(l), N.childNodes[0] || null), De === Ee ? W.call(s, ue ? "html" : "body")[0] : ue ? s.documentElement : N;
347
+ }, vt = function(e) {
356
348
  return le.call(
357
349
  e.ownerDocument || e,
358
350
  e,
@@ -360,17 +352,17 @@ function gn() {
360
352
  E.SHOW_ELEMENT | E.SHOW_COMMENT | E.SHOW_TEXT | E.SHOW_PROCESSING_INSTRUCTION | E.SHOW_CDATA_SECTION,
361
353
  null
362
354
  );
363
- }, Lt = function(e) {
355
+ }, Mt = function(e) {
364
356
  return e instanceof ne && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof X) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
365
357
  }, Rt = function(e) {
366
358
  return typeof S == "function" && e instanceof S;
367
359
  }, Te = function(e, s, l) {
368
- v[e] && Ke(v[e], (b) => {
369
- b.call(t, s, l, De);
360
+ L[e] && Ke(L[e], (w) => {
361
+ w.call(t, s, l, Ne);
370
362
  });
371
363
  }, Ot = function(e) {
372
364
  let s = null;
373
- if (Te("beforeSanitizeElements", e, null), Lt(e))
365
+ if (Te("beforeSanitizeElements", e, null), Mt(e))
374
366
  return me(e), !0;
375
367
  const l = O(e.nodeName);
376
368
  if (Te("uponSanitizeElement", e, {
@@ -378,23 +370,23 @@ function gn() {
378
370
  allowedTags: m
379
371
  }), e.hasChildNodes() && !Rt(e.firstElementChild) && H(/<[/\w]/g, e.innerHTML) && H(/<[/\w]/g, e.textContent) || e.nodeType === Ge.progressingInstruction || ee && e.nodeType === Ge.comment && H(/<[/\w]/g, e.data))
380
372
  return me(e), !0;
381
- if (!m[l] || M[l]) {
382
- if (!M[l] && Nt(l) && (T.tagNameCheck instanceof RegExp && H(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
373
+ if (!m[l] || v[l]) {
374
+ if (!v[l] && Dt(l) && (T.tagNameCheck instanceof RegExp && H(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
383
375
  return !1;
384
376
  if (it && !ke[l]) {
385
- const b = K(e) || e.parentNode, D = de(e) || e.childNodes;
386
- if (D && b) {
387
- const k = D.length;
377
+ const w = K(e) || e.parentNode, N = de(e) || e.childNodes;
378
+ if (N && w) {
379
+ const k = N.length;
388
380
  for (let j = k - 1; j >= 0; --j) {
389
- const pe = we(D[j], !0);
390
- pe.__removalCount = (e.__removalCount || 0) + 1, b.insertBefore(pe, G(e));
381
+ const pe = be(N[j], !0);
382
+ pe.__removalCount = (e.__removalCount || 0) + 1, w.insertBefore(pe, G(e));
391
383
  }
392
384
  }
393
385
  }
394
386
  return me(e), !0;
395
387
  }
396
- return e instanceof y && !An(e) || (l === "noscript" || l === "noembed" || l === "noframes") && H(/<\/no(script|embed|frames)/i, e.innerHTML) ? (me(e), !0) : (_e && e.nodeType === Ge.text && (s = e.textContent, Ke([ce, V, ge], (b) => {
397
- s = Be(s, b, " ");
388
+ return e instanceof y && !Sn(e) || (l === "noscript" || l === "noembed" || l === "noframes") && H(/<\/no(script|embed|frames)/i, e.innerHTML) ? (me(e), !0) : (_e && e.nodeType === Ge.text && (s = e.textContent, Ke([ce, V, ge], (w) => {
389
+ s = Be(s, w, " ");
398
390
  }), e.textContent !== s && (He(t.removed, {
399
391
  element: e.cloneNode()
400
392
  }), e.textContent = s)), Te("afterSanitizeElements", e, null), !1);
@@ -402,21 +394,21 @@ function gn() {
402
394
  if (gt && (s === "id" || s === "name") && (l in o || l in wn))
403
395
  return !1;
404
396
  if (!(P && !a[s] && H(Q, s))) {
405
- if (!(h && H(N, s))) {
397
+ if (!(h && H(D, s))) {
406
398
  if (!x[s] || a[s]) {
407
399
  if (
408
400
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
409
401
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
410
402
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
411
- !(Nt(e) && (T.tagNameCheck instanceof RegExp && H(T.tagNameCheck, e) || T.tagNameCheck instanceof Function && T.tagNameCheck(e)) && (T.attributeNameCheck instanceof RegExp && H(T.attributeNameCheck, s) || T.attributeNameCheck instanceof Function && T.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
403
+ !(Dt(e) && (T.tagNameCheck instanceof RegExp && H(T.tagNameCheck, e) || T.tagNameCheck instanceof Function && T.tagNameCheck(e)) && (T.attributeNameCheck instanceof RegExp && H(T.attributeNameCheck, s) || T.attributeNameCheck instanceof Function && T.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
412
404
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
413
405
  s === "is" && T.allowCustomizedBuiltInElements && (T.tagNameCheck instanceof RegExp && H(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
414
406
  )
415
407
  return !1;
416
408
  } else if (!st[s]) {
417
409
  if (!H(q, Be(l, $, ""))) {
418
- if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Jn(l, "data:") === 0 && Tt[e])) {
419
- if (!(L && !H(I, Be(l, $, "")))) {
410
+ if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Vn(l, "data:") === 0 && Tt[e])) {
411
+ if (!(M && !H(I, Be(l, $, "")))) {
420
412
  if (l)
421
413
  return !1;
422
414
  }
@@ -426,9 +418,9 @@ function gn() {
426
418
  }
427
419
  }
428
420
  return !0;
429
- }, Nt = function(e) {
430
- return e !== "annotation-xml" && Zt(e, ve);
431
421
  }, Dt = function(e) {
422
+ return e !== "annotation-xml" && Jt(e, Le);
423
+ }, Nt = function(e) {
432
424
  Te("beforeSanitizeAttributes", e, null);
433
425
  const {
434
426
  attributes: s
@@ -441,22 +433,22 @@ function gn() {
441
433
  keepAttr: !0,
442
434
  allowedAttributes: x
443
435
  };
444
- let b = s.length;
445
- for (; b--; ) {
446
- const D = s[b], {
436
+ let w = s.length;
437
+ for (; w--; ) {
438
+ const N = s[w], {
447
439
  name: k,
448
440
  namespaceURI: j,
449
441
  value: pe
450
- } = D, Ue = O(k);
451
- let U = k === "value" ? pe : Zn(pe);
442
+ } = N, Ue = O(k);
443
+ let U = k === "value" ? pe : qn(pe);
452
444
  if (l.attrName = Ue, l.attrValue = U, l.keepAttr = !0, l.forceKeepAttr = void 0, Te("uponSanitizeAttribute", e, l), U = l.attrValue, ee && H(/((--!?|])>)|<\/(style|title)/i, U)) {
453
- Je(k, e);
445
+ Ze(k, e);
454
446
  continue;
455
447
  }
456
- if (l.forceKeepAttr || (Je(k, e), !l.keepAttr))
448
+ if (l.forceKeepAttr || (Ze(k, e), !l.keepAttr))
457
449
  continue;
458
450
  if (!Y && H(/\/>/i, U)) {
459
- Je(k, e);
451
+ Ze(k, e);
460
452
  continue;
461
453
  }
462
454
  _e && Ke([ce, V, ge], (Pt) => {
@@ -464,8 +456,8 @@ function gn() {
464
456
  });
465
457
  const It = O(e.nodeName);
466
458
  if (kt(It, Ue, U)) {
467
- if (_t && (Ue === "id" || Ue === "name") && (Je(k, e), U = En + U), g && typeof z == "object" && typeof z.getAttributeType == "function" && !j)
468
- switch (z.getAttributeType(It, Ue)) {
459
+ if (_t && (Ue === "id" || Ue === "name") && (Ze(k, e), U = _n + U), g && typeof F == "object" && typeof F.getAttributeType == "function" && !j)
460
+ switch (F.getAttributeType(It, Ue)) {
469
461
  case "TrustedHTML": {
470
462
  U = g.createHTML(U);
471
463
  break;
@@ -476,57 +468,57 @@ function gn() {
476
468
  }
477
469
  }
478
470
  try {
479
- j ? e.setAttributeNS(j, k, U) : e.setAttribute(k, U), Lt(e) ? me(e) : Jt(t.removed);
471
+ j ? e.setAttributeNS(j, k, U) : e.setAttribute(k, U), Mt(e) ? me(e) : Zt(t.removed);
480
472
  } catch (Pt) {
481
473
  }
482
474
  }
483
475
  }
484
476
  Te("afterSanitizeAttributes", e, null);
485
- }, xn = function c(e) {
477
+ }, An = function c(e) {
486
478
  let s = null;
487
- const l = Mt(e);
479
+ const l = vt(e);
488
480
  for (Te("beforeSanitizeShadowDOM", e, null); s = l.nextNode(); )
489
- Te("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof f && c(s.content), Dt(s));
481
+ Te("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof f && c(s.content), Nt(s));
490
482
  Te("afterSanitizeShadowDOM", e, null);
491
483
  };
492
484
  return t.sanitize = function(c) {
493
- let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null, b = null, D = null;
485
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null, w = null, N = null;
494
486
  if (rt = !c, rt && (c = "<!-->"), typeof c != "string" && !Rt(c))
495
487
  if (typeof c.toString == "function") {
496
488
  if (c = c.toString(), typeof c != "string")
497
- throw ze("dirty is not a string, aborting");
489
+ throw Fe("dirty is not a string, aborting");
498
490
  } else
499
- throw ze("toString is not a function");
491
+ throw Fe("toString is not a function");
500
492
  if (!t.isSupported)
501
493
  return c;
502
- if (w || lt(e), t.removed = [], typeof c == "string" && (Ie = !1), Ie) {
494
+ if (b || lt(e), t.removed = [], typeof c == "string" && (Ie = !1), Ie) {
503
495
  if (c.nodeName) {
504
496
  const pe = O(c.nodeName);
505
- if (!m[pe] || M[pe])
506
- throw ze("root node is forbidden and cannot be sanitized in-place");
497
+ if (!m[pe] || v[pe])
498
+ throw Fe("root node is forbidden and cannot be sanitized in-place");
507
499
  }
508
500
  } else if (c instanceof S)
509
- s = vt("<!---->"), l = s.ownerDocument.importNode(c, !0), l.nodeType === Ge.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? s = l : s.appendChild(l);
501
+ s = Lt("<!---->"), l = s.ownerDocument.importNode(c, !0), l.nodeType === Ge.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? s = l : s.appendChild(l);
510
502
  else {
511
503
  if (!fe && !_e && !ue && // eslint-disable-next-line unicorn/prefer-includes
512
504
  c.indexOf("<") === -1)
513
505
  return g && Xe ? g.createHTML(c) : c;
514
- if (s = vt(c), !s)
506
+ if (s = Lt(c), !s)
515
507
  return fe ? null : Xe ? A : "";
516
508
  }
517
509
  s && C && me(s.firstChild);
518
- const k = Mt(Ie ? c : s);
519
- for (; b = k.nextNode(); )
520
- Ot(b) || (b.content instanceof f && xn(b.content), Dt(b));
510
+ const k = vt(Ie ? c : s);
511
+ for (; w = k.nextNode(); )
512
+ Ot(w) || (w.content instanceof f && An(w.content), Nt(w));
521
513
  if (Ie)
522
514
  return c;
523
515
  if (fe) {
524
516
  if (je)
525
- for (D = he.call(s.ownerDocument); s.firstChild; )
526
- D.appendChild(s.firstChild);
517
+ for (N = he.call(s.ownerDocument); s.firstChild; )
518
+ N.appendChild(s.firstChild);
527
519
  else
528
- D = s;
529
- return (x.shadowroot || x.shadowrootmode) && (D = ie.call(i, D, !0)), D;
520
+ N = s;
521
+ return (x.shadowroot || x.shadowrootmode) && (N = ie.call(i, N, !0)), N;
530
522
  }
531
523
  let j = ue ? s.outerHTML : s.innerHTML;
532
524
  return ue && m["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && H(hn, s.ownerDocument.doctype.name) && (j = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
@@ -535,37 +527,37 @@ function gn() {
535
527
  }), g && Xe ? g.createHTML(j) : j;
536
528
  }, t.setConfig = function() {
537
529
  let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
538
- lt(c), w = !0;
530
+ lt(c), b = !0;
539
531
  }, t.clearConfig = function() {
540
- De = null, w = !1;
532
+ Ne = null, b = !1;
541
533
  }, t.isValidAttribute = function(c, e, s) {
542
- De || lt({});
543
- const l = O(c), b = O(e);
544
- return kt(l, b, s);
534
+ Ne || lt({});
535
+ const l = O(c), w = O(e);
536
+ return kt(l, w, s);
545
537
  }, t.addHook = function(c, e) {
546
- typeof e == "function" && (v[c] = v[c] || [], He(v[c], e));
538
+ typeof e == "function" && (L[c] = L[c] || [], He(L[c], e));
547
539
  }, t.removeHook = function(c) {
548
- if (v[c])
549
- return Jt(v[c]);
540
+ if (L[c])
541
+ return Zt(L[c]);
550
542
  }, t.removeHooks = function(c) {
551
- v[c] && (v[c] = []);
543
+ L[c] && (L[c] = []);
552
544
  }, t.removeAllHooks = function() {
553
- v = {};
545
+ L = {};
554
546
  }, t;
555
547
  }
556
548
  var nn = gn();
557
- function fo(n) {
558
- Nn(n, "svelte-1kjup2o", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:115;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.3));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;min-width:400px;position:relative;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3);padding:20px}.CashierSessionExpirationModalWrapper::before{content:"";position:absolute;inset:0;opacity:0.15;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ButtonsContainer{display:flex;flex-direction:row;gap:10px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;background-color:var(--emw--color-gray-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0;justify-content:space-between}.CashierSessionExpirationModalHeaderTitle{display:flex;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);gap:8px}.CashierSessionExpirationModalHeaderTitle svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;justify-content:center;top:10px;right:10px;border-radius:50%;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;margin-top:20px;gap:25px}.CashierSessionExpiration .CashierSessionExpirationButton{width:100%;height:36px;color:var(--emw-color-font-typography, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #f9c405)}.CashierSessionExpirationTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%}.CashierSessionExpirationText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 12px);opacity:0.6}.CashierSessionExpirationText p{padding:3px}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-small, 12px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{fill:var(--emw--color-typography, #fff);width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.ModalButton{color:var(--emw--color-secondary, #000);text-align:center;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 600);font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear;box-shadow:inset 0px 0px 0px 1px var(--emw--color-primary)}.ModalButton:hover{background-color:var(--emw--color-hover, #dbac03)}.ModalButton.Secondary{background:transparent;color:var(--emw-color-white, #fff)}.ModalButton.Secondary:hover{background-color:var(--emw--color-hover, #dbac03);color:var(--emw-color-black, #000)}.ModalButton.Primary.Disabled{cursor:default;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);opacity:0.5}.ModalButton.Primary.Disabled:hover{background:var(--emw--color-primary, #f9c408);cursor:not-allowed}');
549
+ function co(n) {
550
+ On(n, "svelte-1kjup2o", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:115;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.3));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;min-width:400px;position:relative;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3);padding:20px}.CashierSessionExpirationModalWrapper::before{content:"";position:absolute;inset:0;opacity:0.15;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ButtonsContainer{display:flex;flex-direction:row;gap:10px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;background-color:var(--emw--color-gray-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0;justify-content:space-between}.CashierSessionExpirationModalHeaderTitle{display:flex;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);gap:8px}.CashierSessionExpirationModalHeaderTitle svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;justify-content:center;top:10px;right:10px;border-radius:50%;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;margin-top:20px;gap:25px}.CashierSessionExpiration .CashierSessionExpirationButton{width:100%;height:36px;color:var(--emw-color-font-typography, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #f9c405)}.CashierSessionExpirationTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%}.CashierSessionExpirationText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 12px);opacity:0.6}.CashierSessionExpirationText p{padding:3px}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-small, 12px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{fill:var(--emw--color-typography, #fff);width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.ModalButton{color:var(--emw--color-secondary, #000);text-align:center;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 600);font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear;box-shadow:inset 0px 0px 0px 1px var(--emw--color-primary)}.ModalButton:hover{background-color:var(--emw--color-hover, #dbac03)}.ModalButton.Secondary{background:transparent;color:var(--emw-color-white, #fff)}.ModalButton.Secondary:hover{background-color:var(--emw--color-hover, #dbac03);color:var(--emw-color-black, #000)}.ModalButton.Primary.Disabled{cursor:default;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);opacity:0.5}.ModalButton.Primary.Disabled:hover{background:var(--emw--color-primary, #f9c408);cursor:not-allowed}');
559
551
  }
560
- const mo = (n) => ({}), on = (n) => ({}), po = (n) => ({}), sn = (n) => ({}), ho = (n) => ({}), rn = (n) => ({}), go = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
552
+ const uo = (n) => ({}), on = (n) => ({}), fo = (n) => ({}), sn = (n) => ({}), mo = (n) => ({}), rn = (n) => ({}), po = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
561
553
  function ln(n) {
562
- let t, o, i, r, f, _, S, y, E, X, ne, Ce, z = (
554
+ let t, o, i, r, f, _, S, y, E, X, ne, Ce, F = (
563
555
  /*$_*/
564
556
  n[8]("sessionExpirationHeader") + ""
565
- ), F, we, ae, G, de, K, g, A, oe, le, he, W, ie, v, ce = (
557
+ ), z, be, ae, G, de, K, g, A, oe, le, he, W, ie, L, ce = (
566
558
  /*$_*/
567
559
  n[8]("sessionExpirationEnd") + ""
568
- ), V, ge, Q, N, I, $, ve, q, m, Se, x;
560
+ ), V, ge, Q, D, I, $, Le, q, m, Se, x;
569
561
  const Ae = (
570
562
  /*#slots*/
571
563
  n[23].icon
@@ -575,7 +567,7 @@ function ln(n) {
575
567
  /*$$scope*/
576
568
  n[22],
577
569
  an
578
- ), M = T || _o(n), a = (
570
+ ), v = T || ho(n), a = (
579
571
  /*#slots*/
580
572
  n[23].title
581
573
  ), h = $e(
@@ -587,52 +579,52 @@ function ln(n) {
587
579
  ), P = (
588
580
  /*#slots*/
589
581
  n[23].text
590
- ), L = $e(
582
+ ), M = $e(
591
583
  P,
592
584
  n,
593
585
  /*$$scope*/
594
586
  n[22],
595
587
  sn
596
- ), Y = L || Eo(n), _e = [yo, To], ee = [];
597
- function ue(w, C) {
588
+ ), Y = M || go(n), _e = [Eo, _o], ee = [];
589
+ function ue(b, C) {
598
590
  return (
599
591
  /*showLoaderButton*/
600
- w[6] ? 0 : 1
592
+ b[6] ? 0 : 1
601
593
  );
602
594
  }
603
- return N = ue(n), I = ee[N] = _e[N](n), {
595
+ return D = ue(n), I = ee[D] = _e[D](n), {
604
596
  c() {
605
- t = R("div"), o = R("div"), i = R("div"), r = R("div"), f = se("svg"), _ = se("defs"), S = se("mask"), y = se("circle"), E = se("rect"), X = se("circle"), ne = se("circle"), Ce = ye(), F = Ye(z), we = ye(), ae = R("div"), G = se("svg"), de = se("path"), K = ye(), g = R("div"), A = R("div"), M && M.c(), oe = ye(), h && h.c(), le = ye(), Y && Y.c(), he = ye(), W = R("div"), ie = R("button"), v = R("span"), V = Ye(ce), ge = ye(), Q = R("button"), I.c(), u(y, "cx", "100"), u(y, "cy", "100"), u(y, "r", "90"), u(E, "x", "88"), u(E, "y", "40"), u(E, "width", "24"), u(E, "height", "80"), u(E, "rx", "12"), u(E, "fill", "black"), u(X, "cx", "100"), u(X, "cy", "150"), u(X, "r", "14"), u(X, "fill", "black"), u(S, "id", "exclamation-mask"), u(ne, "cx", "100"), u(ne, "cy", "100"), u(ne, "r", "90"), u(ne, "mask", "url(#exclamation-mask)"), u(f, "viewBox", "0 0 200 200"), u(f, "xmlns", "http://www.w3.org/2000/svg"), u(r, "class", "CashierSessionExpirationModalHeaderTitle"), u(de, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), u(G, "xmlns", "http://www.w3.org/2000/svg"), u(G, "viewBox", "0 0 13 13"), u(G, "fill", "none"), u(G, "class", "CloseButton"), u(ae, "class", "ModalCloseIcon"), u(i, "class", "CashierSessionExpirationModalHeader"), u(v, "class", "CashierSessionExpirationButtonText"), u(ie, "type", "button"), u(ie, "class", "ModalButton Secondary"), u(Q, "type", "button"), u(Q, "class", $ = "ModalButton Primary " + /*showLoaderButton*/
606
- (n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(A, "class", "CashierSessionExpiration"), u(g, "class", "CashierSessionExpirationModalContainer"), u(o, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), zt(() => (
597
+ t = R("div"), o = R("div"), i = R("div"), r = R("div"), f = se("svg"), _ = se("defs"), S = se("mask"), y = se("circle"), E = se("rect"), X = se("circle"), ne = se("circle"), Ce = ye(), z = Ye(F), be = ye(), ae = R("div"), G = se("svg"), de = se("path"), K = ye(), g = R("div"), A = R("div"), v && v.c(), oe = ye(), h && h.c(), le = ye(), Y && Y.c(), he = ye(), W = R("div"), ie = R("button"), L = R("span"), V = Ye(ce), ge = ye(), Q = R("button"), I.c(), u(y, "cx", "100"), u(y, "cy", "100"), u(y, "r", "90"), u(E, "x", "88"), u(E, "y", "40"), u(E, "width", "24"), u(E, "height", "80"), u(E, "rx", "12"), u(E, "fill", "black"), u(X, "cx", "100"), u(X, "cy", "150"), u(X, "r", "14"), u(X, "fill", "black"), u(S, "id", "exclamation-mask"), u(ne, "cx", "100"), u(ne, "cy", "100"), u(ne, "r", "90"), u(ne, "mask", "url(#exclamation-mask)"), u(f, "viewBox", "0 0 200 200"), u(f, "xmlns", "http://www.w3.org/2000/svg"), u(r, "class", "CashierSessionExpirationModalHeaderTitle"), u(de, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), u(G, "xmlns", "http://www.w3.org/2000/svg"), u(G, "viewBox", "0 0 13 13"), u(G, "fill", "none"), u(G, "class", "CloseButton"), u(ae, "class", "ModalCloseIcon"), u(i, "class", "CashierSessionExpirationModalHeader"), u(L, "class", "CashierSessionExpirationButtonText"), u(ie, "type", "button"), u(ie, "class", "ModalButton Secondary"), u(Q, "type", "button"), u(Q, "class", $ = "ModalButton Primary " + /*showLoaderButton*/
598
+ (n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(A, "class", "CashierSessionExpiration"), u(g, "class", "CashierSessionExpirationModalContainer"), u(o, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), Bt(() => (
607
599
  /*div7_elementresize_handler*/
608
600
  n[25].call(t)
609
601
  ));
610
602
  },
611
- m(w, C) {
612
- Re(w, t, C), p(t, o), p(o, i), p(i, r), p(r, f), p(f, _), p(_, S), p(S, y), p(S, E), p(S, X), p(f, ne), p(r, Ce), p(r, F), p(i, we), p(i, ae), p(ae, G), p(G, de), p(o, K), p(o, g), p(g, A), M && M.m(A, null), p(A, oe), h && h.m(A, null), p(A, le), Y && Y.m(A, null), p(A, he), p(A, W), p(W, ie), p(ie, v), p(v, V), p(W, ge), p(W, Q), ee[N].m(Q, null), n[24](A), ve = Hn(
603
+ m(b, C) {
604
+ Re(b, t, C), p(t, o), p(o, i), p(i, r), p(r, f), p(f, _), p(_, S), p(S, y), p(S, E), p(S, X), p(f, ne), p(r, Ce), p(r, z), p(i, be), p(i, ae), p(ae, G), p(G, de), p(o, K), p(o, g), p(g, A), v && v.m(A, null), p(A, oe), h && h.m(A, null), p(A, le), Y && Y.m(A, null), p(A, he), p(A, W), p(W, ie), p(ie, L), p(L, V), p(W, ge), p(W, Q), ee[D].m(Q, null), n[24](A), Le = In(
613
605
  t,
614
606
  /*div7_elementresize_handler*/
615
607
  n[25].bind(t)
616
608
  ), m = !0, Se || (x = [
617
- Ze(
609
+ Je(
618
610
  G,
619
611
  "click",
620
612
  /*goToHome*/
621
613
  n[11]
622
614
  ),
623
- Ze(
615
+ Je(
624
616
  ie,
625
617
  "click",
626
618
  /*goToHome*/
627
619
  n[11]
628
620
  ),
629
- Ze(
621
+ Je(
630
622
  Q,
631
623
  "click",
632
624
  /*renewSession*/
633
625
  n[9]
634
626
  ),
635
- Ze(
627
+ Je(
636
628
  t,
637
629
  "click",
638
630
  /*outOfModalClick*/
@@ -640,10 +632,10 @@ function ln(n) {
640
632
  )
641
633
  ], Se = !0);
642
634
  },
643
- p(w, C) {
644
- n = w, (!m || C[0] & /*$_*/
645
- 256) && z !== (z = /*$_*/
646
- n[8]("sessionExpirationHeader") + "") && We(F, z), T ? T.p && (!m || C[0] & /*$$scope*/
635
+ p(b, C) {
636
+ n = b, (!m || C[0] & /*$_*/
637
+ 256) && F !== (F = /*$_*/
638
+ n[8]("sessionExpirationHeader") + "") && We(z, F), T ? T.p && (!m || C[0] & /*$$scope*/
647
639
  4194304) && et(
648
640
  T,
649
641
  Ae,
@@ -655,14 +647,14 @@ function ln(n) {
655
647
  /*$$scope*/
656
648
  n[22],
657
649
  C,
658
- go
650
+ po
659
651
  ) : tt(
660
652
  /*$$scope*/
661
653
  n[22]
662
654
  ),
663
655
  an
664
- ) : M && M.p && (!m || C[0] & /*assetsurl*/
665
- 8) && M.p(n, m ? C : [-1, -1]), h && h.p && (!m || C[0] & /*$$scope*/
656
+ ) : v && v.p && (!m || C[0] & /*assetsurl*/
657
+ 8) && v.p(n, m ? C : [-1, -1]), h && h.p && (!m || C[0] & /*$$scope*/
666
658
  4194304) && et(
667
659
  h,
668
660
  a,
@@ -674,15 +666,15 @@ function ln(n) {
674
666
  /*$$scope*/
675
667
  n[22],
676
668
  C,
677
- ho
669
+ mo
678
670
  ) : tt(
679
671
  /*$$scope*/
680
672
  n[22]
681
673
  ),
682
674
  rn
683
- ), L ? L.p && (!m || C[0] & /*$$scope*/
675
+ ), M ? M.p && (!m || C[0] & /*$$scope*/
684
676
  4194304) && et(
685
- L,
677
+ M,
686
678
  P,
687
679
  n,
688
680
  /*$$scope*/
@@ -692,7 +684,7 @@ function ln(n) {
692
684
  /*$$scope*/
693
685
  n[22],
694
686
  C,
695
- po
687
+ fo
696
688
  ) : tt(
697
689
  /*$$scope*/
698
690
  n[22]
@@ -702,29 +694,29 @@ function ln(n) {
702
694
  384) && Y.p(n, m ? C : [-1, -1]), (!m || C[0] & /*$_*/
703
695
  256) && ce !== (ce = /*$_*/
704
696
  n[8]("sessionExpirationEnd") + "") && We(V, ce);
705
- let fe = N;
706
- N = ue(n), N === fe ? ee[N].p(n, C) : (un(), xe(ee[fe], 1, 1, () => {
697
+ let fe = D;
698
+ D = ue(n), D === fe ? ee[D].p(n, C) : (un(), xe(ee[fe], 1, 1, () => {
707
699
  ee[fe] = null;
708
- }), fn(), I = ee[N], I ? I.p(n, C) : (I = ee[N] = _e[N](n), I.c()), be(I, 1), I.m(Q, null)), (!m || C[0] & /*showLoaderButton*/
700
+ }), fn(), I = ee[D], I ? I.p(n, C) : (I = ee[D] = _e[D](n), I.c()), we(I, 1), I.m(Q, null)), (!m || C[0] & /*showLoaderButton*/
709
701
  64 && $ !== ($ = "ModalButton Primary " + /*showLoaderButton*/
710
702
  (n[6] ? "Disabled" : ""))) && u(Q, "class", $);
711
703
  },
712
- i(w) {
713
- m || (be(M, w), be(h, w), be(Y, w), be(I), w && zt(() => {
714
- m && (q || (q = Bt(t, jt, { duration: (
704
+ i(b) {
705
+ m || (we(v, b), we(h, b), we(Y, b), we(I), b && Bt(() => {
706
+ m && (q || (q = Ht(t, Wt, { duration: (
715
707
  /*duration*/
716
708
  n[2]
717
709
  ) }, !0)), q.run(1));
718
710
  }), m = !0);
719
711
  },
720
- o(w) {
721
- xe(M, w), xe(h, w), xe(Y, w), xe(I), w && (q || (q = Bt(t, jt, { duration: (
712
+ o(b) {
713
+ xe(v, b), xe(h, b), xe(Y, b), xe(I), b && (q || (q = Ht(t, Wt, { duration: (
722
714
  /*duration*/
723
715
  n[2]
724
716
  ) }, !1)), q.run(0)), m = !1;
725
717
  },
726
- d(w) {
727
- w && Le(t), M && M.d(w), h && h.d(w), Y && Y.d(w), ee[N].d(), n[24](null), ve(), w && q && q.end(), Se = !1, Un(x);
718
+ d(b) {
719
+ b && Me(t), v && v.d(b), h && h.d(b), Y && Y.d(b), ee[D].d(), n[24](null), Le(), b && q && q.end(), Se = !1, Nn(x);
728
720
  }
729
721
  };
730
722
  }
@@ -732,7 +724,7 @@ function cn(n) {
732
724
  let t, o;
733
725
  return {
734
726
  c() {
735
- t = R("img"), Yt(t.src, o = `${/*assetsurl*/
727
+ t = R("img"), Gt(t.src, o = `${/*assetsurl*/
736
728
  n[3]}/set-timeout-icon.png`) || u(t, "src", o), u(t, "width", "300px"), u(t, "alt", "error");
737
729
  },
738
730
  m(i, r) {
@@ -740,22 +732,22 @@ function cn(n) {
740
732
  },
741
733
  p(i, r) {
742
734
  r[0] & /*assetsurl*/
743
- 8 && !Yt(t.src, o = `${/*assetsurl*/
735
+ 8 && !Gt(t.src, o = `${/*assetsurl*/
744
736
  i[3]}/set-timeout-icon.png`) && u(t, "src", o);
745
737
  },
746
738
  d(i) {
747
- i && Le(t);
739
+ i && Me(t);
748
740
  }
749
741
  };
750
742
  }
751
- function _o(n) {
743
+ function ho(n) {
752
744
  let t, o = (
753
745
  /*assetsurl*/
754
746
  n[3] && cn(n)
755
747
  );
756
748
  return {
757
749
  c() {
758
- o && o.c(), t = Bn();
750
+ o && o.c(), t = Pn();
759
751
  },
760
752
  m(i, r) {
761
753
  o && o.m(i, r), Re(i, t, r);
@@ -765,11 +757,11 @@ function _o(n) {
765
757
  i[3] ? o ? o.p(i, r) : (o = cn(i), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null);
766
758
  },
767
759
  d(i) {
768
- i && Le(t), o && o.d(i);
760
+ i && Me(t), o && o.d(i);
769
761
  }
770
762
  };
771
763
  }
772
- function Eo(n) {
764
+ function go(n) {
773
765
  let t, o, i = (
774
766
  /*$_*/
775
767
  n[8]("sessionExpirationTitle") + ""
@@ -800,11 +792,11 @@ function Eo(n) {
800
792
  ) + "") && (_.innerHTML = S);
801
793
  },
802
794
  d(y) {
803
- y && Le(t);
795
+ y && Me(t);
804
796
  }
805
797
  };
806
798
  }
807
- function To(n) {
799
+ function _o(n) {
808
800
  let t;
809
801
  const o = (
810
802
  /*#slots*/
@@ -815,7 +807,7 @@ function To(n) {
815
807
  /*$$scope*/
816
808
  n[22],
817
809
  on
818
- ), r = i || bo(n);
810
+ ), r = i || To(n);
819
811
  return {
820
812
  c() {
821
813
  r && r.c();
@@ -836,7 +828,7 @@ function To(n) {
836
828
  /*$$scope*/
837
829
  f[22],
838
830
  _,
839
- mo
831
+ uo
840
832
  ) : tt(
841
833
  /*$$scope*/
842
834
  f[22]
@@ -846,7 +838,7 @@ function To(n) {
846
838
  256) && r.p(f, t ? _ : [-1, -1]);
847
839
  },
848
840
  i(f) {
849
- t || (be(r, f), t = !0);
841
+ t || (we(r, f), t = !0);
850
842
  },
851
843
  o(f) {
852
844
  xe(r, f), t = !1;
@@ -856,7 +848,7 @@ function To(n) {
856
848
  }
857
849
  };
858
850
  }
859
- function yo(n) {
851
+ function Eo(n) {
860
852
  let t, o, i, r, f, _ = (
861
853
  /*$_*/
862
854
  n[8]("sessionExpirationLoadingButton") + ""
@@ -873,14 +865,14 @@ function yo(n) {
873
865
  256 && _ !== (_ = /*$_*/
874
866
  y[8]("sessionExpirationLoadingButton") + "") && We(S, _);
875
867
  },
876
- i: Wt,
877
- o: Wt,
868
+ i: zt,
869
+ o: zt,
878
870
  d(y) {
879
- y && Le(t);
871
+ y && Me(t);
880
872
  }
881
873
  };
882
874
  }
883
- function bo(n) {
875
+ function To(n) {
884
876
  let t, o = (
885
877
  /*$_*/
886
878
  n[8]("sessionExpirationGeneralButton") + ""
@@ -898,11 +890,11 @@ function bo(n) {
898
890
  r[8]("sessionExpirationGeneralButton") + "") && We(i, o);
899
891
  },
900
892
  d(r) {
901
- r && Le(t);
893
+ r && Me(t);
902
894
  }
903
895
  };
904
896
  }
905
- function wo(n) {
897
+ function yo(n) {
906
898
  let t, o, i = (
907
899
  /*show*/
908
900
  n[5] && ln(n)
@@ -917,28 +909,28 @@ function wo(n) {
917
909
  p(r, f) {
918
910
  /*show*/
919
911
  r[5] ? i ? (i.p(r, f), f[0] & /*show*/
920
- 32 && be(i, 1)) : (i = ln(r), i.c(), be(i, 1), i.m(t, null)) : i && (un(), xe(i, 1, 1, () => {
912
+ 32 && we(i, 1)) : (i = ln(r), i.c(), we(i, 1), i.m(t, null)) : i && (un(), xe(i, 1, 1, () => {
921
913
  i = null;
922
914
  }), fn());
923
915
  },
924
916
  i(r) {
925
- o || (be(i), o = !0);
917
+ o || (we(i), o = !0);
926
918
  },
927
919
  o(r) {
928
920
  xe(i), o = !1;
929
921
  },
930
922
  d(r) {
931
- r && Le(t), i && i.d(), n[26](null);
923
+ r && Me(t), i && i.d(), n[26](null);
932
924
  }
933
925
  };
934
926
  }
935
- const So = 90;
936
- function Ao(n, t, o) {
927
+ const wo = 90;
928
+ function bo(n, t, o) {
937
929
  let i, r;
938
- Ut(n, Ft, (a) => o(21, i = a)), Ut(n, Fn, (a) => o(8, r = a));
930
+ Ut(n, jt, (a) => o(21, i = a)), Ut(n, zn, (a) => o(8, r = a));
939
931
  let { $$slots: f = {}, $$scope: _ } = t;
940
- Ht.extend(Dn);
941
- let { clientstyling: S = "" } = t, { clientstylingurl: y = "" } = t, { width: E } = t, { height: X } = t, { duration: ne = 200 } = t, { assetsurl: Ce = "" } = t, { lang: z = "en" } = t, { translationurl: F = "" } = t, { endpoint: we } = t, { currency: ae } = t, { customerid: G } = t, { selectedpaymentmethodname: de } = t, { mbsource: K = "" } = t, g, A = !1, oe = !1, le, he, W, ie, v, ce;
932
+ Yt.extend(Gn);
933
+ let { clientstyling: S = "" } = t, { clientstylingurl: y = "" } = t, { width: E } = t, { height: X } = t, { duration: ne = 200 } = t, { assetsurl: Ce = "" } = t, { lang: F = "en" } = t, { translationurl: z = "" } = t, { endpoint: be } = t, { currency: ae } = t, { customerid: G } = t, { selectedpaymentmethodname: de } = t, { mbsource: K = "" } = t, g, A = !1, oe = !1, le, he, W, ie, L, ce;
942
934
  var V;
943
935
  (function(a) {
944
936
  a.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", a.Success = "Success", a.JwtTokenError = "JwtTokenError";
@@ -951,11 +943,11 @@ function Ao(n, t, o) {
951
943
  } catch (h) {
952
944
  return null;
953
945
  }
954
- }, N = () => {
946
+ }, D = () => {
955
947
  window.postMessage(
956
948
  {
957
949
  type: "ErrorResponseCode",
958
- errorResponseCode: v
950
+ errorResponseCode: L
959
951
  },
960
952
  window.location.href
961
953
  );
@@ -965,17 +957,17 @@ function Ao(n, t, o) {
965
957
  h && (he = h == null ? void 0 : h.exp, o(7, le = he), W && clearInterval(W), W = setInterval(
966
958
  () => {
967
959
  const P = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
968
- o(7, le = he - P), le <= So && o(5, A = !0), P >= he && ($(), window.postMessage({ type: "SessionExpired" }, window.location.href));
960
+ o(7, le = he - P), le <= wo && o(5, A = !0), P >= he && ($(), window.postMessage({ type: "SessionExpired" }, window.location.href));
969
961
  },
970
962
  1e3
971
963
  ));
972
964
  }, $ = () => {
973
965
  o(7, le = 0), o(5, A = !1), clearInterval(W);
974
- }, ve = () => {
966
+ }, Le = () => {
975
967
  if (oe)
976
968
  return;
977
- const a = new URL(`${we}/v1/player/${G}/payment/GetPaymentMethod`), h = new Headers();
978
- o(6, oe = !0), h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp", Ht.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
969
+ const a = new URL(`${be}/v1/player/${G}/payment/GetPaymentMethod`), h = new Headers();
970
+ o(6, oe = !0), h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
979
971
  const P = {
980
972
  method: "POST",
981
973
  mode: "cors",
@@ -986,32 +978,32 @@ function Ao(n, t, o) {
986
978
  XPaymentSessionToken: i
987
979
  })
988
980
  };
989
- fetch(a, P).then((L) => L.json()).then((L) => {
990
- if (L.error) {
981
+ fetch(a, P).then((M) => M.json()).then((M) => {
982
+ if (M.error) {
991
983
  window.postMessage(
992
984
  {
993
985
  type: "ShowSessionError",
994
- error: L.error
986
+ error: M.error
995
987
  },
996
988
  window.location.href
997
989
  ), $();
998
990
  return;
999
991
  }
1000
- if (L.ResponseCode === V.PlayerSessionIsNotValid || L.ResponseCode === V.JwtTokenError) {
1001
- v = L.ResponseCode, $(), N();
992
+ if (M.ResponseCode === V.PlayerSessionIsNotValid || M.ResponseCode === V.JwtTokenError) {
993
+ L = M.ResponseCode, $(), D();
1002
994
  return;
1003
995
  }
1004
- if (L.ResponseCode !== V.Success) {
1005
- v = L.ResponseCode, $();
996
+ if (M.ResponseCode !== V.Success) {
997
+ L = M.ResponseCode, $();
1006
998
  return;
1007
999
  }
1008
- L.XPaymentSessionToken && Ft.set(L.XPaymentSessionToken);
1000
+ M.XPaymentSessionToken && jt.set(M.XPaymentSessionToken);
1009
1001
  }).finally(() => o(6, oe = !1));
1010
1002
  }, q = (a) => {
1011
1003
  const h = a.currentTarget;
1012
- a.target === h && ve();
1004
+ a.target === h && Le();
1013
1005
  }, m = () => {
1014
- fetch(F).then((h) => h.json()).then((h) => {
1006
+ fetch(z).then((h) => h.json()).then((h) => {
1015
1007
  Object.keys(h).forEach((P) => {
1016
1008
  Xt(P, h[P]);
1017
1009
  });
@@ -1025,36 +1017,36 @@ function Ao(n, t, o) {
1025
1017
  Xt(a, Vt[a]);
1026
1018
  });
1027
1019
  const x = () => {
1028
- jn(z);
1020
+ Wn(F);
1029
1021
  };
1030
- In(() => (window.addEventListener("message", ge, !1), () => {
1022
+ kn(() => (window.addEventListener("message", ge, !1), () => {
1031
1023
  window.removeEventListener("message", ge);
1032
- })), Pn(() => {
1024
+ })), Dn(() => {
1033
1025
  clearInterval(W);
1034
1026
  });
1035
1027
  function Ae(a) {
1036
- Gt[a ? "unshift" : "push"](() => {
1028
+ Ft[a ? "unshift" : "push"](() => {
1037
1029
  g = a, o(4, g);
1038
1030
  });
1039
1031
  }
1040
1032
  function T() {
1041
1033
  E = this.clientWidth, X = this.clientHeight, o(0, E), o(1, X);
1042
1034
  }
1043
- function M(a) {
1044
- Gt[a ? "unshift" : "push"](() => {
1035
+ function v(a) {
1036
+ Ft[a ? "unshift" : "push"](() => {
1045
1037
  g = a, o(4, g);
1046
1038
  });
1047
1039
  }
1048
1040
  return n.$$set = (a) => {
1049
- "clientstyling" in a && o(12, S = a.clientstyling), "clientstylingurl" in a && o(13, y = a.clientstylingurl), "width" in a && o(0, E = a.width), "height" in a && o(1, X = a.height), "duration" in a && o(2, ne = a.duration), "assetsurl" in a && o(3, Ce = a.assetsurl), "lang" in a && o(14, z = a.lang), "translationurl" in a && o(15, F = a.translationurl), "endpoint" in a && o(16, we = a.endpoint), "currency" in a && o(17, ae = a.currency), "customerid" in a && o(18, G = a.customerid), "selectedpaymentmethodname" in a && o(19, de = a.selectedpaymentmethodname), "mbsource" in a && o(20, K = a.mbsource), "$$scope" in a && o(22, _ = a.$$scope);
1041
+ "clientstyling" in a && o(12, S = a.clientstyling), "clientstylingurl" in a && o(13, y = a.clientstylingurl), "width" in a && o(0, E = a.width), "height" in a && o(1, X = a.height), "duration" in a && o(2, ne = a.duration), "assetsurl" in a && o(3, Ce = a.assetsurl), "lang" in a && o(14, F = a.lang), "translationurl" in a && o(15, z = a.translationurl), "endpoint" in a && o(16, be = a.endpoint), "currency" in a && o(17, ae = a.currency), "customerid" in a && o(18, G = a.customerid), "selectedpaymentmethodname" in a && o(19, de = a.selectedpaymentmethodname), "mbsource" in a && o(20, K = a.mbsource), "$$scope" in a && o(22, _ = a.$$scope);
1050
1042
  }, n.$$.update = () => {
1051
1043
  n.$$.dirty[0] & /*$xPaymentSessionToken*/
1052
1044
  2097152 && I(i), n.$$.dirty[0] & /*lang*/
1053
- 16384 && z && x(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1054
- 4112 && S && g && Gn(g, S), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1055
- 8208 && y && g && Wn(g, y), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1056
- 1048592 && K && g && Yn(g, `${K}.Style`, ce), n.$$.dirty[0] & /*translationurl*/
1057
- 32768 && F && m();
1045
+ 16384 && F && x(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1046
+ 4112 && S && g && Un(g, S), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1047
+ 8208 && y && g && Hn(g, y), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1048
+ 1048592 && K && g && Bn(g, `${K}.Style`, ce), n.$$.dirty[0] & /*translationurl*/
1049
+ 32768 && z && m();
1058
1050
  }, [
1059
1051
  E,
1060
1052
  X,
@@ -1065,14 +1057,14 @@ function Ao(n, t, o) {
1065
1057
  oe,
1066
1058
  le,
1067
1059
  r,
1068
- ve,
1060
+ Le,
1069
1061
  q,
1070
1062
  Se,
1071
1063
  S,
1072
1064
  y,
1073
- z,
1074
1065
  F,
1075
- we,
1066
+ z,
1067
+ be,
1076
1068
  ae,
1077
1069
  G,
1078
1070
  de,
@@ -1082,17 +1074,17 @@ function Ao(n, t, o) {
1082
1074
  f,
1083
1075
  Ae,
1084
1076
  T,
1085
- M
1077
+ v
1086
1078
  ];
1087
1079
  }
1088
- class _n extends Rn {
1080
+ class So extends vn {
1089
1081
  constructor(t) {
1090
- super(), On(
1082
+ super(), Mn(
1091
1083
  this,
1092
1084
  t,
1093
- Ao,
1094
- wo,
1095
- kn,
1085
+ bo,
1086
+ yo,
1087
+ Rn,
1096
1088
  {
1097
1089
  clientstyling: 12,
1098
1090
  clientstylingurl: 13,
@@ -1108,7 +1100,7 @@ class _n extends Rn {
1108
1100
  selectedpaymentmethodname: 19,
1109
1101
  mbsource: 20
1110
1102
  },
1111
- fo,
1103
+ co,
1112
1104
  [-1, -1]
1113
1105
  );
1114
1106
  }
@@ -1116,87 +1108,82 @@ class _n extends Rn {
1116
1108
  return this.$$.ctx[12];
1117
1109
  }
1118
1110
  set clientstyling(t) {
1119
- this.$$set({ clientstyling: t }), J();
1111
+ this.$$set({ clientstyling: t }), Z();
1120
1112
  }
1121
1113
  get clientstylingurl() {
1122
1114
  return this.$$.ctx[13];
1123
1115
  }
1124
1116
  set clientstylingurl(t) {
1125
- this.$$set({ clientstylingurl: t }), J();
1117
+ this.$$set({ clientstylingurl: t }), Z();
1126
1118
  }
1127
1119
  get width() {
1128
1120
  return this.$$.ctx[0];
1129
1121
  }
1130
1122
  set width(t) {
1131
- this.$$set({ width: t }), J();
1123
+ this.$$set({ width: t }), Z();
1132
1124
  }
1133
1125
  get height() {
1134
1126
  return this.$$.ctx[1];
1135
1127
  }
1136
1128
  set height(t) {
1137
- this.$$set({ height: t }), J();
1129
+ this.$$set({ height: t }), Z();
1138
1130
  }
1139
1131
  get duration() {
1140
1132
  return this.$$.ctx[2];
1141
1133
  }
1142
1134
  set duration(t) {
1143
- this.$$set({ duration: t }), J();
1135
+ this.$$set({ duration: t }), Z();
1144
1136
  }
1145
1137
  get assetsurl() {
1146
1138
  return this.$$.ctx[3];
1147
1139
  }
1148
1140
  set assetsurl(t) {
1149
- this.$$set({ assetsurl: t }), J();
1141
+ this.$$set({ assetsurl: t }), Z();
1150
1142
  }
1151
1143
  get lang() {
1152
1144
  return this.$$.ctx[14];
1153
1145
  }
1154
1146
  set lang(t) {
1155
- this.$$set({ lang: t }), J();
1147
+ this.$$set({ lang: t }), Z();
1156
1148
  }
1157
1149
  get translationurl() {
1158
1150
  return this.$$.ctx[15];
1159
1151
  }
1160
1152
  set translationurl(t) {
1161
- this.$$set({ translationurl: t }), J();
1153
+ this.$$set({ translationurl: t }), Z();
1162
1154
  }
1163
1155
  get endpoint() {
1164
1156
  return this.$$.ctx[16];
1165
1157
  }
1166
1158
  set endpoint(t) {
1167
- this.$$set({ endpoint: t }), J();
1159
+ this.$$set({ endpoint: t }), Z();
1168
1160
  }
1169
1161
  get currency() {
1170
1162
  return this.$$.ctx[17];
1171
1163
  }
1172
1164
  set currency(t) {
1173
- this.$$set({ currency: t }), J();
1165
+ this.$$set({ currency: t }), Z();
1174
1166
  }
1175
1167
  get customerid() {
1176
1168
  return this.$$.ctx[18];
1177
1169
  }
1178
1170
  set customerid(t) {
1179
- this.$$set({ customerid: t }), J();
1171
+ this.$$set({ customerid: t }), Z();
1180
1172
  }
1181
1173
  get selectedpaymentmethodname() {
1182
1174
  return this.$$.ctx[19];
1183
1175
  }
1184
1176
  set selectedpaymentmethodname(t) {
1185
- this.$$set({ selectedpaymentmethodname: t }), J();
1177
+ this.$$set({ selectedpaymentmethodname: t }), Z();
1186
1178
  }
1187
1179
  get mbsource() {
1188
1180
  return this.$$.ctx[20];
1189
1181
  }
1190
1182
  set mbsource(t) {
1191
- this.$$set({ mbsource: t }), J();
1183
+ this.$$set({ mbsource: t }), Z();
1192
1184
  }
1193
1185
  }
1194
- zn(_n, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
1195
- const vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1196
- __proto__: null,
1197
- default: _n
1198
- }, Symbol.toStringTag, { value: "Module" }));
1186
+ Fn(So, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
1199
1187
  export {
1200
- vo as C,
1201
- jt as f
1188
+ So as default
1202
1189
  };