@everymatrix/cashier-page 1.91.0 → 1.91.1

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 (66) hide show
  1. package/components/CashierCarousel-BNcnaN7U.js +672 -0
  2. package/components/CashierCarousel-CDhxtgjT.cjs +1 -0
  3. package/components/CashierCarousel-tfVH51fj.js +675 -0
  4. package/components/{CashierError-DnW2aAAX.js → CashierError-BBZp_vCz.js} +342 -216
  5. package/components/CashierError-BqvEnGrr.cjs +1 -0
  6. package/components/{CashierError-GVDugzHE.js → CashierError-CJCuZ3gS.js} +342 -216
  7. package/components/{CashierHeader-BUXr5k5a.js → CashierHeader-BGA-Qd-S.js} +1 -1
  8. package/components/{CashierHeader-CGkFElKE.cjs → CashierHeader-BKL2lJFV.cjs} +1 -1
  9. package/components/{CashierHeader-CqlQfyVu.js → CashierHeader-Bt5aV48_.js} +1 -1
  10. package/components/{CashierIframeRedirect-QMqpcwCG.cjs → CashierIframeRedirect-BFSErhBp.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-CsmTMsox.js → CashierIframeRedirect-BmdHdE-5.js} +3 -3
  12. package/components/{CashierIframeRedirect-CapiLMF8.js → CashierIframeRedirect-pYzLGWrC.js} +3 -3
  13. package/components/CashierMethodDetails-DVZrNpfS.cjs +85 -0
  14. package/components/{CashierMethodDetails-4R1nLbe5.js → CashierMethodDetails-DcSOxSSa.js} +3135 -3193
  15. package/components/{CashierMethodDetails-BzJz0Sq0.js → CashierMethodDetails-pX-AJWAC.js} +3012 -3070
  16. package/components/{CashierMethodsList-HTDFcAM2.js → CashierMethodsList-Bdv9g-e3.js} +280 -286
  17. package/components/CashierMethodsList-CKVmXdTC.cjs +1 -0
  18. package/components/{CashierMethodsList-B2dSWs7J.js → CashierMethodsList-D1cLe15i.js} +338 -345
  19. package/components/{CashierModal-CkBko0v-.js → CashierModal-B3zx276E.js} +17 -17
  20. package/components/{CashierModal-Bz8ySIyi.cjs → CashierModal-J_mZ6ODP.cjs} +1 -1
  21. package/components/{CashierModal-CN0tT1eh.js → CashierModal-v3KI6AFW.js} +14 -14
  22. package/components/{CashierNotifications-DnmURttF.js → CashierNotifications-B2R2A9Ph.js} +1 -1
  23. package/components/{CashierNotifications-xGwuu5BE.js → CashierNotifications-CS6nM02T.js} +1 -1
  24. package/components/{CashierNotifications-NRK114A1.cjs → CashierNotifications-D-OhK4CJ.cjs} +1 -1
  25. package/components/{CashierPage-D8eAeeTg.js → CashierPage-7d2gkNjC.js} +2882 -2715
  26. package/components/CashierPage-N8z4Zzox.js +9936 -0
  27. package/components/CashierPage-flG2gyRG.cjs +23 -0
  28. package/components/{CashierReceiptPage-BS0QTi7y.js → CashierReceiptPage-BAvDYneB.js} +516 -519
  29. package/components/{CashierReceiptPage-D3Sdi7w-.js → CashierReceiptPage-BHsVpacF.js} +504 -507
  30. package/components/CashierReceiptPage-BLOSwHFv.cjs +26 -0
  31. package/components/{CashierSessionExpirationModal-5D6mSXhf.js → CashierSessionExpirationModal-Bxct5zbr.js} +2 -2
  32. package/components/{CashierSessionExpirationModal-Cj9H9-o6.js → CashierSessionExpirationModal-fN2A0ywt.js} +2 -2
  33. package/components/{CashierSessionExpirationModal-Da6q5YRq.cjs → CashierSessionExpirationModal-vmiK0fHD.cjs} +1 -1
  34. package/components/{CashierSpinner-BHN2tG4f.js → CashierSpinner-Ake8hCVD.js} +2 -2
  35. package/components/{CashierSpinner-7mXjeifk.cjs → CashierSpinner-BUQIDK1i.cjs} +1 -1
  36. package/components/{CashierSpinner-D04XM1jR.js → CashierSpinner-DXjWZCDg.js} +2 -2
  37. package/components/CashierStepUp-BtrSk7D-.cjs +1 -0
  38. package/components/{CashierStepUp-CnW7UvRG.js → CashierStepUp-CcGk8qq_.js} +159 -159
  39. package/components/{CashierStepUp-hf-Itlb6.js → CashierStepUp-D2XsYRPV.js} +154 -154
  40. package/components/{CashierTransactionHistory-Nv32sGAu.cjs → CashierTransactionHistory-0iCdtdJ1.cjs} +1 -1
  41. package/components/{CashierTransactionHistory-YWwiRGJs.js → CashierTransactionHistory-C_yz5IP4.js} +5 -5
  42. package/components/{CashierTransactionHistory-bh1Q8Faa.js → CashierTransactionHistory-Dr-rQ2Vi.js} +5 -5
  43. package/components/{CashierVerifications-ByZEjDnF.js → CashierVerifications-DKRqica1.js} +28 -28
  44. package/components/{CashierVerifications-BCkZLXmV.js → CashierVerifications-dqSxyAIe.js} +29 -29
  45. package/components/CashierVerifications-v1QrnVcB.cjs +1 -0
  46. package/components/{TxnStatusIcon-BLfcIuFx.js → TxnStatusIcon-BBJGYEAU.js} +1 -1
  47. package/components/{TxnStatusIcon-B0FD-Tlp.cjs → TxnStatusIcon-BWEAB3rw.cjs} +1 -1
  48. package/components/{TxnStatusIcon-Bxy-vPn9.js → TxnStatusIcon-BkGptsYx.js} +1 -1
  49. package/components/{TxnTypeIcons-rCf7ZZNL.js → TxnTypeIcons-BDTJpcOb.js} +1 -1
  50. package/components/{TxnTypeIcons-HG3_RpnO.cjs → TxnTypeIcons-Bjn-FpNT.cjs} +1 -1
  51. package/components/{TxnTypeIcons-D3CY569A.js → TxnTypeIcons-Bmdgcbf2.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +2 -2
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-DlE4b6HZ.js +0 -674
  57. package/components/CashierCarousel-EnoYVdXI.js +0 -671
  58. package/components/CashierCarousel-zKCUYR34.cjs +0 -1
  59. package/components/CashierError-DhBoZcJ7.cjs +0 -1
  60. package/components/CashierMethodDetails-BB3kQBHg.cjs +0 -85
  61. package/components/CashierMethodsList-CAhMX-rt.cjs +0 -1
  62. package/components/CashierPage-Db1WM6lI.cjs +0 -23
  63. package/components/CashierPage-hApMSijm.js +0 -9769
  64. package/components/CashierReceiptPage-C9IeXugN.cjs +0 -28
  65. package/components/CashierStepUp-CfqAbEGH.cjs +0 -1
  66. package/components/CashierVerifications-BtKAhLAo.cjs +0 -1
@@ -10,29 +10,29 @@ var Te = (n, t, e) => t in n ? Ze(n, t, { enumerable: !0, configurable: !0, writ
10
10
  nt.call(t, e) && Te(n, e, t[e]);
11
11
  return n;
12
12
  }, Le = (n, t) => $e(n, et(t));
13
- var me = (n, t, e) => new Promise((o, i) => {
13
+ var me = (n, t, e) => new Promise((i, o) => {
14
14
  var a = (c) => {
15
15
  try {
16
16
  s(e.next(c));
17
17
  } catch (f) {
18
- i(f);
18
+ o(f);
19
19
  }
20
20
  }, p = (c) => {
21
21
  try {
22
22
  s(e.throw(c));
23
23
  } catch (f) {
24
- i(f);
24
+ o(f);
25
25
  }
26
- }, s = (c) => c.done ? o(c.value) : Promise.resolve(c.value).then(a, p);
26
+ }, s = (c) => c.done ? i(c.value) : Promise.resolve(c.value).then(a, p);
27
27
  s((e = e.apply(n, t)).next());
28
28
  });
29
- import { a as ot, $ as it, S as lt, b as rt, s as st, f as le, c as at, y as ke, e as O, k as S, m as v, o as r, p as ct, q as pt, x as Ae, v as D, l as d, z as te, P as J, n as x, w as L, F as Be, L as Q, r as ut, D as ze, E as dt, A as ft, B as mt } from "./CashierPage-D8eAeeTg.js";
30
- import { s as ht, a as gt, b as bt } from "./CashierHeader-BUXr5k5a.js";
29
+ import { a as it, $ as ot, S as lt, b as rt, s as st, f as le, c as at, y as ke, e as O, k as S, m as v, o as r, p as ct, q as pt, x as ze, v as D, l as d, z as te, P as J, n as x, w as L, F as Be, L as Q, r as ut, D as Ae, E as dt, A as ft, B as mt } from "./CashierPage-7d2gkNjC.js";
30
+ import { s as ht, a as gt, b as bt } from "./CashierHeader-BGA-Qd-S.js";
31
31
  function Re(n, t) {
32
- ot(n, t);
32
+ it(n, t);
33
33
  }
34
34
  function wt(n) {
35
- it.set(n);
35
+ ot.set(n);
36
36
  }
37
37
  const Ie = {
38
38
  en: {
@@ -74,8 +74,8 @@ const Ie = {
74
74
  submissionError: "Bir şeyler ters gitti. Lütfen tekrar deneyin.",
75
75
  otpExpiredMessage: "Doğrulama kodunun süresi doldu, devam etmek için lütfen yeni bir kod isteyin.",
76
76
  timeRemaining: "Kodun süresi doluyor:",
77
- selectChannelTitle: "Select verification method",
78
- selectChannelMessage: "Choose how you would like to receive your verification code",
77
+ selectChannelTitle: "Doğrulama yöntemi seçin",
78
+ selectChannelMessage: "Doğrulama kodunuzu nasıl almak istediğinizi seçin",
79
79
  channelSMS: "SMS kodu",
80
80
  channelEmail: "E-posta kodu",
81
81
  sendCode: "Kodu gönder",
@@ -109,14 +109,14 @@ function _t(n) {
109
109
  at(n, "svelte-gpy3mu", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.RadioIndicator{width:20px;height:20px;border-radius:50%;border:2px solid var(--emw--color-typography, #fff);position:relative;flex-shrink:0;margin-right:8px;transition:all 0.2s ease;opacity:0.7}.RadioIndicator.checked::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:10px;height:10px;border-radius:50%;opacity:1;background:var(--emw--color-primary, #fff)}.RadioIndicator.checked{border:2px solid var(--emw--color-primary, #fff)}.ModalCloseIcon{padding:0px;position:absolute;right:0;top:0;margin:15px 20px;z-index:20;transition:all 0.3s ease}.ModalCloseIcon svg{width:11px;height:11px;fill:var(--emw--color-primary, red);cursor:pointer}.ModalCloseIcon:hover{transform:rotate(90deg)}.OtpContent{width:100%;display:flex;flex-direction:column;gap:var(--emw--spacing-large, 20px)}.OtpFieldWrapper{display:flex;flex-direction:column;gap:10px}.OtpFieldWrapper h2{margin:0}.OtpButton{text-transform:uppercase;font-weight:var(--emw--font-weight-medium, 500);color:var(--emw--color-typography-button, #000000);text-align:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;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}.OtpButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-active, #fecd1c)}.OtpButton[disabled],.OtpButton.disabled{filter:saturate(50%);opacity:0.5;cursor:not-allowed;pointer-events:none}.OtpButton:hover:not([disabled]):not(.disabled){box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-hover, #dbac03)}@container (max-width: 500px){.OtpDescription{font-size:var(--emw--font-size-small, 12px)}.OtpDescription .Title{font-size:var(--emw--font-size-big, 20px)}}.OtpDescription{display:flex;color:var(--emw--color-typography, #fff);flex-direction:column;gap:12px;font-size:var(--emw--font-size-small, 12px)}.OtpDescription .Title{font-size:var(--emw--font-medium, 16px);font-weight:var(--emw--font-weight-medium, 600)}.OtpError{display:flex;flex-direction:column;gap:20px;align-items:center}.OtpError .OtpErrorHeader{display:flex;justify-content:center;gap:5px;align-items:center}.OtpError h2{margin:0;color:var(--emw--color-typography, #fff)}.OtpError p{color:var(--emw--color-typography, #fff);text-align:center;font-size:var(--emw--font-size-small, 12px)}.OtpError svg{width:25px;fill:var(--emw--color-error, #dd3434)}.ChannelSelection{display:flex;flex-direction:row;justify-content:space-between}.ChannelCheckbox{display:flex;align-items:center;padding:var(--emw--spacing-medium, 16px);cursor:pointer;transition:all 0.2s ease}.ChannelCheckbox input[type=radio]{display:none}.ChannelCheckbox .ChannelContent{display:flex;align-items:center;gap:3px;width:100%;color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-medium, 500)}.ChannelCheckbox .ChannelContent svg{flex-shrink:0;opacity:0.7;width:20px;height:20px}.ChannelCheckbox .ChannelContent span{text-transform:uppercase}.ChannelCheckbox.selected .ChannelContent{color:var(--emw--color-primary, #000000)}.ChannelCheckbox.selected .ChannelContent svg{stroke:var(--emw--color-primary, #000000);opacity:1}.ChannelCheckbox:hover:not(.selected){color:var(--emw--color-active, #fff)}.OtpField{display:flex;justify-content:space-between;margin:10px}.OtpField input{width:45px;font-size:32px;padding:5px;text-align:center;border-radius:5px;margin:6px;font-weight:bold;outline:none;background:var(--emw--color-background);border:0;transition:all 0.1s;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);color:var(--emw--color-typography, #fff)}.OtpField input.space{margin-right:1rem !important}.OtpField input:focus{box-shadow:0 0 1px 1px var(--emw--color-primary, #007bff)}.OtpActionButtons{display:flex;justify-content:space-between;gap:40px}.OtpErrorMessage{color:var(--emw--color-error, #dd3434);font-weight:bold}.OtpNoticeMessage{color:var(--emw--color-primary, #f9c408);font-weight:bold}.LastWarningMessage{color:var(--emw--color-error, #dd3434);font-weight:bold}.OtpLoaderContainer{width:100%;display:flex;justify-content:center;align-items:center;padding:20px 0}.OtpLoader{width:48px;height:48px;border:5px solid var(--emw--color-secondary, #b3d8ff);border-bottom-color:var(--emw--color-primary, #007bff);border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation 1s linear infinite}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.OtpTimer{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-small, 12px);opacity:0.8}@container (max-width: 500px){.OtpContent{padding:var(--emw--spacing-small, 10px)}.OtpField input{width:40px;font-size:28px;margin:4px}}');
110
110
  }
111
111
  function Pe(n, t, e) {
112
- const o = n.slice();
113
- return o[69] = t[e], o[70] = t, o[71] = e, o;
112
+ const i = n.slice();
113
+ return i[69] = t[e], i[70] = t, i[71] = e, i;
114
114
  }
115
115
  function yt(n) {
116
- let t, e, o, i, a, p, s, c, f, _, w, T, M, b, m, y, C, R = (
116
+ let t, e, i, o, a, p, s, c, f, _, w, T, M, b, m, y, C, R = (
117
117
  /*$_*/
118
118
  n[19]("channelSMS") + ""
119
- ), K, W, V, I, ne, q, Z, re, $, E, A, F, se, ae, ce = (
119
+ ), K, W, V, I, ne, q, Z, re, $, E, z, F, se, ae, ce = (
120
120
  /*$_*/
121
121
  n[19]("channelEmail") + ""
122
122
  ), U, he, X, H, Y, pe, ue;
@@ -139,7 +139,7 @@ function yt(n) {
139
139
  u[3] && /*showOtpInput*/
140
140
  u[12]
141
141
  )
142
- return At;
142
+ return zt;
143
143
  if (
144
144
  /*showOtpInput*/
145
145
  u[12] && /*config*/
@@ -147,7 +147,7 @@ function yt(n) {
147
147
  )
148
148
  return Lt;
149
149
  }
150
- let oe = ge(n), j = oe && oe(n);
150
+ let ie = ge(n), j = ie && ie(n);
151
151
  function be(u, k) {
152
152
  if (
153
153
  /*showResendOtp*/
@@ -159,12 +159,12 @@ function yt(n) {
159
159
  u[12] && /*config*/
160
160
  u[4]
161
161
  )
162
- return zt;
162
+ return At;
163
163
  }
164
- let ie = be(n), P = ie && ie(n);
164
+ let oe = be(n), P = oe && oe(n);
165
165
  return {
166
166
  c() {
167
- t = v("div"), G.c(), e = x(), o = v("div"), i = v("label"), a = v("div"), p = x(), s = v("input"), f = x(), _ = v("div"), w = J("svg"), T = J("path"), M = J("circle"), b = J("circle"), m = J("circle"), y = x(), C = v("span"), K = L(R), W = x(), V = v("label"), I = v("div"), ne = x(), q = v("input"), re = x(), $ = v("div"), E = J("svg"), A = J("rect"), F = J("path"), se = x(), ae = v("span"), U = L(ce), he = x(), N && N.c(), X = x(), j && j.c(), H = x(), Y = v("div"), P && P.c(), r(t, "class", "OtpDescription"), r(a, "class", "RadioIndicator"), Q(
167
+ t = v("div"), G.c(), e = x(), i = v("div"), o = v("label"), a = v("div"), p = x(), s = v("input"), f = x(), _ = v("div"), w = J("svg"), T = J("path"), M = J("circle"), b = J("circle"), m = J("circle"), y = x(), C = v("span"), K = L(R), W = x(), V = v("label"), I = v("div"), ne = x(), q = v("input"), re = x(), $ = v("div"), E = J("svg"), z = J("rect"), F = J("path"), se = x(), ae = v("span"), U = L(ce), he = x(), N && N.c(), X = x(), j && j.c(), H = x(), Y = v("div"), P && P.c(), r(t, "class", "OtpDescription"), r(a, "class", "RadioIndicator"), Q(
168
168
  a,
169
169
  "checked",
170
170
  /*selectedChannel*/
@@ -173,8 +173,8 @@ function yt(n) {
173
173
  ), r(s, "type", "radio"), r(s, "name", "channel"), s.value = /*channels*/
174
174
  n[20].SMS, s.checked = c = /*selectedChannel*/
175
175
  n[0] === /*channels*/
176
- n[20].SMS, r(T, "d", "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"), r(M, "cx", "9"), r(M, "cy", "11"), r(M, "r", "0.5"), r(M, "fill", "currentColor"), r(b, "cx", "12"), r(b, "cy", "11"), r(b, "r", "0.5"), r(b, "fill", "currentColor"), r(m, "cx", "15"), r(m, "cy", "11"), r(m, "r", "0.5"), r(m, "fill", "currentColor"), r(w, "xmlns", "http://www.w3.org/2000/svg"), r(w, "width", "24"), r(w, "height", "24"), r(w, "viewBox", "0 0 24 24"), r(w, "fill", "none"), r(w, "stroke", "currentColor"), r(w, "stroke-width", "2"), r(w, "stroke-linecap", "round"), r(w, "stroke-linejoin", "round"), r(_, "class", "ChannelContent"), r(i, "class", "ChannelCheckbox"), Q(
177
- i,
176
+ n[20].SMS, r(T, "d", "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"), r(M, "cx", "9"), r(M, "cy", "11"), r(M, "r", "0.5"), r(M, "fill", "currentColor"), r(b, "cx", "12"), r(b, "cy", "11"), r(b, "r", "0.5"), r(b, "fill", "currentColor"), r(m, "cx", "15"), r(m, "cy", "11"), r(m, "r", "0.5"), r(m, "fill", "currentColor"), r(w, "xmlns", "http://www.w3.org/2000/svg"), r(w, "width", "24"), r(w, "height", "24"), r(w, "viewBox", "0 0 24 24"), r(w, "fill", "none"), r(w, "stroke", "currentColor"), r(w, "stroke-width", "2"), r(w, "stroke-linecap", "round"), r(w, "stroke-linejoin", "round"), r(_, "class", "ChannelContent"), r(o, "class", "ChannelCheckbox"), Q(
177
+ o,
178
178
  "selected",
179
179
  /*selectedChannel*/
180
180
  n[0] === /*channels*/
@@ -188,16 +188,16 @@ function yt(n) {
188
188
  ), r(q, "type", "radio"), r(q, "name", "channel"), q.value = /*channels*/
189
189
  n[20].EMAIL, q.checked = Z = /*selectedChannel*/
190
190
  n[0] === /*channels*/
191
- n[20].EMAIL, r(A, "x", "2"), r(A, "y", "4"), r(A, "width", "20"), r(A, "height", "16"), r(A, "rx", "2"), r(F, "d", "m2 7 10 6 10-6"), r(E, "xmlns", "http://www.w3.org/2000/svg"), r(E, "width", "24"), r(E, "height", "24"), r(E, "viewBox", "0 0 24 24"), r(E, "fill", "none"), r(E, "stroke", "currentColor"), r(E, "stroke-width", "2"), r(E, "stroke-linecap", "round"), r(E, "stroke-linejoin", "round"), r($, "class", "ChannelContent"), r(V, "class", "ChannelCheckbox"), Q(
191
+ n[20].EMAIL, r(z, "x", "2"), r(z, "y", "4"), r(z, "width", "20"), r(z, "height", "16"), r(z, "rx", "2"), r(F, "d", "m2 7 10 6 10-6"), r(E, "xmlns", "http://www.w3.org/2000/svg"), r(E, "width", "24"), r(E, "height", "24"), r(E, "viewBox", "0 0 24 24"), r(E, "fill", "none"), r(E, "stroke", "currentColor"), r(E, "stroke-width", "2"), r(E, "stroke-linecap", "round"), r(E, "stroke-linejoin", "round"), r($, "class", "ChannelContent"), r(V, "class", "ChannelCheckbox"), Q(
192
192
  V,
193
193
  "selected",
194
194
  /*selectedChannel*/
195
195
  n[0] === /*channels*/
196
196
  n[20].EMAIL
197
- ), r(o, "class", "ChannelSelection"), r(Y, "class", "OtpActionButtons");
197
+ ), r(i, "class", "ChannelSelection"), r(Y, "class", "OtpActionButtons");
198
198
  },
199
199
  m(u, k) {
200
- S(u, t, k), G.m(t, null), S(u, e, k), S(u, o, k), d(o, i), d(i, a), d(i, p), d(i, s), d(i, f), d(i, _), d(_, w), d(w, T), d(w, M), d(w, b), d(w, m), d(_, y), d(_, C), d(C, K), d(o, W), d(o, V), d(V, I), d(V, ne), d(V, q), d(V, re), d(V, $), d($, E), d(E, A), d(E, F), d($, se), d($, ae), d(ae, U), S(u, he, k), N && N.m(u, k), S(u, X, k), j && j.m(u, k), S(u, H, k), S(u, Y, k), P && P.m(Y, null), pe || (ue = [
200
+ S(u, t, k), G.m(t, null), S(u, e, k), S(u, i, k), d(i, o), d(o, a), d(o, p), d(o, s), d(o, f), d(o, _), d(_, w), d(w, T), d(w, M), d(w, b), d(w, m), d(_, y), d(_, C), d(C, K), d(i, W), d(i, V), d(V, I), d(V, ne), d(V, q), d(V, re), d(V, $), d($, E), d(E, z), d(E, F), d($, se), d($, ae), d(ae, U), S(u, he, k), N && N.m(u, k), S(u, X, k), j && j.m(u, k), S(u, H, k), S(u, Y, k), P && P.m(Y, null), pe || (ue = [
201
201
  te(
202
202
  s,
203
203
  "change",
@@ -227,7 +227,7 @@ function yt(n) {
227
227
  524288 && R !== (R = /*$_*/
228
228
  u[19]("channelSMS") + "") && D(K, R), k[0] & /*selectedChannel, channels*/
229
229
  1048577 && Q(
230
- i,
230
+ o,
231
231
  "selected",
232
232
  /*selectedChannel*/
233
233
  u[0] === /*channels*/
@@ -252,15 +252,15 @@ function yt(n) {
252
252
  u[0] === /*channels*/
253
253
  u[20].EMAIL
254
254
  ), /*selectedChannel*/
255
- u[0] ? N ? N.p(u, k) : (N = De(u), N.c(), N.m(X.parentNode, X)) : N && (N.d(1), N = null), oe === (oe = ge(u)) && j ? j.p(u, k) : (j && j.d(1), j = oe && oe(u), j && (j.c(), j.m(H.parentNode, H))), ie === (ie = be(u)) && P ? P.p(u, k) : (P && P.d(1), P = ie && ie(u), P && (P.c(), P.m(Y, null)));
255
+ u[0] ? N ? N.p(u, k) : (N = De(u), N.c(), N.m(X.parentNode, X)) : N && (N.d(1), N = null), ie === (ie = ge(u)) && j ? j.p(u, k) : (j && j.d(1), j = ie && ie(u), j && (j.c(), j.m(H.parentNode, H))), oe === (oe = be(u)) && P ? P.p(u, k) : (P && P.d(1), P = oe && oe(u), P && (P.c(), P.m(Y, null)));
256
256
  },
257
257
  d(u) {
258
- u && (O(t), O(e), O(o), O(he), O(X), O(H), O(Y)), G.d(), N && N.d(u), j && j.d(u), P && P.d(), pe = !1, Be(ue);
258
+ u && (O(t), O(e), O(i), O(he), O(X), O(H), O(Y)), G.d(), N && N.d(u), j && j.d(u), P && P.d(), pe = !1, Be(ue);
259
259
  }
260
260
  };
261
261
  }
262
262
  function vt(n) {
263
- let t, e, o, i, a, p, s = (
263
+ let t, e, i, o, a, p, s = (
264
264
  /*$_*/
265
265
  n[19]("errorHeader") + ""
266
266
  ), c, f, _, w, T, M, b = (
@@ -269,13 +269,13 @@ function vt(n) {
269
269
  ), m, y, C;
270
270
  return {
271
271
  c() {
272
- t = v("div"), e = v("div"), o = J("svg"), i = J("path"), a = x(), p = v("h2"), c = L(s), f = x(), _ = v("p"), w = L(
272
+ t = v("div"), e = v("div"), i = J("svg"), o = J("path"), a = x(), p = v("h2"), c = L(s), f = x(), _ = v("p"), w = L(
273
273
  /*errorMessage*/
274
274
  n[8]
275
- ), T = x(), M = v("button"), m = L(b), r(i, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), r(o, "xmlns", "http://www.w3.org/2000/svg"), r(o, "viewBox", "0 0 512 512"), r(e, "class", "OtpErrorHeader"), r(M, "class", "OtpButton error"), r(t, "class", "OtpError");
275
+ ), T = x(), M = v("button"), m = L(b), r(o, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), r(i, "xmlns", "http://www.w3.org/2000/svg"), r(i, "viewBox", "0 0 512 512"), r(e, "class", "OtpErrorHeader"), r(M, "class", "OtpButton error"), r(t, "class", "OtpError");
276
276
  },
277
277
  m(R, K) {
278
- S(R, t, K), d(t, e), d(e, o), d(o, i), d(e, a), d(e, p), d(p, c), d(t, f), d(t, _), d(_, w), d(t, T), d(t, M), d(M, m), y || (C = te(
278
+ S(R, t, K), d(t, e), d(e, i), d(i, o), d(e, a), d(e, p), d(p, c), d(t, f), d(t, _), d(_, w), d(t, T), d(t, M), d(M, m), y || (C = te(
279
279
  M,
280
280
  "click",
281
281
  /*manualClosePopup*/
@@ -300,7 +300,7 @@ function vt(n) {
300
300
  };
301
301
  }
302
302
  function kt(n) {
303
- let t, e, o, i;
303
+ let t, e, i, o;
304
304
  function a(f, _) {
305
305
  return (
306
306
  /*isLastWarning*/
@@ -313,20 +313,20 @@ function kt(n) {
313
313
  );
314
314
  return {
315
315
  c() {
316
- t = v("p"), s.c(), o = x(), c && c.c(), i = ut(), r(t, "class", e = /*isLastWarning*/
316
+ t = v("p"), s.c(), i = x(), c && c.c(), o = ut(), r(t, "class", e = /*isLastWarning*/
317
317
  n[10] ? "LastWarningMessage" : "");
318
318
  },
319
319
  m(f, _) {
320
- S(f, t, _), s.m(t, null), S(f, o, _), c && c.m(f, _), S(f, i, _);
320
+ S(f, t, _), s.m(t, null), S(f, i, _), c && c.m(f, _), S(f, o, _);
321
321
  },
322
322
  p(f, _) {
323
323
  p === (p = a(f)) && s ? s.p(f, _) : (s.d(1), s = p(f), s && (s.c(), s.m(t, null))), _[0] & /*isLastWarning*/
324
324
  1024 && e !== (e = /*isLastWarning*/
325
325
  f[10] ? "LastWarningMessage" : "") && r(t, "class", e), /*hasErrors*/
326
- f[6] ? c ? c.p(f, _) : (c = xe(f), c.c(), c.m(i.parentNode, i)) : c && (c.d(1), c = null);
326
+ f[6] ? c ? c.p(f, _) : (c = xe(f), c.c(), c.m(o.parentNode, o)) : c && (c.d(1), c = null);
327
327
  },
328
328
  d(f) {
329
- f && (O(t), O(o), O(i)), s.d(), c && c.d(f);
329
+ f && (O(t), O(i), O(o)), s.d(), c && c.d(f);
330
330
  }
331
331
  };
332
332
  }
@@ -334,21 +334,21 @@ function Ct(n) {
334
334
  let t, e = (
335
335
  /*$_*/
336
336
  (n[19]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + ""
337
- ), o;
337
+ ), i;
338
338
  return {
339
339
  c() {
340
- t = v("p"), o = L(e);
340
+ t = v("p"), i = L(e);
341
341
  },
342
- m(i, a) {
343
- S(i, t, a), d(t, o);
342
+ m(o, a) {
343
+ S(o, t, a), d(t, i);
344
344
  },
345
- p(i, a) {
345
+ p(o, a) {
346
346
  a[0] & /*$_*/
347
347
  524288 && e !== (e = /*$_*/
348
- (i[19]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + "") && D(o, e);
348
+ (o[19]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + "") && D(i, e);
349
349
  },
350
- d(i) {
351
- i && O(t);
350
+ d(o) {
351
+ o && O(t);
352
352
  }
353
353
  };
354
354
  }
@@ -356,21 +356,21 @@ function Et(n) {
356
356
  let t, e = (
357
357
  /*$_*/
358
358
  n[19]("otpExpiredMessage") + ""
359
- ), o;
359
+ ), i;
360
360
  return {
361
361
  c() {
362
- t = v("p"), o = L(e), r(t, "class", "OtpNoticeMessage"), r(t, "role", "alert");
362
+ t = v("p"), i = L(e), r(t, "class", "OtpNoticeMessage"), r(t, "role", "alert");
363
363
  },
364
- m(i, a) {
365
- S(i, t, a), d(t, o);
364
+ m(o, a) {
365
+ S(o, t, a), d(t, i);
366
366
  },
367
- p(i, a) {
367
+ p(o, a) {
368
368
  a[0] & /*$_*/
369
369
  524288 && e !== (e = /*$_*/
370
- i[19]("otpExpiredMessage") + "") && D(o, e);
370
+ o[19]("otpExpiredMessage") + "") && D(i, e);
371
371
  },
372
- d(i) {
373
- i && O(t);
372
+ d(o) {
373
+ o && O(t);
374
374
  }
375
375
  };
376
376
  }
@@ -383,16 +383,16 @@ function Ot(n) {
383
383
  c() {
384
384
  e = L(t);
385
385
  },
386
- m(o, i) {
387
- S(o, e, i);
386
+ m(i, o) {
387
+ S(i, e, o);
388
388
  },
389
- p(o, i) {
390
- i[0] & /*$_*/
389
+ p(i, o) {
390
+ o[0] & /*$_*/
391
391
  524288 && t !== (t = /*$_*/
392
- o[19]("popupMessage") + "") && D(e, t);
392
+ i[19]("popupMessage") + "") && D(e, t);
393
393
  },
394
- d(o) {
395
- o && O(e);
394
+ d(i) {
395
+ i && O(e);
396
396
  }
397
397
  };
398
398
  }
@@ -405,16 +405,16 @@ function St(n) {
405
405
  c() {
406
406
  e = L(t);
407
407
  },
408
- m(o, i) {
409
- S(o, e, i);
408
+ m(i, o) {
409
+ S(i, e, o);
410
410
  },
411
- p(o, i) {
412
- i[0] & /*$_*/
411
+ p(i, o) {
412
+ o[0] & /*$_*/
413
413
  524288 && t !== (t = /*$_*/
414
- o[19]("popupMessageLastWarning") + "") && D(e, t);
414
+ i[19]("popupMessageLastWarning") + "") && D(e, t);
415
415
  },
416
- d(o) {
417
- o && O(e);
416
+ d(i) {
417
+ i && O(e);
418
418
  }
419
419
  };
420
420
  }
@@ -427,24 +427,24 @@ function xe(n) {
427
427
  n[8]
428
428
  ), r(t, "class", "OtpErrorMessage"), r(t, "role", "alert");
429
429
  },
430
- m(o, i) {
431
- S(o, t, i), d(t, e);
430
+ m(i, o) {
431
+ S(i, t, o), d(t, e);
432
432
  },
433
- p(o, i) {
434
- i[0] & /*errorMessage*/
433
+ p(i, o) {
434
+ o[0] & /*errorMessage*/
435
435
  256 && D(
436
436
  e,
437
437
  /*errorMessage*/
438
- o[8]
438
+ i[8]
439
439
  );
440
440
  },
441
- d(o) {
442
- o && O(t);
441
+ d(i) {
442
+ i && O(t);
443
443
  }
444
444
  };
445
445
  }
446
446
  function De(n) {
447
- let t, e, o, i;
447
+ let t, e, i, o;
448
448
  function a(c, f) {
449
449
  return (
450
450
  /*currentChannelTimer*/
@@ -460,12 +460,12 @@ function De(n) {
460
460
  n[16]);
461
461
  },
462
462
  m(c, f) {
463
- S(c, t, f), s.m(t, null), o || (i = te(
463
+ S(c, t, f), s.m(t, null), i || (o = te(
464
464
  t,
465
465
  "click",
466
466
  /*handleChannelSubmit*/
467
467
  n[22]
468
- ), o = !0);
468
+ ), i = !0);
469
469
  },
470
470
  p(c, f) {
471
471
  p === (p = a(c)) && s ? s.p(c, f) : (s.d(1), s = p(c), s && (s.c(), s.m(t, null))), f[0] & /*canSubmitChannel*/
@@ -476,7 +476,7 @@ function De(n) {
476
476
  c[16]);
477
477
  },
478
478
  d(c) {
479
- c && O(t), s.d(), o = !1, i();
479
+ c && O(t), s.d(), i = !1, o();
480
480
  }
481
481
  };
482
482
  }
@@ -489,16 +489,16 @@ function Mt(n) {
489
489
  c() {
490
490
  e = L(t);
491
491
  },
492
- m(o, i) {
493
- S(o, e, i);
492
+ m(i, o) {
493
+ S(i, e, o);
494
494
  },
495
- p(o, i) {
496
- i[0] & /*$_*/
495
+ p(i, o) {
496
+ o[0] & /*$_*/
497
497
  524288 && t !== (t = /*$_*/
498
- o[19]("sendCode") + "") && D(e, t);
498
+ i[19]("sendCode") + "") && D(e, t);
499
499
  },
500
- d(o) {
501
- o && O(e);
500
+ d(i) {
501
+ i && O(e);
502
502
  }
503
503
  };
504
504
  }
@@ -506,37 +506,37 @@ function Tt(n) {
506
506
  let t = (
507
507
  /*$_*/
508
508
  n[19]("waitSeconds") + ""
509
- ), e, o, i, a;
509
+ ), e, i, o, a;
510
510
  return {
511
511
  c() {
512
- e = L(t), o = L(" ("), i = L(
512
+ e = L(t), i = L(" ("), o = L(
513
513
  /*currentChannelTimer*/
514
514
  n[17]
515
515
  ), a = L("s)");
516
516
  },
517
517
  m(p, s) {
518
- S(p, e, s), S(p, o, s), S(p, i, s), S(p, a, s);
518
+ S(p, e, s), S(p, i, s), S(p, o, s), S(p, a, s);
519
519
  },
520
520
  p(p, s) {
521
521
  s[0] & /*$_*/
522
522
  524288 && t !== (t = /*$_*/
523
523
  p[19]("waitSeconds") + "") && D(e, t), s[0] & /*currentChannelTimer*/
524
524
  131072 && D(
525
- i,
525
+ o,
526
526
  /*currentChannelTimer*/
527
527
  p[17]
528
528
  );
529
529
  },
530
530
  d(p) {
531
- p && (O(e), O(o), O(i), O(a));
531
+ p && (O(e), O(i), O(o), O(a));
532
532
  }
533
533
  };
534
534
  }
535
535
  function Lt(n) {
536
- let t, e, o = (
536
+ let t, e, i = (
537
537
  /*$_*/
538
538
  n[19]("timeRemaining") + ""
539
- ), i, a, p = (
539
+ ), o, a, p = (
540
540
  /*formatTime*/
541
541
  n[23](
542
542
  /*timeLeft*/
@@ -545,7 +545,7 @@ function Lt(n) {
545
545
  ), s, c, f = (
546
546
  /*$_*/
547
547
  n[19]("minutes") + ""
548
- ), _, w, T, M = ze(
548
+ ), _, w, T, M = Ae(
549
549
  /*otp*/
550
550
  n[2]
551
551
  ), b = [];
@@ -553,20 +553,20 @@ function Lt(n) {
553
553
  b[m] = je(Pe(n, M, m));
554
554
  return {
555
555
  c() {
556
- t = v("div"), e = v("div"), i = L(o), a = x(), s = L(p), c = x(), _ = L(f), w = x(), T = v("div");
556
+ t = v("div"), e = v("div"), o = L(i), a = x(), s = L(p), c = x(), _ = L(f), w = x(), T = v("div");
557
557
  for (let m = 0; m < b.length; m += 1)
558
558
  b[m].c();
559
559
  r(e, "class", "OtpTimer"), r(T, "class", "OtpField"), r(t, "class", "OtpFieldWrapper");
560
560
  },
561
561
  m(m, y) {
562
- S(m, t, y), d(t, e), d(e, i), d(e, a), d(e, s), d(e, c), d(e, _), d(t, w), d(t, T);
562
+ S(m, t, y), d(t, e), d(e, o), d(e, a), d(e, s), d(e, c), d(e, _), d(t, w), d(t, T);
563
563
  for (let C = 0; C < b.length; C += 1)
564
564
  b[C] && b[C].m(T, null);
565
565
  },
566
566
  p(m, y) {
567
567
  if (y[0] & /*$_*/
568
- 524288 && o !== (o = /*$_*/
569
- m[19]("timeRemaining") + "") && D(i, o), y[0] & /*timeLeft*/
568
+ 524288 && i !== (i = /*$_*/
569
+ m[19]("timeRemaining") + "") && D(o, i), y[0] & /*timeLeft*/
570
570
  32 && p !== (p = /*formatTime*/
571
571
  m[23](
572
572
  /*timeLeft*/
@@ -575,7 +575,7 @@ function Lt(n) {
575
575
  524288 && f !== (f = /*$_*/
576
576
  m[19]("minutes") + "") && D(_, f), y[0] & /*config, otp, inputDisabled, otpInputs, handleOtpInput, handleKeyDown, handleOnPasteOtp*/
577
577
  117458964) {
578
- M = ze(
578
+ M = Ae(
579
579
  /*otp*/
580
580
  m[2]
581
581
  );
@@ -594,14 +594,14 @@ function Lt(n) {
594
594
  }
595
595
  };
596
596
  }
597
- function At(n) {
597
+ function zt(n) {
598
598
  let t;
599
599
  return {
600
600
  c() {
601
601
  t = v("div"), t.innerHTML = '<span class="OtpLoader"></span>', r(t, "class", "OtpLoaderContainer");
602
602
  },
603
- m(e, o) {
604
- S(e, t, o);
603
+ m(e, i) {
604
+ S(e, t, i);
605
605
  },
606
606
  p: ke,
607
607
  d(e) {
@@ -610,16 +610,16 @@ function At(n) {
610
610
  };
611
611
  }
612
612
  function je(n) {
613
- let t, e, o, i = (
613
+ let t, e, i, o = (
614
614
  /*index*/
615
615
  n[71]
616
616
  ), a, p;
617
617
  const s = () => (
618
618
  /*input_binding*/
619
- n[41](t, i)
619
+ n[41](t, o)
620
620
  ), c = () => (
621
621
  /*input_binding*/
622
- n[41](null, i)
622
+ n[41](null, o)
623
623
  );
624
624
  function f(...w) {
625
625
  return (
@@ -647,7 +647,7 @@ function je(n) {
647
647
  n[71]}`), r(t, "type", "text"), r(t, "class", e = `otp-box ${/*config*/
648
648
  n[4].inputLength % 2 === 0 && /*index*/
649
649
  n[71] === /*config*/
650
- n[4].inputLength / 2 - 1 ? "space" : ""}`), r(t, "maxlength", 1), t.value = o = /*char*/
650
+ n[4].inputLength / 2 - 1 ? "space" : ""}`), r(t, "maxlength", 1), t.value = i = /*char*/
651
651
  n[69], r(t, "inputmode", "numeric"), t.disabled = /*inputDisabled*/
652
652
  n[11], r(t, "autocomplete", "off");
653
653
  },
@@ -669,11 +669,11 @@ function je(n) {
669
669
  n[4].inputLength % 2 === 0 && /*index*/
670
670
  n[71] === /*config*/
671
671
  n[4].inputLength / 2 - 1 ? "space" : ""}`) && r(t, "class", e), T[0] & /*otp*/
672
- 4 && o !== (o = /*char*/
673
- n[69]) && t.value !== o && (t.value = o), T[0] & /*inputDisabled*/
672
+ 4 && i !== (i = /*char*/
673
+ n[69]) && t.value !== i && (t.value = i), T[0] & /*inputDisabled*/
674
674
  2048 && (t.disabled = /*inputDisabled*/
675
- n[11]), i !== /*index*/
676
- n[71] && (c(), i = /*index*/
675
+ n[11]), o !== /*index*/
676
+ n[71] && (c(), o = /*index*/
677
677
  n[71], s());
678
678
  },
679
679
  d(w) {
@@ -681,21 +681,21 @@ function je(n) {
681
681
  }
682
682
  };
683
683
  }
684
- function zt(n) {
684
+ function At(n) {
685
685
  let t, e = (
686
686
  /*$_*/
687
687
  n[19]("submit") + ""
688
- ), o, i, a, p;
688
+ ), i, o, a, p;
689
689
  return {
690
690
  c() {
691
- t = v("button"), o = L(e), r(t, "class", "OtpButton"), t.disabled = i = /*otp*/
691
+ t = v("button"), i = L(e), r(t, "class", "OtpButton"), t.disabled = o = /*otp*/
692
692
  n[2].join("").length !== /*config*/
693
693
  n[4].inputLength || /*isSubmitting*/
694
694
  n[13] || /*maxAttempts*/
695
695
  n[15];
696
696
  },
697
697
  m(s, c) {
698
- S(s, t, c), d(t, o), a || (p = te(
698
+ S(s, t, c), d(t, i), a || (p = te(
699
699
  t,
700
700
  "click",
701
701
  /*submitOtp*/
@@ -705,12 +705,12 @@ function zt(n) {
705
705
  p(s, c) {
706
706
  c[0] & /*$_*/
707
707
  524288 && e !== (e = /*$_*/
708
- s[19]("submit") + "") && D(o, e), c[0] & /*otp, config, isSubmitting, maxAttempts*/
709
- 40980 && i !== (i = /*otp*/
708
+ s[19]("submit") + "") && D(i, e), c[0] & /*otp, config, isSubmitting, maxAttempts*/
709
+ 40980 && o !== (o = /*otp*/
710
710
  s[2].join("").length !== /*config*/
711
711
  s[4].inputLength || /*isSubmitting*/
712
712
  s[13] || /*maxAttempts*/
713
- s[15]) && (t.disabled = i);
713
+ s[15]) && (t.disabled = o);
714
714
  },
715
715
  d(s) {
716
716
  s && O(t), a = !1, p();
@@ -721,26 +721,26 @@ function Rt(n) {
721
721
  let t, e = (
722
722
  /*$_*/
723
723
  n[19]("resendOtp") + ""
724
- ), o, i, a;
724
+ ), i, o, a;
725
725
  return {
726
726
  c() {
727
- t = v("button"), o = L(e), r(t, "class", "OtpButton");
727
+ t = v("button"), i = L(e), r(t, "class", "OtpButton");
728
728
  },
729
729
  m(p, s) {
730
- S(p, t, s), d(t, o), i || (a = te(
730
+ S(p, t, s), d(t, i), o || (a = te(
731
731
  t,
732
732
  "click",
733
733
  /*handleResendOtp*/
734
734
  n[27]
735
- ), i = !0);
735
+ ), o = !0);
736
736
  },
737
737
  p(p, s) {
738
738
  s[0] & /*$_*/
739
739
  524288 && e !== (e = /*$_*/
740
- p[19]("resendOtp") + "") && D(o, e);
740
+ p[19]("resendOtp") + "") && D(i, e);
741
741
  },
742
742
  d(p) {
743
- p && O(t), i = !1, a();
743
+ p && O(t), o = !1, a();
744
744
  }
745
745
  };
746
746
  }
@@ -752,28 +752,28 @@ function It(n) {
752
752
  a[7] ? vt : yt
753
753
  );
754
754
  }
755
- let o = e(n), i = o(n);
755
+ let i = e(n), o = i(n);
756
756
  return {
757
757
  c() {
758
- t = v("div"), i.c(), r(t, "class", "OtpContent");
758
+ t = v("div"), o.c(), r(t, "class", "OtpContent");
759
759
  },
760
760
  m(a, p) {
761
- S(a, t, p), i.m(t, null), n[44](t);
761
+ S(a, t, p), o.m(t, null), n[44](t);
762
762
  },
763
763
  p(a, p) {
764
- o === (o = e(a)) && i ? i.p(a, p) : (i.d(1), i = o(a), i && (i.c(), i.m(t, null)));
764
+ i === (i = e(a)) && o ? o.p(a, p) : (o.d(1), o = i(a), o && (o.c(), o.m(t, null)));
765
765
  },
766
766
  i: ke,
767
767
  o: ke,
768
768
  d(a) {
769
- a && O(t), i.d(), n[44](null);
769
+ a && O(t), o.d(), n[44](null);
770
770
  }
771
771
  };
772
772
  }
773
773
  function Pt(n, t, e) {
774
- let o, i, a;
774
+ let i, o, a;
775
775
  ct(n, mt, (l) => e(19, a = l));
776
- let { clientstyling: p = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: c } = t, { lang: f = "en" } = t, { endpoint: _ } = t, { session: w } = t, { translationurl: T } = t, { templateid: M } = t, b = [], m = !0, y = null, C = 0, R = "", K = "", W = !1, V = !1, I = "", ne = "", q = "", Z = !1, re = !1, $ = !1, E = "", A = {}, F = null, se = !1, ae = !1, ce = "", U, he, X = [], H = null, Y = 0, pe = !1, ue = !1;
776
+ let { clientstyling: p = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: c } = t, { lang: f = "en" } = t, { endpoint: _ } = t, { session: w } = t, { translationurl: T } = t, { templateid: M } = t, b = [], m = !0, y = null, C = 0, R = "", K = "", W = !1, V = !1, I = "", ne = "", q = "", Z = !1, re = !1, $ = !1, E = "", z = {}, F = null, se = !1, ae = !1, ce = "", U, he, X = [], H = null, Y = 0, pe = !1, ue = !1;
777
777
  const de = { SMS: "sms", EMAIL: "email" }, ee = {
778
778
  MAX_ATTEMPTS_EXCEEDED: "gm.twofa.token_max_attempts_exceeded",
779
779
  INTERNAL_SERVER_ERROR: "gm.multifactorauthentication.internal_server_error",
@@ -801,16 +801,16 @@ function Pt(n, t, e) {
801
801
  }
802
802
  e(12, se = !1), e(3, m = !1);
803
803
  }
804
- }), oe = () => {
805
- H && (clearInterval(H), H = null), F && (clearInterval(F), F = null), e(6, W = !1), e(7, V = !1), e(8, I = ""), e(10, re = !1), e(2, b = []), e(4, y = null), e(3, m = !0), e(0, E = ""), e(12, se = !1), e(38, A = {});
804
+ }), ie = () => {
805
+ H && (clearInterval(H), H = null), F && (clearInterval(F), F = null), e(6, W = !1), e(7, V = !1), e(8, I = ""), e(10, re = !1), e(2, b = []), e(4, y = null), e(3, m = !0), e(0, E = ""), e(12, se = !1), e(38, z = {});
806
806
  }, j = () => {
807
- oe();
807
+ ie();
808
808
  }, be = () => new Promise((l, h) => {
809
- const g = new URL(`${_}/api/pam/v1/mfa/challenge/${ne}`), z = new Headers();
810
- z.append("accept", "application/json"), z.append("Content-Type", "application/json"), z.append("X-SessionId", `${w}`), e(16, ue = !0);
809
+ const g = new URL(`${_}/api/pam/v1/mfa/challenge/${ne}`), A = new Headers();
810
+ A.append("accept", "application/json"), A.append("Content-Type", "application/json"), A.append("X-SessionId", `${w}`), e(16, ue = !0);
811
811
  const fe = {
812
812
  method: "PATCH",
813
- headers: z,
813
+ headers: A,
814
814
  body: JSON.stringify({
815
815
  channel: E,
816
816
  templateId: M
@@ -821,26 +821,26 @@ function Pt(n, t, e) {
821
821
  }).catch((Se) => {
822
822
  h();
823
823
  });
824
- }), ie = () => {
824
+ }), oe = () => {
825
825
  F && clearInterval(F), F = setInterval(
826
826
  () => {
827
- const l = ve({}, A);
827
+ const l = ve({}, z);
828
828
  let h = !1;
829
829
  Object.keys(l).forEach((g) => {
830
830
  l[g] > 0 && (l[g]--, h = !0);
831
- }), e(38, A = l), !h && F && (clearInterval(F), F = null);
831
+ }), e(38, z = l), !h && F && (clearInterval(F), F = null);
832
832
  },
833
833
  1e3
834
834
  );
835
835
  }, P = (l) => {
836
836
  e(0, E = l);
837
837
  }, u = () => me(this, null, function* () {
838
- if (!(!E || A[E] && A[E] > 0)) {
838
+ if (!(!E || z[E] && z[E] > 0)) {
839
839
  e(3, m = !0), M && M.startsWith("2fa-") && e(30, M = `2fa-${E}`);
840
840
  try {
841
- yield be(), yield ye(), e(38, A = Le(ve({}, A), {
841
+ yield be(), yield ye(), e(38, z = Le(ve({}, z), {
842
842
  [E]: 30
843
- })), ie(), e(12, se = !0), k(), we();
843
+ })), oe(), e(12, se = !0), k(), we();
844
844
  } catch (l) {
845
845
  console.error("Error submitting channel:", l), e(6, W = !0), e(8, I = a("submissionError"));
846
846
  } finally {
@@ -848,8 +848,8 @@ function Pt(n, t, e) {
848
848
  }
849
849
  }
850
850
  }), k = () => {
851
- const l = new Date(R), h = new Date(K), g = /* @__PURE__ */ new Date(), z = h.getTime() - g.getTime();
852
- Y = l.getTime() - z;
851
+ const l = new Date(R), h = new Date(K), g = /* @__PURE__ */ new Date(), A = h.getTime() - g.getTime();
852
+ Y = l.getTime() - A;
853
853
  const B = Date.now(), fe = Math.max(0, Math.floor((Y - B) / 1e3));
854
854
  e(5, C = fe);
855
855
  }, we = () => {
@@ -867,22 +867,22 @@ function Pt(n, t, e) {
867
867
  const g = [...b];
868
868
  g[l] = h.toUpperCase(), e(2, b = g), g.join("") !== ce && e(13, ae = !1);
869
869
  }, He = (l) => {
870
- var z, B, fe;
870
+ var A, B, fe;
871
871
  l.preventDefault();
872
- const g = (((B = (z = l.clipboardData) == null ? void 0 : z.getData("text")) == null ? void 0 : B.trim()) || "").slice(0, y.inputLength).split("");
872
+ const g = (((B = (A = l.clipboardData) == null ? void 0 : A.getData("text")) == null ? void 0 : B.trim()) || "").slice(0, y.inputLength).split("");
873
873
  e(2, b = [...g, ...Array(y.inputLength - g.length).fill("")]), (fe = X[g.length]) == null || fe.focus(), g.length === y.inputLength && Oe();
874
874
  }, Ce = (l, h) => {
875
- const g = l.target, z = g.value;
876
- if (/^[a-z0-9]$/i.test(z)) {
877
- _e(h, z);
875
+ const g = l.target, A = g.value;
876
+ if (/^[a-z0-9]$/i.test(A)) {
877
+ _e(h, A);
878
878
  const B = X[h + 1];
879
879
  B == null || B.focus();
880
880
  }
881
881
  g.value = "";
882
882
  }, Ee = (l, h) => {
883
- const g = l.key, z = l.ctrlKey || l.metaKey;
883
+ const g = l.key, A = l.ctrlKey || l.metaKey;
884
884
  if (/^[a-z0-9]$/i.test(g)) {
885
- if (z && g.toLowerCase() === "v")
885
+ if (A && g.toLowerCase() === "v")
886
886
  return;
887
887
  l.preventDefault(), _e(h, g);
888
888
  const B = X[h + 1];
@@ -916,8 +916,8 @@ function Pt(n, t, e) {
916
916
  qe();
917
917
  return;
918
918
  }
919
- const z = yield g.json();
920
- throw new Error(z.message);
919
+ const A = yield g.json();
920
+ throw new Error(A.message);
921
921
  } catch (g) {
922
922
  if (yield ye(), g.message === ee.INTERNAL_SERVER_ERROR) {
923
923
  if (y.numberOfValidateAttempts === y.maxValidationAttempts - 1) {
@@ -968,8 +968,8 @@ function Pt(n, t, e) {
968
968
  else if (g && g.details === ee.MAX_ATTEMPTS_EXCEEDED)
969
969
  window.dispatchEvent(new CustomEvent("manualClosePopup"));
970
970
  else {
971
- const z = g && g.message || `Failed to load config. Status: ${h.status}`;
972
- throw new Error(z);
971
+ const A = g && g.message || `Failed to load config. Status: ${h.status}`;
972
+ throw new Error(A);
973
973
  }
974
974
  } catch (l) {
975
975
  e(3, m = !1), e(7, V = !0), e(8, I = a("configError")), window.dispatchEvent(new CustomEvent("2fa-loading", { detail: { isLoading: !1 } })), console.error("Error loading 2FA config:", l);
@@ -980,13 +980,13 @@ function Pt(n, t, e) {
980
980
  }));
981
981
  const Xe = () => P(de.SMS), Ke = () => P(de.EMAIL);
982
982
  function Ge(l, h) {
983
- Ae[l ? "unshift" : "push"](() => {
983
+ ze[l ? "unshift" : "push"](() => {
984
984
  X[h] = l, e(14, X);
985
985
  });
986
986
  }
987
987
  const Ye = (l, h) => Ce(h, l), Je = (l, h) => Ee(h, l);
988
988
  function Qe(l) {
989
- Ae[l ? "unshift" : "push"](() => {
989
+ ze[l ? "unshift" : "push"](() => {
990
990
  U = l, e(1, U);
991
991
  });
992
992
  }
@@ -1003,9 +1003,9 @@ function Pt(n, t, e) {
1003
1003
  8 && f && G(), n.$$.dirty[1] & /*lang, translationurl*/
1004
1004
  72 && f && T && N(), n.$$.dirty[0] & /*selectedChannel*/
1005
1005
  1 | n.$$.dirty[1] & /*channelSubmitTimers*/
1006
- 128 && e(18, o = E && (!A[E] || A[E] === 0)), n.$$.dirty[0] & /*selectedChannel*/
1006
+ 128 && e(18, i = E && (!z[E] || z[E] === 0)), n.$$.dirty[0] & /*selectedChannel*/
1007
1007
  1 | n.$$.dirty[1] & /*channelSubmitTimers*/
1008
- 128 && e(17, i = E && A[E] || 0);
1008
+ 128 && e(17, o = E && z[E] || 0);
1009
1009
  }, [
1010
1010
  E,
1011
1011
  U,
@@ -1024,8 +1024,8 @@ function Pt(n, t, e) {
1024
1024
  X,
1025
1025
  pe,
1026
1026
  ue,
1027
- i,
1028
1027
  o,
1028
+ i,
1029
1029
  a,
1030
1030
  de,
1031
1031
  P,
@@ -1045,7 +1045,7 @@ function Pt(n, t, e) {
1045
1045
  _,
1046
1046
  w,
1047
1047
  T,
1048
- A,
1048
+ z,
1049
1049
  Xe,
1050
1050
  Ke,
1051
1051
  Ge,