@everymatrix/player-account-controller 1.55.0 → 1.56.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 (237) hide show
  1. package/components/GeneralLogout-BJr23vYk.cjs +8 -0
  2. package/components/GeneralLogout-BVJrgB3o.js +4819 -0
  3. package/components/GeneralLogout-BsU4ASHU.js +4856 -0
  4. package/components/GeneralLogout-CBaU48IH.js +4858 -0
  5. package/components/GeneralLogout-CtNZ2rvU.js +4821 -0
  6. package/components/GeneralLogout-DMKG3DPv.cjs +8 -0
  7. package/components/PlayerAccountBettingHistory-B5BniV4g.cjs +1 -0
  8. package/components/PlayerAccountBettingHistory-Bb3AMzX8.js +329 -0
  9. package/components/PlayerAccountBettingHistory-Bmd5vUtv.js +329 -0
  10. package/components/PlayerAccountBettingHistory-Bq4NWDqV.js +328 -0
  11. package/components/PlayerAccountBettingHistory-DNqJtC6N.js +328 -0
  12. package/components/PlayerAccountBettingHistory-o_QsnHUF.cjs +1 -0
  13. package/components/PlayerAccountBiometrics-9jkq0tvf.js +306 -0
  14. package/components/PlayerAccountBiometrics-AVQKN7o3.cjs +1 -0
  15. package/components/PlayerAccountBiometrics-CsN8vgVA.js +306 -0
  16. package/components/PlayerAccountBiometrics-Dg73RCT9.cjs +1 -0
  17. package/components/PlayerAccountBiometrics-DlroL56t.js +306 -0
  18. package/components/PlayerAccountBiometrics-Gd9NVjdX.js +306 -0
  19. package/components/PlayerAccountClosure-BJqYBJtn.js +346 -0
  20. package/components/PlayerAccountClosure-Bq8aSkiW.js +346 -0
  21. package/components/PlayerAccountClosure-DKliqI6n.js +346 -0
  22. package/components/PlayerAccountClosure-DMjXua4S.js +346 -0
  23. package/components/PlayerAccountClosure-DnkzjHvI.cjs +1 -0
  24. package/components/PlayerAccountClosure-MKEqjDLD.cjs +1 -0
  25. package/components/PlayerAccountController-4gBny5Rp.js +7209 -0
  26. package/components/PlayerAccountController-BJB0Tl_L.cjs +1 -0
  27. package/components/PlayerAccountController-BpyAtpJE.cjs +1 -0
  28. package/components/PlayerAccountController-C_emVJuv.js +7209 -0
  29. package/components/PlayerAccountController-CnAQbK4J.cjs +1 -0
  30. package/components/PlayerAccountController-DEbBohhW.js +7192 -0
  31. package/components/PlayerAccountController-DjbCb6IF.js +7209 -0
  32. package/components/PlayerAccountController-Mp8kU2tC.js +7192 -0
  33. package/components/PlayerAccountController-uMgaSyVI.js +7192 -0
  34. package/components/PlayerAccountGamingLimits-B5ZobNN6.js +817 -0
  35. package/components/PlayerAccountGamingLimits-BJcdfjxs.cjs +1 -0
  36. package/components/PlayerAccountGamingLimits-BqZOV7ER.js +817 -0
  37. package/components/PlayerAccountGamingLimits-BqtQWVJY.js +817 -0
  38. package/components/PlayerAccountGamingLimits-CEJOtmtT.js +817 -0
  39. package/components/PlayerAccountGamingLimits-CSy-XeyP.cjs +1 -0
  40. package/components/PlayerAccountGamingLimitsConfirmationModal-BGzrS313.js +306 -0
  41. package/components/PlayerAccountGamingLimitsConfirmationModal-BkfdzG8y.cjs +1 -0
  42. package/components/PlayerAccountGamingLimitsConfirmationModal-D4OvRvHS.js +306 -0
  43. package/components/PlayerAccountGamingLimitsConfirmationModal-DYzB3j6L.js +306 -0
  44. package/components/PlayerAccountGamingLimitsConfirmationModal-DhhlnYgg.cjs +1 -0
  45. package/components/PlayerAccountGamingLimitsConfirmationModal-ffEfhpF7.js +306 -0
  46. package/components/PlayerAccountGamingLimitsGroupEdit-CdEnus68.js +4166 -0
  47. package/components/PlayerAccountGamingLimitsGroupEdit-Cer2-m_x.js +4166 -0
  48. package/components/PlayerAccountGamingLimitsGroupEdit-DMt5E3K-.js +4166 -0
  49. package/components/PlayerAccountGamingLimitsGroupEdit-DUdaJ7Kq.js +4166 -0
  50. package/components/PlayerAccountGamingLimitsGroupEdit-DZ70sSBt.cjs +10 -0
  51. package/components/PlayerAccountGamingLimitsGroupEdit-Yjf_2udY.cjs +10 -0
  52. package/components/PlayerAccountGamingLimitsHistory2-BFqWdMn-.js +748 -0
  53. package/components/PlayerAccountGamingLimitsHistory2-CCJMGIcX.cjs +1 -0
  54. package/components/PlayerAccountGamingLimitsHistory2-CGy6w5_0.js +748 -0
  55. package/components/PlayerAccountGamingLimitsHistory2-ClU7aHVz.cjs +1 -0
  56. package/components/PlayerAccountGamingLimitsHistory2-PeeGekce.js +759 -0
  57. package/components/PlayerAccountGamingLimitsHistory2-j00bAoG0.js +759 -0
  58. package/components/PlayerAccountGamingLimitsInfoCard-C0h1smBV.cjs +1 -0
  59. package/components/PlayerAccountGamingLimitsInfoCard-C5Uyy4hS.js +1564 -0
  60. package/components/PlayerAccountGamingLimitsInfoCard-CV9ZhYiF.js +1564 -0
  61. package/components/PlayerAccountGamingLimitsInfoCard-CoMJRMLA.js +1564 -0
  62. package/components/PlayerAccountGamingLimitsInfoCard-lJRgmwtb.cjs +1 -0
  63. package/components/PlayerAccountGamingLimitsInfoCard-yxF974vj.js +1564 -0
  64. package/components/PlayerAccountGamingLimitsPage2Gm16-BTjt40ut.cjs +21 -0
  65. package/components/PlayerAccountGamingLimitsPage2Gm16-CxPXwme_.js +3276 -0
  66. package/components/PlayerAccountGamingLimitsPage2Gm16-Di6v3kmW.js +3307 -0
  67. package/components/PlayerAccountGamingLimitsPage2Gm16-L1Jp_iKB.js +3276 -0
  68. package/components/PlayerAccountGamingLimitsPage2Gm16-T2cmSKjm.js +3307 -0
  69. package/components/PlayerAccountGamingLimitsPage2Gm16-p3GcsFI7.cjs +21 -0
  70. package/components/PlayerAccountGamingLimitsPopup-B4-V_QNS.js +340 -0
  71. package/components/PlayerAccountGamingLimitsPopup-BzDVzkzb.js +340 -0
  72. package/components/PlayerAccountGamingLimitsPopup-C1u8s5Rb.js +340 -0
  73. package/components/PlayerAccountGamingLimitsPopup-Dcz_452O.js +340 -0
  74. package/components/PlayerAccountGamingLimitsPopup-DdcT7vPa.cjs +1 -0
  75. package/components/PlayerAccountGamingLimitsPopup-LRDbiAly.cjs +1 -0
  76. package/components/PlayerAccountGamingLimitsWrapper2-BiXnSxca.cjs +1 -0
  77. package/components/PlayerAccountGamingLimitsWrapper2-BqtUjbbu.js +1011 -0
  78. package/components/PlayerAccountGamingLimitsWrapper2-CcyRURaw.js +1017 -0
  79. package/components/PlayerAccountGamingLimitsWrapper2-_YHpEotj.js +1011 -0
  80. package/components/PlayerAccountGamingLimitsWrapper2-s5SZNIjP.cjs +1 -0
  81. package/components/PlayerAccountGamingLimitsWrapper2-x4L94fha.js +1017 -0
  82. package/components/PlayerAccountGeneralConfirmationModal-B0kXXOye.js +364 -0
  83. package/components/PlayerAccountGeneralConfirmationModal-BIT_T-29.js +364 -0
  84. package/components/PlayerAccountGeneralConfirmationModal-BRCvYq3w.js +364 -0
  85. package/components/PlayerAccountGeneralConfirmationModal-CBYinFim.js +364 -0
  86. package/components/PlayerAccountGeneralConfirmationModal-CGsrVc5R.cjs +1 -0
  87. package/components/PlayerAccountGeneralConfirmationModal-DdoBD-jg.cjs +1 -0
  88. package/components/PlayerAccountMenu-8KOKoKVb.cjs +1 -0
  89. package/components/PlayerAccountMenu-Bfre06Le.cjs +1 -0
  90. package/components/PlayerAccountMenu-C_YGuNPM.js +684 -0
  91. package/components/PlayerAccountMenu-DN2PIyCS.js +705 -0
  92. package/components/PlayerAccountMenu-DqJbyUfh.js +706 -0
  93. package/components/PlayerAccountMenu-FryvTe0M.js +683 -0
  94. package/components/PlayerAccountModal-Bc_9P-LN.cjs +1 -0
  95. package/components/PlayerAccountModal-C3LgI3bI.js +209 -0
  96. package/components/PlayerAccountModal-C6u0YlOB.js +209 -0
  97. package/components/PlayerAccountModal-Cb9Cx84R.js +209 -0
  98. package/components/PlayerAccountModal-DfP5i5EL.cjs +1 -0
  99. package/components/PlayerAccountModal-DxF0TUrk.js +209 -0
  100. package/components/PlayerAccountNotifications-C8jpcaHS.js +368 -0
  101. package/components/PlayerAccountNotifications-CGAudNFs.js +369 -0
  102. package/components/PlayerAccountNotifications-Ck05XEl9.cjs +1 -0
  103. package/components/PlayerAccountNotifications-CmREqnee.cjs +1 -0
  104. package/components/PlayerAccountNotifications-xD7DJqe7.js +368 -0
  105. package/components/PlayerAccountNotifications-zizauj3S.js +369 -0
  106. package/components/PlayerAccountSelfExclusion-BIGBywgv.cjs +4171 -0
  107. package/components/PlayerAccountSelfExclusion-BOP9Y_Cl.js +17171 -0
  108. package/components/PlayerAccountSelfExclusion-CDVz-lP6.js +17138 -0
  109. package/components/PlayerAccountSelfExclusion-CJ4jfPui.js +17138 -0
  110. package/components/PlayerAccountSelfExclusion-Cfcq-ilJ.js +17171 -0
  111. package/components/PlayerAccountSelfExclusion-Cy05j-IP.cjs +4171 -0
  112. package/components/PlayerAccountTimeout-2YkNAJ9f.cjs +1 -0
  113. package/components/PlayerAccountTimeout-BW3T413k.js +950 -0
  114. package/components/PlayerAccountTimeout-BcsZ2sb4.js +950 -0
  115. package/components/PlayerAccountTimeout-CBKTomqH.cjs +1 -0
  116. package/components/PlayerAccountTimeout-Cx77nKle.js +950 -0
  117. package/components/PlayerAccountTimeout-DiMSoYxX.js +950 -0
  118. package/components/PlayerActiveBonuses-3N_s8OrY.js +1055 -0
  119. package/components/PlayerActiveBonuses-Bk-LUaGe.cjs +1 -0
  120. package/components/PlayerActiveBonuses-CacJcfPT.js +1056 -0
  121. package/components/PlayerActiveBonuses-Dyedxyle.js +1055 -0
  122. package/components/PlayerActiveBonuses-DzsnlkKd.cjs +1 -0
  123. package/components/PlayerActiveBonuses-hMskUSPf.js +1056 -0
  124. package/components/PlayerBonusCard-2TI6CPMg.js +699 -0
  125. package/components/PlayerBonusCard-BLQee3Yl.js +699 -0
  126. package/components/PlayerBonusCard-BtmQf1aE.js +699 -0
  127. package/components/PlayerBonusCard-CzDI2441.js +699 -0
  128. package/components/PlayerBonusCard-fmiQL149.cjs +1 -0
  129. package/components/PlayerBonusCard-seJw_ipN.cjs +1 -0
  130. package/components/PlayerBonusHistory-1zb5ypXm.js +937 -0
  131. package/components/PlayerBonusHistory-B_fcWrpb.cjs +1 -0
  132. package/components/PlayerBonusHistory-Cc7KuYdG.js +938 -0
  133. package/components/PlayerBonusHistory-Cl6yHmyn.cjs +1 -0
  134. package/components/PlayerBonusHistory-DTWoOB2F.js +937 -0
  135. package/components/PlayerBonusHistory-WRG91zGG.js +938 -0
  136. package/components/PlayerChangePassword-C25k7g0R.js +1173 -0
  137. package/components/PlayerChangePassword-C8JMSlO2.cjs +3 -0
  138. package/components/PlayerChangePassword-CRAV5XBF.js +1173 -0
  139. package/components/PlayerChangePassword-ChN8vXoe.js +1173 -0
  140. package/components/PlayerChangePassword-D2hz3KZY.js +1173 -0
  141. package/components/PlayerChangePassword-Dm7ojx3B.cjs +3 -0
  142. package/components/PlayerDeposit-C3LBDk7P.js +391 -0
  143. package/components/PlayerDeposit-D-vkpaj8.js +391 -0
  144. package/components/PlayerDeposit-D9vHJT5z.cjs +1 -0
  145. package/components/PlayerDeposit-Drn_qTXy.js +391 -0
  146. package/components/PlayerDeposit-H96LYwvc.cjs +1 -0
  147. package/components/PlayerDeposit-lFMe4Ubk.js +391 -0
  148. package/components/PlayerGamingHistory-A8ezawol.cjs +1 -0
  149. package/components/PlayerGamingHistory-CBybmkzJ.js +982 -0
  150. package/components/PlayerGamingHistory-D-g7DsZY.js +969 -0
  151. package/components/PlayerGamingHistory-D4BBX_NO.js +982 -0
  152. package/components/PlayerGamingHistory-kQXWPOVX.js +969 -0
  153. package/components/PlayerGamingHistory-nXcnrY9t.cjs +1 -0
  154. package/components/PlayerPendingWithdrawals-335u7VHy.cjs +1 -0
  155. package/components/PlayerPendingWithdrawals-Bkq_LzUX.js +310 -0
  156. package/components/PlayerPendingWithdrawals-Cc5b8V0M.cjs +1 -0
  157. package/components/PlayerPendingWithdrawals-CiE7UXZE.js +310 -0
  158. package/components/PlayerPendingWithdrawals-Cv8ar9i7.js +310 -0
  159. package/components/PlayerPendingWithdrawals-D0PnJ2Ry.js +310 -0
  160. package/components/PlayerProfileInfo-BZjVrvCn.cjs +1 -0
  161. package/components/PlayerProfileInfo-BtajfoNY.cjs +1 -0
  162. package/components/PlayerProfileInfo-C3sb-ekE.js +1804 -0
  163. package/components/PlayerProfileInfo-C6wcnHjE.js +1821 -0
  164. package/components/PlayerProfileInfo-ChVQdofV.js +1821 -0
  165. package/components/PlayerProfileInfo-DGa8IkvB.js +1804 -0
  166. package/components/PlayerRealityCheck-4dDx5fG9.js +668 -0
  167. package/components/PlayerRealityCheck-Bp0kcyji.js +652 -0
  168. package/components/PlayerRealityCheck-CLNviBS2.cjs +1 -0
  169. package/components/PlayerRealityCheck-DnV8RaMw.cjs +1 -0
  170. package/components/PlayerRealityCheck-FpmFAP1-.js +668 -0
  171. package/components/PlayerRealityCheck-zj5BHTDl.js +652 -0
  172. package/components/PlayerTransactionHistory-CCdvsW9A.cjs +1 -0
  173. package/components/PlayerTransactionHistory-CM91yXea.js +314 -0
  174. package/components/PlayerTransactionHistory-CYYFJ6EG.js +314 -0
  175. package/components/PlayerTransactionHistory-DbNzhWfM.js +314 -0
  176. package/components/PlayerTransactionHistory-Gz5Ae9tP.cjs +1 -0
  177. package/components/PlayerTransactionHistory-RmKm-89S.js +314 -0
  178. package/components/PlayerWithdrawal-BrBDWDhT.cjs +1 -0
  179. package/components/PlayerWithdrawal-CUYps7WV.js +365 -0
  180. package/components/PlayerWithdrawal-CcdByNbq.js +365 -0
  181. package/components/PlayerWithdrawal-CohuE2wz.js +365 -0
  182. package/components/PlayerWithdrawal-DMhVwQlF.cjs +1 -0
  183. package/components/PlayerWithdrawal-_cBpaGNe.js +365 -0
  184. package/es2015/player-account-controller.cjs +1 -1
  185. package/es2015/player-account-controller.js +1 -1
  186. package/esnext/player-account-controller.js +1 -1
  187. package/package.json +1 -1
  188. package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
  189. package/stencil/app-globals-0f993ce5-DzSE6TtH.js +13 -0
  190. package/stencil/checkbox-group-input_9-C0sxArC8.cjs +2104 -0
  191. package/stencil/checkbox-group-input_9-CgJXKrax.js +12351 -0
  192. package/stencil/checkbox-group-input_9-cgJtsdKg.js +12331 -0
  193. package/stencil/general-input-Bd9atiWx.js +48 -0
  194. package/stencil/general-input-CsKjNbmZ.js +48 -0
  195. package/stencil/general-input-DdanLnhp.cjs +1 -0
  196. package/stencil/index-1c9f7b34-Bc7D_MDc.js +566 -0
  197. package/stencil/index-1c9f7b34-CQG22CHt.cjs +1 -0
  198. package/stencil/index-1c9f7b34-DjxFQLNm.js +593 -0
  199. package/stencil/index-42a69622-Bf3iffRU.js +659 -0
  200. package/stencil/index-42a69622-D_Ld41zA.cjs +1 -0
  201. package/stencil/index-42a69622-sw0JKBUm.js +632 -0
  202. package/stencil/index-72d2f0c7-B6npgOpT.cjs +1 -0
  203. package/stencil/index-72d2f0c7-C1SVQLk_.js +642 -0
  204. package/stencil/index-72d2f0c7-DbRKphKh.js +626 -0
  205. package/stencil/index-7c2d76a2-Ac3uLCab.js +548 -0
  206. package/stencil/index-7c2d76a2-BhtzgVqi.js +532 -0
  207. package/stencil/index-7c2d76a2-BrBQDQDN.cjs +1 -0
  208. package/stencil/index-c68bbded-Ca8oRZ5p.js +572 -0
  209. package/stencil/index-c68bbded-lJvOfh6w.js +588 -0
  210. package/stencil/index-c68bbded-lic9DimW.cjs +1 -0
  211. package/stencil/password-input_2-BcA_GQhg.js +1420 -0
  212. package/stencil/password-input_2-CWC2OUx-.js +1420 -0
  213. package/stencil/password-input_2-D_l1ccPG.cjs +896 -0
  214. package/stencil/player-change-password-gm2-7b05cf53-BGg_is8g.cjs +1 -0
  215. package/stencil/player-change-password-gm2-7b05cf53-ChOp29_5.js +272 -0
  216. package/stencil/player-change-password-gm2-7b05cf53-CnV9s-Ih.js +272 -0
  217. package/stencil/player-change-password-gm2-B_kRjFUL.js +7 -0
  218. package/stencil/player-change-password-gm2-DEeeAs8O.js +25 -0
  219. package/stencil/player-change-password-gm2-DGfPRqEK.cjs +1 -0
  220. package/stencil/player-kyc-verification-2B5tE4Ms.js +885 -0
  221. package/stencil/player-kyc-verification-BV7JAA9D.js +863 -0
  222. package/stencil/player-kyc-verification-Bc4oE7cr.cjs +180 -0
  223. package/stencil/toggle-checkbox-input-CdUMWsZk.js +46 -0
  224. package/stencil/toggle-checkbox-input-CtT_ZCWu.cjs +1 -0
  225. package/stencil/toggle-checkbox-input-DXS0qpdk.js +46 -0
  226. package/stencil/ui-skeleton-82ccc79b-3ievvoeK.js +122 -0
  227. package/stencil/ui-skeleton-82ccc79b-BPwVGHA5.js +122 -0
  228. package/stencil/ui-skeleton-82ccc79b-BrQV4Gq-.cjs +1 -0
  229. package/stencil/ui-skeleton-BIkTgHQw.js +29 -0
  230. package/stencil/ui-skeleton-CYW2WO8b.js +11 -0
  231. package/stencil/ui-skeleton-DFziT7_7.cjs +1 -0
  232. package/stencil/user-deposit-withdrawal-CDH0Oqm0.cjs +59 -0
  233. package/stencil/user-deposit-withdrawal-CieORRUN.js +663 -0
  234. package/stencil/user-deposit-withdrawal-D7WNAnCv.js +685 -0
  235. package/stencil/user-transaction-history-BPKIXepd.cjs +1 -0
  236. package/stencil/user-transaction-history-C4pLTnxb.js +374 -0
  237. package/stencil/user-transaction-history-CegXbhhd.js +350 -0
@@ -0,0 +1,4819 @@
1
+ function H() {
2
+ }
3
+ const Tr = (e) => e;
4
+ function wr(e, t) {
5
+ for (const r in t) e[r] = t[r];
6
+ return (
7
+ /** @type {T & S} */
8
+ e
9
+ );
10
+ }
11
+ function Mt(e) {
12
+ return e();
13
+ }
14
+ function ut() {
15
+ return /* @__PURE__ */ Object.create(null);
16
+ }
17
+ function D(e) {
18
+ e.forEach(Mt);
19
+ }
20
+ function ue(e) {
21
+ return typeof e == "function";
22
+ }
23
+ function Nt(e, t) {
24
+ return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
+ }
26
+ let pe;
27
+ function po(e, t) {
28
+ return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
29
+ }
30
+ function Hr(e) {
31
+ return Object.keys(e).length === 0;
32
+ }
33
+ function Ct(e, ...t) {
34
+ if (e == null) {
35
+ for (const n of t)
36
+ n(void 0);
37
+ return H;
38
+ }
39
+ const r = e.subscribe(...t);
40
+ return r.unsubscribe ? () => r.unsubscribe() : r;
41
+ }
42
+ function Br(e, t, r) {
43
+ e.$$.on_destroy.push(Ct(t, r));
44
+ }
45
+ function mo(e, t, r, n) {
46
+ if (e) {
47
+ const i = $t(e, t, r, n);
48
+ return e[0](i);
49
+ }
50
+ }
51
+ function $t(e, t, r, n) {
52
+ return e[1] && n ? wr(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
+ }
54
+ function bo(e, t, r, n) {
55
+ if (e[2] && n) {
56
+ const i = e[2](n(r));
57
+ if (t.dirty === void 0)
58
+ return i;
59
+ if (typeof i == "object") {
60
+ const o = [], a = Math.max(t.dirty.length, i.length);
61
+ for (let s = 0; s < a; s += 1)
62
+ o[s] = t.dirty[s] | i[s];
63
+ return o;
64
+ }
65
+ return t.dirty | i;
66
+ }
67
+ return t.dirty;
68
+ }
69
+ function go(e, t, r, n, i, o) {
70
+ if (i) {
71
+ const a = $t(t, r, n, o);
72
+ e.p(a, i);
73
+ }
74
+ }
75
+ function yo(e) {
76
+ if (e.ctx.length > 32) {
77
+ const t = [], r = e.ctx.length / 32;
78
+ for (let n = 0; n < r; n++)
79
+ t[n] = -1;
80
+ return t;
81
+ }
82
+ return -1;
83
+ }
84
+ function vo(e) {
85
+ return e ?? "";
86
+ }
87
+ function _o(e) {
88
+ return e && ue(e.destroy) ? e.destroy : H;
89
+ }
90
+ const Rt = typeof window < "u";
91
+ let Ar = Rt ? () => window.performance.now() : () => Date.now(), rt = Rt ? (e) => requestAnimationFrame(e) : H;
92
+ const X = /* @__PURE__ */ new Set();
93
+ function Ut(e) {
94
+ X.forEach((t) => {
95
+ t.c(e) || (X.delete(t), t.f());
96
+ }), X.size !== 0 && rt(Ut);
97
+ }
98
+ function Pr(e) {
99
+ let t;
100
+ return X.size === 0 && rt(Ut), {
101
+ promise: new Promise((r) => {
102
+ X.add(t = { c: e, f: r });
103
+ }),
104
+ abort() {
105
+ X.delete(t);
106
+ }
107
+ };
108
+ }
109
+ function A(e, t) {
110
+ e.appendChild(t);
111
+ }
112
+ function Or(e, t, r) {
113
+ const n = nt(e);
114
+ if (!n.getElementById(t)) {
115
+ const i = L("style");
116
+ i.id = t, i.textContent = r, Dt(n, i);
117
+ }
118
+ }
119
+ function nt(e) {
120
+ if (!e) return document;
121
+ const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
122
+ return t && /** @type {ShadowRoot} */
123
+ t.host ? (
124
+ /** @type {ShadowRoot} */
125
+ t
126
+ ) : e.ownerDocument;
127
+ }
128
+ function Ir(e) {
129
+ const t = L("style");
130
+ return t.textContent = "/* empty */", Dt(nt(e), t), t.sheet;
131
+ }
132
+ function Dt(e, t) {
133
+ return A(
134
+ /** @type {Document} */
135
+ e.head || e,
136
+ t
137
+ ), t.sheet;
138
+ }
139
+ function le(e, t, r) {
140
+ e.insertBefore(t, r || null);
141
+ }
142
+ function G(e) {
143
+ e.parentNode && e.parentNode.removeChild(e);
144
+ }
145
+ function xo(e, t) {
146
+ for (let r = 0; r < e.length; r += 1)
147
+ e[r] && e[r].d(t);
148
+ }
149
+ function L(e) {
150
+ return document.createElement(e);
151
+ }
152
+ function te(e) {
153
+ return document.createElementNS("http://www.w3.org/2000/svg", e);
154
+ }
155
+ function he(e) {
156
+ return document.createTextNode(e);
157
+ }
158
+ function Lr() {
159
+ return he(" ");
160
+ }
161
+ function Eo() {
162
+ return he("");
163
+ }
164
+ function Gt(e, t, r, n) {
165
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
166
+ }
167
+ function So(e) {
168
+ return function(t) {
169
+ return t.preventDefault(), e.call(this, t);
170
+ };
171
+ }
172
+ function B(e, t, r) {
173
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
174
+ }
175
+ function To(e, t, r) {
176
+ const n = t.toLowerCase();
177
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : B(e, t, r);
178
+ }
179
+ function wo(e) {
180
+ let t;
181
+ return {
182
+ /* push */
183
+ p(...r) {
184
+ t = r, t.forEach((n) => e.push(n));
185
+ },
186
+ /* remove */
187
+ r() {
188
+ t.forEach((r) => e.splice(e.indexOf(r), 1));
189
+ }
190
+ };
191
+ }
192
+ function Ho(e) {
193
+ return e === "" ? null : +e;
194
+ }
195
+ function Mr(e) {
196
+ return Array.from(e.childNodes);
197
+ }
198
+ function Ft(e, t) {
199
+ t = "" + t, e.data !== t && (e.data = /** @type {string} */
200
+ t);
201
+ }
202
+ function Bo(e, t) {
203
+ e.value = t ?? "";
204
+ }
205
+ function Nr(e, t, r, n) {
206
+ r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
207
+ }
208
+ function Ao(e, t, r) {
209
+ for (let n = 0; n < e.options.length; n += 1) {
210
+ const i = e.options[n];
211
+ if (i.__value === t) {
212
+ i.selected = !0;
213
+ return;
214
+ }
215
+ }
216
+ (!r || t !== void 0) && (e.selectedIndex = -1);
217
+ }
218
+ function Po(e) {
219
+ const t = e.querySelector(":checked");
220
+ return t && t.__value;
221
+ }
222
+ function Oo(e, t, r) {
223
+ e.classList.toggle(t, !!r);
224
+ }
225
+ function Cr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
226
+ return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
227
+ }
228
+ function $r(e) {
229
+ const t = {};
230
+ return e.childNodes.forEach(
231
+ /** @param {Element} node */
232
+ (r) => {
233
+ t[r.slot || "default"] = !0;
234
+ }
235
+ ), t;
236
+ }
237
+ const xe = /* @__PURE__ */ new Map();
238
+ let Ee = 0;
239
+ function Rr(e) {
240
+ let t = 5381, r = e.length;
241
+ for (; r--; ) t = (t << 5) - t ^ e.charCodeAt(r);
242
+ return t >>> 0;
243
+ }
244
+ function Ur(e, t) {
245
+ const r = { stylesheet: Ir(t), rules: {} };
246
+ return xe.set(e, r), r;
247
+ }
248
+ function lt(e, t, r, n, i, o, a, s = 0) {
249
+ const l = 16.666 / n;
250
+ let u = `{
251
+ `;
252
+ for (let x = 0; x <= 1; x += l) {
253
+ const T = t + (r - t) * o(x);
254
+ u += x * 100 + `%{${a(T, 1 - T)}}
255
+ `;
256
+ }
257
+ const h = u + `100% {${a(r, 1 - r)}}
258
+ }`, f = `__svelte_${Rr(h)}_${s}`, c = nt(e), { stylesheet: d, rules: p } = xe.get(c) || Ur(c, e);
259
+ p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${h}`, d.cssRules.length));
260
+ const m = e.style.animation || "";
261
+ return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Ee += 1, f;
262
+ }
263
+ function Dr(e, t) {
264
+ const r = (e.style.animation || "").split(", "), n = r.filter(
265
+ t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
266
+ // remove all Svelte animations
267
+ ), i = r.length - n.length;
268
+ i && (e.style.animation = n.join(", "), Ee -= i, Ee || Gr());
269
+ }
270
+ function Gr() {
271
+ rt(() => {
272
+ Ee || (xe.forEach((e) => {
273
+ const { ownerNode: t } = e.stylesheet;
274
+ t && G(t);
275
+ }), xe.clear());
276
+ });
277
+ }
278
+ let oe;
279
+ function ie(e) {
280
+ oe = e;
281
+ }
282
+ function Fr() {
283
+ if (!oe) throw new Error("Function called outside component initialization");
284
+ return oe;
285
+ }
286
+ function jr(e) {
287
+ Fr().$$.on_mount.push(e);
288
+ }
289
+ const V = [], Fe = [];
290
+ let W = [];
291
+ const ht = [], jt = /* @__PURE__ */ Promise.resolve();
292
+ let je = !1;
293
+ function kt() {
294
+ je || (je = !0, jt.then(I));
295
+ }
296
+ function Io() {
297
+ return kt(), jt;
298
+ }
299
+ function Se(e) {
300
+ W.push(e);
301
+ }
302
+ const Le = /* @__PURE__ */ new Set();
303
+ let j = 0;
304
+ function I() {
305
+ if (j !== 0)
306
+ return;
307
+ const e = oe;
308
+ do {
309
+ try {
310
+ for (; j < V.length; ) {
311
+ const t = V[j];
312
+ j++, ie(t), kr(t.$$);
313
+ }
314
+ } catch (t) {
315
+ throw V.length = 0, j = 0, t;
316
+ }
317
+ for (ie(null), V.length = 0, j = 0; Fe.length; ) Fe.pop()();
318
+ for (let t = 0; t < W.length; t += 1) {
319
+ const r = W[t];
320
+ Le.has(r) || (Le.add(r), r());
321
+ }
322
+ W.length = 0;
323
+ } while (V.length);
324
+ for (; ht.length; )
325
+ ht.pop()();
326
+ je = !1, Le.clear(), ie(e);
327
+ }
328
+ function kr(e) {
329
+ if (e.fragment !== null) {
330
+ e.update(), D(e.before_update);
331
+ const t = e.dirty;
332
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
333
+ }
334
+ }
335
+ function Vr(e) {
336
+ const t = [], r = [];
337
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
338
+ }
339
+ let re;
340
+ function Xr() {
341
+ return re || (re = Promise.resolve(), re.then(() => {
342
+ re = null;
343
+ })), re;
344
+ }
345
+ function Me(e, t, r) {
346
+ e.dispatchEvent(Cr(`${t ? "intro" : "outro"}${r}`));
347
+ }
348
+ const be = /* @__PURE__ */ new Set();
349
+ let M;
350
+ function Lo() {
351
+ M = {
352
+ r: 0,
353
+ c: [],
354
+ p: M
355
+ // parent group
356
+ };
357
+ }
358
+ function Mo() {
359
+ M.r || D(M.c), M = M.p;
360
+ }
361
+ function Wr(e, t) {
362
+ e && e.i && (be.delete(e), e.i(t));
363
+ }
364
+ function No(e, t, r, n) {
365
+ if (e && e.o) {
366
+ if (be.has(e)) return;
367
+ be.add(e), M.c.push(() => {
368
+ be.delete(e), n && (r && e.d(1), n());
369
+ }), e.o(t);
370
+ } else n && n();
371
+ }
372
+ const zr = { duration: 0 };
373
+ function Co(e, t, r, n) {
374
+ let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
375
+ function f() {
376
+ u && Dr(e, u);
377
+ }
378
+ function c(p, m) {
379
+ const x = (
380
+ /** @type {Program['d']} */
381
+ p.b - a
382
+ );
383
+ return m *= Math.abs(x), {
384
+ a,
385
+ b: p.b,
386
+ d: x,
387
+ duration: m,
388
+ start: p.start,
389
+ end: p.start + m,
390
+ group: p.group
391
+ };
392
+ }
393
+ function d(p) {
394
+ const {
395
+ delay: m = 0,
396
+ duration: x = 300,
397
+ easing: T = Tr,
398
+ tick: P = H,
399
+ css: E
400
+ } = o || zr, O = {
401
+ start: Ar() + m,
402
+ b: p
403
+ };
404
+ p || (O.group = M, M.r += 1), "inert" in e && (p ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
405
+ e.inert, e.inert = !0)), s || l ? l = O : (E && (f(), u = lt(e, a, p, x, m, T, E)), p && P(0, 1), s = c(O, x), Se(() => Me(e, p, "start")), Pr((w) => {
406
+ if (l && w > l.start && (s = c(l, x), l = null, Me(e, s.b, "start"), E && (f(), u = lt(
407
+ e,
408
+ a,
409
+ s.b,
410
+ s.duration,
411
+ 0,
412
+ T,
413
+ o.css
414
+ ))), s) {
415
+ if (w >= s.end)
416
+ P(a = s.b, 1 - a), Me(e, s.b, "end"), l || (s.b ? f() : --s.group.r || D(s.group.c)), s = null;
417
+ else if (w >= s.start) {
418
+ const $ = w - s.start;
419
+ a = s.a + s.d * T($ / s.duration), P(a, 1 - a);
420
+ }
421
+ }
422
+ return !!(s || l);
423
+ }));
424
+ }
425
+ return {
426
+ run(p) {
427
+ ue(o) ? Xr().then(() => {
428
+ o = o({ direction: p ? "in" : "out" }), d(p);
429
+ }) : d(p);
430
+ },
431
+ end() {
432
+ f(), s = l = null;
433
+ }
434
+ };
435
+ }
436
+ function $o(e) {
437
+ return e?.length !== void 0 ? e : Array.from(e);
438
+ }
439
+ function Zr(e, t, r) {
440
+ const { fragment: n, after_update: i } = e.$$;
441
+ n && n.m(t, r), Se(() => {
442
+ const o = e.$$.on_mount.map(Mt).filter(ue);
443
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : D(o), e.$$.on_mount = [];
444
+ }), i.forEach(Se);
445
+ }
446
+ function qr(e, t) {
447
+ const r = e.$$;
448
+ r.fragment !== null && (Vr(r.after_update), D(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
449
+ }
450
+ function Qr(e, t) {
451
+ e.$$.dirty[0] === -1 && (V.push(e), kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
452
+ }
453
+ function Jr(e, t, r, n, i, o, a = null, s = [-1]) {
454
+ const l = oe;
455
+ ie(e);
456
+ const u = e.$$ = {
457
+ fragment: null,
458
+ ctx: [],
459
+ // state
460
+ props: o,
461
+ update: H,
462
+ not_equal: i,
463
+ bound: ut(),
464
+ // lifecycle
465
+ on_mount: [],
466
+ on_destroy: [],
467
+ on_disconnect: [],
468
+ before_update: [],
469
+ after_update: [],
470
+ context: new Map(t.context || (l ? l.$$.context : [])),
471
+ // everything else
472
+ callbacks: ut(),
473
+ dirty: s,
474
+ skip_bound: !1,
475
+ root: t.target || l.$$.root
476
+ };
477
+ a && a(u.root);
478
+ let h = !1;
479
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
480
+ const p = d.length ? d[0] : c;
481
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), h && Qr(e, f)), c;
482
+ }) : [], u.update(), h = !0, D(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
483
+ if (t.hydrate) {
484
+ const f = Mr(t.target);
485
+ u.fragment && u.fragment.l(f), f.forEach(G);
486
+ } else
487
+ u.fragment && u.fragment.c();
488
+ t.intro && Wr(e.$$.fragment), Zr(e, t.target, t.anchor), I();
489
+ }
490
+ ie(l);
491
+ }
492
+ let Vt;
493
+ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
494
+ /** The Svelte component constructor */
495
+ $$ctor;
496
+ /** Slots */
497
+ $$s;
498
+ /** The Svelte component instance */
499
+ $$c;
500
+ /** Whether or not the custom element is connected */
501
+ $$cn = !1;
502
+ /** Component props data */
503
+ $$d = {};
504
+ /** `true` if currently in the process of reflecting component props back to attributes */
505
+ $$r = !1;
506
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
507
+ $$p_d = {};
508
+ /** @type {Record<string, Function[]>} Event listeners */
509
+ $$l = {};
510
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
511
+ $$l_u = /* @__PURE__ */ new Map();
512
+ constructor(e, t, r) {
513
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
514
+ }
515
+ addEventListener(e, t, r) {
516
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
517
+ const n = this.$$c.$on(e, t);
518
+ this.$$l_u.set(t, n);
519
+ }
520
+ super.addEventListener(e, t, r);
521
+ }
522
+ removeEventListener(e, t, r) {
523
+ if (super.removeEventListener(e, t, r), this.$$c) {
524
+ const n = this.$$l_u.get(t);
525
+ n && (n(), this.$$l_u.delete(t));
526
+ }
527
+ }
528
+ async connectedCallback() {
529
+ if (this.$$cn = !0, !this.$$c) {
530
+ let e = function(i) {
531
+ return () => {
532
+ let o;
533
+ return {
534
+ c: function() {
535
+ o = L("slot"), i !== "default" && B(o, "name", i);
536
+ },
537
+ /**
538
+ * @param {HTMLElement} target
539
+ * @param {HTMLElement} [anchor]
540
+ */
541
+ m: function(l, u) {
542
+ le(l, o, u);
543
+ },
544
+ d: function(l) {
545
+ l && G(o);
546
+ }
547
+ };
548
+ };
549
+ };
550
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
551
+ return;
552
+ const t = {}, r = $r(this);
553
+ for (const i of this.$$s)
554
+ i in r && (t[i] = [e(i)]);
555
+ for (const i of this.attributes) {
556
+ const o = this.$$g_p(i.name);
557
+ o in this.$$d || (this.$$d[o] = ge(o, i.value, this.$$p_d, "toProp"));
558
+ }
559
+ for (const i in this.$$p_d)
560
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
561
+ this.$$c = new this.$$ctor({
562
+ target: this.shadowRoot || this,
563
+ props: {
564
+ ...this.$$d,
565
+ $$slots: t,
566
+ $$scope: {
567
+ ctx: []
568
+ }
569
+ }
570
+ });
571
+ const n = () => {
572
+ this.$$r = !0;
573
+ for (const i in this.$$p_d)
574
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
575
+ const o = ge(
576
+ i,
577
+ this.$$d[i],
578
+ this.$$p_d,
579
+ "toAttribute"
580
+ );
581
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
582
+ }
583
+ this.$$r = !1;
584
+ };
585
+ this.$$c.$$.after_update.push(n), n();
586
+ for (const i in this.$$l)
587
+ for (const o of this.$$l[i]) {
588
+ const a = this.$$c.$on(i, o);
589
+ this.$$l_u.set(o, a);
590
+ }
591
+ this.$$l = {};
592
+ }
593
+ }
594
+ // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
595
+ // and setting attributes through setAttribute etc, this is helpful
596
+ attributeChangedCallback(e, t, r) {
597
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
598
+ }
599
+ disconnectedCallback() {
600
+ this.$$cn = !1, Promise.resolve().then(() => {
601
+ !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
602
+ });
603
+ }
604
+ $$g_p(e) {
605
+ return Object.keys(this.$$p_d).find(
606
+ (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
607
+ ) || e;
608
+ }
609
+ });
610
+ function ge(e, t, r, n) {
611
+ const i = r[e]?.type;
612
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
613
+ return t;
614
+ if (n === "toAttribute")
615
+ switch (i) {
616
+ case "Object":
617
+ case "Array":
618
+ return t == null ? null : JSON.stringify(t);
619
+ case "Boolean":
620
+ return t ? "" : null;
621
+ case "Number":
622
+ return t ?? null;
623
+ default:
624
+ return t;
625
+ }
626
+ else
627
+ switch (i) {
628
+ case "Object":
629
+ case "Array":
630
+ return t && JSON.parse(t);
631
+ case "Boolean":
632
+ return t;
633
+ case "Number":
634
+ return t != null ? +t : t;
635
+ default:
636
+ return t;
637
+ }
638
+ }
639
+ function Yr(e, t, r, n, i, o) {
640
+ let a = class extends Vt {
641
+ constructor() {
642
+ super(e, r, i), this.$$p_d = t;
643
+ }
644
+ static get observedAttributes() {
645
+ return Object.keys(t).map(
646
+ (s) => (t[s].attribute || s).toLowerCase()
647
+ );
648
+ }
649
+ };
650
+ return Object.keys(t).forEach((s) => {
651
+ Object.defineProperty(a.prototype, s, {
652
+ get() {
653
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
654
+ },
655
+ set(l) {
656
+ l = ge(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
657
+ }
658
+ });
659
+ }), n.forEach((s) => {
660
+ Object.defineProperty(a.prototype, s, {
661
+ get() {
662
+ return this.$$c?.[s];
663
+ }
664
+ });
665
+ }), e.element = /** @type {any} */
666
+ a, a;
667
+ }
668
+ class Kr {
669
+ /**
670
+ * ### PRIVATE API
671
+ *
672
+ * Do not use, may change at any time
673
+ *
674
+ * @type {any}
675
+ */
676
+ $$ = void 0;
677
+ /**
678
+ * ### PRIVATE API
679
+ *
680
+ * Do not use, may change at any time
681
+ *
682
+ * @type {any}
683
+ */
684
+ $$set = void 0;
685
+ /** @returns {void} */
686
+ $destroy() {
687
+ qr(this, 1), this.$destroy = H;
688
+ }
689
+ /**
690
+ * @template {Extract<keyof Events, string>} K
691
+ * @param {K} type
692
+ * @param {((e: Events[K]) => void) | null | undefined} callback
693
+ * @returns {() => void}
694
+ */
695
+ $on(t, r) {
696
+ if (!ue(r))
697
+ return H;
698
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
699
+ return n.push(r), () => {
700
+ const i = n.indexOf(r);
701
+ i !== -1 && n.splice(i, 1);
702
+ };
703
+ }
704
+ /**
705
+ * @param {Partial<Props>} props
706
+ * @returns {void}
707
+ */
708
+ $set(t) {
709
+ this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
710
+ }
711
+ }
712
+ const en = "4";
713
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
714
+ var ke = function(e, t) {
715
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
716
+ r.__proto__ = n;
717
+ } || function(r, n) {
718
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
719
+ }, ke(e, t);
720
+ };
721
+ function C(e, t) {
722
+ if (typeof t != "function" && t !== null)
723
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
724
+ ke(e, t);
725
+ function r() {
726
+ this.constructor = e;
727
+ }
728
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
729
+ }
730
+ var y = function() {
731
+ return y = Object.assign || function(t) {
732
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
733
+ r = arguments[n];
734
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
735
+ }
736
+ return t;
737
+ }, y.apply(this, arguments);
738
+ };
739
+ function tn(e, t) {
740
+ var r = {};
741
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
742
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
743
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
744
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
745
+ return r;
746
+ }
747
+ function Ve(e) {
748
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
749
+ if (r) return r.call(e);
750
+ if (e && typeof e.length == "number") return {
751
+ next: function() {
752
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
753
+ }
754
+ };
755
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
756
+ }
757
+ function Xe(e, t) {
758
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
759
+ if (!r) return e;
760
+ var n = r.call(e), i, o = [], a;
761
+ try {
762
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
763
+ } catch (s) {
764
+ a = { error: s };
765
+ } finally {
766
+ try {
767
+ i && !i.done && (r = n.return) && r.call(n);
768
+ } finally {
769
+ if (a) throw a.error;
770
+ }
771
+ }
772
+ return o;
773
+ }
774
+ function z(e, t, r) {
775
+ if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
776
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
777
+ return e.concat(o || Array.prototype.slice.call(t));
778
+ }
779
+ function N(e) {
780
+ return typeof e == "function";
781
+ }
782
+ function Xt(e) {
783
+ var t = function(n) {
784
+ Error.call(n), n.stack = new Error().stack;
785
+ }, r = e(t);
786
+ return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
787
+ }
788
+ var Ne = Xt(function(e) {
789
+ return function(r) {
790
+ e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
791
+ ` + r.map(function(n, i) {
792
+ return i + 1 + ") " + n.toString();
793
+ }).join(`
794
+ `) : "", this.name = "UnsubscriptionError", this.errors = r;
795
+ };
796
+ });
797
+ function We(e, t) {
798
+ if (e) {
799
+ var r = e.indexOf(t);
800
+ 0 <= r && e.splice(r, 1);
801
+ }
802
+ }
803
+ var He = function() {
804
+ function e(t) {
805
+ this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
806
+ }
807
+ return e.prototype.unsubscribe = function() {
808
+ var t, r, n, i, o;
809
+ if (!this.closed) {
810
+ this.closed = !0;
811
+ var a = this._parentage;
812
+ if (a)
813
+ if (this._parentage = null, Array.isArray(a))
814
+ try {
815
+ for (var s = Ve(a), l = s.next(); !l.done; l = s.next()) {
816
+ var u = l.value;
817
+ u.remove(this);
818
+ }
819
+ } catch (m) {
820
+ t = { error: m };
821
+ } finally {
822
+ try {
823
+ l && !l.done && (r = s.return) && r.call(s);
824
+ } finally {
825
+ if (t) throw t.error;
826
+ }
827
+ }
828
+ else
829
+ a.remove(this);
830
+ var h = this.initialTeardown;
831
+ if (N(h))
832
+ try {
833
+ h();
834
+ } catch (m) {
835
+ o = m instanceof Ne ? m.errors : [m];
836
+ }
837
+ var f = this._finalizers;
838
+ if (f) {
839
+ this._finalizers = null;
840
+ try {
841
+ for (var c = Ve(f), d = c.next(); !d.done; d = c.next()) {
842
+ var p = d.value;
843
+ try {
844
+ ct(p);
845
+ } catch (m) {
846
+ o = o ?? [], m instanceof Ne ? o = z(z([], Xe(o)), Xe(m.errors)) : o.push(m);
847
+ }
848
+ }
849
+ } catch (m) {
850
+ n = { error: m };
851
+ } finally {
852
+ try {
853
+ d && !d.done && (i = c.return) && i.call(c);
854
+ } finally {
855
+ if (n) throw n.error;
856
+ }
857
+ }
858
+ }
859
+ if (o)
860
+ throw new Ne(o);
861
+ }
862
+ }, e.prototype.add = function(t) {
863
+ var r;
864
+ if (t && t !== this)
865
+ if (this.closed)
866
+ ct(t);
867
+ else {
868
+ if (t instanceof e) {
869
+ if (t.closed || t._hasParent(this))
870
+ return;
871
+ t._addParent(this);
872
+ }
873
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
874
+ }
875
+ }, e.prototype._hasParent = function(t) {
876
+ var r = this._parentage;
877
+ return r === t || Array.isArray(r) && r.includes(t);
878
+ }, e.prototype._addParent = function(t) {
879
+ var r = this._parentage;
880
+ this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
881
+ }, e.prototype._removeParent = function(t) {
882
+ var r = this._parentage;
883
+ r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
884
+ }, e.prototype.remove = function(t) {
885
+ var r = this._finalizers;
886
+ r && We(r, t), t instanceof e && t._removeParent(this);
887
+ }, e.EMPTY = function() {
888
+ var t = new e();
889
+ return t.closed = !0, t;
890
+ }(), e;
891
+ }(), Wt = He.EMPTY;
892
+ function zt(e) {
893
+ return e instanceof He || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
894
+ }
895
+ function ct(e) {
896
+ N(e) ? e() : e.unsubscribe();
897
+ }
898
+ var Zt = {
899
+ onUnhandledError: null,
900
+ onStoppedNotification: null,
901
+ Promise: void 0,
902
+ useDeprecatedSynchronousErrorHandling: !1,
903
+ useDeprecatedNextContext: !1
904
+ }, rn = {
905
+ setTimeout: function(e, t) {
906
+ for (var r = [], n = 2; n < arguments.length; n++)
907
+ r[n - 2] = arguments[n];
908
+ return setTimeout.apply(void 0, z([e, t], Xe(r)));
909
+ },
910
+ clearTimeout: function(e) {
911
+ return clearTimeout(e);
912
+ },
913
+ delegate: void 0
914
+ };
915
+ function nn(e) {
916
+ rn.setTimeout(function() {
917
+ throw e;
918
+ });
919
+ }
920
+ function ft() {
921
+ }
922
+ function ye(e) {
923
+ e();
924
+ }
925
+ var qt = function(e) {
926
+ C(t, e);
927
+ function t(r) {
928
+ var n = e.call(this) || this;
929
+ return n.isStopped = !1, r ? (n.destination = r, zt(r) && r.add(n)) : n.destination = un, n;
930
+ }
931
+ return t.create = function(r, n, i) {
932
+ return new ze(r, n, i);
933
+ }, t.prototype.next = function(r) {
934
+ this.isStopped || this._next(r);
935
+ }, t.prototype.error = function(r) {
936
+ this.isStopped || (this.isStopped = !0, this._error(r));
937
+ }, t.prototype.complete = function() {
938
+ this.isStopped || (this.isStopped = !0, this._complete());
939
+ }, t.prototype.unsubscribe = function() {
940
+ this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
941
+ }, t.prototype._next = function(r) {
942
+ this.destination.next(r);
943
+ }, t.prototype._error = function(r) {
944
+ try {
945
+ this.destination.error(r);
946
+ } finally {
947
+ this.unsubscribe();
948
+ }
949
+ }, t.prototype._complete = function() {
950
+ try {
951
+ this.destination.complete();
952
+ } finally {
953
+ this.unsubscribe();
954
+ }
955
+ }, t;
956
+ }(He), on = Function.prototype.bind;
957
+ function Ce(e, t) {
958
+ return on.call(e, t);
959
+ }
960
+ var sn = function() {
961
+ function e(t) {
962
+ this.partialObserver = t;
963
+ }
964
+ return e.prototype.next = function(t) {
965
+ var r = this.partialObserver;
966
+ if (r.next)
967
+ try {
968
+ r.next(t);
969
+ } catch (n) {
970
+ de(n);
971
+ }
972
+ }, e.prototype.error = function(t) {
973
+ var r = this.partialObserver;
974
+ if (r.error)
975
+ try {
976
+ r.error(t);
977
+ } catch (n) {
978
+ de(n);
979
+ }
980
+ else
981
+ de(t);
982
+ }, e.prototype.complete = function() {
983
+ var t = this.partialObserver;
984
+ if (t.complete)
985
+ try {
986
+ t.complete();
987
+ } catch (r) {
988
+ de(r);
989
+ }
990
+ }, e;
991
+ }(), ze = function(e) {
992
+ C(t, e);
993
+ function t(r, n, i) {
994
+ var o = e.call(this) || this, a;
995
+ if (N(r) || !r)
996
+ a = {
997
+ next: r ?? void 0,
998
+ error: n ?? void 0,
999
+ complete: i ?? void 0
1000
+ };
1001
+ else {
1002
+ var s;
1003
+ o && Zt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
1004
+ return o.unsubscribe();
1005
+ }, a = {
1006
+ next: r.next && Ce(r.next, s),
1007
+ error: r.error && Ce(r.error, s),
1008
+ complete: r.complete && Ce(r.complete, s)
1009
+ }) : a = r;
1010
+ }
1011
+ return o.destination = new sn(a), o;
1012
+ }
1013
+ return t;
1014
+ }(qt);
1015
+ function de(e) {
1016
+ nn(e);
1017
+ }
1018
+ function an(e) {
1019
+ throw e;
1020
+ }
1021
+ var un = {
1022
+ closed: !0,
1023
+ next: ft,
1024
+ error: an,
1025
+ complete: ft
1026
+ }, ln = function() {
1027
+ return typeof Symbol == "function" && Symbol.observable || "@@observable";
1028
+ }();
1029
+ function hn(e) {
1030
+ return e;
1031
+ }
1032
+ function cn(e) {
1033
+ return e.length === 0 ? hn : e.length === 1 ? e[0] : function(r) {
1034
+ return e.reduce(function(n, i) {
1035
+ return i(n);
1036
+ }, r);
1037
+ };
1038
+ }
1039
+ var pt = function() {
1040
+ function e(t) {
1041
+ t && (this._subscribe = t);
1042
+ }
1043
+ return e.prototype.lift = function(t) {
1044
+ var r = new e();
1045
+ return r.source = this, r.operator = t, r;
1046
+ }, e.prototype.subscribe = function(t, r, n) {
1047
+ var i = this, o = pn(t) ? t : new ze(t, r, n);
1048
+ return ye(function() {
1049
+ var a = i, s = a.operator, l = a.source;
1050
+ o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1051
+ }), o;
1052
+ }, e.prototype._trySubscribe = function(t) {
1053
+ try {
1054
+ return this._subscribe(t);
1055
+ } catch (r) {
1056
+ t.error(r);
1057
+ }
1058
+ }, e.prototype.forEach = function(t, r) {
1059
+ var n = this;
1060
+ return r = dt(r), new r(function(i, o) {
1061
+ var a = new ze({
1062
+ next: function(s) {
1063
+ try {
1064
+ t(s);
1065
+ } catch (l) {
1066
+ o(l), a.unsubscribe();
1067
+ }
1068
+ },
1069
+ error: o,
1070
+ complete: i
1071
+ });
1072
+ n.subscribe(a);
1073
+ });
1074
+ }, e.prototype._subscribe = function(t) {
1075
+ var r;
1076
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1077
+ }, e.prototype[ln] = function() {
1078
+ return this;
1079
+ }, e.prototype.pipe = function() {
1080
+ for (var t = [], r = 0; r < arguments.length; r++)
1081
+ t[r] = arguments[r];
1082
+ return cn(t)(this);
1083
+ }, e.prototype.toPromise = function(t) {
1084
+ var r = this;
1085
+ return t = dt(t), new t(function(n, i) {
1086
+ var o;
1087
+ r.subscribe(function(a) {
1088
+ return o = a;
1089
+ }, function(a) {
1090
+ return i(a);
1091
+ }, function() {
1092
+ return n(o);
1093
+ });
1094
+ });
1095
+ }, e.create = function(t) {
1096
+ return new e(t);
1097
+ }, e;
1098
+ }();
1099
+ function dt(e) {
1100
+ var t;
1101
+ return (t = e ?? Zt.Promise) !== null && t !== void 0 ? t : Promise;
1102
+ }
1103
+ function fn(e) {
1104
+ return e && N(e.next) && N(e.error) && N(e.complete);
1105
+ }
1106
+ function pn(e) {
1107
+ return e && e instanceof qt || fn(e) && zt(e);
1108
+ }
1109
+ var dn = Xt(function(e) {
1110
+ return function() {
1111
+ e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1112
+ };
1113
+ }), Qt = function(e) {
1114
+ C(t, e);
1115
+ function t() {
1116
+ var r = e.call(this) || this;
1117
+ return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1118
+ }
1119
+ return t.prototype.lift = function(r) {
1120
+ var n = new mt(this, this);
1121
+ return n.operator = r, n;
1122
+ }, t.prototype._throwIfClosed = function() {
1123
+ if (this.closed)
1124
+ throw new dn();
1125
+ }, t.prototype.next = function(r) {
1126
+ var n = this;
1127
+ ye(function() {
1128
+ var i, o;
1129
+ if (n._throwIfClosed(), !n.isStopped) {
1130
+ n.currentObservers || (n.currentObservers = Array.from(n.observers));
1131
+ try {
1132
+ for (var a = Ve(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1133
+ var l = s.value;
1134
+ l.next(r);
1135
+ }
1136
+ } catch (u) {
1137
+ i = { error: u };
1138
+ } finally {
1139
+ try {
1140
+ s && !s.done && (o = a.return) && o.call(a);
1141
+ } finally {
1142
+ if (i) throw i.error;
1143
+ }
1144
+ }
1145
+ }
1146
+ });
1147
+ }, t.prototype.error = function(r) {
1148
+ var n = this;
1149
+ ye(function() {
1150
+ if (n._throwIfClosed(), !n.isStopped) {
1151
+ n.hasError = n.isStopped = !0, n.thrownError = r;
1152
+ for (var i = n.observers; i.length; )
1153
+ i.shift().error(r);
1154
+ }
1155
+ });
1156
+ }, t.prototype.complete = function() {
1157
+ var r = this;
1158
+ ye(function() {
1159
+ if (r._throwIfClosed(), !r.isStopped) {
1160
+ r.isStopped = !0;
1161
+ for (var n = r.observers; n.length; )
1162
+ n.shift().complete();
1163
+ }
1164
+ });
1165
+ }, t.prototype.unsubscribe = function() {
1166
+ this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
1167
+ }, Object.defineProperty(t.prototype, "observed", {
1168
+ get: function() {
1169
+ var r;
1170
+ return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
1171
+ },
1172
+ enumerable: !1,
1173
+ configurable: !0
1174
+ }), t.prototype._trySubscribe = function(r) {
1175
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
1176
+ }, t.prototype._subscribe = function(r) {
1177
+ return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1178
+ }, t.prototype._innerSubscribe = function(r) {
1179
+ var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1180
+ return o || a ? Wt : (this.currentObservers = null, s.push(r), new He(function() {
1181
+ n.currentObservers = null, We(s, r);
1182
+ }));
1183
+ }, t.prototype._checkFinalizedStatuses = function(r) {
1184
+ var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1185
+ i ? r.error(o) : a && r.complete();
1186
+ }, t.prototype.asObservable = function() {
1187
+ var r = new pt();
1188
+ return r.source = this, r;
1189
+ }, t.create = function(r, n) {
1190
+ return new mt(r, n);
1191
+ }, t;
1192
+ }(pt), mt = function(e) {
1193
+ C(t, e);
1194
+ function t(r, n) {
1195
+ var i = e.call(this) || this;
1196
+ return i.destination = r, i.source = n, i;
1197
+ }
1198
+ return t.prototype.next = function(r) {
1199
+ var n, i;
1200
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
1201
+ }, t.prototype.error = function(r) {
1202
+ var n, i;
1203
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
1204
+ }, t.prototype.complete = function() {
1205
+ var r, n;
1206
+ (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1207
+ }, t.prototype._subscribe = function(r) {
1208
+ var n, i;
1209
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Wt;
1210
+ }, t;
1211
+ }(Qt), Jt = {
1212
+ now: function() {
1213
+ return (Jt.delegate || Date).now();
1214
+ },
1215
+ delegate: void 0
1216
+ }, mn = function(e) {
1217
+ C(t, e);
1218
+ function t(r, n, i) {
1219
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
1220
+ var o = e.call(this) || this;
1221
+ 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;
1222
+ }
1223
+ return t.prototype.next = function(r) {
1224
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1225
+ i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1226
+ }, t.prototype._subscribe = function(r) {
1227
+ this._throwIfClosed(), this._trimBuffer();
1228
+ 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)
1229
+ r.next(s[l]);
1230
+ return this._checkFinalizedStatuses(r), n;
1231
+ }, t.prototype._trimBuffer = function() {
1232
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1233
+ if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1234
+ for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1235
+ u = h;
1236
+ u && o.splice(0, u + 1);
1237
+ }
1238
+ }, t;
1239
+ }(Qt);
1240
+ const bt = [], gt = {}, bn = (e, t = 0) => {
1241
+ if (bt.indexOf(e) == -1) {
1242
+ const r = new mn(t);
1243
+ gt[e] = r, bt.push(e);
1244
+ }
1245
+ return gt[e];
1246
+ }, k = [];
1247
+ function gn(e, t) {
1248
+ return {
1249
+ subscribe: Be(e, t).subscribe
1250
+ };
1251
+ }
1252
+ function Be(e, t = H) {
1253
+ let r;
1254
+ const n = /* @__PURE__ */ new Set();
1255
+ function i(s) {
1256
+ if (Nt(e, s) && (e = s, r)) {
1257
+ const l = !k.length;
1258
+ for (const u of n)
1259
+ u[1](), k.push(u, e);
1260
+ if (l) {
1261
+ for (let u = 0; u < k.length; u += 2)
1262
+ k[u][0](k[u + 1]);
1263
+ k.length = 0;
1264
+ }
1265
+ }
1266
+ }
1267
+ function o(s) {
1268
+ i(s(e));
1269
+ }
1270
+ function a(s, l = H) {
1271
+ const u = [s, l];
1272
+ return n.add(u), n.size === 1 && (r = t(i, o) || H), s(e), () => {
1273
+ n.delete(u), n.size === 0 && r && (r(), r = null);
1274
+ };
1275
+ }
1276
+ return { set: i, update: o, subscribe: a };
1277
+ }
1278
+ function Y(e, t, r) {
1279
+ const n = !Array.isArray(e), i = n ? [e] : e;
1280
+ if (!i.every(Boolean))
1281
+ throw new Error("derived() expects stores as input, got a falsy value");
1282
+ const o = t.length < 2;
1283
+ return gn(r, (a, s) => {
1284
+ let l = !1;
1285
+ const u = [];
1286
+ let h = 0, f = H;
1287
+ const c = () => {
1288
+ if (h)
1289
+ return;
1290
+ f();
1291
+ const p = t(n ? u[0] : u, a, s);
1292
+ o ? a(p) : f = ue(p) ? p : H;
1293
+ }, d = i.map(
1294
+ (p, m) => Ct(
1295
+ p,
1296
+ (x) => {
1297
+ u[m] = x, h &= ~(1 << m), l && c();
1298
+ },
1299
+ () => {
1300
+ h |= 1 << m;
1301
+ }
1302
+ )
1303
+ );
1304
+ return l = !0, c(), function() {
1305
+ D(d), f(), l = !1;
1306
+ };
1307
+ });
1308
+ }
1309
+ var Ro = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1310
+ function yn(e) {
1311
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1312
+ }
1313
+ var vn = function(t) {
1314
+ return _n(t) && !xn(t);
1315
+ };
1316
+ function _n(e) {
1317
+ return !!e && typeof e == "object";
1318
+ }
1319
+ function xn(e) {
1320
+ var t = Object.prototype.toString.call(e);
1321
+ return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
1322
+ }
1323
+ var En = typeof Symbol == "function" && Symbol.for, Sn = En ? Symbol.for("react.element") : 60103;
1324
+ function Tn(e) {
1325
+ return e.$$typeof === Sn;
1326
+ }
1327
+ function wn(e) {
1328
+ return Array.isArray(e) ? [] : {};
1329
+ }
1330
+ function se(e, t) {
1331
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(wn(e), e, t) : e;
1332
+ }
1333
+ function Hn(e, t, r) {
1334
+ return e.concat(t).map(function(n) {
1335
+ return se(n, r);
1336
+ });
1337
+ }
1338
+ function Bn(e, t) {
1339
+ if (!t.customMerge)
1340
+ return Z;
1341
+ var r = t.customMerge(e);
1342
+ return typeof r == "function" ? r : Z;
1343
+ }
1344
+ function An(e) {
1345
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1346
+ return Object.propertyIsEnumerable.call(e, t);
1347
+ }) : [];
1348
+ }
1349
+ function yt(e) {
1350
+ return Object.keys(e).concat(An(e));
1351
+ }
1352
+ function Yt(e, t) {
1353
+ try {
1354
+ return t in e;
1355
+ } catch {
1356
+ return !1;
1357
+ }
1358
+ }
1359
+ function Pn(e, t) {
1360
+ return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1361
+ }
1362
+ function On(e, t, r) {
1363
+ var n = {};
1364
+ return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1365
+ n[i] = se(e[i], r);
1366
+ }), yt(t).forEach(function(i) {
1367
+ Pn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Bn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1368
+ }), n;
1369
+ }
1370
+ function Z(e, t, r) {
1371
+ r = r || {}, r.arrayMerge = r.arrayMerge || Hn, r.isMergeableObject = r.isMergeableObject || vn, r.cloneUnlessOtherwiseSpecified = se;
1372
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1373
+ return o ? n ? r.arrayMerge(e, t, r) : On(e, t, r) : se(t, r);
1374
+ }
1375
+ Z.all = function(t, r) {
1376
+ if (!Array.isArray(t))
1377
+ throw new Error("first argument should be an array");
1378
+ return t.reduce(function(n, i) {
1379
+ return Z(n, i, r);
1380
+ }, {});
1381
+ };
1382
+ var In = Z, Ln = In;
1383
+ const Mn = /* @__PURE__ */ yn(Ln);
1384
+ function $e(e, t) {
1385
+ var r = t && t.cache ? t.cache : Dn, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : Cn;
1386
+ return i(e, {
1387
+ cache: r,
1388
+ serializer: n
1389
+ });
1390
+ }
1391
+ function Nn(e) {
1392
+ return e == null || typeof e == "number" || typeof e == "boolean";
1393
+ }
1394
+ function Kt(e, t, r, n) {
1395
+ var i = Nn(n) ? n : r(n), o = t.get(i);
1396
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1397
+ }
1398
+ function er(e, t, r) {
1399
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1400
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1401
+ }
1402
+ function it(e, t, r, n, i) {
1403
+ return r.bind(t, e, n, i);
1404
+ }
1405
+ function Cn(e, t) {
1406
+ var r = e.length === 1 ? Kt : er;
1407
+ return it(e, this, r, t.cache.create(), t.serializer);
1408
+ }
1409
+ function $n(e, t) {
1410
+ return it(e, this, er, t.cache.create(), t.serializer);
1411
+ }
1412
+ function Rn(e, t) {
1413
+ return it(e, this, Kt, t.cache.create(), t.serializer);
1414
+ }
1415
+ var Un = function() {
1416
+ return JSON.stringify(arguments);
1417
+ };
1418
+ function ot() {
1419
+ this.cache = /* @__PURE__ */ Object.create(null);
1420
+ }
1421
+ ot.prototype.get = function(e) {
1422
+ return this.cache[e];
1423
+ };
1424
+ ot.prototype.set = function(e, t) {
1425
+ this.cache[e] = t;
1426
+ };
1427
+ var Dn = {
1428
+ create: function() {
1429
+ return new ot();
1430
+ }
1431
+ }, Re = {
1432
+ variadic: $n,
1433
+ monadic: Rn
1434
+ }, b;
1435
+ (function(e) {
1436
+ 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";
1437
+ })(b || (b = {}));
1438
+ var _;
1439
+ (function(e) {
1440
+ 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";
1441
+ })(_ || (_ = {}));
1442
+ var q;
1443
+ (function(e) {
1444
+ e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1445
+ })(q || (q = {}));
1446
+ function vt(e) {
1447
+ return e.type === _.literal;
1448
+ }
1449
+ function Gn(e) {
1450
+ return e.type === _.argument;
1451
+ }
1452
+ function tr(e) {
1453
+ return e.type === _.number;
1454
+ }
1455
+ function rr(e) {
1456
+ return e.type === _.date;
1457
+ }
1458
+ function nr(e) {
1459
+ return e.type === _.time;
1460
+ }
1461
+ function ir(e) {
1462
+ return e.type === _.select;
1463
+ }
1464
+ function or(e) {
1465
+ return e.type === _.plural;
1466
+ }
1467
+ function Fn(e) {
1468
+ return e.type === _.pound;
1469
+ }
1470
+ function sr(e) {
1471
+ return e.type === _.tag;
1472
+ }
1473
+ function ar(e) {
1474
+ return !!(e && typeof e == "object" && e.type === q.number);
1475
+ }
1476
+ function Ze(e) {
1477
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
1478
+ }
1479
+ var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1480
+ function kn(e) {
1481
+ var t = {};
1482
+ return e.replace(jn, function(r) {
1483
+ var n = r.length;
1484
+ switch (r[0]) {
1485
+ case "G":
1486
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1487
+ break;
1488
+ case "y":
1489
+ t.year = n === 2 ? "2-digit" : "numeric";
1490
+ break;
1491
+ case "Y":
1492
+ case "u":
1493
+ case "U":
1494
+ case "r":
1495
+ throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
1496
+ case "q":
1497
+ case "Q":
1498
+ throw new RangeError("`q/Q` (quarter) patterns are not supported");
1499
+ case "M":
1500
+ case "L":
1501
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1502
+ break;
1503
+ case "w":
1504
+ case "W":
1505
+ throw new RangeError("`w/W` (week) patterns are not supported");
1506
+ case "d":
1507
+ t.day = ["numeric", "2-digit"][n - 1];
1508
+ break;
1509
+ case "D":
1510
+ case "F":
1511
+ case "g":
1512
+ throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1513
+ case "E":
1514
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1515
+ break;
1516
+ case "e":
1517
+ if (n < 4)
1518
+ throw new RangeError("`e..eee` (weekday) patterns are not supported");
1519
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1520
+ break;
1521
+ case "c":
1522
+ if (n < 4)
1523
+ throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1524
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1525
+ break;
1526
+ case "a":
1527
+ t.hour12 = !0;
1528
+ break;
1529
+ case "b":
1530
+ case "B":
1531
+ throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1532
+ case "h":
1533
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1534
+ break;
1535
+ case "H":
1536
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1537
+ break;
1538
+ case "K":
1539
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1540
+ break;
1541
+ case "k":
1542
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1543
+ break;
1544
+ case "j":
1545
+ case "J":
1546
+ case "C":
1547
+ throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1548
+ case "m":
1549
+ t.minute = ["numeric", "2-digit"][n - 1];
1550
+ break;
1551
+ case "s":
1552
+ t.second = ["numeric", "2-digit"][n - 1];
1553
+ break;
1554
+ case "S":
1555
+ case "A":
1556
+ throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1557
+ case "z":
1558
+ t.timeZoneName = n < 4 ? "short" : "long";
1559
+ break;
1560
+ case "Z":
1561
+ case "O":
1562
+ case "v":
1563
+ case "V":
1564
+ case "X":
1565
+ case "x":
1566
+ throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
1567
+ }
1568
+ return "";
1569
+ }), t;
1570
+ }
1571
+ var Vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1572
+ function Xn(e) {
1573
+ if (e.length === 0)
1574
+ throw new Error("Number skeleton cannot be empty");
1575
+ for (var t = e.split(Vn).filter(function(c) {
1576
+ return c.length > 0;
1577
+ }), r = [], n = 0, i = t; n < i.length; n++) {
1578
+ var o = i[n], a = o.split("/");
1579
+ if (a.length === 0)
1580
+ throw new Error("Invalid number skeleton");
1581
+ for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1582
+ var f = h[u];
1583
+ if (f.length === 0)
1584
+ throw new Error("Invalid number skeleton");
1585
+ }
1586
+ r.push({ stem: s, options: l });
1587
+ }
1588
+ return r;
1589
+ }
1590
+ function Wn(e) {
1591
+ return e.replace(/^(.*?)-/, "");
1592
+ }
1593
+ var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, zn = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
1594
+ function xt(e) {
1595
+ var t = {};
1596
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, n, i) {
1597
+ 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)), "";
1598
+ }), t;
1599
+ }
1600
+ function cr(e) {
1601
+ switch (e) {
1602
+ case "sign-auto":
1603
+ return {
1604
+ signDisplay: "auto"
1605
+ };
1606
+ case "sign-accounting":
1607
+ case "()":
1608
+ return {
1609
+ currencySign: "accounting"
1610
+ };
1611
+ case "sign-always":
1612
+ case "+!":
1613
+ return {
1614
+ signDisplay: "always"
1615
+ };
1616
+ case "sign-accounting-always":
1617
+ case "()!":
1618
+ return {
1619
+ signDisplay: "always",
1620
+ currencySign: "accounting"
1621
+ };
1622
+ case "sign-except-zero":
1623
+ case "+?":
1624
+ return {
1625
+ signDisplay: "exceptZero"
1626
+ };
1627
+ case "sign-accounting-except-zero":
1628
+ case "()?":
1629
+ return {
1630
+ signDisplay: "exceptZero",
1631
+ currencySign: "accounting"
1632
+ };
1633
+ case "sign-never":
1634
+ case "+_":
1635
+ return {
1636
+ signDisplay: "never"
1637
+ };
1638
+ }
1639
+ }
1640
+ function Zn(e) {
1641
+ var t;
1642
+ if (e[0] === "E" && e[1] === "E" ? (t = {
1643
+ notation: "engineering"
1644
+ }, e = e.slice(2)) : e[0] === "E" && (t = {
1645
+ notation: "scientific"
1646
+ }, e = e.slice(1)), t) {
1647
+ var r = e.slice(0, 2);
1648
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
1649
+ throw new Error("Malformed concise eng/scientific notation");
1650
+ t.minimumIntegerDigits = e.length;
1651
+ }
1652
+ return t;
1653
+ }
1654
+ function Et(e) {
1655
+ var t = {}, r = cr(e);
1656
+ return r || t;
1657
+ }
1658
+ function qn(e) {
1659
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
1660
+ var i = n[r];
1661
+ switch (i.stem) {
1662
+ case "percent":
1663
+ case "%":
1664
+ t.style = "percent";
1665
+ continue;
1666
+ case "%x100":
1667
+ t.style = "percent", t.scale = 100;
1668
+ continue;
1669
+ case "currency":
1670
+ t.style = "currency", t.currency = i.options[0];
1671
+ continue;
1672
+ case "group-off":
1673
+ case ",_":
1674
+ t.useGrouping = !1;
1675
+ continue;
1676
+ case "precision-integer":
1677
+ case ".":
1678
+ t.maximumFractionDigits = 0;
1679
+ continue;
1680
+ case "measure-unit":
1681
+ case "unit":
1682
+ t.style = "unit", t.unit = Wn(i.options[0]);
1683
+ continue;
1684
+ case "compact-short":
1685
+ case "K":
1686
+ t.notation = "compact", t.compactDisplay = "short";
1687
+ continue;
1688
+ case "compact-long":
1689
+ case "KK":
1690
+ t.notation = "compact", t.compactDisplay = "long";
1691
+ continue;
1692
+ case "scientific":
1693
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1694
+ return y(y({}, l), Et(u));
1695
+ }, {}));
1696
+ continue;
1697
+ case "engineering":
1698
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1699
+ return y(y({}, l), Et(u));
1700
+ }, {}));
1701
+ continue;
1702
+ case "notation-simple":
1703
+ t.notation = "standard";
1704
+ continue;
1705
+ case "unit-width-narrow":
1706
+ t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
1707
+ continue;
1708
+ case "unit-width-short":
1709
+ t.currencyDisplay = "code", t.unitDisplay = "short";
1710
+ continue;
1711
+ case "unit-width-full-name":
1712
+ t.currencyDisplay = "name", t.unitDisplay = "long";
1713
+ continue;
1714
+ case "unit-width-iso-code":
1715
+ t.currencyDisplay = "symbol";
1716
+ continue;
1717
+ case "scale":
1718
+ t.scale = parseFloat(i.options[0]);
1719
+ continue;
1720
+ case "rounding-mode-floor":
1721
+ t.roundingMode = "floor";
1722
+ continue;
1723
+ case "rounding-mode-ceiling":
1724
+ t.roundingMode = "ceil";
1725
+ continue;
1726
+ case "rounding-mode-down":
1727
+ t.roundingMode = "trunc";
1728
+ continue;
1729
+ case "rounding-mode-up":
1730
+ t.roundingMode = "expand";
1731
+ continue;
1732
+ case "rounding-mode-half-even":
1733
+ t.roundingMode = "halfEven";
1734
+ continue;
1735
+ case "rounding-mode-half-down":
1736
+ t.roundingMode = "halfTrunc";
1737
+ continue;
1738
+ case "rounding-mode-half-up":
1739
+ t.roundingMode = "halfExpand";
1740
+ continue;
1741
+ case "integer-width":
1742
+ if (i.options.length > 1)
1743
+ throw new RangeError("integer-width stems only accept a single optional option");
1744
+ i.options[0].replace(zn, function(l, u, h, f, c, d) {
1745
+ if (u)
1746
+ t.minimumIntegerDigits = h.length;
1747
+ else {
1748
+ if (f && c)
1749
+ throw new Error("We currently do not support maximum integer digits");
1750
+ if (d)
1751
+ throw new Error("We currently do not support exact integer digits");
1752
+ }
1753
+ return "";
1754
+ });
1755
+ continue;
1756
+ }
1757
+ if (hr.test(i.stem)) {
1758
+ t.minimumIntegerDigits = i.stem.length;
1759
+ continue;
1760
+ }
1761
+ if (_t.test(i.stem)) {
1762
+ if (i.options.length > 1)
1763
+ throw new RangeError("Fraction-precision stems only accept a single optional option");
1764
+ i.stem.replace(_t, function(l, u, h, f, c, d) {
1765
+ 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), "";
1766
+ });
1767
+ var o = i.options[0];
1768
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), xt(o)));
1769
+ continue;
1770
+ }
1771
+ if (lr.test(i.stem)) {
1772
+ t = y(y({}, t), xt(i.stem));
1773
+ continue;
1774
+ }
1775
+ var a = cr(i.stem);
1776
+ a && (t = y(y({}, t), a));
1777
+ var s = Zn(i.stem);
1778
+ s && (t = y(y({}, t), s));
1779
+ }
1780
+ return t;
1781
+ }
1782
+ var me = {
1783
+ "001": [
1784
+ "H",
1785
+ "h"
1786
+ ],
1787
+ 419: [
1788
+ "h",
1789
+ "H",
1790
+ "hB",
1791
+ "hb"
1792
+ ],
1793
+ AC: [
1794
+ "H",
1795
+ "h",
1796
+ "hb",
1797
+ "hB"
1798
+ ],
1799
+ AD: [
1800
+ "H",
1801
+ "hB"
1802
+ ],
1803
+ AE: [
1804
+ "h",
1805
+ "hB",
1806
+ "hb",
1807
+ "H"
1808
+ ],
1809
+ AF: [
1810
+ "H",
1811
+ "hb",
1812
+ "hB",
1813
+ "h"
1814
+ ],
1815
+ AG: [
1816
+ "h",
1817
+ "hb",
1818
+ "H",
1819
+ "hB"
1820
+ ],
1821
+ AI: [
1822
+ "H",
1823
+ "h",
1824
+ "hb",
1825
+ "hB"
1826
+ ],
1827
+ AL: [
1828
+ "h",
1829
+ "H",
1830
+ "hB"
1831
+ ],
1832
+ AM: [
1833
+ "H",
1834
+ "hB"
1835
+ ],
1836
+ AO: [
1837
+ "H",
1838
+ "hB"
1839
+ ],
1840
+ AR: [
1841
+ "h",
1842
+ "H",
1843
+ "hB",
1844
+ "hb"
1845
+ ],
1846
+ AS: [
1847
+ "h",
1848
+ "H"
1849
+ ],
1850
+ AT: [
1851
+ "H",
1852
+ "hB"
1853
+ ],
1854
+ AU: [
1855
+ "h",
1856
+ "hb",
1857
+ "H",
1858
+ "hB"
1859
+ ],
1860
+ AW: [
1861
+ "H",
1862
+ "hB"
1863
+ ],
1864
+ AX: [
1865
+ "H"
1866
+ ],
1867
+ AZ: [
1868
+ "H",
1869
+ "hB",
1870
+ "h"
1871
+ ],
1872
+ BA: [
1873
+ "H",
1874
+ "hB",
1875
+ "h"
1876
+ ],
1877
+ BB: [
1878
+ "h",
1879
+ "hb",
1880
+ "H",
1881
+ "hB"
1882
+ ],
1883
+ BD: [
1884
+ "h",
1885
+ "hB",
1886
+ "H"
1887
+ ],
1888
+ BE: [
1889
+ "H",
1890
+ "hB"
1891
+ ],
1892
+ BF: [
1893
+ "H",
1894
+ "hB"
1895
+ ],
1896
+ BG: [
1897
+ "H",
1898
+ "hB",
1899
+ "h"
1900
+ ],
1901
+ BH: [
1902
+ "h",
1903
+ "hB",
1904
+ "hb",
1905
+ "H"
1906
+ ],
1907
+ BI: [
1908
+ "H",
1909
+ "h"
1910
+ ],
1911
+ BJ: [
1912
+ "H",
1913
+ "hB"
1914
+ ],
1915
+ BL: [
1916
+ "H",
1917
+ "hB"
1918
+ ],
1919
+ BM: [
1920
+ "h",
1921
+ "hb",
1922
+ "H",
1923
+ "hB"
1924
+ ],
1925
+ BN: [
1926
+ "hb",
1927
+ "hB",
1928
+ "h",
1929
+ "H"
1930
+ ],
1931
+ BO: [
1932
+ "h",
1933
+ "H",
1934
+ "hB",
1935
+ "hb"
1936
+ ],
1937
+ BQ: [
1938
+ "H"
1939
+ ],
1940
+ BR: [
1941
+ "H",
1942
+ "hB"
1943
+ ],
1944
+ BS: [
1945
+ "h",
1946
+ "hb",
1947
+ "H",
1948
+ "hB"
1949
+ ],
1950
+ BT: [
1951
+ "h",
1952
+ "H"
1953
+ ],
1954
+ BW: [
1955
+ "H",
1956
+ "h",
1957
+ "hb",
1958
+ "hB"
1959
+ ],
1960
+ BY: [
1961
+ "H",
1962
+ "h"
1963
+ ],
1964
+ BZ: [
1965
+ "H",
1966
+ "h",
1967
+ "hb",
1968
+ "hB"
1969
+ ],
1970
+ CA: [
1971
+ "h",
1972
+ "hb",
1973
+ "H",
1974
+ "hB"
1975
+ ],
1976
+ CC: [
1977
+ "H",
1978
+ "h",
1979
+ "hb",
1980
+ "hB"
1981
+ ],
1982
+ CD: [
1983
+ "hB",
1984
+ "H"
1985
+ ],
1986
+ CF: [
1987
+ "H",
1988
+ "h",
1989
+ "hB"
1990
+ ],
1991
+ CG: [
1992
+ "H",
1993
+ "hB"
1994
+ ],
1995
+ CH: [
1996
+ "H",
1997
+ "hB",
1998
+ "h"
1999
+ ],
2000
+ CI: [
2001
+ "H",
2002
+ "hB"
2003
+ ],
2004
+ CK: [
2005
+ "H",
2006
+ "h",
2007
+ "hb",
2008
+ "hB"
2009
+ ],
2010
+ CL: [
2011
+ "h",
2012
+ "H",
2013
+ "hB",
2014
+ "hb"
2015
+ ],
2016
+ CM: [
2017
+ "H",
2018
+ "h",
2019
+ "hB"
2020
+ ],
2021
+ CN: [
2022
+ "H",
2023
+ "hB",
2024
+ "hb",
2025
+ "h"
2026
+ ],
2027
+ CO: [
2028
+ "h",
2029
+ "H",
2030
+ "hB",
2031
+ "hb"
2032
+ ],
2033
+ CP: [
2034
+ "H"
2035
+ ],
2036
+ CR: [
2037
+ "h",
2038
+ "H",
2039
+ "hB",
2040
+ "hb"
2041
+ ],
2042
+ CU: [
2043
+ "h",
2044
+ "H",
2045
+ "hB",
2046
+ "hb"
2047
+ ],
2048
+ CV: [
2049
+ "H",
2050
+ "hB"
2051
+ ],
2052
+ CW: [
2053
+ "H",
2054
+ "hB"
2055
+ ],
2056
+ CX: [
2057
+ "H",
2058
+ "h",
2059
+ "hb",
2060
+ "hB"
2061
+ ],
2062
+ CY: [
2063
+ "h",
2064
+ "H",
2065
+ "hb",
2066
+ "hB"
2067
+ ],
2068
+ CZ: [
2069
+ "H"
2070
+ ],
2071
+ DE: [
2072
+ "H",
2073
+ "hB"
2074
+ ],
2075
+ DG: [
2076
+ "H",
2077
+ "h",
2078
+ "hb",
2079
+ "hB"
2080
+ ],
2081
+ DJ: [
2082
+ "h",
2083
+ "H"
2084
+ ],
2085
+ DK: [
2086
+ "H"
2087
+ ],
2088
+ DM: [
2089
+ "h",
2090
+ "hb",
2091
+ "H",
2092
+ "hB"
2093
+ ],
2094
+ DO: [
2095
+ "h",
2096
+ "H",
2097
+ "hB",
2098
+ "hb"
2099
+ ],
2100
+ DZ: [
2101
+ "h",
2102
+ "hB",
2103
+ "hb",
2104
+ "H"
2105
+ ],
2106
+ EA: [
2107
+ "H",
2108
+ "h",
2109
+ "hB",
2110
+ "hb"
2111
+ ],
2112
+ EC: [
2113
+ "h",
2114
+ "H",
2115
+ "hB",
2116
+ "hb"
2117
+ ],
2118
+ EE: [
2119
+ "H",
2120
+ "hB"
2121
+ ],
2122
+ EG: [
2123
+ "h",
2124
+ "hB",
2125
+ "hb",
2126
+ "H"
2127
+ ],
2128
+ EH: [
2129
+ "h",
2130
+ "hB",
2131
+ "hb",
2132
+ "H"
2133
+ ],
2134
+ ER: [
2135
+ "h",
2136
+ "H"
2137
+ ],
2138
+ ES: [
2139
+ "H",
2140
+ "hB",
2141
+ "h",
2142
+ "hb"
2143
+ ],
2144
+ ET: [
2145
+ "hB",
2146
+ "hb",
2147
+ "h",
2148
+ "H"
2149
+ ],
2150
+ FI: [
2151
+ "H"
2152
+ ],
2153
+ FJ: [
2154
+ "h",
2155
+ "hb",
2156
+ "H",
2157
+ "hB"
2158
+ ],
2159
+ FK: [
2160
+ "H",
2161
+ "h",
2162
+ "hb",
2163
+ "hB"
2164
+ ],
2165
+ FM: [
2166
+ "h",
2167
+ "hb",
2168
+ "H",
2169
+ "hB"
2170
+ ],
2171
+ FO: [
2172
+ "H",
2173
+ "h"
2174
+ ],
2175
+ FR: [
2176
+ "H",
2177
+ "hB"
2178
+ ],
2179
+ GA: [
2180
+ "H",
2181
+ "hB"
2182
+ ],
2183
+ GB: [
2184
+ "H",
2185
+ "h",
2186
+ "hb",
2187
+ "hB"
2188
+ ],
2189
+ GD: [
2190
+ "h",
2191
+ "hb",
2192
+ "H",
2193
+ "hB"
2194
+ ],
2195
+ GE: [
2196
+ "H",
2197
+ "hB",
2198
+ "h"
2199
+ ],
2200
+ GF: [
2201
+ "H",
2202
+ "hB"
2203
+ ],
2204
+ GG: [
2205
+ "H",
2206
+ "h",
2207
+ "hb",
2208
+ "hB"
2209
+ ],
2210
+ GH: [
2211
+ "h",
2212
+ "H"
2213
+ ],
2214
+ GI: [
2215
+ "H",
2216
+ "h",
2217
+ "hb",
2218
+ "hB"
2219
+ ],
2220
+ GL: [
2221
+ "H",
2222
+ "h"
2223
+ ],
2224
+ GM: [
2225
+ "h",
2226
+ "hb",
2227
+ "H",
2228
+ "hB"
2229
+ ],
2230
+ GN: [
2231
+ "H",
2232
+ "hB"
2233
+ ],
2234
+ GP: [
2235
+ "H",
2236
+ "hB"
2237
+ ],
2238
+ GQ: [
2239
+ "H",
2240
+ "hB",
2241
+ "h",
2242
+ "hb"
2243
+ ],
2244
+ GR: [
2245
+ "h",
2246
+ "H",
2247
+ "hb",
2248
+ "hB"
2249
+ ],
2250
+ GT: [
2251
+ "h",
2252
+ "H",
2253
+ "hB",
2254
+ "hb"
2255
+ ],
2256
+ GU: [
2257
+ "h",
2258
+ "hb",
2259
+ "H",
2260
+ "hB"
2261
+ ],
2262
+ GW: [
2263
+ "H",
2264
+ "hB"
2265
+ ],
2266
+ GY: [
2267
+ "h",
2268
+ "hb",
2269
+ "H",
2270
+ "hB"
2271
+ ],
2272
+ HK: [
2273
+ "h",
2274
+ "hB",
2275
+ "hb",
2276
+ "H"
2277
+ ],
2278
+ HN: [
2279
+ "h",
2280
+ "H",
2281
+ "hB",
2282
+ "hb"
2283
+ ],
2284
+ HR: [
2285
+ "H",
2286
+ "hB"
2287
+ ],
2288
+ HU: [
2289
+ "H",
2290
+ "h"
2291
+ ],
2292
+ IC: [
2293
+ "H",
2294
+ "h",
2295
+ "hB",
2296
+ "hb"
2297
+ ],
2298
+ ID: [
2299
+ "H"
2300
+ ],
2301
+ IE: [
2302
+ "H",
2303
+ "h",
2304
+ "hb",
2305
+ "hB"
2306
+ ],
2307
+ IL: [
2308
+ "H",
2309
+ "hB"
2310
+ ],
2311
+ IM: [
2312
+ "H",
2313
+ "h",
2314
+ "hb",
2315
+ "hB"
2316
+ ],
2317
+ IN: [
2318
+ "h",
2319
+ "H"
2320
+ ],
2321
+ IO: [
2322
+ "H",
2323
+ "h",
2324
+ "hb",
2325
+ "hB"
2326
+ ],
2327
+ IQ: [
2328
+ "h",
2329
+ "hB",
2330
+ "hb",
2331
+ "H"
2332
+ ],
2333
+ IR: [
2334
+ "hB",
2335
+ "H"
2336
+ ],
2337
+ IS: [
2338
+ "H"
2339
+ ],
2340
+ IT: [
2341
+ "H",
2342
+ "hB"
2343
+ ],
2344
+ JE: [
2345
+ "H",
2346
+ "h",
2347
+ "hb",
2348
+ "hB"
2349
+ ],
2350
+ JM: [
2351
+ "h",
2352
+ "hb",
2353
+ "H",
2354
+ "hB"
2355
+ ],
2356
+ JO: [
2357
+ "h",
2358
+ "hB",
2359
+ "hb",
2360
+ "H"
2361
+ ],
2362
+ JP: [
2363
+ "H",
2364
+ "K",
2365
+ "h"
2366
+ ],
2367
+ KE: [
2368
+ "hB",
2369
+ "hb",
2370
+ "H",
2371
+ "h"
2372
+ ],
2373
+ KG: [
2374
+ "H",
2375
+ "h",
2376
+ "hB",
2377
+ "hb"
2378
+ ],
2379
+ KH: [
2380
+ "hB",
2381
+ "h",
2382
+ "H",
2383
+ "hb"
2384
+ ],
2385
+ KI: [
2386
+ "h",
2387
+ "hb",
2388
+ "H",
2389
+ "hB"
2390
+ ],
2391
+ KM: [
2392
+ "H",
2393
+ "h",
2394
+ "hB",
2395
+ "hb"
2396
+ ],
2397
+ KN: [
2398
+ "h",
2399
+ "hb",
2400
+ "H",
2401
+ "hB"
2402
+ ],
2403
+ KP: [
2404
+ "h",
2405
+ "H",
2406
+ "hB",
2407
+ "hb"
2408
+ ],
2409
+ KR: [
2410
+ "h",
2411
+ "H",
2412
+ "hB",
2413
+ "hb"
2414
+ ],
2415
+ KW: [
2416
+ "h",
2417
+ "hB",
2418
+ "hb",
2419
+ "H"
2420
+ ],
2421
+ KY: [
2422
+ "h",
2423
+ "hb",
2424
+ "H",
2425
+ "hB"
2426
+ ],
2427
+ KZ: [
2428
+ "H",
2429
+ "hB"
2430
+ ],
2431
+ LA: [
2432
+ "H",
2433
+ "hb",
2434
+ "hB",
2435
+ "h"
2436
+ ],
2437
+ LB: [
2438
+ "h",
2439
+ "hB",
2440
+ "hb",
2441
+ "H"
2442
+ ],
2443
+ LC: [
2444
+ "h",
2445
+ "hb",
2446
+ "H",
2447
+ "hB"
2448
+ ],
2449
+ LI: [
2450
+ "H",
2451
+ "hB",
2452
+ "h"
2453
+ ],
2454
+ LK: [
2455
+ "H",
2456
+ "h",
2457
+ "hB",
2458
+ "hb"
2459
+ ],
2460
+ LR: [
2461
+ "h",
2462
+ "hb",
2463
+ "H",
2464
+ "hB"
2465
+ ],
2466
+ LS: [
2467
+ "h",
2468
+ "H"
2469
+ ],
2470
+ LT: [
2471
+ "H",
2472
+ "h",
2473
+ "hb",
2474
+ "hB"
2475
+ ],
2476
+ LU: [
2477
+ "H",
2478
+ "h",
2479
+ "hB"
2480
+ ],
2481
+ LV: [
2482
+ "H",
2483
+ "hB",
2484
+ "hb",
2485
+ "h"
2486
+ ],
2487
+ LY: [
2488
+ "h",
2489
+ "hB",
2490
+ "hb",
2491
+ "H"
2492
+ ],
2493
+ MA: [
2494
+ "H",
2495
+ "h",
2496
+ "hB",
2497
+ "hb"
2498
+ ],
2499
+ MC: [
2500
+ "H",
2501
+ "hB"
2502
+ ],
2503
+ MD: [
2504
+ "H",
2505
+ "hB"
2506
+ ],
2507
+ ME: [
2508
+ "H",
2509
+ "hB",
2510
+ "h"
2511
+ ],
2512
+ MF: [
2513
+ "H",
2514
+ "hB"
2515
+ ],
2516
+ MG: [
2517
+ "H",
2518
+ "h"
2519
+ ],
2520
+ MH: [
2521
+ "h",
2522
+ "hb",
2523
+ "H",
2524
+ "hB"
2525
+ ],
2526
+ MK: [
2527
+ "H",
2528
+ "h",
2529
+ "hb",
2530
+ "hB"
2531
+ ],
2532
+ ML: [
2533
+ "H"
2534
+ ],
2535
+ MM: [
2536
+ "hB",
2537
+ "hb",
2538
+ "H",
2539
+ "h"
2540
+ ],
2541
+ MN: [
2542
+ "H",
2543
+ "h",
2544
+ "hb",
2545
+ "hB"
2546
+ ],
2547
+ MO: [
2548
+ "h",
2549
+ "hB",
2550
+ "hb",
2551
+ "H"
2552
+ ],
2553
+ MP: [
2554
+ "h",
2555
+ "hb",
2556
+ "H",
2557
+ "hB"
2558
+ ],
2559
+ MQ: [
2560
+ "H",
2561
+ "hB"
2562
+ ],
2563
+ MR: [
2564
+ "h",
2565
+ "hB",
2566
+ "hb",
2567
+ "H"
2568
+ ],
2569
+ MS: [
2570
+ "H",
2571
+ "h",
2572
+ "hb",
2573
+ "hB"
2574
+ ],
2575
+ MT: [
2576
+ "H",
2577
+ "h"
2578
+ ],
2579
+ MU: [
2580
+ "H",
2581
+ "h"
2582
+ ],
2583
+ MV: [
2584
+ "H",
2585
+ "h"
2586
+ ],
2587
+ MW: [
2588
+ "h",
2589
+ "hb",
2590
+ "H",
2591
+ "hB"
2592
+ ],
2593
+ MX: [
2594
+ "h",
2595
+ "H",
2596
+ "hB",
2597
+ "hb"
2598
+ ],
2599
+ MY: [
2600
+ "hb",
2601
+ "hB",
2602
+ "h",
2603
+ "H"
2604
+ ],
2605
+ MZ: [
2606
+ "H",
2607
+ "hB"
2608
+ ],
2609
+ NA: [
2610
+ "h",
2611
+ "H",
2612
+ "hB",
2613
+ "hb"
2614
+ ],
2615
+ NC: [
2616
+ "H",
2617
+ "hB"
2618
+ ],
2619
+ NE: [
2620
+ "H"
2621
+ ],
2622
+ NF: [
2623
+ "H",
2624
+ "h",
2625
+ "hb",
2626
+ "hB"
2627
+ ],
2628
+ NG: [
2629
+ "H",
2630
+ "h",
2631
+ "hb",
2632
+ "hB"
2633
+ ],
2634
+ NI: [
2635
+ "h",
2636
+ "H",
2637
+ "hB",
2638
+ "hb"
2639
+ ],
2640
+ NL: [
2641
+ "H",
2642
+ "hB"
2643
+ ],
2644
+ NO: [
2645
+ "H",
2646
+ "h"
2647
+ ],
2648
+ NP: [
2649
+ "H",
2650
+ "h",
2651
+ "hB"
2652
+ ],
2653
+ NR: [
2654
+ "H",
2655
+ "h",
2656
+ "hb",
2657
+ "hB"
2658
+ ],
2659
+ NU: [
2660
+ "H",
2661
+ "h",
2662
+ "hb",
2663
+ "hB"
2664
+ ],
2665
+ NZ: [
2666
+ "h",
2667
+ "hb",
2668
+ "H",
2669
+ "hB"
2670
+ ],
2671
+ OM: [
2672
+ "h",
2673
+ "hB",
2674
+ "hb",
2675
+ "H"
2676
+ ],
2677
+ PA: [
2678
+ "h",
2679
+ "H",
2680
+ "hB",
2681
+ "hb"
2682
+ ],
2683
+ PE: [
2684
+ "h",
2685
+ "H",
2686
+ "hB",
2687
+ "hb"
2688
+ ],
2689
+ PF: [
2690
+ "H",
2691
+ "h",
2692
+ "hB"
2693
+ ],
2694
+ PG: [
2695
+ "h",
2696
+ "H"
2697
+ ],
2698
+ PH: [
2699
+ "h",
2700
+ "hB",
2701
+ "hb",
2702
+ "H"
2703
+ ],
2704
+ PK: [
2705
+ "h",
2706
+ "hB",
2707
+ "H"
2708
+ ],
2709
+ PL: [
2710
+ "H",
2711
+ "h"
2712
+ ],
2713
+ PM: [
2714
+ "H",
2715
+ "hB"
2716
+ ],
2717
+ PN: [
2718
+ "H",
2719
+ "h",
2720
+ "hb",
2721
+ "hB"
2722
+ ],
2723
+ PR: [
2724
+ "h",
2725
+ "H",
2726
+ "hB",
2727
+ "hb"
2728
+ ],
2729
+ PS: [
2730
+ "h",
2731
+ "hB",
2732
+ "hb",
2733
+ "H"
2734
+ ],
2735
+ PT: [
2736
+ "H",
2737
+ "hB"
2738
+ ],
2739
+ PW: [
2740
+ "h",
2741
+ "H"
2742
+ ],
2743
+ PY: [
2744
+ "h",
2745
+ "H",
2746
+ "hB",
2747
+ "hb"
2748
+ ],
2749
+ QA: [
2750
+ "h",
2751
+ "hB",
2752
+ "hb",
2753
+ "H"
2754
+ ],
2755
+ RE: [
2756
+ "H",
2757
+ "hB"
2758
+ ],
2759
+ RO: [
2760
+ "H",
2761
+ "hB"
2762
+ ],
2763
+ RS: [
2764
+ "H",
2765
+ "hB",
2766
+ "h"
2767
+ ],
2768
+ RU: [
2769
+ "H"
2770
+ ],
2771
+ RW: [
2772
+ "H",
2773
+ "h"
2774
+ ],
2775
+ SA: [
2776
+ "h",
2777
+ "hB",
2778
+ "hb",
2779
+ "H"
2780
+ ],
2781
+ SB: [
2782
+ "h",
2783
+ "hb",
2784
+ "H",
2785
+ "hB"
2786
+ ],
2787
+ SC: [
2788
+ "H",
2789
+ "h",
2790
+ "hB"
2791
+ ],
2792
+ SD: [
2793
+ "h",
2794
+ "hB",
2795
+ "hb",
2796
+ "H"
2797
+ ],
2798
+ SE: [
2799
+ "H"
2800
+ ],
2801
+ SG: [
2802
+ "h",
2803
+ "hb",
2804
+ "H",
2805
+ "hB"
2806
+ ],
2807
+ SH: [
2808
+ "H",
2809
+ "h",
2810
+ "hb",
2811
+ "hB"
2812
+ ],
2813
+ SI: [
2814
+ "H",
2815
+ "hB"
2816
+ ],
2817
+ SJ: [
2818
+ "H"
2819
+ ],
2820
+ SK: [
2821
+ "H"
2822
+ ],
2823
+ SL: [
2824
+ "h",
2825
+ "hb",
2826
+ "H",
2827
+ "hB"
2828
+ ],
2829
+ SM: [
2830
+ "H",
2831
+ "h",
2832
+ "hB"
2833
+ ],
2834
+ SN: [
2835
+ "H",
2836
+ "h",
2837
+ "hB"
2838
+ ],
2839
+ SO: [
2840
+ "h",
2841
+ "H"
2842
+ ],
2843
+ SR: [
2844
+ "H",
2845
+ "hB"
2846
+ ],
2847
+ SS: [
2848
+ "h",
2849
+ "hb",
2850
+ "H",
2851
+ "hB"
2852
+ ],
2853
+ ST: [
2854
+ "H",
2855
+ "hB"
2856
+ ],
2857
+ SV: [
2858
+ "h",
2859
+ "H",
2860
+ "hB",
2861
+ "hb"
2862
+ ],
2863
+ SX: [
2864
+ "H",
2865
+ "h",
2866
+ "hb",
2867
+ "hB"
2868
+ ],
2869
+ SY: [
2870
+ "h",
2871
+ "hB",
2872
+ "hb",
2873
+ "H"
2874
+ ],
2875
+ SZ: [
2876
+ "h",
2877
+ "hb",
2878
+ "H",
2879
+ "hB"
2880
+ ],
2881
+ TA: [
2882
+ "H",
2883
+ "h",
2884
+ "hb",
2885
+ "hB"
2886
+ ],
2887
+ TC: [
2888
+ "h",
2889
+ "hb",
2890
+ "H",
2891
+ "hB"
2892
+ ],
2893
+ TD: [
2894
+ "h",
2895
+ "H",
2896
+ "hB"
2897
+ ],
2898
+ TF: [
2899
+ "H",
2900
+ "h",
2901
+ "hB"
2902
+ ],
2903
+ TG: [
2904
+ "H",
2905
+ "hB"
2906
+ ],
2907
+ TH: [
2908
+ "H",
2909
+ "h"
2910
+ ],
2911
+ TJ: [
2912
+ "H",
2913
+ "h"
2914
+ ],
2915
+ TL: [
2916
+ "H",
2917
+ "hB",
2918
+ "hb",
2919
+ "h"
2920
+ ],
2921
+ TM: [
2922
+ "H",
2923
+ "h"
2924
+ ],
2925
+ TN: [
2926
+ "h",
2927
+ "hB",
2928
+ "hb",
2929
+ "H"
2930
+ ],
2931
+ TO: [
2932
+ "h",
2933
+ "H"
2934
+ ],
2935
+ TR: [
2936
+ "H",
2937
+ "hB"
2938
+ ],
2939
+ TT: [
2940
+ "h",
2941
+ "hb",
2942
+ "H",
2943
+ "hB"
2944
+ ],
2945
+ TW: [
2946
+ "hB",
2947
+ "hb",
2948
+ "h",
2949
+ "H"
2950
+ ],
2951
+ TZ: [
2952
+ "hB",
2953
+ "hb",
2954
+ "H",
2955
+ "h"
2956
+ ],
2957
+ UA: [
2958
+ "H",
2959
+ "hB",
2960
+ "h"
2961
+ ],
2962
+ UG: [
2963
+ "hB",
2964
+ "hb",
2965
+ "H",
2966
+ "h"
2967
+ ],
2968
+ UM: [
2969
+ "h",
2970
+ "hb",
2971
+ "H",
2972
+ "hB"
2973
+ ],
2974
+ US: [
2975
+ "h",
2976
+ "hb",
2977
+ "H",
2978
+ "hB"
2979
+ ],
2980
+ UY: [
2981
+ "h",
2982
+ "H",
2983
+ "hB",
2984
+ "hb"
2985
+ ],
2986
+ UZ: [
2987
+ "H",
2988
+ "hB",
2989
+ "h"
2990
+ ],
2991
+ VA: [
2992
+ "H",
2993
+ "h",
2994
+ "hB"
2995
+ ],
2996
+ VC: [
2997
+ "h",
2998
+ "hb",
2999
+ "H",
3000
+ "hB"
3001
+ ],
3002
+ VE: [
3003
+ "h",
3004
+ "H",
3005
+ "hB",
3006
+ "hb"
3007
+ ],
3008
+ VG: [
3009
+ "h",
3010
+ "hb",
3011
+ "H",
3012
+ "hB"
3013
+ ],
3014
+ VI: [
3015
+ "h",
3016
+ "hb",
3017
+ "H",
3018
+ "hB"
3019
+ ],
3020
+ VN: [
3021
+ "H",
3022
+ "h"
3023
+ ],
3024
+ VU: [
3025
+ "h",
3026
+ "H"
3027
+ ],
3028
+ WF: [
3029
+ "H",
3030
+ "hB"
3031
+ ],
3032
+ WS: [
3033
+ "h",
3034
+ "H"
3035
+ ],
3036
+ XK: [
3037
+ "H",
3038
+ "hB",
3039
+ "h"
3040
+ ],
3041
+ YE: [
3042
+ "h",
3043
+ "hB",
3044
+ "hb",
3045
+ "H"
3046
+ ],
3047
+ YT: [
3048
+ "H",
3049
+ "hB"
3050
+ ],
3051
+ ZA: [
3052
+ "H",
3053
+ "h",
3054
+ "hb",
3055
+ "hB"
3056
+ ],
3057
+ ZM: [
3058
+ "h",
3059
+ "hb",
3060
+ "H",
3061
+ "hB"
3062
+ ],
3063
+ ZW: [
3064
+ "H",
3065
+ "h"
3066
+ ],
3067
+ "af-ZA": [
3068
+ "H",
3069
+ "h",
3070
+ "hB",
3071
+ "hb"
3072
+ ],
3073
+ "ar-001": [
3074
+ "h",
3075
+ "hB",
3076
+ "hb",
3077
+ "H"
3078
+ ],
3079
+ "ca-ES": [
3080
+ "H",
3081
+ "h",
3082
+ "hB"
3083
+ ],
3084
+ "en-001": [
3085
+ "h",
3086
+ "hb",
3087
+ "H",
3088
+ "hB"
3089
+ ],
3090
+ "en-HK": [
3091
+ "h",
3092
+ "hb",
3093
+ "H",
3094
+ "hB"
3095
+ ],
3096
+ "en-IL": [
3097
+ "H",
3098
+ "h",
3099
+ "hb",
3100
+ "hB"
3101
+ ],
3102
+ "en-MY": [
3103
+ "h",
3104
+ "hb",
3105
+ "H",
3106
+ "hB"
3107
+ ],
3108
+ "es-BR": [
3109
+ "H",
3110
+ "h",
3111
+ "hB",
3112
+ "hb"
3113
+ ],
3114
+ "es-ES": [
3115
+ "H",
3116
+ "h",
3117
+ "hB",
3118
+ "hb"
3119
+ ],
3120
+ "es-GQ": [
3121
+ "H",
3122
+ "h",
3123
+ "hB",
3124
+ "hb"
3125
+ ],
3126
+ "fr-CA": [
3127
+ "H",
3128
+ "h",
3129
+ "hB"
3130
+ ],
3131
+ "gl-ES": [
3132
+ "H",
3133
+ "h",
3134
+ "hB"
3135
+ ],
3136
+ "gu-IN": [
3137
+ "hB",
3138
+ "hb",
3139
+ "h",
3140
+ "H"
3141
+ ],
3142
+ "hi-IN": [
3143
+ "hB",
3144
+ "h",
3145
+ "H"
3146
+ ],
3147
+ "it-CH": [
3148
+ "H",
3149
+ "h",
3150
+ "hB"
3151
+ ],
3152
+ "it-IT": [
3153
+ "H",
3154
+ "h",
3155
+ "hB"
3156
+ ],
3157
+ "kn-IN": [
3158
+ "hB",
3159
+ "h",
3160
+ "H"
3161
+ ],
3162
+ "ml-IN": [
3163
+ "hB",
3164
+ "h",
3165
+ "H"
3166
+ ],
3167
+ "mr-IN": [
3168
+ "hB",
3169
+ "hb",
3170
+ "h",
3171
+ "H"
3172
+ ],
3173
+ "pa-IN": [
3174
+ "hB",
3175
+ "hb",
3176
+ "h",
3177
+ "H"
3178
+ ],
3179
+ "ta-IN": [
3180
+ "hB",
3181
+ "h",
3182
+ "hb",
3183
+ "H"
3184
+ ],
3185
+ "te-IN": [
3186
+ "hB",
3187
+ "h",
3188
+ "H"
3189
+ ],
3190
+ "zu-ZA": [
3191
+ "H",
3192
+ "hB",
3193
+ "hb",
3194
+ "h"
3195
+ ]
3196
+ };
3197
+ function Qn(e, t) {
3198
+ for (var r = "", n = 0; n < e.length; n++) {
3199
+ var i = e.charAt(n);
3200
+ if (i === "j") {
3201
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3202
+ o++, n++;
3203
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Jn(t);
3204
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3205
+ r += l;
3206
+ for (; a-- > 0; )
3207
+ r = u + r;
3208
+ } else i === "J" ? r += "H" : r += i;
3209
+ }
3210
+ return r;
3211
+ }
3212
+ function Jn(e) {
3213
+ var t = e.hourCycle;
3214
+ if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3215
+ e.hourCycles && // @ts-ignore
3216
+ e.hourCycles.length && (t = e.hourCycles[0]), t)
3217
+ switch (t) {
3218
+ case "h24":
3219
+ return "k";
3220
+ case "h23":
3221
+ return "H";
3222
+ case "h12":
3223
+ return "h";
3224
+ case "h11":
3225
+ return "K";
3226
+ default:
3227
+ throw new Error("Invalid hourCycle");
3228
+ }
3229
+ var r = e.language, n;
3230
+ r !== "root" && (n = e.maximize().region);
3231
+ var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
3232
+ return i[0];
3233
+ }
3234
+ var Ue, Yn = new RegExp("^".concat(ur.source, "*")), Kn = new RegExp("".concat(ur.source, "*$"));
3235
+ function g(e, t) {
3236
+ return { start: e, end: t };
3237
+ }
3238
+ var ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), ti = !!String.fromCodePoint, ri = !!Object.fromEntries, ni = !!String.prototype.codePointAt, ii = !!String.prototype.trimStart, oi = !!String.prototype.trimEnd, si = !!Number.isSafeInteger, ai = si ? Number.isSafeInteger : function(e) {
3239
+ return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3240
+ }, qe = !0;
3241
+ try {
3242
+ var ui = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3243
+ qe = ((Ue = ui.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
3244
+ } catch {
3245
+ qe = !1;
3246
+ }
3247
+ var St = ei ? (
3248
+ // Native
3249
+ function(t, r, n) {
3250
+ return t.startsWith(r, n);
3251
+ }
3252
+ ) : (
3253
+ // For IE11
3254
+ function(t, r, n) {
3255
+ return t.slice(n, n + r.length) === r;
3256
+ }
3257
+ ), Qe = ti ? String.fromCodePoint : (
3258
+ // IE11
3259
+ function() {
3260
+ for (var t = [], r = 0; r < arguments.length; r++)
3261
+ t[r] = arguments[r];
3262
+ for (var n = "", i = t.length, o = 0, a; i > o; ) {
3263
+ if (a = t[o++], a > 1114111)
3264
+ throw RangeError(a + " is not a valid code point");
3265
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3266
+ }
3267
+ return n;
3268
+ }
3269
+ ), Tt = (
3270
+ // native
3271
+ ri ? Object.fromEntries : (
3272
+ // Ponyfill
3273
+ function(t) {
3274
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
3275
+ var o = i[n], a = o[0], s = o[1];
3276
+ r[a] = s;
3277
+ }
3278
+ return r;
3279
+ }
3280
+ )
3281
+ ), fr = ni ? (
3282
+ // Native
3283
+ function(t, r) {
3284
+ return t.codePointAt(r);
3285
+ }
3286
+ ) : (
3287
+ // IE 11
3288
+ function(t, r) {
3289
+ var n = t.length;
3290
+ if (!(r < 0 || r >= n)) {
3291
+ var i = t.charCodeAt(r), o;
3292
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3293
+ }
3294
+ }
3295
+ ), li = ii ? (
3296
+ // Native
3297
+ function(t) {
3298
+ return t.trimStart();
3299
+ }
3300
+ ) : (
3301
+ // Ponyfill
3302
+ function(t) {
3303
+ return t.replace(Yn, "");
3304
+ }
3305
+ ), hi = oi ? (
3306
+ // Native
3307
+ function(t) {
3308
+ return t.trimEnd();
3309
+ }
3310
+ ) : (
3311
+ // Ponyfill
3312
+ function(t) {
3313
+ return t.replace(Kn, "");
3314
+ }
3315
+ );
3316
+ function pr(e, t) {
3317
+ return new RegExp(e, t);
3318
+ }
3319
+ var Je;
3320
+ if (qe) {
3321
+ var wt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3322
+ Je = function(t, r) {
3323
+ var n;
3324
+ wt.lastIndex = r;
3325
+ var i = wt.exec(t);
3326
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
3327
+ };
3328
+ } else
3329
+ Je = function(t, r) {
3330
+ for (var n = []; ; ) {
3331
+ var i = fr(t, r);
3332
+ if (i === void 0 || dr(i) || di(i))
3333
+ break;
3334
+ n.push(i), r += i >= 65536 ? 2 : 1;
3335
+ }
3336
+ return Qe.apply(void 0, n);
3337
+ };
3338
+ var ci = (
3339
+ /** @class */
3340
+ function() {
3341
+ function e(t, r) {
3342
+ r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
3343
+ }
3344
+ return e.prototype.parse = function() {
3345
+ if (this.offset() !== 0)
3346
+ throw Error("parser can only be used once");
3347
+ return this.parseMessage(0, "", !1);
3348
+ }, e.prototype.parseMessage = function(t, r, n) {
3349
+ for (var i = []; !this.isEOF(); ) {
3350
+ var o = this.char();
3351
+ if (o === 123) {
3352
+ var a = this.parseArgument(t, n);
3353
+ if (a.err)
3354
+ return a;
3355
+ i.push(a.val);
3356
+ } else {
3357
+ if (o === 125 && t > 0)
3358
+ break;
3359
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
3360
+ var s = this.clonePosition();
3361
+ this.bump(), i.push({
3362
+ type: _.pound,
3363
+ location: g(s, this.clonePosition())
3364
+ });
3365
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3366
+ if (n)
3367
+ break;
3368
+ return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3369
+ } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
3370
+ var a = this.parseTag(t, r);
3371
+ if (a.err)
3372
+ return a;
3373
+ i.push(a.val);
3374
+ } else {
3375
+ var a = this.parseLiteral(t, r);
3376
+ if (a.err)
3377
+ return a;
3378
+ i.push(a.val);
3379
+ }
3380
+ }
3381
+ }
3382
+ return { val: i, err: null };
3383
+ }, e.prototype.parseTag = function(t, r) {
3384
+ var n = this.clonePosition();
3385
+ this.bump();
3386
+ var i = this.parseTagName();
3387
+ if (this.bumpSpace(), this.bumpIf("/>"))
3388
+ return {
3389
+ val: {
3390
+ type: _.literal,
3391
+ value: "<".concat(i, "/>"),
3392
+ location: g(n, this.clonePosition())
3393
+ },
3394
+ err: null
3395
+ };
3396
+ if (this.bumpIf(">")) {
3397
+ var o = this.parseMessage(t + 1, r, !0);
3398
+ if (o.err)
3399
+ return o;
3400
+ var a = o.val, s = this.clonePosition();
3401
+ if (this.bumpIf("</")) {
3402
+ if (this.isEOF() || !Ye(this.char()))
3403
+ return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
3404
+ var l = this.clonePosition(), u = this.parseTagName();
3405
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3406
+ val: {
3407
+ type: _.tag,
3408
+ value: i,
3409
+ children: a,
3410
+ location: g(n, this.clonePosition())
3411
+ },
3412
+ err: null
3413
+ } : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
3414
+ } else
3415
+ return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
3416
+ } else
3417
+ return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3418
+ }, e.prototype.parseTagName = function() {
3419
+ var t = this.offset();
3420
+ for (this.bump(); !this.isEOF() && pi(this.char()); )
3421
+ this.bump();
3422
+ return this.message.slice(t, this.offset());
3423
+ }, e.prototype.parseLiteral = function(t, r) {
3424
+ for (var n = this.clonePosition(), i = ""; ; ) {
3425
+ var o = this.tryParseQuote(r);
3426
+ if (o) {
3427
+ i += o;
3428
+ continue;
3429
+ }
3430
+ var a = this.tryParseUnquoted(t, r);
3431
+ if (a) {
3432
+ i += a;
3433
+ continue;
3434
+ }
3435
+ var s = this.tryParseLeftAngleBracket();
3436
+ if (s) {
3437
+ i += s;
3438
+ continue;
3439
+ }
3440
+ break;
3441
+ }
3442
+ var l = g(n, this.clonePosition());
3443
+ return {
3444
+ val: { type: _.literal, value: i, location: l },
3445
+ err: null
3446
+ };
3447
+ }, e.prototype.tryParseLeftAngleBracket = function() {
3448
+ return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3449
+ !fi(this.peek() || 0)) ? (this.bump(), "<") : null;
3450
+ }, e.prototype.tryParseQuote = function(t) {
3451
+ if (this.isEOF() || this.char() !== 39)
3452
+ return null;
3453
+ switch (this.peek()) {
3454
+ case 39:
3455
+ return this.bump(), this.bump(), "'";
3456
+ case 123:
3457
+ case 60:
3458
+ case 62:
3459
+ case 125:
3460
+ break;
3461
+ case 35:
3462
+ if (t === "plural" || t === "selectordinal")
3463
+ break;
3464
+ return null;
3465
+ default:
3466
+ return null;
3467
+ }
3468
+ this.bump();
3469
+ var r = [this.char()];
3470
+ for (this.bump(); !this.isEOF(); ) {
3471
+ var n = this.char();
3472
+ if (n === 39)
3473
+ if (this.peek() === 39)
3474
+ r.push(39), this.bump();
3475
+ else {
3476
+ this.bump();
3477
+ break;
3478
+ }
3479
+ else
3480
+ r.push(n);
3481
+ this.bump();
3482
+ }
3483
+ return Qe.apply(void 0, r);
3484
+ }, e.prototype.tryParseUnquoted = function(t, r) {
3485
+ if (this.isEOF())
3486
+ return null;
3487
+ var n = this.char();
3488
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3489
+ }, e.prototype.parseArgument = function(t, r) {
3490
+ var n = this.clonePosition();
3491
+ if (this.bump(), this.bumpSpace(), this.isEOF())
3492
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3493
+ if (this.char() === 125)
3494
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3495
+ var i = this.parseIdentifierIfPossible().value;
3496
+ if (!i)
3497
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3498
+ if (this.bumpSpace(), this.isEOF())
3499
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3500
+ switch (this.char()) {
3501
+ case 125:
3502
+ return this.bump(), {
3503
+ val: {
3504
+ type: _.argument,
3505
+ // value does not include the opening and closing braces.
3506
+ value: i,
3507
+ location: g(n, this.clonePosition())
3508
+ },
3509
+ err: null
3510
+ };
3511
+ case 44:
3512
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3513
+ default:
3514
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3515
+ }
3516
+ }, e.prototype.parseIdentifierIfPossible = function() {
3517
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3518
+ this.bumpTo(i);
3519
+ var o = this.clonePosition(), a = g(t, o);
3520
+ return { value: n, location: a };
3521
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3522
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3523
+ switch (s) {
3524
+ case "":
3525
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, l));
3526
+ case "number":
3527
+ case "date":
3528
+ case "time": {
3529
+ this.bumpSpace();
3530
+ var u = null;
3531
+ if (this.bumpIf(",")) {
3532
+ this.bumpSpace();
3533
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3534
+ if (f.err)
3535
+ return f;
3536
+ var c = hi(f.val);
3537
+ if (c.length === 0)
3538
+ return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3539
+ var d = g(h, this.clonePosition());
3540
+ u = { style: c, styleLocation: d };
3541
+ }
3542
+ var p = this.tryParseArgumentClose(i);
3543
+ if (p.err)
3544
+ return p;
3545
+ var m = g(i, this.clonePosition());
3546
+ if (u && St(u?.style, "::", 0)) {
3547
+ var x = li(u.style.slice(2));
3548
+ if (s === "number") {
3549
+ var f = this.parseNumberSkeletonFromString(x, u.styleLocation);
3550
+ return f.err ? f : {
3551
+ val: { type: _.number, value: n, location: m, style: f.val },
3552
+ err: null
3553
+ };
3554
+ } else {
3555
+ if (x.length === 0)
3556
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3557
+ var T = x;
3558
+ this.locale && (T = Qn(x, this.locale));
3559
+ var c = {
3560
+ type: q.dateTime,
3561
+ pattern: T,
3562
+ location: u.styleLocation,
3563
+ parsedOptions: this.shouldParseSkeletons ? kn(T) : {}
3564
+ }, P = s === "date" ? _.date : _.time;
3565
+ return {
3566
+ val: { type: P, value: n, location: m, style: c },
3567
+ err: null
3568
+ };
3569
+ }
3570
+ }
3571
+ return {
3572
+ val: {
3573
+ type: s === "number" ? _.number : s === "date" ? _.date : _.time,
3574
+ value: n,
3575
+ location: m,
3576
+ style: (o = u?.style) !== null && o !== void 0 ? o : null
3577
+ },
3578
+ err: null
3579
+ };
3580
+ }
3581
+ case "plural":
3582
+ case "selectordinal":
3583
+ case "select": {
3584
+ var E = this.clonePosition();
3585
+ if (this.bumpSpace(), !this.bumpIf(","))
3586
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, y({}, E)));
3587
+ this.bumpSpace();
3588
+ var O = this.parseIdentifierIfPossible(), w = 0;
3589
+ if (s !== "select" && O.value === "offset") {
3590
+ if (!this.bumpIf(":"))
3591
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3592
+ this.bumpSpace();
3593
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3594
+ if (f.err)
3595
+ return f;
3596
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = f.val;
3597
+ }
3598
+ var $ = this.tryParsePluralOrSelectOptions(t, s, r, O);
3599
+ if ($.err)
3600
+ return $;
3601
+ var p = this.tryParseArgumentClose(i);
3602
+ if (p.err)
3603
+ return p;
3604
+ var fe = g(i, this.clonePosition());
3605
+ return s === "select" ? {
3606
+ val: {
3607
+ type: _.select,
3608
+ value: n,
3609
+ options: Tt($.val),
3610
+ location: fe
3611
+ },
3612
+ err: null
3613
+ } : {
3614
+ val: {
3615
+ type: _.plural,
3616
+ value: n,
3617
+ options: Tt($.val),
3618
+ offset: w,
3619
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
3620
+ location: fe
3621
+ },
3622
+ err: null
3623
+ };
3624
+ }
3625
+ default:
3626
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(a, l));
3627
+ }
3628
+ }, e.prototype.tryParseArgumentClose = function(t) {
3629
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3630
+ }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3631
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3632
+ var n = this.char();
3633
+ switch (n) {
3634
+ case 39: {
3635
+ this.bump();
3636
+ var i = this.clonePosition();
3637
+ if (!this.bumpUntil("'"))
3638
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3639
+ this.bump();
3640
+ break;
3641
+ }
3642
+ case 123: {
3643
+ t += 1, this.bump();
3644
+ break;
3645
+ }
3646
+ case 125: {
3647
+ if (t > 0)
3648
+ t -= 1;
3649
+ else
3650
+ return {
3651
+ val: this.message.slice(r.offset, this.offset()),
3652
+ err: null
3653
+ };
3654
+ break;
3655
+ }
3656
+ default:
3657
+ this.bump();
3658
+ break;
3659
+ }
3660
+ }
3661
+ return {
3662
+ val: this.message.slice(r.offset, this.offset()),
3663
+ err: null
3664
+ };
3665
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3666
+ var n = [];
3667
+ try {
3668
+ n = Xn(t);
3669
+ } catch {
3670
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3671
+ }
3672
+ return {
3673
+ val: {
3674
+ type: q.number,
3675
+ tokens: n,
3676
+ location: r,
3677
+ parsedOptions: this.shouldParseSkeletons ? qn(n) : {}
3678
+ },
3679
+ err: null
3680
+ };
3681
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3682
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3683
+ if (u.length === 0) {
3684
+ var f = this.clonePosition();
3685
+ if (r !== "select" && this.bumpIf("=")) {
3686
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3687
+ if (c.err)
3688
+ return c;
3689
+ h = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3690
+ } else
3691
+ break;
3692
+ }
3693
+ if (l.has(u))
3694
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3695
+ u === "other" && (a = !0), this.bumpSpace();
3696
+ var d = this.clonePosition();
3697
+ if (!this.bumpIf("{"))
3698
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3699
+ var p = this.parseMessage(t + 1, r, n);
3700
+ if (p.err)
3701
+ return p;
3702
+ var m = this.tryParseArgumentClose(d);
3703
+ if (m.err)
3704
+ return m;
3705
+ s.push([
3706
+ u,
3707
+ {
3708
+ value: p.val,
3709
+ location: g(d, this.clonePosition())
3710
+ }
3711
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3712
+ }
3713
+ 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 };
3714
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
3715
+ var n = 1, i = this.clonePosition();
3716
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3717
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3718
+ var s = this.char();
3719
+ if (s >= 48 && s <= 57)
3720
+ o = !0, a = a * 10 + (s - 48), this.bump();
3721
+ else
3722
+ break;
3723
+ }
3724
+ var l = g(i, this.clonePosition());
3725
+ return o ? (a *= n, ai(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3726
+ }, e.prototype.offset = function() {
3727
+ return this.position.offset;
3728
+ }, e.prototype.isEOF = function() {
3729
+ return this.offset() === this.message.length;
3730
+ }, e.prototype.clonePosition = function() {
3731
+ return {
3732
+ offset: this.position.offset,
3733
+ line: this.position.line,
3734
+ column: this.position.column
3735
+ };
3736
+ }, e.prototype.char = function() {
3737
+ var t = this.position.offset;
3738
+ if (t >= this.message.length)
3739
+ throw Error("out of bound");
3740
+ var r = fr(this.message, t);
3741
+ if (r === void 0)
3742
+ throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3743
+ return r;
3744
+ }, e.prototype.error = function(t, r) {
3745
+ return {
3746
+ val: null,
3747
+ err: {
3748
+ kind: t,
3749
+ message: this.message,
3750
+ location: r
3751
+ }
3752
+ };
3753
+ }, e.prototype.bump = function() {
3754
+ if (!this.isEOF()) {
3755
+ var t = this.char();
3756
+ 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);
3757
+ }
3758
+ }, e.prototype.bumpIf = function(t) {
3759
+ if (St(this.message, t, this.offset())) {
3760
+ for (var r = 0; r < t.length; r++)
3761
+ this.bump();
3762
+ return !0;
3763
+ }
3764
+ return !1;
3765
+ }, e.prototype.bumpUntil = function(t) {
3766
+ var r = this.offset(), n = this.message.indexOf(t, r);
3767
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3768
+ }, e.prototype.bumpTo = function(t) {
3769
+ if (this.offset() > t)
3770
+ throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3771
+ for (t = Math.min(t, this.message.length); ; ) {
3772
+ var r = this.offset();
3773
+ if (r === t)
3774
+ break;
3775
+ if (r > t)
3776
+ throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3777
+ if (this.bump(), this.isEOF())
3778
+ break;
3779
+ }
3780
+ }, e.prototype.bumpSpace = function() {
3781
+ for (; !this.isEOF() && dr(this.char()); )
3782
+ this.bump();
3783
+ }, e.prototype.peek = function() {
3784
+ if (this.isEOF())
3785
+ return null;
3786
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3787
+ return n ?? null;
3788
+ }, e;
3789
+ }()
3790
+ );
3791
+ function Ye(e) {
3792
+ return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3793
+ }
3794
+ function fi(e) {
3795
+ return Ye(e) || e === 47;
3796
+ }
3797
+ function pi(e) {
3798
+ 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;
3799
+ }
3800
+ function dr(e) {
3801
+ return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3802
+ }
3803
+ function di(e) {
3804
+ 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;
3805
+ }
3806
+ function Ke(e) {
3807
+ e.forEach(function(t) {
3808
+ if (delete t.location, ir(t) || or(t))
3809
+ for (var r in t.options)
3810
+ delete t.options[r].location, Ke(t.options[r].value);
3811
+ else tr(t) && ar(t.style) || (rr(t) || nr(t)) && Ze(t.style) ? delete t.style.location : sr(t) && Ke(t.children);
3812
+ });
3813
+ }
3814
+ function mi(e, t) {
3815
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3816
+ var r = new ci(e, t).parse();
3817
+ if (r.err) {
3818
+ var n = SyntaxError(b[r.err.kind]);
3819
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3820
+ }
3821
+ return t?.captureLocation || Ke(r.val), r.val;
3822
+ }
3823
+ var Q;
3824
+ (function(e) {
3825
+ e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3826
+ })(Q || (Q = {}));
3827
+ var Ae = (
3828
+ /** @class */
3829
+ function(e) {
3830
+ C(t, e);
3831
+ function t(r, n, i) {
3832
+ var o = e.call(this, r) || this;
3833
+ return o.code = n, o.originalMessage = i, o;
3834
+ }
3835
+ return t.prototype.toString = function() {
3836
+ return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3837
+ }, t;
3838
+ }(Error)
3839
+ ), Ht = (
3840
+ /** @class */
3841
+ function(e) {
3842
+ C(t, e);
3843
+ function t(r, n, i, o) {
3844
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3845
+ }
3846
+ return t;
3847
+ }(Ae)
3848
+ ), bi = (
3849
+ /** @class */
3850
+ function(e) {
3851
+ C(t, e);
3852
+ function t(r, n, i) {
3853
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3854
+ }
3855
+ return t;
3856
+ }(Ae)
3857
+ ), gi = (
3858
+ /** @class */
3859
+ function(e) {
3860
+ C(t, e);
3861
+ function t(r, n) {
3862
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3863
+ }
3864
+ return t;
3865
+ }(Ae)
3866
+ ), S;
3867
+ (function(e) {
3868
+ e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3869
+ })(S || (S = {}));
3870
+ function yi(e) {
3871
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3872
+ var n = t[t.length - 1];
3873
+ return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3874
+ }, []);
3875
+ }
3876
+ function vi(e) {
3877
+ return typeof e == "function";
3878
+ }
3879
+ function ve(e, t, r, n, i, o, a) {
3880
+ if (e.length === 1 && vt(e[0]))
3881
+ return [
3882
+ {
3883
+ type: S.literal,
3884
+ value: e[0].value
3885
+ }
3886
+ ];
3887
+ for (var s = [], l = 0, u = e; l < u.length; l++) {
3888
+ var h = u[l];
3889
+ if (vt(h)) {
3890
+ s.push({
3891
+ type: S.literal,
3892
+ value: h.value
3893
+ });
3894
+ continue;
3895
+ }
3896
+ if (Fn(h)) {
3897
+ typeof o == "number" && s.push({
3898
+ type: S.literal,
3899
+ value: r.getNumberFormat(t).format(o)
3900
+ });
3901
+ continue;
3902
+ }
3903
+ var f = h.value;
3904
+ if (!(i && f in i))
3905
+ throw new gi(f, a);
3906
+ var c = i[f];
3907
+ if (Gn(h)) {
3908
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3909
+ type: typeof c == "string" ? S.literal : S.object,
3910
+ value: c
3911
+ });
3912
+ continue;
3913
+ }
3914
+ if (rr(h)) {
3915
+ var d = typeof h.style == "string" ? n.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
3916
+ s.push({
3917
+ type: S.literal,
3918
+ value: r.getDateTimeFormat(t, d).format(c)
3919
+ });
3920
+ continue;
3921
+ }
3922
+ if (nr(h)) {
3923
+ var d = typeof h.style == "string" ? n.time[h.style] : Ze(h.style) ? h.style.parsedOptions : n.time.medium;
3924
+ s.push({
3925
+ type: S.literal,
3926
+ value: r.getDateTimeFormat(t, d).format(c)
3927
+ });
3928
+ continue;
3929
+ }
3930
+ if (tr(h)) {
3931
+ var d = typeof h.style == "string" ? n.number[h.style] : ar(h.style) ? h.style.parsedOptions : void 0;
3932
+ d && d.scale && (c = c * (d.scale || 1)), s.push({
3933
+ type: S.literal,
3934
+ value: r.getNumberFormat(t, d).format(c)
3935
+ });
3936
+ continue;
3937
+ }
3938
+ if (sr(h)) {
3939
+ var p = h.children, m = h.value, x = i[m];
3940
+ if (!vi(x))
3941
+ throw new bi(m, "function", a);
3942
+ var T = ve(p, t, r, n, i, o), P = x(T.map(function(w) {
3943
+ return w.value;
3944
+ }));
3945
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(w) {
3946
+ return {
3947
+ type: typeof w == "string" ? S.literal : S.object,
3948
+ value: w
3949
+ };
3950
+ }));
3951
+ }
3952
+ if (ir(h)) {
3953
+ var E = h.options[c] || h.options.other;
3954
+ if (!E)
3955
+ throw new Ht(h.value, c, Object.keys(h.options), a);
3956
+ s.push.apply(s, ve(E.value, t, r, n, i));
3957
+ continue;
3958
+ }
3959
+ if (or(h)) {
3960
+ var E = h.options["=".concat(c)];
3961
+ if (!E) {
3962
+ if (!Intl.PluralRules)
3963
+ throw new Ae(`Intl.PluralRules is not available in this environment.
3964
+ Try polyfilling it using "@formatjs/intl-pluralrules"
3965
+ `, Q.MISSING_INTL_API, a);
3966
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3967
+ E = h.options[O] || h.options.other;
3968
+ }
3969
+ if (!E)
3970
+ throw new Ht(h.value, c, Object.keys(h.options), a);
3971
+ s.push.apply(s, ve(E.value, t, r, n, i, c - (h.offset || 0)));
3972
+ continue;
3973
+ }
3974
+ }
3975
+ return yi(s);
3976
+ }
3977
+ function _i(e, t) {
3978
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3979
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
3980
+ }, {})) : e;
3981
+ }
3982
+ function xi(e, t) {
3983
+ return t ? Object.keys(e).reduce(function(r, n) {
3984
+ return r[n] = _i(e[n], t[n]), r;
3985
+ }, y({}, e)) : e;
3986
+ }
3987
+ function De(e) {
3988
+ return {
3989
+ create: function() {
3990
+ return {
3991
+ get: function(t) {
3992
+ return e[t];
3993
+ },
3994
+ set: function(t, r) {
3995
+ e[t] = r;
3996
+ }
3997
+ };
3998
+ }
3999
+ };
4000
+ }
4001
+ function Ei(e) {
4002
+ return e === void 0 && (e = {
4003
+ number: {},
4004
+ dateTime: {},
4005
+ pluralRules: {}
4006
+ }), {
4007
+ getNumberFormat: $e(function() {
4008
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4009
+ r[n] = arguments[n];
4010
+ return new ((t = Intl.NumberFormat).bind.apply(t, z([void 0], r, !1)))();
4011
+ }, {
4012
+ cache: De(e.number),
4013
+ strategy: Re.variadic
4014
+ }),
4015
+ getDateTimeFormat: $e(function() {
4016
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4017
+ r[n] = arguments[n];
4018
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, z([void 0], r, !1)))();
4019
+ }, {
4020
+ cache: De(e.dateTime),
4021
+ strategy: Re.variadic
4022
+ }),
4023
+ getPluralRules: $e(function() {
4024
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4025
+ r[n] = arguments[n];
4026
+ return new ((t = Intl.PluralRules).bind.apply(t, z([void 0], r, !1)))();
4027
+ }, {
4028
+ cache: De(e.pluralRules),
4029
+ strategy: Re.variadic
4030
+ })
4031
+ };
4032
+ }
4033
+ var Si = (
4034
+ /** @class */
4035
+ function() {
4036
+ function e(t, r, n, i) {
4037
+ r === void 0 && (r = e.defaultLocale);
4038
+ var o = this;
4039
+ if (this.formatterCache = {
4040
+ number: {},
4041
+ dateTime: {},
4042
+ pluralRules: {}
4043
+ }, this.format = function(l) {
4044
+ var u = o.formatToParts(l);
4045
+ if (u.length === 1)
4046
+ return u[0].value;
4047
+ var h = u.reduce(function(f, c) {
4048
+ return !f.length || c.type !== S.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4049
+ }, []);
4050
+ return h.length <= 1 ? h[0] || "" : h;
4051
+ }, this.formatToParts = function(l) {
4052
+ return ve(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4053
+ }, this.resolvedOptions = function() {
4054
+ var l;
4055
+ return {
4056
+ locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4057
+ };
4058
+ }, this.getAst = function() {
4059
+ return o.ast;
4060
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4061
+ if (this.message = t, !e.__parse)
4062
+ throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4063
+ var a = i || {};
4064
+ a.formatters;
4065
+ var s = tn(a, ["formatters"]);
4066
+ this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
4067
+ } else
4068
+ this.ast = t;
4069
+ if (!Array.isArray(this.ast))
4070
+ throw new TypeError("A message must be provided as a String or AST.");
4071
+ this.formats = xi(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
4072
+ }
4073
+ return Object.defineProperty(e, "defaultLocale", {
4074
+ get: function() {
4075
+ return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
4076
+ },
4077
+ enumerable: !1,
4078
+ configurable: !0
4079
+ }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4080
+ if (!(typeof Intl.Locale > "u")) {
4081
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
4082
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4083
+ }
4084
+ }, e.__parse = mi, e.formats = {
4085
+ number: {
4086
+ integer: {
4087
+ maximumFractionDigits: 0
4088
+ },
4089
+ currency: {
4090
+ style: "currency"
4091
+ },
4092
+ percent: {
4093
+ style: "percent"
4094
+ }
4095
+ },
4096
+ date: {
4097
+ short: {
4098
+ month: "numeric",
4099
+ day: "numeric",
4100
+ year: "2-digit"
4101
+ },
4102
+ medium: {
4103
+ month: "short",
4104
+ day: "numeric",
4105
+ year: "numeric"
4106
+ },
4107
+ long: {
4108
+ month: "long",
4109
+ day: "numeric",
4110
+ year: "numeric"
4111
+ },
4112
+ full: {
4113
+ weekday: "long",
4114
+ month: "long",
4115
+ day: "numeric",
4116
+ year: "numeric"
4117
+ }
4118
+ },
4119
+ time: {
4120
+ short: {
4121
+ hour: "numeric",
4122
+ minute: "numeric"
4123
+ },
4124
+ medium: {
4125
+ hour: "numeric",
4126
+ minute: "numeric",
4127
+ second: "numeric"
4128
+ },
4129
+ long: {
4130
+ hour: "numeric",
4131
+ minute: "numeric",
4132
+ second: "numeric",
4133
+ timeZoneName: "short"
4134
+ },
4135
+ full: {
4136
+ hour: "numeric",
4137
+ minute: "numeric",
4138
+ second: "numeric",
4139
+ timeZoneName: "short"
4140
+ }
4141
+ }
4142
+ }, e;
4143
+ }()
4144
+ );
4145
+ function Ti(e, t) {
4146
+ if (t == null)
4147
+ return;
4148
+ if (t in e)
4149
+ return e[t];
4150
+ const r = t.split(".");
4151
+ let n = e;
4152
+ for (let i = 0; i < r.length; i++)
4153
+ if (typeof n == "object") {
4154
+ if (i > 0) {
4155
+ const o = r.slice(i, r.length).join(".");
4156
+ if (o in n) {
4157
+ n = n[o];
4158
+ break;
4159
+ }
4160
+ }
4161
+ n = n[r[i]];
4162
+ } else
4163
+ n = void 0;
4164
+ return n;
4165
+ }
4166
+ const U = {}, wi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), mr = (e, t) => {
4167
+ if (t == null)
4168
+ return;
4169
+ if (t in U && e in U[t])
4170
+ return U[t][e];
4171
+ const r = Pe(t);
4172
+ for (let n = 0; n < r.length; n++) {
4173
+ const i = r[n], o = Bi(i, e);
4174
+ if (o)
4175
+ return wi(e, t, o);
4176
+ }
4177
+ };
4178
+ let st;
4179
+ const ce = Be({});
4180
+ function Hi(e) {
4181
+ return st[e] || null;
4182
+ }
4183
+ function br(e) {
4184
+ return e in st;
4185
+ }
4186
+ function Bi(e, t) {
4187
+ if (!br(e))
4188
+ return null;
4189
+ const r = Hi(e);
4190
+ return Ti(r, t);
4191
+ }
4192
+ function Ai(e) {
4193
+ if (e == null)
4194
+ return;
4195
+ const t = Pe(e);
4196
+ for (let r = 0; r < t.length; r++) {
4197
+ const n = t[r];
4198
+ if (br(n))
4199
+ return n;
4200
+ }
4201
+ }
4202
+ function gr(e, ...t) {
4203
+ delete U[e], ce.update((r) => (r[e] = Mn.all([r[e] || {}, ...t]), r));
4204
+ }
4205
+ Y(
4206
+ [ce],
4207
+ ([e]) => Object.keys(e)
4208
+ );
4209
+ ce.subscribe((e) => st = e);
4210
+ const _e = {};
4211
+ function Pi(e, t) {
4212
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
4213
+ }
4214
+ function yr(e) {
4215
+ return _e[e];
4216
+ }
4217
+ function Oi(e) {
4218
+ return Pe(e).map((t) => {
4219
+ const r = yr(t);
4220
+ return [t, r ? [...r] : []];
4221
+ }).filter(([, t]) => t.length > 0);
4222
+ }
4223
+ function et(e) {
4224
+ return e == null ? !1 : Pe(e).some(
4225
+ (t) => {
4226
+ var r;
4227
+ return (r = yr(t)) == null ? void 0 : r.size;
4228
+ }
4229
+ );
4230
+ }
4231
+ function Ii(e, t) {
4232
+ return Promise.all(
4233
+ t.map((n) => (Pi(e, n), n().then((i) => i.default || i)))
4234
+ ).then((n) => gr(e, ...n));
4235
+ }
4236
+ const ne = {};
4237
+ function vr(e) {
4238
+ if (!et(e))
4239
+ return e in ne ? ne[e] : Promise.resolve();
4240
+ const t = Oi(e);
4241
+ return ne[e] = Promise.all(
4242
+ t.map(
4243
+ ([r, n]) => Ii(r, n)
4244
+ )
4245
+ ).then(() => {
4246
+ if (et(e))
4247
+ return vr(e);
4248
+ delete ne[e];
4249
+ }), ne[e];
4250
+ }
4251
+ const Li = {
4252
+ number: {
4253
+ scientific: { notation: "scientific" },
4254
+ engineering: { notation: "engineering" },
4255
+ compactLong: { notation: "compact", compactDisplay: "long" },
4256
+ compactShort: { notation: "compact", compactDisplay: "short" }
4257
+ },
4258
+ date: {
4259
+ short: { month: "numeric", day: "numeric", year: "2-digit" },
4260
+ medium: { month: "short", day: "numeric", year: "numeric" },
4261
+ long: { month: "long", day: "numeric", year: "numeric" },
4262
+ full: { weekday: "long", month: "long", day: "numeric", year: "numeric" }
4263
+ },
4264
+ time: {
4265
+ short: { hour: "numeric", minute: "numeric" },
4266
+ medium: { hour: "numeric", minute: "numeric", second: "numeric" },
4267
+ long: {
4268
+ hour: "numeric",
4269
+ minute: "numeric",
4270
+ second: "numeric",
4271
+ timeZoneName: "short"
4272
+ },
4273
+ full: {
4274
+ hour: "numeric",
4275
+ minute: "numeric",
4276
+ second: "numeric",
4277
+ timeZoneName: "short"
4278
+ }
4279
+ }
4280
+ }, Mi = {
4281
+ fallbackLocale: null,
4282
+ loadingDelay: 200,
4283
+ formats: Li,
4284
+ warnOnMissingMessages: !0,
4285
+ handleMissingMessage: void 0,
4286
+ ignoreTag: !0
4287
+ }, Ni = Mi;
4288
+ function J() {
4289
+ return Ni;
4290
+ }
4291
+ const Ge = Be(!1);
4292
+ var Ci = Object.defineProperty, $i = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
4293
+ for (var r in t || (t = {}))
4294
+ Ui.call(t, r) && At(e, r, t[r]);
4295
+ if (Bt)
4296
+ for (var r of Bt(t))
4297
+ Di.call(t, r) && At(e, r, t[r]);
4298
+ return e;
4299
+ }, Fi = (e, t) => $i(e, Ri(t));
4300
+ let tt;
4301
+ const Te = Be(null);
4302
+ function Pt(e) {
4303
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4304
+ }
4305
+ function Pe(e, t = J().fallbackLocale) {
4306
+ const r = Pt(e);
4307
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4308
+ }
4309
+ function F() {
4310
+ return tt ?? void 0;
4311
+ }
4312
+ Te.subscribe((e) => {
4313
+ tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4314
+ });
4315
+ const ji = (e) => {
4316
+ if (e && Ai(e) && et(e)) {
4317
+ const { loadingDelay: t } = J();
4318
+ let r;
4319
+ return typeof window < "u" && F() != null && t ? r = window.setTimeout(
4320
+ () => Ge.set(!0),
4321
+ t
4322
+ ) : Ge.set(!0), vr(e).then(() => {
4323
+ Te.set(e);
4324
+ }).finally(() => {
4325
+ clearTimeout(r), Ge.set(!1);
4326
+ });
4327
+ }
4328
+ return Te.set(e);
4329
+ }, K = Fi(Gi({}, Te), {
4330
+ set: ji
4331
+ }), Oe = (e) => {
4332
+ const t = /* @__PURE__ */ Object.create(null);
4333
+ return (n) => {
4334
+ const i = JSON.stringify(n);
4335
+ return i in t ? t[i] : t[i] = e(n);
4336
+ };
4337
+ };
4338
+ var ki = Object.defineProperty, we = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4339
+ for (var r in t || (t = {}))
4340
+ _r.call(t, r) && Ot(e, r, t[r]);
4341
+ if (we)
4342
+ for (var r of we(t))
4343
+ xr.call(t, r) && Ot(e, r, t[r]);
4344
+ return e;
4345
+ }, ee = (e, t) => {
4346
+ var r = {};
4347
+ for (var n in e)
4348
+ _r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4349
+ if (e != null && we)
4350
+ for (var n of we(e))
4351
+ t.indexOf(n) < 0 && xr.call(e, n) && (r[n] = e[n]);
4352
+ return r;
4353
+ };
4354
+ const ae = (e, t) => {
4355
+ const { formats: r } = J();
4356
+ if (e in r && t in r[e])
4357
+ return r[e][t];
4358
+ throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4359
+ }, Vi = Oe(
4360
+ (e) => {
4361
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4362
+ if (r == null)
4363
+ throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4364
+ return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4365
+ }
4366
+ ), Xi = Oe(
4367
+ (e) => {
4368
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4369
+ if (r == null)
4370
+ throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4371
+ return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4372
+ }
4373
+ ), Wi = Oe(
4374
+ (e) => {
4375
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4376
+ if (r == null)
4377
+ throw new Error(
4378
+ '[svelte-i18n] A "locale" must be set to format time values'
4379
+ );
4380
+ return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4381
+ }
4382
+ ), zi = (e = {}) => {
4383
+ var t = e, {
4384
+ locale: r = F()
4385
+ } = t, n = ee(t, [
4386
+ "locale"
4387
+ ]);
4388
+ return Vi(at({ locale: r }, n));
4389
+ }, Zi = (e = {}) => {
4390
+ var t = e, {
4391
+ locale: r = F()
4392
+ } = t, n = ee(t, [
4393
+ "locale"
4394
+ ]);
4395
+ return Xi(at({ locale: r }, n));
4396
+ }, qi = (e = {}) => {
4397
+ var t = e, {
4398
+ locale: r = F()
4399
+ } = t, n = ee(t, [
4400
+ "locale"
4401
+ ]);
4402
+ return Wi(at({ locale: r }, n));
4403
+ }, Qi = Oe(
4404
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4405
+ (e, t = F()) => new Si(e, t, J().formats, {
4406
+ ignoreTag: J().ignoreTag
4407
+ })
4408
+ ), Ji = (e, t = {}) => {
4409
+ var r, n, i, o;
4410
+ let a = t;
4411
+ typeof e == "object" && (a = e, e = a.id);
4412
+ const {
4413
+ values: s,
4414
+ locale: l = F(),
4415
+ default: u
4416
+ } = a;
4417
+ if (l == null)
4418
+ throw new Error(
4419
+ "[svelte-i18n] Cannot format a message without first setting the initial locale."
4420
+ );
4421
+ let h = mr(e, l);
4422
+ if (!h)
4423
+ h = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4424
+ else if (typeof h != "string")
4425
+ return console.warn(
4426
+ `[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.`
4427
+ ), h;
4428
+ if (!s)
4429
+ return h;
4430
+ let f = h;
4431
+ try {
4432
+ f = Qi(h, l).format(s);
4433
+ } catch (c) {
4434
+ c instanceof Error && console.warn(
4435
+ `[svelte-i18n] Message "${e}" has syntax error:`,
4436
+ c.message
4437
+ );
4438
+ }
4439
+ return f;
4440
+ }, Yi = (e, t) => qi(t).format(e), Ki = (e, t) => Zi(t).format(e), eo = (e, t) => zi(t).format(e), to = (e, t = F()) => mr(e, t), ro = Y([K, ce], () => Ji);
4441
+ Y([K], () => Yi);
4442
+ Y([K], () => Ki);
4443
+ Y([K], () => eo);
4444
+ Y([K, ce], () => to);
4445
+ window.emWidgets = { topic: bn };
4446
+ const Uo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), no = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4447
+ function io(e, t) {
4448
+ if (e) {
4449
+ const r = document.createElement("style");
4450
+ r.innerHTML = t, e.appendChild(r);
4451
+ }
4452
+ }
4453
+ function oo(e, t) {
4454
+ const r = new URL(t);
4455
+ fetch(r.href).then((n) => n.text()).then((n) => {
4456
+ const i = document.createElement("style");
4457
+ i.innerHTML = n, e && e.appendChild(i);
4458
+ }).catch((n) => {
4459
+ console.error("There was an error while trying to load client styling from URL", n);
4460
+ });
4461
+ }
4462
+ function Do(e, t, r) {
4463
+ if (window.emMessageBus) {
4464
+ const n = document.createElement("style");
4465
+ window.emMessageBus.subscribe(t, (i) => {
4466
+ n.innerHTML = i, e && e.appendChild(n);
4467
+ });
4468
+ }
4469
+ }
4470
+ function It(e, t) {
4471
+ gr(e, t);
4472
+ }
4473
+ function so(e) {
4474
+ K.set(e);
4475
+ }
4476
+ const Lt = {
4477
+ en: {
4478
+ logoutButton: "Logout"
4479
+ },
4480
+ "zh-hk": {
4481
+ logoutButton: "登出"
4482
+ },
4483
+ fr: {
4484
+ logoutButton: "Déconnexion"
4485
+ },
4486
+ tr: {
4487
+ logoutButton: "Çıkış Yap"
4488
+ },
4489
+ ro: {
4490
+ logoutButton: "Iesire"
4491
+ },
4492
+ es: {
4493
+ logoutButton: "Cerrar sesión"
4494
+ },
4495
+ pt: {
4496
+ logoutButton: "Sair"
4497
+ },
4498
+ hr: {
4499
+ logoutButton: "Odjava"
4500
+ },
4501
+ "pt-br": {
4502
+ logoutButton: "Fechar Sessão"
4503
+ },
4504
+ "es-mx": {
4505
+ logoutButton: "Cerrar sesión"
4506
+ },
4507
+ "en-us": {
4508
+ logoutButton: "Logout"
4509
+ }
4510
+ };
4511
+ function ao(e) {
4512
+ Or(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))}");
4513
+ }
4514
+ function uo(e) {
4515
+ let t, r, n, i = (
4516
+ /*$_*/
4517
+ e[2]("logoutButton") + ""
4518
+ ), o, a, s;
4519
+ return {
4520
+ c() {
4521
+ t = L("div"), r = L("button"), n = L("span"), o = he(i), B(t, "class", "GeneralLogout");
4522
+ },
4523
+ m(l, u) {
4524
+ le(l, t, u), A(t, r), A(r, n), A(n, o), a || (s = Gt(
4525
+ r,
4526
+ "click",
4527
+ /*click_handler_1*/
4528
+ e[14]
4529
+ ), a = !0);
4530
+ },
4531
+ p(l, u) {
4532
+ u & /*$_*/
4533
+ 4 && i !== (i = /*$_*/
4534
+ l[2]("logoutButton") + "") && Ft(o, i);
4535
+ },
4536
+ d(l) {
4537
+ l && G(t), a = !1, s();
4538
+ }
4539
+ };
4540
+ }
4541
+ function lo(e) {
4542
+ let t, r, n, i, o, a, s, l, u, h, f, c = !/*isMobile*/
4543
+ e[3] && ho(e);
4544
+ return {
4545
+ c() {
4546
+ t = L("p"), r = L("span"), n = te("svg"), i = te("defs"), o = te("style"), a = he(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = te("path"), l = te("path"), u = Lr(), 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"), Nr(r, "width", /*isMobile*/
4547
+ e[3] ? (
4548
+ /*mediaQuery*/
4549
+ e[4].matches ? "50px" : "24px"
4550
+ ) : "20px"), B(t, "class", "PlayerAccountMenuItemBox " + /*isMobile*/
4551
+ (e[3] ? "PlayerAccountMenuItemBoxMobile" : "") + " " + /*mediaQuery*/
4552
+ (e[4].matches && /*isMobile*/
4553
+ e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4554
+ },
4555
+ m(d, p) {
4556
+ le(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 = Gt(
4557
+ t,
4558
+ "click",
4559
+ /*click_handler*/
4560
+ e[13]
4561
+ ), h = !0);
4562
+ },
4563
+ p(d, p) {
4564
+ /*isMobile*/
4565
+ d[3] || c.p(d, p);
4566
+ },
4567
+ d(d) {
4568
+ d && G(t), c && c.d(), h = !1, f();
4569
+ }
4570
+ };
4571
+ }
4572
+ function ho(e) {
4573
+ let t, r = (
4574
+ /*$_*/
4575
+ e[2]("logoutButton") + ""
4576
+ ), n;
4577
+ return {
4578
+ c() {
4579
+ t = L("span"), n = he(r), B(t, "class", "PlayerLogoutText");
4580
+ },
4581
+ m(i, o) {
4582
+ le(i, t, o), A(t, n);
4583
+ },
4584
+ p(i, o) {
4585
+ o & /*$_*/
4586
+ 4 && r !== (r = /*$_*/
4587
+ i[2]("logoutButton") + "") && Ft(n, r);
4588
+ },
4589
+ d(i) {
4590
+ i && G(t);
4591
+ }
4592
+ };
4593
+ }
4594
+ function co(e) {
4595
+ let t;
4596
+ function r(o, a) {
4597
+ return (
4598
+ /*buttonlocation*/
4599
+ o[0] === "PlayerAccountMenu" ? lo : uo
4600
+ );
4601
+ }
4602
+ let n = r(e), i = n(e);
4603
+ return {
4604
+ c() {
4605
+ t = L("div"), i.c();
4606
+ },
4607
+ m(o, a) {
4608
+ le(o, t, a), i.m(t, null), e[15](t);
4609
+ },
4610
+ p(o, [a]) {
4611
+ n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4612
+ },
4613
+ i: H,
4614
+ o: H,
4615
+ d(o) {
4616
+ o && G(t), i.d(), e[15](null);
4617
+ }
4618
+ };
4619
+ }
4620
+ function fo(e, t, r) {
4621
+ let n;
4622
+ Br(e, ro, (v) => r(2, n = v));
4623
+ 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, x = no(m) !== "PC";
4624
+ const T = window.matchMedia("(min-width: 768px)"), P = () => {
4625
+ fetch(f).then((R) => R.json()).then((R) => {
4626
+ Object.keys(R).forEach((Ie) => {
4627
+ It(Ie, R[Ie]);
4628
+ });
4629
+ }).catch((R) => {
4630
+ console.log(R);
4631
+ });
4632
+ };
4633
+ Object.keys(Lt).forEach((v) => {
4634
+ It(v, Lt[v]);
4635
+ });
4636
+ const E = () => {
4637
+ let v = new Headers();
4638
+ v.append("Content-type", "application/json"), v.append("X-SessionID", o);
4639
+ let R = { method: "DELETE", headers: v };
4640
+ fetch(`${i}/v1/player/session/player`, R).then((Ie) => {
4641
+ window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
4642
+ });
4643
+ }, 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 = () => {
4644
+ so(s);
4645
+ };
4646
+ jr(() => () => {
4647
+ });
4648
+ const $ = () => E(), fe = () => E();
4649
+ function Sr(v) {
4650
+ Fe[v ? "unshift" : "push"](() => {
4651
+ p = v, r(1, p);
4652
+ });
4653
+ }
4654
+ return e.$$set = (v) => {
4655
+ "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, l = v.mbsource), "clientstyling" in v && r(10, u = v.clientstyling), "clientstylingurl" in v && r(11, h = v.clientstylingurl), "translationurl" in v && r(12, f = v.translationurl);
4656
+ }, e.$$.update = () => {
4657
+ e.$$.dirty & /*endpoint, session, buttonlocation*/
4658
+ 193 && i && o && a && O(), e.$$.dirty & /*lang*/
4659
+ 256 && s && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4660
+ 1026 && u && p && io(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4661
+ 2050 && h && p && oo(), e.$$.dirty & /*translationurl*/
4662
+ 4096 && f && P();
4663
+ }, [
4664
+ a,
4665
+ p,
4666
+ n,
4667
+ x,
4668
+ T,
4669
+ E,
4670
+ i,
4671
+ o,
4672
+ s,
4673
+ l,
4674
+ u,
4675
+ h,
4676
+ f,
4677
+ $,
4678
+ fe,
4679
+ Sr
4680
+ ];
4681
+ }
4682
+ class Er extends Kr {
4683
+ constructor(t) {
4684
+ super(), Jr(
4685
+ this,
4686
+ t,
4687
+ fo,
4688
+ co,
4689
+ Nt,
4690
+ {
4691
+ endpoint: 6,
4692
+ session: 7,
4693
+ buttonlocation: 0,
4694
+ lang: 8,
4695
+ mbsource: 9,
4696
+ clientstyling: 10,
4697
+ clientstylingurl: 11,
4698
+ translationurl: 12
4699
+ },
4700
+ ao
4701
+ );
4702
+ }
4703
+ get endpoint() {
4704
+ return this.$$.ctx[6];
4705
+ }
4706
+ set endpoint(t) {
4707
+ this.$$set({ endpoint: t }), I();
4708
+ }
4709
+ get session() {
4710
+ return this.$$.ctx[7];
4711
+ }
4712
+ set session(t) {
4713
+ this.$$set({ session: t }), I();
4714
+ }
4715
+ get buttonlocation() {
4716
+ return this.$$.ctx[0];
4717
+ }
4718
+ set buttonlocation(t) {
4719
+ this.$$set({ buttonlocation: t }), I();
4720
+ }
4721
+ get lang() {
4722
+ return this.$$.ctx[8];
4723
+ }
4724
+ set lang(t) {
4725
+ this.$$set({ lang: t }), I();
4726
+ }
4727
+ get mbsource() {
4728
+ return this.$$.ctx[9];
4729
+ }
4730
+ set mbsource(t) {
4731
+ this.$$set({ mbsource: t }), I();
4732
+ }
4733
+ get clientstyling() {
4734
+ return this.$$.ctx[10];
4735
+ }
4736
+ set clientstyling(t) {
4737
+ this.$$set({ clientstyling: t }), I();
4738
+ }
4739
+ get clientstylingurl() {
4740
+ return this.$$.ctx[11];
4741
+ }
4742
+ set clientstylingurl(t) {
4743
+ this.$$set({ clientstylingurl: t }), I();
4744
+ }
4745
+ get translationurl() {
4746
+ return this.$$.ctx[12];
4747
+ }
4748
+ set translationurl(t) {
4749
+ this.$$set({ translationurl: t }), I();
4750
+ }
4751
+ }
4752
+ Yr(Er, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4753
+ const Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4754
+ __proto__: null,
4755
+ default: Er
4756
+ }, Symbol.toStringTag, { value: "Module" }));
4757
+ export {
4758
+ K as $,
4759
+ io as A,
4760
+ ro as B,
4761
+ ce as C,
4762
+ Io as D,
4763
+ Eo as E,
4764
+ _o as F,
4765
+ mo as G,
4766
+ go as H,
4767
+ yo as I,
4768
+ bo as J,
4769
+ Wr as K,
4770
+ No as L,
4771
+ So as M,
4772
+ $o as N,
4773
+ xo as O,
4774
+ Po as P,
4775
+ Ho as Q,
4776
+ Bo as R,
4777
+ Kr as S,
4778
+ Se as T,
4779
+ Ao as U,
4780
+ ue as V,
4781
+ Uo as W,
4782
+ vo as X,
4783
+ Nr as Y,
4784
+ Mo as Z,
4785
+ Lo as _,
4786
+ gr as a,
4787
+ po as a0,
4788
+ Tr as a1,
4789
+ Co as a2,
4790
+ Ro as a3,
4791
+ yn as a4,
4792
+ wo as a5,
4793
+ Go as a6,
4794
+ Or as b,
4795
+ Yr as c,
4796
+ Lr as d,
4797
+ L as e,
4798
+ I as f,
4799
+ B as g,
4800
+ Oo as h,
4801
+ Jr as i,
4802
+ To as j,
4803
+ le as k,
4804
+ A as l,
4805
+ Gt as m,
4806
+ Ft as n,
4807
+ H as o,
4808
+ G as p,
4809
+ Br as q,
4810
+ D as r,
4811
+ Nt as s,
4812
+ he as t,
4813
+ no as u,
4814
+ jr as v,
4815
+ oo as w,
4816
+ Do as x,
4817
+ te as y,
4818
+ Fe as z
4819
+ };