@everymatrix/player-account-controller 1.54.11 → 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-DYgabEdS.js → PlayerAccountController-5iMZlx1a.js} +128 -128
- package/components/{PlayerAccountController-BuXBBarM.cjs → PlayerAccountController-7FPLehfk.cjs} +1 -1
- package/components/{PlayerAccountController-B1T1aFdb.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-B6I2vv_G.js → PlayerProfileInfo-C7zRlD3p.js} +163 -159
- package/components/{PlayerProfileInfo-Bx9bKldG.cjs → PlayerProfileInfo-CGsJydqv.cjs} +1 -1
- package/components/{PlayerProfileInfo-Baoz1CHE.js → PlayerProfileInfo-zmbAMe_l.js} +154 -150
- 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 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CMYMtWfC.cjs");function Y(n,t){e.addMessages(n,t)}function Be(n){e.$locale.set(n)}const J={en:{titleBonuses:"Active Bonuses",bonusCode:"Do you have a bonus code?",getBonus:"Get Bonus",invalidBonusCode:"The bonus code provided is invalid.",noActiveBonuses:"You have no active bonuses at the moment.",forfeitBonus:"Are you sure want to forfeit bonus?",forfeitBonusConfirm:"Confirm",forfeitBonusCancel:"Cancel",successMessage:"Bonus claimed!",errorMessage:"Invalid bonus"},"zh-hk":{titleBonuses:"活躍獎金",bonusCode:"你有獎金代碼嗎?",getBonus:"獲得獎金",invalidBonusCode:"提供的紅利代碼無效。",noActiveBonuses:"您目前沒有有效的獎金。",forfeitBonus:"您確定要放棄獎金及其獎金嗎?",forfeitBonusConfirm:"確認",forfeitBonusCancel:"取消",successMessage:"獎金要求!",errorMessage:"無效獎金"},fr:{titleBonuses:"Bonus actifs",bonusCode:"Avez-vous un code bonus?",getBonus:"Obtenir un bonus",invalidBonusCode:"Le code bonus fourni n'est pas valide.",noActiveBonuses:"Vous n'avez pas de bonus actifs pour le moment.",forfeitBonus:"Etes-vous sûr de vouloir supprimer le bonus et ses gains?",forfeitBonusConfirm:"Confirmer",forfeitBonusCancel:"Annuler",successMessage:"Bonus réclamé!",errorMessage:"Bonus invalide"},ro:{titleBonuses:"Bonusuri active",bonusCode:"Ai un cod de bonus?",getBonus:"Revendică",invalidBonusCode:"Codul de bonus introdus este invalid.",noActiveBonuses:"Nu ai niciun bonus activ în acest moment.",forfeitBonus:"Ești sigur că vrei să anulezi acest bonus și câștigurile provenite din acest bonus?",forfeitBonusConfirm:"Confirmă",forfeitBonusCancel:"Anulează",successMessage:"Bonus revendicat!",errorMessage:"Bonus invalid"},es:{titleBonuses:"Bonos Activos",bonusCode:"Tienes un código de Bono?",getBonus:"Obtener Bono",invalidBonusCode:"El código del Bono no es válido.",noActiveBonuses:"Usted no tiene Bonos activos en este momento.",forfeitBonus:"Estas seguro que quieres perder el bono?",forfeitBonusConfirm:"Confirmar",forfeitBonusCancel:"Cancelar",successMessage:"Bono adjudicado!",errorMessage:"Bono invalido"},pt:{titleBonuses:"Bônus Ativos",bonusCode:"Você tem um código de bônus?",getBonus:"Obter bônus",invalidBonusCode:"O código de bônus fornecido é inválido.",noActiveBonuses:"Você não tem bônus ativos no momento.",forfeitBonus:"Tem certeza de que deseja perder o bônus e seus ganhos?",forfeitBonusConfirm:"Confirmar",forfeitBonusCancel:"Cancelar",successMessage:"Bônus reivindicado!",errorMessage:"Bônus inválido"},hr:{titleBonuses:"Aktivni bonusi",bonusCode:"Imate li bonus kod?",getBonus:"Preuzmi bonus",invalidBonusCode:"Navedeni bonus kod je nevažeći.",noActiveBonuses:"Trenutno nemate aktivnih bonusa.",forfeitBonus:"Jeste li sigurni da želite otkazati bonus?",forfeitBonusConfirm:"Potvrdi",forfeitBonusCancel:"Otkaži",successMessage:"Preuzet bonus!",errorMessage:"Nevažeći bonus"},"pt-br":{titleBonuses:"Títulos ativos",bonusCode:"Você tem um código de bônus?",getBonus:"Reivindicar bônus",invalidBonusCode:"O código de bônus emitido é inválido",noActiveBonuses:"Não possui títulos ativos no momento",forfeitBonus:"Tem certeza de que deseja recusar o bônus?",forfeitBonusConfirm:"confirme",forfeitBonusCancel:"Cancelar",successMessage:"Bônus ativado",errorMessage:"Voucher inválido"},"es-mx":{titleBonuses:"Bonos activos",bonusCode:"¿Tiene código de bonos?",getBonus:"Reclamar bono",invalidBonusCode:"El código de bono emitido es inválido",noActiveBonuses:"No tiene bonos activos al momento",forfeitBonus:"¿ Está seguro que quiere declinar el bono?",forfeitBonusConfirm:"Confirmar",forfeitBonusCancel:"Cancelar",successMessage:"Bono activado",errorMessage:"Bono inválido"},tr:{titleBonuses:"Aktif Bonuslar",bonusCode:"Bonus kodunuz var mı?",getBonus:"Bonusu Al",invalidBonusCode:"Sağlanan bonus kodu geçersiz.",noActiveBonuses:"Şu anda aktif bonusunuz yok.",forfeitBonus:"Bonusu kaybetmek istediğinizden emin misiniz?",forfeitBonusConfirm:"Onaylamak",forfeitBonusCancel:"İptal etmek",successMessage:"Bonus talep edildi!",errorMessage:"Geçersiz bonus"},"en-us":{titleBonuses:"Active Bonuses",bonusCode:"Do you have a bonus code?",getBonus:"Get Bonus",invalidBonusCode:"The bonus code provided is invalid.",noActiveBonuses:"You have no active bonuses at the moment.",forfeitBonus:"Are you sure want to forfeit bonus?",forfeitBonusConfirm:"Confirm",forfeitBonusCancel:"Cancel",successMessage:"Bonus claimed!",errorMessage:"Invalid bonus"}};if(typeof window!="undefined"){let n=function(t){return function(...o){try{return t.apply(this,o)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PlayerBonusCard-DqHyFS9o.cjs")).then(({default:t})=>{!customElements.get("player-bonus-card")&&customElements.define("player-bonus-card",t.element)})}function ve(n){e.append_styles(n,"svelte-1uw0g7j",".ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}")}function Z(n,t,o){const a=n.slice();return a[49]=t[o],a[51]=o,a}function K(n,t,o){const a=n.slice();return a[52]=t[o],a}function ye(n){let t,o,a,s=n[17]("titleBonuses")+"",l,r,m,p,f=n[17]("bonusCode")+"",g,u,c,B,_,d,C=n[17]("getBonus")+"",w,M,E,I,h,v,W,y,j,L=n[18]&&he(n),P=n[5]&&Q(n);function q(b,k){return b[12].length===0?we:Ce}let O=q(n),D=O(n),F=n[12].length!==0&&$(n),z=n[16]&&te(n);return{c(){t=e.element("div"),L&&L.c(),o=e.space(),a=e.element("h2"),l=e.text(s),r=e.space(),m=e.element("div"),p=e.element("label"),g=e.text(f),u=e.space(),c=e.element("div"),B=e.element("input"),_=e.space(),d=e.element("button"),w=e.text(C),M=e.space(),P&&P.c(),E=e.space(),I=e.element("div"),D.c(),h=e.space(),F&&F.c(),v=e.space(),z&&z.c(),W=e.empty(),e.attr(a,"class","ActiveBonusesTitle "+(n[18]?"ActiveBonusesTitleNone":"")),e.attr(p,"for","BonusCode"),e.attr(B,"class","BonusCodeInput "+(n[18]?"BonusCodeInputMobile":"")),e.attr(B,"type","text"),e.attr(B,"id","BonusCode"),e.attr(d,"class","SubmitBonusCode "+(n[18]?"SubmitBonusCodeMobile":"")),d.disabled=n[4],e.attr(c,"class","BonusCodeWrapper "+(n[18]?"BonusCodeWrapperMobile":"")),e.attr(m,"class","BonusCodeContainer "+(n[18]?"BonusCodeContainerMobile":"")),e.attr(I,"class","ActiveBonusesGrid "+(n[18]?"ActiveBonusesGridMobile":"")),e.attr(t,"class","ActiveBonusesWrapper "+(n[18]?"ActiveBonusesWrapperMobile":""))},m(b,k){e.insert(b,t,k),L&&L.m(t,null),e.append(t,o),e.append(t,a),e.append(a,l),e.append(t,r),e.append(t,m),e.append(m,p),e.append(p,g),e.append(m,u),e.append(m,c),e.append(c,B),e.set_input_value(B,n[6]),e.append(c,_),e.append(c,d),e.append(d,w),e.append(m,M),P&&P.m(m,null),e.append(t,E),e.append(t,I),D.m(I,null),e.append(t,h),F&&F.m(t,null),e.insert(b,v,k),z&&z.m(b,k),e.insert(b,W,k),y||(j=[e.listen(B,"input",n[32]),e.listen(B,"keyup",n[20]),e.listen(d,"click",n[25](n[22]))],y=!0)},p(b,k){b[18]&&L.p(b,k),k[0]&131072&&s!==(s=b[17]("titleBonuses")+"")&&e.set_data(l,s),k[0]&131072&&f!==(f=b[17]("bonusCode")+"")&&e.set_data(g,f),k[0]&64&&B.value!==b[6]&&e.set_input_value(B,b[6]),k[0]&131072&&C!==(C=b[17]("getBonus")+"")&&e.set_data(w,C),k[0]&16&&(d.disabled=b[4]),b[5]?P?P.p(b,k):(P=Q(b),P.c(),P.m(m,null)):P&&(P.d(1),P=null),O===(O=q(b))&&D?D.p(b,k):(D.d(1),D=O(b),D&&(D.c(),D.m(I,null))),b[12].length!==0?F?F.p(b,k):(F=$(b),F.c(),F.m(t,null)):F&&(F.d(1),F=null),b[16]?z?z.p(b,k):(z=te(b),z.c(),z.m(W.parentNode,W)):z&&(z.d(1),z=null)},d(b){b&&(e.detach(t),e.detach(v),e.detach(W)),L&&L.d(),P&&P.d(),D.d(),F&&F.d(),z&&z.d(b),y=!1,e.run_all(j)}}}function he(n){let t,o,a,s,l,r,m,p,f,g,u=n[17]("titleBonuses")+"",c,B,_;return{c(){t=e.element("div"),o=e.svg_element("svg"),a=e.svg_element("defs"),s=e.svg_element("style"),l=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),r=e.svg_element("g"),m=e.svg_element("g"),p=e.svg_element("path"),f=e.space(),g=e.element("h2"),c=e.text(u),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(m,"transform","translate(20 158)"),e.attr(r,"transform","translate(-20 -158)"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","15"),e.attr(o,"height","15"),e.attr(o,"viewBox","0 0 15 15"),e.attr(g,"class","ActiveBonusesTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(d,C){e.insert(d,t,C),e.append(t,o),e.append(o,a),e.append(a,s),e.append(s,l),e.append(o,r),e.append(r,m),e.append(m,p),e.append(t,f),e.append(t,g),e.append(g,c),B||(_=e.listen(t,"click",n[31]),B=!0)},p(d,C){C[0]&131072&&u!==(u=d[17]("titleBonuses")+"")&&e.set_data(c,u)},d(d){d&&e.detach(t),B=!1,_()}}}function Q(n){let t,o=n[17]("invalidBonusCode")+"",a;return{c(){t=e.element("p"),a=e.text(o),e.attr(t,"class","InvalidBonusCodeMessage")},m(s,l){e.insert(s,t,l),e.append(t,a)},p(s,l){l[0]&131072&&o!==(o=s[17]("invalidBonusCode")+"")&&e.set_data(a,o)},d(s){s&&e.detach(t)}}}function Ce(n){let t,o=e.ensure_array_like(n[12]),a=[];for(let s=0;s<o.length;s+=1)a[s]=x(K(n,o,s));return{c(){for(let s=0;s<a.length;s+=1)a[s].c();t=e.empty()},m(s,l){for(let r=0;r<a.length;r+=1)a[r]&&a[r].m(s,l);e.insert(s,t,l)},p(s,l){if(l[0]&61447){o=e.ensure_array_like(s[12]);let r;for(r=0;r<o.length;r+=1){const m=K(s,o,r);a[r]?a[r].p(m,l):(a[r]=x(m),a[r].c(),a[r].m(t.parentNode,t))}for(;r<a.length;r+=1)a[r].d(1);a.length=o.length}},d(s){s&&e.detach(t),e.destroy_each(a,s)}}}function we(n){let t,o=n[17]("noActiveBonuses")+"",a;return{c(){t=e.element("p"),a=e.text(o)},m(s,l){e.insert(s,t,l),e.append(t,a)},p(s,l){l[0]&131072&&o!==(o=s[17]("noActiveBonuses")+"")&&e.set_data(a,o)},d(s){s&&e.detach(t)}}}function Me(n){let t,o,a,s,l,r,m,p,f,g,u,c,B;return{c(){t=e.element("player-bonus-card"),e.set_custom_element_data(t,"termsandconditionsdescription",n[15]),e.set_custom_element_data(t,"termsandconditionsurl",n[13]),e.set_custom_element_data(t,"termsandconditionsasset",n[14]),e.set_custom_element_data(t,"endpoint",o=n[52].endpoint),e.set_custom_element_data(t,"playerid",a=n[52].playerid),e.set_custom_element_data(t,"session",s=n[52].session),e.set_custom_element_data(t,"bonuswalletid",l=n[52].walletId),e.set_custom_element_data(t,"bonusdate",r=n[52].granted),e.set_custom_element_data(t,"bonusstatus",m=n[52].status),e.set_custom_element_data(t,"bonusname",p=n[52].name),e.set_custom_element_data(t,"bonustype",f=n[52].type),e.set_custom_element_data(t,"bonusamount",g=n[52].extension.grantedPlayerCurrencyAmount),e.set_custom_element_data(t,"bonuswageringamount",u=`${n[52].fulfilledWR} / ${n[52].originalWageringRequirement}`),e.set_custom_element_data(t,"bonusremainingamount",c=n[52].currentAmount),e.set_custom_element_data(t,"bonuscurrency",B=n[52].currency),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"clientstyling",n[1]),e.set_custom_element_data(t,"clientstylingurl",n[2])},m(_,d){e.insert(_,t,d)},p(_,d){d[0]&32768&&e.set_custom_element_data(t,"termsandconditionsdescription",_[15]),d[0]&8192&&e.set_custom_element_data(t,"termsandconditionsurl",_[13]),d[0]&16384&&e.set_custom_element_data(t,"termsandconditionsasset",_[14]),d[0]&4096&&o!==(o=_[52].endpoint)&&e.set_custom_element_data(t,"endpoint",o),d[0]&4096&&a!==(a=_[52].playerid)&&e.set_custom_element_data(t,"playerid",a),d[0]&4096&&s!==(s=_[52].session)&&e.set_custom_element_data(t,"session",s),d[0]&4096&&l!==(l=_[52].walletId)&&e.set_custom_element_data(t,"bonuswalletid",l),d[0]&4096&&r!==(r=_[52].granted)&&e.set_custom_element_data(t,"bonusdate",r),d[0]&4096&&m!==(m=_[52].status)&&e.set_custom_element_data(t,"bonusstatus",m),d[0]&4096&&p!==(p=_[52].name)&&e.set_custom_element_data(t,"bonusname",p),d[0]&4096&&f!==(f=_[52].type)&&e.set_custom_element_data(t,"bonustype",f),d[0]&4096&&g!==(g=_[52].extension.grantedPlayerCurrencyAmount)&&e.set_custom_element_data(t,"bonusamount",g),d[0]&4096&&u!==(u=`${_[52].fulfilledWR} / ${_[52].originalWageringRequirement}`)&&e.set_custom_element_data(t,"bonuswageringamount",u),d[0]&4096&&c!==(c=_[52].currentAmount)&&e.set_custom_element_data(t,"bonusremainingamount",c),d[0]&4096&&B!==(B=_[52].currency)&&e.set_custom_element_data(t,"bonuscurrency",B),d[0]&1&&e.set_custom_element_data(t,"lang",_[0]),d[0]&2&&e.set_custom_element_data(t,"clientstyling",_[1]),d[0]&4&&e.set_custom_element_data(t,"clientstylingurl",_[2])},d(_){_&&e.detach(t)}}}function ke(n){let t,o,a,s,l,r,m,p,f,g;return{c(){t=e.element("player-bonus-card"),e.set_custom_element_data(t,"termsandconditionsdescription",n[15]),e.set_custom_element_data(t,"termsandconditionsurl",n[13]),e.set_custom_element_data(t,"termsandconditionsasset",n[14]),e.set_custom_element_data(t,"endpoint",o=n[52].endpoint),e.set_custom_element_data(t,"playerid",a=n[52].playerid),e.set_custom_element_data(t,"session",s=n[52].session),e.set_custom_element_data(t,"bonuswalletid",l=n[52].walletId),e.set_custom_element_data(t,"bonusdate",r=n[52].granted),e.set_custom_element_data(t,"bonusstatus",m=n[52].status),e.set_custom_element_data(t,"bonusname",p=n[52].name),e.set_custom_element_data(t,"bonustype",f=n[52].type),e.set_custom_element_data(t,"bonuscurrency",g=n[52].currency),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"clientstyling",n[1]),e.set_custom_element_data(t,"clientstylingurl",n[2])},m(u,c){e.insert(u,t,c)},p(u,c){c[0]&32768&&e.set_custom_element_data(t,"termsandconditionsdescription",u[15]),c[0]&8192&&e.set_custom_element_data(t,"termsandconditionsurl",u[13]),c[0]&16384&&e.set_custom_element_data(t,"termsandconditionsasset",u[14]),c[0]&4096&&o!==(o=u[52].endpoint)&&e.set_custom_element_data(t,"endpoint",o),c[0]&4096&&a!==(a=u[52].playerid)&&e.set_custom_element_data(t,"playerid",a),c[0]&4096&&s!==(s=u[52].session)&&e.set_custom_element_data(t,"session",s),c[0]&4096&&l!==(l=u[52].walletId)&&e.set_custom_element_data(t,"bonuswalletid",l),c[0]&4096&&r!==(r=u[52].granted)&&e.set_custom_element_data(t,"bonusdate",r),c[0]&4096&&m!==(m=u[52].status)&&e.set_custom_element_data(t,"bonusstatus",m),c[0]&4096&&p!==(p=u[52].name)&&e.set_custom_element_data(t,"bonusname",p),c[0]&4096&&f!==(f=u[52].type)&&e.set_custom_element_data(t,"bonustype",f),c[0]&4096&&g!==(g=u[52].currency)&&e.set_custom_element_data(t,"bonuscurrency",g),c[0]&1&&e.set_custom_element_data(t,"lang",u[0]),c[0]&2&&e.set_custom_element_data(t,"clientstyling",u[1]),c[0]&4&&e.set_custom_element_data(t,"clientstylingurl",u[2])},d(u){u&&e.detach(t)}}}function x(n){let t;function o(l,r){return l[52].type==="freeRound"?ke:Me}let a=o(n),s=a(n);return{c(){s.c(),t=e.empty()},m(l,r){s.m(l,r),e.insert(l,t,r)},p(l,r){a===(a=o(l))&&s?s.p(l,r):(s.d(1),s=a(l),s&&(s.c(),s.m(t.parentNode,t)))},d(l){l&&e.detach(t),s.d(l)}}}function $(n){let t,o,a,s,l,r,m,p,f,g,u,c,B,_,d,C,w,M,E,I=e.ensure_array_like(Array(n[10])),h=[];for(let v=0;v<I.length;v+=1)h[v]=ee(Z(n,I,v));return{c(){t=e.element("div"),o=e.element("span"),a=e.text("|<"),l=e.space(),r=e.element("span"),m=e.text("<"),f=e.space();for(let v=0;v<h.length;v+=1)h[v].c();g=e.space(),u=e.element("span"),c=e.text(">"),_=e.space(),d=e.element("span"),C=e.text(">|"),e.attr(o,"class",s="BonusesFirst "+(n[11]===0?"Inactive":"")),e.attr(r,"class",p="BonusesPrev "+(n[11]===0?"Inactive":"")),e.attr(u,"class",B="BonusesNext "+(n[11]===n[10]-1?"Inactive":"")),e.attr(d,"class",w="BonusesLast "+(n[11]===n[10]-1?"Inactive":"")),e.attr(t,"class","BonusesPaginationWrapper "+(n[18]?"BonusesPaginationWrapperMobile":""))},m(v,W){e.insert(v,t,W),e.append(t,o),e.append(o,a),e.append(t,l),e.append(t,r),e.append(r,m),e.append(t,f);for(let y=0;y<h.length;y+=1)h[y]&&h[y].m(t,null);e.append(t,g),e.append(t,u),e.append(u,c),e.append(t,_),e.append(t,d),e.append(d,C),M||(E=[e.listen(o,"click",n[33]),e.listen(r,"click",n[34]),e.listen(u,"click",n[36]),e.listen(d,"click",n[37])],M=!0)},p(v,W){if(W[0]&2048&&s!==(s="BonusesFirst "+(v[11]===0?"Inactive":""))&&e.attr(o,"class",s),W[0]&2048&&p!==(p="BonusesPrev "+(v[11]===0?"Inactive":""))&&e.attr(r,"class",p),W[0]&2100224){I=e.ensure_array_like(Array(v[10]));let y;for(y=0;y<I.length;y+=1){const j=Z(v,I,y);h[y]?h[y].p(j,W):(h[y]=ee(j),h[y].c(),h[y].m(t,g))}for(;y<h.length;y+=1)h[y].d(1);h.length=I.length}W[0]&3072&&B!==(B="BonusesNext "+(v[11]===v[10]-1?"Inactive":""))&&e.attr(u,"class",B),W[0]&3072&&w!==(w="BonusesLast "+(v[11]===v[10]-1?"Inactive":""))&&e.attr(d,"class",w)},d(v){v&&e.detach(t),e.destroy_each(h,v),M=!1,e.run_all(E)}}}function ee(n){let t,o=n[51]+1+"",a,s,l,r;function m(){return n[35](n[51])}return{c(){t=e.element("span"),a=e.text(o),e.attr(t,"class",s="BonusesPage "+(n[51]===n[11]?"BonusPageActive":""))},m(p,f){e.insert(p,t,f),e.append(t,a),l||(r=e.listen(t,"click",m),l=!0)},p(p,f){n=p,f[0]&2048&&s!==(s="BonusesPage "+(n[51]===n[11]?"BonusPageActive":""))&&e.attr(t,"class",s)},d(p){p&&e.detach(t),l=!1,r()}}}function te(n){let t,o,a,s,l=n[17]("forfeitBonus")+"",r,m,p,f,g=n[17]("forfeitBonusCancel")+"",u,c,B,_=n[17]("forfeitBonusConfirm")+"",d,C,w;return{c(){t=e.element("div"),o=e.element("div"),a=e.element("div"),s=e.element("p"),r=e.text(l),m=e.space(),p=e.element("div"),f=e.element("button"),u=e.text(g),c=e.space(),B=e.element("button"),d=e.text(_),e.attr(s,"class","ModalText"),e.attr(f,"class","ModalCancel"),e.attr(B,"class","ModalConfirm"),e.attr(p,"class","ModalButtons"),e.attr(a,"class","ModalBody"),e.attr(o,"class","ModalContent"),e.attr(t,"class","ModalWrapper "+(n[18]?"ModalWrapperMobile":""))},m(M,E){e.insert(M,t,E),e.append(t,o),e.append(o,a),e.append(a,s),e.append(s,r),e.append(a,m),e.append(a,p),e.append(p,f),e.append(f,u),e.append(p,c),e.append(p,B),e.append(B,d),C||(w=[e.listen(f,"click",n[23]),e.listen(B,"click",n[25](n[24]))],C=!0)},p(M,E){E[0]&131072&&l!==(l=M[17]("forfeitBonus")+"")&&e.set_data(r,l),E[0]&131072&&g!==(g=M[17]("forfeitBonusCancel")+"")&&e.set_data(u,g),E[0]&131072&&_!==(_=M[17]("forfeitBonusConfirm")+"")&&e.set_data(d,_)},d(M){M&&e.detach(t),C=!1,e.run_all(w)}}}function Ae(n){let t;function o(l,r){return ye}let s=o()(n);return{c(){t=e.element("div"),s.c()},m(l,r){e.insert(l,t,r),s.m(t,null),n[38](t)},p(l,r){s.p(l,r)},i:e.noop,o:e.noop,d(l){l&&e.detach(t),s.d(),n[38](null)}}}let We="status=active",R=6;function Pe(n,t,o){let a;e.component_subscribe(n,e.$format,i=>o(17,a=i));let{endpoint:s=""}=t,{session:l=""}=t,{playerid:r=""}=t,{lang:m="en"}=t,{playercurrency:p=""}=t,{clientstyling:f=""}=t,{clientstylingurl:g=""}=t,{translationurl:u=""}=t,c,B=window.navigator.userAgent,_=e.getDevice(B)!=="PC",d=!0,C=!1,w="",M=0,E=0,I=0,h=0,v=0,W=[],y,j="",L="",P="",q="",O=!1;const D=()=>{fetch(u).then(A=>A.json()).then(A=>{Object.keys(A).forEach(T=>{Y(T,A[T])})}).catch(A=>{console.log(A)})};Object.keys(J).forEach(i=>{Y(i,J[i])});const F=i=>{if(i.data)switch(i.data.type){case"DeleteActiveBonus":q=i.data.bonuswalletid,o(16,O=!0);break}};function z(i,A){return(...T)=>{clearTimeout(y),y=setTimeout(()=>{i.apply(this,T)},A)}}const b=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:_},window.location.href)},k=()=>!!w,oe=()=>{o(4,d=!k())},N=i=>{let A={method:"GET",headers:{"X-SessionId":l}},T=new URL(`${s}/v1/player/${r}/bonusWallet`);T.searchParams.append("filter",We),T.searchParams.append("pagination",`offset=${i},limit=${R}`),fetch(T,A).then(S=>S.json()).then(S=>{Array.isArray(S.items)&&S.items.forEach(U=>{var H,X;const G=(X=(H=U==null?void 0:U.extension)==null?void 0:H.bonus)==null?void 0:X.presentation;G&&(o(13,j=G.url),o(15,P=G.description),o(14,L=G.assets))}),o(10,h=Math.ceil(S.total/R)),i-R>=0&&o(7,M=i-R),i+R<S.total&&o(8,E=i+R),o(9,I=(h-1)*R),o(11,v=i/R),o(12,W=(S==null?void 0:S.items)||[]),window.scrollTo({top:0,behavior:"smooth"})},S=>{console.error(S)})},se=()=>{let i=new URL(`${s}/v1/player/${r}/claimbonus`),A={method:"POST",headers:{"X-SessionId":l,accept:"application/json"}};i.searchParams.append("currency",p),i.searchParams.append("bonusCode",w),fetch(i.href,A).then(T=>{T.status==200?(o(5,C=!1),N(0),window.postMessage({type:"WidgetNotification",data:{type:"success",message:a("successMessage")}},window.location.href),typeof gtag=="function"&>ag("event","ClaimBonus",{context:"PlayerActiveBonuses",userId:`${r||"Not logged in"}`,bonusCode:`${w}`})):(o(5,C=!0),window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("errorMessage")}},window.location.href))})},V=()=>{window.postMessage({type:"EnableScroll"},window.location.href),o(16,O=!1)},ae=()=>{let i={method:"DELETE",headers:{"X-SessionId":l,"Content-Type":"application/json",Accept:"application/json"}},A=new URL(`${s}/v1/player/${r}/bonusWallet`);A.searchParams.append("bonusWalletID",q),fetch(A,i).then(T=>{T.status==200&&(N(0),V())})},re=()=>{Be(m)},le=()=>{let i=document.createElement("style");i.innerHTML=f,c.appendChild(i)},ie=()=>{let i=new URL(g),A=document.createElement("style");fetch(i.href).then(T=>T.text()).then(T=>{A.innerHTML=T,setTimeout(()=>{c.appendChild(A)},1)})};function ue(i){return z(i,1e3)}e.onMount(()=>(window.addEventListener("message",F,!1),()=>{window.removeEventListener("message",F)}));const de=()=>b();function ce(){w=this.value,o(6,w)}const pe=()=>N(0),me=()=>N(M),_e=i=>N(i*R),fe=()=>N(E),be=()=>N(I);function ge(i){e.binding_callbacks[i?"unshift":"push"](()=>{c=i,o(3,c)})}return n.$$set=i=>{"endpoint"in i&&o(26,s=i.endpoint),"session"in i&&o(27,l=i.session),"playerid"in i&&o(28,r=i.playerid),"lang"in i&&o(0,m=i.lang),"playercurrency"in i&&o(29,p=i.playercurrency),"clientstyling"in i&&o(1,f=i.clientstyling),"clientstylingurl"in i&&o(2,g=i.clientstylingurl),"translationurl"in i&&o(30,u=i.translationurl)},n.$$.update=()=>{n.$$.dirty[0]&1&&m&&re(),n.$$.dirty[0]&469762048&&l&&r&&s&&N(0),n.$$.dirty[0]&12&&g&&c&&ie(),n.$$.dirty[0]&10&&f&&c&&le(),n.$$.dirty[0]&1073741824&&u&&D()},[m,f,g,c,d,C,w,M,E,I,h,v,W,j,L,P,O,a,_,b,oe,N,se,V,ae,ue,s,l,r,p,u,de,ce,pe,me,_e,fe,be,ge]}class ne extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Pe,Ae,e.safe_not_equal,{endpoint:26,session:27,playerid:28,lang:0,playercurrency:29,clientstyling:1,clientstylingurl:2,translationurl:30},ve,[-1,-1])}get endpoint(){return this.$$.ctx[26]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[27]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[28]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get playercurrency(){return this.$$.ctx[29]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[30]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(ne,{endpoint:{},session:{},playerid:{},lang:{},playercurrency:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=ne;
|
|
@@ -1,395 +0,0 @@
|
|
|
1
|
-
import { a as V, $ as Z, S as J, i as K, s as $, f as D, b as ee, n as P, d as S, c as E, W, g as T, h as p, j as _, k as L, m as C, o as d, p as te, q as ie, u as ae, l as se, v as M, w as ne, X as A, x as re, y as oe } from "./GeneralLogout-CwSCMNgW.js";
|
|
2
|
-
function j(a, e) {
|
|
3
|
-
V(a, e);
|
|
4
|
-
}
|
|
5
|
-
function le(a) {
|
|
6
|
-
Z.set(a);
|
|
7
|
-
}
|
|
8
|
-
const z = {
|
|
9
|
-
en: {
|
|
10
|
-
titleDeposit: "Deposit",
|
|
11
|
-
loading: "Loading, please wait ..."
|
|
12
|
-
},
|
|
13
|
-
"zh-hk": {
|
|
14
|
-
titleDeposit: "訂金",
|
|
15
|
-
loading: "加載請稍候…"
|
|
16
|
-
},
|
|
17
|
-
fr: {
|
|
18
|
-
titleDeposit: "Dépôt",
|
|
19
|
-
loading: "Chargement, veuillez patienter ..."
|
|
20
|
-
},
|
|
21
|
-
tr: {
|
|
22
|
-
titleDeposit: "PARA YATIR",
|
|
23
|
-
loading: "Yükleniyor ..."
|
|
24
|
-
},
|
|
25
|
-
ro: {
|
|
26
|
-
titleDeposit: "Depunere",
|
|
27
|
-
loading: "Se încarcă..."
|
|
28
|
-
},
|
|
29
|
-
es: {
|
|
30
|
-
titleDeposit: "Deposita",
|
|
31
|
-
loading: "Cargando ..."
|
|
32
|
-
},
|
|
33
|
-
pt: {
|
|
34
|
-
titleDeposit: "Depósito",
|
|
35
|
-
loading: "Carregando, por favor espere ..."
|
|
36
|
-
},
|
|
37
|
-
hr: {
|
|
38
|
-
titleDeposit: "Uplata",
|
|
39
|
-
loading: "Učitavanje"
|
|
40
|
-
},
|
|
41
|
-
"pt-br": {
|
|
42
|
-
titleDeposit: "Depositar",
|
|
43
|
-
Loading: "Carregando, por favor espere..."
|
|
44
|
-
},
|
|
45
|
-
"es-mx": {
|
|
46
|
-
titleDeposit: "Depositar",
|
|
47
|
-
Loading: "Cargando, por favor espere..."
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
function ce(a) {
|
|
51
|
-
ee(a, "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)}");
|
|
52
|
-
}
|
|
53
|
-
function de(a) {
|
|
54
|
-
let e, i, r, s, l, m, c, u, y, o, n = (
|
|
55
|
-
/*$_*/
|
|
56
|
-
a[4]("titleDeposit") + ""
|
|
57
|
-
), h, b, v;
|
|
58
|
-
return {
|
|
59
|
-
c() {
|
|
60
|
-
e = _("div"), i = M("svg"), r = M("defs"), s = M("style"), l = C(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = M("g"), c = M("g"), u = M("path"), y = L(), o = _("h2"), h = C(n), d(u, "class", "aaa"), d(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(u, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "15"), d(i, "height", "15"), d(i, "viewBox", "0 0 15 15"), d(o, "class", "DepositTitleMobile"), d(e, "class", "MenuReturnButton");
|
|
61
|
-
},
|
|
62
|
-
m(g, k) {
|
|
63
|
-
T(g, e, k), p(e, i), p(i, r), p(r, s), p(s, l), p(i, m), p(m, c), p(c, u), p(e, y), p(e, o), p(o, h), b || (v = se(
|
|
64
|
-
e,
|
|
65
|
-
"click",
|
|
66
|
-
/*click_handler*/
|
|
67
|
-
a[17]
|
|
68
|
-
), b = !0);
|
|
69
|
-
},
|
|
70
|
-
p(g, k) {
|
|
71
|
-
k & /*$_*/
|
|
72
|
-
16 && n !== (n = /*$_*/
|
|
73
|
-
g[4]("titleDeposit") + "") && E(h, n);
|
|
74
|
-
},
|
|
75
|
-
d(g) {
|
|
76
|
-
g && S(e), b = !1, v();
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
function he(a) {
|
|
81
|
-
let e, i, r;
|
|
82
|
-
return {
|
|
83
|
-
c() {
|
|
84
|
-
e = _("div"), i = _("iframe"), A(i.src, r = /*iframeUrl*/
|
|
85
|
-
a[3]) || d(i, "src", r), d(i, "title", "Deposit Iframe"), d(e, "class", "DepositIframeWrapper");
|
|
86
|
-
},
|
|
87
|
-
m(s, l) {
|
|
88
|
-
T(s, e, l), p(e, i);
|
|
89
|
-
},
|
|
90
|
-
p(s, l) {
|
|
91
|
-
l & /*iframeUrl*/
|
|
92
|
-
8 && !A(i.src, r = /*iframeUrl*/
|
|
93
|
-
s[3]) && d(i, "src", r);
|
|
94
|
-
},
|
|
95
|
-
d(s) {
|
|
96
|
-
s && S(e);
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
function pe(a) {
|
|
101
|
-
let e, i = (
|
|
102
|
-
/*$_*/
|
|
103
|
-
a[4]("loading") + ""
|
|
104
|
-
), r;
|
|
105
|
-
return {
|
|
106
|
-
c() {
|
|
107
|
-
e = _("p"), r = C(i);
|
|
108
|
-
},
|
|
109
|
-
m(s, l) {
|
|
110
|
-
T(s, e, l), p(e, r);
|
|
111
|
-
},
|
|
112
|
-
p(s, l) {
|
|
113
|
-
l & /*$_*/
|
|
114
|
-
16 && i !== (i = /*$_*/
|
|
115
|
-
s[4]("loading") + "") && E(r, i);
|
|
116
|
-
},
|
|
117
|
-
d(s) {
|
|
118
|
-
s && S(e);
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
function ue(a) {
|
|
123
|
-
let e, i, r, s = (
|
|
124
|
-
/*$_*/
|
|
125
|
-
a[4]("titleDeposit") + ""
|
|
126
|
-
), l, m, c = (
|
|
127
|
-
/*isMobile*/
|
|
128
|
-
a[5] && de(a)
|
|
129
|
-
);
|
|
130
|
-
function u(n, h) {
|
|
131
|
-
return (
|
|
132
|
-
/*isLoading*/
|
|
133
|
-
n[1] ? pe : he
|
|
134
|
-
);
|
|
135
|
-
}
|
|
136
|
-
let y = u(a), o = y(a);
|
|
137
|
-
return {
|
|
138
|
-
c() {
|
|
139
|
-
e = _("div"), c && c.c(), i = L(), r = _("h2"), l = C(s), m = L(), o.c(), d(r, "class", "DepositTitle " + /*isMobile*/
|
|
140
|
-
(a[5] ? "DepositTitleNone" : "")), d(e, "class", "DepositWrapper " + /*isMobile*/
|
|
141
|
-
(a[5] ? "DepositWrapperMobile" : "")), W(
|
|
142
|
-
e,
|
|
143
|
-
"--dynamic-height",
|
|
144
|
-
/*dynamicHeight*/
|
|
145
|
-
a[2]
|
|
146
|
-
);
|
|
147
|
-
},
|
|
148
|
-
m(n, h) {
|
|
149
|
-
T(n, e, h), c && c.m(e, null), p(e, i), p(e, r), p(r, l), p(e, m), o.m(e, null), a[18](e);
|
|
150
|
-
},
|
|
151
|
-
p(n, [h]) {
|
|
152
|
-
/*isMobile*/
|
|
153
|
-
n[5] && c.p(n, h), h & /*$_*/
|
|
154
|
-
16 && s !== (s = /*$_*/
|
|
155
|
-
n[4]("titleDeposit") + "") && E(l, s), y === (y = u(n)) && o ? o.p(n, h) : (o.d(1), o = y(n), o && (o.c(), o.m(e, null))), h & /*dynamicHeight*/
|
|
156
|
-
4 && W(
|
|
157
|
-
e,
|
|
158
|
-
"--dynamic-height",
|
|
159
|
-
/*dynamicHeight*/
|
|
160
|
-
n[2]
|
|
161
|
-
);
|
|
162
|
-
},
|
|
163
|
-
i: P,
|
|
164
|
-
o: P,
|
|
165
|
-
d(n) {
|
|
166
|
-
n && S(e), c && c.d(), o.d(), a[18](null);
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
}
|
|
170
|
-
function ge(a, e, i) {
|
|
171
|
-
let r, s;
|
|
172
|
-
te(a, oe, (t) => i(4, s = t));
|
|
173
|
-
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: u = "en" } = e, { hasdefaultamount: y = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: n = "" } = e, { translationurl: h = "" } = e, { playercurrency: b = "" } = e, { shortcashierenabled: v = "false" } = e, g, k = window.navigator.userAgent, R = ie(k) !== "PC", B = !0, U, x = 0, F = "";
|
|
174
|
-
const G = () => {
|
|
175
|
-
fetch(h).then((w) => w.json()).then((w) => {
|
|
176
|
-
Object.keys(w).forEach((f) => {
|
|
177
|
-
j(f, w[f]);
|
|
178
|
-
});
|
|
179
|
-
}).catch((w) => {
|
|
180
|
-
console.log(w);
|
|
181
|
-
});
|
|
182
|
-
};
|
|
183
|
-
Object.keys(z).forEach((t) => {
|
|
184
|
-
j(t, z[t]);
|
|
185
|
-
});
|
|
186
|
-
const H = () => {
|
|
187
|
-
window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
|
|
188
|
-
}, I = (t) => {
|
|
189
|
-
if (t.data) {
|
|
190
|
-
switch (t.data.type) {
|
|
191
|
-
case "ProfileDetailsData":
|
|
192
|
-
i(7, b = t.data.profileDetails.currency);
|
|
193
|
-
break;
|
|
194
|
-
}
|
|
195
|
-
switch (t.data["MMFE:setQuickDepositHeight"] && i(2, U = t.data["MMFE:setQuickDepositHeight"].toString() + "px"), t.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), t.data.redirect) {
|
|
196
|
-
case "mm-hc-casino":
|
|
197
|
-
window.postMessage({ type: "GoToCasino" }, window.location.href);
|
|
198
|
-
break;
|
|
199
|
-
case "mm-hc-sports":
|
|
200
|
-
window.postMessage({ type: "GoToSports" }, window.location.href);
|
|
201
|
-
break;
|
|
202
|
-
case "mm-hc-contact":
|
|
203
|
-
window.postMessage({ type: "GoToCustomerSupport" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href);
|
|
204
|
-
break;
|
|
205
|
-
case "mm-hc-back-to-merchant":
|
|
206
|
-
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
207
|
-
break;
|
|
208
|
-
case "mm-wm-hc-init-deposit":
|
|
209
|
-
window.postMessage(
|
|
210
|
-
{
|
|
211
|
-
type: "RedirectWithdrawDepositCloseModal"
|
|
212
|
-
},
|
|
213
|
-
window.location.href
|
|
214
|
-
);
|
|
215
|
-
break;
|
|
216
|
-
case "mm-wm-hc-init-deposit-quick":
|
|
217
|
-
window.postMessage({ type: "CloseShortCashier" }, window.location.href);
|
|
218
|
-
break;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
}, N = () => {
|
|
222
|
-
let t = new URL(`${l}/v1/player/${c}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);
|
|
223
|
-
if (t.searchParams.append("language", u), r && t.searchParams.append("isShortCashier", v), y)
|
|
224
|
-
switch (b) {
|
|
225
|
-
case "USD":
|
|
226
|
-
x = 0.4;
|
|
227
|
-
break;
|
|
228
|
-
case "CDF":
|
|
229
|
-
x = 1e3;
|
|
230
|
-
break;
|
|
231
|
-
}
|
|
232
|
-
let w = {
|
|
233
|
-
method: "POST",
|
|
234
|
-
headers: {
|
|
235
|
-
"X-SessionId": m,
|
|
236
|
-
currency: b || "EUR",
|
|
237
|
-
amount: x,
|
|
238
|
-
cashierMode: "Default",
|
|
239
|
-
IsShortCashier: v,
|
|
240
|
-
accept: "application/json"
|
|
241
|
-
}
|
|
242
|
-
};
|
|
243
|
-
fetch(t.href, w).then((f) => f.json()).then(
|
|
244
|
-
(f) => {
|
|
245
|
-
i(1, B = !1), i(3, F = f.CashierUrl);
|
|
246
|
-
},
|
|
247
|
-
(f) => {
|
|
248
|
-
console.error(f);
|
|
249
|
-
}
|
|
250
|
-
);
|
|
251
|
-
}, q = () => {
|
|
252
|
-
le(u);
|
|
253
|
-
}, O = () => {
|
|
254
|
-
let t = document.createElement("style");
|
|
255
|
-
t.innerHTML = o, g.appendChild(t);
|
|
256
|
-
}, Q = () => {
|
|
257
|
-
let t = new URL(n), w = document.createElement("style");
|
|
258
|
-
fetch(t.href).then((f) => f.text()).then((f) => {
|
|
259
|
-
w.innerHTML = f, setTimeout(
|
|
260
|
-
() => {
|
|
261
|
-
g.appendChild(w);
|
|
262
|
-
},
|
|
263
|
-
1
|
|
264
|
-
);
|
|
265
|
-
});
|
|
266
|
-
};
|
|
267
|
-
ae(() => (window.addEventListener("message", I, !1), () => {
|
|
268
|
-
window.removeEventListener("message", I);
|
|
269
|
-
}));
|
|
270
|
-
const X = () => H();
|
|
271
|
-
function Y(t) {
|
|
272
|
-
ne[t ? "unshift" : "push"](() => {
|
|
273
|
-
g = t, i(0, g);
|
|
274
|
-
});
|
|
275
|
-
}
|
|
276
|
-
return a.$$set = (t) => {
|
|
277
|
-
"endpoint" in t && i(8, l = t.endpoint), "session" in t && i(9, m = t.session), "playerid" in t && i(10, c = t.playerid), "lang" in t && i(11, u = t.lang), "hasdefaultamount" in t && i(12, y = t.hasdefaultamount), "clientstyling" in t && i(13, o = t.clientstyling), "clientstylingurl" in t && i(14, n = t.clientstylingurl), "translationurl" in t && i(15, h = t.translationurl), "playercurrency" in t && i(7, b = t.playercurrency), "shortcashierenabled" in t && i(16, v = t.shortcashierenabled);
|
|
278
|
-
}, a.$$.update = () => {
|
|
279
|
-
a.$$.dirty & /*lang*/
|
|
280
|
-
2048 && u && q(), a.$$.dirty & /*shortcashierenabled*/
|
|
281
|
-
65536 && (r = v.toLocaleLowerCase() === "true"), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
282
|
-
16385 && n && g && Q(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
283
|
-
8193 && o && g && O(), a.$$.dirty & /*translationurl*/
|
|
284
|
-
32768 && h && G(), a.$$.dirty & /*session, playerid, endpoint, playercurrency, lang, shortcashierenabled*/
|
|
285
|
-
69504 && m && c && l && b && u && v && N();
|
|
286
|
-
}, [
|
|
287
|
-
g,
|
|
288
|
-
B,
|
|
289
|
-
U,
|
|
290
|
-
F,
|
|
291
|
-
s,
|
|
292
|
-
R,
|
|
293
|
-
H,
|
|
294
|
-
b,
|
|
295
|
-
l,
|
|
296
|
-
m,
|
|
297
|
-
c,
|
|
298
|
-
u,
|
|
299
|
-
y,
|
|
300
|
-
o,
|
|
301
|
-
n,
|
|
302
|
-
h,
|
|
303
|
-
v,
|
|
304
|
-
X,
|
|
305
|
-
Y
|
|
306
|
-
];
|
|
307
|
-
}
|
|
308
|
-
class me extends J {
|
|
309
|
-
constructor(e) {
|
|
310
|
-
super(), K(
|
|
311
|
-
this,
|
|
312
|
-
e,
|
|
313
|
-
ge,
|
|
314
|
-
ue,
|
|
315
|
-
$,
|
|
316
|
-
{
|
|
317
|
-
endpoint: 8,
|
|
318
|
-
session: 9,
|
|
319
|
-
playerid: 10,
|
|
320
|
-
lang: 11,
|
|
321
|
-
hasdefaultamount: 12,
|
|
322
|
-
clientstyling: 13,
|
|
323
|
-
clientstylingurl: 14,
|
|
324
|
-
translationurl: 15,
|
|
325
|
-
playercurrency: 7,
|
|
326
|
-
shortcashierenabled: 16
|
|
327
|
-
},
|
|
328
|
-
ce
|
|
329
|
-
);
|
|
330
|
-
}
|
|
331
|
-
get endpoint() {
|
|
332
|
-
return this.$$.ctx[8];
|
|
333
|
-
}
|
|
334
|
-
set endpoint(e) {
|
|
335
|
-
this.$$set({ endpoint: e }), D();
|
|
336
|
-
}
|
|
337
|
-
get session() {
|
|
338
|
-
return this.$$.ctx[9];
|
|
339
|
-
}
|
|
340
|
-
set session(e) {
|
|
341
|
-
this.$$set({ session: e }), D();
|
|
342
|
-
}
|
|
343
|
-
get playerid() {
|
|
344
|
-
return this.$$.ctx[10];
|
|
345
|
-
}
|
|
346
|
-
set playerid(e) {
|
|
347
|
-
this.$$set({ playerid: e }), D();
|
|
348
|
-
}
|
|
349
|
-
get lang() {
|
|
350
|
-
return this.$$.ctx[11];
|
|
351
|
-
}
|
|
352
|
-
set lang(e) {
|
|
353
|
-
this.$$set({ lang: e }), D();
|
|
354
|
-
}
|
|
355
|
-
get hasdefaultamount() {
|
|
356
|
-
return this.$$.ctx[12];
|
|
357
|
-
}
|
|
358
|
-
set hasdefaultamount(e) {
|
|
359
|
-
this.$$set({ hasdefaultamount: e }), D();
|
|
360
|
-
}
|
|
361
|
-
get clientstyling() {
|
|
362
|
-
return this.$$.ctx[13];
|
|
363
|
-
}
|
|
364
|
-
set clientstyling(e) {
|
|
365
|
-
this.$$set({ clientstyling: e }), D();
|
|
366
|
-
}
|
|
367
|
-
get clientstylingurl() {
|
|
368
|
-
return this.$$.ctx[14];
|
|
369
|
-
}
|
|
370
|
-
set clientstylingurl(e) {
|
|
371
|
-
this.$$set({ clientstylingurl: e }), D();
|
|
372
|
-
}
|
|
373
|
-
get translationurl() {
|
|
374
|
-
return this.$$.ctx[15];
|
|
375
|
-
}
|
|
376
|
-
set translationurl(e) {
|
|
377
|
-
this.$$set({ translationurl: e }), D();
|
|
378
|
-
}
|
|
379
|
-
get playercurrency() {
|
|
380
|
-
return this.$$.ctx[7];
|
|
381
|
-
}
|
|
382
|
-
set playercurrency(e) {
|
|
383
|
-
this.$$set({ playercurrency: e }), D();
|
|
384
|
-
}
|
|
385
|
-
get shortcashierenabled() {
|
|
386
|
-
return this.$$.ctx[16];
|
|
387
|
-
}
|
|
388
|
-
set shortcashierenabled(e) {
|
|
389
|
-
this.$$set({ shortcashierenabled: e }), D();
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
re(me, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, shortcashierenabled: {} }, [], [], !0);
|
|
393
|
-
export {
|
|
394
|
-
me as default
|
|
395
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CMYMtWfC.cjs");function x(n,t){e.addMessages(n,t)}function A(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,l,r,c,m,p,h,f,o,s=n[4]("titleDeposit")+"",d,w,b;return{c(){t=e.element("div"),a=e.svg_element("svg"),l=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"),p=e.svg_element("g"),h=e.svg_element("path"),f=e.space(),o=e.element("h2"),d=e.text(s),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(p,"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(o,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(u,D){e.insert(u,t,D),e.append(t,a),e.append(a,l),e.append(l,r),e.append(r,c),e.append(a,m),e.append(m,p),e.append(p,h),e.append(t,f),e.append(t,o),e.append(o,d),w||(b=e.listen(t,"click",n[17]),w=!0)},p(u,D){D&16&&s!==(s=u[4]("titleDeposit")+"")&&e.set_data(d,s)},d(u){u&&e.detach(t),w=!1,b()}}}function z(n){let t,a,l;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,l=n[3])||e.attr(a,"src",l),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,l=r[3])&&e.attr(a,"src",l)},d(r){r&&e.detach(t)}}}function G(n){let t,a=n[4]("loading")+"",l;return{c(){t=e.element("p"),l=e.text(a)},m(r,c){e.insert(r,t,c),e.append(t,l)},p(r,c){c&16&&a!==(a=r[4]("loading")+"")&&e.set_data(l,a)},d(r){r&&e.detach(t)}}}function q(n){let t,a,l,r=n[4]("titleDeposit")+"",c,m,p=n[5]&&j(n);function h(s,d){return s[1]?G:z}let f=h(n),o=f(n);return{c(){t=e.element("div"),p&&p.c(),a=e.space(),l=e.element("h2"),c=e.text(r),m=e.space(),o.c(),e.attr(l,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",n[2])},m(s,d){e.insert(s,t,d),p&&p.m(t,null),e.append(t,a),e.append(t,l),e.append(l,c),e.append(t,m),o.m(t,null),n[18](t)},p(s,[d]){s[5]&&p.p(s,d),d&16&&r!==(r=s[4]("titleDeposit")+"")&&e.set_data(c,r),f===(f=h(s))&&o?o.p(s,d):(o.d(1),o=f(s),o&&(o.c(),o.m(t,null))),d&4&&e.set_style(t,"--dynamic-height",s[2])},i:e.noop,o:e.noop,d(s){s&&e.detach(t),p&&p.d(),o.d(),n[18](null)}}}function N(n,t,a){let l,r;e.component_subscribe(n,e.$format,i=>a(4,r=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:p=""}=t,{lang:h="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:o=""}=t,{clientstylingurl:s=""}=t,{translationurl:d=""}=t,{playercurrency:w=""}=t,{shortcashierenabled:b="false"}=t,u,D=window.navigator.userAgent,v=e.getDevice(D)!=="PC",M=!0,k,_=0,C="";const R=()=>{fetch(d).then(y=>y.json()).then(y=>{Object.keys(y).forEach(g=>{x(g,y[g])})}).catch(y=>{console.log(y)})};Object.keys(L).forEach(i=>{x(i,L[i])});const S=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},T=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,w=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}}},B=()=>{let i=new URL(`${c}/v1/player/${p}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",h),l&&i.searchParams.append("isShortCashier",b),f)switch(w){case"USD":_=.4;break;case"CDF":_=1e3;break}let y={method:"POST",headers:{"X-SessionId":m,currency:w||"EUR",amount:_,cashierMode:"Default",IsShortCashier:b,accept:"application/json"}};fetch(i.href,y).then(g=>g.json()).then(g=>{a(1,M=!1),a(3,C=g.CashierUrl)},g=>{console.error(g)})},P=()=>{A(h)},U=()=>{let i=document.createElement("style");i.innerHTML=o,u.appendChild(i)},F=()=>{let i=new URL(s),y=document.createElement("style");fetch(i.href).then(g=>g.text()).then(g=>{y.innerHTML=g,setTimeout(()=>{u.appendChild(y)},1)})};e.onMount(()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)}));const H=()=>S();function I(i){e.binding_callbacks[i?"unshift":"push"](()=>{u=i,a(0,u)})}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,p=i.playerid),"lang"in i&&a(11,h=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,o=i.clientstyling),"clientstylingurl"in i&&a(14,s=i.clientstylingurl),"translationurl"in i&&a(15,d=i.translationurl),"playercurrency"in i&&a(7,w=i.playercurrency),"shortcashierenabled"in i&&a(16,b=i.shortcashierenabled)},n.$$.update=()=>{n.$$.dirty&2048&&h&&P(),n.$$.dirty&65536&&(l=b.toLocaleLowerCase()==="true"),n.$$.dirty&16385&&s&&u&&F(),n.$$.dirty&8193&&o&&u&&U(),n.$$.dirty&32768&&d&&R(),n.$$.dirty&69504&&m&&p&&c&&w&&h&&b&&B()},[u,M,k,C,r,v,S,w,c,m,p,h,f,o,s,d,b,H,I]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,q,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,playercurrency:7,shortcashierenabled:16},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 playercurrency(){return this.$$.ctx[7]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[16]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(E,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},playercurrency:{},shortcashierenabled:{}},[],[],!0);exports.default=E;
|