@everymatrix/player-account-controller 1.74.8 → 1.74.10

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 (153) hide show
  1. package/components/GeneralLogout-COm1JcKW.cjs +21 -0
  2. package/components/{GeneralLogout-DIRnj10H.js → GeneralLogout-CiyGpZGU.js} +1284 -1298
  3. package/components/{GeneralLogout-Dd4n6Kp2.js → GeneralLogout-Vg76ri4V.js} +1308 -1322
  4. package/components/PlayerAccountBettingHistory-Bv1Qcp8m.js +311 -0
  5. package/components/PlayerAccountBettingHistory-CE023VGz.cjs +1 -0
  6. package/components/PlayerAccountBettingHistory-Dn9IsrIP.js +310 -0
  7. package/components/{PlayerAccountBiometrics-D8lv7JzY.js → PlayerAccountBiometrics-C2wumiJ3.js} +5 -5
  8. package/components/{PlayerAccountBiometrics-DzUvqvfR.js → PlayerAccountBiometrics-CH9MN1vT.js} +5 -5
  9. package/components/{PlayerAccountBiometrics-N164JTVo.cjs → PlayerAccountBiometrics-DPdT285K.cjs} +1 -1
  10. package/components/{PlayerAccountClosure-B7LJRfF_.js → PlayerAccountClosure-BqrCJaGp.js} +6 -6
  11. package/components/{PlayerAccountClosure-ByNnHtUf.cjs → PlayerAccountClosure-DG5NrDqY.cjs} +1 -1
  12. package/components/{PlayerAccountClosure-VNjXTTeE.js → PlayerAccountClosure-Dda9CHdX.js} +6 -6
  13. package/components/{PlayerAccountController-BNFenXlV.js → PlayerAccountController-BeY5S0EH.js} +209 -209
  14. package/components/{PlayerAccountController-4zAuIhXb.js → PlayerAccountController-Cu59Kubb.js} +209 -209
  15. package/components/{PlayerAccountController-B53eiCm2.cjs → PlayerAccountController-MSqVuCPp.cjs} +1 -1
  16. package/components/{PlayerAccountGamingLimits-DLyOkU8g.cjs → PlayerAccountGamingLimits-B2vzRems.cjs} +1 -1
  17. package/components/{PlayerAccountGamingLimits-BPAFyYb5.js → PlayerAccountGamingLimits-CJksEBIA.js} +124 -124
  18. package/components/{PlayerAccountGamingLimits-CSFkUiYY.js → PlayerAccountGamingLimits-CqPkjNdS.js} +124 -124
  19. package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +1 -0
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-DON2ejFa.js → PlayerAccountGamingLimitsConfirmationModal-BX8_aYoz.js} +38 -38
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-De1JAgPX.js → PlayerAccountGamingLimitsConfirmationModal-CfPKMMkU.js} +38 -38
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-CrgfBvua.js → PlayerAccountGamingLimitsGroupEdit-Ageqronh.js} +1009 -1009
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-B4l5VAbb.js → PlayerAccountGamingLimitsGroupEdit-BD9SWhvO.js} +1009 -1009
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-BEb7Fv28.cjs → PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs} +2 -2
  25. package/components/{PlayerAccountGamingLimitsHistory2-x-v5JjhN.cjs → PlayerAccountGamingLimitsHistory2-B6QgZ3Qd.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsHistory2-RFRr_X30.js → PlayerAccountGamingLimitsHistory2-BusoJL-w.js} +4 -4
  27. package/components/{PlayerAccountGamingLimitsHistory2-BRgxAXo_.js → PlayerAccountGamingLimitsHistory2-kH5zBkQX.js} +4 -4
  28. package/components/{PlayerAccountGamingLimitsInfoCard-BRDuV_cd.js → PlayerAccountGamingLimitsInfoCard-BHAREEgX.js} +7 -7
  29. package/components/{PlayerAccountGamingLimitsInfoCard-BiwEIF0r.js → PlayerAccountGamingLimitsInfoCard-BvQ7pktR.js} +7 -7
  30. package/components/{PlayerAccountGamingLimitsInfoCard-XCP1Kxff.cjs → PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-CwwjENW0.js → PlayerAccountGamingLimitsPage2Gm16-CAVf4Y-G.js} +28 -28
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-BWA71CAl.js → PlayerAccountGamingLimitsPage2Gm16-DJHbna0W.js} +39 -39
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16--rQhVE1q.cjs → PlayerAccountGamingLimitsPage2Gm16-ryQx6oP1.cjs} +4 -4
  34. package/components/{PlayerAccountGamingLimitsPopup-Biyoz4lK.js → PlayerAccountGamingLimitsPopup-Bl1xoGPY.js} +21 -21
  35. package/components/{PlayerAccountGamingLimitsPopup-cBscDgFe.js → PlayerAccountGamingLimitsPopup-D0ltWJSo.js} +21 -21
  36. package/components/{PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs → PlayerAccountGamingLimitsPopup-D16rhs4n.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsWrapper2-BIcWUcMl.cjs → PlayerAccountGamingLimitsWrapper2-BSqP4Sd8.cjs} +1 -1
  38. package/components/{PlayerAccountGamingLimitsWrapper2-D0KtfHqJ.js → PlayerAccountGamingLimitsWrapper2-nO_niNOc.js} +6 -6
  39. package/components/{PlayerAccountGamingLimitsWrapper2-BsvByvpk.js → PlayerAccountGamingLimitsWrapper2-vu5v2bbv.js} +6 -6
  40. package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +1 -0
  41. package/components/{PlayerAccountGeneralConfirmationModal-BNoE_P3G.js → PlayerAccountGeneralConfirmationModal-JvzRw4bx.js} +53 -53
  42. package/components/{PlayerAccountGeneralConfirmationModal-q4Du5zdg.js → PlayerAccountGeneralConfirmationModal-T_JYxL62.js} +53 -53
  43. package/components/{PlayerAccountMenu-BicTGCSZ.js → PlayerAccountMenu-C4sG1dhf.js} +7 -7
  44. package/components/{PlayerAccountMenu-BbdWpRLe.js → PlayerAccountMenu-DPpd0Onj.js} +7 -7
  45. package/components/{PlayerAccountMenu-CVBew6Nf.cjs → PlayerAccountMenu-JDfi5y52.cjs} +1 -1
  46. package/components/{PlayerAccountModal-Day4vMPZ.js → PlayerAccountModal-BGCTA59j.js} +10 -10
  47. package/components/{PlayerAccountModal-J-6B3L2x.js → PlayerAccountModal-DkyQ5JIi.js} +10 -10
  48. package/components/{PlayerAccountModal-DaIBO9tP.cjs → PlayerAccountModal-DvJ0OsPC.cjs} +1 -1
  49. package/components/{PlayerAccountNotifications-BbvJAh0S.cjs → PlayerAccountNotifications-CdPeCghS.cjs} +1 -1
  50. package/components/{PlayerAccountNotifications-wc_EBqY2.js → PlayerAccountNotifications-DTtMvV8M.js} +6 -6
  51. package/components/{PlayerAccountNotifications-PuDZBFQ4.js → PlayerAccountNotifications-OJnPC108.js} +6 -6
  52. package/components/{PlayerAccountProductRestriction-DJUublp5.cjs → PlayerAccountProductRestriction-BJ0LFpLp.cjs} +268 -268
  53. package/components/{PlayerAccountProductRestriction-BVD0VXs9.js → PlayerAccountProductRestriction-BtXJwF14.js} +2517 -2521
  54. package/components/{PlayerAccountProductRestriction-BA3Ht4v0.js → PlayerAccountProductRestriction-DSjfzN0L.js} +2494 -2498
  55. package/components/{PlayerAccountSelfExclusion-B9rXp_dv.js → PlayerAccountSelfExclusion-BFhhj0lU.js} +829 -830
  56. package/components/{PlayerAccountSelfExclusion-BwFD6ZJu.js → PlayerAccountSelfExclusion-CLHfQEii.js} +846 -847
  57. package/components/{PlayerAccountSelfExclusion-CwlTQfYm.cjs → PlayerAccountSelfExclusion-CdvQXAjK.cjs} +152 -152
  58. package/components/{PlayerAccountTimeout-DfxFUM4s.js → PlayerAccountTimeout-Dfa2jJXc.js} +43 -43
  59. package/components/{PlayerAccountTimeout-CPLGI8jX.cjs → PlayerAccountTimeout-Dhey1QrR.cjs} +1 -1
  60. package/components/{PlayerAccountTimeout-mAcIWL2w.js → PlayerAccountTimeout-lsP1D_FM.js} +43 -43
  61. package/components/{PlayerAccountTransactionsHistory-D_Rh7xzG.js → PlayerAccountTransactionsHistory-BumeG74E.js} +7 -7
  62. package/components/{PlayerAccountTransactionsHistory-B61bTygv.js → PlayerAccountTransactionsHistory-e7LnmN2n.js} +7 -7
  63. package/components/{PlayerAccountTransactionsHistory-J6QX4Mo6.cjs → PlayerAccountTransactionsHistory-x6Mj8Vqc.cjs} +1 -1
  64. package/components/{PlayerActiveBonuses-lflDqCU8.js → PlayerActiveBonuses-BWfdGowJ.js} +6 -6
  65. package/components/{PlayerActiveBonuses-DBGj3lj2.js → PlayerActiveBonuses-DcuRFKFP.js} +6 -6
  66. package/components/{PlayerActiveBonuses-VMRnoY1_.cjs → PlayerActiveBonuses-Me5Q3o65.cjs} +1 -1
  67. package/components/{PlayerBonusCard-D68dTYiw.js → PlayerBonusCard-CkEs_ikq.js} +7 -7
  68. package/components/{PlayerBonusCard-B58kMR83.js → PlayerBonusCard-D8XTVs99.js} +7 -7
  69. package/components/{PlayerBonusCard-KehruUku.cjs → PlayerBonusCard-DgyhSYBs.cjs} +1 -1
  70. package/components/{PlayerBonusHistory-WEjZxD6T.cjs → PlayerBonusHistory-BmeRyaDK.cjs} +1 -1
  71. package/components/{PlayerBonusHistory-BZz5QP4A.js → PlayerBonusHistory-CTKJuEJG.js} +7 -7
  72. package/components/{PlayerBonusHistory-BxcxPRN7.js → PlayerBonusHistory-DmYF8qYy.js} +7 -7
  73. package/components/{PlayerChangePassword-VQJYG-HQ.js → PlayerChangePassword-Cc15tSRv.js} +4 -4
  74. package/components/{PlayerChangePassword-DYpl0DV7.cjs → PlayerChangePassword-CfCN79eP.cjs} +1 -1
  75. package/components/{PlayerChangePassword-CQqQIyDU.js → PlayerChangePassword-Hj0mD9xL.js} +4 -4
  76. package/components/{PlayerDeposit-R4oRYCP7.js → PlayerDeposit-Bm1DOHlW.js} +73 -73
  77. package/components/{PlayerDeposit-nin4U--Y.js → PlayerDeposit-BpS3fS46.js} +73 -73
  78. package/components/PlayerDeposit-CmBFg6tX.cjs +1 -0
  79. package/components/{PlayerGamingHistory-VnHkfl2z.js → PlayerGamingHistory-B9lwGb0Z.js} +60 -60
  80. package/components/{PlayerGamingHistory-CN6XDOWB.js → PlayerGamingHistory-Bew4OVxF.js} +53 -53
  81. package/components/{PlayerGamingHistory-BxN4Cjj3.cjs → PlayerGamingHistory-F3yi70Vu.cjs} +1 -1
  82. package/components/{PlayerPendingWithdrawals-DfQ_PvkY.cjs → PlayerPendingWithdrawals-D-KWiMH6.cjs} +1 -1
  83. package/components/{PlayerPendingWithdrawals-adHFXpiC.js → PlayerPendingWithdrawals-pfC5sUpM.js} +6 -6
  84. package/components/{PlayerPendingWithdrawals-C1tt1OJl.js → PlayerPendingWithdrawals-scSFcYAA.js} +6 -6
  85. package/components/{PlayerProfileInfo-DpEH00v-.js → PlayerProfileInfo-1ELKHIQs.js} +108 -108
  86. package/components/{PlayerProfileInfo-CKJNYYA8.cjs → PlayerProfileInfo-CwZQ79SV.cjs} +1 -1
  87. package/components/{PlayerProfileInfo-CrGJ1yEi.js → PlayerProfileInfo-DYvdUkJZ.js} +95 -95
  88. package/components/{PlayerRealityCheck-CTGhzTwa.js → PlayerRealityCheck-DLPtMaP7.js} +6 -6
  89. package/components/{PlayerRealityCheck-Cq2rIALW.cjs → PlayerRealityCheck-JdOGHDG6.cjs} +1 -1
  90. package/components/{PlayerRealityCheck-JkP_hy_p.js → PlayerRealityCheck-pQWsLK1G.js} +6 -6
  91. package/components/{PlayerTransactionHistory-CQPQw37D.js → PlayerTransactionHistory-B7ts1zGr.js} +6 -6
  92. package/components/{PlayerTransactionHistory-DQfalEXN.js → PlayerTransactionHistory-CUa0IaZD.js} +6 -6
  93. package/components/{PlayerTransactionHistory-DPvvu8Wp.cjs → PlayerTransactionHistory-Hz2IWD73.cjs} +1 -1
  94. package/components/{PlayerWithdrawal-11j92uAk.js → PlayerWithdrawal-BTfz-sCc.js} +6 -6
  95. package/components/{PlayerWithdrawal-yB5c-nTz.js → PlayerWithdrawal-DYVDpOnE.js} +6 -6
  96. package/components/{PlayerWithdrawal-BcaC1sEF.cjs → PlayerWithdrawal-P_0MIA-u.cjs} +1 -1
  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-BBaHCJ8m.js → checkbox-group-input_15-7ljokaYC.js} +3225 -3231
  102. package/stencil/{checkbox-group-input_15-B47EbzkJ.js → checkbox-group-input_15-BzU_0jJ_.js} +3221 -3227
  103. package/stencil/{checkbox-group-input_15-BPXIBJ9O.cjs → checkbox-group-input_15-Fs7-YN7u.cjs} +271 -271
  104. package/stencil/{index-13661b98-D93Apl47.js → index-13661b98-BJM2hHx6.js} +124 -124
  105. package/stencil/{index-13661b98-BzYpZXJ-.js → index-13661b98-Cty_Ct2m.js} +245 -245
  106. package/stencil/index-13661b98-DuhNdmHd.cjs +1 -0
  107. package/stencil/index-1ef3a64c-DD-PHh2g.cjs +1 -0
  108. package/stencil/index-1ef3a64c-DQk1yZfC.js +556 -0
  109. package/stencil/{index-1ef3a64c-BJwg6KZV.js → index-1ef3a64c-DuKSFSN8.js} +201 -201
  110. package/stencil/{index-7c5e707a-BZ26MA7_.js → index-7c5e707a-B54Yjxc3.js} +135 -135
  111. package/stencil/{index-7c5e707a-CVVnpkZ1.js → index-7c5e707a-BHFN5Fx4.js} +145 -145
  112. package/stencil/index-7c5e707a-CFlTnjRT.cjs +1 -0
  113. package/stencil/index-9c0f6c58-8Ks3y9ln.cjs +1 -0
  114. package/stencil/{index-9c0f6c58-DH5Ki39B.js → index-9c0f6c58-GCIFeGLp.js} +118 -118
  115. package/stencil/{index-9c0f6c58-8sXzcKbt.js → index-9c0f6c58-Ucwc3Jk1.js} +223 -223
  116. package/stencil/index-b2193545-BMFR9-V2.cjs +1 -0
  117. package/stencil/{index-b2193545-DfDFpDFs.js → index-b2193545-DPKCFIaU.js} +169 -169
  118. package/stencil/{index-b2193545-BekNYO1T.js → index-b2193545-LzjWxki5.js} +176 -176
  119. package/stencil/{pam-change-password-h1ivBSP6.js → pam-change-password-Bdu7Bk_h.js} +1 -1
  120. package/stencil/{pam-change-password-9bMd9dOQ.js → pam-change-password-DSAfkY23.js} +1 -1
  121. package/stencil/{pam-change-password-af5033a0-BdPXYjRb.js → pam-change-password-af5033a0-BfWHc1Rw.js} +59 -59
  122. package/stencil/{pam-change-password-af5033a0-CPFagM2l.cjs → pam-change-password-af5033a0-C18GwNdS.cjs} +2 -2
  123. package/stencil/{pam-change-password-af5033a0-CXI6y6VZ.js → pam-change-password-af5033a0-DYGjeRTR.js} +59 -59
  124. package/stencil/{pam-change-password-D9deCtek.cjs → pam-change-password-mcRyjsPo.cjs} +1 -1
  125. package/stencil/{player-kyc-verification-u-XUlDen.js → player-kyc-verification-B9ZaCq1K.js} +1 -1
  126. package/stencil/{player-kyc-verification-DW2tWbg_.cjs → player-kyc-verification-D10m225z.cjs} +1 -1
  127. package/stencil/{player-kyc-verification-BJuBsd7A.js → player-kyc-verification-Wsswi9br.js} +1 -1
  128. package/stencil/{ui-skeleton-CnxOhYAT.js → ui-skeleton-2XsWxl4S.js} +2 -2
  129. package/stencil/{ui-skeleton-Bez-iF-R.cjs → ui-skeleton-Cbqo0oYF.cjs} +1 -1
  130. package/stencil/{ui-skeleton-CScGJdv_.js → ui-skeleton-LneRlsD3.js} +2 -2
  131. package/stencil/{ui-skeleton-ae35c6f2-Bl0_r9TX.js → ui-skeleton-ae35c6f2-8s3Rqu1P.js} +1 -1
  132. package/stencil/{ui-skeleton-ae35c6f2-D37mmp9J.cjs → ui-skeleton-ae35c6f2-B4ncHe9g.cjs} +1 -1
  133. package/stencil/{ui-skeleton-ae35c6f2-CXRVKjq-.js → ui-skeleton-ae35c6f2-OnzqIAY0.js} +1 -1
  134. package/stencil/{user-deposit-withdrawal-KqJCF9Hl.cjs → user-deposit-withdrawal-BP58nPO1.cjs} +2 -2
  135. package/stencil/{user-deposit-withdrawal-B7dnuKq0.js → user-deposit-withdrawal-CSakhNt1.js} +45 -45
  136. package/stencil/{user-deposit-withdrawal-ar8K3Kn7.js → user-deposit-withdrawal-DcVKAa80.js} +45 -45
  137. package/stencil/{user-transaction-history-o1zvVNkt.js → user-transaction-history-BrBScppC.js} +600 -600
  138. package/stencil/{user-transaction-history-D86WcqZY.js → user-transaction-history-D0jBcRwe.js} +588 -588
  139. package/stencil/user-transaction-history-HA_tfHfo.cjs +1 -0
  140. package/components/GeneralLogout-TofSUXEw.cjs +0 -21
  141. package/components/PlayerAccountBettingHistory-85apG_ux.cjs +0 -1
  142. package/components/PlayerAccountBettingHistory-CuMJRUaH.js +0 -310
  143. package/components/PlayerAccountBettingHistory-ZZH1M51O.js +0 -311
  144. package/components/PlayerAccountGamingLimitsConfirmationModal-cxg0byfD.cjs +0 -1
  145. package/components/PlayerAccountGeneralConfirmationModal-BFCCI67b.cjs +0 -1
  146. package/components/PlayerDeposit-BLDWbMBK.cjs +0 -1
  147. package/stencil/index-13661b98-DBuU9Lk0.cjs +0 -1
  148. package/stencil/index-1ef3a64c-BkMv_VME.cjs +0 -1
  149. package/stencil/index-1ef3a64c-Cl4fiqPl.js +0 -556
  150. package/stencil/index-7c5e707a-d0LYIjGl.cjs +0 -1
  151. package/stencil/index-9c0f6c58-CbFwvYJ1.cjs +0 -1
  152. package/stencil/index-b2193545-BteAUmdh.cjs +0 -1
  153. package/stencil/user-transaction-history-xgpDQYWU.cjs +0 -1
@@ -1,11 +1,11 @@
1
- import { b as rt, p as it, r as ot, g as R, h as o, H as st, a as lt } from "./index-7c5e707a-BZ26MA7_.js";
2
- import { d as ut } from "./app-globals-0f993ce5-DzSE6TtH.js";
3
- var dt = () => {
4
- const e = import.meta.url, t = {};
5
- return e !== "" && (t.resourcesUrl = new URL(".", e).href), it(t);
1
+ import { b as re, p as ie, r as oe, g as R, h as o, H as se, a as le } from "./index-7c5e707a-B54Yjxc3.js";
2
+ import { d as ue } from "./app-globals-0f993ce5-DzSE6TtH.js";
3
+ var de = () => {
4
+ const t = import.meta.url, e = {};
5
+ return t !== "" && (e.resourcesUrl = new URL(".", t).href), ie(e);
6
6
  };
7
- dt().then(async (e) => (await ut(), rt([["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)));
8
- const ct = {
7
+ de().then(async (t) => (await ue(), re([["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"] }]]]], t)));
8
+ const ce = {
9
9
  en: {
10
10
  deposit: "Deposit",
11
11
  withdrawals: "Withdrawals",
@@ -40,41 +40,41 @@ const ct = {
40
40
  class l {
41
41
  constructor() {
42
42
  }
43
- static async loadCustomTranslations(t) {
43
+ static async loadCustomTranslations(e) {
44
44
  try {
45
- const a = await fetch(t, {
45
+ const n = await fetch(e, {
46
46
  headers: {
47
47
  "Content-Type": "application/json"
48
48
  }
49
49
  });
50
- if (!a.ok) {
51
- const r = await a.text();
50
+ if (!n.ok) {
51
+ const r = await n.text();
52
52
  throw new Error(r);
53
53
  }
54
- const n = await a.json();
55
- l.updateTranslations(n);
56
- } catch (a) {
57
- console.error(`Failed to load translations ${t}. ${a.message}`);
54
+ const a = await n.json();
55
+ l.updateTranslations(a);
56
+ } catch (n) {
57
+ console.error(`Failed to load translations ${e}. ${n.message}`);
58
58
  }
59
59
  }
60
- static translate(t, a) {
61
- var n, r;
62
- const i = l.getAvaliableLanguages(a);
63
- return ((r = (n = l.customTranslation) === null || n === void 0 ? void 0 : n[i.customLanguage]) === null || r === void 0 ? void 0 : r[t]) || l.defaultTranslation[i.predefinedLanguage][t];
60
+ static translate(e, n) {
61
+ var a, r;
62
+ const i = l.getAvaliableLanguages(n);
63
+ return ((r = (a = l.customTranslation) === null || a === void 0 ? void 0 : a[i.customLanguage]) === null || r === void 0 ? void 0 : r[e]) || l.defaultTranslation[i.predefinedLanguage][e];
64
64
  }
65
- static getAvaliableLanguages(t) {
66
- var a;
67
- const n = !((a = l.customLanguages) === null || a === void 0) && a.includes(t) ? t : l.defaultLanguage;
68
- return { predefinedLanguage: l.supportedLanguages.includes(t) ? t : l.defaultLanguage, customLanguage: n };
65
+ static getAvaliableLanguages(e) {
66
+ var n;
67
+ const a = !((n = l.customLanguages) === null || n === void 0) && n.includes(e) ? e : l.defaultLanguage;
68
+ return { predefinedLanguage: l.supportedLanguages.includes(e) ? e : l.defaultLanguage, customLanguage: a };
69
69
  }
70
- static updateTranslations(t) {
71
- l.customLanguages = Array.from(/* @__PURE__ */ new Set([...l.supportedLanguages, ...Object.keys(t).map((a) => a.toLowerCase())])), l.customTranslation = t;
70
+ static updateTranslations(e) {
71
+ l.customLanguages = Array.from(/* @__PURE__ */ new Set([...l.supportedLanguages, ...Object.keys(e).map((n) => n.toLowerCase())])), l.customTranslation = e;
72
72
  }
73
73
  }
74
74
  l.defaultLanguage = "en";
75
75
  l.supportedLanguages = ["en"];
76
- l.defaultTranslation = ct;
77
- const ht = () => o(
76
+ l.defaultTranslation = ce;
77
+ const fe = () => o(
78
78
  "div",
79
79
  { class: "loader" },
80
80
  o("div", null),
@@ -90,182 +90,182 @@ const ht = () => o(
90
90
  o("div", null),
91
91
  o("div", null)
92
92
  );
93
- function Y(e) {
93
+ function Y(t) {
94
94
  "@babel/helpers - typeof";
95
- return Y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
96
- return typeof t;
97
- } : function(t) {
98
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
99
- }, Y(e);
95
+ return Y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
96
+ return typeof e;
97
+ } : function(e) {
98
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
99
+ }, Y(t);
100
100
  }
101
- function v(e, t) {
102
- if (t.length < e)
103
- throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present");
101
+ function p(t, e) {
102
+ if (e.length < t)
103
+ throw new TypeError(t + " argument" + (t > 1 ? "s" : "") + " required, but only " + e.length + " present");
104
104
  }
105
- function ft(e) {
106
- return v(1, arguments), e instanceof Date || Y(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
105
+ function he(t) {
106
+ return p(1, arguments), t instanceof Date || Y(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
107
107
  }
108
- function y(e) {
109
- v(1, arguments);
110
- var t = Object.prototype.toString.call(e);
111
- 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 < "u" && (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)), /* @__PURE__ */ new Date(NaN));
108
+ function y(t) {
109
+ p(1, arguments);
110
+ var e = Object.prototype.toString.call(t);
111
+ return t instanceof Date || Y(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "string" || e === "[object String]") && typeof console < "u" && (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)), /* @__PURE__ */ new Date(NaN));
112
112
  }
113
- function mt(e) {
114
- if (v(1, arguments), !ft(e) && typeof e != "number")
113
+ function me(t) {
114
+ if (p(1, arguments), !he(t) && typeof t != "number")
115
115
  return !1;
116
- var t = y(e);
117
- return !isNaN(Number(t));
116
+ var e = y(t);
117
+ return !isNaN(Number(e));
118
118
  }
119
- function k(e) {
120
- if (e === null || e === !0 || e === !1)
119
+ function k(t) {
120
+ if (t === null || t === !0 || t === !1)
121
121
  return NaN;
122
- var t = Number(e);
123
- return isNaN(t) ? t : t < 0 ? Math.ceil(t) : Math.floor(t);
122
+ var e = Number(t);
123
+ return isNaN(e) ? e : e < 0 ? Math.ceil(e) : Math.floor(e);
124
124
  }
125
- function gt(e, t) {
126
- v(2, arguments);
127
- var a = y(e).getTime(), n = k(t);
128
- return new Date(a + n);
125
+ function ge(t, e) {
126
+ p(2, arguments);
127
+ var n = y(t).getTime(), a = k(e);
128
+ return new Date(n + a);
129
129
  }
130
- function vt(e, t) {
131
- v(2, arguments);
132
- var a = k(t);
133
- return gt(e, -a);
130
+ function pe(t, e) {
131
+ p(2, arguments);
132
+ var n = k(e);
133
+ return ge(t, -n);
134
134
  }
135
- var pt = 864e5;
136
- function bt(e) {
137
- v(1, arguments);
138
- var t = y(e), a = t.getTime();
139
- t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
140
- var n = t.getTime(), r = a - n;
141
- return Math.floor(r / pt) + 1;
135
+ var ve = 864e5;
136
+ function be(t) {
137
+ p(1, arguments);
138
+ var e = y(t), n = e.getTime();
139
+ e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
140
+ var a = e.getTime(), r = n - a;
141
+ return Math.floor(r / ve) + 1;
142
142
  }
143
- function _(e) {
144
- v(1, arguments);
145
- var t = 1, a = y(e), n = a.getUTCDay(), r = (n < t ? 7 : 0) + n - t;
146
- return a.setUTCDate(a.getUTCDate() - r), a.setUTCHours(0, 0, 0, 0), a;
143
+ function _(t) {
144
+ p(1, arguments);
145
+ var e = 1, n = y(t), a = n.getUTCDay(), r = (a < e ? 7 : 0) + a - e;
146
+ return n.setUTCDate(n.getUTCDate() - r), n.setUTCHours(0, 0, 0, 0), n;
147
147
  }
148
- function G(e) {
149
- v(1, arguments);
150
- var t = y(e), a = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
151
- n.setUTCFullYear(a + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
152
- var r = _(n), i = /* @__PURE__ */ new Date(0);
153
- i.setUTCFullYear(a, 0, 4), i.setUTCHours(0, 0, 0, 0);
148
+ function G(t) {
149
+ p(1, arguments);
150
+ var e = y(t), n = e.getUTCFullYear(), a = /* @__PURE__ */ new Date(0);
151
+ a.setUTCFullYear(n + 1, 0, 4), a.setUTCHours(0, 0, 0, 0);
152
+ var r = _(a), i = /* @__PURE__ */ new Date(0);
153
+ i.setUTCFullYear(n, 0, 4), i.setUTCHours(0, 0, 0, 0);
154
154
  var s = _(i);
155
- return t.getTime() >= r.getTime() ? a + 1 : t.getTime() >= s.getTime() ? a : a - 1;
155
+ return e.getTime() >= r.getTime() ? n + 1 : e.getTime() >= s.getTime() ? n : n - 1;
156
156
  }
157
- function wt(e) {
158
- v(1, arguments);
159
- var t = G(e), a = /* @__PURE__ */ new Date(0);
160
- a.setUTCFullYear(t, 0, 4), a.setUTCHours(0, 0, 0, 0);
161
- var n = _(a);
162
- return n;
157
+ function we(t) {
158
+ p(1, arguments);
159
+ var e = G(t), n = /* @__PURE__ */ new Date(0);
160
+ n.setUTCFullYear(e, 0, 4), n.setUTCHours(0, 0, 0, 0);
161
+ var a = _(n);
162
+ return a;
163
163
  }
164
- var yt = 6048e5;
165
- function xt(e) {
166
- v(1, arguments);
167
- var t = y(e), a = _(t).getTime() - wt(t).getTime();
168
- return Math.round(a / yt) + 1;
164
+ var ye = 6048e5;
165
+ function xe(t) {
166
+ p(1, arguments);
167
+ var e = y(t), n = _(e).getTime() - we(e).getTime();
168
+ return Math.round(n / ye) + 1;
169
169
  }
170
- var Tt = {};
170
+ var Te = {};
171
171
  function B() {
172
- return Tt;
172
+ return Te;
173
173
  }
174
- function L(e, t) {
175
- var a, n, r, i, s, d, c, h;
176
- v(1, arguments);
177
- var m = B(), f = k((a = (n = (r = (i = t?.weekStartsOn) !== null && i !== void 0 ? i : t == null || (s = t.locale) === null || s === void 0 || (d = s.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && r !== void 0 ? r : m.weekStartsOn) !== null && n !== void 0 ? n : (c = m.locale) === null || c === void 0 || (h = c.options) === null || h === void 0 ? void 0 : h.weekStartsOn) !== null && a !== void 0 ? a : 0);
178
- if (!(f >= 0 && f <= 6))
174
+ function L(t, e) {
175
+ var n, a, r, i, s, d, c, f;
176
+ p(1, arguments);
177
+ var m = B(), h = k((n = (a = (r = (i = e?.weekStartsOn) !== null && i !== void 0 ? i : e == null || (s = e.locale) === null || s === void 0 || (d = s.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && r !== void 0 ? r : m.weekStartsOn) !== null && a !== void 0 ? a : (c = m.locale) === null || c === void 0 || (f = c.options) === null || f === void 0 ? void 0 : f.weekStartsOn) !== null && n !== void 0 ? n : 0);
178
+ if (!(h >= 0 && h <= 6))
179
179
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
180
- var p = y(e), g = p.getUTCDay(), w = (g < f ? 7 : 0) + g - f;
181
- return p.setUTCDate(p.getUTCDate() - w), p.setUTCHours(0, 0, 0, 0), p;
180
+ var v = y(t), g = v.getUTCDay(), w = (g < h ? 7 : 0) + g - h;
181
+ return v.setUTCDate(v.getUTCDate() - w), v.setUTCHours(0, 0, 0, 0), v;
182
182
  }
183
- function V(e, t) {
184
- var a, n, r, i, s, d, c, h;
185
- v(1, arguments);
186
- var m = y(e), f = m.getUTCFullYear(), p = B(), g = k((a = (n = (r = (i = t?.firstWeekContainsDate) !== null && i !== void 0 ? i : t == null || (s = t.locale) === null || s === void 0 || (d = s.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && r !== void 0 ? r : p.firstWeekContainsDate) !== null && n !== void 0 ? n : (c = p.locale) === null || c === void 0 || (h = c.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
183
+ function V(t, e) {
184
+ var n, a, r, i, s, d, c, f;
185
+ p(1, arguments);
186
+ var m = y(t), h = m.getUTCFullYear(), v = B(), g = k((n = (a = (r = (i = e?.firstWeekContainsDate) !== null && i !== void 0 ? i : e == null || (s = e.locale) === null || s === void 0 || (d = s.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && r !== void 0 ? r : v.firstWeekContainsDate) !== null && a !== void 0 ? a : (c = v.locale) === null || c === void 0 || (f = c.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && n !== void 0 ? n : 1);
187
187
  if (!(g >= 1 && g <= 7))
188
188
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
189
189
  var w = /* @__PURE__ */ new Date(0);
190
- w.setUTCFullYear(f + 1, 0, g), w.setUTCHours(0, 0, 0, 0);
191
- var D = L(w, t), C = /* @__PURE__ */ new Date(0);
192
- C.setUTCFullYear(f, 0, g), C.setUTCHours(0, 0, 0, 0);
193
- var $ = L(C, t);
194
- return m.getTime() >= D.getTime() ? f + 1 : m.getTime() >= $.getTime() ? f : f - 1;
190
+ w.setUTCFullYear(h + 1, 0, g), w.setUTCHours(0, 0, 0, 0);
191
+ var D = L(w, e), C = /* @__PURE__ */ new Date(0);
192
+ C.setUTCFullYear(h, 0, g), C.setUTCHours(0, 0, 0, 0);
193
+ var $ = L(C, e);
194
+ return m.getTime() >= D.getTime() ? h + 1 : m.getTime() >= $.getTime() ? h : h - 1;
195
195
  }
196
- function Ct(e, t) {
197
- var a, n, r, i, s, d, c, h;
198
- v(1, arguments);
199
- var m = B(), f = k((a = (n = (r = (i = t?.firstWeekContainsDate) !== null && i !== void 0 ? i : t == null || (s = t.locale) === null || s === void 0 || (d = s.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && r !== void 0 ? r : m.firstWeekContainsDate) !== null && n !== void 0 ? n : (c = m.locale) === null || c === void 0 || (h = c.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), p = V(e, t), g = /* @__PURE__ */ new Date(0);
200
- g.setUTCFullYear(p, 0, f), g.setUTCHours(0, 0, 0, 0);
201
- var w = L(g, t);
196
+ function Ce(t, e) {
197
+ var n, a, r, i, s, d, c, f;
198
+ p(1, arguments);
199
+ var m = B(), h = k((n = (a = (r = (i = e?.firstWeekContainsDate) !== null && i !== void 0 ? i : e == null || (s = e.locale) === null || s === void 0 || (d = s.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && r !== void 0 ? r : m.firstWeekContainsDate) !== null && a !== void 0 ? a : (c = m.locale) === null || c === void 0 || (f = c.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && n !== void 0 ? n : 1), v = V(t, e), g = /* @__PURE__ */ new Date(0);
200
+ g.setUTCFullYear(v, 0, h), g.setUTCHours(0, 0, 0, 0);
201
+ var w = L(g, e);
202
202
  return w;
203
203
  }
204
- var St = 6048e5;
205
- function kt(e, t) {
206
- v(1, arguments);
207
- var a = y(e), n = L(a, t).getTime() - Ct(a, t).getTime();
208
- return Math.round(n / St) + 1;
204
+ var Se = 6048e5;
205
+ function ke(t, e) {
206
+ p(1, arguments);
207
+ var n = y(t), a = L(n, e).getTime() - Ce(n, e).getTime();
208
+ return Math.round(a / Se) + 1;
209
209
  }
210
- function u(e, t) {
211
- for (var a = e < 0 ? "-" : "", n = Math.abs(e).toString(); n.length < t; )
212
- n = "0" + n;
213
- return a + n;
210
+ function u(t, e) {
211
+ for (var n = t < 0 ? "-" : "", a = Math.abs(t).toString(); a.length < e; )
212
+ a = "0" + a;
213
+ return n + a;
214
214
  }
215
- var Mt = {
215
+ var Me = {
216
216
  // Year
217
- y: function(t, a) {
218
- var n = t.getUTCFullYear(), r = n > 0 ? n : 1 - n;
219
- return u(a === "yy" ? r % 100 : r, a.length);
217
+ y: function(e, n) {
218
+ var a = e.getUTCFullYear(), r = a > 0 ? a : 1 - a;
219
+ return u(n === "yy" ? r % 100 : r, n.length);
220
220
  },
221
221
  // Month
222
- M: function(t, a) {
223
- var n = t.getUTCMonth();
224
- return a === "M" ? String(n + 1) : u(n + 1, 2);
222
+ M: function(e, n) {
223
+ var a = e.getUTCMonth();
224
+ return n === "M" ? String(a + 1) : u(a + 1, 2);
225
225
  },
226
226
  // Day of the month
227
- d: function(t, a) {
228
- return u(t.getUTCDate(), a.length);
227
+ d: function(e, n) {
228
+ return u(e.getUTCDate(), n.length);
229
229
  },
230
230
  // AM or PM
231
- a: function(t, a) {
232
- var n = t.getUTCHours() / 12 >= 1 ? "pm" : "am";
233
- switch (a) {
231
+ a: function(e, n) {
232
+ var a = e.getUTCHours() / 12 >= 1 ? "pm" : "am";
233
+ switch (n) {
234
234
  case "a":
235
235
  case "aa":
236
- return n.toUpperCase();
236
+ return a.toUpperCase();
237
237
  case "aaa":
238
- return n;
238
+ return a;
239
239
  case "aaaaa":
240
- return n[0];
240
+ return a[0];
241
241
  case "aaaa":
242
242
  default:
243
- return n === "am" ? "a.m." : "p.m.";
243
+ return a === "am" ? "a.m." : "p.m.";
244
244
  }
245
245
  },
246
246
  // Hour [1-12]
247
- h: function(t, a) {
248
- return u(t.getUTCHours() % 12 || 12, a.length);
247
+ h: function(e, n) {
248
+ return u(e.getUTCHours() % 12 || 12, n.length);
249
249
  },
250
250
  // Hour [0-23]
251
- H: function(t, a) {
252
- return u(t.getUTCHours(), a.length);
251
+ H: function(e, n) {
252
+ return u(e.getUTCHours(), n.length);
253
253
  },
254
254
  // Minute
255
- m: function(t, a) {
256
- return u(t.getUTCMinutes(), a.length);
255
+ m: function(e, n) {
256
+ return u(e.getUTCMinutes(), n.length);
257
257
  },
258
258
  // Second
259
- s: function(t, a) {
260
- return u(t.getUTCSeconds(), a.length);
259
+ s: function(e, n) {
260
+ return u(e.getUTCSeconds(), n.length);
261
261
  },
262
262
  // Fraction of second
263
- S: function(t, a) {
264
- var n = a.length, r = t.getUTCMilliseconds(), i = Math.floor(r * Math.pow(10, n - 3));
265
- return u(i, a.length);
263
+ S: function(e, n) {
264
+ var a = n.length, r = e.getUTCMilliseconds(), i = Math.floor(r * Math.pow(10, a - 3));
265
+ return u(i, n.length);
266
266
  }
267
267
  };
268
- const T = Mt;
268
+ const T = Me;
269
269
  var M = {
270
270
  am: "am",
271
271
  pm: "pm",
@@ -275,53 +275,53 @@ var M = {
275
275
  afternoon: "afternoon",
276
276
  evening: "evening",
277
277
  night: "night"
278
- }, Dt = {
278
+ }, De = {
279
279
  // Era
280
- G: function(t, a, n) {
281
- var r = t.getUTCFullYear() > 0 ? 1 : 0;
282
- switch (a) {
280
+ G: function(e, n, a) {
281
+ var r = e.getUTCFullYear() > 0 ? 1 : 0;
282
+ switch (n) {
283
283
  case "G":
284
284
  case "GG":
285
285
  case "GGG":
286
- return n.era(r, {
286
+ return a.era(r, {
287
287
  width: "abbreviated"
288
288
  });
289
289
  case "GGGGG":
290
- return n.era(r, {
290
+ return a.era(r, {
291
291
  width: "narrow"
292
292
  });
293
293
  case "GGGG":
294
294
  default:
295
- return n.era(r, {
295
+ return a.era(r, {
296
296
  width: "wide"
297
297
  });
298
298
  }
299
299
  },
300
300
  // Year
301
- y: function(t, a, n) {
302
- if (a === "yo") {
303
- var r = t.getUTCFullYear(), i = r > 0 ? r : 1 - r;
304
- return n.ordinalNumber(i, {
301
+ y: function(e, n, a) {
302
+ if (n === "yo") {
303
+ var r = e.getUTCFullYear(), i = r > 0 ? r : 1 - r;
304
+ return a.ordinalNumber(i, {
305
305
  unit: "year"
306
306
  });
307
307
  }
308
- return T.y(t, a);
308
+ return T.y(e, n);
309
309
  },
310
310
  // Local week-numbering year
311
- Y: function(t, a, n, r) {
312
- var i = V(t, r), s = i > 0 ? i : 1 - i;
313
- if (a === "YY") {
311
+ Y: function(e, n, a, r) {
312
+ var i = V(e, r), s = i > 0 ? i : 1 - i;
313
+ if (n === "YY") {
314
314
  var d = s % 100;
315
315
  return u(d, 2);
316
316
  }
317
- return a === "Yo" ? n.ordinalNumber(s, {
317
+ return n === "Yo" ? a.ordinalNumber(s, {
318
318
  unit: "year"
319
- }) : u(s, a.length);
319
+ }) : u(s, n.length);
320
320
  },
321
321
  // ISO week-numbering year
322
- R: function(t, a) {
323
- var n = G(t);
324
- return u(n, a.length);
322
+ R: function(e, n) {
323
+ var a = G(e);
324
+ return u(a, n.length);
325
325
  },
326
326
  // Extended year. This is a single number designating the year of this calendar system.
327
327
  // The main difference between `y` and `u` localizers are B.C. years:
@@ -332,422 +332,422 @@ var M = {
332
332
  // | BC 2 | 2 | -1 |
333
333
  // Also `yy` always returns the last two digits of a year,
334
334
  // while `uu` pads single digit years to 2 characters and returns other years unchanged.
335
- u: function(t, a) {
336
- var n = t.getUTCFullYear();
337
- return u(n, a.length);
335
+ u: function(e, n) {
336
+ var a = e.getUTCFullYear();
337
+ return u(a, n.length);
338
338
  },
339
339
  // Quarter
340
- Q: function(t, a, n) {
341
- var r = Math.ceil((t.getUTCMonth() + 1) / 3);
342
- switch (a) {
340
+ Q: function(e, n, a) {
341
+ var r = Math.ceil((e.getUTCMonth() + 1) / 3);
342
+ switch (n) {
343
343
  case "Q":
344
344
  return String(r);
345
345
  case "QQ":
346
346
  return u(r, 2);
347
347
  case "Qo":
348
- return n.ordinalNumber(r, {
348
+ return a.ordinalNumber(r, {
349
349
  unit: "quarter"
350
350
  });
351
351
  case "QQQ":
352
- return n.quarter(r, {
352
+ return a.quarter(r, {
353
353
  width: "abbreviated",
354
354
  context: "formatting"
355
355
  });
356
356
  case "QQQQQ":
357
- return n.quarter(r, {
357
+ return a.quarter(r, {
358
358
  width: "narrow",
359
359
  context: "formatting"
360
360
  });
361
361
  case "QQQQ":
362
362
  default:
363
- return n.quarter(r, {
363
+ return a.quarter(r, {
364
364
  width: "wide",
365
365
  context: "formatting"
366
366
  });
367
367
  }
368
368
  },
369
369
  // Stand-alone quarter
370
- q: function(t, a, n) {
371
- var r = Math.ceil((t.getUTCMonth() + 1) / 3);
372
- switch (a) {
370
+ q: function(e, n, a) {
371
+ var r = Math.ceil((e.getUTCMonth() + 1) / 3);
372
+ switch (n) {
373
373
  case "q":
374
374
  return String(r);
375
375
  case "qq":
376
376
  return u(r, 2);
377
377
  case "qo":
378
- return n.ordinalNumber(r, {
378
+ return a.ordinalNumber(r, {
379
379
  unit: "quarter"
380
380
  });
381
381
  case "qqq":
382
- return n.quarter(r, {
382
+ return a.quarter(r, {
383
383
  width: "abbreviated",
384
384
  context: "standalone"
385
385
  });
386
386
  case "qqqqq":
387
- return n.quarter(r, {
387
+ return a.quarter(r, {
388
388
  width: "narrow",
389
389
  context: "standalone"
390
390
  });
391
391
  case "qqqq":
392
392
  default:
393
- return n.quarter(r, {
393
+ return a.quarter(r, {
394
394
  width: "wide",
395
395
  context: "standalone"
396
396
  });
397
397
  }
398
398
  },
399
399
  // Month
400
- M: function(t, a, n) {
401
- var r = t.getUTCMonth();
402
- switch (a) {
400
+ M: function(e, n, a) {
401
+ var r = e.getUTCMonth();
402
+ switch (n) {
403
403
  case "M":
404
404
  case "MM":
405
- return T.M(t, a);
405
+ return T.M(e, n);
406
406
  case "Mo":
407
- return n.ordinalNumber(r + 1, {
407
+ return a.ordinalNumber(r + 1, {
408
408
  unit: "month"
409
409
  });
410
410
  case "MMM":
411
- return n.month(r, {
411
+ return a.month(r, {
412
412
  width: "abbreviated",
413
413
  context: "formatting"
414
414
  });
415
415
  case "MMMMM":
416
- return n.month(r, {
416
+ return a.month(r, {
417
417
  width: "narrow",
418
418
  context: "formatting"
419
419
  });
420
420
  case "MMMM":
421
421
  default:
422
- return n.month(r, {
422
+ return a.month(r, {
423
423
  width: "wide",
424
424
  context: "formatting"
425
425
  });
426
426
  }
427
427
  },
428
428
  // Stand-alone month
429
- L: function(t, a, n) {
430
- var r = t.getUTCMonth();
431
- switch (a) {
429
+ L: function(e, n, a) {
430
+ var r = e.getUTCMonth();
431
+ switch (n) {
432
432
  case "L":
433
433
  return String(r + 1);
434
434
  case "LL":
435
435
  return u(r + 1, 2);
436
436
  case "Lo":
437
- return n.ordinalNumber(r + 1, {
437
+ return a.ordinalNumber(r + 1, {
438
438
  unit: "month"
439
439
  });
440
440
  case "LLL":
441
- return n.month(r, {
441
+ return a.month(r, {
442
442
  width: "abbreviated",
443
443
  context: "standalone"
444
444
  });
445
445
  case "LLLLL":
446
- return n.month(r, {
446
+ return a.month(r, {
447
447
  width: "narrow",
448
448
  context: "standalone"
449
449
  });
450
450
  case "LLLL":
451
451
  default:
452
- return n.month(r, {
452
+ return a.month(r, {
453
453
  width: "wide",
454
454
  context: "standalone"
455
455
  });
456
456
  }
457
457
  },
458
458
  // Local week of year
459
- w: function(t, a, n, r) {
460
- var i = kt(t, r);
461
- return a === "wo" ? n.ordinalNumber(i, {
459
+ w: function(e, n, a, r) {
460
+ var i = ke(e, r);
461
+ return n === "wo" ? a.ordinalNumber(i, {
462
462
  unit: "week"
463
- }) : u(i, a.length);
463
+ }) : u(i, n.length);
464
464
  },
465
465
  // ISO week of year
466
- I: function(t, a, n) {
467
- var r = xt(t);
468
- return a === "Io" ? n.ordinalNumber(r, {
466
+ I: function(e, n, a) {
467
+ var r = xe(e);
468
+ return n === "Io" ? a.ordinalNumber(r, {
469
469
  unit: "week"
470
- }) : u(r, a.length);
470
+ }) : u(r, n.length);
471
471
  },
472
472
  // Day of the month
473
- d: function(t, a, n) {
474
- return a === "do" ? n.ordinalNumber(t.getUTCDate(), {
473
+ d: function(e, n, a) {
474
+ return n === "do" ? a.ordinalNumber(e.getUTCDate(), {
475
475
  unit: "date"
476
- }) : T.d(t, a);
476
+ }) : T.d(e, n);
477
477
  },
478
478
  // Day of year
479
- D: function(t, a, n) {
480
- var r = bt(t);
481
- return a === "Do" ? n.ordinalNumber(r, {
479
+ D: function(e, n, a) {
480
+ var r = be(e);
481
+ return n === "Do" ? a.ordinalNumber(r, {
482
482
  unit: "dayOfYear"
483
- }) : u(r, a.length);
483
+ }) : u(r, n.length);
484
484
  },
485
485
  // Day of week
486
- E: function(t, a, n) {
487
- var r = t.getUTCDay();
488
- switch (a) {
486
+ E: function(e, n, a) {
487
+ var r = e.getUTCDay();
488
+ switch (n) {
489
489
  case "E":
490
490
  case "EE":
491
491
  case "EEE":
492
- return n.day(r, {
492
+ return a.day(r, {
493
493
  width: "abbreviated",
494
494
  context: "formatting"
495
495
  });
496
496
  case "EEEEE":
497
- return n.day(r, {
497
+ return a.day(r, {
498
498
  width: "narrow",
499
499
  context: "formatting"
500
500
  });
501
501
  case "EEEEEE":
502
- return n.day(r, {
502
+ return a.day(r, {
503
503
  width: "short",
504
504
  context: "formatting"
505
505
  });
506
506
  case "EEEE":
507
507
  default:
508
- return n.day(r, {
508
+ return a.day(r, {
509
509
  width: "wide",
510
510
  context: "formatting"
511
511
  });
512
512
  }
513
513
  },
514
514
  // Local day of week
515
- e: function(t, a, n, r) {
516
- var i = t.getUTCDay(), s = (i - r.weekStartsOn + 8) % 7 || 7;
517
- switch (a) {
515
+ e: function(e, n, a, r) {
516
+ var i = e.getUTCDay(), s = (i - r.weekStartsOn + 8) % 7 || 7;
517
+ switch (n) {
518
518
  case "e":
519
519
  return String(s);
520
520
  case "ee":
521
521
  return u(s, 2);
522
522
  case "eo":
523
- return n.ordinalNumber(s, {
523
+ return a.ordinalNumber(s, {
524
524
  unit: "day"
525
525
  });
526
526
  case "eee":
527
- return n.day(i, {
527
+ return a.day(i, {
528
528
  width: "abbreviated",
529
529
  context: "formatting"
530
530
  });
531
531
  case "eeeee":
532
- return n.day(i, {
532
+ return a.day(i, {
533
533
  width: "narrow",
534
534
  context: "formatting"
535
535
  });
536
536
  case "eeeeee":
537
- return n.day(i, {
537
+ return a.day(i, {
538
538
  width: "short",
539
539
  context: "formatting"
540
540
  });
541
541
  case "eeee":
542
542
  default:
543
- return n.day(i, {
543
+ return a.day(i, {
544
544
  width: "wide",
545
545
  context: "formatting"
546
546
  });
547
547
  }
548
548
  },
549
549
  // Stand-alone local day of week
550
- c: function(t, a, n, r) {
551
- var i = t.getUTCDay(), s = (i - r.weekStartsOn + 8) % 7 || 7;
552
- switch (a) {
550
+ c: function(e, n, a, r) {
551
+ var i = e.getUTCDay(), s = (i - r.weekStartsOn + 8) % 7 || 7;
552
+ switch (n) {
553
553
  case "c":
554
554
  return String(s);
555
555
  case "cc":
556
- return u(s, a.length);
556
+ return u(s, n.length);
557
557
  case "co":
558
- return n.ordinalNumber(s, {
558
+ return a.ordinalNumber(s, {
559
559
  unit: "day"
560
560
  });
561
561
  case "ccc":
562
- return n.day(i, {
562
+ return a.day(i, {
563
563
  width: "abbreviated",
564
564
  context: "standalone"
565
565
  });
566
566
  case "ccccc":
567
- return n.day(i, {
567
+ return a.day(i, {
568
568
  width: "narrow",
569
569
  context: "standalone"
570
570
  });
571
571
  case "cccccc":
572
- return n.day(i, {
572
+ return a.day(i, {
573
573
  width: "short",
574
574
  context: "standalone"
575
575
  });
576
576
  case "cccc":
577
577
  default:
578
- return n.day(i, {
578
+ return a.day(i, {
579
579
  width: "wide",
580
580
  context: "standalone"
581
581
  });
582
582
  }
583
583
  },
584
584
  // ISO day of week
585
- i: function(t, a, n) {
586
- var r = t.getUTCDay(), i = r === 0 ? 7 : r;
587
- switch (a) {
585
+ i: function(e, n, a) {
586
+ var r = e.getUTCDay(), i = r === 0 ? 7 : r;
587
+ switch (n) {
588
588
  case "i":
589
589
  return String(i);
590
590
  case "ii":
591
- return u(i, a.length);
591
+ return u(i, n.length);
592
592
  case "io":
593
- return n.ordinalNumber(i, {
593
+ return a.ordinalNumber(i, {
594
594
  unit: "day"
595
595
  });
596
596
  case "iii":
597
- return n.day(r, {
597
+ return a.day(r, {
598
598
  width: "abbreviated",
599
599
  context: "formatting"
600
600
  });
601
601
  case "iiiii":
602
- return n.day(r, {
602
+ return a.day(r, {
603
603
  width: "narrow",
604
604
  context: "formatting"
605
605
  });
606
606
  case "iiiiii":
607
- return n.day(r, {
607
+ return a.day(r, {
608
608
  width: "short",
609
609
  context: "formatting"
610
610
  });
611
611
  case "iiii":
612
612
  default:
613
- return n.day(r, {
613
+ return a.day(r, {
614
614
  width: "wide",
615
615
  context: "formatting"
616
616
  });
617
617
  }
618
618
  },
619
619
  // AM or PM
620
- a: function(t, a, n) {
621
- var r = t.getUTCHours(), i = r / 12 >= 1 ? "pm" : "am";
622
- switch (a) {
620
+ a: function(e, n, a) {
621
+ var r = e.getUTCHours(), i = r / 12 >= 1 ? "pm" : "am";
622
+ switch (n) {
623
623
  case "a":
624
624
  case "aa":
625
- return n.dayPeriod(i, {
625
+ return a.dayPeriod(i, {
626
626
  width: "abbreviated",
627
627
  context: "formatting"
628
628
  });
629
629
  case "aaa":
630
- return n.dayPeriod(i, {
630
+ return a.dayPeriod(i, {
631
631
  width: "abbreviated",
632
632
  context: "formatting"
633
633
  }).toLowerCase();
634
634
  case "aaaaa":
635
- return n.dayPeriod(i, {
635
+ return a.dayPeriod(i, {
636
636
  width: "narrow",
637
637
  context: "formatting"
638
638
  });
639
639
  case "aaaa":
640
640
  default:
641
- return n.dayPeriod(i, {
641
+ return a.dayPeriod(i, {
642
642
  width: "wide",
643
643
  context: "formatting"
644
644
  });
645
645
  }
646
646
  },
647
647
  // AM, PM, midnight, noon
648
- b: function(t, a, n) {
649
- var r = t.getUTCHours(), i;
650
- switch (r === 12 ? i = M.noon : r === 0 ? i = M.midnight : i = r / 12 >= 1 ? "pm" : "am", a) {
648
+ b: function(e, n, a) {
649
+ var r = e.getUTCHours(), i;
650
+ switch (r === 12 ? i = M.noon : r === 0 ? i = M.midnight : i = r / 12 >= 1 ? "pm" : "am", n) {
651
651
  case "b":
652
652
  case "bb":
653
- return n.dayPeriod(i, {
653
+ return a.dayPeriod(i, {
654
654
  width: "abbreviated",
655
655
  context: "formatting"
656
656
  });
657
657
  case "bbb":
658
- return n.dayPeriod(i, {
658
+ return a.dayPeriod(i, {
659
659
  width: "abbreviated",
660
660
  context: "formatting"
661
661
  }).toLowerCase();
662
662
  case "bbbbb":
663
- return n.dayPeriod(i, {
663
+ return a.dayPeriod(i, {
664
664
  width: "narrow",
665
665
  context: "formatting"
666
666
  });
667
667
  case "bbbb":
668
668
  default:
669
- return n.dayPeriod(i, {
669
+ return a.dayPeriod(i, {
670
670
  width: "wide",
671
671
  context: "formatting"
672
672
  });
673
673
  }
674
674
  },
675
675
  // in the morning, in the afternoon, in the evening, at night
676
- B: function(t, a, n) {
677
- var r = t.getUTCHours(), i;
678
- switch (r >= 17 ? i = M.evening : r >= 12 ? i = M.afternoon : r >= 4 ? i = M.morning : i = M.night, a) {
676
+ B: function(e, n, a) {
677
+ var r = e.getUTCHours(), i;
678
+ switch (r >= 17 ? i = M.evening : r >= 12 ? i = M.afternoon : r >= 4 ? i = M.morning : i = M.night, n) {
679
679
  case "B":
680
680
  case "BB":
681
681
  case "BBB":
682
- return n.dayPeriod(i, {
682
+ return a.dayPeriod(i, {
683
683
  width: "abbreviated",
684
684
  context: "formatting"
685
685
  });
686
686
  case "BBBBB":
687
- return n.dayPeriod(i, {
687
+ return a.dayPeriod(i, {
688
688
  width: "narrow",
689
689
  context: "formatting"
690
690
  });
691
691
  case "BBBB":
692
692
  default:
693
- return n.dayPeriod(i, {
693
+ return a.dayPeriod(i, {
694
694
  width: "wide",
695
695
  context: "formatting"
696
696
  });
697
697
  }
698
698
  },
699
699
  // Hour [1-12]
700
- h: function(t, a, n) {
701
- if (a === "ho") {
702
- var r = t.getUTCHours() % 12;
703
- return r === 0 && (r = 12), n.ordinalNumber(r, {
700
+ h: function(e, n, a) {
701
+ if (n === "ho") {
702
+ var r = e.getUTCHours() % 12;
703
+ return r === 0 && (r = 12), a.ordinalNumber(r, {
704
704
  unit: "hour"
705
705
  });
706
706
  }
707
- return T.h(t, a);
707
+ return T.h(e, n);
708
708
  },
709
709
  // Hour [0-23]
710
- H: function(t, a, n) {
711
- return a === "Ho" ? n.ordinalNumber(t.getUTCHours(), {
710
+ H: function(e, n, a) {
711
+ return n === "Ho" ? a.ordinalNumber(e.getUTCHours(), {
712
712
  unit: "hour"
713
- }) : T.H(t, a);
713
+ }) : T.H(e, n);
714
714
  },
715
715
  // Hour [0-11]
716
- K: function(t, a, n) {
717
- var r = t.getUTCHours() % 12;
718
- return a === "Ko" ? n.ordinalNumber(r, {
716
+ K: function(e, n, a) {
717
+ var r = e.getUTCHours() % 12;
718
+ return n === "Ko" ? a.ordinalNumber(r, {
719
719
  unit: "hour"
720
- }) : u(r, a.length);
720
+ }) : u(r, n.length);
721
721
  },
722
722
  // Hour [1-24]
723
- k: function(t, a, n) {
724
- var r = t.getUTCHours();
725
- return r === 0 && (r = 24), a === "ko" ? n.ordinalNumber(r, {
723
+ k: function(e, n, a) {
724
+ var r = e.getUTCHours();
725
+ return r === 0 && (r = 24), n === "ko" ? a.ordinalNumber(r, {
726
726
  unit: "hour"
727
- }) : u(r, a.length);
727
+ }) : u(r, n.length);
728
728
  },
729
729
  // Minute
730
- m: function(t, a, n) {
731
- return a === "mo" ? n.ordinalNumber(t.getUTCMinutes(), {
730
+ m: function(e, n, a) {
731
+ return n === "mo" ? a.ordinalNumber(e.getUTCMinutes(), {
732
732
  unit: "minute"
733
- }) : T.m(t, a);
733
+ }) : T.m(e, n);
734
734
  },
735
735
  // Second
736
- s: function(t, a, n) {
737
- return a === "so" ? n.ordinalNumber(t.getUTCSeconds(), {
736
+ s: function(e, n, a) {
737
+ return n === "so" ? a.ordinalNumber(e.getUTCSeconds(), {
738
738
  unit: "second"
739
- }) : T.s(t, a);
739
+ }) : T.s(e, n);
740
740
  },
741
741
  // Fraction of second
742
- S: function(t, a) {
743
- return T.S(t, a);
742
+ S: function(e, n) {
743
+ return T.S(e, n);
744
744
  },
745
745
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
746
- X: function(t, a, n, r) {
747
- var i = r._originalDate || t, s = i.getTimezoneOffset();
746
+ X: function(e, n, a, r) {
747
+ var i = r._originalDate || e, s = i.getTimezoneOffset();
748
748
  if (s === 0)
749
749
  return "Z";
750
- switch (a) {
750
+ switch (n) {
751
751
  case "X":
752
752
  return j(s);
753
753
  case "XXXX":
@@ -760,9 +760,9 @@ var M = {
760
760
  }
761
761
  },
762
762
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
763
- x: function(t, a, n, r) {
764
- var i = r._originalDate || t, s = i.getTimezoneOffset();
765
- switch (a) {
763
+ x: function(e, n, a, r) {
764
+ var i = r._originalDate || e, s = i.getTimezoneOffset();
765
+ switch (n) {
766
766
  case "x":
767
767
  return j(s);
768
768
  case "xxxx":
@@ -775,9 +775,9 @@ var M = {
775
775
  }
776
776
  },
777
777
  // Timezone (GMT)
778
- O: function(t, a, n, r) {
779
- var i = r._originalDate || t, s = i.getTimezoneOffset();
780
- switch (a) {
778
+ O: function(e, n, a, r) {
779
+ var i = r._originalDate || e, s = i.getTimezoneOffset();
780
+ switch (n) {
781
781
  case "O":
782
782
  case "OO":
783
783
  case "OOO":
@@ -788,9 +788,9 @@ var M = {
788
788
  }
789
789
  },
790
790
  // Timezone (specific non-location)
791
- z: function(t, a, n, r) {
792
- var i = r._originalDate || t, s = i.getTimezoneOffset();
793
- switch (a) {
791
+ z: function(e, n, a, r) {
792
+ var i = r._originalDate || e, s = i.getTimezoneOffset();
793
+ switch (n) {
794
794
  case "z":
795
795
  case "zz":
796
796
  case "zzz":
@@ -801,131 +801,131 @@ var M = {
801
801
  }
802
802
  },
803
803
  // Seconds timestamp
804
- t: function(t, a, n, r) {
805
- var i = r._originalDate || t, s = Math.floor(i.getTime() / 1e3);
806
- return u(s, a.length);
804
+ t: function(e, n, a, r) {
805
+ var i = r._originalDate || e, s = Math.floor(i.getTime() / 1e3);
806
+ return u(s, n.length);
807
807
  },
808
808
  // Milliseconds timestamp
809
- T: function(t, a, n, r) {
810
- var i = r._originalDate || t, s = i.getTime();
811
- return u(s, a.length);
809
+ T: function(e, n, a, r) {
810
+ var i = r._originalDate || e, s = i.getTime();
811
+ return u(s, n.length);
812
812
  }
813
813
  };
814
- function q(e, t) {
815
- var a = e > 0 ? "-" : "+", n = Math.abs(e), r = Math.floor(n / 60), i = n % 60;
814
+ function q(t, e) {
815
+ var n = t > 0 ? "-" : "+", a = Math.abs(t), r = Math.floor(a / 60), i = a % 60;
816
816
  if (i === 0)
817
- return a + String(r);
818
- var s = t;
819
- return a + String(r) + s + u(i, 2);
817
+ return n + String(r);
818
+ var s = e;
819
+ return n + String(r) + s + u(i, 2);
820
820
  }
821
- function j(e, t) {
822
- if (e % 60 === 0) {
823
- var a = e > 0 ? "-" : "+";
824
- return a + u(Math.abs(e) / 60, 2);
821
+ function j(t, e) {
822
+ if (t % 60 === 0) {
823
+ var n = t > 0 ? "-" : "+";
824
+ return n + u(Math.abs(t) / 60, 2);
825
825
  }
826
- return S(e, t);
826
+ return S(t, e);
827
827
  }
828
- function S(e, t) {
829
- var a = t || "", n = e > 0 ? "-" : "+", r = Math.abs(e), i = u(Math.floor(r / 60), 2), s = u(r % 60, 2);
830
- return n + i + a + s;
828
+ function S(t, e) {
829
+ var n = e || "", a = t > 0 ? "-" : "+", r = Math.abs(t), i = u(Math.floor(r / 60), 2), s = u(r % 60, 2);
830
+ return a + i + n + s;
831
831
  }
832
- const Pt = Dt;
833
- var z = function(t, a) {
834
- switch (t) {
832
+ const Pe = De;
833
+ var z = function(e, n) {
834
+ switch (e) {
835
835
  case "P":
836
- return a.date({
836
+ return n.date({
837
837
  width: "short"
838
838
  });
839
839
  case "PP":
840
- return a.date({
840
+ return n.date({
841
841
  width: "medium"
842
842
  });
843
843
  case "PPP":
844
- return a.date({
844
+ return n.date({
845
845
  width: "long"
846
846
  });
847
847
  case "PPPP":
848
848
  default:
849
- return a.date({
849
+ return n.date({
850
850
  width: "full"
851
851
  });
852
852
  }
853
- }, J = function(t, a) {
854
- switch (t) {
853
+ }, J = function(e, n) {
854
+ switch (e) {
855
855
  case "p":
856
- return a.time({
856
+ return n.time({
857
857
  width: "short"
858
858
  });
859
859
  case "pp":
860
- return a.time({
860
+ return n.time({
861
861
  width: "medium"
862
862
  });
863
863
  case "ppp":
864
- return a.time({
864
+ return n.time({
865
865
  width: "long"
866
866
  });
867
867
  case "pppp":
868
868
  default:
869
- return a.time({
869
+ return n.time({
870
870
  width: "full"
871
871
  });
872
872
  }
873
- }, Ot = function(t, a) {
874
- var n = t.match(/(P+)(p+)?/) || [], r = n[1], i = n[2];
873
+ }, Oe = function(e, n) {
874
+ var a = e.match(/(P+)(p+)?/) || [], r = a[1], i = a[2];
875
875
  if (!i)
876
- return z(t, a);
876
+ return z(e, n);
877
877
  var s;
878
878
  switch (r) {
879
879
  case "P":
880
- s = a.dateTime({
880
+ s = n.dateTime({
881
881
  width: "short"
882
882
  });
883
883
  break;
884
884
  case "PP":
885
- s = a.dateTime({
885
+ s = n.dateTime({
886
886
  width: "medium"
887
887
  });
888
888
  break;
889
889
  case "PPP":
890
- s = a.dateTime({
890
+ s = n.dateTime({
891
891
  width: "long"
892
892
  });
893
893
  break;
894
894
  case "PPPP":
895
895
  default:
896
- s = a.dateTime({
896
+ s = n.dateTime({
897
897
  width: "full"
898
898
  });
899
899
  break;
900
900
  }
901
- return s.replace("{{date}}", z(r, a)).replace("{{time}}", J(i, a));
902
- }, Ut = {
901
+ return s.replace("{{date}}", z(r, n)).replace("{{time}}", J(i, n));
902
+ }, Ue = {
903
903
  p: J,
904
- P: Ot
904
+ P: Oe
905
905
  };
906
- const Wt = Ut;
907
- function Ft(e) {
908
- var t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
909
- return t.setUTCFullYear(e.getFullYear()), e.getTime() - t.getTime();
906
+ const We = Ue;
907
+ function Fe(t) {
908
+ var e = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
909
+ return e.setUTCFullYear(t.getFullYear()), t.getTime() - e.getTime();
910
910
  }
911
- var Et = ["D", "DD"], Yt = ["YY", "YYYY"];
912
- function _t(e) {
913
- return Et.indexOf(e) !== -1;
911
+ var Ee = ["D", "DD"], Ye = ["YY", "YYYY"];
912
+ function _e(t) {
913
+ return Ee.indexOf(t) !== -1;
914
914
  }
915
- function Lt(e) {
916
- return Yt.indexOf(e) !== -1;
915
+ function Le(t) {
916
+ return Ye.indexOf(t) !== -1;
917
917
  }
918
- function A(e, t, a) {
919
- if (e === "YYYY")
920
- 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"));
921
- if (e === "YY")
922
- 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"));
923
- if (e === "D")
924
- 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"));
925
- if (e === "DD")
926
- 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"));
918
+ function A(t, e, n) {
919
+ if (t === "YYYY")
920
+ throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(n, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
921
+ if (t === "YY")
922
+ throw new RangeError("Use `yy` instead of `YY` (in `".concat(e, "`) for formatting years to the input `").concat(n, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
923
+ if (t === "D")
924
+ throw new RangeError("Use `d` instead of `D` (in `".concat(e, "`) for formatting days of the month to the input `").concat(n, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
925
+ if (t === "DD")
926
+ throw new RangeError("Use `dd` instead of `DD` (in `".concat(e, "`) for formatting days of the month to the input `").concat(n, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
927
927
  }
928
- var Bt = {
928
+ var Be = {
929
929
  lessThanXSeconds: {
930
930
  one: "less than a second",
931
931
  other: "less than {{count}} seconds"
@@ -987,90 +987,90 @@ var Bt = {
987
987
  one: "almost 1 year",
988
988
  other: "almost {{count}} years"
989
989
  }
990
- }, $t = function(t, a, n) {
991
- var r, i = Bt[t];
992
- 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;
990
+ }, $e = function(e, n, a) {
991
+ var r, i = Be[e];
992
+ return typeof i == "string" ? r = i : n === 1 ? r = i.one : r = i.other.replace("{{count}}", n.toString()), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "in " + r : r + " ago" : r;
993
993
  };
994
- const Nt = $t;
995
- function I(e) {
994
+ const Ne = $e;
995
+ function I(t) {
996
996
  return function() {
997
- 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];
998
- return n;
997
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = e.width ? String(e.width) : t.defaultWidth, a = t.formats[n] || t.formats[t.defaultWidth];
998
+ return a;
999
999
  };
1000
1000
  }
1001
- var Ht = {
1001
+ var He = {
1002
1002
  full: "EEEE, MMMM do, y",
1003
1003
  long: "MMMM do, y",
1004
1004
  medium: "MMM d, y",
1005
1005
  short: "MM/dd/yyyy"
1006
- }, It = {
1006
+ }, Ie = {
1007
1007
  full: "h:mm:ss a zzzz",
1008
1008
  long: "h:mm:ss a z",
1009
1009
  medium: "h:mm:ss a",
1010
1010
  short: "h:mm a"
1011
- }, Rt = {
1011
+ }, Re = {
1012
1012
  full: "{{date}} 'at' {{time}}",
1013
1013
  long: "{{date}} 'at' {{time}}",
1014
1014
  medium: "{{date}}, {{time}}",
1015
1015
  short: "{{date}}, {{time}}"
1016
- }, qt = {
1016
+ }, qe = {
1017
1017
  date: I({
1018
- formats: Ht,
1018
+ formats: He,
1019
1019
  defaultWidth: "full"
1020
1020
  }),
1021
1021
  time: I({
1022
- formats: It,
1022
+ formats: Ie,
1023
1023
  defaultWidth: "full"
1024
1024
  }),
1025
1025
  dateTime: I({
1026
- formats: Rt,
1026
+ formats: Re,
1027
1027
  defaultWidth: "full"
1028
1028
  })
1029
1029
  };
1030
- const jt = qt;
1031
- var zt = {
1030
+ const je = qe;
1031
+ var ze = {
1032
1032
  lastWeek: "'last' eeee 'at' p",
1033
1033
  yesterday: "'yesterday at' p",
1034
1034
  today: "'today at' p",
1035
1035
  tomorrow: "'tomorrow at' p",
1036
1036
  nextWeek: "eeee 'at' p",
1037
1037
  other: "P"
1038
- }, At = function(t, a, n, r) {
1039
- return zt[t];
1038
+ }, Ae = function(e, n, a, r) {
1039
+ return ze[e];
1040
1040
  };
1041
- const Qt = At;
1042
- function U(e) {
1043
- return function(t, a) {
1044
- var n = a != null && a.context ? String(a.context) : "standalone", r;
1045
- if (n === "formatting" && e.formattingValues) {
1046
- var i = e.defaultFormattingWidth || e.defaultWidth, s = a != null && a.width ? String(a.width) : i;
1047
- r = e.formattingValues[s] || e.formattingValues[i];
1041
+ const Qe = Ae;
1042
+ function U(t) {
1043
+ return function(e, n) {
1044
+ var a = n != null && n.context ? String(n.context) : "standalone", r;
1045
+ if (a === "formatting" && t.formattingValues) {
1046
+ var i = t.defaultFormattingWidth || t.defaultWidth, s = n != null && n.width ? String(n.width) : i;
1047
+ r = t.formattingValues[s] || t.formattingValues[i];
1048
1048
  } else {
1049
- var d = e.defaultWidth, c = a != null && a.width ? String(a.width) : e.defaultWidth;
1050
- r = e.values[c] || e.values[d];
1049
+ var d = t.defaultWidth, c = n != null && n.width ? String(n.width) : t.defaultWidth;
1050
+ r = t.values[c] || t.values[d];
1051
1051
  }
1052
- var h = e.argumentCallback ? e.argumentCallback(t) : t;
1053
- return r[h];
1052
+ var f = t.argumentCallback ? t.argumentCallback(e) : e;
1053
+ return r[f];
1054
1054
  };
1055
1055
  }
1056
- var Xt = {
1056
+ var Xe = {
1057
1057
  narrow: ["B", "A"],
1058
1058
  abbreviated: ["BC", "AD"],
1059
1059
  wide: ["Before Christ", "Anno Domini"]
1060
- }, Gt = {
1060
+ }, Ge = {
1061
1061
  narrow: ["1", "2", "3", "4"],
1062
1062
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
1063
1063
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
1064
- }, Vt = {
1064
+ }, Ve = {
1065
1065
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
1066
1066
  abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
1067
1067
  wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
1068
- }, Jt = {
1068
+ }, Je = {
1069
1069
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
1070
1070
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
1071
1071
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
1072
1072
  wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
1073
- }, Kt = {
1073
+ }, Ke = {
1074
1074
  narrow: {
1075
1075
  am: "a",
1076
1076
  pm: "p",
@@ -1101,7 +1101,7 @@ var Xt = {
1101
1101
  evening: "evening",
1102
1102
  night: "night"
1103
1103
  }
1104
- }, Zt = {
1104
+ }, Ze = {
1105
1105
  narrow: {
1106
1106
  am: "a",
1107
1107
  pm: "p",
@@ -1132,123 +1132,123 @@ var Xt = {
1132
1132
  evening: "in the evening",
1133
1133
  night: "at night"
1134
1134
  }
1135
- }, te = function(t, a) {
1136
- var n = Number(t), r = n % 100;
1135
+ }, et = function(e, n) {
1136
+ var a = Number(e), r = a % 100;
1137
1137
  if (r > 20 || r < 10)
1138
1138
  switch (r % 10) {
1139
1139
  case 1:
1140
- return n + "st";
1140
+ return a + "st";
1141
1141
  case 2:
1142
- return n + "nd";
1142
+ return a + "nd";
1143
1143
  case 3:
1144
- return n + "rd";
1144
+ return a + "rd";
1145
1145
  }
1146
- return n + "th";
1147
- }, ee = {
1148
- ordinalNumber: te,
1146
+ return a + "th";
1147
+ }, tt = {
1148
+ ordinalNumber: et,
1149
1149
  era: U({
1150
- values: Xt,
1150
+ values: Xe,
1151
1151
  defaultWidth: "wide"
1152
1152
  }),
1153
1153
  quarter: U({
1154
- values: Gt,
1154
+ values: Ge,
1155
1155
  defaultWidth: "wide",
1156
- argumentCallback: function(t) {
1157
- return t - 1;
1156
+ argumentCallback: function(e) {
1157
+ return e - 1;
1158
1158
  }
1159
1159
  }),
1160
1160
  month: U({
1161
- values: Vt,
1161
+ values: Ve,
1162
1162
  defaultWidth: "wide"
1163
1163
  }),
1164
1164
  day: U({
1165
- values: Jt,
1165
+ values: Je,
1166
1166
  defaultWidth: "wide"
1167
1167
  }),
1168
1168
  dayPeriod: U({
1169
- values: Kt,
1169
+ values: Ke,
1170
1170
  defaultWidth: "wide",
1171
- formattingValues: Zt,
1171
+ formattingValues: Ze,
1172
1172
  defaultFormattingWidth: "wide"
1173
1173
  })
1174
1174
  };
1175
- const ae = ee;
1176
- function W(e) {
1177
- return function(t) {
1178
- 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);
1175
+ const nt = tt;
1176
+ function W(t) {
1177
+ return function(e) {
1178
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.width, r = a && t.matchPatterns[a] || t.matchPatterns[t.defaultMatchWidth], i = e.match(r);
1179
1179
  if (!i)
1180
1180
  return null;
1181
- var s = i[0], d = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(d) ? re(d, function(f) {
1182
- return f.test(s);
1183
- }) : ne(d, function(f) {
1184
- return f.test(s);
1185
- }), h;
1186
- h = e.valueCallback ? e.valueCallback(c) : c, h = a.valueCallback ? a.valueCallback(h) : h;
1187
- var m = t.slice(s.length);
1181
+ var s = i[0], d = a && t.parsePatterns[a] || t.parsePatterns[t.defaultParseWidth], c = Array.isArray(d) ? rt(d, function(h) {
1182
+ return h.test(s);
1183
+ }) : at(d, function(h) {
1184
+ return h.test(s);
1185
+ }), f;
1186
+ f = t.valueCallback ? t.valueCallback(c) : c, f = n.valueCallback ? n.valueCallback(f) : f;
1187
+ var m = e.slice(s.length);
1188
1188
  return {
1189
- value: h,
1189
+ value: f,
1190
1190
  rest: m
1191
1191
  };
1192
1192
  };
1193
1193
  }
1194
- function ne(e, t) {
1195
- for (var a in e)
1196
- if (e.hasOwnProperty(a) && t(e[a]))
1197
- return a;
1194
+ function at(t, e) {
1195
+ for (var n in t)
1196
+ if (t.hasOwnProperty(n) && e(t[n]))
1197
+ return n;
1198
1198
  }
1199
- function re(e, t) {
1200
- for (var a = 0; a < e.length; a++)
1201
- if (t(e[a]))
1202
- return a;
1199
+ function rt(t, e) {
1200
+ for (var n = 0; n < t.length; n++)
1201
+ if (e(t[n]))
1202
+ return n;
1203
1203
  }
1204
- function ie(e) {
1205
- return function(t) {
1206
- var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.match(e.matchPattern);
1207
- if (!n)
1204
+ function it(t) {
1205
+ return function(e) {
1206
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = e.match(t.matchPattern);
1207
+ if (!a)
1208
1208
  return null;
1209
- var r = n[0], i = t.match(e.parsePattern);
1209
+ var r = a[0], i = e.match(t.parsePattern);
1210
1210
  if (!i)
1211
1211
  return null;
1212
- var s = e.valueCallback ? e.valueCallback(i[0]) : i[0];
1213
- s = a.valueCallback ? a.valueCallback(s) : s;
1214
- var d = t.slice(r.length);
1212
+ var s = t.valueCallback ? t.valueCallback(i[0]) : i[0];
1213
+ s = n.valueCallback ? n.valueCallback(s) : s;
1214
+ var d = e.slice(r.length);
1215
1215
  return {
1216
1216
  value: s,
1217
1217
  rest: d
1218
1218
  };
1219
1219
  };
1220
1220
  }
1221
- var oe = /^(\d+)(th|st|nd|rd)?/i, se = /\d+/i, le = {
1221
+ var ot = /^(\d+)(th|st|nd|rd)?/i, st = /\d+/i, lt = {
1222
1222
  narrow: /^(b|a)/i,
1223
1223
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
1224
1224
  wide: /^(before christ|before common era|anno domini|common era)/i
1225
- }, ue = {
1225
+ }, ut = {
1226
1226
  any: [/^b/i, /^(a|c)/i]
1227
- }, de = {
1227
+ }, dt = {
1228
1228
  narrow: /^[1234]/i,
1229
1229
  abbreviated: /^q[1234]/i,
1230
1230
  wide: /^[1234](th|st|nd|rd)? quarter/i
1231
- }, ce = {
1231
+ }, ct = {
1232
1232
  any: [/1/i, /2/i, /3/i, /4/i]
1233
- }, he = {
1233
+ }, ft = {
1234
1234
  narrow: /^[jfmasond]/i,
1235
1235
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
1236
1236
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
1237
- }, fe = {
1237
+ }, ht = {
1238
1238
  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],
1239
1239
  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]
1240
- }, me = {
1240
+ }, mt = {
1241
1241
  narrow: /^[smtwf]/i,
1242
1242
  short: /^(su|mo|tu|we|th|fr|sa)/i,
1243
1243
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
1244
1244
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
1245
- }, ge = {
1245
+ }, gt = {
1246
1246
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
1247
1247
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
1248
- }, ve = {
1248
+ }, pt = {
1249
1249
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
1250
1250
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
1251
- }, pe = {
1251
+ }, vt = {
1252
1252
  any: {
1253
1253
  am: /^a/i,
1254
1254
  pm: /^p/i,
@@ -1259,166 +1259,166 @@ var oe = /^(\d+)(th|st|nd|rd)?/i, se = /\d+/i, le = {
1259
1259
  evening: /evening/i,
1260
1260
  night: /night/i
1261
1261
  }
1262
- }, be = {
1263
- ordinalNumber: ie({
1264
- matchPattern: oe,
1265
- parsePattern: se,
1266
- valueCallback: function(t) {
1267
- return parseInt(t, 10);
1262
+ }, bt = {
1263
+ ordinalNumber: it({
1264
+ matchPattern: ot,
1265
+ parsePattern: st,
1266
+ valueCallback: function(e) {
1267
+ return parseInt(e, 10);
1268
1268
  }
1269
1269
  }),
1270
1270
  era: W({
1271
- matchPatterns: le,
1271
+ matchPatterns: lt,
1272
1272
  defaultMatchWidth: "wide",
1273
- parsePatterns: ue,
1273
+ parsePatterns: ut,
1274
1274
  defaultParseWidth: "any"
1275
1275
  }),
1276
1276
  quarter: W({
1277
- matchPatterns: de,
1277
+ matchPatterns: dt,
1278
1278
  defaultMatchWidth: "wide",
1279
- parsePatterns: ce,
1279
+ parsePatterns: ct,
1280
1280
  defaultParseWidth: "any",
1281
- valueCallback: function(t) {
1282
- return t + 1;
1281
+ valueCallback: function(e) {
1282
+ return e + 1;
1283
1283
  }
1284
1284
  }),
1285
1285
  month: W({
1286
- matchPatterns: he,
1286
+ matchPatterns: ft,
1287
1287
  defaultMatchWidth: "wide",
1288
- parsePatterns: fe,
1288
+ parsePatterns: ht,
1289
1289
  defaultParseWidth: "any"
1290
1290
  }),
1291
1291
  day: W({
1292
- matchPatterns: me,
1292
+ matchPatterns: mt,
1293
1293
  defaultMatchWidth: "wide",
1294
- parsePatterns: ge,
1294
+ parsePatterns: gt,
1295
1295
  defaultParseWidth: "any"
1296
1296
  }),
1297
1297
  dayPeriod: W({
1298
- matchPatterns: ve,
1298
+ matchPatterns: pt,
1299
1299
  defaultMatchWidth: "any",
1300
- parsePatterns: pe,
1300
+ parsePatterns: vt,
1301
1301
  defaultParseWidth: "any"
1302
1302
  })
1303
1303
  };
1304
- const we = be;
1305
- var ye = {
1304
+ const wt = bt;
1305
+ var yt = {
1306
1306
  code: "en-US",
1307
- formatDistance: Nt,
1308
- formatLong: jt,
1309
- formatRelative: Qt,
1310
- localize: ae,
1311
- match: we,
1307
+ formatDistance: Ne,
1308
+ formatLong: je,
1309
+ formatRelative: Qe,
1310
+ localize: nt,
1311
+ match: wt,
1312
1312
  options: {
1313
1313
  weekStartsOn: 0,
1314
1314
  firstWeekContainsDate: 1
1315
1315
  }
1316
1316
  };
1317
- const xe = ye;
1318
- var Te = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ce = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Se = /^'([^]*?)'?$/, ke = /''/g, Me = /[a-zA-Z]/;
1319
- function De(e, t, a) {
1320
- var n, r, i, s, d, c, h, m, f, p, g, w, D, C;
1321
- v(2, arguments);
1322
- var $ = String(t), P = B(), O = (n = (r = void 0) !== null && r !== void 0 ? r : P.locale) !== null && n !== void 0 ? n : xe, N = k((i = (s = (d = (c = void 0) !== null && c !== void 0 ? c : void 0) !== null && d !== void 0 ? d : P.firstWeekContainsDate) !== null && s !== void 0 ? s : (h = P.locale) === null || h === void 0 || (m = h.options) === null || m === void 0 ? void 0 : m.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
1317
+ const xt = yt;
1318
+ var Tt = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ct = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, St = /^'([^]*?)'?$/, kt = /''/g, Mt = /[a-zA-Z]/;
1319
+ function Dt(t, e, n) {
1320
+ var a, r, i, s, d, c, f, m, h, v, g, w, D, C;
1321
+ p(2, arguments);
1322
+ var $ = String(e), P = B(), O = (a = (r = void 0) !== null && r !== void 0 ? r : P.locale) !== null && a !== void 0 ? a : xt, N = k((i = (s = (d = (c = void 0) !== null && c !== void 0 ? c : void 0) !== null && d !== void 0 ? d : P.firstWeekContainsDate) !== null && s !== void 0 ? s : (f = P.locale) === null || f === void 0 || (m = f.options) === null || m === void 0 ? void 0 : m.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
1323
1323
  if (!(N >= 1 && N <= 7))
1324
1324
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1325
- var H = 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);
1325
+ var H = k((h = (v = (g = (w = void 0) !== null && w !== void 0 ? w : void 0) !== null && g !== void 0 ? g : P.weekStartsOn) !== null && v !== void 0 ? v : (D = P.locale) === null || D === void 0 || (C = D.options) === null || C === void 0 ? void 0 : C.weekStartsOn) !== null && h !== void 0 ? h : 0);
1326
1326
  if (!(H >= 0 && H <= 6))
1327
1327
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1328
1328
  if (!O.localize)
1329
1329
  throw new RangeError("locale must contain localize property");
1330
1330
  if (!O.formatLong)
1331
1331
  throw new RangeError("locale must contain formatLong property");
1332
- var F = y(e);
1333
- if (!mt(F))
1332
+ var F = y(t);
1333
+ if (!me(F))
1334
1334
  throw new RangeError("Invalid time value");
1335
- var tt = Ft(F), et = vt(F, tt), at = {
1335
+ var ee = Fe(F), te = pe(F, ee), ne = {
1336
1336
  firstWeekContainsDate: N,
1337
1337
  weekStartsOn: H,
1338
1338
  locale: O,
1339
1339
  _originalDate: F
1340
- }, nt = $.match(Ce).map(function(b) {
1340
+ }, ae = $.match(Ct).map(function(b) {
1341
1341
  var x = b[0];
1342
1342
  if (x === "p" || x === "P") {
1343
- var E = Wt[x];
1343
+ var E = We[x];
1344
1344
  return E(b, O.formatLong);
1345
1345
  }
1346
1346
  return b;
1347
- }).join("").match(Te).map(function(b) {
1347
+ }).join("").match(Tt).map(function(b) {
1348
1348
  if (b === "''")
1349
1349
  return "'";
1350
1350
  var x = b[0];
1351
1351
  if (x === "'")
1352
- return Pe(b);
1353
- var E = Pt[x];
1352
+ return Pt(b);
1353
+ var E = Pe[x];
1354
1354
  if (E)
1355
- return Lt(b) && A(b, t, String(e)), _t(b) && A(b, t, String(e)), E(et, b, O.localize, at);
1356
- if (x.match(Me))
1355
+ return Le(b) && A(b, e, String(t)), _e(b) && A(b, e, String(t)), E(te, b, O.localize, ne);
1356
+ if (x.match(Mt))
1357
1357
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + x + "`");
1358
1358
  return b;
1359
1359
  }).join("");
1360
- return nt;
1360
+ return ae;
1361
1361
  }
1362
- function Pe(e) {
1363
- var t = e.match(Se);
1364
- return t ? t[1].replace(ke, "'") : e;
1362
+ function Pt(t) {
1363
+ var e = t.match(St);
1364
+ return e ? e[1].replace(kt, "'") : t;
1365
1365
  }
1366
1366
  class K {
1367
1367
  constructor() {
1368
1368
  }
1369
- static dateToFormatedString(t, a) {
1370
- const n = a ? De(t, a) : t.toLocaleDateString("en-gb"), r = t.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit", hour12: !1 });
1371
- return `${n}, ${r}`;
1369
+ static dateToFormatedString(e, n) {
1370
+ const a = n ? Dt(e, n) : e.toLocaleDateString("en-gb"), r = e.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit", hour12: !1 });
1371
+ return `${a}, ${r}`;
1372
1372
  }
1373
1373
  }
1374
1374
  class Z {
1375
1375
  constructor() {
1376
1376
  }
1377
- static format(t, a) {
1378
- let n = `${a} ${t}`;
1377
+ static format(e, n) {
1378
+ let a = `${n} ${e}`;
1379
1379
  try {
1380
- n = new Intl.NumberFormat("en-US", {
1380
+ a = new Intl.NumberFormat("en-US", {
1381
1381
  style: "currency",
1382
- currency: t
1383
- }).format(a);
1382
+ currency: e
1383
+ }).format(n);
1384
1384
  } catch {
1385
1385
  }
1386
- return n;
1386
+ return a;
1387
1387
  }
1388
1388
  }
1389
- const Oe = (e) => o(
1389
+ const Ot = (t) => o(
1390
1390
  "div",
1391
1391
  { class: "data-transaction" },
1392
- o("p", null, e.productType),
1392
+ o("p", null, t.productType),
1393
1393
  o(
1394
1394
  "p",
1395
1395
  { class: "text-style text-style-status" },
1396
- o("span", { class: e.status.toLowerCase() }, e.status)
1396
+ o("span", { class: t.status.toLowerCase() }, t.status)
1397
1397
  ),
1398
1398
  o(
1399
1399
  "p",
1400
1400
  { class: "date" },
1401
- e.transId,
1401
+ t.transId,
1402
1402
  " | ",
1403
- K.dateToFormatedString(new Date(e.created), e.dateformat)
1403
+ K.dateToFormatedString(new Date(t.created), t.dateformat)
1404
1404
  ),
1405
1405
  o(
1406
1406
  "p",
1407
1407
  { class: "text-style" },
1408
- Z.format(e.currency, e.realAmount),
1408
+ Z.format(t.currency, t.realAmount),
1409
1409
  " "
1410
1410
  )
1411
- ), Ue = (e) => o(
1411
+ ), Ut = (t) => o(
1412
1412
  "div",
1413
1413
  { class: "page-size" },
1414
- o("span", null, l.translate("show", e.language)),
1415
- e.pageSizes.map((t) => o("button", { class: e.currentPageSize === t ? "active" : "", onClick: () => e.changePageSize(t) }, t))
1416
- ), We = ({ from: e, to: t, applyFilters: a, language: n }) => {
1414
+ o("span", null, l.translate("show", t.language)),
1415
+ t.pageSizes.map((e) => o("button", { class: t.currentPageSize === e ? "active" : "", onClick: () => t.changePageSize(e) }, e))
1416
+ ), Wt = ({ from: t, to: e, applyFilters: n, language: a }) => {
1417
1417
  let r, i;
1418
1418
  const s = () => {
1419
- e = r.value;
1419
+ t = r.value;
1420
1420
  }, d = () => {
1421
- t = i.value;
1421
+ e = i.value;
1422
1422
  };
1423
1423
  return o(
1424
1424
  "div",
@@ -1429,7 +1429,7 @@ const Oe = (e) => o(
1429
1429
  o(
1430
1430
  "div",
1431
1431
  { class: "date-input" },
1432
- o("vaadin-date-picker", { value: e, ref: (c) => r = c, label: l.translate("from", n), onChange: s })
1432
+ o("vaadin-date-picker", { value: t, ref: (c) => r = c, label: l.translate("from", a), onChange: s })
1433
1433
  ),
1434
1434
  o(
1435
1435
  "span",
@@ -1443,23 +1443,23 @@ const Oe = (e) => o(
1443
1443
  o(
1444
1444
  "div",
1445
1445
  { class: "date-input" },
1446
- o("vaadin-date-picker", { value: t, ref: (c) => i = c, label: l.translate("to", n), onChange: d })
1446
+ o("vaadin-date-picker", { value: e, ref: (c) => i = c, label: l.translate("to", a), onChange: d })
1447
1447
  ),
1448
- o("button", { class: "filter-btn", onClick: () => a(e, t) }, l.translate("filter", n))
1448
+ o("button", { class: "filter-btn", onClick: () => n(t, e) }, l.translate("filter", a))
1449
1449
  )
1450
1450
  );
1451
- }, Fe = ({ source: e, language: t, dateformat: a }) => {
1452
- const n = [
1453
- { name: l.translate("transactionId", t) },
1451
+ }, Ft = ({ source: t, language: e, dateformat: n }) => {
1452
+ const a = [
1453
+ { name: l.translate("transactionId", e) },
1454
1454
  {
1455
- name: l.translate("date", t)
1455
+ name: l.translate("date", e)
1456
1456
  },
1457
1457
  {
1458
- name: l.translate("amount", t)
1458
+ name: l.translate("amount", e)
1459
1459
  },
1460
- { name: l.translate("productType", t) },
1460
+ { name: l.translate("productType", e) },
1461
1461
  {
1462
- name: l.translate("status", t)
1462
+ name: l.translate("status", e)
1463
1463
  }
1464
1464
  ];
1465
1465
  return o(
@@ -1468,13 +1468,13 @@ const Oe = (e) => o(
1468
1468
  o(
1469
1469
  "thead",
1470
1470
  null,
1471
- o("tr", null, n.map((r) => o("th", null, r.name)))
1471
+ o("tr", null, a.map((r) => o("th", null, r.name)))
1472
1472
  ),
1473
- o("tbody", null, e.map((r) => o(
1473
+ o("tbody", null, t.map((r) => o(
1474
1474
  "tr",
1475
1475
  null,
1476
1476
  o("td", null, r.transId),
1477
- o("td", null, K.dateToFormatedString(new Date(r.created), a)),
1477
+ o("td", null, K.dateToFormatedString(new Date(r.created), n)),
1478
1478
  o(
1479
1479
  "td",
1480
1480
  null,
@@ -1490,80 +1490,80 @@ const Oe = (e) => o(
1490
1490
  )))
1491
1491
  );
1492
1492
  };
1493
- function Q(e, t) {
1494
- if (e) {
1495
- const a = document.createElement("style");
1496
- a.innerHTML = t, e.appendChild(a);
1493
+ function Q(t, e) {
1494
+ if (t) {
1495
+ const n = document.createElement("style");
1496
+ n.innerHTML = e, t.appendChild(n);
1497
1497
  }
1498
1498
  }
1499
- function X(e, t) {
1500
- const a = new URL(t);
1501
- fetch(a.href).then((n) => n.text()).then((n) => {
1499
+ function X(t, e) {
1500
+ const n = new URL(e);
1501
+ fetch(n.href).then((a) => a.text()).then((a) => {
1502
1502
  const r = document.createElement("style");
1503
- r.innerHTML = n, e && e.appendChild(r);
1504
- }).catch((n) => {
1505
- console.error("There was an error while trying to load client styling from URL", n);
1503
+ r.innerHTML = a, t && t.appendChild(r);
1504
+ }).catch((a) => {
1505
+ console.error("There was an error while trying to load client styling from URL", a);
1506
1506
  });
1507
1507
  }
1508
- function Ee(e, t, a) {
1508
+ function Et(t, e, n) {
1509
1509
  if (window.emMessageBus) {
1510
- const n = document.createElement("style");
1511
- window.emMessageBus.subscribe(t, (r) => {
1512
- n.innerHTML = r, e && e.appendChild(n);
1510
+ const a = document.createElement("style");
1511
+ window.emMessageBus.subscribe(e, (r) => {
1512
+ a.innerHTML = r, t && t.appendChild(a);
1513
1513
  });
1514
1514
  }
1515
1515
  }
1516
- const Ye = ':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%}}.MenuReturnButton{font:inherit;color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MenuReturnButton h2.TransactionTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}', _e = Ye, Le = class {
1517
- constructor(e) {
1518
- ot(this, e), this.pageSizes = [10, 25, 50], this.pagination = null, this.toggleScreen = () => {
1516
+ const Yt = ':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%}}.MenuReturnButton{font:inherit;color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MenuReturnButton h2.TransactionTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}', _t = Yt, Lt = class {
1517
+ constructor(t) {
1518
+ oe(this, t), this.pageSizes = [10, 25, 50], this.pagination = null, this.toggleScreen = () => {
1519
1519
  window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.mobile }, window.location.href);
1520
1520
  }, this.endpoint = void 0, this.session = void 0, this.language = l.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;
1521
1521
  }
1522
1522
  watchMultiple() {
1523
1523
  this.loadTransactions();
1524
1524
  }
1525
- handleClientStylingChange(e, t) {
1526
- e != t && Q(this.stylingContainer, this.clientStyling);
1525
+ handleClientStylingChange(t, e) {
1526
+ t != e && Q(this.stylingContainer, this.clientStyling);
1527
1527
  }
1528
- handleClientStylingUrlChange(e, t) {
1529
- e != t && this.clientStylingUrl && X(this.stylingContainer, this.clientStylingUrl);
1528
+ handleClientStylingUrlChange(t, e) {
1529
+ t != e && this.clientStylingUrl && X(this.stylingContainer, this.clientStylingUrl);
1530
1530
  }
1531
1531
  async componentWillLoad() {
1532
1532
  this.translationUrl && await l.loadCustomTranslations(this.translationUrl), this.loadTransactions();
1533
1533
  }
1534
1534
  componentDidLoad() {
1535
- this.stylingContainer && (window.emMessageBus != null ? Ee(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && Q(this.stylingContainer, this.clientStyling), this.clientStylingUrl && X(this.stylingContainer, this.clientStylingUrl)));
1535
+ this.stylingContainer && (window.emMessageBus != null ? Et(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && Q(this.stylingContainer, this.clientStyling), this.clientStylingUrl && X(this.stylingContainer, this.clientStylingUrl)));
1536
1536
  }
1537
1537
  componentDidRender() {
1538
1538
  this.getComponentHeight();
1539
1539
  }
1540
1540
  getComponentHeight() {
1541
- var e;
1541
+ var t;
1542
1542
  if (this.mobile) {
1543
- let t = this.el.getBoundingClientRect().height - ((e = this.el.shadowRoot.querySelector(".table")) === null || e === void 0 ? void 0 : e.getBoundingClientRect().y);
1544
- this.el.style.setProperty("--heightScrollableContainer", t + "px");
1543
+ let e = this.el.getBoundingClientRect().height - ((t = this.el.shadowRoot.querySelector(".table")) === null || t === void 0 ? void 0 : t.getBoundingClientRect().y);
1544
+ this.el.style.setProperty("--heightScrollableContainer", e + "px");
1545
1545
  }
1546
1546
  }
1547
1547
  setHeightTableProperty() {
1548
- let e = this.getComponentHeight();
1549
- this.el.style.setProperty("--heightScrollableContainer", e + "px");
1548
+ let t = this.getComponentHeight();
1549
+ this.el.style.setProperty("--heightScrollableContainer", t + "px");
1550
1550
  }
1551
- changeTransactionsType(e) {
1552
- this.type = e;
1551
+ changeTransactionsType(t) {
1552
+ this.type = t;
1553
1553
  }
1554
- changePageSize(e) {
1555
- this.pageSize = e;
1554
+ changePageSize(t) {
1555
+ this.pageSize = t;
1556
1556
  }
1557
1557
  prev() {
1558
- var e;
1559
- !((e = this.pagination) === null || e === void 0) && e.previous && this.page--;
1558
+ var t;
1559
+ !((t = this.pagination) === null || t === void 0) && t.previous && this.page--;
1560
1560
  }
1561
1561
  next() {
1562
- var e;
1563
- !((e = this.pagination) === null || e === void 0) && e.next && this.page++;
1562
+ var t;
1563
+ !((t = this.pagination) === null || t === void 0) && t.next && this.page++;
1564
1564
  }
1565
- applyFilters(e, t) {
1566
- this.from = e ? new Date(e).toISOString() : null, this.to = t ? new Date(t).toISOString() : null, this.loadTransactions();
1565
+ applyFilters(t, e) {
1566
+ this.from = t ? new Date(t).toISOString() : null, this.to = e ? new Date(e).toISOString() : null, this.loadTransactions();
1567
1567
  }
1568
1568
  showFilter() {
1569
1569
  this.showMobileFilter = !this.showMobileFilter;
@@ -1572,41 +1572,41 @@ const Ye = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--
1572
1572
  this.stylingSubscription && this.stylingSubscription.unsubscribe();
1573
1573
  }
1574
1574
  render() {
1575
- var e;
1576
- const t = R("../assets/filter.svg"), a = R("../assets/warning.svg");
1577
- return o(st, { key: "2c1d74e9d321eb73796caa26b58faa1b130d1da1" }, this.showLoader ? o(ht, null) : "", o("div", { key: "a33973c114c4baa184a3699d46e8eb970f3b9dcc", class: "wrapper", ref: (n) => this.stylingContainer = n }, this.mobile ? o("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, o("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, o("defs", null), o("g", { transform: "translate(-20 -158)" }, o("g", { transform: "translate(20 158)" }, o("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), o("h2", { class: "TransactionTitleMobile" }, l.translate("transactionTitle", this.language))) : o("h2", { class: "TransactionTitle" }, l.translate("transactionTitle", this.language)), o("div", { key: "2609cf88acf3364e4b40510d451ed49eface97e6", class: { "types types-mobile": this.mobile, "types types-desktop": !this.mobile } }, o("button", { key: "7efdac157edfb5dc08f4219b91cf784ac6961d0c", class: "transaction-type " + (this.type === "0" ? "clicked" : ""), onClick: () => this.changeTransactionsType("0") }, l.translate("deposit", this.language)), o("button", { key: "eaf33173f0e6d6271724816400f63f571874906a", class: "transaction-type " + (this.type === "1" ? "clicked" : ""), onClick: () => this.changeTransactionsType("1") }, l.translate("withdrawals", this.language))), this.mobile ? "" : o(Ue, { language: this.language, pageSizes: this.pageSizes, currentPageSize: this.pageSize, changePageSize: (n) => this.changePageSize(n) }), this.mobile ? o("button", { class: "mobile-filter-button", onClick: () => this.showFilter() }, o("img", { src: t, alt: "Filter" }), l.translate("filter", this.language)) : "", !this.mobile || this.showMobileFilter && this.mobile ? o(We, { language: this.language, applyFilters: (n, r) => this.applyFilters(n, r) }) : "", ((e = this.transactions) === null || e === void 0 ? void 0 : e.length) > 0 ? o("div", { class: "table" }, this.mobile ? o("div", { class: "mobile-table" }, this.transactions.map((n) => o(Oe, Object.assign({}, n, { dateformat: this.dateFormat })))) : o(Fe, { source: this.transactions, language: this.language, dateformat: this.dateFormat })) : o("div", { class: "noData" }, o("img", { src: a, alt: "Warning" }), o("span", null, l.translate("noData", this.language))), o("div", { key: "c8b5f7a1cac64df3fb7879ad020379b81672b8ae", class: "pagination" }, o("button", { key: "ac06e5c8c62367626b2c72c8d5ee552cefafd3fa", onClick: () => this.prev() }, "<"), o("button", { key: "bff70f58f1815d8da93fa8e5b2b541893a4f475c", onClick: () => this.next() }, ">"))));
1575
+ var t;
1576
+ const e = R("../assets/filter.svg"), n = R("../assets/warning.svg");
1577
+ return o(se, { key: "2c1d74e9d321eb73796caa26b58faa1b130d1da1" }, this.showLoader ? o(fe, null) : "", o("div", { key: "a33973c114c4baa184a3699d46e8eb970f3b9dcc", class: "wrapper", ref: (a) => this.stylingContainer = a }, this.mobile ? o("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, o("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, o("defs", null), o("g", { transform: "translate(-20 -158)" }, o("g", { transform: "translate(20 158)" }, o("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), o("h2", { class: "TransactionTitleMobile" }, l.translate("transactionTitle", this.language))) : o("h2", { class: "TransactionTitle" }, l.translate("transactionTitle", this.language)), o("div", { key: "2609cf88acf3364e4b40510d451ed49eface97e6", class: { "types types-mobile": this.mobile, "types types-desktop": !this.mobile } }, o("button", { key: "7efdac157edfb5dc08f4219b91cf784ac6961d0c", class: "transaction-type " + (this.type === "0" ? "clicked" : ""), onClick: () => this.changeTransactionsType("0") }, l.translate("deposit", this.language)), o("button", { key: "eaf33173f0e6d6271724816400f63f571874906a", class: "transaction-type " + (this.type === "1" ? "clicked" : ""), onClick: () => this.changeTransactionsType("1") }, l.translate("withdrawals", this.language))), this.mobile ? "" : o(Ut, { language: this.language, pageSizes: this.pageSizes, currentPageSize: this.pageSize, changePageSize: (a) => this.changePageSize(a) }), this.mobile ? o("button", { class: "mobile-filter-button", onClick: () => this.showFilter() }, o("img", { src: e, alt: "Filter" }), l.translate("filter", this.language)) : "", !this.mobile || this.showMobileFilter && this.mobile ? o(Wt, { language: this.language, applyFilters: (a, r) => this.applyFilters(a, r) }) : "", ((t = this.transactions) === null || t === void 0 ? void 0 : t.length) > 0 ? o("div", { class: "table" }, this.mobile ? o("div", { class: "mobile-table" }, this.transactions.map((a) => o(Ot, Object.assign({}, a, { dateformat: this.dateFormat })))) : o(Ft, { source: this.transactions, language: this.language, dateformat: this.dateFormat })) : o("div", { class: "noData" }, o("img", { src: n, alt: "Warning" }), o("span", null, l.translate("noData", this.language))), o("div", { key: "c8b5f7a1cac64df3fb7879ad020379b81672b8ae", class: "pagination" }, o("button", { key: "ac06e5c8c62367626b2c72c8d5ee552cefafd3fa", onClick: () => this.prev() }, "<"), o("button", { key: "bff70f58f1815d8da93fa8e5b2b541893a4f475c", onClick: () => this.next() }, ">"))));
1578
1578
  }
1579
1579
  async loadTransactions() {
1580
1580
  this.showLoader = !0;
1581
1581
  try {
1582
- const e = `${this.endpoint}/v1/player/${this.userId}/transactions/banking?${this.getParams()}`, t = await fetch(e, {
1582
+ const t = `${this.endpoint}/v1/player/${this.userId}/transactions/banking?${this.getParams()}`, e = await fetch(t, {
1583
1583
  headers: {
1584
1584
  "X-Sessionid": this.session,
1585
1585
  "Content-Type": "application/json"
1586
1586
  }
1587
1587
  });
1588
- if (!t.ok) {
1589
- const n = await t.text();
1590
- throw new Error(n);
1588
+ if (!e.ok) {
1589
+ const a = await e.text();
1590
+ throw new Error(a);
1591
1591
  }
1592
- const a = await t.json();
1593
- this.pagination = a.pagination, this.transactions = a.transactions;
1594
- } catch (e) {
1595
- console.error(e);
1592
+ const n = await e.json();
1593
+ this.pagination = n.pagination, this.transactions = n.transactions;
1594
+ } catch (t) {
1595
+ console.error(t);
1596
1596
  } finally {
1597
1597
  this.showLoader = !1;
1598
1598
  }
1599
1599
  }
1600
1600
  getParams() {
1601
- var e, t;
1602
- const a = /* @__PURE__ */ 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();
1603
- return `offset=${n}&endDate=${i}&startDate=${r}&type=${this.type}&limit=${this.pageSize}`;
1601
+ var t, e;
1602
+ const n = /* @__PURE__ */ new Date(), a = (this.page * this.pageSize).toString(), r = (t = this.from) !== null && t !== void 0 ? t : new Date(n.getFullYear(), n.getMonth(), 1).toISOString(), i = (e = this.to) !== null && e !== void 0 ? e : new Date(n.getFullYear(), n.getMonth() + 1, 0).toISOString();
1603
+ return `offset=${a}&endDate=${i}&startDate=${r}&type=${this.type}&limit=${this.pageSize}`;
1604
1604
  }
1605
1605
  static get assetsDirs() {
1606
1606
  return ["../assets"];
1607
1607
  }
1608
1608
  get el() {
1609
- return lt(this);
1609
+ return le(this);
1610
1610
  }
1611
1611
  static get watchers() {
1612
1612
  return {
@@ -1621,7 +1621,7 @@ const Ye = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--
1621
1621
  };
1622
1622
  }
1623
1623
  };
1624
- Le.style = _e;
1624
+ Lt.style = _t;
1625
1625
  export {
1626
- Le as user_transaction_history
1626
+ Lt as user_transaction_history
1627
1627
  };