@everymatrix/player-account-controller-nd 1.76.1 → 1.76.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 (156) hide show
  1. package/components/{GeneralLogout-DqIgt_tx.js → GeneralLogout-C-KQBmk3.js} +1308 -1322
  2. package/components/{GeneralLogout-D030tuMl.js → GeneralLogout-C52-PhwD.js} +1284 -1298
  3. package/components/GeneralLogout-COm1JcKW.cjs +21 -0
  4. package/components/PlayerAccountBettingHistory-5QM3bGgT.js +310 -0
  5. package/components/PlayerAccountBettingHistory-B91V20F2.js +311 -0
  6. package/components/PlayerAccountBettingHistory-CE023VGz.cjs +1 -0
  7. package/components/{PlayerAccountBiometrics-DsYJOGIk.js → PlayerAccountBiometrics-C5FFOJ5V.js} +5 -5
  8. package/components/{PlayerAccountBiometrics-N164JTVo.cjs → PlayerAccountBiometrics-DPdT285K.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-YcohloWe.js → PlayerAccountBiometrics-DuvDCmjx.js} +5 -5
  10. package/components/{PlayerAccountClosureNd-B9z8p3ie.js → PlayerAccountClosureNd-BEMKT7IM.js} +6 -6
  11. package/components/{PlayerAccountClosureNd-DFWHunWk.cjs → PlayerAccountClosureNd-CMzRAP8U.cjs} +1 -1
  12. package/components/{PlayerAccountClosureNd-C5CrElCk.js → PlayerAccountClosureNd-CYHq0859.js} +6 -6
  13. package/components/{PlayerAccountControllerNd-CfcDfLOF.cjs → PlayerAccountControllerNd-5P_qraz8.cjs} +1 -1
  14. package/components/{PlayerAccountControllerNd-BVcSUC86.js → PlayerAccountControllerNd-C2xNfItK.js} +211 -211
  15. package/components/{PlayerAccountControllerNd-Dlx4or6e.js → PlayerAccountControllerNd-D_dltJgG.js} +215 -215
  16. package/components/{PlayerAccountGamingLimits-DLyOkU8g.cjs → PlayerAccountGamingLimits-B2vzRems.cjs} +1 -1
  17. package/components/{PlayerAccountGamingLimits-CUtQADXZ.js → PlayerAccountGamingLimits-B7ppWJQ6.js} +124 -124
  18. package/components/{PlayerAccountGamingLimits-CsAmDJwA.js → PlayerAccountGamingLimits-DMS9a3TN.js} +124 -124
  19. package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +1 -0
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-CKwL1tb1.js → PlayerAccountGamingLimitsConfirmationModal-Crt7TSIB.js} +38 -38
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-DXqRhhmC.js → PlayerAccountGamingLimitsConfirmationModal-rkO4-ifF.js} +38 -38
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-DKNPRs3o.js → PlayerAccountGamingLimitsGroupEdit-B-MqO4BJ.js} +1009 -1009
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-Cj8Zh8WK.js → PlayerAccountGamingLimitsGroupEdit-CDRqETAd.js} +1009 -1009
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-BEb7Fv28.cjs → PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs} +2 -2
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-OS3hwfOI.js → PlayerAccountGamingLimitsHistory2Nd-C5ysmYyV.js} +4 -4
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-BhLSHYdC.js → PlayerAccountGamingLimitsHistory2Nd-C85Ls9oF.js} +4 -4
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-CP6Lgi2e.cjs → PlayerAccountGamingLimitsHistory2Nd-CG8WJl-W.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-CLe77Gl9.js → PlayerAccountGamingLimitsInfoCard-BYwQnhb5.js} +7 -7
  29. package/components/{PlayerAccountGamingLimitsInfoCard-XCP1Kxff.cjs → PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsInfoCard-DsRCdtpt.js → PlayerAccountGamingLimitsInfoCard-DjnVkaho.js} +7 -7
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-AHp_6LYD.js → PlayerAccountGamingLimitsPage2Gm16Nd-B6s5JpNY.js} +23 -23
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Bleqn2Tm.js → PlayerAccountGamingLimitsPage2Gm16Nd-nx7oRLey.js} +21 -21
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-D0i2RHzl.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-q7UT5qmk.cjs} +2 -2
  34. package/components/{PlayerAccountGamingLimitsPopup-B04Er6pi.js → PlayerAccountGamingLimitsPopup-1ObhRFHn.js} +21 -21
  35. package/components/{PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs → PlayerAccountGamingLimitsPopup-D16rhs4n.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-oQNgmn2e.js → PlayerAccountGamingLimitsPopup-lZ7y_RVP.js} +21 -21
  37. package/components/{PlayerAccountGamingLimitsWrapper2Nd-BH96qAIg.js → PlayerAccountGamingLimitsWrapper2Nd-Bgr6DeY3.js} +6 -6
  38. package/components/{PlayerAccountGamingLimitsWrapper2Nd-DPJcBncF.js → PlayerAccountGamingLimitsWrapper2Nd-Blbz-UsS.js} +6 -6
  39. package/components/{PlayerAccountGamingLimitsWrapper2Nd-CmEWPqYD.cjs → PlayerAccountGamingLimitsWrapper2Nd-D97T9bNZ.cjs} +1 -1
  40. package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +1 -0
  41. package/components/{PlayerAccountGeneralConfirmationModal-CukB9VCO.js → PlayerAccountGeneralConfirmationModal-Bgat7eVE.js} +53 -53
  42. package/components/{PlayerAccountGeneralConfirmationModal-ESnfg5wk.js → PlayerAccountGeneralConfirmationModal-DrgjMSLh.js} +53 -53
  43. package/components/{PlayerAccountMenuNd-BIxULyK_.js → PlayerAccountMenuNd-V9EOIgPS.js} +7 -7
  44. package/components/{PlayerAccountMenuNd-y2DyyHIy.cjs → PlayerAccountMenuNd-Yk5u12tl.cjs} +1 -1
  45. package/components/{PlayerAccountMenuNd-Dz2t35yx.js → PlayerAccountMenuNd-alDPH0d2.js} +7 -7
  46. package/components/{PlayerAccountModal-BUf_-0GM.js → PlayerAccountModal-9FK6eAt0.js} +10 -10
  47. package/components/{PlayerAccountModal-BZ_7luqG.js → PlayerAccountModal-DCsw7iyn.js} +10 -10
  48. package/components/{PlayerAccountModal-DaIBO9tP.cjs → PlayerAccountModal-DvJ0OsPC.cjs} +1 -1
  49. package/components/{PlayerAccountNotifications-CNm0Cac9.js → PlayerAccountNotifications-BVfKQdMA.js} +6 -6
  50. package/components/{PlayerAccountNotifications-qzx6Peu-.js → PlayerAccountNotifications-BzEDVvTZ.js} +6 -6
  51. package/components/{PlayerAccountNotifications-BbvJAh0S.cjs → PlayerAccountNotifications-CdPeCghS.cjs} +1 -1
  52. package/components/{PlayerAccountProductRestriction-DJUublp5.cjs → PlayerAccountProductRestriction-BJ0LFpLp.cjs} +268 -268
  53. package/components/{PlayerAccountProductRestriction-Dj-GoA-Y.js → PlayerAccountProductRestriction-DmWDaeEI.js} +2494 -2498
  54. package/components/{PlayerAccountProductRestriction-k26MhfnT.js → PlayerAccountProductRestriction-EAWMHqK4.js} +2517 -2521
  55. package/components/{PlayerAccountSelfExclusionNd-CNzMQ7eW.js → PlayerAccountSelfExclusionNd-BI74DoLY.js} +843 -844
  56. package/components/{PlayerAccountSelfExclusionNd-AgJSFDnT.cjs → PlayerAccountSelfExclusionNd-BLr1N-Bv.cjs} +152 -152
  57. package/components/{PlayerAccountSelfExclusionNd-BQtNrIGS.js → PlayerAccountSelfExclusionNd-CiB251y6.js} +824 -825
  58. package/components/{PlayerAccountTimeout-CYyxjqJQ.js → PlayerAccountTimeout-BlJS9laL.js} +43 -43
  59. package/components/{PlayerAccountTimeout-DTzfXl3o.js → PlayerAccountTimeout-GP0WHuhG.js} +43 -43
  60. package/components/{PlayerAccountTimeout-BSSbDBi8.cjs → PlayerAccountTimeout-U0kgxhKU.cjs} +1 -1
  61. package/components/{PlayerAccountTransactionsHistory-Bcxv7da3.cjs → PlayerAccountTransactionsHistory-CNgQQxdT.cjs} +1 -1
  62. package/components/{PlayerAccountTransactionsHistory--RNTGYbI.js → PlayerAccountTransactionsHistory-D5K0uJEO.js} +7 -7
  63. package/components/{PlayerAccountTransactionsHistory-CLGGAntq.js → PlayerAccountTransactionsHistory-Lh_TpwTB.js} +7 -7
  64. package/components/{PlayerActiveBonuses-_5tMeqW1.js → PlayerActiveBonuses-D4OBnwNa.js} +6 -6
  65. package/components/{PlayerActiveBonuses-VMRnoY1_.cjs → PlayerActiveBonuses-Me5Q3o65.cjs} +1 -1
  66. package/components/{PlayerActiveBonuses-CG3MShje.js → PlayerActiveBonuses-zLuqH4eW.js} +6 -6
  67. package/components/{PlayerBonusCard-PjFBuYOQ.js → PlayerBonusCard-BbRQx8Gg.js} +7 -7
  68. package/components/{PlayerBonusCard-JxCswDEv.js → PlayerBonusCard-BhW_g3sH.js} +7 -7
  69. package/components/{PlayerBonusCard-KehruUku.cjs → PlayerBonusCard-DgyhSYBs.cjs} +1 -1
  70. package/components/{PlayerBonusHistory-WEjZxD6T.cjs → PlayerBonusHistory-BmeRyaDK.cjs} +1 -1
  71. package/components/{PlayerBonusHistory-BJxVpVed.js → PlayerBonusHistory-BxbtWY0l.js} +7 -7
  72. package/components/{PlayerBonusHistory-D4fHekky.js → PlayerBonusHistory-C_uP6nBB.js} +7 -7
  73. package/components/{PlayerChangePasswordNd-DcgU3jc2.cjs → PlayerChangePasswordNd-DSIi_04v.cjs} +1 -1
  74. package/components/{PlayerChangePasswordNd-BNKqXdus.js → PlayerChangePasswordNd-DUzbCK4p.js} +4 -4
  75. package/components/{PlayerChangePasswordNd-DeLVgl-F.js → PlayerChangePasswordNd-DWsHRVAH.js} +4 -4
  76. package/components/{PlayerDeposit-CNQfct0C.js → PlayerDeposit-BeGgsgNu.js} +73 -73
  77. package/components/{PlayerDeposit-DGv0xh8z.js → PlayerDeposit-CI5GIyAe.js} +73 -73
  78. package/components/PlayerDeposit-CmBFg6tX.cjs +1 -0
  79. package/components/{PlayerGamingHistory-wT_xKClx.js → PlayerGamingHistory-BJQKapHg.js} +53 -53
  80. package/components/{PlayerGamingHistory-BGfVusNu.js → PlayerGamingHistory-DEgVt4st.js} +60 -60
  81. package/components/{PlayerGamingHistory-BxN4Cjj3.cjs → PlayerGamingHistory-F3yi70Vu.cjs} +1 -1
  82. package/components/{PlayerPendingWithdrawals-BizDJ0F9.js → PlayerPendingWithdrawals-BL4JTLkC.js} +6 -6
  83. package/components/{PlayerPendingWithdrawals-DfQ_PvkY.cjs → PlayerPendingWithdrawals-D-KWiMH6.cjs} +1 -1
  84. package/components/{PlayerPendingWithdrawals-BB2HoABl.js → PlayerPendingWithdrawals-o6_OjL5C.js} +6 -6
  85. package/components/{PlayerProfileInfo-CKJNYYA8.cjs → PlayerProfileInfo-CwZQ79SV.cjs} +1 -1
  86. package/components/{PlayerProfileInfo-Cnl1XufF.js → PlayerProfileInfo-D0A3aRV_.js} +108 -108
  87. package/components/{PlayerProfileInfo-C-g4XepU.js → PlayerProfileInfo-xRMbiw1T.js} +95 -95
  88. package/components/{PlayerRealityCheck-BBmsx1va.js → PlayerRealityCheck-BEiZhn6p.js} +6 -6
  89. package/components/{PlayerRealityCheck-P7wFyweE.js → PlayerRealityCheck-CYU_NrFB.js} +6 -6
  90. package/components/{PlayerRealityCheck-Cq2rIALW.cjs → PlayerRealityCheck-JdOGHDG6.cjs} +1 -1
  91. package/components/{PlayerTransactionHistory-CqY9DKiK.js → PlayerTransactionHistory-BS1LjP09.js} +6 -6
  92. package/components/{PlayerTransactionHistory-DN6FJ2lh.js → PlayerTransactionHistory-DdbQZ6mw.js} +6 -6
  93. package/components/{PlayerTransactionHistory-DPvvu8Wp.cjs → PlayerTransactionHistory-Hz2IWD73.cjs} +1 -1
  94. package/components/{PlayerWithdrawal-lAVd0flG.js → PlayerWithdrawal-DGN4Y9QP.js} +6 -6
  95. package/components/{PlayerWithdrawal-oEAQeQgU.js → PlayerWithdrawal-DOec04Iq.js} +6 -6
  96. package/components/{PlayerWithdrawal-BcaC1sEF.cjs → PlayerWithdrawal-P_0MIA-u.cjs} +1 -1
  97. package/es2015/player-account-controller-nd.cjs +1 -1
  98. package/es2015/player-account-controller-nd.js +1 -1
  99. package/esnext/player-account-controller-nd.js +1 -1
  100. package/package.json +1 -1
  101. package/stencil/{checkbox-group-input_15-HwHjvct_.js → checkbox-group-input_15-Cm-Io-xD.js} +3216 -3222
  102. package/stencil/{checkbox-group-input_15-BYhnrwip.js → checkbox-group-input_15-DuNUJJTh.js} +3212 -3218
  103. package/stencil/{checkbox-group-input_15-Mcop3LHQ.cjs → checkbox-group-input_15-_nxwaXJG.cjs} +271 -271
  104. package/stencil/index-1ef3a64c-DD-PHh2g.cjs +1 -0
  105. package/stencil/index-1ef3a64c-DQk1yZfC.js +556 -0
  106. package/stencil/{index-1ef3a64c-BJwg6KZV.js → index-1ef3a64c-DuKSFSN8.js} +201 -201
  107. package/stencil/{index-6e523641-Q8F9VHK2.js → index-6e523641-BMbc57IV.js} +152 -152
  108. package/stencil/index-6e523641-BZDelC3M.cjs +1 -0
  109. package/stencil/{index-6e523641-078VKWzv.js → index-6e523641-D97cqlCQ.js} +142 -142
  110. package/stencil/index-9c0f6c58-8Ks3y9ln.cjs +1 -0
  111. package/stencil/{index-9c0f6c58-DH5Ki39B.js → index-9c0f6c58-GCIFeGLp.js} +118 -118
  112. package/stencil/{index-9c0f6c58-8sXzcKbt.js → index-9c0f6c58-Ucwc3Jk1.js} +223 -223
  113. package/stencil/index-b2193545-BMFR9-V2.cjs +1 -0
  114. package/stencil/{index-b2193545-DfDFpDFs.js → index-b2193545-DPKCFIaU.js} +169 -169
  115. package/stencil/{index-b2193545-BekNYO1T.js → index-b2193545-LzjWxki5.js} +176 -176
  116. package/stencil/index-c666b6e6-boVOGpc7.cjs +1 -0
  117. package/stencil/{index-c666b6e6-BVlUm5XF.js → index-c666b6e6-c0hf32cu.js} +124 -124
  118. package/stencil/{index-c666b6e6-Dg6tFb_k.js → index-c666b6e6-eYzoO3Jn.js} +245 -245
  119. package/stencil/{pam-change-password-9aef79f2-D_ez_GX8.js → pam-change-password-9aef79f2-CavSOe-m.js} +59 -59
  120. package/stencil/{pam-change-password-9aef79f2-C-qbI9bv.cjs → pam-change-password-9aef79f2-ONc9NBqY.cjs} +2 -2
  121. package/stencil/{pam-change-password-9aef79f2-DiWK4wfJ.js → pam-change-password-9aef79f2-mdiqi4BL.js} +59 -59
  122. package/stencil/{pam-change-password-DpPAvGik.cjs → pam-change-password-BKya2rzZ.cjs} +1 -1
  123. package/stencil/{pam-change-password-GW3U-yIN.js → pam-change-password-CZxcB-oo.js} +1 -1
  124. package/stencil/{pam-change-password-CzOysbF5.js → pam-change-password-CurSbN32.js} +1 -1
  125. package/stencil/{player-kyc-verification-u-XUlDen.js → player-kyc-verification-B9ZaCq1K.js} +1 -1
  126. package/stencil/{player-kyc-verification-DW2tWbg_.cjs → player-kyc-verification-D10m225z.cjs} +1 -1
  127. package/stencil/{player-kyc-verification-BJuBsd7A.js → player-kyc-verification-Wsswi9br.js} +1 -1
  128. package/stencil/{ui-skeleton-CnxOhYAT.js → ui-skeleton-2XsWxl4S.js} +2 -2
  129. package/stencil/{ui-skeleton-Bez-iF-R.cjs → ui-skeleton-Cbqo0oYF.cjs} +1 -1
  130. package/stencil/{ui-skeleton-CScGJdv_.js → ui-skeleton-LneRlsD3.js} +2 -2
  131. package/stencil/{ui-skeleton-ae35c6f2-CXRVKjq-.js → ui-skeleton-ae35c6f2-8s3Rqu1P.js} +1 -1
  132. package/stencil/{ui-skeleton-ae35c6f2-D37mmp9J.cjs → ui-skeleton-ae35c6f2-B4ncHe9g.cjs} +1 -1
  133. package/stencil/{ui-skeleton-ae35c6f2-Bl0_r9TX.js → ui-skeleton-ae35c6f2-OnzqIAY0.js} +1 -1
  134. package/stencil/{user-deposit-withdrawal-KqJCF9Hl.cjs → user-deposit-withdrawal-BP58nPO1.cjs} +2 -2
  135. package/stencil/{user-deposit-withdrawal-B7dnuKq0.js → user-deposit-withdrawal-CSakhNt1.js} +45 -45
  136. package/stencil/{user-deposit-withdrawal-ar8K3Kn7.js → user-deposit-withdrawal-DcVKAa80.js} +45 -45
  137. package/stencil/{user-transaction-history-Ch7DwPng.cjs → user-transaction-history-DLnBnc9G.cjs} +1 -1
  138. package/stencil/{user-transaction-history-DeLTrl8E.js → user-transaction-history-DgJplHTM.js} +1 -1
  139. package/stencil/{user-transaction-history-8J3-J0I0.js → user-transaction-history-DmJRwGhM.js} +1 -1
  140. package/stencil/{user-transaction-history_2-MG1TmhMo.js → user-transaction-history_2-B2zGklPY.js} +848 -848
  141. package/stencil/{user-transaction-history_2-B4YDWP13.js → user-transaction-history_2-C4mIlMIA.js} +842 -842
  142. package/stencil/user-transaction-history_2-hm8W11mj.cjs +2 -0
  143. package/components/GeneralLogout-TofSUXEw.cjs +0 -21
  144. package/components/PlayerAccountBettingHistory-85apG_ux.cjs +0 -1
  145. package/components/PlayerAccountBettingHistory-BspqrGzf.js +0 -310
  146. package/components/PlayerAccountBettingHistory-Dl1_SAM4.js +0 -311
  147. package/components/PlayerAccountGamingLimitsConfirmationModal-cxg0byfD.cjs +0 -1
  148. package/components/PlayerAccountGeneralConfirmationModal-BFCCI67b.cjs +0 -1
  149. package/components/PlayerDeposit-BLDWbMBK.cjs +0 -1
  150. package/stencil/index-1ef3a64c-BkMv_VME.cjs +0 -1
  151. package/stencil/index-1ef3a64c-Cl4fiqPl.js +0 -556
  152. package/stencil/index-6e523641-BzXfsijo.cjs +0 -1
  153. package/stencil/index-9c0f6c58-CbFwvYJ1.cjs +0 -1
  154. package/stencil/index-b2193545-BteAUmdh.cjs +0 -1
  155. package/stencil/index-c666b6e6-rZoDoKh2.cjs +0 -1
  156. package/stencil/user-transaction-history_2-BxjAG99A.cjs +0 -2
@@ -25,8 +25,8 @@ var Je = (t, e, i) => new Promise((o, a) => {
25
25
  }, d = (p) => p.done ? o(p.value) : Promise.resolve(p.value).then(r, s);
26
26
  d((i = i.apply(t, e)).next());
27
27
  });
28
- import { a as Kt, $ as Yt, S as Jt, i as Zt, f as re, c as Xt, s as Qt, b as $t, e as h, d as U, k as z, l as u, o as Ce, p as A, q as eo, X as io, v as to, w as oo, x as ao, g as f, E as no, z as ci, Q as fi, R as Oi, A as ro, t as M, F as Oe, m as le, n as I, Y as De, r as Be, O as ge, T as Ne, P as Pe, U as Vi, V as We, B as so, y as Z } from "./GeneralLogout-DqIgt_tx.js";
29
- import "../stencil/ui-skeleton-CnxOhYAT.js";
28
+ import { a as Kt, $ as Yt, S as Jt, i as Zt, f as re, c as Xt, s as Qt, b as $t, e as h, d as U, k as z, l as u, o as Ce, p as A, q as eo, X as io, v as to, g as f, E as oo, x as ci, Q as fi, R as Oi, y as ao, z as no, A as ro, t as M, F as Oe, m as le, n as I, Y as De, r as Be, O as ge, T as Ne, P as Pe, U as Vi, V as We, B as so, w as Z } from "./GeneralLogout-C-KQBmk3.js";
29
+ import "../stencil/ui-skeleton-2XsWxl4S.js";
30
30
  const J = {
31
31
  lugas: {
32
32
  title: "Deposit Limit",
@@ -3257,7 +3257,7 @@ function Oo(t) {
3257
3257
  function Vo(t, e, i) {
3258
3258
  let o;
3259
3259
  eo(t, so, (n) => i(30, o = n));
3260
- let { lang: a = "en" } = e, { currency: r = "" } = e, { limits: s = "" } = e, { session: d = "" } = e, { userid: p = "" } = e, { endpoint: c = "" } = e, { apiversion: L = "" } = e, { customcurrencysymbols: k = "" } = e, { netdepositprogress: C = "false" } = e, { enablecompliancetext: b = "" } = e, { deletelimit: _ = "" } = e, { amountsconfig: B = "" } = e, { periodsconfig: ie = "" } = e, { limittabindex: ae = "" } = e, { limitformat: O = "" } = e, { allowedextenssion: j = ".jpg,.jpeg,.png,.pdf,.webp,image/png" } = e, { filesizeallow: oe = "12934000" } = e, { clientstyling: te = "" } = e, { clientstylingurl: T = "" } = e, { translationurl: G = "" } = e, { mbsource: q } = e, E, P = [], y = window.navigator.userAgent, X = !io(y), x = "", H = "", K = "", Q = "", $ = "", ne = "", Y = "", w = "", V = "", D = 0, F, N, Te, W = [], he = {}, ve = {}, Se = {}, Fi = {}, we, ze = { EUR: "€", RON: " lei", USD: "$" }, Re = { remove: {}, confirm: {}, update: {} }, de = {}, Ze = !1, Ve = !1, se = !0, Le = !1, Fe = !1, Ae = !1, pe = !1, be = !1, je = !1, Ee = !1;
3260
+ let { lang: a = "en" } = e, { currency: r = "" } = e, { limits: s = "" } = e, { session: d = "" } = e, { userid: p = "" } = e, { endpoint: c = "" } = e, { apiversion: L = "" } = e, { customcurrencysymbols: k = "" } = e, { netdepositprogress: C = "false" } = e, { enablecompliancetext: b = "" } = e, { deletelimit: _ = "" } = e, { amountsconfig: B = "" } = e, { periodsconfig: ie = "" } = e, { limittabindex: ae = "" } = e, { limitformat: O = "" } = e, { allowedextenssion: j = ".jpg,.jpeg,.png,.pdf,.webp,image/png" } = e, { filesizeallow: oe = "12934000" } = e, { clientstyling: te = "" } = e, { clientstylingurl: T = "" } = e, { translationurl: G = "" } = e, { mbsource: q } = e, E, P = [], y = window.navigator.userAgent, X = !io(y), x = "", H = "", K = "", Q = "", $ = "", ne = "", Y = "", w = "", V = "", D = 0, F, N, Te, W = [], he = {}, ye = {}, Se = {}, Fi = {}, we, ze = { EUR: "€", RON: " lei", USD: "$" }, Re = { remove: {}, confirm: {}, update: {} }, de = {}, Ze = !1, Ve = !1, se = !0, Le = !1, Fe = !1, Ae = !1, pe = !1, be = !1, je = !1, Ee = !1;
3261
3261
  const Xe = {
3262
3262
  wager: "wagering",
3263
3263
  loss: "loss",
@@ -3312,8 +3312,8 @@ function Vo(t, e, i) {
3312
3312
  for (let v = 0; v < m.length; v++)
3313
3313
  i(7, W[v].product = m[v].product, W), i(7, W[v].min = parseInt(m[v].minMax.split("-")[0], 10), W), i(7, W[v].max = parseInt(m[v].minMax.split("-")[1], 10), W), i(8, J[m[v].value].periods = m[v].periods, J);
3314
3314
  ne = (g = W[0]) == null ? void 0 : g.value, W.forEach((v) => {
3315
- ve[v.value] = { min: v.min, max: v.max }, Fi[v.value] = v.product;
3316
- }), ve && (ve[ne] ? (i(11, Q = ve[ne].min), i(12, $ = ve[ne].max)) : (i(11, Q = 1), i(12, $ = 9999999)));
3315
+ ye[v.value] = { min: v.min, max: v.max }, Fi[v.value] = v.product;
3316
+ }), ye[ne] ? (i(11, Q = ye[ne].min), i(12, $ = ye[ne].max)) : (i(11, Q = 1), i(12, $ = 9999999));
3317
3317
  }, Hi = () => {
3318
3318
  const n = /\(([^)]+)\)/g;
3319
3319
  return [...B.matchAll(n)].flat().filter((m) => !m.includes("("));
@@ -3346,7 +3346,7 @@ function Vo(t, e, i) {
3346
3346
  }, Ji = () => {
3347
3347
  if (!(N > 0))
3348
3348
  return;
3349
- ye(), i(22, se = !0);
3349
+ ve(), i(22, se = !0);
3350
3350
  let n = new URL(`/v2/player/${p}/limits`, c), l = {};
3351
3351
  x === "sessionLimit" ? l = {
3352
3352
  sessionLimit: N,
@@ -3390,7 +3390,7 @@ function Vo(t, e, i) {
3390
3390
  },
3391
3391
  window.location.href
3392
3392
  );
3393
- if (ye(), i(22, se = !0), m && m.reviewRequired && !Y && N > m.amount) {
3393
+ if (ve(), i(22, se = !0), m && m.reviewRequired && !Y && N > m.amount) {
3394
3394
  i(28, je = !0), i(26, pe = !0);
3395
3395
  return;
3396
3396
  }
@@ -3425,7 +3425,7 @@ function Vo(t, e, i) {
3425
3425
  }, Zi = () => {
3426
3426
  if (!(N > 0))
3427
3427
  return;
3428
- ye(), i(22, se = !0);
3428
+ ve(), i(22, se = !0);
3429
3429
  const n = new URL(`/v1/player/${p}/limits/session/`, c);
3430
3430
  let g = {
3431
3431
  method: "PUT",
@@ -3447,7 +3447,7 @@ function Vo(t, e, i) {
3447
3447
  }, Xi = () => {
3448
3448
  if (!(N > 0))
3449
3449
  return;
3450
- ye(), i(22, se = !0);
3450
+ ve(), i(22, se = !0);
3451
3451
  const n = new URL(`/v1/player/${p}/limits/session/`, c);
3452
3452
  let g = {
3453
3453
  method: "PUT",
@@ -3473,7 +3473,7 @@ function Vo(t, e, i) {
3473
3473
  }, Qi = () => {
3474
3474
  if (!(N > 0))
3475
3475
  return;
3476
- ye(), i(22, se = !0);
3476
+ ve(), i(22, se = !0);
3477
3477
  const n = new URL(`/v2/player/${p}/limit/lugas`, c);
3478
3478
  let g = {
3479
3479
  method: "POST",
@@ -3616,7 +3616,7 @@ function Vo(t, e, i) {
3616
3616
  m.appendChild(R);
3617
3617
  }, Ge = () => Je(this, null, function* () {
3618
3618
  var l, m;
3619
- yield no();
3619
+ yield oo();
3620
3620
  let n = !0;
3621
3621
  for (let g = 0; g < W.length; g++) {
3622
3622
  for (let v = 0; v < (((l = W[g].currentLimits) == null ? void 0 : l.length) || 0); v++)
@@ -3729,7 +3729,7 @@ function Vo(t, e, i) {
3729
3729
  }, mt = (n) => n.preventDefault(), pt = (n) => {
3730
3730
  n.preventDefault(), ti(), Ee || $i();
3731
3731
  }, oi = () => {
3732
- i(29, Ee = !1), ve != null && ve[x] ? (i(11, Q = ve[x].min), i(12, $ = ve[x].max)) : (i(11, Q = 1), i(12, $ = 9999999));
3732
+ i(29, Ee = !1), ye != null && ye[x] ? (i(11, Q = ye[x].min), i(12, $ = ye[x].max)) : (i(11, Q = 1), i(12, $ = 9999999));
3733
3733
  }, ct = () => {
3734
3734
  if (he) {
3735
3735
  const n = he[J[x].callValue].find((g) => g.period === H), l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n.amount);
@@ -3797,10 +3797,10 @@ function Vo(t, e, i) {
3797
3797
  default:
3798
3798
  throw new Error(`Invalid apiversion attribute: ${L}`);
3799
3799
  }
3800
- }, ye = () => {
3800
+ }, ve = () => {
3801
3801
  i(25, Ae = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
3802
3802
  }, _t = (n) => {
3803
- i(9, x = n.limitType), i(10, H = n.period), ye(), i(22, se = !0);
3803
+ i(9, x = n.limitType), i(10, H = n.period), ve(), i(22, se = !0);
3804
3804
  let l = new URL(`/v2/player/${p}/limits/${Xe[n.limitType]}`, c);
3805
3805
  n.limitType !== "sessionLimit" && l.searchParams.append("periods", n.period);
3806
3806
  let m = {
@@ -3839,7 +3839,7 @@ function Vo(t, e, i) {
3839
3839
  default:
3840
3840
  throw Error(`Unknown limit.limitType: ${n.limitType}`);
3841
3841
  }
3842
- ye(), i(22, se = !0);
3842
+ ve(), i(22, se = !0);
3843
3843
  let v = {
3844
3844
  method: "DELETE",
3845
3845
  headers: {
@@ -3854,7 +3854,7 @@ function Vo(t, e, i) {
3854
3854
  ue("self_limitation_cancel_failed", n.amount), console.log(S), i(23, Le = !0);
3855
3855
  });
3856
3856
  }, ri = (n) => {
3857
- if (ye(), i(22, se = !0), n && n.reviewRequired && !Y) {
3857
+ if (ve(), i(22, se = !0), n && n.reviewRequired && !Y) {
3858
3858
  i(28, je = !0), i(26, pe = !0);
3859
3859
  return;
3860
3860
  }
@@ -3876,7 +3876,7 @@ function Vo(t, e, i) {
3876
3876
  });
3877
3877
  }, si = (n) => {
3878
3878
  const l = new URL(`/v1/player/${p}/limits/schedule/${n.scheduleId}`, c);
3879
- ye(), i(22, se = !0);
3879
+ ve(), i(22, se = !0);
3880
3880
  let m = {
3881
3881
  method: "DELETE",
3882
3882
  headers: {
@@ -3892,7 +3892,7 @@ function Vo(t, e, i) {
3892
3892
  });
3893
3893
  }, li = (n) => {
3894
3894
  const l = new URL(`v1/player/${p}/limits/schedule/acknowledge/${n.scheduleId}`, c);
3895
- ye(), i(22, se = !0);
3895
+ ve(), i(22, se = !0);
3896
3896
  let m = {
3897
3897
  method: "PATCH",
3898
3898
  headers: {
@@ -4031,11 +4031,11 @@ function Vo(t, e, i) {
4031
4031
  131072 && a && jt(), t.$$.dirty[1] & /*userid, session, endpoint, apiversion, lang*/
4032
4032
  7995392 && p && d && c && L && a && ce(), t.$$.dirty[0] & /*customStylingContainer*/
4033
4033
  32 | t.$$.dirty[1] & /*clientstyling*/
4034
- 536870912 && te && E && ro(E, te), t.$$.dirty[0] & /*customStylingContainer*/
4034
+ 536870912 && te && E && ao(E, te), t.$$.dirty[0] & /*customStylingContainer*/
4035
4035
  32 | t.$$.dirty[1] & /*clientstylingurl*/
4036
- 1073741824 && T && E && oo(E, T), t.$$.dirty[0] & /*customStylingContainer*/
4036
+ 1073741824 && T && E && no(E, T), t.$$.dirty[0] & /*customStylingContainer*/
4037
4037
  32 | t.$$.dirty[2] & /*mbsource*/
4038
- 2 && q && E && ao(E, `${q}.Style`), t.$$.dirty[2] & /*translationurl*/
4038
+ 2 && q && E && ro(E, `${q}.Style`), t.$$.dirty[2] & /*translationurl*/
4039
4039
  1 && G && qi(), t.$$.dirty[0] & /*netdepositprogress, availableLimits, progressBarContainers*/
4040
4040
  194 && C === "true" && W.length) {
4041
4041
  const n = W.map((m) => {
@@ -1,4 +1,4 @@
1
- "use strict";var _i=Object.defineProperty;var Ke=Object.getOwnPropertySymbols;var xi=Object.prototype.hasOwnProperty,Pi=Object.prototype.propertyIsEnumerable;var Ye=(a,t,i)=>t in a?_i(a,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[t]=i,Le=(a,t)=>{for(var i in t||(t={}))xi.call(t,i)&&Ye(a,i,t[i]);if(Ke)for(var i of Ke(t))Pi.call(t,i)&&Ye(a,i,t[i]);return a};var Te=(a,t,i)=>new Promise((o,n)=>{var s=m=>{try{p(i.next(m))}catch(c){n(c)}},l=m=>{try{p(i.throw(m))}catch(c){n(c)}},p=m=>m.done?o(m.value):Promise.resolve(m.value).then(s,l);p((i=i.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-TofSUXEw.cjs");require("../stencil/ui-skeleton-Bez-iF-R.cjs");const V={lugas:{title:"Deposit Limit",value:"lugas",callValue:"lugasLimit",callValue16:"Lugas"},deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",callValue16:"Deposit"},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",callValue16:"Loss"},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",callValue16:"Wagering"},stake:{title:"Stake Limit",value:"stake",callValue:"maxStake",callValue16:"MaxStake"},sessionLimit:{title:"Single Session Time Limit",value:"sessionLimit",callValue:"sessionLimits",callValue16:"sessionLimit"},cumulativeSession:{title:"Cumulative Session Time Limit",value:"cumulativeSession",callValue:"cumulativeSessionLimits",callValue16:"cumulativeSession"},netdeposit:{title:"Net Deposit Limit",value:"netdeposit",callValue:"netDepositLimits",callValue16:"NetDeposit"}};function Je(a,t){e.addMessages(a,t)}function Si(a){e.$locale.set(a)}const pe={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",newDailyLimit:"New daily limit",newWeeklyLimit:"New weekly limit",newMonthlyLimit:"New monthly limit",limitReached:"Limit reached",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",seconds:"seconds",updateText:"will be applied on",updateAfterConfirm:"will be applied after confirmation",acknowledgedLimit:"Limit update confirmed and will be applied in ~1 min",removedLimitText:"The limit will be removed on",removeAfterConfirm:"The limit will be removed after confirmation.",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",minutes:"minutes",loss:"Loss Limit",lossAll:"Loss - All Limit",lossCasino:"Loss - Casino Limit",lossSports:"Loss - Sports Limit",deposit:"Deposit Limit",depositAll:"Deposit - All Limit",depositCasino:"Deposit - Casino Limit",depositSports:"Deposit - Sports Limit",wager:"Wager Limit",wagerAll:"Wager - All Limit",wagerCasino:"Wager - Casino Limit",wagerSports:"Wager - Sports Limit",stake:"Stake Limit",stakeAll:"Stake - All Limit",stakeCasino:"Stake - Casino Limit",stakeSports:"Stake - Sports Limit",lugas:"Current Deposit Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",sessionLimit:"Single Session Time Limit",sessionLimitUpdated:"Session limit updated successfully.",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",confirmUpdateLimit:"CONFIRM",cancelUpdateLimit:"CANCEL",reloadLimitsButton:"RELOAD",setLimit:"Set new limit",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"An error has occurred.",popupUpdateLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",popupRemoveLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",notFoundException:"Limit does not exist",sessionExpiredException:"Your session has expired",popup3:`Thank you!
1
+ "use strict";var _i=Object.defineProperty;var Ke=Object.getOwnPropertySymbols;var xi=Object.prototype.hasOwnProperty,Pi=Object.prototype.propertyIsEnumerable;var Ye=(a,t,i)=>t in a?_i(a,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[t]=i,Le=(a,t)=>{for(var i in t||(t={}))xi.call(t,i)&&Ye(a,i,t[i]);if(Ke)for(var i of Ke(t))Pi.call(t,i)&&Ye(a,i,t[i]);return a};var Te=(a,t,i)=>new Promise((o,n)=>{var s=m=>{try{p(i.next(m))}catch(c){n(c)}},l=m=>{try{p(i.throw(m))}catch(c){n(c)}},p=m=>m.done?o(m.value):Promise.resolve(m.value).then(s,l);p((i=i.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-COm1JcKW.cjs");require("../stencil/ui-skeleton-Cbqo0oYF.cjs");const V={lugas:{title:"Deposit Limit",value:"lugas",callValue:"lugasLimit",callValue16:"Lugas"},deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",callValue16:"Deposit"},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",callValue16:"Loss"},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",callValue16:"Wagering"},stake:{title:"Stake Limit",value:"stake",callValue:"maxStake",callValue16:"MaxStake"},sessionLimit:{title:"Single Session Time Limit",value:"sessionLimit",callValue:"sessionLimits",callValue16:"sessionLimit"},cumulativeSession:{title:"Cumulative Session Time Limit",value:"cumulativeSession",callValue:"cumulativeSessionLimits",callValue16:"cumulativeSession"},netdeposit:{title:"Net Deposit Limit",value:"netdeposit",callValue:"netDepositLimits",callValue16:"NetDeposit"}};function Je(a,t){e.addMessages(a,t)}function Si(a){e.$locale.set(a)}const pe={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",newDailyLimit:"New daily limit",newWeeklyLimit:"New weekly limit",newMonthlyLimit:"New monthly limit",limitReached:"Limit reached",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",seconds:"seconds",updateText:"will be applied on",updateAfterConfirm:"will be applied after confirmation",acknowledgedLimit:"Limit update confirmed and will be applied in ~1 min",removedLimitText:"The limit will be removed on",removeAfterConfirm:"The limit will be removed after confirmation.",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",minutes:"minutes",loss:"Loss Limit",lossAll:"Loss - All Limit",lossCasino:"Loss - Casino Limit",lossSports:"Loss - Sports Limit",deposit:"Deposit Limit",depositAll:"Deposit - All Limit",depositCasino:"Deposit - Casino Limit",depositSports:"Deposit - Sports Limit",wager:"Wager Limit",wagerAll:"Wager - All Limit",wagerCasino:"Wager - Casino Limit",wagerSports:"Wager - Sports Limit",stake:"Stake Limit",stakeAll:"Stake - All Limit",stakeCasino:"Stake - Casino Limit",stakeSports:"Stake - Sports Limit",lugas:"Current Deposit Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",sessionLimit:"Single Session Time Limit",sessionLimitUpdated:"Session limit updated successfully.",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",confirmUpdateLimit:"CONFIRM",cancelUpdateLimit:"CANCEL",reloadLimitsButton:"RELOAD",setLimit:"Set new limit",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"An error has occurred.",popupUpdateLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",popupRemoveLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",notFoundException:"Limit does not exist",sessionExpiredException:"Your session has expired",popup3:`Thank you!
2
2
  We have transmited your desired limit to Lugas
3
3
  Please be aware that the limit will only come into effect after 8 days at the latest.`,popup2_a:"We were able to set your monthly deposit limit to",popup2_b:". For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.",kycNeeded2:". In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",invalidInputMessageLimitMin:"The value entered must be higher than {minValue} {currency}.",invalidInputMessageLimitMax:"The value entered must be less than {maxValue} {currency}.",invalidInputMessage:"Please enter a valid number.",unableToUpdatePendingRequest:"We were unable to update your limit because another update is already pending. Please try again after the current update is applied.",internalServerError:"Unfortunately, there was an error setting your LUGAS limit. Please try again or contact our customer support at <a href='mailto:support.de@bet-at-home.com' target='_blank'>support.de@bet-at-home.com</a>.",docsRequired:"Documents required!",okButton:"OK",complianceText:"As an authorized operator, it applies the necessary limits imposed by the government","dataLayer-sports":"Sports","dataLayer-casino":"Casino","dataLayer-wager":"Wager","dataLayer-loss":"Loss","dataLayer-deposit":"Deposit","dataLayer-daily":"Daily","dataLayer-weekly":"Weekly","dataLayer-monthly":"Monthly",netdepositAll:"Net Deposit Limit",uploadDocumentHeader:"Upload a Supporting Document",uploadButtonText:"Click here to Upload",documentUploadTitle:"Document Upload",uploadDocumentContent:'<p>Click here <label class="labelText" for="files">Browse</label></br>JPG/PEG, PNG or PDF files up to 50MB</p>',uploadHistory:"Upload History:",noFileUploaded:"No file uploaded",submitButton:"Submit",fileExtenssionDeny:"The file extenssion is not a valid one",fileSizeExceeded:"Maximum amount of file size was exceeded",uploadSuccess:"File uploaded successfully",errorUploadDocument:"There was an error with the uploading function",filesUploadError:"The uploaded files either exeeded allowed size or don't respect the allowed extensions types.",updateAfterDocApproval:"will be applied after document approval.",limitInDocReview:"You can't update a limit if it's in pendning.",scheduleNotFoundException:"Schedule does not exist",genericLimitsPopupError:"An unexpected error has occurred. Please try again"},hu:{loadingText:"` Az oldal töltődik, kérlek várj…`",Monthly:"Havi",Weekly:"Heti",Daily:"Napi",adjectiveMonthly:"Havi",adjectiveWeekly:"Heti",adjectiveDaily:"Napi",newDailyLimit:"Új napi limit",newWeeklyLimit:"Új heti limit",newMonthlyLimit:"Új havi limit",limitReached:"Elérte a határt",None:" ",noPeriod:".",per:"per",noLimitText:"Nincs limit beállítva",lugasPrivacy:"A szolgáltatóközi LUGAS-limit a szolgáltatók számára nem látható.",limitType:"Limit típus",period:"Időszak",amount:"Összeg",minutes:" perc",new:"Új",limit:"limit",setLimit:"Limit beállítása",loss:"Veszteség limit",lossAll:"Veszteség - Összes limit",lossCasino:"Veszteség - Kaszinó limit",lossSports:"Veszteség - Sport limit",deposit:"Befizetési limit",depositAll:"Befizetés - Összes limit",depositCasino:"Befizetés - Kaszinó limit",depositSports:"Befizetés - Sport limit",wager:"Fogadási limit",wagerAll:"Fogadás - Összes limit",wagerCasino:"Fogadás - Kaszinó limit",wagerSports:"Fogadás - Sport limit",stake:"Fogadási limit",stakeAll:"Tét - Összes limit",stakeCasino:"Tét - Kaszinó limit",stakeSports:"Tét - Sport limit",lugas:"Aktuális befizetési limit",sessionLimit:"Munkamenet időkorlátja",sessionLimitUpdated:"A munkamenet időkorlátját frissítettük.",cumulativeSession:"Időszakos időkorlát",removeLimit:"Limit törlése",popupPendingUpdate:"Limit módosítási kérésed megkaptuk. Kérjük, vedd figyelembe, hogy a frissítés csak ekkor lép életbe: ",popupImmediateUpdate:"Az új {selectedLimit}: {updatedAmount} {selectedPeriod}",popupTitle:" ",popupSuccess:"Limitbeállításaidat sikeresen elmentettük.",popupError:"Hiba történt.",kycNotNeeded:"A befizetési limitet sikeresen beállítottuk. Limitjeid bármikor módosíthatod a fiókbeállításokban.",kycNeeded1:"Havi befizetési limitre a következő összeg került beállításra:",kycNeeded2:". Ahhoz, hogy a limitet a kért összegre emeljük, kérjük, dokumentumok feltöltésével add meg a szükséges információkat.",uploadDocumentsButton:"DOKUMENTUMOK FELTÖLTÉSE",closeButton:"BEZÁR",invalidInputMessageLimitMin:"A megadott értéknek nagyobbnak kell lennie, mint {minValue} {currency}.",invalidInputMessageLimitMax:"A megadott értéknek kisebbnek kell lennie, mint {maxValue} {currency}.",invalidInputMessage:"Kérjük, adjon meg egy érvényes számot.",unableToUpdatePendingRequest:"Nem tudtuk frissíteni a limited, mert egy másik frissítés már folyamatban van. Kérjük, próbáld meg újra, miután az aktuális frissítés beállításra került.",docsRequired:"A dokumentumok feltöltése kötelező.",okButton:"Rendben",seconds:"másodpercek",updateText:"alkalmazva lesz",updateAfterConfirm:"jóváhagyás után kerül alkalmazásra",acknowledgedLimit:"A limit frissítése megerősítve, és ~1 percen belül alkalmazásra kerül",removedLimitText:"A limit eltávolításra kerül",removeAfterConfirm:"A limit jóváhagyás után kerül eltávolításra",confirmUpdateLimit:"MEGERŐSÍTÉS",cancelUpdateLimit:"MÉGSE",reloadLimitsButton:"FRISSÍTÉS",popupUpdateLimit:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",popupUpdateLimitException:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",popupRemoveLimitException:"Önkorlátozási beállításaidat a megadott korlátozási időtartam leteltét követően tudod módosítani.",sessionExpiredException:"A munkamenet lejárt","dataLayer-sports":"Sportfogadás","dataLayer-casino":"Kaszinó","dataLayer-all":"Minden","dataLayer-wager":"Fogadási limit","dataLayer-loss":"Veszteség limit","dataLayer-deposit":"Befizetési limit","dataLayer-daily":"Napi","dataLayer-weekly":"Heti","dataLayer-monthly":"Havi",netdepositAll:"Nettó befizetési limit",uploadDocumentHeader:"Támogató dokumentum feltöltése",uploadButtonText:"Kattintson ide a feltöltéshez",documentUploadTitle:"Dokumentum feltöltése",uploadDocumentContent:'<p>Húzza ide és dobja le <label class="labelText" for="files">Böngészés</label></br>JPG/PEG, PNG vagy PDF fájlok legfeljebb 50 MB-ig</p>',uploadHistory:"Feltöltési előzmények:",noFileUploaded:"Nincs feltöltött fájl",submitButton:"Beküldés",fileExtenssionDeny:"A fájl kiterjesztése nem érvényes",fileSizeExceeded:"A fájl mérete meghaladta a maximális méretet",uploadSuccess:"A fájl sikeresen feltöltve",errorUploadDocument:"Hiba történt a feltöltési funkcióval",filesUploadError:"A feltöltött fájlok vagy meghaladták a megengedett méretet, vagy nem felelnek meg az engedélyezett kiterjesztések típusainak.",limitInDocReview:"Nem frissítheti a korlátot, ha az függőben van.",scheduleNotFoundException:"Az ütemezés nem létezik",genericLimitsPopupError:"Váratlan hiba történt. Kérjük, próbálja meg újra"},de:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",newDailyLimit:"Neues Tageslimit",newWeeklyLimit:"Neues Wochenlimit",newMonthlyLimit:"Neues Monatslimit",adjectiveMonthly:"Monatlich",adjectiveWeekly:"Wöchentlich",limitReached:"Limit erreicht",adjectiveDaily:"Täglich",None:"",noPeriod:".",per:"pro",noLimitText:"Derzeit ist kein Limit gesetzt.",lugasPrivacy:"Das anbieterübergreifende LUGAS-Limit ist für Anbieter nicht einsehbar.",limitType:"Limitart",period:"Zeitraum",amount:"Betrag",minutes:"minute",loss:"Verlustlimit",lossAll:"Verlust - Gesamtes Limit",lossCasino:"Verlust - Casino-Limit",lossSports:"Verlust - Sport-Limit",deposit:"Einzahlungslimit",depositAll:"Einzahlung - Gesamtes Limit",depositCasino:"Einzahlung - Casino-Limit",depositSports:"Einzahlung - Sport-Limit",wager:"Wettlimit",wagerAll:"Wette - Gesamtes Limit",wagerCasino:"Wette - Casino-Limit",wagerSports:"Wette - Sport-Limit",stake:"Einsatzlimit",stakeAll:"Einsatz - Gesamtes Limit",stakeCasino:"Einsatz - Casino-Limit",stakeSports:"Einsatz - Sport-Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",lugas:"Aktuelles Einzahlungslimit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ENTFERNEN",setLimit:"Neues Limit setzen",popupError:"Es ist ein Fehler aufgetreten.",popupPendingUpdate:"Wir haben die Anfrage zur Änderung des Limits erhalten. Bitte beachten Sie, dass die Änderung erst in Kraft tritt am",popupImmediateUpdate:"Ihre neues Limit {selectedLimit} beträgt {updatedAmount} {selectedPeriod}",popupTitle:"Limit geändert!",popupSuccess:"Erfolgreich",popup3:`Vielen Dank!
4
4
  Wir haben Ihr gewünschtes Limit an Lugas übermittelt.
@@ -32,4 +32,4 @@
32
32
  S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`),e.attr(n,"d",`M35.707,16.293c-0.391-0.391-1.023-0.391-1.414,0L26,24.586l-8.293-8.293c-0.391-0.391-1.023-0.391-1.414,0
33
33
  s-0.391,1.023,0,1.414L24.586,26l-8.293,8.293c-0.391,0.391-0.391,1.023,0,1.414C16.488,35.902,16.744,36,17,36
34
34
  s0.512-0.098,0.707-0.293L26,27.414l8.293,8.293C34.488,35.902,34.744,36,35,36s0.512-0.098,0.707-0.293
35
- c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`),e.attr(t,"version","1.1"),e.attr(t,"id","Capa_1"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),e.attr(t,"x","0px"),e.attr(t,"y","0px"),e.attr(t,"viewBox","0 0 52 52"),e.set_style(t,"enable-background","new 0 0 52 52"),e.attr(t,"xml:space","preserve")},m(J,Y){e.insert(J,t,Y),e.append(t,i),e.append(i,o),e.append(i,n),e.append(t,s),e.append(t,l),e.append(t,p),e.append(t,m),e.append(t,c),e.append(t,g),e.append(t,y),e.append(t,S),e.append(t,v),e.append(t,k),e.append(t,T),e.append(t,K),e.append(t,Z),e.append(t,M),e.append(t,A)},d(J){J&&e.detach(t)}}}function Ui(a){let t,i=a[30]("popupSuccess")+"",o;return{c(){t=e.element("p"),o=e.text(i)},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=n[30]("popupSuccess")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Ii(a){let t,i=a[30]("docsRequired")+"",o;return{c(){t=e.element("p"),o=e.text(i)},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=n[30]("docsRequired")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Ni(a){let t,i=a[30]("popupError")+"",o;return{c(){t=e.element("p"),o=e.text(i)},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=n[30]("popupError")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Bi(a){let t,i=a[30]("okButton")+"",o,n,s;return{c(){t=e.element("button"),o=e.text(i),e.attr(t,"class","ConfirmButton "+(a[31]?"":"Mobile"))},m(l,p){e.insert(l,t,p),e.append(t,o),n||(s=e.listen(t,"click",a[44]),n=!0)},p(l,p){p[0]&1073741824&&i!==(i=l[30]("okButton")+"")&&e.set_data(o,i)},d(l){l&&e.detach(t),n=!1,s()}}}function Ri(a){let t,i=a[30]("uploadDocumentsButton")+"",o,n,s=a[30]("closeButton")+"",l,p,m;return{c(){t=e.element("button"),o=e.space(),n=e.element("button"),l=e.text(s),e.attr(t,"class","ConfirmButton"),e.attr(n,"class","CloseButton")},m(c,g){e.insert(c,t,g),t.innerHTML=i,e.insert(c,o,g),e.insert(c,n,g),e.append(n,l),p||(m=[e.listen(t,"click",a[45]),e.listen(n,"click",a[44])],p=!0)},p(c,g){g[0]&1073741824&&i!==(i=c[30]("uploadDocumentsButton")+"")&&(t.innerHTML=i),g[0]&1073741824&&s!==(s=c[30]("closeButton")+"")&&e.set_data(l,s)},d(c){c&&(e.detach(t),e.detach(o),e.detach(n)),p=!1,e.run_all(m)}}}function Wi(a){let t,i=a[30]("noFileUploaded")+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","historyItem")},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=n[30]("noFileUploaded")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Oi(a){let t,i=e.ensure_array_like(Array.from(a[18])),o=[];for(let n=0;n<i.length;n+=1)o[n]=at(tt(a,i,n));return{c(){for(let n=0;n<o.length;n+=1)o[n].c();t=e.empty()},m(n,s){for(let l=0;l<o.length;l+=1)o[l]&&o[l].m(n,s);e.insert(n,t,s)},p(n,s){if(s[0]&262144){i=e.ensure_array_like(Array.from(n[18]));let l;for(l=0;l<i.length;l+=1){const p=tt(n,i,l);o[l]?o[l].p(p,s):(o[l]=at(p),o[l].c(),o[l].m(t.parentNode,t))}for(;l<o.length;l+=1)o[l].d(1);o.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(o,n)}}}function at(a){let t,i=a[153].name+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","historyItem")},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&262144&&i!==(i=n[153].name+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function ot(a){let t,i=a[30]("filesUploadError")+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","filesError")},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=n[30]("filesUploadError")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Vi(a){let t,i,o,n,s,l,p,m=a[30]("setLimit")+"",c,g,y,S,v,k,T,K=a[21]?`${a[30]("amount")}`:`${a[30](`new${a[10]}Limit`)}`,Z,M,A,J,Y,z,B=a[30]("setLimit")+"",N,D,w,h,F=e.ensure_array_like(a[7]),x=[];for(let b=0;b<F.length;b+=1)x[b]=mt($e(a,F,b));let R=e.ensure_array_like(a[7]),W=[];for(let b=0;b<R.length;b+=1)W[b]=ft(Qe(a,R,b));let q=a[2]==="true"&&gt(a),G=a[20]&&Lt(a),X=a[21]&&vt(a),O=a[29]&&bt(a);return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div");for(let b=0;b<x.length;b+=1)x[b].c();n=e.space(),s=e.element("form");for(let b=0;b<W.length;b+=1)W[b].c();l=e.space(),p=e.element("p"),c=e.text(m),g=e.space(),q&&q.c(),y=e.space(),G&&G.c(),S=e.space(),X&&X.c(),v=e.space(),k=e.element("label"),T=e.element("span"),Z=e.text(K),M=e.space(),A=e.element("input"),J=e.space(),O&&O.c(),Y=e.space(),z=e.element("button"),N=e.text(B),e.attr(o,"class","LimitsList"),e.attr(p,"class","LimitTitle "+(a[31]?"":"Mobile")),e.attr(T,"class","LimitInputText"),e.attr(A,"type","number"),e.attr(A,"pattern","[0-9]*"),e.attr(k,"class","LimitAmountInputWrapper "+(a[31]?"":"Mobile")),e.attr(z,"class","LimitSubmitButton "+(a[31]?"":"Mobile")),e.attr(z,"type","submit"),z.disabled=a[29],e.attr(s,"class","LimitsInteractionArea "+(a[31]?"":"Mobile")),e.attr(i,"class","LimitsPageContainer"),e.attr(t,"class",D="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+a[4]))},m(b,U){e.insert(b,t,U),e.append(t,i),e.append(i,o);for(let P=0;P<x.length;P+=1)x[P]&&x[P].m(o,null);e.append(i,n),e.append(i,s);for(let P=0;P<W.length;P+=1)W[P]&&W[P].m(s,null);e.append(s,l),e.append(s,p),e.append(p,c),e.append(s,g),q&&q.m(s,null),e.append(s,y),G&&G.m(s,null),e.append(s,S),X&&X.m(s,null),e.append(s,v),e.append(s,k),e.append(k,T),e.append(T,Z),e.append(k,M),e.append(k,A),e.set_input_value(A,a[16]),e.append(k,J),O&&O.m(k,null),e.append(s,Y),e.append(s,z),e.append(z,N),w||(h=[e.listen(A,"input",a[73]),e.listen(A,"input",a[35]),e.listen(A,"wheel",a[36]),e.listen(s,"submit",a[37])],w=!0)},p(b,U){if(U[0]&1074266314|U[1]&7945){F=e.ensure_array_like(b[7]);let P;for(P=0;P<F.length;P+=1){const I=$e(b,F,P);x[P]?x[P].p(I,U):(x[P]=mt(I),x[P].c(),x[P].m(o,null))}for(;P<x.length;P+=1)x[P].d(1);x.length=F.length}if(U[0]&1073741952|U[1]&1){R=e.ensure_array_like(b[7]);let P;for(P=0;P<R.length;P+=1){const I=Qe(b,R,P);W[P]?W[P].p(I,U):(W[P]=ft(I),W[P].c(),W[P].m(s,l))}for(;P<W.length;P+=1)W[P].d(1);W.length=R.length}U[0]&1073741824&&m!==(m=b[30]("setLimit")+"")&&e.set_data(c,m),b[2]==="true"?q?q.p(b,U):(q=gt(b),q.c(),q.m(s,y)):q&&(q.d(1),q=null),b[20]?G?G.p(b,U):(G=Lt(b),G.c(),G.m(s,S)):G&&(G.d(1),G=null),b[21]?X?X.p(b,U):(X=vt(b),X.c(),X.m(s,v)):X&&(X.d(1),X=null),U[0]&107584e4&&K!==(K=b[21]?`${b[30]("amount")}`:`${b[30](`new${b[10]}Limit`)}`)&&e.set_data(Z,K),U[0]&65536&&e.to_number(A.value)!==b[16]&&e.set_input_value(A,b[16]),b[29]?O?O.p(b,U):(O=bt(b),O.c(),O.m(k,null)):O&&(O.d(1),O=null),U[0]&1073741824&&B!==(B=b[30]("setLimit")+"")&&e.set_data(N,B),U[0]&536870912&&(z.disabled=b[29]),U[0]&16&&D!==(D="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+b[4]))&&e.attr(t,"class",D)},d(b){b&&e.detach(t),e.destroy_each(x,b),e.destroy_each(W,b),q&&q.d(),G&&G.d(),X&&X.d(),O&&O.d(),w=!1,e.run_all(h)}}}function Fi(a){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(i,o){e.insert(i,t,o)},p:e.noop,d(i){i&&e.detach(t)}}}function qi(a){let t,i,o,n,s,l,p=e.ensure_array_like(Array(3)),m=[];for(let c=0;c<p.length;c+=1)m[c]=aa(Ai(a,p,c));return{c(){t=e.element("div"),i=e.element("div"),i.innerHTML='<ui-skeleton width="auto" height="25px" structure="text" margin-right="auto"></ui-skeleton>',o=e.space(),n=e.element("div");for(let c=0;c<m.length;c+=1)m[c].c();s=e.space(),l=e.element("div"),l.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',e.attr(i,"class","skeletonLimitText"),e.attr(n,"class","skeletonLimitWrapper"),e.attr(l,"class","skeletonInputWrapper"),e.attr(t,"class","skeletonLimitContainer")},m(c,g){e.insert(c,t,g),e.append(t,i),e.append(t,o),e.append(t,n);for(let y=0;y<m.length;y+=1)m[y]&&m[y].m(n,null);e.append(t,s),e.append(t,l)},p:e.noop,d(c){c&&e.detach(t),e.destroy_each(m,c)}}}function nt(a){let t,i=a[30]("activeLimitsInfoText")+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","LimitsInfoText "+(a[31]?"":"Mobile"))},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=n[30]("activeLimitsInfoText")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Gi(a){let t,i,o,n=a[30]("noLimitText")+"",s;return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),s=e.text(n),e.attr(o,"class","LimitDetailsTextWrapper "+(a[31]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,p){e.insert(l,t,p),e.append(t,i),e.append(i,o),e.append(o,s)},p(l,p){p[0]&1073741824&&n!==(n=l[30]("noLimitText")+"")&&e.set_data(s,n)},d(l){l&&e.detach(t)}}}function Hi(a){let t,i,o,n=a[30]("lugasPrivacy")+"",s;return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),s=e.text(n),e.attr(o,"class","LimitDetailsTextWrapper "+(a[31]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,p){e.insert(l,t,p),e.append(t,i),e.append(i,o),e.append(o,s)},p(l,p){p[0]&1073741824&&n!==(n=l[30]("lugasPrivacy")+"")&&e.set_data(s,n)},d(l){l&&e.detach(t)}}}function Ki(a){let t,i=e.ensure_array_like(a[144].currentLimits),o=[];for(let n=0;n<i.length;n+=1)o[n]=ut(et(a,i,n));return{c(){for(let n=0;n<o.length;n+=1)o[n].c();t=e.empty()},m(n,s){for(let l=0;l<o.length;l+=1)o[l]&&o[l].m(n,s);e.insert(n,t,s)},p(n,s){if(s[0]&1074266314|s[1]&5897){i=e.ensure_array_like(n[144].currentLimits);let l;for(l=0;l<i.length;l+=1){const p=et(n,i,l);o[l]?o[l].p(p,s):(o[l]=ut(p),o[l].c(),o[l].m(t.parentNode,t))}for(;l<o.length;l+=1)o[l].d(1);o.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(o,n)}}}function Yi(a){let t,i,o,n=a[30]("lugasPrivacy")+"",s;return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),s=e.text(n),e.attr(o,"class","LimitDetailsTextWrapper "+(a[31]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,p){e.insert(l,t,p),e.append(t,i),e.append(i,o),e.append(o,s)},p(l,p){p[0]&1073741824&&n!==(n=l[30]("lugasPrivacy")+"")&&e.set_data(s,n)},d(l){l&&e.detach(t)}}}function Ji(a){let t,i=`${a[43](a[150])}`,o;return{c(){t=e.element("span"),o=e.text(i)},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&128&&i!==(i=`${n[43](n[150])}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Zi(a){let t,i=`${a[43](a[150],!0)}`,o;return{c(){t=e.element("span"),o=e.text(i)},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&128&&i!==(i=`${n[43](n[150],!0)}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function rt(a){let t,i,o=`${a[43](a[150],!1,!0)}`,n,s,l=`${a[150].period!=="None"||a[150].value!=="cumulativeSession"?" ":a[30]("per")} ${a[30](`${a[150].period}`)} ${a[30]("updateAfterDocApproval")}`,p;return{c(){t=e.element("div"),i=e.element("span"),n=e.text(o),s=e.space(),p=e.text(l),e.attr(t,"class","PendingLimit")},m(m,c){e.insert(m,t,c),e.append(t,i),e.append(i,n),e.append(t,s),e.append(t,p)},p(m,c){c[0]&128&&o!==(o=`${m[43](m[150],!1,!0)}`)&&e.set_data(n,o),c[0]&1073741952&&l!==(l=`${m[150].period!=="None"||m[150].value!=="cumulativeSession"?" ":m[30]("per")} ${m[30](`${m[150].period}`)} ${m[30]("updateAfterDocApproval")}`)&&e.set_data(p,l)},d(m){m&&e.detach(t)}}}function Xi(a){let t,i,o=`${a[43](a[150],!0)}`,n,s;function l(c,g){return c[150].isCoolOffCompleted?ia:ta}let p=l(a),m=p(a);return{c(){t=e.element("div"),i=e.element("span"),n=e.text(o),s=e.space(),m.c(),e.attr(t,"class","PendingLimit")},m(c,g){e.insert(c,t,g),e.append(t,i),e.append(i,n),e.append(t,s),m.m(t,null)},p(c,g){g[0]&128&&o!==(o=`${c[43](c[150],!0)}`)&&e.set_data(n,o),p===(p=l(c))&&m?m.p(c,g):(m.d(1),m=p(c),m&&(m.c(),m.m(t,null)))},d(c){c&&e.detach(t),m.d()}}}function Qi(a){let t,i=`${a[30]("removedLimitText")} ${a[150].expiryDate}`,o;return{c(){t=e.element("div"),o=e.text(i),e.attr(t,"class","PendingLimit")},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741952&&i!==(i=`${n[30]("removedLimitText")} ${n[150].expiryDate}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function $i(a){let t,i=`${a[30]("removeAfterConfirm")}`,o;return{c(){t=e.element("div"),o=e.text(i),e.attr(t,"class","PendingLimit")},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=`${n[30]("removeAfterConfirm")}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function ea(a){let t,i=`${a[30]("acknowledgedLimit")}`,o;return{c(){t=e.element("div"),o=e.text(i),e.attr(t,"class","PendingLimit")},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=`${n[30]("acknowledgedLimit")}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function ta(a){let t=`${a[150].period!=="None"||a[150].value!=="cumulativeSession"?" ":a[30]("per")} ${a[30](`${a[150].period}`)} ${a[30]("updateText")} ${a[150].expiryDate}`,i;return{c(){i=e.text(t)},m(o,n){e.insert(o,i,n)},p(o,n){n[0]&1073741952&&t!==(t=`${o[150].period!=="None"||o[150].value!=="cumulativeSession"?" ":o[30]("per")} ${o[30](`${o[150].period}`)} ${o[30]("updateText")} ${o[150].expiryDate}`)&&e.set_data(i,t)},d(o){o&&e.detach(i)}}}function ia(a){let t=`${a[150].period!=="None"||a[150].value!=="cumulativeSession"?" ":a[30]("per")} ${a[30](`${a[150].period}`)} ${a[30]("updateAfterConfirm")}`,i;return{c(){i=e.text(t)},m(o,n){e.insert(o,i,n)},p(o,n){n[0]&1073741952&&t!==(t=`${o[150].period!=="None"||o[150].value!=="cumulativeSession"?" ":o[30]("per")} ${o[30](`${o[150].period}`)} ${o[30]("updateAfterConfirm")}`)&&e.set_data(i,t)},d(o){o&&e.detach(i)}}}function st(a){let t,i,o=a[19][a[150].scheduleId].timer+"",n,s,l,p;return{c(){t=e.element("div"),i=e.element("button"),n=e.text(o),e.attr(i,"class",s="ReloadLimitButton "+(a[31]?"":"Mobile")+" "+(a[19][a[150].scheduleId].timerStopped?"":"disabled")),e.attr(t,"class","ContainerLimitActions "+(a[31]?"":"Mobile"))},m(m,c){e.insert(m,t,c),e.append(t,i),e.append(i,n),l||(p=e.listen(i,"click",a[65]),l=!0)},p(m,c){c[0]&524416&&o!==(o=m[19][m[150].scheduleId].timer+"")&&e.set_data(n,o),c[0]&524416&&s!==(s="ReloadLimitButton "+(m[31]?"":"Mobile")+" "+(m[19][m[150].scheduleId].timerStopped?"":"disabled"))&&e.attr(i,"class",s)},d(m){m&&e.detach(t),l=!1,p()}}}function lt(a){let t,i,o=a[30]("removeLimit")+"",n,s,l;function p(){return a[66](a[150])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(o),e.attr(i,"class","RemoveLimitButton "+(a[31]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(a[31]?"":"Mobile"))},m(m,c){e.insert(m,t,c),e.append(t,i),e.append(i,n),s||(l=e.listen(i,"click",p),s=!0)},p(m,c){a=m,c[0]&1073741824&&o!==(o=a[30]("removeLimit")+"")&&e.set_data(n,o)},d(m){m&&e.detach(t),s=!1,l()}}}function dt(a){let t,i,o=a[30]("confirmUpdateLimit")+"",n,s,l,p=a[30]("cancelUpdateLimit")+"",m,c,g;function y(){return a[67](a[150])}function S(){return a[68](a[150])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(o),s=e.space(),l=e.element("button"),m=e.text(p),e.attr(i,"class","ConfirmLimitButton "+(a[31]?"":"Mobile")),e.attr(l,"class","CancelLimitButton "+(a[31]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(a[31]?"":"Mobile"))},m(v,k){e.insert(v,t,k),e.append(t,i),e.append(i,n),e.append(t,s),e.append(t,l),e.append(l,m),c||(g=[e.listen(i,"click",y),e.listen(l,"click",S)],c=!0)},p(v,k){a=v,k[0]&1073741824&&o!==(o=a[30]("confirmUpdateLimit")+"")&&e.set_data(n,o),k[0]&1073741824&&p!==(p=a[30]("cancelUpdateLimit")+"")&&e.set_data(m,p)},d(v){v&&e.detach(t),c=!1,e.run_all(g)}}}function pt(a){let t,i=a[146],o=a[152];const n=()=>a[69](t,i,o),s=()=>a[69](null,i,o);return{c(){t=e.element("div"),t.innerHTML="",e.attr(t,"class","ProgressBarContainer")},m(l,p){e.insert(l,t,p),n()},p(l,p){a=l,(i!==a[146]||o!==a[152])&&(s(),i=a[146],o=a[152],n())},d(l){l&&e.detach(t),s()}}}function ut(a){let t,i,o,n,s,l=`${a[150].period!=="None"||a[150].value!=="cumulativeSession"?" ":a[30]("per")} ${a[30](`${a[150].period}`)}`,p,m,c,g,y,S=!a[150].isModified&&a[3].indexOf(a[144].value)>-1&&!a[150].reviewPending.id,v,k,T;function K(h,F){return h[150].acknowledgedLimit?Zi:Ji}let Z=K(a),M=Z(a),A=a[150].reviewPending&&a[150].reviewPending.id&&rt(a);function J(h,F){if(h[150].acknowledgedLimit)return ea;if(h[150].isModified&&h[150].updateAmount==0&&h[150].isCoolOffCompleted)return $i;if(h[150].isModified&&h[150].updateAmount==0&&!h[150].isCoolOffCompleted)return Qi;if(h[150].isModified)return Xi}let Y=J(a),z=Y&&Y(a),B=a[150].acknowledgedLimit&&!a[150].reviewPending.id&&st(a),N=S&&lt(a),D=a[150].isCoolOffCompleted&!a[150].acknowledgedLimit&&!a[150].reviewPending.id&&dt(a),w=a[1]==="true"&&a[6][a[146]]&&a[6][a[146]].length>a[152]&&pt(a);return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),n=e.element("div"),M.c(),s=e.space(),p=e.text(l),m=e.space(),A&&A.c(),c=e.space(),z&&z.c(),g=e.space(),B&&B.c(),y=e.space(),N&&N.c(),v=e.space(),D&&D.c(),k=e.space(),w&&w.c(),T=e.space(),e.attr(n,"class","CurrentLimit"),e.attr(o,"class","CurrentLimitContainer"),e.attr(i,"class","LimitDetailsTextWrapper "+(a[31]?"":"Mobile")),e.attr(t,"class","LimitDetails")},m(h,F){e.insert(h,t,F),e.append(t,i),e.append(i,o),e.append(o,n),M.m(n,null),e.append(n,s),e.append(n,p),e.append(o,m),A&&A.m(o,null),e.append(o,c),z&&z.m(o,null),e.append(i,g),B&&B.m(i,null),e.append(i,y),N&&N.m(i,null),e.append(i,v),D&&D.m(i,null),e.append(i,k),w&&w.m(i,null),e.append(t,T)},p(h,F){Z===(Z=K(h))&&M?M.p(h,F):(M.d(1),M=Z(h),M&&(M.c(),M.m(n,s))),F[0]&1073741952&&l!==(l=`${h[150].period!=="None"||h[150].value!=="cumulativeSession"?" ":h[30]("per")} ${h[30](`${h[150].period}`)}`)&&e.set_data(p,l),h[150].reviewPending&&h[150].reviewPending.id?A?A.p(h,F):(A=rt(h),A.c(),A.m(o,c)):A&&(A.d(1),A=null),Y===(Y=J(h))&&z?z.p(h,F):(z&&z.d(1),z=Y&&Y(h),z&&(z.c(),z.m(o,null))),h[150].acknowledgedLimit&&!h[150].reviewPending.id?B?B.p(h,F):(B=st(h),B.c(),B.m(i,y)):B&&(B.d(1),B=null),F[0]&136&&(S=!h[150].isModified&&h[3].indexOf(h[144].value)>-1&&!h[150].reviewPending.id),S?N?N.p(h,F):(N=lt(h),N.c(),N.m(i,v)):N&&(N.d(1),N=null),h[150].isCoolOffCompleted&!h[150].acknowledgedLimit&&!h[150].reviewPending.id?D?D.p(h,F):(D=dt(h),D.c(),D.m(i,k)):D&&(D.d(1),D=null),h[1]==="true"&&h[6][h[146]]&&h[6][h[146]].length>h[152]?w?w.p(h,F):(w=pt(h),w.c(),w.m(i,null)):w&&(w.d(1),w=null)},d(h){h&&e.detach(t),M.d(),A&&A.d(),z&&z.d(),B&&B.d(),N&&N.d(),D&&D.d(),w&&w.d()}}}function mt(a){let t,i=a[42](a[144])+"",o,n,s=a[144].value==="netdeposit"&&a[30]("activeLimitsInfoText")!=="activeLimitsInfoText"&&a[30]("activeLimitsInfoText").trim().length,l,p,m,c,g=s&&nt(a);function y(k,T){var K;return k[144].value==="lugas"?Yi:((K=k[144].currentLimits)==null?void 0:K.length)>0?Ki:k[144].value==="lugas"?Hi:Gi}let S=y(a),v=S(a);return{c(){t=e.element("p"),o=e.text(i),n=e.space(),g&&g.c(),l=e.space(),p=e.element("div"),v.c(),m=e.space(),e.attr(t,"class","LimitTitle "+(a[31]?"":"Mobile")),e.attr(p,"class",c="LimitWrapper "+a[144].value+" "+(a[1]==="true"&&a[144].value==="netdeposit"?"ActiveProgressBar":"")+" "+(a[31]?"":"Mobile"))},m(k,T){e.insert(k,t,T),e.append(t,o),e.insert(k,n,T),g&&g.m(k,T),e.insert(k,l,T),e.insert(k,p,T),v.m(p,null),e.append(p,m)},p(k,T){T[0]&128&&i!==(i=k[42](k[144])+"")&&e.set_data(o,i),T[0]&1073741952&&(s=k[144].value==="netdeposit"&&k[30]("activeLimitsInfoText")!=="activeLimitsInfoText"&&k[30]("activeLimitsInfoText").trim().length),s?g?g.p(k,T):(g=nt(k),g.c(),g.m(l.parentNode,l)):g&&(g.d(1),g=null),S===(S=y(k))&&v?v.p(k,T):(v.d(1),v=S(k),v&&(v.c(),v.m(p,m))),T[0]&130&&c!==(c="LimitWrapper "+k[144].value+" "+(k[1]==="true"&&k[144].value==="netdeposit"?"ActiveProgressBar":"")+" "+(k[31]?"":"Mobile"))&&e.attr(p,"class",c)},d(k){k&&(e.detach(t),e.detach(n),e.detach(l),e.detach(p)),g&&g.d(k),v.d()}}}function ct(a){let t,i=a[30]("newLimitInfoText")+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","LimitsInfoText "+(a[31]?"":"Mobile"))},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=n[30]("newLimitInfoText")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function ft(a){let t=a[144].value==="netdeposit"&&a[30]("newLimitInfoText")!=="newLimitInfoText"&&a[30]("newLimitInfoText").trim().length,i,o=t&&ct(a);return{c(){o&&o.c(),i=e.empty()},m(n,s){o&&o.m(n,s),e.insert(n,i,s)},p(n,s){s[0]&1073741952&&(t=n[144].value==="netdeposit"&&n[30]("newLimitInfoText")!=="newLimitInfoText"&&n[30]("newLimitInfoText").trim().length),t?o?o.p(n,s):(o=ct(n),o.c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null)},d(n){n&&e.detach(i),o&&o.d(n)}}}function gt(a){let t,i,o=a[30]("complianceText")+"",n;return{c(){t=e.element("div"),i=e.element("p"),n=e.text(o),e.attr(i,"class","LimitComplianceText"),e.attr(t,"class","LimitCompliance")},m(s,l){e.insert(s,t,l),e.append(t,i),e.append(i,n)},p(s,l){l[0]&1073741824&&o!==(o=s[30]("complianceText")+"")&&e.set_data(n,o)},d(s){s&&e.detach(t)}}}function Lt(a){let t,i,o=a[30]("limitType")+"",n,s,l,p,m,c=e.ensure_array_like(a[7]),g=[];for(let y=0;y<c.length;y+=1)g[y]=ht(Xe(a,c,y));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(o),s=e.space(),l=e.element("select");for(let y=0;y<g.length;y+=1)g[y].c();e.attr(i,"class","LimitSelectText"),e.attr(l,"name",""),e.attr(l,"id",""),a[15]===void 0&&e.add_render_callback(()=>a[70].call(l)),e.attr(t,"class","LimitTypeDropdownWrapper "+(a[31]?"":"Mobile"))},m(y,S){e.insert(y,t,S),e.append(t,i),e.append(i,n),e.append(t,s),e.append(t,l);for(let v=0;v<g.length;v+=1)g[v]&&g[v].m(l,null);e.select_option(l,a[15],!0),p||(m=[e.listen(l,"change",a[70]),e.listen(l,"change",a[71])],p=!0)},p(y,S){if(S[0]&1073741824&&o!==(o=y[30]("limitType")+"")&&e.set_data(n,o),S[0]&128|S[1]&2048){c=e.ensure_array_like(y[7]);let v;for(v=0;v<c.length;v+=1){const k=Xe(y,c,v);g[v]?g[v].p(k,S):(g[v]=ht(k),g[v].c(),g[v].m(l,null))}for(;v<g.length;v+=1)g[v].d(1);g.length=c.length}S[0]&32768&&e.select_option(l,y[15])},d(y){y&&e.detach(t),e.destroy_each(g,y),p=!1,e.run_all(m)}}}function ht(a){let t,i=a[42](a[144])+"",o;return{c(){t=e.element("option"),o=e.text(i),t.__value=a[146],e.set_input_value(t,t.__value)},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&128&&i!==(i=n[42](n[144])+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function vt(a){let t,i,o=a[30]("period")+"",n,s,l,p,m,c=e.ensure_array_like(a[8][a[9]].periods),g=[];for(let y=0;y<c.length;y+=1)g[y]=yt(Ze(a,c,y));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(o),s=e.space(),l=e.element("select");for(let y=0;y<g.length;y+=1)g[y].c();e.attr(i,"class","PeriodSelectText"),e.attr(l,"name",""),e.attr(l,"id",""),a[10]===void 0&&e.add_render_callback(()=>a[72].call(l)),e.attr(t,"class","LimitPeriodDropdownWrapper "+(a[31]?"":"Mobile"))},m(y,S){e.insert(y,t,S),e.append(t,i),e.append(i,n),e.append(t,s),e.append(t,l);for(let v=0;v<g.length;v+=1)g[v]&&g[v].m(l,null);e.select_option(l,a[10],!0),p||(m=e.listen(l,"change",a[72]),p=!0)},p(y,S){if(S[0]&1073741824&&o!==(o=y[30]("period")+"")&&e.set_data(n,o),S[0]&1073742592){c=e.ensure_array_like(y[8][y[9]].periods);let v;for(v=0;v<c.length;v+=1){const k=Ze(y,c,v);g[v]?g[v].p(k,S):(g[v]=yt(k),g[v].c(),g[v].m(l,null))}for(;v<g.length;v+=1)g[v].d(1);g.length=c.length}S[0]&1792&&e.select_option(l,y[10])},d(y){y&&e.detach(t),e.destroy_each(g,y),p=!1,m()}}}function yt(a){let t,i=a[30](a[141])+"",o,n;return{c(){t=e.element("option"),o=e.text(i),t.__value=n=a[141],e.set_input_value(t,t.__value),t.selected=!0},m(s,l){e.insert(s,t,l),e.append(t,o)},p(s,l){l[0]&1073742592&&i!==(i=s[30](s[141])+"")&&e.set_data(o,i),l[0]&768&&n!==(n=s[141])&&(t.__value=n,e.set_input_value(t,t.__value))},d(s){s&&e.detach(t)}}}function bt(a){let t,i=a[16]===null?`${a[30]("invalidInputMessage")}`:a[16]<a[11]?`${a[30]("invalidInputMessageLimitMin",{values:{minValue:a[11],currency:a[0]}})}`:`${a[30]("invalidInputMessageLimitMax",{values:{maxValue:a[12],currency:a[0]}})}`,o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","InvalidInput")},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073813505&&i!==(i=n[16]===null?`${n[30]("invalidInputMessage")}`:n[16]<n[11]?`${n[30]("invalidInputMessageLimitMin",{values:{minValue:n[11],currency:n[0]}})}`:`${n[30]("invalidInputMessageLimitMax",{values:{maxValue:n[12],currency:n[0]}})}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function aa(a){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ',e.attr(t,"class","skeletonLimitContent")},m(i,o){e.insert(i,t,o)},p:e.noop,d(i){i&&e.detach(t)}}}function oa(a){let t,i,o=a[25]&&it(a);function n(p,m){if(p[22])return qi;if(p[23])return Fi;if(!p[22])return Vi}let s=n(a),l=s&&s(a);return{c(){t=e.element("div"),o&&o.c(),i=e.space(),l&&l.c()},m(p,m){e.insert(p,t,m),o&&o.m(t,null),e.append(t,i),l&&l.m(t,null),a[74](t)},p(p,m){p[25]?o?o.p(p,m):(o=it(p),o.c(),o.m(t,i)):o&&(o.d(1),o=null),s===(s=n(p))&&l?l.p(p,m):(l&&l.d(1),l=s&&s(p),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),o&&o.d(),l&&l.d(),a[74](null)}}}function na(a,t,i){let o;e.component_subscribe(a,e.$format,r=>i(30,o=r));let{lang:n="en"}=t,{currency:s=""}=t,{limits:l=""}=t,{session:p=""}=t,{userid:m=""}=t,{endpoint:c=""}=t,{apiversion:g=""}=t,{customcurrencysymbols:y=""}=t,{netdepositprogress:S="false"}=t,{enablecompliancetext:v=""}=t,{deletelimit:k=""}=t,{amountsconfig:T=""}=t,{periodsconfig:K=""}=t,{limittabindex:Z=""}=t,{limitformat:M=""}=t,{allowedextenssion:A=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:J="12934000"}=t,{clientstyling:Y=""}=t,{clientstylingurl:z=""}=t,{translationurl:B=""}=t,{mbsource:N}=t,D,w=[],h=window.navigator.userAgent,F=!e.isMobile(h),x="",R="",W="",q="",G="",X="",O="",b="",U="",P=0,I,C,he,E=[],re={},se={},ce={},wt={},ue,fe={EUR:"€",RON:" lei",USD:"$"},_e={remove:{},confirm:{},update:{}},ee={},je=!1,xe=!1,Q=!0,ne=!1,Pe=!1,ge=!1,ie=!1,de=!1,ve=!1,ye=!1;const Ee={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},Me={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},_t=()=>{fetch(B).then(d=>d.json()).then(d=>{Object.keys(d).forEach(u=>{Je(u,d[u])})}).catch(d=>{console.log(d)})};Object.keys(pe).forEach(r=>{Je(r,pe[r])});const Se=r=>`dataLayer-${r}`,$=(r,d)=>{typeof gtag=="function"&&gtag({event:r,limit_category:pe[n][Se(W.toLowerCase())]||W,limit_type:pe[n][Se(x.toLowerCase())]||x,limit_period:pe[n][Se(R.toLowerCase())]||R,limit_amount:C||d})},xt=()=>{var f;const r=T.split(",").map(L=>L.split(":")),d=K.split(",").map(L=>L.split(":"));for(let[L,_]of r.entries())if(_[0]!==d[L][0])throw new Error(`Limit config mismatch: "${_[0]}" does not match "${d[L][0]}"`);const u=r.reduce((L,_,j)=>{const H=_[0].slice(_[0].indexOf("(")+1,_[0].indexOf(")")),oe=_[0].slice(0,_[0].indexOf("(")),me=_[1],we=d[j][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),Ce={value:H,product:oe,minMax:me,periods:we,callValue:V[H].callValue,callValue16:V[H].callValue16,title:V[H].title};return L.push(Ce),L},[]);for(let L=0;L<u.length;L++)i(7,E[L].product=u[L].product,E),i(7,E[L].min=parseInt(u[L].minMax.split("-")[0],10),E),i(7,E[L].max=parseInt(u[L].minMax.split("-")[1],10),E),i(8,V[u[L].value].periods=u[L].periods,V);X=(f=E[0])==null?void 0:f.value,E.forEach(L=>{se[L.value]={min:L.min,max:L.max},wt[L.value]=L.product}),se&&(se[X]?(i(11,q=se[X].min),i(12,G=se[X].max)):(i(11,q=1),i(12,G=9999999)))},Pt=()=>{const r=/\(([^)]+)\)/g;return[...T.matchAll(r)].flat().filter(u=>!u.includes("("))},St=()=>{Pt().forEach(d=>{V[d]?E.push(Le({},V[d])):console.error(`Unknown limit: ${d}`)}),xt(),i(9,x=E[0].value),i(10,R=V[x].periods[0]),W=E[0].product,i(20,je=E.length>1),i(21,xe=V[x].periods.length>1)},Ue=()=>{i(9,x=E[P].value),i(10,R=V[x].periods[0]),i(21,xe=V[x].periods.length>1)},Ie=()=>{W=E[P].product},te=r=>{if(r.status>=300)zt(r);else return i(24,Pe=!1),r.status!==204?r.json():r},zt=r=>{i(23,ne=!0);let d;throw r.json().then(u=>{for(const f in Me)if(u.error&&Me[f].some(L=>u.error.includes(L))){d=f;break}console.error("errType",d),!d&&ke(u)}).finally(()=>{d&&ke(d),i(23,ne=!1),i(22,Q=!1)}),new Error("An error occured during the fetch request")},At=()=>{if(!(C>0))return;le(),i(22,Q=!0);let r=new URL(`/v2/player/${m}/limits`,c),d={};x==="sessionLimit"?d={sessionLimit:C,sessionLimitUnit:"minute"}:x==="cumulativeSession"?d[V[x].callValue]=[{period:R,minutes:C}]:d[V[x].callValue]=[{period:V[x].periods[0]==="None"?null:R,amount:C,currency:s}];let u={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(d)};fetch(r.href,u).then(f=>te(f)).then(f=>{$("self_limitation_success"),ae()}).catch(f=>{console.error(f)})},Ne=()=>{const d=E[P].currentLimits.find(oe=>oe.period===R),u=We();if(u&&u.reviewPending&&u.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("limitInDocReview")}},window.location.href);if(le(),i(22,Q=!0),u&&u.reviewRequired&&!O&&C>u.amount){i(28,ve=!0),i(26,ie=!0);return}const f=d?"v2":"v1",L=new URL(`/${f}/player/${m}/limits/monetary/${d?d.id:""}`,c),_=d?"PUT":"POST",j=d?O?{amount:C,skipCoolOff:!1,payload:{DocumentId:O}}:{amount:C,skipCoolOff:!1}:{amount:C,currency:s,period:V[x].periods[0]==="None"?null:R,type:V[x].callValue16,products:[W!=null?W:"All"],walletTypes:["Deposit","NetDeposit"].includes(V[x].callValue16)?["All"]:["RealCash"]};let H={method:_,headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(j)};fetch(L.href,H).then(oe=>te(oe)).then(oe=>{$("self_limitation_success"),ae()}).catch(oe=>{console.log(oe)}).finally(()=>{i(28,ve=!1),O=""})},Dt=()=>{if(!(C>0))return;le(),i(22,Q=!0);const r=new URL(`/v1/player/${m}/limits/session/`,c);let f={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:C,sessionLimitUnit:"minute"})};fetch(r.href,f).then(L=>te(L)).then(L=>{$("self_limitation_success"),ae()}).catch(L=>{console.log(L)})},Ct=()=>{if(!(C>0))return;le(),i(22,Q=!0);const r=new URL(`/v1/player/${m}/limits/session/`,c);let f={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:R,minutes:C}]})};fetch(r.href,f).then(L=>te(L)).then(L=>{$("self_limitation_success"),ae()}).catch(L=>{console.log(L)})},Tt=()=>{if(!(C>0))return;le(),i(22,Q=!0);const r=new URL(`/v2/player/${m}/limit/lugas`,c);let f={method:"POST",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:C,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};fetch(r.href,f).then(L=>te(L)).then(L=>{i(17,he=L.popup),I=L.regulatorDepositLimitAmount,$("self_limitation_success"),ae()}).catch(L=>{console.log(L)})},jt=()=>{if(ce={},g==="gm16")switch(x){case"lugas":Tt();break;case"sessionLimit":Dt();break;case"cumulativeSession":Ct();break;default:Ne();break}else if(g==="gmcore")At();else throw Error(`Invalid apiversion attribute: ${g}`);$("self_limitation_request")},ae=()=>{switch(g){case"gmcore":Et();break;case"gm16":Mt();break}},Et=()=>{i(22,Q=!0);let r=new URL(`/v2/player/${m}/limits`,c),d={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(r.href,d).then(u=>te(u)).then(u=>{re=u,ge&&ke(),Rt(re),Wt(re),i(16,C=null)}).catch(u=>{console.error("Error LimitsWidget: ",u),i(23,ne=!0)}).finally(()=>{i(22,Q=!1)})},Mt=()=>{i(22,Q=!0);const r=E.some(_=>_.value==="sessionLimit"||_.value==="cumulativeLimit");let d=!r;const u=new URL(`/v1/player/${m}/limits/monetary`,c),f=new URL(`/v1/player/${m}/limits/session`,c),L={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(u.href,L).then(_=>te(_)).then(_=>{re=_,Ot(_),ge&&ke(),i(16,C=null)}).catch(_=>{console.error("Error LimitsWidget: ",_),i(23,ne=!0)}).finally(()=>{d&&i(22,Q=!1),d=!0}),r&&fetch(f.href,L).then(_=>te(_)).then(_=>{Vt(_),Ft(_),ge&&(x==="sessionLimit"||x==="cumulativeSession")&&ke(),i(16,C=null)}).catch(_=>{console.error("Error LimitsWidget: ",_),i(23,ne=!0)}).finally(()=>{d&&i(22,Q=!1),d=!0})},Ut=()=>Te(this,null,function*(){var _;let r=new URL(`/v1/player/${m}/limits/monetary/balance`,c);const d=[],u={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};try{const j=yield fetch(r.href,u),H=yield te(j);d.push(H)}catch(j){console.error("Error LimitsWidget: ",j),i(23,ne=!0)}const f=E.length?E.filter(j=>j.value==="netdeposit"):[];if(!f.length)return;const L=(_=d.find(j=>j.limitBalances))==null?void 0:_.limitBalances.filter(j=>j.limitType==="NetDeposit");if(f.length&&(L!=null&&L.length)){const j=f[0].currentLimits;f[0].currentLimits=j.map(H=>{const oe=L.find(me=>me.limitDefinitionId===H.id);return Le(Le({},H),oe?{spentBalance:oe.spentBalance}:{})})}i(7,E=f)}),It=()=>E.every((r,d)=>{var u,f;return((u=r.currentLimits)==null?void 0:u.length)===((f=w[d])==null?void 0:f.length)&&w[d].every(L=>L!==null)}),Nt=(r,d)=>{const u=r>0?Math.min(d/r*100,100):0,f=Math.round(u),L=document.createElement("div");L.className=`Progress-bar-container ${f===0?"ZeroProgress":""}`;const _=document.createElement("div");_.className="Progress-bar-fill",_.style.width=`${u}%`;const j=document.createElement("span");return j.className="Progress-bar-label",j.textContent=f!==100?`${f}%`:o("limitReached"),L.appendChild(_),L.appendChild(j),L},Bt=(r,d)=>{var H;const u=w[r][d];if(!u)return;const f=E[r].currentLimits[d],L=f.amount,_=((H=f.spentBalance)==null?void 0:H.amount)||0;u.innerHTML="";const j=Nt(L,_);u.appendChild(j)},ze=()=>Te(this,null,function*(){var d,u;yield e.tick();let r=!0;for(let f=0;f<E.length;f++){for(let L=0;L<(((d=E[f].currentLimits)==null?void 0:d.length)||0);L++)if(!w[f]||!w[f][L]){r=!1;break}if(!r)break}if(!r){setTimeout(()=>ze(),10);return}for(let f=0;f<E.length;f++)for(let L=0;L<(((u=E[f].currentLimits)==null?void 0:u.length)||0);L++)Bt(f,L)}),Rt=r=>{E.forEach(d=>{d.currentLimits=[];const u=Array.isArray(r[V[d.value].callValue])?r[V[d.value].callValue]:[r[V[d.value].callValue]];u.length===0||u[0]===void 0||(u.forEach((f,L)=>{var j;const _=r[V[d.value].callValue][L];d.currentLimits.push({}),d.currentLimits[L].limitType=d.value,d.currentLimits[L].amount=M?_.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(_.amount),d.currentLimits[L].currency=(j=fe[_.currency])!=null?j:_.currency,d.currentLimits[L].period=_.period,d.currentLimits[L].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(_.updateAmount),d.currentLimits[L].isModified=_.isModified,d.currentLimits[L].expiryDate=`${new Date(_.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),d.currentLimits=be(d.currentLimits))})},Wt=r=>{const d=o("minutes");E.filter(u=>u.value==="sessionLimit"||u.value==="cumulativeSession").forEach(u=>{var f;u.currentLimits=[],(f=r[V[u.value].callValue])==null||f.forEach((L,_)=>{const j=r[V[u.value].callValue][_];u.currentLimits.push({limitType:u.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(j.minutes),currency:d,isModified:j.isModified,period:u.value==="cumulativeSession"?j.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(j.updateMinutes),expiryDate:`${new Date(j.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),u.currentLimits=be(u.currentLimits)})},Ot=r=>{r!=null&&r.limits&&(E.filter(d=>d.value!=="sessionLimit"&&d.value!=="cumulativeSession").forEach(d=>{var u;d.currentLimits=[];for(const f of r.limits){if(f.type!==d.callValue16||!f.products.includes(d.product))continue;let L=0,_=f.schedules.length>0?f.schedules.find(j=>j.id):{};f.schedules.length>0&&(L=M?_.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(_.updateAmount)),d.currentLimits.push({limitType:d.value,amount:M?f.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(f.amount),currency:(u=fe[f.currency])!=null?u:f.currency,isModified:f.schedules.length>0,period:f.period,product:f.products[0],updateAmount:L,isCoolOffCompleted:_?_.isCoolOffCompleted:!1,reviewRequired:f.reviewRequired?f.reviewRequired:!1,reviewPending:f.reviewPending?f.reviewPending:{},scheduleId:_?_.id:null,expiryDate:f.schedules.length>0?`${new Date(f.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:f.id}),d.currentLimits.forEach(j=>{j.acknowledgedLimit=Object.keys(ee).some(H=>j.scheduleId===H)})}d.currentLimits=be(d.currentLimits)}),S==="true"&&Ut())},Vt=r=>{r!=null&&r.sessionLimit&&E.filter(d=>d.value==="sessionLimit").forEach(d=>{d.currentLimits=[],d.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.sessionLimit.minutes),currency:o("minutes"),isModified:r.sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.sessionLimit.updateMinutes),expiryDate:r.sessionLimit.expiryDate}),d.currentLimits=be(d.currentLimits)})},Ft=r=>{r!=null&&r.cumulativeSessionLimits&&E.filter(d=>d.value==="cumulativeSession").forEach(d=>{d.currentLimits=[];for(const u of r.cumulativeSessionLimits)d.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(u.minutes),currency:o("minutes"),isModified:u.isModified,period:u.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(u.updateMinutes),expiryDate:u.expiryDate});d.currentLimits=be(d.currentLimits)})},be=r=>{const d={Daily:0,Weekly:1,Monthly:2};return r.sort((u,f)=>d[u.period]-d[f.period]),r},Be=()=>{if(C===null||Number.isNaN(C)){i(29,ye=!0);return}const d=!Number.isInteger(C)?Math.round(C):C;i(16,C=d),i(29,ye=d<q||d>G)},qt=r=>r.preventDefault(),Gt=r=>{r.preventDefault(),Be(),ye||jt()},Re=()=>{i(29,ye=!1),se!=null&&se[x]?(i(11,q=se[x].min),i(12,G=se[x].max)):(i(11,q=1),i(12,G=9999999))},Ht=()=>{if(re){const r=re[V[x].callValue].find(f=>f.period===R),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.amount);let u=o("popupImmediateUpdate").replace("{selectedLimit}",Ae(r)).replace("{updatedAmount}",d).replace("{currency}",fe[r.currency]||r.currency).replace("{selectedPeriod}",o(`${R}`));i(13,b=r.isModified?`${o("popupPendingUpdate")} ${new Date(r.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:u)}i(26,ie=!0)},We=()=>{if(!re)return;const r=re.limits;let d=null;return Object.keys(ce).length>0?d=r.find(u=>u.id===ce.id):d=r.find(u=>u.type.toLowerCase()===Ee[x].toLowerCase()&&(u.period===R||u.period==="None")&&u.products[0]===W),(d==null?void 0:d.schedules.length)>0&&ee[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount),d},Kt=()=>{let r=We();if(!r){i(26,ie=!0);return}const d=Ge(r)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.amount),u=r.schedules.length>0?`${new Date(r.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let f=o("popupImmediateUpdate").replace("{selectedLimit}",Ae(r)).replace("{updatedAmount}",d).replace("{selectedPeriod}",o(`${r.period}`));r.schedules.length>0&&ee[r.schedules[0].id]?i(13,b=f):i(13,b=r.schedules.length>0?`${o("popupPendingUpdate")} ${u}`:f),i(26,ie=!0)},Yt=()=>{he==1&&i(14,U="PopupKyc"),he==2&&(i(13,b=`${o("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(I)} ${s} ${o("popup2_b")}`),i(14,U="PopupKyc2")),he==3&&(i(13,b=o("popup3")),i(14,U="PopupSuccess")),i(26,ie=!0)},Jt=()=>{i(13,b=o("sessionLimitUpdated")),i(26,ie=!0)},Zt=()=>{if(re){const r=re[V[x].callValue].find(f=>(f.period===R||R==="None")&&f.products[0]===W),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.minutes);let u=o("popupImmediateUpdate").replace("{selectedLimit}",o(`${x}`)).replace("{updatedAmount}",d).replace("{currency}",o("minutes")).replace("{selectedPeriod}",o(`${R}`));i(13,b=r.isModified?`${o("popupPendingUpdate")} ${new Date(r.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:u)}i(26,ie=!0)},Xt=r=>{var d;return(d=r==null?void 0:r.error)==null?void 0:d.includes("Limit update is not permitted due to LimitUpdateControl")},Qt=r=>{var d;return(d=r==null?void 0:r.error)==null?void 0:d.includes("Limit remove is not permitted due to LimitUpdateControl")},$t=r=>{var d;return(d=r==null?void 0:r.error)==null?void 0:d.includes("[NotFoundException] Limit does not exist")},ei=r=>{var d;return(d=r==null?void 0:r.error)==null?void 0:d.includes("[Exception] Schedule does not exist")},ti=r=>{var d,u;return((d=r.details)==null?void 0:d.includes("Invalid Session"))||((u=r.error)==null?void 0:u.includes("Invalid Session"))},ke=r=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),ne){if(i(24,Pe=!0),!r){i(26,ie=!0);return}Xt(r)?i(13,b=o("popupUpdateLimitException")):Qt(r)?i(13,b=o("popupRemoveLimitException")):$t(r)?i(13,b=o("notFoundException")):ei(r)?i(13,b=o("scheduleNotFoundException")):ti(r)?i(13,b=o("sessionExpiredException")):i(13,b=o("genericLimitsPopupError")),i(26,ie=!0);return}switch(g){case"gmcore":x==="sessionLimit"||x==="cumulativeSession"?Zt():Ht();break;case"gm16":x==="lugas"?Yt():x==="sessionLimit"||x==="cumulativeSession"?Jt():Kt();break;default:throw new Error(`Invalid apiversion attribute: ${g}`)}},le=()=>{i(25,ge=!0),window.postMessage({type:"DisableScroll"},window.location.href)},ii=r=>{i(9,x=r.limitType),i(10,R=r.period),le(),i(22,Q=!0);let d=new URL(`/v2/player/${m}/limits/${Ee[r.limitType]}`,c);r.limitType!=="sessionLimit"&&d.searchParams.append("periods",r.period);let u={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,u).then(f=>te(f)).then(f=>{$("self_limitation_cancel_success",r.amount),ae()}).catch(f=>{$("self_limitation_cancel_failed",r.amount),console.log(f),i(23,ne=!0)})},Oe=r=>{switch(_e.remove=r,g){case"gmcore":ii(r);break;case"gm16":ce=r,r.limitType==="sessionLimit"||r.limitType==="cumulativeSession"?ai(r):Ve(r);break}$("self_limitation_cancel_request",r.amount)},ai=r=>{const d=new URL(`/v1/player/${m}/limits/session/session`,c),u=new URL(`/v1/player/${m}/limits/session/cumulativeSession?periods=${r.period}`,c);let f;switch(r.limitType){case"sessionLimit":f=d;break;case"cumulativeSession":f=u;break;default:throw Error(`Unknown limit.limitType: ${r.limitType}`)}le(),i(22,Q=!0);let L={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(f.href,L).then(_=>te(_)).then(_=>{$("self_limitation_cancel_success",r.amount),ae()}).catch(_=>{$("self_limitation_cancel_failed",r.amount),console.log(_),i(23,ne=!0)})},Ve=r=>{if(le(),i(22,Q=!0),r&&r.reviewRequired&&!O){i(28,ve=!0),i(26,ie=!0);return}const d=new URL(`/v1/player/${m}/limits/monetary/${r.id}`,c);let u={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};O&&d.searchParams.append("documentId",O),fetch(d.href,u).then(f=>te(f)).then(f=>{$("self_limitation_cancel_success",r.amount),ae()}).catch(f=>{$("self_limitation_cancel_failed",r.amount),console.log(f),i(23,ne=!0)}).finally(()=>{_e.remove={},i(28,ve=!1),O=""})},Fe=r=>{const d=new URL(`/v1/player/${m}/limits/schedule/${r.scheduleId}`,c);le(),i(22,Q=!0);let u={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,u).then(f=>te(f)).then(f=>{ce=r,$("self_limitation_cancel_success",r.updateAmount),ae()}).catch(f=>{$("self_limitation_cancel_failed",r.updateAmount),console.log(f)})},qe=r=>{const d=new URL(`v1/player/${m}/limits/schedule/acknowledge/${r.scheduleId}`,c);le(),i(22,Q=!0);let u={method:"PATCH",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,u).then(f=>te(f)).then(f=>{ce=r,oi(r),$("self_limitation_confirm_success",r.amount),ae()}).catch(f=>{$("self_limitation_confirm_failed",r.amount),console.log(f)})},oi=r=>{let d=60;i(19,ee[r.scheduleId]={},ee),i(19,ee[r.scheduleId].timer=`${d} ${pe[n].seconds}`,ee),i(19,ee[r.scheduleId].timerStopped=!1,ee);let u=window.setInterval(()=>d===0?(window.clearInterval(u),i(19,ee[r.scheduleId].timerStopped=!0,ee),i(19,ee[r.scheduleId].timer=pe[n].reloadLimitsButton,ee)):i(19,ee[r.scheduleId].timer=`${--d} ${pe[n].seconds}`,ee),1e3)},Ae=r=>{let d;return r?d=r.value?o(r.value+r.product):o(r.type.toLowerCase()+r.products[0]):d=o(x),d},Ge=(r,d=!1,u=!1)=>{if(!M)return u?`${r.reviewPending.requestAmount}${r.currency}`:d?`${r.updateAmount}${r.currency}`:`${r.amount}${r.currency}`;let f=M;const L=f.match(/\{(\d+)decimals\}/),_=L?parseInt(L[1],10):2,j=L?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let H;u?H=r.reviewPending.requestAmount||0:H=d?r.updateAmount:r.amount,H=parseInt(H).toFixed(_);const[oe,me]=M.includes(".")?[",","."]:[".",","];let[we,Ce]=H.split(".");return we=we.replace(/\B(?=(\d{3})+(?!\d))/g,oe),H=`${we}${me}${Ce}`,f=f.replace("{currency}",fe[r.currency]||r.currency).replace("{amount}",H.split(me)[0]).replace(j,H.split(me)[1]),f},De=()=>{i(26,ie=i(25,ge=!1)),i(14,U=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href),i(22,Q=!1)},ni=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),De()},ri=r=>{console.log(r);let d=0;return Object.keys(r).forEach(u=>{d+=r[u].size}),d<=Number(J)},si=r=>{let d=!1;return Object.keys(r).forEach(u=>{const f=r[u].name.split(".").pop();return A.includes(f)?d=!0:d=!1}),d},He=r=>!r&&!(r.length>0)?i(27,de=!1):(i(18,ue=r),ri(ue)?si(ue)?i(27,de=!0):(console.error(o("fileExtenssionDeny")),i(27,de=!1)):(console.error(o("fileSizeExceeded")),i(27,de=!1))),li=()=>{if(!de)return;i(26,ie=!1);const r=new URL(`/api/v1/mm/content/${m}/url-upload/`,c),d={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":p},body:JSON.stringify({})};fetch(r,d).then(u=>te(u)).then(u=>{di(u)}).catch(u=>{console.error(o("errorUploadDocument"),u),i(18,ue=null),i(27,de=!1)})},di=r=>{const d=new FormData;d.append(r.requestId,ue[0]),fetch(r.url,{method:"POST",body:d}).then(u=>te(u)).then(u=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:o("uploadSuccess")}},window.location.href),O=u.Files[0].Reference,_e.remove.id?Ve(_e.remove):Ne()}).catch(u=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("errorUploadDocument")}},window.location.href),console.error(o("errorUploadDocument"),u)}).finally(()=>{De(),i(18,ue=null),i(27,de=!1)})},pi=()=>{if(!y)return;let r={};y.split(",").forEach(d=>{let u=d.split(":");r[u[0].trim()]=u[1].trim()}),fe=Le(Le({},fe),r)},ui=()=>{Si(n)};e.onMount(()=>(S==="true"&&E.length&&ze(),()=>{}));const mi=r=>He(r.target.files),ci=()=>ae(),fi=r=>Oe(r),gi=r=>qe(r),Li=r=>Fe(r);function hi(r,d,u){e.binding_callbacks[r?"unshift":"push"](()=>{w[d][u]=r,i(6,w),i(1,S),i(7,E)})}function vi(){P=e.select_value(this),i(15,P)}const yi=()=>{Ie(),Ue(),Re()};function bi(){R=e.select_value(this),i(10,R),i(8,V),i(9,x)}function ki(){C=e.to_number(this.value),i(16,C)}function wi(r){e.binding_callbacks[r?"unshift":"push"](()=>{D=r,i(5,D)})}return a.$$set=r=>{"lang"in r&&i(48,n=r.lang),"currency"in r&&i(0,s=r.currency),"limits"in r&&i(49,l=r.limits),"session"in r&&i(50,p=r.session),"userid"in r&&i(51,m=r.userid),"endpoint"in r&&i(52,c=r.endpoint),"apiversion"in r&&i(53,g=r.apiversion),"customcurrencysymbols"in r&&i(54,y=r.customcurrencysymbols),"netdepositprogress"in r&&i(1,S=r.netdepositprogress),"enablecompliancetext"in r&&i(2,v=r.enablecompliancetext),"deletelimit"in r&&i(3,k=r.deletelimit),"amountsconfig"in r&&i(55,T=r.amountsconfig),"periodsconfig"in r&&i(56,K=r.periodsconfig),"limittabindex"in r&&i(4,Z=r.limittabindex),"limitformat"in r&&i(57,M=r.limitformat),"allowedextenssion"in r&&i(58,A=r.allowedextenssion),"filesizeallow"in r&&i(59,J=r.filesizeallow),"clientstyling"in r&&i(60,Y=r.clientstyling),"clientstylingurl"in r&&i(61,z=r.clientstylingurl),"translationurl"in r&&i(62,B=r.translationurl),"mbsource"in r&&i(63,N=r.mbsource)},a.$$.update=()=>{if(a.$$.dirty[1]&8388608&&y&&pi(),a.$$.dirty[1]&50331648&&K&&T&&St(),a.$$.dirty[1]&131072&&n&&ui(),a.$$.dirty[1]&7995392&&m&&p&&c&&g&&n&&ae(),a.$$.dirty[0]&32|a.$$.dirty[1]&536870912&&Y&&D&&e.setClientStyling(D,Y),a.$$.dirty[0]&32|a.$$.dirty[1]&1073741824&&z&&D&&e.setClientStylingURL(D,z),a.$$.dirty[0]&32|a.$$.dirty[2]&2&&N&&D&&e.setStreamStyling(D,`${N}.Style`),a.$$.dirty[2]&1&&B&&_t(),a.$$.dirty[0]&194&&S==="true"&&E.length){const r=E.map(u=>{var f;return new Array(((f=u.currentLimits)==null?void 0:f.length)||0).fill(null)});(w.length!==r.length||w.some((u,f)=>u.length!==r[f].length))&&i(6,w=r)}a.$$.dirty[0]&194&&S==="true"&&w.length===E.length&&It()&&ze()},[s,S,v,k,Z,D,w,E,V,x,R,q,G,b,U,P,C,he,ue,ee,je,xe,Q,ne,Pe,ge,ie,de,ve,ye,o,F,Ue,Ie,ae,Be,qt,Gt,Re,Oe,Fe,qe,Ae,Ge,De,ni,He,li,n,l,p,m,c,g,y,T,K,M,A,J,Y,z,B,N,mi,ci,fi,gi,Li,hi,vi,yi,bi,ki,wi]}class kt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,na,oa,e.safe_not_equal,{lang:48,currency:0,limits:49,session:50,userid:51,endpoint:52,apiversion:53,customcurrencysymbols:54,netdepositprogress:1,enablecompliancetext:2,deletelimit:3,amountsconfig:55,periodsconfig:56,limittabindex:4,limitformat:57,allowedextenssion:58,filesizeallow:59,clientstyling:60,clientstylingurl:61,translationurl:62,mbsource:63},zi,[-1,-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[48]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get limits(){return this.$$.ctx[49]}set limits(t){this.$$set({limits:t}),e.flush()}get session(){return this.$$.ctx[50]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[51]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[52]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[53]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[54]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get netdepositprogress(){return this.$$.ctx[1]}set netdepositprogress(t){this.$$set({netdepositprogress:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[2]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[3]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get amountsconfig(){return this.$$.ctx[55]}set amountsconfig(t){this.$$set({amountsconfig:t}),e.flush()}get periodsconfig(){return this.$$.ctx[56]}set periodsconfig(t){this.$$set({periodsconfig:t}),e.flush()}get limittabindex(){return this.$$.ctx[4]}set limittabindex(t){this.$$set({limittabindex:t}),e.flush()}get limitformat(){return this.$$.ctx[57]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get allowedextenssion(){return this.$$.ctx[58]}set allowedextenssion(t){this.$$set({allowedextenssion:t}),e.flush()}get filesizeallow(){return this.$$.ctx[59]}set filesizeallow(t){this.$$set({filesizeallow:t}),e.flush()}get clientstyling(){return this.$$.ctx[60]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[61]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[62]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[63]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(kt,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},customcurrencysymbols:{},netdepositprogress:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},limittabindex:{},limitformat:{},allowedextenssion:{},filesizeallow:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=kt;
35
+ c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`),e.attr(t,"version","1.1"),e.attr(t,"id","Capa_1"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),e.attr(t,"x","0px"),e.attr(t,"y","0px"),e.attr(t,"viewBox","0 0 52 52"),e.set_style(t,"enable-background","new 0 0 52 52"),e.attr(t,"xml:space","preserve")},m(J,Y){e.insert(J,t,Y),e.append(t,i),e.append(i,o),e.append(i,n),e.append(t,s),e.append(t,l),e.append(t,p),e.append(t,m),e.append(t,c),e.append(t,g),e.append(t,y),e.append(t,S),e.append(t,v),e.append(t,k),e.append(t,T),e.append(t,K),e.append(t,Z),e.append(t,M),e.append(t,A)},d(J){J&&e.detach(t)}}}function Ui(a){let t,i=a[30]("popupSuccess")+"",o;return{c(){t=e.element("p"),o=e.text(i)},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=n[30]("popupSuccess")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Ii(a){let t,i=a[30]("docsRequired")+"",o;return{c(){t=e.element("p"),o=e.text(i)},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=n[30]("docsRequired")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Ni(a){let t,i=a[30]("popupError")+"",o;return{c(){t=e.element("p"),o=e.text(i)},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=n[30]("popupError")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Bi(a){let t,i=a[30]("okButton")+"",o,n,s;return{c(){t=e.element("button"),o=e.text(i),e.attr(t,"class","ConfirmButton "+(a[31]?"":"Mobile"))},m(l,p){e.insert(l,t,p),e.append(t,o),n||(s=e.listen(t,"click",a[44]),n=!0)},p(l,p){p[0]&1073741824&&i!==(i=l[30]("okButton")+"")&&e.set_data(o,i)},d(l){l&&e.detach(t),n=!1,s()}}}function Ri(a){let t,i=a[30]("uploadDocumentsButton")+"",o,n,s=a[30]("closeButton")+"",l,p,m;return{c(){t=e.element("button"),o=e.space(),n=e.element("button"),l=e.text(s),e.attr(t,"class","ConfirmButton"),e.attr(n,"class","CloseButton")},m(c,g){e.insert(c,t,g),t.innerHTML=i,e.insert(c,o,g),e.insert(c,n,g),e.append(n,l),p||(m=[e.listen(t,"click",a[45]),e.listen(n,"click",a[44])],p=!0)},p(c,g){g[0]&1073741824&&i!==(i=c[30]("uploadDocumentsButton")+"")&&(t.innerHTML=i),g[0]&1073741824&&s!==(s=c[30]("closeButton")+"")&&e.set_data(l,s)},d(c){c&&(e.detach(t),e.detach(o),e.detach(n)),p=!1,e.run_all(m)}}}function Wi(a){let t,i=a[30]("noFileUploaded")+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","historyItem")},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=n[30]("noFileUploaded")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Oi(a){let t,i=e.ensure_array_like(Array.from(a[18])),o=[];for(let n=0;n<i.length;n+=1)o[n]=at(tt(a,i,n));return{c(){for(let n=0;n<o.length;n+=1)o[n].c();t=e.empty()},m(n,s){for(let l=0;l<o.length;l+=1)o[l]&&o[l].m(n,s);e.insert(n,t,s)},p(n,s){if(s[0]&262144){i=e.ensure_array_like(Array.from(n[18]));let l;for(l=0;l<i.length;l+=1){const p=tt(n,i,l);o[l]?o[l].p(p,s):(o[l]=at(p),o[l].c(),o[l].m(t.parentNode,t))}for(;l<o.length;l+=1)o[l].d(1);o.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(o,n)}}}function at(a){let t,i=a[153].name+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","historyItem")},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&262144&&i!==(i=n[153].name+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function ot(a){let t,i=a[30]("filesUploadError")+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","filesError")},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=n[30]("filesUploadError")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Vi(a){let t,i,o,n,s,l,p,m=a[30]("setLimit")+"",c,g,y,S,v,k,T,K=a[21]?`${a[30]("amount")}`:`${a[30](`new${a[10]}Limit`)}`,Z,M,A,J,Y,z,B=a[30]("setLimit")+"",N,D,w,h,F=e.ensure_array_like(a[7]),x=[];for(let b=0;b<F.length;b+=1)x[b]=mt($e(a,F,b));let R=e.ensure_array_like(a[7]),W=[];for(let b=0;b<R.length;b+=1)W[b]=ft(Qe(a,R,b));let q=a[2]==="true"&&gt(a),G=a[20]&&Lt(a),X=a[21]&&vt(a),O=a[29]&&bt(a);return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div");for(let b=0;b<x.length;b+=1)x[b].c();n=e.space(),s=e.element("form");for(let b=0;b<W.length;b+=1)W[b].c();l=e.space(),p=e.element("p"),c=e.text(m),g=e.space(),q&&q.c(),y=e.space(),G&&G.c(),S=e.space(),X&&X.c(),v=e.space(),k=e.element("label"),T=e.element("span"),Z=e.text(K),M=e.space(),A=e.element("input"),J=e.space(),O&&O.c(),Y=e.space(),z=e.element("button"),N=e.text(B),e.attr(o,"class","LimitsList"),e.attr(p,"class","LimitTitle "+(a[31]?"":"Mobile")),e.attr(T,"class","LimitInputText"),e.attr(A,"type","number"),e.attr(A,"pattern","[0-9]*"),e.attr(k,"class","LimitAmountInputWrapper "+(a[31]?"":"Mobile")),e.attr(z,"class","LimitSubmitButton "+(a[31]?"":"Mobile")),e.attr(z,"type","submit"),z.disabled=a[29],e.attr(s,"class","LimitsInteractionArea "+(a[31]?"":"Mobile")),e.attr(i,"class","LimitsPageContainer"),e.attr(t,"class",D="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+a[4]))},m(b,U){e.insert(b,t,U),e.append(t,i),e.append(i,o);for(let P=0;P<x.length;P+=1)x[P]&&x[P].m(o,null);e.append(i,n),e.append(i,s);for(let P=0;P<W.length;P+=1)W[P]&&W[P].m(s,null);e.append(s,l),e.append(s,p),e.append(p,c),e.append(s,g),q&&q.m(s,null),e.append(s,y),G&&G.m(s,null),e.append(s,S),X&&X.m(s,null),e.append(s,v),e.append(s,k),e.append(k,T),e.append(T,Z),e.append(k,M),e.append(k,A),e.set_input_value(A,a[16]),e.append(k,J),O&&O.m(k,null),e.append(s,Y),e.append(s,z),e.append(z,N),w||(h=[e.listen(A,"input",a[73]),e.listen(A,"input",a[35]),e.listen(A,"wheel",a[36]),e.listen(s,"submit",a[37])],w=!0)},p(b,U){if(U[0]&1074266314|U[1]&7945){F=e.ensure_array_like(b[7]);let P;for(P=0;P<F.length;P+=1){const I=$e(b,F,P);x[P]?x[P].p(I,U):(x[P]=mt(I),x[P].c(),x[P].m(o,null))}for(;P<x.length;P+=1)x[P].d(1);x.length=F.length}if(U[0]&1073741952|U[1]&1){R=e.ensure_array_like(b[7]);let P;for(P=0;P<R.length;P+=1){const I=Qe(b,R,P);W[P]?W[P].p(I,U):(W[P]=ft(I),W[P].c(),W[P].m(s,l))}for(;P<W.length;P+=1)W[P].d(1);W.length=R.length}U[0]&1073741824&&m!==(m=b[30]("setLimit")+"")&&e.set_data(c,m),b[2]==="true"?q?q.p(b,U):(q=gt(b),q.c(),q.m(s,y)):q&&(q.d(1),q=null),b[20]?G?G.p(b,U):(G=Lt(b),G.c(),G.m(s,S)):G&&(G.d(1),G=null),b[21]?X?X.p(b,U):(X=vt(b),X.c(),X.m(s,v)):X&&(X.d(1),X=null),U[0]&107584e4&&K!==(K=b[21]?`${b[30]("amount")}`:`${b[30](`new${b[10]}Limit`)}`)&&e.set_data(Z,K),U[0]&65536&&e.to_number(A.value)!==b[16]&&e.set_input_value(A,b[16]),b[29]?O?O.p(b,U):(O=bt(b),O.c(),O.m(k,null)):O&&(O.d(1),O=null),U[0]&1073741824&&B!==(B=b[30]("setLimit")+"")&&e.set_data(N,B),U[0]&536870912&&(z.disabled=b[29]),U[0]&16&&D!==(D="player-account-gaming-limits-page-2-gm16 "+("LimitTab"+b[4]))&&e.attr(t,"class",D)},d(b){b&&e.detach(t),e.destroy_each(x,b),e.destroy_each(W,b),q&&q.d(),G&&G.d(),X&&X.d(),O&&O.d(),w=!1,e.run_all(h)}}}function Fi(a){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(i,o){e.insert(i,t,o)},p:e.noop,d(i){i&&e.detach(t)}}}function qi(a){let t,i,o,n,s,l,p=e.ensure_array_like(Array(3)),m=[];for(let c=0;c<p.length;c+=1)m[c]=aa(Ai(a,p,c));return{c(){t=e.element("div"),i=e.element("div"),i.innerHTML='<ui-skeleton width="auto" height="25px" structure="text" margin-right="auto"></ui-skeleton>',o=e.space(),n=e.element("div");for(let c=0;c<m.length;c+=1)m[c].c();s=e.space(),l=e.element("div"),l.innerHTML='<div class="skletonHeader"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonSubText"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div>',e.attr(i,"class","skeletonLimitText"),e.attr(n,"class","skeletonLimitWrapper"),e.attr(l,"class","skeletonInputWrapper"),e.attr(t,"class","skeletonLimitContainer")},m(c,g){e.insert(c,t,g),e.append(t,i),e.append(t,o),e.append(t,n);for(let y=0;y<m.length;y+=1)m[y]&&m[y].m(n,null);e.append(t,s),e.append(t,l)},p:e.noop,d(c){c&&e.detach(t),e.destroy_each(m,c)}}}function nt(a){let t,i=a[30]("activeLimitsInfoText")+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","LimitsInfoText "+(a[31]?"":"Mobile"))},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=n[30]("activeLimitsInfoText")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Gi(a){let t,i,o,n=a[30]("noLimitText")+"",s;return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),s=e.text(n),e.attr(o,"class","LimitDetailsTextWrapper "+(a[31]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,p){e.insert(l,t,p),e.append(t,i),e.append(i,o),e.append(o,s)},p(l,p){p[0]&1073741824&&n!==(n=l[30]("noLimitText")+"")&&e.set_data(s,n)},d(l){l&&e.detach(t)}}}function Hi(a){let t,i,o,n=a[30]("lugasPrivacy")+"",s;return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),s=e.text(n),e.attr(o,"class","LimitDetailsTextWrapper "+(a[31]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,p){e.insert(l,t,p),e.append(t,i),e.append(i,o),e.append(o,s)},p(l,p){p[0]&1073741824&&n!==(n=l[30]("lugasPrivacy")+"")&&e.set_data(s,n)},d(l){l&&e.detach(t)}}}function Ki(a){let t,i=e.ensure_array_like(a[144].currentLimits),o=[];for(let n=0;n<i.length;n+=1)o[n]=ut(et(a,i,n));return{c(){for(let n=0;n<o.length;n+=1)o[n].c();t=e.empty()},m(n,s){for(let l=0;l<o.length;l+=1)o[l]&&o[l].m(n,s);e.insert(n,t,s)},p(n,s){if(s[0]&1074266314|s[1]&5897){i=e.ensure_array_like(n[144].currentLimits);let l;for(l=0;l<i.length;l+=1){const p=et(n,i,l);o[l]?o[l].p(p,s):(o[l]=ut(p),o[l].c(),o[l].m(t.parentNode,t))}for(;l<o.length;l+=1)o[l].d(1);o.length=i.length}},d(n){n&&e.detach(t),e.destroy_each(o,n)}}}function Yi(a){let t,i,o,n=a[30]("lugasPrivacy")+"",s;return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),s=e.text(n),e.attr(o,"class","LimitDetailsTextWrapper "+(a[31]?"":"Mobile")),e.attr(i,"class","LimitDetailsWrapper"),e.attr(t,"class","LimitDetails")},m(l,p){e.insert(l,t,p),e.append(t,i),e.append(i,o),e.append(o,s)},p(l,p){p[0]&1073741824&&n!==(n=l[30]("lugasPrivacy")+"")&&e.set_data(s,n)},d(l){l&&e.detach(t)}}}function Ji(a){let t,i=`${a[43](a[150])}`,o;return{c(){t=e.element("span"),o=e.text(i)},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&128&&i!==(i=`${n[43](n[150])}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function Zi(a){let t,i=`${a[43](a[150],!0)}`,o;return{c(){t=e.element("span"),o=e.text(i)},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&128&&i!==(i=`${n[43](n[150],!0)}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function rt(a){let t,i,o=`${a[43](a[150],!1,!0)}`,n,s,l=`${a[150].period!=="None"||a[150].value!=="cumulativeSession"?" ":a[30]("per")} ${a[30](`${a[150].period}`)} ${a[30]("updateAfterDocApproval")}`,p;return{c(){t=e.element("div"),i=e.element("span"),n=e.text(o),s=e.space(),p=e.text(l),e.attr(t,"class","PendingLimit")},m(m,c){e.insert(m,t,c),e.append(t,i),e.append(i,n),e.append(t,s),e.append(t,p)},p(m,c){c[0]&128&&o!==(o=`${m[43](m[150],!1,!0)}`)&&e.set_data(n,o),c[0]&1073741952&&l!==(l=`${m[150].period!=="None"||m[150].value!=="cumulativeSession"?" ":m[30]("per")} ${m[30](`${m[150].period}`)} ${m[30]("updateAfterDocApproval")}`)&&e.set_data(p,l)},d(m){m&&e.detach(t)}}}function Xi(a){let t,i,o=`${a[43](a[150],!0)}`,n,s;function l(c,g){return c[150].isCoolOffCompleted?ia:ta}let p=l(a),m=p(a);return{c(){t=e.element("div"),i=e.element("span"),n=e.text(o),s=e.space(),m.c(),e.attr(t,"class","PendingLimit")},m(c,g){e.insert(c,t,g),e.append(t,i),e.append(i,n),e.append(t,s),m.m(t,null)},p(c,g){g[0]&128&&o!==(o=`${c[43](c[150],!0)}`)&&e.set_data(n,o),p===(p=l(c))&&m?m.p(c,g):(m.d(1),m=p(c),m&&(m.c(),m.m(t,null)))},d(c){c&&e.detach(t),m.d()}}}function Qi(a){let t,i=`${a[30]("removedLimitText")} ${a[150].expiryDate}`,o;return{c(){t=e.element("div"),o=e.text(i),e.attr(t,"class","PendingLimit")},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741952&&i!==(i=`${n[30]("removedLimitText")} ${n[150].expiryDate}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function $i(a){let t,i=`${a[30]("removeAfterConfirm")}`,o;return{c(){t=e.element("div"),o=e.text(i),e.attr(t,"class","PendingLimit")},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=`${n[30]("removeAfterConfirm")}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function ea(a){let t,i=`${a[30]("acknowledgedLimit")}`,o;return{c(){t=e.element("div"),o=e.text(i),e.attr(t,"class","PendingLimit")},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=`${n[30]("acknowledgedLimit")}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function ta(a){let t=`${a[150].period!=="None"||a[150].value!=="cumulativeSession"?" ":a[30]("per")} ${a[30](`${a[150].period}`)} ${a[30]("updateText")} ${a[150].expiryDate}`,i;return{c(){i=e.text(t)},m(o,n){e.insert(o,i,n)},p(o,n){n[0]&1073741952&&t!==(t=`${o[150].period!=="None"||o[150].value!=="cumulativeSession"?" ":o[30]("per")} ${o[30](`${o[150].period}`)} ${o[30]("updateText")} ${o[150].expiryDate}`)&&e.set_data(i,t)},d(o){o&&e.detach(i)}}}function ia(a){let t=`${a[150].period!=="None"||a[150].value!=="cumulativeSession"?" ":a[30]("per")} ${a[30](`${a[150].period}`)} ${a[30]("updateAfterConfirm")}`,i;return{c(){i=e.text(t)},m(o,n){e.insert(o,i,n)},p(o,n){n[0]&1073741952&&t!==(t=`${o[150].period!=="None"||o[150].value!=="cumulativeSession"?" ":o[30]("per")} ${o[30](`${o[150].period}`)} ${o[30]("updateAfterConfirm")}`)&&e.set_data(i,t)},d(o){o&&e.detach(i)}}}function st(a){let t,i,o=a[19][a[150].scheduleId].timer+"",n,s,l,p;return{c(){t=e.element("div"),i=e.element("button"),n=e.text(o),e.attr(i,"class",s="ReloadLimitButton "+(a[31]?"":"Mobile")+" "+(a[19][a[150].scheduleId].timerStopped?"":"disabled")),e.attr(t,"class","ContainerLimitActions "+(a[31]?"":"Mobile"))},m(m,c){e.insert(m,t,c),e.append(t,i),e.append(i,n),l||(p=e.listen(i,"click",a[65]),l=!0)},p(m,c){c[0]&524416&&o!==(o=m[19][m[150].scheduleId].timer+"")&&e.set_data(n,o),c[0]&524416&&s!==(s="ReloadLimitButton "+(m[31]?"":"Mobile")+" "+(m[19][m[150].scheduleId].timerStopped?"":"disabled"))&&e.attr(i,"class",s)},d(m){m&&e.detach(t),l=!1,p()}}}function lt(a){let t,i,o=a[30]("removeLimit")+"",n,s,l;function p(){return a[66](a[150])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(o),e.attr(i,"class","RemoveLimitButton "+(a[31]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(a[31]?"":"Mobile"))},m(m,c){e.insert(m,t,c),e.append(t,i),e.append(i,n),s||(l=e.listen(i,"click",p),s=!0)},p(m,c){a=m,c[0]&1073741824&&o!==(o=a[30]("removeLimit")+"")&&e.set_data(n,o)},d(m){m&&e.detach(t),s=!1,l()}}}function dt(a){let t,i,o=a[30]("confirmUpdateLimit")+"",n,s,l,p=a[30]("cancelUpdateLimit")+"",m,c,g;function y(){return a[67](a[150])}function S(){return a[68](a[150])}return{c(){t=e.element("div"),i=e.element("button"),n=e.text(o),s=e.space(),l=e.element("button"),m=e.text(p),e.attr(i,"class","ConfirmLimitButton "+(a[31]?"":"Mobile")),e.attr(l,"class","CancelLimitButton "+(a[31]?"":"Mobile")),e.attr(t,"class","ContainerLimitActions "+(a[31]?"":"Mobile"))},m(v,k){e.insert(v,t,k),e.append(t,i),e.append(i,n),e.append(t,s),e.append(t,l),e.append(l,m),c||(g=[e.listen(i,"click",y),e.listen(l,"click",S)],c=!0)},p(v,k){a=v,k[0]&1073741824&&o!==(o=a[30]("confirmUpdateLimit")+"")&&e.set_data(n,o),k[0]&1073741824&&p!==(p=a[30]("cancelUpdateLimit")+"")&&e.set_data(m,p)},d(v){v&&e.detach(t),c=!1,e.run_all(g)}}}function pt(a){let t,i=a[146],o=a[152];const n=()=>a[69](t,i,o),s=()=>a[69](null,i,o);return{c(){t=e.element("div"),t.innerHTML="",e.attr(t,"class","ProgressBarContainer")},m(l,p){e.insert(l,t,p),n()},p(l,p){a=l,(i!==a[146]||o!==a[152])&&(s(),i=a[146],o=a[152],n())},d(l){l&&e.detach(t),s()}}}function ut(a){let t,i,o,n,s,l=`${a[150].period!=="None"||a[150].value!=="cumulativeSession"?" ":a[30]("per")} ${a[30](`${a[150].period}`)}`,p,m,c,g,y,S=!a[150].isModified&&a[3].indexOf(a[144].value)>-1&&!a[150].reviewPending.id,v,k,T;function K(h,F){return h[150].acknowledgedLimit?Zi:Ji}let Z=K(a),M=Z(a),A=a[150].reviewPending&&a[150].reviewPending.id&&rt(a);function J(h,F){if(h[150].acknowledgedLimit)return ea;if(h[150].isModified&&h[150].updateAmount==0&&h[150].isCoolOffCompleted)return $i;if(h[150].isModified&&h[150].updateAmount==0&&!h[150].isCoolOffCompleted)return Qi;if(h[150].isModified)return Xi}let Y=J(a),z=Y&&Y(a),B=a[150].acknowledgedLimit&&!a[150].reviewPending.id&&st(a),N=S&&lt(a),D=a[150].isCoolOffCompleted&!a[150].acknowledgedLimit&&!a[150].reviewPending.id&&dt(a),w=a[1]==="true"&&a[6][a[146]]&&a[6][a[146]].length>a[152]&&pt(a);return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),n=e.element("div"),M.c(),s=e.space(),p=e.text(l),m=e.space(),A&&A.c(),c=e.space(),z&&z.c(),g=e.space(),B&&B.c(),y=e.space(),N&&N.c(),v=e.space(),D&&D.c(),k=e.space(),w&&w.c(),T=e.space(),e.attr(n,"class","CurrentLimit"),e.attr(o,"class","CurrentLimitContainer"),e.attr(i,"class","LimitDetailsTextWrapper "+(a[31]?"":"Mobile")),e.attr(t,"class","LimitDetails")},m(h,F){e.insert(h,t,F),e.append(t,i),e.append(i,o),e.append(o,n),M.m(n,null),e.append(n,s),e.append(n,p),e.append(o,m),A&&A.m(o,null),e.append(o,c),z&&z.m(o,null),e.append(i,g),B&&B.m(i,null),e.append(i,y),N&&N.m(i,null),e.append(i,v),D&&D.m(i,null),e.append(i,k),w&&w.m(i,null),e.append(t,T)},p(h,F){Z===(Z=K(h))&&M?M.p(h,F):(M.d(1),M=Z(h),M&&(M.c(),M.m(n,s))),F[0]&1073741952&&l!==(l=`${h[150].period!=="None"||h[150].value!=="cumulativeSession"?" ":h[30]("per")} ${h[30](`${h[150].period}`)}`)&&e.set_data(p,l),h[150].reviewPending&&h[150].reviewPending.id?A?A.p(h,F):(A=rt(h),A.c(),A.m(o,c)):A&&(A.d(1),A=null),Y===(Y=J(h))&&z?z.p(h,F):(z&&z.d(1),z=Y&&Y(h),z&&(z.c(),z.m(o,null))),h[150].acknowledgedLimit&&!h[150].reviewPending.id?B?B.p(h,F):(B=st(h),B.c(),B.m(i,y)):B&&(B.d(1),B=null),F[0]&136&&(S=!h[150].isModified&&h[3].indexOf(h[144].value)>-1&&!h[150].reviewPending.id),S?N?N.p(h,F):(N=lt(h),N.c(),N.m(i,v)):N&&(N.d(1),N=null),h[150].isCoolOffCompleted&!h[150].acknowledgedLimit&&!h[150].reviewPending.id?D?D.p(h,F):(D=dt(h),D.c(),D.m(i,k)):D&&(D.d(1),D=null),h[1]==="true"&&h[6][h[146]]&&h[6][h[146]].length>h[152]?w?w.p(h,F):(w=pt(h),w.c(),w.m(i,null)):w&&(w.d(1),w=null)},d(h){h&&e.detach(t),M.d(),A&&A.d(),z&&z.d(),B&&B.d(),N&&N.d(),D&&D.d(),w&&w.d()}}}function mt(a){let t,i=a[42](a[144])+"",o,n,s=a[144].value==="netdeposit"&&a[30]("activeLimitsInfoText")!=="activeLimitsInfoText"&&a[30]("activeLimitsInfoText").trim().length,l,p,m,c,g=s&&nt(a);function y(k,T){var K;return k[144].value==="lugas"?Yi:((K=k[144].currentLimits)==null?void 0:K.length)>0?Ki:k[144].value==="lugas"?Hi:Gi}let S=y(a),v=S(a);return{c(){t=e.element("p"),o=e.text(i),n=e.space(),g&&g.c(),l=e.space(),p=e.element("div"),v.c(),m=e.space(),e.attr(t,"class","LimitTitle "+(a[31]?"":"Mobile")),e.attr(p,"class",c="LimitWrapper "+a[144].value+" "+(a[1]==="true"&&a[144].value==="netdeposit"?"ActiveProgressBar":"")+" "+(a[31]?"":"Mobile"))},m(k,T){e.insert(k,t,T),e.append(t,o),e.insert(k,n,T),g&&g.m(k,T),e.insert(k,l,T),e.insert(k,p,T),v.m(p,null),e.append(p,m)},p(k,T){T[0]&128&&i!==(i=k[42](k[144])+"")&&e.set_data(o,i),T[0]&1073741952&&(s=k[144].value==="netdeposit"&&k[30]("activeLimitsInfoText")!=="activeLimitsInfoText"&&k[30]("activeLimitsInfoText").trim().length),s?g?g.p(k,T):(g=nt(k),g.c(),g.m(l.parentNode,l)):g&&(g.d(1),g=null),S===(S=y(k))&&v?v.p(k,T):(v.d(1),v=S(k),v&&(v.c(),v.m(p,m))),T[0]&130&&c!==(c="LimitWrapper "+k[144].value+" "+(k[1]==="true"&&k[144].value==="netdeposit"?"ActiveProgressBar":"")+" "+(k[31]?"":"Mobile"))&&e.attr(p,"class",c)},d(k){k&&(e.detach(t),e.detach(n),e.detach(l),e.detach(p)),g&&g.d(k),v.d()}}}function ct(a){let t,i=a[30]("newLimitInfoText")+"",o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","LimitsInfoText "+(a[31]?"":"Mobile"))},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073741824&&i!==(i=n[30]("newLimitInfoText")+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function ft(a){let t=a[144].value==="netdeposit"&&a[30]("newLimitInfoText")!=="newLimitInfoText"&&a[30]("newLimitInfoText").trim().length,i,o=t&&ct(a);return{c(){o&&o.c(),i=e.empty()},m(n,s){o&&o.m(n,s),e.insert(n,i,s)},p(n,s){s[0]&1073741952&&(t=n[144].value==="netdeposit"&&n[30]("newLimitInfoText")!=="newLimitInfoText"&&n[30]("newLimitInfoText").trim().length),t?o?o.p(n,s):(o=ct(n),o.c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null)},d(n){n&&e.detach(i),o&&o.d(n)}}}function gt(a){let t,i,o=a[30]("complianceText")+"",n;return{c(){t=e.element("div"),i=e.element("p"),n=e.text(o),e.attr(i,"class","LimitComplianceText"),e.attr(t,"class","LimitCompliance")},m(s,l){e.insert(s,t,l),e.append(t,i),e.append(i,n)},p(s,l){l[0]&1073741824&&o!==(o=s[30]("complianceText")+"")&&e.set_data(n,o)},d(s){s&&e.detach(t)}}}function Lt(a){let t,i,o=a[30]("limitType")+"",n,s,l,p,m,c=e.ensure_array_like(a[7]),g=[];for(let y=0;y<c.length;y+=1)g[y]=ht(Xe(a,c,y));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(o),s=e.space(),l=e.element("select");for(let y=0;y<g.length;y+=1)g[y].c();e.attr(i,"class","LimitSelectText"),e.attr(l,"name",""),e.attr(l,"id",""),a[15]===void 0&&e.add_render_callback(()=>a[70].call(l)),e.attr(t,"class","LimitTypeDropdownWrapper "+(a[31]?"":"Mobile"))},m(y,S){e.insert(y,t,S),e.append(t,i),e.append(i,n),e.append(t,s),e.append(t,l);for(let v=0;v<g.length;v+=1)g[v]&&g[v].m(l,null);e.select_option(l,a[15],!0),p||(m=[e.listen(l,"change",a[70]),e.listen(l,"change",a[71])],p=!0)},p(y,S){if(S[0]&1073741824&&o!==(o=y[30]("limitType")+"")&&e.set_data(n,o),S[0]&128|S[1]&2048){c=e.ensure_array_like(y[7]);let v;for(v=0;v<c.length;v+=1){const k=Xe(y,c,v);g[v]?g[v].p(k,S):(g[v]=ht(k),g[v].c(),g[v].m(l,null))}for(;v<g.length;v+=1)g[v].d(1);g.length=c.length}S[0]&32768&&e.select_option(l,y[15])},d(y){y&&e.detach(t),e.destroy_each(g,y),p=!1,e.run_all(m)}}}function ht(a){let t,i=a[42](a[144])+"",o;return{c(){t=e.element("option"),o=e.text(i),t.__value=a[146],e.set_input_value(t,t.__value)},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&128&&i!==(i=n[42](n[144])+"")&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function vt(a){let t,i,o=a[30]("period")+"",n,s,l,p,m,c=e.ensure_array_like(a[8][a[9]].periods),g=[];for(let y=0;y<c.length;y+=1)g[y]=yt(Ze(a,c,y));return{c(){t=e.element("label"),i=e.element("span"),n=e.text(o),s=e.space(),l=e.element("select");for(let y=0;y<g.length;y+=1)g[y].c();e.attr(i,"class","PeriodSelectText"),e.attr(l,"name",""),e.attr(l,"id",""),a[10]===void 0&&e.add_render_callback(()=>a[72].call(l)),e.attr(t,"class","LimitPeriodDropdownWrapper "+(a[31]?"":"Mobile"))},m(y,S){e.insert(y,t,S),e.append(t,i),e.append(i,n),e.append(t,s),e.append(t,l);for(let v=0;v<g.length;v+=1)g[v]&&g[v].m(l,null);e.select_option(l,a[10],!0),p||(m=e.listen(l,"change",a[72]),p=!0)},p(y,S){if(S[0]&1073741824&&o!==(o=y[30]("period")+"")&&e.set_data(n,o),S[0]&1073742592){c=e.ensure_array_like(y[8][y[9]].periods);let v;for(v=0;v<c.length;v+=1){const k=Ze(y,c,v);g[v]?g[v].p(k,S):(g[v]=yt(k),g[v].c(),g[v].m(l,null))}for(;v<g.length;v+=1)g[v].d(1);g.length=c.length}S[0]&1792&&e.select_option(l,y[10])},d(y){y&&e.detach(t),e.destroy_each(g,y),p=!1,m()}}}function yt(a){let t,i=a[30](a[141])+"",o,n;return{c(){t=e.element("option"),o=e.text(i),t.__value=n=a[141],e.set_input_value(t,t.__value),t.selected=!0},m(s,l){e.insert(s,t,l),e.append(t,o)},p(s,l){l[0]&1073742592&&i!==(i=s[30](s[141])+"")&&e.set_data(o,i),l[0]&768&&n!==(n=s[141])&&(t.__value=n,e.set_input_value(t,t.__value))},d(s){s&&e.detach(t)}}}function bt(a){let t,i=a[16]===null?`${a[30]("invalidInputMessage")}`:a[16]<a[11]?`${a[30]("invalidInputMessageLimitMin",{values:{minValue:a[11],currency:a[0]}})}`:`${a[30]("invalidInputMessageLimitMax",{values:{maxValue:a[12],currency:a[0]}})}`,o;return{c(){t=e.element("p"),o=e.text(i),e.attr(t,"class","InvalidInput")},m(n,s){e.insert(n,t,s),e.append(t,o)},p(n,s){s[0]&1073813505&&i!==(i=n[16]===null?`${n[30]("invalidInputMessage")}`:n[16]<n[11]?`${n[30]("invalidInputMessageLimitMin",{values:{minValue:n[11],currency:n[0]}})}`:`${n[30]("invalidInputMessageLimitMax",{values:{maxValue:n[12],currency:n[0]}})}`)&&e.set_data(o,i)},d(n){n&&e.detach(t)}}}function aa(a){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ',e.attr(t,"class","skeletonLimitContent")},m(i,o){e.insert(i,t,o)},p:e.noop,d(i){i&&e.detach(t)}}}function oa(a){let t,i,o=a[25]&&it(a);function n(p,m){if(p[22])return qi;if(p[23])return Fi;if(!p[22])return Vi}let s=n(a),l=s&&s(a);return{c(){t=e.element("div"),o&&o.c(),i=e.space(),l&&l.c()},m(p,m){e.insert(p,t,m),o&&o.m(t,null),e.append(t,i),l&&l.m(t,null),a[74](t)},p(p,m){p[25]?o?o.p(p,m):(o=it(p),o.c(),o.m(t,i)):o&&(o.d(1),o=null),s===(s=n(p))&&l?l.p(p,m):(l&&l.d(1),l=s&&s(p),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),o&&o.d(),l&&l.d(),a[74](null)}}}function na(a,t,i){let o;e.component_subscribe(a,e.$format,r=>i(30,o=r));let{lang:n="en"}=t,{currency:s=""}=t,{limits:l=""}=t,{session:p=""}=t,{userid:m=""}=t,{endpoint:c=""}=t,{apiversion:g=""}=t,{customcurrencysymbols:y=""}=t,{netdepositprogress:S="false"}=t,{enablecompliancetext:v=""}=t,{deletelimit:k=""}=t,{amountsconfig:T=""}=t,{periodsconfig:K=""}=t,{limittabindex:Z=""}=t,{limitformat:M=""}=t,{allowedextenssion:A=".jpg,.jpeg,.png,.pdf,.webp,image/png"}=t,{filesizeallow:J="12934000"}=t,{clientstyling:Y=""}=t,{clientstylingurl:z=""}=t,{translationurl:B=""}=t,{mbsource:N}=t,D,w=[],h=window.navigator.userAgent,F=!e.isMobile(h),x="",R="",W="",q="",G="",X="",O="",b="",U="",P=0,I,C,he,E=[],re={},le={},ce={},wt={},ue,fe={EUR:"€",RON:" lei",USD:"$"},_e={remove:{},confirm:{},update:{}},ee={},je=!1,xe=!1,Q=!0,ne=!1,Pe=!1,ge=!1,ie=!1,de=!1,ve=!1,ye=!1;const Ee={wager:"wagering",loss:"loss",deposit:"deposit",netdeposit:"netdeposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"},Me={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"],internalServerError:["F0004","F0006"]},_t=()=>{fetch(B).then(d=>d.json()).then(d=>{Object.keys(d).forEach(u=>{Je(u,d[u])})}).catch(d=>{console.log(d)})};Object.keys(pe).forEach(r=>{Je(r,pe[r])});const Se=r=>`dataLayer-${r}`,$=(r,d)=>{typeof gtag=="function"&&gtag({event:r,limit_category:pe[n][Se(W.toLowerCase())]||W,limit_type:pe[n][Se(x.toLowerCase())]||x,limit_period:pe[n][Se(R.toLowerCase())]||R,limit_amount:C||d})},xt=()=>{var f;const r=T.split(",").map(L=>L.split(":")),d=K.split(",").map(L=>L.split(":"));for(let[L,_]of r.entries())if(_[0]!==d[L][0])throw new Error(`Limit config mismatch: "${_[0]}" does not match "${d[L][0]}"`);const u=r.reduce((L,_,j)=>{const H=_[0].slice(_[0].indexOf("(")+1,_[0].indexOf(")")),oe=_[0].slice(0,_[0].indexOf("(")),me=_[1],we=d[j][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),Ce={value:H,product:oe,minMax:me,periods:we,callValue:V[H].callValue,callValue16:V[H].callValue16,title:V[H].title};return L.push(Ce),L},[]);for(let L=0;L<u.length;L++)i(7,E[L].product=u[L].product,E),i(7,E[L].min=parseInt(u[L].minMax.split("-")[0],10),E),i(7,E[L].max=parseInt(u[L].minMax.split("-")[1],10),E),i(8,V[u[L].value].periods=u[L].periods,V);X=(f=E[0])==null?void 0:f.value,E.forEach(L=>{le[L.value]={min:L.min,max:L.max},wt[L.value]=L.product}),le[X]?(i(11,q=le[X].min),i(12,G=le[X].max)):(i(11,q=1),i(12,G=9999999))},Pt=()=>{const r=/\(([^)]+)\)/g;return[...T.matchAll(r)].flat().filter(u=>!u.includes("("))},St=()=>{Pt().forEach(d=>{V[d]?E.push(Le({},V[d])):console.error(`Unknown limit: ${d}`)}),xt(),i(9,x=E[0].value),i(10,R=V[x].periods[0]),W=E[0].product,i(20,je=E.length>1),i(21,xe=V[x].periods.length>1)},Ue=()=>{i(9,x=E[P].value),i(10,R=V[x].periods[0]),i(21,xe=V[x].periods.length>1)},Ie=()=>{W=E[P].product},te=r=>{if(r.status>=300)zt(r);else return i(24,Pe=!1),r.status!==204?r.json():r},zt=r=>{i(23,ne=!0);let d;throw r.json().then(u=>{for(const f in Me)if(u.error&&Me[f].some(L=>u.error.includes(L))){d=f;break}console.error("errType",d),!d&&ke(u)}).finally(()=>{d&&ke(d),i(23,ne=!1),i(22,Q=!1)}),new Error("An error occured during the fetch request")},At=()=>{if(!(C>0))return;se(),i(22,Q=!0);let r=new URL(`/v2/player/${m}/limits`,c),d={};x==="sessionLimit"?d={sessionLimit:C,sessionLimitUnit:"minute"}:x==="cumulativeSession"?d[V[x].callValue]=[{period:R,minutes:C}]:d[V[x].callValue]=[{period:V[x].periods[0]==="None"?null:R,amount:C,currency:s}];let u={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(d)};fetch(r.href,u).then(f=>te(f)).then(f=>{$("self_limitation_success"),ae()}).catch(f=>{console.error(f)})},Ne=()=>{const d=E[P].currentLimits.find(oe=>oe.period===R),u=We();if(u&&u.reviewPending&&u.reviewPending.id)return window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("limitInDocReview")}},window.location.href);if(se(),i(22,Q=!0),u&&u.reviewRequired&&!O&&C>u.amount){i(28,ve=!0),i(26,ie=!0);return}const f=d?"v2":"v1",L=new URL(`/${f}/player/${m}/limits/monetary/${d?d.id:""}`,c),_=d?"PUT":"POST",j=d?O?{amount:C,skipCoolOff:!1,payload:{DocumentId:O}}:{amount:C,skipCoolOff:!1}:{amount:C,currency:s,period:V[x].periods[0]==="None"?null:R,type:V[x].callValue16,products:[W!=null?W:"All"],walletTypes:["Deposit","NetDeposit"].includes(V[x].callValue16)?["All"]:["RealCash"]};let H={method:_,headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(j)};fetch(L.href,H).then(oe=>te(oe)).then(oe=>{$("self_limitation_success"),ae()}).catch(oe=>{console.log(oe)}).finally(()=>{i(28,ve=!1),O=""})},Dt=()=>{if(!(C>0))return;se(),i(22,Q=!0);const r=new URL(`/v1/player/${m}/limits/session/`,c);let f={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({sessionLimit:C,sessionLimitUnit:"minute"})};fetch(r.href,f).then(L=>te(L)).then(L=>{$("self_limitation_success"),ae()}).catch(L=>{console.log(L)})},Ct=()=>{if(!(C>0))return;se(),i(22,Q=!0);const r=new URL(`/v1/player/${m}/limits/session/`,c);let f={method:"PUT",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({cumulativeSessionLimits:[{period:R,minutes:C}]})};fetch(r.href,f).then(L=>te(L)).then(L=>{$("self_limitation_success"),ae()}).catch(L=>{console.log(L)})},Tt=()=>{if(!(C>0))return;se(),i(22,Q=!0);const r=new URL(`/v2/player/${m}/limit/lugas`,c);let f={method:"POST",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({amount:C,roleLimitAmount:0,softMigration:!1,keepLimit:!1})};fetch(r.href,f).then(L=>te(L)).then(L=>{i(17,he=L.popup),I=L.regulatorDepositLimitAmount,$("self_limitation_success"),ae()}).catch(L=>{console.log(L)})},jt=()=>{if(ce={},g==="gm16")switch(x){case"lugas":Tt();break;case"sessionLimit":Dt();break;case"cumulativeSession":Ct();break;default:Ne();break}else if(g==="gmcore")At();else throw Error(`Invalid apiversion attribute: ${g}`);$("self_limitation_request")},ae=()=>{switch(g){case"gmcore":Et();break;case"gm16":Mt();break}},Et=()=>{i(22,Q=!0);let r=new URL(`/v2/player/${m}/limits`,c),d={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(r.href,d).then(u=>te(u)).then(u=>{re=u,ge&&ke(),Rt(re),Wt(re),i(16,C=null)}).catch(u=>{console.error("Error LimitsWidget: ",u),i(23,ne=!0)}).finally(()=>{i(22,Q=!1)})},Mt=()=>{i(22,Q=!0);const r=E.some(_=>_.value==="sessionLimit"||_.value==="cumulativeLimit");let d=!r;const u=new URL(`/v1/player/${m}/limits/monetary`,c),f=new URL(`/v1/player/${m}/limits/session`,c),L={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(u.href,L).then(_=>te(_)).then(_=>{re=_,Ot(_),ge&&ke(),i(16,C=null)}).catch(_=>{console.error("Error LimitsWidget: ",_),i(23,ne=!0)}).finally(()=>{d&&i(22,Q=!1),d=!0}),r&&fetch(f.href,L).then(_=>te(_)).then(_=>{Vt(_),Ft(_),ge&&(x==="sessionLimit"||x==="cumulativeSession")&&ke(),i(16,C=null)}).catch(_=>{console.error("Error LimitsWidget: ",_),i(23,ne=!0)}).finally(()=>{d&&i(22,Q=!1),d=!0})},Ut=()=>Te(this,null,function*(){var _;let r=new URL(`/v1/player/${m}/limits/monetary/balance`,c);const d=[],u={method:"GET",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};try{const j=yield fetch(r.href,u),H=yield te(j);d.push(H)}catch(j){console.error("Error LimitsWidget: ",j),i(23,ne=!0)}const f=E.length?E.filter(j=>j.value==="netdeposit"):[];if(!f.length)return;const L=(_=d.find(j=>j.limitBalances))==null?void 0:_.limitBalances.filter(j=>j.limitType==="NetDeposit");if(f.length&&(L!=null&&L.length)){const j=f[0].currentLimits;f[0].currentLimits=j.map(H=>{const oe=L.find(me=>me.limitDefinitionId===H.id);return Le(Le({},H),oe?{spentBalance:oe.spentBalance}:{})})}i(7,E=f)}),It=()=>E.every((r,d)=>{var u,f;return((u=r.currentLimits)==null?void 0:u.length)===((f=w[d])==null?void 0:f.length)&&w[d].every(L=>L!==null)}),Nt=(r,d)=>{const u=r>0?Math.min(d/r*100,100):0,f=Math.round(u),L=document.createElement("div");L.className=`Progress-bar-container ${f===0?"ZeroProgress":""}`;const _=document.createElement("div");_.className="Progress-bar-fill",_.style.width=`${u}%`;const j=document.createElement("span");return j.className="Progress-bar-label",j.textContent=f!==100?`${f}%`:o("limitReached"),L.appendChild(_),L.appendChild(j),L},Bt=(r,d)=>{var H;const u=w[r][d];if(!u)return;const f=E[r].currentLimits[d],L=f.amount,_=((H=f.spentBalance)==null?void 0:H.amount)||0;u.innerHTML="";const j=Nt(L,_);u.appendChild(j)},ze=()=>Te(this,null,function*(){var d,u;yield e.tick();let r=!0;for(let f=0;f<E.length;f++){for(let L=0;L<(((d=E[f].currentLimits)==null?void 0:d.length)||0);L++)if(!w[f]||!w[f][L]){r=!1;break}if(!r)break}if(!r){setTimeout(()=>ze(),10);return}for(let f=0;f<E.length;f++)for(let L=0;L<(((u=E[f].currentLimits)==null?void 0:u.length)||0);L++)Bt(f,L)}),Rt=r=>{E.forEach(d=>{d.currentLimits=[];const u=Array.isArray(r[V[d.value].callValue])?r[V[d.value].callValue]:[r[V[d.value].callValue]];u.length===0||u[0]===void 0||(u.forEach((f,L)=>{var j;const _=r[V[d.value].callValue][L];d.currentLimits.push({}),d.currentLimits[L].limitType=d.value,d.currentLimits[L].amount=M?_.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(_.amount),d.currentLimits[L].currency=(j=fe[_.currency])!=null?j:_.currency,d.currentLimits[L].period=_.period,d.currentLimits[L].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(_.updateAmount),d.currentLimits[L].isModified=_.isModified,d.currentLimits[L].expiryDate=`${new Date(_.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`}),d.currentLimits=be(d.currentLimits))})},Wt=r=>{const d=o("minutes");E.filter(u=>u.value==="sessionLimit"||u.value==="cumulativeSession").forEach(u=>{var f;u.currentLimits=[],(f=r[V[u.value].callValue])==null||f.forEach((L,_)=>{const j=r[V[u.value].callValue][_];u.currentLimits.push({limitType:u.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(j.minutes),currency:d,isModified:j.isModified,period:u.value==="cumulativeSession"?j.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(j.updateMinutes),expiryDate:`${new Date(j.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})}),u.currentLimits=be(u.currentLimits)})},Ot=r=>{r!=null&&r.limits&&(E.filter(d=>d.value!=="sessionLimit"&&d.value!=="cumulativeSession").forEach(d=>{var u;d.currentLimits=[];for(const f of r.limits){if(f.type!==d.callValue16||!f.products.includes(d.product))continue;let L=0,_=f.schedules.length>0?f.schedules.find(j=>j.id):{};f.schedules.length>0&&(L=M?_.updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(_.updateAmount)),d.currentLimits.push({limitType:d.value,amount:M?f.amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(f.amount),currency:(u=fe[f.currency])!=null?u:f.currency,isModified:f.schedules.length>0,period:f.period,product:f.products[0],updateAmount:L,isCoolOffCompleted:_?_.isCoolOffCompleted:!1,reviewRequired:f.reviewRequired?f.reviewRequired:!1,reviewPending:f.reviewPending?f.reviewPending:{},scheduleId:_?_.id:null,expiryDate:f.schedules.length>0?`${new Date(f.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:f.id}),d.currentLimits.forEach(j=>{j.acknowledgedLimit=Object.keys(ee).some(H=>j.scheduleId===H)})}d.currentLimits=be(d.currentLimits)}),S==="true"&&Ut())},Vt=r=>{r!=null&&r.sessionLimit&&E.filter(d=>d.value==="sessionLimit").forEach(d=>{d.currentLimits=[],d.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.sessionLimit.minutes),currency:o("minutes"),isModified:r.sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.sessionLimit.updateMinutes),expiryDate:r.sessionLimit.expiryDate}),d.currentLimits=be(d.currentLimits)})},Ft=r=>{r!=null&&r.cumulativeSessionLimits&&E.filter(d=>d.value==="cumulativeSession").forEach(d=>{d.currentLimits=[];for(const u of r.cumulativeSessionLimits)d.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(u.minutes),currency:o("minutes"),isModified:u.isModified,period:u.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(u.updateMinutes),expiryDate:u.expiryDate});d.currentLimits=be(d.currentLimits)})},be=r=>{const d={Daily:0,Weekly:1,Monthly:2};return r.sort((u,f)=>d[u.period]-d[f.period]),r},Be=()=>{if(C===null||Number.isNaN(C)){i(29,ye=!0);return}const d=!Number.isInteger(C)?Math.round(C):C;i(16,C=d),i(29,ye=d<q||d>G)},qt=r=>r.preventDefault(),Gt=r=>{r.preventDefault(),Be(),ye||jt()},Re=()=>{i(29,ye=!1),le!=null&&le[x]?(i(11,q=le[x].min),i(12,G=le[x].max)):(i(11,q=1),i(12,G=9999999))},Ht=()=>{if(re){const r=re[V[x].callValue].find(f=>f.period===R),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.amount);let u=o("popupImmediateUpdate").replace("{selectedLimit}",Ae(r)).replace("{updatedAmount}",d).replace("{currency}",fe[r.currency]||r.currency).replace("{selectedPeriod}",o(`${R}`));i(13,b=r.isModified?`${o("popupPendingUpdate")} ${new Date(r.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:u)}i(26,ie=!0)},We=()=>{if(!re)return;const r=re.limits;let d=null;return Object.keys(ce).length>0?d=r.find(u=>u.id===ce.id):d=r.find(u=>u.type.toLowerCase()===Ee[x].toLowerCase()&&(u.period===R||u.period==="None")&&u.products[0]===W),(d==null?void 0:d.schedules.length)>0&&ee[d==null?void 0:d.schedules[0].id]&&(d.amount=d.schedules[0].updateAmount),d},Kt=()=>{let r=We();if(!r){i(26,ie=!0);return}const d=Ge(r)||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.amount),u=r.schedules.length>0?`${new Date(r.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let f=o("popupImmediateUpdate").replace("{selectedLimit}",Ae(r)).replace("{updatedAmount}",d).replace("{selectedPeriod}",o(`${r.period}`));r.schedules.length>0&&ee[r.schedules[0].id]?i(13,b=f):i(13,b=r.schedules.length>0?`${o("popupPendingUpdate")} ${u}`:f),i(26,ie=!0)},Yt=()=>{he==1&&i(14,U="PopupKyc"),he==2&&(i(13,b=`${o("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(I)} ${s} ${o("popup2_b")}`),i(14,U="PopupKyc2")),he==3&&(i(13,b=o("popup3")),i(14,U="PopupSuccess")),i(26,ie=!0)},Jt=()=>{i(13,b=o("sessionLimitUpdated")),i(26,ie=!0)},Zt=()=>{if(re){const r=re[V[x].callValue].find(f=>(f.period===R||R==="None")&&f.products[0]===W),d=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.minutes);let u=o("popupImmediateUpdate").replace("{selectedLimit}",o(`${x}`)).replace("{updatedAmount}",d).replace("{currency}",o("minutes")).replace("{selectedPeriod}",o(`${R}`));i(13,b=r.isModified?`${o("popupPendingUpdate")} ${new Date(r.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:u)}i(26,ie=!0)},Xt=r=>{var d;return(d=r==null?void 0:r.error)==null?void 0:d.includes("Limit update is not permitted due to LimitUpdateControl")},Qt=r=>{var d;return(d=r==null?void 0:r.error)==null?void 0:d.includes("Limit remove is not permitted due to LimitUpdateControl")},$t=r=>{var d;return(d=r==null?void 0:r.error)==null?void 0:d.includes("[NotFoundException] Limit does not exist")},ei=r=>{var d;return(d=r==null?void 0:r.error)==null?void 0:d.includes("[Exception] Schedule does not exist")},ti=r=>{var d,u;return((d=r.details)==null?void 0:d.includes("Invalid Session"))||((u=r.error)==null?void 0:u.includes("Invalid Session"))},ke=r=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),ne){if(i(24,Pe=!0),!r){i(26,ie=!0);return}Xt(r)?i(13,b=o("popupUpdateLimitException")):Qt(r)?i(13,b=o("popupRemoveLimitException")):$t(r)?i(13,b=o("notFoundException")):ei(r)?i(13,b=o("scheduleNotFoundException")):ti(r)?i(13,b=o("sessionExpiredException")):i(13,b=o("genericLimitsPopupError")),i(26,ie=!0);return}switch(g){case"gmcore":x==="sessionLimit"||x==="cumulativeSession"?Zt():Ht();break;case"gm16":x==="lugas"?Yt():x==="sessionLimit"||x==="cumulativeSession"?Jt():Kt();break;default:throw new Error(`Invalid apiversion attribute: ${g}`)}},se=()=>{i(25,ge=!0),window.postMessage({type:"DisableScroll"},window.location.href)},ii=r=>{i(9,x=r.limitType),i(10,R=r.period),se(),i(22,Q=!0);let d=new URL(`/v2/player/${m}/limits/${Ee[r.limitType]}`,c);r.limitType!=="sessionLimit"&&d.searchParams.append("periods",r.period);let u={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,u).then(f=>te(f)).then(f=>{$("self_limitation_cancel_success",r.amount),ae()}).catch(f=>{$("self_limitation_cancel_failed",r.amount),console.log(f),i(23,ne=!0)})},Oe=r=>{switch(_e.remove=r,g){case"gmcore":ii(r);break;case"gm16":ce=r,r.limitType==="sessionLimit"||r.limitType==="cumulativeSession"?ai(r):Ve(r);break}$("self_limitation_cancel_request",r.amount)},ai=r=>{const d=new URL(`/v1/player/${m}/limits/session/session`,c),u=new URL(`/v1/player/${m}/limits/session/cumulativeSession?periods=${r.period}`,c);let f;switch(r.limitType){case"sessionLimit":f=d;break;case"cumulativeSession":f=u;break;default:throw Error(`Unknown limit.limitType: ${r.limitType}`)}se(),i(22,Q=!0);let L={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(f.href,L).then(_=>te(_)).then(_=>{$("self_limitation_cancel_success",r.amount),ae()}).catch(_=>{$("self_limitation_cancel_failed",r.amount),console.log(_),i(23,ne=!0)})},Ve=r=>{if(se(),i(22,Q=!0),r&&r.reviewRequired&&!O){i(28,ve=!0),i(26,ie=!0);return}const d=new URL(`/v1/player/${m}/limits/monetary/${r.id}`,c);let u={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};O&&d.searchParams.append("documentId",O),fetch(d.href,u).then(f=>te(f)).then(f=>{$("self_limitation_cancel_success",r.amount),ae()}).catch(f=>{$("self_limitation_cancel_failed",r.amount),console.log(f),i(23,ne=!0)}).finally(()=>{_e.remove={},i(28,ve=!1),O=""})},Fe=r=>{const d=new URL(`/v1/player/${m}/limits/schedule/${r.scheduleId}`,c);se(),i(22,Q=!0);let u={method:"DELETE",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,u).then(f=>te(f)).then(f=>{ce=r,$("self_limitation_cancel_success",r.updateAmount),ae()}).catch(f=>{$("self_limitation_cancel_failed",r.updateAmount),console.log(f)})},qe=r=>{const d=new URL(`v1/player/${m}/limits/schedule/acknowledge/${r.scheduleId}`,c);se(),i(22,Q=!0);let u={method:"PATCH",headers:{"X-SessionID":p,"Content-Type":"application/json",Accept:"application/json"}};fetch(d.href,u).then(f=>te(f)).then(f=>{ce=r,oi(r),$("self_limitation_confirm_success",r.amount),ae()}).catch(f=>{$("self_limitation_confirm_failed",r.amount),console.log(f)})},oi=r=>{let d=60;i(19,ee[r.scheduleId]={},ee),i(19,ee[r.scheduleId].timer=`${d} ${pe[n].seconds}`,ee),i(19,ee[r.scheduleId].timerStopped=!1,ee);let u=window.setInterval(()=>d===0?(window.clearInterval(u),i(19,ee[r.scheduleId].timerStopped=!0,ee),i(19,ee[r.scheduleId].timer=pe[n].reloadLimitsButton,ee)):i(19,ee[r.scheduleId].timer=`${--d} ${pe[n].seconds}`,ee),1e3)},Ae=r=>{let d;return r?d=r.value?o(r.value+r.product):o(r.type.toLowerCase()+r.products[0]):d=o(x),d},Ge=(r,d=!1,u=!1)=>{if(!M)return u?`${r.reviewPending.requestAmount}${r.currency}`:d?`${r.updateAmount}${r.currency}`:`${r.amount}${r.currency}`;let f=M;const L=f.match(/\{(\d+)decimals\}/),_=L?parseInt(L[1],10):2,j=L?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let H;u?H=r.reviewPending.requestAmount||0:H=d?r.updateAmount:r.amount,H=parseInt(H).toFixed(_);const[oe,me]=M.includes(".")?[",","."]:[".",","];let[we,Ce]=H.split(".");return we=we.replace(/\B(?=(\d{3})+(?!\d))/g,oe),H=`${we}${me}${Ce}`,f=f.replace("{currency}",fe[r.currency]||r.currency).replace("{amount}",H.split(me)[0]).replace(j,H.split(me)[1]),f},De=()=>{i(26,ie=i(25,ge=!1)),i(14,U=""),window.postMessage({type:"CloseLimitsPopup"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href),i(22,Q=!1)},ni=()=>{window.postMessage({type:"uploadDocuments"},window.location.href),De()},ri=r=>{console.log(r);let d=0;return Object.keys(r).forEach(u=>{d+=r[u].size}),d<=Number(J)},si=r=>{let d=!1;return Object.keys(r).forEach(u=>{const f=r[u].name.split(".").pop();return A.includes(f)?d=!0:d=!1}),d},He=r=>!r&&!(r.length>0)?i(27,de=!1):(i(18,ue=r),ri(ue)?si(ue)?i(27,de=!0):(console.error(o("fileExtenssionDeny")),i(27,de=!1)):(console.error(o("fileSizeExceeded")),i(27,de=!1))),li=()=>{if(!de)return;i(26,ie=!1);const r=new URL(`/api/v1/mm/content/${m}/url-upload/`,c),d={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":p},body:JSON.stringify({})};fetch(r,d).then(u=>te(u)).then(u=>{di(u)}).catch(u=>{console.error(o("errorUploadDocument"),u),i(18,ue=null),i(27,de=!1)})},di=r=>{const d=new FormData;d.append(r.requestId,ue[0]),fetch(r.url,{method:"POST",body:d}).then(u=>te(u)).then(u=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:o("uploadSuccess")}},window.location.href),O=u.Files[0].Reference,_e.remove.id?Ve(_e.remove):Ne()}).catch(u=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("errorUploadDocument")}},window.location.href),console.error(o("errorUploadDocument"),u)}).finally(()=>{De(),i(18,ue=null),i(27,de=!1)})},pi=()=>{if(!y)return;let r={};y.split(",").forEach(d=>{let u=d.split(":");r[u[0].trim()]=u[1].trim()}),fe=Le(Le({},fe),r)},ui=()=>{Si(n)};e.onMount(()=>(S==="true"&&E.length&&ze(),()=>{}));const mi=r=>He(r.target.files),ci=()=>ae(),fi=r=>Oe(r),gi=r=>qe(r),Li=r=>Fe(r);function hi(r,d,u){e.binding_callbacks[r?"unshift":"push"](()=>{w[d][u]=r,i(6,w),i(1,S),i(7,E)})}function vi(){P=e.select_value(this),i(15,P)}const yi=()=>{Ie(),Ue(),Re()};function bi(){R=e.select_value(this),i(10,R),i(8,V),i(9,x)}function ki(){C=e.to_number(this.value),i(16,C)}function wi(r){e.binding_callbacks[r?"unshift":"push"](()=>{D=r,i(5,D)})}return a.$$set=r=>{"lang"in r&&i(48,n=r.lang),"currency"in r&&i(0,s=r.currency),"limits"in r&&i(49,l=r.limits),"session"in r&&i(50,p=r.session),"userid"in r&&i(51,m=r.userid),"endpoint"in r&&i(52,c=r.endpoint),"apiversion"in r&&i(53,g=r.apiversion),"customcurrencysymbols"in r&&i(54,y=r.customcurrencysymbols),"netdepositprogress"in r&&i(1,S=r.netdepositprogress),"enablecompliancetext"in r&&i(2,v=r.enablecompliancetext),"deletelimit"in r&&i(3,k=r.deletelimit),"amountsconfig"in r&&i(55,T=r.amountsconfig),"periodsconfig"in r&&i(56,K=r.periodsconfig),"limittabindex"in r&&i(4,Z=r.limittabindex),"limitformat"in r&&i(57,M=r.limitformat),"allowedextenssion"in r&&i(58,A=r.allowedextenssion),"filesizeallow"in r&&i(59,J=r.filesizeallow),"clientstyling"in r&&i(60,Y=r.clientstyling),"clientstylingurl"in r&&i(61,z=r.clientstylingurl),"translationurl"in r&&i(62,B=r.translationurl),"mbsource"in r&&i(63,N=r.mbsource)},a.$$.update=()=>{if(a.$$.dirty[1]&8388608&&y&&pi(),a.$$.dirty[1]&50331648&&K&&T&&St(),a.$$.dirty[1]&131072&&n&&ui(),a.$$.dirty[1]&7995392&&m&&p&&c&&g&&n&&ae(),a.$$.dirty[0]&32|a.$$.dirty[1]&536870912&&Y&&D&&e.setClientStyling(D,Y),a.$$.dirty[0]&32|a.$$.dirty[1]&1073741824&&z&&D&&e.setClientStylingURL(D,z),a.$$.dirty[0]&32|a.$$.dirty[2]&2&&N&&D&&e.setStreamStyling(D,`${N}.Style`),a.$$.dirty[2]&1&&B&&_t(),a.$$.dirty[0]&194&&S==="true"&&E.length){const r=E.map(u=>{var f;return new Array(((f=u.currentLimits)==null?void 0:f.length)||0).fill(null)});(w.length!==r.length||w.some((u,f)=>u.length!==r[f].length))&&i(6,w=r)}a.$$.dirty[0]&194&&S==="true"&&w.length===E.length&&It()&&ze()},[s,S,v,k,Z,D,w,E,V,x,R,q,G,b,U,P,C,he,ue,ee,je,xe,Q,ne,Pe,ge,ie,de,ve,ye,o,F,Ue,Ie,ae,Be,qt,Gt,Re,Oe,Fe,qe,Ae,Ge,De,ni,He,li,n,l,p,m,c,g,y,T,K,M,A,J,Y,z,B,N,mi,ci,fi,gi,Li,hi,vi,yi,bi,ki,wi]}class kt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,na,oa,e.safe_not_equal,{lang:48,currency:0,limits:49,session:50,userid:51,endpoint:52,apiversion:53,customcurrencysymbols:54,netdepositprogress:1,enablecompliancetext:2,deletelimit:3,amountsconfig:55,periodsconfig:56,limittabindex:4,limitformat:57,allowedextenssion:58,filesizeallow:59,clientstyling:60,clientstylingurl:61,translationurl:62,mbsource:63},zi,[-1,-1,-1,-1,-1,-1])}get lang(){return this.$$.ctx[48]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get limits(){return this.$$.ctx[49]}set limits(t){this.$$set({limits:t}),e.flush()}get session(){return this.$$.ctx[50]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[51]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[52]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[53]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[54]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get netdepositprogress(){return this.$$.ctx[1]}set netdepositprogress(t){this.$$set({netdepositprogress:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[2]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[3]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get amountsconfig(){return this.$$.ctx[55]}set amountsconfig(t){this.$$set({amountsconfig:t}),e.flush()}get periodsconfig(){return this.$$.ctx[56]}set periodsconfig(t){this.$$set({periodsconfig:t}),e.flush()}get limittabindex(){return this.$$.ctx[4]}set limittabindex(t){this.$$set({limittabindex:t}),e.flush()}get limitformat(){return this.$$.ctx[57]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get allowedextenssion(){return this.$$.ctx[58]}set allowedextenssion(t){this.$$set({allowedextenssion:t}),e.flush()}get filesizeallow(){return this.$$.ctx[59]}set filesizeallow(t){this.$$set({filesizeallow:t}),e.flush()}get clientstyling(){return this.$$.ctx[60]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[61]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[62]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[63]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(kt,{lang:{},currency:{},limits:{},session:{},userid:{},endpoint:{},apiversion:{},customcurrencysymbols:{},netdepositprogress:{},enablecompliancetext:{},deletelimit:{},amountsconfig:{},periodsconfig:{},limittabindex:{},limitformat:{},allowedextenssion:{},filesizeallow:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=kt;