@everymatrix/player-account-controller 1.61.1 → 1.62.1

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