@everymatrix/player-account-controller 1.88.20 → 1.88.21
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-DGD3Wimt.cjs → GeneralLogout-B0ctrwec.cjs} +1 -1
- package/components/{GeneralLogout-Dc7cjBgO.js → GeneralLogout-CMM8Af78.js} +1 -1
- package/components/{GeneralLogout-Bv7_Hjpi.js → GeneralLogout-C_zJJzbi.js} +1 -1
- package/components/{PlayerAccountBettingHistory-D5czWEzh.js → PlayerAccountBettingHistory-CV9JC5S6.js} +1 -1
- package/components/{PlayerAccountBettingHistory-CPKchWiz.js → PlayerAccountBettingHistory-DcqLlY-A.js} +1 -1
- package/components/{PlayerAccountBettingHistory-Cj5xdLaY.cjs → PlayerAccountBettingHistory-DvmYBfEm.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CM6HtOe5.js → PlayerAccountBiometrics-BHRbHO8I.js} +2 -2
- package/components/{PlayerAccountBiometrics-Cox3uLdn.cjs → PlayerAccountBiometrics-BpjkFJgM.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-B3N1k1iq.js → PlayerAccountBiometrics-Dl5lvg29.js} +2 -2
- package/components/{PlayerAccountBiometricsAction-B6piKdRw.cjs → PlayerAccountBiometricsAction-C-nttjK-.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-C88wDzzh.js → PlayerAccountBiometricsAction-CEZnm4h_.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-mwuBOkUR.js → PlayerAccountBiometricsAction-ClVkJ53m.js} +1 -1
- package/components/{PlayerAccountClosure-tb5YZKqU.cjs → PlayerAccountClosure-C5SlH1vg.cjs} +1 -1
- package/components/{PlayerAccountClosure-BhN6NrfV.js → PlayerAccountClosure-CvaiCeXc.js} +1 -1
- package/components/{PlayerAccountClosure-fmisGWID.js → PlayerAccountClosure-DKsLZEOI.js} +1 -1
- package/components/{PlayerAccountController-CoF8Ufpg.cjs → PlayerAccountController-CdKFocYf.cjs} +2 -2
- package/components/{PlayerAccountController-DQUfjs7n.js → PlayerAccountController-CudynMKl.js} +23 -23
- package/components/{PlayerAccountController-OnOGVd86.js → PlayerAccountController-kA06qiIe.js} +23 -23
- package/components/{PlayerAccountGamingLimits-CtzzOiXA.cjs → PlayerAccountGamingLimits-BGgN6ayH.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-XrMt7u7_.js → PlayerAccountGamingLimits-BUvUtP0d.js} +2 -2
- package/components/{PlayerAccountGamingLimits-DsrYUKe6.js → PlayerAccountGamingLimits-BXtB1h26.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CLaAS2Ya.js → PlayerAccountGamingLimitsConfirmationModal-YNl9z4v1.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BbIfSBPs.js → PlayerAccountGamingLimitsConfirmationModal-ZYftIdtt.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BrKDmsVQ.cjs → PlayerAccountGamingLimitsConfirmationModal-lAiPRcQx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-C_PMXvBa.js → PlayerAccountGamingLimitsGroupEdit-5xzERsGb.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-kbnxcDOz.js → PlayerAccountGamingLimitsGroupEdit-Dm4YhSKW.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-BmPsy0_I.cjs → PlayerAccountGamingLimitsGroupEdit-ro0XUl5l.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-DSAnHmkK.cjs → PlayerAccountGamingLimitsHistory2-B0TPOwSA.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-BIGNoSYf.js → PlayerAccountGamingLimitsHistory2-C0ZYeWMp.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-Cqivb7ZG.js → PlayerAccountGamingLimitsHistory2-D9EZI19x.js} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DeubKzZl.cjs → PlayerAccountGamingLimitsInfoCard-D3C9dIoR.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DFEVmssC.js → PlayerAccountGamingLimitsInfoCard-D9uRtdvA.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-DVDZWmcb.js → PlayerAccountGamingLimitsInfoCard-e04nylyU.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CNgbkY5W.js → PlayerAccountGamingLimitsPage2Gm16-BstN0eiI.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CaigQ1-b.cjs → PlayerAccountGamingLimitsPage2Gm16-D9eCu8Z7.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Byd7W9fp.js → PlayerAccountGamingLimitsPage2Gm16-ETtZap88.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-ruhXDuWD.js → PlayerAccountGamingLimitsPopup-CfGJfdH5.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Q5MGLJrx.cjs → PlayerAccountGamingLimitsPopup-D_H_YI--.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DqlkKlF7.js → PlayerAccountGamingLimitsPopup-Q9JCFgGm.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DyLaxKVg.cjs → PlayerAccountGamingLimitsWrapper2-COngwAL6.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-Cgg1CFGN.js → PlayerAccountGamingLimitsWrapper2-DFXlhI65.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-9FI5uyAC.js → PlayerAccountGamingLimitsWrapper2-Jj9BzgEw.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-PBoPY8nC.js → PlayerAccountGeneralConfirmationModal-CX0VTCLV.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-B0yz-Cc-.js → PlayerAccountGeneralConfirmationModal-_z14ejh8.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-B7qYPGX1.cjs → PlayerAccountGeneralConfirmationModal-zldUwtQE.cjs} +1 -1
- package/components/{PlayerAccountMenu-BJuktStr.cjs → PlayerAccountMenu-B-o4MRWl.cjs} +1 -1
- package/components/{PlayerAccountMenu-jfxw-IKp.js → PlayerAccountMenu-BiloSMoo.js} +2 -2
- package/components/{PlayerAccountMenu-BzRHDdzL.js → PlayerAccountMenu-CwAvgv5t.js} +2 -2
- package/components/{PlayerAccountModal-D2KtLtVv.cjs → PlayerAccountModal-B6E0hk4f.cjs} +1 -1
- package/components/{PlayerAccountModal-Bb9su2hg.js → PlayerAccountModal-Cr_8BTDn.js} +1 -1
- package/components/{PlayerAccountModal-CUlfGYO1.js → PlayerAccountModal-DE5MGUqY.js} +1 -1
- package/components/{PlayerAccountNotifications-BP8c2-g1.js → PlayerAccountNotifications-BGjQJ28I.js} +1 -1
- package/components/{PlayerAccountNotifications-Uaxt-shQ.cjs → PlayerAccountNotifications-DOCfDTe6.cjs} +1 -1
- package/components/{PlayerAccountNotifications-19HMXeqY.js → PlayerAccountNotifications-XhJ0A8P4.js} +1 -1
- package/components/{PlayerAccountProductRestriction-CcppEvXv.js → PlayerAccountProductRestriction-BZLJC7Js.js} +3 -3
- package/components/{PlayerAccountProductRestriction-CKr5GwHB.js → PlayerAccountProductRestriction-Bds7Htrw.js} +3 -3
- package/components/{PlayerAccountProductRestriction-DVQHhRFr.cjs → PlayerAccountProductRestriction-aTBY4hbi.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-BRrIOaR5.js → PlayerAccountReviewFrequency-B6C86cIQ.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-C4yrP9Nu.cjs → PlayerAccountReviewFrequency-BHGtR-rr.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-OWmcAGuw.js → PlayerAccountReviewFrequency-DBx8SG5m.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-DFpFjgWl.js → PlayerAccountSelfExclusion-IOVdWghP.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-JyiDck3P.js → PlayerAccountSelfExclusion-LY3OFV_J.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-BXeJFVQL.cjs → PlayerAccountSelfExclusion-oCc8Hd3H.cjs} +1 -1
- package/components/{PlayerAccountTimeout-BrapQ1rx.js → PlayerAccountTimeout-CB1-t4Kn.js} +3 -3
- package/components/{PlayerAccountTimeout-BI8ChPm8.js → PlayerAccountTimeout-CdsPEruP.js} +3 -3
- package/components/{PlayerAccountTimeout-BRo_Dkho.cjs → PlayerAccountTimeout-Dj0NdfFv.cjs} +2 -2
- package/components/{PlayerAccountTransactionsHistory-DKRbk-um.cjs → PlayerAccountTransactionsHistory-KMMVHubw.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-B70GCHZR.js → PlayerAccountTransactionsHistory-pNiATofi.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-T_xEdN-Q.js → PlayerAccountTransactionsHistory-qJJXGOlQ.js} +4 -4
- package/components/{PlayerActiveBonuses-D0Hbj7rk.js → PlayerActiveBonuses-BwSInKfe.js} +2 -2
- package/components/{PlayerActiveBonuses-8-6rIuoH.cjs → PlayerActiveBonuses-Cqq1Bt3S.cjs} +1 -1
- package/components/{PlayerActiveBonuses-ByiFP0Ip.js → PlayerActiveBonuses-Deuu8YTJ.js} +2 -2
- package/components/{PlayerBonusCard-B-s1fbHb.js → PlayerBonusCard-D7A79tdp.js} +2 -2
- package/components/{PlayerBonusCard-BaPk9c2Q.js → PlayerBonusCard-DGKjTpD8.js} +2 -2
- package/components/{PlayerBonusCard-nui3-xpw.cjs → PlayerBonusCard-DwrNtbPm.cjs} +1 -1
- package/components/{PlayerBonusHistory-CkeQ27YF.cjs → PlayerBonusHistory-B8nZtro9.cjs} +1 -1
- package/components/{PlayerBonusHistory-DwkJkHgZ.js → PlayerBonusHistory-Ch6IIa4s.js} +2 -2
- package/components/{PlayerBonusHistory-Cb_cD2n7.js → PlayerBonusHistory-DDLE2jP9.js} +2 -2
- package/components/{PlayerChangePassword-ClstZN0P.js → PlayerChangePassword-BuirCVZt.js} +1 -1
- package/components/{PlayerChangePassword-CQ35iXXe.cjs → PlayerChangePassword-C0_YhIbW.cjs} +1 -1
- package/components/{PlayerChangePassword-DGBuSXR1.js → PlayerChangePassword-CTE7r1mA.js} +1 -1
- package/components/{PlayerDeposit-TRfLahyJ.js → PlayerDeposit-CQs3inBp.js} +1 -1
- package/components/{PlayerDeposit-BGH9NaxI.cjs → PlayerDeposit-CxCLJxjO.cjs} +1 -1
- package/components/{PlayerDeposit-DR59d-Ms.js → PlayerDeposit-mBeR32pl.js} +1 -1
- package/components/{PlayerGamingHistory-BHogc5B_.js → PlayerGamingHistory-C52daKtB.js} +3 -3
- package/components/{PlayerGamingHistory-BxfoN5ok.js → PlayerGamingHistory-CRVtCpcV.js} +3 -3
- package/components/{PlayerGamingHistory-DTo0VJkP.cjs → PlayerGamingHistory-DAiOa-Kv.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-CHhIhe9Y.js → PlayerPendingWithdrawals-C-tReSuf.js} +1 -1
- package/components/{PlayerPendingWithdrawals-BkaEAPGq.cjs → PlayerPendingWithdrawals-D8cPnpm0.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-D0KMnA0g.js → PlayerPendingWithdrawals-Wx8Q4KB4.js} +1 -1
- package/components/{PlayerProfileInfo-DsQrebpF.js → PlayerProfileInfo-CELTRH0b.js} +2 -2
- package/components/{PlayerProfileInfo-oMqRDNUE.cjs → PlayerProfileInfo-CMS0Ye5t.cjs} +1 -1
- package/components/{PlayerProfileInfo-Dn6dJ29_.js → PlayerProfileInfo-D3VDLB_y.js} +2 -2
- package/components/{PlayerRealityCheck-j3DKSjyd.cjs → PlayerRealityCheck-BoVtFs6a.cjs} +1 -1
- package/components/{PlayerRealityCheck-CoAQY0az.js → PlayerRealityCheck-CqmFSsIR.js} +1 -1
- package/components/{PlayerRealityCheck-UGpTBMix.js → PlayerRealityCheck-DL5Q8oZe.js} +1 -1
- package/components/{PlayerTransactionHistory-jQD5D0At.js → PlayerTransactionHistory--cAaLdgY.js} +1 -1
- package/components/{PlayerTransactionHistory-CHIZWeJA.js → PlayerTransactionHistory-BNyKpGqM.js} +1 -1
- package/components/{PlayerTransactionHistory-Dawp3VCA.cjs → PlayerTransactionHistory-q6Go6YA5.cjs} +1 -1
- package/components/{PlayerWithdrawal-B9Nrzcn3.cjs → PlayerWithdrawal-Bb5LLCvR.cjs} +1 -1
- package/components/{PlayerWithdrawal-Chhr1mgD.js → PlayerWithdrawal-CWqp_Uxw.js} +1 -1
- package/components/{PlayerWithdrawal-BBEhF3E_.js → PlayerWithdrawal-DRdv9-Sy.js} +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/{index-2ff63899-CxlsRFEC.js → index-2ff63899-BsECgNzX.js} +1 -1
- package/stencil/{index-2ff63899-CUfFeSdi.cjs → index-2ff63899-DXZPV76B.cjs} +1 -1
- package/stencil/{index-2ff63899-BVVddQHZ.js → index-2ff63899-XAPDAvql.js} +1 -1
- package/stencil/{player-step-up-auth_2-VW-Vue4F.js → player-step-up-auth_2-Bimf6Luo.js} +3 -3
- package/stencil/{player-step-up-auth_2-BAMz2k7_.js → player-step-up-auth_2-CIfpwOl9.js} +3 -3
- package/stencil/{player-step-up-auth_2-B0Ya0RCH.cjs → player-step-up-auth_2-CwF0H8Wx.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-Cb7StDz0.js → user-deposit-withdrawal-Bi1BXrUO.js} +1 -1
- package/stencil/{user-deposit-withdrawal-D3Pi2Gdp.cjs → user-deposit-withdrawal-CqLZIWmG.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-yEqp1nf2.js → user-deposit-withdrawal-DxwUk7kg.js} +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as Qe, $ as Xe, S as xe, i as $e, s as ei, f as $, b as ii, n as be, d as k, v as fe, t as S, q as te, r as d, c as T, m as u, w as ee, a5 as ti, e as L, p as M, x as K, u as C, g as oi, h as ai, o as ni, k as ue, l as Le, Q as li, a6 as de, j as si, L as ve, N as ke, O as ye, K as le, P as ri, z as mi, A as ui, B as ci, C as di, D as pi } from "./PlayerAccountController-
|
|
2
|
-
import "./PlayerAccountGamingLimitsInfoCard-
|
|
3
|
-
import "./PlayerAccountTimeout-
|
|
4
|
-
import { f as pe } from "./PlayerBonusHistory-
|
|
1
|
+
import { a as Qe, $ as Xe, S as xe, i as $e, s as ei, f as $, b as ii, n as be, d as k, v as fe, t as S, q as te, r as d, c as T, m as u, w as ee, a5 as ti, e as L, p as M, x as K, u as C, g as oi, h as ai, o as ni, k as ue, l as Le, Q as li, a6 as de, j as si, L as ve, N as ke, O as ye, K as le, P as ri, z as mi, A as ui, B as ci, C as di, D as pi } from "./PlayerAccountController-CudynMKl.js";
|
|
2
|
+
import "./PlayerAccountGamingLimitsInfoCard-D9uRtdvA.js";
|
|
3
|
+
import "./PlayerAccountTimeout-CdsPEruP.js";
|
|
4
|
+
import { f as pe } from "./PlayerBonusHistory-DDLE2jP9.js";
|
|
5
5
|
function Te(e, i) {
|
|
6
6
|
Qe(e, i);
|
|
7
7
|
}
|
|
@@ -264,7 +264,7 @@ if (typeof window != "undefined") {
|
|
|
264
264
|
}
|
|
265
265
|
};
|
|
266
266
|
};
|
|
267
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsConfirmationModal-
|
|
267
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsConfirmationModal-ZYftIdtt.js").then(
|
|
268
268
|
({ default: i }) => {
|
|
269
269
|
!customElements.get("player-account-gaming-limits-confirmation-modal") && customElements.define(
|
|
270
270
|
"player-account-gaming-limits-confirmation-modal",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-CoF8Ufpg.cjs");require("./PlayerAccountGamingLimitsInfoCard-DeubKzZl.cjs");require("./PlayerAccountTimeout-BRo_Dkho.cjs");const $=require("./PlayerBonusHistory-CkeQ27YF.cjs");function ne(t,i){e.addMessages(t,i)}function Ie(t){e.$locale.set(t)}const oe={en:{back:"Back to Gaming Limits",limit:"Limit",amount:"Amount",noLimit:"No limit",changeLimitsText:"Are you sure you want to change the {limit}s?",success:"Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"You have requested to remove this limit. This will be applied on",invalidInputMessageLimit:"The amount needs to be between 1 and 99,999,999.",invalidInputMessageTime:"The time amount needs to be greater than {minTime} and below {maxTime} minutes.",expirationDate:"Expiration Date:",save:"Save",changedLimitTextBefore:"Your limit has been changed or increased:",changedLimitTextAfter:"You will have to wait for the expiration date for your new limit to take effect.",daily:"Daily",weekly:"Weekly",monthly:"Monthly",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{back:"返回游戲限制",limit:"限制",amount:"數量",noLimit:"沒有限制t",changeLimitsText:"您確定要更改 {limit} 嗎?",success:"您的遊戲限制已成功設置。",remove:"您已請求取消此限制。 這將應用於",invalidInputMessageLimit:"金額需要在 0 到 99,999,999 之間",invalidInputMessageTime:"時間量需要大於 {minTime} 且低於 {maxTime} 分鐘",expirationDate:"截止日期:",save:"節省",changedLimitTextBefore:"您的限額已更改或增加:",changedLimitTextAfter:"您必須等待到期日期才能使新限制生效",daily:"日常的",weekly:"每周",monthly:"月刊",depositLimit:"存款限额",timeLimit:"时限",wageringLimit:"投注限额",lossLimit:"损失限额"},fr:{back:"Retour aux limites de jeu",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",limit:"Limite",amount:"Montant",noLimit:"Aucune limite",changeLimitsText:"Etes-vous sûr de vouloir changer les {limit}s??",success:"Vos limites de jeu ont été respectées.",remove:"Vous avez demandé à ce que cette limite soit supprimée,elle sera appliquée",invalidInputMessageLimit:"Le montant doit être compris entre 1 et 99,999,999.",invalidInputMessageTime:"La durée doit être supérieure au {minTime} et inférieur au {maxTime} minutes .",expirationDate:"Date d'expiration:",save:"Sauvez",changedLimitTextBefore:"Votre limit a été modifiée ou augmentée:",changedLimitTextAfter:"Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{back:"Înapoi la limite de joc",limit:"Limită",amount:"Sumă",noLimit:"Fără Limită",changeLimitsText:"Ești sigur că vrei să modifici {limit}?",success:"Limitele tale de joc au fost configurate cu success.",remove:"Ai solicitat eliminarea acestei limite. Acest lucru va avea loc la data expirării limitei",invalidInputMessageLimit:"Trebuie să setezi o sumă intre 1 și 99,999,999.",invalidInputMessageTime:"Trebuie să setezi o limită intre {minTime} minute și {maxTime} minute",expirationDate:"Dată Expirare:",save:"Salvează",changedLimitTextBefore:"Limita ta a fost schimbată sau a crescut:",changedLimitTextAfter:". Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere"},es:{back:"Regresa a límites de juego",limit:"Límite",amount:"Monto",noLimit:"Sin Límite",changeLimitsText:"Esta seguro que desea cambiar los {limit}es?",success:"Limite actualizado satisfactoriamente",remove:"Ha solicitado retirar este limite. Esto será aplicado",invalidInputMessageLimit:"El monto debe ser entre 1 y 99",invalidInputMessageTime:"La cantidad de tiempo debe ser superior a {minTime} y por debajo de {maxTime} minutos.",expirationDate:"Fecha de expiración:",save:"Guardar",changedLimitTextBefore:"Tú limite ha sido cambiado o incrementado:",changedLimitTextAfter:"Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia.",daily:"Diario",weekly:"Semanal",monthly:"Mensual",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{back:"Voltar para Limites de jogos",limit:"Limite",amount:"Montante",noLimit:"Sem limite",changeLimitsText:"Tem certeza de que deseja alterar os {limite}s?",success:"Seus limites de jogo foram definidos com sucesso.",remove:"Você solicitou a remoção deste limite. Isso será aplicado em",invalidInputMessageLimit:"O valor precisa estar entre 1 e 99.999.999",invalidInputMessageTime:"A quantidade de tempo precisa ser maior que {1} e menor que {99999999} minutos",expirationDate:"Data de Validade",save:"Guardar",changedLimitTextBefore:"Seu limite foi alterado ou aumentado:",changedLimitTextAfter:"Você terá que aguardar a data de expiração para que seu novo limite entre em vigor",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda"},hr:{back:"Povratak na ograničenja igranja",limit:"Limit",amount:"Iznos",noLimit:"Nema ograničenja",changeLimitsText:"Jeste li sigurni da želite promijeniti {limit}e?",success:"Uspješno",remove:"Zatražili ste uklanjanje ovog ograničenja. Ovo će se primijeniti na",invalidInputMessageLimit:"Iznos mora biti između 1 i 99",invalidInputMessageTime:"Vremenski iznos mora biti veći od {minTime} i manji od {maxTime} minuta.",expirationDate:"Datum isteka:",save:"Spremi",changedLimitTextBefore:"Vaše ograničenje je promijenjeno ili povećano:",changedLimitTextAfter:"Morat ćete pričekati datum isteka da bi vaše novo ograničenje stupilo na snagu.",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{back:"Retornar aos limites do jogo",limit:"Limite",amount:"Quantidade",noLimit:"Sem limite",changeLimitsText:"Tem certeza de que deseja alterar o(s) limite(s)?",success:"A operação bem-sucedida lorem Ipsum é simplesmente um texto fictício da indústria de impressão e composição tipográfica.",remove:"Você solicitou a remoção deste limite. Isto será aplicado a partir de",invalidInputMessageLimit:"A Quantia deve estar entre 1 e 99",invalidInputMessageTime:"A quantidade de tempo precisa ser maior que {minTime} e menor que {maxTime} minutos.",expirationDate:"Data de expiração:",save:"Manter",changedLimitTextBefore:"Seu limite de tempo foi alterado ou aumentado:",changedLimitTextAfter:"Você deve aguardar a data de expiração para que seu novo limite entre em vigor.",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{back:"Regresar a límites de juego",limit:"Límite",amount:"Monto",noLimit:"Sin límite",changeLimitsText:"¿Está seguro que quiere cambiar el/los límite(s)?",success:"Operación exitosa lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"Ha solicitado remover este límite. Esto se aplicará a partir de",invalidInputMessageLimit:"El monto debe ser entre 1 y 99,999,999",invalidInputMessageTime:"El monto de tiempo necesita ser mayor a {minTime} y menor a {maxTime} minutos.",expirationDate:"Fecha de expiración:",save:"Guardar",changedLimitTextBefore:"Tú límite de tiempo ha sido cambiado o aumentado:",changedLimitTextAfter:"Tiene que esperar a la fecha de expiración para que su nuevo límite entre en efecto.",daily:"Diario",weekly:"Semanal",monthly:"Mensual",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdida"},tr:{back:"Oyun Sınırlarına Geri Dön",limit:"Sınır",amount:"Miktar",noLimit:"Limit yok",changeLimitsText:"{limit}'leri değiştirmek istediğinizden emin misiniz?",success:"Başarı lorem Ipsum, basım ve dizgi endüstrisinin sahte metnidir.",remove:"Bu sınırın kaldırılmasını talep ettiniz. Bu şu tarihte uygulanacaktır:",invalidInputMessageLimit:"Tutarın 1 ile 99.999.999 arasında olması gerekir.",invalidInputMessageTime:"Süre miktarının {minTime} değerinden büyük ve {maxTime} dakikanın altında olması gerekir.",expirationDate:"Son kullanma tarihi:",save:"Kaydetmek",changedLimitTextBefore:"Limitiniz değiştirildi veya artırıldı:",changedLimitTextAfter:"Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir.",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"},"en-us":{back:"Back to Gaming Limits",limit:"Limit",amount:"Amount",noLimit:"No limit",changeLimitsText:"Are you sure you want to change the {limit}s?",success:"Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"You have requested to remove this limit. This will be applied on",invalidInputMessageLimit:"The amount needs to be between 1 and 99,999,999.",invalidInputMessageTime:"The time amount needs to be greater than {minTime} and below {maxTime} minutes.",expirationDate:"Expiration Date:",save:"Save",changedLimitTextBefore:"Your limit has been changed or increased:",changedLimitTextAfter:"You will have to wait for the expiration date for your new limit to take effect.",daily:"Daily",weekly:"Weekly",monthly:"Monthly",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}};if(typeof window!="undefined"){let t=function(i){return function(...a){try{return i.apply(this,a)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsConfirmationModal-BrKDmsVQ.cjs")).then(({default:i})=>{!customElements.get("player-account-gaming-limits-confirmation-modal")&&customElements.define("player-account-gaming-limits-confirmation-modal",i.element)})}function Ne(t){e.append_styles(t,"svelte-5vl9hz",".MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MyAccountCategoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MyAccountCategoryTitleNone{display:none !important}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditBackButton{display:inline-block;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:26px;font-weight:300;cursor:pointer;margin-bottom:30px}.AccountEditBackButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:var(--emw--color-gray-300, #58586B);background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:var(--emw--color-black, #000000)}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:30px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:10px;line-height:16px;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountEditFieldCustom{padding:3%}.AccountEditLimitsPeriodChangeContainer{background:var(--emw--color-gray-50, #F9F8F8);border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:var(--emw--color-gray-300, #58586B);font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #FD2839));font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative;padding-top:10px;width:94%}")}function le(t,i,a){const n=t.slice();return n[56]=i[a],n[57]=i,n[58]=a,n}function se(t,i,a){const n=t.slice();return n[59]=i[a],n}function re(t,i,a){const n=t.slice();return n[56]=i[a],n[58]=a,n}function je(t){let i,a,n,o,l,u,s,r,d,f,k=t[18]("back")+"",v,h,N;return{c(){i=e.element("div"),a=e.svg_element("svg"),n=e.svg_element("defs"),o=e.svg_element("style"),l=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),u=e.svg_element("g"),s=e.svg_element("g"),r=e.svg_element("path"),d=e.space(),f=e.element("h2"),v=e.text(k),e.attr(r,"class","aaa"),e.attr(r,"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(r,"transform","translate(15 15) rotate(180)"),e.attr(s,"transform","translate(20 158)"),e.attr(u,"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(f,"class","MyAccountCategoryTitleMobile"),e.attr(i,"class","MenuReturnButton")},m(p,g){e.insert(p,i,g),e.append(i,a),e.append(a,n),e.append(n,o),e.append(o,l),e.append(a,u),e.append(u,s),e.append(s,r),e.append(i,d),e.append(i,f),e.append(f,v),h||(N=e.listen(i,"click",t[22]),h=!0)},p(p,g){g[0]&262144&&k!==(k=p[18]("back")+"")&&e.set_data(v,k)},d(p){p&&e.detach(i),h=!1,N()}}}function me(t){let i,a,n=t[18]("success")+"",o;return{c(){i=e.element("div"),a=e.element("p"),o=e.text(n),e.attr(i,"class","AccountEditLimitSuccessfulChangeContainer")},m(l,u){e.insert(l,i,u),e.append(i,a),e.append(a,o)},p(l,u){u[0]&262144&&n!==(n=l[18]("success")+"")&&e.set_data(o,n)},d(l){l&&e.detach(i)}}}function ue(t){let i,a=e.ensure_array_like(t[14]),n=[];for(let o=0;o<a.length;o+=1)n[o]=pe(re(t,a,o));return{c(){i=e.element("div");for(let o=0;o<n.length;o+=1)n[o].c();e.attr(i,"class","AccountEditLimitSuccessfulChangeContainer")},m(o,l){e.insert(o,i,l);for(let u=0;u<n.length;u+=1)n[u]&&n[u].m(i,null)},p(o,l){if(l[0]&409600){a=e.ensure_array_like(o[14]);let u;for(u=0;u<a.length;u+=1){const s=re(o,a,u);n[u]?n[u].p(s,l):(n[u]=pe(s),n[u].c(),n[u].m(i,null))}for(;u<n.length;u+=1)n[u].d(1);n.length=a.length}},d(o){o&&e.detach(i),e.destroy_each(n,o)}}}function de(t){let i,a=t[18]("remove")+"",n,o,l=(t[56].expiryDate?$.format(new Date(t[56].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",u;return{c(){i=e.element("p"),n=e.text(a),o=e.space(),u=e.text(l)},m(s,r){e.insert(s,i,r),e.append(i,n),e.append(i,o),e.append(i,u)},p(s,r){r[0]&262144&&a!==(a=s[18]("remove")+"")&&e.set_data(n,a),r[0]&16384&&l!==(l=(s[56].expiryDate?$.format(new Date(s[56].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(u,l)},d(s){s&&e.detach(i)}}}function pe(t){let i,a=t[56].period==t[17][t[58]].period&&de(t);return{c(){a&&a.c(),i=e.empty()},m(n,o){a&&a.m(n,o),e.insert(n,i,o)},p(n,o){n[56].period==n[17][n[58]].period?a?a.p(n,o):(a=de(n),a.c(),a.m(i.parentNode,i)):a&&(a.d(1),a=null)},d(n){n&&e.detach(i),a&&a.d(n)}}}function ce(t){let i,a,n=e.ensure_array_like(t[14]),o=[];for(let l=0;l<n.length;l+=1)o[l]=be(le(t,n,l));return{c(){i=e.element("div"),a=e.element("div");for(let l=0;l<o.length;l+=1)o[l].c();e.attr(a,"class","AccountEditLimitsContainer"),e.attr(i,"class","AccountEditContent")},m(l,u){e.insert(l,i,u),e.append(i,a);for(let s=0;s<o.length;s+=1)o[s]&&o[s].m(a,null)},p(l,u){if(u[0]&18836560){n=e.ensure_array_like(l[14]);let s;for(s=0;s<n.length;s+=1){const r=le(l,n,s);o[s]?o[s].p(r,u):(o[s]=be(r),o[s].c(),o[s].m(a,null))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}},d(l){l&&e.detach(i),e.destroy_each(o,l)}}}function fe(t){let i,a,n=t[18]("noLimit")+"",o,l,u,s,r,d,f,k,v=e.ensure_array_like(t[20].get(t[6])[t[58]].values),h=[];for(let L=0;L<v.length;L+=1)h[L]=he(se(t,v,L));function N(){t[30].call(i,t[58])}let p=t[17][t[58]].amount==="Custom"&&Le(t),g=t[56].isModified===!0&&ye(t);return{c(){i=e.element("select"),a=e.element("option"),o=e.text(n);for(let L=0;L<h.length;L+=1)h[L].c();u=e.space(),s=e.element("div"),p&&p.c(),r=e.space(),g&&g.c(),d=e.empty(),a.__value="",e.set_input_value(a,a.__value),a.disabled=!0,a.selected=!0,a.hidden=!0,e.attr(i,"class","AccountEditField "+(t[19]?"TimeoutSelectMobile":"")),i.disabled=l=t[56].isModified===!0,t[17][t[58]].amount===void 0&&e.add_render_callback(N),e.attr(s,"class","AccountEditLimitsInputContainer")},m(L,b){e.insert(L,i,b),e.append(i,a),e.append(a,o);for(let _=0;_<h.length;_+=1)h[_]&&h[_].m(i,null);e.select_option(i,t[17][t[58]].amount,!0),e.insert(L,u,b),e.insert(L,s,b),p&&p.m(s,null),e.insert(L,r,b),g&&g.m(L,b),e.insert(L,d,b),f||(k=[e.listen(i,"change",N),e.listen(i,"change",function(){e.is_function(t[24](t[17][t[58]],t[58],!1,t[16]))&&t[24](t[17][t[58]],t[58],!1,t[16]).apply(this,arguments)})],f=!0)},p(L,b){if(t=L,b[0]&262144&&n!==(n=t[18]("noLimit")+"")&&e.set_data(o,n),b[0]&1048656){v=e.ensure_array_like(t[20].get(t[6])[t[58]].values);let _;for(_=0;_<v.length;_+=1){const W=se(t,v,_);h[_]?h[_].p(W,b):(h[_]=he(W),h[_].c(),h[_].m(i,null))}for(;_<h.length;_+=1)h[_].d(1);h.length=v.length}b[0]&16384&&l!==(l=t[56].isModified===!0)&&(i.disabled=l),b[0]&1179712&&e.select_option(i,t[17][t[58]].amount),t[17][t[58]].amount==="Custom"?p?p.p(t,b):(p=Le(t),p.c(),p.m(s,null)):p&&(p.d(1),p=null),t[56].isModified===!0?g?g.p(t,b):(g=ye(t),g.c(),g.m(d.parentNode,d)):g&&(g.d(1),g=null)},d(L){L&&(e.detach(i),e.detach(u),e.detach(s),e.detach(r),e.detach(d)),e.destroy_each(h,L),p&&p.d(),g&&g.d(L),f=!1,e.run_all(k)}}}function ge(t){let i=(t[6]!=="Time Limit"?t[4]:" minutes")+"",a;return{c(){a=e.text(i)},m(n,o){e.insert(n,a,o)},p(n,o){o[0]&80&&i!==(i=(n[6]!=="Time Limit"?n[4]:" minutes")+"")&&e.set_data(a,i)},d(n){n&&e.detach(a)}}}function he(t){let i,a=t[59]+"",n,o,l,u,s=t[59]!=="No limit"&&t[59]!=="Custom"&&ge(t);return{c(){i=e.element("option"),n=e.text(a),o=e.space(),s&&s.c(),l=e.space(),i.__value=u=t[59],e.set_input_value(i,i.__value)},m(r,d){e.insert(r,i,d),e.append(i,n),e.append(i,o),s&&s.m(i,null),e.append(i,l)},p(r,d){d[0]&64&&a!==(a=r[59]+"")&&e.set_data(n,a),r[59]!=="No limit"&&r[59]!=="Custom"?s?s.p(r,d):(s=ge(r),s.c(),s.m(i,l)):s&&(s.d(1),s=null),d[0]&64&&u!==(u=r[59])&&(i.__value=u,e.set_input_value(i,i.__value))},d(r){r&&e.detach(i),s&&s.d()}}}function Le(t){let i;function a(l,u){return l[6]!=="Time Limit"?ze:Se}let n=a(t),o=n(t);return{c(){o.c(),i=e.empty()},m(l,u){o.m(l,u),e.insert(l,i,u)},p(l,u){n===(n=a(l))&&o?o.p(l,u):(o.d(1),o=n(l),o&&(o.c(),o.m(i.parentNode,i)))},d(l){l&&e.detach(i),o.d(l)}}}function Se(t){let i,a,n,o,l,u;function s(){t[32].call(i,t[58])}let r=t[13][t[58]]==1&&_e(t);return{c(){i=e.element("input"),n=e.space(),o=e.element("p"),r&&r.c(),e.attr(i,"type","number"),e.attr(i,"class","AccountEditField AccountEditFieldCustom"),i.disabled=a=t[56].isModified===!0,e.attr(o,"class","AccountEditWarningText")},m(d,f){e.insert(d,i,f),e.set_input_value(i,t[17][t[58]].value),e.insert(d,n,f),e.insert(d,o,f),r&&r.m(o,null),l||(u=[e.listen(i,"keyup",function(){e.is_function(t[24](t[17][t[58]],t[58],!0,t[16]))&&t[24](t[17][t[58]],t[58],!0,t[16]).apply(this,arguments)}),e.listen(i,"input",s)],l=!0)},p(d,f){t=d,f[0]&16384&&a!==(a=t[56].isModified===!0)&&(i.disabled=a),f[0]&1179712&&e.to_number(i.value)!==t[17][t[58]].value&&e.set_input_value(i,t[17][t[58]].value),t[13][t[58]]==1?r?r.p(t,f):(r=_e(t),r.c(),r.m(o,null)):r&&(r.d(1),r=null)},d(d){d&&(e.detach(i),e.detach(n),e.detach(o)),r&&r.d(),l=!1,e.run_all(u)}}}function ze(t){let i,a,n,o,l,u;function s(){t[31].call(i,t[58])}let r=t[13][t[58]]==1&&ve(t);return{c(){i=e.element("input"),n=e.space(),o=e.element("p"),r&&r.c(),e.attr(i,"type","number"),e.attr(i,"class","AccountEditField AccountEditFieldCustom"),i.disabled=a=t[56].isModified===!0,e.attr(o,"class","AccountEditWarningText")},m(d,f){e.insert(d,i,f),e.set_input_value(i,t[17][t[58]].value),e.insert(d,n,f),e.insert(d,o,f),r&&r.m(o,null),l||(u=[e.listen(i,"keyup",function(){e.is_function(t[24](t[17][t[58]],t[58],!1,t[16]))&&t[24](t[17][t[58]],t[58],!1,t[16]).apply(this,arguments)}),e.listen(i,"input",s)],l=!0)},p(d,f){t=d,f[0]&16384&&a!==(a=t[56].isModified===!0)&&(i.disabled=a),f[0]&1179712&&e.to_number(i.value)!==t[17][t[58]].value&&e.set_input_value(i,t[17][t[58]].value),t[13][t[58]]==1?r?r.p(t,f):(r=ve(t),r.c(),r.m(o,null)):r&&(r.d(1),r=null)},d(d){d&&(e.detach(i),e.detach(n),e.detach(o)),r&&r.d(),l=!1,e.run_all(u)}}}function _e(t){let i,a=t[18]("invalidInputMessageTime",{values:{minTime:t[10],maxTime:t[11]}})+"",n;return{c(){i=e.element("p"),n=e.text(a),e.attr(i,"class","InvalidInput")},m(o,l){e.insert(o,i,l),e.append(i,n)},p(o,l){l[0]&265216&&a!==(a=o[18]("invalidInputMessageTime",{values:{minTime:o[10],maxTime:o[11]}})+"")&&e.set_data(n,a)},d(o){o&&e.detach(i)}}}function ve(t){let i,a=t[18]("invalidInputMessageLimit")+"",n;return{c(){i=e.element("p"),n=e.text(a),e.attr(i,"class","InvalidInput")},m(o,l){e.insert(o,i,l),e.append(i,n)},p(o,l){l[0]&262144&&a!==(a=o[18]("invalidInputMessageLimit")+"")&&e.set_data(n,a)},d(o){o&&e.detach(i)}}}function ye(t){let i,a=t[18]("expirationDate")+"",n,o,l,u=(t[56].expiryDate?$.format(new Date(t[56].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",s,r,d,f,k,v,h=t[18]("changedLimitTextBefore")+"",N,p,g=(t[56].updateAmount>0?t[56].updateAmount:0)+"",L,b,_=(t[56].minutes!==void 0?" minutes":t[4])+"",W,F,j=t[18]("changedLimitTextAfter")+"",S;return{c(){i=e.element("p"),n=e.text(a),o=e.space(),l=e.element("span"),s=e.text(u),r=e.space(),d=e.element("div"),f=e.element("p"),k=e.element("span"),k.textContent="i",v=e.element("span"),N=e.text(h),p=e.space(),L=e.text(g),b=e.space(),W=e.text(_),F=e.text(". "),S=e.text(j),e.attr(i,"class","AccountEditLimitsExpiryDate"),e.attr(k,"class","AccountEditLimitChangePeriodIcon"),e.attr(d,"class","AccountEditLimitsPeriodChangeContainer")},m(w,z){e.insert(w,i,z),e.append(i,n),e.append(i,o),e.append(i,l),e.append(l,s),e.insert(w,r,z),e.insert(w,d,z),e.append(d,f),e.append(f,k),e.append(f,v),e.append(v,N),e.append(v,p),e.append(v,L),e.append(v,b),e.append(v,W),e.append(v,F),e.append(v,S)},p(w,z){z[0]&262144&&a!==(a=w[18]("expirationDate")+"")&&e.set_data(n,a),z[0]&16384&&u!==(u=(w[56].expiryDate?$.format(new Date(w[56].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(s,u),z[0]&262144&&h!==(h=w[18]("changedLimitTextBefore")+"")&&e.set_data(N,h),z[0]&16384&&g!==(g=(w[56].updateAmount>0?w[56].updateAmount:0)+"")&&e.set_data(L,g),z[0]&16400&&_!==(_=(w[56].minutes!==void 0?" minutes":w[4])+"")&&e.set_data(W,_),z[0]&262144&&j!==(j=w[18]("changedLimitTextAfter")+"")&&e.set_data(S,j)},d(w){w&&(e.detach(i),e.detach(r),e.detach(d))}}}function be(t){let i,a,n=t[18](""+t[56].period.charAt(0).toLowerCase()+t[56].period.substring(1))+"",o,l,u,s=t[56].period==t[17][t[58]].period&&fe(t);return{c(){i=e.element("div"),a=e.element("p"),o=e.text(n),l=e.space(),s&&s.c(),u=e.space(),e.attr(a,"class","AccountEditLimitsTitle"),e.attr(i,"class","AccountEditLimitsBox")},m(r,d){e.insert(r,i,d),e.append(i,a),e.append(a,o),e.append(i,l),s&&s.m(i,null),e.append(i,u)},p(r,d){d[0]&278528&&n!==(n=r[18](""+r[56].period.charAt(0).toLowerCase()+r[56].period.substring(1))+"")&&e.set_data(o,n),r[56].period==r[17][r[58]].period?s?s.p(r,d):(s=fe(r),s.c(),s.m(i,u)):s&&(s.d(1),s=null)},d(r){r&&e.detach(i),s&&s.d()}}}function Fe(t){let i,a,n,o,l,u,s,r,d,f,k,v,h=t[18]("back")+"",N,p,g,L,b=(t[1]?t[9]:"")+"",_,W,F,j,S,w,z,X,q,G,J,V,E=t[18]("save")+"",Y,R,C,Z,U,H,K,Q,O=t[19]&&je(t),D=t[2]&&me(t),I=t[3]&&ue(t),B=t[8]&&ce(t);return{c(){i=e.element("div"),O&&O.c(),a=e.space(),n=e.element("div"),o=e.svg_element("svg"),l=e.svg_element("defs"),u=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),r=e.svg_element("g"),d=e.svg_element("g"),f=e.svg_element("path"),k=e.space(),v=e.element("h2"),N=e.text(h),p=e.space(),g=e.element("div"),L=e.element("h6"),_=e.text(b),W=e.space(),F=e.element("div"),j=e.element("span"),j.textContent="i",S=e.space(),w=e.element("player-account-gaming-limits-popup"),z=e.space(),D&&D.c(),X=e.space(),I&&I.c(),q=e.space(),B&&B.c(),G=e.space(),J=e.element("div"),V=e.element("button"),Y=e.text(E),Z=e.space(),U=e.element("player-account-modal"),H=e.element("player-account-gaming-limits-confirmation-modal"),e.attr(f,"class","aaa"),e.attr(f,"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(f,"transform","translate(15 15) rotate(180)"),e.attr(d,"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","20"),e.attr(o,"height","20"),e.attr(o,"viewBox","0 0 15 15"),e.attr(v,"class","MyAccountCategoryTitle "+(t[19]?"MyAccountCategoryTitleNone":"")),e.attr(n,"class","MenuReturnButton "+(t[19]?"MyAccountCategoryTitleNone":"")),e.attr(j,"class","AccountEditLimitsIcon"),e.set_custom_element_data(w,"showpopup",t[7]),e.set_custom_element_data(w,"lang",t[0]),e.attr(F,"class","AccountEditLimitsIconWrapper"),e.attr(g,"class","AccountEditLimitsHeader"),e.attr(V,"class",R="AccountEditLimitsSaveButton "+(t[15]?"":"AccountEditLimitsButtonDisabled")),V.disabled=C=!t[15],e.attr(J,"class","AccountEditLimitsControlArea"),e.attr(i,"class","AccountEditLimitsWrapper "+(t[19]?"AccountEditLimitsMobileWrapper":"")),e.set_custom_element_data(H,"modaltext",t[12]),e.set_custom_element_data(H,"modalsource","groupEdit"),e.set_custom_element_data(H,"lang",t[0])},m(y,A){e.insert(y,i,A),O&&O.m(i,null),e.append(i,a),e.append(i,n),e.append(n,o),e.append(o,l),e.append(l,u),e.append(u,s),e.append(o,r),e.append(r,d),e.append(d,f),e.append(n,k),e.append(n,v),e.append(v,N),e.append(i,p),e.append(i,g),e.append(g,L),e.append(L,_),e.append(g,W),e.append(g,F),e.append(F,j),e.append(F,S),e.append(F,w),e.append(i,z),D&&D.m(i,null),e.append(i,X),I&&I.m(i,null),e.append(i,q),B&&B.m(i,null),e.append(i,G),e.append(i,J),e.append(J,V),e.append(V,Y),t[34](i),e.insert(y,Z,A),e.insert(y,U,A),e.append(U,H),K||(Q=[e.listen(n,"click",t[22]),e.listen(j,"click",e.prevent_default(t[21])),e.listen(V,"click",t[33])],K=!0)},p(y,A){y[19]&&O.p(y,A),A[0]&262144&&h!==(h=y[18]("back")+"")&&e.set_data(N,h),A[0]&514&&b!==(b=(y[1]?y[9]:"")+"")&&e.set_data(_,b),A[0]&128&&e.set_custom_element_data(w,"showpopup",y[7]),A[0]&1&&e.set_custom_element_data(w,"lang",y[0]),y[2]?D?D.p(y,A):(D=me(y),D.c(),D.m(i,X)):D&&(D.d(1),D=null),y[3]?I?I.p(y,A):(I=ue(y),I.c(),I.m(i,q)):I&&(I.d(1),I=null),y[8]?B?B.p(y,A):(B=ce(y),B.c(),B.m(i,G)):B&&(B.d(1),B=null),A[0]&262144&&E!==(E=y[18]("save")+"")&&e.set_data(Y,E),A[0]&32768&&R!==(R="AccountEditLimitsSaveButton "+(y[15]?"":"AccountEditLimitsButtonDisabled"))&&e.attr(V,"class",R),A[0]&32768&&C!==(C=!y[15])&&(V.disabled=C),A[0]&4096&&e.set_custom_element_data(H,"modaltext",y[12]),A[0]&1&&e.set_custom_element_data(H,"lang",y[0])},i:e.noop,o:e.noop,d(y){y&&(e.detach(i),e.detach(Z),e.detach(U)),O&&O.d(),D&&D.d(),I&&I.d(),B&&B.d(),t[34](null),K=!1,e.run_all(Q)}}}function qe(t,i,a){let n;e.component_subscribe(t,e.$format,m=>a(18,n=m));let{limitsdata:o=[]}=i,{showsuccessnotification:l=!1}=i,{showdeletenotification:u=!1}=i,{currency:s=""}=i,{lang:r="en"}=i,{separatelimits:d="true"}=i,{clientstyling:f=""}=i,{clientstylingurl:k=""}=i,{mbsource:v}=i,{translationurl:h=""}=i;const N=()=>{fetch(h).then(c=>c.json()).then(c=>{Object.keys(c).forEach(T=>{ne(T,c[T])})}).catch(c=>{console.log(c)})};Object.keys(oe).forEach(m=>{ne(m,oe[m])});let p,g,L,b=!1,_=!1,W="",F=!1,j=0,S=0,w="",z=window.navigator.userAgent,X=e.getDevice(z)!=="PC",q=new Array(3).fill(0),G={},J=[],V=[],E=!1,Y=[];const R={amount:/^[0-9]{0,8}$/,time:/^[1-9]\d*$/};let C=[{period:"Daily",amount:"No limit",value:0},{period:"Weekly",amount:"No limit",value:0},{period:"Monthly",amount:"No limit",value:0}],Z=[{period:"Daily",values:["10000","20000","50000","No limit","Custom"]},{period:"Weekly",values:["10000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["50000","100000","200000","No limit","Custom"]}],U=[{period:"Daily",values:["5000","7000","10000","No limit","Custom"]},{period:"Weekly",values:["25000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["125000","175000","200000","No limit","Custom"]}],H=[{period:"Daily",values:["5000","7000","10000","No limit","Custom"]},{period:"Weekly",values:["25000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["125000","175000","200000","No limit","Custom"]}],K=[{period:"Daily",values:["500","1000","1430","No limit","Custom"]},{period:"Weekly",values:["5000","7000","10000","No limit","Custom"]},{period:"Monthly",values:["20000","30000","43000","No limit","Custom"]}];const Q=new Map([["Deposit Limit","depositLimits"],["Time Limit","cumulativeSessionLimits"],["Wagering Limit","wageringLimits"],["Loss Limit","lossLimits"]]),O=new Map([["Deposit Limit",Z],["Time Limit",K],["Wagering Limit",U],["Loss Limit",H]]),D=()=>{a(7,b=!0)},I=()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},B=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},y=()=>{if(F){p==="Time Limit"?C.forEach(c=>{if(d=="true"){if(c.value!=0){let T={period:c.period,minutes:c.value};J.push(T)}}else G.forEach(T=>{T.period===c.period&&(T.minutes=c.value)})}):C.forEach(c=>{if(d=="true"){if(c.value!=0){let T={period:c.period,amount:c.value,currency:s};J.push(T)}}else G.forEach(T=>{T.period===c.period&&(T.amount=c.value,T.currency=s)})});let m={};d=="true"?m={[Q.get(p)]:[...J]}:m={[Q.get(p)]:[...G]},J.length=0,window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:m,limitsCategory:Q.get(p)},window.location.href),a(15,E=!1)}},A=(m,c,T,M)=>{switch(m.amount){case"Custom":if(p=="Time Limit")if(a(10,j=60),m.period==="Daily"?a(11,S=1440):m.period=="Weekly"?a(11,S=10080):a(11,S=43200),m.value&&R.time.test(m.value)&&m.value>j&&m.value<=S){a(13,q[c]=0,q);let P=M[c];m.period==P.period&&m.value==P.amount?(a(15,E=!1),ee(m,M)):a(15,E=!0)}else a(13,q[c]=1,q),a(15,E=!1);else m.value&&R.amount.test(m.value)?(a(13,q[c]=0,q),m.period==M[c].period&&m.value==M[c].amount?(a(15,E=!!E),ee(m,M)):a(15,E=!0),d!="true"&&C.forEach(P=>{P.value==0&&a(15,E=!1)})):(a(13,q[c]=1,q),a(15,E=!1));break;default:m.period==M[c].period?(ee(m,M),a(15,E=m.value!=M[c].amount)):a(15,E=!0),C.forEach(P=>{(P.value==0&&d!="true"||P.amount=="Custom"&&!R.amount.test(P.value.toString()))&&a(15,E=!1)});break}},ee=(m,c)=>{let T=JSON.parse(JSON.stringify(c));C.forEach(M=>{T.forEach(P=>{M.period==m.period&&(M.amount!=="Custom"&&M.amount!=="No limit"?M.value=JSON.parse(M.amount):M.amount==="No limit"&&(M.value=0)),P.period===M.period&&(P.amount=M.value)})})},ke=(m,c,T,M)=>{let P=m.values;!c.amount||c.amount==="No limit"?T.forEach(x=>{x.period===c.period&&(x.amount=c.amount,x.value=0)}):P.includes(JSON.stringify(c.amount))?T.forEach(x=>{x.period===c.period&&(x.amount=JSON.stringify(c.amount),x.value=c.amount)}):T.forEach(x=>{x.period===c.period&&(x.amount="Custom",x.value=c.amount)})},Te=m=>{V.forEach(c=>{m.period===c.period&&(p==="Time Limit"&&(a(10,j=60),m.period==="Daily"?a(11,S=1440):m.period=="Weekly"?a(11,S=10080):a(11,S=43200)),c.values.indexOf(m.amount)>-1&&(m.amount==="No limit"?m.amount=0:m.amount=JSON.parse(m.amount)))})},Ee=()=>{Y.forEach(m=>{Te(m)}),G.forEach(m=>{V.forEach(c=>{m.period===c.period&&ke(c,m,C)})})},ie=()=>{let m="";m=p==="Time Limit"?"time limit":p==="Deposit Limit"?"deposit limit":p==="Wagering Limit"?"wagering limit":"loss limit",a(12,w=n("changeLimitsText",{values:{limit:m}}))},te=()=>{Ie(r),ie(),a(16,Y=JSON.parse(JSON.stringify(o))),a(14,G=JSON.parse(JSON.stringify(o))),V=p==="Wagering Limit"?U:p==="Loss Limit"?H:p==="Deposit Limit"?Z:p==="Time Limit"?K:[],Ee()},ae=m=>{if(m.data)switch(m.data.type){case"LanguageChanged":a(0,r=m.data.lang),ie();break;case"EditPlayerLimit":a(6,p=m.data.name),a(9,W=n(p.charAt(0).toLowerCase()+p.substring(1).replace(/\s/g,""))),te(),a(8,_=!0);break;case"ClosePlayerAccountGamingLimitsPopup":a(7,b=!1);break;case"GamingLimitsConfirmChanges":F=!0,y();break;case"CancelGamingLimitsChanges":a(8,_=!1),setTimeout(()=>{a(8,_=!0)},10),te(),a(15,E=!1),F=!1;break}};e.onMount(()=>(window.addEventListener("message",ae,!1),()=>{window.removeEventListener("message",ae)}));function Ae(m){C[m].amount=e.select_value(this),a(17,C),a(20,O),a(6,p)}function Me(m){C[m].value=e.to_number(this.value),a(17,C),a(20,O),a(6,p)}function Ce(m){C[m].value=e.to_number(this.value),a(17,C),a(20,O),a(6,p)}const Be=()=>B();function De(m){e.binding_callbacks[m?"unshift":"push"](()=>{g=m,a(5,g)})}return t.$$set=m=>{"limitsdata"in m&&a(1,o=m.limitsdata),"showsuccessnotification"in m&&a(2,l=m.showsuccessnotification),"showdeletenotification"in m&&a(3,u=m.showdeletenotification),"currency"in m&&a(4,s=m.currency),"lang"in m&&a(0,r=m.lang),"separatelimits"in m&&a(25,d=m.separatelimits),"clientstyling"in m&&a(26,f=m.clientstyling),"clientstylingurl"in m&&a(27,k=m.clientstylingurl),"mbsource"in m&&a(28,v=m.mbsource),"translationurl"in m&&a(29,h=m.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&12&&l&&u&&te(),t.$$.dirty[0]&3,t.$$.dirty[0]&67108896&&f&&g&&e.setClientStyling(g,f),t.$$.dirty[0]&134217760&&k&&g&&e.setClientStylingURL(g,k),t.$$.dirty[0]&268435488&&v&&g&&e.setStreamStyling(g,`${v}.Style`,L),t.$$.dirty[0]&536870912&&h&&N()},[r,o,l,u,s,g,p,b,_,W,j,S,w,q,G,E,Y,C,n,X,O,D,I,B,A,d,f,k,v,h,Ae,Me,Ce,Be,De]}class we extends e.SvelteComponent{constructor(i){super(),e.init(this,i,qe,Fe,e.safe_not_equal,{limitsdata:1,showsuccessnotification:2,showdeletenotification:3,currency:4,lang:0,separatelimits:25,clientstyling:26,clientstylingurl:27,mbsource:28,translationurl:29},Ne,[-1,-1,-1])}get limitsdata(){return this.$$.ctx[1]}set limitsdata(i){this.$$set({limitsdata:i}),e.flush()}get showsuccessnotification(){return this.$$.ctx[2]}set showsuccessnotification(i){this.$$set({showsuccessnotification:i}),e.flush()}get showdeletenotification(){return this.$$.ctx[3]}set showdeletenotification(i){this.$$set({showdeletenotification:i}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(i){this.$$set({currency:i}),e.flush()}get lang(){return this.$$.ctx[0]}set lang(i){this.$$set({lang:i}),e.flush()}get separatelimits(){return this.$$.ctx[25]}set separatelimits(i){this.$$set({separatelimits:i}),e.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(i){this.$$set({clientstyling:i}),e.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),e.flush()}get mbsource(){return this.$$.ctx[28]}set mbsource(i){this.$$set({mbsource:i}),e.flush()}get translationurl(){return this.$$.ctx[29]}set translationurl(i){this.$$set({translationurl:i}),e.flush()}}e.create_custom_element(we,{limitsdata:{},showsuccessnotification:{type:"Boolean"},showdeletenotification:{type:"Boolean"},currency:{},lang:{},separatelimits:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=we;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-CdKFocYf.cjs");require("./PlayerAccountGamingLimitsInfoCard-D3C9dIoR.cjs");require("./PlayerAccountTimeout-Dj0NdfFv.cjs");const $=require("./PlayerBonusHistory-B8nZtro9.cjs");function ne(t,i){e.addMessages(t,i)}function Ie(t){e.$locale.set(t)}const oe={en:{back:"Back to Gaming Limits",limit:"Limit",amount:"Amount",noLimit:"No limit",changeLimitsText:"Are you sure you want to change the {limit}s?",success:"Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"You have requested to remove this limit. This will be applied on",invalidInputMessageLimit:"The amount needs to be between 1 and 99,999,999.",invalidInputMessageTime:"The time amount needs to be greater than {minTime} and below {maxTime} minutes.",expirationDate:"Expiration Date:",save:"Save",changedLimitTextBefore:"Your limit has been changed or increased:",changedLimitTextAfter:"You will have to wait for the expiration date for your new limit to take effect.",daily:"Daily",weekly:"Weekly",monthly:"Monthly",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{back:"返回游戲限制",limit:"限制",amount:"數量",noLimit:"沒有限制t",changeLimitsText:"您確定要更改 {limit} 嗎?",success:"您的遊戲限制已成功設置。",remove:"您已請求取消此限制。 這將應用於",invalidInputMessageLimit:"金額需要在 0 到 99,999,999 之間",invalidInputMessageTime:"時間量需要大於 {minTime} 且低於 {maxTime} 分鐘",expirationDate:"截止日期:",save:"節省",changedLimitTextBefore:"您的限額已更改或增加:",changedLimitTextAfter:"您必須等待到期日期才能使新限制生效",daily:"日常的",weekly:"每周",monthly:"月刊",depositLimit:"存款限额",timeLimit:"时限",wageringLimit:"投注限额",lossLimit:"损失限额"},fr:{back:"Retour aux limites de jeu",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",limit:"Limite",amount:"Montant",noLimit:"Aucune limite",changeLimitsText:"Etes-vous sûr de vouloir changer les {limit}s??",success:"Vos limites de jeu ont été respectées.",remove:"Vous avez demandé à ce que cette limite soit supprimée,elle sera appliquée",invalidInputMessageLimit:"Le montant doit être compris entre 1 et 99,999,999.",invalidInputMessageTime:"La durée doit être supérieure au {minTime} et inférieur au {maxTime} minutes .",expirationDate:"Date d'expiration:",save:"Sauvez",changedLimitTextBefore:"Votre limit a été modifiée ou augmentée:",changedLimitTextAfter:"Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{back:"Înapoi la limite de joc",limit:"Limită",amount:"Sumă",noLimit:"Fără Limită",changeLimitsText:"Ești sigur că vrei să modifici {limit}?",success:"Limitele tale de joc au fost configurate cu success.",remove:"Ai solicitat eliminarea acestei limite. Acest lucru va avea loc la data expirării limitei",invalidInputMessageLimit:"Trebuie să setezi o sumă intre 1 și 99,999,999.",invalidInputMessageTime:"Trebuie să setezi o limită intre {minTime} minute și {maxTime} minute",expirationDate:"Dată Expirare:",save:"Salvează",changedLimitTextBefore:"Limita ta a fost schimbată sau a crescut:",changedLimitTextAfter:". Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere"},es:{back:"Regresa a límites de juego",limit:"Límite",amount:"Monto",noLimit:"Sin Límite",changeLimitsText:"Esta seguro que desea cambiar los {limit}es?",success:"Limite actualizado satisfactoriamente",remove:"Ha solicitado retirar este limite. Esto será aplicado",invalidInputMessageLimit:"El monto debe ser entre 1 y 99",invalidInputMessageTime:"La cantidad de tiempo debe ser superior a {minTime} y por debajo de {maxTime} minutos.",expirationDate:"Fecha de expiración:",save:"Guardar",changedLimitTextBefore:"Tú limite ha sido cambiado o incrementado:",changedLimitTextAfter:"Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia.",daily:"Diario",weekly:"Semanal",monthly:"Mensual",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{back:"Voltar para Limites de jogos",limit:"Limite",amount:"Montante",noLimit:"Sem limite",changeLimitsText:"Tem certeza de que deseja alterar os {limite}s?",success:"Seus limites de jogo foram definidos com sucesso.",remove:"Você solicitou a remoção deste limite. Isso será aplicado em",invalidInputMessageLimit:"O valor precisa estar entre 1 e 99.999.999",invalidInputMessageTime:"A quantidade de tempo precisa ser maior que {1} e menor que {99999999} minutos",expirationDate:"Data de Validade",save:"Guardar",changedLimitTextBefore:"Seu limite foi alterado ou aumentado:",changedLimitTextAfter:"Você terá que aguardar a data de expiração para que seu novo limite entre em vigor",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda"},hr:{back:"Povratak na ograničenja igranja",limit:"Limit",amount:"Iznos",noLimit:"Nema ograničenja",changeLimitsText:"Jeste li sigurni da želite promijeniti {limit}e?",success:"Uspješno",remove:"Zatražili ste uklanjanje ovog ograničenja. Ovo će se primijeniti na",invalidInputMessageLimit:"Iznos mora biti između 1 i 99",invalidInputMessageTime:"Vremenski iznos mora biti veći od {minTime} i manji od {maxTime} minuta.",expirationDate:"Datum isteka:",save:"Spremi",changedLimitTextBefore:"Vaše ograničenje je promijenjeno ili povećano:",changedLimitTextAfter:"Morat ćete pričekati datum isteka da bi vaše novo ograničenje stupilo na snagu.",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{back:"Retornar aos limites do jogo",limit:"Limite",amount:"Quantidade",noLimit:"Sem limite",changeLimitsText:"Tem certeza de que deseja alterar o(s) limite(s)?",success:"A operação bem-sucedida lorem Ipsum é simplesmente um texto fictício da indústria de impressão e composição tipográfica.",remove:"Você solicitou a remoção deste limite. Isto será aplicado a partir de",invalidInputMessageLimit:"A Quantia deve estar entre 1 e 99",invalidInputMessageTime:"A quantidade de tempo precisa ser maior que {minTime} e menor que {maxTime} minutos.",expirationDate:"Data de expiração:",save:"Manter",changedLimitTextBefore:"Seu limite de tempo foi alterado ou aumentado:",changedLimitTextAfter:"Você deve aguardar a data de expiração para que seu novo limite entre em vigor.",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{back:"Regresar a límites de juego",limit:"Límite",amount:"Monto",noLimit:"Sin límite",changeLimitsText:"¿Está seguro que quiere cambiar el/los límite(s)?",success:"Operación exitosa lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"Ha solicitado remover este límite. Esto se aplicará a partir de",invalidInputMessageLimit:"El monto debe ser entre 1 y 99,999,999",invalidInputMessageTime:"El monto de tiempo necesita ser mayor a {minTime} y menor a {maxTime} minutos.",expirationDate:"Fecha de expiración:",save:"Guardar",changedLimitTextBefore:"Tú límite de tiempo ha sido cambiado o aumentado:",changedLimitTextAfter:"Tiene que esperar a la fecha de expiración para que su nuevo límite entre en efecto.",daily:"Diario",weekly:"Semanal",monthly:"Mensual",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdida"},tr:{back:"Oyun Sınırlarına Geri Dön",limit:"Sınır",amount:"Miktar",noLimit:"Limit yok",changeLimitsText:"{limit}'leri değiştirmek istediğinizden emin misiniz?",success:"Başarı lorem Ipsum, basım ve dizgi endüstrisinin sahte metnidir.",remove:"Bu sınırın kaldırılmasını talep ettiniz. Bu şu tarihte uygulanacaktır:",invalidInputMessageLimit:"Tutarın 1 ile 99.999.999 arasında olması gerekir.",invalidInputMessageTime:"Süre miktarının {minTime} değerinden büyük ve {maxTime} dakikanın altında olması gerekir.",expirationDate:"Son kullanma tarihi:",save:"Kaydetmek",changedLimitTextBefore:"Limitiniz değiştirildi veya artırıldı:",changedLimitTextAfter:"Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir.",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"},"en-us":{back:"Back to Gaming Limits",limit:"Limit",amount:"Amount",noLimit:"No limit",changeLimitsText:"Are you sure you want to change the {limit}s?",success:"Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"You have requested to remove this limit. This will be applied on",invalidInputMessageLimit:"The amount needs to be between 1 and 99,999,999.",invalidInputMessageTime:"The time amount needs to be greater than {minTime} and below {maxTime} minutes.",expirationDate:"Expiration Date:",save:"Save",changedLimitTextBefore:"Your limit has been changed or increased:",changedLimitTextAfter:"You will have to wait for the expiration date for your new limit to take effect.",daily:"Daily",weekly:"Weekly",monthly:"Monthly",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}};if(typeof window!="undefined"){let t=function(i){return function(...a){try{return i.apply(this,a)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsConfirmationModal-lAiPRcQx.cjs")).then(({default:i})=>{!customElements.get("player-account-gaming-limits-confirmation-modal")&&customElements.define("player-account-gaming-limits-confirmation-modal",i.element)})}function Ne(t){e.append_styles(t,"svelte-5vl9hz",".MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MyAccountCategoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MyAccountCategoryTitleNone{display:none !important}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditBackButton{display:inline-block;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:26px;font-weight:300;cursor:pointer;margin-bottom:30px}.AccountEditBackButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:var(--emw--color-gray-300, #58586B);background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:var(--emw--color-black, #000000)}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:30px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:10px;line-height:16px;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountEditFieldCustom{padding:3%}.AccountEditLimitsPeriodChangeContainer{background:var(--emw--color-gray-50, #F9F8F8);border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:var(--emw--color-gray-300, #58586B);font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #FD2839));font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative;padding-top:10px;width:94%}")}function le(t,i,a){const n=t.slice();return n[56]=i[a],n[57]=i,n[58]=a,n}function se(t,i,a){const n=t.slice();return n[59]=i[a],n}function re(t,i,a){const n=t.slice();return n[56]=i[a],n[58]=a,n}function je(t){let i,a,n,o,l,u,s,r,d,f,k=t[18]("back")+"",v,h,N;return{c(){i=e.element("div"),a=e.svg_element("svg"),n=e.svg_element("defs"),o=e.svg_element("style"),l=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),u=e.svg_element("g"),s=e.svg_element("g"),r=e.svg_element("path"),d=e.space(),f=e.element("h2"),v=e.text(k),e.attr(r,"class","aaa"),e.attr(r,"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(r,"transform","translate(15 15) rotate(180)"),e.attr(s,"transform","translate(20 158)"),e.attr(u,"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(f,"class","MyAccountCategoryTitleMobile"),e.attr(i,"class","MenuReturnButton")},m(p,g){e.insert(p,i,g),e.append(i,a),e.append(a,n),e.append(n,o),e.append(o,l),e.append(a,u),e.append(u,s),e.append(s,r),e.append(i,d),e.append(i,f),e.append(f,v),h||(N=e.listen(i,"click",t[22]),h=!0)},p(p,g){g[0]&262144&&k!==(k=p[18]("back")+"")&&e.set_data(v,k)},d(p){p&&e.detach(i),h=!1,N()}}}function me(t){let i,a,n=t[18]("success")+"",o;return{c(){i=e.element("div"),a=e.element("p"),o=e.text(n),e.attr(i,"class","AccountEditLimitSuccessfulChangeContainer")},m(l,u){e.insert(l,i,u),e.append(i,a),e.append(a,o)},p(l,u){u[0]&262144&&n!==(n=l[18]("success")+"")&&e.set_data(o,n)},d(l){l&&e.detach(i)}}}function ue(t){let i,a=e.ensure_array_like(t[14]),n=[];for(let o=0;o<a.length;o+=1)n[o]=pe(re(t,a,o));return{c(){i=e.element("div");for(let o=0;o<n.length;o+=1)n[o].c();e.attr(i,"class","AccountEditLimitSuccessfulChangeContainer")},m(o,l){e.insert(o,i,l);for(let u=0;u<n.length;u+=1)n[u]&&n[u].m(i,null)},p(o,l){if(l[0]&409600){a=e.ensure_array_like(o[14]);let u;for(u=0;u<a.length;u+=1){const s=re(o,a,u);n[u]?n[u].p(s,l):(n[u]=pe(s),n[u].c(),n[u].m(i,null))}for(;u<n.length;u+=1)n[u].d(1);n.length=a.length}},d(o){o&&e.detach(i),e.destroy_each(n,o)}}}function de(t){let i,a=t[18]("remove")+"",n,o,l=(t[56].expiryDate?$.format(new Date(t[56].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",u;return{c(){i=e.element("p"),n=e.text(a),o=e.space(),u=e.text(l)},m(s,r){e.insert(s,i,r),e.append(i,n),e.append(i,o),e.append(i,u)},p(s,r){r[0]&262144&&a!==(a=s[18]("remove")+"")&&e.set_data(n,a),r[0]&16384&&l!==(l=(s[56].expiryDate?$.format(new Date(s[56].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(u,l)},d(s){s&&e.detach(i)}}}function pe(t){let i,a=t[56].period==t[17][t[58]].period&&de(t);return{c(){a&&a.c(),i=e.empty()},m(n,o){a&&a.m(n,o),e.insert(n,i,o)},p(n,o){n[56].period==n[17][n[58]].period?a?a.p(n,o):(a=de(n),a.c(),a.m(i.parentNode,i)):a&&(a.d(1),a=null)},d(n){n&&e.detach(i),a&&a.d(n)}}}function ce(t){let i,a,n=e.ensure_array_like(t[14]),o=[];for(let l=0;l<n.length;l+=1)o[l]=be(le(t,n,l));return{c(){i=e.element("div"),a=e.element("div");for(let l=0;l<o.length;l+=1)o[l].c();e.attr(a,"class","AccountEditLimitsContainer"),e.attr(i,"class","AccountEditContent")},m(l,u){e.insert(l,i,u),e.append(i,a);for(let s=0;s<o.length;s+=1)o[s]&&o[s].m(a,null)},p(l,u){if(u[0]&18836560){n=e.ensure_array_like(l[14]);let s;for(s=0;s<n.length;s+=1){const r=le(l,n,s);o[s]?o[s].p(r,u):(o[s]=be(r),o[s].c(),o[s].m(a,null))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}},d(l){l&&e.detach(i),e.destroy_each(o,l)}}}function fe(t){let i,a,n=t[18]("noLimit")+"",o,l,u,s,r,d,f,k,v=e.ensure_array_like(t[20].get(t[6])[t[58]].values),h=[];for(let L=0;L<v.length;L+=1)h[L]=he(se(t,v,L));function N(){t[30].call(i,t[58])}let p=t[17][t[58]].amount==="Custom"&&Le(t),g=t[56].isModified===!0&&ye(t);return{c(){i=e.element("select"),a=e.element("option"),o=e.text(n);for(let L=0;L<h.length;L+=1)h[L].c();u=e.space(),s=e.element("div"),p&&p.c(),r=e.space(),g&&g.c(),d=e.empty(),a.__value="",e.set_input_value(a,a.__value),a.disabled=!0,a.selected=!0,a.hidden=!0,e.attr(i,"class","AccountEditField "+(t[19]?"TimeoutSelectMobile":"")),i.disabled=l=t[56].isModified===!0,t[17][t[58]].amount===void 0&&e.add_render_callback(N),e.attr(s,"class","AccountEditLimitsInputContainer")},m(L,b){e.insert(L,i,b),e.append(i,a),e.append(a,o);for(let _=0;_<h.length;_+=1)h[_]&&h[_].m(i,null);e.select_option(i,t[17][t[58]].amount,!0),e.insert(L,u,b),e.insert(L,s,b),p&&p.m(s,null),e.insert(L,r,b),g&&g.m(L,b),e.insert(L,d,b),f||(k=[e.listen(i,"change",N),e.listen(i,"change",function(){e.is_function(t[24](t[17][t[58]],t[58],!1,t[16]))&&t[24](t[17][t[58]],t[58],!1,t[16]).apply(this,arguments)})],f=!0)},p(L,b){if(t=L,b[0]&262144&&n!==(n=t[18]("noLimit")+"")&&e.set_data(o,n),b[0]&1048656){v=e.ensure_array_like(t[20].get(t[6])[t[58]].values);let _;for(_=0;_<v.length;_+=1){const W=se(t,v,_);h[_]?h[_].p(W,b):(h[_]=he(W),h[_].c(),h[_].m(i,null))}for(;_<h.length;_+=1)h[_].d(1);h.length=v.length}b[0]&16384&&l!==(l=t[56].isModified===!0)&&(i.disabled=l),b[0]&1179712&&e.select_option(i,t[17][t[58]].amount),t[17][t[58]].amount==="Custom"?p?p.p(t,b):(p=Le(t),p.c(),p.m(s,null)):p&&(p.d(1),p=null),t[56].isModified===!0?g?g.p(t,b):(g=ye(t),g.c(),g.m(d.parentNode,d)):g&&(g.d(1),g=null)},d(L){L&&(e.detach(i),e.detach(u),e.detach(s),e.detach(r),e.detach(d)),e.destroy_each(h,L),p&&p.d(),g&&g.d(L),f=!1,e.run_all(k)}}}function ge(t){let i=(t[6]!=="Time Limit"?t[4]:" minutes")+"",a;return{c(){a=e.text(i)},m(n,o){e.insert(n,a,o)},p(n,o){o[0]&80&&i!==(i=(n[6]!=="Time Limit"?n[4]:" minutes")+"")&&e.set_data(a,i)},d(n){n&&e.detach(a)}}}function he(t){let i,a=t[59]+"",n,o,l,u,s=t[59]!=="No limit"&&t[59]!=="Custom"&&ge(t);return{c(){i=e.element("option"),n=e.text(a),o=e.space(),s&&s.c(),l=e.space(),i.__value=u=t[59],e.set_input_value(i,i.__value)},m(r,d){e.insert(r,i,d),e.append(i,n),e.append(i,o),s&&s.m(i,null),e.append(i,l)},p(r,d){d[0]&64&&a!==(a=r[59]+"")&&e.set_data(n,a),r[59]!=="No limit"&&r[59]!=="Custom"?s?s.p(r,d):(s=ge(r),s.c(),s.m(i,l)):s&&(s.d(1),s=null),d[0]&64&&u!==(u=r[59])&&(i.__value=u,e.set_input_value(i,i.__value))},d(r){r&&e.detach(i),s&&s.d()}}}function Le(t){let i;function a(l,u){return l[6]!=="Time Limit"?ze:Se}let n=a(t),o=n(t);return{c(){o.c(),i=e.empty()},m(l,u){o.m(l,u),e.insert(l,i,u)},p(l,u){n===(n=a(l))&&o?o.p(l,u):(o.d(1),o=n(l),o&&(o.c(),o.m(i.parentNode,i)))},d(l){l&&e.detach(i),o.d(l)}}}function Se(t){let i,a,n,o,l,u;function s(){t[32].call(i,t[58])}let r=t[13][t[58]]==1&&_e(t);return{c(){i=e.element("input"),n=e.space(),o=e.element("p"),r&&r.c(),e.attr(i,"type","number"),e.attr(i,"class","AccountEditField AccountEditFieldCustom"),i.disabled=a=t[56].isModified===!0,e.attr(o,"class","AccountEditWarningText")},m(d,f){e.insert(d,i,f),e.set_input_value(i,t[17][t[58]].value),e.insert(d,n,f),e.insert(d,o,f),r&&r.m(o,null),l||(u=[e.listen(i,"keyup",function(){e.is_function(t[24](t[17][t[58]],t[58],!0,t[16]))&&t[24](t[17][t[58]],t[58],!0,t[16]).apply(this,arguments)}),e.listen(i,"input",s)],l=!0)},p(d,f){t=d,f[0]&16384&&a!==(a=t[56].isModified===!0)&&(i.disabled=a),f[0]&1179712&&e.to_number(i.value)!==t[17][t[58]].value&&e.set_input_value(i,t[17][t[58]].value),t[13][t[58]]==1?r?r.p(t,f):(r=_e(t),r.c(),r.m(o,null)):r&&(r.d(1),r=null)},d(d){d&&(e.detach(i),e.detach(n),e.detach(o)),r&&r.d(),l=!1,e.run_all(u)}}}function ze(t){let i,a,n,o,l,u;function s(){t[31].call(i,t[58])}let r=t[13][t[58]]==1&&ve(t);return{c(){i=e.element("input"),n=e.space(),o=e.element("p"),r&&r.c(),e.attr(i,"type","number"),e.attr(i,"class","AccountEditField AccountEditFieldCustom"),i.disabled=a=t[56].isModified===!0,e.attr(o,"class","AccountEditWarningText")},m(d,f){e.insert(d,i,f),e.set_input_value(i,t[17][t[58]].value),e.insert(d,n,f),e.insert(d,o,f),r&&r.m(o,null),l||(u=[e.listen(i,"keyup",function(){e.is_function(t[24](t[17][t[58]],t[58],!1,t[16]))&&t[24](t[17][t[58]],t[58],!1,t[16]).apply(this,arguments)}),e.listen(i,"input",s)],l=!0)},p(d,f){t=d,f[0]&16384&&a!==(a=t[56].isModified===!0)&&(i.disabled=a),f[0]&1179712&&e.to_number(i.value)!==t[17][t[58]].value&&e.set_input_value(i,t[17][t[58]].value),t[13][t[58]]==1?r?r.p(t,f):(r=ve(t),r.c(),r.m(o,null)):r&&(r.d(1),r=null)},d(d){d&&(e.detach(i),e.detach(n),e.detach(o)),r&&r.d(),l=!1,e.run_all(u)}}}function _e(t){let i,a=t[18]("invalidInputMessageTime",{values:{minTime:t[10],maxTime:t[11]}})+"",n;return{c(){i=e.element("p"),n=e.text(a),e.attr(i,"class","InvalidInput")},m(o,l){e.insert(o,i,l),e.append(i,n)},p(o,l){l[0]&265216&&a!==(a=o[18]("invalidInputMessageTime",{values:{minTime:o[10],maxTime:o[11]}})+"")&&e.set_data(n,a)},d(o){o&&e.detach(i)}}}function ve(t){let i,a=t[18]("invalidInputMessageLimit")+"",n;return{c(){i=e.element("p"),n=e.text(a),e.attr(i,"class","InvalidInput")},m(o,l){e.insert(o,i,l),e.append(i,n)},p(o,l){l[0]&262144&&a!==(a=o[18]("invalidInputMessageLimit")+"")&&e.set_data(n,a)},d(o){o&&e.detach(i)}}}function ye(t){let i,a=t[18]("expirationDate")+"",n,o,l,u=(t[56].expiryDate?$.format(new Date(t[56].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",s,r,d,f,k,v,h=t[18]("changedLimitTextBefore")+"",N,p,g=(t[56].updateAmount>0?t[56].updateAmount:0)+"",L,b,_=(t[56].minutes!==void 0?" minutes":t[4])+"",W,F,j=t[18]("changedLimitTextAfter")+"",S;return{c(){i=e.element("p"),n=e.text(a),o=e.space(),l=e.element("span"),s=e.text(u),r=e.space(),d=e.element("div"),f=e.element("p"),k=e.element("span"),k.textContent="i",v=e.element("span"),N=e.text(h),p=e.space(),L=e.text(g),b=e.space(),W=e.text(_),F=e.text(". "),S=e.text(j),e.attr(i,"class","AccountEditLimitsExpiryDate"),e.attr(k,"class","AccountEditLimitChangePeriodIcon"),e.attr(d,"class","AccountEditLimitsPeriodChangeContainer")},m(w,z){e.insert(w,i,z),e.append(i,n),e.append(i,o),e.append(i,l),e.append(l,s),e.insert(w,r,z),e.insert(w,d,z),e.append(d,f),e.append(f,k),e.append(f,v),e.append(v,N),e.append(v,p),e.append(v,L),e.append(v,b),e.append(v,W),e.append(v,F),e.append(v,S)},p(w,z){z[0]&262144&&a!==(a=w[18]("expirationDate")+"")&&e.set_data(n,a),z[0]&16384&&u!==(u=(w[56].expiryDate?$.format(new Date(w[56].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(s,u),z[0]&262144&&h!==(h=w[18]("changedLimitTextBefore")+"")&&e.set_data(N,h),z[0]&16384&&g!==(g=(w[56].updateAmount>0?w[56].updateAmount:0)+"")&&e.set_data(L,g),z[0]&16400&&_!==(_=(w[56].minutes!==void 0?" minutes":w[4])+"")&&e.set_data(W,_),z[0]&262144&&j!==(j=w[18]("changedLimitTextAfter")+"")&&e.set_data(S,j)},d(w){w&&(e.detach(i),e.detach(r),e.detach(d))}}}function be(t){let i,a,n=t[18](""+t[56].period.charAt(0).toLowerCase()+t[56].period.substring(1))+"",o,l,u,s=t[56].period==t[17][t[58]].period&&fe(t);return{c(){i=e.element("div"),a=e.element("p"),o=e.text(n),l=e.space(),s&&s.c(),u=e.space(),e.attr(a,"class","AccountEditLimitsTitle"),e.attr(i,"class","AccountEditLimitsBox")},m(r,d){e.insert(r,i,d),e.append(i,a),e.append(a,o),e.append(i,l),s&&s.m(i,null),e.append(i,u)},p(r,d){d[0]&278528&&n!==(n=r[18](""+r[56].period.charAt(0).toLowerCase()+r[56].period.substring(1))+"")&&e.set_data(o,n),r[56].period==r[17][r[58]].period?s?s.p(r,d):(s=fe(r),s.c(),s.m(i,u)):s&&(s.d(1),s=null)},d(r){r&&e.detach(i),s&&s.d()}}}function Fe(t){let i,a,n,o,l,u,s,r,d,f,k,v,h=t[18]("back")+"",N,p,g,L,b=(t[1]?t[9]:"")+"",_,W,F,j,S,w,z,X,q,G,J,V,E=t[18]("save")+"",Y,R,C,Z,U,H,K,Q,O=t[19]&&je(t),D=t[2]&&me(t),I=t[3]&&ue(t),B=t[8]&&ce(t);return{c(){i=e.element("div"),O&&O.c(),a=e.space(),n=e.element("div"),o=e.svg_element("svg"),l=e.svg_element("defs"),u=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),r=e.svg_element("g"),d=e.svg_element("g"),f=e.svg_element("path"),k=e.space(),v=e.element("h2"),N=e.text(h),p=e.space(),g=e.element("div"),L=e.element("h6"),_=e.text(b),W=e.space(),F=e.element("div"),j=e.element("span"),j.textContent="i",S=e.space(),w=e.element("player-account-gaming-limits-popup"),z=e.space(),D&&D.c(),X=e.space(),I&&I.c(),q=e.space(),B&&B.c(),G=e.space(),J=e.element("div"),V=e.element("button"),Y=e.text(E),Z=e.space(),U=e.element("player-account-modal"),H=e.element("player-account-gaming-limits-confirmation-modal"),e.attr(f,"class","aaa"),e.attr(f,"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(f,"transform","translate(15 15) rotate(180)"),e.attr(d,"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","20"),e.attr(o,"height","20"),e.attr(o,"viewBox","0 0 15 15"),e.attr(v,"class","MyAccountCategoryTitle "+(t[19]?"MyAccountCategoryTitleNone":"")),e.attr(n,"class","MenuReturnButton "+(t[19]?"MyAccountCategoryTitleNone":"")),e.attr(j,"class","AccountEditLimitsIcon"),e.set_custom_element_data(w,"showpopup",t[7]),e.set_custom_element_data(w,"lang",t[0]),e.attr(F,"class","AccountEditLimitsIconWrapper"),e.attr(g,"class","AccountEditLimitsHeader"),e.attr(V,"class",R="AccountEditLimitsSaveButton "+(t[15]?"":"AccountEditLimitsButtonDisabled")),V.disabled=C=!t[15],e.attr(J,"class","AccountEditLimitsControlArea"),e.attr(i,"class","AccountEditLimitsWrapper "+(t[19]?"AccountEditLimitsMobileWrapper":"")),e.set_custom_element_data(H,"modaltext",t[12]),e.set_custom_element_data(H,"modalsource","groupEdit"),e.set_custom_element_data(H,"lang",t[0])},m(y,A){e.insert(y,i,A),O&&O.m(i,null),e.append(i,a),e.append(i,n),e.append(n,o),e.append(o,l),e.append(l,u),e.append(u,s),e.append(o,r),e.append(r,d),e.append(d,f),e.append(n,k),e.append(n,v),e.append(v,N),e.append(i,p),e.append(i,g),e.append(g,L),e.append(L,_),e.append(g,W),e.append(g,F),e.append(F,j),e.append(F,S),e.append(F,w),e.append(i,z),D&&D.m(i,null),e.append(i,X),I&&I.m(i,null),e.append(i,q),B&&B.m(i,null),e.append(i,G),e.append(i,J),e.append(J,V),e.append(V,Y),t[34](i),e.insert(y,Z,A),e.insert(y,U,A),e.append(U,H),K||(Q=[e.listen(n,"click",t[22]),e.listen(j,"click",e.prevent_default(t[21])),e.listen(V,"click",t[33])],K=!0)},p(y,A){y[19]&&O.p(y,A),A[0]&262144&&h!==(h=y[18]("back")+"")&&e.set_data(N,h),A[0]&514&&b!==(b=(y[1]?y[9]:"")+"")&&e.set_data(_,b),A[0]&128&&e.set_custom_element_data(w,"showpopup",y[7]),A[0]&1&&e.set_custom_element_data(w,"lang",y[0]),y[2]?D?D.p(y,A):(D=me(y),D.c(),D.m(i,X)):D&&(D.d(1),D=null),y[3]?I?I.p(y,A):(I=ue(y),I.c(),I.m(i,q)):I&&(I.d(1),I=null),y[8]?B?B.p(y,A):(B=ce(y),B.c(),B.m(i,G)):B&&(B.d(1),B=null),A[0]&262144&&E!==(E=y[18]("save")+"")&&e.set_data(Y,E),A[0]&32768&&R!==(R="AccountEditLimitsSaveButton "+(y[15]?"":"AccountEditLimitsButtonDisabled"))&&e.attr(V,"class",R),A[0]&32768&&C!==(C=!y[15])&&(V.disabled=C),A[0]&4096&&e.set_custom_element_data(H,"modaltext",y[12]),A[0]&1&&e.set_custom_element_data(H,"lang",y[0])},i:e.noop,o:e.noop,d(y){y&&(e.detach(i),e.detach(Z),e.detach(U)),O&&O.d(),D&&D.d(),I&&I.d(),B&&B.d(),t[34](null),K=!1,e.run_all(Q)}}}function qe(t,i,a){let n;e.component_subscribe(t,e.$format,m=>a(18,n=m));let{limitsdata:o=[]}=i,{showsuccessnotification:l=!1}=i,{showdeletenotification:u=!1}=i,{currency:s=""}=i,{lang:r="en"}=i,{separatelimits:d="true"}=i,{clientstyling:f=""}=i,{clientstylingurl:k=""}=i,{mbsource:v}=i,{translationurl:h=""}=i;const N=()=>{fetch(h).then(c=>c.json()).then(c=>{Object.keys(c).forEach(T=>{ne(T,c[T])})}).catch(c=>{console.log(c)})};Object.keys(oe).forEach(m=>{ne(m,oe[m])});let p,g,L,b=!1,_=!1,W="",F=!1,j=0,S=0,w="",z=window.navigator.userAgent,X=e.getDevice(z)!=="PC",q=new Array(3).fill(0),G={},J=[],V=[],E=!1,Y=[];const R={amount:/^[0-9]{0,8}$/,time:/^[1-9]\d*$/};let C=[{period:"Daily",amount:"No limit",value:0},{period:"Weekly",amount:"No limit",value:0},{period:"Monthly",amount:"No limit",value:0}],Z=[{period:"Daily",values:["10000","20000","50000","No limit","Custom"]},{period:"Weekly",values:["10000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["50000","100000","200000","No limit","Custom"]}],U=[{period:"Daily",values:["5000","7000","10000","No limit","Custom"]},{period:"Weekly",values:["25000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["125000","175000","200000","No limit","Custom"]}],H=[{period:"Daily",values:["5000","7000","10000","No limit","Custom"]},{period:"Weekly",values:["25000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["125000","175000","200000","No limit","Custom"]}],K=[{period:"Daily",values:["500","1000","1430","No limit","Custom"]},{period:"Weekly",values:["5000","7000","10000","No limit","Custom"]},{period:"Monthly",values:["20000","30000","43000","No limit","Custom"]}];const Q=new Map([["Deposit Limit","depositLimits"],["Time Limit","cumulativeSessionLimits"],["Wagering Limit","wageringLimits"],["Loss Limit","lossLimits"]]),O=new Map([["Deposit Limit",Z],["Time Limit",K],["Wagering Limit",U],["Loss Limit",H]]),D=()=>{a(7,b=!0)},I=()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},B=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},y=()=>{if(F){p==="Time Limit"?C.forEach(c=>{if(d=="true"){if(c.value!=0){let T={period:c.period,minutes:c.value};J.push(T)}}else G.forEach(T=>{T.period===c.period&&(T.minutes=c.value)})}):C.forEach(c=>{if(d=="true"){if(c.value!=0){let T={period:c.period,amount:c.value,currency:s};J.push(T)}}else G.forEach(T=>{T.period===c.period&&(T.amount=c.value,T.currency=s)})});let m={};d=="true"?m={[Q.get(p)]:[...J]}:m={[Q.get(p)]:[...G]},J.length=0,window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:m,limitsCategory:Q.get(p)},window.location.href),a(15,E=!1)}},A=(m,c,T,M)=>{switch(m.amount){case"Custom":if(p=="Time Limit")if(a(10,j=60),m.period==="Daily"?a(11,S=1440):m.period=="Weekly"?a(11,S=10080):a(11,S=43200),m.value&&R.time.test(m.value)&&m.value>j&&m.value<=S){a(13,q[c]=0,q);let P=M[c];m.period==P.period&&m.value==P.amount?(a(15,E=!1),ee(m,M)):a(15,E=!0)}else a(13,q[c]=1,q),a(15,E=!1);else m.value&&R.amount.test(m.value)?(a(13,q[c]=0,q),m.period==M[c].period&&m.value==M[c].amount?(a(15,E=!!E),ee(m,M)):a(15,E=!0),d!="true"&&C.forEach(P=>{P.value==0&&a(15,E=!1)})):(a(13,q[c]=1,q),a(15,E=!1));break;default:m.period==M[c].period?(ee(m,M),a(15,E=m.value!=M[c].amount)):a(15,E=!0),C.forEach(P=>{(P.value==0&&d!="true"||P.amount=="Custom"&&!R.amount.test(P.value.toString()))&&a(15,E=!1)});break}},ee=(m,c)=>{let T=JSON.parse(JSON.stringify(c));C.forEach(M=>{T.forEach(P=>{M.period==m.period&&(M.amount!=="Custom"&&M.amount!=="No limit"?M.value=JSON.parse(M.amount):M.amount==="No limit"&&(M.value=0)),P.period===M.period&&(P.amount=M.value)})})},ke=(m,c,T,M)=>{let P=m.values;!c.amount||c.amount==="No limit"?T.forEach(x=>{x.period===c.period&&(x.amount=c.amount,x.value=0)}):P.includes(JSON.stringify(c.amount))?T.forEach(x=>{x.period===c.period&&(x.amount=JSON.stringify(c.amount),x.value=c.amount)}):T.forEach(x=>{x.period===c.period&&(x.amount="Custom",x.value=c.amount)})},Te=m=>{V.forEach(c=>{m.period===c.period&&(p==="Time Limit"&&(a(10,j=60),m.period==="Daily"?a(11,S=1440):m.period=="Weekly"?a(11,S=10080):a(11,S=43200)),c.values.indexOf(m.amount)>-1&&(m.amount==="No limit"?m.amount=0:m.amount=JSON.parse(m.amount)))})},Ee=()=>{Y.forEach(m=>{Te(m)}),G.forEach(m=>{V.forEach(c=>{m.period===c.period&&ke(c,m,C)})})},ie=()=>{let m="";m=p==="Time Limit"?"time limit":p==="Deposit Limit"?"deposit limit":p==="Wagering Limit"?"wagering limit":"loss limit",a(12,w=n("changeLimitsText",{values:{limit:m}}))},te=()=>{Ie(r),ie(),a(16,Y=JSON.parse(JSON.stringify(o))),a(14,G=JSON.parse(JSON.stringify(o))),V=p==="Wagering Limit"?U:p==="Loss Limit"?H:p==="Deposit Limit"?Z:p==="Time Limit"?K:[],Ee()},ae=m=>{if(m.data)switch(m.data.type){case"LanguageChanged":a(0,r=m.data.lang),ie();break;case"EditPlayerLimit":a(6,p=m.data.name),a(9,W=n(p.charAt(0).toLowerCase()+p.substring(1).replace(/\s/g,""))),te(),a(8,_=!0);break;case"ClosePlayerAccountGamingLimitsPopup":a(7,b=!1);break;case"GamingLimitsConfirmChanges":F=!0,y();break;case"CancelGamingLimitsChanges":a(8,_=!1),setTimeout(()=>{a(8,_=!0)},10),te(),a(15,E=!1),F=!1;break}};e.onMount(()=>(window.addEventListener("message",ae,!1),()=>{window.removeEventListener("message",ae)}));function Ae(m){C[m].amount=e.select_value(this),a(17,C),a(20,O),a(6,p)}function Me(m){C[m].value=e.to_number(this.value),a(17,C),a(20,O),a(6,p)}function Ce(m){C[m].value=e.to_number(this.value),a(17,C),a(20,O),a(6,p)}const Be=()=>B();function De(m){e.binding_callbacks[m?"unshift":"push"](()=>{g=m,a(5,g)})}return t.$$set=m=>{"limitsdata"in m&&a(1,o=m.limitsdata),"showsuccessnotification"in m&&a(2,l=m.showsuccessnotification),"showdeletenotification"in m&&a(3,u=m.showdeletenotification),"currency"in m&&a(4,s=m.currency),"lang"in m&&a(0,r=m.lang),"separatelimits"in m&&a(25,d=m.separatelimits),"clientstyling"in m&&a(26,f=m.clientstyling),"clientstylingurl"in m&&a(27,k=m.clientstylingurl),"mbsource"in m&&a(28,v=m.mbsource),"translationurl"in m&&a(29,h=m.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&12&&l&&u&&te(),t.$$.dirty[0]&3,t.$$.dirty[0]&67108896&&f&&g&&e.setClientStyling(g,f),t.$$.dirty[0]&134217760&&k&&g&&e.setClientStylingURL(g,k),t.$$.dirty[0]&268435488&&v&&g&&e.setStreamStyling(g,`${v}.Style`,L),t.$$.dirty[0]&536870912&&h&&N()},[r,o,l,u,s,g,p,b,_,W,j,S,w,q,G,E,Y,C,n,X,O,D,I,B,A,d,f,k,v,h,Ae,Me,Ce,Be,De]}class we extends e.SvelteComponent{constructor(i){super(),e.init(this,i,qe,Fe,e.safe_not_equal,{limitsdata:1,showsuccessnotification:2,showdeletenotification:3,currency:4,lang:0,separatelimits:25,clientstyling:26,clientstylingurl:27,mbsource:28,translationurl:29},Ne,[-1,-1,-1])}get limitsdata(){return this.$$.ctx[1]}set limitsdata(i){this.$$set({limitsdata:i}),e.flush()}get showsuccessnotification(){return this.$$.ctx[2]}set showsuccessnotification(i){this.$$set({showsuccessnotification:i}),e.flush()}get showdeletenotification(){return this.$$.ctx[3]}set showdeletenotification(i){this.$$set({showdeletenotification:i}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(i){this.$$set({currency:i}),e.flush()}get lang(){return this.$$.ctx[0]}set lang(i){this.$$set({lang:i}),e.flush()}get separatelimits(){return this.$$.ctx[25]}set separatelimits(i){this.$$set({separatelimits:i}),e.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(i){this.$$set({clientstyling:i}),e.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),e.flush()}get mbsource(){return this.$$.ctx[28]}set mbsource(i){this.$$set({mbsource:i}),e.flush()}get translationurl(){return this.$$.ctx[29]}set translationurl(i){this.$$set({translationurl:i}),e.flush()}}e.create_custom_element(we,{limitsdata:{},showsuccessnotification:{type:"Boolean"},showdeletenotification:{type:"Boolean"},currency:{},lang:{},separatelimits:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=we;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var ne=Object.defineProperty;var N=Object.getOwnPropertySymbols;var le=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var U=(i,t,s)=>t in i?ne(i,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[t]=s,M=(i,t)=>{for(var s in t||(t={}))le.call(t,s)&&U(i,s,t[s]);if(N)for(var s of N(t))ae.call(t,s)&&U(i,s,t[s]);return i};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-CoF8Ufpg.cjs");function B(i,t){e.addMessages(i,t)}function me(i){e.$locale.set(i)}const H={en:{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},de:{expandLimits:"LIMIT-VERLAUF",daily:"pro Tag",weekly:"pro Woche",monthly:"pro Monat",loss:"Verlustlimit",deposit:"Einzahlungslimit",wagering:"Einsatzlimit",max:"Einsatzlimit",loading:"Lädt ...",error:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",limitRemoved:"Limit entfernt",historyProductTypeSports:"Sport",historyProductTypeAll:"Alle",historyProductTypeCasino:"Slots",historyLimitTypeDeposit:"Einzahlungslimit",historyLimitTypeWagering:"Einsatzlimit",historyLimitTypeLoss:"Verlustlimit"},hr:{expandLimits:"POVIJEST OGRANIČENJA",daily:"dnevno",weekly:"tjedno",monthly:"mjesečno",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wagering:"Ograničenje igranja",max:"Ograničenje uloga",loading:"Učitavanje povijesti ograničenja...",error:"Nešto je pošlo po zlu. Molimo vas pokušajte ponovno.",limitRemoved:"Ograničenje uklonjeno",historyProductTypeSports:"Sportovi",historyProductTypeAll:"Sve",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Ograničenje uplate",historyLimitTypeWagering:"Ograničenje igranja",historyLimitTypeLoss:"Ograničenje gubitka",wageringSports:"Ograničenje uloga"},sl:{expandLimits:"LIMIT ZGODOVINA",daily:"na dan",weekly:"na teden",monthly:"na mesec",loss:"Limit izgube",deposit:"Limit vplačila",wagering:"Limit na vložek",max:"Limit vložkov",loading:"Nalaga...",error:"Nekaj je šlo narobe. Prosim poskusite ponovno.",limitRemoved:"Limit odstranjen",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},pl:{expandLimits:"HISTORIA LIMITU",daily:"na dzień",weekly:"na tydzień",monthly:"na miesiąc",loss:"Limit Strat",deposit:"Limit depozytów",wagering:"Limit Stawek",max:"Limit stawek",loading:"Ładowanie...",error:"Coś poszło nie tak. Proszę spróbuj ponownie.",limitRemoved:"Usunięty limit",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"zh-hk":{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},fr:{expandLimits:"LIMITER L'HISTORIQUE",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},ro:{expandLimits:"ISTORIC LIMITE",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Limita depunere",historyLimitTypeWagering:"Limita pariere",historyLimitTypeLoss:"Limita pierdere"},es:{expandLimits:"HISTORIAL DE LÍMITES",daily:"por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdida",deposit:"Límite de depósito",wagering:"Límite de apuestas",max:"Límite de apuesta",loading:"Cargando historial de límites…",error:"Algo salió mal. Por favor inténtalo de nuevo.",limitRemoved:"Límite eliminado",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"pt-br":{expandLimits:"HISTÓRICO DE LIMITE",daily:"Por dia",weekly:"por semana",monthly:"por mês",loss:"Limite de perda",deposit:"Limite de depósito",wagering:"Limite de Quantidade de Apostas",max:"Limite de apostas",wageringSports:"Limite de Quantidade de Apostas Esportivas",Loading:"Carregando histórico de limite...",error:"Algo deu errado. Por favor, tente novamente",limitRemoved:"Limite removido",historyProductTypeSports:"Esportes",historyProductTypeAll:"Todos",historyProductTypeCasino:"casino",historyLimitTypeDeposit:"Limite de depósito",historyLimitTypeWagering:"Limite de valor da aposta",historyLimitTypeLoss:"Limite de perda"},"es-mx":{expandLimits:"HISTORIAL DE LÍMITES",daily:"Por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdidas",deposit:"Límite de depósito",wagering:"Límite de monto de apuestas",max:"Límite de apuestas",wageringSports:"Límite de monto de apuestas deportivas",Loading:"Cargando historial de límites...",error:"Algo salió mal. Por favor intente de nuevo",limitRemoved:"Límite removido",historyProductTypeSports:"Deportes",historyProductTypeAll:"Todo",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Límite de depósito",historyLimitTypeWagering:"Límite de monto de apuesta",historyLimitTypeLoss:"Límite de pérdida"},tr:{expandLimits:"SINIR GEÇMİŞİ",daily:"günlük",weekly:"haftada",monthly:"her ay",loss:"Kayıp Limiti",deposit:"Para Yatırma Limiti",wagering:"Bahis Limiti",max:"Bahis limiti",wageringSports:"Bahis Limiti",loading:"Limit geçmişi yükleniyor...",error:"Bir şeyler yanlış gitti. Lütfen tekrar deneyin.",limitRemoved:"Sınır kaldırıldı",historyProductTypeSports:"Spor Dalları",historyProductTypeAll:"Tüm",historyProductTypeCasino:"Kumarhane",historyLimitTypeDeposit:"Para Yatırma Limiti",historyLimitTypeWagering:"Bahis Limiti",historyLimitTypeLoss:"Kayıp Limiti"},"en-us":{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"}};function ye(i){e.append_styles(i,"svelte-19ml84y",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}')}function G(i,t,s){const o=i.slice();return o[37]=t[s],o[38]=t,o[39]=s,o}function de(i){let t,s,o,n=i[9]("expandLimits")+"",a,m,l,f,h,d,p,u,L,w=e.ensure_array_like(i[7]),v=[];for(let g=0;g<w.length;g+=1)v[g]=V(G(i,w,g));return{c(){t=e.element("div"),s=e.element("div"),o=e.element("button"),a=e.text(n),m=e.space(),l=e.svg_element("svg"),f=e.svg_element("path"),h=e.svg_element("path"),d=e.space(),p=e.element("div");for(let g=0;g<v.length;g+=1)v[g].c();e.attr(f,"d","M10.5 15l7.5 7.5 7.5-7.5z"),e.attr(f,"class","svelte-19ml84y"),e.attr(h,"d","M0 0h36v36h-36z"),e.attr(h,"fill","none"),e.attr(h,"class","svelte-19ml84y"),e.attr(l,"class","ExpandArrow svelte-19ml84y"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","36"),e.attr(l,"height","36"),e.attr(l,"viewBox","0 0 36 36"),e.attr(l,"fill","#999"),e.toggle_class(l,"extended",i[8]),e.attr(o,"class","ExpandButton svelte-19ml84y"),e.attr(p,"class","HistoryDisplayArea svelte-19ml84y"),e.toggle_class(p,"hidden",i[5]),e.attr(s,"class","HistoryWrapper "+(i[10]?"Desktop":"")+" svelte-19ml84y"),e.attr(t,"class","player-account-gaming-limits-history-2 svelte-19ml84y")},m(g,S){e.insert(g,t,S),e.append(t,s),e.append(s,o),e.append(o,a),e.append(o,m),e.append(o,l),e.append(l,f),e.append(l,h),e.append(s,d),e.append(s,p);for(let y=0;y<v.length;y+=1)v[y]&&v[y].m(p,null);u||(L=e.listen(o,"click",i[11]),u=!0)},p(g,S){if(S[0]&512&&n!==(n=g[9]("expandLimits")+"")&&e.set_data(a,n),S[0]&256&&e.toggle_class(l,"extended",g[8]),S[0]&650){w=e.ensure_array_like(g[7]);let y;for(y=0;y<w.length;y+=1){const k=G(g,w,y);v[y]?v[y].p(k,S):(v[y]=V(k),v[y].c(),v[y].m(p,null))}for(;y<v.length;y+=1)v[y].d(1);v.length=w.length}S[0]&32&&e.toggle_class(p,"hidden",g[5])},d(g){g&&e.detach(t),e.destroy_each(v,g),u=!1,L()}}}function pe(i){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function ue(i){let t,s=(i[0]?i[9]("error"):"500 Server Error")+"",o;return{c(){t=e.element("p"),o=e.text(s),e.attr(t,"class","svelte-19ml84y")},m(n,a){e.insert(n,t,a),e.append(t,o)},p(n,a){a[0]&513&&s!==(s=(n[0]?n[9]("error"):"500 Server Error")+"")&&e.set_data(o,s)},d(n){n&&e.detach(t)}}}function ce(i){let t,s,o,n=i[37].type+"",a,m,l=i[37].amount+"",f,h,d=i[37].date+"",p;return{c(){t=e.element("div"),s=e.element("span"),o=e.element("span"),a=e.text(n),m=e.element("span"),f=e.text(l),h=e.element("span"),p=e.text(d),e.attr(o,"class","LimitType svelte-19ml84y"),e.attr(m,"class","LimitAmountPeriod svelte-19ml84y"),e.attr(s,"class","GeneralLimitInformation svelte-19ml84y"),e.attr(h,"class","DateLimitInformation svelte-19ml84y"),e.attr(t,"class","HistoryRow svelte-19ml84y")},m(u,L){e.insert(u,t,L),e.append(t,s),e.append(s,o),e.append(o,a),e.append(s,m),e.append(m,f),e.append(t,h),e.append(h,p)},p(u,L){L[0]&128&&n!==(n=u[37].type+"")&&e.set_data(a,n),L[0]&128&&l!==(l=u[37].amount+"")&&e.set_data(f,l),L[0]&128&&d!==(d=u[37].date+"")&&e.set_data(p,d)},d(u){u&&e.detach(t)}}}function ge(i){let t,s,o,n=i[37].type+"",a,m,l=i[9]("limitRemoved")+"",f,h,d=i[37].date+"",p;return{c(){t=e.element("div"),s=e.element("span"),o=e.element("span"),a=e.text(n),m=e.element("span"),f=e.text(l),h=e.element("span"),p=e.text(d),e.attr(o,"class","LimitType svelte-19ml84y"),e.attr(m,"class","LimitAmountPeriod svelte-19ml84y"),e.attr(s,"class","GeneralLimitInformation svelte-19ml84y"),e.attr(h,"class","DateLimitInformation svelte-19ml84y"),e.attr(t,"class","HistoryRow svelte-19ml84y")},m(u,L){e.insert(u,t,L),e.append(t,s),e.append(s,o),e.append(o,a),e.append(s,m),e.append(m,f),e.append(t,h),e.append(h,p)},p(u,L){L[0]&128&&n!==(n=u[37].type+"")&&e.set_data(a,n),L[0]&512&&l!==(l=u[9]("limitRemoved")+"")&&e.set_data(f,l),L[0]&128&&d!==(d=u[37].date+"")&&e.set_data(p,d)},d(u){u&&e.detach(t)}}}function V(i){let t,s,o,n=i[39];function a(d,p){return d[37].removed?ge:ce}let m=a(i),l=m(i);const f=()=>i[22](t,n),h=()=>i[22](null,n);return{c(){t=e.element("div"),l.c(),s=e.space(),e.attr(t,"class",o=e.null_to_empty(i[39]>+i[1]?"LimitContainer":"")+" svelte-19ml84y")},m(d,p){e.insert(d,t,p),l.m(t,null),e.append(t,s),f()},p(d,p){i=d,m===(m=a(i))&&l?l.p(i,p):(l.d(1),l=m(i),l&&(l.c(),l.m(t,s))),p[0]&2&&o!==(o=e.null_to_empty(i[39]>+i[1]?"LimitContainer":"")+" svelte-19ml84y")&&e.attr(t,"class",o),n!==i[39]&&(h(),n=i[39],f())},d(d){d&&e.detach(t),l.d(),h()}}}function he(i){let t;function s(a,m){return a[6]?ue:a[4]?pe:de}let o=s(i),n=o(i);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","svelte-19ml84y")},m(a,m){e.insert(a,t,m),n.m(t,null),i[23](t)},p(a,m){o===(o=s(a))&&n?n.p(a,m):(n.d(1),n=o(a),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),n.d(),i[23](null)}}}function Le(i,t,s){let o;e.component_subscribe(i,e.$format,r=>s(9,o=r));let n=window.navigator.userAgent,a=!e.isMobile(n),{lang:m=""}=t,{userid:l=""}=t,{session:f=""}=t,{endpoint:h=""}=t,{apiversion:d=""}=t,{numberofentries:p="10"}=t,{customcurrencysymbols:u=""}=t,{limitformat:L=""}=t,{clientstyling:w=""}=t,{clientstylingurl:v=""}=t,{mbsource:g}=t,{translationurl:S=""}=t,y,k,P=new Array,R=parseInt(p,10),O=!1,C=!0,I=[],E=[],x=!0,j=!1,A={EUR:"€",RON:"lei",TRY:"₺"};const K=()=>{fetch(S).then(c=>c.json()).then(c=>{Object.keys(c).forEach(_=>{B(_,c[_])})}).catch(c=>{console.log(c)})};Object.keys(H).forEach(r=>{B(r,H[r])});const Q=()=>{let r=d==="gmcore"?`/v2/player/${l}/transactions/limit`:`/v1/player/${l}/limits/monetary/history`,c=new URL(r,h);c.searchParams.append("startDate",`${new Date("2022").toISOString()}`),c.searchParams.append("endDate",`${new Date("2099").toISOString()}`),c.searchParams.append("limit","10000");let _={method:"GET",headers:{"X-SessionID":f}};fetch(c.href,_).then(T=>{if(T.status>=300)throw s(4,C=!1),s(6,O=!0),new Error("There was an error fetching the limits");return T.json()}).then(T=>{T.length&&(I=X(T),s(7,E=I.slice(0,R))),s(4,C=!1)},T=>{console.error("There was an error",T),s(6,O=!0)})},X=r=>{const c=!!H[m];return r.map(T=>{let b={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return b.amount=q(T),b.currency=c?A[T.limitCurrencyCode]:T.limitCurrencyCode,b.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(T.limitDate)),b.period=o(`${T.limitPeriod.toLowerCase()}`),b.type=d==="gmcore"?o(`historyLimitType${T.limitType.split(" ")[0]}`):o(`historyLimitType${T.limitType.split(" ")[0]}`)+" "+o(`historyProductType${T.limitProductType}`),b.removed=T.limitAmount===-1,b})},q=r=>{let c=L||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.limitAmount);if(!L){let oe=A[r.limitCurrencyCode]||r.limitCurrencyCode;return`${c}${oe}`}typeof r.limitAmount=="string"&&r.limitAmount.includes(",")&&(r.limitAmount=r.limitAmount.replaceAll(",",""));const _=c.match(/\{(\d+)decimals\}/),T=_?parseInt(_[1],10):2,b=_?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let D=parseFloat(r.limitAmount).toFixed(T);const[se,W]=L.includes(".")?[",","."]:[".",","];let[z,re]=D.split(".");return z=z.replace(/\B(?=(\d{3})+(?!\d))/g,se),D=`${z}${W}${re}`,c=c.replace("{currency}",A[r.limitCurrencyCode]||r.limitCurrencyCode).replace("{amount}",D.split(W)[0]).replace(b,D.split(W)[1]),c},J=()=>{s(5,x=!x),s(8,j=!j)};let F=new IntersectionObserver(r=>{r.forEach(c=>{c.isIntersecting&&(R+=parseInt(p,10)||10,E.length<I.length&&s(7,E=I.slice(0,R)))})});const Z=()=>{F.observe(P[P.length-1])},$=()=>{if(!u)return;let r={};u.split(",").forEach(c=>{let _=c.split(":");r[_[0].trim()]=_[1].trim()}),A=M(M({},A),r)},ee=()=>{me(m)};e.onMount(()=>()=>{F.unobserve(P[P.length-1])});function te(r,c){e.binding_callbacks[r?"unshift":"push"](()=>{P[c]=r,s(3,P)})}function ie(r){e.binding_callbacks[r?"unshift":"push"](()=>{y=r,s(2,y)})}return i.$$set=r=>{"lang"in r&&s(0,m=r.lang),"userid"in r&&s(12,l=r.userid),"session"in r&&s(13,f=r.session),"endpoint"in r&&s(14,h=r.endpoint),"apiversion"in r&&s(15,d=r.apiversion),"numberofentries"in r&&s(1,p=r.numberofentries),"customcurrencysymbols"in r&&s(16,u=r.customcurrencysymbols),"limitformat"in r&&s(17,L=r.limitformat),"clientstyling"in r&&s(18,w=r.clientstyling),"clientstylingurl"in r&&s(19,v=r.clientstylingurl),"mbsource"in r&&s(20,g=r.mbsource),"translationurl"in r&&s(21,S=r.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&65536&&u&&$(),i.$$.dirty[0]&61440&&h&&l&&f&&d&&Q(),i.$$.dirty[0]&56&&P[0]&&!C&&!x&&Z(),i.$$.dirty[0]&1&&m&&ee(),i.$$.dirty[0]&262148&&w&&y&&e.setClientStyling(y,w),i.$$.dirty[0]&524292&&v&&y&&e.setClientStylingURL(y,v),i.$$.dirty[0]&1048580&&g&&y&&e.setStreamStyling(y,`${g}.Style`,k),i.$$.dirty[0]&2097156&&S&&y&&K()},[m,p,y,P,C,x,O,E,j,o,a,J,l,f,h,d,u,L,w,v,g,S,te,ie]}class Y extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Le,he,e.safe_not_equal,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,customcurrencysymbols:16,limitformat:17,clientstyling:18,clientstylingurl:19,mbsource:20,translationurl:21},ye,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[12]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[13]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[15]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[16]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[17]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[20]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(Y,{lang:{},userid:{},session:{},endpoint:{},apiversion:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=Y;
|
|
1
|
+
"use strict";var ne=Object.defineProperty;var N=Object.getOwnPropertySymbols;var le=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var U=(i,t,s)=>t in i?ne(i,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[t]=s,M=(i,t)=>{for(var s in t||(t={}))le.call(t,s)&&U(i,s,t[s]);if(N)for(var s of N(t))ae.call(t,s)&&U(i,s,t[s]);return i};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-CdKFocYf.cjs");function B(i,t){e.addMessages(i,t)}function me(i){e.$locale.set(i)}const H={en:{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},de:{expandLimits:"LIMIT-VERLAUF",daily:"pro Tag",weekly:"pro Woche",monthly:"pro Monat",loss:"Verlustlimit",deposit:"Einzahlungslimit",wagering:"Einsatzlimit",max:"Einsatzlimit",loading:"Lädt ...",error:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",limitRemoved:"Limit entfernt",historyProductTypeSports:"Sport",historyProductTypeAll:"Alle",historyProductTypeCasino:"Slots",historyLimitTypeDeposit:"Einzahlungslimit",historyLimitTypeWagering:"Einsatzlimit",historyLimitTypeLoss:"Verlustlimit"},hr:{expandLimits:"POVIJEST OGRANIČENJA",daily:"dnevno",weekly:"tjedno",monthly:"mjesečno",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wagering:"Ograničenje igranja",max:"Ograničenje uloga",loading:"Učitavanje povijesti ograničenja...",error:"Nešto je pošlo po zlu. Molimo vas pokušajte ponovno.",limitRemoved:"Ograničenje uklonjeno",historyProductTypeSports:"Sportovi",historyProductTypeAll:"Sve",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Ograničenje uplate",historyLimitTypeWagering:"Ograničenje igranja",historyLimitTypeLoss:"Ograničenje gubitka",wageringSports:"Ograničenje uloga"},sl:{expandLimits:"LIMIT ZGODOVINA",daily:"na dan",weekly:"na teden",monthly:"na mesec",loss:"Limit izgube",deposit:"Limit vplačila",wagering:"Limit na vložek",max:"Limit vložkov",loading:"Nalaga...",error:"Nekaj je šlo narobe. Prosim poskusite ponovno.",limitRemoved:"Limit odstranjen",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},pl:{expandLimits:"HISTORIA LIMITU",daily:"na dzień",weekly:"na tydzień",monthly:"na miesiąc",loss:"Limit Strat",deposit:"Limit depozytów",wagering:"Limit Stawek",max:"Limit stawek",loading:"Ładowanie...",error:"Coś poszło nie tak. Proszę spróbuj ponownie.",limitRemoved:"Usunięty limit",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"zh-hk":{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},fr:{expandLimits:"LIMITER L'HISTORIQUE",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},ro:{expandLimits:"ISTORIC LIMITE",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Limita depunere",historyLimitTypeWagering:"Limita pariere",historyLimitTypeLoss:"Limita pierdere"},es:{expandLimits:"HISTORIAL DE LÍMITES",daily:"por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdida",deposit:"Límite de depósito",wagering:"Límite de apuestas",max:"Límite de apuesta",loading:"Cargando historial de límites…",error:"Algo salió mal. Por favor inténtalo de nuevo.",limitRemoved:"Límite eliminado",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"pt-br":{expandLimits:"HISTÓRICO DE LIMITE",daily:"Por dia",weekly:"por semana",monthly:"por mês",loss:"Limite de perda",deposit:"Limite de depósito",wagering:"Limite de Quantidade de Apostas",max:"Limite de apostas",wageringSports:"Limite de Quantidade de Apostas Esportivas",Loading:"Carregando histórico de limite...",error:"Algo deu errado. Por favor, tente novamente",limitRemoved:"Limite removido",historyProductTypeSports:"Esportes",historyProductTypeAll:"Todos",historyProductTypeCasino:"casino",historyLimitTypeDeposit:"Limite de depósito",historyLimitTypeWagering:"Limite de valor da aposta",historyLimitTypeLoss:"Limite de perda"},"es-mx":{expandLimits:"HISTORIAL DE LÍMITES",daily:"Por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdidas",deposit:"Límite de depósito",wagering:"Límite de monto de apuestas",max:"Límite de apuestas",wageringSports:"Límite de monto de apuestas deportivas",Loading:"Cargando historial de límites...",error:"Algo salió mal. Por favor intente de nuevo",limitRemoved:"Límite removido",historyProductTypeSports:"Deportes",historyProductTypeAll:"Todo",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Límite de depósito",historyLimitTypeWagering:"Límite de monto de apuesta",historyLimitTypeLoss:"Límite de pérdida"},tr:{expandLimits:"SINIR GEÇMİŞİ",daily:"günlük",weekly:"haftada",monthly:"her ay",loss:"Kayıp Limiti",deposit:"Para Yatırma Limiti",wagering:"Bahis Limiti",max:"Bahis limiti",wageringSports:"Bahis Limiti",loading:"Limit geçmişi yükleniyor...",error:"Bir şeyler yanlış gitti. Lütfen tekrar deneyin.",limitRemoved:"Sınır kaldırıldı",historyProductTypeSports:"Spor Dalları",historyProductTypeAll:"Tüm",historyProductTypeCasino:"Kumarhane",historyLimitTypeDeposit:"Para Yatırma Limiti",historyLimitTypeWagering:"Bahis Limiti",historyLimitTypeLoss:"Kayıp Limiti"},"en-us":{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"}};function ye(i){e.append_styles(i,"svelte-19ml84y",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}')}function G(i,t,s){const o=i.slice();return o[37]=t[s],o[38]=t,o[39]=s,o}function de(i){let t,s,o,n=i[9]("expandLimits")+"",a,m,l,f,h,d,p,u,L,w=e.ensure_array_like(i[7]),v=[];for(let g=0;g<w.length;g+=1)v[g]=V(G(i,w,g));return{c(){t=e.element("div"),s=e.element("div"),o=e.element("button"),a=e.text(n),m=e.space(),l=e.svg_element("svg"),f=e.svg_element("path"),h=e.svg_element("path"),d=e.space(),p=e.element("div");for(let g=0;g<v.length;g+=1)v[g].c();e.attr(f,"d","M10.5 15l7.5 7.5 7.5-7.5z"),e.attr(f,"class","svelte-19ml84y"),e.attr(h,"d","M0 0h36v36h-36z"),e.attr(h,"fill","none"),e.attr(h,"class","svelte-19ml84y"),e.attr(l,"class","ExpandArrow svelte-19ml84y"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","36"),e.attr(l,"height","36"),e.attr(l,"viewBox","0 0 36 36"),e.attr(l,"fill","#999"),e.toggle_class(l,"extended",i[8]),e.attr(o,"class","ExpandButton svelte-19ml84y"),e.attr(p,"class","HistoryDisplayArea svelte-19ml84y"),e.toggle_class(p,"hidden",i[5]),e.attr(s,"class","HistoryWrapper "+(i[10]?"Desktop":"")+" svelte-19ml84y"),e.attr(t,"class","player-account-gaming-limits-history-2 svelte-19ml84y")},m(g,S){e.insert(g,t,S),e.append(t,s),e.append(s,o),e.append(o,a),e.append(o,m),e.append(o,l),e.append(l,f),e.append(l,h),e.append(s,d),e.append(s,p);for(let y=0;y<v.length;y+=1)v[y]&&v[y].m(p,null);u||(L=e.listen(o,"click",i[11]),u=!0)},p(g,S){if(S[0]&512&&n!==(n=g[9]("expandLimits")+"")&&e.set_data(a,n),S[0]&256&&e.toggle_class(l,"extended",g[8]),S[0]&650){w=e.ensure_array_like(g[7]);let y;for(y=0;y<w.length;y+=1){const k=G(g,w,y);v[y]?v[y].p(k,S):(v[y]=V(k),v[y].c(),v[y].m(p,null))}for(;y<v.length;y+=1)v[y].d(1);v.length=w.length}S[0]&32&&e.toggle_class(p,"hidden",g[5])},d(g){g&&e.detach(t),e.destroy_each(v,g),u=!1,L()}}}function pe(i){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function ue(i){let t,s=(i[0]?i[9]("error"):"500 Server Error")+"",o;return{c(){t=e.element("p"),o=e.text(s),e.attr(t,"class","svelte-19ml84y")},m(n,a){e.insert(n,t,a),e.append(t,o)},p(n,a){a[0]&513&&s!==(s=(n[0]?n[9]("error"):"500 Server Error")+"")&&e.set_data(o,s)},d(n){n&&e.detach(t)}}}function ce(i){let t,s,o,n=i[37].type+"",a,m,l=i[37].amount+"",f,h,d=i[37].date+"",p;return{c(){t=e.element("div"),s=e.element("span"),o=e.element("span"),a=e.text(n),m=e.element("span"),f=e.text(l),h=e.element("span"),p=e.text(d),e.attr(o,"class","LimitType svelte-19ml84y"),e.attr(m,"class","LimitAmountPeriod svelte-19ml84y"),e.attr(s,"class","GeneralLimitInformation svelte-19ml84y"),e.attr(h,"class","DateLimitInformation svelte-19ml84y"),e.attr(t,"class","HistoryRow svelte-19ml84y")},m(u,L){e.insert(u,t,L),e.append(t,s),e.append(s,o),e.append(o,a),e.append(s,m),e.append(m,f),e.append(t,h),e.append(h,p)},p(u,L){L[0]&128&&n!==(n=u[37].type+"")&&e.set_data(a,n),L[0]&128&&l!==(l=u[37].amount+"")&&e.set_data(f,l),L[0]&128&&d!==(d=u[37].date+"")&&e.set_data(p,d)},d(u){u&&e.detach(t)}}}function ge(i){let t,s,o,n=i[37].type+"",a,m,l=i[9]("limitRemoved")+"",f,h,d=i[37].date+"",p;return{c(){t=e.element("div"),s=e.element("span"),o=e.element("span"),a=e.text(n),m=e.element("span"),f=e.text(l),h=e.element("span"),p=e.text(d),e.attr(o,"class","LimitType svelte-19ml84y"),e.attr(m,"class","LimitAmountPeriod svelte-19ml84y"),e.attr(s,"class","GeneralLimitInformation svelte-19ml84y"),e.attr(h,"class","DateLimitInformation svelte-19ml84y"),e.attr(t,"class","HistoryRow svelte-19ml84y")},m(u,L){e.insert(u,t,L),e.append(t,s),e.append(s,o),e.append(o,a),e.append(s,m),e.append(m,f),e.append(t,h),e.append(h,p)},p(u,L){L[0]&128&&n!==(n=u[37].type+"")&&e.set_data(a,n),L[0]&512&&l!==(l=u[9]("limitRemoved")+"")&&e.set_data(f,l),L[0]&128&&d!==(d=u[37].date+"")&&e.set_data(p,d)},d(u){u&&e.detach(t)}}}function V(i){let t,s,o,n=i[39];function a(d,p){return d[37].removed?ge:ce}let m=a(i),l=m(i);const f=()=>i[22](t,n),h=()=>i[22](null,n);return{c(){t=e.element("div"),l.c(),s=e.space(),e.attr(t,"class",o=e.null_to_empty(i[39]>+i[1]?"LimitContainer":"")+" svelte-19ml84y")},m(d,p){e.insert(d,t,p),l.m(t,null),e.append(t,s),f()},p(d,p){i=d,m===(m=a(i))&&l?l.p(i,p):(l.d(1),l=m(i),l&&(l.c(),l.m(t,s))),p[0]&2&&o!==(o=e.null_to_empty(i[39]>+i[1]?"LimitContainer":"")+" svelte-19ml84y")&&e.attr(t,"class",o),n!==i[39]&&(h(),n=i[39],f())},d(d){d&&e.detach(t),l.d(),h()}}}function he(i){let t;function s(a,m){return a[6]?ue:a[4]?pe:de}let o=s(i),n=o(i);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","svelte-19ml84y")},m(a,m){e.insert(a,t,m),n.m(t,null),i[23](t)},p(a,m){o===(o=s(a))&&n?n.p(a,m):(n.d(1),n=o(a),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),n.d(),i[23](null)}}}function Le(i,t,s){let o;e.component_subscribe(i,e.$format,r=>s(9,o=r));let n=window.navigator.userAgent,a=!e.isMobile(n),{lang:m=""}=t,{userid:l=""}=t,{session:f=""}=t,{endpoint:h=""}=t,{apiversion:d=""}=t,{numberofentries:p="10"}=t,{customcurrencysymbols:u=""}=t,{limitformat:L=""}=t,{clientstyling:w=""}=t,{clientstylingurl:v=""}=t,{mbsource:g}=t,{translationurl:S=""}=t,y,k,P=new Array,R=parseInt(p,10),O=!1,C=!0,I=[],E=[],x=!0,j=!1,A={EUR:"€",RON:"lei",TRY:"₺"};const K=()=>{fetch(S).then(c=>c.json()).then(c=>{Object.keys(c).forEach(_=>{B(_,c[_])})}).catch(c=>{console.log(c)})};Object.keys(H).forEach(r=>{B(r,H[r])});const Q=()=>{let r=d==="gmcore"?`/v2/player/${l}/transactions/limit`:`/v1/player/${l}/limits/monetary/history`,c=new URL(r,h);c.searchParams.append("startDate",`${new Date("2022").toISOString()}`),c.searchParams.append("endDate",`${new Date("2099").toISOString()}`),c.searchParams.append("limit","10000");let _={method:"GET",headers:{"X-SessionID":f}};fetch(c.href,_).then(T=>{if(T.status>=300)throw s(4,C=!1),s(6,O=!0),new Error("There was an error fetching the limits");return T.json()}).then(T=>{T.length&&(I=X(T),s(7,E=I.slice(0,R))),s(4,C=!1)},T=>{console.error("There was an error",T),s(6,O=!0)})},X=r=>{const c=!!H[m];return r.map(T=>{let b={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return b.amount=q(T),b.currency=c?A[T.limitCurrencyCode]:T.limitCurrencyCode,b.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(T.limitDate)),b.period=o(`${T.limitPeriod.toLowerCase()}`),b.type=d==="gmcore"?o(`historyLimitType${T.limitType.split(" ")[0]}`):o(`historyLimitType${T.limitType.split(" ")[0]}`)+" "+o(`historyProductType${T.limitProductType}`),b.removed=T.limitAmount===-1,b})},q=r=>{let c=L||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.limitAmount);if(!L){let oe=A[r.limitCurrencyCode]||r.limitCurrencyCode;return`${c}${oe}`}typeof r.limitAmount=="string"&&r.limitAmount.includes(",")&&(r.limitAmount=r.limitAmount.replaceAll(",",""));const _=c.match(/\{(\d+)decimals\}/),T=_?parseInt(_[1],10):2,b=_?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let D=parseFloat(r.limitAmount).toFixed(T);const[se,W]=L.includes(".")?[",","."]:[".",","];let[z,re]=D.split(".");return z=z.replace(/\B(?=(\d{3})+(?!\d))/g,se),D=`${z}${W}${re}`,c=c.replace("{currency}",A[r.limitCurrencyCode]||r.limitCurrencyCode).replace("{amount}",D.split(W)[0]).replace(b,D.split(W)[1]),c},J=()=>{s(5,x=!x),s(8,j=!j)};let F=new IntersectionObserver(r=>{r.forEach(c=>{c.isIntersecting&&(R+=parseInt(p,10)||10,E.length<I.length&&s(7,E=I.slice(0,R)))})});const Z=()=>{F.observe(P[P.length-1])},$=()=>{if(!u)return;let r={};u.split(",").forEach(c=>{let _=c.split(":");r[_[0].trim()]=_[1].trim()}),A=M(M({},A),r)},ee=()=>{me(m)};e.onMount(()=>()=>{F.unobserve(P[P.length-1])});function te(r,c){e.binding_callbacks[r?"unshift":"push"](()=>{P[c]=r,s(3,P)})}function ie(r){e.binding_callbacks[r?"unshift":"push"](()=>{y=r,s(2,y)})}return i.$$set=r=>{"lang"in r&&s(0,m=r.lang),"userid"in r&&s(12,l=r.userid),"session"in r&&s(13,f=r.session),"endpoint"in r&&s(14,h=r.endpoint),"apiversion"in r&&s(15,d=r.apiversion),"numberofentries"in r&&s(1,p=r.numberofentries),"customcurrencysymbols"in r&&s(16,u=r.customcurrencysymbols),"limitformat"in r&&s(17,L=r.limitformat),"clientstyling"in r&&s(18,w=r.clientstyling),"clientstylingurl"in r&&s(19,v=r.clientstylingurl),"mbsource"in r&&s(20,g=r.mbsource),"translationurl"in r&&s(21,S=r.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&65536&&u&&$(),i.$$.dirty[0]&61440&&h&&l&&f&&d&&Q(),i.$$.dirty[0]&56&&P[0]&&!C&&!x&&Z(),i.$$.dirty[0]&1&&m&&ee(),i.$$.dirty[0]&262148&&w&&y&&e.setClientStyling(y,w),i.$$.dirty[0]&524292&&v&&y&&e.setClientStylingURL(y,v),i.$$.dirty[0]&1048580&&g&&y&&e.setStreamStyling(y,`${g}.Style`,k),i.$$.dirty[0]&2097156&&S&&y&&K()},[m,p,y,P,C,x,O,E,j,o,a,J,l,f,h,d,u,L,w,v,g,S,te,ie]}class Y extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Le,he,e.safe_not_equal,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,customcurrencysymbols:16,limitformat:17,clientstyling:18,clientstylingurl:19,mbsource:20,translationurl:21},ye,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[12]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[13]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[15]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[16]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[17]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[20]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(Y,{lang:{},userid:{},session:{},endpoint:{},apiversion:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=Y;
|
|
@@ -9,7 +9,7 @@ var $ = (t, e, i) => e in t ? ve(t, e, { enumerable: !0, configurable: !0, writa
|
|
|
9
9
|
Se.call(e, i) && $(t, i, e[i]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { a as we, $ as be, S as _e, i as Ae, s as Pe, f as A, b as ke, n as D, d as x, c as R, e as w, r as a, g as Ce, M as Ie, o as Ee, j as ee, t as I, m as g, u as E, k as te, l as De, J as B, w as xe, p as X, x as K, a7 as ie, z as Re, A as Oe, B as je, C as We, D as ze } from "./PlayerAccountController-
|
|
12
|
+
import { a as we, $ as be, S as _e, i as Ae, s as Pe, f as A, b as ke, n as D, d as x, c as R, e as w, r as a, g as Ce, M as Ie, o as Ee, j as ee, t as I, m as g, u as E, k as te, l as De, J as B, w as xe, p as X, x as K, a7 as ie, z as Re, A as Oe, B as je, C as We, D as ze } from "./PlayerAccountController-CudynMKl.js";
|
|
13
13
|
function se(t, e) {
|
|
14
14
|
we(t, e);
|
|
15
15
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as he, $ as Le, S as fe, i as ve, s as Te, f as A, b as Se, n as D, d as x, e as R, g as w, t as a, h as we, M as be, o as _e, k as q, u as I, p as g, v as E, l as Z, m as Ae, J as B, x as Pe, q as Q, y as J, a7 as $, B as ke, C as Ce, D as Ie, c as Ee, A as De } from "./PlayerAccountController-
|
|
1
|
+
import { a as he, $ as Le, S as fe, i as ve, s as Te, f as A, b as Se, n as D, d as x, e as R, g as w, t as a, h as we, M as be, o as _e, k as q, u as I, p as g, v as E, l as Z, m as Ae, J as B, x as Pe, q as Q, y as J, a7 as $, B as ke, C as Ce, D as Ie, c as Ee, A as De } from "./PlayerAccountController-kA06qiIe.js";
|
|
2
2
|
function ee(t, e) {
|
|
3
3
|
he(t, e);
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-CoF8Ufpg.cjs"),F=require("./PlayerBonusHistory-CkeQ27YF.cjs");function V(t,i){e.addMessages(t,i)}function se(t){e.$locale.set(t)}const Y={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",daily:"日常的",weekly:"每週",monthly:"月刊",removeLimitText:"您確定要刪除 {limit} 嗎?",removeLimitsText:"您確定要刪除所有 {limit} 嗎?",minutes:"分鐘",noLimit:"沒有限制",expirationDate:"截止日期",notAvailable:"不適用",edit:"編輯",removeLimits:"移除限制",depositLimit:"存款限額",timeLimit:"時限",wageringLimit:"投注限額",lossLimit:"損失限額",timeLimitLower:"時限",depositLimitLower:"存款限額",wageringLimitLower:"投注限額",lossLimitLower:"損失限額",time:"時間",currency:"貨幣"},fr:{name:"Info",amountChanged:"Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",removeLimitText:"êtes-vous sûr de vouloir supprimer la{limit}?",removeLimitsText:"êtes-vous sûr de vouloir supprimer tous les {limit}s?",minutes:"minutes",noLimit:"Aucune limite",expirationDate:"Date d'expiration",notAvailable:"N/A",edit:"Modifier",removeLimits:"Supprimer les limites",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte",timeLimitLower:"Limite de temps",depositLimitLower:"Limite de dépôt",wageringLimitLower:"Limite de mise",lossLimitLower:"Limite de perte",time:"Temps",currency:"Monnaie"},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"},es:{name:"Información",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"Estas seguro de quitar el {limit}?",removeLimitsText:"Estas seguro de retirar todos los {limit}es?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No Disponible",edit:"Editar",removeLimits:"Retirar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"tiempo",currency:"moneda"},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",removeLimitText:"Jeste li sigurni da želite ukloniti {limit}?",removeLimitsText:"Jeste li sigurni da želite ukloniti sve {limit}e?",minutes:"minute",noLimit:"Nema ograničenja",expirationDate:"Datum isteka",notAvailable:"N/A",edit:"Uredi",removeLimits:"Ukloni ograničenja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka",timeLimitLower:"vremensko ograničenje",depositLimitLower:"ograničenje uplate",wageringLimitLower:"ograničenje igranja",lossLimitLower:"ograničenje gubitka",time:"vrijeme",currency:"valuta"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",removeLimitText:"Tem certeza de que deseja remover o limite {limit}?",removeLimitsText:"Tem certeza de que deseja remover todos os limites {limit}s?",minutes:"minutos",noLimit:"Sem limite",expirationDate:"Data de expiração",notAvailable:"Não disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de Quantidade de Apostas",lossLimit:"Limite de perda",timeLimitLower:"Limite de tempo",depositLimitLower:"Limite de depósito",wageringLimitLower:"Limite de Quantidade de Apostas",lossLimitLower:"Limite de perda",time:"tempo",currency:"moeda"},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"¿Está seguro que quiere remover el límite {limit}?",removeLimitsText:"¿Está seguro que quiere remover todos los límites {limit}s?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No disponible",edit:"Editar",removeLimits:"Remover Límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de monto de apuestas",lossLimit:"Límite de pérdidas",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de monto de apuestas",lossLimitLower:"Límite de pérdidas",time:"tiempo",currency:"moneda"},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",removeLimitText:"{limit} sınırını kaldırmak istediğinizden emin misiniz?",removeLimitsText:"Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",minutes:"dakika",noLimit:"Limit yok",expirationDate:"Son kullanma tarihi",notAvailable:"Yok",edit:"Düzenlemek",removeLimits:"Sınırları Kaldır",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti",timeLimitLower:"zaman sınırı",depositLimitLower:"para yatırma limiti",wageringLimitLower:"bahis limiti",lossLimitLower:"kayıp limiti",time:"zaman",currency:"para birimi"},"en-us":{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}};if(typeof window!="undefined"){let t=function(i){return function(...a){try{return i.apply(this,a)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPopup-Q5MGLJrx.cjs")).then(({default:i})=>{!customElements.get("player-account-gaming-limits-popup")&&customElements.define("player-account-gaming-limits-popup",i.element)})}if(typeof window!="undefined"){let t=function(i){return function(...a){try{return i.apply(this,a)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsGroupEdit-BmPsy0_I.cjs")).then(({default:i})=>{!customElements.get("player-account-gaming-limits-group-edit")&&customElements.define("player-account-gaming-limits-group-edit",i.element)})}function de(t){e.append_styles(t,"svelte-8fdpga",'@charset "UTF-8";.InfoCard{padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardTableRow>.InfoCardRow:nth-child(2){font-size:12px}.InfoCardTableHeaderBox{display:flex;flex-direction:column}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emw--color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border:1px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardEditButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emw--color-black, #000000)}.InfoCardControlArea .InfoCardRemoveButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}')}function O(t,i,a){const o=t.slice();return o[41]=i[a],o[43]=a,o}function U(t,i,a){const o=t.slice();return o[41]=i[a],o[43]=a,o}function ue(t){let i,a,o,n,l=(t[0]?t[16](t[1].charAt(0).toLowerCase()+t[1].substring(1).replace(/\s/g,"")):"")+"",r,s,p,C,L,c,w,j,y,E,D,z,A,T,h=t[16]("edit")+"",S,b,M,N,k;function I(g,R){return g[1]==="Time Limit"?fe:ce}let u=I(t),f=u(t),d=!t[10]&&!t[0].isModified&&t[15]&&Z(t),_=t[12]&&X(t);return{c(){i=e.element("div"),a=e.element("div"),o=e.element("div"),n=e.element("h5"),r=e.text(l),s=e.space(),p=e.element("div"),C=e.element("span"),C.textContent="i",L=e.space(),c=e.element("player-account-gaming-limits-popup"),j=e.space(),y=e.element("div"),E=e.element("div"),D=e.element("div"),f.c(),z=e.space(),A=e.element("div"),T=e.element("button"),S=e.text(h),b=e.space(),d&&d.c(),M=e.space(),_&&_.c(),e.attr(C,"class","InfoCardIcon"),e.set_custom_element_data(c,"showpopup",w=t[9][0]),e.set_custom_element_data(c,"lang",t[3]),e.set_custom_element_data(c,"clientstyling",t[4]),e.set_custom_element_data(c,"clientstylingurl",t[5]),e.set_custom_element_data(c,"mbsource",t[6]),e.attr(p,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":"")),e.attr(o,"class","InfoCardHeader "+(t[17]?"InfoCardMobileHeader":"")),e.attr(D,"class","InfoCardTableRow"),e.attr(E,"class","InfoCardTableWrapper"),e.attr(T,"class","InfoCardEditButton"),e.attr(A,"class","InfoCardControlArea"),e.attr(y,"class","InfoCard"),e.attr(a,"class","InfoCardWrapper"),e.attr(i,"class","InfoCardSection")},m(g,R){e.insert(g,i,R),e.append(i,a),e.append(a,o),e.append(o,n),e.append(n,r),e.append(o,s),e.append(o,p),e.append(p,C),e.append(p,L),e.append(p,c),e.append(a,j),e.append(a,y),e.append(y,E),e.append(E,D),f.m(D,null),e.append(y,z),e.append(y,A),e.append(A,T),e.append(T,S),e.append(A,b),d&&d.m(A,null),e.append(i,M),_&&_.m(i,null),N||(k=[e.listen(C,"click",e.prevent_default(t[24])),e.listen(T,"click",t[27])],N=!0)},p(g,R){R[0]&65539&&l!==(l=(g[0]?g[16](g[1].charAt(0).toLowerCase()+g[1].substring(1).replace(/\s/g,"")):"")+"")&&e.set_data(r,l),R[0]&512&&w!==(w=g[9][0])&&e.set_custom_element_data(c,"showpopup",w),R[0]&8&&e.set_custom_element_data(c,"lang",g[3]),R[0]&16&&e.set_custom_element_data(c,"clientstyling",g[4]),R[0]&32&&e.set_custom_element_data(c,"clientstylingurl",g[5]),R[0]&64&&e.set_custom_element_data(c,"mbsource",g[6]),u===(u=I(g))&&f?f.p(g,R):(f.d(1),f=u(g),f&&(f.c(),f.m(D,null))),R[0]&65536&&h!==(h=g[16]("edit")+"")&&e.set_data(S,h),!g[10]&&!g[0].isModified&&g[15]?d?d.p(g,R):(d=Z(g),d.c(),d.m(A,null)):d&&(d.d(1),d=null),g[12]?_?_.p(g,R):(_=X(g),_.c(),_.m(i,null)):_&&(_.d(1),_=null)},d(g){g&&e.detach(i),f.d(),d&&d.d(),_&&_.d(),N=!1,e.run_all(k)}}}function pe(t){let i;return{c(){i=e.element("div"),e.attr(i,"class","ModalLoader")},m(a,o){e.insert(a,i,o)},p:e.noop,d(a){a&&e.detach(i)}}}function ce(t){let i,a=e.ensure_array_like(t[0]),o=[];for(let n=0;n<a.length;n+=1)o[n]=Q(O(t,a,n));return{c(){for(let n=0;n<o.length;n+=1)o[n].c();i=e.empty()},m(n,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(n,l);e.insert(n,i,l)},p(n,l){if(l[0]&6750847){a=e.ensure_array_like(n[0]);let r;for(r=0;r<a.length;r+=1){const s=O(n,a,r);o[r]?o[r].p(s,l):(o[r]=Q(s),o[r].c(),o[r].m(i.parentNode,i))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(n){n&&e.detach(i),e.destroy_each(o,n)}}}function fe(t){let i,a=e.ensure_array_like(t[0]),o=[];for(let n=0;n<a.length;n+=1)o[n]=K(U(t,a,n));return{c(){for(let n=0;n<o.length;n+=1)o[n].c();i=e.empty()},m(n,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(n,l);e.insert(n,i,l)},p(n,l){if(l[0]&6750843){a=e.ensure_array_like(n[0]);let r;for(r=0;r<a.length;r+=1){const s=U(n,a,r);o[r]?o[r].p(s,l):(o[r]=K(s),o[r].c(),o[r].m(i.parentNode,i))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(n){n&&e.detach(i),e.destroy_each(o,n)}}}function G(t){let i,a=(t[41]?t[41].currency:"")+"",o;return{c(){i=e.element("span"),o=e.text(a),e.attr(i,"class","InfoCardCurrency")},m(n,l){e.insert(n,i,l),e.append(i,o)},p(n,l){l[0]&1&&a!==(a=(n[41]?n[41].currency:"")+"")&&e.set_data(o,a)},d(n){n&&e.detach(i)}}}function _e(t){let i,a=t[16]("notAvailable")+"",o;return{c(){i=e.element("div"),o=e.text(a),e.attr(i,"class","InfoCardRowValue")},m(n,l){e.insert(n,i,l),e.append(i,o)},p(n,l){l[0]&65536&&a!==(a=n[16]("notAvailable")+"")&&e.set_data(o,a)},d(n){n&&e.detach(i)}}}function ge(t){let i,a=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){i=e.element("div"),o=e.text(a),e.attr(i,"class","InfoCardRowValue")},m(n,l){e.insert(n,i,l),e.append(i,o)},p(n,l){l[0]&1&&a!==(a=(n[41]?F.getYear(new Date(n[41].expiryDate))>new Date().getFullYear()+30?n[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(n[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(n){n&&e.detach(i)}}}function Le(t){let i,a,o,n,l,r,s,p;function C(){return t[26](t[43])}return{c(){i=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),n=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(n,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(n,"iteminfoamount",r=t[41].updateAmount),e.set_custom_element_data(n,"currency",t[2]),e.set_custom_element_data(n,"lang",t[3]),e.set_custom_element_data(n,"clientstyling",t[4]),e.set_custom_element_data(n,"clientstylingurl",t[5]),e.set_custom_element_data(n,"mbsource",t[6]),e.attr(i,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(L,c){e.insert(L,i,c),e.append(i,a),e.append(i,o),e.append(i,n),s||(p=e.listen(a,"click",e.prevent_default(C)),s=!0)},p(L,c){t=L,c[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(n,"showpopup",l),c[0]&1&&r!==(r=t[41].updateAmount)&&e.set_custom_element_data(n,"iteminfoamount",r),c[0]&4&&e.set_custom_element_data(n,"currency",t[2]),c[0]&8&&e.set_custom_element_data(n,"lang",t[3]),c[0]&16&&e.set_custom_element_data(n,"clientstyling",t[4]),c[0]&32&&e.set_custom_element_data(n,"clientstylingurl",t[5]),c[0]&64&&e.set_custom_element_data(n,"mbsource",t[6])},d(L){L&&e.detach(i),s=!1,p()}}}function ye(t){let i,a,o;return{c(){i=e.element("div"),i.innerHTML="<span></span>",e.attr(i,"class","InfoCardRemoveIcon")},m(n,l){e.insert(n,i,l),a||(o=e.listen(i,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(n,l){t=n},d(n){n&&e.detach(i),a=!1,o()}}}function Q(t){let i,a,o,n,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,s,p,C=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",L,c,w=t[41].amount!="No limit"&&t[41].amount!=t[16]("noLimit"),j,y,E,D=t[16]("expirationDate")+"",z,A,T,h,S,b=w&&G(t);function M(d,_){return d[41].expiryDate?ge:_e}let N=M(t),k=N(t);function I(d,_){if(_[0]&65537&&(h=null),h==null&&(h=d[41].amount!==d[16]("noLimit")&&d[41].amount!=="No limit"&&!d[41].isModified),h)return ye;if(d[41].amount!="No limit"&&d[41].isModified)return Le}let u=I(t,[-1,-1]),f=u&&u(t);return{c(){i=e.element("div"),a=e.element("div"),o=e.element("div"),n=e.element("div"),r=e.text(l),s=e.space(),p=e.element("div"),L=e.text(C),c=e.space(),b&&b.c(),j=e.space(),y=e.element("div"),E=e.element("div"),z=e.text(D),A=e.space(),k.c(),T=e.space(),f&&f.c(),S=e.space(),e.attr(n,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(E,"class","InfoCardRowTitle"),e.attr(y,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(i,"class","InfoCardBox InfoCardMultipleItems")},m(d,_){e.insert(d,i,_),e.append(i,a),e.append(a,o),e.append(o,n),e.append(n,r),e.append(o,s),e.append(o,p),e.append(p,L),e.append(p,c),b&&b.m(p,null),e.append(a,j),e.append(a,y),e.append(y,E),e.append(E,z),e.append(y,A),k.m(y,null),e.append(i,T),f&&f.m(i,null),e.append(i,S)},p(d,_){_[0]&65537&&l!==(l=(d[41]?d[16](d[41].period.charAt(0).toLowerCase()+d[41].period.substring(1)):"")+"")&&e.set_data(r,l),_[0]&65537&&C!==(C=(d[41]?d[41].amount==="No limit"?d[16]("noLimit"):d[41].amount:0)+"")&&e.set_data(L,C),_[0]&65537&&(w=d[41].amount!="No limit"&&d[41].amount!=d[16]("noLimit")),w?b?b.p(d,_):(b=G(d),b.c(),b.m(p,null)):b&&(b.d(1),b=null),_[0]&65536&&D!==(D=d[16]("expirationDate")+"")&&e.set_data(z,D),N===(N=M(d))&&k?k.p(d,_):(k.d(1),k=N(d),k&&(k.c(),k.m(y,null))),u===(u=I(d,_))&&f?f.p(d,_):(f&&f.d(1),f=u&&u(d),f&&(f.c(),f.m(i,S)))},d(d){d&&e.detach(i),b&&b.d(),k.d(),f&&f.d()}}}function we(t){let i,a=t[16]("noLimit")+"",o;return{c(){i=e.element("span"),o=e.text(a),e.attr(i,"class","InfoCardCurrency")},m(n,l){e.insert(n,i,l),e.append(i,o)},p(n,l){l[0]&65536&&a!==(a=n[16]("noLimit")+"")&&e.set_data(o,a)},d(n){n&&e.detach(i)}}}function he(t){let i=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",a,o,n=t[41].amount!=="No limit"&&t[41].amount!==t[16]("noLimit"),l,r=n&&J(t);return{c(){a=e.text(i),o=e.space(),r&&r.c(),l=e.empty()},m(s,p){e.insert(s,a,p),e.insert(s,o,p),r&&r.m(s,p),e.insert(s,l,p)},p(s,p){p[0]&65537&&i!==(i=(s[41]?s[41].amount==="No limit"?s[16]("noLimit"):s[41].amount:0)+"")&&e.set_data(a,i),p[0]&65537&&(n=s[41].amount!=="No limit"&&s[41].amount!==s[16]("noLimit")),n?r?r.p(s,p):(r=J(s),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(s){s&&(e.detach(a),e.detach(o),e.detach(l)),r&&r.d(s)}}}function J(t){let i,a=t[16]("minutes")+"",o;return{c(){i=e.element("span"),o=e.text(a),e.attr(i,"class","InfoCardCurrency")},m(n,l){e.insert(n,i,l),e.append(i,o)},p(n,l){l[0]&65536&&a!==(a=n[16]("minutes")+"")&&e.set_data(o,a)},d(n){n&&e.detach(i)}}}function ve(t){let i,a=t[16]("notAvailable")+"",o;return{c(){i=e.element("div"),o=e.text(a),e.attr(i,"class","InfoCardRowValue")},m(n,l){e.insert(n,i,l),e.append(i,o)},p(n,l){l[0]&65536&&a!==(a=n[16]("notAvailable")+"")&&e.set_data(o,a)},d(n){n&&e.detach(i)}}}function be(t){let i,a=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){i=e.element("div"),o=e.text(a),e.attr(i,"class","InfoCardRowValue")},m(n,l){e.insert(n,i,l),e.append(i,o)},p(n,l){l[0]&1&&a!==(a=(n[41]?F.getYear(new Date(n[41].expiryDate))>new Date().getFullYear()+30?n[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(n[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(n){n&&e.detach(i)}}}function Ce(t){let i,a,o,n,l,r,s,p,C;function L(){return t[25](t[43])}return{c(){i=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),n=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(n,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(n,"iteminfoamount",r=t[41].updateMinutes),e.set_custom_element_data(n,"currency",s=t[16]("minutes")),e.set_custom_element_data(n,"lang",t[3]),e.set_custom_element_data(n,"clientstyling",t[4]),e.set_custom_element_data(n,"clientstylingurl",t[5]),e.set_custom_element_data(n,"mbsource",t[6]),e.attr(i,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(c,w){e.insert(c,i,w),e.append(i,a),e.append(i,o),e.append(i,n),p||(C=e.listen(a,"click",e.prevent_default(L)),p=!0)},p(c,w){t=c,w[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(n,"showpopup",l),w[0]&1&&r!==(r=t[41].updateMinutes)&&e.set_custom_element_data(n,"iteminfoamount",r),w[0]&65536&&s!==(s=t[16]("minutes"))&&e.set_custom_element_data(n,"currency",s),w[0]&8&&e.set_custom_element_data(n,"lang",t[3]),w[0]&16&&e.set_custom_element_data(n,"clientstyling",t[4]),w[0]&32&&e.set_custom_element_data(n,"clientstylingurl",t[5]),w[0]&64&&e.set_custom_element_data(n,"mbsource",t[6])},d(c){c&&e.detach(i),p=!1,C()}}}function ke(t){let i,a,o;return{c(){i=e.element("div"),i.innerHTML="<span></span>",e.attr(i,"class","InfoCardRemoveIcon")},m(n,l){e.insert(n,i,l),a||(o=e.listen(i,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(n,l){t=n},d(n){n&&e.detach(i),a=!1,o()}}}function K(t){let i,a,o,n,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,s,p,C,L,c,w=t[16]("expirationDate")+"",j,y,E,D,z;function A(u,f){return u[41].amount!==0?he:we}let T=A(t),h=T(t);function S(u,f){return u[41].expiryDate?be:ve}let b=S(t),M=b(t);function N(u,f){if(f[0]&65537&&(D=null),D==null&&(D=u[41].amount!==u[16]("noLimit")&&u[41].amount!=="No limit"&&!u[41].isModified),D)return ke;if(u[41].amount!="No limit"&&u[41].isModified)return Ce}let k=N(t,[-1,-1]),I=k&&k(t);return{c(){i=e.element("div"),a=e.element("div"),o=e.element("div"),n=e.element("div"),r=e.text(l),s=e.space(),p=e.element("div"),h.c(),C=e.space(),L=e.element("div"),c=e.element("div"),j=e.text(w),y=e.space(),M.c(),E=e.space(),I&&I.c(),z=e.space(),e.attr(n,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(c,"class","InfoCardRowTitle"),e.attr(L,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(i,"class","InfoCardBox InfoCardMultipleItems")},m(u,f){e.insert(u,i,f),e.append(i,a),e.append(a,o),e.append(o,n),e.append(n,r),e.append(o,s),e.append(o,p),h.m(p,null),e.append(a,C),e.append(a,L),e.append(L,c),e.append(c,j),e.append(L,y),M.m(L,null),e.append(i,E),I&&I.m(i,null),e.append(i,z)},p(u,f){f[0]&65537&&l!==(l=(u[41]?u[16](u[41].period.charAt(0).toLowerCase()+u[41].period.substring(1)):"")+"")&&e.set_data(r,l),T===(T=A(u))&&h?h.p(u,f):(h.d(1),h=T(u),h&&(h.c(),h.m(p,null))),f[0]&65536&&w!==(w=u[16]("expirationDate")+"")&&e.set_data(j,w),b===(b=S(u))&&M?M.p(u,f):(M.d(1),M=b(u),M&&(M.c(),M.m(L,null))),k===(k=N(u,f))&&I?I.p(u,f):(I&&I.d(1),I=k&&k(u),I&&(I.c(),I.m(i,z)))},d(u){u&&e.detach(i),h.d(),M.d(),I&&I.d()}}}function Z(t){let i,a=t[16]("removeLimits")+"",o,n,l;return{c(){i=e.element("button"),o=e.text(a),e.attr(i,"class","InfoCardRemoveButton")},m(r,s){e.insert(r,i,s),e.append(i,o),n||(l=e.listen(i,"click",t[28]),n=!0)},p(r,s){s[0]&65536&&a!==(a=r[16]("removeLimits")+"")&&e.set_data(o,a)},d(r){r&&e.detach(i),n=!1,l()}}}function X(t){let i,a,o;return{c(){i=e.element("player-account-modal"),a=e.element("player-account-gaming-limits-confirmation-modal"),e.set_custom_element_data(a,"modaltext",o=t[11]?t[13]:t[14]),e.set_custom_element_data(a,"modalsource","infoCard"),e.set_custom_element_data(a,"lang",t[3]),e.set_custom_element_data(a,"clientstyling",t[4]),e.set_custom_element_data(a,"clientstylingurl",t[5]),e.set_custom_element_data(a,"mbsource",t[6]),e.set_custom_element_data(i,"clientstyling",t[4]),e.set_custom_element_data(i,"clientstylingurl",t[5]),e.set_custom_element_data(i,"mbsource",t[6])},m(n,l){e.insert(n,i,l),e.append(i,a)},p(n,l){l[0]&26624&&o!==(o=n[11]?n[13]:n[14])&&e.set_custom_element_data(a,"modaltext",o),l[0]&8&&e.set_custom_element_data(a,"lang",n[3]),l[0]&16&&e.set_custom_element_data(a,"clientstyling",n[4]),l[0]&32&&e.set_custom_element_data(a,"clientstylingurl",n[5]),l[0]&64&&e.set_custom_element_data(a,"mbsource",n[6]),l[0]&16&&e.set_custom_element_data(i,"clientstyling",n[4]),l[0]&32&&e.set_custom_element_data(i,"clientstylingurl",n[5]),l[0]&64&&e.set_custom_element_data(i,"mbsource",n[6])},d(n){n&&e.detach(i)}}}function Ie(t){let i;function a(l,r){return l[8]?pe:ue}let o=a(t),n=o(t);return{c(){i=e.element("div"),n.c()},m(l,r){e.insert(l,i,r),n.m(i,null),t[29](i)},p(l,r){o===(o=a(l))&&n?n.p(l,r):(n.d(1),n=o(l),n&&(n.c(),n.m(i,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(i),n.d(),t[29](null)}}}function De(t,i,a){let o;e.component_subscribe(t,e.$format,m=>a(16,o=m));let{limitsdata:n=[]}=i,{limitname:l=""}=i,{currency:r=""}=i,{lang:s="en"}=i,{clientstyling:p=""}=i,{clientstylingurl:C=""}=i,{mbsource:L}=i,{translationurl:c=""}=i;const w=()=>{fetch(c).then(v=>v.json()).then(v=>{Object.keys(v).forEach(B=>{V(B,v[B])})}).catch(v=>{console.log(v)})};Object.keys(Y).forEach(m=>{V(m,Y[m])});let j=!0,y,E,D=new Array(5).fill(0),z=["Daily","Weekly","Monthly"],A=!0,T=!0,h=!1,S=window.navigator.userAgent,b=e.getDevice(S)!=="PC",M="",N="",k=!0,I=new Date;const u=m=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:m,name:l},window.location.href)},f=m=>{a(12,h=!0),a(11,T=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:l},window.location.href)},d=(m,v)=>{a(12,h=!0),a(11,T=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:v},window.location.href)},_=m=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{a(9,D[m]=!0,D)},50)},g=m=>{let v=[...m];z.forEach((B,W)=>{v.find(P=>P.period===B)||(v=R(v,W,B));const q=v.find(P=>P.period===B);q&&q.amount!=="No limit"&&a(10,A=!1)}),m.splice(0,m.length,...v),a(8,j=!1)},R=(m,v,B)=>{const W={period:B,amount:"No limit",currency:"",isModified:!1,expiryDate:""},q=[...m];return q.splice(v,0,W),q},$=(m,v)=>m.period==="Weekly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Weekly"?1:m.period==="Daily"&&v.period==="Weekly"||m.period==="Daily"&&v.period==="Monthly"||m.period==="Weekly"&&v.period==="Monthly"?-1:0,ee=()=>{let m="";m=l==="Time Limit"?"time limit":l==="Deposit Limit"?"deposit limit":l==="Wagering Limit"?"wagering limit":"loss limit",a(13,M=o("removeLimitsText",{values:{limit:m}})),a(14,N=o("removeLimitText",{values:{limit:m}}))},te=m=>{m.forEach(v=>{v.isModified&&a(15,k=!1)})},ie=()=>{se(s),ee(),te(n),g(n),n.sort($)},H=m=>{if(m.data)switch(m.data.type){case"ClosePlayerAccountGamingLimitsPopup":a(9,D=new Array(5).fill(0));break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),a(12,h=!1),a(11,T=!1);break}};e.onMount(()=>(window.addEventListener("message",H,!1),()=>{window.removeEventListener("message",H)}));const ne=()=>_(0),ae=m=>_(m+1),oe=m=>_(m+1),le=()=>u(n),re=()=>f(n);function me(m){e.binding_callbacks[m?"unshift":"push"](()=>{y=m,a(7,y)})}return t.$$set=m=>{"limitsdata"in m&&a(0,n=m.limitsdata),"limitname"in m&&a(1,l=m.limitname),"currency"in m&&a(2,r=m.currency),"lang"in m&&a(3,s=m.lang),"clientstyling"in m&&a(4,p=m.clientstyling),"clientstylingurl"in m&&a(5,C=m.clientstylingurl),"mbsource"in m&&a(6,L=m.mbsource),"translationurl"in m&&a(23,c=m.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&11&&n&&l&&s&&ie(),t.$$.dirty[0]&144&&p&&y&&e.setClientStyling(y,p),t.$$.dirty[0]&160&&C&&y&&e.setClientStylingURL(y,C),t.$$.dirty[0]&192&&L&&y&&e.setStreamStyling(y,`${L}.Style`,E),t.$$.dirty[0]&8388608&&c&&w()},[n,l,r,s,p,C,L,y,j,D,A,T,h,M,N,k,o,b,I,u,f,d,_,c,ne,ae,oe,le,re,me]}class x extends e.SvelteComponent{constructor(i){super(),e.init(this,i,De,Ie,e.safe_not_equal,{limitsdata:0,limitname:1,currency:2,lang:3,clientstyling:4,clientstylingurl:5,mbsource:6,translationurl:23},de,[-1,-1])}get limitsdata(){return this.$$.ctx[0]}set limitsdata(i){this.$$set({limitsdata:i}),e.flush()}get limitname(){return this.$$.ctx[1]}set limitname(i){this.$$set({limitname:i}),e.flush()}get currency(){return this.$$.ctx[2]}set currency(i){this.$$set({currency:i}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(i){this.$$set({lang:i}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(i){this.$$set({clientstyling:i}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(i){this.$$set({mbsource:i}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(i){this.$$set({translationurl:i}),e.flush()}}e.create_custom_element(x,{limitsdata:{},limitname:{},currency:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=x;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-CdKFocYf.cjs"),F=require("./PlayerBonusHistory-B8nZtro9.cjs");function V(t,i){e.addMessages(t,i)}function se(t){e.$locale.set(t)}const Y={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",daily:"日常的",weekly:"每週",monthly:"月刊",removeLimitText:"您確定要刪除 {limit} 嗎?",removeLimitsText:"您確定要刪除所有 {limit} 嗎?",minutes:"分鐘",noLimit:"沒有限制",expirationDate:"截止日期",notAvailable:"不適用",edit:"編輯",removeLimits:"移除限制",depositLimit:"存款限額",timeLimit:"時限",wageringLimit:"投注限額",lossLimit:"損失限額",timeLimitLower:"時限",depositLimitLower:"存款限額",wageringLimitLower:"投注限額",lossLimitLower:"損失限額",time:"時間",currency:"貨幣"},fr:{name:"Info",amountChanged:"Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",removeLimitText:"êtes-vous sûr de vouloir supprimer la{limit}?",removeLimitsText:"êtes-vous sûr de vouloir supprimer tous les {limit}s?",minutes:"minutes",noLimit:"Aucune limite",expirationDate:"Date d'expiration",notAvailable:"N/A",edit:"Modifier",removeLimits:"Supprimer les limites",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte",timeLimitLower:"Limite de temps",depositLimitLower:"Limite de dépôt",wageringLimitLower:"Limite de mise",lossLimitLower:"Limite de perte",time:"Temps",currency:"Monnaie"},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"},es:{name:"Información",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"Estas seguro de quitar el {limit}?",removeLimitsText:"Estas seguro de retirar todos los {limit}es?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No Disponible",edit:"Editar",removeLimits:"Retirar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"tiempo",currency:"moneda"},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",removeLimitText:"Jeste li sigurni da želite ukloniti {limit}?",removeLimitsText:"Jeste li sigurni da želite ukloniti sve {limit}e?",minutes:"minute",noLimit:"Nema ograničenja",expirationDate:"Datum isteka",notAvailable:"N/A",edit:"Uredi",removeLimits:"Ukloni ograničenja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka",timeLimitLower:"vremensko ograničenje",depositLimitLower:"ograničenje uplate",wageringLimitLower:"ograničenje igranja",lossLimitLower:"ograničenje gubitka",time:"vrijeme",currency:"valuta"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",removeLimitText:"Tem certeza de que deseja remover o limite {limit}?",removeLimitsText:"Tem certeza de que deseja remover todos os limites {limit}s?",minutes:"minutos",noLimit:"Sem limite",expirationDate:"Data de expiração",notAvailable:"Não disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de Quantidade de Apostas",lossLimit:"Limite de perda",timeLimitLower:"Limite de tempo",depositLimitLower:"Limite de depósito",wageringLimitLower:"Limite de Quantidade de Apostas",lossLimitLower:"Limite de perda",time:"tempo",currency:"moeda"},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"¿Está seguro que quiere remover el límite {limit}?",removeLimitsText:"¿Está seguro que quiere remover todos los límites {limit}s?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No disponible",edit:"Editar",removeLimits:"Remover Límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de monto de apuestas",lossLimit:"Límite de pérdidas",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de monto de apuestas",lossLimitLower:"Límite de pérdidas",time:"tiempo",currency:"moneda"},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",removeLimitText:"{limit} sınırını kaldırmak istediğinizden emin misiniz?",removeLimitsText:"Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",minutes:"dakika",noLimit:"Limit yok",expirationDate:"Son kullanma tarihi",notAvailable:"Yok",edit:"Düzenlemek",removeLimits:"Sınırları Kaldır",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti",timeLimitLower:"zaman sınırı",depositLimitLower:"para yatırma limiti",wageringLimitLower:"bahis limiti",lossLimitLower:"kayıp limiti",time:"zaman",currency:"para birimi"},"en-us":{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}};if(typeof window!="undefined"){let t=function(i){return function(...a){try{return i.apply(this,a)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPopup-D_H_YI--.cjs")).then(({default:i})=>{!customElements.get("player-account-gaming-limits-popup")&&customElements.define("player-account-gaming-limits-popup",i.element)})}if(typeof window!="undefined"){let t=function(i){return function(...a){try{return i.apply(this,a)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsGroupEdit-ro0XUl5l.cjs")).then(({default:i})=>{!customElements.get("player-account-gaming-limits-group-edit")&&customElements.define("player-account-gaming-limits-group-edit",i.element)})}function de(t){e.append_styles(t,"svelte-8fdpga",'@charset "UTF-8";.InfoCard{padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardTableRow>.InfoCardRow:nth-child(2){font-size:12px}.InfoCardTableHeaderBox{display:flex;flex-direction:column}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emw--color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border:1px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardEditButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emw--color-black, #000000)}.InfoCardControlArea .InfoCardRemoveButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}')}function O(t,i,a){const o=t.slice();return o[41]=i[a],o[43]=a,o}function U(t,i,a){const o=t.slice();return o[41]=i[a],o[43]=a,o}function ue(t){let i,a,o,n,l=(t[0]?t[16](t[1].charAt(0).toLowerCase()+t[1].substring(1).replace(/\s/g,"")):"")+"",r,s,p,C,L,c,w,j,y,E,D,z,A,T,h=t[16]("edit")+"",S,b,M,N,k;function I(g,R){return g[1]==="Time Limit"?fe:ce}let u=I(t),f=u(t),d=!t[10]&&!t[0].isModified&&t[15]&&Z(t),_=t[12]&&X(t);return{c(){i=e.element("div"),a=e.element("div"),o=e.element("div"),n=e.element("h5"),r=e.text(l),s=e.space(),p=e.element("div"),C=e.element("span"),C.textContent="i",L=e.space(),c=e.element("player-account-gaming-limits-popup"),j=e.space(),y=e.element("div"),E=e.element("div"),D=e.element("div"),f.c(),z=e.space(),A=e.element("div"),T=e.element("button"),S=e.text(h),b=e.space(),d&&d.c(),M=e.space(),_&&_.c(),e.attr(C,"class","InfoCardIcon"),e.set_custom_element_data(c,"showpopup",w=t[9][0]),e.set_custom_element_data(c,"lang",t[3]),e.set_custom_element_data(c,"clientstyling",t[4]),e.set_custom_element_data(c,"clientstylingurl",t[5]),e.set_custom_element_data(c,"mbsource",t[6]),e.attr(p,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":"")),e.attr(o,"class","InfoCardHeader "+(t[17]?"InfoCardMobileHeader":"")),e.attr(D,"class","InfoCardTableRow"),e.attr(E,"class","InfoCardTableWrapper"),e.attr(T,"class","InfoCardEditButton"),e.attr(A,"class","InfoCardControlArea"),e.attr(y,"class","InfoCard"),e.attr(a,"class","InfoCardWrapper"),e.attr(i,"class","InfoCardSection")},m(g,R){e.insert(g,i,R),e.append(i,a),e.append(a,o),e.append(o,n),e.append(n,r),e.append(o,s),e.append(o,p),e.append(p,C),e.append(p,L),e.append(p,c),e.append(a,j),e.append(a,y),e.append(y,E),e.append(E,D),f.m(D,null),e.append(y,z),e.append(y,A),e.append(A,T),e.append(T,S),e.append(A,b),d&&d.m(A,null),e.append(i,M),_&&_.m(i,null),N||(k=[e.listen(C,"click",e.prevent_default(t[24])),e.listen(T,"click",t[27])],N=!0)},p(g,R){R[0]&65539&&l!==(l=(g[0]?g[16](g[1].charAt(0).toLowerCase()+g[1].substring(1).replace(/\s/g,"")):"")+"")&&e.set_data(r,l),R[0]&512&&w!==(w=g[9][0])&&e.set_custom_element_data(c,"showpopup",w),R[0]&8&&e.set_custom_element_data(c,"lang",g[3]),R[0]&16&&e.set_custom_element_data(c,"clientstyling",g[4]),R[0]&32&&e.set_custom_element_data(c,"clientstylingurl",g[5]),R[0]&64&&e.set_custom_element_data(c,"mbsource",g[6]),u===(u=I(g))&&f?f.p(g,R):(f.d(1),f=u(g),f&&(f.c(),f.m(D,null))),R[0]&65536&&h!==(h=g[16]("edit")+"")&&e.set_data(S,h),!g[10]&&!g[0].isModified&&g[15]?d?d.p(g,R):(d=Z(g),d.c(),d.m(A,null)):d&&(d.d(1),d=null),g[12]?_?_.p(g,R):(_=X(g),_.c(),_.m(i,null)):_&&(_.d(1),_=null)},d(g){g&&e.detach(i),f.d(),d&&d.d(),_&&_.d(),N=!1,e.run_all(k)}}}function pe(t){let i;return{c(){i=e.element("div"),e.attr(i,"class","ModalLoader")},m(a,o){e.insert(a,i,o)},p:e.noop,d(a){a&&e.detach(i)}}}function ce(t){let i,a=e.ensure_array_like(t[0]),o=[];for(let n=0;n<a.length;n+=1)o[n]=Q(O(t,a,n));return{c(){for(let n=0;n<o.length;n+=1)o[n].c();i=e.empty()},m(n,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(n,l);e.insert(n,i,l)},p(n,l){if(l[0]&6750847){a=e.ensure_array_like(n[0]);let r;for(r=0;r<a.length;r+=1){const s=O(n,a,r);o[r]?o[r].p(s,l):(o[r]=Q(s),o[r].c(),o[r].m(i.parentNode,i))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(n){n&&e.detach(i),e.destroy_each(o,n)}}}function fe(t){let i,a=e.ensure_array_like(t[0]),o=[];for(let n=0;n<a.length;n+=1)o[n]=K(U(t,a,n));return{c(){for(let n=0;n<o.length;n+=1)o[n].c();i=e.empty()},m(n,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(n,l);e.insert(n,i,l)},p(n,l){if(l[0]&6750843){a=e.ensure_array_like(n[0]);let r;for(r=0;r<a.length;r+=1){const s=U(n,a,r);o[r]?o[r].p(s,l):(o[r]=K(s),o[r].c(),o[r].m(i.parentNode,i))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(n){n&&e.detach(i),e.destroy_each(o,n)}}}function G(t){let i,a=(t[41]?t[41].currency:"")+"",o;return{c(){i=e.element("span"),o=e.text(a),e.attr(i,"class","InfoCardCurrency")},m(n,l){e.insert(n,i,l),e.append(i,o)},p(n,l){l[0]&1&&a!==(a=(n[41]?n[41].currency:"")+"")&&e.set_data(o,a)},d(n){n&&e.detach(i)}}}function _e(t){let i,a=t[16]("notAvailable")+"",o;return{c(){i=e.element("div"),o=e.text(a),e.attr(i,"class","InfoCardRowValue")},m(n,l){e.insert(n,i,l),e.append(i,o)},p(n,l){l[0]&65536&&a!==(a=n[16]("notAvailable")+"")&&e.set_data(o,a)},d(n){n&&e.detach(i)}}}function ge(t){let i,a=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){i=e.element("div"),o=e.text(a),e.attr(i,"class","InfoCardRowValue")},m(n,l){e.insert(n,i,l),e.append(i,o)},p(n,l){l[0]&1&&a!==(a=(n[41]?F.getYear(new Date(n[41].expiryDate))>new Date().getFullYear()+30?n[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(n[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(n){n&&e.detach(i)}}}function Le(t){let i,a,o,n,l,r,s,p;function C(){return t[26](t[43])}return{c(){i=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),n=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(n,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(n,"iteminfoamount",r=t[41].updateAmount),e.set_custom_element_data(n,"currency",t[2]),e.set_custom_element_data(n,"lang",t[3]),e.set_custom_element_data(n,"clientstyling",t[4]),e.set_custom_element_data(n,"clientstylingurl",t[5]),e.set_custom_element_data(n,"mbsource",t[6]),e.attr(i,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(L,c){e.insert(L,i,c),e.append(i,a),e.append(i,o),e.append(i,n),s||(p=e.listen(a,"click",e.prevent_default(C)),s=!0)},p(L,c){t=L,c[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(n,"showpopup",l),c[0]&1&&r!==(r=t[41].updateAmount)&&e.set_custom_element_data(n,"iteminfoamount",r),c[0]&4&&e.set_custom_element_data(n,"currency",t[2]),c[0]&8&&e.set_custom_element_data(n,"lang",t[3]),c[0]&16&&e.set_custom_element_data(n,"clientstyling",t[4]),c[0]&32&&e.set_custom_element_data(n,"clientstylingurl",t[5]),c[0]&64&&e.set_custom_element_data(n,"mbsource",t[6])},d(L){L&&e.detach(i),s=!1,p()}}}function ye(t){let i,a,o;return{c(){i=e.element("div"),i.innerHTML="<span></span>",e.attr(i,"class","InfoCardRemoveIcon")},m(n,l){e.insert(n,i,l),a||(o=e.listen(i,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(n,l){t=n},d(n){n&&e.detach(i),a=!1,o()}}}function Q(t){let i,a,o,n,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,s,p,C=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",L,c,w=t[41].amount!="No limit"&&t[41].amount!=t[16]("noLimit"),j,y,E,D=t[16]("expirationDate")+"",z,A,T,h,S,b=w&&G(t);function M(d,_){return d[41].expiryDate?ge:_e}let N=M(t),k=N(t);function I(d,_){if(_[0]&65537&&(h=null),h==null&&(h=d[41].amount!==d[16]("noLimit")&&d[41].amount!=="No limit"&&!d[41].isModified),h)return ye;if(d[41].amount!="No limit"&&d[41].isModified)return Le}let u=I(t,[-1,-1]),f=u&&u(t);return{c(){i=e.element("div"),a=e.element("div"),o=e.element("div"),n=e.element("div"),r=e.text(l),s=e.space(),p=e.element("div"),L=e.text(C),c=e.space(),b&&b.c(),j=e.space(),y=e.element("div"),E=e.element("div"),z=e.text(D),A=e.space(),k.c(),T=e.space(),f&&f.c(),S=e.space(),e.attr(n,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(E,"class","InfoCardRowTitle"),e.attr(y,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(i,"class","InfoCardBox InfoCardMultipleItems")},m(d,_){e.insert(d,i,_),e.append(i,a),e.append(a,o),e.append(o,n),e.append(n,r),e.append(o,s),e.append(o,p),e.append(p,L),e.append(p,c),b&&b.m(p,null),e.append(a,j),e.append(a,y),e.append(y,E),e.append(E,z),e.append(y,A),k.m(y,null),e.append(i,T),f&&f.m(i,null),e.append(i,S)},p(d,_){_[0]&65537&&l!==(l=(d[41]?d[16](d[41].period.charAt(0).toLowerCase()+d[41].period.substring(1)):"")+"")&&e.set_data(r,l),_[0]&65537&&C!==(C=(d[41]?d[41].amount==="No limit"?d[16]("noLimit"):d[41].amount:0)+"")&&e.set_data(L,C),_[0]&65537&&(w=d[41].amount!="No limit"&&d[41].amount!=d[16]("noLimit")),w?b?b.p(d,_):(b=G(d),b.c(),b.m(p,null)):b&&(b.d(1),b=null),_[0]&65536&&D!==(D=d[16]("expirationDate")+"")&&e.set_data(z,D),N===(N=M(d))&&k?k.p(d,_):(k.d(1),k=N(d),k&&(k.c(),k.m(y,null))),u===(u=I(d,_))&&f?f.p(d,_):(f&&f.d(1),f=u&&u(d),f&&(f.c(),f.m(i,S)))},d(d){d&&e.detach(i),b&&b.d(),k.d(),f&&f.d()}}}function we(t){let i,a=t[16]("noLimit")+"",o;return{c(){i=e.element("span"),o=e.text(a),e.attr(i,"class","InfoCardCurrency")},m(n,l){e.insert(n,i,l),e.append(i,o)},p(n,l){l[0]&65536&&a!==(a=n[16]("noLimit")+"")&&e.set_data(o,a)},d(n){n&&e.detach(i)}}}function he(t){let i=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",a,o,n=t[41].amount!=="No limit"&&t[41].amount!==t[16]("noLimit"),l,r=n&&J(t);return{c(){a=e.text(i),o=e.space(),r&&r.c(),l=e.empty()},m(s,p){e.insert(s,a,p),e.insert(s,o,p),r&&r.m(s,p),e.insert(s,l,p)},p(s,p){p[0]&65537&&i!==(i=(s[41]?s[41].amount==="No limit"?s[16]("noLimit"):s[41].amount:0)+"")&&e.set_data(a,i),p[0]&65537&&(n=s[41].amount!=="No limit"&&s[41].amount!==s[16]("noLimit")),n?r?r.p(s,p):(r=J(s),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(s){s&&(e.detach(a),e.detach(o),e.detach(l)),r&&r.d(s)}}}function J(t){let i,a=t[16]("minutes")+"",o;return{c(){i=e.element("span"),o=e.text(a),e.attr(i,"class","InfoCardCurrency")},m(n,l){e.insert(n,i,l),e.append(i,o)},p(n,l){l[0]&65536&&a!==(a=n[16]("minutes")+"")&&e.set_data(o,a)},d(n){n&&e.detach(i)}}}function ve(t){let i,a=t[16]("notAvailable")+"",o;return{c(){i=e.element("div"),o=e.text(a),e.attr(i,"class","InfoCardRowValue")},m(n,l){e.insert(n,i,l),e.append(i,o)},p(n,l){l[0]&65536&&a!==(a=n[16]("notAvailable")+"")&&e.set_data(o,a)},d(n){n&&e.detach(i)}}}function be(t){let i,a=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){i=e.element("div"),o=e.text(a),e.attr(i,"class","InfoCardRowValue")},m(n,l){e.insert(n,i,l),e.append(i,o)},p(n,l){l[0]&1&&a!==(a=(n[41]?F.getYear(new Date(n[41].expiryDate))>new Date().getFullYear()+30?n[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(n[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(n){n&&e.detach(i)}}}function Ce(t){let i,a,o,n,l,r,s,p,C;function L(){return t[25](t[43])}return{c(){i=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),n=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(n,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(n,"iteminfoamount",r=t[41].updateMinutes),e.set_custom_element_data(n,"currency",s=t[16]("minutes")),e.set_custom_element_data(n,"lang",t[3]),e.set_custom_element_data(n,"clientstyling",t[4]),e.set_custom_element_data(n,"clientstylingurl",t[5]),e.set_custom_element_data(n,"mbsource",t[6]),e.attr(i,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(c,w){e.insert(c,i,w),e.append(i,a),e.append(i,o),e.append(i,n),p||(C=e.listen(a,"click",e.prevent_default(L)),p=!0)},p(c,w){t=c,w[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(n,"showpopup",l),w[0]&1&&r!==(r=t[41].updateMinutes)&&e.set_custom_element_data(n,"iteminfoamount",r),w[0]&65536&&s!==(s=t[16]("minutes"))&&e.set_custom_element_data(n,"currency",s),w[0]&8&&e.set_custom_element_data(n,"lang",t[3]),w[0]&16&&e.set_custom_element_data(n,"clientstyling",t[4]),w[0]&32&&e.set_custom_element_data(n,"clientstylingurl",t[5]),w[0]&64&&e.set_custom_element_data(n,"mbsource",t[6])},d(c){c&&e.detach(i),p=!1,C()}}}function ke(t){let i,a,o;return{c(){i=e.element("div"),i.innerHTML="<span></span>",e.attr(i,"class","InfoCardRemoveIcon")},m(n,l){e.insert(n,i,l),a||(o=e.listen(i,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(n,l){t=n},d(n){n&&e.detach(i),a=!1,o()}}}function K(t){let i,a,o,n,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,s,p,C,L,c,w=t[16]("expirationDate")+"",j,y,E,D,z;function A(u,f){return u[41].amount!==0?he:we}let T=A(t),h=T(t);function S(u,f){return u[41].expiryDate?be:ve}let b=S(t),M=b(t);function N(u,f){if(f[0]&65537&&(D=null),D==null&&(D=u[41].amount!==u[16]("noLimit")&&u[41].amount!=="No limit"&&!u[41].isModified),D)return ke;if(u[41].amount!="No limit"&&u[41].isModified)return Ce}let k=N(t,[-1,-1]),I=k&&k(t);return{c(){i=e.element("div"),a=e.element("div"),o=e.element("div"),n=e.element("div"),r=e.text(l),s=e.space(),p=e.element("div"),h.c(),C=e.space(),L=e.element("div"),c=e.element("div"),j=e.text(w),y=e.space(),M.c(),E=e.space(),I&&I.c(),z=e.space(),e.attr(n,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(c,"class","InfoCardRowTitle"),e.attr(L,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(i,"class","InfoCardBox InfoCardMultipleItems")},m(u,f){e.insert(u,i,f),e.append(i,a),e.append(a,o),e.append(o,n),e.append(n,r),e.append(o,s),e.append(o,p),h.m(p,null),e.append(a,C),e.append(a,L),e.append(L,c),e.append(c,j),e.append(L,y),M.m(L,null),e.append(i,E),I&&I.m(i,null),e.append(i,z)},p(u,f){f[0]&65537&&l!==(l=(u[41]?u[16](u[41].period.charAt(0).toLowerCase()+u[41].period.substring(1)):"")+"")&&e.set_data(r,l),T===(T=A(u))&&h?h.p(u,f):(h.d(1),h=T(u),h&&(h.c(),h.m(p,null))),f[0]&65536&&w!==(w=u[16]("expirationDate")+"")&&e.set_data(j,w),b===(b=S(u))&&M?M.p(u,f):(M.d(1),M=b(u),M&&(M.c(),M.m(L,null))),k===(k=N(u,f))&&I?I.p(u,f):(I&&I.d(1),I=k&&k(u),I&&(I.c(),I.m(i,z)))},d(u){u&&e.detach(i),h.d(),M.d(),I&&I.d()}}}function Z(t){let i,a=t[16]("removeLimits")+"",o,n,l;return{c(){i=e.element("button"),o=e.text(a),e.attr(i,"class","InfoCardRemoveButton")},m(r,s){e.insert(r,i,s),e.append(i,o),n||(l=e.listen(i,"click",t[28]),n=!0)},p(r,s){s[0]&65536&&a!==(a=r[16]("removeLimits")+"")&&e.set_data(o,a)},d(r){r&&e.detach(i),n=!1,l()}}}function X(t){let i,a,o;return{c(){i=e.element("player-account-modal"),a=e.element("player-account-gaming-limits-confirmation-modal"),e.set_custom_element_data(a,"modaltext",o=t[11]?t[13]:t[14]),e.set_custom_element_data(a,"modalsource","infoCard"),e.set_custom_element_data(a,"lang",t[3]),e.set_custom_element_data(a,"clientstyling",t[4]),e.set_custom_element_data(a,"clientstylingurl",t[5]),e.set_custom_element_data(a,"mbsource",t[6]),e.set_custom_element_data(i,"clientstyling",t[4]),e.set_custom_element_data(i,"clientstylingurl",t[5]),e.set_custom_element_data(i,"mbsource",t[6])},m(n,l){e.insert(n,i,l),e.append(i,a)},p(n,l){l[0]&26624&&o!==(o=n[11]?n[13]:n[14])&&e.set_custom_element_data(a,"modaltext",o),l[0]&8&&e.set_custom_element_data(a,"lang",n[3]),l[0]&16&&e.set_custom_element_data(a,"clientstyling",n[4]),l[0]&32&&e.set_custom_element_data(a,"clientstylingurl",n[5]),l[0]&64&&e.set_custom_element_data(a,"mbsource",n[6]),l[0]&16&&e.set_custom_element_data(i,"clientstyling",n[4]),l[0]&32&&e.set_custom_element_data(i,"clientstylingurl",n[5]),l[0]&64&&e.set_custom_element_data(i,"mbsource",n[6])},d(n){n&&e.detach(i)}}}function Ie(t){let i;function a(l,r){return l[8]?pe:ue}let o=a(t),n=o(t);return{c(){i=e.element("div"),n.c()},m(l,r){e.insert(l,i,r),n.m(i,null),t[29](i)},p(l,r){o===(o=a(l))&&n?n.p(l,r):(n.d(1),n=o(l),n&&(n.c(),n.m(i,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(i),n.d(),t[29](null)}}}function De(t,i,a){let o;e.component_subscribe(t,e.$format,m=>a(16,o=m));let{limitsdata:n=[]}=i,{limitname:l=""}=i,{currency:r=""}=i,{lang:s="en"}=i,{clientstyling:p=""}=i,{clientstylingurl:C=""}=i,{mbsource:L}=i,{translationurl:c=""}=i;const w=()=>{fetch(c).then(v=>v.json()).then(v=>{Object.keys(v).forEach(B=>{V(B,v[B])})}).catch(v=>{console.log(v)})};Object.keys(Y).forEach(m=>{V(m,Y[m])});let j=!0,y,E,D=new Array(5).fill(0),z=["Daily","Weekly","Monthly"],A=!0,T=!0,h=!1,S=window.navigator.userAgent,b=e.getDevice(S)!=="PC",M="",N="",k=!0,I=new Date;const u=m=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:m,name:l},window.location.href)},f=m=>{a(12,h=!0),a(11,T=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:l},window.location.href)},d=(m,v)=>{a(12,h=!0),a(11,T=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:v},window.location.href)},_=m=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{a(9,D[m]=!0,D)},50)},g=m=>{let v=[...m];z.forEach((B,W)=>{v.find(P=>P.period===B)||(v=R(v,W,B));const q=v.find(P=>P.period===B);q&&q.amount!=="No limit"&&a(10,A=!1)}),m.splice(0,m.length,...v),a(8,j=!1)},R=(m,v,B)=>{const W={period:B,amount:"No limit",currency:"",isModified:!1,expiryDate:""},q=[...m];return q.splice(v,0,W),q},$=(m,v)=>m.period==="Weekly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Weekly"?1:m.period==="Daily"&&v.period==="Weekly"||m.period==="Daily"&&v.period==="Monthly"||m.period==="Weekly"&&v.period==="Monthly"?-1:0,ee=()=>{let m="";m=l==="Time Limit"?"time limit":l==="Deposit Limit"?"deposit limit":l==="Wagering Limit"?"wagering limit":"loss limit",a(13,M=o("removeLimitsText",{values:{limit:m}})),a(14,N=o("removeLimitText",{values:{limit:m}}))},te=m=>{m.forEach(v=>{v.isModified&&a(15,k=!1)})},ie=()=>{se(s),ee(),te(n),g(n),n.sort($)},H=m=>{if(m.data)switch(m.data.type){case"ClosePlayerAccountGamingLimitsPopup":a(9,D=new Array(5).fill(0));break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),a(12,h=!1),a(11,T=!1);break}};e.onMount(()=>(window.addEventListener("message",H,!1),()=>{window.removeEventListener("message",H)}));const ne=()=>_(0),ae=m=>_(m+1),oe=m=>_(m+1),le=()=>u(n),re=()=>f(n);function me(m){e.binding_callbacks[m?"unshift":"push"](()=>{y=m,a(7,y)})}return t.$$set=m=>{"limitsdata"in m&&a(0,n=m.limitsdata),"limitname"in m&&a(1,l=m.limitname),"currency"in m&&a(2,r=m.currency),"lang"in m&&a(3,s=m.lang),"clientstyling"in m&&a(4,p=m.clientstyling),"clientstylingurl"in m&&a(5,C=m.clientstylingurl),"mbsource"in m&&a(6,L=m.mbsource),"translationurl"in m&&a(23,c=m.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&11&&n&&l&&s&&ie(),t.$$.dirty[0]&144&&p&&y&&e.setClientStyling(y,p),t.$$.dirty[0]&160&&C&&y&&e.setClientStylingURL(y,C),t.$$.dirty[0]&192&&L&&y&&e.setStreamStyling(y,`${L}.Style`,E),t.$$.dirty[0]&8388608&&c&&w()},[n,l,r,s,p,C,L,y,j,D,A,T,h,M,N,k,o,b,I,u,f,d,_,c,ne,ae,oe,le,re,me]}class x extends e.SvelteComponent{constructor(i){super(),e.init(this,i,De,Ie,e.safe_not_equal,{limitsdata:0,limitname:1,currency:2,lang:3,clientstyling:4,clientstylingurl:5,mbsource:6,translationurl:23},de,[-1,-1])}get limitsdata(){return this.$$.ctx[0]}set limitsdata(i){this.$$set({limitsdata:i}),e.flush()}get limitname(){return this.$$.ctx[1]}set limitname(i){this.$$set({limitname:i}),e.flush()}get currency(){return this.$$.ctx[2]}set currency(i){this.$$set({currency:i}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(i){this.$$set({lang:i}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(i){this.$$set({clientstyling:i}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(i){this.$$set({mbsource:i}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(i){this.$$set({translationurl:i}),e.flush()}}e.create_custom_element(x,{limitsdata:{},limitname:{},currency:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=x;
|