@everymatrix/player-account-controller 1.54.12 → 1.55.0
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-BW6b3iuS.cjs +8 -0
- package/components/{GeneralLogout-BO_iHKNr.js → GeneralLogout-DMvKimEo.js} +735 -713
- package/components/{GeneralLogout-CwSCMNgW.js → GeneralLogout-GS7gE3LI.js} +610 -588
- package/components/{PlayerAccountBettingHistory-Cb8OMNy9.cjs → PlayerAccountBettingHistory-BsFzBNDY.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-BoeZFFFu.js → PlayerAccountBettingHistory-DUgPRDra.js} +24 -24
- package/components/{PlayerAccountBettingHistory-C6G8D9gE.js → PlayerAccountBettingHistory-YNLbWHxl.js} +24 -24
- package/components/{PlayerAccountBiometrics-DbzqR4YB.cjs → PlayerAccountBiometrics-BrlNlZ5N.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-TQaVyCUp.js → PlayerAccountBiometrics-CARn4eVu.js} +26 -26
- package/components/{PlayerAccountBiometrics-C6n6AU67.js → PlayerAccountBiometrics-CXLK5_xT.js} +26 -26
- package/components/{PlayerAccountClosure-mb6TcNFj.js → PlayerAccountClosure-BQsYcTs7.js} +13 -13
- package/components/{PlayerAccountClosure-RO3lnj8F.js → PlayerAccountClosure-BkKcpa4J.js} +13 -13
- package/components/{PlayerAccountClosure-CoKkAlIq.cjs → PlayerAccountClosure-DfJc6Ip_.cjs} +1 -1
- package/components/{PlayerAccountController-B99YscRG.js → PlayerAccountController-5iMZlx1a.js} +128 -128
- package/components/{PlayerAccountController-C2q8ibgU.cjs → PlayerAccountController-7FPLehfk.cjs} +1 -1
- package/components/{PlayerAccountController-Nco62fa4.js → PlayerAccountController-BhRqOpNe.js} +126 -126
- package/components/{PlayerAccountGamingLimits-Bc6vqzq1.js → PlayerAccountGamingLimits-B2-Mgazd.js} +19 -19
- package/components/{PlayerAccountGamingLimits-DbX9_Kpb.cjs → PlayerAccountGamingLimits-BPQrptbd.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-DiyC185P.js → PlayerAccountGamingLimits-DwpArRnO.js} +19 -19
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BnOXTUlS.js → PlayerAccountGamingLimitsConfirmationModal-CNTlXu7V.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-x0MkZXMQ.js → PlayerAccountGamingLimitsConfirmationModal-DefxnTKN.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CnGLRHzu.cjs → PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-dprcKEZC.js → PlayerAccountGamingLimitsGroupEdit-CDY-ylK7.js} +51 -51
- package/components/{PlayerAccountGamingLimitsGroupEdit-Crmi-e6x.js → PlayerAccountGamingLimitsGroupEdit-Cj7PXLH2.js} +51 -51
- package/components/{PlayerAccountGamingLimitsGroupEdit-DYe0OoaG.cjs → PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2-DiAUM6kQ.js → PlayerAccountGamingLimitsHistory2-2NpX8p0k.js} +44 -44
- package/components/{PlayerAccountGamingLimitsHistory2-CS4fpWhH.cjs → PlayerAccountGamingLimitsHistory2-B_7Y0DgS.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-Dt9CSOvf.js → PlayerAccountGamingLimitsHistory2-DF8kvIf6.js} +46 -46
- package/components/{PlayerAccountGamingLimitsInfoCard-DFsD9RSx.cjs → PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-D9MKGXei.js → PlayerAccountGamingLimitsInfoCard-CNvQOw3A.js} +95 -95
- package/components/{PlayerAccountGamingLimitsInfoCard-Bd4vV7fT.js → PlayerAccountGamingLimitsInfoCard-D3sJXuZa.js} +95 -95
- package/components/{PlayerAccountGamingLimitsPage2Gm16-8-RWZDSp.cjs → PlayerAccountGamingLimitsPage2Gm16-BiFzgvUx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-C9VhT1ek.js → PlayerAccountGamingLimitsPage2Gm16-C7_DGAt1.js} +72 -72
- package/components/{PlayerAccountGamingLimitsPage2Gm16-WSk66pxJ.js → PlayerAccountGamingLimitsPage2Gm16-Dz6knJ_h.js} +122 -122
- package/components/{PlayerAccountGamingLimitsPopup-C2R4OzUK.js → PlayerAccountGamingLimitsPopup-BlCz3nIH.js} +17 -17
- package/components/{PlayerAccountGamingLimitsPopup-DLqNpo7V.js → PlayerAccountGamingLimitsPopup-Bt4YlCWi.js} +17 -17
- package/components/{PlayerAccountGamingLimitsPopup-zTXU7ohP.cjs → PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-D3NmPjvT.js → PlayerAccountGamingLimitsWrapper2-D3tW5CCc.js} +8 -8
- package/components/{PlayerAccountGamingLimitsWrapper2-CXP2X7Lk.cjs → PlayerAccountGamingLimitsWrapper2-Dg6CwNyN.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-Cr1xbzbX.js → PlayerAccountGamingLimitsWrapper2-RnvNKSgN.js} +8 -8
- package/components/{PlayerAccountGeneralConfirmationModal-CnGS36kY.cjs → PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BrcO0n_o.js → PlayerAccountGeneralConfirmationModal-D3u9X3Q6.js} +39 -39
- package/components/{PlayerAccountGeneralConfirmationModal-DHuSzGQn.js → PlayerAccountGeneralConfirmationModal-SjPp-PVG.js} +39 -39
- package/components/{PlayerAccountMenu-VCDFEkVV.js → PlayerAccountMenu-5esyJ_VN.js} +20 -20
- package/components/{PlayerAccountMenu-kULPvwXH.cjs → PlayerAccountMenu-C704oUrC.cjs} +1 -1
- package/components/{PlayerAccountMenu-Bnj75Pyr.js → PlayerAccountMenu-DgptA72k.js} +17 -17
- package/components/{PlayerAccountModal-BGNjm-FU.js → PlayerAccountModal-BnWL5726.js} +28 -28
- package/components/{PlayerAccountModal-DLxnK5Aq.cjs → PlayerAccountModal-C7aZZlBw.cjs} +1 -1
- package/components/{PlayerAccountModal-d2eY7pgp.js → PlayerAccountModal-CbLpkfXY.js} +28 -28
- package/components/{PlayerAccountNotifications-BkPn9o0x.js → PlayerAccountNotifications-B02Ownhe.js} +16 -16
- package/components/{PlayerAccountNotifications-DwHaboef.js → PlayerAccountNotifications-C-lyz5dM.js} +16 -16
- package/components/{PlayerAccountNotifications-DLpnh54-.cjs → PlayerAccountNotifications-DkgHtUGj.cjs} +1 -1
- package/components/PlayerAccountSelfExclusion-BS89T7sZ.cjs +4171 -0
- package/components/{PlayerAccountSelfExclusion-Dsc1c5ET.js → PlayerAccountSelfExclusion-BkK_LRpi.js} +9840 -9439
- package/components/{PlayerAccountSelfExclusion-C-Gq5xhb.js → PlayerAccountSelfExclusion-D6Kby-08.js} +9320 -8965
- package/components/{PlayerAccountTimeout-DX8TE-kL.cjs → PlayerAccountTimeout-DMbUPtRy.cjs} +1 -1
- package/components/{PlayerAccountTimeout-DPGSPm6O.js → PlayerAccountTimeout-DWNG3Mes.js} +25 -25
- package/components/{PlayerAccountTimeout-BrX6tkl3.js → PlayerAccountTimeout-tPNVqlAT.js} +25 -25
- package/components/PlayerActiveBonuses-B9jz3QD8.cjs +1 -0
- package/components/{PlayerActiveBonuses-DZ1TuekM.js → PlayerActiveBonuses-SCbHFBuw.js} +392 -443
- package/components/{PlayerActiveBonuses-WBu-rYFj.js → PlayerActiveBonuses-dRIcHoZG.js} +415 -466
- package/components/{PlayerBonusCard-BtSC36hN.js → PlayerBonusCard-8uOU9OLG.js} +50 -50
- package/components/{PlayerBonusCard-DqHyFS9o.cjs → PlayerBonusCard-BC8FfHZz.cjs} +1 -1
- package/components/{PlayerBonusCard-Ci1k7NFv.js → PlayerBonusCard-Cppd6wFF.js} +50 -50
- package/components/{PlayerBonusHistory-C7m0o7Yl.js → PlayerBonusHistory-44sPM1i7.js} +30 -30
- package/components/{PlayerBonusHistory-D-qDx10G.cjs → PlayerBonusHistory-D2YSJiqi.cjs} +1 -1
- package/components/{PlayerBonusHistory-DDNLaEBO.js → PlayerBonusHistory-DWvXjCPO.js} +30 -30
- package/components/{PlayerChangePassword-B4VW3taV.cjs → PlayerChangePassword-CzR4Xz0H.cjs} +1 -1
- package/components/{PlayerChangePassword-Bhfh3D2M.js → PlayerChangePassword-N_UEFJNT.js} +103 -103
- package/components/{PlayerChangePassword-Dk7vlEEM.js → PlayerChangePassword-OM9U8MSx.js} +103 -103
- package/components/PlayerDeposit-CwMvcnsj.js +414 -0
- package/components/PlayerDeposit-D_78W5GC.cjs +1 -0
- package/components/PlayerDeposit-Q2N0Y2_v.js +414 -0
- package/components/{PlayerGamingHistory-CaYFZtwD.js → PlayerGamingHistory-BLQD-WyT.js} +54 -54
- package/components/{PlayerGamingHistory-CcFH-mIk.cjs → PlayerGamingHistory-DRkPp9aG.cjs} +1 -1
- package/components/{PlayerGamingHistory-BPF2pyCO.js → PlayerGamingHistory-XiAb60Gu.js} +59 -59
- package/components/{PlayerPendingWithdrawals-BvhoX5n1.cjs → PlayerPendingWithdrawals-BG3I8ifu.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DQ_Nh38H.js → PlayerPendingWithdrawals-BSTgce9H.js} +33 -33
- package/components/{PlayerPendingWithdrawals-DabTg_Hg.js → PlayerPendingWithdrawals-BsCRRPqb.js} +33 -33
- package/components/{PlayerProfileInfo-D7thO7JS.js → PlayerProfileInfo-C7zRlD3p.js} +45 -45
- package/components/{PlayerProfileInfo-DQflJzdX.cjs → PlayerProfileInfo-CGsJydqv.cjs} +1 -1
- package/components/{PlayerProfileInfo-AEY5xCAX.js → PlayerProfileInfo-zmbAMe_l.js} +45 -45
- package/components/{PlayerRealityCheck-6ZyJUl5U.js → PlayerRealityCheck-A_mZq3YZ.js} +27 -27
- package/components/{PlayerRealityCheck-DMI_8YfG.cjs → PlayerRealityCheck-C26ZBWae.cjs} +1 -1
- package/components/{PlayerRealityCheck-CzPyJQgR.js → PlayerRealityCheck-D7u9BzPV.js} +26 -26
- package/components/{PlayerTransactionHistory-Dj8ABxFp.cjs → PlayerTransactionHistory-CJqhYnbs.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CSK3J3Na.js → PlayerTransactionHistory-DllIB_qE.js} +23 -23
- package/components/{PlayerTransactionHistory-DmTfwUdw.js → PlayerTransactionHistory-DsRmd4u6.js} +23 -23
- package/components/{PlayerWithdrawal-BrqShTsy.js → PlayerWithdrawal-CGSnHppy.js} +20 -20
- package/components/{PlayerWithdrawal-BwymNFiL.cjs → PlayerWithdrawal-GDc_7hZX.cjs} +1 -1
- package/components/{PlayerWithdrawal-ct79yXDc.js → PlayerWithdrawal-t5mlX5CD.js} +20 -20
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_9-9b62GyCW.js → checkbox-group-input_9-Cny9rOs9.js} +2490 -3376
- package/stencil/{checkbox-group-input_9-BDryW6Wx.js → checkbox-group-input_9-DZvX2H_r.js} +2434 -3306
- package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +2104 -0
- package/stencil/{general-input-BXIgsD0E.js → general-input-Yj_LRx0v.js} +6 -6
- package/stencil/{general-input-CwyM4h8z.js → general-input-d5RULL12.js} +6 -6
- package/stencil/general-input-igTYIJ6W.cjs +1 -0
- package/stencil/index-0437c9c0-BwGFk0Yq.js +565 -0
- package/stencil/index-0437c9c0-C_oD9Yfn.js +592 -0
- package/stencil/index-0437c9c0-oCxuDVFQ.cjs +1 -0
- package/stencil/index-657e7a14-B7-RqEpB.js +572 -0
- package/stencil/index-657e7a14-CrrA_w_5.cjs +1 -0
- package/stencil/index-657e7a14-DW4SbCqy.js +588 -0
- package/stencil/index-72d2f0c7--qtpsDOz.js +642 -0
- package/stencil/index-72d2f0c7-DldCMjBJ.cjs +1 -0
- package/stencil/index-72d2f0c7-DyMEJXra.js +626 -0
- package/stencil/index-e8249896-BjtvOmsZ.cjs +1 -0
- package/stencil/index-e8249896-CM_igLvD.js +658 -0
- package/stencil/index-e8249896-DW1YiUqn.js +631 -0
- package/stencil/password-input_2-CHOu4hgw.js +1420 -0
- package/stencil/password-input_2-DQAgV1SZ.cjs +896 -0
- package/stencil/password-input_2-DaiHlKbQ.js +1420 -0
- package/stencil/{player-change-password-gm2-2de114b8-j-W8UbVm.cjs → player-change-password-gm2-780eb445-CdItmoKI.cjs} +1 -1
- package/stencil/{player-change-password-gm2-2de114b8-BXdScOXy.js → player-change-password-gm2-780eb445-Cg8Z75Vz.js} +3 -3
- package/stencil/{player-change-password-gm2-2de114b8-D375sYxZ.js → player-change-password-gm2-780eb445-DEjz9Jjk.js} +3 -3
- package/stencil/{player-change-password-gm2-DLw7pfT_.cjs → player-change-password-gm2-BR82_Y4L.cjs} +1 -1
- package/stencil/{player-change-password-gm2-BDCYchnQ.js → player-change-password-gm2-DlMNv4hv.js} +1 -1
- package/stencil/{player-change-password-gm2-CQtvRl58.js → player-change-password-gm2-FHUeecdE.js} +1 -1
- package/stencil/{player-kyc-verification-KcMUMtzd.js → player-kyc-verification-CZy8RShe.js} +43 -43
- package/stencil/{player-kyc-verification-BZX3owFI.js → player-kyc-verification-DuUII5AF.js} +39 -39
- package/stencil/{player-kyc-verification-CnOn9bB_.cjs → player-kyc-verification-DxpMnJ6t.cjs} +2 -2
- package/stencil/{toggle-checkbox-input-BqotLJuA.js → toggle-checkbox-input-Co64_7cm.js} +7 -7
- package/stencil/{toggle-checkbox-input-DFpk-vL2.js → toggle-checkbox-input-ErX2Ngat.js} +7 -7
- package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +1 -0
- package/stencil/{user-deposit-withdrawal-BZXlCCQr.cjs → user-deposit-withdrawal-Cum51n64.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-6RE0dcHP.js → user-deposit-withdrawal-DRo4MaOR.js} +24 -24
- package/stencil/{user-deposit-withdrawal-D7AuBXPO.js → user-deposit-withdrawal-DsEm--6b.js} +24 -24
- package/stencil/{user-transaction-history-DW482EoT.js → user-transaction-history-BpBJPUwq.js} +10 -10
- package/stencil/{user-transaction-history-CLdEzp7O.cjs → user-transaction-history-C3_7vgUY.cjs} +1 -1
- package/stencil/{user-transaction-history-CtDvqHoF.js → user-transaction-history-ClGHRdoQ.js} +7 -7
- package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +3018 -0
- package/stencil/{vaadin-button-mixin-b8087c3c-DMeIIR12.js → vaadin-button-6001b2a6-CZwj1qjO.js} +5818 -5228
- package/stencil/{vaadin-button-mixin-b8087c3c-DTenw4S9.js → vaadin-button-6001b2a6-Dqz5Vp8D.js} +3935 -3299
- package/components/GeneralLogout-CMYMtWfC.cjs +0 -8
- package/components/PlayerAccountSelfExclusion-Dlkeebgy.cjs +0 -3557
- package/components/PlayerActiveBonuses-T1itpvjq.cjs +0 -1
- package/components/PlayerDeposit-B04mpHHT.js +0 -395
- package/components/PlayerDeposit-CH0pw_GN.cjs +0 -1
- package/components/PlayerDeposit-DJXOEJyq.js +0 -395
- package/stencil/checkbox-group-input_9-B0JD93gn.cjs +0 -2045
- package/stencil/general-input-BL1L8PI-.cjs +0 -1
- package/stencil/index-0a27499c-BaAMIKJI.js +0 -724
- package/stencil/index-0a27499c-DaAhyku1.js +0 -697
- package/stencil/index-0a27499c-vG7Av-0V.cjs +0 -1
- package/stencil/index-1d58b17d-BREebYgt.js +0 -658
- package/stencil/index-1d58b17d-CY3tvLdR.js +0 -631
- package/stencil/index-1d58b17d-oagDV-gC.cjs +0 -1
- package/stencil/index-45f4006f-CL2s7me-.cjs +0 -1
- package/stencil/index-45f4006f-D9GyS-vs.js +0 -638
- package/stencil/index-45f4006f-DKAxZFDZ.js +0 -654
- package/stencil/index-92b64862-Bnmv00O2.js +0 -708
- package/stencil/index-92b64862-CK1ANWGa.cjs +0 -1
- package/stencil/index-92b64862-CO3_TP5h.js +0 -692
- package/stencil/password-input_2-B5ePukhS.js +0 -569
- package/stencil/password-input_2-D3ziy4Iu.cjs +0 -105
- package/stencil/password-input_2-ZN0C3aqj.js +0 -569
- package/stencil/toggle-checkbox-input-n5b3s-CU.cjs +0 -1
- package/stencil/vaadin-button-mixin-b8087c3c-BzMgQwsM.cjs +0 -2385
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ae, $ as ie, S as ce, i as se,
|
|
1
|
+
import { a as ae, $ as ie, S as ce, i as se, f as F, c as ue, s as me, b as ye, e as v, k as T, o as D, p as E, q as ge, u as O, v as pe, x as de, y as fe, K as R, d as k, t as H, g as s, l as a, n as z, L as he, w as L, m as W, r as Ae, j as P, X as q } from "./GeneralLogout-DMvKimEo.js";
|
|
2
2
|
function N(n, e) {
|
|
3
3
|
ae(n, e);
|
|
4
4
|
}
|
|
@@ -52,12 +52,12 @@ if (typeof window != "undefined") {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-
|
|
55
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-DMvKimEo.js").then((e) => e.a4).then(({ default: e }) => {
|
|
56
56
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
function Pe(n) {
|
|
60
|
-
|
|
60
|
+
ye(n, "svelte-g6nv6v", ".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.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:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size: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:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B)}.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)}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.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:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;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}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}");
|
|
61
61
|
}
|
|
62
62
|
function X(n, e, t) {
|
|
63
63
|
const o = n.slice();
|
|
@@ -96,7 +96,7 @@ function be(n) {
|
|
|
96
96
|
n[10] ? "PlayerAccountTabletContainer" : ""));
|
|
97
97
|
},
|
|
98
98
|
m(i, I) {
|
|
99
|
-
|
|
99
|
+
T(i, e, I), a(e, t), M && M.m(t, null), a(t, o), a(t, r), a(r, y), a(t, m), a(t, p), a(p, A), a(t, w), g && g.m(t, null), a(e, b), a(e, f);
|
|
100
100
|
for (let d = 0; d < u.length; d += 1)
|
|
101
101
|
u[d] && u[d].m(f, null);
|
|
102
102
|
a(e, _), C && C.m(e, null);
|
|
@@ -135,7 +135,7 @@ function be(n) {
|
|
|
135
135
|
i[10] || C.p(i, I);
|
|
136
136
|
},
|
|
137
137
|
d(i) {
|
|
138
|
-
i &&
|
|
138
|
+
i && E(e), M && M.d(), g && g.d(), he(u, i), C && C.d();
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
}
|
|
@@ -149,7 +149,7 @@ function we(n) {
|
|
|
149
149
|
e = v("div"), t = L("svg"), o = L("defs"), r = L("style"), y = H(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = L("g"), p = L("g"), A = L("path"), w = k(), b = v("h3"), _ = H(f), s(A, "class", "aaa"), s(A, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(A, "transform", "translate(15 15) rotate(180)"), s(p, "transform", "translate(20 158)"), s(m, "transform", "translate(-20 -158)"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(t, "width", "15"), s(t, "height", "15"), s(t, "viewBox", "0 0 15 15"), s(b, "class", "PlayerAccountMenuCategoryTitle"), s(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
150
150
|
},
|
|
151
151
|
m(c, u) {
|
|
152
|
-
|
|
152
|
+
T(c, e, u), a(e, t), a(t, o), a(o, r), a(r, y), a(t, m), a(m, p), a(p, A), a(e, w), a(e, b), a(b, _), M || (g = [
|
|
153
153
|
W(
|
|
154
154
|
t,
|
|
155
155
|
"click",
|
|
@@ -170,7 +170,7 @@ function we(n) {
|
|
|
170
170
|
c[9]("title") + "") && z(_, f);
|
|
171
171
|
},
|
|
172
172
|
d(c) {
|
|
173
|
-
c &&
|
|
173
|
+
c && E(e), M = !1, Ae(g);
|
|
174
174
|
}
|
|
175
175
|
};
|
|
176
176
|
}
|
|
@@ -201,7 +201,7 @@ function ve(n) {
|
|
|
201
201
|
), s(e, "class", "PlayerAccountLogOutArea");
|
|
202
202
|
},
|
|
203
203
|
m(o, r) {
|
|
204
|
-
|
|
204
|
+
T(o, e, r), a(e, t);
|
|
205
205
|
},
|
|
206
206
|
p(o, r) {
|
|
207
207
|
r[0] & /*endpoint*/
|
|
@@ -231,7 +231,7 @@ function ve(n) {
|
|
|
231
231
|
);
|
|
232
232
|
},
|
|
233
233
|
d(o) {
|
|
234
|
-
o &&
|
|
234
|
+
o && E(e);
|
|
235
235
|
}
|
|
236
236
|
};
|
|
237
237
|
}
|
|
@@ -259,7 +259,7 @@ function K(n) {
|
|
|
259
259
|
n[10] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
260
260
|
},
|
|
261
261
|
m(g, c) {
|
|
262
|
-
|
|
262
|
+
T(g, e, c), a(e, t), a(t, o), a(t, y), a(t, m), a(m, A), a(e, w), f || (_ = W(e, "click", M), f = !0);
|
|
263
263
|
},
|
|
264
264
|
p(g, c) {
|
|
265
265
|
n = g, c[0] & /*menuItems*/
|
|
@@ -273,7 +273,7 @@ function K(n) {
|
|
|
273
273
|
n[10] ? "PlayerAccountMenuActiveItemBox" : "")) && s(e, "class", b);
|
|
274
274
|
},
|
|
275
275
|
d(g) {
|
|
276
|
-
g &&
|
|
276
|
+
g && E(e), f = !1, _();
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
279
|
}
|
|
@@ -304,7 +304,7 @@ function _e(n) {
|
|
|
304
304
|
), s(e, "class", "PlayerAccountLogOutArea");
|
|
305
305
|
},
|
|
306
306
|
m(o, r) {
|
|
307
|
-
|
|
307
|
+
T(o, e, r), a(e, t);
|
|
308
308
|
},
|
|
309
309
|
p(o, r) {
|
|
310
310
|
r[0] & /*endpoint*/
|
|
@@ -334,7 +334,7 @@ function _e(n) {
|
|
|
334
334
|
);
|
|
335
335
|
},
|
|
336
336
|
d(o) {
|
|
337
|
-
o &&
|
|
337
|
+
o && E(e);
|
|
338
338
|
}
|
|
339
339
|
};
|
|
340
340
|
}
|
|
@@ -349,7 +349,7 @@ function xe(n) {
|
|
|
349
349
|
e = v("div"), r.c();
|
|
350
350
|
},
|
|
351
351
|
m(y, m) {
|
|
352
|
-
|
|
352
|
+
T(y, e, m), r.m(e, null), n[22](e);
|
|
353
353
|
},
|
|
354
354
|
p(y, m) {
|
|
355
355
|
r.p(y, m);
|
|
@@ -357,13 +357,13 @@ function xe(n) {
|
|
|
357
357
|
i: D,
|
|
358
358
|
o: D,
|
|
359
359
|
d(y) {
|
|
360
|
-
y &&
|
|
360
|
+
y && E(e), r.d(), n[22](null);
|
|
361
361
|
}
|
|
362
362
|
};
|
|
363
363
|
}
|
|
364
364
|
function Ce(n, e, t) {
|
|
365
365
|
let o;
|
|
366
|
-
|
|
366
|
+
ge(n, fe, (l) => t(9, o = l));
|
|
367
367
|
let { endpoint: r = "" } = e, { cmsendpoint: y = "" } = e, { env: m = "" } = e, { session: p = "" } = e, { playerid: A = "" } = e, { lang: w = "en" } = e, { userroles: b = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: M = "" } = e, { activemenuitem: g = "" } = e, c, u = [], C, i = window.navigator.userAgent, I = O(i) !== "PC", d = "", B = "";
|
|
368
368
|
const Q = window.matchMedia("(min-width: 768px)"), V = () => {
|
|
369
369
|
fetch(M).then((h) => h.json()).then((h) => {
|
|
@@ -435,12 +435,12 @@ function Ce(n, e, t) {
|
|
|
435
435
|
);
|
|
436
436
|
});
|
|
437
437
|
};
|
|
438
|
-
|
|
438
|
+
pe(() => (window.addEventListener("message", S, !1), () => {
|
|
439
439
|
window.removeEventListener("message", S);
|
|
440
440
|
}));
|
|
441
441
|
const oe = (l) => U(l);
|
|
442
442
|
function re(l) {
|
|
443
|
-
|
|
443
|
+
de[l ? "unshift" : "push"](() => {
|
|
444
444
|
c = l, t(4, c);
|
|
445
445
|
});
|
|
446
446
|
}
|
|
@@ -488,7 +488,7 @@ class Ie extends ce {
|
|
|
488
488
|
e,
|
|
489
489
|
Ce,
|
|
490
490
|
xe,
|
|
491
|
-
|
|
491
|
+
me,
|
|
492
492
|
{
|
|
493
493
|
endpoint: 1,
|
|
494
494
|
cmsendpoint: 14,
|
|
@@ -573,7 +573,7 @@ class Ie extends ce {
|
|
|
573
573
|
this.$$set({ activemenuitem: e }), F();
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
|
|
576
|
+
ue(Ie, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
|
|
577
577
|
export {
|
|
578
578
|
Ie as default
|
|
579
579
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CMYMtWfC.cjs");function k(l,t){e.addMessages(l,t)}function Q(l){e.$locale.set(l)}const L={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(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-CMYMtWfC.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function V(l){e.append_styles(l,"svelte-g6nv6v",".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.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:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size: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:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B)}.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)}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.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:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;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}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}")}function T(l,t,n){const o=l.slice();return o[35]=t[n],o}function X(l){let t,n,o,r,m,u,d,h,M,A,y,P,_=l[10]&&Z(l),p=l[10]&&J(l),i=e.ensure_array_like(l[5]),s=[];for(let c=0;c<i.length;c+=1)s[c]=E(T(l,i,c));let v=!l[10]&&K(l);return{c(){t=e.element("div"),n=e.element("div"),_&&_.c(),o=e.space(),r=e.element("p"),m=e.text(l[7]),u=e.space(),d=e.element("p"),h=e.text(l[8]),M=e.space(),p&&p.c(),A=e.space(),y=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();P=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(d,"class","PlayerAccountMenuEmail"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[10]?"PlayerAccountMenuHeaderMobile":"")),e.attr(y,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[10]?"PlayerAccountMobileContainer":"")+" "+(l[11].matches&&l[10]?"PlayerAccountTabletContainer":""))},m(c,w){e.insert(c,t,w),e.append(t,n),_&&_.m(n,null),e.append(n,o),e.append(n,r),e.append(r,m),e.append(n,u),e.append(n,d),e.append(d,h),e.append(n,M),p&&p.m(n,null),e.append(t,A),e.append(t,y);for(let g=0;g<s.length;g+=1)s[g]&&s[g].m(y,null);e.append(t,P),v&&v.m(t,null)},p(c,w){if(c[10]&&_.p(c,w),w[0]&128&&e.set_data(m,c[7]),w[0]&256&&e.set_data(h,c[8]),c[10]&&p.p(c,w),w[0]&5216){i=e.ensure_array_like(c[5]);let g;for(g=0;g<i.length;g+=1){const x=T(c,i,g);s[g]?s[g].p(x,w):(s[g]=E(x),s[g].c(),s[g].m(y,null))}for(;g<s.length;g+=1)s[g].d(1);s.length=i.length}c[10]||v.p(c,w)},d(c){c&&e.detach(t),_&&_.d(),p&&p.d(),e.destroy_each(s,c),v&&v.d()}}}function Z(l){let t,n,o,r,m,u,d,h,M,A,y=l[9]("title")+"",P,_,p;return{c(){t=e.element("div"),n=e.svg_element("svg"),o=e.svg_element("defs"),r=e.svg_element("style"),m=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),u=e.svg_element("g"),d=e.svg_element("g"),h=e.svg_element("path"),M=e.space(),A=e.element("h3"),P=e.text(y),e.attr(h,"class","aaa"),e.attr(h,"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(h,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(u,"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(A,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(i,s){e.insert(i,t,s),e.append(t,n),e.append(n,o),e.append(o,r),e.append(r,m),e.append(n,u),e.append(u,d),e.append(d,h),e.append(t,M),e.append(t,A),e.append(A,P),_||(p=[e.listen(n,"click",l[13]),e.listen(A,"click",l[13])],_=!0)},p(i,s){s[0]&512&&y!==(y=i[9]("title")+"")&&e.set_data(P,y)},d(i){i&&e.detach(t),_=!1,e.run_all(p)}}}function J(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.attr(t,"class","PlayerAccountLogOutArea")},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",o[1]),r[0]&1&&e.set_custom_element_data(n,"session",o[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",o[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",o[3])},d(o){o&&e.detach(t)}}}function E(l){let t,n,o,r,m,u,d=l[35].label+"",h,M,A,y,P;function _(){return l[21](l[35])}return{c(){t=e.element("div"),n=e.element("p"),o=e.element("img"),m=e.space(),u=e.element("span"),h=e.text(d),M=e.space(),e.attr(o,"class","PlayerAccountMenuItemIcon "+(l[10]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(o.src,r=l[35].img)||e.attr(o,"src",r),e.attr(u,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",A="PlayerAccountMenuItemBox "+(l[6]===l[35].id&&!l[10]?"PlayerAccountMenuActiveItemBox":""))},m(p,i){e.insert(p,t,i),e.append(t,n),e.append(n,o),e.append(n,m),e.append(n,u),e.append(u,h),e.append(t,M),y||(P=e.listen(t,"click",_),y=!0)},p(p,i){l=p,i[0]&32&&!e.src_url_equal(o.src,r=l[35].img)&&e.attr(o,"src",r),i[0]&32&&d!==(d=l[35].label+"")&&e.set_data(h,d),i[0]&96&&A!==(A="PlayerAccountMenuItemBox "+(l[6]===l[35].id&&!l[10]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",A)},d(p){p&&e.detach(t),y=!1,P()}}}function K(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.attr(t,"class","PlayerAccountLogOutArea")},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",o[1]),r[0]&1&&e.set_custom_element_data(n,"session",o[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",o[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",o[3])},d(o){o&&e.detach(t)}}}function Y(l){let t;function n(m,u){return X}let r=n()(l);return{c(){t=e.element("div"),r.c()},m(m,u){e.insert(m,t,u),r.m(t,null),l[22](t)},p(m,u){r.p(m,u)},i:e.noop,o:e.noop,d(m){m&&e.detach(t),r.d(),l[22](null)}}}function $(l,t,n){let o;e.component_subscribe(l,e.$format,a=>n(9,o=a));let{endpoint:r=""}=t,{cmsendpoint:m=""}=t,{env:u=""}=t,{session:d=""}=t,{playerid:h=""}=t,{lang:M="en"}=t,{userroles:A=""}=t,{clientstyling:y=""}=t,{clientstylingurl:P=""}=t,{translationurl:_=""}=t,{activemenuitem:p=""}=t,i,s=[],v,c=window.navigator.userAgent,w=e.getDevice(c)!=="PC",g="",x="";const H=window.matchMedia("(min-width: 768px)"),z=()=>{fetch(_).then(f=>f.json()).then(f=>{Object.keys(f).forEach(b=>{k(b,f[b])})}).catch(f=>{console.error(f)})};Object.keys(L).forEach(a=>{k(a,L[a])});const C=a=>{if(a.data)switch(a.data.type){case"UserSessionID":n(0,d=a.data.session);break}},S=()=>{let a=e.getDevice(c);if(a)return a==="PC"?"dk":"mtWeb"},W=()=>{const a=new URL(`${m}/${M}/profile-menu?env=${u}`);a.searchParams.append("device",S()),fetch(a.href).then(f=>f.json()).then(f=>{n(5,s=f),F()}).catch(f=>{console.error("Error getting menu items",f)})},D=()=>{let a=new URL(`${r}/v1/player/${h}/profile`);a.searchParams.append("userRoles",A);let f={method:"GET",headers:{"X-SessionID":d}};fetch(a.href,f).then(b=>b.json()).then(b=>{n(7,g=b.username),n(8,x=b.email)},b=>{console.error(b)})},I=a=>{window.postMessage({type:"ChangeAccountPage",page:a},window.location.href),n(6,v=a.id)},F=()=>{var a;n(6,v=(a=s.find(f=>f.path.includes(p)))==null?void 0:a.id)},O=()=>{Q(M)},U=()=>{D()},j=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},R=()=>{let a=document.createElement("style");a.innerHTML=y,i.appendChild(a)},q=()=>{let a=new URL(P),f=document.createElement("style");fetch(a.href).then(b=>b.text()).then(b=>{f.innerHTML=b,setTimeout(()=>{i.appendChild(f)},1)})};e.onMount(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)}));const G=a=>I(a);function N(a){e.binding_callbacks[a?"unshift":"push"](()=>{i=a,n(4,i)})}return l.$$set=a=>{"endpoint"in a&&n(1,r=a.endpoint),"cmsendpoint"in a&&n(14,m=a.cmsendpoint),"env"in a&&n(15,u=a.env),"session"in a&&n(0,d=a.session),"playerid"in a&&n(16,h=a.playerid),"lang"in a&&n(17,M=a.lang),"userroles"in a&&n(18,A=a.userroles),"clientstyling"in a&&n(2,y=a.clientstyling),"clientstylingurl"in a&&n(3,P=a.clientstylingurl),"translationurl"in a&&n(19,_=a.translationurl),"activemenuitem"in a&&n(20,p=a.activemenuitem)},l.$$.update=()=>{l.$$.dirty[0]&131072&&M&&O(),l.$$.dirty[0]&196611&&r&&d&&h&&M&&U(),l.$$.dirty[0]&180224&&m&&M&&u&&W(),l.$$.dirty[0]&1048576&&p&&F(),l.$$.dirty[0]&24&&P&&i&&q(),l.$$.dirty[0]&20&&y&&i&&R(),l.$$.dirty[0]&524288&&_&&z()},[d,r,y,P,i,s,v,g,x,o,w,H,I,j,m,u,h,M,A,_,p,G,N]}class B extends e.SvelteComponent{constructor(t){super(),e.init(this,t,$,Y,e.safe_not_equal,{endpoint:1,cmsendpoint:14,env:15,session:0,playerid:16,lang:17,userroles:18,clientstyling:2,clientstylingurl:3,translationurl:19,activemenuitem:20},V,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[14]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[15]}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[16]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get userroles(){return this.$$.ctx[18]}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 translationurl(){return this.$$.ctx[19]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[20]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(B,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=B;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BW6b3iuS.cjs");function k(l,t){e.addMessages(l,t)}function Q(l){e.$locale.set(l)}const L={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(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-BW6b3iuS.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function V(l){e.append_styles(l,"svelte-g6nv6v",".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.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:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size: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:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B)}.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)}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.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:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;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}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}")}function T(l,t,n){const o=l.slice();return o[35]=t[n],o}function X(l){let t,n,o,r,m,u,d,h,M,A,y,P,_=l[10]&&Z(l),p=l[10]&&J(l),i=e.ensure_array_like(l[5]),s=[];for(let c=0;c<i.length;c+=1)s[c]=E(T(l,i,c));let v=!l[10]&&K(l);return{c(){t=e.element("div"),n=e.element("div"),_&&_.c(),o=e.space(),r=e.element("p"),m=e.text(l[7]),u=e.space(),d=e.element("p"),h=e.text(l[8]),M=e.space(),p&&p.c(),A=e.space(),y=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();P=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(d,"class","PlayerAccountMenuEmail"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[10]?"PlayerAccountMenuHeaderMobile":"")),e.attr(y,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[10]?"PlayerAccountMobileContainer":"")+" "+(l[11].matches&&l[10]?"PlayerAccountTabletContainer":""))},m(c,w){e.insert(c,t,w),e.append(t,n),_&&_.m(n,null),e.append(n,o),e.append(n,r),e.append(r,m),e.append(n,u),e.append(n,d),e.append(d,h),e.append(n,M),p&&p.m(n,null),e.append(t,A),e.append(t,y);for(let g=0;g<s.length;g+=1)s[g]&&s[g].m(y,null);e.append(t,P),v&&v.m(t,null)},p(c,w){if(c[10]&&_.p(c,w),w[0]&128&&e.set_data(m,c[7]),w[0]&256&&e.set_data(h,c[8]),c[10]&&p.p(c,w),w[0]&5216){i=e.ensure_array_like(c[5]);let g;for(g=0;g<i.length;g+=1){const x=T(c,i,g);s[g]?s[g].p(x,w):(s[g]=E(x),s[g].c(),s[g].m(y,null))}for(;g<s.length;g+=1)s[g].d(1);s.length=i.length}c[10]||v.p(c,w)},d(c){c&&e.detach(t),_&&_.d(),p&&p.d(),e.destroy_each(s,c),v&&v.d()}}}function Z(l){let t,n,o,r,m,u,d,h,M,A,y=l[9]("title")+"",P,_,p;return{c(){t=e.element("div"),n=e.svg_element("svg"),o=e.svg_element("defs"),r=e.svg_element("style"),m=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),u=e.svg_element("g"),d=e.svg_element("g"),h=e.svg_element("path"),M=e.space(),A=e.element("h3"),P=e.text(y),e.attr(h,"class","aaa"),e.attr(h,"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(h,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(u,"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(A,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(i,s){e.insert(i,t,s),e.append(t,n),e.append(n,o),e.append(o,r),e.append(r,m),e.append(n,u),e.append(u,d),e.append(d,h),e.append(t,M),e.append(t,A),e.append(A,P),_||(p=[e.listen(n,"click",l[13]),e.listen(A,"click",l[13])],_=!0)},p(i,s){s[0]&512&&y!==(y=i[9]("title")+"")&&e.set_data(P,y)},d(i){i&&e.detach(t),_=!1,e.run_all(p)}}}function J(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.attr(t,"class","PlayerAccountLogOutArea")},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",o[1]),r[0]&1&&e.set_custom_element_data(n,"session",o[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",o[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",o[3])},d(o){o&&e.detach(t)}}}function E(l){let t,n,o,r,m,u,d=l[35].label+"",h,M,A,y,P;function _(){return l[21](l[35])}return{c(){t=e.element("div"),n=e.element("p"),o=e.element("img"),m=e.space(),u=e.element("span"),h=e.text(d),M=e.space(),e.attr(o,"class","PlayerAccountMenuItemIcon "+(l[10]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(o.src,r=l[35].img)||e.attr(o,"src",r),e.attr(u,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",A="PlayerAccountMenuItemBox "+(l[6]===l[35].id&&!l[10]?"PlayerAccountMenuActiveItemBox":""))},m(p,i){e.insert(p,t,i),e.append(t,n),e.append(n,o),e.append(n,m),e.append(n,u),e.append(u,h),e.append(t,M),y||(P=e.listen(t,"click",_),y=!0)},p(p,i){l=p,i[0]&32&&!e.src_url_equal(o.src,r=l[35].img)&&e.attr(o,"src",r),i[0]&32&&d!==(d=l[35].label+"")&&e.set_data(h,d),i[0]&96&&A!==(A="PlayerAccountMenuItemBox "+(l[6]===l[35].id&&!l[10]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",A)},d(p){p&&e.detach(t),y=!1,P()}}}function K(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.attr(t,"class","PlayerAccountLogOutArea")},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",o[1]),r[0]&1&&e.set_custom_element_data(n,"session",o[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",o[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",o[3])},d(o){o&&e.detach(t)}}}function Y(l){let t;function n(m,u){return X}let r=n()(l);return{c(){t=e.element("div"),r.c()},m(m,u){e.insert(m,t,u),r.m(t,null),l[22](t)},p(m,u){r.p(m,u)},i:e.noop,o:e.noop,d(m){m&&e.detach(t),r.d(),l[22](null)}}}function $(l,t,n){let o;e.component_subscribe(l,e.$format,a=>n(9,o=a));let{endpoint:r=""}=t,{cmsendpoint:m=""}=t,{env:u=""}=t,{session:d=""}=t,{playerid:h=""}=t,{lang:M="en"}=t,{userroles:A=""}=t,{clientstyling:y=""}=t,{clientstylingurl:P=""}=t,{translationurl:_=""}=t,{activemenuitem:p=""}=t,i,s=[],v,c=window.navigator.userAgent,w=e.getDevice(c)!=="PC",g="",x="";const H=window.matchMedia("(min-width: 768px)"),z=()=>{fetch(_).then(f=>f.json()).then(f=>{Object.keys(f).forEach(b=>{k(b,f[b])})}).catch(f=>{console.error(f)})};Object.keys(L).forEach(a=>{k(a,L[a])});const C=a=>{if(a.data)switch(a.data.type){case"UserSessionID":n(0,d=a.data.session);break}},S=()=>{let a=e.getDevice(c);if(a)return a==="PC"?"dk":"mtWeb"},W=()=>{const a=new URL(`${m}/${M}/profile-menu?env=${u}`);a.searchParams.append("device",S()),fetch(a.href).then(f=>f.json()).then(f=>{n(5,s=f),F()}).catch(f=>{console.error("Error getting menu items",f)})},D=()=>{let a=new URL(`${r}/v1/player/${h}/profile`);a.searchParams.append("userRoles",A);let f={method:"GET",headers:{"X-SessionID":d}};fetch(a.href,f).then(b=>b.json()).then(b=>{n(7,g=b.username),n(8,x=b.email)},b=>{console.error(b)})},I=a=>{window.postMessage({type:"ChangeAccountPage",page:a},window.location.href),n(6,v=a.id)},F=()=>{var a;n(6,v=(a=s.find(f=>f.path.includes(p)))==null?void 0:a.id)},O=()=>{Q(M)},U=()=>{D()},j=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},R=()=>{let a=document.createElement("style");a.innerHTML=y,i.appendChild(a)},q=()=>{let a=new URL(P),f=document.createElement("style");fetch(a.href).then(b=>b.text()).then(b=>{f.innerHTML=b,setTimeout(()=>{i.appendChild(f)},1)})};e.onMount(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)}));const G=a=>I(a);function N(a){e.binding_callbacks[a?"unshift":"push"](()=>{i=a,n(4,i)})}return l.$$set=a=>{"endpoint"in a&&n(1,r=a.endpoint),"cmsendpoint"in a&&n(14,m=a.cmsendpoint),"env"in a&&n(15,u=a.env),"session"in a&&n(0,d=a.session),"playerid"in a&&n(16,h=a.playerid),"lang"in a&&n(17,M=a.lang),"userroles"in a&&n(18,A=a.userroles),"clientstyling"in a&&n(2,y=a.clientstyling),"clientstylingurl"in a&&n(3,P=a.clientstylingurl),"translationurl"in a&&n(19,_=a.translationurl),"activemenuitem"in a&&n(20,p=a.activemenuitem)},l.$$.update=()=>{l.$$.dirty[0]&131072&&M&&O(),l.$$.dirty[0]&196611&&r&&d&&h&&M&&U(),l.$$.dirty[0]&180224&&m&&M&&u&&W(),l.$$.dirty[0]&1048576&&p&&F(),l.$$.dirty[0]&24&&P&&i&&q(),l.$$.dirty[0]&20&&y&&i&&R(),l.$$.dirty[0]&524288&&_&&z()},[d,r,y,P,i,s,v,g,x,o,w,H,I,j,m,u,h,M,A,_,p,G,N]}class B extends e.SvelteComponent{constructor(t){super(),e.init(this,t,$,Y,e.safe_not_equal,{endpoint:1,cmsendpoint:14,env:15,session:0,playerid:16,lang:17,userroles:18,clientstyling:2,clientstylingurl:3,translationurl:19,activemenuitem:20},V,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[14]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[15]}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[16]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get userroles(){return this.$$.ctx[18]}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 translationurl(){return this.$$.ctx[19]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[20]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(B,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=B;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ae, $ as ie, S as ce, i as se, f as F,
|
|
1
|
+
import { a as ae, $ as ie, S as ce, i as se, f as F, c as ue, s as me, b as ye, e as v, k as T, o as D, p as E, q as ge, u as O, v as pe, x as de, y as fe, K as R, d as k, t as H, g as s, l as a, n as z, L as he, w as L, m as W, r as Ae, j as M, X as q } from "./GeneralLogout-GS7gE3LI.js";
|
|
2
2
|
function N(n, e) {
|
|
3
3
|
ae(n, e);
|
|
4
4
|
}
|
|
@@ -52,7 +52,7 @@ if (typeof window < "u") {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-
|
|
55
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-GS7gE3LI.js").then((e) => e.a4).then(({ default: e }) => {
|
|
56
56
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
57
57
|
});
|
|
58
58
|
}
|
|
@@ -96,7 +96,7 @@ function be(n) {
|
|
|
96
96
|
n[10] ? "PlayerAccountTabletContainer" : ""));
|
|
97
97
|
},
|
|
98
98
|
m(i, I) {
|
|
99
|
-
|
|
99
|
+
T(i, e, I), a(e, t), A && A.m(t, null), a(t, o), a(t, r), a(r, y), a(t, m), a(t, p), a(p, h), a(t, w), g && g.m(t, null), a(e, P), a(e, f);
|
|
100
100
|
for (let d = 0; d < u.length; d += 1)
|
|
101
101
|
u[d] && u[d].m(f, null);
|
|
102
102
|
a(e, _), C && C.m(e, null);
|
|
@@ -135,7 +135,7 @@ function be(n) {
|
|
|
135
135
|
i[10] || C.p(i, I);
|
|
136
136
|
},
|
|
137
137
|
d(i) {
|
|
138
|
-
i &&
|
|
138
|
+
i && E(e), A && A.d(), g && g.d(), he(u, i), C && C.d();
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
}
|
|
@@ -149,7 +149,7 @@ function we(n) {
|
|
|
149
149
|
e = v("div"), t = L("svg"), o = L("defs"), r = L("style"), y = H(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = L("g"), p = L("g"), h = L("path"), w = k(), P = v("h3"), _ = H(f), s(h, "class", "aaa"), s(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(h, "transform", "translate(15 15) rotate(180)"), s(p, "transform", "translate(20 158)"), s(m, "transform", "translate(-20 -158)"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(t, "width", "15"), s(t, "height", "15"), s(t, "viewBox", "0 0 15 15"), s(P, "class", "PlayerAccountMenuCategoryTitle"), s(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
150
150
|
},
|
|
151
151
|
m(c, u) {
|
|
152
|
-
|
|
152
|
+
T(c, e, u), a(e, t), a(t, o), a(o, r), a(r, y), a(t, m), a(m, p), a(p, h), a(e, w), a(e, P), a(P, _), A || (g = [
|
|
153
153
|
W(
|
|
154
154
|
t,
|
|
155
155
|
"click",
|
|
@@ -170,7 +170,7 @@ function we(n) {
|
|
|
170
170
|
c[9]("title") + "") && z(_, f);
|
|
171
171
|
},
|
|
172
172
|
d(c) {
|
|
173
|
-
c &&
|
|
173
|
+
c && E(e), A = !1, Ae(g);
|
|
174
174
|
}
|
|
175
175
|
};
|
|
176
176
|
}
|
|
@@ -201,7 +201,7 @@ function ve(n) {
|
|
|
201
201
|
), s(e, "class", "PlayerAccountLogOutArea");
|
|
202
202
|
},
|
|
203
203
|
m(o, r) {
|
|
204
|
-
|
|
204
|
+
T(o, e, r), a(e, t);
|
|
205
205
|
},
|
|
206
206
|
p(o, r) {
|
|
207
207
|
r[0] & /*endpoint*/
|
|
@@ -231,7 +231,7 @@ function ve(n) {
|
|
|
231
231
|
);
|
|
232
232
|
},
|
|
233
233
|
d(o) {
|
|
234
|
-
o &&
|
|
234
|
+
o && E(e);
|
|
235
235
|
}
|
|
236
236
|
};
|
|
237
237
|
}
|
|
@@ -259,7 +259,7 @@ function K(n) {
|
|
|
259
259
|
n[10] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
260
260
|
},
|
|
261
261
|
m(g, c) {
|
|
262
|
-
|
|
262
|
+
T(g, e, c), a(e, t), a(t, o), a(t, y), a(t, m), a(m, h), a(e, w), f || (_ = W(e, "click", A), f = !0);
|
|
263
263
|
},
|
|
264
264
|
p(g, c) {
|
|
265
265
|
n = g, c[0] & /*menuItems*/
|
|
@@ -273,7 +273,7 @@ function K(n) {
|
|
|
273
273
|
n[10] ? "PlayerAccountMenuActiveItemBox" : "")) && s(e, "class", P);
|
|
274
274
|
},
|
|
275
275
|
d(g) {
|
|
276
|
-
g &&
|
|
276
|
+
g && E(e), f = !1, _();
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
279
|
}
|
|
@@ -304,7 +304,7 @@ function _e(n) {
|
|
|
304
304
|
), s(e, "class", "PlayerAccountLogOutArea");
|
|
305
305
|
},
|
|
306
306
|
m(o, r) {
|
|
307
|
-
|
|
307
|
+
T(o, e, r), a(e, t);
|
|
308
308
|
},
|
|
309
309
|
p(o, r) {
|
|
310
310
|
r[0] & /*endpoint*/
|
|
@@ -334,7 +334,7 @@ function _e(n) {
|
|
|
334
334
|
);
|
|
335
335
|
},
|
|
336
336
|
d(o) {
|
|
337
|
-
o &&
|
|
337
|
+
o && E(e);
|
|
338
338
|
}
|
|
339
339
|
};
|
|
340
340
|
}
|
|
@@ -349,7 +349,7 @@ function xe(n) {
|
|
|
349
349
|
e = v("div"), r.c();
|
|
350
350
|
},
|
|
351
351
|
m(y, m) {
|
|
352
|
-
|
|
352
|
+
T(y, e, m), r.m(e, null), n[22](e);
|
|
353
353
|
},
|
|
354
354
|
p(y, m) {
|
|
355
355
|
r.p(y, m);
|
|
@@ -357,13 +357,13 @@ function xe(n) {
|
|
|
357
357
|
i: D,
|
|
358
358
|
o: D,
|
|
359
359
|
d(y) {
|
|
360
|
-
y &&
|
|
360
|
+
y && E(e), r.d(), n[22](null);
|
|
361
361
|
}
|
|
362
362
|
};
|
|
363
363
|
}
|
|
364
364
|
function Ce(n, e, t) {
|
|
365
365
|
let o;
|
|
366
|
-
ge(n,
|
|
366
|
+
ge(n, fe, (l) => t(9, o = l));
|
|
367
367
|
let { endpoint: r = "" } = e, { cmsendpoint: y = "" } = e, { env: m = "" } = e, { session: p = "" } = e, { playerid: h = "" } = e, { lang: w = "en" } = e, { userroles: P = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: A = "" } = e, { activemenuitem: g = "" } = e, c, u = [], C, i = window.navigator.userAgent, I = O(i) !== "PC", d = "", B = "";
|
|
368
368
|
const Q = window.matchMedia("(min-width: 768px)"), V = () => {
|
|
369
369
|
fetch(A).then((b) => b.json()).then((b) => {
|
|
@@ -487,7 +487,7 @@ class Ie extends ce {
|
|
|
487
487
|
e,
|
|
488
488
|
Ce,
|
|
489
489
|
xe,
|
|
490
|
-
|
|
490
|
+
me,
|
|
491
491
|
{
|
|
492
492
|
endpoint: 1,
|
|
493
493
|
cmsendpoint: 14,
|
|
@@ -572,7 +572,7 @@ class Ie extends ce {
|
|
|
572
572
|
this.$$set({ activemenuitem: e }), F();
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
|
|
575
|
+
ue(Ie, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
|
|
576
576
|
export {
|
|
577
577
|
Ie as default
|
|
578
578
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Y as
|
|
2
|
-
function p(t, { delay: e = 0, duration: i = 400, easing: n =
|
|
1
|
+
import { Y as B, S as F, i as P, f, c as R, s as U, b as W, B as j, k as L, H as m, I as w, Z as q, p as E, v as A, D as G, e as _, g as y, l as M, E as I, F as N, G as Y, P as Z, _ as C, a0 as J, x as k } from "./GeneralLogout-DMvKimEo.js";
|
|
2
|
+
function p(t, { delay: e = 0, duration: i = 400, easing: n = B } = {}) {
|
|
3
3
|
const s = +getComputedStyle(t).opacity;
|
|
4
4
|
return {
|
|
5
5
|
delay: e,
|
|
@@ -9,14 +9,14 @@ function p(t, { delay: e = 0, duration: i = 400, easing: n = j } = {}) {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
function K(t) {
|
|
12
|
-
|
|
12
|
+
W(t, "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 S(t) {
|
|
15
15
|
let e, i, n, s, o;
|
|
16
16
|
const c = (
|
|
17
17
|
/*#slots*/
|
|
18
18
|
t[8].default
|
|
19
|
-
), r =
|
|
19
|
+
), r = G(
|
|
20
20
|
c,
|
|
21
21
|
t,
|
|
22
22
|
/*$$scope*/
|
|
@@ -28,23 +28,23 @@ function S(t) {
|
|
|
28
28
|
e = _("div"), i = _("div"), n = _("div"), r && r.c(), y(n, "class", "ModalContainer"), y(i, "class", "ModalWindow"), y(i, "id", "Modal");
|
|
29
29
|
},
|
|
30
30
|
m(a, u) {
|
|
31
|
-
|
|
31
|
+
L(a, e, u), M(e, i), M(i, n), r && r.m(n, null), t[9](i), t[10](e), o = !0;
|
|
32
32
|
},
|
|
33
33
|
p(a, u) {
|
|
34
34
|
t = a, r && r.p && (!o || u & /*$$scope*/
|
|
35
|
-
128) &&
|
|
35
|
+
128) && I(
|
|
36
36
|
r,
|
|
37
37
|
c,
|
|
38
38
|
t,
|
|
39
39
|
/*$$scope*/
|
|
40
40
|
t[7],
|
|
41
|
-
o ?
|
|
41
|
+
o ? Y(
|
|
42
42
|
c,
|
|
43
43
|
/*$$scope*/
|
|
44
44
|
t[7],
|
|
45
45
|
u,
|
|
46
46
|
null
|
|
47
|
-
) :
|
|
47
|
+
) : N(
|
|
48
48
|
/*$$scope*/
|
|
49
49
|
t[7]
|
|
50
50
|
),
|
|
@@ -52,21 +52,21 @@ function S(t) {
|
|
|
52
52
|
);
|
|
53
53
|
},
|
|
54
54
|
i(a) {
|
|
55
|
-
o || (m(r, a), a &&
|
|
56
|
-
o && (s || (s =
|
|
55
|
+
o || (m(r, a), a && Z(() => {
|
|
56
|
+
o && (s || (s = C(i, p, { transitionDuration: (
|
|
57
57
|
/*duration*/
|
|
58
58
|
t[1]
|
|
59
59
|
) }, !0)), s.run(1));
|
|
60
60
|
}), o = !0);
|
|
61
61
|
},
|
|
62
62
|
o(a) {
|
|
63
|
-
w(r, a), a && (s || (s =
|
|
63
|
+
w(r, a), a && (s || (s = C(i, p, { transitionDuration: (
|
|
64
64
|
/*duration*/
|
|
65
65
|
t[1]
|
|
66
66
|
) }, !1)), s.run(0)), o = !1;
|
|
67
67
|
},
|
|
68
68
|
d(a) {
|
|
69
|
-
a &&
|
|
69
|
+
a && E(e), r && r.d(a), t[9](null), a && s && s.end(), t[10](null);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
@@ -77,15 +77,15 @@ function O(t) {
|
|
|
77
77
|
);
|
|
78
78
|
return {
|
|
79
79
|
c() {
|
|
80
|
-
n && n.c(), e =
|
|
80
|
+
n && n.c(), e = j();
|
|
81
81
|
},
|
|
82
82
|
m(s, o) {
|
|
83
|
-
n && n.m(s, o),
|
|
83
|
+
n && n.m(s, o), L(s, e, o), i = !0;
|
|
84
84
|
},
|
|
85
85
|
p(s, [o]) {
|
|
86
86
|
/*show*/
|
|
87
87
|
s[0] ? n ? (n.p(s, o), o & /*show*/
|
|
88
|
-
1 && m(n, 1)) : (n = S(s), n.c(), m(n, 1), n.m(e.parentNode, e)) : n && (
|
|
88
|
+
1 && m(n, 1)) : (n = S(s), n.c(), m(n, 1), n.m(e.parentNode, e)) : n && (J(), w(n, 1, 1, () => {
|
|
89
89
|
n = null;
|
|
90
90
|
}), q());
|
|
91
91
|
},
|
|
@@ -96,7 +96,7 @@ function O(t) {
|
|
|
96
96
|
w(n), i = !1;
|
|
97
97
|
},
|
|
98
98
|
d(s) {
|
|
99
|
-
s &&
|
|
99
|
+
s && E(e), n && n.d(s);
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
}
|
|
@@ -115,25 +115,25 @@ function Q(t, e, i) {
|
|
|
115
115
|
let l = document.createElement("style");
|
|
116
116
|
l.innerHTML = r, d.appendChild(l);
|
|
117
117
|
}, H = () => {
|
|
118
|
-
let l = new URL(a),
|
|
118
|
+
let l = new URL(a), v = document.createElement("style");
|
|
119
119
|
fetch(l.href).then((g) => g.text()).then((g) => {
|
|
120
|
-
|
|
120
|
+
v.innerHTML = g, setTimeout(
|
|
121
121
|
() => {
|
|
122
|
-
d.appendChild(
|
|
122
|
+
d.appendChild(v);
|
|
123
123
|
},
|
|
124
124
|
1
|
|
125
125
|
);
|
|
126
126
|
});
|
|
127
127
|
};
|
|
128
|
-
|
|
128
|
+
A(() => (window.addEventListener("message", b, !1), () => {
|
|
129
129
|
window.removeEventListener("message", b);
|
|
130
130
|
}));
|
|
131
|
-
function
|
|
131
|
+
function T(l) {
|
|
132
132
|
k[l ? "unshift" : "push"](() => {
|
|
133
133
|
h = l, i(3, h);
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function z(l) {
|
|
137
137
|
k[l ? "unshift" : "push"](() => {
|
|
138
138
|
d = l, i(2, d);
|
|
139
139
|
});
|
|
@@ -154,18 +154,18 @@ function Q(t, e, i) {
|
|
|
154
154
|
u,
|
|
155
155
|
s,
|
|
156
156
|
n,
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
T,
|
|
158
|
+
z
|
|
159
159
|
];
|
|
160
160
|
}
|
|
161
|
-
class V extends
|
|
161
|
+
class V extends F {
|
|
162
162
|
constructor(e) {
|
|
163
|
-
super(),
|
|
163
|
+
super(), P(
|
|
164
164
|
this,
|
|
165
165
|
e,
|
|
166
166
|
Q,
|
|
167
167
|
O,
|
|
168
|
-
|
|
168
|
+
U,
|
|
169
169
|
{
|
|
170
170
|
show: 0,
|
|
171
171
|
duration: 1,
|
|
@@ -207,7 +207,7 @@ class V extends z {
|
|
|
207
207
|
this.$$set({ showmodaleventname: e }), f();
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
|
|
210
|
+
R(V, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, showmodaleventname: {} }, ["default"], [], !0);
|
|
211
211
|
export {
|
|
212
212
|
V as default
|
|
213
213
|
};
|
|
@@ -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-BW6b3iuS.cjs");function y(n,{delay:e=0,duration:l=400,easing:i=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:l,easing:i,css:r=>`opacity: ${r*s}`}}function k(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 w(n){let e,l,i,s,r;const f=n[8].default,u=t.create_slot(f,n,n[7],null);return{c(){e=t.element("div"),l=t.element("div"),i=t.element("div"),u&&u.c(),t.attr(i,"class","ModalContainer"),t.attr(l,"class","ModalWindow"),t.attr(l,"id","Modal")},m(a,d){t.insert(a,e,d),t.append(e,l),t.append(l,i),u&&u.m(i,null),n[9](l),n[10](e),r=!0},p(a,d){n=a,u&&u.p&&(!r||d&128)&&t.update_slot_base(u,f,n,n[7],r?t.get_slot_changes(f,n[7],d,null):t.get_all_dirty_from_scope(n[7]),null)},i(a){r||(t.transition_in(u,a),a&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(l,y,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(a){t.transition_out(u,a),a&&(s||(s=t.create_bidirectional_transition(l,y,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(a){a&&t.detach(e),u&&u.d(a),n[9](null),a&&s&&s.end(),n[10](null)}}}function S(n){let e,l,i=n[0]&&w(n);return{c(){i&&i.c(),e=t.empty()},m(s,r){i&&i.m(s,r),t.insert(s,e,r),l=!0},p(s,[r]){s[0]?i?(i.p(s,r),r&1&&t.transition_in(i,1)):(i=w(s),i.c(),t.transition_in(i,1),i.m(e.parentNode,e)):i&&(t.group_outros(),t.transition_out(i,1,1,()=>{i=null}),t.check_outros())},i(s){l||(t.transition_in(i),l=!0)},o(s){t.transition_out(i),l=!1},d(s){s&&t.detach(e),i&&i.d(s)}}}function L(n,e,l){let{$$slots:i={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:u=""}=e,{clientstylingurl:a=""}=e,{showmodaleventname:d="ShowLimitsConfirmationModal"}=e,c,h;const _=o=>{switch(o.data.type){case"ModalClosed":l(0,r=!1);break;case d:l(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}},M=()=>{let o=document.createElement("style");o.innerHTML=u,c.appendChild(o)},v=()=>{let o=new URL(a),g=document.createElement("style");fetch(o.href).then(m=>m.text()).then(m=>{g.innerHTML=m,setTimeout(()=>{c.appendChild(g)},1)})};t.onMount(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)}));function p(o){t.binding_callbacks[o?"unshift":"push"](()=>{h=o,l(3,h)})}function C(o){t.binding_callbacks[o?"unshift":"push"](()=>{c=o,l(2,c)})}return n.$$set=o=>{"show"in o&&l(0,r=o.show),"duration"in o&&l(1,f=o.duration),"clientstyling"in o&&l(4,u=o.clientstyling),"clientstylingurl"in o&&l(5,a=o.clientstylingurl),"showmodaleventname"in o&&l(6,d=o.showmodaleventname),"$$scope"in o&&l(7,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&36&&a&&c&&v(),n.$$.dirty&20&&u&&c&&M()},[r,f,c,h,u,a,d,s,i,p,C]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,L,S,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,showmodaleventname:6},k)}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 showmodaleventname(){return this.$$.ctx[6]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
|