@everymatrix/player-account-controller 1.64.1 → 1.64.4

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 (38) hide show
  1. package/components/{PlayerAccountController-CNadLBkX.js → PlayerAccountController-BUrcFu9n.js} +3 -3
  2. package/components/{PlayerAccountController-C4sz4Dx3.js → PlayerAccountController-DeZ4tBNI.js} +3 -3
  3. package/components/{PlayerAccountController-BfTHwFus.cjs → PlayerAccountController-DoD4S-nh.cjs} +1 -1
  4. package/components/{PlayerAccountTransactionsHistory-D2lWBV-A.js → PlayerAccountTransactionsHistory-Dba-1fZy.js} +61 -61
  5. package/components/{PlayerAccountTransactionsHistory-DOyK1gIl.cjs → PlayerAccountTransactionsHistory-P3vGWL_D.cjs} +4 -4
  6. package/components/{PlayerAccountTransactionsHistory-BRz2bw7T.js → PlayerAccountTransactionsHistory-zmSP1ZKW.js} +61 -61
  7. package/es2015/player-account-controller.cjs +1 -1
  8. package/es2015/player-account-controller.js +1 -1
  9. package/esnext/player-account-controller.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/{checkbox-group-input_9-fb5AYRav.js → checkbox-group-input_9-BDLC0NPq.js} +56 -55
  12. package/stencil/{checkbox-group-input_9-D2BF8AME.cjs → checkbox-group-input_9-CprubYZ6.cjs} +2 -2
  13. package/stencil/{checkbox-group-input_9-Ccn1x-YQ.js → checkbox-group-input_9-CvL73d-G.js} +56 -55
  14. package/stencil/{general-input-BRStwjLe.cjs → general-input-BGhFzqtE.cjs} +1 -1
  15. package/stencil/{general-input-VrsbUFid.js → general-input-D6sqV34A.js} +1 -1
  16. package/stencil/{general-input-Bi859Arx.js → general-input-rAz3BI0W.js} +1 -1
  17. package/stencil/{index-1ef3a64c-40UJl6ZR.cjs → index-1ef3a64c-B_ZYYq05.cjs} +1 -1
  18. package/stencil/{index-1ef3a64c-D_hRnRRS.js → index-1ef3a64c-Brn0Uk6U.js} +1 -1
  19. package/stencil/{index-1ef3a64c-DlkA_w16.js → index-1ef3a64c-HrNLjYby.js} +1 -1
  20. package/stencil/{index-9cd44522-DxFae1MG.js → index-9cd44522-BicusHxm.js} +4 -4
  21. package/stencil/{index-9cd44522-JnusBvN9.js → index-9cd44522-CmU71Sj9.js} +4 -4
  22. package/stencil/{index-9cd44522-CrgsoiAp.cjs → index-9cd44522-DoGQFmJb.cjs} +1 -1
  23. package/stencil/{password-input_2-BCOtY9sM.js → password-input_2-CgqvAj-_.js} +2 -2
  24. package/stencil/{password-input_2-BXzfMc8X.cjs → password-input_2-D-c-s1Y6.cjs} +1 -1
  25. package/stencil/{password-input_2-DHVTL4Uw.js → password-input_2-DRVfO_oq.js} +2 -2
  26. package/stencil/{player-change-password-gm2-5cb5c6c1-BKCmd_cs.js → player-change-password-gm2-5cb5c6c1-B-k1s7vM.js} +1 -1
  27. package/stencil/{player-change-password-gm2-5cb5c6c1-BUgDtida.cjs → player-change-password-gm2-5cb5c6c1-B10TDWX3.cjs} +1 -1
  28. package/stencil/{player-change-password-gm2-5cb5c6c1-6TVYOtMo.js → player-change-password-gm2-5cb5c6c1-BXXs93I9.js} +1 -1
  29. package/stencil/{player-change-password-gm2-BrSLdHlU.cjs → player-change-password-gm2-BYVZydPd.cjs} +1 -1
  30. package/stencil/{player-change-password-gm2-BKBYgPz8.js → player-change-password-gm2-Ch6ZOQxn.js} +1 -1
  31. package/stencil/{player-change-password-gm2-gjVdo1GO.js → player-change-password-gm2-D8Z5iyOU.js} +1 -1
  32. package/stencil/{toggle-checkbox-input-CrxkMky_.js → toggle-checkbox-input-DqMPlaYm.js} +1 -1
  33. package/stencil/{toggle-checkbox-input-HnF1aSM9.js → toggle-checkbox-input-F32UBqIG.js} +1 -1
  34. package/stencil/{toggle-checkbox-input-BC2iIvnY.cjs → toggle-checkbox-input-Vi6Sls8a.cjs} +1 -1
  35. package/stencil/{user-deposit-withdrawal-cnDUxzhZ.js → user-deposit-withdrawal-C7ATBpL9.js} +3 -3
  36. package/stencil/user-deposit-withdrawal-D3ICpdvp.cjs +68 -0
  37. package/stencil/{user-deposit-withdrawal-C3ngwq1c.js → user-deposit-withdrawal-G1yW00bt.js} +3 -3
  38. package/stencil/user-deposit-withdrawal-CJihIeJ7.cjs +0 -68
@@ -3396,13 +3396,13 @@ const $r = V((i) => {
3396
3396
  d == "{" && (y = c.indexOf("::")) > 0 && (u = c.substring(y + 2), c = c.substring(0, y), _ = !0);
3397
3397
  let A = Xi(c), F = [];
3398
3398
  if (A) {
3399
- let { args: k, methodName: z } = A;
3399
+ let { args: k, methodName: D } = A;
3400
3400
  for (let $ = 0; $ < k.length; $++) {
3401
3401
  let U = k[$];
3402
3402
  U.literal || F.push(U);
3403
3403
  }
3404
3404
  let M = s.dynamicFns;
3405
- (M && M[z] || A.static) && (F.push(z), A.dynamicFn = !0);
3405
+ (M && M[D] || A.static) && (F.push(D), A.dynamicFn = !0);
3406
3406
  } else
3407
3407
  F.push(c);
3408
3408
  a.push({ source: c, mode: d, negate: h, customEvent: _, signature: A, dependencies: F, event: u }), n = Go.lastIndex;
@@ -3539,13 +3539,13 @@ const zd = "3.5.2", Jo = window.ShadyCSS && window.ShadyCSS.cssBuild, Od = V((i)
3539
3539
  if (!Jo) {
3540
3540
  const _ = d.content.querySelectorAll("style"), u = Ys(d), y = El(h), A = d.content.firstElementChild;
3541
3541
  for (let k = 0; k < y.length; k++) {
3542
- let z = y[k];
3543
- z.textContent = l._processStyleText(z.textContent, c), d.content.insertBefore(z, A);
3542
+ let D = y[k];
3543
+ D.textContent = l._processStyleText(D.textContent, c), d.content.insertBefore(D, A);
3544
3544
  }
3545
3545
  let F = 0;
3546
3546
  for (let k = 0; k < u.length; k++) {
3547
- let z = u[k], M = _[F];
3548
- M !== z ? (z = z.cloneNode(!0), M.parentNode.insertBefore(z, M)) : F++, z.textContent = l._processStyleText(z.textContent, c);
3547
+ let D = u[k], M = _[F];
3548
+ M !== D ? (D = D.cloneNode(!0), M.parentNode.insertBefore(D, M)) : F++, D.textContent = l._processStyleText(D.textContent, c);
3549
3549
  }
3550
3550
  }
3551
3551
  if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, h), xl && Jo && ml) {
@@ -8020,7 +8020,7 @@ function ic(i, e) {
8020
8020
  return;
8021
8021
  const _ = Math.floor(d), u = Math.floor(r.clientWidth - (l + h)), y = Math.floor(r.clientHeight - (d + c)), A = Math.floor(l), F = { rootMargin: `${-_}px ${-u}px ${-y}px ${-A}px`, threshold: Math.max(0, Math.min(1, n)) || 1 };
8022
8022
  let k = !0;
8023
- function z(M) {
8023
+ function D(M) {
8024
8024
  let $ = M[0].intersectionRatio;
8025
8025
  if ($ !== n) {
8026
8026
  if (!k)
@@ -8029,7 +8029,7 @@ function ic(i, e) {
8029
8029
  }
8030
8030
  k = !1;
8031
8031
  }
8032
- t = new IntersectionObserver(z, F), t.observe(i);
8032
+ t = new IntersectionObserver(D, F), t.observe(i);
8033
8033
  }
8034
8034
  return s(!0), o;
8035
8035
  }
@@ -12591,7 +12591,7 @@ function Iu(i) {
12591
12591
  let e, t, r, o, s, a, n, l, d, h, c, _, u, y = (
12592
12592
  /*$_*/
12593
12593
  i[17]("headerTitle") + ""
12594
- ), A, F, k, z, M = (
12594
+ ), A, F, k, D, M = (
12595
12595
  /*$_*/
12596
12596
  i[17]("headerTitle") + ""
12597
12597
  ), $, U, ne, R, w, Z, N, ze, Ae = (
@@ -12600,10 +12600,10 @@ function Iu(i) {
12600
12600
  ), Ye, be, G, ce, le, Ge, ue = (
12601
12601
  /*$_*/
12602
12602
  i[17]("dateTo") + ""
12603
- ), Ot, Mt, te, T, Oe, Ke = (
12603
+ ), Ot, Mt, te, I, Oe, Ke = (
12604
12604
  /*$_*/
12605
12605
  i[17]("dateFilter") + ""
12606
- ), Xe, Je, _i, Qe, ie, Me, Ft, Ze, Nt, Ee, pe, Fe, et, Lt, ut, Bt, Ne, Vt, Rt, pt, mi, Le, tt, Ht, _t, fi, mt, xe, Be, m, E, I, D, Ve, we, _e, it, Wt, gi, Ce = q(
12606
+ ), Xe, Je, _i, Qe, ie, Me, Ft, Ze, Nt, Ee, pe, Fe, et, Lt, ut, Bt, Ne, Vt, Rt, pt, mi, Le, tt, Ht, _t, fi, mt, xe, Be, m, E, T, z, Ve, we, _e, it, Wt, gi, Ce = q(
12607
12607
  /*transactionTypes*/
12608
12608
  i[13]
12609
12609
  ), H = [];
@@ -12632,10 +12632,10 @@ function Iu(i) {
12632
12632
  ee[v] = Es(ms(i, ft, v));
12633
12633
  return {
12634
12634
  c() {
12635
- e = g("div"), t = g("div"), r = g("div"), o = g("button"), s = re("svg"), a = re("defs"), n = re("style"), l = se(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), d = re("g"), h = re("g"), c = re("path"), _ = S(), u = g("h2"), A = se(y), F = S(), k = g("div"), z = g("p"), $ = se(M), U = S(), ne = g("div");
12635
+ e = g("div"), t = g("div"), r = g("div"), o = g("button"), s = re("svg"), a = re("defs"), n = re("style"), l = se(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), d = re("g"), h = re("g"), c = re("path"), _ = S(), u = g("h2"), A = se(y), F = S(), k = g("div"), D = g("p"), $ = se(M), U = S(), ne = g("div");
12636
12636
  for (let v = 0; v < H.length; v += 1)
12637
12637
  H[v].c();
12638
- R = S(), w = g("div"), Z = g("div"), N = g("div"), ze = g("label"), Ye = se(Ae), be = S(), G = g("vaadin-date-picker"), ce = S(), le = g("div"), Ge = g("label"), Ot = se(ue), Mt = S(), te = g("vaadin-date-picker"), T = S(), Oe = g("button"), Xe = se(Ke), _i = S(), Qe = g("table"), ie = g("div"), Me = g("thead");
12638
+ R = S(), w = g("div"), Z = g("div"), N = g("div"), ze = g("label"), Ye = se(Ae), be = S(), G = g("vaadin-date-picker"), ce = S(), le = g("div"), Ge = g("label"), Ot = se(ue), Mt = S(), te = g("vaadin-date-picker"), I = S(), Oe = g("button"), Xe = se(Ke), _i = S(), Qe = g("table"), ie = g("div"), Me = g("thead");
12639
12639
  for (let v = 0; v < W.length; v += 1)
12640
12640
  W[v].c();
12641
12641
  Ft = S(), Ze = g("tbody"), ke.c(), Nt = S(), Ee = g("div"), pe = g("div"), Fe = g("button"), et = re("svg"), Lt = re("path"), Bt = S(), Ne = g("div"), Vt = g("p"), Rt = se(
@@ -12644,7 +12644,7 @@ function Iu(i) {
12644
12644
  ), mi = S(), Le = g("button"), tt = re("svg"), Ht = re("path"), fi = S(), mt = g("div"), xe = g("button"), Be = g("div"), m = g("p"), E = se(
12645
12645
  /*pageSize*/
12646
12646
  i[8]
12647
- ), I = S(), D = re("svg"), Ve = re("path"), we = S(), _e = g("div");
12647
+ ), T = S(), z = re("svg"), Ve = re("path"), we = S(), _e = g("div");
12648
12648
  for (let v = 0; v < ee.length; v += 1)
12649
12649
  ee[v].c();
12650
12650
  f(c, "class", "aaa"), f(c, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), f(c, "transform", "translate(15 15) rotate(180)"), f(h, "transform", "translate(20 158)"), f(d, "transform", "translate(-20 -158)"), f(s, "xmlns", "http://www.w3.org/2000/svg"), f(s, "width", "15"), f(s, "height", "15"), f(s, "viewBox", "0 0 15 15"), f(u, "class", "historyReturnText"), f(o, "class", "historyReturnButton"), f(k, "class", "headerText"), f(ne, "class", "headerController"), f(r, "class", "historyHeader"), f(ze, "for", "historyCalendarStartDate"), fe(
@@ -12672,18 +12672,18 @@ function Iu(i) {
12672
12672
  i[16].previousPage ? "" : "disable")), f(Ne, "class", pt = "indexDisplay " + (!/*buttonStatus*/
12673
12673
  i[16].previousPage && !/*buttonStatus*/
12674
12674
  i[16].nextPage ? "disable" : "")), f(Ht, "d", "M17.707,17.707a1,1,0,0,1-1.414-1.414L19.586,13H2a1,1,0,0,1,0-2H19.586L16.293,7.707a1,1,0,0,1,1.414-1.414l5,5a1,1,0,0,1,0,1.414Z"), f(tt, "viewBox", "6 4 17 17"), f(tt, "xmlns", "http://www.w3.org/2000/svg"), f(Le, "class", _t = "arrowRight " + (/*buttonStatus*/
12675
- i[16].nextPage ? "" : "disable")), f(pe, "class", "historyPageIndex"), f(Ve, "d", "M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"), f(D, "xmlns", "http://www.w3.org/2000/svg"), f(D, "viewBox", "6 5 20 20"), f(D, "class", "icon"), f(Be, "class", "currentPageSize"), f(_e, "class", "pageSizeDropDown"), f(xe, "class", it = "pageSizeSelector " + /*isPaginationToggled*/
12675
+ i[16].nextPage ? "" : "disable")), f(pe, "class", "historyPageIndex"), f(Ve, "d", "M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"), f(z, "xmlns", "http://www.w3.org/2000/svg"), f(z, "viewBox", "6 5 20 20"), f(z, "class", "icon"), f(Be, "class", "currentPageSize"), f(_e, "class", "pageSizeDropDown"), f(xe, "class", it = "pageSizeSelector " + /*isPaginationToggled*/
12676
12676
  (i[11] ? "active" : "") + " " + (/*buttonStatus*/
12677
12677
  i[16].pageSize ? "" : "disable")), f(mt, "class", "historyPageSize"), f(Ee, "class", "historyPaginationContainer"), f(t, "class", "historyWrapper"), f(e, "class", "historyContainer");
12678
12678
  },
12679
12679
  m(v, O) {
12680
- B(v, e, O), p(e, t), p(t, r), p(r, o), p(o, s), p(s, a), p(a, n), p(n, l), p(s, d), p(d, h), p(h, c), p(o, _), p(o, u), p(u, A), p(r, F), p(r, k), p(k, z), p(z, $), p(r, U), p(r, ne);
12680
+ B(v, e, O), p(e, t), p(t, r), p(r, o), p(o, s), p(s, a), p(a, n), p(n, l), p(s, d), p(d, h), p(h, c), p(o, _), p(o, u), p(u, A), p(r, F), p(r, k), p(k, D), p(D, $), p(r, U), p(r, ne);
12681
12681
  for (let b = 0; b < H.length; b += 1)
12682
12682
  H[b] && H[b].m(ne, null);
12683
- p(t, R), p(t, w), p(w, Z), p(Z, N), p(N, ze), p(ze, Ye), p(N, be), p(N, G), i[42](G), p(Z, ce), p(Z, le), p(le, Ge), p(Ge, Ot), p(le, Mt), p(le, te), i[43](te), p(w, T), p(w, Oe), p(Oe, Xe), p(t, _i), p(t, Qe), p(Qe, ie), p(ie, Me);
12683
+ p(t, R), p(t, w), p(w, Z), p(Z, N), p(N, ze), p(ze, Ye), p(N, be), p(N, G), i[42](G), p(Z, ce), p(Z, le), p(le, Ge), p(Ge, Ot), p(le, Mt), p(le, te), i[43](te), p(w, I), p(w, Oe), p(Oe, Xe), p(t, _i), p(t, Qe), p(Qe, ie), p(ie, Me);
12684
12684
  for (let b = 0; b < W.length; b += 1)
12685
12685
  W[b] && W[b].m(Me, null);
12686
- p(ie, Ft), p(ie, Ze), ke.m(Ze, null), p(t, Nt), p(t, Ee), p(Ee, pe), p(pe, Fe), p(Fe, et), p(et, Lt), p(pe, Bt), p(pe, Ne), p(Ne, Vt), p(Vt, Rt), p(pe, mi), p(pe, Le), p(Le, tt), p(tt, Ht), p(Ee, fi), p(Ee, mt), p(mt, xe), p(xe, Be), p(Be, m), p(m, E), p(Be, I), p(Be, D), p(D, Ve), p(xe, we), p(xe, _e);
12686
+ p(ie, Ft), p(ie, Ze), ke.m(Ze, null), p(t, Nt), p(t, Ee), p(Ee, pe), p(pe, Fe), p(Fe, et), p(et, Lt), p(pe, Bt), p(pe, Ne), p(Ne, Vt), p(Vt, Rt), p(pe, mi), p(pe, Le), p(Le, tt), p(tt, Ht), p(Ee, fi), p(Ee, mt), p(mt, xe), p(xe, Be), p(Be, m), p(m, E), p(Be, T), p(Be, z), p(z, Ve), p(xe, we), p(xe, _e);
12687
12687
  for (let b = 0; b < ee.length; b += 1)
12688
12688
  ee[b] && ee[b].m(_e, null);
12689
12689
  Wt || (gi = [
@@ -12832,9 +12832,9 @@ function Iu(i) {
12832
12832
  };
12833
12833
  }
12834
12834
  function Du(i) {
12835
- let e, t, r, o, s, a, n, l, d, h, c, _, u, y, A, F, k, z = q({ length: 3 }), M = [];
12836
- for (let w = 0; w < z.length; w += 1)
12837
- M[w] = Ru(Tu(i, z, w));
12835
+ let e, t, r, o, s, a, n, l, d, h, c, _, u, y, A, F, k, D = q({ length: 3 }), M = [];
12836
+ for (let w = 0; w < D.length; w += 1)
12837
+ M[w] = Ru(Tu(i, D, w));
12838
12838
  let $ = q({ length: 6 }), U = [];
12839
12839
  for (let w = 0; w < $.length; w += 1)
12840
12840
  U[w] = Hu(Eu(i, $, w));
@@ -13483,7 +13483,7 @@ function $u(i) {
13483
13483
  function Uu(i, e, t) {
13484
13484
  let r;
13485
13485
  mn(i, Cn, (m) => t(17, r = m));
13486
- let { endpoint: o = "" } = e, { playerid: s = "" } = e, { session: a = "" } = e, { lang: n = "" } = e, { clientstyling: l = "" } = e, { clientstylingurl: d = "" } = e, { mbsource: h } = e, { historytypes: c = "Casino, Sports, Payments" } = e, { pagesizeoptions: _ = "10, 20, 30, 50, 100" } = e, { defaultpagesize: u = "5" } = e, { formatamount: y = "{currency}{amount}.{2decimals}" } = e, { customcurrencysymbols: A } = e, F = window.navigator.userAgent, k = "", z = "", M, $, U = "", ne = "", R = "", w = Number(u), Z = 0, N = fn(F) !== "PC", ze = !0, Ae = !1, Ye = !1, be, G, ce, le = [], Ge = { EUR: "€", RON: " lei", USD: "$" }, ue = { payments: [], casino: [], sports: [] }, Ot = {
13486
+ let { endpoint: o = "" } = e, { playerid: s = "" } = e, { session: a = "" } = e, { lang: n = "" } = e, { clientstyling: l = "" } = e, { clientstylingurl: d = "" } = e, { mbsource: h } = e, { historytypes: c = "Casino, Sports, Payments" } = e, { pagesizeoptions: _ = "10, 20, 30, 50, 100" } = e, { defaultpagesize: u = "5" } = e, { formatamount: y = "{currency}{amount}.{2decimals}" } = e, { customcurrencysymbols: A } = e, F = window.navigator.userAgent, k = "", D = "", M, $, U = "", ne = "", R = "", w = Number(u), Z = 0, N = fn(F) !== "PC", ze = !0, Ae = !1, Ye = !1, be, G, ce, le = [], Ge = { EUR: "€", RON: " lei", USD: "$" }, ue = { payments: [], casino: [], sports: [] }, Ot = {
13487
13487
  payments: ["Type", "Status", "Amount", "Date", "Transaction ID"],
13488
13488
  casino: ["Game Name", "Date", "Bet Amount", "Win Amount", "Transaction ID"],
13489
13489
  sports: [
@@ -13523,7 +13523,7 @@ function Uu(i, e, t) {
13523
13523
  "-",
13524
13524
  "bet_id"
13525
13525
  ]
13526
- }, te = {}, T = {
13526
+ }, te = {}, I = {
13527
13527
  filterButton: !0,
13528
13528
  nextPage: !0,
13529
13529
  previousPage: !0,
@@ -13534,17 +13534,17 @@ function Uu(i, e, t) {
13534
13534
  });
13535
13535
  const _i = () => {
13536
13536
  t(13, le = c.split(", ").map((m, E) => {
13537
- const I = { type: m, checked: E === 0 };
13538
- return I.checked && t(7, R = I.type.toLocaleLowerCase()), I;
13537
+ const T = { type: m, checked: E === 0 };
13538
+ return T.checked && t(7, R = T.type.toLocaleLowerCase()), T;
13539
13539
  }));
13540
13540
  }, Qe = (m) => {
13541
- le.forEach((E, I) => {
13542
- t(13, le[I].checked = m === I, le), le[I].checked && t(7, R = E.type.toLocaleLowerCase());
13541
+ le.forEach((E, T) => {
13542
+ t(13, le[T].checked = m === T, le), le[T].checked && t(7, R = E.type.toLocaleLowerCase());
13543
13543
  }), ie();
13544
13544
  }, ie = () => {
13545
- if (!T.filterButton)
13545
+ if (!I.filterButton)
13546
13546
  return;
13547
- t(10, ze = !0), t(12, Ye = !1), t(16, T.filterButton = !1, T), t(16, T.nextPage = !1, T), t(16, T.previousPage = !1, T), t(16, T.pageSize = !1, T);
13547
+ t(10, ze = !0), t(12, Ye = !1), t(16, I.filterButton = !1, I), t(16, I.nextPage = !1, I), t(16, I.previousPage = !1, I), t(16, I.pageSize = !1, I);
13548
13548
  let m = new URL(`${o}/v1/player/${s}/fsb/transactions/${R}`);
13549
13549
  m.searchParams.append("offset", Z.toString() || "0"), m.searchParams.append("limit", w.toString() || "5"), m.searchParams.append("startDate", U), m.searchParams.append("endDate", ne);
13550
13550
  let E = {
@@ -13555,20 +13555,20 @@ function Uu(i, e, t) {
13555
13555
  Accept: "application/json"
13556
13556
  }
13557
13557
  };
13558
- fetch(m.href, E).then((I) => Vt(I)).then((I) => {
13559
- if (I.transactions.length === 0)
13560
- return t(3, z = r("checkPeriod")), Promise.reject();
13561
- I.transactions.length >= w && (t(16, T.nextPage = !0, T), t(16, T.previousPage = !0, T), t(16, T.pageSize = !0, T)), t(14, ue[R] = [], ue), t(11, Ae = !1), Fe(I);
13562
- }).catch((I) => {
13563
- t(12, Ye = !0), t(16, T.nextPage = !1, T), t(16, T.previousPage = !1, T), t(16, T.pageSize = !1, T), window.postMessage(
13558
+ fetch(m.href, E).then((T) => Vt(T)).then((T) => {
13559
+ if (T.transactions.length === 0)
13560
+ return t(3, D = r("checkPeriod")), Promise.reject(D);
13561
+ T.transactions.length >= w && (t(16, I.nextPage = !0, I), t(16, I.previousPage = !0, I), t(16, I.pageSize = !0, I)), t(14, ue[R] = [], ue), t(11, Ae = !1), Fe(T);
13562
+ }).catch((T) => {
13563
+ t(12, Ye = !0), t(16, I.nextPage = !1, I), t(16, I.previousPage = !1, I), t(16, I.pageSize = !1, I), window.postMessage(
13564
13564
  {
13565
13565
  type: "WidgetNotification",
13566
- data: { type: "error", message: z }
13566
+ data: { type: "error", message: T }
13567
13567
  },
13568
13568
  window.location.href
13569
13569
  );
13570
13570
  }).finally(() => {
13571
- t(10, ze = !1), t(16, T.filterButton = !0, T);
13571
+ t(10, ze = !1), t(16, I.filterButton = !0, I);
13572
13572
  });
13573
13573
  }, Me = (m) => {
13574
13574
  t(5, U = m.target.value);
@@ -13577,30 +13577,30 @@ function Uu(i, e, t) {
13577
13577
  }, Ze = () => {
13578
13578
  be.addEventListener("change", Me, !1), G.addEventListener("change", Ft, !1);
13579
13579
  }, Nt = () => {
13580
- T.pageSize && t(11, Ae = !Ae);
13580
+ I.pageSize && t(11, Ae = !Ae);
13581
13581
  }, Ee = (m) => {
13582
13582
  t(8, w = m), ie();
13583
13583
  }, pe = (m, E) => {
13584
13584
  if (E === "next") {
13585
- if (!T.nextPage)
13585
+ if (!I.nextPage)
13586
13586
  return;
13587
13587
  t(9, Z = m + 1), ie();
13588
13588
  } else {
13589
- if (!T.previousPage)
13589
+ if (!I.previousPage)
13590
13590
  return;
13591
13591
  t(9, Z = m - 1), ie();
13592
13592
  }
13593
13593
  }, Fe = (m) => {
13594
- m.transactions.forEach((E, I) => {
13595
- t(14, ue[R][I] = {}, ue), Mt[R].forEach((D) => {
13596
- if (y && D.includes("Amount") && ut(E), new Date(E[D]).getTime() && typeof E[D] != "number" && Lt(E, D), D.includes(".")) {
13597
- let Ve = D.split(".")[0], we = D.split(".")[1];
13598
- E[D] = { label: "Multiple", submenu: [] }, E[Ve].forEach((_e, it) => {
13599
- _e[we] && E[D].submenu.push(_e[we]);
13594
+ m.transactions.forEach((E, T) => {
13595
+ t(14, ue[R][T] = {}, ue), Mt[R].forEach((z) => {
13596
+ if (y && z.includes("Amount") && ut(E), new Date(E[z]).getTime() && typeof E[z] != "number" && Lt(E, z), z.includes(".")) {
13597
+ let Ve = z.split(".")[0], we = z.split(".")[1];
13598
+ E[z] = { label: "Multiple", submenu: [] }, E[Ve].forEach((_e, it) => {
13599
+ _e[we] && E[z].submenu.push(_e[we]);
13600
13600
  });
13601
13601
  }
13602
- if (D in E)
13603
- return t(14, ue[R][I][D] = E[D], ue);
13602
+ if (z in E)
13603
+ return t(14, ue[R][T][z] = E[z], ue);
13604
13604
  });
13605
13605
  });
13606
13606
  }, et = () => {
@@ -13608,21 +13608,21 @@ function Uu(i, e, t) {
13608
13608
  return;
13609
13609
  let m = {};
13610
13610
  A.split(",").forEach((E) => {
13611
- let I = E.split(":");
13612
- m[I[0].trim()] = I[1].trim();
13613
- }), Object.entries(m).forEach(([E, I]) => Ge[E] = I);
13611
+ let T = E.split(":");
13612
+ m[T[0].trim()] = T[1].trim();
13613
+ }), Object.entries(m).forEach(([E, T]) => Ge[E] = T);
13614
13614
  }, Lt = (m, E) => {
13615
- let I = new Date(m[E]).toISOString().split("T"), D = `${I[0]} ${I[1].split(".")[0]}`;
13616
- m[E] = D;
13615
+ let T = new Date(m[E]).toISOString().split("T"), z = `${T[0]} ${T[1].split(".")[0]}`;
13616
+ m[E] = z;
13617
13617
  }, ut = (m) => {
13618
- let E = Object.keys(m).find((W) => W.includes("Amount")), I = Object.keys(m).find((W) => W.includes("currency")), D = m[E], Ve = m[I], we = y;
13618
+ let E = Object.keys(m).find((W) => W.includes("Amount")), T = Object.keys(m).find((W) => W.includes("currency")), z = m[E], Ve = m[T], we = y;
13619
13619
  const _e = we.match(/\{(\d+)decimals\}/), it = _e ? parseInt(_e[1], 10) : 2, Wt = _e ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
13620
- D = parseInt(D).toFixed(it);
13620
+ z = parseInt(z).toFixed(it);
13621
13621
  const [gi, Ce] = y.includes(".") ? [",", "."] : [".", ","];
13622
- let [H, Re] = D.split(".");
13623
- H = H.replace(/\B(?=(\d{3})+(?!\d))/g, gi), D = `${H}${Ce}${Re}`, we = we.replace("{currency}", Ge[Ve] || Ve).replace("{amount}", D.split(Ce)[0]).replace(
13622
+ let [H, Re] = z.split(".");
13623
+ H = H.replace(/\B(?=(\d{3})+(?!\d))/g, gi), z = `${H}${Ce}${Re}`, we = we.replace("{currency}", Ge[Ve] || Ve).replace("{amount}", z.split(Ce)[0]).replace(
13624
13624
  Wt,
13625
- D.split(Ce)[1]
13625
+ z.split(Ce)[1]
13626
13626
  ), m[E] = we;
13627
13627
  }, Bt = (m) => t(15, te[m] = !te[m], te), Ne = () => {
13628
13628
  window.postMessage(
@@ -13632,7 +13632,7 @@ function Uu(i, e, t) {
13632
13632
  },
13633
13633
  window.location.href
13634
13634
  );
13635
- }, Vt = async (m) => m.status >= 300 ? (Ke = await m.json(), k = Ke.thirdPartyResponse.errorCode, t(3, z = r(k) || r("generalError")), Promise.reject()) : m.json();
13635
+ }, Vt = async (m) => m.status >= 300 ? (Ke = await m.json(), k = Ke.thirdPartyResponse.errorCode, t(3, D = r(k) || r("generalError")), Promise.reject(D)) : m.json();
13636
13636
  gn(() => () => {
13637
13637
  be && be.removeEventListener("change", Me), G && G.removeEventListener("change", Ft);
13638
13638
  });
@@ -13672,7 +13672,7 @@ function Uu(i, e, t) {
13672
13672
  be,
13673
13673
  G,
13674
13674
  ce,
13675
- z,
13675
+ D,
13676
13676
  M,
13677
13677
  U,
13678
13678
  ne,
@@ -13685,7 +13685,7 @@ function Uu(i, e, t) {
13685
13685
  le,
13686
13686
  ue,
13687
13687
  te,
13688
- T,
13688
+ I,
13689
13689
  r,
13690
13690
  Ot,
13691
13691
  Mt,
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountController-BfTHwFus.cjs")).then(({default:t})=>{!customElements.get("player-account-controller")&&customElements.define("player-account-controller",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountController-DoD4S-nh.cjs")).then(({default:t})=>{!customElements.get("player-account-controller")&&customElements.define("player-account-controller",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/PlayerAccountController-C4sz4Dx3.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/PlayerAccountController-DeZ4tBNI.js").then(({ default: t }) => {
14
14
  !customElements.get("player-account-controller") && customElements.define("player-account-controller", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { P as r } from "../components/PlayerAccountController-CNadLBkX.js";
1
+ import { P as r } from "../components/PlayerAccountController-BUrcFu9n.js";
2
2
  function s(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-account-controller",
3
- "version": "1.64.1",
3
+ "version": "1.64.4",
4
4
  "type": "module",
5
5
  "main": "es2015/player-account-controller.cjs",
6
6
  "module": "esnext/player-account-controller.js",