@everymatrix/player-account-controller-nd 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/components/GeneralLogout-9pZTJKCj.cjs +8 -0
  2. package/components/{GeneralLogout-Ve_dOAMA.js → GeneralLogout-CqNn1bEG.js} +1081 -1088
  3. package/components/{GeneralLogout-BZhvD1EQ.js → GeneralLogout-qtT2UsMu.js} +1076 -1083
  4. package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +1 -0
  5. package/components/PlayerAccountBettingHistory-CgKp1Tsa.js +329 -0
  6. package/components/{PlayerAccountBettingHistory-C9n4Lfo3.js → PlayerAccountBettingHistory-DGdU5x1X.js} +130 -134
  7. package/components/{PlayerAccountBiometrics-BrlNlZ5N.cjs → PlayerAccountBiometrics-8CaZALdD.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-BupiQCMJ.js → PlayerAccountBiometrics-BynUcDER.js} +125 -126
  9. package/components/{PlayerAccountBiometrics-fQlNKCoA.js → PlayerAccountBiometrics-hfEg8HK3.js} +125 -126
  10. package/components/{PlayerAccountClosureNd-CEad1veU.js → PlayerAccountClosureNd-BNAxe4kI.js} +127 -128
  11. package/components/{PlayerAccountClosureNd-DcMOj468.cjs → PlayerAccountClosureNd-BzygnnRL.cjs} +1 -1
  12. package/components/{PlayerAccountClosureNd-DAFiYifr.js → PlayerAccountClosureNd-C56v4kQH.js} +127 -128
  13. package/components/{PlayerAccountControllerNd-5BH6GjlH.js → PlayerAccountControllerNd-0Azz2muh.js} +1575 -1049
  14. package/components/{PlayerAccountControllerNd-BmAwgSdK.js → PlayerAccountControllerNd-CU0CZtN2.js} +1509 -983
  15. package/components/PlayerAccountControllerNd-DiMI0zck.cjs +1 -0
  16. package/components/{PlayerAccountGamingLimits-9Stjo0gs.js → PlayerAccountGamingLimits-BUBbpeFt.js} +301 -250
  17. package/components/PlayerAccountGamingLimits-DoYSa5g4.cjs +1 -0
  18. package/components/{PlayerAccountGamingLimits-DI0RPgPB.js → PlayerAccountGamingLimits-cGyCwFe3.js} +301 -250
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-BzAWyxny.js → PlayerAccountGamingLimitsConfirmationModal-BzxaZ7Sb.js} +127 -131
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-DKpr25Aj.js → PlayerAccountGamingLimitsConfirmationModal-CPRvI7h-.js} +127 -131
  21. package/components/PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs +1 -0
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-Dj2jUWb2.js → PlayerAccountGamingLimitsGroupEdit-BJQil0oW.js} +1073 -1077
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs → PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs} +4 -4
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-CBViR9JR.js → PlayerAccountGamingLimitsGroupEdit-uRCXqfhe.js} +1073 -1077
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-BQRXsnS9.js → PlayerAccountGamingLimitsHistory2Nd-B9FC3C6m.js} +208 -216
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-2hdjxCBn.cjs → PlayerAccountGamingLimitsHistory2Nd-Daq9D9so.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-BQy_79YQ.js → PlayerAccountGamingLimitsHistory2Nd-wYR_HP23.js} +213 -221
  28. package/components/{PlayerAccountGamingLimitsInfoCard-StfGgmLs.js → PlayerAccountGamingLimitsInfoCard-DgmJAMo8.js} +639 -588
  29. package/components/{PlayerAccountGamingLimitsInfoCard-CDFRfVT4.js → PlayerAccountGamingLimitsInfoCard-DvaVcUFe.js} +639 -588
  30. package/components/PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs +1 -0
  31. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-BDBtHDGH.cjs +21 -0
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B672X-1A.js → PlayerAccountGamingLimitsPage2Gm16Nd-BQeFK7FJ.js} +1043 -1019
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dz-xK27Q.js → PlayerAccountGamingLimitsPage2Gm16Nd-DJhG-lLb.js} +845 -821
  34. package/components/{PlayerAccountGamingLimitsPopup-DoLZB2lj.js → PlayerAccountGamingLimitsPopup-BgdXe6lp.js} +116 -120
  35. package/components/{PlayerAccountGamingLimitsPopup-f9QP34fL.js → PlayerAccountGamingLimitsPopup-BhqEVpIP.js} +116 -120
  36. package/components/{PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs → PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs} +1 -1
  37. package/components/PlayerAccountGamingLimitsWrapper2Nd-DnBhGv4Z.cjs +1 -0
  38. package/components/PlayerAccountGamingLimitsWrapper2Nd-HNcfKvd3.js +1016 -0
  39. package/components/PlayerAccountGamingLimitsWrapper2Nd-bkcZAm71.js +1022 -0
  40. package/components/{PlayerAccountGeneralConfirmationModal-BlglDNwU.js → PlayerAccountGeneralConfirmationModal-BUSAMIdf.js} +141 -142
  41. package/components/{PlayerAccountGeneralConfirmationModal-rpOFir4P.js → PlayerAccountGeneralConfirmationModal-BXQQtxIE.js} +141 -142
  42. package/components/PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs +1 -0
  43. package/components/PlayerAccountMenuNd-BGd35WSX.js +695 -0
  44. package/components/PlayerAccountMenuNd-BWzYxwjF.cjs +1 -0
  45. package/components/PlayerAccountMenuNd-Dw-owOIv.js +694 -0
  46. package/components/PlayerAccountModal-C7aE-f75.js +209 -0
  47. package/components/PlayerAccountModal-CLW-XTid.cjs +1 -0
  48. package/components/PlayerAccountModal-DcQTZlVT.js +209 -0
  49. package/components/PlayerAccountNotifications-0ecn9JH_.js +369 -0
  50. package/components/PlayerAccountNotifications-CmSue8JR.cjs +1 -0
  51. package/components/PlayerAccountNotifications-lv1He1RO.js +368 -0
  52. package/components/{PlayerAccountSelfExclusionNd-D2JmyzgE.js → PlayerAccountSelfExclusionNd-CsBAGhjI.js} +10893 -11100
  53. package/components/{PlayerAccountSelfExclusionNd-CM37K9pN.js → PlayerAccountSelfExclusionNd-DRQwA-0O.js} +10812 -11065
  54. package/components/PlayerAccountSelfExclusionNd-TZyj4_3a.cjs +3557 -0
  55. package/components/PlayerAccountTimeout-BDvJp_Zk.cjs +1 -0
  56. package/components/{PlayerAccountTimeout-B0zaqo1v.js → PlayerAccountTimeout-C0WAFaPW.js} +498 -367
  57. package/components/{PlayerAccountTimeout-BO3G2t3W.js → PlayerAccountTimeout-CixN4uD5.js} +498 -367
  58. package/components/PlayerActiveBonuses-BAx9d0pm.js +1055 -0
  59. package/components/PlayerActiveBonuses-CbJliQvN.js +1056 -0
  60. package/components/PlayerActiveBonuses-DTgD47j8.cjs +1 -0
  61. package/components/{PlayerBonusCard-BC8FfHZz.cjs → PlayerBonusCard-5gtng8cd.cjs} +1 -1
  62. package/components/{PlayerBonusCard-9LZmOSI1.js → PlayerBonusCard-BiVG3k7R.js} +166 -168
  63. package/components/{PlayerBonusCard-BvrlU7Ao.js → PlayerBonusCard-DnyVL-Cb.js} +166 -168
  64. package/components/PlayerBonusHistory-CaiqLQk_.js +938 -0
  65. package/components/PlayerBonusHistory-DA8a2ZnE.js +937 -0
  66. package/components/PlayerBonusHistory-rLGeO078.cjs +1 -0
  67. package/components/{PlayerChangePassword-CzR4Xz0H.cjs → PlayerChangePassword-BsM1lBfW.cjs} +2 -2
  68. package/components/{PlayerChangePassword-BsQyz4Qc.js → PlayerChangePassword-DsR4BO-Y.js} +383 -387
  69. package/components/{PlayerChangePassword-BcoctDrY.js → PlayerChangePassword-dEL-0H2u.js} +383 -387
  70. package/components/PlayerDeposit-0eaqfWH1.cjs +1 -0
  71. package/components/PlayerDeposit-D_Ujmr4j.js +391 -0
  72. package/components/PlayerDeposit-IS6_f845.js +391 -0
  73. package/components/PlayerGamingHistory-BRstQCWo.cjs +1 -0
  74. package/components/{PlayerGamingHistory-B1Q3Qiuk.js → PlayerGamingHistory-BYRzcRjb.js} +348 -352
  75. package/components/{PlayerGamingHistory-DUCP4vWS.js → PlayerGamingHistory-GGgBAhXX.js} +373 -377
  76. package/components/PlayerPendingWithdrawals-CaoLTPFk.js +310 -0
  77. package/components/PlayerPendingWithdrawals-M9Wq9w2M.js +310 -0
  78. package/components/PlayerPendingWithdrawals-qMs8We3P.cjs +1 -0
  79. package/components/PlayerProfileInfo-B4pkapUi.js +1821 -0
  80. package/components/PlayerProfileInfo-Cr6m7e2V.js +1804 -0
  81. package/components/PlayerProfileInfo-Mqg0xIQD.cjs +1 -0
  82. package/components/PlayerRealityCheck-B9LHSWRj.js +652 -0
  83. package/components/PlayerRealityCheck-CMKhVVBJ.js +668 -0
  84. package/components/PlayerRealityCheck-DoXLoM9G.cjs +1 -0
  85. package/components/PlayerTransactionHistory-BaALuJRH.js +314 -0
  86. package/components/PlayerTransactionHistory-BqEXyDt-.cjs +1 -0
  87. package/components/PlayerTransactionHistory-CYob92HC.js +314 -0
  88. package/components/PlayerWithdrawal-1i-tYxaO.cjs +1 -0
  89. package/components/{PlayerWithdrawal-jGmMHcUX.js → PlayerWithdrawal-CNDRfeXy.js} +137 -141
  90. package/components/{PlayerWithdrawal-wi9yuRxw.js → PlayerWithdrawal-U9E0FEDt.js} +137 -141
  91. package/es2015/player-account-controller-nd.cjs +1 -1
  92. package/es2015/player-account-controller-nd.js +1 -1
  93. package/esnext/player-account-controller-nd.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  96. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
  97. package/stencil/{checkbox-group-input_9-DZvX2H_r.js → checkbox-group-input_9-B_RfUM6E.js} +3279 -2404
  98. package/stencil/checkbox-group-input_9-C2IUNSpC.cjs +2045 -0
  99. package/stencil/{checkbox-group-input_9-Cny9rOs9.js → checkbox-group-input_9-C98yT4vw.js} +3348 -2459
  100. package/stencil/{general-input-Yj_LRx0v.js → general-input-CqTf7ErJ.js} +6 -6
  101. package/stencil/{general-input-d5RULL12.js → general-input-DTHw5Z1Q.js} +6 -6
  102. package/stencil/general-input-wM2i7b57.cjs +1 -0
  103. package/stencil/index-92b64862-BRYoLHww.cjs +1 -0
  104. package/stencil/index-92b64862-C_69cKxK.js +708 -0
  105. package/stencil/index-92b64862-w9a1l35N.js +692 -0
  106. package/stencil/index-db5752f9-DlyF6uv8.js +594 -0
  107. package/stencil/index-db5752f9-DrdunCay.js +610 -0
  108. package/stencil/index-db5752f9-dFKrDpwt.cjs +1 -0
  109. package/stencil/password-input_2-B2qvf6ku.cjs +105 -0
  110. package/stencil/password-input_2-CdHS5fmR.js +569 -0
  111. package/stencil/password-input_2-DdQvCp3o.js +569 -0
  112. package/stencil/{player-change-password-gm2-780eb445-Cg8Z75Vz.js → player-change-password-gm2-38dff08c-BNhjxr22.js} +85 -66
  113. package/stencil/{player-change-password-gm2-780eb445-DEjz9Jjk.js → player-change-password-gm2-38dff08c-CPRdwVFF.js} +85 -66
  114. package/stencil/player-change-password-gm2-38dff08c-DnYXSeKg.cjs +1 -0
  115. package/stencil/player-change-password-gm2-Cxdum0Hh.js +25 -0
  116. package/stencil/player-change-password-gm2-DJqZO25d.cjs +1 -0
  117. package/stencil/player-change-password-gm2-DWoAaJ2f.js +7 -0
  118. package/stencil/{toggle-checkbox-input-ErX2Ngat.js → toggle-checkbox-input-B4OOk9wz.js} +7 -7
  119. package/stencil/{toggle-checkbox-input-Co64_7cm.js → toggle-checkbox-input-Cwo_Ny77.js} +7 -7
  120. package/stencil/toggle-checkbox-input-tQDhlcag.cjs +1 -0
  121. package/stencil/ui-skeleton-982450d2-BKnKTh4c.js +122 -0
  122. package/stencil/ui-skeleton-982450d2-DDIv0--Q.cjs +1 -0
  123. package/stencil/ui-skeleton-982450d2-DQzKNKe8.js +122 -0
  124. package/stencil/ui-skeleton-BL5JJXyn.js +11 -0
  125. package/stencil/ui-skeleton-CGldUjn2.js +29 -0
  126. package/stencil/ui-skeleton-ITys8nIA.cjs +1 -0
  127. package/stencil/{vaadin-button-6001b2a6-Dqz5Vp8D.js → vaadin-button-mixin-ef61174c-B_vhSFKU.js} +8177 -8813
  128. package/stencil/vaadin-button-mixin-ef61174c-DuDVejN4.cjs +2385 -0
  129. package/stencil/{vaadin-button-6001b2a6-CZwj1qjO.js → vaadin-button-mixin-ef61174c-EQiVsI4x.js} +6270 -6860
  130. package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
  131. package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
  132. package/components/PlayerAccountBettingHistory-QT3-2u7E.js +0 -333
  133. package/components/PlayerAccountControllerNd-CO0ce0zs.cjs +0 -1
  134. package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
  135. package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
  136. package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
  137. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DSThp4HX.cjs +0 -21
  138. package/components/PlayerAccountGamingLimitsWrapper2Nd-Bz6Zp5tp.js +0 -865
  139. package/components/PlayerAccountGamingLimitsWrapper2Nd-Cq5vxtjw.js +0 -871
  140. package/components/PlayerAccountGamingLimitsWrapper2Nd-KUpEDIP8.cjs +0 -1
  141. package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
  142. package/components/PlayerAccountMenuNd-BWUhUlIY.js +0 -590
  143. package/components/PlayerAccountMenuNd-BmPerb2f.cjs +0 -1
  144. package/components/PlayerAccountMenuNd-CxMlvYwa.js +0 -589
  145. package/components/PlayerAccountModal-BK81ZotM.js +0 -213
  146. package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
  147. package/components/PlayerAccountModal-CzVRNZzB.js +0 -213
  148. package/components/PlayerAccountNotifications-BBwUcB1T.js +0 -261
  149. package/components/PlayerAccountNotifications-CB47Zxq9.js +0 -261
  150. package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
  151. package/components/PlayerAccountSelfExclusionNd-DCsOgBZR.cjs +0 -4171
  152. package/components/PlayerAccountTimeout-Dg5Mlz5K.cjs +0 -1
  153. package/components/PlayerActiveBonuses-B9jz3QD8.cjs +0 -1
  154. package/components/PlayerActiveBonuses-CfZ8tegY.js +0 -1037
  155. package/components/PlayerActiveBonuses-DkKDWhBN.js +0 -1038
  156. package/components/PlayerBonusHistory-Bsy2Grk6.js +0 -919
  157. package/components/PlayerBonusHistory-CuSbmVev.cjs +0 -1
  158. package/components/PlayerBonusHistory-nN8l2tOZ.js +0 -920
  159. package/components/PlayerDeposit-BIBRCGiC.js +0 -414
  160. package/components/PlayerDeposit-B_7saxic.js +0 -414
  161. package/components/PlayerDeposit-D_78W5GC.cjs +0 -1
  162. package/components/PlayerGamingHistory-CNPhCSFS.cjs +0 -1
  163. package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
  164. package/components/PlayerPendingWithdrawals-C8jyjgZ0.js +0 -311
  165. package/components/PlayerPendingWithdrawals-wMhZTLpq.js +0 -311
  166. package/components/PlayerProfileInfo-CGsJydqv.cjs +0 -1
  167. package/components/PlayerProfileInfo-EkbwdTEh.js +0 -1757
  168. package/components/PlayerProfileInfo-SeOQq0CG.js +0 -1740
  169. package/components/PlayerRealityCheck--iYjw4rP.js +0 -598
  170. package/components/PlayerRealityCheck-BGGIPihT.js +0 -582
  171. package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
  172. package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
  173. package/components/PlayerTransactionHistory-CvBbrQn6.js +0 -315
  174. package/components/PlayerTransactionHistory-DIfTIxF3.js +0 -315
  175. package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
  176. package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
  177. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  178. package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +0 -2104
  179. package/stencil/general-input-igTYIJ6W.cjs +0 -1
  180. package/stencil/index-72d2f0c7--qtpsDOz.js +0 -642
  181. package/stencil/index-72d2f0c7-DldCMjBJ.cjs +0 -1
  182. package/stencil/index-72d2f0c7-DyMEJXra.js +0 -626
  183. package/stencil/password-input_2-CHOu4hgw.js +0 -1420
  184. package/stencil/password-input_2-DQAgV1SZ.cjs +0 -896
  185. package/stencil/password-input_2-DaiHlKbQ.js +0 -1420
  186. package/stencil/player-change-password-gm2-780eb445-CdItmoKI.cjs +0 -1
  187. package/stencil/player-change-password-gm2-ClBiis4q.js +0 -25
  188. package/stencil/player-change-password-gm2-Dt0gP_G_.cjs +0 -1
  189. package/stencil/player-change-password-gm2-cKh7RACV.js +0 -7
  190. package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +0 -1
  191. package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +0 -3018
@@ -1,57 +1,57 @@
1
- function B() {
1
+ function H() {
2
2
  }
3
- const wr = (e) => e;
4
- function Hr(e, t) {
3
+ const _r = (e) => e;
4
+ function xr(e, t) {
5
5
  for (const r in t) e[r] = t[r];
6
6
  return (
7
7
  /** @type {T & S} */
8
8
  e
9
9
  );
10
10
  }
11
- function Nt(e) {
11
+ function Ot(e) {
12
12
  return e();
13
13
  }
14
- function ut() {
14
+ function ot() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
17
  function G(e) {
18
- e.forEach(Nt);
18
+ e.forEach(Ot);
19
19
  }
20
- function le(e) {
20
+ function ue(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function Ct(e, t) {
23
+ function It(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- let de;
27
- function co(e, t) {
28
- return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
26
+ let pe;
27
+ function lo(e, t) {
28
+ return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
29
29
  }
30
- function Br(e) {
30
+ function Er(e) {
31
31
  return Object.keys(e).length === 0;
32
32
  }
33
- function Mt(e, ...t) {
33
+ function Lt(e, ...t) {
34
34
  if (e == null) {
35
35
  for (const n of t)
36
36
  n(void 0);
37
- return B;
37
+ return H;
38
38
  }
39
39
  const r = e.subscribe(...t);
40
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
41
  }
42
- function Ar(e, t, r) {
43
- e.$$.on_destroy.push(Mt(t, r));
42
+ function Sr(e, t, r) {
43
+ e.$$.on_destroy.push(Lt(t, r));
44
44
  }
45
- function fo(e, t, r, n) {
45
+ function co(e, t, r, n) {
46
46
  if (e) {
47
- const i = $t(e, t, r, n);
47
+ const i = Nt(e, t, r, n);
48
48
  return e[0](i);
49
49
  }
50
50
  }
51
- function $t(e, t, r, n) {
52
- return e[1] && n ? Hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function Nt(e, t, r, n) {
52
+ return e[1] && n ? xr(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function po(e, t, r, n) {
54
+ function fo(e, t, r, n) {
55
55
  if (e[2] && n) {
56
56
  const i = e[2](n(r));
57
57
  if (t.dirty === void 0)
@@ -66,13 +66,13 @@ function po(e, t, r, n) {
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function mo(e, t, r, n, i, o) {
69
+ function po(e, t, r, n, i, o) {
70
70
  if (i) {
71
- const a = $t(t, r, n, o);
71
+ const a = Nt(t, r, n, o);
72
72
  e.p(a, i);
73
73
  }
74
74
  }
75
- function bo(e) {
75
+ function mo(e) {
76
76
  if (e.ctx.length > 32) {
77
77
  const t = [], r = e.ctx.length / 32;
78
78
  for (let n = 0; n < r; n++)
@@ -81,46 +81,42 @@ function bo(e) {
81
81
  }
82
82
  return -1;
83
83
  }
84
- function go(e) {
84
+ function bo(e) {
85
85
  return e ?? "";
86
86
  }
87
- function yo(e) {
88
- return e && le(e.destroy) ? e.destroy : B;
87
+ function go(e) {
88
+ return e && ue(e.destroy) ? e.destroy : H;
89
89
  }
90
- const Rt = typeof window < "u";
91
- let Pr = Rt ? () => window.performance.now() : () => Date.now(), rt = Rt ? (e) => requestAnimationFrame(e) : B;
92
- const W = /* @__PURE__ */ new Set();
93
- function Ut(e) {
94
- W.forEach((t) => {
95
- t.c(e) || (W.delete(t), t.f());
96
- }), W.size !== 0 && rt(Ut);
90
+ const Mt = typeof window < "u";
91
+ let Tr = Mt ? () => window.performance.now() : () => Date.now(), tt = Mt ? (e) => requestAnimationFrame(e) : H;
92
+ const X = /* @__PURE__ */ new Set();
93
+ function Ct(e) {
94
+ X.forEach((t) => {
95
+ t.c(e) || (X.delete(t), t.f());
96
+ }), X.size !== 0 && tt(Ct);
97
97
  }
98
- function Or(e) {
98
+ function wr(e) {
99
99
  let t;
100
- return W.size === 0 && rt(Ut), {
100
+ return X.size === 0 && tt(Ct), {
101
101
  promise: new Promise((r) => {
102
- W.add(t = { c: e, f: r });
102
+ X.add(t = { c: e, f: r });
103
103
  }),
104
104
  abort() {
105
- W.delete(t);
105
+ X.delete(t);
106
106
  }
107
107
  };
108
108
  }
109
- const vo = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
110
- // @ts-ignore Node typings have this
111
- global
112
- );
113
- function P(e, t) {
109
+ function A(e, t) {
114
110
  e.appendChild(t);
115
111
  }
116
- function Ir(e, t, r) {
117
- const n = nt(e);
112
+ function Hr(e, t, r) {
113
+ const n = rt(e);
118
114
  if (!n.getElementById(t)) {
119
115
  const i = L("style");
120
- i.id = t, i.textContent = r, Dt(n, i);
116
+ i.id = t, i.textContent = r, $t(n, i);
121
117
  }
122
118
  }
123
- function nt(e) {
119
+ function rt(e) {
124
120
  if (!e) return document;
125
121
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
126
122
  return t && /** @type {ShadowRoot} */
@@ -129,12 +125,12 @@ function nt(e) {
129
125
  t
130
126
  ) : e.ownerDocument;
131
127
  }
132
- function Lr(e) {
128
+ function Br(e) {
133
129
  const t = L("style");
134
- return t.textContent = "/* empty */", Dt(nt(e), t), t.sheet;
130
+ return t.textContent = "/* empty */", $t(rt(e), t), t.sheet;
135
131
  }
136
- function Dt(e, t) {
137
- return P(
132
+ function $t(e, t) {
133
+ return A(
138
134
  /** @type {Document} */
139
135
  e.head || e,
140
136
  t
@@ -143,44 +139,44 @@ function Dt(e, t) {
143
139
  function he(e, t, r) {
144
140
  e.insertBefore(t, r || null);
145
141
  }
146
- function F(e) {
142
+ function D(e) {
147
143
  e.parentNode && e.parentNode.removeChild(e);
148
144
  }
149
- function _o(e, t) {
145
+ function yo(e, t) {
150
146
  for (let r = 0; r < e.length; r += 1)
151
147
  e[r] && e[r].d(t);
152
148
  }
153
149
  function L(e) {
154
150
  return document.createElement(e);
155
151
  }
156
- function re(e) {
152
+ function te(e) {
157
153
  return document.createElementNS("http://www.w3.org/2000/svg", e);
158
154
  }
159
- function ce(e) {
155
+ function le(e) {
160
156
  return document.createTextNode(e);
161
157
  }
162
- function Nr() {
163
- return ce(" ");
158
+ function Ar() {
159
+ return le(" ");
164
160
  }
165
- function xo() {
166
- return ce("");
161
+ function vo() {
162
+ return le("");
167
163
  }
168
- function Gt(e, t, r, n) {
164
+ function Rt(e, t, r, n) {
169
165
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
170
166
  }
171
- function Eo(e) {
167
+ function _o(e) {
172
168
  return function(t) {
173
169
  return t.preventDefault(), e.call(this, t);
174
170
  };
175
171
  }
176
- function A(e, t, r) {
172
+ function B(e, t, r) {
177
173
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
178
174
  }
179
- function So(e, t, r) {
175
+ function xo(e, t, r) {
180
176
  const n = t.toLowerCase();
181
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : A(e, t, r);
177
+ 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);
182
178
  }
183
- function To(e) {
179
+ function Eo(e) {
184
180
  let t;
185
181
  return {
186
182
  /* push */
@@ -193,23 +189,23 @@ function To(e) {
193
189
  }
194
190
  };
195
191
  }
196
- function wo(e) {
192
+ function So(e) {
197
193
  return e === "" ? null : +e;
198
194
  }
199
- function Cr(e) {
195
+ function Pr(e) {
200
196
  return Array.from(e.childNodes);
201
197
  }
202
- function Ft(e, t) {
198
+ function Ut(e, t) {
203
199
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
204
200
  t);
205
201
  }
206
- function Ho(e, t) {
202
+ function To(e, t) {
207
203
  e.value = t ?? "";
208
204
  }
209
- function Mr(e, t, r, n) {
205
+ function Or(e, t, r, n) {
210
206
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
211
207
  }
212
- function Bo(e, t, r) {
208
+ function wo(e, t, r) {
213
209
  for (let n = 0; n < e.options.length; n += 1) {
214
210
  const i = e.options[n];
215
211
  if (i.__value === t) {
@@ -219,17 +215,17 @@ function Bo(e, t, r) {
219
215
  }
220
216
  (!r || t !== void 0) && (e.selectedIndex = -1);
221
217
  }
222
- function Ao(e) {
218
+ function Ho(e) {
223
219
  const t = e.querySelector(":checked");
224
220
  return t && t.__value;
225
221
  }
226
- function Po(e, t, r) {
222
+ function Bo(e, t, r) {
227
223
  e.classList.toggle(t, !!r);
228
224
  }
229
- function $r(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
225
+ function Ir(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
230
226
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
231
227
  }
232
- function Rr(e) {
228
+ function Lr(e) {
233
229
  const t = {};
234
230
  return e.childNodes.forEach(
235
231
  /** @param {Element} node */
@@ -238,176 +234,176 @@ function Rr(e) {
238
234
  }
239
235
  ), t;
240
236
  }
241
- const Ee = /* @__PURE__ */ new Map();
242
- let Se = 0;
243
- function Ur(e) {
237
+ const xe = /* @__PURE__ */ new Map();
238
+ let Ee = 0;
239
+ function Nr(e) {
244
240
  let t = 5381, r = e.length;
245
241
  for (; r--; ) t = (t << 5) - t ^ e.charCodeAt(r);
246
242
  return t >>> 0;
247
243
  }
248
- function Dr(e, t) {
249
- const r = { stylesheet: Lr(t), rules: {} };
250
- return Ee.set(e, r), r;
244
+ function Mr(e, t) {
245
+ const r = { stylesheet: Br(t), rules: {} };
246
+ return xe.set(e, r), r;
251
247
  }
252
- function lt(e, t, r, n, i, o, a, s = 0) {
253
- const u = 16.666 / n;
254
- let l = `{
248
+ function st(e, t, r, n, i, o, a, s = 0) {
249
+ const h = 16.666 / n;
250
+ let u = `{
255
251
  `;
256
- for (let x = 0; x <= 1; x += u) {
252
+ for (let x = 0; x <= 1; x += h) {
257
253
  const T = t + (r - t) * o(x);
258
- l += x * 100 + `%{${a(T, 1 - T)}}
254
+ u += x * 100 + `%{${a(T, 1 - T)}}
259
255
  `;
260
256
  }
261
- const h = l + `100% {${a(r, 1 - r)}}
262
- }`, c = `__svelte_${Ur(h)}_${s}`, f = nt(e), { stylesheet: p, rules: d } = Ee.get(f) || Dr(f, e);
263
- d[c] || (d[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
257
+ const l = u + `100% {${a(r, 1 - r)}}
258
+ }`, f = `__svelte_${Nr(l)}_${s}`, c = rt(e), { stylesheet: d, rules: p } = xe.get(c) || Mr(c, e);
259
+ p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${l}`, d.cssRules.length));
264
260
  const m = e.style.animation || "";
265
- return e.style.animation = `${m ? `${m}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Se += 1, c;
261
+ return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Ee += 1, f;
266
262
  }
267
- function Gr(e, t) {
263
+ function Cr(e, t) {
268
264
  const r = (e.style.animation || "").split(", "), n = r.filter(
269
265
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
270
266
  // remove all Svelte animations
271
267
  ), i = r.length - n.length;
272
- i && (e.style.animation = n.join(", "), Se -= i, Se || Fr());
268
+ i && (e.style.animation = n.join(", "), Ee -= i, Ee || $r());
273
269
  }
274
- function Fr() {
275
- rt(() => {
276
- Se || (Ee.forEach((e) => {
270
+ function $r() {
271
+ tt(() => {
272
+ Ee || (xe.forEach((e) => {
277
273
  const { ownerNode: t } = e.stylesheet;
278
- t && F(t);
279
- }), Ee.clear());
274
+ t && D(t);
275
+ }), xe.clear());
280
276
  });
281
277
  }
282
- let se;
283
- function oe(e) {
284
- se = e;
278
+ let oe;
279
+ function ie(e) {
280
+ oe = e;
285
281
  }
286
- function jr() {
287
- if (!se) throw new Error("Function called outside component initialization");
288
- return se;
282
+ function Rr() {
283
+ if (!oe) throw new Error("Function called outside component initialization");
284
+ return oe;
289
285
  }
290
- function Oo(e) {
291
- jr().$$.on_mount.push(e);
286
+ function Ur(e) {
287
+ Rr().$$.on_mount.push(e);
292
288
  }
293
- const X = [], Fe = [];
294
- let z = [];
295
- const ht = [], jt = /* @__PURE__ */ Promise.resolve();
296
- let je = !1;
297
- function kt() {
298
- je || (je = !0, jt.then(N));
289
+ const V = [], De = [];
290
+ let W = [];
291
+ const at = [], Gt = /* @__PURE__ */ Promise.resolve();
292
+ let Fe = !1;
293
+ function Dt() {
294
+ Fe || (Fe = !0, Gt.then(I));
299
295
  }
300
- function Io() {
301
- return kt(), jt;
296
+ function Ao() {
297
+ return Dt(), Gt;
302
298
  }
303
- function Te(e) {
304
- z.push(e);
299
+ function Se(e) {
300
+ W.push(e);
305
301
  }
306
302
  const Le = /* @__PURE__ */ new Set();
307
- let k = 0;
308
- function N() {
309
- if (k !== 0)
303
+ let j = 0;
304
+ function I() {
305
+ if (j !== 0)
310
306
  return;
311
- const e = se;
307
+ const e = oe;
312
308
  do {
313
309
  try {
314
- for (; k < X.length; ) {
315
- const t = X[k];
316
- k++, oe(t), kr(t.$$);
310
+ for (; j < V.length; ) {
311
+ const t = V[j];
312
+ j++, ie(t), Gr(t.$$);
317
313
  }
318
314
  } catch (t) {
319
- throw X.length = 0, k = 0, t;
315
+ throw V.length = 0, j = 0, t;
320
316
  }
321
- for (oe(null), X.length = 0, k = 0; Fe.length; ) Fe.pop()();
322
- for (let t = 0; t < z.length; t += 1) {
323
- const r = z[t];
317
+ for (ie(null), V.length = 0, j = 0; De.length; ) De.pop()();
318
+ for (let t = 0; t < W.length; t += 1) {
319
+ const r = W[t];
324
320
  Le.has(r) || (Le.add(r), r());
325
321
  }
326
- z.length = 0;
327
- } while (X.length);
328
- for (; ht.length; )
329
- ht.pop()();
330
- je = !1, Le.clear(), oe(e);
322
+ W.length = 0;
323
+ } while (V.length);
324
+ for (; at.length; )
325
+ at.pop()();
326
+ Fe = !1, Le.clear(), ie(e);
331
327
  }
332
- function kr(e) {
328
+ function Gr(e) {
333
329
  if (e.fragment !== null) {
334
330
  e.update(), G(e.before_update);
335
331
  const t = e.dirty;
336
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
332
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
337
333
  }
338
334
  }
339
- function Vr(e) {
335
+ function Dr(e) {
340
336
  const t = [], r = [];
341
- z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
337
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
342
338
  }
343
- let ne;
344
- function Xr() {
345
- return ne || (ne = Promise.resolve(), ne.then(() => {
346
- ne = null;
347
- })), ne;
339
+ let re;
340
+ function Fr() {
341
+ return re || (re = Promise.resolve(), re.then(() => {
342
+ re = null;
343
+ })), re;
348
344
  }
349
345
  function Ne(e, t, r) {
350
- e.dispatchEvent($r(`${t ? "intro" : "outro"}${r}`));
346
+ e.dispatchEvent(Ir(`${t ? "intro" : "outro"}${r}`));
351
347
  }
352
- const ge = /* @__PURE__ */ new Set();
353
- let C;
354
- function Lo() {
355
- C = {
348
+ const be = /* @__PURE__ */ new Set();
349
+ let N;
350
+ function Po() {
351
+ N = {
356
352
  r: 0,
357
353
  c: [],
358
- p: C
354
+ p: N
359
355
  // parent group
360
356
  };
361
357
  }
362
- function No() {
363
- C.r || G(C.c), C = C.p;
358
+ function Oo() {
359
+ N.r || G(N.c), N = N.p;
364
360
  }
365
- function Wr(e, t) {
366
- e && e.i && (ge.delete(e), e.i(t));
361
+ function jr(e, t) {
362
+ e && e.i && (be.delete(e), e.i(t));
367
363
  }
368
- function Co(e, t, r, n) {
364
+ function Io(e, t, r, n) {
369
365
  if (e && e.o) {
370
- if (ge.has(e)) return;
371
- ge.add(e), C.c.push(() => {
372
- ge.delete(e), n && (r && e.d(1), n());
366
+ if (be.has(e)) return;
367
+ be.add(e), N.c.push(() => {
368
+ be.delete(e), n && (r && e.d(1), n());
373
369
  }), e.o(t);
374
370
  } else n && n();
375
371
  }
376
- const zr = { duration: 0 };
377
- function Mo(e, t, r, n) {
378
- let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, u = null, l = null, h;
379
- function c() {
380
- l && Gr(e, l);
372
+ const kr = { duration: 0 };
373
+ function Lo(e, t, r, n) {
374
+ let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, h = null, u = null, l;
375
+ function f() {
376
+ u && Cr(e, u);
381
377
  }
382
- function f(d, m) {
378
+ function c(p, m) {
383
379
  const x = (
384
380
  /** @type {Program['d']} */
385
- d.b - a
381
+ p.b - a
386
382
  );
387
383
  return m *= Math.abs(x), {
388
384
  a,
389
- b: d.b,
385
+ b: p.b,
390
386
  d: x,
391
387
  duration: m,
392
- start: d.start,
393
- end: d.start + m,
394
- group: d.group
388
+ start: p.start,
389
+ end: p.start + m,
390
+ group: p.group
395
391
  };
396
392
  }
397
- function p(d) {
393
+ function d(p) {
398
394
  const {
399
395
  delay: m = 0,
400
396
  duration: x = 300,
401
- easing: T = wr,
402
- tick: w = B,
397
+ easing: T = _r,
398
+ tick: P = H,
403
399
  css: E
404
- } = o || zr, O = {
405
- start: Pr() + m,
406
- b: d
400
+ } = o || kr, O = {
401
+ start: Tr() + m,
402
+ b: p
407
403
  };
408
- d || (O.group = C, C.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
409
- e.inert, e.inert = !0)), s || u ? u = O : (E && (c(), l = lt(e, a, d, x, m, T, E)), d && w(0, 1), s = f(O, x), Te(() => Ne(e, d, "start")), Or((H) => {
410
- if (u && H > u.start && (s = f(u, x), u = null, Ne(e, s.b, "start"), E && (c(), l = lt(
404
+ p || (O.group = N, N.r += 1), "inert" in e && (p ? l !== void 0 && (e.inert = l) : (l = /** @type {HTMLElement} */
405
+ e.inert, e.inert = !0)), s || h ? h = O : (E && (f(), u = st(e, a, p, x, m, T, E)), p && P(0, 1), s = c(O, x), Se(() => Ne(e, p, "start")), wr((w) => {
406
+ if (h && w > h.start && (s = c(h, x), h = null, Ne(e, s.b, "start"), E && (f(), u = st(
411
407
  e,
412
408
  a,
413
409
  s.b,
@@ -416,85 +412,85 @@ function Mo(e, t, r, n) {
416
412
  T,
417
413
  o.css
418
414
  ))), s) {
419
- if (H >= s.end)
420
- w(a = s.b, 1 - a), Ne(e, s.b, "end"), u || (s.b ? c() : --s.group.r || G(s.group.c)), s = null;
421
- else if (H >= s.start) {
422
- const R = H - s.start;
423
- a = s.a + s.d * T(R / s.duration), w(a, 1 - a);
415
+ if (w >= s.end)
416
+ P(a = s.b, 1 - a), Ne(e, s.b, "end"), h || (s.b ? f() : --s.group.r || G(s.group.c)), s = null;
417
+ else if (w >= s.start) {
418
+ const $ = w - s.start;
419
+ a = s.a + s.d * T($ / s.duration), P(a, 1 - a);
424
420
  }
425
421
  }
426
- return !!(s || u);
422
+ return !!(s || h);
427
423
  }));
428
424
  }
429
425
  return {
430
- run(d) {
431
- le(o) ? Xr().then(() => {
432
- o = o({ direction: d ? "in" : "out" }), p(d);
433
- }) : p(d);
426
+ run(p) {
427
+ ue(o) ? Fr().then(() => {
428
+ o = o({ direction: p ? "in" : "out" }), d(p);
429
+ }) : d(p);
434
430
  },
435
431
  end() {
436
- c(), s = u = null;
432
+ f(), s = h = null;
437
433
  }
438
434
  };
439
435
  }
440
- function $o(e) {
436
+ function No(e) {
441
437
  return e?.length !== void 0 ? e : Array.from(e);
442
438
  }
443
- function Zr(e, t, r) {
439
+ function Vr(e, t, r) {
444
440
  const { fragment: n, after_update: i } = e.$$;
445
- n && n.m(t, r), Te(() => {
446
- const o = e.$$.on_mount.map(Nt).filter(le);
441
+ n && n.m(t, r), Se(() => {
442
+ const o = e.$$.on_mount.map(Ot).filter(ue);
447
443
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
448
- }), i.forEach(Te);
444
+ }), i.forEach(Se);
449
445
  }
450
- function qr(e, t) {
446
+ function Xr(e, t) {
451
447
  const r = e.$$;
452
- r.fragment !== null && (Vr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
448
+ r.fragment !== null && (Dr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
453
449
  }
454
- function Qr(e, t) {
455
- e.$$.dirty[0] === -1 && (X.push(e), kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
450
+ function Wr(e, t) {
451
+ e.$$.dirty[0] === -1 && (V.push(e), Dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
456
452
  }
457
- function Jr(e, t, r, n, i, o, a = null, s = [-1]) {
458
- const u = se;
459
- oe(e);
460
- const l = e.$$ = {
453
+ function zr(e, t, r, n, i, o, a = null, s = [-1]) {
454
+ const h = oe;
455
+ ie(e);
456
+ const u = e.$$ = {
461
457
  fragment: null,
462
458
  ctx: [],
463
459
  // state
464
460
  props: o,
465
- update: B,
461
+ update: H,
466
462
  not_equal: i,
467
- bound: ut(),
463
+ bound: ot(),
468
464
  // lifecycle
469
465
  on_mount: [],
470
466
  on_destroy: [],
471
467
  on_disconnect: [],
472
468
  before_update: [],
473
469
  after_update: [],
474
- context: new Map(t.context || (u ? u.$$.context : [])),
470
+ context: new Map(t.context || (h ? h.$$.context : [])),
475
471
  // everything else
476
- callbacks: ut(),
472
+ callbacks: ot(),
477
473
  dirty: s,
478
474
  skip_bound: !1,
479
- root: t.target || u.$$.root
475
+ root: t.target || h.$$.root
480
476
  };
481
- a && a(l.root);
482
- let h = !1;
483
- if (l.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
484
- const d = p.length ? p[0] : f;
485
- return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && Qr(e, c)), f;
486
- }) : [], l.update(), h = !0, G(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
477
+ a && a(u.root);
478
+ let l = !1;
479
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
480
+ const p = d.length ? d[0] : c;
481
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && Wr(e, f)), c;
482
+ }) : [], u.update(), l = !0, G(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
487
483
  if (t.hydrate) {
488
- const c = Cr(t.target);
489
- l.fragment && l.fragment.l(c), c.forEach(F);
484
+ const f = Pr(t.target);
485
+ u.fragment && u.fragment.l(f), f.forEach(D);
490
486
  } else
491
- l.fragment && l.fragment.c();
492
- t.intro && Wr(e.$$.fragment), Zr(e, t.target, t.anchor), N();
487
+ u.fragment && u.fragment.c();
488
+ t.intro && jr(e.$$.fragment), Vr(e, t.target, t.anchor), I();
493
489
  }
494
- oe(u);
490
+ ie(h);
495
491
  }
496
- let Vt;
497
- typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
492
+ let Ft;
493
+ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
498
494
  /** The Svelte component constructor */
499
495
  $$ctor;
500
496
  /** Slots */
@@ -536,29 +532,29 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
536
532
  let o;
537
533
  return {
538
534
  c: function() {
539
- o = L("slot"), i !== "default" && A(o, "name", i);
535
+ o = L("slot"), i !== "default" && B(o, "name", i);
540
536
  },
541
537
  /**
542
538
  * @param {HTMLElement} target
543
539
  * @param {HTMLElement} [anchor]
544
540
  */
545
- m: function(u, l) {
546
- he(u, o, l);
541
+ m: function(h, u) {
542
+ he(h, o, u);
547
543
  },
548
- d: function(u) {
549
- u && F(o);
544
+ d: function(h) {
545
+ h && D(o);
550
546
  }
551
547
  };
552
548
  };
553
549
  };
554
550
  if (await Promise.resolve(), !this.$$cn || this.$$c)
555
551
  return;
556
- const t = {}, r = Rr(this);
552
+ const t = {}, r = Lr(this);
557
553
  for (const i of this.$$s)
558
554
  i in r && (t[i] = [e(i)]);
559
555
  for (const i of this.attributes) {
560
556
  const o = this.$$g_p(i.name);
561
- o in this.$$d || (this.$$d[o] = ye(o, i.value, this.$$p_d, "toProp"));
557
+ o in this.$$d || (this.$$d[o] = ge(o, i.value, this.$$p_d, "toProp"));
562
558
  }
563
559
  for (const i in this.$$p_d)
564
560
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -576,7 +572,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
576
572
  this.$$r = !0;
577
573
  for (const i in this.$$p_d)
578
574
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
579
- const o = ye(
575
+ const o = ge(
580
576
  i,
581
577
  this.$$d[i],
582
578
  this.$$p_d,
@@ -598,7 +594,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
598
594
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
599
595
  // and setting attributes through setAttribute etc, this is helpful
600
596
  attributeChangedCallback(e, t, r) {
601
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
597
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
602
598
  }
603
599
  disconnectedCallback() {
604
600
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -611,7 +607,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
611
607
  ) || e;
612
608
  }
613
609
  });
614
- function ye(e, t, r, n) {
610
+ function ge(e, t, r, n) {
615
611
  const i = r[e]?.type;
616
612
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
617
613
  return t;
@@ -640,8 +636,8 @@ function ye(e, t, r, n) {
640
636
  return t;
641
637
  }
642
638
  }
643
- function Yr(e, t, r, n, i, o) {
644
- let a = class extends Vt {
639
+ function Zr(e, t, r, n, i, o) {
640
+ let a = class extends Ft {
645
641
  constructor() {
646
642
  super(e, r, i), this.$$p_d = t;
647
643
  }
@@ -656,8 +652,8 @@ function Yr(e, t, r, n, i, o) {
656
652
  get() {
657
653
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
658
654
  },
659
- set(u) {
660
- u = ye(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
655
+ set(h) {
656
+ h = ge(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
661
657
  }
662
658
  });
663
659
  }), n.forEach((s) => {
@@ -669,7 +665,7 @@ function Yr(e, t, r, n, i, o) {
669
665
  }), e.element = /** @type {any} */
670
666
  a, a;
671
667
  }
672
- class Kr {
668
+ class qr {
673
669
  /**
674
670
  * ### PRIVATE API
675
671
  *
@@ -688,7 +684,7 @@ class Kr {
688
684
  $$set = void 0;
689
685
  /** @returns {void} */
690
686
  $destroy() {
691
- qr(this, 1), this.$destroy = B;
687
+ Xr(this, 1), this.$destroy = H;
692
688
  }
693
689
  /**
694
690
  * @template {Extract<keyof Events, string>} K
@@ -697,8 +693,8 @@ class Kr {
697
693
  * @returns {() => void}
698
694
  */
699
695
  $on(t, r) {
700
- if (!le(r))
701
- return B;
696
+ if (!ue(r))
697
+ return H;
702
698
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
703
699
  return n.push(r), () => {
704
700
  const i = n.indexOf(r);
@@ -710,37 +706,37 @@ class Kr {
710
706
  * @returns {void}
711
707
  */
712
708
  $set(t) {
713
- this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
709
+ this.$$set && !Er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
714
710
  }
715
711
  }
716
- const en = "4";
717
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
718
- var ke = function(e, t) {
719
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
712
+ const Qr = "4";
713
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
714
+ var je = function(e, t) {
715
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
720
716
  r.__proto__ = n;
721
717
  } || function(r, n) {
722
718
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
723
- }, ke(e, t);
719
+ }, je(e, t);
724
720
  };
725
- function $(e, t) {
721
+ function C(e, t) {
726
722
  if (typeof t != "function" && t !== null)
727
723
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
728
- ke(e, t);
724
+ je(e, t);
729
725
  function r() {
730
726
  this.constructor = e;
731
727
  }
732
728
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
733
729
  }
734
- var v = function() {
735
- return v = Object.assign || function(t) {
730
+ var y = function() {
731
+ return y = Object.assign || function(t) {
736
732
  for (var r, n = 1, i = arguments.length; n < i; n++) {
737
733
  r = arguments[n];
738
734
  for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
739
735
  }
740
736
  return t;
741
- }, v.apply(this, arguments);
737
+ }, y.apply(this, arguments);
742
738
  };
743
- function tn(e, t) {
739
+ function Jr(e, t) {
744
740
  var r = {};
745
741
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
746
742
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -748,7 +744,7 @@ function tn(e, t) {
748
744
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
749
745
  return r;
750
746
  }
751
- function Ve(e) {
747
+ function ke(e) {
752
748
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
753
749
  if (r) return r.call(e);
754
750
  if (e && typeof e.length == "number") return {
@@ -758,7 +754,7 @@ function Ve(e) {
758
754
  };
759
755
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
760
756
  }
761
- function Xe(e, t) {
757
+ function Ve(e, t) {
762
758
  var r = typeof Symbol == "function" && e[Symbol.iterator];
763
759
  if (!r) return e;
764
760
  var n = r.call(e), i, o = [], a;
@@ -775,7 +771,7 @@ function Xe(e, t) {
775
771
  }
776
772
  return o;
777
773
  }
778
- function Z(e, t, r) {
774
+ function z(e, t, r) {
779
775
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
780
776
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
781
777
  return e.concat(o || Array.prototype.slice.call(t));
@@ -783,13 +779,13 @@ function Z(e, t, r) {
783
779
  function M(e) {
784
780
  return typeof e == "function";
785
781
  }
786
- function Xt(e) {
782
+ function jt(e) {
787
783
  var t = function(n) {
788
784
  Error.call(n), n.stack = new Error().stack;
789
785
  }, r = e(t);
790
786
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
791
787
  }
792
- var Ce = Xt(function(e) {
788
+ var Me = jt(function(e) {
793
789
  return function(r) {
794
790
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
795
791
  ` + r.map(function(n, i) {
@@ -798,13 +794,13 @@ var Ce = Xt(function(e) {
798
794
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
799
795
  };
800
796
  });
801
- function We(e, t) {
797
+ function Xe(e, t) {
802
798
  if (e) {
803
799
  var r = e.indexOf(t);
804
800
  0 <= r && e.splice(r, 1);
805
801
  }
806
802
  }
807
- var Be = function() {
803
+ var He = function() {
808
804
  function e(t) {
809
805
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
810
806
  }
@@ -816,58 +812,58 @@ var Be = function() {
816
812
  if (a)
817
813
  if (this._parentage = null, Array.isArray(a))
818
814
  try {
819
- for (var s = Ve(a), u = s.next(); !u.done; u = s.next()) {
820
- var l = u.value;
821
- l.remove(this);
815
+ for (var s = ke(a), h = s.next(); !h.done; h = s.next()) {
816
+ var u = h.value;
817
+ u.remove(this);
822
818
  }
823
819
  } catch (m) {
824
820
  t = { error: m };
825
821
  } finally {
826
822
  try {
827
- u && !u.done && (r = s.return) && r.call(s);
823
+ h && !h.done && (r = s.return) && r.call(s);
828
824
  } finally {
829
825
  if (t) throw t.error;
830
826
  }
831
827
  }
832
828
  else
833
829
  a.remove(this);
834
- var h = this.initialTeardown;
835
- if (M(h))
830
+ var l = this.initialTeardown;
831
+ if (M(l))
836
832
  try {
837
- h();
833
+ l();
838
834
  } catch (m) {
839
- o = m instanceof Ce ? m.errors : [m];
835
+ o = m instanceof Me ? m.errors : [m];
840
836
  }
841
- var c = this._finalizers;
842
- if (c) {
837
+ var f = this._finalizers;
838
+ if (f) {
843
839
  this._finalizers = null;
844
840
  try {
845
- for (var f = Ve(c), p = f.next(); !p.done; p = f.next()) {
846
- var d = p.value;
841
+ for (var c = ke(f), d = c.next(); !d.done; d = c.next()) {
842
+ var p = d.value;
847
843
  try {
848
- ct(d);
844
+ ut(p);
849
845
  } catch (m) {
850
- o = o ?? [], m instanceof Ce ? o = Z(Z([], Xe(o)), Xe(m.errors)) : o.push(m);
846
+ o = o ?? [], m instanceof Me ? o = z(z([], Ve(o)), Ve(m.errors)) : o.push(m);
851
847
  }
852
848
  }
853
849
  } catch (m) {
854
850
  n = { error: m };
855
851
  } finally {
856
852
  try {
857
- p && !p.done && (i = f.return) && i.call(f);
853
+ d && !d.done && (i = c.return) && i.call(c);
858
854
  } finally {
859
855
  if (n) throw n.error;
860
856
  }
861
857
  }
862
858
  }
863
859
  if (o)
864
- throw new Ce(o);
860
+ throw new Me(o);
865
861
  }
866
862
  }, e.prototype.add = function(t) {
867
863
  var r;
868
864
  if (t && t !== this)
869
865
  if (this.closed)
870
- ct(t);
866
+ ut(t);
871
867
  else {
872
868
  if (t instanceof e) {
873
869
  if (t.closed || t._hasParent(this))
@@ -884,56 +880,52 @@ var Be = function() {
884
880
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
885
881
  }, e.prototype._removeParent = function(t) {
886
882
  var r = this._parentage;
887
- r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
883
+ r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
888
884
  }, e.prototype.remove = function(t) {
889
885
  var r = this._finalizers;
890
- r && We(r, t), t instanceof e && t._removeParent(this);
886
+ r && Xe(r, t), t instanceof e && t._removeParent(this);
891
887
  }, e.EMPTY = function() {
892
888
  var t = new e();
893
889
  return t.closed = !0, t;
894
890
  }(), e;
895
- }(), Wt = Be.EMPTY;
896
- function zt(e) {
897
- return e instanceof Be || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
891
+ }(), kt = He.EMPTY;
892
+ function Vt(e) {
893
+ return e instanceof He || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
898
894
  }
899
- function ct(e) {
895
+ function ut(e) {
900
896
  M(e) ? e() : e.unsubscribe();
901
897
  }
902
- var Zt = {
903
- onUnhandledError: null,
904
- onStoppedNotification: null,
905
- Promise: void 0,
906
- useDeprecatedSynchronousErrorHandling: !1,
907
- useDeprecatedNextContext: !1
908
- }, rn = {
898
+ var Yr = {
899
+ Promise: void 0
900
+ }, Kr = {
909
901
  setTimeout: function(e, t) {
910
902
  for (var r = [], n = 2; n < arguments.length; n++)
911
903
  r[n - 2] = arguments[n];
912
- return setTimeout.apply(void 0, Z([e, t], Xe(r)));
904
+ return setTimeout.apply(void 0, z([e, t], Ve(r)));
913
905
  },
914
906
  clearTimeout: function(e) {
915
907
  return clearTimeout(e);
916
908
  },
917
909
  delegate: void 0
918
910
  };
919
- function nn(e) {
920
- rn.setTimeout(function() {
911
+ function en(e) {
912
+ Kr.setTimeout(function() {
921
913
  throw e;
922
914
  });
923
915
  }
924
- function ft() {
916
+ function ht() {
925
917
  }
926
- function ve(e) {
918
+ function ye(e) {
927
919
  e();
928
920
  }
929
- var qt = function(e) {
930
- $(t, e);
921
+ var Xt = function(e) {
922
+ C(t, e);
931
923
  function t(r) {
932
924
  var n = e.call(this) || this;
933
- return n.isStopped = !1, r ? (n.destination = r, zt(r) && r.add(n)) : n.destination = un, n;
925
+ return n.isStopped = !1, r ? (n.destination = r, Vt(r) && r.add(n)) : n.destination = nn, n;
934
926
  }
935
927
  return t.create = function(r, n, i) {
936
- return new ze(r, n, i);
928
+ return new We(r, n, i);
937
929
  }, t.prototype.next = function(r) {
938
930
  this.isStopped || this._next(r);
939
931
  }, t.prototype.error = function(r) {
@@ -957,11 +949,7 @@ var qt = function(e) {
957
949
  this.unsubscribe();
958
950
  }
959
951
  }, t;
960
- }(Be), on = Function.prototype.bind;
961
- function Me(e, t) {
962
- return on.call(e, t);
963
- }
964
- var sn = function() {
952
+ }(He), tn = function() {
965
953
  function e(t) {
966
954
  this.partialObserver = t;
967
955
  }
@@ -971,7 +959,7 @@ var sn = function() {
971
959
  try {
972
960
  r.next(t);
973
961
  } catch (n) {
974
- me(n);
962
+ de(n);
975
963
  }
976
964
  }, e.prototype.error = function(t) {
977
965
  var r = this.partialObserver;
@@ -979,68 +967,56 @@ var sn = function() {
979
967
  try {
980
968
  r.error(t);
981
969
  } catch (n) {
982
- me(n);
970
+ de(n);
983
971
  }
984
972
  else
985
- me(t);
973
+ de(t);
986
974
  }, e.prototype.complete = function() {
987
975
  var t = this.partialObserver;
988
976
  if (t.complete)
989
977
  try {
990
978
  t.complete();
991
979
  } catch (r) {
992
- me(r);
980
+ de(r);
993
981
  }
994
982
  }, e;
995
- }(), ze = function(e) {
996
- $(t, e);
983
+ }(), We = function(e) {
984
+ C(t, e);
997
985
  function t(r, n, i) {
998
986
  var o = e.call(this) || this, a;
999
- if (M(r) || !r)
1000
- a = {
1001
- next: r ?? void 0,
1002
- error: n ?? void 0,
1003
- complete: i ?? void 0
1004
- };
1005
- else {
1006
- var s;
1007
- o && Zt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
1008
- return o.unsubscribe();
1009
- }, a = {
1010
- next: r.next && Me(r.next, s),
1011
- error: r.error && Me(r.error, s),
1012
- complete: r.complete && Me(r.complete, s)
1013
- }) : a = r;
1014
- }
1015
- return o.destination = new sn(a), o;
987
+ return M(r) || !r ? a = {
988
+ next: r ?? void 0,
989
+ error: n ?? void 0,
990
+ complete: i ?? void 0
991
+ } : a = r, o.destination = new tn(a), o;
1016
992
  }
1017
993
  return t;
1018
- }(qt);
1019
- function me(e) {
1020
- nn(e);
994
+ }(Xt);
995
+ function de(e) {
996
+ en(e);
1021
997
  }
1022
- function an(e) {
998
+ function rn(e) {
1023
999
  throw e;
1024
1000
  }
1025
- var un = {
1001
+ var nn = {
1026
1002
  closed: !0,
1027
- next: ft,
1028
- error: an,
1029
- complete: ft
1030
- }, ln = function() {
1003
+ next: ht,
1004
+ error: rn,
1005
+ complete: ht
1006
+ }, on = function() {
1031
1007
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1032
1008
  }();
1033
- function hn(e) {
1009
+ function sn(e) {
1034
1010
  return e;
1035
1011
  }
1036
- function cn(e) {
1037
- return e.length === 0 ? hn : e.length === 1 ? e[0] : function(r) {
1012
+ function an(e) {
1013
+ return e.length === 0 ? sn : e.length === 1 ? e[0] : function(r) {
1038
1014
  return e.reduce(function(n, i) {
1039
1015
  return i(n);
1040
1016
  }, r);
1041
1017
  };
1042
1018
  }
1043
- var pt = function() {
1019
+ var lt = function() {
1044
1020
  function e(t) {
1045
1021
  t && (this._subscribe = t);
1046
1022
  }
@@ -1048,10 +1024,10 @@ var pt = function() {
1048
1024
  var r = new e();
1049
1025
  return r.source = this, r.operator = t, r;
1050
1026
  }, e.prototype.subscribe = function(t, r, n) {
1051
- var i = this, o = pn(t) ? t : new ze(t, r, n);
1052
- return ve(function() {
1053
- var a = i, s = a.operator, u = a.source;
1054
- o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
1027
+ var i = this, o = hn(t) ? t : new We(t, r, n);
1028
+ return ye(function() {
1029
+ var a = i, s = a.operator, h = a.source;
1030
+ o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
1055
1031
  }), o;
1056
1032
  }, e.prototype._trySubscribe = function(t) {
1057
1033
  try {
@@ -1061,13 +1037,13 @@ var pt = function() {
1061
1037
  }
1062
1038
  }, e.prototype.forEach = function(t, r) {
1063
1039
  var n = this;
1064
- return r = dt(r), new r(function(i, o) {
1065
- var a = new ze({
1040
+ return r = ct(r), new r(function(i, o) {
1041
+ var a = new We({
1066
1042
  next: function(s) {
1067
1043
  try {
1068
1044
  t(s);
1069
- } catch (u) {
1070
- o(u), a.unsubscribe();
1045
+ } catch (h) {
1046
+ o(h), a.unsubscribe();
1071
1047
  }
1072
1048
  },
1073
1049
  error: o,
@@ -1078,15 +1054,15 @@ var pt = function() {
1078
1054
  }, e.prototype._subscribe = function(t) {
1079
1055
  var r;
1080
1056
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1081
- }, e.prototype[ln] = function() {
1057
+ }, e.prototype[on] = function() {
1082
1058
  return this;
1083
1059
  }, e.prototype.pipe = function() {
1084
1060
  for (var t = [], r = 0; r < arguments.length; r++)
1085
1061
  t[r] = arguments[r];
1086
- return cn(t)(this);
1062
+ return an(t)(this);
1087
1063
  }, e.prototype.toPromise = function(t) {
1088
1064
  var r = this;
1089
- return t = dt(t), new t(function(n, i) {
1065
+ return t = ct(t), new t(function(n, i) {
1090
1066
  var o;
1091
1067
  r.subscribe(function(a) {
1092
1068
  return o = a;
@@ -1100,45 +1076,45 @@ var pt = function() {
1100
1076
  return new e(t);
1101
1077
  }, e;
1102
1078
  }();
1103
- function dt(e) {
1079
+ function ct(e) {
1104
1080
  var t;
1105
- return (t = e ?? Zt.Promise) !== null && t !== void 0 ? t : Promise;
1081
+ return (t = e ?? Yr.Promise) !== null && t !== void 0 ? t : Promise;
1106
1082
  }
1107
- function fn(e) {
1083
+ function un(e) {
1108
1084
  return e && M(e.next) && M(e.error) && M(e.complete);
1109
1085
  }
1110
- function pn(e) {
1111
- return e && e instanceof qt || fn(e) && zt(e);
1086
+ function hn(e) {
1087
+ return e && e instanceof Xt || un(e) && Vt(e);
1112
1088
  }
1113
- var dn = Xt(function(e) {
1089
+ var ln = jt(function(e) {
1114
1090
  return function() {
1115
1091
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1116
1092
  };
1117
- }), Qt = function(e) {
1118
- $(t, e);
1093
+ }), Wt = function(e) {
1094
+ C(t, e);
1119
1095
  function t() {
1120
1096
  var r = e.call(this) || this;
1121
1097
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1122
1098
  }
1123
1099
  return t.prototype.lift = function(r) {
1124
- var n = new mt(this, this);
1100
+ var n = new ft(this, this);
1125
1101
  return n.operator = r, n;
1126
1102
  }, t.prototype._throwIfClosed = function() {
1127
1103
  if (this.closed)
1128
- throw new dn();
1104
+ throw new ln();
1129
1105
  }, t.prototype.next = function(r) {
1130
1106
  var n = this;
1131
- ve(function() {
1107
+ ye(function() {
1132
1108
  var i, o;
1133
1109
  if (n._throwIfClosed(), !n.isStopped) {
1134
1110
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1135
1111
  try {
1136
- for (var a = Ve(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1137
- var u = s.value;
1138
- u.next(r);
1112
+ for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1113
+ var h = s.value;
1114
+ h.next(r);
1139
1115
  }
1140
- } catch (l) {
1141
- i = { error: l };
1116
+ } catch (u) {
1117
+ i = { error: u };
1142
1118
  } finally {
1143
1119
  try {
1144
1120
  s && !s.done && (o = a.return) && o.call(a);
@@ -1150,7 +1126,7 @@ var dn = Xt(function(e) {
1150
1126
  });
1151
1127
  }, t.prototype.error = function(r) {
1152
1128
  var n = this;
1153
- ve(function() {
1129
+ ye(function() {
1154
1130
  if (n._throwIfClosed(), !n.isStopped) {
1155
1131
  n.hasError = n.isStopped = !0, n.thrownError = r;
1156
1132
  for (var i = n.observers; i.length; )
@@ -1159,7 +1135,7 @@ var dn = Xt(function(e) {
1159
1135
  });
1160
1136
  }, t.prototype.complete = function() {
1161
1137
  var r = this;
1162
- ve(function() {
1138
+ ye(function() {
1163
1139
  if (r._throwIfClosed(), !r.isStopped) {
1164
1140
  r.isStopped = !0;
1165
1141
  for (var n = r.observers; n.length; )
@@ -1181,20 +1157,20 @@ var dn = Xt(function(e) {
1181
1157
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1182
1158
  }, t.prototype._innerSubscribe = function(r) {
1183
1159
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1184
- return o || a ? Wt : (this.currentObservers = null, s.push(r), new Be(function() {
1185
- n.currentObservers = null, We(s, r);
1160
+ return o || a ? kt : (this.currentObservers = null, s.push(r), new He(function() {
1161
+ n.currentObservers = null, Xe(s, r);
1186
1162
  }));
1187
1163
  }, t.prototype._checkFinalizedStatuses = function(r) {
1188
1164
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1189
1165
  i ? r.error(o) : a && r.complete();
1190
1166
  }, t.prototype.asObservable = function() {
1191
- var r = new pt();
1167
+ var r = new lt();
1192
1168
  return r.source = this, r;
1193
1169
  }, t.create = function(r, n) {
1194
- return new mt(r, n);
1170
+ return new ft(r, n);
1195
1171
  }, t;
1196
- }(pt), mt = function(e) {
1197
- $(t, e);
1172
+ }(lt), ft = function(e) {
1173
+ C(t, e);
1198
1174
  function t(r, n) {
1199
1175
  var i = e.call(this) || this;
1200
1176
  return i.destination = r, i.source = n, i;
@@ -1210,231 +1186,229 @@ var dn = Xt(function(e) {
1210
1186
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1211
1187
  }, t.prototype._subscribe = function(r) {
1212
1188
  var n, i;
1213
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Wt;
1189
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : kt;
1214
1190
  }, t;
1215
- }(Qt), Jt = {
1191
+ }(Wt), zt = {
1216
1192
  now: function() {
1217
- return (Jt.delegate || Date).now();
1193
+ return (zt.delegate || Date).now();
1218
1194
  },
1219
1195
  delegate: void 0
1220
- }, mn = function(e) {
1221
- $(t, e);
1196
+ }, cn = function(e) {
1197
+ C(t, e);
1222
1198
  function t(r, n, i) {
1223
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
1199
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
1224
1200
  var o = e.call(this) || this;
1225
1201
  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;
1226
1202
  }
1227
1203
  return t.prototype.next = function(r) {
1228
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, u = n._windowTime;
1229
- i || (o.push(r), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1204
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, h = n._windowTime;
1205
+ i || (o.push(r), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1230
1206
  }, t.prototype._subscribe = function(r) {
1231
1207
  this._throwIfClosed(), this._trimBuffer();
1232
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), u = 0; u < s.length && !r.closed; u += o ? 1 : 2)
1233
- r.next(s[u]);
1208
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !r.closed; h += o ? 1 : 2)
1209
+ r.next(s[h]);
1234
1210
  return this._checkFinalizedStatuses(r), n;
1235
1211
  }, t.prototype._trimBuffer = function() {
1236
1212
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1237
1213
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1238
- for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
1239
- l = h;
1240
- l && o.splice(0, l + 1);
1214
+ for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
1215
+ u = l;
1216
+ u && o.splice(0, u + 1);
1241
1217
  }
1242
1218
  }, t;
1243
- }(Qt);
1244
- const bt = [], gt = {}, bn = (e, t = 0) => {
1245
- if (bt.indexOf(e) == -1) {
1246
- const r = new mn(t);
1247
- gt[e] = r, bt.push(e);
1219
+ }(Wt);
1220
+ const pt = [], dt = {}, fn = (e, t = 0) => {
1221
+ if (pt.indexOf(e) == -1) {
1222
+ const r = new cn(t);
1223
+ dt[e] = r, pt.push(e);
1248
1224
  }
1249
- return gt[e];
1250
- }, V = [];
1251
- function gn(e, t) {
1225
+ return dt[e];
1226
+ }, k = [];
1227
+ function pn(e, t) {
1252
1228
  return {
1253
- subscribe: Ae(e, t).subscribe
1229
+ subscribe: Be(e, t).subscribe
1254
1230
  };
1255
1231
  }
1256
- function Ae(e, t = B) {
1232
+ function Be(e, t = H) {
1257
1233
  let r;
1258
1234
  const n = /* @__PURE__ */ new Set();
1259
1235
  function i(s) {
1260
- if (Ct(e, s) && (e = s, r)) {
1261
- const u = !V.length;
1262
- for (const l of n)
1263
- l[1](), V.push(l, e);
1264
- if (u) {
1265
- for (let l = 0; l < V.length; l += 2)
1266
- V[l][0](V[l + 1]);
1267
- V.length = 0;
1236
+ if (It(e, s) && (e = s, r)) {
1237
+ const h = !k.length;
1238
+ for (const u of n)
1239
+ u[1](), k.push(u, e);
1240
+ if (h) {
1241
+ for (let u = 0; u < k.length; u += 2)
1242
+ k[u][0](k[u + 1]);
1243
+ k.length = 0;
1268
1244
  }
1269
1245
  }
1270
1246
  }
1271
1247
  function o(s) {
1272
1248
  i(s(e));
1273
1249
  }
1274
- function a(s, u = B) {
1275
- const l = [s, u];
1276
- return n.add(l), n.size === 1 && (r = t(i, o) || B), s(e), () => {
1277
- n.delete(l), n.size === 0 && r && (r(), r = null);
1250
+ function a(s, h = H) {
1251
+ const u = [s, h];
1252
+ return n.add(u), n.size === 1 && (r = t(i, o) || H), s(e), () => {
1253
+ n.delete(u), n.size === 0 && r && (r(), r = null);
1278
1254
  };
1279
1255
  }
1280
1256
  return { set: i, update: o, subscribe: a };
1281
1257
  }
1282
- function K(e, t, r) {
1258
+ function Y(e, t, r) {
1283
1259
  const n = !Array.isArray(e), i = n ? [e] : e;
1284
1260
  if (!i.every(Boolean))
1285
1261
  throw new Error("derived() expects stores as input, got a falsy value");
1286
1262
  const o = t.length < 2;
1287
- return gn(r, (a, s) => {
1288
- let u = !1;
1289
- const l = [];
1290
- let h = 0, c = B;
1291
- const f = () => {
1292
- if (h)
1263
+ return pn(r, (a, s) => {
1264
+ let h = !1;
1265
+ const u = [];
1266
+ let l = 0, f = H;
1267
+ const c = () => {
1268
+ if (l)
1293
1269
  return;
1294
- c();
1295
- const d = t(n ? l[0] : l, a, s);
1296
- o ? a(d) : c = le(d) ? d : B;
1297
- }, p = i.map(
1298
- (d, m) => Mt(
1299
- d,
1270
+ f();
1271
+ const p = t(n ? u[0] : u, a, s);
1272
+ o ? a(p) : f = ue(p) ? p : H;
1273
+ }, d = i.map(
1274
+ (p, m) => Lt(
1275
+ p,
1300
1276
  (x) => {
1301
- l[m] = x, h &= ~(1 << m), u && f();
1277
+ u[m] = x, l &= ~(1 << m), h && c();
1302
1278
  },
1303
1279
  () => {
1304
- h |= 1 << m;
1280
+ l |= 1 << m;
1305
1281
  }
1306
1282
  )
1307
1283
  );
1308
- return u = !0, f(), function() {
1309
- G(p), c(), u = !1;
1284
+ return h = !0, c(), function() {
1285
+ G(d), f(), h = !1;
1310
1286
  };
1311
1287
  });
1312
1288
  }
1313
- var Ro = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1314
- function yn(e) {
1289
+ var Mo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1290
+ function dn(e) {
1315
1291
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1316
1292
  }
1317
- var vn = function(t) {
1318
- return _n(t) && !xn(t);
1293
+ var mn = function(t) {
1294
+ return bn(t) && !gn(t);
1319
1295
  };
1320
- function _n(e) {
1296
+ function bn(e) {
1321
1297
  return !!e && typeof e == "object";
1322
1298
  }
1323
- function xn(e) {
1299
+ function gn(e) {
1324
1300
  var t = Object.prototype.toString.call(e);
1325
- return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
1301
+ return t === "[object RegExp]" || t === "[object Date]" || _n(e);
1326
1302
  }
1327
- var En = typeof Symbol == "function" && Symbol.for, Sn = En ? Symbol.for("react.element") : 60103;
1328
- function Tn(e) {
1329
- return e.$$typeof === Sn;
1303
+ var yn = typeof Symbol == "function" && Symbol.for, vn = yn ? Symbol.for("react.element") : 60103;
1304
+ function _n(e) {
1305
+ return e.$$typeof === vn;
1330
1306
  }
1331
- function wn(e) {
1307
+ function xn(e) {
1332
1308
  return Array.isArray(e) ? [] : {};
1333
1309
  }
1334
- function ae(e, t) {
1335
- return t.clone !== !1 && t.isMergeableObject(e) ? q(wn(e), e, t) : e;
1310
+ function se(e, t) {
1311
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(xn(e), e, t) : e;
1336
1312
  }
1337
- function Hn(e, t, r) {
1313
+ function En(e, t, r) {
1338
1314
  return e.concat(t).map(function(n) {
1339
- return ae(n, r);
1315
+ return se(n, r);
1340
1316
  });
1341
1317
  }
1342
- function Bn(e, t) {
1318
+ function Sn(e, t) {
1343
1319
  if (!t.customMerge)
1344
- return q;
1320
+ return Z;
1345
1321
  var r = t.customMerge(e);
1346
- return typeof r == "function" ? r : q;
1322
+ return typeof r == "function" ? r : Z;
1347
1323
  }
1348
- function An(e) {
1324
+ function Tn(e) {
1349
1325
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1350
1326
  return Object.propertyIsEnumerable.call(e, t);
1351
1327
  }) : [];
1352
1328
  }
1353
- function yt(e) {
1354
- return Object.keys(e).concat(An(e));
1329
+ function mt(e) {
1330
+ return Object.keys(e).concat(Tn(e));
1355
1331
  }
1356
- function Yt(e, t) {
1332
+ function Zt(e, t) {
1357
1333
  try {
1358
1334
  return t in e;
1359
1335
  } catch {
1360
1336
  return !1;
1361
1337
  }
1362
1338
  }
1363
- function Pn(e, t) {
1364
- return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1339
+ function wn(e, t) {
1340
+ return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1365
1341
  }
1366
- function On(e, t, r) {
1342
+ function Hn(e, t, r) {
1367
1343
  var n = {};
1368
- return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1369
- n[i] = ae(e[i], r);
1370
- }), yt(t).forEach(function(i) {
1371
- Pn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Bn(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
1344
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1345
+ n[i] = se(e[i], r);
1346
+ }), mt(t).forEach(function(i) {
1347
+ wn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Sn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1372
1348
  }), n;
1373
1349
  }
1374
- function q(e, t, r) {
1375
- r = r || {}, r.arrayMerge = r.arrayMerge || Hn, r.isMergeableObject = r.isMergeableObject || vn, r.cloneUnlessOtherwiseSpecified = ae;
1350
+ function Z(e, t, r) {
1351
+ r = r || {}, r.arrayMerge = r.arrayMerge || En, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = se;
1376
1352
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1377
- return o ? n ? r.arrayMerge(e, t, r) : On(e, t, r) : ae(t, r);
1353
+ return o ? n ? r.arrayMerge(e, t, r) : Hn(e, t, r) : se(t, r);
1378
1354
  }
1379
- q.all = function(t, r) {
1355
+ Z.all = function(t, r) {
1380
1356
  if (!Array.isArray(t))
1381
1357
  throw new Error("first argument should be an array");
1382
1358
  return t.reduce(function(n, i) {
1383
- return q(n, i, r);
1359
+ return Z(n, i, r);
1384
1360
  }, {});
1385
1361
  };
1386
- var In = q, Ln = In;
1387
- const Nn = /* @__PURE__ */ yn(Ln);
1388
- function $e(e, t) {
1389
- var r = t && t.cache ? t.cache : Dn, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : Mn;
1362
+ var Bn = Z, An = Bn;
1363
+ const Pn = /* @__PURE__ */ dn(An);
1364
+ function Ce(e, t) {
1365
+ var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : Ln;
1390
1366
  return i(e, {
1391
1367
  cache: r,
1392
1368
  serializer: n
1393
1369
  });
1394
1370
  }
1395
- function Cn(e) {
1371
+ function On(e) {
1396
1372
  return e == null || typeof e == "number" || typeof e == "boolean";
1397
1373
  }
1398
- function Kt(e, t, r, n) {
1399
- var i = Cn(n) ? n : r(n), o = t.get(i);
1374
+ function In(e, t, r, n) {
1375
+ var i = On(n) ? n : r(n), o = t.get(i);
1400
1376
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1401
1377
  }
1402
- function er(e, t, r) {
1378
+ function qt(e, t, r) {
1403
1379
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1404
1380
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1405
1381
  }
1406
- function it(e, t, r, n, i) {
1382
+ function Qt(e, t, r, n, i) {
1407
1383
  return r.bind(t, e, n, i);
1408
1384
  }
1409
- function Mn(e, t) {
1410
- var r = e.length === 1 ? Kt : er;
1411
- return it(e, this, r, t.cache.create(), t.serializer);
1412
- }
1413
- function $n(e, t) {
1414
- return it(e, this, er, t.cache.create(), t.serializer);
1385
+ function Ln(e, t) {
1386
+ var r = e.length === 1 ? In : qt;
1387
+ return Qt(e, this, r, t.cache.create(), t.serializer);
1415
1388
  }
1416
- function Rn(e, t) {
1417
- return it(e, this, Kt, t.cache.create(), t.serializer);
1389
+ function Nn(e, t) {
1390
+ return Qt(e, this, qt, t.cache.create(), t.serializer);
1418
1391
  }
1419
- var Un = function() {
1392
+ var Mn = function() {
1420
1393
  return JSON.stringify(arguments);
1421
- };
1422
- function ot() {
1423
- this.cache = /* @__PURE__ */ Object.create(null);
1424
- }
1425
- ot.prototype.get = function(e) {
1426
- return this.cache[e];
1427
- };
1428
- ot.prototype.set = function(e, t) {
1429
- this.cache[e] = t;
1430
- };
1431
- var Dn = {
1394
+ }, Cn = (
1395
+ /** @class */
1396
+ function() {
1397
+ function e() {
1398
+ this.cache = /* @__PURE__ */ Object.create(null);
1399
+ }
1400
+ return e.prototype.get = function(t) {
1401
+ return this.cache[t];
1402
+ }, e.prototype.set = function(t, r) {
1403
+ this.cache[t] = r;
1404
+ }, e;
1405
+ }()
1406
+ ), $n = {
1432
1407
  create: function() {
1433
- return new ot();
1408
+ return new Cn();
1434
1409
  }
1435
- }, Re = {
1436
- variadic: $n,
1437
- monadic: Rn
1410
+ }, $e = {
1411
+ variadic: Nn
1438
1412
  }, b;
1439
1413
  (function(e) {
1440
1414
  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";
@@ -1443,47 +1417,47 @@ var _;
1443
1417
  (function(e) {
1444
1418
  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";
1445
1419
  })(_ || (_ = {}));
1446
- var Q;
1420
+ var q;
1447
1421
  (function(e) {
1448
1422
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1449
- })(Q || (Q = {}));
1450
- function vt(e) {
1423
+ })(q || (q = {}));
1424
+ function bt(e) {
1451
1425
  return e.type === _.literal;
1452
1426
  }
1453
- function Gn(e) {
1427
+ function Rn(e) {
1454
1428
  return e.type === _.argument;
1455
1429
  }
1456
- function tr(e) {
1430
+ function Jt(e) {
1457
1431
  return e.type === _.number;
1458
1432
  }
1459
- function rr(e) {
1433
+ function Yt(e) {
1460
1434
  return e.type === _.date;
1461
1435
  }
1462
- function nr(e) {
1436
+ function Kt(e) {
1463
1437
  return e.type === _.time;
1464
1438
  }
1465
- function ir(e) {
1439
+ function er(e) {
1466
1440
  return e.type === _.select;
1467
1441
  }
1468
- function or(e) {
1442
+ function tr(e) {
1469
1443
  return e.type === _.plural;
1470
1444
  }
1471
- function Fn(e) {
1445
+ function Un(e) {
1472
1446
  return e.type === _.pound;
1473
1447
  }
1474
- function sr(e) {
1448
+ function rr(e) {
1475
1449
  return e.type === _.tag;
1476
1450
  }
1477
- function ar(e) {
1478
- return !!(e && typeof e == "object" && e.type === Q.number);
1451
+ function nr(e) {
1452
+ return !!(e && typeof e == "object" && e.type === q.number);
1479
1453
  }
1480
- function Ze(e) {
1481
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
1454
+ function ze(e) {
1455
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
1482
1456
  }
1483
- var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
1484
- function kn(e) {
1457
+ var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
1458
+ function Dn(e) {
1485
1459
  var t = {};
1486
- return e.replace(jn, function(r) {
1460
+ return e.replace(Gn, function(r) {
1487
1461
  var n = r.length;
1488
1462
  switch (r[0]) {
1489
1463
  case "G":
@@ -1572,36 +1546,36 @@ function kn(e) {
1572
1546
  return "";
1573
1547
  }), t;
1574
1548
  }
1575
- var Vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1576
- function Xn(e) {
1549
+ var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1550
+ function jn(e) {
1577
1551
  if (e.length === 0)
1578
1552
  throw new Error("Number skeleton cannot be empty");
1579
- for (var t = e.split(Vn).filter(function(f) {
1580
- return f.length > 0;
1553
+ for (var t = e.split(Fn).filter(function(c) {
1554
+ return c.length > 0;
1581
1555
  }), r = [], n = 0, i = t; n < i.length; n++) {
1582
1556
  var o = i[n], a = o.split("/");
1583
1557
  if (a.length === 0)
1584
1558
  throw new Error("Invalid number skeleton");
1585
- for (var s = a[0], u = a.slice(1), l = 0, h = u; l < h.length; l++) {
1586
- var c = h[l];
1587
- if (c.length === 0)
1559
+ for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1560
+ var f = l[u];
1561
+ if (f.length === 0)
1588
1562
  throw new Error("Invalid number skeleton");
1589
1563
  }
1590
- r.push({ stem: s, options: u });
1564
+ r.push({ stem: s, options: h });
1591
1565
  }
1592
1566
  return r;
1593
1567
  }
1594
- function Wn(e) {
1568
+ function kn(e) {
1595
1569
  return e.replace(/^(.*?)-/, "");
1596
1570
  }
1597
- var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, zn = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
1598
- function xt(e) {
1571
+ var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1572
+ function yt(e) {
1599
1573
  var t = {};
1600
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, n, i) {
1574
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
1601
1575
  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)), "";
1602
1576
  }), t;
1603
1577
  }
1604
- function cr(e) {
1578
+ function ar(e) {
1605
1579
  switch (e) {
1606
1580
  case "sign-auto":
1607
1581
  return {
@@ -1641,7 +1615,7 @@ function cr(e) {
1641
1615
  };
1642
1616
  }
1643
1617
  }
1644
- function Zn(e) {
1618
+ function Xn(e) {
1645
1619
  var t;
1646
1620
  if (e[0] === "E" && e[1] === "E" ? (t = {
1647
1621
  notation: "engineering"
@@ -1649,17 +1623,17 @@ function Zn(e) {
1649
1623
  notation: "scientific"
1650
1624
  }, e = e.slice(1)), t) {
1651
1625
  var r = e.slice(0, 2);
1652
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
1626
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1653
1627
  throw new Error("Malformed concise eng/scientific notation");
1654
1628
  t.minimumIntegerDigits = e.length;
1655
1629
  }
1656
1630
  return t;
1657
1631
  }
1658
- function Et(e) {
1659
- var t = {}, r = cr(e);
1632
+ function vt(e) {
1633
+ var t = {}, r = ar(e);
1660
1634
  return r || t;
1661
1635
  }
1662
- function qn(e) {
1636
+ function Wn(e) {
1663
1637
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1664
1638
  var i = n[r];
1665
1639
  switch (i.stem) {
@@ -1683,7 +1657,7 @@ function qn(e) {
1683
1657
  continue;
1684
1658
  case "measure-unit":
1685
1659
  case "unit":
1686
- t.style = "unit", t.unit = Wn(i.options[0]);
1660
+ t.style = "unit", t.unit = kn(i.options[0]);
1687
1661
  continue;
1688
1662
  case "compact-short":
1689
1663
  case "K":
@@ -1694,13 +1668,13 @@ function qn(e) {
1694
1668
  t.notation = "compact", t.compactDisplay = "long";
1695
1669
  continue;
1696
1670
  case "scientific":
1697
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1698
- return v(v({}, u), Et(l));
1671
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1672
+ return y(y({}, h), vt(u));
1699
1673
  }, {}));
1700
1674
  continue;
1701
1675
  case "engineering":
1702
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1703
- return v(v({}, u), Et(l));
1676
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1677
+ return y(y({}, h), vt(u));
1704
1678
  }, {}));
1705
1679
  continue;
1706
1680
  case "notation-simple":
@@ -1745,45 +1719,45 @@ function qn(e) {
1745
1719
  case "integer-width":
1746
1720
  if (i.options.length > 1)
1747
1721
  throw new RangeError("integer-width stems only accept a single optional option");
1748
- i.options[0].replace(zn, function(u, l, h, c, f, p) {
1749
- if (l)
1750
- t.minimumIntegerDigits = h.length;
1722
+ i.options[0].replace(Vn, function(h, u, l, f, c, d) {
1723
+ if (u)
1724
+ t.minimumIntegerDigits = l.length;
1751
1725
  else {
1752
- if (c && f)
1726
+ if (f && c)
1753
1727
  throw new Error("We currently do not support maximum integer digits");
1754
- if (p)
1728
+ if (d)
1755
1729
  throw new Error("We currently do not support exact integer digits");
1756
1730
  }
1757
1731
  return "";
1758
1732
  });
1759
1733
  continue;
1760
1734
  }
1761
- if (hr.test(i.stem)) {
1735
+ if (sr.test(i.stem)) {
1762
1736
  t.minimumIntegerDigits = i.stem.length;
1763
1737
  continue;
1764
1738
  }
1765
- if (_t.test(i.stem)) {
1739
+ if (gt.test(i.stem)) {
1766
1740
  if (i.options.length > 1)
1767
1741
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1768
- i.stem.replace(_t, function(u, l, h, c, f, p) {
1769
- return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1742
+ i.stem.replace(gt, function(h, u, l, f, c, d) {
1743
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1770
1744
  });
1771
1745
  var o = i.options[0];
1772
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), xt(o)));
1746
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), yt(o)));
1773
1747
  continue;
1774
1748
  }
1775
- if (lr.test(i.stem)) {
1776
- t = v(v({}, t), xt(i.stem));
1749
+ if (or.test(i.stem)) {
1750
+ t = y(y({}, t), yt(i.stem));
1777
1751
  continue;
1778
1752
  }
1779
- var a = cr(i.stem);
1780
- a && (t = v(v({}, t), a));
1781
- var s = Zn(i.stem);
1782
- s && (t = v(v({}, t), s));
1753
+ var a = ar(i.stem);
1754
+ a && (t = y(y({}, t), a));
1755
+ var s = Xn(i.stem);
1756
+ s && (t = y(y({}, t), s));
1783
1757
  }
1784
1758
  return t;
1785
1759
  }
1786
- var be = {
1760
+ var me = {
1787
1761
  "001": [
1788
1762
  "H",
1789
1763
  "h"
@@ -3198,22 +3172,22 @@ var be = {
3198
3172
  "h"
3199
3173
  ]
3200
3174
  };
3201
- function Qn(e, t) {
3175
+ function zn(e, t) {
3202
3176
  for (var r = "", n = 0; n < e.length; n++) {
3203
3177
  var i = e.charAt(n);
3204
3178
  if (i === "j") {
3205
3179
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3206
3180
  o++, n++;
3207
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Jn(t);
3208
- for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3209
- r += u;
3181
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Zn(t);
3182
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3183
+ r += h;
3210
3184
  for (; a-- > 0; )
3211
- r = l + r;
3185
+ r = u + r;
3212
3186
  } else i === "J" ? r += "H" : r += i;
3213
3187
  }
3214
3188
  return r;
3215
3189
  }
3216
- function Jn(e) {
3190
+ function Zn(e) {
3217
3191
  var t = e.hourCycle;
3218
3192
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3219
3193
  e.hourCycles && // @ts-ignore
@@ -3232,23 +3206,23 @@ function Jn(e) {
3232
3206
  }
3233
3207
  var r = e.language, n;
3234
3208
  r !== "root" && (n = e.maximize().region);
3235
- var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
3209
+ var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
3236
3210
  return i[0];
3237
3211
  }
3238
- var Ue, Yn = new RegExp("^".concat(ur.source, "*")), Kn = new RegExp("".concat(ur.source, "*$"));
3212
+ var Re, qn = new RegExp("^".concat(ir.source, "*")), Qn = new RegExp("".concat(ir.source, "*$"));
3239
3213
  function g(e, t) {
3240
3214
  return { start: e, end: t };
3241
3215
  }
3242
- var ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), ti = !!String.fromCodePoint, ri = !!Object.fromEntries, ni = !!String.prototype.codePointAt, ii = !!String.prototype.trimStart, oi = !!String.prototype.trimEnd, si = !!Number.isSafeInteger, ai = si ? Number.isSafeInteger : function(e) {
3216
+ var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, Kn = !!Object.fromEntries, ei = !!String.prototype.codePointAt, ti = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ii = ni ? Number.isSafeInteger : function(e) {
3243
3217
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3244
- }, qe = !0;
3218
+ }, Ze = !0;
3245
3219
  try {
3246
- var ui = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3247
- qe = ((Ue = ui.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
3220
+ var oi = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3221
+ Ze = ((Re = oi.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3248
3222
  } catch {
3249
- qe = !1;
3223
+ Ze = !1;
3250
3224
  }
3251
- var St = ei ? (
3225
+ var _t = Jn ? (
3252
3226
  // Native
3253
3227
  function(t, r, n) {
3254
3228
  return t.startsWith(r, n);
@@ -3258,7 +3232,7 @@ var St = ei ? (
3258
3232
  function(t, r, n) {
3259
3233
  return t.slice(n, n + r.length) === r;
3260
3234
  }
3261
- ), Qe = ti ? String.fromCodePoint : (
3235
+ ), qe = Yn ? String.fromCodePoint : (
3262
3236
  // IE11
3263
3237
  function() {
3264
3238
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3270,9 +3244,9 @@ var St = ei ? (
3270
3244
  }
3271
3245
  return n;
3272
3246
  }
3273
- ), Tt = (
3247
+ ), xt = (
3274
3248
  // native
3275
- ri ? Object.fromEntries : (
3249
+ Kn ? Object.fromEntries : (
3276
3250
  // Ponyfill
3277
3251
  function(t) {
3278
3252
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3282,7 +3256,7 @@ var St = ei ? (
3282
3256
  return r;
3283
3257
  }
3284
3258
  )
3285
- ), fr = ni ? (
3259
+ ), ur = ei ? (
3286
3260
  // Native
3287
3261
  function(t, r) {
3288
3262
  return t.codePointAt(r);
@@ -3296,7 +3270,7 @@ var St = ei ? (
3296
3270
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3297
3271
  }
3298
3272
  }
3299
- ), li = ii ? (
3273
+ ), si = ti ? (
3300
3274
  // Native
3301
3275
  function(t) {
3302
3276
  return t.trimStart();
@@ -3304,9 +3278,9 @@ var St = ei ? (
3304
3278
  ) : (
3305
3279
  // Ponyfill
3306
3280
  function(t) {
3307
- return t.replace(Yn, "");
3281
+ return t.replace(qn, "");
3308
3282
  }
3309
- ), hi = oi ? (
3283
+ ), ai = ri ? (
3310
3284
  // Native
3311
3285
  function(t) {
3312
3286
  return t.trimEnd();
@@ -3314,32 +3288,32 @@ var St = ei ? (
3314
3288
  ) : (
3315
3289
  // Ponyfill
3316
3290
  function(t) {
3317
- return t.replace(Kn, "");
3291
+ return t.replace(Qn, "");
3318
3292
  }
3319
3293
  );
3320
- function pr(e, t) {
3294
+ function hr(e, t) {
3321
3295
  return new RegExp(e, t);
3322
3296
  }
3323
- var Je;
3324
- if (qe) {
3325
- var wt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3326
- Je = function(t, r) {
3297
+ var Qe;
3298
+ if (Ze) {
3299
+ var Et = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3300
+ Qe = function(t, r) {
3327
3301
  var n;
3328
- wt.lastIndex = r;
3329
- var i = wt.exec(t);
3302
+ Et.lastIndex = r;
3303
+ var i = Et.exec(t);
3330
3304
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3331
3305
  };
3332
3306
  } else
3333
- Je = function(t, r) {
3307
+ Qe = function(t, r) {
3334
3308
  for (var n = []; ; ) {
3335
- var i = fr(t, r);
3336
- if (i === void 0 || dr(i) || di(i))
3309
+ var i = ur(t, r);
3310
+ if (i === void 0 || lr(i) || ci(i))
3337
3311
  break;
3338
3312
  n.push(i), r += i >= 65536 ? 2 : 1;
3339
3313
  }
3340
- return Qe.apply(void 0, n);
3314
+ return qe.apply(void 0, n);
3341
3315
  };
3342
- var ci = (
3316
+ var ui = (
3343
3317
  /** @class */
3344
3318
  function() {
3345
3319
  function e(t, r) {
@@ -3370,7 +3344,7 @@ var ci = (
3370
3344
  if (n)
3371
3345
  break;
3372
3346
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3373
- } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
3347
+ } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3374
3348
  var a = this.parseTag(t, r);
3375
3349
  if (a.err)
3376
3350
  return a;
@@ -3403,10 +3377,10 @@ var ci = (
3403
3377
  return o;
3404
3378
  var a = o.val, s = this.clonePosition();
3405
3379
  if (this.bumpIf("</")) {
3406
- if (this.isEOF() || !Ye(this.char()))
3380
+ if (this.isEOF() || !Je(this.char()))
3407
3381
  return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
3408
- var u = this.clonePosition(), l = this.parseTagName();
3409
- return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, g(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3382
+ var h = this.clonePosition(), u = this.parseTagName();
3383
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3410
3384
  val: {
3411
3385
  type: _.tag,
3412
3386
  value: i,
@@ -3421,7 +3395,7 @@ var ci = (
3421
3395
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3422
3396
  }, e.prototype.parseTagName = function() {
3423
3397
  var t = this.offset();
3424
- for (this.bump(); !this.isEOF() && pi(this.char()); )
3398
+ for (this.bump(); !this.isEOF() && li(this.char()); )
3425
3399
  this.bump();
3426
3400
  return this.message.slice(t, this.offset());
3427
3401
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3443,14 +3417,14 @@ var ci = (
3443
3417
  }
3444
3418
  break;
3445
3419
  }
3446
- var u = g(n, this.clonePosition());
3420
+ var h = g(n, this.clonePosition());
3447
3421
  return {
3448
- val: { type: _.literal, value: i, location: u },
3422
+ val: { type: _.literal, value: i, location: h },
3449
3423
  err: null
3450
3424
  };
3451
3425
  }, e.prototype.tryParseLeftAngleBracket = function() {
3452
3426
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3453
- !fi(this.peek() || 0)) ? (this.bump(), "<") : null;
3427
+ !hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3454
3428
  }, e.prototype.tryParseQuote = function(t) {
3455
3429
  if (this.isEOF() || this.char() !== 39)
3456
3430
  return null;
@@ -3484,12 +3458,12 @@ var ci = (
3484
3458
  r.push(n);
3485
3459
  this.bump();
3486
3460
  }
3487
- return Qe.apply(void 0, r);
3461
+ return qe.apply(void 0, r);
3488
3462
  }, e.prototype.tryParseUnquoted = function(t, r) {
3489
3463
  if (this.isEOF())
3490
3464
  return null;
3491
3465
  var n = this.char();
3492
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3466
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3493
3467
  }, e.prototype.parseArgument = function(t, r) {
3494
3468
  var n = this.clonePosition();
3495
3469
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3518,56 +3492,56 @@ var ci = (
3518
3492
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3519
3493
  }
3520
3494
  }, e.prototype.parseIdentifierIfPossible = function() {
3521
- var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3495
+ var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3522
3496
  this.bumpTo(i);
3523
3497
  var o = this.clonePosition(), a = g(t, o);
3524
3498
  return { value: n, location: a };
3525
3499
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3526
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3500
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3527
3501
  switch (s) {
3528
3502
  case "":
3529
- return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, u));
3503
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, h));
3530
3504
  case "number":
3531
3505
  case "date":
3532
3506
  case "time": {
3533
3507
  this.bumpSpace();
3534
- var l = null;
3508
+ var u = null;
3535
3509
  if (this.bumpIf(",")) {
3536
3510
  this.bumpSpace();
3537
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3538
- if (c.err)
3539
- return c;
3540
- var f = hi(c.val);
3541
- if (f.length === 0)
3511
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3512
+ if (f.err)
3513
+ return f;
3514
+ var c = ai(f.val);
3515
+ if (c.length === 0)
3542
3516
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3543
- var p = g(h, this.clonePosition());
3544
- l = { style: f, styleLocation: p };
3517
+ var d = g(l, this.clonePosition());
3518
+ u = { style: c, styleLocation: d };
3545
3519
  }
3546
- var d = this.tryParseArgumentClose(i);
3547
- if (d.err)
3548
- return d;
3520
+ var p = this.tryParseArgumentClose(i);
3521
+ if (p.err)
3522
+ return p;
3549
3523
  var m = g(i, this.clonePosition());
3550
- if (l && St(l?.style, "::", 0)) {
3551
- var x = li(l.style.slice(2));
3524
+ if (u && _t(u?.style, "::", 0)) {
3525
+ var x = si(u.style.slice(2));
3552
3526
  if (s === "number") {
3553
- var c = this.parseNumberSkeletonFromString(x, l.styleLocation);
3554
- return c.err ? c : {
3555
- val: { type: _.number, value: n, location: m, style: c.val },
3527
+ var f = this.parseNumberSkeletonFromString(x, u.styleLocation);
3528
+ return f.err ? f : {
3529
+ val: { type: _.number, value: n, location: m, style: f.val },
3556
3530
  err: null
3557
3531
  };
3558
3532
  } else {
3559
3533
  if (x.length === 0)
3560
3534
  return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3561
3535
  var T = x;
3562
- this.locale && (T = Qn(x, this.locale));
3563
- var f = {
3564
- type: Q.dateTime,
3536
+ this.locale && (T = zn(x, this.locale));
3537
+ var c = {
3538
+ type: q.dateTime,
3565
3539
  pattern: T,
3566
- location: l.styleLocation,
3567
- parsedOptions: this.shouldParseSkeletons ? kn(T) : {}
3568
- }, w = s === "date" ? _.date : _.time;
3540
+ location: u.styleLocation,
3541
+ parsedOptions: this.shouldParseSkeletons ? Dn(T) : {}
3542
+ }, P = s === "date" ? _.date : _.time;
3569
3543
  return {
3570
- val: { type: w, value: n, location: m, style: f },
3544
+ val: { type: P, value: n, location: m, style: c },
3571
3545
  err: null
3572
3546
  };
3573
3547
  }
@@ -3577,7 +3551,7 @@ var ci = (
3577
3551
  type: s === "number" ? _.number : s === "date" ? _.date : _.time,
3578
3552
  value: n,
3579
3553
  location: m,
3580
- style: (o = l?.style) !== null && o !== void 0 ? o : null
3554
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3581
3555
  },
3582
3556
  err: null
3583
3557
  };
@@ -3587,47 +3561,47 @@ var ci = (
3587
3561
  case "select": {
3588
3562
  var E = this.clonePosition();
3589
3563
  if (this.bumpSpace(), !this.bumpIf(","))
3590
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, v({}, E)));
3564
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, y({}, E)));
3591
3565
  this.bumpSpace();
3592
- var O = this.parseIdentifierIfPossible(), H = 0;
3566
+ var O = this.parseIdentifierIfPossible(), w = 0;
3593
3567
  if (s !== "select" && O.value === "offset") {
3594
3568
  if (!this.bumpIf(":"))
3595
3569
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3596
3570
  this.bumpSpace();
3597
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3598
- if (c.err)
3599
- return c;
3600
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), H = c.val;
3571
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3572
+ if (f.err)
3573
+ return f;
3574
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = f.val;
3601
3575
  }
3602
- var R = this.tryParsePluralOrSelectOptions(t, s, r, O);
3603
- if (R.err)
3604
- return R;
3605
- var d = this.tryParseArgumentClose(i);
3606
- if (d.err)
3607
- return d;
3608
- var pe = g(i, this.clonePosition());
3576
+ var $ = this.tryParsePluralOrSelectOptions(t, s, r, O);
3577
+ if ($.err)
3578
+ return $;
3579
+ var p = this.tryParseArgumentClose(i);
3580
+ if (p.err)
3581
+ return p;
3582
+ var fe = g(i, this.clonePosition());
3609
3583
  return s === "select" ? {
3610
3584
  val: {
3611
3585
  type: _.select,
3612
3586
  value: n,
3613
- options: Tt(R.val),
3614
- location: pe
3587
+ options: xt($.val),
3588
+ location: fe
3615
3589
  },
3616
3590
  err: null
3617
3591
  } : {
3618
3592
  val: {
3619
3593
  type: _.plural,
3620
3594
  value: n,
3621
- options: Tt(R.val),
3622
- offset: H,
3595
+ options: xt($.val),
3596
+ offset: w,
3623
3597
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3624
- location: pe
3598
+ location: fe
3625
3599
  },
3626
3600
  err: null
3627
3601
  };
3628
3602
  }
3629
3603
  default:
3630
- return this.error(b.INVALID_ARGUMENT_TYPE, g(a, u));
3604
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(a, h));
3631
3605
  }
3632
3606
  }, e.prototype.tryParseArgumentClose = function(t) {
3633
3607
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3669,50 +3643,50 @@ var ci = (
3669
3643
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3670
3644
  var n = [];
3671
3645
  try {
3672
- n = Xn(t);
3646
+ n = jn(t);
3673
3647
  } catch {
3674
3648
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3675
3649
  }
3676
3650
  return {
3677
3651
  val: {
3678
- type: Q.number,
3652
+ type: q.number,
3679
3653
  tokens: n,
3680
3654
  location: r,
3681
- parsedOptions: this.shouldParseSkeletons ? qn(n) : {}
3655
+ parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
3682
3656
  },
3683
3657
  err: null
3684
3658
  };
3685
3659
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3686
- for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3687
- if (l.length === 0) {
3688
- var c = this.clonePosition();
3660
+ for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3661
+ if (u.length === 0) {
3662
+ var f = this.clonePosition();
3689
3663
  if (r !== "select" && this.bumpIf("=")) {
3690
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3691
- if (f.err)
3692
- return f;
3693
- h = g(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3664
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3665
+ if (c.err)
3666
+ return c;
3667
+ l = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3694
3668
  } else
3695
3669
  break;
3696
3670
  }
3697
- if (u.has(l))
3698
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3699
- l === "other" && (a = !0), this.bumpSpace();
3700
- var p = this.clonePosition();
3671
+ if (h.has(u))
3672
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3673
+ u === "other" && (a = !0), this.bumpSpace();
3674
+ var d = this.clonePosition();
3701
3675
  if (!this.bumpIf("{"))
3702
3676
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3703
- var d = this.parseMessage(t + 1, r, n);
3704
- if (d.err)
3705
- return d;
3706
- var m = this.tryParseArgumentClose(p);
3677
+ var p = this.parseMessage(t + 1, r, n);
3678
+ if (p.err)
3679
+ return p;
3680
+ var m = this.tryParseArgumentClose(d);
3707
3681
  if (m.err)
3708
3682
  return m;
3709
3683
  s.push([
3710
- l,
3684
+ u,
3711
3685
  {
3712
- value: d.val,
3713
- location: g(p, this.clonePosition())
3686
+ value: p.val,
3687
+ location: g(d, this.clonePosition())
3714
3688
  }
3715
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3689
+ ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3716
3690
  }
3717
3691
  return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3718
3692
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3725,8 +3699,8 @@ var ci = (
3725
3699
  else
3726
3700
  break;
3727
3701
  }
3728
- var u = g(i, this.clonePosition());
3729
- return o ? (a *= n, ai(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3702
+ var h = g(i, this.clonePosition());
3703
+ return o ? (a *= n, ii(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3730
3704
  }, e.prototype.offset = function() {
3731
3705
  return this.position.offset;
3732
3706
  }, e.prototype.isEOF = function() {
@@ -3741,7 +3715,7 @@ var ci = (
3741
3715
  var t = this.position.offset;
3742
3716
  if (t >= this.message.length)
3743
3717
  throw Error("out of bound");
3744
- var r = fr(this.message, t);
3718
+ var r = ur(this.message, t);
3745
3719
  if (r === void 0)
3746
3720
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3747
3721
  return r;
@@ -3760,7 +3734,7 @@ var ci = (
3760
3734
  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);
3761
3735
  }
3762
3736
  }, e.prototype.bumpIf = function(t) {
3763
- if (St(this.message, t, this.offset())) {
3737
+ if (_t(this.message, t, this.offset())) {
3764
3738
  for (var r = 0; r < t.length; r++)
3765
3739
  this.bump();
3766
3740
  return !0;
@@ -3782,7 +3756,7 @@ var ci = (
3782
3756
  break;
3783
3757
  }
3784
3758
  }, e.prototype.bumpSpace = function() {
3785
- for (; !this.isEOF() && dr(this.char()); )
3759
+ for (; !this.isEOF() && lr(this.char()); )
3786
3760
  this.bump();
3787
3761
  }, e.prototype.peek = function() {
3788
3762
  if (this.isEOF())
@@ -3792,46 +3766,46 @@ var ci = (
3792
3766
  }, e;
3793
3767
  }()
3794
3768
  );
3795
- function Ye(e) {
3769
+ function Je(e) {
3796
3770
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3797
3771
  }
3798
- function fi(e) {
3799
- return Ye(e) || e === 47;
3772
+ function hi(e) {
3773
+ return Je(e) || e === 47;
3800
3774
  }
3801
- function pi(e) {
3775
+ function li(e) {
3802
3776
  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;
3803
3777
  }
3804
- function dr(e) {
3778
+ function lr(e) {
3805
3779
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3806
3780
  }
3807
- function di(e) {
3781
+ function ci(e) {
3808
3782
  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;
3809
3783
  }
3810
- function Ke(e) {
3784
+ function Ye(e) {
3811
3785
  e.forEach(function(t) {
3812
- if (delete t.location, ir(t) || or(t))
3786
+ if (delete t.location, er(t) || tr(t))
3813
3787
  for (var r in t.options)
3814
- delete t.options[r].location, Ke(t.options[r].value);
3815
- else tr(t) && ar(t.style) || (rr(t) || nr(t)) && Ze(t.style) ? delete t.style.location : sr(t) && Ke(t.children);
3788
+ delete t.options[r].location, Ye(t.options[r].value);
3789
+ else Jt(t) && nr(t.style) || (Yt(t) || Kt(t)) && ze(t.style) ? delete t.style.location : rr(t) && Ye(t.children);
3816
3790
  });
3817
3791
  }
3818
- function mi(e, t) {
3819
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3820
- var r = new ci(e, t).parse();
3792
+ function fi(e, t) {
3793
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3794
+ var r = new ui(e, t).parse();
3821
3795
  if (r.err) {
3822
3796
  var n = SyntaxError(b[r.err.kind]);
3823
3797
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3824
3798
  }
3825
- return t?.captureLocation || Ke(r.val), r.val;
3799
+ return t?.captureLocation || Ye(r.val), r.val;
3826
3800
  }
3827
- var J;
3801
+ var Q;
3828
3802
  (function(e) {
3829
3803
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3830
- })(J || (J = {}));
3831
- var Pe = (
3804
+ })(Q || (Q = {}));
3805
+ var Ae = (
3832
3806
  /** @class */
3833
3807
  function(e) {
3834
- $(t, e);
3808
+ C(t, e);
3835
3809
  function t(r, n, i) {
3836
3810
  var o = e.call(this, r) || this;
3837
3811
  return o.code = n, o.originalMessage = i, o;
@@ -3840,155 +3814,155 @@ var Pe = (
3840
3814
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3841
3815
  }, t;
3842
3816
  }(Error)
3843
- ), Ht = (
3817
+ ), St = (
3844
3818
  /** @class */
3845
3819
  function(e) {
3846
- $(t, e);
3820
+ C(t, e);
3847
3821
  function t(r, n, i, o) {
3848
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3822
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3849
3823
  }
3850
3824
  return t;
3851
- }(Pe)
3852
- ), bi = (
3825
+ }(Ae)
3826
+ ), pi = (
3853
3827
  /** @class */
3854
3828
  function(e) {
3855
- $(t, e);
3829
+ C(t, e);
3856
3830
  function t(r, n, i) {
3857
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3831
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3858
3832
  }
3859
3833
  return t;
3860
- }(Pe)
3861
- ), gi = (
3834
+ }(Ae)
3835
+ ), di = (
3862
3836
  /** @class */
3863
3837
  function(e) {
3864
- $(t, e);
3838
+ C(t, e);
3865
3839
  function t(r, n) {
3866
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3840
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3867
3841
  }
3868
3842
  return t;
3869
- }(Pe)
3843
+ }(Ae)
3870
3844
  ), S;
3871
3845
  (function(e) {
3872
3846
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3873
3847
  })(S || (S = {}));
3874
- function yi(e) {
3848
+ function mi(e) {
3875
3849
  return e.length < 2 ? e : e.reduce(function(t, r) {
3876
3850
  var n = t[t.length - 1];
3877
3851
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3878
3852
  }, []);
3879
3853
  }
3880
- function vi(e) {
3854
+ function bi(e) {
3881
3855
  return typeof e == "function";
3882
3856
  }
3883
- function _e(e, t, r, n, i, o, a) {
3884
- if (e.length === 1 && vt(e[0]))
3857
+ function ve(e, t, r, n, i, o, a) {
3858
+ if (e.length === 1 && bt(e[0]))
3885
3859
  return [
3886
3860
  {
3887
3861
  type: S.literal,
3888
3862
  value: e[0].value
3889
3863
  }
3890
3864
  ];
3891
- for (var s = [], u = 0, l = e; u < l.length; u++) {
3892
- var h = l[u];
3893
- if (vt(h)) {
3865
+ for (var s = [], h = 0, u = e; h < u.length; h++) {
3866
+ var l = u[h];
3867
+ if (bt(l)) {
3894
3868
  s.push({
3895
3869
  type: S.literal,
3896
- value: h.value
3870
+ value: l.value
3897
3871
  });
3898
3872
  continue;
3899
3873
  }
3900
- if (Fn(h)) {
3874
+ if (Un(l)) {
3901
3875
  typeof o == "number" && s.push({
3902
3876
  type: S.literal,
3903
3877
  value: r.getNumberFormat(t).format(o)
3904
3878
  });
3905
3879
  continue;
3906
3880
  }
3907
- var c = h.value;
3908
- if (!(i && c in i))
3909
- throw new gi(c, a);
3910
- var f = i[c];
3911
- if (Gn(h)) {
3912
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3913
- type: typeof f == "string" ? S.literal : S.object,
3914
- value: f
3881
+ var f = l.value;
3882
+ if (!(i && f in i))
3883
+ throw new di(f, a);
3884
+ var c = i[f];
3885
+ if (Rn(l)) {
3886
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3887
+ type: typeof c == "string" ? S.literal : S.object,
3888
+ value: c
3915
3889
  });
3916
3890
  continue;
3917
3891
  }
3918
- if (rr(h)) {
3919
- var p = typeof h.style == "string" ? n.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
3892
+ if (Yt(l)) {
3893
+ var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
3920
3894
  s.push({
3921
3895
  type: S.literal,
3922
- value: r.getDateTimeFormat(t, p).format(f)
3896
+ value: r.getDateTimeFormat(t, d).format(c)
3923
3897
  });
3924
3898
  continue;
3925
3899
  }
3926
- if (nr(h)) {
3927
- var p = typeof h.style == "string" ? n.time[h.style] : Ze(h.style) ? h.style.parsedOptions : n.time.medium;
3900
+ if (Kt(l)) {
3901
+ var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
3928
3902
  s.push({
3929
3903
  type: S.literal,
3930
- value: r.getDateTimeFormat(t, p).format(f)
3904
+ value: r.getDateTimeFormat(t, d).format(c)
3931
3905
  });
3932
3906
  continue;
3933
3907
  }
3934
- if (tr(h)) {
3935
- var p = typeof h.style == "string" ? n.number[h.style] : ar(h.style) ? h.style.parsedOptions : void 0;
3936
- p && p.scale && (f = f * (p.scale || 1)), s.push({
3908
+ if (Jt(l)) {
3909
+ var d = typeof l.style == "string" ? n.number[l.style] : nr(l.style) ? l.style.parsedOptions : void 0;
3910
+ d && d.scale && (c = c * (d.scale || 1)), s.push({
3937
3911
  type: S.literal,
3938
- value: r.getNumberFormat(t, p).format(f)
3912
+ value: r.getNumberFormat(t, d).format(c)
3939
3913
  });
3940
3914
  continue;
3941
3915
  }
3942
- if (sr(h)) {
3943
- var d = h.children, m = h.value, x = i[m];
3944
- if (!vi(x))
3945
- throw new bi(m, "function", a);
3946
- var T = _e(d, t, r, n, i, o), w = x(T.map(function(H) {
3947
- return H.value;
3916
+ if (rr(l)) {
3917
+ var p = l.children, m = l.value, x = i[m];
3918
+ if (!bi(x))
3919
+ throw new pi(m, "function", a);
3920
+ var T = ve(p, t, r, n, i, o), P = x(T.map(function(w) {
3921
+ return w.value;
3948
3922
  }));
3949
- Array.isArray(w) || (w = [w]), s.push.apply(s, w.map(function(H) {
3923
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(w) {
3950
3924
  return {
3951
- type: typeof H == "string" ? S.literal : S.object,
3952
- value: H
3925
+ type: typeof w == "string" ? S.literal : S.object,
3926
+ value: w
3953
3927
  };
3954
3928
  }));
3955
3929
  }
3956
- if (ir(h)) {
3957
- var E = h.options[f] || h.options.other;
3930
+ if (er(l)) {
3931
+ var E = l.options[c] || l.options.other;
3958
3932
  if (!E)
3959
- throw new Ht(h.value, f, Object.keys(h.options), a);
3960
- s.push.apply(s, _e(E.value, t, r, n, i));
3933
+ throw new St(l.value, c, Object.keys(l.options), a);
3934
+ s.push.apply(s, ve(E.value, t, r, n, i));
3961
3935
  continue;
3962
3936
  }
3963
- if (or(h)) {
3964
- var E = h.options["=".concat(f)];
3937
+ if (tr(l)) {
3938
+ var E = l.options["=".concat(c)];
3965
3939
  if (!E) {
3966
3940
  if (!Intl.PluralRules)
3967
- throw new Pe(`Intl.PluralRules is not available in this environment.
3941
+ throw new Ae(`Intl.PluralRules is not available in this environment.
3968
3942
  Try polyfilling it using "@formatjs/intl-pluralrules"
3969
- `, J.MISSING_INTL_API, a);
3970
- var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3971
- E = h.options[O] || h.options.other;
3943
+ `, Q.MISSING_INTL_API, a);
3944
+ var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3945
+ E = l.options[O] || l.options.other;
3972
3946
  }
3973
3947
  if (!E)
3974
- throw new Ht(h.value, f, Object.keys(h.options), a);
3975
- s.push.apply(s, _e(E.value, t, r, n, i, f - (h.offset || 0)));
3948
+ throw new St(l.value, c, Object.keys(l.options), a);
3949
+ s.push.apply(s, ve(E.value, t, r, n, i, c - (l.offset || 0)));
3976
3950
  continue;
3977
3951
  }
3978
3952
  }
3979
- return yi(s);
3953
+ return mi(s);
3980
3954
  }
3981
- function _i(e, t) {
3982
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3983
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3955
+ function gi(e, t) {
3956
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3957
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
3984
3958
  }, {})) : e;
3985
3959
  }
3986
- function xi(e, t) {
3960
+ function yi(e, t) {
3987
3961
  return t ? Object.keys(e).reduce(function(r, n) {
3988
- return r[n] = _i(e[n], t[n]), r;
3989
- }, v({}, e)) : e;
3962
+ return r[n] = gi(e[n], t[n]), r;
3963
+ }, y({}, e)) : e;
3990
3964
  }
3991
- function De(e) {
3965
+ function Ue(e) {
3992
3966
  return {
3993
3967
  create: function() {
3994
3968
  return {
@@ -4002,39 +3976,39 @@ function De(e) {
4002
3976
  }
4003
3977
  };
4004
3978
  }
4005
- function Ei(e) {
3979
+ function vi(e) {
4006
3980
  return e === void 0 && (e = {
4007
3981
  number: {},
4008
3982
  dateTime: {},
4009
3983
  pluralRules: {}
4010
3984
  }), {
4011
- getNumberFormat: $e(function() {
3985
+ getNumberFormat: Ce(function() {
4012
3986
  for (var t, r = [], n = 0; n < arguments.length; n++)
4013
3987
  r[n] = arguments[n];
4014
- return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
3988
+ return new ((t = Intl.NumberFormat).bind.apply(t, z([void 0], r, !1)))();
4015
3989
  }, {
4016
- cache: De(e.number),
4017
- strategy: Re.variadic
3990
+ cache: Ue(e.number),
3991
+ strategy: $e.variadic
4018
3992
  }),
4019
- getDateTimeFormat: $e(function() {
3993
+ getDateTimeFormat: Ce(function() {
4020
3994
  for (var t, r = [], n = 0; n < arguments.length; n++)
4021
3995
  r[n] = arguments[n];
4022
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
3996
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, z([void 0], r, !1)))();
4023
3997
  }, {
4024
- cache: De(e.dateTime),
4025
- strategy: Re.variadic
3998
+ cache: Ue(e.dateTime),
3999
+ strategy: $e.variadic
4026
4000
  }),
4027
- getPluralRules: $e(function() {
4001
+ getPluralRules: Ce(function() {
4028
4002
  for (var t, r = [], n = 0; n < arguments.length; n++)
4029
4003
  r[n] = arguments[n];
4030
- return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
4004
+ return new ((t = Intl.PluralRules).bind.apply(t, z([void 0], r, !1)))();
4031
4005
  }, {
4032
- cache: De(e.pluralRules),
4033
- strategy: Re.variadic
4006
+ cache: Ue(e.pluralRules),
4007
+ strategy: $e.variadic
4034
4008
  })
4035
4009
  };
4036
4010
  }
4037
- var Si = (
4011
+ var _i = (
4038
4012
  /** @class */
4039
4013
  function() {
4040
4014
  function e(t, r, n, i) {
@@ -4044,20 +4018,20 @@ var Si = (
4044
4018
  number: {},
4045
4019
  dateTime: {},
4046
4020
  pluralRules: {}
4047
- }, this.format = function(u) {
4048
- var l = o.formatToParts(u);
4049
- if (l.length === 1)
4050
- return l[0].value;
4051
- var h = l.reduce(function(c, f) {
4052
- return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4021
+ }, this.format = function(h) {
4022
+ var u = o.formatToParts(h);
4023
+ if (u.length === 1)
4024
+ return u[0].value;
4025
+ var l = u.reduce(function(f, c) {
4026
+ return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4053
4027
  }, []);
4054
- return h.length <= 1 ? h[0] || "" : h;
4055
- }, this.formatToParts = function(u) {
4056
- return _e(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
4028
+ return l.length <= 1 ? l[0] || "" : l;
4029
+ }, this.formatToParts = function(h) {
4030
+ return ve(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
4057
4031
  }, this.resolvedOptions = function() {
4058
- var u;
4032
+ var h;
4059
4033
  return {
4060
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4034
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4061
4035
  };
4062
4036
  }, this.getAst = function() {
4063
4037
  return o.ast;
@@ -4066,13 +4040,13 @@ var Si = (
4066
4040
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4067
4041
  var a = i || {};
4068
4042
  a.formatters;
4069
- var s = tn(a, ["formatters"]);
4070
- this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
4043
+ var s = Jr(a, ["formatters"]);
4044
+ this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
4071
4045
  } else
4072
4046
  this.ast = t;
4073
4047
  if (!Array.isArray(this.ast))
4074
4048
  throw new TypeError("A message must be provided as a String or AST.");
4075
- this.formats = xi(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
4049
+ this.formats = yi(e.formats, n), this.formatters = i && i.formatters || vi(this.formatterCache);
4076
4050
  }
4077
4051
  return Object.defineProperty(e, "defaultLocale", {
4078
4052
  get: function() {
@@ -4085,7 +4059,7 @@ var Si = (
4085
4059
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4086
4060
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4087
4061
  }
4088
- }, e.__parse = mi, e.formats = {
4062
+ }, e.__parse = fi, e.formats = {
4089
4063
  number: {
4090
4064
  integer: {
4091
4065
  maximumFractionDigits: 0
@@ -4146,7 +4120,7 @@ var Si = (
4146
4120
  }, e;
4147
4121
  }()
4148
4122
  );
4149
- function Ti(e, t) {
4123
+ function xi(e, t) {
4150
4124
  if (t == null)
4151
4125
  return;
4152
4126
  if (t in e)
@@ -4167,92 +4141,92 @@ function Ti(e, t) {
4167
4141
  n = void 0;
4168
4142
  return n;
4169
4143
  }
4170
- const U = {}, wi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), mr = (e, t) => {
4144
+ const U = {}, Ei = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), cr = (e, t) => {
4171
4145
  if (t == null)
4172
4146
  return;
4173
4147
  if (t in U && e in U[t])
4174
4148
  return U[t][e];
4175
- const r = Oe(t);
4149
+ const r = Pe(t);
4176
4150
  for (let n = 0; n < r.length; n++) {
4177
- const i = r[n], o = Bi(i, e);
4151
+ const i = r[n], o = Ti(i, e);
4178
4152
  if (o)
4179
- return wi(e, t, o);
4153
+ return Ei(e, t, o);
4180
4154
  }
4181
4155
  };
4182
- let st;
4183
- const fe = Ae({});
4184
- function Hi(e) {
4185
- return st[e] || null;
4156
+ let nt;
4157
+ const ce = Be({});
4158
+ function Si(e) {
4159
+ return nt[e] || null;
4186
4160
  }
4187
- function br(e) {
4188
- return e in st;
4161
+ function fr(e) {
4162
+ return e in nt;
4189
4163
  }
4190
- function Bi(e, t) {
4191
- if (!br(e))
4164
+ function Ti(e, t) {
4165
+ if (!fr(e))
4192
4166
  return null;
4193
- const r = Hi(e);
4194
- return Ti(r, t);
4167
+ const r = Si(e);
4168
+ return xi(r, t);
4195
4169
  }
4196
- function Ai(e) {
4170
+ function wi(e) {
4197
4171
  if (e == null)
4198
4172
  return;
4199
- const t = Oe(e);
4173
+ const t = Pe(e);
4200
4174
  for (let r = 0; r < t.length; r++) {
4201
4175
  const n = t[r];
4202
- if (br(n))
4176
+ if (fr(n))
4203
4177
  return n;
4204
4178
  }
4205
4179
  }
4206
- function gr(e, ...t) {
4207
- delete U[e], fe.update((r) => (r[e] = Nn.all([r[e] || {}, ...t]), r));
4180
+ function pr(e, ...t) {
4181
+ delete U[e], ce.update((r) => (r[e] = Pn.all([r[e] || {}, ...t]), r));
4208
4182
  }
4209
- K(
4210
- [fe],
4183
+ Y(
4184
+ [ce],
4211
4185
  ([e]) => Object.keys(e)
4212
4186
  );
4213
- fe.subscribe((e) => st = e);
4214
- const xe = {};
4215
- function Pi(e, t) {
4216
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4187
+ ce.subscribe((e) => nt = e);
4188
+ const _e = {};
4189
+ function Hi(e, t) {
4190
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
4217
4191
  }
4218
- function yr(e) {
4219
- return xe[e];
4192
+ function dr(e) {
4193
+ return _e[e];
4220
4194
  }
4221
- function Oi(e) {
4222
- return Oe(e).map((t) => {
4223
- const r = yr(t);
4195
+ function Bi(e) {
4196
+ return Pe(e).map((t) => {
4197
+ const r = dr(t);
4224
4198
  return [t, r ? [...r] : []];
4225
4199
  }).filter(([, t]) => t.length > 0);
4226
4200
  }
4227
- function et(e) {
4228
- return e == null ? !1 : Oe(e).some(
4201
+ function Ke(e) {
4202
+ return e == null ? !1 : Pe(e).some(
4229
4203
  (t) => {
4230
4204
  var r;
4231
- return (r = yr(t)) == null ? void 0 : r.size;
4205
+ return (r = dr(t)) == null ? void 0 : r.size;
4232
4206
  }
4233
4207
  );
4234
4208
  }
4235
- function Ii(e, t) {
4209
+ function Ai(e, t) {
4236
4210
  return Promise.all(
4237
- t.map((n) => (Pi(e, n), n().then((i) => i.default || i)))
4238
- ).then((n) => gr(e, ...n));
4239
- }
4240
- const ie = {};
4241
- function vr(e) {
4242
- if (!et(e))
4243
- return e in ie ? ie[e] : Promise.resolve();
4244
- const t = Oi(e);
4245
- return ie[e] = Promise.all(
4211
+ t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
4212
+ ).then((n) => pr(e, ...n));
4213
+ }
4214
+ const ne = {};
4215
+ function mr(e) {
4216
+ if (!Ke(e))
4217
+ return e in ne ? ne[e] : Promise.resolve();
4218
+ const t = Bi(e);
4219
+ return ne[e] = Promise.all(
4246
4220
  t.map(
4247
- ([r, n]) => Ii(r, n)
4221
+ ([r, n]) => Ai(r, n)
4248
4222
  )
4249
4223
  ).then(() => {
4250
- if (et(e))
4251
- return vr(e);
4252
- delete ie[e];
4253
- }), ie[e];
4224
+ if (Ke(e))
4225
+ return mr(e);
4226
+ delete ne[e];
4227
+ }), ne[e];
4254
4228
  }
4255
- const Li = {
4229
+ const Pi = {
4256
4230
  number: {
4257
4231
  scientific: { notation: "scientific" },
4258
4232
  engineering: { notation: "engineering" },
@@ -4281,180 +4255,203 @@ const Li = {
4281
4255
  timeZoneName: "short"
4282
4256
  }
4283
4257
  }
4284
- }, Ni = {
4258
+ }, Oi = {
4285
4259
  fallbackLocale: null,
4286
4260
  loadingDelay: 200,
4287
- formats: Li,
4261
+ formats: Pi,
4288
4262
  warnOnMissingMessages: !0,
4289
4263
  handleMissingMessage: void 0,
4290
4264
  ignoreTag: !0
4291
- }, Ci = Ni;
4292
- function Y() {
4293
- return Ci;
4265
+ }, Ii = Oi;
4266
+ function J() {
4267
+ return Ii;
4294
4268
  }
4295
- const Ge = Ae(!1);
4296
- var Mi = Object.defineProperty, $i = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
4269
+ const Ge = Be(!1);
4270
+ var Li = Object.defineProperty, Ni = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ri = (e, t) => {
4297
4271
  for (var r in t || (t = {}))
4298
- Ui.call(t, r) && At(e, r, t[r]);
4299
- if (Bt)
4300
- for (var r of Bt(t))
4301
- Di.call(t, r) && At(e, r, t[r]);
4272
+ Ci.call(t, r) && wt(e, r, t[r]);
4273
+ if (Tt)
4274
+ for (var r of Tt(t))
4275
+ $i.call(t, r) && wt(e, r, t[r]);
4302
4276
  return e;
4303
- }, Fi = (e, t) => $i(e, Ri(t));
4304
- let tt;
4305
- const we = Ae(null);
4306
- function Pt(e) {
4277
+ }, Ui = (e, t) => Ni(e, Mi(t));
4278
+ let et;
4279
+ const Te = Be(null);
4280
+ function Ht(e) {
4307
4281
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4308
4282
  }
4309
- function Oe(e, t = Y().fallbackLocale) {
4310
- const r = Pt(e);
4311
- return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4283
+ function Pe(e, t = J().fallbackLocale) {
4284
+ const r = Ht(e);
4285
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4312
4286
  }
4313
- function j() {
4314
- return tt ?? void 0;
4287
+ function F() {
4288
+ return et ?? void 0;
4315
4289
  }
4316
- we.subscribe((e) => {
4317
- tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4290
+ Te.subscribe((e) => {
4291
+ et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4318
4292
  });
4319
- const ji = (e) => {
4320
- if (e && Ai(e) && et(e)) {
4321
- const { loadingDelay: t } = Y();
4293
+ const Gi = (e) => {
4294
+ if (e && wi(e) && Ke(e)) {
4295
+ const { loadingDelay: t } = J();
4322
4296
  let r;
4323
- return typeof window < "u" && j() != null && t ? r = window.setTimeout(
4297
+ return typeof window < "u" && F() != null && t ? r = window.setTimeout(
4324
4298
  () => Ge.set(!0),
4325
4299
  t
4326
- ) : Ge.set(!0), vr(e).then(() => {
4327
- we.set(e);
4300
+ ) : Ge.set(!0), mr(e).then(() => {
4301
+ Te.set(e);
4328
4302
  }).finally(() => {
4329
4303
  clearTimeout(r), Ge.set(!1);
4330
4304
  });
4331
4305
  }
4332
- return we.set(e);
4333
- }, ee = Fi(Gi({}, we), {
4334
- set: ji
4335
- }), Ie = (e) => {
4306
+ return Te.set(e);
4307
+ }, K = Ui(Ri({}, Te), {
4308
+ set: Gi
4309
+ }), Oe = (e) => {
4336
4310
  const t = /* @__PURE__ */ Object.create(null);
4337
4311
  return (n) => {
4338
4312
  const i = JSON.stringify(n);
4339
4313
  return i in t ? t[i] : t[i] = e(n);
4340
4314
  };
4341
4315
  };
4342
- var ki = Object.defineProperty, He = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4316
+ var Di = Object.defineProperty, we = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
4343
4317
  for (var r in t || (t = {}))
4344
- _r.call(t, r) && Ot(e, r, t[r]);
4345
- if (He)
4346
- for (var r of He(t))
4347
- xr.call(t, r) && Ot(e, r, t[r]);
4318
+ br.call(t, r) && Bt(e, r, t[r]);
4319
+ if (we)
4320
+ for (var r of we(t))
4321
+ gr.call(t, r) && Bt(e, r, t[r]);
4348
4322
  return e;
4349
- }, te = (e, t) => {
4323
+ }, ee = (e, t) => {
4350
4324
  var r = {};
4351
4325
  for (var n in e)
4352
- _r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4353
- if (e != null && He)
4354
- for (var n of He(e))
4355
- t.indexOf(n) < 0 && xr.call(e, n) && (r[n] = e[n]);
4326
+ br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4327
+ if (e != null && we)
4328
+ for (var n of we(e))
4329
+ t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4356
4330
  return r;
4357
4331
  };
4358
- const ue = (e, t) => {
4359
- const { formats: r } = Y();
4332
+ const ae = (e, t) => {
4333
+ const { formats: r } = J();
4360
4334
  if (e in r && t in r[e])
4361
4335
  return r[e][t];
4362
4336
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4363
- }, Vi = Ie(
4337
+ }, Fi = Oe(
4364
4338
  (e) => {
4365
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4339
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4366
4340
  if (r == null)
4367
4341
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4368
- return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
4342
+ return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4369
4343
  }
4370
- ), Xi = Ie(
4344
+ ), ji = Oe(
4371
4345
  (e) => {
4372
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4346
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4373
4347
  if (r == null)
4374
4348
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4375
- return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
4349
+ return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4376
4350
  }
4377
- ), Wi = Ie(
4351
+ ), ki = Oe(
4378
4352
  (e) => {
4379
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4353
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4380
4354
  if (r == null)
4381
4355
  throw new Error(
4382
4356
  '[svelte-i18n] A "locale" must be set to format time values'
4383
4357
  );
4384
- return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
4358
+ return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4385
4359
  }
4386
- ), zi = (e = {}) => {
4360
+ ), Vi = (e = {}) => {
4387
4361
  var t = e, {
4388
- locale: r = j()
4389
- } = t, n = te(t, [
4362
+ locale: r = F()
4363
+ } = t, n = ee(t, [
4390
4364
  "locale"
4391
4365
  ]);
4392
- return Vi(at({ locale: r }, n));
4393
- }, Zi = (e = {}) => {
4366
+ return Fi(it({ locale: r }, n));
4367
+ }, Xi = (e = {}) => {
4394
4368
  var t = e, {
4395
- locale: r = j()
4396
- } = t, n = te(t, [
4369
+ locale: r = F()
4370
+ } = t, n = ee(t, [
4397
4371
  "locale"
4398
4372
  ]);
4399
- return Xi(at({ locale: r }, n));
4400
- }, qi = (e = {}) => {
4373
+ return ji(it({ locale: r }, n));
4374
+ }, Wi = (e = {}) => {
4401
4375
  var t = e, {
4402
- locale: r = j()
4403
- } = t, n = te(t, [
4376
+ locale: r = F()
4377
+ } = t, n = ee(t, [
4404
4378
  "locale"
4405
4379
  ]);
4406
- return Wi(at({ locale: r }, n));
4407
- }, Qi = Ie(
4380
+ return ki(it({ locale: r }, n));
4381
+ }, zi = Oe(
4408
4382
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4409
- (e, t = j()) => new Si(e, t, Y().formats, {
4410
- ignoreTag: Y().ignoreTag
4383
+ (e, t = F()) => new _i(e, t, J().formats, {
4384
+ ignoreTag: J().ignoreTag
4411
4385
  })
4412
- ), Ji = (e, t = {}) => {
4386
+ ), Zi = (e, t = {}) => {
4413
4387
  var r, n, i, o;
4414
4388
  let a = t;
4415
4389
  typeof e == "object" && (a = e, e = a.id);
4416
4390
  const {
4417
4391
  values: s,
4418
- locale: u = j(),
4419
- default: l
4392
+ locale: h = F(),
4393
+ default: u
4420
4394
  } = a;
4421
- if (u == null)
4395
+ if (h == null)
4422
4396
  throw new Error(
4423
4397
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4424
4398
  );
4425
- let h = mr(e, u);
4426
- if (!h)
4427
- h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4428
- else if (typeof h != "string")
4399
+ let l = cr(e, h);
4400
+ if (!l)
4401
+ l = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4402
+ else if (typeof l != "string")
4429
4403
  return console.warn(
4430
- `[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.`
4431
- ), h;
4404
+ `[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.`
4405
+ ), l;
4432
4406
  if (!s)
4433
- return h;
4434
- let c = h;
4407
+ return l;
4408
+ let f = l;
4435
4409
  try {
4436
- c = Qi(h, u).format(s);
4437
- } catch (f) {
4438
- f instanceof Error && console.warn(
4410
+ f = zi(l, h).format(s);
4411
+ } catch (c) {
4412
+ c instanceof Error && console.warn(
4439
4413
  `[svelte-i18n] Message "${e}" has syntax error:`,
4440
- f.message
4414
+ c.message
4441
4415
  );
4442
4416
  }
4443
- return c;
4444
- }, Yi = (e, t) => qi(t).format(e), Ki = (e, t) => Zi(t).format(e), eo = (e, t) => zi(t).format(e), to = (e, t = j()) => mr(e, t), ro = K([ee, fe], () => Ji);
4445
- K([ee], () => Yi);
4446
- K([ee], () => Ki);
4447
- K([ee], () => eo);
4448
- K([ee, fe], () => to);
4449
- window.emWidgets = { topic: bn };
4450
- const Uo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), no = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4451
- function It(e, t) {
4452
- gr(e, t);
4417
+ return f;
4418
+ }, qi = (e, t) => Wi(t).format(e), Qi = (e, t) => Xi(t).format(e), Ji = (e, t) => Vi(t).format(e), Yi = (e, t = F()) => cr(e, t), Ki = Y([K, ce], () => Zi);
4419
+ Y([K], () => qi);
4420
+ Y([K], () => Qi);
4421
+ Y([K], () => Ji);
4422
+ Y([K, ce], () => Yi);
4423
+ window.emWidgets = { topic: fn };
4424
+ const Co = (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)), eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4425
+ function to(e, t) {
4426
+ if (e) {
4427
+ const r = document.createElement("style");
4428
+ r.innerHTML = t, e.appendChild(r);
4429
+ }
4453
4430
  }
4454
- function io(e) {
4455
- ee.set(e);
4431
+ function ro(e, t) {
4432
+ const r = new URL(t);
4433
+ fetch(r.href).then((n) => n.text()).then((n) => {
4434
+ const i = document.createElement("style");
4435
+ i.innerHTML = n, e && e.appendChild(i);
4436
+ }).catch((n) => {
4437
+ console.error("There was an error while trying to load client styling from URL", n);
4438
+ });
4439
+ }
4440
+ function $o(e, t, r) {
4441
+ if (window.emMessageBus) {
4442
+ const n = document.createElement("style");
4443
+ window.emMessageBus.subscribe(t, (i) => {
4444
+ n.innerHTML = i, e && e.appendChild(n);
4445
+ });
4446
+ }
4456
4447
  }
4457
- const Lt = {
4448
+ function At(e, t) {
4449
+ pr(e, t);
4450
+ }
4451
+ function no(e) {
4452
+ K.set(e);
4453
+ }
4454
+ const Pt = {
4458
4455
  en: {
4459
4456
  logoutButton: "Logout"
4460
4457
  },
@@ -4489,95 +4486,95 @@ const Lt = {
4489
4486
  logoutButton: "Logout"
4490
4487
  }
4491
4488
  };
4492
- function oo(e) {
4493
- Ir(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))}");
4489
+ function io(e) {
4490
+ Hr(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))}");
4494
4491
  }
4495
- function so(e) {
4492
+ function oo(e) {
4496
4493
  let t, r, n, i = (
4497
4494
  /*$_*/
4498
4495
  e[2]("logoutButton") + ""
4499
4496
  ), o, a, s;
4500
4497
  return {
4501
4498
  c() {
4502
- t = L("div"), r = L("button"), n = L("span"), o = ce(i), A(t, "class", "GeneralLogout");
4499
+ t = L("div"), r = L("button"), n = L("span"), o = le(i), B(t, "class", "GeneralLogout");
4503
4500
  },
4504
- m(u, l) {
4505
- he(u, t, l), P(t, r), P(r, n), P(n, o), a || (s = Gt(
4501
+ m(h, u) {
4502
+ he(h, t, u), A(t, r), A(r, n), A(n, o), a || (s = Rt(
4506
4503
  r,
4507
4504
  "click",
4508
4505
  /*click_handler_1*/
4509
- e[13]
4506
+ e[14]
4510
4507
  ), a = !0);
4511
4508
  },
4512
- p(u, l) {
4513
- l & /*$_*/
4509
+ p(h, u) {
4510
+ u & /*$_*/
4514
4511
  4 && i !== (i = /*$_*/
4515
- u[2]("logoutButton") + "") && Ft(o, i);
4512
+ h[2]("logoutButton") + "") && Ut(o, i);
4516
4513
  },
4517
- d(u) {
4518
- u && F(t), a = !1, s();
4514
+ d(h) {
4515
+ h && D(t), a = !1, s();
4519
4516
  }
4520
4517
  };
4521
4518
  }
4522
- function ao(e) {
4523
- let t, r, n, i, o, a, s, u, l, h, c, f = !/*isMobile*/
4524
- e[3] && uo(e);
4519
+ function so(e) {
4520
+ let t, r, n, i, o, a, s, h, u, l, f, c = !/*isMobile*/
4521
+ e[3] && ao(e);
4525
4522
  return {
4526
4523
  c() {
4527
- t = L("p"), r = L("span"), n = re("svg"), i = re("defs"), o = re("style"), a = ce(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = re("path"), u = re("path"), l = Nr(), f && f.c(), A(s, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(s, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), A(u, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), A(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"), A(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), A(n, "data-name", "Layer 1"), A(n, "xmlns", "http://www.w3.org/2000/svg"), A(n, "viewBox", "0 0 150 150"), Mr(r, "width", /*isMobile*/
4524
+ t = L("p"), r = L("span"), n = te("svg"), i = te("defs"), o = te("style"), a = le(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = te("path"), h = te("path"), u = Ar(), c && c.c(), B(s, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(s, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), B(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), B(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"), Or(r, "width", /*isMobile*/
4528
4525
  e[3] ? (
4529
4526
  /*mediaQuery*/
4530
4527
  e[4].matches ? "50px" : "24px"
4531
- ) : "20px"), A(t, "class", "PlayerAccountMenuItemBox " + /*isMobile*/
4528
+ ) : "20px"), B(t, "class", "PlayerAccountMenuItemBox " + /*isMobile*/
4532
4529
  (e[3] ? "PlayerAccountMenuItemBoxMobile" : "") + " " + /*mediaQuery*/
4533
4530
  (e[4].matches && /*isMobile*/
4534
4531
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4535
4532
  },
4536
- m(p, d) {
4537
- he(p, t, d), P(t, r), P(r, n), P(n, i), P(i, o), P(o, a), P(n, s), P(n, u), P(t, l), f && f.m(t, null), h || (c = Gt(
4533
+ m(d, p) {
4534
+ he(d, t, p), A(t, r), A(r, n), A(n, i), A(i, o), A(o, a), A(n, s), A(n, h), A(t, u), c && c.m(t, null), l || (f = Rt(
4538
4535
  t,
4539
4536
  "click",
4540
4537
  /*click_handler*/
4541
- e[12]
4542
- ), h = !0);
4538
+ e[13]
4539
+ ), l = !0);
4543
4540
  },
4544
- p(p, d) {
4541
+ p(d, p) {
4545
4542
  /*isMobile*/
4546
- p[3] || f.p(p, d);
4543
+ d[3] || c.p(d, p);
4547
4544
  },
4548
- d(p) {
4549
- p && F(t), f && f.d(), h = !1, c();
4545
+ d(d) {
4546
+ d && D(t), c && c.d(), l = !1, f();
4550
4547
  }
4551
4548
  };
4552
4549
  }
4553
- function uo(e) {
4550
+ function ao(e) {
4554
4551
  let t, r = (
4555
4552
  /*$_*/
4556
4553
  e[2]("logoutButton") + ""
4557
4554
  ), n;
4558
4555
  return {
4559
4556
  c() {
4560
- t = L("span"), n = ce(r), A(t, "class", "PlayerLogoutText");
4557
+ t = L("span"), n = le(r), B(t, "class", "PlayerLogoutText");
4561
4558
  },
4562
4559
  m(i, o) {
4563
- he(i, t, o), P(t, n);
4560
+ he(i, t, o), A(t, n);
4564
4561
  },
4565
4562
  p(i, o) {
4566
4563
  o & /*$_*/
4567
4564
  4 && r !== (r = /*$_*/
4568
- i[2]("logoutButton") + "") && Ft(n, r);
4565
+ i[2]("logoutButton") + "") && Ut(n, r);
4569
4566
  },
4570
4567
  d(i) {
4571
- i && F(t);
4568
+ i && D(t);
4572
4569
  }
4573
4570
  };
4574
4571
  }
4575
- function lo(e) {
4572
+ function uo(e) {
4576
4573
  let t;
4577
4574
  function r(o, a) {
4578
4575
  return (
4579
4576
  /*buttonlocation*/
4580
- o[0] === "PlayerAccountMenu" ? ao : so
4577
+ o[0] === "PlayerAccountMenu" ? so : oo
4581
4578
  );
4582
4579
  }
4583
4580
  let n = r(e), i = n(e);
@@ -4586,219 +4583,215 @@ function lo(e) {
4586
4583
  t = L("div"), i.c();
4587
4584
  },
4588
4585
  m(o, a) {
4589
- he(o, t, a), i.m(t, null), e[14](t);
4586
+ he(o, t, a), i.m(t, null), e[15](t);
4590
4587
  },
4591
4588
  p(o, [a]) {
4592
4589
  n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4593
4590
  },
4594
- i: B,
4595
- o: B,
4591
+ i: H,
4592
+ o: H,
4596
4593
  d(o) {
4597
- o && F(t), i.d(), e[14](null);
4594
+ o && D(t), i.d(), e[15](null);
4598
4595
  }
4599
4596
  };
4600
4597
  }
4601
4598
  function ho(e, t, r) {
4602
4599
  let n;
4603
- Ar(e, ro, (y) => r(2, n = y));
4604
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: h = "" } = t, c = "", f = !1, p, d = window.navigator.userAgent, m = no(d) !== "PC";
4605
- const x = window.matchMedia("(min-width: 768px)"), T = () => {
4606
- fetch(h).then((I) => I.json()).then((I) => {
4607
- Object.keys(I).forEach((D) => {
4608
- It(D, I[D]);
4600
+ Sr(e, Ki, (v) => r(2, n = v));
4601
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", d = !1, p, m = window.navigator.userAgent, x = eo(m) !== "PC";
4602
+ const T = window.matchMedia("(min-width: 768px)"), P = () => {
4603
+ fetch(f).then((R) => R.json()).then((R) => {
4604
+ Object.keys(R).forEach((Ie) => {
4605
+ At(Ie, R[Ie]);
4609
4606
  });
4610
- }).catch((I) => {
4611
- console.log(I);
4607
+ }).catch((R) => {
4608
+ console.log(R);
4612
4609
  });
4613
4610
  };
4614
- Object.keys(Lt).forEach((y) => {
4615
- It(y, Lt[y]);
4611
+ Object.keys(Pt).forEach((v) => {
4612
+ At(v, Pt[v]);
4616
4613
  });
4617
- const w = () => {
4618
- let y = new Headers();
4619
- y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4620
- let I = { method: "DELETE", headers: y };
4621
- fetch(`${i}/v1/player/session/player`, I).then((D) => {
4614
+ const E = () => {
4615
+ let v = new Headers();
4616
+ v.append("Content-type", "application/json"), v.append("X-SessionID", o);
4617
+ let R = { method: "DELETE", headers: v };
4618
+ fetch(`${i}/v1/player/session/player`, R).then((Ie) => {
4622
4619
  window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
4623
4620
  });
4624
- }, E = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", f = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", f = !0, console.error(c)), f), O = () => {
4625
- io(s);
4626
- }, H = () => {
4627
- let y = document.createElement("style");
4628
- y.innerHTML = u, p.appendChild(y);
4629
- }, R = () => {
4630
- let y = new URL(l), I = document.createElement("style");
4631
- fetch(y.href).then((D) => D.text()).then((D) => {
4632
- I.innerHTML = D, setTimeout(
4633
- () => {
4634
- p.appendChild(I);
4635
- },
4636
- 1
4637
- ), setTimeout(
4638
- () => {
4639
- },
4640
- 500
4641
- );
4642
- });
4643
- }, pe = () => w(), Sr = () => w();
4644
- function Tr(y) {
4645
- Fe[y ? "unshift" : "push"](() => {
4646
- p = y, r(1, p);
4621
+ }, O = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", d = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", d = !0, console.error(c)), d), w = () => {
4622
+ no(s);
4623
+ };
4624
+ Ur(() => () => {
4625
+ });
4626
+ const $ = () => E(), fe = () => E();
4627
+ function vr(v) {
4628
+ De[v ? "unshift" : "push"](() => {
4629
+ p = v, r(1, p);
4647
4630
  });
4648
4631
  }
4649
- return e.$$set = (y) => {
4650
- "endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, a = y.buttonlocation), "lang" in y && r(8, s = y.lang), "clientstyling" in y && r(9, u = y.clientstyling), "clientstylingurl" in y && r(10, l = y.clientstylingurl), "translationurl" in y && r(11, h = y.translationurl);
4632
+ return e.$$set = (v) => {
4633
+ "endpoint" in v && r(6, i = v.endpoint), "session" in v && r(7, o = v.session), "buttonlocation" in v && r(0, a = v.buttonlocation), "lang" in v && r(8, s = v.lang), "mbsource" in v && r(9, h = v.mbsource), "clientstyling" in v && r(10, u = v.clientstyling), "clientstylingurl" in v && r(11, l = v.clientstylingurl), "translationurl" in v && r(12, f = v.translationurl);
4651
4634
  }, e.$$.update = () => {
4652
4635
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4653
- 193 && i && o && a && E(), e.$$.dirty & /*lang*/
4654
- 256 && s && O(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4655
- 514 && u && p && H(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4656
- 1026 && l && p && R(), e.$$.dirty & /*translationurl*/
4657
- 2048 && h && T();
4636
+ 193 && i && o && a && O(), e.$$.dirty & /*lang*/
4637
+ 256 && s && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4638
+ 1026 && u && p && to(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4639
+ 2050 && l && p && ro(), e.$$.dirty & /*translationurl*/
4640
+ 4096 && f && P();
4658
4641
  }, [
4659
4642
  a,
4660
4643
  p,
4661
4644
  n,
4662
- m,
4663
4645
  x,
4664
- w,
4646
+ T,
4647
+ E,
4665
4648
  i,
4666
4649
  o,
4667
4650
  s,
4651
+ h,
4668
4652
  u,
4669
4653
  l,
4670
- h,
4671
- pe,
4672
- Sr,
4673
- Tr
4654
+ f,
4655
+ $,
4656
+ fe,
4657
+ vr
4674
4658
  ];
4675
4659
  }
4676
- class Er extends Kr {
4660
+ class yr extends qr {
4677
4661
  constructor(t) {
4678
- super(), Jr(
4662
+ super(), zr(
4679
4663
  this,
4680
4664
  t,
4681
4665
  ho,
4682
- lo,
4683
- Ct,
4666
+ uo,
4667
+ It,
4684
4668
  {
4685
4669
  endpoint: 6,
4686
4670
  session: 7,
4687
4671
  buttonlocation: 0,
4688
4672
  lang: 8,
4689
- clientstyling: 9,
4690
- clientstylingurl: 10,
4691
- translationurl: 11
4673
+ mbsource: 9,
4674
+ clientstyling: 10,
4675
+ clientstylingurl: 11,
4676
+ translationurl: 12
4692
4677
  },
4693
- oo
4678
+ io
4694
4679
  );
4695
4680
  }
4696
4681
  get endpoint() {
4697
4682
  return this.$$.ctx[6];
4698
4683
  }
4699
4684
  set endpoint(t) {
4700
- this.$$set({ endpoint: t }), N();
4685
+ this.$$set({ endpoint: t }), I();
4701
4686
  }
4702
4687
  get session() {
4703
4688
  return this.$$.ctx[7];
4704
4689
  }
4705
4690
  set session(t) {
4706
- this.$$set({ session: t }), N();
4691
+ this.$$set({ session: t }), I();
4707
4692
  }
4708
4693
  get buttonlocation() {
4709
4694
  return this.$$.ctx[0];
4710
4695
  }
4711
4696
  set buttonlocation(t) {
4712
- this.$$set({ buttonlocation: t }), N();
4697
+ this.$$set({ buttonlocation: t }), I();
4713
4698
  }
4714
4699
  get lang() {
4715
4700
  return this.$$.ctx[8];
4716
4701
  }
4717
4702
  set lang(t) {
4718
- this.$$set({ lang: t }), N();
4703
+ this.$$set({ lang: t }), I();
4719
4704
  }
4720
- get clientstyling() {
4705
+ get mbsource() {
4721
4706
  return this.$$.ctx[9];
4722
4707
  }
4708
+ set mbsource(t) {
4709
+ this.$$set({ mbsource: t }), I();
4710
+ }
4711
+ get clientstyling() {
4712
+ return this.$$.ctx[10];
4713
+ }
4723
4714
  set clientstyling(t) {
4724
- this.$$set({ clientstyling: t }), N();
4715
+ this.$$set({ clientstyling: t }), I();
4725
4716
  }
4726
4717
  get clientstylingurl() {
4727
- return this.$$.ctx[10];
4718
+ return this.$$.ctx[11];
4728
4719
  }
4729
4720
  set clientstylingurl(t) {
4730
- this.$$set({ clientstylingurl: t }), N();
4721
+ this.$$set({ clientstylingurl: t }), I();
4731
4722
  }
4732
4723
  get translationurl() {
4733
- return this.$$.ctx[11];
4724
+ return this.$$.ctx[12];
4734
4725
  }
4735
4726
  set translationurl(t) {
4736
- this.$$set({ translationurl: t }), N();
4727
+ this.$$set({ translationurl: t }), I();
4737
4728
  }
4738
4729
  }
4739
- Yr(Er, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4740
- const Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4730
+ Zr(yr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4731
+ const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4741
4732
  __proto__: null,
4742
- default: Er
4733
+ default: yr
4743
4734
  }, Symbol.toStringTag, { value: "Module" }));
4744
4735
  export {
4745
- ee as $,
4746
- Io as A,
4747
- xo as B,
4748
- yo as C,
4749
- fo as D,
4750
- mo as E,
4751
- bo as F,
4752
- po as G,
4753
- Wr as H,
4754
- Co as I,
4755
- Eo as J,
4756
- $o as K,
4757
- _o as L,
4758
- Ao as M,
4759
- wo as N,
4760
- Ho as O,
4761
- Te as P,
4762
- Bo as Q,
4763
- le as R,
4764
- Kr as S,
4765
- Uo as T,
4766
- Mr as U,
4767
- go as V,
4768
- vo as W,
4769
- co as X,
4770
- wr as Y,
4771
- No as Z,
4772
- Mo as _,
4773
- gr as a,
4774
- Lo as a0,
4775
- Ro as a1,
4776
- yn as a2,
4777
- To as a3,
4778
- Do as a4,
4779
- Ir as b,
4780
- Yr as c,
4781
- Nr as d,
4782
- L as e,
4783
- N as f,
4784
- A as g,
4785
- Po as h,
4786
- Jr as i,
4787
- So as j,
4788
- he as k,
4789
- P as l,
4790
- Gt as m,
4791
- Ft as n,
4736
+ K as $,
4737
+ Zr as A,
4738
+ Ki as B,
4739
+ ce as C,
4740
+ Ao as D,
4741
+ vo as E,
4742
+ go as F,
4743
+ co as G,
4744
+ Io as H,
4745
+ jr as I,
4746
+ po as J,
4747
+ mo as K,
4748
+ fo as L,
4749
+ _o as M,
4750
+ No as N,
4751
+ yo as O,
4752
+ Ho as P,
4753
+ So as Q,
4754
+ wo as R,
4755
+ qr as S,
4756
+ ue as T,
4757
+ To as U,
4758
+ Se as V,
4759
+ Co as W,
4760
+ Or as X,
4761
+ bo as Y,
4762
+ Oo as Z,
4763
+ Po as _,
4764
+ pr as a,
4765
+ lo as a0,
4766
+ _r as a1,
4767
+ Lo as a2,
4768
+ dn as a3,
4769
+ Mo as a4,
4770
+ Eo as a5,
4771
+ Ro as a6,
4772
+ Hr as b,
4773
+ Ut as c,
4774
+ D as d,
4775
+ xo as e,
4776
+ I as f,
4777
+ he as g,
4778
+ A as h,
4779
+ zr as i,
4780
+ L as j,
4781
+ Ar as k,
4782
+ Rt as l,
4783
+ le as m,
4784
+ H as n,
4792
4785
  B as o,
4793
- F as p,
4794
- Ar as q,
4786
+ Sr as p,
4787
+ eo as q,
4795
4788
  G as r,
4796
- Ct as s,
4797
- ce as t,
4798
- no as u,
4799
- Oo as v,
4800
- re as w,
4801
- Fe as x,
4789
+ It as s,
4790
+ Bo as t,
4791
+ Ur as u,
4792
+ te as v,
4793
+ De as w,
4794
+ to as x,
4802
4795
  ro as y,
4803
- fe as z
4796
+ $o as z
4804
4797
  };