@everymatrix/player-account-controller-nd 1.55.0 → 1.56.0

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 (191) hide show
  1. package/components/GeneralLogout-9pZTJKCj.cjs +8 -0
  2. package/components/{GeneralLogout-Ve_dOAMA.js → GeneralLogout-CqNn1bEG.js} +1081 -1088
  3. package/components/{GeneralLogout-BZhvD1EQ.js → GeneralLogout-qtT2UsMu.js} +1076 -1083
  4. package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +1 -0
  5. package/components/PlayerAccountBettingHistory-CgKp1Tsa.js +329 -0
  6. package/components/{PlayerAccountBettingHistory-C9n4Lfo3.js → PlayerAccountBettingHistory-DGdU5x1X.js} +130 -134
  7. package/components/{PlayerAccountBiometrics-BrlNlZ5N.cjs → PlayerAccountBiometrics-8CaZALdD.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-BupiQCMJ.js → PlayerAccountBiometrics-BynUcDER.js} +125 -126
  9. package/components/{PlayerAccountBiometrics-fQlNKCoA.js → PlayerAccountBiometrics-hfEg8HK3.js} +125 -126
  10. package/components/{PlayerAccountClosureNd-CEad1veU.js → PlayerAccountClosureNd-BNAxe4kI.js} +127 -128
  11. package/components/{PlayerAccountClosureNd-DcMOj468.cjs → PlayerAccountClosureNd-BzygnnRL.cjs} +1 -1
  12. package/components/{PlayerAccountClosureNd-DAFiYifr.js → PlayerAccountClosureNd-C56v4kQH.js} +127 -128
  13. package/components/{PlayerAccountControllerNd-5BH6GjlH.js → PlayerAccountControllerNd-0Azz2muh.js} +1575 -1049
  14. package/components/{PlayerAccountControllerNd-BmAwgSdK.js → PlayerAccountControllerNd-CU0CZtN2.js} +1509 -983
  15. package/components/PlayerAccountControllerNd-DiMI0zck.cjs +1 -0
  16. package/components/{PlayerAccountGamingLimits-9Stjo0gs.js → PlayerAccountGamingLimits-BUBbpeFt.js} +301 -250
  17. package/components/PlayerAccountGamingLimits-DoYSa5g4.cjs +1 -0
  18. package/components/{PlayerAccountGamingLimits-DI0RPgPB.js → PlayerAccountGamingLimits-cGyCwFe3.js} +301 -250
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-BzAWyxny.js → PlayerAccountGamingLimitsConfirmationModal-BzxaZ7Sb.js} +127 -131
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-DKpr25Aj.js → PlayerAccountGamingLimitsConfirmationModal-CPRvI7h-.js} +127 -131
  21. package/components/PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs +1 -0
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-Dj2jUWb2.js → PlayerAccountGamingLimitsGroupEdit-BJQil0oW.js} +1073 -1077
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs → PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs} +4 -4
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-CBViR9JR.js → PlayerAccountGamingLimitsGroupEdit-uRCXqfhe.js} +1073 -1077
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-BQRXsnS9.js → PlayerAccountGamingLimitsHistory2Nd-B9FC3C6m.js} +208 -216
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-2hdjxCBn.cjs → PlayerAccountGamingLimitsHistory2Nd-Daq9D9so.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-BQy_79YQ.js → PlayerAccountGamingLimitsHistory2Nd-wYR_HP23.js} +213 -221
  28. package/components/{PlayerAccountGamingLimitsInfoCard-StfGgmLs.js → PlayerAccountGamingLimitsInfoCard-DgmJAMo8.js} +639 -588
  29. package/components/{PlayerAccountGamingLimitsInfoCard-CDFRfVT4.js → PlayerAccountGamingLimitsInfoCard-DvaVcUFe.js} +639 -588
  30. package/components/PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs +1 -0
  31. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-BDBtHDGH.cjs +21 -0
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B672X-1A.js → PlayerAccountGamingLimitsPage2Gm16Nd-BQeFK7FJ.js} +1043 -1019
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dz-xK27Q.js → PlayerAccountGamingLimitsPage2Gm16Nd-DJhG-lLb.js} +845 -821
  34. package/components/{PlayerAccountGamingLimitsPopup-DoLZB2lj.js → PlayerAccountGamingLimitsPopup-BgdXe6lp.js} +116 -120
  35. package/components/{PlayerAccountGamingLimitsPopup-f9QP34fL.js → PlayerAccountGamingLimitsPopup-BhqEVpIP.js} +116 -120
  36. package/components/{PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs → PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs} +1 -1
  37. package/components/PlayerAccountGamingLimitsWrapper2Nd-DnBhGv4Z.cjs +1 -0
  38. package/components/PlayerAccountGamingLimitsWrapper2Nd-HNcfKvd3.js +1016 -0
  39. package/components/PlayerAccountGamingLimitsWrapper2Nd-bkcZAm71.js +1022 -0
  40. package/components/{PlayerAccountGeneralConfirmationModal-BlglDNwU.js → PlayerAccountGeneralConfirmationModal-BUSAMIdf.js} +141 -142
  41. package/components/{PlayerAccountGeneralConfirmationModal-rpOFir4P.js → PlayerAccountGeneralConfirmationModal-BXQQtxIE.js} +141 -142
  42. package/components/PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs +1 -0
  43. package/components/PlayerAccountMenuNd-BGd35WSX.js +695 -0
  44. package/components/PlayerAccountMenuNd-BWzYxwjF.cjs +1 -0
  45. package/components/PlayerAccountMenuNd-Dw-owOIv.js +694 -0
  46. package/components/PlayerAccountModal-C7aE-f75.js +209 -0
  47. package/components/PlayerAccountModal-CLW-XTid.cjs +1 -0
  48. package/components/PlayerAccountModal-DcQTZlVT.js +209 -0
  49. package/components/PlayerAccountNotifications-0ecn9JH_.js +369 -0
  50. package/components/PlayerAccountNotifications-CmSue8JR.cjs +1 -0
  51. package/components/PlayerAccountNotifications-lv1He1RO.js +368 -0
  52. package/components/{PlayerAccountSelfExclusionNd-D2JmyzgE.js → PlayerAccountSelfExclusionNd-CsBAGhjI.js} +10893 -11100
  53. package/components/{PlayerAccountSelfExclusionNd-CM37K9pN.js → PlayerAccountSelfExclusionNd-DRQwA-0O.js} +10812 -11065
  54. package/components/PlayerAccountSelfExclusionNd-TZyj4_3a.cjs +3557 -0
  55. package/components/PlayerAccountTimeout-BDvJp_Zk.cjs +1 -0
  56. package/components/{PlayerAccountTimeout-B0zaqo1v.js → PlayerAccountTimeout-C0WAFaPW.js} +498 -367
  57. package/components/{PlayerAccountTimeout-BO3G2t3W.js → PlayerAccountTimeout-CixN4uD5.js} +498 -367
  58. package/components/PlayerActiveBonuses-BAx9d0pm.js +1055 -0
  59. package/components/PlayerActiveBonuses-CbJliQvN.js +1056 -0
  60. package/components/PlayerActiveBonuses-DTgD47j8.cjs +1 -0
  61. package/components/{PlayerBonusCard-BC8FfHZz.cjs → PlayerBonusCard-5gtng8cd.cjs} +1 -1
  62. package/components/{PlayerBonusCard-9LZmOSI1.js → PlayerBonusCard-BiVG3k7R.js} +166 -168
  63. package/components/{PlayerBonusCard-BvrlU7Ao.js → PlayerBonusCard-DnyVL-Cb.js} +166 -168
  64. package/components/PlayerBonusHistory-CaiqLQk_.js +938 -0
  65. package/components/PlayerBonusHistory-DA8a2ZnE.js +937 -0
  66. package/components/PlayerBonusHistory-rLGeO078.cjs +1 -0
  67. package/components/{PlayerChangePassword-CzR4Xz0H.cjs → PlayerChangePassword-BsM1lBfW.cjs} +2 -2
  68. package/components/{PlayerChangePassword-BsQyz4Qc.js → PlayerChangePassword-DsR4BO-Y.js} +383 -387
  69. package/components/{PlayerChangePassword-BcoctDrY.js → PlayerChangePassword-dEL-0H2u.js} +383 -387
  70. package/components/PlayerDeposit-0eaqfWH1.cjs +1 -0
  71. package/components/PlayerDeposit-D_Ujmr4j.js +391 -0
  72. package/components/PlayerDeposit-IS6_f845.js +391 -0
  73. package/components/PlayerGamingHistory-BRstQCWo.cjs +1 -0
  74. package/components/{PlayerGamingHistory-B1Q3Qiuk.js → PlayerGamingHistory-BYRzcRjb.js} +348 -352
  75. package/components/{PlayerGamingHistory-DUCP4vWS.js → PlayerGamingHistory-GGgBAhXX.js} +373 -377
  76. package/components/PlayerPendingWithdrawals-CaoLTPFk.js +310 -0
  77. package/components/PlayerPendingWithdrawals-M9Wq9w2M.js +310 -0
  78. package/components/PlayerPendingWithdrawals-qMs8We3P.cjs +1 -0
  79. package/components/PlayerProfileInfo-B4pkapUi.js +1821 -0
  80. package/components/PlayerProfileInfo-Cr6m7e2V.js +1804 -0
  81. package/components/PlayerProfileInfo-Mqg0xIQD.cjs +1 -0
  82. package/components/PlayerRealityCheck-B9LHSWRj.js +652 -0
  83. package/components/PlayerRealityCheck-CMKhVVBJ.js +668 -0
  84. package/components/PlayerRealityCheck-DoXLoM9G.cjs +1 -0
  85. package/components/PlayerTransactionHistory-BaALuJRH.js +314 -0
  86. package/components/PlayerTransactionHistory-BqEXyDt-.cjs +1 -0
  87. package/components/PlayerTransactionHistory-CYob92HC.js +314 -0
  88. package/components/PlayerWithdrawal-1i-tYxaO.cjs +1 -0
  89. package/components/{PlayerWithdrawal-jGmMHcUX.js → PlayerWithdrawal-CNDRfeXy.js} +137 -141
  90. package/components/{PlayerWithdrawal-wi9yuRxw.js → PlayerWithdrawal-U9E0FEDt.js} +137 -141
  91. package/es2015/player-account-controller-nd.cjs +1 -1
  92. package/es2015/player-account-controller-nd.js +1 -1
  93. package/esnext/player-account-controller-nd.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  96. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
  97. package/stencil/{checkbox-group-input_9-DZvX2H_r.js → checkbox-group-input_9-B_RfUM6E.js} +3279 -2404
  98. package/stencil/checkbox-group-input_9-C2IUNSpC.cjs +2045 -0
  99. package/stencil/{checkbox-group-input_9-Cny9rOs9.js → checkbox-group-input_9-C98yT4vw.js} +3348 -2459
  100. package/stencil/{general-input-Yj_LRx0v.js → general-input-CqTf7ErJ.js} +6 -6
  101. package/stencil/{general-input-d5RULL12.js → general-input-DTHw5Z1Q.js} +6 -6
  102. package/stencil/general-input-wM2i7b57.cjs +1 -0
  103. package/stencil/index-92b64862-BRYoLHww.cjs +1 -0
  104. package/stencil/index-92b64862-C_69cKxK.js +708 -0
  105. package/stencil/index-92b64862-w9a1l35N.js +692 -0
  106. package/stencil/index-db5752f9-DlyF6uv8.js +594 -0
  107. package/stencil/index-db5752f9-DrdunCay.js +610 -0
  108. package/stencil/index-db5752f9-dFKrDpwt.cjs +1 -0
  109. package/stencil/password-input_2-B2qvf6ku.cjs +105 -0
  110. package/stencil/password-input_2-CdHS5fmR.js +569 -0
  111. package/stencil/password-input_2-DdQvCp3o.js +569 -0
  112. package/stencil/{player-change-password-gm2-780eb445-Cg8Z75Vz.js → player-change-password-gm2-38dff08c-BNhjxr22.js} +85 -66
  113. package/stencil/{player-change-password-gm2-780eb445-DEjz9Jjk.js → player-change-password-gm2-38dff08c-CPRdwVFF.js} +85 -66
  114. package/stencil/player-change-password-gm2-38dff08c-DnYXSeKg.cjs +1 -0
  115. package/stencil/player-change-password-gm2-Cxdum0Hh.js +25 -0
  116. package/stencil/player-change-password-gm2-DJqZO25d.cjs +1 -0
  117. package/stencil/player-change-password-gm2-DWoAaJ2f.js +7 -0
  118. package/stencil/{toggle-checkbox-input-ErX2Ngat.js → toggle-checkbox-input-B4OOk9wz.js} +7 -7
  119. package/stencil/{toggle-checkbox-input-Co64_7cm.js → toggle-checkbox-input-Cwo_Ny77.js} +7 -7
  120. package/stencil/toggle-checkbox-input-tQDhlcag.cjs +1 -0
  121. package/stencil/ui-skeleton-982450d2-BKnKTh4c.js +122 -0
  122. package/stencil/ui-skeleton-982450d2-DDIv0--Q.cjs +1 -0
  123. package/stencil/ui-skeleton-982450d2-DQzKNKe8.js +122 -0
  124. package/stencil/ui-skeleton-BL5JJXyn.js +11 -0
  125. package/stencil/ui-skeleton-CGldUjn2.js +29 -0
  126. package/stencil/ui-skeleton-ITys8nIA.cjs +1 -0
  127. package/stencil/{vaadin-button-6001b2a6-Dqz5Vp8D.js → vaadin-button-mixin-ef61174c-B_vhSFKU.js} +8177 -8813
  128. package/stencil/vaadin-button-mixin-ef61174c-DuDVejN4.cjs +2385 -0
  129. package/stencil/{vaadin-button-6001b2a6-CZwj1qjO.js → vaadin-button-mixin-ef61174c-EQiVsI4x.js} +6270 -6860
  130. package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
  131. package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
  132. package/components/PlayerAccountBettingHistory-QT3-2u7E.js +0 -333
  133. package/components/PlayerAccountControllerNd-CO0ce0zs.cjs +0 -1
  134. package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
  135. package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
  136. package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
  137. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DSThp4HX.cjs +0 -21
  138. package/components/PlayerAccountGamingLimitsWrapper2Nd-Bz6Zp5tp.js +0 -865
  139. package/components/PlayerAccountGamingLimitsWrapper2Nd-Cq5vxtjw.js +0 -871
  140. package/components/PlayerAccountGamingLimitsWrapper2Nd-KUpEDIP8.cjs +0 -1
  141. package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
  142. package/components/PlayerAccountMenuNd-BWUhUlIY.js +0 -590
  143. package/components/PlayerAccountMenuNd-BmPerb2f.cjs +0 -1
  144. package/components/PlayerAccountMenuNd-CxMlvYwa.js +0 -589
  145. package/components/PlayerAccountModal-BK81ZotM.js +0 -213
  146. package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
  147. package/components/PlayerAccountModal-CzVRNZzB.js +0 -213
  148. package/components/PlayerAccountNotifications-BBwUcB1T.js +0 -261
  149. package/components/PlayerAccountNotifications-CB47Zxq9.js +0 -261
  150. package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
  151. package/components/PlayerAccountSelfExclusionNd-DCsOgBZR.cjs +0 -4171
  152. package/components/PlayerAccountTimeout-Dg5Mlz5K.cjs +0 -1
  153. package/components/PlayerActiveBonuses-B9jz3QD8.cjs +0 -1
  154. package/components/PlayerActiveBonuses-CfZ8tegY.js +0 -1037
  155. package/components/PlayerActiveBonuses-DkKDWhBN.js +0 -1038
  156. package/components/PlayerBonusHistory-Bsy2Grk6.js +0 -919
  157. package/components/PlayerBonusHistory-CuSbmVev.cjs +0 -1
  158. package/components/PlayerBonusHistory-nN8l2tOZ.js +0 -920
  159. package/components/PlayerDeposit-BIBRCGiC.js +0 -414
  160. package/components/PlayerDeposit-B_7saxic.js +0 -414
  161. package/components/PlayerDeposit-D_78W5GC.cjs +0 -1
  162. package/components/PlayerGamingHistory-CNPhCSFS.cjs +0 -1
  163. package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
  164. package/components/PlayerPendingWithdrawals-C8jyjgZ0.js +0 -311
  165. package/components/PlayerPendingWithdrawals-wMhZTLpq.js +0 -311
  166. package/components/PlayerProfileInfo-CGsJydqv.cjs +0 -1
  167. package/components/PlayerProfileInfo-EkbwdTEh.js +0 -1757
  168. package/components/PlayerProfileInfo-SeOQq0CG.js +0 -1740
  169. package/components/PlayerRealityCheck--iYjw4rP.js +0 -598
  170. package/components/PlayerRealityCheck-BGGIPihT.js +0 -582
  171. package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
  172. package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
  173. package/components/PlayerTransactionHistory-CvBbrQn6.js +0 -315
  174. package/components/PlayerTransactionHistory-DIfTIxF3.js +0 -315
  175. package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
  176. package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
  177. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  178. package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +0 -2104
  179. package/stencil/general-input-igTYIJ6W.cjs +0 -1
  180. package/stencil/index-72d2f0c7--qtpsDOz.js +0 -642
  181. package/stencil/index-72d2f0c7-DldCMjBJ.cjs +0 -1
  182. package/stencil/index-72d2f0c7-DyMEJXra.js +0 -626
  183. package/stencil/password-input_2-CHOu4hgw.js +0 -1420
  184. package/stencil/password-input_2-DQAgV1SZ.cjs +0 -896
  185. package/stencil/password-input_2-DaiHlKbQ.js +0 -1420
  186. package/stencil/player-change-password-gm2-780eb445-CdItmoKI.cjs +0 -1
  187. package/stencil/player-change-password-gm2-ClBiis4q.js +0 -25
  188. package/stencil/player-change-password-gm2-Dt0gP_G_.cjs +0 -1
  189. package/stencil/player-change-password-gm2-cKh7RACV.js +0 -7
  190. package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +0 -1
  191. package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +0 -3018
@@ -1,11 +1,11 @@
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-BZhvD1EQ.js";
2
- function j(e, t) {
3
- U(e, t);
1
+ import { a as q, $ as H, S as U, i as J, s as K, f as y, b as Q, G as V, d as I, r as X, H as Y, I as Z, J as $, K as tt, L as it, c as F, g as P, h as l, l as z, j as L, k as E, m as S, o as a, p as et, q as nt, u as ot, n as at, v as D, w as rt, x as st, y as lt, z as mt, A as ct, B as dt } from "./GeneralLogout-CqNn1bEG.js";
2
+ function N(e, t) {
3
+ q(e, t);
4
4
  }
5
- function ct(e) {
6
- q.set(e);
5
+ function gt(e) {
6
+ H.set(e);
7
7
  }
8
- const N = {
8
+ const O = {
9
9
  en: {
10
10
  cancel: "Cancel",
11
11
  confirm: "Confirm"
@@ -51,260 +51,256 @@ const N = {
51
51
  confirm: "Confirm"
52
52
  }
53
53
  };
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}');
56
- }
57
- const gt = (e) => ({}), O = (e) => ({});
58
54
  function ut(e) {
55
+ Q(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 ft = (e) => ({}), W = (e) => ({});
58
+ function Ct(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
- m(r, y) {
65
- W(r, t, y), l(t, n);
64
+ m(s, v) {
65
+ P(s, t, v), l(t, n);
66
66
  },
67
- p: lt,
68
- d(r) {
69
- r && H(t);
67
+ p: at,
68
+ d(s) {
69
+ s && I(t);
70
70
  }
71
71
  };
72
72
  }
73
- function ft(e) {
74
- let t, n, r, y, b, w, d, c, g, f = (
73
+ function pt(e) {
74
+ let t, n, s, v, b, h, d, m, g, C = (
75
75
  /*$_*/
76
76
  e[2]("cancel") + ""
77
- ), h, A, s, L = (
77
+ ), p, w, x, r = (
78
78
  /*$_*/
79
79
  e[2]("confirm") + ""
80
- ), k, m, v, F;
81
- const B = (
80
+ ), k, c, _, B;
81
+ const A = (
82
82
  /*#slots*/
83
- e[13].close
84
- ), _ = Y(
85
- B,
83
+ e[14].close
84
+ ), G = V(
85
+ A,
86
86
  e,
87
87
  /*$$scope*/
88
- e[12],
89
- O
90
- ), u = _ || ut();
88
+ e[13],
89
+ W
90
+ ), u = G || Ct();
91
91
  return {
92
92
  c() {
93
- t = x("div"), n = x("div"), r = x("span"), u && u.c(), y = E(), b = x("div"), w = z(
93
+ t = L("div"), n = L("div"), s = L("span"), u && u.c(), v = E(), b = L("div"), h = S(
94
94
  /*modaltext*/
95
95
  e[0]
96
- ), d = E(), c = x("div"), g = x("button"), h = z(f), A = E(), s = x("button"), k = z(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*/
96
+ ), d = E(), m = L("div"), g = L("button"), p = S(C), w = E(), x = L("button"), k = S(r), a(s, "class", "ModalCloseBtn"), a(s, "role", "button"), a(b, "class", "GamingLimitsConfirmationContent"), a(g, "class", "GamingLimitsCancelButton"), a(x, "class", "GamingLimitsConfirmButton"), a(m, "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, p) {
102
- W(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
- S(
104
- r,
101
+ m(o, f) {
102
+ P(o, t, f), l(t, n), l(n, s), u && u.m(s, null), l(n, v), l(n, b), l(b, h), l(n, d), l(n, m), l(m, g), l(g, p), l(m, w), l(m, x), l(x, k), e[15](t), c = !0, _ || (B = [
103
+ z(
104
+ s,
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(
116
- s,
115
+ z(
116
+ x,
117
117
  "click",
118
118
  /*confirmChanges*/
119
119
  e[5]
120
120
  )
121
- ], v = !0);
121
+ ], _ = !0);
122
122
  },
123
- p(o, [p]) {
124
- _ && _.p && (!m || p & /*$$scope*/
125
- 4096) && Z(
126
- _,
127
- B,
123
+ p(o, [f]) {
124
+ G && G.p && (!c || f & /*$$scope*/
125
+ 8192) && $(
126
+ G,
127
+ A,
128
128
  o,
129
129
  /*$$scope*/
130
- o[12],
131
- m ? tt(
132
- B,
130
+ o[13],
131
+ c ? it(
132
+ A,
133
133
  /*$$scope*/
134
- o[12],
135
- p,
136
- gt
137
- ) : $(
134
+ o[13],
135
+ f,
136
+ ft
137
+ ) : tt(
138
138
  /*$$scope*/
139
- o[12]
139
+ o[13]
140
140
  ),
141
- O
142
- ), (!m || p & /*modaltext*/
143
- 1) && D(
144
- w,
141
+ W
142
+ ), (!c || f & /*modaltext*/
143
+ 1) && F(
144
+ h,
145
145
  /*modaltext*/
146
146
  o[0]
147
- ), (!m || p & /*$_*/
148
- 4) && f !== (f = /*$_*/
149
- o[2]("cancel") + "") && D(h, f), (!m || p & /*$_*/
150
- 4) && L !== (L = /*$_*/
151
- o[2]("confirm") + "") && D(k, L);
147
+ ), (!c || f & /*$_*/
148
+ 4) && C !== (C = /*$_*/
149
+ o[2]("cancel") + "") && F(p, C), (!c || f & /*$_*/
150
+ 4) && r !== (r = /*$_*/
151
+ o[2]("confirm") + "") && F(k, r);
152
152
  },
153
153
  i(o) {
154
- m || (it(u, o), m = !0);
154
+ c || (Z(u, o), c = !0);
155
155
  },
156
156
  o(o) {
157
- et(u, o), m = !1;
157
+ Y(u, o), c = !1;
158
158
  },
159
159
  d(o) {
160
- o && H(t), u && u.d(o), e[14](null), v = !1, nt(F);
160
+ o && I(t), u && u.d(o), e[15](null), _ = !1, X(B);
161
161
  }
162
162
  };
163
163
  }
164
- function pt(e, t, n) {
165
- let r;
166
- ot(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
- j(G, C[G]);
164
+ function bt(e, t, n) {
165
+ let s;
166
+ et(e, dt, (i) => n(2, s = i));
167
+ let { $$slots: v = {}, $$scope: b } = t, { modaltext: h = "Are you sure that you want to perform this action?" } = t, { modalsource: d = "" } = t, { lang: m = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: C = "" } = t, { mbsource: p } = t, { translationurl: w = "" } = t;
168
+ const x = () => {
169
+ fetch(w).then((M) => M.json()).then((M) => {
170
+ Object.keys(M).forEach((j) => {
171
+ N(j, M[j]);
172
172
  });
173
- }).catch((C) => {
174
- console.log(C);
173
+ }).catch((M) => {
174
+ console.log(M);
175
175
  });
176
176
  };
177
- Object.keys(N).forEach((i) => {
178
- j(i, N[i]);
177
+ Object.keys(O).forEach((i) => {
178
+ N(i, O[i]);
179
179
  });
180
- let s, L = window.navigator.userAgent, k = at(L) !== "PC", m = {}, v = "";
181
- const F = () => {
180
+ let r, k = window.navigator.userAgent, c = nt(k) !== "PC", _ = {}, B = "";
181
+ const A = () => {
182
182
  window.postMessage({ type: "ModalClosed" }, window.location.href);
183
- }, B = () => {
183
+ }, G = () => {
184
184
  d === "groupEdit" ? window.postMessage({ type: "GamingLimitsConfirmChanges" }, window.location.href) : d === "infoCard" && window.postMessage(
185
185
  {
186
186
  type: "PlayerAccountGamingLimitDelete",
187
- limit: m,
188
- name: v
187
+ limit: _,
188
+ name: B
189
189
  },
190
190
  window.location.href
191
191
  ), window.postMessage({ type: "ModalClosed" }, window.location.href);
192
- }, _ = () => {
192
+ }, u = () => {
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
- }, u = (i) => i === "Time Limit" ? "cumulativeSessionLimits" : i === "Deposit Limit" ? "depositLimits" : i === "Wagering Limit" ? "wageringLimit" : "lossLimit", o = (i) => {
194
+ }, o = (i) => i === "Time Limit" ? "cumulativeSessionLimits" : i === "Deposit Limit" ? "depositLimits" : i === "Wagering Limit" ? "wageringLimit" : "lossLimit", f = (i) => {
195
195
  if (i.data)
196
196
  switch (i.data.type) {
197
197
  case "DeleteLimitsItem":
198
- m = i.data.removeData, v = u(i.data.removeName);
198
+ _ = i.data.removeData, B = o(i.data.removeName);
199
199
  break;
200
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
- });
201
+ }, T = () => {
202
+ gt(m);
216
203
  };
217
- rt(() => (window.addEventListener("message", o, !1), () => {
218
- window.removeEventListener("message", o);
204
+ ot(() => (window.addEventListener("message", f, !1), () => {
205
+ window.removeEventListener("message", f);
219
206
  }));
220
207
  function R(i) {
221
- st[i ? "unshift" : "push"](() => {
222
- s = i, n(1, s);
208
+ rt[i ? "unshift" : "push"](() => {
209
+ r = i, n(1, r);
223
210
  });
224
211
  }
225
212
  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);
213
+ "modaltext" in i && n(0, h = i.modaltext), "modalsource" in i && n(7, d = i.modalsource), "lang" in i && n(8, m = i.lang), "clientstyling" in i && n(9, g = i.clientstyling), "clientstylingurl" in i && n(10, C = i.clientstylingurl), "mbsource" in i && n(11, p = i.mbsource), "translationurl" in i && n(12, w = i.translationurl), "$$scope" in i && n(13, b = i.$$scope);
227
214
  }, e.$$.update = () => {
228
215
  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();
216
+ 385 && h && d && m && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
217
+ 514 && g && r && st(r, g), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
218
+ 1026 && C && r && lt(r, C), e.$$.dirty & /*mbsource, customStylingContainer*/
219
+ 2050 && p && r && mt(r, `${p}.Style`), e.$$.dirty & /*translationurl*/
220
+ 4096 && w && x();
233
221
  }, [
234
- w,
235
- s,
222
+ h,
236
223
  r,
237
- k,
238
- F,
239
- B,
240
- _,
241
- d,
224
+ s,
242
225
  c,
226
+ A,
227
+ G,
228
+ u,
229
+ d,
230
+ m,
243
231
  g,
244
- f,
245
- h,
232
+ C,
233
+ p,
234
+ w,
246
235
  b,
247
- y,
236
+ v,
248
237
  R
249
238
  ];
250
239
  }
251
- class Ct extends J {
240
+ class ht extends U {
252
241
  constructor(t) {
253
- super(), K(
242
+ super(), J(
254
243
  this,
255
244
  t,
245
+ bt,
256
246
  pt,
257
- ft,
258
- V,
247
+ K,
259
248
  {
260
249
  modaltext: 0,
261
250
  modalsource: 7,
262
251
  lang: 8,
263
252
  clientstyling: 9,
264
253
  clientstylingurl: 10,
265
- translationurl: 11
254
+ mbsource: 11,
255
+ translationurl: 12
266
256
  },
267
- dt
257
+ ut
268
258
  );
269
259
  }
270
260
  get modaltext() {
271
261
  return this.$$.ctx[0];
272
262
  }
273
263
  set modaltext(t) {
274
- this.$$set({ modaltext: t }), M();
264
+ this.$$set({ modaltext: t }), y();
275
265
  }
276
266
  get modalsource() {
277
267
  return this.$$.ctx[7];
278
268
  }
279
269
  set modalsource(t) {
280
- this.$$set({ modalsource: t }), M();
270
+ this.$$set({ modalsource: t }), y();
281
271
  }
282
272
  get lang() {
283
273
  return this.$$.ctx[8];
284
274
  }
285
275
  set lang(t) {
286
- this.$$set({ lang: t }), M();
276
+ this.$$set({ lang: t }), y();
287
277
  }
288
278
  get clientstyling() {
289
279
  return this.$$.ctx[9];
290
280
  }
291
281
  set clientstyling(t) {
292
- this.$$set({ clientstyling: t }), M();
282
+ this.$$set({ clientstyling: t }), y();
293
283
  }
294
284
  get clientstylingurl() {
295
285
  return this.$$.ctx[10];
296
286
  }
297
287
  set clientstylingurl(t) {
298
- this.$$set({ clientstylingurl: t }), M();
288
+ this.$$set({ clientstylingurl: t }), y();
299
289
  }
300
- get translationurl() {
290
+ get mbsource() {
301
291
  return this.$$.ctx[11];
302
292
  }
293
+ set mbsource(t) {
294
+ this.$$set({ mbsource: t }), y();
295
+ }
296
+ get translationurl() {
297
+ return this.$$.ctx[12];
298
+ }
303
299
  set translationurl(t) {
304
- this.$$set({ translationurl: t }), M();
300
+ this.$$set({ translationurl: t }), y();
305
301
  }
306
302
  }
307
- Q(Ct, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
303
+ ct(ht, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
308
304
  export {
309
- Ct as default
305
+ ht as default
310
306
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-9pZTJKCj.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(l,y){t.insert(l,e,y),t.append(e,o)},p:t.noop,d(l){l&&t.detach(e)}}}function P(n){let e,o,l,y,C,b,c,s,d,f=n[2]("cancel")+"",p,h,w,r=n[2]("confirm")+"",_,m,x,G;const M=n[14].close,L=t.create_slot(M,n,n[13],F),g=L||O();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(f),h=t.space(),w=t.element("button"),_=t.text(r),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(a,u){t.insert(a,e,u),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,_),n[15](e),m=!0,x||(G=[t.listen(l,"click",n[4]),t.listen(d,"click",n[6]),t.listen(w,"click",n[5])],x=!0)},p(a,[u]){L&&L.p&&(!m||u&8192)&&t.update_slot_base(L,M,a,a[13],m?t.get_slot_changes(M,a[13],u,N):t.get_all_dirty_from_scope(a[13]),F),(!m||u&1)&&t.set_data(b,a[0]),(!m||u&4)&&f!==(f=a[2]("cancel")+"")&&t.set_data(p,f),(!m||u&4)&&r!==(r=a[2]("confirm")+"")&&t.set_data(_,r)},i(a){m||(t.transition_in(g,a),m=!0)},o(a){t.transition_out(g,a),m=!1},d(a){a&&t.detach(e),g&&g.d(a),n[15](null),x=!1,t.run_all(G)}}}function T(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:f=""}=e,{mbsource:p}=e,{translationurl:h=""}=e;const w=()=>{fetch(h).then(v=>v.json()).then(v=>{Object.keys(v).forEach(k=>{B(k,v[k])})}).catch(v=>{console.log(v)})};Object.keys(A).forEach(i=>{B(i,A[i])});let r,_=window.navigator.userAgent,m=t.getDevice(_)!=="PC",x={},G="";const M=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},L=()=>{c==="groupEdit"?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:x,name:G},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},g=()=>{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)},a=i=>i==="Time Limit"?"cumulativeSessionLimits":i==="Deposit Limit"?"depositLimits":i==="Wagering Limit"?"wageringLimit":"lossLimit",u=i=>{if(i.data)switch(i.data.type){case"DeleteLimitsItem":x=i.data.removeData,G=a(i.data.removeName);break}},E=()=>{j(s)};t.onMount(()=>(window.addEventListener("message",u,!1),()=>{window.removeEventListener("message",u)}));function S(i){t.binding_callbacks[i?"unshift":"push"](()=>{r=i,o(1,r)})}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,f=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&&r&&t.setClientStyling(r,d),n.$$.dirty&1026&&f&&r&&t.setClientStylingURL(r,f),n.$$.dirty&2050&&p&&r&&t.setStreamStyling(r,`${p}.Style`),n.$$.dirty&4096&&h&&w()},[b,r,l,m,M,L,g,c,s,d,f,p,h,C,y,S]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,T,P,t.safe_not_equal,{modaltext:0,modalsource:7,lang:8,clientstyling:9,clientstylingurl:10,mbsource:11,translationurl:12},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 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;