@intent-hq/web 2.390.0 → 2.391.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{caKZ9Z4U.js → -CpNnXIW.js} +1 -1
  3. package/web/app/immutable/chunks/{CyzdJWF0.js → 0WykzpsL.js} +1 -1
  4. package/web/app/immutable/chunks/{Cp5royN1.js → 1-MeqddK.js} +1 -1
  5. package/web/app/immutable/chunks/{DpkDQyZQ.js → 3bAApxgI.js} +1 -1
  6. package/web/app/immutable/chunks/{DR942Ajh.js → 3hx_Pv3I.js} +1 -1
  7. package/web/app/immutable/chunks/{DFOcWzwz.js → 3zZ5VtMA.js} +1 -1
  8. package/web/app/immutable/chunks/{BR96U9Wd.js → 5JwmgTp3.js} +1 -1
  9. package/web/app/immutable/chunks/{DCLLUF6K.js → 6JlgfFWd.js} +1 -1
  10. package/web/app/immutable/chunks/{vCzBOtB7.js → 6zjpUzOd.js} +1 -1
  11. package/web/app/immutable/chunks/{DxyD9o0t.js → 9eqoPT_C.js} +1 -1
  12. package/web/app/immutable/chunks/{D672CX3Y.js → Ao0jjYj2.js} +1 -1
  13. package/web/app/immutable/chunks/{BEhUDDmK.js → B0qyjQ39.js} +1 -1
  14. package/web/app/immutable/chunks/{CmfAV5b9.js → B1U2wa0T.js} +1 -1
  15. package/web/app/immutable/chunks/{D5Jqamkx.js → B1ZnKKBC.js} +1 -1
  16. package/web/app/immutable/chunks/{_UjuBCOJ.js → B1lpukIv.js} +1 -1
  17. package/web/app/immutable/chunks/{CcJmuwXr.js → B26ZHg3s.js} +1 -1
  18. package/web/app/immutable/chunks/{C4u2zmyj.js → B28GhEWZ.js} +1 -1
  19. package/web/app/immutable/chunks/{CrpG0ldr.js → B28HQLvX.js} +1 -1
  20. package/web/app/immutable/chunks/{BIFBPuAO.js → B2Ny2uiy.js} +1 -1
  21. package/web/app/immutable/chunks/{DfheqyY9.js → B2awO10u.js} +1 -1
  22. package/web/app/immutable/chunks/{C4jSaPCg.js → B3T1oiJl.js} +1 -1
  23. package/web/app/immutable/chunks/{BtmHyUSg.js → B4Yz29Q3.js} +1 -1
  24. package/web/app/immutable/chunks/{Klbdavqn.js → B4kHSLJr.js} +1 -1
  25. package/web/app/immutable/chunks/{DWP4pi_Q.js → B55WAZno.js} +1 -1
  26. package/web/app/immutable/chunks/{DZ6KouyB.js → B5TWkOLI.js} +1 -1
  27. package/web/app/immutable/chunks/{DJwakuJL.js → B60nx31p.js} +1 -1
  28. package/web/app/immutable/chunks/{D9ejVVI8.js → B6mEh1Cs.js} +1 -1
  29. package/web/app/immutable/chunks/{9YT9B_ti.js → B7pblHOt.js} +1 -1
  30. package/web/app/immutable/chunks/{CkmDctRH.js → BCLYeYwk.js} +1 -1
  31. package/web/app/immutable/chunks/{BbYWP3Ow.js → BFfRQORP.js} +1 -1
  32. package/web/app/immutable/chunks/{BrMDTgLg.js → BGeImWEk.js} +1 -1
  33. package/web/app/immutable/chunks/{BksTLNI4.js → BHgSQJqT.js} +1 -1
  34. package/web/app/immutable/chunks/{BJEoqPJ5.js → BJCm9MUD.js} +1 -1
  35. package/web/app/immutable/chunks/{958SNXkw.js → BM2ubpAw.js} +1 -1
  36. package/web/app/immutable/chunks/{D36C5UHH.js → BM39k1x6.js} +1 -1
  37. package/web/app/immutable/chunks/{CjPEI4fg.js → BMTanQ2Z.js} +1 -1
  38. package/web/app/immutable/chunks/{BtNlG0Qg.js → BNYZa6GV.js} +1 -1
  39. package/web/app/immutable/chunks/{Cn4A9AjR.js → BOPrepKH.js} +1 -1
  40. package/web/app/immutable/chunks/{BAwfT99s.js → BP9YAxnw.js} +1 -1
  41. package/web/app/immutable/chunks/{Bc1BuSIT.js → BPS-xChS.js} +1 -1
  42. package/web/app/immutable/chunks/{Bq4K4JBr.js → BRSPDdkI.js} +1 -1
  43. package/web/app/immutable/chunks/{CgrVbtN0.js → BS9WBIBb.js} +1 -1
  44. package/web/app/immutable/chunks/{DuaPhBil.js → BSKVcPN7.js} +1 -1
  45. package/web/app/immutable/chunks/{D7b2VLAz.js → BT5iyspK.js} +1 -1
  46. package/web/app/immutable/chunks/{CJsEZbta.js → BT8mEFV6.js} +1 -1
  47. package/web/app/immutable/chunks/{DZzwt3PA.js → BTvJ4T_4.js} +1 -1
  48. package/web/app/immutable/chunks/{aZdb_rCN.js → BU3y3Xes.js} +1 -1
  49. package/web/app/immutable/chunks/{DCs992HX.js → BUSErGiB.js} +1 -1
  50. package/web/app/immutable/chunks/{p1zR6qAw.js → BWQPB65O.js} +1 -1
  51. package/web/app/immutable/chunks/{BwH4Bvte.js → BZ27qIg1.js} +1 -1
  52. package/web/app/immutable/chunks/{BLg51chm.js → BZ2BunMM.js} +3 -3
  53. package/web/app/immutable/chunks/{D-9KNtuV.js → B_FwdBlO.js} +1 -1
  54. package/web/app/immutable/chunks/{CDwhmkPo.js → B_JGVEqN.js} +1 -1
  55. package/web/app/immutable/chunks/{BNCKMxAC.js → Bb-kpHQF.js} +1 -1
  56. package/web/app/immutable/chunks/{BABPbAn1.js → BbXTs-zc.js} +1 -1
  57. package/web/app/immutable/chunks/{k55njABd.js → BczcQRsN.js} +1 -1
  58. package/web/app/immutable/chunks/{Ve-0_aGT.js → BdCPH0Ry.js} +3 -3
  59. package/web/app/immutable/chunks/{B5N8LmEF.js → BdhKX9ZN.js} +1 -1
  60. package/web/app/immutable/chunks/{WbzVOnzB.js → Bdz7xLoU.js} +2 -2
  61. package/web/app/immutable/chunks/{YmRtKLCw.js → Bf739dtf.js} +1 -1
  62. package/web/app/immutable/chunks/{uvhZkGDU.js → Bhq56Jsu.js} +1 -1
  63. package/web/app/immutable/chunks/{Bviyt-Xy.js → Bhyo7hBL.js} +1 -1
  64. package/web/app/immutable/chunks/{DOy5PC7K.js → Bi8v8T9s.js} +1 -1
  65. package/web/app/immutable/chunks/{HlKQh-jr.js → BijokBFk.js} +1 -1
  66. package/web/app/immutable/chunks/{DdNhEgdc.js → BjGqF2I6.js} +1 -1
  67. package/web/app/immutable/chunks/{BYxTMRdy.js → Bk1TahM2.js} +1 -1
  68. package/web/app/immutable/chunks/{BPQFiQQc.js → BkcCJyDK.js} +1 -1
  69. package/web/app/immutable/chunks/{C8ukaQ4v.js → BkoVJN8J.js} +1 -1
  70. package/web/app/immutable/chunks/{DQTlXZTK.js → BlIQH-6S.js} +1 -1
  71. package/web/app/immutable/chunks/{Bq2Q6gce.js → BlzuDW6O.js} +1 -1
  72. package/web/app/immutable/chunks/{5Rw929MQ.js → BmlW0rtZ.js} +1 -1
  73. package/web/app/immutable/chunks/{C8rJ090F.js → Bmr0NXg9.js} +1 -1
  74. package/web/app/immutable/chunks/{C97rJdwd.js → Bn3gcMEi.js} +2 -2
  75. package/web/app/immutable/chunks/{BIkp_Hmt.js → BnLeDIe_.js} +1 -1
  76. package/web/app/immutable/chunks/{RhUR09AA.js → Bnz_gGcf.js} +1 -1
  77. package/web/app/immutable/chunks/{UTM5G-w-.js → BpezAJRw.js} +1 -1
  78. package/web/app/immutable/chunks/BrS-M4QZ.js +411 -0
  79. package/web/app/immutable/chunks/{DhZ3_JXX.js → Bt4BDbd9.js} +1 -1
  80. package/web/app/immutable/chunks/{CnpTi_2q.js → BudXN7v1.js} +2 -2
  81. package/web/app/immutable/chunks/{Bwe7RKw-.js → Bv7vQoAK.js} +1 -1
  82. package/web/app/immutable/chunks/{D09F61W3.js → BvKMYZXt.js} +1 -1
  83. package/web/app/immutable/chunks/{B1cYD5sf.js → Bvnhw_a1.js} +1 -1
  84. package/web/app/immutable/chunks/{CfNIzRu8.js → Bx1P9uW7.js} +1 -1
  85. package/web/app/immutable/chunks/{BhCMc9G0.js → By2YlE-l.js} +1 -1
  86. package/web/app/immutable/chunks/{CSjV3uYy.js → Byobtdo1.js} +1 -1
  87. package/web/app/immutable/chunks/{CEE0831H.js → Bz80vYvX.js} +1 -1
  88. package/web/app/immutable/chunks/{BnknS-C6.js → BzX67fGt.js} +1 -1
  89. package/web/app/immutable/chunks/{pfX_M-aK.js → C-nTKxY9.js} +1 -1
  90. package/web/app/immutable/chunks/{sLmWN1ks.js → C0wQm_cl.js} +1 -1
  91. package/web/app/immutable/chunks/{CVWwz1Ss.js → C22cBcHz.js} +1 -1
  92. package/web/app/immutable/chunks/{D9CNxngf.js → C3JJkOFb.js} +1 -1
  93. package/web/app/immutable/chunks/{96V4v2iI.js → C3jMXj_V.js} +1 -1
  94. package/web/app/immutable/chunks/{BTEHnOFb.js → C4BZMChh.js} +1 -1
  95. package/web/app/immutable/chunks/{DRND1Lha.js → C4l6men1.js} +1 -1
  96. package/web/app/immutable/chunks/{B75YmuDW.js → C6xamGmH.js} +3 -3
  97. package/web/app/immutable/chunks/C8E14ldW.js +1 -0
  98. package/web/app/immutable/chunks/{mfOfLDEg.js → C9N7yhqm.js} +1 -1
  99. package/web/app/immutable/chunks/{BId1zNus.js → CAGrRNbp.js} +1 -1
  100. package/web/app/immutable/chunks/{BOVEEbKv.js → CAUJiTuz.js} +1 -1
  101. package/web/app/immutable/chunks/{CgrukgLv.js → CA_E2EO_.js} +1 -1
  102. package/web/app/immutable/chunks/{BPXITtd5.js → CBZWgc2D.js} +1 -1
  103. package/web/app/immutable/chunks/{BR1TNOav.js → CDUYzZ2W.js} +1 -1
  104. package/web/app/immutable/chunks/CDVPwJHE.js +1 -0
  105. package/web/app/immutable/chunks/{CiRuCsUo.js → CDh2mZdS.js} +1 -1
  106. package/web/app/immutable/chunks/{BBRFTdr4.js → CDqF0p7U.js} +1 -1
  107. package/web/app/immutable/chunks/{DpCic98X.js → CEA7jD1C.js} +1 -1
  108. package/web/app/immutable/chunks/{Dp7Hm0g0.js → CEyWnfg4.js} +1 -1
  109. package/web/app/immutable/chunks/{BcEFHs1M.js → CGBripl0.js} +1 -1
  110. package/web/app/immutable/chunks/{BwNrQXlF.js → CGmYraIa.js} +1 -1
  111. package/web/app/immutable/chunks/{yofTuS8P.js → CH6Im5iM.js} +1 -1
  112. package/web/app/immutable/chunks/{BBFoj-dS.js → CHIxjTWu.js} +1 -1
  113. package/web/app/immutable/chunks/{Gz_O-dMq.js → CKBFGMc-.js} +3 -3
  114. package/web/app/immutable/chunks/{TyAuxp07.js → CLvqghA8.js} +1 -1
  115. package/web/app/immutable/chunks/{D9vbo-CC.js → CM8uib8e.js} +3 -3
  116. package/web/app/immutable/chunks/{Bm6N2soI.js → COJ7FcW0.js} +4 -4
  117. package/web/app/immutable/chunks/{DPttSllj.js → COofQgO0.js} +1 -1
  118. package/web/app/immutable/chunks/{BrtJC6OX.js → COpm3Tww.js} +4 -4
  119. package/web/app/immutable/chunks/{DZaRsTHz.js → CPjnlep8.js} +1 -1
  120. package/web/app/immutable/chunks/{Cjn3mkT-.js → CR1CxoNP.js} +1 -1
  121. package/web/app/immutable/chunks/{Lai6pqjy.js → CREbzS7Z.js} +1 -1
  122. package/web/app/immutable/chunks/{DtXgUHCj.js → CRXlvdEs.js} +1 -1
  123. package/web/app/immutable/chunks/{C3s2I-px.js → CRwY2AeH.js} +1 -1
  124. package/web/app/immutable/chunks/{DPqjG1Qz.js → CT1weljk.js} +1 -1
  125. package/web/app/immutable/chunks/{TB9r2XJy.js → CT8vPg_p.js} +2 -2
  126. package/web/app/immutable/chunks/{hkJYqn41.js → CTgYTdXw.js} +1 -1
  127. package/web/app/immutable/chunks/{o0-ObNWE.js → CU15H7o_.js} +1 -1
  128. package/web/app/immutable/chunks/{Y3Xkuhtt.js → CUWwQrpD.js} +1 -1
  129. package/web/app/immutable/chunks/{C3dytrTL.js → CUZpLDKB.js} +1 -1
  130. package/web/app/immutable/chunks/{DMrzeQEi.js → CV17KbhT.js} +1 -1
  131. package/web/app/immutable/chunks/{BbhtQrkZ.js → CVtLV3_x.js} +1 -1
  132. package/web/app/immutable/chunks/{etz9IKpr.js → CWXVdpgZ.js} +1 -1
  133. package/web/app/immutable/chunks/{J2joGn0l.js → CWm_v4XX.js} +1 -1
  134. package/web/app/immutable/chunks/{DVx4z2O_.js → CXlmxn9D.js} +1 -1
  135. package/web/app/immutable/chunks/{8NmvrAbf.js → CY5E-txU.js} +1 -1
  136. package/web/app/immutable/chunks/{ggXs_b9y.js → C_8_aEto.js} +1 -1
  137. package/web/app/immutable/chunks/{BNJ3edFz.js → CbB6SI0i.js} +1 -1
  138. package/web/app/immutable/chunks/{DGdVv1yv.js → Cc9GRpTQ.js} +1 -1
  139. package/web/app/immutable/chunks/{zGyI6qOq.js → CdTSfppl.js} +1 -1
  140. package/web/app/immutable/chunks/{BxQzAB5H.js → CdVvsm2p.js} +1 -1
  141. package/web/app/immutable/chunks/{B6U9KgKY.js → CedswVQA.js} +1 -1
  142. package/web/app/immutable/chunks/{B6dUCFoz.js → CeoBhFo7.js} +1 -1
  143. package/web/app/immutable/chunks/{CwEjDuJ3.js → Cgz4dZpP.js} +1 -1
  144. package/web/app/immutable/chunks/{7MNwLg3l.js → ChLkDI4a.js} +1 -1
  145. package/web/app/immutable/chunks/{CovKrpBE.js → ChSyGlG9.js} +1 -1
  146. package/web/app/immutable/chunks/{BGniv2IE.js → ChYLETZB.js} +1 -1
  147. package/web/app/immutable/chunks/{vj8NdGWd.js → Chbrtg19.js} +1 -1
  148. package/web/app/immutable/chunks/{D54MIPdF.js → Ci6PI5sn.js} +1 -1
  149. package/web/app/immutable/chunks/{TBtn8giw.js → CiHhUIjb.js} +1 -1
  150. package/web/app/immutable/chunks/{B9vHutcJ.js → CiKoEJ2m.js} +1 -1
  151. package/web/app/immutable/chunks/{D4ytz2EC.js → CjpWOZGa.js} +1 -1
  152. package/web/app/immutable/chunks/{B6c2kL4w.js → CkoYXKFa.js} +2 -2
  153. package/web/app/immutable/chunks/{CfQcMKZg.js → CktgkomQ.js} +1 -1
  154. package/web/app/immutable/chunks/{D99jSct3.js → ClaP_sir.js} +1 -1
  155. package/web/app/immutable/chunks/{DZ-x-eWR.js → CmvX1OIv.js} +1 -1
  156. package/web/app/immutable/chunks/{KZwZoyIt.js → Cn-Afla1.js} +1 -1
  157. package/web/app/immutable/chunks/{z3SZgGAK.js → CnDgS0vt.js} +1 -1
  158. package/web/app/immutable/chunks/{B1CKzIA2.js → CnFZbWXv.js} +1 -1
  159. package/web/app/immutable/chunks/{j1QbeoGS.js → CpmTFmUr.js} +1 -1
  160. package/web/app/immutable/chunks/{2kr9sl0a.js → CqVzh7wS.js} +1 -1
  161. package/web/app/immutable/chunks/{E1ou7S5Q.js → CrbOuYLj.js} +2 -2
  162. package/web/app/immutable/chunks/{D7QZQ0zf.js → Crey45Oa.js} +1 -1
  163. package/web/app/immutable/chunks/{Cqrn6Iuw.js → Cs94v59b.js} +1 -1
  164. package/web/app/immutable/chunks/{DJ9ILql1.js → Csqi0oV3.js} +1 -1
  165. package/web/app/immutable/chunks/{6zHrL7ht.js → Ct3K7T3j.js} +1 -1
  166. package/web/app/immutable/chunks/CtfEuoOH.js +1 -0
  167. package/web/app/immutable/chunks/{-Zg6rfog.js → Cv_bDXRO.js} +1 -1
  168. package/web/app/immutable/chunks/{ClxyT-Se.js → CwCvyVGi.js} +1 -1
  169. package/web/app/immutable/chunks/{Ctp-YfoS.js → CwqyVbqi.js} +3 -3
  170. package/web/app/immutable/chunks/{DXLbZrSI.js → CxKuw3AV.js} +1 -1
  171. package/web/app/immutable/chunks/{CSEXx_lD.js → CxXCJ2kp.js} +1 -1
  172. package/web/app/immutable/chunks/{B_vpadVO.js → Cxc8q3rR.js} +1 -1
  173. package/web/app/immutable/chunks/{vpQRVk8F.js → Cxmepjfl.js} +1 -1
  174. package/web/app/immutable/chunks/{D06KyCnD.js → CyJX_0ZH.js} +1 -1
  175. package/web/app/immutable/chunks/{CzJm3Kxa.js → CyinuwPx.js} +1 -1
  176. package/web/app/immutable/chunks/{C4fj9uDh.js → CyvzL5p8.js} +3 -3
  177. package/web/app/immutable/chunks/{X0RLj3lE.js → CzxEKNiF.js} +1 -1
  178. package/web/app/immutable/chunks/{Dnkb7G58.js → D-wrxbVY.js} +1 -1
  179. package/web/app/immutable/chunks/{XwUFesej.js → D0Z4j4KD.js} +1 -1
  180. package/web/app/immutable/chunks/{BgnV10Sc.js → D1FTpY7r.js} +2 -2
  181. package/web/app/immutable/chunks/{CZtfaUbt.js → D1tq2CRk.js} +1 -1
  182. package/web/app/immutable/chunks/{GnUYJfg_.js → D3JNbQ4D.js} +1 -1
  183. package/web/app/immutable/chunks/{Dfp6ssYD.js → D3tqOSzT.js} +1 -1
  184. package/web/app/immutable/chunks/{Ch_2itxw.js → D49mWFig.js} +1 -1
  185. package/web/app/immutable/chunks/{BzWT_wQw.js → D5tDAzIo.js} +1 -1
  186. package/web/app/immutable/chunks/{BotNUGl4.js → D6q64aEo.js} +3 -3
  187. package/web/app/immutable/chunks/{Jg5r77fy.js → D7QFmXLb.js} +1 -1
  188. package/web/app/immutable/chunks/{Bttnblj5.js → D970Mqsu.js} +1 -1
  189. package/web/app/immutable/chunks/{nxtepGjE.js → D9R5fzn8.js} +1 -1
  190. package/web/app/immutable/chunks/{CAUT4r9n.js → DCLeEFTU.js} +1 -1
  191. package/web/app/immutable/chunks/{Dzy45J4U.js → DCoRWScq.js} +1 -1
  192. package/web/app/immutable/chunks/{CIbfGsF-.js → DFKhOU69.js} +1 -1
  193. package/web/app/immutable/chunks/{CCdFHP5T.js → DFlZYhla.js} +1 -1
  194. package/web/app/immutable/chunks/{BpMXdC4H.js → DG3-me8H.js} +1 -1
  195. package/web/app/immutable/chunks/{nIshZjK_.js → DGU9U1O6.js} +1 -1
  196. package/web/app/immutable/chunks/{D69-2bhh.js → DGwxrltY.js} +1 -1
  197. package/web/app/immutable/chunks/{C3WhRTo5.js → DHQU4kkd.js} +1 -1
  198. package/web/app/immutable/chunks/{Ll0WtNFW.js → DHkcvVzr.js} +1 -1
  199. package/web/app/immutable/chunks/{tCg_s90g.js → DIIj7EWA.js} +1 -1
  200. package/web/app/immutable/chunks/{DZOkhMcO.js → DJSvqrCI.js} +1 -1
  201. package/web/app/immutable/chunks/{BYHw69-J.js → DJqiMUht.js} +1 -1
  202. package/web/app/immutable/chunks/{i5FUlYpy.js → DLqZuVvj.js} +1 -1
  203. package/web/app/immutable/chunks/{Cu5e4npY.js → DMEIbJII.js} +1 -1
  204. package/web/app/immutable/chunks/{D1BvOU2l.js → DOhHP999.js} +1 -1
  205. package/web/app/immutable/chunks/{CqCb3N-V.js → DPZ2um_T.js} +4 -4
  206. package/web/app/immutable/chunks/{BniyCzQ9.js → DPk2fLxi.js} +1 -1
  207. package/web/app/immutable/chunks/{Dn2kTCYW.js → DPmtJhEg.js} +1 -1
  208. package/web/app/immutable/chunks/{Bizymm2G.js → DQMrEH0w.js} +2 -2
  209. package/web/app/immutable/chunks/{C8LWodzW.js → DQbu7pou.js} +2 -2
  210. package/web/app/immutable/chunks/DQkOZWKk.js +1 -0
  211. package/web/app/immutable/chunks/{BnV9CBUH.js → DQpGArF7.js} +1 -1
  212. package/web/app/immutable/chunks/{R-UFG3MB.js → DRuLniWc.js} +1 -1
  213. package/web/app/immutable/chunks/{z5FcOXD5.js → DSZbBNDD.js} +1 -1
  214. package/web/app/immutable/chunks/{DtzJzV-4.js → DUTvR2si.js} +1 -1
  215. package/web/app/immutable/chunks/{C6dmVB1C.js → DUkc2huG.js} +4 -4
  216. package/web/app/immutable/chunks/{D2YDfFKv.js → DW8fwVBf.js} +1 -1
  217. package/web/app/immutable/chunks/{Bs_2q1R8.js → DWZL93Dc.js} +1 -1
  218. package/web/app/immutable/chunks/{u4iPyMwH.js → DXCHCOFX.js} +1 -1
  219. package/web/app/immutable/chunks/{BD_S4uTD.js → DaWbxwE_.js} +1 -1
  220. package/web/app/immutable/chunks/{Bi8MRKMx.js → DalTYFZn.js} +1 -1
  221. package/web/app/immutable/chunks/{C7KJ2WWY.js → DcNjiASe.js} +2 -2
  222. package/web/app/immutable/chunks/{CvLVVi8w.js → DcPZfWKB.js} +1 -1
  223. package/web/app/immutable/chunks/{DaWmj23r.js → DcraaizU.js} +1 -1
  224. package/web/app/immutable/chunks/{C6RhewOE.js → Dd_KPYBw.js} +1 -1
  225. package/web/app/immutable/chunks/{CsJwP4fg.js → DeKlxkvP.js} +1 -1
  226. package/web/app/immutable/chunks/{Cb0GBy9I.js → DedU58Eo.js} +2 -2
  227. package/web/app/immutable/chunks/{BjuRA2LN.js → Df09ThmJ.js} +1 -1
  228. package/web/app/immutable/chunks/{CWsj4Hb7.js → Dgo57zmq.js} +1 -1
  229. package/web/app/immutable/chunks/{C8tk9ZQ3.js → Dh-DCh2Y.js} +1 -1
  230. package/web/app/immutable/chunks/{29xygHrF.js → DhTLwmro.js} +1 -1
  231. package/web/app/immutable/chunks/{DvhzK-4t.js → Dhh3ve0v.js} +1 -1
  232. package/web/app/immutable/chunks/{BsouhNTN.js → Di-MwTUE.js} +1 -1
  233. package/web/app/immutable/chunks/{CZr8f1ch.js → DlljGo_I.js} +1 -1
  234. package/web/app/immutable/chunks/{BOwgyiCF.js → DmQ5G_6J.js} +1 -1
  235. package/web/app/immutable/chunks/{ByyFoG6W.js → DoB-G8kB.js} +1 -1
  236. package/web/app/immutable/chunks/{Dqi2LMpO.js → DoJ49Zrl.js} +1 -1
  237. package/web/app/immutable/chunks/{CFs3R4lt.js → DqtLBCnq.js} +1 -1
  238. package/web/app/immutable/chunks/{Crz8kvLc.js → Drn9m8Tp.js} +1 -1
  239. package/web/app/immutable/chunks/{Dv1h77Vp.js → DvpTRyHt.js} +1 -1
  240. package/web/app/immutable/chunks/DwJc_V5I.js +3 -0
  241. package/web/app/immutable/chunks/{Cp0zjovM.js → Dxe27_xZ.js} +1 -1
  242. package/web/app/immutable/chunks/{BFgvMDua.js → DynUeYUu.js} +1 -1
  243. package/web/app/immutable/chunks/{BjE6fvlI.js → DyreqWqr.js} +1 -1
  244. package/web/app/immutable/chunks/{PslMlnNq.js → Dzp668Nh.js} +1 -1
  245. package/web/app/immutable/chunks/{DQ75EkSY.js → FM3MDwzB.js} +1 -1
  246. package/web/app/immutable/chunks/{DWH71rGR.js → HiIoMspb.js} +1 -1
  247. package/web/app/immutable/chunks/{nBmxMCff.js → HyJzJ05j.js} +1 -1
  248. package/web/app/immutable/chunks/{Drl447ub.js → IxxdIKNN.js} +1 -1
  249. package/web/app/immutable/chunks/{BI8cL-JN.js → JpEb3pk8.js} +1 -1
  250. package/web/app/immutable/chunks/{DQw0Iiac.js → JvFe2B29.js} +1 -1
  251. package/web/app/immutable/chunks/{C3EKiijc.js → KWtYfwVq.js} +1 -1
  252. package/web/app/immutable/chunks/{CYxt6gzD.js → KaOLys0u.js} +1 -1
  253. package/web/app/immutable/chunks/{BpQNd38A.js → OloUMTJw.js} +1 -1
  254. package/web/app/immutable/chunks/{1rpeT4f8.js → OsJD3pkm.js} +1 -1
  255. package/web/app/immutable/chunks/{CfYmMj5F.js → P7zPRuFC.js} +1 -1
  256. package/web/app/immutable/chunks/{BGrimfDs.js → QzxpbvSo.js} +1 -1
  257. package/web/app/immutable/chunks/{Qe8C2Z8H.js → RFYaUG5G.js} +1 -1
  258. package/web/app/immutable/chunks/{qhd9g-fv.js → RV6uszBL.js} +1 -1
  259. package/web/app/immutable/chunks/{Bs_TRDLE.js → Rsl51Ay4.js} +1 -1
  260. package/web/app/immutable/chunks/{D4d1iyeR.js → TPru2I57.js} +1 -1
  261. package/web/app/immutable/chunks/{BKKERvpk.js → TU7ngkX4.js} +1 -1
  262. package/web/app/immutable/chunks/{C_O50F5M.js → VdQBQKAO.js} +1 -1
  263. package/web/app/immutable/chunks/{Rzyk45bZ.js → WYNXUtt9.js} +1 -1
  264. package/web/app/immutable/chunks/{DAHeBTvv.js → XaYlDebr.js} +1 -1
  265. package/web/app/immutable/chunks/{Chj-azz7.js → Xgzr3BTD.js} +1 -1
  266. package/web/app/immutable/chunks/{Cm0Qloca.js → ZX798KkU.js} +1 -1
  267. package/web/app/immutable/chunks/{CfXgD_Pw.js → Zm39im0I.js} +1 -1
  268. package/web/app/immutable/chunks/{CebXSmXo.js → _U0OqOFt.js} +1 -1
  269. package/web/app/immutable/chunks/{Dd-LQrG1.js → aWBSU8IQ.js} +1 -1
  270. package/web/app/immutable/chunks/{CjGXnvXd.js → avlg638g.js} +6 -6
  271. package/web/app/immutable/chunks/{CgGsxeG7.js → axwUS21u.js} +1 -1
  272. package/web/app/immutable/chunks/{BgL-Z3DM.js → b776P7Kr.js} +1 -1
  273. package/web/app/immutable/chunks/{CzEoKeV2.js → f0YGFw5j.js} +3 -3
  274. package/web/app/immutable/chunks/{DyLaiVzG.js → fImwePKC.js} +1 -1
  275. package/web/app/immutable/chunks/{C-llZXnj.js → fKRR6mVT.js} +1 -1
  276. package/web/app/immutable/chunks/{C-HR_nje.js → g5QqP-QE.js} +1 -1
  277. package/web/app/immutable/chunks/{D4xriAny.js → h_d2oU3d.js} +1 -1
  278. package/web/app/immutable/chunks/{C2UL5Ler.js → iQDlfKDR.js} +1 -1
  279. package/web/app/immutable/chunks/jlu1ZSD8.js +1 -0
  280. package/web/app/immutable/chunks/{CnN8HXjd.js → jyQWudgn.js} +1 -1
  281. package/web/app/immutable/chunks/{BWfc0sSK.js → k48f0Jn8.js} +1 -1
  282. package/web/app/immutable/chunks/{BX0V9vST.js → kNaK7_sp.js} +2 -2
  283. package/web/app/immutable/chunks/{CRPm4Pj6.js → kRR2H6lu.js} +1 -1
  284. package/web/app/immutable/chunks/{BiYZcl7D.js → kkKMJ9w9.js} +1 -1
  285. package/web/app/immutable/chunks/{BHy9cRzo.js → l7sDKa65.js} +1 -1
  286. package/web/app/immutable/chunks/{D7AN7xLp.js → mFWmuyR-.js} +1 -1
  287. package/web/app/immutable/chunks/{BIjxJZ5i.js → qhttc0fS.js} +2 -2
  288. package/web/app/immutable/chunks/{BsY6roFy.js → rwibDzZr.js} +1 -1
  289. package/web/app/immutable/chunks/{Br0totzy.js → tNEZffSS.js} +1 -1
  290. package/web/app/immutable/chunks/{CaTfcRGE.js → uWX23oC4.js} +2 -2
  291. package/web/app/immutable/chunks/{D-osFWh4.js → zBrnybDu.js} +1 -1
  292. package/web/app/immutable/entry/{app.Ck7KNM4b.js → app.DHDoU_7H.js} +3 -3
  293. package/web/app/immutable/entry/start.nfTNgo5B.js +1 -0
  294. package/web/app/immutable/nodes/{0.BL1rQnVQ.js → 0.Cu9LrIhB.js} +1 -1
  295. package/web/app/immutable/nodes/{1.BLzCq48F.js → 1.D2vLkPwg.js} +1 -1
  296. package/web/app/immutable/nodes/{10.CQRco_pp.js → 10.CsTau1tB.js} +6 -6
  297. package/web/app/immutable/nodes/{11.CqlkrbW8.js → 11.BJH0IaNU.js} +1 -1
  298. package/web/app/immutable/nodes/{12.Dwdqbt9T.js → 12.DUMat2GN.js} +1 -1
  299. package/web/app/immutable/nodes/{13.jK1i4wo4.js → 13.BEiznOPk.js} +1 -1
  300. package/web/app/immutable/nodes/{14.DdHtnE9x.js → 14.DFolVj6c.js} +3 -3
  301. package/web/app/immutable/nodes/{15.Bl9Ro66C.js → 15.CODir9mj.js} +1 -1
  302. package/web/app/immutable/nodes/{16.DFPLVaTv.js → 16.cptOJ-f9.js} +1 -1
  303. package/web/app/immutable/nodes/{17.Dylz7DBe.js → 17.BVn1LtfR.js} +1 -1
  304. package/web/app/immutable/nodes/{18.CxblUMg0.js → 18.BLC8YWHJ.js} +1 -1
  305. package/web/app/immutable/nodes/{19.CeE6vjuX.js → 19.D4bkkQ_T.js} +2 -2
  306. package/web/app/immutable/nodes/{2.DjFjqnV0.js → 2.Dyr3gNeq.js} +4 -4
  307. package/web/app/immutable/nodes/{20.CXw8Twm7.js → 20.g9As4rvG.js} +1 -1
  308. package/web/app/immutable/nodes/{3.BCbxJGeq.js → 3.NGM8GOql.js} +1 -1
  309. package/web/app/immutable/nodes/{4.CL0JqE8n.js → 4.yPviv-Bq.js} +1 -1
  310. package/web/app/immutable/nodes/{5.hD1YagZR.js → 5.W4sBVxOK.js} +1 -1
  311. package/web/app/immutable/nodes/{6.776DAlfQ.js → 6.C_4emjsH.js} +1 -1
  312. package/web/app/immutable/nodes/{7.5BWaKbyF.js → 7.yUloHxmW.js} +1 -1
  313. package/web/app/immutable/nodes/{8.C_V2pSbF.js → 8.BT8o95-5.js} +1 -1
  314. package/web/app/immutable/nodes/{9.CBuIBgSj.js → 9.Izg3VgEv.js} +5 -5
  315. package/web/app/version.json +1 -1
  316. package/web/generated/paraglide.js +45 -45
  317. package/web/index.html +18 -18
  318. package/web/app/immutable/chunks/ByGh65n0.js +0 -411
  319. package/web/app/immutable/chunks/CLAmm_T1.js +0 -1
  320. package/web/app/immutable/chunks/CRSiOiSR.js +0 -1
  321. package/web/app/immutable/chunks/D7TF3ktW.js +0 -1
  322. package/web/app/immutable/chunks/DFh0CfhB.js +0 -1
  323. package/web/app/immutable/chunks/KnkAG0HD.js +0 -1
  324. package/web/app/immutable/chunks/prVatUwz.js +0 -3
  325. package/web/app/immutable/entry/start.DjIjqTgP.js +0 -1
@@ -1 +1 @@
1
- var nr=Object.defineProperty;var Re=l=>{throw TypeError(l)};var hr=(l,t,e)=>t in l?nr(l,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[t]=e;var u=(l,t,e)=>hr(l,typeof t!="symbol"?t+"":t,e),pe=(l,t,e)=>t.has(l)||Re("Cannot "+e);var r=(l,t,e)=>(pe(l,t,"read from private field"),e?e.call(l):t.get(l)),d=(l,t,e)=>t.has(l)?Re("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(l):t.set(l,e),ut=(l,t,e,o)=>(pe(l,t,"write to private field"),o?o.call(l,e):t.set(l,e),e),ct=(l,t,e)=>(pe(l,t,"access private method"),e);import{t as ft,bo as p,bw as vt,b as mt,br as Ct,bp as de}from"./CLAmm_T1.js";import{c9 as c,aD as i,bH as v,bV as V,bi as ar,ca as qe,cb as lr,bs as yt,a7 as E,ay as O,W as S,bn as bt,aA as g,bo as ue,a5 as X,bf as gt,bA as $,aB as se,bS as dr}from"./3SdAC2_C.js";import{i as Z}from"./BFgvMDua.js";import{H as ur}from"./DCs992HX.js";import{au as cr,aI as pr,h as Ne,an as lt,D as ce,i as gr,d as q,a as tt,l as ie,a6 as ge,ac as ne,_ as we,J as Ce,Z as Ie,E as Pe,aR as Ge,aW as Ye,aC as ze,ap as Je,aq as Se,aF as _e,ar as Qe,a$ as at,aN as fr,aU as vr,aH as mr,aG as yr,at as Ve,am as Ze,a2 as br,av as k,ay as Nr,m as je,b as wr,c as Cr,a4 as Ir,C as Pr,g as Sr,A as _r,M as xr,F as kr,r as Hr,s as Tr,t as Ar,u as Mr,v as Or,w as Er,x as Rr,y as Vr,o as Kr,p as Fr,q as Dr,B as Br,az as ot,aS as R,a0 as Xe,$ as $e,aQ as rt,aV as Lr}from"./nxtepGjE.js";import{t as K}from"./BwNrQXlF.js";import{b as et}from"./CcJmuwXr.js";var It,ae;class Ur{constructor(t,e){d(this,It,()=>{});d(this,ae,c(()=>r(this,It).call(this)));let o;e!==void 0&&(o=e),ut(this,It,()=>{try{return o}finally{o=t()}})}get current(){return i(r(this,ae))}}It=new WeakMap,ae=new WeakMap;var Q,nt,j;class Wr{constructor(t){d(this,Q);d(this,nt,c(()=>r(this,Q).candidateValues()));d(this,j);ut(this,Q,t),ut(this,j,cr("",{afterMs:1e3,getWindow:r(this,Q).getWindow})),this.handleTypeaheadSearch=this.handleTypeaheadSearch.bind(this),this.resetTypeahead=this.resetTypeahead.bind(this)}handleTypeaheadSearch(t){if(!r(this,Q).enabled()||!i(r(this,nt)).length)return;r(this,j).current=r(this,j).current+t;const e=r(this,Q).getCurrentItem(),o=i(r(this,nt)).find(b=>b===e)??"",n=i(r(this,nt)).map(b=>b??""),a=pr(n,r(this,j).current,o),h=i(r(this,nt)).find(b=>b===a);return h&&r(this,Q).onMatch(h),h}resetTypeahead(){r(this,j).current=""}}Q=new WeakMap,nt=new WeakMap,j=new WeakMap;const Ke=[wr,je,Cr,Ir,Pr,Sr,_r,xr,ie,kr,Hr,Tr,Ar,Mr,Or,Er,Rr,Vr,Kr,Fr,Dr],qr=[tt,we,Ce],Gr=[q,Ie,Pe],tr=[...qr,...Gr],Yr=Nr({component:"select",parts:["trigger","content","item","viewport","scroll-up-button","scroll-down-button","group","group-label","separator","arrow","input","content-wrapper","item-text","value"]}),dt=new Ne("Select.Root | Combobox.Root"),er=new Ne("Select.Group | Combobox.Group"),rr=new Ne("Select.Content | Combobox.Content");var Pt,St,_t,xt,kt,Ht,Tt,At,Mt,Ot,Et,Rt;class or{constructor(t){u(this,"opts");d(this,Pt,V(!1));d(this,St,V(null));d(this,_t,V(null));u(this,"contentPresence");d(this,xt,V(null));d(this,kt,V(null));d(this,Ht,V(null));d(this,Tt,V(""));d(this,At,V(null));d(this,Mt,c(()=>this.highlightedNode?this.highlightedNode.getAttribute("data-value"):null));d(this,Ot,c(()=>{if(this.highlightedNode)return this.highlightedNode.id}));d(this,Et,c(()=>this.highlightedNode?this.highlightedNode.getAttribute("data-label"):null));d(this,Rt,V(!1));u(this,"isUsingKeyboard",!1);u(this,"isCombobox",!1);u(this,"domContext",new ce(()=>null));u(this,"getBitsAttr",t=>Yr.getAttr(t,this.isCombobox?"combobox":void 0));this.opts=t,this.isCombobox=t.isCombobox,this.contentPresence=new br({ref:k(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),lr(()=>{this.opts.open.current||this.setHighlightedNode(null)})}get touchedInput(){return i(r(this,Pt))}set touchedInput(t){v(r(this,Pt),t,!0)}get inputNode(){return i(r(this,St))}set inputNode(t){v(r(this,St),t,!0)}get contentNode(){return i(r(this,_t))}set contentNode(t){v(r(this,_t),t,!0)}get viewportNode(){return i(r(this,xt))}set viewportNode(t){v(r(this,xt),t,!0)}get triggerNode(){return i(r(this,kt))}set triggerNode(t){v(r(this,kt),t,!0)}get valueNode(){return i(r(this,Ht))}set valueNode(t){v(r(this,Ht),t,!0)}get valueId(){return i(r(this,Tt))}set valueId(t){v(r(this,Tt),t,!0)}get highlightedNode(){return i(r(this,At))}set highlightedNode(t){v(r(this,At),t,!0)}get highlightedValue(){return i(r(this,Mt))}set highlightedValue(t){v(r(this,Mt),t)}get highlightedId(){return i(r(this,Ot))}set highlightedId(t){v(r(this,Ot),t)}get highlightedLabel(){return i(r(this,Et))}set highlightedLabel(t){v(r(this,Et),t)}get contentIsPositioned(){return i(r(this,Rt))}set contentIsPositioned(t){v(r(this,Rt),t,!0)}setHighlightedNode(t,e=!1){this.highlightedNode=t,t&&(this.isUsingKeyboard||e)&&this.scrollHighlightedNodeIntoView(t)}scrollHighlightedNodeIntoView(t){!this.viewportNode||!this.contentIsPositioned||t.scrollIntoView({block:this.opts.scrollAlignment.current})}getCandidateNodes(){const t=this.contentNode;return t?Array.from(t.querySelectorAll(`[${this.getBitsAttr("item")}]:not([data-disabled])`)):[]}setHighlightedToFirstCandidate(t=!1){this.setHighlightedNode(null);let e=this.getCandidateNodes();if(e.length){if(this.viewportNode){const o=this.viewportNode.getBoundingClientRect();e=e.filter(n=>{if(!this.viewportNode)return!1;const a=n.getBoundingClientRect();return a.right<=o.right&&a.left>=o.left&&a.bottom<=o.bottom&&a.top>=o.top})}this.setHighlightedNode(e[0],t)}}getNodeByValue(t){return this.getCandidateNodes().find(o=>o.dataset.value===t)??null}getLabelForValue(t){if(t==="")return"";const e=this.opts.items.current.find(n=>n.value===t)?.label;if(e!==void 0)return e;const o=this.getNodeByValue(t);if(o){const n=o.getAttribute("data-label");return n!==null&&n!==""?n:o.textContent?.trim()??t}return t}setOpen(t){this.opts.open.current=t}toggleOpen(){this.opts.open.current=!this.opts.open.current}handleOpen(){this.setOpen(!0)}handleClose(){this.setHighlightedNode(null),this.setOpen(!1)}toggleMenu(){this.toggleOpen()}}Pt=new WeakMap,St=new WeakMap,_t=new WeakMap,xt=new WeakMap,kt=new WeakMap,Ht=new WeakMap,Tt=new WeakMap,At=new WeakMap,Mt=new WeakMap,Ot=new WeakMap,Et=new WeakMap,Rt=new WeakMap;var Vt,Kt,Ft,Dt;class zr extends or{constructor(e){super(e);u(this,"opts");u(this,"isMulti",!1);d(this,Vt,c(()=>this.opts.value.current!==""));d(this,Kt,c(()=>this.opts.items.current.length?this.opts.items.current.find(e=>e.value===this.opts.value.current)?.label??"":""));d(this,Ft,c(()=>this.opts.items.current.length?this.opts.items.current.filter(o=>!o.disabled).map(o=>o.label):[]));d(this,Dt,c(()=>!(this.isMulti||this.opts.items.current.length===0)));this.opts=e,qe(()=>{!this.opts.open.current&&this.highlightedNode&&this.setHighlightedNode(null)}),at(()=>this.opts.open.current,()=>{this.opts.open.current&&this.setInitialHighlightedNode()})}get hasValue(){return i(r(this,Vt))}set hasValue(e){v(r(this,Vt),e)}get currentLabel(){return i(r(this,Kt))}set currentLabel(e){v(r(this,Kt),e)}get candidateLabels(){return i(r(this,Ft))}set candidateLabels(e){v(r(this,Ft),e)}get dataTypeaheadEnabled(){return i(r(this,Dt))}set dataTypeaheadEnabled(e){v(r(this,Dt),e)}includesItem(e){return this.opts.value.current===e}toggleItem(e,o=e){const n=this.includesItem(e)?"":e;this.opts.value.current=n,n!==""&&(this.opts.inputValue.current=o)}setInitialHighlightedNode(){Ze(()=>{if(!(this.highlightedNode&&this.domContext.getDocument().contains(this.highlightedNode))){if(this.opts.value.current!==""){const e=this.getNodeByValue(this.opts.value.current);if(e){this.setHighlightedNode(e,!0);return}}this.setHighlightedToFirstCandidate(!0)}})}}Vt=new WeakMap,Kt=new WeakMap,Ft=new WeakMap,Dt=new WeakMap;var Bt;class Jr extends or{constructor(e){super(e);u(this,"opts");u(this,"isMulti",!0);d(this,Bt,c(()=>this.opts.value.current.length>0));this.opts=e,qe(()=>{!this.opts.open.current&&this.highlightedNode&&this.setHighlightedNode(null)}),at(()=>this.opts.open.current,()=>{this.opts.open.current&&this.setInitialHighlightedNode()})}get hasValue(){return i(r(this,Bt))}set hasValue(e){v(r(this,Bt),e)}includesItem(e){return this.opts.value.current.includes(e)}toggleItem(e,o=e){this.includesItem(e)?this.opts.value.current=this.opts.value.current.filter(n=>n!==e):this.opts.value.current=[...this.opts.value.current,e],this.opts.inputValue.current=o}setInitialHighlightedNode(){Ze(()=>{if(this.domContext&&!(this.highlightedNode&&this.domContext.getDocument().contains(this.highlightedNode))){if(this.opts.value.current.length&&this.opts.value.current[0]!==""){const e=this.getNodeByValue(this.opts.value.current[0]);if(e){this.setHighlightedNode(e,!0);return}}this.setHighlightedToFirstCandidate(!0)}})}}Bt=new WeakMap;class vo{static create(t){const{type:e,...o}=t,n=e==="single"?new zr(o):new Jr(o);return dt.set(n)}}var Lt;const xe=class xe{constructor(t,e){u(this,"opts");u(this,"root");u(this,"attachment");d(this,Lt,c(()=>({id:this.opts.id.current,role:"combobox",disabled:this.root.opts.disabled.current?!0:void 0,"aria-activedescendant":this.root.highlightedId,"aria-autocomplete":"list","aria-expanded":Qe(this.root.opts.open.current),"data-state":_e(this.root.opts.open.current),"data-disabled":Se(this.root.opts.disabled.current),onkeydown:this.onkeydown,oninput:this.oninput,[this.root.getBitsAttr("input")]:"",...this.attachment})));this.opts=t,this.root=e,this.attachment=lt(t.ref,o=>this.root.inputNode=o),this.root.domContext=new ce(t.ref),this.onkeydown=this.onkeydown.bind(this),this.oninput=this.oninput.bind(this),at([()=>this.root.opts.value.current,()=>this.opts.clearOnDeselect.current],([o,n],[a])=>{n&&(Array.isArray(o)&&Array.isArray(a)?o.length===0&&a.length!==0&&(this.root.opts.inputValue.current=""):o===""&&a!==""&&(this.root.opts.inputValue.current=""))})}static create(t){return new xe(t,dt.get())}onkeydown(t){if(this.root.isUsingKeyboard=!0,t.key!==je){if((t.key===q||t.key===tt)&&t.preventDefault(),!this.root.opts.open.current){if(Ke.includes(t.key)||t.key===ne||t.key===Br&&this.root.opts.inputValue.current===""||(this.root.handleOpen(),this.root.hasValue))return;const e=this.root.getCandidateNodes();if(!e.length)return;if(t.key===tt){const o=e[0];this.root.setHighlightedNode(o)}else if(t.key===q){const o=e[e.length-1];this.root.setHighlightedNode(o)}return}if(t.key===ne){this.root.handleClose();return}if(t.key===ie&&!t.isComposing){t.preventDefault();const e=this.root.highlightedValue===this.root.opts.value.current;if(!this.root.opts.allowDeselect.current&&e&&!this.root.isMulti){this.root.handleClose();return}this.root.highlightedValue&&this.root.highlightedNode&&this.root.highlightedNode.isConnected&&this.root.toggleItem(this.root.highlightedValue,this.root.highlightedLabel??void 0),!this.root.isMulti&&!e&&this.root.handleClose()}if(t.key===q&&t.altKey&&this.root.handleClose(),tr.includes(t.key)){t.preventDefault();const e=this.root.getCandidateNodes(),o=this.root.highlightedNode,n=o?e.indexOf(o):-1,a=this.root.opts.loop.current;let h;if(t.key===tt?h=Ge(e,n,a):t.key===q?h=Ye(e,n,a):t.key===Ie?h=ze(e,n,10,a):t.key===we?h=Je(e,n,10,a):t.key===Ce?h=e[0]:t.key===Pe&&(h=e[e.length-1]),!h)return;this.root.setHighlightedNode(h);return}Ke.includes(t.key)||this.root.highlightedNode||this.root.setHighlightedToFirstCandidate()}}oninput(t){this.root.opts.inputValue.current=t.currentTarget.value,this.root.setHighlightedToFirstCandidate()}get props(){return i(r(this,Lt))}set props(t){v(r(this,Lt),t)}};Lt=new WeakMap;let Fe=xe;var ht,pt,G,sr,fe,ve,Ut;const ke=class ke{constructor(t,e){d(this,G);u(this,"opts");u(this,"root");u(this,"attachment");d(this,ht);d(this,pt);d(this,Ut,c(()=>({id:this.opts.id.current,disabled:this.root.opts.disabled.current?!0:void 0,"aria-haspopup":"listbox","aria-expanded":Qe(this.root.opts.open.current),"aria-activedescendant":this.root.highlightedId,"data-state":_e(this.root.opts.open.current),"data-disabled":Se(this.root.opts.disabled.current),"data-placeholder":this.root.hasValue?void 0:"",[this.root.getBitsAttr("trigger")]:"",onpointerdown:this.onpointerdown,onkeydown:this.onkeydown,onclick:this.onclick,onpointerup:this.onpointerup,...this.attachment})));this.opts=t,this.root=e,this.attachment=lt(t.ref,o=>this.root.triggerNode=o),this.root.domContext=new ce(t.ref),ut(this,ht,new gr({getCurrentItem:()=>this.root.highlightedNode,onMatch:o=>{this.root.setHighlightedNode(o)},getActiveElement:()=>this.root.domContext.getActiveElement(),getWindow:()=>this.root.domContext.getWindow()})),ut(this,pt,new Wr({getCurrentItem:()=>this.root.isMulti?"":this.root.currentLabel,onMatch:o=>{if(this.root.isMulti||!this.root.opts.items.current)return;const n=this.root.opts.items.current.find(a=>a.label===o);n&&(this.root.opts.value.current=n.value)},enabled:()=>!this.root.isMulti&&this.root.dataTypeaheadEnabled,candidateValues:()=>this.root.isMulti?[]:this.root.candidateLabels,getWindow:()=>this.root.domContext.getWindow()})),this.onkeydown=this.onkeydown.bind(this),this.onpointerdown=this.onpointerdown.bind(this),this.onpointerup=this.onpointerup.bind(this),this.onclick=this.onclick.bind(this)}static create(t){return new ke(t,dt.get())}onkeydown(t){if(this.root.isUsingKeyboard=!0,(t.key===q||t.key===tt)&&t.preventDefault(),!this.root.opts.open.current){if(t.key===ie||t.key===ge||t.key===tt||t.key===q)t.preventDefault(),this.root.handleOpen();else if(!this.root.isMulti&&this.root.dataTypeaheadEnabled){r(this,pt).handleTypeaheadSearch(t.key);return}if(this.root.hasValue)return;const h=this.root.getCandidateNodes();if(!h.length)return;if(t.key===tt){const b=h[0];this.root.setHighlightedNode(b)}else if(t.key===q){const b=h[h.length-1];this.root.setHighlightedNode(b)}return}if(t.key===ne){this.root.handleClose();return}if((t.key===ie||t.key===ge&&r(this,ht).search==="")&&!t.isComposing&&(t.preventDefault(),ct(this,G,ve).call(this)))return;if(t.key===q&&t.altKey&&this.root.handleClose(),tr.includes(t.key)){t.preventDefault();const h=this.root.getCandidateNodes(),b=this.root.highlightedNode,C=b?h.indexOf(b):-1,f=this.root.opts.loop.current;let y;if(t.key===tt?y=Ge(h,C,f):t.key===q?y=Ye(h,C,f):t.key===Ie?y=ze(h,C,10,f):t.key===we?y=Je(h,C,10,f):t.key===Ce?y=h[0]:t.key===Pe&&(y=h[h.length-1]),!y)return;this.root.setHighlightedNode(y);return}const e=t.ctrlKey||t.altKey||t.metaKey,o=t.key.length===1,n=t.key===ge,a=this.root.getCandidateNodes();if(t.key!==ne){if(!e&&(o||n)){!r(this,ht).handleTypeaheadSearch(t.key,a)&&n&&(t.preventDefault(),ct(this,G,ve).call(this));return}this.root.highlightedNode||this.root.setHighlightedToFirstCandidate()}}onclick(t){t.currentTarget.focus()}onpointerdown(t){if(this.root.opts.disabled.current)return;if(t.pointerType==="touch")return t.preventDefault();const e=t.target;e?.hasPointerCapture(t.pointerId)&&e?.releasePointerCapture(t.pointerId),t.button===0&&t.ctrlKey===!1&&(this.root.opts.open.current===!1?ct(this,G,fe).call(this,t):this.root.handleClose())}onpointerup(t){this.root.opts.disabled.current||(t.preventDefault(),t.pointerType==="touch"&&(this.root.opts.open.current===!1?ct(this,G,fe).call(this,t):this.root.handleClose()))}get props(){return i(r(this,Ut))}set props(t){v(r(this,Ut),t)}};ht=new WeakMap,pt=new WeakMap,G=new WeakSet,sr=function(){this.root.opts.open.current=!0,r(this,pt).resetTypeahead(),r(this,ht).resetTypeahead()},fe=function(t){ct(this,G,sr).call(this)},ve=function(){const t=this.root.highlightedValue===this.root.opts.value.current;return!this.root.opts.allowDeselect.current&&t&&!this.root.isMulti?(this.root.handleClose(),!0):(this.root.highlightedValue!==null&&this.root.toggleItem(this.root.highlightedValue,this.root.highlightedLabel??void 0),!this.root.isMulti&&!t?(this.root.handleClose(),!0):!1)},Ut=new WeakMap;let De=ke;var Wt,le,qt,Gt;const He=class He{constructor(t,e){u(this,"opts");u(this,"root");u(this,"attachment");d(this,Wt,V(!1));u(this,"domContext");d(this,le,c(()=>mr(this.root.isCombobox?"combobox":"select")));u(this,"onInteractOutside",t=>{if(t.target===this.root.triggerNode||t.target===this.root.inputNode){t.preventDefault();return}this.opts.onInteractOutside.current(t),!t.defaultPrevented&&this.root.handleClose()});u(this,"onEscapeKeydown",t=>{this.opts.onEscapeKeydown.current(t),!t.defaultPrevented&&this.root.handleClose()});u(this,"onOpenAutoFocus",t=>{t.preventDefault()});u(this,"onCloseAutoFocus",t=>{t.preventDefault()});d(this,qt,c(()=>({open:this.root.opts.open.current})));d(this,Gt,c(()=>({id:this.opts.id.current,role:"listbox","aria-multiselectable":this.root.isMulti?"true":void 0,"data-state":_e(this.root.opts.open.current),...yr(this.root.contentPresence.transitionStatus),[this.root.getBitsAttr("content")]:"",style:{display:"flex",flexDirection:"column",outline:"none",boxSizing:"border-box",pointerEvents:"auto",...i(r(this,le))},onpointermove:this.onpointermove,...this.attachment})));u(this,"popperProps",{onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus,trapFocus:!1,loop:!1,onPlaced:()=>{this.root.opts.open.current&&(this.root.contentIsPositioned=!0,this.isPositioned=!0)}});this.opts=t,this.root=e,this.attachment=lt(t.ref,o=>this.root.contentNode=o),this.domContext=new ce(this.opts.ref),this.root.domContext===null&&(this.root.domContext=this.domContext),vr(()=>{this.root.contentNode=null,this.root.contentIsPositioned=!1,this.isPositioned=!1}),at(()=>this.root.opts.open.current,()=>{this.root.opts.open.current||(this.root.contentIsPositioned=!1,this.isPositioned=!1)}),at([()=>this.isPositioned,()=>this.root.highlightedNode],()=>{!this.isPositioned||!this.root.highlightedNode||this.root.scrollHighlightedNodeIntoView(this.root.highlightedNode)}),this.onpointermove=this.onpointermove.bind(this)}static create(t){return rr.set(new He(t,dt.get()))}get isPositioned(){return i(r(this,Wt))}set isPositioned(t){v(r(this,Wt),t,!0)}onpointermove(t){this.root.isUsingKeyboard=!1}get shouldRender(){return this.root.contentPresence.shouldRender}get snippetProps(){return i(r(this,qt))}set snippetProps(t){v(r(this,qt),t)}get props(){return i(r(this,Gt))}set props(t){v(r(this,Gt),t)}};Wt=new WeakMap,le=new WeakMap,qt=new WeakMap,Gt=new WeakMap;let he=He;var Yt,zt,Jt,Qt,Zt;const Te=class Te{constructor(t,e){u(this,"opts");u(this,"root");u(this,"attachment");d(this,Yt,c(()=>this.root.includesItem(this.opts.value.current)));d(this,zt,c(()=>this.root.highlightedValue===this.opts.value.current));u(this,"prevHighlighted",new Ur(()=>this.isHighlighted));d(this,Jt,V(!1));d(this,Qt,c(()=>({selected:this.isSelected,highlighted:this.isHighlighted})));d(this,Zt,c(()=>({id:this.opts.id.current,role:"option","aria-selected":this.root.includesItem(this.opts.value.current)?"true":void 0,"data-value":this.opts.value.current,"data-disabled":Se(this.opts.disabled.current),"data-highlighted":this.root.highlightedValue===this.opts.value.current&&!this.opts.disabled.current?"":void 0,"data-selected":this.root.includesItem(this.opts.value.current)?"":void 0,"data-label":this.opts.label.current,[this.root.getBitsAttr("item")]:"",onpointermove:this.onpointermove,onpointerdown:this.onpointerdown,onpointerup:this.onpointerup,...this.attachment})));this.opts=t,this.root=e,this.attachment=lt(t.ref),at([()=>this.isHighlighted,()=>this.prevHighlighted.current],()=>{this.isHighlighted?this.opts.onHighlight.current():this.prevHighlighted.current&&this.opts.onUnhighlight.current()}),at(()=>this.mounted,()=>{this.mounted&&this.root.setInitialHighlightedNode()}),this.onpointerdown=this.onpointerdown.bind(this),this.onpointerup=this.onpointerup.bind(this),this.onpointermove=this.onpointermove.bind(this)}static create(t){return new Te(t,dt.get())}get isSelected(){return i(r(this,Yt))}set isSelected(t){v(r(this,Yt),t)}get isHighlighted(){return i(r(this,zt))}set isHighlighted(t){v(r(this,zt),t)}get mounted(){return i(r(this,Jt))}set mounted(t){v(r(this,Jt),t,!0)}handleSelect(){if(this.opts.disabled.current)return;const t=this.opts.value.current===this.root.opts.value.current;if(!this.root.opts.allowDeselect.current&&t&&!this.root.isMulti){this.root.handleClose();return}this.root.toggleItem(this.opts.value.current,this.opts.label.current),!this.root.isMulti&&!t&&this.root.handleClose()}get snippetProps(){return i(r(this,Qt))}set snippetProps(t){v(r(this,Qt),t)}onpointerdown(t){t.preventDefault()}onpointerup(t){if(!(t.defaultPrevented||!this.opts.ref.current)){if(t.pointerType==="touch"&&!fr){ar(this.opts.ref.current,"click",()=>{this.handleSelect(),this.root.setHighlightedNode(this.opts.ref.current)},{once:!0});return}t.preventDefault(),this.handleSelect(),t.pointerType==="touch"&&this.root.setHighlightedNode(this.opts.ref.current)}}onpointermove(t){t.pointerType!=="touch"&&this.root.highlightedNode!==this.opts.ref.current&&this.root.setHighlightedNode(this.opts.ref.current)}get props(){return i(r(this,Zt))}set props(t){v(r(this,Zt),t)}};Yt=new WeakMap,zt=new WeakMap,Jt=new WeakMap,Qt=new WeakMap,Zt=new WeakMap;let me=Te;var jt,Xt;const Ae=class Ae{constructor(t,e){u(this,"opts");u(this,"root");d(this,jt,V(null));u(this,"attachment");d(this,Xt,c(()=>({id:this.opts.id.current,role:"group",[this.root.getBitsAttr("group")]:"","aria-labelledby":this.labelNode?.id??void 0,...this.attachment})));this.opts=t,this.root=e,this.attachment=lt(t.ref)}static create(t){return er.set(new Ae(t,dt.get()))}get labelNode(){return i(r(this,jt))}set labelNode(t){v(r(this,jt),t,!0)}get props(){return i(r(this,Xt))}set props(t){v(r(this,Xt),t)}};jt=new WeakMap,Xt=new WeakMap;let Be=Ae;var $t;const Me=class Me{constructor(t,e){u(this,"opts");u(this,"group");u(this,"attachment");d(this,$t,c(()=>({id:this.opts.id.current,[this.group.root.getBitsAttr("group-label")]:"",...this.attachment})));this.opts=t,this.group=e,this.attachment=lt(t.ref,o=>this.group.labelNode=o)}static create(t){return new Me(t,er.get())}get props(){return i(r(this,$t))}set props(t){v(r(this,$t),t)}};$t=new WeakMap;let Le=Me;var te,ee;const Oe=class Oe{constructor(t,e){u(this,"opts");u(this,"root");d(this,te,c(()=>this.root.opts.name.current!==""));d(this,ee,c(()=>({disabled:Ve(this.root.opts.disabled.current),required:Ve(this.root.opts.required.current),name:this.root.opts.name.current,value:this.opts.value.current,onfocus:this.onfocus})));this.opts=t,this.root=e,this.onfocus=this.onfocus.bind(this)}static create(t){return new Oe(t,dt.get())}get shouldRender(){return i(r(this,te))}set shouldRender(t){v(r(this,te),t)}onfocus(t){t.preventDefault(),this.root.isCombobox?this.root.inputNode?.focus():this.root.triggerNode?.focus()}get props(){return i(r(this,ee))}set props(t){v(r(this,ee),t)}};te=new WeakMap,ee=new WeakMap;let ye=Oe;var re,oe;const Ee=class Ee{constructor(t,e){u(this,"opts");u(this,"content");u(this,"root");u(this,"attachment");d(this,re,V(0));d(this,oe,c(()=>({id:this.opts.id.current,role:"presentation",[this.root.getBitsAttr("viewport")]:"",style:{position:"relative",flex:1,overflow:"auto"},...this.attachment})));this.opts=t,this.content=e,this.root=e.root,this.attachment=lt(t.ref,o=>{this.root.viewportNode=o})}static create(t){return new Ee(t,rr.get())}get prevScrollTop(){return i(r(this,re))}set prevScrollTop(t){v(r(this,re),t,!0)}get props(){return i(r(this,oe))}set props(t){v(r(this,oe),t)}};re=new WeakMap,oe=new WeakMap;let be=Ee;function Qr(l,t){if(new.target)return ft({component:Qr,...l});yt(t,!0);let e=p(t,"value",15),o=p(t,"autocomplete",7);const n=ye.create({value:k(()=>e())});var a={get value(){return e()},set value(f){e(f),g()},get autocomplete(){return o()},set autocomplete(f){o(f),g()},$set:vt,$on:(f,y)=>mt(t,f,y)},h=E(),b=O(h);{var C=f=>{ur(f,Ct(()=>n.props,{get autocomplete(){return o()},get value(){return e()},set value(y){e(y)}}))};Z(b,f=>{n.shouldRender&&f(C)})}return S(l,h),bt(a)}var Zr=new Set(["$$slots","$$events","$$legacy","id","ref","forceMount","side","onInteractOutside","onEscapeKeydown","children","child","preventScroll","style"]),Ue=se("<div><div><!></div></div>");function jr(l,t){const e=ue();if(new.target)return ft({component:jr,...l});yt(t,!0);let o=p(t,"id",23,()=>ot(e)),n=p(t,"ref",15,null),a=p(t,"forceMount",7,!1),h=p(t,"side",7,"bottom"),b=p(t,"onInteractOutside",7,R),C=p(t,"onEscapeKeydown",7,R),f=p(t,"children",7),y=p(t,"child",7),M=p(t,"preventScroll",7,!1),W=p(t,"style",7),w=de(t,Zr);const I=he.create({id:k(()=>o()),ref:k(()=>n(),s=>n(s)),onInteractOutside:k(()=>b()),onEscapeKeydown:k(()=>C())}),N=c(()=>rt(w,I.props));var H={get id(){return o()},set id(s=ot(e)){o(s),g()},get ref(){return n()},set ref(s=null){n(s),g()},get forceMount(){return a()},set forceMount(s=!1){a(s),g()},get side(){return h()},set side(s="bottom"){h(s),g()},get onInteractOutside(){return b()},set onInteractOutside(s=R){b(s),g()},get onEscapeKeydown(){return C()},set onEscapeKeydown(s=R){C(s),g()},get children(){return f()},set children(s){f(s),g()},get child(){return y()},set child(s){y(s),g()},get preventScroll(){return M()},set preventScroll(s=!1){M(s),g()},get style(){return W()},set style(s){W(s),g()},$set:vt,$on:(s,T)=>mt(t,s,T)},F=E(),Nt=O(F);{var wt=s=>{Xe(s,Ct(()=>i(N),()=>I.popperProps,{get ref(){return I.opts.ref},get side(){return h()},get enabled(){return I.root.opts.open.current},get id(){return o()},get preventScroll(){return M()},forceMount:!0,get shouldRender(){return I.shouldRender},popper:(D,B)=>{let Y=()=>(B?.()).props,L=()=>(B?.()).wrapperProps;const z=c(()=>rt(Y(),{style:I.props.style},{style:W()}));var J=E(),st=O(J);{var A=P=>{var x=E(),U=O(x);{let it=c(()=>({props:i(z),wrapperProps:L(),...I.snippetProps}));K(U,y,()=>i(it))}S(P,x)},_=P=>{var x=Ue();et(x,()=>({...L()}));var U=X(x);et(U,()=>({...i(z)}));var it=X(U);K(it,()=>f()??gt),$(U),$(x),S(P,x)};Z(st,P=>{y()?P(A):P(_,-1)})}S(D,J)},$$slots:{popper:!0}}))},m=s=>{$e(s,Ct(()=>i(N),()=>I.popperProps,{get ref(){return I.opts.ref},get side(){return h()},get open(){return I.root.opts.open.current},get id(){return o()},get preventScroll(){return M()},forceMount:!1,get shouldRender(){return I.shouldRender},popper:(D,B)=>{let Y=()=>(B?.()).props,L=()=>(B?.()).wrapperProps;const z=c(()=>rt(Y(),{style:I.props.style},{style:W()}));var J=E(),st=O(J);{var A=P=>{var x=E(),U=O(x);{let it=c(()=>({props:i(z),wrapperProps:L(),...I.snippetProps}));K(U,y,()=>i(it))}S(P,x)},_=P=>{var x=Ue();et(x,()=>({...L()}));var U=X(x);et(U,()=>({...i(z)}));var it=X(U);K(it,()=>f()??gt),$(U),$(x),S(P,x)};Z(st,P=>{y()?P(A):P(_,-1)})}S(D,J)},$$slots:{popper:!0}}))};Z(Nt,s=>{a()?s(wt):a()||s(m,1)})}return S(l,F),bt(H)}var Xr=new Set(["$$slots","$$events","$$legacy","id","ref","forceMount","onInteractOutside","onEscapeKeydown","children","child","preventScroll","style"]),We=se("<div><!></div>");function $r(l,t){const e=ue();if(new.target)return ft({component:$r,...l});yt(t,!0);let o=p(t,"id",23,()=>ot(e)),n=p(t,"ref",15,null),a=p(t,"forceMount",7,!1),h=p(t,"onInteractOutside",7,R),b=p(t,"onEscapeKeydown",7,R),C=p(t,"children",7),f=p(t,"child",7),y=p(t,"preventScroll",7,!1),M=p(t,"style",7),W=de(t,Xr);const w=he.create({id:k(()=>o()),ref:k(()=>n(),m=>n(m)),onInteractOutside:k(()=>h()),onEscapeKeydown:k(()=>b())}),I=c(()=>rt(W,w.props));var N={get id(){return o()},set id(m=ot(e)){o(m),g()},get ref(){return n()},set ref(m=null){n(m),g()},get forceMount(){return a()},set forceMount(m=!1){a(m),g()},get onInteractOutside(){return h()},set onInteractOutside(m=R){h(m),g()},get onEscapeKeydown(){return b()},set onEscapeKeydown(m=R){b(m),g()},get children(){return C()},set children(m){C(m),g()},get child(){return f()},set child(m){f(m),g()},get preventScroll(){return y()},set preventScroll(m=!1){y(m),g()},get style(){return M()},set style(m){M(m),g()},$set:vt,$on:(m,s)=>mt(t,m,s)},H=E(),F=O(H);{var Nt=m=>{Xe(m,Ct(()=>i(I),()=>w.popperProps,{get ref(){return w.opts.ref},isStatic:!0,get enabled(){return w.root.opts.open.current},get id(){return o()},get preventScroll(){return y()},forceMount:!0,get shouldRender(){return w.shouldRender},popper:(T,D)=>{let B=()=>(D?.()).props;const Y=c(()=>rt(B(),{style:w.props.style},{style:M()}));var L=E(),z=O(L);{var J=A=>{var _=E(),P=O(_);{let x=c(()=>({props:i(Y),...w.snippetProps}));K(P,f,()=>i(x))}S(A,_)},st=A=>{var _=We();et(_,()=>({...i(Y)}));var P=X(_);K(P,()=>C()??gt),$(_),S(A,_)};Z(z,A=>{f()?A(J):A(st,-1)})}S(T,L)},$$slots:{popper:!0}}))},wt=m=>{$e(m,Ct(()=>i(I),()=>w.popperProps,{get ref(){return w.opts.ref},isStatic:!0,get open(){return w.root.opts.open.current},get id(){return o()},get preventScroll(){return y()},forceMount:!1,get shouldRender(){return w.shouldRender},popper:(T,D)=>{let B=()=>(D?.()).props;const Y=c(()=>rt(B(),{style:w.props.style},{style:M()}));var L=E(),z=O(L);{var J=A=>{var _=E(),P=O(_);{let x=c(()=>({props:i(Y),...w.snippetProps}));K(P,f,()=>i(x))}S(A,_)},st=A=>{var _=We();et(_,()=>({...i(Y)}));var P=X(_);K(P,()=>C()??gt),$(_),S(A,_)};Z(z,A=>{f()?A(J):A(st,-1)})}S(T,L)},$$slots:{popper:!0}}))};Z(F,m=>{a()?m(Nt):a()||m(wt,1)})}return S(l,H),bt(N)}function ir(l,t){if(new.target)return ft({component:ir,...l});yt(t,!0);let e=p(t,"mounted",15,!1),o=p(t,"onMountedChange",7,R);Lr(()=>(e(!0),o()(!0),()=>{e(!1),o()(!1)}));var n={get mounted(){return e()},set mounted(a=!1){e(a),g()},get onMountedChange(){return o()},set onMountedChange(a=R){o(a),g()},$set:vt,$on:(a,h)=>mt(t,a,h)};return bt(n)}var to=new Set(["$$slots","$$events","$$legacy","id","ref","value","label","disabled","children","child","onHighlight","onUnhighlight"]),eo=se("<div><!></div>"),ro=se("<!> <!>",1);function oo(l,t){const e=ue();if(new.target)return ft({component:oo,...l});yt(t,!0);let o=p(t,"id",23,()=>ot(e)),n=p(t,"ref",15,null),a=p(t,"value",7),h=p(t,"label",23,a),b=p(t,"disabled",7,!1),C=p(t,"children",7),f=p(t,"child",7),y=p(t,"onHighlight",7,R),M=p(t,"onUnhighlight",7,R),W=de(t,to);const w=me.create({id:k(()=>o()),ref:k(()=>n(),s=>n(s)),value:k(()=>a()),disabled:k(()=>b()),label:k(()=>h()),onHighlight:k(()=>y()),onUnhighlight:k(()=>M())}),I=c(()=>rt(W,w.props));var N={get id(){return o()},set id(s=ot(e)){o(s),g()},get ref(){return n()},set ref(s=null){n(s),g()},get value(){return a()},set value(s){a(s),g()},get label(){return h()},set label(s=a){h(s),g()},get disabled(){return b()},set disabled(s=!1){b(s),g()},get children(){return C()},set children(s){C(s),g()},get child(){return f()},set child(s){f(s),g()},get onHighlight(){return y()},set onHighlight(s=R){y(s),g()},get onUnhighlight(){return M()},set onUnhighlight(s=R){M(s),g()},$set:vt,$on:(s,T)=>mt(t,s,T)},H=ro(),F=O(H);{var Nt=s=>{var T=E(),D=O(T);{let B=c(()=>({props:i(I),...w.snippetProps}));K(D,f,()=>i(B))}S(s,T)},wt=s=>{var T=eo();et(T,()=>({...i(I)}));var D=X(T);K(D,()=>C()??gt,()=>w.snippetProps),$(T),S(s,T)};Z(F,s=>{f()?s(Nt):s(wt,-1)})}var m=dr(F,2);return ir(m,{get mounted(){return w.mounted},set mounted(s){w.mounted=s}}),S(l,H),bt(N)}var so=new Set(["$$slots","$$events","$$legacy","id","ref","children","child"]),io=se("<div><!></div>");function no(l,t){const e=ue();if(new.target)return ft({component:no,...l});yt(t,!0);let o=p(t,"id",23,()=>ot(e)),n=p(t,"ref",15,null),a=p(t,"children",7),h=p(t,"child",7),b=de(t,so);const C=be.create({id:k(()=>o()),ref:k(()=>n(),N=>n(N))}),f=c(()=>rt(b,C.props));var y={get id(){return o()},set id(N=ot(e)){o(N),g()},get ref(){return n()},set ref(N=null){n(N),g()},get children(){return a()},set children(N){a(N),g()},get child(){return h()},set child(N){h(N),g()},$set:vt,$on:(N,H)=>mt(t,N,H)},M=E(),W=O(M);{var w=N=>{var H=E(),F=O(H);K(F,h,()=>({props:i(f)})),S(N,H)},I=N=>{var H=io();et(H,()=>({...i(f)}));var F=X(H);K(F,()=>a()??gt),$(H),S(N,H)};Z(W,N=>{h()?N(w):N(I,-1)})}return S(l,M),bt(y)}export{Le as S,Be as a,Fe as b,vo as c,De as d,jr as e,$r as f,Qr as g,oo as h,no as i};
1
+ var nr=Object.defineProperty;var Re=l=>{throw TypeError(l)};var hr=(l,t,e)=>t in l?nr(l,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[t]=e;var u=(l,t,e)=>hr(l,typeof t!="symbol"?t+"":t,e),pe=(l,t,e)=>t.has(l)||Re("Cannot "+e);var r=(l,t,e)=>(pe(l,t,"read from private field"),e?e.call(l):t.get(l)),d=(l,t,e)=>t.has(l)?Re("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(l):t.set(l,e),ut=(l,t,e,o)=>(pe(l,t,"write to private field"),o?o.call(l,e):t.set(l,e),e),ct=(l,t,e)=>(pe(l,t,"access private method"),e);import{t as ft,bo as p,bw as vt,b as mt,br as Ct,bp as de}from"./CtfEuoOH.js";import{c9 as c,aD as i,bH as v,bV as V,bi as ar,ca as qe,cb as lr,bs as yt,a7 as E,ay as O,W as S,bn as bt,aA as g,bo as ue,a5 as X,bf as gt,bA as $,aB as se,bS as dr}from"./3SdAC2_C.js";import{i as Z}from"./DynUeYUu.js";import{H as ur}from"./BUSErGiB.js";import{au as cr,aI as pr,h as Ne,an as lt,D as ce,i as gr,d as q,a as tt,l as ie,a6 as ge,ac as ne,_ as we,J as Ce,Z as Ie,E as Pe,aR as Ge,aW as Ye,aC as ze,ap as Je,aq as Se,aF as _e,ar as Qe,a$ as at,aN as fr,aU as vr,aH as mr,aG as yr,at as Ve,am as Ze,a2 as br,av as k,ay as Nr,m as je,b as wr,c as Cr,a4 as Ir,C as Pr,g as Sr,A as _r,M as xr,F as kr,r as Hr,s as Tr,t as Ar,u as Mr,v as Or,w as Er,x as Rr,y as Vr,o as Kr,p as Fr,q as Dr,B as Br,az as ot,aS as R,a0 as Xe,$ as $e,aQ as rt,aV as Lr}from"./D9R5fzn8.js";import{t as K}from"./CGmYraIa.js";import{b as et}from"./B26ZHg3s.js";var It,ae;class Ur{constructor(t,e){d(this,It,()=>{});d(this,ae,c(()=>r(this,It).call(this)));let o;e!==void 0&&(o=e),ut(this,It,()=>{try{return o}finally{o=t()}})}get current(){return i(r(this,ae))}}It=new WeakMap,ae=new WeakMap;var Q,nt,j;class Wr{constructor(t){d(this,Q);d(this,nt,c(()=>r(this,Q).candidateValues()));d(this,j);ut(this,Q,t),ut(this,j,cr("",{afterMs:1e3,getWindow:r(this,Q).getWindow})),this.handleTypeaheadSearch=this.handleTypeaheadSearch.bind(this),this.resetTypeahead=this.resetTypeahead.bind(this)}handleTypeaheadSearch(t){if(!r(this,Q).enabled()||!i(r(this,nt)).length)return;r(this,j).current=r(this,j).current+t;const e=r(this,Q).getCurrentItem(),o=i(r(this,nt)).find(b=>b===e)??"",n=i(r(this,nt)).map(b=>b??""),a=pr(n,r(this,j).current,o),h=i(r(this,nt)).find(b=>b===a);return h&&r(this,Q).onMatch(h),h}resetTypeahead(){r(this,j).current=""}}Q=new WeakMap,nt=new WeakMap,j=new WeakMap;const Ke=[wr,je,Cr,Ir,Pr,Sr,_r,xr,ie,kr,Hr,Tr,Ar,Mr,Or,Er,Rr,Vr,Kr,Fr,Dr],qr=[tt,we,Ce],Gr=[q,Ie,Pe],tr=[...qr,...Gr],Yr=Nr({component:"select",parts:["trigger","content","item","viewport","scroll-up-button","scroll-down-button","group","group-label","separator","arrow","input","content-wrapper","item-text","value"]}),dt=new Ne("Select.Root | Combobox.Root"),er=new Ne("Select.Group | Combobox.Group"),rr=new Ne("Select.Content | Combobox.Content");var Pt,St,_t,xt,kt,Ht,Tt,At,Mt,Ot,Et,Rt;class or{constructor(t){u(this,"opts");d(this,Pt,V(!1));d(this,St,V(null));d(this,_t,V(null));u(this,"contentPresence");d(this,xt,V(null));d(this,kt,V(null));d(this,Ht,V(null));d(this,Tt,V(""));d(this,At,V(null));d(this,Mt,c(()=>this.highlightedNode?this.highlightedNode.getAttribute("data-value"):null));d(this,Ot,c(()=>{if(this.highlightedNode)return this.highlightedNode.id}));d(this,Et,c(()=>this.highlightedNode?this.highlightedNode.getAttribute("data-label"):null));d(this,Rt,V(!1));u(this,"isUsingKeyboard",!1);u(this,"isCombobox",!1);u(this,"domContext",new ce(()=>null));u(this,"getBitsAttr",t=>Yr.getAttr(t,this.isCombobox?"combobox":void 0));this.opts=t,this.isCombobox=t.isCombobox,this.contentPresence=new br({ref:k(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),lr(()=>{this.opts.open.current||this.setHighlightedNode(null)})}get touchedInput(){return i(r(this,Pt))}set touchedInput(t){v(r(this,Pt),t,!0)}get inputNode(){return i(r(this,St))}set inputNode(t){v(r(this,St),t,!0)}get contentNode(){return i(r(this,_t))}set contentNode(t){v(r(this,_t),t,!0)}get viewportNode(){return i(r(this,xt))}set viewportNode(t){v(r(this,xt),t,!0)}get triggerNode(){return i(r(this,kt))}set triggerNode(t){v(r(this,kt),t,!0)}get valueNode(){return i(r(this,Ht))}set valueNode(t){v(r(this,Ht),t,!0)}get valueId(){return i(r(this,Tt))}set valueId(t){v(r(this,Tt),t,!0)}get highlightedNode(){return i(r(this,At))}set highlightedNode(t){v(r(this,At),t,!0)}get highlightedValue(){return i(r(this,Mt))}set highlightedValue(t){v(r(this,Mt),t)}get highlightedId(){return i(r(this,Ot))}set highlightedId(t){v(r(this,Ot),t)}get highlightedLabel(){return i(r(this,Et))}set highlightedLabel(t){v(r(this,Et),t)}get contentIsPositioned(){return i(r(this,Rt))}set contentIsPositioned(t){v(r(this,Rt),t,!0)}setHighlightedNode(t,e=!1){this.highlightedNode=t,t&&(this.isUsingKeyboard||e)&&this.scrollHighlightedNodeIntoView(t)}scrollHighlightedNodeIntoView(t){!this.viewportNode||!this.contentIsPositioned||t.scrollIntoView({block:this.opts.scrollAlignment.current})}getCandidateNodes(){const t=this.contentNode;return t?Array.from(t.querySelectorAll(`[${this.getBitsAttr("item")}]:not([data-disabled])`)):[]}setHighlightedToFirstCandidate(t=!1){this.setHighlightedNode(null);let e=this.getCandidateNodes();if(e.length){if(this.viewportNode){const o=this.viewportNode.getBoundingClientRect();e=e.filter(n=>{if(!this.viewportNode)return!1;const a=n.getBoundingClientRect();return a.right<=o.right&&a.left>=o.left&&a.bottom<=o.bottom&&a.top>=o.top})}this.setHighlightedNode(e[0],t)}}getNodeByValue(t){return this.getCandidateNodes().find(o=>o.dataset.value===t)??null}getLabelForValue(t){if(t==="")return"";const e=this.opts.items.current.find(n=>n.value===t)?.label;if(e!==void 0)return e;const o=this.getNodeByValue(t);if(o){const n=o.getAttribute("data-label");return n!==null&&n!==""?n:o.textContent?.trim()??t}return t}setOpen(t){this.opts.open.current=t}toggleOpen(){this.opts.open.current=!this.opts.open.current}handleOpen(){this.setOpen(!0)}handleClose(){this.setHighlightedNode(null),this.setOpen(!1)}toggleMenu(){this.toggleOpen()}}Pt=new WeakMap,St=new WeakMap,_t=new WeakMap,xt=new WeakMap,kt=new WeakMap,Ht=new WeakMap,Tt=new WeakMap,At=new WeakMap,Mt=new WeakMap,Ot=new WeakMap,Et=new WeakMap,Rt=new WeakMap;var Vt,Kt,Ft,Dt;class zr extends or{constructor(e){super(e);u(this,"opts");u(this,"isMulti",!1);d(this,Vt,c(()=>this.opts.value.current!==""));d(this,Kt,c(()=>this.opts.items.current.length?this.opts.items.current.find(e=>e.value===this.opts.value.current)?.label??"":""));d(this,Ft,c(()=>this.opts.items.current.length?this.opts.items.current.filter(o=>!o.disabled).map(o=>o.label):[]));d(this,Dt,c(()=>!(this.isMulti||this.opts.items.current.length===0)));this.opts=e,qe(()=>{!this.opts.open.current&&this.highlightedNode&&this.setHighlightedNode(null)}),at(()=>this.opts.open.current,()=>{this.opts.open.current&&this.setInitialHighlightedNode()})}get hasValue(){return i(r(this,Vt))}set hasValue(e){v(r(this,Vt),e)}get currentLabel(){return i(r(this,Kt))}set currentLabel(e){v(r(this,Kt),e)}get candidateLabels(){return i(r(this,Ft))}set candidateLabels(e){v(r(this,Ft),e)}get dataTypeaheadEnabled(){return i(r(this,Dt))}set dataTypeaheadEnabled(e){v(r(this,Dt),e)}includesItem(e){return this.opts.value.current===e}toggleItem(e,o=e){const n=this.includesItem(e)?"":e;this.opts.value.current=n,n!==""&&(this.opts.inputValue.current=o)}setInitialHighlightedNode(){Ze(()=>{if(!(this.highlightedNode&&this.domContext.getDocument().contains(this.highlightedNode))){if(this.opts.value.current!==""){const e=this.getNodeByValue(this.opts.value.current);if(e){this.setHighlightedNode(e,!0);return}}this.setHighlightedToFirstCandidate(!0)}})}}Vt=new WeakMap,Kt=new WeakMap,Ft=new WeakMap,Dt=new WeakMap;var Bt;class Jr extends or{constructor(e){super(e);u(this,"opts");u(this,"isMulti",!0);d(this,Bt,c(()=>this.opts.value.current.length>0));this.opts=e,qe(()=>{!this.opts.open.current&&this.highlightedNode&&this.setHighlightedNode(null)}),at(()=>this.opts.open.current,()=>{this.opts.open.current&&this.setInitialHighlightedNode()})}get hasValue(){return i(r(this,Bt))}set hasValue(e){v(r(this,Bt),e)}includesItem(e){return this.opts.value.current.includes(e)}toggleItem(e,o=e){this.includesItem(e)?this.opts.value.current=this.opts.value.current.filter(n=>n!==e):this.opts.value.current=[...this.opts.value.current,e],this.opts.inputValue.current=o}setInitialHighlightedNode(){Ze(()=>{if(this.domContext&&!(this.highlightedNode&&this.domContext.getDocument().contains(this.highlightedNode))){if(this.opts.value.current.length&&this.opts.value.current[0]!==""){const e=this.getNodeByValue(this.opts.value.current[0]);if(e){this.setHighlightedNode(e,!0);return}}this.setHighlightedToFirstCandidate(!0)}})}}Bt=new WeakMap;class vo{static create(t){const{type:e,...o}=t,n=e==="single"?new zr(o):new Jr(o);return dt.set(n)}}var Lt;const xe=class xe{constructor(t,e){u(this,"opts");u(this,"root");u(this,"attachment");d(this,Lt,c(()=>({id:this.opts.id.current,role:"combobox",disabled:this.root.opts.disabled.current?!0:void 0,"aria-activedescendant":this.root.highlightedId,"aria-autocomplete":"list","aria-expanded":Qe(this.root.opts.open.current),"data-state":_e(this.root.opts.open.current),"data-disabled":Se(this.root.opts.disabled.current),onkeydown:this.onkeydown,oninput:this.oninput,[this.root.getBitsAttr("input")]:"",...this.attachment})));this.opts=t,this.root=e,this.attachment=lt(t.ref,o=>this.root.inputNode=o),this.root.domContext=new ce(t.ref),this.onkeydown=this.onkeydown.bind(this),this.oninput=this.oninput.bind(this),at([()=>this.root.opts.value.current,()=>this.opts.clearOnDeselect.current],([o,n],[a])=>{n&&(Array.isArray(o)&&Array.isArray(a)?o.length===0&&a.length!==0&&(this.root.opts.inputValue.current=""):o===""&&a!==""&&(this.root.opts.inputValue.current=""))})}static create(t){return new xe(t,dt.get())}onkeydown(t){if(this.root.isUsingKeyboard=!0,t.key!==je){if((t.key===q||t.key===tt)&&t.preventDefault(),!this.root.opts.open.current){if(Ke.includes(t.key)||t.key===ne||t.key===Br&&this.root.opts.inputValue.current===""||(this.root.handleOpen(),this.root.hasValue))return;const e=this.root.getCandidateNodes();if(!e.length)return;if(t.key===tt){const o=e[0];this.root.setHighlightedNode(o)}else if(t.key===q){const o=e[e.length-1];this.root.setHighlightedNode(o)}return}if(t.key===ne){this.root.handleClose();return}if(t.key===ie&&!t.isComposing){t.preventDefault();const e=this.root.highlightedValue===this.root.opts.value.current;if(!this.root.opts.allowDeselect.current&&e&&!this.root.isMulti){this.root.handleClose();return}this.root.highlightedValue&&this.root.highlightedNode&&this.root.highlightedNode.isConnected&&this.root.toggleItem(this.root.highlightedValue,this.root.highlightedLabel??void 0),!this.root.isMulti&&!e&&this.root.handleClose()}if(t.key===q&&t.altKey&&this.root.handleClose(),tr.includes(t.key)){t.preventDefault();const e=this.root.getCandidateNodes(),o=this.root.highlightedNode,n=o?e.indexOf(o):-1,a=this.root.opts.loop.current;let h;if(t.key===tt?h=Ge(e,n,a):t.key===q?h=Ye(e,n,a):t.key===Ie?h=ze(e,n,10,a):t.key===we?h=Je(e,n,10,a):t.key===Ce?h=e[0]:t.key===Pe&&(h=e[e.length-1]),!h)return;this.root.setHighlightedNode(h);return}Ke.includes(t.key)||this.root.highlightedNode||this.root.setHighlightedToFirstCandidate()}}oninput(t){this.root.opts.inputValue.current=t.currentTarget.value,this.root.setHighlightedToFirstCandidate()}get props(){return i(r(this,Lt))}set props(t){v(r(this,Lt),t)}};Lt=new WeakMap;let Fe=xe;var ht,pt,G,sr,fe,ve,Ut;const ke=class ke{constructor(t,e){d(this,G);u(this,"opts");u(this,"root");u(this,"attachment");d(this,ht);d(this,pt);d(this,Ut,c(()=>({id:this.opts.id.current,disabled:this.root.opts.disabled.current?!0:void 0,"aria-haspopup":"listbox","aria-expanded":Qe(this.root.opts.open.current),"aria-activedescendant":this.root.highlightedId,"data-state":_e(this.root.opts.open.current),"data-disabled":Se(this.root.opts.disabled.current),"data-placeholder":this.root.hasValue?void 0:"",[this.root.getBitsAttr("trigger")]:"",onpointerdown:this.onpointerdown,onkeydown:this.onkeydown,onclick:this.onclick,onpointerup:this.onpointerup,...this.attachment})));this.opts=t,this.root=e,this.attachment=lt(t.ref,o=>this.root.triggerNode=o),this.root.domContext=new ce(t.ref),ut(this,ht,new gr({getCurrentItem:()=>this.root.highlightedNode,onMatch:o=>{this.root.setHighlightedNode(o)},getActiveElement:()=>this.root.domContext.getActiveElement(),getWindow:()=>this.root.domContext.getWindow()})),ut(this,pt,new Wr({getCurrentItem:()=>this.root.isMulti?"":this.root.currentLabel,onMatch:o=>{if(this.root.isMulti||!this.root.opts.items.current)return;const n=this.root.opts.items.current.find(a=>a.label===o);n&&(this.root.opts.value.current=n.value)},enabled:()=>!this.root.isMulti&&this.root.dataTypeaheadEnabled,candidateValues:()=>this.root.isMulti?[]:this.root.candidateLabels,getWindow:()=>this.root.domContext.getWindow()})),this.onkeydown=this.onkeydown.bind(this),this.onpointerdown=this.onpointerdown.bind(this),this.onpointerup=this.onpointerup.bind(this),this.onclick=this.onclick.bind(this)}static create(t){return new ke(t,dt.get())}onkeydown(t){if(this.root.isUsingKeyboard=!0,(t.key===q||t.key===tt)&&t.preventDefault(),!this.root.opts.open.current){if(t.key===ie||t.key===ge||t.key===tt||t.key===q)t.preventDefault(),this.root.handleOpen();else if(!this.root.isMulti&&this.root.dataTypeaheadEnabled){r(this,pt).handleTypeaheadSearch(t.key);return}if(this.root.hasValue)return;const h=this.root.getCandidateNodes();if(!h.length)return;if(t.key===tt){const b=h[0];this.root.setHighlightedNode(b)}else if(t.key===q){const b=h[h.length-1];this.root.setHighlightedNode(b)}return}if(t.key===ne){this.root.handleClose();return}if((t.key===ie||t.key===ge&&r(this,ht).search==="")&&!t.isComposing&&(t.preventDefault(),ct(this,G,ve).call(this)))return;if(t.key===q&&t.altKey&&this.root.handleClose(),tr.includes(t.key)){t.preventDefault();const h=this.root.getCandidateNodes(),b=this.root.highlightedNode,C=b?h.indexOf(b):-1,f=this.root.opts.loop.current;let y;if(t.key===tt?y=Ge(h,C,f):t.key===q?y=Ye(h,C,f):t.key===Ie?y=ze(h,C,10,f):t.key===we?y=Je(h,C,10,f):t.key===Ce?y=h[0]:t.key===Pe&&(y=h[h.length-1]),!y)return;this.root.setHighlightedNode(y);return}const e=t.ctrlKey||t.altKey||t.metaKey,o=t.key.length===1,n=t.key===ge,a=this.root.getCandidateNodes();if(t.key!==ne){if(!e&&(o||n)){!r(this,ht).handleTypeaheadSearch(t.key,a)&&n&&(t.preventDefault(),ct(this,G,ve).call(this));return}this.root.highlightedNode||this.root.setHighlightedToFirstCandidate()}}onclick(t){t.currentTarget.focus()}onpointerdown(t){if(this.root.opts.disabled.current)return;if(t.pointerType==="touch")return t.preventDefault();const e=t.target;e?.hasPointerCapture(t.pointerId)&&e?.releasePointerCapture(t.pointerId),t.button===0&&t.ctrlKey===!1&&(this.root.opts.open.current===!1?ct(this,G,fe).call(this,t):this.root.handleClose())}onpointerup(t){this.root.opts.disabled.current||(t.preventDefault(),t.pointerType==="touch"&&(this.root.opts.open.current===!1?ct(this,G,fe).call(this,t):this.root.handleClose()))}get props(){return i(r(this,Ut))}set props(t){v(r(this,Ut),t)}};ht=new WeakMap,pt=new WeakMap,G=new WeakSet,sr=function(){this.root.opts.open.current=!0,r(this,pt).resetTypeahead(),r(this,ht).resetTypeahead()},fe=function(t){ct(this,G,sr).call(this)},ve=function(){const t=this.root.highlightedValue===this.root.opts.value.current;return!this.root.opts.allowDeselect.current&&t&&!this.root.isMulti?(this.root.handleClose(),!0):(this.root.highlightedValue!==null&&this.root.toggleItem(this.root.highlightedValue,this.root.highlightedLabel??void 0),!this.root.isMulti&&!t?(this.root.handleClose(),!0):!1)},Ut=new WeakMap;let De=ke;var Wt,le,qt,Gt;const He=class He{constructor(t,e){u(this,"opts");u(this,"root");u(this,"attachment");d(this,Wt,V(!1));u(this,"domContext");d(this,le,c(()=>mr(this.root.isCombobox?"combobox":"select")));u(this,"onInteractOutside",t=>{if(t.target===this.root.triggerNode||t.target===this.root.inputNode){t.preventDefault();return}this.opts.onInteractOutside.current(t),!t.defaultPrevented&&this.root.handleClose()});u(this,"onEscapeKeydown",t=>{this.opts.onEscapeKeydown.current(t),!t.defaultPrevented&&this.root.handleClose()});u(this,"onOpenAutoFocus",t=>{t.preventDefault()});u(this,"onCloseAutoFocus",t=>{t.preventDefault()});d(this,qt,c(()=>({open:this.root.opts.open.current})));d(this,Gt,c(()=>({id:this.opts.id.current,role:"listbox","aria-multiselectable":this.root.isMulti?"true":void 0,"data-state":_e(this.root.opts.open.current),...yr(this.root.contentPresence.transitionStatus),[this.root.getBitsAttr("content")]:"",style:{display:"flex",flexDirection:"column",outline:"none",boxSizing:"border-box",pointerEvents:"auto",...i(r(this,le))},onpointermove:this.onpointermove,...this.attachment})));u(this,"popperProps",{onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus,trapFocus:!1,loop:!1,onPlaced:()=>{this.root.opts.open.current&&(this.root.contentIsPositioned=!0,this.isPositioned=!0)}});this.opts=t,this.root=e,this.attachment=lt(t.ref,o=>this.root.contentNode=o),this.domContext=new ce(this.opts.ref),this.root.domContext===null&&(this.root.domContext=this.domContext),vr(()=>{this.root.contentNode=null,this.root.contentIsPositioned=!1,this.isPositioned=!1}),at(()=>this.root.opts.open.current,()=>{this.root.opts.open.current||(this.root.contentIsPositioned=!1,this.isPositioned=!1)}),at([()=>this.isPositioned,()=>this.root.highlightedNode],()=>{!this.isPositioned||!this.root.highlightedNode||this.root.scrollHighlightedNodeIntoView(this.root.highlightedNode)}),this.onpointermove=this.onpointermove.bind(this)}static create(t){return rr.set(new He(t,dt.get()))}get isPositioned(){return i(r(this,Wt))}set isPositioned(t){v(r(this,Wt),t,!0)}onpointermove(t){this.root.isUsingKeyboard=!1}get shouldRender(){return this.root.contentPresence.shouldRender}get snippetProps(){return i(r(this,qt))}set snippetProps(t){v(r(this,qt),t)}get props(){return i(r(this,Gt))}set props(t){v(r(this,Gt),t)}};Wt=new WeakMap,le=new WeakMap,qt=new WeakMap,Gt=new WeakMap;let he=He;var Yt,zt,Jt,Qt,Zt;const Te=class Te{constructor(t,e){u(this,"opts");u(this,"root");u(this,"attachment");d(this,Yt,c(()=>this.root.includesItem(this.opts.value.current)));d(this,zt,c(()=>this.root.highlightedValue===this.opts.value.current));u(this,"prevHighlighted",new Ur(()=>this.isHighlighted));d(this,Jt,V(!1));d(this,Qt,c(()=>({selected:this.isSelected,highlighted:this.isHighlighted})));d(this,Zt,c(()=>({id:this.opts.id.current,role:"option","aria-selected":this.root.includesItem(this.opts.value.current)?"true":void 0,"data-value":this.opts.value.current,"data-disabled":Se(this.opts.disabled.current),"data-highlighted":this.root.highlightedValue===this.opts.value.current&&!this.opts.disabled.current?"":void 0,"data-selected":this.root.includesItem(this.opts.value.current)?"":void 0,"data-label":this.opts.label.current,[this.root.getBitsAttr("item")]:"",onpointermove:this.onpointermove,onpointerdown:this.onpointerdown,onpointerup:this.onpointerup,...this.attachment})));this.opts=t,this.root=e,this.attachment=lt(t.ref),at([()=>this.isHighlighted,()=>this.prevHighlighted.current],()=>{this.isHighlighted?this.opts.onHighlight.current():this.prevHighlighted.current&&this.opts.onUnhighlight.current()}),at(()=>this.mounted,()=>{this.mounted&&this.root.setInitialHighlightedNode()}),this.onpointerdown=this.onpointerdown.bind(this),this.onpointerup=this.onpointerup.bind(this),this.onpointermove=this.onpointermove.bind(this)}static create(t){return new Te(t,dt.get())}get isSelected(){return i(r(this,Yt))}set isSelected(t){v(r(this,Yt),t)}get isHighlighted(){return i(r(this,zt))}set isHighlighted(t){v(r(this,zt),t)}get mounted(){return i(r(this,Jt))}set mounted(t){v(r(this,Jt),t,!0)}handleSelect(){if(this.opts.disabled.current)return;const t=this.opts.value.current===this.root.opts.value.current;if(!this.root.opts.allowDeselect.current&&t&&!this.root.isMulti){this.root.handleClose();return}this.root.toggleItem(this.opts.value.current,this.opts.label.current),!this.root.isMulti&&!t&&this.root.handleClose()}get snippetProps(){return i(r(this,Qt))}set snippetProps(t){v(r(this,Qt),t)}onpointerdown(t){t.preventDefault()}onpointerup(t){if(!(t.defaultPrevented||!this.opts.ref.current)){if(t.pointerType==="touch"&&!fr){ar(this.opts.ref.current,"click",()=>{this.handleSelect(),this.root.setHighlightedNode(this.opts.ref.current)},{once:!0});return}t.preventDefault(),this.handleSelect(),t.pointerType==="touch"&&this.root.setHighlightedNode(this.opts.ref.current)}}onpointermove(t){t.pointerType!=="touch"&&this.root.highlightedNode!==this.opts.ref.current&&this.root.setHighlightedNode(this.opts.ref.current)}get props(){return i(r(this,Zt))}set props(t){v(r(this,Zt),t)}};Yt=new WeakMap,zt=new WeakMap,Jt=new WeakMap,Qt=new WeakMap,Zt=new WeakMap;let me=Te;var jt,Xt;const Ae=class Ae{constructor(t,e){u(this,"opts");u(this,"root");d(this,jt,V(null));u(this,"attachment");d(this,Xt,c(()=>({id:this.opts.id.current,role:"group",[this.root.getBitsAttr("group")]:"","aria-labelledby":this.labelNode?.id??void 0,...this.attachment})));this.opts=t,this.root=e,this.attachment=lt(t.ref)}static create(t){return er.set(new Ae(t,dt.get()))}get labelNode(){return i(r(this,jt))}set labelNode(t){v(r(this,jt),t,!0)}get props(){return i(r(this,Xt))}set props(t){v(r(this,Xt),t)}};jt=new WeakMap,Xt=new WeakMap;let Be=Ae;var $t;const Me=class Me{constructor(t,e){u(this,"opts");u(this,"group");u(this,"attachment");d(this,$t,c(()=>({id:this.opts.id.current,[this.group.root.getBitsAttr("group-label")]:"",...this.attachment})));this.opts=t,this.group=e,this.attachment=lt(t.ref,o=>this.group.labelNode=o)}static create(t){return new Me(t,er.get())}get props(){return i(r(this,$t))}set props(t){v(r(this,$t),t)}};$t=new WeakMap;let Le=Me;var te,ee;const Oe=class Oe{constructor(t,e){u(this,"opts");u(this,"root");d(this,te,c(()=>this.root.opts.name.current!==""));d(this,ee,c(()=>({disabled:Ve(this.root.opts.disabled.current),required:Ve(this.root.opts.required.current),name:this.root.opts.name.current,value:this.opts.value.current,onfocus:this.onfocus})));this.opts=t,this.root=e,this.onfocus=this.onfocus.bind(this)}static create(t){return new Oe(t,dt.get())}get shouldRender(){return i(r(this,te))}set shouldRender(t){v(r(this,te),t)}onfocus(t){t.preventDefault(),this.root.isCombobox?this.root.inputNode?.focus():this.root.triggerNode?.focus()}get props(){return i(r(this,ee))}set props(t){v(r(this,ee),t)}};te=new WeakMap,ee=new WeakMap;let ye=Oe;var re,oe;const Ee=class Ee{constructor(t,e){u(this,"opts");u(this,"content");u(this,"root");u(this,"attachment");d(this,re,V(0));d(this,oe,c(()=>({id:this.opts.id.current,role:"presentation",[this.root.getBitsAttr("viewport")]:"",style:{position:"relative",flex:1,overflow:"auto"},...this.attachment})));this.opts=t,this.content=e,this.root=e.root,this.attachment=lt(t.ref,o=>{this.root.viewportNode=o})}static create(t){return new Ee(t,rr.get())}get prevScrollTop(){return i(r(this,re))}set prevScrollTop(t){v(r(this,re),t,!0)}get props(){return i(r(this,oe))}set props(t){v(r(this,oe),t)}};re=new WeakMap,oe=new WeakMap;let be=Ee;function Qr(l,t){if(new.target)return ft({component:Qr,...l});yt(t,!0);let e=p(t,"value",15),o=p(t,"autocomplete",7);const n=ye.create({value:k(()=>e())});var a={get value(){return e()},set value(f){e(f),g()},get autocomplete(){return o()},set autocomplete(f){o(f),g()},$set:vt,$on:(f,y)=>mt(t,f,y)},h=E(),b=O(h);{var C=f=>{ur(f,Ct(()=>n.props,{get autocomplete(){return o()},get value(){return e()},set value(y){e(y)}}))};Z(b,f=>{n.shouldRender&&f(C)})}return S(l,h),bt(a)}var Zr=new Set(["$$slots","$$events","$$legacy","id","ref","forceMount","side","onInteractOutside","onEscapeKeydown","children","child","preventScroll","style"]),Ue=se("<div><div><!></div></div>");function jr(l,t){const e=ue();if(new.target)return ft({component:jr,...l});yt(t,!0);let o=p(t,"id",23,()=>ot(e)),n=p(t,"ref",15,null),a=p(t,"forceMount",7,!1),h=p(t,"side",7,"bottom"),b=p(t,"onInteractOutside",7,R),C=p(t,"onEscapeKeydown",7,R),f=p(t,"children",7),y=p(t,"child",7),M=p(t,"preventScroll",7,!1),W=p(t,"style",7),w=de(t,Zr);const I=he.create({id:k(()=>o()),ref:k(()=>n(),s=>n(s)),onInteractOutside:k(()=>b()),onEscapeKeydown:k(()=>C())}),N=c(()=>rt(w,I.props));var H={get id(){return o()},set id(s=ot(e)){o(s),g()},get ref(){return n()},set ref(s=null){n(s),g()},get forceMount(){return a()},set forceMount(s=!1){a(s),g()},get side(){return h()},set side(s="bottom"){h(s),g()},get onInteractOutside(){return b()},set onInteractOutside(s=R){b(s),g()},get onEscapeKeydown(){return C()},set onEscapeKeydown(s=R){C(s),g()},get children(){return f()},set children(s){f(s),g()},get child(){return y()},set child(s){y(s),g()},get preventScroll(){return M()},set preventScroll(s=!1){M(s),g()},get style(){return W()},set style(s){W(s),g()},$set:vt,$on:(s,T)=>mt(t,s,T)},F=E(),Nt=O(F);{var wt=s=>{Xe(s,Ct(()=>i(N),()=>I.popperProps,{get ref(){return I.opts.ref},get side(){return h()},get enabled(){return I.root.opts.open.current},get id(){return o()},get preventScroll(){return M()},forceMount:!0,get shouldRender(){return I.shouldRender},popper:(D,B)=>{let Y=()=>(B?.()).props,L=()=>(B?.()).wrapperProps;const z=c(()=>rt(Y(),{style:I.props.style},{style:W()}));var J=E(),st=O(J);{var A=P=>{var x=E(),U=O(x);{let it=c(()=>({props:i(z),wrapperProps:L(),...I.snippetProps}));K(U,y,()=>i(it))}S(P,x)},_=P=>{var x=Ue();et(x,()=>({...L()}));var U=X(x);et(U,()=>({...i(z)}));var it=X(U);K(it,()=>f()??gt),$(U),$(x),S(P,x)};Z(st,P=>{y()?P(A):P(_,-1)})}S(D,J)},$$slots:{popper:!0}}))},m=s=>{$e(s,Ct(()=>i(N),()=>I.popperProps,{get ref(){return I.opts.ref},get side(){return h()},get open(){return I.root.opts.open.current},get id(){return o()},get preventScroll(){return M()},forceMount:!1,get shouldRender(){return I.shouldRender},popper:(D,B)=>{let Y=()=>(B?.()).props,L=()=>(B?.()).wrapperProps;const z=c(()=>rt(Y(),{style:I.props.style},{style:W()}));var J=E(),st=O(J);{var A=P=>{var x=E(),U=O(x);{let it=c(()=>({props:i(z),wrapperProps:L(),...I.snippetProps}));K(U,y,()=>i(it))}S(P,x)},_=P=>{var x=Ue();et(x,()=>({...L()}));var U=X(x);et(U,()=>({...i(z)}));var it=X(U);K(it,()=>f()??gt),$(U),$(x),S(P,x)};Z(st,P=>{y()?P(A):P(_,-1)})}S(D,J)},$$slots:{popper:!0}}))};Z(Nt,s=>{a()?s(wt):a()||s(m,1)})}return S(l,F),bt(H)}var Xr=new Set(["$$slots","$$events","$$legacy","id","ref","forceMount","onInteractOutside","onEscapeKeydown","children","child","preventScroll","style"]),We=se("<div><!></div>");function $r(l,t){const e=ue();if(new.target)return ft({component:$r,...l});yt(t,!0);let o=p(t,"id",23,()=>ot(e)),n=p(t,"ref",15,null),a=p(t,"forceMount",7,!1),h=p(t,"onInteractOutside",7,R),b=p(t,"onEscapeKeydown",7,R),C=p(t,"children",7),f=p(t,"child",7),y=p(t,"preventScroll",7,!1),M=p(t,"style",7),W=de(t,Xr);const w=he.create({id:k(()=>o()),ref:k(()=>n(),m=>n(m)),onInteractOutside:k(()=>h()),onEscapeKeydown:k(()=>b())}),I=c(()=>rt(W,w.props));var N={get id(){return o()},set id(m=ot(e)){o(m),g()},get ref(){return n()},set ref(m=null){n(m),g()},get forceMount(){return a()},set forceMount(m=!1){a(m),g()},get onInteractOutside(){return h()},set onInteractOutside(m=R){h(m),g()},get onEscapeKeydown(){return b()},set onEscapeKeydown(m=R){b(m),g()},get children(){return C()},set children(m){C(m),g()},get child(){return f()},set child(m){f(m),g()},get preventScroll(){return y()},set preventScroll(m=!1){y(m),g()},get style(){return M()},set style(m){M(m),g()},$set:vt,$on:(m,s)=>mt(t,m,s)},H=E(),F=O(H);{var Nt=m=>{Xe(m,Ct(()=>i(I),()=>w.popperProps,{get ref(){return w.opts.ref},isStatic:!0,get enabled(){return w.root.opts.open.current},get id(){return o()},get preventScroll(){return y()},forceMount:!0,get shouldRender(){return w.shouldRender},popper:(T,D)=>{let B=()=>(D?.()).props;const Y=c(()=>rt(B(),{style:w.props.style},{style:M()}));var L=E(),z=O(L);{var J=A=>{var _=E(),P=O(_);{let x=c(()=>({props:i(Y),...w.snippetProps}));K(P,f,()=>i(x))}S(A,_)},st=A=>{var _=We();et(_,()=>({...i(Y)}));var P=X(_);K(P,()=>C()??gt),$(_),S(A,_)};Z(z,A=>{f()?A(J):A(st,-1)})}S(T,L)},$$slots:{popper:!0}}))},wt=m=>{$e(m,Ct(()=>i(I),()=>w.popperProps,{get ref(){return w.opts.ref},isStatic:!0,get open(){return w.root.opts.open.current},get id(){return o()},get preventScroll(){return y()},forceMount:!1,get shouldRender(){return w.shouldRender},popper:(T,D)=>{let B=()=>(D?.()).props;const Y=c(()=>rt(B(),{style:w.props.style},{style:M()}));var L=E(),z=O(L);{var J=A=>{var _=E(),P=O(_);{let x=c(()=>({props:i(Y),...w.snippetProps}));K(P,f,()=>i(x))}S(A,_)},st=A=>{var _=We();et(_,()=>({...i(Y)}));var P=X(_);K(P,()=>C()??gt),$(_),S(A,_)};Z(z,A=>{f()?A(J):A(st,-1)})}S(T,L)},$$slots:{popper:!0}}))};Z(F,m=>{a()?m(Nt):a()||m(wt,1)})}return S(l,H),bt(N)}function ir(l,t){if(new.target)return ft({component:ir,...l});yt(t,!0);let e=p(t,"mounted",15,!1),o=p(t,"onMountedChange",7,R);Lr(()=>(e(!0),o()(!0),()=>{e(!1),o()(!1)}));var n={get mounted(){return e()},set mounted(a=!1){e(a),g()},get onMountedChange(){return o()},set onMountedChange(a=R){o(a),g()},$set:vt,$on:(a,h)=>mt(t,a,h)};return bt(n)}var to=new Set(["$$slots","$$events","$$legacy","id","ref","value","label","disabled","children","child","onHighlight","onUnhighlight"]),eo=se("<div><!></div>"),ro=se("<!> <!>",1);function oo(l,t){const e=ue();if(new.target)return ft({component:oo,...l});yt(t,!0);let o=p(t,"id",23,()=>ot(e)),n=p(t,"ref",15,null),a=p(t,"value",7),h=p(t,"label",23,a),b=p(t,"disabled",7,!1),C=p(t,"children",7),f=p(t,"child",7),y=p(t,"onHighlight",7,R),M=p(t,"onUnhighlight",7,R),W=de(t,to);const w=me.create({id:k(()=>o()),ref:k(()=>n(),s=>n(s)),value:k(()=>a()),disabled:k(()=>b()),label:k(()=>h()),onHighlight:k(()=>y()),onUnhighlight:k(()=>M())}),I=c(()=>rt(W,w.props));var N={get id(){return o()},set id(s=ot(e)){o(s),g()},get ref(){return n()},set ref(s=null){n(s),g()},get value(){return a()},set value(s){a(s),g()},get label(){return h()},set label(s=a){h(s),g()},get disabled(){return b()},set disabled(s=!1){b(s),g()},get children(){return C()},set children(s){C(s),g()},get child(){return f()},set child(s){f(s),g()},get onHighlight(){return y()},set onHighlight(s=R){y(s),g()},get onUnhighlight(){return M()},set onUnhighlight(s=R){M(s),g()},$set:vt,$on:(s,T)=>mt(t,s,T)},H=ro(),F=O(H);{var Nt=s=>{var T=E(),D=O(T);{let B=c(()=>({props:i(I),...w.snippetProps}));K(D,f,()=>i(B))}S(s,T)},wt=s=>{var T=eo();et(T,()=>({...i(I)}));var D=X(T);K(D,()=>C()??gt,()=>w.snippetProps),$(T),S(s,T)};Z(F,s=>{f()?s(Nt):s(wt,-1)})}var m=dr(F,2);return ir(m,{get mounted(){return w.mounted},set mounted(s){w.mounted=s}}),S(l,H),bt(N)}var so=new Set(["$$slots","$$events","$$legacy","id","ref","children","child"]),io=se("<div><!></div>");function no(l,t){const e=ue();if(new.target)return ft({component:no,...l});yt(t,!0);let o=p(t,"id",23,()=>ot(e)),n=p(t,"ref",15,null),a=p(t,"children",7),h=p(t,"child",7),b=de(t,so);const C=be.create({id:k(()=>o()),ref:k(()=>n(),N=>n(N))}),f=c(()=>rt(b,C.props));var y={get id(){return o()},set id(N=ot(e)){o(N),g()},get ref(){return n()},set ref(N=null){n(N),g()},get children(){return a()},set children(N){a(N),g()},get child(){return h()},set child(N){h(N),g()},$set:vt,$on:(N,H)=>mt(t,N,H)},M=E(),W=O(M);{var w=N=>{var H=E(),F=O(H);K(F,h,()=>({props:i(f)})),S(N,H)},I=N=>{var H=io();et(H,()=>({...i(f)}));var F=X(H);K(F,()=>a()??gt),$(H),S(N,H)};Z(W,N=>{h()?N(w):N(I,-1)})}return S(l,M),bt(y)}export{Le as S,Be as a,Fe as b,vo as c,De as d,jr as e,$r as f,Qr as g,oo as h,no as i};
@@ -1,4 +1,4 @@
1
- import{b as o,W as pt,x as nt,am as Wt,an as Rt,au as Pt,H as Bt,X as ft,ay as E,aX as Vt,aH as Ft,b3 as yt,aW as U,d as ct,_ as zt,y as Ot,r as Gt}from"./CqCb3N-V.js";var tt=(function(){var e=o(function(k,a,d,l){for(d=d||{},l=k.length;l--;d[k[l]]=a);return d},"o"),t=[6,11,13,14,15,17,19,20,23,24],s=[1,12],r=[1,13],n=[1,14],h=[1,15],c=[1,16],i=[1,19],y=[1,20],p={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",7:"timeline",8:"timeline_lr",9:"timeline_td",11:"SPACE",13:"NEWLINE",14:"title",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",23:"period",24:"event"},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:o(function(a,d,l,g,x,u,S){var v=u.length-1;switch(x){case 1:return u[v-1];case 3:g.setDirection("LR");break;case 4:g.setDirection("TD");break;case 5:this.$=[];break;case 6:u[v-1].push(u[v]),this.$=u[v-1];break;case 7:case 8:this.$=u[v];break;case 9:case 10:this.$=[];break;case 11:g.getCommonDb().setDiagramTitle(u[v].substr(6)),this.$=u[v].substr(6);break;case 12:this.$=u[v].trim(),g.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=u[v].trim(),g.getCommonDb().setAccDescription(this.$);break;case 15:g.addSection(u[v].substr(8)),this.$=u[v].substr(8);break;case 18:g.addTask(u[v],0,""),this.$=u[v];break;case 19:g.addEvent(u[v].substr(2)),this.$=u[v];break}},"anonymous"),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},e(t,[2,5],{5:6}),e(t,[2,2]),e(t,[2,3]),e(t,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:s,15:r,17:n,19:h,20:c,21:17,22:18,23:i,24:y},e(t,[2,10],{1:[2,1]}),e(t,[2,6]),{12:21,14:s,15:r,17:n,19:h,20:c,21:17,22:18,23:i,24:y},e(t,[2,8]),e(t,[2,9]),e(t,[2,11]),{16:[1,22]},{18:[1,23]},e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,7]),e(t,[2,12]),e(t,[2,13])],defaultActions:{},parseError:o(function(a,d){if(d.recoverable)this.trace(a);else{var l=new Error(a);throw l.hash=d,l}},"parseError"),parse:o(function(a){var d=this,l=[0],g=[],x=[null],u=[],S=this.table,v="",I=0,C=0,R=2,O=1,L=u.slice.call(arguments,1),w=Object.create(this.lexer),H={yy:{}};for(var V in this.yy)Object.prototype.hasOwnProperty.call(this.yy,V)&&(H.yy[V]=this.yy[V]);w.setInput(a,H.yy),H.yy.lexer=w,H.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var F=w.yylloc;u.push(F);var K=w.options&&w.options.ranges;typeof H.yy.parseError=="function"?this.parseError=H.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function N(A){l.length=l.length-2*A,x.length=x.length-A,u.length=u.length-A}o(N,"popStack");function b(){var A;return A=g.pop()||w.lex()||O,typeof A!="number"&&(A instanceof Array&&(g=A,A=g.pop()),A=d.symbols_[A]||A),A}o(b,"lex");for(var _,$,T,P,W={},G,B,Z,j;;){if($=l[l.length-1],this.defaultActions[$]?T=this.defaultActions[$]:((_===null||typeof _>"u")&&(_=b()),T=S[$]&&S[$][_]),typeof T>"u"||!T.length||!T[0]){var Y="";j=[];for(G in S[$])this.terminals_[G]&&G>R&&j.push("'"+this.terminals_[G]+"'");w.showPosition?Y="Parse error on line "+(I+1)+`:
1
+ import{b as o,W as pt,x as nt,am as Wt,an as Rt,au as Pt,H as Bt,X as ft,ay as E,aX as Vt,aH as Ft,b3 as yt,aW as U,d as ct,_ as zt,y as Ot,r as Gt}from"./DPZ2um_T.js";var tt=(function(){var e=o(function(k,a,d,l){for(d=d||{},l=k.length;l--;d[k[l]]=a);return d},"o"),t=[6,11,13,14,15,17,19,20,23,24],s=[1,12],r=[1,13],n=[1,14],h=[1,15],c=[1,16],i=[1,19],y=[1,20],p={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",7:"timeline",8:"timeline_lr",9:"timeline_td",11:"SPACE",13:"NEWLINE",14:"title",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",23:"period",24:"event"},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:o(function(a,d,l,g,x,u,S){var v=u.length-1;switch(x){case 1:return u[v-1];case 3:g.setDirection("LR");break;case 4:g.setDirection("TD");break;case 5:this.$=[];break;case 6:u[v-1].push(u[v]),this.$=u[v-1];break;case 7:case 8:this.$=u[v];break;case 9:case 10:this.$=[];break;case 11:g.getCommonDb().setDiagramTitle(u[v].substr(6)),this.$=u[v].substr(6);break;case 12:this.$=u[v].trim(),g.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=u[v].trim(),g.getCommonDb().setAccDescription(this.$);break;case 15:g.addSection(u[v].substr(8)),this.$=u[v].substr(8);break;case 18:g.addTask(u[v],0,""),this.$=u[v];break;case 19:g.addEvent(u[v].substr(2)),this.$=u[v];break}},"anonymous"),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},e(t,[2,5],{5:6}),e(t,[2,2]),e(t,[2,3]),e(t,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:s,15:r,17:n,19:h,20:c,21:17,22:18,23:i,24:y},e(t,[2,10],{1:[2,1]}),e(t,[2,6]),{12:21,14:s,15:r,17:n,19:h,20:c,21:17,22:18,23:i,24:y},e(t,[2,8]),e(t,[2,9]),e(t,[2,11]),{16:[1,22]},{18:[1,23]},e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,7]),e(t,[2,12]),e(t,[2,13])],defaultActions:{},parseError:o(function(a,d){if(d.recoverable)this.trace(a);else{var l=new Error(a);throw l.hash=d,l}},"parseError"),parse:o(function(a){var d=this,l=[0],g=[],x=[null],u=[],S=this.table,v="",I=0,C=0,R=2,O=1,L=u.slice.call(arguments,1),w=Object.create(this.lexer),H={yy:{}};for(var V in this.yy)Object.prototype.hasOwnProperty.call(this.yy,V)&&(H.yy[V]=this.yy[V]);w.setInput(a,H.yy),H.yy.lexer=w,H.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var F=w.yylloc;u.push(F);var K=w.options&&w.options.ranges;typeof H.yy.parseError=="function"?this.parseError=H.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function N(A){l.length=l.length-2*A,x.length=x.length-A,u.length=u.length-A}o(N,"popStack");function b(){var A;return A=g.pop()||w.lex()||O,typeof A!="number"&&(A instanceof Array&&(g=A,A=g.pop()),A=d.symbols_[A]||A),A}o(b,"lex");for(var _,$,T,P,W={},G,B,Z,j;;){if($=l[l.length-1],this.defaultActions[$]?T=this.defaultActions[$]:((_===null||typeof _>"u")&&(_=b()),T=S[$]&&S[$][_]),typeof T>"u"||!T.length||!T[0]){var Y="";j=[];for(G in S[$])this.terminals_[G]&&G>R&&j.push("'"+this.terminals_[G]+"'");w.showPosition?Y="Parse error on line "+(I+1)+`:
2
2
  `+w.showPosition()+`
3
3
  Expecting `+j.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Y="Parse error on line "+(I+1)+": Unexpected "+(_==O?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Y,{text:w.match,token:this.terminals_[_]||_,line:w.yylineno,loc:F,expected:j})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+$+", token: "+_);switch(T[0]){case 1:l.push(_),x.push(w.yytext),u.push(w.yylloc),l.push(T[1]),_=null,C=w.yyleng,v=w.yytext,I=w.yylineno,F=w.yylloc;break;case 2:if(B=this.productions_[T[1]][1],W.$=x[x.length-B],W._$={first_line:u[u.length-(B||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(B||1)].first_column,last_column:u[u.length-1].last_column},K&&(W._$.range=[u[u.length-(B||1)].range[0],u[u.length-1].range[1]]),P=this.performAction.apply(W,[v,C,I,H.yy,T[1],x,u].concat(L)),typeof P<"u")return P;B&&(l=l.slice(0,-1*B*2),x=x.slice(0,-1*B),u=u.slice(0,-1*B)),l.push(this.productions_[T[1]][0]),x.push(W.$),u.push(W._$),Z=S[l[l.length-2]][l[l.length-1]],l.push(Z);break;case 3:return!0}}return!0},"parse")},m=(function(){var k={EOF:1,parseError:o(function(d,l){if(this.yy.parser)this.yy.parser.parseError(d,l);else throw new Error(d)},"parseError"),setInput:o(function(a,d){return this.yy=d||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var d=a.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:o(function(a){var d=a.length,l=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var x=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===g.length?this.yylloc.first_column:0)+g[g.length-l.length].length-l[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[x[0],x[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(a){this.unput(this.match.slice(a))},"less"),pastInput:o(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var a=this.pastInput(),d=new Array(a.length+1).join("-");return a+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{a0 as Ot,l as xt,ao as Pt,aX as kt}from"./3SdAC2_C.js";import{B as St,_ as Tt}from"./CLAmm_T1.js";function en(t,e,...n){var r=new St(t);Ot(()=>{const a=e()??null;Pt&&a==null&&kt(),r.ensure(a,a&&(o=>a(o,...n)))},xt)}const nn={custom:"custom"},Ft="system";function V(t){try{const e=new Intl.Locale(t).maximize();return{language:e.language??"",script:e.script??"",region:e.region??""}}catch{return null}}function dt(t,e){const n=t.toLowerCase();return e.find(r=>r.toLowerCase()===n)}function Wt(t,e,n){for(const r of t){if(typeof r!="string"||r.trim()==="")continue;const a=dt(r,e);if(a)return a;const o=V(r);if(!o||o.language==="")continue;const s=e.filter(u=>{const l=V(u);return l!==null&&l.language===o.language&&l.script===o.script});if(s.length>0)return s.find(l=>V(l)?.region===o.region)??s[0]}return n}function Yt(t,e,n,r){if(typeof t=="string"&&t.trim()!==""&&t!==Ft){const a=dt(t,n);if(a)return a}return Wt(e,n,r)}const Q=globalThis.__INTENT_PARAGLIDE_I18N__.runtime,mt=Q.baseLocale,lt=Q.locales,Nt=(...t)=>Q.overwriteGetLocale(...t),rn=(...t)=>Q.getLocale(...t),ht=6048e5,Et=864e5,L=43200,K=1440,Z=Symbol.for("constructDateFrom");function k(t,e){return typeof t=="function"?t(e):t&&typeof t=="object"&&Z in t?t[Z](e):t instanceof Date?new t.constructor(e):new Date(e)}function M(t,e){return k(e||t,t)}let Ct={};function X(){return Ct}function I(t,e){const n=X(),r=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=M(t,e?.in),o=a.getDay(),s=(o<r?7:0)+o-r;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}function R(t,e){return I(t,{...e,weekStartsOn:1})}function gt(t,e){const n=M(t,e?.in),r=n.getFullYear(),a=k(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);const o=R(a),s=k(n,0);s.setFullYear(r,0,4),s.setHours(0,0,0,0);const u=R(s);return n.getTime()>=o.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function $(t){const e=M(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function B(t,...e){const n=k.bind(null,t||e.find(r=>typeof r=="object"));return e.map(n)}function tt(t,e){const n=M(t,e?.in);return n.setHours(0,0,0,0),n}function _t(t,e,n){const[r,a]=B(n?.in,t,e),o=tt(r),s=tt(a),u=+o-$(o),l=+s-$(s);return Math.round((u-l)/Et)}function qt(t,e){const n=gt(t,e),r=k(t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),R(r)}function H(t,e){const n=+M(t)-+M(e);return n<0?-1:n>0?1:n}function It(t){return k(t,Date.now())}function Xt(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function At(t){return!(!Xt(t)&&typeof t!="number"||isNaN(+M(t)))}function Lt(t,e,n){const[r,a]=B(n?.in,t,e),o=r.getFullYear()-a.getFullYear(),s=r.getMonth()-a.getMonth();return o*12+s}function Ht(t){return e=>{const r=(t?Math[t]:Math.trunc)(e);return r===0?0:r}}function Rt(t,e){return+M(t)-+M(e)}function $t(t,e){const n=M(t,e?.in);return n.setHours(23,59,59,999),n}function Gt(t,e){const n=M(t,e?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function Qt(t,e){const n=M(t,e?.in);return+$t(n,e)==+Gt(n,e)}function Bt(t,e,n){const[r,a,o]=B(n?.in,t,t,e),s=H(a,o),u=Math.abs(Lt(a,o));if(u<1)return 0;a.getMonth()===1&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-s*u);let l=H(a,o)===-s;Qt(r)&&u===1&&H(r,o)===1&&(l=!1);const b=s*(u-+l);return b===0?0:b}function jt(t,e,n){const r=Rt(t,e)/1e3;return Ht(n?.roundingMethod)(r)}function Vt(t,e){const n=M(t,e?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const Jt={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},zt=(t,e,n)=>{let r;const a=Jt[t];return typeof a=="string"?r=a:e===1?r=a.one:r=a.other.replace("{{count}}",e.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function J(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const Ut={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Kt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Zt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},te={date:J({formats:Ut,defaultWidth:"full"}),time:J({formats:Kt,defaultWidth:"full"}),dateTime:J({formats:Zt,defaultWidth:"full"})},ee={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},ne=(t,e,n,r)=>ee[t];function _(t){return(e,n)=>{const r=n?.context?String(n.context):"standalone";let a;if(r==="formatting"&&t.formattingValues){const s=t.defaultFormattingWidth||t.defaultWidth,u=n?.width?String(n.width):s;a=t.formattingValues[u]||t.formattingValues[s]}else{const s=t.defaultWidth,u=n?.width?String(n.width):t.defaultWidth;a=t.values[u]||t.values[s]}const o=t.argumentCallback?t.argumentCallback(e):e;return a[o]}}const re={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ae={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},oe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ie={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},se={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ue={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ce=(t,e)=>{const n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},fe={ordinalNumber:ce,era:_({values:re,defaultWidth:"wide"}),quarter:_({values:ae,defaultWidth:"wide",argumentCallback:t=>t-1}),month:_({values:oe,defaultWidth:"wide"}),day:_({values:ie,defaultWidth:"wide"}),dayPeriod:_({values:se,defaultWidth:"wide",formattingValues:ue,defaultFormattingWidth:"wide"})};function q(t){return(e,n={})=>{const r=n.width,a=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],o=e.match(a);if(!o)return null;const s=o[0],u=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(u)?me(u,g=>g.test(s)):de(u,g=>g.test(s));let b;b=t.valueCallback?t.valueCallback(l):l,b=n.valueCallback?n.valueCallback(b):b;const h=e.slice(s.length);return{value:b,rest:h}}}function de(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function me(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function le(t){return(e,n={})=>{const r=e.match(t.matchPattern);if(!r)return null;const a=r[0],o=e.match(t.parsePattern);if(!o)return null;let s=t.valueCallback?t.valueCallback(o[0]):o[0];s=n.valueCallback?n.valueCallback(s):s;const u=e.slice(a.length);return{value:s,rest:u}}}const he=/^(\d+)(th|st|nd|rd)?/i,ge=/\d+/i,we={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},ye={any:[/^b/i,/^(a|c)/i]},be={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Me={any:[/1/i,/2/i,/3/i,/4/i]},De={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},pe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ve={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Oe={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},xe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Pe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},ke={ordinalNumber:le({matchPattern:he,parsePattern:ge,valueCallback:t=>parseInt(t,10)}),era:q({matchPatterns:we,defaultMatchWidth:"wide",parsePatterns:ye,defaultParseWidth:"any"}),quarter:q({matchPatterns:be,defaultMatchWidth:"wide",parsePatterns:Me,defaultParseWidth:"any",valueCallback:t=>t+1}),month:q({matchPatterns:De,defaultMatchWidth:"wide",parsePatterns:pe,defaultParseWidth:"any"}),day:q({matchPatterns:ve,defaultMatchWidth:"wide",parsePatterns:Oe,defaultParseWidth:"any"}),dayPeriod:q({matchPatterns:xe,defaultMatchWidth:"any",parsePatterns:Pe,defaultParseWidth:"any"})},wt={code:"en-US",formatDistance:zt,formatLong:te,formatRelative:ne,localize:fe,match:ke,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Se(t,e){const n=M(t,e?.in);return _t(n,Vt(n))+1}function Te(t,e){const n=M(t,e?.in),r=+R(n)-+qt(n);return Math.round(r/ht)+1}function yt(t,e){const n=M(t,e?.in),r=n.getFullYear(),a=X(),o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,s=k(e?.in||t,0);s.setFullYear(r+1,0,o),s.setHours(0,0,0,0);const u=I(s,e),l=k(e?.in||t,0);l.setFullYear(r,0,o),l.setHours(0,0,0,0);const b=I(l,e);return+n>=+u?r+1:+n>=+b?r:r-1}function Fe(t,e){const n=X(),r=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,a=yt(t,e),o=k(e?.in||t,0);return o.setFullYear(a,0,r),o.setHours(0,0,0,0),I(o,e)}function We(t,e){const n=M(t,e?.in),r=+I(n,e)-+Fe(n,e);return Math.round(r/ht)+1}function m(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}const F={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return m(e==="yy"?r%100:r,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):m(n+1,2)},d(t,e){return m(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return m(t.getHours()%12||12,e.length)},H(t,e){return m(t.getHours(),e.length)},m(t,e){return m(t.getMinutes(),e.length)},s(t,e){return m(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds(),a=Math.trunc(r*Math.pow(10,n-3));return m(a,e.length)}},C={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},et={G:function(t,e,n){const r=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const r=t.getFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return F.y(t,e)},Y:function(t,e,n,r){const a=yt(t,r),o=a>0?a:1-a;if(e==="YY"){const s=o%100;return m(s,2)}return e==="Yo"?n.ordinalNumber(o,{unit:"year"}):m(o,e.length)},R:function(t,e){const n=gt(t);return m(n,e.length)},u:function(t,e){const n=t.getFullYear();return m(n,e.length)},Q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return m(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return m(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){const r=t.getMonth();switch(e){case"M":case"MM":return F.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){const r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return m(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){const a=We(t,r);return e==="wo"?n.ordinalNumber(a,{unit:"week"}):m(a,e.length)},I:function(t,e,n){const r=Te(t);return e==="Io"?n.ordinalNumber(r,{unit:"week"}):m(r,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):F.d(t,e)},D:function(t,e,n){const r=Se(t);return e==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):m(r,e.length)},E:function(t,e,n){const r=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){const a=t.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return m(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const a=t.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return m(o,e.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),a=r===0?7:r;switch(e){case"i":return String(a);case"ii":return m(a,e.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){const a=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let a;switch(r===12?a=C.noon:r===0?a=C.midnight:a=r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let a;switch(r>=17?a=C.evening:r>=12?a=C.afternoon:r>=4?a=C.morning:a=C.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let r=t.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return F.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):F.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return e==="Ko"?n.ordinalNumber(r,{unit:"hour"}):m(r,e.length)},k:function(t,e,n){let r=t.getHours();return r===0&&(r=24),e==="ko"?n.ordinalNumber(r,{unit:"hour"}):m(r,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):F.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):F.s(t,e)},S:function(t,e){return F.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return rt(r);case"XXXX":case"XX":return N(r);case"XXXXX":case"XXX":default:return N(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return rt(r);case"xxxx":case"xx":return N(r);case"xxxxx":case"xxx":default:return N(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+nt(r,":");case"OOOO":default:return"GMT"+N(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+nt(r,":");case"zzzz":default:return"GMT"+N(r,":")}},t:function(t,e,n){const r=Math.trunc(+t/1e3);return m(r,e.length)},T:function(t,e,n){return m(+t,e.length)}};function nt(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),a=Math.trunc(r/60),o=r%60;return o===0?n+String(a):n+String(a)+e+m(o,2)}function rt(t,e){return t%60===0?(t>0?"-":"+")+m(Math.abs(t)/60,2):N(t,e)}function N(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),a=m(Math.trunc(r/60),2),o=m(r%60,2);return n+a+e+o}const at=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},bt=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},Ye=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],a=n[2];if(!a)return at(t,e);let o;switch(r){case"P":o=e.dateTime({width:"short"});break;case"PP":o=e.dateTime({width:"medium"});break;case"PPP":o=e.dateTime({width:"long"});break;case"PPPP":default:o=e.dateTime({width:"full"});break}return o.replace("{{date}}",at(r,e)).replace("{{time}}",bt(a,e))},Ne={p:bt,P:Ye},Ee=/^D+$/,Ce=/^Y+$/,_e=["D","DD","YY","YYYY"];function qe(t){return Ee.test(t)}function Ie(t){return Ce.test(t)}function Xe(t,e,n){const r=Ae(t,e,n);if(console.warn(r),_e.includes(t))throw new RangeError(r)}function Ae(t,e,n){const r=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Le=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,He=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Re=/^'([^]*?)'?$/,$e=/''/g,Ge=/[a-zA-Z]/;function Qe(t,e,n){const r=X(),a=n?.locale??r.locale??wt,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,u=M(t,n?.in);if(!At(u))throw new RangeError("Invalid time value");let l=e.match(He).map(h=>{const g=h[0];if(g==="p"||g==="P"){const w=Ne[g];return w(h,a.formatLong)}return h}).join("").match(Le).map(h=>{if(h==="''")return{isToken:!1,value:"'"};const g=h[0];if(g==="'")return{isToken:!1,value:Be(h)};if(et[g])return{isToken:!0,value:h};if(g.match(Ge))throw new RangeError("Format string contains an unescaped latin alphabet character `"+g+"`");return{isToken:!1,value:h}});a.localize.preprocessor&&(l=a.localize.preprocessor(u,l));const b={firstWeekContainsDate:o,weekStartsOn:s,locale:a};return l.map(h=>{if(!h.isToken)return h.value;const g=h.value;(!n?.useAdditionalWeekYearTokens&&Ie(g)||!n?.useAdditionalDayOfYearTokens&&qe(g))&&Xe(g,e,String(t));const w=et[g[0]];return w(u,g,a.localize,b)}).join("")}function Be(t){const e=t.match(Re);return e?e[1].replace($e,"'"):t}function je(t,e,n){const r=X(),a=n?.locale??r.locale??wt,o=2520,s=H(t,e);if(isNaN(s))throw new RangeError("Invalid time value");const u=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:s}),[l,b]=B(n?.in,...s>0?[e,t]:[t,e]),h=jt(b,l),g=($(b)-$(l))/1e3,w=Math.round((h-g)/60);let S;if(w<2)return n?.includeSeconds?h<5?a.formatDistance("lessThanXSeconds",5,u):h<10?a.formatDistance("lessThanXSeconds",10,u):h<20?a.formatDistance("lessThanXSeconds",20,u):h<40?a.formatDistance("halfAMinute",0,u):h<60?a.formatDistance("lessThanXMinutes",1,u):a.formatDistance("xMinutes",1,u):w===0?a.formatDistance("lessThanXMinutes",1,u):a.formatDistance("xMinutes",w,u);if(w<45)return a.formatDistance("xMinutes",w,u);if(w<90)return a.formatDistance("aboutXHours",1,u);if(w<K){const x=Math.round(w/60);return a.formatDistance("aboutXHours",x,u)}else{if(w<o)return a.formatDistance("xDays",1,u);if(w<L){const x=Math.round(w/K);return a.formatDistance("xDays",x,u)}else if(w<L*2)return S=Math.round(w/L),a.formatDistance("aboutXMonths",S,u)}if(S=Bt(b,l),S<12){const x=Math.round(w/L);return a.formatDistance("xMonths",x,u)}else{const x=S%12,E=Math.trunc(S/12);return x<3?a.formatDistance("aboutXYears",E,u):x<9?a.formatDistance("overXYears",E,u):a.formatDistance("almostXYears",E+1,u)}}function Ve(t,e){return je(t,It(t),e)}const ot=new Map,it=new Map,st=new Map;function P(t,e){const n=`${t}|${JSON.stringify(e)}`;let r=ot.get(n);return r||(r=new Intl.NumberFormat(t,e),ot.set(n,r)),r}function Y(t,e){const n=`${t}|${JSON.stringify(e)}`;let r=it.get(n);return r||(r=new Intl.DateTimeFormat(t,e),it.set(n,r)),r}function z(t,e){const n=`${t}|${JSON.stringify(e)}`;let r=st.get(n);return r||(r=new Intl.RelativeTimeFormat(t,e),st.set(n,r)),r}const U=new Map;async function Je(t){if(t==="en"||U.has(t))return;const e=await Tt(()=>import("./BJEoqPJ5.js"),[],import.meta.url),[n]=t.split("-"),a=[t.replace(/-/g,""),n].map(o=>e[o]).find(o=>o!=null&&typeof o=="object");U.set(t,a)}function ut(t){return U.get(t)}function O(t){const e=t instanceof Date?t:new Date(t);return Number.isNaN(e.getTime())?null:e}function ze(t){const e=Math.round(t/1e3),n=Math.abs(e);if(n<10)return{value:0,unit:"second"};if(n<60)return{value:e,unit:"second"};const r=Math.trunc(e/60);if(Math.abs(r)<60)return{value:r,unit:"minute"};const a=Math.trunc(e/3600);if(Math.abs(a)<24)return{value:a,unit:"hour"};const o=Math.trunc(e/86400);if(Math.abs(o)<7)return{value:o,unit:"day"};if(Math.abs(o)<30)return{value:Math.trunc(o/7),unit:"week"};const s=Math.trunc(o/30);return Math.abs(s)<12?{value:s,unit:"month"}:{value:Math.trunc(o/365),unit:"year"}}function ct(t,e){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function ft(t,e){return t.charAt(0).toLocaleUpperCase(e)+t.slice(1)}function an(t){function e(c,f){return P(t(),f??{}).format(c)}function n(c){return Number.isFinite(c)?P(t(),{maximumFractionDigits:0}).format(c):"0"}function r(c,f){if(!Number.isFinite(c))return n(0);const i=f?.maximumFractionDigits??(Math.abs(c)<1e3?0:1);return P(t(),{notation:"compact",compactDisplay:"short",minimumFractionDigits:0,maximumFractionDigits:i}).format(c)}function a(c,f,i){if(!Number.isFinite(c))return"";const d=t(),y=c!==0&&Math.abs(c)<1,D=i?.fractionDigits!==void 0?{minimumFractionDigits:i.fractionDigits,maximumFractionDigits:i.fractionDigits}:y?{minimumFractionDigits:2,maximumFractionDigits:4}:{};try{return P(d,{style:"currency",currency:f,...D}).format(c)}catch{return`${P(d,{minimumFractionDigits:i?.fractionDigits??2,maximumFractionDigits:i?.fractionDigits??(y?4:2)}).format(c)} ${f}`}}function o(c){if(!Number.isFinite(c)||c<0)return"";const f=["B","Ki","Mi","Gi","Ti"];let i=c,d=0;for(;i>=1024&&d<f.length-1;)i/=1024,d++;return`${P(t(),{maximumSignificantDigits:3,useGrouping:!1}).format(i)}${f[d]}`}function s(c,f){const i=O(c);if(!i)return"";const d=f?.now??new Date,{value:y,unit:D}=ze(i.getTime()-d.getTime());return z(t(),{numeric:"auto",style:f?.style==="narrow"?"narrow":"long"}).format(y,D)}function u(c,f){const i=O(c);if(!i)return"";const d=f?.now??new Date,y=t(),D=d.getTime()-i.getTime(),p=Math.floor(D/6e4),v=(j,vt)=>P(y,{style:"unit",unit:j,unitDisplay:"narrow"}).format(vt);if(D<=0)return z(y,{numeric:"auto"}).format(0,"second");if(p<1)return v("second",Math.floor(D/1e3));if(p<60)return v("minute",p);const T=Math.floor(p/60);if(T<24)return v("hour",T);const W=Math.floor(T/24);if(W<7)return v("day",W);const A=Math.floor(W/7);return A<5?v("week",A):w(i,{now:d})}function l(c){if(!Number.isFinite(c))return"";const f=t(),i=(A,j)=>P(f,{style:"unit",unit:A,unitDisplay:"narrow"}).format(j),d=Math.max(0,Math.round(c/1e3)),y=d%60,D=Math.floor(d/60);if(D===0)return i("second",y);const p=D%60,v=Math.floor(D/60);if(v===0)return y===0?i("minute",p):`${i("minute",p)} ${i("second",y)}`;const T=v%24,W=Math.floor(v/24);return W===0?p===0?i("hour",T):`${i("hour",T)} ${i("minute",p)}`:T===0?i("day",W):`${i("day",W)} ${i("hour",T)}`}function b(c){if(!Number.isFinite(c))return"";const f=t(),i=(y,D)=>P(f,{style:"unit",unit:y,unitDisplay:"narrow"}).format(D),d=Math.max(0,c);return d<6e4?i("second",Math.round(d/1e3)):d<36e5?i("minute",Math.floor(d/6e4)):d<864e5?i("hour",Math.floor(d/36e5)):i("day",Math.floor(d/864e5))}function h(c,f){const i=O(c);if(!i)return"";const d=f?.seconds?{hour:"2-digit",minute:"2-digit",second:"2-digit"}:{hour:"numeric",minute:"2-digit"};return Y(t(),d).format(i)}function g(c){const f=O(c);return f?Y(t(),{dateStyle:"medium"}).format(f):""}function w(c,f){const i=O(c);if(!i)return"";const d=f?.now??new Date,y=i.getFullYear()===d.getFullYear();return Y(t(),{month:"short",day:"numeric",...y?{}:{year:"numeric"}}).format(i)}function S(c){const f=O(c);return f?Y(t(),{dateStyle:"medium",timeStyle:"short"}).format(f):""}function x(c){const f=O(c);return f?Y(t(),{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(f):""}function E(c){const f=O(c);return f?Y(t(),{weekday:"long"}).format(f):""}function Mt(c,f){const i=O(c);if(!i)return"";const d=f?.now??new Date,y=t(),D=z(y,{numeric:"auto"});if(ct(i,d))return ft(D.format(0,"day"),y);const p=new Date(d);if(p.setDate(p.getDate()-1),ct(i,p))return ft(D.format(-1,"day"),y);const v=new Date(d);return v.setDate(v.getDate()-7),i>v&&i<d?E(i):Y(y,{weekday:"long",month:"long",day:"numeric",...i.getFullYear()===d.getFullYear()?{}:{year:"numeric"}}).format(i)}function Dt(c,f){const i=O(c);return i?Ve(i,{addSuffix:f?.addSuffix??!0,locale:ut(t())}):""}function pt(c,f){const i=O(c);return i?Qe(i,f,{locale:ut(t())}):""}return{formatNumber:e,formatInteger:n,formatCompactNumber:r,formatCurrency:a,formatBytesBinary:o,formatRelativeTime:s,formatCompactRelativeTime:u,formatCompactDuration:l,formatSalientDuration:b,formatTime:h,formatDate:g,formatShortDate:w,formatDateTime:S,formatFullDateTime:x,formatWeekday:E,formatDaySeparator:Mt,formatDistanceToNow:Dt,formatDatePattern:pt}}let G=mt;Nt(()=>G);function Ue(){return typeof navigator>"u"?[]:Array.isArray(navigator.languages)&&navigator.languages.length>0?navigator.languages:navigator.language?[navigator.language]:[]}function on(){return lt}function Ke(t){return Yt(t,Ue(),lt,mt)}function sn(t){G=Ke(t),Je(G)}function un(){return G}function cn(t){let e=t;try{const n=new Intl.Locale(t).maximize();n.language==="zh"&&n.script&&(e=`zh-${n.script}`)}catch{}try{const n=new Intl.DisplayNames([t],{type:"language"}).of(e);if(n&&n!==e)return n.charAt(0).toLocaleUpperCase(t)+n.slice(1)}catch{}return t}export{Ft as S,nn as Z,sn as a,J as b,_ as c,q as d,le as e,an as f,_t as g,wt as h,zt as i,ne as j,un as k,on as l,rn as m,cn as n,lt as o,fe as p,ke as q,B as r,Ke as s,en as t,I as u,M as v};
1
+ import{a0 as Ot,l as xt,ao as Pt,aX as kt}from"./3SdAC2_C.js";import{B as St,_ as Tt}from"./CtfEuoOH.js";function en(t,e,...n){var r=new St(t);Ot(()=>{const a=e()??null;Pt&&a==null&&kt(),r.ensure(a,a&&(o=>a(o,...n)))},xt)}const nn={custom:"custom"},Ft="system";function V(t){try{const e=new Intl.Locale(t).maximize();return{language:e.language??"",script:e.script??"",region:e.region??""}}catch{return null}}function dt(t,e){const n=t.toLowerCase();return e.find(r=>r.toLowerCase()===n)}function Wt(t,e,n){for(const r of t){if(typeof r!="string"||r.trim()==="")continue;const a=dt(r,e);if(a)return a;const o=V(r);if(!o||o.language==="")continue;const s=e.filter(u=>{const l=V(u);return l!==null&&l.language===o.language&&l.script===o.script});if(s.length>0)return s.find(l=>V(l)?.region===o.region)??s[0]}return n}function Yt(t,e,n,r){if(typeof t=="string"&&t.trim()!==""&&t!==Ft){const a=dt(t,n);if(a)return a}return Wt(e,n,r)}const Q=globalThis.__INTENT_PARAGLIDE_I18N__.runtime,mt=Q.baseLocale,lt=Q.locales,Nt=(...t)=>Q.overwriteGetLocale(...t),rn=(...t)=>Q.getLocale(...t),ht=6048e5,Et=864e5,L=43200,K=1440,Z=Symbol.for("constructDateFrom");function k(t,e){return typeof t=="function"?t(e):t&&typeof t=="object"&&Z in t?t[Z](e):t instanceof Date?new t.constructor(e):new Date(e)}function M(t,e){return k(e||t,t)}let Ct={};function X(){return Ct}function I(t,e){const n=X(),r=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=M(t,e?.in),o=a.getDay(),s=(o<r?7:0)+o-r;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}function R(t,e){return I(t,{...e,weekStartsOn:1})}function gt(t,e){const n=M(t,e?.in),r=n.getFullYear(),a=k(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);const o=R(a),s=k(n,0);s.setFullYear(r,0,4),s.setHours(0,0,0,0);const u=R(s);return n.getTime()>=o.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function $(t){const e=M(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function B(t,...e){const n=k.bind(null,t||e.find(r=>typeof r=="object"));return e.map(n)}function tt(t,e){const n=M(t,e?.in);return n.setHours(0,0,0,0),n}function _t(t,e,n){const[r,a]=B(n?.in,t,e),o=tt(r),s=tt(a),u=+o-$(o),l=+s-$(s);return Math.round((u-l)/Et)}function qt(t,e){const n=gt(t,e),r=k(t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),R(r)}function H(t,e){const n=+M(t)-+M(e);return n<0?-1:n>0?1:n}function It(t){return k(t,Date.now())}function Xt(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function At(t){return!(!Xt(t)&&typeof t!="number"||isNaN(+M(t)))}function Lt(t,e,n){const[r,a]=B(n?.in,t,e),o=r.getFullYear()-a.getFullYear(),s=r.getMonth()-a.getMonth();return o*12+s}function Ht(t){return e=>{const r=(t?Math[t]:Math.trunc)(e);return r===0?0:r}}function Rt(t,e){return+M(t)-+M(e)}function $t(t,e){const n=M(t,e?.in);return n.setHours(23,59,59,999),n}function Gt(t,e){const n=M(t,e?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function Qt(t,e){const n=M(t,e?.in);return+$t(n,e)==+Gt(n,e)}function Bt(t,e,n){const[r,a,o]=B(n?.in,t,t,e),s=H(a,o),u=Math.abs(Lt(a,o));if(u<1)return 0;a.getMonth()===1&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-s*u);let l=H(a,o)===-s;Qt(r)&&u===1&&H(r,o)===1&&(l=!1);const b=s*(u-+l);return b===0?0:b}function jt(t,e,n){const r=Rt(t,e)/1e3;return Ht(n?.roundingMethod)(r)}function Vt(t,e){const n=M(t,e?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const Jt={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},zt=(t,e,n)=>{let r;const a=Jt[t];return typeof a=="string"?r=a:e===1?r=a.one:r=a.other.replace("{{count}}",e.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function J(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const Ut={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Kt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Zt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},te={date:J({formats:Ut,defaultWidth:"full"}),time:J({formats:Kt,defaultWidth:"full"}),dateTime:J({formats:Zt,defaultWidth:"full"})},ee={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},ne=(t,e,n,r)=>ee[t];function _(t){return(e,n)=>{const r=n?.context?String(n.context):"standalone";let a;if(r==="formatting"&&t.formattingValues){const s=t.defaultFormattingWidth||t.defaultWidth,u=n?.width?String(n.width):s;a=t.formattingValues[u]||t.formattingValues[s]}else{const s=t.defaultWidth,u=n?.width?String(n.width):t.defaultWidth;a=t.values[u]||t.values[s]}const o=t.argumentCallback?t.argumentCallback(e):e;return a[o]}}const re={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ae={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},oe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ie={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},se={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ue={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ce=(t,e)=>{const n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},fe={ordinalNumber:ce,era:_({values:re,defaultWidth:"wide"}),quarter:_({values:ae,defaultWidth:"wide",argumentCallback:t=>t-1}),month:_({values:oe,defaultWidth:"wide"}),day:_({values:ie,defaultWidth:"wide"}),dayPeriod:_({values:se,defaultWidth:"wide",formattingValues:ue,defaultFormattingWidth:"wide"})};function q(t){return(e,n={})=>{const r=n.width,a=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],o=e.match(a);if(!o)return null;const s=o[0],u=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(u)?me(u,g=>g.test(s)):de(u,g=>g.test(s));let b;b=t.valueCallback?t.valueCallback(l):l,b=n.valueCallback?n.valueCallback(b):b;const h=e.slice(s.length);return{value:b,rest:h}}}function de(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function me(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function le(t){return(e,n={})=>{const r=e.match(t.matchPattern);if(!r)return null;const a=r[0],o=e.match(t.parsePattern);if(!o)return null;let s=t.valueCallback?t.valueCallback(o[0]):o[0];s=n.valueCallback?n.valueCallback(s):s;const u=e.slice(a.length);return{value:s,rest:u}}}const he=/^(\d+)(th|st|nd|rd)?/i,ge=/\d+/i,we={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},ye={any:[/^b/i,/^(a|c)/i]},be={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Me={any:[/1/i,/2/i,/3/i,/4/i]},De={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},pe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},ve={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Oe={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},xe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Pe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},ke={ordinalNumber:le({matchPattern:he,parsePattern:ge,valueCallback:t=>parseInt(t,10)}),era:q({matchPatterns:we,defaultMatchWidth:"wide",parsePatterns:ye,defaultParseWidth:"any"}),quarter:q({matchPatterns:be,defaultMatchWidth:"wide",parsePatterns:Me,defaultParseWidth:"any",valueCallback:t=>t+1}),month:q({matchPatterns:De,defaultMatchWidth:"wide",parsePatterns:pe,defaultParseWidth:"any"}),day:q({matchPatterns:ve,defaultMatchWidth:"wide",parsePatterns:Oe,defaultParseWidth:"any"}),dayPeriod:q({matchPatterns:xe,defaultMatchWidth:"any",parsePatterns:Pe,defaultParseWidth:"any"})},wt={code:"en-US",formatDistance:zt,formatLong:te,formatRelative:ne,localize:fe,match:ke,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Se(t,e){const n=M(t,e?.in);return _t(n,Vt(n))+1}function Te(t,e){const n=M(t,e?.in),r=+R(n)-+qt(n);return Math.round(r/ht)+1}function yt(t,e){const n=M(t,e?.in),r=n.getFullYear(),a=X(),o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,s=k(e?.in||t,0);s.setFullYear(r+1,0,o),s.setHours(0,0,0,0);const u=I(s,e),l=k(e?.in||t,0);l.setFullYear(r,0,o),l.setHours(0,0,0,0);const b=I(l,e);return+n>=+u?r+1:+n>=+b?r:r-1}function Fe(t,e){const n=X(),r=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,a=yt(t,e),o=k(e?.in||t,0);return o.setFullYear(a,0,r),o.setHours(0,0,0,0),I(o,e)}function We(t,e){const n=M(t,e?.in),r=+I(n,e)-+Fe(n,e);return Math.round(r/ht)+1}function m(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}const F={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return m(e==="yy"?r%100:r,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):m(n+1,2)},d(t,e){return m(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return m(t.getHours()%12||12,e.length)},H(t,e){return m(t.getHours(),e.length)},m(t,e){return m(t.getMinutes(),e.length)},s(t,e){return m(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds(),a=Math.trunc(r*Math.pow(10,n-3));return m(a,e.length)}},C={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},et={G:function(t,e,n){const r=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const r=t.getFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return F.y(t,e)},Y:function(t,e,n,r){const a=yt(t,r),o=a>0?a:1-a;if(e==="YY"){const s=o%100;return m(s,2)}return e==="Yo"?n.ordinalNumber(o,{unit:"year"}):m(o,e.length)},R:function(t,e){const n=gt(t);return m(n,e.length)},u:function(t,e){const n=t.getFullYear();return m(n,e.length)},Q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return m(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return m(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){const r=t.getMonth();switch(e){case"M":case"MM":return F.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){const r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return m(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){const a=We(t,r);return e==="wo"?n.ordinalNumber(a,{unit:"week"}):m(a,e.length)},I:function(t,e,n){const r=Te(t);return e==="Io"?n.ordinalNumber(r,{unit:"week"}):m(r,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):F.d(t,e)},D:function(t,e,n){const r=Se(t);return e==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):m(r,e.length)},E:function(t,e,n){const r=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){const a=t.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return m(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const a=t.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return m(o,e.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),a=r===0?7:r;switch(e){case"i":return String(a);case"ii":return m(a,e.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){const a=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let a;switch(r===12?a=C.noon:r===0?a=C.midnight:a=r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let a;switch(r>=17?a=C.evening:r>=12?a=C.afternoon:r>=4?a=C.morning:a=C.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let r=t.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return F.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):F.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return e==="Ko"?n.ordinalNumber(r,{unit:"hour"}):m(r,e.length)},k:function(t,e,n){let r=t.getHours();return r===0&&(r=24),e==="ko"?n.ordinalNumber(r,{unit:"hour"}):m(r,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):F.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):F.s(t,e)},S:function(t,e){return F.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return rt(r);case"XXXX":case"XX":return N(r);case"XXXXX":case"XXX":default:return N(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return rt(r);case"xxxx":case"xx":return N(r);case"xxxxx":case"xxx":default:return N(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+nt(r,":");case"OOOO":default:return"GMT"+N(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+nt(r,":");case"zzzz":default:return"GMT"+N(r,":")}},t:function(t,e,n){const r=Math.trunc(+t/1e3);return m(r,e.length)},T:function(t,e,n){return m(+t,e.length)}};function nt(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),a=Math.trunc(r/60),o=r%60;return o===0?n+String(a):n+String(a)+e+m(o,2)}function rt(t,e){return t%60===0?(t>0?"-":"+")+m(Math.abs(t)/60,2):N(t,e)}function N(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),a=m(Math.trunc(r/60),2),o=m(r%60,2);return n+a+e+o}const at=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},bt=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},Ye=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],a=n[2];if(!a)return at(t,e);let o;switch(r){case"P":o=e.dateTime({width:"short"});break;case"PP":o=e.dateTime({width:"medium"});break;case"PPP":o=e.dateTime({width:"long"});break;case"PPPP":default:o=e.dateTime({width:"full"});break}return o.replace("{{date}}",at(r,e)).replace("{{time}}",bt(a,e))},Ne={p:bt,P:Ye},Ee=/^D+$/,Ce=/^Y+$/,_e=["D","DD","YY","YYYY"];function qe(t){return Ee.test(t)}function Ie(t){return Ce.test(t)}function Xe(t,e,n){const r=Ae(t,e,n);if(console.warn(r),_e.includes(t))throw new RangeError(r)}function Ae(t,e,n){const r=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Le=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,He=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Re=/^'([^]*?)'?$/,$e=/''/g,Ge=/[a-zA-Z]/;function Qe(t,e,n){const r=X(),a=n?.locale??r.locale??wt,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,u=M(t,n?.in);if(!At(u))throw new RangeError("Invalid time value");let l=e.match(He).map(h=>{const g=h[0];if(g==="p"||g==="P"){const w=Ne[g];return w(h,a.formatLong)}return h}).join("").match(Le).map(h=>{if(h==="''")return{isToken:!1,value:"'"};const g=h[0];if(g==="'")return{isToken:!1,value:Be(h)};if(et[g])return{isToken:!0,value:h};if(g.match(Ge))throw new RangeError("Format string contains an unescaped latin alphabet character `"+g+"`");return{isToken:!1,value:h}});a.localize.preprocessor&&(l=a.localize.preprocessor(u,l));const b={firstWeekContainsDate:o,weekStartsOn:s,locale:a};return l.map(h=>{if(!h.isToken)return h.value;const g=h.value;(!n?.useAdditionalWeekYearTokens&&Ie(g)||!n?.useAdditionalDayOfYearTokens&&qe(g))&&Xe(g,e,String(t));const w=et[g[0]];return w(u,g,a.localize,b)}).join("")}function Be(t){const e=t.match(Re);return e?e[1].replace($e,"'"):t}function je(t,e,n){const r=X(),a=n?.locale??r.locale??wt,o=2520,s=H(t,e);if(isNaN(s))throw new RangeError("Invalid time value");const u=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:s}),[l,b]=B(n?.in,...s>0?[e,t]:[t,e]),h=jt(b,l),g=($(b)-$(l))/1e3,w=Math.round((h-g)/60);let S;if(w<2)return n?.includeSeconds?h<5?a.formatDistance("lessThanXSeconds",5,u):h<10?a.formatDistance("lessThanXSeconds",10,u):h<20?a.formatDistance("lessThanXSeconds",20,u):h<40?a.formatDistance("halfAMinute",0,u):h<60?a.formatDistance("lessThanXMinutes",1,u):a.formatDistance("xMinutes",1,u):w===0?a.formatDistance("lessThanXMinutes",1,u):a.formatDistance("xMinutes",w,u);if(w<45)return a.formatDistance("xMinutes",w,u);if(w<90)return a.formatDistance("aboutXHours",1,u);if(w<K){const x=Math.round(w/60);return a.formatDistance("aboutXHours",x,u)}else{if(w<o)return a.formatDistance("xDays",1,u);if(w<L){const x=Math.round(w/K);return a.formatDistance("xDays",x,u)}else if(w<L*2)return S=Math.round(w/L),a.formatDistance("aboutXMonths",S,u)}if(S=Bt(b,l),S<12){const x=Math.round(w/L);return a.formatDistance("xMonths",x,u)}else{const x=S%12,E=Math.trunc(S/12);return x<3?a.formatDistance("aboutXYears",E,u):x<9?a.formatDistance("overXYears",E,u):a.formatDistance("almostXYears",E+1,u)}}function Ve(t,e){return je(t,It(t),e)}const ot=new Map,it=new Map,st=new Map;function P(t,e){const n=`${t}|${JSON.stringify(e)}`;let r=ot.get(n);return r||(r=new Intl.NumberFormat(t,e),ot.set(n,r)),r}function Y(t,e){const n=`${t}|${JSON.stringify(e)}`;let r=it.get(n);return r||(r=new Intl.DateTimeFormat(t,e),it.set(n,r)),r}function z(t,e){const n=`${t}|${JSON.stringify(e)}`;let r=st.get(n);return r||(r=new Intl.RelativeTimeFormat(t,e),st.set(n,r)),r}const U=new Map;async function Je(t){if(t==="en"||U.has(t))return;const e=await Tt(()=>import("./BJCm9MUD.js"),[],import.meta.url),[n]=t.split("-"),a=[t.replace(/-/g,""),n].map(o=>e[o]).find(o=>o!=null&&typeof o=="object");U.set(t,a)}function ut(t){return U.get(t)}function O(t){const e=t instanceof Date?t:new Date(t);return Number.isNaN(e.getTime())?null:e}function ze(t){const e=Math.round(t/1e3),n=Math.abs(e);if(n<10)return{value:0,unit:"second"};if(n<60)return{value:e,unit:"second"};const r=Math.trunc(e/60);if(Math.abs(r)<60)return{value:r,unit:"minute"};const a=Math.trunc(e/3600);if(Math.abs(a)<24)return{value:a,unit:"hour"};const o=Math.trunc(e/86400);if(Math.abs(o)<7)return{value:o,unit:"day"};if(Math.abs(o)<30)return{value:Math.trunc(o/7),unit:"week"};const s=Math.trunc(o/30);return Math.abs(s)<12?{value:s,unit:"month"}:{value:Math.trunc(o/365),unit:"year"}}function ct(t,e){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function ft(t,e){return t.charAt(0).toLocaleUpperCase(e)+t.slice(1)}function an(t){function e(c,f){return P(t(),f??{}).format(c)}function n(c){return Number.isFinite(c)?P(t(),{maximumFractionDigits:0}).format(c):"0"}function r(c,f){if(!Number.isFinite(c))return n(0);const i=f?.maximumFractionDigits??(Math.abs(c)<1e3?0:1);return P(t(),{notation:"compact",compactDisplay:"short",minimumFractionDigits:0,maximumFractionDigits:i}).format(c)}function a(c,f,i){if(!Number.isFinite(c))return"";const d=t(),y=c!==0&&Math.abs(c)<1,D=i?.fractionDigits!==void 0?{minimumFractionDigits:i.fractionDigits,maximumFractionDigits:i.fractionDigits}:y?{minimumFractionDigits:2,maximumFractionDigits:4}:{};try{return P(d,{style:"currency",currency:f,...D}).format(c)}catch{return`${P(d,{minimumFractionDigits:i?.fractionDigits??2,maximumFractionDigits:i?.fractionDigits??(y?4:2)}).format(c)} ${f}`}}function o(c){if(!Number.isFinite(c)||c<0)return"";const f=["B","Ki","Mi","Gi","Ti"];let i=c,d=0;for(;i>=1024&&d<f.length-1;)i/=1024,d++;return`${P(t(),{maximumSignificantDigits:3,useGrouping:!1}).format(i)}${f[d]}`}function s(c,f){const i=O(c);if(!i)return"";const d=f?.now??new Date,{value:y,unit:D}=ze(i.getTime()-d.getTime());return z(t(),{numeric:"auto",style:f?.style==="narrow"?"narrow":"long"}).format(y,D)}function u(c,f){const i=O(c);if(!i)return"";const d=f?.now??new Date,y=t(),D=d.getTime()-i.getTime(),p=Math.floor(D/6e4),v=(j,vt)=>P(y,{style:"unit",unit:j,unitDisplay:"narrow"}).format(vt);if(D<=0)return z(y,{numeric:"auto"}).format(0,"second");if(p<1)return v("second",Math.floor(D/1e3));if(p<60)return v("minute",p);const T=Math.floor(p/60);if(T<24)return v("hour",T);const W=Math.floor(T/24);if(W<7)return v("day",W);const A=Math.floor(W/7);return A<5?v("week",A):w(i,{now:d})}function l(c){if(!Number.isFinite(c))return"";const f=t(),i=(A,j)=>P(f,{style:"unit",unit:A,unitDisplay:"narrow"}).format(j),d=Math.max(0,Math.round(c/1e3)),y=d%60,D=Math.floor(d/60);if(D===0)return i("second",y);const p=D%60,v=Math.floor(D/60);if(v===0)return y===0?i("minute",p):`${i("minute",p)} ${i("second",y)}`;const T=v%24,W=Math.floor(v/24);return W===0?p===0?i("hour",T):`${i("hour",T)} ${i("minute",p)}`:T===0?i("day",W):`${i("day",W)} ${i("hour",T)}`}function b(c){if(!Number.isFinite(c))return"";const f=t(),i=(y,D)=>P(f,{style:"unit",unit:y,unitDisplay:"narrow"}).format(D),d=Math.max(0,c);return d<6e4?i("second",Math.round(d/1e3)):d<36e5?i("minute",Math.floor(d/6e4)):d<864e5?i("hour",Math.floor(d/36e5)):i("day",Math.floor(d/864e5))}function h(c,f){const i=O(c);if(!i)return"";const d=f?.seconds?{hour:"2-digit",minute:"2-digit",second:"2-digit"}:{hour:"numeric",minute:"2-digit"};return Y(t(),d).format(i)}function g(c){const f=O(c);return f?Y(t(),{dateStyle:"medium"}).format(f):""}function w(c,f){const i=O(c);if(!i)return"";const d=f?.now??new Date,y=i.getFullYear()===d.getFullYear();return Y(t(),{month:"short",day:"numeric",...y?{}:{year:"numeric"}}).format(i)}function S(c){const f=O(c);return f?Y(t(),{dateStyle:"medium",timeStyle:"short"}).format(f):""}function x(c){const f=O(c);return f?Y(t(),{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(f):""}function E(c){const f=O(c);return f?Y(t(),{weekday:"long"}).format(f):""}function Mt(c,f){const i=O(c);if(!i)return"";const d=f?.now??new Date,y=t(),D=z(y,{numeric:"auto"});if(ct(i,d))return ft(D.format(0,"day"),y);const p=new Date(d);if(p.setDate(p.getDate()-1),ct(i,p))return ft(D.format(-1,"day"),y);const v=new Date(d);return v.setDate(v.getDate()-7),i>v&&i<d?E(i):Y(y,{weekday:"long",month:"long",day:"numeric",...i.getFullYear()===d.getFullYear()?{}:{year:"numeric"}}).format(i)}function Dt(c,f){const i=O(c);return i?Ve(i,{addSuffix:f?.addSuffix??!0,locale:ut(t())}):""}function pt(c,f){const i=O(c);return i?Qe(i,f,{locale:ut(t())}):""}return{formatNumber:e,formatInteger:n,formatCompactNumber:r,formatCurrency:a,formatBytesBinary:o,formatRelativeTime:s,formatCompactRelativeTime:u,formatCompactDuration:l,formatSalientDuration:b,formatTime:h,formatDate:g,formatShortDate:w,formatDateTime:S,formatFullDateTime:x,formatWeekday:E,formatDaySeparator:Mt,formatDistanceToNow:Dt,formatDatePattern:pt}}let G=mt;Nt(()=>G);function Ue(){return typeof navigator>"u"?[]:Array.isArray(navigator.languages)&&navigator.languages.length>0?navigator.languages:navigator.language?[navigator.language]:[]}function on(){return lt}function Ke(t){return Yt(t,Ue(),lt,mt)}function sn(t){G=Ke(t),Je(G)}function un(){return G}function cn(t){let e=t;try{const n=new Intl.Locale(t).maximize();n.language==="zh"&&n.script&&(e=`zh-${n.script}`)}catch{}try{const n=new Intl.DisplayNames([t],{type:"language"}).of(e);if(n&&n!==e)return n.charAt(0).toLocaleUpperCase(t)+n.slice(1)}catch{}return t}export{Ft as S,nn as Z,sn as a,J as b,_ as c,q as d,le as e,an as f,_t as g,wt as h,zt as i,ne as j,un as k,on as l,rn as m,cn as n,lt as o,fe as p,ke as q,B as r,Ke as s,en as t,I as u,M as v};
@@ -1,2 +1,2 @@
1
- import{bm as x}from"./CLAmm_T1.js";function m(e){const n=e.replace(/^#/,"");let r,o,a;if(n.length===3||n.length===4)r=parseInt(n[0]+n[0],16)/255,o=parseInt(n[1]+n[1],16)/255,a=parseInt(n[2]+n[2],16)/255;else if(n.length===6||n.length===8)r=parseInt(n.slice(0,2),16)/255,o=parseInt(n.slice(2,4),16)/255,a=parseInt(n.slice(4,6),16)/255;else return"0 0% 0%";const t=Math.max(r,o,a),s=Math.min(r,o,a),c=(t+s)/2;let u=0,g=0;if(t!==s){const p=t-s;switch(g=c>.5?p/(2-t-s):p/(t+s),t){case r:u=((o-a)/p+(o<a?6:0))/6;break;case o:u=((a-r)/p+2)/6;break;case a:u=((r-o)/p+4)/6;break}}const f=Math.round(u*360),d=Math.round(g*100),l=Math.round(c*100);return`${f} ${d}% ${l}%`}function N(e){const n=e.replace(/^#/,"");let r,o,a;if(n.length>=6)r=parseInt(n.slice(0,2),16),o=parseInt(n.slice(2,4),16),a=parseInt(n.slice(4,6),16);else if(n.length>=3)r=parseInt(n[0]+n[0],16),o=parseInt(n[1]+n[1],16),a=parseInt(n[2]+n[2],16);else return!0;return(.299*r+.587*o+.114*a)/255<.5}const X=[["editor.background","--background"],["editor.foreground","--foreground"],["sideBar.background","--sidebar"],["sideBar.foreground","--sidebar-foreground"],["sideBar.border","--sidebar-border"],["editorWidget.background","--card"],["editorWidget.foreground","--card-foreground"],["dropdown.background","--popover"],["dropdown.foreground","--popover-foreground"],["focusBorder","--ring"],["input.background","--input"],["panel.border","--border"],["editorGroup.border","--border"],["button.background","--primary"],["button.foreground","--primary-foreground"],["list.activeSelectionBackground","--secondary"],["list.activeSelectionForeground","--secondary-foreground"],["errorForeground","--danger"],["inputValidation.errorBackground","--danger-background"]];function B(e){const n=e.replace(/^#/,"");return n.length>=6?[parseInt(n.slice(0,2),16),parseInt(n.slice(2,4),16),parseInt(n.slice(4,6),16)]:n.length>=3?[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)]:[0,0,0]}function M(e,n,r){const o=a=>Math.max(0,Math.min(255,Math.round(a)));return`#${o(e).toString(16).padStart(2,"0")}${o(n).toString(16).padStart(2,"0")}${o(r).toString(16).padStart(2,"0")}`}function G(e,n,r){const[o,a,t]=[e,n,r].map(s=>{const c=s/255;return c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4)});return .2126*o+.7152*a+.0722*t}function k(e,n){const r=G(...e),o=G(...n),a=Math.max(r,o),t=Math.min(r,o);return(a+.05)/(t+.05)}function F(e){const n=e.match(/^([\d.]+)\s+([\d.]+)%\s+([\d.]+)%$/);if(!n)return[0,0,0];const r=Number(n[1]),o=Number(n[2])/100,a=Number(n[3])/100,t=(1-Math.abs(2*a-1))*o,s=t*(1-Math.abs(r/60%2-1)),c=a-t/2;return(r<60?[t,s,0]:r<120?[s,t,0]:r<180?[0,t,s]:r<240?[0,s,t]:r<300?[s,0,t]:[t,0,s]).map(g=>Math.round((g+c)*255))}function V(e,n,r){const o=F(e),t=F(n).map((s,c)=>s*(1-r)+o[c]*r);return m(M(...t))}function H(e,n){const r=F(e),o=F(n);if(k(r,o)>=4.55)return e;const a=[0,0,0],t=[255,255,255],s=k(a,o)>k(t,o)?a:t;for(let c=1;c<=20;c++){const u=c/20,g=r.map((f,d)=>f*(1-u)+s[d]*u);if(k(g,o)>=4.55)return m(M(...g))}return m(M(...s))}function _(e,n){const r=F(e),o=n.map(F),a=f=>Math.min(...o.map(d=>k(f,d))),t=4.55;if(a(r)>=t)return e;const s=e.match(/^([\d.]+)\s+([\d.]+)%\s+([\d.]+)%$/);if(!s)return e;const c=Number(s[1]);let u,g={value:e,ratio:a(r),distance:0};for(let f=0;f<=100;f++)for(let d=0;d<=100;d++){const l=`${c} ${f}% ${d}%`,p=F(l),b=a(p),i=p.reduce((R,I,A)=>R+(I-r[A])**2,0);b>=t?(!u||i<u.distance)&&(u={value:l,distance:i}):(b>g.ratio||b===g.ratio&&i<g.distance)&&(g={value:l,ratio:b,distance:i})}return u?.value??g.value}function K({fgHex:e,bgHexes:n,descriptionHex:r}){const o=B(e),a=n.map(B);let t;if(r)t=B(r);else{const[f,d,l]=a[0];t=[o[0]*.6+f*.4,o[1]*.6+d*.4,o[2]*.6+l*.4]}const s=4.5,c=20,u=f=>a.every(d=>k(f,d)>=s),g=[...t];for(let f=0;f<c&&!u(t);f++){const d=(f+1)/c;t=[g[0]*(1-d)+o[0]*d,g[1]*(1-d)+o[1]*d,g[2]*(1-d)+o[2]*d]}return m(M(...t))}function Y(e,n,r){const o=B(e),a=B(n),t=G(...o),s=G(...a),c=1.12;if((Math.max(t,s)+.05)/(Math.min(t,s)+.05)>=c)return m(e);const f=t>s||t===s&&!r?[255,255,255]:[0,0,0],d=20;let l=[...o];for(let p=1;p<=d;p++){const b=p/d;l=[o[0]*(1-b)+f[0]*b,o[1]*(1-b)+f[1]*b,o[2]*(1-b)+f[2]*b];const i=G(...l);if((Math.max(i,s)+.05)/(Math.min(i,s)+.05)>=c)break}return m(M(...l))}function O(e){const n=B(e),r=N(e)?[255,255,255]:[0,0,0],o=1.2,a=20;let t=[...n];for(let s=1;s<=a;s++){const c=s/a;if(t=[n[0]*(1-c)+r[0]*c,n[1]*(1-c)+r[1]*c,n[2]*(1-c)+r[2]*c],k(t,n)>=o)break}return m(M(...t))}function $(e,n,r){const o=B(e),a=n.map(B),t=3.1,s=d=>Math.min(...a.map(l=>k(d,l)));if(s(o)>=t)return m(e);const u=r?[255,255,255]:[0,0,0],g=20;let f=[...o];for(let d=1;d<=g;d++){const l=d/g;if(f=[o[0]*(1-l)+u[0]*l,o[1]*(1-l)+u[1]*l,o[2]*(1-l)+u[2]*l],s(f)>=t)break}return m(M(...f))}function j(e){const n=e["editor.background"];if(!n)return null;const r=e.focusBorder??e["button.background"]??e["badge.background"];if(!r)return null;const o=B(n),a=B(r),t=N(n),s=t?.12:.08,c=[o[0]*(1-s)+a[0]*s,o[1]*(1-s)+a[1]*s,o[2]*(1-s)+a[2]*s],u=B(e["editor.foreground"]??(t?"#ffffff":"#000000"));let g=[...a];const f=4.5,d=20,l=b=>k(b,o)>=f&&k(b,c)>=3,p=[...g];for(let b=0;b<d&&!l(g);b++){const i=(b+1)/d;g=[p[0]*(1-i)+u[0]*i,p[1]*(1-i)+u[1]*i,p[2]*(1-i)+u[2]*i]}return{accent:m(M(...c)),accentForeground:m(M(...g))}}function q(e,n){const r={};for(const[i,R]of X){if(r[R])continue;const I=e[i];I&&(r[R]=m(I))}const o=j(e);o&&(r["--accent"]=o.accent,r["--accent-foreground"]=o.accentForeground);const a=e["editor.foreground"],t=e["editor.background"];if(a&&t){const i=[t];e["sideBar.background"]&&i.push(e["sideBar.background"]),e["editorWidget.background"]&&i.push(e["editorWidget.background"]),r["--muted-foreground"]=K({fgHex:a,bgHexes:i,descriptionHex:e.descriptionForeground});const R=e["tab.inactiveBackground"]??e["sideBar.background"]??t,I=N(t);r["--muted"]=Y(R,t,I);const A=[t,e["editorWidget.background"],e["dropdown.background"],e["sideBar.background"]].filter(S=>!!S),P=e["panel.border"]??e["editorGroup.border"],D=e["input.border"]??e["input.background"]??P??t;r["--input"]=$(D,A,I);const W=e.focusBorder??e["button.background"]??P??t;r["--ring"]=$(W,A,I);const y=B(a),w=B(t);{const S=[y[0]*.6+w[0]*.4,y[1]*.6+w[1]*.4,y[2]*.6+w[2]*.4];let C=[...S];const L=4.5,T=20;for(let v=0;v<T&&!(k(C,w)>=L);v++){const h=(v+1)/T;C=[S[0]*(1-h)+y[0]*h,S[1]*(1-h)+y[1]*h,S[2]*(1-h)+y[2]*h]}r["--text-subtle"]=m(M(...C))}{const S=[w[0]*.65+y[0]*.35,w[1]*.65+y[1]*.35,w[2]*.65+y[2]*.35];let C=[...S];const L=2,T=15;for(let v=0;v<T&&!(k(C,w)>=L);v++){const h=(v+1)/T;C=[S[0]*(1-h)+y[0]*h,S[1]*(1-h)+y[1]*h,S[2]*(1-h)+y[2]*h]}r["--text-ghost"]=m(M(...C))}}else e.descriptionForeground&&(r["--muted-foreground"]=m(e.descriptionForeground));t&&(r["--border"]??=O(t),r["--sidebar-border"]??=O(e["sideBar.background"]??t));const s=n?{background:"#1f1f24",foreground:"#f7f7f7",primary:"#009966",primaryForeground:"#171717",secondary:"#1c1c1c",secondaryForeground:"#f7f7f7",muted:"#121217",mutedForeground:"#b8b5c2",accent:"#182c25",accentForeground:"#7de3bd",danger:"#f38b8b",dangerBackground:"#361010",border:"#4d4a52",input:"#121217",ring:"#6eddb4",info:"#72d2fa",infoForeground:"#171717",success:"#22c55e",successForeground:"#171717",warning:"#facc15",warningForeground:"#171717",sidebar:"#0d0d10",sidebarForeground:"#f7f7f7",sidebarAccent:"#242424",sidebarBorder:"#4d4a52"}:{background:"#ffffff",foreground:"#171717",primary:"#007a4d",primaryForeground:"#ffffff",secondary:"#f5f5f5",secondaryForeground:"#171717",muted:"#e8e8e8",mutedForeground:"#474747",accent:"#e7f3ee",accentForeground:"#00663f",danger:"#930b0b",dangerBackground:"#fde7e7",border:"#d9d9d9",input:"#e6e6e6",ring:"#006ac2",info:"#006ac2",infoForeground:"#ffffff",success:"#117a37",successForeground:"#ffffff",warning:"#dc9400",warningForeground:"#171717",sidebar:"#f7f7f8",sidebarForeground:"#171717",sidebarAccent:"#e8e8e8",sidebarBorder:"#d9d9d9"},c=i=>m(s[i]);r["--background"]??=c("background"),r["--foreground"]??=c("foreground"),r["--card"]??=r["--background"],r["--card-foreground"]??=r["--foreground"],r["--popover"]??=r["--card"],r["--popover-foreground"]??=r["--card-foreground"],r["--primary"]??=c("primary"),r["--primary-foreground"]??=c("primaryForeground"),r["--secondary"]??=c("secondary"),r["--secondary-foreground"]??=c("secondaryForeground"),r["--muted"]??=c("muted"),r["--muted-foreground"]??=c("mutedForeground"),r["--accent"]??=c("accent"),r["--accent-foreground"]??=c("accentForeground"),r["--danger"]??=c("danger"),r["--danger-background"]??=c("dangerBackground"),r["--border"]??=c("border"),r["--input"]??=c("input"),r["--ring"]??=c("ring"),r["--info"]=m(e["editorInfo.foreground"]??s.info),r["--info-foreground"]=c("infoForeground"),r["--success"]=m(e["testing.iconPassed"]??e["gitDecoration.addedResourceForeground"]??s.success),r["--success-foreground"]=c("successForeground"),r["--warning"]=m(e["editorWarning.foreground"]??s.warning),r["--warning-foreground"]=c("warningForeground"),r["--sidebar"]??=c("sidebar"),r["--sidebar-foreground"]??=c("sidebarForeground"),r["--sidebar-accent"]=r["--secondary"]??c("sidebarAccent"),r["--sidebar-accent-foreground"]=r["--sidebar-foreground"],r["--sidebar-border"]??=c("sidebarBorder");const u=[["--foreground","--background"],["--card-foreground","--card"],["--popover-foreground","--popover"],["--primary-foreground","--primary"],["--secondary-foreground","--secondary"],["--accent-foreground","--accent"],["--muted-foreground","--muted"],["--info-foreground","--info"],["--success-foreground","--success"],["--warning-foreground","--warning"],["--sidebar-foreground","--sidebar"],["--sidebar-accent-foreground","--sidebar-accent"]];for(const[i,R]of u)r[i]=H(r[i],r[R]);const g=["--danger-background","--background","--card","--popover","--muted","--sidebar"],f=r["--danger"];r["--danger"]=_(f,g.map(i=>r[i]));const d=F(r["--danger"]);g.every(i=>k(d,F(r[i]))>=4.55)||(r["--danger-background"]=r["--background"],r["--danger"]=_(f,g.map(i=>r[i]))),r["--primary-ink"]=_(r["--primary"],[r["--background"],r["--card"]]);const p=r["--warning"],b=[r["--background"],r["--card"]];return r["--warning-ink"]=_(p,[...b,...b.map(i=>V(p,i,.1))]),r}const z=[["terminal.background","background"],["terminal.foreground","foreground"],["terminal.selectionBackground","selectionBackground"],["terminal.selectionForeground","selectionForeground"],["terminalCursor.foreground","cursor"],["terminalCursor.background","cursorAccent"],["terminal.ansiBlack","black"],["terminal.ansiRed","red"],["terminal.ansiGreen","green"],["terminal.ansiYellow","yellow"],["terminal.ansiBlue","blue"],["terminal.ansiMagenta","magenta"],["terminal.ansiCyan","cyan"],["terminal.ansiWhite","white"],["terminal.ansiBrightBlack","brightBlack"],["terminal.ansiBrightRed","brightRed"],["terminal.ansiBrightGreen","brightGreen"],["terminal.ansiBrightYellow","brightYellow"],["terminal.ansiBrightBlue","brightBlue"],["terminal.ansiBrightMagenta","brightMagenta"],["terminal.ansiBrightCyan","brightCyan"],["terminal.ansiBrightWhite","brightWhite"]];function Q(e){const n={};for(const[r,o]of z){const a=e[r];a&&(n[o]=a)}return n}function E(e){return e.replace(/^#/,"")}function U(e,n){const r=n?"vs-dark":"vs",o=[];if(e.tokenColors)for(const t of e.tokenColors){const s=Array.isArray(t.scope)?t.scope:t.scope?[t.scope]:[""];for(const c of s){const u={token:c};t.settings.foreground&&(u.foreground=E(t.settings.foreground)),t.settings.background&&(u.background=E(t.settings.background)),t.settings.fontStyle&&(u.fontStyle=t.settings.fontStyle),o.push(u)}}const a={};if(e.colors)for(const[t,s]of Object.entries(e.colors))a[t]=s;return{base:r,inherit:!0,rules:o,colors:a}}function J(e){let n="",r=0,o=!1;for(;r<e.length;){const a=e[r];if(o){if(a==="\\"){n+=a+(e[r+1]??""),r+=2;continue}a==='"'&&(o=!1),n+=a,r++;continue}if(a==='"'){o=!0,n+=a,r++;continue}if(a==="/"&&e[r+1]==="/"){for(r+=2;r<e.length&&e[r]!==`
1
+ import{bm as x}from"./CtfEuoOH.js";function m(e){const n=e.replace(/^#/,"");let r,o,a;if(n.length===3||n.length===4)r=parseInt(n[0]+n[0],16)/255,o=parseInt(n[1]+n[1],16)/255,a=parseInt(n[2]+n[2],16)/255;else if(n.length===6||n.length===8)r=parseInt(n.slice(0,2),16)/255,o=parseInt(n.slice(2,4),16)/255,a=parseInt(n.slice(4,6),16)/255;else return"0 0% 0%";const t=Math.max(r,o,a),s=Math.min(r,o,a),c=(t+s)/2;let u=0,g=0;if(t!==s){const p=t-s;switch(g=c>.5?p/(2-t-s):p/(t+s),t){case r:u=((o-a)/p+(o<a?6:0))/6;break;case o:u=((a-r)/p+2)/6;break;case a:u=((r-o)/p+4)/6;break}}const f=Math.round(u*360),d=Math.round(g*100),l=Math.round(c*100);return`${f} ${d}% ${l}%`}function N(e){const n=e.replace(/^#/,"");let r,o,a;if(n.length>=6)r=parseInt(n.slice(0,2),16),o=parseInt(n.slice(2,4),16),a=parseInt(n.slice(4,6),16);else if(n.length>=3)r=parseInt(n[0]+n[0],16),o=parseInt(n[1]+n[1],16),a=parseInt(n[2]+n[2],16);else return!0;return(.299*r+.587*o+.114*a)/255<.5}const X=[["editor.background","--background"],["editor.foreground","--foreground"],["sideBar.background","--sidebar"],["sideBar.foreground","--sidebar-foreground"],["sideBar.border","--sidebar-border"],["editorWidget.background","--card"],["editorWidget.foreground","--card-foreground"],["dropdown.background","--popover"],["dropdown.foreground","--popover-foreground"],["focusBorder","--ring"],["input.background","--input"],["panel.border","--border"],["editorGroup.border","--border"],["button.background","--primary"],["button.foreground","--primary-foreground"],["list.activeSelectionBackground","--secondary"],["list.activeSelectionForeground","--secondary-foreground"],["errorForeground","--danger"],["inputValidation.errorBackground","--danger-background"]];function B(e){const n=e.replace(/^#/,"");return n.length>=6?[parseInt(n.slice(0,2),16),parseInt(n.slice(2,4),16),parseInt(n.slice(4,6),16)]:n.length>=3?[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)]:[0,0,0]}function M(e,n,r){const o=a=>Math.max(0,Math.min(255,Math.round(a)));return`#${o(e).toString(16).padStart(2,"0")}${o(n).toString(16).padStart(2,"0")}${o(r).toString(16).padStart(2,"0")}`}function G(e,n,r){const[o,a,t]=[e,n,r].map(s=>{const c=s/255;return c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4)});return .2126*o+.7152*a+.0722*t}function k(e,n){const r=G(...e),o=G(...n),a=Math.max(r,o),t=Math.min(r,o);return(a+.05)/(t+.05)}function F(e){const n=e.match(/^([\d.]+)\s+([\d.]+)%\s+([\d.]+)%$/);if(!n)return[0,0,0];const r=Number(n[1]),o=Number(n[2])/100,a=Number(n[3])/100,t=(1-Math.abs(2*a-1))*o,s=t*(1-Math.abs(r/60%2-1)),c=a-t/2;return(r<60?[t,s,0]:r<120?[s,t,0]:r<180?[0,t,s]:r<240?[0,s,t]:r<300?[s,0,t]:[t,0,s]).map(g=>Math.round((g+c)*255))}function V(e,n,r){const o=F(e),t=F(n).map((s,c)=>s*(1-r)+o[c]*r);return m(M(...t))}function H(e,n){const r=F(e),o=F(n);if(k(r,o)>=4.55)return e;const a=[0,0,0],t=[255,255,255],s=k(a,o)>k(t,o)?a:t;for(let c=1;c<=20;c++){const u=c/20,g=r.map((f,d)=>f*(1-u)+s[d]*u);if(k(g,o)>=4.55)return m(M(...g))}return m(M(...s))}function _(e,n){const r=F(e),o=n.map(F),a=f=>Math.min(...o.map(d=>k(f,d))),t=4.55;if(a(r)>=t)return e;const s=e.match(/^([\d.]+)\s+([\d.]+)%\s+([\d.]+)%$/);if(!s)return e;const c=Number(s[1]);let u,g={value:e,ratio:a(r),distance:0};for(let f=0;f<=100;f++)for(let d=0;d<=100;d++){const l=`${c} ${f}% ${d}%`,p=F(l),b=a(p),i=p.reduce((R,I,A)=>R+(I-r[A])**2,0);b>=t?(!u||i<u.distance)&&(u={value:l,distance:i}):(b>g.ratio||b===g.ratio&&i<g.distance)&&(g={value:l,ratio:b,distance:i})}return u?.value??g.value}function K({fgHex:e,bgHexes:n,descriptionHex:r}){const o=B(e),a=n.map(B);let t;if(r)t=B(r);else{const[f,d,l]=a[0];t=[o[0]*.6+f*.4,o[1]*.6+d*.4,o[2]*.6+l*.4]}const s=4.5,c=20,u=f=>a.every(d=>k(f,d)>=s),g=[...t];for(let f=0;f<c&&!u(t);f++){const d=(f+1)/c;t=[g[0]*(1-d)+o[0]*d,g[1]*(1-d)+o[1]*d,g[2]*(1-d)+o[2]*d]}return m(M(...t))}function Y(e,n,r){const o=B(e),a=B(n),t=G(...o),s=G(...a),c=1.12;if((Math.max(t,s)+.05)/(Math.min(t,s)+.05)>=c)return m(e);const f=t>s||t===s&&!r?[255,255,255]:[0,0,0],d=20;let l=[...o];for(let p=1;p<=d;p++){const b=p/d;l=[o[0]*(1-b)+f[0]*b,o[1]*(1-b)+f[1]*b,o[2]*(1-b)+f[2]*b];const i=G(...l);if((Math.max(i,s)+.05)/(Math.min(i,s)+.05)>=c)break}return m(M(...l))}function O(e){const n=B(e),r=N(e)?[255,255,255]:[0,0,0],o=1.2,a=20;let t=[...n];for(let s=1;s<=a;s++){const c=s/a;if(t=[n[0]*(1-c)+r[0]*c,n[1]*(1-c)+r[1]*c,n[2]*(1-c)+r[2]*c],k(t,n)>=o)break}return m(M(...t))}function $(e,n,r){const o=B(e),a=n.map(B),t=3.1,s=d=>Math.min(...a.map(l=>k(d,l)));if(s(o)>=t)return m(e);const u=r?[255,255,255]:[0,0,0],g=20;let f=[...o];for(let d=1;d<=g;d++){const l=d/g;if(f=[o[0]*(1-l)+u[0]*l,o[1]*(1-l)+u[1]*l,o[2]*(1-l)+u[2]*l],s(f)>=t)break}return m(M(...f))}function j(e){const n=e["editor.background"];if(!n)return null;const r=e.focusBorder??e["button.background"]??e["badge.background"];if(!r)return null;const o=B(n),a=B(r),t=N(n),s=t?.12:.08,c=[o[0]*(1-s)+a[0]*s,o[1]*(1-s)+a[1]*s,o[2]*(1-s)+a[2]*s],u=B(e["editor.foreground"]??(t?"#ffffff":"#000000"));let g=[...a];const f=4.5,d=20,l=b=>k(b,o)>=f&&k(b,c)>=3,p=[...g];for(let b=0;b<d&&!l(g);b++){const i=(b+1)/d;g=[p[0]*(1-i)+u[0]*i,p[1]*(1-i)+u[1]*i,p[2]*(1-i)+u[2]*i]}return{accent:m(M(...c)),accentForeground:m(M(...g))}}function q(e,n){const r={};for(const[i,R]of X){if(r[R])continue;const I=e[i];I&&(r[R]=m(I))}const o=j(e);o&&(r["--accent"]=o.accent,r["--accent-foreground"]=o.accentForeground);const a=e["editor.foreground"],t=e["editor.background"];if(a&&t){const i=[t];e["sideBar.background"]&&i.push(e["sideBar.background"]),e["editorWidget.background"]&&i.push(e["editorWidget.background"]),r["--muted-foreground"]=K({fgHex:a,bgHexes:i,descriptionHex:e.descriptionForeground});const R=e["tab.inactiveBackground"]??e["sideBar.background"]??t,I=N(t);r["--muted"]=Y(R,t,I);const A=[t,e["editorWidget.background"],e["dropdown.background"],e["sideBar.background"]].filter(S=>!!S),P=e["panel.border"]??e["editorGroup.border"],D=e["input.border"]??e["input.background"]??P??t;r["--input"]=$(D,A,I);const W=e.focusBorder??e["button.background"]??P??t;r["--ring"]=$(W,A,I);const y=B(a),w=B(t);{const S=[y[0]*.6+w[0]*.4,y[1]*.6+w[1]*.4,y[2]*.6+w[2]*.4];let C=[...S];const L=4.5,T=20;for(let v=0;v<T&&!(k(C,w)>=L);v++){const h=(v+1)/T;C=[S[0]*(1-h)+y[0]*h,S[1]*(1-h)+y[1]*h,S[2]*(1-h)+y[2]*h]}r["--text-subtle"]=m(M(...C))}{const S=[w[0]*.65+y[0]*.35,w[1]*.65+y[1]*.35,w[2]*.65+y[2]*.35];let C=[...S];const L=2,T=15;for(let v=0;v<T&&!(k(C,w)>=L);v++){const h=(v+1)/T;C=[S[0]*(1-h)+y[0]*h,S[1]*(1-h)+y[1]*h,S[2]*(1-h)+y[2]*h]}r["--text-ghost"]=m(M(...C))}}else e.descriptionForeground&&(r["--muted-foreground"]=m(e.descriptionForeground));t&&(r["--border"]??=O(t),r["--sidebar-border"]??=O(e["sideBar.background"]??t));const s=n?{background:"#1f1f24",foreground:"#f7f7f7",primary:"#009966",primaryForeground:"#171717",secondary:"#1c1c1c",secondaryForeground:"#f7f7f7",muted:"#121217",mutedForeground:"#b8b5c2",accent:"#182c25",accentForeground:"#7de3bd",danger:"#f38b8b",dangerBackground:"#361010",border:"#4d4a52",input:"#121217",ring:"#6eddb4",info:"#72d2fa",infoForeground:"#171717",success:"#22c55e",successForeground:"#171717",warning:"#facc15",warningForeground:"#171717",sidebar:"#0d0d10",sidebarForeground:"#f7f7f7",sidebarAccent:"#242424",sidebarBorder:"#4d4a52"}:{background:"#ffffff",foreground:"#171717",primary:"#007a4d",primaryForeground:"#ffffff",secondary:"#f5f5f5",secondaryForeground:"#171717",muted:"#e8e8e8",mutedForeground:"#474747",accent:"#e7f3ee",accentForeground:"#00663f",danger:"#930b0b",dangerBackground:"#fde7e7",border:"#d9d9d9",input:"#e6e6e6",ring:"#006ac2",info:"#006ac2",infoForeground:"#ffffff",success:"#117a37",successForeground:"#ffffff",warning:"#dc9400",warningForeground:"#171717",sidebar:"#f7f7f8",sidebarForeground:"#171717",sidebarAccent:"#e8e8e8",sidebarBorder:"#d9d9d9"},c=i=>m(s[i]);r["--background"]??=c("background"),r["--foreground"]??=c("foreground"),r["--card"]??=r["--background"],r["--card-foreground"]??=r["--foreground"],r["--popover"]??=r["--card"],r["--popover-foreground"]??=r["--card-foreground"],r["--primary"]??=c("primary"),r["--primary-foreground"]??=c("primaryForeground"),r["--secondary"]??=c("secondary"),r["--secondary-foreground"]??=c("secondaryForeground"),r["--muted"]??=c("muted"),r["--muted-foreground"]??=c("mutedForeground"),r["--accent"]??=c("accent"),r["--accent-foreground"]??=c("accentForeground"),r["--danger"]??=c("danger"),r["--danger-background"]??=c("dangerBackground"),r["--border"]??=c("border"),r["--input"]??=c("input"),r["--ring"]??=c("ring"),r["--info"]=m(e["editorInfo.foreground"]??s.info),r["--info-foreground"]=c("infoForeground"),r["--success"]=m(e["testing.iconPassed"]??e["gitDecoration.addedResourceForeground"]??s.success),r["--success-foreground"]=c("successForeground"),r["--warning"]=m(e["editorWarning.foreground"]??s.warning),r["--warning-foreground"]=c("warningForeground"),r["--sidebar"]??=c("sidebar"),r["--sidebar-foreground"]??=c("sidebarForeground"),r["--sidebar-accent"]=r["--secondary"]??c("sidebarAccent"),r["--sidebar-accent-foreground"]=r["--sidebar-foreground"],r["--sidebar-border"]??=c("sidebarBorder");const u=[["--foreground","--background"],["--card-foreground","--card"],["--popover-foreground","--popover"],["--primary-foreground","--primary"],["--secondary-foreground","--secondary"],["--accent-foreground","--accent"],["--muted-foreground","--muted"],["--info-foreground","--info"],["--success-foreground","--success"],["--warning-foreground","--warning"],["--sidebar-foreground","--sidebar"],["--sidebar-accent-foreground","--sidebar-accent"]];for(const[i,R]of u)r[i]=H(r[i],r[R]);const g=["--danger-background","--background","--card","--popover","--muted","--sidebar"],f=r["--danger"];r["--danger"]=_(f,g.map(i=>r[i]));const d=F(r["--danger"]);g.every(i=>k(d,F(r[i]))>=4.55)||(r["--danger-background"]=r["--background"],r["--danger"]=_(f,g.map(i=>r[i]))),r["--primary-ink"]=_(r["--primary"],[r["--background"],r["--card"]]);const p=r["--warning"],b=[r["--background"],r["--card"]];return r["--warning-ink"]=_(p,[...b,...b.map(i=>V(p,i,.1))]),r}const z=[["terminal.background","background"],["terminal.foreground","foreground"],["terminal.selectionBackground","selectionBackground"],["terminal.selectionForeground","selectionForeground"],["terminalCursor.foreground","cursor"],["terminalCursor.background","cursorAccent"],["terminal.ansiBlack","black"],["terminal.ansiRed","red"],["terminal.ansiGreen","green"],["terminal.ansiYellow","yellow"],["terminal.ansiBlue","blue"],["terminal.ansiMagenta","magenta"],["terminal.ansiCyan","cyan"],["terminal.ansiWhite","white"],["terminal.ansiBrightBlack","brightBlack"],["terminal.ansiBrightRed","brightRed"],["terminal.ansiBrightGreen","brightGreen"],["terminal.ansiBrightYellow","brightYellow"],["terminal.ansiBrightBlue","brightBlue"],["terminal.ansiBrightMagenta","brightMagenta"],["terminal.ansiBrightCyan","brightCyan"],["terminal.ansiBrightWhite","brightWhite"]];function Q(e){const n={};for(const[r,o]of z){const a=e[r];a&&(n[o]=a)}return n}function E(e){return e.replace(/^#/,"")}function U(e,n){const r=n?"vs-dark":"vs",o=[];if(e.tokenColors)for(const t of e.tokenColors){const s=Array.isArray(t.scope)?t.scope:t.scope?[t.scope]:[""];for(const c of s){const u={token:c};t.settings.foreground&&(u.foreground=E(t.settings.foreground)),t.settings.background&&(u.background=E(t.settings.background)),t.settings.fontStyle&&(u.fontStyle=t.settings.fontStyle),o.push(u)}}const a={};if(e.colors)for(const[t,s]of Object.entries(e.colors))a[t]=s;return{base:r,inherit:!0,rules:o,colors:a}}function J(e){let n="",r=0,o=!1;for(;r<e.length;){const a=e[r];if(o){if(a==="\\"){n+=a+(e[r+1]??""),r+=2;continue}a==='"'&&(o=!1),n+=a,r++;continue}if(a==='"'){o=!0,n+=a,r++;continue}if(a==="/"&&e[r+1]==="/"){for(r+=2;r<e.length&&e[r]!==`
2
2
  `;)r++;continue}if(a==="/"&&e[r+1]==="*"){for(r+=2;r<e.length&&!(e[r]==="*"&&e[r+1]==="/");)r++;r+=2;continue}n+=a,r++}return n=n.replace(/,(\s*[}\]])/g,"$1"),n}function rr(e){if(!e||typeof e!="object")throw new Error("Invalid theme: expected an object");const n=e;if(!n.colors&&!n.tokenColors)throw new Error('Invalid theme: must contain "colors" or "tokenColors"');const r=n.colors??{};let o;return n.type==="light"||n.type==="hc-light"?o=!1:n.type==="dark"||n.type==="hc-black"?o=!0:r["editor.background"]?o=N(r["editor.background"]):o=!0,{name:n.name??x.settings_themeImport_fallbackName_label(),type:o?"dark":"light",cssVariables:q(r,o),monacoTheme:U(n,o),terminalColors:Q(r),rawColors:{...r}}}export{rr as p,J as s};
@@ -1,4 +1,4 @@
1
- import{n as E,o as l,b,s as x,d as dt,l as S,c as ct,_ as M,r as ut}from"./CIyUrgF0.js";import{Z as _}from"./BwNrQXlF.js";import{c as lt,a as mt}from"./DxwfiAWm.js";const L=E().finite().nonnegative(),Q=l({completedAtMs:L,samples:b(l({atMs:L,pointCount:E().int().min(0).max(2048),end:l({x:E().finite(),y:E().finite()}).strict()}).strict()).min(1).max(64)}).strict().refine(t=>t.samples.every((s,n)=>s.atMs<=t.completedAtMs&&(!n||s.atMs>=t.samples[n-1].atMs)),"Invalid gesture clock");function Vt(t,s,n){if(!s||n>=s.completedAtMs)return t;const i=[...s.samples].reverse().find(e=>e.atMs<=n);if(!i)return null;if(t.kind==="path")return i.pointCount?{kind:"path",points:t.points.slice(0,i.pointCount)}:null;if(t.kind==="arrow")return{kind:"arrow",from:t.from,to:i.end};if(t.kind==="rect"){const e=s.samples[0].end,a=Math.abs(i.end.x-e.x),r=Math.abs(i.end.y-e.y);return a>0&&r>0?{kind:"rect",x:Math.min(e.x,i.end.x),y:Math.min(e.y,i.end.y),w:a,h:r}:null}return t}const f=E().finite(),A=f.nonnegative(),R=E().int().nonnegative(),h=x().min(1).max(512),V=l({startMs:A,endMs:A}).strict().refine(t=>t.endMs>=t.startMs,"Reversed range"),z=l({x:f,y:f}).strict(),$=l({x:f,y:f,w:f.positive(),h:f.positive()}).strict(),ft=$.extend({id:h}),Wt=16,W=2,q=l({id:h,radius:f.positive().max(4096),points:b(z).min(1).max(4096)}).strict();function Zt(t){const s=t.points.map(a=>a.x),n=t.points.map(a=>a.y),i=Math.min(...s)-t.radius,e=Math.min(...n)-t.radius;return{x:i,y:e,w:Math.max(...s)+t.radius-i,h:Math.max(...n)+t.radius-e}}function Qt(t,s){return q.parse({...t,radius:t.radius*Math.max(Math.abs(s.scaleX),Math.abs(s.scaleY)),points:t.points.map(n=>({x:n.x*s.scaleX+s.offsetX,y:n.y*s.scaleY+s.offsetY}))})}const tt=dt("kind",[$.extend({kind:S("rect")}),l({kind:S("point"),x:f,y:f}).strict(),l({kind:S("path"),points:b(z).min(1).max(4096)}).strict(),l({kind:S("arrow"),from:z,to:z}).strict(),l({kind:S("text"),x:f,y:f,text:x().max(1e4),fontSize:f.positive(),style:S("sticky").optional(),width:f.positive().max(4096).optional(),padding:f.nonnegative().max(1024).optional()}).strict()]);function st(t){const s=t.fontSize*1.4,n=t.style==="sticky"?t.padding??8:0;if(t.style!=="sticky"){const r=t.text.split(`
1
+ import{n as E,o as l,b,s as x,d as dt,l as S,c as ct,_ as M,r as ut}from"./CIyUrgF0.js";import{Z as _}from"./CGmYraIa.js";import{c as lt,a as mt}from"./DxwfiAWm.js";const L=E().finite().nonnegative(),Q=l({completedAtMs:L,samples:b(l({atMs:L,pointCount:E().int().min(0).max(2048),end:l({x:E().finite(),y:E().finite()}).strict()}).strict()).min(1).max(64)}).strict().refine(t=>t.samples.every((s,n)=>s.atMs<=t.completedAtMs&&(!n||s.atMs>=t.samples[n-1].atMs)),"Invalid gesture clock");function Vt(t,s,n){if(!s||n>=s.completedAtMs)return t;const i=[...s.samples].reverse().find(e=>e.atMs<=n);if(!i)return null;if(t.kind==="path")return i.pointCount?{kind:"path",points:t.points.slice(0,i.pointCount)}:null;if(t.kind==="arrow")return{kind:"arrow",from:t.from,to:i.end};if(t.kind==="rect"){const e=s.samples[0].end,a=Math.abs(i.end.x-e.x),r=Math.abs(i.end.y-e.y);return a>0&&r>0?{kind:"rect",x:Math.min(e.x,i.end.x),y:Math.min(e.y,i.end.y),w:a,h:r}:null}return t}const f=E().finite(),A=f.nonnegative(),R=E().int().nonnegative(),h=x().min(1).max(512),V=l({startMs:A,endMs:A}).strict().refine(t=>t.endMs>=t.startMs,"Reversed range"),z=l({x:f,y:f}).strict(),$=l({x:f,y:f,w:f.positive(),h:f.positive()}).strict(),ft=$.extend({id:h}),Wt=16,W=2,q=l({id:h,radius:f.positive().max(4096),points:b(z).min(1).max(4096)}).strict();function Zt(t){const s=t.points.map(a=>a.x),n=t.points.map(a=>a.y),i=Math.min(...s)-t.radius,e=Math.min(...n)-t.radius;return{x:i,y:e,w:Math.max(...s)+t.radius-i,h:Math.max(...n)+t.radius-e}}function Qt(t,s){return q.parse({...t,radius:t.radius*Math.max(Math.abs(s.scaleX),Math.abs(s.scaleY)),points:t.points.map(n=>({x:n.x*s.scaleX+s.offsetX,y:n.y*s.scaleY+s.offsetY}))})}const tt=dt("kind",[$.extend({kind:S("rect")}),l({kind:S("point"),x:f,y:f}).strict(),l({kind:S("path"),points:b(z).min(1).max(4096)}).strict(),l({kind:S("arrow"),from:z,to:z}).strict(),l({kind:S("text"),x:f,y:f,text:x().max(1e4),fontSize:f.positive(),style:S("sticky").optional(),width:f.positive().max(4096).optional(),padding:f.nonnegative().max(1024).optional()}).strict()]);function st(t){const s=t.fontSize*1.4,n=t.style==="sticky"?t.padding??8:0;if(t.style!=="sticky"){const r=t.text.split(`
2
2
  `);return{lines:r,width:Math.max(1,...r.map(d=>d.length))*t.fontSize*.65,height:r.length*s,padding:n,lineHeight:s}}const i=Math.max(n*2+1,t.width??240),e=Math.max(1,Math.floor((i-n*2)/(t.fontSize*.65))),a=[];for(const r of t.text.split(`
3
3
  `)){let d=r;for(;d.length>e;){const c=d.lastIndexOf(" ",e),u=c>0?c:e;a.push(d.slice(0,u).trimEnd()),d=d.slice(u).trimStart()}a.push(d)}return{lines:a,width:i,height:a.length*s+n*2,padding:n,lineHeight:s}}function qt(t,s){const n=st(t),i=tt.parse({...t,x:t.x*s.scaleX+s.offsetX,y:t.y*s.scaleY+s.offsetY,fontSize:t.fontSize*Math.abs(s.scaleY),...t.style==="sticky"?{width:n.width*Math.abs(s.scaleX),padding:n.padding*Math.min(Math.abs(s.scaleX),Math.abs(s.scaleY))}:{}});if(i.kind!=="text")throw new Error("invalid-text-transform");return i}const U=l({gestureProgress:Q.optional(),id:h,atMs:A,batchId:h,source:M(["recording","editor"]),kind:M(["click","box","draw","arrow","element","text"]),included:ct(),geometry:tt,label:x().max(2048),note:x().max(2e4),context:l({selector:x().max(8192).nullable(),text:x().max(2e4).nullable(),url:x().max(8192).nullable()}).strict()}).strict(),pt=l({id:h,atMs:A,clearAtMs:A.nullable()}).strict().refine(t=>t.clearAtMs===null||t.clearAtMs>=t.atMs,"Reversed batch"),ht=l({mode:M(["fullscreen","window","region"]),frame:l({displayId:E().int(),rect:$,coordinateSpace:S("screen-points-top-left")}).strict().nullable()}).strict(),j=l({id:h,revision:R,kind:M(["recording","screenshot"]),capture:ht.optional(),attachmentId:h,path:x().refine(t=>t.startsWith(".intent/attachments/")&&!/[\\\x00]/.test(t)&&!t.split("/").some(s=>!s||s==="."||s===".."),"Invalid attachment path"),durationMs:A,width:f.positive(),height:f.positive(),audio:M(["available","none","unknown"]),batches:b(pt).max(1e4),visuals:M(["clean","baked-marks"]),capturedMarks:b(U).max(1e4).optional(),bakedMarks:b(U).max(1e4).optional()}).strict().superRefine((t,s)=>{for(const n of t.capturedMarks??[]){const i=n.gestureProgress;i&&(t.kind!=="recording"||i.completedAtMs>t.durationMs||i.samples.some(e=>e.atMs<n.atMs||n.geometry.kind==="path"&&e.pointCount>n.geometry.points.length))&&s.addIssue({code:_.custom,path:["capturedMarks"],message:"Gesture timing does not match the recording"})}t.kind==="recording"&&t.durationMs<=0&&s.addIssue({code:_.custom,path:["durationMs"],message:"Recording duration is missing"})}),Mt=l({status:M(["pending","ready","no-speech","unavailable","failed"]),revision:R,words:b(l({id:h,text:x().max(2e4),startMs:A.nullable(),endMs:A.nullable(),alignment:M(["word","segment","untimed"])}).strict().superRefine((t,s)=>{(t.startMs===null!=(t.endMs===null)||t.startMs!==null&&t.endMs!==null&&t.endMs<t.startMs)&&s.addIssue({code:_.custom,message:"Incomplete or reversed recognition timing"}),t.alignment!=="untimed"&&(t.startMs===null||t.endMs===null)&&s.addIssue({code:_.custom,message:"Timed recognition units require genuine timestamps"}),t.alignment==="untimed"&&t.startMs!==null&&s.addIssue({code:_.custom,message:"Untimed text cannot claim timestamps"})})).max(2e5),error:x().max(2048).optional()}).strict();l({video:M(["full","highlights"]),voice:M(["audio","transcript","off"])}).strict();const G=l({version:S(1),kind:M(["recording","screenshot"]),sourceId:h,sourceRevision:R,revision:R,trim:V,cuts:b(V).max(1e4),marks:b(U).max(1e4),blurRegions:b(ft).max(1e3),blurStrokes:b(q).max(1e3).optional(),crop:$.nullable(),video:M(["full","highlights"]),voice:M(["audio","transcript","off"]),wordEdits:ut(x(),x().max(2e4))}).strict().superRefine((t,s)=>{const n=new Set;for(const i of t.marks)n.has(i.id)&&s.addIssue({code:_.custom,path:["marks"],message:"Duplicate mark identity"}),n.add(i.id)}),kt=l({openId:h,outputVersion:S(W).optional(),sourceId:h,sourceRevision:R,pair:l({workspaceId:h,agentId:h}).strict(),expectedEditRevision:R,edit:G,replacement:l({candidateToken:h,source:j}).strict().optional()}).strict().refine(t=>!(t.edit.blurStrokes?.length||t.edit.marks.some(s=>s.geometry.kind==="text"&&s.geometry.style==="sticky"))||t.outputVersion===W,"This edit requires an admitted output version");function X(t){const s=t.filter(i=>Number.isFinite(i.startMs)&&Number.isFinite(i.endMs)&&i.endMs>i.startMs).map(i=>({...i})).sort((i,e)=>i.startMs-e.startMs),n=[];for(const i of s){const e=n.at(-1);e&&i.startMs<=e.endMs?e.endMs=Math.max(e.endMs,i.endMs):n.push(i)}return n}function K(t,s){let n=X(t);for(const i of X(s))n=n.flatMap(e=>i.endMs<=e.startMs||i.startMs>=e.endMs?[e]:[...i.startMs>e.startMs?[{startMs:e.startMs,endMs:i.startMs}]:[],...i.endMs<e.endMs?[{startMs:i.endMs,endMs:e.endMs}]:[]]);return n}function Y(t,s,n){const i=t===n?Math.max(0,t-.001):t;return s.some(e=>i>=e.startMs&&i<e.endMs)}const N=6;function xt(t){if(t.kind==="point")return{x:t.x-N,y:t.y-N,w:N*2,h:N*2};if(t.kind==="rect")return{x:t.x,y:t.y,w:t.w,h:t.h};if(t.kind==="text"){const e=st(t);return{x:t.x,y:t.y,w:e.width,h:e.height}}const s=t.kind==="path"?t.points:[t.from,t.to],n=Math.min(...s.map(e=>e.x)),i=Math.min(...s.map(e=>e.y));return{x:n,y:i,w:Math.max(1,Math.max(...s.map(e=>e.x))-n),h:Math.max(1,Math.max(...s.map(e=>e.y))-i)}}function gt(t,s){if(!s)return!1;const n=xt(t.geometry);return n.x+n.w<s.x||n.x>s.x+s.w||n.y+n.h<s.y||n.y>s.y+s.h}function It(t){const s=K([t.trim],t.cuts);return t.marks.some(n=>n.included&&Y(n.atMs,s,t.trim.endMs))}function ts(t){return t.visuals==="clean"}function ss(t,s){const n=t.kind==="recording",i=s?.status==="ready";return{audio:{enabled:n&&t.audio==="available",reason:t.audio==="available"?null:"audio-unavailable"},transcript:{enabled:n&&i,reason:i?null:s?.status==="pending"?"transcript-pending":"transcript-unavailable"},off:{enabled:!0,reason:null}}}function ns(t,s,n,i=null){const e={version:1,kind:t.kind,sourceId:t.id,sourceRevision:t.revision,revision:0,trim:{startMs:0,endMs:t.durationMs},cuts:[],marks:structuredClone([...s]),blurRegions:[],blurStrokes:[],crop:null,video:i?.video??"highlights",voice:i?.voice??"transcript",wordEdits:{}};return t.kind==="screenshot"?(e.video="full",e.voice="off",e):(It(e)||(e.video="full"),(t.audio==="none"||n?.status==="no-speech"||e.voice==="audio"&&t.audio!=="available")&&(e.voice="off"),e)}function yt(t,s,n,i,e){const a=[],r=t.cuts.length>0||t.trim.startMs>0||t.trim.endMs<s.durationMs;if(!r&&n.words.some(o=>{const m=t.wordEdits[o.id]??o.text;return/^[\s\p{P}]*$/u.test(m)&&/^[\s\p{P}]*$/u.test(o.text)?!1:o.startMs===null||o.endMs===null||o.startMs<s.durationMs&&o.endMs>s.durationMs})){const o=[];let m=!1;for(const y of n.words){const D=t.wordEdits[y.id]??y.text;if(!D.trim()){y.text.trim()&&(m=!1);continue}/^[\s\p{P}]*$/u.test(D)?m&&(o[o.length-1]+=D.trim()):(o.push(D.trim()),m=!0)}const v=[...i].sort((y,D)=>y.mark.atMs-D.mark.atMs||y.n-D.n).map(({n:y,mark:D})=>`[mark ${y}: ${D.label||D.kind}]`).join(`
4
4
  `);return{text:[o.join(" ").replace(/[^\S\n]+/g," ").trim(),v].filter(Boolean).join(`