@everymatrix/player-account-controller 1.86.2 → 1.86.3

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.
Files changed (164) hide show
  1. package/components/{GeneralLogout-BtP2SNPX.js → GeneralLogout-BOnb2iBt.js} +835 -856
  2. package/components/GeneralLogout-DDP4rL2J.cjs +21 -0
  3. package/components/{GeneralLogout-hWNQ3J3o.js → GeneralLogout-DjIbOrTj.js} +805 -826
  4. package/components/PlayerAccountBettingHistory-B89zDM2m.cjs +1 -0
  5. package/components/PlayerAccountBettingHistory-D0Jedf4O.js +310 -0
  6. package/components/PlayerAccountBettingHistory-DSuwi17X.js +311 -0
  7. package/components/{PlayerAccountBiometrics-BIYcG8cX.js → PlayerAccountBiometrics-QVmfbZzG.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-Dp3Y8HTH.js → PlayerAccountBiometrics-YU3I-IHb.js} +22 -22
  9. package/components/{PlayerAccountBiometrics-S9tvxAFz.cjs → PlayerAccountBiometrics-ynUd1qQ9.cjs} +1 -1
  10. package/components/{PlayerAccountClosure-BbW4iG-i.js → PlayerAccountClosure-Bj4jXSc4.js} +45 -45
  11. package/components/{PlayerAccountClosure-D7pmJiXo.js → PlayerAccountClosure-CMLtteuy.js} +45 -45
  12. package/components/{PlayerAccountClosure-jnEN5Fk4.cjs → PlayerAccountClosure-D45H4qp6.cjs} +1 -1
  13. package/components/{PlayerAccountController-CVnttCYd.js → PlayerAccountController-D3Cks26j.js} +321 -321
  14. package/components/{PlayerAccountController-BrPMvdjL.js → PlayerAccountController-D9L8iTP5.js} +323 -323
  15. package/components/{PlayerAccountController-BKxpSznw.cjs → PlayerAccountController-DAsgXdng.cjs} +1 -1
  16. package/components/{PlayerAccountGamingLimits-BHtPyrhy.js → PlayerAccountGamingLimits-28tjnuGZ.js} +127 -127
  17. package/components/{PlayerAccountGamingLimits-BrXUGipz.js → PlayerAccountGamingLimits-BKWM3ydF.js} +127 -127
  18. package/components/{PlayerAccountGamingLimits-BwYoIU8M.cjs → PlayerAccountGamingLimits-DSnskFV1.cjs} +1 -1
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-B5ITcUEU.js → PlayerAccountGamingLimitsConfirmationModal-278XFqj4.js} +33 -33
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-BpGTQY8Q.js → PlayerAccountGamingLimitsConfirmationModal-BOGS6zWj.js} +33 -33
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-BJUqmOGM.cjs → PlayerAccountGamingLimitsConfirmationModal-Y0WlAWLt.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-DsZYUSCI.js → PlayerAccountGamingLimitsGroupEdit-CCSs2ZZl.js} +227 -225
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-K-lekHTx.js → PlayerAccountGamingLimitsGroupEdit-CTPRr65m.js} +227 -225
  24. package/components/PlayerAccountGamingLimitsGroupEdit-CvTM9Url.cjs +2 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2-BWbMKCJM.js → PlayerAccountGamingLimitsHistory2-B4RJQdmm.js} +37 -37
  26. package/components/{PlayerAccountGamingLimitsHistory2-DbWCQlJP.cjs → PlayerAccountGamingLimitsHistory2-BK4iv-bI.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2-CxA06bC4.js → PlayerAccountGamingLimitsHistory2-BaAKbqeZ.js} +39 -39
  28. package/components/{PlayerAccountGamingLimitsInfoCard-BFzvB3KC.cjs → PlayerAccountGamingLimitsInfoCard-BDk7ivhc.cjs} +1 -1
  29. package/components/{PlayerAccountGamingLimitsInfoCard-WqmdXNpw.js → PlayerAccountGamingLimitsInfoCard-BNWgZuBf.js} +83 -83
  30. package/components/{PlayerAccountGamingLimitsInfoCard-fSpypV1Q.js → PlayerAccountGamingLimitsInfoCard-CkWQ4EZm.js} +83 -83
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-CKqk7okN.js → PlayerAccountGamingLimitsPage2Gm16-BqWqb_Sl.js} +103 -103
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-CN784V5v.cjs → PlayerAccountGamingLimitsPage2Gm16-BtbMBUsn.cjs} +2 -2
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-DbTjbrCg.js → PlayerAccountGamingLimitsPage2Gm16-DgnhVkqB.js} +153 -153
  34. package/components/{PlayerAccountGamingLimitsPopup-1UbtHpM4.js → PlayerAccountGamingLimitsPopup-Dnb4sqOe.js} +26 -26
  35. package/components/{PlayerAccountGamingLimitsPopup-6hO_YTRk.js → PlayerAccountGamingLimitsPopup-QsGFiUFM.js} +26 -26
  36. package/components/{PlayerAccountGamingLimitsPopup-D5nYGWok.cjs → PlayerAccountGamingLimitsPopup-zCNpZt4B.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsWrapper2-H5X72FGo.js → PlayerAccountGamingLimitsWrapper2-BVmH_JL_.js} +37 -37
  38. package/components/{PlayerAccountGamingLimitsWrapper2-DkVrqK1a.cjs → PlayerAccountGamingLimitsWrapper2-Bj2uNFuV.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsWrapper2-DKH_oTPL.js → PlayerAccountGamingLimitsWrapper2-CNeKBKiF.js} +37 -37
  40. package/components/{PlayerAccountGeneralConfirmationModal-Fg_ynnO5.cjs → PlayerAccountGeneralConfirmationModal-BHzKxY1M.cjs} +1 -1
  41. package/components/{PlayerAccountGeneralConfirmationModal-48XuglXa.js → PlayerAccountGeneralConfirmationModal-D8zWkoMs.js} +32 -32
  42. package/components/{PlayerAccountGeneralConfirmationModal-mKvnC-aM.js → PlayerAccountGeneralConfirmationModal-O_Thi6bs.js} +32 -32
  43. package/components/{PlayerAccountMenu-DZYiL86p.js → PlayerAccountMenu-BzSTtrmv.js} +36 -36
  44. package/components/{PlayerAccountMenu-D-3XXdrS.cjs → PlayerAccountMenu-CgsII09V.cjs} +1 -1
  45. package/components/{PlayerAccountMenu-DYFceiv-.js → PlayerAccountMenu-ectFLNth.js} +34 -34
  46. package/components/{PlayerAccountModal-BuDt5h1l.cjs → PlayerAccountModal-CY8gRMWy.cjs} +1 -1
  47. package/components/{PlayerAccountModal-DuBxYfB-.js → PlayerAccountModal-DaOLv-NY.js} +24 -24
  48. package/components/{PlayerAccountModal-vXNHQMMx.js → PlayerAccountModal-SvxOIw-1.js} +24 -24
  49. package/components/{PlayerAccountNotifications-D2sFlbP7.cjs → PlayerAccountNotifications-CIW_UfiN.cjs} +1 -1
  50. package/components/{PlayerAccountNotifications-BaVSuY0V.js → PlayerAccountNotifications-Df1nYl5z.js} +31 -31
  51. package/components/{PlayerAccountNotifications-eimwb2B_.js → PlayerAccountNotifications-lUtQW0cy.js} +30 -30
  52. package/components/{PlayerAccountProductRestriction-i5lUVlsQ.cjs → PlayerAccountProductRestriction-Bk8I1Rqd.cjs} +269 -269
  53. package/components/{PlayerAccountProductRestriction-Cbwqgb-P.js → PlayerAccountProductRestriction-DgJUoyYB.js} +1736 -1736
  54. package/components/{PlayerAccountProductRestriction-HYm0eIXb.js → PlayerAccountProductRestriction-EHl8M1GB.js} +1721 -1721
  55. package/components/{PlayerAccountReviewFrequency-B55vgMkU.js → PlayerAccountReviewFrequency-BBLUZ6ex.js} +27 -27
  56. package/components/{PlayerAccountReviewFrequency-oyuyzboO.cjs → PlayerAccountReviewFrequency-CBjQjnfc.cjs} +1 -1
  57. package/components/{PlayerAccountReviewFrequency-D39G6M8w.js → PlayerAccountReviewFrequency-P7uk_Ztp.js} +27 -27
  58. package/components/{PlayerAccountSelfExclusion-Btcxzmyl.js → PlayerAccountSelfExclusion-DfsaDGPw.js} +114 -113
  59. package/components/{PlayerAccountSelfExclusion-CCMP12tO.cjs → PlayerAccountSelfExclusion-DztxNwlD.cjs} +86 -86
  60. package/components/{PlayerAccountSelfExclusion-CY5wEDf5.js → PlayerAccountSelfExclusion-ovuuzWXL.js} +564 -563
  61. package/components/{PlayerAccountTimeout-Cl5M8UZM.js → PlayerAccountTimeout-B5IP0PdK.js} +59 -59
  62. package/components/{PlayerAccountTimeout-CBYSh_gx.cjs → PlayerAccountTimeout-BRXoWqhe.cjs} +1 -1
  63. package/components/{PlayerAccountTimeout-CnmuzL1o.js → PlayerAccountTimeout-DzQi6yWM.js} +59 -59
  64. package/components/{PlayerAccountTransactionsHistory-B89UQBgK.js → PlayerAccountTransactionsHistory-B3fkTCCB.js} +74 -74
  65. package/components/{PlayerAccountTransactionsHistory-DborEyiw.cjs → PlayerAccountTransactionsHistory-DyJM2Ruh.cjs} +1 -1
  66. package/components/{PlayerAccountTransactionsHistory-CuLSo_WG.js → PlayerAccountTransactionsHistory-dE8niHZ5.js} +74 -74
  67. package/components/{PlayerActiveBonuses-Rb7CqkQm.js → PlayerActiveBonuses-BRHjOIvu.js} +59 -59
  68. package/components/{PlayerActiveBonuses-Cv7645BT.js → PlayerActiveBonuses-CbX5Pr0C.js} +55 -55
  69. package/components/{PlayerActiveBonuses-rgpIrlXZ.cjs → PlayerActiveBonuses-DUjeakxU.cjs} +1 -1
  70. package/components/{PlayerBonusCard-D3S1mqXd.js → PlayerBonusCard-BjQyqGUx.js} +64 -64
  71. package/components/{PlayerBonusCard-DDnmH7Q3.cjs → PlayerBonusCard-L76jqlzO.cjs} +1 -1
  72. package/components/{PlayerBonusCard-Byfk3zTj.js → PlayerBonusCard-VRSzYcHq.js} +64 -64
  73. package/components/{PlayerBonusHistory-CjQW7Bz0.js → PlayerBonusHistory-C36LLD9L.js} +35 -35
  74. package/components/{PlayerBonusHistory-KRE5nRLu.cjs → PlayerBonusHistory-CaZuwvZh.cjs} +1 -1
  75. package/components/{PlayerBonusHistory-BKquFnB_.js → PlayerBonusHistory-zDuqv2Xe.js} +35 -35
  76. package/components/{PlayerChangePassword-Dse_H2fj.cjs → PlayerChangePassword-AMc1FhMX.cjs} +1 -1
  77. package/components/{PlayerChangePassword-CrimbboS.js → PlayerChangePassword-Df1yWLGd.js} +64 -64
  78. package/components/{PlayerChangePassword-DjvBDg3y.js → PlayerChangePassword-DvLZa59W.js} +64 -64
  79. package/components/{PlayerDeposit-BBN4CKJK.js → PlayerDeposit-BfA8FXpl.js} +80 -80
  80. package/components/{PlayerDeposit-BZ6g3CTd.js → PlayerDeposit-CaljSGlo.js} +80 -80
  81. package/components/PlayerDeposit-CiYmhvoJ.cjs +1 -0
  82. package/components/{PlayerGamingHistory-00NQrAip.js → PlayerGamingHistory-CAFJZ3_B.js} +61 -61
  83. package/components/{PlayerGamingHistory-S-SzMIdL.cjs → PlayerGamingHistory-CwViv4Q1.cjs} +1 -1
  84. package/components/{PlayerGamingHistory-DzArsva8.js → PlayerGamingHistory-DY_zyXD6.js} +69 -69
  85. package/components/{PlayerPendingWithdrawals-BFjzJT3E.js → PlayerPendingWithdrawals-B1VPUcDU.js} +26 -26
  86. package/components/{PlayerPendingWithdrawals-DjrsUKIF.cjs → PlayerPendingWithdrawals-Clnbqpbc.cjs} +1 -1
  87. package/components/{PlayerPendingWithdrawals-D97Q7Wwu.js → PlayerPendingWithdrawals-Cm0fwSwi.js} +26 -26
  88. package/components/{PlayerProfileInfo-glh0-LDE.cjs → PlayerProfileInfo-C679iFSl.cjs} +1 -1
  89. package/components/{PlayerProfileInfo-jmdB-wXa.js → PlayerProfileInfo-DPdHOj2U.js} +64 -64
  90. package/components/{PlayerProfileInfo-i9uFoUBd.js → PlayerProfileInfo-MihJad1H.js} +64 -64
  91. package/components/{PlayerRealityCheck-CYmf-RVV.cjs → PlayerRealityCheck-C4mPQixI.cjs} +1 -1
  92. package/components/{PlayerRealityCheck-C9r4TGt5.js → PlayerRealityCheck-CFudx21y.js} +45 -45
  93. package/components/{PlayerRealityCheck-pY-GH7Tx.js → PlayerRealityCheck-DTYvcrjT.js} +44 -44
  94. package/components/{PlayerTransactionHistory-DlY_0H_I.cjs → PlayerTransactionHistory-DPxtzy-C.cjs} +1 -1
  95. package/components/{PlayerTransactionHistory-CAA600Et.js → PlayerTransactionHistory-DiLrJt2G.js} +19 -19
  96. package/components/{PlayerTransactionHistory-DY9X6YZW.js → PlayerTransactionHistory-rDPZht6D.js} +19 -19
  97. package/components/{PlayerWithdrawal-BIFTys53.js → PlayerWithdrawal--Aa-nhcx.js} +19 -19
  98. package/components/{PlayerWithdrawal-Dt-iI81t.cjs → PlayerWithdrawal-CBCp9PZ6.cjs} +1 -1
  99. package/components/{PlayerWithdrawal-BcnzA5BS.js → PlayerWithdrawal-CXT9imAf.js} +19 -19
  100. package/es2015/player-account-controller.cjs +1 -1
  101. package/es2015/player-account-controller.js +1 -1
  102. package/esnext/player-account-controller.js +1 -1
  103. package/package.json +1 -1
  104. package/stencil/{checkbox-group-input_16-BC4v8R1S.js → checkbox-group-input_16-BFzhy5Ds.js} +2730 -2726
  105. package/stencil/{checkbox-group-input_16-JIjNKsjV.cjs → checkbox-group-input_16-D97ZQUQc.cjs} +241 -241
  106. package/stencil/{checkbox-group-input_16-RYO1eLMo.js → checkbox-group-input_16-DWlrP0bl.js} +2731 -2727
  107. package/stencil/index-1ef3a64c-7FrzWBo0.js +572 -0
  108. package/stencil/index-1ef3a64c-CiqxxPPf.js +556 -0
  109. package/stencil/index-1ef3a64c-DYVBCVnw.cjs +1 -0
  110. package/stencil/{index-6e523641-BB_MNuoS.js → index-6e523641-B3-KBTxo.js} +215 -215
  111. package/stencil/index-6e523641-BidoKGkF.js +654 -0
  112. package/stencil/index-6e523641-YrOpGARh.cjs +1 -0
  113. package/stencil/{index-9c0f6c58-DjED2nNw.js → index-9c0f6c58-CeqaT62D.js} +197 -197
  114. package/stencil/index-9c0f6c58-DU0KIZIN.cjs +1 -0
  115. package/stencil/index-9c0f6c58-qzbktWKM.js +576 -0
  116. package/stencil/index-b2193545-BDXOeFnW.js +519 -0
  117. package/stencil/index-b2193545-Cspmk58C.js +503 -0
  118. package/stencil/index-b2193545-Dd6Y7OR7.cjs +1 -0
  119. package/stencil/index-c666b6e6-Al15kG4D.js +611 -0
  120. package/stencil/index-c666b6e6-B6H6r-L0.cjs +1 -0
  121. package/stencil/index-c666b6e6-DaWXT_VY.js +595 -0
  122. package/stencil/{pam-change-password-6b535bd5-CeXNndIG.cjs → pam-change-password-6b535bd5-BiGQ8KVX.cjs} +1 -1
  123. package/stencil/{pam-change-password-6b535bd5-CRmngfXe.js → pam-change-password-6b535bd5-CwKI0Z0X.js} +1 -1
  124. package/stencil/{pam-change-password-6b535bd5-BQRVBjrK.js → pam-change-password-6b535bd5-IDEQf7lQ.js} +1 -1
  125. package/stencil/{pam-change-password-D00SLeAW.js → pam-change-password-ZcgLi1FB.js} +1 -1
  126. package/stencil/{pam-change-password-DYLwctX0.cjs → pam-change-password-okTOstph.cjs} +1 -1
  127. package/stencil/{pam-change-password-DjJxocc2.js → pam-change-password-uAFIJHlm.js} +1 -1
  128. package/stencil/{player-kyc-verification-BUKoBt3P.js → player-kyc-verification-B92GKGxG.js} +1 -1
  129. package/stencil/{player-kyc-verification-vQ6gNPBe.js → player-kyc-verification-BgWMJYb9.js} +1 -1
  130. package/stencil/{player-kyc-verification-Cg0fVyvL.cjs → player-kyc-verification-CswmhI0w.cjs} +1 -1
  131. package/stencil/{ui-skeleton-C2ZVNvDq.cjs → ui-skeleton-8FQE3dtj.cjs} +1 -1
  132. package/stencil/{ui-skeleton-BQnxp85t.js → ui-skeleton-D72p-Fr7.js} +2 -2
  133. package/stencil/{ui-skeleton-CTFP1U_H.js → ui-skeleton-Xqkce5rC.js} +2 -2
  134. package/stencil/{ui-skeleton-ed169f8f-BXqYzfTU.js → ui-skeleton-ed169f8f-BseCcEeK.js} +1 -1
  135. package/stencil/{ui-skeleton-ed169f8f-OyzwWyyv.js → ui-skeleton-ed169f8f-DOY6gII1.js} +1 -1
  136. package/stencil/{ui-skeleton-ed169f8f-DCJKKb_M.cjs → ui-skeleton-ed169f8f-Dby1l0Am.cjs} +1 -1
  137. package/stencil/{user-deposit-withdrawal-DmXcotOq.js → user-deposit-withdrawal-Bl8GtEeG.js} +135 -135
  138. package/stencil/{user-deposit-withdrawal-DfWpITDc.cjs → user-deposit-withdrawal-DSds1LFu.cjs} +2 -2
  139. package/stencil/{user-deposit-withdrawal-C5lc1C0l.js → user-deposit-withdrawal-DcXo00rH.js} +147 -147
  140. package/stencil/{user-transaction-history-BOayQu-b.cjs → user-transaction-history-BOyTKs-L.cjs} +1 -1
  141. package/stencil/{user-transaction-history-Bd1eC2iV.js → user-transaction-history-DQGnZaCf.js} +1 -1
  142. package/stencil/{user-transaction-history-BkmoDFTs.js → user-transaction-history-DsrE-ay4.js} +1 -1
  143. package/stencil/{user-transaction-history_2-CI6uuSIf.cjs → user-transaction-history_2-2E4LODiP.cjs} +279 -279
  144. package/stencil/{user-transaction-history_2-BSVh_kdE.js → user-transaction-history_2-Bd2twNve.js} +4071 -4067
  145. package/stencil/{user-transaction-history_2-PSCBkBVb.js → user-transaction-history_2-DSqMAOln.js} +4057 -4053
  146. package/components/GeneralLogout-CK8tLROK.cjs +0 -21
  147. package/components/PlayerAccountBettingHistory-CSaFsnwC.cjs +0 -1
  148. package/components/PlayerAccountBettingHistory-D3xhBTAE.js +0 -311
  149. package/components/PlayerAccountBettingHistory-RBEtFHjB.js +0 -310
  150. package/components/PlayerAccountGamingLimitsGroupEdit-CmipcCdJ.cjs +0 -2
  151. package/components/PlayerDeposit-rfdArTZi.cjs +0 -1
  152. package/stencil/index-1ef3a64c-BzR_jMKw.cjs +0 -1
  153. package/stencil/index-1ef3a64c-CEngIsyB.js +0 -556
  154. package/stencil/index-1ef3a64c-D5p-wZAC.js +0 -572
  155. package/stencil/index-6e523641-C2D7V1Bj.js +0 -654
  156. package/stencil/index-6e523641-CKmTS6uC.cjs +0 -1
  157. package/stencil/index-9c0f6c58-DEQL19Io.js +0 -576
  158. package/stencil/index-9c0f6c58-XIZolvs1.cjs +0 -1
  159. package/stencil/index-b2193545-0zWC7J3V.js +0 -519
  160. package/stencil/index-b2193545-BDUg7na_.js +0 -503
  161. package/stencil/index-b2193545-C-iFa_cO.cjs +0 -1
  162. package/stencil/index-c666b6e6-Byhd6hcm.js +0 -595
  163. package/stencil/index-c666b6e6-CF6tkxHf.cjs +0 -1
  164. package/stencil/index-c666b6e6-Do6y6LKI.js +0 -611
@@ -1 +1 @@
1
- "use strict";var oe=Object.defineProperty;var F=Object.getOwnPropertySymbols;var ne=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var N=(i,t,s)=>t in i?oe(i,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[t]=s,z=(i,t)=>{for(var s in t||(t={}))ne.call(t,s)&&N(i,s,t[s]);if(F)for(var s of F(t))le.call(t,s)&&N(i,s,t[s]);return i};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CK8tLROK.cjs");function U(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const M={en:{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},de:{expandLimits:"LIMIT-VERLAUF",daily:"pro Tag",weekly:"pro Woche",monthly:"pro Monat",loss:"Verlustlimit",deposit:"Einzahlungslimit",wagering:"Einsatzlimit",max:"Einsatzlimit",loading:"Lädt ...",error:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",limitRemoved:"Limit entfernt",historyProductTypeSports:"Sport",historyProductTypeAll:"Alle",historyProductTypeCasino:"Slots",historyLimitTypeDeposit:"Einzahlungslimit",historyLimitTypeWagering:"Einsatzlimit",historyLimitTypeLoss:"Verlustlimit"},hr:{expandLimits:"POVIJEST OGRANIČENJA",daily:"dnevno",weekly:"tjedno",monthly:"mjesečno",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wagering:"Ograničenje igranja",max:"Ograničenje uloga",loading:"Učitavanje povijesti ograničenja...",error:"Nešto je pošlo po zlu. Molimo vas pokušajte ponovno.",limitRemoved:"Ograničenje uklonjeno",historyProductTypeSports:"Sportovi",historyProductTypeAll:"Sve",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Ograničenje uplate",historyLimitTypeWagering:"Ograničenje igranja",historyLimitTypeLoss:"Ograničenje gubitka",wageringSports:"Ograničenje uloga"},sl:{expandLimits:"LIMIT ZGODOVINA",daily:"na dan",weekly:"na teden",monthly:"na mesec",loss:"Limit izgube",deposit:"Limit vplačila",wagering:"Limit na vložek",max:"Limit vložkov",loading:"Nalaga...",error:"Nekaj ​​je šlo narobe. Prosim poskusite ponovno.",limitRemoved:"Limit odstranjen",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},pl:{expandLimits:"HISTORIA LIMITU",daily:"na dzień",weekly:"na tydzień",monthly:"na miesiąc",loss:"Limit Strat",deposit:"Limit depozytów",wagering:"Limit Stawek",max:"Limit stawek",loading:"Ładowanie...",error:"Coś poszło nie tak. Proszę spróbuj ponownie.",limitRemoved:"Usunięty limit",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"zh-hk":{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},fr:{expandLimits:"LIMITER L'HISTORIQUE",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},ro:{expandLimits:"ISTORIC LIMITE",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Limita depunere",historyLimitTypeWagering:"Limita pariere",historyLimitTypeLoss:"Limita pierdere"},es:{expandLimits:"HISTORIAL DE LÍMITES",daily:"por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdida",deposit:"Límite de depósito",wagering:"Límite de apuestas",max:"Límite de apuesta",loading:"Cargando historial de límites…",error:"Algo salió mal. Por favor inténtalo de nuevo.",limitRemoved:"Límite eliminado",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"pt-br":{expandLimits:"HISTÓRICO DE LIMITE",daily:"Por dia",weekly:"por semana",monthly:"por mês",loss:"Limite de perda",deposit:"Limite de depósito",wagering:"Limite de Quantidade de Apostas",max:"Limite de apostas",wageringSports:"Limite de Quantidade de Apostas Esportivas",Loading:"Carregando histórico de limite...",error:"Algo deu errado. Por favor, tente novamente",limitRemoved:"Limite removido",historyProductTypeSports:"Esportes",historyProductTypeAll:"Todos",historyProductTypeCasino:"casino",historyLimitTypeDeposit:"Limite de depósito",historyLimitTypeWagering:"Limite de valor da aposta",historyLimitTypeLoss:"Limite de perda"},"es-mx":{expandLimits:"HISTORIAL DE LÍMITES",daily:"Por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdidas",deposit:"Límite de depósito",wagering:"Límite de monto de apuestas",max:"Límite de apuestas",wageringSports:"Límite de monto de apuestas deportivas",Loading:"Cargando historial de límites...",error:"Algo salió mal. Por favor intente de nuevo",limitRemoved:"Límite removido",historyProductTypeSports:"Deportes",historyProductTypeAll:"Todo",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Límite de depósito",historyLimitTypeWagering:"Límite de monto de apuesta",historyLimitTypeLoss:"Límite de pérdida"},tr:{expandLimits:"SINIR GEÇMİŞİ",daily:"günlük",weekly:"haftada",monthly:"her ay",loss:"Kayıp Limiti",deposit:"Para Yatırma Limiti",wagering:"Bahis Limiti",max:"Bahis limiti",wageringSports:"Bahis Limiti",loading:"Limit geçmişi yükleniyor...",error:"Bir şeyler yanlış gitti. Lütfen tekrar deneyin.",limitRemoved:"Sınır kaldırıldı",historyProductTypeSports:"Spor Dalları",historyProductTypeAll:"Tüm",historyProductTypeCasino:"Kumarhane",historyLimitTypeDeposit:"Para Yatırma Limiti",historyLimitTypeWagering:"Bahis Limiti",historyLimitTypeLoss:"Kayıp Limiti"},"en-us":{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"}};function me(i){e.append_styles(i,"svelte-19ml84y",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}')}function B(i,t,s){const o=i.slice();return o[37]=t[s],o[38]=t,o[39]=s,o}function ye(i){let t,s,o,n=i[9]("expandLimits")+"",a,m,l,f,h,d,p,u,L,w=e.ensure_array_like(i[7]),v=[];for(let g=0;g<w.length;g+=1)v[g]=G(B(i,w,g));return{c(){t=e.element("div"),s=e.element("div"),o=e.element("button"),a=e.text(n),m=e.space(),l=e.svg_element("svg"),f=e.svg_element("path"),h=e.svg_element("path"),d=e.space(),p=e.element("div");for(let g=0;g<v.length;g+=1)v[g].c();e.attr(f,"d","M10.5 15l7.5 7.5 7.5-7.5z"),e.attr(f,"class","svelte-19ml84y"),e.attr(h,"d","M0 0h36v36h-36z"),e.attr(h,"fill","none"),e.attr(h,"class","svelte-19ml84y"),e.attr(l,"class","ExpandArrow svelte-19ml84y"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","36"),e.attr(l,"height","36"),e.attr(l,"viewBox","0 0 36 36"),e.attr(l,"fill","#999"),e.toggle_class(l,"extended",i[8]),e.attr(o,"class","ExpandButton svelte-19ml84y"),e.attr(p,"class","HistoryDisplayArea svelte-19ml84y"),e.toggle_class(p,"hidden",i[5]),e.attr(s,"class","HistoryWrapper "+(i[10]?"Desktop":"")+" svelte-19ml84y"),e.attr(t,"class","player-account-gaming-limits-history-2 svelte-19ml84y")},m(g,S){e.insert(g,t,S),e.append(t,s),e.append(s,o),e.append(o,a),e.append(o,m),e.append(o,l),e.append(l,f),e.append(l,h),e.append(s,d),e.append(s,p);for(let y=0;y<v.length;y+=1)v[y]&&v[y].m(p,null);u||(L=e.listen(o,"click",i[11]),u=!0)},p(g,S){if(S[0]&512&&n!==(n=g[9]("expandLimits")+"")&&e.set_data(a,n),S[0]&256&&e.toggle_class(l,"extended",g[8]),S[0]&650){w=e.ensure_array_like(g[7]);let y;for(y=0;y<w.length;y+=1){const b=B(g,w,y);v[y]?v[y].p(b,S):(v[y]=G(b),v[y].c(),v[y].m(p,null))}for(;y<v.length;y+=1)v[y].d(1);v.length=w.length}S[0]&32&&e.toggle_class(p,"hidden",g[5])},d(g){g&&e.detach(t),e.destroy_each(v,g),u=!1,L()}}}function de(i){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function pe(i){let t,s=(i[0]?i[9]("error"):"500 Server Error")+"",o;return{c(){t=e.element("p"),o=e.text(s),e.attr(t,"class","svelte-19ml84y")},m(n,a){e.insert(n,t,a),e.append(t,o)},p(n,a){a[0]&513&&s!==(s=(n[0]?n[9]("error"):"500 Server Error")+"")&&e.set_data(o,s)},d(n){n&&e.detach(t)}}}function ue(i){let t,s,o,n=i[37].type+"",a,m,l=i[37].amount+"",f,h,d=i[37].date+"",p;return{c(){t=e.element("div"),s=e.element("span"),o=e.element("span"),a=e.text(n),m=e.element("span"),f=e.text(l),h=e.element("span"),p=e.text(d),e.attr(o,"class","LimitType svelte-19ml84y"),e.attr(m,"class","LimitAmountPeriod svelte-19ml84y"),e.attr(s,"class","GeneralLimitInformation svelte-19ml84y"),e.attr(h,"class","DateLimitInformation svelte-19ml84y"),e.attr(t,"class","HistoryRow svelte-19ml84y")},m(u,L){e.insert(u,t,L),e.append(t,s),e.append(s,o),e.append(o,a),e.append(s,m),e.append(m,f),e.append(t,h),e.append(h,p)},p(u,L){L[0]&128&&n!==(n=u[37].type+"")&&e.set_data(a,n),L[0]&128&&l!==(l=u[37].amount+"")&&e.set_data(f,l),L[0]&128&&d!==(d=u[37].date+"")&&e.set_data(p,d)},d(u){u&&e.detach(t)}}}function ce(i){let t,s,o,n=i[37].type+"",a,m,l=i[9]("limitRemoved")+"",f,h,d=i[37].date+"",p;return{c(){t=e.element("div"),s=e.element("span"),o=e.element("span"),a=e.text(n),m=e.element("span"),f=e.text(l),h=e.element("span"),p=e.text(d),e.attr(o,"class","LimitType svelte-19ml84y"),e.attr(m,"class","LimitAmountPeriod svelte-19ml84y"),e.attr(s,"class","GeneralLimitInformation svelte-19ml84y"),e.attr(h,"class","DateLimitInformation svelte-19ml84y"),e.attr(t,"class","HistoryRow svelte-19ml84y")},m(u,L){e.insert(u,t,L),e.append(t,s),e.append(s,o),e.append(o,a),e.append(s,m),e.append(m,f),e.append(t,h),e.append(h,p)},p(u,L){L[0]&128&&n!==(n=u[37].type+"")&&e.set_data(a,n),L[0]&512&&l!==(l=u[9]("limitRemoved")+"")&&e.set_data(f,l),L[0]&128&&d!==(d=u[37].date+"")&&e.set_data(p,d)},d(u){u&&e.detach(t)}}}function G(i){let t,s,o,n=i[39];function a(d,p){return d[37].removed?ce:ue}let m=a(i),l=m(i);const f=()=>i[22](t,n),h=()=>i[22](null,n);return{c(){t=e.element("div"),l.c(),s=e.space(),e.attr(t,"class",o=e.null_to_empty(i[39]>+i[1]?"LimitContainer":"")+" svelte-19ml84y")},m(d,p){e.insert(d,t,p),l.m(t,null),e.append(t,s),f()},p(d,p){i=d,m===(m=a(i))&&l?l.p(i,p):(l.d(1),l=m(i),l&&(l.c(),l.m(t,s))),p[0]&2&&o!==(o=e.null_to_empty(i[39]>+i[1]?"LimitContainer":"")+" svelte-19ml84y")&&e.attr(t,"class",o),n!==i[39]&&(h(),n=i[39],f())},d(d){d&&e.detach(t),l.d(),h()}}}function ge(i){let t;function s(a,m){return a[6]?pe:a[4]?de:ye}let o=s(i),n=o(i);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","svelte-19ml84y")},m(a,m){e.insert(a,t,m),n.m(t,null),i[23](t)},p(a,m){o===(o=s(a))&&n?n.p(a,m):(n.d(1),n=o(a),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),n.d(),i[23](null)}}}function he(i,t,s){let o;e.component_subscribe(i,e.$format,r=>s(9,o=r));let n=window.navigator.userAgent,a=!e.isMobile(n),{lang:m=""}=t,{userid:l=""}=t,{session:f=""}=t,{endpoint:h=""}=t,{apiversion:d=""}=t,{numberofentries:p="10"}=t,{customcurrencysymbols:u=""}=t,{limitformat:L=""}=t,{clientstyling:w=""}=t,{clientstylingurl:v=""}=t,{mbsource:g}=t,{translationurl:S=""}=t,y,b=new Array,D=parseInt(p,10),R=!1,k=!0,I=[],C=[],E=!0,O=!1,A={EUR:"€",RON:"lei",TRY:"₺"};const Y=()=>{fetch(S).then(c=>c.json()).then(c=>{Object.keys(c).forEach(_=>{U(_,c[_])})}).catch(c=>{console.log(c)})};Object.keys(M).forEach(r=>{U(r,M[r])});const K=()=>{let r=d==="gmcore"?`/v2/player/${l}/transactions/limit`:`/v1/player/${l}/limits/monetary/history`,c=new URL(r,h);c.searchParams.append("startDate",`${new Date("2022").toISOString()}`),c.searchParams.append("endDate",`${new Date("2099").toISOString()}`),c.searchParams.append("limit","10000");let _={method:"GET",headers:{"X-SessionID":f}};fetch(c.href,_).then(T=>{if(T.status>=300)throw s(4,k=!1),s(6,R=!0),new Error("There was an error fetching the limits");return T.json()}).then(T=>{T.length&&(I=Q(T),s(7,C=I.slice(0,D))),s(4,k=!1)},T=>{console.error("There was an error",T),s(6,R=!0)})},Q=r=>{const c=!!M[m];return r.map(T=>{let P={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return P.amount=X(T),P.currency=c?A[T.limitCurrencyCode]:T.limitCurrencyCode,P.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(T.limitDate)),P.period=o(`${T.limitPeriod.toLowerCase()}`),P.type=d==="gmcore"?o(`historyLimitType${T.limitType.split(" ")[0]}`):o(`historyLimitType${T.limitType.split(" ")[0]}`)+" "+o(`historyProductType${T.limitProductType}`),P.removed=T.limitAmount===-1,P})},X=r=>{let c=L||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.limitAmount);if(!L){let re=A[r.limitCurrencyCode]||r.limitCurrencyCode;return`${c}${re}`}typeof r.limitAmount=="string"&&r.limitAmount.includes(",")&&(r.limitAmount=r.limitAmount.replaceAll(",",""));const _=c.match(/\{(\d+)decimals\}/),T=_?parseInt(_[1],10):2,P=_?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let x=parseFloat(r.limitAmount).toFixed(T);const[ie,j]=L.includes(".")?[",","."]:[".",","];let[W,se]=x.split(".");return W=W.replace(/\B(?=(\d{3})+(?!\d))/g,ie),x=`${W}${j}${se}`,c=c.replace("{currency}",A[r.limitCurrencyCode]||r.limitCurrencyCode).replace("{amount}",x.split(j)[0]).replace(P,x.split(j)[1]),c},q=()=>{s(5,E=!E),s(8,O=!O)};let H=new IntersectionObserver(r=>{r.forEach(c=>{c.isIntersecting&&(D+=parseInt(p,10)||10,C.length<I.length&&s(7,C=I.slice(0,D)))})});const J=()=>{H.observe(b[b.length-1])},Z=()=>{if(!u)return;let r={};u.split(",").forEach(c=>{let _=c.split(":");r[_[0].trim()]=_[1].trim()}),A=z(z({},A),r)},$=()=>{ae(m)};e.onMount(()=>()=>{H.unobserve(b[b.length-1])});function ee(r,c){e.binding_callbacks[r?"unshift":"push"](()=>{b[c]=r,s(3,b)})}function te(r){e.binding_callbacks[r?"unshift":"push"](()=>{y=r,s(2,y)})}return i.$$set=r=>{"lang"in r&&s(0,m=r.lang),"userid"in r&&s(12,l=r.userid),"session"in r&&s(13,f=r.session),"endpoint"in r&&s(14,h=r.endpoint),"apiversion"in r&&s(15,d=r.apiversion),"numberofentries"in r&&s(1,p=r.numberofentries),"customcurrencysymbols"in r&&s(16,u=r.customcurrencysymbols),"limitformat"in r&&s(17,L=r.limitformat),"clientstyling"in r&&s(18,w=r.clientstyling),"clientstylingurl"in r&&s(19,v=r.clientstylingurl),"mbsource"in r&&s(20,g=r.mbsource),"translationurl"in r&&s(21,S=r.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&65536&&u&&Z(),i.$$.dirty[0]&61440&&h&&l&&f&&d&&K(),i.$$.dirty[0]&56&&b[0]&&!k&&!E&&J(),i.$$.dirty[0]&1&&m&&$(),i.$$.dirty[0]&262148&&w&&y&&e.setClientStyling(y,w),i.$$.dirty[0]&524292&&v&&y&&e.setClientStylingURL(y,v),i.$$.dirty[0]&1048580&&g&&y&&e.setStreamStyling(y,`${g}.Style`),i.$$.dirty[0]&2097156&&S&&y&&Y()},[m,p,y,b,k,E,R,C,O,o,a,q,l,f,h,d,u,L,w,v,g,S,ee,te]}class V extends e.SvelteComponent{constructor(t){super(),e.init(this,t,he,ge,e.safe_not_equal,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,customcurrencysymbols:16,limitformat:17,clientstyling:18,clientstylingurl:19,mbsource:20,translationurl:21},me,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[12]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[13]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[15]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[16]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[17]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[20]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(V,{lang:{},userid:{},session:{},endpoint:{},apiversion:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=V;
1
+ "use strict";var oe=Object.defineProperty;var F=Object.getOwnPropertySymbols;var ne=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var N=(i,t,s)=>t in i?oe(i,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[t]=s,z=(i,t)=>{for(var s in t||(t={}))ne.call(t,s)&&N(i,s,t[s]);if(F)for(var s of F(t))le.call(t,s)&&N(i,s,t[s]);return i};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-DDP4rL2J.cjs");function U(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const M={en:{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},de:{expandLimits:"LIMIT-VERLAUF",daily:"pro Tag",weekly:"pro Woche",monthly:"pro Monat",loss:"Verlustlimit",deposit:"Einzahlungslimit",wagering:"Einsatzlimit",max:"Einsatzlimit",loading:"Lädt ...",error:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",limitRemoved:"Limit entfernt",historyProductTypeSports:"Sport",historyProductTypeAll:"Alle",historyProductTypeCasino:"Slots",historyLimitTypeDeposit:"Einzahlungslimit",historyLimitTypeWagering:"Einsatzlimit",historyLimitTypeLoss:"Verlustlimit"},hr:{expandLimits:"POVIJEST OGRANIČENJA",daily:"dnevno",weekly:"tjedno",monthly:"mjesečno",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wagering:"Ograničenje igranja",max:"Ograničenje uloga",loading:"Učitavanje povijesti ograničenja...",error:"Nešto je pošlo po zlu. Molimo vas pokušajte ponovno.",limitRemoved:"Ograničenje uklonjeno",historyProductTypeSports:"Sportovi",historyProductTypeAll:"Sve",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Ograničenje uplate",historyLimitTypeWagering:"Ograničenje igranja",historyLimitTypeLoss:"Ograničenje gubitka",wageringSports:"Ograničenje uloga"},sl:{expandLimits:"LIMIT ZGODOVINA",daily:"na dan",weekly:"na teden",monthly:"na mesec",loss:"Limit izgube",deposit:"Limit vplačila",wagering:"Limit na vložek",max:"Limit vložkov",loading:"Nalaga...",error:"Nekaj ​​je šlo narobe. Prosim poskusite ponovno.",limitRemoved:"Limit odstranjen",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},pl:{expandLimits:"HISTORIA LIMITU",daily:"na dzień",weekly:"na tydzień",monthly:"na miesiąc",loss:"Limit Strat",deposit:"Limit depozytów",wagering:"Limit Stawek",max:"Limit stawek",loading:"Ładowanie...",error:"Coś poszło nie tak. Proszę spróbuj ponownie.",limitRemoved:"Usunięty limit",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"zh-hk":{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},fr:{expandLimits:"LIMITER L'HISTORIQUE",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},ro:{expandLimits:"ISTORIC LIMITE",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Limita depunere",historyLimitTypeWagering:"Limita pariere",historyLimitTypeLoss:"Limita pierdere"},es:{expandLimits:"HISTORIAL DE LÍMITES",daily:"por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdida",deposit:"Límite de depósito",wagering:"Límite de apuestas",max:"Límite de apuesta",loading:"Cargando historial de límites…",error:"Algo salió mal. Por favor inténtalo de nuevo.",limitRemoved:"Límite eliminado",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"pt-br":{expandLimits:"HISTÓRICO DE LIMITE",daily:"Por dia",weekly:"por semana",monthly:"por mês",loss:"Limite de perda",deposit:"Limite de depósito",wagering:"Limite de Quantidade de Apostas",max:"Limite de apostas",wageringSports:"Limite de Quantidade de Apostas Esportivas",Loading:"Carregando histórico de limite...",error:"Algo deu errado. Por favor, tente novamente",limitRemoved:"Limite removido",historyProductTypeSports:"Esportes",historyProductTypeAll:"Todos",historyProductTypeCasino:"casino",historyLimitTypeDeposit:"Limite de depósito",historyLimitTypeWagering:"Limite de valor da aposta",historyLimitTypeLoss:"Limite de perda"},"es-mx":{expandLimits:"HISTORIAL DE LÍMITES",daily:"Por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdidas",deposit:"Límite de depósito",wagering:"Límite de monto de apuestas",max:"Límite de apuestas",wageringSports:"Límite de monto de apuestas deportivas",Loading:"Cargando historial de límites...",error:"Algo salió mal. Por favor intente de nuevo",limitRemoved:"Límite removido",historyProductTypeSports:"Deportes",historyProductTypeAll:"Todo",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Límite de depósito",historyLimitTypeWagering:"Límite de monto de apuesta",historyLimitTypeLoss:"Límite de pérdida"},tr:{expandLimits:"SINIR GEÇMİŞİ",daily:"günlük",weekly:"haftada",monthly:"her ay",loss:"Kayıp Limiti",deposit:"Para Yatırma Limiti",wagering:"Bahis Limiti",max:"Bahis limiti",wageringSports:"Bahis Limiti",loading:"Limit geçmişi yükleniyor...",error:"Bir şeyler yanlış gitti. Lütfen tekrar deneyin.",limitRemoved:"Sınır kaldırıldı",historyProductTypeSports:"Spor Dalları",historyProductTypeAll:"Tüm",historyProductTypeCasino:"Kumarhane",historyLimitTypeDeposit:"Para Yatırma Limiti",historyLimitTypeWagering:"Bahis Limiti",historyLimitTypeLoss:"Kayıp Limiti"},"en-us":{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"}};function me(i){e.append_styles(i,"svelte-19ml84y",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}')}function B(i,t,s){const o=i.slice();return o[37]=t[s],o[38]=t,o[39]=s,o}function ye(i){let t,s,o,n=i[9]("expandLimits")+"",a,m,l,f,h,d,p,u,L,w=e.ensure_array_like(i[7]),v=[];for(let g=0;g<w.length;g+=1)v[g]=G(B(i,w,g));return{c(){t=e.element("div"),s=e.element("div"),o=e.element("button"),a=e.text(n),m=e.space(),l=e.svg_element("svg"),f=e.svg_element("path"),h=e.svg_element("path"),d=e.space(),p=e.element("div");for(let g=0;g<v.length;g+=1)v[g].c();e.attr(f,"d","M10.5 15l7.5 7.5 7.5-7.5z"),e.attr(f,"class","svelte-19ml84y"),e.attr(h,"d","M0 0h36v36h-36z"),e.attr(h,"fill","none"),e.attr(h,"class","svelte-19ml84y"),e.attr(l,"class","ExpandArrow svelte-19ml84y"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","36"),e.attr(l,"height","36"),e.attr(l,"viewBox","0 0 36 36"),e.attr(l,"fill","#999"),e.toggle_class(l,"extended",i[8]),e.attr(o,"class","ExpandButton svelte-19ml84y"),e.attr(p,"class","HistoryDisplayArea svelte-19ml84y"),e.toggle_class(p,"hidden",i[5]),e.attr(s,"class","HistoryWrapper "+(i[10]?"Desktop":"")+" svelte-19ml84y"),e.attr(t,"class","player-account-gaming-limits-history-2 svelte-19ml84y")},m(g,S){e.insert(g,t,S),e.append(t,s),e.append(s,o),e.append(o,a),e.append(o,m),e.append(o,l),e.append(l,f),e.append(l,h),e.append(s,d),e.append(s,p);for(let y=0;y<v.length;y+=1)v[y]&&v[y].m(p,null);u||(L=e.listen(o,"click",i[11]),u=!0)},p(g,S){if(S[0]&512&&n!==(n=g[9]("expandLimits")+"")&&e.set_data(a,n),S[0]&256&&e.toggle_class(l,"extended",g[8]),S[0]&650){w=e.ensure_array_like(g[7]);let y;for(y=0;y<w.length;y+=1){const b=B(g,w,y);v[y]?v[y].p(b,S):(v[y]=G(b),v[y].c(),v[y].m(p,null))}for(;y<v.length;y+=1)v[y].d(1);v.length=w.length}S[0]&32&&e.toggle_class(p,"hidden",g[5])},d(g){g&&e.detach(t),e.destroy_each(v,g),u=!1,L()}}}function de(i){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function pe(i){let t,s=(i[0]?i[9]("error"):"500 Server Error")+"",o;return{c(){t=e.element("p"),o=e.text(s),e.attr(t,"class","svelte-19ml84y")},m(n,a){e.insert(n,t,a),e.append(t,o)},p(n,a){a[0]&513&&s!==(s=(n[0]?n[9]("error"):"500 Server Error")+"")&&e.set_data(o,s)},d(n){n&&e.detach(t)}}}function ue(i){let t,s,o,n=i[37].type+"",a,m,l=i[37].amount+"",f,h,d=i[37].date+"",p;return{c(){t=e.element("div"),s=e.element("span"),o=e.element("span"),a=e.text(n),m=e.element("span"),f=e.text(l),h=e.element("span"),p=e.text(d),e.attr(o,"class","LimitType svelte-19ml84y"),e.attr(m,"class","LimitAmountPeriod svelte-19ml84y"),e.attr(s,"class","GeneralLimitInformation svelte-19ml84y"),e.attr(h,"class","DateLimitInformation svelte-19ml84y"),e.attr(t,"class","HistoryRow svelte-19ml84y")},m(u,L){e.insert(u,t,L),e.append(t,s),e.append(s,o),e.append(o,a),e.append(s,m),e.append(m,f),e.append(t,h),e.append(h,p)},p(u,L){L[0]&128&&n!==(n=u[37].type+"")&&e.set_data(a,n),L[0]&128&&l!==(l=u[37].amount+"")&&e.set_data(f,l),L[0]&128&&d!==(d=u[37].date+"")&&e.set_data(p,d)},d(u){u&&e.detach(t)}}}function ce(i){let t,s,o,n=i[37].type+"",a,m,l=i[9]("limitRemoved")+"",f,h,d=i[37].date+"",p;return{c(){t=e.element("div"),s=e.element("span"),o=e.element("span"),a=e.text(n),m=e.element("span"),f=e.text(l),h=e.element("span"),p=e.text(d),e.attr(o,"class","LimitType svelte-19ml84y"),e.attr(m,"class","LimitAmountPeriod svelte-19ml84y"),e.attr(s,"class","GeneralLimitInformation svelte-19ml84y"),e.attr(h,"class","DateLimitInformation svelte-19ml84y"),e.attr(t,"class","HistoryRow svelte-19ml84y")},m(u,L){e.insert(u,t,L),e.append(t,s),e.append(s,o),e.append(o,a),e.append(s,m),e.append(m,f),e.append(t,h),e.append(h,p)},p(u,L){L[0]&128&&n!==(n=u[37].type+"")&&e.set_data(a,n),L[0]&512&&l!==(l=u[9]("limitRemoved")+"")&&e.set_data(f,l),L[0]&128&&d!==(d=u[37].date+"")&&e.set_data(p,d)},d(u){u&&e.detach(t)}}}function G(i){let t,s,o,n=i[39];function a(d,p){return d[37].removed?ce:ue}let m=a(i),l=m(i);const f=()=>i[22](t,n),h=()=>i[22](null,n);return{c(){t=e.element("div"),l.c(),s=e.space(),e.attr(t,"class",o=e.null_to_empty(i[39]>+i[1]?"LimitContainer":"")+" svelte-19ml84y")},m(d,p){e.insert(d,t,p),l.m(t,null),e.append(t,s),f()},p(d,p){i=d,m===(m=a(i))&&l?l.p(i,p):(l.d(1),l=m(i),l&&(l.c(),l.m(t,s))),p[0]&2&&o!==(o=e.null_to_empty(i[39]>+i[1]?"LimitContainer":"")+" svelte-19ml84y")&&e.attr(t,"class",o),n!==i[39]&&(h(),n=i[39],f())},d(d){d&&e.detach(t),l.d(),h()}}}function ge(i){let t;function s(a,m){return a[6]?pe:a[4]?de:ye}let o=s(i),n=o(i);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","svelte-19ml84y")},m(a,m){e.insert(a,t,m),n.m(t,null),i[23](t)},p(a,m){o===(o=s(a))&&n?n.p(a,m):(n.d(1),n=o(a),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),n.d(),i[23](null)}}}function he(i,t,s){let o;e.component_subscribe(i,e.$format,r=>s(9,o=r));let n=window.navigator.userAgent,a=!e.isMobile(n),{lang:m=""}=t,{userid:l=""}=t,{session:f=""}=t,{endpoint:h=""}=t,{apiversion:d=""}=t,{numberofentries:p="10"}=t,{customcurrencysymbols:u=""}=t,{limitformat:L=""}=t,{clientstyling:w=""}=t,{clientstylingurl:v=""}=t,{mbsource:g}=t,{translationurl:S=""}=t,y,b=new Array,D=parseInt(p,10),R=!1,k=!0,I=[],C=[],E=!0,O=!1,A={EUR:"€",RON:"lei",TRY:"₺"};const Y=()=>{fetch(S).then(c=>c.json()).then(c=>{Object.keys(c).forEach(_=>{U(_,c[_])})}).catch(c=>{console.log(c)})};Object.keys(M).forEach(r=>{U(r,M[r])});const K=()=>{let r=d==="gmcore"?`/v2/player/${l}/transactions/limit`:`/v1/player/${l}/limits/monetary/history`,c=new URL(r,h);c.searchParams.append("startDate",`${new Date("2022").toISOString()}`),c.searchParams.append("endDate",`${new Date("2099").toISOString()}`),c.searchParams.append("limit","10000");let _={method:"GET",headers:{"X-SessionID":f}};fetch(c.href,_).then(T=>{if(T.status>=300)throw s(4,k=!1),s(6,R=!0),new Error("There was an error fetching the limits");return T.json()}).then(T=>{T.length&&(I=Q(T),s(7,C=I.slice(0,D))),s(4,k=!1)},T=>{console.error("There was an error",T),s(6,R=!0)})},Q=r=>{const c=!!M[m];return r.map(T=>{let P={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return P.amount=X(T),P.currency=c?A[T.limitCurrencyCode]:T.limitCurrencyCode,P.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(T.limitDate)),P.period=o(`${T.limitPeriod.toLowerCase()}`),P.type=d==="gmcore"?o(`historyLimitType${T.limitType.split(" ")[0]}`):o(`historyLimitType${T.limitType.split(" ")[0]}`)+" "+o(`historyProductType${T.limitProductType}`),P.removed=T.limitAmount===-1,P})},X=r=>{let c=L||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.limitAmount);if(!L){let re=A[r.limitCurrencyCode]||r.limitCurrencyCode;return`${c}${re}`}typeof r.limitAmount=="string"&&r.limitAmount.includes(",")&&(r.limitAmount=r.limitAmount.replaceAll(",",""));const _=c.match(/\{(\d+)decimals\}/),T=_?parseInt(_[1],10):2,P=_?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let x=parseFloat(r.limitAmount).toFixed(T);const[ie,j]=L.includes(".")?[",","."]:[".",","];let[W,se]=x.split(".");return W=W.replace(/\B(?=(\d{3})+(?!\d))/g,ie),x=`${W}${j}${se}`,c=c.replace("{currency}",A[r.limitCurrencyCode]||r.limitCurrencyCode).replace("{amount}",x.split(j)[0]).replace(P,x.split(j)[1]),c},q=()=>{s(5,E=!E),s(8,O=!O)};let H=new IntersectionObserver(r=>{r.forEach(c=>{c.isIntersecting&&(D+=parseInt(p,10)||10,C.length<I.length&&s(7,C=I.slice(0,D)))})});const J=()=>{H.observe(b[b.length-1])},Z=()=>{if(!u)return;let r={};u.split(",").forEach(c=>{let _=c.split(":");r[_[0].trim()]=_[1].trim()}),A=z(z({},A),r)},$=()=>{ae(m)};e.onMount(()=>()=>{H.unobserve(b[b.length-1])});function ee(r,c){e.binding_callbacks[r?"unshift":"push"](()=>{b[c]=r,s(3,b)})}function te(r){e.binding_callbacks[r?"unshift":"push"](()=>{y=r,s(2,y)})}return i.$$set=r=>{"lang"in r&&s(0,m=r.lang),"userid"in r&&s(12,l=r.userid),"session"in r&&s(13,f=r.session),"endpoint"in r&&s(14,h=r.endpoint),"apiversion"in r&&s(15,d=r.apiversion),"numberofentries"in r&&s(1,p=r.numberofentries),"customcurrencysymbols"in r&&s(16,u=r.customcurrencysymbols),"limitformat"in r&&s(17,L=r.limitformat),"clientstyling"in r&&s(18,w=r.clientstyling),"clientstylingurl"in r&&s(19,v=r.clientstylingurl),"mbsource"in r&&s(20,g=r.mbsource),"translationurl"in r&&s(21,S=r.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&65536&&u&&Z(),i.$$.dirty[0]&61440&&h&&l&&f&&d&&K(),i.$$.dirty[0]&56&&b[0]&&!k&&!E&&J(),i.$$.dirty[0]&1&&m&&$(),i.$$.dirty[0]&262148&&w&&y&&e.setClientStyling(y,w),i.$$.dirty[0]&524292&&v&&y&&e.setClientStylingURL(y,v),i.$$.dirty[0]&1048580&&g&&y&&e.setStreamStyling(y,`${g}.Style`),i.$$.dirty[0]&2097156&&S&&y&&Y()},[m,p,y,b,k,E,R,C,O,o,a,q,l,f,h,d,u,L,w,v,g,S,ee,te]}class V extends e.SvelteComponent{constructor(t){super(),e.init(this,t,he,ge,e.safe_not_equal,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,customcurrencysymbols:16,limitformat:17,clientstyling:18,clientstylingurl:19,mbsource:20,translationurl:21},me,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[12]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[13]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[15]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[16]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[17]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[20]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(V,{lang:{},userid:{},session:{},endpoint:{},apiversion:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=V;
@@ -1,15 +1,15 @@
1
1
  var fe = Object.defineProperty;
2
- var q = Object.getOwnPropertySymbols;
2
+ var J = Object.getOwnPropertySymbols;
3
3
  var ve = Object.prototype.hasOwnProperty, Te = Object.prototype.propertyIsEnumerable;
4
4
  var Z = (t, e, i) => e in t ? fe(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, V = (t, e) => {
5
5
  for (var i in e || (e = {}))
6
6
  ve.call(e, i) && Z(t, i, e[i]);
7
- if (q)
8
- for (var i of q(e))
7
+ if (J)
8
+ for (var i of J(e))
9
9
  Te.call(e, i) && Z(t, i, e[i]);
10
10
  return t;
11
11
  };
12
- import { a as Se, $ as we, S as be, i as _e, s as Ae, f as A, b as Pe, n as D, d as x, h as R, k as w, e as a, p as ke, X as Ce, u as Ie, w as $, c as I, j as g, t as E, C as ee, D as Ee, o as F, l as De, m as Q, v as X, Y as te, x as xe, y as Re, z as Oe, A as je, B as We } from "./GeneralLogout-hWNQ3J3o.js";
12
+ import { a as Se, $ as we, S as be, i as _e, f as A, c as Ae, s as Pe, b as ke, e as w, g as a, k as x, o as D, p as R, q as Ce, X as Ie, v as Ee, w as De, y as $, z as xe, A as Re, C as ee, t as I, d as Q, x as X, j as F, l as g, m as Oe, n as E, D as je, Y as te, B as We } from "./GeneralLogout-DjIbOrTj.js";
13
13
  function ie(t, e) {
14
14
  Se(t, e);
15
15
  }
@@ -268,7 +268,7 @@ const K = {
268
268
  }
269
269
  };
270
270
  function He(t) {
271
- Pe(t, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
271
+ ke(t, "svelte-19ml84y", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
272
272
  }
273
273
  function se(t, e, i) {
274
274
  const r = t.slice();
@@ -286,7 +286,7 @@ function Me(t) {
286
286
  T[h] = re(se(t, P, h));
287
287
  return {
288
288
  c() {
289
- e = w("div"), i = w("div"), r = w("button"), n = E(o), m = Q(), l = X("svg"), v = X("path"), L = X("path"), d = Q(), p = w("div");
289
+ e = w("div"), i = w("div"), r = w("button"), n = I(o), m = Q(), l = X("svg"), v = X("path"), L = X("path"), d = Q(), p = w("div");
290
290
  for (let h = 0; h < T.length; h += 1)
291
291
  T[h].c();
292
292
  a(v, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), a(v, "class", "svelte-19ml84y"), a(L, "d", "M0 0h36v36h-36z"), a(L, "fill", "none"), a(L, "class", "svelte-19ml84y"), a(l, "class", "ExpandArrow svelte-19ml84y"), a(l, "xmlns", "http://www.w3.org/2000/svg"), a(l, "width", "36"), a(l, "height", "36"), a(l, "viewBox", "0 0 36 36"), a(l, "fill", "#999"), F(
@@ -303,10 +303,10 @@ function Me(t) {
303
303
  (t[10] ? "Desktop" : "") + " svelte-19ml84y"), a(e, "class", "player-account-gaming-limits-history-2 svelte-19ml84y");
304
304
  },
305
305
  m(h, b) {
306
- R(h, e, b), g(e, i), g(i, r), g(r, n), g(r, m), g(r, l), g(l, v), g(l, L), g(i, d), g(i, p);
306
+ x(h, e, b), g(e, i), g(i, r), g(r, n), g(r, m), g(r, l), g(l, v), g(l, L), g(i, d), g(i, p);
307
307
  for (let y = 0; y < T.length; y += 1)
308
308
  T[y] && T[y].m(p, null);
309
- u || (f = De(
309
+ u || (f = Oe(
310
310
  r,
311
311
  "click",
312
312
  /*toggleHistoryDisplayArea*/
@@ -316,7 +316,7 @@ function Me(t) {
316
316
  p(h, b) {
317
317
  if (b[0] & /*$_*/
318
318
  512 && o !== (o = /*$_*/
319
- h[9]("expandLimits") + "") && I(n, o), b[0] & /*extended*/
319
+ h[9]("expandLimits") + "") && E(n, o), b[0] & /*extended*/
320
320
  256 && F(
321
321
  l,
322
322
  "extended",
@@ -346,7 +346,7 @@ function Me(t) {
346
346
  );
347
347
  },
348
348
  d(h) {
349
- h && x(e), Ee(T, h), u = !1, f();
349
+ h && R(e), je(T, h), u = !1, f();
350
350
  }
351
351
  };
352
352
  }
@@ -363,10 +363,10 @@ function Be(t) {
363
363
  ), r;
364
364
  return {
365
365
  c() {
366
- e = w("p"), r = E(i), a(e, "class", "svelte-19ml84y");
366
+ e = w("p"), r = I(i), a(e, "class", "svelte-19ml84y");
367
367
  },
368
368
  m(o, n) {
369
- R(o, e, n), g(e, r);
369
+ x(o, e, n), g(e, r);
370
370
  },
371
371
  p(o, n) {
372
372
  n[0] & /*lang, $_*/
@@ -374,10 +374,10 @@ function Be(t) {
374
374
  (o[0] ? (
375
375
  /*$_*/
376
376
  o[9]("error")
377
- ) : "500 Server Error") + "") && I(r, i);
377
+ ) : "500 Server Error") + "") && E(r, i);
378
378
  },
379
379
  d(o) {
380
- o && x(e);
380
+ o && R(e);
381
381
  }
382
382
  };
383
383
  }
@@ -394,22 +394,22 @@ function Ne(t) {
394
394
  ), p;
395
395
  return {
396
396
  c() {
397
- e = w("div"), i = w("span"), r = w("span"), n = E(o), m = w("span"), v = E(l), L = w("span"), p = E(d), a(r, "class", "LimitType svelte-19ml84y"), a(m, "class", "LimitAmountPeriod svelte-19ml84y"), a(i, "class", "GeneralLimitInformation svelte-19ml84y"), a(L, "class", "DateLimitInformation svelte-19ml84y"), a(e, "class", "HistoryRow svelte-19ml84y");
397
+ e = w("div"), i = w("span"), r = w("span"), n = I(o), m = w("span"), v = I(l), L = w("span"), p = I(d), a(r, "class", "LimitType svelte-19ml84y"), a(m, "class", "LimitAmountPeriod svelte-19ml84y"), a(i, "class", "GeneralLimitInformation svelte-19ml84y"), a(L, "class", "DateLimitInformation svelte-19ml84y"), a(e, "class", "HistoryRow svelte-19ml84y");
398
398
  },
399
399
  m(u, f) {
400
- R(u, e, f), g(e, i), g(i, r), g(r, n), g(i, m), g(m, v), g(e, L), g(L, p);
400
+ x(u, e, f), g(e, i), g(i, r), g(r, n), g(i, m), g(m, v), g(e, L), g(L, p);
401
401
  },
402
402
  p(u, f) {
403
403
  f[0] & /*lazyShowedHistoryArray*/
404
404
  128 && o !== (o = /*history*/
405
- u[37].type + "") && I(n, o), f[0] & /*lazyShowedHistoryArray*/
405
+ u[37].type + "") && E(n, o), f[0] & /*lazyShowedHistoryArray*/
406
406
  128 && l !== (l = /*history*/
407
- u[37].amount + "") && I(v, l), f[0] & /*lazyShowedHistoryArray*/
407
+ u[37].amount + "") && E(v, l), f[0] & /*lazyShowedHistoryArray*/
408
408
  128 && d !== (d = /*history*/
409
- u[37].date + "") && I(p, d);
409
+ u[37].date + "") && E(p, d);
410
410
  },
411
411
  d(u) {
412
- u && x(e);
412
+ u && R(e);
413
413
  }
414
414
  };
415
415
  }
@@ -426,22 +426,22 @@ function Ue(t) {
426
426
  ), p;
427
427
  return {
428
428
  c() {
429
- e = w("div"), i = w("span"), r = w("span"), n = E(o), m = w("span"), v = E(l), L = w("span"), p = E(d), a(r, "class", "LimitType svelte-19ml84y"), a(m, "class", "LimitAmountPeriod svelte-19ml84y"), a(i, "class", "GeneralLimitInformation svelte-19ml84y"), a(L, "class", "DateLimitInformation svelte-19ml84y"), a(e, "class", "HistoryRow svelte-19ml84y");
429
+ e = w("div"), i = w("span"), r = w("span"), n = I(o), m = w("span"), v = I(l), L = w("span"), p = I(d), a(r, "class", "LimitType svelte-19ml84y"), a(m, "class", "LimitAmountPeriod svelte-19ml84y"), a(i, "class", "GeneralLimitInformation svelte-19ml84y"), a(L, "class", "DateLimitInformation svelte-19ml84y"), a(e, "class", "HistoryRow svelte-19ml84y");
430
430
  },
431
431
  m(u, f) {
432
- R(u, e, f), g(e, i), g(i, r), g(r, n), g(i, m), g(m, v), g(e, L), g(L, p);
432
+ x(u, e, f), g(e, i), g(i, r), g(r, n), g(i, m), g(m, v), g(e, L), g(L, p);
433
433
  },
434
434
  p(u, f) {
435
435
  f[0] & /*lazyShowedHistoryArray*/
436
436
  128 && o !== (o = /*history*/
437
- u[37].type + "") && I(n, o), f[0] & /*$_*/
437
+ u[37].type + "") && E(n, o), f[0] & /*$_*/
438
438
  512 && l !== (l = /*$_*/
439
- u[9]("limitRemoved") + "") && I(v, l), f[0] & /*lazyShowedHistoryArray*/
439
+ u[9]("limitRemoved") + "") && E(v, l), f[0] & /*lazyShowedHistoryArray*/
440
440
  128 && d !== (d = /*history*/
441
- u[37].date + "") && I(p, d);
441
+ u[37].date + "") && E(p, d);
442
442
  },
443
443
  d(u) {
444
- u && x(e);
444
+ u && R(e);
445
445
  }
446
446
  };
447
447
  }
@@ -473,7 +473,7 @@ function re(t) {
473
473
  ) + " svelte-19ml84y");
474
474
  },
475
475
  m(d, p) {
476
- R(d, e, p), l.m(e, null), g(e, i), v();
476
+ x(d, e, p), l.m(e, null), g(e, i), v();
477
477
  },
478
478
  p(d, p) {
479
479
  t = d, m === (m = n(t)) && l ? l.p(t, p) : (l.d(1), l = m(t), l && (l.c(), l.m(e, i))), p[0] & /*numberofentries*/
@@ -486,7 +486,7 @@ function re(t) {
486
486
  t[39], v());
487
487
  },
488
488
  d(d) {
489
- d && x(e), l.d(), L();
489
+ d && R(e), l.d(), L();
490
490
  }
491
491
  };
492
492
  }
@@ -507,7 +507,7 @@ function Ge(t) {
507
507
  e = w("div"), o.c(), a(e, "class", "svelte-19ml84y");
508
508
  },
509
509
  m(n, m) {
510
- R(n, e, m), o.m(e, null), t[23](e);
510
+ x(n, e, m), o.m(e, null), t[23](e);
511
511
  },
512
512
  p(n, m) {
513
513
  r === (r = i(n)) && o ? o.p(n, m) : (o.d(1), o = r(n), o && (o.c(), o.m(e, null)));
@@ -515,14 +515,14 @@ function Ge(t) {
515
515
  i: D,
516
516
  o: D,
517
517
  d(n) {
518
- n && x(e), o.d(), t[23](null);
518
+ n && R(e), o.d(), t[23](null);
519
519
  }
520
520
  };
521
521
  }
522
522
  function Ye(t, e, i) {
523
523
  let r;
524
- ke(t, We, (s) => i(9, r = s));
525
- let o = window.navigator.userAgent, n = !Ce(o), { lang: m = "" } = e, { userid: l = "" } = e, { session: v = "" } = e, { endpoint: L = "" } = e, { apiversion: d = "" } = e, { numberofentries: p = "10" } = e, { customcurrencysymbols: u = "" } = e, { limitformat: f = "" } = e, { clientstyling: P = "" } = e, { clientstylingurl: T = "" } = e, { mbsource: h } = e, { translationurl: b = "" } = e, y, k = new Array(), B = parseInt(p, 10), N = !1, j = !0, W = [], z = [], H = !0, U = !1, O = { EUR: "€", RON: "lei", TRY: "₺" };
524
+ Ce(t, We, (s) => i(9, r = s));
525
+ let o = window.navigator.userAgent, n = !Ie(o), { lang: m = "" } = e, { userid: l = "" } = e, { session: v = "" } = e, { endpoint: L = "" } = e, { apiversion: d = "" } = e, { numberofentries: p = "10" } = e, { customcurrencysymbols: u = "" } = e, { limitformat: f = "" } = e, { clientstyling: P = "" } = e, { clientstylingurl: T = "" } = e, { mbsource: h } = e, { translationurl: b = "" } = e, y, k = new Array(), B = parseInt(p, 10), N = !1, j = !0, W = [], z = [], H = !0, U = !1, O = { EUR: "€", RON: "lei", TRY: "₺" };
526
526
  const oe = () => {
527
527
  fetch(b).then((c) => c.json()).then((c) => {
528
528
  Object.keys(c).forEach((_) => {
@@ -585,13 +585,13 @@ function Ye(t, e, i) {
585
585
  }, me = () => {
586
586
  i(5, H = !H), i(8, U = !U);
587
587
  };
588
- let J = new IntersectionObserver((s) => {
588
+ let q = new IntersectionObserver((s) => {
589
589
  s.forEach((c) => {
590
590
  c.isIntersecting && (B += parseInt(p, 10) || 10, z.length < W.length && i(7, z = W.slice(0, B)));
591
591
  });
592
592
  });
593
593
  const ye = () => {
594
- J.observe(k[k.length - 1]);
594
+ q.observe(k[k.length - 1]);
595
595
  }, de = () => {
596
596
  if (!u)
597
597
  return;
@@ -603,8 +603,8 @@ function Ye(t, e, i) {
603
603
  }, pe = () => {
604
604
  ze(m);
605
605
  };
606
- Ie(() => () => {
607
- J.unobserve(k[k.length - 1]);
606
+ Ee(() => () => {
607
+ q.unobserve(k[k.length - 1]);
608
608
  });
609
609
  function ue(s, c) {
610
610
  $[s ? "unshift" : "push"](() => {
@@ -626,7 +626,7 @@ function Ye(t, e, i) {
626
626
  1 && m && pe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
627
627
  262148 && P && y && xe(y, P), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
628
628
  524292 && T && y && Re(y, T), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
629
- 1048580 && h && y && Oe(y, `${h}.Style`), t.$$.dirty[0] & /*translationurl, customStylingContainer*/
629
+ 1048580 && h && y && De(y, `${h}.Style`), t.$$.dirty[0] & /*translationurl, customStylingContainer*/
630
630
  2097156 && b && y && oe();
631
631
  }, [
632
632
  m,
@@ -662,7 +662,7 @@ class Ve extends be {
662
662
  e,
663
663
  Ye,
664
664
  Ge,
665
- Ae,
665
+ Pe,
666
666
  {
667
667
  lang: 0,
668
668
  userid: 12,
@@ -754,7 +754,7 @@ class Ve extends be {
754
754
  this.$$set({ translationurl: e }), A();
755
755
  }
756
756
  }
757
- je(Ve, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
757
+ Ae(Ve, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
758
758
  export {
759
759
  Ve as default
760
760
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CK8tLROK.cjs"),F=require("./PlayerAccountGamingLimitsGroupEdit-CmipcCdJ.cjs");function H(t,n){e.addMessages(t,n)}function me(t){e.$locale.set(t)}const Y={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",daily:"日常的",weekly:"每週",monthly:"月刊",removeLimitText:"您確定要刪除 {limit} 嗎?",removeLimitsText:"您確定要刪除所有 {limit} 嗎?",minutes:"分鐘",noLimit:"沒有限制",expirationDate:"截止日期",notAvailable:"不適用",edit:"編輯",removeLimits:"移除限制",depositLimit:"存款限額",timeLimit:"時限",wageringLimit:"投注限額",lossLimit:"損失限額",timeLimitLower:"時限",depositLimitLower:"存款限額",wageringLimitLower:"投注限額",lossLimitLower:"損失限額",time:"時間",currency:"貨幣"},fr:{name:"Info",amountChanged:"Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",removeLimitText:"êtes-vous sûr de vouloir supprimer la{limit}?",removeLimitsText:"êtes-vous sûr de vouloir supprimer tous les {limit}s?",minutes:"minutes",noLimit:"Aucune limite",expirationDate:"Date d'expiration",notAvailable:"N/A",edit:"Modifier",removeLimits:"Supprimer les limites",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte",timeLimitLower:"Limite de temps",depositLimitLower:"Limite de dépôt",wageringLimitLower:"Limite de mise",lossLimitLower:"Limite de perte",time:"Temps",currency:"Monnaie"},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"},es:{name:"Información",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"Estas seguro de quitar el {limit}?",removeLimitsText:"Estas seguro de retirar todos los {limit}es?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No Disponible",edit:"Editar",removeLimits:"Retirar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"tiempo",currency:"moneda"},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",removeLimitText:"Jeste li sigurni da želite ukloniti {limit}?",removeLimitsText:"Jeste li sigurni da želite ukloniti sve {limit}e?",minutes:"minute",noLimit:"Nema ograničenja",expirationDate:"Datum isteka",notAvailable:"N/A",edit:"Uredi",removeLimits:"Ukloni ograničenja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka",timeLimitLower:"vremensko ograničenje",depositLimitLower:"ograničenje uplate",wageringLimitLower:"ograničenje igranja",lossLimitLower:"ograničenje gubitka",time:"vrijeme",currency:"valuta"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",removeLimitText:"Tem certeza de que deseja remover o limite {limit}?",removeLimitsText:"Tem certeza de que deseja remover todos os limites {limit}s?",minutes:"minutos",noLimit:"Sem limite",expirationDate:"Data de expiração",notAvailable:"Não disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de Quantidade de Apostas",lossLimit:"Limite de perda",timeLimitLower:"Limite de tempo",depositLimitLower:"Limite de depósito",wageringLimitLower:"Limite de Quantidade de Apostas",lossLimitLower:"Limite de perda",time:"tempo",currency:"moeda"},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"¿Está seguro que quiere remover el límite {limit}?",removeLimitsText:"¿Está seguro que quiere remover todos los límites {limit}s?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No disponible",edit:"Editar",removeLimits:"Remover Límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de monto de apuestas",lossLimit:"Límite de pérdidas",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de monto de apuestas",lossLimitLower:"Límite de pérdidas",time:"tiempo",currency:"moneda"},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",removeLimitText:"{limit} sınırını kaldırmak istediğinizden emin misiniz?",removeLimitsText:"Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",minutes:"dakika",noLimit:"Limit yok",expirationDate:"Son kullanma tarihi",notAvailable:"Yok",edit:"Düzenlemek",removeLimits:"Sınırları Kaldır",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti",timeLimitLower:"zaman sınırı",depositLimitLower:"para yatırma limiti",wageringLimitLower:"bahis limiti",lossLimitLower:"kayıp limiti",time:"zaman",currency:"para birimi"},"en-us":{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}};if(typeof window!="undefined"){let t=function(n){return function(...a){try{return n.apply(this,a)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsGroupEdit-CmipcCdJ.cjs")).then(n=>n.PlayerAccountGamingLimitsGroupEdit_ce).then(({default:n})=>{!customElements.get("player-account-gaming-limits-group-edit")&&customElements.define("player-account-gaming-limits-group-edit",n.element)})}function se(t){e.append_styles(t,"svelte-8fdpga",'@charset "UTF-8";.InfoCard{padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardTableRow>.InfoCardRow:nth-child(2){font-size:12px}.InfoCardTableHeaderBox{display:flex;flex-direction:column}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emw--color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border:1px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardEditButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emw--color-black, #000000)}.InfoCardControlArea .InfoCardRemoveButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}')}function G(t,n,a){const o=t.slice();return o[41]=n[a],o[43]=a,o}function O(t,n,a){const o=t.slice();return o[41]=n[a],o[43]=a,o}function de(t){let n,a,o,i,l=(t[0]?t[16](t[1].charAt(0).toLowerCase()+t[1].substring(1).replace(/\s/g,"")):"")+"",r,d,p,b,L,c,w,z,y,A,R,j,M,T,k=t[16]("edit")+"",S,h,D,N,I;function C(g,E){return g[1]==="Time Limit"?ce:pe}let u=C(t),f=u(t),s=!t[10]&&!t[0].isModified&&t[15]&&Z(t),_=t[12]&&X(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("h5"),r=e.text(l),d=e.space(),p=e.element("div"),b=e.element("span"),b.textContent="i",L=e.space(),c=e.element("player-account-gaming-limits-popup"),z=e.space(),y=e.element("div"),A=e.element("div"),R=e.element("div"),f.c(),j=e.space(),M=e.element("div"),T=e.element("button"),S=e.text(k),h=e.space(),s&&s.c(),D=e.space(),_&&_.c(),e.attr(b,"class","InfoCardIcon"),e.set_custom_element_data(c,"showpopup",w=t[9][0]),e.set_custom_element_data(c,"lang",t[3]),e.set_custom_element_data(c,"clientstyling",t[4]),e.set_custom_element_data(c,"clientstylingurl",t[5]),e.set_custom_element_data(c,"mbsource",t[6]),e.attr(p,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":"")),e.attr(o,"class","InfoCardHeader "+(t[17]?"InfoCardMobileHeader":"")),e.attr(R,"class","InfoCardTableRow"),e.attr(A,"class","InfoCardTableWrapper"),e.attr(T,"class","InfoCardEditButton"),e.attr(M,"class","InfoCardControlArea"),e.attr(y,"class","InfoCard"),e.attr(a,"class","InfoCardWrapper"),e.attr(n,"class","InfoCardSection")},m(g,E){e.insert(g,n,E),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),e.append(p,b),e.append(p,L),e.append(p,c),e.append(a,z),e.append(a,y),e.append(y,A),e.append(A,R),f.m(R,null),e.append(y,j),e.append(y,M),e.append(M,T),e.append(T,S),e.append(M,h),s&&s.m(M,null),e.append(n,D),_&&_.m(n,null),N||(I=[e.listen(b,"click",e.prevent_default(t[24])),e.listen(T,"click",t[27])],N=!0)},p(g,E){E[0]&65539&&l!==(l=(g[0]?g[16](g[1].charAt(0).toLowerCase()+g[1].substring(1).replace(/\s/g,"")):"")+"")&&e.set_data(r,l),E[0]&512&&w!==(w=g[9][0])&&e.set_custom_element_data(c,"showpopup",w),E[0]&8&&e.set_custom_element_data(c,"lang",g[3]),E[0]&16&&e.set_custom_element_data(c,"clientstyling",g[4]),E[0]&32&&e.set_custom_element_data(c,"clientstylingurl",g[5]),E[0]&64&&e.set_custom_element_data(c,"mbsource",g[6]),u===(u=C(g))&&f?f.p(g,E):(f.d(1),f=u(g),f&&(f.c(),f.m(R,null))),E[0]&65536&&k!==(k=g[16]("edit")+"")&&e.set_data(S,k),!g[10]&&!g[0].isModified&&g[15]?s?s.p(g,E):(s=Z(g),s.c(),s.m(M,null)):s&&(s.d(1),s=null),g[12]?_?_.p(g,E):(_=X(g),_.c(),_.m(n,null)):_&&(_.d(1),_=null)},d(g){g&&e.detach(n),f.d(),s&&s.d(),_&&_.d(),N=!1,e.run_all(I)}}}function ue(t){let n;return{c(){n=e.element("div"),e.attr(n,"class","ModalLoader")},m(a,o){e.insert(a,n,o)},p:e.noop,d(a){a&&e.detach(n)}}}function pe(t){let n,a=e.ensure_array_like(t[0]),o=[];for(let i=0;i<a.length;i+=1)o[i]=Q(G(t,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();n=e.empty()},m(i,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,l);e.insert(i,n,l)},p(i,l){if(l[0]&6750847){a=e.ensure_array_like(i[0]);let r;for(r=0;r<a.length;r+=1){const d=G(i,a,r);o[r]?o[r].p(d,l):(o[r]=Q(d),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(i){i&&e.detach(n),e.destroy_each(o,i)}}}function ce(t){let n,a=e.ensure_array_like(t[0]),o=[];for(let i=0;i<a.length;i+=1)o[i]=K(O(t,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();n=e.empty()},m(i,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,l);e.insert(i,n,l)},p(i,l){if(l[0]&6750843){a=e.ensure_array_like(i[0]);let r;for(r=0;r<a.length;r+=1){const d=O(i,a,r);o[r]?o[r].p(d,l):(o[r]=K(d),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(i){i&&e.detach(n),e.destroy_each(o,i)}}}function U(t){let n,a=(t[41]?t[41].currency:"")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?i[41].currency:"")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function fe(t){let n,a=t[16]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("notAvailable")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function _e(t){let n,a=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?F.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function ge(t){let n,a,o,i,l,r,d,p;function b(){return t[26](t[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),i=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(i,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(i,"iteminfoamount",r=t[41].updateAmount),e.set_custom_element_data(i,"currency",t[2]),e.set_custom_element_data(i,"lang",t[3]),e.set_custom_element_data(i,"clientstyling",t[4]),e.set_custom_element_data(i,"clientstylingurl",t[5]),e.set_custom_element_data(i,"mbsource",t[6]),e.attr(n,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(L,c){e.insert(L,n,c),e.append(n,a),e.append(n,o),e.append(n,i),d||(p=e.listen(a,"click",e.prevent_default(b)),d=!0)},p(L,c){t=L,c[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(i,"showpopup",l),c[0]&1&&r!==(r=t[41].updateAmount)&&e.set_custom_element_data(i,"iteminfoamount",r),c[0]&4&&e.set_custom_element_data(i,"currency",t[2]),c[0]&8&&e.set_custom_element_data(i,"lang",t[3]),c[0]&16&&e.set_custom_element_data(i,"clientstyling",t[4]),c[0]&32&&e.set_custom_element_data(i,"clientstylingurl",t[5]),c[0]&64&&e.set_custom_element_data(i,"mbsource",t[6])},d(L){L&&e.detach(n),d=!1,p()}}}function Le(t){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(i,l){e.insert(i,n,l),a||(o=e.listen(n,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(i,l){t=i},d(i){i&&e.detach(n),a=!1,o()}}}function Q(t){let n,a,o,i,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,d,p,b=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",L,c,w=t[41].amount!="No limit"&&t[41].amount!=t[16]("noLimit"),z,y,A,R=t[16]("expirationDate")+"",j,M,T,k,S,h=w&&U(t);function D(s,_){return s[41].expiryDate?_e:fe}let N=D(t),I=N(t);function C(s,_){if(_[0]&65537&&(k=null),k==null&&(k=s[41].amount!==s[16]("noLimit")&&s[41].amount!=="No limit"&&!s[41].isModified),k)return Le;if(s[41].amount!="No limit"&&s[41].isModified)return ge}let u=C(t,[-1,-1]),f=u&&u(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),L=e.text(b),c=e.space(),h&&h.c(),z=e.space(),y=e.element("div"),A=e.element("div"),j=e.text(R),M=e.space(),I.c(),T=e.space(),f&&f.c(),S=e.space(),e.attr(i,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(A,"class","InfoCardRowTitle"),e.attr(y,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(s,_){e.insert(s,n,_),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),e.append(p,L),e.append(p,c),h&&h.m(p,null),e.append(a,z),e.append(a,y),e.append(y,A),e.append(A,j),e.append(y,M),I.m(y,null),e.append(n,T),f&&f.m(n,null),e.append(n,S)},p(s,_){_[0]&65537&&l!==(l=(s[41]?s[16](s[41].period.charAt(0).toLowerCase()+s[41].period.substring(1)):"")+"")&&e.set_data(r,l),_[0]&65537&&b!==(b=(s[41]?s[41].amount==="No limit"?s[16]("noLimit"):s[41].amount:0)+"")&&e.set_data(L,b),_[0]&65537&&(w=s[41].amount!="No limit"&&s[41].amount!=s[16]("noLimit")),w?h?h.p(s,_):(h=U(s),h.c(),h.m(p,null)):h&&(h.d(1),h=null),_[0]&65536&&R!==(R=s[16]("expirationDate")+"")&&e.set_data(j,R),N===(N=D(s))&&I?I.p(s,_):(I.d(1),I=N(s),I&&(I.c(),I.m(y,null))),u===(u=C(s,_))&&f?f.p(s,_):(f&&f.d(1),f=u&&u(s),f&&(f.c(),f.m(n,S)))},d(s){s&&e.detach(n),h&&h.d(),I.d(),f&&f.d()}}}function ye(t){let n,a=t[16]("noLimit")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("noLimit")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function we(t){let n=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",a,o,i=t[41].amount!=="No limit"&&t[41].amount!==t[16]("noLimit"),l,r=i&&J(t);return{c(){a=e.text(n),o=e.space(),r&&r.c(),l=e.empty()},m(d,p){e.insert(d,a,p),e.insert(d,o,p),r&&r.m(d,p),e.insert(d,l,p)},p(d,p){p[0]&65537&&n!==(n=(d[41]?d[41].amount==="No limit"?d[16]("noLimit"):d[41].amount:0)+"")&&e.set_data(a,n),p[0]&65537&&(i=d[41].amount!=="No limit"&&d[41].amount!==d[16]("noLimit")),i?r?r.p(d,p):(r=J(d),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(d){d&&(e.detach(a),e.detach(o),e.detach(l)),r&&r.d(d)}}}function J(t){let n,a=t[16]("minutes")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("minutes")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function he(t){let n,a=t[16]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("notAvailable")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function ve(t){let n,a=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?F.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function be(t){let n,a,o,i,l,r,d,p,b;function L(){return t[25](t[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),i=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(i,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(i,"iteminfoamount",r=t[41].updateMinutes),e.set_custom_element_data(i,"currency",d=t[16]("minutes")),e.set_custom_element_data(i,"lang",t[3]),e.set_custom_element_data(i,"clientstyling",t[4]),e.set_custom_element_data(i,"clientstylingurl",t[5]),e.set_custom_element_data(i,"mbsource",t[6]),e.attr(n,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(c,w){e.insert(c,n,w),e.append(n,a),e.append(n,o),e.append(n,i),p||(b=e.listen(a,"click",e.prevent_default(L)),p=!0)},p(c,w){t=c,w[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(i,"showpopup",l),w[0]&1&&r!==(r=t[41].updateMinutes)&&e.set_custom_element_data(i,"iteminfoamount",r),w[0]&65536&&d!==(d=t[16]("minutes"))&&e.set_custom_element_data(i,"currency",d),w[0]&8&&e.set_custom_element_data(i,"lang",t[3]),w[0]&16&&e.set_custom_element_data(i,"clientstyling",t[4]),w[0]&32&&e.set_custom_element_data(i,"clientstylingurl",t[5]),w[0]&64&&e.set_custom_element_data(i,"mbsource",t[6])},d(c){c&&e.detach(n),p=!1,b()}}}function Ce(t){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(i,l){e.insert(i,n,l),a||(o=e.listen(n,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(i,l){t=i},d(i){i&&e.detach(n),a=!1,o()}}}function K(t){let n,a,o,i,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,d,p,b,L,c,w=t[16]("expirationDate")+"",z,y,A,R,j;function M(u,f){return u[41].amount!==0?we:ye}let T=M(t),k=T(t);function S(u,f){return u[41].expiryDate?ve:he}let h=S(t),D=h(t);function N(u,f){if(f[0]&65537&&(R=null),R==null&&(R=u[41].amount!==u[16]("noLimit")&&u[41].amount!=="No limit"&&!u[41].isModified),R)return Ce;if(u[41].amount!="No limit"&&u[41].isModified)return be}let I=N(t,[-1,-1]),C=I&&I(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),k.c(),b=e.space(),L=e.element("div"),c=e.element("div"),z=e.text(w),y=e.space(),D.c(),A=e.space(),C&&C.c(),j=e.space(),e.attr(i,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(c,"class","InfoCardRowTitle"),e.attr(L,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(u,f){e.insert(u,n,f),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),k.m(p,null),e.append(a,b),e.append(a,L),e.append(L,c),e.append(c,z),e.append(L,y),D.m(L,null),e.append(n,A),C&&C.m(n,null),e.append(n,j)},p(u,f){f[0]&65537&&l!==(l=(u[41]?u[16](u[41].period.charAt(0).toLowerCase()+u[41].period.substring(1)):"")+"")&&e.set_data(r,l),T===(T=M(u))&&k?k.p(u,f):(k.d(1),k=T(u),k&&(k.c(),k.m(p,null))),f[0]&65536&&w!==(w=u[16]("expirationDate")+"")&&e.set_data(z,w),h===(h=S(u))&&D?D.p(u,f):(D.d(1),D=h(u),D&&(D.c(),D.m(L,null))),I===(I=N(u,f))&&C?C.p(u,f):(C&&C.d(1),C=I&&I(u),C&&(C.c(),C.m(n,j)))},d(u){u&&e.detach(n),k.d(),D.d(),C&&C.d()}}}function Z(t){let n,a=t[16]("removeLimits")+"",o,i,l;return{c(){n=e.element("button"),o=e.text(a),e.attr(n,"class","InfoCardRemoveButton")},m(r,d){e.insert(r,n,d),e.append(n,o),i||(l=e.listen(n,"click",t[28]),i=!0)},p(r,d){d[0]&65536&&a!==(a=r[16]("removeLimits")+"")&&e.set_data(o,a)},d(r){r&&e.detach(n),i=!1,l()}}}function X(t){let n,a,o;return{c(){n=e.element("player-account-modal"),a=e.element("player-account-gaming-limits-confirmation-modal"),e.set_custom_element_data(a,"modaltext",o=t[11]?t[13]:t[14]),e.set_custom_element_data(a,"modalsource","infoCard"),e.set_custom_element_data(a,"lang",t[3]),e.set_custom_element_data(a,"clientstyling",t[4]),e.set_custom_element_data(a,"clientstylingurl",t[5]),e.set_custom_element_data(a,"mbsource",t[6]),e.set_custom_element_data(n,"clientstyling",t[4]),e.set_custom_element_data(n,"clientstylingurl",t[5]),e.set_custom_element_data(n,"mbsource",t[6])},m(i,l){e.insert(i,n,l),e.append(n,a)},p(i,l){l[0]&26624&&o!==(o=i[11]?i[13]:i[14])&&e.set_custom_element_data(a,"modaltext",o),l[0]&8&&e.set_custom_element_data(a,"lang",i[3]),l[0]&16&&e.set_custom_element_data(a,"clientstyling",i[4]),l[0]&32&&e.set_custom_element_data(a,"clientstylingurl",i[5]),l[0]&64&&e.set_custom_element_data(a,"mbsource",i[6]),l[0]&16&&e.set_custom_element_data(n,"clientstyling",i[4]),l[0]&32&&e.set_custom_element_data(n,"clientstylingurl",i[5]),l[0]&64&&e.set_custom_element_data(n,"mbsource",i[6])},d(i){i&&e.detach(n)}}}function ke(t){let n;function a(l,r){return l[8]?ue:de}let o=a(t),i=o(t);return{c(){n=e.element("div"),i.c()},m(l,r){e.insert(l,n,r),i.m(n,null),t[29](n)},p(l,r){o===(o=a(l))&&i?i.p(l,r):(i.d(1),i=o(l),i&&(i.c(),i.m(n,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(n),i.d(),t[29](null)}}}function Ie(t,n,a){let o;e.component_subscribe(t,e.$format,m=>a(16,o=m));let{limitsdata:i=[]}=n,{limitname:l=""}=n,{currency:r=""}=n,{lang:d="en"}=n,{clientstyling:p=""}=n,{clientstylingurl:b=""}=n,{mbsource:L}=n,{translationurl:c=""}=n;const w=()=>{fetch(c).then(v=>v.json()).then(v=>{Object.keys(v).forEach(B=>{H(B,v[B])})}).catch(v=>{console.log(v)})};Object.keys(Y).forEach(m=>{H(m,Y[m])});let z=!0,y,A=new Array(5).fill(0),R=["Daily","Weekly","Monthly"],j=!0,M=!0,T=!1,k=window.navigator.userAgent,S=e.getDevice(k)!=="PC",h="",D="",N=!0,I=new Date;const C=m=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:m,name:l},window.location.href)},u=m=>{a(12,T=!0),a(11,M=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:l},window.location.href)},f=(m,v)=>{a(12,T=!0),a(11,M=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:v},window.location.href)},s=m=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{a(9,A[m]=!0,A)},50)},_=m=>{let v=[...m];R.forEach((B,W)=>{v.find(P=>P.period===B)||(v=g(v,W,B));const q=v.find(P=>P.period===B);q&&q.amount!=="No limit"&&a(10,j=!1)}),m.splice(0,m.length,...v),a(8,z=!1)},g=(m,v,B)=>{const W={period:B,amount:"No limit",currency:"",isModified:!1,expiryDate:""},q=[...m];return q.splice(v,0,W),q},E=(m,v)=>m.period==="Weekly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Weekly"?1:m.period==="Daily"&&v.period==="Weekly"||m.period==="Daily"&&v.period==="Monthly"||m.period==="Weekly"&&v.period==="Monthly"?-1:0,$=()=>{let m="";m=l==="Time Limit"?"time limit":l==="Deposit Limit"?"deposit limit":l==="Wagering Limit"?"wagering limit":"loss limit",a(13,h=o("removeLimitsText",{values:{limit:m}})),a(14,D=o("removeLimitText",{values:{limit:m}}))},ee=m=>{m.forEach(v=>{v.isModified&&a(15,N=!1)})},te=()=>{me(d),$(),ee(i),_(i),i.sort(E)},V=m=>{if(m.data)switch(m.data.type){case"ClosePlayerAccountGamingLimitsPopup":a(9,A=new Array(5).fill(0));break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),a(12,T=!1),a(11,M=!1);break}};e.onMount(()=>(window.addEventListener("message",V,!1),()=>{window.removeEventListener("message",V)}));const ie=()=>s(0),ne=m=>s(m+1),ae=m=>s(m+1),oe=()=>C(i),le=()=>u(i);function re(m){e.binding_callbacks[m?"unshift":"push"](()=>{y=m,a(7,y)})}return t.$$set=m=>{"limitsdata"in m&&a(0,i=m.limitsdata),"limitname"in m&&a(1,l=m.limitname),"currency"in m&&a(2,r=m.currency),"lang"in m&&a(3,d=m.lang),"clientstyling"in m&&a(4,p=m.clientstyling),"clientstylingurl"in m&&a(5,b=m.clientstylingurl),"mbsource"in m&&a(6,L=m.mbsource),"translationurl"in m&&a(23,c=m.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&11&&i&&l&&d&&te(),t.$$.dirty[0]&144&&p&&y&&e.setClientStyling(y,p),t.$$.dirty[0]&160&&b&&y&&e.setClientStylingURL(y,b),t.$$.dirty[0]&192&&L&&y&&e.setStreamStyling(y,`${L}.Style`),t.$$.dirty[0]&8388608&&c&&w()},[i,l,r,d,p,b,L,y,z,A,j,M,T,h,D,N,o,S,I,C,u,f,s,c,ie,ne,ae,oe,le,re]}class x extends e.SvelteComponent{constructor(n){super(),e.init(this,n,Ie,ke,e.safe_not_equal,{limitsdata:0,limitname:1,currency:2,lang:3,clientstyling:4,clientstylingurl:5,mbsource:6,translationurl:23},se,[-1,-1])}get limitsdata(){return this.$$.ctx[0]}set limitsdata(n){this.$$set({limitsdata:n}),e.flush()}get limitname(){return this.$$.ctx[1]}set limitname(n){this.$$set({limitname:n}),e.flush()}get currency(){return this.$$.ctx[2]}set currency(n){this.$$set({currency:n}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(n){this.$$set({lang:n}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(n){this.$$set({mbsource:n}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(n){this.$$set({translationurl:n}),e.flush()}}e.create_custom_element(x,{limitsdata:{},limitname:{},currency:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=x;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-DDP4rL2J.cjs"),F=require("./PlayerAccountGamingLimitsGroupEdit-CvTM9Url.cjs");function H(t,n){e.addMessages(t,n)}function me(t){e.$locale.set(t)}const Y={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",daily:"日常的",weekly:"每週",monthly:"月刊",removeLimitText:"您確定要刪除 {limit} 嗎?",removeLimitsText:"您確定要刪除所有 {limit} 嗎?",minutes:"分鐘",noLimit:"沒有限制",expirationDate:"截止日期",notAvailable:"不適用",edit:"編輯",removeLimits:"移除限制",depositLimit:"存款限額",timeLimit:"時限",wageringLimit:"投注限額",lossLimit:"損失限額",timeLimitLower:"時限",depositLimitLower:"存款限額",wageringLimitLower:"投注限額",lossLimitLower:"損失限額",time:"時間",currency:"貨幣"},fr:{name:"Info",amountChanged:"Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",removeLimitText:"êtes-vous sûr de vouloir supprimer la{limit}?",removeLimitsText:"êtes-vous sûr de vouloir supprimer tous les {limit}s?",minutes:"minutes",noLimit:"Aucune limite",expirationDate:"Date d'expiration",notAvailable:"N/A",edit:"Modifier",removeLimits:"Supprimer les limites",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte",timeLimitLower:"Limite de temps",depositLimitLower:"Limite de dépôt",wageringLimitLower:"Limite de mise",lossLimitLower:"Limite de perte",time:"Temps",currency:"Monnaie"},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"},es:{name:"Información",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"Estas seguro de quitar el {limit}?",removeLimitsText:"Estas seguro de retirar todos los {limit}es?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No Disponible",edit:"Editar",removeLimits:"Retirar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"tiempo",currency:"moneda"},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",removeLimitText:"Jeste li sigurni da želite ukloniti {limit}?",removeLimitsText:"Jeste li sigurni da želite ukloniti sve {limit}e?",minutes:"minute",noLimit:"Nema ograničenja",expirationDate:"Datum isteka",notAvailable:"N/A",edit:"Uredi",removeLimits:"Ukloni ograničenja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka",timeLimitLower:"vremensko ograničenje",depositLimitLower:"ograničenje uplate",wageringLimitLower:"ograničenje igranja",lossLimitLower:"ograničenje gubitka",time:"vrijeme",currency:"valuta"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",removeLimitText:"Tem certeza de que deseja remover o limite {limit}?",removeLimitsText:"Tem certeza de que deseja remover todos os limites {limit}s?",minutes:"minutos",noLimit:"Sem limite",expirationDate:"Data de expiração",notAvailable:"Não disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de Quantidade de Apostas",lossLimit:"Limite de perda",timeLimitLower:"Limite de tempo",depositLimitLower:"Limite de depósito",wageringLimitLower:"Limite de Quantidade de Apostas",lossLimitLower:"Limite de perda",time:"tempo",currency:"moeda"},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"¿Está seguro que quiere remover el límite {limit}?",removeLimitsText:"¿Está seguro que quiere remover todos los límites {limit}s?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No disponible",edit:"Editar",removeLimits:"Remover Límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de monto de apuestas",lossLimit:"Límite de pérdidas",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de monto de apuestas",lossLimitLower:"Límite de pérdidas",time:"tiempo",currency:"moneda"},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",removeLimitText:"{limit} sınırını kaldırmak istediğinizden emin misiniz?",removeLimitsText:"Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",minutes:"dakika",noLimit:"Limit yok",expirationDate:"Son kullanma tarihi",notAvailable:"Yok",edit:"Düzenlemek",removeLimits:"Sınırları Kaldır",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti",timeLimitLower:"zaman sınırı",depositLimitLower:"para yatırma limiti",wageringLimitLower:"bahis limiti",lossLimitLower:"kayıp limiti",time:"zaman",currency:"para birimi"},"en-us":{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}};if(typeof window!="undefined"){let t=function(n){return function(...a){try{return n.apply(this,a)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsGroupEdit-CvTM9Url.cjs")).then(n=>n.PlayerAccountGamingLimitsGroupEdit_ce).then(({default:n})=>{!customElements.get("player-account-gaming-limits-group-edit")&&customElements.define("player-account-gaming-limits-group-edit",n.element)})}function se(t){e.append_styles(t,"svelte-8fdpga",'@charset "UTF-8";.InfoCard{padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardTableRow>.InfoCardRow:nth-child(2){font-size:12px}.InfoCardTableHeaderBox{display:flex;flex-direction:column}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emw--color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border:1px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardEditButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emw--color-black, #000000)}.InfoCardControlArea .InfoCardRemoveButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}')}function G(t,n,a){const o=t.slice();return o[41]=n[a],o[43]=a,o}function O(t,n,a){const o=t.slice();return o[41]=n[a],o[43]=a,o}function de(t){let n,a,o,i,l=(t[0]?t[16](t[1].charAt(0).toLowerCase()+t[1].substring(1).replace(/\s/g,"")):"")+"",r,d,p,b,L,c,w,z,y,A,R,j,M,T,k=t[16]("edit")+"",S,h,D,N,I;function C(g,E){return g[1]==="Time Limit"?ce:pe}let u=C(t),f=u(t),s=!t[10]&&!t[0].isModified&&t[15]&&Z(t),_=t[12]&&X(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("h5"),r=e.text(l),d=e.space(),p=e.element("div"),b=e.element("span"),b.textContent="i",L=e.space(),c=e.element("player-account-gaming-limits-popup"),z=e.space(),y=e.element("div"),A=e.element("div"),R=e.element("div"),f.c(),j=e.space(),M=e.element("div"),T=e.element("button"),S=e.text(k),h=e.space(),s&&s.c(),D=e.space(),_&&_.c(),e.attr(b,"class","InfoCardIcon"),e.set_custom_element_data(c,"showpopup",w=t[9][0]),e.set_custom_element_data(c,"lang",t[3]),e.set_custom_element_data(c,"clientstyling",t[4]),e.set_custom_element_data(c,"clientstylingurl",t[5]),e.set_custom_element_data(c,"mbsource",t[6]),e.attr(p,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":"")),e.attr(o,"class","InfoCardHeader "+(t[17]?"InfoCardMobileHeader":"")),e.attr(R,"class","InfoCardTableRow"),e.attr(A,"class","InfoCardTableWrapper"),e.attr(T,"class","InfoCardEditButton"),e.attr(M,"class","InfoCardControlArea"),e.attr(y,"class","InfoCard"),e.attr(a,"class","InfoCardWrapper"),e.attr(n,"class","InfoCardSection")},m(g,E){e.insert(g,n,E),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),e.append(p,b),e.append(p,L),e.append(p,c),e.append(a,z),e.append(a,y),e.append(y,A),e.append(A,R),f.m(R,null),e.append(y,j),e.append(y,M),e.append(M,T),e.append(T,S),e.append(M,h),s&&s.m(M,null),e.append(n,D),_&&_.m(n,null),N||(I=[e.listen(b,"click",e.prevent_default(t[24])),e.listen(T,"click",t[27])],N=!0)},p(g,E){E[0]&65539&&l!==(l=(g[0]?g[16](g[1].charAt(0).toLowerCase()+g[1].substring(1).replace(/\s/g,"")):"")+"")&&e.set_data(r,l),E[0]&512&&w!==(w=g[9][0])&&e.set_custom_element_data(c,"showpopup",w),E[0]&8&&e.set_custom_element_data(c,"lang",g[3]),E[0]&16&&e.set_custom_element_data(c,"clientstyling",g[4]),E[0]&32&&e.set_custom_element_data(c,"clientstylingurl",g[5]),E[0]&64&&e.set_custom_element_data(c,"mbsource",g[6]),u===(u=C(g))&&f?f.p(g,E):(f.d(1),f=u(g),f&&(f.c(),f.m(R,null))),E[0]&65536&&k!==(k=g[16]("edit")+"")&&e.set_data(S,k),!g[10]&&!g[0].isModified&&g[15]?s?s.p(g,E):(s=Z(g),s.c(),s.m(M,null)):s&&(s.d(1),s=null),g[12]?_?_.p(g,E):(_=X(g),_.c(),_.m(n,null)):_&&(_.d(1),_=null)},d(g){g&&e.detach(n),f.d(),s&&s.d(),_&&_.d(),N=!1,e.run_all(I)}}}function ue(t){let n;return{c(){n=e.element("div"),e.attr(n,"class","ModalLoader")},m(a,o){e.insert(a,n,o)},p:e.noop,d(a){a&&e.detach(n)}}}function pe(t){let n,a=e.ensure_array_like(t[0]),o=[];for(let i=0;i<a.length;i+=1)o[i]=Q(G(t,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();n=e.empty()},m(i,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,l);e.insert(i,n,l)},p(i,l){if(l[0]&6750847){a=e.ensure_array_like(i[0]);let r;for(r=0;r<a.length;r+=1){const d=G(i,a,r);o[r]?o[r].p(d,l):(o[r]=Q(d),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(i){i&&e.detach(n),e.destroy_each(o,i)}}}function ce(t){let n,a=e.ensure_array_like(t[0]),o=[];for(let i=0;i<a.length;i+=1)o[i]=K(O(t,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();n=e.empty()},m(i,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,l);e.insert(i,n,l)},p(i,l){if(l[0]&6750843){a=e.ensure_array_like(i[0]);let r;for(r=0;r<a.length;r+=1){const d=O(i,a,r);o[r]?o[r].p(d,l):(o[r]=K(d),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(i){i&&e.detach(n),e.destroy_each(o,i)}}}function U(t){let n,a=(t[41]?t[41].currency:"")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?i[41].currency:"")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function fe(t){let n,a=t[16]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("notAvailable")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function _e(t){let n,a=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?F.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function ge(t){let n,a,o,i,l,r,d,p;function b(){return t[26](t[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),i=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(i,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(i,"iteminfoamount",r=t[41].updateAmount),e.set_custom_element_data(i,"currency",t[2]),e.set_custom_element_data(i,"lang",t[3]),e.set_custom_element_data(i,"clientstyling",t[4]),e.set_custom_element_data(i,"clientstylingurl",t[5]),e.set_custom_element_data(i,"mbsource",t[6]),e.attr(n,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(L,c){e.insert(L,n,c),e.append(n,a),e.append(n,o),e.append(n,i),d||(p=e.listen(a,"click",e.prevent_default(b)),d=!0)},p(L,c){t=L,c[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(i,"showpopup",l),c[0]&1&&r!==(r=t[41].updateAmount)&&e.set_custom_element_data(i,"iteminfoamount",r),c[0]&4&&e.set_custom_element_data(i,"currency",t[2]),c[0]&8&&e.set_custom_element_data(i,"lang",t[3]),c[0]&16&&e.set_custom_element_data(i,"clientstyling",t[4]),c[0]&32&&e.set_custom_element_data(i,"clientstylingurl",t[5]),c[0]&64&&e.set_custom_element_data(i,"mbsource",t[6])},d(L){L&&e.detach(n),d=!1,p()}}}function Le(t){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(i,l){e.insert(i,n,l),a||(o=e.listen(n,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(i,l){t=i},d(i){i&&e.detach(n),a=!1,o()}}}function Q(t){let n,a,o,i,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,d,p,b=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",L,c,w=t[41].amount!="No limit"&&t[41].amount!=t[16]("noLimit"),z,y,A,R=t[16]("expirationDate")+"",j,M,T,k,S,h=w&&U(t);function D(s,_){return s[41].expiryDate?_e:fe}let N=D(t),I=N(t);function C(s,_){if(_[0]&65537&&(k=null),k==null&&(k=s[41].amount!==s[16]("noLimit")&&s[41].amount!=="No limit"&&!s[41].isModified),k)return Le;if(s[41].amount!="No limit"&&s[41].isModified)return ge}let u=C(t,[-1,-1]),f=u&&u(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),L=e.text(b),c=e.space(),h&&h.c(),z=e.space(),y=e.element("div"),A=e.element("div"),j=e.text(R),M=e.space(),I.c(),T=e.space(),f&&f.c(),S=e.space(),e.attr(i,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(A,"class","InfoCardRowTitle"),e.attr(y,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(s,_){e.insert(s,n,_),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),e.append(p,L),e.append(p,c),h&&h.m(p,null),e.append(a,z),e.append(a,y),e.append(y,A),e.append(A,j),e.append(y,M),I.m(y,null),e.append(n,T),f&&f.m(n,null),e.append(n,S)},p(s,_){_[0]&65537&&l!==(l=(s[41]?s[16](s[41].period.charAt(0).toLowerCase()+s[41].period.substring(1)):"")+"")&&e.set_data(r,l),_[0]&65537&&b!==(b=(s[41]?s[41].amount==="No limit"?s[16]("noLimit"):s[41].amount:0)+"")&&e.set_data(L,b),_[0]&65537&&(w=s[41].amount!="No limit"&&s[41].amount!=s[16]("noLimit")),w?h?h.p(s,_):(h=U(s),h.c(),h.m(p,null)):h&&(h.d(1),h=null),_[0]&65536&&R!==(R=s[16]("expirationDate")+"")&&e.set_data(j,R),N===(N=D(s))&&I?I.p(s,_):(I.d(1),I=N(s),I&&(I.c(),I.m(y,null))),u===(u=C(s,_))&&f?f.p(s,_):(f&&f.d(1),f=u&&u(s),f&&(f.c(),f.m(n,S)))},d(s){s&&e.detach(n),h&&h.d(),I.d(),f&&f.d()}}}function ye(t){let n,a=t[16]("noLimit")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("noLimit")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function we(t){let n=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",a,o,i=t[41].amount!=="No limit"&&t[41].amount!==t[16]("noLimit"),l,r=i&&J(t);return{c(){a=e.text(n),o=e.space(),r&&r.c(),l=e.empty()},m(d,p){e.insert(d,a,p),e.insert(d,o,p),r&&r.m(d,p),e.insert(d,l,p)},p(d,p){p[0]&65537&&n!==(n=(d[41]?d[41].amount==="No limit"?d[16]("noLimit"):d[41].amount:0)+"")&&e.set_data(a,n),p[0]&65537&&(i=d[41].amount!=="No limit"&&d[41].amount!==d[16]("noLimit")),i?r?r.p(d,p):(r=J(d),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(d){d&&(e.detach(a),e.detach(o),e.detach(l)),r&&r.d(d)}}}function J(t){let n,a=t[16]("minutes")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("minutes")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function he(t){let n,a=t[16]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("notAvailable")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function ve(t){let n,a=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?F.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function be(t){let n,a,o,i,l,r,d,p,b;function L(){return t[25](t[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),i=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(i,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(i,"iteminfoamount",r=t[41].updateMinutes),e.set_custom_element_data(i,"currency",d=t[16]("minutes")),e.set_custom_element_data(i,"lang",t[3]),e.set_custom_element_data(i,"clientstyling",t[4]),e.set_custom_element_data(i,"clientstylingurl",t[5]),e.set_custom_element_data(i,"mbsource",t[6]),e.attr(n,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(c,w){e.insert(c,n,w),e.append(n,a),e.append(n,o),e.append(n,i),p||(b=e.listen(a,"click",e.prevent_default(L)),p=!0)},p(c,w){t=c,w[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(i,"showpopup",l),w[0]&1&&r!==(r=t[41].updateMinutes)&&e.set_custom_element_data(i,"iteminfoamount",r),w[0]&65536&&d!==(d=t[16]("minutes"))&&e.set_custom_element_data(i,"currency",d),w[0]&8&&e.set_custom_element_data(i,"lang",t[3]),w[0]&16&&e.set_custom_element_data(i,"clientstyling",t[4]),w[0]&32&&e.set_custom_element_data(i,"clientstylingurl",t[5]),w[0]&64&&e.set_custom_element_data(i,"mbsource",t[6])},d(c){c&&e.detach(n),p=!1,b()}}}function Ce(t){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(i,l){e.insert(i,n,l),a||(o=e.listen(n,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(i,l){t=i},d(i){i&&e.detach(n),a=!1,o()}}}function K(t){let n,a,o,i,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,d,p,b,L,c,w=t[16]("expirationDate")+"",z,y,A,R,j;function M(u,f){return u[41].amount!==0?we:ye}let T=M(t),k=T(t);function S(u,f){return u[41].expiryDate?ve:he}let h=S(t),D=h(t);function N(u,f){if(f[0]&65537&&(R=null),R==null&&(R=u[41].amount!==u[16]("noLimit")&&u[41].amount!=="No limit"&&!u[41].isModified),R)return Ce;if(u[41].amount!="No limit"&&u[41].isModified)return be}let I=N(t,[-1,-1]),C=I&&I(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),k.c(),b=e.space(),L=e.element("div"),c=e.element("div"),z=e.text(w),y=e.space(),D.c(),A=e.space(),C&&C.c(),j=e.space(),e.attr(i,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(c,"class","InfoCardRowTitle"),e.attr(L,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(u,f){e.insert(u,n,f),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),k.m(p,null),e.append(a,b),e.append(a,L),e.append(L,c),e.append(c,z),e.append(L,y),D.m(L,null),e.append(n,A),C&&C.m(n,null),e.append(n,j)},p(u,f){f[0]&65537&&l!==(l=(u[41]?u[16](u[41].period.charAt(0).toLowerCase()+u[41].period.substring(1)):"")+"")&&e.set_data(r,l),T===(T=M(u))&&k?k.p(u,f):(k.d(1),k=T(u),k&&(k.c(),k.m(p,null))),f[0]&65536&&w!==(w=u[16]("expirationDate")+"")&&e.set_data(z,w),h===(h=S(u))&&D?D.p(u,f):(D.d(1),D=h(u),D&&(D.c(),D.m(L,null))),I===(I=N(u,f))&&C?C.p(u,f):(C&&C.d(1),C=I&&I(u),C&&(C.c(),C.m(n,j)))},d(u){u&&e.detach(n),k.d(),D.d(),C&&C.d()}}}function Z(t){let n,a=t[16]("removeLimits")+"",o,i,l;return{c(){n=e.element("button"),o=e.text(a),e.attr(n,"class","InfoCardRemoveButton")},m(r,d){e.insert(r,n,d),e.append(n,o),i||(l=e.listen(n,"click",t[28]),i=!0)},p(r,d){d[0]&65536&&a!==(a=r[16]("removeLimits")+"")&&e.set_data(o,a)},d(r){r&&e.detach(n),i=!1,l()}}}function X(t){let n,a,o;return{c(){n=e.element("player-account-modal"),a=e.element("player-account-gaming-limits-confirmation-modal"),e.set_custom_element_data(a,"modaltext",o=t[11]?t[13]:t[14]),e.set_custom_element_data(a,"modalsource","infoCard"),e.set_custom_element_data(a,"lang",t[3]),e.set_custom_element_data(a,"clientstyling",t[4]),e.set_custom_element_data(a,"clientstylingurl",t[5]),e.set_custom_element_data(a,"mbsource",t[6]),e.set_custom_element_data(n,"clientstyling",t[4]),e.set_custom_element_data(n,"clientstylingurl",t[5]),e.set_custom_element_data(n,"mbsource",t[6])},m(i,l){e.insert(i,n,l),e.append(n,a)},p(i,l){l[0]&26624&&o!==(o=i[11]?i[13]:i[14])&&e.set_custom_element_data(a,"modaltext",o),l[0]&8&&e.set_custom_element_data(a,"lang",i[3]),l[0]&16&&e.set_custom_element_data(a,"clientstyling",i[4]),l[0]&32&&e.set_custom_element_data(a,"clientstylingurl",i[5]),l[0]&64&&e.set_custom_element_data(a,"mbsource",i[6]),l[0]&16&&e.set_custom_element_data(n,"clientstyling",i[4]),l[0]&32&&e.set_custom_element_data(n,"clientstylingurl",i[5]),l[0]&64&&e.set_custom_element_data(n,"mbsource",i[6])},d(i){i&&e.detach(n)}}}function ke(t){let n;function a(l,r){return l[8]?ue:de}let o=a(t),i=o(t);return{c(){n=e.element("div"),i.c()},m(l,r){e.insert(l,n,r),i.m(n,null),t[29](n)},p(l,r){o===(o=a(l))&&i?i.p(l,r):(i.d(1),i=o(l),i&&(i.c(),i.m(n,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(n),i.d(),t[29](null)}}}function Ie(t,n,a){let o;e.component_subscribe(t,e.$format,m=>a(16,o=m));let{limitsdata:i=[]}=n,{limitname:l=""}=n,{currency:r=""}=n,{lang:d="en"}=n,{clientstyling:p=""}=n,{clientstylingurl:b=""}=n,{mbsource:L}=n,{translationurl:c=""}=n;const w=()=>{fetch(c).then(v=>v.json()).then(v=>{Object.keys(v).forEach(B=>{H(B,v[B])})}).catch(v=>{console.log(v)})};Object.keys(Y).forEach(m=>{H(m,Y[m])});let z=!0,y,A=new Array(5).fill(0),R=["Daily","Weekly","Monthly"],j=!0,M=!0,T=!1,k=window.navigator.userAgent,S=e.getDevice(k)!=="PC",h="",D="",N=!0,I=new Date;const C=m=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:m,name:l},window.location.href)},u=m=>{a(12,T=!0),a(11,M=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:l},window.location.href)},f=(m,v)=>{a(12,T=!0),a(11,M=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:v},window.location.href)},s=m=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{a(9,A[m]=!0,A)},50)},_=m=>{let v=[...m];R.forEach((B,W)=>{v.find(P=>P.period===B)||(v=g(v,W,B));const q=v.find(P=>P.period===B);q&&q.amount!=="No limit"&&a(10,j=!1)}),m.splice(0,m.length,...v),a(8,z=!1)},g=(m,v,B)=>{const W={period:B,amount:"No limit",currency:"",isModified:!1,expiryDate:""},q=[...m];return q.splice(v,0,W),q},E=(m,v)=>m.period==="Weekly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Weekly"?1:m.period==="Daily"&&v.period==="Weekly"||m.period==="Daily"&&v.period==="Monthly"||m.period==="Weekly"&&v.period==="Monthly"?-1:0,$=()=>{let m="";m=l==="Time Limit"?"time limit":l==="Deposit Limit"?"deposit limit":l==="Wagering Limit"?"wagering limit":"loss limit",a(13,h=o("removeLimitsText",{values:{limit:m}})),a(14,D=o("removeLimitText",{values:{limit:m}}))},ee=m=>{m.forEach(v=>{v.isModified&&a(15,N=!1)})},te=()=>{me(d),$(),ee(i),_(i),i.sort(E)},V=m=>{if(m.data)switch(m.data.type){case"ClosePlayerAccountGamingLimitsPopup":a(9,A=new Array(5).fill(0));break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),a(12,T=!1),a(11,M=!1);break}};e.onMount(()=>(window.addEventListener("message",V,!1),()=>{window.removeEventListener("message",V)}));const ie=()=>s(0),ne=m=>s(m+1),ae=m=>s(m+1),oe=()=>C(i),le=()=>u(i);function re(m){e.binding_callbacks[m?"unshift":"push"](()=>{y=m,a(7,y)})}return t.$$set=m=>{"limitsdata"in m&&a(0,i=m.limitsdata),"limitname"in m&&a(1,l=m.limitname),"currency"in m&&a(2,r=m.currency),"lang"in m&&a(3,d=m.lang),"clientstyling"in m&&a(4,p=m.clientstyling),"clientstylingurl"in m&&a(5,b=m.clientstylingurl),"mbsource"in m&&a(6,L=m.mbsource),"translationurl"in m&&a(23,c=m.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&11&&i&&l&&d&&te(),t.$$.dirty[0]&144&&p&&y&&e.setClientStyling(y,p),t.$$.dirty[0]&160&&b&&y&&e.setClientStylingURL(y,b),t.$$.dirty[0]&192&&L&&y&&e.setStreamStyling(y,`${L}.Style`),t.$$.dirty[0]&8388608&&c&&w()},[i,l,r,d,p,b,L,y,z,A,j,M,T,h,D,N,o,S,I,C,u,f,s,c,ie,ne,ae,oe,le,re]}class x extends e.SvelteComponent{constructor(n){super(),e.init(this,n,Ie,ke,e.safe_not_equal,{limitsdata:0,limitname:1,currency:2,lang:3,clientstyling:4,clientstylingurl:5,mbsource:6,translationurl:23},se,[-1,-1])}get limitsdata(){return this.$$.ctx[0]}set limitsdata(n){this.$$set({limitsdata:n}),e.flush()}get limitname(){return this.$$.ctx[1]}set limitname(n){this.$$set({limitname:n}),e.flush()}get currency(){return this.$$.ctx[2]}set currency(n){this.$$set({currency:n}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(n){this.$$set({lang:n}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(n){this.$$set({mbsource:n}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(n){this.$$set({translationurl:n}),e.flush()}}e.create_custom_element(x,{limitsdata:{},limitname:{},currency:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=x;