@everymatrix/player-account-controller 1.66.2 → 1.67.3

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 (173) hide show
  1. package/components/{GeneralLogout-CgxHUYZx.js → GeneralLogout-BvHI6IRl.js} +1439 -1474
  2. package/components/{GeneralLogout-CYE3twI-.js → GeneralLogout-DC1eQria.js} +1458 -1493
  3. package/components/GeneralLogout-DweBl3EQ.cjs +21 -0
  4. package/components/{PlayerAccountBettingHistory-BXBMy618.js → PlayerAccountBettingHistory-BTEzWQvN.js} +27 -27
  5. package/components/{PlayerAccountBettingHistory-B0IsJ01N.js → PlayerAccountBettingHistory-Bo3-gODs.js} +27 -27
  6. package/components/{PlayerAccountBettingHistory-BtDZukYI.cjs → PlayerAccountBettingHistory-DgHU9Jz9.cjs} +1 -1
  7. package/components/{PlayerAccountBiometrics-DrmVF6dX.js → PlayerAccountBiometrics-DRMe1Ngk.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-DXk7ouzk.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-CCk_4MyI.js → PlayerAccountBiometrics-eJ0NsGhR.js} +22 -22
  10. package/components/{PlayerAccountClosure-B_xwOPds.js → PlayerAccountClosure-CenyN-4X.js} +17 -17
  11. package/components/{PlayerAccountClosure-UwL_V2IO.js → PlayerAccountClosure-D4FSDBR-.js} +17 -17
  12. package/components/{PlayerAccountClosure-DoZ91aH2.cjs → PlayerAccountClosure-DMF66IyF.cjs} +1 -1
  13. package/components/PlayerAccountController-BrHDusjh.cjs +1 -0
  14. package/components/{PlayerAccountController-C33yFWno.js → PlayerAccountController-C88OV9t0.js} +832 -519
  15. package/components/{PlayerAccountController-KYfwQerX.js → PlayerAccountController-D3jDQKMc.js} +826 -513
  16. package/components/{PlayerAccountGamingLimits-DZBzKFyv.cjs → PlayerAccountGamingLimits-C5-wP3x8.cjs} +1 -1
  17. package/components/{PlayerAccountGamingLimits-BF1Dd_Yw.js → PlayerAccountGamingLimits-bgH5yldD.js} +19 -19
  18. package/components/{PlayerAccountGamingLimits-BKHRQo_P.js → PlayerAccountGamingLimits-qvefhQXf.js} +19 -19
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-57Q5qtf8.js → PlayerAccountGamingLimitsConfirmationModal-B-Zcfwzu.js} +53 -53
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-CztJ5DKd.js → PlayerAccountGamingLimitsConfirmationModal-BSuURD9X.js} +53 -53
  21. package/components/PlayerAccountGamingLimitsConfirmationModal-DzBevsyQ.cjs +1 -0
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-B7O4IGQB.js → PlayerAccountGamingLimitsGroupEdit-CgtvM5l0.js} +415 -413
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-DlaRG8Hg.js → PlayerAccountGamingLimitsGroupEdit-DflmfEfo.js} +415 -413
  24. package/components/PlayerAccountGamingLimitsGroupEdit-JOrwbKuQ.cjs +1 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2-BLK-Rk6N.js → PlayerAccountGamingLimitsHistory2-B0Hm0NN-.js} +48 -48
  26. package/components/{PlayerAccountGamingLimitsHistory2-CreFMkf_.cjs → PlayerAccountGamingLimitsHistory2-C0g0UlRl.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2-Br4h7_eS.js → PlayerAccountGamingLimitsHistory2-CkXX1K7L.js} +46 -46
  28. package/components/{PlayerAccountGamingLimitsInfoCard-BlMfsPqJ.js → PlayerAccountGamingLimitsInfoCard-ByqimrlU.js} +80 -80
  29. package/components/{PlayerAccountGamingLimitsInfoCard-BqsEfU1b.js → PlayerAccountGamingLimitsInfoCard-D2xDA5AE.js} +80 -80
  30. package/components/{PlayerAccountGamingLimitsInfoCard-DWbZBNtU.cjs → PlayerAccountGamingLimitsInfoCard-DxIPZWF4.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-C4Cf53bH.js → PlayerAccountGamingLimitsPage2Gm16-AMitiwvP.js} +1016 -942
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-D0UaSH_1.js → PlayerAccountGamingLimitsPage2Gm16-Bjtas4Og.js} +1016 -942
  33. package/components/PlayerAccountGamingLimitsPage2Gm16-DfhEHyrV.cjs +26 -0
  34. package/components/{PlayerAccountGamingLimitsPopup-DTb6cpuT.js → PlayerAccountGamingLimitsPopup-Bhe4pnzt.js} +28 -28
  35. package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-DkQcpWO7.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-Dz9ROowj.js → PlayerAccountGamingLimitsPopup-LjmHojBJ.js} +28 -28
  37. package/components/{PlayerAccountGamingLimitsWrapper2-BNIPTcA9.cjs → PlayerAccountGamingLimitsWrapper2-DUm34VGO.cjs} +1 -1
  38. package/components/{PlayerAccountGamingLimitsWrapper2-B1gV6va3.js → PlayerAccountGamingLimitsWrapper2-Db4M3i4n.js} +36 -36
  39. package/components/{PlayerAccountGamingLimitsWrapper2-BxbHvpZn.js → PlayerAccountGamingLimitsWrapper2-bXqMOFZu.js} +36 -36
  40. package/components/{PlayerAccountGeneralConfirmationModal-DQ7Oklqf.js → PlayerAccountGeneralConfirmationModal-BXvbser8.js} +95 -95
  41. package/components/{PlayerAccountGeneralConfirmationModal-lHX_vmhB.js → PlayerAccountGeneralConfirmationModal-Ct4ffM2k.js} +95 -95
  42. package/components/PlayerAccountGeneralConfirmationModal-dy9TCHFm.cjs +1 -0
  43. package/components/{PlayerAccountMenu-BZnkRiU-.cjs → PlayerAccountMenu-BZSV920e.cjs} +1 -1
  44. package/components/{PlayerAccountMenu-D4d9TQsD.js → PlayerAccountMenu-COhw6RUO.js} +29 -29
  45. package/components/{PlayerAccountMenu-j3TA2Osb.js → PlayerAccountMenu-CXkbGum8.js} +29 -29
  46. package/components/{PlayerAccountModal-Cbpkb5P6.js → PlayerAccountModal-BlJKMVDD.js} +44 -44
  47. package/components/{PlayerAccountModal-Co5a_OZZ.js → PlayerAccountModal-C2BAyjz8.js} +44 -44
  48. package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal-lwDOdDa4.cjs} +1 -1
  49. package/components/{PlayerAccountNotifications-CkbUxjuk.js → PlayerAccountNotifications-Br27rQuw.js} +35 -35
  50. package/components/{PlayerAccountNotifications-ejASOsrU.cjs → PlayerAccountNotifications-CzMMRPni.cjs} +1 -1
  51. package/components/{PlayerAccountNotifications-f0A-2obd.js → PlayerAccountNotifications-YIzJUJtW.js} +120 -120
  52. package/components/{PlayerAccountTransactionsHistory-CRucfQT9.js → PlayerAccountProductRestriction-B77qHgnG.js} +3353 -3490
  53. package/components/{PlayerAccountTransactionsHistory-BzB7rnla.cjs → PlayerAccountProductRestriction-DWcq863g.cjs} +272 -269
  54. package/components/{PlayerAccountTransactionsHistory-D5xVdr5D.js → PlayerAccountProductRestriction-JWXFId11.js} +3329 -3465
  55. package/components/{PlayerAccountSelfExclusion-Bme3jA4c.js → PlayerAccountSelfExclusion-B-7yOGf0.js} +2482 -2793
  56. package/components/{PlayerAccountSelfExclusion-CDEu24ob.cjs → PlayerAccountSelfExclusion-DgB8NI71.cjs} +161 -161
  57. package/components/{PlayerAccountSelfExclusion-CcQBa7WB.js → PlayerAccountSelfExclusion-hvxg512S.js} +2324 -2635
  58. package/components/{PlayerAccountTimeout-9R54hZUl.js → PlayerAccountTimeout-BZa0DlXA.js} +103 -102
  59. package/components/{PlayerAccountTimeout-CpDdajvl.js → PlayerAccountTimeout-DiPXXjP_.js} +103 -102
  60. package/components/{PlayerAccountTimeout-BG_yWya9.cjs → PlayerAccountTimeout-ouzdA1ph.cjs} +1 -1
  61. package/components/PlayerAccountTransactionsHistory-DApJMGFo.js +1809 -0
  62. package/components/PlayerAccountTransactionsHistory-DrGUOnga.cjs +1 -0
  63. package/components/PlayerAccountTransactionsHistory-tOK25Lc2.js +1779 -0
  64. package/components/{PlayerActiveBonuses-uCEkihFw.js → PlayerActiveBonuses-5Q7f3yAG.js} +315 -315
  65. package/components/PlayerActiveBonuses-C7-7ACSS.cjs +1 -0
  66. package/components/{PlayerActiveBonuses-Cakyx19i.js → PlayerActiveBonuses-dQ_zgejC.js} +318 -318
  67. package/components/{PlayerBonusCard-6xOKi384.js → PlayerBonusCard-CBO8neP8.js} +54 -54
  68. package/components/{PlayerBonusCard-BNNcjGWn.cjs → PlayerBonusCard-nwlvuWsq.cjs} +1 -1
  69. package/components/{PlayerBonusCard-CXbETnCF.js → PlayerBonusCard-uudC6LGS.js} +54 -54
  70. package/components/{PlayerBonusHistory-wRNMiwgX.js → PlayerBonusHistory-CG01zuOG.js} +30 -30
  71. package/components/{PlayerBonusHistory-BQAF4bSM.js → PlayerBonusHistory-D1AxPL0k.js} +30 -30
  72. package/components/{PlayerBonusHistory-BfctVq0u.cjs → PlayerBonusHistory-DI5gRSGg.cjs} +1 -1
  73. package/components/{PlayerChangePassword-ChwKfBC6.js → PlayerChangePassword-BUbXMFnB.js} +66 -66
  74. package/components/{PlayerChangePassword-LgjKzYU1.cjs → PlayerChangePassword-D0aYOkoZ.cjs} +1 -1
  75. package/components/{PlayerChangePassword-C2ZoKuCq.js → PlayerChangePassword-D4DzBZed.js} +66 -66
  76. package/components/{PlayerDeposit-VLcz0tQH.js → PlayerDeposit-BB64hmyO.js} +29 -29
  77. package/components/{PlayerDeposit-Dzg8Ltb1.cjs → PlayerDeposit-DAFmH9HW.cjs} +1 -1
  78. package/components/{PlayerDeposit-BPZ5wCAZ.js → PlayerDeposit-lfkc7jOj.js} +29 -29
  79. package/components/{PlayerGamingHistory-Du5updfI.cjs → PlayerGamingHistory-C7HQc8KL.cjs} +1 -1
  80. package/components/{PlayerGamingHistory-lkyuXLIU.js → PlayerGamingHistory-DxA-MkBo.js} +63 -63
  81. package/components/{PlayerGamingHistory-BhmBAAFp.js → PlayerGamingHistory-NKBfYTcF.js} +63 -63
  82. package/components/{PlayerPendingWithdrawals-DeNKdUgJ.js → PlayerPendingWithdrawals-B6qiUkpB.js} +26 -26
  83. package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-DbuXpIXl.cjs} +1 -1
  84. package/components/{PlayerPendingWithdrawals-go7okUzL.js → PlayerPendingWithdrawals-QAaJbf_-.js} +26 -26
  85. package/components/{PlayerProfileInfo-L9Iditu5.js → PlayerProfileInfo-Bpxnw7hG.js} +1035 -949
  86. package/components/{PlayerProfileInfo-Bs0bYgez.js → PlayerProfileInfo-C-yTxZtj.js} +993 -905
  87. package/components/PlayerProfileInfo-CQWJWCmN.cjs +4 -0
  88. package/components/{PlayerRealityCheck-BrVF76qp.cjs → PlayerRealityCheck-CFJVJn17.cjs} +1 -1
  89. package/components/{PlayerRealityCheck-DMNAglZN.js → PlayerRealityCheck-CyxiiYoi.js} +44 -44
  90. package/components/{PlayerRealityCheck-C2TUMl9-.js → PlayerRealityCheck-DQ-_y3IT.js} +45 -45
  91. package/components/{PlayerTransactionHistory-A-aVfyoc.js → PlayerTransactionHistory-6G6ws2ky.js} +19 -19
  92. package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-BOtRm_b6.cjs} +1 -1
  93. package/components/{PlayerTransactionHistory-BFV_XJw9.js → PlayerTransactionHistory-BjRhtwD4.js} +19 -19
  94. package/components/{PlayerWithdrawal-B_wQZI_t.js → PlayerWithdrawal-BIBZrL0i.js} +19 -19
  95. package/components/{PlayerWithdrawal-CTttZqLr.js → PlayerWithdrawal-CuR6Pb4o.js} +19 -19
  96. package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-OBRjEIH9.cjs} +1 -1
  97. package/es2015/player-account-controller.cjs +1 -1
  98. package/es2015/player-account-controller.js +1 -1
  99. package/esnext/player-account-controller.js +1 -1
  100. package/package.json +1 -1
  101. package/stencil/checkbox-group-input_14-BQWBhbsW.cjs +5901 -0
  102. package/stencil/{general-input-DGu8X142.js → checkbox-group-input_14-Rk4kY_Jo.js} +7680 -3123
  103. package/stencil/{general-input-6HMiojaV.js → checkbox-group-input_14-yDxYy7hE.js} +7670 -3113
  104. package/stencil/index-13661b98-Pl0EtfMi.cjs +1 -0
  105. package/stencil/{index-9cd44522--OAp7ePk.js → index-13661b98-l0CINbAR.js} +204 -219
  106. package/stencil/{index-9cd44522-C0ycW8_E.js → index-13661b98-mRWmP463.js} +215 -230
  107. package/stencil/{index-1ef3a64c-DsTe-fF4.js → index-1ef3a64c-B1Hda3TY.js} +185 -185
  108. package/stencil/index-1ef3a64c-CCWt3IAA.cjs +1 -0
  109. package/stencil/{index-1ef3a64c-BNosNJnU.js → index-1ef3a64c-Dd-0nq4l.js} +192 -192
  110. package/stencil/index-7c5e707a-8-4_dLFT.js +643 -0
  111. package/stencil/{index-7c5e707a-C9R6jYpt.js → index-7c5e707a-CuTkyLaW.js} +209 -209
  112. package/stencil/index-7c5e707a-nBsW029h.cjs +1 -0
  113. package/stencil/index-9c0f6c58-DbSOntvG.cjs +1 -0
  114. package/stencil/{index-9c0f6c58-bxjYqwOi.js → index-9c0f6c58-NlVKpLut.js} +180 -180
  115. package/stencil/{index-9c0f6c58-BB5opCt9.js → index-9c0f6c58-RPoO1End.js} +176 -176
  116. package/stencil/index-b2193545-BXNomIzV.js +519 -0
  117. package/stencil/index-b2193545-CYe2oVMy.js +503 -0
  118. package/stencil/index-b2193545-DxRobzZI.cjs +1 -0
  119. package/stencil/pam-change-password-CCgx2ZAF.cjs +1 -0
  120. package/stencil/pam-change-password-CDNRmQRk.js +7 -0
  121. package/stencil/pam-change-password-CThYR6vj.js +25 -0
  122. package/stencil/{player-change-password-gm2-5cb5c6c1-Bi9IbxQV.js → pam-change-password-f4a1e7e7-B0x-tDUM.js} +223 -74
  123. package/stencil/pam-change-password-f4a1e7e7-B3Gc4JmD.cjs +125 -0
  124. package/stencil/{player-change-password-gm2-5cb5c6c1-Bu5Dac83.js → pam-change-password-f4a1e7e7-DegbNPpZ.js} +223 -74
  125. package/stencil/{player-kyc-verification-CMAkNiAB.js → player-kyc-verification-Cxnz1raa.js} +9 -9
  126. package/stencil/{player-kyc-verification-p2WFnKBp.js → player-kyc-verification-DA_O1Dqu.js} +12 -12
  127. package/stencil/{player-kyc-verification-DYcPWwfi.cjs → player-kyc-verification-qKWuqiUm.cjs} +2 -2
  128. package/stencil/{ui-skeleton-1cb75d00-CwDKR1VD.js → ui-skeleton-1cb75d00-CZJ4UoDJ.js} +1 -1
  129. package/stencil/{ui-skeleton-1cb75d00-BI5A-j0y.js → ui-skeleton-1cb75d00-D5Bub0nv.js} +1 -1
  130. package/stencil/{ui-skeleton-1cb75d00-Batko5iK.cjs → ui-skeleton-1cb75d00-dFWe5qbW.cjs} +1 -1
  131. package/stencil/{ui-skeleton-t0bb1jH7.cjs → ui-skeleton-BH5oLkn9.cjs} +1 -1
  132. package/stencil/{ui-skeleton-C974aG7g.js → ui-skeleton-CZ5yC1WO.js} +2 -2
  133. package/stencil/{ui-skeleton-DoX-UmRU.js → ui-skeleton-vLKdvRqw.js} +2 -2
  134. package/stencil/{user-deposit-withdrawal-Dzz_fEvK.js → user-deposit-withdrawal-BMWb-WJE.js} +45 -45
  135. package/stencil/{user-deposit-withdrawal-C7W58646.js → user-deposit-withdrawal-ByE9O4TW.js} +45 -45
  136. package/stencil/{user-deposit-withdrawal-Dfu_1g2v.cjs → user-deposit-withdrawal-DGTrOlxS.cjs} +2 -2
  137. package/stencil/{user-transaction-history-DhQ6RqNc.js → user-transaction-history-BU4-cXt6.js} +11 -11
  138. package/stencil/{user-transaction-history-BAK7MHHa.js → user-transaction-history-CXBKXul8.js} +14 -14
  139. package/stencil/{user-transaction-history-DiRXpfbN.cjs → user-transaction-history-DLLIZ5Ck.cjs} +1 -1
  140. package/components/GeneralLogout-Dzu2Sl-x.cjs +0 -21
  141. package/components/PlayerAccountController-BMOvuFM3.cjs +0 -1
  142. package/components/PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs +0 -1
  143. package/components/PlayerAccountGamingLimitsGroupEdit-BvnqlbPp.cjs +0 -1
  144. package/components/PlayerAccountGamingLimitsPage2Gm16-isbaVllo.cjs +0 -24
  145. package/components/PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs +0 -1
  146. package/components/PlayerActiveBonuses-CVhSMdRf.cjs +0 -1
  147. package/components/PlayerProfileInfo-DjZCa7C6.cjs +0 -4
  148. package/stencil/checkbox-group-input_9-BVBeSmHl.js +0 -3895
  149. package/stencil/checkbox-group-input_9-CixpoaRc.cjs +0 -2
  150. package/stencil/checkbox-group-input_9-Ckf5IThK.js +0 -3895
  151. package/stencil/general-input-C54NeVAb.cjs +0 -5636
  152. package/stencil/index-1ef3a64c-CFvPR_NP.cjs +0 -1
  153. package/stencil/index-7c5e707a-DvxqcEpc.js +0 -643
  154. package/stencil/index-7c5e707a-ESX_oqGB.cjs +0 -1
  155. package/stencil/index-9c0f6c58-DmOKHEVq.cjs +0 -1
  156. package/stencil/index-9cd44522-CqgRbQOU.cjs +0 -1
  157. package/stencil/index-b2193545-CnMZ4-Ff.js +0 -519
  158. package/stencil/index-b2193545-Ct5AhxM8.cjs +0 -1
  159. package/stencil/index-b2193545-DePry399.js +0 -503
  160. package/stencil/locale-CB060R77.cjs +0 -1
  161. package/stencil/locale-Cxpe53Ym.js +0 -153
  162. package/stencil/password-input_2-BWxS0D5h.js +0 -313
  163. package/stencil/password-input_2-Bz7EgS5w.cjs +0 -193
  164. package/stencil/password-input_2-KI96oR82.js +0 -313
  165. package/stencil/player-change-password-gm2-5cb5c6c1-B561Hszb.cjs +0 -1
  166. package/stencil/player-change-password-gm2-BRh6ZaCn.js +0 -25
  167. package/stencil/player-change-password-gm2-COxZYE4t.cjs +0 -1
  168. package/stencil/player-change-password-gm2-tu3usKOk.js +0 -7
  169. package/stencil/toggle-checkbox-input-BQz8G4GG.cjs +0 -1
  170. package/stencil/toggle-checkbox-input-Bhz93bXQ.js +0 -68
  171. package/stencil/toggle-checkbox-input-lRQooUAB.js +0 -68
  172. package/stencil/tooltipIcon-ee9760a8-BCCb4EU-.js +0 -4
  173. package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +0 -1
@@ -1,60 +1,60 @@
1
1
  function H() {
2
2
  }
3
- const Br = (e) => e;
4
- function Ar(e, t) {
5
- for (const r in t)
6
- e[r] = t[r];
3
+ const Tn = (e) => e;
4
+ function wn(e, t) {
5
+ for (const n in t)
6
+ e[n] = t[n];
7
7
  return (
8
8
  /** @type {T & S} */
9
9
  e
10
10
  );
11
11
  }
12
- function $t(e) {
12
+ function Lt(e) {
13
13
  return e();
14
14
  }
15
- function ht() {
15
+ function st() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
18
  function D(e) {
19
- e.forEach($t);
19
+ e.forEach(Lt);
20
20
  }
21
- function ae(e) {
21
+ function ue(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function Rt(e, t) {
24
+ function Nt(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
- let pe;
28
- function go(e, t) {
29
- return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
27
+ let de;
28
+ function po(e, t) {
29
+ return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
30
30
  }
31
- function Pr(e) {
31
+ function Hn(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
- function Ut(e, ...t) {
34
+ function Mt(e, ...t) {
35
35
  if (e == null) {
36
- for (const n of t)
37
- n(void 0);
36
+ for (const r of t)
37
+ r(void 0);
38
38
  return H;
39
39
  }
40
- const r = e.subscribe(...t);
41
- return r.unsubscribe ? () => r.unsubscribe() : r;
40
+ const n = e.subscribe(...t);
41
+ return n.unsubscribe ? () => n.unsubscribe() : n;
42
42
  }
43
- function Or(e, t, r) {
44
- e.$$.on_destroy.push(Ut(t, r));
43
+ function Bn(e, t, n) {
44
+ e.$$.on_destroy.push(Mt(t, n));
45
45
  }
46
- function vo(e, t, r, n) {
46
+ function mo(e, t, n, r) {
47
47
  if (e) {
48
- const i = Dt(e, t, r, n);
48
+ const i = Ct(e, t, n, r);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function Dt(e, t, r, n) {
53
- return e[1] && n ? Ar(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
+ function Ct(e, t, n, r) {
53
+ return e[1] && r ? wn(n.ctx.slice(), e[1](r(t))) : n.ctx;
54
54
  }
55
- function _o(e, t, r, n) {
56
- if (e[2] && n) {
57
- const i = e[2](n(r));
55
+ function bo(e, t, n, r) {
56
+ if (e[2] && r) {
57
+ const i = e[2](r(n));
58
58
  if (t.dirty === void 0)
59
59
  return i;
60
60
  if (typeof i == "object") {
@@ -67,40 +67,40 @@ function _o(e, t, r, n) {
67
67
  }
68
68
  return t.dirty;
69
69
  }
70
- function Eo(e, t, r, n, i, o) {
70
+ function go(e, t, n, r, i, o) {
71
71
  if (i) {
72
- const a = Dt(t, r, n, o);
72
+ const a = Ct(t, n, r, o);
73
73
  e.p(a, i);
74
74
  }
75
75
  }
76
- function xo(e) {
76
+ function yo(e) {
77
77
  if (e.ctx.length > 32) {
78
- const t = [], r = e.ctx.length / 32;
79
- for (let n = 0; n < r; n++)
80
- t[n] = -1;
78
+ const t = [], n = e.ctx.length / 32;
79
+ for (let r = 0; r < n; r++)
80
+ t[r] = -1;
81
81
  return t;
82
82
  }
83
83
  return -1;
84
84
  }
85
- function So(e) {
85
+ function _o(e) {
86
86
  return e ?? "";
87
87
  }
88
- function wo(e) {
89
- return e && ae(e.destroy) ? e.destroy : H;
88
+ function vo(e) {
89
+ return e && ue(e.destroy) ? e.destroy : H;
90
90
  }
91
- const Gt = typeof window < "u";
92
- let Ir = Gt ? () => window.performance.now() : () => Date.now(), st = Gt ? (e) => requestAnimationFrame(e) : H;
91
+ const $t = typeof window < "u";
92
+ let An = $t ? () => window.performance.now() : () => Date.now(), tt = $t ? (e) => requestAnimationFrame(e) : H;
93
93
  const X = /* @__PURE__ */ new Set();
94
- function Ft(e) {
94
+ function Rt(e) {
95
95
  X.forEach((t) => {
96
96
  t.c(e) || (X.delete(t), t.f());
97
- }), X.size !== 0 && st(Ft);
97
+ }), X.size !== 0 && tt(Rt);
98
98
  }
99
- function Lr(e) {
99
+ function Pn(e) {
100
100
  let t;
101
- return X.size === 0 && st(Ft), {
102
- promise: new Promise((r) => {
103
- X.add(t = { c: e, f: r });
101
+ return X.size === 0 && tt(Rt), {
102
+ promise: new Promise((n) => {
103
+ X.add(t = { c: e, f: n });
104
104
  }),
105
105
  abort() {
106
106
  X.delete(t);
@@ -110,14 +110,14 @@ function Lr(e) {
110
110
  function A(e, t) {
111
111
  e.appendChild(t);
112
112
  }
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);
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);
118
118
  }
119
119
  }
120
- function at(e) {
120
+ function nt(e) {
121
121
  if (!e)
122
122
  return document;
123
123
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -127,339 +127,339 @@ function at(e) {
127
127
  t
128
128
  ) : e.ownerDocument;
129
129
  }
130
- function Cr(e) {
131
- const t = N("style");
132
- return t.textContent = "/* empty */", jt(at(e), t), t.sheet;
130
+ function In(e) {
131
+ const t = L("style");
132
+ return t.textContent = "/* empty */", Ut(nt(e), t), t.sheet;
133
133
  }
134
- function jt(e, t) {
134
+ function Ut(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 ue(e, t, r) {
142
- e.insertBefore(t, r || null);
141
+ function he(e, t, n) {
142
+ e.insertBefore(t, n || null);
143
143
  }
144
144
  function G(e) {
145
145
  e.parentNode && e.parentNode.removeChild(e);
146
146
  }
147
- function To(e, t) {
148
- for (let r = 0; r < e.length; r += 1)
149
- e[r] && e[r].d(t);
147
+ function xo(e, t) {
148
+ for (let n = 0; n < e.length; n += 1)
149
+ e[n] && e[n].d(t);
150
150
  }
151
- function N(e) {
151
+ function L(e) {
152
152
  return document.createElement(e);
153
153
  }
154
- function ee(e) {
154
+ function te(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 Mr() {
160
+ function Ln() {
161
161
  return le(" ");
162
162
  }
163
- function Ho() {
163
+ function Eo() {
164
164
  return le("");
165
165
  }
166
- function kt(e, t, r, n) {
167
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
166
+ function Dt(e, t, n, r) {
167
+ return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
168
168
  }
169
- function Bo(e) {
169
+ function So(e) {
170
170
  return function(t) {
171
171
  return t.preventDefault(), e.call(this, t);
172
172
  };
173
173
  }
174
- function B(e, t, r) {
175
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
174
+ function B(e, t, n) {
175
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
176
176
  }
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);
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);
180
180
  }
181
- function Po(e) {
181
+ function wo(e) {
182
182
  let t;
183
183
  return {
184
184
  /* push */
185
- p(...r) {
186
- t = r, t.forEach((n) => e.push(n));
185
+ p(...n) {
186
+ t = n, t.forEach((r) => e.push(r));
187
187
  },
188
188
  /* remove */
189
189
  r() {
190
- t.forEach((r) => e.splice(e.indexOf(r), 1));
190
+ t.forEach((n) => e.splice(e.indexOf(n), 1));
191
191
  }
192
192
  };
193
193
  }
194
- function Oo(e) {
194
+ function Ho(e) {
195
195
  return e === "" ? null : +e;
196
196
  }
197
- function $r(e) {
197
+ function Nn(e) {
198
198
  return Array.from(e.childNodes);
199
199
  }
200
- function Vt(e, t) {
200
+ function Gt(e, t) {
201
201
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
202
202
  t);
203
203
  }
204
- function Io(e, t) {
204
+ function Bo(e, t) {
205
205
  e.value = t ?? "";
206
206
  }
207
- function Rr(e, t, r, n) {
208
- r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
207
+ function Mn(e, t, n, r) {
208
+ n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
209
209
  }
210
- function Lo(e, t, r) {
211
- for (let n = 0; n < e.options.length; n += 1) {
212
- const i = e.options[n];
210
+ function Ao(e, t, n) {
211
+ for (let r = 0; r < e.options.length; r += 1) {
212
+ const i = e.options[r];
213
213
  if (i.__value === t) {
214
214
  i.selected = !0;
215
215
  return;
216
216
  }
217
217
  }
218
- (!r || t !== void 0) && (e.selectedIndex = -1);
218
+ (!n || t !== void 0) && (e.selectedIndex = -1);
219
219
  }
220
- function No(e) {
220
+ function Po(e) {
221
221
  const t = e.querySelector(":checked");
222
222
  return t && t.__value;
223
223
  }
224
- function Co(e, t, r) {
225
- e.classList.toggle(t, !!r);
224
+ function Oo(e, t, n) {
225
+ e.classList.toggle(t, !!n);
226
226
  }
227
- function Ur(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
228
- return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
227
+ function Cn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
228
+ return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
229
229
  }
230
- function Dr(e) {
230
+ function $n(e) {
231
231
  const t = {};
232
232
  return e.childNodes.forEach(
233
233
  /** @param {Element} node */
234
- (r) => {
235
- t[r.slot || "default"] = !0;
234
+ (n) => {
235
+ t[n.slot || "default"] = !0;
236
236
  }
237
237
  ), t;
238
238
  }
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);
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);
245
245
  return t >>> 0;
246
246
  }
247
- function Fr(e, t) {
248
- const r = { stylesheet: Cr(t), rules: {} };
249
- return Ee.set(e, r), r;
247
+ function Un(e, t) {
248
+ const n = { stylesheet: In(t), rules: {} };
249
+ return xe.set(e, n), n;
250
250
  }
251
- function ct(e, t, r, n, i, o, a, s = 0) {
252
- const l = 16.666 / n;
251
+ function at(e, t, n, r, i, o, a, s = 0) {
252
+ const h = 16.666 / r;
253
253
  let u = `{
254
254
  `;
255
- for (let _ = 0; _ <= 1; _ += l) {
256
- const w = t + (r - t) * o(_);
257
- u += _ * 100 + `%{${a(w, 1 - w)}}
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)}}
258
258
  `;
259
259
  }
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));
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));
263
263
  const m = e.style.animation || "";
264
- return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, xe += 1, f;
264
+ return e.style.animation = `${m ? `${m}, ` : ""}${c} ${r}ms linear ${i}ms 1 both`, Ee += 1, c;
265
265
  }
266
- function jr(e, t) {
267
- const r = (e.style.animation || "").split(", "), n = r.filter(
266
+ function Dn(e, t) {
267
+ const n = (e.style.animation || "").split(", "), r = n.filter(
268
268
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
269
269
  // remove all Svelte animations
270
- ), i = r.length - n.length;
271
- i && (e.style.animation = n.join(", "), xe -= i, xe || kr());
270
+ ), i = n.length - r.length;
271
+ i && (e.style.animation = r.join(", "), Ee -= i, Ee || Gn());
272
272
  }
273
- function kr() {
274
- st(() => {
275
- xe || (Ee.forEach((e) => {
273
+ function Gn() {
274
+ tt(() => {
275
+ Ee || (xe.forEach((e) => {
276
276
  const { ownerNode: t } = e.stylesheet;
277
277
  t && G(t);
278
- }), Ee.clear());
278
+ }), xe.clear());
279
279
  });
280
280
  }
281
- let ie;
282
- function ne(e) {
283
- ie = e;
281
+ let oe;
282
+ function ie(e) {
283
+ oe = e;
284
284
  }
285
- function Vr() {
286
- if (!ie)
285
+ function Fn() {
286
+ if (!oe)
287
287
  throw new Error("Function called outside component initialization");
288
- return ie;
288
+ return oe;
289
289
  }
290
- function Xr(e) {
291
- Vr().$$.on_mount.push(e);
290
+ function jn(e) {
291
+ Fn().$$.on_mount.push(e);
292
292
  }
293
- const V = [], ke = [];
293
+ const V = [], Ge = [];
294
294
  let W = [];
295
- const ft = [], Xt = /* @__PURE__ */ Promise.resolve();
296
- let Ve = !1;
297
- function Wt() {
298
- Ve || (Ve = !0, Xt.then(I));
295
+ const ut = [], Ft = /* @__PURE__ */ Promise.resolve();
296
+ let Fe = !1;
297
+ function jt() {
298
+ Fe || (Fe = !0, Ft.then(I));
299
299
  }
300
- function Mo() {
301
- return Wt(), Xt;
300
+ function Io() {
301
+ return jt(), Ft;
302
302
  }
303
303
  function Se(e) {
304
304
  W.push(e);
305
305
  }
306
- const Ce = /* @__PURE__ */ new Set();
306
+ const Le = /* @__PURE__ */ new Set();
307
307
  let j = 0;
308
308
  function I() {
309
309
  if (j !== 0)
310
310
  return;
311
- const e = ie;
311
+ const e = oe;
312
312
  do {
313
313
  try {
314
314
  for (; j < V.length; ) {
315
315
  const t = V[j];
316
- j++, ne(t), Wr(t.$$);
316
+ j++, ie(t), kn(t.$$);
317
317
  }
318
318
  } catch (t) {
319
319
  throw V.length = 0, j = 0, t;
320
320
  }
321
- for (ne(null), V.length = 0, j = 0; ke.length; )
322
- ke.pop()();
321
+ for (ie(null), V.length = 0, j = 0; Ge.length; )
322
+ Ge.pop()();
323
323
  for (let t = 0; t < W.length; t += 1) {
324
- const r = W[t];
325
- Ce.has(r) || (Ce.add(r), r());
324
+ const n = W[t];
325
+ Le.has(n) || (Le.add(n), n());
326
326
  }
327
327
  W.length = 0;
328
328
  } while (V.length);
329
- for (; ft.length; )
330
- ft.pop()();
331
- Ve = !1, Ce.clear(), ne(e);
329
+ for (; ut.length; )
330
+ ut.pop()();
331
+ Fe = !1, Le.clear(), ie(e);
332
332
  }
333
- function Wr(e) {
333
+ function kn(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 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;
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;
343
343
  }
344
- let te;
345
- function Zr() {
346
- return te || (te = Promise.resolve(), te.then(() => {
347
- te = null;
348
- })), te;
344
+ let ne;
345
+ function Xn() {
346
+ return ne || (ne = Promise.resolve(), ne.then(() => {
347
+ ne = null;
348
+ })), ne;
349
349
  }
350
- function Me(e, t, r) {
351
- e.dispatchEvent(Ur(`${t ? "intro" : "outro"}${r}`));
350
+ function Ne(e, t, n) {
351
+ e.dispatchEvent(Cn(`${t ? "intro" : "outro"}${n}`));
352
352
  }
353
353
  const be = /* @__PURE__ */ new Set();
354
- let C;
355
- function $o() {
356
- C = {
354
+ let N;
355
+ function Lo() {
356
+ N = {
357
357
  r: 0,
358
358
  c: [],
359
- p: C
359
+ p: N
360
360
  // parent group
361
361
  };
362
362
  }
363
- function Ro() {
364
- C.r || D(C.c), C = C.p;
363
+ function No() {
364
+ N.r || D(N.c), N = N.p;
365
365
  }
366
- function qr(e, t) {
366
+ function Wn(e, t) {
367
367
  e && e.i && (be.delete(e), e.i(t));
368
368
  }
369
- function Uo(e, t, r, n) {
369
+ function Mo(e, t, n, r) {
370
370
  if (e && e.o) {
371
371
  if (be.has(e))
372
372
  return;
373
- be.add(e), C.c.push(() => {
374
- be.delete(e), n && (r && e.d(1), n());
373
+ be.add(e), N.c.push(() => {
374
+ be.delete(e), r && (n && e.d(1), r());
375
375
  }), e.o(t);
376
376
  } else
377
- n && n();
377
+ r && r();
378
378
  }
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);
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);
384
384
  }
385
- function c(p, m) {
386
- const _ = (
385
+ function f(d, m) {
386
+ const x = (
387
387
  /** @type {Program['d']} */
388
- p.b - a
388
+ d.b - a
389
389
  );
390
- return m *= Math.abs(_), {
390
+ return m *= Math.abs(x), {
391
391
  a,
392
- b: p.b,
393
- d: _,
392
+ b: d.b,
393
+ d: x,
394
394
  duration: m,
395
- start: p.start,
396
- end: p.start + m,
397
- group: p.group
395
+ start: d.start,
396
+ end: d.start + m,
397
+ group: d.group
398
398
  };
399
399
  }
400
- function d(p) {
400
+ function p(d) {
401
401
  const {
402
402
  delay: m = 0,
403
- duration: _ = 300,
404
- easing: w = Br,
403
+ duration: x = 300,
404
+ easing: T = Tn,
405
405
  tick: P = H,
406
- css: x
407
- } = o || Qr, O = {
408
- start: Ir() + m,
409
- b: p
406
+ css: E
407
+ } = o || zn, O = {
408
+ start: An() + m,
409
+ b: d
410
410
  };
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(
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(
414
414
  e,
415
415
  a,
416
416
  s.b,
417
417
  s.duration,
418
418
  0,
419
- w,
419
+ T,
420
420
  o.css
421
421
  ))), s) {
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);
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);
427
427
  }
428
428
  }
429
- return !!(s || l);
429
+ return !!(s || h);
430
430
  }));
431
431
  }
432
432
  return {
433
- run(p) {
434
- ae(o) ? Zr().then(() => {
435
- o = o({ direction: p ? "in" : "out" }), d(p);
436
- }) : d(p);
433
+ run(d) {
434
+ ue(o) ? Xn().then(() => {
435
+ o = o({ direction: d ? "in" : "out" }), p(d);
436
+ }) : p(d);
437
437
  },
438
438
  end() {
439
- f(), s = l = null;
439
+ c(), s = h = null;
440
440
  }
441
441
  };
442
442
  }
443
- function Go(e) {
443
+ function $o(e) {
444
444
  return e?.length !== void 0 ? e : Array.from(e);
445
445
  }
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);
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);
450
450
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : D(o), e.$$.on_mount = [];
451
451
  }), i.forEach(Se);
452
452
  }
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 = []);
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 = []);
456
456
  }
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;
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;
459
459
  }
460
- function en(e, t, r, n, i, o, a = null, s = [-1]) {
461
- const l = ie;
462
- ne(e);
460
+ function Jn(e, t, n, r, i, o, a = null, s = [-1]) {
461
+ const h = oe;
462
+ ie(e);
463
463
  const u = e.$$ = {
464
464
  fragment: null,
465
465
  ctx: [],
@@ -467,37 +467,37 @@ function en(e, t, r, n, i, o, a = null, s = [-1]) {
467
467
  props: o,
468
468
  update: H,
469
469
  not_equal: i,
470
- bound: ht(),
470
+ bound: st(),
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 || (l ? l.$$.context : [])),
477
+ context: new Map(t.context || (h ? h.$$.context : [])),
478
478
  // everything else
479
- callbacks: ht(),
479
+ callbacks: st(),
480
480
  dirty: s,
481
481
  skip_bound: !1,
482
- root: t.target || l.$$.root
482
+ root: t.target || h.$$.root
483
483
  };
484
484
  a && a(u.root);
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) {
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) {
490
490
  if (t.hydrate) {
491
- const f = $r(t.target);
492
- u.fragment && u.fragment.l(f), f.forEach(G);
491
+ const c = Nn(t.target);
492
+ u.fragment && u.fragment.l(c), c.forEach(G);
493
493
  } else
494
494
  u.fragment && u.fragment.c();
495
- t.intro && qr(e.$$.fragment), Jr(e, t.target, t.anchor), I();
495
+ t.intro && Wn(e.$$.fragment), Zn(e, t.target, t.anchor), I();
496
496
  }
497
- ne(l);
497
+ ie(h);
498
498
  }
499
- let zt;
500
- typeof HTMLElement == "function" && (zt = class extends HTMLElement {
499
+ let kt;
500
+ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
501
501
  /** The Svelte component constructor */
502
502
  $$ctor;
503
503
  /** Slots */
@@ -516,20 +516,20 @@ typeof HTMLElement == "function" && (zt = 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, r) {
520
- super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
519
+ constructor(e, t, n) {
520
+ super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
521
521
  }
522
- addEventListener(e, t, r) {
522
+ addEventListener(e, t, n) {
523
523
  if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
524
- const n = this.$$c.$on(e, t);
525
- this.$$l_u.set(t, n);
524
+ const r = this.$$c.$on(e, t);
525
+ this.$$l_u.set(t, r);
526
526
  }
527
- super.addEventListener(e, t, r);
527
+ super.addEventListener(e, t, n);
528
528
  }
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));
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));
533
533
  }
534
534
  }
535
535
  async connectedCallback() {
@@ -539,29 +539,29 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
539
539
  let o;
540
540
  return {
541
541
  c: function() {
542
- o = N("slot"), i !== "default" && B(o, "name", i);
542
+ o = L("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(l, u) {
549
- ue(l, o, u);
548
+ m: function(h, u) {
549
+ he(h, o, u);
550
550
  },
551
- d: function(l) {
552
- l && G(o);
551
+ d: function(h) {
552
+ h && 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 = {}, r = Dr(this);
559
+ const t = {}, n = $n(this);
560
560
  for (const i of this.$$s)
561
- i in r && (t[i] = [e(i)]);
561
+ i in n && (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] = ye(o, i.value, this.$$p_d, "toProp"));
564
+ o in this.$$d || (this.$$d[o] = ge(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" && (zt = class extends HTMLElement {
575
575
  }
576
576
  }
577
577
  });
578
- const n = () => {
578
+ const r = () => {
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 = ye(
582
+ const o = ge(
583
583
  i,
584
584
  this.$$d[i],
585
585
  this.$$p_d,
@@ -589,7 +589,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
589
589
  }
590
590
  this.$$r = !1;
591
591
  };
592
- this.$$c.$$.after_update.push(n), n();
592
+ this.$$c.$$.after_update.push(r), r();
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" && (zt = 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, 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] }));
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] }));
605
605
  }
606
606
  disconnectedCallback() {
607
607
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -614,11 +614,11 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
614
614
  ) || e;
615
615
  }
616
616
  });
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])
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])
620
620
  return t;
621
- if (n === "toAttribute")
621
+ if (r === "toAttribute")
622
622
  switch (i) {
623
623
  case "Object":
624
624
  case "Array":
@@ -643,10 +643,10 @@ function ye(e, t, r, n) {
643
643
  return t;
644
644
  }
645
645
  }
646
- function tn(e, t, r, n, i, o) {
647
- let a = class extends zt {
646
+ function Yn(e, t, n, r, i, o) {
647
+ let a = class extends kt {
648
648
  constructor() {
649
- super(e, r, i), this.$$p_d = t;
649
+ super(e, n, i), this.$$p_d = t;
650
650
  }
651
651
  static get observedAttributes() {
652
652
  return Object.keys(t).map(
@@ -659,11 +659,11 @@ function tn(e, t, r, n, i, o) {
659
659
  get() {
660
660
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
661
661
  },
662
- set(l) {
663
- l = ye(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
662
+ set(h) {
663
+ h = ge(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
664
664
  }
665
665
  });
666
- }), n.forEach((s) => {
666
+ }), r.forEach((s) => {
667
667
  Object.defineProperty(a.prototype, s, {
668
668
  get() {
669
669
  return this.$$c?.[s];
@@ -672,7 +672,7 @@ function tn(e, t, r, n, i, o) {
672
672
  }), e.element = /** @type {any} */
673
673
  a, a;
674
674
  }
675
- class rn {
675
+ class Kn {
676
676
  /**
677
677
  * ### PRIVATE API
678
678
  *
@@ -691,7 +691,7 @@ class rn {
691
691
  $$set = void 0;
692
692
  /** @returns {void} */
693
693
  $destroy() {
694
- Yr(this, 1), this.$destroy = H;
694
+ qn(this, 1), this.$destroy = H;
695
695
  }
696
696
  /**
697
697
  * @template {Extract<keyof Events, string>} K
@@ -699,13 +699,13 @@ class rn {
699
699
  * @param {((e: Events[K]) => void) | null | undefined} callback
700
700
  * @returns {() => void}
701
701
  */
702
- $on(t, r) {
703
- if (!ae(r))
702
+ $on(t, n) {
703
+ if (!ue(n))
704
704
  return H;
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);
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);
709
709
  };
710
710
  }
711
711
  /**
@@ -713,11 +713,11 @@ class rn {
713
713
  * @returns {void}
714
714
  */
715
715
  $set(t) {
716
- this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
716
+ this.$$set && !Hn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
717
717
  }
718
718
  }
719
- const nn = "4";
720
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(nn);
719
+ const er = "4";
720
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(er);
721
721
  /*! *****************************************************************************
722
722
  Copyright (c) Microsoft Corporation.
723
723
 
@@ -732,48 +732,67 @@ 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 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);
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);
742
742
  };
743
- function he(e, t) {
743
+ function C(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
- Xe(e, t);
747
- function r() {
746
+ je(e, t);
747
+ function n() {
748
748
  this.constructor = e;
749
749
  }
750
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
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;
751
770
  }
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);
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);
756
775
  if (e && typeof e.length == "number")
757
776
  return {
758
777
  next: function() {
759
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
778
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
760
779
  }
761
780
  };
762
781
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
763
782
  }
764
- function ze(e, t) {
765
- var r = typeof Symbol == "function" && e[Symbol.iterator];
766
- if (!r)
783
+ function Ve(e, t) {
784
+ var n = typeof Symbol == "function" && e[Symbol.iterator];
785
+ if (!n)
767
786
  return e;
768
- var n = r.call(e), i, o = [], a;
787
+ var r = n.call(e), i, o = [], a;
769
788
  try {
770
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
789
+ for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
771
790
  o.push(i.value);
772
791
  } catch (s) {
773
792
  a = { error: s };
774
793
  } finally {
775
794
  try {
776
- i && !i.done && (r = n.return) && r.call(n);
795
+ i && !i.done && (n = r.return) && n.call(r);
777
796
  } finally {
778
797
  if (a)
779
798
  throw a.error;
@@ -781,57 +800,57 @@ function ze(e, t) {
781
800
  }
782
801
  return o;
783
802
  }
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]);
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]);
788
807
  return e.concat(o || t);
789
808
  }
790
809
  function M(e) {
791
810
  return typeof e == "function";
792
811
  }
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();
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();
804
823
  }).join(`
805
- `) : "", this.name = "UnsubscriptionError", this.errors = r;
824
+ `) : "", this.name = "UnsubscriptionError", this.errors = n;
806
825
  };
807
826
  });
808
- function qe(e, t) {
827
+ function Xe(e, t) {
809
828
  if (e) {
810
- var r = e.indexOf(t);
811
- 0 <= r && e.splice(r, 1);
829
+ var n = e.indexOf(t);
830
+ 0 <= n && e.splice(n, 1);
812
831
  }
813
832
  }
814
- var Be = function() {
833
+ var He = function() {
815
834
  function e(t) {
816
835
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
817
836
  }
818
837
  return e.prototype.unsubscribe = function() {
819
- var t, r, n, i, o;
838
+ var t, n, r, i, o;
820
839
  if (!this.closed) {
821
840
  this.closed = !0;
822
841
  var a = this._parentage;
823
842
  if (a)
824
843
  if (this._parentage = null, Array.isArray(a))
825
844
  try {
826
- for (var s = We(a), l = s.next(); !l.done; l = s.next()) {
827
- var u = l.value;
845
+ for (var s = ke(a), h = s.next(); !h.done; h = s.next()) {
846
+ var u = h.value;
828
847
  u.remove(this);
829
848
  }
830
849
  } catch (m) {
831
850
  t = { error: m };
832
851
  } finally {
833
852
  try {
834
- l && !l.done && (r = s.return) && r.call(s);
853
+ h && !h.done && (n = s.return) && n.call(s);
835
854
  } finally {
836
855
  if (t)
837
856
  throw t.error;
@@ -839,119 +858,123 @@ var Be = function() {
839
858
  }
840
859
  else
841
860
  a.remove(this);
842
- var h = this.initialTeardown;
843
- if (M(h))
861
+ var l = this.initialTeardown;
862
+ if (M(l))
844
863
  try {
845
- h();
864
+ l();
846
865
  } catch (m) {
847
- o = m instanceof $e ? m.errors : [m];
866
+ o = m instanceof Me ? m.errors : [m];
848
867
  }
849
- var f = this._finalizers;
850
- if (f) {
868
+ var c = this._finalizers;
869
+ if (c) {
851
870
  this._finalizers = null;
852
871
  try {
853
- for (var c = We(f), d = c.next(); !d.done; d = c.next()) {
854
- var p = d.value;
872
+ for (var f = ke(c), p = f.next(); !p.done; p = f.next()) {
873
+ var d = p.value;
855
874
  try {
856
- pt(p);
875
+ ht(d);
857
876
  } catch (m) {
858
- o = o ?? [], m instanceof $e ? o = Ze(Ze([], ze(o)), ze(m.errors)) : o.push(m);
877
+ o = o ?? [], m instanceof Me ? o = z(z([], Ve(o)), Ve(m.errors)) : o.push(m);
859
878
  }
860
879
  }
861
880
  } catch (m) {
862
- n = { error: m };
881
+ r = { error: m };
863
882
  } finally {
864
883
  try {
865
- d && !d.done && (i = c.return) && i.call(c);
884
+ p && !p.done && (i = f.return) && i.call(f);
866
885
  } finally {
867
- if (n)
868
- throw n.error;
886
+ if (r)
887
+ throw r.error;
869
888
  }
870
889
  }
871
890
  }
872
891
  if (o)
873
- throw new $e(o);
892
+ throw new Me(o);
874
893
  }
875
894
  }, e.prototype.add = function(t) {
876
- var r;
895
+ var n;
877
896
  if (t && t !== this)
878
897
  if (this.closed)
879
- pt(t);
898
+ ht(t);
880
899
  else {
881
900
  if (t instanceof e) {
882
901
  if (t.closed || t._hasParent(this))
883
902
  return;
884
903
  t._addParent(this);
885
904
  }
886
- (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
905
+ (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
887
906
  }
888
907
  }, e.prototype._hasParent = function(t) {
889
- var r = this._parentage;
890
- return r === t || Array.isArray(r) && r.includes(t);
908
+ var n = this._parentage;
909
+ return n === t || Array.isArray(n) && n.includes(t);
891
910
  }, e.prototype._addParent = function(t) {
892
- var r = this._parentage;
893
- this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
911
+ var n = this._parentage;
912
+ this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
894
913
  }, e.prototype._removeParent = function(t) {
895
- var r = this._parentage;
896
- r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
914
+ var n = this._parentage;
915
+ n === t ? this._parentage = null : Array.isArray(n) && Xe(n, t);
897
916
  }, e.prototype.remove = function(t) {
898
- var r = this._finalizers;
899
- r && qe(r, t), t instanceof e && t._removeParent(this);
917
+ var n = this._finalizers;
918
+ n && Xe(n, t), t instanceof e && t._removeParent(this);
900
919
  }, e.EMPTY = function() {
901
920
  var t = new e();
902
921
  return t.closed = !0, t;
903
922
  }(), e;
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);
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);
907
926
  }
908
- function pt(e) {
927
+ function ht(e) {
909
928
  M(e) ? e() : e.unsubscribe();
910
929
  }
911
- var on = {
912
- Promise: void 0
913
- }, sn = {
930
+ var nr = {
931
+ onUnhandledError: null,
932
+ onStoppedNotification: null,
933
+ Promise: void 0,
934
+ useDeprecatedSynchronousErrorHandling: !1,
935
+ useDeprecatedNextContext: !1
936
+ }, rr = {
914
937
  setTimeout: function(e, t) {
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)));
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)));
918
941
  },
919
942
  clearTimeout: function(e) {
920
943
  return clearTimeout(e);
921
944
  },
922
945
  delegate: void 0
923
946
  };
924
- function an(e) {
925
- sn.setTimeout(function() {
947
+ function ir(e) {
948
+ rr.setTimeout(function() {
926
949
  throw e;
927
950
  });
928
951
  }
929
- function dt() {
952
+ function lt() {
930
953
  }
931
- function ge(e) {
954
+ function ye(e) {
932
955
  e();
933
956
  }
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;
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;
939
962
  }
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));
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));
946
969
  }, t.prototype.complete = function() {
947
970
  this.isStopped || (this.isStopped = !0, this._complete());
948
971
  }, t.prototype.unsubscribe = function() {
949
972
  this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
950
- }, t.prototype._next = function(r) {
951
- this.destination.next(r);
952
- }, t.prototype._error = function(r) {
973
+ }, t.prototype._next = function(n) {
974
+ this.destination.next(n);
975
+ }, t.prototype._error = function(n) {
953
976
  try {
954
- this.destination.error(r);
977
+ this.destination.error(n);
955
978
  } finally {
956
979
  this.unsubscribe();
957
980
  }
@@ -962,169 +985,169 @@ var Jt = function(e) {
962
985
  this.unsubscribe();
963
986
  }
964
987
  }, t;
965
- }(Be), un = function() {
988
+ }(He), or = function() {
966
989
  function e(t) {
967
990
  this.partialObserver = t;
968
991
  }
969
992
  return e.prototype.next = function(t) {
970
- var r = this.partialObserver;
971
- if (r.next)
993
+ var n = this.partialObserver;
994
+ if (n.next)
972
995
  try {
973
- r.next(t);
974
- } catch (n) {
975
- de(n);
996
+ n.next(t);
997
+ } catch (r) {
998
+ pe(r);
976
999
  }
977
1000
  }, e.prototype.error = function(t) {
978
- var r = this.partialObserver;
979
- if (r.error)
1001
+ var n = this.partialObserver;
1002
+ if (n.error)
980
1003
  try {
981
- r.error(t);
982
- } catch (n) {
983
- de(n);
1004
+ n.error(t);
1005
+ } catch (r) {
1006
+ pe(r);
984
1007
  }
985
1008
  else
986
- de(t);
1009
+ pe(t);
987
1010
  }, e.prototype.complete = function() {
988
1011
  var t = this.partialObserver;
989
1012
  if (t.complete)
990
1013
  try {
991
1014
  t.complete();
992
- } catch (r) {
993
- de(r);
1015
+ } catch (n) {
1016
+ pe(n);
994
1017
  }
995
1018
  }, e;
996
- }(), Qe = function(e) {
997
- he(t, e);
998
- function t(r, n, i) {
1019
+ }(), We = function(e) {
1020
+ C(t, e);
1021
+ function t(n, r, i) {
999
1022
  var o = e.call(this) || this, a;
1000
- return M(r) || !r ? a = {
1001
- next: r ?? void 0,
1002
- error: n ?? void 0,
1023
+ return M(n) || !n ? a = {
1024
+ next: n ?? void 0,
1025
+ error: r ?? void 0,
1003
1026
  complete: i ?? void 0
1004
- } : a = r, o.destination = new un(a), o;
1027
+ } : a = n, o.destination = new or(a), o;
1005
1028
  }
1006
1029
  return t;
1007
- }(Jt);
1008
- function de(e) {
1009
- an(e);
1030
+ }(zt);
1031
+ function pe(e) {
1032
+ ir(e);
1010
1033
  }
1011
- function ln(e) {
1034
+ function sr(e) {
1012
1035
  throw e;
1013
1036
  }
1014
- var hn = {
1037
+ var ar = {
1015
1038
  closed: !0,
1016
- next: dt,
1017
- error: ln,
1018
- complete: dt
1019
- }, cn = function() {
1039
+ next: lt,
1040
+ error: sr,
1041
+ complete: lt
1042
+ }, ur = function() {
1020
1043
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1021
1044
  }();
1022
- function fn(e) {
1045
+ function hr(e) {
1023
1046
  return e;
1024
1047
  }
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);
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);
1030
1053
  };
1031
1054
  }
1032
- var mt = function() {
1055
+ var ft = function() {
1033
1056
  function e(t) {
1034
1057
  t && (this._subscribe = t);
1035
1058
  }
1036
1059
  return e.prototype.lift = function(t) {
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));
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));
1044
1067
  }), o;
1045
1068
  }, e.prototype._trySubscribe = function(t) {
1046
1069
  try {
1047
1070
  return this._subscribe(t);
1048
- } catch (r) {
1049
- t.error(r);
1071
+ } catch (n) {
1072
+ t.error(n);
1050
1073
  }
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({
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({
1055
1078
  next: function(s) {
1056
1079
  try {
1057
1080
  t(s);
1058
- } catch (l) {
1059
- o(l), a.unsubscribe();
1081
+ } catch (h) {
1082
+ o(h), a.unsubscribe();
1060
1083
  }
1061
1084
  },
1062
1085
  error: o,
1063
1086
  complete: i
1064
1087
  });
1065
- n.subscribe(a);
1088
+ r.subscribe(a);
1066
1089
  });
1067
1090
  }, e.prototype._subscribe = function(t) {
1068
- var r;
1069
- return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1070
- }, e.prototype[cn] = function() {
1091
+ var n;
1092
+ return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
1093
+ }, e.prototype[ur] = function() {
1071
1094
  return this;
1072
1095
  }, e.prototype.pipe = function() {
1073
- for (var t = [], r = 0; r < arguments.length; r++)
1074
- t[r] = arguments[r];
1075
- return pn(t)(this);
1096
+ for (var t = [], n = 0; n < arguments.length; n++)
1097
+ t[n] = arguments[n];
1098
+ return lr(t)(this);
1076
1099
  }, e.prototype.toPromise = function(t) {
1077
- var r = this;
1078
- return t = bt(t), new t(function(n, i) {
1100
+ var n = this;
1101
+ return t = ct(t), new t(function(r, i) {
1079
1102
  var o;
1080
- r.subscribe(function(a) {
1103
+ n.subscribe(function(a) {
1081
1104
  return o = a;
1082
1105
  }, function(a) {
1083
1106
  return i(a);
1084
1107
  }, function() {
1085
- return n(o);
1108
+ return r(o);
1086
1109
  });
1087
1110
  });
1088
1111
  }, e.create = function(t) {
1089
1112
  return new e(t);
1090
1113
  }, e;
1091
1114
  }();
1092
- function bt(e) {
1115
+ function ct(e) {
1093
1116
  var t;
1094
- return (t = e ?? on.Promise) !== null && t !== void 0 ? t : Promise;
1117
+ return (t = e ?? nr.Promise) !== null && t !== void 0 ? t : Promise;
1095
1118
  }
1096
- function dn(e) {
1119
+ function fr(e) {
1097
1120
  return e && M(e.next) && M(e.error) && M(e.complete);
1098
1121
  }
1099
- function mn(e) {
1100
- return e && e instanceof Jt || dn(e) && Qt(e);
1122
+ function cr(e) {
1123
+ return e && e instanceof zt || fr(e) && Wt(e);
1101
1124
  }
1102
- var bn = Zt(function(e) {
1125
+ var dr = Vt(function(e) {
1103
1126
  return function() {
1104
1127
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1105
1128
  };
1106
- }), Yt = function(e) {
1107
- he(t, e);
1129
+ }), Zt = function(e) {
1130
+ C(t, e);
1108
1131
  function t() {
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;
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;
1111
1134
  }
1112
- return t.prototype.lift = function(r) {
1113
- var n = new yt(this, this);
1114
- return n.operator = r, n;
1135
+ return t.prototype.lift = function(n) {
1136
+ var r = new dt(this, this);
1137
+ return r.operator = n, r;
1115
1138
  }, t.prototype._throwIfClosed = function() {
1116
1139
  if (this.closed)
1117
- throw new bn();
1118
- }, t.prototype.next = function(r) {
1119
- var n = this;
1120
- ge(function() {
1140
+ throw new dr();
1141
+ }, t.prototype.next = function(n) {
1142
+ var r = this;
1143
+ ye(function() {
1121
1144
  var i, o;
1122
- if (n._throwIfClosed(), !n.isStopped) {
1123
- n.currentObservers || (n.currentObservers = Array.from(n.observers));
1145
+ if (r._throwIfClosed(), !r.isStopped) {
1146
+ r.currentObservers || (r.currentObservers = Array.from(r.observers));
1124
1147
  try {
1125
- for (var a = We(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1126
- var l = s.value;
1127
- l.next(r);
1148
+ for (var a = ke(r.currentObservers), s = a.next(); !s.done; s = a.next()) {
1149
+ var h = s.value;
1150
+ h.next(n);
1128
1151
  }
1129
1152
  } catch (u) {
1130
1153
  i = { error: u };
@@ -1138,120 +1161,120 @@ var bn = Zt(function(e) {
1138
1161
  }
1139
1162
  }
1140
1163
  });
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);
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);
1148
1171
  }
1149
1172
  });
1150
1173
  }, t.prototype.complete = function() {
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();
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();
1157
1180
  }
1158
1181
  });
1159
1182
  }, t.prototype.unsubscribe = function() {
1160
1183
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
1161
1184
  }, Object.defineProperty(t.prototype, "observed", {
1162
1185
  get: function() {
1163
- var r;
1164
- return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
1186
+ var n;
1187
+ return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
1165
1188
  },
1166
1189
  enumerable: !1,
1167
1190
  configurable: !0
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);
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);
1176
1199
  }));
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();
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();
1180
1203
  }, t.prototype.asObservable = function() {
1181
- var r = new mt();
1182
- return r.source = this, r;
1183
- }, t.create = function(r, n) {
1184
- return new yt(r, n);
1204
+ var n = new ft();
1205
+ return n.source = this, n;
1206
+ }, t.create = function(n, r) {
1207
+ return new dt(n, r);
1185
1208
  }, t;
1186
- }(mt), yt = function(e) {
1187
- he(t, e);
1188
- function t(r, n) {
1209
+ }(ft), dt = function(e) {
1210
+ C(t, e);
1211
+ function t(n, r) {
1189
1212
  var i = e.call(this) || this;
1190
- return i.destination = r, i.source = n, i;
1213
+ return i.destination = n, i.source = r, i;
1191
1214
  }
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);
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);
1198
1221
  }, t.prototype.complete = function() {
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;
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;
1204
1227
  }, t;
1205
- }(Yt), Kt = {
1228
+ }(Zt), qt = {
1206
1229
  now: function() {
1207
- return (Kt.delegate || Date).now();
1230
+ return (qt.delegate || Date).now();
1208
1231
  },
1209
1232
  delegate: void 0
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);
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);
1214
1237
  var o = e.call(this) || this;
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;
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;
1216
1239
  }
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) {
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) {
1221
1244
  this._throwIfClosed(), this._trimBuffer();
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;
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;
1225
1248
  }, t.prototype._trimBuffer = function() {
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;
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;
1230
1253
  u && o.splice(0, u + 1);
1231
1254
  }
1232
1255
  }, t;
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);
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);
1238
1261
  }
1239
- return vt[e];
1262
+ return mt[e];
1240
1263
  }, k = [];
1241
- function vn(e, t) {
1264
+ function br(e, t) {
1242
1265
  return {
1243
- subscribe: Ae(e, t).subscribe
1266
+ subscribe: Be(e, t).subscribe
1244
1267
  };
1245
1268
  }
1246
- function Ae(e, t = H) {
1247
- let r;
1248
- const n = /* @__PURE__ */ new Set();
1269
+ function Be(e, t = H) {
1270
+ let n;
1271
+ const r = /* @__PURE__ */ new Set();
1249
1272
  function i(s) {
1250
- if (Rt(e, s) && (e = s, r)) {
1251
- const l = !k.length;
1252
- for (const u of n)
1273
+ if (Nt(e, s) && (e = s, n)) {
1274
+ const h = !k.length;
1275
+ for (const u of r)
1253
1276
  u[1](), k.push(u, e);
1254
- if (l) {
1277
+ if (h) {
1255
1278
  for (let u = 0; u < k.length; u += 2)
1256
1279
  k[u][0](k[u + 1]);
1257
1280
  k.length = 0;
@@ -1261,193 +1284,154 @@ function Ae(e, t = H) {
1261
1284
  function o(s) {
1262
1285
  i(s(e));
1263
1286
  }
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);
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);
1268
1291
  };
1269
1292
  }
1270
1293
  return { set: i, update: o, subscribe: a };
1271
1294
  }
1272
- function J(e, t, r) {
1273
- const n = !Array.isArray(e), i = n ? [e] : e;
1295
+ function Y(e, t, n) {
1296
+ const r = !Array.isArray(e), i = r ? [e] : e;
1274
1297
  if (!i.every(Boolean))
1275
1298
  throw new Error("derived() expects stores as input, got a falsy value");
1276
1299
  const o = t.length < 2;
1277
- return vn(r, (a, s) => {
1278
- let l = !1;
1300
+ return br(n, (a, s) => {
1301
+ let h = !1;
1279
1302
  const u = [];
1280
- let h = 0, f = H;
1281
- const c = () => {
1282
- if (h)
1303
+ let l = 0, c = H;
1304
+ const f = () => {
1305
+ if (l)
1283
1306
  return;
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();
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();
1292
1315
  },
1293
1316
  () => {
1294
- h |= 1 << m;
1317
+ l |= 1 << m;
1295
1318
  }
1296
1319
  )
1297
1320
  );
1298
- return l = !0, c(), function() {
1299
- D(d), f(), l = !1;
1321
+ return h = !0, f(), function() {
1322
+ D(p), c(), h = !1;
1300
1323
  };
1301
1324
  });
1302
1325
  }
1303
- var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1304
- function _n(e) {
1326
+ var Ro = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1327
+ function gr(e) {
1305
1328
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1306
1329
  }
1307
- var En = function(t) {
1308
- return xn(t) && !Sn(t);
1330
+ var yr = function(t) {
1331
+ return _r(t) && !vr(t);
1309
1332
  };
1310
- function xn(e) {
1333
+ function _r(e) {
1311
1334
  return !!e && typeof e == "object";
1312
1335
  }
1313
- function Sn(e) {
1336
+ function vr(e) {
1314
1337
  var t = Object.prototype.toString.call(e);
1315
- return t === "[object RegExp]" || t === "[object Date]" || Hn(e);
1338
+ return t === "[object RegExp]" || t === "[object Date]" || Sr(e);
1316
1339
  }
1317
- var wn = typeof Symbol == "function" && Symbol.for, Tn = wn ? Symbol.for("react.element") : 60103;
1318
- function Hn(e) {
1319
- return e.$$typeof === Tn;
1340
+ var xr = typeof Symbol == "function" && Symbol.for, Er = xr ? Symbol.for("react.element") : 60103;
1341
+ function Sr(e) {
1342
+ return e.$$typeof === Er;
1320
1343
  }
1321
- function Bn(e) {
1344
+ function Tr(e) {
1322
1345
  return Array.isArray(e) ? [] : {};
1323
1346
  }
1324
- function oe(e, t) {
1325
- return t.clone !== !1 && t.isMergeableObject(e) ? z(Bn(e), e, t) : e;
1347
+ function se(e, t) {
1348
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(Tr(e), e, t) : e;
1326
1349
  }
1327
- function An(e, t, r) {
1328
- return e.concat(t).map(function(n) {
1329
- return oe(n, r);
1350
+ function wr(e, t, n) {
1351
+ return e.concat(t).map(function(r) {
1352
+ return se(r, n);
1330
1353
  });
1331
1354
  }
1332
- function Pn(e, t) {
1355
+ function Hr(e, t) {
1333
1356
  if (!t.customMerge)
1334
- return z;
1335
- var r = t.customMerge(e);
1336
- return typeof r == "function" ? r : z;
1357
+ return Z;
1358
+ var n = t.customMerge(e);
1359
+ return typeof n == "function" ? n : Z;
1337
1360
  }
1338
- function On(e) {
1361
+ function Br(e) {
1339
1362
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1340
1363
  return Object.propertyIsEnumerable.call(e, t);
1341
1364
  }) : [];
1342
1365
  }
1343
- function _t(e) {
1344
- return Object.keys(e).concat(On(e));
1366
+ function bt(e) {
1367
+ return Object.keys(e).concat(Br(e));
1345
1368
  }
1346
- function er(e, t) {
1369
+ function Qt(e, t) {
1347
1370
  try {
1348
1371
  return t in e;
1349
1372
  } catch {
1350
1373
  return !1;
1351
1374
  }
1352
1375
  }
1353
- function In(e, t) {
1354
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1376
+ function Ar(e, t) {
1377
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1355
1378
  }
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) {
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) {
1370
1393
  if (!Array.isArray(t))
1371
1394
  throw new Error("first argument should be an array");
1372
- return t.reduce(function(n, i) {
1373
- return z(n, i, r);
1395
+ return t.reduce(function(r, i) {
1396
+ return Z(r, i, n);
1374
1397
  }, {});
1375
1398
  };
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;
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;
1422
1403
  return i(e, {
1423
- cache: r,
1424
- serializer: n
1404
+ cache: n,
1405
+ serializer: r
1425
1406
  });
1426
1407
  }
1427
- function Rn(e) {
1408
+ function Nr(e) {
1428
1409
  return e == null || typeof e == "number" || typeof e == "boolean";
1429
1410
  }
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;
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;
1433
1414
  }
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;
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;
1437
1418
  }
1438
- function rr(e, t, r, n, i) {
1439
- return r.bind(t, e, n, i);
1419
+ function rt(e, t, n, r, i) {
1420
+ return n.bind(t, e, r, i);
1440
1421
  }
1441
- function Dn(e, t) {
1442
- var r = e.length === 1 ? Un : tr;
1443
- return rr(e, this, r, t.cache.create(), t.serializer);
1422
+ function Mr(e, t) {
1423
+ var n = e.length === 1 ? Jt : Yt;
1424
+ return rt(e, this, n, t.cache.create(), t.serializer);
1444
1425
  }
1445
- function Gn(e, t) {
1446
- return rr(e, this, tr, t.cache.create(), t.serializer);
1426
+ function Cr(e, t) {
1427
+ return rt(e, this, Yt, t.cache.create(), t.serializer);
1447
1428
  }
1448
- var Fn = function() {
1429
+ function $r(e, t) {
1430
+ return rt(e, this, Jt, t.cache.create(), t.serializer);
1431
+ }
1432
+ var Rr = function() {
1449
1433
  return JSON.stringify(arguments);
1450
- }, jn = (
1434
+ }, Ur = (
1451
1435
  /** @class */
1452
1436
  function() {
1453
1437
  function e() {
@@ -1455,27 +1439,18 @@ var Fn = function() {
1455
1439
  }
1456
1440
  return e.prototype.get = function(t) {
1457
1441
  return this.cache[t];
1458
- }, e.prototype.set = function(t, r) {
1459
- this.cache[t] = r;
1442
+ }, e.prototype.set = function(t, n) {
1443
+ this.cache[t] = n;
1460
1444
  }, e;
1461
1445
  }()
1462
- ), kn = {
1446
+ ), Dr = {
1463
1447
  create: function() {
1464
- return new jn();
1448
+ return new Ur();
1465
1449
  }
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;
1450
+ }, $e = {
1451
+ variadic: Cr,
1452
+ monadic: $r
1453
+ }, b;
1479
1454
  (function(e) {
1480
1455
  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";
1481
1456
  })(b || (b = {}));
@@ -1483,54 +1458,54 @@ var v;
1483
1458
  (function(e) {
1484
1459
  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";
1485
1460
  })(v || (v = {}));
1486
- var Z;
1461
+ var q;
1487
1462
  (function(e) {
1488
1463
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1489
- })(Z || (Z = {}));
1490
- function Et(e) {
1464
+ })(q || (q = {}));
1465
+ function gt(e) {
1491
1466
  return e.type === v.literal;
1492
1467
  }
1493
- function Vn(e) {
1468
+ function Gr(e) {
1494
1469
  return e.type === v.argument;
1495
1470
  }
1496
- function nr(e) {
1471
+ function Kt(e) {
1497
1472
  return e.type === v.number;
1498
1473
  }
1499
- function ir(e) {
1474
+ function en(e) {
1500
1475
  return e.type === v.date;
1501
1476
  }
1502
- function or(e) {
1477
+ function tn(e) {
1503
1478
  return e.type === v.time;
1504
1479
  }
1505
- function sr(e) {
1480
+ function nn(e) {
1506
1481
  return e.type === v.select;
1507
1482
  }
1508
- function ar(e) {
1483
+ function rn(e) {
1509
1484
  return e.type === v.plural;
1510
1485
  }
1511
- function Xn(e) {
1486
+ function Fr(e) {
1512
1487
  return e.type === v.pound;
1513
1488
  }
1514
- function ur(e) {
1489
+ function on(e) {
1515
1490
  return e.type === v.tag;
1516
1491
  }
1517
- function lr(e) {
1518
- return !!(e && typeof e == "object" && e.type === Z.number);
1492
+ function sn(e) {
1493
+ return !!(e && typeof e == "object" && e.type === q.number);
1519
1494
  }
1520
- function Ye(e) {
1521
- return !!(e && typeof e == "object" && e.type === Z.dateTime);
1495
+ function ze(e) {
1496
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
1522
1497
  }
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) {
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) {
1525
1500
  var t = {};
1526
- return e.replace(Wn, function(r) {
1527
- var n = r.length;
1528
- switch (r[0]) {
1501
+ return e.replace(jr, function(n) {
1502
+ var r = n.length;
1503
+ switch (n[0]) {
1529
1504
  case "G":
1530
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1505
+ t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1531
1506
  break;
1532
1507
  case "y":
1533
- t.year = n === 2 ? "2-digit" : "numeric";
1508
+ t.year = r === 2 ? "2-digit" : "numeric";
1534
1509
  break;
1535
1510
  case "Y":
1536
1511
  case "u":
@@ -1542,30 +1517,30 @@ function zn(e) {
1542
1517
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
1543
1518
  case "M":
1544
1519
  case "L":
1545
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1520
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
1546
1521
  break;
1547
1522
  case "w":
1548
1523
  case "W":
1549
1524
  throw new RangeError("`w/W` (week) patterns are not supported");
1550
1525
  case "d":
1551
- t.day = ["numeric", "2-digit"][n - 1];
1526
+ t.day = ["numeric", "2-digit"][r - 1];
1552
1527
  break;
1553
1528
  case "D":
1554
1529
  case "F":
1555
1530
  case "g":
1556
1531
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1557
1532
  case "E":
1558
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1533
+ t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1559
1534
  break;
1560
1535
  case "e":
1561
- if (n < 4)
1536
+ if (r < 4)
1562
1537
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
1563
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1538
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
1564
1539
  break;
1565
1540
  case "c":
1566
- if (n < 4)
1541
+ if (r < 4)
1567
1542
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1568
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1543
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
1569
1544
  break;
1570
1545
  case "a":
1571
1546
  t.hour12 = !0;
@@ -1574,32 +1549,32 @@ function zn(e) {
1574
1549
  case "B":
1575
1550
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1576
1551
  case "h":
1577
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1552
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
1578
1553
  break;
1579
1554
  case "H":
1580
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1555
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
1581
1556
  break;
1582
1557
  case "K":
1583
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1558
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
1584
1559
  break;
1585
1560
  case "k":
1586
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1561
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
1587
1562
  break;
1588
1563
  case "j":
1589
1564
  case "J":
1590
1565
  case "C":
1591
1566
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1592
1567
  case "m":
1593
- t.minute = ["numeric", "2-digit"][n - 1];
1568
+ t.minute = ["numeric", "2-digit"][r - 1];
1594
1569
  break;
1595
1570
  case "s":
1596
- t.second = ["numeric", "2-digit"][n - 1];
1571
+ t.second = ["numeric", "2-digit"][r - 1];
1597
1572
  break;
1598
1573
  case "S":
1599
1574
  case "A":
1600
1575
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1601
1576
  case "z":
1602
- t.timeZoneName = n < 4 ? "short" : "long";
1577
+ t.timeZoneName = r < 4 ? "short" : "long";
1603
1578
  break;
1604
1579
  case "Z":
1605
1580
  case "O":
@@ -1612,46 +1587,36 @@ function zn(e) {
1612
1587
  return "";
1613
1588
  }), t;
1614
1589
  }
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) {
1590
+ var Vr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1591
+ function Xr(e) {
1627
1592
  if (e.length === 0)
1628
1593
  throw new Error("Number skeleton cannot be empty");
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("/");
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("/");
1633
1598
  if (a.length === 0)
1634
1599
  throw new Error("Invalid number skeleton");
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)
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)
1638
1603
  throw new Error("Invalid number skeleton");
1639
1604
  }
1640
- r.push({ stem: s, options: l });
1605
+ n.push({ stem: s, options: h });
1641
1606
  }
1642
- return r;
1607
+ return n;
1643
1608
  }
1644
- function Qn(e) {
1609
+ function Wr(e) {
1645
1610
  return e.replace(/^(.*?)-/, "");
1646
1611
  }
1647
- var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1648
- function St(e) {
1612
+ var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, un = /^(@+)?(\+|#+)?[rs]?$/g, zr = /(\*)(0+)|(#+)(0+)|(0+)/g, hn = /^(0+)$/;
1613
+ function _t(e) {
1649
1614
  var t = {};
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)), "";
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)), "";
1652
1617
  }), t;
1653
1618
  }
1654
- function pr(e) {
1619
+ function ln(e) {
1655
1620
  switch (e) {
1656
1621
  case "sign-auto":
1657
1622
  return {
@@ -1691,27 +1656,27 @@ function pr(e) {
1691
1656
  };
1692
1657
  }
1693
1658
  }
1694
- function Yn(e) {
1659
+ function Zr(e) {
1695
1660
  var t;
1696
1661
  if (e[0] === "E" && e[1] === "E" ? (t = {
1697
1662
  notation: "engineering"
1698
1663
  }, e = e.slice(2)) : e[0] === "E" && (t = {
1699
1664
  notation: "scientific"
1700
1665
  }, e = e.slice(1)), t) {
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))
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))
1703
1668
  throw new Error("Malformed concise eng/scientific notation");
1704
1669
  t.minimumIntegerDigits = e.length;
1705
1670
  }
1706
1671
  return t;
1707
1672
  }
1708
- function wt(e) {
1709
- var t = {}, r = pr(e);
1710
- return r || t;
1673
+ function vt(e) {
1674
+ var t = {}, n = ln(e);
1675
+ return n || t;
1711
1676
  }
1712
- function Kn(e) {
1713
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
1714
- var i = n[r];
1677
+ function qr(e) {
1678
+ for (var t = {}, n = 0, r = e; n < r.length; n++) {
1679
+ var i = r[n];
1715
1680
  switch (i.stem) {
1716
1681
  case "percent":
1717
1682
  case "%":
@@ -1733,7 +1698,7 @@ function Kn(e) {
1733
1698
  continue;
1734
1699
  case "measure-unit":
1735
1700
  case "unit":
1736
- t.style = "unit", t.unit = Qn(i.options[0]);
1701
+ t.style = "unit", t.unit = Wr(i.options[0]);
1737
1702
  continue;
1738
1703
  case "compact-short":
1739
1704
  case "K":
@@ -1744,13 +1709,13 @@ function Kn(e) {
1744
1709
  t.notation = "compact", t.compactDisplay = "long";
1745
1710
  continue;
1746
1711
  case "scientific":
1747
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1748
- return E(E({}, l), wt(u));
1712
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1713
+ return y(y({}, h), vt(u));
1749
1714
  }, {}));
1750
1715
  continue;
1751
1716
  case "engineering":
1752
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1753
- return E(E({}, l), wt(u));
1717
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1718
+ return y(y({}, h), vt(u));
1754
1719
  }, {}));
1755
1720
  continue;
1756
1721
  case "notation-simple":
@@ -1795,41 +1760,41 @@ function Kn(e) {
1795
1760
  case "integer-width":
1796
1761
  if (i.options.length > 1)
1797
1762
  throw new RangeError("integer-width stems only accept a single optional option");
1798
- i.options[0].replace(Jn, function(l, u, h, f, c, d) {
1763
+ i.options[0].replace(zr, function(h, u, l, c, f, p) {
1799
1764
  if (u)
1800
- t.minimumIntegerDigits = h.length;
1765
+ t.minimumIntegerDigits = l.length;
1801
1766
  else {
1802
- if (f && c)
1767
+ if (c && f)
1803
1768
  throw new Error("We currently do not support maximum integer digits");
1804
- if (d)
1769
+ if (p)
1805
1770
  throw new Error("We currently do not support exact integer digits");
1806
1771
  }
1807
1772
  return "";
1808
1773
  });
1809
1774
  continue;
1810
1775
  }
1811
- if (fr.test(i.stem)) {
1776
+ if (hn.test(i.stem)) {
1812
1777
  t.minimumIntegerDigits = i.stem.length;
1813
1778
  continue;
1814
1779
  }
1815
- if (xt.test(i.stem)) {
1780
+ if (yt.test(i.stem)) {
1816
1781
  if (i.options.length > 1)
1817
1782
  throw new RangeError("Fraction-precision stems only accept a single optional option");
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), "";
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), "";
1820
1785
  });
1821
1786
  var o = i.options[0];
1822
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), St(o)));
1787
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), _t(o)));
1823
1788
  continue;
1824
1789
  }
1825
- if (cr.test(i.stem)) {
1826
- t = E(E({}, t), St(i.stem));
1790
+ if (un.test(i.stem)) {
1791
+ t = y(y({}, t), _t(i.stem));
1827
1792
  continue;
1828
1793
  }
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));
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));
1833
1798
  }
1834
1799
  return t;
1835
1800
  }
@@ -3248,23 +3213,23 @@ var me = {
3248
3213
  "h"
3249
3214
  ]
3250
3215
  };
3251
- function ei(e, t) {
3252
- for (var r = "", n = 0; n < e.length; n++) {
3253
- var i = e.charAt(n);
3216
+ function Qr(e, t) {
3217
+ for (var n = "", r = 0; r < e.length; r++) {
3218
+ var i = e.charAt(r);
3254
3219
  if (i === "j") {
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);
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);
3258
3223
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3259
- r += l;
3224
+ n += h;
3260
3225
  for (; a-- > 0; )
3261
- r = u + r;
3226
+ n = u + n;
3262
3227
  } else
3263
- i === "J" ? r += "H" : r += i;
3228
+ i === "J" ? n += "H" : n += i;
3264
3229
  }
3265
- return r;
3230
+ return n;
3266
3231
  }
3267
- function ti(e) {
3232
+ function Jr(e) {
3268
3233
  var t = e.hourCycle;
3269
3234
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3270
3235
  e.hourCycles && // @ts-ignore
@@ -3281,73 +3246,73 @@ function ti(e) {
3281
3246
  default:
3282
3247
  throw new Error("Invalid hourCycle");
3283
3248
  }
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"];
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"];
3287
3252
  return i[0];
3288
3253
  }
3289
- var Ge, ri = new RegExp("^".concat(hr.source, "*")), ni = new RegExp("".concat(hr.source, "*$"));
3290
- function y(e, t) {
3254
+ var Re, Yr = new RegExp("^".concat(an.source, "*")), Kr = new RegExp("".concat(an.source, "*$"));
3255
+ function g(e, t) {
3291
3256
  return { start: e, end: t };
3292
3257
  }
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) {
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) {
3294
3259
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3295
- }, Ke = !0;
3260
+ }, Ze = !0;
3296
3261
  try {
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";
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";
3299
3264
  } catch {
3300
- Ke = !1;
3265
+ Ze = !1;
3301
3266
  }
3302
- var Tt = ii ? (
3267
+ var xt = ei ? (
3303
3268
  // Native
3304
- function(t, r, n) {
3305
- return t.startsWith(r, n);
3269
+ function(t, n, r) {
3270
+ return t.startsWith(n, r);
3306
3271
  }
3307
3272
  ) : (
3308
3273
  // For IE11
3309
- function(t, r, n) {
3310
- return t.slice(n, n + r.length) === r;
3274
+ function(t, n, r) {
3275
+ return t.slice(r, r + n.length) === n;
3311
3276
  }
3312
- ), et = oi ? String.fromCodePoint : (
3277
+ ), qe = ti ? String.fromCodePoint : (
3313
3278
  // IE11
3314
3279
  function() {
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; ) {
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; ) {
3318
3283
  if (a = t[o++], a > 1114111)
3319
3284
  throw RangeError(a + " is not a valid code point");
3320
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3285
+ r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3321
3286
  }
3322
- return n;
3287
+ return r;
3323
3288
  }
3324
- ), Ht = (
3289
+ ), Et = (
3325
3290
  // native
3326
- si ? Object.fromEntries : (
3291
+ ni ? Object.fromEntries : (
3327
3292
  // Ponyfill
3328
3293
  function(t) {
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;
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;
3332
3297
  }
3333
- return r;
3298
+ return n;
3334
3299
  }
3335
3300
  )
3336
- ), dr = ai ? (
3301
+ ), fn = ri ? (
3337
3302
  // Native
3338
- function(t, r) {
3339
- return t.codePointAt(r);
3303
+ function(t, n) {
3304
+ return t.codePointAt(n);
3340
3305
  }
3341
3306
  ) : (
3342
3307
  // IE 11
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;
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;
3348
3313
  }
3349
3314
  }
3350
- ), pi = ui ? (
3315
+ ), hi = ii ? (
3351
3316
  // Native
3352
3317
  function(t) {
3353
3318
  return t.trimStart();
@@ -3355,9 +3320,9 @@ var Tt = ii ? (
3355
3320
  ) : (
3356
3321
  // Ponyfill
3357
3322
  function(t) {
3358
- return t.replace(ri, "");
3323
+ return t.replace(Yr, "");
3359
3324
  }
3360
- ), di = li ? (
3325
+ ), li = oi ? (
3361
3326
  // Native
3362
3327
  function(t) {
3363
3328
  return t.trimEnd();
@@ -3365,69 +3330,69 @@ var Tt = ii ? (
3365
3330
  ) : (
3366
3331
  // Ponyfill
3367
3332
  function(t) {
3368
- return t.replace(ni, "");
3333
+ return t.replace(Kr, "");
3369
3334
  }
3370
3335
  );
3371
- function mr(e, t) {
3336
+ function cn(e, t) {
3372
3337
  return new RegExp(e, t);
3373
3338
  }
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 : "";
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 : "";
3382
3347
  };
3383
3348
  } else
3384
- tt = function(t, r) {
3385
- for (var n = []; ; ) {
3386
- var i = dr(t, r);
3387
- if (i === void 0 || br(i) || gi(i))
3349
+ Qe = function(t, n) {
3350
+ for (var r = []; ; ) {
3351
+ var i = fn(t, n);
3352
+ if (i === void 0 || dn(i) || pi(i))
3388
3353
  break;
3389
- n.push(i), r += i >= 65536 ? 2 : 1;
3354
+ r.push(i), n += i >= 65536 ? 2 : 1;
3390
3355
  }
3391
- return et.apply(void 0, n);
3356
+ return qe.apply(void 0, r);
3392
3357
  };
3393
- var mi = (
3358
+ var fi = (
3394
3359
  /** @class */
3395
3360
  function() {
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;
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;
3398
3363
  }
3399
3364
  return e.prototype.parse = function() {
3400
3365
  if (this.offset() !== 0)
3401
3366
  throw Error("parser can only be used once");
3402
3367
  return this.parseMessage(0, "", !1);
3403
- }, e.prototype.parseMessage = function(t, r, n) {
3368
+ }, e.prototype.parseMessage = function(t, n, r) {
3404
3369
  for (var i = []; !this.isEOF(); ) {
3405
3370
  var o = this.char();
3406
3371
  if (o === 123) {
3407
- var a = this.parseArgument(t, n);
3372
+ var a = this.parseArgument(t, r);
3408
3373
  if (a.err)
3409
3374
  return a;
3410
3375
  i.push(a.val);
3411
3376
  } else {
3412
3377
  if (o === 125 && t > 0)
3413
3378
  break;
3414
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3379
+ if (o === 35 && (n === "plural" || n === "selectordinal")) {
3415
3380
  var s = this.clonePosition();
3416
3381
  this.bump(), i.push({
3417
3382
  type: v.pound,
3418
- location: y(s, this.clonePosition())
3383
+ location: g(s, this.clonePosition())
3419
3384
  });
3420
3385
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3421
- if (n)
3386
+ if (r)
3422
3387
  break;
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);
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);
3426
3391
  if (a.err)
3427
3392
  return a;
3428
3393
  i.push(a.val);
3429
3394
  } else {
3430
- var a = this.parseLiteral(t, r);
3395
+ var a = this.parseLiteral(t, n);
3431
3396
  if (a.err)
3432
3397
  return a;
3433
3398
  i.push(a.val);
@@ -3435,8 +3400,8 @@ var mi = (
3435
3400
  }
3436
3401
  }
3437
3402
  return { val: i, err: null };
3438
- }, e.prototype.parseTag = function(t, r) {
3439
- var n = this.clonePosition();
3403
+ }, e.prototype.parseTag = function(t, n) {
3404
+ var r = this.clonePosition();
3440
3405
  this.bump();
3441
3406
  var i = this.parseTagName();
3442
3407
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -3444,45 +3409,45 @@ var mi = (
3444
3409
  val: {
3445
3410
  type: v.literal,
3446
3411
  value: "<".concat(i, "/>"),
3447
- location: y(n, this.clonePosition())
3412
+ location: g(r, this.clonePosition())
3448
3413
  },
3449
3414
  err: null
3450
3415
  };
3451
3416
  if (this.bumpIf(">")) {
3452
- var o = this.parseMessage(t + 1, r, !0);
3417
+ var o = this.parseMessage(t + 1, n, !0);
3453
3418
  if (o.err)
3454
3419
  return o;
3455
3420
  var a = o.val, s = this.clonePosition();
3456
3421
  if (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(">") ? {
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(">") ? {
3461
3426
  val: {
3462
3427
  type: v.tag,
3463
3428
  value: i,
3464
3429
  children: a,
3465
- location: y(n, this.clonePosition())
3430
+ location: g(r, this.clonePosition())
3466
3431
  },
3467
3432
  err: null
3468
- } : this.error(b.INVALID_TAG, y(s, this.clonePosition())));
3433
+ } : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
3469
3434
  } else
3470
- return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
3435
+ return this.error(b.UNCLOSED_TAG, g(r, this.clonePosition()));
3471
3436
  } else
3472
- return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
3437
+ return this.error(b.INVALID_TAG, g(r, this.clonePosition()));
3473
3438
  }, e.prototype.parseTagName = function() {
3474
3439
  var t = this.offset();
3475
- for (this.bump(); !this.isEOF() && yi(this.char()); )
3440
+ for (this.bump(); !this.isEOF() && di(this.char()); )
3476
3441
  this.bump();
3477
3442
  return this.message.slice(t, this.offset());
3478
- }, e.prototype.parseLiteral = function(t, r) {
3479
- for (var n = this.clonePosition(), i = ""; ; ) {
3480
- var o = this.tryParseQuote(r);
3443
+ }, e.prototype.parseLiteral = function(t, n) {
3444
+ for (var r = this.clonePosition(), i = ""; ; ) {
3445
+ var o = this.tryParseQuote(n);
3481
3446
  if (o) {
3482
3447
  i += o;
3483
3448
  continue;
3484
3449
  }
3485
- var a = this.tryParseUnquoted(t, r);
3450
+ var a = this.tryParseUnquoted(t, n);
3486
3451
  if (a) {
3487
3452
  i += a;
3488
3453
  continue;
@@ -3494,14 +3459,14 @@ var mi = (
3494
3459
  }
3495
3460
  break;
3496
3461
  }
3497
- var l = y(n, this.clonePosition());
3462
+ var h = g(r, this.clonePosition());
3498
3463
  return {
3499
- val: { type: v.literal, value: i, location: l },
3464
+ val: { type: v.literal, value: i, location: h },
3500
3465
  err: null
3501
3466
  };
3502
3467
  }, e.prototype.tryParseLeftAngleBracket = function() {
3503
3468
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3504
- !bi(this.peek() || 0)) ? (this.bump(), "<") : null;
3469
+ !ci(this.peek() || 0)) ? (this.bump(), "<") : null;
3505
3470
  }, e.prototype.tryParseQuote = function(t) {
3506
3471
  if (this.isEOF() || this.char() !== 39)
3507
3472
  return null;
@@ -3521,37 +3486,37 @@ var mi = (
3521
3486
  return null;
3522
3487
  }
3523
3488
  this.bump();
3524
- var r = [this.char()];
3489
+ var n = [this.char()];
3525
3490
  for (this.bump(); !this.isEOF(); ) {
3526
- var n = this.char();
3527
- if (n === 39)
3491
+ var r = this.char();
3492
+ if (r === 39)
3528
3493
  if (this.peek() === 39)
3529
- r.push(39), this.bump();
3494
+ n.push(39), this.bump();
3530
3495
  else {
3531
3496
  this.bump();
3532
3497
  break;
3533
3498
  }
3534
3499
  else
3535
- r.push(n);
3500
+ n.push(r);
3536
3501
  this.bump();
3537
3502
  }
3538
- return et.apply(void 0, r);
3539
- }, e.prototype.tryParseUnquoted = function(t, r) {
3503
+ return qe.apply(void 0, n);
3504
+ }, e.prototype.tryParseUnquoted = function(t, n) {
3540
3505
  if (this.isEOF())
3541
3506
  return null;
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();
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();
3546
3511
  if (this.bump(), this.bumpSpace(), this.isEOF())
3547
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3512
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition()));
3548
3513
  if (this.char() === 125)
3549
- return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3514
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, g(r, this.clonePosition()));
3550
3515
  var i = this.parseIdentifierIfPossible().value;
3551
3516
  if (!i)
3552
- return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3517
+ return this.error(b.MALFORMED_ARGUMENT, g(r, this.clonePosition()));
3553
3518
  if (this.bumpSpace(), this.isEOF())
3554
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3519
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition()));
3555
3520
  switch (this.char()) {
3556
3521
  case 125:
3557
3522
  return this.bump(), {
@@ -3559,25 +3524,25 @@ var mi = (
3559
3524
  type: v.argument,
3560
3525
  // value does not include the opening and closing braces.
3561
3526
  value: i,
3562
- location: y(n, this.clonePosition())
3527
+ location: g(r, this.clonePosition())
3563
3528
  },
3564
3529
  err: null
3565
3530
  };
3566
3531
  case 44:
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);
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);
3568
3533
  default:
3569
- return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3534
+ return this.error(b.MALFORMED_ARGUMENT, g(r, this.clonePosition()));
3570
3535
  }
3571
3536
  }, e.prototype.parseIdentifierIfPossible = function() {
3572
- var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
3537
+ var t = this.clonePosition(), n = this.offset(), r = Qe(this.message, n), i = n + r.length;
3573
3538
  this.bumpTo(i);
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();
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();
3578
3543
  switch (s) {
3579
3544
  case "":
3580
- return this.error(b.EXPECT_ARGUMENT_TYPE, y(a, l));
3545
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, h));
3581
3546
  case "number":
3582
3547
  case "date":
3583
3548
  case "time": {
@@ -3585,40 +3550,40 @@ var mi = (
3585
3550
  var u = null;
3586
3551
  if (this.bumpIf(",")) {
3587
3552
  this.bumpSpace();
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 };
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 };
3596
3561
  }
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));
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));
3603
3568
  if (s === "number") {
3604
- var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
3605
- return f.err ? f : {
3606
- val: { type: v.number, value: n, location: m, style: f.val },
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 },
3607
3572
  err: null
3608
3573
  };
3609
3574
  } else {
3610
- if (_.length === 0)
3575
+ if (x.length === 0)
3611
3576
  return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3612
- var w = _;
3613
- this.locale && (w = ei(_, this.locale));
3614
- var c = {
3615
- type: Z.dateTime,
3616
- pattern: w,
3577
+ var T = x;
3578
+ this.locale && (T = Qr(x, this.locale));
3579
+ var f = {
3580
+ type: q.dateTime,
3581
+ pattern: T,
3617
3582
  location: u.styleLocation,
3618
- parsedOptions: this.shouldParseSkeletons ? zn(w) : {}
3583
+ parsedOptions: this.shouldParseSkeletons ? kr(T) : {}
3619
3584
  }, P = s === "date" ? v.date : v.time;
3620
3585
  return {
3621
- val: { type: P, value: n, location: m, style: c },
3586
+ val: { type: P, value: r, location: m, style: f },
3622
3587
  err: null
3623
3588
  };
3624
3589
  }
@@ -3626,7 +3591,7 @@ var mi = (
3626
3591
  return {
3627
3592
  val: {
3628
3593
  type: s === "number" ? v.number : s === "date" ? v.date : v.time,
3629
- value: n,
3594
+ value: r,
3630
3595
  location: m,
3631
3596
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3632
3597
  },
@@ -3636,61 +3601,61 @@ var mi = (
3636
3601
  case "plural":
3637
3602
  case "selectordinal":
3638
3603
  case "select": {
3639
- var x = this.clonePosition();
3604
+ var E = this.clonePosition();
3640
3605
  if (this.bumpSpace(), !this.bumpIf(","))
3641
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(x, we({}, x)));
3606
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, y({}, E)));
3642
3607
  this.bumpSpace();
3643
- var O = this.parseIdentifierIfPossible(), T = 0;
3608
+ var O = this.parseIdentifierIfPossible(), w = 0;
3644
3609
  if (s !== "select" && O.value === "offset") {
3645
3610
  if (!this.bumpIf(":"))
3646
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3611
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3647
3612
  this.bumpSpace();
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;
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;
3652
3617
  }
3653
- var $ = this.tryParsePluralOrSelectOptions(t, s, r, O);
3618
+ var $ = this.tryParsePluralOrSelectOptions(t, s, n, O);
3654
3619
  if ($.err)
3655
3620
  return $;
3656
- var p = this.tryParseArgumentClose(i);
3657
- if (p.err)
3658
- return p;
3659
- var fe = y(i, this.clonePosition());
3621
+ var d = this.tryParseArgumentClose(i);
3622
+ if (d.err)
3623
+ return d;
3624
+ var ce = g(i, this.clonePosition());
3660
3625
  return s === "select" ? {
3661
3626
  val: {
3662
3627
  type: v.select,
3663
- value: n,
3664
- options: Ht($.val),
3665
- location: fe
3628
+ value: r,
3629
+ options: Et($.val),
3630
+ location: ce
3666
3631
  },
3667
3632
  err: null
3668
3633
  } : {
3669
3634
  val: {
3670
3635
  type: v.plural,
3671
- value: n,
3672
- options: Ht($.val),
3673
- offset: T,
3636
+ value: r,
3637
+ options: Et($.val),
3638
+ offset: w,
3674
3639
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3675
- location: fe
3640
+ location: ce
3676
3641
  },
3677
3642
  err: null
3678
3643
  };
3679
3644
  }
3680
3645
  default:
3681
- return this.error(b.INVALID_ARGUMENT_TYPE, y(a, l));
3646
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(a, h));
3682
3647
  }
3683
3648
  }, e.prototype.tryParseArgumentClose = function(t) {
3684
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3649
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3685
3650
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3686
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3687
- var n = this.char();
3688
- switch (n) {
3651
+ for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3652
+ var r = this.char();
3653
+ switch (r) {
3689
3654
  case 39: {
3690
3655
  this.bump();
3691
3656
  var i = this.clonePosition();
3692
3657
  if (!this.bumpUntil("'"))
3693
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3658
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3694
3659
  this.bump();
3695
3660
  break;
3696
3661
  }
@@ -3703,7 +3668,7 @@ var mi = (
3703
3668
  t -= 1;
3704
3669
  else
3705
3670
  return {
3706
- val: this.message.slice(r.offset, this.offset()),
3671
+ val: this.message.slice(n.offset, this.offset()),
3707
3672
  err: null
3708
3673
  };
3709
3674
  break;
@@ -3714,61 +3679,61 @@ var mi = (
3714
3679
  }
3715
3680
  }
3716
3681
  return {
3717
- val: this.message.slice(r.offset, this.offset()),
3682
+ val: this.message.slice(n.offset, this.offset()),
3718
3683
  err: null
3719
3684
  };
3720
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3721
- var n = [];
3685
+ }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3686
+ var r = [];
3722
3687
  try {
3723
- n = qn(t);
3688
+ r = Xr(t);
3724
3689
  } catch {
3725
- return this.error(b.INVALID_NUMBER_SKELETON, r);
3690
+ return this.error(b.INVALID_NUMBER_SKELETON, n);
3726
3691
  }
3727
3692
  return {
3728
3693
  val: {
3729
- type: Z.number,
3730
- tokens: n,
3731
- location: r,
3732
- parsedOptions: this.shouldParseSkeletons ? Kn(n) : {}
3694
+ type: q.number,
3695
+ tokens: r,
3696
+ location: n,
3697
+ parsedOptions: this.shouldParseSkeletons ? qr(r) : {}
3733
3698
  },
3734
3699
  err: null
3735
3700
  };
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; ; ) {
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; ; ) {
3738
3703
  if (u.length === 0) {
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());
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());
3745
3710
  } else
3746
3711
  break;
3747
3712
  }
3748
- if (l.has(u))
3749
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3713
+ if (h.has(u))
3714
+ return this.error(n === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3750
3715
  u === "other" && (a = !0), this.bumpSpace();
3751
- var d = this.clonePosition();
3716
+ var p = this.clonePosition();
3752
3717
  if (!this.bumpIf("{"))
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);
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);
3758
3723
  if (m.err)
3759
3724
  return m;
3760
3725
  s.push([
3761
3726
  u,
3762
3727
  {
3763
- value: p.val,
3764
- location: y(d, this.clonePosition())
3728
+ value: d.val,
3729
+ location: g(p, this.clonePosition())
3765
3730
  }
3766
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3731
+ ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3767
3732
  }
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);
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);
3772
3737
  for (var o = !1, a = 0; !this.isEOF(); ) {
3773
3738
  var s = this.char();
3774
3739
  if (s >= 48 && s <= 57)
@@ -3776,8 +3741,8 @@ var mi = (
3776
3741
  else
3777
3742
  break;
3778
3743
  }
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);
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);
3781
3746
  }, e.prototype.offset = function() {
3782
3747
  return this.position.offset;
3783
3748
  }, e.prototype.isEOF = function() {
@@ -3792,17 +3757,17 @@ var mi = (
3792
3757
  var t = this.position.offset;
3793
3758
  if (t >= this.message.length)
3794
3759
  throw Error("out of bound");
3795
- var r = dr(this.message, t);
3796
- if (r === void 0)
3760
+ var n = fn(this.message, t);
3761
+ if (n === void 0)
3797
3762
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3798
- return r;
3799
- }, e.prototype.error = function(t, r) {
3763
+ return n;
3764
+ }, e.prototype.error = function(t, n) {
3800
3765
  return {
3801
3766
  val: null,
3802
3767
  err: {
3803
3768
  kind: t,
3804
3769
  message: this.message,
3805
- location: r
3770
+ location: n
3806
3771
  }
3807
3772
  };
3808
3773
  }, e.prototype.bump = function() {
@@ -3811,320 +3776,320 @@ var mi = (
3811
3776
  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);
3812
3777
  }
3813
3778
  }, e.prototype.bumpIf = function(t) {
3814
- if (Tt(this.message, t, this.offset())) {
3815
- for (var r = 0; r < t.length; r++)
3779
+ if (xt(this.message, t, this.offset())) {
3780
+ for (var n = 0; n < t.length; n++)
3816
3781
  this.bump();
3817
3782
  return !0;
3818
3783
  }
3819
3784
  return !1;
3820
3785
  }, e.prototype.bumpUntil = function(t) {
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);
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);
3823
3788
  }, e.prototype.bumpTo = function(t) {
3824
3789
  if (this.offset() > t)
3825
3790
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3826
3791
  for (t = Math.min(t, this.message.length); ; ) {
3827
- var r = this.offset();
3828
- if (r === t)
3792
+ var n = this.offset();
3793
+ if (n === t)
3829
3794
  break;
3830
- if (r > t)
3795
+ if (n > t)
3831
3796
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3832
3797
  if (this.bump(), this.isEOF())
3833
3798
  break;
3834
3799
  }
3835
3800
  }, e.prototype.bumpSpace = function() {
3836
- for (; !this.isEOF() && br(this.char()); )
3801
+ for (; !this.isEOF() && dn(this.char()); )
3837
3802
  this.bump();
3838
3803
  }, e.prototype.peek = function() {
3839
3804
  if (this.isEOF())
3840
3805
  return null;
3841
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3842
- return n ?? null;
3806
+ var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3807
+ return r ?? null;
3843
3808
  }, e;
3844
3809
  }()
3845
3810
  );
3846
- function rt(e) {
3811
+ function Je(e) {
3847
3812
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3848
3813
  }
3849
- function bi(e) {
3850
- return rt(e) || e === 47;
3814
+ function ci(e) {
3815
+ return Je(e) || e === 47;
3851
3816
  }
3852
- function yi(e) {
3817
+ function di(e) {
3853
3818
  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;
3854
3819
  }
3855
- function br(e) {
3820
+ function dn(e) {
3856
3821
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3857
3822
  }
3858
- function gi(e) {
3823
+ function pi(e) {
3859
3824
  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;
3860
3825
  }
3861
- function nt(e) {
3826
+ function Ye(e) {
3862
3827
  e.forEach(function(t) {
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);
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);
3866
3831
  else
3867
- nr(t) && lr(t.style) || (ir(t) || or(t)) && Ye(t.style) ? delete t.style.location : ur(t) && nt(t.children);
3832
+ Kt(t) && sn(t.style) || (en(t) || tn(t)) && ze(t.style) ? delete t.style.location : on(t) && Ye(t.children);
3868
3833
  });
3869
3834
  }
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;
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;
3876
3841
  }
3877
- return t?.captureLocation || nt(r.val), r.val;
3842
+ return t?.captureLocation || Ye(n.val), n.val;
3878
3843
  }
3879
- var q;
3844
+ var Q;
3880
3845
  (function(e) {
3881
3846
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3882
- })(q || (q = {}));
3883
- var Oe = (
3847
+ })(Q || (Q = {}));
3848
+ var Ae = (
3884
3849
  /** @class */
3885
3850
  function(e) {
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;
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;
3890
3855
  }
3891
3856
  return t.prototype.toString = function() {
3892
3857
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3893
3858
  }, t;
3894
3859
  }(Error)
3895
- ), At = (
3860
+ ), Tt = (
3896
3861
  /** @class */
3897
3862
  function(e) {
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;
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;
3901
3866
  }
3902
3867
  return t;
3903
- }(Oe)
3904
- ), _i = (
3868
+ }(Ae)
3869
+ ), bi = (
3905
3870
  /** @class */
3906
3871
  function(e) {
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;
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;
3910
3875
  }
3911
3876
  return t;
3912
- }(Oe)
3913
- ), Ei = (
3877
+ }(Ae)
3878
+ ), gi = (
3914
3879
  /** @class */
3915
3880
  function(e) {
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;
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;
3919
3884
  }
3920
3885
  return t;
3921
- }(Oe)
3886
+ }(Ae)
3922
3887
  ), S;
3923
3888
  (function(e) {
3924
3889
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3925
3890
  })(S || (S = {}));
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;
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;
3930
3895
  }, []);
3931
3896
  }
3932
- function Si(e) {
3897
+ function _i(e) {
3933
3898
  return typeof e == "function";
3934
3899
  }
3935
- function ve(e, t, r, n, i, o, a) {
3936
- if (e.length === 1 && Et(e[0]))
3900
+ function _e(e, t, n, r, i, o, a) {
3901
+ if (e.length === 1 && gt(e[0]))
3937
3902
  return [
3938
3903
  {
3939
3904
  type: S.literal,
3940
3905
  value: e[0].value
3941
3906
  }
3942
3907
  ];
3943
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3944
- var h = u[l];
3945
- if (Et(h)) {
3908
+ for (var s = [], h = 0, u = e; h < u.length; h++) {
3909
+ var l = u[h];
3910
+ if (gt(l)) {
3946
3911
  s.push({
3947
3912
  type: S.literal,
3948
- value: h.value
3913
+ value: l.value
3949
3914
  });
3950
3915
  continue;
3951
3916
  }
3952
- if (Xn(h)) {
3917
+ if (Fr(l)) {
3953
3918
  typeof o == "number" && s.push({
3954
3919
  type: S.literal,
3955
- value: r.getNumberFormat(t).format(o)
3920
+ value: n.getNumberFormat(t).format(o)
3956
3921
  });
3957
3922
  continue;
3958
3923
  }
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
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
3967
3932
  });
3968
3933
  continue;
3969
3934
  }
3970
- if (ir(h)) {
3971
- var d = typeof h.style == "string" ? n.date[h.style] : Ye(h.style) ? h.style.parsedOptions : void 0;
3935
+ if (en(l)) {
3936
+ var p = typeof l.style == "string" ? r.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
3972
3937
  s.push({
3973
3938
  type: S.literal,
3974
- value: r.getDateTimeFormat(t, d).format(c)
3939
+ value: n.getDateTimeFormat(t, p).format(f)
3975
3940
  });
3976
3941
  continue;
3977
3942
  }
3978
- if (or(h)) {
3979
- var d = typeof h.style == "string" ? n.time[h.style] : Ye(h.style) ? h.style.parsedOptions : n.time.medium;
3943
+ if (tn(l)) {
3944
+ var p = typeof l.style == "string" ? r.time[l.style] : ze(l.style) ? l.style.parsedOptions : r.time.medium;
3980
3945
  s.push({
3981
3946
  type: S.literal,
3982
- value: r.getDateTimeFormat(t, d).format(c)
3947
+ value: n.getDateTimeFormat(t, p).format(f)
3983
3948
  });
3984
3949
  continue;
3985
3950
  }
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({
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({
3989
3954
  type: S.literal,
3990
- value: r.getNumberFormat(t, d).format(c)
3955
+ value: n.getNumberFormat(t, p).format(f)
3991
3956
  });
3992
3957
  continue;
3993
3958
  }
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;
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;
4000
3965
  }));
4001
- Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(T) {
3966
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(w) {
4002
3967
  return {
4003
- type: typeof T == "string" ? S.literal : S.object,
4004
- value: T
3968
+ type: typeof w == "string" ? S.literal : S.object,
3969
+ value: w
4005
3970
  };
4006
3971
  }));
4007
3972
  }
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));
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));
4013
3978
  continue;
4014
3979
  }
4015
- if (ar(h)) {
4016
- var x = h.options["=".concat(c)];
4017
- if (!x) {
3980
+ if (rn(l)) {
3981
+ var E = l.options["=".concat(f)];
3982
+ if (!E) {
4018
3983
  if (!Intl.PluralRules)
4019
- throw new Oe(`Intl.PluralRules is not available in this environment.
3984
+ throw new Ae(`Intl.PluralRules is not available in this environment.
4020
3985
  Try polyfilling it using "@formatjs/intl-pluralrules"
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;
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;
4024
3989
  }
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)));
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)));
4028
3993
  continue;
4029
3994
  }
4030
3995
  }
4031
- return xi(s);
3996
+ return yi(s);
4032
3997
  }
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;
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;
4036
4001
  }, {})) : e;
4037
4002
  }
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;
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;
4042
4007
  }
4043
- function Fe(e) {
4008
+ function Ue(e) {
4044
4009
  return {
4045
4010
  create: function() {
4046
4011
  return {
4047
4012
  get: function(t) {
4048
4013
  return e[t];
4049
4014
  },
4050
- set: function(t, r) {
4051
- e[t] = r;
4015
+ set: function(t, n) {
4016
+ e[t] = n;
4052
4017
  }
4053
4018
  };
4054
4019
  }
4055
4020
  };
4056
4021
  }
4057
- function Hi(e) {
4022
+ function Ei(e) {
4058
4023
  return e === void 0 && (e = {
4059
4024
  number: {},
4060
4025
  dateTime: {},
4061
4026
  pluralRules: {}
4062
4027
  }), {
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)))();
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)))();
4067
4032
  }, {
4068
- cache: Fe(e.number),
4069
- strategy: De.variadic
4033
+ cache: Ue(e.number),
4034
+ strategy: $e.variadic
4070
4035
  }),
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)))();
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)))();
4075
4040
  }, {
4076
- cache: Fe(e.dateTime),
4077
- strategy: De.variadic
4041
+ cache: Ue(e.dateTime),
4042
+ strategy: $e.variadic
4078
4043
  }),
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)))();
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)))();
4083
4048
  }, {
4084
- cache: Fe(e.pluralRules),
4085
- strategy: De.variadic
4049
+ cache: Ue(e.pluralRules),
4050
+ strategy: $e.variadic
4086
4051
  })
4087
4052
  };
4088
4053
  }
4089
- var Bi = (
4054
+ var Si = (
4090
4055
  /** @class */
4091
4056
  function() {
4092
- function e(t, r, n, i) {
4093
- r === void 0 && (r = e.defaultLocale);
4057
+ function e(t, n, r, i) {
4058
+ n === void 0 && (n = e.defaultLocale);
4094
4059
  var o = this;
4095
4060
  if (this.formatterCache = {
4096
4061
  number: {},
4097
4062
  dateTime: {},
4098
4063
  pluralRules: {}
4099
- }, this.format = function(l) {
4100
- var u = o.formatToParts(l);
4064
+ }, this.format = function(h) {
4065
+ var u = o.formatToParts(h);
4101
4066
  if (u.length === 1)
4102
4067
  return u[0].value;
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;
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;
4105
4070
  }, []);
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);
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);
4109
4074
  }, this.resolvedOptions = function() {
4110
- var l;
4075
+ var h;
4111
4076
  return {
4112
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4077
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4113
4078
  };
4114
4079
  }, this.getAst = function() {
4115
4080
  return o.ast;
4116
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4081
+ }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
4117
4082
  if (this.message = t, !e.__parse)
4118
4083
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4119
4084
  var a = i || {};
4120
4085
  a.formatters;
4121
- var s = $n(a, ["formatters"]);
4122
- this.ast = e.__parse(t, L(L({}, s), { locale: this.resolvedLocale }));
4086
+ var s = tr(a, ["formatters"]);
4087
+ this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
4123
4088
  } else
4124
4089
  this.ast = t;
4125
4090
  if (!Array.isArray(this.ast))
4126
4091
  throw new TypeError("A message must be provided as a String or AST.");
4127
- this.formats = Ti(e.formats, n), this.formatters = i && i.formatters || Hi(this.formatterCache);
4092
+ this.formats = xi(e.formats, r), this.formatters = i && i.formatters || Ei(this.formatterCache);
4128
4093
  }
4129
4094
  return Object.defineProperty(e, "defaultLocale", {
4130
4095
  get: function() {
@@ -4134,10 +4099,10 @@ var Bi = (
4134
4099
  configurable: !0
4135
4100
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4136
4101
  if (!(typeof Intl.Locale > "u")) {
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]);
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]);
4139
4104
  }
4140
- }, e.__parse = vi, e.formats = {
4105
+ }, e.__parse = mi, e.formats = {
4141
4106
  number: {
4142
4107
  integer: {
4143
4108
  maximumFractionDigits: 0
@@ -4198,113 +4163,113 @@ var Bi = (
4198
4163
  }, e;
4199
4164
  }()
4200
4165
  );
4201
- function Ai(e, t) {
4166
+ function Ti(e, t) {
4202
4167
  if (t == null)
4203
4168
  return;
4204
4169
  if (t in e)
4205
4170
  return e[t];
4206
- const r = t.split(".");
4207
- let n = e;
4208
- for (let i = 0; i < r.length; i++)
4209
- if (typeof n == "object") {
4171
+ const n = t.split(".");
4172
+ let r = e;
4173
+ for (let i = 0; i < n.length; i++)
4174
+ if (typeof r == "object") {
4210
4175
  if (i > 0) {
4211
- const o = r.slice(i, r.length).join(".");
4212
- if (o in n) {
4213
- n = n[o];
4176
+ const o = n.slice(i, n.length).join(".");
4177
+ if (o in r) {
4178
+ r = r[o];
4214
4179
  break;
4215
4180
  }
4216
4181
  }
4217
- n = n[r[i]];
4182
+ r = r[n[i]];
4218
4183
  } else
4219
- n = void 0;
4220
- return n;
4184
+ r = void 0;
4185
+ return r;
4221
4186
  }
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) => {
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) => {
4223
4188
  if (t == null)
4224
4189
  return;
4225
4190
  if (t in U && e in U[t])
4226
4191
  return U[t][e];
4227
- const r = Ie(t);
4228
- for (let n = 0; n < r.length; n++) {
4229
- const i = r[n], o = Ii(i, e);
4192
+ const n = Pe(t);
4193
+ for (let r = 0; r < n.length; r++) {
4194
+ const i = n[r], o = Bi(i, e);
4230
4195
  if (o)
4231
- return Pi(e, t, o);
4196
+ return wi(e, t, o);
4232
4197
  }
4233
4198
  };
4234
- let ut;
4235
- const ce = Ae({});
4236
- function Oi(e) {
4237
- return ut[e] || null;
4199
+ let it;
4200
+ const fe = Be({});
4201
+ function Hi(e) {
4202
+ return it[e] || null;
4238
4203
  }
4239
- function gr(e) {
4240
- return e in ut;
4204
+ function mn(e) {
4205
+ return e in it;
4241
4206
  }
4242
- function Ii(e, t) {
4243
- if (!gr(e))
4207
+ function Bi(e, t) {
4208
+ if (!mn(e))
4244
4209
  return null;
4245
- const r = Oi(e);
4246
- return Ai(r, t);
4210
+ const n = Hi(e);
4211
+ return Ti(n, t);
4247
4212
  }
4248
- function Li(e) {
4213
+ function Ai(e) {
4249
4214
  if (e == null)
4250
4215
  return;
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;
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;
4256
4221
  }
4257
4222
  }
4258
- function vr(e, ...t) {
4259
- delete U[e], ce.update((r) => (r[e] = Mn.all([r[e] || {}, ...t]), r));
4223
+ function bn(e, ...t) {
4224
+ delete U[e], fe.update((n) => (n[e] = Lr.all([n[e] || {}, ...t]), n));
4260
4225
  }
4261
- J(
4262
- [ce],
4226
+ Y(
4227
+ [fe],
4263
4228
  ([e]) => Object.keys(e)
4264
4229
  );
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];
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];
4269
4234
  }
4270
- function _r(e) {
4271
- return _e[e];
4235
+ function gn(e) {
4236
+ return ve[e];
4272
4237
  }
4273
- function Ci(e) {
4274
- return Ie(e).map((t) => {
4275
- const r = _r(t);
4276
- return [t, r ? [...r] : []];
4238
+ function Oi(e) {
4239
+ return Pe(e).map((t) => {
4240
+ const n = gn(t);
4241
+ return [t, n ? [...n] : []];
4277
4242
  }).filter(([, t]) => t.length > 0);
4278
4243
  }
4279
- function it(e) {
4280
- return e == null ? !1 : Ie(e).some(
4244
+ function Ke(e) {
4245
+ return e == null ? !1 : Pe(e).some(
4281
4246
  (t) => {
4282
- var r;
4283
- return (r = _r(t)) == null ? void 0 : r.size;
4247
+ var n;
4248
+ return (n = gn(t)) == null ? void 0 : n.size;
4284
4249
  }
4285
4250
  );
4286
4251
  }
4287
- function Mi(e, t) {
4252
+ function Ii(e, t) {
4288
4253
  return Promise.all(
4289
- t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
4290
- ).then((n) => vr(e, ...n));
4254
+ t.map((r) => (Pi(e, r), r().then((i) => i.default || i)))
4255
+ ).then((r) => bn(e, ...r));
4291
4256
  }
4292
4257
  const re = {};
4293
- function Er(e) {
4294
- if (!it(e))
4258
+ function yn(e) {
4259
+ if (!Ke(e))
4295
4260
  return e in re ? re[e] : Promise.resolve();
4296
- const t = Ci(e);
4261
+ const t = Oi(e);
4297
4262
  return re[e] = Promise.all(
4298
4263
  t.map(
4299
- ([r, n]) => Mi(r, n)
4264
+ ([n, r]) => Ii(n, r)
4300
4265
  )
4301
4266
  ).then(() => {
4302
- if (it(e))
4303
- return Er(e);
4267
+ if (Ke(e))
4268
+ return yn(e);
4304
4269
  delete re[e];
4305
4270
  }), re[e];
4306
4271
  }
4307
- const $i = {
4272
+ const Li = {
4308
4273
  number: {
4309
4274
  scientific: { notation: "scientific" },
4310
4275
  engineering: { notation: "engineering" },
@@ -4333,198 +4298,198 @@ const $i = {
4333
4298
  timeZoneName: "short"
4334
4299
  }
4335
4300
  }
4336
- }, Ri = {
4301
+ }, Ni = {
4337
4302
  fallbackLocale: null,
4338
4303
  loadingDelay: 200,
4339
- formats: $i,
4304
+ formats: Li,
4340
4305
  warnOnMissingMessages: !0,
4341
4306
  handleMissingMessage: void 0,
4342
4307
  ignoreTag: !0
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]);
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]);
4354
4319
  return e;
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();
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();
4360
4325
  }
4361
- function Ie(e, t = Q().fallbackLocale) {
4362
- const r = It(e);
4363
- return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
4326
+ function Pe(e, t = J().fallbackLocale) {
4327
+ const n = Bt(e);
4328
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Bt(t)])] : n;
4364
4329
  }
4365
4330
  function F() {
4366
- return ot ?? void 0;
4331
+ return et ?? void 0;
4367
4332
  }
4368
4333
  Te.subscribe((e) => {
4369
- ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4334
+ et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4370
4335
  });
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),
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),
4377
4342
  t
4378
- ) : je.set(!0), Er(e).then(() => {
4343
+ ) : De.set(!0), yn(e).then(() => {
4379
4344
  Te.set(e);
4380
4345
  }).finally(() => {
4381
- clearTimeout(r), je.set(!1);
4346
+ clearTimeout(n), De.set(!1);
4382
4347
  });
4383
4348
  }
4384
4349
  return Te.set(e);
4385
- }, Y = Xi(Vi({}, Te), {
4386
- set: Wi
4387
- }), Le = (e) => {
4350
+ }, K = Fi(Gi({}, Te), {
4351
+ set: ji
4352
+ }), Oe = (e) => {
4388
4353
  const t = /* @__PURE__ */ Object.create(null);
4389
- return (n) => {
4390
- const i = JSON.stringify(n);
4391
- return i in t ? t[i] : t[i] = e(n);
4354
+ return (r) => {
4355
+ const i = JSON.stringify(r);
4356
+ return i in t ? t[i] : t[i] = e(r);
4392
4357
  };
4393
4358
  };
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]);
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]);
4400
4365
  return e;
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;
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;
4409
4374
  };
4410
- const se = (e, t) => {
4411
- const { formats: r } = Q();
4412
- if (e in r && t in r[e])
4413
- return r[e][t];
4375
+ const ae = (e, t) => {
4376
+ const { formats: n } = J();
4377
+ if (e in n && t in n[e])
4378
+ return n[e][t];
4414
4379
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4415
- }, Zi = Le(
4380
+ }, Vi = Oe(
4416
4381
  (e) => {
4417
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4418
- if (r == null)
4382
+ var t = e, { locale: n, format: r } = t, i = ee(t, ["locale", "format"]);
4383
+ if (n == null)
4419
4384
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4420
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4385
+ return r && (i = ae("number", r)), new Intl.NumberFormat(n, i);
4421
4386
  }
4422
- ), qi = Le(
4387
+ ), Xi = Oe(
4423
4388
  (e) => {
4424
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4425
- if (r == null)
4389
+ var t = e, { locale: n, format: r } = t, i = ee(t, ["locale", "format"]);
4390
+ if (n == null)
4426
4391
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4427
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4392
+ return r ? i = ae("date", r) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(n, i);
4428
4393
  }
4429
- ), Qi = Le(
4394
+ ), Wi = Oe(
4430
4395
  (e) => {
4431
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4432
- if (r == null)
4396
+ var t = e, { locale: n, format: r } = t, i = ee(t, ["locale", "format"]);
4397
+ if (n == null)
4433
4398
  throw new Error(
4434
4399
  '[svelte-i18n] A "locale" must be set to format time values'
4435
4400
  );
4436
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4401
+ return r ? i = ae("time", r) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(n, i);
4437
4402
  }
4438
- ), Ji = (e = {}) => {
4403
+ ), zi = (e = {}) => {
4439
4404
  var t = e, {
4440
- locale: r = F()
4441
- } = t, n = K(t, [
4405
+ locale: n = F()
4406
+ } = t, r = ee(t, [
4442
4407
  "locale"
4443
4408
  ]);
4444
- return Zi(lt({ locale: r }, n));
4445
- }, Yi = (e = {}) => {
4409
+ return Vi(ot({ locale: n }, r));
4410
+ }, Zi = (e = {}) => {
4446
4411
  var t = e, {
4447
- locale: r = F()
4448
- } = t, n = K(t, [
4412
+ locale: n = F()
4413
+ } = t, r = ee(t, [
4449
4414
  "locale"
4450
4415
  ]);
4451
- return qi(lt({ locale: r }, n));
4452
- }, Ki = (e = {}) => {
4416
+ return Xi(ot({ locale: n }, r));
4417
+ }, qi = (e = {}) => {
4453
4418
  var t = e, {
4454
- locale: r = F()
4455
- } = t, n = K(t, [
4419
+ locale: n = F()
4420
+ } = t, r = ee(t, [
4456
4421
  "locale"
4457
4422
  ]);
4458
- return Qi(lt({ locale: r }, n));
4459
- }, eo = Le(
4423
+ return Wi(ot({ locale: n }, r));
4424
+ }, Qi = Oe(
4460
4425
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4461
- (e, t = F()) => new Bi(e, t, Q().formats, {
4462
- ignoreTag: Q().ignoreTag
4426
+ (e, t = F()) => new Si(e, t, J().formats, {
4427
+ ignoreTag: J().ignoreTag
4463
4428
  })
4464
- ), to = (e, t = {}) => {
4465
- var r, n, i, o;
4429
+ ), Ji = (e, t = {}) => {
4430
+ var n, r, i, o;
4466
4431
  let a = t;
4467
4432
  typeof e == "object" && (a = e, e = a.id);
4468
4433
  const {
4469
4434
  values: s,
4470
- locale: l = F(),
4435
+ locale: h = F(),
4471
4436
  default: u
4472
4437
  } = a;
4473
- if (l == null)
4438
+ if (h == null)
4474
4439
  throw new Error(
4475
4440
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4476
4441
  );
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")
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")
4481
4446
  return console.warn(
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;
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;
4484
4449
  if (!s)
4485
- return h;
4486
- let f = h;
4450
+ return l;
4451
+ let c = l;
4487
4452
  try {
4488
- f = eo(h, l).format(s);
4489
- } catch (c) {
4490
- c instanceof Error && console.warn(
4453
+ c = Qi(l, h).format(s);
4454
+ } catch (f) {
4455
+ f instanceof Error && console.warn(
4491
4456
  `[svelte-i18n] Message "${e}" has syntax error:`,
4492
- c.message
4457
+ f.message
4493
4458
  );
4494
4459
  }
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) {
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) {
4504
4469
  if (e) {
4505
- const r = document.createElement("style");
4506
- r.innerHTML = t, e.appendChild(r);
4470
+ const n = document.createElement("style");
4471
+ n.innerHTML = t, e.appendChild(n);
4507
4472
  }
4508
4473
  }
4509
- function ao(e, t) {
4510
- const r = new URL(t);
4511
- fetch(r.href).then((n) => n.text()).then((n) => {
4474
+ function ro(e, t) {
4475
+ const n = new URL(t);
4476
+ fetch(n.href).then((r) => r.text()).then((r) => {
4512
4477
  const i = document.createElement("style");
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);
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);
4516
4481
  });
4517
4482
  }
4518
- function uo(e, t, r) {
4483
+ function io(e, t, n) {
4519
4484
  if (window.emMessageBus) {
4520
- const n = document.createElement("style");
4485
+ const r = document.createElement("style");
4521
4486
  window.emMessageBus.subscribe(t, (i) => {
4522
- n.innerHTML = i, e && e.appendChild(n);
4487
+ r.innerHTML = i, e && e.appendChild(r);
4523
4488
  });
4524
4489
  }
4525
4490
  }
4526
- const lo = (e, t = {}) => {
4527
- const r = new CustomEvent("track-custom-event", {
4491
+ const oo = (e, t = {}) => {
4492
+ const n = new CustomEvent("track-custom-event", {
4528
4493
  detail: {
4529
4494
  type: e,
4530
4495
  data: t
@@ -4532,15 +4497,15 @@ const lo = (e, t = {}) => {
4532
4497
  bubbles: !0,
4533
4498
  composed: !0
4534
4499
  });
4535
- document.dispatchEvent(r);
4500
+ document.dispatchEvent(n);
4536
4501
  };
4537
- function Ct(e, t) {
4538
- vr(e, t);
4502
+ function Ot(e, t) {
4503
+ bn(e, t);
4539
4504
  }
4540
- function ho(e) {
4541
- Y.set(e);
4505
+ function so(e) {
4506
+ K.set(e);
4542
4507
  }
4543
- const Mt = {
4508
+ const It = {
4544
4509
  en: {
4545
4510
  logoutButton: "Logout"
4546
4511
  },
@@ -4575,42 +4540,42 @@ const Mt = {
4575
4540
  logoutButton: "Logout"
4576
4541
  }
4577
4542
  };
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))}");
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))}");
4580
4545
  }
4581
- function fo(e) {
4582
- let t, r, n, i = (
4546
+ function uo(e) {
4547
+ let t, n, r, i = (
4583
4548
  /*$_*/
4584
4549
  e[2]("logoutButton") + ""
4585
4550
  ), o, a, s;
4586
4551
  return {
4587
4552
  c() {
4588
- t = N("div"), r = N("button"), n = N("span"), o = le(i), B(t, "class", "GeneralLogout");
4553
+ t = L("div"), n = L("button"), r = L("span"), o = le(i), B(t, "class", "GeneralLogout");
4589
4554
  },
4590
- m(l, u) {
4591
- ue(l, t, u), A(t, r), A(r, n), A(n, o), a || (s = kt(
4592
- r,
4555
+ m(h, u) {
4556
+ he(h, t, u), A(t, n), A(n, r), A(r, o), a || (s = Dt(
4557
+ n,
4593
4558
  "click",
4594
4559
  /*click_handler_1*/
4595
4560
  e[14]
4596
4561
  ), a = !0);
4597
4562
  },
4598
- p(l, u) {
4563
+ p(h, u) {
4599
4564
  u & /*$_*/
4600
4565
  4 && i !== (i = /*$_*/
4601
- l[2]("logoutButton") + "") && Vt(o, i);
4566
+ h[2]("logoutButton") + "") && Gt(o, i);
4602
4567
  },
4603
- d(l) {
4604
- l && G(t), a = !1, s();
4568
+ d(h) {
4569
+ h && G(t), a = !1, s();
4605
4570
  }
4606
4571
  };
4607
4572
  }
4608
- function po(e) {
4609
- let t, r, n, i, o, a, s, l, u, h, f, c = !/*isMobile*/
4610
- e[3] && mo(e);
4573
+ function ho(e) {
4574
+ let t, n, r, i, o, a, s, h, u, l, c, f = !/*isMobile*/
4575
+ e[3] && lo(e);
4611
4576
  return {
4612
4577
  c() {
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*/
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*/
4614
4579
  e[3] ? (
4615
4580
  /*mediaQuery*/
4616
4581
  e[4].matches ? "20px" : "24px"
@@ -4619,63 +4584,63 @@ function po(e) {
4619
4584
  (e[4].matches && /*isMobile*/
4620
4585
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4621
4586
  },
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(
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(
4624
4589
  t,
4625
4590
  "click",
4626
4591
  /*click_handler*/
4627
4592
  e[13]
4628
- ), h = !0);
4593
+ ), l = !0);
4629
4594
  },
4630
- p(d, p) {
4595
+ p(p, d) {
4631
4596
  /*isMobile*/
4632
- d[3] || c.p(d, p);
4597
+ p[3] || f.p(p, d);
4633
4598
  },
4634
- d(d) {
4635
- d && G(t), c && c.d(), h = !1, f();
4599
+ d(p) {
4600
+ p && G(t), f && f.d(), l = !1, c();
4636
4601
  }
4637
4602
  };
4638
4603
  }
4639
- function mo(e) {
4640
- let t, r = (
4604
+ function lo(e) {
4605
+ let t, n = (
4641
4606
  /*$_*/
4642
4607
  e[2]("logoutButton") + ""
4643
- ), n;
4608
+ ), r;
4644
4609
  return {
4645
4610
  c() {
4646
- t = N("span"), n = le(r), B(t, "class", "PlayerLogoutText");
4611
+ t = L("span"), r = le(n), B(t, "class", "PlayerLogoutText");
4647
4612
  },
4648
4613
  m(i, o) {
4649
- ue(i, t, o), A(t, n);
4614
+ he(i, t, o), A(t, r);
4650
4615
  },
4651
4616
  p(i, o) {
4652
4617
  o & /*$_*/
4653
- 4 && r !== (r = /*$_*/
4654
- i[2]("logoutButton") + "") && Vt(n, r);
4618
+ 4 && n !== (n = /*$_*/
4619
+ i[2]("logoutButton") + "") && Gt(r, n);
4655
4620
  },
4656
4621
  d(i) {
4657
4622
  i && G(t);
4658
4623
  }
4659
4624
  };
4660
4625
  }
4661
- function bo(e) {
4626
+ function fo(e) {
4662
4627
  let t;
4663
- function r(o, a) {
4628
+ function n(o, a) {
4664
4629
  return (
4665
4630
  /*buttonlocation*/
4666
- o[0] === "PlayerAccountMenu" ? po : fo
4631
+ o[0] === "PlayerAccountMenu" ? ho : uo
4667
4632
  );
4668
4633
  }
4669
- let n = r(e), i = n(e);
4634
+ let r = n(e), i = r(e);
4670
4635
  return {
4671
4636
  c() {
4672
- t = N("div"), i.c();
4637
+ t = L("div"), i.c();
4673
4638
  },
4674
4639
  m(o, a) {
4675
- ue(o, t, a), i.m(t, null), e[15](t);
4640
+ he(o, t, a), i.m(t, null), e[15](t);
4676
4641
  },
4677
4642
  p(o, [a]) {
4678
- n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4643
+ r === (r = n(o)) && i ? i.p(o, a) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
4679
4644
  },
4680
4645
  i: H,
4681
4646
  o: H,
@@ -4684,78 +4649,78 @@ function bo(e) {
4684
4649
  }
4685
4650
  };
4686
4651
  }
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]);
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]);
4695
4660
  });
4696
4661
  }).catch((R) => {
4697
4662
  console.log(R);
4698
4663
  });
4699
4664
  };
4700
- Object.keys(Mt).forEach((g) => {
4701
- Ct(g, Mt[g]);
4665
+ Object.keys(It).forEach((_) => {
4666
+ Ot(_, It[_]);
4702
4667
  });
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", {});
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", {});
4709
4674
  });
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);
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);
4712
4677
  };
4713
- Xr(() => () => {
4678
+ jn(() => () => {
4714
4679
  });
4715
- const $ = () => x(), fe = () => x();
4716
- function Hr(g) {
4717
- ke[g ? "unshift" : "push"](() => {
4718
- p = g, r(1, p);
4680
+ const $ = () => E(), ce = () => E();
4681
+ function Sn(_) {
4682
+ Ge[_ ? "unshift" : "push"](() => {
4683
+ d = _, n(1, d);
4719
4684
  });
4720
4685
  }
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);
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);
4723
4688
  }, e.$$.update = () => {
4724
4689
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4725
4690
  193 && i && o && a && O(), e.$$.dirty & /*lang*/
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();
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();
4732
4697
  }, [
4733
4698
  a,
4734
- p,
4735
- n,
4736
- _,
4737
- w,
4699
+ d,
4700
+ r,
4738
4701
  x,
4702
+ T,
4703
+ E,
4739
4704
  i,
4740
4705
  o,
4741
4706
  s,
4742
- l,
4743
- u,
4744
4707
  h,
4745
- f,
4708
+ u,
4709
+ l,
4710
+ c,
4746
4711
  $,
4747
- fe,
4748
- Hr
4712
+ ce,
4713
+ Sn
4749
4714
  ];
4750
4715
  }
4751
- class Tr extends rn {
4716
+ class En extends Kn {
4752
4717
  constructor(t) {
4753
- super(), en(
4718
+ super(), Jn(
4754
4719
  this,
4755
4720
  t,
4756
- yo,
4757
- bo,
4758
- Rt,
4721
+ co,
4722
+ fo,
4723
+ Nt,
4759
4724
  {
4760
4725
  endpoint: 6,
4761
4726
  session: 7,
@@ -4766,7 +4731,7 @@ class Tr extends rn {
4766
4731
  clientstylingurl: 11,
4767
4732
  translationurl: 12
4768
4733
  },
4769
- co
4734
+ ao
4770
4735
  );
4771
4736
  }
4772
4737
  get endpoint() {
@@ -4818,72 +4783,72 @@ class Tr extends rn {
4818
4783
  this.$$set({ translationurl: t }), I();
4819
4784
  }
4820
4785
  }
4821
- tn(Tr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4822
- const Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4786
+ Yn(En, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4787
+ const Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4823
4788
  __proto__: null,
4824
- default: Tr
4789
+ default: En
4825
4790
  }, Symbol.toStringTag, { value: "Module" }));
4826
4791
  export {
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
- So as Y,
4853
- Rr 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,
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
+ _o as Y,
4818
+ Mn 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,
4868
4833
  I as f,
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,
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,
4880
4845
  D as r,
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
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
4889
4854
  };