@everymatrix/cashier-page 1.98.18 → 1.98.20

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 (55) hide show
  1. package/components/{CashierCarousel-FFsdS-lS.js → CashierCarousel-7COgWv4Y.js} +2 -2
  2. package/components/{CashierCarousel-zmZZjXPR.cjs → CashierCarousel-BnnsopW6.cjs} +1 -1
  3. package/components/{CashierCarousel-BzdUV7XF.js → CashierCarousel-DZQomTsu.js} +2 -2
  4. package/components/{CashierError-DtmAFp4L.cjs → CashierError-B7tdcfwd.cjs} +1 -1
  5. package/components/{CashierError-DM9cHWYk.js → CashierError-CFa-pNah.js} +2 -2
  6. package/components/{CashierError-R9QTGjHi.js → CashierError-D4oOhZeI.js} +2 -2
  7. package/components/{CashierHeader-BoWdCzOy.js → CashierHeader-Bd2Am7Uq.js} +1 -1
  8. package/components/{CashierHeader-BGa8_twf.js → CashierHeader-CqC1skNP.js} +1 -1
  9. package/components/{CashierHeader-DL7CeVPX.cjs → CashierHeader-DvtbEkhl.cjs} +1 -1
  10. package/components/{CashierIframeRedirect-BGDgKj5q.js → CashierIframeRedirect-D0J4F6LS.js} +3 -3
  11. package/components/{CashierIframeRedirect-DwOnILP1.cjs → CashierIframeRedirect-D965K21u.cjs} +1 -1
  12. package/components/{CashierIframeRedirect-ByL4GN6L.js → CashierIframeRedirect-K-Ksb5wS.js} +3 -3
  13. package/components/{CashierMethodDetails-DgFi6GOg.js → CashierMethodDetails-DOOJTKmd.js} +5 -5
  14. package/components/{CashierMethodDetails-DwAKidqM.js → CashierMethodDetails-DwrflXRQ.js} +5 -5
  15. package/components/{CashierMethodDetails-CMadBp5s.cjs → CashierMethodDetails-d7v7t-j7.cjs} +2 -2
  16. package/components/{CashierMethodsList-BttlgP8I.js → CashierMethodsList-BGIXK4xf.js} +2 -2
  17. package/components/{CashierMethodsList-B0Y7Ov2y.js → CashierMethodsList-BsLnuG9E.js} +2 -2
  18. package/components/{CashierMethodsList-BKSWzfhx.cjs → CashierMethodsList-CRaDjDCv.cjs} +1 -1
  19. package/components/{CashierModal-DYiiDdjF.cjs → CashierModal-C75ByZa-.cjs} +1 -1
  20. package/components/{CashierModal-BAqyZ3yN.js → CashierModal-CiWMmHBH.js} +2 -2
  21. package/components/{CashierModal-CTEreymk.js → CashierModal-hxRFWwGQ.js} +2 -2
  22. package/components/{CashierNotifications-C9DAtUCd.js → CashierNotifications-Bdo_Ew-l.js} +1 -1
  23. package/components/{CashierNotifications-5vMGexnB.js → CashierNotifications-C7dbHC5j.js} +1 -1
  24. package/components/{CashierNotifications-DeciL3hL.cjs → CashierNotifications-DhSEaFtU.cjs} +1 -1
  25. package/components/{CashierPage-DmSMSwFD.js → CashierPage-BoubiuR2.js} +10 -10
  26. package/components/{CashierPage-Cyh00U_t.js → CashierPage-Dpkh9Hju.js} +10 -10
  27. package/components/{CashierPage-Datx6Ztd.cjs → CashierPage-kERzcp9N.cjs} +1 -1
  28. package/components/{CashierReceiptPage-2QLgzHKu.js → CashierReceiptPage-C_HCV8pg.js} +129 -127
  29. package/components/{CashierReceiptPage-CljAf_RX.cjs → CashierReceiptPage-D0fXtzWd.cjs} +2 -2
  30. package/components/{CashierReceiptPage-zipsq7HA.js → CashierReceiptPage-yBrK9XUe.js} +64 -62
  31. package/components/{CashierSessionExpirationModal-BHUuaz3G.js → CashierSessionExpirationModal-B531VvPe.js} +2 -2
  32. package/components/{CashierSessionExpirationModal-BhdcM6-i.cjs → CashierSessionExpirationModal-B9Gq3QMx.cjs} +1 -1
  33. package/components/{CashierSessionExpirationModal-CPiyWnR6.js → CashierSessionExpirationModal-CpPWTl4t.js} +2 -2
  34. package/components/{CashierSpinner-DK9MV_jW.cjs → CashierSpinner-BX8fliQH.cjs} +1 -1
  35. package/components/{CashierSpinner-CfN6GP0k.js → CashierSpinner-CN0bZ-Yu.js} +2 -2
  36. package/components/{CashierSpinner-DlmmgiCp.js → CashierSpinner-CrBcEC4d.js} +2 -2
  37. package/components/{CashierStepUp-f6d-L0Pv.cjs → CashierStepUp--7Zd1kkv.cjs} +1 -1
  38. package/components/{CashierStepUp-DBkCHzU6.js → CashierStepUp-C0bwzuYY.js} +2 -2
  39. package/components/{CashierStepUp-D4IutqnI.js → CashierStepUp-CfNNgWO-.js} +2 -2
  40. package/components/{CashierTransactionHistory-BmgU4GU7.js → CashierTransactionHistory-B42fesa-.js} +4 -4
  41. package/components/{CashierTransactionHistory-Bfx6cEFg.js → CashierTransactionHistory-DrU4toTz.js} +4 -4
  42. package/components/{CashierTransactionHistory-Bxd87eQt.cjs → CashierTransactionHistory-IyC6DRWh.cjs} +1 -1
  43. package/components/{CashierVerifications-B-u47VhR.cjs → CashierVerifications-CdSwVK4k.cjs} +1 -1
  44. package/components/{CashierVerifications-Bi_7cW9r.js → CashierVerifications-Cr9FqAx3.js} +3 -3
  45. package/components/{CashierVerifications-UTO3n0Ei.js → CashierVerifications-Cunkhhvn.js} +3 -3
  46. package/components/{TxnStatusIcon-XWXNjZi6.js → TxnStatusIcon-B6iHpR-u.js} +1 -1
  47. package/components/{TxnStatusIcon-CDynHfdT.js → TxnStatusIcon-DrsLKnfj.js} +1 -1
  48. package/components/{TxnStatusIcon-xNz_TX3o.cjs → TxnStatusIcon-uoMaxnlJ.cjs} +1 -1
  49. package/components/{TxnTypeIcons-Bui9VGqk.js → TxnTypeIcons-BheHxilN.js} +1 -1
  50. package/components/{TxnTypeIcons-D3xjja9q.cjs → TxnTypeIcons-DEwx9t2U.cjs} +1 -1
  51. package/components/{TxnTypeIcons-D0YhmAk8.js → TxnTypeIcons-wf3zG_Ic.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
@@ -1,5 +1,5 @@
1
- import { a as $e, i as e1, $ as t1, S as n1, b as i1, s as a1, f as z, d as o1, z as pe, g as h, l as b, n as f, p as l, q as r1, M as De, N as s1, r as l1, K as c1, I as u1, _ as Be, y as He, C as Pe, h as We, a8 as d1, t as p1, a7 as m1, m as c, o as v, ac as g1, ab as Ae, H as f1, ad as C1, w as x, x as S, O as _, F as h1, A as Se, v as Le, D as ze, E as Xe, Q as N, J as je, c as b1, B as w1 } from "./CashierPage-DmSMSwFD.js";
2
- import { s as y1, a as k1, b as T1 } from "./CashierHeader-BoWdCzOy.js";
1
+ import { a as $e, i as e1, $ as t1, S as n1, b as i1, s as a1, f as L, d as o1, z as pe, g as h, l as b, n as f, p as l, q as r1, M as De, N as s1, r as l1, K as c1, I as u1, _ as Be, y as He, C as Pe, h as We, a8 as d1, t as p1, a7 as m1, m as c, o as v, ac as g1, ab as Ae, H as f1, ad as C1, w as x, x as S, O as _, F as h1, A as Se, v as Le, D as ze, E as Xe, Q as N, J as je, c as b1, B as w1 } from "./CashierPage-BoubiuR2.js";
2
+ import { s as y1, a as k1, b as T1 } from "./CashierHeader-Bd2Am7Uq.js";
3
3
  function Ze(i, e) {
4
4
  $e(i, e);
5
5
  }
@@ -1101,11 +1101,11 @@ function B1(i) {
1101
1101
  ), d, p, m, u, C, y, w, k = (
1102
1102
  /*$_*/
1103
1103
  i[24]("status") + ""
1104
- ), I, Y, Z, E = (
1104
+ ), I, Y, Z, V = (
1105
1105
  /*$_*/
1106
1106
  i[24](`${/*txnStatus*/
1107
1107
  i[21]}`) + ""
1108
- ), V, K, ae, D, H, J = (
1108
+ ), E, K, ae, D, H, J = (
1109
1109
  /*$_*/
1110
1110
  i[24]("transactionId") + ""
1111
1111
  ), oe, me, F, re = (
@@ -1159,14 +1159,14 @@ function B1(i) {
1159
1159
  e = f("div"), P && P.c(), t = v(), n = f("div"), a = f("div"), r = f("p"), d = S(o), p = v(), m = f("span"), u = S(
1160
1160
  /*amount*/
1161
1161
  i[17]
1162
- ), C = v(), y = f("div"), w = f("p"), I = S(k), Y = v(), Z = f("span"), V = S(E), ae = v(), D = f("div"), H = f("p"), oe = S(J), me = v(), F = f("span"), ge = S(re), fe = v(), Q = f("div"), $ = f("p"), ye = S(M), Me = v(), R = f("span"), se = S(
1162
+ ), C = v(), y = f("div"), w = f("p"), I = S(k), Y = v(), Z = f("span"), E = S(V), ae = v(), D = f("div"), H = f("p"), oe = S(J), me = v(), F = f("span"), ge = S(re), fe = v(), Q = f("div"), $ = f("p"), ye = S(M), Me = v(), R = f("span"), se = S(
1163
1163
  /*paymentmethod*/
1164
1164
  i[0]
1165
1165
  ), ke = v(), A = f("div"), ee = f("p"), le = S(te), ce = v(), Te = f("span"), Ce = S(ue), ne = v(), ie = f("div"), W && W.c(), he = v(), X = f("button"), U.c(), ve = v(), j && j.c(), de = Le(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(y, "class", K = `Status ${/*txnStatus*/
1166
1166
  i[21]}`), l(F, "class", "TxnIdText"), l(D, "class", "TxnId"), l(Q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(ie, "class", "ReceiptButtonsWrapper"), l(X, "class", "DefaultButton");
1167
1167
  },
1168
1168
  m(g, T) {
1169
- b(g, e, T), P && P.m(e, null), b(g, t, T), b(g, n, T), c(n, a), c(a, r), c(r, d), c(a, p), c(a, m), c(m, u), c(n, C), c(n, y), c(y, w), c(w, I), c(y, Y), c(y, Z), c(Z, V), c(n, ae), c(n, D), c(D, H), c(H, oe), c(D, me), c(D, F), c(F, ge), c(n, fe), c(n, Q), c(Q, $), c($, ye), c(Q, Me), c(Q, R), c(R, se), c(n, ke), c(n, A), c(A, ee), c(ee, le), c(A, ce), c(A, Te), c(Te, Ce), b(g, ne, T), b(g, ie, T), W && W.m(ie, null), b(g, he, T), b(g, X, T), U.m(X, null), b(g, ve, T), j && j.m(g, T), b(g, de, T), be || (_e = [
1169
+ b(g, e, T), P && P.m(e, null), b(g, t, T), b(g, n, T), c(n, a), c(a, r), c(r, d), c(a, p), c(a, m), c(m, u), c(n, C), c(n, y), c(y, w), c(w, I), c(y, Y), c(y, Z), c(Z, E), c(n, ae), c(n, D), c(D, H), c(H, oe), c(D, me), c(D, F), c(F, ge), c(n, fe), c(n, Q), c(Q, $), c($, ye), c(Q, Me), c(Q, R), c(R, se), c(n, ke), c(n, A), c(A, ee), c(ee, le), c(A, ce), c(A, Te), c(Te, Ce), b(g, ne, T), b(g, ie, T), W && W.m(ie, null), b(g, he, T), b(g, X, T), U.m(X, null), b(g, ve, T), j && j.m(g, T), b(g, de, T), be || (_e = [
1170
1170
  Se(
1171
1171
  F,
1172
1172
  "click",
@@ -1192,9 +1192,9 @@ function B1(i) {
1192
1192
  ), T[0] & /*$_*/
1193
1193
  16777216 && k !== (k = /*$_*/
1194
1194
  g[24]("status") + "") && x(I, k), T[0] & /*$_, txnStatus*/
1195
- 18874368 && E !== (E = /*$_*/
1195
+ 18874368 && V !== (V = /*$_*/
1196
1196
  g[24](`${/*txnStatus*/
1197
- g[21]}`) + "") && x(V, E), T[0] & /*txnStatus*/
1197
+ g[21]}`) + "") && x(E, V), T[0] & /*txnStatus*/
1198
1198
  2097152 && K !== (K = `Status ${/*txnStatus*/
1199
1199
  g[21]}`) && l(y, "class", K), T[0] & /*$_*/
1200
1200
  16777216 && J !== (J = /*$_*/
@@ -1289,16 +1289,16 @@ function P1(i) {
1289
1289
  /*$_*/
1290
1290
  i[24](`${/*txnInfo*/
1291
1291
  i[15].type.toLowerCase()}.pending.text`) + ""
1292
- ), I, Y, Z, E = (
1292
+ ), I, Y, Z, V = (
1293
1293
  /*$_*/
1294
1294
  i[24]("refreshButton") + ""
1295
- ), V, K, ae;
1295
+ ), E, K, ae;
1296
1296
  return {
1297
1297
  c() {
1298
- e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), r = N("path"), o = N("path"), d = v(), p = f("div"), m = f("h3"), C = S(u), y = v(), w = f("p"), I = S(k), Y = v(), Z = f("button"), V = S(E), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D19A41"), l(t, "fill-opacity", "0.12"), l(n, "x", "19"), l(n, "y", "19"), l(n, "width", "34"), l(n, "height", "34"), l(n, "rx", "17"), l(n, "fill", "#FF6836"), l(a, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), l(a, "stroke", "black"), l(a, "stroke-width", "1.5"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(r, "d", "M36 32V36L38 38"), l(r, "stroke", "black"), l(r, "stroke-width", "1.5"), l(r, "stroke-linecap", "round"), l(r, "stroke-linejoin", "round"), l(o, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), l(o, "stroke", "black"), l(o, "stroke-width", "1.5"), l(o, "stroke-linecap", "round"), l(o, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon pending"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(p, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
1298
+ e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), r = N("path"), o = N("path"), d = v(), p = f("div"), m = f("h3"), C = S(u), y = v(), w = f("p"), I = S(k), Y = v(), Z = f("button"), E = S(V), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D19A41"), l(t, "fill-opacity", "0.12"), l(n, "x", "19"), l(n, "y", "19"), l(n, "width", "34"), l(n, "height", "34"), l(n, "rx", "17"), l(n, "fill", "#FF6836"), l(a, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), l(a, "stroke", "black"), l(a, "stroke-width", "1.5"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(r, "d", "M36 32V36L38 38"), l(r, "stroke", "black"), l(r, "stroke-width", "1.5"), l(r, "stroke-linecap", "round"), l(r, "stroke-linejoin", "round"), l(o, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), l(o, "stroke", "black"), l(o, "stroke-width", "1.5"), l(o, "stroke-linecap", "round"), l(o, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon pending"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(p, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
1299
1299
  },
1300
1300
  m(D, H) {
1301
- b(D, e, H), c(e, t), c(e, n), c(e, a), c(e, r), c(e, o), b(D, d, H), b(D, p, H), c(p, m), c(m, C), c(p, y), c(p, w), c(w, I), b(D, Y, H), b(D, Z, H), c(Z, V), K || (ae = Se(
1301
+ b(D, e, H), c(e, t), c(e, n), c(e, a), c(e, r), c(e, o), b(D, d, H), b(D, p, H), c(p, m), c(m, C), c(p, y), c(p, w), c(w, I), b(D, Y, H), b(D, Z, H), c(Z, E), K || (ae = Se(
1302
1302
  Z,
1303
1303
  "click",
1304
1304
  /*getPaymentInfo*/
@@ -1313,8 +1313,8 @@ function P1(i) {
1313
1313
  16809984 && k !== (k = /*$_*/
1314
1314
  D[24](`${/*txnInfo*/
1315
1315
  D[15].type.toLowerCase()}.pending.text`) + "") && x(I, k), H[0] & /*$_*/
1316
- 16777216 && E !== (E = /*$_*/
1317
- D[24]("refreshButton") + "") && x(V, E);
1316
+ 16777216 && V !== (V = /*$_*/
1317
+ D[24]("refreshButton") + "") && x(E, V);
1318
1318
  },
1319
1319
  d(D) {
1320
1320
  D && (h(e), h(d), h(p), h(Y), h(Z)), K = !1, ae();
@@ -1719,7 +1719,7 @@ let F1 = "_blank";
1719
1719
  function O1(i, e, t) {
1720
1720
  let n;
1721
1721
  r1(i, w1, (s) => t(24, n = s)), De.extend(s1);
1722
- let { endpoint: a } = e, { session: r } = e, { lang: o = "en" } = e, { local: d = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: m } = e, { assetsurl: u = "" } = e, { customerid: C } = e, { transactionid: y } = e, { currencydecimals: w = "0" } = e, { type: k } = e, { clientstyling: I = "" } = e, { clientstylingurl: Y = "" } = e, { mbsource: Z = "" } = e, { showverifications: E = "true" } = e, { paymentmethod: V = "" } = e, K = !1, ae, { customsucceessbuttons: D = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: J = "" } = e, { currencysymbol: oe = "" } = e, { currencyposition: me = "" } = e, { userroles: F = "" } = e, { windowsize: re } = e, { p2p: ge = "false" } = e, fe = [], Q = [];
1722
+ let { endpoint: a } = e, { session: r } = e, { lang: o = "en" } = e, { local: d = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: m } = e, { assetsurl: u = "" } = e, { customerid: C } = e, { transactionid: y } = e, { currencydecimals: w = "0" } = e, { type: k } = e, { clientstyling: I = "" } = e, { clientstylingurl: Y = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: E = "" } = e, K = !1, ae, { customsucceessbuttons: D = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: J = "" } = e, { currencysymbol: oe = "" } = e, { currencyposition: me = "" } = e, { userroles: F = "" } = e, { windowsize: re } = e, { p2p: ge = "false" } = e, fe = [], Q = [];
1723
1723
  var $;
1724
1724
  (function(s) {
1725
1725
  s.Success = "Success", s.Maintenance = "Maintenance";
@@ -1730,7 +1730,7 @@ function O1(i, e, t) {
1730
1730
  })(M || (M = {}));
1731
1731
  const ye = (s, [B, O]) => [
1732
1732
  ...s,
1733
- ...Array.isArray(B) ? [...B.map((L) => [L, O])] : [[B, O]]
1733
+ ...Array.isArray(B) ? [...B.map((z) => [z, O])] : [[B, O]]
1734
1734
  ], Me = new Map([
1735
1735
  [["Unknown", 0], M.Unknown],
1736
1736
  [["Text", 1], M.Text],
@@ -1856,35 +1856,35 @@ function O1(i, e, t) {
1856
1856
  headers: B,
1857
1857
  body: JSON.stringify({ TransactionCode: y })
1858
1858
  };
1859
- t(11, K = !0), fetch(s, O).then((L) => L.json()).then((L) => {
1860
- if (L.ResponseCode !== $.Success) {
1861
- t(19, te = L.ResponseCode), t(20, le = p.toLowerCase() === "false" || !p), de();
1859
+ t(11, K = !0), fetch(s, O).then((z) => z.json()).then((z) => {
1860
+ if (z.ResponseCode !== $.Success) {
1861
+ t(19, te = z.ResponseCode), t(20, le = p.toLowerCase() === "false" || !p), de();
1862
1862
  return;
1863
1863
  }
1864
1864
  switch (t(15, R = {
1865
- type: L.Transaction.Type,
1866
- referenceId: L.Transaction.Code,
1867
- status: L.Transaction.Status?.Status,
1868
- message: L.Transaction.Status?.Message,
1869
- amount: L.Transaction.Amounts[0]?.Amount,
1870
- currency: L.Transaction.Amounts[0]?.Currency,
1871
- time: L.Transaction.Status.Created
1872
- }), t(16, se = L.ReceiptInfo && L.ReceiptInfo.ReceiptFields ? L.ReceiptInfo.ReceiptFields.map((G) => ({
1865
+ type: z.Transaction.Type,
1866
+ referenceId: z.Transaction.Code,
1867
+ status: z.Transaction.Status?.Status,
1868
+ message: z.Transaction.Status?.Message,
1869
+ amount: z.Transaction.Amounts[0]?.Amount,
1870
+ currency: z.Transaction.Amounts[0]?.Currency,
1871
+ time: z.Transaction.Status.Created
1872
+ }), t(16, se = z.ReceiptInfo && z.ReceiptInfo.ReceiptFields ? z.ReceiptInfo.ReceiptFields.map((G) => ({
1873
1873
  type: Me.get(G.Type),
1874
1874
  name: G.Name,
1875
1875
  description: G.Description,
1876
1876
  defaultValue: G.DefaultValue,
1877
1877
  useCopyButton: G.UseCopyButton,
1878
1878
  usePrintButton: G.UsePrintButton
1879
- })) : []), L.ReceiptInfo && L.ReceiptInfo.ReceiptFields && !V && t(0, V = se[0].defaultValue), n(x1(R.status, R.type), { values: { errorText: R.message } }), t(17, ke = u1(Number(R.amount), R.currency)), R.status) {
1879
+ })) : []), z.ReceiptInfo && z.ReceiptInfo.ReceiptFields && !E && t(0, E = se[0].defaultValue), n(x1(R.status, R.type), { values: { errorText: R.message } }), t(17, ke = u1(Number(R.amount), R.currency)), R.status) {
1880
1880
  case "Voided":
1881
1881
  case "Success":
1882
1882
  if (ne(D || "casino, livecasino, tournaments"), t(21, ce = "success"), R.type === "Deposit") {
1883
- const G = L.Transaction?.Flags?.NewDepositCustomer, Ie = L?.Transaction?.Payloads;
1883
+ const G = z.Transaction?.Flags?.NewDepositCustomer, Ie = z?.Transaction?.Payloads;
1884
1884
  window.postMessage(
1885
1885
  {
1886
1886
  type: G === "True" ? "FirstDeposit" : "ConfirmedDeposit",
1887
- method: V,
1887
+ method: E,
1888
1888
  amount: R.amount,
1889
1889
  currency: R.currency,
1890
1890
  depositType: Ie?.TagManagerDepositType ?? "",
@@ -1899,7 +1899,9 @@ function O1(i, e, t) {
1899
1899
  userID: C,
1900
1900
  amount: R.amount,
1901
1901
  currency: R.currency,
1902
- failureReason: R.message
1902
+ transactionId: R.referenceId,
1903
+ method: E,
1904
+ isFirstDeposit: z.Transaction?.Flags?.NewDepositCustomer === "True"
1903
1905
  }
1904
1906
  );
1905
1907
  break;
@@ -1922,7 +1924,7 @@ function O1(i, e, t) {
1922
1924
  currency: R.currency,
1923
1925
  failureReason: R.message
1924
1926
  }
1925
- ), E === "true" && t(22, ue = !0);
1927
+ ), V === "true" && t(22, ue = !0);
1926
1928
  break;
1927
1929
  default:
1928
1930
  ne("close");
@@ -1944,10 +1946,10 @@ function O1(i, e, t) {
1944
1946
  };
1945
1947
  let q, P;
1946
1948
  const W = async (s, B = !0) => {
1947
- const L = s.currentTarget.innerHTML;
1948
- if (L && navigator.clipboard && navigator.clipboard.writeText)
1949
+ const z = s.currentTarget.innerHTML;
1950
+ if (z && navigator.clipboard && navigator.clipboard.writeText)
1949
1951
  try {
1950
- await navigator.clipboard.writeText(L), B && (t(23, q = !0), clearTimeout(P), P = setTimeout(
1952
+ await navigator.clipboard.writeText(z), B && (t(23, q = !0), clearTimeout(P), P = setTimeout(
1951
1953
  () => {
1952
1954
  t(23, q = !1);
1953
1955
  },
@@ -1973,7 +1975,7 @@ function O1(i, e, t) {
1973
1975
  });
1974
1976
  }
1975
1977
  return i.$$set = (s) => {
1976
- "endpoint" in s && t(1, a = s.endpoint), "session" in s && t(2, r = s.session), "lang" in s && t(3, o = s.lang), "local" in s && t(31, d = s.local), "showerrors" in s && t(32, p = s.showerrors), "translationurl" in s && t(4, m = s.translationurl), "assetsurl" in s && t(5, u = s.assetsurl), "customerid" in s && t(6, C = s.customerid), "transactionid" in s && t(33, y = s.transactionid), "currencydecimals" in s && t(34, w = s.currencydecimals), "type" in s && t(35, k = s.type), "clientstyling" in s && t(7, I = s.clientstyling), "clientstylingurl" in s && t(8, Y = s.clientstylingurl), "mbsource" in s && t(36, Z = s.mbsource), "showverifications" in s && t(9, E = s.showverifications), "paymentmethod" in s && t(0, V = s.paymentmethod), "customsucceessbuttons" in s && t(37, D = s.customsucceessbuttons), "custompendingbuttons" in s && t(38, H = s.custompendingbuttons), "customfailedbuttons" in s && t(39, J = s.customfailedbuttons), "currencysymbol" in s && t(40, oe = s.currencysymbol), "currencyposition" in s && t(41, me = s.currencyposition), "userroles" in s && t(42, F = s.userroles), "windowsize" in s && t(43, re = s.windowsize), "p2p" in s && t(44, ge = s.p2p);
1978
+ "endpoint" in s && t(1, a = s.endpoint), "session" in s && t(2, r = s.session), "lang" in s && t(3, o = s.lang), "local" in s && t(31, d = s.local), "showerrors" in s && t(32, p = s.showerrors), "translationurl" in s && t(4, m = s.translationurl), "assetsurl" in s && t(5, u = s.assetsurl), "customerid" in s && t(6, C = s.customerid), "transactionid" in s && t(33, y = s.transactionid), "currencydecimals" in s && t(34, w = s.currencydecimals), "type" in s && t(35, k = s.type), "clientstyling" in s && t(7, I = s.clientstyling), "clientstylingurl" in s && t(8, Y = s.clientstylingurl), "mbsource" in s && t(36, Z = s.mbsource), "showverifications" in s && t(9, V = s.showverifications), "paymentmethod" in s && t(0, E = s.paymentmethod), "customsucceessbuttons" in s && t(37, D = s.customsucceessbuttons), "custompendingbuttons" in s && t(38, H = s.custompendingbuttons), "customfailedbuttons" in s && t(39, J = s.customfailedbuttons), "currencysymbol" in s && t(40, oe = s.currencysymbol), "currencyposition" in s && t(41, me = s.currencyposition), "userroles" in s && t(42, F = s.userroles), "windowsize" in s && t(43, re = s.windowsize), "p2p" in s && t(44, ge = s.p2p);
1977
1979
  }, i.$$.update = () => {
1978
1980
  i.$$.dirty[1] & /*userroles*/
1979
1981
  2048 && F && Re(), i.$$.dirty[0] & /*endpoint, session, customerid*/
@@ -1986,7 +1988,7 @@ function O1(i, e, t) {
1986
1988
  1024 | i.$$.dirty[1] & /*mbsource*/
1987
1989
  32 && Z && A && T1(A, `${Z}.Style`, ae);
1988
1990
  }, [
1989
- V,
1991
+ E,
1990
1992
  a,
1991
1993
  r,
1992
1994
  o,
@@ -1995,7 +1997,7 @@ function O1(i, e, t) {
1995
1997
  C,
1996
1998
  I,
1997
1999
  Y,
1998
- E,
2000
+ V,
1999
2001
  A,
2000
2002
  K,
2001
2003
  fe,
@@ -2080,145 +2082,145 @@ class q1 extends n1 {
2080
2082
  return this.$$.ctx[1];
2081
2083
  }
2082
2084
  set endpoint(e) {
2083
- this.$$set({ endpoint: e }), z();
2085
+ this.$$set({ endpoint: e }), L();
2084
2086
  }
2085
2087
  get session() {
2086
2088
  return this.$$.ctx[2];
2087
2089
  }
2088
2090
  set session(e) {
2089
- this.$$set({ session: e }), z();
2091
+ this.$$set({ session: e }), L();
2090
2092
  }
2091
2093
  get lang() {
2092
2094
  return this.$$.ctx[3];
2093
2095
  }
2094
2096
  set lang(e) {
2095
- this.$$set({ lang: e }), z();
2097
+ this.$$set({ lang: e }), L();
2096
2098
  }
2097
2099
  get local() {
2098
2100
  return this.$$.ctx[31];
2099
2101
  }
2100
2102
  set local(e) {
2101
- this.$$set({ local: e }), z();
2103
+ this.$$set({ local: e }), L();
2102
2104
  }
2103
2105
  get showerrors() {
2104
2106
  return this.$$.ctx[32];
2105
2107
  }
2106
2108
  set showerrors(e) {
2107
- this.$$set({ showerrors: e }), z();
2109
+ this.$$set({ showerrors: e }), L();
2108
2110
  }
2109
2111
  get translationurl() {
2110
2112
  return this.$$.ctx[4];
2111
2113
  }
2112
2114
  set translationurl(e) {
2113
- this.$$set({ translationurl: e }), z();
2115
+ this.$$set({ translationurl: e }), L();
2114
2116
  }
2115
2117
  get assetsurl() {
2116
2118
  return this.$$.ctx[5];
2117
2119
  }
2118
2120
  set assetsurl(e) {
2119
- this.$$set({ assetsurl: e }), z();
2121
+ this.$$set({ assetsurl: e }), L();
2120
2122
  }
2121
2123
  get customerid() {
2122
2124
  return this.$$.ctx[6];
2123
2125
  }
2124
2126
  set customerid(e) {
2125
- this.$$set({ customerid: e }), z();
2127
+ this.$$set({ customerid: e }), L();
2126
2128
  }
2127
2129
  get transactionid() {
2128
2130
  return this.$$.ctx[33];
2129
2131
  }
2130
2132
  set transactionid(e) {
2131
- this.$$set({ transactionid: e }), z();
2133
+ this.$$set({ transactionid: e }), L();
2132
2134
  }
2133
2135
  get currencydecimals() {
2134
2136
  return this.$$.ctx[34];
2135
2137
  }
2136
2138
  set currencydecimals(e) {
2137
- this.$$set({ currencydecimals: e }), z();
2139
+ this.$$set({ currencydecimals: e }), L();
2138
2140
  }
2139
2141
  get type() {
2140
2142
  return this.$$.ctx[35];
2141
2143
  }
2142
2144
  set type(e) {
2143
- this.$$set({ type: e }), z();
2145
+ this.$$set({ type: e }), L();
2144
2146
  }
2145
2147
  get clientstyling() {
2146
2148
  return this.$$.ctx[7];
2147
2149
  }
2148
2150
  set clientstyling(e) {
2149
- this.$$set({ clientstyling: e }), z();
2151
+ this.$$set({ clientstyling: e }), L();
2150
2152
  }
2151
2153
  get clientstylingurl() {
2152
2154
  return this.$$.ctx[8];
2153
2155
  }
2154
2156
  set clientstylingurl(e) {
2155
- this.$$set({ clientstylingurl: e }), z();
2157
+ this.$$set({ clientstylingurl: e }), L();
2156
2158
  }
2157
2159
  get mbsource() {
2158
2160
  return this.$$.ctx[36];
2159
2161
  }
2160
2162
  set mbsource(e) {
2161
- this.$$set({ mbsource: e }), z();
2163
+ this.$$set({ mbsource: e }), L();
2162
2164
  }
2163
2165
  get showverifications() {
2164
2166
  return this.$$.ctx[9];
2165
2167
  }
2166
2168
  set showverifications(e) {
2167
- this.$$set({ showverifications: e }), z();
2169
+ this.$$set({ showverifications: e }), L();
2168
2170
  }
2169
2171
  get paymentmethod() {
2170
2172
  return this.$$.ctx[0];
2171
2173
  }
2172
2174
  set paymentmethod(e) {
2173
- this.$$set({ paymentmethod: e }), z();
2175
+ this.$$set({ paymentmethod: e }), L();
2174
2176
  }
2175
2177
  get customsucceessbuttons() {
2176
2178
  return this.$$.ctx[37];
2177
2179
  }
2178
2180
  set customsucceessbuttons(e) {
2179
- this.$$set({ customsucceessbuttons: e }), z();
2181
+ this.$$set({ customsucceessbuttons: e }), L();
2180
2182
  }
2181
2183
  get custompendingbuttons() {
2182
2184
  return this.$$.ctx[38];
2183
2185
  }
2184
2186
  set custompendingbuttons(e) {
2185
- this.$$set({ custompendingbuttons: e }), z();
2187
+ this.$$set({ custompendingbuttons: e }), L();
2186
2188
  }
2187
2189
  get customfailedbuttons() {
2188
2190
  return this.$$.ctx[39];
2189
2191
  }
2190
2192
  set customfailedbuttons(e) {
2191
- this.$$set({ customfailedbuttons: e }), z();
2193
+ this.$$set({ customfailedbuttons: e }), L();
2192
2194
  }
2193
2195
  get currencysymbol() {
2194
2196
  return this.$$.ctx[40];
2195
2197
  }
2196
2198
  set currencysymbol(e) {
2197
- this.$$set({ currencysymbol: e }), z();
2199
+ this.$$set({ currencysymbol: e }), L();
2198
2200
  }
2199
2201
  get currencyposition() {
2200
2202
  return this.$$.ctx[41];
2201
2203
  }
2202
2204
  set currencyposition(e) {
2203
- this.$$set({ currencyposition: e }), z();
2205
+ this.$$set({ currencyposition: e }), L();
2204
2206
  }
2205
2207
  get userroles() {
2206
2208
  return this.$$.ctx[42];
2207
2209
  }
2208
2210
  set userroles(e) {
2209
- this.$$set({ userroles: e }), z();
2211
+ this.$$set({ userroles: e }), L();
2210
2212
  }
2211
2213
  get windowsize() {
2212
2214
  return this.$$.ctx[43];
2213
2215
  }
2214
2216
  set windowsize(e) {
2215
- this.$$set({ windowsize: e }), z();
2217
+ this.$$set({ windowsize: e }), L();
2216
2218
  }
2217
2219
  get p2p() {
2218
2220
  return this.$$.ctx[44];
2219
2221
  }
2220
2222
  set p2p(e) {
2221
- this.$$set({ p2p: e }), z();
2223
+ this.$$set({ p2p: e }), L();
2222
2224
  }
2223
2225
  }
2224
2226
  b1(q1, { endpoint: {}, session: {}, lang: {}, local: {}, showerrors: {}, translationurl: {}, assetsurl: {}, customerid: {}, transactionid: {}, currencydecimals: {}, type: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showverifications: {}, paymentmethod: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, currencysymbol: {}, currencyposition: {}, userroles: {}, windowsize: {}, p2p: {} }, [], [], !0);
@@ -1,5 +1,5 @@
1
- import { a as An, i as Cn, $ as vn, S as Ln, b as Mn, s as Rn, f as J, c as kn, e as Me, t as Ae, g as ye, a7 as un, a8 as fn, k as Re, m as R, p as Ut, M as Bt, N as On, q as Dn, a9 as Nn, d as $e, F as In, aa as zt, ab as Ht, H as Ft, v as We, u as et, h as tt, j as nt, o as u, l as p, G as Pn, z as Ze, Q as se, n as be, w as Ye, R as Gt, x as Wt, r as Un, y as Yt, J as jt, A as Bn, B as zn } from "./CashierPage-Cyh00U_t.js";
2
- import { s as Hn, a as Fn, b as Gn } from "./CashierHeader-BGa8_twf.js";
1
+ import { a as An, i as Cn, $ as vn, S as Ln, b as Mn, s as Rn, f as J, c as kn, e as Me, t as Ae, g as ye, a7 as un, a8 as fn, k as Re, m as R, p as Ut, M as Bt, N as On, q as Dn, a9 as Nn, d as $e, F as In, aa as zt, ab as Ht, H as Ft, v as We, u as et, h as tt, j as nt, o as u, l as p, G as Pn, z as Ze, Q as se, n as be, w as Ye, R as Gt, x as Wt, r as Un, y as Yt, J as jt, A as Bn, B as zn } from "./CashierPage-Dpkh9Hju.js";
2
+ import { s as Hn, a as Fn, b as Gn } from "./CashierHeader-CqC1skNP.js";
3
3
  function Xt(n, t) {
4
4
  An(n, t);
5
5
  }
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-Datx6Ztd.cjs"),Ve=require("./CashierHeader-DL7CeVPX.cjs");function xt(i,n){e.addMessages(i,n)}function $t(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const wt={en:{sessionExpirationHeader:"Session Warning",sessionExpirationTitle:"Your session is about to expire!",sessionExpirationGeneralText:"Your session will automatically terminate in <b>{second} seconds</b>.",sessionExpirationGeneralButton:"Continue session",sessionExpirationLoadingButton:"Processing...",sessionExpirationEnd:"End session"},tr:{sessionExpirationHeader:"Oturum Uyarısı",sessionExpirationTitle:"Oturumunuzun süresi dolmak üzere!",sessionExpirationGeneralText:"Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",sessionExpirationGeneralButton:"DEVAM ET",sessionExpirationLoadingButton:"İŞLEME...",sessionExpirationEnd:"Oturumu sonlandır"},fr:{sessionExpirationHeader:"Avertissement de session",sessionExpirationTitle:"Votre session est sur le point d'expirer !",sessionExpirationGeneralText:"Votre session se terminera automatiquement dans <b>{second} secondes</b>.",sessionExpirationGeneralButton:"Continuer la session",sessionExpirationLoadingButton:"Traitement en cours...",sessionExpirationEnd:"Terminer la session"},da:{sessionExpirationHeader:"Sessionsadvarsel",sessionExpirationTitle:"Din session er ved at udløbe!",sessionExpirationGeneralText:"Din session afsluttes automatisk om <b>{second} sekunder</b>.",sessionExpirationGeneralButton:"Fortsæt session",sessionExpirationLoadingButton:"Behandler...",sessionExpirationEnd:"Afslut session"},de:{sessionExpirationHeader:"Sitzungswarnung",sessionExpirationTitle:"Ihre Sitzung läuft bald ab!",sessionExpirationGeneralText:"Ihre Sitzung wird automatisch in <b>{second} Sekunden</b> beendet.",sessionExpirationGeneralButton:"Sitzung fortsetzen",sessionExpirationLoadingButton:"Verarbeitung...",sessionExpirationEnd:"Sitzung beenden"},nl:{sessionExpirationHeader:"Sessiewaarschuwing",sessionExpirationTitle:"Uw sessie staat op het punt te verlopen!",sessionExpirationGeneralText:"Uw sessie wordt automatisch beëindigd over <b>{second} seconden</b>.",sessionExpirationGeneralButton:"Sessie voortzetten",sessionExpirationLoadingButton:"Verwerken...",sessionExpirationEnd:"Sessie beëindigen"},ru:{sessionExpirationHeader:"Предупреждение о сессии",sessionExpirationTitle:"Ваша сессия скоро завершится!",sessionExpirationGeneralText:"Ваша сессия автоматически завершится через <b>{second} секунд</b>.",sessionExpirationGeneralButton:"Продолжить сессию",sessionExpirationLoadingButton:"Обработка...",sessionExpirationEnd:"Завершить сессию"},az:{sessionExpirationHeader:"Sessiya Xəbərdarlığı",sessionExpirationTitle:"Sessiyanızın müddəti bitmək üzrədir!",sessionExpirationGeneralText:"Sessiyanız <b>{second} saniyə</b> ərzində avtomatik olaraq sona çatacaq.",sessionExpirationGeneralButton:"Sessiyaya davam et",sessionExpirationLoadingButton:"İcra olunur...",sessionExpirationEnd:"Sessiyanı sonlandır"}};/*! @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 */const{entries:zt,setPrototypeOf:St,isFrozen:en,getPrototypeOf:tn,getOwnPropertyDescriptor:nn}=Object;let{freeze:U,seal:Q,create:Ht}=Object,{apply:$e,construct:et}=typeof Reflect!="undefined"&&Reflect;U||(U=function(n){return n});Q||(Q=function(n){return n});$e||($e=function(n,o,s){return n.apply(o,s)});et||(et=function(n,o){return new n(...o)});const ze=V(Array.prototype.forEach),At=V(Array.prototype.pop),Me=V(Array.prototype.push),Fe=V(String.prototype.toLowerCase),qe=V(String.prototype.toString),Ct=V(String.prototype.match),Re=V(String.prototype.replace),on=V(String.prototype.indexOf),sn=V(String.prototype.trim),ne=V(Object.prototype.hasOwnProperty),P=V(RegExp.prototype.test),ke=rn(TypeError);function V(i){return function(n){for(var o=arguments.length,s=new Array(o>1?o-1:0),a=1;a<o;a++)s[a-1]=arguments[a];return $e(i,n,s)}}function rn(i){return function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return et(i,o)}}function d(i,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Fe;St&&St(i,null);let s=n.length;for(;s--;){let a=n[s];if(typeof a=="string"){const f=o(a);f!==a&&(en(n)||(n[s]=f),a=f)}i[a]=!0}return i}function an(i){for(let n=0;n<i.length;n++)ne(i,n)||(i[n]=null);return i}function ye(i){const n=Ht(null);for(const[o,s]of zt(i))ne(i,o)&&(Array.isArray(s)?n[o]=an(s):s&&typeof s=="object"&&s.constructor===Object?n[o]=ye(s):n[o]=s);return n}function Oe(i,n){for(;i!==null;){const s=nn(i,n);if(s){if(s.get)return V(s.get);if(typeof s.value=="function")return V(s.value)}i=tn(i)}function o(){return null}return o}const vt=U(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ze=U(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Je=U(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ln=U(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ke=U(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),cn=U(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Lt=U(["#text"]),Mt=U(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Qe=U(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Rt=U(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),He=U(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),un=Q(/\{\{[\w\W]*|[\w\W]*\}\}/gm),fn=Q(/<%[\w\W]*|[\w\W]*%>/gm),pn=Q(/\${[\w\W]*}/gm),dn=Q(/^data-[\-\w.\u00B7-\uFFFF]/),mn=Q(/^aria-[\-\w]+$/),Ft=Q(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),hn=Q(/^(?:\w+script|data):/i),gn=Q(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Gt=Q(/^html$/i),_n=Q(/^[a-z][.\w]*(-[.\w]+)+$/i);var kt=Object.freeze({__proto__:null,MUSTACHE_EXPR:un,ERB_EXPR:fn,TMPLIT_EXPR:pn,DATA_ATTR:dn,ARIA_ATTR:mn,IS_ALLOWED_URI:Ft,IS_SCRIPT_OR_DATA:hn,ATTR_WHITESPACE:gn,DOCTYPE_NAME:Gt,CUSTOM_ELEMENT:_n});const De={element:1,text:3,progressingInstruction:7,comment:8,document:9},En=function(){return typeof window=="undefined"?null:window},Tn=function(n,o){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let s=null;const a="data-tt-policy-suffix";o&&o.hasAttribute(a)&&(s=o.getAttribute(a));const f="dompurify"+(s?"#"+s:"");try{return n.createPolicy(f,{createHTML(g){return g},createScriptURL(g){return g}})}catch(g){return console.warn("TrustedTypes policy "+f+" could not be created."),null}};function Wt(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:En();const n=u=>Wt(u);if(n.version="3.1.6",n.removed=[],!i||!i.document||i.document.nodeType!==De.document)return n.isSupported=!1,n;let{document:o}=i;const s=o,a=s.currentScript,{DocumentFragment:f,HTMLTemplateElement:g,Node:x,Element:T,NodeFilter:_,NamedNodeMap:Y=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:$,DOMParser:Te,trustedTypes:B}=i,z=T.prototype,ge=Oe(z,"cloneNode"),ie=Oe(z,"remove"),H=Oe(z,"nextSibling"),ue=Oe(z,"childNodes"),q=Oe(z,"parentNode");if(typeof g=="function"){const u=o.createElement("template");u.content&&u.content.ownerDocument&&(o=u.content.ownerDocument)}let h,w="";const{implementation:ee,createNodeIterator:oe,createDocumentFragment:fe,getElementsByTagName:F}=o,{importNode:te}=s;let C={};n.isSupported=typeof zt=="function"&&typeof q=="function"&&ee&&ee.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:se,ERB_EXPR:j,TMPLIT_EXPR:pe,DATA_ATTR:Z,ARIA_ATTR:k,IS_SCRIPT_OR_DATA:D,ATTR_WHITESPACE:J,CUSTOM_ELEMENT:be}=kt;let{IS_ALLOWED_URI:X}=kt,p=null;const _e=d({},[...vt,...Ze,...Je,...Ke,...Lt]);let S=null;const Ee=d({},[...Mt,...Qe,...Rt,...He]);let E=Object.seal(Ht(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),v=null,l=null,m=!0,N=!0,L=!1,G=!0,de=!1,K=!0,re=!1,y=!1,A=!1,ae=!1,Ne=!1,Ie=!1,tt=!0,nt=!1;const jt="user-content-";let Ge=!0,Ce=!1,xe={},we=null;const it=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"]);let ot=null;const st=d({},["audio","video","img","source","image","track"]);let We=null;const rt=d({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Pe="http://www.w3.org/1998/Math/MathML",Ue="http://www.w3.org/2000/svg",me="http://www.w3.org/1999/xhtml";let Se=me,Ye=!1,je=null;const Xt=d({},[Pe,Ue,me],qe);let ve=null;const Vt=["application/xhtml+xml","text/html"],qt="text/html";let M=null,Ae=null;const Zt=o.createElement("form"),at=function(t){return t instanceof RegExp||t instanceof Function},Xe=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Ae&&Ae===t)){if((!t||typeof t!="object")&&(t={}),t=ye(t),ve=Vt.indexOf(t.PARSER_MEDIA_TYPE)===-1?qt:t.PARSER_MEDIA_TYPE,M=ve==="application/xhtml+xml"?qe:Fe,p=ne(t,"ALLOWED_TAGS")?d({},t.ALLOWED_TAGS,M):_e,S=ne(t,"ALLOWED_ATTR")?d({},t.ALLOWED_ATTR,M):Ee,je=ne(t,"ALLOWED_NAMESPACES")?d({},t.ALLOWED_NAMESPACES,qe):Xt,We=ne(t,"ADD_URI_SAFE_ATTR")?d(ye(rt),t.ADD_URI_SAFE_ATTR,M):rt,ot=ne(t,"ADD_DATA_URI_TAGS")?d(ye(st),t.ADD_DATA_URI_TAGS,M):st,we=ne(t,"FORBID_CONTENTS")?d({},t.FORBID_CONTENTS,M):it,v=ne(t,"FORBID_TAGS")?d({},t.FORBID_TAGS,M):{},l=ne(t,"FORBID_ATTR")?d({},t.FORBID_ATTR,M):{},xe=ne(t,"USE_PROFILES")?t.USE_PROFILES:!1,m=t.ALLOW_ARIA_ATTR!==!1,N=t.ALLOW_DATA_ATTR!==!1,L=t.ALLOW_UNKNOWN_PROTOCOLS||!1,G=t.ALLOW_SELF_CLOSE_IN_ATTR!==!1,de=t.SAFE_FOR_TEMPLATES||!1,K=t.SAFE_FOR_XML!==!1,re=t.WHOLE_DOCUMENT||!1,ae=t.RETURN_DOM||!1,Ne=t.RETURN_DOM_FRAGMENT||!1,Ie=t.RETURN_TRUSTED_TYPE||!1,A=t.FORCE_BODY||!1,tt=t.SANITIZE_DOM!==!1,nt=t.SANITIZE_NAMED_PROPS||!1,Ge=t.KEEP_CONTENT!==!1,Ce=t.IN_PLACE||!1,X=t.ALLOWED_URI_REGEXP||Ft,Se=t.NAMESPACE||me,E=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&at(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(E.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&at(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(E.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(E.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),de&&(N=!1),Ne&&(ae=!0),xe&&(p=d({},Lt),S=[],xe.html===!0&&(d(p,vt),d(S,Mt)),xe.svg===!0&&(d(p,Ze),d(S,Qe),d(S,He)),xe.svgFilters===!0&&(d(p,Je),d(S,Qe),d(S,He)),xe.mathMl===!0&&(d(p,Ke),d(S,Rt),d(S,He))),t.ADD_TAGS&&(p===_e&&(p=ye(p)),d(p,t.ADD_TAGS,M)),t.ADD_ATTR&&(S===Ee&&(S=ye(S)),d(S,t.ADD_ATTR,M)),t.ADD_URI_SAFE_ATTR&&d(We,t.ADD_URI_SAFE_ATTR,M),t.FORBID_CONTENTS&&(we===it&&(we=ye(we)),d(we,t.FORBID_CONTENTS,M)),Ge&&(p["#text"]=!0),re&&d(p,["html","head","body"]),p.table&&(d(p,["tbody"]),delete v.tbody),t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!="function")throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=t.TRUSTED_TYPES_POLICY,w=h.createHTML("")}else h===void 0&&(h=Tn(B,a)),h!==null&&typeof w=="string"&&(w=h.createHTML(""));U&&U(t),Ae=t}},lt=d({},["mi","mo","mn","ms","mtext"]),ct=d({},["foreignobject","annotation-xml"]),Jt=d({},["title","style","font","a","script"]),ut=d({},[...Ze,...Je,...ln]),ft=d({},[...Ke,...cn]),Kt=function(t){let r=q(t);(!r||!r.tagName)&&(r={namespaceURI:Se,tagName:"template"});const c=Fe(t.tagName),b=Fe(r.tagName);return je[t.namespaceURI]?t.namespaceURI===Ue?r.namespaceURI===me?c==="svg":r.namespaceURI===Pe?c==="svg"&&(b==="annotation-xml"||lt[b]):!!ut[c]:t.namespaceURI===Pe?r.namespaceURI===me?c==="math":r.namespaceURI===Ue?c==="math"&&ct[b]:!!ft[c]:t.namespaceURI===me?r.namespaceURI===Ue&&!ct[b]||r.namespaceURI===Pe&&!lt[b]?!1:!ft[c]&&(Jt[c]||!ut[c]):!!(ve==="application/xhtml+xml"&&je[t.namespaceURI]):!1},le=function(t){Me(n.removed,{element:t});try{q(t).removeChild(t)}catch(r){ie(t)}},Be=function(t,r){try{Me(n.removed,{attribute:r.getAttributeNode(t),from:r})}catch(c){Me(n.removed,{attribute:null,from:r})}if(r.removeAttribute(t),t==="is"&&!S[t])if(ae||Ne)try{le(r)}catch(c){}else try{r.setAttribute(t,"")}catch(c){}},pt=function(t){let r=null,c=null;if(A)t="<remove></remove>"+t;else{const R=Ct(t,/^[\r\n\t ]+/);c=R&&R[0]}ve==="application/xhtml+xml"&&Se===me&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const b=h?h.createHTML(t):t;if(Se===me)try{r=new Te().parseFromString(b,ve)}catch(R){}if(!r||!r.documentElement){r=ee.createDocument(Se,"template",null);try{r.documentElement.innerHTML=Ye?w:b}catch(R){}}const O=r.body||r.documentElement;return t&&c&&O.insertBefore(o.createTextNode(c),O.childNodes[0]||null),Se===me?F.call(r,re?"html":"body")[0]:re?r.documentElement:O},dt=function(t){return oe.call(t.ownerDocument||t,t,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT|_.SHOW_PROCESSING_INSTRUCTION|_.SHOW_CDATA_SECTION,null)},mt=function(t){return t instanceof $&&(typeof t.nodeName!="string"||typeof t.textContent!="string"||typeof t.removeChild!="function"||!(t.attributes instanceof Y)||typeof t.removeAttribute!="function"||typeof t.setAttribute!="function"||typeof t.namespaceURI!="string"||typeof t.insertBefore!="function"||typeof t.hasChildNodes!="function")},ht=function(t){return typeof x=="function"&&t instanceof x},he=function(t,r,c){C[t]&&ze(C[t],b=>{b.call(n,r,c,Ae)})},gt=function(t){let r=null;if(he("beforeSanitizeElements",t,null),mt(t))return le(t),!0;const c=M(t.nodeName);if(he("uponSanitizeElement",t,{tagName:c,allowedTags:p}),t.hasChildNodes()&&!ht(t.firstElementChild)&&P(/<[/\w]/g,t.innerHTML)&&P(/<[/\w]/g,t.textContent)||t.nodeType===De.progressingInstruction||K&&t.nodeType===De.comment&&P(/<[/\w]/g,t.data))return le(t),!0;if(!p[c]||v[c]){if(!v[c]&&Et(c)&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,c)||E.tagNameCheck instanceof Function&&E.tagNameCheck(c)))return!1;if(Ge&&!we[c]){const b=q(t)||t.parentNode,O=ue(t)||t.childNodes;if(O&&b){const R=O.length;for(let W=R-1;W>=0;--W){const ce=ge(O[W],!0);ce.__removalCount=(t.__removalCount||0)+1,b.insertBefore(ce,H(t))}}}return le(t),!0}return t instanceof T&&!Kt(t)||(c==="noscript"||c==="noembed"||c==="noframes")&&P(/<\/no(script|embed|frames)/i,t.innerHTML)?(le(t),!0):(de&&t.nodeType===De.text&&(r=t.textContent,ze([se,j,pe],b=>{r=Re(r,b," ")}),t.textContent!==r&&(Me(n.removed,{element:t.cloneNode()}),t.textContent=r)),he("afterSanitizeElements",t,null),!1)},_t=function(t,r,c){if(tt&&(r==="id"||r==="name")&&(c in o||c in Zt))return!1;if(!(N&&!l[r]&&P(Z,r))){if(!(m&&P(k,r))){if(!S[r]||l[r]){if(!(Et(t)&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,t)||E.tagNameCheck instanceof Function&&E.tagNameCheck(t))&&(E.attributeNameCheck instanceof RegExp&&P(E.attributeNameCheck,r)||E.attributeNameCheck instanceof Function&&E.attributeNameCheck(r))||r==="is"&&E.allowCustomizedBuiltInElements&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,c)||E.tagNameCheck instanceof Function&&E.tagNameCheck(c))))return!1}else if(!We[r]){if(!P(X,Re(c,J,""))){if(!((r==="src"||r==="xlink:href"||r==="href")&&t!=="script"&&on(c,"data:")===0&&ot[t])){if(!(L&&!P(D,Re(c,J,"")))){if(c)return!1}}}}}}return!0},Et=function(t){return t!=="annotation-xml"&&Ct(t,be)},Tt=function(t){he("beforeSanitizeAttributes",t,null);const{attributes:r}=t;if(!r)return;const c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:S};let b=r.length;for(;b--;){const O=r[b],{name:R,namespaceURI:W,value:ce}=O,Le=M(R);let I=R==="value"?ce:sn(ce);if(c.attrName=Le,c.attrValue=I,c.keepAttr=!0,c.forceKeepAttr=void 0,he("uponSanitizeAttribute",t,c),I=c.attrValue,K&&P(/((--!?|])>)|<\/(style|title)/i,I)){Be(R,t);continue}if(c.forceKeepAttr||(Be(R,t),!c.keepAttr))continue;if(!G&&P(/\/>/i,I)){Be(R,t);continue}de&&ze([se,j,pe],yt=>{I=Re(I,yt," ")});const bt=M(t.nodeName);if(_t(bt,Le,I)){if(nt&&(Le==="id"||Le==="name")&&(Be(R,t),I=jt+I),h&&typeof B=="object"&&typeof B.getAttributeType=="function"&&!W)switch(B.getAttributeType(bt,Le)){case"TrustedHTML":{I=h.createHTML(I);break}case"TrustedScriptURL":{I=h.createScriptURL(I);break}}try{W?t.setAttributeNS(W,R,I):t.setAttribute(R,I),mt(t)?le(t):At(n.removed)}catch(yt){}}}he("afterSanitizeAttributes",t,null)},Qt=function u(t){let r=null;const c=dt(t);for(he("beforeSanitizeShadowDOM",t,null);r=c.nextNode();)he("uponSanitizeShadowNode",r,null),!gt(r)&&(r.content instanceof f&&u(r.content),Tt(r));he("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=null,c=null,b=null,O=null;if(Ye=!u,Ye&&(u="<!-->"),typeof u!="string"&&!ht(u))if(typeof u.toString=="function"){if(u=u.toString(),typeof u!="string")throw ke("dirty is not a string, aborting")}else throw ke("toString is not a function");if(!n.isSupported)return u;if(y||Xe(t),n.removed=[],typeof u=="string"&&(Ce=!1),Ce){if(u.nodeName){const ce=M(u.nodeName);if(!p[ce]||v[ce])throw ke("root node is forbidden and cannot be sanitized in-place")}}else if(u instanceof x)r=pt("<!---->"),c=r.ownerDocument.importNode(u,!0),c.nodeType===De.element&&c.nodeName==="BODY"||c.nodeName==="HTML"?r=c:r.appendChild(c);else{if(!ae&&!de&&!re&&u.indexOf("<")===-1)return h&&Ie?h.createHTML(u):u;if(r=pt(u),!r)return ae?null:Ie?w:""}r&&A&&le(r.firstChild);const R=dt(Ce?u:r);for(;b=R.nextNode();)gt(b)||(b.content instanceof f&&Qt(b.content),Tt(b));if(Ce)return u;if(ae){if(Ne)for(O=fe.call(r.ownerDocument);r.firstChild;)O.appendChild(r.firstChild);else O=r;return(S.shadowroot||S.shadowrootmode)&&(O=te.call(s,O,!0)),O}let W=re?r.outerHTML:r.innerHTML;return re&&p["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&P(Gt,r.ownerDocument.doctype.name)&&(W="<!DOCTYPE "+r.ownerDocument.doctype.name+`>
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-kERzcp9N.cjs"),Ve=require("./CashierHeader-DvtbEkhl.cjs");function xt(i,n){e.addMessages(i,n)}function $t(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const wt={en:{sessionExpirationHeader:"Session Warning",sessionExpirationTitle:"Your session is about to expire!",sessionExpirationGeneralText:"Your session will automatically terminate in <b>{second} seconds</b>.",sessionExpirationGeneralButton:"Continue session",sessionExpirationLoadingButton:"Processing...",sessionExpirationEnd:"End session"},tr:{sessionExpirationHeader:"Oturum Uyarısı",sessionExpirationTitle:"Oturumunuzun süresi dolmak üzere!",sessionExpirationGeneralText:"Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",sessionExpirationGeneralButton:"DEVAM ET",sessionExpirationLoadingButton:"İŞLEME...",sessionExpirationEnd:"Oturumu sonlandır"},fr:{sessionExpirationHeader:"Avertissement de session",sessionExpirationTitle:"Votre session est sur le point d'expirer !",sessionExpirationGeneralText:"Votre session se terminera automatiquement dans <b>{second} secondes</b>.",sessionExpirationGeneralButton:"Continuer la session",sessionExpirationLoadingButton:"Traitement en cours...",sessionExpirationEnd:"Terminer la session"},da:{sessionExpirationHeader:"Sessionsadvarsel",sessionExpirationTitle:"Din session er ved at udløbe!",sessionExpirationGeneralText:"Din session afsluttes automatisk om <b>{second} sekunder</b>.",sessionExpirationGeneralButton:"Fortsæt session",sessionExpirationLoadingButton:"Behandler...",sessionExpirationEnd:"Afslut session"},de:{sessionExpirationHeader:"Sitzungswarnung",sessionExpirationTitle:"Ihre Sitzung läuft bald ab!",sessionExpirationGeneralText:"Ihre Sitzung wird automatisch in <b>{second} Sekunden</b> beendet.",sessionExpirationGeneralButton:"Sitzung fortsetzen",sessionExpirationLoadingButton:"Verarbeitung...",sessionExpirationEnd:"Sitzung beenden"},nl:{sessionExpirationHeader:"Sessiewaarschuwing",sessionExpirationTitle:"Uw sessie staat op het punt te verlopen!",sessionExpirationGeneralText:"Uw sessie wordt automatisch beëindigd over <b>{second} seconden</b>.",sessionExpirationGeneralButton:"Sessie voortzetten",sessionExpirationLoadingButton:"Verwerken...",sessionExpirationEnd:"Sessie beëindigen"},ru:{sessionExpirationHeader:"Предупреждение о сессии",sessionExpirationTitle:"Ваша сессия скоро завершится!",sessionExpirationGeneralText:"Ваша сессия автоматически завершится через <b>{second} секунд</b>.",sessionExpirationGeneralButton:"Продолжить сессию",sessionExpirationLoadingButton:"Обработка...",sessionExpirationEnd:"Завершить сессию"},az:{sessionExpirationHeader:"Sessiya Xəbərdarlığı",sessionExpirationTitle:"Sessiyanızın müddəti bitmək üzrədir!",sessionExpirationGeneralText:"Sessiyanız <b>{second} saniyə</b> ərzində avtomatik olaraq sona çatacaq.",sessionExpirationGeneralButton:"Sessiyaya davam et",sessionExpirationLoadingButton:"İcra olunur...",sessionExpirationEnd:"Sessiyanı sonlandır"}};/*! @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 */const{entries:zt,setPrototypeOf:St,isFrozen:en,getPrototypeOf:tn,getOwnPropertyDescriptor:nn}=Object;let{freeze:U,seal:Q,create:Ht}=Object,{apply:$e,construct:et}=typeof Reflect!="undefined"&&Reflect;U||(U=function(n){return n});Q||(Q=function(n){return n});$e||($e=function(n,o,s){return n.apply(o,s)});et||(et=function(n,o){return new n(...o)});const ze=V(Array.prototype.forEach),At=V(Array.prototype.pop),Me=V(Array.prototype.push),Fe=V(String.prototype.toLowerCase),qe=V(String.prototype.toString),Ct=V(String.prototype.match),Re=V(String.prototype.replace),on=V(String.prototype.indexOf),sn=V(String.prototype.trim),ne=V(Object.prototype.hasOwnProperty),P=V(RegExp.prototype.test),ke=rn(TypeError);function V(i){return function(n){for(var o=arguments.length,s=new Array(o>1?o-1:0),a=1;a<o;a++)s[a-1]=arguments[a];return $e(i,n,s)}}function rn(i){return function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return et(i,o)}}function d(i,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Fe;St&&St(i,null);let s=n.length;for(;s--;){let a=n[s];if(typeof a=="string"){const f=o(a);f!==a&&(en(n)||(n[s]=f),a=f)}i[a]=!0}return i}function an(i){for(let n=0;n<i.length;n++)ne(i,n)||(i[n]=null);return i}function ye(i){const n=Ht(null);for(const[o,s]of zt(i))ne(i,o)&&(Array.isArray(s)?n[o]=an(s):s&&typeof s=="object"&&s.constructor===Object?n[o]=ye(s):n[o]=s);return n}function Oe(i,n){for(;i!==null;){const s=nn(i,n);if(s){if(s.get)return V(s.get);if(typeof s.value=="function")return V(s.value)}i=tn(i)}function o(){return null}return o}const vt=U(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ze=U(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Je=U(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ln=U(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ke=U(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),cn=U(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Lt=U(["#text"]),Mt=U(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Qe=U(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Rt=U(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),He=U(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),un=Q(/\{\{[\w\W]*|[\w\W]*\}\}/gm),fn=Q(/<%[\w\W]*|[\w\W]*%>/gm),pn=Q(/\${[\w\W]*}/gm),dn=Q(/^data-[\-\w.\u00B7-\uFFFF]/),mn=Q(/^aria-[\-\w]+$/),Ft=Q(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),hn=Q(/^(?:\w+script|data):/i),gn=Q(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Gt=Q(/^html$/i),_n=Q(/^[a-z][.\w]*(-[.\w]+)+$/i);var kt=Object.freeze({__proto__:null,MUSTACHE_EXPR:un,ERB_EXPR:fn,TMPLIT_EXPR:pn,DATA_ATTR:dn,ARIA_ATTR:mn,IS_ALLOWED_URI:Ft,IS_SCRIPT_OR_DATA:hn,ATTR_WHITESPACE:gn,DOCTYPE_NAME:Gt,CUSTOM_ELEMENT:_n});const De={element:1,text:3,progressingInstruction:7,comment:8,document:9},En=function(){return typeof window=="undefined"?null:window},Tn=function(n,o){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let s=null;const a="data-tt-policy-suffix";o&&o.hasAttribute(a)&&(s=o.getAttribute(a));const f="dompurify"+(s?"#"+s:"");try{return n.createPolicy(f,{createHTML(g){return g},createScriptURL(g){return g}})}catch(g){return console.warn("TrustedTypes policy "+f+" could not be created."),null}};function Wt(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:En();const n=u=>Wt(u);if(n.version="3.1.6",n.removed=[],!i||!i.document||i.document.nodeType!==De.document)return n.isSupported=!1,n;let{document:o}=i;const s=o,a=s.currentScript,{DocumentFragment:f,HTMLTemplateElement:g,Node:x,Element:T,NodeFilter:_,NamedNodeMap:Y=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:$,DOMParser:Te,trustedTypes:B}=i,z=T.prototype,ge=Oe(z,"cloneNode"),ie=Oe(z,"remove"),H=Oe(z,"nextSibling"),ue=Oe(z,"childNodes"),q=Oe(z,"parentNode");if(typeof g=="function"){const u=o.createElement("template");u.content&&u.content.ownerDocument&&(o=u.content.ownerDocument)}let h,w="";const{implementation:ee,createNodeIterator:oe,createDocumentFragment:fe,getElementsByTagName:F}=o,{importNode:te}=s;let C={};n.isSupported=typeof zt=="function"&&typeof q=="function"&&ee&&ee.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:se,ERB_EXPR:j,TMPLIT_EXPR:pe,DATA_ATTR:Z,ARIA_ATTR:k,IS_SCRIPT_OR_DATA:D,ATTR_WHITESPACE:J,CUSTOM_ELEMENT:be}=kt;let{IS_ALLOWED_URI:X}=kt,p=null;const _e=d({},[...vt,...Ze,...Je,...Ke,...Lt]);let S=null;const Ee=d({},[...Mt,...Qe,...Rt,...He]);let E=Object.seal(Ht(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),v=null,l=null,m=!0,N=!0,L=!1,G=!0,de=!1,K=!0,re=!1,y=!1,A=!1,ae=!1,Ne=!1,Ie=!1,tt=!0,nt=!1;const jt="user-content-";let Ge=!0,Ce=!1,xe={},we=null;const it=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"]);let ot=null;const st=d({},["audio","video","img","source","image","track"]);let We=null;const rt=d({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Pe="http://www.w3.org/1998/Math/MathML",Ue="http://www.w3.org/2000/svg",me="http://www.w3.org/1999/xhtml";let Se=me,Ye=!1,je=null;const Xt=d({},[Pe,Ue,me],qe);let ve=null;const Vt=["application/xhtml+xml","text/html"],qt="text/html";let M=null,Ae=null;const Zt=o.createElement("form"),at=function(t){return t instanceof RegExp||t instanceof Function},Xe=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Ae&&Ae===t)){if((!t||typeof t!="object")&&(t={}),t=ye(t),ve=Vt.indexOf(t.PARSER_MEDIA_TYPE)===-1?qt:t.PARSER_MEDIA_TYPE,M=ve==="application/xhtml+xml"?qe:Fe,p=ne(t,"ALLOWED_TAGS")?d({},t.ALLOWED_TAGS,M):_e,S=ne(t,"ALLOWED_ATTR")?d({},t.ALLOWED_ATTR,M):Ee,je=ne(t,"ALLOWED_NAMESPACES")?d({},t.ALLOWED_NAMESPACES,qe):Xt,We=ne(t,"ADD_URI_SAFE_ATTR")?d(ye(rt),t.ADD_URI_SAFE_ATTR,M):rt,ot=ne(t,"ADD_DATA_URI_TAGS")?d(ye(st),t.ADD_DATA_URI_TAGS,M):st,we=ne(t,"FORBID_CONTENTS")?d({},t.FORBID_CONTENTS,M):it,v=ne(t,"FORBID_TAGS")?d({},t.FORBID_TAGS,M):{},l=ne(t,"FORBID_ATTR")?d({},t.FORBID_ATTR,M):{},xe=ne(t,"USE_PROFILES")?t.USE_PROFILES:!1,m=t.ALLOW_ARIA_ATTR!==!1,N=t.ALLOW_DATA_ATTR!==!1,L=t.ALLOW_UNKNOWN_PROTOCOLS||!1,G=t.ALLOW_SELF_CLOSE_IN_ATTR!==!1,de=t.SAFE_FOR_TEMPLATES||!1,K=t.SAFE_FOR_XML!==!1,re=t.WHOLE_DOCUMENT||!1,ae=t.RETURN_DOM||!1,Ne=t.RETURN_DOM_FRAGMENT||!1,Ie=t.RETURN_TRUSTED_TYPE||!1,A=t.FORCE_BODY||!1,tt=t.SANITIZE_DOM!==!1,nt=t.SANITIZE_NAMED_PROPS||!1,Ge=t.KEEP_CONTENT!==!1,Ce=t.IN_PLACE||!1,X=t.ALLOWED_URI_REGEXP||Ft,Se=t.NAMESPACE||me,E=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&at(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(E.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&at(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(E.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(E.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),de&&(N=!1),Ne&&(ae=!0),xe&&(p=d({},Lt),S=[],xe.html===!0&&(d(p,vt),d(S,Mt)),xe.svg===!0&&(d(p,Ze),d(S,Qe),d(S,He)),xe.svgFilters===!0&&(d(p,Je),d(S,Qe),d(S,He)),xe.mathMl===!0&&(d(p,Ke),d(S,Rt),d(S,He))),t.ADD_TAGS&&(p===_e&&(p=ye(p)),d(p,t.ADD_TAGS,M)),t.ADD_ATTR&&(S===Ee&&(S=ye(S)),d(S,t.ADD_ATTR,M)),t.ADD_URI_SAFE_ATTR&&d(We,t.ADD_URI_SAFE_ATTR,M),t.FORBID_CONTENTS&&(we===it&&(we=ye(we)),d(we,t.FORBID_CONTENTS,M)),Ge&&(p["#text"]=!0),re&&d(p,["html","head","body"]),p.table&&(d(p,["tbody"]),delete v.tbody),t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!="function")throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=t.TRUSTED_TYPES_POLICY,w=h.createHTML("")}else h===void 0&&(h=Tn(B,a)),h!==null&&typeof w=="string"&&(w=h.createHTML(""));U&&U(t),Ae=t}},lt=d({},["mi","mo","mn","ms","mtext"]),ct=d({},["foreignobject","annotation-xml"]),Jt=d({},["title","style","font","a","script"]),ut=d({},[...Ze,...Je,...ln]),ft=d({},[...Ke,...cn]),Kt=function(t){let r=q(t);(!r||!r.tagName)&&(r={namespaceURI:Se,tagName:"template"});const c=Fe(t.tagName),b=Fe(r.tagName);return je[t.namespaceURI]?t.namespaceURI===Ue?r.namespaceURI===me?c==="svg":r.namespaceURI===Pe?c==="svg"&&(b==="annotation-xml"||lt[b]):!!ut[c]:t.namespaceURI===Pe?r.namespaceURI===me?c==="math":r.namespaceURI===Ue?c==="math"&&ct[b]:!!ft[c]:t.namespaceURI===me?r.namespaceURI===Ue&&!ct[b]||r.namespaceURI===Pe&&!lt[b]?!1:!ft[c]&&(Jt[c]||!ut[c]):!!(ve==="application/xhtml+xml"&&je[t.namespaceURI]):!1},le=function(t){Me(n.removed,{element:t});try{q(t).removeChild(t)}catch(r){ie(t)}},Be=function(t,r){try{Me(n.removed,{attribute:r.getAttributeNode(t),from:r})}catch(c){Me(n.removed,{attribute:null,from:r})}if(r.removeAttribute(t),t==="is"&&!S[t])if(ae||Ne)try{le(r)}catch(c){}else try{r.setAttribute(t,"")}catch(c){}},pt=function(t){let r=null,c=null;if(A)t="<remove></remove>"+t;else{const R=Ct(t,/^[\r\n\t ]+/);c=R&&R[0]}ve==="application/xhtml+xml"&&Se===me&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const b=h?h.createHTML(t):t;if(Se===me)try{r=new Te().parseFromString(b,ve)}catch(R){}if(!r||!r.documentElement){r=ee.createDocument(Se,"template",null);try{r.documentElement.innerHTML=Ye?w:b}catch(R){}}const O=r.body||r.documentElement;return t&&c&&O.insertBefore(o.createTextNode(c),O.childNodes[0]||null),Se===me?F.call(r,re?"html":"body")[0]:re?r.documentElement:O},dt=function(t){return oe.call(t.ownerDocument||t,t,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT|_.SHOW_PROCESSING_INSTRUCTION|_.SHOW_CDATA_SECTION,null)},mt=function(t){return t instanceof $&&(typeof t.nodeName!="string"||typeof t.textContent!="string"||typeof t.removeChild!="function"||!(t.attributes instanceof Y)||typeof t.removeAttribute!="function"||typeof t.setAttribute!="function"||typeof t.namespaceURI!="string"||typeof t.insertBefore!="function"||typeof t.hasChildNodes!="function")},ht=function(t){return typeof x=="function"&&t instanceof x},he=function(t,r,c){C[t]&&ze(C[t],b=>{b.call(n,r,c,Ae)})},gt=function(t){let r=null;if(he("beforeSanitizeElements",t,null),mt(t))return le(t),!0;const c=M(t.nodeName);if(he("uponSanitizeElement",t,{tagName:c,allowedTags:p}),t.hasChildNodes()&&!ht(t.firstElementChild)&&P(/<[/\w]/g,t.innerHTML)&&P(/<[/\w]/g,t.textContent)||t.nodeType===De.progressingInstruction||K&&t.nodeType===De.comment&&P(/<[/\w]/g,t.data))return le(t),!0;if(!p[c]||v[c]){if(!v[c]&&Et(c)&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,c)||E.tagNameCheck instanceof Function&&E.tagNameCheck(c)))return!1;if(Ge&&!we[c]){const b=q(t)||t.parentNode,O=ue(t)||t.childNodes;if(O&&b){const R=O.length;for(let W=R-1;W>=0;--W){const ce=ge(O[W],!0);ce.__removalCount=(t.__removalCount||0)+1,b.insertBefore(ce,H(t))}}}return le(t),!0}return t instanceof T&&!Kt(t)||(c==="noscript"||c==="noembed"||c==="noframes")&&P(/<\/no(script|embed|frames)/i,t.innerHTML)?(le(t),!0):(de&&t.nodeType===De.text&&(r=t.textContent,ze([se,j,pe],b=>{r=Re(r,b," ")}),t.textContent!==r&&(Me(n.removed,{element:t.cloneNode()}),t.textContent=r)),he("afterSanitizeElements",t,null),!1)},_t=function(t,r,c){if(tt&&(r==="id"||r==="name")&&(c in o||c in Zt))return!1;if(!(N&&!l[r]&&P(Z,r))){if(!(m&&P(k,r))){if(!S[r]||l[r]){if(!(Et(t)&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,t)||E.tagNameCheck instanceof Function&&E.tagNameCheck(t))&&(E.attributeNameCheck instanceof RegExp&&P(E.attributeNameCheck,r)||E.attributeNameCheck instanceof Function&&E.attributeNameCheck(r))||r==="is"&&E.allowCustomizedBuiltInElements&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,c)||E.tagNameCheck instanceof Function&&E.tagNameCheck(c))))return!1}else if(!We[r]){if(!P(X,Re(c,J,""))){if(!((r==="src"||r==="xlink:href"||r==="href")&&t!=="script"&&on(c,"data:")===0&&ot[t])){if(!(L&&!P(D,Re(c,J,"")))){if(c)return!1}}}}}}return!0},Et=function(t){return t!=="annotation-xml"&&Ct(t,be)},Tt=function(t){he("beforeSanitizeAttributes",t,null);const{attributes:r}=t;if(!r)return;const c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:S};let b=r.length;for(;b--;){const O=r[b],{name:R,namespaceURI:W,value:ce}=O,Le=M(R);let I=R==="value"?ce:sn(ce);if(c.attrName=Le,c.attrValue=I,c.keepAttr=!0,c.forceKeepAttr=void 0,he("uponSanitizeAttribute",t,c),I=c.attrValue,K&&P(/((--!?|])>)|<\/(style|title)/i,I)){Be(R,t);continue}if(c.forceKeepAttr||(Be(R,t),!c.keepAttr))continue;if(!G&&P(/\/>/i,I)){Be(R,t);continue}de&&ze([se,j,pe],yt=>{I=Re(I,yt," ")});const bt=M(t.nodeName);if(_t(bt,Le,I)){if(nt&&(Le==="id"||Le==="name")&&(Be(R,t),I=jt+I),h&&typeof B=="object"&&typeof B.getAttributeType=="function"&&!W)switch(B.getAttributeType(bt,Le)){case"TrustedHTML":{I=h.createHTML(I);break}case"TrustedScriptURL":{I=h.createScriptURL(I);break}}try{W?t.setAttributeNS(W,R,I):t.setAttribute(R,I),mt(t)?le(t):At(n.removed)}catch(yt){}}}he("afterSanitizeAttributes",t,null)},Qt=function u(t){let r=null;const c=dt(t);for(he("beforeSanitizeShadowDOM",t,null);r=c.nextNode();)he("uponSanitizeShadowNode",r,null),!gt(r)&&(r.content instanceof f&&u(r.content),Tt(r));he("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=null,c=null,b=null,O=null;if(Ye=!u,Ye&&(u="<!-->"),typeof u!="string"&&!ht(u))if(typeof u.toString=="function"){if(u=u.toString(),typeof u!="string")throw ke("dirty is not a string, aborting")}else throw ke("toString is not a function");if(!n.isSupported)return u;if(y||Xe(t),n.removed=[],typeof u=="string"&&(Ce=!1),Ce){if(u.nodeName){const ce=M(u.nodeName);if(!p[ce]||v[ce])throw ke("root node is forbidden and cannot be sanitized in-place")}}else if(u instanceof x)r=pt("<!---->"),c=r.ownerDocument.importNode(u,!0),c.nodeType===De.element&&c.nodeName==="BODY"||c.nodeName==="HTML"?r=c:r.appendChild(c);else{if(!ae&&!de&&!re&&u.indexOf("<")===-1)return h&&Ie?h.createHTML(u):u;if(r=pt(u),!r)return ae?null:Ie?w:""}r&&A&&le(r.firstChild);const R=dt(Ce?u:r);for(;b=R.nextNode();)gt(b)||(b.content instanceof f&&Qt(b.content),Tt(b));if(Ce)return u;if(ae){if(Ne)for(O=fe.call(r.ownerDocument);r.firstChild;)O.appendChild(r.firstChild);else O=r;return(S.shadowroot||S.shadowrootmode)&&(O=te.call(s,O,!0)),O}let W=re?r.outerHTML:r.innerHTML;return re&&p["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&P(Gt,r.ownerDocument.doctype.name)&&(W="<!DOCTYPE "+r.ownerDocument.doctype.name+`>
2
2
  `+W),de&&ze([se,j,pe],ce=>{W=Re(W,ce," ")}),h&&Ie?h.createHTML(W):W},n.setConfig=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Xe(u),y=!0},n.clearConfig=function(){Ae=null,y=!1},n.isValidAttribute=function(u,t,r){Ae||Xe({});const c=M(u),b=M(t);return _t(c,b,r)},n.addHook=function(u,t){typeof t=="function"&&(C[u]=C[u]||[],Me(C[u],t))},n.removeHook=function(u){if(C[u])return At(C[u])},n.removeHooks=function(u){C[u]&&(C[u]=[])},n.removeAllHooks=function(){C={}},n}var Ot=Wt();function bn(i){e.append_styles(i,"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}')}const yn=i=>({}),Dt=i=>({}),xn=i=>({}),Nt=i=>({}),wn=i=>({}),It=i=>({}),Sn=i=>({}),Pt=i=>({class:"CashierSessionExpirationIcon"});function Ut(i){let n,o,s,a,f,g,x,T,_,Y,$,Te,B=i[8]("sessionExpirationHeader")+"",z,ge,ie,H,ue,q,h,w,ee,oe,fe,F,te,C,se=i[8]("sessionExpirationEnd")+"",j,pe,Z,k,D,J,be,X,p,_e,S;const Ee=i[23].icon,E=e.create_slot(Ee,i,i[22],Pt),v=E||An(i),l=i[23].title,m=e.create_slot(l,i,i[22],It),N=i[23].text,L=e.create_slot(N,i,i[22],Nt),G=L||Cn(i),de=[Ln,vn],K=[];function re(y,A){return y[6]?0:1}return k=re(i),D=K[k]=de[k](i),{c(){n=e.element("div"),o=e.element("div"),s=e.element("div"),a=e.element("div"),f=e.svg_element("svg"),g=e.svg_element("defs"),x=e.svg_element("mask"),T=e.svg_element("circle"),_=e.svg_element("rect"),Y=e.svg_element("circle"),$=e.svg_element("circle"),Te=e.space(),z=e.text(B),ge=e.space(),ie=e.element("div"),H=e.svg_element("svg"),ue=e.svg_element("path"),q=e.space(),h=e.element("div"),w=e.element("div"),v&&v.c(),ee=e.space(),m&&m.c(),oe=e.space(),G&&G.c(),fe=e.space(),F=e.element("div"),te=e.element("button"),C=e.element("span"),j=e.text(se),pe=e.space(),Z=e.element("button"),D.c(),e.attr(T,"cx","100"),e.attr(T,"cy","100"),e.attr(T,"r","90"),e.attr(_,"x","88"),e.attr(_,"y","40"),e.attr(_,"width","24"),e.attr(_,"height","80"),e.attr(_,"rx","12"),e.attr(_,"fill","black"),e.attr(Y,"cx","100"),e.attr(Y,"cy","150"),e.attr(Y,"r","14"),e.attr(Y,"fill","black"),e.attr(x,"id","exclamation-mask"),e.attr($,"cx","100"),e.attr($,"cy","100"),e.attr($,"r","90"),e.attr($,"mask","url(#exclamation-mask)"),e.attr(f,"viewBox","0 0 200 200"),e.attr(f,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"class","CashierSessionExpirationModalHeaderTitle"),e.attr(ue,"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"),e.attr(H,"xmlns","http://www.w3.org/2000/svg"),e.attr(H,"viewBox","0 0 13 13"),e.attr(H,"fill","none"),e.attr(H,"class","CloseButton"),e.attr(ie,"class","ModalCloseIcon"),e.attr(s,"class","CashierSessionExpirationModalHeader"),e.attr(C,"class","CashierSessionExpirationButtonText"),e.attr(te,"type","button"),e.attr(te,"class","ModalButton Secondary"),e.attr(Z,"type","button"),e.attr(Z,"class",J="ModalButton Primary "+(i[6]?"Disabled":"")),e.attr(F,"class","ButtonsContainer"),e.attr(w,"class","CashierSessionExpiration"),e.attr(h,"class","CashierSessionExpirationModalContainer"),e.attr(o,"class","CashierSessionExpirationModalWrapper"),e.attr(n,"class","CashierSessionExpirationModalWindow"),e.attr(n,"id","CashierSessionExpirationModal"),e.add_render_callback(()=>i[25].call(n))},m(y,A){e.insert(y,n,A),e.append(n,o),e.append(o,s),e.append(s,a),e.append(a,f),e.append(f,g),e.append(g,x),e.append(x,T),e.append(x,_),e.append(x,Y),e.append(f,$),e.append(a,Te),e.append(a,z),e.append(s,ge),e.append(s,ie),e.append(ie,H),e.append(H,ue),e.append(o,q),e.append(o,h),e.append(h,w),v&&v.m(w,null),e.append(w,ee),m&&m.m(w,null),e.append(w,oe),G&&G.m(w,null),e.append(w,fe),e.append(w,F),e.append(F,te),e.append(te,C),e.append(C,j),e.append(F,pe),e.append(F,Z),K[k].m(Z,null),i[24](w),be=e.add_iframe_resize_listener(n,i[25].bind(n)),p=!0,_e||(S=[e.listen(H,"click",i[11]),e.listen(te,"click",i[11]),e.listen(Z,"click",i[9]),e.listen(n,"click",i[10])],_e=!0)},p(y,A){i=y,(!p||A[0]&256)&&B!==(B=i[8]("sessionExpirationHeader")+"")&&e.set_data(z,B),E?E.p&&(!p||A[0]&4194304)&&e.update_slot_base(E,Ee,i,i[22],p?e.get_slot_changes(Ee,i[22],A,Sn):e.get_all_dirty_from_scope(i[22]),Pt):v&&v.p&&(!p||A[0]&8)&&v.p(i,p?A:[-1,-1]),m&&m.p&&(!p||A[0]&4194304)&&e.update_slot_base(m,l,i,i[22],p?e.get_slot_changes(l,i[22],A,wn):e.get_all_dirty_from_scope(i[22]),It),L?L.p&&(!p||A[0]&4194304)&&e.update_slot_base(L,N,i,i[22],p?e.get_slot_changes(N,i[22],A,xn):e.get_all_dirty_from_scope(i[22]),Nt):G&&G.p&&(!p||A[0]&384)&&G.p(i,p?A:[-1,-1]),(!p||A[0]&256)&&se!==(se=i[8]("sessionExpirationEnd")+"")&&e.set_data(j,se);let ae=k;k=re(i),k===ae?K[k].p(i,A):(e.group_outros(),e.transition_out(K[ae],1,1,()=>{K[ae]=null}),e.check_outros(),D=K[k],D?D.p(i,A):(D=K[k]=de[k](i),D.c()),e.transition_in(D,1),D.m(Z,null)),(!p||A[0]&64&&J!==(J="ModalButton Primary "+(i[6]?"Disabled":"")))&&e.attr(Z,"class",J)},i(y){p||(e.transition_in(v,y),e.transition_in(m,y),e.transition_in(G,y),e.transition_in(D),y&&e.add_render_callback(()=>{p&&(X||(X=e.create_bidirectional_transition(n,e.fade,{duration:i[2]},!0)),X.run(1))}),p=!0)},o(y){e.transition_out(v,y),e.transition_out(m,y),e.transition_out(G,y),e.transition_out(D),y&&(X||(X=e.create_bidirectional_transition(n,e.fade,{duration:i[2]},!1)),X.run(0)),p=!1},d(y){y&&e.detach(n),v&&v.d(y),m&&m.d(y),G&&G.d(y),K[k].d(),i[24](null),be(),y&&X&&X.end(),_e=!1,e.run_all(S)}}}function Bt(i){let n,o;return{c(){n=e.element("img"),e.src_url_equal(n.src,o=`${i[3]}/set-timeout-icon.png`)||e.attr(n,"src",o),e.attr(n,"width","300px"),e.attr(n,"alt","error")},m(s,a){e.insert(s,n,a)},p(s,a){a[0]&8&&!e.src_url_equal(n.src,o=`${s[3]}/set-timeout-icon.png`)&&e.attr(n,"src",o)},d(s){s&&e.detach(n)}}}function An(i){let n,o=i[3]&&Bt(i);return{c(){o&&o.c(),n=e.empty()},m(s,a){o&&o.m(s,a),e.insert(s,n,a)},p(s,a){s[3]?o?o.p(s,a):(o=Bt(s),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(s){s&&e.detach(n),o&&o.d(s)}}}function Cn(i){let n,o,s=i[8]("sessionExpirationTitle")+"",a,f,g,x=Ot.sanitize(i[8]("sessionExpirationGeneralText",{values:{second:i[7]}}))+"";return{c(){n=e.element("span"),o=e.element("p"),a=e.text(s),f=e.space(),g=e.element("p"),e.attr(n,"class","CashierSessionExpirationText")},m(T,_){e.insert(T,n,_),e.append(n,o),e.append(o,a),e.append(n,f),e.append(n,g),g.innerHTML=x},p(T,_){_[0]&256&&s!==(s=T[8]("sessionExpirationTitle")+"")&&e.set_data(a,s),_[0]&384&&x!==(x=Ot.sanitize(T[8]("sessionExpirationGeneralText",{values:{second:T[7]}}))+"")&&(g.innerHTML=x)},d(T){T&&e.detach(n)}}}function vn(i){let n;const o=i[23].button,s=e.create_slot(o,i,i[22],Dt),a=s||Mn(i);return{c(){a&&a.c()},m(f,g){a&&a.m(f,g),n=!0},p(f,g){s?s.p&&(!n||g[0]&4194304)&&e.update_slot_base(s,o,f,f[22],n?e.get_slot_changes(o,f[22],g,yn):e.get_all_dirty_from_scope(f[22]),Dt):a&&a.p&&(!n||g[0]&256)&&a.p(f,n?g:[-1,-1])},i(f){n||(e.transition_in(a,f),n=!0)},o(f){e.transition_out(a,f),n=!1},d(f){a&&a.d(f)}}}function Ln(i){let n,o,s,a,f,g=i[8]("sessionExpirationLoadingButton")+"",x;return{c(){n=e.element("div"),o=e.svg_element("svg"),s=e.svg_element("path"),a=e.space(),f=e.element("span"),x=e.text(g),e.attr(s,"d","M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"),e.attr(s,"fill","white"),e.attr(o,"class","CashierSessionExpirationButtonSpinner"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","15"),e.attr(o,"height","14"),e.attr(o,"viewBox","0 0 15 14"),e.attr(o,"fill","none"),e.attr(f,"class","CashierSessionExpirationButtonText")},m(T,_){e.insert(T,n,_),e.append(n,o),e.append(o,s),e.append(n,a),e.append(n,f),e.append(f,x)},p(T,_){_[0]&256&&g!==(g=T[8]("sessionExpirationLoadingButton")+"")&&e.set_data(x,g)},i:e.noop,o:e.noop,d(T){T&&e.detach(n)}}}function Mn(i){let n,o=i[8]("sessionExpirationGeneralButton")+"",s;return{c(){n=e.element("span"),s=e.text(o),e.attr(n,"class","CashierSessionExpirationButtonText")},m(a,f){e.insert(a,n,f),e.append(n,s)},p(a,f){f[0]&256&&o!==(o=a[8]("sessionExpirationGeneralButton")+"")&&e.set_data(s,o)},d(a){a&&e.detach(n)}}}function Rn(i){let n,o,s=i[5]&&Ut(i);return{c(){n=e.element("div"),s&&s.c()},m(a,f){e.insert(a,n,f),s&&s.m(n,null),i[26](n),o=!0},p(a,f){a[5]?s?(s.p(a,f),f[0]&32&&e.transition_in(s,1)):(s=Ut(a),s.c(),e.transition_in(s,1),s.m(n,null)):s&&(e.group_outros(),e.transition_out(s,1,1,()=>{s=null}),e.check_outros())},i(a){o||(e.transition_in(s),o=!0)},o(a){e.transition_out(s),o=!1},d(a){a&&e.detach(n),s&&s.d(),i[26](null)}}}const kn=90;function On(i,n,o){let s,a;e.component_subscribe(i,e.xPaymentSessionToken,l=>o(21,s=l)),e.component_subscribe(i,e.$format,l=>o(8,a=l));let{$$slots:f={},$$scope:g}=n;e.dayjs.extend(e.utc);let{clientstyling:x=""}=n,{clientstylingurl:T=""}=n,{width:_}=n,{height:Y}=n,{duration:$=200}=n,{assetsurl:Te=""}=n,{lang:B="en"}=n,{translationurl:z=""}=n,{endpoint:ge}=n,{currency:ie}=n,{customerid:H}=n,{selectedpaymentmethodname:ue}=n,{mbsource:q=""}=n,h,w=!1,ee=!1,oe,fe,F,te,C,se;var j;(function(l){l.PlayerSessionIsNotValid="PlayerSessionIsNotValid",l.Success="Success",l.JwtTokenError="JwtTokenError"})(j||(j={}));const pe=l=>{l.data.type==="StartSessionCountdown"&&(te=l.data.paymentMethodName)},Z=l=>{try{return JSON.parse(atob(l.split(".")[1]))}catch(m){return null}},k=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:C},window.location.href)},D=l=>{o(5,w=!1);const m=Z(l);m&&(fe=m==null?void 0:m.exp,o(7,oe=fe),F&&clearInterval(F),F=setInterval(()=>{const N=Math.floor(new Date().getTime()/1e3);o(7,oe=fe-N),oe<=kn&&o(5,w=!0),N>=fe&&(J(),window.postMessage({type:"SessionExpired"},window.location.href))},1e3))},J=()=>{o(7,oe=0),o(5,w=!1),clearInterval(F)},be=()=>{if(ee)return;const l=new URL(`${ge}/v1/player/${H}/payment/GetPaymentMethod`),m=new Headers;o(6,ee=!0),m.append("accept","application/json"),m.append("Content-Type","application/json"),m.append("X-Client-Request-Timestamp",e.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const N={method:"POST",mode:"cors",headers:m,body:JSON.stringify({PaymentMethodName:te||ue,Currency:ie,XPaymentSessionToken:s})};fetch(l,N).then(L=>L.json()).then(L=>{if(L.error){window.postMessage({type:"ShowSessionError",error:L.error},window.location.href),J();return}if(L.ResponseCode===j.PlayerSessionIsNotValid||L.ResponseCode===j.JwtTokenError){C=L.ResponseCode,J(),k();return}if(L.ResponseCode!==j.Success){C=L.ResponseCode,J();return}L.XPaymentSessionToken&&e.xPaymentSessionToken.set(L.XPaymentSessionToken)}).finally(()=>o(6,ee=!1))},X=l=>{const m=l.currentTarget;l.target===m&&be()},p=()=>{fetch(z).then(m=>m.json()).then(m=>{Object.keys(m).forEach(N=>{xt(N,m[N])})}).catch(m=>{console.log(m)})},_e=()=>{window.postMessage({type:"Cashier:goToHome"},window.location.href),o(5,w=!1)};Object.keys(wt).forEach(l=>{xt(l,wt[l])});const S=()=>{$t(B)};e.onMount(()=>(window.addEventListener("message",pe,!1),()=>{window.removeEventListener("message",pe)})),e.onDestroy(()=>{clearInterval(F)});function Ee(l){e.binding_callbacks[l?"unshift":"push"](()=>{h=l,o(4,h)})}function E(){_=this.clientWidth,Y=this.clientHeight,o(0,_),o(1,Y)}function v(l){e.binding_callbacks[l?"unshift":"push"](()=>{h=l,o(4,h)})}return i.$$set=l=>{"clientstyling"in l&&o(12,x=l.clientstyling),"clientstylingurl"in l&&o(13,T=l.clientstylingurl),"width"in l&&o(0,_=l.width),"height"in l&&o(1,Y=l.height),"duration"in l&&o(2,$=l.duration),"assetsurl"in l&&o(3,Te=l.assetsurl),"lang"in l&&o(14,B=l.lang),"translationurl"in l&&o(15,z=l.translationurl),"endpoint"in l&&o(16,ge=l.endpoint),"currency"in l&&o(17,ie=l.currency),"customerid"in l&&o(18,H=l.customerid),"selectedpaymentmethodname"in l&&o(19,ue=l.selectedpaymentmethodname),"mbsource"in l&&o(20,q=l.mbsource),"$$scope"in l&&o(22,g=l.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&2097152&&D(s),i.$$.dirty[0]&16384&&B&&S(),i.$$.dirty[0]&4112&&x&&h&&Ve.setClientStyling(h,x),i.$$.dirty[0]&8208&&T&&h&&Ve.setClientStylingURL(h,T),i.$$.dirty[0]&1048592&&q&&h&&Ve.setStreamStyling(h,`${q}.Style`,se),i.$$.dirty[0]&32768&&z&&p()},[_,Y,$,Te,h,w,ee,oe,a,be,X,_e,x,T,B,z,ge,ie,H,ue,q,s,g,f,Ee,E,v]}class Yt extends e.SvelteComponent{constructor(n){super(),e.init$1(this,n,On,Rn,e.safe_not_equal,{clientstyling:12,clientstylingurl:13,width:0,height:1,duration:2,assetsurl:3,lang:14,translationurl:15,endpoint:16,currency:17,customerid:18,selectedpaymentmethodname:19,mbsource:20},bn,[-1,-1])}get clientstyling(){return this.$$.ctx[12]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}get width(){return this.$$.ctx[0]}set width(n){this.$$set({width:n}),e.flush()}get height(){return this.$$.ctx[1]}set height(n){this.$$set({height:n}),e.flush()}get duration(){return this.$$.ctx[2]}set duration(n){this.$$set({duration:n}),e.flush()}get assetsurl(){return this.$$.ctx[3]}set assetsurl(n){this.$$set({assetsurl:n}),e.flush()}get lang(){return this.$$.ctx[14]}set lang(n){this.$$set({lang:n}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(n){this.$$set({translationurl:n}),e.flush()}get endpoint(){return this.$$.ctx[16]}set endpoint(n){this.$$set({endpoint:n}),e.flush()}get currency(){return this.$$.ctx[17]}set currency(n){this.$$set({currency:n}),e.flush()}get customerid(){return this.$$.ctx[18]}set customerid(n){this.$$set({customerid:n}),e.flush()}get selectedpaymentmethodname(){return this.$$.ctx[19]}set selectedpaymentmethodname(n){this.$$set({selectedpaymentmethodname:n}),e.flush()}get mbsource(){return this.$$.ctx[20]}set mbsource(n){this.$$set({mbsource:n}),e.flush()}}e.create_custom_element(Yt,{clientstyling:{},clientstylingurl:{},width:{},height:{},duration:{},assetsurl:{},lang:{},translationurl:{},endpoint:{},currency:{},customerid:{},selectedpaymentmethodname:{},mbsource:{}},["icon","title","text","button"],[],!0);exports.default=Yt;
@@ -1,5 +1,5 @@
1
- import { a as An, i as Cn, $ as vn, S as Ln, b as Mn, s as Rn, f as J, d as kn, g as Me, t as Ae, h as ye, a8 as un, a7 as fn, l as Re, n as R, q as Ut, M as Bt, N as On, r as Dn, a9 as Nn, e as $e, F as In, aa as zt, ab as Ht, H as Ft, w as We, u as et, j as tt, k as nt, p as u, m as p, G as Pn, A as Ze, Q as se, o as be, x as Ye, R as Gt, y as Wt, v as Un, z as Yt, J as jt, c as Bn, B as zn } from "./CashierPage-DmSMSwFD.js";
2
- import { s as Hn, a as Fn, b as Gn } from "./CashierHeader-BoWdCzOy.js";
1
+ import { a as An, i as Cn, $ as vn, S as Ln, b as Mn, s as Rn, f as J, d as kn, g as Me, t as Ae, h as ye, a8 as un, a7 as fn, l as Re, n as R, q as Ut, M as Bt, N as On, r as Dn, a9 as Nn, e as $e, F as In, aa as zt, ab as Ht, H as Ft, w as We, u as et, j as tt, k as nt, p as u, m as p, G as Pn, A as Ze, Q as se, o as be, x as Ye, R as Gt, y as Wt, v as Un, z as Yt, J as jt, c as Bn, B as zn } from "./CashierPage-BoubiuR2.js";
2
+ import { s as Hn, a as Fn, b as Gn } from "./CashierHeader-Bd2Am7Uq.js";
3
3
  function Xt(n, t) {
4
4
  An(n, t);
5
5
  }