@everymatrix/player-account-controller-nd 1.66.3 → 1.67.3
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/{GeneralLogout-D_LZ6noj.js → GeneralLogout-BqarYaGX.js} +1439 -1474
- package/components/{GeneralLogout-PryurO1h.js → GeneralLogout-DpRb1GKt.js} +1458 -1493
- package/components/GeneralLogout-DweBl3EQ.cjs +21 -0
- package/components/{PlayerAccountBettingHistory-BzAXq1xX.js → PlayerAccountBettingHistory-CZ-2Eo65.js} +27 -27
- package/components/{PlayerAccountBettingHistory-CwTEYOIN.js → PlayerAccountBettingHistory-DRNj2_nh.js} +27 -27
- package/components/{PlayerAccountBettingHistory-BtDZukYI.cjs → PlayerAccountBettingHistory-DgHU9Jz9.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CtLvJg_Q.js → PlayerAccountBiometrics-CS2Ou41a.js} +22 -22
- package/components/{PlayerAccountBiometrics-DIkqSnzX.js → PlayerAccountBiometrics-Cp02JZ-p.js} +22 -22
- package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-DXk7ouzk.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-7SyXUtdN.js → PlayerAccountClosureNd-BDf6ZV_O.js} +17 -17
- package/components/{PlayerAccountClosureNd-WqmFJkpU.cjs → PlayerAccountClosureNd-CEw0GMdr.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-Byw-X8Sr.js → PlayerAccountClosureNd-DTSPR235.js} +17 -17
- package/components/{PlayerAccountControllerNd-C-gx4fZ-.js → PlayerAccountControllerNd-B290RGZ4.js} +2013 -1700
- package/components/{PlayerAccountControllerNd-DKwVpFJI.js → PlayerAccountControllerNd-D_OA5Wau.js} +2007 -1694
- package/components/PlayerAccountControllerNd-DkVyWe_r.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-DZBzKFyv.cjs → PlayerAccountGamingLimits-C5-wP3x8.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-BwempsG_.js → PlayerAccountGamingLimits-DYeE-UoB.js} +19 -19
- package/components/{PlayerAccountGamingLimits-C5fcaaR5.js → PlayerAccountGamingLimits-Dj1vdgsP.js} +19 -19
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BzaZH1VM.js → PlayerAccountGamingLimitsConfirmationModal-9Smxn0Eo.js} +53 -53
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CxFJV4Qq.js → PlayerAccountGamingLimitsConfirmationModal-BKE3chFw.js} +53 -53
- package/components/PlayerAccountGamingLimitsConfirmationModal-DzBevsyQ.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-DVvwhjK6.js → PlayerAccountGamingLimitsGroupEdit-CmrrVg_q.js} +415 -413
- package/components/{PlayerAccountGamingLimitsGroupEdit-D0hqXEY4.js → PlayerAccountGamingLimitsGroupEdit-IS7pwiyD.js} +415 -413
- package/components/PlayerAccountGamingLimitsGroupEdit-JOrwbKuQ.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DrMT268T.js → PlayerAccountGamingLimitsHistory2Nd-B1bxRx8n.js} +192 -192
- package/components/{PlayerAccountGamingLimitsHistory2Nd-p3iqTl1u.js → PlayerAccountGamingLimitsHistory2Nd-BWUzYYof.js} +199 -199
- package/components/{PlayerAccountGamingLimitsHistory2Nd-juZ45FBC.cjs → PlayerAccountGamingLimitsHistory2Nd-CyUmcHfd.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-dUq3DIBx.js → PlayerAccountGamingLimitsInfoCard-Cu4_dbfd.js} +80 -80
- package/components/{PlayerAccountGamingLimitsInfoCard-DWbZBNtU.cjs → PlayerAccountGamingLimitsInfoCard-DxIPZWF4.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BiYcxWjN.js → PlayerAccountGamingLimitsInfoCard-n38U4Bet.js} +80 -80
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-JTp7ykpl.js → PlayerAccountGamingLimitsPage2Gm16Nd-B0YXR_Gq.js} +618 -618
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-D0j9FESV.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-BPahpiGc.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Cp0HPknx.js → PlayerAccountGamingLimitsPage2Gm16Nd-P6QYtcDU.js} +91 -91
- package/components/{PlayerAccountGamingLimitsPopup-B5CoTG_T.js → PlayerAccountGamingLimitsPopup-Chfup4AC.js} +28 -28
- package/components/{PlayerAccountGamingLimitsPopup-CzDFUbRs.js → PlayerAccountGamingLimitsPopup-D3tfs8br.js} +28 -28
- package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-DkQcpWO7.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-D6DATRJZ.cjs → PlayerAccountGamingLimitsWrapper2Nd-BNIOS6YH.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DnzmU3uL.js → PlayerAccountGamingLimitsWrapper2Nd-DrBzSlfn.js} +36 -36
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BEi1Ax2s.js → PlayerAccountGamingLimitsWrapper2Nd-Lpnlu5qV.js} +36 -36
- package/components/{PlayerAccountGeneralConfirmationModal-Byd2u6b9.js → PlayerAccountGeneralConfirmationModal-C9sZnKk-.js} +95 -95
- package/components/{PlayerAccountGeneralConfirmationModal-C4zwKDdb.js → PlayerAccountGeneralConfirmationModal-CzWW7TO1.js} +95 -95
- package/components/PlayerAccountGeneralConfirmationModal-dy9TCHFm.cjs +1 -0
- package/components/{PlayerAccountMenuNd-Cs9UjL2S.js → PlayerAccountMenuNd-B14HHDMC.js} +29 -29
- package/components/{PlayerAccountMenuNd-BFdU3ZXb.cjs → PlayerAccountMenuNd-BMezijtf.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-Cx7Fxjin.js → PlayerAccountMenuNd-CGHNQ9Ia.js} +29 -29
- package/components/{PlayerAccountModal-DHs1T-B4.js → PlayerAccountModal-CNPgYrpB.js} +44 -44
- package/components/{PlayerAccountModal-iZqtQZF3.js → PlayerAccountModal-NKWbQg0Z.js} +44 -44
- package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal-lwDOdDa4.cjs} +1 -1
- package/components/{PlayerAccountNotifications-bjLmyXO3.js → PlayerAccountNotifications-BciDzDyI.js} +35 -35
- package/components/{PlayerAccountNotifications-ejASOsrU.cjs → PlayerAccountNotifications-CzMMRPni.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BjAtYQls.js → PlayerAccountNotifications-Um7wlaR9.js} +120 -120
- package/components/{PlayerAccountTransactionsHistory-BJvXF3-v.js → PlayerAccountProductRestriction-CsV5cZJ7.js} +3353 -3490
- package/components/{PlayerAccountTransactionsHistory-cwuw-lF-.js → PlayerAccountProductRestriction-D8hGhkip.js} +3329 -3465
- package/components/{PlayerAccountTransactionsHistory-DpccQlBh.cjs → PlayerAccountProductRestriction-DWcq863g.cjs} +272 -269
- package/components/{PlayerAccountSelfExclusionNd-BTHM1Lql.js → PlayerAccountSelfExclusionNd-CkhmY4v6.js} +2315 -2626
- package/components/{PlayerAccountSelfExclusionNd-psZ7cU0X.cjs → PlayerAccountSelfExclusionNd-DA8DdIps.cjs} +161 -161
- package/components/{PlayerAccountSelfExclusionNd-C64gq5do.js → PlayerAccountSelfExclusionNd-Dxhpsh1V.js} +2484 -2795
- package/components/{PlayerAccountTimeout-DopVU6lf.cjs → PlayerAccountTimeout-CK_vb2Rd.cjs} +1 -1
- package/components/{PlayerAccountTimeout-CZL2-AHn.js → PlayerAccountTimeout-DWrpBYDF.js} +103 -102
- package/components/{PlayerAccountTimeout-DB1Vd2mK.js → PlayerAccountTimeout-qUMzgfPL.js} +103 -102
- package/components/PlayerAccountTransactionsHistory-DUUcK6v0.cjs +1 -0
- package/components/PlayerAccountTransactionsHistory-Dvj8Arct.js +1779 -0
- package/components/PlayerAccountTransactionsHistory-YXxnxAQo.js +1809 -0
- package/components/{PlayerActiveBonuses-DbYy8R7L.js → PlayerActiveBonuses-BxaW95IK.js} +318 -318
- package/components/PlayerActiveBonuses-C7-7ACSS.cjs +1 -0
- package/components/{PlayerActiveBonuses-ednos3wt.js → PlayerActiveBonuses-rd6l2Hsn.js} +315 -315
- package/components/{PlayerBonusCard-C0Z6YeQL.js → PlayerBonusCard-DIuiutMI.js} +54 -54
- package/components/{PlayerBonusCard-CYnvLBMF.js → PlayerBonusCard-O-ukO4ru.js} +54 -54
- package/components/{PlayerBonusCard-BNNcjGWn.cjs → PlayerBonusCard-nwlvuWsq.cjs} +1 -1
- package/components/{PlayerBonusHistory-8skqbymr.js → PlayerBonusHistory-B6_Qlsz7.js} +30 -30
- package/components/{PlayerBonusHistory-lQGquKx2.cjs → PlayerBonusHistory-BAFl02wK.cjs} +1 -1
- package/components/{PlayerBonusHistory-D6yYroMc.js → PlayerBonusHistory-BrGDpOUK.js} +30 -30
- package/components/{PlayerChangePasswordNd-B0W5bdN2.js → PlayerChangePasswordNd-1bGRcLqZ.js} +71 -71
- package/components/{PlayerChangePasswordNd-DEzeq-CF.cjs → PlayerChangePasswordNd-CjKqxbi8.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-B0yPdyGM.js → PlayerChangePasswordNd-DCg61OgS.js} +71 -71
- package/components/{PlayerDeposit-N7o3ip4d.js → PlayerDeposit-CwClAkf8.js} +29 -29
- package/components/{PlayerDeposit-Dzg8Ltb1.cjs → PlayerDeposit-DAFmH9HW.cjs} +1 -1
- package/components/{PlayerDeposit-CHnzNVZy.js → PlayerDeposit-odz0L-Xa.js} +29 -29
- package/components/{PlayerGamingHistory-C6CoiIJP.js → PlayerGamingHistory-B5lPYVlE.js} +63 -63
- package/components/{PlayerGamingHistory-NKEvUygB.cjs → PlayerGamingHistory-BMqF0jZ1.cjs} +1 -1
- package/components/{PlayerGamingHistory-Cqr2wcuP.js → PlayerGamingHistory-DMzWvxJW.js} +63 -63
- package/components/{PlayerPendingWithdrawals-B2WyLuNV.js → PlayerPendingWithdrawals-DSZjjRc5.js} +26 -26
- package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-DbuXpIXl.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-CRRuYNXr.js → PlayerPendingWithdrawals-WueprUX6.js} +26 -26
- package/components/PlayerProfileInfo-CQWJWCmN.cjs +4 -0
- package/components/{PlayerProfileInfo-s0_tCjMW.js → PlayerProfileInfo-ZyRI38hk.js} +1035 -949
- package/components/{PlayerProfileInfo-vWgBHXoY.js → PlayerProfileInfo-x9MQyKin.js} +993 -905
- package/components/{PlayerRealityCheck-RsT9a67Q.js → PlayerRealityCheck-BB6ql_la.js} +45 -45
- package/components/{PlayerRealityCheck-BrVF76qp.cjs → PlayerRealityCheck-CFJVJn17.cjs} +1 -1
- package/components/{PlayerRealityCheck-C7EUl18t.js → PlayerRealityCheck-Cvp1LCTw.js} +44 -44
- package/components/{PlayerTransactionHistory-BQlWb-B9.js → PlayerTransactionHistory-B-WizKVy.js} +19 -19
- package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-BOtRm_b6.cjs} +1 -1
- package/components/{PlayerTransactionHistory-DyBRNwAw.js → PlayerTransactionHistory-OP187htZ.js} +19 -19
- package/components/{PlayerWithdrawal-C6_CSTeL.js → PlayerWithdrawal-5dv65FN3.js} +19 -19
- package/components/{PlayerWithdrawal-CgR0BwqA.js → PlayerWithdrawal-Cmns8eAn.js} +19 -19
- package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-OBRjEIH9.cjs} +1 -1
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_14-CNR6zkvw.cjs → checkbox-group-input_14-BQWBhbsW.cjs} +263 -263
- package/stencil/{checkbox-group-input_14-CJHYJs5Y.js → checkbox-group-input_14-Rk4kY_Jo.js} +3258 -3258
- package/stencil/{checkbox-group-input_14-BcBdDpf8.js → checkbox-group-input_14-yDxYy7hE.js} +3255 -3255
- package/stencil/index-13661b98-Pl0EtfMi.cjs +1 -0
- package/stencil/{index-13661b98-Bg3nkDqk.js → index-13661b98-l0CINbAR.js} +207 -207
- package/stencil/{index-13661b98-DcT9swce.js → index-13661b98-mRWmP463.js} +215 -215
- package/stencil/{index-1ef3a64c-DsTe-fF4.js → index-1ef3a64c-B1Hda3TY.js} +185 -185
- package/stencil/index-1ef3a64c-CCWt3IAA.cjs +1 -0
- package/stencil/{index-1ef3a64c-BNosNJnU.js → index-1ef3a64c-Dd-0nq4l.js} +192 -192
- package/stencil/index-7c5e707a-8-4_dLFT.js +643 -0
- package/stencil/{index-7c5e707a-C9R6jYpt.js → index-7c5e707a-CuTkyLaW.js} +209 -209
- package/stencil/index-7c5e707a-nBsW029h.cjs +1 -0
- package/stencil/index-9c0f6c58-DbSOntvG.cjs +1 -0
- package/stencil/{index-9c0f6c58-bxjYqwOi.js → index-9c0f6c58-NlVKpLut.js} +180 -180
- package/stencil/{index-9c0f6c58-BB5opCt9.js → index-9c0f6c58-RPoO1End.js} +176 -176
- package/stencil/index-b2193545-BXNomIzV.js +519 -0
- package/stencil/index-b2193545-CYe2oVMy.js +503 -0
- package/stencil/index-b2193545-DxRobzZI.cjs +1 -0
- package/stencil/{pam-change-password-uD3esedo.cjs → pam-change-password-CCgx2ZAF.cjs} +1 -1
- package/stencil/{pam-change-password-sLrzK4Qt.js → pam-change-password-CDNRmQRk.js} +1 -1
- package/stencil/{pam-change-password-YhGkcb7G.js → pam-change-password-CThYR6vj.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-e1XqJgP9.js → pam-change-password-f4a1e7e7-B0x-tDUM.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-DtMPJ715.cjs → pam-change-password-f4a1e7e7-B3Gc4JmD.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-CfVbvq6Y.js → pam-change-password-f4a1e7e7-DegbNPpZ.js} +1 -1
- package/stencil/{player-kyc-verification-CMAkNiAB.js → player-kyc-verification-Cxnz1raa.js} +9 -9
- package/stencil/{player-kyc-verification-p2WFnKBp.js → player-kyc-verification-DA_O1Dqu.js} +12 -12
- package/stencil/{player-kyc-verification-DYcPWwfi.cjs → player-kyc-verification-qKWuqiUm.cjs} +2 -2
- package/stencil/{ui-skeleton-1cb75d00-BI5A-j0y.js → ui-skeleton-1cb75d00-CZJ4UoDJ.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-CwDKR1VD.js → ui-skeleton-1cb75d00-D5Bub0nv.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-Batko5iK.cjs → ui-skeleton-1cb75d00-dFWe5qbW.cjs} +1 -1
- package/stencil/{ui-skeleton-t0bb1jH7.cjs → ui-skeleton-BH5oLkn9.cjs} +1 -1
- package/stencil/{ui-skeleton-C974aG7g.js → ui-skeleton-CZ5yC1WO.js} +2 -2
- package/stencil/{ui-skeleton-DoX-UmRU.js → ui-skeleton-vLKdvRqw.js} +2 -2
- package/stencil/{user-deposit-withdrawal-Dzz_fEvK.js → user-deposit-withdrawal-BMWb-WJE.js} +45 -45
- package/stencil/{user-deposit-withdrawal-C7W58646.js → user-deposit-withdrawal-ByE9O4TW.js} +45 -45
- package/stencil/{user-deposit-withdrawal-Dfu_1g2v.cjs → user-deposit-withdrawal-DGTrOlxS.cjs} +2 -2
- package/stencil/{user-transaction-history-DhQ6RqNc.js → user-transaction-history-BU4-cXt6.js} +11 -11
- package/stencil/{user-transaction-history-BAK7MHHa.js → user-transaction-history-CXBKXul8.js} +14 -14
- package/stencil/{user-transaction-history-DiRXpfbN.cjs → user-transaction-history-DLLIZ5Ck.cjs} +1 -1
- package/components/GeneralLogout-Dzu2Sl-x.cjs +0 -21
- package/components/PlayerAccountControllerNd-HkDZ9PkO.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-BvnqlbPp.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs +0 -1
- package/components/PlayerActiveBonuses-CVhSMdRf.cjs +0 -1
- package/components/PlayerProfileInfo-DjZCa7C6.cjs +0 -4
- package/stencil/index-13661b98-D16qyHKo.cjs +0 -1
- package/stencil/index-1ef3a64c-CFvPR_NP.cjs +0 -1
- package/stencil/index-7c5e707a-DvxqcEpc.js +0 -643
- package/stencil/index-7c5e707a-ESX_oqGB.cjs +0 -1
- package/stencil/index-9c0f6c58-DmOKHEVq.cjs +0 -1
- package/stencil/index-b2193545-CnMZ4-Ff.js +0 -519
- package/stencil/index-b2193545-Ct5AhxM8.cjs +0 -1
- package/stencil/index-b2193545-DePry399.js +0 -503
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as H, $ as J, S as K, i as Q,
|
|
1
|
+
import { a as H, $ as J, S as K, i as Q, f as x, c as V, s as X, b as Y, H as Z, e as w, d as z, t as S, g as l, k as j, l as m, m as O, I as $, J as ee, K as te, n as E, L as ne, M as oe, p as L, r as re, q as ie, u as ae, v as le, x as se, y as ce, z as me, A as de, w as W, o as fe, B as ue } from "./GeneralLogout-DpRb1GKt.js";
|
|
2
2
|
function N(n, e) {
|
|
3
3
|
H(n, e);
|
|
4
4
|
}
|
|
@@ -52,7 +52,7 @@ const P = {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
function be(n) {
|
|
55
|
-
|
|
55
|
+
Y(n, "svelte-s0xip8", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
56
56
|
}
|
|
57
57
|
const he = (n) => ({}), q = (n) => ({});
|
|
58
58
|
function Ce(n) {
|
|
@@ -61,37 +61,37 @@ function Ce(n) {
|
|
|
61
61
|
c() {
|
|
62
62
|
e = W("svg"), t = W("path"), l(t, "stroke-linecap", "round"), l(t, "stroke-linejoin", "round"), l(t, "stroke-width", "2"), l(t, "d", "M6 18L18 6M6 6l12 12"), l(e, "class", "w-6 h-6"), l(e, "fill", "none"), l(e, "stroke", "currentColor"), l(e, "viewBox", "0 0 24 24"), l(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
63
63
|
},
|
|
64
|
-
m(
|
|
65
|
-
|
|
64
|
+
m(i, s) {
|
|
65
|
+
j(i, e, s), m(e, t);
|
|
66
66
|
},
|
|
67
|
-
p:
|
|
68
|
-
d(
|
|
69
|
-
|
|
67
|
+
p: fe,
|
|
68
|
+
d(i) {
|
|
69
|
+
i && L(e);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
function I(n) {
|
|
74
|
-
let e, t,
|
|
74
|
+
let e, t, i;
|
|
75
75
|
return {
|
|
76
76
|
c() {
|
|
77
|
-
e =
|
|
77
|
+
e = w("div"), t = w("h2"), i = S(
|
|
78
78
|
/*modaltitle*/
|
|
79
79
|
n[1]
|
|
80
80
|
), l(e, "class", "GeneralConfirmationTitle");
|
|
81
81
|
},
|
|
82
|
-
m(s,
|
|
83
|
-
|
|
82
|
+
m(s, f) {
|
|
83
|
+
j(s, e, f), m(e, t), m(t, i);
|
|
84
84
|
},
|
|
85
|
-
p(s,
|
|
86
|
-
|
|
87
|
-
2 &&
|
|
88
|
-
|
|
85
|
+
p(s, f) {
|
|
86
|
+
f & /*modaltitle*/
|
|
87
|
+
2 && E(
|
|
88
|
+
i,
|
|
89
89
|
/*modaltitle*/
|
|
90
90
|
s[1]
|
|
91
91
|
);
|
|
92
92
|
},
|
|
93
93
|
d(s) {
|
|
94
|
-
s &&
|
|
94
|
+
s && L(e);
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
}
|
|
@@ -99,44 +99,44 @@ function R(n) {
|
|
|
99
99
|
let e, t = (
|
|
100
100
|
/*$_*/
|
|
101
101
|
n[4]("cancel") + ""
|
|
102
|
-
),
|
|
102
|
+
), i, s, f;
|
|
103
103
|
return {
|
|
104
104
|
c() {
|
|
105
|
-
e =
|
|
105
|
+
e = w("button"), i = S(t), l(e, "class", "GeneralCancelButton");
|
|
106
106
|
},
|
|
107
|
-
m(
|
|
108
|
-
|
|
107
|
+
m(d, h) {
|
|
108
|
+
j(d, e, h), m(e, i), s || (f = O(
|
|
109
109
|
e,
|
|
110
110
|
"click",
|
|
111
111
|
/*click_handler*/
|
|
112
112
|
n[17]
|
|
113
113
|
), s = !0);
|
|
114
114
|
},
|
|
115
|
-
p(
|
|
116
|
-
|
|
115
|
+
p(d, h) {
|
|
116
|
+
h & /*$_*/
|
|
117
117
|
16 && t !== (t = /*$_*/
|
|
118
|
-
|
|
118
|
+
d[4]("cancel") + "") && E(i, t);
|
|
119
119
|
},
|
|
120
|
-
d(
|
|
121
|
-
|
|
120
|
+
d(d) {
|
|
121
|
+
d && L(e), s = !1, f();
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
function pe(n) {
|
|
126
|
-
let e, t,
|
|
126
|
+
let e, t, i, s, f, d, h, A, g, _, C, v = (
|
|
127
127
|
/*$_*/
|
|
128
128
|
n[4]("confirm") + ""
|
|
129
|
-
),
|
|
129
|
+
), y, u, k, b;
|
|
130
130
|
const F = (
|
|
131
131
|
/*#slots*/
|
|
132
132
|
n[16].close
|
|
133
|
-
), M =
|
|
133
|
+
), M = Z(
|
|
134
134
|
F,
|
|
135
135
|
n,
|
|
136
136
|
/*$$scope*/
|
|
137
137
|
n[15],
|
|
138
138
|
q
|
|
139
|
-
),
|
|
139
|
+
), G = M || Ce();
|
|
140
140
|
let a = (
|
|
141
141
|
/*modaltitle*/
|
|
142
142
|
n[1] && I(n)
|
|
@@ -146,79 +146,79 @@ function pe(n) {
|
|
|
146
146
|
);
|
|
147
147
|
return {
|
|
148
148
|
c() {
|
|
149
|
-
e =
|
|
149
|
+
e = w("div"), t = w("div"), i = w("span"), G.c(), s = z(), a && a.c(), f = z(), d = w("div"), h = S(
|
|
150
150
|
/*modaltext*/
|
|
151
151
|
n[0]
|
|
152
|
-
), A = z(), g =
|
|
152
|
+
), A = z(), g = w("div"), c && c.c(), _ = z(), C = w("button"), y = S(v), l(i, "class", "ModalCloseBtn"), l(i, "role", "button"), l(d, "class", "GeneralConfirmationContent"), l(C, "class", "GeneralConfirmButton"), l(g, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
153
153
|
(n[5] ? "GeneralConfirmationControlAreaMobile" : "")), l(t, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
154
154
|
(n[5] ? "GeneralConfirmationContainerMobile" : "")), l(e, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
155
155
|
(n[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
156
156
|
},
|
|
157
|
-
m(
|
|
158
|
-
|
|
157
|
+
m(r, p) {
|
|
158
|
+
j(r, e, p), m(e, t), m(t, i), G.m(i, null), m(t, s), a && a.m(t, null), m(t, f), m(t, d), m(d, h), m(t, A), m(t, g), c && c.m(g, null), m(g, _), m(g, C), m(C, y), n[19](e), u = !0, k || (b = [
|
|
159
159
|
O(
|
|
160
|
-
|
|
160
|
+
i,
|
|
161
161
|
"click",
|
|
162
162
|
/*close*/
|
|
163
163
|
n[6]
|
|
164
164
|
),
|
|
165
165
|
O(
|
|
166
|
-
|
|
166
|
+
C,
|
|
167
167
|
"click",
|
|
168
168
|
/*click_handler_1*/
|
|
169
169
|
n[18]
|
|
170
170
|
)
|
|
171
|
-
],
|
|
171
|
+
], k = !0);
|
|
172
172
|
},
|
|
173
|
-
p(
|
|
174
|
-
M && M.p && (!u ||
|
|
175
|
-
32768) &&
|
|
173
|
+
p(r, [p]) {
|
|
174
|
+
M && M.p && (!u || p & /*$$scope*/
|
|
175
|
+
32768) && $(
|
|
176
176
|
M,
|
|
177
177
|
F,
|
|
178
|
-
|
|
178
|
+
r,
|
|
179
179
|
/*$$scope*/
|
|
180
|
-
|
|
181
|
-
u ?
|
|
180
|
+
r[15],
|
|
181
|
+
u ? te(
|
|
182
182
|
F,
|
|
183
183
|
/*$$scope*/
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
r[15],
|
|
185
|
+
p,
|
|
186
186
|
he
|
|
187
|
-
) :
|
|
187
|
+
) : ee(
|
|
188
188
|
/*$$scope*/
|
|
189
|
-
|
|
189
|
+
r[15]
|
|
190
190
|
),
|
|
191
191
|
q
|
|
192
192
|
), /*modaltitle*/
|
|
193
|
-
|
|
194
|
-
1) &&
|
|
195
|
-
|
|
193
|
+
r[1] ? a ? a.p(r, p) : (a = I(r), a.c(), a.m(t, f)) : a && (a.d(1), a = null), (!u || p & /*modaltext*/
|
|
194
|
+
1) && E(
|
|
195
|
+
h,
|
|
196
196
|
/*modaltext*/
|
|
197
|
-
|
|
197
|
+
r[0]
|
|
198
198
|
), /*hascancelbutton*/
|
|
199
|
-
|
|
200
|
-
16) &&
|
|
201
|
-
|
|
199
|
+
r[2] ? c ? c.p(r, p) : (c = R(r), c.c(), c.m(g, _)) : c && (c.d(1), c = null), (!u || p & /*$_*/
|
|
200
|
+
16) && v !== (v = /*$_*/
|
|
201
|
+
r[4]("confirm") + "") && E(y, v);
|
|
202
202
|
},
|
|
203
|
-
i(
|
|
204
|
-
u || (
|
|
203
|
+
i(r) {
|
|
204
|
+
u || (ne(G, r), u = !0);
|
|
205
205
|
},
|
|
206
|
-
o(
|
|
207
|
-
|
|
206
|
+
o(r) {
|
|
207
|
+
oe(G, r), u = !1;
|
|
208
208
|
},
|
|
209
|
-
d(
|
|
210
|
-
|
|
209
|
+
d(r) {
|
|
210
|
+
r && L(e), G.d(r), a && a.d(), c && c.d(), n[19](null), k = !1, re(b);
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
function xe(n, e, t) {
|
|
215
|
-
let
|
|
216
|
-
ie(n, ue, (o) => t(4,
|
|
217
|
-
let { $$slots: s = {}, $$scope:
|
|
218
|
-
const
|
|
215
|
+
let i;
|
|
216
|
+
ie(n, ue, (o) => t(4, i = o));
|
|
217
|
+
let { $$slots: s = {}, $$scope: f } = e, { modaltext: d = "Are you sure that you want to perform this action?" } = e, { modaltitle: h = "" } = e, { hascancelbutton: A = !1 } = e, { modalconfirmevent: g = {} } = e, { modalcancelevent: _ = {} } = e, { lang: C = "en" } = e, { clientstyling: v = "" } = e, { clientstylingurl: y = "" } = e, { translationurl: u = "" } = e, { mbsource: k } = e, b, F = window.navigator.userAgent, M = ae(F) !== "PC";
|
|
218
|
+
const G = () => {
|
|
219
219
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
220
220
|
}, a = (o) => {
|
|
221
|
-
o === "confirm" && g && window.postMessage(g, window.location.href), o === "cancel" &&
|
|
221
|
+
o === "confirm" && g && window.postMessage(g, window.location.href), o === "cancel" && _ && window.postMessage(_, window.location.href), G();
|
|
222
222
|
}, c = () => {
|
|
223
223
|
fetch(u).then((B) => B.json()).then((B) => {
|
|
224
224
|
Object.keys(B).forEach((T) => {
|
|
@@ -231,45 +231,45 @@ function xe(n, e, t) {
|
|
|
231
231
|
Object.keys(P).forEach((o) => {
|
|
232
232
|
N(o, P[o]);
|
|
233
233
|
});
|
|
234
|
-
const
|
|
235
|
-
ge(
|
|
234
|
+
const r = () => {
|
|
235
|
+
ge(C);
|
|
236
236
|
};
|
|
237
|
-
|
|
237
|
+
le(() => () => {
|
|
238
238
|
});
|
|
239
|
-
const
|
|
239
|
+
const p = () => a("cancel"), U = () => a("confirm");
|
|
240
240
|
function D(o) {
|
|
241
241
|
se[o ? "unshift" : "push"](() => {
|
|
242
242
|
b = o, t(3, b);
|
|
243
243
|
});
|
|
244
244
|
}
|
|
245
245
|
return n.$$set = (o) => {
|
|
246
|
-
"modaltext" in o && t(0,
|
|
246
|
+
"modaltext" in o && t(0, d = o.modaltext), "modaltitle" in o && t(1, h = o.modaltitle), "hascancelbutton" in o && t(2, A = o.hascancelbutton), "modalconfirmevent" in o && t(8, g = o.modalconfirmevent), "modalcancelevent" in o && t(9, _ = o.modalcancelevent), "lang" in o && t(10, C = o.lang), "clientstyling" in o && t(11, v = o.clientstyling), "clientstylingurl" in o && t(12, y = o.clientstylingurl), "translationurl" in o && t(13, u = o.translationurl), "mbsource" in o && t(14, k = o.mbsource), "$$scope" in o && t(15, f = o.$$scope);
|
|
247
247
|
}, n.$$.update = () => {
|
|
248
248
|
n.$$.dirty & /*modaltext, lang*/
|
|
249
|
-
1025 &&
|
|
250
|
-
2056 &&
|
|
251
|
-
4104 &&
|
|
252
|
-
16392 &&
|
|
249
|
+
1025 && d && C && r(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
250
|
+
2056 && v && b && ce(b, v), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
251
|
+
4104 && y && b && me(b, y), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
252
|
+
16392 && k && b && de(b, `${k}.Style`), n.$$.dirty & /*translationurl*/
|
|
253
253
|
8192 && u && c();
|
|
254
254
|
}, [
|
|
255
|
-
|
|
256
|
-
|
|
255
|
+
d,
|
|
256
|
+
h,
|
|
257
257
|
A,
|
|
258
258
|
b,
|
|
259
|
-
|
|
259
|
+
i,
|
|
260
260
|
M,
|
|
261
|
-
|
|
261
|
+
G,
|
|
262
262
|
a,
|
|
263
263
|
g,
|
|
264
|
+
_,
|
|
265
|
+
C,
|
|
266
|
+
v,
|
|
264
267
|
y,
|
|
265
|
-
p,
|
|
266
|
-
w,
|
|
267
|
-
k,
|
|
268
268
|
u,
|
|
269
|
-
|
|
270
|
-
|
|
269
|
+
k,
|
|
270
|
+
f,
|
|
271
271
|
s,
|
|
272
|
-
|
|
272
|
+
p,
|
|
273
273
|
U,
|
|
274
274
|
D
|
|
275
275
|
];
|
|
@@ -281,7 +281,7 @@ class ve extends K {
|
|
|
281
281
|
e,
|
|
282
282
|
xe,
|
|
283
283
|
pe,
|
|
284
|
-
|
|
284
|
+
X,
|
|
285
285
|
{
|
|
286
286
|
modaltext: 0,
|
|
287
287
|
modaltitle: 1,
|
|
@@ -301,64 +301,64 @@ class ve extends K {
|
|
|
301
301
|
return this.$$.ctx[0];
|
|
302
302
|
}
|
|
303
303
|
set modaltext(e) {
|
|
304
|
-
this.$$set({ modaltext: e }),
|
|
304
|
+
this.$$set({ modaltext: e }), x();
|
|
305
305
|
}
|
|
306
306
|
get modaltitle() {
|
|
307
307
|
return this.$$.ctx[1];
|
|
308
308
|
}
|
|
309
309
|
set modaltitle(e) {
|
|
310
|
-
this.$$set({ modaltitle: e }),
|
|
310
|
+
this.$$set({ modaltitle: e }), x();
|
|
311
311
|
}
|
|
312
312
|
get hascancelbutton() {
|
|
313
313
|
return this.$$.ctx[2];
|
|
314
314
|
}
|
|
315
315
|
set hascancelbutton(e) {
|
|
316
|
-
this.$$set({ hascancelbutton: e }),
|
|
316
|
+
this.$$set({ hascancelbutton: e }), x();
|
|
317
317
|
}
|
|
318
318
|
get modalconfirmevent() {
|
|
319
319
|
return this.$$.ctx[8];
|
|
320
320
|
}
|
|
321
321
|
set modalconfirmevent(e) {
|
|
322
|
-
this.$$set({ modalconfirmevent: e }),
|
|
322
|
+
this.$$set({ modalconfirmevent: e }), x();
|
|
323
323
|
}
|
|
324
324
|
get modalcancelevent() {
|
|
325
325
|
return this.$$.ctx[9];
|
|
326
326
|
}
|
|
327
327
|
set modalcancelevent(e) {
|
|
328
|
-
this.$$set({ modalcancelevent: e }),
|
|
328
|
+
this.$$set({ modalcancelevent: e }), x();
|
|
329
329
|
}
|
|
330
330
|
get lang() {
|
|
331
331
|
return this.$$.ctx[10];
|
|
332
332
|
}
|
|
333
333
|
set lang(e) {
|
|
334
|
-
this.$$set({ lang: e }),
|
|
334
|
+
this.$$set({ lang: e }), x();
|
|
335
335
|
}
|
|
336
336
|
get clientstyling() {
|
|
337
337
|
return this.$$.ctx[11];
|
|
338
338
|
}
|
|
339
339
|
set clientstyling(e) {
|
|
340
|
-
this.$$set({ clientstyling: e }),
|
|
340
|
+
this.$$set({ clientstyling: e }), x();
|
|
341
341
|
}
|
|
342
342
|
get clientstylingurl() {
|
|
343
343
|
return this.$$.ctx[12];
|
|
344
344
|
}
|
|
345
345
|
set clientstylingurl(e) {
|
|
346
|
-
this.$$set({ clientstylingurl: e }),
|
|
346
|
+
this.$$set({ clientstylingurl: e }), x();
|
|
347
347
|
}
|
|
348
348
|
get translationurl() {
|
|
349
349
|
return this.$$.ctx[13];
|
|
350
350
|
}
|
|
351
351
|
set translationurl(e) {
|
|
352
|
-
this.$$set({ translationurl: e }),
|
|
352
|
+
this.$$set({ translationurl: e }), x();
|
|
353
353
|
}
|
|
354
354
|
get mbsource() {
|
|
355
355
|
return this.$$.ctx[14];
|
|
356
356
|
}
|
|
357
357
|
set mbsource(e) {
|
|
358
|
-
this.$$set({ mbsource: e }),
|
|
358
|
+
this.$$set({ mbsource: e }), x();
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
|
|
361
|
+
V(ve, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
362
362
|
export {
|
|
363
363
|
ve as default
|
|
364
364
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-DweBl3EQ.cjs");function A(o,t){e.addMessages(o,t)}function T(o){e.$locale.set(o)}const F={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function P(o){e.append_styles(o,"svelte-s0xip8",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}')}const W=o=>({}),z=o=>({});function N(o){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(a,s){e.insert(a,t,s),e.append(t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function S(o){let t,n,a;return{c(){t=e.element("div"),n=e.element("h2"),a=e.text(o[1]),e.attr(t,"class","GeneralConfirmationTitle")},m(s,m){e.insert(s,t,m),e.append(t,n),e.append(n,a)},p(s,m){m&2&&e.set_data(a,s[1])},d(s){s&&e.detach(t)}}}function E(o){let t,n=o[4]("cancel")+"",a,s,m;return{c(){t=e.element("button"),a=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,b){e.insert(d,t,b),e.append(t,a),s||(m=e.listen(t,"click",o[17]),s=!0)},p(d,b){b&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(a,n)},d(d){d&&e.detach(t),s=!1,m()}}}function q(o){let t,n,a,s,m,d,b,G,u,x,h,C=o[4]("confirm")+"",_,f,v,g;const M=o[16].close,y=e.create_slot(M,o,o[15],z),w=y||N();let i=o[1]&&S(o),c=o[2]&&E(o);return{c(){t=e.element("div"),n=e.element("div"),a=e.element("span"),w.c(),s=e.space(),i&&i.c(),m=e.space(),d=e.element("div"),b=e.text(o[0]),G=e.space(),u=e.element("div"),c&&c.c(),x=e.space(),h=e.element("button"),_=e.text(C),e.attr(a,"class","ModalCloseBtn"),e.attr(a,"role","button"),e.attr(d,"class","GeneralConfirmationContent"),e.attr(h,"class","GeneralConfirmButton"),e.attr(u,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(l,p){e.insert(l,t,p),e.append(t,n),e.append(n,a),w.m(a,null),e.append(n,s),i&&i.m(n,null),e.append(n,m),e.append(n,d),e.append(d,b),e.append(n,G),e.append(n,u),c&&c.m(u,null),e.append(u,x),e.append(u,h),e.append(h,_),o[19](t),f=!0,v||(g=[e.listen(a,"click",o[6]),e.listen(h,"click",o[18])],v=!0)},p(l,[p]){y&&y.p&&(!f||p&32768)&&e.update_slot_base(y,M,l,l[15],f?e.get_slot_changes(M,l[15],p,W):e.get_all_dirty_from_scope(l[15]),z),l[1]?i?i.p(l,p):(i=S(l),i.c(),i.m(n,m)):i&&(i.d(1),i=null),(!f||p&1)&&e.set_data(b,l[0]),l[2]?c?c.p(l,p):(c=E(l),c.c(),c.m(u,x)):c&&(c.d(1),c=null),(!f||p&16)&&C!==(C=l[4]("confirm")+"")&&e.set_data(_,C)},i(l){f||(e.transition_in(w,l),f=!0)},o(l){e.transition_out(w,l),f=!1},d(l){l&&e.detach(t),w.d(l),i&&i.d(),c&&c.d(),o[19](null),v=!1,e.run_all(g)}}}function R(o,t,n){let a;e.component_subscribe(o,e.$format,r=>n(4,a=r));let{$$slots:s={},$$scope:m}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:b=""}=t,{hascancelbutton:G=!1}=t,{modalconfirmevent:u={}}=t,{modalcancelevent:x={}}=t,{lang:h="en"}=t,{clientstyling:C=""}=t,{clientstylingurl:_=""}=t,{translationurl:f=""}=t,{mbsource:v}=t,g,M=window.navigator.userAgent,y=e.getDevice(M)!=="PC";const w=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},i=r=>{r==="confirm"&&u&&window.postMessage(u,window.location.href),r==="cancel"&&x&&window.postMessage(x,window.location.href),w()},c=()=>{fetch(f).then(k=>k.json()).then(k=>{Object.keys(k).forEach(B=>{A(B,k[B])})}).catch(k=>{console.log(k)})};Object.keys(F).forEach(r=>{A(r,F[r])});const l=()=>{T(h)};e.onMount(()=>()=>{});const p=()=>i("cancel"),L=()=>i("confirm");function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(3,g)})}return o.$$set=r=>{"modaltext"in r&&n(0,d=r.modaltext),"modaltitle"in r&&n(1,b=r.modaltitle),"hascancelbutton"in r&&n(2,G=r.hascancelbutton),"modalconfirmevent"in r&&n(8,u=r.modalconfirmevent),"modalcancelevent"in r&&n(9,x=r.modalcancelevent),"lang"in r&&n(10,h=r.lang),"clientstyling"in r&&n(11,C=r.clientstyling),"clientstylingurl"in r&&n(12,_=r.clientstylingurl),"translationurl"in r&&n(13,f=r.translationurl),"mbsource"in r&&n(14,v=r.mbsource),"$$scope"in r&&n(15,m=r.$$scope)},o.$$.update=()=>{o.$$.dirty&1025&&d&&h&&l(),o.$$.dirty&2056&&C&&g&&e.setClientStyling(g,C),o.$$.dirty&4104&&_&&g&&e.setClientStylingURL(g,_),o.$$.dirty&16392&&v&&g&&e.setStreamStyling(g,`${v}.Style`),o.$$.dirty&8192&&f&&c()},[d,b,G,g,a,y,w,i,u,x,h,C,_,f,v,m,s,p,L,O]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,R,q,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,lang:10,clientstyling:11,clientstylingurl:12,translationurl:13,mbsource:14},P)}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$$set({modaltext:t}),e.flush()}get modaltitle(){return this.$$.ctx[1]}set modaltitle(t){this.$$set({modaltitle:t}),e.flush()}get hascancelbutton(){return this.$$.ctx[2]}set hascancelbutton(t){this.$$set({hascancelbutton:t}),e.flush()}get modalconfirmevent(){return this.$$.ctx[8]}set modalconfirmevent(t){this.$$set({modalconfirmevent:t}),e.flush()}get modalcancelevent(){return this.$$.ctx[9]}set modalcancelevent(t){this.$$set({modalcancelevent:t}),e.flush()}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang: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 translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(j,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=j;
|