@everymatrix/player-account-controller 1.94.3 → 1.94.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/components/{GeneralLogout-MWlMEMui.cjs → GeneralLogout-CnVAejR5.cjs} +1 -1
  2. package/components/{GeneralLogout-C1KWLRvw.js → GeneralLogout-kTqNTgvC.js} +53 -53
  3. package/components/{GeneralLogout-CiQVyfJR.js → GeneralLogout-zgSN4JXC.js} +69 -69
  4. package/components/{PlayerAccountBettingHistory-Bzn7zhTv.cjs → PlayerAccountBettingHistory-BWmHoBAe.cjs} +1 -1
  5. package/components/{PlayerAccountBettingHistory-DJpEA4l1.js → PlayerAccountBettingHistory-CMXH0Rg-.js} +27 -27
  6. package/components/{PlayerAccountBettingHistory-D4JNMX1U.js → PlayerAccountBettingHistory-CPbEbbHQ.js} +24 -24
  7. package/components/{PlayerAccountBiometrics-CZxJ6eg9.js → PlayerAccountBiometrics-Btxg2ReE.js} +29 -29
  8. package/components/{PlayerAccountBiometrics-CZ77Ztyc.js → PlayerAccountBiometrics-C3OhQX00.js} +29 -29
  9. package/components/{PlayerAccountBiometrics-DipOuxL2.cjs → PlayerAccountBiometrics-NRYQDR1V.cjs} +1 -1
  10. package/components/{PlayerAccountBiometricsAction-DkSGBqQr.cjs → PlayerAccountBiometricsAction-B94gsCP8.cjs} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-iH61eCKz.js → PlayerAccountBiometricsAction-BpWHzxpk.js} +20 -20
  12. package/components/{PlayerAccountBiometricsAction-BCxooM-G.js → PlayerAccountBiometricsAction-_fvfCCxj.js} +29 -29
  13. package/components/{PlayerAccountClosure-DFqXIXbP.js → PlayerAccountClosure-C1d0pUoW.js} +8 -8
  14. package/components/{PlayerAccountClosure-DYqfecjB.cjs → PlayerAccountClosure-C49V_7aD.cjs} +1 -1
  15. package/components/{PlayerAccountClosure-qSDghXQE.js → PlayerAccountClosure-C4jgSJYP.js} +24 -24
  16. package/components/{PlayerAccountController-SYnkGtb2.js → PlayerAccountController-Bd-Ammrb.js} +88 -88
  17. package/components/{PlayerAccountController-Dp_erLKA.js → PlayerAccountController-C6MS18Sd.js} +88 -88
  18. package/components/{PlayerAccountController-D-iw4Gm1.cjs → PlayerAccountController-CPE5eIap.cjs} +2 -2
  19. package/components/{PlayerAccountGamingLimits-COyTX71p.js → PlayerAccountGamingLimits-CCe9uOfh.js} +32 -32
  20. package/components/{PlayerAccountGamingLimits-B15eCgme.cjs → PlayerAccountGamingLimits-T7LipEE_.cjs} +1 -1
  21. package/components/{PlayerAccountGamingLimits-CQY0G_uB.js → PlayerAccountGamingLimits-chP_kSHR.js} +30 -30
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-Cm-RQN5t.js → PlayerAccountGamingLimitsConfirmationModal-BfjfP8D_.js} +25 -25
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-BH0OV5eK.cjs → PlayerAccountGamingLimitsConfirmationModal-CWtPbAJA.cjs} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-Dc3s4o1Q.js → PlayerAccountGamingLimitsConfirmationModal-OxqOTLbT.js} +34 -34
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-fH4M7tFv.js → PlayerAccountGamingLimitsGroupEdit-B6jYzCP7.js} +47 -47
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-C8v4nT2e.cjs → PlayerAccountGamingLimitsGroupEdit-BJeQE4sA.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-BVUUAj2h.js → PlayerAccountGamingLimitsGroupEdit-DFKPrpCJ.js} +47 -47
  28. package/components/{PlayerAccountGamingLimitsHistory2-CqD-ISyD.js → PlayerAccountGamingLimitsHistory2-BmfZwZgM.js} +35 -35
  29. package/components/{PlayerAccountGamingLimitsHistory2-Dzh-CQXK.js → PlayerAccountGamingLimitsHistory2-BqwQ-RB0.js} +45 -45
  30. package/components/{PlayerAccountGamingLimitsHistory2-CBlHRmrE.cjs → PlayerAccountGamingLimitsHistory2-yyHOWMEJ.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-DKRI7D9w.js → PlayerAccountGamingLimitsInfoCard-CRZKXfQf.js} +4 -4
  32. package/components/{PlayerAccountGamingLimitsInfoCard-DOkGyTOt.js → PlayerAccountGamingLimitsInfoCard-DgtRTtMC.js} +4 -4
  33. package/components/{PlayerAccountGamingLimitsInfoCard-Doajed3W.cjs → PlayerAccountGamingLimitsInfoCard-Tofo4vZN.cjs} +1 -1
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-P5RWYm8p.cjs → PlayerAccountGamingLimitsPage2Gm16-B_y_Eo11.cjs} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-PV8PjIQg.js → PlayerAccountGamingLimitsPage2Gm16-D5TyY7Fa.js} +105 -105
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-BBUHxhmC.js → PlayerAccountGamingLimitsPage2Gm16-zj-tjh23.js} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-tZb8farN.cjs → PlayerAccountGamingLimitsPopup-CrmeCoDe.cjs} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-_7IgGj19.js → PlayerAccountGamingLimitsPopup-DeQD-dRc.js} +15 -15
  39. package/components/{PlayerAccountGamingLimitsPopup-CyFgSuiz.js → PlayerAccountGamingLimitsPopup-XYvk39nq.js} +19 -19
  40. package/components/{PlayerAccountGamingLimitsWrapper2-C44qlMd9.cjs → PlayerAccountGamingLimitsWrapper2-BIOoxplS.cjs} +1 -1
  41. package/components/{PlayerAccountGamingLimitsWrapper2-CN0ni_t1.js → PlayerAccountGamingLimitsWrapper2-DNUy1TDd.js} +58 -58
  42. package/components/{PlayerAccountGamingLimitsWrapper2-C3jtv8xY.js → PlayerAccountGamingLimitsWrapper2-UCXXUa_j.js} +54 -54
  43. package/components/{PlayerAccountGeneralConfirmationModal-DCeF6KK8.js → PlayerAccountGeneralConfirmationModal-BJ5GkodH.js} +35 -35
  44. package/components/{PlayerAccountGeneralConfirmationModal-Bt6qRu6u.cjs → PlayerAccountGeneralConfirmationModal-DM0WWO2-.cjs} +1 -1
  45. package/components/{PlayerAccountGeneralConfirmationModal-BddPCP6_.js → PlayerAccountGeneralConfirmationModal-DUbqZsUq.js} +38 -38
  46. package/components/{PlayerAccountMenu-DusUWIlC.js → PlayerAccountMenu-C3r2hbOd.js} +23 -23
  47. package/components/{PlayerAccountMenu-BxliWxSX.js → PlayerAccountMenu-CjkwZGQ-.js} +23 -23
  48. package/components/{PlayerAccountMenu-BwFD7onO.cjs → PlayerAccountMenu-D7KXle_O.cjs} +1 -1
  49. package/components/{PlayerAccountModal-BsKMrXHH.js → PlayerAccountModal-CmOPmRtc.js} +51 -51
  50. package/components/{PlayerAccountModal-BpsSzItd.cjs → PlayerAccountModal-Dju6j_C4.cjs} +1 -1
  51. package/components/{PlayerAccountModal-NtKRkErX.js → PlayerAccountModal-rB45bRsX.js} +55 -55
  52. package/components/{PlayerAccountNotifications-Dc_zKmh_.js → PlayerAccountNotifications-BA8xOkk7.js} +29 -29
  53. package/components/{PlayerAccountNotifications-2m5scfUL.js → PlayerAccountNotifications-BHkmggUK.js} +88 -88
  54. package/components/{PlayerAccountNotifications-CHvVDz-S.cjs → PlayerAccountNotifications-BNWMouzN.cjs} +1 -1
  55. package/components/{PlayerAccountProductRestriction-DJV7kbl0.js → PlayerAccountProductRestriction-B9Wce-J2.js} +3 -3
  56. package/components/{PlayerAccountProductRestriction-_aL_JwHJ.js → PlayerAccountProductRestriction-CeJ8nyQV.js} +3 -3
  57. package/components/{PlayerAccountProductRestriction-B8RqVuaM.cjs → PlayerAccountProductRestriction-DfSfUmAF.cjs} +1 -1
  58. package/components/{PlayerAccountReviewFrequency-NZLIic5S.cjs → PlayerAccountReviewFrequency-CqsHl6Q3.cjs} +1 -1
  59. package/components/{PlayerAccountReviewFrequency-DNUAgwcU.js → PlayerAccountReviewFrequency-D14a7YnP.js} +31 -31
  60. package/components/{PlayerAccountReviewFrequency-BhAACqPf.js → PlayerAccountReviewFrequency-DdXg8T1C.js} +30 -30
  61. package/components/{PlayerAccountSelfExclusion-AyC4-RDs.js → PlayerAccountSelfExclusion-ANDK6YB8.js} +99 -99
  62. package/components/{PlayerAccountSelfExclusion-tGBZuvd4.cjs → PlayerAccountSelfExclusion-MJhERUGk.cjs} +1 -1
  63. package/components/{PlayerAccountSelfExclusion-hGTAvkjG.js → PlayerAccountSelfExclusion-X4m9-Wif.js} +86 -86
  64. package/components/{PlayerAccountTimeout-B_8NcUA8.cjs → PlayerAccountTimeout-Ao1JVo5-.cjs} +3 -3
  65. package/components/{PlayerAccountTimeout--0cBq2Kg.js → PlayerAccountTimeout-DW_64okl.js} +4 -4
  66. package/components/{PlayerAccountTimeout-6FD2Lwiw.js → PlayerAccountTimeout-IFygbRsF.js} +4 -4
  67. package/components/{PlayerAccountTransactionsHistory-C5mRRE_D.js → PlayerAccountTransactionsHistory-BH_S2QvH.js} +36 -36
  68. package/components/{PlayerAccountTransactionsHistory-C5oNPHOx.js → PlayerAccountTransactionsHistory-DOmEjYBs.js} +35 -35
  69. package/components/{PlayerAccountTransactionsHistory-DE8XgXFB.cjs → PlayerAccountTransactionsHistory-cMyiqG_0.cjs} +1 -1
  70. package/components/{PlayerActiveBonuses-BZtVJ0tO.js → PlayerActiveBonuses-BN5q9S2-.js} +212 -212
  71. package/components/{PlayerActiveBonuses-DtdcEwRk.cjs → PlayerActiveBonuses-BOFs5nLV.cjs} +1 -1
  72. package/components/{PlayerActiveBonuses-C2htEcPk.js → PlayerActiveBonuses-DDyHb_RP.js} +208 -208
  73. package/components/{PlayerBonusCard-DFd45Hiy.js → PlayerBonusCard-BQAGPKpP.js} +47 -47
  74. package/components/{PlayerBonusCard-CCyXYxHk.js → PlayerBonusCard-Bpm8P9Sa.js} +47 -47
  75. package/components/{PlayerBonusCard-BDsAdzuV.cjs → PlayerBonusCard-CYIktzur.cjs} +1 -1
  76. package/components/{PlayerBonusHistory-DXHnya6D.cjs → PlayerBonusHistory-D1ZIKvKy.cjs} +2 -2
  77. package/components/{PlayerBonusHistory-DNrE8L0N.js → PlayerBonusHistory-DBtOIHzS.js} +3 -3
  78. package/components/{PlayerBonusHistory-Dl3OhBaM.js → PlayerBonusHistory-k7HL08qe.js} +3 -3
  79. package/components/{PlayerChangePassword-CfYOw08o.js → PlayerChangePassword-BJkTqzxD.js} +71 -71
  80. package/components/{PlayerChangePassword-KWET13cT.js → PlayerChangePassword-BUai6xC1.js} +71 -71
  81. package/components/{PlayerChangePassword-Cov4z9CH.cjs → PlayerChangePassword-DoWdtlBb.cjs} +1 -1
  82. package/components/{PlayerDeposit-VlR9R2HM.cjs → PlayerDeposit-BDODxxlC.cjs} +1 -1
  83. package/components/{PlayerDeposit-DnJa8Yl3.js → PlayerDeposit-C0XRt5EK.js} +24 -24
  84. package/components/{PlayerDeposit-B2ac6D8s.js → PlayerDeposit-CLyGovJD.js} +28 -28
  85. package/components/{PlayerGamingHistory-DCnHiCje.js → PlayerGamingHistory-BsHSSyhU.js} +94 -94
  86. package/components/{PlayerGamingHistory-CViEAUHh.cjs → PlayerGamingHistory-DdUzR5OW.cjs} +1 -1
  87. package/components/{PlayerGamingHistory-DEZMZgyp.js → PlayerGamingHistory-m0lb-SaP.js} +114 -114
  88. package/components/{PlayerPendingWithdrawals-DnIuozwG.cjs → PlayerPendingWithdrawals-3U8OWD5l.cjs} +1 -1
  89. package/components/{PlayerPendingWithdrawals-RKAmjSTJ.js → PlayerPendingWithdrawals-BvhroTya.js} +30 -30
  90. package/components/{PlayerPendingWithdrawals-ID5cnEfB.js → PlayerPendingWithdrawals-CavqhbX6.js} +34 -34
  91. package/components/{PlayerProfileInfo-B8b5KNTI.cjs → PlayerProfileInfo-BKKrxITi.cjs} +1 -1
  92. package/components/{PlayerProfileInfo-BvAv9pYw.js → PlayerProfileInfo-DejS3qt9.js} +364 -364
  93. package/components/{PlayerProfileInfo-D7Lgohmb.js → PlayerProfileInfo-DrBabxG-.js} +342 -342
  94. package/components/{PlayerRealityCheck-C-6W6BY0.cjs → PlayerRealityCheck-BP88i1lx.cjs} +1 -1
  95. package/components/{PlayerRealityCheck-C0Y1Zl_P.js → PlayerRealityCheck-DcTKJjjQ.js} +55 -55
  96. package/components/{PlayerRealityCheck-7fVeEeFe.js → PlayerRealityCheck-DefrXfkM.js} +54 -54
  97. package/components/{PlayerTransactionHistory-ClwBJKRp.js → PlayerTransactionHistory-4CZSZQMz.js} +31 -31
  98. package/components/{PlayerTransactionHistory-dWDqxRu8.cjs → PlayerTransactionHistory-B-WtWjm5.cjs} +1 -1
  99. package/components/{PlayerTransactionHistory-G98VK3oH.js → PlayerTransactionHistory-DTSGZtwn.js} +44 -44
  100. package/components/{PlayerWithdrawal-jAhz1Aeb.js → PlayerWithdrawal-C4-ZL4z5.js} +25 -25
  101. package/components/{PlayerWithdrawal-FJUVucSx.js → PlayerWithdrawal-DAU0uggw.js} +25 -25
  102. package/components/{PlayerWithdrawal-VlKyb1Pk.cjs → PlayerWithdrawal-DI7dGjmC.cjs} +1 -1
  103. package/components/{QrSessionGenerator-DttwdIra.js → QrSessionGenerator-BMd3QegI.js} +48 -48
  104. package/components/{QrSessionGenerator-CUbR8FbA.js → QrSessionGenerator-CGtWSfMU.js} +37 -37
  105. package/components/{QrSessionGenerator-ce2wxm3H.cjs → QrSessionGenerator-fnnwM7n6.cjs} +1 -1
  106. package/es2015/player-account-controller.cjs +1 -1
  107. package/es2015/player-account-controller.js +1 -1
  108. package/esnext/player-account-controller.js +1 -1
  109. package/package.json +1 -1
  110. package/stencil/{checkbox-group-input_16-_13Kv9Zi.js → checkbox-group-input_16-BMVEaVtV.js} +4 -4
  111. package/stencil/{checkbox-group-input_16-BClc1QAF.js → checkbox-group-input_16-C6fU4lxi.js} +4 -4
  112. package/stencil/{checkbox-group-input_16-BzGXxdU9.cjs → checkbox-group-input_16-DTlEvXD1.cjs} +2 -2
  113. package/stencil/{index-6e523641-CqeGydRJ.cjs → index-6e523641-CHZRFi0W.cjs} +1 -1
  114. package/stencil/{index-6e523641-txnZxPs0.js → index-6e523641-CzpA6fqp.js} +1 -1
  115. package/stencil/{index-6e523641-M8saYcGO.js → index-6e523641-n8F0I2Fs.js} +1 -1
  116. package/stencil/{index-7469517b-Bmgiy_n-.js → index-7469517b-BFmBiraV.js} +1 -1
  117. package/stencil/{index-7469517b-ulg1Qmdy.js → index-7469517b-CCwm-ipO.js} +1 -1
  118. package/stencil/{index-7469517b-8Vfz7n3C.cjs → index-7469517b-DxaDYmkD.cjs} +1 -1
  119. package/stencil/{index-9c0f6c58-DlXOBm1V.cjs → index-9c0f6c58-CLDl-isE.cjs} +1 -1
  120. package/stencil/{index-9c0f6c58-BLHPAiHp.js → index-9c0f6c58-CeHgKkkN.js} +1 -1
  121. package/stencil/{index-9c0f6c58-Dt7MQ5_j.js → index-9c0f6c58-DGo4u6sZ.js} +1 -1
  122. package/stencil/{pam-change-password-259289fa-CR3dv02q.cjs → pam-change-password-259289fa-B5K_myvf.cjs} +1 -1
  123. package/stencil/{pam-change-password-259289fa-7sJvUi0P.js → pam-change-password-259289fa-B_ApylOR.js} +3 -3
  124. package/stencil/{pam-change-password-259289fa-DvjX931m.js → pam-change-password-259289fa-DJ_lsyvr.js} +3 -3
  125. package/stencil/{pam-change-password-BiAsiO8l.js → pam-change-password-BOIp7Ttz.js} +1 -1
  126. package/stencil/{pam-change-password-DnCN0UHR.cjs → pam-change-password-C4n9m8Jg.cjs} +1 -1
  127. package/stencil/{pam-change-password-Dil_uhA4.js → pam-change-password-DH0owsL8.js} +1 -1
  128. package/stencil/player-kyc-verification-9Ic-jm7L.cjs +210 -0
  129. package/stencil/{player-kyc-verification-BhngQMYp.js → player-kyc-verification-ByWsZG6l.js} +20 -15
  130. package/stencil/{player-kyc-verification-BO_q93r0.js → player-kyc-verification-Cm-zE62-.js} +20 -15
  131. package/stencil/{user-transaction-history-CZc5JwuK.cjs → user-transaction-history-CH5LwNcg.cjs} +1 -1
  132. package/stencil/{user-transaction-history-CQl_PHMr.js → user-transaction-history-DF87ngqZ.js} +1 -1
  133. package/stencil/{user-transaction-history-DObkYfdi.js → user-transaction-history-p2F_rXVi.js} +1 -1
  134. package/stencil/{user-transaction-history_2-CoqbioXa.cjs → user-transaction-history_2--tfZWSJL.cjs} +2 -2
  135. package/stencil/{user-transaction-history_2-C2zT8Uc5.js → user-transaction-history_2-CanvRRkc.js} +2 -2
  136. package/stencil/{user-transaction-history_2-Bl8RpF35.js → user-transaction-history_2-ChdfveXx.js} +2 -2
  137. package/stencil/player-kyc-verification-ISE1zaDp.cjs +0 -210
@@ -1,9 +1,9 @@
1
- import { a as Y, $ as J, S as Q, i as X, s as x, f as h, b as $, n as D, d as E, c as G, e as _, g as ii, h as ei, o as ti, j as ni, r as w, t as H, q as e, m as f, p as A, u as S, w as ai, x as k, z as si, A as li, B as ri, C as mi, D as oi } from "./PlayerAccountController-Dp_erLKA.js";
2
- function W(t, i) {
3
- Y(t, i);
1
+ import { c as J, b as K, S as Q, B as X, Q as x, t as h, f as $, J as D, p as E, D as G, q as _, k as ii, w as ei, M as ti, h as ni, g as w, Y as H, X as e, e as f, a0 as A, a3 as S, I as ai, a2 as v, U as si, V as li, W as ri, m as mi, a as oi } from "./PlayerAccountController-C6MS18Sd.js";
2
+ function O(t, i) {
3
+ J(t, i);
4
4
  }
5
5
  function ci(t) {
6
- J.set(t);
6
+ K.set(t);
7
7
  }
8
8
  const V = {
9
9
  en: {
@@ -107,7 +107,7 @@ if (typeof window != "undefined") {
107
107
  }
108
108
  };
109
109
  };
110
- customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-DKRI7D9w.js").then(({ default: i }) => {
110
+ customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-CRZKXfQf.js").then(({ default: i }) => {
111
111
  !customElements.get("player-account-gaming-limits-info-card") && customElements.define(
112
112
  "player-account-gaming-limits-info-card",
113
113
  i.element
@@ -558,7 +558,7 @@ function Li(t) {
558
558
  ), u, T, g;
559
559
  return {
560
560
  c() {
561
- i = _("div"), n = k("svg"), l = k("defs"), c = k("style"), d = S(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), y = k("g"), L = k("g"), o = k("path"), P = A(), m = _("h2"), u = S(b), w(o, "class", "aaa"), w(o, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), w(o, "transform", "translate(15 15) rotate(180)"), w(L, "transform", "translate(20 158)"), w(y, "transform", "translate(-20 -158)"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "15"), w(n, "viewBox", "0 0 15 15"), w(m, "class", "PlayerGamingLimitsTitleMobile"), w(i, "class", "MenuReturnButton");
561
+ i = _("div"), n = v("svg"), l = v("defs"), c = v("style"), d = S(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), y = v("g"), L = v("g"), o = v("path"), P = A(), m = _("h2"), u = S(b), w(o, "class", "aaa"), w(o, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), w(o, "transform", "translate(15 15) rotate(180)"), w(L, "transform", "translate(20 158)"), w(y, "transform", "translate(-20 -158)"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "15"), w(n, "viewBox", "0 0 15 15"), w(m, "class", "PlayerGamingLimitsTitleMobile"), w(i, "class", "MenuReturnButton");
562
562
  },
563
563
  m(p, s) {
564
564
  G(p, i, s), f(i, n), f(n, l), f(l, c), f(c, d), f(n, y), f(y, L), f(L, o), f(i, P), f(i, m), f(m, u), T || (g = ai(
@@ -613,37 +613,37 @@ function bi(t, i, n) {
613
613
  ii(t, oi, (a) => n(17, l = a));
614
614
  let { depositlimit: c } = i, { wageringlimit: d } = i, { losslimit: y } = i, { timelimit: L } = i, { showdeletenotification: o = !1 } = i, { showsuccessnotification: P = !1 } = i, { lang: m = "en" } = i, { currency: b = "" } = i, { separatelimits: u = "true" } = i, { clientstyling: T = "" } = i, { clientstylingurl: g = "" } = i, { mbsource: p } = i, { translationurl: s = "" } = i;
615
615
  const r = () => {
616
- fetch(s).then((v) => v.json()).then((v) => {
617
- Object.keys(v).forEach((O) => {
618
- W(O, v[O]);
616
+ fetch(s).then((k) => k.json()).then((k) => {
617
+ Object.keys(k).forEach((F) => {
618
+ O(F, k[F]);
619
619
  });
620
- }).catch((v) => {
621
- console.log(v);
620
+ }).catch((k) => {
621
+ console.log(k);
622
622
  });
623
623
  };
624
624
  Object.keys(V).forEach((a) => {
625
- W(a, V[a]);
625
+ O(a, V[a]);
626
626
  });
627
- let M, q, C = !0, U = window.navigator.userAgent, R = ei(U) !== "PC", z, B = "", j = !0;
627
+ let M, q, R = !0, U = window.navigator.userAgent, C = ei(U) !== "PC", N, B = "", j = !0;
628
628
  window.matchMedia("(min-width: 768px)");
629
- const N = () => {
629
+ const W = () => {
630
630
  window.postMessage(
631
631
  {
632
632
  type: "PlayerAccountMenuActive",
633
- isMobile: R
633
+ isMobile: C
634
634
  },
635
635
  window.location.href
636
636
  );
637
- }, Z = () => {
637
+ }, I = () => {
638
638
  ci(m);
639
- }, F = (a) => {
639
+ }, z = (a) => {
640
640
  if (a.data)
641
641
  switch (a.data.type) {
642
642
  case "PlayerLimitsData":
643
- n(0, m = a.data.limits.lang), n(1, c = a.data.limits.depositlimit), n(2, d = a.data.limits.wageringlimit), n(3, y = a.data.limits.losslimit), n(4, L = a.data.limits.timelimit), n(13, C = !1);
643
+ n(0, m = a.data.limits.lang), n(1, c = a.data.limits.depositlimit), n(2, d = a.data.limits.wageringlimit), n(3, y = a.data.limits.losslimit), n(4, L = a.data.limits.timelimit), n(13, R = !1);
644
644
  break;
645
645
  case "EditPlayerAccountGamingLimits":
646
- n(14, z = a.data.edit), n(15, B = a.data.name), n(16, j = !1), window.postMessage(
646
+ n(14, N = a.data.edit), n(15, B = a.data.name), n(16, j = !1), window.postMessage(
647
647
  {
648
648
  type: "EditPlayerLimit",
649
649
  name: B
@@ -655,16 +655,16 @@ function bi(t, i, n) {
655
655
  n(16, j = !0);
656
656
  break;
657
657
  case "ProfileDetailsData":
658
- let v = a.data.profileDetails;
659
- n(5, b = v.currency);
658
+ let k = a.data.profileDetails;
659
+ n(5, b = k.currency);
660
660
  break;
661
661
  }
662
662
  };
663
- ti(() => (window.addEventListener("message", F, !1), () => {
664
- window.removeEventListener("message", F);
663
+ ti(() => (window.addEventListener("message", z, !1), () => {
664
+ window.removeEventListener("message", z);
665
665
  }));
666
- const I = () => N();
667
- function K(a) {
666
+ const Y = () => W();
667
+ function Z(a) {
668
668
  ni[a ? "unshift" : "push"](() => {
669
669
  M = a, n(12, M);
670
670
  });
@@ -673,7 +673,7 @@ function bi(t, i, n) {
673
673
  "depositlimit" in a && n(1, c = a.depositlimit), "wageringlimit" in a && n(2, d = a.wageringlimit), "losslimit" in a && n(3, y = a.losslimit), "timelimit" in a && n(4, L = a.timelimit), "showdeletenotification" in a && n(6, o = a.showdeletenotification), "showsuccessnotification" in a && n(7, P = a.showsuccessnotification), "lang" in a && n(0, m = a.lang), "currency" in a && n(5, b = a.currency), "separatelimits" in a && n(8, u = a.separatelimits), "clientstyling" in a && n(9, T = a.clientstyling), "clientstylingurl" in a && n(10, g = a.clientstylingurl), "mbsource" in a && n(11, p = a.mbsource), "translationurl" in a && n(20, s = a.translationurl);
674
674
  }, t.$$.update = () => {
675
675
  t.$$.dirty & /*lang*/
676
- 1 && m && Z(), t.$$.dirty & /*clientstyling, customStylingContainer*/
676
+ 1 && m && I(), t.$$.dirty & /*clientstyling, customStylingContainer*/
677
677
  4608 && T && M && si(M, T), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
678
678
  5120 && g && M && li(M, g), t.$$.dirty & /*mbsource, customStylingContainer*/
679
679
  6144 && p && M && ri(M, `${p}.Style`, q), t.$$.dirty & /*translationurl*/
@@ -692,16 +692,16 @@ function bi(t, i, n) {
692
692
  g,
693
693
  p,
694
694
  M,
695
- C,
696
- z,
695
+ R,
696
+ N,
697
697
  B,
698
698
  j,
699
699
  l,
700
- R,
701
- N,
700
+ C,
701
+ W,
702
702
  s,
703
- I,
704
- K
703
+ Y,
704
+ Z
705
705
  ];
706
706
  }
707
707
  class Ti extends Q {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-D-iw4Gm1.cjs");function B(i,t){e.addMessages(i,t)}function z(i){e.$locale.set(i)}const j={en:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{returnToMenu:"返回菜單",gamingLimitsText:"遊戲限制",depositLimit:"存款限額",timeLimit:"時限t",wageringLimit:"投注限額",lossLimit:"損失限額"},fr:{returnToMenu:"Retour au menu",gamingLimitsText:"Limites de jeu",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{returnToMenu:"Înapoi la meniu",gamingLimitsText:"Limite de joc",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limită de pierdere"},es:{returnToMenu:"Regresar al menu",gamingLimitsText:"Límites de juego",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{returnToMenu:"Voltar ao Menu",gamingLimitsText:"Limites de jogos",depositLimit:"Limite de Depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de apostas",lossLimit:"Limite de Perda"},hr:{returnToMenu:"Povratak na izbornik",gamingLimitsText:"Ograničenja igranja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{returnToMenu:"Voltar ao cardápio",gamingLimitsText:"Limites do jogo",depositLimit:"Limites de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{returnToMenu:"Regresar al menú",gamingLimitsText:"Límites de juego",depositLimit:"Límites de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdidas"},tr:{returnToMenu:"Menüye dön",gamingLimitsText:"Oyun sınırları",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"},"en-us":{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}};if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(m){if(m instanceof DOMException&&m.message.includes("has already been used with this registry")||m.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw m}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsInfoCard-Doajed3W.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-info-card")&&customElements.define("player-account-gaming-limits-info-card",t.element)})}function F(i){e.append_styles(i,"svelte-pgwzq8",'.PlayerAccountGamingLimitsWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;max-width:760px}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader h3{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader .PlayerAccountGamingLimitsMobileTitle{font-size:16px;font-weight:400}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emw--color-white, #FFFFFF);max-width:unset}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.PlayerAccountSuccessfulRemoveContainer{background:var(--emw--color-primary-50, #FBECF4);border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;padding:10px;margin-bottom:20px}.PlayerAccountSuccessfulRemoveContainer p{margin:0}.ModalLoader{position:absolute;left:0;right:0;top:50%;width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function W(i){let t;return{c(){t=e.element("player-account-gaming-limits-group-edit"),e.set_custom_element_data(t,"limitsdata",i[14]),e.set_custom_element_data(t,"limitname",i[15]),e.set_custom_element_data(t,"showsuccessnotification",i[7]),e.set_custom_element_data(t,"showdeletenotification",i[6]),e.set_custom_element_data(t,"currency",i[5]),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"separatelimits",i[8]),e.set_custom_element_data(t,"clientstyling",i[9]),e.set_custom_element_data(t,"clientstylingurl",i[10]),e.set_custom_element_data(t,"mbsource",i[11])},m(a,m){e.insert(a,t,m)},p(a,m){m&16384&&e.set_custom_element_data(t,"limitsdata",a[14]),m&32768&&e.set_custom_element_data(t,"limitname",a[15]),m&128&&e.set_custom_element_data(t,"showsuccessnotification",a[7]),m&64&&e.set_custom_element_data(t,"showdeletenotification",a[6]),m&32&&e.set_custom_element_data(t,"currency",a[5]),m&1&&e.set_custom_element_data(t,"lang",a[0]),m&256&&e.set_custom_element_data(t,"separatelimits",a[8]),m&512&&e.set_custom_element_data(t,"clientstyling",a[9]),m&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10]),m&2048&&e.set_custom_element_data(t,"mbsource",a[11])},d(a){a&&e.detach(t)}}}function V(i){let t,a,m,c=i[17]("gamingLimitsText")+"",g,p,d,r,w,o,L,_,y,u,f=i[18]&&q(i);return{c(){t=e.element("div"),f&&f.c(),a=e.space(),m=e.element("h2"),g=e.text(c),p=e.space(),d=e.element("div"),r=e.element("player-account-gaming-limits-info-card"),w=e.space(),o=e.element("player-account-gaming-limits-info-card"),L=e.space(),_=e.element("player-account-gaming-limits-info-card"),y=e.space(),u=e.element("player-account-gaming-limits-info-card"),e.attr(m,"class","PlayerGamingLimitsTitle "+(i[18]?"PlayerGamingLimitsTitleNone":"")),e.set_custom_element_data(r,"limitsdata",i[1]),e.set_custom_element_data(r,"limitname",Z),e.set_custom_element_data(r,"currency",i[5]),e.set_custom_element_data(r,"lang",i[0]),e.set_custom_element_data(r,"clientstyling",i[9]),e.set_custom_element_data(r,"clientstylingurl",i[10]),e.set_custom_element_data(r,"mbsource",i[11]),e.set_custom_element_data(o,"limitsdata",i[2]),e.set_custom_element_data(o,"limitname",I),e.set_custom_element_data(o,"currency",i[5]),e.set_custom_element_data(o,"lang",i[0]),e.set_custom_element_data(o,"clientstyling",i[9]),e.set_custom_element_data(o,"clientstylingurl",i[10]),e.set_custom_element_data(o,"mbsource",i[11]),e.set_custom_element_data(_,"limitsdata",i[3]),e.set_custom_element_data(_,"limitname",K),e.set_custom_element_data(_,"currency",i[5]),e.set_custom_element_data(_,"lang",i[0]),e.set_custom_element_data(_,"clientstyling",i[9]),e.set_custom_element_data(_,"clientstylingurl",i[10]),e.set_custom_element_data(_,"mbsource",i[11]),e.set_custom_element_data(u,"limitsdata",i[4]),e.set_custom_element_data(u,"limitname",Y),e.set_custom_element_data(u,"currency",i[5]),e.set_custom_element_data(u,"lang",i[0]),e.set_custom_element_data(u,"clientstyling",i[9]),e.set_custom_element_data(u,"clientstylingurl",i[10]),e.set_custom_element_data(u,"mbsource",i[11]),e.attr(d,"class","PlayerAccountGamingLimitsContainer"),e.attr(t,"class","PlayerAccountGamingLimitsWrapper "+(i[18]?"PlayerAccountMobileGamingLimitsWrapper":""))},m(s,l){e.insert(s,t,l),f&&f.m(t,null),e.append(t,a),e.append(t,m),e.append(m,g),e.append(t,p),e.append(t,d),e.append(d,r),e.append(d,w),e.append(d,o),e.append(d,L),e.append(d,_),e.append(d,y),e.append(d,u)},p(s,l){s[18]&&f.p(s,l),l&131072&&c!==(c=s[17]("gamingLimitsText")+"")&&e.set_data(g,c),l&2&&e.set_custom_element_data(r,"limitsdata",s[1]),l&32&&e.set_custom_element_data(r,"currency",s[5]),l&1&&e.set_custom_element_data(r,"lang",s[0]),l&512&&e.set_custom_element_data(r,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(r,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(r,"mbsource",s[11]),l&4&&e.set_custom_element_data(o,"limitsdata",s[2]),l&32&&e.set_custom_element_data(o,"currency",s[5]),l&1&&e.set_custom_element_data(o,"lang",s[0]),l&512&&e.set_custom_element_data(o,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(o,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(o,"mbsource",s[11]),l&8&&e.set_custom_element_data(_,"limitsdata",s[3]),l&32&&e.set_custom_element_data(_,"currency",s[5]),l&1&&e.set_custom_element_data(_,"lang",s[0]),l&512&&e.set_custom_element_data(_,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(_,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(_,"mbsource",s[11]),l&16&&e.set_custom_element_data(u,"limitsdata",s[4]),l&32&&e.set_custom_element_data(u,"currency",s[5]),l&1&&e.set_custom_element_data(u,"lang",s[0]),l&512&&e.set_custom_element_data(u,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(u,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(u,"mbsource",s[11])},d(s){s&&e.detach(t),f&&f.d()}}}function H(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","ModalLoader")},m(a,m){e.insert(a,t,m)},p:e.noop,d(a){a&&e.detach(t)}}}function q(i){let t,a,m,c,g,p,d,r,w,o,L=i[17]("gamingLimitsText")+"",_,y,u;return{c(){t=e.element("div"),a=e.svg_element("svg"),m=e.svg_element("defs"),c=e.svg_element("style"),g=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),p=e.svg_element("g"),d=e.svg_element("g"),r=e.svg_element("path"),w=e.space(),o=e.element("h2"),_=e.text(L),e.attr(r,"class","aaa"),e.attr(r,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(r,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(p,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(o,"class","PlayerGamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(f,s){e.insert(f,t,s),e.append(t,a),e.append(a,m),e.append(m,c),e.append(c,g),e.append(a,p),e.append(p,d),e.append(d,r),e.append(t,w),e.append(t,o),e.append(o,_),y||(u=e.listen(t,"click",i[21]),y=!0)},p(f,s){s&131072&&L!==(L=f[17]("gamingLimitsText")+"")&&e.set_data(_,L)},d(f){f&&e.detach(t),y=!1,u()}}}function U(i){let t;function a(g,p){return g[13]?H:g[16]?V:W}let m=a(i),c=m(i);return{c(){t=e.element("div"),c.c()},m(g,p){e.insert(g,t,p),c.m(t,null),i[22](t)},p(g,[p]){m===(m=a(g))&&c?c.p(g,p):(c.d(1),c=m(g),c&&(c.c(),c.m(t,null)))},i:e.noop,o:e.noop,d(g){g&&e.detach(t),c.d(),i[22](null)}}}let Z="Deposit Limit",I="Wagering Limit",K="Loss Limit",Y="Time Limit";function J(i,t,a){let m;e.component_subscribe(i,e.$format,n=>a(17,m=n));let{depositlimit:c}=t,{wageringlimit:g}=t,{losslimit:p}=t,{timelimit:d}=t,{showdeletenotification:r=!1}=t,{showsuccessnotification:w=!1}=t,{lang:o="en"}=t,{currency:L=""}=t,{separatelimits:_="true"}=t,{clientstyling:y=""}=t,{clientstylingurl:u=""}=t,{mbsource:f}=t,{translationurl:s=""}=t;const l=()=>{fetch(s).then(b=>b.json()).then(b=>{Object.keys(b).forEach(G=>{B(G,b[G])})}).catch(b=>{console.log(b)})};Object.keys(j).forEach(n=>{B(n,j[n])});let h,D,v=!0,C=window.navigator.userAgent,P=e.getDevice(C)!=="PC",k,T="",M=!0;window.matchMedia("(min-width: 768px)");const A=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:P},window.location.href)},R=()=>{z(o)},E=n=>{if(n.data)switch(n.data.type){case"PlayerLimitsData":a(0,o=n.data.limits.lang),a(1,c=n.data.limits.depositlimit),a(2,g=n.data.limits.wageringlimit),a(3,p=n.data.limits.losslimit),a(4,d=n.data.limits.timelimit),a(13,v=!1);break;case"EditPlayerAccountGamingLimits":a(14,k=n.data.edit),a(15,T=n.data.name),a(16,M=!1),window.postMessage({type:"EditPlayerLimit",name:T},window.location.href),window.postMessage({type:"ScrollToTop"},window.location.href);break;case"PlayerAccountBackToLimitsView":a(16,M=!0);break;case"ProfileDetailsData":let b=n.data.profileDetails;a(5,L=b.currency);break}};e.onMount(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)}));const N=()=>A();function O(n){e.binding_callbacks[n?"unshift":"push"](()=>{h=n,a(12,h)})}return i.$$set=n=>{"depositlimit"in n&&a(1,c=n.depositlimit),"wageringlimit"in n&&a(2,g=n.wageringlimit),"losslimit"in n&&a(3,p=n.losslimit),"timelimit"in n&&a(4,d=n.timelimit),"showdeletenotification"in n&&a(6,r=n.showdeletenotification),"showsuccessnotification"in n&&a(7,w=n.showsuccessnotification),"lang"in n&&a(0,o=n.lang),"currency"in n&&a(5,L=n.currency),"separatelimits"in n&&a(8,_=n.separatelimits),"clientstyling"in n&&a(9,y=n.clientstyling),"clientstylingurl"in n&&a(10,u=n.clientstylingurl),"mbsource"in n&&a(11,f=n.mbsource),"translationurl"in n&&a(20,s=n.translationurl)},i.$$.update=()=>{i.$$.dirty&1&&o&&R(),i.$$.dirty&4608&&y&&h&&e.setClientStyling(h,y),i.$$.dirty&5120&&u&&h&&e.setClientStylingURL(h,u),i.$$.dirty&6144&&f&&h&&e.setStreamStyling(h,`${f}.Style`,D),i.$$.dirty&1048576&&s&&l()},[o,c,g,p,d,L,r,w,_,y,u,f,h,v,k,T,M,m,P,A,s,N,O]}class S extends e.SvelteComponent{constructor(t){super(),e.init(this,t,J,U,e.safe_not_equal,{depositlimit:1,wageringlimit:2,losslimit:3,timelimit:4,showdeletenotification:6,showsuccessnotification:7,lang:0,currency:5,separatelimits:8,clientstyling:9,clientstylingurl:10,mbsource:11,translationurl:20},F)}get depositlimit(){return this.$$.ctx[1]}set depositlimit(t){this.$$set({depositlimit:t}),e.flush()}get wageringlimit(){return this.$$.ctx[2]}set wageringlimit(t){this.$$set({wageringlimit:t}),e.flush()}get losslimit(){return this.$$.ctx[3]}set losslimit(t){this.$$set({losslimit:t}),e.flush()}get timelimit(){return this.$$.ctx[4]}set timelimit(t){this.$$set({timelimit:t}),e.flush()}get showdeletenotification(){return this.$$.ctx[6]}set showdeletenotification(t){this.$$set({showdeletenotification:t}),e.flush()}get showsuccessnotification(){return this.$$.ctx[7]}set showsuccessnotification(t){this.$$set({showsuccessnotification:t}),e.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get separatelimits(){return this.$$.ctx[8]}set separatelimits(t){this.$$set({separatelimits:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(S,{depositlimit:{},wageringlimit:{},losslimit:{},timelimit:{},showdeletenotification:{type:"Boolean"},showsuccessnotification:{type:"Boolean"},lang:{},currency:{},separatelimits:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=S;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-CPE5eIap.cjs");function B(i,t){e.addMessages(i,t)}function z(i){e.$locale.set(i)}const j={en:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{returnToMenu:"返回菜單",gamingLimitsText:"遊戲限制",depositLimit:"存款限額",timeLimit:"時限t",wageringLimit:"投注限額",lossLimit:"損失限額"},fr:{returnToMenu:"Retour au menu",gamingLimitsText:"Limites de jeu",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{returnToMenu:"Înapoi la meniu",gamingLimitsText:"Limite de joc",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limită de pierdere"},es:{returnToMenu:"Regresar al menu",gamingLimitsText:"Límites de juego",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{returnToMenu:"Voltar ao Menu",gamingLimitsText:"Limites de jogos",depositLimit:"Limite de Depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de apostas",lossLimit:"Limite de Perda"},hr:{returnToMenu:"Povratak na izbornik",gamingLimitsText:"Ograničenja igranja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{returnToMenu:"Voltar ao cardápio",gamingLimitsText:"Limites do jogo",depositLimit:"Limites de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{returnToMenu:"Regresar al menú",gamingLimitsText:"Límites de juego",depositLimit:"Límites de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdidas"},tr:{returnToMenu:"Menüye dön",gamingLimitsText:"Oyun sınırları",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"},"en-us":{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}};if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(m){if(m instanceof DOMException&&m.message.includes("has already been used with this registry")||m.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw m}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsInfoCard-Tofo4vZN.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-info-card")&&customElements.define("player-account-gaming-limits-info-card",t.element)})}function F(i){e.append_styles(i,"svelte-pgwzq8",'.PlayerAccountGamingLimitsWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;max-width:760px}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader h3{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader .PlayerAccountGamingLimitsMobileTitle{font-size:16px;font-weight:400}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emw--color-white, #FFFFFF);max-width:unset}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.PlayerAccountSuccessfulRemoveContainer{background:var(--emw--color-primary-50, #FBECF4);border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;padding:10px;margin-bottom:20px}.PlayerAccountSuccessfulRemoveContainer p{margin:0}.ModalLoader{position:absolute;left:0;right:0;top:50%;width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function W(i){let t;return{c(){t=e.element("player-account-gaming-limits-group-edit"),e.set_custom_element_data(t,"limitsdata",i[14]),e.set_custom_element_data(t,"limitname",i[15]),e.set_custom_element_data(t,"showsuccessnotification",i[7]),e.set_custom_element_data(t,"showdeletenotification",i[6]),e.set_custom_element_data(t,"currency",i[5]),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"separatelimits",i[8]),e.set_custom_element_data(t,"clientstyling",i[9]),e.set_custom_element_data(t,"clientstylingurl",i[10]),e.set_custom_element_data(t,"mbsource",i[11])},m(a,m){e.insert(a,t,m)},p(a,m){m&16384&&e.set_custom_element_data(t,"limitsdata",a[14]),m&32768&&e.set_custom_element_data(t,"limitname",a[15]),m&128&&e.set_custom_element_data(t,"showsuccessnotification",a[7]),m&64&&e.set_custom_element_data(t,"showdeletenotification",a[6]),m&32&&e.set_custom_element_data(t,"currency",a[5]),m&1&&e.set_custom_element_data(t,"lang",a[0]),m&256&&e.set_custom_element_data(t,"separatelimits",a[8]),m&512&&e.set_custom_element_data(t,"clientstyling",a[9]),m&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10]),m&2048&&e.set_custom_element_data(t,"mbsource",a[11])},d(a){a&&e.detach(t)}}}function V(i){let t,a,m,c=i[17]("gamingLimitsText")+"",g,p,d,r,w,o,L,_,y,u,f=i[18]&&q(i);return{c(){t=e.element("div"),f&&f.c(),a=e.space(),m=e.element("h2"),g=e.text(c),p=e.space(),d=e.element("div"),r=e.element("player-account-gaming-limits-info-card"),w=e.space(),o=e.element("player-account-gaming-limits-info-card"),L=e.space(),_=e.element("player-account-gaming-limits-info-card"),y=e.space(),u=e.element("player-account-gaming-limits-info-card"),e.attr(m,"class","PlayerGamingLimitsTitle "+(i[18]?"PlayerGamingLimitsTitleNone":"")),e.set_custom_element_data(r,"limitsdata",i[1]),e.set_custom_element_data(r,"limitname",Z),e.set_custom_element_data(r,"currency",i[5]),e.set_custom_element_data(r,"lang",i[0]),e.set_custom_element_data(r,"clientstyling",i[9]),e.set_custom_element_data(r,"clientstylingurl",i[10]),e.set_custom_element_data(r,"mbsource",i[11]),e.set_custom_element_data(o,"limitsdata",i[2]),e.set_custom_element_data(o,"limitname",I),e.set_custom_element_data(o,"currency",i[5]),e.set_custom_element_data(o,"lang",i[0]),e.set_custom_element_data(o,"clientstyling",i[9]),e.set_custom_element_data(o,"clientstylingurl",i[10]),e.set_custom_element_data(o,"mbsource",i[11]),e.set_custom_element_data(_,"limitsdata",i[3]),e.set_custom_element_data(_,"limitname",K),e.set_custom_element_data(_,"currency",i[5]),e.set_custom_element_data(_,"lang",i[0]),e.set_custom_element_data(_,"clientstyling",i[9]),e.set_custom_element_data(_,"clientstylingurl",i[10]),e.set_custom_element_data(_,"mbsource",i[11]),e.set_custom_element_data(u,"limitsdata",i[4]),e.set_custom_element_data(u,"limitname",Y),e.set_custom_element_data(u,"currency",i[5]),e.set_custom_element_data(u,"lang",i[0]),e.set_custom_element_data(u,"clientstyling",i[9]),e.set_custom_element_data(u,"clientstylingurl",i[10]),e.set_custom_element_data(u,"mbsource",i[11]),e.attr(d,"class","PlayerAccountGamingLimitsContainer"),e.attr(t,"class","PlayerAccountGamingLimitsWrapper "+(i[18]?"PlayerAccountMobileGamingLimitsWrapper":""))},m(s,l){e.insert(s,t,l),f&&f.m(t,null),e.append(t,a),e.append(t,m),e.append(m,g),e.append(t,p),e.append(t,d),e.append(d,r),e.append(d,w),e.append(d,o),e.append(d,L),e.append(d,_),e.append(d,y),e.append(d,u)},p(s,l){s[18]&&f.p(s,l),l&131072&&c!==(c=s[17]("gamingLimitsText")+"")&&e.set_data(g,c),l&2&&e.set_custom_element_data(r,"limitsdata",s[1]),l&32&&e.set_custom_element_data(r,"currency",s[5]),l&1&&e.set_custom_element_data(r,"lang",s[0]),l&512&&e.set_custom_element_data(r,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(r,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(r,"mbsource",s[11]),l&4&&e.set_custom_element_data(o,"limitsdata",s[2]),l&32&&e.set_custom_element_data(o,"currency",s[5]),l&1&&e.set_custom_element_data(o,"lang",s[0]),l&512&&e.set_custom_element_data(o,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(o,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(o,"mbsource",s[11]),l&8&&e.set_custom_element_data(_,"limitsdata",s[3]),l&32&&e.set_custom_element_data(_,"currency",s[5]),l&1&&e.set_custom_element_data(_,"lang",s[0]),l&512&&e.set_custom_element_data(_,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(_,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(_,"mbsource",s[11]),l&16&&e.set_custom_element_data(u,"limitsdata",s[4]),l&32&&e.set_custom_element_data(u,"currency",s[5]),l&1&&e.set_custom_element_data(u,"lang",s[0]),l&512&&e.set_custom_element_data(u,"clientstyling",s[9]),l&1024&&e.set_custom_element_data(u,"clientstylingurl",s[10]),l&2048&&e.set_custom_element_data(u,"mbsource",s[11])},d(s){s&&e.detach(t),f&&f.d()}}}function H(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","ModalLoader")},m(a,m){e.insert(a,t,m)},p:e.noop,d(a){a&&e.detach(t)}}}function q(i){let t,a,m,c,g,p,d,r,w,o,L=i[17]("gamingLimitsText")+"",_,y,u;return{c(){t=e.element("div"),a=e.svg_element("svg"),m=e.svg_element("defs"),c=e.svg_element("style"),g=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),p=e.svg_element("g"),d=e.svg_element("g"),r=e.svg_element("path"),w=e.space(),o=e.element("h2"),_=e.text(L),e.attr(r,"class","aaa"),e.attr(r,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(r,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(p,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(o,"class","PlayerGamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(f,s){e.insert(f,t,s),e.append(t,a),e.append(a,m),e.append(m,c),e.append(c,g),e.append(a,p),e.append(p,d),e.append(d,r),e.append(t,w),e.append(t,o),e.append(o,_),y||(u=e.listen(t,"click",i[21]),y=!0)},p(f,s){s&131072&&L!==(L=f[17]("gamingLimitsText")+"")&&e.set_data(_,L)},d(f){f&&e.detach(t),y=!1,u()}}}function U(i){let t;function a(g,p){return g[13]?H:g[16]?V:W}let m=a(i),c=m(i);return{c(){t=e.element("div"),c.c()},m(g,p){e.insert(g,t,p),c.m(t,null),i[22](t)},p(g,[p]){m===(m=a(g))&&c?c.p(g,p):(c.d(1),c=m(g),c&&(c.c(),c.m(t,null)))},i:e.noop,o:e.noop,d(g){g&&e.detach(t),c.d(),i[22](null)}}}let Z="Deposit Limit",I="Wagering Limit",K="Loss Limit",Y="Time Limit";function J(i,t,a){let m;e.component_subscribe(i,e.$format,n=>a(17,m=n));let{depositlimit:c}=t,{wageringlimit:g}=t,{losslimit:p}=t,{timelimit:d}=t,{showdeletenotification:r=!1}=t,{showsuccessnotification:w=!1}=t,{lang:o="en"}=t,{currency:L=""}=t,{separatelimits:_="true"}=t,{clientstyling:y=""}=t,{clientstylingurl:u=""}=t,{mbsource:f}=t,{translationurl:s=""}=t;const l=()=>{fetch(s).then(b=>b.json()).then(b=>{Object.keys(b).forEach(G=>{B(G,b[G])})}).catch(b=>{console.log(b)})};Object.keys(j).forEach(n=>{B(n,j[n])});let h,D,v=!0,C=window.navigator.userAgent,P=e.getDevice(C)!=="PC",k,T="",M=!0;window.matchMedia("(min-width: 768px)");const A=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:P},window.location.href)},R=()=>{z(o)},E=n=>{if(n.data)switch(n.data.type){case"PlayerLimitsData":a(0,o=n.data.limits.lang),a(1,c=n.data.limits.depositlimit),a(2,g=n.data.limits.wageringlimit),a(3,p=n.data.limits.losslimit),a(4,d=n.data.limits.timelimit),a(13,v=!1);break;case"EditPlayerAccountGamingLimits":a(14,k=n.data.edit),a(15,T=n.data.name),a(16,M=!1),window.postMessage({type:"EditPlayerLimit",name:T},window.location.href),window.postMessage({type:"ScrollToTop"},window.location.href);break;case"PlayerAccountBackToLimitsView":a(16,M=!0);break;case"ProfileDetailsData":let b=n.data.profileDetails;a(5,L=b.currency);break}};e.onMount(()=>(window.addEventListener("message",E,!1),()=>{window.removeEventListener("message",E)}));const N=()=>A();function O(n){e.binding_callbacks[n?"unshift":"push"](()=>{h=n,a(12,h)})}return i.$$set=n=>{"depositlimit"in n&&a(1,c=n.depositlimit),"wageringlimit"in n&&a(2,g=n.wageringlimit),"losslimit"in n&&a(3,p=n.losslimit),"timelimit"in n&&a(4,d=n.timelimit),"showdeletenotification"in n&&a(6,r=n.showdeletenotification),"showsuccessnotification"in n&&a(7,w=n.showsuccessnotification),"lang"in n&&a(0,o=n.lang),"currency"in n&&a(5,L=n.currency),"separatelimits"in n&&a(8,_=n.separatelimits),"clientstyling"in n&&a(9,y=n.clientstyling),"clientstylingurl"in n&&a(10,u=n.clientstylingurl),"mbsource"in n&&a(11,f=n.mbsource),"translationurl"in n&&a(20,s=n.translationurl)},i.$$.update=()=>{i.$$.dirty&1&&o&&R(),i.$$.dirty&4608&&y&&h&&e.setClientStyling(h,y),i.$$.dirty&5120&&u&&h&&e.setClientStylingURL(h,u),i.$$.dirty&6144&&f&&h&&e.setStreamStyling(h,`${f}.Style`,D),i.$$.dirty&1048576&&s&&l()},[o,c,g,p,d,L,r,w,_,y,u,f,h,v,k,T,M,m,P,A,s,N,O]}class S extends e.SvelteComponent{constructor(t){super(),e.init(this,t,J,U,e.safe_not_equal,{depositlimit:1,wageringlimit:2,losslimit:3,timelimit:4,showdeletenotification:6,showsuccessnotification:7,lang:0,currency:5,separatelimits:8,clientstyling:9,clientstylingurl:10,mbsource:11,translationurl:20},F)}get depositlimit(){return this.$$.ctx[1]}set depositlimit(t){this.$$set({depositlimit:t}),e.flush()}get wageringlimit(){return this.$$.ctx[2]}set wageringlimit(t){this.$$set({wageringlimit:t}),e.flush()}get losslimit(){return this.$$.ctx[3]}set losslimit(t){this.$$set({losslimit:t}),e.flush()}get timelimit(){return this.$$.ctx[4]}set timelimit(t){this.$$set({timelimit:t}),e.flush()}get showdeletenotification(){return this.$$.ctx[6]}set showdeletenotification(t){this.$$set({showdeletenotification:t}),e.flush()}get showsuccessnotification(){return this.$$.ctx[7]}set showsuccessnotification(t){this.$$set({showsuccessnotification:t}),e.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get separatelimits(){return this.$$.ctx[8]}set separatelimits(t){this.$$set({separatelimits:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(S,{depositlimit:{},wageringlimit:{},losslimit:{},timelimit:{},showdeletenotification:{type:"Boolean"},showsuccessnotification:{type:"Boolean"},lang:{},currency:{},separatelimits:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=S;
@@ -1,9 +1,9 @@
1
- import { a as Y, $ as J, S as Q, i as X, s as x, f as h, b as $, n as D, d as E, e as G, g as _, h as ii, j as ei, o as ti, k as ni, t as w, u as H, r as e, p as f, q as A, v as S, x as ai, y as k, B as si, C as li, D as ri, c as mi, A as oi } from "./PlayerAccountController-SYnkGtb2.js";
2
- function W(t, i) {
3
- Y(t, i);
1
+ import { c as J, b as K, S as Q, B as X, Q as x, t as h, f as $, J as D, p as E, D as G, q as _, k as ii, w as ei, M as ti, h as ni, g as w, Y as H, X as e, e as f, a0 as A, a3 as S, I as ai, a2 as v, U as si, V as li, W as ri, m as mi, a as oi } from "./PlayerAccountController-Bd-Ammrb.js";
2
+ function O(t, i) {
3
+ J(t, i);
4
4
  }
5
5
  function ci(t) {
6
- J.set(t);
6
+ K.set(t);
7
7
  }
8
8
  const V = {
9
9
  en: {
@@ -107,7 +107,7 @@ if (typeof window < "u") {
107
107
  }
108
108
  };
109
109
  };
110
- customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-DOkGyTOt.js").then(({ default: i }) => {
110
+ customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-DgtRTtMC.js").then(({ default: i }) => {
111
111
  !customElements.get("player-account-gaming-limits-info-card") && customElements.define(
112
112
  "player-account-gaming-limits-info-card",
113
113
  i.element
@@ -558,7 +558,7 @@ function Li(t) {
558
558
  ), u, T, g;
559
559
  return {
560
560
  c() {
561
- i = _("div"), n = k("svg"), l = k("defs"), c = k("style"), d = S(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), y = k("g"), L = k("g"), o = k("path"), P = A(), m = _("h2"), u = S(b), w(o, "class", "aaa"), w(o, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), w(o, "transform", "translate(15 15) rotate(180)"), w(L, "transform", "translate(20 158)"), w(y, "transform", "translate(-20 -158)"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "15"), w(n, "viewBox", "0 0 15 15"), w(m, "class", "PlayerGamingLimitsTitleMobile"), w(i, "class", "MenuReturnButton");
561
+ i = _("div"), n = v("svg"), l = v("defs"), c = v("style"), d = S(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), y = v("g"), L = v("g"), o = v("path"), P = A(), m = _("h2"), u = S(b), w(o, "class", "aaa"), w(o, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), w(o, "transform", "translate(15 15) rotate(180)"), w(L, "transform", "translate(20 158)"), w(y, "transform", "translate(-20 -158)"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "15"), w(n, "viewBox", "0 0 15 15"), w(m, "class", "PlayerGamingLimitsTitleMobile"), w(i, "class", "MenuReturnButton");
562
562
  },
563
563
  m(p, s) {
564
564
  G(p, i, s), f(i, n), f(n, l), f(l, c), f(c, d), f(n, y), f(y, L), f(L, o), f(i, P), f(i, m), f(m, u), T || (g = ai(
@@ -613,34 +613,34 @@ function bi(t, i, n) {
613
613
  ii(t, oi, (a) => n(17, l = a));
614
614
  let { depositlimit: c } = i, { wageringlimit: d } = i, { losslimit: y } = i, { timelimit: L } = i, { showdeletenotification: o = !1 } = i, { showsuccessnotification: P = !1 } = i, { lang: m = "en" } = i, { currency: b = "" } = i, { separatelimits: u = "true" } = i, { clientstyling: T = "" } = i, { clientstylingurl: g = "" } = i, { mbsource: p } = i, { translationurl: s = "" } = i;
615
615
  const r = () => {
616
- fetch(s).then((v) => v.json()).then((v) => {
617
- Object.keys(v).forEach((O) => {
618
- W(O, v[O]);
616
+ fetch(s).then((k) => k.json()).then((k) => {
617
+ Object.keys(k).forEach((F) => {
618
+ O(F, k[F]);
619
619
  });
620
- }).catch((v) => {
621
- console.log(v);
620
+ }).catch((k) => {
621
+ console.log(k);
622
622
  });
623
623
  };
624
624
  Object.keys(V).forEach((a) => {
625
- W(a, V[a]);
625
+ O(a, V[a]);
626
626
  });
627
- let M, q, C = !0, U = window.navigator.userAgent, R = ei(U) !== "PC", N, B = "", j = !0;
627
+ let M, q, R = !0, U = window.navigator.userAgent, C = ei(U) !== "PC", N, B = "", j = !0;
628
628
  window.matchMedia("(min-width: 768px)");
629
- const z = () => {
629
+ const W = () => {
630
630
  window.postMessage(
631
631
  {
632
632
  type: "PlayerAccountMenuActive",
633
- isMobile: R
633
+ isMobile: C
634
634
  },
635
635
  window.location.href
636
636
  );
637
- }, Z = () => {
637
+ }, I = () => {
638
638
  ci(m);
639
- }, F = (a) => {
639
+ }, z = (a) => {
640
640
  if (a.data)
641
641
  switch (a.data.type) {
642
642
  case "PlayerLimitsData":
643
- n(0, m = a.data.limits.lang), n(1, c = a.data.limits.depositlimit), n(2, d = a.data.limits.wageringlimit), n(3, y = a.data.limits.losslimit), n(4, L = a.data.limits.timelimit), n(13, C = !1);
643
+ n(0, m = a.data.limits.lang), n(1, c = a.data.limits.depositlimit), n(2, d = a.data.limits.wageringlimit), n(3, y = a.data.limits.losslimit), n(4, L = a.data.limits.timelimit), n(13, R = !1);
644
644
  break;
645
645
  case "EditPlayerAccountGamingLimits":
646
646
  n(14, N = a.data.edit), n(15, B = a.data.name), n(16, j = !1), window.postMessage(
@@ -655,16 +655,16 @@ function bi(t, i, n) {
655
655
  n(16, j = !0);
656
656
  break;
657
657
  case "ProfileDetailsData":
658
- let v = a.data.profileDetails;
659
- n(5, b = v.currency);
658
+ let k = a.data.profileDetails;
659
+ n(5, b = k.currency);
660
660
  break;
661
661
  }
662
662
  };
663
- ti(() => (window.addEventListener("message", F, !1), () => {
664
- window.removeEventListener("message", F);
663
+ ti(() => (window.addEventListener("message", z, !1), () => {
664
+ window.removeEventListener("message", z);
665
665
  }));
666
- const I = () => z();
667
- function K(a) {
666
+ const Y = () => W();
667
+ function Z(a) {
668
668
  ni[a ? "unshift" : "push"](() => {
669
669
  M = a, n(12, M);
670
670
  });
@@ -673,7 +673,7 @@ function bi(t, i, n) {
673
673
  "depositlimit" in a && n(1, c = a.depositlimit), "wageringlimit" in a && n(2, d = a.wageringlimit), "losslimit" in a && n(3, y = a.losslimit), "timelimit" in a && n(4, L = a.timelimit), "showdeletenotification" in a && n(6, o = a.showdeletenotification), "showsuccessnotification" in a && n(7, P = a.showsuccessnotification), "lang" in a && n(0, m = a.lang), "currency" in a && n(5, b = a.currency), "separatelimits" in a && n(8, u = a.separatelimits), "clientstyling" in a && n(9, T = a.clientstyling), "clientstylingurl" in a && n(10, g = a.clientstylingurl), "mbsource" in a && n(11, p = a.mbsource), "translationurl" in a && n(20, s = a.translationurl);
674
674
  }, t.$$.update = () => {
675
675
  t.$$.dirty & /*lang*/
676
- 1 && m && Z(), t.$$.dirty & /*clientstyling, customStylingContainer*/
676
+ 1 && m && I(), t.$$.dirty & /*clientstyling, customStylingContainer*/
677
677
  4608 && T && M && si(M, T), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
678
678
  5120 && g && M && li(M, g), t.$$.dirty & /*mbsource, customStylingContainer*/
679
679
  6144 && p && M && ri(M, `${p}.Style`, q), t.$$.dirty & /*translationurl*/
@@ -692,16 +692,16 @@ function bi(t, i, n) {
692
692
  g,
693
693
  p,
694
694
  M,
695
- C,
695
+ R,
696
696
  N,
697
697
  B,
698
698
  j,
699
699
  l,
700
- R,
701
- z,
700
+ C,
701
+ W,
702
702
  s,
703
- I,
704
- K
703
+ Y,
704
+ Z
705
705
  ];
706
706
  }
707
707
  class Ti extends Q {
@@ -1,11 +1,11 @@
1
- import { a as U, $ as H, S as V, i as J, s as K, f as x, b as Q, _ as X, d as T, w as Y, V as Z, W as $, a0 as tt, a1 as it, a2 as et, u as F, e as I, p as l, x as z, g as L, q as E, v as S, t as a, h as nt, j as ot, o as at, k as rt, n as st, y as N, B as lt, C as mt, D as ct, c as dt, A as gt } from "./PlayerAccountController-SYnkGtb2.js";
2
- function W(e, t) {
3
- U(e, t);
1
+ import { c as q, b as H, S as J, B as Q, Q as V, t as x, f as Y, n as K, p as P, O as X, a8 as Z, a7 as $, a9 as tt, x as it, y as et, Y as F, D as T, e as l, I as z, q as L, a0 as E, a3 as S, g as a, k as nt, w as ot, M as at, h as rt, J as st, a2 as N, U as lt, V as mt, W as ct, m as dt, a as gt } from "./PlayerAccountController-Bd-Ammrb.js";
2
+ function O(e, t) {
3
+ q(e, t);
4
4
  }
5
5
  function ut(e) {
6
6
  H.set(e);
7
7
  }
8
- const O = {
8
+ const W = {
9
9
  en: {
10
10
  cancel: "Cancel",
11
11
  confirm: "Confirm"
@@ -52,9 +52,9 @@ const O = {
52
52
  }
53
53
  };
54
54
  function ft(e) {
55
- Q(e, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
55
+ Y(e, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
56
56
  }
57
- const Ct = (e) => ({}), P = (e) => ({});
57
+ const Ct = (e) => ({}), I = (e) => ({});
58
58
  function pt(e) {
59
59
  let t, n;
60
60
  return {
@@ -62,11 +62,11 @@ function pt(e) {
62
62
  t = N("svg"), n = N("path"), a(n, "stroke-linecap", "round"), a(n, "stroke-linejoin", "round"), a(n, "stroke-width", "2"), a(n, "d", "M6 18L18 6M6 6l12 12"), a(t, "class", "w-6 h-6"), a(t, "fill", "none"), a(t, "stroke", "currentColor"), a(t, "viewBox", "0 0 24 24"), a(t, "xmlns", "http://www.w3.org/2000/svg");
63
63
  },
64
64
  m(s, v) {
65
- I(s, t, v), l(t, n);
65
+ T(s, t, v), l(t, n);
66
66
  },
67
67
  p: st,
68
68
  d(s) {
69
- s && T(t);
69
+ s && P(t);
70
70
  }
71
71
  };
72
72
  }
@@ -81,12 +81,12 @@ function bt(e) {
81
81
  const _ = (
82
82
  /*#slots*/
83
83
  e[14].close
84
- ), G = X(
84
+ ), G = K(
85
85
  _,
86
86
  e,
87
87
  /*$$scope*/
88
88
  e[13],
89
- P
89
+ I
90
90
  ), u = G || pt();
91
91
  return {
92
92
  c() {
@@ -99,7 +99,7 @@ function bt(e) {
99
99
  (e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
100
100
  },
101
101
  m(o, C) {
102
- I(o, t, C), l(t, n), l(n, s), u && u.m(s, null), l(n, v), l(n, b), l(b, h), l(n, d), l(n, m), l(m, g), l(g, p), l(m, w), l(m, y), l(y, k), e[15](t), c = !0, B || (A = [
102
+ T(o, t, C), l(t, n), l(n, s), u && u.m(s, null), l(n, v), l(n, b), l(b, h), l(n, d), l(n, m), l(m, g), l(g, p), l(m, w), l(m, y), l(y, k), e[15](t), c = !0, B || (A = [
103
103
  z(
104
104
  s,
105
105
  "click",
@@ -138,7 +138,7 @@ function bt(e) {
138
138
  /*$$scope*/
139
139
  o[13]
140
140
  ),
141
- P
141
+ I
142
142
  ), (!c || C & /*modaltext*/
143
143
  1) && F(
144
144
  h,
@@ -157,7 +157,7 @@ function bt(e) {
157
157
  Z(u, o), c = !1;
158
158
  },
159
159
  d(o) {
160
- o && T(t), u && u.d(o), e[15](null), B = !1, Y(A);
160
+ o && P(t), u && u.d(o), e[15](null), B = !1, X(A);
161
161
  }
162
162
  };
163
163
  }
@@ -167,15 +167,15 @@ function ht(e, t, n) {
167
167
  let { $$slots: v = {}, $$scope: b } = t, { modaltext: h = "Are you sure that you want to perform this action?" } = t, { modalsource: d = "" } = t, { lang: m = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: p } = t, { translationurl: w = "" } = t;
168
168
  const y = () => {
169
169
  fetch(w).then((M) => M.json()).then((M) => {
170
- Object.keys(M).forEach((D) => {
171
- W(D, M[D]);
170
+ Object.keys(M).forEach((j) => {
171
+ O(j, M[j]);
172
172
  });
173
173
  }).catch((M) => {
174
174
  console.log(M);
175
175
  });
176
176
  };
177
- Object.keys(O).forEach((i) => {
178
- W(i, O[i]);
177
+ Object.keys(W).forEach((i) => {
178
+ O(i, W[i]);
179
179
  });
180
180
  let r, k, c = window.navigator.userAgent, B = ot(c) !== "PC", A = {}, _ = "";
181
181
  const G = () => {
@@ -191,7 +191,7 @@ function ht(e, t, n) {
191
191
  ), window.postMessage({ type: "ModalClosed" }, window.location.href);
192
192
  }, o = () => {
193
193
  d === "groupEdit" ? window.postMessage({ type: "CancelGamingLimitsChanges" }, window.location.href) : d === "infoCard" && window.postMessage({ type: "CancelGamingLimitsRemove" }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href);
194
- }, C = (i) => i === "Time Limit" ? "cumulativeSessionLimits" : i === "Deposit Limit" ? "depositLimits" : i === "Wagering Limit" ? "wageringLimit" : "lossLimit", j = (i) => {
194
+ }, C = (i) => i === "Time Limit" ? "cumulativeSessionLimits" : i === "Deposit Limit" ? "depositLimits" : i === "Wagering Limit" ? "wageringLimit" : "lossLimit", D = (i) => {
195
195
  if (i.data)
196
196
  switch (i.data.type) {
197
197
  case "DeleteLimitsItem":
@@ -201,10 +201,10 @@ function ht(e, t, n) {
201
201
  }, R = () => {
202
202
  ut(m);
203
203
  };
204
- at(() => (window.addEventListener("message", j, !1), () => {
205
- window.removeEventListener("message", j);
204
+ at(() => (window.addEventListener("message", D, !1), () => {
205
+ window.removeEventListener("message", D);
206
206
  }));
207
- function q(i) {
207
+ function U(i) {
208
208
  rt[i ? "unshift" : "push"](() => {
209
209
  r = i, n(1, r);
210
210
  });
@@ -234,17 +234,17 @@ function ht(e, t, n) {
234
234
  w,
235
235
  b,
236
236
  v,
237
- q
237
+ U
238
238
  ];
239
239
  }
240
- class wt extends V {
240
+ class wt extends J {
241
241
  constructor(t) {
242
- super(), J(
242
+ super(), Q(
243
243
  this,
244
244
  t,
245
245
  ht,
246
246
  bt,
247
- K,
247
+ V,
248
248
  {
249
249
  modaltext: 0,
250
250
  modalsource: 7,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-D-iw4Gm1.cjs");function A(n,e){t.addMessages(n,e)}function D(n){t.$locale.set(n)}const F={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function N(n){t.append_styles(n,"svelte-n224ff",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}')}const O=n=>({}),S=n=>({});function P(n){let e,o;return{c(){e=t.svg_element("svg"),o=t.svg_element("path"),t.attr(o,"stroke-linecap","round"),t.attr(o,"stroke-linejoin","round"),t.attr(o,"stroke-width","2"),t.attr(o,"d","M6 18L18 6M6 6l12 12"),t.attr(e,"class","w-6 h-6"),t.attr(e,"fill","none"),t.attr(e,"stroke","currentColor"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"xmlns","http://www.w3.org/2000/svg")},m(l,y){t.insert(l,e,y),t.append(e,o)},p:t.noop,d(l){l&&t.detach(e)}}}function T(n){let e,o,l,y,C,b,c,s,d,u=n[2]("cancel")+"",p,h,w,a=n[2]("confirm")+"",v,m,G,M;const x=n[14].close,L=t.create_slot(x,n,n[13],S),g=L||P();return{c(){e=t.element("div"),o=t.element("div"),l=t.element("span"),g&&g.c(),y=t.space(),C=t.element("div"),b=t.text(n[0]),c=t.space(),s=t.element("div"),d=t.element("button"),p=t.text(u),h=t.space(),w=t.element("button"),v=t.text(a),t.attr(l,"class","ModalCloseBtn"),t.attr(l,"role","button"),t.attr(C,"class","GamingLimitsConfirmationContent"),t.attr(d,"class","GamingLimitsCancelButton"),t.attr(w,"class","GamingLimitsConfirmButton"),t.attr(s,"class","GamingLimitsConfirmationControlArea "+(n[3]?"GamingLimitsConfirmationControlAreaMobile":"")),t.attr(o,"class","GamingLimitsConfirmationContainer "+(n[3]?"GamingLimitsConfirmationContainerMobile":"")),t.attr(e,"class","GamingLimitsConfirmationWrapper "+(n[3]?"GamingLimitsConfirmationMobileWrapper":""))},m(r,f){t.insert(r,e,f),t.append(e,o),t.append(o,l),g&&g.m(l,null),t.append(o,y),t.append(o,C),t.append(C,b),t.append(o,c),t.append(o,s),t.append(s,d),t.append(d,p),t.append(s,h),t.append(s,w),t.append(w,v),n[15](e),m=!0,G||(M=[t.listen(l,"click",n[4]),t.listen(d,"click",n[6]),t.listen(w,"click",n[5])],G=!0)},p(r,[f]){L&&L.p&&(!m||f&8192)&&t.update_slot_base(L,x,r,r[13],m?t.get_slot_changes(x,r[13],f,O):t.get_all_dirty_from_scope(r[13]),S),(!m||f&1)&&t.set_data(b,r[0]),(!m||f&4)&&u!==(u=r[2]("cancel")+"")&&t.set_data(p,u),(!m||f&4)&&a!==(a=r[2]("confirm")+"")&&t.set_data(v,a)},i(r){m||(t.transition_in(g,r),m=!0)},o(r){t.transition_out(g,r),m=!1},d(r){r&&t.detach(e),g&&g.d(r),n[15](null),G=!1,t.run_all(M)}}}function W(n,e,o){let l;t.component_subscribe(n,t.$format,i=>o(2,l=i));let{$$slots:y={},$$scope:C}=e,{modaltext:b="Are you sure that you want to perform this action?"}=e,{modalsource:c=""}=e,{lang:s="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{mbsource:p}=e,{translationurl:h=""}=e;const w=()=>{fetch(h).then(_=>_.json()).then(_=>{Object.keys(_).forEach(B=>{A(B,_[B])})}).catch(_=>{console.log(_)})};Object.keys(F).forEach(i=>{A(i,F[i])});let a,v,m=window.navigator.userAgent,G=t.getDevice(m)!=="PC",M={},x="";const L=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},g=()=>{c==="groupEdit"?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:M,name:x},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},r=()=>{c==="groupEdit"?window.postMessage({type:"CancelGamingLimitsChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"CancelGamingLimitsRemove"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},f=i=>i==="Time Limit"?"cumulativeSessionLimits":i==="Deposit Limit"?"depositLimits":i==="Wagering Limit"?"wageringLimit":"lossLimit",k=i=>{if(i.data)switch(i.data.type){case"DeleteLimitsItem":M=i.data.removeData,x=f(i.data.removeName);break}},E=()=>{D(s)};t.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));function j(i){t.binding_callbacks[i?"unshift":"push"](()=>{a=i,o(1,a)})}return n.$$set=i=>{"modaltext"in i&&o(0,b=i.modaltext),"modalsource"in i&&o(7,c=i.modalsource),"lang"in i&&o(8,s=i.lang),"clientstyling"in i&&o(9,d=i.clientstyling),"clientstylingurl"in i&&o(10,u=i.clientstylingurl),"mbsource"in i&&o(11,p=i.mbsource),"translationurl"in i&&o(12,h=i.translationurl),"$$scope"in i&&o(13,C=i.$$scope)},n.$$.update=()=>{n.$$.dirty&385&&b&&c&&s&&E(),n.$$.dirty&514&&d&&a&&t.setClientStyling(a,d),n.$$.dirty&1026&&u&&a&&t.setClientStylingURL(a,u),n.$$.dirty&2050&&p&&a&&t.setStreamStyling(a,`${p}.Style`,v),n.$$.dirty&4096&&h&&w()},[b,a,l,G,L,g,r,c,s,d,u,p,h,C,y,j]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,W,T,t.safe_not_equal,{modaltext:0,modalsource:7,lang:8,clientstyling:9,clientstylingurl:10,mbsource:11,translationurl:12},N)}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$$set({modaltext:e}),t.flush()}get modalsource(){return this.$$.ctx[7]}set modalsource(e){this.$$set({modalsource:e}),t.flush()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(z,{modaltext:{},modalsource:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},["close"],[],!0);exports.default=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-CPE5eIap.cjs");function A(n,e){t.addMessages(n,e)}function D(n){t.$locale.set(n)}const F={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function N(n){t.append_styles(n,"svelte-n224ff",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}')}const O=n=>({}),S=n=>({});function P(n){let e,o;return{c(){e=t.svg_element("svg"),o=t.svg_element("path"),t.attr(o,"stroke-linecap","round"),t.attr(o,"stroke-linejoin","round"),t.attr(o,"stroke-width","2"),t.attr(o,"d","M6 18L18 6M6 6l12 12"),t.attr(e,"class","w-6 h-6"),t.attr(e,"fill","none"),t.attr(e,"stroke","currentColor"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"xmlns","http://www.w3.org/2000/svg")},m(l,y){t.insert(l,e,y),t.append(e,o)},p:t.noop,d(l){l&&t.detach(e)}}}function T(n){let e,o,l,y,C,b,c,s,d,u=n[2]("cancel")+"",p,h,w,a=n[2]("confirm")+"",v,m,G,M;const x=n[14].close,L=t.create_slot(x,n,n[13],S),g=L||P();return{c(){e=t.element("div"),o=t.element("div"),l=t.element("span"),g&&g.c(),y=t.space(),C=t.element("div"),b=t.text(n[0]),c=t.space(),s=t.element("div"),d=t.element("button"),p=t.text(u),h=t.space(),w=t.element("button"),v=t.text(a),t.attr(l,"class","ModalCloseBtn"),t.attr(l,"role","button"),t.attr(C,"class","GamingLimitsConfirmationContent"),t.attr(d,"class","GamingLimitsCancelButton"),t.attr(w,"class","GamingLimitsConfirmButton"),t.attr(s,"class","GamingLimitsConfirmationControlArea "+(n[3]?"GamingLimitsConfirmationControlAreaMobile":"")),t.attr(o,"class","GamingLimitsConfirmationContainer "+(n[3]?"GamingLimitsConfirmationContainerMobile":"")),t.attr(e,"class","GamingLimitsConfirmationWrapper "+(n[3]?"GamingLimitsConfirmationMobileWrapper":""))},m(r,f){t.insert(r,e,f),t.append(e,o),t.append(o,l),g&&g.m(l,null),t.append(o,y),t.append(o,C),t.append(C,b),t.append(o,c),t.append(o,s),t.append(s,d),t.append(d,p),t.append(s,h),t.append(s,w),t.append(w,v),n[15](e),m=!0,G||(M=[t.listen(l,"click",n[4]),t.listen(d,"click",n[6]),t.listen(w,"click",n[5])],G=!0)},p(r,[f]){L&&L.p&&(!m||f&8192)&&t.update_slot_base(L,x,r,r[13],m?t.get_slot_changes(x,r[13],f,O):t.get_all_dirty_from_scope(r[13]),S),(!m||f&1)&&t.set_data(b,r[0]),(!m||f&4)&&u!==(u=r[2]("cancel")+"")&&t.set_data(p,u),(!m||f&4)&&a!==(a=r[2]("confirm")+"")&&t.set_data(v,a)},i(r){m||(t.transition_in(g,r),m=!0)},o(r){t.transition_out(g,r),m=!1},d(r){r&&t.detach(e),g&&g.d(r),n[15](null),G=!1,t.run_all(M)}}}function W(n,e,o){let l;t.component_subscribe(n,t.$format,i=>o(2,l=i));let{$$slots:y={},$$scope:C}=e,{modaltext:b="Are you sure that you want to perform this action?"}=e,{modalsource:c=""}=e,{lang:s="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{mbsource:p}=e,{translationurl:h=""}=e;const w=()=>{fetch(h).then(_=>_.json()).then(_=>{Object.keys(_).forEach(B=>{A(B,_[B])})}).catch(_=>{console.log(_)})};Object.keys(F).forEach(i=>{A(i,F[i])});let a,v,m=window.navigator.userAgent,G=t.getDevice(m)!=="PC",M={},x="";const L=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},g=()=>{c==="groupEdit"?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:M,name:x},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},r=()=>{c==="groupEdit"?window.postMessage({type:"CancelGamingLimitsChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"CancelGamingLimitsRemove"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},f=i=>i==="Time Limit"?"cumulativeSessionLimits":i==="Deposit Limit"?"depositLimits":i==="Wagering Limit"?"wageringLimit":"lossLimit",k=i=>{if(i.data)switch(i.data.type){case"DeleteLimitsItem":M=i.data.removeData,x=f(i.data.removeName);break}},E=()=>{D(s)};t.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));function j(i){t.binding_callbacks[i?"unshift":"push"](()=>{a=i,o(1,a)})}return n.$$set=i=>{"modaltext"in i&&o(0,b=i.modaltext),"modalsource"in i&&o(7,c=i.modalsource),"lang"in i&&o(8,s=i.lang),"clientstyling"in i&&o(9,d=i.clientstyling),"clientstylingurl"in i&&o(10,u=i.clientstylingurl),"mbsource"in i&&o(11,p=i.mbsource),"translationurl"in i&&o(12,h=i.translationurl),"$$scope"in i&&o(13,C=i.$$scope)},n.$$.update=()=>{n.$$.dirty&385&&b&&c&&s&&E(),n.$$.dirty&514&&d&&a&&t.setClientStyling(a,d),n.$$.dirty&1026&&u&&a&&t.setClientStylingURL(a,u),n.$$.dirty&2050&&p&&a&&t.setStreamStyling(a,`${p}.Style`,v),n.$$.dirty&4096&&h&&w()},[b,a,l,G,L,g,r,c,s,d,u,p,h,C,y,j]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,W,T,t.safe_not_equal,{modaltext:0,modalsource:7,lang:8,clientstyling:9,clientstylingurl:10,mbsource:11,translationurl:12},N)}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$$set({modaltext:e}),t.flush()}get modalsource(){return this.$$.ctx[7]}set modalsource(e){this.$$set({modalsource:e}),t.flush()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(z,{modaltext:{},modalsource:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},["close"],[],!0);exports.default=z;