@everymatrix/cashier-page 1.98.28 → 1.98.29

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 (217) hide show
  1. package/components/{CashierCarousel-CIrhQ1F1.js → CashierCarousel-3bBExAfX.js} +160 -136
  2. package/components/{CashierCarousel-CibDHVzx.js → CashierCarousel-C0iOhcfu.js} +166 -142
  3. package/components/CashierCarousel-DACE1tKH.cjs +1 -0
  4. package/components/{CashierError-ulLnVgQF.js → CashierError-C2laBAxm.js} +282 -178
  5. package/components/{CashierError-BgzGU74G.js → CashierError-CE7_mcoB.js} +282 -178
  6. package/components/{CashierError-DhQtatzN.cjs → CashierError-D5O8VRb7.cjs} +1 -1
  7. package/components/{CashierHeader-CnMNnCMA.js → CashierHeader-C1q5WV57.js} +144 -130
  8. package/components/CashierHeader-CHEzsRF0.cjs +1 -0
  9. package/components/{CashierHeader-CyXIVUoS.js → CashierHeader-Dm7TURe3.js} +144 -130
  10. package/components/{CashierIframeRedirect-BUy5m6fN.js → CashierIframeRedirect-C77nD3AG.js} +38 -32
  11. package/components/{CashierIframeRedirect-DOCts-eZ.js → CashierIframeRedirect-CbkM19jX.js} +38 -32
  12. package/components/CashierIframeRedirect-CnDLsDYN.cjs +1 -0
  13. package/components/{CashierMethodDetails-B-klrcoA.js → CashierMethodDetails-CmCUjtZZ.js} +1500 -1304
  14. package/components/{CashierMethodDetails-DmHKHr2M.cjs → CashierMethodDetails-DcHxycYB.cjs} +4 -4
  15. package/components/{CashierMethodDetails-BHGrCcE3.js → CashierMethodDetails-g-EHhr4t.js} +1345 -1149
  16. package/components/CashierMethodsList-BaUQBBIX.cjs +1 -0
  17. package/components/{CashierMethodsList-7ACO_YE6.js → CashierMethodsList-DgEtoxRa.js} +152 -128
  18. package/components/{CashierMethodsList-Cr1BX878.js → CashierMethodsList-kwzWzUdM.js} +136 -112
  19. package/components/{CashierModal-Ke9TZX5s.js → CashierModal-Bpf1W4TW.js} +2 -2
  20. package/components/{CashierModal-BdpiH2_j.cjs → CashierModal-D8_Y0ZU6.cjs} +1 -1
  21. package/components/{CashierModal-4iF9ylQT.js → CashierModal-DfBiGe-Y.js} +2 -2
  22. package/components/{CashierNotifications-DOZcnn7M.js → CashierNotifications-CXsZaMzr.js} +1 -1
  23. package/components/{CashierNotifications-BVJkJQAP.js → CashierNotifications-LH8DhGDl.js} +1 -1
  24. package/components/{CashierNotifications-B_kxAZOz.cjs → CashierNotifications-ZtPfOc6V.cjs} +1 -1
  25. package/components/CashierPage-BOWMSZ9v.cjs +23 -0
  26. package/components/{CashierPage-Bz6JgmrH.js → CashierPage-CiyPlHzj.js} +715 -616
  27. package/components/{CashierPage-DmYelgiN.js → CashierPage-DdCmt2zp.js} +972 -871
  28. package/components/{CashierReceiptPage-D5PB-1VI.js → CashierReceiptPage-A54bEgRe.js} +567 -381
  29. package/components/{CashierReceiptPage-CEQajL7m.js → CashierReceiptPage-BHkIMd6B.js} +470 -284
  30. package/components/{CashierReceiptPage-2-P4gA2W.cjs → CashierReceiptPage-CeVo2qP_.cjs} +2 -2
  31. package/components/{CashierSessionExpirationModal-CePJRUlu.js → CashierSessionExpirationModal-C8EUenjL.js} +141 -125
  32. package/components/CashierSessionExpirationModal-CT28y-Dy.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-BZyLc1_S.js → CashierSessionExpirationModal-DqUoBpXM.js} +141 -125
  34. package/components/{CashierSpinner-C9Ra-0IT.js → CashierSpinner-B3ab9--E.js} +2 -2
  35. package/components/{CashierSpinner-BF0PvrCl.cjs → CashierSpinner-DTiIwXJs.cjs} +1 -1
  36. package/components/{CashierSpinner-CB2IDF99.js → CashierSpinner-xkYSSmKN.js} +2 -2
  37. package/components/CashierStepUp-C4aK_vrD.cjs +1 -0
  38. package/components/{CashierStepUp-Ck0xq8Xm.js → CashierStepUp-CgG4aO_s.js} +371 -325
  39. package/components/{CashierStepUp-B3Ph1OSf.js → CashierStepUp-DNo6sy36.js} +397 -351
  40. package/components/CashierTransactionHistory-2O9iJlJI.cjs +1 -0
  41. package/components/{CashierTransactionHistory-D5wsFJEM.js → CashierTransactionHistory-Ca3FNiKJ.js} +522 -472
  42. package/components/{CashierTransactionHistory-CoTFYN7l.js → CashierTransactionHistory-oApbxEt2.js} +494 -444
  43. package/components/CashierVerifications-CcDH-3z5.cjs +1 -0
  44. package/components/{CashierVerifications-BEFmSXtj.js → CashierVerifications-CzTI2EZ4.js} +245 -199
  45. package/components/{CashierVerifications-CA42knBf.js → CashierVerifications-DR7dYjc4.js} +256 -210
  46. package/components/{TxnStatusIcon-Bw8L-eXX.js → TxnStatusIcon-Clv1k2Ma.js} +1 -1
  47. package/components/{TxnStatusIcon-8ewM4ccO.js → TxnStatusIcon-DPf3O_DU.js} +1 -1
  48. package/components/{TxnStatusIcon-CgTqMiw9.cjs → TxnStatusIcon-i-LsiwNC.cjs} +1 -1
  49. package/components/{TxnTypeIcons-DhQNGQt2.js → TxnTypeIcons-36d9TALW.js} +1 -1
  50. package/components/{TxnTypeIcons-2TqkD6dM.cjs → TxnTypeIcons-D4tuuQoe.cjs} +1 -1
  51. package/components/{TxnTypeIcons-5Ao_1BRX.js → TxnTypeIcons-DYUOz_RG.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-BSgX_-9d.cjs +0 -1
  57. package/components/CashierCarousel-BSxRIpNj.js +0 -708
  58. package/components/CashierCarousel-BnsrLQLz.cjs +0 -1
  59. package/components/CashierCarousel-BsryNC67.js +0 -711
  60. package/components/CashierCarousel-CLl1dEO0.js +0 -711
  61. package/components/CashierCarousel-D0dDvgaj.js +0 -708
  62. package/components/CashierCarousel-DVLQpSbh.js +0 -711
  63. package/components/CashierCarousel-Dh5Q3q4o.cjs +0 -1
  64. package/components/CashierCarousel-DucLdPiP.cjs +0 -1
  65. package/components/CashierCarousel-jiScaw1m.js +0 -708
  66. package/components/CashierError-B19WWS6q.js +0 -849
  67. package/components/CashierError-C9QJqSOU.cjs +0 -1
  68. package/components/CashierError-CJMwmI7N.js +0 -849
  69. package/components/CashierError-CL9tcScj.js +0 -849
  70. package/components/CashierError-CpI-ZvDt.js +0 -849
  71. package/components/CashierError-DY-spTTl.js +0 -849
  72. package/components/CashierError-f4ZqXuJH.js +0 -849
  73. package/components/CashierError-mFSpkELc.cjs +0 -1
  74. package/components/CashierError-nb2MHtLH.cjs +0 -1
  75. package/components/CashierHeader-9Jv4Zu9U.cjs +0 -1
  76. package/components/CashierHeader-CmmEk0QP.cjs +0 -1
  77. package/components/CashierHeader-DA_ReO25.cjs +0 -1
  78. package/components/CashierHeader-DEksQqYQ.js +0 -477
  79. package/components/CashierHeader-DwvRD5WU.js +0 -477
  80. package/components/CashierHeader-J44Qka8M.js +0 -477
  81. package/components/CashierHeader-SrIA_1me.cjs +0 -1
  82. package/components/CashierHeader-TK2-BiHl.js +0 -477
  83. package/components/CashierHeader-jQ2-E617.js +0 -477
  84. package/components/CashierHeader-vy8HyWPz.js +0 -477
  85. package/components/CashierIframeRedirect-5s9ZtG-5.cjs +0 -1
  86. package/components/CashierIframeRedirect-BseB9TAg.js +0 -387
  87. package/components/CashierIframeRedirect-C2UcYLWG.cjs +0 -1
  88. package/components/CashierIframeRedirect-CB1_eaMN.cjs +0 -1
  89. package/components/CashierIframeRedirect-CTHqad7Z.js +0 -387
  90. package/components/CashierIframeRedirect-CyY79191.js +0 -387
  91. package/components/CashierIframeRedirect-DdKFPBSa.js +0 -387
  92. package/components/CashierIframeRedirect-Dhu2OC9A.js +0 -387
  93. package/components/CashierIframeRedirect-N8QJeLeb.cjs +0 -1
  94. package/components/CashierIframeRedirect-lM7pHpa9.js +0 -387
  95. package/components/CashierMethodDetails-BWknB3e7.js +0 -11385
  96. package/components/CashierMethodDetails-C38oxecJ.js +0 -11821
  97. package/components/CashierMethodDetails-CEt1JRHd.js +0 -11758
  98. package/components/CashierMethodDetails-CR-B6W_o.js +0 -11758
  99. package/components/CashierMethodDetails-CoVztEid.cjs +0 -238
  100. package/components/CashierMethodDetails-D0FWPJ2H.js +0 -11336
  101. package/components/CashierMethodDetails-DT4GvTpz.cjs +0 -238
  102. package/components/CashierMethodDetails-DVnlD9Uk.cjs +0 -85
  103. package/components/CashierMethodDetails-jCkj4SrI.js +0 -11821
  104. package/components/CashierMethodsList-BvOniQPF.cjs +0 -1
  105. package/components/CashierMethodsList-BxvD9zAR.js +0 -969
  106. package/components/CashierMethodsList-BzQxrxu_.cjs +0 -1
  107. package/components/CashierMethodsList-CMaD5FXj.js +0 -955
  108. package/components/CashierMethodsList-C_ldRYq_.js +0 -969
  109. package/components/CashierMethodsList-Cy2Vsr78.js +0 -955
  110. package/components/CashierMethodsList-DR3WLcjt.cjs +0 -1
  111. package/components/CashierMethodsList-DYRS6KJx.cjs +0 -1
  112. package/components/CashierMethodsList-KXr3hScy.js +0 -955
  113. package/components/CashierMethodsList-u11i0SYf.js +0 -969
  114. package/components/CashierModal-B-UWvltM.js +0 -386
  115. package/components/CashierModal-BitlQX-o.cjs +0 -1
  116. package/components/CashierModal-C0Xof_AE.js +0 -402
  117. package/components/CashierModal-CcawnfUI.cjs +0 -1
  118. package/components/CashierModal-CevNAvJE.js +0 -386
  119. package/components/CashierModal-DJ3Q9obn.js +0 -402
  120. package/components/CashierModal-Dsi_oVHh.js +0 -402
  121. package/components/CashierModal-DwEKUjMK.cjs +0 -1
  122. package/components/CashierModal-aBGB4ejQ.js +0 -386
  123. package/components/CashierNotifications-BanZGIkE.js +0 -129
  124. package/components/CashierNotifications-C2ND2S-i.cjs +0 -1
  125. package/components/CashierNotifications-CY2B13Wf.js +0 -129
  126. package/components/CashierNotifications-CyCI6ksG.js +0 -129
  127. package/components/CashierNotifications-DnmlBB_Q.cjs +0 -1
  128. package/components/CashierNotifications-DquKOU8w.js +0 -129
  129. package/components/CashierNotifications-Du8trHf6.js +0 -129
  130. package/components/CashierNotifications-WS_5AwbR.js +0 -129
  131. package/components/CashierNotifications-wQG099OX.cjs +0 -1
  132. package/components/CashierPage-895aolw0.js +0 -10288
  133. package/components/CashierPage-BKglURO0.js +0 -10233
  134. package/components/CashierPage-BU42FSzD.js +0 -10307
  135. package/components/CashierPage-BkADSeGN.cjs +0 -23
  136. package/components/CashierPage-Bmy89dKm.cjs +0 -23
  137. package/components/CashierPage-Cdtyq0lf.js +0 -10307
  138. package/components/CashierPage-DEYpTaJv.cjs +0 -23
  139. package/components/CashierPage-DYXRnLVw.js +0 -10254
  140. package/components/CashierPage-TRzKwGkj.cjs +0 -23
  141. package/components/CashierPage-mGP6lkFv.js +0 -10254
  142. package/components/CashierReceiptPage-B3cqHXqT.js +0 -2043
  143. package/components/CashierReceiptPage-BCh5OfiT.cjs +0 -29
  144. package/components/CashierReceiptPage-BjTVzjuc.js +0 -2063
  145. package/components/CashierReceiptPage-BoZ2EpUX.cjs +0 -29
  146. package/components/CashierReceiptPage-CGcmTBRp.js +0 -2063
  147. package/components/CashierReceiptPage-DNsdCwQQ.js +0 -2043
  148. package/components/CashierReceiptPage-DWyirru6.js +0 -2063
  149. package/components/CashierReceiptPage-DkwFQrzl.cjs +0 -29
  150. package/components/CashierReceiptPage-mvS7a_9t.js +0 -2043
  151. package/components/CashierSessionExpirationModal-15tJe60J.cjs +0 -2
  152. package/components/CashierSessionExpirationModal-B0TYP3cY.cjs +0 -2
  153. package/components/CashierSessionExpirationModal-BrfbbbF-.js +0 -1212
  154. package/components/CashierSessionExpirationModal-BrhADqF1.js +0 -1212
  155. package/components/CashierSessionExpirationModal-CIrMZkSD.cjs +0 -2
  156. package/components/CashierSessionExpirationModal-CY385n9R.js +0 -1212
  157. package/components/CashierSessionExpirationModal-Cb456WpL.cjs +0 -2
  158. package/components/CashierSessionExpirationModal-DXVLX-Ja.js +0 -1212
  159. package/components/CashierSessionExpirationModal-IfrOHdOp.js +0 -1212
  160. package/components/CashierSessionExpirationModal-i5NfYzNE.js +0 -1212
  161. package/components/CashierSpinner-BQv2AMHG.js +0 -79
  162. package/components/CashierSpinner-Bpe0d0oQ.js +0 -79
  163. package/components/CashierSpinner-BvhJgDvg.js +0 -79
  164. package/components/CashierSpinner-CFUNSysS.js +0 -79
  165. package/components/CashierSpinner-CKdmXXKt.cjs +0 -1
  166. package/components/CashierSpinner-D6D1AmR0.cjs +0 -1
  167. package/components/CashierSpinner-DrZub22H.js +0 -79
  168. package/components/CashierSpinner-bOYmQpsr.js +0 -79
  169. package/components/CashierSpinner-mcvtpHVb.cjs +0 -1
  170. package/components/CashierStepUp-4fnHnyQH.cjs +0 -1
  171. package/components/CashierStepUp-CKae09kD.js +0 -1201
  172. package/components/CashierStepUp-CNHvoNU1.js +0 -1161
  173. package/components/CashierStepUp-CVfdA9uX.js +0 -1201
  174. package/components/CashierStepUp-ChUBdlnk.cjs +0 -1
  175. package/components/CashierStepUp-Cj8xEgHC.js +0 -1264
  176. package/components/CashierStepUp-DH4pCg7V.cjs +0 -1
  177. package/components/CashierStepUp-DIQ9DrxX.cjs +0 -1
  178. package/components/CashierStepUp-DfYWcQde.js +0 -1161
  179. package/components/CashierStepUp-iS4DfmUJ.js +0 -1304
  180. package/components/CashierTransactionHistory-B6FzMX9a.js +0 -1415
  181. package/components/CashierTransactionHistory-B9a9qQjo.js +0 -1415
  182. package/components/CashierTransactionHistory-BSRmZpn2.cjs +0 -1
  183. package/components/CashierTransactionHistory-Bkqw8dMT.cjs +0 -1
  184. package/components/CashierTransactionHistory-C8SSHcED.js +0 -1415
  185. package/components/CashierTransactionHistory-C9q1W_66.js +0 -1415
  186. package/components/CashierTransactionHistory-DkPMVofl.js +0 -1415
  187. package/components/CashierTransactionHistory-DrZj3C3r.cjs +0 -1
  188. package/components/CashierTransactionHistory-_uQpfmaM.js +0 -1415
  189. package/components/CashierTransactionHistory-veYBG-Kr.cjs +0 -1
  190. package/components/CashierVerifications-BI_yu8fO.js +0 -722
  191. package/components/CashierVerifications-BUuzc2KV.cjs +0 -1
  192. package/components/CashierVerifications-BZPBsrmc.cjs +0 -1
  193. package/components/CashierVerifications-Bu-KbeZF.cjs +0 -1
  194. package/components/CashierVerifications-Bu0ALHD1.js +0 -722
  195. package/components/CashierVerifications-C3vBxGTw.js +0 -726
  196. package/components/CashierVerifications-CBtYGTLV.js +0 -726
  197. package/components/CashierVerifications-CJjMkvTK.js +0 -722
  198. package/components/CashierVerifications-D692oxDO.js +0 -726
  199. package/components/CashierVerifications-nyuz_0L4.cjs +0 -1
  200. package/components/TxnStatusIcon-B6x0tb9z.js +0 -142
  201. package/components/TxnStatusIcon-B99-DjyY.js +0 -142
  202. package/components/TxnStatusIcon-BO-jJSDC.js +0 -142
  203. package/components/TxnStatusIcon-CspMEKjU.cjs +0 -1
  204. package/components/TxnStatusIcon-DKI_hVK8.cjs +0 -1
  205. package/components/TxnStatusIcon-ObLzHWKw.cjs +0 -1
  206. package/components/TxnStatusIcon-T3_oGTiJ.js +0 -142
  207. package/components/TxnStatusIcon-_ohfqibs.js +0 -142
  208. package/components/TxnStatusIcon-xhjNtEZS.js +0 -142
  209. package/components/TxnTypeIcons-BL543vM-.js +0 -101
  210. package/components/TxnTypeIcons-BxLbK2qP.cjs +0 -1
  211. package/components/TxnTypeIcons-CM9KOumw.js +0 -101
  212. package/components/TxnTypeIcons-Cv_QN0g3.js +0 -101
  213. package/components/TxnTypeIcons-DFX30GCY.js +0 -101
  214. package/components/TxnTypeIcons-Dv_tv357.js +0 -101
  215. package/components/TxnTypeIcons-SOn0rg4y.cjs +0 -1
  216. package/components/TxnTypeIcons-gD4j8VCB.js +0 -101
  217. package/components/TxnTypeIcons-mX1zqVBL.cjs +0 -1
@@ -1,1264 +0,0 @@
1
- import { a as Ze, $ as Je, S as Qe, b as $e, s as et, f as Z, d as tt, z as me, g as S, l as C, n as _, p as s, q as nt, r as it, y as ye, w as A, m as p, A as X, Q as K, o as R, x as z, v as lt, F as Ie, L as q, D as Se, E as ot, c as rt, B as st } from "./CashierPage-BKglURO0.js";
2
- import { s as at, a as ct, b as ut } from "./CashierHeader-CyXIVUoS.js";
3
- function Ce(n, e) {
4
- Ze(n, e);
5
- }
6
- function dt(n) {
7
- Je.set(n);
8
- }
9
- const Me = {
10
- en: {
11
- otpTitle: "Code verification is required",
12
- popupMessage: "Please enter the security code received on your SMS/email address to perform the update.",
13
- popupMessageLastWarning: "If the next validation attempt is failed, your transaction will fail and you will be returned back to payment method.",
14
- minutes: "minutes",
15
- errorHeader: "Error",
16
- configError: "Unable to load OTP data. Please try again later.",
17
- otpHeading: "Enter OTP",
18
- resendOtp: "Resent OTP",
19
- submit: "Submit",
20
- close: "Close",
21
- invalidOtp: "The code you've sent is not valid. Please try again.",
22
- accountBlocked: "Too many attempts for OTP. Your account has been blocked for one hour.",
23
- submissionError: "Something went wrong. Please try again.",
24
- otpExpiredMessage: "Validation code has expired, please request a new one to continue.",
25
- timeRemaining: "Code expires in:",
26
- selectChannelTitle: "Select verification method",
27
- selectChannelMessage: "Choose how you would like to receive your verification code",
28
- channelSMS: "SMS",
29
- channelEmail: "Email",
30
- channelMitID: "MitID",
31
- continueWithMitID: "Continue",
32
- sendCode: "Send code",
33
- waitSeconds: "Please wait for before resending:"
34
- },
35
- tr: {
36
- otpTitle: "Kod doğrulaması gereklidir",
37
- popupMessage: "Güncellemeyi gerçekleştirmek için SMS/e-posta adresinize gönderilen güvenlik kodunu girin.",
38
- popupMessageLastWarning: "Bir sonraki doğrulama denemesi başarısız olursa, işleminiz başarısız olacak ve ödeme yöntemine geri döndürüleceksiniz.",
39
- minutes: "dakika",
40
- errorHeader: "Hata",
41
- configError: "OTP verileri yüklenemedi. Lütfen daha sonra tekrar deneyin.",
42
- otpHeading: "OTP Girin",
43
- resendOtp: "OTP'yi Yeniden Gönder",
44
- submit: "Gönder",
45
- close: "Kapat",
46
- invalidOtp: "Gönderdiğiniz kod geçerli değil. Lütfen tekrar deneyin.",
47
- accountBlocked: "OTP için çok fazla deneme yapıldı. Hesabınız bir saat süreyle engellenmiştir.",
48
- submissionError: "Bir şeyler ters gitti. Lütfen tekrar deneyin.",
49
- otpExpiredMessage: "Doğrulama kodunun süresi doldu, devam etmek için lütfen yeni bir kod isteyin.",
50
- timeRemaining: "Kodun süresi doluyor:",
51
- selectChannelTitle: "Doğrulama yöntemi seçin",
52
- selectChannelMessage: "Doğrulama kodunuzu nasıl almak istediğinizi seçin",
53
- channelSMS: "SMS kodu",
54
- channelEmail: "E-posta kodu",
55
- channelMitID: "MitID",
56
- continueWithMitID: "Continue",
57
- sendCode: "Kodu gönder",
58
- waitSeconds: "Tekrar göndermeden önce lütfen bekleyin:"
59
- },
60
- fr: {
61
- otpTitle: "La vérification par code est requise",
62
- popupMessage: "Veuillez saisir le code de sécurité reçu par SMS ou par e-mail afin d'effectuer la mise à jour.",
63
- popupMessageLastWarning: "Si la prochaine tentative de validation échoue, votre transaction échouera et vous serez redirigé vers le moyen de paiement.",
64
- minutes: "minutes",
65
- errorHeader: "Erreur",
66
- configError: "Impossible de charger les données OTP. Veuillez réessayer plus tard.",
67
- otpHeading: "Saisir le code OTP",
68
- resendOtp: "Renvoyer le code OTP",
69
- submit: "Valider",
70
- close: "Fermer",
71
- invalidOtp: "Le code que vous avez saisi n'est pas valide. Veuillez réessayer.",
72
- accountBlocked: "Trop de tentatives de code OTP. Votre compte a été bloqué pendant une heure.",
73
- submissionError: "Une erreur s'est produite. Veuillez réessayer.",
74
- otpExpiredMessage: "Le code de validation a expiré. Veuillez en demander un nouveau pour continuer.",
75
- timeRemaining: "Le code expire dans :",
76
- selectChannelTitle: "Sélectionner la méthode de vérification",
77
- selectChannelMessage: "Choisissez comment vous souhaitez recevoir votre code de vérification",
78
- channelSMS: "SMS",
79
- channelEmail: "E-mail",
80
- channelMitID: "MitID",
81
- continueWithMitID: "Continue",
82
- sendCode: "Envoyer le code",
83
- waitSeconds: "Veuillez patienter avant de renvoyer le code :"
84
- },
85
- da: {
86
- otpTitle: "Kodebekræftelse er påkrævet",
87
- popupMessage: "Indtast venligst sikkerhedskoden modtaget på din SMS/e-mailadresse for at udføre opdateringen.",
88
- popupMessageLastWarning: "Hvis det næste valideringsforsøg mislykkes, vil din transaktion mislykkes, og du vil blive sendt tilbage til betalingsmetoden.",
89
- minutes: "minutter",
90
- errorHeader: "Fejl",
91
- configError: "Kan ikke indlæse OTP-data. Prøv venligst igen senere.",
92
- otpHeading: "Indtast OTP",
93
- resendOtp: "Send OTP igen",
94
- submit: "Indsend",
95
- close: "Luk",
96
- invalidOtp: "Koden du har sendt er ikke gyldig. Prøv venligst igen.",
97
- accountBlocked: "For mange forsøg på OTP. Din konto er blevet blokeret i en time.",
98
- submissionError: "Noget gik galt. Prøv venligst igen.",
99
- otpExpiredMessage: "Valideringskoden er udløbet. Anmod venligst om en ny for at fortsætte.",
100
- timeRemaining: "Koden udløber om:",
101
- selectChannelTitle: "Vælg bekræftelsesmetode",
102
- selectChannelMessage: "Vælg, hvordan du gerne vil modtage din bekræftelseskode",
103
- channelSMS: "SMS",
104
- channelEmail: "E-mail",
105
- channelMitID: "MitID",
106
- continueWithMitID: "Continue",
107
- sendCode: "Send kode",
108
- waitSeconds: "Vent venligst før genafsendelse:"
109
- },
110
- de: {
111
- otpTitle: "Code-Verifizierung ist erforderlich",
112
- popupMessage: "Bitte geben Sie den Sicherheitscode ein, den Sie per SMS/E-Mail erhalten haben, um die Aktualisierung durchzuführen.",
113
- popupMessageLastWarning: "Wenn der nächste Validierungsversuch fehlschlägt, schlägt Ihre Transaktion fehl und Sie werden zur Zahlungsmethode zurückgeleitet.",
114
- minutes: "Minuten",
115
- errorHeader: "Fehler",
116
- configError: "OTP-Daten können nicht geladen werden. Bitte versuchen Sie es später erneut.",
117
- otpHeading: "OTP eingeben",
118
- resendOtp: "OTP erneut senden",
119
- submit: "Absenden",
120
- close: "Schließen",
121
- invalidOtp: "Der von Ihnen gesendete Code ist ungültig. Bitte versuchen Sie es erneut.",
122
- accountBlocked: "Zu viele OTP-Versuche. Ihr Konto wurde für eine Stunde gesperrt.",
123
- submissionError: "Etwas ist schiefgelaufen. Bitte versuchen Sie es erneut.",
124
- otpExpiredMessage: "Der Validierungscode ist abgelaufen. Bitte fordern Sie einen neuen an, um fortzufahren.",
125
- timeRemaining: "Code läuft ab in:",
126
- selectChannelTitle: "Verifizierungsmethode auswählen",
127
- selectChannelMessage: "Wählen Sie, wie Sie Ihren Verifizierungscode erhalten möchten",
128
- channelSMS: "SMS",
129
- channelEmail: "E-Mail",
130
- channelMitID: "MitID",
131
- continueWithMitID: "Continue",
132
- sendCode: "Code senden",
133
- waitSeconds: "Bitte warten Sie, bevor Sie erneut senden:"
134
- },
135
- nl: {
136
- otpTitle: "Codeverificatie is vereist",
137
- popupMessage: "Voer de beveiligingscode in die u via SMS/e-mail heeft ontvangen om de update uit te voeren.",
138
- popupMessageLastWarning: "Als de volgende validatiepoging mislukt, zal uw transactie mislukken en wordt u teruggestuurd naar de betaalmethode.",
139
- minutes: "minuten",
140
- errorHeader: "Fout",
141
- configError: "Kan OTP-gegevens niet laden. Probeer het later opnieuw.",
142
- otpHeading: "OTP invoeren",
143
- resendOtp: "OTP opnieuw verzenden",
144
- submit: "Verzenden",
145
- close: "Sluiten",
146
- invalidOtp: "De code die u heeft verzonden is niet geldig. Probeer het opnieuw.",
147
- accountBlocked: "Te veel OTP-pogingen. Uw account is voor één uur geblokkeerd.",
148
- submissionError: "Er is iets misgegaan. Probeer het opnieuw.",
149
- otpExpiredMessage: "De validatiecode is verlopen. Vraag een nieuwe aan om door te gaan.",
150
- timeRemaining: "Code verloopt over:",
151
- selectChannelTitle: "Verificatiemethode selecteren",
152
- selectChannelMessage: "Kies hoe u uw verificatiecode wilt ontvangen",
153
- channelSMS: "SMS",
154
- channelEmail: "E-mail",
155
- channelMitID: "MitID",
156
- continueWithMitID: "Continue",
157
- sendCode: "Code verzenden",
158
- waitSeconds: "Wacht even voordat u opnieuw verzendt:"
159
- }
160
- };
161
- function pt(n) {
162
- tt(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}}');
163
- }
164
- function Ee(n, e, t) {
165
- const i = n.slice();
166
- return i[73] = e[t], i[74] = e, i[75] = t, i;
167
- }
168
- function ft(n) {
169
- let e, t, i, l, a, u, r;
170
- function c(d, k) {
171
- return (
172
- /*showResendOtp*/
173
- d[9] ? bt : (
174
- /*showOtpInput*/
175
- d[12] ? ht : gt
176
- )
177
- );
178
- }
179
- let f = c(n), g = f(n);
180
- function I(d, k) {
181
- return (
182
- /*isOidcFlow*/
183
- d[13] ? kt : _t
184
- );
185
- }
186
- let O = I(n), y = O(n);
187
- function v(d, k) {
188
- if (
189
- /*isOidcFlow*/
190
- d[13]
191
- )
192
- return St;
193
- if (
194
- /*selectedChannel*/
195
- d[0]
196
- )
197
- return yt;
198
- }
199
- let m = v(n), h = m && m(n);
200
- function T(d, k) {
201
- if (
202
- /*isLoading*/
203
- d[3] && /*showOtpInput*/
204
- d[12]
205
- )
206
- return Ot;
207
- if (
208
- /*showOtpInput*/
209
- d[12] && /*config*/
210
- d[4]
211
- )
212
- return Et;
213
- }
214
- let M = T(n), L = M && M(n);
215
- function V(d, k) {
216
- if (
217
- /*showResendOtp*/
218
- d[9]
219
- )
220
- return It;
221
- if (
222
- /*showOtpInput*/
223
- d[12] && /*config*/
224
- d[4]
225
- )
226
- return Tt;
227
- }
228
- let P = V(n), E = P && P(n);
229
- return {
230
- c() {
231
- e = _("div"), g.c(), t = R(), i = _("div"), y.c(), l = R(), h && h.c(), a = R(), L && L.c(), u = R(), r = _("div"), E && E.c(), s(e, "class", "OtpDescription"), s(i, "class", "ChannelSelection"), s(r, "class", "OtpActionButtons");
232
- },
233
- m(d, k) {
234
- C(d, e, k), g.m(e, null), C(d, t, k), C(d, i, k), y.m(i, null), C(d, l, k), h && h.m(d, k), C(d, a, k), L && L.m(d, k), C(d, u, k), C(d, r, k), E && E.m(r, null);
235
- },
236
- p(d, k) {
237
- f === (f = c(d)) && g ? g.p(d, k) : (g.d(1), g = f(d), g && (g.c(), g.m(e, null))), O === (O = I(d)) && y ? y.p(d, k) : (y.d(1), y = O(d), y && (y.c(), y.m(i, null))), m === (m = v(d)) && h ? h.p(d, k) : (h && h.d(1), h = m && m(d), h && (h.c(), h.m(a.parentNode, a))), M === (M = T(d)) && L ? L.p(d, k) : (L && L.d(1), L = M && M(d), L && (L.c(), L.m(u.parentNode, u))), P === (P = V(d)) && E ? E.p(d, k) : (E && E.d(1), E = P && P(d), E && (E.c(), E.m(r, null)));
238
- },
239
- d(d) {
240
- d && (S(e), S(t), S(i), S(l), S(a), S(u), S(r)), g.d(), y.d(), h && h.d(d), L && L.d(d), E && E.d();
241
- }
242
- };
243
- }
244
- function mt(n) {
245
- let e, t, i, l, a, u, r = (
246
- /*$_*/
247
- n[20]("errorHeader") + ""
248
- ), c, f, g, I, O, y, v = (
249
- /*$_*/
250
- n[20]("close") + ""
251
- ), m, h, T;
252
- return {
253
- c() {
254
- e = _("div"), t = _("div"), i = K("svg"), l = K("path"), a = R(), u = _("h2"), c = z(r), f = R(), g = _("p"), I = z(
255
- /*errorMessage*/
256
- n[8]
257
- ), O = R(), y = _("button"), m = z(v), s(l, "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"), s(i, "xmlns", "http://www.w3.org/2000/svg"), s(i, "viewBox", "0 0 512 512"), s(t, "class", "OtpErrorHeader"), s(y, "class", "OtpButton error"), s(e, "class", "OtpError");
258
- },
259
- m(M, L) {
260
- C(M, e, L), p(e, t), p(t, i), p(i, l), p(t, a), p(t, u), p(u, c), p(e, f), p(e, g), p(g, I), p(e, O), p(e, y), p(y, m), h || (T = X(
261
- y,
262
- "click",
263
- /*manualClosePopup*/
264
- n[30]
265
- ), h = !0);
266
- },
267
- p(M, L) {
268
- L[0] & /*$_*/
269
- 1048576 && r !== (r = /*$_*/
270
- M[20]("errorHeader") + "") && A(c, r), L[0] & /*errorMessage*/
271
- 256 && A(
272
- I,
273
- /*errorMessage*/
274
- M[8]
275
- ), L[0] & /*$_*/
276
- 1048576 && v !== (v = /*$_*/
277
- M[20]("close") + "") && A(m, v);
278
- },
279
- d(M) {
280
- M && S(e), h = !1, T();
281
- }
282
- };
283
- }
284
- function ht(n) {
285
- let e, t, i, l;
286
- function a(f, g) {
287
- return (
288
- /*isLastWarning*/
289
- f[10] ? vt : wt
290
- );
291
- }
292
- let u = a(n), r = u(n), c = (
293
- /*hasErrors*/
294
- n[6] && Oe(n)
295
- );
296
- return {
297
- c() {
298
- e = _("p"), r.c(), i = R(), c && c.c(), l = lt(), s(e, "class", t = /*isLastWarning*/
299
- n[10] ? "LastWarningMessage" : "");
300
- },
301
- m(f, g) {
302
- C(f, e, g), r.m(e, null), C(f, i, g), c && c.m(f, g), C(f, l, g);
303
- },
304
- p(f, g) {
305
- u === (u = a(f)) && r ? r.p(f, g) : (r.d(1), r = u(f), r && (r.c(), r.m(e, null))), g[0] & /*isLastWarning*/
306
- 1024 && t !== (t = /*isLastWarning*/
307
- f[10] ? "LastWarningMessage" : "") && s(e, "class", t), /*hasErrors*/
308
- f[6] ? c ? c.p(f, g) : (c = Oe(f), c.c(), c.m(l.parentNode, l)) : c && (c.d(1), c = null);
309
- },
310
- d(f) {
311
- f && (S(e), S(i), S(l)), r.d(), c && c.d(f);
312
- }
313
- };
314
- }
315
- function gt(n) {
316
- let e, t = (
317
- /*$_*/
318
- (n[20]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + ""
319
- ), i;
320
- return {
321
- c() {
322
- e = _("p"), i = z(t);
323
- },
324
- m(l, a) {
325
- C(l, e, a), p(e, i);
326
- },
327
- p(l, a) {
328
- a[0] & /*$_*/
329
- 1048576 && t !== (t = /*$_*/
330
- (l[20]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + "") && A(i, t);
331
- },
332
- d(l) {
333
- l && S(e);
334
- }
335
- };
336
- }
337
- function bt(n) {
338
- let e, t = (
339
- /*$_*/
340
- n[20]("otpExpiredMessage") + ""
341
- ), i;
342
- return {
343
- c() {
344
- e = _("p"), i = z(t), s(e, "class", "OtpNoticeMessage"), s(e, "role", "alert");
345
- },
346
- m(l, a) {
347
- C(l, e, a), p(e, i);
348
- },
349
- p(l, a) {
350
- a[0] & /*$_*/
351
- 1048576 && t !== (t = /*$_*/
352
- l[20]("otpExpiredMessage") + "") && A(i, t);
353
- },
354
- d(l) {
355
- l && S(e);
356
- }
357
- };
358
- }
359
- function wt(n) {
360
- let e = (
361
- /*$_*/
362
- n[20]("popupMessage") + ""
363
- ), t;
364
- return {
365
- c() {
366
- t = z(e);
367
- },
368
- m(i, l) {
369
- C(i, t, l);
370
- },
371
- p(i, l) {
372
- l[0] & /*$_*/
373
- 1048576 && e !== (e = /*$_*/
374
- i[20]("popupMessage") + "") && A(t, e);
375
- },
376
- d(i) {
377
- i && S(t);
378
- }
379
- };
380
- }
381
- function vt(n) {
382
- let e = (
383
- /*$_*/
384
- n[20]("popupMessageLastWarning") + ""
385
- ), t;
386
- return {
387
- c() {
388
- t = z(e);
389
- },
390
- m(i, l) {
391
- C(i, t, l);
392
- },
393
- p(i, l) {
394
- l[0] & /*$_*/
395
- 1048576 && e !== (e = /*$_*/
396
- i[20]("popupMessageLastWarning") + "") && A(t, e);
397
- },
398
- d(i) {
399
- i && S(t);
400
- }
401
- };
402
- }
403
- function Oe(n) {
404
- let e, t;
405
- return {
406
- c() {
407
- e = _("p"), t = z(
408
- /*errorMessage*/
409
- n[8]
410
- ), s(e, "class", "OtpErrorMessage"), s(e, "role", "alert");
411
- },
412
- m(i, l) {
413
- C(i, e, l), p(e, t);
414
- },
415
- p(i, l) {
416
- l[0] & /*errorMessage*/
417
- 256 && A(
418
- t,
419
- /*errorMessage*/
420
- i[8]
421
- );
422
- },
423
- d(i) {
424
- i && S(e);
425
- }
426
- };
427
- }
428
- function _t(n) {
429
- let e, t, i, l, a, u, r, c, f, g, I, O, y, v, m = (
430
- /*$_*/
431
- n[20]("channelSMS") + ""
432
- ), h, T, M, L, V, P, E, d, k, x, N, $, B, F, W = (
433
- /*$_*/
434
- n[20]("channelEmail") + ""
435
- ), Y, J, ee;
436
- return {
437
- c() {
438
- e = _("label"), t = _("div"), i = R(), l = _("input"), u = R(), r = _("div"), c = K("svg"), f = K("path"), g = K("circle"), I = K("circle"), O = K("circle"), y = R(), v = _("span"), h = z(m), T = R(), M = _("label"), L = _("div"), V = R(), P = _("input"), d = R(), k = _("div"), x = K("svg"), N = K("rect"), $ = K("path"), B = R(), F = _("span"), Y = z(W), s(t, "class", "RadioIndicator"), q(
439
- t,
440
- "checked",
441
- /*selectedChannel*/
442
- n[0] === /*channels*/
443
- n[21].SMS
444
- ), s(l, "type", "radio"), s(l, "name", "channel"), l.value = /*channels*/
445
- n[21].SMS, l.checked = a = /*selectedChannel*/
446
- n[0] === /*channels*/
447
- n[21].SMS, s(f, "d", "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"), s(g, "cx", "9"), s(g, "cy", "11"), s(g, "r", "0.5"), s(g, "fill", "currentColor"), s(I, "cx", "12"), s(I, "cy", "11"), s(I, "r", "0.5"), s(I, "fill", "currentColor"), s(O, "cx", "15"), s(O, "cy", "11"), s(O, "r", "0.5"), s(O, "fill", "currentColor"), s(c, "xmlns", "http://www.w3.org/2000/svg"), s(c, "width", "24"), s(c, "height", "24"), s(c, "viewBox", "0 0 24 24"), s(c, "fill", "none"), s(c, "stroke", "currentColor"), s(c, "stroke-width", "2"), s(c, "stroke-linecap", "round"), s(c, "stroke-linejoin", "round"), s(r, "class", "ChannelContent"), s(e, "class", "ChannelCheckbox"), q(
448
- e,
449
- "selected",
450
- /*selectedChannel*/
451
- n[0] === /*channels*/
452
- n[21].SMS
453
- ), s(L, "class", "RadioIndicator"), q(
454
- L,
455
- "checked",
456
- /*selectedChannel*/
457
- n[0] === /*channels*/
458
- n[21].EMAIL
459
- ), s(P, "type", "radio"), s(P, "name", "channel"), P.value = /*channels*/
460
- n[21].EMAIL, P.checked = E = /*selectedChannel*/
461
- n[0] === /*channels*/
462
- n[21].EMAIL, s(N, "x", "2"), s(N, "y", "4"), s(N, "width", "20"), s(N, "height", "16"), s(N, "rx", "2"), s($, "d", "m2 7 10 6 10-6"), s(x, "xmlns", "http://www.w3.org/2000/svg"), s(x, "width", "24"), s(x, "height", "24"), s(x, "viewBox", "0 0 24 24"), s(x, "fill", "none"), s(x, "stroke", "currentColor"), s(x, "stroke-width", "2"), s(x, "stroke-linecap", "round"), s(x, "stroke-linejoin", "round"), s(k, "class", "ChannelContent"), s(M, "class", "ChannelCheckbox"), q(
463
- M,
464
- "selected",
465
- /*selectedChannel*/
466
- n[0] === /*channels*/
467
- n[21].EMAIL
468
- );
469
- },
470
- m(D, H) {
471
- C(D, e, H), p(e, t), p(e, i), p(e, l), p(e, u), p(e, r), p(r, c), p(c, f), p(c, g), p(c, I), p(c, O), p(r, y), p(r, v), p(v, h), C(D, T, H), C(D, M, H), p(M, L), p(M, V), p(M, P), p(M, d), p(M, k), p(k, x), p(x, N), p(x, $), p(k, B), p(k, F), p(F, Y), J || (ee = [
472
- X(
473
- l,
474
- "change",
475
- /*change_handler*/
476
- n[41]
477
- ),
478
- X(
479
- P,
480
- "change",
481
- /*change_handler_1*/
482
- n[42]
483
- )
484
- ], J = !0);
485
- },
486
- p(D, H) {
487
- H[0] & /*selectedChannel, channels*/
488
- 2097153 && q(
489
- t,
490
- "checked",
491
- /*selectedChannel*/
492
- D[0] === /*channels*/
493
- D[21].SMS
494
- ), H[0] & /*selectedChannel*/
495
- 1 && a !== (a = /*selectedChannel*/
496
- D[0] === /*channels*/
497
- D[21].SMS) && (l.checked = a), H[0] & /*$_*/
498
- 1048576 && m !== (m = /*$_*/
499
- D[20]("channelSMS") + "") && A(h, m), H[0] & /*selectedChannel, channels*/
500
- 2097153 && q(
501
- e,
502
- "selected",
503
- /*selectedChannel*/
504
- D[0] === /*channels*/
505
- D[21].SMS
506
- ), H[0] & /*selectedChannel, channels*/
507
- 2097153 && q(
508
- L,
509
- "checked",
510
- /*selectedChannel*/
511
- D[0] === /*channels*/
512
- D[21].EMAIL
513
- ), H[0] & /*selectedChannel*/
514
- 1 && E !== (E = /*selectedChannel*/
515
- D[0] === /*channels*/
516
- D[21].EMAIL) && (P.checked = E), H[0] & /*$_*/
517
- 1048576 && W !== (W = /*$_*/
518
- D[20]("channelEmail") + "") && A(Y, W), H[0] & /*selectedChannel, channels*/
519
- 2097153 && q(
520
- M,
521
- "selected",
522
- /*selectedChannel*/
523
- D[0] === /*channels*/
524
- D[21].EMAIL
525
- );
526
- },
527
- d(D) {
528
- D && (S(e), S(T), S(M)), J = !1, Ie(ee);
529
- }
530
- };
531
- }
532
- function kt(n) {
533
- let e, t, i, l, a, u = (
534
- /*$_*/
535
- (n[20]("channelMitID") || "MitID") + ""
536
- ), r;
537
- return {
538
- c() {
539
- e = _("label"), t = _("div"), i = R(), l = _("div"), a = _("span"), r = z(u), s(t, "class", "RadioIndicator checked"), s(l, "class", "ChannelContent"), s(e, "class", "ChannelCheckbox selected");
540
- },
541
- m(c, f) {
542
- C(c, e, f), p(e, t), p(e, i), p(e, l), p(l, a), p(a, r);
543
- },
544
- p(c, f) {
545
- f[0] & /*$_*/
546
- 1048576 && u !== (u = /*$_*/
547
- (c[20]("channelMitID") || "MitID") + "") && A(r, u);
548
- },
549
- d(c) {
550
- c && S(e);
551
- }
552
- };
553
- }
554
- function yt(n) {
555
- let e, t, i, l;
556
- function a(c, f) {
557
- return (
558
- /*currentChannelTimer*/
559
- c[18] > 0 ? Mt : Ct
560
- );
561
- }
562
- let u = a(n), r = u(n);
563
- return {
564
- c() {
565
- e = _("button"), r.c(), s(e, "class", "OtpButton"), e.disabled = t = !/*canSubmitChannel*/
566
- n[19], q(e, "disabled", !/*canSubmitChannel*/
567
- n[19] || /*waitingForConfig*/
568
- n[17]);
569
- },
570
- m(c, f) {
571
- C(c, e, f), r.m(e, null), i || (l = X(
572
- e,
573
- "click",
574
- /*handleChannelSubmit*/
575
- n[24]
576
- ), i = !0);
577
- },
578
- p(c, f) {
579
- u === (u = a(c)) && r ? r.p(c, f) : (r.d(1), r = u(c), r && (r.c(), r.m(e, null))), f[0] & /*canSubmitChannel*/
580
- 524288 && t !== (t = !/*canSubmitChannel*/
581
- c[19]) && (e.disabled = t), f[0] & /*canSubmitChannel, waitingForConfig*/
582
- 655360 && q(e, "disabled", !/*canSubmitChannel*/
583
- c[19] || /*waitingForConfig*/
584
- c[17]);
585
- },
586
- d(c) {
587
- c && S(e), r.d(), i = !1, l();
588
- }
589
- };
590
- }
591
- function St(n) {
592
- let e, t = (
593
- /*$_*/
594
- (n[20]("continueWithMitID") || "Continue") + ""
595
- ), i, l, a;
596
- return {
597
- c() {
598
- e = _("button"), i = z(t), s(e, "class", "OtpButton");
599
- },
600
- m(u, r) {
601
- C(u, e, r), p(e, i), l || (a = X(
602
- e,
603
- "click",
604
- /*handleOidcSubmit*/
605
- n[23]
606
- ), l = !0);
607
- },
608
- p(u, r) {
609
- r[0] & /*$_*/
610
- 1048576 && t !== (t = /*$_*/
611
- (u[20]("continueWithMitID") || "Continue") + "") && A(i, t);
612
- },
613
- d(u) {
614
- u && S(e), l = !1, a();
615
- }
616
- };
617
- }
618
- function Ct(n) {
619
- let e = (
620
- /*$_*/
621
- n[20]("sendCode") + ""
622
- ), t;
623
- return {
624
- c() {
625
- t = z(e);
626
- },
627
- m(i, l) {
628
- C(i, t, l);
629
- },
630
- p(i, l) {
631
- l[0] & /*$_*/
632
- 1048576 && e !== (e = /*$_*/
633
- i[20]("sendCode") + "") && A(t, e);
634
- },
635
- d(i) {
636
- i && S(t);
637
- }
638
- };
639
- }
640
- function Mt(n) {
641
- let e = (
642
- /*$_*/
643
- n[20]("waitSeconds") + ""
644
- ), t, i, l, a;
645
- return {
646
- c() {
647
- t = z(e), i = z(" ("), l = z(
648
- /*currentChannelTimer*/
649
- n[18]
650
- ), a = z("s)");
651
- },
652
- m(u, r) {
653
- C(u, t, r), C(u, i, r), C(u, l, r), C(u, a, r);
654
- },
655
- p(u, r) {
656
- r[0] & /*$_*/
657
- 1048576 && e !== (e = /*$_*/
658
- u[20]("waitSeconds") + "") && A(t, e), r[0] & /*currentChannelTimer*/
659
- 262144 && A(
660
- l,
661
- /*currentChannelTimer*/
662
- u[18]
663
- );
664
- },
665
- d(u) {
666
- u && (S(t), S(i), S(l), S(a));
667
- }
668
- };
669
- }
670
- function Et(n) {
671
- let e, t, i = (
672
- /*$_*/
673
- n[20]("timeRemaining") + ""
674
- ), l, a, u = (
675
- /*formatTime*/
676
- n[25](
677
- /*timeLeft*/
678
- n[5]
679
- ) + ""
680
- ), r, c, f = (
681
- /*$_*/
682
- n[20]("minutes") + ""
683
- ), g, I, O, y = Se(
684
- /*otp*/
685
- n[2]
686
- ), v = [];
687
- for (let m = 0; m < y.length; m += 1)
688
- v[m] = Te(Ee(n, y, m));
689
- return {
690
- c() {
691
- e = _("div"), t = _("div"), l = z(i), a = R(), r = z(u), c = R(), g = z(f), I = R(), O = _("div");
692
- for (let m = 0; m < v.length; m += 1)
693
- v[m].c();
694
- s(t, "class", "OtpTimer"), s(O, "class", "OtpField"), s(e, "class", "OtpFieldWrapper");
695
- },
696
- m(m, h) {
697
- C(m, e, h), p(e, t), p(t, l), p(t, a), p(t, r), p(t, c), p(t, g), p(e, I), p(e, O);
698
- for (let T = 0; T < v.length; T += 1)
699
- v[T] && v[T].m(O, null);
700
- },
701
- p(m, h) {
702
- if (h[0] & /*$_*/
703
- 1048576 && i !== (i = /*$_*/
704
- m[20]("timeRemaining") + "") && A(l, i), h[0] & /*timeLeft*/
705
- 32 && u !== (u = /*formatTime*/
706
- m[25](
707
- /*timeLeft*/
708
- m[5]
709
- ) + "") && A(r, u), h[0] & /*$_*/
710
- 1048576 && f !== (f = /*$_*/
711
- m[20]("minutes") + "") && A(g, f), h[0] & /*config, otp, inputDisabled, otpInputs, handleOtpInput, handleKeyDown, handleOnPasteOtp*/
712
- 469796884) {
713
- y = Se(
714
- /*otp*/
715
- m[2]
716
- );
717
- let T;
718
- for (T = 0; T < y.length; T += 1) {
719
- const M = Ee(m, y, T);
720
- v[T] ? v[T].p(M, h) : (v[T] = Te(M), v[T].c(), v[T].m(O, null));
721
- }
722
- for (; T < v.length; T += 1)
723
- v[T].d(1);
724
- v.length = y.length;
725
- }
726
- },
727
- d(m) {
728
- m && S(e), ot(v, m);
729
- }
730
- };
731
- }
732
- function Ot(n) {
733
- let e;
734
- return {
735
- c() {
736
- e = _("div"), e.innerHTML = '<span class="OtpLoader"></span>', s(e, "class", "OtpLoaderContainer");
737
- },
738
- m(t, i) {
739
- C(t, e, i);
740
- },
741
- p: me,
742
- d(t) {
743
- t && S(e);
744
- }
745
- };
746
- }
747
- function Te(n) {
748
- let e, t, i, l = (
749
- /*index*/
750
- n[75]
751
- ), a, u;
752
- const r = () => (
753
- /*input_binding*/
754
- n[43](e, l)
755
- ), c = () => (
756
- /*input_binding*/
757
- n[43](null, l)
758
- );
759
- function f(...I) {
760
- return (
761
- /*input_handler*/
762
- n[44](
763
- /*index*/
764
- n[75],
765
- ...I
766
- )
767
- );
768
- }
769
- function g(...I) {
770
- return (
771
- /*keydown_handler*/
772
- n[45](
773
- /*index*/
774
- n[75],
775
- ...I
776
- )
777
- );
778
- }
779
- return {
780
- c() {
781
- e = _("input"), s(e, "id", `otp-input-${/*index*/
782
- n[75]}`), s(e, "type", "text"), s(e, "class", t = `otp-box ${/*config*/
783
- n[4].inputLength % 2 === 0 && /*index*/
784
- n[75] === /*config*/
785
- n[4].inputLength / 2 - 1 ? "space" : ""}`), s(e, "maxlength", 1), e.value = i = /*char*/
786
- n[73], s(e, "inputmode", "numeric"), e.disabled = /*inputDisabled*/
787
- n[11], s(e, "autocomplete", "off");
788
- },
789
- m(I, O) {
790
- C(I, e, O), r(), a || (u = [
791
- X(e, "input", f),
792
- X(e, "keydown", g),
793
- X(
794
- e,
795
- "paste",
796
- /*handleOnPasteOtp*/
797
- n[26]
798
- )
799
- ], a = !0);
800
- },
801
- p(I, O) {
802
- n = I, O[0] & /*config*/
803
- 16 && t !== (t = `otp-box ${/*config*/
804
- n[4].inputLength % 2 === 0 && /*index*/
805
- n[75] === /*config*/
806
- n[4].inputLength / 2 - 1 ? "space" : ""}`) && s(e, "class", t), O[0] & /*otp*/
807
- 4 && i !== (i = /*char*/
808
- n[73]) && e.value !== i && (e.value = i), O[0] & /*inputDisabled*/
809
- 2048 && (e.disabled = /*inputDisabled*/
810
- n[11]), l !== /*index*/
811
- n[75] && (c(), l = /*index*/
812
- n[75], r());
813
- },
814
- d(I) {
815
- I && S(e), c(), a = !1, Ie(u);
816
- }
817
- };
818
- }
819
- function Tt(n) {
820
- let e, t = (
821
- /*$_*/
822
- n[20]("submit") + ""
823
- ), i, l, a, u;
824
- return {
825
- c() {
826
- e = _("button"), i = z(t), s(e, "class", "OtpButton"), e.disabled = l = /*otp*/
827
- n[2].join("").length !== /*config*/
828
- n[4].inputLength || /*isSubmitting*/
829
- n[14] || /*maxAttempts*/
830
- n[16];
831
- },
832
- m(r, c) {
833
- C(r, e, c), p(e, i), a || (u = X(
834
- e,
835
- "click",
836
- /*submitOtp*/
837
- n[31]
838
- ), a = !0);
839
- },
840
- p(r, c) {
841
- c[0] & /*$_*/
842
- 1048576 && t !== (t = /*$_*/
843
- r[20]("submit") + "") && A(i, t), c[0] & /*otp, config, isSubmitting, maxAttempts*/
844
- 81940 && l !== (l = /*otp*/
845
- r[2].join("").length !== /*config*/
846
- r[4].inputLength || /*isSubmitting*/
847
- r[14] || /*maxAttempts*/
848
- r[16]) && (e.disabled = l);
849
- },
850
- d(r) {
851
- r && S(e), a = !1, u();
852
- }
853
- };
854
- }
855
- function It(n) {
856
- let e, t = (
857
- /*$_*/
858
- n[20]("resendOtp") + ""
859
- ), i, l, a;
860
- return {
861
- c() {
862
- e = _("button"), i = z(t), s(e, "class", "OtpButton");
863
- },
864
- m(u, r) {
865
- C(u, e, r), p(e, i), l || (a = X(
866
- e,
867
- "click",
868
- /*handleResendOtp*/
869
- n[29]
870
- ), l = !0);
871
- },
872
- p(u, r) {
873
- r[0] & /*$_*/
874
- 1048576 && t !== (t = /*$_*/
875
- u[20]("resendOtp") + "") && A(i, t);
876
- },
877
- d(u) {
878
- u && S(e), l = !1, a();
879
- }
880
- };
881
- }
882
- function Lt(n) {
883
- let e;
884
- function t(a, u) {
885
- return (
886
- /*hasConfigErrors*/
887
- a[7] ? mt : ft
888
- );
889
- }
890
- let i = t(n), l = i(n);
891
- return {
892
- c() {
893
- e = _("div"), l.c(), s(e, "class", "OtpContent");
894
- },
895
- m(a, u) {
896
- C(a, e, u), l.m(e, null), n[46](e);
897
- },
898
- p(a, u) {
899
- i === (i = t(a)) && l ? l.p(a, u) : (l.d(1), l = i(a), l && (l.c(), l.m(e, null)));
900
- },
901
- i: me,
902
- o: me,
903
- d(a) {
904
- a && S(e), l.d(), n[46](null);
905
- }
906
- };
907
- }
908
- function Dt(n, e, t) {
909
- let i, l, a;
910
- nt(n, st, (o) => t(20, a = o));
911
- let { clientstyling: u = "" } = e, { clientstylingurl: r = "" } = e, { mbsource: c } = e, { lang: f = "en" } = e, { endpoint: g } = e, { session: I } = e, { translationurl: O } = e, { templateid: y } = e, v = [], m = !0, h = null, T = 0, M = "", L = "", V = !1, P = !1, E = "", d = "", k = "", x = !1, N = !1, $ = !1, B = "", F = {}, W = null, Y = !1, J = !1, ee = "", D = "", H = !1, he = "", G, Le, Q = [], U = null, ie = 0, le = !1, oe = !1;
912
- const re = { SMS: "sms", EMAIL: "email" }, ne = {
913
- MAX_ATTEMPTS_EXCEEDED: "gm.twofa.token_max_attempts_exceeded",
914
- INTERNAL_SERVER_ERROR: "gm.multifactorauthentication.internal_server_error",
915
- MAX_INVALIDATE: "gm.multifactorauthentication.challenge_internal_server_error"
916
- };
917
- Object.keys(Me).forEach((o) => {
918
- Ce(o, Me[o]);
919
- });
920
- const De = () => {
921
- dt(f);
922
- }, ze = () => {
923
- fetch(O).then((o) => o.json()).then((o) => {
924
- Object.keys(o).forEach((b) => {
925
- Ce(b, o[b]);
926
- });
927
- }).catch((o) => {
928
- console.log(o);
929
- });
930
- }, ge = async (o) => {
931
- if (o.detail?.["x-step-up-required"]) {
932
- if (t(7, P = !1), t(6, V = !1), t(8, E = ""), d = o.detail["x-step-up-token"], k = o.detail.flow, ee = o.detail.challengeSessionId || "", D = o.detail.authoriseUrl || "", t(13, J = k === "oidc"), !d || !k) {
933
- t(3, m = !1), t(7, P = !0), t(8, E = a("configError"));
934
- return;
935
- }
936
- t(12, Y = !1), t(3, m = !1);
937
- }
938
- }, Pe = () => {
939
- U && (clearInterval(U), U = null), W && (clearInterval(W), W = null), t(6, V = !1), t(7, P = !1), t(8, E = ""), t(10, N = !1), t(2, v = []), t(4, h = null), t(3, m = !0), t(0, B = ""), t(12, Y = !1), t(40, F = {}), t(13, J = !1), ee = "", D = "";
940
- }, be = () => {
941
- Pe();
942
- }, we = () => new Promise((o, b) => {
943
- const w = new URL(`${g}/api/pam/v1/mfa/challenge/${d}`), j = new Headers();
944
- j.append("accept", "application/json"), j.append("Content-Type", "application/json"), j.append("X-SessionId", `${I}`), t(17, oe = !0);
945
- const fe = {
946
- method: "PATCH",
947
- headers: j,
948
- body: JSON.stringify({
949
- channel: B,
950
- templateId: y
951
- })
952
- };
953
- fetch(w, fe).then((ke) => ke.json()).then(() => {
954
- t(16, le = !1), ae(), ce(), o();
955
- }).catch((ke) => {
956
- b();
957
- });
958
- }), Ae = () => {
959
- W && clearInterval(W), W = setInterval(
960
- () => {
961
- const o = { ...F };
962
- let b = !1;
963
- Object.keys(o).forEach((w) => {
964
- o[w] > 0 && (o[w]--, b = !0);
965
- }), t(40, F = o), !b && W && (clearInterval(W), W = null);
966
- },
967
- 1e3
968
- );
969
- }, se = (o) => {
970
- t(0, B = o);
971
- }, Re = () => {
972
- window.dispatchEvent(new CustomEvent(
973
- "oidcRedirectRequired",
974
- {
975
- detail: { authoriseUrl: D, challengeSessionId: ee, token: d }
976
- }
977
- ));
978
- }, xe = async () => {
979
- if (!(!B || F[B] && F[B] > 0)) {
980
- t(3, m = !0), y && y.startsWith("2fa-") && t(32, y = `2fa-${B}`);
981
- try {
982
- await we(), await pe(), t(40, F = {
983
- ...F,
984
- [B]: 30
985
- }), Ae(), t(12, Y = !0), ae(), ce();
986
- } catch (o) {
987
- console.error("Error submitting channel:", o), t(6, V = !0), t(8, E = a("submissionError"));
988
- } finally {
989
- t(3, m = !1);
990
- }
991
- }
992
- }, ae = () => {
993
- const o = new Date(M), b = new Date(L), w = /* @__PURE__ */ new Date(), j = b.getTime() - w.getTime();
994
- ie = o.getTime() - j;
995
- const te = Date.now(), fe = Math.max(0, Math.floor((ie - te) / 1e3));
996
- t(5, T = fe);
997
- }, ce = () => {
998
- U && clearInterval(U), U = setInterval(
999
- () => {
1000
- const o = Date.now(), b = Math.max(0, Math.floor((ie - o) / 1e3));
1001
- t(5, T = b), t(11, $ = b <= 0), b <= 0 && (clearInterval(U), U = null, t(9, x = !0), t(6, V = !1), t(10, N = !1));
1002
- },
1003
- 1e3
1004
- );
1005
- }, Ve = (o) => {
1006
- const b = Math.floor(o / 60), w = o % 60;
1007
- return `${b.toString().padStart(2, "0")}:${w.toString().padStart(2, "0")}`;
1008
- }, ue = (o, b) => {
1009
- const w = [...v];
1010
- w[o] = b.toUpperCase(), t(2, v = w), w.join("") !== he && t(14, H = !1);
1011
- }, Be = (o) => {
1012
- o.preventDefault();
1013
- const w = (o.clipboardData?.getData("text")?.trim() || "").slice(0, h.inputLength).split("");
1014
- t(2, v = [...w, ...Array(h.inputLength - w.length).fill("")]), Q[w.length]?.focus(), w.length === h.inputLength && de();
1015
- }, ve = (o, b) => {
1016
- const w = o.target, j = w.value;
1017
- /^[a-z0-9]$/i.test(j) && (ue(b, j), Q[b + 1]?.focus()), w.value = "";
1018
- }, _e = (o, b) => {
1019
- const w = o.key, j = o.ctrlKey || o.metaKey;
1020
- if (/^[a-z0-9]$/i.test(w)) {
1021
- if (j && w.toLowerCase() === "v")
1022
- return;
1023
- o.preventDefault(), ue(b, w), Q[b + 1]?.focus();
1024
- } else
1025
- w === "Backspace" ? (o.preventDefault(), v[b] !== "" && ue(b, ""), Q[b - 1]?.focus()) : w === "Enter" && (o.preventDefault(), de());
1026
- }, We = () => {
1027
- k == "stateful" && (we(), t(9, x = !1));
1028
- const o = new CustomEvent("otpResendRequested");
1029
- window.dispatchEvent(o);
1030
- }, He = (o) => {
1031
- window.dispatchEvent(new CustomEvent(
1032
- "otpSubmitted",
1033
- {
1034
- detail: {
1035
- code: o,
1036
- maxAttempts: h.maxValidationAttempts,
1037
- validatedAttempts: h.numberOfValidateAttempts
1038
- }
1039
- }
1040
- ));
1041
- }, je = async (o) => {
1042
- const b = new URL(`/api/nwa/api/v1/mfa/challenge/${d}/validate`, g);
1043
- b.searchParams.append("input", o);
1044
- try {
1045
- const w = await fetch(b.href, { method: "POST" });
1046
- if (w.status === 200) {
1047
- Fe();
1048
- return;
1049
- }
1050
- const j = await w.json();
1051
- throw new Error(j.message);
1052
- } catch (w) {
1053
- if (await pe(), w.message === ne.INTERNAL_SERVER_ERROR) {
1054
- if (h.numberOfValidateAttempts === h.maxValidationAttempts - 1) {
1055
- window.dispatchEvent(new CustomEvent("otpSetTimeout")), window.postMessage(
1056
- {
1057
- type: "WidgetNotification",
1058
- data: {
1059
- type: "error",
1060
- message: a("accountBlocked")
1061
- }
1062
- },
1063
- window.location.href
1064
- ), window.dispatchEvent(new CustomEvent("manualClosePopup"));
1065
- return;
1066
- }
1067
- t(6, V = !0), t(8, E = a("invalidOtp")), pe();
1068
- return;
1069
- }
1070
- w.message === ne.MAX_INVALIDATE && (t(6, V = !0), t(8, E = a("invalidOtp"))), w.details === ne.MAX_ATTEMPTS_EXCEEDED && t(16, le = !0), console.error("OTP submission failed:", w), t(6, V = !0), t(8, E = a("submissionError"));
1071
- } finally {
1072
- t(3, m = !1);
1073
- }
1074
- }, Fe = () => {
1075
- window.dispatchEvent(new CustomEvent(
1076
- "otpSuccess",
1077
- {
1078
- detail: {
1079
- message: "User successfully authenticated"
1080
- }
1081
- }
1082
- ));
1083
- }, Ne = () => {
1084
- window.dispatchEvent(new CustomEvent("manualClosePopup"));
1085
- }, de = async () => {
1086
- if (v.join("").length !== h.inputLength) {
1087
- t(6, V = !0), t(8, E = a("invalidOtp"));
1088
- return;
1089
- }
1090
- const o = v.join("");
1091
- t(14, H = !0), he = o, t(3, m = !0), t(6, V = !1), t(8, E = ""), k === "stateless" && He(o), k === "stateful" && await je(o);
1092
- }, pe = async () => {
1093
- if (g)
1094
- try {
1095
- t(3, m = !0);
1096
- const o = new URL(`/api/nwa/api/v1/mfa/challenge/${d}/config`, g), b = await fetch(o.href), w = await b.json();
1097
- if (b.ok)
1098
- t(4, h = w), t(2, v = Array(h.inputLength).fill("")), t(9, x = !1), M = h.expirationTime, L = h.serverTime, h.numberOfValidateAttempts !== 0 && (t(6, V = !0), t(8, E = a("invalidOtp"))), h.numberOfValidateAttempts === h.maxValidationAttempts - 1 && t(10, N = !0), t(3, m = !1), ae(), ce(), t(17, oe = !1);
1099
- else if (w && w.details === ne.MAX_ATTEMPTS_EXCEEDED)
1100
- window.dispatchEvent(new CustomEvent("manualClosePopup"));
1101
- else {
1102
- const j = w && w.message || `Failed to load config. Status: ${b.status}`;
1103
- throw new Error(j);
1104
- }
1105
- } catch (o) {
1106
- t(3, m = !1), t(7, P = !0), t(8, E = a("configError")), window.dispatchEvent(new CustomEvent("2fa-loading", { detail: { isLoading: !1 } })), console.error("Error loading 2FA config:", o);
1107
- }
1108
- };
1109
- it(() => (window.addEventListener("stepUpAuthRequired", ge, !1), window.addEventListener("closePopup", be, !1), () => {
1110
- window.removeEventListener("stepUpAuthRequired", ge), window.removeEventListener("closePopup", be, !1), U && clearInterval(U), W && clearInterval(W);
1111
- }));
1112
- const Ue = () => se(re.SMS), Ke = () => se(re.EMAIL);
1113
- function qe(o, b) {
1114
- ye[o ? "unshift" : "push"](() => {
1115
- Q[b] = o, t(15, Q);
1116
- });
1117
- }
1118
- const Xe = (o, b) => ve(b, o), Ge = (o, b) => _e(b, o);
1119
- function Ye(o) {
1120
- ye[o ? "unshift" : "push"](() => {
1121
- G = o, t(1, G);
1122
- });
1123
- }
1124
- return n.$$set = (o) => {
1125
- "clientstyling" in o && t(33, u = o.clientstyling), "clientstylingurl" in o && t(34, r = o.clientstylingurl), "mbsource" in o && t(35, c = o.mbsource), "lang" in o && t(36, f = o.lang), "endpoint" in o && t(37, g = o.endpoint), "session" in o && t(38, I = o.session), "translationurl" in o && t(39, O = o.translationurl), "templateid" in o && t(32, y = o.templateid);
1126
- }, n.$$.update = () => {
1127
- n.$$.dirty[0] & /*customStylingContainer*/
1128
- 2 | n.$$.dirty[1] & /*clientstyling*/
1129
- 4 && u && G && at(G, u), n.$$.dirty[0] & /*customStylingContainer*/
1130
- 2 | n.$$.dirty[1] & /*clientstylingurl*/
1131
- 8 && r && G && ct(G, r), n.$$.dirty[0] & /*customStylingContainer*/
1132
- 2 | n.$$.dirty[1] & /*mbsource*/
1133
- 16 && c && G && ut(G, `${c}.Style`, Le), n.$$.dirty[1] & /*lang*/
1134
- 32 && f && De(), n.$$.dirty[1] & /*lang, translationurl*/
1135
- 288 && f && O && ze(), n.$$.dirty[0] & /*selectedChannel*/
1136
- 1 | n.$$.dirty[1] & /*channelSubmitTimers*/
1137
- 512 && t(19, i = B && (!F[B] || F[B] === 0)), n.$$.dirty[0] & /*selectedChannel*/
1138
- 1 | n.$$.dirty[1] & /*channelSubmitTimers*/
1139
- 512 && t(18, l = B && F[B] || 0);
1140
- }, [
1141
- B,
1142
- G,
1143
- v,
1144
- m,
1145
- h,
1146
- T,
1147
- V,
1148
- P,
1149
- E,
1150
- x,
1151
- N,
1152
- $,
1153
- Y,
1154
- J,
1155
- H,
1156
- Q,
1157
- le,
1158
- oe,
1159
- l,
1160
- i,
1161
- a,
1162
- re,
1163
- se,
1164
- Re,
1165
- xe,
1166
- Ve,
1167
- Be,
1168
- ve,
1169
- _e,
1170
- We,
1171
- Ne,
1172
- de,
1173
- y,
1174
- u,
1175
- r,
1176
- c,
1177
- f,
1178
- g,
1179
- I,
1180
- O,
1181
- F,
1182
- Ue,
1183
- Ke,
1184
- qe,
1185
- Xe,
1186
- Ge,
1187
- Ye
1188
- ];
1189
- }
1190
- class zt extends Qe {
1191
- constructor(e) {
1192
- super(), $e(
1193
- this,
1194
- e,
1195
- Dt,
1196
- Lt,
1197
- et,
1198
- {
1199
- clientstyling: 33,
1200
- clientstylingurl: 34,
1201
- mbsource: 35,
1202
- lang: 36,
1203
- endpoint: 37,
1204
- session: 38,
1205
- translationurl: 39,
1206
- templateid: 32
1207
- },
1208
- pt,
1209
- [-1, -1, -1]
1210
- );
1211
- }
1212
- get clientstyling() {
1213
- return this.$$.ctx[33];
1214
- }
1215
- set clientstyling(e) {
1216
- this.$$set({ clientstyling: e }), Z();
1217
- }
1218
- get clientstylingurl() {
1219
- return this.$$.ctx[34];
1220
- }
1221
- set clientstylingurl(e) {
1222
- this.$$set({ clientstylingurl: e }), Z();
1223
- }
1224
- get mbsource() {
1225
- return this.$$.ctx[35];
1226
- }
1227
- set mbsource(e) {
1228
- this.$$set({ mbsource: e }), Z();
1229
- }
1230
- get lang() {
1231
- return this.$$.ctx[36];
1232
- }
1233
- set lang(e) {
1234
- this.$$set({ lang: e }), Z();
1235
- }
1236
- get endpoint() {
1237
- return this.$$.ctx[37];
1238
- }
1239
- set endpoint(e) {
1240
- this.$$set({ endpoint: e }), Z();
1241
- }
1242
- get session() {
1243
- return this.$$.ctx[38];
1244
- }
1245
- set session(e) {
1246
- this.$$set({ session: e }), Z();
1247
- }
1248
- get translationurl() {
1249
- return this.$$.ctx[39];
1250
- }
1251
- set translationurl(e) {
1252
- this.$$set({ translationurl: e }), Z();
1253
- }
1254
- get templateid() {
1255
- return this.$$.ctx[32];
1256
- }
1257
- set templateid(e) {
1258
- this.$$set({ templateid: e }), Z();
1259
- }
1260
- }
1261
- rt(zt, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, endpoint: {}, session: {}, translationurl: {}, templateid: {} }, [], [], !0);
1262
- export {
1263
- zt as default
1264
- };