@everymatrix/cashier-page 1.93.60 → 1.93.65

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 (80) hide show
  1. package/components/{CashierCarousel-DMrMmClP.cjs → CashierCarousel-BM-KceW7.cjs} +6 -6
  2. package/components/{CashierCarousel-DwrGzk7c.js → CashierCarousel-CwYg_hFh.js} +1004 -967
  3. package/components/{CashierCarousel-DJXsZKF9.js → CashierCarousel-DcUyAcwc.js} +950 -913
  4. package/components/CashierError-BeL8YqKx.cjs +1 -0
  5. package/components/CashierError-CfKKb6JV.js +831 -0
  6. package/components/CashierError-dD8Ujs5i.js +847 -0
  7. package/components/CashierHeader-BcMI_JFJ.cjs +1 -0
  8. package/components/CashierHeader-C7A_llUb.js +409 -0
  9. package/components/CashierHeader-DHBbF3Fw.js +409 -0
  10. package/components/{CashierIframeRedirect-CF8dL6ee.js → CashierIframeRedirect-BUfajkxx.js} +107 -95
  11. package/components/CashierIframeRedirect-cI2gXg_a.cjs +1 -0
  12. package/components/{CashierIframeRedirect-CbC9sVb1.js → CashierIframeRedirect-pWxVJsqa.js} +107 -95
  13. package/components/{CashierMethodDetails-DU55y4Rq.js → CashierMethodDetails-CyiT2xsa.js} +4410 -3877
  14. package/components/CashierMethodDetails-p9l4Iluu.cjs +85 -0
  15. package/components/{CashierMethodDetails-BrlBDyIX.js → CashierMethodDetails-vTXZEUgh.js} +4327 -3794
  16. package/components/{CashierMethodsList-CsZkLAGV.js → CashierMethodsList-By3SBa7K.js} +307 -264
  17. package/components/CashierMethodsList-CUErZLfD.cjs +1 -0
  18. package/components/{CashierMethodsList-DuiE7pDZ.js → CashierMethodsList-CZdQjuPQ.js} +308 -265
  19. package/components/{CashierModal-ZV_9oeml.js → CashierModal-CkZf2u_p.js} +20 -20
  20. package/components/{CashierModal-BLrymidc.cjs → CashierModal-DCXxFKAW.cjs} +1 -1
  21. package/components/{CashierModal-CV1Fn4BP.js → CashierModal-Sl2X44Qr.js} +19 -19
  22. package/components/{CashierNotifications-C_xReVni.js → CashierNotifications-6zJqvaK5.js} +18 -18
  23. package/components/{CashierNotifications-B8bRZMac.cjs → CashierNotifications-BJ9m5MR5.cjs} +1 -1
  24. package/components/{CashierNotifications-DHKh64xU.js → CashierNotifications-CI9LFS0z.js} +18 -18
  25. package/components/CashierPage-9HFOkmPt.cjs +1 -0
  26. package/components/CashierPage-CBLhCGtM.js +4851 -0
  27. package/components/CashierPage-ChksZ7x2.js +4811 -0
  28. package/components/CashierReceiptPage-C9vc8Tdq.js +1892 -0
  29. package/components/CashierReceiptPage-D7uA7grn.cjs +26 -0
  30. package/components/CashierReceiptPage-DiyMd0oq.js +1912 -0
  31. package/components/{CashierSessionExpirationModal-DlbWG4xD.js → CashierSessionExpirationModal-DsVCou9W.js} +514 -487
  32. package/components/CashierSessionExpirationModal-TeGdT9SY.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-C0KV3SHR.js → CashierSessionExpirationModal-u83AoXvo.js} +490 -463
  34. package/components/{CashierSpinner-D3HhhmOb.js → CashierSpinner-CxccWP9P.js} +9 -9
  35. package/components/{CashierSpinner-DKYO0FtD.cjs → CashierSpinner-D6QJrkuJ.cjs} +1 -1
  36. package/components/{CashierSpinner-DyemUXs_.js → CashierSpinner-h23y-7eM.js} +9 -9
  37. package/components/CashierStepUp-BaKfagWu.js +1204 -0
  38. package/components/CashierStepUp-Bwo5aVPT.cjs +1 -0
  39. package/components/CashierStepUp-cTf7L6t4.js +1165 -0
  40. package/components/CashierTransactionHistory-Dd5ydbYM.js +1394 -0
  41. package/components/CashierTransactionHistory-Dx7mVKOh.cjs +1 -0
  42. package/components/CashierTransactionHistory-JR1DrsVh.js +1394 -0
  43. package/components/CashierVerifications-0enYZZLD.js +683 -0
  44. package/components/CashierVerifications-C_73oFvm.cjs +1 -0
  45. package/components/CashierVerifications-clMzLemr.js +687 -0
  46. package/components/{TxnStatusIcon-ssLhQR5N.js → TxnStatusIcon-BdmgpoFK.js} +5 -5
  47. package/components/{TxnStatusIcon-CWkyVMIU.cjs → TxnStatusIcon-BuY_lIOK.cjs} +1 -1
  48. package/components/{TxnStatusIcon-BwvCa-Ig.js → TxnStatusIcon-DdHua6_u.js} +5 -5
  49. package/components/{TxnTypeIcons-CTQXT_j5.cjs → TxnTypeIcons-BOR9sqs3.cjs} +1 -1
  50. package/components/{TxnTypeIcons-B84nFRMh.js → TxnTypeIcons-Dj4BEiZD.js} +1 -1
  51. package/components/{TxnTypeIcons-DhwUYw-o.js → TxnTypeIcons-GA3AS07V.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierError-BL_rmfvV.cjs +0 -1
  57. package/components/CashierError-Bqtyy8-q.js +0 -638
  58. package/components/CashierError-D054pa3k.js +0 -654
  59. package/components/CashierHeader-BNDmkX5f.js +0 -397
  60. package/components/CashierHeader-DJYOdmdi.js +0 -397
  61. package/components/CashierHeader-PvXFHPzQ.cjs +0 -1
  62. package/components/CashierIframeRedirect-C0AQ3pLh.cjs +0 -1
  63. package/components/CashierMethodDetails-DLCEFTpO.cjs +0 -85
  64. package/components/CashierMethodsList-D6dEg4zv.cjs +0 -1
  65. package/components/CashierPage-BtrYOlrz.js +0 -4584
  66. package/components/CashierPage-XewFlLFL.js +0 -4550
  67. package/components/CashierPage-ZwlEVQK1.cjs +0 -1
  68. package/components/CashierReceiptPage-BHUK-JH2.js +0 -1784
  69. package/components/CashierReceiptPage-Ur_cm9GB.cjs +0 -26
  70. package/components/CashierReceiptPage-ooyhUTMT.js +0 -1764
  71. package/components/CashierSessionExpirationModal-WrH-ardc.cjs +0 -2
  72. package/components/CashierStepUp-CSZd5C7z.js +0 -1130
  73. package/components/CashierStepUp-CmTcFbG9.js +0 -1091
  74. package/components/CashierStepUp-DKytvkqu.cjs +0 -1
  75. package/components/CashierTransactionHistory-DSJAL5H2.js +0 -1341
  76. package/components/CashierTransactionHistory-Dk0b66AC.cjs +0 -1
  77. package/components/CashierTransactionHistory-Dt-gnylu.js +0 -1341
  78. package/components/CashierVerifications-BUcxHXrG.js +0 -627
  79. package/components/CashierVerifications-Byj-MslV.js +0 -623
  80. package/components/CashierVerifications-f5t-nR--.cjs +0 -1
@@ -1,55 +1,82 @@
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, ag as Dn, d as $e, a2 as Nn, aa 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-DwrGzk7c.js";
2
- import { f as Wt } from "./CashierPage-BtrYOlrz.js";
3
- import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-DU55y4Rq.js";
4
- function Xt(n, t) {
5
- xn(n, t);
1
+ import { a as Cn, $ as vn, i as Ln, b as Mn, c as Rn, S as kn, d as On, s as Dn, f as Z, e as Nn, h as Me, t as Ae, j as be, a6 as fn, a7 as mn, m as Re, o as R, r as Ut, v as In, ag as Fn, g as et, a2 as Pn, aa as Bt, L as zt, x as We, u as tt, k as nt, l as it, q as u, n as p, a8 as Un, z as Ke, X as se, p as we, y as Ye, A as Ht, w as Bn, H as Gt, B as Wt, D as zn, E as Hn, F as Gn, G as Wn } from "./CashierCarousel-CwYg_hFh.js";
2
+ import { a as Yt } from "./CashierPage-CBLhCGtM.js";
3
+ import { d as jt, u as Yn, x as Xt } from "./CashierMethodDetails-CyiT2xsa.js";
4
+ const je = typeof window != "undefined" && window.__EMWCashierI18n || { dictionary: Rn, locale: Mn, init: Ln, addMessages: Cn, format: vn };
5
+ typeof window != "undefined" && !window.__EMWCashierI18n && (window.__EMWCashierI18n = je);
6
+ const jn = je.format;
7
+ function Vt(n, t) {
8
+ je.addMessages(n, t);
6
9
  }
7
- function Wn(n) {
8
- Cn({
10
+ function Xn(n) {
11
+ je.init({
9
12
  fallbackLocale: "en"
10
- }), Ln.set(n);
13
+ }), je.locale.set(n);
11
14
  }
12
- const Vt = {
15
+ const qt = {
13
16
  en: {
14
- sessionExpirationHeader: "Session Warning",
15
- sessionExpirationTitle: "Your session is about to expire!",
16
- sessionExpirationGeneralText: "Your session will automatically terminate in <b>{second} seconds</b>.",
17
- sessionExpirationGeneralButton: "Continue session",
18
- sessionExpirationLoadingButton: "Processing...",
19
- sessionExpirationEnd: "End session"
17
+ "FE.sessionExpirationHeader": "Session Warning",
18
+ "FE.sessionExpirationTitle": "Your session is about to expire!",
19
+ "FE.sessionExpirationGeneralText": "Your session will automatically terminate in <b>{second} seconds</b>.",
20
+ "FE.sessionExpirationGeneralButton": "Continue session",
21
+ "FE.sessionExpirationLoadingButton": "Processing...",
22
+ "FE.sessionExpirationEnd": "End session"
20
23
  },
21
24
  tr: {
22
- sessionExpirationHeader: "Oturum Uyarısı",
23
- sessionExpirationTitle: "Oturumunuzun süresi dolmak üzere!",
24
- sessionExpirationGeneralText: "Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",
25
- sessionExpirationGeneralButton: "DEVAM ET",
26
- sessionExpirationLoadingButton: "İŞLEME...",
27
- sessionExpirationEnd: "Oturumu sonlandır"
25
+ "FE.sessionExpirationHeader": "Oturum Uyarısı",
26
+ "FE.sessionExpirationTitle": "Oturumunuzun süresi dolmak üzere!",
27
+ "FE.sessionExpirationGeneralText": "Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",
28
+ "FE.sessionExpirationGeneralButton": "DEVAM ET",
29
+ "FE.sessionExpirationLoadingButton": "İŞLEME...",
30
+ "FE.sessionExpirationEnd": "Oturumu sonlandır"
28
31
  },
29
32
  fr: {
30
- sessionExpirationHeader: "Avertissement de session",
31
- sessionExpirationTitle: "Votre session est sur le point d’expirer !",
32
- sessionExpirationGeneralText: "Votre session se terminera automatiquement dans <b>{second} secondes</b>.",
33
- sessionExpirationGeneralButton: "Continuer la session",
34
- sessionExpirationLoadingButton: "Traitement en cours...",
35
- sessionExpirationEnd: "Terminer la session"
33
+ "FE.sessionExpirationHeader": "Avertissement de session",
34
+ "FE.sessionExpirationTitle": "Votre session est sur le point d’expirer !",
35
+ "FE.sessionExpirationGeneralText": "Votre session se terminera automatiquement dans <b>{second} secondes</b>.",
36
+ "FE.sessionExpirationGeneralButton": "Continuer la session",
37
+ "FE.sessionExpirationLoadingButton": "Traitement en cours...",
38
+ "FE.sessionExpirationEnd": "Terminer la session"
39
+ },
40
+ da: {
41
+ "FE.sessionExpirationHeader": "Sessionsadvarsel",
42
+ "FE.sessionExpirationTitle": "Din session er ved at udløbe!",
43
+ "FE.sessionExpirationGeneralText": "Din session afsluttes automatisk om <b>{second} sekunder</b>.",
44
+ "FE.sessionExpirationGeneralButton": "Fortsæt session",
45
+ "FE.sessionExpirationLoadingButton": "Behandler...",
46
+ "FE.sessionExpirationEnd": "Afslut session"
47
+ },
48
+ de: {
49
+ "FE.sessionExpirationHeader": "Sitzungswarnung",
50
+ "FE.sessionExpirationTitle": "Ihre Sitzung läuft bald ab!",
51
+ "FE.sessionExpirationGeneralText": "Ihre Sitzung wird automatisch in <b>{second} Sekunden</b> beendet.",
52
+ "FE.sessionExpirationGeneralButton": "Sitzung fortsetzen",
53
+ "FE.sessionExpirationLoadingButton": "Verarbeitung...",
54
+ "FE.sessionExpirationEnd": "Sitzung beenden"
55
+ },
56
+ nl: {
57
+ "FE.sessionExpirationHeader": "Sessiewaarschuwing",
58
+ "FE.sessionExpirationTitle": "Uw sessie staat op het punt te verlopen!",
59
+ "FE.sessionExpirationGeneralText": "Uw sessie wordt automatisch beëindigd over <b>{second} seconden</b>.",
60
+ "FE.sessionExpirationGeneralButton": "Sessie voortzetten",
61
+ "FE.sessionExpirationLoadingButton": "Verwerken...",
62
+ "FE.sessionExpirationEnd": "Sessie beëindigen"
36
63
  }
37
64
  };
38
65
  /*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
39
66
  const {
40
- entries: mn,
41
- setPrototypeOf: qt,
42
- isFrozen: Yn,
43
- getPrototypeOf: jn,
44
- getOwnPropertyDescriptor: Xn
67
+ entries: pn,
68
+ setPrototypeOf: Zt,
69
+ isFrozen: Vn,
70
+ getPrototypeOf: qn,
71
+ getOwnPropertyDescriptor: Zn
45
72
  } = Object;
46
73
  let {
47
74
  freeze: B,
48
75
  seal: te,
49
- create: pn
76
+ create: dn
50
77
  } = Object, {
51
- apply: dt,
52
- construct: ht
78
+ apply: ht,
79
+ construct: gt
53
80
  } = typeof Reflect != "undefined" && Reflect;
54
81
  B || (B = function(t) {
55
82
  return t;
@@ -57,87 +84,87 @@ B || (B = function(t) {
57
84
  te || (te = function(t) {
58
85
  return t;
59
86
  });
60
- dt || (dt = function(t, o, i) {
61
- return t.apply(o, i);
87
+ ht || (ht = function(t, i, o) {
88
+ return t.apply(i, o);
62
89
  });
63
- ht || (ht = function(t, o) {
64
- return new t(...o);
90
+ gt || (gt = function(t, i) {
91
+ return new t(...i);
65
92
  });
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);
93
+ const Qe = J(Array.prototype.forEach), Jt = J(Array.prototype.pop), Ue = J(Array.prototype.push), ot = J(String.prototype.toLowerCase), ut = J(String.prototype.toString), Kt = J(String.prototype.match), Be = J(String.prototype.replace), Jn = J(String.prototype.indexOf), Kn = J(String.prototype.trim), re = J(Object.prototype.hasOwnProperty), U = J(RegExp.prototype.test), ze = Qn(TypeError);
67
94
  function J(n) {
68
95
  return function(t) {
69
- for (var o = arguments.length, i = new Array(o > 1 ? o - 1 : 0), r = 1; r < o; r++)
70
- i[r - 1] = arguments[r];
71
- return dt(n, t, i);
96
+ for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), r = 1; r < i; r++)
97
+ o[r - 1] = arguments[r];
98
+ return ht(n, t, o);
72
99
  };
73
100
  }
74
- function Zn(n) {
101
+ function Qn(n) {
75
102
  return function() {
76
- for (var t = arguments.length, o = new Array(t), i = 0; i < t; i++)
77
- o[i] = arguments[i];
78
- return ht(n, o);
103
+ for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++)
104
+ i[o] = arguments[o];
105
+ return gt(n, i);
79
106
  };
80
107
  }
81
108
  function d(n, t) {
82
- let o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ot;
83
- qt && qt(n, null);
84
- let i = t.length;
85
- for (; i--; ) {
86
- let r = t[i];
109
+ let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ot;
110
+ Zt && Zt(n, null);
111
+ let o = t.length;
112
+ for (; o--; ) {
113
+ let r = t[o];
87
114
  if (typeof r == "string") {
88
- const f = o(r);
89
- f !== r && (Yn(t) || (t[i] = f), r = f);
115
+ const f = i(r);
116
+ f !== r && (Vn(t) || (t[o] = f), r = f);
90
117
  }
91
118
  n[r] = !0;
92
119
  }
93
120
  return n;
94
121
  }
95
- function Jn(n) {
122
+ function $n(n) {
96
123
  for (let t = 0; t < n.length; t++)
97
124
  re(n, t) || (n[t] = null);
98
125
  return n;
99
126
  }
100
- function ve(n) {
101
- const t = pn(null);
102
- for (const [o, i] of mn(n))
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);
127
+ function Le(n) {
128
+ const t = dn(null);
129
+ for (const [i, o] of pn(n))
130
+ re(n, i) && (Array.isArray(o) ? t[i] = $n(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = Le(o) : t[i] = o);
104
131
  return t;
105
132
  }
106
- function ze(n, t) {
133
+ function He(n, t) {
107
134
  for (; n !== null; ) {
108
- const i = Xn(n, t);
109
- if (i) {
110
- if (i.get)
111
- return J(i.get);
112
- if (typeof i.value == "function")
113
- return J(i.value);
135
+ const o = Zn(n, t);
136
+ if (o) {
137
+ if (o.get)
138
+ return J(o.get);
139
+ if (typeof o.value == "function")
140
+ return J(o.value);
114
141
  }
115
- n = jn(n);
142
+ n = qn(n);
116
143
  }
117
- function o() {
144
+ function i() {
118
145
  return null;
119
146
  }
120
- return o;
147
+ return i;
121
148
  }
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(
149
+ const Qt = 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"]), ft = 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"]), mt = 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"]), ei = 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"]), pt = 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"]), ti = B(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), $t = B(["#text"]), en = 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"]), dt = 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"]), tn = 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"]), $e = B(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), ni = te(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ii = te(/<%[\w\W]*|[\w\W]*%>/gm), oi = te(/\${[\w\W]*}/gm), si = te(/^data-[\-\w.\u00B7-\uFFFF]/), ri = te(/^aria-[\-\w]+$/), hn = te(
123
150
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
124
151
  // eslint-disable-line no-useless-escape
125
- ), io = te(/^(?:\w+script|data):/i), so = te(
152
+ ), ai = te(/^(?:\w+script|data):/i), li = te(
126
153
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
127
154
  // eslint-disable-line no-control-regex
128
- ), hn = te(/^html$/i), ro = te(/^[a-z][.\w]*(-[.\w]+)+$/i);
129
- var tn = /* @__PURE__ */ Object.freeze({
155
+ ), gn = te(/^html$/i), ci = te(/^[a-z][.\w]*(-[.\w]+)+$/i);
156
+ var nn = /* @__PURE__ */ Object.freeze({
130
157
  __proto__: null,
131
- MUSTACHE_EXPR: $n,
132
- ERB_EXPR: eo,
133
- TMPLIT_EXPR: to,
134
- DATA_ATTR: no,
135
- ARIA_ATTR: oo,
136
- IS_ALLOWED_URI: dn,
137
- IS_SCRIPT_OR_DATA: io,
138
- ATTR_WHITESPACE: so,
139
- DOCTYPE_NAME: hn,
140
- CUSTOM_ELEMENT: ro
158
+ MUSTACHE_EXPR: ni,
159
+ ERB_EXPR: ii,
160
+ TMPLIT_EXPR: oi,
161
+ DATA_ATTR: si,
162
+ ARIA_ATTR: ri,
163
+ IS_ALLOWED_URI: hn,
164
+ IS_SCRIPT_OR_DATA: ai,
165
+ ATTR_WHITESPACE: li,
166
+ DOCTYPE_NAME: gn,
167
+ CUSTOM_ELEMENT: ci
141
168
  });
142
169
  const Ge = {
143
170
  element: 1,
@@ -146,62 +173,62 @@ const Ge = {
146
173
  progressingInstruction: 7,
147
174
  comment: 8,
148
175
  document: 9
149
- }, ao = function() {
176
+ }, ui = function() {
150
177
  return typeof window == "undefined" ? null : window;
151
- }, lo = function(t, o) {
178
+ }, fi = function(t, i) {
152
179
  if (typeof t != "object" || typeof t.createPolicy != "function")
153
180
  return null;
154
- let i = null;
181
+ let o = null;
155
182
  const r = "data-tt-policy-suffix";
156
- o && o.hasAttribute(r) && (i = o.getAttribute(r));
157
- const f = "dompurify" + (i ? "#" + i : "");
183
+ i && i.hasAttribute(r) && (o = i.getAttribute(r));
184
+ const f = "dompurify" + (o ? "#" + o : "");
158
185
  try {
159
186
  return t.createPolicy(f, {
160
- createHTML(_) {
161
- return _;
187
+ createHTML(E) {
188
+ return E;
162
189
  },
163
- createScriptURL(_) {
164
- return _;
190
+ createScriptURL(E) {
191
+ return E;
165
192
  }
166
193
  });
167
- } catch (_) {
194
+ } catch (E) {
168
195
  return console.warn("TrustedTypes policy " + f + " could not be created."), null;
169
196
  }
170
197
  };
171
- function gn() {
172
- let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ao();
173
- const t = (c) => gn(c);
198
+ function En() {
199
+ let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ui();
200
+ const t = (c) => En(c);
174
201
  if (t.version = "3.1.6", t.removed = [], !n || !n.document || n.document.nodeType !== Ge.document)
175
202
  return t.isSupported = !1, t;
176
203
  let {
177
- document: o
204
+ document: i
178
205
  } = n;
179
- const i = o, r = i.currentScript, {
206
+ const o = i, r = o.currentScript, {
180
207
  DocumentFragment: f,
181
- HTMLTemplateElement: _,
208
+ HTMLTemplateElement: E,
182
209
  Node: S,
183
- Element: y,
184
- NodeFilter: E,
210
+ Element: w,
211
+ NodeFilter: _,
185
212
  NamedNodeMap: X = n.NamedNodeMap || n.MozNamedAttrMap,
186
213
  HTMLFormElement: ne,
187
214
  DOMParser: Ce,
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");
190
- if (typeof _ == "function") {
191
- const c = o.createElement("template");
192
- c.content && c.content.ownerDocument && (o = c.content.ownerDocument);
215
+ trustedTypes: z
216
+ } = n, H = w.prototype, ye = He(H, "cloneNode"), ae = He(H, "remove"), G = He(H, "nextSibling"), de = He(H, "childNodes"), K = He(H, "parentNode");
217
+ if (typeof E == "function") {
218
+ const c = i.createElement("template");
219
+ c.content && c.content.ownerDocument && (i = c.content.ownerDocument);
193
220
  }
194
- let g, A = "";
221
+ let g, x = "";
195
222
  const {
196
- implementation: oe,
223
+ implementation: ie,
197
224
  createNodeIterator: le,
198
225
  createDocumentFragment: he,
199
226
  getElementsByTagName: W
200
- } = o, {
201
- importNode: ie
202
- } = i;
203
- let L = {};
204
- t.isSupported = typeof mn == "function" && typeof K == "function" && oe && oe.createHTMLDocument !== void 0;
227
+ } = i, {
228
+ importNode: oe
229
+ } = o;
230
+ let v = {};
231
+ t.isSupported = typeof pn == "function" && typeof K == "function" && ie && ie.createHTMLDocument !== void 0;
205
232
  const {
206
233
  MUSTACHE_EXPR: ce,
207
234
  ERB_EXPR: V,
@@ -210,15 +237,15 @@ function gn() {
210
237
  ARIA_ATTR: D,
211
238
  IS_SCRIPT_OR_DATA: I,
212
239
  ATTR_WHITESPACE: $,
213
- CUSTOM_ELEMENT: Le
214
- } = tn;
240
+ CUSTOM_ELEMENT: ve
241
+ } = nn;
215
242
  let {
216
243
  IS_ALLOWED_URI: q
217
- } = tn, m = null;
218
- const Se = d({}, [...Kt, ...ut, ...ft, ...mt, ...Qt]);
219
- let x = null;
220
- const Ae = d({}, [...$t, ...pt, ...en, ...Qe]);
221
- let T = Object.seal(pn(null, {
244
+ } = nn, m = null;
245
+ const Se = d({}, [...Qt, ...ft, ...mt, ...pt, ...$t]);
246
+ let A = null;
247
+ const xe = d({}, [...en, ...dt, ...tn, ...$e]);
248
+ let T = Object.seal(dn(null, {
222
249
  tagNameCheck: {
223
250
  writable: !0,
224
251
  configurable: !1,
@@ -237,59 +264,59 @@ function gn() {
237
264
  enumerable: !0,
238
265
  value: !1
239
266
  }
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;
267
+ })), L = null, a = null, h = !0, F = !0, M = !1, Y = !0, Ee = !1, ee = !0, ue = !1, y = !1, C = !1, fe = !1, Xe = !1, Ve = !1, Et = !0, _t = !1;
241
268
  const _n = "user-content-";
242
- let it = !0, Ie = !1, Oe = {}, ke = null;
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"]);
244
- let Tt = null;
245
- const yt = d({}, ["audio", "video", "img", "source", "image", "track"]);
246
- let st = null;
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);
250
- let Pe = null;
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) {
269
+ let st = !0, Ie = !1, ke = {}, Oe = null;
270
+ const Tt = 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"]);
271
+ let wt = null;
272
+ const bt = d({}, ["audio", "video", "img", "source", "image", "track"]);
273
+ let rt = null;
274
+ const yt = d({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), qe = "http://www.w3.org/1998/Math/MathML", Ze = "http://www.w3.org/2000/svg", _e = "http://www.w3.org/1999/xhtml";
275
+ let De = _e, at = !1, lt = null;
276
+ const Tn = d({}, [qe, Ze, _e], ut);
277
+ let Fe = null;
278
+ const wn = ["application/xhtml+xml", "text/html"], bn = "text/html";
279
+ let k = null, Ne = null;
280
+ const yn = i.createElement("form"), St = function(e) {
254
281
  return e instanceof RegExp || e instanceof Function;
255
- }, lt = function() {
282
+ }, ct = function() {
256
283
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
257
284
  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),
285
+ if ((!e || typeof e != "object") && (e = {}), e = Le(e), Fe = // eslint-disable-next-line unicorn/prefer-includes
286
+ wn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? bn : e.PARSER_MEDIA_TYPE, k = Fe === "application/xhtml+xml" ? ut : ot, m = re(e, "ALLOWED_TAGS") ? d({}, e.ALLOWED_TAGS, k) : Se, A = re(e, "ALLOWED_ATTR") ? d({}, e.ALLOWED_ATTR, k) : xe, lt = re(e, "ALLOWED_NAMESPACES") ? d({}, e.ALLOWED_NAMESPACES, ut) : Tn, rt = re(e, "ADD_URI_SAFE_ATTR") ? d(
287
+ Le(yt),
261
288
  // eslint-disable-line indent
262
289
  e.ADD_URI_SAFE_ATTR,
263
290
  // eslint-disable-line indent
264
- O
291
+ k
265
292
  // eslint-disable-line indent
266
- ) : wt, Tt = re(e, "ADD_DATA_URI_TAGS") ? d(
267
- ve(yt),
293
+ ) : yt, wt = re(e, "ADD_DATA_URI_TAGS") ? d(
294
+ Le(bt),
268
295
  // eslint-disable-line indent
269
296
  e.ADD_DATA_URI_TAGS,
270
297
  // eslint-disable-line indent
271
- O
298
+ k
272
299
  // eslint-disable-line indent
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) {
300
+ ) : bt, Oe = re(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, k) : Tt, L = re(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, k) : {}, a = re(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, k) : {}, ke = re(e, "USE_PROFILES") ? e.USE_PROFILES : !1, h = e.ALLOW_ARIA_ATTR !== !1, F = e.ALLOW_DATA_ATTR !== !1, M = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Y = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ee = e.SAFE_FOR_TEMPLATES || !1, ee = e.SAFE_FOR_XML !== !1, ue = e.WHOLE_DOCUMENT || !1, fe = e.RETURN_DOM || !1, Xe = e.RETURN_DOM_FRAGMENT || !1, Ve = e.RETURN_TRUSTED_TYPE || !1, C = e.FORCE_BODY || !1, Et = e.SANITIZE_DOM !== !1, _t = e.SANITIZE_NAMED_PROPS || !1, st = e.KEEP_CONTENT !== !1, Ie = e.IN_PLACE || !1, q = e.ALLOWED_URI_REGEXP || hn, De = e.NAMESPACE || _e, T = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && St(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), Ee && (F = !1), Xe && (fe = !0), ke && (m = d({}, $t), A = [], ke.html === !0 && (d(m, Qt), d(A, en)), ke.svg === !0 && (d(m, ft), d(A, dt), d(A, $e)), ke.svgFilters === !0 && (d(m, mt), d(A, dt), d(A, $e)), ke.mathMl === !0 && (d(m, pt), d(A, tn), d(A, $e))), e.ADD_TAGS && (m === Se && (m = Le(m)), d(m, e.ADD_TAGS, k)), e.ADD_ATTR && (A === xe && (A = Le(A)), d(A, e.ADD_ATTR, k)), e.ADD_URI_SAFE_ATTR && d(rt, e.ADD_URI_SAFE_ATTR, k), e.FORBID_CONTENTS && (Oe === Tt && (Oe = Le(Oe)), d(Oe, e.FORBID_CONTENTS, k)), st && (m["#text"] = !0), ue && d(m, ["html", "head", "body"]), m.table && (d(m, ["tbody"]), delete L.tbody), e.TRUSTED_TYPES_POLICY) {
274
301
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
275
- throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
302
+ throw ze('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
276
303
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
277
- throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
278
- g = e.TRUSTED_TYPES_POLICY, A = g.createHTML("");
304
+ throw ze('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
305
+ g = e.TRUSTED_TYPES_POLICY, x = g.createHTML("");
279
306
  } else
280
- g === void 0 && (g = lo(F, r)), g !== null && typeof A == "string" && (A = g.createHTML(""));
307
+ g === void 0 && (g = fi(z, r)), g !== null && typeof x == "string" && (x = g.createHTML(""));
281
308
  B && B(e), Ne = e;
282
309
  }
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) {
310
+ }, xt = d({}, ["mi", "mo", "mn", "ms", "mtext"]), At = d({}, ["foreignobject", "annotation-xml"]), Sn = d({}, ["title", "style", "font", "a", "script"]), Ct = d({}, [...ft, ...mt, ...ei]), vt = d({}, [...pt, ...ti]), xn = function(e) {
284
311
  let s = K(e);
285
312
  (!s || !s.tagName) && (s = {
286
313
  namespaceURI: De,
287
314
  tagName: "template"
288
315
  });
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;
316
+ const l = ot(e.tagName), b = ot(s.tagName);
317
+ return lt[e.namespaceURI] ? e.namespaceURI === Ze ? s.namespaceURI === _e ? l === "svg" : s.namespaceURI === qe ? l === "svg" && (b === "annotation-xml" || xt[b]) : !!Ct[l] : e.namespaceURI === qe ? s.namespaceURI === _e ? l === "math" : s.namespaceURI === Ze ? l === "math" && At[b] : !!vt[l] : e.namespaceURI === _e ? s.namespaceURI === Ze && !At[b] || s.namespaceURI === qe && !xt[b] ? !1 : !vt[l] && (Sn[l] || !Ct[l]) : !!(Fe === "application/xhtml+xml" && lt[e.namespaceURI]) : !1;
291
318
  }, me = function(e) {
292
- He(t.removed, {
319
+ Ue(t.removed, {
293
320
  element: e
294
321
  });
295
322
  try {
@@ -297,20 +324,20 @@ function gn() {
297
324
  } catch (s) {
298
325
  ae(e);
299
326
  }
300
- }, Ze = function(e, s) {
327
+ }, Je = function(e, s) {
301
328
  try {
302
- He(t.removed, {
329
+ Ue(t.removed, {
303
330
  attribute: s.getAttributeNode(e),
304
331
  from: s
305
332
  });
306
333
  } catch (l) {
307
- He(t.removed, {
334
+ Ue(t.removed, {
308
335
  attribute: null,
309
336
  from: s
310
337
  });
311
338
  }
312
- if (s.removeAttribute(e), e === "is" && !x[e])
313
- if (fe || je)
339
+ if (s.removeAttribute(e), e === "is" && !A[e])
340
+ if (fe || Xe)
314
341
  try {
315
342
  me(s);
316
343
  } catch (l) {
@@ -325,90 +352,90 @@ function gn() {
325
352
  if (C)
326
353
  e = "<remove></remove>" + e;
327
354
  else {
328
- const k = Jt(e, /^[\r\n\t ]+/);
329
- l = k && k[0];
355
+ const O = Kt(e, /^[\r\n\t ]+/);
356
+ l = O && O[0];
330
357
  }
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)
358
+ Fe === "application/xhtml+xml" && De === _e && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
359
+ const b = g ? g.createHTML(e) : e;
360
+ if (De === _e)
334
361
  try {
335
- s = new Ce().parseFromString(w, Pe);
336
- } catch (k) {
362
+ s = new Ce().parseFromString(b, Fe);
363
+ } catch (O) {
337
364
  }
338
365
  if (!s || !s.documentElement) {
339
- s = oe.createDocument(De, "template", null);
366
+ s = ie.createDocument(De, "template", null);
340
367
  try {
341
- s.documentElement.innerHTML = rt ? A : w;
342
- } catch (k) {
368
+ s.documentElement.innerHTML = at ? x : b;
369
+ } catch (O) {
343
370
  }
344
371
  }
345
372
  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) {
373
+ return e && l && N.insertBefore(i.createTextNode(l), N.childNodes[0] || null), De === _e ? W.call(s, ue ? "html" : "body")[0] : ue ? s.documentElement : N;
374
+ }, Mt = function(e) {
348
375
  return le.call(
349
376
  e.ownerDocument || e,
350
377
  e,
351
378
  // eslint-disable-next-line no-bitwise
352
- E.SHOW_ELEMENT | E.SHOW_COMMENT | E.SHOW_TEXT | E.SHOW_PROCESSING_INSTRUCTION | E.SHOW_CDATA_SECTION,
379
+ _.SHOW_ELEMENT | _.SHOW_COMMENT | _.SHOW_TEXT | _.SHOW_PROCESSING_INSTRUCTION | _.SHOW_CDATA_SECTION,
353
380
  null
354
381
  );
355
- }, Mt = function(e) {
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");
357
382
  }, Rt = function(e) {
383
+ 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");
384
+ }, kt = function(e) {
358
385
  return typeof S == "function" && e instanceof S;
359
386
  }, Te = function(e, s, l) {
360
- L[e] && Ke(L[e], (w) => {
361
- w.call(t, s, l, Ne);
387
+ v[e] && Qe(v[e], (b) => {
388
+ b.call(t, s, l, Ne);
362
389
  });
363
390
  }, Ot = function(e) {
364
391
  let s = null;
365
- if (Te("beforeSanitizeElements", e, null), Mt(e))
392
+ if (Te("beforeSanitizeElements", e, null), Rt(e))
366
393
  return me(e), !0;
367
- const l = O(e.nodeName);
394
+ const l = k(e.nodeName);
368
395
  if (Te("uponSanitizeElement", e, {
369
396
  tagName: l,
370
397
  allowedTags: m
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))
398
+ }), e.hasChildNodes() && !kt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === Ge.progressingInstruction || ee && e.nodeType === Ge.comment && U(/<[/\w]/g, e.data))
372
399
  return me(e), !0;
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)))
400
+ if (!m[l] || L[l]) {
401
+ if (!L[l] && Nt(l) && (T.tagNameCheck instanceof RegExp && U(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
375
402
  return !1;
376
- if (it && !ke[l]) {
377
- const w = K(e) || e.parentNode, N = de(e) || e.childNodes;
378
- if (N && w) {
379
- const k = N.length;
380
- for (let j = k - 1; j >= 0; --j) {
381
- const pe = be(N[j], !0);
382
- pe.__removalCount = (e.__removalCount || 0) + 1, w.insertBefore(pe, G(e));
403
+ if (st && !Oe[l]) {
404
+ const b = K(e) || e.parentNode, N = de(e) || e.childNodes;
405
+ if (N && b) {
406
+ const O = N.length;
407
+ for (let j = O - 1; j >= 0; --j) {
408
+ const pe = ye(N[j], !0);
409
+ pe.__removalCount = (e.__removalCount || 0) + 1, b.insertBefore(pe, G(e));
383
410
  }
384
411
  }
385
412
  }
386
413
  return me(e), !0;
387
414
  }
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, " ");
390
- }), e.textContent !== s && (He(t.removed, {
415
+ return e instanceof w && !xn(e) || (l === "noscript" || l === "noembed" || l === "noframes") && U(/<\/no(script|embed|frames)/i, e.innerHTML) ? (me(e), !0) : (Ee && e.nodeType === Ge.text && (s = e.textContent, Qe([ce, V, ge], (b) => {
416
+ s = Be(s, b, " ");
417
+ }), e.textContent !== s && (Ue(t.removed, {
391
418
  element: e.cloneNode()
392
419
  }), e.textContent = s)), Te("afterSanitizeElements", e, null), !1);
393
- }, kt = function(e, s, l) {
394
- if (gt && (s === "id" || s === "name") && (l in o || l in wn))
420
+ }, Dt = function(e, s, l) {
421
+ if (Et && (s === "id" || s === "name") && (l in i || l in yn))
395
422
  return !1;
396
- if (!(P && !a[s] && H(Q, s))) {
397
- if (!(h && H(D, s))) {
398
- if (!x[s] || a[s]) {
423
+ if (!(F && !a[s] && U(Q, s))) {
424
+ if (!(h && U(D, s))) {
425
+ if (!A[s] || a[s]) {
399
426
  if (
400
427
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
401
428
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
402
429
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
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
430
+ !(Nt(e) && (T.tagNameCheck instanceof RegExp && U(T.tagNameCheck, e) || T.tagNameCheck instanceof Function && T.tagNameCheck(e)) && (T.attributeNameCheck instanceof RegExp && U(T.attributeNameCheck, s) || T.attributeNameCheck instanceof Function && T.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
404
431
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
405
- s === "is" && T.allowCustomizedBuiltInElements && (T.tagNameCheck instanceof RegExp && H(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
432
+ s === "is" && T.allowCustomizedBuiltInElements && (T.tagNameCheck instanceof RegExp && U(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
406
433
  )
407
434
  return !1;
408
- } else if (!st[s]) {
409
- if (!H(q, 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, $, "")))) {
435
+ } else if (!rt[s]) {
436
+ if (!U(q, Be(l, $, ""))) {
437
+ if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Jn(l, "data:") === 0 && wt[e])) {
438
+ if (!(M && !U(I, Be(l, $, "")))) {
412
439
  if (l)
413
440
  return !1;
414
441
  }
@@ -418,9 +445,9 @@ function gn() {
418
445
  }
419
446
  }
420
447
  return !0;
421
- }, Dt = function(e) {
422
- return e !== "annotation-xml" && Jt(e, Le);
423
448
  }, Nt = function(e) {
449
+ return e !== "annotation-xml" && Kt(e, ve);
450
+ }, It = function(e) {
424
451
  Te("beforeSanitizeAttributes", e, null);
425
452
  const {
426
453
  attributes: s
@@ -431,44 +458,44 @@ function gn() {
431
458
  attrName: "",
432
459
  attrValue: "",
433
460
  keepAttr: !0,
434
- allowedAttributes: x
461
+ allowedAttributes: A
435
462
  };
436
- let w = s.length;
437
- for (; w--; ) {
438
- const N = s[w], {
439
- name: k,
463
+ let b = s.length;
464
+ for (; b--; ) {
465
+ const N = s[b], {
466
+ name: O,
440
467
  namespaceURI: j,
441
468
  value: pe
442
- } = N, Ue = O(k);
443
- let U = k === "value" ? pe : qn(pe);
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)) {
445
- Ze(k, e);
469
+ } = N, Pe = k(O);
470
+ let P = O === "value" ? pe : Kn(pe);
471
+ if (l.attrName = Pe, l.attrValue = P, l.keepAttr = !0, l.forceKeepAttr = void 0, Te("uponSanitizeAttribute", e, l), P = l.attrValue, ee && U(/((--!?|])>)|<\/(style|title)/i, P)) {
472
+ Je(O, e);
446
473
  continue;
447
474
  }
448
- if (l.forceKeepAttr || (Ze(k, e), !l.keepAttr))
475
+ if (l.forceKeepAttr || (Je(O, e), !l.keepAttr))
449
476
  continue;
450
- if (!Y && H(/\/>/i, U)) {
451
- Ze(k, e);
477
+ if (!Y && U(/\/>/i, P)) {
478
+ Je(O, e);
452
479
  continue;
453
480
  }
454
- _e && Ke([ce, V, ge], (Pt) => {
455
- U = Be(U, Pt, " ");
481
+ Ee && Qe([ce, V, ge], (Pt) => {
482
+ P = Be(P, Pt, " ");
456
483
  });
457
- const It = O(e.nodeName);
458
- if (kt(It, Ue, U)) {
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)) {
484
+ const Ft = k(e.nodeName);
485
+ if (Dt(Ft, Pe, P)) {
486
+ if (_t && (Pe === "id" || Pe === "name") && (Je(O, e), P = _n + P), g && typeof z == "object" && typeof z.getAttributeType == "function" && !j)
487
+ switch (z.getAttributeType(Ft, Pe)) {
461
488
  case "TrustedHTML": {
462
- U = g.createHTML(U);
489
+ P = g.createHTML(P);
463
490
  break;
464
491
  }
465
492
  case "TrustedScriptURL": {
466
- U = g.createScriptURL(U);
493
+ P = g.createScriptURL(P);
467
494
  break;
468
495
  }
469
496
  }
470
497
  try {
471
- j ? e.setAttributeNS(j, k, U) : e.setAttribute(k, U), Mt(e) ? me(e) : Zt(t.removed);
498
+ j ? e.setAttributeNS(j, O, P) : e.setAttribute(O, P), Rt(e) ? me(e) : Jt(t.removed);
472
499
  } catch (Pt) {
473
500
  }
474
501
  }
@@ -476,155 +503,155 @@ function gn() {
476
503
  Te("afterSanitizeAttributes", e, null);
477
504
  }, An = function c(e) {
478
505
  let s = null;
479
- const l = vt(e);
506
+ const l = Mt(e);
480
507
  for (Te("beforeSanitizeShadowDOM", e, null); s = l.nextNode(); )
481
- Te("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof f && c(s.content), Nt(s));
508
+ Te("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof f && c(s.content), It(s));
482
509
  Te("afterSanitizeShadowDOM", e, null);
483
510
  };
484
511
  return t.sanitize = function(c) {
485
- let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null, w = null, N = null;
486
- if (rt = !c, rt && (c = "<!-->"), typeof c != "string" && !Rt(c))
512
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null, b = null, N = null;
513
+ if (at = !c, at && (c = "<!-->"), typeof c != "string" && !kt(c))
487
514
  if (typeof c.toString == "function") {
488
515
  if (c = c.toString(), typeof c != "string")
489
- throw Fe("dirty is not a string, aborting");
516
+ throw ze("dirty is not a string, aborting");
490
517
  } else
491
- throw Fe("toString is not a function");
518
+ throw ze("toString is not a function");
492
519
  if (!t.isSupported)
493
520
  return c;
494
- if (b || lt(e), t.removed = [], typeof c == "string" && (Ie = !1), Ie) {
521
+ if (y || ct(e), t.removed = [], typeof c == "string" && (Ie = !1), Ie) {
495
522
  if (c.nodeName) {
496
- const pe = O(c.nodeName);
497
- if (!m[pe] || v[pe])
498
- throw Fe("root node is forbidden and cannot be sanitized in-place");
523
+ const pe = k(c.nodeName);
524
+ if (!m[pe] || L[pe])
525
+ throw ze("root node is forbidden and cannot be sanitized in-place");
499
526
  }
500
527
  } else if (c instanceof S)
501
528
  s = Lt("<!---->"), l = s.ownerDocument.importNode(c, !0), l.nodeType === Ge.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? s = l : s.appendChild(l);
502
529
  else {
503
- if (!fe && !_e && !ue && // eslint-disable-next-line unicorn/prefer-includes
530
+ if (!fe && !Ee && !ue && // eslint-disable-next-line unicorn/prefer-includes
504
531
  c.indexOf("<") === -1)
505
- return g && Xe ? g.createHTML(c) : c;
532
+ return g && Ve ? g.createHTML(c) : c;
506
533
  if (s = Lt(c), !s)
507
- return fe ? null : Xe ? A : "";
534
+ return fe ? null : Ve ? x : "";
508
535
  }
509
536
  s && C && me(s.firstChild);
510
- const k = vt(Ie ? c : s);
511
- for (; w = k.nextNode(); )
512
- Ot(w) || (w.content instanceof f && An(w.content), Nt(w));
537
+ const O = Mt(Ie ? c : s);
538
+ for (; b = O.nextNode(); )
539
+ Ot(b) || (b.content instanceof f && An(b.content), It(b));
513
540
  if (Ie)
514
541
  return c;
515
542
  if (fe) {
516
- if (je)
543
+ if (Xe)
517
544
  for (N = he.call(s.ownerDocument); s.firstChild; )
518
545
  N.appendChild(s.firstChild);
519
546
  else
520
547
  N = s;
521
- return (x.shadowroot || x.shadowrootmode) && (N = ie.call(i, N, !0)), N;
548
+ return (A.shadowroot || A.shadowrootmode) && (N = oe.call(o, N, !0)), N;
522
549
  }
523
550
  let j = ue ? s.outerHTML : s.innerHTML;
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 + `>
525
- ` + j), _e && Ke([ce, V, ge], (pe) => {
551
+ return ue && m["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && U(gn, s.ownerDocument.doctype.name) && (j = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
552
+ ` + j), Ee && Qe([ce, V, ge], (pe) => {
526
553
  j = Be(j, pe, " ");
527
- }), g && Xe ? g.createHTML(j) : j;
554
+ }), g && Ve ? g.createHTML(j) : j;
528
555
  }, t.setConfig = function() {
529
556
  let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
530
- lt(c), b = !0;
557
+ ct(c), y = !0;
531
558
  }, t.clearConfig = function() {
532
- Ne = null, b = !1;
559
+ Ne = null, y = !1;
533
560
  }, t.isValidAttribute = function(c, e, s) {
534
- Ne || lt({});
535
- const l = O(c), w = O(e);
536
- return kt(l, w, s);
561
+ Ne || ct({});
562
+ const l = k(c), b = k(e);
563
+ return Dt(l, b, s);
537
564
  }, t.addHook = function(c, e) {
538
- typeof e == "function" && (L[c] = L[c] || [], He(L[c], e));
565
+ typeof e == "function" && (v[c] = v[c] || [], Ue(v[c], e));
539
566
  }, t.removeHook = function(c) {
540
- if (L[c])
541
- return Zt(L[c]);
567
+ if (v[c])
568
+ return Jt(v[c]);
542
569
  }, t.removeHooks = function(c) {
543
- L[c] && (L[c] = []);
570
+ v[c] && (v[c] = []);
544
571
  }, t.removeAllHooks = function() {
545
- L = {};
572
+ v = {};
546
573
  }, t;
547
574
  }
548
- var nn = gn();
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}');
575
+ var on = En();
576
+ function mi(n) {
577
+ 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}');
551
578
  }
552
- const uo = (n) => ({}), on = (n) => ({}), fo = (n) => ({}), sn = (n) => ({}), mo = (n) => ({}), rn = (n) => ({}), po = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
553
- function ln(n) {
554
- let t, o, i, r, f, _, S, y, E, X, ne, Ce, F = (
579
+ const pi = (n) => ({}), sn = (n) => ({}), di = (n) => ({}), rn = (n) => ({}), hi = (n) => ({}), an = (n) => ({}), gi = (n) => ({}), ln = (n) => ({ class: "CashierSessionExpirationIcon" });
580
+ function cn(n) {
581
+ let t, i, o, r, f, E, S, w, _, X, ne, Ce, z = (
555
582
  /*$_*/
556
- n[8]("sessionExpirationHeader") + ""
557
- ), z, be, ae, G, de, K, g, A, oe, le, he, W, ie, L, ce = (
583
+ n[8]("FE.sessionExpirationHeader") + ""
584
+ ), H, ye, ae, G, de, K, g, x, ie, le, he, W, oe, v, ce = (
558
585
  /*$_*/
559
- n[8]("sessionExpirationEnd") + ""
560
- ), V, ge, Q, D, I, $, Le, q, m, Se, x;
561
- const Ae = (
586
+ n[8]("FE.sessionExpirationEnd") + ""
587
+ ), V, ge, Q, D, I, $, ve, q, m, Se, A;
588
+ const xe = (
562
589
  /*#slots*/
563
590
  n[23].icon
564
- ), T = $e(
565
- Ae,
591
+ ), T = et(
592
+ xe,
566
593
  n,
567
594
  /*$$scope*/
568
595
  n[22],
569
- an
570
- ), v = T || ho(n), a = (
596
+ ln
597
+ ), L = T || Ei(n), a = (
571
598
  /*#slots*/
572
599
  n[23].title
573
- ), h = $e(
600
+ ), h = et(
574
601
  a,
575
602
  n,
576
603
  /*$$scope*/
577
604
  n[22],
578
- rn
579
- ), P = (
605
+ an
606
+ ), F = (
580
607
  /*#slots*/
581
608
  n[23].text
582
- ), M = $e(
583
- P,
609
+ ), M = et(
610
+ F,
584
611
  n,
585
612
  /*$$scope*/
586
613
  n[22],
587
- sn
588
- ), Y = M || go(n), _e = [Eo, _o], ee = [];
589
- function ue(b, C) {
614
+ rn
615
+ ), Y = M || _i(n), Ee = [wi, Ti], ee = [];
616
+ function ue(y, C) {
590
617
  return (
591
618
  /*showLoaderButton*/
592
- b[6] ? 0 : 1
619
+ y[6] ? 0 : 1
593
620
  );
594
621
  }
595
- return D = ue(n), I = ee[D] = _e[D](n), {
622
+ return D = ue(n), I = ee[D] = Ee[D](n), {
596
623
  c() {
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(() => (
624
+ t = R("div"), i = R("div"), o = R("div"), r = R("div"), f = se("svg"), E = se("defs"), S = se("mask"), w = se("circle"), _ = se("rect"), X = se("circle"), ne = se("circle"), Ce = we(), H = Ye(z), ye = we(), ae = R("div"), G = se("svg"), de = se("path"), K = we(), g = R("div"), x = R("div"), L && L.c(), ie = we(), h && h.c(), le = we(), Y && Y.c(), he = we(), W = R("div"), oe = R("button"), v = R("span"), V = Ye(ce), ge = we(), Q = R("button"), I.c(), u(w, "cx", "100"), u(w, "cy", "100"), u(w, "r", "90"), u(_, "x", "88"), u(_, "y", "40"), u(_, "width", "24"), u(_, "height", "80"), u(_, "rx", "12"), u(_, "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(o, "class", "CashierSessionExpirationModalHeader"), u(v, "class", "CashierSessionExpirationButtonText"), u(oe, "type", "button"), u(oe, "class", "ModalButton Secondary"), u(Q, "type", "button"), u(Q, "class", $ = "ModalButton Primary " + /*showLoaderButton*/
625
+ (n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(x, "class", "CashierSessionExpiration"), u(g, "class", "CashierSessionExpirationModalContainer"), u(i, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), zt(() => (
599
626
  /*div7_elementresize_handler*/
600
627
  n[25].call(t)
601
628
  ));
602
629
  },
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(
630
+ m(y, C) {
631
+ Re(y, t, C), p(t, i), p(i, o), p(o, r), p(r, f), p(f, E), p(E, S), p(S, w), p(S, _), p(S, X), p(f, ne), p(r, Ce), p(r, H), p(o, ye), p(o, ae), p(ae, G), p(G, de), p(i, K), p(i, g), p(g, x), L && L.m(x, null), p(x, ie), h && h.m(x, null), p(x, le), Y && Y.m(x, null), p(x, he), p(x, W), p(W, oe), p(oe, v), p(v, V), p(W, ge), p(W, Q), ee[D].m(Q, null), n[24](x), ve = Un(
605
632
  t,
606
633
  /*div7_elementresize_handler*/
607
634
  n[25].bind(t)
608
- ), m = !0, Se || (x = [
609
- Je(
635
+ ), m = !0, Se || (A = [
636
+ Ke(
610
637
  G,
611
638
  "click",
612
639
  /*goToHome*/
613
640
  n[11]
614
641
  ),
615
- Je(
616
- ie,
642
+ Ke(
643
+ oe,
617
644
  "click",
618
645
  /*goToHome*/
619
646
  n[11]
620
647
  ),
621
- Je(
648
+ Ke(
622
649
  Q,
623
650
  "click",
624
651
  /*renewSession*/
625
652
  n[9]
626
653
  ),
627
- Je(
654
+ Ke(
628
655
  t,
629
656
  "click",
630
657
  /*outOfModalClick*/
@@ -632,311 +659,311 @@ function ln(n) {
632
659
  )
633
660
  ], Se = !0);
634
661
  },
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*/
639
- 4194304) && et(
662
+ p(y, C) {
663
+ n = y, (!m || C[0] & /*$_*/
664
+ 256) && z !== (z = /*$_*/
665
+ n[8]("FE.sessionExpirationHeader") + "") && We(H, z), T ? T.p && (!m || C[0] & /*$$scope*/
666
+ 4194304) && tt(
640
667
  T,
641
- Ae,
668
+ xe,
642
669
  n,
643
670
  /*$$scope*/
644
671
  n[22],
645
- m ? nt(
646
- Ae,
672
+ m ? it(
673
+ xe,
647
674
  /*$$scope*/
648
675
  n[22],
649
676
  C,
650
- po
651
- ) : tt(
677
+ gi
678
+ ) : nt(
652
679
  /*$$scope*/
653
680
  n[22]
654
681
  ),
655
- an
656
- ) : v && v.p && (!m || C[0] & /*assetsurl*/
657
- 8) && v.p(n, m ? C : [-1, -1]), h && h.p && (!m || C[0] & /*$$scope*/
658
- 4194304) && et(
682
+ ln
683
+ ) : L && L.p && (!m || C[0] & /*assetsurl*/
684
+ 8) && L.p(n, m ? C : [-1, -1]), h && h.p && (!m || C[0] & /*$$scope*/
685
+ 4194304) && tt(
659
686
  h,
660
687
  a,
661
688
  n,
662
689
  /*$$scope*/
663
690
  n[22],
664
- m ? nt(
691
+ m ? it(
665
692
  a,
666
693
  /*$$scope*/
667
694
  n[22],
668
695
  C,
669
- mo
670
- ) : tt(
696
+ hi
697
+ ) : nt(
671
698
  /*$$scope*/
672
699
  n[22]
673
700
  ),
674
- rn
701
+ an
675
702
  ), M ? M.p && (!m || C[0] & /*$$scope*/
676
- 4194304) && et(
703
+ 4194304) && tt(
677
704
  M,
678
- P,
705
+ F,
679
706
  n,
680
707
  /*$$scope*/
681
708
  n[22],
682
- m ? nt(
683
- P,
709
+ m ? it(
710
+ F,
684
711
  /*$$scope*/
685
712
  n[22],
686
713
  C,
687
- fo
688
- ) : tt(
714
+ di
715
+ ) : nt(
689
716
  /*$$scope*/
690
717
  n[22]
691
718
  ),
692
- sn
719
+ rn
693
720
  ) : Y && Y.p && (!m || C[0] & /*$_, timeLeft*/
694
721
  384) && Y.p(n, m ? C : [-1, -1]), (!m || C[0] & /*$_*/
695
722
  256) && ce !== (ce = /*$_*/
696
- n[8]("sessionExpirationEnd") + "") && We(V, ce);
723
+ n[8]("FE.sessionExpirationEnd") + "") && We(V, ce);
697
724
  let fe = D;
698
- D = ue(n), D === fe ? ee[D].p(n, C) : (un(), xe(ee[fe], 1, 1, () => {
725
+ D = ue(n), D === fe ? ee[D].p(n, C) : (fn(), Ae(ee[fe], 1, 1, () => {
699
726
  ee[fe] = null;
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*/
727
+ }), mn(), I = ee[D], I ? I.p(n, C) : (I = ee[D] = Ee[D](n), I.c()), be(I, 1), I.m(Q, null)), (!m || C[0] & /*showLoaderButton*/
701
728
  64 && $ !== ($ = "ModalButton Primary " + /*showLoaderButton*/
702
729
  (n[6] ? "Disabled" : ""))) && u(Q, "class", $);
703
730
  },
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: (
731
+ i(y) {
732
+ m || (be(L, y), be(h, y), be(Y, y), be(I), y && zt(() => {
733
+ m && (q || (q = Bt(t, Yt, { duration: (
707
734
  /*duration*/
708
735
  n[2]
709
736
  ) }, !0)), q.run(1));
710
737
  }), m = !0);
711
738
  },
712
- o(b) {
713
- xe(v, b), xe(h, b), xe(Y, b), xe(I), b && (q || (q = Ht(t, Wt, { duration: (
739
+ o(y) {
740
+ Ae(L, y), Ae(h, y), Ae(Y, y), Ae(I), y && (q || (q = Bt(t, Yt, { duration: (
714
741
  /*duration*/
715
742
  n[2]
716
743
  ) }, !1)), q.run(0)), m = !1;
717
744
  },
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);
745
+ d(y) {
746
+ y && Me(t), L && L.d(y), h && h.d(y), Y && Y.d(y), ee[D].d(), n[24](null), ve(), y && q && q.end(), Se = !1, Pn(A);
720
747
  }
721
748
  };
722
749
  }
723
- function cn(n) {
724
- let t, o;
750
+ function un(n) {
751
+ let t, i;
725
752
  return {
726
753
  c() {
727
- t = R("img"), Gt(t.src, o = `${/*assetsurl*/
728
- n[3]}/set-timeout-icon.png`) || u(t, "src", o), u(t, "width", "300px"), u(t, "alt", "error");
754
+ t = R("img"), Wt(t.src, i = `${/*assetsurl*/
755
+ n[3]}/set-timeout-icon.png`) || u(t, "src", i), u(t, "width", "300px"), u(t, "alt", "error");
729
756
  },
730
- m(i, r) {
731
- Re(i, t, r);
757
+ m(o, r) {
758
+ Re(o, t, r);
732
759
  },
733
- p(i, r) {
760
+ p(o, r) {
734
761
  r[0] & /*assetsurl*/
735
- 8 && !Gt(t.src, o = `${/*assetsurl*/
736
- i[3]}/set-timeout-icon.png`) && u(t, "src", o);
762
+ 8 && !Wt(t.src, i = `${/*assetsurl*/
763
+ o[3]}/set-timeout-icon.png`) && u(t, "src", i);
737
764
  },
738
- d(i) {
739
- i && Me(t);
765
+ d(o) {
766
+ o && Me(t);
740
767
  }
741
768
  };
742
769
  }
743
- function ho(n) {
744
- let t, o = (
770
+ function Ei(n) {
771
+ let t, i = (
745
772
  /*assetsurl*/
746
- n[3] && cn(n)
773
+ n[3] && un(n)
747
774
  );
748
775
  return {
749
776
  c() {
750
- o && o.c(), t = Pn();
777
+ i && i.c(), t = Bn();
751
778
  },
752
- m(i, r) {
753
- o && o.m(i, r), Re(i, t, r);
779
+ m(o, r) {
780
+ i && i.m(o, r), Re(o, t, r);
754
781
  },
755
- p(i, r) {
782
+ p(o, r) {
756
783
  /*assetsurl*/
757
- i[3] ? o ? o.p(i, r) : (o = cn(i), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null);
784
+ o[3] ? i ? i.p(o, r) : (i = un(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null);
758
785
  },
759
- d(i) {
760
- i && Me(t), o && o.d(i);
786
+ d(o) {
787
+ o && Me(t), i && i.d(o);
761
788
  }
762
789
  };
763
790
  }
764
- function go(n) {
765
- let t, o, i = (
791
+ function _i(n) {
792
+ let t, i, o = (
766
793
  /*$_*/
767
- n[8]("sessionExpirationTitle") + ""
768
- ), r, f, _, S = nn.sanitize(
794
+ n[8]("FE.sessionExpirationTitle") + ""
795
+ ), r, f, E, S = on.sanitize(
769
796
  /*$_*/
770
- n[8]("sessionExpirationGeneralText", { values: { second: (
797
+ n[8]("FE.sessionExpirationGeneralText", { values: { second: (
771
798
  /*timeLeft*/
772
799
  n[7]
773
800
  ) } })
774
801
  ) + "";
775
802
  return {
776
803
  c() {
777
- t = R("span"), o = R("p"), r = Ye(i), f = ye(), _ = R("p"), u(t, "class", "CashierSessionExpirationText");
804
+ t = R("span"), i = R("p"), r = Ye(o), f = we(), E = R("p"), u(t, "class", "CashierSessionExpirationText");
778
805
  },
779
- m(y, E) {
780
- Re(y, t, E), p(t, o), p(o, r), p(t, f), p(t, _), _.innerHTML = S;
806
+ m(w, _) {
807
+ Re(w, t, _), p(t, i), p(i, r), p(t, f), p(t, E), E.innerHTML = S;
781
808
  },
782
- p(y, E) {
783
- E[0] & /*$_*/
784
- 256 && i !== (i = /*$_*/
785
- y[8]("sessionExpirationTitle") + "") && We(r, i), E[0] & /*$_, timeLeft*/
786
- 384 && S !== (S = nn.sanitize(
809
+ p(w, _) {
810
+ _[0] & /*$_*/
811
+ 256 && o !== (o = /*$_*/
812
+ w[8]("FE.sessionExpirationTitle") + "") && We(r, o), _[0] & /*$_, timeLeft*/
813
+ 384 && S !== (S = on.sanitize(
787
814
  /*$_*/
788
- y[8]("sessionExpirationGeneralText", { values: { second: (
815
+ w[8]("FE.sessionExpirationGeneralText", { values: { second: (
789
816
  /*timeLeft*/
790
- y[7]
817
+ w[7]
791
818
  ) } })
792
- ) + "") && (_.innerHTML = S);
819
+ ) + "") && (E.innerHTML = S);
793
820
  },
794
- d(y) {
795
- y && Me(t);
821
+ d(w) {
822
+ w && Me(t);
796
823
  }
797
824
  };
798
825
  }
799
- function _o(n) {
826
+ function Ti(n) {
800
827
  let t;
801
- const o = (
828
+ const i = (
802
829
  /*#slots*/
803
830
  n[23].button
804
- ), i = $e(
805
- o,
831
+ ), o = et(
832
+ i,
806
833
  n,
807
834
  /*$$scope*/
808
835
  n[22],
809
- on
810
- ), r = i || To(n);
836
+ sn
837
+ ), r = o || bi(n);
811
838
  return {
812
839
  c() {
813
840
  r && r.c();
814
841
  },
815
- m(f, _) {
816
- r && r.m(f, _), t = !0;
842
+ m(f, E) {
843
+ r && r.m(f, E), t = !0;
817
844
  },
818
- p(f, _) {
819
- i ? i.p && (!t || _[0] & /*$$scope*/
820
- 4194304) && et(
821
- i,
845
+ p(f, E) {
846
+ o ? o.p && (!t || E[0] & /*$$scope*/
847
+ 4194304) && tt(
822
848
  o,
849
+ i,
823
850
  f,
824
851
  /*$$scope*/
825
852
  f[22],
826
- t ? nt(
827
- o,
853
+ t ? it(
854
+ i,
828
855
  /*$$scope*/
829
856
  f[22],
830
- _,
831
- uo
832
- ) : tt(
857
+ E,
858
+ pi
859
+ ) : nt(
833
860
  /*$$scope*/
834
861
  f[22]
835
862
  ),
836
- on
837
- ) : r && r.p && (!t || _[0] & /*$_*/
838
- 256) && r.p(f, t ? _ : [-1, -1]);
863
+ sn
864
+ ) : r && r.p && (!t || E[0] & /*$_*/
865
+ 256) && r.p(f, t ? E : [-1, -1]);
839
866
  },
840
867
  i(f) {
841
- t || (we(r, f), t = !0);
868
+ t || (be(r, f), t = !0);
842
869
  },
843
870
  o(f) {
844
- xe(r, f), t = !1;
871
+ Ae(r, f), t = !1;
845
872
  },
846
873
  d(f) {
847
874
  r && r.d(f);
848
875
  }
849
876
  };
850
877
  }
851
- function Eo(n) {
852
- let t, o, i, r, f, _ = (
878
+ function wi(n) {
879
+ let t, i, o, r, f, E = (
853
880
  /*$_*/
854
- n[8]("sessionExpirationLoadingButton") + ""
881
+ n[8]("FE.sessionExpirationLoadingButton") + ""
855
882
  ), S;
856
883
  return {
857
884
  c() {
858
- t = R("div"), o = se("svg"), i = se("path"), r = ye(), f = R("span"), S = Ye(_), u(i, "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"), u(i, "fill", "white"), u(o, "class", "CashierSessionExpirationButtonSpinner"), u(o, "xmlns", "http://www.w3.org/2000/svg"), u(o, "width", "15"), u(o, "height", "14"), u(o, "viewBox", "0 0 15 14"), u(o, "fill", "none"), u(f, "class", "CashierSessionExpirationButtonText");
885
+ t = R("div"), i = se("svg"), o = se("path"), r = we(), f = R("span"), S = Ye(E), u(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"), u(o, "fill", "white"), u(i, "class", "CashierSessionExpirationButtonSpinner"), u(i, "xmlns", "http://www.w3.org/2000/svg"), u(i, "width", "15"), u(i, "height", "14"), u(i, "viewBox", "0 0 15 14"), u(i, "fill", "none"), u(f, "class", "CashierSessionExpirationButtonText");
859
886
  },
860
- m(y, E) {
861
- Re(y, t, E), p(t, o), p(o, i), p(t, r), p(t, f), p(f, S);
887
+ m(w, _) {
888
+ Re(w, t, _), p(t, i), p(i, o), p(t, r), p(t, f), p(f, S);
862
889
  },
863
- p(y, E) {
864
- E[0] & /*$_*/
865
- 256 && _ !== (_ = /*$_*/
866
- y[8]("sessionExpirationLoadingButton") + "") && We(S, _);
890
+ p(w, _) {
891
+ _[0] & /*$_*/
892
+ 256 && E !== (E = /*$_*/
893
+ w[8]("FE.sessionExpirationLoadingButton") + "") && We(S, E);
867
894
  },
868
- i: zt,
869
- o: zt,
870
- d(y) {
871
- y && Me(t);
895
+ i: Gt,
896
+ o: Gt,
897
+ d(w) {
898
+ w && Me(t);
872
899
  }
873
900
  };
874
901
  }
875
- function To(n) {
876
- let t, o = (
902
+ function bi(n) {
903
+ let t, i = (
877
904
  /*$_*/
878
- n[8]("sessionExpirationGeneralButton") + ""
879
- ), i;
905
+ n[8]("FE.sessionExpirationGeneralButton") + ""
906
+ ), o;
880
907
  return {
881
908
  c() {
882
- t = R("span"), i = Ye(o), u(t, "class", "CashierSessionExpirationButtonText");
909
+ t = R("span"), o = Ye(i), u(t, "class", "CashierSessionExpirationButtonText");
883
910
  },
884
911
  m(r, f) {
885
- Re(r, t, f), p(t, i);
912
+ Re(r, t, f), p(t, o);
886
913
  },
887
914
  p(r, f) {
888
915
  f[0] & /*$_*/
889
- 256 && o !== (o = /*$_*/
890
- r[8]("sessionExpirationGeneralButton") + "") && We(i, o);
916
+ 256 && i !== (i = /*$_*/
917
+ r[8]("FE.sessionExpirationGeneralButton") + "") && We(o, i);
891
918
  },
892
919
  d(r) {
893
920
  r && Me(t);
894
921
  }
895
922
  };
896
923
  }
897
- function yo(n) {
898
- let t, o, i = (
924
+ function yi(n) {
925
+ let t, i, o = (
899
926
  /*show*/
900
- n[5] && ln(n)
927
+ n[5] && cn(n)
901
928
  );
902
929
  return {
903
930
  c() {
904
- t = R("div"), i && i.c();
931
+ t = R("div"), o && o.c();
905
932
  },
906
933
  m(r, f) {
907
- Re(r, t, f), i && i.m(t, null), n[26](t), o = !0;
934
+ Re(r, t, f), o && o.m(t, null), n[26](t), i = !0;
908
935
  },
909
936
  p(r, f) {
910
937
  /*show*/
911
- r[5] ? i ? (i.p(r, f), f[0] & /*show*/
912
- 32 && we(i, 1)) : (i = ln(r), i.c(), we(i, 1), i.m(t, null)) : i && (un(), xe(i, 1, 1, () => {
913
- i = null;
914
- }), fn());
938
+ r[5] ? o ? (o.p(r, f), f[0] & /*show*/
939
+ 32 && be(o, 1)) : (o = cn(r), o.c(), be(o, 1), o.m(t, null)) : o && (fn(), Ae(o, 1, 1, () => {
940
+ o = null;
941
+ }), mn());
915
942
  },
916
943
  i(r) {
917
- o || (we(i), o = !0);
944
+ i || (be(o), i = !0);
918
945
  },
919
946
  o(r) {
920
- xe(i), o = !1;
947
+ Ae(o), i = !1;
921
948
  },
922
949
  d(r) {
923
- r && Me(t), i && i.d(), n[26](null);
950
+ r && Me(t), o && o.d(), n[26](null);
924
951
  }
925
952
  };
926
953
  }
927
- const wo = 90;
928
- function bo(n, t, o) {
929
- let i, r;
930
- Ut(n, jt, (a) => o(21, i = a)), Ut(n, zn, (a) => o(8, r = a));
931
- let { $$slots: f = {}, $$scope: _ } = t;
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;
954
+ const Si = 90;
955
+ function xi(n, t, i) {
956
+ let o, r;
957
+ Ut(n, Xt, (a) => i(21, o = a)), Ut(n, jn, (a) => i(8, r = a));
958
+ let { $$slots: f = {}, $$scope: E } = t;
959
+ jt.extend(Yn);
960
+ let { clientstyling: S = "" } = t, { clientstylingurl: w = "" } = t, { width: _ } = t, { height: X } = t, { duration: ne = 200 } = t, { assetsurl: Ce = "" } = t, { lang: z = "en" } = t, { translationurl: H = "" } = t, { endpoint: ye } = t, { currency: ae } = t, { customerid: G } = t, { selectedpaymentmethodname: de } = t, { mbsource: K = "" } = t, g, x = !1, ie = !1, le, he, W, oe, v, ce;
934
961
  var V;
935
962
  (function(a) {
936
963
  a.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", a.Success = "Success", a.JwtTokenError = "JwtTokenError";
937
964
  })(V || (V = {}));
938
965
  const ge = (a) => {
939
- a.data.type === "StartSessionCountdown" && (ie = a.data.paymentMethodName);
966
+ a.data.type === "StartSessionCountdown" && (oe = a.data.paymentMethodName);
940
967
  }, Q = (a) => {
941
968
  try {
942
969
  return JSON.parse(atob(a.split(".")[1]));
@@ -947,38 +974,38 @@ function bo(n, t, o) {
947
974
  window.postMessage(
948
975
  {
949
976
  type: "ErrorResponseCode",
950
- errorResponseCode: L
977
+ errorResponseCode: v
951
978
  },
952
979
  window.location.href
953
980
  );
954
981
  }, I = (a) => {
955
- o(5, A = !1);
982
+ i(5, x = !1);
956
983
  const h = Q(a);
957
- h && (he = h == null ? void 0 : h.exp, o(7, le = he), W && clearInterval(W), W = setInterval(
984
+ h && (he = h == null ? void 0 : h.exp, i(7, le = he), W && clearInterval(W), W = setInterval(
958
985
  () => {
959
- const P = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
960
- o(7, le = he - P), le <= wo && o(5, A = !0), P >= he && ($(), window.postMessage({ type: "SessionExpired" }, window.location.href));
986
+ const F = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
987
+ i(7, le = he - F), le <= Si && i(5, x = !0), F >= he && ($(), window.postMessage({ type: "SessionExpired" }, window.location.href));
961
988
  },
962
989
  1e3
963
990
  ));
964
991
  }, $ = () => {
965
- o(7, le = 0), o(5, A = !1), clearInterval(W);
966
- }, Le = () => {
967
- if (oe)
992
+ i(7, le = 0), i(5, x = !1), clearInterval(W);
993
+ }, ve = () => {
994
+ if (ie)
968
995
  return;
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"));
971
- const P = {
996
+ const a = new URL(`${ye}/v1/player/${G}/payment/GetPaymentMethod`), h = new Headers();
997
+ i(6, ie = !0), h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp", jt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
998
+ const F = {
972
999
  method: "POST",
973
1000
  mode: "cors",
974
1001
  headers: h,
975
1002
  body: JSON.stringify({
976
- PaymentMethodName: ie || de,
1003
+ PaymentMethodName: oe || de,
977
1004
  Currency: ae,
978
- XPaymentSessionToken: i
1005
+ XPaymentSessionToken: o
979
1006
  })
980
1007
  };
981
- fetch(a, P).then((M) => M.json()).then((M) => {
1008
+ fetch(a, F).then((M) => M.json()).then((M) => {
982
1009
  if (M.error) {
983
1010
  window.postMessage(
984
1011
  {
@@ -990,101 +1017,101 @@ function bo(n, t, o) {
990
1017
  return;
991
1018
  }
992
1019
  if (M.ResponseCode === V.PlayerSessionIsNotValid || M.ResponseCode === V.JwtTokenError) {
993
- L = M.ResponseCode, $(), D();
1020
+ v = M.ResponseCode, $(), D();
994
1021
  return;
995
1022
  }
996
1023
  if (M.ResponseCode !== V.Success) {
997
- L = M.ResponseCode, $();
1024
+ v = M.ResponseCode, $();
998
1025
  return;
999
1026
  }
1000
- M.XPaymentSessionToken && jt.set(M.XPaymentSessionToken);
1001
- }).finally(() => o(6, oe = !1));
1027
+ M.XPaymentSessionToken && Xt.set(M.XPaymentSessionToken);
1028
+ }).finally(() => i(6, ie = !1));
1002
1029
  }, q = (a) => {
1003
1030
  const h = a.currentTarget;
1004
- a.target === h && Le();
1031
+ a.target === h && ve();
1005
1032
  }, m = () => {
1006
- fetch(z).then((h) => h.json()).then((h) => {
1007
- Object.keys(h).forEach((P) => {
1008
- Xt(P, h[P]);
1033
+ fetch(H).then((h) => h.json()).then((h) => {
1034
+ Object.keys(h).forEach((F) => {
1035
+ Vt(F, h[F]);
1009
1036
  });
1010
1037
  }).catch((h) => {
1011
1038
  console.log(h);
1012
1039
  });
1013
1040
  }, Se = () => {
1014
- window.postMessage({ type: "Cashier:goToHome" }, window.location.href), o(5, A = !1);
1041
+ window.postMessage({ type: "Cashier:goToHome" }, window.location.href), i(5, x = !1);
1015
1042
  };
1016
- Object.keys(Vt).forEach((a) => {
1017
- Xt(a, Vt[a]);
1043
+ Object.keys(qt).forEach((a) => {
1044
+ Vt(a, qt[a]);
1018
1045
  });
1019
- const x = () => {
1020
- Wn(F);
1046
+ const A = () => {
1047
+ Xn(z);
1021
1048
  };
1022
- kn(() => (window.addEventListener("message", ge, !1), () => {
1049
+ In(() => (window.addEventListener("message", ge, !1), () => {
1023
1050
  window.removeEventListener("message", ge);
1024
- })), Dn(() => {
1051
+ })), Fn(() => {
1025
1052
  clearInterval(W);
1026
1053
  });
1027
- function Ae(a) {
1028
- Ft[a ? "unshift" : "push"](() => {
1029
- g = a, o(4, g);
1054
+ function xe(a) {
1055
+ Ht[a ? "unshift" : "push"](() => {
1056
+ g = a, i(4, g);
1030
1057
  });
1031
1058
  }
1032
1059
  function T() {
1033
- E = this.clientWidth, X = this.clientHeight, o(0, E), o(1, X);
1060
+ _ = this.clientWidth, X = this.clientHeight, i(0, _), i(1, X);
1034
1061
  }
1035
- function v(a) {
1036
- Ft[a ? "unshift" : "push"](() => {
1037
- g = a, o(4, g);
1062
+ function L(a) {
1063
+ Ht[a ? "unshift" : "push"](() => {
1064
+ g = a, i(4, g);
1038
1065
  });
1039
1066
  }
1040
1067
  return n.$$set = (a) => {
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);
1068
+ "clientstyling" in a && i(12, S = a.clientstyling), "clientstylingurl" in a && i(13, w = a.clientstylingurl), "width" in a && i(0, _ = a.width), "height" in a && i(1, X = a.height), "duration" in a && i(2, ne = a.duration), "assetsurl" in a && i(3, Ce = a.assetsurl), "lang" in a && i(14, z = a.lang), "translationurl" in a && i(15, H = a.translationurl), "endpoint" in a && i(16, ye = a.endpoint), "currency" in a && i(17, ae = a.currency), "customerid" in a && i(18, G = a.customerid), "selectedpaymentmethodname" in a && i(19, de = a.selectedpaymentmethodname), "mbsource" in a && i(20, K = a.mbsource), "$$scope" in a && i(22, E = a.$$scope);
1042
1069
  }, n.$$.update = () => {
1043
1070
  n.$$.dirty[0] & /*$xPaymentSessionToken*/
1044
- 2097152 && I(i), n.$$.dirty[0] & /*lang*/
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();
1071
+ 2097152 && I(o), n.$$.dirty[0] & /*lang*/
1072
+ 16384 && z && A(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1073
+ 4112 && S && g && zn(g, S), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1074
+ 8208 && w && g && Hn(g, w), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1075
+ 1048592 && K && g && Gn(g, `${K}.Style`, ce), n.$$.dirty[0] & /*translationurl*/
1076
+ 32768 && H && m();
1050
1077
  }, [
1051
- E,
1078
+ _,
1052
1079
  X,
1053
1080
  ne,
1054
1081
  Ce,
1055
1082
  g,
1056
- A,
1057
- oe,
1083
+ x,
1084
+ ie,
1058
1085
  le,
1059
1086
  r,
1060
- Le,
1087
+ ve,
1061
1088
  q,
1062
1089
  Se,
1063
1090
  S,
1064
- y,
1065
- F,
1091
+ w,
1066
1092
  z,
1067
- be,
1093
+ H,
1094
+ ye,
1068
1095
  ae,
1069
1096
  G,
1070
1097
  de,
1071
1098
  K,
1072
- i,
1073
- _,
1099
+ o,
1100
+ E,
1074
1101
  f,
1075
- Ae,
1102
+ xe,
1076
1103
  T,
1077
- v
1104
+ L
1078
1105
  ];
1079
1106
  }
1080
- class So extends vn {
1107
+ class Ai extends kn {
1081
1108
  constructor(t) {
1082
- super(), Mn(
1109
+ super(), On(
1083
1110
  this,
1084
1111
  t,
1085
- bo,
1086
- yo,
1087
- Rn,
1112
+ xi,
1113
+ yi,
1114
+ Dn,
1088
1115
  {
1089
1116
  clientstyling: 12,
1090
1117
  clientstylingurl: 13,
@@ -1100,7 +1127,7 @@ class So extends vn {
1100
1127
  selectedpaymentmethodname: 19,
1101
1128
  mbsource: 20
1102
1129
  },
1103
- co,
1130
+ mi,
1104
1131
  [-1, -1]
1105
1132
  );
1106
1133
  }
@@ -1183,7 +1210,7 @@ class So extends vn {
1183
1210
  this.$$set({ mbsource: t }), Z();
1184
1211
  }
1185
1212
  }
1186
- Fn(So, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
1213
+ Wn(Ai, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
1187
1214
  export {
1188
- So as default
1215
+ Ai as default
1189
1216
  };