@everymatrix/player-account-controller 1.54.4 → 1.54.8

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 (147) hide show
  1. package/components/{GeneralLogout-Ddt-oH9k.js → GeneralLogout-ChXyfO7j.js} +504 -512
  2. package/components/GeneralLogout-CoXr5Hra.js +4819 -0
  3. package/components/GeneralLogout-JiIri-az.cjs +8 -0
  4. package/components/PlayerAccountBettingHistory-C4SfQEr4.js +333 -0
  5. package/components/{PlayerAccountBettingHistory-C7xwYi03.js → PlayerAccountBettingHistory-CElNilNd.js} +24 -24
  6. package/components/PlayerAccountBettingHistory-CSI5k3hd.cjs +1 -0
  7. package/components/PlayerAccountBiometrics-BS3jkUXn.cjs +1 -0
  8. package/components/{PlayerAccountBiometrics-D7WS5cnI.js → PlayerAccountBiometrics-D9kYcZXR.js} +26 -26
  9. package/components/PlayerAccountBiometrics-orQ-qG9h.js +307 -0
  10. package/components/{PlayerAccountClosure-yRlo8hXR.js → PlayerAccountClosure-CHUq23nB.js} +13 -13
  11. package/components/PlayerAccountClosure-CWd3utu_.js +347 -0
  12. package/components/PlayerAccountClosure-DdfqiT7d.cjs +1 -0
  13. package/components/{PlayerAccountController-BZYAo3oo.js → PlayerAccountController-BclvS237.js} +126 -126
  14. package/components/PlayerAccountController-DEXL47fX.js +6671 -0
  15. package/components/PlayerAccountController-DX3vsM6e.cjs +1 -0
  16. package/components/PlayerAccountGamingLimits-CKnItii4.cjs +1 -0
  17. package/components/{PlayerAccountGamingLimits-CTBhVGgC.js → PlayerAccountGamingLimits-DXQNmZKD.js} +19 -19
  18. package/components/PlayerAccountGamingLimits-Db6qUAS-.js +766 -0
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js → PlayerAccountGamingLimitsConfirmationModal-i09zMH6w.js} +59 -59
  20. package/components/PlayerAccountGamingLimitsConfirmationModal-jZS53-sU.cjs +1 -0
  21. package/components/PlayerAccountGamingLimitsConfirmationModal-l4fu3WOl.js +310 -0
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js → PlayerAccountGamingLimitsGroupEdit-BIt0U7Ia.js} +51 -51
  23. package/components/PlayerAccountGamingLimitsGroupEdit-CsnzS7iF.js +4170 -0
  24. package/components/PlayerAccountGamingLimitsGroupEdit-DZlV6G_9.cjs +10 -0
  25. package/components/PlayerAccountGamingLimitsHistory2-CrW3EIzV.cjs +1 -0
  26. package/components/{PlayerAccountGamingLimitsHistory2-CXKA0L0d.js → PlayerAccountGamingLimitsHistory2-D04L-msb.js} +44 -44
  27. package/components/PlayerAccountGamingLimitsHistory2-DA5YY1gv.js +767 -0
  28. package/components/{PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js → PlayerAccountGamingLimitsInfoCard-B2YB4bdP.js} +95 -95
  29. package/components/PlayerAccountGamingLimitsInfoCard-B4t7J9Ea.js +1513 -0
  30. package/components/PlayerAccountGamingLimitsInfoCard-CaJYYEdy.cjs +1 -0
  31. package/components/PlayerAccountGamingLimitsPage2Gm16-B1GlGvDK.cjs +21 -0
  32. package/components/PlayerAccountGamingLimitsPage2Gm16-CbtwzTC5.js +3283 -0
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js → PlayerAccountGamingLimitsPage2Gm16-D8OKZxQt.js} +90 -90
  34. package/components/{PlayerAccountGamingLimitsPopup-CJu5RRl6.js → PlayerAccountGamingLimitsPopup-B7ZXSiK5.js} +17 -17
  35. package/components/PlayerAccountGamingLimitsPopup-C9KoZcRj.cjs +1 -0
  36. package/components/PlayerAccountGamingLimitsPopup-DxXAP_Yw.js +344 -0
  37. package/components/{PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js → PlayerAccountGamingLimitsWrapper2-BoFnZpPK.js} +8 -8
  38. package/components/PlayerAccountGamingLimitsWrapper2-Dll6Amu9.cjs +1 -0
  39. package/components/PlayerAccountGamingLimitsWrapper2-eSNYZCaw.js +866 -0
  40. package/components/PlayerAccountGeneralConfirmationModal-B-p3sJZ3.cjs +1 -0
  41. package/components/{PlayerAccountGeneralConfirmationModal-DG0N686t.js → PlayerAccountGeneralConfirmationModal-DLBQH_sl.js} +66 -66
  42. package/components/PlayerAccountGeneralConfirmationModal-DhTWcbuE.js +365 -0
  43. package/components/PlayerAccountMenu-BGRoL3Yz.js +579 -0
  44. package/components/{PlayerAccountMenu-CZBa8_5G.js → PlayerAccountMenu-BxjdHhZ_.js} +17 -17
  45. package/components/PlayerAccountMenu-Csb1tUf_.cjs +1 -0
  46. package/components/{PlayerAccountModal-BmKjtXKT.js → PlayerAccountModal-C4nIa5u0.js} +28 -28
  47. package/components/PlayerAccountModal-D29fr970.js +213 -0
  48. package/components/PlayerAccountModal-DabmJiP4.cjs +1 -0
  49. package/components/{PlayerAccountNotifications-B4Ht-hHj.js → PlayerAccountNotifications-4sGKSJWy.js} +16 -16
  50. package/components/PlayerAccountNotifications-C3rPIsKp.js +261 -0
  51. package/components/PlayerAccountNotifications-O92_s-dm.cjs +1 -0
  52. package/components/PlayerAccountSelfExclusion-BkBWGAy2.cjs +3557 -0
  53. package/components/PlayerAccountSelfExclusion-CpKuxBrZ.js +16678 -0
  54. package/components/{PlayerAccountSelfExclusion-DxGHXTb8.js → PlayerAccountSelfExclusion-U9dfheYH.js} +11029 -12570
  55. package/components/PlayerAccountTimeout-CucYpS_w.cjs +1 -0
  56. package/components/{PlayerAccountTimeout-DOSjICsY.js → PlayerAccountTimeout-DIRXKowJ.js} +25 -25
  57. package/components/PlayerAccountTimeout-c2osWNku.js +819 -0
  58. package/components/{PlayerActiveBonuses-DMAG7NUP.js → PlayerActiveBonuses-B2QAPJxC.js} +49 -49
  59. package/components/PlayerActiveBonuses-DDcAwy_n.js +1089 -0
  60. package/components/PlayerActiveBonuses-cecVnp46.cjs +1 -0
  61. package/components/{PlayerBonusCard-Dss1REmn.js → PlayerBonusCard-BQU7JBPr.js} +50 -50
  62. package/components/PlayerBonusCard-C9Xdv-lu.cjs +1 -0
  63. package/components/PlayerBonusCard-TYI-WkBy.js +701 -0
  64. package/components/PlayerBonusHistory-Boz8c3tb.js +919 -0
  65. package/components/PlayerBonusHistory-CMPf8GQz.cjs +1 -0
  66. package/components/PlayerBonusHistory-cNqY_wfD.js +920 -0
  67. package/components/{PlayerChangePassword-DnCj-wcc.js → PlayerChangePassword-BGxYGFs-.js} +103 -103
  68. package/components/PlayerChangePassword-Dl3Pgpul.js +1177 -0
  69. package/components/PlayerChangePassword-X_GfgxAV.cjs +3 -0
  70. package/components/{PlayerDeposit-CHIQ8EaC.js → PlayerDeposit-BzSW3HMj.js} +25 -25
  71. package/components/PlayerDeposit-CqpNLpaq.cjs +1 -0
  72. package/components/PlayerDeposit-kjy658sM.js +395 -0
  73. package/components/PlayerGamingHistory-B6KJDVn0.cjs +1 -0
  74. package/components/PlayerGamingHistory-BW5rigFC.js +986 -0
  75. package/components/PlayerGamingHistory-DIgLxCfL.js +973 -0
  76. package/components/PlayerPendingWithdrawals--W6Dfn3K.cjs +1 -0
  77. package/components/{PlayerPendingWithdrawals-BbTa7_8U.js → PlayerPendingWithdrawals-BzOmRYiC.js} +33 -33
  78. package/components/PlayerPendingWithdrawals-pV1C12y5.js +311 -0
  79. package/components/PlayerProfileInfo-BTgis7wR.cjs +1 -0
  80. package/components/{PlayerProfileInfo-CvAqD3Dk.js → PlayerProfileInfo-CTgSfW-l.js} +45 -45
  81. package/components/PlayerProfileInfo-DkVAYiPX.js +1753 -0
  82. package/components/PlayerRealityCheck-BcsDhvm0.cjs +1 -0
  83. package/components/{PlayerRealityCheck-3d-B64ie.js → PlayerRealityCheck-BdZDs3Tl.js} +26 -26
  84. package/components/PlayerRealityCheck-DT3kOky2.js +598 -0
  85. package/components/PlayerTransactionHistory-BL92RRLF.cjs +1 -0
  86. package/components/{PlayerTransactionHistory-BYJNabMB.js → PlayerTransactionHistory-BQIA4QRw.js} +23 -23
  87. package/components/PlayerTransactionHistory-Yhwt7kUa.js +315 -0
  88. package/components/{PlayerWithdrawal-DDWroufG.js → PlayerWithdrawal-Cgv9nZE8.js} +20 -20
  89. package/components/PlayerWithdrawal-KgqM9wo-.cjs +1 -0
  90. package/components/PlayerWithdrawal-uB46JhmK.js +369 -0
  91. package/es2015/player-account-controller.cjs +1 -0
  92. package/es2015/player-account-controller.js +16 -0
  93. package/esnext/player-account-controller.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/app-globals-0f993ce5-8artnnwr.cjs +1 -0
  96. package/stencil/checkbox-group-input_9-AKw0biZc.cjs +2045 -0
  97. package/stencil/checkbox-group-input_9-BewIfW-f.js +13203 -0
  98. package/stencil/checkbox-group-input_9-CbFpcwPG.js +13237 -0
  99. package/stencil/{general-input-DnFPstQP.js → general-input-BEcUF0Mm.js} +1 -1
  100. package/stencil/general-input-DI0pw0ot.cjs +1 -0
  101. package/stencil/general-input-DKyA-W8i.js +48 -0
  102. package/stencil/index-581287aa-CC7128Vz.js +654 -0
  103. package/stencil/index-581287aa-D5QW29QV.cjs +1 -0
  104. package/stencil/index-581287aa-D8NTWa_9.js +638 -0
  105. package/stencil/index-8b4525de-BFiXEsaX.cjs +1 -0
  106. package/stencil/index-8b4525de-C2xAv-3x.js +708 -0
  107. package/stencil/index-8b4525de-DeHXGvRF.js +692 -0
  108. package/stencil/index-a76d30c7-CFX9mSqu.cjs +1 -0
  109. package/stencil/index-a76d30c7-CQrAWNu0.js +658 -0
  110. package/stencil/index-a76d30c7-PfqrSVyu.js +631 -0
  111. package/stencil/index-c0196f50-3kAjMpUS.cjs +1 -0
  112. package/stencil/index-c0196f50-BjscP7kj.js +697 -0
  113. package/stencil/index-c0196f50-aE1zPmtS.js +724 -0
  114. package/stencil/locale-B5abSHU_.cjs +1 -0
  115. package/stencil/password-input_2-D97O8QAr.cjs +105 -0
  116. package/stencil/password-input_2-eDchPH-o.js +569 -0
  117. package/stencil/password-input_2-vTvSUJey.js +569 -0
  118. package/stencil/{player-change-password-gm2-DR3e2gh5.js → player-change-password-gm2-D4jpQFwb.js} +1 -1
  119. package/stencil/player-change-password-gm2-DSTqyOhE.js +25 -0
  120. package/stencil/player-change-password-gm2-Dw3D3ckz.cjs +1 -0
  121. package/stencil/{player-change-password-gm2-98dcb7bc-gLcZhl3S.js → player-change-password-gm2-e732ee8e-BjoYj-89.js} +1 -1
  122. package/stencil/player-change-password-gm2-e732ee8e-BqRUxIre.cjs +1 -0
  123. package/stencil/player-change-password-gm2-e732ee8e-Df6ljnLL.js +253 -0
  124. package/stencil/player-kyc-verification-B2FHAsrR.cjs +180 -0
  125. package/stencil/player-kyc-verification-CVqP43FY.js +865 -0
  126. package/stencil/{player-kyc-verification-BQZdJFEJ.js → player-kyc-verification-D6Au6XVN.js} +1 -1
  127. package/stencil/{toggle-checkbox-input-CCLW6-uK.js → toggle-checkbox-input-BckTBwKu.js} +1 -1
  128. package/stencil/toggle-checkbox-input-D8fVk4wA.js +46 -0
  129. package/stencil/toggle-checkbox-input-kw5Y1n3x.cjs +1 -0
  130. package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +1 -0
  131. package/stencil/user-deposit-withdrawal-BpAi0dc-.js +668 -0
  132. package/stencil/{user-deposit-withdrawal-CmF0LoNb.js → user-deposit-withdrawal-CrMPR6xn.js} +1 -1
  133. package/stencil/user-deposit-withdrawal-DrKFN7wp.cjs +59 -0
  134. package/stencil/{user-transaction-history-BgV-k2Cl.js → user-transaction-history-BgYG3IxS.js} +1 -1
  135. package/stencil/user-transaction-history-CBxwJE34.cjs +1 -0
  136. package/stencil/user-transaction-history-D8ebS-DZ.js +355 -0
  137. package/stencil/{active-mixin-59dfae2a-BphP4pp5.js → vaadin-button-mixin-d131076c-C559kyH3.js} +3523 -3021
  138. package/stencil/vaadin-button-mixin-d131076c-brSraXp5.js +10277 -0
  139. package/stencil/vaadin-button-mixin-d131076c-zI_s2YZ5.cjs +2385 -0
  140. package/components/PlayerBonusHistory-BxBiQwQf.js +0 -847
  141. package/components/PlayerGamingHistory-BtQ73TId.js +0 -922
  142. package/stencil/checkbox-group-input_9-CMFoK7_E.js +0 -15610
  143. package/stencil/index-062e829b-DAFsZs6D.js +0 -686
  144. package/stencil/index-33f005e1-fFxPaeNy.js +0 -632
  145. package/stencil/index-9b3245b3-rzHgwqlB.js +0 -625
  146. package/stencil/index-fc58390d-BSwfXuUs.js +0 -691
  147. package/stencil/password-input_2-Bb9Q6Fe0.js +0 -2359
@@ -1,5 +1,5 @@
1
- import { a as U, $ as q, S as J, i as K, f as M, c as Q, s as V, b as X, D as Y, e as x, d as E, t as z, g as a, k as W, l, m as S, E as Z, F as $, G as tt, n as D, H as it, I as et, p as H, r as nt, q as ot, u as at, v as rt, x as st, w as T, o as lt, y as mt } from "./GeneralLogout-Ddt-oH9k.js";
2
- function j(e, t) {
1
+ import { a as U, $ as q, S as J, i as K, s as Q, f as M, b as V, D as X, d as W, r as Y, E as Z, F as $, G as tt, H as it, I as et, c as E, g as H, h as l, l as z, j as x, k as S, m as j, o as a, p as nt, q as ot, u as at, n as rt, v as D, w as st, x as lt, y as mt } from "./GeneralLogout-ChXyfO7j.js";
2
+ function T(e, t) {
3
3
  U(e, t);
4
4
  }
5
5
  function ct(e) {
@@ -52,67 +52,67 @@ const N = {
52
52
  }
53
53
  };
54
54
  function dt(e) {
55
- X(e, "svelte-1pkvhrt", '*,*::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, 20px)}.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, 20px)}.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, 50px);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, 50px);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
+ V(e, "svelte-1pkvhrt", '*,*::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, 20px)}.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, 20px)}.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, 50px);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, 50px);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 gt = (e) => ({}), O = (e) => ({});
58
58
  function ut(e) {
59
59
  let t, n;
60
60
  return {
61
61
  c() {
62
- t = T("svg"), n = T("path"), a(n, "stroke-linecap", "round"), a(n, "stroke-linejoin", "round"), a(n, "stroke-width", "2"), a(n, "d", "M6 18L18 6M6 6l12 12"), a(t, "class", "w-6 h-6"), a(t, "fill", "none"), a(t, "stroke", "currentColor"), a(t, "viewBox", "0 0 24 24"), a(t, "xmlns", "http://www.w3.org/2000/svg");
62
+ t = D("svg"), n = D("path"), a(n, "stroke-linecap", "round"), a(n, "stroke-linejoin", "round"), a(n, "stroke-width", "2"), a(n, "d", "M6 18L18 6M6 6l12 12"), a(t, "class", "w-6 h-6"), a(t, "fill", "none"), a(t, "stroke", "currentColor"), a(t, "viewBox", "0 0 24 24"), a(t, "xmlns", "http://www.w3.org/2000/svg");
63
63
  },
64
64
  m(r, y) {
65
- W(r, t, y), l(t, n);
65
+ H(r, t, y), l(t, n);
66
66
  },
67
- p: lt,
67
+ p: rt,
68
68
  d(r) {
69
- r && H(t);
69
+ r && W(t);
70
70
  }
71
71
  };
72
72
  }
73
73
  function ft(e) {
74
- let t, n, r, y, h, b, d, c, g, u = (
74
+ let t, n, r, y, b, w, d, c, g, f = (
75
75
  /*$_*/
76
76
  e[2]("cancel") + ""
77
- ), C, A, s, L = (
77
+ ), h, A, s, L = (
78
78
  /*$_*/
79
79
  e[2]("confirm") + ""
80
80
  ), k, m, v, F;
81
81
  const B = (
82
82
  /*#slots*/
83
83
  e[13].close
84
- ), _ = Y(
84
+ ), _ = X(
85
85
  B,
86
86
  e,
87
87
  /*$$scope*/
88
88
  e[12],
89
89
  O
90
- ), w = _ || ut();
90
+ ), u = _ || ut();
91
91
  return {
92
92
  c() {
93
- t = x("div"), n = x("div"), r = x("span"), w.c(), y = E(), h = x("div"), b = z(
93
+ t = x("div"), n = x("div"), r = x("span"), u && u.c(), y = S(), b = x("div"), w = j(
94
94
  /*modaltext*/
95
95
  e[0]
96
- ), d = E(), c = x("div"), g = x("button"), C = z(u), A = E(), s = x("button"), k = z(L), a(r, "class", "ModalCloseBtn"), a(r, "role", "button"), a(h, "class", "GamingLimitsConfirmationContent"), a(g, "class", "GamingLimitsCancelButton"), a(s, "class", "GamingLimitsConfirmButton"), a(c, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
96
+ ), d = S(), c = x("div"), g = x("button"), h = j(f), A = S(), s = x("button"), k = j(L), a(r, "class", "ModalCloseBtn"), a(r, "role", "button"), a(b, "class", "GamingLimitsConfirmationContent"), a(g, "class", "GamingLimitsCancelButton"), a(s, "class", "GamingLimitsConfirmButton"), a(c, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
97
97
  (e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), a(n, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
98
98
  (e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), a(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
99
99
  (e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
100
100
  },
101
- m(o, f) {
102
- W(o, t, f), l(t, n), l(n, r), w.m(r, null), l(n, y), l(n, h), l(h, b), l(n, d), l(n, c), l(c, g), l(g, C), l(c, A), l(c, s), l(s, k), e[14](t), m = !0, v || (F = [
103
- S(
101
+ m(o, p) {
102
+ H(o, t, p), l(t, n), l(n, r), u && u.m(r, null), l(n, y), l(n, b), l(b, w), l(n, d), l(n, c), l(c, g), l(g, h), l(c, A), l(c, s), l(s, k), e[14](t), m = !0, v || (F = [
103
+ z(
104
104
  r,
105
105
  "click",
106
106
  /*close*/
107
107
  e[4]
108
108
  ),
109
- S(
109
+ z(
110
110
  g,
111
111
  "click",
112
112
  /*cancelChanges*/
113
113
  e[6]
114
114
  ),
115
- S(
115
+ z(
116
116
  s,
117
117
  "click",
118
118
  /*confirmChanges*/
@@ -120,64 +120,64 @@ function ft(e) {
120
120
  )
121
121
  ], v = !0);
122
122
  },
123
- p(o, [f]) {
124
- _ && _.p && (!m || f & /*$$scope*/
125
- 4096) && Z(
123
+ p(o, [p]) {
124
+ _ && _.p && (!m || p & /*$$scope*/
125
+ 4096) && tt(
126
126
  _,
127
127
  B,
128
128
  o,
129
129
  /*$$scope*/
130
130
  o[12],
131
- m ? tt(
131
+ m ? et(
132
132
  B,
133
133
  /*$$scope*/
134
134
  o[12],
135
- f,
135
+ p,
136
136
  gt
137
- ) : $(
137
+ ) : it(
138
138
  /*$$scope*/
139
139
  o[12]
140
140
  ),
141
141
  O
142
- ), (!m || f & /*modaltext*/
143
- 1) && D(
144
- b,
142
+ ), (!m || p & /*modaltext*/
143
+ 1) && E(
144
+ w,
145
145
  /*modaltext*/
146
146
  o[0]
147
- ), (!m || f & /*$_*/
148
- 4) && u !== (u = /*$_*/
149
- o[2]("cancel") + "") && D(C, u), (!m || f & /*$_*/
147
+ ), (!m || p & /*$_*/
148
+ 4) && f !== (f = /*$_*/
149
+ o[2]("cancel") + "") && E(h, f), (!m || p & /*$_*/
150
150
  4) && L !== (L = /*$_*/
151
- o[2]("confirm") + "") && D(k, L);
151
+ o[2]("confirm") + "") && E(k, L);
152
152
  },
153
153
  i(o) {
154
- m || (it(w, o), m = !0);
154
+ m || ($(u, o), m = !0);
155
155
  },
156
156
  o(o) {
157
- et(w, o), m = !1;
157
+ Z(u, o), m = !1;
158
158
  },
159
159
  d(o) {
160
- o && H(t), w.d(o), e[14](null), v = !1, nt(F);
160
+ o && W(t), u && u.d(o), e[14](null), v = !1, Y(F);
161
161
  }
162
162
  };
163
163
  }
164
164
  function pt(e, t, n) {
165
165
  let r;
166
- ot(e, mt, (i) => n(2, r = i));
167
- let { $$slots: y = {}, $$scope: h } = t, { modaltext: b = "Are you sure that you want to perform this action?" } = t, { modalsource: d = "" } = t, { lang: c = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: C = "" } = t;
166
+ nt(e, mt, (i) => n(2, r = i));
167
+ let { $$slots: y = {}, $$scope: b } = t, { modaltext: w = "Are you sure that you want to perform this action?" } = t, { modalsource: d = "" } = t, { lang: c = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: h = "" } = t;
168
168
  const A = () => {
169
- fetch(C).then((p) => p.json()).then((p) => {
170
- Object.keys(p).forEach((G) => {
171
- j(G, p[G]);
169
+ fetch(h).then((C) => C.json()).then((C) => {
170
+ Object.keys(C).forEach((G) => {
171
+ T(G, C[G]);
172
172
  });
173
- }).catch((p) => {
174
- console.log(p);
173
+ }).catch((C) => {
174
+ console.log(C);
175
175
  });
176
176
  };
177
177
  Object.keys(N).forEach((i) => {
178
- j(i, N[i]);
178
+ T(i, N[i]);
179
179
  });
180
- let s, L = window.navigator.userAgent, k = at(L) !== "PC", m = {}, v = "";
180
+ let s, L = window.navigator.userAgent, k = ot(L) !== "PC", m = {}, v = "";
181
181
  const F = () => {
182
182
  window.postMessage({ type: "ModalClosed" }, window.location.href);
183
183
  }, B = () => {
@@ -191,30 +191,30 @@ function pt(e, t, n) {
191
191
  ), window.postMessage({ type: "ModalClosed" }, window.location.href);
192
192
  }, _ = () => {
193
193
  d === "groupEdit" ? window.postMessage({ type: "CancelGamingLimitsChanges" }, window.location.href) : d === "infoCard" && window.postMessage({ type: "CancelGamingLimitsRemove" }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href);
194
- }, w = (i) => i === "Time Limit" ? "cumulativeSessionLimits" : i === "Deposit Limit" ? "depositLimits" : i === "Wagering Limit" ? "wageringLimit" : "lossLimit", o = (i) => {
194
+ }, u = (i) => i === "Time Limit" ? "cumulativeSessionLimits" : i === "Deposit Limit" ? "depositLimits" : i === "Wagering Limit" ? "wageringLimit" : "lossLimit", o = (i) => {
195
195
  if (i.data)
196
196
  switch (i.data.type) {
197
197
  case "DeleteLimitsItem":
198
- m = i.data.removeData, v = w(i.data.removeName);
198
+ m = i.data.removeData, v = u(i.data.removeName);
199
199
  break;
200
200
  }
201
- }, f = () => {
201
+ }, p = () => {
202
202
  ct(c);
203
203
  }, I = () => {
204
204
  let i = document.createElement("style");
205
205
  i.innerHTML = g, s.appendChild(i);
206
206
  }, P = () => {
207
- let i = new URL(u), p = document.createElement("style");
207
+ let i = new URL(f), C = document.createElement("style");
208
208
  fetch(i.href).then((G) => G.text()).then((G) => {
209
- p.innerHTML = G, setTimeout(
209
+ C.innerHTML = G, setTimeout(
210
210
  () => {
211
- s.appendChild(p);
211
+ s.appendChild(C);
212
212
  },
213
213
  1
214
214
  );
215
215
  });
216
216
  };
217
- rt(() => (window.addEventListener("message", o, !1), () => {
217
+ at(() => (window.addEventListener("message", o, !1), () => {
218
218
  window.removeEventListener("message", o);
219
219
  }));
220
220
  function R(i) {
@@ -223,15 +223,15 @@ function pt(e, t, n) {
223
223
  });
224
224
  }
225
225
  return e.$$set = (i) => {
226
- "modaltext" in i && n(0, b = i.modaltext), "modalsource" in i && n(7, d = i.modalsource), "lang" in i && n(8, c = i.lang), "clientstyling" in i && n(9, g = i.clientstyling), "clientstylingurl" in i && n(10, u = i.clientstylingurl), "translationurl" in i && n(11, C = i.translationurl), "$$scope" in i && n(12, h = i.$$scope);
226
+ "modaltext" in i && n(0, w = i.modaltext), "modalsource" in i && n(7, d = i.modalsource), "lang" in i && n(8, c = i.lang), "clientstyling" in i && n(9, g = i.clientstyling), "clientstylingurl" in i && n(10, f = i.clientstylingurl), "translationurl" in i && n(11, h = i.translationurl), "$$scope" in i && n(12, b = i.$$scope);
227
227
  }, e.$$.update = () => {
228
228
  e.$$.dirty & /*modaltext, modalsource, lang*/
229
- 385 && b && d && c && f(), e.$$.dirty & /*clientstyling, customStylingContainer*/
229
+ 385 && w && d && c && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
230
230
  514 && g && s && I(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
231
- 1026 && u && s && P(), e.$$.dirty & /*translationurl*/
232
- 2048 && C && A();
231
+ 1026 && f && s && P(), e.$$.dirty & /*translationurl*/
232
+ 2048 && h && A();
233
233
  }, [
234
- b,
234
+ w,
235
235
  s,
236
236
  r,
237
237
  k,
@@ -241,9 +241,9 @@ function pt(e, t, n) {
241
241
  d,
242
242
  c,
243
243
  g,
244
- u,
245
- C,
244
+ f,
246
245
  h,
246
+ b,
247
247
  y,
248
248
  R
249
249
  ];
@@ -255,7 +255,7 @@ class Ct extends J {
255
255
  t,
256
256
  pt,
257
257
  ft,
258
- V,
258
+ Q,
259
259
  {
260
260
  modaltext: 0,
261
261
  modalsource: 7,
@@ -304,7 +304,7 @@ class Ct extends J {
304
304
  this.$$set({ translationurl: t }), M();
305
305
  }
306
306
  }
307
- Q(Ct, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
307
+ lt(Ct, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
308
308
  export {
309
309
  Ct as default
310
310
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-JiIri-az.cjs");function B(n,e){t.addMessages(n,e)}function j(n){t.$locale.set(n)}const A={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 D(n){t.append_styles(n,"svelte-1pkvhrt",'*,*::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, 20px)}.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, 20px)}.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, 50px);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, 50px);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 N=n=>({}),F=n=>({});function O(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(r,w){t.insert(r,e,w),t.append(e,o)},p:t.noop,d(r){r&&t.detach(e)}}}function P(n){let e,o,r,w,h,b,c,m,d,u=n[2]("cancel")+"",C,M,l,x=n[2]("confirm")+"",_,s,y,k;const G=n[13].close,L=t.create_slot(G,n,n[12],F),g=L||O();return{c(){e=t.element("div"),o=t.element("div"),r=t.element("span"),g&&g.c(),w=t.space(),h=t.element("div"),b=t.text(n[0]),c=t.space(),m=t.element("div"),d=t.element("button"),C=t.text(u),M=t.space(),l=t.element("button"),_=t.text(x),t.attr(r,"class","ModalCloseBtn"),t.attr(r,"role","button"),t.attr(h,"class","GamingLimitsConfirmationContent"),t.attr(d,"class","GamingLimitsCancelButton"),t.attr(l,"class","GamingLimitsConfirmButton"),t.attr(m,"class","GamingLimitsConfirmationControlArea "+(n[3]?"GamingLimitsConfirmationControlAreaMobile":"")),t.attr(o,"class","GamingLimitsConfirmationContainer "+(n[3]?"GamingLimitsConfirmationContainerMobile":"")),t.attr(e,"class","GamingLimitsConfirmationWrapper "+(n[3]?"GamingLimitsConfirmationMobileWrapper":""))},m(a,f){t.insert(a,e,f),t.append(e,o),t.append(o,r),g&&g.m(r,null),t.append(o,w),t.append(o,h),t.append(h,b),t.append(o,c),t.append(o,m),t.append(m,d),t.append(d,C),t.append(m,M),t.append(m,l),t.append(l,_),n[14](e),s=!0,y||(k=[t.listen(r,"click",n[4]),t.listen(d,"click",n[6]),t.listen(l,"click",n[5])],y=!0)},p(a,[f]){L&&L.p&&(!s||f&4096)&&t.update_slot_base(L,G,a,a[12],s?t.get_slot_changes(G,a[12],f,N):t.get_all_dirty_from_scope(a[12]),F),(!s||f&1)&&t.set_data(b,a[0]),(!s||f&4)&&u!==(u=a[2]("cancel")+"")&&t.set_data(C,u),(!s||f&4)&&x!==(x=a[2]("confirm")+"")&&t.set_data(_,x)},i(a){s||(t.transition_in(g,a),s=!0)},o(a){t.transition_out(g,a),s=!1},d(a){a&&t.detach(e),g&&g.d(a),n[14](null),y=!1,t.run_all(k)}}}function W(n,e,o){let r;t.component_subscribe(n,t.$format,i=>o(2,r=i));let{$$slots:w={},$$scope:h}=e,{modaltext:b="Are you sure that you want to perform this action?"}=e,{modalsource:c=""}=e,{lang:m="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{translationurl:C=""}=e;const M=()=>{fetch(C).then(p=>p.json()).then(p=>{Object.keys(p).forEach(v=>{B(v,p[v])})}).catch(p=>{console.log(p)})};Object.keys(A).forEach(i=>{B(i,A[i])});let l,x=window.navigator.userAgent,_=t.getDevice(x)!=="PC",s={},y="";const k=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},G=()=>{c==="groupEdit"?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:s,name:y},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},L=()=>{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)},g=i=>i==="Time Limit"?"cumulativeSessionLimits":i==="Deposit Limit"?"depositLimits":i==="Wagering Limit"?"wageringLimit":"lossLimit",a=i=>{if(i.data)switch(i.data.type){case"DeleteLimitsItem":s=i.data.removeData,y=g(i.data.removeName);break}},f=()=>{j(m)},z=()=>{let i=document.createElement("style");i.innerHTML=d,l.appendChild(i)},S=()=>{let i=new URL(u),p=document.createElement("style");fetch(i.href).then(v=>v.text()).then(v=>{p.innerHTML=v,setTimeout(()=>{l.appendChild(p)},1)})};t.onMount(()=>(window.addEventListener("message",a,!1),()=>{window.removeEventListener("message",a)}));function T(i){t.binding_callbacks[i?"unshift":"push"](()=>{l=i,o(1,l)})}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,m=i.lang),"clientstyling"in i&&o(9,d=i.clientstyling),"clientstylingurl"in i&&o(10,u=i.clientstylingurl),"translationurl"in i&&o(11,C=i.translationurl),"$$scope"in i&&o(12,h=i.$$scope)},n.$$.update=()=>{n.$$.dirty&385&&b&&c&&m&&f(),n.$$.dirty&514&&d&&l&&z(),n.$$.dirty&1026&&u&&l&&S(),n.$$.dirty&2048&&C&&M()},[b,l,r,_,k,G,L,c,m,d,u,C,h,w,T]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,W,P,t.safe_not_equal,{modaltext:0,modalsource:7,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},D)}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 translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(E,{modaltext:{},modalsource:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},["close"],[],!0);exports.default=E;
@@ -0,0 +1,310 @@
1
+ import { a as U, $ as q, S as J, i as K, s as Q, f as M, b as V, D as X, d as W, r as Y, E as Z, F as $, G as tt, H as it, I as et, c as E, g as H, h as l, l as z, j as x, k as S, m as j, o as a, p as nt, q as ot, u as at, n as rt, v as D, w as st, x as lt, y as mt } from "./GeneralLogout-CoXr5Hra.js";
2
+ function T(e, t) {
3
+ U(e, t);
4
+ }
5
+ function ct(e) {
6
+ q.set(e);
7
+ }
8
+ const N = {
9
+ en: {
10
+ cancel: "Cancel",
11
+ confirm: "Confirm"
12
+ },
13
+ fr: {
14
+ cancel: "Annuler",
15
+ confirm: "Confirmer"
16
+ },
17
+ ro: {
18
+ cancel: "Anulează",
19
+ confirm: "Confirmă"
20
+ },
21
+ es: {
22
+ cancel: "Cancelar",
23
+ confirm: "Confirmar"
24
+ },
25
+ pt: {
26
+ cancel: "Cancelar",
27
+ confirm: "Confirmar"
28
+ },
29
+ "zh-hk": {
30
+ cancel: "取消",
31
+ confirm: "確認"
32
+ },
33
+ hr: {
34
+ cancel: "Otkaži",
35
+ confirm: "Potvrdi"
36
+ },
37
+ "pt-br": {
38
+ cancel: "Cancelar",
39
+ confirm: "confirme"
40
+ },
41
+ "es-mx": {
42
+ cancel: "Cancelar",
43
+ confirm: "Confirmar"
44
+ },
45
+ tr: {
46
+ cancel: "İptal etmek",
47
+ confirm: "Onaylamak"
48
+ },
49
+ "en-us": {
50
+ cancel: "Cancel",
51
+ confirm: "Confirm"
52
+ }
53
+ };
54
+ function dt(e) {
55
+ V(e, "svelte-1pkvhrt", '*,*::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, 20px)}.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, 20px)}.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, 50px);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, 50px);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
+ }
57
+ const gt = (e) => ({}), O = (e) => ({});
58
+ function ut(e) {
59
+ let t, n;
60
+ return {
61
+ c() {
62
+ t = D("svg"), n = D("path"), a(n, "stroke-linecap", "round"), a(n, "stroke-linejoin", "round"), a(n, "stroke-width", "2"), a(n, "d", "M6 18L18 6M6 6l12 12"), a(t, "class", "w-6 h-6"), a(t, "fill", "none"), a(t, "stroke", "currentColor"), a(t, "viewBox", "0 0 24 24"), a(t, "xmlns", "http://www.w3.org/2000/svg");
63
+ },
64
+ m(r, y) {
65
+ H(r, t, y), l(t, n);
66
+ },
67
+ p: rt,
68
+ d(r) {
69
+ r && W(t);
70
+ }
71
+ };
72
+ }
73
+ function ft(e) {
74
+ let t, n, r, y, b, w, d, c, g, f = (
75
+ /*$_*/
76
+ e[2]("cancel") + ""
77
+ ), h, A, s, L = (
78
+ /*$_*/
79
+ e[2]("confirm") + ""
80
+ ), k, m, v, F;
81
+ const B = (
82
+ /*#slots*/
83
+ e[13].close
84
+ ), _ = X(
85
+ B,
86
+ e,
87
+ /*$$scope*/
88
+ e[12],
89
+ O
90
+ ), u = _ || ut();
91
+ return {
92
+ c() {
93
+ t = x("div"), n = x("div"), r = x("span"), u && u.c(), y = S(), b = x("div"), w = j(
94
+ /*modaltext*/
95
+ e[0]
96
+ ), d = S(), c = x("div"), g = x("button"), h = j(f), A = S(), s = x("button"), k = j(L), a(r, "class", "ModalCloseBtn"), a(r, "role", "button"), a(b, "class", "GamingLimitsConfirmationContent"), a(g, "class", "GamingLimitsCancelButton"), a(s, "class", "GamingLimitsConfirmButton"), a(c, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
97
+ (e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), a(n, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
98
+ (e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), a(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
99
+ (e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
100
+ },
101
+ m(o, p) {
102
+ H(o, t, p), l(t, n), l(n, r), u && u.m(r, null), l(n, y), l(n, b), l(b, w), l(n, d), l(n, c), l(c, g), l(g, h), l(c, A), l(c, s), l(s, k), e[14](t), m = !0, v || (F = [
103
+ z(
104
+ r,
105
+ "click",
106
+ /*close*/
107
+ e[4]
108
+ ),
109
+ z(
110
+ g,
111
+ "click",
112
+ /*cancelChanges*/
113
+ e[6]
114
+ ),
115
+ z(
116
+ s,
117
+ "click",
118
+ /*confirmChanges*/
119
+ e[5]
120
+ )
121
+ ], v = !0);
122
+ },
123
+ p(o, [p]) {
124
+ _ && _.p && (!m || p & /*$$scope*/
125
+ 4096) && tt(
126
+ _,
127
+ B,
128
+ o,
129
+ /*$$scope*/
130
+ o[12],
131
+ m ? et(
132
+ B,
133
+ /*$$scope*/
134
+ o[12],
135
+ p,
136
+ gt
137
+ ) : it(
138
+ /*$$scope*/
139
+ o[12]
140
+ ),
141
+ O
142
+ ), (!m || p & /*modaltext*/
143
+ 1) && E(
144
+ w,
145
+ /*modaltext*/
146
+ o[0]
147
+ ), (!m || p & /*$_*/
148
+ 4) && f !== (f = /*$_*/
149
+ o[2]("cancel") + "") && E(h, f), (!m || p & /*$_*/
150
+ 4) && L !== (L = /*$_*/
151
+ o[2]("confirm") + "") && E(k, L);
152
+ },
153
+ i(o) {
154
+ m || ($(u, o), m = !0);
155
+ },
156
+ o(o) {
157
+ Z(u, o), m = !1;
158
+ },
159
+ d(o) {
160
+ o && W(t), u && u.d(o), e[14](null), v = !1, Y(F);
161
+ }
162
+ };
163
+ }
164
+ function pt(e, t, n) {
165
+ let r;
166
+ nt(e, mt, (i) => n(2, r = i));
167
+ let { $$slots: y = {}, $$scope: b } = t, { modaltext: w = "Are you sure that you want to perform this action?" } = t, { modalsource: d = "" } = t, { lang: c = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: h = "" } = t;
168
+ const A = () => {
169
+ fetch(h).then((C) => C.json()).then((C) => {
170
+ Object.keys(C).forEach((G) => {
171
+ T(G, C[G]);
172
+ });
173
+ }).catch((C) => {
174
+ console.log(C);
175
+ });
176
+ };
177
+ Object.keys(N).forEach((i) => {
178
+ T(i, N[i]);
179
+ });
180
+ let s, L = window.navigator.userAgent, k = ot(L) !== "PC", m = {}, v = "";
181
+ const F = () => {
182
+ window.postMessage({ type: "ModalClosed" }, window.location.href);
183
+ }, B = () => {
184
+ d === "groupEdit" ? window.postMessage({ type: "GamingLimitsConfirmChanges" }, window.location.href) : d === "infoCard" && window.postMessage(
185
+ {
186
+ type: "PlayerAccountGamingLimitDelete",
187
+ limit: m,
188
+ name: v
189
+ },
190
+ window.location.href
191
+ ), window.postMessage({ type: "ModalClosed" }, window.location.href);
192
+ }, _ = () => {
193
+ d === "groupEdit" ? window.postMessage({ type: "CancelGamingLimitsChanges" }, window.location.href) : d === "infoCard" && window.postMessage({ type: "CancelGamingLimitsRemove" }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href);
194
+ }, u = (i) => i === "Time Limit" ? "cumulativeSessionLimits" : i === "Deposit Limit" ? "depositLimits" : i === "Wagering Limit" ? "wageringLimit" : "lossLimit", o = (i) => {
195
+ if (i.data)
196
+ switch (i.data.type) {
197
+ case "DeleteLimitsItem":
198
+ m = i.data.removeData, v = u(i.data.removeName);
199
+ break;
200
+ }
201
+ }, p = () => {
202
+ ct(c);
203
+ }, I = () => {
204
+ let i = document.createElement("style");
205
+ i.innerHTML = g, s.appendChild(i);
206
+ }, P = () => {
207
+ let i = new URL(f), C = document.createElement("style");
208
+ fetch(i.href).then((G) => G.text()).then((G) => {
209
+ C.innerHTML = G, setTimeout(
210
+ () => {
211
+ s.appendChild(C);
212
+ },
213
+ 1
214
+ );
215
+ });
216
+ };
217
+ at(() => (window.addEventListener("message", o, !1), () => {
218
+ window.removeEventListener("message", o);
219
+ }));
220
+ function R(i) {
221
+ st[i ? "unshift" : "push"](() => {
222
+ s = i, n(1, s);
223
+ });
224
+ }
225
+ return e.$$set = (i) => {
226
+ "modaltext" in i && n(0, w = i.modaltext), "modalsource" in i && n(7, d = i.modalsource), "lang" in i && n(8, c = i.lang), "clientstyling" in i && n(9, g = i.clientstyling), "clientstylingurl" in i && n(10, f = i.clientstylingurl), "translationurl" in i && n(11, h = i.translationurl), "$$scope" in i && n(12, b = i.$$scope);
227
+ }, e.$$.update = () => {
228
+ e.$$.dirty & /*modaltext, modalsource, lang*/
229
+ 385 && w && d && c && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
230
+ 514 && g && s && I(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
231
+ 1026 && f && s && P(), e.$$.dirty & /*translationurl*/
232
+ 2048 && h && A();
233
+ }, [
234
+ w,
235
+ s,
236
+ r,
237
+ k,
238
+ F,
239
+ B,
240
+ _,
241
+ d,
242
+ c,
243
+ g,
244
+ f,
245
+ h,
246
+ b,
247
+ y,
248
+ R
249
+ ];
250
+ }
251
+ class Ct extends J {
252
+ constructor(t) {
253
+ super(), K(
254
+ this,
255
+ t,
256
+ pt,
257
+ ft,
258
+ Q,
259
+ {
260
+ modaltext: 0,
261
+ modalsource: 7,
262
+ lang: 8,
263
+ clientstyling: 9,
264
+ clientstylingurl: 10,
265
+ translationurl: 11
266
+ },
267
+ dt
268
+ );
269
+ }
270
+ get modaltext() {
271
+ return this.$$.ctx[0];
272
+ }
273
+ set modaltext(t) {
274
+ this.$$set({ modaltext: t }), M();
275
+ }
276
+ get modalsource() {
277
+ return this.$$.ctx[7];
278
+ }
279
+ set modalsource(t) {
280
+ this.$$set({ modalsource: t }), M();
281
+ }
282
+ get lang() {
283
+ return this.$$.ctx[8];
284
+ }
285
+ set lang(t) {
286
+ this.$$set({ lang: t }), M();
287
+ }
288
+ get clientstyling() {
289
+ return this.$$.ctx[9];
290
+ }
291
+ set clientstyling(t) {
292
+ this.$$set({ clientstyling: t }), M();
293
+ }
294
+ get clientstylingurl() {
295
+ return this.$$.ctx[10];
296
+ }
297
+ set clientstylingurl(t) {
298
+ this.$$set({ clientstylingurl: t }), M();
299
+ }
300
+ get translationurl() {
301
+ return this.$$.ctx[11];
302
+ }
303
+ set translationurl(t) {
304
+ this.$$set({ translationurl: t }), M();
305
+ }
306
+ }
307
+ lt(Ct, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
308
+ export {
309
+ Ct as default
310
+ };