@everymatrix/player-account-controller 1.90.27 → 1.90.28

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 (108) hide show
  1. package/components/{GeneralLogout-DwNLBfEm.js → GeneralLogout-Cli-NssD.js} +1 -1
  2. package/components/{GeneralLogout-C4EumplP.js → GeneralLogout-DCGfHtev.js} +1 -1
  3. package/components/{GeneralLogout-CJ83F0T-.cjs → GeneralLogout-DGh-pjl1.cjs} +1 -1
  4. package/components/{PlayerAccountBettingHistory-BhY_Ww_e.js → PlayerAccountBettingHistory-B4hiP1HU.js} +1 -1
  5. package/components/{PlayerAccountBettingHistory-kpMqXTCa.js → PlayerAccountBettingHistory-CDdlVGJC.js} +1 -1
  6. package/components/{PlayerAccountBettingHistory-B4Dj6cYD.cjs → PlayerAccountBettingHistory-CvC6A3Vc.cjs} +1 -1
  7. package/components/{PlayerAccountBiometrics-CUrQTKBz.cjs → PlayerAccountBiometrics-DUd62tPM.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-tzJhpDfY.js → PlayerAccountBiometrics-DyXTpCbD.js} +2 -2
  9. package/components/{PlayerAccountBiometrics-D39leCsG.js → PlayerAccountBiometrics-Dz28h8mq.js} +2 -2
  10. package/components/{PlayerAccountBiometricsAction-BNiRdNGG.js → PlayerAccountBiometricsAction-B8h4jZAv.js} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-DMR4gM3W.cjs → PlayerAccountBiometricsAction-BrsZG7Xp.cjs} +1 -1
  12. package/components/{PlayerAccountBiometricsAction-BEi6fJnh.js → PlayerAccountBiometricsAction-Cusqhawx.js} +1 -1
  13. package/components/{PlayerAccountClosure-BHJVs9rZ.cjs → PlayerAccountClosure-CsYY8BwR.cjs} +1 -1
  14. package/components/{PlayerAccountClosure-z8D8s410.js → PlayerAccountClosure-D5W4Oqz7.js} +1 -1
  15. package/components/{PlayerAccountClosure-Cl3x1fL0.js → PlayerAccountClosure-DB02_1Lm.js} +1 -1
  16. package/components/PlayerAccountController-BCBdGBuo.cjs +21 -0
  17. package/components/{PlayerAccountController-D0b5nEtR.js → PlayerAccountController-DEx57eqL.js} +113 -109
  18. package/components/{PlayerAccountController-CKaOyxPs.js → PlayerAccountController-Di0cYPDo.js} +47 -43
  19. package/components/{PlayerAccountGamingLimits-U-H5gb3e.cjs → PlayerAccountGamingLimits-89EczNTl.cjs} +1 -1
  20. package/components/{PlayerAccountGamingLimits-CBLv92Kh.js → PlayerAccountGamingLimits-BdhhhRyf.js} +2 -2
  21. package/components/{PlayerAccountGamingLimits-k6RYNNnE.js → PlayerAccountGamingLimits-JAJsPzOc.js} +2 -2
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-FG4Mfvt0.js → PlayerAccountGamingLimitsConfirmationModal-B2HWaoA9.js} +15 -15
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-DKzqC8Vf.cjs → PlayerAccountGamingLimitsConfirmationModal-CEMHTolq.cjs} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-538HdqwS.js → PlayerAccountGamingLimitsConfirmationModal-DWt0Dg8A.js} +12 -12
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-DL8BUzBz.js → PlayerAccountGamingLimitsGroupEdit-BdBaVPxU.js} +5 -5
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-6fCqHqkM.cjs → PlayerAccountGamingLimitsGroupEdit-CAS2VLdR.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-B2JhDz2i.js → PlayerAccountGamingLimitsGroupEdit-D_qJoqvf.js} +5 -5
  28. package/components/{PlayerAccountGamingLimitsHistory2-g_IWvLmy.js → PlayerAccountGamingLimitsHistory2-C-2ngu-R.js} +1 -1
  29. package/components/{PlayerAccountGamingLimitsHistory2-BNWPIbWB.cjs → PlayerAccountGamingLimitsHistory2-ClAX_hrn.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2-xIrqOBue.js → PlayerAccountGamingLimitsHistory2-fdUNlSVr.js} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-aPWTEP6v.js → PlayerAccountGamingLimitsInfoCard-71L7km0W.js} +4 -4
  32. package/components/{PlayerAccountGamingLimitsInfoCard-DQT8NxCM.cjs → PlayerAccountGamingLimitsInfoCard-C7Jrr5D_.cjs} +1 -1
  33. package/components/{PlayerAccountGamingLimitsInfoCard-C3kYu3Mz.js → PlayerAccountGamingLimitsInfoCard-pNXy8v7J.js} +4 -4
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-vBu6DIoa.cjs → PlayerAccountGamingLimitsPage2Gm16-BIn721DS.cjs} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-Cv_0o78w.js → PlayerAccountGamingLimitsPage2Gm16-BnKssXw2.js} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-BTPwSCw_.js → PlayerAccountGamingLimitsPage2Gm16-eq0W0JEU.js} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-BBelp3R2.cjs → PlayerAccountGamingLimitsPopup-Ba1P9Mg8.cjs} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-mKUhuTAc.js → PlayerAccountGamingLimitsPopup-BoYS8EhV.js} +1 -1
  39. package/components/{PlayerAccountGamingLimitsPopup-CsiOIti5.js → PlayerAccountGamingLimitsPopup-Cpxlxuoj.js} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2-206eT_43.js → PlayerAccountGamingLimitsWrapper2-BCcMVxjQ.js} +3 -3
  41. package/components/{PlayerAccountGamingLimitsWrapper2-LXe3wpOz.js → PlayerAccountGamingLimitsWrapper2-BWTXs07e.js} +3 -3
  42. package/components/{PlayerAccountGamingLimitsWrapper2-BXgOs7ar.cjs → PlayerAccountGamingLimitsWrapper2-PUmqlqrb.cjs} +1 -1
  43. package/components/{PlayerAccountGeneralConfirmationModal-Bs4_RcFn.cjs → PlayerAccountGeneralConfirmationModal-DOdFto1a.cjs} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-h3MmxVod.js → PlayerAccountGeneralConfirmationModal-Dzd39qGR.js} +20 -20
  45. package/components/{PlayerAccountGeneralConfirmationModal-SggjdB4z.js → PlayerAccountGeneralConfirmationModal-QPdTyuPT.js} +22 -22
  46. package/components/{PlayerAccountMenu-CLz0VlnA.js → PlayerAccountMenu-D6ZuKQO-.js} +2 -2
  47. package/components/{PlayerAccountMenu-DNcEo09K.js → PlayerAccountMenu-DkqJe-zS.js} +2 -2
  48. package/components/{PlayerAccountMenu-DbWbd1yC.cjs → PlayerAccountMenu-yKZ92WCT.cjs} +1 -1
  49. package/components/{PlayerAccountModal-BjiMUaLd.js → PlayerAccountModal-CSL4GUbf.js} +39 -39
  50. package/components/{PlayerAccountModal-BXE5DAmY.cjs → PlayerAccountModal-DiMO949x.cjs} +1 -1
  51. package/components/{PlayerAccountModal-CscgLYV5.js → PlayerAccountModal-FSuMS6md.js} +36 -36
  52. package/components/{PlayerAccountNotifications-DAVg-El1.js → PlayerAccountNotifications-DMh70rwZ.js} +1 -1
  53. package/components/{PlayerAccountNotifications-D-QSwFJL.cjs → PlayerAccountNotifications-DnrovZLQ.cjs} +1 -1
  54. package/components/{PlayerAccountNotifications-B17BVCRD.js → PlayerAccountNotifications-qOoObhBf.js} +1 -1
  55. package/components/{PlayerAccountProductRestriction-B4qAQc1H.js → PlayerAccountProductRestriction-BS7K1rRa.js} +3 -3
  56. package/components/{PlayerAccountProductRestriction-BVbpwBgo.cjs → PlayerAccountProductRestriction-BkSRDNJn.cjs} +1 -1
  57. package/components/{PlayerAccountProductRestriction-BGxedQ3X.js → PlayerAccountProductRestriction-ClLQNpO6.js} +3 -3
  58. package/components/{PlayerAccountReviewFrequency-Cuvddk9X.js → PlayerAccountReviewFrequency-BiFYl3Fz.js} +1 -1
  59. package/components/{PlayerAccountReviewFrequency-oQ7NCWlX.cjs → PlayerAccountReviewFrequency-CN_MVrgH.cjs} +1 -1
  60. package/components/{PlayerAccountReviewFrequency-Cq7qpg-I.js → PlayerAccountReviewFrequency-DYgVqGDC.js} +1 -1
  61. package/components/{PlayerAccountSelfExclusion-xIyAHdnn.js → PlayerAccountSelfExclusion-Cap8U2MD.js} +2 -2
  62. package/components/{PlayerAccountSelfExclusion-BMOP0W_Z.js → PlayerAccountSelfExclusion-CjSX0uOM.js} +2 -2
  63. package/components/{PlayerAccountSelfExclusion-BSyc12y1.cjs → PlayerAccountSelfExclusion-RCShrGGU.cjs} +1 -1
  64. package/components/{PlayerAccountTimeout-BNLHG5j3.js → PlayerAccountTimeout-BXoep92O.js} +3 -3
  65. package/components/{PlayerAccountTimeout-ZOGQj5G2.cjs → PlayerAccountTimeout-DIbGCikB.cjs} +2 -2
  66. package/components/{PlayerAccountTimeout-D0RW52RF.js → PlayerAccountTimeout-jrrwKtC2.js} +3 -3
  67. package/components/{PlayerAccountTransactionsHistory-BzGvWPDJ.js → PlayerAccountTransactionsHistory-1A4K0IvA.js} +4 -4
  68. package/components/{PlayerAccountTransactionsHistory-DKB8qW5n.js → PlayerAccountTransactionsHistory-BBNictt2.js} +4 -4
  69. package/components/{PlayerAccountTransactionsHistory-CbtfeCgT.cjs → PlayerAccountTransactionsHistory-DThxm2yA.cjs} +1 -1
  70. package/components/{PlayerActiveBonuses-CT7XTxBJ.cjs → PlayerActiveBonuses-B73d8ijV.cjs} +1 -1
  71. package/components/{PlayerActiveBonuses-pJGDjCj9.js → PlayerActiveBonuses-BCMOdhqV.js} +2 -2
  72. package/components/{PlayerActiveBonuses-Df33uFo8.js → PlayerActiveBonuses-BI-HEv6T.js} +2 -2
  73. package/components/{PlayerBonusCard-BUDT4xyi.js → PlayerBonusCard-BjnX6Iv-.js} +2 -2
  74. package/components/{PlayerBonusCard-ByC1IBuw.js → PlayerBonusCard-Bm5u3cXG.js} +2 -2
  75. package/components/{PlayerBonusCard-CxRngJSZ.cjs → PlayerBonusCard-tUJVoebS.cjs} +1 -1
  76. package/components/{PlayerBonusHistory-CkarFQt0.js → PlayerBonusHistory-7cMjucIY.js} +2 -2
  77. package/components/{PlayerBonusHistory-C7UDn3wR.cjs → PlayerBonusHistory-N8KDZy5Z.cjs} +1 -1
  78. package/components/{PlayerBonusHistory-CEWrGvIt.js → PlayerBonusHistory-irdwVJDB.js} +2 -2
  79. package/components/{PlayerChangePassword-3Pfi4t-s.cjs → PlayerChangePassword-8jVE814m.cjs} +1 -1
  80. package/components/{PlayerChangePassword-_SMq16X1.js → PlayerChangePassword-BHj66n4x.js} +1 -1
  81. package/components/{PlayerChangePassword-BRiEQQkP.js → PlayerChangePassword-BrBZYFPG.js} +1 -1
  82. package/components/{PlayerDeposit-CRJRg5Wr.cjs → PlayerDeposit-BIOX7H9V.cjs} +1 -1
  83. package/components/{PlayerDeposit-DHqNMLjt.js → PlayerDeposit-Bvle9X7T.js} +1 -1
  84. package/components/{PlayerDeposit-sLxAAkrb.js → PlayerDeposit-D2_-jHd7.js} +1 -1
  85. package/components/{PlayerGamingHistory-B-pE0ysm.js → PlayerGamingHistory-C7Gs6wof.js} +42 -42
  86. package/components/{PlayerGamingHistory-C9II4LcD.cjs → PlayerGamingHistory-YmDIacxF.cjs} +1 -1
  87. package/components/{PlayerGamingHistory-Bzb5pocD.js → PlayerGamingHistory-k_Eu6sYf.js} +41 -41
  88. package/components/{PlayerPendingWithdrawals-CbB3XENc.cjs → PlayerPendingWithdrawals-78hTh0xA.cjs} +1 -1
  89. package/components/{PlayerPendingWithdrawals-bSDN7eqy.js → PlayerPendingWithdrawals-Bz82WymR.js} +1 -1
  90. package/components/{PlayerPendingWithdrawals-Dl09yYaH.js → PlayerPendingWithdrawals-CYjYW0XR.js} +1 -1
  91. package/components/{PlayerProfileInfo-BHezZcjN.js → PlayerProfileInfo-B6lmf59S.js} +1511 -1344
  92. package/components/{PlayerProfileInfo-BgW-E1St.js → PlayerProfileInfo-BM7LbbrE.js} +1567 -1311
  93. package/components/PlayerProfileInfo-CCMweYcA.cjs +4 -0
  94. package/components/{PlayerRealityCheck-Cy5rO9DI.js → PlayerRealityCheck-BBInE7LM.js} +22 -22
  95. package/components/{PlayerRealityCheck-BrfGbURR.js → PlayerRealityCheck-CEHE88UX.js} +21 -21
  96. package/components/{PlayerRealityCheck-Dg7GLCk4.cjs → PlayerRealityCheck-DWW04asX.cjs} +1 -1
  97. package/components/{PlayerTransactionHistory-CruxvxRp.js → PlayerTransactionHistory-BVDHTzKc.js} +1 -1
  98. package/components/{PlayerTransactionHistory-C2S5faSi.js → PlayerTransactionHistory-CTLTuGTX.js} +1 -1
  99. package/components/{PlayerTransactionHistory-8OqngAkm.cjs → PlayerTransactionHistory-CeKgYQHy.cjs} +1 -1
  100. package/components/{PlayerWithdrawal-CLiy-ohS.cjs → PlayerWithdrawal-2X5O2lvG.cjs} +1 -1
  101. package/components/{PlayerWithdrawal-C0_dg9OD.js → PlayerWithdrawal-B15_17Sr.js} +1 -1
  102. package/components/{PlayerWithdrawal-BD1XhA5i.js → PlayerWithdrawal-Bq6C4dVO.js} +1 -1
  103. package/es2015/player-account-controller.cjs +1 -1
  104. package/es2015/player-account-controller.js +1 -1
  105. package/esnext/player-account-controller.js +1 -1
  106. package/package.json +1 -1
  107. package/components/PlayerAccountController-DKq6RO5X.cjs +0 -21
  108. package/components/PlayerProfileInfo-lynpo_OL.cjs +0 -4
@@ -4614,7 +4614,10 @@ ce([Q], () => ta);
4614
4614
  ce([Q, me], () => na);
4615
4615
  window.emWidgets = { topic: pr };
4616
4616
  const ql = (t) => !!(t.toLowerCase().match(/android/i) || t.toLowerCase().match(/blackberry|bb/i) || t.toLowerCase().match(/iphone|ipad|ipod/i) || t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), as = (t) => t.toLowerCase().match(/android/i) ? "Android" : t.toLowerCase().match(/iphone/i) ? "iPhone" : t.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", sa = (t) => t.match(/CustomNative/i) ? "NativeApp" : as(t) === "PC" ? "Desktop" : "Mobile";
4617
- function Jl(t, e) {
4617
+ function Jl(t) {
4618
+ return !t || typeof t != "string" ? "User0000" : `User${t.replace(/\D/g, "").slice(-4).padStart(4, "0")}`;
4619
+ }
4620
+ function Ql(t, e) {
4618
4621
  const n = () => !0;
4619
4622
  switch (typeof t) {
4620
4623
  case "string": {
@@ -4826,7 +4829,7 @@ if (typeof window != "undefined") {
4826
4829
  }
4827
4830
  };
4828
4831
  };
4829
- customElements.define = t(customElements.define), import("./PlayerAccountMenu-DNcEo09K.js").then(({ default: e }) => {
4832
+ customElements.define = t(customElements.define), import("./PlayerAccountMenu-DkqJe-zS.js").then(({ default: e }) => {
4830
4833
  !customElements.get("player-account-menu") && customElements.define("player-account-menu", e.element);
4831
4834
  });
4832
4835
  }
@@ -4842,7 +4845,7 @@ if (typeof window != "undefined") {
4842
4845
  }
4843
4846
  };
4844
4847
  };
4845
- customElements.define = t(customElements.define), import("./PlayerAccountNotifications-B17BVCRD.js").then(({ default: e }) => {
4848
+ customElements.define = t(customElements.define), import("./PlayerAccountNotifications-qOoObhBf.js").then(({ default: e }) => {
4846
4849
  !customElements.get("player-account-notifications") && customElements.define("player-account-notifications", e.element);
4847
4850
  });
4848
4851
  }
@@ -4858,7 +4861,7 @@ if (typeof window != "undefined") {
4858
4861
  }
4859
4862
  };
4860
4863
  };
4861
- customElements.define = t(customElements.define), import("./PlayerAccountTimeout-D0RW52RF.js").then((e) => e.P).then(({ default: e }) => {
4864
+ customElements.define = t(customElements.define), import("./PlayerAccountTimeout-jrrwKtC2.js").then((e) => e.P).then(({ default: e }) => {
4862
4865
  !customElements.get("player-account-timeout") && customElements.define("player-account-timeout", e.element);
4863
4866
  });
4864
4867
  }
@@ -4874,7 +4877,7 @@ if (typeof window != "undefined") {
4874
4877
  }
4875
4878
  };
4876
4879
  };
4877
- customElements.define = t(customElements.define), import("./PlayerAccountSelfExclusion-xIyAHdnn.js").then((e) => e.P).then(({ default: e }) => {
4880
+ customElements.define = t(customElements.define), import("./PlayerAccountSelfExclusion-Cap8U2MD.js").then((e) => e.P).then(({ default: e }) => {
4878
4881
  !customElements.get("player-account-self-exclusion") && customElements.define("player-account-self-exclusion", e.element);
4879
4882
  });
4880
4883
  }
@@ -4890,7 +4893,7 @@ if (typeof window != "undefined") {
4890
4893
  }
4891
4894
  };
4892
4895
  };
4893
- customElements.define = t(customElements.define), import("./PlayerAccountClosure-Cl3x1fL0.js").then(({ default: e }) => {
4896
+ customElements.define = t(customElements.define), import("./PlayerAccountClosure-DB02_1Lm.js").then(({ default: e }) => {
4894
4897
  !customElements.get("player-account-closure") && customElements.define("player-account-closure", e.element);
4895
4898
  });
4896
4899
  }
@@ -4906,7 +4909,7 @@ if (typeof window != "undefined") {
4906
4909
  }
4907
4910
  };
4908
4911
  };
4909
- customElements.define = t(customElements.define), import("./PlayerAccountGamingLimits-k6RYNNnE.js").then(({ default: e }) => {
4912
+ customElements.define = t(customElements.define), import("./PlayerAccountGamingLimits-JAJsPzOc.js").then(({ default: e }) => {
4910
4913
  !customElements.get("player-account-gaming-limits") && customElements.define("player-account-gaming-limits", e.element);
4911
4914
  });
4912
4915
  }
@@ -4922,7 +4925,7 @@ if (typeof window != "undefined") {
4922
4925
  }
4923
4926
  };
4924
4927
  };
4925
- customElements.define = t(customElements.define), import("./PlayerActiveBonuses-pJGDjCj9.js").then(({ default: e }) => {
4928
+ customElements.define = t(customElements.define), import("./PlayerActiveBonuses-BCMOdhqV.js").then(({ default: e }) => {
4926
4929
  !customElements.get("player-active-bonuses") && customElements.define("player-active-bonuses", e.element);
4927
4930
  });
4928
4931
  }
@@ -4938,7 +4941,7 @@ if (typeof window != "undefined") {
4938
4941
  }
4939
4942
  };
4940
4943
  };
4941
- customElements.define = t(customElements.define), import("./PlayerProfileInfo-BHezZcjN.js").then(({ default: e }) => {
4944
+ customElements.define = t(customElements.define), import("./PlayerProfileInfo-BM7LbbrE.js").then(({ default: e }) => {
4942
4945
  !customElements.get("player-profile-info") && customElements.define("player-profile-info", e.element);
4943
4946
  });
4944
4947
  }
@@ -4954,7 +4957,7 @@ if (typeof window != "undefined") {
4954
4957
  }
4955
4958
  };
4956
4959
  };
4957
- customElements.define = t(customElements.define), import("./PlayerChangePassword-_SMq16X1.js").then(({ default: e }) => {
4960
+ customElements.define = t(customElements.define), import("./PlayerChangePassword-BHj66n4x.js").then(({ default: e }) => {
4958
4961
  !customElements.get("player-change-password") && customElements.define("player-change-password", e.element);
4959
4962
  });
4960
4963
  }
@@ -4970,7 +4973,7 @@ if (typeof window != "undefined") {
4970
4973
  }
4971
4974
  };
4972
4975
  };
4973
- customElements.define = t(customElements.define), import("./PlayerRealityCheck-Cy5rO9DI.js").then(({ default: e }) => {
4976
+ customElements.define = t(customElements.define), import("./PlayerRealityCheck-BBInE7LM.js").then(({ default: e }) => {
4974
4977
  !customElements.get("player-reality-check") && customElements.define("player-reality-check", e.element);
4975
4978
  });
4976
4979
  }
@@ -4986,7 +4989,7 @@ if (typeof window != "undefined") {
4986
4989
  }
4987
4990
  };
4988
4991
  };
4989
- customElements.define = t(customElements.define), import("./PlayerBonusHistory-CkarFQt0.js").then((e) => e.P).then(({ default: e }) => {
4992
+ customElements.define = t(customElements.define), import("./PlayerBonusHistory-7cMjucIY.js").then((e) => e.P).then(({ default: e }) => {
4990
4993
  !customElements.get("player-bonus-history") && customElements.define("player-bonus-history", e.element);
4991
4994
  });
4992
4995
  }
@@ -5002,7 +5005,7 @@ if (typeof window != "undefined") {
5002
5005
  }
5003
5006
  };
5004
5007
  };
5005
- customElements.define = t(customElements.define), import("./PlayerDeposit-sLxAAkrb.js").then(({ default: e }) => {
5008
+ customElements.define = t(customElements.define), import("./PlayerDeposit-D2_-jHd7.js").then(({ default: e }) => {
5006
5009
  !customElements.get("player-deposit") && customElements.define("player-deposit", e.element);
5007
5010
  });
5008
5011
  }
@@ -5018,7 +5021,7 @@ if (typeof window != "undefined") {
5018
5021
  }
5019
5022
  };
5020
5023
  };
5021
- customElements.define = t(customElements.define), import("./PlayerWithdrawal-C0_dg9OD.js").then(({ default: e }) => {
5024
+ customElements.define = t(customElements.define), import("./PlayerWithdrawal-B15_17Sr.js").then(({ default: e }) => {
5022
5025
  !customElements.get("player-withdrawal") && customElements.define("player-withdrawal", e.element);
5023
5026
  });
5024
5027
  }
@@ -5034,7 +5037,7 @@ if (typeof window != "undefined") {
5034
5037
  }
5035
5038
  };
5036
5039
  };
5037
- customElements.define = t(customElements.define), import("./PlayerPendingWithdrawals-bSDN7eqy.js").then(({ default: e }) => {
5040
+ customElements.define = t(customElements.define), import("./PlayerPendingWithdrawals-Bz82WymR.js").then(({ default: e }) => {
5038
5041
  !customElements.get("player-pending-withdrawals") && customElements.define("player-pending-withdrawals", e.element);
5039
5042
  });
5040
5043
  }
@@ -5050,7 +5053,7 @@ if (typeof window != "undefined") {
5050
5053
  }
5051
5054
  };
5052
5055
  };
5053
- customElements.define = t(customElements.define), import("./PlayerTransactionHistory-CruxvxRp.js").then(({ default: e }) => {
5056
+ customElements.define = t(customElements.define), import("./PlayerTransactionHistory-BVDHTzKc.js").then(({ default: e }) => {
5054
5057
  !customElements.get("player-transaction-history") && customElements.define("player-transaction-history", e.element);
5055
5058
  });
5056
5059
  }
@@ -5066,7 +5069,7 @@ if (typeof window != "undefined") {
5066
5069
  }
5067
5070
  };
5068
5071
  };
5069
- customElements.define = t(customElements.define), import("./PlayerGamingHistory-Bzb5pocD.js").then(({ default: e }) => {
5072
+ customElements.define = t(customElements.define), import("./PlayerGamingHistory-k_Eu6sYf.js").then(({ default: e }) => {
5070
5073
  !customElements.get("player-gaming-history") && customElements.define("player-gaming-history", e.element);
5071
5074
  });
5072
5075
  }
@@ -5082,7 +5085,7 @@ if (typeof window != "undefined") {
5082
5085
  }
5083
5086
  };
5084
5087
  };
5085
- customElements.define = t(customElements.define), import("./PlayerAccountBettingHistory-BhY_Ww_e.js").then(({ default: e }) => {
5088
+ customElements.define = t(customElements.define), import("./PlayerAccountBettingHistory-B4hiP1HU.js").then(({ default: e }) => {
5086
5089
  !customElements.get("player-account-betting-history") && customElements.define("player-account-betting-history", e.element);
5087
5090
  });
5088
5091
  }
@@ -5098,7 +5101,7 @@ if (typeof window != "undefined") {
5098
5101
  }
5099
5102
  };
5100
5103
  };
5101
- customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsWrapper2-LXe3wpOz.js").then(({ default: e }) => {
5104
+ customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsWrapper2-BWTXs07e.js").then(({ default: e }) => {
5102
5105
  !customElements.get("player-account-gaming-limits-wrapper-2") && customElements.define(
5103
5106
  "player-account-gaming-limits-wrapper-2",
5104
5107
  e.element
@@ -5117,7 +5120,7 @@ if (typeof window != "undefined") {
5117
5120
  }
5118
5121
  };
5119
5122
  };
5120
- customElements.define = t(customElements.define), import("./PlayerAccountBiometrics-D39leCsG.js").then(({ default: e }) => {
5123
+ customElements.define = t(customElements.define), import("./PlayerAccountBiometrics-Dz28h8mq.js").then(({ default: e }) => {
5121
5124
  !customElements.get("player-account-biometrics") && customElements.define("player-account-biometrics", e.element);
5122
5125
  });
5123
5126
  }
@@ -5133,7 +5136,7 @@ if (typeof window != "undefined") {
5133
5136
  }
5134
5137
  };
5135
5138
  };
5136
- customElements.define = t(customElements.define), import("./PlayerAccountTransactionsHistory-DKB8qW5n.js").then(({ default: e }) => {
5139
+ customElements.define = t(customElements.define), import("./PlayerAccountTransactionsHistory-BBNictt2.js").then(({ default: e }) => {
5137
5140
  !customElements.get("player-account-transactions-history") && customElements.define("player-account-transactions-history", e.element);
5138
5141
  });
5139
5142
  }
@@ -5149,7 +5152,7 @@ if (typeof window != "undefined") {
5149
5152
  }
5150
5153
  };
5151
5154
  };
5152
- customElements.define = t(customElements.define), import("./PlayerAccountProductRestriction-BGxedQ3X.js").then(({ default: e }) => {
5155
+ customElements.define = t(customElements.define), import("./PlayerAccountProductRestriction-ClLQNpO6.js").then(({ default: e }) => {
5153
5156
  !customElements.get("player-account-product-restriction") && customElements.define("player-account-product-restriction", e.element);
5154
5157
  });
5155
5158
  }
@@ -5165,7 +5168,7 @@ if (typeof window != "undefined") {
5165
5168
  }
5166
5169
  };
5167
5170
  };
5168
- customElements.define = t(customElements.define), import("./PlayerAccountReviewFrequency-Cq7qpg-I.js").then(({ default: e }) => {
5171
+ customElements.define = t(customElements.define), import("./PlayerAccountReviewFrequency-DYgVqGDC.js").then(({ default: e }) => {
5169
5172
  !customElements.get("player-account-review-frequency") && customElements.define("player-account-review-frequency", e.element);
5170
5173
  });
5171
5174
  }
@@ -13414,7 +13417,7 @@ class ls extends xs {
13414
13417
  }
13415
13418
  }
13416
13419
  $s(ls, { cmsendpoint: {}, env: {}, customnotifications: {}, playerid: {}, session: {}, endpoint: {}, lang: {}, operator: {}, supportemail: {}, termsconditionslink: {}, separatelimits: {}, hasdefaultamount: {}, userroles: {}, simplepasswordvalidation: {}, tablabels: {}, historyenabled: {}, deletelimit: {}, limitsamount: {}, limitsperiods: {}, numberofentries: {}, customcurrencysymbols: {}, currency: {}, apiversion: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, custominputtextswitch: {}, showlocationdetailsdescription: {}, disabledfields: {}, gmversion: {}, producttype: {}, successurl: {}, failurl: {}, cancelurl: {}, sportsurl: {}, casinourl: {}, contacturl: {}, homeurl: {}, baseurl: {}, hideproducts: {}, mergeproducts: {}, depositurl: {}, showcashierbonus: {}, biometricsenabled: {}, activepage: {}, bonushistorystatus: {}, bonushistorytype: {}, allowedextenssion: {}, filesizeallow: {}, passwordregex: {}, limitformat: {}, inputhasdecimals: {}, historytypes: {}, hidecolumns: {}, hidevalues: {}, pagesizeoptions: {}, defaultpagesize: {}, dateformat: {}, timeouthasconfirmation: {}, sendnotificationemail: {}, hascancelbutton: {}, cooloffhasconfirmation: {}, forgotmode: { type: "Boolean" }, token: {}, currencylocale: {}, hidevulnerabilitycheck: {}, showwelcomepanel: {}, enablestepupauth: {} }, [], [], !0);
13417
- const Ql = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13420
+ const Yl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13418
13421
  __proto__: null,
13419
13422
  default: ls
13420
13423
  }, Symbol.toStringTag, { value: "Module" }));
@@ -13436,27 +13439,28 @@ export {
13436
13439
  kl as N,
13437
13440
  Ce as O,
13438
13441
  Qe as P,
13439
- Rl as Q,
13440
- Bl as R,
13442
+ Jl as Q,
13443
+ Rl as R,
13441
13444
  xs as S,
13442
- Jl as T,
13443
- Vl as U,
13444
- Zs as V,
13445
- zl as W,
13446
- Fl as X,
13447
- Gl as Y,
13448
- Sl as Z,
13449
- Tl as _,
13445
+ Bl as T,
13446
+ Ql as U,
13447
+ Vl as V,
13448
+ Zs as W,
13449
+ zl as X,
13450
+ Fl as Y,
13451
+ Gl as Z,
13452
+ Sl as _,
13450
13453
  ns as a,
13451
- Cl as a0,
13452
- Pl as a1,
13453
- zs as a2,
13454
- Ts as a3,
13455
- Xl as a4,
13456
- Ll as a5,
13457
- Il as a6,
13458
- Al as a7,
13459
- Ql as a8,
13454
+ Tl as a0,
13455
+ Cl as a1,
13456
+ Pl as a2,
13457
+ zs as a3,
13458
+ Ts as a4,
13459
+ Xl as a5,
13460
+ Ll as a6,
13461
+ Il as a7,
13462
+ Al as a8,
13463
+ Yl as a9,
13460
13464
  Bs as b,
13461
13465
  _ as c,
13462
13466
  g as d,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-DKq6RO5X.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-DQT8NxCM.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-BCBdGBuo.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-C7Jrr5D_.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,4 +1,4 @@
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-D0b5nEtR.js";
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-DEx57eqL.js";
2
2
  function W(t, i) {
3
3
  Y(t, i);
4
4
  }
@@ -107,7 +107,7 @@ if (typeof window < "u") {
107
107
  }
108
108
  };
109
109
  };
110
- customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-C3kYu3Mz.js").then(({ default: i }) => {
110
+ customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-pNXy8v7J.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
@@ -1,4 +1,4 @@
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-CKaOyxPs.js";
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-Di0cYPDo.js";
2
2
  function W(t, i) {
3
3
  Y(t, i);
4
4
  }
@@ -107,7 +107,7 @@ if (typeof window != "undefined") {
107
107
  }
108
108
  };
109
109
  };
110
- customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-aPWTEP6v.js").then(({ default: i }) => {
110
+ customElements.define = t(customElements.define), import("./PlayerAccountGamingLimitsInfoCard-71L7km0W.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
@@ -1,11 +1,11 @@
1
- import { a as q, $ as H, S as V, i as Z, s as J, f as x, b as K, Z as Q, d as T, w as X, U as Y, V as $, _ as tt, a0 as it, a1 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-D0b5nEtR.js";
2
- function O(e, t) {
3
- q(e, t);
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-DEx57eqL.js";
2
+ function W(e, t) {
3
+ U(e, t);
4
4
  }
5
5
  function ut(e) {
6
6
  H.set(e);
7
7
  }
8
- const W = {
8
+ const O = {
9
9
  en: {
10
10
  cancel: "Cancel",
11
11
  confirm: "Confirm"
@@ -52,7 +52,7 @@ const W = {
52
52
  }
53
53
  };
54
54
  function ft(e) {
55
- K(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
+ 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}');
56
56
  }
57
57
  const Ct = (e) => ({}), P = (e) => ({});
58
58
  function pt(e) {
@@ -81,7 +81,7 @@ function bt(e) {
81
81
  const _ = (
82
82
  /*#slots*/
83
83
  e[14].close
84
- ), G = Q(
84
+ ), G = X(
85
85
  _,
86
86
  e,
87
87
  /*$$scope*/
@@ -154,10 +154,10 @@ function bt(e) {
154
154
  c || ($(u, o), c = !0);
155
155
  },
156
156
  o(o) {
157
- Y(u, o), c = !1;
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, X(A);
160
+ o && T(t), u && u.d(o), e[15](null), B = !1, Y(A);
161
161
  }
162
162
  };
163
163
  }
@@ -168,14 +168,14 @@ function ht(e, t, n) {
168
168
  const y = () => {
169
169
  fetch(w).then((M) => M.json()).then((M) => {
170
170
  Object.keys(M).forEach((D) => {
171
- O(D, M[D]);
171
+ W(D, M[D]);
172
172
  });
173
173
  }).catch((M) => {
174
174
  console.log(M);
175
175
  });
176
176
  };
177
- Object.keys(W).forEach((i) => {
178
- O(i, W[i]);
177
+ Object.keys(O).forEach((i) => {
178
+ W(i, O[i]);
179
179
  });
180
180
  let r, k, c = window.navigator.userAgent, B = ot(c) !== "PC", A = {}, _ = "";
181
181
  const G = () => {
@@ -204,7 +204,7 @@ function ht(e, t, n) {
204
204
  at(() => (window.addEventListener("message", j, !1), () => {
205
205
  window.removeEventListener("message", j);
206
206
  }));
207
- function U(i) {
207
+ function q(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
- U
237
+ q
238
238
  ];
239
239
  }
240
240
  class wt extends V {
241
241
  constructor(t) {
242
- super(), Z(
242
+ super(), J(
243
243
  this,
244
244
  t,
245
245
  ht,
246
246
  bt,
247
- J,
247
+ K,
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-DKq6RO5X.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-BCBdGBuo.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,11 +1,11 @@
1
- import { a as q, $ as H, S as V, i as Z, s as J, f as y, b as K, Z as Q, d as T, v as X, U as Y, V as $, _ as tt, a0 as it, a1 as et, t as F, c as I, m as l, w as z, e as L, p as E, u as S, r as a, g as nt, h as ot, o as at, j as rt, n as st, x as N, z as lt, A as mt, B as ct, C as dt, D as gt } from "./PlayerAccountController-CKaOyxPs.js";
2
- function O(e, t) {
1
+ import { a as q, $ as H, S as V, i as J, s as K, f as y, b as Q, _ as X, d as T, v as Y, V as Z, W as $, a0 as tt, a1 as it, a2 as et, t as F, c as I, m as l, w as z, e as L, p as E, u as S, r as a, g as nt, h as ot, o as at, j as rt, n as st, x as N, z as lt, A as mt, B as ct, C as dt, D as gt } from "./PlayerAccountController-Di0cYPDo.js";
2
+ function W(e, t) {
3
3
  q(e, t);
4
4
  }
5
5
  function ut(e) {
6
6
  H.set(e);
7
7
  }
8
- const W = {
8
+ const O = {
9
9
  en: {
10
10
  cancel: "Cancel",
11
11
  confirm: "Confirm"
@@ -52,7 +52,7 @@ const W = {
52
52
  }
53
53
  };
54
54
  function ft(e) {
55
- K(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
+ 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}');
56
56
  }
57
57
  const Ct = (e) => ({}), P = (e) => ({});
58
58
  function pt(e) {
@@ -81,7 +81,7 @@ function bt(e) {
81
81
  const _ = (
82
82
  /*#slots*/
83
83
  e[14].close
84
- ), G = Q(
84
+ ), G = X(
85
85
  _,
86
86
  e,
87
87
  /*$$scope*/
@@ -154,10 +154,10 @@ function bt(e) {
154
154
  c || ($(u, o), c = !0);
155
155
  },
156
156
  o(o) {
157
- Y(u, o), c = !1;
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, X(A);
160
+ o && T(t), u && u.d(o), e[15](null), B = !1, Y(A);
161
161
  }
162
162
  };
163
163
  }
@@ -168,14 +168,14 @@ function ht(e, t, n) {
168
168
  const x = () => {
169
169
  fetch(w).then((M) => M.json()).then((M) => {
170
170
  Object.keys(M).forEach((D) => {
171
- O(D, M[D]);
171
+ W(D, M[D]);
172
172
  });
173
173
  }).catch((M) => {
174
174
  console.log(M);
175
175
  });
176
176
  };
177
- Object.keys(W).forEach((i) => {
178
- O(i, W[i]);
177
+ Object.keys(O).forEach((i) => {
178
+ W(i, O[i]);
179
179
  });
180
180
  let r, k, c = window.navigator.userAgent, B = ot(c) !== "PC", A = {}, _ = "";
181
181
  const G = () => {
@@ -239,12 +239,12 @@ function ht(e, t, n) {
239
239
  }
240
240
  class wt extends V {
241
241
  constructor(t) {
242
- super(), Z(
242
+ super(), J(
243
243
  this,
244
244
  t,
245
245
  ht,
246
246
  bt,
247
- J,
247
+ K,
248
248
  {
249
249
  modaltext: 0,
250
250
  modalsource: 7,