@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.
- package/components/{CashierCarousel-CIrhQ1F1.js → CashierCarousel-3bBExAfX.js} +160 -136
- package/components/{CashierCarousel-CibDHVzx.js → CashierCarousel-C0iOhcfu.js} +166 -142
- package/components/CashierCarousel-DACE1tKH.cjs +1 -0
- package/components/{CashierError-ulLnVgQF.js → CashierError-C2laBAxm.js} +282 -178
- package/components/{CashierError-BgzGU74G.js → CashierError-CE7_mcoB.js} +282 -178
- package/components/{CashierError-DhQtatzN.cjs → CashierError-D5O8VRb7.cjs} +1 -1
- package/components/{CashierHeader-CnMNnCMA.js → CashierHeader-C1q5WV57.js} +144 -130
- package/components/CashierHeader-CHEzsRF0.cjs +1 -0
- package/components/{CashierHeader-CyXIVUoS.js → CashierHeader-Dm7TURe3.js} +144 -130
- package/components/{CashierIframeRedirect-BUy5m6fN.js → CashierIframeRedirect-C77nD3AG.js} +38 -32
- package/components/{CashierIframeRedirect-DOCts-eZ.js → CashierIframeRedirect-CbkM19jX.js} +38 -32
- package/components/CashierIframeRedirect-CnDLsDYN.cjs +1 -0
- package/components/{CashierMethodDetails-B-klrcoA.js → CashierMethodDetails-CmCUjtZZ.js} +1500 -1304
- package/components/{CashierMethodDetails-DmHKHr2M.cjs → CashierMethodDetails-DcHxycYB.cjs} +4 -4
- package/components/{CashierMethodDetails-BHGrCcE3.js → CashierMethodDetails-g-EHhr4t.js} +1345 -1149
- package/components/CashierMethodsList-BaUQBBIX.cjs +1 -0
- package/components/{CashierMethodsList-7ACO_YE6.js → CashierMethodsList-DgEtoxRa.js} +152 -128
- package/components/{CashierMethodsList-Cr1BX878.js → CashierMethodsList-kwzWzUdM.js} +136 -112
- package/components/{CashierModal-Ke9TZX5s.js → CashierModal-Bpf1W4TW.js} +2 -2
- package/components/{CashierModal-BdpiH2_j.cjs → CashierModal-D8_Y0ZU6.cjs} +1 -1
- package/components/{CashierModal-4iF9ylQT.js → CashierModal-DfBiGe-Y.js} +2 -2
- package/components/{CashierNotifications-DOZcnn7M.js → CashierNotifications-CXsZaMzr.js} +1 -1
- package/components/{CashierNotifications-BVJkJQAP.js → CashierNotifications-LH8DhGDl.js} +1 -1
- package/components/{CashierNotifications-B_kxAZOz.cjs → CashierNotifications-ZtPfOc6V.cjs} +1 -1
- package/components/CashierPage-BOWMSZ9v.cjs +23 -0
- package/components/{CashierPage-Bz6JgmrH.js → CashierPage-CiyPlHzj.js} +715 -616
- package/components/{CashierPage-DmYelgiN.js → CashierPage-DdCmt2zp.js} +972 -871
- package/components/{CashierReceiptPage-D5PB-1VI.js → CashierReceiptPage-A54bEgRe.js} +567 -381
- package/components/{CashierReceiptPage-CEQajL7m.js → CashierReceiptPage-BHkIMd6B.js} +470 -284
- package/components/{CashierReceiptPage-2-P4gA2W.cjs → CashierReceiptPage-CeVo2qP_.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-CePJRUlu.js → CashierSessionExpirationModal-C8EUenjL.js} +141 -125
- package/components/CashierSessionExpirationModal-CT28y-Dy.cjs +2 -0
- package/components/{CashierSessionExpirationModal-BZyLc1_S.js → CashierSessionExpirationModal-DqUoBpXM.js} +141 -125
- package/components/{CashierSpinner-C9Ra-0IT.js → CashierSpinner-B3ab9--E.js} +2 -2
- package/components/{CashierSpinner-BF0PvrCl.cjs → CashierSpinner-DTiIwXJs.cjs} +1 -1
- package/components/{CashierSpinner-CB2IDF99.js → CashierSpinner-xkYSSmKN.js} +2 -2
- package/components/CashierStepUp-C4aK_vrD.cjs +1 -0
- package/components/{CashierStepUp-Ck0xq8Xm.js → CashierStepUp-CgG4aO_s.js} +371 -325
- package/components/{CashierStepUp-B3Ph1OSf.js → CashierStepUp-DNo6sy36.js} +397 -351
- package/components/CashierTransactionHistory-2O9iJlJI.cjs +1 -0
- package/components/{CashierTransactionHistory-D5wsFJEM.js → CashierTransactionHistory-Ca3FNiKJ.js} +522 -472
- package/components/{CashierTransactionHistory-CoTFYN7l.js → CashierTransactionHistory-oApbxEt2.js} +494 -444
- package/components/CashierVerifications-CcDH-3z5.cjs +1 -0
- package/components/{CashierVerifications-BEFmSXtj.js → CashierVerifications-CzTI2EZ4.js} +245 -199
- package/components/{CashierVerifications-CA42knBf.js → CashierVerifications-DR7dYjc4.js} +256 -210
- package/components/{TxnStatusIcon-Bw8L-eXX.js → TxnStatusIcon-Clv1k2Ma.js} +1 -1
- package/components/{TxnStatusIcon-8ewM4ccO.js → TxnStatusIcon-DPf3O_DU.js} +1 -1
- package/components/{TxnStatusIcon-CgTqMiw9.cjs → TxnStatusIcon-i-LsiwNC.cjs} +1 -1
- package/components/{TxnTypeIcons-DhQNGQt2.js → TxnTypeIcons-36d9TALW.js} +1 -1
- package/components/{TxnTypeIcons-2TqkD6dM.cjs → TxnTypeIcons-D4tuuQoe.cjs} +1 -1
- package/components/{TxnTypeIcons-5Ao_1BRX.js → TxnTypeIcons-DYUOz_RG.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-BSgX_-9d.cjs +0 -1
- package/components/CashierCarousel-BSxRIpNj.js +0 -708
- package/components/CashierCarousel-BnsrLQLz.cjs +0 -1
- package/components/CashierCarousel-BsryNC67.js +0 -711
- package/components/CashierCarousel-CLl1dEO0.js +0 -711
- package/components/CashierCarousel-D0dDvgaj.js +0 -708
- package/components/CashierCarousel-DVLQpSbh.js +0 -711
- package/components/CashierCarousel-Dh5Q3q4o.cjs +0 -1
- package/components/CashierCarousel-DucLdPiP.cjs +0 -1
- package/components/CashierCarousel-jiScaw1m.js +0 -708
- package/components/CashierError-B19WWS6q.js +0 -849
- package/components/CashierError-C9QJqSOU.cjs +0 -1
- package/components/CashierError-CJMwmI7N.js +0 -849
- package/components/CashierError-CL9tcScj.js +0 -849
- package/components/CashierError-CpI-ZvDt.js +0 -849
- package/components/CashierError-DY-spTTl.js +0 -849
- package/components/CashierError-f4ZqXuJH.js +0 -849
- package/components/CashierError-mFSpkELc.cjs +0 -1
- package/components/CashierError-nb2MHtLH.cjs +0 -1
- package/components/CashierHeader-9Jv4Zu9U.cjs +0 -1
- package/components/CashierHeader-CmmEk0QP.cjs +0 -1
- package/components/CashierHeader-DA_ReO25.cjs +0 -1
- package/components/CashierHeader-DEksQqYQ.js +0 -477
- package/components/CashierHeader-DwvRD5WU.js +0 -477
- package/components/CashierHeader-J44Qka8M.js +0 -477
- package/components/CashierHeader-SrIA_1me.cjs +0 -1
- package/components/CashierHeader-TK2-BiHl.js +0 -477
- package/components/CashierHeader-jQ2-E617.js +0 -477
- package/components/CashierHeader-vy8HyWPz.js +0 -477
- package/components/CashierIframeRedirect-5s9ZtG-5.cjs +0 -1
- package/components/CashierIframeRedirect-BseB9TAg.js +0 -387
- package/components/CashierIframeRedirect-C2UcYLWG.cjs +0 -1
- package/components/CashierIframeRedirect-CB1_eaMN.cjs +0 -1
- package/components/CashierIframeRedirect-CTHqad7Z.js +0 -387
- package/components/CashierIframeRedirect-CyY79191.js +0 -387
- package/components/CashierIframeRedirect-DdKFPBSa.js +0 -387
- package/components/CashierIframeRedirect-Dhu2OC9A.js +0 -387
- package/components/CashierIframeRedirect-N8QJeLeb.cjs +0 -1
- package/components/CashierIframeRedirect-lM7pHpa9.js +0 -387
- package/components/CashierMethodDetails-BWknB3e7.js +0 -11385
- package/components/CashierMethodDetails-C38oxecJ.js +0 -11821
- package/components/CashierMethodDetails-CEt1JRHd.js +0 -11758
- package/components/CashierMethodDetails-CR-B6W_o.js +0 -11758
- package/components/CashierMethodDetails-CoVztEid.cjs +0 -238
- package/components/CashierMethodDetails-D0FWPJ2H.js +0 -11336
- package/components/CashierMethodDetails-DT4GvTpz.cjs +0 -238
- package/components/CashierMethodDetails-DVnlD9Uk.cjs +0 -85
- package/components/CashierMethodDetails-jCkj4SrI.js +0 -11821
- package/components/CashierMethodsList-BvOniQPF.cjs +0 -1
- package/components/CashierMethodsList-BxvD9zAR.js +0 -969
- package/components/CashierMethodsList-BzQxrxu_.cjs +0 -1
- package/components/CashierMethodsList-CMaD5FXj.js +0 -955
- package/components/CashierMethodsList-C_ldRYq_.js +0 -969
- package/components/CashierMethodsList-Cy2Vsr78.js +0 -955
- package/components/CashierMethodsList-DR3WLcjt.cjs +0 -1
- package/components/CashierMethodsList-DYRS6KJx.cjs +0 -1
- package/components/CashierMethodsList-KXr3hScy.js +0 -955
- package/components/CashierMethodsList-u11i0SYf.js +0 -969
- package/components/CashierModal-B-UWvltM.js +0 -386
- package/components/CashierModal-BitlQX-o.cjs +0 -1
- package/components/CashierModal-C0Xof_AE.js +0 -402
- package/components/CashierModal-CcawnfUI.cjs +0 -1
- package/components/CashierModal-CevNAvJE.js +0 -386
- package/components/CashierModal-DJ3Q9obn.js +0 -402
- package/components/CashierModal-Dsi_oVHh.js +0 -402
- package/components/CashierModal-DwEKUjMK.cjs +0 -1
- package/components/CashierModal-aBGB4ejQ.js +0 -386
- package/components/CashierNotifications-BanZGIkE.js +0 -129
- package/components/CashierNotifications-C2ND2S-i.cjs +0 -1
- package/components/CashierNotifications-CY2B13Wf.js +0 -129
- package/components/CashierNotifications-CyCI6ksG.js +0 -129
- package/components/CashierNotifications-DnmlBB_Q.cjs +0 -1
- package/components/CashierNotifications-DquKOU8w.js +0 -129
- package/components/CashierNotifications-Du8trHf6.js +0 -129
- package/components/CashierNotifications-WS_5AwbR.js +0 -129
- package/components/CashierNotifications-wQG099OX.cjs +0 -1
- package/components/CashierPage-895aolw0.js +0 -10288
- package/components/CashierPage-BKglURO0.js +0 -10233
- package/components/CashierPage-BU42FSzD.js +0 -10307
- package/components/CashierPage-BkADSeGN.cjs +0 -23
- package/components/CashierPage-Bmy89dKm.cjs +0 -23
- package/components/CashierPage-Cdtyq0lf.js +0 -10307
- package/components/CashierPage-DEYpTaJv.cjs +0 -23
- package/components/CashierPage-DYXRnLVw.js +0 -10254
- package/components/CashierPage-TRzKwGkj.cjs +0 -23
- package/components/CashierPage-mGP6lkFv.js +0 -10254
- package/components/CashierReceiptPage-B3cqHXqT.js +0 -2043
- package/components/CashierReceiptPage-BCh5OfiT.cjs +0 -29
- package/components/CashierReceiptPage-BjTVzjuc.js +0 -2063
- package/components/CashierReceiptPage-BoZ2EpUX.cjs +0 -29
- package/components/CashierReceiptPage-CGcmTBRp.js +0 -2063
- package/components/CashierReceiptPage-DNsdCwQQ.js +0 -2043
- package/components/CashierReceiptPage-DWyirru6.js +0 -2063
- package/components/CashierReceiptPage-DkwFQrzl.cjs +0 -29
- package/components/CashierReceiptPage-mvS7a_9t.js +0 -2043
- package/components/CashierSessionExpirationModal-15tJe60J.cjs +0 -2
- package/components/CashierSessionExpirationModal-B0TYP3cY.cjs +0 -2
- package/components/CashierSessionExpirationModal-BrfbbbF-.js +0 -1212
- package/components/CashierSessionExpirationModal-BrhADqF1.js +0 -1212
- package/components/CashierSessionExpirationModal-CIrMZkSD.cjs +0 -2
- package/components/CashierSessionExpirationModal-CY385n9R.js +0 -1212
- package/components/CashierSessionExpirationModal-Cb456WpL.cjs +0 -2
- package/components/CashierSessionExpirationModal-DXVLX-Ja.js +0 -1212
- package/components/CashierSessionExpirationModal-IfrOHdOp.js +0 -1212
- package/components/CashierSessionExpirationModal-i5NfYzNE.js +0 -1212
- package/components/CashierSpinner-BQv2AMHG.js +0 -79
- package/components/CashierSpinner-Bpe0d0oQ.js +0 -79
- package/components/CashierSpinner-BvhJgDvg.js +0 -79
- package/components/CashierSpinner-CFUNSysS.js +0 -79
- package/components/CashierSpinner-CKdmXXKt.cjs +0 -1
- package/components/CashierSpinner-D6D1AmR0.cjs +0 -1
- package/components/CashierSpinner-DrZub22H.js +0 -79
- package/components/CashierSpinner-bOYmQpsr.js +0 -79
- package/components/CashierSpinner-mcvtpHVb.cjs +0 -1
- package/components/CashierStepUp-4fnHnyQH.cjs +0 -1
- package/components/CashierStepUp-CKae09kD.js +0 -1201
- package/components/CashierStepUp-CNHvoNU1.js +0 -1161
- package/components/CashierStepUp-CVfdA9uX.js +0 -1201
- package/components/CashierStepUp-ChUBdlnk.cjs +0 -1
- package/components/CashierStepUp-Cj8xEgHC.js +0 -1264
- package/components/CashierStepUp-DH4pCg7V.cjs +0 -1
- package/components/CashierStepUp-DIQ9DrxX.cjs +0 -1
- package/components/CashierStepUp-DfYWcQde.js +0 -1161
- package/components/CashierStepUp-iS4DfmUJ.js +0 -1304
- package/components/CashierTransactionHistory-B6FzMX9a.js +0 -1415
- package/components/CashierTransactionHistory-B9a9qQjo.js +0 -1415
- package/components/CashierTransactionHistory-BSRmZpn2.cjs +0 -1
- package/components/CashierTransactionHistory-Bkqw8dMT.cjs +0 -1
- package/components/CashierTransactionHistory-C8SSHcED.js +0 -1415
- package/components/CashierTransactionHistory-C9q1W_66.js +0 -1415
- package/components/CashierTransactionHistory-DkPMVofl.js +0 -1415
- package/components/CashierTransactionHistory-DrZj3C3r.cjs +0 -1
- package/components/CashierTransactionHistory-_uQpfmaM.js +0 -1415
- package/components/CashierTransactionHistory-veYBG-Kr.cjs +0 -1
- package/components/CashierVerifications-BI_yu8fO.js +0 -722
- package/components/CashierVerifications-BUuzc2KV.cjs +0 -1
- package/components/CashierVerifications-BZPBsrmc.cjs +0 -1
- package/components/CashierVerifications-Bu-KbeZF.cjs +0 -1
- package/components/CashierVerifications-Bu0ALHD1.js +0 -722
- package/components/CashierVerifications-C3vBxGTw.js +0 -726
- package/components/CashierVerifications-CBtYGTLV.js +0 -726
- package/components/CashierVerifications-CJjMkvTK.js +0 -722
- package/components/CashierVerifications-D692oxDO.js +0 -726
- package/components/CashierVerifications-nyuz_0L4.cjs +0 -1
- package/components/TxnStatusIcon-B6x0tb9z.js +0 -142
- package/components/TxnStatusIcon-B99-DjyY.js +0 -142
- package/components/TxnStatusIcon-BO-jJSDC.js +0 -142
- package/components/TxnStatusIcon-CspMEKjU.cjs +0 -1
- package/components/TxnStatusIcon-DKI_hVK8.cjs +0 -1
- package/components/TxnStatusIcon-ObLzHWKw.cjs +0 -1
- package/components/TxnStatusIcon-T3_oGTiJ.js +0 -142
- package/components/TxnStatusIcon-_ohfqibs.js +0 -142
- package/components/TxnStatusIcon-xhjNtEZS.js +0 -142
- package/components/TxnTypeIcons-BL543vM-.js +0 -101
- package/components/TxnTypeIcons-BxLbK2qP.cjs +0 -1
- package/components/TxnTypeIcons-CM9KOumw.js +0 -101
- package/components/TxnTypeIcons-Cv_QN0g3.js +0 -101
- package/components/TxnTypeIcons-DFX30GCY.js +0 -101
- package/components/TxnTypeIcons-Dv_tv357.js +0 -101
- package/components/TxnTypeIcons-SOn0rg4y.cjs +0 -1
- package/components/TxnTypeIcons-gD4j8VCB.js +0 -101
- package/components/TxnTypeIcons-mX1zqVBL.cjs +0 -1
|
@@ -1,402 +0,0 @@
|
|
|
1
|
-
var B = (i, e, t) => new Promise((n, a) => {
|
|
2
|
-
var f = (p) => {
|
|
3
|
-
try {
|
|
4
|
-
g(t.next(p));
|
|
5
|
-
} catch (x) {
|
|
6
|
-
a(x);
|
|
7
|
-
}
|
|
8
|
-
}, h = (p) => {
|
|
9
|
-
try {
|
|
10
|
-
g(t.throw(p));
|
|
11
|
-
} catch (x) {
|
|
12
|
-
a(x);
|
|
13
|
-
}
|
|
14
|
-
}, g = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(f, h);
|
|
15
|
-
g((t = t.apply(i, e)).next());
|
|
16
|
-
});
|
|
17
|
-
import { S as ie, b as ne, s as oe, f as M, c as le, e as S, t as O, g as z, a7 as se, a8 as ae, k as H, m as C, q as re, a0 as j, d as F, u as Y, h as q, j as D, L as T, l as v, G as de, n as I, o as m, H as ce, x as W, y as fe, z as ue, Q as R, A as he } from "./CashierPage-Cdtyq0lf.js";
|
|
18
|
-
import { s as me, a as ge, b as pe } from "./CashierHeader-vy8HyWPz.js";
|
|
19
|
-
function we(i) {
|
|
20
|
-
le(i, "svelte-e2luo5", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.Uppercase{text-transform:uppercase}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
|
|
21
|
-
}
|
|
22
|
-
const ye = (i) => ({}), U = (i) => ({}), _e = (i) => ({}), A = (i) => ({});
|
|
23
|
-
function G(i) {
|
|
24
|
-
let e, t, n, a, f, h, g, p, x, b, k, u, d = (
|
|
25
|
-
/*modaltype*/
|
|
26
|
-
(i[3] == "error" || /*modaltype*/
|
|
27
|
-
i[3] == "bonusDescription") && P()
|
|
28
|
-
);
|
|
29
|
-
const w = (
|
|
30
|
-
/*#slots*/
|
|
31
|
-
i[14].title
|
|
32
|
-
), y = F(
|
|
33
|
-
w,
|
|
34
|
-
i,
|
|
35
|
-
/*$$scope*/
|
|
36
|
-
i[13],
|
|
37
|
-
A
|
|
38
|
-
);
|
|
39
|
-
let r = (
|
|
40
|
-
/*modaltype*/
|
|
41
|
-
i[3] != "2fa-old" && Q(i)
|
|
42
|
-
), l = (
|
|
43
|
-
/*isloading*/
|
|
44
|
-
i[4] === "true" && Z()
|
|
45
|
-
);
|
|
46
|
-
const L = (
|
|
47
|
-
/*#slots*/
|
|
48
|
-
i[14].content
|
|
49
|
-
), c = F(
|
|
50
|
-
L,
|
|
51
|
-
i,
|
|
52
|
-
/*$$scope*/
|
|
53
|
-
i[13],
|
|
54
|
-
U
|
|
55
|
-
);
|
|
56
|
-
return {
|
|
57
|
-
c() {
|
|
58
|
-
e = C("div"), t = C("div"), n = C("div"), a = C("div"), d && d.c(), f = I(), h = C("div"), y && y.c(), g = I(), r && r.c(), p = I(), l && l.c(), x = I(), b = C("div"), c && c.c(), m(h, "class", "TitleText"), m(a, "class", "ModalTitle"), m(n, "class", "ModalHeader"), m(b, "class", "ModalContentWrapper"), T(
|
|
59
|
-
b,
|
|
60
|
-
"hidden",
|
|
61
|
-
/*isloading*/
|
|
62
|
-
i[4] === "true"
|
|
63
|
-
), m(t, "class", "ModalContainer"), T(
|
|
64
|
-
t,
|
|
65
|
-
"video-mode",
|
|
66
|
-
/*modaltype*/
|
|
67
|
-
i[3] === "video"
|
|
68
|
-
), T(
|
|
69
|
-
t,
|
|
70
|
-
"twofa-mode",
|
|
71
|
-
/*modaltype*/
|
|
72
|
-
i[3] === "2fa"
|
|
73
|
-
), m(e, "id", "Modal"), ce(() => (
|
|
74
|
-
/*div5_elementresize_handler*/
|
|
75
|
-
i[18].call(e)
|
|
76
|
-
));
|
|
77
|
-
},
|
|
78
|
-
m(s, _) {
|
|
79
|
-
H(s, e, _), v(e, t), v(t, n), v(n, a), d && d.m(a, null), v(a, f), v(a, h), y && y.m(h, null), v(n, g), r && r.m(n, null), v(t, p), l && l.m(t, null), v(t, x), v(t, b), c && c.m(b, null), i[15](b), i[16](t), i[17](e), k = de(
|
|
80
|
-
e,
|
|
81
|
-
/*div5_elementresize_handler*/
|
|
82
|
-
i[18].bind(e)
|
|
83
|
-
), u = !0;
|
|
84
|
-
},
|
|
85
|
-
p(s, _) {
|
|
86
|
-
/*modaltype*/
|
|
87
|
-
s[3] == "error" || /*modaltype*/
|
|
88
|
-
s[3] == "bonusDescription" ? d || (d = P(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), y && y.p && (!u || _ & /*$$scope*/
|
|
89
|
-
8192) && Y(
|
|
90
|
-
y,
|
|
91
|
-
w,
|
|
92
|
-
s,
|
|
93
|
-
/*$$scope*/
|
|
94
|
-
s[13],
|
|
95
|
-
u ? D(
|
|
96
|
-
w,
|
|
97
|
-
/*$$scope*/
|
|
98
|
-
s[13],
|
|
99
|
-
_,
|
|
100
|
-
_e
|
|
101
|
-
) : q(
|
|
102
|
-
/*$$scope*/
|
|
103
|
-
s[13]
|
|
104
|
-
),
|
|
105
|
-
A
|
|
106
|
-
), /*modaltype*/
|
|
107
|
-
s[3] != "2fa-old" ? r ? r.p(s, _) : (r = Q(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
|
|
108
|
-
s[4] === "true" ? l || (l = Z(), l.c(), l.m(t, x)) : l && (l.d(1), l = null), c && c.p && (!u || _ & /*$$scope*/
|
|
109
|
-
8192) && Y(
|
|
110
|
-
c,
|
|
111
|
-
L,
|
|
112
|
-
s,
|
|
113
|
-
/*$$scope*/
|
|
114
|
-
s[13],
|
|
115
|
-
u ? D(
|
|
116
|
-
L,
|
|
117
|
-
/*$$scope*/
|
|
118
|
-
s[13],
|
|
119
|
-
_,
|
|
120
|
-
ye
|
|
121
|
-
) : q(
|
|
122
|
-
/*$$scope*/
|
|
123
|
-
s[13]
|
|
124
|
-
),
|
|
125
|
-
U
|
|
126
|
-
), (!u || _ & /*isloading*/
|
|
127
|
-
16) && T(
|
|
128
|
-
b,
|
|
129
|
-
"hidden",
|
|
130
|
-
/*isloading*/
|
|
131
|
-
s[4] === "true"
|
|
132
|
-
), (!u || _ & /*modaltype*/
|
|
133
|
-
8) && T(
|
|
134
|
-
t,
|
|
135
|
-
"video-mode",
|
|
136
|
-
/*modaltype*/
|
|
137
|
-
s[3] === "video"
|
|
138
|
-
), (!u || _ & /*modaltype*/
|
|
139
|
-
8) && T(
|
|
140
|
-
t,
|
|
141
|
-
"twofa-mode",
|
|
142
|
-
/*modaltype*/
|
|
143
|
-
s[3] === "2fa"
|
|
144
|
-
);
|
|
145
|
-
},
|
|
146
|
-
i(s) {
|
|
147
|
-
u || (z(y, s), z(c, s), u = !0);
|
|
148
|
-
},
|
|
149
|
-
o(s) {
|
|
150
|
-
O(y, s), O(c, s), u = !1;
|
|
151
|
-
},
|
|
152
|
-
d(s) {
|
|
153
|
-
s && S(e), d && d.d(), y && y.d(s), r && r.d(), l && l.d(), c && c.d(s), i[15](null), i[16](null), i[17](null), k();
|
|
154
|
-
}
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
function P(i) {
|
|
158
|
-
let e;
|
|
159
|
-
return {
|
|
160
|
-
c() {
|
|
161
|
-
e = C("div"), e.innerHTML = '<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><defs><mask id="exclamation-mask"><circle cx="100" cy="100" r="90"></circle><rect x="88" y="40" width="24" height="80" rx="12" fill="black"></rect><circle cx="100" cy="150" r="14" fill="black"></circle></mask></defs><circle cx="100" cy="100" r="90" mask="url(#exclamation-mask)"></circle></svg>', m(e, "class", "WarningIcon");
|
|
162
|
-
},
|
|
163
|
-
m(t, n) {
|
|
164
|
-
H(t, e, n);
|
|
165
|
-
},
|
|
166
|
-
d(t) {
|
|
167
|
-
t && S(e);
|
|
168
|
-
}
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
function Q(i) {
|
|
172
|
-
let e, t, n, a, f;
|
|
173
|
-
return {
|
|
174
|
-
c() {
|
|
175
|
-
e = C("div"), t = R("svg"), n = R("path"), m(n, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), m(t, "xmlns", "http://www.w3.org/2000/svg"), m(t, "viewBox", "0 0 13 13"), m(t, "fill", "none"), m(t, "class", "CloseButton"), m(e, "class", "ModalCloseIcon");
|
|
176
|
-
},
|
|
177
|
-
m(h, g) {
|
|
178
|
-
H(h, e, g), v(e, t), v(t, n), a || (f = ue(
|
|
179
|
-
t,
|
|
180
|
-
"click",
|
|
181
|
-
/*closeModal*/
|
|
182
|
-
i[9]
|
|
183
|
-
), a = !0);
|
|
184
|
-
},
|
|
185
|
-
p: fe,
|
|
186
|
-
d(h) {
|
|
187
|
-
h && S(e), a = !1, f();
|
|
188
|
-
}
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
function Z(i) {
|
|
192
|
-
let e;
|
|
193
|
-
return {
|
|
194
|
-
c() {
|
|
195
|
-
e = C("div"), e.innerHTML = '<div class="ModalLoader"></div>', m(e, "class", "ModalLoadingOverlay");
|
|
196
|
-
},
|
|
197
|
-
m(t, n) {
|
|
198
|
-
H(t, e, n);
|
|
199
|
-
},
|
|
200
|
-
d(t) {
|
|
201
|
-
t && S(e);
|
|
202
|
-
}
|
|
203
|
-
};
|
|
204
|
-
}
|
|
205
|
-
function be(i) {
|
|
206
|
-
let e, t, n = (
|
|
207
|
-
/*show*/
|
|
208
|
-
i[2] === "true" && G(i)
|
|
209
|
-
);
|
|
210
|
-
return {
|
|
211
|
-
c() {
|
|
212
|
-
e = C("div"), n && n.c();
|
|
213
|
-
},
|
|
214
|
-
m(a, f) {
|
|
215
|
-
H(a, e, f), n && n.m(e, null), i[19](e), t = !0;
|
|
216
|
-
},
|
|
217
|
-
p(a, [f]) {
|
|
218
|
-
/*show*/
|
|
219
|
-
a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
|
|
220
|
-
4 && z(n, 1)) : (n = G(a), n.c(), z(n, 1), n.m(e, null)) : n && (se(), O(n, 1, 1, () => {
|
|
221
|
-
n = null;
|
|
222
|
-
}), ae());
|
|
223
|
-
},
|
|
224
|
-
i(a) {
|
|
225
|
-
t || (z(n), t = !0);
|
|
226
|
-
},
|
|
227
|
-
o(a) {
|
|
228
|
-
O(n), t = !1;
|
|
229
|
-
},
|
|
230
|
-
d(a) {
|
|
231
|
-
a && S(e), n && n.d(), i[19](null);
|
|
232
|
-
}
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
function ve(i, e, t) {
|
|
236
|
-
let { $$slots: n = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: h } = e, { clientstylingurl: g } = e, { show: p } = e, { modaltype: x = "" } = e, { isloading: b = "false" } = e, { width: k } = e, { height: u } = e, d, w, y, r, l, L = !1, c, s;
|
|
237
|
-
const _ = () => {
|
|
238
|
-
c && clearTimeout(c), d && (d.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), c = setTimeout(
|
|
239
|
-
() => {
|
|
240
|
-
window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
|
|
241
|
-
},
|
|
242
|
-
200
|
|
243
|
-
));
|
|
244
|
-
}, E = () => B(this, null, function* () {
|
|
245
|
-
if (!l || !r || L)
|
|
246
|
-
return;
|
|
247
|
-
s && clearTimeout(c), L = !0;
|
|
248
|
-
const o = l.offsetWidth, $ = l.offsetHeight;
|
|
249
|
-
t(8, l.style.width = `${o}px`, l), t(8, l.style.height = `${$}px`, l), l.offsetHeight, yield j();
|
|
250
|
-
const ee = r.scrollHeight, te = r.scrollWidth;
|
|
251
|
-
t(8, l.style.width = `${te}px`, l), t(8, l.style.height = `${ee}px`, l), s = setTimeout(
|
|
252
|
-
() => {
|
|
253
|
-
l && (t(8, l.style.width = "auto", l), t(8, l.style.height = "auto", l)), L = !1;
|
|
254
|
-
},
|
|
255
|
-
300
|
|
256
|
-
);
|
|
257
|
-
});
|
|
258
|
-
re(() => {
|
|
259
|
-
if (j().then(() => {
|
|
260
|
-
E();
|
|
261
|
-
}), r) {
|
|
262
|
-
const o = new ResizeObserver(() => {
|
|
263
|
-
E();
|
|
264
|
-
});
|
|
265
|
-
return o.observe(r), () => {
|
|
266
|
-
o.disconnect();
|
|
267
|
-
};
|
|
268
|
-
}
|
|
269
|
-
return () => {
|
|
270
|
-
c && clearTimeout(c), s && clearTimeout(c);
|
|
271
|
-
};
|
|
272
|
-
});
|
|
273
|
-
function J(o) {
|
|
274
|
-
W[o ? "unshift" : "push"](() => {
|
|
275
|
-
r = o, t(7, r);
|
|
276
|
-
});
|
|
277
|
-
}
|
|
278
|
-
function K(o) {
|
|
279
|
-
W[o ? "unshift" : "push"](() => {
|
|
280
|
-
l = o, t(8, l);
|
|
281
|
-
});
|
|
282
|
-
}
|
|
283
|
-
function N(o) {
|
|
284
|
-
W[o ? "unshift" : "push"](() => {
|
|
285
|
-
d = o, t(6, d);
|
|
286
|
-
});
|
|
287
|
-
}
|
|
288
|
-
function V() {
|
|
289
|
-
k = this.clientWidth, u = this.clientHeight, t(0, k), t(1, u);
|
|
290
|
-
}
|
|
291
|
-
function X(o) {
|
|
292
|
-
W[o ? "unshift" : "push"](() => {
|
|
293
|
-
w = o, t(5, w);
|
|
294
|
-
});
|
|
295
|
-
}
|
|
296
|
-
return i.$$set = (o) => {
|
|
297
|
-
"mbsource" in o && t(10, f = o.mbsource), "clientstyling" in o && t(11, h = o.clientstyling), "clientstylingurl" in o && t(12, g = o.clientstylingurl), "show" in o && t(2, p = o.show), "modaltype" in o && t(3, x = o.modaltype), "isloading" in o && t(4, b = o.isloading), "width" in o && t(0, k = o.width), "height" in o && t(1, u = o.height), "$$scope" in o && t(13, a = o.$$scope);
|
|
298
|
-
}, i.$$.update = () => {
|
|
299
|
-
i.$$.dirty & /*isloading*/
|
|
300
|
-
16 && b && j().then(() => {
|
|
301
|
-
E();
|
|
302
|
-
}), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
303
|
-
2080 && h && w && me(w, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
304
|
-
4128 && g && w && ge(w, g), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
305
|
-
1056 && f && w && pe(w, `${f}.Style`, y);
|
|
306
|
-
}, [
|
|
307
|
-
k,
|
|
308
|
-
u,
|
|
309
|
-
p,
|
|
310
|
-
x,
|
|
311
|
-
b,
|
|
312
|
-
w,
|
|
313
|
-
d,
|
|
314
|
-
r,
|
|
315
|
-
l,
|
|
316
|
-
_,
|
|
317
|
-
f,
|
|
318
|
-
h,
|
|
319
|
-
g,
|
|
320
|
-
a,
|
|
321
|
-
n,
|
|
322
|
-
J,
|
|
323
|
-
K,
|
|
324
|
-
N,
|
|
325
|
-
V,
|
|
326
|
-
X
|
|
327
|
-
];
|
|
328
|
-
}
|
|
329
|
-
class xe extends ie {
|
|
330
|
-
constructor(e) {
|
|
331
|
-
super(), ne(
|
|
332
|
-
this,
|
|
333
|
-
e,
|
|
334
|
-
ve,
|
|
335
|
-
be,
|
|
336
|
-
oe,
|
|
337
|
-
{
|
|
338
|
-
mbsource: 10,
|
|
339
|
-
clientstyling: 11,
|
|
340
|
-
clientstylingurl: 12,
|
|
341
|
-
show: 2,
|
|
342
|
-
modaltype: 3,
|
|
343
|
-
isloading: 4,
|
|
344
|
-
width: 0,
|
|
345
|
-
height: 1
|
|
346
|
-
},
|
|
347
|
-
we
|
|
348
|
-
);
|
|
349
|
-
}
|
|
350
|
-
get mbsource() {
|
|
351
|
-
return this.$$.ctx[10];
|
|
352
|
-
}
|
|
353
|
-
set mbsource(e) {
|
|
354
|
-
this.$$set({ mbsource: e }), M();
|
|
355
|
-
}
|
|
356
|
-
get clientstyling() {
|
|
357
|
-
return this.$$.ctx[11];
|
|
358
|
-
}
|
|
359
|
-
set clientstyling(e) {
|
|
360
|
-
this.$$set({ clientstyling: e }), M();
|
|
361
|
-
}
|
|
362
|
-
get clientstylingurl() {
|
|
363
|
-
return this.$$.ctx[12];
|
|
364
|
-
}
|
|
365
|
-
set clientstylingurl(e) {
|
|
366
|
-
this.$$set({ clientstylingurl: e }), M();
|
|
367
|
-
}
|
|
368
|
-
get show() {
|
|
369
|
-
return this.$$.ctx[2];
|
|
370
|
-
}
|
|
371
|
-
set show(e) {
|
|
372
|
-
this.$$set({ show: e }), M();
|
|
373
|
-
}
|
|
374
|
-
get modaltype() {
|
|
375
|
-
return this.$$.ctx[3];
|
|
376
|
-
}
|
|
377
|
-
set modaltype(e) {
|
|
378
|
-
this.$$set({ modaltype: e }), M();
|
|
379
|
-
}
|
|
380
|
-
get isloading() {
|
|
381
|
-
return this.$$.ctx[4];
|
|
382
|
-
}
|
|
383
|
-
set isloading(e) {
|
|
384
|
-
this.$$set({ isloading: e }), M();
|
|
385
|
-
}
|
|
386
|
-
get width() {
|
|
387
|
-
return this.$$.ctx[0];
|
|
388
|
-
}
|
|
389
|
-
set width(e) {
|
|
390
|
-
this.$$set({ width: e }), M();
|
|
391
|
-
}
|
|
392
|
-
get height() {
|
|
393
|
-
return this.$$.ctx[1];
|
|
394
|
-
}
|
|
395
|
-
set height(e) {
|
|
396
|
-
this.$$set({ height: e }), M();
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
he(xe, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
|
|
400
|
-
export {
|
|
401
|
-
xe as default
|
|
402
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var L=(n,t,i)=>new Promise((o,r)=>{var u=p=>{try{g(i.next(p))}catch(v){r(v)}},m=p=>{try{g(i.throw(p))}catch(v){r(v)}},g=p=>p.done?o(p.value):Promise.resolve(p.value).then(u,m);g((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-Bmy89dKm.cjs"),M=require("./CashierHeader-CmmEk0QP.cjs");function R(n){e.append_styles(n,"svelte-e2luo5",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.Uppercase{text-transform:uppercase}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}')}const U=n=>({}),T=n=>({}),Z=n=>({}),S=n=>({});function z(n){let t,i,o,r,u,m,g,p,v,b,C,h,c=(n[3]=="error"||n[3]=="bonusDescription")&&H();const _=n[14].title,w=e.create_slot(_,n,n[13],S);let d=n[3]!="2fa-old"&&I(n),s=n[4]==="true"&&W();const x=n[14].content,f=e.create_slot(x,n,n[13],T);return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),r=e.element("div"),c&&c.c(),u=e.space(),m=e.element("div"),w&&w.c(),g=e.space(),d&&d.c(),p=e.space(),s&&s.c(),v=e.space(),b=e.element("div"),f&&f.c(),e.attr(m,"class","TitleText"),e.attr(r,"class","ModalTitle"),e.attr(o,"class","ModalHeader"),e.attr(b,"class","ModalContentWrapper"),e.toggle_class(b,"hidden",n[4]==="true"),e.attr(i,"class","ModalContainer"),e.toggle_class(i,"video-mode",n[3]==="video"),e.toggle_class(i,"twofa-mode",n[3]==="2fa"),e.attr(t,"id","Modal"),e.add_render_callback(()=>n[18].call(t))},m(a,y){e.insert(a,t,y),e.append(t,i),e.append(i,o),e.append(o,r),c&&c.m(r,null),e.append(r,u),e.append(r,m),w&&w.m(m,null),e.append(o,g),d&&d.m(o,null),e.append(i,p),s&&s.m(i,null),e.append(i,v),e.append(i,b),f&&f.m(b,null),n[15](b),n[16](i),n[17](t),C=e.add_iframe_resize_listener(t,n[18].bind(t)),h=!0},p(a,y){a[3]=="error"||a[3]=="bonusDescription"?c||(c=H(),c.c(),c.m(r,u)):c&&(c.d(1),c=null),w&&w.p&&(!h||y&8192)&&e.update_slot_base(w,_,a,a[13],h?e.get_slot_changes(_,a[13],y,Z):e.get_all_dirty_from_scope(a[13]),S),a[3]!="2fa-old"?d?d.p(a,y):(d=I(a),d.c(),d.m(o,null)):d&&(d.d(1),d=null),a[4]==="true"?s||(s=W(),s.c(),s.m(i,v)):s&&(s.d(1),s=null),f&&f.p&&(!h||y&8192)&&e.update_slot_base(f,x,a,a[13],h?e.get_slot_changes(x,a[13],y,U):e.get_all_dirty_from_scope(a[13]),T),(!h||y&16)&&e.toggle_class(b,"hidden",a[4]==="true"),(!h||y&8)&&e.toggle_class(i,"video-mode",a[3]==="video"),(!h||y&8)&&e.toggle_class(i,"twofa-mode",a[3]==="2fa")},i(a){h||(e.transition_in(w,a),e.transition_in(f,a),h=!0)},o(a){e.transition_out(w,a),e.transition_out(f,a),h=!1},d(a){a&&e.detach(t),c&&c.d(),w&&w.d(a),d&&d.d(),s&&s.d(),f&&f.d(a),n[15](null),n[16](null),n[17](null),C()}}}function H(n){let t;return{c(){t=e.element("div"),t.innerHTML='<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><defs><mask id="exclamation-mask"><circle cx="100" cy="100" r="90"></circle><rect x="88" y="40" width="24" height="80" rx="12" fill="black"></rect><circle cx="100" cy="150" r="14" fill="black"></circle></mask></defs><circle cx="100" cy="100" r="90" mask="url(#exclamation-mask)"></circle></svg>',e.attr(t,"class","WarningIcon")},m(i,o){e.insert(i,t,o)},d(i){i&&e.detach(t)}}}function I(n){let t,i,o,r,u;return{c(){t=e.element("div"),i=e.svg_element("svg"),o=e.svg_element("path"),e.attr(o,"d","M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"viewBox","0 0 13 13"),e.attr(i,"fill","none"),e.attr(i,"class","CloseButton"),e.attr(t,"class","ModalCloseIcon")},m(m,g){e.insert(m,t,g),e.append(t,i),e.append(i,o),r||(u=e.listen(i,"click",n[9]),r=!0)},p:e.noop,d(m){m&&e.detach(t),r=!1,u()}}}function W(n){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="ModalLoader"></div>',e.attr(t,"class","ModalLoadingOverlay")},m(i,o){e.insert(i,t,o)},d(i){i&&e.detach(t)}}}function A(n){let t,i,o=n[2]==="true"&&z(n);return{c(){t=e.element("div"),o&&o.c()},m(r,u){e.insert(r,t,u),o&&o.m(t,null),n[19](t),i=!0},p(r,[u]){r[2]==="true"?o?(o.p(r,u),u&4&&e.transition_in(o,1)):(o=z(r),o.c(),e.transition_in(o,1),o.m(t,null)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(r){i||(e.transition_in(o),i=!0)},o(r){e.transition_out(o),i=!1},d(r){r&&e.detach(t),o&&o.d(),n[19](null)}}}function G(n,t,i){let{$$slots:o={},$$scope:r}=t,{mbsource:u}=t,{clientstyling:m}=t,{clientstylingurl:g}=t,{show:p}=t,{modaltype:v=""}=t,{isloading:b="false"}=t,{width:C}=t,{height:h}=t,c,_,w,d,s,x=!1,f,a;const y=()=>{f&&clearTimeout(f),c&&(c.classList.add("closing"),window.dispatchEvent(new CustomEvent("manualClosePopup")),f=setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},200))},k=()=>L(this,null,function*(){if(!s||!d||x)return;a&&clearTimeout(f),x=!0;const l=s.offsetWidth,q=s.offsetHeight;i(8,s.style.width=`${l}px`,s),i(8,s.style.height=`${q}px`,s),s.offsetHeight,yield e.tick();const P=d.scrollHeight,D=d.scrollWidth;i(8,s.style.width=`${D}px`,s),i(8,s.style.height=`${P}px`,s),a=setTimeout(()=>{s&&(i(8,s.style.width="auto",s),i(8,s.style.height="auto",s)),x=!1},300)});e.onMount(()=>{if(e.tick().then(()=>{k()}),d){const l=new ResizeObserver(()=>{k()});return l.observe(d),()=>{l.disconnect()}}return()=>{f&&clearTimeout(f),a&&clearTimeout(f)}});function E(l){e.binding_callbacks[l?"unshift":"push"](()=>{d=l,i(7,d)})}function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{s=l,i(8,s)})}function B(l){e.binding_callbacks[l?"unshift":"push"](()=>{c=l,i(6,c)})}function F(){C=this.clientWidth,h=this.clientHeight,i(0,C),i(1,h)}function Y(l){e.binding_callbacks[l?"unshift":"push"](()=>{_=l,i(5,_)})}return n.$$set=l=>{"mbsource"in l&&i(10,u=l.mbsource),"clientstyling"in l&&i(11,m=l.clientstyling),"clientstylingurl"in l&&i(12,g=l.clientstylingurl),"show"in l&&i(2,p=l.show),"modaltype"in l&&i(3,v=l.modaltype),"isloading"in l&&i(4,b=l.isloading),"width"in l&&i(0,C=l.width),"height"in l&&i(1,h=l.height),"$$scope"in l&&i(13,r=l.$$scope)},n.$$.update=()=>{n.$$.dirty&16&&b&&e.tick().then(()=>{k()}),n.$$.dirty&2080&&m&&_&&M.setClientStyling(_,m),n.$$.dirty&4128&&g&&_&&M.setClientStylingURL(_,g),n.$$.dirty&1056&&u&&_&&M.setStreamStyling(_,`${u}.Style`,w)},[C,h,p,v,b,_,c,d,s,y,u,m,g,r,o,E,j,B,F,Y]}class O extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,G,A,e.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},R)}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get show(){return this.$$.ctx[2]}set show(t){this.$$set({show:t}),e.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(t){this.$$set({modaltype:t}),e.flush()}get isloading(){return this.$$.ctx[4]}set isloading(t){this.$$set({isloading:t}),e.flush()}get width(){return this.$$.ctx[0]}set width(t){this.$$set({width:t}),e.flush()}get height(){return this.$$.ctx[1]}set height(t){this.$$set({height:t}),e.flush()}}e.create_custom_element(O,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["title","content"],[],!0);exports.default=O;
|