@everymatrix/player-account-controller 1.56.2 → 1.56.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/components/{GeneralLogout-BSaw6CR3.js → GeneralLogout-D1bnYvKD.js} +285 -284
  2. package/components/{GeneralLogout-B0tDLggX.cjs → GeneralLogout-DKq7aXpj.cjs} +5 -5
  3. package/components/{GeneralLogout-P0C6s5DZ.js → GeneralLogout-oWKFw5-U.js} +278 -277
  4. package/components/{PlayerAccountBettingHistory-DeLbSbrJ.js → PlayerAccountBettingHistory-B5a8vPwA.js} +1 -1
  5. package/components/{PlayerAccountBettingHistory-QrFClf-q.cjs → PlayerAccountBettingHistory-Ba0rbzAt.cjs} +1 -1
  6. package/components/{PlayerAccountBettingHistory-l2jKP400.js → PlayerAccountBettingHistory-cvLnLJaM.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-DSkIQnzt.js → PlayerAccountBiometrics-244_l2MD.js} +1 -1
  8. package/components/{PlayerAccountBiometrics-BrjU0LiD.js → PlayerAccountBiometrics-ClTvex4w.js} +1 -1
  9. package/components/{PlayerAccountBiometrics-Bs6NMHc0.cjs → PlayerAccountBiometrics-D3SdfZAk.cjs} +1 -1
  10. package/components/{PlayerAccountClosure-DfeDK9W_.js → PlayerAccountClosure-9BJkNHZ1.js} +1 -1
  11. package/components/{PlayerAccountClosure-DiGREXoY.js → PlayerAccountClosure-CUDjmpCz.js} +1 -1
  12. package/components/{PlayerAccountClosure-BOIOY2XA.cjs → PlayerAccountClosure-Dk5N1AgF.cjs} +1 -1
  13. package/components/{PlayerAccountController-B0nEgZTS.js → PlayerAccountController-BntyBm60.js} +981 -962
  14. package/components/{PlayerAccountController-CFyMeqDb.js → PlayerAccountController-CG03zTka.js} +983 -964
  15. package/components/PlayerAccountController-CzBriEqi.cjs +1 -0
  16. package/components/{PlayerAccountGamingLimits-Ktm0tqeu.js → PlayerAccountGamingLimits-C2OQmz0L.js} +56 -56
  17. package/components/{PlayerAccountGamingLimits-Crfy5IPI.js → PlayerAccountGamingLimits-CGZB2W3L.js} +56 -56
  18. package/components/PlayerAccountGamingLimits-FIGZjiiE.cjs +1 -0
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-CVt2dp2q.js → PlayerAccountGamingLimitsConfirmationModal-CMNuF6Yo.js} +1 -1
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-BVtO8XYY.cjs → PlayerAccountGamingLimitsConfirmationModal-CyALQICB.cjs} +1 -1
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-GJsD4EXP.js → PlayerAccountGamingLimitsConfirmationModal-apD3a9Bz.js} +1 -1
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-DNh-dSyB.cjs → PlayerAccountGamingLimitsGroupEdit-BpaOoTGu.cjs} +2 -2
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-CBQMS6_H.js → PlayerAccountGamingLimitsGroupEdit-Cj28m25L.js} +291 -291
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-G4w9DdS2.js → PlayerAccountGamingLimitsGroupEdit-DrfWEw7D.js} +291 -291
  25. package/components/{PlayerAccountGamingLimitsHistory2-CtA0oegi.js → PlayerAccountGamingLimitsHistory2-CL7qYX9D.js} +10 -10
  26. package/components/{PlayerAccountGamingLimitsHistory2-Ciipqbhq.js → PlayerAccountGamingLimitsHistory2-CsMgI2vP.js} +20 -20
  27. package/components/{PlayerAccountGamingLimitsHistory2-D4h59ZvH.cjs → PlayerAccountGamingLimitsHistory2-D90-0n9S.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-LGJizeyk.js → PlayerAccountGamingLimitsInfoCard-C-SGItlz.js} +89 -89
  29. package/components/{PlayerAccountGamingLimitsInfoCard-BEtS-68W.js → PlayerAccountGamingLimitsInfoCard-CFusXmG3.js} +89 -89
  30. package/components/{PlayerAccountGamingLimitsInfoCard-BP3ieYB-.cjs → PlayerAccountGamingLimitsInfoCard-DlJXsDqV.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-HZl-4uMr.cjs → PlayerAccountGamingLimitsPage2Gm16-B4t05PXp.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-BcM2sb1p.js → PlayerAccountGamingLimitsPage2Gm16-CLR1_1DY.js} +1 -1
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-DdhPHIQd.js → PlayerAccountGamingLimitsPage2Gm16-CyJWSRBk.js} +1 -1
  34. package/components/{PlayerAccountGamingLimitsPopup-CdRdI3JR.js → PlayerAccountGamingLimitsPopup-4sFhABTh.js} +37 -37
  35. package/components/{PlayerAccountGamingLimitsPopup-Yhb7EjIg.js → PlayerAccountGamingLimitsPopup-Cut_OV-5.js} +37 -37
  36. package/components/{PlayerAccountGamingLimitsPopup-DyBIvm50.cjs → PlayerAccountGamingLimitsPopup-Dbr-uHeX.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsWrapper2-BYv2y-rY.js → PlayerAccountGamingLimitsWrapper2-3AmMR7IK.js} +86 -86
  38. package/components/{PlayerAccountGamingLimitsWrapper2-C6xKIGFF.js → PlayerAccountGamingLimitsWrapper2-BRtiES07.js} +83 -83
  39. package/components/{PlayerAccountGamingLimitsWrapper2-gGub1fuG.cjs → PlayerAccountGamingLimitsWrapper2-CdWycpn8.cjs} +1 -1
  40. package/components/{PlayerAccountGeneralConfirmationModal-B4jIx1BX.cjs → PlayerAccountGeneralConfirmationModal-BJ3S0RLL.cjs} +1 -1
  41. package/components/{PlayerAccountGeneralConfirmationModal-CD-C2QtO.js → PlayerAccountGeneralConfirmationModal-Cxl-LoG0.js} +1 -1
  42. package/components/{PlayerAccountGeneralConfirmationModal-DyiU178q.js → PlayerAccountGeneralConfirmationModal-L97vGeau.js} +1 -1
  43. package/components/{PlayerAccountMenu-bdpP915D.cjs → PlayerAccountMenu-BIdnddS_.cjs} +1 -1
  44. package/components/{PlayerAccountMenu-DFrCnbsI.js → PlayerAccountMenu-CBgydCnL.js} +8 -8
  45. package/components/{PlayerAccountMenu-CdKBgnzJ.js → PlayerAccountMenu-DUTsp-yv.js} +8 -8
  46. package/components/{PlayerAccountModal-DvoqjoAL.js → PlayerAccountModal-7R2WRCgZ.js} +56 -56
  47. package/components/{PlayerAccountModal-oVEZuWB2.js → PlayerAccountModal-C7_3et-5.js} +56 -56
  48. package/components/{PlayerAccountModal-COJeLuDu.cjs → PlayerAccountModal-tginaXbZ.cjs} +1 -1
  49. package/components/{PlayerAccountNotifications-DAWwzmCU.cjs → PlayerAccountNotifications-BLsxWrq2.cjs} +1 -1
  50. package/components/{PlayerAccountNotifications-BaNsCEei.js → PlayerAccountNotifications-BQPI0SJW.js} +3 -3
  51. package/components/{PlayerAccountNotifications-fgHOmoJ0.js → PlayerAccountNotifications-DcYU4F80.js} +3 -3
  52. package/components/{PlayerAccountSelfExclusion-ARIxVSLP.js → PlayerAccountSelfExclusion-DQemkHnw.js} +1 -1
  53. package/components/{PlayerAccountSelfExclusion-Bx-xxb7Y.js → PlayerAccountSelfExclusion-EzdDd4JW.js} +1 -1
  54. package/components/{PlayerAccountSelfExclusion-lAbJlcUC.cjs → PlayerAccountSelfExclusion-PIbK0zJN.cjs} +1 -1
  55. package/components/{PlayerAccountTimeout-04shprSV.js → PlayerAccountTimeout-DC6dXEP7.js} +10 -10
  56. package/components/{PlayerAccountTimeout-C392Fv8K.js → PlayerAccountTimeout-DGGqGhkZ.js} +10 -10
  57. package/components/{PlayerAccountTimeout-C7KH6ovR.cjs → PlayerAccountTimeout-DqOYXUZt.cjs} +1 -1
  58. package/components/{PlayerActiveBonuses-5eFyy-RT.js → PlayerActiveBonuses-BbsdliMe.js} +54 -54
  59. package/components/{PlayerActiveBonuses-TbfmKgcG.js → PlayerActiveBonuses-CS8nC9ys.js} +54 -54
  60. package/components/{PlayerActiveBonuses-DZpjmd5_.cjs → PlayerActiveBonuses-DTojdXrg.cjs} +1 -1
  61. package/components/{PlayerBonusCard-DW5VwRsP.js → PlayerBonusCard-9sQnuijs.js} +2 -2
  62. package/components/{PlayerBonusCard-CukAjEqo.js → PlayerBonusCard-QZKUlUnC.js} +2 -2
  63. package/components/{PlayerBonusCard-BLy1uhLi.cjs → PlayerBonusCard-ihCApHIs.cjs} +1 -1
  64. package/components/{PlayerBonusHistory-DyASnKHg.js → PlayerBonusHistory-BXX10tEI.js} +38 -38
  65. package/components/{PlayerBonusHistory-CIbSh98F.js → PlayerBonusHistory-CbptkPyg.js} +39 -39
  66. package/components/{PlayerBonusHistory-DLekMCrR.cjs → PlayerBonusHistory-DMC3iv-M.cjs} +1 -1
  67. package/components/{PlayerChangePassword-Bjf-BD9m.js → PlayerChangePassword-DIVU7Hm-.js} +1 -1
  68. package/components/{PlayerChangePassword-RGHCaEP3.js → PlayerChangePassword-DRF3YUcY.js} +1 -1
  69. package/components/{PlayerChangePassword-UepIdqvw.cjs → PlayerChangePassword-DZ0zUct-.cjs} +1 -1
  70. package/components/PlayerDeposit-2rXfB2O5.cjs +1 -0
  71. package/components/{PlayerDeposit-BEZ5yfVx.js → PlayerDeposit-Bu1poUUC.js} +38 -38
  72. package/components/{PlayerDeposit-C2zLAno5.js → PlayerDeposit-CC1ZNh0V.js} +38 -38
  73. package/components/{PlayerGamingHistory-Qv5CmegZ.cjs → PlayerGamingHistory-CITsPSbY.cjs} +1 -1
  74. package/components/{PlayerGamingHistory-f408ehA1.js → PlayerGamingHistory-CIZ2Ous8.js} +4 -4
  75. package/components/{PlayerGamingHistory-DYtKLxtA.js → PlayerGamingHistory-LEBGykAk.js} +4 -4
  76. package/components/{PlayerPendingWithdrawals-Dd-hUBTs.js → PlayerPendingWithdrawals-BAYRu_8K.js} +1 -1
  77. package/components/{PlayerPendingWithdrawals-Bl7G42a8.js → PlayerPendingWithdrawals-CaouMSqA.js} +1 -1
  78. package/components/{PlayerPendingWithdrawals-CvxjxkOD.cjs → PlayerPendingWithdrawals-UG-bN1ca.cjs} +1 -1
  79. package/components/{PlayerProfileInfo-Chwlpy6G.js → PlayerProfileInfo-BLPDFygv.js} +63 -63
  80. package/components/{PlayerProfileInfo-tT3FUcqx.js → PlayerProfileInfo-D3NxPM1Z.js} +68 -68
  81. package/components/{PlayerProfileInfo-AlvN_pUL.cjs → PlayerProfileInfo-DLth9JMy.cjs} +1 -1
  82. package/components/{PlayerRealityCheck-DSYoUIrf.cjs → PlayerRealityCheck-BmVSMTSf.cjs} +1 -1
  83. package/components/{PlayerRealityCheck-BBRdpOqG.js → PlayerRealityCheck-CI5fiJv3.js} +1 -1
  84. package/components/{PlayerRealityCheck-6MNq7GKW.js → PlayerRealityCheck-DL5sLluu.js} +1 -1
  85. package/components/{PlayerTransactionHistory-6qxdyqQZ.js → PlayerTransactionHistory-BGPDkKNI.js} +1 -1
  86. package/components/{PlayerTransactionHistory-Cvm1EwgV.cjs → PlayerTransactionHistory-U2CncC4r.cjs} +1 -1
  87. package/components/{PlayerTransactionHistory-BrGY_Ah9.js → PlayerTransactionHistory-x-p-YOv6.js} +1 -1
  88. package/components/{PlayerWithdrawal-B3-mcOWq.js → PlayerWithdrawal-BknOF8Sy.js} +9 -9
  89. package/components/{PlayerWithdrawal-D9w69Llz.cjs → PlayerWithdrawal-CsPPu5bX.cjs} +1 -1
  90. package/components/{PlayerWithdrawal-dfFj1w6I.js → PlayerWithdrawal-Cx3cOp7C.js} +9 -9
  91. package/es2015/player-account-controller.cjs +1 -1
  92. package/es2015/player-account-controller.js +1 -1
  93. package/esnext/player-account-controller.js +1 -1
  94. package/package.json +1 -1
  95. package/components/PlayerAccountController-B7U-7bNI.cjs +0 -1
  96. package/components/PlayerAccountGamingLimits-D46zagPJ.cjs +0 -1
  97. package/components/PlayerDeposit-Dcjjga2V.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { $ as le, C as Ce, a as Te, S as Ee, i as Me, f as b, c as Ae, s as Ge, b as Se, e as C, d as P, t as U, g as _, l as p, k as T, n as X, L as W, Z as Y, K as N, p as v, q as De, u as Ne, v as We, w as ze, x as Be, y as j, m as fe, _ as x, z as Q, A as je, N as q, E as ge, O as he, o as D, j as r, B as Pe, G as Re, H as Fe, I as Ie, J as Oe } from "./GeneralLogout-BSaw6CR3.js";
1
+ import { $ as le, C as Ce, a as Te, S as Me, i as Ee, f as b, c as Ae, s as Se, b as Ge, e as C, d as j, t as U, g as _, l as p, k as T, n as X, M as z, _ as Y, L as W, p as v, q as De, u as We, v as ze, w as Be, x as Ne, y as P, m as fe, a0 as x, z as Q, A as Pe, O as q, F as ge, P as he, o as D, j as r, B as je, H as Fe, I as Re, J as Ie, K as Oe } from "./GeneralLogout-D1bnYvKD.js";
2
2
  function He({ withLocale: i, translations: e }) {
3
3
  le.subscribe((t) => {
4
4
  t == null && (Ce.set(e), le.set(i));
@@ -54,7 +54,7 @@ if (typeof window != "undefined") {
54
54
  }
55
55
  };
56
56
  };
57
- customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16-DdhPHIQd.js").then(({ default: e }) => {
57
+ customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16-CyJWSRBk.js").then(({ default: e }) => {
58
58
  !customElements.get("player-account-gaming-limits-page-2-gm16") && customElements.define(
59
59
  "player-account-gaming-limits-page-2-gm16",
60
60
  e.element
@@ -73,7 +73,7 @@ if (typeof window != "undefined") {
73
73
  }
74
74
  };
75
75
  };
76
- customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsHistory2-Ciipqbhq.js").then(({ default: e }) => {
76
+ customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsHistory2-CsMgI2vP.js").then(({ default: e }) => {
77
77
  !customElements.get("player-account-gaming-limits-history-2") && customElements.define(
78
78
  "player-account-gaming-limits-history-2",
79
79
  e.element
@@ -81,45 +81,45 @@ if (typeof window != "undefined") {
81
81
  });
82
82
  }
83
83
  function qe(i) {
84
- Se(i, "svelte-r6lh3z", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px 50px 30px 50px}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.LimitsWrapper{display:flex;flex-direction:column}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-300, #58586B);justify-content:center;background:var(--emw--color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}h2{margin:20px 0px}.PlayerAccountGamingLmitsWrapper2{margin-bottom:20px}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));margin:0}');
84
+ Ge(i, "svelte-r6lh3z", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px 50px 30px 50px}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.LimitsWrapper{display:flex;flex-direction:column}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-300, #58586B);justify-content:center;background:var(--emw--color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}h2{margin:20px 0px}.PlayerAccountGamingLmitsWrapper2{margin-bottom:20px}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));margin:0}');
85
85
  }
86
86
  function oe(i, e, t) {
87
87
  const n = i.slice();
88
88
  return n[46] = e[t], n[48] = t, n;
89
89
  }
90
- const Ze = (i) => ({}), re = (i) => ({});
90
+ const Je = (i) => ({}), re = (i) => ({});
91
91
  function ae(i, e, t) {
92
92
  const n = i.slice();
93
93
  return n[49] = e[t], n[48] = t, n;
94
94
  }
95
- function Je(i) {
95
+ function Ke(i) {
96
96
  let e, t, n, l, c, m, h, o, d, g, a = (
97
97
  /*$_*/
98
98
  i[24]("title") + ""
99
99
  ), u, f, k;
100
100
  return {
101
101
  c() {
102
- e = C("div"), t = j("svg"), n = j("defs"), l = j("style"), c = U(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));}"), m = j("g"), h = j("g"), o = j("path"), d = P(), g = C("h2"), u = U(a), _(o, "class", "aaa"), _(o, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), _(o, "transform", "translate(15 15) rotate(180)"), _(h, "transform", "translate(20 158)"), _(m, "transform", "translate(-20 -158)"), _(t, "xmlns", "http://www.w3.org/2000/svg"), _(t, "width", "15"), _(t, "height", "15"), _(t, "viewBox", "0 0 15 15"), _(g, "class", "GamingLimitsTitleMobile"), _(e, "class", "MenuReturnButton"), _(e, "part", "MenuReturnButton");
102
+ e = C("div"), t = P("svg"), n = P("defs"), l = P("style"), c = U(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));}"), m = P("g"), h = P("g"), o = P("path"), d = j(), g = C("h2"), u = U(a), _(o, "class", "aaa"), _(o, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), _(o, "transform", "translate(15 15) rotate(180)"), _(h, "transform", "translate(20 158)"), _(m, "transform", "translate(-20 -158)"), _(t, "xmlns", "http://www.w3.org/2000/svg"), _(t, "width", "15"), _(t, "height", "15"), _(t, "viewBox", "0 0 15 15"), _(g, "class", "GamingLimitsTitleMobile"), _(e, "class", "MenuReturnButton"), _(e, "part", "MenuReturnButton");
103
103
  },
104
- m(E, w) {
105
- T(E, e, w), p(e, t), p(t, n), p(n, l), p(l, c), p(t, m), p(m, h), p(h, o), p(e, d), p(e, g), p(g, u), f || (k = fe(
104
+ m(M, w) {
105
+ T(M, e, w), p(e, t), p(t, n), p(n, l), p(l, c), p(t, m), p(m, h), p(h, o), p(e, d), p(e, g), p(g, u), f || (k = fe(
106
106
  e,
107
107
  "click",
108
108
  /*click_handler*/
109
109
  i[35]
110
110
  ), f = !0);
111
111
  },
112
- p(E, w) {
112
+ p(M, w) {
113
113
  w[0] & /*$_*/
114
114
  16777216 && a !== (a = /*$_*/
115
- E[24]("title") + "") && X(u, a);
115
+ M[24]("title") + "") && X(u, a);
116
116
  },
117
- d(E) {
118
- E && v(e), f = !1, k();
117
+ d(M) {
118
+ M && v(e), f = !1, k();
119
119
  }
120
120
  };
121
121
  }
122
- function Ke(i) {
122
+ function Ve(i) {
123
123
  let e, t, n, l, c, m = (
124
124
  /*limitTabs*/
125
125
  i[25].length > 1 && Qe(i)
@@ -129,7 +129,7 @@ function Ke(i) {
129
129
  ), o = [];
130
130
  for (let a = 0; a < h.length; a += 1)
131
131
  o[a] = me(oe(i, h, a));
132
- const d = (a) => W(o[a], 1, 1, () => {
132
+ const d = (a) => z(o[a], 1, 1, () => {
133
133
  o[a] = null;
134
134
  });
135
135
  let g = (
@@ -138,10 +138,10 @@ function Ke(i) {
138
138
  );
139
139
  return {
140
140
  c() {
141
- m && m.c(), e = P(), t = C("div");
141
+ m && m.c(), e = j(), t = C("div");
142
142
  for (let a = 0; a < o.length; a += 1)
143
143
  o[a].c();
144
- n = P(), g && g.c(), l = ge(), _(t, "class", "PlayerAccountGamingLmitsWrapper2");
144
+ n = j(), g && g.c(), l = ge(), _(t, "class", "PlayerAccountGamingLmitsWrapper2");
145
145
  },
146
146
  m(a, u) {
147
147
  m && m.m(a, u), T(a, e, u), T(a, t, u);
@@ -163,7 +163,7 @@ function Ke(i) {
163
163
  let f;
164
164
  for (f = 0; f < h.length; f += 1) {
165
165
  const k = oe(a, h, f);
166
- o[f] ? (o[f].p(k, u), N(o[f], 1)) : (o[f] = me(k), o[f].c(), N(o[f], 1), o[f].m(t, null));
166
+ o[f] ? (o[f].p(k, u), W(o[f], 1)) : (o[f] = me(k), o[f].c(), W(o[f], 1), o[f].m(t, null));
167
167
  }
168
168
  for (x(), f = h.length; f < o.length; f += 1)
169
169
  d(f);
@@ -175,14 +175,14 @@ function Ke(i) {
175
175
  i(a) {
176
176
  if (!c) {
177
177
  for (let u = 0; u < h.length; u += 1)
178
- N(o[u]);
178
+ W(o[u]);
179
179
  c = !0;
180
180
  }
181
181
  },
182
182
  o(a) {
183
183
  o = o.filter(Boolean);
184
184
  for (let u = 0; u < o.length; u += 1)
185
- W(o[u]);
185
+ z(o[u]);
186
186
  c = !1;
187
187
  },
188
188
  d(a) {
@@ -190,7 +190,7 @@ function Ke(i) {
190
190
  }
191
191
  };
192
192
  }
193
- function Ve(i) {
193
+ function Ze(i) {
194
194
  return {
195
195
  c: D,
196
196
  m: D,
@@ -488,7 +488,7 @@ function Ye(i) {
488
488
  const t = (
489
489
  /*#slots*/
490
490
  i[34].customTabContent
491
- ), n = Re(
491
+ ), n = Fe(
492
492
  t,
493
493
  i,
494
494
  /*$$scope*/
@@ -504,7 +504,7 @@ function Ye(i) {
504
504
  },
505
505
  p(l, c) {
506
506
  n && n.p && (!e || c[1] & /*$$scope*/
507
- 4) && Fe(
507
+ 4) && Re(
508
508
  n,
509
509
  t,
510
510
  l,
@@ -515,7 +515,7 @@ function Ye(i) {
515
515
  /*$$scope*/
516
516
  l[33],
517
517
  c,
518
- Ze
518
+ Je
519
519
  ) : Ie(
520
520
  /*$$scope*/
521
521
  l[33]
@@ -524,10 +524,10 @@ function Ye(i) {
524
524
  );
525
525
  },
526
526
  i(l) {
527
- e || (N(n, l), e = !0);
527
+ e || (W(n, l), e = !0);
528
528
  },
529
529
  o(l) {
530
- W(n, l), e = !1;
530
+ z(n, l), e = !1;
531
531
  },
532
532
  d(l) {
533
533
  n && n.d(l);
@@ -553,15 +553,15 @@ function me(i) {
553
553
  },
554
554
  p(o, d) {
555
555
  let g = e;
556
- e = h(o), e === g ? m[e].p(o, d) : (x(), W(m[g], 1, 1, () => {
556
+ e = h(o), e === g ? m[e].p(o, d) : (x(), z(m[g], 1, 1, () => {
557
557
  m[g] = null;
558
- }), Y(), t = m[e], t ? t.p(o, d) : (t = m[e] = c[e](o), t.c()), N(t, 1), t.m(n.parentNode, n));
558
+ }), Y(), t = m[e], t ? t.p(o, d) : (t = m[e] = c[e](o), t.c()), W(t, 1), t.m(n.parentNode, n));
559
559
  },
560
560
  i(o) {
561
- l || (N(t), l = !0);
561
+ l || (W(t), l = !0);
562
562
  },
563
563
  o(o) {
564
- W(t), l = !1;
564
+ z(t), l = !1;
565
565
  },
566
566
  d(o) {
567
567
  o && v(n), m[e].d(o);
@@ -712,39 +712,39 @@ function xe(i) {
712
712
  i[24]("title") + ""
713
713
  ), d, g, a, u, f, k = (
714
714
  /*isMobile*/
715
- i[26] && Je(i)
715
+ i[26] && Ke(i)
716
716
  );
717
- const E = [Ve, Ke], w = [];
718
- function z(y, M) {
717
+ const M = [Ze, Ve], w = [];
718
+ function B(y, E) {
719
719
  return (
720
720
  /*isLoading*/
721
721
  y[16] ? 0 : 1
722
722
  );
723
723
  }
724
- return a = z(i), u = w[a] = E[a](i), {
724
+ return a = B(i), u = w[a] = M[a](i), {
725
725
  c() {
726
- e = C("meta"), t = P(), n = C("div"), l = C("div"), c = C("div"), k && k.c(), m = P(), h = C("h2"), d = U(o), g = P(), u.c(), _(e, "name", "viewport"), _(e, "content", "width=device-width, initial-scale=1"), _(h, "class", "GamingLimitsTitle " + /*isMobile*/
726
+ e = C("meta"), t = j(), n = C("div"), l = C("div"), c = C("div"), k && k.c(), m = j(), h = C("h2"), d = U(o), g = j(), u.c(), _(e, "name", "viewport"), _(e, "content", "width=device-width, initial-scale=1"), _(h, "class", "GamingLimitsTitle " + /*isMobile*/
727
727
  (i[26] ? "GamingLimitsTitleNone" : "")), _(c, "class", "TitleSection"), _(l, "class", "GamingLimitsWrapper " + /*isMobile*/
728
728
  (i[26] ? "GamingLimitsWrapperMobile" : ""));
729
729
  },
730
- m(y, M) {
731
- p(document.head, e), T(y, t, M), T(y, n, M), p(n, l), p(l, c), k && k.m(c, null), p(c, m), p(c, h), p(h, d), p(l, g), w[a].m(l, null), i[39](n), f = !0;
730
+ m(y, E) {
731
+ p(document.head, e), T(y, t, E), T(y, n, E), p(n, l), p(l, c), k && k.m(c, null), p(c, m), p(c, h), p(h, d), p(l, g), w[a].m(l, null), i[39](n), f = !0;
732
732
  },
733
- p(y, M) {
733
+ p(y, E) {
734
734
  /*isMobile*/
735
- y[26] && k.p(y, M), (!f || M[0] & /*$_*/
735
+ y[26] && k.p(y, E), (!f || E[0] & /*$_*/
736
736
  16777216) && o !== (o = /*$_*/
737
737
  y[24]("title") + "") && X(d, o);
738
- let B = a;
739
- a = z(y), a === B ? w[a].p(y, M) : (x(), W(w[B], 1, 1, () => {
740
- w[B] = null;
741
- }), Y(), u = w[a], u ? u.p(y, M) : (u = w[a] = E[a](y), u.c()), N(u, 1), u.m(l, null));
738
+ let N = a;
739
+ a = B(y), a === N ? w[a].p(y, E) : (x(), z(w[N], 1, 1, () => {
740
+ w[N] = null;
741
+ }), Y(), u = w[a], u ? u.p(y, E) : (u = w[a] = M[a](y), u.c()), W(u, 1), u.m(l, null));
742
742
  },
743
743
  i(y) {
744
- f || (N(u), f = !0);
744
+ f || (W(u), f = !0);
745
745
  },
746
746
  o(y) {
747
- W(u), f = !1;
747
+ z(u), f = !1;
748
748
  },
749
749
  d(y) {
750
750
  y && (v(t), v(n)), v(e), k && k.d(), w[a].d(), i[39](null);
@@ -753,28 +753,28 @@ function xe(i) {
753
753
  }
754
754
  function $e(i, e, t) {
755
755
  let n;
756
- De(i, Pe, (s) => t(24, n = s));
757
- let { $$slots: l = {}, $$scope: c } = e, { lang: m = "" } = e, { userid: h = "" } = e, { session: o = "" } = e, { endpoint: d = "" } = e, { currency: g = "" } = e, { apiversion: a = "" } = e, { tablabels: u = "" } = e, { historyenabled: f = "true" } = e, { enablecompliancetext: k = "false" } = e, { deletelimit: E = "" } = e, { limitsamount: w = "" } = e, { limitsperiods: z = "" } = e, { numberofentries: y = "" } = e, { customcurrencysymbols: M = "" } = e, { limitformat: B = "" } = e, { clientstyling: F = "" } = e, { clientstylingurl: I = "" } = e, { translationurl: $ = "" } = e, { mbsource: O } = e, { customcontentontab: R = "" } = e;
756
+ De(i, je, (s) => t(24, n = s));
757
+ let { $$slots: l = {}, $$scope: c } = e, { lang: m = "" } = e, { userid: h = "" } = e, { session: o = "" } = e, { endpoint: d = "" } = e, { currency: g = "" } = e, { apiversion: a = "" } = e, { tablabels: u = "" } = e, { historyenabled: f = "true" } = e, { enablecompliancetext: k = "false" } = e, { deletelimit: M = "" } = e, { limitsamount: w = "" } = e, { limitsperiods: B = "" } = e, { numberofentries: y = "" } = e, { customcurrencysymbols: E = "" } = e, { limitformat: N = "" } = e, { clientstyling: R = "" } = e, { clientstylingurl: I = "" } = e, { translationurl: $ = "" } = e, { mbsource: O } = e, { customcontentontab: F = "" } = e;
758
758
  He({ withLocale: "en", translations: {} });
759
- let Z = !0, G, J = [], ee, S, A, H, K, de = window.navigator.userAgent, te = Ne(de) !== "PC", ie;
759
+ let J = !0, S, K = [], ee, G, A, H, V, de = window.navigator.userAgent, te = We(de) !== "PC", ie;
760
760
  Object.keys(se).forEach((s) => {
761
761
  Ue(s, se[s]);
762
762
  });
763
763
  const be = (s, L) => {
764
- if (t(21, H = s.replace(/\s/g, "").split("|")), t(22, K = L.replace(/\s/g, "").split("|")), H.length === 0)
764
+ if (t(21, H = s.replace(/\s/g, "").split("|")), t(22, V = L.replace(/\s/g, "").split("|")), H.length === 0)
765
765
  throw new Error("Please provide a full limits configuration.");
766
- if (H.length !== K.length)
766
+ if (H.length !== V.length)
767
767
  throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.");
768
768
  }, _e = () => {
769
- be(w, z), w.split("|").forEach((L) => {
770
- J.includes(L) || J.push(L);
771
- }), t(19, ee = u.split(",").map((L) => L.trim())), t(16, Z = !1);
769
+ be(w, B), w.split("|").forEach((L) => {
770
+ K.includes(L) || K.push(L);
771
+ }), t(19, ee = u.split(",").map((L) => L.trim())), t(16, J = !1);
772
772
  }, ye = () => {
773
- t(23, ie = R ? Number(R) : -1);
774
- }, V = (s) => {
775
- if (S.children.length > 0)
776
- for (let L = 0; L < S.children.length; L++)
777
- s === L ? (S.children[L].classList.remove("hidden"), A == null || A.children[L].classList.add("selected")) : (S.children[L].classList.add("hidden"), A == null || A.children[L].classList.remove("selected"));
773
+ t(23, ie = F ? Number(F) : -1);
774
+ }, Z = (s) => {
775
+ if (G.children.length > 0)
776
+ for (let L = 0; L < G.children.length; L++)
777
+ s === L ? (G.children[L].classList.remove("hidden"), A == null || A.children[L].classList.add("selected")) : (G.children[L].classList.add("hidden"), A == null || A.children[L].classList.remove("selected"));
778
778
  }, ne = () => {
779
779
  window.postMessage(
780
780
  {
@@ -784,10 +784,10 @@ function $e(i, e, t) {
784
784
  window.location.href
785
785
  );
786
786
  };
787
- We(() => () => {
788
- t(18, S = null), t(20, A = null);
787
+ ze(() => () => {
788
+ t(18, G = null), t(20, A = null);
789
789
  });
790
- const pe = () => ne(), we = (s) => V(s);
790
+ const pe = () => ne(), we = (s) => Z(s);
791
791
  function ke(s) {
792
792
  Q[s ? "unshift" : "push"](() => {
793
793
  A = s, t(20, A);
@@ -795,24 +795,24 @@ function $e(i, e, t) {
795
795
  }
796
796
  function Le(s) {
797
797
  Q[s ? "unshift" : "push"](() => {
798
- S = s, t(18, S);
798
+ G = s, t(18, G);
799
799
  });
800
800
  }
801
801
  function ve(s) {
802
802
  Q[s ? "unshift" : "push"](() => {
803
- G = s, t(17, G);
803
+ S = s, t(17, S);
804
804
  });
805
805
  }
806
806
  return i.$$set = (s) => {
807
- "lang" in s && t(0, m = s.lang), "userid" in s && t(1, h = s.userid), "session" in s && t(2, o = s.session), "endpoint" in s && t(3, d = s.endpoint), "currency" in s && t(4, g = s.currency), "apiversion" in s && t(5, a = s.apiversion), "tablabels" in s && t(29, u = s.tablabels), "historyenabled" in s && t(6, f = s.historyenabled), "enablecompliancetext" in s && t(7, k = s.enablecompliancetext), "deletelimit" in s && t(8, E = s.deletelimit), "limitsamount" in s && t(30, w = s.limitsamount), "limitsperiods" in s && t(31, z = s.limitsperiods), "numberofentries" in s && t(9, y = s.numberofentries), "customcurrencysymbols" in s && t(10, M = s.customcurrencysymbols), "limitformat" in s && t(11, B = s.limitformat), "clientstyling" in s && t(12, F = s.clientstyling), "clientstylingurl" in s && t(13, I = s.clientstylingurl), "translationurl" in s && t(14, $ = s.translationurl), "mbsource" in s && t(15, O = s.mbsource), "customcontentontab" in s && t(32, R = s.customcontentontab), "$$scope" in s && t(33, c = s.$$scope);
807
+ "lang" in s && t(0, m = s.lang), "userid" in s && t(1, h = s.userid), "session" in s && t(2, o = s.session), "endpoint" in s && t(3, d = s.endpoint), "currency" in s && t(4, g = s.currency), "apiversion" in s && t(5, a = s.apiversion), "tablabels" in s && t(29, u = s.tablabels), "historyenabled" in s && t(6, f = s.historyenabled), "enablecompliancetext" in s && t(7, k = s.enablecompliancetext), "deletelimit" in s && t(8, M = s.deletelimit), "limitsamount" in s && t(30, w = s.limitsamount), "limitsperiods" in s && t(31, B = s.limitsperiods), "numberofentries" in s && t(9, y = s.numberofentries), "customcurrencysymbols" in s && t(10, E = s.customcurrencysymbols), "limitformat" in s && t(11, N = s.limitformat), "clientstyling" in s && t(12, R = s.clientstyling), "clientstylingurl" in s && t(13, I = s.clientstylingurl), "translationurl" in s && t(14, $ = s.translationurl), "mbsource" in s && t(15, O = s.mbsource), "customcontentontab" in s && t(32, F = s.customcontentontab), "$$scope" in s && t(33, c = s.$$scope);
808
808
  }, i.$$.update = () => {
809
809
  i.$$.dirty[0] & /*userid, session, endpoint, tablabels, lang, apiversion*/
810
810
  536870959 && h && o && d && u && m && a && _e(), i.$$.dirty[1] & /*customcontentontab*/
811
- 2 && R && ye(), i.$$.dirty[0] & /*mainContainer, isLoading*/
812
- 327680 && S && !Z && V(0), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
813
- 135168 && F && G && je(G, F), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
814
- 139264 && I && G && ze(G, I), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
815
- 163840 && O && G && Be(G, `${O}.Style`);
811
+ 2 && F && ye(), i.$$.dirty[0] & /*mainContainer, isLoading*/
812
+ 327680 && G && !J && Z(0), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
813
+ 135168 && R && S && Pe(S, R), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
814
+ 139264 && I && S && Be(S, I), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
815
+ 163840 && O && S && Ne(S, `${O}.Style`);
816
816
  }, [
817
817
  m,
818
818
  h,
@@ -822,31 +822,31 @@ function $e(i, e, t) {
822
822
  a,
823
823
  f,
824
824
  k,
825
- E,
826
- y,
827
825
  M,
828
- B,
829
- F,
826
+ y,
827
+ E,
828
+ N,
829
+ R,
830
830
  I,
831
831
  $,
832
832
  O,
833
- Z,
834
- G,
833
+ J,
835
834
  S,
835
+ G,
836
836
  ee,
837
837
  A,
838
838
  H,
839
- K,
839
+ V,
840
840
  ie,
841
841
  n,
842
- J,
842
+ K,
843
843
  te,
844
- V,
844
+ Z,
845
845
  ne,
846
846
  u,
847
847
  w,
848
- z,
849
- R,
848
+ B,
849
+ F,
850
850
  c,
851
851
  l,
852
852
  pe,
@@ -856,14 +856,14 @@ function $e(i, e, t) {
856
856
  ve
857
857
  ];
858
858
  }
859
- class et extends Ee {
859
+ class et extends Me {
860
860
  constructor(e) {
861
- super(), Me(
861
+ super(), Ee(
862
862
  this,
863
863
  e,
864
864
  $e,
865
865
  xe,
866
- Ge,
866
+ Se,
867
867
  {
868
868
  lang: 0,
869
869
  userid: 1,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-B0tDLggX.cjs");function se({withLocale:i,translations:t}){e.$locale.subscribe(n=>{n==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function le(i,t){e.addMessages(i,t)}const I={en:{title:"Limits"},"zh-hk":{title:"Limits"},fr:{title:"Limits"},ro:{title:"Limits"},es:{title:"Limits"},pt:{title:"Limits"},hr:{title:"Ograničenja"},"pt-br":{title:"Limites"},"es-mx":{title:"Límites"},tr:{title:"Sınırlar"},"en-us":{title:"Limits"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPage2Gm16-HZl-4uMr.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gm16")&&customElements.define("player-account-gaming-limits-page-2-gm16",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsHistory2-D4h59ZvH.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",t.element)})}function oe(i){e.append_styles(i,"svelte-r6lh3z",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px 50px 30px 50px}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.LimitsWrapper{display:flex;flex-direction:column}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-300, #58586B);justify-content:center;background:var(--emw--color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}h2{margin:20px 0px}.PlayerAccountGamingLmitsWrapper2{margin-bottom:20px}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));margin:0}')}function q(i,t,n){const s=i.slice();return s[46]=t[n],s[48]=n,s}const ae=i=>({}),H=i=>({});function U(i,t,n){const s=i.slice();return s[49]=t[n],s[48]=n,s}function re(i){let t,n,s,l,m,c,d,a,g,f,r=i[24]("title")+"",u,_,p;return{c(){t=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("defs"),l=e.svg_element("style"),m=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));}"),c=e.svg_element("g"),d=e.svg_element("g"),a=e.svg_element("path"),g=e.space(),f=e.element("h2"),u=e.text(r),e.attr(a,"class","aaa"),e.attr(a,"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(a,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(c,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(f,"class","GamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(k,b){e.insert(k,t,b),e.append(t,n),e.append(n,s),e.append(s,l),e.append(l,m),e.append(n,c),e.append(c,d),e.append(d,a),e.append(t,g),e.append(t,f),e.append(f,u),_||(p=e.listen(t,"click",i[35]),_=!0)},p(k,b){b[0]&16777216&&r!==(r=k[24]("title")+"")&&e.set_data(u,r)},d(k){k&&e.detach(t),_=!1,p()}}}function me(i){let t,n,s,l,m,c=i[25].length>1&&ue(i),d=e.ensure_array_like(i[25]),a=[];for(let r=0;r<d.length;r+=1)a[r]=Z(q(i,d,r));const g=r=>e.transition_out(a[r],1,1,()=>{a[r]=null});let f=i[6]==="true"&&J(i);return{c(){c&&c.c(),t=e.space(),n=e.element("div");for(let r=0;r<a.length;r+=1)a[r].c();s=e.space(),f&&f.c(),l=e.empty(),e.attr(n,"class","PlayerAccountGamingLmitsWrapper2")},m(r,u){c&&c.m(r,u),e.insert(r,t,u),e.insert(r,n,u);for(let _=0;_<a.length;_+=1)a[_]&&a[_].m(n,null);i[38](n),e.insert(r,s,u),f&&f.m(r,u),e.insert(r,l,u),m=!0},p(r,u){if(r[25].length>1&&c.p(r,u),u[0]&14745023|u[1]&4){d=e.ensure_array_like(r[25]);let _;for(_=0;_<d.length;_+=1){const p=q(r,d,_);a[_]?(a[_].p(p,u),e.transition_in(a[_],1)):(a[_]=Z(p),a[_].c(),e.transition_in(a[_],1),a[_].m(n,null))}for(e.group_outros(),_=d.length;_<a.length;_+=1)g(_);e.check_outros()}r[6]==="true"?f?f.p(r,u):(f=J(r),f.c(),f.m(l.parentNode,l)):f&&(f.d(1),f=null)},i(r){if(!m){for(let u=0;u<d.length;u+=1)e.transition_in(a[u]);m=!0}},o(r){a=a.filter(Boolean);for(let u=0;u<a.length;u+=1)e.transition_out(a[u]);m=!1},d(r){r&&(e.detach(t),e.detach(n),e.detach(s),e.detach(l)),c&&c.d(r),e.destroy_each(a,r),i[38](null),f&&f.d(r)}}}function ce(i){return{c:e.noop,m:e.noop,p:e.noop,i:e.noop,o:e.noop,d:e.noop}}function ue(i){let t,n=e.ensure_array_like(i[25]),s=[];for(let l=0;l<n.length;l+=1)s[l]=V(U(i,n,l));return{c(){t=e.element("div");for(let l=0;l<s.length;l+=1)s[l].c();e.attr(t,"class","TabsContainer")},m(l,m){e.insert(l,t,m);for(let c=0;c<s.length;c+=1)s[c]&&s[c].m(t,null);i[37](t)},p(l,m){if(m[0]&168296448){n=e.ensure_array_like(l[25]);let c;for(c=0;c<n.length;c+=1){const d=U(l,n,c);s[c]?s[c].p(d,m):(s[c]=V(d),s[c].c(),s[c].m(t,null))}for(;c<s.length;c+=1)s[c].d(1);s.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(s,l),i[37](null)}}}function V(i){var d;let t,n=((d=i[19][i[48]])!=null?d:i[49])+"",s,l,m;function c(){return i[36](i[48])}return{c(){t=e.element("div"),s=e.text(n),e.attr(t,"class","LimitsTab")},m(a,g){e.insert(a,t,g),e.append(t,s),l||(m=e.listen(t,"click",c),l=!0)},p(a,g){var f;i=a,g[0]&524288&&n!==(n=((f=i[19][i[48]])!=null?f:i[49])+"")&&e.set_data(s,n)},d(a){a&&e.detach(t),l=!1,m()}}}function _e(i){let t,n,s;return{c(){t=e.element("player-account-gaming-limits-page-2-gm16"),e.set_custom_element_data(t,"class","hidden selected"),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"currency",i[4]),e.set_custom_element_data(t,"amountsconfig",n=i[21][i[48]]),e.set_custom_element_data(t,"periodsconfig",s=i[22][i[48]]),e.set_custom_element_data(t,"limittabindex",i[48]+1),e.set_custom_element_data(t,"userid",i[1]),e.set_custom_element_data(t,"deletelimit",i[8]),e.set_custom_element_data(t,"enablecompliancetext",i[7]),e.set_custom_element_data(t,"session",i[2]),e.set_custom_element_data(t,"endpoint",i[3]),e.set_custom_element_data(t,"apiversion",i[5]),e.set_custom_element_data(t,"clientstyling",i[12]),e.set_custom_element_data(t,"clientstylingurl",i[13]),e.set_custom_element_data(t,"mbsource",i[15]),e.set_custom_element_data(t,"translationurl",i[14]),e.set_custom_element_data(t,"customcurrencysymbols",i[10]),e.set_custom_element_data(t,"limitformat",i[11])},m(l,m){e.insert(l,t,m)},p(l,m){m[0]&1&&e.set_custom_element_data(t,"lang",l[0]),m[0]&16&&e.set_custom_element_data(t,"currency",l[4]),m[0]&2097152&&n!==(n=l[21][l[48]])&&e.set_custom_element_data(t,"amountsconfig",n),m[0]&4194304&&s!==(s=l[22][l[48]])&&e.set_custom_element_data(t,"periodsconfig",s),m[0]&2&&e.set_custom_element_data(t,"userid",l[1]),m[0]&256&&e.set_custom_element_data(t,"deletelimit",l[8]),m[0]&128&&e.set_custom_element_data(t,"enablecompliancetext",l[7]),m[0]&4&&e.set_custom_element_data(t,"session",l[2]),m[0]&8&&e.set_custom_element_data(t,"endpoint",l[3]),m[0]&32&&e.set_custom_element_data(t,"apiversion",l[5]),m[0]&4096&&e.set_custom_element_data(t,"clientstyling",l[12]),m[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",l[13]),m[0]&32768&&e.set_custom_element_data(t,"mbsource",l[15]),m[0]&16384&&e.set_custom_element_data(t,"translationurl",l[14]),m[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",l[10]),m[0]&2048&&e.set_custom_element_data(t,"limitformat",l[11])},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function fe(i){let t;const n=i[34].customTabContent,s=e.create_slot(n,i,i[33],H);return{c(){s&&s.c()},m(l,m){s&&s.m(l,m),t=!0},p(l,m){s&&s.p&&(!t||m[1]&4)&&e.update_slot_base(s,n,l,l[33],t?e.get_slot_changes(n,l[33],m,ae):e.get_all_dirty_from_scope(l[33]),H)},i(l){t||(e.transition_in(s,l),t=!0)},o(l){e.transition_out(s,l),t=!1},d(l){s&&s.d(l)}}}function Z(i){let t,n,s,l;const m=[fe,_e],c=[];function d(a,g){return a[23]===a[48]?0:1}return t=d(i),n=c[t]=m[t](i),{c(){n.c(),s=e.empty()},m(a,g){c[t].m(a,g),e.insert(a,s,g),l=!0},p(a,g){let f=t;t=d(a),t===f?c[t].p(a,g):(e.group_outros(),e.transition_out(c[f],1,1,()=>{c[f]=null}),e.check_outros(),n=c[t],n?n.p(a,g):(n=c[t]=m[t](a),n.c()),e.transition_in(n,1),n.m(s.parentNode,s))},i(a){l||(e.transition_in(n),l=!0)},o(a){e.transition_out(n),l=!1},d(a){a&&e.detach(s),c[t].d(a)}}}function J(i){let t;return{c(){t=e.element("player-account-gaming-limits-history-2"),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"userid",i[1]),e.set_custom_element_data(t,"session",i[2]),e.set_custom_element_data(t,"endpoint",i[3]),e.set_custom_element_data(t,"apiversion",i[5]),e.set_custom_element_data(t,"numberofentries",i[9]),e.set_custom_element_data(t,"clientstyling",i[12]),e.set_custom_element_data(t,"clientstylingurl",i[13]),e.set_custom_element_data(t,"mbsource",i[15]),e.set_custom_element_data(t,"translationurl",i[14]),e.set_custom_element_data(t,"customcurrencysymbols",i[10])},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&1&&e.set_custom_element_data(t,"lang",n[0]),s[0]&2&&e.set_custom_element_data(t,"userid",n[1]),s[0]&4&&e.set_custom_element_data(t,"session",n[2]),s[0]&8&&e.set_custom_element_data(t,"endpoint",n[3]),s[0]&32&&e.set_custom_element_data(t,"apiversion",n[5]),s[0]&512&&e.set_custom_element_data(t,"numberofentries",n[9]),s[0]&4096&&e.set_custom_element_data(t,"clientstyling",n[12]),s[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",n[13]),s[0]&32768&&e.set_custom_element_data(t,"mbsource",n[15]),s[0]&16384&&e.set_custom_element_data(t,"translationurl",n[14]),s[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",n[10])},d(n){n&&e.detach(t)}}}function de(i){let t,n,s,l,m,c,d,a=i[24]("title")+"",g,f,r,u,_,p=i[26]&&re(i);const k=[ce,me],b=[];function C(h,w){return h[16]?0:1}return r=C(i),u=b[r]=k[r](i),{c(){t=e.element("meta"),n=e.space(),s=e.element("div"),l=e.element("div"),m=e.element("div"),p&&p.c(),c=e.space(),d=e.element("h2"),g=e.text(a),f=e.space(),u.c(),e.attr(t,"name","viewport"),e.attr(t,"content","width=device-width, initial-scale=1"),e.attr(d,"class","GamingLimitsTitle "+(i[26]?"GamingLimitsTitleNone":"")),e.attr(m,"class","TitleSection"),e.attr(l,"class","GamingLimitsWrapper "+(i[26]?"GamingLimitsWrapperMobile":""))},m(h,w){e.append(document.head,t),e.insert(h,n,w),e.insert(h,s,w),e.append(s,l),e.append(l,m),p&&p.m(m,null),e.append(m,c),e.append(m,d),e.append(d,g),e.append(l,f),b[r].m(l,null),i[39](s),_=!0},p(h,w){h[26]&&p.p(h,w),(!_||w[0]&16777216)&&a!==(a=h[24]("title")+"")&&e.set_data(g,a);let M=r;r=C(h),r===M?b[r].p(h,w):(e.group_outros(),e.transition_out(b[M],1,1,()=>{b[M]=null}),e.check_outros(),u=b[r],u?u.p(h,w):(u=b[r]=k[r](h),u.c()),e.transition_in(u,1),u.m(l,null))},i(h){_||(e.transition_in(u),_=!0)},o(h){e.transition_out(u),_=!1},d(h){h&&(e.detach(n),e.detach(s)),e.detach(t),p&&p.d(),b[r].d(),i[39](null)}}}function ge(i,t,n){let s;e.component_subscribe(i,e.$format,o=>n(24,s=o));let{$$slots:l={},$$scope:m}=t,{lang:c=""}=t,{userid:d=""}=t,{session:a=""}=t,{endpoint:g=""}=t,{currency:f=""}=t,{apiversion:r=""}=t,{tablabels:u=""}=t,{historyenabled:_="true"}=t,{enablecompliancetext:p="false"}=t,{deletelimit:k=""}=t,{limitsamount:b=""}=t,{limitsperiods:C=""}=t,{numberofentries:h=""}=t,{customcurrencysymbols:w=""}=t,{limitformat:M=""}=t,{clientstyling:S=""}=t,{clientstylingurl:G=""}=t,{translationurl:z=""}=t,{mbsource:A}=t,{customcontentontab:E=""}=t;se({withLocale:"en",translations:{}});let P=!0,L,W=[],B,T,v,D,N,Q=window.navigator.userAgent,R=e.getDevice(Q)!=="PC",F;Object.keys(I).forEach(o=>{le(o,I[o])});const X=(o,y)=>{if(n(21,D=o.replace(/\s/g,"").split("|")),n(22,N=y.replace(/\s/g,"").split("|")),D.length===0)throw new Error("Please provide a full limits configuration.");if(D.length!==N.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")},Y=()=>{X(b,C),b.split("|").forEach(y=>{W.includes(y)||W.push(y)}),n(19,B=u.split(",").map(y=>y.trim())),n(16,P=!1)},x=()=>{n(23,F=E?Number(E):-1)},j=o=>{if(T.children.length>0)for(let y=0;y<T.children.length;y++)o===y?(T.children[y].classList.remove("hidden"),v==null||v.children[y].classList.add("selected")):(T.children[y].classList.add("hidden"),v==null||v.children[y].classList.remove("selected"))},O=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:R},window.location.href)};e.onMount(()=>()=>{n(18,T=null),n(20,v=null)});const $=()=>O(),ee=o=>j(o);function te(o){e.binding_callbacks[o?"unshift":"push"](()=>{v=o,n(20,v)})}function ne(o){e.binding_callbacks[o?"unshift":"push"](()=>{T=o,n(18,T)})}function ie(o){e.binding_callbacks[o?"unshift":"push"](()=>{L=o,n(17,L)})}return i.$$set=o=>{"lang"in o&&n(0,c=o.lang),"userid"in o&&n(1,d=o.userid),"session"in o&&n(2,a=o.session),"endpoint"in o&&n(3,g=o.endpoint),"currency"in o&&n(4,f=o.currency),"apiversion"in o&&n(5,r=o.apiversion),"tablabels"in o&&n(29,u=o.tablabels),"historyenabled"in o&&n(6,_=o.historyenabled),"enablecompliancetext"in o&&n(7,p=o.enablecompliancetext),"deletelimit"in o&&n(8,k=o.deletelimit),"limitsamount"in o&&n(30,b=o.limitsamount),"limitsperiods"in o&&n(31,C=o.limitsperiods),"numberofentries"in o&&n(9,h=o.numberofentries),"customcurrencysymbols"in o&&n(10,w=o.customcurrencysymbols),"limitformat"in o&&n(11,M=o.limitformat),"clientstyling"in o&&n(12,S=o.clientstyling),"clientstylingurl"in o&&n(13,G=o.clientstylingurl),"translationurl"in o&&n(14,z=o.translationurl),"mbsource"in o&&n(15,A=o.mbsource),"customcontentontab"in o&&n(32,E=o.customcontentontab),"$$scope"in o&&n(33,m=o.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&536870959&&d&&a&&g&&u&&c&&r&&Y(),i.$$.dirty[1]&2&&E&&x(),i.$$.dirty[0]&327680&&T&&!P&&j(0),i.$$.dirty[0]&135168&&S&&L&&e.setClientStyling(L,S),i.$$.dirty[0]&139264&&G&&L&&e.setClientStylingURL(L,G),i.$$.dirty[0]&163840&&A&&L&&e.setStreamStyling(L,`${A}.Style`)},[c,d,a,g,f,r,_,p,k,h,w,M,S,G,z,A,P,L,T,B,v,D,N,F,s,W,R,j,O,u,b,C,E,m,l,$,ee,te,ne,ie]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ge,de,e.safe_not_equal,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:29,historyenabled:6,enablecompliancetext:7,deletelimit:8,limitsamount:30,limitsperiods:31,numberofentries:9,customcurrencysymbols:10,limitformat:11,clientstyling:12,clientstylingurl:13,translationurl:14,mbsource:15,customcontentontab:32},oe,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get apiversion(){return this.$$.ctx[5]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get tablabels(){return this.$$.ctx[29]}set tablabels(t){this.$$set({tablabels:t}),e.flush()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(t){this.$$set({historyenabled:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[7]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[8]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get limitsamount(){return this.$$.ctx[30]}set limitsamount(t){this.$$set({limitsamount:t}),e.flush()}get limitsperiods(){return this.$$.ctx[31]}set limitsperiods(t){this.$$set({limitsperiods:t}),e.flush()}get numberofentries(){return this.$$.ctx[9]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[10]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[11]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get customcontentontab(){return this.$$.ctx[32]}set customcontentontab(t){this.$$set({customcontentontab:t}),e.flush()}}e.create_custom_element(K,{lang:{},userid:{},session:{},endpoint:{},currency:{},apiversion:{},tablabels:{},historyenabled:{},enablecompliancetext:{},deletelimit:{},limitsamount:{},limitsperiods:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},customcontentontab:{}},["customTabContent"],[],!0);exports.default=K;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-DKq7aXpj.cjs");function se({withLocale:i,translations:t}){e.$locale.subscribe(n=>{n==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function le(i,t){e.addMessages(i,t)}const I={en:{title:"Limits"},"zh-hk":{title:"Limits"},fr:{title:"Limits"},ro:{title:"Limits"},es:{title:"Limits"},pt:{title:"Limits"},hr:{title:"Ograničenja"},"pt-br":{title:"Limites"},"es-mx":{title:"Límites"},tr:{title:"Sınırlar"},"en-us":{title:"Limits"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPage2Gm16-B4t05PXp.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gm16")&&customElements.define("player-account-gaming-limits-page-2-gm16",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsHistory2-D90-0n9S.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",t.element)})}function oe(i){e.append_styles(i,"svelte-r6lh3z",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px 50px 30px 50px}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.LimitsWrapper{display:flex;flex-direction:column}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-300, #58586B);justify-content:center;background:var(--emw--color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}h2{margin:20px 0px}.PlayerAccountGamingLmitsWrapper2{margin-bottom:20px}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));margin:0}')}function q(i,t,n){const s=i.slice();return s[46]=t[n],s[48]=n,s}const ae=i=>({}),H=i=>({});function U(i,t,n){const s=i.slice();return s[49]=t[n],s[48]=n,s}function re(i){let t,n,s,l,m,c,d,a,g,f,r=i[24]("title")+"",u,_,p;return{c(){t=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("defs"),l=e.svg_element("style"),m=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));}"),c=e.svg_element("g"),d=e.svg_element("g"),a=e.svg_element("path"),g=e.space(),f=e.element("h2"),u=e.text(r),e.attr(a,"class","aaa"),e.attr(a,"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(a,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(c,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(f,"class","GamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(k,b){e.insert(k,t,b),e.append(t,n),e.append(n,s),e.append(s,l),e.append(l,m),e.append(n,c),e.append(c,d),e.append(d,a),e.append(t,g),e.append(t,f),e.append(f,u),_||(p=e.listen(t,"click",i[35]),_=!0)},p(k,b){b[0]&16777216&&r!==(r=k[24]("title")+"")&&e.set_data(u,r)},d(k){k&&e.detach(t),_=!1,p()}}}function me(i){let t,n,s,l,m,c=i[25].length>1&&ue(i),d=e.ensure_array_like(i[25]),a=[];for(let r=0;r<d.length;r+=1)a[r]=Z(q(i,d,r));const g=r=>e.transition_out(a[r],1,1,()=>{a[r]=null});let f=i[6]==="true"&&J(i);return{c(){c&&c.c(),t=e.space(),n=e.element("div");for(let r=0;r<a.length;r+=1)a[r].c();s=e.space(),f&&f.c(),l=e.empty(),e.attr(n,"class","PlayerAccountGamingLmitsWrapper2")},m(r,u){c&&c.m(r,u),e.insert(r,t,u),e.insert(r,n,u);for(let _=0;_<a.length;_+=1)a[_]&&a[_].m(n,null);i[38](n),e.insert(r,s,u),f&&f.m(r,u),e.insert(r,l,u),m=!0},p(r,u){if(r[25].length>1&&c.p(r,u),u[0]&14745023|u[1]&4){d=e.ensure_array_like(r[25]);let _;for(_=0;_<d.length;_+=1){const p=q(r,d,_);a[_]?(a[_].p(p,u),e.transition_in(a[_],1)):(a[_]=Z(p),a[_].c(),e.transition_in(a[_],1),a[_].m(n,null))}for(e.group_outros(),_=d.length;_<a.length;_+=1)g(_);e.check_outros()}r[6]==="true"?f?f.p(r,u):(f=J(r),f.c(),f.m(l.parentNode,l)):f&&(f.d(1),f=null)},i(r){if(!m){for(let u=0;u<d.length;u+=1)e.transition_in(a[u]);m=!0}},o(r){a=a.filter(Boolean);for(let u=0;u<a.length;u+=1)e.transition_out(a[u]);m=!1},d(r){r&&(e.detach(t),e.detach(n),e.detach(s),e.detach(l)),c&&c.d(r),e.destroy_each(a,r),i[38](null),f&&f.d(r)}}}function ce(i){return{c:e.noop,m:e.noop,p:e.noop,i:e.noop,o:e.noop,d:e.noop}}function ue(i){let t,n=e.ensure_array_like(i[25]),s=[];for(let l=0;l<n.length;l+=1)s[l]=V(U(i,n,l));return{c(){t=e.element("div");for(let l=0;l<s.length;l+=1)s[l].c();e.attr(t,"class","TabsContainer")},m(l,m){e.insert(l,t,m);for(let c=0;c<s.length;c+=1)s[c]&&s[c].m(t,null);i[37](t)},p(l,m){if(m[0]&168296448){n=e.ensure_array_like(l[25]);let c;for(c=0;c<n.length;c+=1){const d=U(l,n,c);s[c]?s[c].p(d,m):(s[c]=V(d),s[c].c(),s[c].m(t,null))}for(;c<s.length;c+=1)s[c].d(1);s.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(s,l),i[37](null)}}}function V(i){var d;let t,n=((d=i[19][i[48]])!=null?d:i[49])+"",s,l,m;function c(){return i[36](i[48])}return{c(){t=e.element("div"),s=e.text(n),e.attr(t,"class","LimitsTab")},m(a,g){e.insert(a,t,g),e.append(t,s),l||(m=e.listen(t,"click",c),l=!0)},p(a,g){var f;i=a,g[0]&524288&&n!==(n=((f=i[19][i[48]])!=null?f:i[49])+"")&&e.set_data(s,n)},d(a){a&&e.detach(t),l=!1,m()}}}function _e(i){let t,n,s;return{c(){t=e.element("player-account-gaming-limits-page-2-gm16"),e.set_custom_element_data(t,"class","hidden selected"),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"currency",i[4]),e.set_custom_element_data(t,"amountsconfig",n=i[21][i[48]]),e.set_custom_element_data(t,"periodsconfig",s=i[22][i[48]]),e.set_custom_element_data(t,"limittabindex",i[48]+1),e.set_custom_element_data(t,"userid",i[1]),e.set_custom_element_data(t,"deletelimit",i[8]),e.set_custom_element_data(t,"enablecompliancetext",i[7]),e.set_custom_element_data(t,"session",i[2]),e.set_custom_element_data(t,"endpoint",i[3]),e.set_custom_element_data(t,"apiversion",i[5]),e.set_custom_element_data(t,"clientstyling",i[12]),e.set_custom_element_data(t,"clientstylingurl",i[13]),e.set_custom_element_data(t,"mbsource",i[15]),e.set_custom_element_data(t,"translationurl",i[14]),e.set_custom_element_data(t,"customcurrencysymbols",i[10]),e.set_custom_element_data(t,"limitformat",i[11])},m(l,m){e.insert(l,t,m)},p(l,m){m[0]&1&&e.set_custom_element_data(t,"lang",l[0]),m[0]&16&&e.set_custom_element_data(t,"currency",l[4]),m[0]&2097152&&n!==(n=l[21][l[48]])&&e.set_custom_element_data(t,"amountsconfig",n),m[0]&4194304&&s!==(s=l[22][l[48]])&&e.set_custom_element_data(t,"periodsconfig",s),m[0]&2&&e.set_custom_element_data(t,"userid",l[1]),m[0]&256&&e.set_custom_element_data(t,"deletelimit",l[8]),m[0]&128&&e.set_custom_element_data(t,"enablecompliancetext",l[7]),m[0]&4&&e.set_custom_element_data(t,"session",l[2]),m[0]&8&&e.set_custom_element_data(t,"endpoint",l[3]),m[0]&32&&e.set_custom_element_data(t,"apiversion",l[5]),m[0]&4096&&e.set_custom_element_data(t,"clientstyling",l[12]),m[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",l[13]),m[0]&32768&&e.set_custom_element_data(t,"mbsource",l[15]),m[0]&16384&&e.set_custom_element_data(t,"translationurl",l[14]),m[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",l[10]),m[0]&2048&&e.set_custom_element_data(t,"limitformat",l[11])},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function fe(i){let t;const n=i[34].customTabContent,s=e.create_slot(n,i,i[33],H);return{c(){s&&s.c()},m(l,m){s&&s.m(l,m),t=!0},p(l,m){s&&s.p&&(!t||m[1]&4)&&e.update_slot_base(s,n,l,l[33],t?e.get_slot_changes(n,l[33],m,ae):e.get_all_dirty_from_scope(l[33]),H)},i(l){t||(e.transition_in(s,l),t=!0)},o(l){e.transition_out(s,l),t=!1},d(l){s&&s.d(l)}}}function Z(i){let t,n,s,l;const m=[fe,_e],c=[];function d(a,g){return a[23]===a[48]?0:1}return t=d(i),n=c[t]=m[t](i),{c(){n.c(),s=e.empty()},m(a,g){c[t].m(a,g),e.insert(a,s,g),l=!0},p(a,g){let f=t;t=d(a),t===f?c[t].p(a,g):(e.group_outros(),e.transition_out(c[f],1,1,()=>{c[f]=null}),e.check_outros(),n=c[t],n?n.p(a,g):(n=c[t]=m[t](a),n.c()),e.transition_in(n,1),n.m(s.parentNode,s))},i(a){l||(e.transition_in(n),l=!0)},o(a){e.transition_out(n),l=!1},d(a){a&&e.detach(s),c[t].d(a)}}}function J(i){let t;return{c(){t=e.element("player-account-gaming-limits-history-2"),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"userid",i[1]),e.set_custom_element_data(t,"session",i[2]),e.set_custom_element_data(t,"endpoint",i[3]),e.set_custom_element_data(t,"apiversion",i[5]),e.set_custom_element_data(t,"numberofentries",i[9]),e.set_custom_element_data(t,"clientstyling",i[12]),e.set_custom_element_data(t,"clientstylingurl",i[13]),e.set_custom_element_data(t,"mbsource",i[15]),e.set_custom_element_data(t,"translationurl",i[14]),e.set_custom_element_data(t,"customcurrencysymbols",i[10])},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&1&&e.set_custom_element_data(t,"lang",n[0]),s[0]&2&&e.set_custom_element_data(t,"userid",n[1]),s[0]&4&&e.set_custom_element_data(t,"session",n[2]),s[0]&8&&e.set_custom_element_data(t,"endpoint",n[3]),s[0]&32&&e.set_custom_element_data(t,"apiversion",n[5]),s[0]&512&&e.set_custom_element_data(t,"numberofentries",n[9]),s[0]&4096&&e.set_custom_element_data(t,"clientstyling",n[12]),s[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",n[13]),s[0]&32768&&e.set_custom_element_data(t,"mbsource",n[15]),s[0]&16384&&e.set_custom_element_data(t,"translationurl",n[14]),s[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",n[10])},d(n){n&&e.detach(t)}}}function de(i){let t,n,s,l,m,c,d,a=i[24]("title")+"",g,f,r,u,_,p=i[26]&&re(i);const k=[ce,me],b=[];function C(h,w){return h[16]?0:1}return r=C(i),u=b[r]=k[r](i),{c(){t=e.element("meta"),n=e.space(),s=e.element("div"),l=e.element("div"),m=e.element("div"),p&&p.c(),c=e.space(),d=e.element("h2"),g=e.text(a),f=e.space(),u.c(),e.attr(t,"name","viewport"),e.attr(t,"content","width=device-width, initial-scale=1"),e.attr(d,"class","GamingLimitsTitle "+(i[26]?"GamingLimitsTitleNone":"")),e.attr(m,"class","TitleSection"),e.attr(l,"class","GamingLimitsWrapper "+(i[26]?"GamingLimitsWrapperMobile":""))},m(h,w){e.append(document.head,t),e.insert(h,n,w),e.insert(h,s,w),e.append(s,l),e.append(l,m),p&&p.m(m,null),e.append(m,c),e.append(m,d),e.append(d,g),e.append(l,f),b[r].m(l,null),i[39](s),_=!0},p(h,w){h[26]&&p.p(h,w),(!_||w[0]&16777216)&&a!==(a=h[24]("title")+"")&&e.set_data(g,a);let M=r;r=C(h),r===M?b[r].p(h,w):(e.group_outros(),e.transition_out(b[M],1,1,()=>{b[M]=null}),e.check_outros(),u=b[r],u?u.p(h,w):(u=b[r]=k[r](h),u.c()),e.transition_in(u,1),u.m(l,null))},i(h){_||(e.transition_in(u),_=!0)},o(h){e.transition_out(u),_=!1},d(h){h&&(e.detach(n),e.detach(s)),e.detach(t),p&&p.d(),b[r].d(),i[39](null)}}}function ge(i,t,n){let s;e.component_subscribe(i,e.$format,o=>n(24,s=o));let{$$slots:l={},$$scope:m}=t,{lang:c=""}=t,{userid:d=""}=t,{session:a=""}=t,{endpoint:g=""}=t,{currency:f=""}=t,{apiversion:r=""}=t,{tablabels:u=""}=t,{historyenabled:_="true"}=t,{enablecompliancetext:p="false"}=t,{deletelimit:k=""}=t,{limitsamount:b=""}=t,{limitsperiods:C=""}=t,{numberofentries:h=""}=t,{customcurrencysymbols:w=""}=t,{limitformat:M=""}=t,{clientstyling:S=""}=t,{clientstylingurl:G=""}=t,{translationurl:z=""}=t,{mbsource:A}=t,{customcontentontab:E=""}=t;se({withLocale:"en",translations:{}});let P=!0,L,W=[],B,T,v,D,N,Q=window.navigator.userAgent,R=e.getDevice(Q)!=="PC",F;Object.keys(I).forEach(o=>{le(o,I[o])});const X=(o,y)=>{if(n(21,D=o.replace(/\s/g,"").split("|")),n(22,N=y.replace(/\s/g,"").split("|")),D.length===0)throw new Error("Please provide a full limits configuration.");if(D.length!==N.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")},Y=()=>{X(b,C),b.split("|").forEach(y=>{W.includes(y)||W.push(y)}),n(19,B=u.split(",").map(y=>y.trim())),n(16,P=!1)},x=()=>{n(23,F=E?Number(E):-1)},j=o=>{if(T.children.length>0)for(let y=0;y<T.children.length;y++)o===y?(T.children[y].classList.remove("hidden"),v==null||v.children[y].classList.add("selected")):(T.children[y].classList.add("hidden"),v==null||v.children[y].classList.remove("selected"))},O=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:R},window.location.href)};e.onMount(()=>()=>{n(18,T=null),n(20,v=null)});const $=()=>O(),ee=o=>j(o);function te(o){e.binding_callbacks[o?"unshift":"push"](()=>{v=o,n(20,v)})}function ne(o){e.binding_callbacks[o?"unshift":"push"](()=>{T=o,n(18,T)})}function ie(o){e.binding_callbacks[o?"unshift":"push"](()=>{L=o,n(17,L)})}return i.$$set=o=>{"lang"in o&&n(0,c=o.lang),"userid"in o&&n(1,d=o.userid),"session"in o&&n(2,a=o.session),"endpoint"in o&&n(3,g=o.endpoint),"currency"in o&&n(4,f=o.currency),"apiversion"in o&&n(5,r=o.apiversion),"tablabels"in o&&n(29,u=o.tablabels),"historyenabled"in o&&n(6,_=o.historyenabled),"enablecompliancetext"in o&&n(7,p=o.enablecompliancetext),"deletelimit"in o&&n(8,k=o.deletelimit),"limitsamount"in o&&n(30,b=o.limitsamount),"limitsperiods"in o&&n(31,C=o.limitsperiods),"numberofentries"in o&&n(9,h=o.numberofentries),"customcurrencysymbols"in o&&n(10,w=o.customcurrencysymbols),"limitformat"in o&&n(11,M=o.limitformat),"clientstyling"in o&&n(12,S=o.clientstyling),"clientstylingurl"in o&&n(13,G=o.clientstylingurl),"translationurl"in o&&n(14,z=o.translationurl),"mbsource"in o&&n(15,A=o.mbsource),"customcontentontab"in o&&n(32,E=o.customcontentontab),"$$scope"in o&&n(33,m=o.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&536870959&&d&&a&&g&&u&&c&&r&&Y(),i.$$.dirty[1]&2&&E&&x(),i.$$.dirty[0]&327680&&T&&!P&&j(0),i.$$.dirty[0]&135168&&S&&L&&e.setClientStyling(L,S),i.$$.dirty[0]&139264&&G&&L&&e.setClientStylingURL(L,G),i.$$.dirty[0]&163840&&A&&L&&e.setStreamStyling(L,`${A}.Style`)},[c,d,a,g,f,r,_,p,k,h,w,M,S,G,z,A,P,L,T,B,v,D,N,F,s,W,R,j,O,u,b,C,E,m,l,$,ee,te,ne,ie]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ge,de,e.safe_not_equal,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:29,historyenabled:6,enablecompliancetext:7,deletelimit:8,limitsamount:30,limitsperiods:31,numberofentries:9,customcurrencysymbols:10,limitformat:11,clientstyling:12,clientstylingurl:13,translationurl:14,mbsource:15,customcontentontab:32},oe,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get apiversion(){return this.$$.ctx[5]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get tablabels(){return this.$$.ctx[29]}set tablabels(t){this.$$set({tablabels:t}),e.flush()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(t){this.$$set({historyenabled:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[7]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[8]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get limitsamount(){return this.$$.ctx[30]}set limitsamount(t){this.$$set({limitsamount:t}),e.flush()}get limitsperiods(){return this.$$.ctx[31]}set limitsperiods(t){this.$$set({limitsperiods:t}),e.flush()}get numberofentries(){return this.$$.ctx[9]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[10]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[11]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get customcontentontab(){return this.$$.ctx[32]}set customcontentontab(t){this.$$set({customcontentontab:t}),e.flush()}}e.create_custom_element(K,{lang:{},userid:{},session:{},endpoint:{},currency:{},apiversion:{},tablabels:{},historyenabled:{},enablecompliancetext:{},deletelimit:{},limitsamount:{},limitsperiods:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},customcontentontab:{}},["customTabContent"],[],!0);exports.default=K;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-B0tDLggX.cjs");function A(o,t){e.addMessages(o,t)}function T(o){e.$locale.set(o)}const F={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function P(o){e.append_styles(o,"svelte-1o81iqe",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}')}const W=o=>({}),z=o=>({});function q(o){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(i,c){e.insert(i,t,c),e.append(t,n)},p:e.noop,d(i){i&&e.detach(t)}}}function S(o){let t,n,i;return{c(){t=e.element("div"),n=e.element("h2"),i=e.text(o[1]),e.attr(t,"class","GeneralConfirmationTitle")},m(c,m){e.insert(c,t,m),e.append(t,n),e.append(n,i)},p(c,m){m&2&&e.set_data(i,c[1])},d(c){c&&e.detach(t)}}}function E(o){let t,n=o[4]("cancel")+"",i,c,m;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,h){e.insert(d,t,h),e.append(t,i),c||(m=e.listen(t,"click",o[17]),c=!0)},p(d,h){h&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(i,n)},d(d){d&&e.detach(t),c=!1,m()}}}function N(o){let t,n,i,c,m,d,h,G,u,_,p,x=o[4]("confirm")+"",v,f,w,g;const M=o[16].close,y=e.create_slot(M,o,o[15],z),b=y||q();let a=o[1]&&S(o),s=o[2]&&E(o);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("span"),b&&b.c(),c=e.space(),a&&a.c(),m=e.space(),d=e.element("div"),h=e.text(o[0]),G=e.space(),u=e.element("div"),s&&s.c(),_=e.space(),p=e.element("button"),v=e.text(x),e.attr(i,"class","ModalCloseBtn"),e.attr(i,"role","button"),e.attr(d,"class","GeneralConfirmationContent"),e.attr(p,"class","GeneralConfirmButton"),e.attr(u,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(l,C){e.insert(l,t,C),e.append(t,n),e.append(n,i),b&&b.m(i,null),e.append(n,c),a&&a.m(n,null),e.append(n,m),e.append(n,d),e.append(d,h),e.append(n,G),e.append(n,u),s&&s.m(u,null),e.append(u,_),e.append(u,p),e.append(p,v),o[19](t),f=!0,w||(g=[e.listen(i,"click",o[6]),e.listen(p,"click",o[18])],w=!0)},p(l,[C]){y&&y.p&&(!f||C&32768)&&e.update_slot_base(y,M,l,l[15],f?e.get_slot_changes(M,l[15],C,W):e.get_all_dirty_from_scope(l[15]),z),l[1]?a?a.p(l,C):(a=S(l),a.c(),a.m(n,m)):a&&(a.d(1),a=null),(!f||C&1)&&e.set_data(h,l[0]),l[2]?s?s.p(l,C):(s=E(l),s.c(),s.m(u,_)):s&&(s.d(1),s=null),(!f||C&16)&&x!==(x=l[4]("confirm")+"")&&e.set_data(v,x)},i(l){f||(e.transition_in(b,l),f=!0)},o(l){e.transition_out(b,l),f=!1},d(l){l&&e.detach(t),b&&b.d(l),a&&a.d(),s&&s.d(),o[19](null),w=!1,e.run_all(g)}}}function R(o,t,n){let i;e.component_subscribe(o,e.$format,r=>n(4,i=r));let{$$slots:c={},$$scope:m}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:h=""}=t,{hascancelbutton:G=!1}=t,{modalconfirmevent:u={}}=t,{modalcancelevent:_={}}=t,{lang:p="en"}=t,{clientstyling:x=""}=t,{clientstylingurl:v=""}=t,{translationurl:f=""}=t,{mbsource:w}=t,g,M=window.navigator.userAgent,y=e.getDevice(M)!=="PC";const b=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},a=r=>{r==="confirm"&&u&&window.postMessage(u,window.location.href),r==="cancel"&&_&&window.postMessage(_,window.location.href),b()},s=()=>{fetch(f).then(k=>k.json()).then(k=>{Object.keys(k).forEach(B=>{A(B,k[B])})}).catch(k=>{console.log(k)})};Object.keys(F).forEach(r=>{A(r,F[r])});const l=()=>{T(p)};e.onMount(()=>()=>{});const C=()=>a("cancel"),L=()=>a("confirm");function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(3,g)})}return o.$$set=r=>{"modaltext"in r&&n(0,d=r.modaltext),"modaltitle"in r&&n(1,h=r.modaltitle),"hascancelbutton"in r&&n(2,G=r.hascancelbutton),"modalconfirmevent"in r&&n(8,u=r.modalconfirmevent),"modalcancelevent"in r&&n(9,_=r.modalcancelevent),"lang"in r&&n(10,p=r.lang),"clientstyling"in r&&n(11,x=r.clientstyling),"clientstylingurl"in r&&n(12,v=r.clientstylingurl),"translationurl"in r&&n(13,f=r.translationurl),"mbsource"in r&&n(14,w=r.mbsource),"$$scope"in r&&n(15,m=r.$$scope)},o.$$.update=()=>{o.$$.dirty&1025&&d&&p&&l(),o.$$.dirty&2056&&x&&g&&e.setClientStyling(g,x),o.$$.dirty&4104&&v&&g&&e.setClientStylingURL(g,v),o.$$.dirty&16392&&w&&g&&e.setStreamStyling(g,`${w}.Style`),o.$$.dirty&8192&&f&&s()},[d,h,G,g,i,y,b,a,u,_,p,x,v,f,w,m,c,C,L,O]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,R,N,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,lang:10,clientstyling:11,clientstylingurl:12,translationurl:13,mbsource:14},P)}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$$set({modaltext:t}),e.flush()}get modaltitle(){return this.$$.ctx[1]}set modaltitle(t){this.$$set({modaltitle:t}),e.flush()}get hascancelbutton(){return this.$$.ctx[2]}set hascancelbutton(t){this.$$set({hascancelbutton:t}),e.flush()}get modalconfirmevent(){return this.$$.ctx[8]}set modalconfirmevent(t){this.$$set({modalconfirmevent:t}),e.flush()}get modalcancelevent(){return this.$$.ctx[9]}set modalcancelevent(t){this.$$set({modalcancelevent:t}),e.flush()}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(j,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=j;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-DKq7aXpj.cjs");function A(o,t){e.addMessages(o,t)}function T(o){e.$locale.set(o)}const F={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function P(o){e.append_styles(o,"svelte-1o81iqe",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}')}const W=o=>({}),z=o=>({});function q(o){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(i,c){e.insert(i,t,c),e.append(t,n)},p:e.noop,d(i){i&&e.detach(t)}}}function S(o){let t,n,i;return{c(){t=e.element("div"),n=e.element("h2"),i=e.text(o[1]),e.attr(t,"class","GeneralConfirmationTitle")},m(c,m){e.insert(c,t,m),e.append(t,n),e.append(n,i)},p(c,m){m&2&&e.set_data(i,c[1])},d(c){c&&e.detach(t)}}}function E(o){let t,n=o[4]("cancel")+"",i,c,m;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,h){e.insert(d,t,h),e.append(t,i),c||(m=e.listen(t,"click",o[17]),c=!0)},p(d,h){h&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(i,n)},d(d){d&&e.detach(t),c=!1,m()}}}function N(o){let t,n,i,c,m,d,h,G,u,_,p,x=o[4]("confirm")+"",v,f,w,g;const M=o[16].close,y=e.create_slot(M,o,o[15],z),b=y||q();let a=o[1]&&S(o),s=o[2]&&E(o);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("span"),b&&b.c(),c=e.space(),a&&a.c(),m=e.space(),d=e.element("div"),h=e.text(o[0]),G=e.space(),u=e.element("div"),s&&s.c(),_=e.space(),p=e.element("button"),v=e.text(x),e.attr(i,"class","ModalCloseBtn"),e.attr(i,"role","button"),e.attr(d,"class","GeneralConfirmationContent"),e.attr(p,"class","GeneralConfirmButton"),e.attr(u,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(l,C){e.insert(l,t,C),e.append(t,n),e.append(n,i),b&&b.m(i,null),e.append(n,c),a&&a.m(n,null),e.append(n,m),e.append(n,d),e.append(d,h),e.append(n,G),e.append(n,u),s&&s.m(u,null),e.append(u,_),e.append(u,p),e.append(p,v),o[19](t),f=!0,w||(g=[e.listen(i,"click",o[6]),e.listen(p,"click",o[18])],w=!0)},p(l,[C]){y&&y.p&&(!f||C&32768)&&e.update_slot_base(y,M,l,l[15],f?e.get_slot_changes(M,l[15],C,W):e.get_all_dirty_from_scope(l[15]),z),l[1]?a?a.p(l,C):(a=S(l),a.c(),a.m(n,m)):a&&(a.d(1),a=null),(!f||C&1)&&e.set_data(h,l[0]),l[2]?s?s.p(l,C):(s=E(l),s.c(),s.m(u,_)):s&&(s.d(1),s=null),(!f||C&16)&&x!==(x=l[4]("confirm")+"")&&e.set_data(v,x)},i(l){f||(e.transition_in(b,l),f=!0)},o(l){e.transition_out(b,l),f=!1},d(l){l&&e.detach(t),b&&b.d(l),a&&a.d(),s&&s.d(),o[19](null),w=!1,e.run_all(g)}}}function R(o,t,n){let i;e.component_subscribe(o,e.$format,r=>n(4,i=r));let{$$slots:c={},$$scope:m}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:h=""}=t,{hascancelbutton:G=!1}=t,{modalconfirmevent:u={}}=t,{modalcancelevent:_={}}=t,{lang:p="en"}=t,{clientstyling:x=""}=t,{clientstylingurl:v=""}=t,{translationurl:f=""}=t,{mbsource:w}=t,g,M=window.navigator.userAgent,y=e.getDevice(M)!=="PC";const b=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},a=r=>{r==="confirm"&&u&&window.postMessage(u,window.location.href),r==="cancel"&&_&&window.postMessage(_,window.location.href),b()},s=()=>{fetch(f).then(k=>k.json()).then(k=>{Object.keys(k).forEach(B=>{A(B,k[B])})}).catch(k=>{console.log(k)})};Object.keys(F).forEach(r=>{A(r,F[r])});const l=()=>{T(p)};e.onMount(()=>()=>{});const C=()=>a("cancel"),L=()=>a("confirm");function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,n(3,g)})}return o.$$set=r=>{"modaltext"in r&&n(0,d=r.modaltext),"modaltitle"in r&&n(1,h=r.modaltitle),"hascancelbutton"in r&&n(2,G=r.hascancelbutton),"modalconfirmevent"in r&&n(8,u=r.modalconfirmevent),"modalcancelevent"in r&&n(9,_=r.modalcancelevent),"lang"in r&&n(10,p=r.lang),"clientstyling"in r&&n(11,x=r.clientstyling),"clientstylingurl"in r&&n(12,v=r.clientstylingurl),"translationurl"in r&&n(13,f=r.translationurl),"mbsource"in r&&n(14,w=r.mbsource),"$$scope"in r&&n(15,m=r.$$scope)},o.$$.update=()=>{o.$$.dirty&1025&&d&&p&&l(),o.$$.dirty&2056&&x&&g&&e.setClientStyling(g,x),o.$$.dirty&4104&&v&&g&&e.setClientStylingURL(g,v),o.$$.dirty&16392&&w&&g&&e.setStreamStyling(g,`${w}.Style`),o.$$.dirty&8192&&f&&s()},[d,h,G,g,i,y,b,a,u,_,p,x,v,f,w,m,c,C,L,O]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,R,N,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,lang:10,clientstyling:11,clientstylingurl:12,translationurl:13,mbsource:14},P)}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$$set({modaltext:t}),e.flush()}get modaltitle(){return this.$$.ctx[1]}set modaltitle(t){this.$$set({modaltitle:t}),e.flush()}get hascancelbutton(){return this.$$.ctx[2]}set hascancelbutton(t){this.$$set({hascancelbutton:t}),e.flush()}get modalconfirmevent(){return this.$$.ctx[8]}set modalconfirmevent(t){this.$$set({modalconfirmevent:t}),e.flush()}get modalcancelevent(){return this.$$.ctx[9]}set modalcancelevent(t){this.$$set({modalcancelevent:t}),e.flush()}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(j,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=j;
@@ -1,4 +1,4 @@
1
- import { a as H, $ as J, S as K, i as Q, f as v, c as V, s as X, b as Y, G as Z, e as _, d as z, t as S, g as l, k as j, l as m, m as O, H as $, I as ee, J as te, n as E, K as ne, L as oe, p as L, r as ie, q as re, u as ae, v as le, w as se, x as ce, z as me, A as fe, y as W, o as de, B as ue } from "./GeneralLogout-P0C6s5DZ.js";
1
+ import { a as H, $ as J, S as K, i as Q, f as v, c as V, s as X, b as Y, H as Z, e as _, d as z, t as S, g as l, k as j, l as m, m as O, I as $, J as ee, K as te, n as E, L as ne, M as oe, p as L, r as ie, q as re, u as ae, v as le, w as se, x as ce, z as me, A as fe, y as W, o as de, B as ue } from "./GeneralLogout-oWKFw5-U.js";
2
2
  function q(n, e) {
3
3
  H(n, e);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { a as H, $ as J, S as K, i as Q, f as v, c as V, s as X, b as Y, G as Z, e as _, d as z, t as S, g as l, k as j, l as m, m as O, H as $, I as ee, J as te, n as E, K as ne, L as oe, p as L, r as ie, q as re, u as ae, v as le, w as se, x as ce, z as me, A as fe, y as W, o as de, B as ue } from "./GeneralLogout-BSaw6CR3.js";
1
+ import { a as H, $ as J, S as K, i as Q, f as v, c as V, s as X, b as Y, H as Z, e as _, d as z, t as S, g as l, k as j, l as m, m as O, I as $, J as ee, K as te, n as E, L as ne, M as oe, p as L, r as ie, q as re, u as ae, v as le, w as se, x as ce, z as me, A as fe, y as W, o as de, B as ue } from "./GeneralLogout-D1bnYvKD.js";
2
2
  function q(n, e) {
3
3
  H(n, e);
4
4
  }