@everymatrix/player-account-controller 1.86.4 → 1.86.5
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-BOnb2iBt.js → GeneralLogout-BtP2SNPX.js} +856 -835
- package/components/GeneralLogout-CK8tLROK.cjs +21 -0
- package/components/{GeneralLogout-DjIbOrTj.js → GeneralLogout-hWNQ3J3o.js} +826 -805
- package/components/PlayerAccountBettingHistory-CSaFsnwC.cjs +1 -0
- package/components/PlayerAccountBettingHistory-D3xhBTAE.js +311 -0
- package/components/PlayerAccountBettingHistory-RBEtFHjB.js +310 -0
- package/components/{PlayerAccountBiometrics-QVmfbZzG.js → PlayerAccountBiometrics-BIYcG8cX.js} +22 -22
- package/components/{PlayerAccountBiometrics-YU3I-IHb.js → PlayerAccountBiometrics-Dp3Y8HTH.js} +22 -22
- package/components/{PlayerAccountBiometrics-ynUd1qQ9.cjs → PlayerAccountBiometrics-S9tvxAFz.cjs} +1 -1
- package/components/{PlayerAccountClosure-Bj4jXSc4.js → PlayerAccountClosure-BbW4iG-i.js} +45 -45
- package/components/{PlayerAccountClosure-CMLtteuy.js → PlayerAccountClosure-D7pmJiXo.js} +45 -45
- package/components/{PlayerAccountClosure-D45H4qp6.cjs → PlayerAccountClosure-jnEN5Fk4.cjs} +1 -1
- package/components/{PlayerAccountController-D9L8iTP5.js → PlayerAccountController-B0hqoPkx.js} +323 -323
- package/components/{PlayerAccountController-D3Cks26j.js → PlayerAccountController-CNVC5ehr.js} +321 -321
- package/components/{PlayerAccountController-DAsgXdng.cjs → PlayerAccountController-CtKX05xg.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-28tjnuGZ.js → PlayerAccountGamingLimits-BHtPyrhy.js} +127 -127
- package/components/{PlayerAccountGamingLimits-BKWM3ydF.js → PlayerAccountGamingLimits-BrXUGipz.js} +127 -127
- package/components/{PlayerAccountGamingLimits-DSnskFV1.cjs → PlayerAccountGamingLimits-BwYoIU8M.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-278XFqj4.js → PlayerAccountGamingLimitsConfirmationModal-B5ITcUEU.js} +33 -33
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Y0WlAWLt.cjs → PlayerAccountGamingLimitsConfirmationModal-BJUqmOGM.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BOGS6zWj.js → PlayerAccountGamingLimitsConfirmationModal-BpGTQY8Q.js} +33 -33
- package/components/PlayerAccountGamingLimitsGroupEdit-CmipcCdJ.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-CCSs2ZZl.js → PlayerAccountGamingLimitsGroupEdit-DsZYUSCI.js} +225 -227
- package/components/{PlayerAccountGamingLimitsGroupEdit-CTPRr65m.js → PlayerAccountGamingLimitsGroupEdit-K-lekHTx.js} +225 -227
- package/components/{PlayerAccountGamingLimitsHistory2-B4RJQdmm.js → PlayerAccountGamingLimitsHistory2-BWbMKCJM.js} +37 -37
- package/components/{PlayerAccountGamingLimitsHistory2-BaAKbqeZ.js → PlayerAccountGamingLimitsHistory2-CxA06bC4.js} +39 -39
- package/components/{PlayerAccountGamingLimitsHistory2-BK4iv-bI.cjs → PlayerAccountGamingLimitsHistory2-DbWCQlJP.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BDk7ivhc.cjs → PlayerAccountGamingLimitsInfoCard-BFzvB3KC.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BNWgZuBf.js → PlayerAccountGamingLimitsInfoCard-WqmdXNpw.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-CkWQ4EZm.js → PlayerAccountGamingLimitsInfoCard-fSpypV1Q.js} +83 -83
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BqWqb_Sl.js → PlayerAccountGamingLimitsPage2Gm16-CKqk7okN.js} +103 -103
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BtbMBUsn.cjs → PlayerAccountGamingLimitsPage2Gm16-CN784V5v.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DgnhVkqB.js → PlayerAccountGamingLimitsPage2Gm16-DbTjbrCg.js} +153 -153
- package/components/{PlayerAccountGamingLimitsPopup-Dnb4sqOe.js → PlayerAccountGamingLimitsPopup-1UbtHpM4.js} +26 -26
- package/components/{PlayerAccountGamingLimitsPopup-QsGFiUFM.js → PlayerAccountGamingLimitsPopup-6hO_YTRk.js} +26 -26
- package/components/{PlayerAccountGamingLimitsPopup-zCNpZt4B.cjs → PlayerAccountGamingLimitsPopup-D5nYGWok.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CNeKBKiF.js → PlayerAccountGamingLimitsWrapper2-DKH_oTPL.js} +37 -37
- package/components/{PlayerAccountGamingLimitsWrapper2-Bj2uNFuV.cjs → PlayerAccountGamingLimitsWrapper2-DkVrqK1a.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BVmH_JL_.js → PlayerAccountGamingLimitsWrapper2-H5X72FGo.js} +37 -37
- package/components/{PlayerAccountGeneralConfirmationModal-D8zWkoMs.js → PlayerAccountGeneralConfirmationModal-48XuglXa.js} +32 -32
- package/components/{PlayerAccountGeneralConfirmationModal-BHzKxY1M.cjs → PlayerAccountGeneralConfirmationModal-Fg_ynnO5.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-O_Thi6bs.js → PlayerAccountGeneralConfirmationModal-mKvnC-aM.js} +32 -32
- package/components/{PlayerAccountMenu-CgsII09V.cjs → PlayerAccountMenu-D-3XXdrS.cjs} +1 -1
- package/components/{PlayerAccountMenu-ectFLNth.js → PlayerAccountMenu-DYFceiv-.js} +34 -34
- package/components/{PlayerAccountMenu-BzSTtrmv.js → PlayerAccountMenu-DZYiL86p.js} +36 -36
- package/components/{PlayerAccountModal-CY8gRMWy.cjs → PlayerAccountModal-BuDt5h1l.cjs} +1 -1
- package/components/{PlayerAccountModal-DaOLv-NY.js → PlayerAccountModal-DuBxYfB-.js} +24 -24
- package/components/{PlayerAccountModal-SvxOIw-1.js → PlayerAccountModal-vXNHQMMx.js} +24 -24
- package/components/{PlayerAccountNotifications-Df1nYl5z.js → PlayerAccountNotifications-BaVSuY0V.js} +31 -31
- package/components/{PlayerAccountNotifications-CIW_UfiN.cjs → PlayerAccountNotifications-D2sFlbP7.cjs} +1 -1
- package/components/{PlayerAccountNotifications-lUtQW0cy.js → PlayerAccountNotifications-eimwb2B_.js} +30 -30
- package/components/{PlayerAccountProductRestriction-DgJUoyYB.js → PlayerAccountProductRestriction-Cbwqgb-P.js} +1736 -1736
- package/components/{PlayerAccountProductRestriction-EHl8M1GB.js → PlayerAccountProductRestriction-HYm0eIXb.js} +1721 -1721
- package/components/{PlayerAccountProductRestriction-Bk8I1Rqd.cjs → PlayerAccountProductRestriction-i5lUVlsQ.cjs} +269 -269
- package/components/{PlayerAccountReviewFrequency-BBLUZ6ex.js → PlayerAccountReviewFrequency-B55vgMkU.js} +27 -27
- package/components/{PlayerAccountReviewFrequency-P7uk_Ztp.js → PlayerAccountReviewFrequency-D39G6M8w.js} +27 -27
- package/components/{PlayerAccountReviewFrequency-CBjQjnfc.cjs → PlayerAccountReviewFrequency-oyuyzboO.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-DfsaDGPw.js → PlayerAccountSelfExclusion-Btcxzmyl.js} +113 -114
- package/components/{PlayerAccountSelfExclusion-DztxNwlD.cjs → PlayerAccountSelfExclusion-CCMP12tO.cjs} +86 -86
- package/components/{PlayerAccountSelfExclusion-ovuuzWXL.js → PlayerAccountSelfExclusion-CY5wEDf5.js} +563 -564
- package/components/{PlayerAccountTimeout-BRXoWqhe.cjs → PlayerAccountTimeout-CBYSh_gx.cjs} +1 -1
- package/components/{PlayerAccountTimeout-B5IP0PdK.js → PlayerAccountTimeout-Cl5M8UZM.js} +59 -59
- package/components/{PlayerAccountTimeout-DzQi6yWM.js → PlayerAccountTimeout-CnmuzL1o.js} +59 -59
- package/components/{PlayerAccountTransactionsHistory-B3fkTCCB.js → PlayerAccountTransactionsHistory-B89UQBgK.js} +74 -74
- package/components/{PlayerAccountTransactionsHistory-dE8niHZ5.js → PlayerAccountTransactionsHistory-CuLSo_WG.js} +74 -74
- package/components/{PlayerAccountTransactionsHistory-DyJM2Ruh.cjs → PlayerAccountTransactionsHistory-DborEyiw.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CbX5Pr0C.js → PlayerActiveBonuses-Cv7645BT.js} +55 -55
- package/components/{PlayerActiveBonuses-BRHjOIvu.js → PlayerActiveBonuses-Rb7CqkQm.js} +59 -59
- package/components/{PlayerActiveBonuses-DUjeakxU.cjs → PlayerActiveBonuses-rgpIrlXZ.cjs} +1 -1
- package/components/{PlayerBonusCard-BjQyqGUx.js → PlayerBonusCard-Byfk3zTj.js} +64 -64
- package/components/{PlayerBonusCard-VRSzYcHq.js → PlayerBonusCard-D3S1mqXd.js} +64 -64
- package/components/{PlayerBonusCard-L76jqlzO.cjs → PlayerBonusCard-DDnmH7Q3.cjs} +1 -1
- package/components/{PlayerBonusHistory-zDuqv2Xe.js → PlayerBonusHistory-BKquFnB_.js} +35 -35
- package/components/{PlayerBonusHistory-C36LLD9L.js → PlayerBonusHistory-CjQW7Bz0.js} +35 -35
- package/components/{PlayerBonusHistory-CaZuwvZh.cjs → PlayerBonusHistory-KRE5nRLu.cjs} +1 -1
- package/components/{PlayerChangePassword-DvLZa59W.js → PlayerChangePassword-CrimbboS.js} +64 -64
- package/components/{PlayerChangePassword-Df1yWLGd.js → PlayerChangePassword-DjvBDg3y.js} +64 -64
- package/components/{PlayerChangePassword-AMc1FhMX.cjs → PlayerChangePassword-Dse_H2fj.cjs} +1 -1
- package/components/{PlayerDeposit-BfA8FXpl.js → PlayerDeposit-BBN4CKJK.js} +80 -80
- package/components/{PlayerDeposit-CaljSGlo.js → PlayerDeposit-BZ6g3CTd.js} +80 -80
- package/components/PlayerDeposit-rfdArTZi.cjs +1 -0
- package/components/{PlayerGamingHistory-CAFJZ3_B.js → PlayerGamingHistory-00NQrAip.js} +61 -61
- package/components/{PlayerGamingHistory-DY_zyXD6.js → PlayerGamingHistory-DzArsva8.js} +69 -69
- package/components/{PlayerGamingHistory-CwViv4Q1.cjs → PlayerGamingHistory-S-SzMIdL.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-Cm0fwSwi.js → PlayerPendingWithdrawals-BFjzJT3E.js} +26 -26
- package/components/{PlayerPendingWithdrawals-B1VPUcDU.js → PlayerPendingWithdrawals-D97Q7Wwu.js} +26 -26
- package/components/{PlayerPendingWithdrawals-Clnbqpbc.cjs → PlayerPendingWithdrawals-DjrsUKIF.cjs} +1 -1
- package/components/{PlayerProfileInfo-C679iFSl.cjs → PlayerProfileInfo-CGvjIKQN.cjs} +2 -2
- package/components/{PlayerProfileInfo-DPdHOj2U.js → PlayerProfileInfo-DyKs84t2.js} +326 -326
- package/components/{PlayerProfileInfo-MihJad1H.js → PlayerProfileInfo-SbEB0z2o.js} +287 -287
- package/components/{PlayerRealityCheck-CFudx21y.js → PlayerRealityCheck-C9r4TGt5.js} +45 -45
- package/components/{PlayerRealityCheck-C4mPQixI.cjs → PlayerRealityCheck-CYmf-RVV.cjs} +1 -1
- package/components/{PlayerRealityCheck-DTYvcrjT.js → PlayerRealityCheck-pY-GH7Tx.js} +44 -44
- package/components/{PlayerTransactionHistory-DiLrJt2G.js → PlayerTransactionHistory-CAA600Et.js} +19 -19
- package/components/{PlayerTransactionHistory-rDPZht6D.js → PlayerTransactionHistory-DY9X6YZW.js} +19 -19
- package/components/{PlayerTransactionHistory-DPxtzy-C.cjs → PlayerTransactionHistory-DlY_0H_I.cjs} +1 -1
- package/components/{PlayerWithdrawal--Aa-nhcx.js → PlayerWithdrawal-BIFTys53.js} +19 -19
- package/components/{PlayerWithdrawal-CXT9imAf.js → PlayerWithdrawal-BcnzA5BS.js} +19 -19
- package/components/{PlayerWithdrawal-CBCp9PZ6.cjs → PlayerWithdrawal-Dt-iI81t.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_16-BFzhy5Ds.js → checkbox-group-input_16-BC4v8R1S.js} +2726 -2730
- package/stencil/{checkbox-group-input_16-D97ZQUQc.cjs → checkbox-group-input_16-JIjNKsjV.cjs} +241 -241
- package/stencil/{checkbox-group-input_16-DWlrP0bl.js → checkbox-group-input_16-RYO1eLMo.js} +2727 -2731
- package/stencil/index-1ef3a64c-BzR_jMKw.cjs +1 -0
- package/stencil/index-1ef3a64c-CEngIsyB.js +556 -0
- package/stencil/index-1ef3a64c-D5p-wZAC.js +572 -0
- package/stencil/{index-6e523641-B3-KBTxo.js → index-6e523641-BB_MNuoS.js} +215 -215
- package/stencil/index-6e523641-C2D7V1Bj.js +654 -0
- package/stencil/index-6e523641-CKmTS6uC.cjs +1 -0
- package/stencil/index-9c0f6c58-DEQL19Io.js +576 -0
- package/stencil/{index-9c0f6c58-CeqaT62D.js → index-9c0f6c58-DjED2nNw.js} +197 -197
- package/stencil/index-9c0f6c58-XIZolvs1.cjs +1 -0
- package/stencil/index-b2193545-0zWC7J3V.js +519 -0
- package/stencil/index-b2193545-BDUg7na_.js +503 -0
- package/stencil/index-b2193545-C-iFa_cO.cjs +1 -0
- package/stencil/index-c666b6e6-Byhd6hcm.js +595 -0
- package/stencil/index-c666b6e6-CF6tkxHf.cjs +1 -0
- package/stencil/index-c666b6e6-Do6y6LKI.js +611 -0
- package/stencil/{pam-change-password-6b535bd5-IDEQf7lQ.js → pam-change-password-6b535bd5-BQRVBjrK.js} +1 -1
- package/stencil/{pam-change-password-6b535bd5-CwKI0Z0X.js → pam-change-password-6b535bd5-CRmngfXe.js} +1 -1
- package/stencil/{pam-change-password-6b535bd5-BiGQ8KVX.cjs → pam-change-password-6b535bd5-CeXNndIG.cjs} +1 -1
- package/stencil/{pam-change-password-ZcgLi1FB.js → pam-change-password-D00SLeAW.js} +1 -1
- package/stencil/{pam-change-password-okTOstph.cjs → pam-change-password-DYLwctX0.cjs} +1 -1
- package/stencil/{pam-change-password-uAFIJHlm.js → pam-change-password-DjJxocc2.js} +1 -1
- package/stencil/{player-kyc-verification-B92GKGxG.js → player-kyc-verification-BUKoBt3P.js} +1 -1
- package/stencil/{player-kyc-verification-CswmhI0w.cjs → player-kyc-verification-Cg0fVyvL.cjs} +1 -1
- package/stencil/{player-kyc-verification-BgWMJYb9.js → player-kyc-verification-vQ6gNPBe.js} +1 -1
- package/stencil/{ui-skeleton-D72p-Fr7.js → ui-skeleton-BQnxp85t.js} +2 -2
- package/stencil/{ui-skeleton-8FQE3dtj.cjs → ui-skeleton-C2ZVNvDq.cjs} +1 -1
- package/stencil/{ui-skeleton-Xqkce5rC.js → ui-skeleton-CTFP1U_H.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BseCcEeK.js → ui-skeleton-ed169f8f-BXqYzfTU.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-Dby1l0Am.cjs → ui-skeleton-ed169f8f-DCJKKb_M.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-DOY6gII1.js → ui-skeleton-ed169f8f-OyzwWyyv.js} +1 -1
- package/stencil/{user-deposit-withdrawal-DcXo00rH.js → user-deposit-withdrawal-C5lc1C0l.js} +147 -147
- package/stencil/{user-deposit-withdrawal-DSds1LFu.cjs → user-deposit-withdrawal-DfWpITDc.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-Bl8GtEeG.js → user-deposit-withdrawal-DmXcotOq.js} +135 -135
- package/stencil/{user-transaction-history-BOyTKs-L.cjs → user-transaction-history-BOayQu-b.cjs} +1 -1
- package/stencil/{user-transaction-history-DQGnZaCf.js → user-transaction-history-Bd1eC2iV.js} +1 -1
- package/stencil/{user-transaction-history-DsrE-ay4.js → user-transaction-history-BkmoDFTs.js} +1 -1
- package/stencil/{user-transaction-history_2-Bd2twNve.js → user-transaction-history_2-BSVh_kdE.js} +4067 -4071
- package/stencil/{user-transaction-history_2-2E4LODiP.cjs → user-transaction-history_2-CI6uuSIf.cjs} +279 -279
- package/stencil/{user-transaction-history_2-DSqMAOln.js → user-transaction-history_2-PSCBkBVb.js} +4053 -4057
- package/components/GeneralLogout-DDP4rL2J.cjs +0 -21
- package/components/PlayerAccountBettingHistory-B89zDM2m.cjs +0 -1
- package/components/PlayerAccountBettingHistory-D0Jedf4O.js +0 -310
- package/components/PlayerAccountBettingHistory-DSuwi17X.js +0 -311
- package/components/PlayerAccountGamingLimitsGroupEdit-CvTM9Url.cjs +0 -2
- package/components/PlayerDeposit-CiYmhvoJ.cjs +0 -1
- package/stencil/index-1ef3a64c-7FrzWBo0.js +0 -572
- package/stencil/index-1ef3a64c-CiqxxPPf.js +0 -556
- package/stencil/index-1ef3a64c-DYVBCVnw.cjs +0 -1
- package/stencil/index-6e523641-BidoKGkF.js +0 -654
- package/stencil/index-6e523641-YrOpGARh.cjs +0 -1
- package/stencil/index-9c0f6c58-DU0KIZIN.cjs +0 -1
- package/stencil/index-9c0f6c58-qzbktWKM.js +0 -576
- package/stencil/index-b2193545-BDXOeFnW.js +0 -519
- package/stencil/index-b2193545-Cspmk58C.js +0 -503
- package/stencil/index-b2193545-Dd6Y7OR7.cjs +0 -1
- package/stencil/index-c666b6e6-Al15kG4D.js +0 -611
- package/stencil/index-c666b6e6-B6H6r-L0.cjs +0 -1
- package/stencil/index-c666b6e6-DaWXT_VY.js +0 -595
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var li=Object.defineProperty;var Fe=Object.getOwnPropertySymbols;var di=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable;var qe=(o,t,i)=>t in o?li(o,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[t]=i,we=(o,t)=>{for(var i in t||(t={}))di.call(t,i)&&qe(o,i,t[i]);if(Fe)for(var i of Fe(t))ui.call(t,i)&&qe(o,i,t[i]);return o};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-
|
|
1
|
+
"use strict";var li=Object.defineProperty;var Fe=Object.getOwnPropertySymbols;var di=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable;var qe=(o,t,i)=>t in o?li(o,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[t]=i,we=(o,t)=>{for(var i in t||(t={}))di.call(t,i)&&qe(o,i,t[i]);if(Fe)for(var i of Fe(t))ui.call(t,i)&&qe(o,i,t[i]);return o};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CK8tLROK.cjs");require("../stencil/ui-skeleton-C2ZVNvDq.cjs");const R={lugas:{title:"Deposit Limit",value:"lugas",callValue:"lugasLimit",callValue16:"Lugas"},deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",callValue16:"Deposit"},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",callValue16:"Loss"},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",callValue16:"Wagering"},stake:{title:"Stake Limit",value:"stake",callValue:"maxStake",callValue16:"MaxStake"},sessionLimit:{title:"Single Session Time Limit",value:"sessionLimit",callValue:"sessionLimits",callValue16:"sessionLimit"},cumulativeSession:{title:"Cumulative Session Time Limit",value:"cumulativeSession",callValue:"cumulativeSessionLimits",callValue16:"cumulativeSession"},netdeposit:{title:"Net Deposit Limit",value:"netdeposit",callValue:"netDepositLimits",callValue16:"NetDeposit"}};function Ge(o,t){e.addMessages(o,t)}function pi(o){e.$locale.set(o)}const le={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",newDailyLimit:"New daily limit",newWeeklyLimit:"New weekly limit",newMonthlyLimit:"New monthly limit",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",seconds:"seconds",updateText:"will be applied on",updateAfterConfirm:"will be applied after confirmation",acknowledgedLimit:"Limit update confirmed and will be applied in ~1 min",removedLimitText:"The limit will be removed on",removeAfterConfirm:"The limit will be removed after confirmation.",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",minutes:"minutes",loss:"Loss Limit",lossAll:"Loss - All Limit",lossCasino:"Loss - Casino Limit",lossSports:"Loss - Sports Limit",deposit:"Deposit Limit",depositAll:"Deposit - All Limit",depositCasino:"Deposit - Casino Limit",depositSports:"Deposit - Sports Limit",wager:"Wager Limit",wagerAll:"Wager - All Limit",wagerCasino:"Wager - Casino Limit",wagerSports:"Wager - Sports Limit",stake:"Stake Limit",stakeAll:"Stake - All Limit",stakeCasino:"Stake - Casino Limit",stakeSports:"Stake - Sports Limit",lugas:"Current Deposit Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",sessionLimit:"Single Session Time Limit",sessionLimitUpdated:"Session limit updated successfully.",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",confirmUpdateLimit:"CONFIRM",cancelUpdateLimit:"CANCEL",reloadLimitsButton:"RELOAD",setLimit:"Set new limit",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"An error has occurred.",popupUpdateLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",popupRemoveLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",notFoundException:"Limit does not exist",sessionExpiredException:"Your session has expired",popup3:`Thank you!
|
|
2
2
|
We have transmited your desired limit to Lugas
|
|
3
3
|
Please be aware that the limit will only come into effect after 8 days at the latest.`,popup2_a:"We were able to set your monthly deposit limit to",popup2_b:". For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.",kycNeeded2:". In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",invalidInputMessageLimitMin:"The value entered must be higher than {minValue} {currency}.",invalidInputMessageLimitMax:"The value entered must be less than {maxValue} {currency}.",invalidInputMessage:"Please enter a valid number.",unableToUpdatePendingRequest:"We were unable to update your limit because another update is already pending. Please try again after the current update is applied.",internalServerError:"Unfortunately, there was an error setting your LUGAS limit. Please try again or contact our customer support at <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a>.",docsRequired:"Documents required!",okButton:"OK",complianceText:"As an authorized operator, it applies the necessary limits imposed by the government","dataLayer-sports":"Sports","dataLayer-casino":"Casino","dataLayer-wager":"Wager","dataLayer-loss":"Loss","dataLayer-deposit":"Deposit","dataLayer-daily":"Daily","dataLayer-weekly":"Weekly","dataLayer-monthly":"Monthly",netdepositAll:"Net Deposit Limit",uploadDocumentHeader:"Upload a Supporting Document",uploadButtonText:"Click here to Upload",documentUploadTitle:"Document Upload",uploadDocumentContent:'<p>Click here <label class="labelText" for="files">Browse</label></br>JPG/PEG, PNG or PDF files up to 50MB</p>',uploadHistory:"Upload History:",noFileUploaded:"No file uploaded",submitButton:"Submit",fileExtenssionDeny:"The file extenssion is not a valid one",fileSizeExceeded:"Maximum amount of file size was exceeded",uploadSuccess:"File uploaded successfully",errorUploadDocument:"There was an error with the uploading function",filesUploadError:"The uploaded files either exeeded allowed size or don't respect the allowed extensions types.",updateAfterDocApproval:"will be applied after document approval.",limitInDocReview:"You can't update a limit if it's in pendning.",scheduleNotFoundException:"Schedule does not exist",genericLimitsPopupError:"An unexpected error has occurred. Please try again"},hu:{loadingText:"` Az oldal töltődik, kérlek várj…`",Monthly:"Havi",Weekly:"Heti",Daily:"Napi",adjectiveMonthly:"Havi",adjectiveWeekly:"Heti",adjectiveDaily:"Napi",newDailyLimit:"Új napi limit",newWeeklyLimit:"Új heti limit",newMonthlyLimit:"Új havi limit",None:" ",noPeriod:".",per:"per",noLimitText:"Nincs limit beállítva",lugasPrivacy:"A szolgáltatóközi LUGAS-limit a szolgáltatók számára nem látható.",limitType:"Limit típus",period:"Időszak",amount:"Összeg",minutes:" perc",new:"Új",limit:"limit",setLimit:"Limit beállítása",loss:"Veszteség limit",lossAll:"Veszteség - Összes limit",lossCasino:"Veszteség - Kaszinó limit",lossSports:"Veszteség - Sport limit",deposit:"Befizetési limit",depositAll:"Befizetés - Összes limit",depositCasino:"Befizetés - Kaszinó limit",depositSports:"Befizetés - Sport limit",wager:"Fogadási limit",wagerAll:"Fogadás - Összes limit",wagerCasino:"Fogadás - Kaszinó limit",wagerSports:"Fogadás - Sport limit",stake:"Fogadási limit",stakeAll:"Tét - Összes limit",stakeCasino:"Tét - Kaszinó limit",stakeSports:"Tét - Sport limit",lugas:"Aktuális befizetési limit",sessionLimit:"Munkamenet időkorlátja",sessionLimitUpdated:"A munkamenet időkorlátját frissítettük.",cumulativeSession:"Időszakos időkorlát",removeLimit:"Limit törlése",popupPendingUpdate:"Limit módosítási kérésed megkaptuk. Kérjük, vedd figyelembe, hogy a frissítés csak ekkor lép életbe: ",popupImmediateUpdate:"Az új {selectedLimit}: {updatedAmount} {selectedPeriod}",popupTitle:" ",popupSuccess:"Limitbeállításaidat sikeresen elmentettük.",popupError:"Hiba történt.",kycNotNeeded:"A befizetési limitet sikeresen beállítottuk. Limitjeid bármikor módosíthatod a fiókbeállításokban.",kycNeeded1:"Havi befizetési limitre a következő összeg került beállításra:",kycNeeded2:". Ahhoz, hogy a limitet a kért összegre emeljük, kérjük, dokumentumok feltöltésével add meg a szükséges információkat.",uploadDocumentsButton:"DOKUMENTUMOK FELTÖLTÉSE",closeButton:"BEZÁR",invalidInputMessageLimitMin:"A megadott értéknek nagyobbnak kell lennie, mint {minValue} {currency}.",invalidInputMessageLimitMax:"A megadott értéknek kisebbnek kell lennie, mint {maxValue} {currency}.",invalidInputMessage:"Kérjük, adjon meg egy érvényes számot.",unableToUpdatePendingRequest:"Nem tudtuk frissíteni a limited, mert egy másik frissítés már folyamatban van. Kérjük, próbáld meg újra, miután az aktuális frissítés beállításra került.",docsRequired:"A dokumentumok feltöltése kötelező.",okButton:"Rendben",seconds:"másodpercek",updateText:"alkalmazva lesz",updateAfterConfirm:"jóváhagyás után kerül alkalmazásra",acknowledgedLimit:"A limit frissítése megerősítve, és ~1 percen belül alkalmazásra kerül",removedLimitText:"A limit eltávolításra kerül",removeAfterConfirm:"A limit jóváhagyás után kerül eltávolításra",confirmUpdateLimit:"MEGERŐSÍTÉS",cancelUpdateLimit:"MÉGSE",reloadLimitsButton:"FRISSÍTÉS",popupUpdateLimit:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",popupUpdateLimitException:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",popupRemoveLimitException:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",sessionExpiredException:"A munkamenet lejárt","dataLayer-sports":"Sportfogadás","dataLayer-casino":"Kaszinó","dataLayer-all":"Minden","dataLayer-wager":"Fogadási limit","dataLayer-loss":"Veszteség limit","dataLayer-deposit":"Befizetési limit","dataLayer-daily":"Napi","dataLayer-weekly":"Heti","dataLayer-monthly":"Havi",netdepositAll:"Nettó befizetési limit",uploadDocumentHeader:"Támogató dokumentum feltöltése",uploadButtonText:"Kattintson ide a feltöltéshez",documentUploadTitle:"Dokumentum feltöltése",uploadDocumentContent:'<p>Húzza ide és dobja le <label class="labelText" for="files">Böngészés</label></br>JPG/PEG, PNG vagy PDF fájlok legfeljebb 50 MB-ig</p>',uploadHistory:"Feltöltési előzmények:",noFileUploaded:"Nincs feltöltött fájl",submitButton:"Beküldés",fileExtenssionDeny:"A fájl kiterjesztése nem érvényes",fileSizeExceeded:"A fájl mérete meghaladta a maximális méretet",uploadSuccess:"A fájl sikeresen feltöltve",errorUploadDocument:"Hiba történt a feltöltési funkcióval",filesUploadError:"A feltöltött fájlok vagy meghaladták a megengedett méretet, vagy nem felelnek meg az engedélyezett kiterjesztések típusainak.",limitInDocReview:"Nem frissítheti a korlátot, ha az függőben van.",scheduleNotFoundException:"Az ütemezés nem létezik",genericLimitsPopupError:"Váratlan hiba történt. Kérjük, próbálja meg újra"},de:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",newDailyLimit:"Neues Tageslimit",newWeeklyLimit:"Neues Wochenlimit",newMonthlyLimit:"Neues Monatslimit",adjectiveMonthly:"Monatlich",adjectiveWeekly:"Wöchentlich",adjectiveDaily:"Täglich",None:"",noPeriod:".",per:"pro",noLimitText:"Derzeit ist kein Limit gesetzt.",lugasPrivacy:"Das anbieterübergreifende LUGAS-Limit ist für Anbieter nicht einsehbar.",limitType:"Limitart",period:"Zeitraum",amount:"Betrag",minutes:"minute",loss:"Verlustlimit",lossAll:"Verlust - Gesamtes Limit",lossCasino:"Verlust - Casino-Limit",lossSports:"Verlust - Sport-Limit",deposit:"Einzahlungslimit",depositAll:"Einzahlung - Gesamtes Limit",depositCasino:"Einzahlung - Casino-Limit",depositSports:"Einzahlung - Sport-Limit",wager:"Wettlimit",wagerAll:"Wette - Gesamtes Limit",wagerCasino:"Wette - Casino-Limit",wagerSports:"Wette - Sport-Limit",stake:"Einsatzlimit",stakeAll:"Einsatz - Gesamtes Limit",stakeCasino:"Einsatz - Casino-Limit",stakeSports:"Einsatz - Sport-Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",lugas:"Aktuelles Einzahlungslimit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ENTFERNEN",setLimit:"Neues Limit setzen",popupError:"Es ist ein Fehler aufgetreten.",popupPendingUpdate:"Wir haben die Anfrage zur Änderung des Limits erhalten. Bitte beachten Sie, dass die Änderung erst in Kraft tritt am",popupImmediateUpdate:"Ihre neues Limit {selectedLimit} beträgt {updatedAmount} {selectedPeriod}",popupTitle:"Limit geändert!",popupSuccess:"Erfolgreich",popup3:`Vielen Dank!
|
|
4
4
|
Wir haben Ihr gewünschtes Limit an Lugas übermittelt.
|
|
@@ -32,4 +32,4 @@
|
|
|
32
32
|
S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`),e.attr(n,"d",`M35.707,16.293c-0.391-0.391-1.023-0.391-1.414,0L26,24.586l-8.293-8.293c-0.391-0.391-1.023-0.391-1.414,0
|
|
33
33
|
s-0.391,1.023,0,1.414L24.586,26l-8.293,8.293c-0.391,0.391-0.391,1.023,0,1.414C16.488,35.902,16.744,36,17,36
|
|
34
34
|
s0.512-0.098,0.707-0.293L26,27.414l8.293,8.293C34.488,35.902,34.744,36,35,36s0.512-0.098,0.707-0.293
|
|
35
|
-
c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`),e.attr(t,"version","1.1"),e.attr(t,"id","Capa_1"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),e.attr(t,"x","0px"),e.attr(t,"y","0px"),e.attr(t,"viewBox","0 0 52 52"),e.set_style(t,"enable-background","new 0 0 52 52"),e.attr(t,"xml:space","preserve")},m(U,T){e.insert(U,t,T),e.append(t,i),e.append(i,a),e.append(i,n),e.append(t,l),e.append(t,r),e.append(t,p),e.append(t,m),e.append(t,u),e.append(t,f),e.append(t,h),e.append(t,D),e.append(t,k),e.append(t,A),e.append(t,W),e.append(t,F),e.append(t,C),e.append(t,x),e.append(t,V)},d(U){U&&e.detach(t)}}}function ki(o){let t,i=o[28]("popupSuccess")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("popupSuccess")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function bi(o){let t,i=o[28]("docsRequired")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("docsRequired")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function wi(o){let t,i=o[28]("popupError")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("popupError")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function _i(o){let t,i=o[28]("okButton")+"",a,n,l;return{c(){t=e.element("button"),a=e.text(i),e.attr(t,"class","ConfirmButton")},m(r,p){e.insert(r,t,p),e.append(t,a),n||(l=e.listen(t,"click",o[41]),n=!0)},p(r,p){p[0]&268435456&&i!==(i=r[28]("okButton")+"")&&e.set_data(a,i)},d(r){r&&e.detach(t),n=!1,l()}}}function Si(o){let t,i=o[28]("uploadDocumentsButton")+"",a,n,l=o[28]("closeButton")+"",r,p,m;return{c(){t=e.element("button"),a=e.space(),n=e.element("button"),r=e.text(l),e.attr(t,"class","ConfirmButton"),e.attr(n,"class","CloseButton")},m(u,f){e.insert(u,t,f),t.innerHTML=i,e.insert(u,a,f),e.insert(u,n,f),e.append(n,r),p||(m=[e.listen(t,"click",o[42]),e.listen(n,"click",o[41])],p=!0)},p(u,f){f[0]&268435456&&i!==(i=u[28]("uploadDocumentsButton")+"")&&(t.innerHTML=i),f[0]&268435456&&l!==(l=u[28]("closeButton")+"")&&e.set_data(r,l)},d(u){u&&(e.detach(t),e.detach(a),e.detach(n)),p=!1,e.run_all(m)}}}function Ai(o){let t,i=o[28]("noFileUploaded")+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","historyItem")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("noFileUploaded")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Di(o){let t,i=e.ensure_array_like(Array.from(o[24])),a=[];for(let n=0;n<i.length;n+=1)a[n]=Qe(Ze(o,i,n));return{c(){for(let n=0;n<a.length;n+=1)a[n].c();t=e.empty()},m(n,l){for(let r=0;r<a.length;r+=1)a[r]&&a[r].m(n,l);e.insert(n,t,l)},p(n,l){if(l[0]&16777216){i=e.ensure_array_like(Array.from(n[24]));let r;for(r=0;r<i.length;r+=1){const p=Ze(n,i,r);a[r]?a[r].p(p,l):(a[r]=Qe(p),a[r].c(),a[r].m(t.parentNode,t))}for(;r<a.length;r+=1)a[r].d(1);a.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(a,n)}}}function Qe(o){let t,i=o[147].name+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","historyItem")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&16777216&&i!==(i=n[147].name+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function $e(o){let t,i=o[28]("filesUploadError")+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","filesError")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("filesUploadError")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Pi(o){let t,i,a,n,l,r,p,m,u,f,h=o[14]?`${o[28]("amount")}`:`${o[28](`new${o[8]}Limit`)}`,D,k,A,W,F,C,x=o[28]("setLimit")+"",V,U,T,P,E=e.ensure_array_like(o[6]),S=[];for(let v=0;v<E.length;v+=1)S[v]=nt(Ye(o,E,v));let y=o[1]==="true"&&st(o),b=o[13]&&rt(o),w=o[14]&&dt(o),_=o[23]&&pt(o);return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div");for(let v=0;v<S.length;v+=1)S[v].c();n=e.space(),l=e.element("form"),y&&y.c(),r=e.space(),b&&b.c(),p=e.space(),w&&w.c(),m=e.space(),u=e.element("label"),f=e.element("span"),D=e.text(h),k=e.space(),A=e.element("input"),W=e.space(),_&&_.c(),F=e.space(),C=e.element("button"),V=e.text(x),e.attr(a,"class","LimitsList "+(o[29]?"Desktop":"")),e.attr(f,"class","LimitInputText"),e.attr(A,"type","number"),e.attr(A,"pattern","[0-9]*"),e.attr(u,"class","LimitAmountInputWrapper"),e.attr(C,"class","LimitSubmitButton"),e.attr(C,"type","submit"),C.disabled=o[23],e.attr(l,"class","LimitsInteractionArea "+(o[29]?"Desktop":"")),e.attr(i,"class","LimitsPageContainer"),e.attr(t,"class",U="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+o[3]))},m(v,N){e.insert(v,t,N),e.append(t,i),e.append(i,a);for(let B=0;B<S.length;B+=1)S[B]&&S[B].m(a,null);e.append(i,n),e.append(i,l),y&&y.m(l,null),e.append(l,r),b&&b.m(l,null),e.append(l,p),w&&w.m(l,null),e.append(l,m),e.append(l,u),e.append(u,f),e.append(f,D),e.append(u,k),e.append(u,A),e.set_input_value(A,o[10]),e.append(u,W),_&&_.m(u,null),e.append(l,F),e.append(l,C),e.append(C,V),T||(P=[e.listen(A,"input",o[69]),e.listen(A,"input",o[33]),e.listen(l,"submit",o[34])],T=!0)},p(v,N){if(N[0]&939524164|N[1]&994){E=e.ensure_array_like(v[6]);let B;for(B=0;B<E.length;B+=1){const j=Ye(v,E,B);S[B]?S[B].p(j,N):(S[B]=nt(j),S[B].c(),S[B].m(a,null))}for(;B<S.length;B+=1)S[B].d(1);S.length=E.length}v[1]==="true"?y?y.p(v,N):(y=st(v),y.c(),y.m(l,r)):y&&(y.d(1),y=null),v[13]?b?b.p(v,N):(b=rt(v),b.c(),b.m(l,p)):b&&(b.d(1),b=null),v[14]?w?w.p(v,N):(w=dt(v),w.c(),w.m(l,m)):w&&(w.d(1),w=null),N[0]&268452096&&h!==(h=v[14]?`${v[28]("amount")}`:`${v[28](`new${v[8]}Limit`)}`)&&e.set_data(D,h),N[0]&1024&&e.to_number(A.value)!==v[10]&&e.set_input_value(A,v[10]),v[23]?_?_.p(v,N):(_=pt(v),_.c(),_.m(u,null)):_&&(_.d(1),_=null),N[0]&268435456&&x!==(x=v[28]("setLimit")+"")&&e.set_data(V,x),N[0]&8388608&&(C.disabled=v[23]),N[0]&8&&U!==(U="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+v[3]))&&e.attr(t,"class",U)},d(v){v&&e.detach(t),e.destroy_each(S,v),y&&y.d(),b&&b.d(),w&&w.d(),_&&_.d(),T=!1,e.run_all(P)}}}function zi(o){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(i,a){e.insert(i,t,a)},p:e.noop,d(i){i&&e.detach(t)}}}function Ci(o){let t,i,a,n,l,r,p=e.ensure_array_like(Array(3)),m=[];for(let u=0;u<p.length;u+=1)m[u]=Wi(ci(o,p,u));return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),a.innerHTML='<ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton>',n=e.space();for(let u=0;u<m.length;u+=1)m[u].c();l=e.space(),r=e.element("div"),r.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',e.attr(a,"class","skeletonLimitText"),e.attr(i,"class","skeletonLimitWrapper"),e.attr(r,"class","skeletonInputWrapper"),e.attr(t,"class","skeletonLimitContainer")},m(u,f){e.insert(u,t,f),e.append(t,i),e.append(i,a),e.append(i,n);for(let h=0;h<m.length;h+=1)m[h]&&m[h].m(i,null);e.append(t,l),e.append(t,r)},p:e.noop,d(u){u&&e.detach(t),e.destroy_each(m,u)}}}function xi(o){let t,i,a,n=o[28]("noLimitText")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("noLimitText")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function ji(o){let t,i,a,n=o[28]("lugasPrivacy")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("lugasPrivacy")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function Ei(o){let t,i=e.ensure_array_like(o[139].currentLimits),a=[];for(let n=0;n<i.length;n+=1)a[n]=ot(Je(o,i,n));return{c(){for(let n=0;n<a.length;n+=1)a[n].c();t=e.empty()},m(n,l){for(let r=0;r<a.length;r+=1)a[r]&&a[r].m(n,l);e.insert(n,t,l)},p(n,l){if(l[0]&939524164|l[1]&738){i=e.ensure_array_like(n[139].currentLimits);let r;for(r=0;r<i.length;r+=1){const p=Je(n,i,r);a[r]?a[r].p(p,l):(a[r]=ot(p),a[r].c(),a[r].m(t.parentNode,t))}for(;r<a.length;r+=1)a[r].d(1);a.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(a,n)}}}function Ti(o){let t,i,a,n=o[28]("lugasPrivacy")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("lugasPrivacy")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function Mi(o){let t,i=`${o[40](o[144])}`,a;return{c(){t=e.element("span"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=`${n[40](n[144])}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ui(o){let t,i=`${o[40](o[144],!0)}`,a;return{c(){t=e.element("span"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=`${n[40](n[144],!0)}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function et(o){let t,i,a=`${o[40](o[144],!1,!0)}`,n,l,r=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateAfterDocApproval")}`,p;return{c(){t=e.element("div"),i=e.element("span"),n=e.text(a),l=e.space(),p=e.text(r),e.attr(t,"class","PendingLimit")},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,p)},p(m,u){u[0]&64&&a!==(a=`${m[40](m[144],!1,!0)}`)&&e.set_data(n,a),u[0]&268435520&&r!==(r=`${m[144].period!=="None"||m[144].value!=="cumulativeSession"?" ":m[28]("per")} ${m[28](`${m[144].period}`)} ${m[28]("updateAfterDocApproval")}`)&&e.set_data(p,r)},d(m){m&&e.detach(t)}}}function Ni(o){let t,i,a=`${o[40](o[144],!0)}`,n,l;function r(u,f){return u[144].isCoolOffCompleted?Vi:Oi}let p=r(o),m=p(o);return{c(){t=e.element("div"),i=e.element("span"),n=e.text(a),l=e.space(),m.c(),e.attr(t,"class","PendingLimit")},m(u,f){e.insert(u,t,f),e.append(t,i),e.append(i,n),e.append(t,l),m.m(t,null)},p(u,f){f[0]&64&&a!==(a=`${u[40](u[144],!0)}`)&&e.set_data(n,a),p===(p=r(u))&&m?m.p(u,f):(m.d(1),m=p(u),m&&(m.c(),m.m(t,null)))},d(u){u&&e.detach(t),m.d()}}}function Ii(o){let t,i=`${o[28]("removedLimitText")} ${o[144].expiryDate}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435520&&i!==(i=`${n[28]("removedLimitText")} ${n[144].expiryDate}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Bi(o){let t,i=`${o[28]("removeAfterConfirm")}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=`${n[28]("removeAfterConfirm")}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ri(o){let t,i=`${o[28]("acknowledgedLimit")}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=`${n[28]("acknowledgedLimit")}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Oi(o){let t=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateText")} ${o[144].expiryDate}`,i;return{c(){i=e.text(t)},m(a,n){e.insert(a,i,n)},p(a,n){n[0]&268435520&&t!==(t=`${a[144].period!=="None"||a[144].value!=="cumulativeSession"?" ":a[28]("per")} ${a[28](`${a[144].period}`)} ${a[28]("updateText")} ${a[144].expiryDate}`)&&e.set_data(i,t)},d(a){a&&e.detach(i)}}}function Vi(o){let t=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateAfterConfirm")}`,i;return{c(){i=e.text(t)},m(a,n){e.insert(a,i,n)},p(a,n){n[0]&268435520&&t!==(t=`${a[144].period!=="None"||a[144].value!=="cumulativeSession"?" ":a[28]("per")} ${a[28](`${a[144].period}`)} ${a[28]("updateAfterConfirm")}`)&&e.set_data(i,t)},d(a){a&&e.detach(i)}}}function tt(o){let t,i,a=o[27][o[144].scheduleId].timer+"",n,l,r,p;return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),e.attr(i,"class",l="ReloadLimitButton "+(o[29]?"":"Mobile")+" "+(o[27][o[144].scheduleId].timerStopped?"":"disabled")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),r||(p=e.listen(i,"click",o[62]),r=!0)},p(m,u){u[0]&134217792&&a!==(a=m[27][m[144].scheduleId].timer+"")&&e.set_data(n,a),u[0]&134217792&&l!==(l="ReloadLimitButton "+(m[29]?"":"Mobile")+" "+(m[27][m[144].scheduleId].timerStopped?"":"disabled"))&&e.attr(i,"class",l)},d(m){m&&e.detach(t),r=!1,p()}}}function it(o){let t,i,a=o[28]("removeLimit")+"",n,l,r;function p(){return o[63](o[144])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),e.attr(i,"class","RemoveLimitButton "+(o[29]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),l||(r=e.listen(i,"click",p),l=!0)},p(m,u){o=m,u[0]&268435456&&a!==(a=o[28]("removeLimit")+"")&&e.set_data(n,a)},d(m){m&&e.detach(t),l=!1,r()}}}function at(o){let t,i,a=o[28]("confirmUpdateLimit")+"",n,l,r,p=o[28]("cancelUpdateLimit")+"",m,u,f;function h(){return o[64](o[144])}function D(){return o[65](o[144])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),l=e.space(),r=e.element("button"),m=e.text(p),e.attr(i,"class","ConfirmLimitButton "+(o[29]?"":"Mobile")),e.attr(r,"class","CancelLimitButton "+(o[29]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(k,A){e.insert(k,t,A),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r),e.append(r,m),u||(f=[e.listen(i,"click",h),e.listen(r,"click",D)],u=!0)},p(k,A){o=k,A[0]&268435456&&a!==(a=o[28]("confirmUpdateLimit")+"")&&e.set_data(n,a),A[0]&268435456&&p!==(p=o[28]("cancelUpdateLimit")+"")&&e.set_data(m,p)},d(k){k&&e.detach(t),u=!1,e.run_all(f)}}}function ot(o){let t,i,a,n,l,r=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)}`,p,m,u,f,h,D=!o[144].isModified&&o[2].indexOf(o[139].value)>-1&&!o[144].reviewPending.id,k,A;function W(y,b){return y[144].acknowledgedLimit?Ui:Mi}let F=W(o),C=F(o),x=o[144].reviewPending&&o[144].reviewPending.id&&et(o);function V(y,b){if(y[144].acknowledgedLimit)return Ri;if(y[144].isModified&&y[144].updateAmount==0&&y[144].isCoolOffCompleted)return Bi;if(y[144].isModified&&y[144].updateAmount==0&&!y[144].isCoolOffCompleted)return Ii;if(y[144].isModified)return Ni}let U=V(o),T=U&&U(o),P=o[144].acknowledgedLimit&&!o[144].reviewPending.id&&tt(o),E=D&&it(o),S=o[144].isCoolOffCompleted&!o[144].acknowledgedLimit&&!o[144].reviewPending.id&&at(o);return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),n=e.element("div"),C.c(),l=e.space(),p=e.text(r),m=e.space(),x&&x.c(),u=e.space(),T&&T.c(),f=e.space(),P&&P.c(),h=e.space(),E&&E.c(),k=e.space(),S&&S.c(),A=e.space(),e.attr(n,"class","CurrentLimit"),e.attr(a,"class","CurrentLimitContainer"),e.attr(i,"class","LimitDetailsTextWrapper"),e.attr(t,"class","LimitDetails")},m(y,b){e.insert(y,t,b),e.append(t,i),e.append(i,a),e.append(a,n),C.m(n,null),e.append(n,l),e.append(n,p),e.append(a,m),x&&x.m(a,null),e.append(a,u),T&&T.m(a,null),e.append(i,f),P&&P.m(i,null),e.append(i,h),E&&E.m(i,null),e.append(i,k),S&&S.m(i,null),e.append(t,A)},p(y,b){F===(F=W(y))&&C?C.p(y,b):(C.d(1),C=F(y),C&&(C.c(),C.m(n,l))),b[0]&268435520&&r!==(r=`${y[144].period!=="None"||y[144].value!=="cumulativeSession"?" ":y[28]("per")} ${y[28](`${y[144].period}`)}`)&&e.set_data(p,r),y[144].reviewPending&&y[144].reviewPending.id?x?x.p(y,b):(x=et(y),x.c(),x.m(a,u)):x&&(x.d(1),x=null),U===(U=V(y))&&T?T.p(y,b):(T&&T.d(1),T=U&&U(y),T&&(T.c(),T.m(a,null))),y[144].acknowledgedLimit&&!y[144].reviewPending.id?P?P.p(y,b):(P=tt(y),P.c(),P.m(i,h)):P&&(P.d(1),P=null),b[0]&68&&(D=!y[144].isModified&&y[2].indexOf(y[139].value)>-1&&!y[144].reviewPending.id),D?E?E.p(y,b):(E=it(y),E.c(),E.m(i,k)):E&&(E.d(1),E=null),y[144].isCoolOffCompleted&!y[144].acknowledgedLimit&&!y[144].reviewPending.id?S?S.p(y,b):(S=at(y),S.c(),S.m(i,null)):S&&(S.d(1),S=null)},d(y){y&&e.detach(t),C.d(),x&&x.d(),T&&T.d(),P&&P.d(),E&&E.d(),S&&S.d()}}}function nt(o){let t,i,a=o[39](o[139])+"",n,l,r;function p(f,h){var D;return f[139].value==="lugas"?Ti:((D=f[139].currentLimits)==null?void 0:D.length)>0?Ei:f[139].value==="lugas"?ji:xi}let m=p(o),u=m(o);return{c(){t=e.element("div"),i=e.element("p"),n=e.text(a),l=e.space(),u.c(),r=e.space(),e.attr(i,"class","LimitTitle"),e.attr(t,"class","LimitWrapper "+(o[29]?"Desktop":""))},m(f,h){e.insert(f,t,h),e.append(t,i),e.append(i,n),e.append(t,l),u.m(t,null),e.append(t,r)},p(f,h){h[0]&64&&a!==(a=f[39](f[139])+"")&&e.set_data(n,a),m===(m=p(f))&&u?u.p(f,h):(u.d(1),u=m(f),u&&(u.c(),u.m(t,r)))},d(f){f&&e.detach(t),u.d()}}}function st(o){let t,i,a=o[28]("complianceText")+"",n;return{c(){t=e.element("div"),i=e.element("p"),n=e.text(a),e.attr(i,"class","LimitComplianceText"),e.attr(t,"class","LimitCompliance")},m(l,r){e.insert(l,t,r),e.append(t,i),e.append(i,n)},p(l,r){r[0]&268435456&&a!==(a=l[28]("complianceText")+"")&&e.set_data(n,a)},d(l){l&&e.detach(t)}}}function rt(o){let t,i,a=o[28]("limitType")+"",n,l,r,p,m,u=e.ensure_array_like(o[6]),f=[];for(let h=0;h<u.length;h+=1)f[h]=lt(Ke(o,u,h));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(a),l=e.space(),r=e.element("select");for(let h=0;h<f.length;h+=1)f[h].c();e.attr(i,"class","LimitSelectText"),e.attr(r,"name",""),e.attr(r,"id",""),o[9]===void 0&&e.add_render_callback(()=>o[66].call(r)),e.attr(t,"class","LimitTypeDropdownWrapper")},m(h,D){e.insert(h,t,D),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(r,null);e.select_option(r,o[9],!0),p||(m=[e.listen(r,"change",o[66]),e.listen(r,"change",o[67])],p=!0)},p(h,D){if(D[0]&268435456&&a!==(a=h[28]("limitType")+"")&&e.set_data(n,a),D[0]&64|D[1]&256){u=e.ensure_array_like(h[6]);let k;for(k=0;k<u.length;k+=1){const A=Ke(h,u,k);f[k]?f[k].p(A,D):(f[k]=lt(A),f[k].c(),f[k].m(r,null))}for(;k<f.length;k+=1)f[k].d(1);f.length=u.length}D[0]&512&&e.select_option(r,h[9])},d(h){h&&e.detach(t),e.destroy_each(f,h),p=!1,e.run_all(m)}}}function lt(o){let t,i=o[39](o[139])+"",a;return{c(){t=e.element("option"),a=e.text(i),t.__value=o[141],e.set_input_value(t,t.__value)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=n[39](n[139])+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function dt(o){let t,i,a=o[28]("period")+"",n,l,r,p,m,u=e.ensure_array_like(o[5][o[7]].periods),f=[];for(let h=0;h<u.length;h+=1)f[h]=ut(He(o,u,h));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(a),l=e.space(),r=e.element("select");for(let h=0;h<f.length;h+=1)f[h].c();e.attr(i,"class","PeriodSelectText"),e.attr(r,"name",""),e.attr(r,"id",""),o[8]===void 0&&e.add_render_callback(()=>o[68].call(r)),e.attr(t,"class","LimitPeriodDropdownWrapper")},m(h,D){e.insert(h,t,D),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(r,null);e.select_option(r,o[8],!0),p||(m=e.listen(r,"change",o[68]),p=!0)},p(h,D){if(D[0]&268435456&&a!==(a=h[28]("period")+"")&&e.set_data(n,a),D[0]&268435616){u=e.ensure_array_like(h[5][h[7]].periods);let k;for(k=0;k<u.length;k+=1){const A=He(h,u,k);f[k]?f[k].p(A,D):(f[k]=ut(A),f[k].c(),f[k].m(r,null))}for(;k<f.length;k+=1)f[k].d(1);f.length=u.length}D[0]&416&&e.select_option(r,h[8])},d(h){h&&e.detach(t),e.destroy_each(f,h),p=!1,m()}}}function ut(o){let t,i=o[28](o[136])+"",a,n;return{c(){t=e.element("option"),a=e.text(i),t.__value=n=o[136],e.set_input_value(t,t.__value),t.selected=!0},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&268435616&&i!==(i=l[28](l[136])+"")&&e.set_data(a,i),r[0]&160&&n!==(n=l[136])&&(t.__value=n,e.set_input_value(t,t.__value))},d(l){l&&e.detach(t)}}}function pt(o){let t,i=o[10]===null?`${o[28]("invalidInputMessage")}`:o[10]<o[11]?`${o[28]("invalidInputMessageLimitMin",{values:{minValue:o[11],currency:o[0]}})}`:`${o[28]("invalidInputMessageLimitMax",{values:{maxValue:o[12],currency:o[0]}})}`,a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","InvalidInput")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268442625&&i!==(i=n[10]===null?`${n[28]("invalidInputMessage")}`:n[10]<n[11]?`${n[28]("invalidInputMessageLimitMin",{values:{minValue:n[11],currency:n[0]}})}`:`${n[28]("invalidInputMessageLimitMax",{values:{maxValue:n[12],currency:n[0]}})}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Wi(o){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ',e.attr(t,"class","skeletonLimitContent")},m(i,a){e.insert(i,t,a)},p:e.noop,d(i){i&&e.detach(t)}}}function Fi(o){let t,i,a=o[18]&&Xe(o);function n(p,m){if(p[15])return Ci;if(p[16])return zi;if(!p[15])return Pi}let l=n(o),r=l&&l(o);return{c(){t=e.element("div"),a&&a.c(),i=e.space(),r&&r.c()},m(p,m){e.insert(p,t,m),a&&a.m(t,null),e.append(t,i),r&&r.m(t,null),o[70](t)},p(p,m){p[18]?a?a.p(p,m):(a=Xe(p),a.c(),a.m(t,i)):a&&(a.d(1),a=null),l===(l=n(p))&&r?r.p(p,m):(r&&r.d(1),r=l&&l(p),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),a&&a.d(),r&&r.d(),o[70](null)}}}function qi(o,t,i){let a;e.component_subscribe(o,e.$format,s=>i(28,a=s));let{lang:n="en"}=t,{currency:l=""}=t,{limits:r=""}=t,{session:p=""}=t,{userid:m=""}=t,{endpoint:u=""}=t,{apiversion:f=""}=t,{customcurrencysymbols:h=""}=t,{enablecompliancetext:D=""}=t,{deletelimit:k=""}=t,{amountsconfig:A=""}=t,{periodsconfig:W=""}=t,{limittabindex:F=""}=t,{limitformat:C=""}=t,{allowedextenssion:x=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:V="12934000"}=t,{clientstyling:U=""}=t,{clientstylingurl:T=""}=t,{mbsource:P}=t,{translationurl:E=""}=t,S,y=window.navigator.userAgent,b=!e.isMobile(y),w=[],_="",v="",N="",B=0,j,ie="",ne="",de="",X={},q={},G=!1,I=!1,M=!0,J=!1,_e=!1,pe=!1,ee=!1,$="",ce="",Z=[],fe,Ce,ge=!1,ct={},se="",ue,be={remove:{},confirm:{},update:{}},re=!1,Le=!1,me={EUR:"€",RON:" lei",USD:"$"},H={};const Se={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},xe={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},ft=()=>{fetch(E).then(d=>d.json()).then(d=>{Object.keys(d).forEach(c=>{Ge(c,d[c])})}).catch(d=>{console.log(d)})};Object.keys(le).forEach(s=>{Ge(s,le[s])});const Ae=s=>`dataLayer-${s}`,K=(s,d)=>{typeof gtag=="function"&>ag({event:s,limit_category:le[n][Ae(N.toLowerCase())]||N,limit_type:le[n][Ae(_.toLowerCase())]||_,limit_period:le[n][Ae(v.toLowerCase())]||v,limit_amount:j||d})},gt=()=>{var g;const s=A.split(",").map(L=>L.split(":")),d=W.split(",").map(L=>L.split(":"));for(let[L,z]of s.entries())if(z[0]!==d[L][0])throw new Error(`Limit config mismatch: "${z[0]}" does not match "${d[L][0]}"`);const c=s.reduce((L,z,O)=>{const Y=z[0].slice(z[0].indexOf("(")+1,z[0].indexOf(")")),oe=z[0].slice(0,z[0].indexOf("(")),ve=z[1],ke=d[O][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),ze={value:Y,product:oe,minMax:ve,periods:ke,callValue:R[Y].callValue,callValue16:R[Y].callValue16,title:R[Y].title};return L.push(ze),L},[]);for(let L=0;L<c.length;L++)i(6,w[L].product=c[L].product,w),i(6,w[L].min=parseInt(c[L].minMax.split("-")[0],10),w),i(6,w[L].max=parseInt(c[L].minMax.split("-")[1],10),w),i(5,R[c[L].value].periods=c[L].periods,R);de=(g=w[0])==null?void 0:g.value,w.forEach(L=>{X[L.value]={min:L.min,max:L.max},ct[L.value]=L.product}),X&&(X[de]?(i(11,ie=X[de].min),i(12,ne=X[de].max)):(i(11,ie=1),i(12,ne=9999999)))},Lt=()=>{const s=/\(([^)]+)\)/g;return[...A.matchAll(s)].flat().filter(c=>!c.includes("("))},ht=()=>{Lt().forEach(d=>{R[d]?w.push(we({},R[d])):console.error(`Unknown limit: ${d}`)}),gt(),i(7,_=w[0].value),i(8,v=R[_].periods[0]),N=w[0].product,i(13,G=w.length>1),i(14,I=R[_].periods.length>1)},je=()=>{i(7,_=w[B].value),i(8,v=R[_].periods[0]),i(14,I=R[_].periods.length>1)},Ee=()=>{N=w[B].product},Q=s=>{if(s.status>=300)yt(s);else return i(17,_e=!1),s.status!==204?s.json():s},yt=s=>{i(16,J=!0);let d;throw s.json().then(c=>{for(const g in xe)if(c.error&&xe[g].some(L=>c.error.includes(L))){d=g;break}console.error("errType",d),!d&&ye(c)}).finally(()=>{d&&ye(d),i(16,J=!1),i(15,M=!1)}),new Error("An error occured during the fetch request")},vt=()=>{if(!(j>0))return;ae(),i(15,M=!0);let s=new URL(`/v2/player/${m}/limits`,u),d={};_==="sessionLimit"?d={sessionLimit:j,sessionLimitUnit:"minute"}:_==="cumulativeSession"?d[R[_].callValue]=[{period:v,minutes:j}]:d[R[_].callValue]=[{period:R[_].periods[0]==="None"?null:v,amount:j,currency:l}];let c={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(d)};fetch(s.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_success"),te()}).catch(g=>{console.error(g),i(16,J=!0)})},Te=()=>{const d=w[B].currentLimits.find(oe=>oe.period===v),c=Et();if(c&&c.reviewPending&&c.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("limitInDocReview")}},window.location.href);if(ae(),i(15,M=!0),c&&c.reviewRequired&&!se&&j>c.amount){i(26,Le=!0),i(19,ee=!0);return}const g=d?"v2":"v1",L=new URL(`/${g}/player/${m}/limits/monetary/${d?d.id:""}`,u),z=d?"PUT":"POST",O=d?se?{amount:j,skipCoolOff:!1,payload:{DocumentId:se}}:{amount:j,skipCoolOff:!1}:{amount:j,currency:l,period:R[_].periods[0]==="None"?null:v,type:R[_].callValue16,products:[N!=null?N:"All"],walletTypes:["Deposit","NetDeposit"].includes(R[_].callValue16)?["All"]:["RealCash"]};let Y={method:z,headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(O)};fetch(L.href,Y).then(oe=>Q(oe)).then(oe=>{K("self_limitation_success"),te()}).catch(oe=>{console.log(oe)}).finally(()=>{i(26,Le=!1),se=""})},kt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v1/player/${m}/limits/session/`,u);let g={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:j,sessionLimitUnit:"minute"})};fetch(s.href,g).then(L=>Q(L)).then(L=>{K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},bt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v1/player/${m}/limits/session/`,u);let g={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:v,minutes:j}]})};fetch(s.href,g).then(L=>Q(L)).then(L=>{K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},wt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v2/player/${m}/limit/lugas`,u);let g={method:"POST",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:j,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};fetch(s.href,g).then(L=>Q(L)).then(L=>{i(22,fe=L.popup),L.operatorDepositLimitAmount,Ce=L.regulatorDepositLimitAmount,K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},_t=()=>{if(q={},f==="gm16")switch(_){case"lugas":wt();break;case"sessionLimit":kt();break;case"cumulativeSession":bt();break;default:Te();break}else if(f==="gmcore")vt();else throw Error(`Invalid apiversion attribute: ${f}`);K("self_limitation_request")},te=()=>{switch(f){case"gmcore":St();break;case"gm16":At();break}},St=()=>{i(15,M=!0);let s=new URL(`/v2/player/${m}/limits`,u),d={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,d).then(c=>Q(c)).then(c=>{Z=c,pe&&ye(),Me(Z),Dt(Z),i(10,j=null)}).catch(c=>{console.error("Error LimitsWidget: ",c),i(16,J=!0)}).finally(()=>{i(15,M=!1)})},At=()=>{i(15,M=!0),Z=[];let s=new URL(`/v1/player/${m}/limits/monetary`,u),d=new URL(`/v1/player/${m}/limits/session`,u),c=!1,g={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,g).then(L=>Q(L)).then(L=>{Z.push(L),f==="gm16"?Pt(L):f==="gmcore"&&Me([L]),pe&&ye(),i(10,j=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(16,J=!0)}).finally(()=>{c&&i(15,M=!1),c=!0}),fetch(d.href,g).then(L=>Q(L)).then(L=>{Z.push(L),f==="gm16"&&(zt(L),Ct(L)),pe&&ye(),i(10,j=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(16,J=!0)}).finally(()=>{c&&i(15,M=!1),c=!0})},Me=s=>{w.forEach(d=>{d.currentLimits=[];const c=Array.isArray(s[R[d.value].callValue])?s[R[d.value].callValue]:[s[R[d.value].callValue]];c.length===0||c[0]===void 0||(c.forEach((g,L)=>{var O;const z=s[R[d.value].callValue][L];d.currentLimits.push({}),d.currentLimits[L].limitType=d.value,d.currentLimits[L].amount=C?z.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.amount),d.currentLimits[L].currency=(O=me[z.currency])!=null?O:z.currency,d.currentLimits[L].period=z.period,d.currentLimits[L].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.updateAmount),d.currentLimits[L].isModified=z.isModified,d.currentLimits[L].expiryDate=`${new Date(z.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),d.currentLimits=he(d.currentLimits))})},Dt=s=>{const d=a("minutes");w.filter(c=>c.value==="sessionLimit"||c.value==="cumulativeSession").forEach(c=>{var g;c.currentLimits=[],(g=s[R[c.value].callValue])==null||g.forEach((L,z)=>{const O=s[R[c.value].callValue][z];c.currentLimits.push({limitType:c.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(O.minutes),currency:d,isModified:O.isModified,period:c.value==="cumulativeSession"?O.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(O.updateMinutes),expiryDate:`${new Date(O.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),c.currentLimits=he(c.currentLimits)})},Pt=s=>{s!=null&&s.limits&&w.forEach(d=>{var c;d.currentLimits=[];for(const g of s.limits)if(g.type===d.callValue16&&g.products.includes(d.product)){let L=0,z=g.schedules.length>0?g.schedules.find(O=>O.id):{};g.schedules.length>0&&(L=C?z.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.updateAmount)),d.currentLimits.push({limitType:d.value,amount:C?g.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(g.amount),currency:(c=me[g.currency])!=null?c:g.currency,isModified:g.schedules.length>0,period:g.period,product:g.products[0],updateAmount:L,isCoolOffCompleted:z?z.isCoolOffCompleted:!1,reviewRequired:g.reviewRequired?g.reviewRequired:!1,reviewPending:g.reviewPending?g.reviewPending:{},scheduleId:z?z.id:null,expiryDate:g.schedules.length>0?`${new Date(g.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:g.id}),d.currentLimits.forEach(O=>{O.acknowledgedLimit=Object.keys(H).some(Y=>O.scheduleId===Y)})}d.currentLimits=he(d.currentLimits)})},zt=s=>{s!=null&&s.sessionLimit&&w.filter(d=>d.value==="sessionLimit").forEach(d=>{d.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.minutes),currency:a("minutes"),isModified:s.sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.updateMinutes),expiryDate:s.sessionLimit.expiryDate}),d.currentLimits=he(d.currentLimits)})},Ct=s=>{s!=null&&s.cumulativeSessionLimits&&w.filter(d=>d.value==="cumulativeSession").forEach(d=>{for(const c of s.cumulativeSessionLimits)d.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(c.minutes),currency:a("minutes"),isModified:c.isModified,period:c.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(c.updateMinutes),expiryDate:c.expiryDate});d.currentLimits=he(d.currentLimits)})},he=s=>{const d={Daily:0,Weekly:1,Monthly:2};return s.sort((c,g)=>d[c.period]-d[g.period]),s},Ue=()=>{if(j===null||Number.isNaN(j)){i(23,ge=!0);return}const d=!Number.isInteger(j)?Math.round(j):j;i(10,j=d),i(23,ge=d<ie||d>ne)},xt=s=>{s.preventDefault(),Ue(),ge||_t()},Ne=()=>{i(23,ge=!1),X!=null&&X[_]?(i(11,ie=X[_].min),i(12,ne=X[_].max)):(i(11,ie=1),i(12,ne=9999999))},jt=()=>{if(Z){const s=Z[R[_].callValue].find(g=>g.period===v),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let c=a("popupImmediateUpdate").replace("{selectedLimit}",De(s)).replace("{updatedAmount}",d).replace("{currency}",me[s.currency]||s.currency).replace("{selectedPeriod}",a(`${v}`));i(20,$=s.isModified?`${a("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:c)}i(19,ee=!0)},Et=()=>{var c;if(!Z)return;const s=((c=Z[0])==null?void 0:c.limits)||Z.limits;let d=null;return Object.keys(q).length>0?d=s.find(g=>g.id===q.id):d=s.find(g=>g.type.toLowerCase()===Se[_].toLowerCase()&&(g.period===v||g.period==="None")&&g.products[0]===N),(d==null?void 0:d.schedules.length)>0&&H[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount),d},Tt=()=>{var z;const s=((z=Z[0])==null?void 0:z.limits)||Z.limits;let d=null;if(!Z){i(19,ee=!0);return}Object.keys(q).length>0?d=s.find(O=>O.id===q.id):d=s.find(O=>O.type.toLowerCase()===Se[_].toLowerCase()&&(O.period===v||O.period==="None")&&O.products[0]===N),(d==null?void 0:d.schedules.length)>0&&H[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount);const c=Ve(d)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(d.amount),g=d.schedules.length>0?`${new Date(d.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let L=a("popupImmediateUpdate").replace("{selectedLimit}",De(d)).replace("{updatedAmount}",c).replace("{selectedPeriod}",a(`${d.period}`));d.schedules.length>0&&H[d.schedules[0].id]?i(20,$=L):i(20,$=d.schedules.length>0?`${a("popupPendingUpdate")} ${g}`:L),i(19,ee=!0)},Mt=()=>{fe==1&&i(21,ce="PopupKyc"),fe==2&&(i(20,$=`${a("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(Ce)} ${l} ${a("popup2_b")}`),i(21,ce="PopupKyc2")),fe==3&&(i(20,$=a("popup3")),i(21,ce="PopupSuccess")),i(19,ee=!0)},Ut=()=>{i(20,$=a("sessionLimitUpdated")),i(19,ee=!0)},Nt=()=>{if(Z){const s=Z[R[_].callValue].find(g=>(g.period===v||v==="None")&&g.products[0]===N),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let c=a("popupImmediateUpdate").replace("{selectedLimit}",a(`${_}`)).replace("{updatedAmount}",d).replace("{currency}",a("minutes")).replace("{selectedPeriod}",a(`${v}`));i(20,$=s.isModified?`${a("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:c)}i(19,ee=!0)},It=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("Limit update is not permitted due to LimitUpdateControl")},Bt=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("Limit remove is not permitted due to LimitUpdateControl")},Rt=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("[NotFoundException] Limit does not exist")},Ot=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("[Exception] Schedule does not exist")},Vt=s=>{var d,c;return((d=s.details)==null?void 0:d.includes("Invalid Session"))||((c=s.error)==null?void 0:c.includes("Invalid Session"))},ye=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),J){if(i(17,_e=!0),!s){i(19,ee=!0);return}It(s)?i(20,$=a("popupUpdateLimitException")):Bt(s)?i(20,$=a("popupRemoveLimitException")):Rt(s)?i(20,$=a("notFoundException")):Ot(s)?i(20,$=a("scheduleNotFoundException")):Vt(s)?i(20,$=a("sessionExpiredException")):i(20,$=a("genericLimitsPopupError")),i(19,ee=!0);return}switch(f){case"gmcore":_==="sessionLimit"||_==="cumulativeSession"?Nt():jt();break;case"gm16":_==="lugas"?Mt():_==="sessionLimit"||_==="cumulativeSession"?Ut():Tt();break;default:throw new Error(`Invalid apiversion attribute: ${f}`)}},ae=()=>{i(18,pe=!0),window.postMessage({type:"DisableScroll"},window.location.href)},Wt=s=>{i(7,_=s.limitType),i(8,v=s.period),ae(),i(15,M=!0);let d=new URL(`/v2/player/${m}/limits/${Se[s.limitType]}`,u);s.limitType!=="sessionLimit"&&d.searchParams.append("periods",s.period);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_cancel_success",s.amount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.amount),console.log(g),i(16,J=!0)})},Ie=s=>{switch(s.period,be.remove=s,f){case"gmcore":Wt(s);break;case"gm16":q=s,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?Ft(s):Be(s);break}K("self_limitation_cancel_request",s.amount)},Ft=s=>{const d=new URL(`/v1/player/${m}/limits/session/session`,u),c=new URL(`/v1/player/${m}/limits/session/cumulativeSession?periods=${s.period}`,u);let g;switch(s.limitType){case"sessionLimit":g=d;break;case"cumulativeSession":g=c;break;default:throw Error(`Unknown limit.limitType: ${s.limitType}`)}ae(),i(15,M=!0);let L={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(g.href,L).then(z=>Q(z)).then(z=>{K("self_limitation_cancel_success",s.amount),te()}).catch(z=>{K("self_limitation_cancel_failed",s.amount),console.log(z),i(16,J=!0)})},Be=s=>{if(ae(),i(15,M=!0),s&&s.reviewRequired&&!se){i(26,Le=!0),i(19,ee=!0);return}const d=new URL(`/v1/player/${m}/limits/monetary/${s.id}`,u);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};se&&d.searchParams.append("documentId",se),fetch(d.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_cancel_success",s.amount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.amount),console.log(g),i(16,J=!0)}).finally(()=>{be.remove={},i(26,Le=!1),se=""})},Re=s=>{const d=new URL(`/v1/player/${m}/limits/schedule/${s.scheduleId}`,u);ae(),i(15,M=!0);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{q=s,K("self_limitation_cancel_success",s.updateAmount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.updateAmount),console.log(g),i(16,J=!0)})},Oe=s=>{const d=new URL(`v1/player/${m}/limits/schedule/acknowledge/${s.scheduleId}`,u);ae(),i(15,M=!0);let c={method:"PATCH",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{q=s,qt(s),K("self_limitation_confirm_success",s.amount),te()}).catch(g=>{K("self_limitation_confirm_failed",s.amount),console.log(g),i(16,J=!0)})},qt=s=>{let d=60;i(27,H[s.scheduleId]={},H),i(27,H[s.scheduleId].timer=`${d} ${le[n].seconds}`,H),i(27,H[s.scheduleId].timerStopped=!1,H);let c=window.setInterval(()=>d===0?(window.clearInterval(c),i(27,H[s.scheduleId].timerStopped=!0,H),i(27,H[s.scheduleId].timer=le[n].reloadLimitsButton,H)):i(27,H[s.scheduleId].timer=`${--d} ${le[n].seconds}`,H),1e3)},De=s=>{let d;return s?d=s.value?a(s.value+s.product):a(s.type.toLowerCase()+s.products[0]):d=a(_),d},Ve=(s,d=!1,c=!1)=>{if(!C)return c?`${s.reviewPending.requestAmount}${s.currency}`:d?`${s.updateAmount}${s.currency}`:`${s.amount}${s.currency}`;let g=C;const L=g.match(/\{(\d+)decimals\}/),z=L?parseInt(L[1],10):2,O=L?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let Y;c?Y=s.reviewPending.requestAmount||0:Y=d?s.updateAmount:s.amount,Y=parseInt(Y).toFixed(z);const[oe,ve]=C.includes(".")?[",","."]:[".",","];let[ke,ze]=Y.split(".");return ke=ke.replace(/\B(?=(\d{3})+(?!\d))/g,oe),Y=`${ke}${ve}${ze}`,g=g.replace("{currency}",me[s.currency]||s.currency).replace("{amount}",Y.split(ve)[0]).replace(O,Y.split(ve)[1]),g},Pe=()=>{i(19,ee=i(18,pe=!1)),i(21,ce=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Gt=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Pe()},Ht=s=>{let d=0;return Object.keys(s).forEach(c=>{d+=s[c].size}),d<=Number(V)},Kt=s=>{let d=!1;return Object.keys(s).forEach(c=>{const g=s[c].name.split(".").pop();return x.includes(g)?d=!0:d=!1}),d},We=s=>!s&&!(s.length>0)?i(25,re=!1):(i(24,ue=s),Ht(ue)?Kt(ue)?i(25,re=!0):(console.error(a("fileExtenssionDeny")),i(25,re=!1)):(console.error(a("fileSizeExceeded")),i(25,re=!1))),Yt=()=>{if(!re)return;i(19,ee=!1);const s=new URL(`/api/v1/mm/content/${m}/url-upload/`,u),d={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":p},body:JSON.stringify({})};fetch(s,d).then(c=>Q(c)).then(c=>{Jt(c)}).catch(c=>{console.error(a("errorUploadDocument"),c),i(24,ue=null),i(25,re=!1)})},Jt=s=>{const d=new FormData;d.append(s.requestId,ue[0]),fetch(s.url,{method:"POST",body:d}).then(c=>Q(c)).then(c=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:a("uploadSuccess")}},window.location.href),se=c.Files[0].Reference,be.remove.id?Be(be.remove):Te()}).catch(c=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("errorUploadDocument")}},window.location.href),console.error(a("errorUploadDocument"),c)}).finally(()=>{Pe(),i(24,ue=null),i(25,re=!1)})},Zt=()=>{if(!h)return;let s={};h.split(",").forEach(d=>{let c=d.split(":");s[c[0].trim()]=c[1].trim()}),me=we(we({},me),s)},Xt=()=>{pi(n)};e.onMount(()=>()=>{});const Qt=s=>We(s.target.files),$t=()=>te(),ei=s=>Ie(s),ti=s=>Oe(s),ii=s=>Re(s);function ai(){B=e.select_value(this),i(9,B)}const oi=()=>{Ee(),je(),Ne()};function ni(){v=e.select_value(this),i(8,v),i(5,R),i(7,_)}function si(){j=e.to_number(this.value),i(10,j)}function ri(s){e.binding_callbacks[s?"unshift":"push"](()=>{S=s,i(4,S)})}return o.$$set=s=>{"lang"in s&&i(45,n=s.lang),"currency"in s&&i(0,l=s.currency),"limits"in s&&i(46,r=s.limits),"session"in s&&i(47,p=s.session),"userid"in s&&i(48,m=s.userid),"endpoint"in s&&i(49,u=s.endpoint),"apiversion"in s&&i(50,f=s.apiversion),"customcurrencysymbols"in s&&i(51,h=s.customcurrencysymbols),"enablecompliancetext"in s&&i(1,D=s.enablecompliancetext),"deletelimit"in s&&i(2,k=s.deletelimit),"amountsconfig"in s&&i(52,A=s.amountsconfig),"periodsconfig"in s&&i(53,W=s.periodsconfig),"limittabindex"in s&&i(3,F=s.limittabindex),"limitformat"in s&&i(54,C=s.limitformat),"allowedextenssion"in s&&i(55,x=s.allowedextenssion),"filesizeallow"in s&&i(56,V=s.filesizeallow),"clientstyling"in s&&i(57,U=s.clientstyling),"clientstylingurl"in s&&i(58,T=s.clientstylingurl),"mbsource"in s&&i(59,P=s.mbsource),"translationurl"in s&&i(60,E=s.translationurl)},o.$$.update=()=>{o.$$.dirty[1]&1048576&&h&&Zt(),o.$$.dirty[1]&6291456&&W&&A&&ht(),o.$$.dirty[1]&16384&&n&&Xt(),o.$$.dirty[1]&999424&&m&&p&&u&&f&&n&&te(),o.$$.dirty[0]&16|o.$$.dirty[1]&67108864&&U&&S&&e.setClientStyling(S,U),o.$$.dirty[0]&16|o.$$.dirty[1]&134217728&&T&&S&&e.setClientStylingURL(S,T),o.$$.dirty[0]&16|o.$$.dirty[1]&268435456&&P&&S&&e.setStreamStyling(S,`${P}.Style`),o.$$.dirty[1]&536870912&&E&&ft()},[l,D,k,F,S,R,w,_,v,B,j,ie,ne,G,I,M,J,_e,pe,ee,$,ce,fe,ge,ue,re,Le,H,a,b,je,Ee,te,Ue,xt,Ne,Ie,Re,Oe,De,Ve,Pe,Gt,We,Yt,n,r,p,m,u,f,h,A,W,C,x,V,U,T,P,E,Qt,$t,ei,ti,ii,ai,oi,ni,si,ri]}class mt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,qi,Fi,e.safe_not_equal,{lang:45,currency:0,limits:46,session:47,userid:48,endpoint:49,apiversion:50,customcurrencysymbols:51,enablecompliancetext:1,deletelimit:2,amountsconfig:52,periodsconfig:53,limittabindex:3,limitformat:54,allowedextenssion:55,filesizeallow:56,clientstyling:57,clientstylingurl:58,mbsource:59,translationurl:60},mi,[-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[45]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get limits(){return this.$$.ctx[46]}set limits(t){this.$$set({limits:t}),e.flush()}get session(){return this.$$.ctx[47]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[48]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[49]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[50]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[51]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[1]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[2]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get amountsconfig(){return this.$$.ctx[52]}set amountsconfig(t){this.$$set({amountsconfig:t}),e.flush()}get periodsconfig(){return this.$$.ctx[53]}set periodsconfig(t){this.$$set({periodsconfig:t}),e.flush()}get limittabindex(){return this.$$.ctx[3]}set limittabindex(t){this.$$set({limittabindex:t}),e.flush()}get limitformat(){return this.$$.ctx[54]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get allowedextenssion(){return this.$$.ctx[55]}set allowedextenssion(t){this.$$set({allowedextenssion:t}),e.flush()}get filesizeallow(){return this.$$.ctx[56]}set filesizeallow(t){this.$$set({filesizeallow:t}),e.flush()}get clientstyling(){return this.$$.ctx[57]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[58]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[59]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[60]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(mt,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},customcurrencysymbols:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},limittabindex:{},limitformat:{},allowedextenssion:{},filesizeallow:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=mt;
|
|
35
|
+
c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`),e.attr(t,"version","1.1"),e.attr(t,"id","Capa_1"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),e.attr(t,"x","0px"),e.attr(t,"y","0px"),e.attr(t,"viewBox","0 0 52 52"),e.set_style(t,"enable-background","new 0 0 52 52"),e.attr(t,"xml:space","preserve")},m(U,T){e.insert(U,t,T),e.append(t,i),e.append(i,a),e.append(i,n),e.append(t,l),e.append(t,r),e.append(t,p),e.append(t,m),e.append(t,u),e.append(t,f),e.append(t,h),e.append(t,D),e.append(t,k),e.append(t,A),e.append(t,W),e.append(t,F),e.append(t,C),e.append(t,x),e.append(t,V)},d(U){U&&e.detach(t)}}}function ki(o){let t,i=o[28]("popupSuccess")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("popupSuccess")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function bi(o){let t,i=o[28]("docsRequired")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("docsRequired")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function wi(o){let t,i=o[28]("popupError")+"",a;return{c(){t=e.element("p"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("popupError")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function _i(o){let t,i=o[28]("okButton")+"",a,n,l;return{c(){t=e.element("button"),a=e.text(i),e.attr(t,"class","ConfirmButton")},m(r,p){e.insert(r,t,p),e.append(t,a),n||(l=e.listen(t,"click",o[41]),n=!0)},p(r,p){p[0]&268435456&&i!==(i=r[28]("okButton")+"")&&e.set_data(a,i)},d(r){r&&e.detach(t),n=!1,l()}}}function Si(o){let t,i=o[28]("uploadDocumentsButton")+"",a,n,l=o[28]("closeButton")+"",r,p,m;return{c(){t=e.element("button"),a=e.space(),n=e.element("button"),r=e.text(l),e.attr(t,"class","ConfirmButton"),e.attr(n,"class","CloseButton")},m(u,f){e.insert(u,t,f),t.innerHTML=i,e.insert(u,a,f),e.insert(u,n,f),e.append(n,r),p||(m=[e.listen(t,"click",o[42]),e.listen(n,"click",o[41])],p=!0)},p(u,f){f[0]&268435456&&i!==(i=u[28]("uploadDocumentsButton")+"")&&(t.innerHTML=i),f[0]&268435456&&l!==(l=u[28]("closeButton")+"")&&e.set_data(r,l)},d(u){u&&(e.detach(t),e.detach(a),e.detach(n)),p=!1,e.run_all(m)}}}function Ai(o){let t,i=o[28]("noFileUploaded")+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","historyItem")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("noFileUploaded")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Di(o){let t,i=e.ensure_array_like(Array.from(o[24])),a=[];for(let n=0;n<i.length;n+=1)a[n]=Qe(Ze(o,i,n));return{c(){for(let n=0;n<a.length;n+=1)a[n].c();t=e.empty()},m(n,l){for(let r=0;r<a.length;r+=1)a[r]&&a[r].m(n,l);e.insert(n,t,l)},p(n,l){if(l[0]&16777216){i=e.ensure_array_like(Array.from(n[24]));let r;for(r=0;r<i.length;r+=1){const p=Ze(n,i,r);a[r]?a[r].p(p,l):(a[r]=Qe(p),a[r].c(),a[r].m(t.parentNode,t))}for(;r<a.length;r+=1)a[r].d(1);a.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(a,n)}}}function Qe(o){let t,i=o[147].name+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","historyItem")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&16777216&&i!==(i=n[147].name+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function $e(o){let t,i=o[28]("filesUploadError")+"",a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","filesError")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=n[28]("filesUploadError")+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Pi(o){let t,i,a,n,l,r,p,m,u,f,h=o[14]?`${o[28]("amount")}`:`${o[28](`new${o[8]}Limit`)}`,D,k,A,W,F,C,x=o[28]("setLimit")+"",V,U,T,P,E=e.ensure_array_like(o[6]),S=[];for(let v=0;v<E.length;v+=1)S[v]=nt(Ye(o,E,v));let y=o[1]==="true"&&st(o),b=o[13]&&rt(o),w=o[14]&&dt(o),_=o[23]&&pt(o);return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div");for(let v=0;v<S.length;v+=1)S[v].c();n=e.space(),l=e.element("form"),y&&y.c(),r=e.space(),b&&b.c(),p=e.space(),w&&w.c(),m=e.space(),u=e.element("label"),f=e.element("span"),D=e.text(h),k=e.space(),A=e.element("input"),W=e.space(),_&&_.c(),F=e.space(),C=e.element("button"),V=e.text(x),e.attr(a,"class","LimitsList "+(o[29]?"Desktop":"")),e.attr(f,"class","LimitInputText"),e.attr(A,"type","number"),e.attr(A,"pattern","[0-9]*"),e.attr(u,"class","LimitAmountInputWrapper"),e.attr(C,"class","LimitSubmitButton"),e.attr(C,"type","submit"),C.disabled=o[23],e.attr(l,"class","LimitsInteractionArea "+(o[29]?"Desktop":"")),e.attr(i,"class","LimitsPageContainer"),e.attr(t,"class",U="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+o[3]))},m(v,N){e.insert(v,t,N),e.append(t,i),e.append(i,a);for(let B=0;B<S.length;B+=1)S[B]&&S[B].m(a,null);e.append(i,n),e.append(i,l),y&&y.m(l,null),e.append(l,r),b&&b.m(l,null),e.append(l,p),w&&w.m(l,null),e.append(l,m),e.append(l,u),e.append(u,f),e.append(f,D),e.append(u,k),e.append(u,A),e.set_input_value(A,o[10]),e.append(u,W),_&&_.m(u,null),e.append(l,F),e.append(l,C),e.append(C,V),T||(P=[e.listen(A,"input",o[69]),e.listen(A,"input",o[33]),e.listen(l,"submit",o[34])],T=!0)},p(v,N){if(N[0]&939524164|N[1]&994){E=e.ensure_array_like(v[6]);let B;for(B=0;B<E.length;B+=1){const j=Ye(v,E,B);S[B]?S[B].p(j,N):(S[B]=nt(j),S[B].c(),S[B].m(a,null))}for(;B<S.length;B+=1)S[B].d(1);S.length=E.length}v[1]==="true"?y?y.p(v,N):(y=st(v),y.c(),y.m(l,r)):y&&(y.d(1),y=null),v[13]?b?b.p(v,N):(b=rt(v),b.c(),b.m(l,p)):b&&(b.d(1),b=null),v[14]?w?w.p(v,N):(w=dt(v),w.c(),w.m(l,m)):w&&(w.d(1),w=null),N[0]&268452096&&h!==(h=v[14]?`${v[28]("amount")}`:`${v[28](`new${v[8]}Limit`)}`)&&e.set_data(D,h),N[0]&1024&&e.to_number(A.value)!==v[10]&&e.set_input_value(A,v[10]),v[23]?_?_.p(v,N):(_=pt(v),_.c(),_.m(u,null)):_&&(_.d(1),_=null),N[0]&268435456&&x!==(x=v[28]("setLimit")+"")&&e.set_data(V,x),N[0]&8388608&&(C.disabled=v[23]),N[0]&8&&U!==(U="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+v[3]))&&e.attr(t,"class",U)},d(v){v&&e.detach(t),e.destroy_each(S,v),y&&y.d(),b&&b.d(),w&&w.d(),_&&_.d(),T=!1,e.run_all(P)}}}function zi(o){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(i,a){e.insert(i,t,a)},p:e.noop,d(i){i&&e.detach(t)}}}function Ci(o){let t,i,a,n,l,r,p=e.ensure_array_like(Array(3)),m=[];for(let u=0;u<p.length;u+=1)m[u]=Wi(ci(o,p,u));return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),a.innerHTML='<ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton>',n=e.space();for(let u=0;u<m.length;u+=1)m[u].c();l=e.space(),r=e.element("div"),r.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',e.attr(a,"class","skeletonLimitText"),e.attr(i,"class","skeletonLimitWrapper"),e.attr(r,"class","skeletonInputWrapper"),e.attr(t,"class","skeletonLimitContainer")},m(u,f){e.insert(u,t,f),e.append(t,i),e.append(i,a),e.append(i,n);for(let h=0;h<m.length;h+=1)m[h]&&m[h].m(i,null);e.append(t,l),e.append(t,r)},p:e.noop,d(u){u&&e.detach(t),e.destroy_each(m,u)}}}function xi(o){let t,i,a,n=o[28]("noLimitText")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("noLimitText")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function ji(o){let t,i,a,n=o[28]("lugasPrivacy")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("lugasPrivacy")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function Ei(o){let t,i=e.ensure_array_like(o[139].currentLimits),a=[];for(let n=0;n<i.length;n+=1)a[n]=ot(Je(o,i,n));return{c(){for(let n=0;n<a.length;n+=1)a[n].c();t=e.empty()},m(n,l){for(let r=0;r<a.length;r+=1)a[r]&&a[r].m(n,l);e.insert(n,t,l)},p(n,l){if(l[0]&939524164|l[1]&738){i=e.ensure_array_like(n[139].currentLimits);let r;for(r=0;r<i.length;r+=1){const p=Je(n,i,r);a[r]?a[r].p(p,l):(a[r]=ot(p),a[r].c(),a[r].m(t.parentNode,t))}for(;r<a.length;r+=1)a[r].d(1);a.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(a,n)}}}function Ti(o){let t,i,a,n=o[28]("lugasPrivacy")+"",l;return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),l=e.text(n),e.attr(a,"class","LimitDetailsTextWrapper"),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(r,p){e.insert(r,t,p),e.append(t,i),e.append(i,a),e.append(a,l)},p(r,p){p[0]&268435456&&n!==(n=r[28]("lugasPrivacy")+"")&&e.set_data(l,n)},d(r){r&&e.detach(t)}}}function Mi(o){let t,i=`${o[40](o[144])}`,a;return{c(){t=e.element("span"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=`${n[40](n[144])}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ui(o){let t,i=`${o[40](o[144],!0)}`,a;return{c(){t=e.element("span"),a=e.text(i)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=`${n[40](n[144],!0)}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function et(o){let t,i,a=`${o[40](o[144],!1,!0)}`,n,l,r=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateAfterDocApproval")}`,p;return{c(){t=e.element("div"),i=e.element("span"),n=e.text(a),l=e.space(),p=e.text(r),e.attr(t,"class","PendingLimit")},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,p)},p(m,u){u[0]&64&&a!==(a=`${m[40](m[144],!1,!0)}`)&&e.set_data(n,a),u[0]&268435520&&r!==(r=`${m[144].period!=="None"||m[144].value!=="cumulativeSession"?" ":m[28]("per")} ${m[28](`${m[144].period}`)} ${m[28]("updateAfterDocApproval")}`)&&e.set_data(p,r)},d(m){m&&e.detach(t)}}}function Ni(o){let t,i,a=`${o[40](o[144],!0)}`,n,l;function r(u,f){return u[144].isCoolOffCompleted?Vi:Oi}let p=r(o),m=p(o);return{c(){t=e.element("div"),i=e.element("span"),n=e.text(a),l=e.space(),m.c(),e.attr(t,"class","PendingLimit")},m(u,f){e.insert(u,t,f),e.append(t,i),e.append(i,n),e.append(t,l),m.m(t,null)},p(u,f){f[0]&64&&a!==(a=`${u[40](u[144],!0)}`)&&e.set_data(n,a),p===(p=r(u))&&m?m.p(u,f):(m.d(1),m=p(u),m&&(m.c(),m.m(t,null)))},d(u){u&&e.detach(t),m.d()}}}function Ii(o){let t,i=`${o[28]("removedLimitText")} ${o[144].expiryDate}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435520&&i!==(i=`${n[28]("removedLimitText")} ${n[144].expiryDate}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Bi(o){let t,i=`${o[28]("removeAfterConfirm")}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=`${n[28]("removeAfterConfirm")}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Ri(o){let t,i=`${o[28]("acknowledgedLimit")}`,a;return{c(){t=e.element("div"),a=e.text(i),e.attr(t,"class","PendingLimit")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268435456&&i!==(i=`${n[28]("acknowledgedLimit")}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Oi(o){let t=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateText")} ${o[144].expiryDate}`,i;return{c(){i=e.text(t)},m(a,n){e.insert(a,i,n)},p(a,n){n[0]&268435520&&t!==(t=`${a[144].period!=="None"||a[144].value!=="cumulativeSession"?" ":a[28]("per")} ${a[28](`${a[144].period}`)} ${a[28]("updateText")} ${a[144].expiryDate}`)&&e.set_data(i,t)},d(a){a&&e.detach(i)}}}function Vi(o){let t=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)} ${o[28]("updateAfterConfirm")}`,i;return{c(){i=e.text(t)},m(a,n){e.insert(a,i,n)},p(a,n){n[0]&268435520&&t!==(t=`${a[144].period!=="None"||a[144].value!=="cumulativeSession"?" ":a[28]("per")} ${a[28](`${a[144].period}`)} ${a[28]("updateAfterConfirm")}`)&&e.set_data(i,t)},d(a){a&&e.detach(i)}}}function tt(o){let t,i,a=o[27][o[144].scheduleId].timer+"",n,l,r,p;return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),e.attr(i,"class",l="ReloadLimitButton "+(o[29]?"":"Mobile")+" "+(o[27][o[144].scheduleId].timerStopped?"":"disabled")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),r||(p=e.listen(i,"click",o[62]),r=!0)},p(m,u){u[0]&134217792&&a!==(a=m[27][m[144].scheduleId].timer+"")&&e.set_data(n,a),u[0]&134217792&&l!==(l="ReloadLimitButton "+(m[29]?"":"Mobile")+" "+(m[27][m[144].scheduleId].timerStopped?"":"disabled"))&&e.attr(i,"class",l)},d(m){m&&e.detach(t),r=!1,p()}}}function it(o){let t,i,a=o[28]("removeLimit")+"",n,l,r;function p(){return o[63](o[144])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),e.attr(i,"class","RemoveLimitButton "+(o[29]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(m,u){e.insert(m,t,u),e.append(t,i),e.append(i,n),l||(r=e.listen(i,"click",p),l=!0)},p(m,u){o=m,u[0]&268435456&&a!==(a=o[28]("removeLimit")+"")&&e.set_data(n,a)},d(m){m&&e.detach(t),l=!1,r()}}}function at(o){let t,i,a=o[28]("confirmUpdateLimit")+"",n,l,r,p=o[28]("cancelUpdateLimit")+"",m,u,f;function h(){return o[64](o[144])}function D(){return o[65](o[144])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(a),l=e.space(),r=e.element("button"),m=e.text(p),e.attr(i,"class","ConfirmLimitButton "+(o[29]?"":"Mobile")),e.attr(r,"class","CancelLimitButton "+(o[29]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(o[29]?"":"Mobile"))},m(k,A){e.insert(k,t,A),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r),e.append(r,m),u||(f=[e.listen(i,"click",h),e.listen(r,"click",D)],u=!0)},p(k,A){o=k,A[0]&268435456&&a!==(a=o[28]("confirmUpdateLimit")+"")&&e.set_data(n,a),A[0]&268435456&&p!==(p=o[28]("cancelUpdateLimit")+"")&&e.set_data(m,p)},d(k){k&&e.detach(t),u=!1,e.run_all(f)}}}function ot(o){let t,i,a,n,l,r=`${o[144].period!=="None"||o[144].value!=="cumulativeSession"?" ":o[28]("per")} ${o[28](`${o[144].period}`)}`,p,m,u,f,h,D=!o[144].isModified&&o[2].indexOf(o[139].value)>-1&&!o[144].reviewPending.id,k,A;function W(y,b){return y[144].acknowledgedLimit?Ui:Mi}let F=W(o),C=F(o),x=o[144].reviewPending&&o[144].reviewPending.id&&et(o);function V(y,b){if(y[144].acknowledgedLimit)return Ri;if(y[144].isModified&&y[144].updateAmount==0&&y[144].isCoolOffCompleted)return Bi;if(y[144].isModified&&y[144].updateAmount==0&&!y[144].isCoolOffCompleted)return Ii;if(y[144].isModified)return Ni}let U=V(o),T=U&&U(o),P=o[144].acknowledgedLimit&&!o[144].reviewPending.id&&tt(o),E=D&&it(o),S=o[144].isCoolOffCompleted&!o[144].acknowledgedLimit&&!o[144].reviewPending.id&&at(o);return{c(){t=e.element("div"),i=e.element("div"),a=e.element("div"),n=e.element("div"),C.c(),l=e.space(),p=e.text(r),m=e.space(),x&&x.c(),u=e.space(),T&&T.c(),f=e.space(),P&&P.c(),h=e.space(),E&&E.c(),k=e.space(),S&&S.c(),A=e.space(),e.attr(n,"class","CurrentLimit"),e.attr(a,"class","CurrentLimitContainer"),e.attr(i,"class","LimitDetailsTextWrapper"),e.attr(t,"class","LimitDetails")},m(y,b){e.insert(y,t,b),e.append(t,i),e.append(i,a),e.append(a,n),C.m(n,null),e.append(n,l),e.append(n,p),e.append(a,m),x&&x.m(a,null),e.append(a,u),T&&T.m(a,null),e.append(i,f),P&&P.m(i,null),e.append(i,h),E&&E.m(i,null),e.append(i,k),S&&S.m(i,null),e.append(t,A)},p(y,b){F===(F=W(y))&&C?C.p(y,b):(C.d(1),C=F(y),C&&(C.c(),C.m(n,l))),b[0]&268435520&&r!==(r=`${y[144].period!=="None"||y[144].value!=="cumulativeSession"?" ":y[28]("per")} ${y[28](`${y[144].period}`)}`)&&e.set_data(p,r),y[144].reviewPending&&y[144].reviewPending.id?x?x.p(y,b):(x=et(y),x.c(),x.m(a,u)):x&&(x.d(1),x=null),U===(U=V(y))&&T?T.p(y,b):(T&&T.d(1),T=U&&U(y),T&&(T.c(),T.m(a,null))),y[144].acknowledgedLimit&&!y[144].reviewPending.id?P?P.p(y,b):(P=tt(y),P.c(),P.m(i,h)):P&&(P.d(1),P=null),b[0]&68&&(D=!y[144].isModified&&y[2].indexOf(y[139].value)>-1&&!y[144].reviewPending.id),D?E?E.p(y,b):(E=it(y),E.c(),E.m(i,k)):E&&(E.d(1),E=null),y[144].isCoolOffCompleted&!y[144].acknowledgedLimit&&!y[144].reviewPending.id?S?S.p(y,b):(S=at(y),S.c(),S.m(i,null)):S&&(S.d(1),S=null)},d(y){y&&e.detach(t),C.d(),x&&x.d(),T&&T.d(),P&&P.d(),E&&E.d(),S&&S.d()}}}function nt(o){let t,i,a=o[39](o[139])+"",n,l,r;function p(f,h){var D;return f[139].value==="lugas"?Ti:((D=f[139].currentLimits)==null?void 0:D.length)>0?Ei:f[139].value==="lugas"?ji:xi}let m=p(o),u=m(o);return{c(){t=e.element("div"),i=e.element("p"),n=e.text(a),l=e.space(),u.c(),r=e.space(),e.attr(i,"class","LimitTitle"),e.attr(t,"class","LimitWrapper "+(o[29]?"Desktop":""))},m(f,h){e.insert(f,t,h),e.append(t,i),e.append(i,n),e.append(t,l),u.m(t,null),e.append(t,r)},p(f,h){h[0]&64&&a!==(a=f[39](f[139])+"")&&e.set_data(n,a),m===(m=p(f))&&u?u.p(f,h):(u.d(1),u=m(f),u&&(u.c(),u.m(t,r)))},d(f){f&&e.detach(t),u.d()}}}function st(o){let t,i,a=o[28]("complianceText")+"",n;return{c(){t=e.element("div"),i=e.element("p"),n=e.text(a),e.attr(i,"class","LimitComplianceText"),e.attr(t,"class","LimitCompliance")},m(l,r){e.insert(l,t,r),e.append(t,i),e.append(i,n)},p(l,r){r[0]&268435456&&a!==(a=l[28]("complianceText")+"")&&e.set_data(n,a)},d(l){l&&e.detach(t)}}}function rt(o){let t,i,a=o[28]("limitType")+"",n,l,r,p,m,u=e.ensure_array_like(o[6]),f=[];for(let h=0;h<u.length;h+=1)f[h]=lt(Ke(o,u,h));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(a),l=e.space(),r=e.element("select");for(let h=0;h<f.length;h+=1)f[h].c();e.attr(i,"class","LimitSelectText"),e.attr(r,"name",""),e.attr(r,"id",""),o[9]===void 0&&e.add_render_callback(()=>o[66].call(r)),e.attr(t,"class","LimitTypeDropdownWrapper")},m(h,D){e.insert(h,t,D),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(r,null);e.select_option(r,o[9],!0),p||(m=[e.listen(r,"change",o[66]),e.listen(r,"change",o[67])],p=!0)},p(h,D){if(D[0]&268435456&&a!==(a=h[28]("limitType")+"")&&e.set_data(n,a),D[0]&64|D[1]&256){u=e.ensure_array_like(h[6]);let k;for(k=0;k<u.length;k+=1){const A=Ke(h,u,k);f[k]?f[k].p(A,D):(f[k]=lt(A),f[k].c(),f[k].m(r,null))}for(;k<f.length;k+=1)f[k].d(1);f.length=u.length}D[0]&512&&e.select_option(r,h[9])},d(h){h&&e.detach(t),e.destroy_each(f,h),p=!1,e.run_all(m)}}}function lt(o){let t,i=o[39](o[139])+"",a;return{c(){t=e.element("option"),a=e.text(i),t.__value=o[141],e.set_input_value(t,t.__value)},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&64&&i!==(i=n[39](n[139])+"")&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function dt(o){let t,i,a=o[28]("period")+"",n,l,r,p,m,u=e.ensure_array_like(o[5][o[7]].periods),f=[];for(let h=0;h<u.length;h+=1)f[h]=ut(He(o,u,h));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(a),l=e.space(),r=e.element("select");for(let h=0;h<f.length;h+=1)f[h].c();e.attr(i,"class","PeriodSelectText"),e.attr(r,"name",""),e.attr(r,"id",""),o[8]===void 0&&e.add_render_callback(()=>o[68].call(r)),e.attr(t,"class","LimitPeriodDropdownWrapper")},m(h,D){e.insert(h,t,D),e.append(t,i),e.append(i,n),e.append(t,l),e.append(t,r);for(let k=0;k<f.length;k+=1)f[k]&&f[k].m(r,null);e.select_option(r,o[8],!0),p||(m=e.listen(r,"change",o[68]),p=!0)},p(h,D){if(D[0]&268435456&&a!==(a=h[28]("period")+"")&&e.set_data(n,a),D[0]&268435616){u=e.ensure_array_like(h[5][h[7]].periods);let k;for(k=0;k<u.length;k+=1){const A=He(h,u,k);f[k]?f[k].p(A,D):(f[k]=ut(A),f[k].c(),f[k].m(r,null))}for(;k<f.length;k+=1)f[k].d(1);f.length=u.length}D[0]&416&&e.select_option(r,h[8])},d(h){h&&e.detach(t),e.destroy_each(f,h),p=!1,m()}}}function ut(o){let t,i=o[28](o[136])+"",a,n;return{c(){t=e.element("option"),a=e.text(i),t.__value=n=o[136],e.set_input_value(t,t.__value),t.selected=!0},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&268435616&&i!==(i=l[28](l[136])+"")&&e.set_data(a,i),r[0]&160&&n!==(n=l[136])&&(t.__value=n,e.set_input_value(t,t.__value))},d(l){l&&e.detach(t)}}}function pt(o){let t,i=o[10]===null?`${o[28]("invalidInputMessage")}`:o[10]<o[11]?`${o[28]("invalidInputMessageLimitMin",{values:{minValue:o[11],currency:o[0]}})}`:`${o[28]("invalidInputMessageLimitMax",{values:{maxValue:o[12],currency:o[0]}})}`,a;return{c(){t=e.element("p"),a=e.text(i),e.attr(t,"class","InvalidInput")},m(n,l){e.insert(n,t,l),e.append(t,a)},p(n,l){l[0]&268442625&&i!==(i=n[10]===null?`${n[28]("invalidInputMessage")}`:n[10]<n[11]?`${n[28]("invalidInputMessageLimitMin",{values:{minValue:n[11],currency:n[0]}})}`:`${n[28]("invalidInputMessageLimitMax",{values:{maxValue:n[12],currency:n[0]}})}`)&&e.set_data(a,i)},d(n){n&&e.detach(t)}}}function Wi(o){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ',e.attr(t,"class","skeletonLimitContent")},m(i,a){e.insert(i,t,a)},p:e.noop,d(i){i&&e.detach(t)}}}function Fi(o){let t,i,a=o[18]&&Xe(o);function n(p,m){if(p[15])return Ci;if(p[16])return zi;if(!p[15])return Pi}let l=n(o),r=l&&l(o);return{c(){t=e.element("div"),a&&a.c(),i=e.space(),r&&r.c()},m(p,m){e.insert(p,t,m),a&&a.m(t,null),e.append(t,i),r&&r.m(t,null),o[70](t)},p(p,m){p[18]?a?a.p(p,m):(a=Xe(p),a.c(),a.m(t,i)):a&&(a.d(1),a=null),l===(l=n(p))&&r?r.p(p,m):(r&&r.d(1),r=l&&l(p),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),a&&a.d(),r&&r.d(),o[70](null)}}}function qi(o,t,i){let a;e.component_subscribe(o,e.$format,s=>i(28,a=s));let{lang:n="en"}=t,{currency:l=""}=t,{limits:r=""}=t,{session:p=""}=t,{userid:m=""}=t,{endpoint:u=""}=t,{apiversion:f=""}=t,{customcurrencysymbols:h=""}=t,{enablecompliancetext:D=""}=t,{deletelimit:k=""}=t,{amountsconfig:A=""}=t,{periodsconfig:W=""}=t,{limittabindex:F=""}=t,{limitformat:C=""}=t,{allowedextenssion:x=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:V="12934000"}=t,{clientstyling:U=""}=t,{clientstylingurl:T=""}=t,{mbsource:P}=t,{translationurl:E=""}=t,S,y=window.navigator.userAgent,b=!e.isMobile(y),w=[],_="",v="",N="",B=0,j,ie="",ne="",de="",X={},q={},G=!1,I=!1,M=!0,J=!1,_e=!1,pe=!1,ee=!1,$="",ce="",Z=[],fe,Ce,ge=!1,ct={},se="",ue,be={remove:{}},re=!1,Le=!1,me={EUR:"€",RON:" lei",USD:"$"},H={};const Se={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},xe={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},ft=()=>{fetch(E).then(d=>d.json()).then(d=>{Object.keys(d).forEach(c=>{Ge(c,d[c])})}).catch(d=>{console.log(d)})};Object.keys(le).forEach(s=>{Ge(s,le[s])});const Ae=s=>`dataLayer-${s}`,K=(s,d)=>{typeof gtag=="function"&>ag({event:s,limit_category:le[n][Ae(N.toLowerCase())]||N,limit_type:le[n][Ae(_.toLowerCase())]||_,limit_period:le[n][Ae(v.toLowerCase())]||v,limit_amount:j||d})},gt=()=>{var g;const s=A.split(",").map(L=>L.split(":")),d=W.split(",").map(L=>L.split(":"));for(let[L,z]of s.entries())if(z[0]!==d[L][0])throw new Error(`Limit config mismatch: "${z[0]}" does not match "${d[L][0]}"`);const c=s.reduce((L,z,O)=>{const Y=z[0].slice(z[0].indexOf("(")+1,z[0].indexOf(")")),oe=z[0].slice(0,z[0].indexOf("(")),ve=z[1],ke=d[O][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),ze={value:Y,product:oe,minMax:ve,periods:ke,callValue:R[Y].callValue,callValue16:R[Y].callValue16,title:R[Y].title};return L.push(ze),L},[]);for(let L=0;L<c.length;L++)i(6,w[L].product=c[L].product,w),i(6,w[L].min=parseInt(c[L].minMax.split("-")[0],10),w),i(6,w[L].max=parseInt(c[L].minMax.split("-")[1],10),w),i(5,R[c[L].value].periods=c[L].periods,R);de=(g=w[0])==null?void 0:g.value,w.forEach(L=>{X[L.value]={min:L.min,max:L.max},ct[L.value]=L.product}),X&&(X[de]?(i(11,ie=X[de].min),i(12,ne=X[de].max)):(i(11,ie=1),i(12,ne=9999999)))},Lt=()=>{const s=/\(([^)]+)\)/g;return[...A.matchAll(s)].flat().filter(c=>!c.includes("("))},ht=()=>{Lt().forEach(d=>{R[d]?w.push(we({},R[d])):console.error(`Unknown limit: ${d}`)}),gt(),i(7,_=w[0].value),i(8,v=R[_].periods[0]),N=w[0].product,i(13,G=w.length>1),i(14,I=R[_].periods.length>1)},je=()=>{i(7,_=w[B].value),i(8,v=R[_].periods[0]),i(14,I=R[_].periods.length>1)},Ee=()=>{N=w[B].product},Q=s=>{if(s.status>=300)yt(s);else return i(17,_e=!1),s.status!==204?s.json():s},yt=s=>{i(16,J=!0);let d;throw s.json().then(c=>{for(const g in xe)if(c.error&&xe[g].some(L=>c.error.includes(L))){d=g;break}console.error("errType",d),!d&&ye(c)}).finally(()=>{d&&ye(d),i(16,J=!1),i(15,M=!1)}),new Error("An error occured during the fetch request")},vt=()=>{if(!(j>0))return;ae(),i(15,M=!0);let s=new URL(`/v2/player/${m}/limits`,u),d={};_==="sessionLimit"?d={sessionLimit:j,sessionLimitUnit:"minute"}:_==="cumulativeSession"?d[R[_].callValue]=[{period:v,minutes:j}]:d[R[_].callValue]=[{period:R[_].periods[0]==="None"?null:v,amount:j,currency:l}];let c={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(d)};fetch(s.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_success"),te()}).catch(g=>{console.error(g),i(16,J=!0)})},Te=()=>{const d=w[B].currentLimits.find(oe=>oe.period===v),c=Et();if(c&&c.reviewPending&&c.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("limitInDocReview")}},window.location.href);if(ae(),i(15,M=!0),c&&c.reviewRequired&&!se&&j>c.amount){i(26,Le=!0),i(19,ee=!0);return}const g=d?"v2":"v1",L=new URL(`/${g}/player/${m}/limits/monetary/${d?d.id:""}`,u),z=d?"PUT":"POST",O=d?se?{amount:j,skipCoolOff:!1,payload:{DocumentId:se}}:{amount:j,skipCoolOff:!1}:{amount:j,currency:l,period:R[_].periods[0]==="None"?null:v,type:R[_].callValue16,products:[N!=null?N:"All"],walletTypes:["Deposit","NetDeposit"].includes(R[_].callValue16)?["All"]:["RealCash"]};let Y={method:z,headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(O)};fetch(L.href,Y).then(oe=>Q(oe)).then(oe=>{K("self_limitation_success"),te()}).catch(oe=>{console.log(oe)}).finally(()=>{i(26,Le=!1),se=""})},kt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v1/player/${m}/limits/session/`,u);let g={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:j,sessionLimitUnit:"minute"})};fetch(s.href,g).then(L=>Q(L)).then(L=>{K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},bt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v1/player/${m}/limits/session/`,u);let g={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:v,minutes:j}]})};fetch(s.href,g).then(L=>Q(L)).then(L=>{K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},wt=()=>{if(!(j>0))return;ae(),i(15,M=!0);const s=new URL(`/v2/player/${m}/limit/lugas`,u);let g={method:"POST",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:j,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};fetch(s.href,g).then(L=>Q(L)).then(L=>{i(22,fe=L.popup),L.operatorDepositLimitAmount,Ce=L.regulatorDepositLimitAmount,K("self_limitation_success"),te()}).catch(L=>{console.log(L),i(16,J=!0)})},_t=()=>{if(q={},f==="gm16")switch(_){case"lugas":wt();break;case"sessionLimit":kt();break;case"cumulativeSession":bt();break;default:Te();break}else if(f==="gmcore")vt();else throw Error(`Invalid apiversion attribute: ${f}`);K("self_limitation_request")},te=()=>{switch(f){case"gmcore":St();break;case"gm16":At();break}},St=()=>{i(15,M=!0);let s=new URL(`/v2/player/${m}/limits`,u),d={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,d).then(c=>Q(c)).then(c=>{Z=c,pe&&ye(),Me(Z),Dt(Z),i(10,j=null)}).catch(c=>{console.error("Error LimitsWidget: ",c),i(16,J=!0)}).finally(()=>{i(15,M=!1)})},At=()=>{i(15,M=!0),Z=[];let s=new URL(`/v1/player/${m}/limits/monetary`,u),d=new URL(`/v1/player/${m}/limits/session`,u),c=!1,g={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(s.href,g).then(L=>Q(L)).then(L=>{Z.push(L),f==="gm16"?Pt(L):f==="gmcore"&&Me([L]),pe&&ye(),i(10,j=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(16,J=!0)}).finally(()=>{c&&i(15,M=!1),c=!0}),fetch(d.href,g).then(L=>Q(L)).then(L=>{Z.push(L),f==="gm16"&&(zt(L),Ct(L)),pe&&ye(),i(10,j=null)}).catch(L=>{console.error("Error LimitsWidget: ",L),i(16,J=!0)}).finally(()=>{c&&i(15,M=!1),c=!0})},Me=s=>{w.forEach(d=>{d.currentLimits=[];const c=Array.isArray(s[R[d.value].callValue])?s[R[d.value].callValue]:[s[R[d.value].callValue]];c.length===0||c[0]===void 0||(c.forEach((g,L)=>{var O;const z=s[R[d.value].callValue][L];d.currentLimits.push({}),d.currentLimits[L].limitType=d.value,d.currentLimits[L].amount=C?z.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.amount),d.currentLimits[L].currency=(O=me[z.currency])!=null?O:z.currency,d.currentLimits[L].period=z.period,d.currentLimits[L].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.updateAmount),d.currentLimits[L].isModified=z.isModified,d.currentLimits[L].expiryDate=`${new Date(z.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),d.currentLimits=he(d.currentLimits))})},Dt=s=>{const d=a("minutes");w.filter(c=>c.value==="sessionLimit"||c.value==="cumulativeSession").forEach(c=>{var g;c.currentLimits=[],(g=s[R[c.value].callValue])==null||g.forEach((L,z)=>{const O=s[R[c.value].callValue][z];c.currentLimits.push({limitType:c.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(O.minutes),currency:d,isModified:O.isModified,period:c.value==="cumulativeSession"?O.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(O.updateMinutes),expiryDate:`${new Date(O.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),c.currentLimits=he(c.currentLimits)})},Pt=s=>{s!=null&&s.limits&&w.forEach(d=>{var c;d.currentLimits=[];for(const g of s.limits)if(g.type===d.callValue16&&g.products.includes(d.product)){let L=0,z=g.schedules.length>0?g.schedules.find(O=>O.id):{};g.schedules.length>0&&(L=C?z.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(z.updateAmount)),d.currentLimits.push({limitType:d.value,amount:C?g.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(g.amount),currency:(c=me[g.currency])!=null?c:g.currency,isModified:g.schedules.length>0,period:g.period,product:g.products[0],updateAmount:L,isCoolOffCompleted:z?z.isCoolOffCompleted:!1,reviewRequired:g.reviewRequired?g.reviewRequired:!1,reviewPending:g.reviewPending?g.reviewPending:{},scheduleId:z?z.id:null,expiryDate:g.schedules.length>0?`${new Date(g.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:g.id}),d.currentLimits.forEach(O=>{O.acknowledgedLimit=Object.keys(H).some(Y=>O.scheduleId===Y)})}d.currentLimits=he(d.currentLimits)})},zt=s=>{s!=null&&s.sessionLimit&&w.filter(d=>d.value==="sessionLimit").forEach(d=>{d.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.minutes),currency:a("minutes"),isModified:s.sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.sessionLimit.updateMinutes),expiryDate:s.sessionLimit.expiryDate}),d.currentLimits=he(d.currentLimits)})},Ct=s=>{s!=null&&s.cumulativeSessionLimits&&w.filter(d=>d.value==="cumulativeSession").forEach(d=>{for(const c of s.cumulativeSessionLimits)d.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(c.minutes),currency:a("minutes"),isModified:c.isModified,period:c.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(c.updateMinutes),expiryDate:c.expiryDate});d.currentLimits=he(d.currentLimits)})},he=s=>{const d={Daily:0,Weekly:1,Monthly:2};return s.sort((c,g)=>d[c.period]-d[g.period]),s},Ue=()=>{if(j===null||Number.isNaN(j)){i(23,ge=!0);return}const d=!Number.isInteger(j)?Math.round(j):j;i(10,j=d),i(23,ge=d<ie||d>ne)},xt=s=>{s.preventDefault(),Ue(),ge||_t()},Ne=()=>{i(23,ge=!1),X!=null&&X[_]?(i(11,ie=X[_].min),i(12,ne=X[_].max)):(i(11,ie=1),i(12,ne=9999999))},jt=()=>{if(Z){const s=Z[R[_].callValue].find(g=>g.period===v),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.amount);let c=a("popupImmediateUpdate").replace("{selectedLimit}",De(s)).replace("{updatedAmount}",d).replace("{currency}",me[s.currency]||s.currency).replace("{selectedPeriod}",a(`${v}`));i(20,$=s.isModified?`${a("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:c)}i(19,ee=!0)},Et=()=>{var c;if(!Z)return;const s=((c=Z[0])==null?void 0:c.limits)||Z.limits;let d=null;return Object.keys(q).length>0?d=s.find(g=>g.id===q.id):d=s.find(g=>g.type.toLowerCase()===Se[_].toLowerCase()&&(g.period===v||g.period==="None")&&g.products[0]===N),(d==null?void 0:d.schedules.length)>0&&H[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount),d},Tt=()=>{var z;const s=((z=Z[0])==null?void 0:z.limits)||Z.limits;let d=null;if(!Z){i(19,ee=!0);return}Object.keys(q).length>0?d=s.find(O=>O.id===q.id):d=s.find(O=>O.type.toLowerCase()===Se[_].toLowerCase()&&(O.period===v||O.period==="None")&&O.products[0]===N),(d==null?void 0:d.schedules.length)>0&&H[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount);const c=Ve(d)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(d.amount),g=d.schedules.length>0?`${new Date(d.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let L=a("popupImmediateUpdate").replace("{selectedLimit}",De(d)).replace("{updatedAmount}",c).replace("{selectedPeriod}",a(`${d.period}`));d.schedules.length>0&&H[d.schedules[0].id]?i(20,$=L):i(20,$=d.schedules.length>0?`${a("popupPendingUpdate")} ${g}`:L),i(19,ee=!0)},Mt=()=>{fe==1&&i(21,ce="PopupKyc"),fe==2&&(i(20,$=`${a("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(Ce)} ${l} ${a("popup2_b")}`),i(21,ce="PopupKyc2")),fe==3&&(i(20,$=a("popup3")),i(21,ce="PopupSuccess")),i(19,ee=!0)},Ut=()=>{i(20,$=a("sessionLimitUpdated")),i(19,ee=!0)},Nt=()=>{if(Z){const s=Z[R[_].callValue].find(g=>(g.period===v||v==="None")&&g.products[0]===N),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(s.minutes);let c=a("popupImmediateUpdate").replace("{selectedLimit}",a(`${_}`)).replace("{updatedAmount}",d).replace("{currency}",a("minutes")).replace("{selectedPeriod}",a(`${v}`));i(20,$=s.isModified?`${a("popupPendingUpdate")} ${new Date(s.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:c)}i(19,ee=!0)},It=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("Limit update is not permitted due to LimitUpdateControl")},Bt=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("Limit remove is not permitted due to LimitUpdateControl")},Rt=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("[NotFoundException] Limit does not exist")},Ot=s=>{var d;return(d=s==null?void 0:s.error)==null?void 0:d.includes("[Exception] Schedule does not exist")},Vt=s=>{var d,c;return((d=s.details)==null?void 0:d.includes("Invalid Session"))||((c=s.error)==null?void 0:c.includes("Invalid Session"))},ye=s=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),J){if(i(17,_e=!0),!s){i(19,ee=!0);return}It(s)?i(20,$=a("popupUpdateLimitException")):Bt(s)?i(20,$=a("popupRemoveLimitException")):Rt(s)?i(20,$=a("notFoundException")):Ot(s)?i(20,$=a("scheduleNotFoundException")):Vt(s)?i(20,$=a("sessionExpiredException")):i(20,$=a("genericLimitsPopupError")),i(19,ee=!0);return}switch(f){case"gmcore":_==="sessionLimit"||_==="cumulativeSession"?Nt():jt();break;case"gm16":_==="lugas"?Mt():_==="sessionLimit"||_==="cumulativeSession"?Ut():Tt();break;default:throw new Error(`Invalid apiversion attribute: ${f}`)}},ae=()=>{i(18,pe=!0),window.postMessage({type:"DisableScroll"},window.location.href)},Wt=s=>{i(7,_=s.limitType),i(8,v=s.period),ae(),i(15,M=!0);let d=new URL(`/v2/player/${m}/limits/${Se[s.limitType]}`,u);s.limitType!=="sessionLimit"&&d.searchParams.append("periods",s.period);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_cancel_success",s.amount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.amount),console.log(g),i(16,J=!0)})},Ie=s=>{switch(s.period,be.remove=s,f){case"gmcore":Wt(s);break;case"gm16":q=s,s.limitType==="sessionLimit"||s.limitType==="cumulativeSession"?Ft(s):Be(s);break}K("self_limitation_cancel_request",s.amount)},Ft=s=>{const d=new URL(`/v1/player/${m}/limits/session/session`,u),c=new URL(`/v1/player/${m}/limits/session/cumulativeSession?periods=${s.period}`,u);let g;switch(s.limitType){case"sessionLimit":g=d;break;case"cumulativeSession":g=c;break;default:throw Error(`Unknown limit.limitType: ${s.limitType}`)}ae(),i(15,M=!0);let L={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(g.href,L).then(z=>Q(z)).then(z=>{K("self_limitation_cancel_success",s.amount),te()}).catch(z=>{K("self_limitation_cancel_failed",s.amount),console.log(z),i(16,J=!0)})},Be=s=>{if(ae(),i(15,M=!0),s&&s.reviewRequired&&!se){i(26,Le=!0),i(19,ee=!0);return}const d=new URL(`/v1/player/${m}/limits/monetary/${s.id}`,u);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};se&&d.searchParams.append("documentId",se),fetch(d.href,c).then(g=>Q(g)).then(g=>{K("self_limitation_cancel_success",s.amount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.amount),console.log(g),i(16,J=!0)}).finally(()=>{be.remove={},i(26,Le=!1),se=""})},Re=s=>{const d=new URL(`/v1/player/${m}/limits/schedule/${s.scheduleId}`,u);ae(),i(15,M=!0);let c={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{q=s,K("self_limitation_cancel_success",s.updateAmount),te()}).catch(g=>{K("self_limitation_cancel_failed",s.updateAmount),console.log(g),i(16,J=!0)})},Oe=s=>{const d=new URL(`v1/player/${m}/limits/schedule/acknowledge/${s.scheduleId}`,u);ae(),i(15,M=!0);let c={method:"PATCH",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,c).then(g=>Q(g)).then(g=>{q=s,qt(s),K("self_limitation_confirm_success",s.amount),te()}).catch(g=>{K("self_limitation_confirm_failed",s.amount),console.log(g),i(16,J=!0)})},qt=s=>{let d=60;i(27,H[s.scheduleId]={},H),i(27,H[s.scheduleId].timer=`${d} ${le[n].seconds}`,H),i(27,H[s.scheduleId].timerStopped=!1,H);let c=window.setInterval(()=>d===0?(window.clearInterval(c),i(27,H[s.scheduleId].timerStopped=!0,H),i(27,H[s.scheduleId].timer=le[n].reloadLimitsButton,H)):i(27,H[s.scheduleId].timer=`${--d} ${le[n].seconds}`,H),1e3)},De=s=>{let d;return s?d=s.value?a(s.value+s.product):a(s.type.toLowerCase()+s.products[0]):d=a(_),d},Ve=(s,d=!1,c=!1)=>{if(!C)return c?`${s.reviewPending.requestAmount}${s.currency}`:d?`${s.updateAmount}${s.currency}`:`${s.amount}${s.currency}`;let g=C;const L=g.match(/\{(\d+)decimals\}/),z=L?parseInt(L[1],10):2,O=L?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let Y;c?Y=s.reviewPending.requestAmount||0:Y=d?s.updateAmount:s.amount,Y=parseInt(Y).toFixed(z);const[oe,ve]=C.includes(".")?[",","."]:[".",","];let[ke,ze]=Y.split(".");return ke=ke.replace(/\B(?=(\d{3})+(?!\d))/g,oe),Y=`${ke}${ve}${ze}`,g=g.replace("{currency}",me[s.currency]||s.currency).replace("{amount}",Y.split(ve)[0]).replace(O,Y.split(ve)[1]),g},Pe=()=>{i(19,ee=i(18,pe=!1)),i(21,ce=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},Gt=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),Pe()},Ht=s=>{let d=0;return Object.keys(s).forEach(c=>{d+=s[c].size}),d<=Number(V)},Kt=s=>{let d=!1;return Object.keys(s).forEach(c=>{const g=s[c].name.split(".").pop();return x.includes(g)?d=!0:d=!1}),d},We=s=>!s&&!(s.length>0)?i(25,re=!1):(i(24,ue=s),Ht(ue)?Kt(ue)?i(25,re=!0):(console.error(a("fileExtenssionDeny")),i(25,re=!1)):(console.error(a("fileSizeExceeded")),i(25,re=!1))),Yt=()=>{if(!re)return;i(19,ee=!1);const s=new URL(`/api/v1/mm/content/${m}/url-upload/`,u),d={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":p},body:JSON.stringify({})};fetch(s,d).then(c=>Q(c)).then(c=>{Jt(c)}).catch(c=>{console.error(a("errorUploadDocument"),c),i(24,ue=null),i(25,re=!1)})},Jt=s=>{const d=new FormData;d.append(s.requestId,ue[0]),fetch(s.url,{method:"POST",body:d}).then(c=>Q(c)).then(c=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:a("uploadSuccess")}},window.location.href),se=c.Files[0].Reference,be.remove.id?Be(be.remove):Te()}).catch(c=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:a("errorUploadDocument")}},window.location.href),console.error(a("errorUploadDocument"),c)}).finally(()=>{Pe(),i(24,ue=null),i(25,re=!1)})},Zt=()=>{if(!h)return;let s={};h.split(",").forEach(d=>{let c=d.split(":");s[c[0].trim()]=c[1].trim()}),me=we(we({},me),s)},Xt=()=>{pi(n)};e.onMount(()=>()=>{});const Qt=s=>We(s.target.files),$t=()=>te(),ei=s=>Ie(s),ti=s=>Oe(s),ii=s=>Re(s);function ai(){B=e.select_value(this),i(9,B)}const oi=()=>{Ee(),je(),Ne()};function ni(){v=e.select_value(this),i(8,v),i(5,R),i(7,_)}function si(){j=e.to_number(this.value),i(10,j)}function ri(s){e.binding_callbacks[s?"unshift":"push"](()=>{S=s,i(4,S)})}return o.$$set=s=>{"lang"in s&&i(45,n=s.lang),"currency"in s&&i(0,l=s.currency),"limits"in s&&i(46,r=s.limits),"session"in s&&i(47,p=s.session),"userid"in s&&i(48,m=s.userid),"endpoint"in s&&i(49,u=s.endpoint),"apiversion"in s&&i(50,f=s.apiversion),"customcurrencysymbols"in s&&i(51,h=s.customcurrencysymbols),"enablecompliancetext"in s&&i(1,D=s.enablecompliancetext),"deletelimit"in s&&i(2,k=s.deletelimit),"amountsconfig"in s&&i(52,A=s.amountsconfig),"periodsconfig"in s&&i(53,W=s.periodsconfig),"limittabindex"in s&&i(3,F=s.limittabindex),"limitformat"in s&&i(54,C=s.limitformat),"allowedextenssion"in s&&i(55,x=s.allowedextenssion),"filesizeallow"in s&&i(56,V=s.filesizeallow),"clientstyling"in s&&i(57,U=s.clientstyling),"clientstylingurl"in s&&i(58,T=s.clientstylingurl),"mbsource"in s&&i(59,P=s.mbsource),"translationurl"in s&&i(60,E=s.translationurl)},o.$$.update=()=>{o.$$.dirty[1]&1048576&&h&&Zt(),o.$$.dirty[1]&6291456&&W&&A&&ht(),o.$$.dirty[1]&16384&&n&&Xt(),o.$$.dirty[1]&999424&&m&&p&&u&&f&&n&&te(),o.$$.dirty[0]&16|o.$$.dirty[1]&67108864&&U&&S&&e.setClientStyling(S,U),o.$$.dirty[0]&16|o.$$.dirty[1]&134217728&&T&&S&&e.setClientStylingURL(S,T),o.$$.dirty[0]&16|o.$$.dirty[1]&268435456&&P&&S&&e.setStreamStyling(S,`${P}.Style`),o.$$.dirty[1]&536870912&&E&&ft()},[l,D,k,F,S,R,w,_,v,B,j,ie,ne,G,I,M,J,_e,pe,ee,$,ce,fe,ge,ue,re,Le,H,a,b,je,Ee,te,Ue,xt,Ne,Ie,Re,Oe,De,Ve,Pe,Gt,We,Yt,n,r,p,m,u,f,h,A,W,C,x,V,U,T,P,E,Qt,$t,ei,ti,ii,ai,oi,ni,si,ri]}class mt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,qi,Fi,e.safe_not_equal,{lang:45,currency:0,limits:46,session:47,userid:48,endpoint:49,apiversion:50,customcurrencysymbols:51,enablecompliancetext:1,deletelimit:2,amountsconfig:52,periodsconfig:53,limittabindex:3,limitformat:54,allowedextenssion:55,filesizeallow:56,clientstyling:57,clientstylingurl:58,mbsource:59,translationurl:60},mi,[-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[45]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get limits(){return this.$$.ctx[46]}set limits(t){this.$$set({limits:t}),e.flush()}get session(){return this.$$.ctx[47]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[48]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[49]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[50]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[51]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[1]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[2]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get amountsconfig(){return this.$$.ctx[52]}set amountsconfig(t){this.$$set({amountsconfig:t}),e.flush()}get periodsconfig(){return this.$$.ctx[53]}set periodsconfig(t){this.$$set({periodsconfig:t}),e.flush()}get limittabindex(){return this.$$.ctx[3]}set limittabindex(t){this.$$set({limittabindex:t}),e.flush()}get limitformat(){return this.$$.ctx[54]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get allowedextenssion(){return this.$$.ctx[55]}set allowedextenssion(t){this.$$set({allowedextenssion:t}),e.flush()}get filesizeallow(){return this.$$.ctx[56]}set filesizeallow(t){this.$$set({filesizeallow:t}),e.flush()}get clientstyling(){return this.$$.ctx[57]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[58]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[59]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[60]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(mt,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},customcurrencysymbols:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},limittabindex:{},limitformat:{},allowedextenssion:{},filesizeallow:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=mt;
|