@everymatrix/player-account-controller-nd 1.70.1 → 1.71.1
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-C6SVgUtg.js} +853 -874
- package/components/GeneralLogout-CwfC_imT.cjs +21 -0
- package/components/{GeneralLogout-PryurO1h.js → GeneralLogout-DfKsCxwv.js} +913 -934
- package/components/PlayerAccountBettingHistory-BLjgCtrb.js +329 -0
- package/components/PlayerAccountBettingHistory-CbA15BLO.cjs +1 -0
- package/components/PlayerAccountBettingHistory-CnZ39Cya.js +328 -0
- package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-BYO39i9p.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CtLvJg_Q.js → PlayerAccountBiometrics-DkdsS2L0.js} +22 -22
- package/components/{PlayerAccountBiometrics-DIkqSnzX.js → PlayerAccountBiometrics-Kq_RsCQX.js} +22 -22
- package/components/{PlayerAccountClosureNd-7SyXUtdN.js → PlayerAccountClosureNd-BGyveR6u.js} +17 -17
- package/components/{PlayerAccountClosureNd-WqmFJkpU.cjs → PlayerAccountClosureNd-BVMVyN-i.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-Byw-X8Sr.js → PlayerAccountClosureNd-DgRwmKhw.js} +17 -17
- package/components/{PlayerAccountControllerNd-C1b1AGzM.js → PlayerAccountControllerNd-B1FDRy8G.js} +536 -502
- package/components/{PlayerAccountControllerNd-CVnajMw_.js → PlayerAccountControllerNd-D7Bi1ncx.js} +540 -506
- package/components/PlayerAccountControllerNd-FxU1zYmA.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-BIXEO8qU.cjs → PlayerAccountGamingLimits-DD_Xvlpx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-Bj6iDB2S.js → PlayerAccountGamingLimits-DGBdF8wr.js} +127 -127
- package/components/{PlayerAccountGamingLimits-DxoR6Rl0.js → PlayerAccountGamingLimits-wCgrJnLI.js} +127 -127
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs → PlayerAccountGamingLimitsConfirmationModal-B5DdL-Qq.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BzaZH1VM.js → PlayerAccountGamingLimitsConfirmationModal-Bhw66Tfe.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CxFJV4Qq.js → PlayerAccountGamingLimitsConfirmationModal-Dvenc_fN.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-5Xl-352p.js → PlayerAccountGamingLimitsGroupEdit-B2r6jahF.js} +57 -55
- package/components/{PlayerAccountGamingLimitsGroupEdit-CYeY3dwe.js → PlayerAccountGamingLimitsGroupEdit-B5K6NQck.js} +57 -55
- package/components/PlayerAccountGamingLimitsGroupEdit-DrD_b8jP.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-p3iqTl1u.js → PlayerAccountGamingLimitsHistory2Nd-BYhgU7A1.js} +199 -199
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DrMT268T.js → PlayerAccountGamingLimitsHistory2Nd-D6VhX20D.js} +192 -192
- package/components/{PlayerAccountGamingLimitsHistory2Nd-juZ45FBC.cjs → PlayerAccountGamingLimitsHistory2Nd-DFtdC_JJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs → PlayerAccountGamingLimitsInfoCard-CV-3DIxV.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-B-8AhoxC.js → PlayerAccountGamingLimitsInfoCard-Du4leiEi.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-DSLO6bv_.js → PlayerAccountGamingLimitsInfoCard-_4DnaPCJ.js} +83 -83
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CNEarh24.js → PlayerAccountGamingLimitsPage2Gm16Nd-CUb4P6CK.js} +206 -206
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Bcf8Z04l.js → PlayerAccountGamingLimitsPage2Gm16Nd-D93kFTBu.js} +187 -187
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CEeTJ8Id.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-gKuQQbeq.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-B5CoTG_T.js → PlayerAccountGamingLimitsPopup-CBf5w2kb.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-CzDFUbRs.js → PlayerAccountGamingLimitsPopup-DS9FtNcO.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-DySvpnhJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-OZ4__LSM.js → PlayerAccountGamingLimitsWrapper2Nd-BVEh3MOb.js} +36 -36
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BA9kwsSe.cjs → PlayerAccountGamingLimitsWrapper2Nd-BydDxiYB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-4Y2uzCxt.js → PlayerAccountGamingLimitsWrapper2Nd-DexMABpv.js} +36 -36
- package/components/{PlayerAccountGeneralConfirmationModal-BBveBuYk.js → PlayerAccountGeneralConfirmationModal-CVJBEg6r.js} +32 -32
- package/components/{PlayerAccountGeneralConfirmationModal-DFj-HuBM.js → PlayerAccountGeneralConfirmationModal-C_vpaSjC.js} +32 -32
- package/components/{PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs → PlayerAccountGeneralConfirmationModal-DjEvyfLy.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-DxU1mHZX.js → PlayerAccountMenuNd-BbFwjvUZ.js} +32 -32
- package/components/{PlayerAccountMenuNd-A0VS-bqc.js → PlayerAccountMenuNd-VfTLDcJ7.js} +29 -29
- package/components/{PlayerAccountMenuNd-DUUt9VRH.cjs → PlayerAccountMenuNd-ldM69TpJ.cjs} +1 -1
- package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal--0zxODF3.cjs} +1 -1
- package/components/{PlayerAccountModal-DHs1T-B4.js → PlayerAccountModal-CGYPes0F.js} +42 -42
- package/components/{PlayerAccountModal-iZqtQZF3.js → PlayerAccountModal-VzSk1pK3.js} +42 -42
- package/components/{PlayerAccountNotifications-aQgcZXcD.cjs → PlayerAccountNotifications-DL6whSl1.cjs} +1 -1
- package/components/{PlayerAccountNotifications-DlfjoTaZ.js → PlayerAccountNotifications-DouFF_cH.js} +120 -120
- package/components/{PlayerAccountNotifications-DfxnKiF_.js → PlayerAccountNotifications-pfmvSgjr.js} +35 -35
- package/components/{PlayerAccountProductRestriction-Bo8RstAq.js → PlayerAccountProductRestriction-B1kRUzkM.js} +2314 -2312
- package/components/{PlayerAccountProductRestriction-hEkChQnB.js → PlayerAccountProductRestriction-BvJ92iNo.js} +2328 -2326
- package/components/{PlayerAccountProductRestriction-BiiJjJv1.cjs → PlayerAccountProductRestriction-CoLHLqmO.cjs} +233 -233
- package/components/{PlayerAccountSelfExclusionNd-DbjwBA63.cjs → PlayerAccountSelfExclusionNd-CPpkhUbE.cjs} +75 -75
- package/components/{PlayerAccountSelfExclusionNd-pdOCK_f4.js → PlayerAccountSelfExclusionNd-DXW-cEof.js} +541 -538
- package/components/{PlayerAccountSelfExclusionNd-BDt34Cwv.js → PlayerAccountSelfExclusionNd-bCsjTCoV.js} +140 -137
- package/components/{PlayerAccountTimeout-DrdFtiYr.js → PlayerAccountTimeout-B9oyZO5M.js} +122 -122
- package/components/{PlayerAccountTimeout-HsLSYM7W.js → PlayerAccountTimeout-C3qHUiBc.js} +122 -122
- package/components/PlayerAccountTimeout-CG-hGlO_.cjs +1 -0
- package/components/{PlayerAccountTransactionsHistory-VAN769PL.cjs → PlayerAccountTransactionsHistory-BhvY8bec.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-CAUCRimI.js → PlayerAccountTransactionsHistory-CDW-JrNE.js} +59 -59
- package/components/{PlayerAccountTransactionsHistory-BREZvoV0.js → PlayerAccountTransactionsHistory-DmBsbv8F.js} +59 -59
- package/components/{PlayerActiveBonuses-sQ7BsovQ.js → PlayerActiveBonuses-BH94Auve.js} +55 -55
- package/components/{PlayerActiveBonuses-DIapJ49L.js → PlayerActiveBonuses-D5dvyrmb.js} +48 -48
- package/components/{PlayerActiveBonuses-Dpef1XJD.cjs → PlayerActiveBonuses-dQOuytPa.cjs} +1 -1
- package/components/{PlayerBonusCard-7dIqFpfg.cjs → PlayerBonusCard-BZXqOzco.cjs} +1 -1
- package/components/{PlayerBonusCard-BAMVrPsC.js → PlayerBonusCard-BtDUZxTL.js} +81 -81
- package/components/{PlayerBonusCard-faBE6xxD.js → PlayerBonusCard-UJVwReBr.js} +81 -81
- package/components/{PlayerBonusHistory-BUDZiu-P.js → PlayerBonusHistory-C6KCSJx8.js} +33 -33
- package/components/{PlayerBonusHistory-ppwY60rv.cjs → PlayerBonusHistory-CmOldup0.cjs} +1 -1
- package/components/{PlayerBonusHistory-DqRPaMr-.js → PlayerBonusHistory-DSfHVxbN.js} +33 -33
- package/components/{PlayerChangePasswordNd-B0yPdyGM.js → PlayerChangePasswordNd-CiPj5e6I.js} +71 -71
- package/components/{PlayerChangePasswordNd-B0W5bdN2.js → PlayerChangePasswordNd-DgBk0TZ3.js} +71 -71
- package/components/{PlayerChangePasswordNd-DEzeq-CF.cjs → PlayerChangePasswordNd-JxsnlpId.cjs} +1 -1
- package/components/{PlayerDeposit-N7o3ip4d.js → PlayerDeposit-BMWzlG2-.js} +80 -80
- package/components/PlayerDeposit-XDLH1XV-.cjs +1 -0
- package/components/{PlayerDeposit-CHnzNVZy.js → PlayerDeposit-yFis4xl0.js} +80 -80
- package/components/{PlayerGamingHistory-Bm1BREq3.js → PlayerGamingHistory-BaPQwYES.js} +97 -97
- package/components/{PlayerGamingHistory-DXsCLoa_.js → PlayerGamingHistory-CmTDguMl.js} +88 -88
- package/components/{PlayerGamingHistory-Hs5LWwEP.cjs → PlayerGamingHistory-SuFKYHl5.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-CrNEhXdS.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-B2WyLuNV.js → PlayerPendingWithdrawals-DXDpNvc0.js} +26 -26
- package/components/{PlayerPendingWithdrawals-CRRuYNXr.js → PlayerPendingWithdrawals-bL-txpqs.js} +26 -26
- package/components/{PlayerProfileInfo-DFw4ourA.cjs → PlayerProfileInfo-Ba0P3Lmq.cjs} +1 -1
- package/components/{PlayerProfileInfo-Cxaujp_D.js → PlayerProfileInfo-Co9ZbzUD.js} +66 -66
- package/components/{PlayerProfileInfo-DuQngBLo.js → PlayerProfileInfo-DoeTXAq7.js} +66 -66
- package/components/{PlayerRealityCheck-Bfazo0qy.js → PlayerRealityCheck-BJLzlVUt.js} +44 -44
- package/components/{PlayerRealityCheck-Dr_ZpTwE.cjs → PlayerRealityCheck-CC8qTWId.cjs} +1 -1
- package/components/{PlayerRealityCheck-BMeUmSDr.js → PlayerRealityCheck-DbAjDSQR.js} +43 -43
- package/components/{PlayerTransactionHistory-BQlWb-B9.js → PlayerTransactionHistory-BwMVf693.js} +19 -19
- package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-CPYk3YFO.cjs} +1 -1
- package/components/{PlayerTransactionHistory-DyBRNwAw.js → PlayerTransactionHistory-CjiTH9aE.js} +19 -19
- package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-9DnL98EG.cjs} +1 -1
- package/components/{PlayerWithdrawal-C6_CSTeL.js → PlayerWithdrawal-BE8JBn_B.js} +19 -19
- package/components/{PlayerWithdrawal-CgR0BwqA.js → PlayerWithdrawal-JE73Z0UZ.js} +19 -19
- 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_15-DV3L45BU.js → checkbox-group-input_15-COX7DlDn.js} +2292 -2286
- package/stencil/{checkbox-group-input_15-CfJ8hwGl.cjs → checkbox-group-input_15-CfJS-1ti.cjs} +239 -239
- package/stencil/{checkbox-group-input_15-Nrj9GHCK.js → checkbox-group-input_15-DpaVaugQ.js} +2289 -2283
- package/stencil/index-13661b98-BDzather.js +611 -0
- package/stencil/index-13661b98-ChlFIQCB.cjs +1 -0
- package/stencil/index-13661b98-xRNcnGsM.js +595 -0
- package/stencil/index-1ef3a64c-B56pWkNP.js +572 -0
- package/stencil/index-1ef3a64c-drXhqjaW.cjs +1 -0
- package/stencil/index-1ef3a64c-fwHj5L8t.js +556 -0
- package/stencil/index-7c5e707a-CU3H8HVf.js +616 -0
- package/stencil/index-7c5e707a-DIWlFBom.js +643 -0
- package/stencil/index-7c5e707a-DS22ns-5.cjs +1 -0
- package/stencil/index-9c0f6c58-B8OJoZ2G.js +576 -0
- package/stencil/index-9c0f6c58-CEOt4FET.cjs +1 -0
- package/stencil/{index-9c0f6c58-BB5opCt9.js → index-9c0f6c58-z4XuR4dm.js} +197 -197
- package/stencil/index-b2193545-BekNYO1T.js +519 -0
- package/stencil/index-b2193545-BteAUmdh.cjs +1 -0
- package/stencil/index-b2193545-DfDFpDFs.js +503 -0
- package/stencil/{pam-change-password-B5GD5Hl4.js → pam-change-password-CY5-Aktx.js} +1 -1
- package/stencil/{pam-change-password-ubzmglA0.cjs → pam-change-password-CgkH4Jiz.cjs} +1 -1
- package/stencil/{pam-change-password-DMG1L_LG.js → pam-change-password-DjPvltNj.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-CHySnF1q.cjs → pam-change-password-f4a1e7e7-BqDw0WzC.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-DCoikg7H.js → pam-change-password-f4a1e7e7-CfFEjP0U.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-C1ItXOg5.js → pam-change-password-f4a1e7e7-G-vVNocT.js} +1 -1
- package/stencil/{player-kyc-verification-DYcPWwfi.cjs → player-kyc-verification-BEPum-yT.cjs} +1 -1
- package/stencil/{player-kyc-verification-CMAkNiAB.js → player-kyc-verification-BbcCYuiR.js} +1 -1
- package/stencil/{player-kyc-verification-p2WFnKBp.js → player-kyc-verification-Ca4iu4IA.js} +1 -1
- package/stencil/{ui-skeleton-GEqIXVxo.cjs → ui-skeleton-Bez-iF-R.cjs} +1 -1
- package/stencil/{ui-skeleton-mkMdvWYI.js → ui-skeleton-CScGJdv_.js} +2 -2
- package/stencil/{ui-skeleton-C_FDz0NJ.js → ui-skeleton-CnxOhYAT.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-BreM325l.js → ui-skeleton-ae35c6f2-Bl0_r9TX.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-e6Wte4qi.js → ui-skeleton-ae35c6f2-CXRVKjq-.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CeNpgiKf.cjs → ui-skeleton-ae35c6f2-D37mmp9J.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-BjmaGgRK.js → user-deposit-withdrawal-B8kjiJ18.js} +1 -1
- package/stencil/{user-deposit-withdrawal-Du59X_-y.cjs → user-deposit-withdrawal-D2eMp5tL.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-D6SDVw3h.js → user-deposit-withdrawal-DZhlyIWQ.js} +1 -1
- package/stencil/user-transaction-history-3DGGL9dd.cjs +1 -0
- package/stencil/{user-transaction-history-7_yFZr3w.js → user-transaction-history-B1ZWITFg.js} +3 -1
- package/stencil/{user-transaction-history-Dpd_aKdj.js → user-transaction-history-lKr2wNoI.js} +3 -1
- package/components/GeneralLogout-Dzu2Sl-x.cjs +0 -21
- package/components/PlayerAccountBettingHistory-BtDZukYI.cjs +0 -1
- package/components/PlayerAccountBettingHistory-BzAXq1xX.js +0 -329
- package/components/PlayerAccountBettingHistory-CwTEYOIN.js +0 -328
- package/components/PlayerAccountControllerNd-C33ICkyg.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs +0 -2
- package/components/PlayerAccountTimeout-Dwk3qNrp.cjs +0 -1
- package/components/PlayerDeposit-Dzg8Ltb1.cjs +0 -1
- package/stencil/index-13661b98-BCPnsSSE.js +0 -611
- package/stencil/index-13661b98-BUI3AeLv.cjs +0 -1
- package/stencil/index-13661b98-DffousLf.js +0 -595
- package/stencil/index-1ef3a64c-B5I86vac.js +0 -572
- package/stencil/index-1ef3a64c-DqUPq8OL.js +0 -556
- package/stencil/index-1ef3a64c-uiTzpR-U.cjs +0 -1
- package/stencil/index-7c5e707a-2AC9SnQ7.js +0 -616
- package/stencil/index-7c5e707a-BM4sfR0h.js +0 -643
- package/stencil/index-7c5e707a-Cw-c3Bke.cjs +0 -1
- package/stencil/index-9c0f6c58-DmOKHEVq.cjs +0 -1
- package/stencil/index-9c0f6c58-bxjYqwOi.js +0 -576
- package/stencil/index-b2193545-DQUvHUpa.cjs +0 -1
- package/stencil/index-b2193545-DoYU_tL8.js +0 -503
- package/stencil/index-b2193545-_I2wisuY.js +0 -519
- package/stencil/user-transaction-history-DZZT2rYX.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as me, $ as de, S as ge, i as fe, f as I,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import { a as me, $ as de, S as ge, i as fe, f as I, c as ye, s as pe, b as he, e as b, k as F, o as O, p as E, q as be, u as V, v as Ae, w as Me, x as we, z as ve, A as Pe, O as z, d as k, t as W, g as d, l as a, n as T, P as ee, j as m, y as H, m as j, r as _e, a1 as X, B as xe } from "./GeneralLogout-C6SVgUtg.js";
|
|
2
|
+
import "../stencil/ui-skeleton-CScGJdv_.js";
|
|
3
3
|
function Z(n, e) {
|
|
4
4
|
me(n, e);
|
|
5
5
|
}
|
|
@@ -53,7 +53,7 @@ if (typeof window < "u") {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-
|
|
56
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-C6SVgUtg.js").then((e) => e.a7).then(({ default: e }) => {
|
|
57
57
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
58
58
|
});
|
|
59
59
|
}
|
|
@@ -99,7 +99,7 @@ function Ce(n) {
|
|
|
99
99
|
(n[12] ? "PlayerAccountMobileContainer" : ""));
|
|
100
100
|
},
|
|
101
101
|
m(y, C) {
|
|
102
|
-
|
|
102
|
+
F(y, e, C), a(e, t), u && u.m(t, null), a(t, l), a(t, r), a(r, s), a(t, g), a(t, h), a(h, M), a(t, P), c && c.m(t, null), a(e, w), a(e, A);
|
|
103
103
|
for (let p = 0; p < o.length; p += 1)
|
|
104
104
|
o[p] && o[p].m(A, null);
|
|
105
105
|
a(e, v), _ && _.m(e, null);
|
|
@@ -138,7 +138,7 @@ function Ce(n) {
|
|
|
138
138
|
y[12] || _.p(y, C);
|
|
139
139
|
},
|
|
140
140
|
d(y) {
|
|
141
|
-
y &&
|
|
141
|
+
y && E(e), u && u.d(), c && c.d(), ee(o, y), _ && _.d();
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
}
|
|
@@ -159,7 +159,7 @@ function Fe(n) {
|
|
|
159
159
|
(n[12] ? "PlayerAccountMobileContainer" : ""));
|
|
160
160
|
},
|
|
161
161
|
m(c, f) {
|
|
162
|
-
|
|
162
|
+
F(c, e, f), a(e, t), A && A.m(t, null), a(t, l), a(t, r), a(t, s), a(t, g), a(e, h), a(e, M);
|
|
163
163
|
for (let o = 0; o < u.length; o += 1)
|
|
164
164
|
u[o] && u[o].m(M, null);
|
|
165
165
|
a(e, P), a(e, w);
|
|
@@ -179,7 +179,7 @@ function Fe(n) {
|
|
|
179
179
|
}
|
|
180
180
|
},
|
|
181
181
|
d(c) {
|
|
182
|
-
c &&
|
|
182
|
+
c && E(e), A && A.d(), ee(u, c);
|
|
183
183
|
}
|
|
184
184
|
};
|
|
185
185
|
}
|
|
@@ -193,7 +193,7 @@ function Ee(n) {
|
|
|
193
193
|
e = b("div"), t = H("svg"), l = H("defs"), r = H("style"), s = W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), g = H("g"), h = H("g"), M = H("path"), P = k(), w = b("h3"), v = W(A), d(M, "class", "aaa"), d(M, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(M, "transform", "translate(15 15) rotate(180)"), d(h, "transform", "translate(20 158)"), d(g, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(w, "class", "PlayerAccountMenuCategoryTitle"), d(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
194
194
|
},
|
|
195
195
|
m(f, o) {
|
|
196
|
-
|
|
196
|
+
F(f, e, o), a(e, t), a(t, l), a(l, r), a(r, s), a(t, g), a(g, h), a(h, M), a(e, P), a(e, w), a(w, v), u || (c = [
|
|
197
197
|
j(
|
|
198
198
|
t,
|
|
199
199
|
"click",
|
|
@@ -214,7 +214,7 @@ function Ee(n) {
|
|
|
214
214
|
f[11]("title") + "") && T(v, A);
|
|
215
215
|
},
|
|
216
216
|
d(f) {
|
|
217
|
-
f &&
|
|
217
|
+
f && E(e), u = !1, _e(c);
|
|
218
218
|
}
|
|
219
219
|
};
|
|
220
220
|
}
|
|
@@ -250,7 +250,7 @@ function Le(n) {
|
|
|
250
250
|
), d(e, "class", "PlayerAccountLogOutArea");
|
|
251
251
|
},
|
|
252
252
|
m(l, r) {
|
|
253
|
-
|
|
253
|
+
F(l, e, r), a(e, t);
|
|
254
254
|
},
|
|
255
255
|
p(l, r) {
|
|
256
256
|
r[0] & /*endpoint*/
|
|
@@ -286,7 +286,7 @@ function Le(n) {
|
|
|
286
286
|
);
|
|
287
287
|
},
|
|
288
288
|
d(l) {
|
|
289
|
-
l &&
|
|
289
|
+
l && E(e);
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
}
|
|
@@ -314,7 +314,7 @@ function Y(n) {
|
|
|
314
314
|
n[12] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
315
315
|
},
|
|
316
316
|
m(c, f) {
|
|
317
|
-
|
|
317
|
+
F(c, e, f), a(e, t), a(t, l), a(t, s), a(t, g), a(g, M), a(e, P), A || (v = j(e, "click", u), A = !0);
|
|
318
318
|
},
|
|
319
319
|
p(c, f) {
|
|
320
320
|
n = c, f[0] & /*menuItems*/
|
|
@@ -328,7 +328,7 @@ function Y(n) {
|
|
|
328
328
|
n[12] ? "PlayerAccountMenuActiveItemBox" : "")) && d(e, "class", w);
|
|
329
329
|
},
|
|
330
330
|
d(c) {
|
|
331
|
-
c &&
|
|
331
|
+
c && E(e), A = !1, v();
|
|
332
332
|
}
|
|
333
333
|
};
|
|
334
334
|
}
|
|
@@ -364,7 +364,7 @@ function Be(n) {
|
|
|
364
364
|
), d(e, "class", "PlayerAccountLogOutArea");
|
|
365
365
|
},
|
|
366
366
|
m(l, r) {
|
|
367
|
-
|
|
367
|
+
F(l, e, r), a(e, t);
|
|
368
368
|
},
|
|
369
369
|
p(l, r) {
|
|
370
370
|
r[0] & /*endpoint*/
|
|
@@ -400,7 +400,7 @@ function Be(n) {
|
|
|
400
400
|
);
|
|
401
401
|
},
|
|
402
402
|
d(l) {
|
|
403
|
-
l &&
|
|
403
|
+
l && E(e);
|
|
404
404
|
}
|
|
405
405
|
};
|
|
406
406
|
}
|
|
@@ -411,10 +411,10 @@ function He(n) {
|
|
|
411
411
|
e = b("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>', d(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
412
412
|
},
|
|
413
413
|
m(t, l) {
|
|
414
|
-
|
|
414
|
+
F(t, e, l);
|
|
415
415
|
},
|
|
416
416
|
d(t) {
|
|
417
|
-
t &&
|
|
417
|
+
t && E(e);
|
|
418
418
|
}
|
|
419
419
|
};
|
|
420
420
|
}
|
|
@@ -425,10 +425,10 @@ function We(n) {
|
|
|
425
425
|
e = b("ui-skeleton"), m(e, "structure", "circle"), m(e, "size", "20px");
|
|
426
426
|
},
|
|
427
427
|
m(t, l) {
|
|
428
|
-
|
|
428
|
+
F(t, e, l);
|
|
429
429
|
},
|
|
430
430
|
d(t) {
|
|
431
|
-
t &&
|
|
431
|
+
t && E(e);
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
}
|
|
@@ -446,11 +446,11 @@ function $(n) {
|
|
|
446
446
|
(n[12] ? "PlayerAccountItemWrapMobile" : ""));
|
|
447
447
|
},
|
|
448
448
|
m(g, h) {
|
|
449
|
-
|
|
449
|
+
F(g, e, h), s && s.m(e, null), a(e, t), a(e, l), a(e, r);
|
|
450
450
|
},
|
|
451
451
|
p: O,
|
|
452
452
|
d(g) {
|
|
453
|
-
g &&
|
|
453
|
+
g && E(e), s && s.d();
|
|
454
454
|
}
|
|
455
455
|
};
|
|
456
456
|
}
|
|
@@ -468,7 +468,7 @@ function ze(n) {
|
|
|
468
468
|
e = b("div"), r.c();
|
|
469
469
|
},
|
|
470
470
|
m(s, g) {
|
|
471
|
-
|
|
471
|
+
F(s, e, g), r.m(e, null), n[26](e);
|
|
472
472
|
},
|
|
473
473
|
p(s, g) {
|
|
474
474
|
l === (l = t(s)) && r ? r.p(s, g) : (r.d(1), r = l(s), r && (r.c(), r.m(e, null)));
|
|
@@ -476,13 +476,13 @@ function ze(n) {
|
|
|
476
476
|
i: O,
|
|
477
477
|
o: O,
|
|
478
478
|
d(s) {
|
|
479
|
-
s &&
|
|
479
|
+
s && E(e), r.d(), n[26](null);
|
|
480
480
|
}
|
|
481
481
|
};
|
|
482
482
|
}
|
|
483
483
|
function Te(n, e, t) {
|
|
484
484
|
let l;
|
|
485
|
-
be(n,
|
|
485
|
+
be(n, xe, (i) => t(11, l = i));
|
|
486
486
|
let { endpoint: r = "" } = e, { cmsendpoint: s = "" } = e, { env: g = "" } = e, { session: h = "" } = e, { playerid: M = "" } = e, { lang: P = "en" } = e, { selecteditem: w = "" } = e, { userroles: A = "" } = e, { clientstyling: v = "" } = e, { clientstylingurl: u = "" } = e, { mbsource: c } = e, { translationurl: f = "" } = e, { activemenuitem: o = "" } = e, _ = !1, y = !1, C = !0, p, B = [], S, D = window.navigator.userAgent, te = V(D) !== "PC", U = "", R = "";
|
|
487
487
|
window.matchMedia("(min-width: 768px)");
|
|
488
488
|
const ne = () => {
|
|
@@ -553,7 +553,7 @@ function Te(n, e, t) {
|
|
|
553
553
|
}));
|
|
554
554
|
const se = (i) => q(i);
|
|
555
555
|
function ue(i) {
|
|
556
|
-
|
|
556
|
+
ve[i ? "unshift" : "push"](() => {
|
|
557
557
|
p = i, t(5, p);
|
|
558
558
|
});
|
|
559
559
|
}
|
|
@@ -567,8 +567,8 @@ function Te(n, e, t) {
|
|
|
567
567
|
360448 && s && P && g && ie(), n.$$.dirty[0] & /*activemenuitem*/
|
|
568
568
|
4194304 && o && G(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
569
569
|
36 && v && p && Pe(p, v), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
570
|
-
40 && u && p &&
|
|
571
|
-
48 && c && p &&
|
|
570
|
+
40 && u && p && Me(p, u), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
571
|
+
48 && c && p && we(p, `${c}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
572
572
|
2097152 && f && ne();
|
|
573
573
|
}, [
|
|
574
574
|
h,
|
|
@@ -607,7 +607,7 @@ class Se extends ge {
|
|
|
607
607
|
e,
|
|
608
608
|
Te,
|
|
609
609
|
ze,
|
|
610
|
-
|
|
610
|
+
pe,
|
|
611
611
|
{
|
|
612
612
|
endpoint: 1,
|
|
613
613
|
cmsendpoint: 15,
|
|
@@ -706,7 +706,7 @@ class Se extends ge {
|
|
|
706
706
|
this.$$set({ activemenuitem: e }), I();
|
|
707
707
|
}
|
|
708
708
|
}
|
|
709
|
-
|
|
709
|
+
ye(Se, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
|
|
710
710
|
export {
|
|
711
711
|
Se as default
|
|
712
712
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-Dzu2Sl-x.cjs");require("../stencil/ui-skeleton-GEqIXVxo.cjs");function H(l,t){e.addMessages(l,t)}function K(l){e.$locale.set(l)}const W={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};if(typeof window!="undefined"){let l=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-Dzu2Sl-x.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Q(l){e.append_styles(l,"svelte-j26xf8",'.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:14px 20px;margin:2px 0;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 10px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function T(l,t,n){const a=l.slice();return a[41]=t[n],a}function z(l,t,n){const a=l.slice();return a[38]=t[n],a}function Y(l){let t,n,a,i,c,m,f,_,A,y,h,b,u=l[12]&&ee(l),s=l[12]&&te(l),d=e.ensure_array_like(l[7]),o=[];for(let p=0;p<d.length;p+=1)o[p]=S(T(l,d,p));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),i=e.element("p"),c=e.text(l[9]),m=e.space(),f=e.element("p"),_=e.text(l[10]),A=e.space(),s&&s.c(),y=e.space(),h=e.element("div");for(let p=0;p<o.length;p+=1)o[p].c();b=e.space(),v&&v.c(),e.attr(i,"class","PlayerAccountMenuUser"),e.attr(i,"translate","no"),e.attr(f,"class","PlayerAccountMenuEmail"),e.attr(f,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,w){e.insert(p,t,w),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,i),e.append(i,c),e.append(n,m),e.append(n,f),e.append(f,_),e.append(n,A),s&&s.m(n,null),e.append(t,y),e.append(t,h);for(let g=0;g<o.length;g+=1)o[g]&&o[g].m(h,null);e.append(t,b),v&&v.m(t,null)},p(p,w){if(p[12]&&u.p(p,w),w[0]&512&&e.set_data(c,p[9]),w[0]&1024&&e.set_data(_,p[10]),p[12]&&s.p(p,w),w[0]&12672){d=e.ensure_array_like(p[7]);let g;for(g=0;g<d.length;g+=1){const x=T(p,d,g);o[g]?o[g].p(x,w):(o[g]=S(x),o[g].c(),o[g].m(h,null))}for(;g<o.length;g+=1)o[g].d(1);o.length=d.length}p[12]||v.p(p,w)},d(p){p&&e.detach(t),u&&u.d(),s&&s.d(),e.destroy_each(o,p),v&&v.d()}}}function $(l){let t,n,a,i,c,m,f,_,A,y,h=l[12]&&le(),b=e.ensure_array_like(Array(18)),u=[];for(let s=0;s<b.length;s+=1)u[s]=O(z(l,b,s));return{c(){t=e.element("div"),n=e.element("div"),h&&h.c(),a=e.space(),i=e.element("ui-skeleton"),c=e.space(),m=e.element("ui-skeleton"),f=e.space(),_=e.element("div");for(let s=0;s<u.length;s+=1)u[s].c();A=e.space(),y=e.element("div"),y.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(i,"structure","title"),e.set_custom_element_data(i,"width","100px"),e.set_custom_element_data(i,"height","20px"),e.set_custom_element_data(i,"margin-top","20px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(_,"class","PlayerAccountMenuList"),e.attr(y,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(s,d){e.insert(s,t,d),e.append(t,n),h&&h.m(n,null),e.append(n,a),e.append(n,i),e.append(n,c),e.append(n,m),e.append(t,f),e.append(t,_);for(let o=0;o<u.length;o+=1)u[o]&&u[o].m(_,null);e.append(t,A),e.append(t,y)},p(s,d){if(d[0]&4096){b=e.ensure_array_like(Array(18));let o;for(o=0;o<b.length;o+=1){const v=z(s,b,o);u[o]?u[o].p(v,d):(u[o]=O(v),u[o].c(),u[o].m(_,null))}for(;o<u.length;o+=1)u[o].d(1);u.length=b.length}},d(s){s&&e.detach(t),h&&h.d(),e.destroy_each(u,s)}}}function ee(l){let t,n,a,i,c,m,f,_,A,y,h=l[11]("title")+"",b,u,s;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),i=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),f=e.svg_element("g"),_=e.svg_element("path"),A=e.space(),y=e.element("h3"),b=e.text(h),e.attr(_,"class","aaa"),e.attr(_,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(_,"transform","translate(15 15) rotate(180)"),e.attr(f,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(y,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,o){e.insert(d,t,o),e.append(t,n),e.append(n,a),e.append(a,i),e.append(i,c),e.append(n,m),e.append(m,f),e.append(f,_),e.append(t,A),e.append(t,y),e.append(y,b),u||(s=[e.listen(n,"click",l[14]),e.listen(y,"click",l[14])],u=!0)},p(d,o){o[0]&2048&&h!==(h=d[11]("title")+"")&&e.set_data(b,h)},d(d){d&&e.detach(t),u=!1,e.run_all(s)}}}function te(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,i,c,m,f=l[41].label+"",_,A,y,h,b;function u(){return l[25](l[41])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),c=e.space(),m=e.element("span"),_=e.text(f),A=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,i=l[41].img)||e.attr(a,"src",i),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",y="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(s,d){e.insert(s,t,d),e.append(t,n),e.append(n,a),e.append(n,c),e.append(n,m),e.append(m,_),e.append(t,A),h||(b=e.listen(t,"click",u),h=!0)},p(s,d){l=s,d[0]&128&&!e.src_url_equal(a.src,i=l[41].img)&&e.attr(a,"src",i),d[0]&128&&f!==(f=l[41].label+"")&&e.set_data(_,f),d[0]&384&&y!==(y="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",y)},d(s){s&&e.detach(t),h=!1,b()}}}function ne(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function le(l){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function ae(l){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function O(l){let t,n,a,i,c=!l[12]&&ae();return{c(){t=e.element("div"),c&&c.c(),n=e.space(),a=e.element("ui-skeleton"),i=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,f){e.insert(m,t,f),c&&c.m(t,null),e.append(t,n),e.append(t,a),e.append(t,i)},p:e.noop,d(m){m&&e.detach(t),c&&c.d()}}}function re(l){let t;function n(c,m){return c[6]?$:Y}let a=n(l),i=a(l);return{c(){t=e.element("div"),i.c()},m(c,m){e.insert(c,t,m),i.m(t,null),l[26](t)},p(c,m){a===(a=n(c))&&i?i.p(c,m):(i.d(1),i=a(c),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(c){c&&e.detach(t),i.d(),l[26](null)}}}function ie(l,t,n){let a;e.component_subscribe(l,e.$format,r=>n(11,a=r));let{endpoint:i=""}=t,{cmsendpoint:c=""}=t,{env:m=""}=t,{session:f=""}=t,{playerid:_=""}=t,{lang:A="en"}=t,{selecteditem:y=""}=t,{userroles:h=""}=t,{clientstyling:b=""}=t,{clientstylingurl:u=""}=t,{mbsource:s}=t,{translationurl:d=""}=t,{activemenuitem:o=""}=t,v=!1,p=!1,w=!0,g,x=[],k,I=window.navigator.userAgent,D=e.getDevice(I)!=="PC",C="",F="";window.matchMedia("(min-width: 768px)");const U=()=>{fetch(d).then(M=>M.json()).then(M=>{Object.keys(M).forEach(P=>{H(P,M[P])})}).catch(M=>{console.error(M)})};Object.keys(W).forEach(r=>{H(r,W[r])});const E=r=>{if(r.data)switch(r.data.type){case"AccountMenuDetails":availableMenuItemsArray=r.data.accountMenuInfo;break;case"UserSessionID":n(0,f=r.data.session);break}},q=()=>{let r=e.getDevice(I);if(r)return r==="PC"?"dk":"mtWeb"},R=()=>{const r=new URL(`${c}/${A}/profile-menu?env=${m}`);r.searchParams.append("device",q()),fetch(r.href).then(M=>M.json()).then(M=>{n(7,x=M),B()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,v=!0)})},G=()=>{let r=new URL(`${i}/v1/player/${_}/profile`);r.searchParams.append("userRoles",h);let M={method:"GET",headers:{"X-SessionID":f}};fetch(r.href,M).then(P=>P.json()).then(P=>{n(9,C=P.username),n(10,F=P.email)},P=>{console.error(P)}).finally(()=>{n(24,p=!0)})},L=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(8,k=r.id)},B=()=>{var r;n(8,k=(r=x.find(M=>M.path.includes(o)))==null?void 0:r.id)},N=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},V=()=>{K(A)},X=()=>{G()};e.onMount(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)}));const Z=r=>L(r);function J(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(5,g)})}return l.$$set=r=>{"endpoint"in r&&n(1,i=r.endpoint),"cmsendpoint"in r&&n(15,c=r.cmsendpoint),"env"in r&&n(16,m=r.env),"session"in r&&n(0,f=r.session),"playerid"in r&&n(17,_=r.playerid),"lang"in r&&n(18,A=r.lang),"selecteditem"in r&&n(19,y=r.selecteditem),"userroles"in r&&n(20,h=r.userroles),"clientstyling"in r&&n(2,b=r.clientstyling),"clientstylingurl"in r&&n(3,u=r.clientstylingurl),"mbsource"in r&&n(4,s=r.mbsource),"translationurl"in r&&n(21,d=r.translationurl),"activemenuitem"in r&&n(22,o=r.activemenuitem)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(6,w=!v||!p),l.$$.dirty[0]&262144&&A&&V(),l.$$.dirty[0]&393219&&i&&f&&_&&A&&X(),l.$$.dirty[0]&360448&&c&&A&&m&&R(),l.$$.dirty[0]&4194304&&o&&B(),l.$$.dirty[0]&36&&b&&g&&e.setClientStyling(g,b),l.$$.dirty[0]&40&&u&&g&&e.setClientStylingURL(g,u),l.$$.dirty[0]&48&&s&&g&&e.setStreamStyling(g,`${s}.Style`),l.$$.dirty[0]&2097152&&d&&U()},[f,i,b,u,s,g,w,x,k,C,F,a,D,L,N,c,m,_,A,y,h,d,o,v,p,Z,J]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,re,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,selecteditem:19,userroles:20,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:21,activemenuitem:22},Q,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[16]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[17]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[19]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[20]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[22]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(j,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=j;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CwfC_imT.cjs");require("../stencil/ui-skeleton-Bez-iF-R.cjs");function H(l,t){e.addMessages(l,t)}function K(l){e.$locale.set(l)}const W={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};if(typeof window!="undefined"){let l=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-CwfC_imT.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Q(l){e.append_styles(l,"svelte-j26xf8",'.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:14px 20px;margin:2px 0;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 10px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px;min-height:900px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 10px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function T(l,t,n){const a=l.slice();return a[41]=t[n],a}function z(l,t,n){const a=l.slice();return a[38]=t[n],a}function Y(l){let t,n,a,i,c,m,f,_,A,y,h,b,u=l[12]&&ee(l),s=l[12]&&te(l),d=e.ensure_array_like(l[7]),o=[];for(let p=0;p<d.length;p+=1)o[p]=S(T(l,d,p));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),i=e.element("p"),c=e.text(l[9]),m=e.space(),f=e.element("p"),_=e.text(l[10]),A=e.space(),s&&s.c(),y=e.space(),h=e.element("div");for(let p=0;p<o.length;p+=1)o[p].c();b=e.space(),v&&v.c(),e.attr(i,"class","PlayerAccountMenuUser"),e.attr(i,"translate","no"),e.attr(f,"class","PlayerAccountMenuEmail"),e.attr(f,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,w){e.insert(p,t,w),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,i),e.append(i,c),e.append(n,m),e.append(n,f),e.append(f,_),e.append(n,A),s&&s.m(n,null),e.append(t,y),e.append(t,h);for(let g=0;g<o.length;g+=1)o[g]&&o[g].m(h,null);e.append(t,b),v&&v.m(t,null)},p(p,w){if(p[12]&&u.p(p,w),w[0]&512&&e.set_data(c,p[9]),w[0]&1024&&e.set_data(_,p[10]),p[12]&&s.p(p,w),w[0]&12672){d=e.ensure_array_like(p[7]);let g;for(g=0;g<d.length;g+=1){const x=T(p,d,g);o[g]?o[g].p(x,w):(o[g]=S(x),o[g].c(),o[g].m(h,null))}for(;g<o.length;g+=1)o[g].d(1);o.length=d.length}p[12]||v.p(p,w)},d(p){p&&e.detach(t),u&&u.d(),s&&s.d(),e.destroy_each(o,p),v&&v.d()}}}function $(l){let t,n,a,i,c,m,f,_,A,y,h=l[12]&&le(),b=e.ensure_array_like(Array(18)),u=[];for(let s=0;s<b.length;s+=1)u[s]=O(z(l,b,s));return{c(){t=e.element("div"),n=e.element("div"),h&&h.c(),a=e.space(),i=e.element("ui-skeleton"),c=e.space(),m=e.element("ui-skeleton"),f=e.space(),_=e.element("div");for(let s=0;s<u.length;s+=1)u[s].c();A=e.space(),y=e.element("div"),y.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(i,"structure","title"),e.set_custom_element_data(i,"width","100px"),e.set_custom_element_data(i,"height","20px"),e.set_custom_element_data(i,"margin-top","20px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(_,"class","PlayerAccountMenuList"),e.attr(y,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(s,d){e.insert(s,t,d),e.append(t,n),h&&h.m(n,null),e.append(n,a),e.append(n,i),e.append(n,c),e.append(n,m),e.append(t,f),e.append(t,_);for(let o=0;o<u.length;o+=1)u[o]&&u[o].m(_,null);e.append(t,A),e.append(t,y)},p(s,d){if(d[0]&4096){b=e.ensure_array_like(Array(18));let o;for(o=0;o<b.length;o+=1){const v=z(s,b,o);u[o]?u[o].p(v,d):(u[o]=O(v),u[o].c(),u[o].m(_,null))}for(;o<u.length;o+=1)u[o].d(1);u.length=b.length}},d(s){s&&e.detach(t),h&&h.d(),e.destroy_each(u,s)}}}function ee(l){let t,n,a,i,c,m,f,_,A,y,h=l[11]("title")+"",b,u,s;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),i=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),f=e.svg_element("g"),_=e.svg_element("path"),A=e.space(),y=e.element("h3"),b=e.text(h),e.attr(_,"class","aaa"),e.attr(_,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(_,"transform","translate(15 15) rotate(180)"),e.attr(f,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(y,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,o){e.insert(d,t,o),e.append(t,n),e.append(n,a),e.append(a,i),e.append(i,c),e.append(n,m),e.append(m,f),e.append(f,_),e.append(t,A),e.append(t,y),e.append(y,b),u||(s=[e.listen(n,"click",l[14]),e.listen(y,"click",l[14])],u=!0)},p(d,o){o[0]&2048&&h!==(h=d[11]("title")+"")&&e.set_data(b,h)},d(d){d&&e.detach(t),u=!1,e.run_all(s)}}}function te(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function S(l){let t,n,a,i,c,m,f=l[41].label+"",_,A,y,h,b;function u(){return l[25](l[41])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),c=e.space(),m=e.element("span"),_=e.text(f),A=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,i=l[41].img)||e.attr(a,"src",i),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",y="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(s,d){e.insert(s,t,d),e.append(t,n),e.append(n,a),e.append(n,c),e.append(n,m),e.append(m,_),e.append(t,A),h||(b=e.listen(t,"click",u),h=!0)},p(s,d){l=s,d[0]&128&&!e.src_url_equal(a.src,i=l[41].img)&&e.attr(a,"src",i),d[0]&128&&f!==(f=l[41].label+"")&&e.set_data(_,f),d[0]&384&&y!==(y="PlayerAccountMenuItemBox "+(l[8]===l[41].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",y)},d(s){s&&e.detach(t),h=!1,b()}}}function ne(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,i){e.insert(a,t,i),e.append(t,n)},p(a,i){i[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),i[0]&1&&e.set_custom_element_data(n,"session",a[0]),i[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),i[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),i[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function le(l){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function ae(l){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function O(l){let t,n,a,i,c=!l[12]&&ae();return{c(){t=e.element("div"),c&&c.c(),n=e.space(),a=e.element("ui-skeleton"),i=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"60px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,f){e.insert(m,t,f),c&&c.m(t,null),e.append(t,n),e.append(t,a),e.append(t,i)},p:e.noop,d(m){m&&e.detach(t),c&&c.d()}}}function re(l){let t;function n(c,m){return c[6]?$:Y}let a=n(l),i=a(l);return{c(){t=e.element("div"),i.c()},m(c,m){e.insert(c,t,m),i.m(t,null),l[26](t)},p(c,m){a===(a=n(c))&&i?i.p(c,m):(i.d(1),i=a(c),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(c){c&&e.detach(t),i.d(),l[26](null)}}}function ie(l,t,n){let a;e.component_subscribe(l,e.$format,r=>n(11,a=r));let{endpoint:i=""}=t,{cmsendpoint:c=""}=t,{env:m=""}=t,{session:f=""}=t,{playerid:_=""}=t,{lang:A="en"}=t,{selecteditem:y=""}=t,{userroles:h=""}=t,{clientstyling:b=""}=t,{clientstylingurl:u=""}=t,{mbsource:s}=t,{translationurl:d=""}=t,{activemenuitem:o=""}=t,v=!1,p=!1,w=!0,g,x=[],k,I=window.navigator.userAgent,D=e.getDevice(I)!=="PC",C="",F="";window.matchMedia("(min-width: 768px)");const U=()=>{fetch(d).then(M=>M.json()).then(M=>{Object.keys(M).forEach(P=>{H(P,M[P])})}).catch(M=>{console.error(M)})};Object.keys(W).forEach(r=>{H(r,W[r])});const E=r=>{if(r.data)switch(r.data.type){case"AccountMenuDetails":availableMenuItemsArray=r.data.accountMenuInfo;break;case"UserSessionID":n(0,f=r.data.session);break}},q=()=>{let r=e.getDevice(I);if(r)return r==="PC"?"dk":"mtWeb"},R=()=>{const r=new URL(`${c}/${A}/profile-menu?env=${m}`);r.searchParams.append("device",q()),fetch(r.href).then(M=>M.json()).then(M=>{n(7,x=M),B()}).catch(M=>{console.error("Error getting menu items",M)}).finally(()=>{n(23,v=!0)})},G=()=>{let r=new URL(`${i}/v1/player/${_}/profile`);r.searchParams.append("userRoles",h);let M={method:"GET",headers:{"X-SessionID":f}};fetch(r.href,M).then(P=>P.json()).then(P=>{n(9,C=P.username),n(10,F=P.email)},P=>{console.error(P)}).finally(()=>{n(24,p=!0)})},L=r=>{window.postMessage({type:"ChangeAccountPage",page:r},window.location.href),n(8,k=r.id)},B=()=>{var r;n(8,k=(r=x.find(M=>M.path.includes(o)))==null?void 0:r.id)},N=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},V=()=>{K(A)},X=()=>{G()};e.onMount(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)}));const Z=r=>L(r);function J(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(5,g)})}return l.$$set=r=>{"endpoint"in r&&n(1,i=r.endpoint),"cmsendpoint"in r&&n(15,c=r.cmsendpoint),"env"in r&&n(16,m=r.env),"session"in r&&n(0,f=r.session),"playerid"in r&&n(17,_=r.playerid),"lang"in r&&n(18,A=r.lang),"selecteditem"in r&&n(19,y=r.selecteditem),"userroles"in r&&n(20,h=r.userroles),"clientstyling"in r&&n(2,b=r.clientstyling),"clientstylingurl"in r&&n(3,u=r.clientstylingurl),"mbsource"in r&&n(4,s=r.mbsource),"translationurl"in r&&n(21,d=r.translationurl),"activemenuitem"in r&&n(22,o=r.activemenuitem)},l.$$.update=()=>{l.$$.dirty[0]&25165824&&n(6,w=!v||!p),l.$$.dirty[0]&262144&&A&&V(),l.$$.dirty[0]&393219&&i&&f&&_&&A&&X(),l.$$.dirty[0]&360448&&c&&A&&m&&R(),l.$$.dirty[0]&4194304&&o&&B(),l.$$.dirty[0]&36&&b&&g&&e.setClientStyling(g,b),l.$$.dirty[0]&40&&u&&g&&e.setClientStylingURL(g,u),l.$$.dirty[0]&48&&s&&g&&e.setStreamStyling(g,`${s}.Style`),l.$$.dirty[0]&2097152&&d&&U()},[f,i,b,u,s,g,w,x,k,C,F,a,D,L,N,c,m,_,A,y,h,d,o,v,p,Z,J]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,re,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,selecteditem:19,userroles:20,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:21,activemenuitem:22},Q,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[16]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[17]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[19]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[20]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[22]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(j,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=j;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-CwfC_imT.cjs");function g(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:r=>`opacity: ${r*s}`}}function v(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function y(n){let e,i,l,s,r;const f=n[9].default,u=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),u&&u.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(a,c){t.insert(a,e,c),t.append(e,i),t.append(i,l),u&&u.m(l,null),n[10](i),n[11](e),r=!0},p(a,c){n=a,u&&u.p&&(!r||c&256)&&t.update_slot_base(u,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(a){r||(t.transition_in(u,a),a&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(a){t.transition_out(u,a),a&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(a){a&&t.detach(e),u&&u.d(a),n[10](null),a&&s&&s.end(),n[11](null)}}}function M(n){let e,i,l=n[0]&&y(n);return{c(){l&&l.c(),e=t.empty()},m(s,r){l&&l.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[0]?l?(l.p(s,r),r&1&&t.transition_in(l,1)):(l=y(s),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(s){i||(t.transition_in(l),i=!0)},o(s){t.transition_out(l),i=!1},d(s){s&&t.detach(e),l&&l.d(s)}}}function k(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:u=""}=e,{clientstylingurl:a=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function w(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,u=o.clientstyling),"clientstylingurl"in o&&i(5,a=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&u&&d&&t.setClientStyling(d,u),n.$$.dirty&36&&a&&d&&t.setClientStylingURL(d,a),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`)},[r,f,d,_,u,a,c,m,s,l,w,S]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,k,M,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},v)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { a2 as
|
|
2
|
-
function k(e, { delay: t = 0, duration: n = 400, easing: i =
|
|
1
|
+
import { a2 as A, S as H, i as U, f, c as W, s as j, b as q, F as B, k as L, L as m, M as w, _ as F, p as z, v as I, w as J, x as K, H as N, e as _, g as y, l as S, I as P, J as R, K as G, U as O, a3 as v, a0 as Q, z as M, A as T } from "./GeneralLogout-C6SVgUtg.js";
|
|
2
|
+
function k(e, { delay: t = 0, duration: n = 400, easing: i = A } = {}) {
|
|
3
3
|
const s = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
5
5
|
delay: t,
|
|
6
6
|
duration: n,
|
|
7
7
|
easing: i,
|
|
8
|
-
css: (
|
|
8
|
+
css: (a) => `opacity: ${a * s}`
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
function V(e) {
|
|
12
12
|
q(e, "svelte-126fglp", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}");
|
|
13
13
|
}
|
|
14
14
|
function C(e) {
|
|
15
|
-
let t, n, i, s,
|
|
15
|
+
let t, n, i, s, a;
|
|
16
16
|
const d = (
|
|
17
17
|
/*#slots*/
|
|
18
18
|
e[9].default
|
|
19
|
-
), r =
|
|
19
|
+
), r = N(
|
|
20
20
|
d,
|
|
21
21
|
e,
|
|
22
22
|
/*$$scope*/
|
|
@@ -27,18 +27,18 @@ function C(e) {
|
|
|
27
27
|
c() {
|
|
28
28
|
t = _("div"), n = _("div"), i = _("div"), r && r.c(), y(i, "class", "ModalContainer"), y(n, "class", "ModalWindow"), y(n, "id", "Modal");
|
|
29
29
|
},
|
|
30
|
-
m(
|
|
31
|
-
|
|
30
|
+
m(o, u) {
|
|
31
|
+
L(o, t, u), S(t, n), S(n, i), r && r.m(i, null), e[10](n), e[11](t), a = !0;
|
|
32
32
|
},
|
|
33
|
-
p(
|
|
34
|
-
e =
|
|
33
|
+
p(o, u) {
|
|
34
|
+
e = o, r && r.p && (!a || u & /*$$scope*/
|
|
35
35
|
256) && P(
|
|
36
36
|
r,
|
|
37
37
|
d,
|
|
38
38
|
e,
|
|
39
39
|
/*$$scope*/
|
|
40
40
|
e[8],
|
|
41
|
-
|
|
41
|
+
a ? G(
|
|
42
42
|
d,
|
|
43
43
|
/*$$scope*/
|
|
44
44
|
e[8],
|
|
@@ -51,22 +51,22 @@ function C(e) {
|
|
|
51
51
|
null
|
|
52
52
|
);
|
|
53
53
|
},
|
|
54
|
-
i(
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
i(o) {
|
|
55
|
+
a || (m(r, o), o && O(() => {
|
|
56
|
+
a && (s || (s = v(n, k, { transitionDuration: (
|
|
57
57
|
/*duration*/
|
|
58
58
|
e[1]
|
|
59
59
|
) }, !0)), s.run(1));
|
|
60
|
-
}),
|
|
60
|
+
}), a = !0);
|
|
61
61
|
},
|
|
62
|
-
o(
|
|
63
|
-
w(r,
|
|
62
|
+
o(o) {
|
|
63
|
+
w(r, o), o && (s || (s = v(n, k, { transitionDuration: (
|
|
64
64
|
/*duration*/
|
|
65
65
|
e[1]
|
|
66
|
-
) }, !1)), s.run(0)),
|
|
66
|
+
) }, !1)), s.run(0)), a = !1;
|
|
67
67
|
},
|
|
68
|
-
d(
|
|
69
|
-
|
|
68
|
+
d(o) {
|
|
69
|
+
o && z(t), r && r.d(o), e[10](null), o && s && s.end(), e[11](null);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
@@ -77,15 +77,15 @@ function X(e) {
|
|
|
77
77
|
);
|
|
78
78
|
return {
|
|
79
79
|
c() {
|
|
80
|
-
i && i.c(), t =
|
|
80
|
+
i && i.c(), t = B();
|
|
81
81
|
},
|
|
82
|
-
m(s,
|
|
83
|
-
i && i.m(s,
|
|
82
|
+
m(s, a) {
|
|
83
|
+
i && i.m(s, a), L(s, t, a), n = !0;
|
|
84
84
|
},
|
|
85
|
-
p(s, [
|
|
85
|
+
p(s, [a]) {
|
|
86
86
|
/*show*/
|
|
87
|
-
s[0] ? i ? (i.p(s,
|
|
88
|
-
1 && m(i, 1)) : (i = C(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (
|
|
87
|
+
s[0] ? i ? (i.p(s, a), a & /*show*/
|
|
88
|
+
1 && m(i, 1)) : (i = C(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (Q(), w(i, 1, 1, () => {
|
|
89
89
|
i = null;
|
|
90
90
|
}), F());
|
|
91
91
|
},
|
|
@@ -96,49 +96,49 @@ function X(e) {
|
|
|
96
96
|
w(i), n = !1;
|
|
97
97
|
},
|
|
98
98
|
d(s) {
|
|
99
|
-
s &&
|
|
99
|
+
s && z(t), i && i.d(s);
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
function Y(e, t, n) {
|
|
104
|
-
let { $$slots: i = {}, $$scope: s } = t, { show:
|
|
104
|
+
let { $$slots: i = {}, $$scope: s } = t, { show: a = !1 } = t, { duration: d = 350 } = t, { clientstyling: r = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: u } = t, { showmodaleventname: g = "ShowLimitsConfirmationModal" } = t, c, h;
|
|
105
105
|
const b = (l) => {
|
|
106
106
|
switch (l.data.type) {
|
|
107
107
|
case "ModalClosed":
|
|
108
|
-
n(0,
|
|
108
|
+
n(0, a = !1);
|
|
109
109
|
break;
|
|
110
110
|
case g:
|
|
111
|
-
n(0,
|
|
111
|
+
n(0, a = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
|
|
112
112
|
break;
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
|
-
|
|
115
|
+
I(() => (window.addEventListener("message", b, !1), () => {
|
|
116
116
|
window.removeEventListener("message", b);
|
|
117
117
|
}));
|
|
118
118
|
function D(l) {
|
|
119
|
-
|
|
119
|
+
M[l ? "unshift" : "push"](() => {
|
|
120
120
|
h = l, n(3, h);
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
123
|
function E(l) {
|
|
124
|
-
|
|
124
|
+
M[l ? "unshift" : "push"](() => {
|
|
125
125
|
c = l, n(2, c);
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
128
|
return e.$$set = (l) => {
|
|
129
|
-
"show" in l && n(0,
|
|
129
|
+
"show" in l && n(0, a = l.show), "duration" in l && n(1, d = l.duration), "clientstyling" in l && n(4, r = l.clientstyling), "clientstylingurl" in l && n(5, o = l.clientstylingurl), "mbsource" in l && n(6, u = l.mbsource), "showmodaleventname" in l && n(7, g = l.showmodaleventname), "$$scope" in l && n(8, s = l.$$scope);
|
|
130
130
|
}, e.$$.update = () => {
|
|
131
131
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
132
|
-
20 && r && c &&
|
|
133
|
-
36 &&
|
|
134
|
-
68 && u && c &&
|
|
132
|
+
20 && r && c && T(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
133
|
+
36 && o && c && J(c, o), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
134
|
+
68 && u && c && K(c, `${u}.Style`);
|
|
135
135
|
}, [
|
|
136
|
-
|
|
136
|
+
a,
|
|
137
137
|
d,
|
|
138
138
|
c,
|
|
139
139
|
h,
|
|
140
140
|
r,
|
|
141
|
-
|
|
141
|
+
o,
|
|
142
142
|
u,
|
|
143
143
|
g,
|
|
144
144
|
s,
|
|
@@ -147,14 +147,14 @@ function Y(e, t, n) {
|
|
|
147
147
|
E
|
|
148
148
|
];
|
|
149
149
|
}
|
|
150
|
-
class Z extends
|
|
150
|
+
class Z extends H {
|
|
151
151
|
constructor(t) {
|
|
152
|
-
super(),
|
|
152
|
+
super(), U(
|
|
153
153
|
this,
|
|
154
154
|
t,
|
|
155
155
|
Y,
|
|
156
156
|
X,
|
|
157
|
-
|
|
157
|
+
j,
|
|
158
158
|
{
|
|
159
159
|
show: 0,
|
|
160
160
|
duration: 1,
|
|
@@ -203,7 +203,7 @@ class Z extends j {
|
|
|
203
203
|
this.$$set({ showmodaleventname: t }), f();
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
|
|
206
|
+
W(Z, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
|
|
207
207
|
export {
|
|
208
208
|
Z as default
|
|
209
209
|
};
|