@everymatrix/cashier-page-nd 1.69.111 → 1.69.113
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-D77wRYrP.js → CashierCarousel-2AotVxhB.js} +164 -160
- package/components/CashierCarousel-Bmkxhtnm.cjs +23 -0
- package/components/{CashierCarousel-8HuPK_WY.js → CashierCarousel-Cm5G9dJd.js} +171 -167
- package/components/{CashierError-Dnk0H5ib.js → CashierError-BkWwLoWt.js} +1 -1
- package/components/{CashierError-DFOslnwl.js → CashierError-CO7-9OnG.js} +1 -1
- package/components/{CashierError-BJv9Ma-S.cjs → CashierError-Cwm9eY8c.cjs} +1 -1
- package/components/{CashierHeader-Dr5EUw02.js → CashierHeader-BOEVulz3.js} +1 -1
- package/components/{CashierHeader-C4luE8Rt.js → CashierHeader-CTZl2NGQ.js} +1 -1
- package/components/{CashierHeader-D_pRK2ix.cjs → CashierHeader-D40gryOj.cjs} +1 -1
- package/components/{CashierIframeRedirect-CiTWXkv1.cjs → CashierIframeRedirect-BKExS9o2.cjs} +1 -1
- package/components/{CashierIframeRedirect-DAAmzCia.js → CashierIframeRedirect-CFYNnH6I.js} +3 -3
- package/components/{CashierIframeRedirect-C2UPjyTE.js → CashierIframeRedirect-DCJH25FN.js} +3 -3
- package/components/{CashierMethodDetails-BcL5uTl0.cjs → CashierMethodDetails-B9yThWJd.cjs} +4 -4
- package/components/{CashierMethodDetails-CxzHJpNT.js → CashierMethodDetails-BvIuXYaF.js} +541 -537
- package/components/{CashierMethodDetails-C_ILvlcp.js → CashierMethodDetails-CrNz38mk.js} +380 -376
- package/components/{CashierMethodsList-D1-4p9Fo.js → CashierMethodsList-BE8SmqSJ.js} +2 -2
- package/components/{CashierMethodsList-CdZFk5wU.js → CashierMethodsList-BN2dT78W.js} +2 -2
- package/components/{CashierMethodsList-CEZVckvw.cjs → CashierMethodsList-DkmiAf3O.cjs} +1 -1
- package/components/CashierModal-BE_2P0FX.js +336 -0
- package/components/CashierModal-fcLWE2y3.cjs +1 -0
- package/components/CashierModal-whn0174R.js +336 -0
- package/components/{CashierNotifications-pGgsWSdS.cjs → CashierNotifications-AE1W98Am.cjs} +1 -1
- package/components/{CashierNotifications-C4esiIE1.js → CashierNotifications-DvukNd9l.js} +1 -1
- package/components/{CashierNotifications-HbBlW919.js → CashierNotifications-h-sC7KWl.js} +1 -1
- package/components/{CashierPage-BhXnLqVP.js → CashierPage-B0SFLnbl.js} +525 -533
- package/components/{CashierPage-Cu_FfnAW.js → CashierPage-BqLJ1Za1.js} +521 -529
- package/components/CashierPage-DIrw7Ur0.cjs +1 -0
- package/components/{CashierReceiptPage-C1pvLNPQ.js → CashierReceiptPage-B1GE254E.js} +2 -2
- package/components/{CashierReceiptPage-4EMwW_oF.cjs → CashierReceiptPage-BqrdBMp3.cjs} +1 -1
- package/components/{CashierReceiptPage-CzCxraC4.js → CashierReceiptPage-OE7gpibk.js} +2 -2
- package/components/{CashierSessionExpirationModal-DC3xtfId.cjs → CashierSessionExpirationModal-BAZy0IPX.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-DOAn1f7Q.js → CashierSessionExpirationModal-CNBDiaWq.js} +3 -3
- package/components/{CashierSessionExpirationModal-wcX6WNwx.js → CashierSessionExpirationModal-D1lAoUuI.js} +3 -3
- package/components/{CashierSpinner-1V0fFMq0.js → CashierSpinner-Dc_apDAz.js} +1 -1
- package/components/{CashierSpinner-CPWKt5dY.cjs → CashierSpinner-d2hvjlSo.cjs} +1 -1
- package/components/{CashierSpinner-Cx52pbwV.js → CashierSpinner-viEKbLWC.js} +1 -1
- package/components/CashierStepUp-BLCOLltJ.js +786 -0
- package/components/CashierStepUp-B_HWgCcn.cjs +1 -0
- package/components/CashierStepUp-CeqsqBhX.js +814 -0
- package/components/{CashierTransactionHistory-DnPl2II3.js → CashierTransactionHistory-Bod4CZm1.js} +5 -5
- package/components/{CashierTransactionHistory-CfPdd7w-.cjs → CashierTransactionHistory-CicwRm4P.cjs} +1 -1
- package/components/{CashierTransactionHistory-BU9zzhMH.js → CashierTransactionHistory-Ck-a7FJf.js} +5 -5
- package/components/{CashierVerifications-DBaC7Yq5.js → CashierVerifications-66ej7eXN.js} +2 -2
- package/components/{CashierVerifications-Cl0o1vbf.js → CashierVerifications-Cg5TE5jO.js} +2 -2
- package/components/{CashierVerifications-CR73ohxW.cjs → CashierVerifications-D5bq7j2I.cjs} +1 -1
- package/components/{TxnStatusIcon-CmFT6r06.cjs → TxnStatusIcon-Bs5XHdDd.cjs} +1 -1
- package/components/{TxnStatusIcon-C9c7Vat6.js → TxnStatusIcon-CvoyaPHp.js} +1 -1
- package/components/{TxnStatusIcon-CuygBt_X.js → TxnStatusIcon-DB7vrGws.js} +1 -1
- package/components/{TxnTypeIcons-BubLyQlU.js → TxnTypeIcons-BVU-p7ld.js} +1 -1
- package/components/{TxnTypeIcons-CwWZ2MoD.cjs → TxnTypeIcons-CPhGhukx.cjs} +1 -1
- package/components/{TxnTypeIcons-Cpt8i9KB.js → TxnTypeIcons-lKOKRAjP.js} +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-BkoYZVP7.cjs +0 -23
- package/components/CashierModal-CJf0aCey.cjs +0 -1
- package/components/CashierModal-Cpef67LD.js +0 -239
- package/components/CashierModal-VPZkXwtJ.js +0 -239
- package/components/CashierPage-CJVbHJ9b.cjs +0 -1
- package/components/CashierStepUp-CjnkMvDj.js +0 -834
- package/components/CashierStepUp-Ck5JQ0Nm.cjs +0 -1
- package/components/CashierStepUp-Cy8j5UPe.js +0 -806
|
@@ -0,0 +1,786 @@
|
|
|
1
|
+
import { a as Ee, $ as Le, S as Te, b as Me, s as xe, f as W, c as Ce, G as q, e as S, k as R, m as L, o as y, p as Se, q as Re, y as $, v as A, l as w, x as F, P as ee, n as z, w as P, r as Ae, R as te, Z as Pe, W as ze, B as De, C as Be, D as Ie, E as je, F as He } from "./CashierCarousel-2AotVxhB.js";
|
|
2
|
+
function ne(n, e) {
|
|
3
|
+
Ee(n, e);
|
|
4
|
+
}
|
|
5
|
+
function We(n) {
|
|
6
|
+
Le.set(n);
|
|
7
|
+
}
|
|
8
|
+
const oe = {
|
|
9
|
+
en: {
|
|
10
|
+
otpTitle: "Code verification is required",
|
|
11
|
+
popupMessage: "Please enter the security code received on your SMS/email address to perform the update.",
|
|
12
|
+
popupMessageLastWarning: "If the next validation attempt is failed, you will be logged out and blocked temporarily.",
|
|
13
|
+
minutes: "minutes",
|
|
14
|
+
errorHeader: "Error",
|
|
15
|
+
configError: "Unable to load OTP data. Please try again later.",
|
|
16
|
+
otpHeading: "Enter OTP",
|
|
17
|
+
resendOtp: "Resent OTP",
|
|
18
|
+
submit: "Submit",
|
|
19
|
+
close: "Close",
|
|
20
|
+
invalidOtp: "The code you've sent is not valid. Please try again.",
|
|
21
|
+
accountBlocked: "Too many attempts for OTP. Your account has been blocked for one hour.",
|
|
22
|
+
submissionError: "Something went wrong. Please try again.",
|
|
23
|
+
otpExpiredMessage: "Validation code has expired, please request a new one to continue.",
|
|
24
|
+
timeRemaining: "Code expires in:"
|
|
25
|
+
},
|
|
26
|
+
tr: {
|
|
27
|
+
otpTitle: "Kod doğrulaması gereklidir",
|
|
28
|
+
popupMessage: "Güncellemeyi gerçekleştirmek için SMS/e-posta adresinize gönderilen güvenlik kodunu girin.",
|
|
29
|
+
popupMessageLastWarning: "Bir sonraki doğrulama denemesi başarısız olursa, oturumunuz kapatılacak ve geçici olarak engelleneceksiniz.",
|
|
30
|
+
minutes: "dakika",
|
|
31
|
+
errorHeader: "Hata",
|
|
32
|
+
configError: "OTP verileri yüklenemedi. Lütfen daha sonra tekrar deneyin.",
|
|
33
|
+
otpHeading: "OTP Girin",
|
|
34
|
+
resendOtp: "OTP'yi Yeniden Gönder",
|
|
35
|
+
submit: "Gönder",
|
|
36
|
+
close: "Kapat",
|
|
37
|
+
invalidOtp: "Gönderdiğiniz kod geçerli değil. Lütfen tekrar deneyin.",
|
|
38
|
+
accountBlocked: "OTP için çok fazla deneme yapıldı. Hesabınız bir saat süreyle engellenmiştir.",
|
|
39
|
+
submissionError: "Bir şeyler ters gitti. Lütfen tekrar deneyin.",
|
|
40
|
+
otpExpiredMessage: "Doğrulama kodunun süresi doldu, devam etmek için lütfen yeni bir kod isteyin.",
|
|
41
|
+
timeRemaining: "Kodun süresi doluyor:"
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
function Fe(n) {
|
|
45
|
+
Ce(n, "svelte-1i390cs", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.OtpContent{width:100%;display:flex;flex-direction:column;gap:var(--emw--spacing-large, 20px)}.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]{filter:saturate(50%);opacity:0.5;cursor:auto;pointer-events:none}.OtpButton:hover{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-hover, #dbac03)}.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-size-big, 20px);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}.OtpError svg{width:25px;fill:var(--emw--color-error, #dd3434)}.OtpFieldWrapper{display:flex;flex-direction:column;gap:10px}.OtpFieldWrapper h2{margin:0}.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}}");
|
|
46
|
+
}
|
|
47
|
+
function se(n, e, t) {
|
|
48
|
+
const o = n.slice();
|
|
49
|
+
return o[51] = e[t], o[52] = e, o[53] = t, o;
|
|
50
|
+
}
|
|
51
|
+
function Ne(n) {
|
|
52
|
+
let e, t, o = (
|
|
53
|
+
/*$_*/
|
|
54
|
+
n[12]("otpTitle") + ""
|
|
55
|
+
), i, a, p, r, l, f, _, m = (
|
|
56
|
+
/*$_*/
|
|
57
|
+
n[12]("close") + ""
|
|
58
|
+
), v, d, k;
|
|
59
|
+
function b(g, O) {
|
|
60
|
+
return (
|
|
61
|
+
/*showResendOtp*/
|
|
62
|
+
g[8] ? qe : Ve
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
let T = b(n), u = T(n);
|
|
66
|
+
function M(g, O) {
|
|
67
|
+
if (
|
|
68
|
+
/*isLoading*/
|
|
69
|
+
g[2]
|
|
70
|
+
)
|
|
71
|
+
return Ye;
|
|
72
|
+
if (
|
|
73
|
+
/*config*/
|
|
74
|
+
g[3]
|
|
75
|
+
)
|
|
76
|
+
return Xe;
|
|
77
|
+
}
|
|
78
|
+
let E = M(n), x = E && E(n);
|
|
79
|
+
function j(g, O) {
|
|
80
|
+
if (
|
|
81
|
+
/*showResendOtp*/
|
|
82
|
+
g[8]
|
|
83
|
+
)
|
|
84
|
+
return Je;
|
|
85
|
+
if (
|
|
86
|
+
/*config*/
|
|
87
|
+
g[3]
|
|
88
|
+
)
|
|
89
|
+
return Ze;
|
|
90
|
+
}
|
|
91
|
+
let D = j(n), C = D && D(n);
|
|
92
|
+
return {
|
|
93
|
+
c() {
|
|
94
|
+
e = L("div"), t = L("div"), i = P(o), a = z(), u.c(), p = z(), x && x.c(), r = z(), l = L("div"), C && C.c(), f = z(), _ = L("button"), v = P(m), y(t, "class", "Title"), y(e, "class", "OtpDescription"), y(_, "class", "OtpButton"), y(l, "class", "OtpActionButtons");
|
|
95
|
+
},
|
|
96
|
+
m(g, O) {
|
|
97
|
+
R(g, e, O), w(e, t), w(t, i), w(e, a), u.m(e, null), R(g, p, O), x && x.m(g, O), R(g, r, O), R(g, l, O), C && C.m(l, null), w(l, f), w(l, _), w(_, v), d || (k = F(
|
|
98
|
+
_,
|
|
99
|
+
"click",
|
|
100
|
+
/*manualClosePopup*/
|
|
101
|
+
n[18]
|
|
102
|
+
), d = !0);
|
|
103
|
+
},
|
|
104
|
+
p(g, O) {
|
|
105
|
+
O[0] & /*$_*/
|
|
106
|
+
4096 && o !== (o = /*$_*/
|
|
107
|
+
g[12]("otpTitle") + "") && A(i, o), T === (T = b(g)) && u ? u.p(g, O) : (u.d(1), u = T(g), u && (u.c(), u.m(e, null))), E === (E = M(g)) && x ? x.p(g, O) : (x && x.d(1), x = E && E(g), x && (x.c(), x.m(r.parentNode, r))), D === (D = j(g)) && C ? C.p(g, O) : (C && C.d(1), C = D && D(g), C && (C.c(), C.m(l, f))), O[0] & /*$_*/
|
|
108
|
+
4096 && m !== (m = /*$_*/
|
|
109
|
+
g[12]("close") + "") && A(v, m);
|
|
110
|
+
},
|
|
111
|
+
d(g) {
|
|
112
|
+
g && (S(e), S(p), S(r), S(l)), u.d(), x && x.d(g), C && C.d(), d = !1, k();
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function Ue(n) {
|
|
117
|
+
let e, t, o, i, a, p, r = (
|
|
118
|
+
/*$_*/
|
|
119
|
+
n[12]("errorHeader") + ""
|
|
120
|
+
), l, f, _, m, v, d, k = (
|
|
121
|
+
/*$_*/
|
|
122
|
+
n[12]("close") + ""
|
|
123
|
+
), b, T, u;
|
|
124
|
+
return {
|
|
125
|
+
c() {
|
|
126
|
+
e = L("div"), t = L("div"), o = ee("svg"), i = ee("path"), a = z(), p = L("h2"), l = P(r), f = z(), _ = L("p"), m = P(
|
|
127
|
+
/*errorMessage*/
|
|
128
|
+
n[7]
|
|
129
|
+
), v = z(), d = L("button"), b = P(k), y(i, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), y(o, "xmlns", "http://www.w3.org/2000/svg"), y(o, "viewBox", "0 0 512 512"), y(t, "class", "OtpErrorHeader"), y(d, "class", "OtpButton error"), y(e, "class", "OtpError");
|
|
130
|
+
},
|
|
131
|
+
m(M, E) {
|
|
132
|
+
R(M, e, E), w(e, t), w(t, o), w(o, i), w(t, a), w(t, p), w(p, l), w(e, f), w(e, _), w(_, m), w(e, v), w(e, d), w(d, b), T || (u = F(
|
|
133
|
+
d,
|
|
134
|
+
"click",
|
|
135
|
+
/*manualClosePopup*/
|
|
136
|
+
n[18]
|
|
137
|
+
), T = !0);
|
|
138
|
+
},
|
|
139
|
+
p(M, E) {
|
|
140
|
+
E[0] & /*$_*/
|
|
141
|
+
4096 && r !== (r = /*$_*/
|
|
142
|
+
M[12]("errorHeader") + "") && A(l, r), E[0] & /*errorMessage*/
|
|
143
|
+
128 && A(
|
|
144
|
+
m,
|
|
145
|
+
/*errorMessage*/
|
|
146
|
+
M[7]
|
|
147
|
+
), E[0] & /*$_*/
|
|
148
|
+
4096 && k !== (k = /*$_*/
|
|
149
|
+
M[12]("close") + "") && A(b, k);
|
|
150
|
+
},
|
|
151
|
+
d(M) {
|
|
152
|
+
M && S(e), T = !1, u();
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
function Ve(n) {
|
|
157
|
+
let e, t, o, i;
|
|
158
|
+
function a(f, _) {
|
|
159
|
+
return (
|
|
160
|
+
/*isLastWarning*/
|
|
161
|
+
f[9] ? Ge : Ke
|
|
162
|
+
);
|
|
163
|
+
}
|
|
164
|
+
let p = a(n), r = p(n), l = (
|
|
165
|
+
/*hasErrors*/
|
|
166
|
+
n[5] && ie(n)
|
|
167
|
+
);
|
|
168
|
+
return {
|
|
169
|
+
c() {
|
|
170
|
+
e = L("p"), r.c(), o = z(), l && l.c(), i = Ae(), y(e, "class", t = /*isLastWarning*/
|
|
171
|
+
n[9] ? "LastWarningMessage" : "");
|
|
172
|
+
},
|
|
173
|
+
m(f, _) {
|
|
174
|
+
R(f, e, _), r.m(e, null), R(f, o, _), l && l.m(f, _), R(f, i, _);
|
|
175
|
+
},
|
|
176
|
+
p(f, _) {
|
|
177
|
+
p === (p = a(f)) && r ? r.p(f, _) : (r.d(1), r = p(f), r && (r.c(), r.m(e, null))), _[0] & /*isLastWarning*/
|
|
178
|
+
512 && t !== (t = /*isLastWarning*/
|
|
179
|
+
f[9] ? "LastWarningMessage" : "") && y(e, "class", t), /*hasErrors*/
|
|
180
|
+
f[5] ? l ? l.p(f, _) : (l = ie(f), l.c(), l.m(i.parentNode, i)) : l && (l.d(1), l = null);
|
|
181
|
+
},
|
|
182
|
+
d(f) {
|
|
183
|
+
f && (S(e), S(o), S(i)), r.d(), l && l.d(f);
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
function qe(n) {
|
|
188
|
+
let e, t = (
|
|
189
|
+
/*$_*/
|
|
190
|
+
n[12]("otpExpiredMessage") + ""
|
|
191
|
+
), o;
|
|
192
|
+
return {
|
|
193
|
+
c() {
|
|
194
|
+
e = L("p"), o = P(t), y(e, "class", "OtpNoticeMessage"), y(e, "role", "alert");
|
|
195
|
+
},
|
|
196
|
+
m(i, a) {
|
|
197
|
+
R(i, e, a), w(e, o);
|
|
198
|
+
},
|
|
199
|
+
p(i, a) {
|
|
200
|
+
a[0] & /*$_*/
|
|
201
|
+
4096 && t !== (t = /*$_*/
|
|
202
|
+
i[12]("otpExpiredMessage") + "") && A(o, t);
|
|
203
|
+
},
|
|
204
|
+
d(i) {
|
|
205
|
+
i && S(e);
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
function Ke(n) {
|
|
210
|
+
let e = (
|
|
211
|
+
/*$_*/
|
|
212
|
+
n[12]("popupMessage") + ""
|
|
213
|
+
), t;
|
|
214
|
+
return {
|
|
215
|
+
c() {
|
|
216
|
+
t = P(e);
|
|
217
|
+
},
|
|
218
|
+
m(o, i) {
|
|
219
|
+
R(o, t, i);
|
|
220
|
+
},
|
|
221
|
+
p(o, i) {
|
|
222
|
+
i[0] & /*$_*/
|
|
223
|
+
4096 && e !== (e = /*$_*/
|
|
224
|
+
o[12]("popupMessage") + "") && A(t, e);
|
|
225
|
+
},
|
|
226
|
+
d(o) {
|
|
227
|
+
o && S(t);
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
function Ge(n) {
|
|
232
|
+
let e = (
|
|
233
|
+
/*$_*/
|
|
234
|
+
n[12]("popupMessageLastWarning") + ""
|
|
235
|
+
), t;
|
|
236
|
+
return {
|
|
237
|
+
c() {
|
|
238
|
+
t = P(e);
|
|
239
|
+
},
|
|
240
|
+
m(o, i) {
|
|
241
|
+
R(o, t, i);
|
|
242
|
+
},
|
|
243
|
+
p(o, i) {
|
|
244
|
+
i[0] & /*$_*/
|
|
245
|
+
4096 && e !== (e = /*$_*/
|
|
246
|
+
o[12]("popupMessageLastWarning") + "") && A(t, e);
|
|
247
|
+
},
|
|
248
|
+
d(o) {
|
|
249
|
+
o && S(t);
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
function ie(n) {
|
|
254
|
+
let e, t;
|
|
255
|
+
return {
|
|
256
|
+
c() {
|
|
257
|
+
e = L("p"), t = P(
|
|
258
|
+
/*errorMessage*/
|
|
259
|
+
n[7]
|
|
260
|
+
), y(e, "class", "OtpErrorMessage"), y(e, "role", "alert");
|
|
261
|
+
},
|
|
262
|
+
m(o, i) {
|
|
263
|
+
R(o, e, i), w(e, t);
|
|
264
|
+
},
|
|
265
|
+
p(o, i) {
|
|
266
|
+
i[0] & /*errorMessage*/
|
|
267
|
+
128 && A(
|
|
268
|
+
t,
|
|
269
|
+
/*errorMessage*/
|
|
270
|
+
o[7]
|
|
271
|
+
);
|
|
272
|
+
},
|
|
273
|
+
d(o) {
|
|
274
|
+
o && S(e);
|
|
275
|
+
}
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
function Xe(n) {
|
|
279
|
+
let e, t, o = (
|
|
280
|
+
/*$_*/
|
|
281
|
+
n[12]("timeRemaining") + ""
|
|
282
|
+
), i, a, p = (
|
|
283
|
+
/*formatTime*/
|
|
284
|
+
n[13](
|
|
285
|
+
/*timeLeft*/
|
|
286
|
+
n[4]
|
|
287
|
+
) + ""
|
|
288
|
+
), r, l, f = (
|
|
289
|
+
/*$_*/
|
|
290
|
+
n[12]("minutes") + ""
|
|
291
|
+
), _, m, v, d = te(
|
|
292
|
+
/*otp*/
|
|
293
|
+
n[1]
|
|
294
|
+
), k = [];
|
|
295
|
+
for (let b = 0; b < d.length; b += 1)
|
|
296
|
+
k[b] = re(se(n, d, b));
|
|
297
|
+
return {
|
|
298
|
+
c() {
|
|
299
|
+
e = L("div"), t = L("div"), i = P(o), a = z(), r = P(p), l = z(), _ = P(f), m = z(), v = L("div");
|
|
300
|
+
for (let b = 0; b < k.length; b += 1)
|
|
301
|
+
k[b].c();
|
|
302
|
+
y(t, "class", "OtpTimer"), y(v, "class", "OtpField"), y(e, "class", "OtpFieldWrapper");
|
|
303
|
+
},
|
|
304
|
+
m(b, T) {
|
|
305
|
+
R(b, e, T), w(e, t), w(t, i), w(t, a), w(t, r), w(t, l), w(t, _), w(e, m), w(e, v);
|
|
306
|
+
for (let u = 0; u < k.length; u += 1)
|
|
307
|
+
k[u] && k[u].m(v, null);
|
|
308
|
+
},
|
|
309
|
+
p(b, T) {
|
|
310
|
+
if (T[0] & /*$_*/
|
|
311
|
+
4096 && o !== (o = /*$_*/
|
|
312
|
+
b[12]("timeRemaining") + "") && A(i, o), T[0] & /*timeLeft*/
|
|
313
|
+
16 && p !== (p = /*formatTime*/
|
|
314
|
+
b[13](
|
|
315
|
+
/*timeLeft*/
|
|
316
|
+
b[4]
|
|
317
|
+
) + "") && A(r, p), T[0] & /*$_*/
|
|
318
|
+
4096 && f !== (f = /*$_*/
|
|
319
|
+
b[12]("minutes") + "") && A(_, f), T[0] & /*config, otp, inputDisabled, otpInputs, handleOtpInput, handleKeyDown, handleOnPasteOtp*/
|
|
320
|
+
117770) {
|
|
321
|
+
d = te(
|
|
322
|
+
/*otp*/
|
|
323
|
+
b[1]
|
|
324
|
+
);
|
|
325
|
+
let u;
|
|
326
|
+
for (u = 0; u < d.length; u += 1) {
|
|
327
|
+
const M = se(b, d, u);
|
|
328
|
+
k[u] ? k[u].p(M, T) : (k[u] = re(M), k[u].c(), k[u].m(v, null));
|
|
329
|
+
}
|
|
330
|
+
for (; u < k.length; u += 1)
|
|
331
|
+
k[u].d(1);
|
|
332
|
+
k.length = d.length;
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
d(b) {
|
|
336
|
+
b && S(e), Pe(k, b);
|
|
337
|
+
}
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
function Ye(n) {
|
|
341
|
+
let e;
|
|
342
|
+
return {
|
|
343
|
+
c() {
|
|
344
|
+
e = L("div"), e.innerHTML = '<span class="OtpLoader"></span>', y(e, "class", "OtpLoaderContainer");
|
|
345
|
+
},
|
|
346
|
+
m(t, o) {
|
|
347
|
+
R(t, e, o);
|
|
348
|
+
},
|
|
349
|
+
p: q,
|
|
350
|
+
d(t) {
|
|
351
|
+
t && S(e);
|
|
352
|
+
}
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
function re(n) {
|
|
356
|
+
let e, t, o, i = (
|
|
357
|
+
/*index*/
|
|
358
|
+
n[53]
|
|
359
|
+
), a, p;
|
|
360
|
+
const r = () => (
|
|
361
|
+
/*input_binding*/
|
|
362
|
+
n[27](e, i)
|
|
363
|
+
), l = () => (
|
|
364
|
+
/*input_binding*/
|
|
365
|
+
n[27](null, i)
|
|
366
|
+
);
|
|
367
|
+
function f(...m) {
|
|
368
|
+
return (
|
|
369
|
+
/*input_handler*/
|
|
370
|
+
n[28](
|
|
371
|
+
/*index*/
|
|
372
|
+
n[53],
|
|
373
|
+
...m
|
|
374
|
+
)
|
|
375
|
+
);
|
|
376
|
+
}
|
|
377
|
+
function _(...m) {
|
|
378
|
+
return (
|
|
379
|
+
/*keydown_handler*/
|
|
380
|
+
n[29](
|
|
381
|
+
/*index*/
|
|
382
|
+
n[53],
|
|
383
|
+
...m
|
|
384
|
+
)
|
|
385
|
+
);
|
|
386
|
+
}
|
|
387
|
+
return {
|
|
388
|
+
c() {
|
|
389
|
+
e = L("input"), y(e, "id", `otp-input-${/*index*/
|
|
390
|
+
n[53]}`), y(e, "type", "text"), y(e, "class", t = `otp-box ${/*config*/
|
|
391
|
+
n[3].inputLength % 2 === 0 && /*index*/
|
|
392
|
+
n[53] === /*config*/
|
|
393
|
+
n[3].inputLength / 2 - 1 ? "space" : ""}`), y(e, "maxlength", 1), e.value = o = /*char*/
|
|
394
|
+
n[51], e.disabled = /*inputDisabled*/
|
|
395
|
+
n[10], y(e, "autocomplete", "off");
|
|
396
|
+
},
|
|
397
|
+
m(m, v) {
|
|
398
|
+
R(m, e, v), r(), a || (p = [
|
|
399
|
+
F(e, "input", f),
|
|
400
|
+
F(e, "keydown", _),
|
|
401
|
+
F(
|
|
402
|
+
e,
|
|
403
|
+
"paste",
|
|
404
|
+
/*handleOnPasteOtp*/
|
|
405
|
+
n[14]
|
|
406
|
+
)
|
|
407
|
+
], a = !0);
|
|
408
|
+
},
|
|
409
|
+
p(m, v) {
|
|
410
|
+
n = m, v[0] & /*config*/
|
|
411
|
+
8 && t !== (t = `otp-box ${/*config*/
|
|
412
|
+
n[3].inputLength % 2 === 0 && /*index*/
|
|
413
|
+
n[53] === /*config*/
|
|
414
|
+
n[3].inputLength / 2 - 1 ? "space" : ""}`) && y(e, "class", t), v[0] & /*otp*/
|
|
415
|
+
2 && o !== (o = /*char*/
|
|
416
|
+
n[51]) && e.value !== o && (e.value = o), v[0] & /*inputDisabled*/
|
|
417
|
+
1024 && (e.disabled = /*inputDisabled*/
|
|
418
|
+
n[10]), i !== /*index*/
|
|
419
|
+
n[53] && (l(), i = /*index*/
|
|
420
|
+
n[53], r());
|
|
421
|
+
},
|
|
422
|
+
d(m) {
|
|
423
|
+
m && S(e), l(), a = !1, ze(p);
|
|
424
|
+
}
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
function Ze(n) {
|
|
428
|
+
let e, t = (
|
|
429
|
+
/*$_*/
|
|
430
|
+
n[12]("submit") + ""
|
|
431
|
+
), o, i, a, p;
|
|
432
|
+
return {
|
|
433
|
+
c() {
|
|
434
|
+
e = L("button"), o = P(t), y(e, "class", "OtpButton"), e.disabled = i = /*otp*/
|
|
435
|
+
n[1].join("").length !== /*config*/
|
|
436
|
+
n[3].inputLength;
|
|
437
|
+
},
|
|
438
|
+
m(r, l) {
|
|
439
|
+
R(r, e, l), w(e, o), a || (p = F(
|
|
440
|
+
e,
|
|
441
|
+
"click",
|
|
442
|
+
/*submitOtp*/
|
|
443
|
+
n[19]
|
|
444
|
+
), a = !0);
|
|
445
|
+
},
|
|
446
|
+
p(r, l) {
|
|
447
|
+
l[0] & /*$_*/
|
|
448
|
+
4096 && t !== (t = /*$_*/
|
|
449
|
+
r[12]("submit") + "") && A(o, t), l[0] & /*otp, config*/
|
|
450
|
+
10 && i !== (i = /*otp*/
|
|
451
|
+
r[1].join("").length !== /*config*/
|
|
452
|
+
r[3].inputLength) && (e.disabled = i);
|
|
453
|
+
},
|
|
454
|
+
d(r) {
|
|
455
|
+
r && S(e), a = !1, p();
|
|
456
|
+
}
|
|
457
|
+
};
|
|
458
|
+
}
|
|
459
|
+
function Je(n) {
|
|
460
|
+
let e, t = (
|
|
461
|
+
/*$_*/
|
|
462
|
+
n[12]("resendOtp") + ""
|
|
463
|
+
), o, i, a;
|
|
464
|
+
return {
|
|
465
|
+
c() {
|
|
466
|
+
e = L("button"), o = P(t), y(e, "class", "OtpButton");
|
|
467
|
+
},
|
|
468
|
+
m(p, r) {
|
|
469
|
+
R(p, e, r), w(e, o), i || (a = F(
|
|
470
|
+
e,
|
|
471
|
+
"click",
|
|
472
|
+
/*handleResendOtp*/
|
|
473
|
+
n[17]
|
|
474
|
+
), i = !0);
|
|
475
|
+
},
|
|
476
|
+
p(p, r) {
|
|
477
|
+
r[0] & /*$_*/
|
|
478
|
+
4096 && t !== (t = /*$_*/
|
|
479
|
+
p[12]("resendOtp") + "") && A(o, t);
|
|
480
|
+
},
|
|
481
|
+
d(p) {
|
|
482
|
+
p && S(e), i = !1, a();
|
|
483
|
+
}
|
|
484
|
+
};
|
|
485
|
+
}
|
|
486
|
+
function Qe(n) {
|
|
487
|
+
let e;
|
|
488
|
+
function t(a, p) {
|
|
489
|
+
return (
|
|
490
|
+
/*hasConfigErrors*/
|
|
491
|
+
a[6] ? Ue : Ne
|
|
492
|
+
);
|
|
493
|
+
}
|
|
494
|
+
let o = t(n), i = o(n);
|
|
495
|
+
return {
|
|
496
|
+
c() {
|
|
497
|
+
e = L("div"), i.c(), y(e, "class", "OtpContent");
|
|
498
|
+
},
|
|
499
|
+
m(a, p) {
|
|
500
|
+
R(a, e, p), i.m(e, null), n[30](e);
|
|
501
|
+
},
|
|
502
|
+
p(a, p) {
|
|
503
|
+
o === (o = t(a)) && i ? i.p(a, p) : (i.d(1), i = o(a), i && (i.c(), i.m(e, null)));
|
|
504
|
+
},
|
|
505
|
+
i: q,
|
|
506
|
+
o: q,
|
|
507
|
+
d(a) {
|
|
508
|
+
a && S(e), i.d(), n[30](null);
|
|
509
|
+
}
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
function $e(n, e, t) {
|
|
513
|
+
let o;
|
|
514
|
+
Se(n, He, (s) => t(12, o = s));
|
|
515
|
+
let { clientstyling: i = "" } = e, { clientstylingurl: a = "" } = e, { mbsource: p } = e, { lang: r = "en" } = e, { endpoint: l } = e, { session: f } = e, { translationurl: _ } = e, m = [], v = !0, d = null, k = 0, b = "", T = "", u = !1, M = !1, E = "", x = "", j = "", D = !1, C = !1, g = !1, O, H = [], B = null, U = 0;
|
|
516
|
+
const K = {
|
|
517
|
+
MAX_ATTEMPTS_EXCEEDED: "gm.twofa.token_max_attempts_exceeded",
|
|
518
|
+
INTERNAL_SERVER_ERROR: "gm.multifactorauthentication.internal_server_error"
|
|
519
|
+
};
|
|
520
|
+
Object.keys(oe).forEach((s) => {
|
|
521
|
+
ne(s, oe[s]);
|
|
522
|
+
});
|
|
523
|
+
const le = () => {
|
|
524
|
+
We(r);
|
|
525
|
+
}, ae = () => {
|
|
526
|
+
fetch(_).then((s) => s.json()).then((s) => {
|
|
527
|
+
Object.keys(s).forEach((c) => {
|
|
528
|
+
ne(c, s[c]);
|
|
529
|
+
});
|
|
530
|
+
}).catch((s) => {
|
|
531
|
+
console.log(s);
|
|
532
|
+
});
|
|
533
|
+
}, G = async (s) => {
|
|
534
|
+
if (s.detail?.["x-step-up-required"]) {
|
|
535
|
+
if (t(6, M = !1), t(5, u = !1), t(7, E = ""), x = s.detail["x-step-up-token"], j = s.detail.flow, !x || !j) {
|
|
536
|
+
t(2, v = !1), t(6, M = !0), t(7, E = o("configError"));
|
|
537
|
+
return;
|
|
538
|
+
}
|
|
539
|
+
await Q();
|
|
540
|
+
}
|
|
541
|
+
}, ue = () => {
|
|
542
|
+
B && (clearInterval(B), B = null), t(5, u = !1), t(6, M = !1), t(7, E = ""), t(9, C = !1), t(1, m = []), t(3, d = null), t(2, v = !0);
|
|
543
|
+
}, X = () => {
|
|
544
|
+
ue();
|
|
545
|
+
}, pe = () => {
|
|
546
|
+
const s = new Date(b), c = new Date(T), h = /* @__PURE__ */ new Date(), I = c.getTime() - h.getTime();
|
|
547
|
+
U = s.getTime() - I;
|
|
548
|
+
const N = Date.now(), Oe = Math.max(0, Math.floor((U - N) / 1e3));
|
|
549
|
+
t(4, k = Oe);
|
|
550
|
+
}, ce = () => {
|
|
551
|
+
B && clearInterval(B), B = setInterval(
|
|
552
|
+
() => {
|
|
553
|
+
const s = Date.now(), c = Math.max(0, Math.floor((U - s) / 1e3));
|
|
554
|
+
t(4, k = c), t(10, g = c <= 0), c <= 0 && (clearInterval(B), B = null, t(8, D = !0), t(5, u = !1), t(9, C = !1));
|
|
555
|
+
},
|
|
556
|
+
1e3
|
|
557
|
+
);
|
|
558
|
+
}, fe = (s) => {
|
|
559
|
+
const c = Math.floor(s / 60), h = s % 60;
|
|
560
|
+
return `${c.toString().padStart(2, "0")}:${h.toString().padStart(2, "0")}`;
|
|
561
|
+
}, V = (s, c) => {
|
|
562
|
+
const h = [...m];
|
|
563
|
+
h[s] = c.toUpperCase(), t(1, m = h);
|
|
564
|
+
}, de = (s) => {
|
|
565
|
+
s.preventDefault();
|
|
566
|
+
const h = (s.clipboardData?.getData("text")?.trim() || "").slice(0, d.inputLength).split("");
|
|
567
|
+
t(1, m = [...h, ...Array(d.inputLength - h.length).fill("")]), H[h.length]?.focus(), h.length === d.inputLength && J();
|
|
568
|
+
}, Y = (s, c) => {
|
|
569
|
+
const h = s.target, I = h.value;
|
|
570
|
+
/^[a-z0-9]$/i.test(I) && (V(c, I), H[c + 1]?.focus()), h.value = "";
|
|
571
|
+
}, Z = (s, c) => {
|
|
572
|
+
const h = s.key, I = s.ctrlKey || s.metaKey;
|
|
573
|
+
if (/^[a-z0-9]$/i.test(h)) {
|
|
574
|
+
if (I && h.toLowerCase() === "v")
|
|
575
|
+
return;
|
|
576
|
+
s.preventDefault(), V(c, h), H[c + 1]?.focus();
|
|
577
|
+
} else
|
|
578
|
+
h === "Backspace" && (s.preventDefault(), m[c] !== "" && V(c, ""), H[c - 1]?.focus());
|
|
579
|
+
}, me = () => {
|
|
580
|
+
const s = new CustomEvent("otpResendRequested");
|
|
581
|
+
window.dispatchEvent(s);
|
|
582
|
+
}, ge = (s) => {
|
|
583
|
+
window.dispatchEvent(new CustomEvent(
|
|
584
|
+
"otpSubmitted",
|
|
585
|
+
{
|
|
586
|
+
detail: {
|
|
587
|
+
code: s,
|
|
588
|
+
maxAttempts: d.maxValidationAttempts,
|
|
589
|
+
validatedAttempts: d.numberOfValidateAttempts
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
));
|
|
593
|
+
}, he = async (s) => {
|
|
594
|
+
const c = new URL(`/api/nwa/api/v1/mfa/challenge/${x}/validate`, l);
|
|
595
|
+
c.searchParams.append("input", s);
|
|
596
|
+
try {
|
|
597
|
+
const h = await fetch(c.href, { method: "POST" });
|
|
598
|
+
if (h.status === 200) {
|
|
599
|
+
_e();
|
|
600
|
+
return;
|
|
601
|
+
}
|
|
602
|
+
const I = await h.json();
|
|
603
|
+
throw new Error(I.message);
|
|
604
|
+
} catch (h) {
|
|
605
|
+
if (h.message === K.INTERNAL_SERVER_ERROR) {
|
|
606
|
+
if (d.numberOfValidateAttempts === d.maxValidationAttempts - 1) {
|
|
607
|
+
window.dispatchEvent(new CustomEvent("otpSetTimeout")), window.postMessage(
|
|
608
|
+
{
|
|
609
|
+
type: "WidgetNotification",
|
|
610
|
+
data: {
|
|
611
|
+
type: "error",
|
|
612
|
+
message: o("accountBlocked")
|
|
613
|
+
}
|
|
614
|
+
},
|
|
615
|
+
window.location.href
|
|
616
|
+
), window.dispatchEvent(new CustomEvent("manualClosePopup"));
|
|
617
|
+
return;
|
|
618
|
+
}
|
|
619
|
+
t(5, u = !0), t(7, E = o("invalidOtp")), Q();
|
|
620
|
+
return;
|
|
621
|
+
}
|
|
622
|
+
console.error("OTP submission failed:", h), t(5, u = !0), t(7, E = o("submissionError"));
|
|
623
|
+
} finally {
|
|
624
|
+
t(2, v = !1);
|
|
625
|
+
}
|
|
626
|
+
}, _e = () => {
|
|
627
|
+
window.dispatchEvent(new CustomEvent(
|
|
628
|
+
"otpSuccess",
|
|
629
|
+
{
|
|
630
|
+
detail: {
|
|
631
|
+
message: "User successfully authenticated"
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
));
|
|
635
|
+
}, be = () => {
|
|
636
|
+
window.dispatchEvent(new CustomEvent("manualClosePopup"));
|
|
637
|
+
}, J = async () => {
|
|
638
|
+
if (m.join("").length !== d.inputLength) {
|
|
639
|
+
t(5, u = !0), t(7, E = o("invalidOtp"));
|
|
640
|
+
return;
|
|
641
|
+
}
|
|
642
|
+
t(2, v = !0), t(5, u = !1), t(7, E = "");
|
|
643
|
+
const s = m.join("");
|
|
644
|
+
j === "stateless" && ge(s), j === "stateful" && await he(s);
|
|
645
|
+
}, Q = async () => {
|
|
646
|
+
if (l)
|
|
647
|
+
try {
|
|
648
|
+
t(2, v = !0);
|
|
649
|
+
const s = new URL(`/api/nwa/api/v1/mfa/challenge/${x}/config`, l), c = await fetch(s.href), h = await c.json();
|
|
650
|
+
if (c.ok)
|
|
651
|
+
t(3, d = h), t(1, m = Array(d.inputLength).fill("")), t(8, D = !1), b = d.expirationTime, T = d.serverTime, d.numberOfValidateAttempts !== 0 && (t(5, u = !0), t(7, E = o("invalidOtp"))), d.numberOfValidateAttempts === d.maxValidationAttempts - 1 && t(9, C = !0), t(2, v = !1), pe(), ce();
|
|
652
|
+
else if (h && h.details === K.MAX_ATTEMPTS_EXCEEDED)
|
|
653
|
+
window.dispatchEvent(new CustomEvent("manualClosePopup"));
|
|
654
|
+
else {
|
|
655
|
+
const I = h && h.message || `Failed to load config. Status: ${c.status}`;
|
|
656
|
+
throw new Error(I);
|
|
657
|
+
}
|
|
658
|
+
} catch (s) {
|
|
659
|
+
t(2, v = !1), t(6, M = !0), t(7, E = o("configError")), window.dispatchEvent(new CustomEvent("2fa-loading", { detail: { isLoading: !1 } })), console.error("Error loading 2FA config:", s);
|
|
660
|
+
}
|
|
661
|
+
};
|
|
662
|
+
Re(() => (window.addEventListener("stepUpAuthRequired", G, !1), window.addEventListener("closePopup", X, !1), () => {
|
|
663
|
+
window.removeEventListener("stepUpAuthRequired", G), window.removeEventListener("closePopup", X, !1), B && clearInterval(B);
|
|
664
|
+
}));
|
|
665
|
+
function we(s, c) {
|
|
666
|
+
$[s ? "unshift" : "push"](() => {
|
|
667
|
+
H[c] = s, t(11, H);
|
|
668
|
+
});
|
|
669
|
+
}
|
|
670
|
+
const ye = (s, c) => Y(c, s), ve = (s, c) => Z(c, s);
|
|
671
|
+
function ke(s) {
|
|
672
|
+
$[s ? "unshift" : "push"](() => {
|
|
673
|
+
O = s, t(0, O);
|
|
674
|
+
});
|
|
675
|
+
}
|
|
676
|
+
return n.$$set = (s) => {
|
|
677
|
+
"clientstyling" in s && t(20, i = s.clientstyling), "clientstylingurl" in s && t(21, a = s.clientstylingurl), "mbsource" in s && t(22, p = s.mbsource), "lang" in s && t(23, r = s.lang), "endpoint" in s && t(24, l = s.endpoint), "session" in s && t(25, f = s.session), "translationurl" in s && t(26, _ = s.translationurl);
|
|
678
|
+
}, n.$$.update = () => {
|
|
679
|
+
n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
680
|
+
1048577 && i && O && De(O, i), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
681
|
+
2097153 && a && O && Be(O, a), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
682
|
+
4194305 && p && O && Ie(O, `${p}.Style`), n.$$.dirty[0] & /*lang*/
|
|
683
|
+
8388608 && r && le(), n.$$.dirty[0] & /*lang, translationurl*/
|
|
684
|
+
75497472 && r && _ && ae();
|
|
685
|
+
}, [
|
|
686
|
+
O,
|
|
687
|
+
m,
|
|
688
|
+
v,
|
|
689
|
+
d,
|
|
690
|
+
k,
|
|
691
|
+
u,
|
|
692
|
+
M,
|
|
693
|
+
E,
|
|
694
|
+
D,
|
|
695
|
+
C,
|
|
696
|
+
g,
|
|
697
|
+
H,
|
|
698
|
+
o,
|
|
699
|
+
fe,
|
|
700
|
+
de,
|
|
701
|
+
Y,
|
|
702
|
+
Z,
|
|
703
|
+
me,
|
|
704
|
+
be,
|
|
705
|
+
J,
|
|
706
|
+
i,
|
|
707
|
+
a,
|
|
708
|
+
p,
|
|
709
|
+
r,
|
|
710
|
+
l,
|
|
711
|
+
f,
|
|
712
|
+
_,
|
|
713
|
+
we,
|
|
714
|
+
ye,
|
|
715
|
+
ve,
|
|
716
|
+
ke
|
|
717
|
+
];
|
|
718
|
+
}
|
|
719
|
+
class et extends Te {
|
|
720
|
+
constructor(e) {
|
|
721
|
+
super(), Me(
|
|
722
|
+
this,
|
|
723
|
+
e,
|
|
724
|
+
$e,
|
|
725
|
+
Qe,
|
|
726
|
+
xe,
|
|
727
|
+
{
|
|
728
|
+
clientstyling: 20,
|
|
729
|
+
clientstylingurl: 21,
|
|
730
|
+
mbsource: 22,
|
|
731
|
+
lang: 23,
|
|
732
|
+
endpoint: 24,
|
|
733
|
+
session: 25,
|
|
734
|
+
translationurl: 26
|
|
735
|
+
},
|
|
736
|
+
Fe,
|
|
737
|
+
[-1, -1]
|
|
738
|
+
);
|
|
739
|
+
}
|
|
740
|
+
get clientstyling() {
|
|
741
|
+
return this.$$.ctx[20];
|
|
742
|
+
}
|
|
743
|
+
set clientstyling(e) {
|
|
744
|
+
this.$$set({ clientstyling: e }), W();
|
|
745
|
+
}
|
|
746
|
+
get clientstylingurl() {
|
|
747
|
+
return this.$$.ctx[21];
|
|
748
|
+
}
|
|
749
|
+
set clientstylingurl(e) {
|
|
750
|
+
this.$$set({ clientstylingurl: e }), W();
|
|
751
|
+
}
|
|
752
|
+
get mbsource() {
|
|
753
|
+
return this.$$.ctx[22];
|
|
754
|
+
}
|
|
755
|
+
set mbsource(e) {
|
|
756
|
+
this.$$set({ mbsource: e }), W();
|
|
757
|
+
}
|
|
758
|
+
get lang() {
|
|
759
|
+
return this.$$.ctx[23];
|
|
760
|
+
}
|
|
761
|
+
set lang(e) {
|
|
762
|
+
this.$$set({ lang: e }), W();
|
|
763
|
+
}
|
|
764
|
+
get endpoint() {
|
|
765
|
+
return this.$$.ctx[24];
|
|
766
|
+
}
|
|
767
|
+
set endpoint(e) {
|
|
768
|
+
this.$$set({ endpoint: e }), W();
|
|
769
|
+
}
|
|
770
|
+
get session() {
|
|
771
|
+
return this.$$.ctx[25];
|
|
772
|
+
}
|
|
773
|
+
set session(e) {
|
|
774
|
+
this.$$set({ session: e }), W();
|
|
775
|
+
}
|
|
776
|
+
get translationurl() {
|
|
777
|
+
return this.$$.ctx[26];
|
|
778
|
+
}
|
|
779
|
+
set translationurl(e) {
|
|
780
|
+
this.$$set({ translationurl: e }), W();
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
je(et, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, endpoint: {}, session: {}, translationurl: {} }, [], [], !0);
|
|
784
|
+
export {
|
|
785
|
+
et as default
|
|
786
|
+
};
|