@everymatrix/player-account-controller 1.59.3 → 1.60.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-BjsDUNrm.cjs +21 -0
- package/components/{GeneralLogout-BplfowFH.js → GeneralLogout-CrdxxT-0.js} +659 -626
- package/components/{GeneralLogout-DuABjNp8.js → GeneralLogout-Cs6a0Woe.js} +762 -729
- package/components/PlayerAccountBettingHistory-Bu3VS2Sg.cjs +1 -0
- package/components/PlayerAccountBettingHistory-DznJRKHH.js +329 -0
- package/components/{PlayerAccountBettingHistory-BxCRppml.js → PlayerAccountBettingHistory-HLjCXypd.js} +126 -127
- package/components/{PlayerAccountBiometrics-C8NBQKUw.js → PlayerAccountBiometrics-CIo8pkfn.js} +22 -22
- package/components/{PlayerAccountBiometrics-BEFosUME.js → PlayerAccountBiometrics-DpVTOI5S.js} +22 -22
- package/components/{PlayerAccountBiometrics-DTFbvNhj.cjs → PlayerAccountBiometrics-DvJlyQ8z.cjs} +1 -1
- package/components/{PlayerAccountClosure-B2Gy9x3G.cjs → PlayerAccountClosure-Bgcd5aWK.cjs} +1 -1
- package/components/{PlayerAccountClosure-bkzdtq3v.js → PlayerAccountClosure-DJx7NuYi.js} +32 -32
- package/components/{PlayerAccountClosure-D9hNArXT.js → PlayerAccountClosure-DUnNJuF0.js} +32 -32
- package/components/{PlayerAccountController-CUbh06Fx.js → PlayerAccountController-CBYExr3C.js} +813 -749
- package/components/{PlayerAccountController-bVtx8Tfe.js → PlayerAccountController-DIWJZ0re.js} +819 -755
- package/components/PlayerAccountController-DJJTlRdy.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-oNSvEvXz.js → PlayerAccountGamingLimits-DiTQMKO-.js} +81 -81
- package/components/{PlayerAccountGamingLimits-BrtFDG1O.cjs → PlayerAccountGamingLimits-UmFJS4yG.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-Dxz29F5p.js → PlayerAccountGamingLimits-t-Kt6fD1.js} +81 -81
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Bes0Svrr.js → PlayerAccountGamingLimitsConfirmationModal-BOqmU6ao.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-aQzVqW8v.cjs → PlayerAccountGamingLimitsConfirmationModal-BTGWvZ_H.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BhmpbfB9.js → PlayerAccountGamingLimitsConfirmationModal-CJS6pzAL.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-BS6wWGFd.js → PlayerAccountGamingLimitsGroupEdit-Cohx9d0h.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-D2lkSHNX.js → PlayerAccountGamingLimitsGroupEdit-DQ4LAIh3.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-gdCqCIvt.cjs → PlayerAccountGamingLimitsGroupEdit-DWXrW8rz.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2-DGVBzjIn.cjs → PlayerAccountGamingLimitsHistory2-1CxT-5pd.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-_bX1iIJM.js → PlayerAccountGamingLimitsHistory2-CZWoK_f5.js} +46 -46
- package/components/{PlayerAccountGamingLimitsHistory2-DrrIUH-E.js → PlayerAccountGamingLimitsHistory2-DuWgdsnY.js} +48 -48
- package/components/{PlayerAccountGamingLimitsInfoCard-DwNXbIaa.cjs → PlayerAccountGamingLimitsInfoCard-7dQquqQ4.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-Cd2oTK9r.js → PlayerAccountGamingLimitsInfoCard-AOCz2477.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-D73a50SO.js → PlayerAccountGamingLimitsInfoCard-wb1MgSRM.js} +83 -83
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DzG7Yyop.cjs → PlayerAccountGamingLimitsPage2Gm16-BtV437GK.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BikeP6Os.js → PlayerAccountGamingLimitsPage2Gm16-CP92kePi.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DV_B0I-1.js → PlayerAccountGamingLimitsPage2Gm16-CbDzJDty.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPopup-BzAiMR7P.cjs → PlayerAccountGamingLimitsPopup-Bq6g8_Ex.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Bmo_d-SK.js → PlayerAccountGamingLimitsPopup-Byk1Oi5A.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-BhxPf2k2.js → PlayerAccountGamingLimitsPopup-Cou16qpk.js} +42 -42
- package/components/{PlayerAccountGamingLimitsWrapper2-C5ZEZESw.cjs → PlayerAccountGamingLimitsWrapper2-D6wvomzC.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DcjNP85K.js → PlayerAccountGamingLimitsWrapper2-i6jTTCMm.js} +55 -55
- package/components/{PlayerAccountGamingLimitsWrapper2-CEfUMBze.js → PlayerAccountGamingLimitsWrapper2-jE9SIagI.js} +20 -20
- package/components/{PlayerAccountGeneralConfirmationModal-xn068Ofp.js → PlayerAccountGeneralConfirmationModal-DTd4PiMe.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-C_d3r_5u.cjs → PlayerAccountGeneralConfirmationModal-DoognqGf.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DHO5sM_A.js → PlayerAccountGeneralConfirmationModal-kdUl-EBq.js} +34 -34
- package/components/{PlayerAccountMenu-BZMOA6FB.js → PlayerAccountMenu-BEgta32-.js} +29 -29
- package/components/{PlayerAccountMenu-2fRKWX72.js → PlayerAccountMenu-CMhGbHd8.js} +32 -32
- package/components/{PlayerAccountMenu-B2ipwiXm.cjs → PlayerAccountMenu-CYUNGgyJ.cjs} +1 -1
- package/components/{PlayerAccountModal-BPfkAiOY.js → PlayerAccountModal-Cgwoz0_A.js} +42 -42
- package/components/{PlayerAccountModal-DYanNf6b.js → PlayerAccountModal-ZSZxImk8.js} +42 -42
- package/components/{PlayerAccountModal-BC3FTDl6.cjs → PlayerAccountModal-zI2QLAL1.cjs} +1 -1
- package/components/{PlayerAccountNotifications-989NFh5T.js → PlayerAccountNotifications-BOAsvm6N.js} +32 -32
- package/components/{PlayerAccountNotifications-CcTMD34l.cjs → PlayerAccountNotifications-BxJEa-bd.cjs} +1 -1
- package/components/{PlayerAccountNotifications-DxM4yW0h.js → PlayerAccountNotifications-CeuKj2LU.js} +31 -31
- package/components/{PlayerAccountSelfExclusion-BrQUxdxS.js → PlayerAccountSelfExclusion-CkQJ5C2A.js} +786 -781
- package/components/{PlayerAccountSelfExclusion-tDcqpg8M.js → PlayerAccountSelfExclusion-DteDMjvR.js} +1689 -1684
- package/components/{PlayerAccountSelfExclusion-D4uJysE9.cjs → PlayerAccountSelfExclusion-qRcwopEW.cjs} +153 -153
- package/components/{PlayerAccountTimeout-DAyJv6XI.js → PlayerAccountTimeout-C_8ygea9.js} +58 -58
- package/components/{PlayerAccountTimeout-1VU-R_sT.js → PlayerAccountTimeout-DCxB_fDI.js} +58 -58
- package/components/{PlayerAccountTimeout-BnBgpjeF.cjs → PlayerAccountTimeout-faBv2qFk.cjs} +1 -1
- package/components/{PlayerActiveBonuses-8_q2D0Pm.cjs → PlayerActiveBonuses-CBqsWQfE.cjs} +1 -1
- package/components/{PlayerActiveBonuses-C3FSr5OJ.js → PlayerActiveBonuses-DXMMRNp0.js} +73 -73
- package/components/{PlayerActiveBonuses-DslbK9bV.js → PlayerActiveBonuses-Dt0N6Bn0.js} +74 -74
- package/components/{PlayerBonusCard-CXkW82MZ.js → PlayerBonusCard-CH-ncifJ.js} +54 -54
- package/components/{PlayerBonusCard-Q-nM2Ss4.cjs → PlayerBonusCard-CJXjuXsU.cjs} +1 -1
- package/components/{PlayerBonusCard-oV2_xQ7r.js → PlayerBonusCard-Di1Znpi1.js} +54 -54
- package/components/{PlayerBonusHistory-DAOaiP_i.cjs → PlayerBonusHistory-CzNZ-8xH.cjs} +1 -1
- package/components/{PlayerBonusHistory-DZIZHkBk.js → PlayerBonusHistory-Uv5WCXDS.js} +33 -33
- package/components/{PlayerBonusHistory-DOUhJRUl.js → PlayerBonusHistory-mld2V0PT.js} +33 -33
- package/components/{PlayerChangePassword-CYvwu077.js → PlayerChangePassword-Cy_iUEwl.js} +71 -71
- package/components/{PlayerChangePassword-BXTWOpKM.js → PlayerChangePassword-DMiyyEYC.js} +71 -71
- package/components/{PlayerChangePassword-CbBHjN4s.cjs → PlayerChangePassword-awaQVsiP.cjs} +1 -1
- package/components/{PlayerDeposit-VF5d6vUd.js → PlayerDeposit-BFpoULil.js} +75 -75
- package/components/{PlayerDeposit-BxvpoON-.js → PlayerDeposit-BUbpr-x6.js} +75 -75
- package/components/PlayerDeposit-_oIOMh8l.cjs +1 -0
- package/components/{PlayerGamingHistory-D3Ks9sA3.js → PlayerGamingHistory-BmPTbYJT.js} +84 -84
- package/components/{PlayerGamingHistory-D_p5zZIW.js → PlayerGamingHistory-CK_gShe6.js} +74 -74
- package/components/{PlayerGamingHistory-CorLWCJo.cjs → PlayerGamingHistory-dRFRzy8l.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DnRLD9Qj.js → PlayerPendingWithdrawals-Dc91b0Cm.js} +26 -26
- package/components/{PlayerPendingWithdrawals-D3hbZ7iV.cjs → PlayerPendingWithdrawals-aaHugNLD.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-CePMH1Ym.js → PlayerPendingWithdrawals-ttbTlX0c.js} +26 -26
- package/components/PlayerProfileInfo-B1A0Xarz.cjs +1 -0
- package/components/PlayerProfileInfo-BMvJi0s-.js +2087 -0
- package/components/PlayerProfileInfo-DGlKLD5m.js +2059 -0
- package/components/{PlayerRealityCheck-hu40INih.js → PlayerRealityCheck-7yYGb_mB.js} +33 -33
- package/components/{PlayerRealityCheck-Dkm-7UeP.js → PlayerRealityCheck-CJO2eYMt.js} +33 -33
- package/components/{PlayerRealityCheck-DTbqf0Qh.cjs → PlayerRealityCheck-Ch955fLs.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CmHZLNzi.js → PlayerTransactionHistory-BHDwTuEi.js} +24 -24
- package/components/{PlayerTransactionHistory-Cp--JykS.cjs → PlayerTransactionHistory-Dff51WQG.cjs} +1 -1
- package/components/{PlayerTransactionHistory-Dob8ZHvF.js → PlayerTransactionHistory-fsxifDQz.js} +24 -24
- package/components/{PlayerWithdrawal-DMasfo5k.js → PlayerWithdrawal-4QbyF-GU.js} +19 -19
- package/components/{PlayerWithdrawal-fB3IW1Dc.js → PlayerWithdrawal-D6ic1PCk.js} +19 -19
- package/components/{PlayerWithdrawal-BocnE727.cjs → PlayerWithdrawal-DdPBGufW.cjs} +1 -1
- 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-CinfKCss.js → checkbox-group-input_9-C7zEH4Cn.js} +13 -11
- package/stencil/checkbox-group-input_9-CMfQeYlH.cjs +2 -0
- package/stencil/{checkbox-group-input_9-C_Jto8Jt.js → checkbox-group-input_9-OVj7AW5S.js} +13 -11
- package/stencil/{general-input-n2Odu7ir.cjs → general-input-BlFYbInU.cjs} +199 -199
- package/stencil/{general-input-bu08V52z.js → general-input-C7B1PVb4.js} +1249 -1243
- package/stencil/{general-input-DJk-3Amp.js → general-input-DoSeJn3k.js} +1247 -1241
- package/stencil/index-1ef3a64c-BnB-ATuA.js +556 -0
- package/stencil/index-1ef3a64c-BvKbNMH8.cjs +1 -0
- package/stencil/index-1ef3a64c-Nsr9PDe6.js +572 -0
- package/stencil/index-7c5e707a-CTC8RpEi.js +643 -0
- package/stencil/index-7c5e707a-CWE0q0mP.js +616 -0
- package/stencil/index-7c5e707a-D1Fv8nel.cjs +1 -0
- package/stencil/index-9c0f6c58-C1yzTenw.js +576 -0
- package/stencil/{index-9c0f6c58-DRP3WpwA.js → index-9c0f6c58-CqoLeK5G.js} +197 -197
- package/stencil/index-9c0f6c58-DEsDY2nb.cjs +1 -0
- package/stencil/index-9cd44522-BOHK5Ehb.js +626 -0
- package/stencil/index-9cd44522-C8s3TvoU.js +610 -0
- package/stencil/index-9cd44522-D9raG3xx.cjs +1 -0
- package/stencil/index-b2193545-B240yE4M.js +503 -0
- package/stencil/index-b2193545-CJQ4H9NG.cjs +1 -0
- package/stencil/index-b2193545-q1mvaES7.js +519 -0
- package/stencil/{password-input_2-BEm5miI-.js → password-input_2-5nC89CMj.js} +3 -3
- package/stencil/{password-input_2-BQFmAJZH.js → password-input_2-DJSgcWve.js} +3 -3
- package/stencil/password-input_2-ZOEOuaOe.cjs +193 -0
- package/stencil/{player-change-password-gm2-039e300e-WQ9F_3S-.cjs → player-change-password-gm2-039e300e-C-kbOfS1.cjs} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-CAqacRz5.js → player-change-password-gm2-039e300e-C_f58yBE.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-DsF_swLz.js → player-change-password-gm2-039e300e-D4KfL3dW.js} +1 -1
- package/stencil/{player-change-password-gm2-lgbjA5yk.js → player-change-password-gm2-3aRR8E4W.js} +1 -1
- package/stencil/{player-change-password-gm2-2-y7ZnBr.js → player-change-password-gm2-BJ2Ur7Zx.js} +1 -1
- package/stencil/{player-change-password-gm2-21_4LRZA.cjs → player-change-password-gm2-CHK-mhQ9.cjs} +1 -1
- package/stencil/{player-kyc-verification-CK7jvih_.js → player-kyc-verification-B8arDCja.js} +1 -1
- package/stencil/{player-kyc-verification-ClECAHs-.js → player-kyc-verification-Di40xn9z.js} +1 -1
- package/stencil/{player-kyc-verification-CWBei0Yk.cjs → player-kyc-verification-GFBDUbhm.cjs} +1 -1
- package/stencil/{toggle-checkbox-input-BETTnM8f.js → toggle-checkbox-input-BRL1Xahc.js} +23 -9
- package/stencil/toggle-checkbox-input-CPDZs55S.cjs +1 -0
- package/stencil/{toggle-checkbox-input-D3c8zSJU.js → toggle-checkbox-input-cLWFox9n.js} +23 -9
- package/stencil/{ui-skeleton-DGSaG5JU.js → ui-skeleton-BacC4KYY.js} +8 -8
- package/stencil/ui-skeleton-C_u2sCMV.cjs +1 -0
- package/stencil/{ui-skeleton-CWQGWUte.js → ui-skeleton-DuRhzyE8.js} +4 -4
- package/stencil/ui-skeleton-ea659b95-B0Wm9BdQ.js +152 -0
- package/stencil/ui-skeleton-ea659b95-BBQBvLes.cjs +73 -0
- package/stencil/ui-skeleton-ea659b95-DEnEjYcS.js +152 -0
- package/stencil/{user-deposit-withdrawal-C8N7GB9E.cjs → user-deposit-withdrawal-BQKFgZ31.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-BISsu0Z-.js → user-deposit-withdrawal-DRe5oBqv.js} +1 -1
- package/stencil/{user-deposit-withdrawal-BmOGfPLJ.js → user-deposit-withdrawal-Dj3Po03r.js} +1 -1
- package/stencil/{user-transaction-history-Bg6onQ-I.js → user-transaction-history-6-z3byrF.js} +1 -1
- package/stencil/{user-transaction-history-BO92Qvk4.js → user-transaction-history-Dca7qx08.js} +1 -1
- package/stencil/{user-transaction-history-COJbthDt.cjs → user-transaction-history-DrhquxkJ.cjs} +1 -1
- package/components/GeneralLogout-aDlrOvb2.cjs +0 -21
- package/components/PlayerAccountBettingHistory-CIfM4HLW.js +0 -328
- package/components/PlayerAccountBettingHistory-CaGfH6ef.cjs +0 -1
- package/components/PlayerAccountController-DIWtv1hU.cjs +0 -1
- package/components/PlayerDeposit-mr7WW9bf.cjs +0 -1
- package/components/PlayerProfileInfo-BM9bYXPT.js +0 -1823
- package/components/PlayerProfileInfo-BST7W89r.cjs +0 -1
- package/components/PlayerProfileInfo-CGh-HMYc.js +0 -1806
- package/stencil/checkbox-group-input_9-Dc49Q3Vp.cjs +0 -2
- package/stencil/index-1ef3a64c-Dr_Pi_Tn.cjs +0 -1
- package/stencil/index-1ef3a64c-gNJv-qax.js +0 -572
- package/stencil/index-1ef3a64c-jZYsp9Sk.js +0 -556
- package/stencil/index-7c5e707a-40SRy2Ab.js +0 -616
- package/stencil/index-7c5e707a-B9tD4t-g.js +0 -643
- package/stencil/index-7c5e707a-DosLPDO6.cjs +0 -1
- package/stencil/index-9c0f6c58-CiH_jMvd.cjs +0 -1
- package/stencil/index-9c0f6c58-jtioo3_h.js +0 -576
- package/stencil/index-9cd44522-CFA-2f9u.cjs +0 -1
- package/stencil/index-9cd44522-COdVO-ko.js +0 -610
- package/stencil/index-9cd44522-IsBDbKDl.js +0 -626
- package/stencil/index-ae04a8b1-BIDvdZJs.js +0 -532
- package/stencil/index-ae04a8b1-BUa25EUq.cjs +0 -1
- package/stencil/index-ae04a8b1-BYWsXc_G.js +0 -516
- package/stencil/password-input_2-BvQKzYdi.cjs +0 -193
- package/stencil/toggle-checkbox-input-owvrKS5Z.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-21I14Ylk.js +0 -122
- package/stencil/ui-skeleton-a642cced-BXc76uPc.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-C5tlYQb-.js +0 -122
- package/stencil/ui-skeleton-r-lLy7GD.cjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-aDlrOvb2.cjs");function T(n,t){e.addMessages(n,t)}function F(n){e.$locale.set(n)}const L={en:{titleDeposit:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{titleDeposit:"訂金",loading:"加載請稍候…"},fr:{titleDeposit:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{titleDeposit:"PARA YATIR",loading:"Yükleniyor ..."},ro:{titleDeposit:"Depunere",loading:"Se încarcă..."},es:{titleDeposit:"Deposita",loading:"Cargando ..."},pt:{titleDeposit:"Depósito",loading:"Carregando, por favor espere ..."},hr:{titleDeposit:"Uplata",loading:"Učitavanje"},"pt-br":{titleDeposit:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{titleDeposit:"Depositar",Loading:"Cargando, por favor espere..."}};function W(n){e.append_styles(n,"svelte-lvm6lo","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}")}function j(n){let t,a,o,r,c,m,d,p,f,l,s=n[4]("titleDeposit")+"",u,y,D;return{c(){t=e.element("div"),a=e.svg_element("svg"),o=e.svg_element("defs"),r=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=e.svg_element("g"),d=e.svg_element("g"),p=e.svg_element("path"),f=e.space(),l=e.element("h2"),u=e.text(s),e.attr(p,"class","aaa"),e.attr(p,"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(p,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(l,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(g,h){e.insert(g,t,h),e.append(t,a),e.append(a,o),e.append(o,r),e.append(r,c),e.append(a,m),e.append(m,d),e.append(d,p),e.append(t,f),e.append(t,l),e.append(l,u),y||(D=e.listen(t,"click",n[18]),y=!0)},p(g,h){h&16&&s!==(s=g[4]("titleDeposit")+"")&&e.set_data(u,s)},d(g){g&&e.detach(t),y=!1,D()}}}function z(n){let t,a,o;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,o=n[3])||e.attr(a,"src",o),e.attr(a,"title","Deposit Iframe"),e.attr(t,"class","DepositIframeWrapper")},m(r,c){e.insert(r,t,c),e.append(t,a)},p(r,c){c&8&&!e.src_url_equal(a.src,o=r[3])&&e.attr(a,"src",o)},d(r){r&&e.detach(t)}}}function G(n){let t,a=n[4]("loading")+"",o;return{c(){t=e.element("p"),o=e.text(a)},m(r,c){e.insert(r,t,c),e.append(t,o)},p(r,c){c&16&&a!==(a=r[4]("loading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function H(n){let t,a,o,r=n[4]("titleDeposit")+"",c,m,d=n[5]&&j(n);function p(s,u){return s[1]?G:z}let f=p(n),l=f(n);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),o=e.element("h2"),c=e.text(r),m=e.space(),l.c(),e.attr(o,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",n[2])},m(s,u){e.insert(s,t,u),d&&d.m(t,null),e.append(t,a),e.append(t,o),e.append(o,c),e.append(t,m),l.m(t,null),n[19](t)},p(s,[u]){s[5]&&d.p(s,u),u&16&&r!==(r=s[4]("titleDeposit")+"")&&e.set_data(c,r),f===(f=p(s))&&l?l.p(s,u):(l.d(1),l=f(s),l&&(l.c(),l.m(t,null))),u&4&&e.set_style(t,"--dynamic-height",s[2])},i:e.noop,o:e.noop,d(s){s&&e.detach(t),d&&d.d(),l.d(),n[19](null)}}}function q(n,t,a){let o,r;e.component_subscribe(n,e.$format,i=>a(4,r=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:d=""}=t,{lang:p="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:l=""}=t,{clientstylingurl:s=""}=t,{translationurl:u=""}=t,{currency:y=""}=t,{mbsource:D}=t,{shortcashierenabled:g="false"}=t,h,R=window.navigator.userAgent,v=e.getDevice(R)!=="PC",M=!0,k,_=0,C="";const B=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(b=>{T(b,w[b])})}).catch(w=>{console.log(w)})};Object.keys(L).forEach(i=>{T(i,L[i])});const S=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},x=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,y=i.data.profileDetails.currency);break}switch(i.data["MMFE:setQuickDepositHeight"]&&a(2,k=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href);break}}},P=()=>{let i=new URL(`${c}/v1/player/${d}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",p),o&&i.searchParams.append("isShortCashier",g),f)switch(y){case"USD":_=.4;break;case"CDF":_=1e3;break}let w={method:"POST",headers:{"X-SessionId":m,currency:y||"EUR",amount:_,cashierMode:"Default",IsShortCashier:g,accept:"application/json"}};fetch(i.href,w).then(b=>b.json()).then(b=>{a(1,M=!1),a(3,C=b.CashierUrl)},b=>{console.error(b)})},I=()=>{F(p)};e.onMount(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}));const U=()=>S();function A(i){e.binding_callbacks[i?"unshift":"push"](()=>{h=i,a(0,h)})}return n.$$set=i=>{"endpoint"in i&&a(8,c=i.endpoint),"session"in i&&a(9,m=i.session),"playerid"in i&&a(10,d=i.playerid),"lang"in i&&a(11,p=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,l=i.clientstyling),"clientstylingurl"in i&&a(14,s=i.clientstylingurl),"translationurl"in i&&a(15,u=i.translationurl),"currency"in i&&a(7,y=i.currency),"mbsource"in i&&a(16,D=i.mbsource),"shortcashierenabled"in i&&a(17,g=i.shortcashierenabled)},n.$$.update=()=>{n.$$.dirty&2048&&p&&I(),n.$$.dirty&131072&&(o=g.toLocaleLowerCase()==="true"),n.$$.dirty&8193&&l&&h&&e.setClientStyling(h,l),n.$$.dirty&16385&&s&&h&&e.setClientStylingURL(h,s),n.$$.dirty&65537&&D&&h&&e.setStreamStyling(h,`${D}.Style`),n.$$.dirty&32768&&u&&B(),n.$$.dirty&135040&&m&&d&&c&&y&&p&&g&&P()},[h,M,k,C,r,v,S,y,c,m,d,p,f,l,s,u,D,g,U,A]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,q,H,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,currency:7,mbsource:16,shortcashierenabled:17},W)}get endpoint(){return this.$$.ctx[8]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[10]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[7]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[17]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(E,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},currency:{},mbsource:{},shortcashierenabled:{}},[],[],!0);exports.default=E;
|