@everymatrix/player-account-controller 1.65.1 → 1.65.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 (165) 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-D2wy-3AY.js → PlayerAccountController-CE3DCARp.js} +138 -138
  14. package/components/{PlayerAccountController-CVX3r-TI.cjs → PlayerAccountController-CJqLJFq9.cjs} +1 -1
  15. package/components/{PlayerAccountController-BzCKRC0T.js → PlayerAccountController-_H7Suh7X.js} +140 -140
  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-6oqp3QDs.js} +101 -101
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-D0UaSH_1.js → PlayerAccountGamingLimitsPage2Gm16-B7VpqKm8.js} +118 -118
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-isbaVllo.cjs → PlayerAccountGamingLimitsPage2Gm16-BeMRmv-L.cjs} +2 -2
  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-BxbHvpZn.js → PlayerAccountGamingLimitsWrapper2-BnAOuyMV.js} +36 -36
  38. package/components/{PlayerAccountGamingLimitsWrapper2-B1gV6va3.js → PlayerAccountGamingLimitsWrapper2-BnahUpgU.js} +36 -36
  39. package/components/{PlayerAccountGamingLimitsWrapper2-BNIPTcA9.cjs → PlayerAccountGamingLimitsWrapper2-DNBhGOWx.cjs} +1 -1
  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/{PlayerAccountSelfExclusion-B6iUbzx_.cjs → PlayerAccountSelfExclusion-DOBXVbGp.cjs} +53 -53
  53. package/components/{PlayerAccountSelfExclusion-BdsBaF0b.js → PlayerAccountSelfExclusion-DcjyVbyI.js} +297 -293
  54. package/components/{PlayerAccountSelfExclusion-BmXodIER.js → PlayerAccountSelfExclusion-r_y8NKk9.js} +300 -296
  55. package/components/{PlayerAccountTimeout-BzPzfzdC.cjs → PlayerAccountTimeout-BTWCScSA.cjs} +1 -1
  56. package/components/{PlayerAccountTimeout-DSKlzoFl.js → PlayerAccountTimeout-Bj1lGwNr.js} +150 -150
  57. package/components/{PlayerAccountTimeout-DlzzIcIq.js → PlayerAccountTimeout-D2BFCkW4.js} +150 -150
  58. package/components/{PlayerAccountTransactionsHistory-iW7mxyG2.js → PlayerAccountTransactionsHistory-BTZrAMpd.js} +5571 -3273
  59. package/components/{PlayerAccountTransactionsHistory-DV6Lliwo.cjs → PlayerAccountTransactionsHistory-CLtNxF1E.cjs} +1307 -217
  60. package/components/{PlayerAccountTransactionsHistory-BkD7oheQ.js → PlayerAccountTransactionsHistory-DamCdY8r.js} +5552 -3254
  61. package/components/{PlayerActiveBonuses-CVhSMdRf.cjs → PlayerActiveBonuses-C7G2b4x9.cjs} +1 -1
  62. package/components/{PlayerActiveBonuses-Cakyx19i.js → PlayerActiveBonuses-TAb_daVK.js} +54 -54
  63. package/components/{PlayerActiveBonuses-uCEkihFw.js → PlayerActiveBonuses-f9Tnt64h.js} +52 -52
  64. package/components/{PlayerBonusCard-6xOKi384.js → PlayerBonusCard-CBO8neP8.js} +54 -54
  65. package/components/{PlayerBonusCard-BNNcjGWn.cjs → PlayerBonusCard-nwlvuWsq.cjs} +1 -1
  66. package/components/{PlayerBonusCard-CXbETnCF.js → PlayerBonusCard-uudC6LGS.js} +54 -54
  67. package/components/{PlayerBonusHistory-90c3VIp4.js → PlayerBonusHistory-BhFNlaSf.js} +30 -30
  68. package/components/{PlayerBonusHistory-DdNvPihc.js → PlayerBonusHistory-DqURmCme.js} +30 -30
  69. package/components/{PlayerBonusHistory-DOeldQB2.cjs → PlayerBonusHistory-DvfiMpJt.cjs} +1 -1
  70. package/components/{PlayerChangePassword-ChwKfBC6.js → PlayerChangePassword-BUbXMFnB.js} +66 -66
  71. package/components/{PlayerChangePassword-LgjKzYU1.cjs → PlayerChangePassword-D0aYOkoZ.cjs} +1 -1
  72. package/components/{PlayerChangePassword-C2ZoKuCq.js → PlayerChangePassword-D4DzBZed.js} +66 -66
  73. package/components/{PlayerDeposit-VLcz0tQH.js → PlayerDeposit-BB64hmyO.js} +29 -29
  74. package/components/{PlayerDeposit-Dzg8Ltb1.cjs → PlayerDeposit-DAFmH9HW.cjs} +1 -1
  75. package/components/{PlayerDeposit-BPZ5wCAZ.js → PlayerDeposit-lfkc7jOj.js} +29 -29
  76. package/components/{PlayerGamingHistory-DUaJVzT1.cjs → PlayerGamingHistory-CsAD_iks.cjs} +1 -1
  77. package/components/{PlayerGamingHistory-Cby06y2X.js → PlayerGamingHistory-DxVgYcre.js} +63 -63
  78. package/components/{PlayerGamingHistory-C17HT6-7.js → PlayerGamingHistory-e4Kr6TRi.js} +63 -63
  79. package/components/{PlayerPendingWithdrawals-DeNKdUgJ.js → PlayerPendingWithdrawals-B6qiUkpB.js} +26 -26
  80. package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-DbuXpIXl.cjs} +1 -1
  81. package/components/{PlayerPendingWithdrawals-go7okUzL.js → PlayerPendingWithdrawals-QAaJbf_-.js} +26 -26
  82. package/components/PlayerProfileInfo-B-Cly6nt.js +2463 -0
  83. package/components/PlayerProfileInfo-DFtxyN-C.cjs +4 -0
  84. package/components/PlayerProfileInfo-DsBGGdCC.js +2426 -0
  85. package/components/{PlayerRealityCheck-BrVF76qp.cjs → PlayerRealityCheck-CFJVJn17.cjs} +1 -1
  86. package/components/{PlayerRealityCheck-DMNAglZN.js → PlayerRealityCheck-CyxiiYoi.js} +44 -44
  87. package/components/{PlayerRealityCheck-C2TUMl9-.js → PlayerRealityCheck-DQ-_y3IT.js} +45 -45
  88. package/components/{PlayerTransactionHistory-A-aVfyoc.js → PlayerTransactionHistory-6G6ws2ky.js} +19 -19
  89. package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-BOtRm_b6.cjs} +1 -1
  90. package/components/{PlayerTransactionHistory-BFV_XJw9.js → PlayerTransactionHistory-BjRhtwD4.js} +19 -19
  91. package/components/{PlayerWithdrawal-B_wQZI_t.js → PlayerWithdrawal-BIBZrL0i.js} +19 -19
  92. package/components/{PlayerWithdrawal-CTttZqLr.js → PlayerWithdrawal-CuR6Pb4o.js} +19 -19
  93. package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-OBRjEIH9.cjs} +1 -1
  94. package/es2015/player-account-controller.cjs +1 -1
  95. package/es2015/player-account-controller.js +1 -1
  96. package/esnext/player-account-controller.js +1 -1
  97. package/package.json +1 -1
  98. package/stencil/{checkbox-group-input_9-B_Jl5XYl.js → checkbox-group-input_9-BwrWZeLB.js} +92 -90
  99. package/stencil/checkbox-group-input_9-CImFZbCv.cjs +2 -0
  100. package/stencil/{checkbox-group-input_9-BubdPaeo.js → checkbox-group-input_9-DdpCHvWb.js} +92 -90
  101. package/stencil/{general-input-BRLohAp9.js → general-input-BDPI_fW2.js} +4998 -2742
  102. package/stencil/{general-input-CZRDVuGV.js → general-input-DpokfhP6.js} +5006 -2750
  103. package/stencil/{general-input-BjwgkYic.cjs → general-input-y1CIV_-r.cjs} +1306 -216
  104. package/stencil/{index-1ef3a64c-DsTe-fF4.js → index-1ef3a64c-B1Hda3TY.js} +185 -185
  105. package/stencil/index-1ef3a64c-CCWt3IAA.cjs +1 -0
  106. package/stencil/{index-1ef3a64c-BNosNJnU.js → index-1ef3a64c-Dd-0nq4l.js} +192 -192
  107. package/stencil/index-7c5e707a-8-4_dLFT.js +643 -0
  108. package/stencil/{index-7c5e707a-C9R6jYpt.js → index-7c5e707a-CuTkyLaW.js} +209 -209
  109. package/stencil/index-7c5e707a-nBsW029h.cjs +1 -0
  110. package/stencil/index-9c0f6c58-DbSOntvG.cjs +1 -0
  111. package/stencil/{index-9c0f6c58-BNoMpTuB.js → index-9c0f6c58-NlVKpLut.js} +180 -180
  112. package/stencil/{index-9c0f6c58-pr1WGVFu.js → index-9c0f6c58-RPoO1End.js} +176 -176
  113. package/stencil/{index-9cd44522-NqpP4xs6.js → index-9cd44522-Cto_o6sQ.js} +202 -202
  114. package/stencil/{index-9cd44522-CbUzJsuK.js → index-9cd44522-DrlRFYrB.js} +196 -196
  115. package/stencil/index-9cd44522-lYql7AfG.cjs +1 -0
  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/locale-CB060R77.cjs +1 -0
  120. package/stencil/{locale-ioQf6ZrW.js → locale-Cxpe53Ym.js} +9 -3
  121. package/stencil/{password-input_2-8BNshhaU.cjs → password-input_2-BFXxkcXV.cjs} +2 -2
  122. package/stencil/{password-input_2-DhPkhv-D.js → password-input_2-CqbOPSSZ.js} +26 -24
  123. package/stencil/{password-input_2-DIwo3oT2.js → password-input_2-DQst8UHp.js} +26 -24
  124. package/stencil/{player-change-password-gm2-5cb5c6c1-BsO6atoJ.js → player-change-password-gm2-5cb5c6c1-BhDKCfuN.js} +1 -1
  125. package/stencil/{player-change-password-gm2-5cb5c6c1-C0AlgHfx.js → player-change-password-gm2-5cb5c6c1-Ch9RyZ2b.js} +1 -1
  126. package/stencil/{player-change-password-gm2-5cb5c6c1-ij_CKxBn.cjs → player-change-password-gm2-5cb5c6c1-n4BjzEVs.cjs} +1 -1
  127. package/stencil/{player-change-password-gm2-ALHM57bi.js → player-change-password-gm2-Bg9HNK0A.js} +1 -1
  128. package/stencil/{player-change-password-gm2-bVKmVTiQ.js → player-change-password-gm2-CNOsEIfo.js} +1 -1
  129. package/stencil/{player-change-password-gm2-ZOlHswn0.cjs → player-change-password-gm2-COsfG6W5.cjs} +1 -1
  130. package/stencil/{player-kyc-verification-CUhrMPde.js → player-kyc-verification-Cxnz1raa.js} +79 -76
  131. package/stencil/{player-kyc-verification-DPUx1txP.js → player-kyc-verification-DA_O1Dqu.js} +36 -33
  132. package/stencil/player-kyc-verification-qKWuqiUm.cjs +180 -0
  133. package/stencil/{toggle-checkbox-input-hUEi-Cj3.js → toggle-checkbox-input-B4lb8oMh.js} +2 -2
  134. package/stencil/{toggle-checkbox-input-D3dpAI79.cjs → toggle-checkbox-input-BhQAILyC.cjs} +1 -1
  135. package/stencil/{toggle-checkbox-input-LjmhdQte.js → toggle-checkbox-input-rocW3Yvz.js} +2 -2
  136. package/stencil/{ui-skeleton-1cb75d00-CwDKR1VD.js → ui-skeleton-1cb75d00-CZJ4UoDJ.js} +1 -1
  137. package/stencil/{ui-skeleton-1cb75d00-BI5A-j0y.js → ui-skeleton-1cb75d00-D5Bub0nv.js} +1 -1
  138. package/stencil/{ui-skeleton-1cb75d00-Batko5iK.cjs → ui-skeleton-1cb75d00-dFWe5qbW.cjs} +1 -1
  139. package/stencil/{ui-skeleton-t0bb1jH7.cjs → ui-skeleton-BH5oLkn9.cjs} +1 -1
  140. package/stencil/{ui-skeleton-C974aG7g.js → ui-skeleton-CZ5yC1WO.js} +2 -2
  141. package/stencil/{ui-skeleton-DoX-UmRU.js → ui-skeleton-vLKdvRqw.js} +2 -2
  142. package/stencil/{user-deposit-withdrawal-Dzz_fEvK.js → user-deposit-withdrawal-BMWb-WJE.js} +45 -45
  143. package/stencil/{user-deposit-withdrawal-C7W58646.js → user-deposit-withdrawal-ByE9O4TW.js} +45 -45
  144. package/stencil/{user-deposit-withdrawal-Dfu_1g2v.cjs → user-deposit-withdrawal-DGTrOlxS.cjs} +2 -2
  145. package/stencil/{user-transaction-history-DhQ6RqNc.js → user-transaction-history-BU4-cXt6.js} +11 -11
  146. package/stencil/{user-transaction-history-BAK7MHHa.js → user-transaction-history-CXBKXul8.js} +14 -14
  147. package/stencil/{user-transaction-history-DiRXpfbN.cjs → user-transaction-history-DLLIZ5Ck.cjs} +1 -1
  148. package/components/GeneralLogout-Dzu2Sl-x.cjs +0 -21
  149. package/components/PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs +0 -1
  150. package/components/PlayerAccountGamingLimitsGroupEdit-BvnqlbPp.cjs +0 -1
  151. package/components/PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs +0 -1
  152. package/components/PlayerProfileInfo-C--m-_0F.js +0 -2419
  153. package/components/PlayerProfileInfo-CD0xjooF.js +0 -2383
  154. package/components/PlayerProfileInfo-D5YZWH2T.cjs +0 -4
  155. package/stencil/checkbox-group-input_9-BvAcuPzL.cjs +0 -2
  156. package/stencil/index-1ef3a64c-CFvPR_NP.cjs +0 -1
  157. package/stencil/index-7c5e707a-DvxqcEpc.js +0 -643
  158. package/stencil/index-7c5e707a-ESX_oqGB.cjs +0 -1
  159. package/stencil/index-9c0f6c58-DkHHwpww.cjs +0 -1
  160. package/stencil/index-9cd44522-WdjpTA2U.cjs +0 -1
  161. package/stencil/index-b2193545-CnMZ4-Ff.js +0 -519
  162. package/stencil/index-b2193545-Ct5AhxM8.cjs +0 -1
  163. package/stencil/index-b2193545-DePry399.js +0 -503
  164. package/stencil/locale-BB2iZ4t0.cjs +0 -1
  165. package/stencil/player-kyc-verification-DAy-szI5.cjs +0 -180
@@ -1,89 +1,89 @@
1
- var Nr = Object.defineProperty, Cr = Object.defineProperties;
2
- var Mr = Object.getOwnPropertyDescriptors;
3
- var ft = Object.getOwnPropertySymbols;
4
- var $r = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
5
- var Me = (e, t, r) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
6
- for (var r in t || (t = {}))
7
- $r.call(t, r) && Me(e, r, t[r]);
8
- if (ft)
9
- for (var r of ft(t))
10
- Rr.call(t, r) && Me(e, r, t[r]);
1
+ var On = Object.defineProperty, In = Object.defineProperties;
2
+ var Ln = Object.getOwnPropertyDescriptors;
3
+ var ut = Object.getOwnPropertySymbols;
4
+ var Nn = Object.prototype.hasOwnProperty, Mn = Object.prototype.propertyIsEnumerable;
5
+ var Ne = (e, t, n) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ht = (e, t) => {
6
+ for (var n in t || (t = {}))
7
+ Nn.call(t, n) && Ne(e, n, t[n]);
8
+ if (ut)
9
+ for (var n of ut(t))
10
+ Mn.call(t, n) && Ne(e, n, t[n]);
11
11
  return e;
12
- }, dt = (e, t) => Cr(e, Mr(t));
13
- var O = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var mt = (e, t, r) => new Promise((n, i) => {
12
+ }, lt = (e, t) => In(e, Ln(t));
13
+ var O = (e, t, n) => (Ne(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var ft = (e, t, n) => new Promise((r, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
- a(r.next(u));
18
- } catch (l) {
19
- i(l);
17
+ a(n.next(u));
18
+ } catch (h) {
19
+ i(h);
20
20
  }
21
21
  }, s = (u) => {
22
22
  try {
23
- a(r.throw(u));
24
- } catch (l) {
25
- i(l);
23
+ a(n.throw(u));
24
+ } catch (h) {
25
+ i(h);
26
26
  }
27
- }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
27
+ }, a = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(o, s);
28
+ a((n = n.apply(e, t)).next());
29
29
  });
30
30
  function H() {
31
31
  }
32
- const Ur = (e) => e;
33
- function Dr(e, t) {
34
- for (const r in t)
35
- e[r] = t[r];
32
+ const Cn = (e) => e;
33
+ function $n(e, t) {
34
+ for (const n in t)
35
+ e[n] = t[n];
36
36
  return (
37
37
  /** @type {T & S} */
38
38
  e
39
39
  );
40
40
  }
41
- function jt(e) {
41
+ function Ut(e) {
42
42
  return e();
43
43
  }
44
- function bt() {
44
+ function ct() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
47
  function G(e) {
48
- e.forEach(jt);
48
+ e.forEach(Ut);
49
49
  }
50
- function ue(e) {
50
+ function he(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function kt(e, t) {
53
+ function Dt(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- let de;
57
- function Oo(e, t) {
58
- return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
56
+ let pe;
57
+ function Ho(e, t) {
58
+ return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
59
59
  }
60
- function Gr(e) {
60
+ function Rn(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
- function Vt(e, ...t) {
63
+ function Gt(e, ...t) {
64
64
  if (e == null) {
65
- for (const n of t)
66
- n(void 0);
65
+ for (const r of t)
66
+ r(void 0);
67
67
  return H;
68
68
  }
69
- const r = e.subscribe(...t);
70
- return r.unsubscribe ? () => r.unsubscribe() : r;
69
+ const n = e.subscribe(...t);
70
+ return n.unsubscribe ? () => n.unsubscribe() : n;
71
71
  }
72
- function Fr(e, t, r) {
73
- e.$$.on_destroy.push(Vt(t, r));
72
+ function Un(e, t, n) {
73
+ e.$$.on_destroy.push(Gt(t, n));
74
74
  }
75
- function Io(e, t, r, n) {
75
+ function Bo(e, t, n, r) {
76
76
  if (e) {
77
- const i = Xt(e, t, r, n);
77
+ const i = Ft(e, t, n, r);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function Xt(e, t, r, n) {
82
- return e[1] && n ? Dr(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
+ function Ft(e, t, n, r) {
82
+ return e[1] && r ? $n(n.ctx.slice(), e[1](r(t))) : n.ctx;
83
83
  }
84
- function Lo(e, t, r, n) {
85
- if (e[2] && n) {
86
- const i = e[2](n(r));
84
+ function Ao(e, t, n, r) {
85
+ if (e[2] && r) {
86
+ const i = e[2](r(n));
87
87
  if (t.dirty === void 0)
88
88
  return i;
89
89
  if (typeof i == "object") {
@@ -96,40 +96,40 @@ function Lo(e, t, r, n) {
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function No(e, t, r, n, i, o) {
99
+ function Po(e, t, n, r, i, o) {
100
100
  if (i) {
101
- const s = Xt(t, r, n, o);
101
+ const s = Ft(t, n, r, o);
102
102
  e.p(s, i);
103
103
  }
104
104
  }
105
- function Co(e) {
105
+ function Oo(e) {
106
106
  if (e.ctx.length > 32) {
107
- const t = [], r = e.ctx.length / 32;
108
- for (let n = 0; n < r; n++)
109
- t[n] = -1;
107
+ const t = [], n = e.ctx.length / 32;
108
+ for (let r = 0; r < n; r++)
109
+ t[r] = -1;
110
110
  return t;
111
111
  }
112
112
  return -1;
113
113
  }
114
- function Mo(e) {
114
+ function Io(e) {
115
115
  return e == null ? "" : e;
116
116
  }
117
- function $o(e) {
118
- return e && ue(e.destroy) ? e.destroy : H;
117
+ function Lo(e) {
118
+ return e && he(e.destroy) ? e.destroy : H;
119
119
  }
120
- const Wt = typeof window != "undefined";
121
- let jr = Wt ? () => window.performance.now() : () => Date.now(), ut = Wt ? (e) => requestAnimationFrame(e) : H;
120
+ const jt = typeof window != "undefined";
121
+ let Dn = jt ? () => window.performance.now() : () => Date.now(), rt = jt ? (e) => requestAnimationFrame(e) : H;
122
122
  const W = /* @__PURE__ */ new Set();
123
- function zt(e) {
123
+ function kt(e) {
124
124
  W.forEach((t) => {
125
125
  t.c(e) || (W.delete(t), t.f());
126
- }), W.size !== 0 && ut(zt);
126
+ }), W.size !== 0 && rt(kt);
127
127
  }
128
- function kr(e) {
128
+ function Gn(e) {
129
129
  let t;
130
- return W.size === 0 && ut(zt), {
131
- promise: new Promise((r) => {
132
- W.add(t = { c: e, f: r });
130
+ return W.size === 0 && rt(kt), {
131
+ promise: new Promise((n) => {
132
+ W.add(t = { c: e, f: n });
133
133
  }),
134
134
  abort() {
135
135
  W.delete(t);
@@ -139,14 +139,14 @@ function kr(e) {
139
139
  function A(e, t) {
140
140
  e.appendChild(t);
141
141
  }
142
- function Vr(e, t, r) {
143
- const n = lt(e);
144
- if (!n.getElementById(t)) {
145
- const i = C("style");
146
- i.id = t, i.textContent = r, Zt(n, i);
142
+ function Fn(e, t, n) {
143
+ const r = it(e);
144
+ if (!r.getElementById(t)) {
145
+ const i = N("style");
146
+ i.id = t, i.textContent = n, Vt(r, i);
147
147
  }
148
148
  }
149
- function lt(e) {
149
+ function it(e) {
150
150
  if (!e)
151
151
  return document;
152
152
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -156,232 +156,232 @@ function lt(e) {
156
156
  t
157
157
  ) : e.ownerDocument;
158
158
  }
159
- function Xr(e) {
160
- const t = C("style");
161
- return t.textContent = "/* empty */", Zt(lt(e), t), t.sheet;
159
+ function jn(e) {
160
+ const t = N("style");
161
+ return t.textContent = "/* empty */", Vt(it(e), t), t.sheet;
162
162
  }
163
- function Zt(e, t) {
163
+ function Vt(e, t) {
164
164
  return A(
165
165
  /** @type {Document} */
166
166
  e.head || e,
167
167
  t
168
168
  ), t.sheet;
169
169
  }
170
- function le(e, t, r) {
171
- e.insertBefore(t, r || null);
170
+ function le(e, t, n) {
171
+ e.insertBefore(t, n || null);
172
172
  }
173
173
  function F(e) {
174
174
  e.parentNode && e.parentNode.removeChild(e);
175
175
  }
176
- function Ro(e, t) {
177
- for (let r = 0; r < e.length; r += 1)
178
- e[r] && e[r].d(t);
176
+ function No(e, t) {
177
+ for (let n = 0; n < e.length; n += 1)
178
+ e[n] && e[n].d(t);
179
179
  }
180
- function C(e) {
180
+ function N(e) {
181
181
  return document.createElement(e);
182
182
  }
183
- function te(e) {
183
+ function ne(e) {
184
184
  return document.createElementNS("http://www.w3.org/2000/svg", e);
185
185
  }
186
- function he(e) {
186
+ function fe(e) {
187
187
  return document.createTextNode(e);
188
188
  }
189
- function Wr() {
190
- return he(" ");
189
+ function kn() {
190
+ return fe(" ");
191
191
  }
192
- function Uo() {
193
- return he("");
192
+ function Mo() {
193
+ return fe("");
194
194
  }
195
- function qt(e, t, r, n) {
196
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
195
+ function Xt(e, t, n, r) {
196
+ return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
197
197
  }
198
- function Do(e) {
198
+ function Co(e) {
199
199
  return function(t) {
200
200
  return t.preventDefault(), e.call(this, t);
201
201
  };
202
202
  }
203
- function B(e, t, r) {
204
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
203
+ function B(e, t, n) {
204
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
205
205
  }
206
- function Go(e, t, r) {
207
- const n = t.toLowerCase();
208
- 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);
206
+ function $o(e, t, n) {
207
+ const r = t.toLowerCase();
208
+ 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);
209
209
  }
210
- function Fo(e) {
210
+ function Ro(e) {
211
211
  let t;
212
212
  return {
213
213
  /* push */
214
- p(...r) {
215
- t = r, t.forEach((n) => e.push(n));
214
+ p(...n) {
215
+ t = n, t.forEach((r) => e.push(r));
216
216
  },
217
217
  /* remove */
218
218
  r() {
219
- t.forEach((r) => e.splice(e.indexOf(r), 1));
219
+ t.forEach((n) => e.splice(e.indexOf(n), 1));
220
220
  }
221
221
  };
222
222
  }
223
- function jo(e) {
223
+ function Uo(e) {
224
224
  return e === "" ? null : +e;
225
225
  }
226
- function zr(e) {
226
+ function Vn(e) {
227
227
  return Array.from(e.childNodes);
228
228
  }
229
- function Qt(e, t) {
229
+ function Wt(e, t) {
230
230
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
231
231
  t);
232
232
  }
233
- function ko(e, t) {
233
+ function Do(e, t) {
234
234
  e.value = t == null ? "" : t;
235
235
  }
236
- function Zr(e, t, r, n) {
237
- r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
236
+ function Xn(e, t, n, r) {
237
+ n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
238
238
  }
239
- function Vo(e, t, r) {
240
- for (let n = 0; n < e.options.length; n += 1) {
241
- const i = e.options[n];
239
+ function Go(e, t, n) {
240
+ for (let r = 0; r < e.options.length; r += 1) {
241
+ const i = e.options[r];
242
242
  if (i.__value === t) {
243
243
  i.selected = !0;
244
244
  return;
245
245
  }
246
246
  }
247
- (!r || t !== void 0) && (e.selectedIndex = -1);
247
+ (!n || t !== void 0) && (e.selectedIndex = -1);
248
248
  }
249
- function Xo(e) {
249
+ function Fo(e) {
250
250
  const t = e.querySelector(":checked");
251
251
  return t && t.__value;
252
252
  }
253
- function Wo(e, t, r) {
254
- e.classList.toggle(t, !!r);
253
+ function jo(e, t, n) {
254
+ e.classList.toggle(t, !!n);
255
255
  }
256
- function qr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
257
- return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
256
+ function Wn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
257
+ return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
258
258
  }
259
- function Qr(e) {
259
+ function zn(e) {
260
260
  const t = {};
261
261
  return e.childNodes.forEach(
262
262
  /** @param {Element} node */
263
- (r) => {
264
- t[r.slot || "default"] = !0;
263
+ (n) => {
264
+ t[n.slot || "default"] = !0;
265
265
  }
266
266
  ), t;
267
267
  }
268
- const xe = /* @__PURE__ */ new Map();
268
+ const Ee = /* @__PURE__ */ new Map();
269
269
  let Se = 0;
270
- function Jr(e) {
271
- let t = 5381, r = e.length;
272
- for (; r--; )
273
- t = (t << 5) - t ^ e.charCodeAt(r);
270
+ function Zn(e) {
271
+ let t = 5381, n = e.length;
272
+ for (; n--; )
273
+ t = (t << 5) - t ^ e.charCodeAt(n);
274
274
  return t >>> 0;
275
275
  }
276
- function Yr(e, t) {
277
- const r = { stylesheet: Xr(t), rules: {} };
278
- return xe.set(e, r), r;
276
+ function qn(e, t) {
277
+ const n = { stylesheet: jn(t), rules: {} };
278
+ return Ee.set(e, n), n;
279
279
  }
280
- function gt(e, t, r, n, i, o, s, a = 0) {
281
- const u = 16.666 / n;
282
- let l = `{
280
+ function dt(e, t, n, r, i, o, s, a = 0) {
281
+ const u = 16.666 / r;
282
+ let h = `{
283
283
  `;
284
- for (let _ = 0; _ <= 1; _ += u) {
285
- const w = t + (r - t) * o(_);
286
- l += _ * 100 + `%{${s(w, 1 - w)}}
284
+ for (let x = 0; x <= 1; x += u) {
285
+ const T = t + (n - t) * o(x);
286
+ h += x * 100 + `%{${s(T, 1 - T)}}
287
287
  `;
288
288
  }
289
- const h = l + `100% {${s(r, 1 - r)}}
290
- }`, f = `__svelte_${Jr(h)}_${a}`, c = lt(e), { stylesheet: d, rules: p } = xe.get(c) || Yr(c, e);
291
- p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${h}`, d.cssRules.length));
289
+ const l = h + `100% {${s(n, 1 - n)}}
290
+ }`, c = `__svelte_${Zn(l)}_${a}`, f = it(e), { stylesheet: p, rules: d } = Ee.get(f) || qn(f, e);
291
+ d[c] || (d[c] = !0, p.insertRule(`@keyframes ${c} ${l}`, p.cssRules.length));
292
292
  const m = e.style.animation || "";
293
- return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Se += 1, f;
293
+ return e.style.animation = `${m ? `${m}, ` : ""}${c} ${r}ms linear ${i}ms 1 both`, Se += 1, c;
294
294
  }
295
- function Kr(e, t) {
296
- const r = (e.style.animation || "").split(", "), n = r.filter(
295
+ function Qn(e, t) {
296
+ const n = (e.style.animation || "").split(", "), r = n.filter(
297
297
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
298
298
  // remove all Svelte animations
299
- ), i = r.length - n.length;
300
- i && (e.style.animation = n.join(", "), Se -= i, Se || en());
299
+ ), i = n.length - r.length;
300
+ i && (e.style.animation = r.join(", "), Se -= i, Se || Jn());
301
301
  }
302
- function en() {
303
- ut(() => {
304
- Se || (xe.forEach((e) => {
302
+ function Jn() {
303
+ rt(() => {
304
+ Se || (Ee.forEach((e) => {
305
305
  const { ownerNode: t } = e.stylesheet;
306
306
  t && F(t);
307
- }), xe.clear());
307
+ }), Ee.clear());
308
308
  });
309
309
  }
310
- let oe;
311
- function ie(e) {
312
- oe = e;
310
+ let se;
311
+ function oe(e) {
312
+ se = e;
313
313
  }
314
- function tn() {
315
- if (!oe)
314
+ function Yn() {
315
+ if (!se)
316
316
  throw new Error("Function called outside component initialization");
317
- return oe;
317
+ return se;
318
318
  }
319
- function rn(e) {
320
- tn().$$.on_mount.push(e);
319
+ function Kn(e) {
320
+ Yn().$$.on_mount.push(e);
321
321
  }
322
- const X = [], Xe = [];
322
+ const X = [], je = [];
323
323
  let z = [];
324
- const yt = [], Jt = /* @__PURE__ */ Promise.resolve();
325
- let We = !1;
326
- function Yt() {
327
- We || (We = !0, Jt.then(L));
324
+ const pt = [], zt = /* @__PURE__ */ Promise.resolve();
325
+ let ke = !1;
326
+ function Zt() {
327
+ ke || (ke = !0, zt.then(L));
328
328
  }
329
- function zo() {
330
- return Yt(), Jt;
329
+ function ko() {
330
+ return Zt(), zt;
331
331
  }
332
- function we(e) {
332
+ function Te(e) {
333
333
  z.push(e);
334
334
  }
335
- const $e = /* @__PURE__ */ new Set();
335
+ const Me = /* @__PURE__ */ new Set();
336
336
  let k = 0;
337
337
  function L() {
338
338
  if (k !== 0)
339
339
  return;
340
- const e = oe;
340
+ const e = se;
341
341
  do {
342
342
  try {
343
343
  for (; k < X.length; ) {
344
344
  const t = X[k];
345
- k++, ie(t), nn(t.$$);
345
+ k++, oe(t), er(t.$$);
346
346
  }
347
347
  } catch (t) {
348
348
  throw X.length = 0, k = 0, t;
349
349
  }
350
- for (ie(null), X.length = 0, k = 0; Xe.length; )
351
- Xe.pop()();
350
+ for (oe(null), X.length = 0, k = 0; je.length; )
351
+ je.pop()();
352
352
  for (let t = 0; t < z.length; t += 1) {
353
- const r = z[t];
354
- $e.has(r) || ($e.add(r), r());
353
+ const n = z[t];
354
+ Me.has(n) || (Me.add(n), n());
355
355
  }
356
356
  z.length = 0;
357
357
  } while (X.length);
358
- for (; yt.length; )
359
- yt.pop()();
360
- We = !1, $e.clear(), ie(e);
358
+ for (; pt.length; )
359
+ pt.pop()();
360
+ ke = !1, Me.clear(), oe(e);
361
361
  }
362
- function nn(e) {
362
+ function er(e) {
363
363
  if (e.fragment !== null) {
364
364
  e.update(), G(e.before_update);
365
365
  const t = e.dirty;
366
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
366
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
367
367
  }
368
368
  }
369
- function on(e) {
370
- const t = [], r = [];
371
- z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
369
+ function tr(e) {
370
+ const t = [], n = [];
371
+ z.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), z = t;
372
372
  }
373
373
  let re;
374
- function sn() {
374
+ function nr() {
375
375
  return re || (re = Promise.resolve(), re.then(() => {
376
376
  re = null;
377
377
  })), re;
378
378
  }
379
- function Re(e, t, r) {
380
- e.dispatchEvent(qr(`${t ? "intro" : "outro"}${r}`));
379
+ function Ce(e, t, n) {
380
+ e.dispatchEvent(Wn(`${t ? "intro" : "outro"}${n}`));
381
381
  }
382
382
  const ge = /* @__PURE__ */ new Set();
383
383
  let M;
384
- function Zo() {
384
+ function Vo() {
385
385
  M = {
386
386
  r: 0,
387
387
  c: [],
@@ -389,114 +389,114 @@ function Zo() {
389
389
  // parent group
390
390
  };
391
391
  }
392
- function qo() {
392
+ function Xo() {
393
393
  M.r || G(M.c), M = M.p;
394
394
  }
395
- function an(e, t) {
395
+ function rr(e, t) {
396
396
  e && e.i && (ge.delete(e), e.i(t));
397
397
  }
398
- function Qo(e, t, r, n) {
398
+ function Wo(e, t, n, r) {
399
399
  if (e && e.o) {
400
400
  if (ge.has(e))
401
401
  return;
402
402
  ge.add(e), M.c.push(() => {
403
- ge.delete(e), n && (r && e.d(1), n());
403
+ ge.delete(e), r && (n && e.d(1), r());
404
404
  }), e.o(t);
405
405
  } else
406
- n && n();
406
+ r && r();
407
407
  }
408
- const un = { duration: 0 };
409
- function Jo(e, t, r, n) {
410
- let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, l = null, h;
411
- function f() {
412
- l && Kr(e, l);
408
+ const ir = { duration: 0 };
409
+ function zo(e, t, n, r) {
410
+ let o = t(e, n, { direction: "both" }), s = r ? 0 : 1, a = null, u = null, h = null, l;
411
+ function c() {
412
+ h && Qn(e, h);
413
413
  }
414
- function c(p, m) {
415
- const _ = (
414
+ function f(d, m) {
415
+ const x = (
416
416
  /** @type {Program['d']} */
417
- p.b - s
417
+ d.b - s
418
418
  );
419
- return m *= Math.abs(_), {
419
+ return m *= Math.abs(x), {
420
420
  a: s,
421
- b: p.b,
422
- d: _,
421
+ b: d.b,
422
+ d: x,
423
423
  duration: m,
424
- start: p.start,
425
- end: p.start + m,
426
- group: p.group
424
+ start: d.start,
425
+ end: d.start + m,
426
+ group: d.group
427
427
  };
428
428
  }
429
- function d(p) {
429
+ function p(d) {
430
430
  const {
431
431
  delay: m = 0,
432
- duration: _ = 300,
433
- easing: w = Ur,
432
+ duration: x = 300,
433
+ easing: T = Cn,
434
434
  tick: P = H,
435
- css: x
436
- } = o || un, I = {
437
- start: jr() + m,
438
- b: p
435
+ css: E
436
+ } = o || ir, I = {
437
+ start: Dn() + m,
438
+ b: d
439
439
  };
440
- p || (I.group = M, M.r += 1), "inert" in e && (p ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
441
- e.inert, e.inert = !0)), a || u ? u = I : (x && (f(), l = gt(e, s, p, _, m, w, x)), p && P(0, 1), a = c(I, _), we(() => Re(e, p, "start")), kr((T) => {
442
- if (u && T > u.start && (a = c(u, _), u = null, Re(e, a.b, "start"), x && (f(), l = gt(
440
+ d || (I.group = M, M.r += 1), "inert" in e && (d ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
441
+ e.inert, e.inert = !0)), a || u ? u = I : (E && (c(), h = dt(e, s, d, x, m, T, E)), d && P(0, 1), a = f(I, x), Te(() => Ce(e, d, "start")), Gn((w) => {
442
+ if (u && w > u.start && (a = f(u, x), u = null, Ce(e, a.b, "start"), E && (c(), h = dt(
443
443
  e,
444
444
  s,
445
445
  a.b,
446
446
  a.duration,
447
447
  0,
448
- w,
448
+ T,
449
449
  o.css
450
450
  ))), a) {
451
- if (T >= a.end)
452
- P(s = a.b, 1 - s), Re(e, a.b, "end"), u || (a.b ? f() : --a.group.r || G(a.group.c)), a = null;
453
- else if (T >= a.start) {
454
- const R = T - a.start;
455
- s = a.a + a.d * w(R / a.duration), P(s, 1 - s);
451
+ if (w >= a.end)
452
+ P(s = a.b, 1 - s), Ce(e, a.b, "end"), u || (a.b ? c() : --a.group.r || G(a.group.c)), a = null;
453
+ else if (w >= a.start) {
454
+ const R = w - a.start;
455
+ s = a.a + a.d * T(R / a.duration), P(s, 1 - s);
456
456
  }
457
457
  }
458
458
  return !!(a || u);
459
459
  }));
460
460
  }
461
461
  return {
462
- run(p) {
463
- ue(o) ? sn().then(() => {
464
- o = o({ direction: p ? "in" : "out" }), d(p);
465
- }) : d(p);
462
+ run(d) {
463
+ he(o) ? nr().then(() => {
464
+ o = o({ direction: d ? "in" : "out" }), p(d);
465
+ }) : p(d);
466
466
  },
467
467
  end() {
468
- f(), a = u = null;
468
+ c(), a = u = null;
469
469
  }
470
470
  };
471
471
  }
472
- function Yo(e) {
472
+ function Zo(e) {
473
473
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
474
474
  }
475
- function ln(e, t, r) {
476
- const { fragment: n, after_update: i } = e.$$;
477
- n && n.m(t, r), we(() => {
478
- const o = e.$$.on_mount.map(jt).filter(ue);
475
+ function or(e, t, n) {
476
+ const { fragment: r, after_update: i } = e.$$;
477
+ r && r.m(t, n), Te(() => {
478
+ const o = e.$$.on_mount.map(Ut).filter(he);
479
479
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
480
- }), i.forEach(we);
480
+ }), i.forEach(Te);
481
481
  }
482
- function hn(e, t) {
483
- const r = e.$$;
484
- r.fragment !== null && (on(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
482
+ function sr(e, t) {
483
+ const n = e.$$;
484
+ n.fragment !== null && (tr(n.after_update), G(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
485
485
  }
486
- function cn(e, t) {
487
- e.$$.dirty[0] === -1 && (X.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
486
+ function ar(e, t) {
487
+ e.$$.dirty[0] === -1 && (X.push(e), Zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
488
488
  }
489
- function fn(e, t, r, n, i, o, s = null, a = [-1]) {
490
- const u = oe;
491
- ie(e);
492
- const l = e.$$ = {
489
+ function ur(e, t, n, r, i, o, s = null, a = [-1]) {
490
+ const u = se;
491
+ oe(e);
492
+ const h = e.$$ = {
493
493
  fragment: null,
494
494
  ctx: [],
495
495
  // state
496
496
  props: o,
497
497
  update: H,
498
498
  not_equal: i,
499
- bound: bt(),
499
+ bound: ct(),
500
500
  // lifecycle
501
501
  on_mount: [],
502
502
  on_destroy: [],
@@ -505,29 +505,29 @@ function fn(e, t, r, n, i, o, s = null, a = [-1]) {
505
505
  after_update: [],
506
506
  context: new Map(t.context || (u ? u.$$.context : [])),
507
507
  // everything else
508
- callbacks: bt(),
508
+ callbacks: ct(),
509
509
  dirty: a,
510
510
  skip_bound: !1,
511
511
  root: t.target || u.$$.root
512
512
  };
513
- s && s(l.root);
514
- let h = !1;
515
- if (l.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
516
- const p = d.length ? d[0] : c;
517
- return l.ctx && i(l.ctx[f], l.ctx[f] = p) && (!l.skip_bound && l.bound[f] && l.bound[f](p), h && cn(e, f)), c;
518
- }) : [], l.update(), h = !0, G(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
513
+ s && s(h.root);
514
+ let l = !1;
515
+ if (h.ctx = n ? n(e, t.props || {}, (c, f, ...p) => {
516
+ const d = p.length ? p[0] : f;
517
+ return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), l && ar(e, c)), f;
518
+ }) : [], h.update(), l = !0, G(h.before_update), h.fragment = r ? r(h.ctx) : !1, t.target) {
519
519
  if (t.hydrate) {
520
- const f = zr(t.target);
521
- l.fragment && l.fragment.l(f), f.forEach(F);
520
+ const c = Vn(t.target);
521
+ h.fragment && h.fragment.l(c), c.forEach(F);
522
522
  } else
523
- l.fragment && l.fragment.c();
524
- t.intro && an(e.$$.fragment), ln(e, t.target, t.anchor), L();
523
+ h.fragment && h.fragment.c();
524
+ t.intro && rr(e.$$.fragment), or(e, t.target, t.anchor), L();
525
525
  }
526
- ie(u);
526
+ oe(u);
527
527
  }
528
- let Kt;
529
- typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
530
- constructor(t, r, n) {
528
+ let qt;
529
+ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
530
+ constructor(t, n, r) {
531
531
  super();
532
532
  /** The Svelte component constructor */
533
533
  O(this, "$$ctor");
@@ -547,49 +547,49 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
547
547
  O(this, "$$l", {});
548
548
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
549
549
  O(this, "$$l_u", /* @__PURE__ */ new Map());
550
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
550
+ this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
551
551
  }
552
- addEventListener(t, r, n) {
553
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
554
- const i = this.$$c.$on(t, r);
555
- this.$$l_u.set(r, i);
552
+ addEventListener(t, n, r) {
553
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
554
+ const i = this.$$c.$on(t, n);
555
+ this.$$l_u.set(n, i);
556
556
  }
557
- super.addEventListener(t, r, n);
557
+ super.addEventListener(t, n, r);
558
558
  }
559
- removeEventListener(t, r, n) {
560
- if (super.removeEventListener(t, r, n), this.$$c) {
561
- const i = this.$$l_u.get(r);
562
- i && (i(), this.$$l_u.delete(r));
559
+ removeEventListener(t, n, r) {
560
+ if (super.removeEventListener(t, n, r), this.$$c) {
561
+ const i = this.$$l_u.get(n);
562
+ i && (i(), this.$$l_u.delete(n));
563
563
  }
564
564
  }
565
565
  connectedCallback() {
566
- return mt(this, null, function* () {
566
+ return ft(this, null, function* () {
567
567
  if (this.$$cn = !0, !this.$$c) {
568
568
  let t = function(o) {
569
569
  return () => {
570
570
  let s;
571
571
  return {
572
572
  c: function() {
573
- s = C("slot"), o !== "default" && B(s, "name", o);
573
+ s = N("slot"), o !== "default" && B(s, "name", o);
574
574
  },
575
575
  /**
576
576
  * @param {HTMLElement} target
577
577
  * @param {HTMLElement} [anchor]
578
578
  */
579
- m: function(l, h) {
580
- le(l, s, h);
579
+ m: function(h, l) {
580
+ le(h, s, l);
581
581
  },
582
- d: function(l) {
583
- l && F(s);
582
+ d: function(h) {
583
+ h && F(s);
584
584
  }
585
585
  };
586
586
  };
587
587
  };
588
588
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
589
589
  return;
590
- const r = {}, n = Qr(this);
590
+ const n = {}, r = zn(this);
591
591
  for (const o of this.$$s)
592
- o in n && (r[o] = [t(o)]);
592
+ o in r && (n[o] = [t(o)]);
593
593
  for (const o of this.attributes) {
594
594
  const s = this.$$g_p(o.name);
595
595
  s in this.$$d || (this.$$d[s] = ye(s, o.value, this.$$p_d, "toProp"));
@@ -598,8 +598,8 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
598
598
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
599
599
  this.$$c = new this.$$ctor({
600
600
  target: this.shadowRoot || this,
601
- props: dt(pt({}, this.$$d), {
602
- $$slots: r,
601
+ props: lt(ht({}, this.$$d), {
602
+ $$slots: n,
603
603
  $$scope: {
604
604
  ctx: []
605
605
  }
@@ -631,9 +631,9 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
631
631
  }
632
632
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
633
633
  // and setting attributes through setAttribute etc, this is helpful
634
- attributeChangedCallback(t, r, n) {
634
+ attributeChangedCallback(t, n, r) {
635
635
  var i;
636
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
636
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
637
637
  }
638
638
  disconnectedCallback() {
639
639
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -642,16 +642,16 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
642
642
  }
643
643
  $$g_p(t) {
644
644
  return Object.keys(this.$$p_d).find(
645
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
645
+ (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
646
646
  ) || t;
647
647
  }
648
648
  });
649
- function ye(e, t, r, n) {
649
+ function ye(e, t, n, r) {
650
650
  var o;
651
- const i = (o = r[e]) == null ? void 0 : o.type;
652
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
651
+ const i = (o = n[e]) == null ? void 0 : o.type;
652
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
653
653
  return t;
654
- if (n === "toAttribute")
654
+ if (r === "toAttribute")
655
655
  switch (i) {
656
656
  case "Object":
657
657
  case "Array":
@@ -676,10 +676,10 @@ function ye(e, t, r, n) {
676
676
  return t;
677
677
  }
678
678
  }
679
- function pn(e, t, r, n, i, o) {
680
- let s = class extends Kt {
679
+ function hr(e, t, n, r, i, o) {
680
+ let s = class extends qt {
681
681
  constructor() {
682
- super(e, r, i), this.$$p_d = t;
682
+ super(e, n, i), this.$$p_d = t;
683
683
  }
684
684
  static get observedAttributes() {
685
685
  return Object.keys(t).map(
@@ -693,11 +693,11 @@ function pn(e, t, r, n, i, o) {
693
693
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
694
694
  },
695
695
  set(u) {
696
- var l;
697
- u = ye(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
696
+ var h;
697
+ u = ye(a, u, t), this.$$d[a] = u, (h = this.$$c) == null || h.$set({ [a]: u });
698
698
  }
699
699
  });
700
- }), n.forEach((a) => {
700
+ }), r.forEach((a) => {
701
701
  Object.defineProperty(s.prototype, a, {
702
702
  get() {
703
703
  var u;
@@ -707,7 +707,7 @@ function pn(e, t, r, n, i, o) {
707
707
  }), e.element = /** @type {any} */
708
708
  s, s;
709
709
  }
710
- class dn {
710
+ class lr {
711
711
  constructor() {
712
712
  /**
713
713
  * ### PRIVATE API
@@ -728,7 +728,7 @@ class dn {
728
728
  }
729
729
  /** @returns {void} */
730
730
  $destroy() {
731
- hn(this, 1), this.$destroy = H;
731
+ sr(this, 1), this.$destroy = H;
732
732
  }
733
733
  /**
734
734
  * @template {Extract<keyof Events, string>} K
@@ -736,13 +736,13 @@ class dn {
736
736
  * @param {((e: Events[K]) => void) | null | undefined} callback
737
737
  * @returns {() => void}
738
738
  */
739
- $on(t, r) {
740
- if (!ue(r))
739
+ $on(t, n) {
740
+ if (!he(n))
741
741
  return H;
742
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
743
- return n.push(r), () => {
744
- const i = n.indexOf(r);
745
- i !== -1 && n.splice(i, 1);
742
+ const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
743
+ return r.push(n), () => {
744
+ const i = r.indexOf(n);
745
+ i !== -1 && r.splice(i, 1);
746
746
  };
747
747
  }
748
748
  /**
@@ -750,11 +750,11 @@ class dn {
750
750
  * @returns {void}
751
751
  */
752
752
  $set(t) {
753
- this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
753
+ this.$$set && !Rn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
754
754
  }
755
755
  }
756
- const mn = "4";
757
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mn);
756
+ const fr = "4";
757
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fr);
758
758
  /*! *****************************************************************************
759
759
  Copyright (c) Microsoft Corporation.
760
760
 
@@ -769,48 +769,67 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
769
769
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
770
770
  PERFORMANCE OF THIS SOFTWARE.
771
771
  ***************************************************************************** */
772
- var ze = function(e, t) {
773
- return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
774
- r.__proto__ = n;
775
- } || function(r, n) {
776
- for (var i in n)
777
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
778
- }, ze(e, t);
772
+ var Ve = function(e, t) {
773
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
774
+ n.__proto__ = r;
775
+ } || function(n, r) {
776
+ for (var i in r)
777
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
778
+ }, Ve(e, t);
779
779
  };
780
- function ce(e, t) {
780
+ function $(e, t) {
781
781
  if (typeof t != "function" && t !== null)
782
782
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
783
- ze(e, t);
784
- function r() {
783
+ Ve(e, t);
784
+ function n() {
785
785
  this.constructor = e;
786
786
  }
787
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
787
+ e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
788
+ }
789
+ var y = function() {
790
+ return y = Object.assign || function(t) {
791
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
792
+ n = arguments[r];
793
+ for (var o in n)
794
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
795
+ }
796
+ return t;
797
+ }, y.apply(this, arguments);
798
+ };
799
+ function cr(e, t) {
800
+ var n = {};
801
+ for (var r in e)
802
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
803
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
804
+ for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
805
+ t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
806
+ return n;
788
807
  }
789
- function Ze(e) {
790
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
791
- if (r)
792
- return r.call(e);
808
+ function Xe(e) {
809
+ var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
810
+ if (n)
811
+ return n.call(e);
793
812
  if (e && typeof e.length == "number")
794
813
  return {
795
814
  next: function() {
796
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
815
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
797
816
  }
798
817
  };
799
818
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
800
819
  }
801
- function qe(e, t) {
802
- var r = typeof Symbol == "function" && e[Symbol.iterator];
803
- if (!r)
820
+ function We(e, t) {
821
+ var n = typeof Symbol == "function" && e[Symbol.iterator];
822
+ if (!n)
804
823
  return e;
805
- var n = r.call(e), i, o = [], s;
824
+ var r = n.call(e), i, o = [], s;
806
825
  try {
807
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
826
+ for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
808
827
  o.push(i.value);
809
828
  } catch (a) {
810
829
  s = { error: a };
811
830
  } finally {
812
831
  try {
813
- i && !i.done && (r = n.return) && r.call(n);
832
+ i && !i.done && (n = r.return) && n.call(r);
814
833
  } finally {
815
834
  if (s)
816
835
  throw s.error;
@@ -818,57 +837,57 @@ function qe(e, t) {
818
837
  }
819
838
  return o;
820
839
  }
821
- function Qe(e, t, r) {
822
- if (arguments.length === 2)
823
- for (var n = 0, i = t.length, o; n < i; n++)
824
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
840
+ function Z(e, t, n) {
841
+ if (n || arguments.length === 2)
842
+ for (var r = 0, i = t.length, o; r < i; r++)
843
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
825
844
  return e.concat(o || t);
826
845
  }
827
- function $(e) {
846
+ function C(e) {
828
847
  return typeof e == "function";
829
848
  }
830
- function er(e) {
831
- var t = function(n) {
832
- Error.call(n), n.stack = new Error().stack;
833
- }, r = e(t);
834
- return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
835
- }
836
- var Ue = er(function(e) {
837
- return function(r) {
838
- e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
839
- ` + r.map(function(n, i) {
840
- return i + 1 + ") " + n.toString();
849
+ function Qt(e) {
850
+ var t = function(r) {
851
+ Error.call(r), r.stack = new Error().stack;
852
+ }, n = e(t);
853
+ return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
854
+ }
855
+ var $e = Qt(function(e) {
856
+ return function(n) {
857
+ e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
858
+ ` + n.map(function(r, i) {
859
+ return i + 1 + ") " + r.toString();
841
860
  }).join(`
842
- `) : "", this.name = "UnsubscriptionError", this.errors = r;
861
+ `) : "", this.name = "UnsubscriptionError", this.errors = n;
843
862
  };
844
863
  });
845
- function Je(e, t) {
864
+ function ze(e, t) {
846
865
  if (e) {
847
- var r = e.indexOf(t);
848
- 0 <= r && e.splice(r, 1);
866
+ var n = e.indexOf(t);
867
+ 0 <= n && e.splice(n, 1);
849
868
  }
850
869
  }
851
- var Ae = function() {
870
+ var Be = function() {
852
871
  function e(t) {
853
872
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
854
873
  }
855
874
  return e.prototype.unsubscribe = function() {
856
- var t, r, n, i, o;
875
+ var t, n, r, i, o;
857
876
  if (!this.closed) {
858
877
  this.closed = !0;
859
878
  var s = this._parentage;
860
879
  if (s)
861
880
  if (this._parentage = null, Array.isArray(s))
862
881
  try {
863
- for (var a = Ze(s), u = a.next(); !u.done; u = a.next()) {
864
- var l = u.value;
865
- l.remove(this);
882
+ for (var a = Xe(s), u = a.next(); !u.done; u = a.next()) {
883
+ var h = u.value;
884
+ h.remove(this);
866
885
  }
867
886
  } catch (m) {
868
887
  t = { error: m };
869
888
  } finally {
870
889
  try {
871
- u && !u.done && (r = a.return) && r.call(a);
890
+ u && !u.done && (n = a.return) && n.call(a);
872
891
  } finally {
873
892
  if (t)
874
893
  throw t.error;
@@ -876,119 +895,123 @@ var Ae = function() {
876
895
  }
877
896
  else
878
897
  s.remove(this);
879
- var h = this.initialTeardown;
880
- if ($(h))
898
+ var l = this.initialTeardown;
899
+ if (C(l))
881
900
  try {
882
- h();
901
+ l();
883
902
  } catch (m) {
884
- o = m instanceof Ue ? m.errors : [m];
903
+ o = m instanceof $e ? m.errors : [m];
885
904
  }
886
- var f = this._finalizers;
887
- if (f) {
905
+ var c = this._finalizers;
906
+ if (c) {
888
907
  this._finalizers = null;
889
908
  try {
890
- for (var c = Ze(f), d = c.next(); !d.done; d = c.next()) {
891
- var p = d.value;
909
+ for (var f = Xe(c), p = f.next(); !p.done; p = f.next()) {
910
+ var d = p.value;
892
911
  try {
893
- vt(p);
912
+ mt(d);
894
913
  } catch (m) {
895
- o = o != null ? o : [], m instanceof Ue ? o = Qe(Qe([], qe(o)), qe(m.errors)) : o.push(m);
914
+ o = o != null ? o : [], m instanceof $e ? o = Z(Z([], We(o)), We(m.errors)) : o.push(m);
896
915
  }
897
916
  }
898
917
  } catch (m) {
899
- n = { error: m };
918
+ r = { error: m };
900
919
  } finally {
901
920
  try {
902
- d && !d.done && (i = c.return) && i.call(c);
921
+ p && !p.done && (i = f.return) && i.call(f);
903
922
  } finally {
904
- if (n)
905
- throw n.error;
923
+ if (r)
924
+ throw r.error;
906
925
  }
907
926
  }
908
927
  }
909
928
  if (o)
910
- throw new Ue(o);
929
+ throw new $e(o);
911
930
  }
912
931
  }, e.prototype.add = function(t) {
913
- var r;
932
+ var n;
914
933
  if (t && t !== this)
915
934
  if (this.closed)
916
- vt(t);
935
+ mt(t);
917
936
  else {
918
937
  if (t instanceof e) {
919
938
  if (t.closed || t._hasParent(this))
920
939
  return;
921
940
  t._addParent(this);
922
941
  }
923
- (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
942
+ (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
924
943
  }
925
944
  }, e.prototype._hasParent = function(t) {
926
- var r = this._parentage;
927
- return r === t || Array.isArray(r) && r.includes(t);
945
+ var n = this._parentage;
946
+ return n === t || Array.isArray(n) && n.includes(t);
928
947
  }, e.prototype._addParent = function(t) {
929
- var r = this._parentage;
930
- this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
948
+ var n = this._parentage;
949
+ this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
931
950
  }, e.prototype._removeParent = function(t) {
932
- var r = this._parentage;
933
- r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
951
+ var n = this._parentage;
952
+ n === t ? this._parentage = null : Array.isArray(n) && ze(n, t);
934
953
  }, e.prototype.remove = function(t) {
935
- var r = this._finalizers;
936
- r && Je(r, t), t instanceof e && t._removeParent(this);
954
+ var n = this._finalizers;
955
+ n && ze(n, t), t instanceof e && t._removeParent(this);
937
956
  }, e.EMPTY = function() {
938
957
  var t = new e();
939
958
  return t.closed = !0, t;
940
959
  }(), e;
941
- }(), tr = Ae.EMPTY;
942
- function rr(e) {
943
- return e instanceof Ae || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
944
- }
945
- function vt(e) {
946
- $(e) ? e() : e.unsubscribe();
947
- }
948
- var bn = {
949
- Promise: void 0
950
- }, gn = {
960
+ }(), Jt = Be.EMPTY;
961
+ function Yt(e) {
962
+ return e instanceof Be || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
963
+ }
964
+ function mt(e) {
965
+ C(e) ? e() : e.unsubscribe();
966
+ }
967
+ var dr = {
968
+ onUnhandledError: null,
969
+ onStoppedNotification: null,
970
+ Promise: void 0,
971
+ useDeprecatedSynchronousErrorHandling: !1,
972
+ useDeprecatedNextContext: !1
973
+ }, pr = {
951
974
  setTimeout: function(e, t) {
952
- for (var r = [], n = 2; n < arguments.length; n++)
953
- r[n - 2] = arguments[n];
954
- return setTimeout.apply(void 0, Qe([e, t], qe(r)));
975
+ for (var n = [], r = 2; r < arguments.length; r++)
976
+ n[r - 2] = arguments[r];
977
+ return setTimeout.apply(void 0, Z([e, t], We(n)));
955
978
  },
956
979
  clearTimeout: function(e) {
957
980
  return clearTimeout(e);
958
981
  },
959
982
  delegate: void 0
960
983
  };
961
- function yn(e) {
962
- gn.setTimeout(function() {
984
+ function mr(e) {
985
+ pr.setTimeout(function() {
963
986
  throw e;
964
987
  });
965
988
  }
966
- function _t() {
989
+ function bt() {
967
990
  }
968
- function ve(e) {
991
+ function _e(e) {
969
992
  e();
970
993
  }
971
- var nr = function(e) {
972
- ce(t, e);
973
- function t(r) {
974
- var n = e.call(this) || this;
975
- return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = En, n;
994
+ var Kt = function(e) {
995
+ $(t, e);
996
+ function t(n) {
997
+ var r = e.call(this) || this;
998
+ return r.isStopped = !1, n ? (r.destination = n, Yt(n) && n.add(r)) : r.destination = yr, r;
976
999
  }
977
- return t.create = function(r, n, i) {
978
- return new Ye(r, n, i);
979
- }, t.prototype.next = function(r) {
980
- this.isStopped || this._next(r);
981
- }, t.prototype.error = function(r) {
982
- this.isStopped || (this.isStopped = !0, this._error(r));
1000
+ return t.create = function(n, r, i) {
1001
+ return new Ze(n, r, i);
1002
+ }, t.prototype.next = function(n) {
1003
+ this.isStopped || this._next(n);
1004
+ }, t.prototype.error = function(n) {
1005
+ this.isStopped || (this.isStopped = !0, this._error(n));
983
1006
  }, t.prototype.complete = function() {
984
1007
  this.isStopped || (this.isStopped = !0, this._complete());
985
1008
  }, t.prototype.unsubscribe = function() {
986
1009
  this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
987
- }, t.prototype._next = function(r) {
988
- this.destination.next(r);
989
- }, t.prototype._error = function(r) {
1010
+ }, t.prototype._next = function(n) {
1011
+ this.destination.next(n);
1012
+ }, t.prototype._error = function(n) {
990
1013
  try {
991
- this.destination.error(r);
1014
+ this.destination.error(n);
992
1015
  } finally {
993
1016
  this.unsubscribe();
994
1017
  }
@@ -999,25 +1022,25 @@ var nr = function(e) {
999
1022
  this.unsubscribe();
1000
1023
  }
1001
1024
  }, t;
1002
- }(Ae), vn = function() {
1025
+ }(Be), br = function() {
1003
1026
  function e(t) {
1004
1027
  this.partialObserver = t;
1005
1028
  }
1006
1029
  return e.prototype.next = function(t) {
1007
- var r = this.partialObserver;
1008
- if (r.next)
1030
+ var n = this.partialObserver;
1031
+ if (n.next)
1009
1032
  try {
1010
- r.next(t);
1011
- } catch (n) {
1012
- me(n);
1033
+ n.next(t);
1034
+ } catch (r) {
1035
+ me(r);
1013
1036
  }
1014
1037
  }, e.prototype.error = function(t) {
1015
- var r = this.partialObserver;
1016
- if (r.error)
1038
+ var n = this.partialObserver;
1039
+ if (n.error)
1017
1040
  try {
1018
- r.error(t);
1019
- } catch (n) {
1020
- me(n);
1041
+ n.error(t);
1042
+ } catch (r) {
1043
+ me(r);
1021
1044
  }
1022
1045
  else
1023
1046
  me(t);
@@ -1026,69 +1049,69 @@ var nr = function(e) {
1026
1049
  if (t.complete)
1027
1050
  try {
1028
1051
  t.complete();
1029
- } catch (r) {
1030
- me(r);
1052
+ } catch (n) {
1053
+ me(n);
1031
1054
  }
1032
1055
  }, e;
1033
- }(), Ye = function(e) {
1034
- ce(t, e);
1035
- function t(r, n, i) {
1056
+ }(), Ze = function(e) {
1057
+ $(t, e);
1058
+ function t(n, r, i) {
1036
1059
  var o = e.call(this) || this, s;
1037
- return $(r) || !r ? s = {
1038
- next: r != null ? r : void 0,
1039
- error: n != null ? n : void 0,
1060
+ return C(n) || !n ? s = {
1061
+ next: n != null ? n : void 0,
1062
+ error: r != null ? r : void 0,
1040
1063
  complete: i != null ? i : void 0
1041
- } : s = r, o.destination = new vn(s), o;
1064
+ } : s = n, o.destination = new br(s), o;
1042
1065
  }
1043
1066
  return t;
1044
- }(nr);
1067
+ }(Kt);
1045
1068
  function me(e) {
1046
- yn(e);
1069
+ mr(e);
1047
1070
  }
1048
- function _n(e) {
1071
+ function gr(e) {
1049
1072
  throw e;
1050
1073
  }
1051
- var En = {
1074
+ var yr = {
1052
1075
  closed: !0,
1053
- next: _t,
1054
- error: _n,
1055
- complete: _t
1056
- }, xn = function() {
1076
+ next: bt,
1077
+ error: gr,
1078
+ complete: bt
1079
+ }, _r = function() {
1057
1080
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1058
1081
  }();
1059
- function Sn(e) {
1082
+ function vr(e) {
1060
1083
  return e;
1061
1084
  }
1062
- function wn(e) {
1063
- return e.length === 0 ? Sn : e.length === 1 ? e[0] : function(r) {
1064
- return e.reduce(function(n, i) {
1065
- return i(n);
1066
- }, r);
1085
+ function xr(e) {
1086
+ return e.length === 0 ? vr : e.length === 1 ? e[0] : function(n) {
1087
+ return e.reduce(function(r, i) {
1088
+ return i(r);
1089
+ }, n);
1067
1090
  };
1068
1091
  }
1069
- var Et = function() {
1092
+ var gt = function() {
1070
1093
  function e(t) {
1071
1094
  t && (this._subscribe = t);
1072
1095
  }
1073
1096
  return e.prototype.lift = function(t) {
1074
- var r = new e();
1075
- return r.source = this, r.operator = t, r;
1076
- }, e.prototype.subscribe = function(t, r, n) {
1077
- var i = this, o = Hn(t) ? t : new Ye(t, r, n);
1078
- return ve(function() {
1097
+ var n = new e();
1098
+ return n.source = this, n.operator = t, n;
1099
+ }, e.prototype.subscribe = function(t, n, r) {
1100
+ var i = this, o = Sr(t) ? t : new Ze(t, n, r);
1101
+ return _e(function() {
1079
1102
  var s = i, a = s.operator, u = s.source;
1080
1103
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
1081
1104
  }), o;
1082
1105
  }, e.prototype._trySubscribe = function(t) {
1083
1106
  try {
1084
1107
  return this._subscribe(t);
1085
- } catch (r) {
1086
- t.error(r);
1108
+ } catch (n) {
1109
+ t.error(n);
1087
1110
  }
1088
- }, e.prototype.forEach = function(t, r) {
1089
- var n = this;
1090
- return r = xt(r), new r(function(i, o) {
1091
- var s = new Ye({
1111
+ }, e.prototype.forEach = function(t, n) {
1112
+ var r = this;
1113
+ return n = yt(n), new n(function(i, o) {
1114
+ var s = new Ze({
1092
1115
  next: function(a) {
1093
1116
  try {
1094
1117
  t(a);
@@ -1099,72 +1122,72 @@ var Et = function() {
1099
1122
  error: o,
1100
1123
  complete: i
1101
1124
  });
1102
- n.subscribe(s);
1125
+ r.subscribe(s);
1103
1126
  });
1104
1127
  }, e.prototype._subscribe = function(t) {
1105
- var r;
1106
- return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1107
- }, e.prototype[xn] = function() {
1128
+ var n;
1129
+ return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
1130
+ }, e.prototype[_r] = function() {
1108
1131
  return this;
1109
1132
  }, e.prototype.pipe = function() {
1110
- for (var t = [], r = 0; r < arguments.length; r++)
1111
- t[r] = arguments[r];
1112
- return wn(t)(this);
1133
+ for (var t = [], n = 0; n < arguments.length; n++)
1134
+ t[n] = arguments[n];
1135
+ return xr(t)(this);
1113
1136
  }, e.prototype.toPromise = function(t) {
1114
- var r = this;
1115
- return t = xt(t), new t(function(n, i) {
1137
+ var n = this;
1138
+ return t = yt(t), new t(function(r, i) {
1116
1139
  var o;
1117
- r.subscribe(function(s) {
1140
+ n.subscribe(function(s) {
1118
1141
  return o = s;
1119
1142
  }, function(s) {
1120
1143
  return i(s);
1121
1144
  }, function() {
1122
- return n(o);
1145
+ return r(o);
1123
1146
  });
1124
1147
  });
1125
1148
  }, e.create = function(t) {
1126
1149
  return new e(t);
1127
1150
  }, e;
1128
1151
  }();
1129
- function xt(e) {
1152
+ function yt(e) {
1130
1153
  var t;
1131
- return (t = e != null ? e : bn.Promise) !== null && t !== void 0 ? t : Promise;
1154
+ return (t = e != null ? e : dr.Promise) !== null && t !== void 0 ? t : Promise;
1132
1155
  }
1133
- function Tn(e) {
1134
- return e && $(e.next) && $(e.error) && $(e.complete);
1156
+ function Er(e) {
1157
+ return e && C(e.next) && C(e.error) && C(e.complete);
1135
1158
  }
1136
- function Hn(e) {
1137
- return e && e instanceof nr || Tn(e) && rr(e);
1159
+ function Sr(e) {
1160
+ return e && e instanceof Kt || Er(e) && Yt(e);
1138
1161
  }
1139
- var Bn = er(function(e) {
1162
+ var Tr = Qt(function(e) {
1140
1163
  return function() {
1141
1164
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1142
1165
  };
1143
- }), ir = function(e) {
1144
- ce(t, e);
1166
+ }), en = function(e) {
1167
+ $(t, e);
1145
1168
  function t() {
1146
- var r = e.call(this) || this;
1147
- return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1169
+ var n = e.call(this) || this;
1170
+ return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
1148
1171
  }
1149
- return t.prototype.lift = function(r) {
1150
- var n = new St(this, this);
1151
- return n.operator = r, n;
1172
+ return t.prototype.lift = function(n) {
1173
+ var r = new _t(this, this);
1174
+ return r.operator = n, r;
1152
1175
  }, t.prototype._throwIfClosed = function() {
1153
1176
  if (this.closed)
1154
- throw new Bn();
1155
- }, t.prototype.next = function(r) {
1156
- var n = this;
1157
- ve(function() {
1177
+ throw new Tr();
1178
+ }, t.prototype.next = function(n) {
1179
+ var r = this;
1180
+ _e(function() {
1158
1181
  var i, o;
1159
- if (n._throwIfClosed(), !n.isStopped) {
1160
- n.currentObservers || (n.currentObservers = Array.from(n.observers));
1182
+ if (r._throwIfClosed(), !r.isStopped) {
1183
+ r.currentObservers || (r.currentObservers = Array.from(r.observers));
1161
1184
  try {
1162
- for (var s = Ze(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1185
+ for (var s = Xe(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
1163
1186
  var u = a.value;
1164
- u.next(r);
1187
+ u.next(n);
1165
1188
  }
1166
- } catch (l) {
1167
- i = { error: l };
1189
+ } catch (h) {
1190
+ i = { error: h };
1168
1191
  } finally {
1169
1192
  try {
1170
1193
  a && !a.done && (o = s.return) && o.call(s);
@@ -1175,122 +1198,122 @@ var Bn = er(function(e) {
1175
1198
  }
1176
1199
  }
1177
1200
  });
1178
- }, t.prototype.error = function(r) {
1179
- var n = this;
1180
- ve(function() {
1181
- if (n._throwIfClosed(), !n.isStopped) {
1182
- n.hasError = n.isStopped = !0, n.thrownError = r;
1183
- for (var i = n.observers; i.length; )
1184
- i.shift().error(r);
1201
+ }, t.prototype.error = function(n) {
1202
+ var r = this;
1203
+ _e(function() {
1204
+ if (r._throwIfClosed(), !r.isStopped) {
1205
+ r.hasError = r.isStopped = !0, r.thrownError = n;
1206
+ for (var i = r.observers; i.length; )
1207
+ i.shift().error(n);
1185
1208
  }
1186
1209
  });
1187
1210
  }, t.prototype.complete = function() {
1188
- var r = this;
1189
- ve(function() {
1190
- if (r._throwIfClosed(), !r.isStopped) {
1191
- r.isStopped = !0;
1192
- for (var n = r.observers; n.length; )
1193
- n.shift().complete();
1211
+ var n = this;
1212
+ _e(function() {
1213
+ if (n._throwIfClosed(), !n.isStopped) {
1214
+ n.isStopped = !0;
1215
+ for (var r = n.observers; r.length; )
1216
+ r.shift().complete();
1194
1217
  }
1195
1218
  });
1196
1219
  }, t.prototype.unsubscribe = function() {
1197
1220
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
1198
1221
  }, Object.defineProperty(t.prototype, "observed", {
1199
1222
  get: function() {
1200
- var r;
1201
- return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
1223
+ var n;
1224
+ return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
1202
1225
  },
1203
1226
  enumerable: !1,
1204
1227
  configurable: !0
1205
- }), t.prototype._trySubscribe = function(r) {
1206
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
1207
- }, t.prototype._subscribe = function(r) {
1208
- return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1209
- }, t.prototype._innerSubscribe = function(r) {
1210
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1211
- return o || s ? tr : (this.currentObservers = null, a.push(r), new Ae(function() {
1212
- n.currentObservers = null, Je(a, r);
1228
+ }), t.prototype._trySubscribe = function(n) {
1229
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
1230
+ }, t.prototype._subscribe = function(n) {
1231
+ return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
1232
+ }, t.prototype._innerSubscribe = function(n) {
1233
+ var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1234
+ return o || s ? Jt : (this.currentObservers = null, a.push(n), new Be(function() {
1235
+ r.currentObservers = null, ze(a, n);
1213
1236
  }));
1214
- }, t.prototype._checkFinalizedStatuses = function(r) {
1215
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1216
- i ? r.error(o) : s && r.complete();
1237
+ }, t.prototype._checkFinalizedStatuses = function(n) {
1238
+ var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
1239
+ i ? n.error(o) : s && n.complete();
1217
1240
  }, t.prototype.asObservable = function() {
1218
- var r = new Et();
1219
- return r.source = this, r;
1220
- }, t.create = function(r, n) {
1221
- return new St(r, n);
1241
+ var n = new gt();
1242
+ return n.source = this, n;
1243
+ }, t.create = function(n, r) {
1244
+ return new _t(n, r);
1222
1245
  }, t;
1223
- }(Et), St = function(e) {
1224
- ce(t, e);
1225
- function t(r, n) {
1246
+ }(gt), _t = function(e) {
1247
+ $(t, e);
1248
+ function t(n, r) {
1226
1249
  var i = e.call(this) || this;
1227
- return i.destination = r, i.source = n, i;
1250
+ return i.destination = n, i.source = r, i;
1228
1251
  }
1229
- return t.prototype.next = function(r) {
1230
- var n, i;
1231
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
1232
- }, t.prototype.error = function(r) {
1233
- var n, i;
1234
- (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
1252
+ return t.prototype.next = function(n) {
1253
+ var r, i;
1254
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
1255
+ }, t.prototype.error = function(n) {
1256
+ var r, i;
1257
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
1235
1258
  }, t.prototype.complete = function() {
1236
- var r, n;
1237
- (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1238
- }, t.prototype._subscribe = function(r) {
1239
- var n, i;
1240
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
1259
+ var n, r;
1260
+ (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
1261
+ }, t.prototype._subscribe = function(n) {
1262
+ var r, i;
1263
+ return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Jt;
1241
1264
  }, t;
1242
- }(ir), or = {
1265
+ }(en), tn = {
1243
1266
  now: function() {
1244
- return (or.delegate || Date).now();
1267
+ return (tn.delegate || Date).now();
1245
1268
  },
1246
1269
  delegate: void 0
1247
- }, An = function(e) {
1248
- ce(t, e);
1249
- function t(r, n, i) {
1250
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
1270
+ }, wr = function(e) {
1271
+ $(t, e);
1272
+ function t(n, r, i) {
1273
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = tn);
1251
1274
  var o = e.call(this) || this;
1252
- 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;
1275
+ 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;
1253
1276
  }
1254
- return t.prototype.next = function(r) {
1255
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
1256
- i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1257
- }, t.prototype._subscribe = function(r) {
1277
+ return t.prototype.next = function(n) {
1278
+ var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
1279
+ i || (o.push(n), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
1280
+ }, t.prototype._subscribe = function(n) {
1258
1281
  this._throwIfClosed(), this._trimBuffer();
1259
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
1260
- r.next(a[u]);
1261
- return this._checkFinalizedStatuses(r), n;
1282
+ for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !n.closed; u += o ? 1 : 2)
1283
+ n.next(a[u]);
1284
+ return this._checkFinalizedStatuses(n), r;
1262
1285
  }, t.prototype._trimBuffer = function() {
1263
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1264
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1265
- for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
1266
- l = h;
1267
- l && o.splice(0, l + 1);
1286
+ var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
1287
+ if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1288
+ for (var u = i.now(), h = 0, l = 1; l < o.length && o[l] <= u; l += 2)
1289
+ h = l;
1290
+ h && o.splice(0, h + 1);
1268
1291
  }
1269
1292
  }, t;
1270
- }(ir);
1271
- const wt = [], Tt = {}, Pn = (e, t = 0) => {
1272
- if (wt.indexOf(e) == -1) {
1273
- const r = new An(t);
1274
- Tt[e] = r, wt.push(e);
1293
+ }(en);
1294
+ const vt = [], xt = {}, Hr = (e, t = 0) => {
1295
+ if (vt.indexOf(e) == -1) {
1296
+ const n = new wr(t);
1297
+ xt[e] = n, vt.push(e);
1275
1298
  }
1276
- return Tt[e];
1299
+ return xt[e];
1277
1300
  }, V = [];
1278
- function On(e, t) {
1301
+ function Br(e, t) {
1279
1302
  return {
1280
- subscribe: Pe(e, t).subscribe
1303
+ subscribe: Ae(e, t).subscribe
1281
1304
  };
1282
1305
  }
1283
- function Pe(e, t = H) {
1284
- let r;
1285
- const n = /* @__PURE__ */ new Set();
1306
+ function Ae(e, t = H) {
1307
+ let n;
1308
+ const r = /* @__PURE__ */ new Set();
1286
1309
  function i(a) {
1287
- if (kt(e, a) && (e = a, r)) {
1310
+ if (Dt(e, a) && (e = a, n)) {
1288
1311
  const u = !V.length;
1289
- for (const l of n)
1290
- l[1](), V.push(l, e);
1312
+ for (const h of r)
1313
+ h[1](), V.push(h, e);
1291
1314
  if (u) {
1292
- for (let l = 0; l < V.length; l += 2)
1293
- V[l][0](V[l + 1]);
1315
+ for (let h = 0; h < V.length; h += 2)
1316
+ V[h][0](V[h + 1]);
1294
1317
  V.length = 0;
1295
1318
  }
1296
1319
  }
@@ -1299,192 +1322,153 @@ function Pe(e, t = H) {
1299
1322
  i(a(e));
1300
1323
  }
1301
1324
  function s(a, u = H) {
1302
- const l = [a, u];
1303
- return n.add(l), n.size === 1 && (r = t(i, o) || H), a(e), () => {
1304
- n.delete(l), n.size === 0 && r && (r(), r = null);
1325
+ const h = [a, u];
1326
+ return r.add(h), r.size === 1 && (n = t(i, o) || H), a(e), () => {
1327
+ r.delete(h), r.size === 0 && n && (n(), n = null);
1305
1328
  };
1306
1329
  }
1307
1330
  return { set: i, update: o, subscribe: s };
1308
1331
  }
1309
- function Y(e, t, r) {
1310
- const n = !Array.isArray(e), i = n ? [e] : e;
1332
+ function K(e, t, n) {
1333
+ const r = !Array.isArray(e), i = r ? [e] : e;
1311
1334
  if (!i.every(Boolean))
1312
1335
  throw new Error("derived() expects stores as input, got a falsy value");
1313
1336
  const o = t.length < 2;
1314
- return On(r, (s, a) => {
1337
+ return Br(n, (s, a) => {
1315
1338
  let u = !1;
1316
- const l = [];
1317
- let h = 0, f = H;
1318
- const c = () => {
1319
- if (h)
1339
+ const h = [];
1340
+ let l = 0, c = H;
1341
+ const f = () => {
1342
+ if (l)
1320
1343
  return;
1321
- f();
1322
- const p = t(n ? l[0] : l, s, a);
1323
- o ? s(p) : f = ue(p) ? p : H;
1324
- }, d = i.map(
1325
- (p, m) => Vt(
1326
- p,
1327
- (_) => {
1328
- l[m] = _, h &= ~(1 << m), u && c();
1344
+ c();
1345
+ const d = t(r ? h[0] : h, s, a);
1346
+ o ? s(d) : c = he(d) ? d : H;
1347
+ }, p = i.map(
1348
+ (d, m) => Gt(
1349
+ d,
1350
+ (x) => {
1351
+ h[m] = x, l &= ~(1 << m), u && f();
1329
1352
  },
1330
1353
  () => {
1331
- h |= 1 << m;
1354
+ l |= 1 << m;
1332
1355
  }
1333
1356
  )
1334
1357
  );
1335
- return u = !0, c(), function() {
1336
- G(d), f(), u = !1;
1358
+ return u = !0, f(), function() {
1359
+ G(p), c(), u = !1;
1337
1360
  };
1338
1361
  });
1339
1362
  }
1340
- var Ko = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1341
- function In(e) {
1363
+ var qo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1364
+ function Ar(e) {
1342
1365
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1343
1366
  }
1344
- var Ln = function(t) {
1345
- return Nn(t) && !Cn(t);
1367
+ var Pr = function(t) {
1368
+ return Or(t) && !Ir(t);
1346
1369
  };
1347
- function Nn(e) {
1370
+ function Or(e) {
1348
1371
  return !!e && typeof e == "object";
1349
1372
  }
1350
- function Cn(e) {
1373
+ function Ir(e) {
1351
1374
  var t = Object.prototype.toString.call(e);
1352
- return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
1375
+ return t === "[object RegExp]" || t === "[object Date]" || Mr(e);
1353
1376
  }
1354
- var Mn = typeof Symbol == "function" && Symbol.for, $n = Mn ? Symbol.for("react.element") : 60103;
1355
- function Rn(e) {
1356
- return e.$$typeof === $n;
1377
+ var Lr = typeof Symbol == "function" && Symbol.for, Nr = Lr ? Symbol.for("react.element") : 60103;
1378
+ function Mr(e) {
1379
+ return e.$$typeof === Nr;
1357
1380
  }
1358
- function Un(e) {
1381
+ function Cr(e) {
1359
1382
  return Array.isArray(e) ? [] : {};
1360
1383
  }
1361
- function se(e, t) {
1362
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(Un(e), e, t) : e;
1384
+ function ae(e, t) {
1385
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(Cr(e), e, t) : e;
1363
1386
  }
1364
- function Dn(e, t, r) {
1365
- return e.concat(t).map(function(n) {
1366
- return se(n, r);
1387
+ function $r(e, t, n) {
1388
+ return e.concat(t).map(function(r) {
1389
+ return ae(r, n);
1367
1390
  });
1368
1391
  }
1369
- function Gn(e, t) {
1392
+ function Rr(e, t) {
1370
1393
  if (!t.customMerge)
1371
- return Z;
1372
- var r = t.customMerge(e);
1373
- return typeof r == "function" ? r : Z;
1394
+ return q;
1395
+ var n = t.customMerge(e);
1396
+ return typeof n == "function" ? n : q;
1374
1397
  }
1375
- function Fn(e) {
1398
+ function Ur(e) {
1376
1399
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1377
1400
  return Object.propertyIsEnumerable.call(e, t);
1378
1401
  }) : [];
1379
1402
  }
1380
- function Ht(e) {
1381
- return Object.keys(e).concat(Fn(e));
1403
+ function Et(e) {
1404
+ return Object.keys(e).concat(Ur(e));
1382
1405
  }
1383
- function sr(e, t) {
1406
+ function nn(e, t) {
1384
1407
  try {
1385
1408
  return t in e;
1386
- } catch (r) {
1409
+ } catch (n) {
1387
1410
  return !1;
1388
1411
  }
1389
1412
  }
1390
- function jn(e, t) {
1391
- return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1413
+ function Dr(e, t) {
1414
+ return nn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1392
1415
  }
1393
- function kn(e, t, r) {
1394
- var n = {};
1395
- return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
1396
- n[i] = se(e[i], r);
1397
- }), Ht(t).forEach(function(i) {
1398
- jn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1399
- }), n;
1400
- }
1401
- function Z(e, t, r) {
1402
- r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || Ln, r.cloneUnlessOtherwiseSpecified = se;
1403
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1404
- return o ? n ? r.arrayMerge(e, t, r) : kn(e, t, r) : se(t, r);
1405
- }
1406
- Z.all = function(t, r) {
1416
+ function Gr(e, t, n) {
1417
+ var r = {};
1418
+ return n.isMergeableObject(e) && Et(e).forEach(function(i) {
1419
+ r[i] = ae(e[i], n);
1420
+ }), Et(t).forEach(function(i) {
1421
+ Dr(e, i) || (nn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Rr(i, n)(e[i], t[i], n) : r[i] = ae(t[i], n));
1422
+ }), r;
1423
+ }
1424
+ function q(e, t, n) {
1425
+ n = n || {}, n.arrayMerge = n.arrayMerge || $r, n.isMergeableObject = n.isMergeableObject || Pr, n.cloneUnlessOtherwiseSpecified = ae;
1426
+ var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1427
+ return o ? r ? n.arrayMerge(e, t, n) : Gr(e, t, n) : ae(t, n);
1428
+ }
1429
+ q.all = function(t, n) {
1407
1430
  if (!Array.isArray(t))
1408
1431
  throw new Error("first argument should be an array");
1409
- return t.reduce(function(n, i) {
1410
- return Z(n, i, r);
1432
+ return t.reduce(function(r, i) {
1433
+ return q(r, i, n);
1411
1434
  }, {});
1412
1435
  };
1413
- var Vn = Z, Xn = Vn;
1414
- const Wn = /* @__PURE__ */ In(Xn);
1415
- var Ke = function(e, t) {
1416
- return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1417
- r.__proto__ = n;
1418
- } || function(r, n) {
1419
- for (var i in n)
1420
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1421
- }, Ke(e, t);
1422
- };
1423
- function Oe(e, t) {
1424
- if (typeof t != "function" && t !== null)
1425
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1426
- Ke(e, t);
1427
- function r() {
1428
- this.constructor = e;
1429
- }
1430
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1431
- }
1432
- var N = function() {
1433
- return N = Object.assign || function(t) {
1434
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1435
- r = arguments[n];
1436
- for (var o in r)
1437
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1438
- }
1439
- return t;
1440
- }, N.apply(this, arguments);
1441
- };
1442
- function zn(e, t) {
1443
- var r = {};
1444
- for (var n in e)
1445
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1446
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1447
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1448
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1449
- return r;
1450
- }
1451
- function De(e, t, r) {
1452
- if (r || arguments.length === 2)
1453
- for (var n = 0, i = t.length, o; n < i; n++)
1454
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1455
- return e.concat(o || Array.prototype.slice.call(t));
1456
- }
1457
- function Ge(e, t) {
1458
- var r = t && t.cache ? t.cache : ei, n = t && t.serializer ? t.serializer : Yn, i = t && t.strategy ? t.strategy : Qn;
1436
+ var Fr = q, jr = Fr;
1437
+ const kr = /* @__PURE__ */ Ar(jr);
1438
+ function Re(e, t) {
1439
+ var n = t && t.cache ? t.cache : Qr, r = t && t.serializer ? t.serializer : Zr, i = t && t.strategy ? t.strategy : Xr;
1459
1440
  return i(e, {
1460
- cache: r,
1461
- serializer: n
1441
+ cache: n,
1442
+ serializer: r
1462
1443
  });
1463
1444
  }
1464
- function Zn(e) {
1445
+ function Vr(e) {
1465
1446
  return e == null || typeof e == "number" || typeof e == "boolean";
1466
1447
  }
1467
- function qn(e, t, r, n) {
1468
- var i = Zn(n) ? n : r(n), o = t.get(i);
1469
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1448
+ function rn(e, t, n, r) {
1449
+ var i = Vr(r) ? r : n(r), o = t.get(i);
1450
+ return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
1470
1451
  }
1471
- function ar(e, t, r) {
1472
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1473
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1452
+ function on(e, t, n) {
1453
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
1454
+ return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
1474
1455
  }
1475
- function ur(e, t, r, n, i) {
1476
- return r.bind(t, e, n, i);
1456
+ function ot(e, t, n, r, i) {
1457
+ return n.bind(t, e, r, i);
1477
1458
  }
1478
- function Qn(e, t) {
1479
- var r = e.length === 1 ? qn : ar;
1480
- return ur(e, this, r, t.cache.create(), t.serializer);
1459
+ function Xr(e, t) {
1460
+ var n = e.length === 1 ? rn : on;
1461
+ return ot(e, this, n, t.cache.create(), t.serializer);
1462
+ }
1463
+ function Wr(e, t) {
1464
+ return ot(e, this, on, t.cache.create(), t.serializer);
1481
1465
  }
1482
- function Jn(e, t) {
1483
- return ur(e, this, ar, t.cache.create(), t.serializer);
1466
+ function zr(e, t) {
1467
+ return ot(e, this, rn, t.cache.create(), t.serializer);
1484
1468
  }
1485
- var Yn = function() {
1469
+ var Zr = function() {
1486
1470
  return JSON.stringify(arguments);
1487
- }, Kn = (
1471
+ }, qr = (
1488
1472
  /** @class */
1489
1473
  function() {
1490
1474
  function e() {
@@ -1492,27 +1476,18 @@ var Yn = function() {
1492
1476
  }
1493
1477
  return e.prototype.get = function(t) {
1494
1478
  return this.cache[t];
1495
- }, e.prototype.set = function(t, r) {
1496
- this.cache[t] = r;
1479
+ }, e.prototype.set = function(t, n) {
1480
+ this.cache[t] = n;
1497
1481
  }, e;
1498
1482
  }()
1499
- ), ei = {
1483
+ ), Qr = {
1500
1484
  create: function() {
1501
- return new Kn();
1485
+ return new qr();
1502
1486
  }
1503
- }, Fe = {
1504
- variadic: Jn
1505
- }, Te = function() {
1506
- return Te = Object.assign || function(t) {
1507
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1508
- r = arguments[n];
1509
- for (var o in r)
1510
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1511
- }
1512
- return t;
1513
- }, Te.apply(this, arguments);
1514
- };
1515
- var b;
1487
+ }, Ue = {
1488
+ variadic: Wr,
1489
+ monadic: zr
1490
+ }, b;
1516
1491
  (function(e) {
1517
1492
  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";
1518
1493
  })(b || (b = {}));
@@ -1520,54 +1495,54 @@ var v;
1520
1495
  (function(e) {
1521
1496
  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";
1522
1497
  })(v || (v = {}));
1523
- var q;
1498
+ var Q;
1524
1499
  (function(e) {
1525
1500
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1526
- })(q || (q = {}));
1527
- function Bt(e) {
1501
+ })(Q || (Q = {}));
1502
+ function St(e) {
1528
1503
  return e.type === v.literal;
1529
1504
  }
1530
- function ti(e) {
1505
+ function Jr(e) {
1531
1506
  return e.type === v.argument;
1532
1507
  }
1533
- function lr(e) {
1508
+ function sn(e) {
1534
1509
  return e.type === v.number;
1535
1510
  }
1536
- function hr(e) {
1511
+ function an(e) {
1537
1512
  return e.type === v.date;
1538
1513
  }
1539
- function cr(e) {
1514
+ function un(e) {
1540
1515
  return e.type === v.time;
1541
1516
  }
1542
- function fr(e) {
1517
+ function hn(e) {
1543
1518
  return e.type === v.select;
1544
1519
  }
1545
- function pr(e) {
1520
+ function ln(e) {
1546
1521
  return e.type === v.plural;
1547
1522
  }
1548
- function ri(e) {
1523
+ function Yr(e) {
1549
1524
  return e.type === v.pound;
1550
1525
  }
1551
- function dr(e) {
1526
+ function fn(e) {
1552
1527
  return e.type === v.tag;
1553
1528
  }
1554
- function mr(e) {
1555
- return !!(e && typeof e == "object" && e.type === q.number);
1529
+ function cn(e) {
1530
+ return !!(e && typeof e == "object" && e.type === Q.number);
1556
1531
  }
1557
- function et(e) {
1558
- return !!(e && typeof e == "object" && e.type === q.dateTime);
1532
+ function qe(e) {
1533
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
1559
1534
  }
1560
- var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ni = /(?:[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;
1561
- function ii(e) {
1535
+ var dn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kr = /(?:[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;
1536
+ function ei(e) {
1562
1537
  var t = {};
1563
- return e.replace(ni, function(r) {
1564
- var n = r.length;
1565
- switch (r[0]) {
1538
+ return e.replace(Kr, function(n) {
1539
+ var r = n.length;
1540
+ switch (n[0]) {
1566
1541
  case "G":
1567
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1542
+ t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1568
1543
  break;
1569
1544
  case "y":
1570
- t.year = n === 2 ? "2-digit" : "numeric";
1545
+ t.year = r === 2 ? "2-digit" : "numeric";
1571
1546
  break;
1572
1547
  case "Y":
1573
1548
  case "u":
@@ -1579,30 +1554,30 @@ function ii(e) {
1579
1554
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
1580
1555
  case "M":
1581
1556
  case "L":
1582
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1557
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
1583
1558
  break;
1584
1559
  case "w":
1585
1560
  case "W":
1586
1561
  throw new RangeError("`w/W` (week) patterns are not supported");
1587
1562
  case "d":
1588
- t.day = ["numeric", "2-digit"][n - 1];
1563
+ t.day = ["numeric", "2-digit"][r - 1];
1589
1564
  break;
1590
1565
  case "D":
1591
1566
  case "F":
1592
1567
  case "g":
1593
1568
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1594
1569
  case "E":
1595
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1570
+ t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1596
1571
  break;
1597
1572
  case "e":
1598
- if (n < 4)
1573
+ if (r < 4)
1599
1574
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
1600
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1575
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
1601
1576
  break;
1602
1577
  case "c":
1603
- if (n < 4)
1578
+ if (r < 4)
1604
1579
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1605
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1580
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
1606
1581
  break;
1607
1582
  case "a":
1608
1583
  t.hour12 = !0;
@@ -1611,32 +1586,32 @@ function ii(e) {
1611
1586
  case "B":
1612
1587
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1613
1588
  case "h":
1614
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1589
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
1615
1590
  break;
1616
1591
  case "H":
1617
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1592
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
1618
1593
  break;
1619
1594
  case "K":
1620
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1595
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
1621
1596
  break;
1622
1597
  case "k":
1623
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1598
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
1624
1599
  break;
1625
1600
  case "j":
1626
1601
  case "J":
1627
1602
  case "C":
1628
1603
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1629
1604
  case "m":
1630
- t.minute = ["numeric", "2-digit"][n - 1];
1605
+ t.minute = ["numeric", "2-digit"][r - 1];
1631
1606
  break;
1632
1607
  case "s":
1633
- t.second = ["numeric", "2-digit"][n - 1];
1608
+ t.second = ["numeric", "2-digit"][r - 1];
1634
1609
  break;
1635
1610
  case "S":
1636
1611
  case "A":
1637
1612
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1638
1613
  case "z":
1639
- t.timeZoneName = n < 4 ? "short" : "long";
1614
+ t.timeZoneName = r < 4 ? "short" : "long";
1640
1615
  break;
1641
1616
  case "Z":
1642
1617
  case "O":
@@ -1649,46 +1624,36 @@ function ii(e) {
1649
1624
  return "";
1650
1625
  }), t;
1651
1626
  }
1652
- var E = function() {
1653
- return E = Object.assign || function(t) {
1654
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1655
- r = arguments[n];
1656
- for (var o in r)
1657
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1658
- }
1659
- return t;
1660
- }, E.apply(this, arguments);
1661
- };
1662
- var oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1663
- function si(e) {
1627
+ var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1628
+ function ni(e) {
1664
1629
  if (e.length === 0)
1665
1630
  throw new Error("Number skeleton cannot be empty");
1666
- for (var t = e.split(oi).filter(function(c) {
1667
- return c.length > 0;
1668
- }), r = [], n = 0, i = t; n < i.length; n++) {
1669
- var o = i[n], s = o.split("/");
1631
+ for (var t = e.split(ti).filter(function(f) {
1632
+ return f.length > 0;
1633
+ }), n = [], r = 0, i = t; r < i.length; r++) {
1634
+ var o = i[r], s = o.split("/");
1670
1635
  if (s.length === 0)
1671
1636
  throw new Error("Invalid number skeleton");
1672
- for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
1673
- var f = h[l];
1674
- if (f.length === 0)
1637
+ for (var a = s[0], u = s.slice(1), h = 0, l = u; h < l.length; h++) {
1638
+ var c = l[h];
1639
+ if (c.length === 0)
1675
1640
  throw new Error("Invalid number skeleton");
1676
1641
  }
1677
- r.push({ stem: a, options: u });
1642
+ n.push({ stem: a, options: u });
1678
1643
  }
1679
- return r;
1644
+ return n;
1680
1645
  }
1681
- function ai(e) {
1646
+ function ri(e) {
1682
1647
  return e.replace(/^(.*?)-/, "");
1683
1648
  }
1684
- var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
1685
- function Pt(e) {
1649
+ var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pn = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, mn = /^(0+)$/;
1650
+ function wt(e) {
1686
1651
  var t = {};
1687
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1688
- 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)), "";
1652
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pn, function(n, r, i) {
1653
+ 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)), "";
1689
1654
  }), t;
1690
1655
  }
1691
- function vr(e) {
1656
+ function bn(e) {
1692
1657
  switch (e) {
1693
1658
  case "sign-auto":
1694
1659
  return {
@@ -1728,27 +1693,27 @@ function vr(e) {
1728
1693
  };
1729
1694
  }
1730
1695
  }
1731
- function li(e) {
1696
+ function oi(e) {
1732
1697
  var t;
1733
1698
  if (e[0] === "E" && e[1] === "E" ? (t = {
1734
1699
  notation: "engineering"
1735
1700
  }, e = e.slice(2)) : e[0] === "E" && (t = {
1736
1701
  notation: "scientific"
1737
1702
  }, e = e.slice(1)), t) {
1738
- var r = e.slice(0, 2);
1739
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
1703
+ var n = e.slice(0, 2);
1704
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mn.test(e))
1740
1705
  throw new Error("Malformed concise eng/scientific notation");
1741
1706
  t.minimumIntegerDigits = e.length;
1742
1707
  }
1743
1708
  return t;
1744
1709
  }
1745
- function Ot(e) {
1746
- var t = {}, r = vr(e);
1747
- return r || t;
1710
+ function Ht(e) {
1711
+ var t = {}, n = bn(e);
1712
+ return n || t;
1748
1713
  }
1749
- function hi(e) {
1750
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
1751
- var i = n[r];
1714
+ function si(e) {
1715
+ for (var t = {}, n = 0, r = e; n < r.length; n++) {
1716
+ var i = r[n];
1752
1717
  switch (i.stem) {
1753
1718
  case "percent":
1754
1719
  case "%":
@@ -1770,7 +1735,7 @@ function hi(e) {
1770
1735
  continue;
1771
1736
  case "measure-unit":
1772
1737
  case "unit":
1773
- t.style = "unit", t.unit = ai(i.options[0]);
1738
+ t.style = "unit", t.unit = ri(i.options[0]);
1774
1739
  continue;
1775
1740
  case "compact-short":
1776
1741
  case "K":
@@ -1781,13 +1746,13 @@ function hi(e) {
1781
1746
  t.notation = "compact", t.compactDisplay = "long";
1782
1747
  continue;
1783
1748
  case "scientific":
1784
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1785
- return E(E({}, u), Ot(l));
1749
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
1750
+ return y(y({}, u), Ht(h));
1786
1751
  }, {}));
1787
1752
  continue;
1788
1753
  case "engineering":
1789
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1790
- return E(E({}, u), Ot(l));
1754
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1755
+ return y(y({}, u), Ht(h));
1791
1756
  }, {}));
1792
1757
  continue;
1793
1758
  case "notation-simple":
@@ -1832,41 +1797,41 @@ function hi(e) {
1832
1797
  case "integer-width":
1833
1798
  if (i.options.length > 1)
1834
1799
  throw new RangeError("integer-width stems only accept a single optional option");
1835
- i.options[0].replace(ui, function(u, l, h, f, c, d) {
1836
- if (l)
1837
- t.minimumIntegerDigits = h.length;
1800
+ i.options[0].replace(ii, function(u, h, l, c, f, p) {
1801
+ if (h)
1802
+ t.minimumIntegerDigits = l.length;
1838
1803
  else {
1839
- if (f && c)
1804
+ if (c && f)
1840
1805
  throw new Error("We currently do not support maximum integer digits");
1841
- if (d)
1806
+ if (p)
1842
1807
  throw new Error("We currently do not support exact integer digits");
1843
1808
  }
1844
1809
  return "";
1845
1810
  });
1846
1811
  continue;
1847
1812
  }
1848
- if (yr.test(i.stem)) {
1813
+ if (mn.test(i.stem)) {
1849
1814
  t.minimumIntegerDigits = i.stem.length;
1850
1815
  continue;
1851
1816
  }
1852
- if (At.test(i.stem)) {
1817
+ if (Tt.test(i.stem)) {
1853
1818
  if (i.options.length > 1)
1854
1819
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1855
- i.stem.replace(At, function(u, l, h, f, c, d) {
1856
- return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1820
+ i.stem.replace(Tt, function(u, h, l, c, f, p) {
1821
+ return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1857
1822
  });
1858
1823
  var o = i.options[0];
1859
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Pt(o)));
1824
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), wt(o)));
1860
1825
  continue;
1861
1826
  }
1862
- if (gr.test(i.stem)) {
1863
- t = E(E({}, t), Pt(i.stem));
1827
+ if (pn.test(i.stem)) {
1828
+ t = y(y({}, t), wt(i.stem));
1864
1829
  continue;
1865
1830
  }
1866
- var s = vr(i.stem);
1867
- s && (t = E(E({}, t), s));
1868
- var a = li(i.stem);
1869
- a && (t = E(E({}, t), a));
1831
+ var s = bn(i.stem);
1832
+ s && (t = y(y({}, t), s));
1833
+ var a = oi(i.stem);
1834
+ a && (t = y(y({}, t), a));
1870
1835
  }
1871
1836
  return t;
1872
1837
  }
@@ -3285,23 +3250,23 @@ var be = {
3285
3250
  "h"
3286
3251
  ]
3287
3252
  };
3288
- function ci(e, t) {
3289
- for (var r = "", n = 0; n < e.length; n++) {
3290
- var i = e.charAt(n);
3253
+ function ai(e, t) {
3254
+ for (var n = "", r = 0; r < e.length; r++) {
3255
+ var i = e.charAt(r);
3291
3256
  if (i === "j") {
3292
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3293
- o++, n++;
3294
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = fi(t);
3295
- for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3296
- r += u;
3257
+ for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
3258
+ o++, r++;
3259
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = ui(t);
3260
+ for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
3261
+ n += u;
3297
3262
  for (; s-- > 0; )
3298
- r = l + r;
3263
+ n = h + n;
3299
3264
  } else
3300
- i === "J" ? r += "H" : r += i;
3265
+ i === "J" ? n += "H" : n += i;
3301
3266
  }
3302
- return r;
3267
+ return n;
3303
3268
  }
3304
- function fi(e) {
3269
+ function ui(e) {
3305
3270
  var t = e.hourCycle;
3306
3271
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3307
3272
  e.hourCycles && // @ts-ignore
@@ -3318,73 +3283,73 @@ function fi(e) {
3318
3283
  default:
3319
3284
  throw new Error("Invalid hourCycle");
3320
3285
  }
3321
- var r = e.language, n;
3322
- r !== "root" && (n = e.maximize().region);
3323
- var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
3286
+ var n = e.language, r;
3287
+ n !== "root" && (r = e.maximize().region);
3288
+ var i = be[r || ""] || be[n || ""] || be["".concat(n, "-001")] || be["001"];
3324
3289
  return i[0];
3325
3290
  }
3326
- var je, pi = new RegExp("^".concat(br.source, "*")), di = new RegExp("".concat(br.source, "*$"));
3291
+ var De, hi = new RegExp("^".concat(dn.source, "*")), li = new RegExp("".concat(dn.source, "*$"));
3327
3292
  function g(e, t) {
3328
3293
  return { start: e, end: t };
3329
3294
  }
3330
- var mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), bi = !!String.fromCodePoint, gi = !!Object.fromEntries, yi = !!String.prototype.codePointAt, vi = !!String.prototype.trimStart, _i = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, xi = Ei ? Number.isSafeInteger : function(e) {
3295
+ var fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ci = !!String.fromCodePoint, di = !!Object.fromEntries, pi = !!String.prototype.codePointAt, mi = !!String.prototype.trimStart, bi = !!String.prototype.trimEnd, gi = !!Number.isSafeInteger, yi = gi ? Number.isSafeInteger : function(e) {
3331
3296
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3332
- }, tt = !0;
3297
+ }, Qe = !0;
3333
3298
  try {
3334
- var Si = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3335
- tt = ((je = Si.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
3299
+ var _i = yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3300
+ Qe = ((De = _i.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3336
3301
  } catch (e) {
3337
- tt = !1;
3302
+ Qe = !1;
3338
3303
  }
3339
- var It = mi ? (
3304
+ var Bt = fi ? (
3340
3305
  // Native
3341
- function(t, r, n) {
3342
- return t.startsWith(r, n);
3306
+ function(t, n, r) {
3307
+ return t.startsWith(n, r);
3343
3308
  }
3344
3309
  ) : (
3345
3310
  // For IE11
3346
- function(t, r, n) {
3347
- return t.slice(n, n + r.length) === r;
3311
+ function(t, n, r) {
3312
+ return t.slice(r, r + n.length) === n;
3348
3313
  }
3349
- ), rt = bi ? String.fromCodePoint : (
3314
+ ), Je = ci ? String.fromCodePoint : (
3350
3315
  // IE11
3351
3316
  function() {
3352
- for (var t = [], r = 0; r < arguments.length; r++)
3353
- t[r] = arguments[r];
3354
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
3317
+ for (var t = [], n = 0; n < arguments.length; n++)
3318
+ t[n] = arguments[n];
3319
+ for (var r = "", i = t.length, o = 0, s; i > o; ) {
3355
3320
  if (s = t[o++], s > 1114111)
3356
3321
  throw RangeError(s + " is not a valid code point");
3357
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3322
+ r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3358
3323
  }
3359
- return n;
3324
+ return r;
3360
3325
  }
3361
- ), Lt = (
3326
+ ), At = (
3362
3327
  // native
3363
- gi ? Object.fromEntries : (
3328
+ di ? Object.fromEntries : (
3364
3329
  // Ponyfill
3365
3330
  function(t) {
3366
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
3367
- var o = i[n], s = o[0], a = o[1];
3368
- r[s] = a;
3331
+ for (var n = {}, r = 0, i = t; r < i.length; r++) {
3332
+ var o = i[r], s = o[0], a = o[1];
3333
+ n[s] = a;
3369
3334
  }
3370
- return r;
3335
+ return n;
3371
3336
  }
3372
3337
  )
3373
- ), _r = yi ? (
3338
+ ), gn = pi ? (
3374
3339
  // Native
3375
- function(t, r) {
3376
- return t.codePointAt(r);
3340
+ function(t, n) {
3341
+ return t.codePointAt(n);
3377
3342
  }
3378
3343
  ) : (
3379
3344
  // IE 11
3380
- function(t, r) {
3381
- var n = t.length;
3382
- if (!(r < 0 || r >= n)) {
3383
- var i = t.charCodeAt(r), o;
3384
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3345
+ function(t, n) {
3346
+ var r = t.length;
3347
+ if (!(n < 0 || n >= r)) {
3348
+ var i = t.charCodeAt(n), o;
3349
+ return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3385
3350
  }
3386
3351
  }
3387
- ), wi = vi ? (
3352
+ ), vi = mi ? (
3388
3353
  // Native
3389
3354
  function(t) {
3390
3355
  return t.trimStart();
@@ -3392,9 +3357,9 @@ var It = mi ? (
3392
3357
  ) : (
3393
3358
  // Ponyfill
3394
3359
  function(t) {
3395
- return t.replace(pi, "");
3360
+ return t.replace(hi, "");
3396
3361
  }
3397
- ), Ti = _i ? (
3362
+ ), xi = bi ? (
3398
3363
  // Native
3399
3364
  function(t) {
3400
3365
  return t.trimEnd();
@@ -3402,69 +3367,69 @@ var It = mi ? (
3402
3367
  ) : (
3403
3368
  // Ponyfill
3404
3369
  function(t) {
3405
- return t.replace(di, "");
3370
+ return t.replace(li, "");
3406
3371
  }
3407
3372
  );
3408
- function Er(e, t) {
3373
+ function yn(e, t) {
3409
3374
  return new RegExp(e, t);
3410
3375
  }
3411
- var nt;
3412
- if (tt) {
3413
- var Nt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3414
- nt = function(t, r) {
3415
- var n;
3416
- Nt.lastIndex = r;
3417
- var i = Nt.exec(t);
3418
- return (n = i[1]) !== null && n !== void 0 ? n : "";
3376
+ var Ye;
3377
+ if (Qe) {
3378
+ var Pt = yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3379
+ Ye = function(t, n) {
3380
+ var r;
3381
+ Pt.lastIndex = n;
3382
+ var i = Pt.exec(t);
3383
+ return (r = i[1]) !== null && r !== void 0 ? r : "";
3419
3384
  };
3420
3385
  } else
3421
- nt = function(t, r) {
3422
- for (var n = []; ; ) {
3423
- var i = _r(t, r);
3424
- if (i === void 0 || xr(i) || Pi(i))
3386
+ Ye = function(t, n) {
3387
+ for (var r = []; ; ) {
3388
+ var i = gn(t, n);
3389
+ if (i === void 0 || _n(i) || wi(i))
3425
3390
  break;
3426
- n.push(i), r += i >= 65536 ? 2 : 1;
3391
+ r.push(i), n += i >= 65536 ? 2 : 1;
3427
3392
  }
3428
- return rt.apply(void 0, n);
3393
+ return Je.apply(void 0, r);
3429
3394
  };
3430
- var Hi = (
3395
+ var Ei = (
3431
3396
  /** @class */
3432
3397
  function() {
3433
- function e(t, r) {
3434
- 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;
3398
+ function e(t, n) {
3399
+ 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;
3435
3400
  }
3436
3401
  return e.prototype.parse = function() {
3437
3402
  if (this.offset() !== 0)
3438
3403
  throw Error("parser can only be used once");
3439
3404
  return this.parseMessage(0, "", !1);
3440
- }, e.prototype.parseMessage = function(t, r, n) {
3405
+ }, e.prototype.parseMessage = function(t, n, r) {
3441
3406
  for (var i = []; !this.isEOF(); ) {
3442
3407
  var o = this.char();
3443
3408
  if (o === 123) {
3444
- var s = this.parseArgument(t, n);
3409
+ var s = this.parseArgument(t, r);
3445
3410
  if (s.err)
3446
3411
  return s;
3447
3412
  i.push(s.val);
3448
3413
  } else {
3449
3414
  if (o === 125 && t > 0)
3450
3415
  break;
3451
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3416
+ if (o === 35 && (n === "plural" || n === "selectordinal")) {
3452
3417
  var a = this.clonePosition();
3453
3418
  this.bump(), i.push({
3454
3419
  type: v.pound,
3455
3420
  location: g(a, this.clonePosition())
3456
3421
  });
3457
3422
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3458
- if (n)
3423
+ if (r)
3459
3424
  break;
3460
3425
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3461
- } else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
3462
- var s = this.parseTag(t, r);
3426
+ } else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3427
+ var s = this.parseTag(t, n);
3463
3428
  if (s.err)
3464
3429
  return s;
3465
3430
  i.push(s.val);
3466
3431
  } else {
3467
- var s = this.parseLiteral(t, r);
3432
+ var s = this.parseLiteral(t, n);
3468
3433
  if (s.err)
3469
3434
  return s;
3470
3435
  i.push(s.val);
@@ -3472,8 +3437,8 @@ var Hi = (
3472
3437
  }
3473
3438
  }
3474
3439
  return { val: i, err: null };
3475
- }, e.prototype.parseTag = function(t, r) {
3476
- var n = this.clonePosition();
3440
+ }, e.prototype.parseTag = function(t, n) {
3441
+ var r = this.clonePosition();
3477
3442
  this.bump();
3478
3443
  var i = this.parseTagName();
3479
3444
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -3481,45 +3446,45 @@ var Hi = (
3481
3446
  val: {
3482
3447
  type: v.literal,
3483
3448
  value: "<".concat(i, "/>"),
3484
- location: g(n, this.clonePosition())
3449
+ location: g(r, this.clonePosition())
3485
3450
  },
3486
3451
  err: null
3487
3452
  };
3488
3453
  if (this.bumpIf(">")) {
3489
- var o = this.parseMessage(t + 1, r, !0);
3454
+ var o = this.parseMessage(t + 1, n, !0);
3490
3455
  if (o.err)
3491
3456
  return o;
3492
3457
  var s = o.val, a = this.clonePosition();
3493
3458
  if (this.bumpIf("</")) {
3494
- if (this.isEOF() || !it(this.char()))
3459
+ if (this.isEOF() || !Ke(this.char()))
3495
3460
  return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3496
- var u = this.clonePosition(), l = this.parseTagName();
3497
- return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, g(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3461
+ var u = this.clonePosition(), h = this.parseTagName();
3462
+ return i !== h ? this.error(b.UNMATCHED_CLOSING_TAG, g(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3498
3463
  val: {
3499
3464
  type: v.tag,
3500
3465
  value: i,
3501
3466
  children: s,
3502
- location: g(n, this.clonePosition())
3467
+ location: g(r, this.clonePosition())
3503
3468
  },
3504
3469
  err: null
3505
3470
  } : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
3506
3471
  } else
3507
- return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
3472
+ return this.error(b.UNCLOSED_TAG, g(r, this.clonePosition()));
3508
3473
  } else
3509
- return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3474
+ return this.error(b.INVALID_TAG, g(r, this.clonePosition()));
3510
3475
  }, e.prototype.parseTagName = function() {
3511
3476
  var t = this.offset();
3512
- for (this.bump(); !this.isEOF() && Ai(this.char()); )
3477
+ for (this.bump(); !this.isEOF() && Ti(this.char()); )
3513
3478
  this.bump();
3514
3479
  return this.message.slice(t, this.offset());
3515
- }, e.prototype.parseLiteral = function(t, r) {
3516
- for (var n = this.clonePosition(), i = ""; ; ) {
3517
- var o = this.tryParseQuote(r);
3480
+ }, e.prototype.parseLiteral = function(t, n) {
3481
+ for (var r = this.clonePosition(), i = ""; ; ) {
3482
+ var o = this.tryParseQuote(n);
3518
3483
  if (o) {
3519
3484
  i += o;
3520
3485
  continue;
3521
3486
  }
3522
- var s = this.tryParseUnquoted(t, r);
3487
+ var s = this.tryParseUnquoted(t, n);
3523
3488
  if (s) {
3524
3489
  i += s;
3525
3490
  continue;
@@ -3531,14 +3496,14 @@ var Hi = (
3531
3496
  }
3532
3497
  break;
3533
3498
  }
3534
- var u = g(n, this.clonePosition());
3499
+ var u = g(r, this.clonePosition());
3535
3500
  return {
3536
3501
  val: { type: v.literal, value: i, location: u },
3537
3502
  err: null
3538
3503
  };
3539
3504
  }, e.prototype.tryParseLeftAngleBracket = function() {
3540
3505
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3541
- !Bi(this.peek() || 0)) ? (this.bump(), "<") : null;
3506
+ !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
3542
3507
  }, e.prototype.tryParseQuote = function(t) {
3543
3508
  if (this.isEOF() || this.char() !== 39)
3544
3509
  return null;
@@ -3558,37 +3523,37 @@ var Hi = (
3558
3523
  return null;
3559
3524
  }
3560
3525
  this.bump();
3561
- var r = [this.char()];
3526
+ var n = [this.char()];
3562
3527
  for (this.bump(); !this.isEOF(); ) {
3563
- var n = this.char();
3564
- if (n === 39)
3528
+ var r = this.char();
3529
+ if (r === 39)
3565
3530
  if (this.peek() === 39)
3566
- r.push(39), this.bump();
3531
+ n.push(39), this.bump();
3567
3532
  else {
3568
3533
  this.bump();
3569
3534
  break;
3570
3535
  }
3571
3536
  else
3572
- r.push(n);
3537
+ n.push(r);
3573
3538
  this.bump();
3574
3539
  }
3575
- return rt.apply(void 0, r);
3576
- }, e.prototype.tryParseUnquoted = function(t, r) {
3540
+ return Je.apply(void 0, n);
3541
+ }, e.prototype.tryParseUnquoted = function(t, n) {
3577
3542
  if (this.isEOF())
3578
3543
  return null;
3579
- var n = this.char();
3580
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), rt(n));
3581
- }, e.prototype.parseArgument = function(t, r) {
3582
- var n = this.clonePosition();
3544
+ var r = this.char();
3545
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Je(r));
3546
+ }, e.prototype.parseArgument = function(t, n) {
3547
+ var r = this.clonePosition();
3583
3548
  if (this.bump(), this.bumpSpace(), this.isEOF())
3584
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3549
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition()));
3585
3550
  if (this.char() === 125)
3586
- return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3551
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, g(r, this.clonePosition()));
3587
3552
  var i = this.parseIdentifierIfPossible().value;
3588
3553
  if (!i)
3589
- return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3554
+ return this.error(b.MALFORMED_ARGUMENT, g(r, this.clonePosition()));
3590
3555
  if (this.bumpSpace(), this.isEOF())
3591
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3556
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition()));
3592
3557
  switch (this.char()) {
3593
3558
  case 125:
3594
3559
  return this.bump(), {
@@ -3596,21 +3561,21 @@ var Hi = (
3596
3561
  type: v.argument,
3597
3562
  // value does not include the opening and closing braces.
3598
3563
  value: i,
3599
- location: g(n, this.clonePosition())
3564
+ location: g(r, this.clonePosition())
3600
3565
  },
3601
3566
  err: null
3602
3567
  };
3603
3568
  case 44:
3604
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3569
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3605
3570
  default:
3606
- return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3571
+ return this.error(b.MALFORMED_ARGUMENT, g(r, this.clonePosition()));
3607
3572
  }
3608
3573
  }, e.prototype.parseIdentifierIfPossible = function() {
3609
- var t = this.clonePosition(), r = this.offset(), n = nt(this.message, r), i = r + n.length;
3574
+ var t = this.clonePosition(), n = this.offset(), r = Ye(this.message, n), i = n + r.length;
3610
3575
  this.bumpTo(i);
3611
3576
  var o = this.clonePosition(), s = g(t, o);
3612
- return { value: n, location: s };
3613
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3577
+ return { value: r, location: s };
3578
+ }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3614
3579
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3615
3580
  switch (a) {
3616
3581
  case "":
@@ -3619,43 +3584,43 @@ var Hi = (
3619
3584
  case "date":
3620
3585
  case "time": {
3621
3586
  this.bumpSpace();
3622
- var l = null;
3587
+ var h = null;
3623
3588
  if (this.bumpIf(",")) {
3624
3589
  this.bumpSpace();
3625
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3626
- if (f.err)
3627
- return f;
3628
- var c = Ti(f.val);
3629
- if (c.length === 0)
3590
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3591
+ if (c.err)
3592
+ return c;
3593
+ var f = xi(c.val);
3594
+ if (f.length === 0)
3630
3595
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3631
- var d = g(h, this.clonePosition());
3632
- l = { style: c, styleLocation: d };
3596
+ var p = g(l, this.clonePosition());
3597
+ h = { style: f, styleLocation: p };
3633
3598
  }
3634
- var p = this.tryParseArgumentClose(i);
3635
- if (p.err)
3636
- return p;
3599
+ var d = this.tryParseArgumentClose(i);
3600
+ if (d.err)
3601
+ return d;
3637
3602
  var m = g(i, this.clonePosition());
3638
- if (l && It(l == null ? void 0 : l.style, "::", 0)) {
3639
- var _ = wi(l.style.slice(2));
3603
+ if (h && Bt(h == null ? void 0 : h.style, "::", 0)) {
3604
+ var x = vi(h.style.slice(2));
3640
3605
  if (a === "number") {
3641
- var f = this.parseNumberSkeletonFromString(_, l.styleLocation);
3642
- return f.err ? f : {
3643
- val: { type: v.number, value: n, location: m, style: f.val },
3606
+ var c = this.parseNumberSkeletonFromString(x, h.styleLocation);
3607
+ return c.err ? c : {
3608
+ val: { type: v.number, value: r, location: m, style: c.val },
3644
3609
  err: null
3645
3610
  };
3646
3611
  } else {
3647
- if (_.length === 0)
3612
+ if (x.length === 0)
3648
3613
  return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3649
- var w = _;
3650
- this.locale && (w = ci(_, this.locale));
3651
- var c = {
3652
- type: q.dateTime,
3653
- pattern: w,
3654
- location: l.styleLocation,
3655
- parsedOptions: this.shouldParseSkeletons ? ii(w) : {}
3614
+ var T = x;
3615
+ this.locale && (T = ai(x, this.locale));
3616
+ var f = {
3617
+ type: Q.dateTime,
3618
+ pattern: T,
3619
+ location: h.styleLocation,
3620
+ parsedOptions: this.shouldParseSkeletons ? ei(T) : {}
3656
3621
  }, P = a === "date" ? v.date : v.time;
3657
3622
  return {
3658
- val: { type: P, value: n, location: m, style: c },
3623
+ val: { type: P, value: r, location: m, style: f },
3659
3624
  err: null
3660
3625
  };
3661
3626
  }
@@ -3663,9 +3628,9 @@ var Hi = (
3663
3628
  return {
3664
3629
  val: {
3665
3630
  type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3666
- value: n,
3631
+ value: r,
3667
3632
  location: m,
3668
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3633
+ style: (o = h == null ? void 0 : h.style) !== null && o !== void 0 ? o : null
3669
3634
  },
3670
3635
  err: null
3671
3636
  };
@@ -3673,43 +3638,43 @@ var Hi = (
3673
3638
  case "plural":
3674
3639
  case "selectordinal":
3675
3640
  case "select": {
3676
- var x = this.clonePosition();
3641
+ var E = this.clonePosition();
3677
3642
  if (this.bumpSpace(), !this.bumpIf(","))
3678
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(x, Te({}, x)));
3643
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, y({}, E)));
3679
3644
  this.bumpSpace();
3680
- var I = this.parseIdentifierIfPossible(), T = 0;
3645
+ var I = this.parseIdentifierIfPossible(), w = 0;
3681
3646
  if (a !== "select" && I.value === "offset") {
3682
3647
  if (!this.bumpIf(":"))
3683
3648
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3684
3649
  this.bumpSpace();
3685
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3686
- if (f.err)
3687
- return f;
3688
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), T = f.val;
3650
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3651
+ if (c.err)
3652
+ return c;
3653
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), w = c.val;
3689
3654
  }
3690
- var R = this.tryParsePluralOrSelectOptions(t, a, r, I);
3655
+ var R = this.tryParsePluralOrSelectOptions(t, a, n, I);
3691
3656
  if (R.err)
3692
3657
  return R;
3693
- var p = this.tryParseArgumentClose(i);
3694
- if (p.err)
3695
- return p;
3696
- var pe = g(i, this.clonePosition());
3658
+ var d = this.tryParseArgumentClose(i);
3659
+ if (d.err)
3660
+ return d;
3661
+ var de = g(i, this.clonePosition());
3697
3662
  return a === "select" ? {
3698
3663
  val: {
3699
3664
  type: v.select,
3700
- value: n,
3701
- options: Lt(R.val),
3702
- location: pe
3665
+ value: r,
3666
+ options: At(R.val),
3667
+ location: de
3703
3668
  },
3704
3669
  err: null
3705
3670
  } : {
3706
3671
  val: {
3707
3672
  type: v.plural,
3708
- value: n,
3709
- options: Lt(R.val),
3710
- offset: T,
3673
+ value: r,
3674
+ options: At(R.val),
3675
+ offset: w,
3711
3676
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3712
- location: pe
3677
+ location: de
3713
3678
  },
3714
3679
  err: null
3715
3680
  };
@@ -3720,9 +3685,9 @@ var Hi = (
3720
3685
  }, e.prototype.tryParseArgumentClose = function(t) {
3721
3686
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3722
3687
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3723
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3724
- var n = this.char();
3725
- switch (n) {
3688
+ for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3689
+ var r = this.char();
3690
+ switch (r) {
3726
3691
  case 39: {
3727
3692
  this.bump();
3728
3693
  var i = this.clonePosition();
@@ -3740,7 +3705,7 @@ var Hi = (
3740
3705
  t -= 1;
3741
3706
  else
3742
3707
  return {
3743
- val: this.message.slice(r.offset, this.offset()),
3708
+ val: this.message.slice(n.offset, this.offset()),
3744
3709
  err: null
3745
3710
  };
3746
3711
  break;
@@ -3751,61 +3716,61 @@ var Hi = (
3751
3716
  }
3752
3717
  }
3753
3718
  return {
3754
- val: this.message.slice(r.offset, this.offset()),
3719
+ val: this.message.slice(n.offset, this.offset()),
3755
3720
  err: null
3756
3721
  };
3757
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3758
- var n = [];
3722
+ }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3723
+ var r = [];
3759
3724
  try {
3760
- n = si(t);
3725
+ r = ni(t);
3761
3726
  } catch (i) {
3762
- return this.error(b.INVALID_NUMBER_SKELETON, r);
3727
+ return this.error(b.INVALID_NUMBER_SKELETON, n);
3763
3728
  }
3764
3729
  return {
3765
3730
  val: {
3766
- type: q.number,
3767
- tokens: n,
3768
- location: r,
3769
- parsedOptions: this.shouldParseSkeletons ? hi(n) : {}
3731
+ type: Q.number,
3732
+ tokens: r,
3733
+ location: n,
3734
+ parsedOptions: this.shouldParseSkeletons ? si(r) : {}
3770
3735
  },
3771
3736
  err: null
3772
3737
  };
3773
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3774
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3775
- if (l.length === 0) {
3776
- var f = this.clonePosition();
3777
- if (r !== "select" && this.bumpIf("=")) {
3778
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3779
- if (c.err)
3780
- return c;
3781
- h = g(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3738
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3739
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), h = i.value, l = i.location; ; ) {
3740
+ if (h.length === 0) {
3741
+ var c = this.clonePosition();
3742
+ if (n !== "select" && this.bumpIf("=")) {
3743
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3744
+ if (f.err)
3745
+ return f;
3746
+ l = g(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
3782
3747
  } else
3783
3748
  break;
3784
3749
  }
3785
- if (u.has(l))
3786
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3787
- l === "other" && (s = !0), this.bumpSpace();
3788
- var d = this.clonePosition();
3750
+ if (u.has(h))
3751
+ return this.error(n === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3752
+ h === "other" && (s = !0), this.bumpSpace();
3753
+ var p = this.clonePosition();
3789
3754
  if (!this.bumpIf("{"))
3790
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3791
- var p = this.parseMessage(t + 1, r, n);
3792
- if (p.err)
3793
- return p;
3794
- var m = this.tryParseArgumentClose(d);
3755
+ return this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3756
+ var d = this.parseMessage(t + 1, n, r);
3757
+ if (d.err)
3758
+ return d;
3759
+ var m = this.tryParseArgumentClose(p);
3795
3760
  if (m.err)
3796
3761
  return m;
3797
3762
  a.push([
3798
- l,
3763
+ h,
3799
3764
  {
3800
- value: p.val,
3801
- location: g(d, this.clonePosition())
3765
+ value: d.val,
3766
+ location: g(p, this.clonePosition())
3802
3767
  }
3803
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3768
+ ]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
3804
3769
  }
3805
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3806
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
3807
- var n = 1, i = this.clonePosition();
3808
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3770
+ return a.length === 0 ? this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3771
+ }, e.prototype.tryParseDecimalInteger = function(t, n) {
3772
+ var r = 1, i = this.clonePosition();
3773
+ this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3809
3774
  for (var o = !1, s = 0; !this.isEOF(); ) {
3810
3775
  var a = this.char();
3811
3776
  if (a >= 48 && a <= 57)
@@ -3814,7 +3779,7 @@ var Hi = (
3814
3779
  break;
3815
3780
  }
3816
3781
  var u = g(i, this.clonePosition());
3817
- return o ? (s *= n, xi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3782
+ return o ? (s *= r, yi(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3818
3783
  }, e.prototype.offset = function() {
3819
3784
  return this.position.offset;
3820
3785
  }, e.prototype.isEOF = function() {
@@ -3829,17 +3794,17 @@ var Hi = (
3829
3794
  var t = this.position.offset;
3830
3795
  if (t >= this.message.length)
3831
3796
  throw Error("out of bound");
3832
- var r = _r(this.message, t);
3833
- if (r === void 0)
3797
+ var n = gn(this.message, t);
3798
+ if (n === void 0)
3834
3799
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3835
- return r;
3836
- }, e.prototype.error = function(t, r) {
3800
+ return n;
3801
+ }, e.prototype.error = function(t, n) {
3837
3802
  return {
3838
3803
  val: null,
3839
3804
  err: {
3840
3805
  kind: t,
3841
3806
  message: this.message,
3842
- location: r
3807
+ location: n
3843
3808
  }
3844
3809
  };
3845
3810
  }, e.prototype.bump = function() {
@@ -3848,301 +3813,301 @@ var Hi = (
3848
3813
  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);
3849
3814
  }
3850
3815
  }, e.prototype.bumpIf = function(t) {
3851
- if (It(this.message, t, this.offset())) {
3852
- for (var r = 0; r < t.length; r++)
3816
+ if (Bt(this.message, t, this.offset())) {
3817
+ for (var n = 0; n < t.length; n++)
3853
3818
  this.bump();
3854
3819
  return !0;
3855
3820
  }
3856
3821
  return !1;
3857
3822
  }, e.prototype.bumpUntil = function(t) {
3858
- var r = this.offset(), n = this.message.indexOf(t, r);
3859
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3823
+ var n = this.offset(), r = this.message.indexOf(t, n);
3824
+ return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3860
3825
  }, e.prototype.bumpTo = function(t) {
3861
3826
  if (this.offset() > t)
3862
3827
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3863
3828
  for (t = Math.min(t, this.message.length); ; ) {
3864
- var r = this.offset();
3865
- if (r === t)
3829
+ var n = this.offset();
3830
+ if (n === t)
3866
3831
  break;
3867
- if (r > t)
3832
+ if (n > t)
3868
3833
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3869
3834
  if (this.bump(), this.isEOF())
3870
3835
  break;
3871
3836
  }
3872
3837
  }, e.prototype.bumpSpace = function() {
3873
- for (; !this.isEOF() && xr(this.char()); )
3838
+ for (; !this.isEOF() && _n(this.char()); )
3874
3839
  this.bump();
3875
3840
  }, e.prototype.peek = function() {
3876
3841
  if (this.isEOF())
3877
3842
  return null;
3878
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3879
- return n != null ? n : null;
3843
+ var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3844
+ return r != null ? r : null;
3880
3845
  }, e;
3881
3846
  }()
3882
3847
  );
3883
- function it(e) {
3848
+ function Ke(e) {
3884
3849
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3885
3850
  }
3886
- function Bi(e) {
3887
- return it(e) || e === 47;
3851
+ function Si(e) {
3852
+ return Ke(e) || e === 47;
3888
3853
  }
3889
- function Ai(e) {
3854
+ function Ti(e) {
3890
3855
  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;
3891
3856
  }
3892
- function xr(e) {
3857
+ function _n(e) {
3893
3858
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3894
3859
  }
3895
- function Pi(e) {
3860
+ function wi(e) {
3896
3861
  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;
3897
3862
  }
3898
- function ot(e) {
3863
+ function et(e) {
3899
3864
  e.forEach(function(t) {
3900
- if (delete t.location, fr(t) || pr(t))
3901
- for (var r in t.options)
3902
- delete t.options[r].location, ot(t.options[r].value);
3865
+ if (delete t.location, hn(t) || ln(t))
3866
+ for (var n in t.options)
3867
+ delete t.options[n].location, et(t.options[n].value);
3903
3868
  else
3904
- lr(t) && mr(t.style) || (hr(t) || cr(t)) && et(t.style) ? delete t.style.location : dr(t) && ot(t.children);
3869
+ sn(t) && cn(t.style) || (an(t) || un(t)) && qe(t.style) ? delete t.style.location : fn(t) && et(t.children);
3905
3870
  });
3906
3871
  }
3907
- function Oi(e, t) {
3908
- t === void 0 && (t = {}), t = Te({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3909
- var r = new Hi(e, t).parse();
3910
- if (r.err) {
3911
- var n = SyntaxError(b[r.err.kind]);
3912
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3872
+ function Hi(e, t) {
3873
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3874
+ var n = new Ei(e, t).parse();
3875
+ if (n.err) {
3876
+ var r = SyntaxError(b[n.err.kind]);
3877
+ throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3913
3878
  }
3914
- return t != null && t.captureLocation || ot(r.val), r.val;
3879
+ return t != null && t.captureLocation || et(n.val), n.val;
3915
3880
  }
3916
- var Q;
3881
+ var J;
3917
3882
  (function(e) {
3918
3883
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3919
- })(Q || (Q = {}));
3920
- var Ie = (
3884
+ })(J || (J = {}));
3885
+ var Pe = (
3921
3886
  /** @class */
3922
3887
  function(e) {
3923
- Oe(t, e);
3924
- function t(r, n, i) {
3925
- var o = e.call(this, r) || this;
3926
- return o.code = n, o.originalMessage = i, o;
3888
+ $(t, e);
3889
+ function t(n, r, i) {
3890
+ var o = e.call(this, n) || this;
3891
+ return o.code = r, o.originalMessage = i, o;
3927
3892
  }
3928
3893
  return t.prototype.toString = function() {
3929
3894
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3930
3895
  }, t;
3931
3896
  }(Error)
3932
- ), Ct = (
3897
+ ), Ot = (
3933
3898
  /** @class */
3934
3899
  function(e) {
3935
- Oe(t, e);
3936
- function t(r, n, i, o) {
3937
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3900
+ $(t, e);
3901
+ function t(n, r, i, o) {
3902
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3938
3903
  }
3939
3904
  return t;
3940
- }(Ie)
3941
- ), Ii = (
3905
+ }(Pe)
3906
+ ), Bi = (
3942
3907
  /** @class */
3943
3908
  function(e) {
3944
- Oe(t, e);
3945
- function t(r, n, i) {
3946
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3909
+ $(t, e);
3910
+ function t(n, r, i) {
3911
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), J.INVALID_VALUE, i) || this;
3947
3912
  }
3948
3913
  return t;
3949
- }(Ie)
3950
- ), Li = (
3914
+ }(Pe)
3915
+ ), Ai = (
3951
3916
  /** @class */
3952
3917
  function(e) {
3953
- Oe(t, e);
3954
- function t(r, n) {
3955
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3918
+ $(t, e);
3919
+ function t(n, r) {
3920
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), J.MISSING_VALUE, r) || this;
3956
3921
  }
3957
3922
  return t;
3958
- }(Ie)
3923
+ }(Pe)
3959
3924
  ), S;
3960
3925
  (function(e) {
3961
3926
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3962
3927
  })(S || (S = {}));
3963
- function Ni(e) {
3964
- return e.length < 2 ? e : e.reduce(function(t, r) {
3965
- var n = t[t.length - 1];
3966
- return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3928
+ function Pi(e) {
3929
+ return e.length < 2 ? e : e.reduce(function(t, n) {
3930
+ var r = t[t.length - 1];
3931
+ return !r || r.type !== S.literal || n.type !== S.literal ? t.push(n) : r.value += n.value, t;
3967
3932
  }, []);
3968
3933
  }
3969
- function Ci(e) {
3934
+ function Oi(e) {
3970
3935
  return typeof e == "function";
3971
3936
  }
3972
- function _e(e, t, r, n, i, o, s) {
3973
- if (e.length === 1 && Bt(e[0]))
3937
+ function ve(e, t, n, r, i, o, s) {
3938
+ if (e.length === 1 && St(e[0]))
3974
3939
  return [
3975
3940
  {
3976
3941
  type: S.literal,
3977
3942
  value: e[0].value
3978
3943
  }
3979
3944
  ];
3980
- for (var a = [], u = 0, l = e; u < l.length; u++) {
3981
- var h = l[u];
3982
- if (Bt(h)) {
3945
+ for (var a = [], u = 0, h = e; u < h.length; u++) {
3946
+ var l = h[u];
3947
+ if (St(l)) {
3983
3948
  a.push({
3984
3949
  type: S.literal,
3985
- value: h.value
3950
+ value: l.value
3986
3951
  });
3987
3952
  continue;
3988
3953
  }
3989
- if (ri(h)) {
3954
+ if (Yr(l)) {
3990
3955
  typeof o == "number" && a.push({
3991
3956
  type: S.literal,
3992
- value: r.getNumberFormat(t).format(o)
3957
+ value: n.getNumberFormat(t).format(o)
3993
3958
  });
3994
3959
  continue;
3995
3960
  }
3996
- var f = h.value;
3997
- if (!(i && f in i))
3998
- throw new Li(f, s);
3999
- var c = i[f];
4000
- if (ti(h)) {
4001
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
4002
- type: typeof c == "string" ? S.literal : S.object,
4003
- value: c
3961
+ var c = l.value;
3962
+ if (!(i && c in i))
3963
+ throw new Ai(c, s);
3964
+ var f = i[c];
3965
+ if (Jr(l)) {
3966
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3967
+ type: typeof f == "string" ? S.literal : S.object,
3968
+ value: f
4004
3969
  });
4005
3970
  continue;
4006
3971
  }
4007
- if (hr(h)) {
4008
- var d = typeof h.style == "string" ? n.date[h.style] : et(h.style) ? h.style.parsedOptions : void 0;
3972
+ if (an(l)) {
3973
+ var p = typeof l.style == "string" ? r.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
4009
3974
  a.push({
4010
3975
  type: S.literal,
4011
- value: r.getDateTimeFormat(t, d).format(c)
3976
+ value: n.getDateTimeFormat(t, p).format(f)
4012
3977
  });
4013
3978
  continue;
4014
3979
  }
4015
- if (cr(h)) {
4016
- var d = typeof h.style == "string" ? n.time[h.style] : et(h.style) ? h.style.parsedOptions : n.time.medium;
3980
+ if (un(l)) {
3981
+ var p = typeof l.style == "string" ? r.time[l.style] : qe(l.style) ? l.style.parsedOptions : r.time.medium;
4017
3982
  a.push({
4018
3983
  type: S.literal,
4019
- value: r.getDateTimeFormat(t, d).format(c)
3984
+ value: n.getDateTimeFormat(t, p).format(f)
4020
3985
  });
4021
3986
  continue;
4022
3987
  }
4023
- if (lr(h)) {
4024
- var d = typeof h.style == "string" ? n.number[h.style] : mr(h.style) ? h.style.parsedOptions : void 0;
4025
- d && d.scale && (c = c * (d.scale || 1)), a.push({
3988
+ if (sn(l)) {
3989
+ var p = typeof l.style == "string" ? r.number[l.style] : cn(l.style) ? l.style.parsedOptions : void 0;
3990
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
4026
3991
  type: S.literal,
4027
- value: r.getNumberFormat(t, d).format(c)
3992
+ value: n.getNumberFormat(t, p).format(f)
4028
3993
  });
4029
3994
  continue;
4030
3995
  }
4031
- if (dr(h)) {
4032
- var p = h.children, m = h.value, _ = i[m];
4033
- if (!Ci(_))
4034
- throw new Ii(m, "function", s);
4035
- var w = _e(p, t, r, n, i, o), P = _(w.map(function(T) {
4036
- return T.value;
3996
+ if (fn(l)) {
3997
+ var d = l.children, m = l.value, x = i[m];
3998
+ if (!Oi(x))
3999
+ throw new Bi(m, "function", s);
4000
+ var T = ve(d, t, n, r, i, o), P = x(T.map(function(w) {
4001
+ return w.value;
4037
4002
  }));
4038
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(T) {
4003
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(w) {
4039
4004
  return {
4040
- type: typeof T == "string" ? S.literal : S.object,
4041
- value: T
4005
+ type: typeof w == "string" ? S.literal : S.object,
4006
+ value: w
4042
4007
  };
4043
4008
  }));
4044
4009
  }
4045
- if (fr(h)) {
4046
- var x = h.options[c] || h.options.other;
4047
- if (!x)
4048
- throw new Ct(h.value, c, Object.keys(h.options), s);
4049
- a.push.apply(a, _e(x.value, t, r, n, i));
4010
+ if (hn(l)) {
4011
+ var E = l.options[f] || l.options.other;
4012
+ if (!E)
4013
+ throw new Ot(l.value, f, Object.keys(l.options), s);
4014
+ a.push.apply(a, ve(E.value, t, n, r, i));
4050
4015
  continue;
4051
4016
  }
4052
- if (pr(h)) {
4053
- var x = h.options["=".concat(c)];
4054
- if (!x) {
4017
+ if (ln(l)) {
4018
+ var E = l.options["=".concat(f)];
4019
+ if (!E) {
4055
4020
  if (!Intl.PluralRules)
4056
- throw new Ie(`Intl.PluralRules is not available in this environment.
4021
+ throw new Pe(`Intl.PluralRules is not available in this environment.
4057
4022
  Try polyfilling it using "@formatjs/intl-pluralrules"
4058
- `, Q.MISSING_INTL_API, s);
4059
- var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4060
- x = h.options[I] || h.options.other;
4023
+ `, J.MISSING_INTL_API, s);
4024
+ var I = n.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
4025
+ E = l.options[I] || l.options.other;
4061
4026
  }
4062
- if (!x)
4063
- throw new Ct(h.value, c, Object.keys(h.options), s);
4064
- a.push.apply(a, _e(x.value, t, r, n, i, c - (h.offset || 0)));
4027
+ if (!E)
4028
+ throw new Ot(l.value, f, Object.keys(l.options), s);
4029
+ a.push.apply(a, ve(E.value, t, n, r, i, f - (l.offset || 0)));
4065
4030
  continue;
4066
4031
  }
4067
4032
  }
4068
- return Ni(a);
4033
+ return Pi(a);
4069
4034
  }
4070
- function Mi(e, t) {
4071
- return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4072
- return r[n] = N(N({}, e[n]), t[n] || {}), r;
4035
+ function Ii(e, t) {
4036
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
4037
+ return n[r] = y(y({}, e[r]), t[r] || {}), n;
4073
4038
  }, {})) : e;
4074
4039
  }
4075
- function $i(e, t) {
4076
- return t ? Object.keys(e).reduce(function(r, n) {
4077
- return r[n] = Mi(e[n], t[n]), r;
4078
- }, N({}, e)) : e;
4040
+ function Li(e, t) {
4041
+ return t ? Object.keys(e).reduce(function(n, r) {
4042
+ return n[r] = Ii(e[r], t[r]), n;
4043
+ }, y({}, e)) : e;
4079
4044
  }
4080
- function ke(e) {
4045
+ function Ge(e) {
4081
4046
  return {
4082
4047
  create: function() {
4083
4048
  return {
4084
4049
  get: function(t) {
4085
4050
  return e[t];
4086
4051
  },
4087
- set: function(t, r) {
4088
- e[t] = r;
4052
+ set: function(t, n) {
4053
+ e[t] = n;
4089
4054
  }
4090
4055
  };
4091
4056
  }
4092
4057
  };
4093
4058
  }
4094
- function Ri(e) {
4059
+ function Ni(e) {
4095
4060
  return e === void 0 && (e = {
4096
4061
  number: {},
4097
4062
  dateTime: {},
4098
4063
  pluralRules: {}
4099
4064
  }), {
4100
- getNumberFormat: Ge(function() {
4101
- for (var t, r = [], n = 0; n < arguments.length; n++)
4102
- r[n] = arguments[n];
4103
- return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
4065
+ getNumberFormat: Re(function() {
4066
+ for (var t, n = [], r = 0; r < arguments.length; r++)
4067
+ n[r] = arguments[r];
4068
+ return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], n, !1)))();
4104
4069
  }, {
4105
- cache: ke(e.number),
4106
- strategy: Fe.variadic
4070
+ cache: Ge(e.number),
4071
+ strategy: Ue.variadic
4107
4072
  }),
4108
- getDateTimeFormat: Ge(function() {
4109
- for (var t, r = [], n = 0; n < arguments.length; n++)
4110
- r[n] = arguments[n];
4111
- return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
4073
+ getDateTimeFormat: Re(function() {
4074
+ for (var t, n = [], r = 0; r < arguments.length; r++)
4075
+ n[r] = arguments[r];
4076
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], n, !1)))();
4112
4077
  }, {
4113
- cache: ke(e.dateTime),
4114
- strategy: Fe.variadic
4078
+ cache: Ge(e.dateTime),
4079
+ strategy: Ue.variadic
4115
4080
  }),
4116
- getPluralRules: Ge(function() {
4117
- for (var t, r = [], n = 0; n < arguments.length; n++)
4118
- r[n] = arguments[n];
4119
- return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
4081
+ getPluralRules: Re(function() {
4082
+ for (var t, n = [], r = 0; r < arguments.length; r++)
4083
+ n[r] = arguments[r];
4084
+ return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], n, !1)))();
4120
4085
  }, {
4121
- cache: ke(e.pluralRules),
4122
- strategy: Fe.variadic
4086
+ cache: Ge(e.pluralRules),
4087
+ strategy: Ue.variadic
4123
4088
  })
4124
4089
  };
4125
4090
  }
4126
- var Ui = (
4091
+ var Mi = (
4127
4092
  /** @class */
4128
4093
  function() {
4129
- function e(t, r, n, i) {
4130
- r === void 0 && (r = e.defaultLocale);
4094
+ function e(t, n, r, i) {
4095
+ n === void 0 && (n = e.defaultLocale);
4131
4096
  var o = this;
4132
4097
  if (this.formatterCache = {
4133
4098
  number: {},
4134
4099
  dateTime: {},
4135
4100
  pluralRules: {}
4136
4101
  }, this.format = function(u) {
4137
- var l = o.formatToParts(u);
4138
- if (l.length === 1)
4139
- return l[0].value;
4140
- var h = l.reduce(function(f, c) {
4141
- return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4102
+ var h = o.formatToParts(u);
4103
+ if (h.length === 1)
4104
+ return h[0].value;
4105
+ var l = h.reduce(function(c, f) {
4106
+ return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4142
4107
  }, []);
4143
- return h.length <= 1 ? h[0] || "" : h;
4108
+ return l.length <= 1 ? l[0] || "" : l;
4144
4109
  }, this.formatToParts = function(u) {
4145
- return _e(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4110
+ return ve(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4146
4111
  }, this.resolvedOptions = function() {
4147
4112
  var u;
4148
4113
  return {
@@ -4150,18 +4115,18 @@ var Ui = (
4150
4115
  };
4151
4116
  }, this.getAst = function() {
4152
4117
  return o.ast;
4153
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4118
+ }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
4154
4119
  if (this.message = t, !e.__parse)
4155
4120
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4156
4121
  var s = i || {};
4157
4122
  s.formatters;
4158
- var a = zn(s, ["formatters"]);
4159
- this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
4123
+ var a = cr(s, ["formatters"]);
4124
+ this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
4160
4125
  } else
4161
4126
  this.ast = t;
4162
4127
  if (!Array.isArray(this.ast))
4163
4128
  throw new TypeError("A message must be provided as a String or AST.");
4164
- this.formats = $i(e.formats, n), this.formatters = i && i.formatters || Ri(this.formatterCache);
4129
+ this.formats = Li(e.formats, r), this.formatters = i && i.formatters || Ni(this.formatterCache);
4165
4130
  }
4166
4131
  return Object.defineProperty(e, "defaultLocale", {
4167
4132
  get: function() {
@@ -4171,10 +4136,10 @@ var Ui = (
4171
4136
  configurable: !0
4172
4137
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4173
4138
  if (typeof Intl.Locale != "undefined") {
4174
- var r = Intl.NumberFormat.supportedLocalesOf(t);
4175
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4139
+ var n = Intl.NumberFormat.supportedLocalesOf(t);
4140
+ return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4176
4141
  }
4177
- }, e.__parse = Oi, e.formats = {
4142
+ }, e.__parse = Hi, e.formats = {
4178
4143
  number: {
4179
4144
  integer: {
4180
4145
  maximumFractionDigits: 0
@@ -4235,113 +4200,113 @@ var Ui = (
4235
4200
  }, e;
4236
4201
  }()
4237
4202
  );
4238
- function Di(e, t) {
4203
+ function Ci(e, t) {
4239
4204
  if (t == null)
4240
4205
  return;
4241
4206
  if (t in e)
4242
4207
  return e[t];
4243
- const r = t.split(".");
4244
- let n = e;
4245
- for (let i = 0; i < r.length; i++)
4246
- if (typeof n == "object") {
4208
+ const n = t.split(".");
4209
+ let r = e;
4210
+ for (let i = 0; i < n.length; i++)
4211
+ if (typeof r == "object") {
4247
4212
  if (i > 0) {
4248
- const o = r.slice(i, r.length).join(".");
4249
- if (o in n) {
4250
- n = n[o];
4213
+ const o = n.slice(i, n.length).join(".");
4214
+ if (o in r) {
4215
+ r = r[o];
4251
4216
  break;
4252
4217
  }
4253
4218
  }
4254
- n = n[r[i]];
4219
+ r = r[n[i]];
4255
4220
  } else
4256
- n = void 0;
4257
- return n;
4221
+ r = void 0;
4222
+ return r;
4258
4223
  }
4259
- const D = {}, Gi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Sr = (e, t) => {
4224
+ const D = {}, $i = (e, t, n) => n && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = n), n), vn = (e, t) => {
4260
4225
  if (t == null)
4261
4226
  return;
4262
4227
  if (t in D && e in D[t])
4263
4228
  return D[t][e];
4264
- const r = Le(t);
4265
- for (let n = 0; n < r.length; n++) {
4266
- const i = r[n], o = ji(i, e);
4229
+ const n = Oe(t);
4230
+ for (let r = 0; r < n.length; r++) {
4231
+ const i = n[r], o = Ui(i, e);
4267
4232
  if (o)
4268
- return Gi(e, t, o);
4233
+ return $i(e, t, o);
4269
4234
  }
4270
4235
  };
4271
- let ht;
4272
- const fe = Pe({});
4273
- function Fi(e) {
4274
- return ht[e] || null;
4236
+ let st;
4237
+ const ce = Ae({});
4238
+ function Ri(e) {
4239
+ return st[e] || null;
4275
4240
  }
4276
- function wr(e) {
4277
- return e in ht;
4241
+ function xn(e) {
4242
+ return e in st;
4278
4243
  }
4279
- function ji(e, t) {
4280
- if (!wr(e))
4244
+ function Ui(e, t) {
4245
+ if (!xn(e))
4281
4246
  return null;
4282
- const r = Fi(e);
4283
- return Di(r, t);
4247
+ const n = Ri(e);
4248
+ return Ci(n, t);
4284
4249
  }
4285
- function ki(e) {
4250
+ function Di(e) {
4286
4251
  if (e == null)
4287
4252
  return;
4288
- const t = Le(e);
4289
- for (let r = 0; r < t.length; r++) {
4290
- const n = t[r];
4291
- if (wr(n))
4292
- return n;
4253
+ const t = Oe(e);
4254
+ for (let n = 0; n < t.length; n++) {
4255
+ const r = t[n];
4256
+ if (xn(r))
4257
+ return r;
4293
4258
  }
4294
4259
  }
4295
- function Tr(e, ...t) {
4296
- delete D[e], fe.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
4260
+ function En(e, ...t) {
4261
+ delete D[e], ce.update((n) => (n[e] = kr.all([n[e] || {}, ...t]), n));
4297
4262
  }
4298
- Y(
4299
- [fe],
4263
+ K(
4264
+ [ce],
4300
4265
  ([e]) => Object.keys(e)
4301
4266
  );
4302
- fe.subscribe((e) => ht = e);
4303
- const Ee = {};
4304
- function Vi(e, t) {
4305
- Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
4306
- }
4307
- function Hr(e) {
4308
- return Ee[e];
4309
- }
4310
- function Xi(e) {
4311
- return Le(e).map((t) => {
4312
- const r = Hr(t);
4313
- return [t, r ? [...r] : []];
4267
+ ce.subscribe((e) => st = e);
4268
+ const xe = {};
4269
+ function Gi(e, t) {
4270
+ xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4271
+ }
4272
+ function Sn(e) {
4273
+ return xe[e];
4274
+ }
4275
+ function Fi(e) {
4276
+ return Oe(e).map((t) => {
4277
+ const n = Sn(t);
4278
+ return [t, n ? [...n] : []];
4314
4279
  }).filter(([, t]) => t.length > 0);
4315
4280
  }
4316
- function st(e) {
4317
- return e == null ? !1 : Le(e).some(
4281
+ function tt(e) {
4282
+ return e == null ? !1 : Oe(e).some(
4318
4283
  (t) => {
4319
- var r;
4320
- return (r = Hr(t)) == null ? void 0 : r.size;
4284
+ var n;
4285
+ return (n = Sn(t)) == null ? void 0 : n.size;
4321
4286
  }
4322
4287
  );
4323
4288
  }
4324
- function Wi(e, t) {
4289
+ function ji(e, t) {
4325
4290
  return Promise.all(
4326
- t.map((n) => (Vi(e, n), n().then((i) => i.default || i)))
4327
- ).then((n) => Tr(e, ...n));
4328
- }
4329
- const ne = {};
4330
- function Br(e) {
4331
- if (!st(e))
4332
- return e in ne ? ne[e] : Promise.resolve();
4333
- const t = Xi(e);
4334
- return ne[e] = Promise.all(
4291
+ t.map((r) => (Gi(e, r), r().then((i) => i.default || i)))
4292
+ ).then((r) => En(e, ...r));
4293
+ }
4294
+ const ie = {};
4295
+ function Tn(e) {
4296
+ if (!tt(e))
4297
+ return e in ie ? ie[e] : Promise.resolve();
4298
+ const t = Fi(e);
4299
+ return ie[e] = Promise.all(
4335
4300
  t.map(
4336
- ([r, n]) => Wi(r, n)
4301
+ ([n, r]) => ji(n, r)
4337
4302
  )
4338
4303
  ).then(() => {
4339
- if (st(e))
4340
- return Br(e);
4341
- delete ne[e];
4342
- }), ne[e];
4304
+ if (tt(e))
4305
+ return Tn(e);
4306
+ delete ie[e];
4307
+ }), ie[e];
4343
4308
  }
4344
- const zi = {
4309
+ const ki = {
4345
4310
  number: {
4346
4311
  scientific: { notation: "scientific" },
4347
4312
  engineering: { notation: "engineering" },
@@ -4370,198 +4335,198 @@ const zi = {
4370
4335
  timeZoneName: "short"
4371
4336
  }
4372
4337
  }
4373
- }, Zi = {
4338
+ }, Vi = {
4374
4339
  fallbackLocale: null,
4375
4340
  loadingDelay: 200,
4376
- formats: zi,
4341
+ formats: ki,
4377
4342
  warnOnMissingMessages: !0,
4378
4343
  handleMissingMessage: void 0,
4379
4344
  ignoreTag: !0
4380
- }, qi = Zi;
4381
- function J() {
4382
- return qi;
4383
- }
4384
- const Ve = Pe(!1);
4385
- var Qi = Object.defineProperty, Ji = Object.defineProperties, Yi = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, Ki = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, to = (e, t) => {
4386
- for (var r in t || (t = {}))
4387
- Ki.call(t, r) && $t(e, r, t[r]);
4388
- if (Mt)
4389
- for (var r of Mt(t))
4390
- eo.call(t, r) && $t(e, r, t[r]);
4345
+ }, Xi = Vi;
4346
+ function Y() {
4347
+ return Xi;
4348
+ }
4349
+ const Fe = Ae(!1);
4350
+ var Wi = Object.defineProperty, zi = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable, Lt = (e, t, n) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ji = (e, t) => {
4351
+ for (var n in t)
4352
+ qi.call(t, n) && Lt(e, n, t[n]);
4353
+ if (It)
4354
+ for (var n of It(t))
4355
+ Qi.call(t, n) && Lt(e, n, t[n]);
4391
4356
  return e;
4392
- }, ro = (e, t) => Ji(e, Yi(t));
4393
- let at;
4394
- const He = Pe(null);
4395
- function Rt(e) {
4396
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4357
+ }, Yi = (e, t) => zi(e, Zi(t));
4358
+ let nt;
4359
+ const we = Ae(null);
4360
+ function Nt(e) {
4361
+ return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4397
4362
  }
4398
- function Le(e, t = J().fallbackLocale) {
4399
- const r = Rt(e);
4400
- return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
4363
+ function Oe(e, t = Y().fallbackLocale) {
4364
+ const n = Nt(e);
4365
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Nt(t)])] : n;
4401
4366
  }
4402
4367
  function j() {
4403
- return at != null ? at : void 0;
4368
+ return nt != null ? nt : void 0;
4404
4369
  }
4405
- He.subscribe((e) => {
4406
- at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4370
+ we.subscribe((e) => {
4371
+ nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4407
4372
  });
4408
- const no = (e) => {
4409
- if (e && ki(e) && st(e)) {
4410
- const { loadingDelay: t } = J();
4411
- let r;
4412
- return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
4413
- () => Ve.set(!0),
4373
+ const Ki = (e) => {
4374
+ if (e && Di(e) && tt(e)) {
4375
+ const { loadingDelay: t } = Y();
4376
+ let n;
4377
+ return typeof window != "undefined" && j() != null && t ? n = window.setTimeout(
4378
+ () => Fe.set(!0),
4414
4379
  t
4415
- ) : Ve.set(!0), Br(e).then(() => {
4416
- He.set(e);
4380
+ ) : Fe.set(!0), Tn(e).then(() => {
4381
+ we.set(e);
4417
4382
  }).finally(() => {
4418
- clearTimeout(r), Ve.set(!1);
4383
+ clearTimeout(n), Fe.set(!1);
4419
4384
  });
4420
4385
  }
4421
- return He.set(e);
4422
- }, K = ro(to({}, He), {
4423
- set: no
4424
- }), Ne = (e) => {
4386
+ return we.set(e);
4387
+ }, ee = Yi(Ji({}, we), {
4388
+ set: Ki
4389
+ }), Ie = (e) => {
4425
4390
  const t = /* @__PURE__ */ Object.create(null);
4426
- return (n) => {
4427
- const i = JSON.stringify(n);
4428
- return i in t ? t[i] : t[i] = e(n);
4391
+ return (r) => {
4392
+ const i = JSON.stringify(r);
4393
+ return i in t ? t[i] : t[i] = e(r);
4429
4394
  };
4430
4395
  };
4431
- var io = Object.defineProperty, Be = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4432
- for (var r in t || (t = {}))
4433
- Ar.call(t, r) && Ut(e, r, t[r]);
4434
- if (Be)
4435
- for (var r of Be(t))
4436
- Pr.call(t, r) && Ut(e, r, t[r]);
4396
+ var eo = Object.defineProperty, He = Object.getOwnPropertySymbols, wn = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, Mt = (e, t, n) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, at = (e, t) => {
4397
+ for (var n in t || (t = {}))
4398
+ wn.call(t, n) && Mt(e, n, t[n]);
4399
+ if (He)
4400
+ for (var n of He(t))
4401
+ Hn.call(t, n) && Mt(e, n, t[n]);
4437
4402
  return e;
4438
- }, ee = (e, t) => {
4439
- var r = {};
4440
- for (var n in e)
4441
- Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4442
- if (e != null && Be)
4443
- for (var n of Be(e))
4444
- t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
4445
- return r;
4403
+ }, te = (e, t) => {
4404
+ var n = {};
4405
+ for (var r in e)
4406
+ wn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4407
+ if (e != null && He)
4408
+ for (var r of He(e))
4409
+ t.indexOf(r) < 0 && Hn.call(e, r) && (n[r] = e[r]);
4410
+ return n;
4446
4411
  };
4447
- const ae = (e, t) => {
4448
- const { formats: r } = J();
4449
- if (e in r && t in r[e])
4450
- return r[e][t];
4412
+ const ue = (e, t) => {
4413
+ const { formats: n } = Y();
4414
+ if (e in n && t in n[e])
4415
+ return n[e][t];
4451
4416
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4452
- }, oo = Ne(
4417
+ }, to = Ie(
4453
4418
  (e) => {
4454
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4455
- if (r == null)
4419
+ var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
4420
+ if (n == null)
4456
4421
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4457
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4422
+ return r && (i = ue("number", r)), new Intl.NumberFormat(n, i);
4458
4423
  }
4459
- ), so = Ne(
4424
+ ), no = Ie(
4460
4425
  (e) => {
4461
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4462
- if (r == null)
4426
+ var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
4427
+ if (n == null)
4463
4428
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4464
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4429
+ return r ? i = ue("date", r) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(n, i);
4465
4430
  }
4466
- ), ao = Ne(
4431
+ ), ro = Ie(
4467
4432
  (e) => {
4468
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4469
- if (r == null)
4433
+ var t = e, { locale: n, format: r } = t, i = te(t, ["locale", "format"]);
4434
+ if (n == null)
4470
4435
  throw new Error(
4471
4436
  '[svelte-i18n] A "locale" must be set to format time values'
4472
4437
  );
4473
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4438
+ return r ? i = ue("time", r) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(n, i);
4474
4439
  }
4475
- ), uo = (e = {}) => {
4440
+ ), io = (e = {}) => {
4476
4441
  var t = e, {
4477
- locale: r = j()
4478
- } = t, n = ee(t, [
4442
+ locale: n = j()
4443
+ } = t, r = te(t, [
4479
4444
  "locale"
4480
4445
  ]);
4481
- return oo(ct({ locale: r }, n));
4482
- }, lo = (e = {}) => {
4446
+ return to(at({ locale: n }, r));
4447
+ }, oo = (e = {}) => {
4483
4448
  var t = e, {
4484
- locale: r = j()
4485
- } = t, n = ee(t, [
4449
+ locale: n = j()
4450
+ } = t, r = te(t, [
4486
4451
  "locale"
4487
4452
  ]);
4488
- return so(ct({ locale: r }, n));
4489
- }, ho = (e = {}) => {
4453
+ return no(at({ locale: n }, r));
4454
+ }, so = (e = {}) => {
4490
4455
  var t = e, {
4491
- locale: r = j()
4492
- } = t, n = ee(t, [
4456
+ locale: n = j()
4457
+ } = t, r = te(t, [
4493
4458
  "locale"
4494
4459
  ]);
4495
- return ao(ct({ locale: r }, n));
4496
- }, co = Ne(
4460
+ return ro(at({ locale: n }, r));
4461
+ }, ao = Ie(
4497
4462
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4498
- (e, t = j()) => new Ui(e, t, J().formats, {
4499
- ignoreTag: J().ignoreTag
4463
+ (e, t = j()) => new Mi(e, t, Y().formats, {
4464
+ ignoreTag: Y().ignoreTag
4500
4465
  })
4501
- ), fo = (e, t = {}) => {
4502
- var r, n, i, o;
4466
+ ), uo = (e, t = {}) => {
4467
+ var n, r, i, o;
4503
4468
  let s = t;
4504
4469
  typeof e == "object" && (s = e, e = s.id);
4505
4470
  const {
4506
4471
  values: a,
4507
4472
  locale: u = j(),
4508
- default: l
4473
+ default: h
4509
4474
  } = s;
4510
4475
  if (u == null)
4511
4476
  throw new Error(
4512
4477
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4513
4478
  );
4514
- let h = Sr(e, u);
4515
- if (!h)
4516
- h = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4517
- else if (typeof h != "string")
4479
+ let l = vn(e, u);
4480
+ if (!l)
4481
+ l = (o = (i = (r = (n = Y()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4482
+ else if (typeof l != "string")
4518
4483
  return console.warn(
4519
- `[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.`
4520
- ), h;
4484
+ `[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.`
4485
+ ), l;
4521
4486
  if (!a)
4522
- return h;
4523
- let f = h;
4487
+ return l;
4488
+ let c = l;
4524
4489
  try {
4525
- f = co(h, u).format(a);
4526
- } catch (c) {
4527
- c instanceof Error && console.warn(
4490
+ c = ao(l, u).format(a);
4491
+ } catch (f) {
4492
+ f instanceof Error && console.warn(
4528
4493
  `[svelte-i18n] Message "${e}" has syntax error:`,
4529
- c.message
4494
+ f.message
4530
4495
  );
4531
4496
  }
4532
- return f;
4533
- }, po = (e, t) => ho(t).format(e), mo = (e, t) => lo(t).format(e), bo = (e, t) => uo(t).format(e), go = (e, t = j()) => Sr(e, t), yo = Y([K, fe], () => fo);
4534
- Y([K], () => po);
4535
- Y([K], () => mo);
4536
- Y([K], () => bo);
4537
- Y([K, fe], () => go);
4538
- window.emWidgets = { topic: Pn };
4539
- const es = (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)), Or = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", ts = (e) => e.match(/CustomNative/i) ? "NativeApp" : Or(e) === "PC" ? "Desktop" : "Mobile";
4540
- function Dt(e, t) {
4497
+ return c;
4498
+ }, ho = (e, t) => so(t).format(e), lo = (e, t) => oo(t).format(e), fo = (e, t) => io(t).format(e), co = (e, t = j()) => vn(e, t), po = K([ee, ce], () => uo);
4499
+ K([ee], () => ho);
4500
+ K([ee], () => lo);
4501
+ K([ee], () => fo);
4502
+ K([ee, ce], () => co);
4503
+ window.emWidgets = { topic: Hr };
4504
+ const Qo = (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)), Bn = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", Jo = (e) => e.match(/CustomNative/i) ? "NativeApp" : Bn(e) === "PC" ? "Desktop" : "Mobile";
4505
+ function Ct(e, t) {
4541
4506
  if (e) {
4542
- const r = document.createElement("style");
4543
- r.innerHTML = t, e.appendChild(r);
4507
+ const n = document.createElement("style");
4508
+ n.innerHTML = t, e.appendChild(n);
4544
4509
  }
4545
4510
  }
4546
- function vo(e, t) {
4547
- const r = new URL(t);
4548
- fetch(r.href).then((n) => n.text()).then((n) => {
4511
+ function mo(e, t) {
4512
+ const n = new URL(t);
4513
+ fetch(n.href).then((r) => r.text()).then((r) => {
4549
4514
  const i = document.createElement("style");
4550
- i.innerHTML = n, e && e.appendChild(i);
4551
- }).catch((n) => {
4552
- console.error("There was an error while trying to load client styling from URL", n);
4515
+ i.innerHTML = r, e && e.appendChild(i);
4516
+ }).catch((r) => {
4517
+ console.error("There was an error while trying to load client styling from URL", r);
4553
4518
  });
4554
4519
  }
4555
- function _o(e, t, r) {
4520
+ function bo(e, t, n) {
4556
4521
  if (window.emMessageBus) {
4557
- const n = document.createElement("style");
4522
+ const r = document.createElement("style");
4558
4523
  window.emMessageBus.subscribe(t, (i) => {
4559
- n.innerHTML = i, e && e.appendChild(n);
4524
+ r.innerHTML = i, e && e.appendChild(r);
4560
4525
  });
4561
4526
  }
4562
4527
  }
4563
- const Eo = (e, t = {}) => {
4564
- const r = new CustomEvent("track-custom-event", {
4528
+ const go = (e, t = {}) => {
4529
+ const n = new CustomEvent("track-custom-event", {
4565
4530
  detail: {
4566
4531
  type: e,
4567
4532
  data: t
@@ -4569,15 +4534,15 @@ const Eo = (e, t = {}) => {
4569
4534
  bubbles: !0,
4570
4535
  composed: !0
4571
4536
  });
4572
- document.dispatchEvent(r);
4537
+ document.dispatchEvent(n);
4573
4538
  };
4574
- function Gt(e, t) {
4575
- Tr(e, t);
4539
+ function $t(e, t) {
4540
+ En(e, t);
4576
4541
  }
4577
- function xo(e) {
4578
- K.set(e);
4542
+ function yo(e) {
4543
+ ee.set(e);
4579
4544
  }
4580
- const Ft = {
4545
+ const Rt = {
4581
4546
  en: {
4582
4547
  logoutButton: "Logout"
4583
4548
  },
@@ -4612,42 +4577,42 @@ const Ft = {
4612
4577
  logoutButton: "Logout"
4613
4578
  }
4614
4579
  };
4615
- function So(e) {
4616
- Vr(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
+ function _o(e) {
4581
+ Fn(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))}");
4617
4582
  }
4618
- function wo(e) {
4619
- let t, r, n, i = (
4583
+ function vo(e) {
4584
+ let t, n, r, i = (
4620
4585
  /*$_*/
4621
4586
  e[2]("logoutButton") + ""
4622
4587
  ), o, s, a;
4623
4588
  return {
4624
4589
  c() {
4625
- t = C("div"), r = C("button"), n = C("span"), o = he(i), B(t, "class", "GeneralLogout");
4590
+ t = N("div"), n = N("button"), r = N("span"), o = fe(i), B(t, "class", "GeneralLogout");
4626
4591
  },
4627
- m(u, l) {
4628
- le(u, t, l), A(t, r), A(r, n), A(n, o), s || (a = qt(
4629
- r,
4592
+ m(u, h) {
4593
+ le(u, t, h), A(t, n), A(n, r), A(r, o), s || (a = Xt(
4594
+ n,
4630
4595
  "click",
4631
4596
  /*click_handler_1*/
4632
4597
  e[14]
4633
4598
  ), s = !0);
4634
4599
  },
4635
- p(u, l) {
4636
- l & /*$_*/
4600
+ p(u, h) {
4601
+ h & /*$_*/
4637
4602
  4 && i !== (i = /*$_*/
4638
- u[2]("logoutButton") + "") && Qt(o, i);
4603
+ u[2]("logoutButton") + "") && Wt(o, i);
4639
4604
  },
4640
4605
  d(u) {
4641
4606
  u && F(t), s = !1, a();
4642
4607
  }
4643
4608
  };
4644
4609
  }
4645
- function To(e) {
4646
- let t, r, n, i, o, s, a, u, l, h, f, c = !/*isMobile*/
4647
- e[3] && Ho(e);
4610
+ function xo(e) {
4611
+ let t, n, r, i, o, s, a, u, h, l, c, f = !/*isMobile*/
4612
+ e[3] && Eo(e);
4648
4613
  return {
4649
4614
  c() {
4650
- t = C("p"), r = C("span"), n = te("svg"), i = te("defs"), o = te("style"), s = he(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = te("path"), u = te("path"), l = Wr(), c && c.c(), B(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(a, "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(u, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(u, "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"), Zr(r, "width", /*isMobile*/
4615
+ t = N("p"), n = N("span"), r = ne("svg"), i = ne("defs"), o = ne("style"), s = fe(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = ne("path"), u = ne("path"), h = kn(), f && f.c(), B(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(a, "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(u, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(u, "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"), Xn(n, "width", /*isMobile*/
4651
4616
  e[3] ? (
4652
4617
  /*mediaQuery*/
4653
4618
  e[4].matches ? "20px" : "24px"
@@ -4656,63 +4621,63 @@ function To(e) {
4656
4621
  (e[4].matches && /*isMobile*/
4657
4622
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4658
4623
  },
4659
- m(d, p) {
4660
- le(d, t, p), A(t, r), A(r, n), A(n, i), A(i, o), A(o, s), A(n, a), A(n, u), A(t, l), c && c.m(t, null), h || (f = qt(
4624
+ m(p, d) {
4625
+ le(p, t, d), A(t, n), A(n, r), A(r, i), A(i, o), A(o, s), A(r, a), A(r, u), A(t, h), f && f.m(t, null), l || (c = Xt(
4661
4626
  t,
4662
4627
  "click",
4663
4628
  /*click_handler*/
4664
4629
  e[13]
4665
- ), h = !0);
4630
+ ), l = !0);
4666
4631
  },
4667
- p(d, p) {
4632
+ p(p, d) {
4668
4633
  /*isMobile*/
4669
- d[3] || c.p(d, p);
4634
+ p[3] || f.p(p, d);
4670
4635
  },
4671
- d(d) {
4672
- d && F(t), c && c.d(), h = !1, f();
4636
+ d(p) {
4637
+ p && F(t), f && f.d(), l = !1, c();
4673
4638
  }
4674
4639
  };
4675
4640
  }
4676
- function Ho(e) {
4677
- let t, r = (
4641
+ function Eo(e) {
4642
+ let t, n = (
4678
4643
  /*$_*/
4679
4644
  e[2]("logoutButton") + ""
4680
- ), n;
4645
+ ), r;
4681
4646
  return {
4682
4647
  c() {
4683
- t = C("span"), n = he(r), B(t, "class", "PlayerLogoutText");
4648
+ t = N("span"), r = fe(n), B(t, "class", "PlayerLogoutText");
4684
4649
  },
4685
4650
  m(i, o) {
4686
- le(i, t, o), A(t, n);
4651
+ le(i, t, o), A(t, r);
4687
4652
  },
4688
4653
  p(i, o) {
4689
4654
  o & /*$_*/
4690
- 4 && r !== (r = /*$_*/
4691
- i[2]("logoutButton") + "") && Qt(n, r);
4655
+ 4 && n !== (n = /*$_*/
4656
+ i[2]("logoutButton") + "") && Wt(r, n);
4692
4657
  },
4693
4658
  d(i) {
4694
4659
  i && F(t);
4695
4660
  }
4696
4661
  };
4697
4662
  }
4698
- function Bo(e) {
4663
+ function So(e) {
4699
4664
  let t;
4700
- function r(o, s) {
4665
+ function n(o, s) {
4701
4666
  return (
4702
4667
  /*buttonlocation*/
4703
- o[0] === "PlayerAccountMenu" ? To : wo
4668
+ o[0] === "PlayerAccountMenu" ? xo : vo
4704
4669
  );
4705
4670
  }
4706
- let n = r(e), i = n(e);
4671
+ let r = n(e), i = r(e);
4707
4672
  return {
4708
4673
  c() {
4709
- t = C("div"), i.c();
4674
+ t = N("div"), i.c();
4710
4675
  },
4711
4676
  m(o, s) {
4712
4677
  le(o, t, s), i.m(t, null), e[15](t);
4713
4678
  },
4714
4679
  p(o, [s]) {
4715
- n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4680
+ r === (r = n(o)) && i ? i.p(o, s) : (i.d(1), i = r(o), i && (i.c(), i.m(t, null)));
4716
4681
  },
4717
4682
  i: H,
4718
4683
  o: H,
@@ -4721,78 +4686,78 @@ function Bo(e) {
4721
4686
  }
4722
4687
  };
4723
4688
  }
4724
- function Ao(e, t, r) {
4725
- let n;
4726
- Fr(e, yo, (y) => r(2, n = y));
4727
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, c = "", d = !1, p, m = window.navigator.userAgent, _ = Or(m) !== "PC";
4728
- const w = window.matchMedia("(min-width: 768px)"), P = () => {
4729
- fetch(f).then((U) => U.json()).then((U) => {
4730
- Object.keys(U).forEach((Ce) => {
4731
- Gt(Ce, U[Ce]);
4689
+ function To(e, t, n) {
4690
+ let r;
4691
+ Un(e, po, (_) => n(2, r = _));
4692
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: u } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, f = "", p = !1, d, m = window.navigator.userAgent, x = Bn(m) !== "PC";
4693
+ const T = window.matchMedia("(min-width: 768px)"), P = () => {
4694
+ fetch(c).then((U) => U.json()).then((U) => {
4695
+ Object.keys(U).forEach((Le) => {
4696
+ $t(Le, U[Le]);
4732
4697
  });
4733
4698
  }).catch((U) => {
4734
4699
  console.log(U);
4735
4700
  });
4736
4701
  };
4737
- Object.keys(Ft).forEach((y) => {
4738
- Gt(y, Ft[y]);
4702
+ Object.keys(Rt).forEach((_) => {
4703
+ $t(_, Rt[_]);
4739
4704
  });
4740
- const x = () => {
4741
- let y = new Headers();
4742
- y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4743
- let U = { method: "DELETE", headers: y };
4744
- fetch(`${i}/v1/player/session/player`, U).then((Ce) => {
4745
- window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), Eo("logged_out", {});
4705
+ const E = () => {
4706
+ let _ = new Headers();
4707
+ _.append("Content-type", "application/json"), _.append("X-SessionID", o);
4708
+ let U = { method: "DELETE", headers: _ };
4709
+ fetch(`${i}/v1/player/session/player`, U).then((Le) => {
4710
+ window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), go("logged_out", {});
4746
4711
  });
4747
- }, I = () => (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 = () => {
4748
- xo(a);
4712
+ }, I = () => (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 = () => {
4713
+ yo(a);
4749
4714
  };
4750
- rn(() => () => {
4715
+ Kn(() => () => {
4751
4716
  });
4752
- const R = () => x(), pe = () => x();
4753
- function Lr(y) {
4754
- Xe[y ? "unshift" : "push"](() => {
4755
- p = y, r(1, p);
4717
+ const R = () => E(), de = () => E();
4718
+ function Pn(_) {
4719
+ je[_ ? "unshift" : "push"](() => {
4720
+ d = _, n(1, d);
4756
4721
  });
4757
4722
  }
4758
- return e.$$set = (y) => {
4759
- "endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, s = y.buttonlocation), "lang" in y && r(8, a = y.lang), "mbsource" in y && r(9, u = y.mbsource), "clientstyling" in y && r(10, l = y.clientstyling), "clientstylingurl" in y && r(11, h = y.clientstylingurl), "translationurl" in y && r(12, f = y.translationurl);
4723
+ return e.$$set = (_) => {
4724
+ "endpoint" in _ && n(6, i = _.endpoint), "session" in _ && n(7, o = _.session), "buttonlocation" in _ && n(0, s = _.buttonlocation), "lang" in _ && n(8, a = _.lang), "mbsource" in _ && n(9, u = _.mbsource), "clientstyling" in _ && n(10, h = _.clientstyling), "clientstylingurl" in _ && n(11, l = _.clientstylingurl), "translationurl" in _ && n(12, c = _.translationurl);
4760
4725
  }, e.$$.update = () => {
4761
4726
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4762
4727
  193 && i && o && s && I(), e.$$.dirty & /*lang*/
4763
- 256 && a && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4764
- 1026 && l && p && Dt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4765
- 1026 && l && p && Dt(p, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4766
- 2050 && h && p && vo(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4767
- 514 && u && p && _o(p, `${u}.Style`), e.$$.dirty & /*translationurl*/
4768
- 4096 && f && P();
4728
+ 256 && a && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4729
+ 1026 && h && d && Ct(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4730
+ 1026 && h && d && Ct(d, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4731
+ 2050 && l && d && mo(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4732
+ 514 && u && d && bo(d, `${u}.Style`), e.$$.dirty & /*translationurl*/
4733
+ 4096 && c && P();
4769
4734
  }, [
4770
4735
  s,
4771
- p,
4772
- n,
4773
- _,
4774
- w,
4736
+ d,
4737
+ r,
4775
4738
  x,
4739
+ T,
4740
+ E,
4776
4741
  i,
4777
4742
  o,
4778
4743
  a,
4779
4744
  u,
4780
- l,
4781
4745
  h,
4782
- f,
4746
+ l,
4747
+ c,
4783
4748
  R,
4784
- pe,
4785
- Lr
4749
+ de,
4750
+ Pn
4786
4751
  ];
4787
4752
  }
4788
- class Ir extends dn {
4753
+ class An extends lr {
4789
4754
  constructor(t) {
4790
- super(), fn(
4755
+ super(), ur(
4791
4756
  this,
4792
4757
  t,
4793
- Ao,
4794
- Bo,
4795
- kt,
4758
+ To,
4759
+ So,
4760
+ Dt,
4796
4761
  {
4797
4762
  endpoint: 6,
4798
4763
  session: 7,
@@ -4803,7 +4768,7 @@ class Ir extends dn {
4803
4768
  clientstylingurl: 11,
4804
4769
  translationurl: 12
4805
4770
  },
4806
- So
4771
+ _o
4807
4772
  );
4808
4773
  }
4809
4774
  get endpoint() {
@@ -4855,72 +4820,72 @@ class Ir extends dn {
4855
4820
  this.$$set({ translationurl: t }), L();
4856
4821
  }
4857
4822
  }
4858
- pn(Ir, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4859
- const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4823
+ hr(An, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4824
+ const Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4860
4825
  __proto__: null,
4861
- default: Ir
4826
+ default: An
4862
4827
  }, Symbol.toStringTag, { value: "Module" }));
4863
4828
  export {
4864
- K as $,
4865
- pn as A,
4866
- yo as B,
4867
- fe as C,
4868
- ts as D,
4869
- zo as E,
4870
- Uo as F,
4871
- $o as G,
4872
- Io as H,
4873
- Qo as I,
4874
- an as J,
4875
- No as K,
4876
- Co as L,
4877
- Lo as M,
4878
- Do as N,
4879
- Yo as O,
4880
- Ro as P,
4881
- Xo as Q,
4882
- jo as R,
4883
- dn as S,
4884
- Vo as T,
4885
- ue as U,
4886
- ko as V,
4887
- we as W,
4888
- es as X,
4889
- Mo as Y,
4890
- Zr as Z,
4891
- qo as _,
4892
- Tr as a,
4893
- Zo as a0,
4894
- Oo as a1,
4895
- Ur as a2,
4896
- Jo as a3,
4897
- In as a4,
4898
- Ko as a5,
4899
- Fo as a6,
4900
- rs as a7,
4901
- Vr as b,
4902
- Qt as c,
4903
- F as d,
4904
- Go as e,
4829
+ ee as $,
4830
+ bo as A,
4831
+ po as B,
4832
+ ce as C,
4833
+ Jo as D,
4834
+ ko as E,
4835
+ Mo as F,
4836
+ Lo as G,
4837
+ Bo as H,
4838
+ Po as I,
4839
+ Oo as J,
4840
+ Ao as K,
4841
+ rr as L,
4842
+ Wo as M,
4843
+ Co as N,
4844
+ Zo as O,
4845
+ No as P,
4846
+ Fo as Q,
4847
+ Uo as R,
4848
+ lr as S,
4849
+ Do as T,
4850
+ Te as U,
4851
+ Go as V,
4852
+ he as W,
4853
+ Qo as X,
4854
+ Io as Y,
4855
+ Xn as Z,
4856
+ Xo as _,
4857
+ En as a,
4858
+ Vo as a0,
4859
+ Ho as a1,
4860
+ Cn as a2,
4861
+ zo as a3,
4862
+ qo as a4,
4863
+ Ar as a5,
4864
+ Ro as a6,
4865
+ Yo as a7,
4866
+ Fn as b,
4867
+ hr as c,
4868
+ kn as d,
4869
+ N as e,
4905
4870
  L as f,
4906
- le as g,
4907
- A as h,
4908
- fn as i,
4909
- C as j,
4910
- Wr as k,
4911
- qt as l,
4912
- he as m,
4913
- H as n,
4914
- B as o,
4915
- Fr as p,
4916
- Or as q,
4871
+ B as g,
4872
+ jo as h,
4873
+ ur as i,
4874
+ $o as j,
4875
+ le as k,
4876
+ A as l,
4877
+ Xt as m,
4878
+ Wt as n,
4879
+ H as o,
4880
+ F as p,
4881
+ Un as q,
4917
4882
  G as r,
4918
- kt as s,
4919
- Wo as t,
4920
- rn as u,
4921
- te as v,
4922
- Xe as w,
4923
- Dt as x,
4924
- vo as y,
4925
- _o as z
4883
+ Dt as s,
4884
+ fe as t,
4885
+ Bn as u,
4886
+ Kn as v,
4887
+ ne as w,
4888
+ je as x,
4889
+ Ct as y,
4890
+ mo as z
4926
4891
  };