@everymatrix/player-account-controller-nd 1.67.3 → 1.69.0

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 (164) hide show
  1. package/components/{GeneralLogout-BqarYaGX.js → GeneralLogout-D_LZ6noj.js} +1474 -1439
  2. package/components/GeneralLogout-Dzu2Sl-x.cjs +21 -0
  3. package/components/{GeneralLogout-DpRb1GKt.js → GeneralLogout-PryurO1h.js} +1493 -1458
  4. package/components/{PlayerAccountBettingHistory-DgHU9Jz9.cjs → PlayerAccountBettingHistory-BtDZukYI.cjs} +1 -1
  5. package/components/{PlayerAccountBettingHistory-CZ-2Eo65.js → PlayerAccountBettingHistory-BzAXq1xX.js} +27 -27
  6. package/components/{PlayerAccountBettingHistory-DRNj2_nh.js → PlayerAccountBettingHistory-CwTEYOIN.js} +27 -27
  7. package/components/{PlayerAccountBiometrics-DXk7ouzk.cjs → PlayerAccountBiometrics-CEEVheLt.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-CS2Ou41a.js → PlayerAccountBiometrics-CtLvJg_Q.js} +22 -22
  9. package/components/{PlayerAccountBiometrics-Cp02JZ-p.js → PlayerAccountBiometrics-DIkqSnzX.js} +22 -22
  10. package/components/{PlayerAccountClosureNd-BDf6ZV_O.js → PlayerAccountClosureNd-7SyXUtdN.js} +17 -17
  11. package/components/{PlayerAccountClosureNd-DTSPR235.js → PlayerAccountClosureNd-Byw-X8Sr.js} +17 -17
  12. package/components/{PlayerAccountClosureNd-CEw0GMdr.cjs → PlayerAccountClosureNd-WqmFJkpU.cjs} +1 -1
  13. package/components/{PlayerAccountControllerNd-B290RGZ4.js → PlayerAccountControllerNd-C4fyqqh1.js} +1413 -1265
  14. package/components/{PlayerAccountControllerNd-D_OA5Wau.js → PlayerAccountControllerNd-Dwdl_p1l.js} +1412 -1264
  15. package/components/PlayerAccountControllerNd-zBnRxjjD.cjs +1 -0
  16. package/components/{PlayerAccountGamingLimits-C5-wP3x8.cjs → PlayerAccountGamingLimits-BIXEO8qU.cjs} +1 -1
  17. package/components/{PlayerAccountGamingLimits-DYeE-UoB.js → PlayerAccountGamingLimits-Bj6iDB2S.js} +19 -19
  18. package/components/{PlayerAccountGamingLimits-Dj1vdgsP.js → PlayerAccountGamingLimits-DxoR6Rl0.js} +19 -19
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-9Smxn0Eo.js → PlayerAccountGamingLimitsConfirmationModal-BzaZH1VM.js} +53 -53
  20. package/components/PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs +1 -0
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-BKE3chFw.js → PlayerAccountGamingLimitsConfirmationModal-CxFJV4Qq.js} +53 -53
  22. package/components/PlayerAccountGamingLimitsGroupEdit-5Xl-352p.js +4792 -0
  23. package/components/PlayerAccountGamingLimitsGroupEdit-CYeY3dwe.js +4792 -0
  24. package/components/PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs +2 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-B1bxRx8n.js → PlayerAccountGamingLimitsHistory2Nd-DrMT268T.js} +192 -192
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-CyUmcHfd.cjs → PlayerAccountGamingLimitsHistory2Nd-juZ45FBC.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-BWUzYYof.js → PlayerAccountGamingLimitsHistory2Nd-p3iqTl1u.js} +199 -199
  28. package/components/{PlayerAccountGamingLimitsInfoCard-n38U4Bet.js → PlayerAccountGamingLimitsInfoCard-B-8AhoxC.js} +80 -80
  29. package/components/{PlayerAccountGamingLimitsInfoCard-DxIPZWF4.cjs → PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsInfoCard-Cu4_dbfd.js → PlayerAccountGamingLimitsInfoCard-DSLO6bv_.js} +80 -80
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-P6QYtcDU.js → PlayerAccountGamingLimitsPage2Gm16Nd-Cp0HPknx.js} +91 -91
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BPahpiGc.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-D0j9FESV.cjs} +2 -2
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B0YXR_Gq.js → PlayerAccountGamingLimitsPage2Gm16Nd-JTp7ykpl.js} +618 -618
  34. package/components/{PlayerAccountGamingLimitsPopup-Chfup4AC.js → PlayerAccountGamingLimitsPopup-B5CoTG_T.js} +28 -28
  35. package/components/{PlayerAccountGamingLimitsPopup-DkQcpWO7.cjs → PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-D3tfs8br.js → PlayerAccountGamingLimitsPopup-CzDFUbRs.js} +28 -28
  37. package/components/{PlayerAccountGamingLimitsWrapper2Nd-Lpnlu5qV.js → PlayerAccountGamingLimitsWrapper2Nd-BEi1Ax2s.js} +36 -36
  38. package/components/{PlayerAccountGamingLimitsWrapper2Nd-BNIOS6YH.cjs → PlayerAccountGamingLimitsWrapper2Nd-D6DATRJZ.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsWrapper2Nd-DrBzSlfn.js → PlayerAccountGamingLimitsWrapper2Nd-DnzmU3uL.js} +36 -36
  40. package/components/{PlayerAccountGeneralConfirmationModal-C9sZnKk-.js → PlayerAccountGeneralConfirmationModal-BBveBuYk.js} +100 -105
  41. package/components/{PlayerAccountGeneralConfirmationModal-CzWW7TO1.js → PlayerAccountGeneralConfirmationModal-DFj-HuBM.js} +100 -105
  42. package/components/PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs +1 -0
  43. package/components/{PlayerAccountMenuNd-BMezijtf.cjs → PlayerAccountMenuNd-BFdU3ZXb.cjs} +1 -1
  44. package/components/{PlayerAccountMenuNd-B14HHDMC.js → PlayerAccountMenuNd-Cs9UjL2S.js} +29 -29
  45. package/components/{PlayerAccountMenuNd-CGHNQ9Ia.js → PlayerAccountMenuNd-Cx7Fxjin.js} +29 -29
  46. package/components/{PlayerAccountModal-CNPgYrpB.js → PlayerAccountModal-DHs1T-B4.js} +44 -44
  47. package/components/{PlayerAccountModal-lwDOdDa4.cjs → PlayerAccountModal-SsGlrcmj.cjs} +1 -1
  48. package/components/{PlayerAccountModal-NKWbQg0Z.js → PlayerAccountModal-iZqtQZF3.js} +44 -44
  49. package/components/{PlayerAccountNotifications-Um7wlaR9.js → PlayerAccountNotifications-BjAtYQls.js} +120 -120
  50. package/components/{PlayerAccountNotifications-BciDzDyI.js → PlayerAccountNotifications-bjLmyXO3.js} +35 -35
  51. package/components/{PlayerAccountNotifications-CzMMRPni.cjs → PlayerAccountNotifications-ejASOsrU.cjs} +1 -1
  52. package/components/{PlayerAccountProductRestriction-CsV5cZJ7.js → PlayerAccountProductRestriction-ESKHafqp.js} +2241 -2215
  53. package/components/{PlayerAccountProductRestriction-D8hGhkip.js → PlayerAccountProductRestriction-h9nnGXrP.js} +2228 -2202
  54. package/components/{PlayerAccountProductRestriction-DWcq863g.cjs → PlayerAccountProductRestriction-uj_BwdJ0.cjs} +271 -271
  55. package/components/{PlayerAccountSelfExclusionNd-CkhmY4v6.js → PlayerAccountSelfExclusionNd-9tdRb-BD.js} +906 -908
  56. package/components/{PlayerAccountSelfExclusionNd-Dxhpsh1V.js → PlayerAccountSelfExclusionNd-BQlI8ffc.js} +1204 -1206
  57. package/components/{PlayerAccountSelfExclusionNd-DA8DdIps.cjs → PlayerAccountSelfExclusionNd-BxnljuoQ.cjs} +155 -155
  58. package/components/{PlayerAccountTimeout-CK_vb2Rd.cjs → PlayerAccountTimeout-6ruoWoF3.cjs} +1 -1
  59. package/components/{PlayerAccountTimeout-DWrpBYDF.js → PlayerAccountTimeout-Bf9hZOsd.js} +103 -103
  60. package/components/{PlayerAccountTimeout-qUMzgfPL.js → PlayerAccountTimeout-CZR3PPPV.js} +103 -103
  61. package/components/{PlayerAccountTransactionsHistory-YXxnxAQo.js → PlayerAccountTransactionsHistory-CLGmdqFi.js} +56 -56
  62. package/components/{PlayerAccountTransactionsHistory-DUUcK6v0.cjs → PlayerAccountTransactionsHistory-CRmQjcHX.cjs} +1 -1
  63. package/components/{PlayerAccountTransactionsHistory-Dvj8Arct.js → PlayerAccountTransactionsHistory-CtyhdBep.js} +56 -56
  64. package/components/{PlayerActiveBonuses-rd6l2Hsn.js → PlayerActiveBonuses-CD7vVwcl.js} +497 -467
  65. package/components/{PlayerActiveBonuses-BxaW95IK.js → PlayerActiveBonuses-CfJuOJRv.js} +490 -460
  66. package/components/PlayerActiveBonuses-wlP0A00N.cjs +1 -0
  67. package/components/PlayerBonusCard-BBQEU4zs.cjs +1 -0
  68. package/components/{PlayerBonusCard-DIuiutMI.js → PlayerBonusCard-CLcU7jvi.js} +207 -191
  69. package/components/{PlayerBonusCard-O-ukO4ru.js → PlayerBonusCard-DqH1t5fZ.js} +207 -191
  70. package/components/PlayerBonusHistory-BBM_Ee_C.js +1051 -0
  71. package/components/PlayerBonusHistory-D2uJLN_3.cjs +1 -0
  72. package/components/PlayerBonusHistory-DtPqQdZo.js +1040 -0
  73. package/components/{PlayerChangePasswordNd-1bGRcLqZ.js → PlayerChangePasswordNd-B0W5bdN2.js} +71 -71
  74. package/components/{PlayerChangePasswordNd-DCg61OgS.js → PlayerChangePasswordNd-B0yPdyGM.js} +71 -71
  75. package/components/{PlayerChangePasswordNd-CjKqxbi8.cjs → PlayerChangePasswordNd-DEzeq-CF.cjs} +1 -1
  76. package/components/{PlayerDeposit-odz0L-Xa.js → PlayerDeposit-CHnzNVZy.js} +29 -29
  77. package/components/{PlayerDeposit-DAFmH9HW.cjs → PlayerDeposit-Dzg8Ltb1.cjs} +1 -1
  78. package/components/{PlayerDeposit-CwClAkf8.js → PlayerDeposit-N7o3ip4d.js} +29 -29
  79. package/components/PlayerGamingHistory-COsI7V9y.js +1016 -0
  80. package/components/PlayerGamingHistory-D5C8zTFo.cjs +1 -0
  81. package/components/{PlayerGamingHistory-B5lPYVlE.js → PlayerGamingHistory-DlQpmkPh.js} +472 -456
  82. package/components/{PlayerPendingWithdrawals-WueprUX6.js → PlayerPendingWithdrawals-B2WyLuNV.js} +26 -26
  83. package/components/{PlayerPendingWithdrawals-DbuXpIXl.cjs → PlayerPendingWithdrawals-BMwtFNQT.cjs} +1 -1
  84. package/components/{PlayerPendingWithdrawals-DSZjjRc5.js → PlayerPendingWithdrawals-CRRuYNXr.js} +26 -26
  85. package/components/{PlayerProfileInfo-ZyRI38hk.js → PlayerProfileInfo-Cnrcnxn9.js} +120 -120
  86. package/components/{PlayerProfileInfo-CQWJWCmN.cjs → PlayerProfileInfo-DcmY9plr.cjs} +1 -1
  87. package/components/{PlayerProfileInfo-x9MQyKin.js → PlayerProfileInfo-yVopMUMB.js} +116 -116
  88. package/components/{PlayerRealityCheck-CFJVJn17.cjs → PlayerRealityCheck-BrVF76qp.cjs} +1 -1
  89. package/components/{PlayerRealityCheck-Cvp1LCTw.js → PlayerRealityCheck-C7EUl18t.js} +44 -44
  90. package/components/{PlayerRealityCheck-BB6ql_la.js → PlayerRealityCheck-RsT9a67Q.js} +45 -45
  91. package/components/{PlayerTransactionHistory-BOtRm_b6.cjs → PlayerTransactionHistory-4VtQqLAc.cjs} +1 -1
  92. package/components/{PlayerTransactionHistory-B-WizKVy.js → PlayerTransactionHistory-BQlWb-B9.js} +19 -19
  93. package/components/{PlayerTransactionHistory-OP187htZ.js → PlayerTransactionHistory-DyBRNwAw.js} +19 -19
  94. package/components/{PlayerWithdrawal-OBRjEIH9.cjs → PlayerWithdrawal-BMLgaRLc.cjs} +1 -1
  95. package/components/{PlayerWithdrawal-5dv65FN3.js → PlayerWithdrawal-C6_CSTeL.js} +19 -19
  96. package/components/{PlayerWithdrawal-Cmns8eAn.js → PlayerWithdrawal-CgR0BwqA.js} +19 -19
  97. package/es2015/player-account-controller-nd.cjs +1 -1
  98. package/es2015/player-account-controller-nd.js +1 -1
  99. package/esnext/player-account-controller-nd.js +1 -1
  100. package/package.json +1 -1
  101. package/stencil/{checkbox-group-input_14-yDxYy7hE.js → checkbox-group-input_14-0MlabybW.js} +3270 -3262
  102. package/stencil/{checkbox-group-input_14-BQWBhbsW.cjs → checkbox-group-input_14-BUUOn-f1.cjs} +263 -263
  103. package/stencil/{checkbox-group-input_14-Rk4kY_Jo.js → checkbox-group-input_14-D0Wi9yCm.js} +3273 -3265
  104. package/stencil/{index-13661b98-mRWmP463.js → index-13661b98-Dd0kDfGP.js} +215 -215
  105. package/stencil/{index-13661b98-l0CINbAR.js → index-13661b98-Vb11Gqfi.js} +207 -207
  106. package/stencil/index-13661b98-wjpz7oVL.cjs +1 -0
  107. package/stencil/{index-1ef3a64c-Dd-0nq4l.js → index-1ef3a64c-B5I86vac.js} +192 -192
  108. package/stencil/{index-1ef3a64c-B1Hda3TY.js → index-1ef3a64c-DqUPq8OL.js} +185 -185
  109. package/stencil/index-1ef3a64c-uiTzpR-U.cjs +1 -0
  110. package/stencil/{index-7c5e707a-CuTkyLaW.js → index-7c5e707a-2AC9SnQ7.js} +209 -209
  111. package/stencil/index-7c5e707a-BM4sfR0h.js +643 -0
  112. package/stencil/index-7c5e707a-Cw-c3Bke.cjs +1 -0
  113. package/stencil/{index-9c0f6c58-RPoO1End.js → index-9c0f6c58-BB5opCt9.js} +176 -176
  114. package/stencil/index-9c0f6c58-DmOKHEVq.cjs +1 -0
  115. package/stencil/{index-9c0f6c58-NlVKpLut.js → index-9c0f6c58-bxjYqwOi.js} +180 -180
  116. package/stencil/index-b2193545-CnMZ4-Ff.js +519 -0
  117. package/stencil/index-b2193545-Ct5AhxM8.cjs +1 -0
  118. package/stencil/index-b2193545-DePry399.js +503 -0
  119. package/stencil/{pam-change-password-CCgx2ZAF.cjs → pam-change-password-1_IegfkZ.cjs} +1 -1
  120. package/stencil/{pam-change-password-CDNRmQRk.js → pam-change-password-BUGFXbZ2.js} +1 -1
  121. package/stencil/{pam-change-password-CThYR6vj.js → pam-change-password-D23ISzqi.js} +1 -1
  122. package/stencil/{pam-change-password-f4a1e7e7-B3Gc4JmD.cjs → pam-change-password-f4a1e7e7-BqEyIcXD.cjs} +1 -1
  123. package/stencil/{pam-change-password-f4a1e7e7-DegbNPpZ.js → pam-change-password-f4a1e7e7-Cxe8Atmr.js} +1 -1
  124. package/stencil/{pam-change-password-f4a1e7e7-B0x-tDUM.js → pam-change-password-f4a1e7e7-DzJmDiaX.js} +1 -1
  125. package/stencil/{player-kyc-verification-Cxnz1raa.js → player-kyc-verification-CMAkNiAB.js} +9 -9
  126. package/stencil/{player-kyc-verification-qKWuqiUm.cjs → player-kyc-verification-DYcPWwfi.cjs} +2 -2
  127. package/stencil/{player-kyc-verification-DA_O1Dqu.js → player-kyc-verification-p2WFnKBp.js} +12 -12
  128. package/stencil/{ui-skeleton-1cb75d00-CZJ4UoDJ.js → ui-skeleton-1cb75d00-BI5A-j0y.js} +1 -1
  129. package/stencil/{ui-skeleton-1cb75d00-dFWe5qbW.cjs → ui-skeleton-1cb75d00-Batko5iK.cjs} +1 -1
  130. package/stencil/{ui-skeleton-1cb75d00-D5Bub0nv.js → ui-skeleton-1cb75d00-CwDKR1VD.js} +1 -1
  131. package/stencil/{ui-skeleton-CZ5yC1WO.js → ui-skeleton-C974aG7g.js} +2 -2
  132. package/stencil/{ui-skeleton-vLKdvRqw.js → ui-skeleton-DoX-UmRU.js} +2 -2
  133. package/stencil/{ui-skeleton-BH5oLkn9.cjs → ui-skeleton-t0bb1jH7.cjs} +1 -1
  134. package/stencil/{user-deposit-withdrawal-BMWb-WJE.js → user-deposit-withdrawal-BjmaGgRK.js} +46 -46
  135. package/stencil/{user-deposit-withdrawal-ByE9O4TW.js → user-deposit-withdrawal-D6SDVw3h.js} +46 -46
  136. package/stencil/{user-deposit-withdrawal-DGTrOlxS.cjs → user-deposit-withdrawal-Du59X_-y.cjs} +2 -2
  137. package/stencil/user-transaction-history-7_yFZr3w.js +1645 -0
  138. package/stencil/user-transaction-history-DZZT2rYX.cjs +1 -0
  139. package/stencil/user-transaction-history-Dpd_aKdj.js +1621 -0
  140. package/components/GeneralLogout-DweBl3EQ.cjs +0 -21
  141. package/components/PlayerAccountControllerNd-DkVyWe_r.cjs +0 -1
  142. package/components/PlayerAccountGamingLimitsConfirmationModal-DzBevsyQ.cjs +0 -1
  143. package/components/PlayerAccountGamingLimitsGroupEdit-CmrrVg_q.js +0 -2893
  144. package/components/PlayerAccountGamingLimitsGroupEdit-IS7pwiyD.js +0 -2893
  145. package/components/PlayerAccountGamingLimitsGroupEdit-JOrwbKuQ.cjs +0 -1
  146. package/components/PlayerAccountGeneralConfirmationModal-dy9TCHFm.cjs +0 -1
  147. package/components/PlayerActiveBonuses-C7-7ACSS.cjs +0 -1
  148. package/components/PlayerBonusCard-nwlvuWsq.cjs +0 -1
  149. package/components/PlayerBonusHistory-B6_Qlsz7.js +0 -985
  150. package/components/PlayerBonusHistory-BAFl02wK.cjs +0 -1
  151. package/components/PlayerBonusHistory-BrGDpOUK.js +0 -986
  152. package/components/PlayerGamingHistory-BMqF0jZ1.cjs +0 -1
  153. package/components/PlayerGamingHistory-DMzWvxJW.js +0 -975
  154. package/stencil/index-13661b98-Pl0EtfMi.cjs +0 -1
  155. package/stencil/index-1ef3a64c-CCWt3IAA.cjs +0 -1
  156. package/stencil/index-7c5e707a-8-4_dLFT.js +0 -643
  157. package/stencil/index-7c5e707a-nBsW029h.cjs +0 -1
  158. package/stencil/index-9c0f6c58-DbSOntvG.cjs +0 -1
  159. package/stencil/index-b2193545-BXNomIzV.js +0 -519
  160. package/stencil/index-b2193545-CYe2oVMy.js +0 -503
  161. package/stencil/index-b2193545-DxRobzZI.cjs +0 -1
  162. package/stencil/user-transaction-history-BU4-cXt6.js +0 -350
  163. package/stencil/user-transaction-history-CXBKXul8.js +0 -374
  164. package/stencil/user-transaction-history-DLLIZ5Ck.cjs +0 -1
@@ -1,60 +1,60 @@
1
1
  function H() {
2
2
  }
3
- const Tn = (e) => e;
4
- function wn(e, t) {
5
- for (const n in t)
6
- e[n] = t[n];
3
+ const Br = (e) => e;
4
+ function Ar(e, t) {
5
+ for (const r in t)
6
+ e[r] = t[r];
7
7
  return (
8
8
  /** @type {T & S} */
9
9
  e
10
10
  );
11
11
  }
12
- function Lt(e) {
12
+ function $t(e) {
13
13
  return e();
14
14
  }
15
- function st() {
15
+ function ht() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
18
  function D(e) {
19
- e.forEach(Lt);
19
+ e.forEach($t);
20
20
  }
21
- function ue(e) {
21
+ function ae(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function Nt(e, t) {
24
+ function Rt(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
- let de;
28
- function po(e, t) {
29
- return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
27
+ let pe;
28
+ function go(e, t) {
29
+ return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
30
30
  }
31
- function Hn(e) {
31
+ function Pr(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
- function Mt(e, ...t) {
34
+ function Ut(e, ...t) {
35
35
  if (e == null) {
36
- for (const r of t)
37
- r(void 0);
36
+ for (const n of t)
37
+ n(void 0);
38
38
  return H;
39
39
  }
40
- const n = e.subscribe(...t);
41
- return n.unsubscribe ? () => n.unsubscribe() : n;
40
+ const r = e.subscribe(...t);
41
+ return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function Bn(e, t, n) {
44
- e.$$.on_destroy.push(Mt(t, n));
43
+ function Or(e, t, r) {
44
+ e.$$.on_destroy.push(Ut(t, r));
45
45
  }
46
- function mo(e, t, n, r) {
46
+ function vo(e, t, r, n) {
47
47
  if (e) {
48
- const i = Ct(e, t, n, r);
48
+ const i = Dt(e, t, r, n);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function Ct(e, t, n, r) {
53
- return e[1] && r ? wn(n.ctx.slice(), e[1](r(t))) : n.ctx;
52
+ function Dt(e, t, r, n) {
53
+ return e[1] && n ? Ar(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
- function bo(e, t, n, r) {
56
- if (e[2] && r) {
57
- const i = e[2](r(n));
55
+ function _o(e, t, r, n) {
56
+ if (e[2] && n) {
57
+ const i = e[2](n(r));
58
58
  if (t.dirty === void 0)
59
59
  return i;
60
60
  if (typeof i == "object") {
@@ -67,40 +67,40 @@ function bo(e, t, n, r) {
67
67
  }
68
68
  return t.dirty;
69
69
  }
70
- function go(e, t, n, r, i, o) {
70
+ function Eo(e, t, r, n, i, o) {
71
71
  if (i) {
72
- const a = Ct(t, n, r, o);
72
+ const a = Dt(t, r, n, o);
73
73
  e.p(a, i);
74
74
  }
75
75
  }
76
- function yo(e) {
76
+ function xo(e) {
77
77
  if (e.ctx.length > 32) {
78
- const t = [], n = e.ctx.length / 32;
79
- for (let r = 0; r < n; r++)
80
- t[r] = -1;
78
+ const t = [], r = e.ctx.length / 32;
79
+ for (let n = 0; n < r; n++)
80
+ t[n] = -1;
81
81
  return t;
82
82
  }
83
83
  return -1;
84
84
  }
85
- function _o(e) {
85
+ function So(e) {
86
86
  return e ?? "";
87
87
  }
88
- function vo(e) {
89
- return e && ue(e.destroy) ? e.destroy : H;
88
+ function wo(e) {
89
+ return e && ae(e.destroy) ? e.destroy : H;
90
90
  }
91
- const $t = typeof window < "u";
92
- let An = $t ? () => window.performance.now() : () => Date.now(), tt = $t ? (e) => requestAnimationFrame(e) : H;
91
+ const Gt = typeof window < "u";
92
+ let Ir = Gt ? () => window.performance.now() : () => Date.now(), st = Gt ? (e) => requestAnimationFrame(e) : H;
93
93
  const X = /* @__PURE__ */ new Set();
94
- function Rt(e) {
94
+ function Ft(e) {
95
95
  X.forEach((t) => {
96
96
  t.c(e) || (X.delete(t), t.f());
97
- }), X.size !== 0 && tt(Rt);
97
+ }), X.size !== 0 && st(Ft);
98
98
  }
99
- function Pn(e) {
99
+ function Lr(e) {
100
100
  let t;
101
- return X.size === 0 && tt(Rt), {
102
- promise: new Promise((n) => {
103
- X.add(t = { c: e, f: n });
101
+ return X.size === 0 && st(Ft), {
102
+ promise: new Promise((r) => {
103
+ X.add(t = { c: e, f: r });
104
104
  }),
105
105
  abort() {
106
106
  X.delete(t);
@@ -110,14 +110,14 @@ function Pn(e) {
110
110
  function A(e, t) {
111
111
  e.appendChild(t);
112
112
  }
113
- function On(e, t, n) {
114
- const r = nt(e);
115
- if (!r.getElementById(t)) {
116
- const i = L("style");
117
- i.id = t, i.textContent = n, Ut(r, i);
113
+ function Nr(e, t, r) {
114
+ const n = at(e);
115
+ if (!n.getElementById(t)) {
116
+ const i = N("style");
117
+ i.id = t, i.textContent = r, jt(n, i);
118
118
  }
119
119
  }
120
- function nt(e) {
120
+ function at(e) {
121
121
  if (!e)
122
122
  return document;
123
123
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -127,339 +127,339 @@ function nt(e) {
127
127
  t
128
128
  ) : e.ownerDocument;
129
129
  }
130
- function In(e) {
131
- const t = L("style");
132
- return t.textContent = "/* empty */", Ut(nt(e), t), t.sheet;
130
+ function Cr(e) {
131
+ const t = N("style");
132
+ return t.textContent = "/* empty */", jt(at(e), t), t.sheet;
133
133
  }
134
- function Ut(e, t) {
134
+ function jt(e, t) {
135
135
  return A(
136
136
  /** @type {Document} */
137
137
  e.head || e,
138
138
  t
139
139
  ), t.sheet;
140
140
  }
141
- function he(e, t, n) {
142
- e.insertBefore(t, n || null);
141
+ function ue(e, t, r) {
142
+ e.insertBefore(t, r || null);
143
143
  }
144
144
  function G(e) {
145
145
  e.parentNode && e.parentNode.removeChild(e);
146
146
  }
147
- function xo(e, t) {
148
- for (let n = 0; n < e.length; n += 1)
149
- e[n] && e[n].d(t);
147
+ function To(e, t) {
148
+ for (let r = 0; r < e.length; r += 1)
149
+ e[r] && e[r].d(t);
150
150
  }
151
- function L(e) {
151
+ function N(e) {
152
152
  return document.createElement(e);
153
153
  }
154
- function te(e) {
154
+ function ee(e) {
155
155
  return document.createElementNS("http://www.w3.org/2000/svg", e);
156
156
  }
157
157
  function le(e) {
158
158
  return document.createTextNode(e);
159
159
  }
160
- function Ln() {
160
+ function Mr() {
161
161
  return le(" ");
162
162
  }
163
- function Eo() {
163
+ function Ho() {
164
164
  return le("");
165
165
  }
166
- function Dt(e, t, n, r) {
167
- return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
166
+ function kt(e, t, r, n) {
167
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
168
168
  }
169
- function So(e) {
169
+ function Bo(e) {
170
170
  return function(t) {
171
171
  return t.preventDefault(), e.call(this, t);
172
172
  };
173
173
  }
174
- function B(e, t, n) {
175
- n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
174
+ function B(e, t, r) {
175
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
176
176
  }
177
- function To(e, t, n) {
178
- const r = t.toLowerCase();
179
- r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : B(e, t, n);
177
+ function Ao(e, t, r) {
178
+ const n = t.toLowerCase();
179
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : B(e, t, r);
180
180
  }
181
- function wo(e) {
181
+ function Po(e) {
182
182
  let t;
183
183
  return {
184
184
  /* push */
185
- p(...n) {
186
- t = n, t.forEach((r) => e.push(r));
185
+ p(...r) {
186
+ t = r, t.forEach((n) => e.push(n));
187
187
  },
188
188
  /* remove */
189
189
  r() {
190
- t.forEach((n) => e.splice(e.indexOf(n), 1));
190
+ t.forEach((r) => e.splice(e.indexOf(r), 1));
191
191
  }
192
192
  };
193
193
  }
194
- function Ho(e) {
194
+ function Oo(e) {
195
195
  return e === "" ? null : +e;
196
196
  }
197
- function Nn(e) {
197
+ function $r(e) {
198
198
  return Array.from(e.childNodes);
199
199
  }
200
- function Gt(e, t) {
200
+ function Vt(e, t) {
201
201
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
202
202
  t);
203
203
  }
204
- function Bo(e, t) {
204
+ function Io(e, t) {
205
205
  e.value = t ?? "";
206
206
  }
207
- function Mn(e, t, n, r) {
208
- n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
207
+ function Rr(e, t, r, n) {
208
+ r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
209
209
  }
210
- function Ao(e, t, n) {
211
- for (let r = 0; r < e.options.length; r += 1) {
212
- const i = e.options[r];
210
+ function Lo(e, t, r) {
211
+ for (let n = 0; n < e.options.length; n += 1) {
212
+ const i = e.options[n];
213
213
  if (i.__value === t) {
214
214
  i.selected = !0;
215
215
  return;
216
216
  }
217
217
  }
218
- (!n || t !== void 0) && (e.selectedIndex = -1);
218
+ (!r || t !== void 0) && (e.selectedIndex = -1);
219
219
  }
220
- function Po(e) {
220
+ function No(e) {
221
221
  const t = e.querySelector(":checked");
222
222
  return t && t.__value;
223
223
  }
224
- function Oo(e, t, n) {
225
- e.classList.toggle(t, !!n);
224
+ function Co(e, t, r) {
225
+ e.classList.toggle(t, !!r);
226
226
  }
227
- function Cn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
228
- return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
227
+ function Ur(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
228
+ return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
229
229
  }
230
- function $n(e) {
230
+ function Dr(e) {
231
231
  const t = {};
232
232
  return e.childNodes.forEach(
233
233
  /** @param {Element} node */
234
- (n) => {
235
- t[n.slot || "default"] = !0;
234
+ (r) => {
235
+ t[r.slot || "default"] = !0;
236
236
  }
237
237
  ), t;
238
238
  }
239
- const xe = /* @__PURE__ */ new Map();
240
- let Ee = 0;
241
- function Rn(e) {
242
- let t = 5381, n = e.length;
243
- for (; n--; )
244
- t = (t << 5) - t ^ e.charCodeAt(n);
239
+ const Ee = /* @__PURE__ */ new Map();
240
+ let xe = 0;
241
+ function Gr(e) {
242
+ let t = 5381, r = e.length;
243
+ for (; r--; )
244
+ t = (t << 5) - t ^ e.charCodeAt(r);
245
245
  return t >>> 0;
246
246
  }
247
- function Un(e, t) {
248
- const n = { stylesheet: In(t), rules: {} };
249
- return xe.set(e, n), n;
247
+ function Fr(e, t) {
248
+ const r = { stylesheet: Cr(t), rules: {} };
249
+ return Ee.set(e, r), r;
250
250
  }
251
- function at(e, t, n, r, i, o, a, s = 0) {
252
- const h = 16.666 / r;
251
+ function ct(e, t, r, n, i, o, a, s = 0) {
252
+ const l = 16.666 / n;
253
253
  let u = `{
254
254
  `;
255
- for (let x = 0; x <= 1; x += h) {
256
- const T = t + (n - t) * o(x);
257
- u += x * 100 + `%{${a(T, 1 - T)}}
255
+ for (let _ = 0; _ <= 1; _ += l) {
256
+ const w = t + (r - t) * o(_);
257
+ u += _ * 100 + `%{${a(w, 1 - w)}}
258
258
  `;
259
259
  }
260
- const l = u + `100% {${a(n, 1 - n)}}
261
- }`, c = `__svelte_${Rn(l)}_${s}`, f = nt(e), { stylesheet: p, rules: d } = xe.get(f) || Un(f, e);
262
- d[c] || (d[c] = !0, p.insertRule(`@keyframes ${c} ${l}`, p.cssRules.length));
260
+ const h = u + `100% {${a(r, 1 - r)}}
261
+ }`, f = `__svelte_${Gr(h)}_${s}`, c = at(e), { stylesheet: d, rules: p } = Ee.get(c) || Fr(c, e);
262
+ p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${h}`, d.cssRules.length));
263
263
  const m = e.style.animation || "";
264
- return e.style.animation = `${m ? `${m}, ` : ""}${c} ${r}ms linear ${i}ms 1 both`, Ee += 1, c;
264
+ return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, xe += 1, f;
265
265
  }
266
- function Dn(e, t) {
267
- const n = (e.style.animation || "").split(", "), r = n.filter(
266
+ function jr(e, t) {
267
+ const r = (e.style.animation || "").split(", "), n = r.filter(
268
268
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
269
269
  // remove all Svelte animations
270
- ), i = n.length - r.length;
271
- i && (e.style.animation = r.join(", "), Ee -= i, Ee || Gn());
270
+ ), i = r.length - n.length;
271
+ i && (e.style.animation = n.join(", "), xe -= i, xe || kr());
272
272
  }
273
- function Gn() {
274
- tt(() => {
275
- Ee || (xe.forEach((e) => {
273
+ function kr() {
274
+ st(() => {
275
+ xe || (Ee.forEach((e) => {
276
276
  const { ownerNode: t } = e.stylesheet;
277
277
  t && G(t);
278
- }), xe.clear());
278
+ }), Ee.clear());
279
279
  });
280
280
  }
281
- let oe;
282
- function ie(e) {
283
- oe = e;
281
+ let ie;
282
+ function ne(e) {
283
+ ie = e;
284
284
  }
285
- function Fn() {
286
- if (!oe)
285
+ function Vr() {
286
+ if (!ie)
287
287
  throw new Error("Function called outside component initialization");
288
- return oe;
288
+ return ie;
289
289
  }
290
- function jn(e) {
291
- Fn().$$.on_mount.push(e);
290
+ function Xr(e) {
291
+ Vr().$$.on_mount.push(e);
292
292
  }
293
- const V = [], Ge = [];
293
+ const V = [], ke = [];
294
294
  let W = [];
295
- const ut = [], Ft = /* @__PURE__ */ Promise.resolve();
296
- let Fe = !1;
297
- function jt() {
298
- Fe || (Fe = !0, Ft.then(I));
295
+ const ft = [], Xt = /* @__PURE__ */ Promise.resolve();
296
+ let Ve = !1;
297
+ function Wt() {
298
+ Ve || (Ve = !0, Xt.then(I));
299
299
  }
300
- function Io() {
301
- return jt(), Ft;
300
+ function Mo() {
301
+ return Wt(), Xt;
302
302
  }
303
303
  function Se(e) {
304
304
  W.push(e);
305
305
  }
306
- const Le = /* @__PURE__ */ new Set();
306
+ const Ce = /* @__PURE__ */ new Set();
307
307
  let j = 0;
308
308
  function I() {
309
309
  if (j !== 0)
310
310
  return;
311
- const e = oe;
311
+ const e = ie;
312
312
  do {
313
313
  try {
314
314
  for (; j < V.length; ) {
315
315
  const t = V[j];
316
- j++, ie(t), kn(t.$$);
316
+ j++, ne(t), Wr(t.$$);
317
317
  }
318
318
  } catch (t) {
319
319
  throw V.length = 0, j = 0, t;
320
320
  }
321
- for (ie(null), V.length = 0, j = 0; Ge.length; )
322
- Ge.pop()();
321
+ for (ne(null), V.length = 0, j = 0; ke.length; )
322
+ ke.pop()();
323
323
  for (let t = 0; t < W.length; t += 1) {
324
- const n = W[t];
325
- Le.has(n) || (Le.add(n), n());
324
+ const r = W[t];
325
+ Ce.has(r) || (Ce.add(r), r());
326
326
  }
327
327
  W.length = 0;
328
328
  } while (V.length);
329
- for (; ut.length; )
330
- ut.pop()();
331
- Fe = !1, Le.clear(), ie(e);
329
+ for (; ft.length; )
330
+ ft.pop()();
331
+ Ve = !1, Ce.clear(), ne(e);
332
332
  }
333
- function kn(e) {
333
+ function Wr(e) {
334
334
  if (e.fragment !== null) {
335
335
  e.update(), D(e.before_update);
336
336
  const t = e.dirty;
337
337
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
338
338
  }
339
339
  }
340
- function Vn(e) {
341
- const t = [], n = [];
342
- W.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), W = t;
340
+ function zr(e) {
341
+ const t = [], r = [];
342
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
343
343
  }
344
- let ne;
345
- function Xn() {
346
- return ne || (ne = Promise.resolve(), ne.then(() => {
347
- ne = null;
348
- })), ne;
344
+ let te;
345
+ function Zr() {
346
+ return te || (te = Promise.resolve(), te.then(() => {
347
+ te = null;
348
+ })), te;
349
349
  }
350
- function Ne(e, t, n) {
351
- e.dispatchEvent(Cn(`${t ? "intro" : "outro"}${n}`));
350
+ function Me(e, t, r) {
351
+ e.dispatchEvent(Ur(`${t ? "intro" : "outro"}${r}`));
352
352
  }
353
353
  const be = /* @__PURE__ */ new Set();
354
- let N;
355
- function Lo() {
356
- N = {
354
+ let C;
355
+ function $o() {
356
+ C = {
357
357
  r: 0,
358
358
  c: [],
359
- p: N
359
+ p: C
360
360
  // parent group
361
361
  };
362
362
  }
363
- function No() {
364
- N.r || D(N.c), N = N.p;
363
+ function Ro() {
364
+ C.r || D(C.c), C = C.p;
365
365
  }
366
- function Wn(e, t) {
366
+ function qr(e, t) {
367
367
  e && e.i && (be.delete(e), e.i(t));
368
368
  }
369
- function Mo(e, t, n, r) {
369
+ function Uo(e, t, r, n) {
370
370
  if (e && e.o) {
371
371
  if (be.has(e))
372
372
  return;
373
- be.add(e), N.c.push(() => {
374
- be.delete(e), r && (n && e.d(1), r());
373
+ be.add(e), C.c.push(() => {
374
+ be.delete(e), n && (r && e.d(1), n());
375
375
  }), e.o(t);
376
376
  } else
377
- r && r();
377
+ n && n();
378
378
  }
379
- const zn = { duration: 0 };
380
- function Co(e, t, n, r) {
381
- let o = t(e, n, { direction: "both" }), a = r ? 0 : 1, s = null, h = null, u = null, l;
382
- function c() {
383
- u && Dn(e, u);
379
+ const Qr = { duration: 0 };
380
+ function Do(e, t, r, n) {
381
+ let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
382
+ function f() {
383
+ u && jr(e, u);
384
384
  }
385
- function f(d, m) {
386
- const x = (
385
+ function c(p, m) {
386
+ const _ = (
387
387
  /** @type {Program['d']} */
388
- d.b - a
388
+ p.b - a
389
389
  );
390
- return m *= Math.abs(x), {
390
+ return m *= Math.abs(_), {
391
391
  a,
392
- b: d.b,
393
- d: x,
392
+ b: p.b,
393
+ d: _,
394
394
  duration: m,
395
- start: d.start,
396
- end: d.start + m,
397
- group: d.group
395
+ start: p.start,
396
+ end: p.start + m,
397
+ group: p.group
398
398
  };
399
399
  }
400
- function p(d) {
400
+ function d(p) {
401
401
  const {
402
402
  delay: m = 0,
403
- duration: x = 300,
404
- easing: T = Tn,
403
+ duration: _ = 300,
404
+ easing: w = Br,
405
405
  tick: P = H,
406
- css: E
407
- } = o || zn, O = {
408
- start: An() + m,
409
- b: d
406
+ css: x
407
+ } = o || Qr, O = {
408
+ start: Ir() + m,
409
+ b: p
410
410
  };
411
- d || (O.group = N, N.r += 1), "inert" in e && (d ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
412
- e.inert, e.inert = !0)), s || h ? h = O : (E && (c(), u = at(e, a, d, x, m, T, E)), d && P(0, 1), s = f(O, x), Se(() => Ne(e, d, "start")), Pn((w) => {
413
- if (h && w > h.start && (s = f(h, x), h = null, Ne(e, s.b, "start"), E && (c(), u = at(
411
+ p || (O.group = C, C.r += 1), "inert" in e && (p ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
412
+ e.inert, e.inert = !0)), s || l ? l = O : (x && (f(), u = ct(e, a, p, _, m, w, x)), p && P(0, 1), s = c(O, _), Se(() => Me(e, p, "start")), Lr((T) => {
413
+ if (l && T > l.start && (s = c(l, _), l = null, Me(e, s.b, "start"), x && (f(), u = ct(
414
414
  e,
415
415
  a,
416
416
  s.b,
417
417
  s.duration,
418
418
  0,
419
- T,
419
+ w,
420
420
  o.css
421
421
  ))), s) {
422
- if (w >= s.end)
423
- P(a = s.b, 1 - a), Ne(e, s.b, "end"), h || (s.b ? c() : --s.group.r || D(s.group.c)), s = null;
424
- else if (w >= s.start) {
425
- const $ = w - s.start;
426
- a = s.a + s.d * T($ / s.duration), P(a, 1 - a);
422
+ if (T >= s.end)
423
+ P(a = s.b, 1 - a), Me(e, s.b, "end"), l || (s.b ? f() : --s.group.r || D(s.group.c)), s = null;
424
+ else if (T >= s.start) {
425
+ const $ = T - s.start;
426
+ a = s.a + s.d * w($ / s.duration), P(a, 1 - a);
427
427
  }
428
428
  }
429
- return !!(s || h);
429
+ return !!(s || l);
430
430
  }));
431
431
  }
432
432
  return {
433
- run(d) {
434
- ue(o) ? Xn().then(() => {
435
- o = o({ direction: d ? "in" : "out" }), p(d);
436
- }) : p(d);
433
+ run(p) {
434
+ ae(o) ? Zr().then(() => {
435
+ o = o({ direction: p ? "in" : "out" }), d(p);
436
+ }) : d(p);
437
437
  },
438
438
  end() {
439
- c(), s = h = null;
439
+ f(), s = l = null;
440
440
  }
441
441
  };
442
442
  }
443
- function $o(e) {
443
+ function Go(e) {
444
444
  return e?.length !== void 0 ? e : Array.from(e);
445
445
  }
446
- function Zn(e, t, n) {
447
- const { fragment: r, after_update: i } = e.$$;
448
- r && r.m(t, n), Se(() => {
449
- const o = e.$$.on_mount.map(Lt).filter(ue);
446
+ function Jr(e, t, r) {
447
+ const { fragment: n, after_update: i } = e.$$;
448
+ n && n.m(t, r), Se(() => {
449
+ const o = e.$$.on_mount.map($t).filter(ae);
450
450
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : D(o), e.$$.on_mount = [];
451
451
  }), i.forEach(Se);
452
452
  }
453
- function qn(e, t) {
454
- const n = e.$$;
455
- n.fragment !== null && (Vn(n.after_update), D(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
453
+ function Yr(e, t) {
454
+ const r = e.$$;
455
+ r.fragment !== null && (zr(r.after_update), D(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
456
456
  }
457
- function Qn(e, t) {
458
- e.$$.dirty[0] === -1 && (V.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
457
+ function Kr(e, t) {
458
+ e.$$.dirty[0] === -1 && (V.push(e), Wt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
459
459
  }
460
- function Jn(e, t, n, r, i, o, a = null, s = [-1]) {
461
- const h = oe;
462
- ie(e);
460
+ function en(e, t, r, n, i, o, a = null, s = [-1]) {
461
+ const l = ie;
462
+ ne(e);
463
463
  const u = e.$$ = {
464
464
  fragment: null,
465
465
  ctx: [],
@@ -467,37 +467,37 @@ function Jn(e, t, n, r, i, o, a = null, s = [-1]) {
467
467
  props: o,
468
468
  update: H,
469
469
  not_equal: i,
470
- bound: st(),
470
+ bound: ht(),
471
471
  // lifecycle
472
472
  on_mount: [],
473
473
  on_destroy: [],
474
474
  on_disconnect: [],
475
475
  before_update: [],
476
476
  after_update: [],
477
- context: new Map(t.context || (h ? h.$$.context : [])),
477
+ context: new Map(t.context || (l ? l.$$.context : [])),
478
478
  // everything else
479
- callbacks: st(),
479
+ callbacks: ht(),
480
480
  dirty: s,
481
481
  skip_bound: !1,
482
- root: t.target || h.$$.root
482
+ root: t.target || l.$$.root
483
483
  };
484
484
  a && a(u.root);
485
- let l = !1;
486
- if (u.ctx = n ? n(e, t.props || {}, (c, f, ...p) => {
487
- const d = p.length ? p[0] : f;
488
- return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), l && Qn(e, c)), f;
489
- }) : [], u.update(), l = !0, D(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
485
+ let h = !1;
486
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
487
+ const p = d.length ? d[0] : c;
488
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), h && Kr(e, f)), c;
489
+ }) : [], u.update(), h = !0, D(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
490
490
  if (t.hydrate) {
491
- const c = Nn(t.target);
492
- u.fragment && u.fragment.l(c), c.forEach(G);
491
+ const f = $r(t.target);
492
+ u.fragment && u.fragment.l(f), f.forEach(G);
493
493
  } else
494
494
  u.fragment && u.fragment.c();
495
- t.intro && Wn(e.$$.fragment), Zn(e, t.target, t.anchor), I();
495
+ t.intro && qr(e.$$.fragment), Jr(e, t.target, t.anchor), I();
496
496
  }
497
- ie(h);
497
+ ne(l);
498
498
  }
499
- let kt;
500
- typeof HTMLElement == "function" && (kt = class extends HTMLElement {
499
+ let zt;
500
+ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
501
501
  /** The Svelte component constructor */
502
502
  $$ctor;
503
503
  /** Slots */
@@ -516,20 +516,20 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
516
516
  $$l = {};
517
517
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
518
518
  $$l_u = /* @__PURE__ */ new Map();
519
- constructor(e, t, n) {
520
- super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
519
+ constructor(e, t, r) {
520
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
521
521
  }
522
- addEventListener(e, t, n) {
522
+ addEventListener(e, t, r) {
523
523
  if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
524
- const r = this.$$c.$on(e, t);
525
- this.$$l_u.set(t, r);
524
+ const n = this.$$c.$on(e, t);
525
+ this.$$l_u.set(t, n);
526
526
  }
527
- super.addEventListener(e, t, n);
527
+ super.addEventListener(e, t, r);
528
528
  }
529
- removeEventListener(e, t, n) {
530
- if (super.removeEventListener(e, t, n), this.$$c) {
531
- const r = this.$$l_u.get(t);
532
- r && (r(), this.$$l_u.delete(t));
529
+ removeEventListener(e, t, r) {
530
+ if (super.removeEventListener(e, t, r), this.$$c) {
531
+ const n = this.$$l_u.get(t);
532
+ n && (n(), this.$$l_u.delete(t));
533
533
  }
534
534
  }
535
535
  async connectedCallback() {
@@ -539,29 +539,29 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
539
539
  let o;
540
540
  return {
541
541
  c: function() {
542
- o = L("slot"), i !== "default" && B(o, "name", i);
542
+ o = N("slot"), i !== "default" && B(o, "name", i);
543
543
  },
544
544
  /**
545
545
  * @param {HTMLElement} target
546
546
  * @param {HTMLElement} [anchor]
547
547
  */
548
- m: function(h, u) {
549
- he(h, o, u);
548
+ m: function(l, u) {
549
+ ue(l, o, u);
550
550
  },
551
- d: function(h) {
552
- h && G(o);
551
+ d: function(l) {
552
+ l && G(o);
553
553
  }
554
554
  };
555
555
  };
556
556
  };
557
557
  if (await Promise.resolve(), !this.$$cn || this.$$c)
558
558
  return;
559
- const t = {}, n = $n(this);
559
+ const t = {}, r = Dr(this);
560
560
  for (const i of this.$$s)
561
- i in n && (t[i] = [e(i)]);
561
+ i in r && (t[i] = [e(i)]);
562
562
  for (const i of this.attributes) {
563
563
  const o = this.$$g_p(i.name);
564
- o in this.$$d || (this.$$d[o] = ge(o, i.value, this.$$p_d, "toProp"));
564
+ o in this.$$d || (this.$$d[o] = ye(o, i.value, this.$$p_d, "toProp"));
565
565
  }
566
566
  for (const i in this.$$p_d)
567
567
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -575,11 +575,11 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
575
575
  }
576
576
  }
577
577
  });
578
- const r = () => {
578
+ const n = () => {
579
579
  this.$$r = !0;
580
580
  for (const i in this.$$p_d)
581
581
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
582
- const o = ge(
582
+ const o = ye(
583
583
  i,
584
584
  this.$$d[i],
585
585
  this.$$p_d,
@@ -589,7 +589,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
589
589
  }
590
590
  this.$$r = !1;
591
591
  };
592
- this.$$c.$$.after_update.push(r), r();
592
+ this.$$c.$$.after_update.push(n), n();
593
593
  for (const i in this.$$l)
594
594
  for (const o of this.$$l[i]) {
595
595
  const a = this.$$c.$on(i, o);
@@ -600,8 +600,8 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
600
600
  }
601
601
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
602
602
  // and setting attributes through setAttribute etc, this is helpful
603
- attributeChangedCallback(e, t, n) {
604
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
603
+ attributeChangedCallback(e, t, r) {
604
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
605
605
  }
606
606
  disconnectedCallback() {
607
607
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -614,11 +614,11 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
614
614
  ) || e;
615
615
  }
616
616
  });
617
- function ge(e, t, n, r) {
618
- const i = n[e]?.type;
619
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
617
+ function ye(e, t, r, n) {
618
+ const i = r[e]?.type;
619
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
620
620
  return t;
621
- if (r === "toAttribute")
621
+ if (n === "toAttribute")
622
622
  switch (i) {
623
623
  case "Object":
624
624
  case "Array":
@@ -643,10 +643,10 @@ function ge(e, t, n, r) {
643
643
  return t;
644
644
  }
645
645
  }
646
- function Yn(e, t, n, r, i, o) {
647
- let a = class extends kt {
646
+ function tn(e, t, r, n, i, o) {
647
+ let a = class extends zt {
648
648
  constructor() {
649
- super(e, n, i), this.$$p_d = t;
649
+ super(e, r, i), this.$$p_d = t;
650
650
  }
651
651
  static get observedAttributes() {
652
652
  return Object.keys(t).map(
@@ -659,11 +659,11 @@ function Yn(e, t, n, r, i, o) {
659
659
  get() {
660
660
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
661
661
  },
662
- set(h) {
663
- h = ge(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
662
+ set(l) {
663
+ l = ye(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
664
664
  }
665
665
  });
666
- }), r.forEach((s) => {
666
+ }), n.forEach((s) => {
667
667
  Object.defineProperty(a.prototype, s, {
668
668
  get() {
669
669
  return this.$$c?.[s];
@@ -672,7 +672,7 @@ function Yn(e, t, n, r, i, o) {
672
672
  }), e.element = /** @type {any} */
673
673
  a, a;
674
674
  }
675
- class Kn {
675
+ class rn {
676
676
  /**
677
677
  * ### PRIVATE API
678
678
  *
@@ -691,7 +691,7 @@ class Kn {
691
691
  $$set = void 0;
692
692
  /** @returns {void} */
693
693
  $destroy() {
694
- qn(this, 1), this.$destroy = H;
694
+ Yr(this, 1), this.$destroy = H;
695
695
  }
696
696
  /**
697
697
  * @template {Extract<keyof Events, string>} K
@@ -699,13 +699,13 @@ class Kn {
699
699
  * @param {((e: Events[K]) => void) | null | undefined} callback
700
700
  * @returns {() => void}
701
701
  */
702
- $on(t, n) {
703
- if (!ue(n))
702
+ $on(t, r) {
703
+ if (!ae(r))
704
704
  return H;
705
- const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
706
- return r.push(n), () => {
707
- const i = r.indexOf(n);
708
- i !== -1 && r.splice(i, 1);
705
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
706
+ return n.push(r), () => {
707
+ const i = n.indexOf(r);
708
+ i !== -1 && n.splice(i, 1);
709
709
  };
710
710
  }
711
711
  /**
@@ -713,11 +713,11 @@ class Kn {
713
713
  * @returns {void}
714
714
  */
715
715
  $set(t) {
716
- this.$$set && !Hn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
716
+ this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
717
717
  }
718
718
  }
719
- const er = "4";
720
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(er);
719
+ const nn = "4";
720
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(nn);
721
721
  /*! *****************************************************************************
722
722
  Copyright (c) Microsoft Corporation.
723
723
 
@@ -732,67 +732,48 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
732
732
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
733
733
  PERFORMANCE OF THIS SOFTWARE.
734
734
  ***************************************************************************** */
735
- var je = function(e, t) {
736
- return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
737
- n.__proto__ = r;
738
- } || function(n, r) {
739
- for (var i in r)
740
- Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
741
- }, je(e, t);
735
+ var Xe = function(e, t) {
736
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
737
+ r.__proto__ = n;
738
+ } || function(r, n) {
739
+ for (var i in n)
740
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
741
+ }, Xe(e, t);
742
742
  };
743
- function C(e, t) {
743
+ function he(e, t) {
744
744
  if (typeof t != "function" && t !== null)
745
745
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
746
- je(e, t);
747
- function n() {
746
+ Xe(e, t);
747
+ function r() {
748
748
  this.constructor = e;
749
749
  }
750
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
751
- }
752
- var y = function() {
753
- return y = Object.assign || function(t) {
754
- for (var n, r = 1, i = arguments.length; r < i; r++) {
755
- n = arguments[r];
756
- for (var o in n)
757
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
758
- }
759
- return t;
760
- }, y.apply(this, arguments);
761
- };
762
- function tr(e, t) {
763
- var n = {};
764
- for (var r in e)
765
- Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
766
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
767
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
768
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
769
- return n;
750
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
770
751
  }
771
- function ke(e) {
772
- var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
773
- if (n)
774
- return n.call(e);
752
+ function We(e) {
753
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
754
+ if (r)
755
+ return r.call(e);
775
756
  if (e && typeof e.length == "number")
776
757
  return {
777
758
  next: function() {
778
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
759
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
779
760
  }
780
761
  };
781
762
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
782
763
  }
783
- function Ve(e, t) {
784
- var n = typeof Symbol == "function" && e[Symbol.iterator];
785
- if (!n)
764
+ function ze(e, t) {
765
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
766
+ if (!r)
786
767
  return e;
787
- var r = n.call(e), i, o = [], a;
768
+ var n = r.call(e), i, o = [], a;
788
769
  try {
789
- for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
770
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
790
771
  o.push(i.value);
791
772
  } catch (s) {
792
773
  a = { error: s };
793
774
  } finally {
794
775
  try {
795
- i && !i.done && (n = r.return) && n.call(r);
776
+ i && !i.done && (r = n.return) && r.call(n);
796
777
  } finally {
797
778
  if (a)
798
779
  throw a.error;
@@ -800,57 +781,57 @@ function Ve(e, t) {
800
781
  }
801
782
  return o;
802
783
  }
803
- function z(e, t, n) {
804
- if (n || arguments.length === 2)
805
- for (var r = 0, i = t.length, o; r < i; r++)
806
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
784
+ function Ze(e, t, r) {
785
+ if (arguments.length === 2)
786
+ for (var n = 0, i = t.length, o; n < i; n++)
787
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
807
788
  return e.concat(o || t);
808
789
  }
809
790
  function M(e) {
810
791
  return typeof e == "function";
811
792
  }
812
- function Vt(e) {
813
- var t = function(r) {
814
- Error.call(r), r.stack = new Error().stack;
815
- }, n = e(t);
816
- return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
817
- }
818
- var Me = Vt(function(e) {
819
- return function(n) {
820
- e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
821
- ` + n.map(function(r, i) {
822
- return i + 1 + ") " + r.toString();
793
+ function Zt(e) {
794
+ var t = function(n) {
795
+ Error.call(n), n.stack = new Error().stack;
796
+ }, r = e(t);
797
+ return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
798
+ }
799
+ var $e = Zt(function(e) {
800
+ return function(r) {
801
+ e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
802
+ ` + r.map(function(n, i) {
803
+ return i + 1 + ") " + n.toString();
823
804
  }).join(`
824
- `) : "", this.name = "UnsubscriptionError", this.errors = n;
805
+ `) : "", this.name = "UnsubscriptionError", this.errors = r;
825
806
  };
826
807
  });
827
- function Xe(e, t) {
808
+ function qe(e, t) {
828
809
  if (e) {
829
- var n = e.indexOf(t);
830
- 0 <= n && e.splice(n, 1);
810
+ var r = e.indexOf(t);
811
+ 0 <= r && e.splice(r, 1);
831
812
  }
832
813
  }
833
- var He = function() {
814
+ var Be = function() {
834
815
  function e(t) {
835
816
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
836
817
  }
837
818
  return e.prototype.unsubscribe = function() {
838
- var t, n, r, i, o;
819
+ var t, r, n, i, o;
839
820
  if (!this.closed) {
840
821
  this.closed = !0;
841
822
  var a = this._parentage;
842
823
  if (a)
843
824
  if (this._parentage = null, Array.isArray(a))
844
825
  try {
845
- for (var s = ke(a), h = s.next(); !h.done; h = s.next()) {
846
- var u = h.value;
826
+ for (var s = We(a), l = s.next(); !l.done; l = s.next()) {
827
+ var u = l.value;
847
828
  u.remove(this);
848
829
  }
849
830
  } catch (m) {
850
831
  t = { error: m };
851
832
  } finally {
852
833
  try {
853
- h && !h.done && (n = s.return) && n.call(s);
834
+ l && !l.done && (r = s.return) && r.call(s);
854
835
  } finally {
855
836
  if (t)
856
837
  throw t.error;
@@ -858,123 +839,119 @@ var He = function() {
858
839
  }
859
840
  else
860
841
  a.remove(this);
861
- var l = this.initialTeardown;
862
- if (M(l))
842
+ var h = this.initialTeardown;
843
+ if (M(h))
863
844
  try {
864
- l();
845
+ h();
865
846
  } catch (m) {
866
- o = m instanceof Me ? m.errors : [m];
847
+ o = m instanceof $e ? m.errors : [m];
867
848
  }
868
- var c = this._finalizers;
869
- if (c) {
849
+ var f = this._finalizers;
850
+ if (f) {
870
851
  this._finalizers = null;
871
852
  try {
872
- for (var f = ke(c), p = f.next(); !p.done; p = f.next()) {
873
- var d = p.value;
853
+ for (var c = We(f), d = c.next(); !d.done; d = c.next()) {
854
+ var p = d.value;
874
855
  try {
875
- ht(d);
856
+ pt(p);
876
857
  } catch (m) {
877
- o = o ?? [], m instanceof Me ? o = z(z([], Ve(o)), Ve(m.errors)) : o.push(m);
858
+ o = o ?? [], m instanceof $e ? o = Ze(Ze([], ze(o)), ze(m.errors)) : o.push(m);
878
859
  }
879
860
  }
880
861
  } catch (m) {
881
- r = { error: m };
862
+ n = { error: m };
882
863
  } finally {
883
864
  try {
884
- p && !p.done && (i = f.return) && i.call(f);
865
+ d && !d.done && (i = c.return) && i.call(c);
885
866
  } finally {
886
- if (r)
887
- throw r.error;
867
+ if (n)
868
+ throw n.error;
888
869
  }
889
870
  }
890
871
  }
891
872
  if (o)
892
- throw new Me(o);
873
+ throw new $e(o);
893
874
  }
894
875
  }, e.prototype.add = function(t) {
895
- var n;
876
+ var r;
896
877
  if (t && t !== this)
897
878
  if (this.closed)
898
- ht(t);
879
+ pt(t);
899
880
  else {
900
881
  if (t instanceof e) {
901
882
  if (t.closed || t._hasParent(this))
902
883
  return;
903
884
  t._addParent(this);
904
885
  }
905
- (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
886
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
906
887
  }
907
888
  }, e.prototype._hasParent = function(t) {
908
- var n = this._parentage;
909
- return n === t || Array.isArray(n) && n.includes(t);
889
+ var r = this._parentage;
890
+ return r === t || Array.isArray(r) && r.includes(t);
910
891
  }, e.prototype._addParent = function(t) {
911
- var n = this._parentage;
912
- this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
892
+ var r = this._parentage;
893
+ this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
913
894
  }, e.prototype._removeParent = function(t) {
914
- var n = this._parentage;
915
- n === t ? this._parentage = null : Array.isArray(n) && Xe(n, t);
895
+ var r = this._parentage;
896
+ r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
916
897
  }, e.prototype.remove = function(t) {
917
- var n = this._finalizers;
918
- n && Xe(n, t), t instanceof e && t._removeParent(this);
898
+ var r = this._finalizers;
899
+ r && qe(r, t), t instanceof e && t._removeParent(this);
919
900
  }, e.EMPTY = function() {
920
901
  var t = new e();
921
902
  return t.closed = !0, t;
922
903
  }(), e;
923
- }(), Xt = He.EMPTY;
924
- function Wt(e) {
925
- return e instanceof He || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
904
+ }(), qt = Be.EMPTY;
905
+ function Qt(e) {
906
+ return e instanceof Be || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
926
907
  }
927
- function ht(e) {
908
+ function pt(e) {
928
909
  M(e) ? e() : e.unsubscribe();
929
910
  }
930
- var nr = {
931
- onUnhandledError: null,
932
- onStoppedNotification: null,
933
- Promise: void 0,
934
- useDeprecatedSynchronousErrorHandling: !1,
935
- useDeprecatedNextContext: !1
936
- }, rr = {
911
+ var on = {
912
+ Promise: void 0
913
+ }, sn = {
937
914
  setTimeout: function(e, t) {
938
- for (var n = [], r = 2; r < arguments.length; r++)
939
- n[r - 2] = arguments[r];
940
- return setTimeout.apply(void 0, z([e, t], Ve(n)));
915
+ for (var r = [], n = 2; n < arguments.length; n++)
916
+ r[n - 2] = arguments[n];
917
+ return setTimeout.apply(void 0, Ze([e, t], ze(r)));
941
918
  },
942
919
  clearTimeout: function(e) {
943
920
  return clearTimeout(e);
944
921
  },
945
922
  delegate: void 0
946
923
  };
947
- function ir(e) {
948
- rr.setTimeout(function() {
924
+ function an(e) {
925
+ sn.setTimeout(function() {
949
926
  throw e;
950
927
  });
951
928
  }
952
- function lt() {
929
+ function dt() {
953
930
  }
954
- function ye(e) {
931
+ function ge(e) {
955
932
  e();
956
933
  }
957
- var zt = function(e) {
958
- C(t, e);
959
- function t(n) {
960
- var r = e.call(this) || this;
961
- return r.isStopped = !1, n ? (r.destination = n, Wt(n) && n.add(r)) : r.destination = ar, r;
934
+ var Jt = function(e) {
935
+ he(t, e);
936
+ function t(r) {
937
+ var n = e.call(this) || this;
938
+ return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = hn, n;
962
939
  }
963
- return t.create = function(n, r, i) {
964
- return new We(n, r, i);
965
- }, t.prototype.next = function(n) {
966
- this.isStopped || this._next(n);
967
- }, t.prototype.error = function(n) {
968
- this.isStopped || (this.isStopped = !0, this._error(n));
940
+ return t.create = function(r, n, i) {
941
+ return new Qe(r, n, i);
942
+ }, t.prototype.next = function(r) {
943
+ this.isStopped || this._next(r);
944
+ }, t.prototype.error = function(r) {
945
+ this.isStopped || (this.isStopped = !0, this._error(r));
969
946
  }, t.prototype.complete = function() {
970
947
  this.isStopped || (this.isStopped = !0, this._complete());
971
948
  }, t.prototype.unsubscribe = function() {
972
949
  this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
973
- }, t.prototype._next = function(n) {
974
- this.destination.next(n);
975
- }, t.prototype._error = function(n) {
950
+ }, t.prototype._next = function(r) {
951
+ this.destination.next(r);
952
+ }, t.prototype._error = function(r) {
976
953
  try {
977
- this.destination.error(n);
954
+ this.destination.error(r);
978
955
  } finally {
979
956
  this.unsubscribe();
980
957
  }
@@ -985,169 +962,169 @@ var zt = function(e) {
985
962
  this.unsubscribe();
986
963
  }
987
964
  }, t;
988
- }(He), or = function() {
965
+ }(Be), un = function() {
989
966
  function e(t) {
990
967
  this.partialObserver = t;
991
968
  }
992
969
  return e.prototype.next = function(t) {
993
- var n = this.partialObserver;
994
- if (n.next)
970
+ var r = this.partialObserver;
971
+ if (r.next)
995
972
  try {
996
- n.next(t);
997
- } catch (r) {
998
- pe(r);
973
+ r.next(t);
974
+ } catch (n) {
975
+ de(n);
999
976
  }
1000
977
  }, e.prototype.error = function(t) {
1001
- var n = this.partialObserver;
1002
- if (n.error)
978
+ var r = this.partialObserver;
979
+ if (r.error)
1003
980
  try {
1004
- n.error(t);
1005
- } catch (r) {
1006
- pe(r);
981
+ r.error(t);
982
+ } catch (n) {
983
+ de(n);
1007
984
  }
1008
985
  else
1009
- pe(t);
986
+ de(t);
1010
987
  }, e.prototype.complete = function() {
1011
988
  var t = this.partialObserver;
1012
989
  if (t.complete)
1013
990
  try {
1014
991
  t.complete();
1015
- } catch (n) {
1016
- pe(n);
992
+ } catch (r) {
993
+ de(r);
1017
994
  }
1018
995
  }, e;
1019
- }(), We = function(e) {
1020
- C(t, e);
1021
- function t(n, r, i) {
996
+ }(), Qe = function(e) {
997
+ he(t, e);
998
+ function t(r, n, i) {
1022
999
  var o = e.call(this) || this, a;
1023
- return M(n) || !n ? a = {
1024
- next: n ?? void 0,
1025
- error: r ?? void 0,
1000
+ return M(r) || !r ? a = {
1001
+ next: r ?? void 0,
1002
+ error: n ?? void 0,
1026
1003
  complete: i ?? void 0
1027
- } : a = n, o.destination = new or(a), o;
1004
+ } : a = r, o.destination = new un(a), o;
1028
1005
  }
1029
1006
  return t;
1030
- }(zt);
1031
- function pe(e) {
1032
- ir(e);
1007
+ }(Jt);
1008
+ function de(e) {
1009
+ an(e);
1033
1010
  }
1034
- function sr(e) {
1011
+ function ln(e) {
1035
1012
  throw e;
1036
1013
  }
1037
- var ar = {
1014
+ var hn = {
1038
1015
  closed: !0,
1039
- next: lt,
1040
- error: sr,
1041
- complete: lt
1042
- }, ur = function() {
1016
+ next: dt,
1017
+ error: ln,
1018
+ complete: dt
1019
+ }, cn = function() {
1043
1020
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1044
1021
  }();
1045
- function hr(e) {
1022
+ function fn(e) {
1046
1023
  return e;
1047
1024
  }
1048
- function lr(e) {
1049
- return e.length === 0 ? hr : e.length === 1 ? e[0] : function(n) {
1050
- return e.reduce(function(r, i) {
1051
- return i(r);
1052
- }, n);
1025
+ function pn(e) {
1026
+ return e.length === 0 ? fn : e.length === 1 ? e[0] : function(r) {
1027
+ return e.reduce(function(n, i) {
1028
+ return i(n);
1029
+ }, r);
1053
1030
  };
1054
1031
  }
1055
- var ft = function() {
1032
+ var mt = function() {
1056
1033
  function e(t) {
1057
1034
  t && (this._subscribe = t);
1058
1035
  }
1059
1036
  return e.prototype.lift = function(t) {
1060
- var n = new e();
1061
- return n.source = this, n.operator = t, n;
1062
- }, e.prototype.subscribe = function(t, n, r) {
1063
- var i = this, o = cr(t) ? t : new We(t, n, r);
1064
- return ye(function() {
1065
- var a = i, s = a.operator, h = a.source;
1066
- o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
1037
+ var r = new e();
1038
+ return r.source = this, r.operator = t, r;
1039
+ }, e.prototype.subscribe = function(t, r, n) {
1040
+ var i = this, o = mn(t) ? t : new Qe(t, r, n);
1041
+ return ge(function() {
1042
+ var a = i, s = a.operator, l = a.source;
1043
+ o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1067
1044
  }), o;
1068
1045
  }, e.prototype._trySubscribe = function(t) {
1069
1046
  try {
1070
1047
  return this._subscribe(t);
1071
- } catch (n) {
1072
- t.error(n);
1048
+ } catch (r) {
1049
+ t.error(r);
1073
1050
  }
1074
- }, e.prototype.forEach = function(t, n) {
1075
- var r = this;
1076
- return n = ct(n), new n(function(i, o) {
1077
- var a = new We({
1051
+ }, e.prototype.forEach = function(t, r) {
1052
+ var n = this;
1053
+ return r = bt(r), new r(function(i, o) {
1054
+ var a = new Qe({
1078
1055
  next: function(s) {
1079
1056
  try {
1080
1057
  t(s);
1081
- } catch (h) {
1082
- o(h), a.unsubscribe();
1058
+ } catch (l) {
1059
+ o(l), a.unsubscribe();
1083
1060
  }
1084
1061
  },
1085
1062
  error: o,
1086
1063
  complete: i
1087
1064
  });
1088
- r.subscribe(a);
1065
+ n.subscribe(a);
1089
1066
  });
1090
1067
  }, e.prototype._subscribe = function(t) {
1091
- var n;
1092
- return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
1093
- }, e.prototype[ur] = function() {
1068
+ var r;
1069
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1070
+ }, e.prototype[cn] = function() {
1094
1071
  return this;
1095
1072
  }, e.prototype.pipe = function() {
1096
- for (var t = [], n = 0; n < arguments.length; n++)
1097
- t[n] = arguments[n];
1098
- return lr(t)(this);
1073
+ for (var t = [], r = 0; r < arguments.length; r++)
1074
+ t[r] = arguments[r];
1075
+ return pn(t)(this);
1099
1076
  }, e.prototype.toPromise = function(t) {
1100
- var n = this;
1101
- return t = ct(t), new t(function(r, i) {
1077
+ var r = this;
1078
+ return t = bt(t), new t(function(n, i) {
1102
1079
  var o;
1103
- n.subscribe(function(a) {
1080
+ r.subscribe(function(a) {
1104
1081
  return o = a;
1105
1082
  }, function(a) {
1106
1083
  return i(a);
1107
1084
  }, function() {
1108
- return r(o);
1085
+ return n(o);
1109
1086
  });
1110
1087
  });
1111
1088
  }, e.create = function(t) {
1112
1089
  return new e(t);
1113
1090
  }, e;
1114
1091
  }();
1115
- function ct(e) {
1092
+ function bt(e) {
1116
1093
  var t;
1117
- return (t = e ?? nr.Promise) !== null && t !== void 0 ? t : Promise;
1094
+ return (t = e ?? on.Promise) !== null && t !== void 0 ? t : Promise;
1118
1095
  }
1119
- function fr(e) {
1096
+ function dn(e) {
1120
1097
  return e && M(e.next) && M(e.error) && M(e.complete);
1121
1098
  }
1122
- function cr(e) {
1123
- return e && e instanceof zt || fr(e) && Wt(e);
1099
+ function mn(e) {
1100
+ return e && e instanceof Jt || dn(e) && Qt(e);
1124
1101
  }
1125
- var dr = Vt(function(e) {
1102
+ var bn = Zt(function(e) {
1126
1103
  return function() {
1127
1104
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1128
1105
  };
1129
- }), Zt = function(e) {
1130
- C(t, e);
1106
+ }), Yt = function(e) {
1107
+ he(t, e);
1131
1108
  function t() {
1132
- var n = e.call(this) || this;
1133
- return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
1109
+ var r = e.call(this) || this;
1110
+ return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1134
1111
  }
1135
- return t.prototype.lift = function(n) {
1136
- var r = new dt(this, this);
1137
- return r.operator = n, r;
1112
+ return t.prototype.lift = function(r) {
1113
+ var n = new yt(this, this);
1114
+ return n.operator = r, n;
1138
1115
  }, t.prototype._throwIfClosed = function() {
1139
1116
  if (this.closed)
1140
- throw new dr();
1141
- }, t.prototype.next = function(n) {
1142
- var r = this;
1143
- ye(function() {
1117
+ throw new bn();
1118
+ }, t.prototype.next = function(r) {
1119
+ var n = this;
1120
+ ge(function() {
1144
1121
  var i, o;
1145
- if (r._throwIfClosed(), !r.isStopped) {
1146
- r.currentObservers || (r.currentObservers = Array.from(r.observers));
1122
+ if (n._throwIfClosed(), !n.isStopped) {
1123
+ n.currentObservers || (n.currentObservers = Array.from(n.observers));
1147
1124
  try {
1148
- for (var a = ke(r.currentObservers), s = a.next(); !s.done; s = a.next()) {
1149
- var h = s.value;
1150
- h.next(n);
1125
+ for (var a = We(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1126
+ var l = s.value;
1127
+ l.next(r);
1151
1128
  }
1152
1129
  } catch (u) {
1153
1130
  i = { error: u };
@@ -1161,120 +1138,120 @@ var dr = Vt(function(e) {
1161
1138
  }
1162
1139
  }
1163
1140
  });
1164
- }, t.prototype.error = function(n) {
1165
- var r = this;
1166
- ye(function() {
1167
- if (r._throwIfClosed(), !r.isStopped) {
1168
- r.hasError = r.isStopped = !0, r.thrownError = n;
1169
- for (var i = r.observers; i.length; )
1170
- i.shift().error(n);
1141
+ }, t.prototype.error = function(r) {
1142
+ var n = this;
1143
+ ge(function() {
1144
+ if (n._throwIfClosed(), !n.isStopped) {
1145
+ n.hasError = n.isStopped = !0, n.thrownError = r;
1146
+ for (var i = n.observers; i.length; )
1147
+ i.shift().error(r);
1171
1148
  }
1172
1149
  });
1173
1150
  }, t.prototype.complete = function() {
1174
- var n = this;
1175
- ye(function() {
1176
- if (n._throwIfClosed(), !n.isStopped) {
1177
- n.isStopped = !0;
1178
- for (var r = n.observers; r.length; )
1179
- r.shift().complete();
1151
+ var r = this;
1152
+ ge(function() {
1153
+ if (r._throwIfClosed(), !r.isStopped) {
1154
+ r.isStopped = !0;
1155
+ for (var n = r.observers; n.length; )
1156
+ n.shift().complete();
1180
1157
  }
1181
1158
  });
1182
1159
  }, t.prototype.unsubscribe = function() {
1183
1160
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
1184
1161
  }, Object.defineProperty(t.prototype, "observed", {
1185
1162
  get: function() {
1186
- var n;
1187
- return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
1163
+ var r;
1164
+ return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
1188
1165
  },
1189
1166
  enumerable: !1,
1190
1167
  configurable: !0
1191
- }), t.prototype._trySubscribe = function(n) {
1192
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
1193
- }, t.prototype._subscribe = function(n) {
1194
- return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
1195
- }, t.prototype._innerSubscribe = function(n) {
1196
- var r = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1197
- return o || a ? Xt : (this.currentObservers = null, s.push(n), new He(function() {
1198
- r.currentObservers = null, Xe(s, n);
1168
+ }), t.prototype._trySubscribe = function(r) {
1169
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
1170
+ }, t.prototype._subscribe = function(r) {
1171
+ return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1172
+ }, t.prototype._innerSubscribe = function(r) {
1173
+ var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1174
+ return o || a ? qt : (this.currentObservers = null, s.push(r), new Be(function() {
1175
+ n.currentObservers = null, qe(s, r);
1199
1176
  }));
1200
- }, t.prototype._checkFinalizedStatuses = function(n) {
1201
- var r = this, i = r.hasError, o = r.thrownError, a = r.isStopped;
1202
- i ? n.error(o) : a && n.complete();
1177
+ }, t.prototype._checkFinalizedStatuses = function(r) {
1178
+ var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1179
+ i ? r.error(o) : a && r.complete();
1203
1180
  }, t.prototype.asObservable = function() {
1204
- var n = new ft();
1205
- return n.source = this, n;
1206
- }, t.create = function(n, r) {
1207
- return new dt(n, r);
1181
+ var r = new mt();
1182
+ return r.source = this, r;
1183
+ }, t.create = function(r, n) {
1184
+ return new yt(r, n);
1208
1185
  }, t;
1209
- }(ft), dt = function(e) {
1210
- C(t, e);
1211
- function t(n, r) {
1186
+ }(mt), yt = function(e) {
1187
+ he(t, e);
1188
+ function t(r, n) {
1212
1189
  var i = e.call(this) || this;
1213
- return i.destination = n, i.source = r, i;
1190
+ return i.destination = r, i.source = n, i;
1214
1191
  }
1215
- return t.prototype.next = function(n) {
1216
- var r, i;
1217
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
1218
- }, t.prototype.error = function(n) {
1219
- var r, i;
1220
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
1192
+ return t.prototype.next = function(r) {
1193
+ var n, i;
1194
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
1195
+ }, t.prototype.error = function(r) {
1196
+ var n, i;
1197
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
1221
1198
  }, t.prototype.complete = function() {
1222
- var n, r;
1223
- (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
1224
- }, t.prototype._subscribe = function(n) {
1225
- var r, i;
1226
- return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Xt;
1199
+ var r, n;
1200
+ (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1201
+ }, t.prototype._subscribe = function(r) {
1202
+ var n, i;
1203
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qt;
1227
1204
  }, t;
1228
- }(Zt), qt = {
1205
+ }(Yt), Kt = {
1229
1206
  now: function() {
1230
- return (qt.delegate || Date).now();
1207
+ return (Kt.delegate || Date).now();
1231
1208
  },
1232
1209
  delegate: void 0
1233
- }, pr = function(e) {
1234
- C(t, e);
1235
- function t(n, r, i) {
1236
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = qt);
1210
+ }, yn = function(e) {
1211
+ he(t, e);
1212
+ function t(r, n, i) {
1213
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
1237
1214
  var o = e.call(this) || this;
1238
- return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
1215
+ return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1239
1216
  }
1240
- return t.prototype.next = function(n) {
1241
- var r = this, i = r.isStopped, o = r._buffer, a = r._infiniteTimeWindow, s = r._timestampProvider, h = r._windowTime;
1242
- i || (o.push(n), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, n);
1243
- }, t.prototype._subscribe = function(n) {
1217
+ return t.prototype.next = function(r) {
1218
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1219
+ i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1220
+ }, t.prototype._subscribe = function(r) {
1244
1221
  this._throwIfClosed(), this._trimBuffer();
1245
- for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !n.closed; h += o ? 1 : 2)
1246
- n.next(s[h]);
1247
- return this._checkFinalizedStatuses(n), r;
1222
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1223
+ r.next(s[l]);
1224
+ return this._checkFinalizedStatuses(r), n;
1248
1225
  }, t.prototype._trimBuffer = function() {
1249
- var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, a = n._infiniteTimeWindow, s = (a ? 1 : 2) * r;
1250
- if (r < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1251
- for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
1252
- u = l;
1226
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1227
+ if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1228
+ for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1229
+ u = h;
1253
1230
  u && o.splice(0, u + 1);
1254
1231
  }
1255
1232
  }, t;
1256
- }(Zt);
1257
- const pt = [], mt = {}, mr = (e, t = 0) => {
1258
- if (pt.indexOf(e) == -1) {
1259
- const n = new pr(t);
1260
- mt[e] = n, pt.push(e);
1233
+ }(Yt);
1234
+ const gt = [], vt = {}, gn = (e, t = 0) => {
1235
+ if (gt.indexOf(e) == -1) {
1236
+ const r = new yn(t);
1237
+ vt[e] = r, gt.push(e);
1261
1238
  }
1262
- return mt[e];
1239
+ return vt[e];
1263
1240
  }, k = [];
1264
- function br(e, t) {
1241
+ function vn(e, t) {
1265
1242
  return {
1266
- subscribe: Be(e, t).subscribe
1243
+ subscribe: Ae(e, t).subscribe
1267
1244
  };
1268
1245
  }
1269
- function Be(e, t = H) {
1270
- let n;
1271
- const r = /* @__PURE__ */ new Set();
1246
+ function Ae(e, t = H) {
1247
+ let r;
1248
+ const n = /* @__PURE__ */ new Set();
1272
1249
  function i(s) {
1273
- if (Nt(e, s) && (e = s, n)) {
1274
- const h = !k.length;
1275
- for (const u of r)
1250
+ if (Rt(e, s) && (e = s, r)) {
1251
+ const l = !k.length;
1252
+ for (const u of n)
1276
1253
  u[1](), k.push(u, e);
1277
- if (h) {
1254
+ if (l) {
1278
1255
  for (let u = 0; u < k.length; u += 2)
1279
1256
  k[u][0](k[u + 1]);
1280
1257
  k.length = 0;
@@ -1284,154 +1261,193 @@ function Be(e, t = H) {
1284
1261
  function o(s) {
1285
1262
  i(s(e));
1286
1263
  }
1287
- function a(s, h = H) {
1288
- const u = [s, h];
1289
- return r.add(u), r.size === 1 && (n = t(i, o) || H), s(e), () => {
1290
- r.delete(u), r.size === 0 && n && (n(), n = null);
1264
+ function a(s, l = H) {
1265
+ const u = [s, l];
1266
+ return n.add(u), n.size === 1 && (r = t(i, o) || H), s(e), () => {
1267
+ n.delete(u), n.size === 0 && r && (r(), r = null);
1291
1268
  };
1292
1269
  }
1293
1270
  return { set: i, update: o, subscribe: a };
1294
1271
  }
1295
- function Y(e, t, n) {
1296
- const r = !Array.isArray(e), i = r ? [e] : e;
1272
+ function J(e, t, r) {
1273
+ const n = !Array.isArray(e), i = n ? [e] : e;
1297
1274
  if (!i.every(Boolean))
1298
1275
  throw new Error("derived() expects stores as input, got a falsy value");
1299
1276
  const o = t.length < 2;
1300
- return br(n, (a, s) => {
1301
- let h = !1;
1277
+ return vn(r, (a, s) => {
1278
+ let l = !1;
1302
1279
  const u = [];
1303
- let l = 0, c = H;
1304
- const f = () => {
1305
- if (l)
1280
+ let h = 0, f = H;
1281
+ const c = () => {
1282
+ if (h)
1306
1283
  return;
1307
- c();
1308
- const d = t(r ? u[0] : u, a, s);
1309
- o ? a(d) : c = ue(d) ? d : H;
1310
- }, p = i.map(
1311
- (d, m) => Mt(
1312
- d,
1313
- (x) => {
1314
- u[m] = x, l &= ~(1 << m), h && f();
1284
+ f();
1285
+ const p = t(n ? u[0] : u, a, s);
1286
+ o ? a(p) : f = ae(p) ? p : H;
1287
+ }, d = i.map(
1288
+ (p, m) => Ut(
1289
+ p,
1290
+ (_) => {
1291
+ u[m] = _, h &= ~(1 << m), l && c();
1315
1292
  },
1316
1293
  () => {
1317
- l |= 1 << m;
1294
+ h |= 1 << m;
1318
1295
  }
1319
1296
  )
1320
1297
  );
1321
- return h = !0, f(), function() {
1322
- D(p), c(), h = !1;
1298
+ return l = !0, c(), function() {
1299
+ D(d), f(), l = !1;
1323
1300
  };
1324
1301
  });
1325
1302
  }
1326
- var Ro = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1327
- function gr(e) {
1303
+ var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1304
+ function _n(e) {
1328
1305
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1329
1306
  }
1330
- var yr = function(t) {
1331
- return _r(t) && !vr(t);
1307
+ var En = function(t) {
1308
+ return xn(t) && !Sn(t);
1332
1309
  };
1333
- function _r(e) {
1310
+ function xn(e) {
1334
1311
  return !!e && typeof e == "object";
1335
1312
  }
1336
- function vr(e) {
1313
+ function Sn(e) {
1337
1314
  var t = Object.prototype.toString.call(e);
1338
- return t === "[object RegExp]" || t === "[object Date]" || Sr(e);
1315
+ return t === "[object RegExp]" || t === "[object Date]" || Hn(e);
1339
1316
  }
1340
- var xr = typeof Symbol == "function" && Symbol.for, Er = xr ? Symbol.for("react.element") : 60103;
1341
- function Sr(e) {
1342
- return e.$$typeof === Er;
1317
+ var wn = typeof Symbol == "function" && Symbol.for, Tn = wn ? Symbol.for("react.element") : 60103;
1318
+ function Hn(e) {
1319
+ return e.$$typeof === Tn;
1343
1320
  }
1344
- function Tr(e) {
1321
+ function Bn(e) {
1345
1322
  return Array.isArray(e) ? [] : {};
1346
1323
  }
1347
- function se(e, t) {
1348
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(Tr(e), e, t) : e;
1324
+ function oe(e, t) {
1325
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(Bn(e), e, t) : e;
1349
1326
  }
1350
- function wr(e, t, n) {
1351
- return e.concat(t).map(function(r) {
1352
- return se(r, n);
1327
+ function An(e, t, r) {
1328
+ return e.concat(t).map(function(n) {
1329
+ return oe(n, r);
1353
1330
  });
1354
1331
  }
1355
- function Hr(e, t) {
1332
+ function Pn(e, t) {
1356
1333
  if (!t.customMerge)
1357
- return Z;
1358
- var n = t.customMerge(e);
1359
- return typeof n == "function" ? n : Z;
1334
+ return z;
1335
+ var r = t.customMerge(e);
1336
+ return typeof r == "function" ? r : z;
1360
1337
  }
1361
- function Br(e) {
1338
+ function On(e) {
1362
1339
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1363
1340
  return Object.propertyIsEnumerable.call(e, t);
1364
1341
  }) : [];
1365
1342
  }
1366
- function bt(e) {
1367
- return Object.keys(e).concat(Br(e));
1343
+ function _t(e) {
1344
+ return Object.keys(e).concat(On(e));
1368
1345
  }
1369
- function Qt(e, t) {
1346
+ function er(e, t) {
1370
1347
  try {
1371
1348
  return t in e;
1372
1349
  } catch {
1373
1350
  return !1;
1374
1351
  }
1375
1352
  }
1376
- function Ar(e, t) {
1377
- return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1353
+ function In(e, t) {
1354
+ return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1378
1355
  }
1379
- function Pr(e, t, n) {
1380
- var r = {};
1381
- return n.isMergeableObject(e) && bt(e).forEach(function(i) {
1382
- r[i] = se(e[i], n);
1383
- }), bt(t).forEach(function(i) {
1384
- Ar(e, i) || (Qt(e, i) && n.isMergeableObject(t[i]) ? r[i] = Hr(i, n)(e[i], t[i], n) : r[i] = se(t[i], n));
1385
- }), r;
1386
- }
1387
- function Z(e, t, n) {
1388
- n = n || {}, n.arrayMerge = n.arrayMerge || wr, n.isMergeableObject = n.isMergeableObject || yr, n.cloneUnlessOtherwiseSpecified = se;
1389
- var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1390
- return o ? r ? n.arrayMerge(e, t, n) : Pr(e, t, n) : se(t, n);
1391
- }
1392
- Z.all = function(t, n) {
1356
+ function Ln(e, t, r) {
1357
+ var n = {};
1358
+ return r.isMergeableObject(e) && _t(e).forEach(function(i) {
1359
+ n[i] = oe(e[i], r);
1360
+ }), _t(t).forEach(function(i) {
1361
+ In(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1362
+ }), n;
1363
+ }
1364
+ function z(e, t, r) {
1365
+ r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || En, r.cloneUnlessOtherwiseSpecified = oe;
1366
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1367
+ return o ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) : oe(t, r);
1368
+ }
1369
+ z.all = function(t, r) {
1393
1370
  if (!Array.isArray(t))
1394
1371
  throw new Error("first argument should be an array");
1395
- return t.reduce(function(r, i) {
1396
- return Z(r, i, n);
1372
+ return t.reduce(function(n, i) {
1373
+ return z(n, i, r);
1397
1374
  }, {});
1398
1375
  };
1399
- var Or = Z, Ir = Or;
1400
- const Lr = /* @__PURE__ */ gr(Ir);
1401
- function Ce(e, t) {
1402
- var n = t && t.cache ? t.cache : Dr, r = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : Mr;
1376
+ var Nn = z, Cn = Nn;
1377
+ const Mn = /* @__PURE__ */ _n(Cn);
1378
+ var Je = function(e, t) {
1379
+ return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1380
+ r.__proto__ = n;
1381
+ } || function(r, n) {
1382
+ for (var i in n)
1383
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1384
+ }, Je(e, t);
1385
+ };
1386
+ function Pe(e, t) {
1387
+ if (typeof t != "function" && t !== null)
1388
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1389
+ Je(e, t);
1390
+ function r() {
1391
+ this.constructor = e;
1392
+ }
1393
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1394
+ }
1395
+ var L = function() {
1396
+ return L = Object.assign || function(t) {
1397
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1398
+ r = arguments[n];
1399
+ for (var o in r)
1400
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1401
+ }
1402
+ return t;
1403
+ }, L.apply(this, arguments);
1404
+ };
1405
+ function $n(e, t) {
1406
+ var r = {};
1407
+ for (var n in e)
1408
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1409
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1410
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1411
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1412
+ return r;
1413
+ }
1414
+ function Re(e, t, r) {
1415
+ if (r || arguments.length === 2)
1416
+ for (var n = 0, i = t.length, o; n < i; n++)
1417
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1418
+ return e.concat(o || Array.prototype.slice.call(t));
1419
+ }
1420
+ function Ue(e, t) {
1421
+ var r = t && t.cache ? t.cache : kn, n = t && t.serializer ? t.serializer : Fn, i = t && t.strategy ? t.strategy : Dn;
1403
1422
  return i(e, {
1404
- cache: n,
1405
- serializer: r
1423
+ cache: r,
1424
+ serializer: n
1406
1425
  });
1407
1426
  }
1408
- function Nr(e) {
1427
+ function Rn(e) {
1409
1428
  return e == null || typeof e == "number" || typeof e == "boolean";
1410
1429
  }
1411
- function Jt(e, t, n, r) {
1412
- var i = Nr(r) ? r : n(r), o = t.get(i);
1413
- return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
1414
- }
1415
- function Yt(e, t, n) {
1416
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
1417
- return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
1430
+ function Un(e, t, r, n) {
1431
+ var i = Rn(n) ? n : r(n), o = t.get(i);
1432
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1418
1433
  }
1419
- function rt(e, t, n, r, i) {
1420
- return n.bind(t, e, r, i);
1434
+ function tr(e, t, r) {
1435
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1436
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1421
1437
  }
1422
- function Mr(e, t) {
1423
- var n = e.length === 1 ? Jt : Yt;
1424
- return rt(e, this, n, t.cache.create(), t.serializer);
1438
+ function rr(e, t, r, n, i) {
1439
+ return r.bind(t, e, n, i);
1425
1440
  }
1426
- function Cr(e, t) {
1427
- return rt(e, this, Yt, t.cache.create(), t.serializer);
1441
+ function Dn(e, t) {
1442
+ var r = e.length === 1 ? Un : tr;
1443
+ return rr(e, this, r, t.cache.create(), t.serializer);
1428
1444
  }
1429
- function $r(e, t) {
1430
- return rt(e, this, Jt, t.cache.create(), t.serializer);
1445
+ function Gn(e, t) {
1446
+ return rr(e, this, tr, t.cache.create(), t.serializer);
1431
1447
  }
1432
- var Rr = function() {
1448
+ var Fn = function() {
1433
1449
  return JSON.stringify(arguments);
1434
- }, Ur = (
1450
+ }, jn = (
1435
1451
  /** @class */
1436
1452
  function() {
1437
1453
  function e() {
@@ -1439,18 +1455,27 @@ var Rr = function() {
1439
1455
  }
1440
1456
  return e.prototype.get = function(t) {
1441
1457
  return this.cache[t];
1442
- }, e.prototype.set = function(t, n) {
1443
- this.cache[t] = n;
1458
+ }, e.prototype.set = function(t, r) {
1459
+ this.cache[t] = r;
1444
1460
  }, e;
1445
1461
  }()
1446
- ), Dr = {
1462
+ ), kn = {
1447
1463
  create: function() {
1448
- return new Ur();
1464
+ return new jn();
1449
1465
  }
1450
- }, $e = {
1451
- variadic: Cr,
1452
- monadic: $r
1453
- }, b;
1466
+ }, De = {
1467
+ variadic: Gn
1468
+ }, we = function() {
1469
+ return we = Object.assign || function(t) {
1470
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1471
+ r = arguments[n];
1472
+ for (var o in r)
1473
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1474
+ }
1475
+ return t;
1476
+ }, we.apply(this, arguments);
1477
+ };
1478
+ var b;
1454
1479
  (function(e) {
1455
1480
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1456
1481
  })(b || (b = {}));
@@ -1458,54 +1483,54 @@ var v;
1458
1483
  (function(e) {
1459
1484
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1460
1485
  })(v || (v = {}));
1461
- var q;
1486
+ var Z;
1462
1487
  (function(e) {
1463
1488
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1464
- })(q || (q = {}));
1465
- function gt(e) {
1489
+ })(Z || (Z = {}));
1490
+ function Et(e) {
1466
1491
  return e.type === v.literal;
1467
1492
  }
1468
- function Gr(e) {
1493
+ function Vn(e) {
1469
1494
  return e.type === v.argument;
1470
1495
  }
1471
- function Kt(e) {
1496
+ function nr(e) {
1472
1497
  return e.type === v.number;
1473
1498
  }
1474
- function en(e) {
1499
+ function ir(e) {
1475
1500
  return e.type === v.date;
1476
1501
  }
1477
- function tn(e) {
1502
+ function or(e) {
1478
1503
  return e.type === v.time;
1479
1504
  }
1480
- function nn(e) {
1505
+ function sr(e) {
1481
1506
  return e.type === v.select;
1482
1507
  }
1483
- function rn(e) {
1508
+ function ar(e) {
1484
1509
  return e.type === v.plural;
1485
1510
  }
1486
- function Fr(e) {
1511
+ function Xn(e) {
1487
1512
  return e.type === v.pound;
1488
1513
  }
1489
- function on(e) {
1514
+ function ur(e) {
1490
1515
  return e.type === v.tag;
1491
1516
  }
1492
- function sn(e) {
1493
- return !!(e && typeof e == "object" && e.type === q.number);
1517
+ function lr(e) {
1518
+ return !!(e && typeof e == "object" && e.type === Z.number);
1494
1519
  }
1495
- function ze(e) {
1496
- return !!(e && typeof e == "object" && e.type === q.dateTime);
1520
+ function Ye(e) {
1521
+ return !!(e && typeof e == "object" && e.type === Z.dateTime);
1497
1522
  }
1498
- var an = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1499
- function kr(e) {
1523
+ var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1524
+ function zn(e) {
1500
1525
  var t = {};
1501
- return e.replace(jr, function(n) {
1502
- var r = n.length;
1503
- switch (n[0]) {
1526
+ return e.replace(Wn, function(r) {
1527
+ var n = r.length;
1528
+ switch (r[0]) {
1504
1529
  case "G":
1505
- t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1530
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1506
1531
  break;
1507
1532
  case "y":
1508
- t.year = r === 2 ? "2-digit" : "numeric";
1533
+ t.year = n === 2 ? "2-digit" : "numeric";
1509
1534
  break;
1510
1535
  case "Y":
1511
1536
  case "u":
@@ -1517,30 +1542,30 @@ function kr(e) {
1517
1542
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
1518
1543
  case "M":
1519
1544
  case "L":
1520
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
1545
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1521
1546
  break;
1522
1547
  case "w":
1523
1548
  case "W":
1524
1549
  throw new RangeError("`w/W` (week) patterns are not supported");
1525
1550
  case "d":
1526
- t.day = ["numeric", "2-digit"][r - 1];
1551
+ t.day = ["numeric", "2-digit"][n - 1];
1527
1552
  break;
1528
1553
  case "D":
1529
1554
  case "F":
1530
1555
  case "g":
1531
1556
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1532
1557
  case "E":
1533
- t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1558
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1534
1559
  break;
1535
1560
  case "e":
1536
- if (r < 4)
1561
+ if (n < 4)
1537
1562
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
1538
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
1563
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1539
1564
  break;
1540
1565
  case "c":
1541
- if (r < 4)
1566
+ if (n < 4)
1542
1567
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1543
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
1568
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1544
1569
  break;
1545
1570
  case "a":
1546
1571
  t.hour12 = !0;
@@ -1549,32 +1574,32 @@ function kr(e) {
1549
1574
  case "B":
1550
1575
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1551
1576
  case "h":
1552
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
1577
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1553
1578
  break;
1554
1579
  case "H":
1555
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
1580
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1556
1581
  break;
1557
1582
  case "K":
1558
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
1583
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1559
1584
  break;
1560
1585
  case "k":
1561
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
1586
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1562
1587
  break;
1563
1588
  case "j":
1564
1589
  case "J":
1565
1590
  case "C":
1566
1591
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1567
1592
  case "m":
1568
- t.minute = ["numeric", "2-digit"][r - 1];
1593
+ t.minute = ["numeric", "2-digit"][n - 1];
1569
1594
  break;
1570
1595
  case "s":
1571
- t.second = ["numeric", "2-digit"][r - 1];
1596
+ t.second = ["numeric", "2-digit"][n - 1];
1572
1597
  break;
1573
1598
  case "S":
1574
1599
  case "A":
1575
1600
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1576
1601
  case "z":
1577
- t.timeZoneName = r < 4 ? "short" : "long";
1602
+ t.timeZoneName = n < 4 ? "short" : "long";
1578
1603
  break;
1579
1604
  case "Z":
1580
1605
  case "O":
@@ -1587,36 +1612,46 @@ function kr(e) {
1587
1612
  return "";
1588
1613
  }), t;
1589
1614
  }
1590
- var Vr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1591
- function Xr(e) {
1615
+ var E = function() {
1616
+ return E = Object.assign || function(t) {
1617
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1618
+ r = arguments[n];
1619
+ for (var o in r)
1620
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1621
+ }
1622
+ return t;
1623
+ }, E.apply(this, arguments);
1624
+ };
1625
+ var Zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1626
+ function qn(e) {
1592
1627
  if (e.length === 0)
1593
1628
  throw new Error("Number skeleton cannot be empty");
1594
- for (var t = e.split(Vr).filter(function(f) {
1595
- return f.length > 0;
1596
- }), n = [], r = 0, i = t; r < i.length; r++) {
1597
- var o = i[r], a = o.split("/");
1629
+ for (var t = e.split(Zn).filter(function(c) {
1630
+ return c.length > 0;
1631
+ }), r = [], n = 0, i = t; n < i.length; n++) {
1632
+ var o = i[n], a = o.split("/");
1598
1633
  if (a.length === 0)
1599
1634
  throw new Error("Invalid number skeleton");
1600
- for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1601
- var c = l[u];
1602
- if (c.length === 0)
1635
+ for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1636
+ var f = h[u];
1637
+ if (f.length === 0)
1603
1638
  throw new Error("Invalid number skeleton");
1604
1639
  }
1605
- n.push({ stem: s, options: h });
1640
+ r.push({ stem: s, options: l });
1606
1641
  }
1607
- return n;
1642
+ return r;
1608
1643
  }
1609
- function Wr(e) {
1644
+ function Qn(e) {
1610
1645
  return e.replace(/^(.*?)-/, "");
1611
1646
  }
1612
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, un = /^(@+)?(\+|#+)?[rs]?$/g, zr = /(\*)(0+)|(#+)(0+)|(0+)/g, hn = /^(0+)$/;
1613
- function _t(e) {
1647
+ var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1648
+ function St(e) {
1614
1649
  var t = {};
1615
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(un, function(n, r, i) {
1616
- return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1650
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
1651
+ return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1617
1652
  }), t;
1618
1653
  }
1619
- function ln(e) {
1654
+ function pr(e) {
1620
1655
  switch (e) {
1621
1656
  case "sign-auto":
1622
1657
  return {
@@ -1656,27 +1691,27 @@ function ln(e) {
1656
1691
  };
1657
1692
  }
1658
1693
  }
1659
- function Zr(e) {
1694
+ function Yn(e) {
1660
1695
  var t;
1661
1696
  if (e[0] === "E" && e[1] === "E" ? (t = {
1662
1697
  notation: "engineering"
1663
1698
  }, e = e.slice(2)) : e[0] === "E" && (t = {
1664
1699
  notation: "scientific"
1665
1700
  }, e = e.slice(1)), t) {
1666
- var n = e.slice(0, 2);
1667
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hn.test(e))
1701
+ var r = e.slice(0, 2);
1702
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
1668
1703
  throw new Error("Malformed concise eng/scientific notation");
1669
1704
  t.minimumIntegerDigits = e.length;
1670
1705
  }
1671
1706
  return t;
1672
1707
  }
1673
- function vt(e) {
1674
- var t = {}, n = ln(e);
1675
- return n || t;
1708
+ function wt(e) {
1709
+ var t = {}, r = pr(e);
1710
+ return r || t;
1676
1711
  }
1677
- function qr(e) {
1678
- for (var t = {}, n = 0, r = e; n < r.length; n++) {
1679
- var i = r[n];
1712
+ function Kn(e) {
1713
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
1714
+ var i = n[r];
1680
1715
  switch (i.stem) {
1681
1716
  case "percent":
1682
1717
  case "%":
@@ -1698,7 +1733,7 @@ function qr(e) {
1698
1733
  continue;
1699
1734
  case "measure-unit":
1700
1735
  case "unit":
1701
- t.style = "unit", t.unit = Wr(i.options[0]);
1736
+ t.style = "unit", t.unit = Qn(i.options[0]);
1702
1737
  continue;
1703
1738
  case "compact-short":
1704
1739
  case "K":
@@ -1709,13 +1744,13 @@ function qr(e) {
1709
1744
  t.notation = "compact", t.compactDisplay = "long";
1710
1745
  continue;
1711
1746
  case "scientific":
1712
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1713
- return y(y({}, h), vt(u));
1747
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1748
+ return E(E({}, l), wt(u));
1714
1749
  }, {}));
1715
1750
  continue;
1716
1751
  case "engineering":
1717
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1718
- return y(y({}, h), vt(u));
1752
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1753
+ return E(E({}, l), wt(u));
1719
1754
  }, {}));
1720
1755
  continue;
1721
1756
  case "notation-simple":
@@ -1760,41 +1795,41 @@ function qr(e) {
1760
1795
  case "integer-width":
1761
1796
  if (i.options.length > 1)
1762
1797
  throw new RangeError("integer-width stems only accept a single optional option");
1763
- i.options[0].replace(zr, function(h, u, l, c, f, p) {
1798
+ i.options[0].replace(Jn, function(l, u, h, f, c, d) {
1764
1799
  if (u)
1765
- t.minimumIntegerDigits = l.length;
1800
+ t.minimumIntegerDigits = h.length;
1766
1801
  else {
1767
- if (c && f)
1802
+ if (f && c)
1768
1803
  throw new Error("We currently do not support maximum integer digits");
1769
- if (p)
1804
+ if (d)
1770
1805
  throw new Error("We currently do not support exact integer digits");
1771
1806
  }
1772
1807
  return "";
1773
1808
  });
1774
1809
  continue;
1775
1810
  }
1776
- if (hn.test(i.stem)) {
1811
+ if (fr.test(i.stem)) {
1777
1812
  t.minimumIntegerDigits = i.stem.length;
1778
1813
  continue;
1779
1814
  }
1780
- if (yt.test(i.stem)) {
1815
+ if (xt.test(i.stem)) {
1781
1816
  if (i.options.length > 1)
1782
1817
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1783
- i.stem.replace(yt, function(h, u, l, c, f, p) {
1784
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1818
+ i.stem.replace(xt, function(l, u, h, f, c, d) {
1819
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1785
1820
  });
1786
1821
  var o = i.options[0];
1787
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), _t(o)));
1822
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), St(o)));
1788
1823
  continue;
1789
1824
  }
1790
- if (un.test(i.stem)) {
1791
- t = y(y({}, t), _t(i.stem));
1825
+ if (cr.test(i.stem)) {
1826
+ t = E(E({}, t), St(i.stem));
1792
1827
  continue;
1793
1828
  }
1794
- var a = ln(i.stem);
1795
- a && (t = y(y({}, t), a));
1796
- var s = Zr(i.stem);
1797
- s && (t = y(y({}, t), s));
1829
+ var a = pr(i.stem);
1830
+ a && (t = E(E({}, t), a));
1831
+ var s = Yn(i.stem);
1832
+ s && (t = E(E({}, t), s));
1798
1833
  }
1799
1834
  return t;
1800
1835
  }
@@ -3213,23 +3248,23 @@ var me = {
3213
3248
  "h"
3214
3249
  ]
3215
3250
  };
3216
- function Qr(e, t) {
3217
- for (var n = "", r = 0; r < e.length; r++) {
3218
- var i = e.charAt(r);
3251
+ function ei(e, t) {
3252
+ for (var r = "", n = 0; n < e.length; n++) {
3253
+ var i = e.charAt(n);
3219
3254
  if (i === "j") {
3220
- for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
3221
- o++, r++;
3222
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Jr(t);
3255
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3256
+ o++, n++;
3257
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ti(t);
3223
3258
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3224
- n += h;
3259
+ r += l;
3225
3260
  for (; a-- > 0; )
3226
- n = u + n;
3261
+ r = u + r;
3227
3262
  } else
3228
- i === "J" ? n += "H" : n += i;
3263
+ i === "J" ? r += "H" : r += i;
3229
3264
  }
3230
- return n;
3265
+ return r;
3231
3266
  }
3232
- function Jr(e) {
3267
+ function ti(e) {
3233
3268
  var t = e.hourCycle;
3234
3269
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3235
3270
  e.hourCycles && // @ts-ignore
@@ -3246,73 +3281,73 @@ function Jr(e) {
3246
3281
  default:
3247
3282
  throw new Error("Invalid hourCycle");
3248
3283
  }
3249
- var n = e.language, r;
3250
- n !== "root" && (r = e.maximize().region);
3251
- var i = me[r || ""] || me[n || ""] || me["".concat(n, "-001")] || me["001"];
3284
+ var r = e.language, n;
3285
+ r !== "root" && (n = e.maximize().region);
3286
+ var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
3252
3287
  return i[0];
3253
3288
  }
3254
- var Re, Yr = new RegExp("^".concat(an.source, "*")), Kr = new RegExp("".concat(an.source, "*$"));
3255
- function g(e, t) {
3289
+ var Ge, ri = new RegExp("^".concat(hr.source, "*")), ni = new RegExp("".concat(hr.source, "*$"));
3290
+ function y(e, t) {
3256
3291
  return { start: e, end: t };
3257
3292
  }
3258
- var ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), ti = !!String.fromCodePoint, ni = !!Object.fromEntries, ri = !!String.prototype.codePointAt, ii = !!String.prototype.trimStart, oi = !!String.prototype.trimEnd, si = !!Number.isSafeInteger, ai = si ? Number.isSafeInteger : function(e) {
3293
+ var ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), oi = !!String.fromCodePoint, si = !!Object.fromEntries, ai = !!String.prototype.codePointAt, ui = !!String.prototype.trimStart, li = !!String.prototype.trimEnd, hi = !!Number.isSafeInteger, ci = hi ? Number.isSafeInteger : function(e) {
3259
3294
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3260
- }, Ze = !0;
3295
+ }, Ke = !0;
3261
3296
  try {
3262
- var ui = cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3263
- Ze = ((Re = ui.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3297
+ var fi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3298
+ Ke = ((Ge = fi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3264
3299
  } catch {
3265
- Ze = !1;
3300
+ Ke = !1;
3266
3301
  }
3267
- var xt = ei ? (
3302
+ var Tt = ii ? (
3268
3303
  // Native
3269
- function(t, n, r) {
3270
- return t.startsWith(n, r);
3304
+ function(t, r, n) {
3305
+ return t.startsWith(r, n);
3271
3306
  }
3272
3307
  ) : (
3273
3308
  // For IE11
3274
- function(t, n, r) {
3275
- return t.slice(r, r + n.length) === n;
3309
+ function(t, r, n) {
3310
+ return t.slice(n, n + r.length) === r;
3276
3311
  }
3277
- ), qe = ti ? String.fromCodePoint : (
3312
+ ), et = oi ? String.fromCodePoint : (
3278
3313
  // IE11
3279
3314
  function() {
3280
- for (var t = [], n = 0; n < arguments.length; n++)
3281
- t[n] = arguments[n];
3282
- for (var r = "", i = t.length, o = 0, a; i > o; ) {
3315
+ for (var t = [], r = 0; r < arguments.length; r++)
3316
+ t[r] = arguments[r];
3317
+ for (var n = "", i = t.length, o = 0, a; i > o; ) {
3283
3318
  if (a = t[o++], a > 1114111)
3284
3319
  throw RangeError(a + " is not a valid code point");
3285
- r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3320
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3286
3321
  }
3287
- return r;
3322
+ return n;
3288
3323
  }
3289
- ), Et = (
3324
+ ), Ht = (
3290
3325
  // native
3291
- ni ? Object.fromEntries : (
3326
+ si ? Object.fromEntries : (
3292
3327
  // Ponyfill
3293
3328
  function(t) {
3294
- for (var n = {}, r = 0, i = t; r < i.length; r++) {
3295
- var o = i[r], a = o[0], s = o[1];
3296
- n[a] = s;
3329
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
3330
+ var o = i[n], a = o[0], s = o[1];
3331
+ r[a] = s;
3297
3332
  }
3298
- return n;
3333
+ return r;
3299
3334
  }
3300
3335
  )
3301
- ), fn = ri ? (
3336
+ ), dr = ai ? (
3302
3337
  // Native
3303
- function(t, n) {
3304
- return t.codePointAt(n);
3338
+ function(t, r) {
3339
+ return t.codePointAt(r);
3305
3340
  }
3306
3341
  ) : (
3307
3342
  // IE 11
3308
- function(t, n) {
3309
- var r = t.length;
3310
- if (!(n < 0 || n >= r)) {
3311
- var i = t.charCodeAt(n), o;
3312
- return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3343
+ function(t, r) {
3344
+ var n = t.length;
3345
+ if (!(r < 0 || r >= n)) {
3346
+ var i = t.charCodeAt(r), o;
3347
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3313
3348
  }
3314
3349
  }
3315
- ), hi = ii ? (
3350
+ ), pi = ui ? (
3316
3351
  // Native
3317
3352
  function(t) {
3318
3353
  return t.trimStart();
@@ -3320,9 +3355,9 @@ var xt = ei ? (
3320
3355
  ) : (
3321
3356
  // Ponyfill
3322
3357
  function(t) {
3323
- return t.replace(Yr, "");
3358
+ return t.replace(ri, "");
3324
3359
  }
3325
- ), li = oi ? (
3360
+ ), di = li ? (
3326
3361
  // Native
3327
3362
  function(t) {
3328
3363
  return t.trimEnd();
@@ -3330,69 +3365,69 @@ var xt = ei ? (
3330
3365
  ) : (
3331
3366
  // Ponyfill
3332
3367
  function(t) {
3333
- return t.replace(Kr, "");
3368
+ return t.replace(ni, "");
3334
3369
  }
3335
3370
  );
3336
- function cn(e, t) {
3371
+ function mr(e, t) {
3337
3372
  return new RegExp(e, t);
3338
3373
  }
3339
- var Qe;
3340
- if (Ze) {
3341
- var St = cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3342
- Qe = function(t, n) {
3343
- var r;
3344
- St.lastIndex = n;
3345
- var i = St.exec(t);
3346
- return (r = i[1]) !== null && r !== void 0 ? r : "";
3374
+ var tt;
3375
+ if (Ke) {
3376
+ var Bt = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3377
+ tt = function(t, r) {
3378
+ var n;
3379
+ Bt.lastIndex = r;
3380
+ var i = Bt.exec(t);
3381
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
3347
3382
  };
3348
3383
  } else
3349
- Qe = function(t, n) {
3350
- for (var r = []; ; ) {
3351
- var i = fn(t, n);
3352
- if (i === void 0 || dn(i) || pi(i))
3384
+ tt = function(t, r) {
3385
+ for (var n = []; ; ) {
3386
+ var i = dr(t, r);
3387
+ if (i === void 0 || br(i) || gi(i))
3353
3388
  break;
3354
- r.push(i), n += i >= 65536 ? 2 : 1;
3389
+ n.push(i), r += i >= 65536 ? 2 : 1;
3355
3390
  }
3356
- return qe.apply(void 0, r);
3391
+ return et.apply(void 0, n);
3357
3392
  };
3358
- var fi = (
3393
+ var mi = (
3359
3394
  /** @class */
3360
3395
  function() {
3361
- function e(t, n) {
3362
- n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
3396
+ function e(t, r) {
3397
+ r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
3363
3398
  }
3364
3399
  return e.prototype.parse = function() {
3365
3400
  if (this.offset() !== 0)
3366
3401
  throw Error("parser can only be used once");
3367
3402
  return this.parseMessage(0, "", !1);
3368
- }, e.prototype.parseMessage = function(t, n, r) {
3403
+ }, e.prototype.parseMessage = function(t, r, n) {
3369
3404
  for (var i = []; !this.isEOF(); ) {
3370
3405
  var o = this.char();
3371
3406
  if (o === 123) {
3372
- var a = this.parseArgument(t, r);
3407
+ var a = this.parseArgument(t, n);
3373
3408
  if (a.err)
3374
3409
  return a;
3375
3410
  i.push(a.val);
3376
3411
  } else {
3377
3412
  if (o === 125 && t > 0)
3378
3413
  break;
3379
- if (o === 35 && (n === "plural" || n === "selectordinal")) {
3414
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
3380
3415
  var s = this.clonePosition();
3381
3416
  this.bump(), i.push({
3382
3417
  type: v.pound,
3383
- location: g(s, this.clonePosition())
3418
+ location: y(s, this.clonePosition())
3384
3419
  });
3385
3420
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3386
- if (r)
3421
+ if (n)
3387
3422
  break;
3388
- return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3389
- } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3390
- var a = this.parseTag(t, n);
3423
+ return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3424
+ } else if (o === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
3425
+ var a = this.parseTag(t, r);
3391
3426
  if (a.err)
3392
3427
  return a;
3393
3428
  i.push(a.val);
3394
3429
  } else {
3395
- var a = this.parseLiteral(t, n);
3430
+ var a = this.parseLiteral(t, r);
3396
3431
  if (a.err)
3397
3432
  return a;
3398
3433
  i.push(a.val);
@@ -3400,8 +3435,8 @@ var fi = (
3400
3435
  }
3401
3436
  }
3402
3437
  return { val: i, err: null };
3403
- }, e.prototype.parseTag = function(t, n) {
3404
- var r = this.clonePosition();
3438
+ }, e.prototype.parseTag = function(t, r) {
3439
+ var n = this.clonePosition();
3405
3440
  this.bump();
3406
3441
  var i = this.parseTagName();
3407
3442
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -3409,45 +3444,45 @@ var fi = (
3409
3444
  val: {
3410
3445
  type: v.literal,
3411
3446
  value: "<".concat(i, "/>"),
3412
- location: g(r, this.clonePosition())
3447
+ location: y(n, this.clonePosition())
3413
3448
  },
3414
3449
  err: null
3415
3450
  };
3416
3451
  if (this.bumpIf(">")) {
3417
- var o = this.parseMessage(t + 1, n, !0);
3452
+ var o = this.parseMessage(t + 1, r, !0);
3418
3453
  if (o.err)
3419
3454
  return o;
3420
3455
  var a = o.val, s = this.clonePosition();
3421
3456
  if (this.bumpIf("</")) {
3422
- if (this.isEOF() || !Je(this.char()))
3423
- return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
3424
- var h = this.clonePosition(), u = this.parseTagName();
3425
- return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3457
+ if (this.isEOF() || !rt(this.char()))
3458
+ return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
3459
+ var l = this.clonePosition(), u = this.parseTagName();
3460
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3426
3461
  val: {
3427
3462
  type: v.tag,
3428
3463
  value: i,
3429
3464
  children: a,
3430
- location: g(r, this.clonePosition())
3465
+ location: y(n, this.clonePosition())
3431
3466
  },
3432
3467
  err: null
3433
- } : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
3468
+ } : this.error(b.INVALID_TAG, y(s, this.clonePosition())));
3434
3469
  } else
3435
- return this.error(b.UNCLOSED_TAG, g(r, this.clonePosition()));
3470
+ return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
3436
3471
  } else
3437
- return this.error(b.INVALID_TAG, g(r, this.clonePosition()));
3472
+ return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
3438
3473
  }, e.prototype.parseTagName = function() {
3439
3474
  var t = this.offset();
3440
- for (this.bump(); !this.isEOF() && di(this.char()); )
3475
+ for (this.bump(); !this.isEOF() && yi(this.char()); )
3441
3476
  this.bump();
3442
3477
  return this.message.slice(t, this.offset());
3443
- }, e.prototype.parseLiteral = function(t, n) {
3444
- for (var r = this.clonePosition(), i = ""; ; ) {
3445
- var o = this.tryParseQuote(n);
3478
+ }, e.prototype.parseLiteral = function(t, r) {
3479
+ for (var n = this.clonePosition(), i = ""; ; ) {
3480
+ var o = this.tryParseQuote(r);
3446
3481
  if (o) {
3447
3482
  i += o;
3448
3483
  continue;
3449
3484
  }
3450
- var a = this.tryParseUnquoted(t, n);
3485
+ var a = this.tryParseUnquoted(t, r);
3451
3486
  if (a) {
3452
3487
  i += a;
3453
3488
  continue;
@@ -3459,14 +3494,14 @@ var fi = (
3459
3494
  }
3460
3495
  break;
3461
3496
  }
3462
- var h = g(r, this.clonePosition());
3497
+ var l = y(n, this.clonePosition());
3463
3498
  return {
3464
- val: { type: v.literal, value: i, location: h },
3499
+ val: { type: v.literal, value: i, location: l },
3465
3500
  err: null
3466
3501
  };
3467
3502
  }, e.prototype.tryParseLeftAngleBracket = function() {
3468
3503
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3469
- !ci(this.peek() || 0)) ? (this.bump(), "<") : null;
3504
+ !bi(this.peek() || 0)) ? (this.bump(), "<") : null;
3470
3505
  }, e.prototype.tryParseQuote = function(t) {
3471
3506
  if (this.isEOF() || this.char() !== 39)
3472
3507
  return null;
@@ -3486,37 +3521,37 @@ var fi = (
3486
3521
  return null;
3487
3522
  }
3488
3523
  this.bump();
3489
- var n = [this.char()];
3524
+ var r = [this.char()];
3490
3525
  for (this.bump(); !this.isEOF(); ) {
3491
- var r = this.char();
3492
- if (r === 39)
3526
+ var n = this.char();
3527
+ if (n === 39)
3493
3528
  if (this.peek() === 39)
3494
- n.push(39), this.bump();
3529
+ r.push(39), this.bump();
3495
3530
  else {
3496
3531
  this.bump();
3497
3532
  break;
3498
3533
  }
3499
3534
  else
3500
- n.push(r);
3535
+ r.push(n);
3501
3536
  this.bump();
3502
3537
  }
3503
- return qe.apply(void 0, n);
3504
- }, e.prototype.tryParseUnquoted = function(t, n) {
3538
+ return et.apply(void 0, r);
3539
+ }, e.prototype.tryParseUnquoted = function(t, r) {
3505
3540
  if (this.isEOF())
3506
3541
  return null;
3507
- var r = this.char();
3508
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), qe(r));
3509
- }, e.prototype.parseArgument = function(t, n) {
3510
- var r = this.clonePosition();
3542
+ var n = this.char();
3543
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), et(n));
3544
+ }, e.prototype.parseArgument = function(t, r) {
3545
+ var n = this.clonePosition();
3511
3546
  if (this.bump(), this.bumpSpace(), this.isEOF())
3512
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition()));
3547
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3513
3548
  if (this.char() === 125)
3514
- return this.bump(), this.error(b.EMPTY_ARGUMENT, g(r, this.clonePosition()));
3549
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3515
3550
  var i = this.parseIdentifierIfPossible().value;
3516
3551
  if (!i)
3517
- return this.error(b.MALFORMED_ARGUMENT, g(r, this.clonePosition()));
3552
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3518
3553
  if (this.bumpSpace(), this.isEOF())
3519
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition()));
3554
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3520
3555
  switch (this.char()) {
3521
3556
  case 125:
3522
3557
  return this.bump(), {
@@ -3524,25 +3559,25 @@ var fi = (
3524
3559
  type: v.argument,
3525
3560
  // value does not include the opening and closing braces.
3526
3561
  value: i,
3527
- location: g(r, this.clonePosition())
3562
+ location: y(n, this.clonePosition())
3528
3563
  },
3529
3564
  err: null
3530
3565
  };
3531
3566
  case 44:
3532
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3567
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3533
3568
  default:
3534
- return this.error(b.MALFORMED_ARGUMENT, g(r, this.clonePosition()));
3569
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3535
3570
  }
3536
3571
  }, e.prototype.parseIdentifierIfPossible = function() {
3537
- var t = this.clonePosition(), n = this.offset(), r = Qe(this.message, n), i = n + r.length;
3572
+ var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
3538
3573
  this.bumpTo(i);
3539
- var o = this.clonePosition(), a = g(t, o);
3540
- return { value: r, location: a };
3541
- }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3542
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3574
+ var o = this.clonePosition(), a = y(t, o);
3575
+ return { value: n, location: a };
3576
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3577
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3543
3578
  switch (s) {
3544
3579
  case "":
3545
- return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, h));
3580
+ return this.error(b.EXPECT_ARGUMENT_TYPE, y(a, l));
3546
3581
  case "number":
3547
3582
  case "date":
3548
3583
  case "time": {
@@ -3550,40 +3585,40 @@ var fi = (
3550
3585
  var u = null;
3551
3586
  if (this.bumpIf(",")) {
3552
3587
  this.bumpSpace();
3553
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3554
- if (c.err)
3555
- return c;
3556
- var f = li(c.val);
3557
- if (f.length === 0)
3558
- return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3559
- var p = g(l, this.clonePosition());
3560
- u = { style: f, styleLocation: p };
3588
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3589
+ if (f.err)
3590
+ return f;
3591
+ var c = di(f.val);
3592
+ if (c.length === 0)
3593
+ return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3594
+ var d = y(h, this.clonePosition());
3595
+ u = { style: c, styleLocation: d };
3561
3596
  }
3562
- var d = this.tryParseArgumentClose(i);
3563
- if (d.err)
3564
- return d;
3565
- var m = g(i, this.clonePosition());
3566
- if (u && xt(u?.style, "::", 0)) {
3567
- var x = hi(u.style.slice(2));
3597
+ var p = this.tryParseArgumentClose(i);
3598
+ if (p.err)
3599
+ return p;
3600
+ var m = y(i, this.clonePosition());
3601
+ if (u && Tt(u?.style, "::", 0)) {
3602
+ var _ = pi(u.style.slice(2));
3568
3603
  if (s === "number") {
3569
- var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
3570
- return c.err ? c : {
3571
- val: { type: v.number, value: r, location: m, style: c.val },
3604
+ var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
3605
+ return f.err ? f : {
3606
+ val: { type: v.number, value: n, location: m, style: f.val },
3572
3607
  err: null
3573
3608
  };
3574
3609
  } else {
3575
- if (x.length === 0)
3610
+ if (_.length === 0)
3576
3611
  return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3577
- var T = x;
3578
- this.locale && (T = Qr(x, this.locale));
3579
- var f = {
3580
- type: q.dateTime,
3581
- pattern: T,
3612
+ var w = _;
3613
+ this.locale && (w = ei(_, this.locale));
3614
+ var c = {
3615
+ type: Z.dateTime,
3616
+ pattern: w,
3582
3617
  location: u.styleLocation,
3583
- parsedOptions: this.shouldParseSkeletons ? kr(T) : {}
3618
+ parsedOptions: this.shouldParseSkeletons ? zn(w) : {}
3584
3619
  }, P = s === "date" ? v.date : v.time;
3585
3620
  return {
3586
- val: { type: P, value: r, location: m, style: f },
3621
+ val: { type: P, value: n, location: m, style: c },
3587
3622
  err: null
3588
3623
  };
3589
3624
  }
@@ -3591,7 +3626,7 @@ var fi = (
3591
3626
  return {
3592
3627
  val: {
3593
3628
  type: s === "number" ? v.number : s === "date" ? v.date : v.time,
3594
- value: r,
3629
+ value: n,
3595
3630
  location: m,
3596
3631
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3597
3632
  },
@@ -3601,61 +3636,61 @@ var fi = (
3601
3636
  case "plural":
3602
3637
  case "selectordinal":
3603
3638
  case "select": {
3604
- var E = this.clonePosition();
3639
+ var x = this.clonePosition();
3605
3640
  if (this.bumpSpace(), !this.bumpIf(","))
3606
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, y({}, E)));
3641
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(x, we({}, x)));
3607
3642
  this.bumpSpace();
3608
- var O = this.parseIdentifierIfPossible(), w = 0;
3643
+ var O = this.parseIdentifierIfPossible(), T = 0;
3609
3644
  if (s !== "select" && O.value === "offset") {
3610
3645
  if (!this.bumpIf(":"))
3611
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3646
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3612
3647
  this.bumpSpace();
3613
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3614
- if (c.err)
3615
- return c;
3616
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = c.val;
3648
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3649
+ if (f.err)
3650
+ return f;
3651
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), T = f.val;
3617
3652
  }
3618
- var $ = this.tryParsePluralOrSelectOptions(t, s, n, O);
3653
+ var $ = this.tryParsePluralOrSelectOptions(t, s, r, O);
3619
3654
  if ($.err)
3620
3655
  return $;
3621
- var d = this.tryParseArgumentClose(i);
3622
- if (d.err)
3623
- return d;
3624
- var ce = g(i, this.clonePosition());
3656
+ var p = this.tryParseArgumentClose(i);
3657
+ if (p.err)
3658
+ return p;
3659
+ var fe = y(i, this.clonePosition());
3625
3660
  return s === "select" ? {
3626
3661
  val: {
3627
3662
  type: v.select,
3628
- value: r,
3629
- options: Et($.val),
3630
- location: ce
3663
+ value: n,
3664
+ options: Ht($.val),
3665
+ location: fe
3631
3666
  },
3632
3667
  err: null
3633
3668
  } : {
3634
3669
  val: {
3635
3670
  type: v.plural,
3636
- value: r,
3637
- options: Et($.val),
3638
- offset: w,
3671
+ value: n,
3672
+ options: Ht($.val),
3673
+ offset: T,
3639
3674
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3640
- location: ce
3675
+ location: fe
3641
3676
  },
3642
3677
  err: null
3643
3678
  };
3644
3679
  }
3645
3680
  default:
3646
- return this.error(b.INVALID_ARGUMENT_TYPE, g(a, h));
3681
+ return this.error(b.INVALID_ARGUMENT_TYPE, y(a, l));
3647
3682
  }
3648
3683
  }, e.prototype.tryParseArgumentClose = function(t) {
3649
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3684
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3650
3685
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3651
- for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3652
- var r = this.char();
3653
- switch (r) {
3686
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3687
+ var n = this.char();
3688
+ switch (n) {
3654
3689
  case 39: {
3655
3690
  this.bump();
3656
3691
  var i = this.clonePosition();
3657
3692
  if (!this.bumpUntil("'"))
3658
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3693
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3659
3694
  this.bump();
3660
3695
  break;
3661
3696
  }
@@ -3668,7 +3703,7 @@ var fi = (
3668
3703
  t -= 1;
3669
3704
  else
3670
3705
  return {
3671
- val: this.message.slice(n.offset, this.offset()),
3706
+ val: this.message.slice(r.offset, this.offset()),
3672
3707
  err: null
3673
3708
  };
3674
3709
  break;
@@ -3679,61 +3714,61 @@ var fi = (
3679
3714
  }
3680
3715
  }
3681
3716
  return {
3682
- val: this.message.slice(n.offset, this.offset()),
3717
+ val: this.message.slice(r.offset, this.offset()),
3683
3718
  err: null
3684
3719
  };
3685
- }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3686
- var r = [];
3720
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3721
+ var n = [];
3687
3722
  try {
3688
- r = Xr(t);
3723
+ n = qn(t);
3689
3724
  } catch {
3690
- return this.error(b.INVALID_NUMBER_SKELETON, n);
3725
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3691
3726
  }
3692
3727
  return {
3693
3728
  val: {
3694
- type: q.number,
3695
- tokens: r,
3696
- location: n,
3697
- parsedOptions: this.shouldParseSkeletons ? qr(r) : {}
3729
+ type: Z.number,
3730
+ tokens: n,
3731
+ location: r,
3732
+ parsedOptions: this.shouldParseSkeletons ? Kn(n) : {}
3698
3733
  },
3699
3734
  err: null
3700
3735
  };
3701
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3702
- for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3736
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3737
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3703
3738
  if (u.length === 0) {
3704
- var c = this.clonePosition();
3705
- if (n !== "select" && this.bumpIf("=")) {
3706
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3707
- if (f.err)
3708
- return f;
3709
- l = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3739
+ var f = this.clonePosition();
3740
+ if (r !== "select" && this.bumpIf("=")) {
3741
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3742
+ if (c.err)
3743
+ return c;
3744
+ h = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3710
3745
  } else
3711
3746
  break;
3712
3747
  }
3713
- if (h.has(u))
3714
- return this.error(n === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3748
+ if (l.has(u))
3749
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3715
3750
  u === "other" && (a = !0), this.bumpSpace();
3716
- var p = this.clonePosition();
3751
+ var d = this.clonePosition();
3717
3752
  if (!this.bumpIf("{"))
3718
- return this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3719
- var d = this.parseMessage(t + 1, n, r);
3720
- if (d.err)
3721
- return d;
3722
- var m = this.tryParseArgumentClose(p);
3753
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3754
+ var p = this.parseMessage(t + 1, r, n);
3755
+ if (p.err)
3756
+ return p;
3757
+ var m = this.tryParseArgumentClose(d);
3723
3758
  if (m.err)
3724
3759
  return m;
3725
3760
  s.push([
3726
3761
  u,
3727
3762
  {
3728
- value: d.val,
3729
- location: g(p, this.clonePosition())
3763
+ value: p.val,
3764
+ location: y(d, this.clonePosition())
3730
3765
  }
3731
- ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3766
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3732
3767
  }
3733
- return s.length === 0 ? this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3734
- }, e.prototype.tryParseDecimalInteger = function(t, n) {
3735
- var r = 1, i = this.clonePosition();
3736
- this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3768
+ return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3769
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
3770
+ var n = 1, i = this.clonePosition();
3771
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3737
3772
  for (var o = !1, a = 0; !this.isEOF(); ) {
3738
3773
  var s = this.char();
3739
3774
  if (s >= 48 && s <= 57)
@@ -3741,8 +3776,8 @@ var fi = (
3741
3776
  else
3742
3777
  break;
3743
3778
  }
3744
- var h = g(i, this.clonePosition());
3745
- return o ? (a *= r, ai(a) ? { val: a, err: null } : this.error(n, h)) : this.error(t, h);
3779
+ var l = y(i, this.clonePosition());
3780
+ return o ? (a *= n, ci(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3746
3781
  }, e.prototype.offset = function() {
3747
3782
  return this.position.offset;
3748
3783
  }, e.prototype.isEOF = function() {
@@ -3757,17 +3792,17 @@ var fi = (
3757
3792
  var t = this.position.offset;
3758
3793
  if (t >= this.message.length)
3759
3794
  throw Error("out of bound");
3760
- var n = fn(this.message, t);
3761
- if (n === void 0)
3795
+ var r = dr(this.message, t);
3796
+ if (r === void 0)
3762
3797
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3763
- return n;
3764
- }, e.prototype.error = function(t, n) {
3798
+ return r;
3799
+ }, e.prototype.error = function(t, r) {
3765
3800
  return {
3766
3801
  val: null,
3767
3802
  err: {
3768
3803
  kind: t,
3769
3804
  message: this.message,
3770
- location: n
3805
+ location: r
3771
3806
  }
3772
3807
  };
3773
3808
  }, e.prototype.bump = function() {
@@ -3776,320 +3811,320 @@ var fi = (
3776
3811
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3777
3812
  }
3778
3813
  }, e.prototype.bumpIf = function(t) {
3779
- if (xt(this.message, t, this.offset())) {
3780
- for (var n = 0; n < t.length; n++)
3814
+ if (Tt(this.message, t, this.offset())) {
3815
+ for (var r = 0; r < t.length; r++)
3781
3816
  this.bump();
3782
3817
  return !0;
3783
3818
  }
3784
3819
  return !1;
3785
3820
  }, e.prototype.bumpUntil = function(t) {
3786
- var n = this.offset(), r = this.message.indexOf(t, n);
3787
- return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3821
+ var r = this.offset(), n = this.message.indexOf(t, r);
3822
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3788
3823
  }, e.prototype.bumpTo = function(t) {
3789
3824
  if (this.offset() > t)
3790
3825
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3791
3826
  for (t = Math.min(t, this.message.length); ; ) {
3792
- var n = this.offset();
3793
- if (n === t)
3827
+ var r = this.offset();
3828
+ if (r === t)
3794
3829
  break;
3795
- if (n > t)
3830
+ if (r > t)
3796
3831
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3797
3832
  if (this.bump(), this.isEOF())
3798
3833
  break;
3799
3834
  }
3800
3835
  }, e.prototype.bumpSpace = function() {
3801
- for (; !this.isEOF() && dn(this.char()); )
3836
+ for (; !this.isEOF() && br(this.char()); )
3802
3837
  this.bump();
3803
3838
  }, e.prototype.peek = function() {
3804
3839
  if (this.isEOF())
3805
3840
  return null;
3806
- var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3807
- return r ?? null;
3841
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3842
+ return n ?? null;
3808
3843
  }, e;
3809
3844
  }()
3810
3845
  );
3811
- function Je(e) {
3846
+ function rt(e) {
3812
3847
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3813
3848
  }
3814
- function ci(e) {
3815
- return Je(e) || e === 47;
3849
+ function bi(e) {
3850
+ return rt(e) || e === 47;
3816
3851
  }
3817
- function di(e) {
3852
+ function yi(e) {
3818
3853
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3819
3854
  }
3820
- function dn(e) {
3855
+ function br(e) {
3821
3856
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3822
3857
  }
3823
- function pi(e) {
3858
+ function gi(e) {
3824
3859
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3825
3860
  }
3826
- function Ye(e) {
3861
+ function nt(e) {
3827
3862
  e.forEach(function(t) {
3828
- if (delete t.location, nn(t) || rn(t))
3829
- for (var n in t.options)
3830
- delete t.options[n].location, Ye(t.options[n].value);
3863
+ if (delete t.location, sr(t) || ar(t))
3864
+ for (var r in t.options)
3865
+ delete t.options[r].location, nt(t.options[r].value);
3831
3866
  else
3832
- Kt(t) && sn(t.style) || (en(t) || tn(t)) && ze(t.style) ? delete t.style.location : on(t) && Ye(t.children);
3867
+ nr(t) && lr(t.style) || (ir(t) || or(t)) && Ye(t.style) ? delete t.style.location : ur(t) && nt(t.children);
3833
3868
  });
3834
3869
  }
3835
- function mi(e, t) {
3836
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3837
- var n = new fi(e, t).parse();
3838
- if (n.err) {
3839
- var r = SyntaxError(b[n.err.kind]);
3840
- throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3870
+ function vi(e, t) {
3871
+ t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3872
+ var r = new mi(e, t).parse();
3873
+ if (r.err) {
3874
+ var n = SyntaxError(b[r.err.kind]);
3875
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3841
3876
  }
3842
- return t?.captureLocation || Ye(n.val), n.val;
3877
+ return t?.captureLocation || nt(r.val), r.val;
3843
3878
  }
3844
- var Q;
3879
+ var q;
3845
3880
  (function(e) {
3846
3881
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3847
- })(Q || (Q = {}));
3848
- var Ae = (
3882
+ })(q || (q = {}));
3883
+ var Oe = (
3849
3884
  /** @class */
3850
3885
  function(e) {
3851
- C(t, e);
3852
- function t(n, r, i) {
3853
- var o = e.call(this, n) || this;
3854
- return o.code = r, o.originalMessage = i, o;
3886
+ Pe(t, e);
3887
+ function t(r, n, i) {
3888
+ var o = e.call(this, r) || this;
3889
+ return o.code = n, o.originalMessage = i, o;
3855
3890
  }
3856
3891
  return t.prototype.toString = function() {
3857
3892
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3858
3893
  }, t;
3859
3894
  }(Error)
3860
- ), Tt = (
3895
+ ), At = (
3861
3896
  /** @class */
3862
3897
  function(e) {
3863
- C(t, e);
3864
- function t(n, r, i, o) {
3865
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3898
+ Pe(t, e);
3899
+ function t(r, n, i, o) {
3900
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3866
3901
  }
3867
3902
  return t;
3868
- }(Ae)
3869
- ), bi = (
3903
+ }(Oe)
3904
+ ), _i = (
3870
3905
  /** @class */
3871
3906
  function(e) {
3872
- C(t, e);
3873
- function t(n, r, i) {
3874
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Q.INVALID_VALUE, i) || this;
3907
+ Pe(t, e);
3908
+ function t(r, n, i) {
3909
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3875
3910
  }
3876
3911
  return t;
3877
- }(Ae)
3878
- ), gi = (
3912
+ }(Oe)
3913
+ ), Ei = (
3879
3914
  /** @class */
3880
3915
  function(e) {
3881
- C(t, e);
3882
- function t(n, r) {
3883
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Q.MISSING_VALUE, r) || this;
3916
+ Pe(t, e);
3917
+ function t(r, n) {
3918
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3884
3919
  }
3885
3920
  return t;
3886
- }(Ae)
3921
+ }(Oe)
3887
3922
  ), S;
3888
3923
  (function(e) {
3889
3924
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3890
3925
  })(S || (S = {}));
3891
- function yi(e) {
3892
- return e.length < 2 ? e : e.reduce(function(t, n) {
3893
- var r = t[t.length - 1];
3894
- return !r || r.type !== S.literal || n.type !== S.literal ? t.push(n) : r.value += n.value, t;
3926
+ function xi(e) {
3927
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3928
+ var n = t[t.length - 1];
3929
+ return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3895
3930
  }, []);
3896
3931
  }
3897
- function _i(e) {
3932
+ function Si(e) {
3898
3933
  return typeof e == "function";
3899
3934
  }
3900
- function _e(e, t, n, r, i, o, a) {
3901
- if (e.length === 1 && gt(e[0]))
3935
+ function ve(e, t, r, n, i, o, a) {
3936
+ if (e.length === 1 && Et(e[0]))
3902
3937
  return [
3903
3938
  {
3904
3939
  type: S.literal,
3905
3940
  value: e[0].value
3906
3941
  }
3907
3942
  ];
3908
- for (var s = [], h = 0, u = e; h < u.length; h++) {
3909
- var l = u[h];
3910
- if (gt(l)) {
3943
+ for (var s = [], l = 0, u = e; l < u.length; l++) {
3944
+ var h = u[l];
3945
+ if (Et(h)) {
3911
3946
  s.push({
3912
3947
  type: S.literal,
3913
- value: l.value
3948
+ value: h.value
3914
3949
  });
3915
3950
  continue;
3916
3951
  }
3917
- if (Fr(l)) {
3952
+ if (Xn(h)) {
3918
3953
  typeof o == "number" && s.push({
3919
3954
  type: S.literal,
3920
- value: n.getNumberFormat(t).format(o)
3955
+ value: r.getNumberFormat(t).format(o)
3921
3956
  });
3922
3957
  continue;
3923
3958
  }
3924
- var c = l.value;
3925
- if (!(i && c in i))
3926
- throw new gi(c, a);
3927
- var f = i[c];
3928
- if (Gr(l)) {
3929
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3930
- type: typeof f == "string" ? S.literal : S.object,
3931
- value: f
3959
+ var f = h.value;
3960
+ if (!(i && f in i))
3961
+ throw new Ei(f, a);
3962
+ var c = i[f];
3963
+ if (Vn(h)) {
3964
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3965
+ type: typeof c == "string" ? S.literal : S.object,
3966
+ value: c
3932
3967
  });
3933
3968
  continue;
3934
3969
  }
3935
- if (en(l)) {
3936
- var p = typeof l.style == "string" ? r.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
3970
+ if (ir(h)) {
3971
+ var d = typeof h.style == "string" ? n.date[h.style] : Ye(h.style) ? h.style.parsedOptions : void 0;
3937
3972
  s.push({
3938
3973
  type: S.literal,
3939
- value: n.getDateTimeFormat(t, p).format(f)
3974
+ value: r.getDateTimeFormat(t, d).format(c)
3940
3975
  });
3941
3976
  continue;
3942
3977
  }
3943
- if (tn(l)) {
3944
- var p = typeof l.style == "string" ? r.time[l.style] : ze(l.style) ? l.style.parsedOptions : r.time.medium;
3978
+ if (or(h)) {
3979
+ var d = typeof h.style == "string" ? n.time[h.style] : Ye(h.style) ? h.style.parsedOptions : n.time.medium;
3945
3980
  s.push({
3946
3981
  type: S.literal,
3947
- value: n.getDateTimeFormat(t, p).format(f)
3982
+ value: r.getDateTimeFormat(t, d).format(c)
3948
3983
  });
3949
3984
  continue;
3950
3985
  }
3951
- if (Kt(l)) {
3952
- var p = typeof l.style == "string" ? r.number[l.style] : sn(l.style) ? l.style.parsedOptions : void 0;
3953
- p && p.scale && (f = f * (p.scale || 1)), s.push({
3986
+ if (nr(h)) {
3987
+ var d = typeof h.style == "string" ? n.number[h.style] : lr(h.style) ? h.style.parsedOptions : void 0;
3988
+ d && d.scale && (c = c * (d.scale || 1)), s.push({
3954
3989
  type: S.literal,
3955
- value: n.getNumberFormat(t, p).format(f)
3990
+ value: r.getNumberFormat(t, d).format(c)
3956
3991
  });
3957
3992
  continue;
3958
3993
  }
3959
- if (on(l)) {
3960
- var d = l.children, m = l.value, x = i[m];
3961
- if (!_i(x))
3962
- throw new bi(m, "function", a);
3963
- var T = _e(d, t, n, r, i, o), P = x(T.map(function(w) {
3964
- return w.value;
3994
+ if (ur(h)) {
3995
+ var p = h.children, m = h.value, _ = i[m];
3996
+ if (!Si(_))
3997
+ throw new _i(m, "function", a);
3998
+ var w = ve(p, t, r, n, i, o), P = _(w.map(function(T) {
3999
+ return T.value;
3965
4000
  }));
3966
- Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(w) {
4001
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(T) {
3967
4002
  return {
3968
- type: typeof w == "string" ? S.literal : S.object,
3969
- value: w
4003
+ type: typeof T == "string" ? S.literal : S.object,
4004
+ value: T
3970
4005
  };
3971
4006
  }));
3972
4007
  }
3973
- if (nn(l)) {
3974
- var E = l.options[f] || l.options.other;
3975
- if (!E)
3976
- throw new Tt(l.value, f, Object.keys(l.options), a);
3977
- s.push.apply(s, _e(E.value, t, n, r, i));
4008
+ if (sr(h)) {
4009
+ var x = h.options[c] || h.options.other;
4010
+ if (!x)
4011
+ throw new At(h.value, c, Object.keys(h.options), a);
4012
+ s.push.apply(s, ve(x.value, t, r, n, i));
3978
4013
  continue;
3979
4014
  }
3980
- if (rn(l)) {
3981
- var E = l.options["=".concat(f)];
3982
- if (!E) {
4015
+ if (ar(h)) {
4016
+ var x = h.options["=".concat(c)];
4017
+ if (!x) {
3983
4018
  if (!Intl.PluralRules)
3984
- throw new Ae(`Intl.PluralRules is not available in this environment.
4019
+ throw new Oe(`Intl.PluralRules is not available in this environment.
3985
4020
  Try polyfilling it using "@formatjs/intl-pluralrules"
3986
- `, Q.MISSING_INTL_API, a);
3987
- var O = n.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3988
- E = l.options[O] || l.options.other;
4021
+ `, q.MISSING_INTL_API, a);
4022
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4023
+ x = h.options[O] || h.options.other;
3989
4024
  }
3990
- if (!E)
3991
- throw new Tt(l.value, f, Object.keys(l.options), a);
3992
- s.push.apply(s, _e(E.value, t, n, r, i, f - (l.offset || 0)));
4025
+ if (!x)
4026
+ throw new At(h.value, c, Object.keys(h.options), a);
4027
+ s.push.apply(s, ve(x.value, t, r, n, i, c - (h.offset || 0)));
3993
4028
  continue;
3994
4029
  }
3995
4030
  }
3996
- return yi(s);
4031
+ return xi(s);
3997
4032
  }
3998
- function vi(e, t) {
3999
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
4000
- return n[r] = y(y({}, e[r]), t[r] || {}), n;
4033
+ function wi(e, t) {
4034
+ return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4035
+ return r[n] = L(L({}, e[n]), t[n] || {}), r;
4001
4036
  }, {})) : e;
4002
4037
  }
4003
- function xi(e, t) {
4004
- return t ? Object.keys(e).reduce(function(n, r) {
4005
- return n[r] = vi(e[r], t[r]), n;
4006
- }, y({}, e)) : e;
4038
+ function Ti(e, t) {
4039
+ return t ? Object.keys(e).reduce(function(r, n) {
4040
+ return r[n] = wi(e[n], t[n]), r;
4041
+ }, L({}, e)) : e;
4007
4042
  }
4008
- function Ue(e) {
4043
+ function Fe(e) {
4009
4044
  return {
4010
4045
  create: function() {
4011
4046
  return {
4012
4047
  get: function(t) {
4013
4048
  return e[t];
4014
4049
  },
4015
- set: function(t, n) {
4016
- e[t] = n;
4050
+ set: function(t, r) {
4051
+ e[t] = r;
4017
4052
  }
4018
4053
  };
4019
4054
  }
4020
4055
  };
4021
4056
  }
4022
- function Ei(e) {
4057
+ function Hi(e) {
4023
4058
  return e === void 0 && (e = {
4024
4059
  number: {},
4025
4060
  dateTime: {},
4026
4061
  pluralRules: {}
4027
4062
  }), {
4028
- getNumberFormat: Ce(function() {
4029
- for (var t, n = [], r = 0; r < arguments.length; r++)
4030
- n[r] = arguments[r];
4031
- return new ((t = Intl.NumberFormat).bind.apply(t, z([void 0], n, !1)))();
4063
+ getNumberFormat: Ue(function() {
4064
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4065
+ r[n] = arguments[n];
4066
+ return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
4032
4067
  }, {
4033
- cache: Ue(e.number),
4034
- strategy: $e.variadic
4068
+ cache: Fe(e.number),
4069
+ strategy: De.variadic
4035
4070
  }),
4036
- getDateTimeFormat: Ce(function() {
4037
- for (var t, n = [], r = 0; r < arguments.length; r++)
4038
- n[r] = arguments[r];
4039
- return new ((t = Intl.DateTimeFormat).bind.apply(t, z([void 0], n, !1)))();
4071
+ getDateTimeFormat: Ue(function() {
4072
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4073
+ r[n] = arguments[n];
4074
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
4040
4075
  }, {
4041
- cache: Ue(e.dateTime),
4042
- strategy: $e.variadic
4076
+ cache: Fe(e.dateTime),
4077
+ strategy: De.variadic
4043
4078
  }),
4044
- getPluralRules: Ce(function() {
4045
- for (var t, n = [], r = 0; r < arguments.length; r++)
4046
- n[r] = arguments[r];
4047
- return new ((t = Intl.PluralRules).bind.apply(t, z([void 0], n, !1)))();
4079
+ getPluralRules: Ue(function() {
4080
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4081
+ r[n] = arguments[n];
4082
+ return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
4048
4083
  }, {
4049
- cache: Ue(e.pluralRules),
4050
- strategy: $e.variadic
4084
+ cache: Fe(e.pluralRules),
4085
+ strategy: De.variadic
4051
4086
  })
4052
4087
  };
4053
4088
  }
4054
- var Si = (
4089
+ var Bi = (
4055
4090
  /** @class */
4056
4091
  function() {
4057
- function e(t, n, r, i) {
4058
- n === void 0 && (n = e.defaultLocale);
4092
+ function e(t, r, n, i) {
4093
+ r === void 0 && (r = e.defaultLocale);
4059
4094
  var o = this;
4060
4095
  if (this.formatterCache = {
4061
4096
  number: {},
4062
4097
  dateTime: {},
4063
4098
  pluralRules: {}
4064
- }, this.format = function(h) {
4065
- var u = o.formatToParts(h);
4099
+ }, this.format = function(l) {
4100
+ var u = o.formatToParts(l);
4066
4101
  if (u.length === 1)
4067
4102
  return u[0].value;
4068
- var l = u.reduce(function(c, f) {
4069
- return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4103
+ var h = u.reduce(function(f, c) {
4104
+ return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4070
4105
  }, []);
4071
- return l.length <= 1 ? l[0] || "" : l;
4072
- }, this.formatToParts = function(h) {
4073
- return _e(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
4106
+ return h.length <= 1 ? h[0] || "" : h;
4107
+ }, this.formatToParts = function(l) {
4108
+ return ve(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4074
4109
  }, this.resolvedOptions = function() {
4075
- var h;
4110
+ var l;
4076
4111
  return {
4077
- locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4112
+ locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4078
4113
  };
4079
4114
  }, this.getAst = function() {
4080
4115
  return o.ast;
4081
- }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
4116
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4082
4117
  if (this.message = t, !e.__parse)
4083
4118
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4084
4119
  var a = i || {};
4085
4120
  a.formatters;
4086
- var s = tr(a, ["formatters"]);
4087
- this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
4121
+ var s = $n(a, ["formatters"]);
4122
+ this.ast = e.__parse(t, L(L({}, s), { locale: this.resolvedLocale }));
4088
4123
  } else
4089
4124
  this.ast = t;
4090
4125
  if (!Array.isArray(this.ast))
4091
4126
  throw new TypeError("A message must be provided as a String or AST.");
4092
- this.formats = xi(e.formats, r), this.formatters = i && i.formatters || Ei(this.formatterCache);
4127
+ this.formats = Ti(e.formats, n), this.formatters = i && i.formatters || Hi(this.formatterCache);
4093
4128
  }
4094
4129
  return Object.defineProperty(e, "defaultLocale", {
4095
4130
  get: function() {
@@ -4099,10 +4134,10 @@ var Si = (
4099
4134
  configurable: !0
4100
4135
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4101
4136
  if (!(typeof Intl.Locale > "u")) {
4102
- var n = Intl.NumberFormat.supportedLocalesOf(t);
4103
- return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4137
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
4138
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4104
4139
  }
4105
- }, e.__parse = mi, e.formats = {
4140
+ }, e.__parse = vi, e.formats = {
4106
4141
  number: {
4107
4142
  integer: {
4108
4143
  maximumFractionDigits: 0
@@ -4163,113 +4198,113 @@ var Si = (
4163
4198
  }, e;
4164
4199
  }()
4165
4200
  );
4166
- function Ti(e, t) {
4201
+ function Ai(e, t) {
4167
4202
  if (t == null)
4168
4203
  return;
4169
4204
  if (t in e)
4170
4205
  return e[t];
4171
- const n = t.split(".");
4172
- let r = e;
4173
- for (let i = 0; i < n.length; i++)
4174
- if (typeof r == "object") {
4206
+ const r = t.split(".");
4207
+ let n = e;
4208
+ for (let i = 0; i < r.length; i++)
4209
+ if (typeof n == "object") {
4175
4210
  if (i > 0) {
4176
- const o = n.slice(i, n.length).join(".");
4177
- if (o in r) {
4178
- r = r[o];
4211
+ const o = r.slice(i, r.length).join(".");
4212
+ if (o in n) {
4213
+ n = n[o];
4179
4214
  break;
4180
4215
  }
4181
4216
  }
4182
- r = r[n[i]];
4217
+ n = n[r[i]];
4183
4218
  } else
4184
- r = void 0;
4185
- return r;
4219
+ n = void 0;
4220
+ return n;
4186
4221
  }
4187
- const U = {}, wi = (e, t, n) => n && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = n), n), pn = (e, t) => {
4222
+ const U = {}, Pi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), yr = (e, t) => {
4188
4223
  if (t == null)
4189
4224
  return;
4190
4225
  if (t in U && e in U[t])
4191
4226
  return U[t][e];
4192
- const n = Pe(t);
4193
- for (let r = 0; r < n.length; r++) {
4194
- const i = n[r], o = Bi(i, e);
4227
+ const r = Ie(t);
4228
+ for (let n = 0; n < r.length; n++) {
4229
+ const i = r[n], o = Ii(i, e);
4195
4230
  if (o)
4196
- return wi(e, t, o);
4231
+ return Pi(e, t, o);
4197
4232
  }
4198
4233
  };
4199
- let it;
4200
- const fe = Be({});
4201
- function Hi(e) {
4202
- return it[e] || null;
4234
+ let ut;
4235
+ const ce = Ae({});
4236
+ function Oi(e) {
4237
+ return ut[e] || null;
4203
4238
  }
4204
- function mn(e) {
4205
- return e in it;
4239
+ function gr(e) {
4240
+ return e in ut;
4206
4241
  }
4207
- function Bi(e, t) {
4208
- if (!mn(e))
4242
+ function Ii(e, t) {
4243
+ if (!gr(e))
4209
4244
  return null;
4210
- const n = Hi(e);
4211
- return Ti(n, t);
4245
+ const r = Oi(e);
4246
+ return Ai(r, t);
4212
4247
  }
4213
- function Ai(e) {
4248
+ function Li(e) {
4214
4249
  if (e == null)
4215
4250
  return;
4216
- const t = Pe(e);
4217
- for (let n = 0; n < t.length; n++) {
4218
- const r = t[n];
4219
- if (mn(r))
4220
- return r;
4251
+ const t = Ie(e);
4252
+ for (let r = 0; r < t.length; r++) {
4253
+ const n = t[r];
4254
+ if (gr(n))
4255
+ return n;
4221
4256
  }
4222
4257
  }
4223
- function bn(e, ...t) {
4224
- delete U[e], fe.update((n) => (n[e] = Lr.all([n[e] || {}, ...t]), n));
4258
+ function vr(e, ...t) {
4259
+ delete U[e], ce.update((r) => (r[e] = Mn.all([r[e] || {}, ...t]), r));
4225
4260
  }
4226
- Y(
4227
- [fe],
4261
+ J(
4262
+ [ce],
4228
4263
  ([e]) => Object.keys(e)
4229
4264
  );
4230
- fe.subscribe((e) => it = e);
4231
- const ve = {};
4232
- function Pi(e, t) {
4233
- ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4265
+ ce.subscribe((e) => ut = e);
4266
+ const _e = {};
4267
+ function Ni(e, t) {
4268
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
4234
4269
  }
4235
- function gn(e) {
4236
- return ve[e];
4270
+ function _r(e) {
4271
+ return _e[e];
4237
4272
  }
4238
- function Oi(e) {
4239
- return Pe(e).map((t) => {
4240
- const n = gn(t);
4241
- return [t, n ? [...n] : []];
4273
+ function Ci(e) {
4274
+ return Ie(e).map((t) => {
4275
+ const r = _r(t);
4276
+ return [t, r ? [...r] : []];
4242
4277
  }).filter(([, t]) => t.length > 0);
4243
4278
  }
4244
- function Ke(e) {
4245
- return e == null ? !1 : Pe(e).some(
4279
+ function it(e) {
4280
+ return e == null ? !1 : Ie(e).some(
4246
4281
  (t) => {
4247
- var n;
4248
- return (n = gn(t)) == null ? void 0 : n.size;
4282
+ var r;
4283
+ return (r = _r(t)) == null ? void 0 : r.size;
4249
4284
  }
4250
4285
  );
4251
4286
  }
4252
- function Ii(e, t) {
4287
+ function Mi(e, t) {
4253
4288
  return Promise.all(
4254
- t.map((r) => (Pi(e, r), r().then((i) => i.default || i)))
4255
- ).then((r) => bn(e, ...r));
4289
+ t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
4290
+ ).then((n) => vr(e, ...n));
4256
4291
  }
4257
4292
  const re = {};
4258
- function yn(e) {
4259
- if (!Ke(e))
4293
+ function Er(e) {
4294
+ if (!it(e))
4260
4295
  return e in re ? re[e] : Promise.resolve();
4261
- const t = Oi(e);
4296
+ const t = Ci(e);
4262
4297
  return re[e] = Promise.all(
4263
4298
  t.map(
4264
- ([n, r]) => Ii(n, r)
4299
+ ([r, n]) => Mi(r, n)
4265
4300
  )
4266
4301
  ).then(() => {
4267
- if (Ke(e))
4268
- return yn(e);
4302
+ if (it(e))
4303
+ return Er(e);
4269
4304
  delete re[e];
4270
4305
  }), re[e];
4271
4306
  }
4272
- const Li = {
4307
+ const $i = {
4273
4308
  number: {
4274
4309
  scientific: { notation: "scientific" },
4275
4310
  engineering: { notation: "engineering" },
@@ -4298,198 +4333,198 @@ const Li = {
4298
4333
  timeZoneName: "short"
4299
4334
  }
4300
4335
  }
4301
- }, Ni = {
4336
+ }, Ri = {
4302
4337
  fallbackLocale: null,
4303
4338
  loadingDelay: 200,
4304
- formats: Li,
4339
+ formats: $i,
4305
4340
  warnOnMissingMessages: !0,
4306
4341
  handleMissingMessage: void 0,
4307
4342
  ignoreTag: !0
4308
- }, Mi = Ni;
4309
- function J() {
4310
- return Mi;
4311
- }
4312
- const De = Be(!1);
4313
- var Ci = Object.defineProperty, $i = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, Ht = (e, t, n) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Gi = (e, t) => {
4314
- for (var n in t)
4315
- Ui.call(t, n) && Ht(e, n, t[n]);
4316
- if (wt)
4317
- for (var n of wt(t))
4318
- Di.call(t, n) && Ht(e, n, t[n]);
4343
+ }, Ui = Ri;
4344
+ function Q() {
4345
+ return Ui;
4346
+ }
4347
+ const je = Ae(!1);
4348
+ var Di = Object.defineProperty, Gi = Object.defineProperties, Fi = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, ji = Object.prototype.hasOwnProperty, ki = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vi = (e, t) => {
4349
+ for (var r in t || (t = {}))
4350
+ ji.call(t, r) && Ot(e, r, t[r]);
4351
+ if (Pt)
4352
+ for (var r of Pt(t))
4353
+ ki.call(t, r) && Ot(e, r, t[r]);
4319
4354
  return e;
4320
- }, Fi = (e, t) => $i(e, Ri(t));
4321
- let et;
4322
- const Te = Be(null);
4323
- function Bt(e) {
4324
- return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4355
+ }, Xi = (e, t) => Gi(e, Fi(t));
4356
+ let ot;
4357
+ const Te = Ae(null);
4358
+ function It(e) {
4359
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4325
4360
  }
4326
- function Pe(e, t = J().fallbackLocale) {
4327
- const n = Bt(e);
4328
- return t ? [.../* @__PURE__ */ new Set([...n, ...Bt(t)])] : n;
4361
+ function Ie(e, t = Q().fallbackLocale) {
4362
+ const r = It(e);
4363
+ return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
4329
4364
  }
4330
4365
  function F() {
4331
- return et ?? void 0;
4366
+ return ot ?? void 0;
4332
4367
  }
4333
4368
  Te.subscribe((e) => {
4334
- et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4369
+ ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4335
4370
  });
4336
- const ji = (e) => {
4337
- if (e && Ai(e) && Ke(e)) {
4338
- const { loadingDelay: t } = J();
4339
- let n;
4340
- return typeof window < "u" && F() != null && t ? n = window.setTimeout(
4341
- () => De.set(!0),
4371
+ const Wi = (e) => {
4372
+ if (e && Li(e) && it(e)) {
4373
+ const { loadingDelay: t } = Q();
4374
+ let r;
4375
+ return typeof window < "u" && F() != null && t ? r = window.setTimeout(
4376
+ () => je.set(!0),
4342
4377
  t
4343
- ) : De.set(!0), yn(e).then(() => {
4378
+ ) : je.set(!0), Er(e).then(() => {
4344
4379
  Te.set(e);
4345
4380
  }).finally(() => {
4346
- clearTimeout(n), De.set(!1);
4381
+ clearTimeout(r), je.set(!1);
4347
4382
  });
4348
4383
  }
4349
4384
  return Te.set(e);
4350
- }, K = Fi(Gi({}, Te), {
4351
- set: ji
4352
- }), Oe = (e) => {
4385
+ }, Y = Xi(Vi({}, Te), {
4386
+ set: Wi
4387
+ }), Le = (e) => {
4353
4388
  const t = /* @__PURE__ */ Object.create(null);
4354
- return (r) => {
4355
- const i = JSON.stringify(r);
4356
- return i in t ? t[i] : t[i] = e(r);
4389
+ return (n) => {
4390
+ const i = JSON.stringify(n);
4391
+ return i in t ? t[i] : t[i] = e(n);
4357
4392
  };
4358
4393
  };
4359
- var ki = Object.defineProperty, we = Object.getOwnPropertySymbols, _n = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable, At = (e, t, n) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ot = (e, t) => {
4360
- for (var n in t || (t = {}))
4361
- _n.call(t, n) && At(e, n, t[n]);
4362
- if (we)
4363
- for (var n of we(t))
4364
- vn.call(t, n) && At(e, n, t[n]);
4394
+ var zi = Object.defineProperty, He = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4395
+ for (var r in t || (t = {}))
4396
+ xr.call(t, r) && Lt(e, r, t[r]);
4397
+ if (He)
4398
+ for (var r of He(t))
4399
+ Sr.call(t, r) && Lt(e, r, t[r]);
4365
4400
  return e;
4366
- }, ee = (e, t) => {
4367
- var n = {};
4368
- for (var r in e)
4369
- _n.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4370
- if (e != null && we)
4371
- for (var r of we(e))
4372
- t.indexOf(r) < 0 && vn.call(e, r) && (n[r] = e[r]);
4373
- return n;
4401
+ }, K = (e, t) => {
4402
+ var r = {};
4403
+ for (var n in e)
4404
+ xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4405
+ if (e != null && He)
4406
+ for (var n of He(e))
4407
+ t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
4408
+ return r;
4374
4409
  };
4375
- const ae = (e, t) => {
4376
- const { formats: n } = J();
4377
- if (e in n && t in n[e])
4378
- return n[e][t];
4410
+ const se = (e, t) => {
4411
+ const { formats: r } = Q();
4412
+ if (e in r && t in r[e])
4413
+ return r[e][t];
4379
4414
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4380
- }, Vi = Oe(
4415
+ }, Zi = Le(
4381
4416
  (e) => {
4382
- var t = e, { locale: n, format: r } = t, i = ee(t, ["locale", "format"]);
4383
- if (n == null)
4417
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4418
+ if (r == null)
4384
4419
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4385
- return r && (i = ae("number", r)), new Intl.NumberFormat(n, i);
4420
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4386
4421
  }
4387
- ), Xi = Oe(
4422
+ ), qi = Le(
4388
4423
  (e) => {
4389
- var t = e, { locale: n, format: r } = t, i = ee(t, ["locale", "format"]);
4390
- if (n == null)
4424
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4425
+ if (r == null)
4391
4426
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4392
- return r ? i = ae("date", r) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(n, i);
4427
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4393
4428
  }
4394
- ), Wi = Oe(
4429
+ ), Qi = Le(
4395
4430
  (e) => {
4396
- var t = e, { locale: n, format: r } = t, i = ee(t, ["locale", "format"]);
4397
- if (n == null)
4431
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4432
+ if (r == null)
4398
4433
  throw new Error(
4399
4434
  '[svelte-i18n] A "locale" must be set to format time values'
4400
4435
  );
4401
- return r ? i = ae("time", r) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(n, i);
4436
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4402
4437
  }
4403
- ), zi = (e = {}) => {
4438
+ ), Ji = (e = {}) => {
4404
4439
  var t = e, {
4405
- locale: n = F()
4406
- } = t, r = ee(t, [
4440
+ locale: r = F()
4441
+ } = t, n = K(t, [
4407
4442
  "locale"
4408
4443
  ]);
4409
- return Vi(ot({ locale: n }, r));
4410
- }, Zi = (e = {}) => {
4444
+ return Zi(lt({ locale: r }, n));
4445
+ }, Yi = (e = {}) => {
4411
4446
  var t = e, {
4412
- locale: n = F()
4413
- } = t, r = ee(t, [
4447
+ locale: r = F()
4448
+ } = t, n = K(t, [
4414
4449
  "locale"
4415
4450
  ]);
4416
- return Xi(ot({ locale: n }, r));
4417
- }, qi = (e = {}) => {
4451
+ return qi(lt({ locale: r }, n));
4452
+ }, Ki = (e = {}) => {
4418
4453
  var t = e, {
4419
- locale: n = F()
4420
- } = t, r = ee(t, [
4454
+ locale: r = F()
4455
+ } = t, n = K(t, [
4421
4456
  "locale"
4422
4457
  ]);
4423
- return Wi(ot({ locale: n }, r));
4424
- }, Qi = Oe(
4458
+ return Qi(lt({ locale: r }, n));
4459
+ }, eo = Le(
4425
4460
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4426
- (e, t = F()) => new Si(e, t, J().formats, {
4427
- ignoreTag: J().ignoreTag
4461
+ (e, t = F()) => new Bi(e, t, Q().formats, {
4462
+ ignoreTag: Q().ignoreTag
4428
4463
  })
4429
- ), Ji = (e, t = {}) => {
4430
- var n, r, i, o;
4464
+ ), to = (e, t = {}) => {
4465
+ var r, n, i, o;
4431
4466
  let a = t;
4432
4467
  typeof e == "object" && (a = e, e = a.id);
4433
4468
  const {
4434
4469
  values: s,
4435
- locale: h = F(),
4470
+ locale: l = F(),
4436
4471
  default: u
4437
4472
  } = a;
4438
- if (h == null)
4473
+ if (l == null)
4439
4474
  throw new Error(
4440
4475
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4441
4476
  );
4442
- let l = pn(e, h);
4443
- if (!l)
4444
- l = (o = (i = (r = (n = J()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4445
- else if (typeof l != "string")
4477
+ let h = yr(e, l);
4478
+ if (!h)
4479
+ h = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4480
+ else if (typeof h != "string")
4446
4481
  return console.warn(
4447
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4448
- ), l;
4482
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4483
+ ), h;
4449
4484
  if (!s)
4450
- return l;
4451
- let c = l;
4485
+ return h;
4486
+ let f = h;
4452
4487
  try {
4453
- c = Qi(l, h).format(s);
4454
- } catch (f) {
4455
- f instanceof Error && console.warn(
4488
+ f = eo(h, l).format(s);
4489
+ } catch (c) {
4490
+ c instanceof Error && console.warn(
4456
4491
  `[svelte-i18n] Message "${e}" has syntax error:`,
4457
- f.message
4492
+ c.message
4458
4493
  );
4459
4494
  }
4460
- return c;
4461
- }, Yi = (e, t) => qi(t).format(e), Ki = (e, t) => Zi(t).format(e), eo = (e, t) => zi(t).format(e), to = (e, t = F()) => pn(e, t), no = Y([K, fe], () => Ji);
4462
- Y([K], () => Yi);
4463
- Y([K], () => Ki);
4464
- Y([K], () => eo);
4465
- Y([K, fe], () => to);
4466
- window.emWidgets = { topic: mr };
4467
- const Uo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), xn = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", Do = (e) => e.match(/CustomNative/i) ? "NativeApp" : xn(e) === "PC" ? "Desktop" : "Mobile";
4468
- function Pt(e, t) {
4495
+ return f;
4496
+ }, ro = (e, t) => Ki(t).format(e), no = (e, t) => Yi(t).format(e), io = (e, t) => Ji(t).format(e), oo = (e, t = F()) => yr(e, t), so = J([Y, ce], () => to);
4497
+ J([Y], () => ro);
4498
+ J([Y], () => no);
4499
+ J([Y], () => io);
4500
+ J([Y, ce], () => oo);
4501
+ window.emWidgets = { topic: gn };
4502
+ const jo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), wr = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", ko = (e) => e.match(/CustomNative/i) ? "NativeApp" : wr(e) === "PC" ? "Desktop" : "Mobile";
4503
+ function Nt(e, t) {
4469
4504
  if (e) {
4470
- const n = document.createElement("style");
4471
- n.innerHTML = t, e.appendChild(n);
4505
+ const r = document.createElement("style");
4506
+ r.innerHTML = t, e.appendChild(r);
4472
4507
  }
4473
4508
  }
4474
- function ro(e, t) {
4475
- const n = new URL(t);
4476
- fetch(n.href).then((r) => r.text()).then((r) => {
4509
+ function ao(e, t) {
4510
+ const r = new URL(t);
4511
+ fetch(r.href).then((n) => n.text()).then((n) => {
4477
4512
  const i = document.createElement("style");
4478
- i.innerHTML = r, e && e.appendChild(i);
4479
- }).catch((r) => {
4480
- console.error("There was an error while trying to load client styling from URL", r);
4513
+ i.innerHTML = n, e && e.appendChild(i);
4514
+ }).catch((n) => {
4515
+ console.error("There was an error while trying to load client styling from URL", n);
4481
4516
  });
4482
4517
  }
4483
- function io(e, t, n) {
4518
+ function uo(e, t, r) {
4484
4519
  if (window.emMessageBus) {
4485
- const r = document.createElement("style");
4520
+ const n = document.createElement("style");
4486
4521
  window.emMessageBus.subscribe(t, (i) => {
4487
- r.innerHTML = i, e && e.appendChild(r);
4522
+ n.innerHTML = i, e && e.appendChild(n);
4488
4523
  });
4489
4524
  }
4490
4525
  }
4491
- const oo = (e, t = {}) => {
4492
- const n = new CustomEvent("track-custom-event", {
4526
+ const lo = (e, t = {}) => {
4527
+ const r = new CustomEvent("track-custom-event", {
4493
4528
  detail: {
4494
4529
  type: e,
4495
4530
  data: t
@@ -4497,15 +4532,15 @@ const oo = (e, t = {}) => {
4497
4532
  bubbles: !0,
4498
4533
  composed: !0
4499
4534
  });
4500
- document.dispatchEvent(n);
4535
+ document.dispatchEvent(r);
4501
4536
  };
4502
- function Ot(e, t) {
4503
- bn(e, t);
4537
+ function Ct(e, t) {
4538
+ vr(e, t);
4504
4539
  }
4505
- function so(e) {
4506
- K.set(e);
4540
+ function ho(e) {
4541
+ Y.set(e);
4507
4542
  }
4508
- const It = {
4543
+ const Mt = {
4509
4544
  en: {
4510
4545
  logoutButton: "Logout"
4511
4546
  },
@@ -4540,42 +4575,42 @@ const It = {
4540
4575
  logoutButton: "Logout"
4541
4576
  }
4542
4577
  };
4543
- function ao(e) {
4544
- On(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4578
+ function co(e) {
4579
+ Nr(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4545
4580
  }
4546
- function uo(e) {
4547
- let t, n, r, i = (
4581
+ function fo(e) {
4582
+ let t, r, n, i = (
4548
4583
  /*$_*/
4549
4584
  e[2]("logoutButton") + ""
4550
4585
  ), o, a, s;
4551
4586
  return {
4552
4587
  c() {
4553
- t = L("div"), n = L("button"), r = L("span"), o = le(i), B(t, "class", "GeneralLogout");
4588
+ t = N("div"), r = N("button"), n = N("span"), o = le(i), B(t, "class", "GeneralLogout");
4554
4589
  },
4555
- m(h, u) {
4556
- he(h, t, u), A(t, n), A(n, r), A(r, o), a || (s = Dt(
4557
- n,
4590
+ m(l, u) {
4591
+ ue(l, t, u), A(t, r), A(r, n), A(n, o), a || (s = kt(
4592
+ r,
4558
4593
  "click",
4559
4594
  /*click_handler_1*/
4560
4595
  e[14]
4561
4596
  ), a = !0);
4562
4597
  },
4563
- p(h, u) {
4598
+ p(l, u) {
4564
4599
  u & /*$_*/
4565
4600
  4 && i !== (i = /*$_*/
4566
- h[2]("logoutButton") + "") && Gt(o, i);
4601
+ l[2]("logoutButton") + "") && Vt(o, i);
4567
4602
  },
4568
- d(h) {
4569
- h && G(t), a = !1, s();
4603
+ d(l) {
4604
+ l && G(t), a = !1, s();
4570
4605
  }
4571
4606
  };
4572
4607
  }
4573
- function ho(e) {
4574
- let t, n, r, i, o, a, s, h, u, l, c, f = !/*isMobile*/
4575
- e[3] && lo(e);
4608
+ function po(e) {
4609
+ let t, r, n, i, o, a, s, l, u, h, f, c = !/*isMobile*/
4610
+ e[3] && mo(e);
4576
4611
  return {
4577
4612
  c() {
4578
- t = L("p"), n = L("span"), r = te("svg"), i = te("defs"), o = te("style"), a = le(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = te("path"), h = te("path"), u = Ln(), f && f.c(), B(s, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(s, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), B(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), B(r, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), B(r, "data-name", "Layer 1"), B(r, "xmlns", "http://www.w3.org/2000/svg"), B(r, "viewBox", "0 0 150 150"), Mn(n, "width", /*isMobile*/
4613
+ t = N("p"), r = N("span"), n = ee("svg"), i = ee("defs"), o = ee("style"), a = le(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = ee("path"), l = ee("path"), u = Mr(), c && c.c(), B(s, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(s, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), B(l, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(l, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), B(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), B(n, "data-name", "Layer 1"), B(n, "xmlns", "http://www.w3.org/2000/svg"), B(n, "viewBox", "0 0 150 150"), Rr(r, "width", /*isMobile*/
4579
4614
  e[3] ? (
4580
4615
  /*mediaQuery*/
4581
4616
  e[4].matches ? "20px" : "24px"
@@ -4584,63 +4619,63 @@ function ho(e) {
4584
4619
  (e[4].matches && /*isMobile*/
4585
4620
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4586
4621
  },
4587
- m(p, d) {
4588
- he(p, t, d), A(t, n), A(n, r), A(r, i), A(i, o), A(o, a), A(r, s), A(r, h), A(t, u), f && f.m(t, null), l || (c = Dt(
4622
+ m(d, p) {
4623
+ ue(d, t, p), A(t, r), A(r, n), A(n, i), A(i, o), A(o, a), A(n, s), A(n, l), A(t, u), c && c.m(t, null), h || (f = kt(
4589
4624
  t,
4590
4625
  "click",
4591
4626
  /*click_handler*/
4592
4627
  e[13]
4593
- ), l = !0);
4628
+ ), h = !0);
4594
4629
  },
4595
- p(p, d) {
4630
+ p(d, p) {
4596
4631
  /*isMobile*/
4597
- p[3] || f.p(p, d);
4632
+ d[3] || c.p(d, p);
4598
4633
  },
4599
- d(p) {
4600
- p && G(t), f && f.d(), l = !1, c();
4634
+ d(d) {
4635
+ d && G(t), c && c.d(), h = !1, f();
4601
4636
  }
4602
4637
  };
4603
4638
  }
4604
- function lo(e) {
4605
- let t, n = (
4639
+ function mo(e) {
4640
+ let t, r = (
4606
4641
  /*$_*/
4607
4642
  e[2]("logoutButton") + ""
4608
- ), r;
4643
+ ), n;
4609
4644
  return {
4610
4645
  c() {
4611
- t = L("span"), r = le(n), B(t, "class", "PlayerLogoutText");
4646
+ t = N("span"), n = le(r), B(t, "class", "PlayerLogoutText");
4612
4647
  },
4613
4648
  m(i, o) {
4614
- he(i, t, o), A(t, r);
4649
+ ue(i, t, o), A(t, n);
4615
4650
  },
4616
4651
  p(i, o) {
4617
4652
  o & /*$_*/
4618
- 4 && n !== (n = /*$_*/
4619
- i[2]("logoutButton") + "") && Gt(r, n);
4653
+ 4 && r !== (r = /*$_*/
4654
+ i[2]("logoutButton") + "") && Vt(n, r);
4620
4655
  },
4621
4656
  d(i) {
4622
4657
  i && G(t);
4623
4658
  }
4624
4659
  };
4625
4660
  }
4626
- function fo(e) {
4661
+ function bo(e) {
4627
4662
  let t;
4628
- function n(o, a) {
4663
+ function r(o, a) {
4629
4664
  return (
4630
4665
  /*buttonlocation*/
4631
- o[0] === "PlayerAccountMenu" ? ho : uo
4666
+ o[0] === "PlayerAccountMenu" ? po : fo
4632
4667
  );
4633
4668
  }
4634
- let r = n(e), i = r(e);
4669
+ let n = r(e), i = n(e);
4635
4670
  return {
4636
4671
  c() {
4637
- t = L("div"), i.c();
4672
+ t = N("div"), i.c();
4638
4673
  },
4639
4674
  m(o, a) {
4640
- he(o, t, a), i.m(t, null), e[15](t);
4675
+ ue(o, t, a), i.m(t, null), e[15](t);
4641
4676
  },
4642
4677
  p(o, [a]) {
4643
- r === (r = n(o)) && i ? i.p(o, a) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
4678
+ n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4644
4679
  },
4645
4680
  i: H,
4646
4681
  o: H,
@@ -4649,78 +4684,78 @@ function fo(e) {
4649
4684
  }
4650
4685
  };
4651
4686
  }
4652
- function co(e, t, n) {
4653
- let r;
4654
- Bn(e, no, (_) => n(2, r = _));
4655
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, f = "", p = !1, d, m = window.navigator.userAgent, x = xn(m) !== "PC";
4656
- const T = window.matchMedia("(min-width: 768px)"), P = () => {
4657
- fetch(c).then((R) => R.json()).then((R) => {
4658
- Object.keys(R).forEach((Ie) => {
4659
- Ot(Ie, R[Ie]);
4687
+ function yo(e, t, r) {
4688
+ let n;
4689
+ Or(e, so, (g) => r(2, n = g));
4690
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, c = "", d = !1, p, m = window.navigator.userAgent, _ = wr(m) !== "PC";
4691
+ const w = window.matchMedia("(min-width: 768px)"), P = () => {
4692
+ fetch(f).then((R) => R.json()).then((R) => {
4693
+ Object.keys(R).forEach((Ne) => {
4694
+ Ct(Ne, R[Ne]);
4660
4695
  });
4661
4696
  }).catch((R) => {
4662
4697
  console.log(R);
4663
4698
  });
4664
4699
  };
4665
- Object.keys(It).forEach((_) => {
4666
- Ot(_, It[_]);
4700
+ Object.keys(Mt).forEach((g) => {
4701
+ Ct(g, Mt[g]);
4667
4702
  });
4668
- const E = () => {
4669
- let _ = new Headers();
4670
- _.append("Content-type", "application/json"), _.append("X-SessionID", o);
4671
- let R = { method: "DELETE", headers: _ };
4672
- fetch(`${i}/v1/player/session/player`, R).then((Ie) => {
4673
- window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), oo("logged_out", {});
4703
+ const x = () => {
4704
+ let g = new Headers();
4705
+ g.append("Content-type", "application/json"), g.append("X-SessionID", o);
4706
+ let R = { method: "DELETE", headers: g };
4707
+ fetch(`${i}/v1/player/session/player`, R).then((Ne) => {
4708
+ window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), lo("logged_out", {});
4674
4709
  });
4675
- }, O = () => (i || (f = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", p = !0, console.error(f)), o || (f = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", p = !0, console.error(f)), p), w = () => {
4676
- so(s);
4710
+ }, O = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", d = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", d = !0, console.error(c)), d), T = () => {
4711
+ ho(s);
4677
4712
  };
4678
- jn(() => () => {
4713
+ Xr(() => () => {
4679
4714
  });
4680
- const $ = () => E(), ce = () => E();
4681
- function Sn(_) {
4682
- Ge[_ ? "unshift" : "push"](() => {
4683
- d = _, n(1, d);
4715
+ const $ = () => x(), fe = () => x();
4716
+ function Hr(g) {
4717
+ ke[g ? "unshift" : "push"](() => {
4718
+ p = g, r(1, p);
4684
4719
  });
4685
4720
  }
4686
- return e.$$set = (_) => {
4687
- "endpoint" in _ && n(6, i = _.endpoint), "session" in _ && n(7, o = _.session), "buttonlocation" in _ && n(0, a = _.buttonlocation), "lang" in _ && n(8, s = _.lang), "mbsource" in _ && n(9, h = _.mbsource), "clientstyling" in _ && n(10, u = _.clientstyling), "clientstylingurl" in _ && n(11, l = _.clientstylingurl), "translationurl" in _ && n(12, c = _.translationurl);
4721
+ return e.$$set = (g) => {
4722
+ "endpoint" in g && r(6, i = g.endpoint), "session" in g && r(7, o = g.session), "buttonlocation" in g && r(0, a = g.buttonlocation), "lang" in g && r(8, s = g.lang), "mbsource" in g && r(9, l = g.mbsource), "clientstyling" in g && r(10, u = g.clientstyling), "clientstylingurl" in g && r(11, h = g.clientstylingurl), "translationurl" in g && r(12, f = g.translationurl);
4688
4723
  }, e.$$.update = () => {
4689
4724
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4690
4725
  193 && i && o && a && O(), e.$$.dirty & /*lang*/
4691
- 256 && s && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4692
- 1026 && u && d && Pt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4693
- 1026 && u && d && Pt(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4694
- 2050 && l && d && ro(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4695
- 514 && h && d && io(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4696
- 4096 && c && P();
4726
+ 256 && s && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4727
+ 1026 && u && p && Nt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4728
+ 1026 && u && p && Nt(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4729
+ 2050 && h && p && ao(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4730
+ 514 && l && p && uo(p, `${l}.Style`), e.$$.dirty & /*translationurl*/
4731
+ 4096 && f && P();
4697
4732
  }, [
4698
4733
  a,
4699
- d,
4700
- r,
4734
+ p,
4735
+ n,
4736
+ _,
4737
+ w,
4701
4738
  x,
4702
- T,
4703
- E,
4704
4739
  i,
4705
4740
  o,
4706
4741
  s,
4707
- h,
4708
- u,
4709
4742
  l,
4710
- c,
4743
+ u,
4744
+ h,
4745
+ f,
4711
4746
  $,
4712
- ce,
4713
- Sn
4747
+ fe,
4748
+ Hr
4714
4749
  ];
4715
4750
  }
4716
- class En extends Kn {
4751
+ class Tr extends rn {
4717
4752
  constructor(t) {
4718
- super(), Jn(
4753
+ super(), en(
4719
4754
  this,
4720
4755
  t,
4721
- co,
4722
- fo,
4723
- Nt,
4756
+ yo,
4757
+ bo,
4758
+ Rt,
4724
4759
  {
4725
4760
  endpoint: 6,
4726
4761
  session: 7,
@@ -4731,7 +4766,7 @@ class En extends Kn {
4731
4766
  clientstylingurl: 11,
4732
4767
  translationurl: 12
4733
4768
  },
4734
- ao
4769
+ co
4735
4770
  );
4736
4771
  }
4737
4772
  get endpoint() {
@@ -4783,72 +4818,72 @@ class En extends Kn {
4783
4818
  this.$$set({ translationurl: t }), I();
4784
4819
  }
4785
4820
  }
4786
- Yn(En, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4787
- const Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4821
+ tn(Tr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4822
+ const Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4788
4823
  __proto__: null,
4789
- default: En
4824
+ default: Tr
4790
4825
  }, Symbol.toStringTag, { value: "Module" }));
4791
4826
  export {
4792
- K as $,
4793
- io as A,
4794
- no as B,
4795
- fe as C,
4796
- Do as D,
4797
- Io as E,
4798
- Eo as F,
4799
- vo as G,
4800
- mo as H,
4801
- go as I,
4802
- yo as J,
4803
- bo as K,
4804
- Wn as L,
4805
- Mo as M,
4806
- So as N,
4807
- $o as O,
4808
- xo as P,
4809
- Po as Q,
4810
- Ho as R,
4811
- Kn as S,
4812
- Bo as T,
4813
- Se as U,
4814
- Ao as V,
4815
- ue as W,
4816
- Uo as X,
4817
- Mn as Y,
4818
- _o as Z,
4819
- No as _,
4820
- bn as a,
4821
- Lo as a0,
4822
- po as a1,
4823
- Tn as a2,
4824
- Co as a3,
4825
- Ro as a4,
4826
- gr as a5,
4827
- wo as a6,
4828
- Go as a7,
4829
- On as b,
4830
- Yn as c,
4831
- Ln as d,
4832
- L as e,
4827
+ Y as $,
4828
+ tn as A,
4829
+ so as B,
4830
+ ce as C,
4831
+ ko as D,
4832
+ Mo as E,
4833
+ Ho as F,
4834
+ wo as G,
4835
+ vo as H,
4836
+ Uo as I,
4837
+ qr as J,
4838
+ Eo as K,
4839
+ xo as L,
4840
+ _o as M,
4841
+ Bo as N,
4842
+ Go as O,
4843
+ To as P,
4844
+ No as Q,
4845
+ Oo as R,
4846
+ rn as S,
4847
+ Lo as T,
4848
+ ae as U,
4849
+ Io as V,
4850
+ Se as W,
4851
+ jo as X,
4852
+ Rr as Y,
4853
+ So as Z,
4854
+ Ro as _,
4855
+ vr as a,
4856
+ $o as a0,
4857
+ go as a1,
4858
+ Br as a2,
4859
+ Do as a3,
4860
+ _n as a4,
4861
+ Fo as a5,
4862
+ Po as a6,
4863
+ Vo as a7,
4864
+ Nr as b,
4865
+ Vt as c,
4866
+ G as d,
4867
+ Ao as e,
4833
4868
  I as f,
4834
- B as g,
4835
- Oo as h,
4836
- Jn as i,
4837
- To as j,
4838
- he as k,
4839
- A as l,
4840
- Dt as m,
4841
- Gt as n,
4842
- H as o,
4843
- G as p,
4844
- Bn as q,
4869
+ ue as g,
4870
+ A as h,
4871
+ en as i,
4872
+ N as j,
4873
+ Mr as k,
4874
+ kt as l,
4875
+ le as m,
4876
+ H as n,
4877
+ B as o,
4878
+ Or as p,
4879
+ wr as q,
4845
4880
  D as r,
4846
- Nt as s,
4847
- le as t,
4848
- xn as u,
4849
- jn as v,
4850
- te as w,
4851
- Ge as x,
4852
- Pt as y,
4853
- ro as z
4881
+ Rt as s,
4882
+ Co as t,
4883
+ Xr as u,
4884
+ ee as v,
4885
+ ke as w,
4886
+ Nt as x,
4887
+ ao as y,
4888
+ uo as z
4854
4889
  };