@everymatrix/cashier-page 1.93.77 → 1.93.84

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 (26) hide show
  1. package/components/{CashierMethodDetails-B-zfLkW5.js → CashierMethodDetails-BhlRKg34.js} +545 -558
  2. package/components/{CashierMethodDetails-ClsKYPK5.cjs → CashierMethodDetails-CB_NZRIt.cjs} +4 -4
  3. package/components/{CashierMethodDetails-CoECDT3U.js → CashierMethodDetails-DQDSZJXo.js} +552 -565
  4. package/components/{CashierMethodsList-Do9Fh3F4.js → CashierMethodsList-B2EDa7As.js} +47 -55
  5. package/components/{CashierMethodsList-dTReweV9.js → CashierMethodsList-C5IMrwY7.js} +39 -47
  6. package/components/CashierMethodsList-rsubXFbP.cjs +1 -0
  7. package/components/{CashierPage-D00hk2xv.js → CashierPage-CRH25Rv3.js} +6 -6
  8. package/components/{CashierPage-CVtPx9LE.js → CashierPage-CYKVSmg9.js} +6 -6
  9. package/components/{CashierPage-CdNfJQft.cjs → CashierPage-DBHACmJc.cjs} +1 -1
  10. package/components/{CashierReceiptPage-Bjp-HwnC.js → CashierReceiptPage-BKiVp-dz.js} +83 -79
  11. package/components/{CashierReceiptPage-CAEjh0Hb.cjs → CashierReceiptPage-DVioPX-V.cjs} +5 -2
  12. package/components/{CashierReceiptPage-BLiZ7mNE.js → CashierReceiptPage-DsSDvW3N.js} +47 -43
  13. package/components/{CashierSessionExpirationModal-Do7XOOpQ.js → CashierSessionExpirationModal-B2WFVkJA.js} +2 -2
  14. package/components/{CashierSessionExpirationModal-CVdrjw0I.js → CashierSessionExpirationModal-BIffQAec.js} +2 -2
  15. package/components/{CashierSessionExpirationModal-ChfyO8Ae.cjs → CashierSessionExpirationModal-BnfwG-2s.cjs} +1 -1
  16. package/components/{CashierTransactionHistory-BSW2OhH0.cjs → CashierTransactionHistory-8-1MiFnn.cjs} +1 -1
  17. package/components/{CashierTransactionHistory-CABio3EJ.js → CashierTransactionHistory-BqygnEvW.js} +2 -2
  18. package/components/{CashierTransactionHistory-BRaDPWFB.js → CashierTransactionHistory-C4rPigWy.js} +2 -2
  19. package/components/{CashierVerifications-CszR8nAF.js → CashierVerifications-CGd7sgHh.js} +1 -1
  20. package/components/{CashierVerifications-C8Gar_7s.cjs → CashierVerifications-D6jgTav9.cjs} +1 -1
  21. package/components/{CashierVerifications-C8e8v7qQ.js → CashierVerifications-DbREvvHN.js} +1 -1
  22. package/es2015/cashier-page.cjs +1 -1
  23. package/es2015/cashier-page.js +1 -1
  24. package/esnext/cashier-page.js +1 -1
  25. package/package.json +1 -1
  26. package/components/CashierMethodsList-CX1RHQKw.cjs +0 -1
@@ -14,13 +14,13 @@ var Ne = (i, e, t) => new Promise((n, a) => {
14
14
  }, u = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(r, o);
15
15
  u((t = t.apply(i, e)).next());
16
16
  });
17
- import { a as c1, i as u1, $ as p1, S as d1, b as m1, s as f1, f as I, c as g1, I as de, d as h, j as b, k as g, l, m as C1, o as h1, Q as b1, W as w1, w as Ue, P as Ke, e as Ye, g as v1, t as y1, h as k1, r as c, v as k, ae as T1, N as _1, af as x1, y as x, z as S, C as _, a4 as S1, A as Re, x as Be, a0 as Ie, a6 as s1, Z as N, B as Fe, D as R1, E as M1, F as D1, G as L1, H as I1 } from "./CashierCarousel-B0fVKMjP.js";
18
- import { f as Oe } from "./CashierPage-CVtPx9LE.js";
19
- import { d as ze, u as z1, a as Ge } from "./CashierMethodDetails-CoECDT3U.js";
17
+ import { a as c1, i as u1, $ as p1, S as d1, b as m1, s as f1, f as I, c as g1, I as de, d as h, j as b, k as g, l, m as C1, o as h1, Q as b1, W as w1, w as Ue, P as Ke, e as Ye, g as v1, t as y1, h as k1, r as c, v as k, ae as T1, N as _1, af as x1, y as x, z as S, C as _, a4 as S1, A as Re, x as ze, a0 as Ie, a6 as s1, Z as N, B as Fe, D as R1, E as M1, F as D1, G as L1, H as I1 } from "./CashierCarousel-B0fVKMjP.js";
18
+ import { f as Oe } from "./CashierPage-CYKVSmg9.js";
19
+ import { d as Be, u as B1, a as Ge } from "./CashierMethodDetails-DQDSZJXo.js";
20
20
  function qe(i, e) {
21
21
  c1(i, e);
22
22
  }
23
- function B1(i) {
23
+ function z1(i) {
24
24
  u1({
25
25
  fallbackLocale: "en"
26
26
  }), p1.set(i);
@@ -633,6 +633,10 @@ const Qe = {
633
633
  <path d="M20.9099 12.4008C20.8843 12.5256 20.8459 12.6472 20.8299 12.772C20.8107 12.8872 20.7659 12.9576 20.6283 12.948C20.4523 12.9384 20.2763 12.9448 20.1035 12.9448C20.0107 12.9448 19.9691 12.9864 19.9563 13.0792C19.9019 13.4792 19.8443 13.876 19.7867 14.2728C19.7387 14.6024 19.6843 14.932 19.6331 15.2648C19.5147 15.2776 19.3995 15.2968 19.2843 15.3C19.1659 15.3032 19.0443 15.2904 18.9323 15.2808C18.8619 14.9896 18.9195 14.7176 18.9579 14.452C19.0219 13.9976 19.0923 13.54 19.1691 13.0888C19.1883 12.9736 19.1435 12.9512 19.0539 12.9512C18.8427 12.9512 18.6315 12.9512 18.4139 12.9512C18.3563 12.7016 18.4331 12.4744 18.4907 12.2472C18.5003 12.2184 18.5771 12.1832 18.6251 12.1832C19.3419 12.1768 20.0587 12.1768 20.7755 12.18C20.8203 12.18 20.8715 12.2184 20.9163 12.2408C20.9099 12.292 20.9099 12.3464 20.9099 12.4008Z" fill="#0F4D00"/>
634
634
  <path d="M11.6587 15.2872C11.7579 15.172 11.8347 15.0888 11.9051 14.9992C11.9979 14.884 12.0939 14.7656 12.1707 14.6376C12.2155 14.5672 12.2571 14.5512 12.3307 14.5512C12.8363 14.5544 13.3387 14.5576 13.8443 14.548C13.9275 14.5448 14.0299 14.5064 14.0939 14.4488C14.2155 14.3464 14.1643 14.1736 14.0075 14.1352C13.9627 14.1224 13.9083 14.1224 13.8603 14.1224C13.4315 14.1224 13.0027 14.1224 12.5771 14.1224C12.5291 14.1224 12.4779 14.1224 12.4107 14.1224C12.4235 14.036 12.4363 13.9688 12.4395 13.8984C12.4523 13.7736 12.4619 13.6488 12.4715 13.524C12.4811 13.4056 12.5355 13.3544 12.6635 13.3576C13.0315 13.3672 13.4027 13.364 13.7739 13.3608C13.8571 13.3608 13.9435 13.3544 14.0299 13.3352C14.1515 13.3096 14.2155 13.2232 14.2027 13.1016C14.1931 12.9768 14.1035 12.948 13.9915 12.9448C13.5339 12.9416 13.0731 12.9352 12.6123 12.9416C12.4971 12.9416 12.4299 12.9 12.3819 12.8008C12.3019 12.644 12.2123 12.4904 12.1259 12.3368C12.1035 12.2984 12.0907 12.2568 12.0747 12.2184C12.1195 12.2024 12.1643 12.1736 12.2091 12.1736C12.6827 12.1704 13.1563 12.1704 13.6267 12.1704C13.8603 12.1704 14.0971 12.1768 14.3307 12.1768C14.6795 12.1768 15.0123 12.4008 15.0539 12.7944C15.0795 13.0312 14.8491 13.428 14.5995 13.5496C14.5547 13.572 14.5131 13.5944 14.4491 13.6296C14.5227 13.6744 14.5739 13.7096 14.6315 13.7384C14.9387 13.8952 14.9867 14.0968 14.9515 14.4168C14.8939 14.9128 14.4331 15.2584 13.9691 15.2744C13.2523 15.2968 12.5355 15.2968 11.8219 15.3032C11.7771 15.3032 11.7323 15.2968 11.6587 15.2872Z" fill="#0F4D00"/>
635
635
  </svg>
636
+ `,
637
+ SportsButton: `<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" version="1.1" viewBox="0 0 500 500">
638
+ <path class="st0" d="M250,0C111.9,0,0,111.9,0,250s111.9,250,250,250,250-111.9,250-250S388.1,0,250,0ZM449.1,137.9c16.4,28.1,26.3,59.3,29.4,91.8.2,2.4-1.1,4.4-3.6,5.8l-21.5-21.7-23.3-24c-1.2-1.2-.5-4,0-5.5l13.4-48.2c.7-2.5,4.7,0,5.7,1.7ZM342.9,41.2c32.1,14.2,60.4,35.1,82.9,62,3.1,3.7,6,8.1,4.7,13.1l-17.8,65.6c-.6,2.3-2.5,3.9-4.7,4.7l-58.8,22.3c-3.5,1.3-5.3.8-7.9-1.2l-81.7-61.2c-2.9-2.2-3.9-4.5-3.9-8v-44.7c0-2.2.8-5,2.9-6.3l74.3-45.4c3.2-2.3,6.4-2.5,10-.9ZM196.6,28c33.2-8.1,67.6-8.4,101.1-1.4,5.2,1.1,11.5,4.1,11.9,8.9l-59,36.3c-1.2.7-3.4,1.4-4.5.7l-58-36.8c1.5-3.8,4.5-6.7,8.5-7.7ZM71,107.4c22.1-28.5,51.1-50.3,83.8-65.2,3-1.3,6.4-2.4,9.4-.5l69.7,44.2c2.6,1.6,4.9,3.5,4.9,6.8v47.6c0,2.5-1.2,4.4-3.2,6l-82.3,62.8c-2.3,1.8-4.2,1.5-6.4.8l-53-16.7c-3.7-1.2-5.4-3.2-6.3-6.9l-16.2-67.2c-.8-3.4-2.5-8.6-.1-11.6ZM21.1,233.7c2.6-29.2,10.1-57.5,23.1-83.7,2.6-5.3,6.7-13.2,10.5-14.1.7-.2,2.7,0,3,1.3l13.2,53.9c.4,1.5.5,3.7-.6,4.9l-44,44.7c-.6.6-1.6.8-2.2.8-2.1,0-3.4-4.2-3-7.9ZM62.1,375.6c-2.8-.1-5-.1-7.4-1.7-19.4-30.7-31.9-66.4-34.2-102.8l59.9-60.3c1.4-1.4,3.6-2.2,5.6-1.6l59.8,19c3,.9,3.9,3.2,4.8,5.8l29.6,84.3c.6,1.7,1.9,4.3.7,5.9l-37.5,51.3c-1.9,2.6-3.9,3.5-6.9,3.4l-74.4-3.5ZM174.5,464.9c-.1.6-1.4.8-2.4.4-31.8-11.4-60.8-29.3-84.9-53-6-5.9-18.6-18.6-10.8-18.2l58.8,2.6c3.3.1,5.9,1.1,7.5,4.1l8.1,15.9,23.4,46.1c.5,1,.4,1.7.3,2.1ZM200.9,473.6c-1.6-.3-2.8-1.1-3.6-2.5l-39.1-77.3c-.9-1.8-2.4-4.1-2-6.2l37.2-50.8c1.2-1.7,3.2-3.3,5.5-3.3h97.7c3.2,0,5.1,1.6,6.8,4l36.3,50.1-5.8,12.1-37.9,74.5c-31.6,6.6-63.8,6.3-95-.6ZM322.1,467.4c-.7.2-1.6,0-1.8-.1-.4-.2-.9-1.1-.3-2.4l32.5-64.1c1.6-2.1,3.7-3.2,6.4-3.3l69.3-2c-27.9,33.8-65,58.3-106.1,71.9ZM446.2,372.3c-1.7,2.7-3.2,4.2-6.6,4.8l-80.3,2.6c-3.5.1-5-1.5-6.6-3.7l-36.1-50c-1.2-1.6-1.9-3.3-1.2-5.5l29.7-86.1c1.1-3,2.2-5.9,5.4-7.1l63.2-24c1.7-.6,4.2-.8,5.5.6l57.5,58.9c2.1,2.1,2.9,3.6,2.7,6.8-2.4,36.6-14,71.7-33.4,102.7Z"></path>
639
+ </svg>
636
640
  `
637
641
  };
638
642
  function Z1(i) {
@@ -930,7 +934,7 @@ function U1(i) {
930
934
  ), u, p, m, d, C, T, v, w = (
931
935
  /*$_*/
932
936
  i[24]("status") + ""
933
- ), z, Y, Z, E = (
937
+ ), B, Y, Z, E = (
934
938
  /*$_*/
935
939
  i[24](`${/*txnStatus*/
936
940
  i[21]}`) + ""
@@ -946,7 +950,7 @@ function U1(i) {
946
950
  ), ye, Me, M, se, ke, A, $, ee = (
947
951
  /*$_*/
948
952
  i[24]("paymentTime") + ""
949
- ), le, ce, Te, ue = ze(
953
+ ), le, ce, Te, ue = Be(
950
954
  /*txnInfo*/
951
955
  i[15].time
952
956
  ).format("MMM DD, YYYY, HH:mm:ss") + "", Ce, te, ne, he, Q, _e, pe, be, xe;
@@ -988,14 +992,14 @@ function U1(i) {
988
992
  e = g("div"), P && P.c(), t = k(), n = g("div"), a = g("div"), r = g("p"), u = S(o), p = k(), m = g("span"), d = S(
989
993
  /*amount*/
990
994
  i[17]
991
- ), C = k(), T = g("div"), v = g("p"), z = S(w), Y = k(), Z = g("span"), V = S(E), ae = k(), L = g("div"), H = g("p"), oe = S(X), me = k(), F = g("span"), fe = S(re), ge = k(), q = g("div"), J = g("p"), ye = S(R), Me = k(), M = g("span"), se = S(
995
+ ), C = k(), T = g("div"), v = g("p"), B = S(w), Y = k(), Z = g("span"), V = S(E), ae = k(), L = g("div"), H = g("p"), oe = S(X), me = k(), F = g("span"), fe = S(re), ge = k(), q = g("div"), J = g("p"), ye = S(R), Me = k(), M = g("span"), se = S(
992
996
  /*paymentmethod*/
993
997
  i[0]
994
- ), ke = k(), A = g("div"), $ = g("p"), le = S(ee), ce = k(), Te = g("span"), Ce = S(ue), te = k(), ne = g("div"), W && W.c(), he = k(), Q = g("button"), K.c(), _e = k(), j && j.c(), pe = Be(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(T, "class", U = `Status ${/*txnStatus*/
998
+ ), ke = k(), A = g("div"), $ = g("p"), le = S(ee), ce = k(), Te = g("span"), Ce = S(ue), te = k(), ne = g("div"), W && W.c(), he = k(), Q = g("button"), K.c(), _e = k(), j && j.c(), pe = ze(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(T, "class", U = `Status ${/*txnStatus*/
995
999
  i[21]}`), l(F, "class", "TxnIdText"), l(L, "class", "TxnId"), l(q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(ne, "class", "ReceiptButtonsWrapper"), l(Q, "class", "DefaultButton");
996
1000
  },
997
1001
  m(f, y) {
998
- b(f, e, y), P && P.m(e, null), b(f, t, y), b(f, n, y), c(n, a), c(a, r), c(r, u), c(a, p), c(a, m), c(m, d), c(n, C), c(n, T), c(T, v), c(v, z), c(T, Y), c(T, Z), c(Z, V), c(n, ae), c(n, L), c(L, H), c(H, oe), c(L, me), c(L, F), c(F, fe), c(n, ge), c(n, q), c(q, J), c(J, ye), c(q, Me), c(q, M), c(M, se), c(n, ke), c(n, A), c(A, $), c($, le), c(A, ce), c(A, Te), c(Te, Ce), b(f, te, y), b(f, ne, y), W && W.m(ne, null), b(f, he, y), b(f, Q, y), K.m(Q, null), b(f, _e, y), j && j.m(f, y), b(f, pe, y), be || (xe = [
1002
+ b(f, e, y), P && P.m(e, null), b(f, t, y), b(f, n, y), c(n, a), c(a, r), c(r, u), c(a, p), c(a, m), c(m, d), c(n, C), c(n, T), c(T, v), c(v, B), c(T, Y), c(T, Z), c(Z, V), c(n, ae), c(n, L), c(L, H), c(H, oe), c(L, me), c(L, F), c(F, fe), c(n, ge), c(n, q), c(q, J), c(J, ye), c(q, Me), c(q, M), c(M, se), c(n, ke), c(n, A), c(A, $), c($, le), c(A, ce), c(A, Te), c(Te, Ce), b(f, te, y), b(f, ne, y), W && W.m(ne, null), b(f, he, y), b(f, Q, y), K.m(Q, null), b(f, _e, y), j && j.m(f, y), b(f, pe, y), be || (xe = [
999
1003
  Re(
1000
1004
  F,
1001
1005
  "click",
@@ -1020,7 +1024,7 @@ function U1(i) {
1020
1024
  f[17]
1021
1025
  ), y[0] & /*$_*/
1022
1026
  16777216 && w !== (w = /*$_*/
1023
- f[24]("status") + "") && x(z, w), y[0] & /*$_, txnStatus*/
1027
+ f[24]("status") + "") && x(B, w), y[0] & /*$_, txnStatus*/
1024
1028
  18874368 && E !== (E = /*$_*/
1025
1029
  f[24](`${/*txnStatus*/
1026
1030
  f[21]}`) + "") && x(V, E), y[0] & /*txnStatus*/
@@ -1039,7 +1043,7 @@ function U1(i) {
1039
1043
  ), y[0] & /*$_*/
1040
1044
  16777216 && ee !== (ee = /*$_*/
1041
1045
  f[24]("paymentTime") + "") && x(le, ee), y[0] & /*txnInfo*/
1042
- 32768 && ue !== (ue = ze(
1046
+ 32768 && ue !== (ue = Be(
1043
1047
  /*txnInfo*/
1044
1048
  f[15].time
1045
1049
  ).format("MMM DD, YYYY, HH:mm:ss") + "") && x(Ce, ue), /*displayedButtons*/
@@ -1092,14 +1096,14 @@ function K1(i) {
1092
1096
  c() {
1093
1097
  e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), r = k(), o = g("div"), u = g("h3"), m = S(p), d = k(), C = g("p"), v = S(T), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D14141"), l(t, "fill-opacity", "0.12"), l(n, "x", "19.335"), l(n, "y", "19"), l(n, "width", "33.33"), l(n, "height", "33.33"), l(n, "rx", "16.665"), l(n, "fill", "#FF3636"), l(a, "d", "M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"), l(a, "stroke", "black"), l(a, "stroke-width", "2.09016"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon failed"), 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(o, "class", "ReceiptStatusText");
1094
1098
  },
1095
- m(w, z) {
1096
- b(w, e, z), c(e, t), c(e, n), c(e, a), b(w, r, z), b(w, o, z), c(o, u), c(u, m), c(o, d), c(o, C), c(C, v);
1099
+ m(w, B) {
1100
+ b(w, e, B), c(e, t), c(e, n), c(e, a), b(w, r, B), b(w, o, B), c(o, u), c(u, m), c(o, d), c(o, C), c(C, v);
1097
1101
  },
1098
- p(w, z) {
1099
- z[0] & /*$_, txnInfo*/
1102
+ p(w, B) {
1103
+ B[0] & /*$_, txnInfo*/
1100
1104
  16809984 && p !== (p = /*$_*/
1101
1105
  w[24](`${/*txnInfo*/
1102
- w[15].type.toLowerCase()}.fail.title`) + "") && x(m, p), z[0] & /*$_, txnInfo*/
1106
+ w[15].type.toLowerCase()}.fail.title`) + "") && x(m, p), B[0] & /*$_, txnInfo*/
1103
1107
  16809984 && T !== (T = /*$_*/
1104
1108
  w[24](`${/*txnInfo*/
1105
1109
  w[15].type.toLowerCase()}.fail.text`) + "") && x(v, T);
@@ -1118,16 +1122,16 @@ function Y1(i) {
1118
1122
  /*$_*/
1119
1123
  i[24](`${/*txnInfo*/
1120
1124
  i[15].type.toLowerCase()}.pending.text`) + ""
1121
- ), z, Y, Z, E = (
1125
+ ), B, Y, Z, E = (
1122
1126
  /*$_*/
1123
1127
  i[24]("refreshButton") + ""
1124
1128
  ), V, U, ae;
1125
1129
  return {
1126
1130
  c() {
1127
- e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), r = N("path"), o = N("path"), u = k(), p = g("div"), m = g("h3"), C = S(d), T = k(), v = g("p"), z = S(w), Y = k(), Z = g("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");
1131
+ e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), r = N("path"), o = N("path"), u = k(), p = g("div"), m = g("h3"), C = S(d), T = k(), v = g("p"), B = S(w), Y = k(), Z = g("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");
1128
1132
  },
1129
1133
  m(L, H) {
1130
- b(L, e, H), c(e, t), c(e, n), c(e, a), c(e, r), c(e, o), b(L, u, H), b(L, p, H), c(p, m), c(m, C), c(p, T), c(p, v), c(v, z), b(L, Y, H), b(L, Z, H), c(Z, V), U || (ae = Re(
1134
+ b(L, e, H), c(e, t), c(e, n), c(e, a), c(e, r), c(e, o), b(L, u, H), b(L, p, H), c(p, m), c(m, C), c(p, T), c(p, v), c(v, B), b(L, Y, H), b(L, Z, H), c(Z, V), U || (ae = Re(
1131
1135
  Z,
1132
1136
  "click",
1133
1137
  /*getPaymentInfo*/
@@ -1141,7 +1145,7 @@ function Y1(i) {
1141
1145
  L[15].type.toLowerCase()}.pending.title`) + "") && x(C, d), H[0] & /*$_, txnInfo*/
1142
1146
  16809984 && w !== (w = /*$_*/
1143
1147
  L[24](`${/*txnInfo*/
1144
- L[15].type.toLowerCase()}.pending.text`) + "") && x(z, w), H[0] & /*$_*/
1148
+ L[15].type.toLowerCase()}.pending.text`) + "") && x(B, w), H[0] & /*$_*/
1145
1149
  16777216 && E !== (E = /*$_*/
1146
1150
  L[24]("refreshButton") + "") && x(V, E);
1147
1151
  },
@@ -1192,7 +1196,7 @@ function i1(i) {
1192
1196
  c() {
1193
1197
  for (let a = 0; a < n.length; a += 1)
1194
1198
  n[a].c();
1195
- e = Be();
1199
+ e = ze();
1196
1200
  },
1197
1201
  m(a, r) {
1198
1202
  for (let o = 0; o < n.length; o += 1)
@@ -1247,10 +1251,10 @@ function a1(i) {
1247
1251
  b(v, e, w), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, u), m || (d = Re(e, "click", C), m = !0);
1248
1252
  },
1249
1253
  p(v, w) {
1250
- var z;
1254
+ var B;
1251
1255
  i = v, w[0] & /*displayedButtons*/
1252
- 4096 && n !== (n = ((z = Xe[`${/*btn*/
1253
- i[73].type}`]) != null ? z : "") + "") && (t.innerHTML = n), w[0] & /*$_, displayedButtons*/
1256
+ 4096 && n !== (n = ((B = Xe[`${/*btn*/
1257
+ i[73].type}`]) != null ? B : "") + "") && (t.innerHTML = n), w[0] & /*$_, displayedButtons*/
1254
1258
  16781312 && r !== (r = /*$_*/
1255
1259
  i[24](`${/*btn*/
1256
1260
  i[73].translationKey}`) + "") && x(o, r), w[0] & /*displayedButtons*/
@@ -1319,7 +1323,7 @@ function o1(i) {
1319
1323
  c() {
1320
1324
  for (let a = 0; a < n.length; a += 1)
1321
1325
  n[a].c();
1322
- e = Be();
1326
+ e = ze();
1323
1327
  },
1324
1328
  m(a, r) {
1325
1329
  for (let o = 0; o < n.length; o += 1)
@@ -1549,8 +1553,8 @@ function tt(i) {
1549
1553
  let nt = "_blank";
1550
1554
  function it(i, e, t) {
1551
1555
  let n;
1552
- C1(i, I1, (s) => t(24, n = s)), ze.extend(z1);
1553
- let { endpoint: a } = e, { session: r } = e, { lang: o = "en" } = e, { local: u = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: m } = e, { assetsurl: d = "" } = e, { customerid: C } = e, { transactionid: T } = e, { currencydecimals: v = "0" } = e, { type: w } = e, { clientstyling: z = "" } = e, { clientstylingurl: Y = "" } = e, { mbsource: Z = "" } = e, { showverifications: E = "true" } = e, { paymentmethod: V = "" } = e, U = !1, ae, { customsucceessbuttons: L = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: X = "" } = e, { currencysymbol: oe = "" } = e, { currencyposition: me = "" } = e, { userroles: F = "" } = e, { windowsize: re } = e, { p2p: fe = "false" } = e, ge = [], q = [];
1556
+ C1(i, I1, (s) => t(24, n = s)), Be.extend(B1);
1557
+ let { endpoint: a } = e, { session: r } = e, { lang: o = "en" } = e, { local: u = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: m } = e, { assetsurl: d = "" } = e, { customerid: C } = e, { transactionid: T } = e, { currencydecimals: v = "0" } = e, { type: w } = e, { clientstyling: B = "" } = e, { clientstylingurl: Y = "" } = e, { mbsource: Z = "" } = e, { showverifications: E = "true" } = e, { paymentmethod: V = "" } = e, U = !1, ae, { customsucceessbuttons: L = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: X = "" } = e, { currencysymbol: oe = "" } = e, { currencyposition: me = "" } = e, { userroles: F = "" } = e, { windowsize: re } = e, { p2p: fe = "false" } = e, ge = [], q = [];
1554
1558
  var J;
1555
1559
  (function(s) {
1556
1560
  s.Success = "Success", s.Maintenance = "Maintenance";
@@ -1559,9 +1563,9 @@ function it(i, e, t) {
1559
1563
  (function(s) {
1560
1564
  s.Unknown = "Unknown", s.Text = "Text", s.Boolean = "Boolean", s.Number = "Number", s.Money = "Money", s.DateTime = "DateTime", s.Lookup = "Lookup", s.IpAddress = "IpAddress", s.Date = "Date", s.Time = "Time", s.LookupCollection = "LookupCollection", s.Hidden = "Hidden", s.Label = "Label", s.Password = "Password", s.Link = "Link", s.Image = "Image", s.Html = "Html", s.QRCode = "QR";
1561
1565
  })(R || (R = {}));
1562
- const ye = (s, [B, O]) => [
1566
+ const ye = (s, [z, O]) => [
1563
1567
  ...s,
1564
- ...Array.isArray(B) ? [...B.map((D) => [D, O])] : [[B, O]]
1568
+ ...Array.isArray(z) ? [...z.map((D) => [D, O])] : [[z, O]]
1565
1569
  ], Me = new Map([
1566
1570
  [["Unknown", 0], R.Unknown],
1567
1571
  [["Text", 1], R.Text],
@@ -1644,24 +1648,24 @@ function it(i, e, t) {
1644
1648
  Ce[O.trim()] && ge.push(Ce[O.trim()]);
1645
1649
  });
1646
1650
  }, ne = () => {
1647
- B1(o);
1651
+ z1(o);
1648
1652
  };
1649
1653
  h1(() => (window.addEventListener("message", he, !1), b1(u, oe, me, v), () => {
1650
1654
  window.removeEventListener("message", he);
1651
1655
  }));
1652
1656
  const he = (s) => {
1653
- var B;
1657
+ var z;
1654
1658
  switch (s.data.type) {
1655
1659
  case "CloseReceiptInSecondTab":
1656
- (B = window.opener) == null || B.postMessage(s.data);
1660
+ (z = window.opener) == null || z.postMessage(s.data);
1657
1661
  break;
1658
1662
  }
1659
1663
  }, Q = () => {
1660
1664
  let s = m;
1661
1665
  if (s)
1662
- return fetch(s).then((B) => B.json()).then((B) => {
1663
- Object.keys(B).forEach((O) => {
1664
- qe(O, B[O]);
1666
+ return fetch(s).then((z) => z.json()).then((z) => {
1667
+ Object.keys(z).forEach((O) => {
1668
+ qe(O, z[O]);
1665
1669
  });
1666
1670
  }).catch(() => {
1667
1671
  });
@@ -1681,11 +1685,11 @@ function it(i, e, t) {
1681
1685
  window.location.href
1682
1686
  );
1683
1687
  }, be = () => {
1684
- const s = new URL(`${a}/v1/player/${C}/payment/GetPaymentInfo`), B = new Headers();
1685
- B.append("accept", "application/json"), B.append("Content-Type", "application/json"), B.append("X-SessionId", `${r}`), B.append("X-Client-Request-Timestamp", ze.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), q.indexOf("MM_CHANNEL_BETA") != -1 && B.append("MM_CHANNEL", "BETA");
1688
+ const s = new URL(`${a}/v1/player/${C}/payment/GetPaymentInfo`), z = new Headers();
1689
+ z.append("accept", "application/json"), z.append("Content-Type", "application/json"), z.append("X-SessionId", `${r}`), z.append("X-Client-Request-Timestamp", Be.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), q.indexOf("MM_CHANNEL_BETA") != -1 && z.append("MM_CHANNEL", "BETA");
1686
1690
  const O = {
1687
1691
  method: "POST",
1688
- headers: B,
1692
+ headers: z,
1689
1693
  body: JSON.stringify({ TransactionCode: T })
1690
1694
  };
1691
1695
  t(11, U = !0), fetch(s, O).then((D) => D.json()).then((D) => {
@@ -1776,11 +1780,11 @@ function it(i, e, t) {
1776
1780
  );
1777
1781
  };
1778
1782
  let G, P;
1779
- const W = (s, B = !0) => Ne(this, null, function* () {
1783
+ const W = (s, z = !0) => Ne(this, null, function* () {
1780
1784
  const D = s.currentTarget.innerHTML;
1781
1785
  if (D && navigator.clipboard && navigator.clipboard.writeText)
1782
1786
  try {
1783
- yield navigator.clipboard.writeText(D), B && (t(23, G = !0), clearTimeout(P), P = setTimeout(
1787
+ yield navigator.clipboard.writeText(D), z && (t(23, G = !0), clearTimeout(P), P = setTimeout(
1784
1788
  () => {
1785
1789
  t(23, G = !1);
1786
1790
  },
@@ -1806,7 +1810,7 @@ function it(i, e, t) {
1806
1810
  });
1807
1811
  }
1808
1812
  return i.$$set = (s) => {
1809
- "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, u = s.local), "showerrors" in s && t(32, p = s.showerrors), "translationurl" in s && t(4, m = s.translationurl), "assetsurl" in s && t(5, d = s.assetsurl), "customerid" in s && t(6, C = s.customerid), "transactionid" in s && t(33, T = s.transactionid), "currencydecimals" in s && t(34, v = s.currencydecimals), "type" in s && t(35, w = s.type), "clientstyling" in s && t(7, z = 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, L = s.customsucceessbuttons), "custompendingbuttons" in s && t(38, H = s.custompendingbuttons), "customfailedbuttons" in s && t(39, X = 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, fe = s.p2p);
1813
+ "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, u = s.local), "showerrors" in s && t(32, p = s.showerrors), "translationurl" in s && t(4, m = s.translationurl), "assetsurl" in s && t(5, d = s.assetsurl), "customerid" in s && t(6, C = s.customerid), "transactionid" in s && t(33, T = s.transactionid), "currencydecimals" in s && t(34, v = s.currencydecimals), "type" in s && t(35, w = s.type), "clientstyling" in s && t(7, B = 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, L = s.customsucceessbuttons), "custompendingbuttons" in s && t(38, H = s.custompendingbuttons), "customfailedbuttons" in s && t(39, X = 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, fe = s.p2p);
1810
1814
  }, i.$$.update = () => {
1811
1815
  i.$$.dirty[1] & /*userroles*/
1812
1816
  2048 && F && De(), i.$$.dirty[0] & /*endpoint, session, customerid*/
@@ -1814,7 +1818,7 @@ function it(i, e, t) {
1814
1818
  6 && a && r && C && T && p && be(), i.$$.dirty[0] & /*lang*/
1815
1819
  8 && o && ne(), i.$$.dirty[0] & /*lang, translationurl*/
1816
1820
  24 && o && m && Q(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1817
- 1152 && z && A && R1(A, z), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1821
+ 1152 && B && A && R1(A, B), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1818
1822
  1280 && Y && A && M1(A, Y), i.$$.dirty[0] & /*customStylingContainer*/
1819
1823
  1024 | i.$$.dirty[1] & /*mbsource*/
1820
1824
  32 && Z && A && D1(A, `${Z}.Style`, ae);
@@ -1826,7 +1830,7 @@ function it(i, e, t) {
1826
1830
  m,
1827
1831
  d,
1828
1832
  C,
1829
- z,
1833
+ B,
1830
1834
  Y,
1831
1835
  E,
1832
1836
  A,
@@ -1,6 +1,6 @@
1
1
  import { a as An, i as Cn, $ as vn, S as Ln, b as Mn, s as Rn, f as Z, c as kn, d as Me, t as Ae, e as we, C as un, g as fn, h as Re, j as R, l as Ut, o as On, ag as Dn, m as $e, a4 as Nn, aa as Bt, N as zt, x as We, u as et, n as tt, p as nt, k as u, q as p, a8 as In, z as Je, Z as se, r as be, y as Ye, v as Ht, w as Pn, I as Ft, A as Gt, D as Un, E as Bn, F as zn, G as Hn, H as Fn } from "./CashierCarousel-BtKQtzdv.js";
2
- import { f as Wt } from "./CashierPage-D00hk2xv.js";
3
- import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-B-zfLkW5.js";
2
+ import { f as Wt } from "./CashierPage-CRH25Rv3.js";
3
+ import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-BhlRKg34.js";
4
4
  function Vt(n, t) {
5
5
  An(n, t);
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { a as An, i as Cn, $ as vn, S as Ln, b as Mn, s as Rn, f as Z, c as kn, d as Me, t as Ae, e as we, g as un, h as fn, j as Re, k as R, m as Ut, o as On, ag as Dn, n as $e, a4 as Nn, aa as Bt, N as zt, y as We, u as et, p as tt, q as nt, l as u, r as p, a8 as In, A as Je, Z as se, v as be, z as Ye, w as Ht, x as Pn, I as Ft, B as Gt, D as Un, E as Bn, F as zn, G as Hn, H as Fn } from "./CashierCarousel-B0fVKMjP.js";
2
- import { f as Wt } from "./CashierPage-CVtPx9LE.js";
3
- import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-CoECDT3U.js";
2
+ import { f as Wt } from "./CashierPage-CYKVSmg9.js";
3
+ import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-DQDSZJXo.js";
4
4
  function Vt(n, t) {
5
5
  An(n, t);
6
6
  }
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-BekweMPA.cjs"),wt=require("./CashierPage-CdNfJQft.cjs"),Me=require("./CashierMethodDetails-ClsKYPK5.cjs");function St(i,n){e.addMessages(i,n)}function en(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const xt={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"}};/*! @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:Ht,setPrototypeOf:At,isFrozen:tn,getPrototypeOf:nn,getOwnPropertyDescriptor:on}=Object;let{freeze:U,seal:Q,create:Ft}=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 He=X(Array.prototype.forEach),Ct=X(Array.prototype.pop),Re=X(Array.prototype.push),Ge=X(String.prototype.toLowerCase),qe=X(String.prototype.toString),vt=X(String.prototype.match),ke=X(String.prototype.replace),sn=X(String.prototype.indexOf),rn=X(String.prototype.trim),ne=X(Object.prototype.hasOwnProperty),P=X(RegExp.prototype.test),Oe=an(TypeError);function X(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 an(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 m(i,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ge;At&&At(i,null);let s=n.length;for(;s--;){let a=n[s];if(typeof a=="string"){const f=o(a);f!==a&&(tn(n)||(n[s]=f),a=f)}i[a]=!0}return i}function ln(i){for(let n=0;n<i.length;n++)ne(i,n)||(i[n]=null);return i}function ye(i){const n=Ft(null);for(const[o,s]of Ht(i))ne(i,o)&&(Array.isArray(s)?n[o]=ln(s):s&&typeof s=="object"&&s.constructor===Object?n[o]=ye(s):n[o]=s);return n}function De(i,n){for(;i!==null;){const s=on(i,n);if(s){if(s.get)return X(s.get);if(typeof s.value=="function")return X(s.value)}i=nn(i)}function o(){return null}return o}const Lt=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"]),cn=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"]),un=U(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Mt=U(["#text"]),Rt=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"]),kt=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"]),Fe=U(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fn=Q(/\{\{[\w\W]*|[\w\W]*\}\}/gm),pn=Q(/<%[\w\W]*|[\w\W]*%>/gm),mn=Q(/\${[\w\W]*}/gm),dn=Q(/^data-[\-\w.\u00B7-\uFFFF]/),hn=Q(/^aria-[\-\w]+$/),Gt=Q(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),gn=Q(/^(?:\w+script|data):/i),_n=Q(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Wt=Q(/^html$/i),En=Q(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ot=Object.freeze({__proto__:null,MUSTACHE_EXPR:fn,ERB_EXPR:pn,TMPLIT_EXPR:mn,DATA_ATTR:dn,ARIA_ATTR:hn,IS_ALLOWED_URI:Gt,IS_SCRIPT_OR_DATA:gn,ATTR_WHITESPACE:_n,DOCTYPE_NAME:Wt,CUSTOM_ELEMENT:En});const Ne={element:1,text:3,progressingInstruction:7,comment:8,document:9},Tn=function(){return typeof window=="undefined"?null:window},bn=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 Yt(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tn();const n=u=>Yt(u);if(n.version="3.1.6",n.removed=[],!i||!i.document||i.document.nodeType!==Ne.document)return n.isSupported=!1,n;let{document:o}=i;const s=o,a=s.currentScript,{DocumentFragment:f,HTMLTemplateElement:g,Node:w,Element:T,NodeFilter:_,NamedNodeMap:Y=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:$,DOMParser:Te,trustedTypes:B}=i,z=T.prototype,ge=De(z,"cloneNode"),ie=De(z,"remove"),H=De(z,"nextSibling"),ue=De(z,"childNodes"),q=De(z,"parentNode");if(typeof g=="function"){const u=o.createElement("template");u.content&&u.content.ownerDocument&&(o=u.content.ownerDocument)}let h,S="";const{implementation:ee,createNodeIterator:oe,createDocumentFragment:fe,getElementsByTagName:F}=o,{importNode:te}=s;let C={};n.isSupported=typeof Ht=="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}=Ot;let{IS_ALLOWED_URI:V}=Ot,p=null;const _e=m({},[...Lt,...Ze,...Je,...Ke,...Mt]);let x=null;const Ee=m({},[...Rt,...Qe,...kt,...Fe]);let E=Object.seal(Ft(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,d=!0,N=!0,L=!1,G=!0,me=!1,K=!0,re=!1,y=!1,A=!1,ae=!1,Ie=!1,Pe=!1,tt=!0,nt=!1;const Vt="user-content-";let We=!0,Ce=!1,we={},Se=null;const it=m({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ot=null;const st=m({},["audio","video","img","source","image","track"]);let Ye=null;const rt=m({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ue="http://www.w3.org/1998/Math/MathML",Be="http://www.w3.org/2000/svg",de="http://www.w3.org/1999/xhtml";let xe=de,je=!1,Ve=null;const Xt=m({},[Ue,Be,de],qe);let ve=null;const qt=["application/xhtml+xml","text/html"],Zt="text/html";let M=null,Ae=null;const Jt=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=qt.indexOf(t.PARSER_MEDIA_TYPE)===-1?Zt:t.PARSER_MEDIA_TYPE,M=ve==="application/xhtml+xml"?qe:Ge,p=ne(t,"ALLOWED_TAGS")?m({},t.ALLOWED_TAGS,M):_e,x=ne(t,"ALLOWED_ATTR")?m({},t.ALLOWED_ATTR,M):Ee,Ve=ne(t,"ALLOWED_NAMESPACES")?m({},t.ALLOWED_NAMESPACES,qe):Xt,Ye=ne(t,"ADD_URI_SAFE_ATTR")?m(ye(rt),t.ADD_URI_SAFE_ATTR,M):rt,ot=ne(t,"ADD_DATA_URI_TAGS")?m(ye(st),t.ADD_DATA_URI_TAGS,M):st,Se=ne(t,"FORBID_CONTENTS")?m({},t.FORBID_CONTENTS,M):it,v=ne(t,"FORBID_TAGS")?m({},t.FORBID_TAGS,M):{},l=ne(t,"FORBID_ATTR")?m({},t.FORBID_ATTR,M):{},we=ne(t,"USE_PROFILES")?t.USE_PROFILES:!1,d=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,me=t.SAFE_FOR_TEMPLATES||!1,K=t.SAFE_FOR_XML!==!1,re=t.WHOLE_DOCUMENT||!1,ae=t.RETURN_DOM||!1,Ie=t.RETURN_DOM_FRAGMENT||!1,Pe=t.RETURN_TRUSTED_TYPE||!1,A=t.FORCE_BODY||!1,tt=t.SANITIZE_DOM!==!1,nt=t.SANITIZE_NAMED_PROPS||!1,We=t.KEEP_CONTENT!==!1,Ce=t.IN_PLACE||!1,V=t.ALLOWED_URI_REGEXP||Gt,xe=t.NAMESPACE||de,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),me&&(N=!1),Ie&&(ae=!0),we&&(p=m({},Mt),x=[],we.html===!0&&(m(p,Lt),m(x,Rt)),we.svg===!0&&(m(p,Ze),m(x,Qe),m(x,Fe)),we.svgFilters===!0&&(m(p,Je),m(x,Qe),m(x,Fe)),we.mathMl===!0&&(m(p,Ke),m(x,kt),m(x,Fe))),t.ADD_TAGS&&(p===_e&&(p=ye(p)),m(p,t.ADD_TAGS,M)),t.ADD_ATTR&&(x===Ee&&(x=ye(x)),m(x,t.ADD_ATTR,M)),t.ADD_URI_SAFE_ATTR&&m(Ye,t.ADD_URI_SAFE_ATTR,M),t.FORBID_CONTENTS&&(Se===it&&(Se=ye(Se)),m(Se,t.FORBID_CONTENTS,M)),We&&(p["#text"]=!0),re&&m(p,["html","head","body"]),p.table&&(m(p,["tbody"]),delete v.tbody),t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!="function")throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=t.TRUSTED_TYPES_POLICY,S=h.createHTML("")}else h===void 0&&(h=bn(B,a)),h!==null&&typeof S=="string"&&(S=h.createHTML(""));U&&U(t),Ae=t}},lt=m({},["mi","mo","mn","ms","mtext"]),ct=m({},["foreignobject","annotation-xml"]),Kt=m({},["title","style","font","a","script"]),ut=m({},[...Ze,...Je,...cn]),ft=m({},[...Ke,...un]),Qt=function(t){let r=q(t);(!r||!r.tagName)&&(r={namespaceURI:xe,tagName:"template"});const c=Ge(t.tagName),b=Ge(r.tagName);return Ve[t.namespaceURI]?t.namespaceURI===Be?r.namespaceURI===de?c==="svg":r.namespaceURI===Ue?c==="svg"&&(b==="annotation-xml"||lt[b]):!!ut[c]:t.namespaceURI===Ue?r.namespaceURI===de?c==="math":r.namespaceURI===Be?c==="math"&&ct[b]:!!ft[c]:t.namespaceURI===de?r.namespaceURI===Be&&!ct[b]||r.namespaceURI===Ue&&!lt[b]?!1:!ft[c]&&(Kt[c]||!ut[c]):!!(ve==="application/xhtml+xml"&&Ve[t.namespaceURI]):!1},le=function(t){Re(n.removed,{element:t});try{q(t).removeChild(t)}catch(r){ie(t)}},ze=function(t,r){try{Re(n.removed,{attribute:r.getAttributeNode(t),from:r})}catch(c){Re(n.removed,{attribute:null,from:r})}if(r.removeAttribute(t),t==="is"&&!x[t])if(ae||Ie)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=vt(t,/^[\r\n\t ]+/);c=R&&R[0]}ve==="application/xhtml+xml"&&xe===de&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const b=h?h.createHTML(t):t;if(xe===de)try{r=new Te().parseFromString(b,ve)}catch(R){}if(!r||!r.documentElement){r=ee.createDocument(xe,"template",null);try{r.documentElement.innerHTML=je?S:b}catch(R){}}const O=r.body||r.documentElement;return t&&c&&O.insertBefore(o.createTextNode(c),O.childNodes[0]||null),xe===de?F.call(r,re?"html":"body")[0]:re?r.documentElement:O},mt=function(t){return oe.call(t.ownerDocument||t,t,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT|_.SHOW_PROCESSING_INSTRUCTION|_.SHOW_CDATA_SECTION,null)},dt=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 w=="function"&&t instanceof w},he=function(t,r,c){C[t]&&He(C[t],b=>{b.call(n,r,c,Ae)})},gt=function(t){let r=null;if(he("beforeSanitizeElements",t,null),dt(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===Ne.progressingInstruction||K&&t.nodeType===Ne.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(We&&!Se[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&&!Qt(t)||(c==="noscript"||c==="noembed"||c==="noframes")&&P(/<\/no(script|embed|frames)/i,t.innerHTML)?(le(t),!0):(me&&t.nodeType===Ne.text&&(r=t.textContent,He([se,j,pe],b=>{r=ke(r,b," ")}),t.textContent!==r&&(Re(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 Jt))return!1;if(!(N&&!l[r]&&P(Z,r))){if(!(d&&P(k,r))){if(!x[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(!Ye[r]){if(!P(V,ke(c,J,""))){if(!((r==="src"||r==="xlink:href"||r==="href")&&t!=="script"&&sn(c,"data:")===0&&ot[t])){if(!(L&&!P(D,ke(c,J,"")))){if(c)return!1}}}}}}return!0},Et=function(t){return t!=="annotation-xml"&&vt(t,be)},Tt=function(t){he("beforeSanitizeAttributes",t,null);const{attributes:r}=t;if(!r)return;const c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:x};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:rn(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)){ze(R,t);continue}if(c.forceKeepAttr||(ze(R,t),!c.keepAttr))continue;if(!G&&P(/\/>/i,I)){ze(R,t);continue}me&&He([se,j,pe],yt=>{I=ke(I,yt," ")});const bt=M(t.nodeName);if(_t(bt,Le,I)){if(nt&&(Le==="id"||Le==="name")&&(ze(R,t),I=Vt+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),dt(t)?le(t):Ct(n.removed)}catch(yt){}}}he("afterSanitizeAttributes",t,null)},$t=function u(t){let r=null;const c=mt(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(je=!u,je&&(u="<!-->"),typeof u!="string"&&!ht(u))if(typeof u.toString=="function"){if(u=u.toString(),typeof u!="string")throw Oe("dirty is not a string, aborting")}else throw Oe("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 Oe("root node is forbidden and cannot be sanitized in-place")}}else if(u instanceof w)r=pt("<!---->"),c=r.ownerDocument.importNode(u,!0),c.nodeType===Ne.element&&c.nodeName==="BODY"||c.nodeName==="HTML"?r=c:r.appendChild(c);else{if(!ae&&!me&&!re&&u.indexOf("<")===-1)return h&&Pe?h.createHTML(u):u;if(r=pt(u),!r)return ae?null:Pe?S:""}r&&A&&le(r.firstChild);const R=mt(Ce?u:r);for(;b=R.nextNode();)gt(b)||(b.content instanceof f&&$t(b.content),Tt(b));if(Ce)return u;if(ae){if(Ie)for(O=fe.call(r.ownerDocument);r.firstChild;)O.appendChild(r.firstChild);else O=r;return(x.shadowroot||x.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(Wt,r.ownerDocument.doctype.name)&&(W="<!DOCTYPE "+r.ownerDocument.doctype.name+`>
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-BekweMPA.cjs"),wt=require("./CashierPage-DBHACmJc.cjs"),Me=require("./CashierMethodDetails-CB_NZRIt.cjs");function St(i,n){e.addMessages(i,n)}function en(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const xt={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"}};/*! @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:Ht,setPrototypeOf:At,isFrozen:tn,getPrototypeOf:nn,getOwnPropertyDescriptor:on}=Object;let{freeze:U,seal:Q,create:Ft}=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 He=X(Array.prototype.forEach),Ct=X(Array.prototype.pop),Re=X(Array.prototype.push),Ge=X(String.prototype.toLowerCase),qe=X(String.prototype.toString),vt=X(String.prototype.match),ke=X(String.prototype.replace),sn=X(String.prototype.indexOf),rn=X(String.prototype.trim),ne=X(Object.prototype.hasOwnProperty),P=X(RegExp.prototype.test),Oe=an(TypeError);function X(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 an(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 m(i,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ge;At&&At(i,null);let s=n.length;for(;s--;){let a=n[s];if(typeof a=="string"){const f=o(a);f!==a&&(tn(n)||(n[s]=f),a=f)}i[a]=!0}return i}function ln(i){for(let n=0;n<i.length;n++)ne(i,n)||(i[n]=null);return i}function ye(i){const n=Ft(null);for(const[o,s]of Ht(i))ne(i,o)&&(Array.isArray(s)?n[o]=ln(s):s&&typeof s=="object"&&s.constructor===Object?n[o]=ye(s):n[o]=s);return n}function De(i,n){for(;i!==null;){const s=on(i,n);if(s){if(s.get)return X(s.get);if(typeof s.value=="function")return X(s.value)}i=nn(i)}function o(){return null}return o}const Lt=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"]),cn=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"]),un=U(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Mt=U(["#text"]),Rt=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"]),kt=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"]),Fe=U(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fn=Q(/\{\{[\w\W]*|[\w\W]*\}\}/gm),pn=Q(/<%[\w\W]*|[\w\W]*%>/gm),mn=Q(/\${[\w\W]*}/gm),dn=Q(/^data-[\-\w.\u00B7-\uFFFF]/),hn=Q(/^aria-[\-\w]+$/),Gt=Q(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),gn=Q(/^(?:\w+script|data):/i),_n=Q(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Wt=Q(/^html$/i),En=Q(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ot=Object.freeze({__proto__:null,MUSTACHE_EXPR:fn,ERB_EXPR:pn,TMPLIT_EXPR:mn,DATA_ATTR:dn,ARIA_ATTR:hn,IS_ALLOWED_URI:Gt,IS_SCRIPT_OR_DATA:gn,ATTR_WHITESPACE:_n,DOCTYPE_NAME:Wt,CUSTOM_ELEMENT:En});const Ne={element:1,text:3,progressingInstruction:7,comment:8,document:9},Tn=function(){return typeof window=="undefined"?null:window},bn=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 Yt(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tn();const n=u=>Yt(u);if(n.version="3.1.6",n.removed=[],!i||!i.document||i.document.nodeType!==Ne.document)return n.isSupported=!1,n;let{document:o}=i;const s=o,a=s.currentScript,{DocumentFragment:f,HTMLTemplateElement:g,Node:w,Element:T,NodeFilter:_,NamedNodeMap:Y=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:$,DOMParser:Te,trustedTypes:B}=i,z=T.prototype,ge=De(z,"cloneNode"),ie=De(z,"remove"),H=De(z,"nextSibling"),ue=De(z,"childNodes"),q=De(z,"parentNode");if(typeof g=="function"){const u=o.createElement("template");u.content&&u.content.ownerDocument&&(o=u.content.ownerDocument)}let h,S="";const{implementation:ee,createNodeIterator:oe,createDocumentFragment:fe,getElementsByTagName:F}=o,{importNode:te}=s;let C={};n.isSupported=typeof Ht=="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}=Ot;let{IS_ALLOWED_URI:V}=Ot,p=null;const _e=m({},[...Lt,...Ze,...Je,...Ke,...Mt]);let x=null;const Ee=m({},[...Rt,...Qe,...kt,...Fe]);let E=Object.seal(Ft(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,d=!0,N=!0,L=!1,G=!0,me=!1,K=!0,re=!1,y=!1,A=!1,ae=!1,Ie=!1,Pe=!1,tt=!0,nt=!1;const Vt="user-content-";let We=!0,Ce=!1,we={},Se=null;const it=m({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ot=null;const st=m({},["audio","video","img","source","image","track"]);let Ye=null;const rt=m({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ue="http://www.w3.org/1998/Math/MathML",Be="http://www.w3.org/2000/svg",de="http://www.w3.org/1999/xhtml";let xe=de,je=!1,Ve=null;const Xt=m({},[Ue,Be,de],qe);let ve=null;const qt=["application/xhtml+xml","text/html"],Zt="text/html";let M=null,Ae=null;const Jt=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=qt.indexOf(t.PARSER_MEDIA_TYPE)===-1?Zt:t.PARSER_MEDIA_TYPE,M=ve==="application/xhtml+xml"?qe:Ge,p=ne(t,"ALLOWED_TAGS")?m({},t.ALLOWED_TAGS,M):_e,x=ne(t,"ALLOWED_ATTR")?m({},t.ALLOWED_ATTR,M):Ee,Ve=ne(t,"ALLOWED_NAMESPACES")?m({},t.ALLOWED_NAMESPACES,qe):Xt,Ye=ne(t,"ADD_URI_SAFE_ATTR")?m(ye(rt),t.ADD_URI_SAFE_ATTR,M):rt,ot=ne(t,"ADD_DATA_URI_TAGS")?m(ye(st),t.ADD_DATA_URI_TAGS,M):st,Se=ne(t,"FORBID_CONTENTS")?m({},t.FORBID_CONTENTS,M):it,v=ne(t,"FORBID_TAGS")?m({},t.FORBID_TAGS,M):{},l=ne(t,"FORBID_ATTR")?m({},t.FORBID_ATTR,M):{},we=ne(t,"USE_PROFILES")?t.USE_PROFILES:!1,d=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,me=t.SAFE_FOR_TEMPLATES||!1,K=t.SAFE_FOR_XML!==!1,re=t.WHOLE_DOCUMENT||!1,ae=t.RETURN_DOM||!1,Ie=t.RETURN_DOM_FRAGMENT||!1,Pe=t.RETURN_TRUSTED_TYPE||!1,A=t.FORCE_BODY||!1,tt=t.SANITIZE_DOM!==!1,nt=t.SANITIZE_NAMED_PROPS||!1,We=t.KEEP_CONTENT!==!1,Ce=t.IN_PLACE||!1,V=t.ALLOWED_URI_REGEXP||Gt,xe=t.NAMESPACE||de,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),me&&(N=!1),Ie&&(ae=!0),we&&(p=m({},Mt),x=[],we.html===!0&&(m(p,Lt),m(x,Rt)),we.svg===!0&&(m(p,Ze),m(x,Qe),m(x,Fe)),we.svgFilters===!0&&(m(p,Je),m(x,Qe),m(x,Fe)),we.mathMl===!0&&(m(p,Ke),m(x,kt),m(x,Fe))),t.ADD_TAGS&&(p===_e&&(p=ye(p)),m(p,t.ADD_TAGS,M)),t.ADD_ATTR&&(x===Ee&&(x=ye(x)),m(x,t.ADD_ATTR,M)),t.ADD_URI_SAFE_ATTR&&m(Ye,t.ADD_URI_SAFE_ATTR,M),t.FORBID_CONTENTS&&(Se===it&&(Se=ye(Se)),m(Se,t.FORBID_CONTENTS,M)),We&&(p["#text"]=!0),re&&m(p,["html","head","body"]),p.table&&(m(p,["tbody"]),delete v.tbody),t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!="function")throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=t.TRUSTED_TYPES_POLICY,S=h.createHTML("")}else h===void 0&&(h=bn(B,a)),h!==null&&typeof S=="string"&&(S=h.createHTML(""));U&&U(t),Ae=t}},lt=m({},["mi","mo","mn","ms","mtext"]),ct=m({},["foreignobject","annotation-xml"]),Kt=m({},["title","style","font","a","script"]),ut=m({},[...Ze,...Je,...cn]),ft=m({},[...Ke,...un]),Qt=function(t){let r=q(t);(!r||!r.tagName)&&(r={namespaceURI:xe,tagName:"template"});const c=Ge(t.tagName),b=Ge(r.tagName);return Ve[t.namespaceURI]?t.namespaceURI===Be?r.namespaceURI===de?c==="svg":r.namespaceURI===Ue?c==="svg"&&(b==="annotation-xml"||lt[b]):!!ut[c]:t.namespaceURI===Ue?r.namespaceURI===de?c==="math":r.namespaceURI===Be?c==="math"&&ct[b]:!!ft[c]:t.namespaceURI===de?r.namespaceURI===Be&&!ct[b]||r.namespaceURI===Ue&&!lt[b]?!1:!ft[c]&&(Kt[c]||!ut[c]):!!(ve==="application/xhtml+xml"&&Ve[t.namespaceURI]):!1},le=function(t){Re(n.removed,{element:t});try{q(t).removeChild(t)}catch(r){ie(t)}},ze=function(t,r){try{Re(n.removed,{attribute:r.getAttributeNode(t),from:r})}catch(c){Re(n.removed,{attribute:null,from:r})}if(r.removeAttribute(t),t==="is"&&!x[t])if(ae||Ie)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=vt(t,/^[\r\n\t ]+/);c=R&&R[0]}ve==="application/xhtml+xml"&&xe===de&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const b=h?h.createHTML(t):t;if(xe===de)try{r=new Te().parseFromString(b,ve)}catch(R){}if(!r||!r.documentElement){r=ee.createDocument(xe,"template",null);try{r.documentElement.innerHTML=je?S:b}catch(R){}}const O=r.body||r.documentElement;return t&&c&&O.insertBefore(o.createTextNode(c),O.childNodes[0]||null),xe===de?F.call(r,re?"html":"body")[0]:re?r.documentElement:O},mt=function(t){return oe.call(t.ownerDocument||t,t,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT|_.SHOW_PROCESSING_INSTRUCTION|_.SHOW_CDATA_SECTION,null)},dt=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 w=="function"&&t instanceof w},he=function(t,r,c){C[t]&&He(C[t],b=>{b.call(n,r,c,Ae)})},gt=function(t){let r=null;if(he("beforeSanitizeElements",t,null),dt(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===Ne.progressingInstruction||K&&t.nodeType===Ne.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(We&&!Se[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&&!Qt(t)||(c==="noscript"||c==="noembed"||c==="noframes")&&P(/<\/no(script|embed|frames)/i,t.innerHTML)?(le(t),!0):(me&&t.nodeType===Ne.text&&(r=t.textContent,He([se,j,pe],b=>{r=ke(r,b," ")}),t.textContent!==r&&(Re(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 Jt))return!1;if(!(N&&!l[r]&&P(Z,r))){if(!(d&&P(k,r))){if(!x[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(!Ye[r]){if(!P(V,ke(c,J,""))){if(!((r==="src"||r==="xlink:href"||r==="href")&&t!=="script"&&sn(c,"data:")===0&&ot[t])){if(!(L&&!P(D,ke(c,J,"")))){if(c)return!1}}}}}}return!0},Et=function(t){return t!=="annotation-xml"&&vt(t,be)},Tt=function(t){he("beforeSanitizeAttributes",t,null);const{attributes:r}=t;if(!r)return;const c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:x};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:rn(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)){ze(R,t);continue}if(c.forceKeepAttr||(ze(R,t),!c.keepAttr))continue;if(!G&&P(/\/>/i,I)){ze(R,t);continue}me&&He([se,j,pe],yt=>{I=ke(I,yt," ")});const bt=M(t.nodeName);if(_t(bt,Le,I)){if(nt&&(Le==="id"||Le==="name")&&(ze(R,t),I=Vt+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),dt(t)?le(t):Ct(n.removed)}catch(yt){}}}he("afterSanitizeAttributes",t,null)},$t=function u(t){let r=null;const c=mt(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(je=!u,je&&(u="<!-->"),typeof u!="string"&&!ht(u))if(typeof u.toString=="function"){if(u=u.toString(),typeof u!="string")throw Oe("dirty is not a string, aborting")}else throw Oe("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 Oe("root node is forbidden and cannot be sanitized in-place")}}else if(u instanceof w)r=pt("<!---->"),c=r.ownerDocument.importNode(u,!0),c.nodeType===Ne.element&&c.nodeName==="BODY"||c.nodeName==="HTML"?r=c:r.appendChild(c);else{if(!ae&&!me&&!re&&u.indexOf("<")===-1)return h&&Pe?h.createHTML(u):u;if(r=pt(u),!r)return ae?null:Pe?S:""}r&&A&&le(r.firstChild);const R=mt(Ce?u:r);for(;b=R.nextNode();)gt(b)||(b.content instanceof f&&$t(b.content),Tt(b));if(Ce)return u;if(ae){if(Ie)for(O=fe.call(r.ownerDocument);r.firstChild;)O.appendChild(r.firstChild);else O=r;return(x.shadowroot||x.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(Wt,r.ownerDocument.doctype.name)&&(W="<!DOCTYPE "+r.ownerDocument.doctype.name+`>
2
2
  `+W),me&&He([se,j,pe],ce=>{W=ke(W,ce," ")}),h&&Pe?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]||[],Re(C[u],t))},n.removeHook=function(u){if(C[u])return Ct(C[u])},n.removeHooks=function(u){C[u]&&(C[u]=[])},n.removeAllHooks=function(){C={}},n}var Dt=Yt();function yn(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 wn=i=>({}),Nt=i=>({}),Sn=i=>({}),It=i=>({}),xn=i=>({}),Pt=i=>({}),An=i=>({}),Ut=i=>({class:"CashierSessionExpirationIcon"});function Bt(i){let n,o,s,a,f,g,w,T,_,Y,$,Te,B=i[8]("sessionExpirationHeader")+"",z,ge,ie,H,ue,q,h,S,ee,oe,fe,F,te,C,se=i[8]("sessionExpirationEnd")+"",j,pe,Z,k,D,J,be,V,p,_e,x;const Ee=i[23].icon,E=e.create_slot(Ee,i,i[22],Ut),v=E||Cn(i),l=i[23].title,d=e.create_slot(l,i,i[22],Pt),N=i[23].text,L=e.create_slot(N,i,i[22],It),G=L||vn(i),me=[Mn,Ln],K=[];function re(y,A){return y[6]?0:1}return k=re(i),D=K[k]=me[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"),w=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"),S=e.element("div"),v&&v.c(),ee=e.space(),d&&d.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(w,"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(S,"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,w),e.append(w,T),e.append(w,_),e.append(w,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,S),v&&v.m(S,null),e.append(S,ee),d&&d.m(S,null),e.append(S,oe),G&&G.m(S,null),e.append(S,fe),e.append(S,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](S),be=e.add_iframe_resize_listener(n,i[25].bind(n)),p=!0,_e||(x=[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,An):e.get_all_dirty_from_scope(i[22]),Ut):v&&v.p&&(!p||A[0]&8)&&v.p(i,p?A:[-1,-1]),d&&d.p&&(!p||A[0]&4194304)&&e.update_slot_base(d,l,i,i[22],p?e.get_slot_changes(l,i[22],A,xn):e.get_all_dirty_from_scope(i[22]),Pt),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,Sn):e.get_all_dirty_from_scope(i[22]),It):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]=me[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(d,y),e.transition_in(G,y),e.transition_in(D),y&&e.add_render_callback(()=>{p&&(V||(V=e.create_bidirectional_transition(n,wt.fade,{duration:i[2]},!0)),V.run(1))}),p=!0)},o(y){e.transition_out(v,y),e.transition_out(d,y),e.transition_out(G,y),e.transition_out(D),y&&(V||(V=e.create_bidirectional_transition(n,wt.fade,{duration:i[2]},!1)),V.run(0)),p=!1},d(y){y&&e.detach(n),v&&v.d(y),d&&d.d(y),G&&G.d(y),K[k].d(),i[24](null),be(),y&&V&&V.end(),_e=!1,e.run_all(x)}}}function zt(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 Cn(i){let n,o=i[3]&&zt(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=zt(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 vn(i){let n,o,s=i[8]("sessionExpirationTitle")+"",a,f,g,w=Dt.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=w},p(T,_){_[0]&256&&s!==(s=T[8]("sessionExpirationTitle")+"")&&e.set_data(a,s),_[0]&384&&w!==(w=Dt.sanitize(T[8]("sessionExpirationGeneralText",{values:{second:T[7]}}))+"")&&(g.innerHTML=w)},d(T){T&&e.detach(n)}}}function Ln(i){let n;const o=i[23].button,s=e.create_slot(o,i,i[22],Nt),a=s||Rn(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,wn):e.get_all_dirty_from_scope(f[22]),Nt):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 Mn(i){let n,o,s,a,f,g=i[8]("sessionExpirationLoadingButton")+"",w;return{c(){n=e.element("div"),o=e.svg_element("svg"),s=e.svg_element("path"),a=e.space(),f=e.element("span"),w=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,w)},p(T,_){_[0]&256&&g!==(g=T[8]("sessionExpirationLoadingButton")+"")&&e.set_data(w,g)},i:e.noop,o:e.noop,d(T){T&&e.detach(n)}}}function Rn(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 kn(i){let n,o,s=i[5]&&Bt(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=Bt(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 On=90;function Dn(i,n,o){let s,a;e.component_subscribe(i,Me.xPaymentSessionToken,l=>o(21,s=l)),e.component_subscribe(i,e.$format,l=>o(8,a=l));let{$$slots:f={},$$scope:g}=n;Me.dayjs.extend(Me.utc);let{clientstyling:w=""}=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,S=!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(d){return null}},k=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:C},window.location.href)},D=l=>{o(5,S=!1);const d=Z(l);d&&(fe=d==null?void 0:d.exp,o(7,oe=fe),F&&clearInterval(F),F=setInterval(()=>{const N=Math.floor(new Date().getTime()/1e3);o(7,oe=fe-N),oe<=On&&o(5,S=!0),N>=fe&&(J(),window.postMessage({type:"SessionExpired"},window.location.href))},1e3))},J=()=>{o(7,oe=0),o(5,S=!1),clearInterval(F)},be=()=>{if(ee)return;const l=new URL(`${ge}/v1/player/${H}/payment/GetPaymentMethod`),d=new Headers;o(6,ee=!0),d.append("accept","application/json"),d.append("Content-Type","application/json"),d.append("X-Client-Request-Timestamp",Me.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const N={method:"POST",mode:"cors",headers:d,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&&Me.xPaymentSessionToken.set(L.XPaymentSessionToken)}).finally(()=>o(6,ee=!1))},V=l=>{const d=l.currentTarget;l.target===d&&be()},p=()=>{fetch(z).then(d=>d.json()).then(d=>{Object.keys(d).forEach(N=>{St(N,d[N])})}).catch(d=>{console.log(d)})},_e=()=>{window.postMessage({type:"Cashier:goToHome"},window.location.href),o(5,S=!1)};Object.keys(xt).forEach(l=>{St(l,xt[l])});const x=()=>{en(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,w=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&&x(),i.$$.dirty[0]&4112&&w&&h&&e.setClientStyling(h,w),i.$$.dirty[0]&8208&&T&&h&&e.setClientStylingURL(h,T),i.$$.dirty[0]&1048592&&q&&h&&e.setStreamStyling(h,`${q}.Style`,se),i.$$.dirty[0]&32768&&z&&p()},[_,Y,$,Te,h,S,ee,oe,a,be,V,_e,w,T,B,z,ge,ie,H,ue,q,s,g,f,Ee,E,v]}class jt extends e.SvelteComponent{constructor(n){super(),e.init$1(this,n,Dn,kn,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},yn,[-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(jt,{clientstyling:{},clientstylingurl:{},width:{},height:{},duration:{},assetsurl:{},lang:{},translationurl:{},endpoint:{},currency:{},customerid:{},selectedpaymentmethodname:{},mbsource:{}},["icon","title","text","button"],[],!0);exports.default=jt;