@everymatrix/cashier-page 1.98.7 → 1.98.9
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.
- package/components/{CashierCarousel-CLl1dEO0.js → CashierCarousel-BzdUV7XF.js} +160 -136
- package/components/{CashierCarousel-jiScaw1m.js → CashierCarousel-FFsdS-lS.js} +166 -142
- package/components/CashierCarousel-zmZZjXPR.cjs +1 -0
- package/components/{CashierError-BgzGU74G.js → CashierError-DM9cHWYk.js} +282 -178
- package/components/{CashierError-nb2MHtLH.cjs → CashierError-DtmAFp4L.cjs} +1 -1
- package/components/{CashierError-ulLnVgQF.js → CashierError-R9QTGjHi.js} +282 -178
- package/components/{CashierHeader-DEksQqYQ.js → CashierHeader-BGa8_twf.js} +144 -130
- package/components/{CashierHeader-jQ2-E617.js → CashierHeader-BoWdCzOy.js} +144 -130
- package/components/CashierHeader-DL7CeVPX.cjs +1 -0
- package/components/{CashierIframeRedirect-BUy5m6fN.js → CashierIframeRedirect-BGDgKj5q.js} +38 -32
- package/components/{CashierIframeRedirect-CyY79191.js → CashierIframeRedirect-ByL4GN6L.js} +38 -32
- package/components/CashierIframeRedirect-DwOnILP1.cjs +1 -0
- package/components/{CashierMethodDetails-DmHKHr2M.cjs → CashierMethodDetails-CMadBp5s.cjs} +4 -4
- package/components/{CashierMethodDetails-BHGrCcE3.js → CashierMethodDetails-DgFi6GOg.js} +1345 -1149
- package/components/{CashierMethodDetails-B-klrcoA.js → CashierMethodDetails-DwAKidqM.js} +1500 -1304
- package/components/{CashierMethodsList-u11i0SYf.js → CashierMethodsList-B0Y7Ov2y.js} +136 -112
- package/components/CashierMethodsList-BKSWzfhx.cjs +1 -0
- package/components/{CashierMethodsList-KXr3hScy.js → CashierMethodsList-BttlgP8I.js} +152 -128
- package/components/{CashierModal-Ke9TZX5s.js → CashierModal-BAqyZ3yN.js} +2 -2
- package/components/{CashierModal-4iF9ylQT.js → CashierModal-CTEreymk.js} +2 -2
- package/components/{CashierModal-CcawnfUI.cjs → CashierModal-DYiiDdjF.cjs} +1 -1
- package/components/{CashierNotifications-DquKOU8w.js → CashierNotifications-5vMGexnB.js} +1 -1
- package/components/{CashierNotifications-CY2B13Wf.js → CashierNotifications-C9DAtUCd.js} +1 -1
- package/components/{CashierNotifications-wQG099OX.cjs → CashierNotifications-DeciL3hL.cjs} +1 -1
- package/components/{CashierPage-895aolw0.js → CashierPage-Cyh00U_t.js} +1216 -1118
- package/components/{CashierPage-DEYpTaJv.cjs → CashierPage-Datx6Ztd.cjs} +6 -6
- package/components/{CashierPage-Bz6JgmrH.js → CashierPage-DmSMSwFD.js} +712 -614
- package/components/{CashierReceiptPage-CGcmTBRp.js → CashierReceiptPage-2QLgzHKu.js} +486 -302
- package/components/{CashierReceiptPage-BCh5OfiT.cjs → CashierReceiptPage-CljAf_RX.cjs} +2 -2
- package/components/{CashierReceiptPage-DNsdCwQQ.js → CashierReceiptPage-zipsq7HA.js} +483 -299
- package/components/{CashierSessionExpirationModal-i5NfYzNE.js → CashierSessionExpirationModal-BHUuaz3G.js} +141 -125
- package/components/CashierSessionExpirationModal-BhdcM6-i.cjs +2 -0
- package/components/{CashierSessionExpirationModal-IfrOHdOp.js → CashierSessionExpirationModal-CPiyWnR6.js} +141 -125
- package/components/{CashierSpinner-bOYmQpsr.js → CashierSpinner-CfN6GP0k.js} +2 -2
- package/components/{CashierSpinner-CKdmXXKt.cjs → CashierSpinner-DK9MV_jW.cjs} +1 -1
- package/components/{CashierSpinner-C9Ra-0IT.js → CashierSpinner-DlmmgiCp.js} +2 -2
- package/components/{CashierStepUp-B3Ph1OSf.js → CashierStepUp-D4IutqnI.js} +397 -351
- package/components/{CashierStepUp-CKae09kD.js → CashierStepUp-DBkCHzU6.js} +371 -325
- package/components/CashierStepUp-f6d-L0Pv.cjs +1 -0
- package/components/{CashierTransactionHistory-_uQpfmaM.js → CashierTransactionHistory-Bfx6cEFg.js} +522 -472
- package/components/{CashierTransactionHistory-DkPMVofl.js → CashierTransactionHistory-BmgU4GU7.js} +494 -444
- package/components/CashierTransactionHistory-Bxd87eQt.cjs +1 -0
- package/components/CashierVerifications-B-u47VhR.cjs +1 -0
- package/components/{CashierVerifications-CA42knBf.js → CashierVerifications-Bi_7cW9r.js} +256 -210
- package/components/{CashierVerifications-C3vBxGTw.js → CashierVerifications-UTO3n0Ei.js} +245 -199
- package/components/{TxnStatusIcon-T3_oGTiJ.js → TxnStatusIcon-CDynHfdT.js} +1 -1
- package/components/{TxnStatusIcon-_ohfqibs.js → TxnStatusIcon-XWXNjZi6.js} +1 -1
- package/components/{TxnStatusIcon-ObLzHWKw.cjs → TxnStatusIcon-xNz_TX3o.cjs} +1 -1
- package/components/{TxnTypeIcons-DhQNGQt2.js → TxnTypeIcons-Bui9VGqk.js} +1 -1
- package/components/{TxnTypeIcons-gD4j8VCB.js → TxnTypeIcons-D0YhmAk8.js} +1 -1
- package/components/{TxnTypeIcons-mX1zqVBL.cjs → TxnTypeIcons-D3xjja9q.cjs} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-Dh5Q3q4o.cjs +0 -1
- package/components/CashierHeader-DA_ReO25.cjs +0 -1
- package/components/CashierIframeRedirect-CB1_eaMN.cjs +0 -1
- package/components/CashierMethodsList-BvOniQPF.cjs +0 -1
- package/components/CashierSessionExpirationModal-CIrMZkSD.cjs +0 -2
- package/components/CashierStepUp-DIQ9DrxX.cjs +0 -1
- package/components/CashierTransactionHistory-Bkqw8dMT.cjs +0 -1
- package/components/CashierVerifications-BZPBsrmc.cjs +0 -1
|
@@ -2,37 +2,37 @@ var Qe = Object.defineProperty, $e = Object.defineProperties;
|
|
|
2
2
|
var et = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Me = Object.getOwnPropertySymbols;
|
|
4
4
|
var tt = Object.prototype.hasOwnProperty, nt = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Te = (n, t, e) => t in n ? Qe(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e,
|
|
5
|
+
var Te = (n, t, e) => t in n ? Qe(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, _e = (n, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
7
|
tt.call(t, e) && Te(n, e, t[e]);
|
|
8
8
|
if (Me)
|
|
9
9
|
for (var e of Me(t))
|
|
10
10
|
nt.call(t, e) && Te(n, e, t[e]);
|
|
11
11
|
return n;
|
|
12
|
-
},
|
|
13
|
-
var me = (n, t, e) => new Promise((i,
|
|
14
|
-
var a = (
|
|
12
|
+
}, ze = (n, t) => $e(n, et(t));
|
|
13
|
+
var me = (n, t, e) => new Promise((i, o) => {
|
|
14
|
+
var a = (d) => {
|
|
15
15
|
try {
|
|
16
|
-
s(e.next(
|
|
16
|
+
s(e.next(d));
|
|
17
17
|
} catch (f) {
|
|
18
|
-
|
|
18
|
+
o(f);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, c = (d) => {
|
|
21
21
|
try {
|
|
22
|
-
s(e.throw(
|
|
22
|
+
s(e.throw(d));
|
|
23
23
|
} catch (f) {
|
|
24
|
-
|
|
24
|
+
o(f);
|
|
25
25
|
}
|
|
26
|
-
}, s = (
|
|
26
|
+
}, s = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(a, c);
|
|
27
27
|
s((e = e.apply(n, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a as it, $ as
|
|
30
|
-
import { s as gt, a as ht, b as bt } from "./CashierHeader-
|
|
29
|
+
import { a as it, $ as ot, S as rt, b as lt, s as st, f as re, c as at, y as Se, e as O, k as C, m as k, o as l, p as dt, q as ct, x as Le, v as D, l as p, z as te, Q as Y, n as x, w as z, F as Be, L as J, r as ut, D as Pe, E as pt, A as ft, B as mt } from "./CashierPage-Cyh00U_t.js";
|
|
30
|
+
import { s as gt, a as ht, b as bt } from "./CashierHeader-BGa8_twf.js";
|
|
31
31
|
function Ae(n, t) {
|
|
32
32
|
it(n, t);
|
|
33
33
|
}
|
|
34
34
|
function wt(n) {
|
|
35
|
-
|
|
35
|
+
ot.set(n);
|
|
36
36
|
}
|
|
37
37
|
const Ie = {
|
|
38
38
|
en: {
|
|
@@ -172,6 +172,52 @@ const Ie = {
|
|
|
172
172
|
channelEmail: "E-mail",
|
|
173
173
|
sendCode: "Code verzenden",
|
|
174
174
|
waitSeconds: "Wacht even voordat u opnieuw verzendt:"
|
|
175
|
+
},
|
|
176
|
+
ru: {
|
|
177
|
+
otpTitle: "Требуется подтверждение кода",
|
|
178
|
+
popupMessage: "Пожалуйста, введите код безопасности, полученный по SMS/на электронную почту, чтобы выполнить обновление.",
|
|
179
|
+
popupMessageLastWarning: "Если следующая попытка проверки не удастся, ваша операция завершится ошибкой, и вы будете возвращены к способу оплаты.",
|
|
180
|
+
minutes: "минут",
|
|
181
|
+
errorHeader: "Ошибка",
|
|
182
|
+
configError: "Не удалось загрузить данные OTP. Пожалуйста, попробуйте позже.",
|
|
183
|
+
otpHeading: "Введите OTP",
|
|
184
|
+
resendOtp: "Отправить OTP повторно",
|
|
185
|
+
submit: "Отправить",
|
|
186
|
+
close: "Закрыть",
|
|
187
|
+
invalidOtp: "Отправленный вами код недействителен. Пожалуйста, попробуйте снова.",
|
|
188
|
+
accountBlocked: "Слишком много попыток ввода OTP. Ваш аккаунт заблокирован на один час.",
|
|
189
|
+
submissionError: "Что-то пошло не так. Пожалуйста, попробуйте снова.",
|
|
190
|
+
otpExpiredMessage: "Код подтверждения истёк, пожалуйста, запросите новый, чтобы продолжить.",
|
|
191
|
+
timeRemaining: "Код истекает через:",
|
|
192
|
+
selectChannelTitle: "Выберите способ подтверждения",
|
|
193
|
+
selectChannelMessage: "Выберите, как вы хотите получить код подтверждения",
|
|
194
|
+
channelSMS: "SMS",
|
|
195
|
+
channelEmail: "Email",
|
|
196
|
+
sendCode: "Отправить код",
|
|
197
|
+
waitSeconds: "Пожалуйста, подождите перед повторной отправкой:"
|
|
198
|
+
},
|
|
199
|
+
az: {
|
|
200
|
+
otpTitle: "Kod təsdiqi tələb olunur",
|
|
201
|
+
popupMessage: "Yeniləməni icra etmək üçün SMS/e-poçt ünvanınıza göndərilən təhlükəsizlik kodunu daxil edin.",
|
|
202
|
+
popupMessageLastWarning: "Növbəti təsdiqləmə cəhdi baş tutmasa, əməliyyatınız alınmayacaq və ödəniş üsuluna qaytarılacaqsınız.",
|
|
203
|
+
minutes: "dəqiqə",
|
|
204
|
+
errorHeader: "Xəta",
|
|
205
|
+
configError: "OTP məlumatları yüklənə bilmədi. Zəhmət olmasa sonra yenidən cəhd edin.",
|
|
206
|
+
otpHeading: "OTP daxil edin",
|
|
207
|
+
resendOtp: "OTP-ni yenidən göndər",
|
|
208
|
+
submit: "Göndər",
|
|
209
|
+
close: "Bağla",
|
|
210
|
+
invalidOtp: "Göndərdiyiniz kod yalnışdır. Zəhmət olmasa yenidən cəhd edin.",
|
|
211
|
+
accountBlocked: "OTP üçün çox sayda cəhd edildi. Hesabınız bir saat müddətinə bloklanıb.",
|
|
212
|
+
submissionError: "Nəsə səhv getdi. Zəhmət olmasa yenidən cəhd edin.",
|
|
213
|
+
otpExpiredMessage: "Təsdiqləmə kodunun müddəti bitib, davam etmək üçün yenisini tələb edin.",
|
|
214
|
+
timeRemaining: "Kodun müddəti bitir:",
|
|
215
|
+
selectChannelTitle: "Təsdiqləmə üsulunu seçin",
|
|
216
|
+
selectChannelMessage: "Təsdiqləmə kodunuzu necə almaq istədiyinizi seçin",
|
|
217
|
+
channelSMS: "SMS",
|
|
218
|
+
channelEmail: "E-poçt",
|
|
219
|
+
sendCode: "Kodu göndər",
|
|
220
|
+
waitSeconds: "Yenidən göndərmədən əvvəl zəhmət olmasa gözləyin:"
|
|
175
221
|
}
|
|
176
222
|
};
|
|
177
223
|
function vt(n) {
|
|
@@ -181,43 +227,43 @@ function Re(n, t, e) {
|
|
|
181
227
|
const i = n.slice();
|
|
182
228
|
return i[69] = t[e], i[70] = t, i[71] = e, i;
|
|
183
229
|
}
|
|
184
|
-
function
|
|
185
|
-
let t, e, i,
|
|
230
|
+
function yt(n) {
|
|
231
|
+
let t, e, i, o, a, c, s, d, f, v, w, T, M, b, m, y, S, A = (
|
|
186
232
|
/*$_*/
|
|
187
233
|
n[19]("channelSMS") + ""
|
|
188
|
-
), X, N, H, I, ne,
|
|
234
|
+
), X, N, H, I, ne, F, Q, le, $, E, L, W, se, ae, de = (
|
|
189
235
|
/*$_*/
|
|
190
236
|
n[19]("channelEmail") + ""
|
|
191
|
-
),
|
|
192
|
-
function pe(u,
|
|
237
|
+
), K, ge, U, j, Z, ce, ue;
|
|
238
|
+
function pe(u, _) {
|
|
193
239
|
return (
|
|
194
240
|
/*showResendOtp*/
|
|
195
|
-
u[9] ?
|
|
241
|
+
u[9] ? Et : (
|
|
196
242
|
/*showOtpInput*/
|
|
197
|
-
u[12] ?
|
|
243
|
+
u[12] ? _t : St
|
|
198
244
|
)
|
|
199
245
|
);
|
|
200
246
|
}
|
|
201
|
-
let ee = pe(n), G = ee(n),
|
|
247
|
+
let ee = pe(n), G = ee(n), q = (
|
|
202
248
|
/*selectedChannel*/
|
|
203
|
-
n[0] &&
|
|
249
|
+
n[0] && De(n)
|
|
204
250
|
);
|
|
205
|
-
function he(u,
|
|
251
|
+
function he(u, _) {
|
|
206
252
|
if (
|
|
207
253
|
/*isLoading*/
|
|
208
254
|
u[3] && /*showOtpInput*/
|
|
209
255
|
u[12]
|
|
210
256
|
)
|
|
211
|
-
return
|
|
257
|
+
return Lt;
|
|
212
258
|
if (
|
|
213
259
|
/*showOtpInput*/
|
|
214
260
|
u[12] && /*config*/
|
|
215
261
|
u[4]
|
|
216
262
|
)
|
|
217
|
-
return
|
|
263
|
+
return zt;
|
|
218
264
|
}
|
|
219
265
|
let ie = he(n), V = ie && ie(n);
|
|
220
|
-
function be(u,
|
|
266
|
+
function be(u, _) {
|
|
221
267
|
if (
|
|
222
268
|
/*showResendOtp*/
|
|
223
269
|
u[9]
|
|
@@ -230,20 +276,20 @@ function _t(n) {
|
|
|
230
276
|
)
|
|
231
277
|
return Pt;
|
|
232
278
|
}
|
|
233
|
-
let
|
|
279
|
+
let oe = be(n), R = oe && oe(n);
|
|
234
280
|
return {
|
|
235
281
|
c() {
|
|
236
|
-
t = k("div"), G.c(), e =
|
|
282
|
+
t = k("div"), G.c(), e = x(), i = k("div"), o = k("label"), a = k("div"), c = x(), s = k("input"), f = x(), v = k("div"), w = Y("svg"), T = Y("path"), M = Y("circle"), b = Y("circle"), m = Y("circle"), y = x(), S = k("span"), X = z(A), N = x(), H = k("label"), I = k("div"), ne = x(), F = k("input"), le = x(), $ = k("div"), E = Y("svg"), L = Y("rect"), W = Y("path"), se = x(), ae = k("span"), K = z(de), ge = x(), q && q.c(), U = x(), V && V.c(), j = x(), Z = k("div"), R && R.c(), l(t, "class", "OtpDescription"), l(a, "class", "RadioIndicator"), J(
|
|
237
283
|
a,
|
|
238
284
|
"checked",
|
|
239
285
|
/*selectedChannel*/
|
|
240
286
|
n[0] === /*channels*/
|
|
241
287
|
n[20].SMS
|
|
242
288
|
), l(s, "type", "radio"), l(s, "name", "channel"), s.value = /*channels*/
|
|
243
|
-
n[20].SMS, s.checked =
|
|
289
|
+
n[20].SMS, s.checked = d = /*selectedChannel*/
|
|
244
290
|
n[0] === /*channels*/
|
|
245
|
-
n[20].SMS, l(T, "d", "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"), l(M, "cx", "9"), l(M, "cy", "11"), l(M, "r", "0.5"), l(M, "fill", "currentColor"), l(b, "cx", "12"), l(b, "cy", "11"), l(b, "r", "0.5"), l(b, "fill", "currentColor"), l(m, "cx", "15"), l(m, "cy", "11"), l(m, "r", "0.5"), l(m, "fill", "currentColor"), l(w, "xmlns", "http://www.w3.org/2000/svg"), l(w, "width", "24"), l(w, "height", "24"), l(w, "viewBox", "0 0 24 24"), l(w, "fill", "none"), l(w, "stroke", "currentColor"), l(w, "stroke-width", "2"), l(w, "stroke-linecap", "round"), l(w, "stroke-linejoin", "round"), l(v, "class", "ChannelContent"), l(
|
|
246
|
-
|
|
291
|
+
n[20].SMS, l(T, "d", "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"), l(M, "cx", "9"), l(M, "cy", "11"), l(M, "r", "0.5"), l(M, "fill", "currentColor"), l(b, "cx", "12"), l(b, "cy", "11"), l(b, "r", "0.5"), l(b, "fill", "currentColor"), l(m, "cx", "15"), l(m, "cy", "11"), l(m, "r", "0.5"), l(m, "fill", "currentColor"), l(w, "xmlns", "http://www.w3.org/2000/svg"), l(w, "width", "24"), l(w, "height", "24"), l(w, "viewBox", "0 0 24 24"), l(w, "fill", "none"), l(w, "stroke", "currentColor"), l(w, "stroke-width", "2"), l(w, "stroke-linecap", "round"), l(w, "stroke-linejoin", "round"), l(v, "class", "ChannelContent"), l(o, "class", "ChannelCheckbox"), J(
|
|
292
|
+
o,
|
|
247
293
|
"selected",
|
|
248
294
|
/*selectedChannel*/
|
|
249
295
|
n[0] === /*channels*/
|
|
@@ -254,19 +300,19 @@ function _t(n) {
|
|
|
254
300
|
/*selectedChannel*/
|
|
255
301
|
n[0] === /*channels*/
|
|
256
302
|
n[20].EMAIL
|
|
257
|
-
), l(
|
|
258
|
-
n[20].EMAIL,
|
|
303
|
+
), l(F, "type", "radio"), l(F, "name", "channel"), F.value = /*channels*/
|
|
304
|
+
n[20].EMAIL, F.checked = Q = /*selectedChannel*/
|
|
259
305
|
n[0] === /*channels*/
|
|
260
|
-
n[20].EMAIL, l(
|
|
306
|
+
n[20].EMAIL, l(L, "x", "2"), l(L, "y", "4"), l(L, "width", "20"), l(L, "height", "16"), l(L, "rx", "2"), l(W, "d", "m2 7 10 6 10-6"), l(E, "xmlns", "http://www.w3.org/2000/svg"), l(E, "width", "24"), l(E, "height", "24"), l(E, "viewBox", "0 0 24 24"), l(E, "fill", "none"), l(E, "stroke", "currentColor"), l(E, "stroke-width", "2"), l(E, "stroke-linecap", "round"), l(E, "stroke-linejoin", "round"), l($, "class", "ChannelContent"), l(H, "class", "ChannelCheckbox"), J(
|
|
261
307
|
H,
|
|
262
308
|
"selected",
|
|
263
309
|
/*selectedChannel*/
|
|
264
310
|
n[0] === /*channels*/
|
|
265
311
|
n[20].EMAIL
|
|
266
|
-
), l(i, "class", "ChannelSelection"), l(
|
|
312
|
+
), l(i, "class", "ChannelSelection"), l(Z, "class", "OtpActionButtons");
|
|
267
313
|
},
|
|
268
|
-
m(u,
|
|
269
|
-
|
|
314
|
+
m(u, _) {
|
|
315
|
+
C(u, t, _), G.m(t, null), C(u, e, _), C(u, i, _), p(i, o), p(o, a), p(o, c), p(o, s), p(o, f), p(o, v), p(v, w), p(w, T), p(w, M), p(w, b), p(w, m), p(v, y), p(v, S), p(S, X), p(i, N), p(i, H), p(H, I), p(H, ne), p(H, F), p(H, le), p(H, $), p($, E), p(E, L), p(E, W), p($, se), p($, ae), p(ae, K), C(u, ge, _), q && q.m(u, _), C(u, U, _), V && V.m(u, _), C(u, j, _), C(u, Z, _), R && R.m(Z, null), ce || (ue = [
|
|
270
316
|
te(
|
|
271
317
|
s,
|
|
272
318
|
"change",
|
|
@@ -274,46 +320,46 @@ function _t(n) {
|
|
|
274
320
|
n[39]
|
|
275
321
|
),
|
|
276
322
|
te(
|
|
277
|
-
|
|
323
|
+
F,
|
|
278
324
|
"change",
|
|
279
325
|
/*change_handler_1*/
|
|
280
326
|
n[40]
|
|
281
327
|
)
|
|
282
|
-
],
|
|
328
|
+
], ce = !0);
|
|
283
329
|
},
|
|
284
|
-
p(u,
|
|
285
|
-
ee === (ee = pe(u)) && G ? G.p(u,
|
|
330
|
+
p(u, _) {
|
|
331
|
+
ee === (ee = pe(u)) && G ? G.p(u, _) : (G.d(1), G = ee(u), G && (G.c(), G.m(t, null))), _[0] & /*selectedChannel, channels*/
|
|
286
332
|
1048577 && J(
|
|
287
333
|
a,
|
|
288
334
|
"checked",
|
|
289
335
|
/*selectedChannel*/
|
|
290
336
|
u[0] === /*channels*/
|
|
291
337
|
u[20].SMS
|
|
292
|
-
),
|
|
293
|
-
1 &&
|
|
338
|
+
), _[0] & /*selectedChannel*/
|
|
339
|
+
1 && d !== (d = /*selectedChannel*/
|
|
294
340
|
u[0] === /*channels*/
|
|
295
|
-
u[20].SMS) && (s.checked =
|
|
341
|
+
u[20].SMS) && (s.checked = d), _[0] & /*$_*/
|
|
296
342
|
524288 && A !== (A = /*$_*/
|
|
297
|
-
u[19]("channelSMS") + "") &&
|
|
343
|
+
u[19]("channelSMS") + "") && D(X, A), _[0] & /*selectedChannel, channels*/
|
|
298
344
|
1048577 && J(
|
|
299
|
-
|
|
345
|
+
o,
|
|
300
346
|
"selected",
|
|
301
347
|
/*selectedChannel*/
|
|
302
348
|
u[0] === /*channels*/
|
|
303
349
|
u[20].SMS
|
|
304
|
-
),
|
|
350
|
+
), _[0] & /*selectedChannel, channels*/
|
|
305
351
|
1048577 && J(
|
|
306
352
|
I,
|
|
307
353
|
"checked",
|
|
308
354
|
/*selectedChannel*/
|
|
309
355
|
u[0] === /*channels*/
|
|
310
356
|
u[20].EMAIL
|
|
311
|
-
),
|
|
357
|
+
), _[0] & /*selectedChannel*/
|
|
312
358
|
1 && Q !== (Q = /*selectedChannel*/
|
|
313
359
|
u[0] === /*channels*/
|
|
314
|
-
u[20].EMAIL) && (
|
|
315
|
-
524288 &&
|
|
316
|
-
u[19]("channelEmail") + "") &&
|
|
360
|
+
u[20].EMAIL) && (F.checked = Q), _[0] & /*$_*/
|
|
361
|
+
524288 && de !== (de = /*$_*/
|
|
362
|
+
u[19]("channelEmail") + "") && D(K, de), _[0] & /*selectedChannel, channels*/
|
|
317
363
|
1048577 && J(
|
|
318
364
|
H,
|
|
319
365
|
"selected",
|
|
@@ -321,81 +367,81 @@ function _t(n) {
|
|
|
321
367
|
u[0] === /*channels*/
|
|
322
368
|
u[20].EMAIL
|
|
323
369
|
), /*selectedChannel*/
|
|
324
|
-
u[0] ?
|
|
370
|
+
u[0] ? q ? q.p(u, _) : (q = De(u), q.c(), q.m(U.parentNode, U)) : q && (q.d(1), q = null), ie === (ie = he(u)) && V ? V.p(u, _) : (V && V.d(1), V = ie && ie(u), V && (V.c(), V.m(j.parentNode, j))), oe === (oe = be(u)) && R ? R.p(u, _) : (R && R.d(1), R = oe && oe(u), R && (R.c(), R.m(Z, null)));
|
|
325
371
|
},
|
|
326
372
|
d(u) {
|
|
327
|
-
u && (
|
|
373
|
+
u && (O(t), O(e), O(i), O(ge), O(U), O(j), O(Z)), G.d(), q && q.d(u), V && V.d(u), R && R.d(), ce = !1, Be(ue);
|
|
328
374
|
}
|
|
329
375
|
};
|
|
330
376
|
}
|
|
331
377
|
function kt(n) {
|
|
332
|
-
let t, e, i,
|
|
378
|
+
let t, e, i, o, a, c, s = (
|
|
333
379
|
/*$_*/
|
|
334
380
|
n[19]("errorHeader") + ""
|
|
335
|
-
),
|
|
381
|
+
), d, f, v, w, T, M, b = (
|
|
336
382
|
/*$_*/
|
|
337
383
|
n[19]("close") + ""
|
|
338
|
-
), m,
|
|
384
|
+
), m, y, S;
|
|
339
385
|
return {
|
|
340
386
|
c() {
|
|
341
|
-
t = k("div"), e = k("div"), i =
|
|
387
|
+
t = k("div"), e = k("div"), i = Y("svg"), o = Y("path"), a = x(), c = k("h2"), d = z(s), f = x(), v = k("p"), w = z(
|
|
342
388
|
/*errorMessage*/
|
|
343
389
|
n[8]
|
|
344
|
-
), T =
|
|
390
|
+
), T = x(), M = k("button"), m = z(b), l(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"), l(i, "xmlns", "http://www.w3.org/2000/svg"), l(i, "viewBox", "0 0 512 512"), l(e, "class", "OtpErrorHeader"), l(M, "class", "OtpButton error"), l(t, "class", "OtpError");
|
|
345
391
|
},
|
|
346
392
|
m(A, X) {
|
|
347
|
-
|
|
393
|
+
C(A, t, X), p(t, e), p(e, i), p(i, o), p(e, a), p(e, c), p(c, d), p(t, f), p(t, v), p(v, w), p(t, T), p(t, M), p(M, m), y || (S = te(
|
|
348
394
|
M,
|
|
349
395
|
"click",
|
|
350
396
|
/*manualClosePopup*/
|
|
351
397
|
n[28]
|
|
352
|
-
),
|
|
398
|
+
), y = !0);
|
|
353
399
|
},
|
|
354
400
|
p(A, X) {
|
|
355
401
|
X[0] & /*$_*/
|
|
356
402
|
524288 && s !== (s = /*$_*/
|
|
357
|
-
A[19]("errorHeader") + "") &&
|
|
358
|
-
256 &&
|
|
403
|
+
A[19]("errorHeader") + "") && D(d, s), X[0] & /*errorMessage*/
|
|
404
|
+
256 && D(
|
|
359
405
|
w,
|
|
360
406
|
/*errorMessage*/
|
|
361
407
|
A[8]
|
|
362
408
|
), X[0] & /*$_*/
|
|
363
409
|
524288 && b !== (b = /*$_*/
|
|
364
|
-
A[19]("close") + "") &&
|
|
410
|
+
A[19]("close") + "") && D(m, b);
|
|
365
411
|
},
|
|
366
412
|
d(A) {
|
|
367
|
-
A &&
|
|
413
|
+
A && O(t), y = !1, S();
|
|
368
414
|
}
|
|
369
415
|
};
|
|
370
416
|
}
|
|
371
|
-
function
|
|
372
|
-
let t, e, i,
|
|
417
|
+
function _t(n) {
|
|
418
|
+
let t, e, i, o;
|
|
373
419
|
function a(f, v) {
|
|
374
420
|
return (
|
|
375
421
|
/*isLastWarning*/
|
|
376
|
-
f[10] ?
|
|
422
|
+
f[10] ? Ct : Ot
|
|
377
423
|
);
|
|
378
424
|
}
|
|
379
|
-
let
|
|
425
|
+
let c = a(n), s = c(n), d = (
|
|
380
426
|
/*hasErrors*/
|
|
381
|
-
n[6] &&
|
|
427
|
+
n[6] && xe(n)
|
|
382
428
|
);
|
|
383
429
|
return {
|
|
384
430
|
c() {
|
|
385
|
-
t = k("p"), s.c(), i =
|
|
431
|
+
t = k("p"), s.c(), i = x(), d && d.c(), o = ut(), l(t, "class", e = /*isLastWarning*/
|
|
386
432
|
n[10] ? "LastWarningMessage" : "");
|
|
387
433
|
},
|
|
388
434
|
m(f, v) {
|
|
389
|
-
|
|
435
|
+
C(f, t, v), s.m(t, null), C(f, i, v), d && d.m(f, v), C(f, o, v);
|
|
390
436
|
},
|
|
391
437
|
p(f, v) {
|
|
392
|
-
|
|
438
|
+
c === (c = a(f)) && s ? s.p(f, v) : (s.d(1), s = c(f), s && (s.c(), s.m(t, null))), v[0] & /*isLastWarning*/
|
|
393
439
|
1024 && e !== (e = /*isLastWarning*/
|
|
394
440
|
f[10] ? "LastWarningMessage" : "") && l(t, "class", e), /*hasErrors*/
|
|
395
|
-
f[6] ?
|
|
441
|
+
f[6] ? d ? d.p(f, v) : (d = xe(f), d.c(), d.m(o.parentNode, o)) : d && (d.d(1), d = null);
|
|
396
442
|
},
|
|
397
443
|
d(f) {
|
|
398
|
-
f && (
|
|
444
|
+
f && (O(t), O(i), O(o)), s.d(), d && d.d(f);
|
|
399
445
|
}
|
|
400
446
|
};
|
|
401
447
|
}
|
|
@@ -406,121 +452,121 @@ function St(n) {
|
|
|
406
452
|
), i;
|
|
407
453
|
return {
|
|
408
454
|
c() {
|
|
409
|
-
t = k("p"), i =
|
|
455
|
+
t = k("p"), i = z(e);
|
|
410
456
|
},
|
|
411
|
-
m(
|
|
412
|
-
|
|
457
|
+
m(o, a) {
|
|
458
|
+
C(o, t, a), p(t, i);
|
|
413
459
|
},
|
|
414
|
-
p(
|
|
460
|
+
p(o, a) {
|
|
415
461
|
a[0] & /*$_*/
|
|
416
462
|
524288 && e !== (e = /*$_*/
|
|
417
|
-
(
|
|
463
|
+
(o[19]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + "") && D(i, e);
|
|
418
464
|
},
|
|
419
|
-
d(
|
|
420
|
-
|
|
465
|
+
d(o) {
|
|
466
|
+
o && O(t);
|
|
421
467
|
}
|
|
422
468
|
};
|
|
423
469
|
}
|
|
424
|
-
function
|
|
470
|
+
function Et(n) {
|
|
425
471
|
let t, e = (
|
|
426
472
|
/*$_*/
|
|
427
473
|
n[19]("otpExpiredMessage") + ""
|
|
428
474
|
), i;
|
|
429
475
|
return {
|
|
430
476
|
c() {
|
|
431
|
-
t = k("p"), i =
|
|
477
|
+
t = k("p"), i = z(e), l(t, "class", "OtpNoticeMessage"), l(t, "role", "alert");
|
|
432
478
|
},
|
|
433
|
-
m(
|
|
434
|
-
|
|
479
|
+
m(o, a) {
|
|
480
|
+
C(o, t, a), p(t, i);
|
|
435
481
|
},
|
|
436
|
-
p(
|
|
482
|
+
p(o, a) {
|
|
437
483
|
a[0] & /*$_*/
|
|
438
484
|
524288 && e !== (e = /*$_*/
|
|
439
|
-
|
|
485
|
+
o[19]("otpExpiredMessage") + "") && D(i, e);
|
|
440
486
|
},
|
|
441
|
-
d(
|
|
442
|
-
|
|
487
|
+
d(o) {
|
|
488
|
+
o && O(t);
|
|
443
489
|
}
|
|
444
490
|
};
|
|
445
491
|
}
|
|
446
|
-
function
|
|
492
|
+
function Ot(n) {
|
|
447
493
|
let t = (
|
|
448
494
|
/*$_*/
|
|
449
495
|
n[19]("popupMessage") + ""
|
|
450
496
|
), e;
|
|
451
497
|
return {
|
|
452
498
|
c() {
|
|
453
|
-
e =
|
|
499
|
+
e = z(t);
|
|
454
500
|
},
|
|
455
|
-
m(i,
|
|
456
|
-
|
|
501
|
+
m(i, o) {
|
|
502
|
+
C(i, e, o);
|
|
457
503
|
},
|
|
458
|
-
p(i,
|
|
459
|
-
|
|
504
|
+
p(i, o) {
|
|
505
|
+
o[0] & /*$_*/
|
|
460
506
|
524288 && t !== (t = /*$_*/
|
|
461
|
-
i[19]("popupMessage") + "") &&
|
|
507
|
+
i[19]("popupMessage") + "") && D(e, t);
|
|
462
508
|
},
|
|
463
509
|
d(i) {
|
|
464
|
-
i &&
|
|
510
|
+
i && O(e);
|
|
465
511
|
}
|
|
466
512
|
};
|
|
467
513
|
}
|
|
468
|
-
function
|
|
514
|
+
function Ct(n) {
|
|
469
515
|
let t = (
|
|
470
516
|
/*$_*/
|
|
471
517
|
n[19]("popupMessageLastWarning") + ""
|
|
472
518
|
), e;
|
|
473
519
|
return {
|
|
474
520
|
c() {
|
|
475
|
-
e =
|
|
521
|
+
e = z(t);
|
|
476
522
|
},
|
|
477
|
-
m(i,
|
|
478
|
-
|
|
523
|
+
m(i, o) {
|
|
524
|
+
C(i, e, o);
|
|
479
525
|
},
|
|
480
|
-
p(i,
|
|
481
|
-
|
|
526
|
+
p(i, o) {
|
|
527
|
+
o[0] & /*$_*/
|
|
482
528
|
524288 && t !== (t = /*$_*/
|
|
483
|
-
i[19]("popupMessageLastWarning") + "") &&
|
|
529
|
+
i[19]("popupMessageLastWarning") + "") && D(e, t);
|
|
484
530
|
},
|
|
485
531
|
d(i) {
|
|
486
|
-
i &&
|
|
532
|
+
i && O(e);
|
|
487
533
|
}
|
|
488
534
|
};
|
|
489
535
|
}
|
|
490
|
-
function
|
|
536
|
+
function xe(n) {
|
|
491
537
|
let t, e;
|
|
492
538
|
return {
|
|
493
539
|
c() {
|
|
494
|
-
t = k("p"), e =
|
|
540
|
+
t = k("p"), e = z(
|
|
495
541
|
/*errorMessage*/
|
|
496
542
|
n[8]
|
|
497
543
|
), l(t, "class", "OtpErrorMessage"), l(t, "role", "alert");
|
|
498
544
|
},
|
|
499
|
-
m(i,
|
|
500
|
-
|
|
545
|
+
m(i, o) {
|
|
546
|
+
C(i, t, o), p(t, e);
|
|
501
547
|
},
|
|
502
|
-
p(i,
|
|
503
|
-
|
|
504
|
-
256 &&
|
|
548
|
+
p(i, o) {
|
|
549
|
+
o[0] & /*errorMessage*/
|
|
550
|
+
256 && D(
|
|
505
551
|
e,
|
|
506
552
|
/*errorMessage*/
|
|
507
553
|
i[8]
|
|
508
554
|
);
|
|
509
555
|
},
|
|
510
556
|
d(i) {
|
|
511
|
-
i &&
|
|
557
|
+
i && O(t);
|
|
512
558
|
}
|
|
513
559
|
};
|
|
514
560
|
}
|
|
515
|
-
function
|
|
516
|
-
let t, e, i,
|
|
517
|
-
function a(
|
|
561
|
+
function De(n) {
|
|
562
|
+
let t, e, i, o;
|
|
563
|
+
function a(d, f) {
|
|
518
564
|
return (
|
|
519
565
|
/*currentChannelTimer*/
|
|
520
|
-
|
|
566
|
+
d[17] > 0 ? Tt : Mt
|
|
521
567
|
);
|
|
522
568
|
}
|
|
523
|
-
let
|
|
569
|
+
let c = a(n), s = c(n);
|
|
524
570
|
return {
|
|
525
571
|
c() {
|
|
526
572
|
t = k("button"), s.c(), l(t, "class", "OtpButton"), t.disabled = e = !/*canSubmitChannel*/
|
|
@@ -528,24 +574,24 @@ function xe(n) {
|
|
|
528
574
|
n[18] || /*waitingForConfig*/
|
|
529
575
|
n[16]);
|
|
530
576
|
},
|
|
531
|
-
m(
|
|
532
|
-
|
|
577
|
+
m(d, f) {
|
|
578
|
+
C(d, t, f), s.m(t, null), i || (o = te(
|
|
533
579
|
t,
|
|
534
580
|
"click",
|
|
535
581
|
/*handleChannelSubmit*/
|
|
536
582
|
n[22]
|
|
537
583
|
), i = !0);
|
|
538
584
|
},
|
|
539
|
-
p(
|
|
540
|
-
|
|
585
|
+
p(d, f) {
|
|
586
|
+
c === (c = a(d)) && s ? s.p(d, f) : (s.d(1), s = c(d), s && (s.c(), s.m(t, null))), f[0] & /*canSubmitChannel*/
|
|
541
587
|
262144 && e !== (e = !/*canSubmitChannel*/
|
|
542
|
-
|
|
588
|
+
d[18]) && (t.disabled = e), f[0] & /*canSubmitChannel, waitingForConfig*/
|
|
543
589
|
327680 && J(t, "disabled", !/*canSubmitChannel*/
|
|
544
|
-
|
|
545
|
-
|
|
590
|
+
d[18] || /*waitingForConfig*/
|
|
591
|
+
d[16]);
|
|
546
592
|
},
|
|
547
|
-
d(
|
|
548
|
-
|
|
593
|
+
d(d) {
|
|
594
|
+
d && O(t), s.d(), i = !1, o();
|
|
549
595
|
}
|
|
550
596
|
};
|
|
551
597
|
}
|
|
@@ -556,18 +602,18 @@ function Mt(n) {
|
|
|
556
602
|
), e;
|
|
557
603
|
return {
|
|
558
604
|
c() {
|
|
559
|
-
e =
|
|
605
|
+
e = z(t);
|
|
560
606
|
},
|
|
561
|
-
m(i,
|
|
562
|
-
|
|
607
|
+
m(i, o) {
|
|
608
|
+
C(i, e, o);
|
|
563
609
|
},
|
|
564
|
-
p(i,
|
|
565
|
-
|
|
610
|
+
p(i, o) {
|
|
611
|
+
o[0] & /*$_*/
|
|
566
612
|
524288 && t !== (t = /*$_*/
|
|
567
|
-
i[19]("sendCode") + "") &&
|
|
613
|
+
i[19]("sendCode") + "") && D(e, t);
|
|
568
614
|
},
|
|
569
615
|
d(i) {
|
|
570
|
-
i &&
|
|
616
|
+
i && O(e);
|
|
571
617
|
}
|
|
572
618
|
};
|
|
573
619
|
}
|
|
@@ -575,43 +621,43 @@ function Tt(n) {
|
|
|
575
621
|
let t = (
|
|
576
622
|
/*$_*/
|
|
577
623
|
n[19]("waitSeconds") + ""
|
|
578
|
-
), e, i,
|
|
624
|
+
), e, i, o, a;
|
|
579
625
|
return {
|
|
580
626
|
c() {
|
|
581
|
-
e =
|
|
627
|
+
e = z(t), i = z(" ("), o = z(
|
|
582
628
|
/*currentChannelTimer*/
|
|
583
629
|
n[17]
|
|
584
|
-
), a =
|
|
630
|
+
), a = z("s)");
|
|
585
631
|
},
|
|
586
|
-
m(
|
|
587
|
-
|
|
632
|
+
m(c, s) {
|
|
633
|
+
C(c, e, s), C(c, i, s), C(c, o, s), C(c, a, s);
|
|
588
634
|
},
|
|
589
|
-
p(
|
|
635
|
+
p(c, s) {
|
|
590
636
|
s[0] & /*$_*/
|
|
591
637
|
524288 && t !== (t = /*$_*/
|
|
592
|
-
|
|
593
|
-
131072 &&
|
|
594
|
-
|
|
638
|
+
c[19]("waitSeconds") + "") && D(e, t), s[0] & /*currentChannelTimer*/
|
|
639
|
+
131072 && D(
|
|
640
|
+
o,
|
|
595
641
|
/*currentChannelTimer*/
|
|
596
|
-
|
|
642
|
+
c[17]
|
|
597
643
|
);
|
|
598
644
|
},
|
|
599
|
-
d(
|
|
600
|
-
|
|
645
|
+
d(c) {
|
|
646
|
+
c && (O(e), O(i), O(o), O(a));
|
|
601
647
|
}
|
|
602
648
|
};
|
|
603
649
|
}
|
|
604
|
-
function
|
|
650
|
+
function zt(n) {
|
|
605
651
|
let t, e, i = (
|
|
606
652
|
/*$_*/
|
|
607
653
|
n[19]("timeRemaining") + ""
|
|
608
|
-
),
|
|
654
|
+
), o, a, c = (
|
|
609
655
|
/*formatTime*/
|
|
610
656
|
n[23](
|
|
611
657
|
/*timeLeft*/
|
|
612
658
|
n[5]
|
|
613
659
|
) + ""
|
|
614
|
-
), s,
|
|
660
|
+
), s, d, f = (
|
|
615
661
|
/*$_*/
|
|
616
662
|
n[19]("minutes") + ""
|
|
617
663
|
), v, w, T, M = Pe(
|
|
@@ -622,27 +668,27 @@ function Lt(n) {
|
|
|
622
668
|
b[m] = Ve(Re(n, M, m));
|
|
623
669
|
return {
|
|
624
670
|
c() {
|
|
625
|
-
t = k("div"), e = k("div"),
|
|
671
|
+
t = k("div"), e = k("div"), o = z(i), a = x(), s = z(c), d = x(), v = z(f), w = x(), T = k("div");
|
|
626
672
|
for (let m = 0; m < b.length; m += 1)
|
|
627
673
|
b[m].c();
|
|
628
674
|
l(e, "class", "OtpTimer"), l(T, "class", "OtpField"), l(t, "class", "OtpFieldWrapper");
|
|
629
675
|
},
|
|
630
|
-
m(m,
|
|
631
|
-
|
|
676
|
+
m(m, y) {
|
|
677
|
+
C(m, t, y), p(t, e), p(e, o), p(e, a), p(e, s), p(e, d), p(e, v), p(t, w), p(t, T);
|
|
632
678
|
for (let S = 0; S < b.length; S += 1)
|
|
633
679
|
b[S] && b[S].m(T, null);
|
|
634
680
|
},
|
|
635
|
-
p(m,
|
|
636
|
-
if (
|
|
681
|
+
p(m, y) {
|
|
682
|
+
if (y[0] & /*$_*/
|
|
637
683
|
524288 && i !== (i = /*$_*/
|
|
638
|
-
m[19]("timeRemaining") + "") &&
|
|
639
|
-
32 &&
|
|
684
|
+
m[19]("timeRemaining") + "") && D(o, i), y[0] & /*timeLeft*/
|
|
685
|
+
32 && c !== (c = /*formatTime*/
|
|
640
686
|
m[23](
|
|
641
687
|
/*timeLeft*/
|
|
642
688
|
m[5]
|
|
643
|
-
) + "") &&
|
|
689
|
+
) + "") && D(s, c), y[0] & /*$_*/
|
|
644
690
|
524288 && f !== (f = /*$_*/
|
|
645
|
-
m[19]("minutes") + "") &&
|
|
691
|
+
m[19]("minutes") + "") && D(v, f), y[0] & /*config, otp, inputDisabled, otpInputs, handleOtpInput, handleKeyDown, handleOnPasteOtp*/
|
|
646
692
|
117458964) {
|
|
647
693
|
M = Pe(
|
|
648
694
|
/*otp*/
|
|
@@ -651,7 +697,7 @@ function Lt(n) {
|
|
|
651
697
|
let S;
|
|
652
698
|
for (S = 0; S < M.length; S += 1) {
|
|
653
699
|
const A = Re(m, M, S);
|
|
654
|
-
b[S] ? b[S].p(A,
|
|
700
|
+
b[S] ? b[S].p(A, y) : (b[S] = Ve(A), b[S].c(), b[S].m(T, null));
|
|
655
701
|
}
|
|
656
702
|
for (; S < b.length; S += 1)
|
|
657
703
|
b[S].d(1);
|
|
@@ -659,36 +705,36 @@ function Lt(n) {
|
|
|
659
705
|
}
|
|
660
706
|
},
|
|
661
707
|
d(m) {
|
|
662
|
-
m &&
|
|
708
|
+
m && O(t), pt(b, m);
|
|
663
709
|
}
|
|
664
710
|
};
|
|
665
711
|
}
|
|
666
|
-
function
|
|
712
|
+
function Lt(n) {
|
|
667
713
|
let t;
|
|
668
714
|
return {
|
|
669
715
|
c() {
|
|
670
716
|
t = k("div"), t.innerHTML = '<span class="OtpLoader"></span>', l(t, "class", "OtpLoaderContainer");
|
|
671
717
|
},
|
|
672
718
|
m(e, i) {
|
|
673
|
-
|
|
719
|
+
C(e, t, i);
|
|
674
720
|
},
|
|
675
721
|
p: Se,
|
|
676
722
|
d(e) {
|
|
677
|
-
e &&
|
|
723
|
+
e && O(t);
|
|
678
724
|
}
|
|
679
725
|
};
|
|
680
726
|
}
|
|
681
727
|
function Ve(n) {
|
|
682
|
-
let t, e, i,
|
|
728
|
+
let t, e, i, o = (
|
|
683
729
|
/*index*/
|
|
684
730
|
n[71]
|
|
685
|
-
), a,
|
|
731
|
+
), a, c;
|
|
686
732
|
const s = () => (
|
|
687
733
|
/*input_binding*/
|
|
688
|
-
n[41](t,
|
|
689
|
-
),
|
|
734
|
+
n[41](t, o)
|
|
735
|
+
), d = () => (
|
|
690
736
|
/*input_binding*/
|
|
691
|
-
n[41](null,
|
|
737
|
+
n[41](null, o)
|
|
692
738
|
);
|
|
693
739
|
function f(...w) {
|
|
694
740
|
return (
|
|
@@ -721,7 +767,7 @@ function Ve(n) {
|
|
|
721
767
|
n[11], l(t, "autocomplete", "off");
|
|
722
768
|
},
|
|
723
769
|
m(w, T) {
|
|
724
|
-
|
|
770
|
+
C(w, t, T), s(), a || (c = [
|
|
725
771
|
te(t, "input", f),
|
|
726
772
|
te(t, "keydown", v),
|
|
727
773
|
te(
|
|
@@ -741,12 +787,12 @@ function Ve(n) {
|
|
|
741
787
|
4 && i !== (i = /*char*/
|
|
742
788
|
n[69]) && t.value !== i && (t.value = i), T[0] & /*inputDisabled*/
|
|
743
789
|
2048 && (t.disabled = /*inputDisabled*/
|
|
744
|
-
n[11]),
|
|
745
|
-
n[71] && (
|
|
790
|
+
n[11]), o !== /*index*/
|
|
791
|
+
n[71] && (d(), o = /*index*/
|
|
746
792
|
n[71], s());
|
|
747
793
|
},
|
|
748
794
|
d(w) {
|
|
749
|
-
w &&
|
|
795
|
+
w && O(t), d(), a = !1, Be(c);
|
|
750
796
|
}
|
|
751
797
|
};
|
|
752
798
|
}
|
|
@@ -754,35 +800,35 @@ function Pt(n) {
|
|
|
754
800
|
let t, e = (
|
|
755
801
|
/*$_*/
|
|
756
802
|
n[19]("submit") + ""
|
|
757
|
-
), i,
|
|
803
|
+
), i, o, a, c;
|
|
758
804
|
return {
|
|
759
805
|
c() {
|
|
760
|
-
t = k("button"), i =
|
|
806
|
+
t = k("button"), i = z(e), l(t, "class", "OtpButton"), t.disabled = o = /*otp*/
|
|
761
807
|
n[2].join("").length !== /*config*/
|
|
762
808
|
n[4].inputLength || /*isSubmitting*/
|
|
763
809
|
n[13] || /*maxAttempts*/
|
|
764
810
|
n[15];
|
|
765
811
|
},
|
|
766
|
-
m(s,
|
|
767
|
-
|
|
812
|
+
m(s, d) {
|
|
813
|
+
C(s, t, d), p(t, i), a || (c = te(
|
|
768
814
|
t,
|
|
769
815
|
"click",
|
|
770
816
|
/*submitOtp*/
|
|
771
817
|
n[29]
|
|
772
818
|
), a = !0);
|
|
773
819
|
},
|
|
774
|
-
p(s,
|
|
775
|
-
|
|
820
|
+
p(s, d) {
|
|
821
|
+
d[0] & /*$_*/
|
|
776
822
|
524288 && e !== (e = /*$_*/
|
|
777
|
-
s[19]("submit") + "") &&
|
|
778
|
-
40980 &&
|
|
823
|
+
s[19]("submit") + "") && D(i, e), d[0] & /*otp, config, isSubmitting, maxAttempts*/
|
|
824
|
+
40980 && o !== (o = /*otp*/
|
|
779
825
|
s[2].join("").length !== /*config*/
|
|
780
826
|
s[4].inputLength || /*isSubmitting*/
|
|
781
827
|
s[13] || /*maxAttempts*/
|
|
782
|
-
s[15]) && (t.disabled =
|
|
828
|
+
s[15]) && (t.disabled = o);
|
|
783
829
|
},
|
|
784
830
|
d(s) {
|
|
785
|
-
s &&
|
|
831
|
+
s && O(t), a = !1, c();
|
|
786
832
|
}
|
|
787
833
|
};
|
|
788
834
|
}
|
|
@@ -790,207 +836,207 @@ function At(n) {
|
|
|
790
836
|
let t, e = (
|
|
791
837
|
/*$_*/
|
|
792
838
|
n[19]("resendOtp") + ""
|
|
793
|
-
), i,
|
|
839
|
+
), i, o, a;
|
|
794
840
|
return {
|
|
795
841
|
c() {
|
|
796
|
-
t = k("button"), i =
|
|
842
|
+
t = k("button"), i = z(e), l(t, "class", "OtpButton");
|
|
797
843
|
},
|
|
798
|
-
m(
|
|
799
|
-
|
|
844
|
+
m(c, s) {
|
|
845
|
+
C(c, t, s), p(t, i), o || (a = te(
|
|
800
846
|
t,
|
|
801
847
|
"click",
|
|
802
848
|
/*handleResendOtp*/
|
|
803
849
|
n[27]
|
|
804
|
-
),
|
|
850
|
+
), o = !0);
|
|
805
851
|
},
|
|
806
|
-
p(
|
|
852
|
+
p(c, s) {
|
|
807
853
|
s[0] & /*$_*/
|
|
808
854
|
524288 && e !== (e = /*$_*/
|
|
809
|
-
|
|
855
|
+
c[19]("resendOtp") + "") && D(i, e);
|
|
810
856
|
},
|
|
811
|
-
d(
|
|
812
|
-
|
|
857
|
+
d(c) {
|
|
858
|
+
c && O(t), o = !1, a();
|
|
813
859
|
}
|
|
814
860
|
};
|
|
815
861
|
}
|
|
816
862
|
function It(n) {
|
|
817
863
|
let t;
|
|
818
|
-
function e(a,
|
|
864
|
+
function e(a, c) {
|
|
819
865
|
return (
|
|
820
866
|
/*hasConfigErrors*/
|
|
821
|
-
a[7] ? kt :
|
|
867
|
+
a[7] ? kt : yt
|
|
822
868
|
);
|
|
823
869
|
}
|
|
824
|
-
let i = e(n),
|
|
870
|
+
let i = e(n), o = i(n);
|
|
825
871
|
return {
|
|
826
872
|
c() {
|
|
827
|
-
t = k("div"),
|
|
873
|
+
t = k("div"), o.c(), l(t, "class", "OtpContent");
|
|
828
874
|
},
|
|
829
|
-
m(a,
|
|
830
|
-
|
|
875
|
+
m(a, c) {
|
|
876
|
+
C(a, t, c), o.m(t, null), n[44](t);
|
|
831
877
|
},
|
|
832
|
-
p(a,
|
|
833
|
-
i === (i = e(a)) &&
|
|
878
|
+
p(a, c) {
|
|
879
|
+
i === (i = e(a)) && o ? o.p(a, c) : (o.d(1), o = i(a), o && (o.c(), o.m(t, null)));
|
|
834
880
|
},
|
|
835
881
|
i: Se,
|
|
836
882
|
o: Se,
|
|
837
883
|
d(a) {
|
|
838
|
-
a &&
|
|
884
|
+
a && O(t), o.d(), n[44](null);
|
|
839
885
|
}
|
|
840
886
|
};
|
|
841
887
|
}
|
|
842
888
|
function Rt(n, t, e) {
|
|
843
|
-
let i,
|
|
844
|
-
|
|
845
|
-
let { clientstyling:
|
|
889
|
+
let i, o, a;
|
|
890
|
+
dt(n, mt, (r) => e(19, a = r));
|
|
891
|
+
let { clientstyling: c = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: d } = t, { lang: f = "en" } = t, { endpoint: v } = t, { session: w } = t, { translationurl: T } = t, { templateid: M } = t, b = [], m = !0, y = null, S = 0, A = "", X = "", N = !1, H = !1, I = "", ne = "", F = "", Q = !1, le = !1, $ = !1, E = "", L = {}, W = null, se = !1, ae = !1, de = "", K, ge, U = [], j = null, Z = 0, ce = !1, ue = !1;
|
|
846
892
|
const pe = { SMS: "sms", EMAIL: "email" }, ee = {
|
|
847
893
|
MAX_ATTEMPTS_EXCEEDED: "gm.twofa.token_max_attempts_exceeded",
|
|
848
894
|
INTERNAL_SERVER_ERROR: "gm.multifactorauthentication.internal_server_error",
|
|
849
895
|
MAX_INVALIDATE: "gm.multifactorauthentication.challenge_internal_server_error"
|
|
850
896
|
};
|
|
851
|
-
Object.keys(Ie).forEach((
|
|
852
|
-
Ae(
|
|
897
|
+
Object.keys(Ie).forEach((r) => {
|
|
898
|
+
Ae(r, Ie[r]);
|
|
853
899
|
});
|
|
854
900
|
const G = () => {
|
|
855
901
|
wt(f);
|
|
856
|
-
},
|
|
857
|
-
fetch(T).then((
|
|
858
|
-
Object.keys(
|
|
859
|
-
Ae(g,
|
|
902
|
+
}, q = () => {
|
|
903
|
+
fetch(T).then((r) => r.json()).then((r) => {
|
|
904
|
+
Object.keys(r).forEach((g) => {
|
|
905
|
+
Ae(g, r[g]);
|
|
860
906
|
});
|
|
861
|
-
}).catch((
|
|
862
|
-
console.log(
|
|
907
|
+
}).catch((r) => {
|
|
908
|
+
console.log(r);
|
|
863
909
|
});
|
|
864
|
-
}, he = (
|
|
910
|
+
}, he = (r) => me(this, null, function* () {
|
|
865
911
|
var g;
|
|
866
|
-
if ((g =
|
|
867
|
-
if (e(7, H = !1), e(6, N = !1), e(8, I = ""), ne =
|
|
912
|
+
if ((g = r.detail) != null && g["x-step-up-required"]) {
|
|
913
|
+
if (e(7, H = !1), e(6, N = !1), e(8, I = ""), ne = r.detail["x-step-up-token"], F = r.detail.flow, !ne || !F) {
|
|
868
914
|
e(3, m = !1), e(7, H = !0), e(8, I = a("configError"));
|
|
869
915
|
return;
|
|
870
916
|
}
|
|
871
917
|
e(12, se = !1), e(3, m = !1);
|
|
872
918
|
}
|
|
873
919
|
}), ie = () => {
|
|
874
|
-
j && (clearInterval(j), j = null),
|
|
920
|
+
j && (clearInterval(j), j = null), W && (clearInterval(W), W = null), e(6, N = !1), e(7, H = !1), e(8, I = ""), e(10, le = !1), e(2, b = []), e(4, y = null), e(3, m = !0), e(0, E = ""), e(12, se = !1), e(38, L = {});
|
|
875
921
|
}, V = () => {
|
|
876
922
|
ie();
|
|
877
|
-
}, be = () => new Promise((
|
|
923
|
+
}, be = () => new Promise((r, g) => {
|
|
878
924
|
const h = new URL(`${v}/api/pam/v1/mfa/challenge/${ne}`), P = new Headers();
|
|
879
925
|
P.append("accept", "application/json"), P.append("Content-Type", "application/json"), P.append("X-SessionId", `${w}`), e(16, ue = !0);
|
|
880
926
|
const fe = {
|
|
881
927
|
method: "PATCH",
|
|
882
928
|
headers: P,
|
|
883
929
|
body: JSON.stringify({
|
|
884
|
-
channel:
|
|
930
|
+
channel: E,
|
|
885
931
|
templateId: M
|
|
886
932
|
})
|
|
887
933
|
};
|
|
888
|
-
fetch(h, fe).then((
|
|
889
|
-
e(15,
|
|
890
|
-
}).catch((
|
|
934
|
+
fetch(h, fe).then((Ce) => Ce.json()).then(() => {
|
|
935
|
+
e(15, ce = !1), _(), we(), r();
|
|
936
|
+
}).catch((Ce) => {
|
|
891
937
|
g();
|
|
892
938
|
});
|
|
893
|
-
}),
|
|
894
|
-
|
|
939
|
+
}), oe = () => {
|
|
940
|
+
W && clearInterval(W), W = setInterval(
|
|
895
941
|
() => {
|
|
896
|
-
const
|
|
942
|
+
const r = _e({}, L);
|
|
897
943
|
let g = !1;
|
|
898
|
-
Object.keys(
|
|
899
|
-
|
|
900
|
-
}), e(38,
|
|
944
|
+
Object.keys(r).forEach((h) => {
|
|
945
|
+
r[h] > 0 && (r[h]--, g = !0);
|
|
946
|
+
}), e(38, L = r), !g && W && (clearInterval(W), W = null);
|
|
901
947
|
},
|
|
902
948
|
1e3
|
|
903
949
|
);
|
|
904
|
-
}, R = (
|
|
905
|
-
e(0,
|
|
950
|
+
}, R = (r) => {
|
|
951
|
+
e(0, E = r);
|
|
906
952
|
}, u = () => me(this, null, function* () {
|
|
907
|
-
if (!(!
|
|
908
|
-
e(3, m = !0), M && M.startsWith("2fa-") && e(30, M = `2fa-${
|
|
953
|
+
if (!(!E || L[E] && L[E] > 0)) {
|
|
954
|
+
e(3, m = !0), M && M.startsWith("2fa-") && e(30, M = `2fa-${E}`);
|
|
909
955
|
try {
|
|
910
|
-
yield be(), yield ke(), e(38,
|
|
911
|
-
[
|
|
912
|
-
})),
|
|
913
|
-
} catch (
|
|
914
|
-
console.error("Error submitting channel:",
|
|
956
|
+
yield be(), yield ke(), e(38, L = ze(_e({}, L), {
|
|
957
|
+
[E]: 30
|
|
958
|
+
})), oe(), e(12, se = !0), _(), we();
|
|
959
|
+
} catch (r) {
|
|
960
|
+
console.error("Error submitting channel:", r), e(6, N = !0), e(8, I = a("submissionError"));
|
|
915
961
|
} finally {
|
|
916
962
|
e(3, m = !1);
|
|
917
963
|
}
|
|
918
964
|
}
|
|
919
|
-
}),
|
|
920
|
-
const
|
|
921
|
-
|
|
922
|
-
const B = Date.now(), fe = Math.max(0, Math.floor((
|
|
965
|
+
}), _ = () => {
|
|
966
|
+
const r = new Date(A), g = new Date(X), h = /* @__PURE__ */ new Date(), P = g.getTime() - h.getTime();
|
|
967
|
+
Z = r.getTime() - P;
|
|
968
|
+
const B = Date.now(), fe = Math.max(0, Math.floor((Z - B) / 1e3));
|
|
923
969
|
e(5, S = fe);
|
|
924
970
|
}, we = () => {
|
|
925
971
|
j && clearInterval(j), j = setInterval(
|
|
926
972
|
() => {
|
|
927
|
-
const
|
|
973
|
+
const r = Date.now(), g = Math.max(0, Math.floor((Z - r) / 1e3));
|
|
928
974
|
e(5, S = g), e(11, $ = g <= 0), g <= 0 && (clearInterval(j), j = null, e(9, Q = !0), e(6, N = !1), e(10, le = !1));
|
|
929
975
|
},
|
|
930
976
|
1e3
|
|
931
977
|
);
|
|
932
|
-
}, He = (
|
|
933
|
-
const g = Math.floor(
|
|
978
|
+
}, He = (r) => {
|
|
979
|
+
const g = Math.floor(r / 60), h = r % 60;
|
|
934
980
|
return `${g.toString().padStart(2, "0")}:${h.toString().padStart(2, "0")}`;
|
|
935
|
-
}, ve = (
|
|
981
|
+
}, ve = (r, g) => {
|
|
936
982
|
const h = [...b];
|
|
937
|
-
h[
|
|
938
|
-
}, je = (
|
|
983
|
+
h[r] = g.toUpperCase(), e(2, b = h), h.join("") !== de && e(13, ae = !1);
|
|
984
|
+
}, je = (r) => {
|
|
939
985
|
var P, B, fe;
|
|
940
|
-
|
|
941
|
-
const h = (((B = (P =
|
|
942
|
-
e(2, b = [...h, ...Array(
|
|
943
|
-
},
|
|
944
|
-
const h =
|
|
986
|
+
r.preventDefault();
|
|
987
|
+
const h = (((B = (P = r.clipboardData) == null ? void 0 : P.getData("text")) == null ? void 0 : B.trim()) || "").slice(0, y.inputLength).split("");
|
|
988
|
+
e(2, b = [...h, ...Array(y.inputLength - h.length).fill("")]), (fe = U[h.length]) == null || fe.focus(), h.length === y.inputLength && ye();
|
|
989
|
+
}, Ee = (r, g) => {
|
|
990
|
+
const h = r.target, P = h.value;
|
|
945
991
|
if (/^[a-z0-9]$/i.test(P)) {
|
|
946
992
|
ve(g, P);
|
|
947
|
-
const B =
|
|
993
|
+
const B = U[g + 1];
|
|
948
994
|
B == null || B.focus();
|
|
949
995
|
}
|
|
950
996
|
h.value = "";
|
|
951
|
-
},
|
|
952
|
-
const h =
|
|
997
|
+
}, Oe = (r, g) => {
|
|
998
|
+
const h = r.key, P = r.ctrlKey || r.metaKey;
|
|
953
999
|
if (/^[a-z0-9]$/i.test(h)) {
|
|
954
1000
|
if (P && h.toLowerCase() === "v")
|
|
955
1001
|
return;
|
|
956
|
-
|
|
957
|
-
const B =
|
|
1002
|
+
r.preventDefault(), ve(g, h);
|
|
1003
|
+
const B = U[g + 1];
|
|
958
1004
|
B == null || B.focus();
|
|
959
1005
|
} else if (h === "Backspace") {
|
|
960
|
-
|
|
961
|
-
const B =
|
|
1006
|
+
r.preventDefault(), b[g] !== "" && ve(g, "");
|
|
1007
|
+
const B = U[g - 1];
|
|
962
1008
|
B == null || B.focus();
|
|
963
1009
|
} else
|
|
964
|
-
h === "Enter" && (
|
|
965
|
-
},
|
|
966
|
-
|
|
967
|
-
const
|
|
968
|
-
window.dispatchEvent(
|
|
969
|
-
},
|
|
1010
|
+
h === "Enter" && (r.preventDefault(), ye());
|
|
1011
|
+
}, qe = () => {
|
|
1012
|
+
F == "stateful" && (be(), e(9, Q = !1));
|
|
1013
|
+
const r = new CustomEvent("otpResendRequested");
|
|
1014
|
+
window.dispatchEvent(r);
|
|
1015
|
+
}, We = (r) => {
|
|
970
1016
|
window.dispatchEvent(new CustomEvent(
|
|
971
1017
|
"otpSubmitted",
|
|
972
1018
|
{
|
|
973
1019
|
detail: {
|
|
974
|
-
code:
|
|
975
|
-
maxAttempts:
|
|
976
|
-
validatedAttempts:
|
|
1020
|
+
code: r,
|
|
1021
|
+
maxAttempts: y.maxValidationAttempts,
|
|
1022
|
+
validatedAttempts: y.numberOfValidateAttempts
|
|
977
1023
|
}
|
|
978
1024
|
}
|
|
979
1025
|
));
|
|
980
|
-
}, Ne = (
|
|
1026
|
+
}, Ne = (r) => me(this, null, function* () {
|
|
981
1027
|
const g = new URL(`/api/nwa/api/v1/mfa/challenge/${ne}/validate`, v);
|
|
982
|
-
g.searchParams.append("input",
|
|
1028
|
+
g.searchParams.append("input", r);
|
|
983
1029
|
try {
|
|
984
1030
|
const h = yield fetch(g.href, { method: "POST" });
|
|
985
1031
|
if (h.status === 200) {
|
|
986
|
-
|
|
1032
|
+
Fe();
|
|
987
1033
|
return;
|
|
988
1034
|
}
|
|
989
1035
|
const P = yield h.json();
|
|
990
1036
|
throw new Error(P.message);
|
|
991
1037
|
} catch (h) {
|
|
992
1038
|
if (yield ke(), h.message === ee.INTERNAL_SERVER_ERROR) {
|
|
993
|
-
if (
|
|
1039
|
+
if (y.numberOfValidateAttempts === y.maxValidationAttempts - 1) {
|
|
994
1040
|
window.dispatchEvent(new CustomEvent("otpSetTimeout")), window.postMessage(
|
|
995
1041
|
{
|
|
996
1042
|
type: "WidgetNotification",
|
|
@@ -1006,11 +1052,11 @@ function Rt(n, t, e) {
|
|
|
1006
1052
|
e(6, N = !0), e(8, I = a("invalidOtp")), ke();
|
|
1007
1053
|
return;
|
|
1008
1054
|
}
|
|
1009
|
-
h.message === ee.MAX_INVALIDATE && (e(6, N = !0), e(8, I = a("invalidOtp"))), h.details === ee.MAX_ATTEMPTS_EXCEEDED && e(15,
|
|
1055
|
+
h.message === ee.MAX_INVALIDATE && (e(6, N = !0), e(8, I = a("invalidOtp"))), h.details === ee.MAX_ATTEMPTS_EXCEEDED && e(15, ce = !0), console.error("OTP submission failed:", h), e(6, N = !0), e(8, I = a("submissionError"));
|
|
1010
1056
|
} finally {
|
|
1011
1057
|
e(3, m = !1);
|
|
1012
1058
|
}
|
|
1013
|
-
}),
|
|
1059
|
+
}), Fe = () => {
|
|
1014
1060
|
window.dispatchEvent(new CustomEvent(
|
|
1015
1061
|
"otpSuccess",
|
|
1016
1062
|
{
|
|
@@ -1019,69 +1065,69 @@ function Rt(n, t, e) {
|
|
|
1019
1065
|
}
|
|
1020
1066
|
}
|
|
1021
1067
|
));
|
|
1022
|
-
},
|
|
1068
|
+
}, Ke = () => {
|
|
1023
1069
|
window.dispatchEvent(new CustomEvent("manualClosePopup"));
|
|
1024
|
-
},
|
|
1025
|
-
if (b.join("").length !==
|
|
1070
|
+
}, ye = () => me(this, null, function* () {
|
|
1071
|
+
if (b.join("").length !== y.inputLength) {
|
|
1026
1072
|
e(6, N = !0), e(8, I = a("invalidOtp"));
|
|
1027
1073
|
return;
|
|
1028
1074
|
}
|
|
1029
|
-
const
|
|
1030
|
-
e(13, ae = !0),
|
|
1075
|
+
const r = b.join("");
|
|
1076
|
+
e(13, ae = !0), de = r, e(3, m = !0), e(6, N = !1), e(8, I = ""), F === "stateless" && We(r), F === "stateful" && (yield Ne(r));
|
|
1031
1077
|
}), ke = () => me(this, null, function* () {
|
|
1032
1078
|
if (v)
|
|
1033
1079
|
try {
|
|
1034
1080
|
e(3, m = !0);
|
|
1035
|
-
const
|
|
1081
|
+
const r = new URL(`/api/nwa/api/v1/mfa/challenge/${ne}/config`, v), g = yield fetch(r.href), h = yield g.json();
|
|
1036
1082
|
if (g.ok)
|
|
1037
|
-
e(4,
|
|
1083
|
+
e(4, y = h), e(2, b = Array(y.inputLength).fill("")), e(9, Q = !1), A = y.expirationTime, X = y.serverTime, y.numberOfValidateAttempts !== 0 && (e(6, N = !0), e(8, I = a("invalidOtp"))), y.numberOfValidateAttempts === y.maxValidationAttempts - 1 && e(10, le = !0), e(3, m = !1), _(), we(), e(16, ue = !1);
|
|
1038
1084
|
else if (h && h.details === ee.MAX_ATTEMPTS_EXCEEDED)
|
|
1039
1085
|
window.dispatchEvent(new CustomEvent("manualClosePopup"));
|
|
1040
1086
|
else {
|
|
1041
1087
|
const P = h && h.message || `Failed to load config. Status: ${g.status}`;
|
|
1042
1088
|
throw new Error(P);
|
|
1043
1089
|
}
|
|
1044
|
-
} catch (
|
|
1045
|
-
e(3, m = !1), e(7, H = !0), e(8, I = a("configError")), window.dispatchEvent(new CustomEvent("2fa-loading", { detail: { isLoading: !1 } })), console.error("Error loading 2FA config:",
|
|
1090
|
+
} catch (r) {
|
|
1091
|
+
e(3, m = !1), e(7, H = !0), e(8, I = a("configError")), window.dispatchEvent(new CustomEvent("2fa-loading", { detail: { isLoading: !1 } })), console.error("Error loading 2FA config:", r);
|
|
1046
1092
|
}
|
|
1047
1093
|
});
|
|
1048
|
-
|
|
1049
|
-
window.removeEventListener("stepUpAuthRequired", he), window.removeEventListener("closePopup", V, !1), j && clearInterval(j),
|
|
1094
|
+
ct(() => (window.addEventListener("stepUpAuthRequired", he, !1), window.addEventListener("closePopup", V, !1), () => {
|
|
1095
|
+
window.removeEventListener("stepUpAuthRequired", he), window.removeEventListener("closePopup", V, !1), j && clearInterval(j), W && clearInterval(W);
|
|
1050
1096
|
}));
|
|
1051
|
-
const
|
|
1052
|
-
function Ge(
|
|
1053
|
-
|
|
1054
|
-
|
|
1097
|
+
const Ue = () => R(pe.SMS), Xe = () => R(pe.EMAIL);
|
|
1098
|
+
function Ge(r, g) {
|
|
1099
|
+
Le[r ? "unshift" : "push"](() => {
|
|
1100
|
+
U[g] = r, e(14, U);
|
|
1055
1101
|
});
|
|
1056
1102
|
}
|
|
1057
|
-
const
|
|
1058
|
-
function Je(
|
|
1059
|
-
|
|
1060
|
-
|
|
1103
|
+
const Ze = (r, g) => Ee(g, r), Ye = (r, g) => Oe(g, r);
|
|
1104
|
+
function Je(r) {
|
|
1105
|
+
Le[r ? "unshift" : "push"](() => {
|
|
1106
|
+
K = r, e(1, K);
|
|
1061
1107
|
});
|
|
1062
1108
|
}
|
|
1063
|
-
return n.$$set = (
|
|
1064
|
-
"clientstyling" in
|
|
1109
|
+
return n.$$set = (r) => {
|
|
1110
|
+
"clientstyling" in r && e(31, c = r.clientstyling), "clientstylingurl" in r && e(32, s = r.clientstylingurl), "mbsource" in r && e(33, d = r.mbsource), "lang" in r && e(34, f = r.lang), "endpoint" in r && e(35, v = r.endpoint), "session" in r && e(36, w = r.session), "translationurl" in r && e(37, T = r.translationurl), "templateid" in r && e(30, M = r.templateid);
|
|
1065
1111
|
}, n.$$.update = () => {
|
|
1066
1112
|
n.$$.dirty[0] & /*customStylingContainer*/
|
|
1067
1113
|
2 | n.$$.dirty[1] & /*clientstyling*/
|
|
1068
|
-
1 &&
|
|
1114
|
+
1 && c && K && gt(K, c), n.$$.dirty[0] & /*customStylingContainer*/
|
|
1069
1115
|
2 | n.$$.dirty[1] & /*clientstylingurl*/
|
|
1070
|
-
2 && s &&
|
|
1116
|
+
2 && s && K && ht(K, s), n.$$.dirty[0] & /*customStylingContainer*/
|
|
1071
1117
|
2 | n.$$.dirty[1] & /*mbsource*/
|
|
1072
|
-
4 &&
|
|
1118
|
+
4 && d && K && bt(K, `${d}.Style`, ge), n.$$.dirty[1] & /*lang*/
|
|
1073
1119
|
8 && f && G(), n.$$.dirty[1] & /*lang, translationurl*/
|
|
1074
|
-
72 && f && T &&
|
|
1120
|
+
72 && f && T && q(), n.$$.dirty[0] & /*selectedChannel*/
|
|
1075
1121
|
1 | n.$$.dirty[1] & /*channelSubmitTimers*/
|
|
1076
|
-
128 && e(18, i =
|
|
1122
|
+
128 && e(18, i = E && (!L[E] || L[E] === 0)), n.$$.dirty[0] & /*selectedChannel*/
|
|
1077
1123
|
1 | n.$$.dirty[1] & /*channelSubmitTimers*/
|
|
1078
|
-
128 && e(17,
|
|
1124
|
+
128 && e(17, o = E && L[E] || 0);
|
|
1079
1125
|
}, [
|
|
1080
|
-
|
|
1081
|
-
|
|
1126
|
+
E,
|
|
1127
|
+
K,
|
|
1082
1128
|
b,
|
|
1083
1129
|
m,
|
|
1084
|
-
|
|
1130
|
+
y,
|
|
1085
1131
|
S,
|
|
1086
1132
|
N,
|
|
1087
1133
|
H,
|
|
@@ -1091,10 +1137,10 @@ function Rt(n, t, e) {
|
|
|
1091
1137
|
$,
|
|
1092
1138
|
se,
|
|
1093
1139
|
ae,
|
|
1094
|
-
|
|
1095
|
-
|
|
1140
|
+
U,
|
|
1141
|
+
ce,
|
|
1096
1142
|
ue,
|
|
1097
|
-
|
|
1143
|
+
o,
|
|
1098
1144
|
i,
|
|
1099
1145
|
a,
|
|
1100
1146
|
pe,
|
|
@@ -1102,29 +1148,29 @@ function Rt(n, t, e) {
|
|
|
1102
1148
|
u,
|
|
1103
1149
|
He,
|
|
1104
1150
|
je,
|
|
1105
|
-
Ce,
|
|
1106
1151
|
Ee,
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1152
|
+
Oe,
|
|
1153
|
+
qe,
|
|
1154
|
+
Ke,
|
|
1155
|
+
ye,
|
|
1110
1156
|
M,
|
|
1111
|
-
d,
|
|
1112
|
-
s,
|
|
1113
1157
|
c,
|
|
1158
|
+
s,
|
|
1159
|
+
d,
|
|
1114
1160
|
f,
|
|
1115
1161
|
v,
|
|
1116
1162
|
w,
|
|
1117
1163
|
T,
|
|
1118
|
-
|
|
1119
|
-
|
|
1164
|
+
L,
|
|
1165
|
+
Ue,
|
|
1120
1166
|
Xe,
|
|
1121
1167
|
Ge,
|
|
1122
|
-
Ye,
|
|
1123
1168
|
Ze,
|
|
1169
|
+
Ye,
|
|
1124
1170
|
Je
|
|
1125
1171
|
];
|
|
1126
1172
|
}
|
|
1127
|
-
class
|
|
1173
|
+
class xt extends rt {
|
|
1128
1174
|
constructor(t) {
|
|
1129
1175
|
super(), lt(
|
|
1130
1176
|
this,
|
|
@@ -1150,52 +1196,52 @@ class Dt extends ot {
|
|
|
1150
1196
|
return this.$$.ctx[31];
|
|
1151
1197
|
}
|
|
1152
1198
|
set clientstyling(t) {
|
|
1153
|
-
this.$$set({ clientstyling: t }),
|
|
1199
|
+
this.$$set({ clientstyling: t }), re();
|
|
1154
1200
|
}
|
|
1155
1201
|
get clientstylingurl() {
|
|
1156
1202
|
return this.$$.ctx[32];
|
|
1157
1203
|
}
|
|
1158
1204
|
set clientstylingurl(t) {
|
|
1159
|
-
this.$$set({ clientstylingurl: t }),
|
|
1205
|
+
this.$$set({ clientstylingurl: t }), re();
|
|
1160
1206
|
}
|
|
1161
1207
|
get mbsource() {
|
|
1162
1208
|
return this.$$.ctx[33];
|
|
1163
1209
|
}
|
|
1164
1210
|
set mbsource(t) {
|
|
1165
|
-
this.$$set({ mbsource: t }),
|
|
1211
|
+
this.$$set({ mbsource: t }), re();
|
|
1166
1212
|
}
|
|
1167
1213
|
get lang() {
|
|
1168
1214
|
return this.$$.ctx[34];
|
|
1169
1215
|
}
|
|
1170
1216
|
set lang(t) {
|
|
1171
|
-
this.$$set({ lang: t }),
|
|
1217
|
+
this.$$set({ lang: t }), re();
|
|
1172
1218
|
}
|
|
1173
1219
|
get endpoint() {
|
|
1174
1220
|
return this.$$.ctx[35];
|
|
1175
1221
|
}
|
|
1176
1222
|
set endpoint(t) {
|
|
1177
|
-
this.$$set({ endpoint: t }),
|
|
1223
|
+
this.$$set({ endpoint: t }), re();
|
|
1178
1224
|
}
|
|
1179
1225
|
get session() {
|
|
1180
1226
|
return this.$$.ctx[36];
|
|
1181
1227
|
}
|
|
1182
1228
|
set session(t) {
|
|
1183
|
-
this.$$set({ session: t }),
|
|
1229
|
+
this.$$set({ session: t }), re();
|
|
1184
1230
|
}
|
|
1185
1231
|
get translationurl() {
|
|
1186
1232
|
return this.$$.ctx[37];
|
|
1187
1233
|
}
|
|
1188
1234
|
set translationurl(t) {
|
|
1189
|
-
this.$$set({ translationurl: t }),
|
|
1235
|
+
this.$$set({ translationurl: t }), re();
|
|
1190
1236
|
}
|
|
1191
1237
|
get templateid() {
|
|
1192
1238
|
return this.$$.ctx[30];
|
|
1193
1239
|
}
|
|
1194
1240
|
set templateid(t) {
|
|
1195
|
-
this.$$set({ templateid: t }),
|
|
1241
|
+
this.$$set({ templateid: t }), re();
|
|
1196
1242
|
}
|
|
1197
1243
|
}
|
|
1198
|
-
ft(
|
|
1244
|
+
ft(xt, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, endpoint: {}, session: {}, translationurl: {}, templateid: {} }, [], [], !0);
|
|
1199
1245
|
export {
|
|
1200
|
-
|
|
1246
|
+
xt as default
|
|
1201
1247
|
};
|