@opexa/portal-sdk 0.0.134 → 0.0.136

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.
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ var Fe = Object.defineProperty;
2
2
  var Ve = (o, e, t) => e in o ? Fe(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
3
  var c = (o, e, t) => Ve(o, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { ObjectId as H } from "@opexa/object-id";
5
- import { ObjectId as va } from "@opexa/object-id";
5
+ import { ObjectId as Ia } from "@opexa/object-id";
6
6
  const Y = {
7
7
  Account: 8,
8
8
  Deposit: 9,
@@ -107,7 +107,7 @@ const Re = i`
107
107
  }
108
108
  }
109
109
  }
110
- `, Be = {
110
+ `, We = {
111
111
  current: i`
112
112
  query GameSession($id: ObjectId!) {
113
113
  node(id: $id) {
@@ -447,7 +447,7 @@ const Re = i`
447
447
  }
448
448
  }
449
449
  }
450
- `, dt = i`
450
+ `, ut = i`
451
451
  mutation CreateMayaDeposit($input: CreateMayaDepositInput!) {
452
452
  createMayaDeposit(input: $input) {
453
453
  ... on DepositPromoMaximumAmountExceededError {
@@ -505,7 +505,7 @@ const Re = i`
505
505
  }
506
506
  }
507
507
  }
508
- `, ut = i`
508
+ `, dt = i`
509
509
  mutation CreateAIOQRPHDeposit($input: CreateAIOQRPHDepositInput!) {
510
510
  createAIOQRPHDeposit(input: $input) {
511
511
  ... on DepositPromoMaximumAmountExceededError {
@@ -694,7 +694,7 @@ const Re = i`
694
694
  }
695
695
  }
696
696
  }
697
- `, De = i`
697
+ `, Me = i`
698
698
  ${Re}
699
699
 
700
700
  fragment PromoFragment on Promo {
@@ -716,7 +716,7 @@ const Re = i`
716
716
  dateTimeLastUpdated
717
717
  }
718
718
  `, gt = i`
719
- ${De}
719
+ ${Me}
720
720
 
721
721
  query Promos {
722
722
  promos {
@@ -724,7 +724,7 @@ const Re = i`
724
724
  }
725
725
  }
726
726
  `, bt = i`
727
- ${De}
727
+ ${Me}
728
728
 
729
729
  query AvailablePromos($filter: PromoFilterInput) {
730
730
  availablePromos(filter: $filter) {
@@ -735,21 +735,23 @@ const Re = i`
735
735
  fragment SpotBonusFragment on SpotBonusPromo {
736
736
  id
737
737
  name
738
- activationEndDateTime
739
- banner {
740
- id
741
- url
742
- mimeType
743
- }
744
- bonusAmount
738
+ type
739
+ status
745
740
  daysToClear
746
741
  zeroOutThreshold
747
742
  turnoverRequirementMultiplier
748
743
  turnoverRequirementType
749
744
  minimumTicketOddFactorPerSportsGameProvider
750
745
  turnoverRequirementContributionPercentagePerGameProvider
746
+ bonusAmount
751
747
  enabledGameProviders
752
748
  activationStartDateTime
749
+ activationEndDateTime
750
+ banner {
751
+ id
752
+ url
753
+ }
754
+ description
753
755
  dateTimeCreated
754
756
  dateTimeLastUpdated
755
757
  dateTimeClosed
@@ -777,7 +779,7 @@ const Re = i`
777
779
  ...SpotBonusFragment
778
780
  }
779
781
  }
780
- `, $e = i`
782
+ `, qe = i`
781
783
  ${Re}
782
784
 
783
785
  fragment CashbackFragment on Cashback {
@@ -797,15 +799,15 @@ const Re = i`
797
799
  dateTimeLastUpdated
798
800
  }
799
801
  `, St = i`
800
- ${$e}
802
+ ${qe}
801
803
 
802
804
  query Cashbacks {
803
805
  cashbacks {
804
806
  ...CashbackFragment
805
807
  }
806
808
  }
807
- `, kt = i`
808
- ${De}
809
+ `, Ct = i`
810
+ ${Me}
809
811
 
810
812
  query Bonus {
811
813
  bonus {
@@ -833,8 +835,8 @@ const Re = i`
833
835
  dateTimeLastUpdated
834
836
  }
835
837
  }
836
- `, Ct = i`
837
- ${De}
838
+ `, kt = i`
839
+ ${Me}
838
840
 
839
841
  query Bonuses {
840
842
  bonuses {
@@ -863,7 +865,7 @@ const Re = i`
863
865
  }
864
866
  }
865
867
  `, _t = i`
866
- ${$e}
868
+ ${qe}
867
869
 
868
870
  query CashbackBonuses {
869
871
  cashbackBonuses {
@@ -893,7 +895,7 @@ i`
893
895
  }
894
896
  }
895
897
  `;
896
- const Mt = i`
898
+ const Dt = i`
897
899
  query MemberAccount {
898
900
  memberAccount: self {
899
901
  ... on MemberAccount {
@@ -942,7 +944,7 @@ const Mt = i`
942
944
  }
943
945
  }
944
946
  }
945
- `, Dt = i`
947
+ `, Mt = i`
946
948
  mutation RegisterMemberAccount(
947
949
  $input: RegisterMemberAccountInput!
948
950
  $referralCode: String
@@ -1005,7 +1007,7 @@ const Mt = i`
1005
1007
  }
1006
1008
  }
1007
1009
  }
1008
- `, It = i`
1010
+ `, vt = i`
1009
1011
  mutation RegisterMemberAccount(
1010
1012
  $input: RegisterMemberAccountInput_next!
1011
1013
  $reCAPTCHAResponse: String
@@ -1037,7 +1039,7 @@ const Mt = i`
1037
1039
  }
1038
1040
  }
1039
1041
  }
1040
- `, vt = i`
1042
+ `, It = i`
1041
1043
  mutation RegisterMayaMemberAccount($input: RegisterMayaMemberAccountInput!) {
1042
1044
  registerMayaMemberAccount(input: $input) {
1043
1045
  ... on AccountNameNotAvailableError {
@@ -1082,11 +1084,11 @@ const Mt = i`
1082
1084
  }
1083
1085
  }
1084
1086
  }
1085
- `, Ot = i`
1087
+ `, Bt = i`
1086
1088
  mutation DeleteMemberAccount($input: DeleteMemberAccountInput!) {
1087
1089
  deleteMemberAccount(input: $input)
1088
1090
  }
1089
- `, Wt = i`
1091
+ `, Ot = i`
1090
1092
  mutation VerifyMobileNumber($input: VerifyMobileNumberInput!) {
1091
1093
  verifyMobileNumber(input: $input) {
1092
1094
  ... on InvalidSMSVerificationCodeError {
@@ -1097,7 +1099,7 @@ const Mt = i`
1097
1099
  }
1098
1100
  }
1099
1101
  }
1100
- `, Bt = i`
1102
+ `, Wt = i`
1101
1103
  mutation CreateMemberVerification($input: CreateMemberVerificationInput!) {
1102
1104
  createMemberVerification(input: $input) {
1103
1105
  ... on FileDoesNotExistError {
@@ -1139,7 +1141,7 @@ const Mt = i`
1139
1141
  accountPassword
1140
1142
  }
1141
1143
  }
1142
- `, $t = i`
1144
+ `, qt = i`
1143
1145
  mutation SendVerificationCode($input: SendVerificationCodeInput!) {
1144
1146
  sendVerificationCode(input: $input) {
1145
1147
  ... on InvalidPlatformError {
@@ -1150,7 +1152,7 @@ const Mt = i`
1150
1152
  }
1151
1153
  }
1152
1154
  }
1153
- `, qt = i`
1155
+ `, $t = i`
1154
1156
  fragment DepositGatewaySettingsCoreData on DepositGatewaySettings {
1155
1157
  minimumAmount
1156
1158
  maximumAmount
@@ -1418,10 +1420,12 @@ const Mt = i`
1418
1420
  node {
1419
1421
  ... on Message {
1420
1422
  id
1423
+ icon
1421
1424
  logo
1425
+ image
1422
1426
  title
1423
- popup
1424
1427
  content
1428
+ popup
1425
1429
  actions {
1426
1430
  name
1427
1431
  url
@@ -1490,7 +1494,7 @@ const Mt = i`
1490
1494
  skipOnboarding
1491
1495
  }
1492
1496
  `;
1493
- function u(o) {
1497
+ function d(o) {
1494
1498
  return {
1495
1499
  name: o,
1496
1500
  message: {
@@ -1550,24 +1554,24 @@ function u(o) {
1550
1554
  }[o]
1551
1555
  };
1552
1556
  }
1553
- class da {
1557
+ class ua {
1554
1558
  constructor(e) {
1555
1559
  c(this, "client");
1556
1560
  this.client = e;
1557
1561
  }
1558
1562
  /** aka `Query.self` */
1559
1563
  async memberAccount() {
1560
- const e = await this.client.request(Mt);
1564
+ const e = await this.client.request(Dt);
1561
1565
  return e.ok ? {
1562
1566
  ok: !0,
1563
1567
  data: e.data.memberAccount
1564
1568
  } : e;
1565
1569
  }
1566
1570
  async registerMemberAccount(e) {
1567
- const t = await this.client.request(Dt, e);
1571
+ const t = await this.client.request(Mt, e);
1568
1572
  return t.ok ? t.data.registerMemberAccount ? {
1569
1573
  ok: !1,
1570
- error: u(t.data.registerMemberAccount.__typename)
1574
+ error: d(t.data.registerMemberAccount.__typename)
1571
1575
  } : {
1572
1576
  ok: !0
1573
1577
  } : t;
@@ -1576,16 +1580,16 @@ class da {
1576
1580
  const t = await this.client.request(Nt, e);
1577
1581
  return t.ok ? t.data.registerMemberAccountViaMobile ? {
1578
1582
  ok: !1,
1579
- error: u(t.data.registerMemberAccountViaMobile.__typename)
1583
+ error: d(t.data.registerMemberAccountViaMobile.__typename)
1580
1584
  } : {
1581
1585
  ok: !0
1582
1586
  } : t;
1583
1587
  }
1584
1588
  async registerMemberAccount__next(e) {
1585
- const t = await this.client.request(It, e);
1589
+ const t = await this.client.request(vt, e);
1586
1590
  return t.ok ? t.data.registerMemberAccount ? {
1587
1591
  ok: !1,
1588
- error: u(t.data.registerMemberAccount.__typename)
1592
+ error: d(t.data.registerMemberAccount.__typename)
1589
1593
  } : {
1590
1594
  ok: !0
1591
1595
  } : t;
@@ -1594,13 +1598,13 @@ class da {
1594
1598
  const t = await this.client.request(Gt, e);
1595
1599
  return t.ok ? t.data.updateMemberAccount ? {
1596
1600
  ok: !1,
1597
- error: u(t.data.updateMemberAccount.__typename)
1601
+ error: d(t.data.updateMemberAccount.__typename)
1598
1602
  } : {
1599
1603
  ok: !0
1600
1604
  } : t;
1601
1605
  }
1602
1606
  async deleteMemberAccount(e) {
1603
- const t = await this.client.request(Ot, e);
1607
+ const t = await this.client.request(Bt, e);
1604
1608
  return t.ok ? t.data.deleteMemberAccount ? {
1605
1609
  ok: !0
1606
1610
  } : {
@@ -1618,7 +1622,7 @@ class da {
1618
1622
  );
1619
1623
  return t.ok ? t.data.resetPassword ? {
1620
1624
  ok: !1,
1621
- error: u(t.data.resetPassword.__typename)
1625
+ error: d(t.data.resetPassword.__typename)
1622
1626
  } : {
1623
1627
  ok: !0
1624
1628
  } : t;
@@ -1629,14 +1633,14 @@ class da {
1629
1633
  }
1630
1634
  /** @deprecated */
1631
1635
  async platform() {
1632
- return await this.client.request(qt);
1636
+ return await this.client.request($t);
1633
1637
  }
1634
1638
  /** @deprecated */
1635
1639
  async sendVerificationCode(e) {
1636
- const t = await this.client.request($t, e);
1640
+ const t = await this.client.request(qt, e);
1637
1641
  return t.ok ? t.data.sendVerificationCode ? {
1638
1642
  ok: !1,
1639
- error: u(t.data.sendVerificationCode.__typename)
1643
+ error: d(t.data.sendVerificationCode.__typename)
1640
1644
  } : {
1641
1645
  ok: !0
1642
1646
  } : t;
@@ -1645,19 +1649,19 @@ class da {
1645
1649
  return await this.client.request(Ft);
1646
1650
  }
1647
1651
  async verifyMobileNumber(e) {
1648
- const t = await this.client.request(Wt, e);
1652
+ const t = await this.client.request(Ot, e);
1649
1653
  return t.ok ? t.data.verifyMobileNumber ? {
1650
1654
  ok: !1,
1651
- error: u(t.data.verifyMobileNumber.__typename)
1655
+ error: d(t.data.verifyMobileNumber.__typename)
1652
1656
  } : {
1653
1657
  ok: !0
1654
1658
  } : t;
1655
1659
  }
1656
1660
  async createMemberVerification(e) {
1657
- const t = await this.client.request(Bt, e);
1661
+ const t = await this.client.request(Wt, e);
1658
1662
  return t.ok ? t.data.createMemberVerification ? {
1659
1663
  ok: !1,
1660
- error: u(t.data.createMemberVerification.__typename)
1664
+ error: d(t.data.createMemberVerification.__typename)
1661
1665
  } : {
1662
1666
  ok: !0
1663
1667
  } : t;
@@ -1666,7 +1670,7 @@ class da {
1666
1670
  const t = await this.client.request(xt, e);
1667
1671
  return t.ok ? t.data.updateMemberVerification ? {
1668
1672
  ok: !1,
1669
- error: u(t.data.updateMemberVerification.__typename)
1673
+ error: d(t.data.updateMemberVerification.__typename)
1670
1674
  } : {
1671
1675
  ok: !0
1672
1676
  } : t;
@@ -1689,10 +1693,10 @@ class da {
1689
1693
  } : t;
1690
1694
  }
1691
1695
  async registerMayaMemberAccount(e) {
1692
- const t = await this.client.request(vt, e);
1696
+ const t = await this.client.request(It, e);
1693
1697
  return t.ok ? t.data.registerMayaMemberAccount ? {
1694
1698
  ok: !1,
1695
- error: u(t.data.registerMayaMemberAccount.__typename)
1699
+ error: d(t.data.registerMayaMemberAccount.__typename)
1696
1700
  } : {
1697
1701
  ok: !0
1698
1702
  } : t;
@@ -1708,7 +1712,7 @@ class da {
1708
1712
  const t = await this.client.request(jt, e);
1709
1713
  return t.ok ? t.data.updateReferralCode ? {
1710
1714
  ok: !1,
1711
- error: u(t.data.updateReferralCode.__typename)
1715
+ error: d(t.data.updateReferralCode.__typename)
1712
1716
  } : {
1713
1717
  ok: !0
1714
1718
  } : t;
@@ -1765,10 +1769,10 @@ class ca {
1765
1769
  data: r
1766
1770
  } : r.code === "ACCOUNT_BLACKLISTED" ? {
1767
1771
  ok: !1,
1768
- error: u("AccountBlacklistedError")
1772
+ error: d("AccountBlacklistedError")
1769
1773
  } : r.code === "INVALID_RECAPTCHA_RESPONSE" ? {
1770
1774
  ok: !1,
1771
- error: u("InvalidReCAPTCHAResponseError")
1775
+ error: d("InvalidReCAPTCHAResponseError")
1772
1776
  } : {
1773
1777
  ok: !1,
1774
1778
  error: y(a.status)
@@ -1797,7 +1801,7 @@ class ca {
1797
1801
  data: r
1798
1802
  } : a.status === 401 || a.status === 403 ? {
1799
1803
  ok: !1,
1800
- error: u("InvalidTokenOrSecretAnswerError")
1804
+ error: d("InvalidTokenOrSecretAnswerError")
1801
1805
  } : {
1802
1806
  ok: !1,
1803
1807
  error: y(a.status)
@@ -1824,10 +1828,10 @@ class ca {
1824
1828
  data: r
1825
1829
  } : r.code === "ACCOUNT_BLACKLISTED" ? {
1826
1830
  ok: !1,
1827
- error: u("AccountBlacklistedError")
1831
+ error: d("AccountBlacklistedError")
1828
1832
  } : a.status === 403 || a.status === 401 ? {
1829
1833
  ok: !1,
1830
- error: u("InvalidTokenError")
1834
+ error: d("InvalidTokenError")
1831
1835
  } : {
1832
1836
  ok: !1,
1833
1837
  error: y(a.status)
@@ -1888,7 +1892,7 @@ class ca {
1888
1892
  const r = await a.json(), s = t(r.message);
1889
1893
  return s ? {
1890
1894
  ok: !1,
1891
- error: u(s)
1895
+ error: d(s)
1892
1896
  } : {
1893
1897
  ok: !1,
1894
1898
  error: y(a.status, r.message)
@@ -1906,7 +1910,7 @@ class ca {
1906
1910
  }
1907
1911
  }
1908
1912
  }
1909
- class ua {
1913
+ class da {
1910
1914
  constructor(e) {
1911
1915
  c(this, "url");
1912
1916
  c(this, "siteId");
@@ -1921,15 +1925,15 @@ class ua {
1921
1925
  } : e;
1922
1926
  }
1923
1927
  async games(e) {
1924
- var r, s, m, d, l, f, w, p, k, C, _, T, M, R, h, D, N, A, I, v, G, P, S, O, B, x, U, $, q, L, F, V;
1928
+ var r, s, m, u, l, f, w, p, C, k, _, T, D, R, h, M, N, A, v, I, G, P, S, B, W, x, U, q, $, L, F, V;
1925
1929
  const t = new URLSearchParams();
1926
- e != null && e.first && t.set("first", e.first.toString()), e != null && e.after && t.set("after", e.after), e != null && e.search && t.set("search", e.search), (s = (r = e == null ? void 0 : e.filter) == null ? void 0 : r.type) != null && s.equal && t.set("filter[type][eq]", e.filter.type.equal), (d = (m = e == null ? void 0 : e.filter) == null ? void 0 : m.type) != null && d.notEqual && t.set("filter[type][neq]", e.filter.type.notEqual), (f = (l = e == null ? void 0 : e.filter) == null ? void 0 : l.type) != null && f.in && t.set("filter[type][in]", e.filter.type.in.join(",")), (p = (w = e == null ? void 0 : e.filter) == null ? void 0 : w.type) != null && p.notIn && t.set("filter[type][nin]", e.filter.type.notIn.join(",")), (C = (k = e == null ? void 0 : e.filter) == null ? void 0 : k.provider) != null && C.equal && t.set("filter[provider][eq]", e.filter.provider.equal), (T = (_ = e == null ? void 0 : e.filter) == null ? void 0 : _.provider) != null && T.notEqual && t.set("filter[provider][neq]", e.filter.provider.notEqual), (R = (M = e == null ? void 0 : e.filter) == null ? void 0 : M.provider) != null && R.in && t.set("filter[provider][in]", e.filter.provider.in.join(",")), (D = (h = e == null ? void 0 : e.filter) == null ? void 0 : h.provider) != null && D.notIn && t.set("filter[provider][nin]", e.filter.provider.notIn.join(",")), (A = (N = e == null ? void 0 : e.filter) == null ? void 0 : N.tags) != null && A.equal && t.set("filter[tags][eq]", e.filter.tags.equal.toLowerCase()), (v = (I = e == null ? void 0 : e.filter) == null ? void 0 : I.tags) != null && v.notEqual && t.set("filter[tags][neq]", e.filter.tags.notEqual.toLowerCase()), (P = (G = e == null ? void 0 : e.filter) == null ? void 0 : G.tags) != null && P.in && t.set(
1930
+ e != null && e.first && t.set("first", e.first.toString()), e != null && e.after && t.set("after", e.after), e != null && e.search && t.set("search", e.search), (s = (r = e == null ? void 0 : e.filter) == null ? void 0 : r.type) != null && s.equal && t.set("filter[type][eq]", e.filter.type.equal), (u = (m = e == null ? void 0 : e.filter) == null ? void 0 : m.type) != null && u.notEqual && t.set("filter[type][neq]", e.filter.type.notEqual), (f = (l = e == null ? void 0 : e.filter) == null ? void 0 : l.type) != null && f.in && t.set("filter[type][in]", e.filter.type.in.join(",")), (p = (w = e == null ? void 0 : e.filter) == null ? void 0 : w.type) != null && p.notIn && t.set("filter[type][nin]", e.filter.type.notIn.join(",")), (k = (C = e == null ? void 0 : e.filter) == null ? void 0 : C.provider) != null && k.equal && t.set("filter[provider][eq]", e.filter.provider.equal), (T = (_ = e == null ? void 0 : e.filter) == null ? void 0 : _.provider) != null && T.notEqual && t.set("filter[provider][neq]", e.filter.provider.notEqual), (R = (D = e == null ? void 0 : e.filter) == null ? void 0 : D.provider) != null && R.in && t.set("filter[provider][in]", e.filter.provider.in.join(",")), (M = (h = e == null ? void 0 : e.filter) == null ? void 0 : h.provider) != null && M.notIn && t.set("filter[provider][nin]", e.filter.provider.notIn.join(",")), (A = (N = e == null ? void 0 : e.filter) == null ? void 0 : N.tags) != null && A.equal && t.set("filter[tags][eq]", e.filter.tags.equal.toLowerCase()), (I = (v = e == null ? void 0 : e.filter) == null ? void 0 : v.tags) != null && I.notEqual && t.set("filter[tags][neq]", e.filter.tags.notEqual.toLowerCase()), (P = (G = e == null ? void 0 : e.filter) == null ? void 0 : G.tags) != null && P.in && t.set(
1927
1931
  "filter[tags][in]",
1928
1932
  e.filter.tags.in.map((E) => E.toLowerCase()).join(",")
1929
- ), (O = (S = e == null ? void 0 : e.filter) == null ? void 0 : S.tags) != null && O.notIn && t.set(
1933
+ ), (B = (S = e == null ? void 0 : e.filter) == null ? void 0 : S.tags) != null && B.notIn && t.set(
1930
1934
  "filter[tags][nin]",
1931
1935
  e.filter.tags.notIn.map((E) => E.toLowerCase()).join(",")
1932
- ), (x = (B = e == null ? void 0 : e.filter) == null ? void 0 : B.reference) != null && x.equal && t.set("filter[reference][eq]", e.filter.reference.equal), ($ = (U = e == null ? void 0 : e.filter) == null ? void 0 : U.reference) != null && $.notEqual && t.set("filter[reference][neq]", e.filter.reference.notEqual), (L = (q = e == null ? void 0 : e.filter) == null ? void 0 : q.reference) != null && L.in && t.set("filter[reference][in]", e.filter.reference.in.join(",")), (V = (F = e == null ? void 0 : e.filter) == null ? void 0 : F.reference) != null && V.notIn && t.set("filter[reference][nin]", e.filter.reference.notIn.join(",")), e != null && e.sort && t.set("sort[order]", e.sort);
1936
+ ), (x = (W = e == null ? void 0 : e.filter) == null ? void 0 : W.reference) != null && x.equal && t.set("filter[reference][eq]", e.filter.reference.equal), (q = (U = e == null ? void 0 : e.filter) == null ? void 0 : U.reference) != null && q.notEqual && t.set("filter[reference][neq]", e.filter.reference.notEqual), (L = ($ = e == null ? void 0 : e.filter) == null ? void 0 : $.reference) != null && L.in && t.set("filter[reference][in]", e.filter.reference.in.join(",")), (V = (F = e == null ? void 0 : e.filter) == null ? void 0 : F.reference) != null && V.notIn && t.set("filter[reference][nin]", e.filter.reference.notIn.join(",")), e != null && e.sort && t.set("sort[order]", e.sort);
1933
1937
  const a = await this.getJson("/games", t);
1934
1938
  return a.ok ? {
1935
1939
  ok: !0,
@@ -2000,7 +2004,7 @@ class la {
2000
2004
  const t = await this.client.upload(Ye, e);
2001
2005
  return t.ok ? t.data.uploadPrivateImageFile ? {
2002
2006
  ok: !1,
2003
- error: u(t.data.uploadPrivateImageFile.__typename)
2007
+ error: d(t.data.uploadPrivateImageFile.__typename)
2004
2008
  } : {
2005
2009
  ok: !0
2006
2010
  } : t;
@@ -2013,7 +2017,7 @@ class pa {
2013
2017
  }
2014
2018
  async gameSession(e) {
2015
2019
  const t = await this.client.request(
2016
- Be.legacy,
2020
+ We.legacy,
2017
2021
  e
2018
2022
  );
2019
2023
  return t.ok ? {
@@ -2025,7 +2029,7 @@ class pa {
2025
2029
  const t = await this.client.request(xe, e);
2026
2030
  return t.ok ? t.data.createGameSession ? {
2027
2031
  ok: !1,
2028
- error: u(t.data.createGameSession.__typename)
2032
+ error: d(t.data.createGameSession.__typename)
2029
2033
  } : {
2030
2034
  ok: !0
2031
2035
  } : t;
@@ -2236,7 +2240,7 @@ class ya {
2236
2240
  );
2237
2241
  return t.ok ? t.data.claimReward ? {
2238
2242
  ok: !1,
2239
- error: u(t.data.claimReward.__typename)
2243
+ error: d(t.data.claimReward.__typename)
2240
2244
  } : {
2241
2245
  ok: !0
2242
2246
  } : t;
@@ -2270,7 +2274,7 @@ class ha {
2270
2274
  const t = await this.client.request(Tt, e);
2271
2275
  return t.ok ? t.data.claimCashbackBonus ? {
2272
2276
  ok: !1,
2273
- error: u(t.data.claimCashbackBonus.__typename)
2277
+ error: d(t.data.claimCashbackBonus.__typename)
2274
2278
  } : {
2275
2279
  ok: !0
2276
2280
  } : {
@@ -2279,7 +2283,7 @@ class ha {
2279
2283
  };
2280
2284
  }
2281
2285
  async bonus() {
2282
- const e = await this.client.request(kt);
2286
+ const e = await this.client.request(Ct);
2283
2287
  return e.ok ? { ok: e.ok, data: e.data.bonus } : e;
2284
2288
  }
2285
2289
  async wallet() {
@@ -2297,25 +2301,25 @@ class ha {
2297
2301
  const t = await this.client.request(mt, e);
2298
2302
  return t.ok ? t.data.createGCashDeposit ? {
2299
2303
  ok: !1,
2300
- error: u(t.data.createGCashDeposit.__typename)
2304
+ error: d(t.data.createGCashDeposit.__typename)
2301
2305
  } : {
2302
2306
  ok: !0
2303
2307
  } : t;
2304
2308
  }
2305
2309
  async createMayaDeposit(e) {
2306
- const t = await this.client.request(dt, e);
2310
+ const t = await this.client.request(ut, e);
2307
2311
  return t.ok ? t.data.createMayaDeposit ? {
2308
2312
  ok: !1,
2309
- error: u(t.data.createMayaDeposit.__typename)
2313
+ error: d(t.data.createMayaDeposit.__typename)
2310
2314
  } : {
2311
2315
  ok: !0
2312
2316
  } : t;
2313
2317
  }
2314
2318
  async createAIOQRPHDeposit(e) {
2315
- const t = await this.client.request(ut, e);
2319
+ const t = await this.client.request(dt, e);
2316
2320
  return t.ok ? t.data.createAIOQRPHDeposit ? {
2317
2321
  ok: !1,
2318
- error: u(t.data.createAIOQRPHDeposit.__typename)
2322
+ error: d(t.data.createAIOQRPHDeposit.__typename)
2319
2323
  } : {
2320
2324
  ok: !0
2321
2325
  } : t;
@@ -2324,7 +2328,7 @@ class ha {
2324
2328
  const t = await this.client.request(lt, e);
2325
2329
  return t.ok ? t.data.createAIOOnlineBankDeposit ? {
2326
2330
  ok: !1,
2327
- error: u(t.data.createAIOOnlineBankDeposit.__typename)
2331
+ error: d(t.data.createAIOOnlineBankDeposit.__typename)
2328
2332
  } : {
2329
2333
  ok: !0
2330
2334
  } : t;
@@ -2333,7 +2337,7 @@ class ha {
2333
2337
  const t = await this.client.request(ct, e);
2334
2338
  return t.ok ? t.data.createMayaAppDeposit ? {
2335
2339
  ok: !1,
2336
- error: u(t.data.createMayaAppDeposit.__typename)
2340
+ error: d(t.data.createMayaAppDeposit.__typename)
2337
2341
  } : {
2338
2342
  ok: !0
2339
2343
  } : t;
@@ -2342,7 +2346,7 @@ class ha {
2342
2346
  const t = await this.client.request(et, e);
2343
2347
  return t.ok ? t.data.createGCashWithdrawal ? {
2344
2348
  ok: !1,
2345
- error: u(t.data.createGCashWithdrawal.__typename)
2349
+ error: d(t.data.createGCashWithdrawal.__typename)
2346
2350
  } : {
2347
2351
  ok: !0
2348
2352
  } : t;
@@ -2351,7 +2355,7 @@ class ha {
2351
2355
  const t = await this.client.request(tt, e);
2352
2356
  return t.ok ? t.data.createMayaWithdrawal ? {
2353
2357
  ok: !1,
2354
- error: u(t.data.createMayaWithdrawal.__typename)
2358
+ error: d(t.data.createMayaWithdrawal.__typename)
2355
2359
  } : {
2356
2360
  ok: !0
2357
2361
  } : t;
@@ -2360,7 +2364,7 @@ class ha {
2360
2364
  const t = await this.client.request(at, e);
2361
2365
  return t.ok ? t.data.createMayaAppWithdrawal ? {
2362
2366
  ok: !1,
2363
- error: u(t.data.createMayaAppWithdrawal.__typename)
2367
+ error: d(t.data.createMayaAppWithdrawal.__typename)
2364
2368
  } : {
2365
2369
  ok: !0
2366
2370
  } : t;
@@ -2369,7 +2373,7 @@ class ha {
2369
2373
  const t = await this.client.request(rt, e);
2370
2374
  return t.ok ? t.data.createBankWithdrawal ? {
2371
2375
  ok: !1,
2372
- error: u(t.data.createBankWithdrawal.__typename)
2376
+ error: d(t.data.createBankWithdrawal.__typename)
2373
2377
  } : {
2374
2378
  ok: !0
2375
2379
  } : t;
@@ -2378,7 +2382,7 @@ class ha {
2378
2382
  const t = await this.client.request(nt, e);
2379
2383
  return t.ok ? t.data.createAIOInstapayWithdrawal ? {
2380
2384
  ok: !1,
2381
- error: u(t.data.createAIOInstapayWithdrawal.__typename)
2385
+ error: d(t.data.createAIOInstapayWithdrawal.__typename)
2382
2386
  } : {
2383
2387
  ok: !0
2384
2388
  } : t;
@@ -2401,7 +2405,7 @@ class ha {
2401
2405
  const t = await this.client.request(Ke, e);
2402
2406
  return t.ok ? t.data.redeemPointsToCash ? {
2403
2407
  ok: !1,
2404
- error: u(t.data.redeemPointsToCash.__typename)
2408
+ error: d(t.data.redeemPointsToCash.__typename)
2405
2409
  } : {
2406
2410
  ok: !0
2407
2411
  } : t;
@@ -2415,7 +2419,7 @@ class ha {
2415
2419
  }
2416
2420
  async gameSession(e) {
2417
2421
  const t = await this.client.request(
2418
- Be.current,
2422
+ We.current,
2419
2423
  e
2420
2424
  );
2421
2425
  return t.ok ? { ok: !0, data: t.data.node } : t;
@@ -2424,7 +2428,7 @@ class ha {
2424
2428
  const t = await this.client.request(xe, e);
2425
2429
  return t.ok ? t.data.createGameSession ? {
2426
2430
  ok: !1,
2427
- error: u(t.data.createGameSession.__typename)
2431
+ error: d(t.data.createGameSession.__typename)
2428
2432
  } : {
2429
2433
  ok: !0
2430
2434
  } : t;
@@ -2459,7 +2463,7 @@ class ha {
2459
2463
  } : e;
2460
2464
  }
2461
2465
  async bonuses() {
2462
- const e = await this.client.request(Ct);
2466
+ const e = await this.client.request(kt);
2463
2467
  return e.ok ? { ok: e.ok, data: e.data.bonuses ?? [] } : e;
2464
2468
  }
2465
2469
  async claimSpotBonus(e) {
@@ -2470,7 +2474,7 @@ class ha {
2470
2474
  );
2471
2475
  return t.ok ? t.data.claimSpotBonus ? {
2472
2476
  ok: !1,
2473
- error: u((a = t.data.claimSpotBonus) == null ? void 0 : a.__typename)
2477
+ error: d((a = t.data.claimSpotBonus) == null ? void 0 : a.__typename)
2474
2478
  } : {
2475
2479
  ok: !0
2476
2480
  } : {
@@ -2486,7 +2490,7 @@ function j(o, e) {
2486
2490
  const t = Pe(o);
2487
2491
  return t.setMinutes(t.getMinutes() + e), t;
2488
2492
  }
2489
- function Ie(o, e) {
2493
+ function ve(o, e) {
2490
2494
  return o.getTime() > e.getTime();
2491
2495
  }
2492
2496
  class ga {
@@ -2507,13 +2511,13 @@ class ga {
2507
2511
  }
2508
2512
  get(e) {
2509
2513
  const t = this.cache[e];
2510
- return !t || Ie(/* @__PURE__ */ new Date(), t.validUntil) ? null : t.value;
2514
+ return !t || ve(/* @__PURE__ */ new Date(), t.validUntil) ? null : t.value;
2511
2515
  }
2512
2516
  }
2513
2517
  function ba(o, e, t) {
2514
2518
  return o < e ? e : o > t ? t : o;
2515
2519
  }
2516
- function ve(o) {
2520
+ function Ie(o) {
2517
2521
  return Object.prototype.toString.call(o) === "[object Object]" && Object(o) === o;
2518
2522
  }
2519
2523
  function Ea(o) {
@@ -2521,7 +2525,7 @@ function Ea(o) {
2521
2525
  function t(a, r = []) {
2522
2526
  for (const s in a) {
2523
2527
  const m = a[s];
2524
- ve(m) ? t(m, [...r, s]) : Array.isArray(m) ? t(Aa(m), [...r, s]) : e.push({
2528
+ Ie(m) ? t(m, [...r, s]) : Array.isArray(m) ? t(Aa(m), [...r, s]) : e.push({
2525
2529
  key: [...r, s],
2526
2530
  value: m
2527
2531
  });
@@ -2546,7 +2550,7 @@ class Q {
2546
2550
  r.set("Content-Type", "application/json"), r.set("Accept", "application/json");
2547
2551
  const s = new URL(this.url), m = Sa(e);
2548
2552
  m && s.searchParams.set(`_${m.type}`, m.name);
2549
- const d = await this.runMiddlewares(
2553
+ const u = await this.runMiddlewares(
2550
2554
  new Request(s, {
2551
2555
  ...this.options,
2552
2556
  body: a,
@@ -2554,7 +2558,7 @@ class Q {
2554
2558
  method: "POST"
2555
2559
  })
2556
2560
  );
2557
- return await this.exec(d);
2561
+ return await this.exec(u);
2558
2562
  }
2559
2563
  /** Single file upload */
2560
2564
  async upload(e, t) {
@@ -2571,13 +2575,13 @@ class Q {
2571
2575
  return await this.exec(s);
2572
2576
  }
2573
2577
  async exec(e) {
2574
- var t, a, r, s, m, d;
2578
+ var t, a, r, s, m, u;
2575
2579
  try {
2576
2580
  const l = await fetch(e);
2577
2581
  if (!l.ok)
2578
2582
  return { ok: !1, error: y(l.status) };
2579
2583
  const f = await l.json(), w = f.data, p = (t = f.errors) == null ? void 0 : t.at(0);
2580
- return p ? ((a = p.extensions) == null ? void 0 : a.code) === "FORBIDDEN" || ((r = p.extensions) == null ? void 0 : r.code) === "ACCESS_TOKEN_EXPIRED" ? { ok: !1, error: y(403, p.message) } : ((s = p.extensions) == null ? void 0 : s.code) === "UNAUTHORIZED" ? { ok: !1, error: y(401, p.message) } : ((m = p.extensions) == null ? void 0 : m.code) === "BAD_USER_INPUT" || ((d = p.extensions) == null ? void 0 : d.code) === "BAD_REQUEST" ? { ok: !1, error: y(400, p.message) } : {
2584
+ return p ? ((a = p.extensions) == null ? void 0 : a.code) === "FORBIDDEN" || ((r = p.extensions) == null ? void 0 : r.code) === "ACCESS_TOKEN_EXPIRED" ? { ok: !1, error: y(403, p.message) } : ((s = p.extensions) == null ? void 0 : s.code) === "UNAUTHORIZED" ? { ok: !1, error: y(401, p.message) } : ((m = p.extensions) == null ? void 0 : m.code) === "BAD_USER_INPUT" || ((u = p.extensions) == null ? void 0 : u.code) === "BAD_REQUEST" ? { ok: !1, error: y(400, p.message) } : {
2581
2585
  ok: !1,
2582
2586
  error: y(500, p.message)
2583
2587
  } : {
@@ -2609,10 +2613,10 @@ class Q {
2609
2613
  })
2610
2614
  );
2611
2615
  const s = {};
2612
- return a.forEach((m, d) => {
2613
- s[d.toString()] = [`variables.${m.key.join(".")}`];
2614
- }), r.append("map", JSON.stringify(s)), a.forEach((m, d) => {
2615
- r.append(d.toString(), m.value);
2616
+ return a.forEach((m, u) => {
2617
+ s[u.toString()] = [`variables.${m.key.join(".")}`];
2618
+ }), r.append("map", JSON.stringify(s)), a.forEach((m, u) => {
2619
+ r.append(u.toString(), m.value);
2616
2620
  }), r;
2617
2621
  }
2618
2622
  }
@@ -2622,21 +2626,21 @@ function Sa(o) {
2622
2626
  const t = e.at(1), a = e.at(2);
2623
2627
  return t && a ? { type: t, name: a } : null;
2624
2628
  }
2625
- function ka(o) {
2629
+ function Ca(o) {
2626
2630
  return o === "INR" ? "en-IN" : o === "MYR" ? "en-MY" : o === "IDR" ? "en-ID" : o === "USD" ? "en-US" : "en-PH";
2627
2631
  }
2628
- function Ca(o) {
2632
+ function ka(o) {
2629
2633
  return o === "en-IN" ? "+91" : o === "en-MY" ? "+60" : o === "en-ID" ? "+62" : o === "en-US" ? "+1" : "+63";
2630
2634
  }
2631
- function W(o, e) {
2632
- const t = Ca(e);
2635
+ function O(o, e) {
2636
+ const t = ka(e);
2633
2637
  return o.startsWith(t) ? o : o.startsWith(t.substring(1)) ? `+${o}` : o.startsWith("0") ? `${t}${o.substring(1)}` : `${t}${o}`;
2634
2638
  }
2635
2639
  async function g(o) {
2636
2640
  const e = new TextEncoder().encode(o), t = await crypto.subtle.digest("SHA-256", e);
2637
2641
  return Array.from(new Uint8Array(t)).map((s) => s.toString(16).padStart(2, "0")).join("");
2638
2642
  }
2639
- class qe {
2643
+ class $e {
2640
2644
  constructor(e) {
2641
2645
  c(this, "enabled");
2642
2646
  this.enabled = (e == null ? void 0 : e.enabled) ?? !0;
@@ -2663,15 +2667,15 @@ function Le(o) {
2663
2667
  setTimeout(e, o);
2664
2668
  });
2665
2669
  }
2666
- function We(o, e) {
2670
+ function Oe(o, e) {
2667
2671
  const {
2668
2672
  until: t,
2669
2673
  interval: a = 1e3,
2670
2674
  maxAttempt: r = 3
2671
2675
  /**/
2672
2676
  } = e;
2673
- async function s(m, d) {
2674
- const l = d ?? r, f = await o(...m);
2677
+ async function s(m, u) {
2678
+ const l = u ?? r, f = await o(...m);
2675
2679
  return t(f) ? f : l > 1 ? (await Le(a * ((r - l) / 2)), s(m, l - 1)) : f;
2676
2680
  }
2677
2681
  return async (...m) => await s(m);
@@ -2687,7 +2691,7 @@ class _a {
2687
2691
  c(this, "authService");
2688
2692
  c(this, "walletService");
2689
2693
  c(this, "_refreshing", !1);
2690
- this.authService = e.authService, this.walletService = e.walletService, this.logger = new qe({
2694
+ this.authService = e.authService, this.walletService = e.walletService, this.logger = new $e({
2691
2695
  enabled: e.logs ?? !1
2692
2696
  });
2693
2697
  }
@@ -2708,7 +2712,7 @@ class _a {
2708
2712
  }
2709
2713
  };
2710
2714
  if (e.type === "MAYA") {
2711
- const m = await We(() => this.walletService.mayaSession({ id: e.sessionId }), {
2715
+ const m = await Oe(() => this.walletService.mayaSession({ id: e.sessionId }), {
2712
2716
  until: (w) => {
2713
2717
  var p;
2714
2718
  return w.ok && ((p = w.data) == null ? void 0 : p.member) != null;
@@ -2725,7 +2729,7 @@ class _a {
2725
2729
  message: "Forbidden"
2726
2730
  }
2727
2731
  };
2728
- const l = await We(() => this.authService.createSession(e), {
2732
+ const l = await Oe(() => this.authService.createSession(e), {
2729
2733
  until: (w) => w.ok,
2730
2734
  interval: 1e3,
2731
2735
  maxAttempt: 5
@@ -2834,7 +2838,7 @@ class _a {
2834
2838
  try {
2835
2839
  let t = JSON.parse(e), a = /* @__PURE__ */ new Date();
2836
2840
  const r = new Date(t.accessTokenExpiresAt), s = new Date(t.refreshTokenExpiresAt);
2837
- if (Ie(a, s))
2841
+ if (ve(a, s))
2838
2842
  return this.logger.warn("Session expired. Logging out.."), window.localStorage.removeItem(this.storageKey), {
2839
2843
  ok: !1,
2840
2844
  error: {
@@ -2842,7 +2846,7 @@ class _a {
2842
2846
  message: "Session expired."
2843
2847
  }
2844
2848
  };
2845
- if (Ie(a, r)) {
2849
+ if (ve(a, r)) {
2846
2850
  this.logger.info("Refreshing session..."), this.refreshing = !0;
2847
2851
  const m = await this.authService.refreshSession(t.refreshToken);
2848
2852
  if (this.refreshing = !1, !m.ok)
@@ -2902,12 +2906,12 @@ function b(o) {
2902
2906
  for (const t in o) {
2903
2907
  const a = o[t];
2904
2908
  if (a !== null && a !== void 0) {
2905
- if (ve(a)) {
2909
+ if (Ie(a)) {
2906
2910
  e[t] = b(a);
2907
2911
  continue;
2908
2912
  }
2909
2913
  if (Array.isArray(a)) {
2910
- e[t] = a.map((r) => ve(r) ? b(r) : r);
2914
+ e[t] = a.map((r) => Ie(r) ? b(r) : r);
2911
2915
  continue;
2912
2916
  }
2913
2917
  e[t] = a;
@@ -2972,7 +2976,7 @@ class Ta {
2972
2976
  }
2973
2977
  /** @deprecated */
2974
2978
  platform(e) {
2975
- var t, a, r, s, m, d, l, f, w, p, k, C, _, T, M, R, h, D, N, A, I, v, G, P, S, O, B, x, U, $, q, L, F, V, E, J, X, Z, ee, te, ae, re, ne, oe, ie, se, me, de, ce, ue, le, pe, fe, we, ye, he, ge, be, Ee, Ae, Se, ke, Ce, _e, Te, Me, Oe;
2979
+ var t, a, r, s, m, u, l, f, w, p, C, k, _, T, D, R, h, M, N, A, v, I, G, P, S, B, W, x, U, q, $, L, F, V, E, J, X, Z, ee, te, ae, re, ne, oe, ie, se, me, ue, ce, de, le, pe, fe, we, ye, he, ge, be, Ee, Ae, Se, Ce, ke, _e, Te, De, Be;
2976
2980
  return {
2977
2981
  timezone: e.timezone,
2978
2982
  currency: e.currency,
@@ -2986,42 +2990,42 @@ class Ta {
2986
2990
  webEnabled: ((r = e.bankDepositGatewaySettings) == null ? void 0 : r.webEnabled) ?? !1,
2987
2991
  mobileWebEnabled: ((s = e.bankDepositGatewaySettings) == null ? void 0 : s.mobileWebEnabled) ?? !1,
2988
2992
  minimumAmount: n((m = e.bankDepositGatewaySettings) == null ? void 0 : m.minimumAmount),
2989
- maximumAmount: n((d = e.bankDepositGatewaySettings) == null ? void 0 : d.maximumAmount)
2993
+ maximumAmount: n((u = e.bankDepositGatewaySettings) == null ? void 0 : u.maximumAmount)
2990
2994
  },
2991
2995
  gcash: {
2992
2996
  androidEnabled: ((l = e.gcashDepositGatewaySettings) == null ? void 0 : l.androidEnabled) ?? !1,
2993
2997
  iosEnabled: ((f = e.gcashDepositGatewaySettings) == null ? void 0 : f.iosEnabled) ?? !1,
2994
2998
  webEnabled: ((w = e.gcashDepositGatewaySettings) == null ? void 0 : w.webEnabled) ?? !1,
2995
2999
  mobileWebEnabled: ((p = e.gcashDepositGatewaySettings) == null ? void 0 : p.mobileWebEnabled) ?? !1,
2996
- minimumAmount: n((k = e.gcashDepositGatewaySettings) == null ? void 0 : k.minimumAmount),
2997
- maximumAmount: n((C = e.gcashDepositGatewaySettings) == null ? void 0 : C.maximumAmount)
3000
+ minimumAmount: n((C = e.gcashDepositGatewaySettings) == null ? void 0 : C.minimumAmount),
3001
+ maximumAmount: n((k = e.gcashDepositGatewaySettings) == null ? void 0 : k.maximumAmount)
2998
3002
  },
2999
3003
  maya: {
3000
3004
  androidEnabled: ((_ = e.mayaDepositGatewaySettings) == null ? void 0 : _.androidEnabled) ?? !1,
3001
3005
  iosEnabled: ((T = e.mayaDepositGatewaySettings) == null ? void 0 : T.iosEnabled) ?? !1,
3002
- webEnabled: ((M = e.mayaDepositGatewaySettings) == null ? void 0 : M.webEnabled) ?? !1,
3006
+ webEnabled: ((D = e.mayaDepositGatewaySettings) == null ? void 0 : D.webEnabled) ?? !1,
3003
3007
  mobileWebEnabled: ((R = e.mayaDepositGatewaySettings) == null ? void 0 : R.mobileWebEnabled) ?? !1,
3004
3008
  minimumAmount: n((h = e.mayaDepositGatewaySettings) == null ? void 0 : h.minimumAmount),
3005
- maximumAmount: n((D = e.mayaDepositGatewaySettings) == null ? void 0 : D.maximumAmount)
3009
+ maximumAmount: n((M = e.mayaDepositGatewaySettings) == null ? void 0 : M.maximumAmount)
3006
3010
  },
3007
3011
  mayaApp: {
3008
3012
  androidEnabled: ((N = e.mayaAppDepositGatewaySettings) == null ? void 0 : N.androidEnabled) ?? !1,
3009
3013
  iosEnabled: ((A = e.mayaAppDepositGatewaySettings) == null ? void 0 : A.iosEnabled) ?? !1,
3010
- webEnabled: ((I = e.mayaAppDepositGatewaySettings) == null ? void 0 : I.webEnabled) ?? !1,
3011
- mobileWebEnabled: ((v = e.mayaAppDepositGatewaySettings) == null ? void 0 : v.mobileWebEnabled) ?? !1,
3014
+ webEnabled: ((v = e.mayaAppDepositGatewaySettings) == null ? void 0 : v.webEnabled) ?? !1,
3015
+ mobileWebEnabled: ((I = e.mayaAppDepositGatewaySettings) == null ? void 0 : I.mobileWebEnabled) ?? !1,
3012
3016
  minimumAmount: n((G = e.mayaAppDepositGatewaySettings) == null ? void 0 : G.minimumAmount),
3013
3017
  maximumAmount: n((P = e.mayaAppDepositGatewaySettings) == null ? void 0 : P.maximumAmount)
3014
3018
  },
3015
3019
  onlineBank: {
3016
3020
  androidEnabled: ((S = e.onlineBankDepositGatewaySettings) == null ? void 0 : S.androidEnabled) ?? !1,
3017
- iosEnabled: ((O = e.onlineBankDepositGatewaySettings) == null ? void 0 : O.iosEnabled) ?? !1,
3018
- webEnabled: ((B = e.onlineBankDepositGatewaySettings) == null ? void 0 : B.webEnabled) ?? !1,
3021
+ iosEnabled: ((B = e.onlineBankDepositGatewaySettings) == null ? void 0 : B.iosEnabled) ?? !1,
3022
+ webEnabled: ((W = e.onlineBankDepositGatewaySettings) == null ? void 0 : W.webEnabled) ?? !1,
3019
3023
  mobileWebEnabled: ((x = e.onlineBankDepositGatewaySettings) == null ? void 0 : x.mobileWebEnabled) ?? !1,
3020
3024
  minimumAmount: n((U = e.onlineBankDepositGatewaySettings) == null ? void 0 : U.minimumAmount),
3021
- maximumAmount: n(($ = e.onlineBankDepositGatewaySettings) == null ? void 0 : $.maximumAmount)
3025
+ maximumAmount: n((q = e.onlineBankDepositGatewaySettings) == null ? void 0 : q.maximumAmount)
3022
3026
  },
3023
3027
  qrph: {
3024
- androidEnabled: ((q = e.qrphDepositGatewaySettings) == null ? void 0 : q.androidEnabled) ?? !1,
3028
+ androidEnabled: (($ = e.qrphDepositGatewaySettings) == null ? void 0 : $.androidEnabled) ?? !1,
3025
3029
  iosEnabled: ((L = e.qrphDepositGatewaySettings) == null ? void 0 : L.iosEnabled) ?? !1,
3026
3030
  webEnabled: ((F = e.qrphDepositGatewaySettings) == null ? void 0 : F.webEnabled) ?? !1,
3027
3031
  mobileWebEnabled: ((V = e.qrphDepositGatewaySettings) == null ? void 0 : V.mobileWebEnabled) ?? !1,
@@ -3045,13 +3049,13 @@ class Ta {
3045
3049
  mobileWebEnabled: ((se = e.gcashWithdrawalGatewaySettings) == null ? void 0 : se.mobileWebEnabled) ?? !1,
3046
3050
  minimumAmount: n((me = e.gcashWithdrawalGatewaySettings) == null ? void 0 : me.minimumAmount),
3047
3051
  maximumAmount: n(
3048
- (de = e.gcashWithdrawalGatewaySettings) == null ? void 0 : de.maximumAmount,
3052
+ (ue = e.gcashWithdrawalGatewaySettings) == null ? void 0 : ue.maximumAmount,
3049
3053
  1e6
3050
3054
  )
3051
3055
  },
3052
3056
  maya: {
3053
3057
  androidEnabled: ((ce = e.mayaWithdrawalGatewaySettings) == null ? void 0 : ce.androidEnabled) ?? !1,
3054
- iosEnabled: ((ue = e.mayaWithdrawalGatewaySettings) == null ? void 0 : ue.iosEnabled) ?? !1,
3058
+ iosEnabled: ((de = e.mayaWithdrawalGatewaySettings) == null ? void 0 : de.iosEnabled) ?? !1,
3055
3059
  webEnabled: ((le = e.mayaWithdrawalGatewaySettings) == null ? void 0 : le.webEnabled) ?? !1,
3056
3060
  mobileWebEnabled: ((pe = e.mayaWithdrawalGatewaySettings) == null ? void 0 : pe.mobileWebEnabled) ?? !1,
3057
3061
  minimumAmount: n((fe = e.mayaWithdrawalGatewaySettings) == null ? void 0 : fe.minimumAmount),
@@ -3070,19 +3074,19 @@ class Ta {
3070
3074
  },
3071
3075
  instapay: {
3072
3076
  androidEnabled: ((Se = e.instapayWithdrawalGatewaySettings) == null ? void 0 : Se.androidEnabled) ?? !1,
3073
- iosEnabled: ((ke = e.instapayWithdrawalGatewaySettings) == null ? void 0 : ke.iosEnabled) ?? !1,
3074
- webEnabled: ((Ce = e.instapayWithdrawalGatewaySettings) == null ? void 0 : Ce.webEnabled) ?? !1,
3077
+ iosEnabled: ((Ce = e.instapayWithdrawalGatewaySettings) == null ? void 0 : Ce.iosEnabled) ?? !1,
3078
+ webEnabled: ((ke = e.instapayWithdrawalGatewaySettings) == null ? void 0 : ke.webEnabled) ?? !1,
3075
3079
  mobileWebEnabled: ((_e = e.instapayWithdrawalGatewaySettings) == null ? void 0 : _e.mobileWebEnabled) ?? !1,
3076
3080
  minimumAmount: n((Te = e.instapayWithdrawalGatewaySettings) == null ? void 0 : Te.minimumAmount),
3077
3081
  maximumAmount: n(
3078
- (Me = e.instapayWithdrawalGatewaySettings) == null ? void 0 : Me.maximumAmount,
3082
+ (De = e.instapayWithdrawalGatewaySettings) == null ? void 0 : De.maximumAmount,
3079
3083
  1e6
3080
3084
  )
3081
3085
  }
3082
3086
  }
3083
3087
  },
3084
3088
  pointsClubSettings: {
3085
- multiplier: n((Oe = e.pointsClubSettings) == null ? void 0 : Oe.multiplier, 0)
3089
+ multiplier: n((Be = e.pointsClubSettings) == null ? void 0 : Be.multiplier, 0)
3086
3090
  }
3087
3091
  };
3088
3092
  }
@@ -3090,7 +3094,7 @@ class Ta {
3090
3094
  return {
3091
3095
  currency: e.currency,
3092
3096
  timezone: e.timezone,
3093
- locale: ka(e.currency)
3097
+ locale: Ca(e.currency)
3094
3098
  };
3095
3099
  }
3096
3100
  pointsClubSettings(e) {
@@ -3099,7 +3103,7 @@ class Ta {
3099
3103
  };
3100
3104
  }
3101
3105
  paymentSettings(e) {
3102
- var t, a, r, s, m, d, l, f, w, p, k, C, _, T, M, R, h, D, N, A, I, v, G, P, S, O, B, x, U, $, q, L, F, V, E, J, X, Z, ee, te, ae, re, ne, oe, ie, se, me, de, ce, ue, le, pe, fe, we, ye, he, ge, be, Ee, Ae, Se, ke, Ce, _e, Te, Me;
3106
+ var t, a, r, s, m, u, l, f, w, p, C, k, _, T, D, R, h, M, N, A, v, I, G, P, S, B, W, x, U, q, $, L, F, V, E, J, X, Z, ee, te, ae, re, ne, oe, ie, se, me, ue, ce, de, le, pe, fe, we, ye, he, ge, be, Ee, Ae, Se, Ce, ke, _e, Te, De;
3103
3107
  return {
3104
3108
  minimumFirstDepositAmount: n(e.minimumFirstDepositAmount),
3105
3109
  restrictWithdrawalsToVerifiedMembers: e.restrictWithdrawalsToVerifiedMembers,
@@ -3110,42 +3114,42 @@ class Ta {
3110
3114
  webEnabled: ((r = e.bankDepositGatewaySettings) == null ? void 0 : r.webEnabled) ?? !1,
3111
3115
  mobileWebEnabled: ((s = e.bankDepositGatewaySettings) == null ? void 0 : s.mobileWebEnabled) ?? !1,
3112
3116
  minimumAmount: n((m = e.bankDepositGatewaySettings) == null ? void 0 : m.minimumAmount),
3113
- maximumAmount: n((d = e.bankDepositGatewaySettings) == null ? void 0 : d.maximumAmount)
3117
+ maximumAmount: n((u = e.bankDepositGatewaySettings) == null ? void 0 : u.maximumAmount)
3114
3118
  },
3115
3119
  gcash: {
3116
3120
  androidEnabled: ((l = e.gcashDepositGatewaySettings) == null ? void 0 : l.androidEnabled) ?? !1,
3117
3121
  iosEnabled: ((f = e.gcashDepositGatewaySettings) == null ? void 0 : f.iosEnabled) ?? !1,
3118
3122
  webEnabled: ((w = e.gcashDepositGatewaySettings) == null ? void 0 : w.webEnabled) ?? !1,
3119
3123
  mobileWebEnabled: ((p = e.gcashDepositGatewaySettings) == null ? void 0 : p.mobileWebEnabled) ?? !1,
3120
- minimumAmount: n((k = e.gcashDepositGatewaySettings) == null ? void 0 : k.minimumAmount),
3121
- maximumAmount: n((C = e.gcashDepositGatewaySettings) == null ? void 0 : C.maximumAmount)
3124
+ minimumAmount: n((C = e.gcashDepositGatewaySettings) == null ? void 0 : C.minimumAmount),
3125
+ maximumAmount: n((k = e.gcashDepositGatewaySettings) == null ? void 0 : k.maximumAmount)
3122
3126
  },
3123
3127
  maya: {
3124
3128
  androidEnabled: ((_ = e.mayaDepositGatewaySettings) == null ? void 0 : _.androidEnabled) ?? !1,
3125
3129
  iosEnabled: ((T = e.mayaDepositGatewaySettings) == null ? void 0 : T.iosEnabled) ?? !1,
3126
- webEnabled: ((M = e.mayaDepositGatewaySettings) == null ? void 0 : M.webEnabled) ?? !1,
3130
+ webEnabled: ((D = e.mayaDepositGatewaySettings) == null ? void 0 : D.webEnabled) ?? !1,
3127
3131
  mobileWebEnabled: ((R = e.mayaDepositGatewaySettings) == null ? void 0 : R.mobileWebEnabled) ?? !1,
3128
3132
  minimumAmount: n((h = e.mayaDepositGatewaySettings) == null ? void 0 : h.minimumAmount),
3129
- maximumAmount: n((D = e.mayaDepositGatewaySettings) == null ? void 0 : D.maximumAmount)
3133
+ maximumAmount: n((M = e.mayaDepositGatewaySettings) == null ? void 0 : M.maximumAmount)
3130
3134
  },
3131
3135
  mayaApp: {
3132
3136
  androidEnabled: ((N = e.mayaAppDepositGatewaySettings) == null ? void 0 : N.androidEnabled) ?? !1,
3133
3137
  iosEnabled: ((A = e.mayaAppDepositGatewaySettings) == null ? void 0 : A.iosEnabled) ?? !1,
3134
- webEnabled: ((I = e.mayaAppDepositGatewaySettings) == null ? void 0 : I.webEnabled) ?? !1,
3135
- mobileWebEnabled: ((v = e.mayaAppDepositGatewaySettings) == null ? void 0 : v.mobileWebEnabled) ?? !1,
3138
+ webEnabled: ((v = e.mayaAppDepositGatewaySettings) == null ? void 0 : v.webEnabled) ?? !1,
3139
+ mobileWebEnabled: ((I = e.mayaAppDepositGatewaySettings) == null ? void 0 : I.mobileWebEnabled) ?? !1,
3136
3140
  minimumAmount: n((G = e.mayaAppDepositGatewaySettings) == null ? void 0 : G.minimumAmount),
3137
3141
  maximumAmount: n((P = e.mayaAppDepositGatewaySettings) == null ? void 0 : P.maximumAmount)
3138
3142
  },
3139
3143
  onlineBank: {
3140
3144
  androidEnabled: ((S = e.onlineBankDepositGatewaySettings) == null ? void 0 : S.androidEnabled) ?? !1,
3141
- iosEnabled: ((O = e.onlineBankDepositGatewaySettings) == null ? void 0 : O.iosEnabled) ?? !1,
3142
- webEnabled: ((B = e.onlineBankDepositGatewaySettings) == null ? void 0 : B.webEnabled) ?? !1,
3145
+ iosEnabled: ((B = e.onlineBankDepositGatewaySettings) == null ? void 0 : B.iosEnabled) ?? !1,
3146
+ webEnabled: ((W = e.onlineBankDepositGatewaySettings) == null ? void 0 : W.webEnabled) ?? !1,
3143
3147
  mobileWebEnabled: ((x = e.onlineBankDepositGatewaySettings) == null ? void 0 : x.mobileWebEnabled) ?? !1,
3144
3148
  minimumAmount: n((U = e.onlineBankDepositGatewaySettings) == null ? void 0 : U.minimumAmount),
3145
- maximumAmount: n(($ = e.onlineBankDepositGatewaySettings) == null ? void 0 : $.maximumAmount)
3149
+ maximumAmount: n((q = e.onlineBankDepositGatewaySettings) == null ? void 0 : q.maximumAmount)
3146
3150
  },
3147
3151
  qrph: {
3148
- androidEnabled: ((q = e.qrphDepositGatewaySettings) == null ? void 0 : q.androidEnabled) ?? !1,
3152
+ androidEnabled: (($ = e.qrphDepositGatewaySettings) == null ? void 0 : $.androidEnabled) ?? !1,
3149
3153
  iosEnabled: ((L = e.qrphDepositGatewaySettings) == null ? void 0 : L.iosEnabled) ?? !1,
3150
3154
  webEnabled: ((F = e.qrphDepositGatewaySettings) == null ? void 0 : F.webEnabled) ?? !1,
3151
3155
  mobileWebEnabled: ((V = e.qrphDepositGatewaySettings) == null ? void 0 : V.mobileWebEnabled) ?? !1,
@@ -3168,11 +3172,11 @@ class Ta {
3168
3172
  webEnabled: ((ie = e.gcashWithdrawalGatewaySettings) == null ? void 0 : ie.webEnabled) ?? !1,
3169
3173
  mobileWebEnabled: ((se = e.gcashWithdrawalGatewaySettings) == null ? void 0 : se.mobileWebEnabled) ?? !1,
3170
3174
  minimumAmount: n((me = e.gcashWithdrawalGatewaySettings) == null ? void 0 : me.minimumAmount),
3171
- maximumAmount: n((de = e.gcashWithdrawalGatewaySettings) == null ? void 0 : de.maximumAmount, 1e6)
3175
+ maximumAmount: n((ue = e.gcashWithdrawalGatewaySettings) == null ? void 0 : ue.maximumAmount, 1e6)
3172
3176
  },
3173
3177
  maya: {
3174
3178
  androidEnabled: ((ce = e.mayaWithdrawalGatewaySettings) == null ? void 0 : ce.androidEnabled) ?? !1,
3175
- iosEnabled: ((ue = e.mayaWithdrawalGatewaySettings) == null ? void 0 : ue.iosEnabled) ?? !1,
3179
+ iosEnabled: ((de = e.mayaWithdrawalGatewaySettings) == null ? void 0 : de.iosEnabled) ?? !1,
3176
3180
  webEnabled: ((le = e.mayaWithdrawalGatewaySettings) == null ? void 0 : le.webEnabled) ?? !1,
3177
3181
  mobileWebEnabled: ((pe = e.mayaWithdrawalGatewaySettings) == null ? void 0 : pe.mobileWebEnabled) ?? !1,
3178
3182
  minimumAmount: n((fe = e.mayaWithdrawalGatewaySettings) == null ? void 0 : fe.minimumAmount),
@@ -3191,12 +3195,12 @@ class Ta {
3191
3195
  },
3192
3196
  instapay: {
3193
3197
  androidEnabled: ((Se = e.instapayWithdrawalGatewaySettings) == null ? void 0 : Se.androidEnabled) ?? !1,
3194
- iosEnabled: ((ke = e.instapayWithdrawalGatewaySettings) == null ? void 0 : ke.iosEnabled) ?? !1,
3195
- webEnabled: ((Ce = e.instapayWithdrawalGatewaySettings) == null ? void 0 : Ce.webEnabled) ?? !1,
3198
+ iosEnabled: ((Ce = e.instapayWithdrawalGatewaySettings) == null ? void 0 : Ce.iosEnabled) ?? !1,
3199
+ webEnabled: ((ke = e.instapayWithdrawalGatewaySettings) == null ? void 0 : ke.webEnabled) ?? !1,
3196
3200
  mobileWebEnabled: ((_e = e.instapayWithdrawalGatewaySettings) == null ? void 0 : _e.mobileWebEnabled) ?? !1,
3197
3201
  minimumAmount: n((Te = e.instapayWithdrawalGatewaySettings) == null ? void 0 : Te.minimumAmount),
3198
3202
  maximumAmount: n(
3199
- (Me = e.instapayWithdrawalGatewaySettings) == null ? void 0 : Me.maximumAmount,
3203
+ (De = e.instapayWithdrawalGatewaySettings) == null ? void 0 : De.maximumAmount,
3200
3204
  1e6
3201
3205
  )
3202
3206
  }
@@ -3532,7 +3536,9 @@ class Ta {
3532
3536
  message(e) {
3533
3537
  return {
3534
3538
  id: e.id,
3539
+ icon: e.icon,
3535
3540
  logo: e.logo,
3541
+ image: e.image,
3536
3542
  title: e.title,
3537
3543
  popup: e.popup,
3538
3544
  content: e.content,
@@ -3545,14 +3551,49 @@ class Ta {
3545
3551
  return e;
3546
3552
  }
3547
3553
  promoByCode(e) {
3548
- const { banner: t, ...a } = e;
3549
3554
  return {
3550
- ...a,
3551
- banner: t ? this.file(t) : null
3555
+ activeBonusesCount: e.activeBonusesCount,
3556
+ bonusesCount: e.bonusesCount,
3557
+ cancelledBonusesCount: e.cancelledBonusesCount,
3558
+ clearedBonusesCount: e.clearedBonusesCount,
3559
+ closedBonusesCount: e.closedBonusesCount,
3560
+ closedBonusesCountPercentage: n(e.closedBonusesCountPercentage, 0),
3561
+ code: e.code,
3562
+ daysToClear: e.daysToClear,
3563
+ enabledGameProviders: e.enabledGameProviders,
3564
+ id: e.id,
3565
+ expiredBonusesCount: e.expiredBonusesCount,
3566
+ maximumBonusesCountLimit: e.maximumBonusesCountLimit,
3567
+ name: e.name,
3568
+ status: e.status,
3569
+ totalBet: n(e.totalBet, 0),
3570
+ totalBonus: n(e.totalBonus, 0),
3571
+ totalBonusBalance: n(e.totalBonusBalance, 0),
3572
+ totalBonusCashedOut: n(e.totalBonusCashedOut, 0),
3573
+ totalDeposit: n(e.totalDeposit, 0),
3574
+ turnoverRequirementMultiplier: n(e.turnoverRequirementMultiplier, 0),
3575
+ type: e.type,
3576
+ zeroedOutBonusesCount: e.zeroedOutBonusesCount,
3577
+ zeroOutThreshold: n(e.zeroOutThreshold, 0),
3578
+ bonusAmount: n(e.bonusAmount, 0),
3579
+ description: e.description,
3580
+ turnoverRequirementType: e.turnoverRequirementType,
3581
+ activationEndDateTime: e.activationEndDateTime ? new Date(e.activationEndDateTime) : void 0,
3582
+ activationStartDateTime: e.activationStartDateTime ? new Date(e.activationStartDateTime) : void 0,
3583
+ dateTimeClosed: e.dateTimeClosed ? new Date(e.dateTimeClosed) : void 0,
3584
+ dateTimeLastUpdated: new Date(e.dateTimeLastUpdated),
3585
+ dateTimeCreated: new Date(e.dateTimeCreated),
3586
+ turnoverRequirementContributionPercentagePerGameProvider: Object.entries(
3587
+ e.turnoverRequirementContributionPercentagePerGameProvider
3588
+ ).reduce((t, [a, r]) => (t[a] = n(r, 0), t), {}),
3589
+ minimumTicketOddFactorPerSportsGameProvider: Object.entries(
3590
+ e.minimumTicketOddFactorPerSportsGameProvider
3591
+ ).reduce((t, [a, r]) => (t[a] = n(r, 0), t), {}),
3592
+ banner: e.banner
3552
3593
  };
3553
3594
  }
3554
3595
  }
3555
- class Da {
3596
+ class Ma {
3556
3597
  constructor(e) {
3557
3598
  c(this, "cmsPortalService");
3558
3599
  c(this, "authService");
@@ -3574,12 +3615,12 @@ class Da {
3574
3615
  platform: r,
3575
3616
  environment: s,
3576
3617
  logs: m
3577
- } = e, d = s === "production";
3578
- this.transformer = new Ta(), this.logger = new qe({
3618
+ } = e, u = s === "production";
3619
+ this.transformer = new Ta(), this.logger = new $e({
3579
3620
  enabled: m ?? !1
3580
3621
  });
3581
- const l = d ? "https://auth.opexa.io" : "https://auth.development.opexa.io", f = d ? "https://wallet.opexa.io/graphql" : "https://wallet.development.opexa.io/graphql", w = d ? "https://report.opexa.io/graphql" : "https://report.development.opexa.io/graphql", p = d ? "https://account.opexa.io/graphql" : "https://account.development.opexa.io/graphql", k = d ? "https://portal.opexa.io/graphql" : "https://portal.development.opexa.io/graphql", C = d ? "https://file.opexa.io/graphql" : "https://file.development.opexa.io/graphql", _ = d ? "https://game.opexa.io/graphql" : "https://game.development.opexa.io/graphql", T = d ? "https://trigger.opexa.io/graphql" : "https://trigger.development.opexa.io/graphql", M = "https://portal-api.opexacms.io/v1", R = new ua({
3582
- url: M,
3622
+ const l = u ? "https://auth.opexa.io" : "https://auth.development.opexa.io", f = u ? "https://wallet.opexa.io/graphql" : "https://wallet.development.opexa.io/graphql", w = u ? "https://report.opexa.io/graphql" : "https://report.development.opexa.io/graphql", p = u ? "https://account.opexa.io/graphql" : "https://account.development.opexa.io/graphql", C = u ? "https://portal.opexa.io/graphql" : "https://portal.development.opexa.io/graphql", k = u ? "https://file.opexa.io/graphql" : "https://file.development.opexa.io/graphql", _ = u ? "https://game.opexa.io/graphql" : "https://game.development.opexa.io/graphql", T = u ? "https://trigger.opexa.io/graphql" : "https://trigger.development.opexa.io/graphql", D = "https://portal-api.opexacms.io/v1", R = new da({
3623
+ url: D,
3583
3624
  site: t,
3584
3625
  platform: a
3585
3626
  }), h = {
@@ -3590,15 +3631,15 @@ class Da {
3590
3631
  "Platform-Code": r
3591
3632
  }
3592
3633
  }
3593
- }, D = new pa(new Q(_, h)), N = new la(new Q(C, h)), A = new ha(new Q(f, h)), I = new da(new Q(p, h)), v = new wa(new Q(w, h)), G = new fa(new Q(k, h)), P = new ya(new Q(T, h)), S = new ca({
3634
+ }, M = new pa(new Q(_, h)), N = new la(new Q(k, h)), A = new ha(new Q(f, h)), v = new ua(new Q(p, h)), I = new wa(new Q(w, h)), G = new fa(new Q(C, h)), P = new ya(new Q(T, h)), S = new ca({
3594
3635
  url: l,
3595
3636
  platform: r
3596
- }), O = new _a({
3637
+ }), B = new _a({
3597
3638
  logs: m,
3598
3639
  authService: S,
3599
3640
  walletService: A
3600
3641
  });
3601
- this.authService = S, this.gameService = D, this.fileService = N, this.walletService = A, this.accountService = I, this.reportService = v, this.portalService = G, this.triggerService = P, this.sessionManager = O, this.cmsPortalService = R, this.cache = new ga();
3642
+ this.authService = S, this.gameService = M, this.fileService = N, this.walletService = A, this.accountService = v, this.reportService = I, this.portalService = G, this.triggerService = P, this.sessionManager = B, this.cmsPortalService = R, this.cache = new ga();
3602
3643
  }
3603
3644
  get authMiddleware() {
3604
3645
  return async (e) => {
@@ -3646,7 +3687,7 @@ class Da {
3646
3687
  case "MOBILE_NUMBER": {
3647
3688
  const t = await this.sessionManager.create({
3648
3689
  type: "MOBILE_NUMBER",
3649
- mobileNumber: W(e.mobileNumber, await this.locale),
3690
+ mobileNumber: O(e.mobileNumber, await this.locale),
3650
3691
  verificationCode: e.verificationCode,
3651
3692
  reCAPTCHAResponse: e.reCAPTCHAResponse
3652
3693
  });
@@ -3765,7 +3806,7 @@ class Da {
3765
3806
  domain: e.domain,
3766
3807
  birthDay: typeof e.dateOfBirth == "string" ? e.dateOfBirth : this.formatYmd(e.dateOfBirth),
3767
3808
  password: await g(e.password),
3768
- mobileNumber: W(e.mobileNumber, await this.locale)
3809
+ mobileNumber: O(e.mobileNumber, await this.locale)
3769
3810
  },
3770
3811
  referralCode: e.referralCode,
3771
3812
  verificationCode: e.verificationCode,
@@ -3781,7 +3822,7 @@ class Da {
3781
3822
  id: t,
3782
3823
  btag: e.btag,
3783
3824
  domain: e.domain,
3784
- mobileNumber: W(e.mobileNumber, await this.locale)
3825
+ mobileNumber: O(e.mobileNumber, await this.locale)
3785
3826
  },
3786
3827
  referralCode: e.referralCode,
3787
3828
  verificationCode: e.verificationCode,
@@ -3796,7 +3837,7 @@ class Da {
3796
3837
  btag: e.btag,
3797
3838
  domain: e.domain,
3798
3839
  password: await g(e.password),
3799
- mobileNumber: e.mobileNumber ? W(e.mobileNumber, await this.locale) : void 0
3840
+ mobileNumber: e.mobileNumber ? O(e.mobileNumber, await this.locale) : void 0
3800
3841
  },
3801
3842
  reCAPTCHAResponse: e.reCAPTCHAResponse
3802
3843
  });
@@ -3818,7 +3859,7 @@ class Da {
3818
3859
  dateOfBirth: r,
3819
3860
  mobileNumber: s,
3820
3861
  secretAnswer: m,
3821
- transactionPassword: d,
3862
+ transactionPassword: u,
3822
3863
  ...l
3823
3864
  } = t;
3824
3865
  return await this.accountService.updateMemberAccount({
@@ -3827,8 +3868,8 @@ class Da {
3827
3868
  data: {
3828
3869
  ...l,
3829
3870
  password: a ? await g(a) : void 0,
3830
- transactionPassword: d ? await g(d) : void 0,
3831
- mobileNumber: s ? W(s, await this.locale) : void 0,
3871
+ transactionPassword: u ? await g(u) : void 0,
3872
+ mobileNumber: s ? O(s, await this.locale) : void 0,
3832
3873
  secretAnswer: m ? await g(m) : void 0,
3833
3874
  birthDay: r ? typeof r == "string" ? r : this.formatYmd(r) : void 0
3834
3875
  }
@@ -3871,7 +3912,7 @@ class Da {
3871
3912
  async resetPassword(e) {
3872
3913
  return await this.accountService.resetPassword({
3873
3914
  input: {
3874
- mobileNumber: W(e.mobileNumber, await this.locale),
3915
+ mobileNumber: O(e.mobileNumber, await this.locale),
3875
3916
  newPassword: await g(e.newPassword)
3876
3917
  },
3877
3918
  verificationCode: e.verificationCode
@@ -3898,7 +3939,7 @@ class Da {
3898
3939
  return await this.accountService.sendVerificationCode({
3899
3940
  input: {
3900
3941
  channel: "SMS",
3901
- recipient: W(e, await this.locale)
3942
+ recipient: O(e, await this.locale)
3902
3943
  }
3903
3944
  });
3904
3945
  }
@@ -3906,7 +3947,7 @@ class Da {
3906
3947
  if (e.type === "SMS")
3907
3948
  return this.authService.sendVerificationCode({
3908
3949
  channel: "SMS",
3909
- recipient: W(e.mobileNumber, await this.locale),
3950
+ recipient: O(e.mobileNumber, await this.locale),
3910
3951
  ...e.strict && {
3911
3952
  verificationType: "MEMBER"
3912
3953
  }
@@ -3971,7 +4012,7 @@ class Da {
3971
4012
  id: t,
3972
4013
  amount: e.amount.toString(),
3973
4014
  transactionPassword: await g(e.transactionPassword),
3974
- recipientMobileNumber: W(e.recipientMobileNumber, await this.locale)
4015
+ recipientMobileNumber: O(e.recipientMobileNumber, await this.locale)
3975
4016
  }
3976
4017
  });
3977
4018
  if (!a.ok) return a;
@@ -3982,7 +4023,7 @@ class Da {
3982
4023
  id: t,
3983
4024
  amount: e.amount.toString(),
3984
4025
  transactionPassword: await g(e.transactionPassword),
3985
- recipientMobileNumber: W(e.recipientMobileNumber, await this.locale)
4026
+ recipientMobileNumber: O(e.recipientMobileNumber, await this.locale)
3986
4027
  }
3987
4028
  });
3988
4029
  if (!a.ok) return a;
@@ -4175,11 +4216,11 @@ class Da {
4175
4216
  data: {
4176
4217
  betRecords: t.data.edges.map(({ cursor: s, node: m }) => {
4177
4218
  var l;
4178
- const d = (l = r.data.edges.find((f) => m.game.id === f.node.reference)) == null ? void 0 : l.node;
4219
+ const u = (l = r.data.edges.find((f) => m.game.id === f.node.reference)) == null ? void 0 : l.node;
4179
4220
  return {
4180
4221
  ...this.transformer.transform.betRecord({
4181
4222
  ...m,
4182
- game: d
4223
+ game: u
4183
4224
  }),
4184
4225
  cursor: s
4185
4226
  };
@@ -4210,7 +4251,7 @@ class Da {
4210
4251
  ok: !0,
4211
4252
  data: e.data.map((r) => {
4212
4253
  var m;
4213
- const s = (m = a.data.edges.find((d) => d.node.reference === r.game.id)) == null ? void 0 : m.node;
4254
+ const s = (m = a.data.edges.find((u) => u.node.reference === r.game.id)) == null ? void 0 : m.node;
4214
4255
  return this.transformer.transform.latestBetRecord({
4215
4256
  ...r,
4216
4257
  game: s
@@ -4608,8 +4649,8 @@ class Da {
4608
4649
  }
4609
4650
  }
4610
4651
  export {
4611
- va as ObjectId,
4652
+ Ia as ObjectId,
4612
4653
  Y as ObjectType,
4613
- Da as Sdk
4654
+ Ma as Sdk
4614
4655
  };
4615
4656
  //# sourceMappingURL=index.mjs.map