@everymatrix/player-account-controller 1.94.3 → 1.94.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/components/{GeneralLogout-MWlMEMui.cjs → GeneralLogout-CnVAejR5.cjs} +1 -1
  2. package/components/{GeneralLogout-C1KWLRvw.js → GeneralLogout-kTqNTgvC.js} +53 -53
  3. package/components/{GeneralLogout-CiQVyfJR.js → GeneralLogout-zgSN4JXC.js} +69 -69
  4. package/components/{PlayerAccountBettingHistory-Bzn7zhTv.cjs → PlayerAccountBettingHistory-BWmHoBAe.cjs} +1 -1
  5. package/components/{PlayerAccountBettingHistory-DJpEA4l1.js → PlayerAccountBettingHistory-CMXH0Rg-.js} +27 -27
  6. package/components/{PlayerAccountBettingHistory-D4JNMX1U.js → PlayerAccountBettingHistory-CPbEbbHQ.js} +24 -24
  7. package/components/{PlayerAccountBiometrics-CZxJ6eg9.js → PlayerAccountBiometrics-Btxg2ReE.js} +29 -29
  8. package/components/{PlayerAccountBiometrics-CZ77Ztyc.js → PlayerAccountBiometrics-C3OhQX00.js} +29 -29
  9. package/components/{PlayerAccountBiometrics-DipOuxL2.cjs → PlayerAccountBiometrics-NRYQDR1V.cjs} +1 -1
  10. package/components/{PlayerAccountBiometricsAction-DkSGBqQr.cjs → PlayerAccountBiometricsAction-B94gsCP8.cjs} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-iH61eCKz.js → PlayerAccountBiometricsAction-BpWHzxpk.js} +20 -20
  12. package/components/{PlayerAccountBiometricsAction-BCxooM-G.js → PlayerAccountBiometricsAction-_fvfCCxj.js} +29 -29
  13. package/components/{PlayerAccountClosure-DFqXIXbP.js → PlayerAccountClosure-C1d0pUoW.js} +8 -8
  14. package/components/{PlayerAccountClosure-DYqfecjB.cjs → PlayerAccountClosure-C49V_7aD.cjs} +1 -1
  15. package/components/{PlayerAccountClosure-qSDghXQE.js → PlayerAccountClosure-C4jgSJYP.js} +24 -24
  16. package/components/{PlayerAccountController-SYnkGtb2.js → PlayerAccountController-Bd-Ammrb.js} +88 -88
  17. package/components/{PlayerAccountController-Dp_erLKA.js → PlayerAccountController-C6MS18Sd.js} +88 -88
  18. package/components/{PlayerAccountController-D-iw4Gm1.cjs → PlayerAccountController-CPE5eIap.cjs} +2 -2
  19. package/components/{PlayerAccountGamingLimits-COyTX71p.js → PlayerAccountGamingLimits-CCe9uOfh.js} +32 -32
  20. package/components/{PlayerAccountGamingLimits-B15eCgme.cjs → PlayerAccountGamingLimits-T7LipEE_.cjs} +1 -1
  21. package/components/{PlayerAccountGamingLimits-CQY0G_uB.js → PlayerAccountGamingLimits-chP_kSHR.js} +30 -30
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-Cm-RQN5t.js → PlayerAccountGamingLimitsConfirmationModal-BfjfP8D_.js} +25 -25
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-BH0OV5eK.cjs → PlayerAccountGamingLimitsConfirmationModal-CWtPbAJA.cjs} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-Dc3s4o1Q.js → PlayerAccountGamingLimitsConfirmationModal-OxqOTLbT.js} +34 -34
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-fH4M7tFv.js → PlayerAccountGamingLimitsGroupEdit-B6jYzCP7.js} +47 -47
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-C8v4nT2e.cjs → PlayerAccountGamingLimitsGroupEdit-BJeQE4sA.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-BVUUAj2h.js → PlayerAccountGamingLimitsGroupEdit-DFKPrpCJ.js} +47 -47
  28. package/components/{PlayerAccountGamingLimitsHistory2-CqD-ISyD.js → PlayerAccountGamingLimitsHistory2-BmfZwZgM.js} +35 -35
  29. package/components/{PlayerAccountGamingLimitsHistory2-Dzh-CQXK.js → PlayerAccountGamingLimitsHistory2-BqwQ-RB0.js} +45 -45
  30. package/components/{PlayerAccountGamingLimitsHistory2-CBlHRmrE.cjs → PlayerAccountGamingLimitsHistory2-yyHOWMEJ.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-DKRI7D9w.js → PlayerAccountGamingLimitsInfoCard-CRZKXfQf.js} +4 -4
  32. package/components/{PlayerAccountGamingLimitsInfoCard-DOkGyTOt.js → PlayerAccountGamingLimitsInfoCard-DgtRTtMC.js} +4 -4
  33. package/components/{PlayerAccountGamingLimitsInfoCard-Doajed3W.cjs → PlayerAccountGamingLimitsInfoCard-Tofo4vZN.cjs} +1 -1
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-P5RWYm8p.cjs → PlayerAccountGamingLimitsPage2Gm16-B_y_Eo11.cjs} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-PV8PjIQg.js → PlayerAccountGamingLimitsPage2Gm16-D5TyY7Fa.js} +105 -105
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-BBUHxhmC.js → PlayerAccountGamingLimitsPage2Gm16-zj-tjh23.js} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-tZb8farN.cjs → PlayerAccountGamingLimitsPopup-CrmeCoDe.cjs} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-_7IgGj19.js → PlayerAccountGamingLimitsPopup-DeQD-dRc.js} +15 -15
  39. package/components/{PlayerAccountGamingLimitsPopup-CyFgSuiz.js → PlayerAccountGamingLimitsPopup-XYvk39nq.js} +19 -19
  40. package/components/{PlayerAccountGamingLimitsWrapper2-C44qlMd9.cjs → PlayerAccountGamingLimitsWrapper2-BIOoxplS.cjs} +1 -1
  41. package/components/{PlayerAccountGamingLimitsWrapper2-CN0ni_t1.js → PlayerAccountGamingLimitsWrapper2-DNUy1TDd.js} +58 -58
  42. package/components/{PlayerAccountGamingLimitsWrapper2-C3jtv8xY.js → PlayerAccountGamingLimitsWrapper2-UCXXUa_j.js} +54 -54
  43. package/components/{PlayerAccountGeneralConfirmationModal-DCeF6KK8.js → PlayerAccountGeneralConfirmationModal-BJ5GkodH.js} +35 -35
  44. package/components/{PlayerAccountGeneralConfirmationModal-Bt6qRu6u.cjs → PlayerAccountGeneralConfirmationModal-DM0WWO2-.cjs} +1 -1
  45. package/components/{PlayerAccountGeneralConfirmationModal-BddPCP6_.js → PlayerAccountGeneralConfirmationModal-DUbqZsUq.js} +38 -38
  46. package/components/{PlayerAccountMenu-DusUWIlC.js → PlayerAccountMenu-C3r2hbOd.js} +23 -23
  47. package/components/{PlayerAccountMenu-BxliWxSX.js → PlayerAccountMenu-CjkwZGQ-.js} +23 -23
  48. package/components/{PlayerAccountMenu-BwFD7onO.cjs → PlayerAccountMenu-D7KXle_O.cjs} +1 -1
  49. package/components/{PlayerAccountModal-BsKMrXHH.js → PlayerAccountModal-CmOPmRtc.js} +51 -51
  50. package/components/{PlayerAccountModal-BpsSzItd.cjs → PlayerAccountModal-Dju6j_C4.cjs} +1 -1
  51. package/components/{PlayerAccountModal-NtKRkErX.js → PlayerAccountModal-rB45bRsX.js} +55 -55
  52. package/components/{PlayerAccountNotifications-Dc_zKmh_.js → PlayerAccountNotifications-BA8xOkk7.js} +29 -29
  53. package/components/{PlayerAccountNotifications-2m5scfUL.js → PlayerAccountNotifications-BHkmggUK.js} +88 -88
  54. package/components/{PlayerAccountNotifications-CHvVDz-S.cjs → PlayerAccountNotifications-BNWMouzN.cjs} +1 -1
  55. package/components/{PlayerAccountProductRestriction-DJV7kbl0.js → PlayerAccountProductRestriction-B9Wce-J2.js} +3 -3
  56. package/components/{PlayerAccountProductRestriction-_aL_JwHJ.js → PlayerAccountProductRestriction-CeJ8nyQV.js} +3 -3
  57. package/components/{PlayerAccountProductRestriction-B8RqVuaM.cjs → PlayerAccountProductRestriction-DfSfUmAF.cjs} +1 -1
  58. package/components/{PlayerAccountReviewFrequency-NZLIic5S.cjs → PlayerAccountReviewFrequency-CqsHl6Q3.cjs} +1 -1
  59. package/components/{PlayerAccountReviewFrequency-DNUAgwcU.js → PlayerAccountReviewFrequency-D14a7YnP.js} +31 -31
  60. package/components/{PlayerAccountReviewFrequency-BhAACqPf.js → PlayerAccountReviewFrequency-DdXg8T1C.js} +30 -30
  61. package/components/{PlayerAccountSelfExclusion-AyC4-RDs.js → PlayerAccountSelfExclusion-ANDK6YB8.js} +99 -99
  62. package/components/{PlayerAccountSelfExclusion-tGBZuvd4.cjs → PlayerAccountSelfExclusion-MJhERUGk.cjs} +1 -1
  63. package/components/{PlayerAccountSelfExclusion-hGTAvkjG.js → PlayerAccountSelfExclusion-X4m9-Wif.js} +86 -86
  64. package/components/{PlayerAccountTimeout-B_8NcUA8.cjs → PlayerAccountTimeout-Ao1JVo5-.cjs} +3 -3
  65. package/components/{PlayerAccountTimeout--0cBq2Kg.js → PlayerAccountTimeout-DW_64okl.js} +4 -4
  66. package/components/{PlayerAccountTimeout-6FD2Lwiw.js → PlayerAccountTimeout-IFygbRsF.js} +4 -4
  67. package/components/{PlayerAccountTransactionsHistory-C5mRRE_D.js → PlayerAccountTransactionsHistory-BH_S2QvH.js} +36 -36
  68. package/components/{PlayerAccountTransactionsHistory-C5oNPHOx.js → PlayerAccountTransactionsHistory-DOmEjYBs.js} +35 -35
  69. package/components/{PlayerAccountTransactionsHistory-DE8XgXFB.cjs → PlayerAccountTransactionsHistory-cMyiqG_0.cjs} +1 -1
  70. package/components/{PlayerActiveBonuses-BZtVJ0tO.js → PlayerActiveBonuses-BN5q9S2-.js} +212 -212
  71. package/components/{PlayerActiveBonuses-DtdcEwRk.cjs → PlayerActiveBonuses-BOFs5nLV.cjs} +1 -1
  72. package/components/{PlayerActiveBonuses-C2htEcPk.js → PlayerActiveBonuses-DDyHb_RP.js} +208 -208
  73. package/components/{PlayerBonusCard-DFd45Hiy.js → PlayerBonusCard-BQAGPKpP.js} +47 -47
  74. package/components/{PlayerBonusCard-CCyXYxHk.js → PlayerBonusCard-Bpm8P9Sa.js} +47 -47
  75. package/components/{PlayerBonusCard-BDsAdzuV.cjs → PlayerBonusCard-CYIktzur.cjs} +1 -1
  76. package/components/{PlayerBonusHistory-DXHnya6D.cjs → PlayerBonusHistory-D1ZIKvKy.cjs} +2 -2
  77. package/components/{PlayerBonusHistory-DNrE8L0N.js → PlayerBonusHistory-DBtOIHzS.js} +3 -3
  78. package/components/{PlayerBonusHistory-Dl3OhBaM.js → PlayerBonusHistory-k7HL08qe.js} +3 -3
  79. package/components/{PlayerChangePassword-CfYOw08o.js → PlayerChangePassword-BJkTqzxD.js} +71 -71
  80. package/components/{PlayerChangePassword-KWET13cT.js → PlayerChangePassword-BUai6xC1.js} +71 -71
  81. package/components/{PlayerChangePassword-Cov4z9CH.cjs → PlayerChangePassword-DoWdtlBb.cjs} +1 -1
  82. package/components/{PlayerDeposit-VlR9R2HM.cjs → PlayerDeposit-BDODxxlC.cjs} +1 -1
  83. package/components/{PlayerDeposit-DnJa8Yl3.js → PlayerDeposit-C0XRt5EK.js} +24 -24
  84. package/components/{PlayerDeposit-B2ac6D8s.js → PlayerDeposit-CLyGovJD.js} +28 -28
  85. package/components/{PlayerGamingHistory-DCnHiCje.js → PlayerGamingHistory-BsHSSyhU.js} +94 -94
  86. package/components/{PlayerGamingHistory-CViEAUHh.cjs → PlayerGamingHistory-DdUzR5OW.cjs} +1 -1
  87. package/components/{PlayerGamingHistory-DEZMZgyp.js → PlayerGamingHistory-m0lb-SaP.js} +114 -114
  88. package/components/{PlayerPendingWithdrawals-DnIuozwG.cjs → PlayerPendingWithdrawals-3U8OWD5l.cjs} +1 -1
  89. package/components/{PlayerPendingWithdrawals-RKAmjSTJ.js → PlayerPendingWithdrawals-BvhroTya.js} +30 -30
  90. package/components/{PlayerPendingWithdrawals-ID5cnEfB.js → PlayerPendingWithdrawals-CavqhbX6.js} +34 -34
  91. package/components/{PlayerProfileInfo-B8b5KNTI.cjs → PlayerProfileInfo-BKKrxITi.cjs} +1 -1
  92. package/components/{PlayerProfileInfo-BvAv9pYw.js → PlayerProfileInfo-DejS3qt9.js} +364 -364
  93. package/components/{PlayerProfileInfo-D7Lgohmb.js → PlayerProfileInfo-DrBabxG-.js} +342 -342
  94. package/components/{PlayerRealityCheck-C-6W6BY0.cjs → PlayerRealityCheck-BP88i1lx.cjs} +1 -1
  95. package/components/{PlayerRealityCheck-C0Y1Zl_P.js → PlayerRealityCheck-DcTKJjjQ.js} +55 -55
  96. package/components/{PlayerRealityCheck-7fVeEeFe.js → PlayerRealityCheck-DefrXfkM.js} +54 -54
  97. package/components/{PlayerTransactionHistory-ClwBJKRp.js → PlayerTransactionHistory-4CZSZQMz.js} +31 -31
  98. package/components/{PlayerTransactionHistory-dWDqxRu8.cjs → PlayerTransactionHistory-B-WtWjm5.cjs} +1 -1
  99. package/components/{PlayerTransactionHistory-G98VK3oH.js → PlayerTransactionHistory-DTSGZtwn.js} +44 -44
  100. package/components/{PlayerWithdrawal-jAhz1Aeb.js → PlayerWithdrawal-C4-ZL4z5.js} +25 -25
  101. package/components/{PlayerWithdrawal-FJUVucSx.js → PlayerWithdrawal-DAU0uggw.js} +25 -25
  102. package/components/{PlayerWithdrawal-VlKyb1Pk.cjs → PlayerWithdrawal-DI7dGjmC.cjs} +1 -1
  103. package/components/{QrSessionGenerator-DttwdIra.js → QrSessionGenerator-BMd3QegI.js} +48 -48
  104. package/components/{QrSessionGenerator-CUbR8FbA.js → QrSessionGenerator-CGtWSfMU.js} +37 -37
  105. package/components/{QrSessionGenerator-ce2wxm3H.cjs → QrSessionGenerator-fnnwM7n6.cjs} +1 -1
  106. package/es2015/player-account-controller.cjs +1 -1
  107. package/es2015/player-account-controller.js +1 -1
  108. package/esnext/player-account-controller.js +1 -1
  109. package/package.json +1 -1
  110. package/stencil/{checkbox-group-input_16-_13Kv9Zi.js → checkbox-group-input_16-BMVEaVtV.js} +4 -4
  111. package/stencil/{checkbox-group-input_16-BClc1QAF.js → checkbox-group-input_16-C6fU4lxi.js} +4 -4
  112. package/stencil/{checkbox-group-input_16-BzGXxdU9.cjs → checkbox-group-input_16-DTlEvXD1.cjs} +2 -2
  113. package/stencil/{index-6e523641-CqeGydRJ.cjs → index-6e523641-CHZRFi0W.cjs} +1 -1
  114. package/stencil/{index-6e523641-txnZxPs0.js → index-6e523641-CzpA6fqp.js} +1 -1
  115. package/stencil/{index-6e523641-M8saYcGO.js → index-6e523641-n8F0I2Fs.js} +1 -1
  116. package/stencil/{index-7469517b-Bmgiy_n-.js → index-7469517b-BFmBiraV.js} +1 -1
  117. package/stencil/{index-7469517b-ulg1Qmdy.js → index-7469517b-CCwm-ipO.js} +1 -1
  118. package/stencil/{index-7469517b-8Vfz7n3C.cjs → index-7469517b-DxaDYmkD.cjs} +1 -1
  119. package/stencil/{index-9c0f6c58-DlXOBm1V.cjs → index-9c0f6c58-CLDl-isE.cjs} +1 -1
  120. package/stencil/{index-9c0f6c58-BLHPAiHp.js → index-9c0f6c58-CeHgKkkN.js} +1 -1
  121. package/stencil/{index-9c0f6c58-Dt7MQ5_j.js → index-9c0f6c58-DGo4u6sZ.js} +1 -1
  122. package/stencil/{pam-change-password-259289fa-CR3dv02q.cjs → pam-change-password-259289fa-B5K_myvf.cjs} +1 -1
  123. package/stencil/{pam-change-password-259289fa-7sJvUi0P.js → pam-change-password-259289fa-B_ApylOR.js} +3 -3
  124. package/stencil/{pam-change-password-259289fa-DvjX931m.js → pam-change-password-259289fa-DJ_lsyvr.js} +3 -3
  125. package/stencil/{pam-change-password-BiAsiO8l.js → pam-change-password-BOIp7Ttz.js} +1 -1
  126. package/stencil/{pam-change-password-DnCN0UHR.cjs → pam-change-password-C4n9m8Jg.cjs} +1 -1
  127. package/stencil/{pam-change-password-Dil_uhA4.js → pam-change-password-DH0owsL8.js} +1 -1
  128. package/stencil/player-kyc-verification-9Ic-jm7L.cjs +210 -0
  129. package/stencil/{player-kyc-verification-BhngQMYp.js → player-kyc-verification-ByWsZG6l.js} +20 -15
  130. package/stencil/{player-kyc-verification-BO_q93r0.js → player-kyc-verification-Cm-zE62-.js} +20 -15
  131. package/stencil/{user-transaction-history-CZc5JwuK.cjs → user-transaction-history-CH5LwNcg.cjs} +1 -1
  132. package/stencil/{user-transaction-history-CQl_PHMr.js → user-transaction-history-DF87ngqZ.js} +1 -1
  133. package/stencil/{user-transaction-history-DObkYfdi.js → user-transaction-history-p2F_rXVi.js} +1 -1
  134. package/stencil/{user-transaction-history_2-CoqbioXa.cjs → user-transaction-history_2--tfZWSJL.cjs} +2 -2
  135. package/stencil/{user-transaction-history_2-C2zT8Uc5.js → user-transaction-history_2-CanvRRkc.js} +2 -2
  136. package/stencil/{user-transaction-history_2-Bl8RpF35.js → user-transaction-history_2-ChdfveXx.js} +2 -2
  137. package/stencil/player-kyc-verification-ISE1zaDp.cjs +0 -210
@@ -1,11 +1,11 @@
1
- import { a as q, $ as F, S as O, i as D, s as G, f as H, b as V, n as z, d as M, u as L, e as S, p as g, g as v, q as C, v as x, t as d, h as X, j as Z, o as J, x as K, y as b, k as Q, z as A, B as Y, C as $, D as tt, c as et, A as it } from "./PlayerAccountController-SYnkGtb2.js";
2
- function E(i, t) {
1
+ import { c as q, b as F, S as O, B as D, Q as V, t as H, f as G, J as E, p as M, Y as L, D as S, e as g, q as w, a0 as C, a3 as x, g as d, k as J, w as Q, M as X, I as Y, a2 as b, h as Z, a1 as I, U as K, V as $, W as tt, m as et, a as it } from "./PlayerAccountController-Bd-Ammrb.js";
2
+ function W(i, t) {
3
3
  q(i, t);
4
4
  }
5
5
  function rt(i) {
6
6
  F.set(i);
7
7
  }
8
- const I = {
8
+ const z = {
9
9
  en: {
10
10
  titleTransactionHistory: "Transaction History",
11
11
  loading: "Loading, please wait ..."
@@ -48,27 +48,27 @@ const I = {
48
48
  }
49
49
  };
50
50
  function nt(i) {
51
- V(i, "svelte-1v10tii", ".TransactionHistoryWrapper{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%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.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))}.TransactionHistoryTitle{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)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}");
51
+ G(i, "svelte-1v10tii", ".TransactionHistoryWrapper{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%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.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))}.TransactionHistoryTitle{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)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}");
52
52
  }
53
53
  function at(i) {
54
- let t, e, s, n, c, f, u, y, m, o, a = (
54
+ let t, e, s, n, c, m, u, y, f, o, a = (
55
55
  /*$_*/
56
56
  i[3]("titleTransactionHistory") + ""
57
57
  ), l, _, k;
58
58
  return {
59
59
  c() {
60
- t = v("div"), e = b("svg"), s = b("defs"), n = b("style"), c = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), f = b("g"), u = b("g"), y = b("path"), m = C(), o = v("h2"), l = x(a), d(y, "class", "aaa"), d(y, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(y, "transform", "translate(15 15) rotate(180)"), d(u, "transform", "translate(20 158)"), d(f, "transform", "translate(-20 -158)"), d(e, "xmlns", "http://www.w3.org/2000/svg"), d(e, "width", "15"), d(e, "height", "15"), d(e, "viewBox", "0 0 15 15"), d(o, "class", "TransactionHistoryTitleMobile"), d(t, "class", "MenuReturnButton");
60
+ t = w("div"), e = b("svg"), s = b("defs"), n = b("style"), c = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = b("g"), u = b("g"), y = b("path"), f = C(), o = w("h2"), l = x(a), d(y, "class", "aaa"), d(y, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(y, "transform", "translate(15 15) rotate(180)"), d(u, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(e, "xmlns", "http://www.w3.org/2000/svg"), d(e, "width", "15"), d(e, "height", "15"), d(e, "viewBox", "0 0 15 15"), d(o, "class", "TransactionHistoryTitleMobile"), d(t, "class", "MenuReturnButton");
61
61
  },
62
- m(p, w) {
63
- S(p, t, w), g(t, e), g(e, s), g(s, n), g(n, c), g(e, f), g(f, u), g(u, y), g(t, m), g(t, o), g(o, l), _ || (k = K(
62
+ m(p, v) {
63
+ S(p, t, v), g(t, e), g(e, s), g(s, n), g(n, c), g(e, m), g(m, u), g(u, y), g(t, f), g(t, o), g(o, l), _ || (k = Y(
64
64
  t,
65
65
  "click",
66
66
  /*click_handler*/
67
67
  i[14]
68
68
  ), _ = !0);
69
69
  },
70
- p(p, w) {
71
- w & /*$_*/
70
+ p(p, v) {
71
+ v & /*$_*/
72
72
  8 && a !== (a = /*$_*/
73
73
  p[3]("titleTransactionHistory") + "") && L(l, a);
74
74
  },
@@ -81,7 +81,7 @@ function st(i) {
81
81
  let t, e, s;
82
82
  return {
83
83
  c() {
84
- t = v("div"), e = v("iframe"), A(e.src, s = /*iframeUrl*/
84
+ t = w("div"), e = w("iframe"), I(e.src, s = /*iframeUrl*/
85
85
  i[2]) || d(e, "src", s), d(e, "title", "Transaction History Iframe"), d(t, "class", "TransactionHistoryIframeWrapper");
86
86
  },
87
87
  m(n, c) {
@@ -89,7 +89,7 @@ function st(i) {
89
89
  },
90
90
  p(n, c) {
91
91
  c & /*iframeUrl*/
92
- 4 && !A(e.src, s = /*iframeUrl*/
92
+ 4 && !I(e.src, s = /*iframeUrl*/
93
93
  n[2]) && d(e, "src", s);
94
94
  },
95
95
  d(n) {
@@ -104,7 +104,7 @@ function ot(i) {
104
104
  ), s;
105
105
  return {
106
106
  c() {
107
- t = v("p"), s = x(e);
107
+ t = w("p"), s = x(e);
108
108
  },
109
109
  m(n, c) {
110
110
  S(n, t, c), g(t, s);
@@ -123,7 +123,7 @@ function lt(i) {
123
123
  let t, e, s, n = (
124
124
  /*$_*/
125
125
  i[3]("titleTransactionHistory") + ""
126
- ), c, f, u = (
126
+ ), c, m, u = (
127
127
  /*isMobile*/
128
128
  i[4] && at(i)
129
129
  );
@@ -133,24 +133,24 @@ function lt(i) {
133
133
  a[1] ? ot : st
134
134
  );
135
135
  }
136
- let m = y(i), o = m(i);
136
+ let f = y(i), o = f(i);
137
137
  return {
138
138
  c() {
139
- t = v("div"), u && u.c(), e = C(), s = v("h2"), c = x(n), f = C(), o.c(), d(s, "class", "TransactionHistoryTitle " + /*isMobile*/
139
+ t = w("div"), u && u.c(), e = C(), s = w("h2"), c = x(n), m = C(), o.c(), d(s, "class", "TransactionHistoryTitle " + /*isMobile*/
140
140
  (i[4] ? "TransactionHistoryTitleNone" : "")), d(t, "class", "TransactionHistoryWrapper " + /*isMobile*/
141
141
  (i[4] ? "TransactionHistoryWrapperMobile" : ""));
142
142
  },
143
143
  m(a, l) {
144
- S(a, t, l), u && u.m(t, null), g(t, e), g(t, s), g(s, c), g(t, f), o.m(t, null), i[15](t);
144
+ S(a, t, l), u && u.m(t, null), g(t, e), g(t, s), g(s, c), g(t, m), o.m(t, null), i[15](t);
145
145
  },
146
146
  p(a, [l]) {
147
147
  /*isMobile*/
148
148
  a[4] && u.p(a, l), l & /*$_*/
149
149
  8 && n !== (n = /*$_*/
150
- a[3]("titleTransactionHistory") + "") && L(c, n), m === (m = y(a)) && o ? o.p(a, l) : (o.d(1), o = m(a), o && (o.c(), o.m(t, null)));
150
+ a[3]("titleTransactionHistory") + "") && L(c, n), f === (f = y(a)) && o ? o.p(a, l) : (o.d(1), o = f(a), o && (o.c(), o.m(t, null)));
151
151
  },
152
- i: z,
153
- o: z,
152
+ i: E,
153
+ o: E,
154
154
  d(a) {
155
155
  a && M(t), u && u.d(), o.d(), i[15](null);
156
156
  }
@@ -158,19 +158,19 @@ function lt(i) {
158
158
  }
159
159
  function ct(i, t, e) {
160
160
  let s;
161
- X(i, it, (r) => e(3, s = r));
162
- let { endpoint: n = "" } = t, { session: c = "" } = t, { playerid: f = "" } = t, { lang: u = "en" } = t, { clientstyling: y = "" } = t, { clientstylingurl: m = "" } = t, { mbsource: o } = t, { translationurl: a = "" } = t, l, _, k = window.navigator.userAgent, p = Z(k) !== "PC", w = !0, B = "";
163
- const W = () => {
161
+ J(i, it, (r) => e(3, s = r));
162
+ let { endpoint: n = "" } = t, { session: c = "" } = t, { playerid: m = "" } = t, { lang: u = "en" } = t, { clientstyling: y = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: o } = t, { translationurl: a = "" } = t, l, _, k = window.navigator.userAgent, p = Q(k) !== "PC", v = !0, B = "";
163
+ const A = () => {
164
164
  fetch(a).then((h) => h.json()).then((h) => {
165
165
  Object.keys(h).forEach((T) => {
166
- E(T, h[T]);
166
+ W(T, h[T]);
167
167
  });
168
168
  }).catch((h) => {
169
169
  console.log(h);
170
170
  });
171
171
  };
172
- Object.keys(I).forEach((r) => {
173
- E(r, I[r]);
172
+ Object.keys(z).forEach((r) => {
173
+ W(r, z[r]);
174
174
  });
175
175
  const j = () => {
176
176
  window.postMessage(
@@ -180,8 +180,8 @@ function ct(i, t, e) {
180
180
  },
181
181
  window.location.href
182
182
  );
183
- }, P = () => {
184
- let r = new URL(`${n}/v1/player/${f}/hostedcashier/customertransactionhistoryurl`);
183
+ }, U = () => {
184
+ let r = new URL(`${n}/v1/player/${m}/hostedcashier/customertransactionhistoryurl`);
185
185
  r.searchParams.append("language", u);
186
186
  let h = {
187
187
  method: "GET",
@@ -192,49 +192,49 @@ function ct(i, t, e) {
192
192
  };
193
193
  fetch(r.href, h).then((T) => T.json()).then(
194
194
  (T) => {
195
- e(1, w = !1), e(2, B = T.CashierUrl);
195
+ e(1, v = !1), e(2, B = T.CashierUrl);
196
196
  },
197
197
  (T) => {
198
198
  console.error(T);
199
199
  }
200
200
  );
201
- }, R = () => {
201
+ }, P = () => {
202
202
  rt(u);
203
203
  };
204
- J(() => () => {
204
+ X(() => () => {
205
205
  });
206
- const U = () => j();
206
+ const R = () => j();
207
207
  function N(r) {
208
- Q[r ? "unshift" : "push"](() => {
208
+ Z[r ? "unshift" : "push"](() => {
209
209
  l = r, e(0, l);
210
210
  });
211
211
  }
212
212
  return i.$$set = (r) => {
213
- "endpoint" in r && e(6, n = r.endpoint), "session" in r && e(7, c = r.session), "playerid" in r && e(8, f = r.playerid), "lang" in r && e(9, u = r.lang), "clientstyling" in r && e(10, y = r.clientstyling), "clientstylingurl" in r && e(11, m = r.clientstylingurl), "mbsource" in r && e(12, o = r.mbsource), "translationurl" in r && e(13, a = r.translationurl);
213
+ "endpoint" in r && e(6, n = r.endpoint), "session" in r && e(7, c = r.session), "playerid" in r && e(8, m = r.playerid), "lang" in r && e(9, u = r.lang), "clientstyling" in r && e(10, y = r.clientstyling), "clientstylingurl" in r && e(11, f = r.clientstylingurl), "mbsource" in r && e(12, o = r.mbsource), "translationurl" in r && e(13, a = r.translationurl);
214
214
  }, i.$$.update = () => {
215
215
  i.$$.dirty & /*lang*/
216
- 512 && u && R(), i.$$.dirty & /*session, playerid, endpoint, lang*/
217
- 960 && c && f && n && u && P(), i.$$.dirty & /*clientstyling, customStylingContainer*/
218
- 1025 && y && l && Y(l, y), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
219
- 2049 && m && l && $(l, m), i.$$.dirty & /*mbsource, customStylingContainer*/
216
+ 512 && u && P(), i.$$.dirty & /*session, playerid, endpoint, lang*/
217
+ 960 && c && m && n && u && U(), i.$$.dirty & /*clientstyling, customStylingContainer*/
218
+ 1025 && y && l && K(l, y), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
219
+ 2049 && f && l && $(l, f), i.$$.dirty & /*mbsource, customStylingContainer*/
220
220
  4097 && o && l && tt(l, `${o}.Style`, _), i.$$.dirty & /*translationurl*/
221
- 8192 && a && W();
221
+ 8192 && a && A();
222
222
  }, [
223
223
  l,
224
- w,
224
+ v,
225
225
  B,
226
226
  s,
227
227
  p,
228
228
  j,
229
229
  n,
230
230
  c,
231
- f,
231
+ m,
232
232
  u,
233
233
  y,
234
- m,
234
+ f,
235
235
  o,
236
236
  a,
237
- U,
237
+ R,
238
238
  N
239
239
  ];
240
240
  }
@@ -245,7 +245,7 @@ class ut extends O {
245
245
  t,
246
246
  ct,
247
247
  lt,
248
- G,
248
+ V,
249
249
  {
250
250
  endpoint: 6,
251
251
  session: 7,
@@ -1,5 +1,5 @@
1
- import { a as q, $ as V, S as X, i as Z, s as J, f as p, b as K, n as A, d as x, t as R, c as P, m as u, e as _, p as T, u as S, r as d, g as Q, h as Y, o as $, w as ee, x as k, j as te, y as I, z as ae, A as re, B as ie, C as le, D as ne } from "./PlayerAccountController-Dp_erLKA.js";
2
- function U(r, e) {
1
+ import { c as q, b as V, S as J, B as Q, Q as X, t as p, f as Y, J as U, p as P, Y as R, D as x, e as u, q as _, a0 as T, a3 as S, g as d, k as Z, w as K, M as $, I as ee, a2 as k, h as te, a1 as z, U as ae, V as re, W as ie, m as le, a as ne } from "./PlayerAccountController-Bd-Ammrb.js";
2
+ function A(r, e) {
3
3
  q(r, e);
4
4
  }
5
5
  function se(r) {
@@ -40,7 +40,7 @@ const j = {
40
40
  }
41
41
  };
42
42
  function oe(r) {
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)}");
43
+ Y(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 ce(r) {
46
46
  let e, t, n, i, o, m, c, g, f, s, l = (
@@ -52,7 +52,7 @@ function ce(r) {
52
52
  e = _("div"), t = k("svg"), n = k("defs"), i = k("style"), o = S(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = k("g"), c = k("g"), g = k("path"), f = T(), s = _("h2"), h = S(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, M) {
55
- P(v, e, M), 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(
55
+ x(v, e, M), 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 ce(r) {
65
65
  v[3]("titlePlayerWithdrawal") + "") && R(h, l);
66
66
  },
67
67
  d(v) {
68
- v && x(e), y = !1, w();
68
+ v && P(e), y = !1, w();
69
69
  }
70
70
  };
71
71
  }
@@ -73,19 +73,19 @@ function de(r) {
73
73
  let e, t, n;
74
74
  return {
75
75
  c() {
76
- e = _("div"), t = _("iframe"), I(t.src, n = /*iframeUrl*/
76
+ e = _("div"), t = _("iframe"), z(t.src, n = /*iframeUrl*/
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
- P(i, e, o), u(e, t);
80
+ x(i, e, o), u(e, t);
81
81
  },
82
82
  p(i, o) {
83
83
  o & /*iframeUrl*/
84
- 4 && !I(t.src, n = /*iframeUrl*/
84
+ 4 && !z(t.src, n = /*iframeUrl*/
85
85
  i[2]) && d(t, "src", n);
86
86
  },
87
87
  d(i) {
88
- i && x(e);
88
+ i && P(e);
89
89
  }
90
90
  };
91
91
  }
@@ -99,7 +99,7 @@ function ue(r) {
99
99
  e = _("p"), n = S(t);
100
100
  },
101
101
  m(i, o) {
102
- P(i, e, o), u(e, n);
102
+ x(i, e, o), u(e, n);
103
103
  },
104
104
  p(i, o) {
105
105
  o & /*$_*/
@@ -107,7 +107,7 @@ function ue(r) {
107
107
  i[3]("loading") + "") && R(n, t);
108
108
  },
109
109
  d(i) {
110
- i && x(e);
110
+ i && P(e);
111
111
  }
112
112
  };
113
113
  }
@@ -133,7 +133,7 @@ function he(r) {
133
133
  (r[4] ? "WithdrawalWrapperMobile" : ""));
134
134
  },
135
135
  m(l, h) {
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);
136
+ x(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*/
@@ -141,28 +141,28 @@ function he(r) {
141
141
  8 && i !== (i = /*$_*/
142
142
  l[3]("titlePlayerWithdrawal") + "") && R(o, i), f === (f = g(l)) && s ? s.p(l, h) : (s.d(1), s = f(l), s && (s.c(), s.m(e, null)));
143
143
  },
144
- i: A,
145
- o: A,
144
+ i: U,
145
+ o: U,
146
146
  d(l) {
147
- l && x(e), c && c.d(), s.d(), r[17](null);
147
+ l && P(e), c && c.d(), s.d(), r[17](null);
148
148
  }
149
149
  };
150
150
  }
151
151
  function me(r, e, t) {
152
152
  let n;
153
- Q(r, ne, (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, M = window.navigator.userAgent, B = Y(M) !== "PC", L = !0, C = 0, E = "";
153
+ Z(r, ne, (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, M = window.navigator.userAgent, B = K(M) !== "PC", L = !0, C = 0, E = "";
155
155
  const N = () => {
156
156
  fetch(h).then((b) => b.json()).then((b) => {
157
157
  Object.keys(b).forEach((W) => {
158
- U(W, b[W]);
158
+ A(W, b[W]);
159
159
  });
160
160
  }).catch((b) => {
161
161
  console.log(b);
162
162
  });
163
163
  };
164
164
  Object.keys(j).forEach((a) => {
165
- U(a, j[a]);
165
+ A(a, j[a]);
166
166
  });
167
167
  const D = () => {
168
168
  window.postMessage(
@@ -172,7 +172,7 @@ function me(r, e, t) {
172
172
  },
173
173
  window.location.href
174
174
  );
175
- }, z = (a) => {
175
+ }, I = (a) => {
176
176
  if (a.data) {
177
177
  switch (a.data.type) {
178
178
  case "ProfileDetailsData":
@@ -235,8 +235,8 @@ function me(r, e, t) {
235
235
  }, G = () => {
236
236
  se(c);
237
237
  };
238
- $(() => (window.addEventListener("message", z, !1), () => {
239
- window.removeEventListener("message", z);
238
+ $(() => (window.addEventListener("message", I, !1), () => {
239
+ window.removeEventListener("message", I);
240
240
  }));
241
241
  const H = () => D();
242
242
  function O(a) {
@@ -275,14 +275,14 @@ function me(r, e, t) {
275
275
  O
276
276
  ];
277
277
  }
278
- class ge extends X {
278
+ class ge extends J {
279
279
  constructor(e) {
280
- super(), Z(
280
+ super(), Q(
281
281
  this,
282
282
  e,
283
283
  me,
284
284
  he,
285
- J,
285
+ X,
286
286
  {
287
287
  endpoint: 7,
288
288
  session: 8,
@@ -1,5 +1,5 @@
1
- import { a as q, $ as V, S as X, i as Z, s as J, f as p, b as K, n as A, d as x, u as R, e as P, p as u, g as _, q as T, v as S, t as d, h as Q, j as Y, o as $, x as ee, y as k, k as te, z as I, B as ae, C as re, D as ie, c as le, A as ne } from "./PlayerAccountController-SYnkGtb2.js";
2
- function U(r, e) {
1
+ import { c as q, b as V, S as J, B as Q, Q as X, t as p, f as Y, J as U, p as P, Y as R, D as x, e as u, q as _, a0 as T, a3 as S, g as d, k as Z, w as K, M as $, I as ee, a2 as k, h as te, a1 as z, U as ae, V as re, W as ie, m as le, a as ne } from "./PlayerAccountController-C6MS18Sd.js";
2
+ function A(r, e) {
3
3
  q(r, e);
4
4
  }
5
5
  function se(r) {
@@ -40,7 +40,7 @@ const j = {
40
40
  }
41
41
  };
42
42
  function oe(r) {
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)}");
43
+ Y(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 ce(r) {
46
46
  let e, t, n, i, o, m, c, g, f, s, l = (
@@ -52,7 +52,7 @@ function ce(r) {
52
52
  e = _("div"), t = k("svg"), n = k("defs"), i = k("style"), o = S(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = k("g"), c = k("g"), g = k("path"), f = T(), s = _("h2"), h = S(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, M) {
55
- P(v, e, M), 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(
55
+ x(v, e, M), 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 ce(r) {
65
65
  v[3]("titlePlayerWithdrawal") + "") && R(h, l);
66
66
  },
67
67
  d(v) {
68
- v && x(e), y = !1, w();
68
+ v && P(e), y = !1, w();
69
69
  }
70
70
  };
71
71
  }
@@ -73,19 +73,19 @@ function de(r) {
73
73
  let e, t, n;
74
74
  return {
75
75
  c() {
76
- e = _("div"), t = _("iframe"), I(t.src, n = /*iframeUrl*/
76
+ e = _("div"), t = _("iframe"), z(t.src, n = /*iframeUrl*/
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
- P(i, e, o), u(e, t);
80
+ x(i, e, o), u(e, t);
81
81
  },
82
82
  p(i, o) {
83
83
  o & /*iframeUrl*/
84
- 4 && !I(t.src, n = /*iframeUrl*/
84
+ 4 && !z(t.src, n = /*iframeUrl*/
85
85
  i[2]) && d(t, "src", n);
86
86
  },
87
87
  d(i) {
88
- i && x(e);
88
+ i && P(e);
89
89
  }
90
90
  };
91
91
  }
@@ -99,7 +99,7 @@ function ue(r) {
99
99
  e = _("p"), n = S(t);
100
100
  },
101
101
  m(i, o) {
102
- P(i, e, o), u(e, n);
102
+ x(i, e, o), u(e, n);
103
103
  },
104
104
  p(i, o) {
105
105
  o & /*$_*/
@@ -107,7 +107,7 @@ function ue(r) {
107
107
  i[3]("loading") + "") && R(n, t);
108
108
  },
109
109
  d(i) {
110
- i && x(e);
110
+ i && P(e);
111
111
  }
112
112
  };
113
113
  }
@@ -133,7 +133,7 @@ function he(r) {
133
133
  (r[4] ? "WithdrawalWrapperMobile" : ""));
134
134
  },
135
135
  m(l, h) {
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);
136
+ x(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*/
@@ -141,28 +141,28 @@ function he(r) {
141
141
  8 && i !== (i = /*$_*/
142
142
  l[3]("titlePlayerWithdrawal") + "") && R(o, i), f === (f = g(l)) && s ? s.p(l, h) : (s.d(1), s = f(l), s && (s.c(), s.m(e, null)));
143
143
  },
144
- i: A,
145
- o: A,
144
+ i: U,
145
+ o: U,
146
146
  d(l) {
147
- l && x(e), c && c.d(), s.d(), r[17](null);
147
+ l && P(e), c && c.d(), s.d(), r[17](null);
148
148
  }
149
149
  };
150
150
  }
151
151
  function me(r, e, t) {
152
152
  let n;
153
- Q(r, ne, (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, M = window.navigator.userAgent, B = Y(M) !== "PC", L = !0, C = 0, E = "";
153
+ Z(r, ne, (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, M = window.navigator.userAgent, B = K(M) !== "PC", L = !0, C = 0, E = "";
155
155
  const N = () => {
156
156
  fetch(h).then((b) => b.json()).then((b) => {
157
157
  Object.keys(b).forEach((W) => {
158
- U(W, b[W]);
158
+ A(W, b[W]);
159
159
  });
160
160
  }).catch((b) => {
161
161
  console.log(b);
162
162
  });
163
163
  };
164
164
  Object.keys(j).forEach((a) => {
165
- U(a, j[a]);
165
+ A(a, j[a]);
166
166
  });
167
167
  const D = () => {
168
168
  window.postMessage(
@@ -172,7 +172,7 @@ function me(r, e, t) {
172
172
  },
173
173
  window.location.href
174
174
  );
175
- }, z = (a) => {
175
+ }, I = (a) => {
176
176
  if (a.data) {
177
177
  switch (a.data.type) {
178
178
  case "ProfileDetailsData":
@@ -235,8 +235,8 @@ function me(r, e, t) {
235
235
  }, G = () => {
236
236
  se(c);
237
237
  };
238
- $(() => (window.addEventListener("message", z, !1), () => {
239
- window.removeEventListener("message", z);
238
+ $(() => (window.addEventListener("message", I, !1), () => {
239
+ window.removeEventListener("message", I);
240
240
  }));
241
241
  const H = () => D();
242
242
  function O(a) {
@@ -275,14 +275,14 @@ function me(r, e, t) {
275
275
  O
276
276
  ];
277
277
  }
278
- class ge extends X {
278
+ class ge extends J {
279
279
  constructor(e) {
280
- super(), Z(
280
+ super(), Q(
281
281
  this,
282
282
  e,
283
283
  me,
284
284
  he,
285
- J,
285
+ X,
286
286
  {
287
287
  endpoint: 7,
288
288
  session: 8,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-D-iw4Gm1.cjs");function x(l,t){e.addMessages(l,t)}function D(l){e.$locale.set(l)}const C={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,f,o,i=l[3]("titlePlayerWithdrawal")+"",u,p,g;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"),f=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,f),e.append(t,o),e.append(o,u),p||(g=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,g()}}}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 N(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 f=m(l),o=f(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),f===(f=m(i))&&o?o.p(i,u):(o.d(1),o=f(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 O(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:f=""}=t,{clientstylingurl:o=""}=t,{mbsource:i}=t,{translationurl:u=""}=t,{currency:p=""}=t,g,b,_=window.navigator.userAgent,W=e.getDevice(_)!=="PC",k=!0,v=0,M="";const R=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(y=>{x(y,w[y])})}).catch(w=>{console.log(w)})};Object.keys(C).forEach(r=>{x(r,C[r])});const P=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:W},window.location.href)},S=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}}},L=()=>{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,k=!1),a(2,M=y.CashierUrl)},y=>{console.error(y)})},B=()=>{D(d)};e.onMount(()=>(window.addEventListener("message",S,!1),()=>{window.removeEventListener("message",S)}));const E=()=>P();function A(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,a(0,g)})}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,f=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&&B(),l.$$.dirty&4097&&f&&g&&e.setClientStyling(g,f),l.$$.dirty&8193&&o&&g&&e.setClientStylingURL(g,o),l.$$.dirty&16385&&i&&g&&e.setStreamStyling(g,`${i}.Style`,b),l.$$.dirty&32768&&u&&R(),l.$$.dirty&1984&&c&&h&&n&&p&&d&&L()},[g,k,M,s,W,P,p,n,c,h,d,m,f,o,i,u,E,A]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,O,N,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("./PlayerAccountController-CPE5eIap.cjs");function x(l,t){e.addMessages(l,t)}function D(l){e.$locale.set(l)}const C={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,f,o,i=l[3]("titlePlayerWithdrawal")+"",u,p,g;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"),f=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,f),e.append(t,o),e.append(o,u),p||(g=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,g()}}}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 N(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 f=m(l),o=f(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),f===(f=m(i))&&o?o.p(i,u):(o.d(1),o=f(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 O(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:f=""}=t,{clientstylingurl:o=""}=t,{mbsource:i}=t,{translationurl:u=""}=t,{currency:p=""}=t,g,b,_=window.navigator.userAgent,W=e.getDevice(_)!=="PC",k=!0,v=0,M="";const R=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(y=>{x(y,w[y])})}).catch(w=>{console.log(w)})};Object.keys(C).forEach(r=>{x(r,C[r])});const P=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:W},window.location.href)},S=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}}},L=()=>{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,k=!1),a(2,M=y.CashierUrl)},y=>{console.error(y)})},B=()=>{D(d)};e.onMount(()=>(window.addEventListener("message",S,!1),()=>{window.removeEventListener("message",S)}));const E=()=>P();function A(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,a(0,g)})}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,f=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&&B(),l.$$.dirty&4097&&f&&g&&e.setClientStyling(g,f),l.$$.dirty&8193&&o&&g&&e.setClientStylingURL(g,o),l.$$.dirty&16385&&i&&g&&e.setStreamStyling(g,`${i}.Style`,b),l.$$.dirty&32768&&u&&R(),l.$$.dirty&1984&&c&&h&&n&&p&&d&&L()},[g,k,M,s,W,P,p,n,c,h,d,m,f,o,i,u,E,A]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,O,N,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;