@everymatrix/player-account-controller-nd 1.74.1 → 1.74.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/components/{GeneralLogout-BdAdrjMv.js → GeneralLogout-C-KQBmk3.js} +1405 -1426
  2. package/components/{GeneralLogout-CYLHL5E7.js → GeneralLogout-C52-PhwD.js} +1400 -1421
  3. package/components/GeneralLogout-COm1JcKW.cjs +21 -0
  4. package/components/{PlayerAccountBettingHistory-CsGtQY-A.js → PlayerAccountBettingHistory-5QM3bGgT.js} +27 -27
  5. package/components/{PlayerAccountBettingHistory-DSfSEyQQ.js → PlayerAccountBettingHistory-B91V20F2.js} +27 -27
  6. package/components/{PlayerAccountBettingHistory-la7IEPsJ.cjs → PlayerAccountBettingHistory-CE023VGz.cjs} +1 -1
  7. package/components/{PlayerAccountBiometrics-CAzo4viq.js → PlayerAccountBiometrics-C5FFOJ5V.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-E4avOt95.cjs → PlayerAccountBiometrics-DPdT285K.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-Czd9Ct1j.js → PlayerAccountBiometrics-DuvDCmjx.js} +22 -22
  10. package/components/{PlayerAccountClosureNd-Bi2g2Gww.js → PlayerAccountClosureNd-BEMKT7IM.js} +17 -17
  11. package/components/{PlayerAccountClosureNd-CqY0NmNH.cjs → PlayerAccountClosureNd-CMzRAP8U.cjs} +1 -1
  12. package/components/{PlayerAccountClosureNd-CpNCuvuR.js → PlayerAccountClosureNd-CYHq0859.js} +17 -17
  13. package/components/{PlayerAccountControllerNd-CzhD1On9.js → PlayerAccountControllerNd-DT1zgS33.js} +1191 -1161
  14. package/components/PlayerAccountControllerNd-DaC8DFbI.cjs +1 -0
  15. package/components/{PlayerAccountControllerNd-DWpHqrim.js → PlayerAccountControllerNd-DiPqm9wR.js} +1189 -1159
  16. package/components/{PlayerAccountGamingLimits-CWXEw1xn.cjs → PlayerAccountGamingLimits-B2vzRems.cjs} +1 -1
  17. package/components/{PlayerAccountGamingLimits-B2Oz8I6p.js → PlayerAccountGamingLimits-B7ppWJQ6.js} +19 -19
  18. package/components/{PlayerAccountGamingLimits-DkVJEMbG.js → PlayerAccountGamingLimits-DMS9a3TN.js} +19 -19
  19. package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +1 -0
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-7V0Exu-P.js → PlayerAccountGamingLimitsConfirmationModal-Crt7TSIB.js} +53 -53
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-Ca9yI46R.js → PlayerAccountGamingLimitsConfirmationModal-rkO4-ifF.js} +53 -53
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-CrNEtU-b.js → PlayerAccountGamingLimitsGroupEdit-B-MqO4BJ.js} +1081 -1079
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-B-rcQp3D.js → PlayerAccountGamingLimitsGroupEdit-CDRqETAd.js} +1081 -1079
  24. package/components/PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs +2 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-PGPGM6GK.js → PlayerAccountGamingLimitsHistory2Nd-C5ysmYyV.js} +78 -78
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-DyOI5bfO.js → PlayerAccountGamingLimitsHistory2Nd-C85Ls9oF.js} +78 -78
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-CoPkM0Xe.cjs → PlayerAccountGamingLimitsHistory2Nd-CG8WJl-W.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-D7fWwpMa.js → PlayerAccountGamingLimitsInfoCard-BYwQnhb5.js} +80 -80
  29. package/components/{PlayerAccountGamingLimitsInfoCard-CzmG8TN_.cjs → PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsInfoCard-Ot58uqDo.js → PlayerAccountGamingLimitsInfoCard-DjnVkaho.js} +80 -80
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DOSgqK9Q.js → PlayerAccountGamingLimitsPage2Gm16Nd-B5anV-nN.js} +127 -127
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Bpa-1f-t.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-BHvCpWdQ.cjs} +2 -2
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CRzGvu3h.js → PlayerAccountGamingLimitsPage2Gm16Nd-C8ApQooV.js} +119 -119
  34. package/components/{PlayerAccountGamingLimitsPopup-DgRyoXv_.js → PlayerAccountGamingLimitsPopup-1ObhRFHn.js} +28 -28
  35. package/components/{PlayerAccountGamingLimitsPopup-D6BfVLoR.cjs → PlayerAccountGamingLimitsPopup-D16rhs4n.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-llXzPPpc.js → PlayerAccountGamingLimitsPopup-lZ7y_RVP.js} +28 -28
  37. package/components/{PlayerAccountGamingLimitsWrapper2Nd-BREG6R1Z.js → PlayerAccountGamingLimitsWrapper2Nd-BCujxf1t.js} +37 -37
  38. package/components/{PlayerAccountGamingLimitsWrapper2Nd-ZZloOnfI.js → PlayerAccountGamingLimitsWrapper2Nd-BJqrN_4e.js} +37 -37
  39. package/components/{PlayerAccountGamingLimitsWrapper2Nd-B25oN7Hd.cjs → PlayerAccountGamingLimitsWrapper2Nd-DnDh7MDz.cjs} +1 -1
  40. package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +1 -0
  41. package/components/{PlayerAccountGeneralConfirmationModal-CIl_YRWC.js → PlayerAccountGeneralConfirmationModal-Bgat7eVE.js} +68 -68
  42. package/components/{PlayerAccountGeneralConfirmationModal-B0i5nR9N.js → PlayerAccountGeneralConfirmationModal-DrgjMSLh.js} +68 -68
  43. package/components/{PlayerAccountMenuNd-CnLr0a3P.js → PlayerAccountMenuNd-V9EOIgPS.js} +29 -29
  44. package/components/{PlayerAccountMenuNd-f2lPjmd8.cjs → PlayerAccountMenuNd-Yk5u12tl.cjs} +1 -1
  45. package/components/{PlayerAccountMenuNd-DPLv8pdq.js → PlayerAccountMenuNd-alDPH0d2.js} +29 -29
  46. package/components/{PlayerAccountModal-CPgcGye0.js → PlayerAccountModal-9FK6eAt0.js} +25 -25
  47. package/components/{PlayerAccountModal-D4PQfUQX.js → PlayerAccountModal-DCsw7iyn.js} +25 -25
  48. package/components/{PlayerAccountModal-C70Mycg9.cjs → PlayerAccountModal-DvJ0OsPC.cjs} +1 -1
  49. package/components/{PlayerAccountNotifications-Dr1OXSBm.js → PlayerAccountNotifications-BVfKQdMA.js} +36 -36
  50. package/components/{PlayerAccountNotifications-DlbpGqRz.js → PlayerAccountNotifications-BzEDVvTZ.js} +35 -35
  51. package/components/{PlayerAccountNotifications-IX9W_3ma.cjs → PlayerAccountNotifications-CdPeCghS.cjs} +1 -1
  52. package/components/{PlayerAccountProductRestriction-BGq67a4g.js → PlayerAccountProductRestriction-CcPYpLl8.js} +4458 -9466
  53. package/components/PlayerAccountProductRestriction-DuSld9Fq.cjs +5639 -0
  54. package/components/{PlayerAccountProductRestriction-BOVIsS9y.js → PlayerAccountProductRestriction-SQvhNniP.js} +4491 -9499
  55. package/components/{PlayerAccountSelfExclusionNd-ClAXhdOy.js → PlayerAccountSelfExclusionNd-CKKz2hD-.js} +1203 -1201
  56. package/components/{PlayerAccountSelfExclusionNd-Bqp3pr8i.cjs → PlayerAccountSelfExclusionNd-C_bVFBeq.cjs} +156 -156
  57. package/components/{PlayerAccountSelfExclusionNd-ByBnkH37.js → PlayerAccountSelfExclusionNd-D04olil_.js} +899 -897
  58. package/components/{PlayerAccountTimeout-rGTWWD08.cjs → PlayerAccountTimeout-BBMZeoy0.cjs} +1 -1
  59. package/components/{PlayerAccountTimeout-BeOffzFH.js → PlayerAccountTimeout-PtXajzgs.js} +103 -103
  60. package/components/{PlayerAccountTimeout-DuZ92ehP.js → PlayerAccountTimeout-Yl_hqLQQ.js} +103 -103
  61. package/components/PlayerAccountTransactionsHistory-BhssK-Iv.js +1950 -0
  62. package/components/PlayerAccountTransactionsHistory-Cc3yOabd.cjs +4 -0
  63. package/components/PlayerAccountTransactionsHistory-xfI9u1Su.js +1919 -0
  64. package/components/{PlayerActiveBonuses-CxiTJG5s.js → PlayerActiveBonuses-D4OBnwNa.js} +54 -54
  65. package/components/{PlayerActiveBonuses-CypcOO7I.cjs → PlayerActiveBonuses-Me5Q3o65.cjs} +1 -1
  66. package/components/{PlayerActiveBonuses-CVusv6Ts.js → PlayerActiveBonuses-zLuqH4eW.js} +48 -48
  67. package/components/{PlayerBonusCard-Bvt46KEL.js → PlayerBonusCard-BbRQx8Gg.js} +81 -81
  68. package/components/{PlayerBonusCard-U73hQG0H.js → PlayerBonusCard-BhW_g3sH.js} +81 -81
  69. package/components/{PlayerBonusCard-DE6BCU2O.cjs → PlayerBonusCard-DgyhSYBs.cjs} +1 -1
  70. package/components/{PlayerBonusHistory-CKlnyjJA.cjs → PlayerBonusHistory-B1tNYVjn.cjs} +1 -1
  71. package/components/{PlayerBonusHistory-CxHNEb-g.js → PlayerBonusHistory-DCywP_Ob.js} +30 -30
  72. package/components/{PlayerBonusHistory-K-Rdd1el.js → PlayerBonusHistory-DzAVFv5h.js} +30 -30
  73. package/components/{PlayerChangePasswordNd-CZAp_RNE.cjs → PlayerChangePasswordNd-DSIi_04v.cjs} +1 -1
  74. package/components/{PlayerChangePasswordNd-DX5IiSEC.js → PlayerChangePasswordNd-DUzbCK4p.js} +71 -71
  75. package/components/{PlayerChangePasswordNd-D_2LOeww.js → PlayerChangePasswordNd-DWsHRVAH.js} +71 -71
  76. package/components/{PlayerDeposit-D5DDIXav.js → PlayerDeposit-BeGgsgNu.js} +29 -29
  77. package/components/{PlayerDeposit-i04eIYke.js → PlayerDeposit-CI5GIyAe.js} +29 -29
  78. package/components/{PlayerDeposit-BhF3WSC-.cjs → PlayerDeposit-CmBFg6tX.cjs} +1 -1
  79. package/components/{PlayerGamingHistory-DPjGK6WG.js → PlayerGamingHistory-BDRIcUGH.js} +419 -409
  80. package/components/PlayerGamingHistory-DEncqPtG.cjs +1 -0
  81. package/components/{PlayerGamingHistory-BDQ565Vu.js → PlayerGamingHistory-Dmx0DAm4.js} +445 -435
  82. package/components/{PlayerPendingWithdrawals-BF_KEVdD.js → PlayerPendingWithdrawals-BL4JTLkC.js} +26 -26
  83. package/components/{PlayerPendingWithdrawals-DreodXib.cjs → PlayerPendingWithdrawals-D-KWiMH6.cjs} +1 -1
  84. package/components/{PlayerPendingWithdrawals-D4OCG3tG.js → PlayerPendingWithdrawals-o6_OjL5C.js} +26 -26
  85. package/components/{PlayerProfileInfo-DoCBLeLO.cjs → PlayerProfileInfo-CwZQ79SV.cjs} +1 -1
  86. package/components/{PlayerProfileInfo-B2rBHNy8.js → PlayerProfileInfo-D0A3aRV_.js} +158 -158
  87. package/components/{PlayerProfileInfo-DRL36liV.js → PlayerProfileInfo-xRMbiw1T.js} +146 -146
  88. package/components/{PlayerRealityCheck-BAoNcaQX.js → PlayerRealityCheck-BEiZhn6p.js} +45 -45
  89. package/components/{PlayerRealityCheck-pfW8N43I.js → PlayerRealityCheck-CYU_NrFB.js} +44 -44
  90. package/components/{PlayerRealityCheck-xMuEFtt1.cjs → PlayerRealityCheck-JdOGHDG6.cjs} +1 -1
  91. package/components/{PlayerTransactionHistory-BGE7Z32A.js → PlayerTransactionHistory-BS1LjP09.js} +19 -19
  92. package/components/{PlayerTransactionHistory-D9_hI05B.js → PlayerTransactionHistory-DdbQZ6mw.js} +19 -19
  93. package/components/{PlayerTransactionHistory-DmL-_293.cjs → PlayerTransactionHistory-Hz2IWD73.cjs} +1 -1
  94. package/components/{PlayerWithdrawal-CaWCjAf3.js → PlayerWithdrawal-DGN4Y9QP.js} +19 -19
  95. package/components/{PlayerWithdrawal-DcIfaC72.js → PlayerWithdrawal-DOec04Iq.js} +19 -19
  96. package/components/{PlayerWithdrawal-B2WqUhR-.cjs → PlayerWithdrawal-P_0MIA-u.cjs} +1 -1
  97. package/es2015/player-account-controller-nd.cjs +1 -1
  98. package/es2015/player-account-controller-nd.js +1 -1
  99. package/esnext/player-account-controller-nd.js +1 -1
  100. package/package.json +1 -1
  101. package/stencil/{checkbox-group-input_15-DRUhTFo_.cjs → checkbox-group-input_15-0289QK04.cjs} +419 -2326
  102. package/stencil/{checkbox-group-input_15-Qj_31WMH.js → checkbox-group-input_15-BAlJ2RSB.js} +4321 -9389
  103. package/stencil/{checkbox-group-input_15-Di0yQpHU.js → checkbox-group-input_15-P5bpc-le.js} +4318 -9386
  104. package/stencil/{index-13661b98-CnuGTCF7.js → index-13661b98-0KqdpSwq.js} +215 -215
  105. package/stencil/{index-13661b98-B8S3l1ae.js → index-13661b98-Cjrw92L5.js} +207 -207
  106. package/stencil/index-13661b98-DmQ3LyqA.cjs +1 -0
  107. package/stencil/index-1ef3a64c-DD-PHh2g.cjs +1 -0
  108. package/stencil/{index-1ef3a64c-zEGNB-u8.js → index-1ef3a64c-DQk1yZfC.js} +185 -185
  109. package/stencil/{index-1ef3a64c-HE2lDlEL.js → index-1ef3a64c-DuKSFSN8.js} +192 -192
  110. package/stencil/{index-7c5e707a-DGb2dQ60.js → index-7c5e707a-B54Yjxc3.js} +209 -209
  111. package/stencil/index-7c5e707a-BHFN5Fx4.js +643 -0
  112. package/stencil/index-7c5e707a-CFlTnjRT.cjs +1 -0
  113. package/stencil/{index-9c0f6c58-Hy2JqCeP.js → index-9c0f6c58-BVjt1-QR.js} +176 -176
  114. package/stencil/{index-9c0f6c58-DxzXe6Kn.js → index-9c0f6c58-BjPD5eYu.js} +180 -180
  115. package/stencil/index-9c0f6c58-DZU9DhI3.cjs +1 -0
  116. package/stencil/index-b2193545-BMFR9-V2.cjs +1 -0
  117. package/stencil/index-b2193545-DPKCFIaU.js +503 -0
  118. package/stencil/index-b2193545-LzjWxki5.js +519 -0
  119. package/stencil/{pam-change-password-dL9KfXLS.cjs → pam-change-password-CCtkdO47.cjs} +1 -1
  120. package/stencil/{pam-change-password-FFVgwD-8.js → pam-change-password-CGyD6M-i.js} +1 -1
  121. package/stencil/{pam-change-password-DtxM39I2.js → pam-change-password-DTgd0kl_.js} +1 -1
  122. package/stencil/{pam-change-password-f4a1e7e7-D3kiiFR8.cjs → pam-change-password-f4a1e7e7-BN6Jj_HN.cjs} +1 -1
  123. package/stencil/{pam-change-password-f4a1e7e7-De_EUl35.js → pam-change-password-f4a1e7e7-D8x0jD6p.js} +1 -1
  124. package/stencil/{pam-change-password-f4a1e7e7-BkkC3LDV.js → pam-change-password-f4a1e7e7-DtYo6Qns.js} +1 -1
  125. package/stencil/{player-kyc-verification-CvOTQFbs.js → player-kyc-verification-BN1-EiQk.js} +12 -12
  126. package/stencil/{player-kyc-verification-BVPPMf62.cjs → player-kyc-verification-D347xSwD.cjs} +2 -2
  127. package/stencil/{player-kyc-verification-BX-zXzBh.js → player-kyc-verification-XNdgNWvR.js} +9 -9
  128. package/stencil/{ui-skeleton-C_FDz0NJ.js → ui-skeleton-2XsWxl4S.js} +2 -2
  129. package/stencil/{ui-skeleton-GEqIXVxo.cjs → ui-skeleton-Cbqo0oYF.cjs} +1 -1
  130. package/stencil/{ui-skeleton-mkMdvWYI.js → ui-skeleton-LneRlsD3.js} +2 -2
  131. package/stencil/{ui-skeleton-ae35c6f2-e6Wte4qi.js → ui-skeleton-ae35c6f2-8s3Rqu1P.js} +1 -1
  132. package/stencil/{ui-skeleton-ae35c6f2-CeNpgiKf.cjs → ui-skeleton-ae35c6f2-B4ncHe9g.cjs} +1 -1
  133. package/stencil/{ui-skeleton-ae35c6f2-BreM325l.js → ui-skeleton-ae35c6f2-OnzqIAY0.js} +1 -1
  134. package/stencil/{user-deposit-withdrawal-BuFBx-hr.cjs → user-deposit-withdrawal-BP58nPO1.cjs} +2 -2
  135. package/stencil/{user-deposit-withdrawal-DdJYJeX1.js → user-deposit-withdrawal-CSakhNt1.js} +45 -45
  136. package/stencil/{user-deposit-withdrawal-Cr0-V-2c.js → user-deposit-withdrawal-DcVKAa80.js} +45 -45
  137. package/stencil/{user-transaction-history-DBXbHHd_.js → user-transaction-history-BrBScppC.js} +618 -616
  138. package/stencil/{user-transaction-history-CQuIy63_.js → user-transaction-history-D0jBcRwe.js} +645 -643
  139. package/stencil/user-transaction-history-HA_tfHfo.cjs +1 -0
  140. package/components/GeneralLogout-CUey30IA.cjs +0 -21
  141. package/components/PlayerAccountControllerNd-CjX_5nyS.cjs +0 -1
  142. package/components/PlayerAccountGamingLimitsConfirmationModal-BDEiLyA5.cjs +0 -1
  143. package/components/PlayerAccountGamingLimitsGroupEdit-Cf-jXwM4.cjs +0 -2
  144. package/components/PlayerAccountGeneralConfirmationModal-CeG-uqHr.cjs +0 -1
  145. package/components/PlayerAccountProductRestriction-BMsZXr0T.cjs +0 -7546
  146. package/components/PlayerAccountTransactionsHistory-B3BEv6hM.cjs +0 -4
  147. package/components/PlayerAccountTransactionsHistory-D01jeTvA.js +0 -1890
  148. package/components/PlayerAccountTransactionsHistory-DQMajwWl.js +0 -1859
  149. package/components/PlayerGamingHistory-BUyNNOUO.cjs +0 -1
  150. package/stencil/index-13661b98-BfIn8C3l.cjs +0 -1
  151. package/stencil/index-1ef3a64c-DR7bpfUj.cjs +0 -1
  152. package/stencil/index-7c5e707a-2YIJtUZe.js +0 -643
  153. package/stencil/index-7c5e707a-_iYAV2Cv.cjs +0 -1
  154. package/stencil/index-9c0f6c58-CtHWkW4O.cjs +0 -1
  155. package/stencil/index-b2193545-DQUvHUpa.cjs +0 -1
  156. package/stencil/index-b2193545-DoYU_tL8.js +0 -503
  157. package/stencil/index-b2193545-_I2wisuY.js +0 -519
  158. package/stencil/user-transaction-history-BhBMJPP0.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { a as O, $ as q, S as V, i as X, s as Z, f as p, b as J, n as A, d as P, c as R, h as S, j as u, k as _, m as T, t as x, e as d, p as K, q as Q, u as Y, l as $, v as M, w as ee, a2 as D, x as te, y as ae, z as re, A as ie, B as le } from "./GeneralLogout-BdAdrjMv.js";
1
+ import { a as O, $ as q, S as V, i as X, f as p, c as Z, s as J, b as K, e as _, d as T, t as x, g as d, k as P, l as u, n as R, o as A, p as S, q as Q, u as Y, v as $, w as M, m as ee, x as te, y as ae, z as re, A as ie, a2 as D, B as le } from "./GeneralLogout-C52-PhwD.js";
2
2
  function I(r, e) {
3
3
  O(r, e);
4
4
  }
@@ -40,7 +40,7 @@ const U = {
40
40
  }
41
41
  };
42
42
  function se(r) {
43
- J(r, "svelte-19p9ovb", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.WithdrawalWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.WithdrawalWrapper.WithdrawalWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.WithdrawalTitleMobile{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
43
+ K(r, "svelte-19p9ovb", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.WithdrawalWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.WithdrawalWrapper.WithdrawalWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.WithdrawalTitleMobile{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
44
44
  }
45
45
  function oe(r) {
46
46
  let e, t, n, i, o, m, c, g, f, s, l = (
@@ -52,7 +52,7 @@ function oe(r) {
52
52
  e = _("div"), t = M("svg"), n = M("defs"), i = M("style"), o = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = M("g"), c = M("g"), g = M("path"), f = T(), s = _("h2"), h = x(l), d(g, "class", "aaa"), d(g, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(g, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(s, "class", "WithdrawalTitleMobile"), d(e, "class", "MenuReturnButton"), d(e, "part", "MenuReturnButton");
53
53
  },
54
54
  m(v, k) {
55
- S(v, e, k), u(e, t), u(t, n), u(n, i), u(i, o), u(t, m), u(m, c), u(c, g), u(e, f), u(e, s), u(s, h), y || (w = $(
55
+ P(v, e, k), u(e, t), u(t, n), u(n, i), u(i, o), u(t, m), u(m, c), u(c, g), u(e, f), u(e, s), u(s, h), y || (w = ee(
56
56
  e,
57
57
  "click",
58
58
  /*click_handler*/
@@ -65,7 +65,7 @@ function oe(r) {
65
65
  v[3]("titlePlayerWithdrawal") + "") && R(h, l);
66
66
  },
67
67
  d(v) {
68
- v && P(e), y = !1, w();
68
+ v && S(e), y = !1, w();
69
69
  }
70
70
  };
71
71
  }
@@ -77,7 +77,7 @@ function ce(r) {
77
77
  r[2]) || d(t, "src", n), d(t, "title", "Withdrawal Iframe"), d(e, "class", "WithdrawalIframeWrapper");
78
78
  },
79
79
  m(i, o) {
80
- S(i, e, o), u(e, t);
80
+ P(i, e, o), u(e, t);
81
81
  },
82
82
  p(i, o) {
83
83
  o & /*iframeUrl*/
@@ -85,7 +85,7 @@ function ce(r) {
85
85
  i[2]) && d(t, "src", n);
86
86
  },
87
87
  d(i) {
88
- i && P(e);
88
+ i && S(e);
89
89
  }
90
90
  };
91
91
  }
@@ -99,7 +99,7 @@ function de(r) {
99
99
  e = _("p"), n = x(t);
100
100
  },
101
101
  m(i, o) {
102
- S(i, e, o), u(e, n);
102
+ P(i, e, o), u(e, n);
103
103
  },
104
104
  p(i, o) {
105
105
  o & /*$_*/
@@ -107,7 +107,7 @@ function de(r) {
107
107
  i[3]("loading") + "") && R(n, t);
108
108
  },
109
109
  d(i) {
110
- i && P(e);
110
+ i && S(e);
111
111
  }
112
112
  };
113
113
  }
@@ -133,7 +133,7 @@ function ue(r) {
133
133
  (r[4] ? "WithdrawalWrapperMobile" : ""));
134
134
  },
135
135
  m(l, h) {
136
- S(l, e, h), c && c.m(e, null), u(e, t), u(e, n), u(n, o), u(e, m), s.m(e, null), r[17](e);
136
+ P(l, e, h), c && c.m(e, null), u(e, t), u(e, n), u(n, o), u(e, m), s.m(e, null), r[17](e);
137
137
  },
138
138
  p(l, [h]) {
139
139
  /*isMobile*/
@@ -144,14 +144,14 @@ function ue(r) {
144
144
  i: A,
145
145
  o: A,
146
146
  d(l) {
147
- l && P(e), c && c.d(), s.d(), r[17](null);
147
+ l && S(e), c && c.d(), s.d(), r[17](null);
148
148
  }
149
149
  };
150
150
  }
151
151
  function he(r, e, t) {
152
152
  let n;
153
- K(r, le, (a) => t(3, n = a));
154
- let { endpoint: i = "" } = e, { session: o = "" } = e, { playerid: m = "" } = e, { lang: c = "en" } = e, { hasdefaultamount: g = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: s = "" } = e, { mbsource: l } = e, { translationurl: h = "" } = e, { currency: y = "" } = e, w, v = window.navigator.userAgent, k = Q(v) !== "PC", B = !0, C = 0, L = "";
153
+ Q(r, le, (a) => t(3, n = a));
154
+ let { endpoint: i = "" } = e, { session: o = "" } = e, { playerid: m = "" } = e, { lang: c = "en" } = e, { hasdefaultamount: g = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: s = "" } = e, { mbsource: l } = e, { translationurl: h = "" } = e, { currency: y = "" } = e, w, v = window.navigator.userAgent, k = Y(v) !== "PC", B = !0, C = 0, L = "";
155
155
  const j = () => {
156
156
  fetch(h).then((b) => b.json()).then((b) => {
157
157
  Object.keys(b).forEach((W) => {
@@ -235,12 +235,12 @@ function he(r, e, t) {
235
235
  }, F = () => {
236
236
  ne(c);
237
237
  };
238
- Y(() => (window.addEventListener("message", z, !1), () => {
238
+ $(() => (window.addEventListener("message", z, !1), () => {
239
239
  window.removeEventListener("message", z);
240
240
  }));
241
241
  const G = () => E();
242
242
  function H(a) {
243
- ee[a ? "unshift" : "push"](() => {
243
+ te[a ? "unshift" : "push"](() => {
244
244
  w = a, t(0, w);
245
245
  });
246
246
  }
@@ -249,9 +249,9 @@ function he(r, e, t) {
249
249
  }, r.$$.update = () => {
250
250
  r.$$.dirty & /*lang*/
251
251
  1024 && c && F(), r.$$.dirty & /*clientstyling, customStylingContainer*/
252
- 4097 && f && w && te(w, f), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
253
- 8193 && s && w && ae(w, s), r.$$.dirty & /*mbsource, customStylingContainer*/
254
- 16385 && l && w && re(w, `${l}.Style`), r.$$.dirty & /*translationurl*/
252
+ 4097 && f && w && ae(w, f), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
253
+ 8193 && s && w && re(w, s), r.$$.dirty & /*mbsource, customStylingContainer*/
254
+ 16385 && l && w && ie(w, `${l}.Style`), r.$$.dirty & /*translationurl*/
255
255
  32768 && h && j(), r.$$.dirty & /*session, playerid, endpoint, currency, lang*/
256
256
  1984 && o && m && i && y && c && N();
257
257
  }, [
@@ -282,7 +282,7 @@ class me extends V {
282
282
  e,
283
283
  he,
284
284
  ue,
285
- Z,
285
+ J,
286
286
  {
287
287
  endpoint: 7,
288
288
  session: 8,
@@ -359,7 +359,7 @@ class me extends V {
359
359
  this.$$set({ currency: e }), p();
360
360
  }
361
361
  }
362
- ie(me, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currency: {} }, [], [], !0);
362
+ Z(me, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currency: {} }, [], [], !0);
363
363
  export {
364
364
  me as default
365
365
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CUey30IA.cjs");function P(l,t){e.addMessages(l,t)}function D(l){e.$locale.set(l)}const S={en:{titlePlayerWithdrawal:"Withdrawal",loading:"Loading, please wait ..."},"zh-hk":{titlePlayerWithdrawal:"退出",loading:"加載請稍候…"},fr:{titlePlayerWithdrawal:"Retrait",loading:"Chargement, veuillez patienter ..."},ro:{titlePlayerWithdrawal:"Retragere",loading:"Se încarcă..."},es:{titlePlayerWithdrawal:"Retirar",loading:"Cargando..."},pt:{titlePlayerWithdrawal:"Retirada",loading:"Carregando, por favor espere ..."},hr:{titlePlayerWithdrawal:"Isplata",loading:"Učitavanje"},"en-us":{titlePlayerWithdrawal:"Withdrawal",loading:"Loading, please wait ..."}};function I(l){e.append_styles(l,"svelte-19p9ovb","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.WithdrawalWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.WithdrawalWrapper.WithdrawalWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.WithdrawalTitleMobile{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}")}function U(l){let t,a,s,n,c,h,d,m,g,o,i=l[3]("titlePlayerWithdrawal")+"",u,p,f;return{c(){t=e.element("div"),a=e.svg_element("svg"),s=e.svg_element("defs"),n=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),h=e.svg_element("g"),d=e.svg_element("g"),m=e.svg_element("path"),g=e.space(),o=e.element("h2"),u=e.text(i),e.attr(m,"class","aaa"),e.attr(m,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(m,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(h,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(o,"class","WithdrawalTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(b,_){e.insert(b,t,_),e.append(t,a),e.append(a,s),e.append(s,n),e.append(n,c),e.append(a,h),e.append(h,d),e.append(d,m),e.append(t,g),e.append(t,o),e.append(o,u),p||(f=e.listen(t,"click",l[16]),p=!0)},p(b,_){_&8&&i!==(i=b[3]("titlePlayerWithdrawal")+"")&&e.set_data(u,i)},d(b){b&&e.detach(t),p=!1,f()}}}function j(l){let t,a,s;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,s=l[2])||e.attr(a,"src",s),e.attr(a,"title","Withdrawal Iframe"),e.attr(t,"class","WithdrawalIframeWrapper")},m(n,c){e.insert(n,t,c),e.append(t,a)},p(n,c){c&4&&!e.src_url_equal(a.src,s=n[2])&&e.attr(a,"src",s)},d(n){n&&e.detach(t)}}}function z(l){let t,a=l[3]("loading")+"",s;return{c(){t=e.element("p"),s=e.text(a)},m(n,c){e.insert(n,t,c),e.append(t,s)},p(n,c){c&8&&a!==(a=n[3]("loading")+"")&&e.set_data(s,a)},d(n){n&&e.detach(t)}}}function A(l){let t,a,s,n=l[3]("titlePlayerWithdrawal")+"",c,h,d=l[4]&&U(l);function m(i,u){return i[1]?z:j}let g=m(l),o=g(l);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),s=e.element("h2"),c=e.text(n),h=e.space(),o.c(),e.attr(s,"class","WithdrawalTitle "+(l[4]?"WithdrawalTitleNone":"")),e.attr(t,"class","WithdrawalWrapper "+(l[4]?"WithdrawalWrapperMobile":""))},m(i,u){e.insert(i,t,u),d&&d.m(t,null),e.append(t,a),e.append(t,s),e.append(s,c),e.append(t,h),o.m(t,null),l[17](t)},p(i,[u]){i[4]&&d.p(i,u),u&8&&n!==(n=i[3]("titlePlayerWithdrawal")+"")&&e.set_data(c,n),g===(g=m(i))&&o?o.p(i,u):(o.d(1),o=g(i),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(i){i&&e.detach(t),d&&d.d(),o.d(),l[17](null)}}}function G(l,t,a){let s;e.component_subscribe(l,e.$format,r=>a(3,s=r));let{endpoint:n=""}=t,{session:c=""}=t,{playerid:h=""}=t,{lang:d="en"}=t,{hasdefaultamount:m=""}=t,{clientstyling:g=""}=t,{clientstylingurl:o=""}=t,{mbsource:i}=t,{translationurl:u=""}=t,{currency:p=""}=t,f,b=window.navigator.userAgent,_=e.getDevice(b)!=="PC",W=!0,v=0,k="";const C=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(y=>{P(y,w[y])})}).catch(w=>{console.log(w)})};Object.keys(S).forEach(r=>{P(r,S[r])});const M=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:_},window.location.href)},x=r=>{if(r.data){switch(r.data.type){case"ProfileDetailsData":a(6,p=r.data.profileDetails.currency);break}switch(r.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break}}},R=()=>{let r=new URL(`${n}/v1/player/${h}/hostedcashier/initializewithdraw`);if(r.searchParams.append("language",d),m)switch(p){case"USD":v=.4;break;case"CDF":v=1e3;break}let w={method:"POST",headers:{"X-SessionId":c,currency:p||"EUR",amount:v,cashierMode:"Default",IsShortCashier:!1,accept:"application/json"}};fetch(r.href,w).then(y=>y.json()).then(y=>{a(1,W=!1),a(2,k=y.CashierUrl)},y=>{console.error(y)})},L=()=>{D(d)};e.onMount(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}));const B=()=>M();function E(r){e.binding_callbacks[r?"unshift":"push"](()=>{f=r,a(0,f)})}return l.$$set=r=>{"endpoint"in r&&a(7,n=r.endpoint),"session"in r&&a(8,c=r.session),"playerid"in r&&a(9,h=r.playerid),"lang"in r&&a(10,d=r.lang),"hasdefaultamount"in r&&a(11,m=r.hasdefaultamount),"clientstyling"in r&&a(12,g=r.clientstyling),"clientstylingurl"in r&&a(13,o=r.clientstylingurl),"mbsource"in r&&a(14,i=r.mbsource),"translationurl"in r&&a(15,u=r.translationurl),"currency"in r&&a(6,p=r.currency)},l.$$.update=()=>{l.$$.dirty&1024&&d&&L(),l.$$.dirty&4097&&g&&f&&e.setClientStyling(f,g),l.$$.dirty&8193&&o&&f&&e.setClientStylingURL(f,o),l.$$.dirty&16385&&i&&f&&e.setStreamStyling(f,`${i}.Style`),l.$$.dirty&32768&&u&&C(),l.$$.dirty&1984&&c&&h&&n&&p&&d&&R()},[f,W,k,s,_,M,p,n,c,h,d,m,g,o,i,u,B,E]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,G,A,e.safe_not_equal,{endpoint:7,session:8,playerid:9,lang:10,hasdefaultamount:11,clientstyling:12,clientstylingurl:13,mbsource:14,translationurl:15,currency:6},I)}get endpoint(){return this.$$.ctx[7]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[8]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[9]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[11]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[6]}set currency(t){this.$$set({currency:t}),e.flush()}}e.create_custom_element(T,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},currency:{}},[],[],!0);exports.default=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-COm1JcKW.cjs");function P(l,t){e.addMessages(l,t)}function D(l){e.$locale.set(l)}const S={en:{titlePlayerWithdrawal:"Withdrawal",loading:"Loading, please wait ..."},"zh-hk":{titlePlayerWithdrawal:"退出",loading:"加載請稍候…"},fr:{titlePlayerWithdrawal:"Retrait",loading:"Chargement, veuillez patienter ..."},ro:{titlePlayerWithdrawal:"Retragere",loading:"Se încarcă..."},es:{titlePlayerWithdrawal:"Retirar",loading:"Cargando..."},pt:{titlePlayerWithdrawal:"Retirada",loading:"Carregando, por favor espere ..."},hr:{titlePlayerWithdrawal:"Isplata",loading:"Učitavanje"},"en-us":{titlePlayerWithdrawal:"Withdrawal",loading:"Loading, please wait ..."}};function I(l){e.append_styles(l,"svelte-19p9ovb","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.WithdrawalWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.WithdrawalWrapper.WithdrawalWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.WithdrawalTitleMobile{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}")}function U(l){let t,a,s,n,c,h,d,m,g,o,i=l[3]("titlePlayerWithdrawal")+"",u,p,f;return{c(){t=e.element("div"),a=e.svg_element("svg"),s=e.svg_element("defs"),n=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),h=e.svg_element("g"),d=e.svg_element("g"),m=e.svg_element("path"),g=e.space(),o=e.element("h2"),u=e.text(i),e.attr(m,"class","aaa"),e.attr(m,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(m,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(h,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(o,"class","WithdrawalTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(b,_){e.insert(b,t,_),e.append(t,a),e.append(a,s),e.append(s,n),e.append(n,c),e.append(a,h),e.append(h,d),e.append(d,m),e.append(t,g),e.append(t,o),e.append(o,u),p||(f=e.listen(t,"click",l[16]),p=!0)},p(b,_){_&8&&i!==(i=b[3]("titlePlayerWithdrawal")+"")&&e.set_data(u,i)},d(b){b&&e.detach(t),p=!1,f()}}}function j(l){let t,a,s;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,s=l[2])||e.attr(a,"src",s),e.attr(a,"title","Withdrawal Iframe"),e.attr(t,"class","WithdrawalIframeWrapper")},m(n,c){e.insert(n,t,c),e.append(t,a)},p(n,c){c&4&&!e.src_url_equal(a.src,s=n[2])&&e.attr(a,"src",s)},d(n){n&&e.detach(t)}}}function z(l){let t,a=l[3]("loading")+"",s;return{c(){t=e.element("p"),s=e.text(a)},m(n,c){e.insert(n,t,c),e.append(t,s)},p(n,c){c&8&&a!==(a=n[3]("loading")+"")&&e.set_data(s,a)},d(n){n&&e.detach(t)}}}function A(l){let t,a,s,n=l[3]("titlePlayerWithdrawal")+"",c,h,d=l[4]&&U(l);function m(i,u){return i[1]?z:j}let g=m(l),o=g(l);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),s=e.element("h2"),c=e.text(n),h=e.space(),o.c(),e.attr(s,"class","WithdrawalTitle "+(l[4]?"WithdrawalTitleNone":"")),e.attr(t,"class","WithdrawalWrapper "+(l[4]?"WithdrawalWrapperMobile":""))},m(i,u){e.insert(i,t,u),d&&d.m(t,null),e.append(t,a),e.append(t,s),e.append(s,c),e.append(t,h),o.m(t,null),l[17](t)},p(i,[u]){i[4]&&d.p(i,u),u&8&&n!==(n=i[3]("titlePlayerWithdrawal")+"")&&e.set_data(c,n),g===(g=m(i))&&o?o.p(i,u):(o.d(1),o=g(i),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(i){i&&e.detach(t),d&&d.d(),o.d(),l[17](null)}}}function G(l,t,a){let s;e.component_subscribe(l,e.$format,r=>a(3,s=r));let{endpoint:n=""}=t,{session:c=""}=t,{playerid:h=""}=t,{lang:d="en"}=t,{hasdefaultamount:m=""}=t,{clientstyling:g=""}=t,{clientstylingurl:o=""}=t,{mbsource:i}=t,{translationurl:u=""}=t,{currency:p=""}=t,f,b=window.navigator.userAgent,_=e.getDevice(b)!=="PC",W=!0,v=0,k="";const C=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(y=>{P(y,w[y])})}).catch(w=>{console.log(w)})};Object.keys(S).forEach(r=>{P(r,S[r])});const M=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:_},window.location.href)},x=r=>{if(r.data){switch(r.data.type){case"ProfileDetailsData":a(6,p=r.data.profileDetails.currency);break}switch(r.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break}}},R=()=>{let r=new URL(`${n}/v1/player/${h}/hostedcashier/initializewithdraw`);if(r.searchParams.append("language",d),m)switch(p){case"USD":v=.4;break;case"CDF":v=1e3;break}let w={method:"POST",headers:{"X-SessionId":c,currency:p||"EUR",amount:v,cashierMode:"Default",IsShortCashier:!1,accept:"application/json"}};fetch(r.href,w).then(y=>y.json()).then(y=>{a(1,W=!1),a(2,k=y.CashierUrl)},y=>{console.error(y)})},L=()=>{D(d)};e.onMount(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}));const B=()=>M();function E(r){e.binding_callbacks[r?"unshift":"push"](()=>{f=r,a(0,f)})}return l.$$set=r=>{"endpoint"in r&&a(7,n=r.endpoint),"session"in r&&a(8,c=r.session),"playerid"in r&&a(9,h=r.playerid),"lang"in r&&a(10,d=r.lang),"hasdefaultamount"in r&&a(11,m=r.hasdefaultamount),"clientstyling"in r&&a(12,g=r.clientstyling),"clientstylingurl"in r&&a(13,o=r.clientstylingurl),"mbsource"in r&&a(14,i=r.mbsource),"translationurl"in r&&a(15,u=r.translationurl),"currency"in r&&a(6,p=r.currency)},l.$$.update=()=>{l.$$.dirty&1024&&d&&L(),l.$$.dirty&4097&&g&&f&&e.setClientStyling(f,g),l.$$.dirty&8193&&o&&f&&e.setClientStylingURL(f,o),l.$$.dirty&16385&&i&&f&&e.setStreamStyling(f,`${i}.Style`),l.$$.dirty&32768&&u&&C(),l.$$.dirty&1984&&c&&h&&n&&p&&d&&R()},[f,W,k,s,_,M,p,n,c,h,d,m,g,o,i,u,B,E]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,G,A,e.safe_not_equal,{endpoint:7,session:8,playerid:9,lang:10,hasdefaultamount:11,clientstyling:12,clientstylingurl:13,mbsource:14,translationurl:15,currency:6},I)}get endpoint(){return this.$$.ctx[7]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[8]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[9]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[11]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[6]}set currency(t){this.$$set({currency:t}),e.flush()}}e.create_custom_element(T,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},currency:{}},[],[],!0);exports.default=T;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountControllerNd-CjX_5nyS.cjs")).then(({default:t})=>{!customElements.get("player-account-controller-nd")&&customElements.define("player-account-controller-nd",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountControllerNd-DaC8DFbI.cjs")).then(({default:t})=>{!customElements.get("player-account-controller-nd")&&customElements.define("player-account-controller-nd",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/PlayerAccountControllerNd-CzhD1On9.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/PlayerAccountControllerNd-DT1zgS33.js").then(({ default: t }) => {
14
14
  !customElements.get("player-account-controller-nd") && customElements.define("player-account-controller-nd", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { P as r } from "../components/PlayerAccountControllerNd-DWpHqrim.js";
1
+ import { P as r } from "../components/PlayerAccountControllerNd-DiPqm9wR.js";
2
2
  function s(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-account-controller-nd",
3
- "version": "1.74.1",
3
+ "version": "1.74.3",
4
4
  "type": "module",
5
5
  "main": "es2015/player-account-controller-nd.cjs",
6
6
  "module": "esnext/player-account-controller-nd.js",