@everymatrix/player-account-controller 1.70.1 → 1.71.1

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 (161) hide show
  1. package/components/{GeneralLogout-CYE3twI-.js → GeneralLogout-B0VQOyp8.js} +913 -934
  2. package/components/GeneralLogout-CwfC_imT.cjs +21 -0
  3. package/components/{GeneralLogout-CgxHUYZx.js → GeneralLogout-DRrs7YUm.js} +853 -874
  4. package/components/PlayerAccountBettingHistory-CbA15BLO.cjs +1 -0
  5. package/components/PlayerAccountBettingHistory-DGi2VOi2.js +329 -0
  6. package/components/PlayerAccountBettingHistory-DvdfSyU5.js +328 -0
  7. package/components/{PlayerAccountBiometrics-DrmVF6dX.js → PlayerAccountBiometrics-989PbzNq.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-BYO39i9p.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-CCk_4MyI.js → PlayerAccountBiometrics-BbEIrHI6.js} +22 -22
  10. package/components/{PlayerAccountClosure-B_xwOPds.js → PlayerAccountClosure-BBFEOrul.js} +17 -17
  11. package/components/{PlayerAccountClosure-UwL_V2IO.js → PlayerAccountClosure-BUzQEnPq.js} +17 -17
  12. package/components/{PlayerAccountClosure-DoZ91aH2.cjs → PlayerAccountClosure-DC11KouS.cjs} +1 -1
  13. package/components/{PlayerAccountController-DHLtX3XO.js → PlayerAccountController-BBY1eza_.js} +659 -625
  14. package/components/{PlayerAccountController-CMyW_1-T.cjs → PlayerAccountController-BO2-8qzx.cjs} +1 -1
  15. package/components/{PlayerAccountController-BXYtygsP.js → PlayerAccountController-BTxJpu4C.js} +661 -627
  16. package/components/{PlayerAccountGamingLimits-C11On8aq.js → PlayerAccountGamingLimits-Bk0EXznK.js} +127 -127
  17. package/components/{PlayerAccountGamingLimits-B0QALjVi.js → PlayerAccountGamingLimits-CBpMsM8Z.js} +127 -127
  18. package/components/{PlayerAccountGamingLimits-BIXEO8qU.cjs → PlayerAccountGamingLimits-DD_Xvlpx.cjs} +1 -1
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-57Q5qtf8.js → PlayerAccountGamingLimitsConfirmationModal-5YMmAQlc.js} +30 -30
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs → PlayerAccountGamingLimitsConfirmationModal-B5DdL-Qq.cjs} +1 -1
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-CztJ5DKd.js → PlayerAccountGamingLimitsConfirmationModal-DayIeAhM.js} +30 -30
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-CoayAtf0.js → PlayerAccountGamingLimitsGroupEdit-6QL1n5iL.js} +57 -55
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-C40tSY9Z.js → PlayerAccountGamingLimitsGroupEdit-CmsApDIS.js} +57 -55
  24. package/components/PlayerAccountGamingLimitsGroupEdit-DrD_b8jP.cjs +2 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2-BLK-Rk6N.js → PlayerAccountGamingLimitsHistory2-D088X_TM.js} +48 -48
  26. package/components/{PlayerAccountGamingLimitsHistory2-Br4h7_eS.js → PlayerAccountGamingLimitsHistory2-DWWqB8Fw.js} +46 -46
  27. package/components/{PlayerAccountGamingLimitsHistory2-CreFMkf_.cjs → PlayerAccountGamingLimitsHistory2-_1kGjygb.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-blI001Nx.js → PlayerAccountGamingLimitsInfoCard-CHsxYYfO.js} +83 -83
  29. package/components/{PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs → PlayerAccountGamingLimitsInfoCard-CV-3DIxV.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsInfoCard-D5Vpi7Gd.js → PlayerAccountGamingLimitsInfoCard-DS6v29qm.js} +83 -83
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-BAQqtUjc.js → PlayerAccountGamingLimitsPage2Gm16-BJDhlpPC.js} +131 -131
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-Cov3S01u.js → PlayerAccountGamingLimitsPage2Gm16-C0Dx6InH.js} +127 -127
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-Dpo-wqo-.cjs → PlayerAccountGamingLimitsPage2Gm16-vX1K2yKK.cjs} +1 -1
  34. package/components/{PlayerAccountGamingLimitsPopup-DTb6cpuT.js → PlayerAccountGamingLimitsPopup-DeOWwk-L.js} +42 -42
  35. package/components/{PlayerAccountGamingLimitsPopup-Dz9ROowj.js → PlayerAccountGamingLimitsPopup-Dox89ALX.js} +42 -42
  36. package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-DySvpnhJ.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsWrapper2-CeTGUdpp.js → PlayerAccountGamingLimitsWrapper2-BWD0TwHO.js} +36 -36
  38. package/components/{PlayerAccountGamingLimitsWrapper2-LAdy0FnH.js → PlayerAccountGamingLimitsWrapper2-BZO3-swb.js} +36 -36
  39. package/components/{PlayerAccountGamingLimitsWrapper2-B0QUbGaJ.cjs → PlayerAccountGamingLimitsWrapper2-OQlLWMOB.cjs} +1 -1
  40. package/components/{PlayerAccountGeneralConfirmationModal-DbBEBukz.js → PlayerAccountGeneralConfirmationModal-D_4csutn.js} +32 -32
  41. package/components/{PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs → PlayerAccountGeneralConfirmationModal-DjEvyfLy.cjs} +1 -1
  42. package/components/{PlayerAccountGeneralConfirmationModal-DzZ3ym_J.js → PlayerAccountGeneralConfirmationModal-v2SilW7s.js} +32 -32
  43. package/components/{PlayerAccountMenu-T7u8nYfI.js → PlayerAccountMenu-Bqz0aTF9.js} +32 -32
  44. package/components/{PlayerAccountMenu-_Qnpkznr.js → PlayerAccountMenu-DfZ0KdMV.js} +29 -29
  45. package/components/{PlayerAccountMenu-_Le7yvP5.cjs → PlayerAccountMenu-fW4OjslX.cjs} +1 -1
  46. package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal--0zxODF3.cjs} +1 -1
  47. package/components/{PlayerAccountModal-Cbpkb5P6.js → PlayerAccountModal-BMB4P21h.js} +42 -42
  48. package/components/{PlayerAccountModal-Co5a_OZZ.js → PlayerAccountModal-qMBtzz8T.js} +42 -42
  49. package/components/{PlayerAccountNotifications-B0Nsdovh.js → PlayerAccountNotifications-DEokeaby.js} +120 -120
  50. package/components/{PlayerAccountNotifications-aQgcZXcD.cjs → PlayerAccountNotifications-DL6whSl1.cjs} +1 -1
  51. package/components/{PlayerAccountNotifications-BeabE333.js → PlayerAccountNotifications-dsfZhiiz.js} +35 -35
  52. package/components/{PlayerAccountProductRestriction-BLkXP0pX.js → PlayerAccountProductRestriction-CUMqaF1v.js} +2314 -2312
  53. package/components/{PlayerAccountProductRestriction-4IgUKLLe.js → PlayerAccountProductRestriction-CWVVSi8x.js} +2328 -2326
  54. package/components/{PlayerAccountProductRestriction-BiiJjJv1.cjs → PlayerAccountProductRestriction-CoLHLqmO.cjs} +233 -233
  55. package/components/{PlayerAccountSelfExclusion-C65zyQu1.js → PlayerAccountSelfExclusion-DGkPy7y6.js} +540 -537
  56. package/components/{PlayerAccountSelfExclusion-CJHCaxBb.js → PlayerAccountSelfExclusion-tq30Qh8A.js} +139 -136
  57. package/components/{PlayerAccountSelfExclusion-BgMjbGLs.cjs → PlayerAccountSelfExclusion-yOxYX2u7.cjs} +75 -75
  58. package/components/PlayerAccountTimeout-B0Cq943z.cjs +1 -0
  59. package/components/{PlayerAccountTimeout-DUBkD9d2.js → PlayerAccountTimeout-D1MDOMKP.js} +122 -122
  60. package/components/{PlayerAccountTimeout-npDnQAdR.js → PlayerAccountTimeout-D54zlI59.js} +122 -122
  61. package/components/{PlayerAccountTransactionsHistory-D5v-reW0.js → PlayerAccountTransactionsHistory-BH0sftnp.js} +59 -59
  62. package/components/{PlayerAccountTransactionsHistory-BQH631zi.cjs → PlayerAccountTransactionsHistory-DML86Ru-.cjs} +1 -1
  63. package/components/{PlayerAccountTransactionsHistory-DnLoeUPl.js → PlayerAccountTransactionsHistory-Dcpjukrx.js} +59 -59
  64. package/components/{PlayerActiveBonuses-CaQNGq0m.js → PlayerActiveBonuses-A_DTddPa.js} +55 -55
  65. package/components/{PlayerActiveBonuses-DX872Zcz.js → PlayerActiveBonuses-B-c41WnQ.js} +48 -48
  66. package/components/{PlayerActiveBonuses-Dpef1XJD.cjs → PlayerActiveBonuses-dQOuytPa.cjs} +1 -1
  67. package/components/{PlayerBonusCard-Cu5bJlh_.js → PlayerBonusCard-BOGjlIcY.js} +81 -81
  68. package/components/{PlayerBonusCard-7dIqFpfg.cjs → PlayerBonusCard-BZXqOzco.cjs} +1 -1
  69. package/components/{PlayerBonusCard-ZY8S04oT.js → PlayerBonusCard-MaVyRkKh.js} +81 -81
  70. package/components/{PlayerBonusHistory-DqsmaMeU.js → PlayerBonusHistory-BVzfQOF4.js} +33 -33
  71. package/components/{PlayerBonusHistory-ppwY60rv.cjs → PlayerBonusHistory-CmOldup0.cjs} +1 -1
  72. package/components/{PlayerBonusHistory-BOE5Bgah.js → PlayerBonusHistory-jZkPl5bD.js} +33 -33
  73. package/components/{PlayerChangePassword-LgjKzYU1.cjs → PlayerChangePassword-CG0yyj8N.cjs} +1 -1
  74. package/components/{PlayerChangePassword-ChwKfBC6.js → PlayerChangePassword-D2Cjc71i.js} +66 -66
  75. package/components/{PlayerChangePassword-C2ZoKuCq.js → PlayerChangePassword-r4m8kv9p.js} +66 -66
  76. package/components/{PlayerDeposit-VLcz0tQH.js → PlayerDeposit-BzJtaOjD.js} +80 -80
  77. package/components/{PlayerDeposit-BPZ5wCAZ.js → PlayerDeposit-ORwoEnPn.js} +80 -80
  78. package/components/PlayerDeposit-XDLH1XV-.cjs +1 -0
  79. package/components/{PlayerGamingHistory-ShE-DHwW.js → PlayerGamingHistory-DGnLixnA.js} +97 -97
  80. package/components/{PlayerGamingHistory-DaYcMM-N.js → PlayerGamingHistory-JHdAKfaf.js} +88 -88
  81. package/components/{PlayerGamingHistory-Hs5LWwEP.cjs → PlayerGamingHistory-SuFKYHl5.cjs} +1 -1
  82. package/components/{PlayerPendingWithdrawals-DeNKdUgJ.js → PlayerPendingWithdrawals-CoPeWe82.js} +26 -26
  83. package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-CrNEhXdS.cjs} +1 -1
  84. package/components/{PlayerPendingWithdrawals-go7okUzL.js → PlayerPendingWithdrawals-DErieGhw.js} +26 -26
  85. package/components/{PlayerProfileInfo-DFw4ourA.cjs → PlayerProfileInfo-Ba0P3Lmq.cjs} +1 -1
  86. package/components/{PlayerProfileInfo-bwbHpI6M.js → PlayerProfileInfo-Bks0ayNb.js} +66 -66
  87. package/components/{PlayerProfileInfo-C8q-cLYa.js → PlayerProfileInfo-uo5Nv4Pa.js} +66 -66
  88. package/components/{PlayerRealityCheck-Dr_ZpTwE.cjs → PlayerRealityCheck-CC8qTWId.cjs} +1 -1
  89. package/components/{PlayerRealityCheck-BGNjgzIq.js → PlayerRealityCheck-CwbP2nPJ.js} +44 -44
  90. package/components/{PlayerRealityCheck-C2w5S2fe.js → PlayerRealityCheck-mdL-U276.js} +43 -43
  91. package/components/{PlayerTransactionHistory-A-aVfyoc.js → PlayerTransactionHistory-BGf7fWPX.js} +19 -19
  92. package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-CPYk3YFO.cjs} +1 -1
  93. package/components/{PlayerTransactionHistory-BFV_XJw9.js → PlayerTransactionHistory-Dz4JXQLP.js} +19 -19
  94. package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-9DnL98EG.cjs} +1 -1
  95. package/components/{PlayerWithdrawal-B_wQZI_t.js → PlayerWithdrawal-C50d3wfA.js} +19 -19
  96. package/components/{PlayerWithdrawal-CTttZqLr.js → PlayerWithdrawal-DVd5ZFGK.js} +19 -19
  97. package/es2015/player-account-controller.cjs +1 -1
  98. package/es2015/player-account-controller.js +1 -1
  99. package/esnext/player-account-controller.js +1 -1
  100. package/package.json +1 -1
  101. package/stencil/{checkbox-group-input_15-DV3L45BU.js → checkbox-group-input_15-COX7DlDn.js} +2292 -2286
  102. package/stencil/{checkbox-group-input_15-CfJ8hwGl.cjs → checkbox-group-input_15-CfJS-1ti.cjs} +239 -239
  103. package/stencil/{checkbox-group-input_15-Nrj9GHCK.js → checkbox-group-input_15-DpaVaugQ.js} +2289 -2283
  104. package/stencil/index-13661b98-BDzather.js +611 -0
  105. package/stencil/index-13661b98-ChlFIQCB.cjs +1 -0
  106. package/stencil/index-13661b98-xRNcnGsM.js +595 -0
  107. package/stencil/index-1ef3a64c-B56pWkNP.js +572 -0
  108. package/stencil/index-1ef3a64c-drXhqjaW.cjs +1 -0
  109. package/stencil/index-1ef3a64c-fwHj5L8t.js +556 -0
  110. package/stencil/index-7c5e707a-CU3H8HVf.js +616 -0
  111. package/stencil/index-7c5e707a-DIWlFBom.js +643 -0
  112. package/stencil/index-7c5e707a-DS22ns-5.cjs +1 -0
  113. package/stencil/index-9c0f6c58-B8OJoZ2G.js +576 -0
  114. package/stencil/index-9c0f6c58-CEOt4FET.cjs +1 -0
  115. package/stencil/{index-9c0f6c58-BB5opCt9.js → index-9c0f6c58-z4XuR4dm.js} +197 -197
  116. package/stencil/index-b2193545-BekNYO1T.js +519 -0
  117. package/stencil/index-b2193545-BteAUmdh.cjs +1 -0
  118. package/stencil/index-b2193545-DfDFpDFs.js +503 -0
  119. package/stencil/{pam-change-password-B5GD5Hl4.js → pam-change-password-CY5-Aktx.js} +1 -1
  120. package/stencil/{pam-change-password-ubzmglA0.cjs → pam-change-password-CgkH4Jiz.cjs} +1 -1
  121. package/stencil/{pam-change-password-DMG1L_LG.js → pam-change-password-DjPvltNj.js} +1 -1
  122. package/stencil/{pam-change-password-f4a1e7e7-CHySnF1q.cjs → pam-change-password-f4a1e7e7-BqDw0WzC.cjs} +1 -1
  123. package/stencil/{pam-change-password-f4a1e7e7-DCoikg7H.js → pam-change-password-f4a1e7e7-CfFEjP0U.js} +1 -1
  124. package/stencil/{pam-change-password-f4a1e7e7-C1ItXOg5.js → pam-change-password-f4a1e7e7-G-vVNocT.js} +1 -1
  125. package/stencil/{player-kyc-verification-DYcPWwfi.cjs → player-kyc-verification-BEPum-yT.cjs} +1 -1
  126. package/stencil/{player-kyc-verification-CMAkNiAB.js → player-kyc-verification-BbcCYuiR.js} +1 -1
  127. package/stencil/{player-kyc-verification-p2WFnKBp.js → player-kyc-verification-Ca4iu4IA.js} +1 -1
  128. package/stencil/{ui-skeleton-GEqIXVxo.cjs → ui-skeleton-Bez-iF-R.cjs} +1 -1
  129. package/stencil/{ui-skeleton-mkMdvWYI.js → ui-skeleton-CScGJdv_.js} +2 -2
  130. package/stencil/{ui-skeleton-C_FDz0NJ.js → ui-skeleton-CnxOhYAT.js} +2 -2
  131. package/stencil/{ui-skeleton-ae35c6f2-BreM325l.js → ui-skeleton-ae35c6f2-Bl0_r9TX.js} +1 -1
  132. package/stencil/{ui-skeleton-ae35c6f2-e6Wte4qi.js → ui-skeleton-ae35c6f2-CXRVKjq-.js} +1 -1
  133. package/stencil/{ui-skeleton-ae35c6f2-CeNpgiKf.cjs → ui-skeleton-ae35c6f2-D37mmp9J.cjs} +1 -1
  134. package/stencil/{user-deposit-withdrawal-BjmaGgRK.js → user-deposit-withdrawal-B8kjiJ18.js} +1 -1
  135. package/stencil/{user-deposit-withdrawal-Du59X_-y.cjs → user-deposit-withdrawal-D2eMp5tL.cjs} +1 -1
  136. package/stencil/{user-deposit-withdrawal-D6SDVw3h.js → user-deposit-withdrawal-DZhlyIWQ.js} +1 -1
  137. package/stencil/user-transaction-history-3DGGL9dd.cjs +1 -0
  138. package/stencil/{user-transaction-history-7_yFZr3w.js → user-transaction-history-B1ZWITFg.js} +3 -1
  139. package/stencil/{user-transaction-history-Dpd_aKdj.js → user-transaction-history-lKr2wNoI.js} +3 -1
  140. package/components/GeneralLogout-Dzu2Sl-x.cjs +0 -21
  141. package/components/PlayerAccountBettingHistory-B0IsJ01N.js +0 -328
  142. package/components/PlayerAccountBettingHistory-BXBMy618.js +0 -329
  143. package/components/PlayerAccountBettingHistory-BtDZukYI.cjs +0 -1
  144. package/components/PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs +0 -2
  145. package/components/PlayerAccountTimeout-4Aa1s5jR.cjs +0 -1
  146. package/components/PlayerDeposit-Dzg8Ltb1.cjs +0 -1
  147. package/stencil/index-13661b98-BCPnsSSE.js +0 -611
  148. package/stencil/index-13661b98-BUI3AeLv.cjs +0 -1
  149. package/stencil/index-13661b98-DffousLf.js +0 -595
  150. package/stencil/index-1ef3a64c-B5I86vac.js +0 -572
  151. package/stencil/index-1ef3a64c-DqUPq8OL.js +0 -556
  152. package/stencil/index-1ef3a64c-uiTzpR-U.cjs +0 -1
  153. package/stencil/index-7c5e707a-2AC9SnQ7.js +0 -616
  154. package/stencil/index-7c5e707a-BM4sfR0h.js +0 -643
  155. package/stencil/index-7c5e707a-Cw-c3Bke.cjs +0 -1
  156. package/stencil/index-9c0f6c58-DmOKHEVq.cjs +0 -1
  157. package/stencil/index-9c0f6c58-bxjYqwOi.js +0 -576
  158. package/stencil/index-b2193545-DQUvHUpa.cjs +0 -1
  159. package/stencil/index-b2193545-DoYU_tL8.js +0 -503
  160. package/stencil/index-b2193545-_I2wisuY.js +0 -519
  161. package/stencil/user-transaction-history-DZZT2rYX.cjs +0 -1
@@ -1,519 +0,0 @@
1
- var x = (e, t, s) => new Promise((r, n) => {
2
- var a = (i) => {
3
- try {
4
- o(s.next(i));
5
- } catch ($) {
6
- n($);
7
- }
8
- }, l = (i) => {
9
- try {
10
- o(s.throw(i));
11
- } catch ($) {
12
- n($);
13
- }
14
- }, o = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(a, l);
15
- o((s = s.apply(e, t)).next());
16
- });
17
- const oe = "ui-skeleton", $e = (
18
- /* ui-skeleton */
19
- { hydratedSelectorName: "hydrated" }
20
- );
21
- var ce = Object.defineProperty, ue = (e, t) => {
22
- for (var s in t)
23
- ce(e, s, { get: t[s], enumerable: !0 });
24
- }, U = /* @__PURE__ */ new WeakMap(), b = (e) => U.get(e), Qe = (e, t) => U.set(t.$lazyInstance$ = e, t), fe = (e, t) => {
25
- const s = {
26
- $flags$: 0,
27
- $hostElement$: e,
28
- $cmpMeta$: t,
29
- $instanceValues$: /* @__PURE__ */ new Map()
30
- };
31
- return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], U.set(e, s);
32
- }, E = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), de = (e, t, s) => {
33
- const r = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
34
- if (!n)
35
- return;
36
- const a = O.get(n);
37
- if (a)
38
- return a[r];
39
- {
40
- const l = (o) => (O.set(n, o), o[r]);
41
- switch (n) {
42
- case "ui-skeleton":
43
- return import(
44
- /* webpackMode: "lazy" */
45
- "./ui-skeleton-C_FDz0NJ.js"
46
- ).then(l, E);
47
- }
48
- }
49
- return import(
50
- /* @vite-ignore */
51
- /* webpackInclude: /\.entry\.js$/ */
52
- /* webpackExclude: /\.system\.entry\.js$/ */
53
- /* webpackMode: "lazy" */
54
- `./${n}.entry.js`
55
- ).then((l) => (O.set(n, l), l[r]), E);
56
- }, _ = /* @__PURE__ */ new Map(), me = "{visibility:hidden}.hydrated{visibility:inherit}", J = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window != "undefined" ? window : {}, y = B.document || { head: {} }, g = {
57
- $flags$: 0,
58
- $resourcesUrl$: "",
59
- jmp: (e) => e(),
60
- raf: (e) => requestAnimationFrame(e),
61
- ael: (e, t, s, r) => e.addEventListener(t, s, r),
62
- rel: (e, t, s, r) => e.removeEventListener(t, s, r),
63
- ce: (e, t) => new CustomEvent(e, t)
64
- }, ve = (e) => Promise.resolve(e), ge = /* @__PURE__ */ (() => {
65
- try {
66
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
67
- } catch (e) {
68
- }
69
- return !1;
70
- })(), A = !1, C = [], K = [], he = (e, t) => (s) => {
71
- e.push(s), A || (A = !0, g.$flags$ & 4 ? z(H) : g.raf(H));
72
- }, D = (e) => {
73
- for (let t = 0; t < e.length; t++)
74
- try {
75
- e[t](performance.now());
76
- } catch (s) {
77
- E(s);
78
- }
79
- e.length = 0;
80
- }, H = () => {
81
- D(C), D(K), (A = C.length > 0) && g.raf(H);
82
- }, z = (e) => ve().then(e), pe = /* @__PURE__ */ he(K), F = {}, Q = (e) => (e = typeof e, e === "object" || e === "function");
83
- function X(e) {
84
- var t, s, r;
85
- return (r = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? r : void 0;
86
- }
87
- var ye = {};
88
- ue(ye, {
89
- err: () => Z,
90
- map: () => Se,
91
- ok: () => I,
92
- unwrap: () => be,
93
- unwrapErr: () => ke
94
- });
95
- var I = (e) => ({
96
- isOk: !0,
97
- isErr: !1,
98
- value: e
99
- }), Z = (e) => ({
100
- isOk: !1,
101
- isErr: !0,
102
- value: e
103
- });
104
- function Se(e, t) {
105
- if (e.isOk) {
106
- const s = t(e.value);
107
- return s instanceof Promise ? s.then((r) => I(r)) : I(s);
108
- }
109
- if (e.isErr) {
110
- const s = e.value;
111
- return Z(s);
112
- }
113
- throw "should never get here";
114
- }
115
- var be = (e) => {
116
- if (e.isOk)
117
- return e.value;
118
- throw e.value;
119
- }, ke = (e) => {
120
- if (e.isErr)
121
- return e.value;
122
- throw e.value;
123
- }, S = (e, t = "") => () => {
124
- }, Ee = (e, t) => () => {
125
- }, we = (e, t, ...s) => {
126
- let r = null, n = null, a = !1, l = !1;
127
- const o = [], i = (c) => {
128
- for (let u = 0; u < c.length; u++)
129
- r = c[u], Array.isArray(r) ? i(r) : r != null && typeof r != "boolean" && ((a = typeof e != "function" && !Q(r)) && (r = String(r)), a && l ? o[o.length - 1].$text$ += r : o.push(a ? N(null, r) : r), l = a);
130
- };
131
- if (i(s), t) {
132
- t.key && (n = t.key);
133
- {
134
- const c = t.className || t.class;
135
- c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((u) => c[u]).join(" "));
136
- }
137
- }
138
- const $ = N(e, null);
139
- return $.$attrs$ = t, o.length > 0 && ($.$children$ = o), $.$key$ = n, $;
140
- }, N = (e, t) => {
141
- const s = {
142
- $flags$: 0,
143
- $tag$: e,
144
- $text$: t,
145
- $elm$: null,
146
- $children$: null
147
- };
148
- return s.$attrs$ = null, s.$key$ = null, s;
149
- }, xe = {}, Pe = (e) => e && e.$tag$ === xe, Te = (e, t) => e != null && !Q(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, _e = (e, t, s) => {
150
- const r = g.ce(t, s);
151
- return e.dispatchEvent(r), r;
152
- }, M = /* @__PURE__ */ new WeakMap(), je = (e, t, s) => {
153
- let r = _.get(e);
154
- ge && s ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, _.set(e, r);
155
- }, Le = (e, t, s) => {
156
- var r;
157
- const n = R(t), a = _.get(n);
158
- if (e = e.nodeType === 11 ? e : y, a)
159
- if (typeof a == "string") {
160
- e = e.head || e;
161
- let l = M.get(e), o;
162
- if (l || M.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
163
- {
164
- o = y.createElement("style"), o.innerHTML = a;
165
- const i = (r = g.$nonce$) != null ? r : X(y);
166
- i != null && o.setAttribute("nonce", i), e.insertBefore(o, e.querySelector("link"));
167
- }
168
- t.$flags$ & 4 && (o.innerHTML += J), l && l.add(n);
169
- }
170
- } else
171
- e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
172
- return n;
173
- }, Oe = (e) => {
174
- const t = e.$cmpMeta$, s = e.$hostElement$, r = S("attachStyles", t.$tagName$);
175
- Le(
176
- s.getRootNode(),
177
- t
178
- ), r();
179
- }, R = (e, t) => "sc-" + e.$tagName$, W = (e, t, s, r, n, a) => {
180
- if (s !== r && (t.toLowerCase(), t === "class")) {
181
- const l = e.classList, o = Y(s), i = Y(r);
182
- l.remove(...o.filter(($) => $ && !i.includes($))), l.add(...i.filter(($) => $ && !o.includes($)));
183
- }
184
- }, Ae = /\s/, Y = (e) => e ? e.split(Ae) : [], V = (e, t, s) => {
185
- const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || F, a = t.$attrs$ || F;
186
- for (const l of G(Object.keys(n)))
187
- l in a || W(r, l, n[l], void 0);
188
- for (const l of G(Object.keys(a)))
189
- W(r, l, n[l], a[l]);
190
- };
191
- function G(e) {
192
- return e.includes("ref") ? (
193
- // we need to sort these to ensure that `'ref'` is the last attr
194
- [...e.filter((t) => t !== "ref"), "ref"]
195
- ) : (
196
- // no need to sort, return the original array
197
- e
198
- );
199
- }
200
- var ee, j = (e, t, s, r) => {
201
- const n = t.$children$[s];
202
- let a = 0, l, o;
203
- if (n.$text$ !== null)
204
- l = n.$elm$ = y.createTextNode(n.$text$);
205
- else if (l = n.$elm$ = y.createElement(
206
- n.$tag$
207
- ), V(null, n), n.$children$)
208
- for (a = 0; a < n.$children$.length; ++a)
209
- o = j(e, n, a), o && l.appendChild(o);
210
- return l["s-hn"] = ee, l;
211
- }, te = (e, t, s, r, n, a) => {
212
- let l = e, o;
213
- for (; n <= a; ++n)
214
- r[n] && (o = j(null, s, n), o && (r[n].$elm$ = o, T(l, o, t)));
215
- }, ne = (e, t, s) => {
216
- for (let r = t; r <= s; ++r) {
217
- const n = e[r];
218
- if (n) {
219
- const a = n.$elm$;
220
- a && a.remove();
221
- }
222
- }
223
- }, He = (e, t, s, r, n = !1) => {
224
- let a = 0, l = 0, o = 0, i = 0, $ = t.length - 1, c = t[0], u = t[$], f = r.length - 1, d = r[0], m = r[f], v, h;
225
- for (; a <= $ && l <= f; )
226
- if (c == null)
227
- c = t[++a];
228
- else if (u == null)
229
- u = t[--$];
230
- else if (d == null)
231
- d = r[++l];
232
- else if (m == null)
233
- m = r[--f];
234
- else if (P(c, d, n))
235
- k(c, d, n), c = t[++a], d = r[++l];
236
- else if (P(u, m, n))
237
- k(u, m, n), u = t[--$], m = r[--f];
238
- else if (P(c, m, n))
239
- k(c, m, n), T(e, c.$elm$, u.$elm$.nextSibling), c = t[++a], m = r[--f];
240
- else if (P(u, d, n))
241
- k(u, d, n), T(e, u.$elm$, c.$elm$), u = t[--$], d = r[++l];
242
- else {
243
- for (o = -1, i = a; i <= $; ++i)
244
- if (t[i] && t[i].$key$ !== null && t[i].$key$ === d.$key$) {
245
- o = i;
246
- break;
247
- }
248
- o >= 0 ? (h = t[o], h.$tag$ !== d.$tag$ ? v = j(t && t[l], s, o) : (k(h, d, n), t[o] = void 0, v = h.$elm$), d = r[++l]) : (v = j(t && t[l], s, l), d = r[++l]), v && T(c.$elm$.parentNode, v, c.$elm$);
249
- }
250
- a > $ ? te(
251
- e,
252
- r[f + 1] == null ? null : r[f + 1].$elm$,
253
- s,
254
- r,
255
- l,
256
- f
257
- ) : l > f && ne(t, a, $);
258
- }, P = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, s = !1) => {
259
- const r = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
260
- l === null ? (V(e, t), n !== null && a !== null ? He(r, n, t, a, s) : a !== null ? (e.$text$ !== null && (r.textContent = ""), te(r, null, t, a, 0, a.length - 1)) : n !== null && ne(n, 0, n.length - 1)) : e.$text$ !== l && (r.data = l);
261
- }, T = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), Ie = (e, t, s = !1) => {
262
- const r = e.$hostElement$, n = e.$vnode$ || N(null, null), a = Pe(t) ? t : we(null, null, t);
263
- if (ee = r.tagName, s && a.$attrs$)
264
- for (const l of Object.keys(a.$attrs$))
265
- r.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = r[l]);
266
- a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = n.$elm$ = r, k(n, a, s);
267
- }, se = (e, t) => {
268
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
269
- }, q = (e, t) => {
270
- if (e.$flags$ |= 16, e.$flags$ & 4) {
271
- e.$flags$ |= 512;
272
- return;
273
- }
274
- return se(e, e.$ancestorComponent$), pe(() => Ne(e, t));
275
- }, Ne = (e, t) => {
276
- const s = e.$hostElement$, r = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
277
- if (!n)
278
- throw new Error(
279
- `Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
280
- );
281
- let a;
282
- return r(), Ue(a, () => ze(e, n, t));
283
- }, Ue = (e, t) => Be(e) ? e.then(t).catch((s) => {
284
- console.error(s), t();
285
- }) : t(), Be = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", ze = (e, t, s) => x(void 0, null, function* () {
286
- var r;
287
- const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
288
- s && Oe(e);
289
- const o = S("render", e.$cmpMeta$.$tagName$);
290
- qe(e, t, n, s), l && (l.map((i) => i()), n["s-rc"] = void 0), o(), a();
291
- {
292
- const i = (r = n["s-p"]) != null ? r : [], $ = () => Ce(e);
293
- i.length === 0 ? $() : (Promise.all(i).then($), e.$flags$ |= 4, i.length = 0);
294
- }
295
- }), qe = (e, t, s, r) => {
296
- try {
297
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ie(e, t, r);
298
- } catch (n) {
299
- E(n, e.$hostElement$);
300
- }
301
- return null;
302
- }, Ce = (e) => {
303
- const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, r = S("postUpdate", t), n = e.$ancestorComponent$;
304
- e.$flags$ & 64 ? r() : (e.$flags$ |= 64, le(s), r(), e.$onReadyResolve$(s), n || re()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => q(e, !1)), e.$flags$ &= -517;
305
- }, re = (e) => {
306
- le(y.documentElement), z(() => _e(B, "appload", { detail: { namespace: oe } }));
307
- }, le = (e) => {
308
- var t;
309
- return e.classList.add((t = $e.hydratedSelectorName) != null ? t : "hydrated");
310
- }, De = (e, t) => b(e).$instanceValues$.get(t), Fe = (e, t, s, r) => {
311
- const n = b(e);
312
- if (!n)
313
- throw new Error(
314
- `Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
315
- );
316
- const a = n.$hostElement$, l = n.$instanceValues$.get(t), o = n.$flags$, i = n.$lazyInstance$;
317
- s = Te(s, r.$members$[t][0]);
318
- const $ = Number.isNaN(l) && Number.isNaN(s), c = s !== l && !$;
319
- if ((!(o & 8) || l === void 0) && c && (n.$instanceValues$.set(t, s), i)) {
320
- if (r.$watchers$ && o & 128) {
321
- const u = r.$watchers$[t];
322
- u && u.map((f) => {
323
- try {
324
- i[f](s, l, t);
325
- } catch (d) {
326
- E(d, a);
327
- }
328
- });
329
- }
330
- (o & 18) === 2 && q(n, !1);
331
- }
332
- }, ae = (e, t, s) => {
333
- var r, n;
334
- const a = e.prototype;
335
- if (t.$members$ || t.$watchers$ || e.watchers) {
336
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
337
- const l = Object.entries((r = t.$members$) != null ? r : {});
338
- if (l.map(([o, [i]]) => {
339
- (i & 31 || s & 2 && i & 32) && Object.defineProperty(a, o, {
340
- get() {
341
- return De(this, o);
342
- },
343
- set($) {
344
- Fe(this, o, $, t);
345
- },
346
- configurable: !0,
347
- enumerable: !0
348
- });
349
- }), s & 1) {
350
- const o = /* @__PURE__ */ new Map();
351
- a.attributeChangedCallback = function(i, $, c) {
352
- g.jmp(() => {
353
- var u;
354
- const f = o.get(i);
355
- if (this.hasOwnProperty(f))
356
- c = this[f], delete this[f];
357
- else {
358
- if (a.hasOwnProperty(f) && typeof this[f] == "number" && this[f] == c)
359
- return;
360
- if (f == null) {
361
- const d = b(this), m = d == null ? void 0 : d.$flags$;
362
- if (m && !(m & 8) && m & 128 && c !== $) {
363
- const v = d.$lazyInstance$, h = (u = t.$watchers$) == null ? void 0 : u[i];
364
- h == null || h.forEach((p) => {
365
- v[p] != null && v[p].call(v, c, $, i);
366
- });
367
- }
368
- return;
369
- }
370
- }
371
- this[f] = c === null && typeof this[f] == "boolean" ? !1 : c;
372
- });
373
- }, e.observedAttributes = Array.from(
374
- /* @__PURE__ */ new Set([
375
- ...Object.keys((n = t.$watchers$) != null ? n : {}),
376
- ...l.filter(
377
- ([i, $]) => $[0] & 15
378
- /* HasAttribute */
379
- ).map(([i, $]) => {
380
- const c = $[1] || i;
381
- return o.set(c, i), c;
382
- })
383
- ])
384
- );
385
- }
386
- }
387
- return e;
388
- }, Me = (e, t, s, r) => x(void 0, null, function* () {
389
- let n;
390
- if (!(t.$flags$ & 32)) {
391
- if (t.$flags$ |= 32, s.$lazyBundleId$) {
392
- const i = de(s);
393
- if (i && "then" in i) {
394
- const c = Ee();
395
- n = yield i, c();
396
- } else
397
- n = i;
398
- if (!n)
399
- throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
400
- n.isProxied || (s.$watchers$ = n.watchers, ae(
401
- n,
402
- s,
403
- 2
404
- /* proxyState */
405
- ), n.isProxied = !0);
406
- const $ = S("createInstance", s.$tagName$);
407
- t.$flags$ |= 8;
408
- try {
409
- new n(t);
410
- } catch (c) {
411
- E(c);
412
- }
413
- t.$flags$ &= -9, t.$flags$ |= 128, $();
414
- } else {
415
- n = e.constructor;
416
- const i = e.localName;
417
- customElements.whenDefined(i).then(
418
- () => t.$flags$ |= 128
419
- /* isWatchReady */
420
- );
421
- }
422
- if (n && n.style) {
423
- let i;
424
- typeof n.style == "string" && (i = n.style);
425
- const $ = R(s);
426
- if (!_.has($)) {
427
- const c = S("registerStyles", s.$tagName$);
428
- je($, i, !!(s.$flags$ & 1)), c();
429
- }
430
- }
431
- }
432
- const a = t.$ancestorComponent$, l = () => q(t, !0);
433
- a && a["s-rc"] ? a["s-rc"].push(l) : l();
434
- }), We = (e) => {
435
- }, Ye = (e) => {
436
- if (!(g.$flags$ & 1)) {
437
- const t = b(e), s = t.$cmpMeta$, r = S("connectedCallback", s.$tagName$);
438
- if (t.$flags$ & 1)
439
- t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => We());
440
- else {
441
- t.$flags$ |= 1;
442
- {
443
- let n = e;
444
- for (; n = n.parentNode || n.host; )
445
- if (n["s-p"]) {
446
- se(t, t.$ancestorComponent$ = n);
447
- break;
448
- }
449
- }
450
- s.$members$ && Object.entries(s.$members$).map(([n, [a]]) => {
451
- if (a & 31 && e.hasOwnProperty(n)) {
452
- const l = e[n];
453
- delete e[n], e[n] = l;
454
- }
455
- }), Me(e, t, s);
456
- }
457
- r();
458
- }
459
- }, Ge = (e) => {
460
- }, Je = (e) => x(void 0, null, function* () {
461
- if (!(g.$flags$ & 1)) {
462
- const t = b(e);
463
- t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ge());
464
- }
465
- }), Xe = (e, t = {}) => {
466
- var s;
467
- const r = S(), n = [], a = t.exclude || [], l = B.customElements, o = y.head, i = /* @__PURE__ */ o.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
468
- let u, f = !0;
469
- Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
470
- let d = !1;
471
- if (e.map((m) => {
472
- m[1].map((v) => {
473
- var h;
474
- const p = {
475
- $flags$: v[0],
476
- $tagName$: v[1],
477
- $members$: v[2],
478
- $listeners$: v[3]
479
- };
480
- p.$flags$ & 4 && (d = !0), p.$members$ = v[2], p.$watchers$ = (h = v[4]) != null ? h : {};
481
- const w = p.$tagName$, ie = class extends HTMLElement {
482
- // StencilLazyHost
483
- constructor(L) {
484
- super(L), this.hasRegisteredEventListeners = !1, L = this, fe(L, p);
485
- }
486
- connectedCallback() {
487
- b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), u && (clearTimeout(u), u = null), f ? c.push(this) : g.jmp(() => Ye(this));
488
- }
489
- disconnectedCallback() {
490
- g.jmp(() => Je(this));
491
- }
492
- componentOnReady() {
493
- return b(this).$onReadyPromise$;
494
- }
495
- };
496
- p.$lazyBundleId$ = m[0], !a.includes(w) && !l.get(w) && (n.push(w), l.define(
497
- w,
498
- ae(
499
- ie,
500
- p,
501
- 1
502
- /* isElementConstructor */
503
- )
504
- ));
505
- });
506
- }), n.length > 0 && (d && ($.textContent += J), $.textContent += n.sort() + me, $.innerHTML.length)) {
507
- $.setAttribute("data-styles", "");
508
- const m = (s = g.$nonce$) != null ? s : X(y);
509
- m != null && $.setAttribute("nonce", m), o.insertBefore($, i ? i.nextSibling : o.firstChild);
510
- }
511
- f = !1, c.length ? c.map((m) => m.connectedCallback()) : g.jmp(() => u = setTimeout(re, 30)), r();
512
- };
513
- export {
514
- xe as H,
515
- Xe as b,
516
- we as h,
517
- ve as p,
518
- Qe as r
519
- };
@@ -1 +0,0 @@
1
- "use strict";var U=(e,t,a)=>new Promise((n,r)=>{var i=l=>{try{d(a.next(l))}catch(h){r(h)}},o=l=>{try{d(a.throw(l))}catch(h){r(h)}},d=l=>l.done?n(l.value):Promise.resolve(l.value).then(i,o);d((a=a.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-7c5e707a-Cw-c3Bke.cjs"),ot=require("./app-globals-0f993ce5-DgYhdguE.cjs");var q=typeof document!="undefined"?document.currentScript:null,st=()=>{const e=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:q&&q.tagName.toUpperCase()==="SCRIPT"&&q.src||new URL("stencil/user-transaction-history-DZZT2rYX.cjs",document.baseURI).href,t={};return e!==""&&(t.resourcesUrl=new URL(".",e).href),s.promiseResolve(t)};st().then(e=>U(exports,null,function*(){return yield ot.globalScripts$4(),s.bootstrapLazy([["user-transaction-history",[[1,"user-transaction-history",{endpoint:[513],session:[513],language:[513],userId:[513,"user-id"],translationUrl:[513,"translation-url"],mobile:[516],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],mbSource:[513,"mb-source"],dateFormat:[513,"date-format"],page:[32],pageSize:[32],showMobileFilter:[32],to:[32],from:[32],type:[32],transactions:[32],showLoader:[32]},[[9,"resize","getComponentHeight"]],{page:["watchMultiple"],type:["watchMultiple"],session:["watchMultiple"],userId:["watchMultiple"],pageSize:["watchMultiple"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],showMobileFilter:["getComponentHeight"]}]]]],e)}));const lt={en:{deposit:"Deposit",withdrawals:"Withdrawals",show:"Show",from:"From",to:"To",filter:"Filter",transactionId:"Transaction ID",date:"Date",amount:"Amount",productType:"Product Type",status:"Status",noData:"There are no account activities"},hr:{deposit:"Uplate",withdrawals:"Isplate",show:"Prikaži",from:"Od",to:"Do",filter:"Filter",transactionId:"ID transakcije",date:"Datum",amount:"Iznos",productType:"Vrsta proizvoda",status:"Status",noData:"Nema aktivnosti na računu"}};class u{constructor(){}static loadCustomTranslations(t){return U(this,null,function*(){try{const a=yield fetch(t,{headers:{"Content-Type":"application/json"}});if(!a.ok){const r=yield a.text();throw new Error(r)}const n=yield a.json();u.updateTranslations(n)}catch(a){console.error(`Failed to load translations ${t}. ${a.message}`)}})}static translate(t,a){var n,r;const i=u.getAvaliableLanguages(a);return((r=(n=u.customTranslation)===null||n===void 0?void 0:n[i.customLanguage])===null||r===void 0?void 0:r[t])||u.defaultTranslation[i.predefinedLanguage][t]}static getAvaliableLanguages(t){var a;const n=!((a=u.customLanguages)===null||a===void 0)&&a.includes(t)?t:u.defaultLanguage;return{predefinedLanguage:u.supportedLanguages.includes(t)?t:u.defaultLanguage,customLanguage:n}}static updateTranslations(t){u.customLanguages=Array.from(new Set([...u.supportedLanguages,...Object.keys(t).map(a=>a.toLowerCase())])),u.customTranslation=t}}u.defaultLanguage="en";u.supportedLanguages=["en"];u.defaultTranslation=lt;const dt=()=>s.h("div",{class:"loader"},s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null),s.h("div",null));function Y(e){"@babel/helpers - typeof";return Y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Y(e)}function v(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function ut(e){return v(1,arguments),e instanceof Date||Y(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function y(e){v(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Y(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function ct(e){if(v(1,arguments),!ut(e)&&typeof e!="number")return!1;var t=y(e);return!isNaN(Number(t))}function k(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function ht(e,t){v(2,arguments);var a=y(e).getTime(),n=k(t);return new Date(a+n)}function ft(e,t){v(2,arguments);var a=k(t);return ht(e,-a)}var mt=864e5;function gt(e){v(1,arguments);var t=y(e),a=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),r=a-n;return Math.floor(r/mt)+1}function L(e){v(1,arguments);var t=1,a=y(e),n=a.getUTCDay(),r=(n<t?7:0)+n-t;return a.setUTCDate(a.getUTCDate()-r),a.setUTCHours(0,0,0,0),a}function V(e){v(1,arguments);var t=y(e),a=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(a+1,0,4),n.setUTCHours(0,0,0,0);var r=L(n),i=new Date(0);i.setUTCFullYear(a,0,4),i.setUTCHours(0,0,0,0);var o=L(i);return t.getTime()>=r.getTime()?a+1:t.getTime()>=o.getTime()?a:a-1}function vt(e){v(1,arguments);var t=V(e),a=new Date(0);a.setUTCFullYear(t,0,4),a.setUTCHours(0,0,0,0);var n=L(a);return n}var pt=6048e5;function bt(e){v(1,arguments);var t=y(e),a=L(t).getTime()-vt(t).getTime();return Math.round(a/pt)+1}var wt={};function $(){return wt}function B(e,t){var a,n,r,i,o,d,l,h;v(1,arguments);var m=$(),f=k((a=(n=(r=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(d=o.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&r!==void 0?r:m.weekStartsOn)!==null&&n!==void 0?n:(l=m.locale)===null||l===void 0||(h=l.options)===null||h===void 0?void 0:h.weekStartsOn)!==null&&a!==void 0?a:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=y(e),g=p.getUTCDay(),w=(g<f?7:0)+g-f;return p.setUTCDate(p.getUTCDate()-w),p.setUTCHours(0,0,0,0),p}function J(e,t){var a,n,r,i,o,d,l,h;v(1,arguments);var m=y(e),f=m.getUTCFullYear(),p=$(),g=k((a=(n=(r=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(d=o.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&r!==void 0?r:p.firstWeekContainsDate)!==null&&n!==void 0?n:(l=p.locale)===null||l===void 0||(h=l.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var w=new Date(0);w.setUTCFullYear(f+1,0,g),w.setUTCHours(0,0,0,0);var D=B(w,t),C=new Date(0);C.setUTCFullYear(f,0,g),C.setUTCHours(0,0,0,0);var N=B(C,t);return m.getTime()>=D.getTime()?f+1:m.getTime()>=N.getTime()?f:f-1}function yt(e,t){var a,n,r,i,o,d,l,h;v(1,arguments);var m=$(),f=k((a=(n=(r=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(d=o.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&r!==void 0?r:m.firstWeekContainsDate)!==null&&n!==void 0?n:(l=m.locale)===null||l===void 0||(h=l.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&a!==void 0?a:1),p=J(e,t),g=new Date(0);g.setUTCFullYear(p,0,f),g.setUTCHours(0,0,0,0);var w=B(g,t);return w}var xt=6048e5;function Tt(e,t){v(1,arguments);var a=y(e),n=B(a,t).getTime()-yt(a,t).getTime();return Math.round(n/xt)+1}function c(e,t){for(var a=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return a+n}var Ct={y:function(t,a){var n=t.getUTCFullYear(),r=n>0?n:1-n;return c(a==="yy"?r%100:r,a.length)},M:function(t,a){var n=t.getUTCMonth();return a==="M"?String(n+1):c(n+1,2)},d:function(t,a){return c(t.getUTCDate(),a.length)},a:function(t,a){var n=t.getUTCHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,a){return c(t.getUTCHours()%12||12,a.length)},H:function(t,a){return c(t.getUTCHours(),a.length)},m:function(t,a){return c(t.getUTCMinutes(),a.length)},s:function(t,a){return c(t.getUTCSeconds(),a.length)},S:function(t,a){var n=a.length,r=t.getUTCMilliseconds(),i=Math.floor(r*Math.pow(10,n-3));return c(i,a.length)}};const T=Ct;var M={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},St={G:function(t,a,n){var r=t.getUTCFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,a,n){if(a==="yo"){var r=t.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return T.y(t,a)},Y:function(t,a,n,r){var i=J(t,r),o=i>0?i:1-i;if(a==="YY"){var d=o%100;return c(d,2)}return a==="Yo"?n.ordinalNumber(o,{unit:"year"}):c(o,a.length)},R:function(t,a){var n=V(t);return c(n,a.length)},u:function(t,a){var n=t.getUTCFullYear();return c(n,a.length)},Q:function(t,a,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(a){case"Q":return String(r);case"QQ":return c(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,a,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(a){case"q":return String(r);case"qq":return c(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,a,n){var r=t.getUTCMonth();switch(a){case"M":case"MM":return T.M(t,a);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,a,n){var r=t.getUTCMonth();switch(a){case"L":return String(r+1);case"LL":return c(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,a,n,r){var i=Tt(t,r);return a==="wo"?n.ordinalNumber(i,{unit:"week"}):c(i,a.length)},I:function(t,a,n){var r=bt(t);return a==="Io"?n.ordinalNumber(r,{unit:"week"}):c(r,a.length)},d:function(t,a,n){return a==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):T.d(t,a)},D:function(t,a,n){var r=gt(t);return a==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):c(r,a.length)},E:function(t,a,n){var r=t.getUTCDay();switch(a){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,a,n,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(a){case"e":return String(o);case"ee":return c(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,a,n,r){var i=t.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(a){case"c":return String(o);case"cc":return c(o,a.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,a,n){var r=t.getUTCDay(),i=r===0?7:r;switch(a){case"i":return String(i);case"ii":return c(i,a.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,a,n){var r=t.getUTCHours(),i=r/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,a,n){var r=t.getUTCHours(),i;switch(r===12?i=M.noon:r===0?i=M.midnight:i=r/12>=1?"pm":"am",a){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,a,n){var r=t.getUTCHours(),i;switch(r>=17?i=M.evening:r>=12?i=M.afternoon:r>=4?i=M.morning:i=M.night,a){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,a,n){if(a==="ho"){var r=t.getUTCHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return T.h(t,a)},H:function(t,a,n){return a==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):T.H(t,a)},K:function(t,a,n){var r=t.getUTCHours()%12;return a==="Ko"?n.ordinalNumber(r,{unit:"hour"}):c(r,a.length)},k:function(t,a,n){var r=t.getUTCHours();return r===0&&(r=24),a==="ko"?n.ordinalNumber(r,{unit:"hour"}):c(r,a.length)},m:function(t,a,n){return a==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):T.m(t,a)},s:function(t,a,n){return a==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):T.s(t,a)},S:function(t,a){return T.S(t,a)},X:function(t,a,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();if(o===0)return"Z";switch(a){case"X":return z(o);case"XXXX":case"XX":return S(o);case"XXXXX":case"XXX":default:return S(o,":")}},x:function(t,a,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(a){case"x":return z(o);case"xxxx":case"xx":return S(o);case"xxxxx":case"xxx":default:return S(o,":")}},O:function(t,a,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+j(o,":");case"OOOO":default:return"GMT"+S(o,":")}},z:function(t,a,n,r){var i=r._originalDate||t,o=i.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+j(o,":");case"zzzz":default:return"GMT"+S(o,":")}},t:function(t,a,n,r){var i=r._originalDate||t,o=Math.floor(i.getTime()/1e3);return c(o,a.length)},T:function(t,a,n,r){var i=r._originalDate||t,o=i.getTime();return c(o,a.length)}};function j(e,t){var a=e>0?"-":"+",n=Math.abs(e),r=Math.floor(n/60),i=n%60;if(i===0)return a+String(r);var o=t;return a+String(r)+o+c(i,2)}function z(e,t){if(e%60===0){var a=e>0?"-":"+";return a+c(Math.abs(e)/60,2)}return S(e,t)}function S(e,t){var a=t||"",n=e>0?"-":"+",r=Math.abs(e),i=c(Math.floor(r/60),2),o=c(r%60,2);return n+i+a+o}const kt=St;var A=function(t,a){switch(t){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},K=function(t,a){switch(t){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},Mt=function(t,a){var n=t.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return A(t,a);var o;switch(r){case"P":o=a.dateTime({width:"short"});break;case"PP":o=a.dateTime({width:"medium"});break;case"PPP":o=a.dateTime({width:"long"});break;case"PPPP":default:o=a.dateTime({width:"full"});break}return o.replace("{{date}}",A(r,a)).replace("{{time}}",K(i,a))},Dt={p:K,P:Mt};const Pt=Dt;function Ot(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var Ut=["D","DD"],Wt=["YY","YYYY"];function Ft(e){return Ut.indexOf(e)!==-1}function _t(e){return Wt.indexOf(e)!==-1}function Q(e,t,a){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Et={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Yt=function(t,a,n){var r,i=Et[t];return typeof i=="string"?r=i:a===1?r=i.one:r=i.other.replace("{{count}}",a.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};const Lt=Yt;function R(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=t.width?String(t.width):e.defaultWidth,n=e.formats[a]||e.formats[e.defaultWidth];return n}}var Bt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},$t={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Nt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ht={date:R({formats:Bt,defaultWidth:"full"}),time:R({formats:$t,defaultWidth:"full"}),dateTime:R({formats:Nt,defaultWidth:"full"})};const It=Ht;var qt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Rt=function(t,a,n,r){return qt[t]};const jt=Rt;function W(e){return function(t,a){var n=a!=null&&a.context?String(a.context):"standalone",r;if(n==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=a!=null&&a.width?String(a.width):i;r=e.formattingValues[o]||e.formattingValues[i]}else{var d=e.defaultWidth,l=a!=null&&a.width?String(a.width):e.defaultWidth;r=e.values[l]||e.values[d]}var h=e.argumentCallback?e.argumentCallback(t):t;return r[h]}}var zt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},At={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Qt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Xt={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Gt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Vt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Jt=function(t,a){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Kt={ordinalNumber:Jt,era:W({values:zt,defaultWidth:"wide"}),quarter:W({values:At,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:W({values:Qt,defaultWidth:"wide"}),day:W({values:Xt,defaultWidth:"wide"}),dayPeriod:W({values:Gt,defaultWidth:"wide",formattingValues:Vt,defaultFormattingWidth:"wide"})};const Zt=Kt;function F(e){return function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.width,r=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;var o=i[0],d=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(d)?ee(d,function(f){return f.test(o)}):te(d,function(f){return f.test(o)}),h;h=e.valueCallback?e.valueCallback(l):l,h=a.valueCallback?a.valueCallback(h):h;var m=t.slice(o.length);return{value:h,rest:m}}}function te(e,t){for(var a in e)if(e.hasOwnProperty(a)&&t(e[a]))return a}function ee(e,t){for(var a=0;a<e.length;a++)if(t(e[a]))return a}function ae(e){return function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var r=n[0],i=t.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];o=a.valueCallback?a.valueCallback(o):o;var d=t.slice(r.length);return{value:o,rest:d}}}var ne=/^(\d+)(th|st|nd|rd)?/i,re=/\d+/i,ie={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},oe={any:[/^b/i,/^(a|c)/i]},se={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},le={any:[/1/i,/2/i,/3/i,/4/i]},de={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},ue={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ce={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},he={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},fe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},me={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},ge={ordinalNumber:ae({matchPattern:ne,parsePattern:re,valueCallback:function(t){return parseInt(t,10)}}),era:F({matchPatterns:ie,defaultMatchWidth:"wide",parsePatterns:oe,defaultParseWidth:"any"}),quarter:F({matchPatterns:se,defaultMatchWidth:"wide",parsePatterns:le,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:F({matchPatterns:de,defaultMatchWidth:"wide",parsePatterns:ue,defaultParseWidth:"any"}),day:F({matchPatterns:ce,defaultMatchWidth:"wide",parsePatterns:he,defaultParseWidth:"any"}),dayPeriod:F({matchPatterns:fe,defaultMatchWidth:"any",parsePatterns:me,defaultParseWidth:"any"})};const ve=ge;var pe={code:"en-US",formatDistance:Lt,formatLong:It,formatRelative:jt,localize:Zt,match:ve,options:{weekStartsOn:0,firstWeekContainsDate:1}};const be=pe;var we=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ye=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,xe=/^'([^]*?)'?$/,Te=/''/g,Ce=/[a-zA-Z]/;function Se(e,t,a){var n,r,i,o,d,l,h,m,f,p,g,w,D,C;v(2,arguments);var N=String(t),P=$(),O=(n=(r=void 0)!==null&&r!==void 0?r:P.locale)!==null&&n!==void 0?n:be,H=k((i=(o=(d=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&d!==void 0?d:P.firstWeekContainsDate)!==null&&o!==void 0?o:(h=P.locale)===null||h===void 0||(m=h.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(H>=1&&H<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=k((f=(p=(g=(w=void 0)!==null&&w!==void 0?w:void 0)!==null&&g!==void 0?g:P.weekStartsOn)!==null&&p!==void 0?p:(D=P.locale)===null||D===void 0||(C=D.options)===null||C===void 0?void 0:C.weekStartsOn)!==null&&f!==void 0?f:0);if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!O.localize)throw new RangeError("locale must contain localize property");if(!O.formatLong)throw new RangeError("locale must contain formatLong property");var _=y(e);if(!ct(_))throw new RangeError("Invalid time value");var at=Ot(_),nt=ft(_,at),rt={firstWeekContainsDate:H,weekStartsOn:I,locale:O,_originalDate:_},it=N.match(ye).map(function(b){var x=b[0];if(x==="p"||x==="P"){var E=Pt[x];return E(b,O.formatLong)}return b}).join("").match(we).map(function(b){if(b==="''")return"'";var x=b[0];if(x==="'")return ke(b);var E=kt[x];if(E)return _t(b)&&Q(b,t,String(e)),Ft(b)&&Q(b,t,String(e)),E(nt,b,O.localize,rt);if(x.match(Ce))throw new RangeError("Format string contains an unescaped latin alphabet character `"+x+"`");return b}).join("");return it}function ke(e){var t=e.match(xe);return t?t[1].replace(Te,"'"):e}class Z{constructor(){}static dateToFormatedString(t,a){const n=a?Se(t,a):t.toLocaleDateString("en-gb"),r=t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!1});return`${n}, ${r}`}}class tt{constructor(){}static format(t,a){let n=`${a} ${t}`;try{n=new Intl.NumberFormat("en-US",{style:"currency",currency:t}).format(a)}catch(r){}return n}}const Me=e=>s.h("div",{class:"data-transaction"},s.h("p",null,e.productType),s.h("p",{class:"text-style text-style-status"},s.h("span",{class:e.status.toLowerCase()},e.status)),s.h("p",{class:"date"},e.transId," | ",Z.dateToFormatedString(new Date(e.created),e.dateformat)),s.h("p",{class:"text-style"},tt.format(e.currency,e.realAmount)," ")),De=e=>s.h("div",{class:"page-size"},s.h("span",null,u.translate("show",e.language)),e.pageSizes.map(t=>s.h("button",{class:e.currentPageSize===t?"active":"",onClick:()=>e.changePageSize(t)},t))),Pe=({from:e,to:t,applyFilters:a,language:n})=>{let r,i;const o=()=>{e=r.value},d=()=>{t=i.value};return s.h("div",{class:"period"},s.h("div",{class:"period-content"},s.h("div",{class:"date-input"},s.h("vaadin-date-picker",{value:e,ref:l=>r=l,label:u.translate("from",n),onChange:o})),s.h("span",null,s.h("svg",{width:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},s.h("path",{d:"m21 11.75c0-.414-.336-.75-.75-.75h-16.5c-.414 0-.75.336-.75.75s.336.75.75.75h16.5c.414 0 .75-.336.75-.75z","fill-rule":"nonzero",fill:"#5d687b"}))),s.h("div",{class:"date-input"},s.h("vaadin-date-picker",{value:t,ref:l=>i=l,label:u.translate("to",n),onChange:d})),s.h("button",{class:"filter-btn",onClick:()=>a(e,t)},u.translate("filter",n))))},Oe=({source:e,language:t,dateformat:a})=>{const n=[{name:u.translate("transactionId",t)},{name:u.translate("date",t)},{name:u.translate("amount",t)},{name:u.translate("productType",t)},{name:u.translate("status",t)}];return s.h("table",null,s.h("thead",null,s.h("tr",null,n.map(r=>s.h("th",null,r.name)))),s.h("tbody",null,e.map(r=>s.h("tr",null,s.h("td",null,r.transId),s.h("td",null,Z.dateToFormatedString(new Date(r.created),a)),s.h("td",null,tt.format(r.currency,r.realAmount)," "),s.h("td",null,r.productType),s.h("td",null,s.h("span",{class:r.status.toLowerCase()},r.status))))))};function X(e,t){if(e){const a=document.createElement("style");a.innerHTML=t,e.appendChild(a)}}function G(e,t){const a=new URL(t);fetch(a.href).then(n=>n.text()).then(n=>{const r=document.createElement("style");r.innerHTML=n,e&&e.appendChild(r)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Ue(e,t,a){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,r=>{n.innerHTML=r,e&&e.appendChild(n)})}}const We=':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--hoverBackground:#ffffff;--background:#e4e6e8;--success:#7ac345;--heightScrollableContainer:400px;--borderColor:#d3d3d3;--borderColorButton:#c4c4c4;--textColor:#002554;--textColorHover:#7ac345;--errorColor:#c23b21;--loaderColor:#7ac345;--headerTableBackground:#cdcdcd;--borderTable:#dedede;--shadowBorderTable:#f1f1f1;--backgroundTable:#ffffff;font-family:Roboto, Arial, sans-serif;font-size:14px;color:var(--textColor);display:block;background-color:var(--background)}:host .wrapper{height:100%;padding:1rem}:host .types{display:flex;width:100%;gap:5px}:host .transaction-type{background:inherit;font-weight:600;padding:0.6rem 1.6rem;border:1px solid #6c757d;cursor:pointer}:host .transaction-type:hover{color:var(--activeButtonBackground);border-color:var(--activeButtonBackground);background:var(--hoverBackground)}:host .clicked{background-color:var(--activeButtonBackground);border-color:var(--activeButtonBackground)}:host .types-mobile{justify-content:center;margin-bottom:15px}:host .types-desktop{justify-content:flex-end;margin-bottom:3rem}:host .page-size{display:flex;width:100%;justify-content:flex-end;align-items:center}:host .page-size button{background:transparent;border:none;cursor:pointer;margin:0.4rem;width:2rem;height:2rem}:host .page-size button:hover{color:var(--textColorHover)}:host .page-size button.active{background:var(--activeButtonBackground);color:var(--textColor);font-weight:600;border-radius:0.4rem}:host .period{display:flex;width:100%;align-items:flex-end;justify-content:center;gap:10px;background:#f0f0f0;border-bottom:2px solid #e9e9e9;padding:1.6rem 0 0;margin-bottom:4rem}@media (max-width: 801px){:host .period{margin-bottom:0;flex-direction:column;align-items:stretch;width:auto;padding:1.4rem 2.8rem;box-shadow:0 4px 5px 0 rgba(90, 90, 90, 0.24)}}:host .period .range{color:var(--errorColor)}:host .period .filter-btn{height:40px;background:transparent;border:0.1rem solid var(--borderColorButton);min-width:12rem;max-width:17rem;cursor:pointer}@media (max-width: 801px){:host .period .filter-btn{max-width:none;min-width:none;margin-top:1rem}}:host .period .filter-btn:hover{border:none;background:var(--hoverBackground)}:host .period .duet-date__input{padding:7px 60px 7px 7px}:host .period+button{padding:9px 15px}:host .period-content{display:flex;flex-direction:row;width:100%;justify-content:center;align-items:flex-end;margin:0 auto 1.6rem}@media (max-width: 801px){:host .period-content{flex-direction:column;align-items:stretch}}:host .period-content span{height:40px;display:flex;align-items:center;justify-content:center}@media (max-width: 801px){:host .period-content span{display:none}}:host .period-content .filter-btn{margin-left:60px}@media (max-width: 801px){:host .period-content .filter-btn{margin-left:0}}:host .period-content .date-input{padding:0 4px}@media (max-width: 801px){:host .period-content .date-input{width:auto}:host .period-content .date-input:first-child{margin-bottom:0.5rem}}:host .period-content .date-input label{display:inline-block;margin-bottom:0.9rem}:host .period-content .date-input input{border:0.1rem solid var(--borderColor);box-sizing:border-box;border-radius:0.2rem}:host .pagination{display:flex;width:100%;justify-content:center;margin-top:1.5rem}:host .pagination button{cursor:pointer;border:none;background-color:var(--activeButtonBackground);color:#fff;opacity:0.5;padding:7px 12px}:host .pagination button:hover{opacity:1}:host .pagination button:focus{opacity:1}:host button.active{color:var(--activeButtonFont);background-color:var(--activeButtonBackground)}.mobile-filter-button{display:flex;justify-content:center;align-items:center;width:100%;height:2.8rem;background:inherit;border:1px solid var(--borderColorButton)}.mobile-filter-button img{height:50%;margin-right:0.5rem}.noData{display:flex;align-items:center;box-shadow:0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);padding:1.1rem;border-radius:0.6rem}.noData span{margin-left:0.5rem}.table{height:var(--heightScrollableContainer);overflow-y:auto}.table .mobile-table{height:100%}.data-transaction{border-bottom:1px solid var(--borderColor);background-color:var(--hoverBackground);padding:0 20px;display:grid;grid-template-columns:repeat(2, 1fr)}.data-transaction .text-style-status{font-weight:600}.data-transaction .text-style-status .success{color:var(--success)}.data-transaction .text-style-status .error{color:var(--errorColor)}.data-transaction .text-style{text-align:end}.data-transaction .date{font-size:12px;display:flex;align-items:center}.loader{display:inline-block;position:absolute;width:80px;height:80px;top:calc(50% - 40px);left:calc(50% - 40px);z-index:100}.loader::before{content:"";position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(255, 255, 255, 0.6)}.loader div{position:absolute;width:6px;height:6px;background:var(--loaderColor);border-radius:50%;animation:loader 1.2s linear infinite}.loader div:nth-child(1){animation-delay:0s;top:37px;left:66px}.loader div:nth-child(2){animation-delay:-0.1s;top:22px;left:62px}.loader div:nth-child(3){animation-delay:-0.2s;top:11px;left:52px}.loader div:nth-child(4){animation-delay:-0.3s;top:7px;left:37px}.loader div:nth-child(5){animation-delay:-0.4s;top:11px;left:22px}.loader div:nth-child(6){animation-delay:-0.5s;top:22px;left:11px}.loader div:nth-child(7){animation-delay:-0.6s;top:37px;left:7px}.loader div:nth-child(8){animation-delay:-0.7s;top:52px;left:11px}.loader div:nth-child(9){animation-delay:-0.8s;top:62px;left:22px}.loader div:nth-child(10){animation-delay:-0.9s;top:66px;left:37px}.loader div:nth-child(11){animation-delay:-1s;top:62px;left:52px}.loader div:nth-child(12){animation-delay:-1.1s;top:52px;left:62px}@keyframes loader{0%,20%,80%,100%{transform:scale(1)}50%{transform:scale(1.5)}}.table thead th{position:sticky;top:0}table{border-collapse:collapse;width:100%}table th{padding:14px 24px;text-align:left;font-weight:600;color:var(--textColor);background:var(--headerTableBackground)}table td{padding:1rem 1.7rem;box-shadow:0 -1px 0 0 var(--shadowBorderTable) inset;border-bottom:0.1rem solid var(--borderTable);text-align:left;color:var(--textColor)}table tbody{background:var(--backgroundTable)}table .success{color:var(--success)}table .error{color:var(--errorColor)}vaadin-date-picker{min-width:320px}@media (max-width: 1261px){vaadin-date-picker{width:auto;min-width:auto}}@media (max-width: 801px){vaadin-date-picker{width:100%}}',Fe=We,et=class{constructor(e){s.registerInstance(this,e),this.pageSizes=[10,25,50],this.pagination=null,this.endpoint=void 0,this.session=void 0,this.language=u.defaultLanguage,this.userId=void 0,this.translationUrl=void 0,this.mobile=!1,this.clientStyling=null,this.clientStylingUrl=null,this.mbSource=void 0,this.dateFormat="",this.page=0,this.pageSize=this.pageSizes[0],this.showMobileFilter=!1,this.to=void 0,this.from=void 0,this.type="0",this.transactions=void 0,this.showLoader=!0}watchMultiple(){this.loadTransactions()}handleClientStylingChange(e,t){e!=t&&X(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,t){e!=t&&this.clientStylingUrl&&G(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return U(this,null,function*(){this.translationUrl&&(yield u.loadCustomTranslations(this.translationUrl)),this.loadTransactions()})}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?Ue(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&X(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&G(this.stylingContainer,this.clientStylingUrl)))}componentDidRender(){this.getComponentHeight()}getComponentHeight(){var e;if(this.mobile){let t=this.el.getBoundingClientRect().height-((e=this.el.shadowRoot.querySelector(".table"))===null||e===void 0?void 0:e.getBoundingClientRect().y);this.el.style.setProperty("--heightScrollableContainer",t+"px")}}setHeightTableProperty(){let e=this.getComponentHeight();this.el.style.setProperty("--heightScrollableContainer",e+"px")}changeTransactionsType(e){this.type=e}changePageSize(e){this.pageSize=e}prev(){var e;!((e=this.pagination)===null||e===void 0)&&e.previous&&this.page--}next(){var e;!((e=this.pagination)===null||e===void 0)&&e.next&&this.page++}applyFilters(e,t){this.from=e?new Date(e).toISOString():null,this.to=t?new Date(t).toISOString():null,this.loadTransactions()}showFilter(){this.showMobileFilter=!this.showMobileFilter}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){var e;const t=s.getAssetPath("../assets/filter.svg"),a=s.getAssetPath("../assets/warning.svg");return s.h(s.Host,{key:"7346a5fe57d7bc3df7b3eb88f1a175b1bb4fed10"},this.showLoader?s.h(dt,null):"",s.h("div",{key:"f58cb9c38d88702255a3f63731c152f79cc7c071",class:"wrapper",ref:n=>this.stylingContainer=n},s.h("div",{key:"ff79d6a34f9e4615fecd81f12cec228e567317b3",class:{"types types-mobile":this.mobile,"types types-desktop":!this.mobile}},s.h("button",{key:"6c89c781087a854edb143e84fd684b72a6a5f8c1",class:"transaction-type "+(this.type==="0"?"clicked":""),onClick:()=>this.changeTransactionsType("0")},u.translate("deposit",this.language)),s.h("button",{key:"15d1f9c89a1ffdfcbc0d8e5ebf375bcd2129e2aa",class:"transaction-type "+(this.type==="1"?"clicked":""),onClick:()=>this.changeTransactionsType("1")},u.translate("withdrawals",this.language))),this.mobile?"":s.h(De,{language:this.language,pageSizes:this.pageSizes,currentPageSize:this.pageSize,changePageSize:n=>this.changePageSize(n)}),this.mobile?s.h("button",{class:"mobile-filter-button",onClick:()=>this.showFilter()},s.h("img",{src:t,alt:"Filter"}),u.translate("filter",this.language)):"",!this.mobile||this.showMobileFilter&&this.mobile?s.h(Pe,{language:this.language,applyFilters:(n,r)=>this.applyFilters(n,r)}):"",((e=this.transactions)===null||e===void 0?void 0:e.length)>0?s.h("div",{class:"table"},this.mobile?s.h("div",{class:"mobile-table"},this.transactions.map(n=>s.h(Me,Object.assign({},n,{dateformat:this.dateFormat})))):s.h(Oe,{source:this.transactions,language:this.language,dateformat:this.dateFormat})):s.h("div",{class:"noData"},s.h("img",{src:a,alt:"Warning"}),s.h("span",null,u.translate("noData",this.language))),s.h("div",{key:"5a0b142e2a02e0a24263a6b66ad36762c3934712",class:"pagination"},s.h("button",{key:"2dcc9efdc61ed362e4845da8088bd5de458bab0f",onClick:()=>this.prev()},"<"),s.h("button",{key:"acd4dfb619f6220bcbc9da932c6accf0e34c7df0",onClick:()=>this.next()},">"))))}loadTransactions(){return U(this,null,function*(){this.showLoader=!0;try{const e=`${this.endpoint}/v1/player/${this.userId}/transactions/banking?${this.getParams()}`,t=yield fetch(e,{headers:{"X-Sessionid":this.session,"Content-Type":"application/json"}});if(!t.ok){const n=yield t.text();throw new Error(n)}const a=yield t.json();this.pagination=a.pagination,this.transactions=a.transactions}catch(e){console.error(e)}finally{this.showLoader=!1}})}getParams(){var e,t;const a=new Date,n=(this.page*this.pageSize).toString(),r=(e=this.from)!==null&&e!==void 0?e:new Date(a.getFullYear(),a.getMonth(),1).toISOString(),i=(t=this.to)!==null&&t!==void 0?t:new Date(a.getFullYear(),a.getMonth()+1,0).toISOString();return`offset=${n}&endDate=${i}&startDate=${r}&type=${this.type}&limit=${this.pageSize}`}static get assetsDirs(){return["../assets"]}get el(){return s.getElement(this)}static get watchers(){return{page:["watchMultiple"],type:["watchMultiple"],session:["watchMultiple"],userId:["watchMultiple"],pageSize:["watchMultiple"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],showMobileFilter:["getComponentHeight"]}}};et.style=Fe;exports.user_transaction_history=et;