@everymatrix/player-account-controller 1.85.17 → 1.85.18

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 (136) hide show
  1. package/components/{GeneralLogout-Bk4SNbIF.js → GeneralLogout-BtP2SNPX.js} +47 -44
  2. package/components/{GeneralLogout-CuvnoUn1.cjs → GeneralLogout-CK8tLROK.cjs} +5 -5
  3. package/components/{GeneralLogout-CShGWvvZ.js → GeneralLogout-hWNQ3J3o.js} +47 -44
  4. package/components/{PlayerAccountBettingHistory-Cb9zY2cj.cjs → PlayerAccountBettingHistory-CSaFsnwC.cjs} +1 -1
  5. package/components/{PlayerAccountBettingHistory-Bs44fVUB.js → PlayerAccountBettingHistory-D3xhBTAE.js} +1 -1
  6. package/components/{PlayerAccountBettingHistory-DtjLZvaP.js → PlayerAccountBettingHistory-RBEtFHjB.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-0wM6ZXDr.js → PlayerAccountBiometrics-BIYcG8cX.js} +1 -1
  8. package/components/{PlayerAccountBiometrics-Ba7f63Ih.js → PlayerAccountBiometrics-Dp3Y8HTH.js} +1 -1
  9. package/components/{PlayerAccountBiometrics-CSSQNl0K.cjs → PlayerAccountBiometrics-S9tvxAFz.cjs} +1 -1
  10. package/components/{PlayerAccountClosure-COOyI7yZ.js → PlayerAccountClosure-BbW4iG-i.js} +1 -1
  11. package/components/{PlayerAccountClosure-Dan_iV7J.js → PlayerAccountClosure-D7pmJiXo.js} +1 -1
  12. package/components/{PlayerAccountClosure-DHkXRjyf.cjs → PlayerAccountClosure-jnEN5Fk4.cjs} +1 -1
  13. package/components/{PlayerAccountController-ImIqzEzI.js → PlayerAccountController-6MshqYNs.js} +27 -27
  14. package/components/{PlayerAccountController-DQWMWxca.js → PlayerAccountController-Brcgtxxm.js} +27 -27
  15. package/components/{PlayerAccountController-BtG4sSKI.cjs → PlayerAccountController-Dt5Ril4d.cjs} +1 -1
  16. package/components/{PlayerAccountGamingLimits-DCBsU-Qk.js → PlayerAccountGamingLimits-BHtPyrhy.js} +2 -2
  17. package/components/{PlayerAccountGamingLimits-HncJRbqJ.js → PlayerAccountGamingLimits-BrXUGipz.js} +2 -2
  18. package/components/{PlayerAccountGamingLimits-BrCEdqWf.cjs → PlayerAccountGamingLimits-BwYoIU8M.cjs} +1 -1
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-BD-XzjLG.js → PlayerAccountGamingLimitsConfirmationModal-B5ITcUEU.js} +1 -1
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-CTub7J3N.cjs → PlayerAccountGamingLimitsConfirmationModal-BJUqmOGM.cjs} +1 -1
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-BYZfVKZB.js → PlayerAccountGamingLimitsConfirmationModal-BpGTQY8Q.js} +1 -1
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-3h2C_FW2.cjs → PlayerAccountGamingLimitsGroupEdit-CmipcCdJ.cjs} +2 -2
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-CLnu5AeT.js → PlayerAccountGamingLimitsGroupEdit-DsZYUSCI.js} +4 -4
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-Cz-sqYjM.js → PlayerAccountGamingLimitsGroupEdit-K-lekHTx.js} +4 -4
  25. package/components/{PlayerAccountGamingLimitsHistory2-DTiZcfwG.js → PlayerAccountGamingLimitsHistory2-BWbMKCJM.js} +1 -1
  26. package/components/{PlayerAccountGamingLimitsHistory2-DafAE20A.js → PlayerAccountGamingLimitsHistory2-CxA06bC4.js} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2-Bl-VMGFi.cjs → PlayerAccountGamingLimitsHistory2-DbWCQlJP.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-C7QGrNFp.cjs → PlayerAccountGamingLimitsInfoCard-BFzvB3KC.cjs} +1 -1
  29. package/components/{PlayerAccountGamingLimitsInfoCard-CeRDNQyR.js → PlayerAccountGamingLimitsInfoCard-WqmdXNpw.js} +3 -3
  30. package/components/{PlayerAccountGamingLimitsInfoCard-Lu5pgsyH.js → PlayerAccountGamingLimitsInfoCard-fSpypV1Q.js} +3 -3
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-DLux4rtQ.js → PlayerAccountGamingLimitsPage2Gm16-CKqk7okN.js} +1 -1
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-lByvCMYV.cjs → PlayerAccountGamingLimitsPage2Gm16-CN784V5v.cjs} +1 -1
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-DXdt0euH.js → PlayerAccountGamingLimitsPage2Gm16-DbTjbrCg.js} +1 -1
  34. package/components/{PlayerAccountGamingLimitsPopup-BIEFI1Yz.js → PlayerAccountGamingLimitsPopup-1UbtHpM4.js} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPopup-CqdzxpX3.js → PlayerAccountGamingLimitsPopup-6hO_YTRk.js} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-B9mkm7cd.cjs → PlayerAccountGamingLimitsPopup-D5nYGWok.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsWrapper2-DuSZ3P9u.js → PlayerAccountGamingLimitsWrapper2-DKH_oTPL.js} +3 -3
  38. package/components/{PlayerAccountGamingLimitsWrapper2-BMQ9Kgxs.cjs → PlayerAccountGamingLimitsWrapper2-DkVrqK1a.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsWrapper2-Dq7rQd01.js → PlayerAccountGamingLimitsWrapper2-H5X72FGo.js} +3 -3
  40. package/components/{PlayerAccountGeneralConfirmationModal-C2VJSvL3.js → PlayerAccountGeneralConfirmationModal-48XuglXa.js} +1 -1
  41. package/components/{PlayerAccountGeneralConfirmationModal-OYut1Lou.cjs → PlayerAccountGeneralConfirmationModal-Fg_ynnO5.cjs} +1 -1
  42. package/components/{PlayerAccountGeneralConfirmationModal-vQxzlS72.js → PlayerAccountGeneralConfirmationModal-mKvnC-aM.js} +1 -1
  43. package/components/{PlayerAccountMenu-BU2OJXCy.cjs → PlayerAccountMenu-D-3XXdrS.cjs} +1 -1
  44. package/components/{PlayerAccountMenu-DR6qDtkd.js → PlayerAccountMenu-DYFceiv-.js} +2 -2
  45. package/components/{PlayerAccountMenu-BTToUbwP.js → PlayerAccountMenu-DZYiL86p.js} +2 -2
  46. package/components/{PlayerAccountModal-CzspHDhO.cjs → PlayerAccountModal-BuDt5h1l.cjs} +1 -1
  47. package/components/{PlayerAccountModal-C47gGJwo.js → PlayerAccountModal-DuBxYfB-.js} +1 -1
  48. package/components/{PlayerAccountModal-D2pVBagv.js → PlayerAccountModal-vXNHQMMx.js} +1 -1
  49. package/components/{PlayerAccountNotifications-Bk9T4s4V.js → PlayerAccountNotifications-BaVSuY0V.js} +1 -1
  50. package/components/{PlayerAccountNotifications-C7LSRK2Z.cjs → PlayerAccountNotifications-D2sFlbP7.cjs} +1 -1
  51. package/components/{PlayerAccountNotifications-CrAyNjHR.js → PlayerAccountNotifications-eimwb2B_.js} +1 -1
  52. package/components/{PlayerAccountProductRestriction-CDxbjlWW.js → PlayerAccountProductRestriction-Cbwqgb-P.js} +3 -3
  53. package/components/{PlayerAccountProductRestriction-eOW4LEe_.js → PlayerAccountProductRestriction-HYm0eIXb.js} +3 -3
  54. package/components/{PlayerAccountProductRestriction-DjL1-Pvj.cjs → PlayerAccountProductRestriction-i5lUVlsQ.cjs} +1 -1
  55. package/components/{PlayerAccountReviewFrequency-Do2FEGSC.js → PlayerAccountReviewFrequency-B55vgMkU.js} +1 -1
  56. package/components/{PlayerAccountReviewFrequency-D2Ij-dGA.js → PlayerAccountReviewFrequency-D39G6M8w.js} +1 -1
  57. package/components/{PlayerAccountReviewFrequency-E8i0qY75.cjs → PlayerAccountReviewFrequency-oyuyzboO.cjs} +1 -1
  58. package/components/{PlayerAccountSelfExclusion-DTCmJg4A.js → PlayerAccountSelfExclusion-Btcxzmyl.js} +3 -3
  59. package/components/{PlayerAccountSelfExclusion-BDmbZbGv.cjs → PlayerAccountSelfExclusion-CCMP12tO.cjs} +1 -1
  60. package/components/{PlayerAccountSelfExclusion-lYJiM-a-.js → PlayerAccountSelfExclusion-CY5wEDf5.js} +3 -3
  61. package/components/{PlayerAccountTimeout-ira9gj_X.js → PlayerAccountTimeout-D-Osu0LX.js} +3 -3
  62. package/components/{PlayerAccountTimeout-C7f95O2y.cjs → PlayerAccountTimeout-DI5inBhr.cjs} +1 -1
  63. package/components/{PlayerAccountTimeout-5V_3gkBy.js → PlayerAccountTimeout-Eb5482Pk.js} +3 -3
  64. package/components/{PlayerAccountTransactionsHistory-Do5z7eDA.js → PlayerAccountTransactionsHistory-B89UQBgK.js} +3 -3
  65. package/components/{PlayerAccountTransactionsHistory-DajT-AMo.js → PlayerAccountTransactionsHistory-CuLSo_WG.js} +3 -3
  66. package/components/{PlayerAccountTransactionsHistory-e4xjA7Nr.cjs → PlayerAccountTransactionsHistory-DborEyiw.cjs} +1 -1
  67. package/components/{PlayerActiveBonuses-38roPJXA.js → PlayerActiveBonuses-Cv7645BT.js} +2 -2
  68. package/components/{PlayerActiveBonuses-DH17Iq7o.js → PlayerActiveBonuses-Rb7CqkQm.js} +2 -2
  69. package/components/{PlayerActiveBonuses-DX-safGT.cjs → PlayerActiveBonuses-rgpIrlXZ.cjs} +1 -1
  70. package/components/{PlayerBonusCard-DaWKZYJV.js → PlayerBonusCard-Byfk3zTj.js} +2 -2
  71. package/components/{PlayerBonusCard-jqLOiuCg.js → PlayerBonusCard-D3S1mqXd.js} +2 -2
  72. package/components/{PlayerBonusCard-xfAuBBZg.cjs → PlayerBonusCard-DDnmH7Q3.cjs} +1 -1
  73. package/components/{PlayerBonusHistory-CjOGYL2N.js → PlayerBonusHistory-BKquFnB_.js} +4 -4
  74. package/components/{PlayerBonusHistory-B6rov_Zt.js → PlayerBonusHistory-CjQW7Bz0.js} +4 -4
  75. package/components/{PlayerBonusHistory-DwTJXnss.cjs → PlayerBonusHistory-KRE5nRLu.cjs} +1 -1
  76. package/components/{PlayerChangePassword-CXmELgl1.js → PlayerChangePassword-CrimbboS.js} +1 -1
  77. package/components/{PlayerChangePassword-ZmTG0See.js → PlayerChangePassword-DjvBDg3y.js} +1 -1
  78. package/components/{PlayerChangePassword-CTNjnq_r.cjs → PlayerChangePassword-Dse_H2fj.cjs} +1 -1
  79. package/components/{PlayerDeposit-C7Zn0ku4.js → PlayerDeposit-BBN4CKJK.js} +1 -1
  80. package/components/{PlayerDeposit-_5dExYQ2.js → PlayerDeposit-BZ6g3CTd.js} +1 -1
  81. package/components/{PlayerDeposit-BsyYS9xx.cjs → PlayerDeposit-rfdArTZi.cjs} +1 -1
  82. package/components/{PlayerGamingHistory-0_vs1M7Y.js → PlayerGamingHistory-00NQrAip.js} +4 -4
  83. package/components/{PlayerGamingHistory-Cl5162xp.js → PlayerGamingHistory-DzArsva8.js} +4 -4
  84. package/components/{PlayerGamingHistory-CaQkAM-W.cjs → PlayerGamingHistory-S-SzMIdL.cjs} +1 -1
  85. package/components/{PlayerPendingWithdrawals-eJ97AKoZ.js → PlayerPendingWithdrawals-BFjzJT3E.js} +1 -1
  86. package/components/{PlayerPendingWithdrawals-BwKO31Cq.js → PlayerPendingWithdrawals-D97Q7Wwu.js} +1 -1
  87. package/components/{PlayerPendingWithdrawals-Dvq9lK8F.cjs → PlayerPendingWithdrawals-DjrsUKIF.cjs} +1 -1
  88. package/components/{PlayerProfileInfo-M_zK189v.cjs → PlayerProfileInfo-glh0-LDE.cjs} +1 -1
  89. package/components/{PlayerProfileInfo-CpSIV-gG.js → PlayerProfileInfo-i9uFoUBd.js} +1 -1
  90. package/components/{PlayerProfileInfo-CHGvofIU.js → PlayerProfileInfo-jmdB-wXa.js} +1 -1
  91. package/components/{PlayerRealityCheck-BZXloGMf.js → PlayerRealityCheck-C9r4TGt5.js} +1 -1
  92. package/components/{PlayerRealityCheck-DuwDFaiq.cjs → PlayerRealityCheck-CYmf-RVV.cjs} +1 -1
  93. package/components/{PlayerRealityCheck-Dh4cua0z.js → PlayerRealityCheck-pY-GH7Tx.js} +1 -1
  94. package/components/{PlayerTransactionHistory-BmLs_SsH.js → PlayerTransactionHistory-CAA600Et.js} +1 -1
  95. package/components/{PlayerTransactionHistory-Dj6O_IBg.js → PlayerTransactionHistory-DY9X6YZW.js} +1 -1
  96. package/components/{PlayerTransactionHistory-BU4_vLyx.cjs → PlayerTransactionHistory-DlY_0H_I.cjs} +1 -1
  97. package/components/{PlayerWithdrawal-CbooNORD.js → PlayerWithdrawal-BIFTys53.js} +1 -1
  98. package/components/{PlayerWithdrawal-CrwQRfp-.js → PlayerWithdrawal-BcnzA5BS.js} +1 -1
  99. package/components/{PlayerWithdrawal-CkSCfQ4A.cjs → PlayerWithdrawal-Dt-iI81t.cjs} +1 -1
  100. package/es2015/player-account-controller.cjs +1 -1
  101. package/es2015/player-account-controller.js +1 -1
  102. package/esnext/player-account-controller.js +1 -1
  103. package/package.json +1 -1
  104. package/stencil/{checkbox-group-input_16-CRNuZbJO.js → checkbox-group-input_16-BC4v8R1S.js} +2 -2
  105. package/stencil/{checkbox-group-input_16-DHzskpbm.cjs → checkbox-group-input_16-JIjNKsjV.cjs} +1 -1
  106. package/stencil/{checkbox-group-input_16-H59MWDZC.js → checkbox-group-input_16-RYO1eLMo.js} +2 -2
  107. package/stencil/{index-1ef3a64c-qnxtXxeQ.cjs → index-1ef3a64c-BzR_jMKw.cjs} +1 -1
  108. package/stencil/{index-1ef3a64c-CsZfHx4H.js → index-1ef3a64c-CEngIsyB.js} +1 -1
  109. package/stencil/{index-1ef3a64c-ClO39zA1.js → index-1ef3a64c-D5p-wZAC.js} +1 -1
  110. package/stencil/{index-6e523641-CoBB-3Id.js → index-6e523641-BB_MNuoS.js} +1 -1
  111. package/stencil/{index-6e523641-DnC0RyBN.js → index-6e523641-C2D7V1Bj.js} +1 -1
  112. package/stencil/{index-6e523641-CVaNEI5O.cjs → index-6e523641-CKmTS6uC.cjs} +1 -1
  113. package/stencil/{index-9c0f6c58-Bsh5bE3R.js → index-9c0f6c58-DEQL19Io.js} +1 -1
  114. package/stencil/{index-9c0f6c58-C2jzaT5g.js → index-9c0f6c58-DjED2nNw.js} +1 -1
  115. package/stencil/{index-9c0f6c58-Bt2RVzWI.cjs → index-9c0f6c58-XIZolvs1.cjs} +1 -1
  116. package/stencil/{index-c666b6e6-ClJmd2Eo.js → index-c666b6e6-Byhd6hcm.js} +1 -1
  117. package/stencil/{index-c666b6e6-CdT6V4aJ.cjs → index-c666b6e6-CF6tkxHf.cjs} +1 -1
  118. package/stencil/{index-c666b6e6-BgTcG0Y_.js → index-c666b6e6-Do6y6LKI.js} +1 -1
  119. package/stencil/{pam-change-password-0ebf482d-CpoMxS46.js → pam-change-password-6b535bd5-BQRVBjrK.js} +3 -1
  120. package/stencil/{pam-change-password-0ebf482d-BvoECmrs.js → pam-change-password-6b535bd5-CRmngfXe.js} +3 -1
  121. package/stencil/{pam-change-password-0ebf482d-BGmy8IyQ.cjs → pam-change-password-6b535bd5-CeXNndIG.cjs} +1 -1
  122. package/stencil/{pam-change-password-CG0En7Xb.js → pam-change-password-D00SLeAW.js} +1 -1
  123. package/stencil/{pam-change-password-BPQFe6Db.cjs → pam-change-password-DYLwctX0.cjs} +1 -1
  124. package/stencil/{pam-change-password-CYSferDv.js → pam-change-password-DjJxocc2.js} +1 -1
  125. package/stencil/{player-kyc-verification-NFQCbuyP.js → player-kyc-verification-BUKoBt3P.js} +3 -1
  126. package/stencil/{player-kyc-verification-Cwdf4jX9.cjs → player-kyc-verification-Cg0fVyvL.cjs} +2 -2
  127. package/stencil/{player-kyc-verification-DDMQsBNM.js → player-kyc-verification-vQ6gNPBe.js} +75 -73
  128. package/stencil/{user-deposit-withdrawal-ChgqAKLS.js → user-deposit-withdrawal-C5lc1C0l.js} +3 -1
  129. package/stencil/{user-deposit-withdrawal-Ds4dygdb.cjs → user-deposit-withdrawal-DfWpITDc.cjs} +2 -2
  130. package/stencil/{user-deposit-withdrawal-B87pfI3a.js → user-deposit-withdrawal-DmXcotOq.js} +3 -1
  131. package/stencil/{user-transaction-history-Bv0LEs6K.cjs → user-transaction-history-BOayQu-b.cjs} +1 -1
  132. package/stencil/{user-transaction-history-Cf_iR1wy.js → user-transaction-history-Bd1eC2iV.js} +1 -1
  133. package/stencil/{user-transaction-history-Be-hf7kW.js → user-transaction-history-BkmoDFTs.js} +1 -1
  134. package/stencil/{user-transaction-history_2-8ViaNgLC.js → user-transaction-history_2-BSVh_kdE.js} +3 -1
  135. package/stencil/{user-transaction-history_2-B2yjMaBN.cjs → user-transaction-history_2-CI6uuSIf.cjs} +1 -1
  136. package/stencil/{user-transaction-history_2-DwdhsDRA.js → user-transaction-history_2-PSCBkBVb.js} +3 -1
@@ -30,7 +30,7 @@ var mt = (e, t, r) => new Promise((n, i) => {
30
30
  function B() {
31
31
  }
32
32
  const Ur = (e) => e;
33
- function Dr(e, t) {
33
+ function Gr(e, t) {
34
34
  for (const r in t)
35
35
  e[r] = t[r];
36
36
  return (
@@ -57,7 +57,7 @@ let de;
57
57
  function Oo(e, t) {
58
58
  return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
59
59
  }
60
- function Gr(e) {
60
+ function Dr(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
63
  function Vt(e, ...t) {
@@ -79,7 +79,7 @@ function Io(e, t, r, n) {
79
79
  }
80
80
  }
81
81
  function Xt(e, t, r, n) {
82
- return e[1] && n ? Dr(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
+ return e[1] && n ? Gr(r.ctx.slice(), e[1](n(t))) : r.ctx;
83
83
  }
84
84
  function Lo(e, t, r, n) {
85
85
  if (e[2] && n) {
@@ -170,7 +170,7 @@ function Zt(e, t) {
170
170
  function K(e, t, r) {
171
171
  e.insertBefore(t, r || null);
172
172
  }
173
- function G(e) {
173
+ function D(e) {
174
174
  e.parentNode && e.parentNode.removeChild(e);
175
175
  }
176
176
  function Ro(e, t) {
@@ -195,7 +195,7 @@ function Uo() {
195
195
  function qt(e, t, r, n) {
196
196
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
197
197
  }
198
- function Do(e) {
198
+ function Go(e) {
199
199
  return function(t) {
200
200
  return t.preventDefault(), e.call(this, t);
201
201
  };
@@ -203,7 +203,7 @@ function Do(e) {
203
203
  function A(e, t, r) {
204
204
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
205
205
  }
206
- function Go(e, t, r) {
206
+ function Do(e, t, r) {
207
207
  const n = t.toLowerCase();
208
208
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : A(e, t, r);
209
209
  }
@@ -323,7 +323,7 @@ class zo {
323
323
  /**
324
324
  * @returns {void} */
325
325
  d() {
326
- this.n.forEach(G);
326
+ this.n.forEach(D);
327
327
  }
328
328
  }
329
329
  function Qr(e) {
@@ -373,7 +373,7 @@ function en() {
373
373
  ut(() => {
374
374
  Se || (xe.forEach((e) => {
375
375
  const { ownerNode: t } = e.stylesheet;
376
- t && G(t);
376
+ t && D(t);
377
377
  }), xe.clear());
378
378
  });
379
379
  }
@@ -588,7 +588,7 @@ function fn(e, t, r, n, i, o, s = null, a = [-1]) {
588
588
  }) : [], h.update(), l = !0, F(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
589
589
  if (t.hydrate) {
590
590
  const f = zr(t.target);
591
- h.fragment && h.fragment.l(f), f.forEach(G);
591
+ h.fragment && h.fragment.l(f), f.forEach(D);
592
592
  } else
593
593
  h.fragment && h.fragment.c();
594
594
  t.intro && an(e.$$.fragment), hn(e, t.target, t.anchor), N();
@@ -650,7 +650,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
650
650
  K(h, s, l);
651
651
  },
652
652
  d: function(h) {
653
- h && G(s);
653
+ h && D(s);
654
654
  }
655
655
  };
656
656
  };
@@ -820,7 +820,7 @@ class dn {
820
820
  * @returns {void}
821
821
  */
822
822
  $set(t) {
823
- this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
823
+ this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
824
824
  }
825
825
  }
826
826
  const mn = "4";
@@ -1431,12 +1431,12 @@ function Un(e) {
1431
1431
  function ae(e, t) {
1432
1432
  return t.clone !== !1 && t.isMergeableObject(e) ? q(Un(e), e, t) : e;
1433
1433
  }
1434
- function Dn(e, t, r) {
1434
+ function Gn(e, t, r) {
1435
1435
  return e.concat(t).map(function(n) {
1436
1436
  return ae(n, r);
1437
1437
  });
1438
1438
  }
1439
- function Gn(e, t) {
1439
+ function Dn(e, t) {
1440
1440
  if (!t.customMerge)
1441
1441
  return q;
1442
1442
  var r = t.customMerge(e);
@@ -1465,11 +1465,11 @@ function kn(e, t, r) {
1465
1465
  return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
1466
1466
  n[i] = ae(e[i], r);
1467
1467
  }), Ht(t).forEach(function(i) {
1468
- jn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
1468
+ jn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
1469
1469
  }), n;
1470
1470
  }
1471
1471
  function q(e, t, r) {
1472
- r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || Ln, r.cloneUnlessOtherwiseSpecified = ae;
1472
+ r = r || {}, r.arrayMerge = r.arrayMerge || Gn, r.isMergeableObject = r.isMergeableObject || Ln, r.cloneUnlessOtherwiseSpecified = ae;
1473
1473
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1474
1474
  return o ? n ? r.arrayMerge(e, t, r) : kn(e, t, r) : ae(t, r);
1475
1475
  }
@@ -1518,13 +1518,13 @@ function zn(e, t) {
1518
1518
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1519
1519
  return r;
1520
1520
  }
1521
- function De(e, t, r) {
1521
+ function Ge(e, t, r) {
1522
1522
  if (r || arguments.length === 2)
1523
1523
  for (var n = 0, i = t.length, o; n < i; n++)
1524
1524
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1525
1525
  return e.concat(o || Array.prototype.slice.call(t));
1526
1526
  }
1527
- function Ge(e, t) {
1527
+ function De(e, t) {
1528
1528
  var r = t && t.cache ? t.cache : ei, n = t && t.serializer ? t.serializer : Yn, i = t && t.strategy ? t.strategy : Qn;
1529
1529
  return i(e, {
1530
1530
  cache: r,
@@ -4167,26 +4167,26 @@ function Ri(e) {
4167
4167
  dateTime: {},
4168
4168
  pluralRules: {}
4169
4169
  }), {
4170
- getNumberFormat: Ge(function() {
4170
+ getNumberFormat: De(function() {
4171
4171
  for (var t, r = [], n = 0; n < arguments.length; n++)
4172
4172
  r[n] = arguments[n];
4173
- return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
4173
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
4174
4174
  }, {
4175
4175
  cache: ke(e.number),
4176
4176
  strategy: Fe.variadic
4177
4177
  }),
4178
- getDateTimeFormat: Ge(function() {
4178
+ getDateTimeFormat: De(function() {
4179
4179
  for (var t, r = [], n = 0; n < arguments.length; n++)
4180
4180
  r[n] = arguments[n];
4181
- return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
4181
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
4182
4182
  }, {
4183
4183
  cache: ke(e.dateTime),
4184
4184
  strategy: Fe.variadic
4185
4185
  }),
4186
- getPluralRules: Ge(function() {
4186
+ getPluralRules: De(function() {
4187
4187
  for (var t, r = [], n = 0; n < arguments.length; n++)
4188
4188
  r[n] = arguments[n];
4189
- return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
4189
+ return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
4190
4190
  }, {
4191
4191
  cache: ke(e.pluralRules),
4192
4192
  strategy: Fe.variadic
@@ -4305,7 +4305,7 @@ var Ui = (
4305
4305
  }, e;
4306
4306
  }()
4307
4307
  );
4308
- function Di(e, t) {
4308
+ function Gi(e, t) {
4309
4309
  if (t == null)
4310
4310
  return;
4311
4311
  if (t in e)
@@ -4326,16 +4326,16 @@ function Di(e, t) {
4326
4326
  n = void 0;
4327
4327
  return n;
4328
4328
  }
4329
- const D = {}, Gi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Sr = (e, t) => {
4329
+ const G = {}, Di = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Sr = (e, t) => {
4330
4330
  if (t == null)
4331
4331
  return;
4332
- if (t in D && e in D[t])
4333
- return D[t][e];
4332
+ if (t in G && e in G[t])
4333
+ return G[t][e];
4334
4334
  const r = Le(t);
4335
4335
  for (let n = 0; n < r.length; n++) {
4336
4336
  const i = r[n], o = ji(i, e);
4337
4337
  if (o)
4338
- return Gi(e, t, o);
4338
+ return Di(e, t, o);
4339
4339
  }
4340
4340
  };
4341
4341
  let lt;
@@ -4350,7 +4350,7 @@ function ji(e, t) {
4350
4350
  if (!Tr(e))
4351
4351
  return null;
4352
4352
  const r = Fi(e);
4353
- return Di(r, t);
4353
+ return Gi(r, t);
4354
4354
  }
4355
4355
  function ki(e) {
4356
4356
  if (e == null)
@@ -4363,7 +4363,7 @@ function ki(e) {
4363
4363
  }
4364
4364
  }
4365
4365
  function wr(e, ...t) {
4366
- delete D[e], fe.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
4366
+ delete G[e], fe.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
4367
4367
  }
4368
4368
  ee(
4369
4369
  [fe],
@@ -4620,13 +4620,16 @@ function ns(e, t) {
4620
4620
  return !1;
4621
4621
  }
4622
4622
  }
4623
- function Dt(e, t) {
4623
+ String(Number.MAX_SAFE_INTEGER).length;
4624
+ function Gt(e, t) {
4624
4625
  if (e) {
4625
4626
  const r = document.createElement("style");
4626
4627
  r.innerHTML = t, e.appendChild(r);
4627
4628
  }
4628
4629
  }
4629
4630
  function vo(e, t) {
4631
+ if (!e || !t)
4632
+ return;
4630
4633
  const r = new URL(t);
4631
4634
  fetch(r.href).then((n) => n.text()).then((n) => {
4632
4635
  const i = document.createElement("style");
@@ -4654,7 +4657,7 @@ const Eo = (e, t = {}) => {
4654
4657
  });
4655
4658
  document.dispatchEvent(r);
4656
4659
  };
4657
- function Gt(e, t) {
4660
+ function Dt(e, t) {
4658
4661
  wr(e, t);
4659
4662
  }
4660
4663
  function xo(e) {
@@ -4721,7 +4724,7 @@ function To(e) {
4721
4724
  u[2]("logoutButton") + "") && Qt(o, i);
4722
4725
  },
4723
4726
  d(u) {
4724
- u && G(t), s = !1, a();
4727
+ u && D(t), s = !1, a();
4725
4728
  }
4726
4729
  };
4727
4730
  }
@@ -4752,7 +4755,7 @@ function wo(e) {
4752
4755
  d[3] || c.p(d, p);
4753
4756
  },
4754
4757
  d(d) {
4755
- d && G(t), c && c.d(), l = !1, f();
4758
+ d && D(t), c && c.d(), l = !1, f();
4756
4759
  }
4757
4760
  };
4758
4761
  }
@@ -4774,7 +4777,7 @@ function Ho(e) {
4774
4777
  i[2]("logoutButton") + "") && Qt(n, r);
4775
4778
  },
4776
4779
  d(i) {
4777
- i && G(t);
4780
+ i && D(t);
4778
4781
  }
4779
4782
  };
4780
4783
  }
@@ -4800,7 +4803,7 @@ function Bo(e) {
4800
4803
  i: B,
4801
4804
  o: B,
4802
4805
  d(o) {
4803
- o && G(t), i.d(), e[15](null);
4806
+ o && D(t), i.d(), e[15](null);
4804
4807
  }
4805
4808
  };
4806
4809
  }
@@ -4811,14 +4814,14 @@ function Ao(e, t, r) {
4811
4814
  const w = window.matchMedia("(min-width: 768px)"), O = () => {
4812
4815
  fetch(f).then((U) => U.json()).then((U) => {
4813
4816
  Object.keys(U).forEach((Me) => {
4814
- Gt(Me, U[Me]);
4817
+ Dt(Me, U[Me]);
4815
4818
  });
4816
4819
  }).catch((U) => {
4817
4820
  console.log(U);
4818
4821
  });
4819
4822
  };
4820
4823
  Object.keys(Ft).forEach((y) => {
4821
- Gt(y, Ft[y]);
4824
+ Dt(y, Ft[y]);
4822
4825
  });
4823
4826
  const x = () => {
4824
4827
  let y = new Headers();
@@ -4844,8 +4847,8 @@ function Ao(e, t, r) {
4844
4847
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4845
4848
  193 && i && o && s && I(), e.$$.dirty & /*lang*/
4846
4849
  256 && a && H(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4847
- 1026 && h && p && Dt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4848
- 1026 && h && p && Dt(p, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4850
+ 1026 && h && p && Gt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4851
+ 1026 && h && p && Gt(p, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4849
4852
  2050 && l && p && vo(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4850
4853
  514 && u && p && _o(p, `${u}.Style`), e.$$.dirty & /*translationurl*/
4851
4854
  4096 && f && O();
@@ -4960,7 +4963,7 @@ export {
4960
4963
  No as M,
4961
4964
  Mo as N,
4962
4965
  Lo as O,
4963
- Do as P,
4966
+ Go as P,
4964
4967
  Xo as Q,
4965
4968
  jo as R,
4966
4969
  dn as S,
@@ -4985,10 +4988,10 @@ export {
4985
4988
  is as a9,
4986
4989
  Vr as b,
4987
4990
  Qt as c,
4988
- G as d,
4991
+ D as d,
4989
4992
  A as e,
4990
4993
  N as f,
4991
- Go as g,
4994
+ Do as g,
4992
4995
  K as h,
4993
4996
  fn as i,
4994
4997
  P as j,
@@ -5005,7 +5008,7 @@ export {
5005
5008
  rn as u,
5006
5009
  X as v,
5007
5010
  Xe as w,
5008
- Dt as x,
5011
+ Gt as x,
5009
5012
  vo as y,
5010
5013
  _o as z
5011
5014
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-CuvnoUn1.cjs");function T(s,e){t.addMessages(s,e)}function j(s){t.$locale.set(s)}const L={en:{titleBettingHistory:"Betting History",settledBets:"Settled Bets",openBets:"Open Bets"},ro:{titleBettingHistory:"Istoric Pariuri",settledBets:"Pariuri Decise",openBets:"Pariuri Deschise"},es:{titleBettingHistory:"Historial de Apuestas",settledBets:"Apuestas cerradas",openBets:"Apuestas abiertas"},hr:{titleBettingHistory:"Povijest klađenja",settledBets:"Obračunate oklade",openBets:"Otvorene oklade"},"pt-br":{titleBettingHistory:"Histórico de apostas",settledBets:"Apostas liquidadas",openBets:"apostas abertas"},"es-mx":{titleBettingHistory:"Historial de apuesta",settledBets:"Apuestas liquidadas",openBets:"Apuestas abiertas"},tr:{titleBettingHistory:"Bahis Geçmişi",settledBets:"Sonuçlandırılmış Bahisler",openBets:"Açık Bahisler"},"en-us":{titleBettingHistory:"Betting History",settledBets:"Settled Bets",openBets:"Open Bets"}};function x(s){t.append_styles(s,"svelte-1kgy21f",`@import 'https://static.everymatrix.com/omfe-widgets/s/widgets/1.2.0-alpha.0/widgets.min.css';:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.BettingHistoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BettingHistoryTitle.BettingHistoryTitleMobile{font-size:16px}.BettingHistoryTitle.BettingHistoryTitleNone{display:none}.BettingHistoryWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.BettingHistoryWrapper.BettingHistoryWrapperMobile{padding:20px 15px;max-width:unset}.BettingHistoryTabs{width:100%;display:flex;justify-content:center}.BettingHistoryButton{margin:0;width:100%;padding:20px;border:none;font-size:24px;color:var(--emw--color-black, #000);background:var(--emw--color-white, #fff);border:2px solid var(--emw--color-black, #000)}.BettingHistoryButton.BettingHistoryButtonMobile{padding:20px;font-size:12px}.BettingHistoryButton.BettingHistoryButtonSelected{color:var(--emw--color-white, #fff);background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.OM-MatchScore,.OM-MatchScore__List{display:flex;align-items:center;justify-content:center;list-style-type:none;margin:0;padding:0}`)}function C(s){let e,l,p,B,_,h,c,o,y,d,g=s[4]("titleBettingHistory")+"",w,m,r;return{c(){e=t.element("div"),l=t.svg_element("svg"),p=t.svg_element("defs"),B=t.svg_element("style"),_=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),h=t.svg_element("g"),c=t.svg_element("g"),o=t.svg_element("path"),y=t.space(),d=t.element("h2"),w=t.text(g),t.attr(o,"class","aaa"),t.attr(o,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),t.attr(o,"transform","translate(15 15) rotate(180)"),t.attr(c,"transform","translate(20 158)"),t.attr(h,"transform","translate(-20 -158)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","15"),t.attr(l,"height","15"),t.attr(l,"viewBox","0 0 15 15"),t.attr(d,"class","BettingHistoryTitleMobile"),t.attr(e,"class","MenuReturnButton")},m(b,f){t.insert(b,e,f),t.append(e,l),t.append(l,p),t.append(p,B),t.append(B,_),t.append(l,h),t.append(h,c),t.append(c,o),t.append(e,y),t.append(e,d),t.append(d,w),m||(r=t.listen(e,"click",s[14]),m=!0)},p(b,f){f&16&&g!==(g=b[4]("titleBettingHistory")+"")&&t.set_data(w,g)},d(b){b&&t.detach(e),m=!1,r()}}}function E(s){return{c:t.noop,m:t.noop,d:t.noop}}function P(s){let e,l,p,B=s[4]("bettingHistory.title")+"",_,h,c,o,y=s[4]("bettingHistory.openBets")+"",d,g,w,m,r=s[4]("bettingHistory.settledBets")+"",b,f,v,u,M,S,k,A,I,n=s[5]&&C(s),i=s[3]==="true"&&s[1]&&E();return{c(){e=t.element("div"),n&&n.c(),l=t.space(),p=t.element("h2"),_=t.text(B),h=t.space(),c=t.element("div"),o=t.element("button"),d=t.text(y),w=t.space(),m=t.element("button"),b=t.text(r),v=t.space(),u=t.element("om-betting-history-list"),M=t.space(),i&&i.c(),S=t.space(),k=t.element("div"),t.attr(p,"class","BettingHistoryTitle "+(s[5]?"BettingHistoryTitleNone":"")),t.attr(p,"part","`BettingHistoryTitleMobile"),t.attr(o,"class",g=`BettingHistoryButton ${s[5]?"BettingHistoryButtonMobile":""} ${s[0]==="openBets"?"BettingHistoryButtonSelected":""}`),t.attr(m,"class",f=`BettingHistoryButton ${s[5]?"BettingHistoryButtonMobile":""} ${s[0]==="settledBets"?"BettingHistoryButtonSelected":""}`),t.attr(c,"class","BettingHistoryTabs"),t.set_custom_element_data(u,"bet-status",s[0]),t.set_custom_element_data(u,"item-layout","V2"),t.set_custom_element_data(u,"match-score-layout","v2"),t.set_custom_element_data(u,"match-score-scope","BHDetailed"),t.set_custom_element_data(u,"date-format","dd.mm.yyyy"),t.set_custom_element_data(u,"time-format","HH:MM"),t.set_custom_element_data(u,"tournament-route",":sportId/:tournamentId"),t.set_custom_element_data(u,"match-route",":betId"),t.attr(k,"class","OM-MatchScore OM-MatchScore__List"),t.attr(e,"class","BettingHistoryWrapper"),t.toggle_class(e,"BettingHistoryWrapperMobile",s[5])},m(a,H){t.insert(a,e,H),n&&n.m(e,null),t.append(e,l),t.append(e,p),t.append(p,_),t.append(e,h),t.append(e,c),t.append(c,o),t.append(o,d),t.append(c,w),t.append(c,m),t.append(m,b),t.append(e,v),t.append(e,u),t.append(e,M),i&&i.m(e,null),t.append(e,S),t.append(e,k),s[17](e),A||(I=[t.listen(o,"click",s[15]),t.listen(m,"click",s[16]),t.listen(u,"routeChange",s[8])],A=!0)},p(a,[H]){a[5]&&n.p(a,H),H&16&&B!==(B=a[4]("bettingHistory.title")+"")&&t.set_data(_,B),H&16&&y!==(y=a[4]("bettingHistory.openBets")+"")&&t.set_data(d,y),H&1&&g!==(g=`BettingHistoryButton ${a[5]?"BettingHistoryButtonMobile":""} ${a[0]==="openBets"?"BettingHistoryButtonSelected":""}`)&&t.attr(o,"class",g),H&16&&r!==(r=a[4]("bettingHistory.settledBets")+"")&&t.set_data(b,r),H&1&&f!==(f=`BettingHistoryButton ${a[5]?"BettingHistoryButtonMobile":""} ${a[0]==="settledBets"?"BettingHistoryButtonSelected":""}`)&&t.attr(m,"class",f),H&1&&t.set_custom_element_data(u,"bet-status",a[0]),a[3]==="true"&&a[1]?i||(i=E(),i.c(),i.m(e,S)):i&&(i.d(1),i=null)},i:t.noop,o:t.noop,d(a){a&&t.detach(e),n&&n.d(),i&&i.d(),s[17](null),A=!1,t.run_all(I)}}}function R(s,e,l){let p;t.component_subscribe(s,t.$format,n=>l(4,p=n));let{betstatus:B="openBets"}=e,{lang:_="en"}=e,{selectedBetId:h=null}=e,{clientstyling:c=""}=e,{clientstylingurl:o=""}=e,{mbsource:y}=e,{translationurl:d=""}=e,g="false",w=window.navigator.userAgent,m=t.getDevice(w)!=="PC",r;const b=()=>{fetch(d).then(i=>i.json()).then(i=>{Object.keys(i).forEach(a=>{T(a,i[a])})}).catch(i=>{console.log(i)})};Object.entries(L).forEach(([n,i])=>{T(n,i)});const f=n=>{l(0,B=n)},v=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:m},window.location.href)},u=n=>{const{betId:i}=n.detail.params;l(1,h=i),l(3,g="true")},M=n=>{var i;((i=n.data)==null?void 0:i.type)==="ModalClosed"&&l(3,g="false")};t.onMount(()=>(window.addEventListener("message",M,!1),()=>{window.removeEventListener("message",M)}));const S=()=>v(),k=()=>f("openBets"),A=()=>f("settledBets");function I(n){t.binding_callbacks[n?"unshift":"push"](()=>{r=n,l(2,r)})}return s.$$set=n=>{"betstatus"in n&&l(0,B=n.betstatus),"lang"in n&&l(9,_=n.lang),"selectedBetId"in n&&l(1,h=n.selectedBetId),"clientstyling"in n&&l(10,c=n.clientstyling),"clientstylingurl"in n&&l(11,o=n.clientstylingurl),"mbsource"in n&&l(12,y=n.mbsource),"translationurl"in n&&l(13,d=n.translationurl)},s.$$.update=()=>{s.$$.dirty&512&&_&&j(_),s.$$.dirty&1028&&c&&r&&t.setClientStyling(r,c),s.$$.dirty&2052&&o&&r&&t.setClientStylingURL(r,o),s.$$.dirty&4100&&y&&r&&t.setStreamStyling(r,`${y}.Style`),s.$$.dirty&8192&&d&&b()},[B,h,r,g,p,m,f,v,u,_,c,o,y,d,S,k,A,I]}class O extends t.SvelteComponent{constructor(e){super(),t.init(this,e,R,P,t.safe_not_equal,{betstatus:0,lang:9,selectedBetId:1,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13},x)}get betstatus(){return this.$$.ctx[0]}set betstatus(e){this.$$set({betstatus:e}),t.flush()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),t.flush()}get selectedBetId(){return this.$$.ctx[1]}set selectedBetId(e){this.$$set({selectedBetId:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(O,{betstatus:{},lang:{},selectedBetId:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-CK8tLROK.cjs");function T(s,e){t.addMessages(s,e)}function j(s){t.$locale.set(s)}const L={en:{titleBettingHistory:"Betting History",settledBets:"Settled Bets",openBets:"Open Bets"},ro:{titleBettingHistory:"Istoric Pariuri",settledBets:"Pariuri Decise",openBets:"Pariuri Deschise"},es:{titleBettingHistory:"Historial de Apuestas",settledBets:"Apuestas cerradas",openBets:"Apuestas abiertas"},hr:{titleBettingHistory:"Povijest klađenja",settledBets:"Obračunate oklade",openBets:"Otvorene oklade"},"pt-br":{titleBettingHistory:"Histórico de apostas",settledBets:"Apostas liquidadas",openBets:"apostas abertas"},"es-mx":{titleBettingHistory:"Historial de apuesta",settledBets:"Apuestas liquidadas",openBets:"Apuestas abiertas"},tr:{titleBettingHistory:"Bahis Geçmişi",settledBets:"Sonuçlandırılmış Bahisler",openBets:"Açık Bahisler"},"en-us":{titleBettingHistory:"Betting History",settledBets:"Settled Bets",openBets:"Open Bets"}};function x(s){t.append_styles(s,"svelte-1kgy21f",`@import 'https://static.everymatrix.com/omfe-widgets/s/widgets/1.2.0-alpha.0/widgets.min.css';:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.BettingHistoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BettingHistoryTitle.BettingHistoryTitleMobile{font-size:16px}.BettingHistoryTitle.BettingHistoryTitleNone{display:none}.BettingHistoryWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.BettingHistoryWrapper.BettingHistoryWrapperMobile{padding:20px 15px;max-width:unset}.BettingHistoryTabs{width:100%;display:flex;justify-content:center}.BettingHistoryButton{margin:0;width:100%;padding:20px;border:none;font-size:24px;color:var(--emw--color-black, #000);background:var(--emw--color-white, #fff);border:2px solid var(--emw--color-black, #000)}.BettingHistoryButton.BettingHistoryButtonMobile{padding:20px;font-size:12px}.BettingHistoryButton.BettingHistoryButtonSelected{color:var(--emw--color-white, #fff);background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.OM-MatchScore,.OM-MatchScore__List{display:flex;align-items:center;justify-content:center;list-style-type:none;margin:0;padding:0}`)}function C(s){let e,l,p,B,_,h,c,o,y,d,g=s[4]("titleBettingHistory")+"",w,m,r;return{c(){e=t.element("div"),l=t.svg_element("svg"),p=t.svg_element("defs"),B=t.svg_element("style"),_=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),h=t.svg_element("g"),c=t.svg_element("g"),o=t.svg_element("path"),y=t.space(),d=t.element("h2"),w=t.text(g),t.attr(o,"class","aaa"),t.attr(o,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),t.attr(o,"transform","translate(15 15) rotate(180)"),t.attr(c,"transform","translate(20 158)"),t.attr(h,"transform","translate(-20 -158)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","15"),t.attr(l,"height","15"),t.attr(l,"viewBox","0 0 15 15"),t.attr(d,"class","BettingHistoryTitleMobile"),t.attr(e,"class","MenuReturnButton")},m(b,f){t.insert(b,e,f),t.append(e,l),t.append(l,p),t.append(p,B),t.append(B,_),t.append(l,h),t.append(h,c),t.append(c,o),t.append(e,y),t.append(e,d),t.append(d,w),m||(r=t.listen(e,"click",s[14]),m=!0)},p(b,f){f&16&&g!==(g=b[4]("titleBettingHistory")+"")&&t.set_data(w,g)},d(b){b&&t.detach(e),m=!1,r()}}}function E(s){return{c:t.noop,m:t.noop,d:t.noop}}function P(s){let e,l,p,B=s[4]("bettingHistory.title")+"",_,h,c,o,y=s[4]("bettingHistory.openBets")+"",d,g,w,m,r=s[4]("bettingHistory.settledBets")+"",b,f,v,u,M,S,k,A,I,n=s[5]&&C(s),i=s[3]==="true"&&s[1]&&E();return{c(){e=t.element("div"),n&&n.c(),l=t.space(),p=t.element("h2"),_=t.text(B),h=t.space(),c=t.element("div"),o=t.element("button"),d=t.text(y),w=t.space(),m=t.element("button"),b=t.text(r),v=t.space(),u=t.element("om-betting-history-list"),M=t.space(),i&&i.c(),S=t.space(),k=t.element("div"),t.attr(p,"class","BettingHistoryTitle "+(s[5]?"BettingHistoryTitleNone":"")),t.attr(p,"part","`BettingHistoryTitleMobile"),t.attr(o,"class",g=`BettingHistoryButton ${s[5]?"BettingHistoryButtonMobile":""} ${s[0]==="openBets"?"BettingHistoryButtonSelected":""}`),t.attr(m,"class",f=`BettingHistoryButton ${s[5]?"BettingHistoryButtonMobile":""} ${s[0]==="settledBets"?"BettingHistoryButtonSelected":""}`),t.attr(c,"class","BettingHistoryTabs"),t.set_custom_element_data(u,"bet-status",s[0]),t.set_custom_element_data(u,"item-layout","V2"),t.set_custom_element_data(u,"match-score-layout","v2"),t.set_custom_element_data(u,"match-score-scope","BHDetailed"),t.set_custom_element_data(u,"date-format","dd.mm.yyyy"),t.set_custom_element_data(u,"time-format","HH:MM"),t.set_custom_element_data(u,"tournament-route",":sportId/:tournamentId"),t.set_custom_element_data(u,"match-route",":betId"),t.attr(k,"class","OM-MatchScore OM-MatchScore__List"),t.attr(e,"class","BettingHistoryWrapper"),t.toggle_class(e,"BettingHistoryWrapperMobile",s[5])},m(a,H){t.insert(a,e,H),n&&n.m(e,null),t.append(e,l),t.append(e,p),t.append(p,_),t.append(e,h),t.append(e,c),t.append(c,o),t.append(o,d),t.append(c,w),t.append(c,m),t.append(m,b),t.append(e,v),t.append(e,u),t.append(e,M),i&&i.m(e,null),t.append(e,S),t.append(e,k),s[17](e),A||(I=[t.listen(o,"click",s[15]),t.listen(m,"click",s[16]),t.listen(u,"routeChange",s[8])],A=!0)},p(a,[H]){a[5]&&n.p(a,H),H&16&&B!==(B=a[4]("bettingHistory.title")+"")&&t.set_data(_,B),H&16&&y!==(y=a[4]("bettingHistory.openBets")+"")&&t.set_data(d,y),H&1&&g!==(g=`BettingHistoryButton ${a[5]?"BettingHistoryButtonMobile":""} ${a[0]==="openBets"?"BettingHistoryButtonSelected":""}`)&&t.attr(o,"class",g),H&16&&r!==(r=a[4]("bettingHistory.settledBets")+"")&&t.set_data(b,r),H&1&&f!==(f=`BettingHistoryButton ${a[5]?"BettingHistoryButtonMobile":""} ${a[0]==="settledBets"?"BettingHistoryButtonSelected":""}`)&&t.attr(m,"class",f),H&1&&t.set_custom_element_data(u,"bet-status",a[0]),a[3]==="true"&&a[1]?i||(i=E(),i.c(),i.m(e,S)):i&&(i.d(1),i=null)},i:t.noop,o:t.noop,d(a){a&&t.detach(e),n&&n.d(),i&&i.d(),s[17](null),A=!1,t.run_all(I)}}}function R(s,e,l){let p;t.component_subscribe(s,t.$format,n=>l(4,p=n));let{betstatus:B="openBets"}=e,{lang:_="en"}=e,{selectedBetId:h=null}=e,{clientstyling:c=""}=e,{clientstylingurl:o=""}=e,{mbsource:y}=e,{translationurl:d=""}=e,g="false",w=window.navigator.userAgent,m=t.getDevice(w)!=="PC",r;const b=()=>{fetch(d).then(i=>i.json()).then(i=>{Object.keys(i).forEach(a=>{T(a,i[a])})}).catch(i=>{console.log(i)})};Object.entries(L).forEach(([n,i])=>{T(n,i)});const f=n=>{l(0,B=n)},v=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:m},window.location.href)},u=n=>{const{betId:i}=n.detail.params;l(1,h=i),l(3,g="true")},M=n=>{var i;((i=n.data)==null?void 0:i.type)==="ModalClosed"&&l(3,g="false")};t.onMount(()=>(window.addEventListener("message",M,!1),()=>{window.removeEventListener("message",M)}));const S=()=>v(),k=()=>f("openBets"),A=()=>f("settledBets");function I(n){t.binding_callbacks[n?"unshift":"push"](()=>{r=n,l(2,r)})}return s.$$set=n=>{"betstatus"in n&&l(0,B=n.betstatus),"lang"in n&&l(9,_=n.lang),"selectedBetId"in n&&l(1,h=n.selectedBetId),"clientstyling"in n&&l(10,c=n.clientstyling),"clientstylingurl"in n&&l(11,o=n.clientstylingurl),"mbsource"in n&&l(12,y=n.mbsource),"translationurl"in n&&l(13,d=n.translationurl)},s.$$.update=()=>{s.$$.dirty&512&&_&&j(_),s.$$.dirty&1028&&c&&r&&t.setClientStyling(r,c),s.$$.dirty&2052&&o&&r&&t.setClientStylingURL(r,o),s.$$.dirty&4100&&y&&r&&t.setStreamStyling(r,`${y}.Style`),s.$$.dirty&8192&&d&&b()},[B,h,r,g,p,m,f,v,u,_,c,o,y,d,S,k,A,I]}class O extends t.SvelteComponent{constructor(e){super(),t.init(this,e,R,P,t.safe_not_equal,{betstatus:0,lang:9,selectedBetId:1,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13},x)}get betstatus(){return this.$$.ctx[0]}set betstatus(e){this.$$set({betstatus:e}),t.flush()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),t.flush()}get selectedBetId(){return this.$$.ctx[1]}set selectedBetId(e){this.$$set({selectedBetId:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(O,{betstatus:{},lang:{},selectedBetId:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=O;
@@ -1,4 +1,4 @@
1
- import { a as U, $ as V, S as G, i as Z, s as F, f as k, b as J, n as L, d as W, r as K, c as R, e as o, g as v, h as q, j as l, l as z, k as M, m as A, t as P, o as Q, p as X, q as Y, u as $, v as I, w as tt, x as et, y as st, z as it, A as nt, B as lt } from "./GeneralLogout-CShGWvvZ.js";
1
+ import { a as U, $ as V, S as G, i as Z, s as F, f as k, b as J, n as L, d as W, r as K, c as R, e as o, g as v, h as q, j as l, l as z, k as M, m as A, t as P, o as Q, p as X, q as Y, u as $, v as I, w as tt, x as et, y as st, z as it, A as nt, B as lt } from "./GeneralLogout-hWNQ3J3o.js";
2
2
  function D(e, t) {
3
3
  U(e, t);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { a as U, $ as V, S as G, i as Z, s as F, f as k, b as J, n as L, d as W, r as K, c as R, e as o, g as v, h as q, j as n, l as z, k as M, m as A, t as P, o as Q, p as X, q as Y, u as $, v as I, w as tt, x as et, y as st, z as it, A as nt, B as lt } from "./GeneralLogout-Bk4SNbIF.js";
1
+ import { a as U, $ as V, S as G, i as Z, s as F, f as k, b as J, n as L, d as W, r as K, c as R, e as o, g as v, h as q, j as n, l as z, k as M, m as A, t as P, o as Q, p as X, q as Y, u as $, v as I, w as tt, x as et, y as st, z as it, A as nt, B as lt } from "./GeneralLogout-BtP2SNPX.js";
2
2
  function D(e, t) {
3
3
  U(e, t);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { a as L, $ as N, S as W, i as q, s as H, f as k, b as I, n as z, d as O, c as U, h as R, j as o, l as C, k as h, m as S, t as x, e as n, p as K, q as V, u as Z, v as j, w as G, x as J, y as Q, z as X, A as $, B as tt } from "./GeneralLogout-Bk4SNbIF.js";
1
+ import { a as L, $ as N, S as W, i as q, s as H, f as k, b as I, n as z, d as O, c as U, h as R, j as o, l as C, k as h, m as S, t as x, e as n, p as K, q as V, u as Z, v as j, w as G, x as J, y as Q, z as X, A as $, B as tt } from "./GeneralLogout-BtP2SNPX.js";
2
2
  function Y(i, t) {
3
3
  L(i, t);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { a as L, $ as N, S as W, i as q, s as H, f as k, b as I, n as z, d as O, c as U, h as R, j as o, l as C, k as h, m as S, t as x, e as n, p as K, q as V, u as Z, v as j, w as G, x as J, y as Q, z as X, A as $, B as tt } from "./GeneralLogout-CShGWvvZ.js";
1
+ import { a as L, $ as N, S as W, i as q, s as H, f as k, b as I, n as z, d as O, c as U, h as R, j as o, l as C, k as h, m as S, t as x, e as n, p as K, q as V, u as Z, v as j, w as G, x as J, y as Q, z as X, A as $, B as tt } from "./GeneralLogout-hWNQ3J3o.js";
2
2
  function Y(i, t) {
3
3
  L(i, t);
4
4
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-CuvnoUn1.cjs");function M(i,e){t.addMessages(i,e)}function j(i){t.$locale.set(i)}const k={en:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"zh-hk":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},fr:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},tr:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},ro:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},es:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},pt:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},hr:{titleBiometrics:"Biometrijska autentifikacija",descriptionParagraph1:"Koristite biometrijsku prijavu otiskom prsta ili licem za brži i jednostavniji pristup svom računu.",descriptionParagraph2:"Ovu značajku možete uključiti i isključiti u bilo kojem trenutku",btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju"},"pt-br":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"es-mx":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"en-us":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"}};function T(i){t.append_styles(i,"svelte-6qxh5g",".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{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:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons .BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}")}function S(i){let e,r,f,s,l,c,m,o,b,n,g=i[2]("titleBiometrics")+"",h,B,y;return{c(){e=t.element("div"),r=t.svg_element("svg"),f=t.svg_element("defs"),s=t.svg_element("style"),l=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),c=t.svg_element("g"),m=t.svg_element("g"),o=t.svg_element("path"),b=t.space(),n=t.element("h2"),h=t.text(g),t.attr(o,"class","aaa"),t.attr(o,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),t.attr(o,"transform","translate(15 15) rotate(180)"),t.attr(m,"transform","translate(20 158)"),t.attr(c,"transform","translate(-20 -158)"),t.attr(r,"xmlns","http://www.w3.org/2000/svg"),t.attr(r,"width","15"),t.attr(r,"height","15"),t.attr(r,"viewBox","0 0 15 15"),t.attr(n,"class","BiometricsTitleMobile"),t.attr(n,"part","BiometricsTitleMobile"),t.attr(e,"class","MenuReturnButton"),t.attr(e,"part","MenuReturnButton")},m(u,w){t.insert(u,e,w),t.append(e,r),t.append(r,f),t.append(f,s),t.append(s,l),t.append(r,c),t.append(c,m),t.append(m,o),t.append(e,b),t.append(e,n),t.append(n,h),B||(y=t.listen(e,"click",i[11]),B=!0)},p(u,w){w&4&&g!==(g=u[2]("titleBiometrics")+"")&&t.set_data(h,g)},d(u){u&&t.detach(e),B=!1,y()}}}function U(i){let e,r,f,s,l=i[2]("titleBiometrics")+"",c,m,o,b,n=i[2]("descriptionParagraph1")+"",g,h,B,y=i[2]("descriptionParagraph2")+"",u,w,P,v,D=(i[0]==="true"?i[2]("btnDisableBiometrics"):i[2]("btnEnableBiometrics"))+"",a,d,A,_=i[3]&&S(i);return{c(){e=t.element("div"),r=t.element("div"),_&&_.c(),f=t.space(),s=t.element("h2"),c=t.text(l),m=t.space(),o=t.element("div"),b=t.element("p"),g=t.text(n),h=t.space(),B=t.element("p"),u=t.text(y),w=t.space(),P=t.element("div"),v=t.element("button"),a=t.text(D),t.attr(s,"class","BiometricsTitle "+(i[3]?"BiometricsTitleNone":"")),t.attr(o,"class","BiometricsDescription "+(i[3]?"BiometricsDescriptionMobile":"")),t.attr(v,"class","BiometricsToggle"),t.attr(P,"class","BiometricsActionButtons "+(i[3]?"BiometricsActionButtonsMobile":"")),t.attr(r,"class","BiometricsWrapper "+(i[3]?"BiometricsWrapperMobile":""))},m(p,E){t.insert(p,e,E),t.append(e,r),_&&_.m(r,null),t.append(r,f),t.append(r,s),t.append(s,c),t.append(r,m),t.append(r,o),t.append(o,b),t.append(b,g),t.append(o,h),t.append(o,B),t.append(B,u),t.append(r,w),t.append(r,P),t.append(P,v),t.append(v,a),i[13](e),d||(A=t.listen(v,"click",i[12]),d=!0)},p(p,[E]){p[3]&&_.p(p,E),E&4&&l!==(l=p[2]("titleBiometrics")+"")&&t.set_data(c,l),E&4&&n!==(n=p[2]("descriptionParagraph1")+"")&&t.set_data(g,n),E&4&&y!==(y=p[2]("descriptionParagraph2")+"")&&t.set_data(u,y),E&5&&D!==(D=(p[0]==="true"?p[2]("btnDisableBiometrics"):p[2]("btnEnableBiometrics"))+"")&&t.set_data(a,D)},i:t.noop,o:t.noop,d(p){p&&t.detach(e),_&&_.d(),i[13](null),d=!1,A()}}}function Y(i,e,r){let f;t.component_subscribe(i,t.$format,a=>r(2,f=a));let{biometricsenabled:s="false"}=e,{lang:l="en"}=e,{clientstyling:c=""}=e,{clientstylingurl:m=""}=e,{mbsource:o}=e,{translationurl:b=""}=e,n,g=window.navigator.userAgent,h=t.getDevice(g)!=="PC";const B=()=>{fetch(b).then(d=>d.json()).then(d=>{Object.keys(d).forEach(A=>{M(A,d[A])})}).catch(d=>{console.log(d)})};Object.keys(k).forEach(a=>{M(a,k[a])});const y=()=>{j(l)},u=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:h},window.location.href)},w=()=>{s==="true"?r(0,s="false"):s==="false"&&r(0,s="true"),window.postMessage({type:"ToggleBiometrics",data:s})};t.onMount(()=>()=>{});const P=()=>u(),v=()=>w();function D(a){t.binding_callbacks[a?"unshift":"push"](()=>{n=a,r(1,n)})}return i.$$set=a=>{"biometricsenabled"in a&&r(0,s=a.biometricsenabled),"lang"in a&&r(6,l=a.lang),"clientstyling"in a&&r(7,c=a.clientstyling),"clientstylingurl"in a&&r(8,m=a.clientstylingurl),"mbsource"in a&&r(9,o=a.mbsource),"translationurl"in a&&r(10,b=a.translationurl)},i.$$.update=()=>{i.$$.dirty&64&&l&&y(),i.$$.dirty&130&&c&&n&&t.setClientStyling(n,c),i.$$.dirty&258&&m&&n&&t.setClientStylingURL(n,m),i.$$.dirty&514&&o&&n&&t.setStreamStyling(n,`${o}.Style`),i.$$.dirty&1024&&b&&B()},[s,n,f,h,u,w,l,c,m,o,b,P,v,D]}class x extends t.SvelteComponent{constructor(e){super(),t.init(this,e,Y,U,t.safe_not_equal,{biometricsenabled:0,lang:6,clientstyling:7,clientstylingurl:8,mbsource:9,translationurl:10},T)}get biometricsenabled(){return this.$$.ctx[0]}set biometricsenabled(e){this.$$set({biometricsenabled:e}),t.flush()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get translationurl(){return this.$$.ctx[10]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(x,{biometricsenabled:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=x;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-CK8tLROK.cjs");function M(i,e){t.addMessages(i,e)}function j(i){t.$locale.set(i)}const k={en:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"zh-hk":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},fr:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},tr:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},ro:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},es:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},pt:{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},hr:{titleBiometrics:"Biometrijska autentifikacija",descriptionParagraph1:"Koristite biometrijsku prijavu otiskom prsta ili licem za brži i jednostavniji pristup svom računu.",descriptionParagraph2:"Ovu značajku možete uključiti i isključiti u bilo kojem trenutku",btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju"},"pt-br":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"es-mx":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"},"en-us":{titleBiometrics:"Biometrics Authentication",descriptionParagraph1:"Use biometric login with your fingerprint or face for faster and easier access to your account.",descriptionParagraph2:"You can turn this feature on and off at any time",btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics"}};function T(i){t.append_styles(i,"svelte-6qxh5g",".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{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:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons .BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}")}function S(i){let e,r,f,s,l,c,m,o,b,n,g=i[2]("titleBiometrics")+"",h,B,y;return{c(){e=t.element("div"),r=t.svg_element("svg"),f=t.svg_element("defs"),s=t.svg_element("style"),l=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),c=t.svg_element("g"),m=t.svg_element("g"),o=t.svg_element("path"),b=t.space(),n=t.element("h2"),h=t.text(g),t.attr(o,"class","aaa"),t.attr(o,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),t.attr(o,"transform","translate(15 15) rotate(180)"),t.attr(m,"transform","translate(20 158)"),t.attr(c,"transform","translate(-20 -158)"),t.attr(r,"xmlns","http://www.w3.org/2000/svg"),t.attr(r,"width","15"),t.attr(r,"height","15"),t.attr(r,"viewBox","0 0 15 15"),t.attr(n,"class","BiometricsTitleMobile"),t.attr(n,"part","BiometricsTitleMobile"),t.attr(e,"class","MenuReturnButton"),t.attr(e,"part","MenuReturnButton")},m(u,w){t.insert(u,e,w),t.append(e,r),t.append(r,f),t.append(f,s),t.append(s,l),t.append(r,c),t.append(c,m),t.append(m,o),t.append(e,b),t.append(e,n),t.append(n,h),B||(y=t.listen(e,"click",i[11]),B=!0)},p(u,w){w&4&&g!==(g=u[2]("titleBiometrics")+"")&&t.set_data(h,g)},d(u){u&&t.detach(e),B=!1,y()}}}function U(i){let e,r,f,s,l=i[2]("titleBiometrics")+"",c,m,o,b,n=i[2]("descriptionParagraph1")+"",g,h,B,y=i[2]("descriptionParagraph2")+"",u,w,P,v,D=(i[0]==="true"?i[2]("btnDisableBiometrics"):i[2]("btnEnableBiometrics"))+"",a,d,A,_=i[3]&&S(i);return{c(){e=t.element("div"),r=t.element("div"),_&&_.c(),f=t.space(),s=t.element("h2"),c=t.text(l),m=t.space(),o=t.element("div"),b=t.element("p"),g=t.text(n),h=t.space(),B=t.element("p"),u=t.text(y),w=t.space(),P=t.element("div"),v=t.element("button"),a=t.text(D),t.attr(s,"class","BiometricsTitle "+(i[3]?"BiometricsTitleNone":"")),t.attr(o,"class","BiometricsDescription "+(i[3]?"BiometricsDescriptionMobile":"")),t.attr(v,"class","BiometricsToggle"),t.attr(P,"class","BiometricsActionButtons "+(i[3]?"BiometricsActionButtonsMobile":"")),t.attr(r,"class","BiometricsWrapper "+(i[3]?"BiometricsWrapperMobile":""))},m(p,E){t.insert(p,e,E),t.append(e,r),_&&_.m(r,null),t.append(r,f),t.append(r,s),t.append(s,c),t.append(r,m),t.append(r,o),t.append(o,b),t.append(b,g),t.append(o,h),t.append(o,B),t.append(B,u),t.append(r,w),t.append(r,P),t.append(P,v),t.append(v,a),i[13](e),d||(A=t.listen(v,"click",i[12]),d=!0)},p(p,[E]){p[3]&&_.p(p,E),E&4&&l!==(l=p[2]("titleBiometrics")+"")&&t.set_data(c,l),E&4&&n!==(n=p[2]("descriptionParagraph1")+"")&&t.set_data(g,n),E&4&&y!==(y=p[2]("descriptionParagraph2")+"")&&t.set_data(u,y),E&5&&D!==(D=(p[0]==="true"?p[2]("btnDisableBiometrics"):p[2]("btnEnableBiometrics"))+"")&&t.set_data(a,D)},i:t.noop,o:t.noop,d(p){p&&t.detach(e),_&&_.d(),i[13](null),d=!1,A()}}}function Y(i,e,r){let f;t.component_subscribe(i,t.$format,a=>r(2,f=a));let{biometricsenabled:s="false"}=e,{lang:l="en"}=e,{clientstyling:c=""}=e,{clientstylingurl:m=""}=e,{mbsource:o}=e,{translationurl:b=""}=e,n,g=window.navigator.userAgent,h=t.getDevice(g)!=="PC";const B=()=>{fetch(b).then(d=>d.json()).then(d=>{Object.keys(d).forEach(A=>{M(A,d[A])})}).catch(d=>{console.log(d)})};Object.keys(k).forEach(a=>{M(a,k[a])});const y=()=>{j(l)},u=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:h},window.location.href)},w=()=>{s==="true"?r(0,s="false"):s==="false"&&r(0,s="true"),window.postMessage({type:"ToggleBiometrics",data:s})};t.onMount(()=>()=>{});const P=()=>u(),v=()=>w();function D(a){t.binding_callbacks[a?"unshift":"push"](()=>{n=a,r(1,n)})}return i.$$set=a=>{"biometricsenabled"in a&&r(0,s=a.biometricsenabled),"lang"in a&&r(6,l=a.lang),"clientstyling"in a&&r(7,c=a.clientstyling),"clientstylingurl"in a&&r(8,m=a.clientstylingurl),"mbsource"in a&&r(9,o=a.mbsource),"translationurl"in a&&r(10,b=a.translationurl)},i.$$.update=()=>{i.$$.dirty&64&&l&&y(),i.$$.dirty&130&&c&&n&&t.setClientStyling(n,c),i.$$.dirty&258&&m&&n&&t.setClientStylingURL(n,m),i.$$.dirty&514&&o&&n&&t.setStreamStyling(n,`${o}.Style`),i.$$.dirty&1024&&b&&B()},[s,n,f,h,u,w,l,c,m,o,b,P,v,D]}class x extends t.SvelteComponent{constructor(e){super(),t.init(this,e,Y,U,t.safe_not_equal,{biometricsenabled:0,lang:6,clientstyling:7,clientstylingurl:8,mbsource:9,translationurl:10},T)}get biometricsenabled(){return this.$$.ctx[0]}set biometricsenabled(e){this.$$set({biometricsenabled:e}),t.flush()}get lang(){return this.$$.ctx[6]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get translationurl(){return this.$$.ctx[10]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(x,{biometricsenabled:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=x;
@@ -1,4 +1,4 @@
1
- import { a as I, $ as Z, S as P, i as Y, s as U, f as j, b as J, n as T, d as D, c as F, h as S, j as a, l as N, k as f, m as z, t as B, e as i, p as K, q as V, u as G, v as E, r as Q, w as X, C as $, D as ee, x as oe, y as te, z as re, A as ae, B as ne } from "./GeneralLogout-CShGWvvZ.js";
1
+ import { a as I, $ as Z, S as P, i as Y, s as U, f as j, b as J, n as T, d as D, c as F, h as S, j as a, l as N, k as f, m as z, t as B, e as i, p as K, q as V, u as G, v as E, r as Q, w as X, C as $, D as ee, x as oe, y as te, z as re, A as ae, B as ne } from "./GeneralLogout-hWNQ3J3o.js";
2
2
  import "../stencil/ui-skeleton-CTFP1U_H.js";
3
3
  function H(t, e) {
4
4
  I(t, e);
@@ -1,4 +1,4 @@
1
- import { a as I, $ as Z, S as P, i as Y, s as U, f as j, b as J, n as T, d as D, c as F, h as S, j as a, l as N, k as f, m as z, t as B, e as i, p as K, q as V, u as G, v as E, r as Q, w as X, C as $, D as ee, x as oe, y as te, z as re, A as ae, B as ne } from "./GeneralLogout-Bk4SNbIF.js";
1
+ import { a as I, $ as Z, S as P, i as Y, s as U, f as j, b as J, n as T, d as D, c as F, h as S, j as a, l as N, k as f, m as z, t as B, e as i, p as K, q as V, u as G, v as E, r as Q, w as X, C as $, D as ee, x as oe, y as te, z as re, A as ae, B as ne } from "./GeneralLogout-BtP2SNPX.js";
2
2
  import "../stencil/ui-skeleton-BQnxp85t.js";
3
3
  function H(t, e) {
4
4
  I(t, e);
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CuvnoUn1.cjs");require("../stencil/ui-skeleton-C2ZVNvDq.cjs");function z(r,t){e.addMessages(r,t)}function S(r){e.$locale.set(r)}const B={en:{titleAccountClosure:"Account Closure",accountClosureDescription:"Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",closeAccount:"Close Account",modal:"Are you sure you want to close your account?",accountClosureCancel:"No",accountClosureConfirm:"Yes"},"zh-hk":{titleAccountClosure:"賬戶關閉",accountClosureDescription:"如果您覺得需要休息,或者您只是想停止使用我們的服務,賬戶關閉會為您的賬戶提供永久訪問限制。",closeAccount:"關閉賬戶",modal:"您確定要關閉您的帳戶嗎?",accountClosureCancel:"不",accountClosureConfirm:"是的"},fr:{titleAccountClosure:"Fermeture du compte",accountClosureDescription:"La fermeture du compte fournit une restriction permanente d'accès à votre compte si vous sentez que vous avez besoin d'une pause ou si vous souhaitez arrêter d'utiliser notre service",closeAccount:"Fermer le compte",modal:"êtes-vous sûr de vouloir fermer votre compte?",accountClosureCancel:"Non",accountClosureConfirm:"Oui"},ro:{titleAccountClosure:"Închidere Cont",accountClosureDescription:'Opțiunea "Închidere Cont" asigură suspendarea permanentă a accesului la contul tău dacă simți că ai nevoie de o pauză sau că vrei să nu mai folosești serviciile noastre.',closeAccount:"Închide Cont",modal:"Esti sigur ca vrei sa inchizi contul?",accountClosureCancel:"Nu",accountClosureConfirm:"Da"},es:{titleAccountClosure:"Cierre de cuenta",accountClosureDescription:"Cierre de cuenta provee una restricción permamente de poder ingresar a su cuenta si desea tomar una pausa.",closeAccount:"Cerrar cuenta",modal:"Esta seguro que desea cerrar su cuenta?",accountClosureCancel:"No",accountClosureConfirm:"Sí"},pt:{titleAccountClosure:"Encerramento da conta",accountClosureDescription:"O Encerramento de Conta fornece uma restrição de acesso permanente à sua conta se você achar que precisa de uma pausa ou apenas deseja parar de usar nossos serviços.",closeAccount:"Encerrar conta",modal:"Tem certeza de que deseja encerrar sua conta?",accountClosureCancel:"Não",accountClosureConfirm:"Sim"},hr:{titleAccountClosure:"Zatvaranje računa",accountClosureDescription:"Zatvaranje računa omogućuje trajno ograničenje pristupa vašem računu ako smatrate da vam je potreban odmor",closeAccount:"Zatvori račun",modal:"Jeste li sigurni da želite zatvoriti svoj račun?",accountClosureCancel:"Ne",accountClosureConfirm:"Da"},"pt-br":{titleAccountClosure:"Encerramento da conta",accountClosureDescription:"O encerramento da conta oferece restrição permanente de acesso à sua conta se você achar que precisa de uma pausa,ou simplesmente deseja parar de usar nossos serviços",closeAccount:"Conta de data",modal:"Tem certeza de que deseja namorar sua conta?",accountClosureCancel:"Não",accountClosureConfirm:"Sim"},"es-mx":{titleAccountClosure:"Cierre de cuenta",accountClosureDescription:"El cierre de la cuenta ofrece restricción permanente al acceso de su cuenta si considera que necesita un descanso,o simplemente quiere dejar de utilizar nuestros servicios",closeAccount:"Cerrar cuenta",modal:"Está seguro que quiere cerrar su cuenta?",accountClosureCancel:"No",accountClosureConfirm:"Sí"},tr:{titleAccountClosure:"Hesap kapatma",accountClosureDescription:"Hesap Kapatma, bir ara vermeniz gerektiğini düşünüyorsanız veya hizmetlerimizi kullanmayı bırakmak istiyorsanız, hesabınıza kalıcı erişim kısıtlaması sağlar.",closeAccount:"Hesabı kapat",modal:"Hesabınızı kapatmak istediğinizden emin misiniz?",accountClosureCancel:"HAYIR",accountClosureConfirm:"Evet"},"en-us":{titleAccountClosure:"Account Closure",accountClosureDescription:"Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",closeAccount:"Close Account",modal:"Are you sure you want to close your account?",accountClosureCancel:"No",accountClosureConfirm:"Yes"}};function D(r){e.append_styles(r,"svelte-1oeuewt",'.skeletonContainerClosure .skeletonWrapper{animation:fadeIn ease 0.3s;display:flex;flex-wrap:wrap;gap:8px}.skeletonContainerClosure .skeletonWrapper .skeletonNotification{width:100%}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:5%;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{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 .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:30px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:100}.ModalWrapper .ModalContent{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}')}function j(r,t,o){const l=r.slice();return l[22]=t[o],l}function T(r){let t,o,l,n,a,d,u,s,h,p,C=r[3]("titleAccountClosure")+"",w,i,M;return{c(){t=e.element("div"),o=e.svg_element("svg"),l=e.svg_element("defs"),n=e.svg_element("style"),a=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),d=e.svg_element("g"),u=e.svg_element("g"),s=e.svg_element("path"),h=e.space(),p=e.element("h2"),w=e.text(C),e.attr(s,"class","aaa"),e.attr(s,"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(s,"transform","translate(15 15) rotate(180)"),e.attr(u,"transform","translate(20 158)"),e.attr(d,"transform","translate(-20 -158)"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","15"),e.attr(o,"height","15"),e.attr(o,"viewBox","0 0 15 15"),e.attr(p,"class","AccountClosureTitleMobile"),e.attr(p,"part","AccountClosureTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(b,m){e.insert(b,t,m),e.append(t,o),e.append(o,l),e.append(l,n),e.append(n,a),e.append(o,d),e.append(d,u),e.append(u,s),e.append(t,h),e.append(t,p),e.append(p,w),i||(M=e.listen(t,"click",r[13]),i=!0)},p(b,m){m&8&&C!==(C=b[3]("titleAccountClosure")+"")&&e.set_data(w,C)},d(b){b&&e.detach(t),i=!1,M()}}}function N(r){let t,o,l=r[3]("accountClosureDescription")+"";return{c(){t=e.element("div"),o=e.element("p"),e.attr(t,"class","AccountClosureDescription "+(r[4]?"AccountClosureDescriptionMobile":""))},m(n,a){e.insert(n,t,a),e.append(t,o),o.innerHTML=l},p(n,a){a&8&&l!==(l=n[3]("accountClosureDescription")+"")&&(o.innerHTML=l)},d(n){n&&e.detach(t)}}}function q(r){let t,o,l=e.ensure_array_like({length:4}),n=[];for(let a=0;a<l.length;a+=1)n[a]=L(j(r,l,a));return{c(){t=e.element("div"),o=e.element("div");for(let a=0;a<n.length;a+=1)n[a].c();e.attr(o,"class","skeletonWrapper"),e.attr(t,"class","skeletonContainerClosure")},m(a,d){e.insert(a,t,d),e.append(t,o);for(let u=0;u<n.length;u+=1)n[u]&&n[u].m(o,null)},p:e.noop,d(a){a&&e.detach(t),e.destroy_each(n,a)}}}function L(r){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ',e.attr(t,"class","skeletonNotification")},m(o,l){e.insert(o,t,l)},p:e.noop,d(o){o&&e.detach(t)}}}function W(r){let t,o,l,n,a=r[3]("modal")+"",d,u,s,h,p=r[3]("accountClosureCancel")+"",C,w,i,M=r[3]("accountClosureConfirm")+"",b,m,x;return{c(){t=e.element("div"),o=e.element("div"),l=e.element("div"),n=e.element("p"),d=e.text(a),u=e.space(),s=e.element("div"),h=e.element("button"),C=e.text(p),w=e.space(),i=e.element("button"),b=e.text(M),e.attr(n,"class","ModalText"),e.attr(h,"class","ModalCancel"),e.attr(i,"class","ModalConfirm"),e.attr(s,"class","ModalButtons"),e.attr(l,"class","ModalBody"),e.attr(o,"class","ModalContent"),e.attr(t,"class","ModalWrapper "+(r[4]?"ModalWrapperMobile":""))},m(y,f){e.insert(y,t,f),e.append(t,o),e.append(o,l),e.append(l,n),e.append(n,d),e.append(l,u),e.append(l,s),e.append(s,h),e.append(h,C),e.append(s,w),e.append(s,i),e.append(i,b),m||(x=[e.listen(h,"click",r[15]),e.listen(i,"click",r[16])],m=!0)},p(y,f){f&8&&a!==(a=y[3]("modal")+"")&&e.set_data(d,a),f&8&&p!==(p=y[3]("accountClosureCancel")+"")&&e.set_data(C,p),f&8&&M!==(M=y[3]("accountClosureConfirm")+"")&&e.set_data(b,M)},d(y){y&&e.detach(t),m=!1,e.run_all(x)}}}function H(r){let t,o,l,n,a=r[3]("titleAccountClosure")+"",d,u,s,h,p,C=r[3]("closeAccount")+"",w,i,M,b,m=r[4]&&T(r);function x(g,A){return g[1]?q:N}let y=x(r),f=y(r),v=r[2]&&W(r);return{c(){t=e.element("div"),o=e.element("div"),m&&m.c(),l=e.space(),n=e.element("h2"),d=e.text(a),u=e.space(),f.c(),s=e.space(),h=e.element("div"),p=e.element("button"),w=e.text(C),i=e.space(),v&&v.c(),e.attr(n,"class","AccountClosureTitle "+(r[4]?"AccountClosureTitleNone":"")),e.attr(p,"class","AccountClosureSave "+(r[4]?"AccountClosureSaveMobile":"")),e.attr(h,"class","AccountClosureActionButtons "+(r[4]?"AccountClosureActionButtonsMobile":"")),e.attr(o,"class","AccountClosureWrapper "+(r[4]?"AccountClosureWrapperMobile":""))},m(g,A){e.insert(g,t,A),e.append(t,o),m&&m.m(o,null),e.append(o,l),e.append(o,n),e.append(n,d),e.append(o,u),f.m(o,null),e.append(o,s),e.append(o,h),e.append(h,p),e.append(p,w),e.append(t,i),v&&v.m(t,null),r[17](t),M||(b=e.listen(p,"click",r[14]),M=!0)},p(g,[A]){g[4]&&m.p(g,A),A&8&&a!==(a=g[3]("titleAccountClosure")+"")&&e.set_data(d,a),y===(y=x(g))&&f?f.p(g,A):(f.d(1),f=y(g),f&&(f.c(),f.m(o,s))),A&8&&C!==(C=g[3]("closeAccount")+"")&&e.set_data(w,C),g[2]?v?v.p(g,A):(v=W(g),v.c(),v.m(t,null)):v&&(v.d(1),v=null)},i:e.noop,o:e.noop,d(g){g&&e.detach(t),m&&m.d(),f.d(),v&&v.d(),r[17](null),M=!1,b()}}}function O(r,t,o){let l;e.component_subscribe(r,e.$format,c=>o(3,l=c));let{lang:n="en"}=t,{clientstyling:a=""}=t,{clientstylingurl:d=""}=t,{mbsource:u}=t,{translationurl:s=""}=t,h=window.navigator.userAgent,p=e.getDevice(h)!=="PC",C=!1,w=!1,i;const M=()=>{o(1,C=!0),fetch(s).then(_=>_.json()).then(_=>{Object.keys(_).forEach(k=>{z(k,_[k])})}).catch(_=>{console.log(_)}).finally(()=>{o(1,C=!1)})};Object.keys(B).forEach(c=>{z(c,B[c])});const b=c=>{o(2,w=c),c===!0?window.postMessage({type:"DisableScroll"},window.location.href):window.postMessage({type:"EnableScroll"},window.location.href)},m=()=>{b(!1),window.postMessage({type:"AccountClosure"},window.location.href)},x=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:p},window.location.href)},y=()=>{S(n)};e.onMount(()=>()=>{});const f=()=>x(),v=()=>b(!0),g=()=>b(!1),A=()=>m();function F(c){e.binding_callbacks[c?"unshift":"push"](()=>{i=c,o(0,i)})}return r.$$set=c=>{"lang"in c&&o(8,n=c.lang),"clientstyling"in c&&o(9,a=c.clientstyling),"clientstylingurl"in c&&o(10,d=c.clientstylingurl),"mbsource"in c&&o(11,u=c.mbsource),"translationurl"in c&&o(12,s=c.translationurl)},r.$$.update=()=>{r.$$.dirty&256&&n&&y(),r.$$.dirty&513&&a&&i&&e.setClientStyling(i,a),r.$$.dirty&1025&&d&&i&&e.setClientStylingURL(i,d),r.$$.dirty&2049&&u&&i&&e.setStreamStyling(i,`${u}.Style`),r.$$.dirty&4096&&s&&M()},[i,C,w,l,p,b,m,x,n,a,d,u,s,f,v,g,A,F]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,O,H,e.safe_not_equal,{lang:8,clientstyling:9,clientstylingurl:10,mbsource:11,translationurl:12},D)}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(E,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CK8tLROK.cjs");require("../stencil/ui-skeleton-C2ZVNvDq.cjs");function z(r,t){e.addMessages(r,t)}function S(r){e.$locale.set(r)}const B={en:{titleAccountClosure:"Account Closure",accountClosureDescription:"Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",closeAccount:"Close Account",modal:"Are you sure you want to close your account?",accountClosureCancel:"No",accountClosureConfirm:"Yes"},"zh-hk":{titleAccountClosure:"賬戶關閉",accountClosureDescription:"如果您覺得需要休息,或者您只是想停止使用我們的服務,賬戶關閉會為您的賬戶提供永久訪問限制。",closeAccount:"關閉賬戶",modal:"您確定要關閉您的帳戶嗎?",accountClosureCancel:"不",accountClosureConfirm:"是的"},fr:{titleAccountClosure:"Fermeture du compte",accountClosureDescription:"La fermeture du compte fournit une restriction permanente d'accès à votre compte si vous sentez que vous avez besoin d'une pause ou si vous souhaitez arrêter d'utiliser notre service",closeAccount:"Fermer le compte",modal:"êtes-vous sûr de vouloir fermer votre compte?",accountClosureCancel:"Non",accountClosureConfirm:"Oui"},ro:{titleAccountClosure:"Închidere Cont",accountClosureDescription:'Opțiunea "Închidere Cont" asigură suspendarea permanentă a accesului la contul tău dacă simți că ai nevoie de o pauză sau că vrei să nu mai folosești serviciile noastre.',closeAccount:"Închide Cont",modal:"Esti sigur ca vrei sa inchizi contul?",accountClosureCancel:"Nu",accountClosureConfirm:"Da"},es:{titleAccountClosure:"Cierre de cuenta",accountClosureDescription:"Cierre de cuenta provee una restricción permamente de poder ingresar a su cuenta si desea tomar una pausa.",closeAccount:"Cerrar cuenta",modal:"Esta seguro que desea cerrar su cuenta?",accountClosureCancel:"No",accountClosureConfirm:"Sí"},pt:{titleAccountClosure:"Encerramento da conta",accountClosureDescription:"O Encerramento de Conta fornece uma restrição de acesso permanente à sua conta se você achar que precisa de uma pausa ou apenas deseja parar de usar nossos serviços.",closeAccount:"Encerrar conta",modal:"Tem certeza de que deseja encerrar sua conta?",accountClosureCancel:"Não",accountClosureConfirm:"Sim"},hr:{titleAccountClosure:"Zatvaranje računa",accountClosureDescription:"Zatvaranje računa omogućuje trajno ograničenje pristupa vašem računu ako smatrate da vam je potreban odmor",closeAccount:"Zatvori račun",modal:"Jeste li sigurni da želite zatvoriti svoj račun?",accountClosureCancel:"Ne",accountClosureConfirm:"Da"},"pt-br":{titleAccountClosure:"Encerramento da conta",accountClosureDescription:"O encerramento da conta oferece restrição permanente de acesso à sua conta se você achar que precisa de uma pausa,ou simplesmente deseja parar de usar nossos serviços",closeAccount:"Conta de data",modal:"Tem certeza de que deseja namorar sua conta?",accountClosureCancel:"Não",accountClosureConfirm:"Sim"},"es-mx":{titleAccountClosure:"Cierre de cuenta",accountClosureDescription:"El cierre de la cuenta ofrece restricción permanente al acceso de su cuenta si considera que necesita un descanso,o simplemente quiere dejar de utilizar nuestros servicios",closeAccount:"Cerrar cuenta",modal:"Está seguro que quiere cerrar su cuenta?",accountClosureCancel:"No",accountClosureConfirm:"Sí"},tr:{titleAccountClosure:"Hesap kapatma",accountClosureDescription:"Hesap Kapatma, bir ara vermeniz gerektiğini düşünüyorsanız veya hizmetlerimizi kullanmayı bırakmak istiyorsanız, hesabınıza kalıcı erişim kısıtlaması sağlar.",closeAccount:"Hesabı kapat",modal:"Hesabınızı kapatmak istediğinizden emin misiniz?",accountClosureCancel:"HAYIR",accountClosureConfirm:"Evet"},"en-us":{titleAccountClosure:"Account Closure",accountClosureDescription:"Account Closure provides a permanent access restriction to your account if you feel you need a break, or you just want to stop using our services.",closeAccount:"Close Account",modal:"Are you sure you want to close your account?",accountClosureCancel:"No",accountClosureConfirm:"Yes"}};function D(r){e.append_styles(r,"svelte-1oeuewt",'.skeletonContainerClosure .skeletonWrapper{animation:fadeIn ease 0.3s;display:flex;flex-wrap:wrap;gap:8px}.skeletonContainerClosure .skeletonWrapper .skeletonNotification{width:100%}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}.AccountClosureWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--pam-color-bg, var(--emw--background-color, #F1F1F1));border-radius:5%;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{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 .aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.AccountClosureTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-normal, 400)}.AccountClosureTitleMobile{font-size:var(--emw--font-size-large, 20px)}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:var(--emw--font-size-small, 14px);line-height:18px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:30px 0;color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:var(--emw--font-size-small, 14px);grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:100}.ModalWrapper .ModalContent{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalContent::before{content:"";position:absolute;top:-6px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.ModalWrapper .ModalContent::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.ModalWrapper .ModalBody{background:transparent;padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:var(--emw--font-size-x-large, 24px);margin-bottom:40px;color:white}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:var(--emw--font-size-medium, 16px)}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:var(--emw--font-size-small, 14px)}')}function j(r,t,o){const l=r.slice();return l[22]=t[o],l}function T(r){let t,o,l,n,a,d,u,s,h,p,C=r[3]("titleAccountClosure")+"",w,i,M;return{c(){t=e.element("div"),o=e.svg_element("svg"),l=e.svg_element("defs"),n=e.svg_element("style"),a=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),d=e.svg_element("g"),u=e.svg_element("g"),s=e.svg_element("path"),h=e.space(),p=e.element("h2"),w=e.text(C),e.attr(s,"class","aaa"),e.attr(s,"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(s,"transform","translate(15 15) rotate(180)"),e.attr(u,"transform","translate(20 158)"),e.attr(d,"transform","translate(-20 -158)"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","15"),e.attr(o,"height","15"),e.attr(o,"viewBox","0 0 15 15"),e.attr(p,"class","AccountClosureTitleMobile"),e.attr(p,"part","AccountClosureTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(b,m){e.insert(b,t,m),e.append(t,o),e.append(o,l),e.append(l,n),e.append(n,a),e.append(o,d),e.append(d,u),e.append(u,s),e.append(t,h),e.append(t,p),e.append(p,w),i||(M=e.listen(t,"click",r[13]),i=!0)},p(b,m){m&8&&C!==(C=b[3]("titleAccountClosure")+"")&&e.set_data(w,C)},d(b){b&&e.detach(t),i=!1,M()}}}function N(r){let t,o,l=r[3]("accountClosureDescription")+"";return{c(){t=e.element("div"),o=e.element("p"),e.attr(t,"class","AccountClosureDescription "+(r[4]?"AccountClosureDescriptionMobile":""))},m(n,a){e.insert(n,t,a),e.append(t,o),o.innerHTML=l},p(n,a){a&8&&l!==(l=n[3]("accountClosureDescription")+"")&&(o.innerHTML=l)},d(n){n&&e.detach(t)}}}function q(r){let t,o,l=e.ensure_array_like({length:4}),n=[];for(let a=0;a<l.length;a+=1)n[a]=L(j(r,l,a));return{c(){t=e.element("div"),o=e.element("div");for(let a=0;a<n.length;a+=1)n[a].c();e.attr(o,"class","skeletonWrapper"),e.attr(t,"class","skeletonContainerClosure")},m(a,d){e.insert(a,t,d),e.append(t,o);for(let u=0;u<n.length;u+=1)n[u]&&n[u].m(o,null)},p:e.noop,d(a){a&&e.detach(t),e.destroy_each(n,a)}}}function L(r){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="24px"></ui-skeleton> ',e.attr(t,"class","skeletonNotification")},m(o,l){e.insert(o,t,l)},p:e.noop,d(o){o&&e.detach(t)}}}function W(r){let t,o,l,n,a=r[3]("modal")+"",d,u,s,h,p=r[3]("accountClosureCancel")+"",C,w,i,M=r[3]("accountClosureConfirm")+"",b,m,x;return{c(){t=e.element("div"),o=e.element("div"),l=e.element("div"),n=e.element("p"),d=e.text(a),u=e.space(),s=e.element("div"),h=e.element("button"),C=e.text(p),w=e.space(),i=e.element("button"),b=e.text(M),e.attr(n,"class","ModalText"),e.attr(h,"class","ModalCancel"),e.attr(i,"class","ModalConfirm"),e.attr(s,"class","ModalButtons"),e.attr(l,"class","ModalBody"),e.attr(o,"class","ModalContent"),e.attr(t,"class","ModalWrapper "+(r[4]?"ModalWrapperMobile":""))},m(y,f){e.insert(y,t,f),e.append(t,o),e.append(o,l),e.append(l,n),e.append(n,d),e.append(l,u),e.append(l,s),e.append(s,h),e.append(h,C),e.append(s,w),e.append(s,i),e.append(i,b),m||(x=[e.listen(h,"click",r[15]),e.listen(i,"click",r[16])],m=!0)},p(y,f){f&8&&a!==(a=y[3]("modal")+"")&&e.set_data(d,a),f&8&&p!==(p=y[3]("accountClosureCancel")+"")&&e.set_data(C,p),f&8&&M!==(M=y[3]("accountClosureConfirm")+"")&&e.set_data(b,M)},d(y){y&&e.detach(t),m=!1,e.run_all(x)}}}function H(r){let t,o,l,n,a=r[3]("titleAccountClosure")+"",d,u,s,h,p,C=r[3]("closeAccount")+"",w,i,M,b,m=r[4]&&T(r);function x(g,A){return g[1]?q:N}let y=x(r),f=y(r),v=r[2]&&W(r);return{c(){t=e.element("div"),o=e.element("div"),m&&m.c(),l=e.space(),n=e.element("h2"),d=e.text(a),u=e.space(),f.c(),s=e.space(),h=e.element("div"),p=e.element("button"),w=e.text(C),i=e.space(),v&&v.c(),e.attr(n,"class","AccountClosureTitle "+(r[4]?"AccountClosureTitleNone":"")),e.attr(p,"class","AccountClosureSave "+(r[4]?"AccountClosureSaveMobile":"")),e.attr(h,"class","AccountClosureActionButtons "+(r[4]?"AccountClosureActionButtonsMobile":"")),e.attr(o,"class","AccountClosureWrapper "+(r[4]?"AccountClosureWrapperMobile":""))},m(g,A){e.insert(g,t,A),e.append(t,o),m&&m.m(o,null),e.append(o,l),e.append(o,n),e.append(n,d),e.append(o,u),f.m(o,null),e.append(o,s),e.append(o,h),e.append(h,p),e.append(p,w),e.append(t,i),v&&v.m(t,null),r[17](t),M||(b=e.listen(p,"click",r[14]),M=!0)},p(g,[A]){g[4]&&m.p(g,A),A&8&&a!==(a=g[3]("titleAccountClosure")+"")&&e.set_data(d,a),y===(y=x(g))&&f?f.p(g,A):(f.d(1),f=y(g),f&&(f.c(),f.m(o,s))),A&8&&C!==(C=g[3]("closeAccount")+"")&&e.set_data(w,C),g[2]?v?v.p(g,A):(v=W(g),v.c(),v.m(t,null)):v&&(v.d(1),v=null)},i:e.noop,o:e.noop,d(g){g&&e.detach(t),m&&m.d(),f.d(),v&&v.d(),r[17](null),M=!1,b()}}}function O(r,t,o){let l;e.component_subscribe(r,e.$format,c=>o(3,l=c));let{lang:n="en"}=t,{clientstyling:a=""}=t,{clientstylingurl:d=""}=t,{mbsource:u}=t,{translationurl:s=""}=t,h=window.navigator.userAgent,p=e.getDevice(h)!=="PC",C=!1,w=!1,i;const M=()=>{o(1,C=!0),fetch(s).then(_=>_.json()).then(_=>{Object.keys(_).forEach(k=>{z(k,_[k])})}).catch(_=>{console.log(_)}).finally(()=>{o(1,C=!1)})};Object.keys(B).forEach(c=>{z(c,B[c])});const b=c=>{o(2,w=c),c===!0?window.postMessage({type:"DisableScroll"},window.location.href):window.postMessage({type:"EnableScroll"},window.location.href)},m=()=>{b(!1),window.postMessage({type:"AccountClosure"},window.location.href)},x=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:p},window.location.href)},y=()=>{S(n)};e.onMount(()=>()=>{});const f=()=>x(),v=()=>b(!0),g=()=>b(!1),A=()=>m();function F(c){e.binding_callbacks[c?"unshift":"push"](()=>{i=c,o(0,i)})}return r.$$set=c=>{"lang"in c&&o(8,n=c.lang),"clientstyling"in c&&o(9,a=c.clientstyling),"clientstylingurl"in c&&o(10,d=c.clientstylingurl),"mbsource"in c&&o(11,u=c.mbsource),"translationurl"in c&&o(12,s=c.translationurl)},r.$$.update=()=>{r.$$.dirty&256&&n&&y(),r.$$.dirty&513&&a&&i&&e.setClientStyling(i,a),r.$$.dirty&1025&&d&&i&&e.setClientStylingURL(i,d),r.$$.dirty&2049&&u&&i&&e.setStreamStyling(i,`${u}.Style`),r.$$.dirty&4096&&s&&M()},[i,C,w,l,p,b,m,x,n,a,d,u,s,f,v,g,A,F]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,O,H,e.safe_not_equal,{lang:8,clientstyling:9,clientstylingurl:10,mbsource:11,translationurl:12},D)}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[11]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(E,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=E;