@inkeep/open-knowledge 0.51.2 → 0.51.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (403) hide show
  1. package/dist/{acp-harness-probe--VpGhtgu.mjs → acp-harness-probe-XylGN-um.mjs} +2 -2
  2. package/dist/cli.mjs +58 -58
  3. package/dist/constants-B0jB7NMw.mjs +2 -0
  4. package/dist/index.mjs +1 -1
  5. package/dist/{init-Dhj82h89.mjs → init-C_Eq7NlD.mjs} +3 -3
  6. package/dist/init-D0U_jK5Z.mjs +1 -0
  7. package/dist/{launch-json-removal-2s_-SRpa.mjs → launch-json-removal-CH6qzAz1.mjs} +2 -2
  8. package/dist/loader-5KuoWuny.mjs +1 -0
  9. package/dist/{loader-Cf18XdJV.mjs → loader-BOor2v6a.mjs} +2 -2
  10. package/dist/preview-DqfDwjT8.mjs +1 -0
  11. package/dist/{preview-Be0uyPnN.mjs → preview-DstfEksF.mjs} +2 -2
  12. package/dist/public/assets/ActivityModeContent-Bs38aJPR.js +1 -0
  13. package/dist/public/assets/AgentDiffPane-aCTBV0Sg.js +2 -0
  14. package/dist/public/assets/{AgentThreadClientBinder-BrrOZdn1.js → AgentThreadClientBinder-D630hQw1.js} +1 -1
  15. package/dist/public/assets/AppMenubar-BTcflVIz.js +1 -0
  16. package/dist/public/assets/BugReportHistory-BwBrd3j1.js +1 -0
  17. package/dist/public/assets/{BugReportHistoryDialog-DpBx3OAi.js → BugReportHistoryDialog-BuDyugK5.js} +1 -1
  18. package/dist/public/assets/ChangedOutsideBadge-_aGsEoko.js +1 -0
  19. package/dist/public/assets/{CodeMirrorPropInput-D50z9yLP.js → CodeMirrorPropInput-Bhg9LmQE.js} +3 -3
  20. package/dist/public/assets/{ConfigSharingInfoTooltip-BPA8HEYl.js → ConfigSharingInfoTooltip-DYamSYiX.js} +1 -1
  21. package/dist/public/assets/ConsentDialogBody-BC_OEuVT.js +2 -0
  22. package/dist/public/assets/{CopyButton-DhHoiQJR.js → CopyButton-ZwWbjArY.js} +1 -1
  23. package/dist/public/assets/{DiffView-BjOsi4GM.js → DiffView-CpNQGl6x.js} +1 -1
  24. package/dist/public/assets/{DocumentContext-CasGadtG.js → DocumentContext-BjC0hGTM.js} +3 -3
  25. package/dist/public/assets/EditorModeToggle-C7tp7ZQj.js +1 -0
  26. package/dist/public/assets/EnableSyncConfirmDialog-DMBFy4OF.js +1 -0
  27. package/dist/public/assets/FeedbackForm-BfXUBgAJ.js +1 -0
  28. package/dist/public/assets/{GraphPanel-H0Dz8I1Y.js → GraphPanel-Bx4N9J4N.js} +2 -2
  29. package/dist/public/assets/ImportSkillDialog-T9ZQOD7J.js +1 -0
  30. package/dist/public/assets/{LintConfigEditor-DGxetApx.js → LintConfigEditor-C9tW3WCi.js} +1 -1
  31. package/dist/public/assets/ManagedArtifactProperties-Cip1T7yF.js +1 -0
  32. package/dist/public/assets/ManagedArtifactProperties-_M6QrlVX.js +2 -0
  33. package/dist/public/assets/McpConsentDialogBody-Bf2kCPC8.js +1 -0
  34. package/dist/public/assets/{Mermaid-D-pcyGRV.js → Mermaid-DRkWFp4B.js} +2 -2
  35. package/dist/public/assets/{MermaidDocEditor-BDExs-LW.js → MermaidDocEditor-Dt3Q4l9b.js} +1 -1
  36. package/dist/public/assets/ReportBugDialogBody-BWP3eFla.js +3 -0
  37. package/dist/public/assets/SchemaConfigEditor-CkTHXpAc.js +1 -0
  38. package/dist/public/assets/SessionsHost-BXg_DOs0.js +2 -0
  39. package/dist/public/assets/{SettingsDialogBody-Cy0NXh6T.js → SettingsDialogBody-CMButlJi.js} +3 -3
  40. package/dist/public/assets/ShareBranchSwitchDialog-wrgKcpV0.js +1 -0
  41. package/dist/public/assets/ShareReceiveDialog-qUzPS8Up.js +1 -0
  42. package/dist/public/assets/{ShareReceiveMissDialog-BHMkU4HH.js → ShareReceiveMissDialog-CDuQRIrW.js} +1 -1
  43. package/dist/public/assets/{SkillEditBanner-UvWXpguP.js → SkillEditBanner-Bsad_Vwl.js} +1 -1
  44. package/dist/public/assets/{SkillOriginInline-D8kmShJA.js → SkillOriginInline-BxKL6y6j.js} +1 -1
  45. package/dist/public/assets/{SkillToolbarControls-B9upYwy8.js → SkillToolbarControls-4cCFN4AD.js} +1 -1
  46. package/dist/public/assets/SlidesToolbarControls-6Zt8rSXK.js +1 -0
  47. package/dist/public/assets/SourceEditor-Bt7MyIGO.js +1 -0
  48. package/dist/public/assets/{TerminalPanel-D5dGBcUr.js → TerminalPanel-BR5g3hPy.js} +1 -1
  49. package/dist/public/assets/{TerminalWindowApp-C_F5ms5g.js → TerminalWindowApp-CM4VbPB3.js} +1 -1
  50. package/dist/public/assets/{TextDocEditor-GLvDavbc.js → TextDocEditor-B3WEjI_0.js} +1 -1
  51. package/dist/public/assets/{ThreadView-CMDGeM5p.js → ThreadView-DiR7qW0t.js} +5 -5
  52. package/dist/public/assets/TimelineDiffPane-cM6CdbUJ.js +2 -0
  53. package/dist/public/assets/{abnfDiagram-VRR7QNED-CQ5y3jGZ.js → abnfDiagram-VRR7QNED-Cyt3GTKk.js} +1 -1
  54. package/dist/public/assets/{agent-diff-store-ghKYlKOr.js → agent-diff-store-CiNC0ek3.js} +1 -1
  55. package/dist/public/assets/{arc-DllfmQO6.js → arc-aNMnWBC6.js} +1 -1
  56. package/dist/public/assets/architecture-TIHT7OUA-BVZsRK1E.js +1 -0
  57. package/dist/public/assets/{architectureDiagram-ZJ3FMSHR-DEDVgPeV.js → architectureDiagram-ZJ3FMSHR-DEckN_lR.js} +1 -1
  58. package/dist/public/assets/{auth-state-cache-Z9zb3Xiw.js → auth-state-cache-CP1J0B4H.js} +3 -3
  59. package/dist/public/assets/{badge-zHd29IKW.js → badge-clAbmQWQ.js} +1 -1
  60. package/dist/public/assets/{blockDiagram-677ZJIJ3-Biovo5Vk.js → blockDiagram-677ZJIJ3-WTdCgLgQ.js} +1 -1
  61. package/dist/public/assets/{button-RQ5o7P7w.js → button-CA0dewJJ.js} +1 -1
  62. package/dist/public/assets/{c4Diagram-LMCZKHZV-BUMbkcfU.js → c4Diagram-LMCZKHZV-DjtrDhgP.js} +1 -1
  63. package/dist/public/assets/{calendar-q3K0fDI1.js → calendar-PDFs2-7B.js} +1 -1
  64. package/dist/public/assets/channel-u5Kh_K8U.js +1 -0
  65. package/dist/public/assets/{checkbox-DxTkAw0k.js → checkbox-BkFAESv7.js} +1 -1
  66. package/dist/public/assets/chunk-2Q5K7J3B-DASLqvzL.js +1 -0
  67. package/dist/public/assets/{chunk-32BRIVSS-CJfLw0io.js → chunk-32BRIVSS-Mw0pXo8-.js} +1 -1
  68. package/dist/public/assets/{chunk-52WLFC77-CKUXR-Lo.js → chunk-52WLFC77-CWEe7Xh9.js} +1 -1
  69. package/dist/public/assets/{chunk-5FCAYU7R-Blhoqerk.js → chunk-5FCAYU7R-REjYzYtT.js} +1 -1
  70. package/dist/public/assets/{chunk-5HE753X5-Be3l52OO.js → chunk-5HE753X5-C_srkIcK.js} +1 -1
  71. package/dist/public/assets/{chunk-5JV3BV7I-COJRGdXn.js → chunk-5JV3BV7I--CkeTKyk.js} +1 -1
  72. package/dist/public/assets/{chunk-5TONJI2A-6Fwn-ZXg.js → chunk-5TONJI2A-xMtNuVwq.js} +1 -1
  73. package/dist/public/assets/{chunk-5VM5RSS4-CBB7ddJZ.js → chunk-5VM5RSS4-DGa1vtny.js} +1 -1
  74. package/dist/public/assets/{chunk-7BUUIJ7U-BCqa-5nq.js → chunk-7BUUIJ7U-B4APkU8z.js} +1 -1
  75. package/dist/public/assets/{chunk-BIQX33UG-DzD4i2B0.js → chunk-BIQX33UG-DnxSHlbV.js} +1 -1
  76. package/dist/public/assets/{chunk-BO2N2NFS-KCTBsTca.js → chunk-BO2N2NFS-C1xvee7F.js} +4 -4
  77. package/dist/public/assets/{chunk-C7G6YPKG-DxT1wdEz.js → chunk-C7G6YPKG-CFvl8zby.js} +1 -1
  78. package/dist/public/assets/{chunk-CQNSW5MT-DFeH5OJq.js → chunk-CQNSW5MT-D8ElevwX.js} +1 -1
  79. package/dist/public/assets/{chunk-CYSBUYHQ-BnJMwkKI.js → chunk-CYSBUYHQ-aUTH1eDe.js} +1 -1
  80. package/dist/public/assets/{chunk-EMLP6XTP-MSvlJ735.js → chunk-EMLP6XTP-7BWUOZ2c.js} +1 -1
  81. package/dist/public/assets/{chunk-EX3LRPZG-DUzsTxw6.js → chunk-EX3LRPZG-DTQ9xTRn.js} +1 -1
  82. package/dist/public/assets/{chunk-FWX5IMBZ-D3EMolHi.js → chunk-FWX5IMBZ-_K1EOgwo.js} +2 -2
  83. package/dist/public/assets/{chunk-HOUHSVGY-CA499J_e.js → chunk-HOUHSVGY-Ck4oYOb8.js} +1 -1
  84. package/dist/public/assets/{chunk-ICXQ74PX-CNLojPkU.js → chunk-ICXQ74PX-DDE_yp71.js} +1 -1
  85. package/dist/public/assets/{chunk-JG7HCLWE-BjvLoZ4O.js → chunk-JG7HCLWE-BLVAUXzS.js} +1 -1
  86. package/dist/public/assets/{chunk-JWPE2WC7-DKo0ygBr.js → chunk-JWPE2WC7-Bvpkq10U.js} +1 -1
  87. package/dist/public/assets/{chunk-MOJQB5TN-hxtcpfx_.js → chunk-MOJQB5TN-WcfkN7IB.js} +1 -1
  88. package/dist/public/assets/{chunk-MOZMSUNE-DQOK9LgW.js → chunk-MOZMSUNE-D2Nv8Wuo.js} +1 -1
  89. package/dist/public/assets/{chunk-OGEWGWER-DmUP6YIh.js → chunk-OGEWGWER-jM45RyK9.js} +1 -1
  90. package/dist/public/assets/{chunk-OSBZ3O6U-D1WpsIpR.js → chunk-OSBZ3O6U-BrRjkIaa.js} +1 -1
  91. package/dist/public/assets/{chunk-PUDLZKDR-CQKVQESS.js → chunk-PUDLZKDR-L51iYZEJ.js} +1 -1
  92. package/dist/public/assets/{chunk-Q4XR5HBZ-CChmYrK9.js → chunk-Q4XR5HBZ-D8nk0QTa.js} +1 -1
  93. package/dist/public/assets/{chunk-QBLGF6JB-CgndLuEz.js → chunk-QBLGF6JB-DzOtuO7_.js} +1 -1
  94. package/dist/public/assets/{chunk-R7FJI6CG-DCv2sUq2.js → chunk-R7FJI6CG-BBE8TyYk.js} +1 -1
  95. package/dist/public/assets/{chunk-RYQCIY6F-AIaldrY4.js → chunk-RYQCIY6F-JjxPddrX.js} +1 -1
  96. package/dist/public/assets/{chunk-U6XO7XAA-CxMMdww-.js → chunk-U6XO7XAA-CelnNe02.js} +1 -1
  97. package/dist/public/assets/{chunk-V7JOEXUC-CXy9SmJk.js → chunk-V7JOEXUC-DG41UFXs.js} +1 -1
  98. package/dist/public/assets/chunk-VAUOI2AC-DJA00-BZ.js +1 -0
  99. package/dist/public/assets/{chunk-VR4S4FIN-KG7H_g4c.js → chunk-VR4S4FIN-Hvt9mm6P.js} +1 -1
  100. package/dist/public/assets/{chunk-WYO6CB5R-B368j75q.js → chunk-WYO6CB5R-B9Bw1Fap.js} +2 -2
  101. package/dist/public/assets/chunk-XXDRQBXY-PDS5GNmy.js +1 -0
  102. package/dist/public/assets/{chunk-YOTPTUD7-Cqb1OWoI.js → chunk-YOTPTUD7-CMDUudTa.js} +1 -1
  103. package/dist/public/assets/{chunk-ZGVPDNZ5-BKdDRJat.js → chunk-ZGVPDNZ5-DFzNO2Tk.js} +1 -1
  104. package/dist/public/assets/{chunk-ZIRB5QZD-CvXXd6Mf.js → chunk-ZIRB5QZD-B7LalPlS.js} +1 -1
  105. package/dist/public/assets/classDiagram-OUVF2IWQ-NlcKepkm.js +1 -0
  106. package/dist/public/assets/classDiagram-v2-EOCWNBFH-C6XFOl3m.js +1 -0
  107. package/dist/public/assets/{client-version-C6LF52yy.js → client-version-C-vhtx0q.js} +1 -1
  108. package/dist/public/assets/{cm-theme-ChFGbVCe.js → cm-theme-D9MUEK3x.js} +1 -1
  109. package/dist/public/assets/{code-highlighter-impl-CHS525hA.js → code-highlighter-impl-D1qLP5Oi.js} +1 -1
  110. package/dist/public/assets/{collapsible-OhEmjTXw.js → collapsible-COrqeoHr.js} +1 -1
  111. package/dist/public/assets/{comment-chips-S0s83wIP.js → comment-chips-vQeAaaUq.js} +1 -1
  112. package/dist/public/assets/{config-provider-BIse3_Yo.js → config-provider-Caw1J79K.js} +3 -3
  113. package/dist/public/assets/{context-menu-CYgsnEgV.js → context-menu-sbpsdVzK.js} +1 -1
  114. package/dist/public/assets/{cose-bilkent-JH36ORCC-CwtkHR1Y.js → cose-bilkent-JH36ORCC-DJRZsB5E.js} +1 -1
  115. package/dist/public/assets/cynefin-VYW2F7L2-BMcOSmLQ.js +1 -0
  116. package/dist/public/assets/{cynefinDiagram-TSTJHNR4-LsplRO2K.js → cynefinDiagram-TSTJHNR4-DuGT4Jjc.js} +1 -1
  117. package/dist/public/assets/{dagre-C6VKrNvO.js → dagre-DW1q7dDf.js} +1 -1
  118. package/dist/public/assets/{dagre-VKFMJZFB-DhzjgRUZ.js → dagre-VKFMJZFB-LBURqiEZ.js} +1 -1
  119. package/dist/public/assets/{diagram-FQU43EPY-a4jh9ybB.js → diagram-FQU43EPY-iqQIxuC-.js} +1 -1
  120. package/dist/public/assets/{diagram-G47NLZAW-Jgkwuc6y.js → diagram-G47NLZAW-CgIts092.js} +1 -1
  121. package/dist/public/assets/{diagram-NH7WQ7WH-Cz1HEitz.js → diagram-NH7WQ7WH-B14H0nEQ.js} +1 -1
  122. package/dist/public/assets/{diagram-OA4YK3LP-CIcVtjXP.js → diagram-OA4YK3LP-DzO3nuRp.js} +1 -1
  123. package/dist/public/assets/{diagram-WEI45ONY-C8wU887b.js → diagram-WEI45ONY-9YQecyFK.js} +1 -1
  124. package/dist/public/assets/{dialog-Bxcn1sLm.js → dialog-DVmOCCjy.js} +1 -1
  125. package/dist/public/assets/{dist-G89kioZo.js → dist-6Kl8HTi9.js} +1 -1
  126. package/dist/public/assets/{dist-DL1WTl5d.js → dist-BPE3EfQ5.js} +1 -1
  127. package/dist/public/assets/{dist-Bb1r1o6u.js → dist-BQPldDGL.js} +1 -1
  128. package/dist/public/assets/{dist-CHVHOG7X2.js → dist-BY1jqfIu2.js} +4 -4
  129. package/dist/public/assets/{dist-EpVTQF77.js → dist-BfaJZWlQ.js} +1 -1
  130. package/dist/public/assets/{dist-DMj9iIHH.js → dist-Bme5LuHX.js} +1 -1
  131. package/dist/public/assets/{dist-CXSIgvvA.js → dist-BotIWl7V.js} +1 -1
  132. package/dist/public/assets/{dist-DY-494HN.js → dist-BvwnbioL.js} +1 -1
  133. package/dist/public/assets/{dist-C9uRrl_E.js → dist-BwRSnzRm.js} +1 -1
  134. package/dist/public/assets/{dist-CFyOS6pn.js → dist-C99wbZvV.js} +1 -1
  135. package/dist/public/assets/{dist-BOhFaMG0.js → dist-CFCiGNjc.js} +1 -1
  136. package/dist/public/assets/{dist-B0Beym3_.js → dist-CJlTCFgz.js} +1 -1
  137. package/dist/public/assets/{dist-DgRDZMLf.js → dist-ChuC3aAT.js} +1 -1
  138. package/dist/public/assets/{dist-DrCK4JBL.js → dist-CoDGIN0N.js} +1 -1
  139. package/dist/public/assets/{dist-Bx9oFJRu.js → dist-D82VADo2.js} +1 -1
  140. package/dist/public/assets/{dist-CR6aO28t.js → dist-DX6BuR0m.js} +1 -1
  141. package/dist/public/assets/{dist-DpaqLIPT.js → dist-DmTWt7nC.js} +1 -1
  142. package/dist/public/assets/{dist-Bi80hc1t.js → dist-DsLZcVyZ.js} +1 -1
  143. package/dist/public/assets/{dist-D_1xxRDt.js → dist-IadXjKLx.js} +1 -1
  144. package/dist/public/assets/{dist-DRg5A_HQ.js → dist-RCzd72OE.js} +1 -1
  145. package/dist/public/assets/{dist-DuPjpj5-.js → dist-SueN4kiT.js} +1 -1
  146. package/dist/public/assets/{dist-By2lAhKX.js → dist-gTGB_-tT.js} +1 -1
  147. package/dist/public/assets/{doc-paths-DEUIlKvV.js → doc-paths-DOZo_nHG.js} +1 -1
  148. package/dist/public/assets/{documents-events-CNRzblNO.js → documents-events-BitYaN7I.js} +1 -1
  149. package/dist/public/assets/{dropdown-menu-K4eCFwQy.js → dropdown-menu-CCTsTCfv.js} +1 -1
  150. package/dist/public/assets/{ebnfDiagram-CCIWWBDH-CjptFZja.js → ebnfDiagram-CCIWWBDH-BySx8NjB.js} +1 -1
  151. package/dist/public/assets/{erDiagram-Q63AITRT-BYiJa_5G.js → erDiagram-Q63AITRT-Cdw6iCQb.js} +1 -1
  152. package/dist/public/assets/{es2015-B2hWAwcf.js → es2015-wpLRKwCl.js} +1 -1
  153. package/dist/public/assets/eventmodeling-45OFAUF4-B4ndPr5Q.js +1 -0
  154. package/dist/public/assets/{field-9eXIpxzl.js → field-DUtAomNS.js} +1 -1
  155. package/dist/public/assets/{file-tree-adapter-DYdb8QDM.js → file-tree-adapter-BI2FekZW.js} +1 -1
  156. package/dist/public/assets/{file-tree-utils-CaXhxBar.js → file-tree-utils-CTRWveDn.js} +1 -1
  157. package/dist/public/assets/flowDiagram-23GEKE2U-HpizmsfC.js +1 -0
  158. package/dist/public/assets/{folder-config-api-Cm-dSVuA.js → folder-config-api-LjRlSYnh.js} +1 -1
  159. package/dist/public/assets/{follow-file-CLEoGh92.js → follow-file-C644A1Kj.js} +1 -1
  160. package/dist/public/assets/{form-_Bm7VdZa.js → form-B-50NuzZ.js} +1 -1
  161. package/dist/public/assets/{ganttDiagram-NO4QXBWP-TYuuGc0X.js → ganttDiagram-NO4QXBWP-jPRdgNRi.js} +1 -1
  162. package/dist/public/assets/gitGraph-TEB2WS4Q-GwnHDhol.js +1 -0
  163. package/dist/public/assets/{gitGraphDiagram-IHSO6WYX-BrjUrrk2.js → gitGraphDiagram-IHSO6WYX-DezGE_VT.js} +1 -1
  164. package/dist/public/assets/globals-BNjkKswM.css +1 -0
  165. package/dist/public/assets/{graphlib-D8PlvV2o.js → graphlib-5VWtP6Ao.js} +1 -1
  166. package/dist/public/assets/{highlighted-body-OFNGDK62-eJrwOujA.js → highlighted-body-OFNGDK62-JqfzcmVm.js} +1 -1
  167. package/dist/public/assets/i18n-OUMFVthu.js +1 -0
  168. package/dist/public/assets/index-BW96j9Aj.js +2095 -0
  169. package/dist/public/assets/info-DKCQHKI2-CGe_S43p.js +1 -0
  170. package/dist/public/assets/{infoDiagram-FWYZ7A6U-B6_Knuir.js → infoDiagram-FWYZ7A6U-pVYA0AFe.js} +1 -1
  171. package/dist/public/assets/{input-group-BA2Li4LU.js → input-group-DfPm2b5y.js} +1 -1
  172. package/dist/public/assets/{ishikawaDiagram-FXEZZL3T-CqxHoebw.js → ishikawaDiagram-FXEZZL3T-BgZfu54d.js} +1 -1
  173. package/dist/public/assets/{journeyDiagram-5HDEW3XC-B1-3fVtR.js → journeyDiagram-5HDEW3XC-DfOvu5aO.js} +1 -1
  174. package/dist/public/assets/{kanban-definition-HUTT4EX6-CdhMOBCU.js → kanban-definition-HUTT4EX6-DnL8qiuO.js} +1 -1
  175. package/dist/public/assets/{label-BT2yjpKR.js → label-B5yNUINo.js} +1 -1
  176. package/dist/public/assets/{lib-DcrRfjuF.js → lib-BBjYrxt7.js} +1 -1
  177. package/dist/public/assets/{lib-BHGXbMkc.js → lib-QkjDOaI5.js} +1 -1
  178. package/dist/public/assets/{line-C0o9Fjf4.js → line-D4bODUnp.js} +1 -1
  179. package/dist/public/assets/{linear-CjM1R4zy.js → linear-4Rf5sAhf.js} +1 -1
  180. package/dist/public/assets/{lint-config-client-Di_wU0g4.js → lint-config-client-DYG9O775.js} +1 -1
  181. package/dist/public/assets/{local-menu-action-bus-BKJCODnD.js → local-menu-action-bus-DhyBGz2o.js} +1 -1
  182. package/dist/public/assets/{map-Cu759seX.js → map-DQ7yAI4u.js} +1 -1
  183. package/dist/public/assets/markdownlint-rule-browser-BoRTzfZJ.js +1 -0
  184. package/dist/public/assets/mermaid-GHXKKRXX-CRK2GGUl.js +1 -0
  185. package/dist/public/assets/{mermaid-parser.core-DpHycRcl.js → mermaid-parser.core-Bf2WVXd3.js} +2 -2
  186. package/dist/public/assets/{mermaid.core-BnYdLHjl.js → mermaid.core-CY4lKQBm.js} +3 -3
  187. package/dist/public/assets/messages-5lfvSK7R.js +1 -0
  188. package/dist/public/assets/messages-B7VCB4F4.js +1 -0
  189. package/dist/public/assets/messages-BE9MmUSS.js +1 -0
  190. package/dist/public/assets/messages-C8DKO6vo.js +1 -0
  191. package/dist/public/assets/messages-CHMYGJKj.js +1 -0
  192. package/dist/public/assets/messages-CZ6-WdPl.js +1 -0
  193. package/dist/public/assets/messages-ClqleYya.js +1 -0
  194. package/dist/public/assets/messages-DGds_cwk.js +1 -0
  195. package/dist/public/assets/messages-DqzgR8k0.js +1 -0
  196. package/dist/public/assets/messages-Q4MhsTR4.js +1 -0
  197. package/dist/public/assets/messages-QJXNLGHa.js +1 -0
  198. package/dist/public/assets/{mindmap-definition-LN4V7U3C-D6FYi_vY.js → mindmap-definition-LN4V7U3C-B2wyyqti.js} +1 -1
  199. package/dist/public/assets/{navigation-targets-Dh0TaCXK.js → navigation-targets-D1c78Tgj.js} +1 -1
  200. package/dist/public/assets/{now-Cd_fQsCQ.js → now-B20EYrQA.js} +1 -1
  201. package/dist/public/assets/{open-managed-artifact-tab-DflI2eed.js → open-managed-artifact-tab-DumcGmh3.js} +1 -1
  202. package/dist/public/assets/{ordinal-oNJqAlZi.js → ordinal-DESsPZ3m.js} +1 -1
  203. package/dist/public/assets/packet-7NZHBO7P-BR-mxuwX.js +1 -0
  204. package/dist/public/assets/{pegDiagram-2B236MQR-Cic2_Ooi.js → pegDiagram-2B236MQR-CCrhTOMw.js} +1 -1
  205. package/dist/public/assets/pending-receive-nav-store-CkgEiXT8.js +1 -0
  206. package/dist/public/assets/pie-RZYD4A2V-BPiOMAfX.js +1 -0
  207. package/dist/public/assets/{pieDiagram-ENE6RG2P-DgqO0C3j.js → pieDiagram-ENE6RG2P-DQdEzIV-.js} +1 -1
  208. package/dist/public/assets/platform-labels-B2CH4Bk2.js +1 -0
  209. package/dist/public/assets/{project-paths-DC6bWLUQ.js → project-paths-Gbd1UShN.js} +1 -1
  210. package/dist/public/assets/{prop-types-CLe_EOJt.js → prop-types-BGodD0gJ.js} +1 -1
  211. package/dist/public/assets/{propagation-api-DSg7UKuw.js → propagation-api-vTg5ZoIF.js} +1 -1
  212. package/dist/public/assets/{quadrantDiagram-ABIIQ3AL-CC3ZGpWb.js → quadrantDiagram-ABIIQ3AL-BCKmJo75.js} +1 -1
  213. package/dist/public/assets/radar-I7S5WNFK-FR61IQU6.js +1 -0
  214. package/dist/public/assets/{radio-group-CmCnommQ.js → radio-group-Dma7A6rO.js} +1 -1
  215. package/dist/public/assets/railroad-3IZDKUUU-CcLEcWKe.js +1 -0
  216. package/dist/public/assets/railroad-abnf-AHOZXSZD-9ppZy1-k.js +1 -0
  217. package/dist/public/assets/railroad-ebnf-EBAXGLYW-CFdmC4H0.js +1 -0
  218. package/dist/public/assets/railroad-peg-LSFZ7HO6-DKKT6-pE.js +1 -0
  219. package/dist/public/assets/{railroadDiagram-RFXS5EU6-DaoKPEli.js → railroadDiagram-RFXS5EU6-T8mmvhRm.js} +1 -1
  220. package/dist/public/assets/{receive-store-DrPPaP0S.js → receive-store-DpGZjWBj.js} +1 -1
  221. package/dist/public/assets/{requirementDiagram-TGXJPOKE-qmFI0ev3.js → requirementDiagram-TGXJPOKE-DvRqTfiU.js} +1 -1
  222. package/dist/public/assets/{sankeyDiagram-HTMAVEWB-CYeZQsa5.js → sankeyDiagram-HTMAVEWB-D64eInUx.js} +1 -1
  223. package/dist/public/assets/{schema-fields-view-intent-CeZOW3HG.js → schema-fields-view-intent-CdIkrCMo.js} +1 -1
  224. package/dist/public/assets/{select-BjNoD_FX.js → select-BjFjLtNo.js} +1 -1
  225. package/dist/public/assets/{selection-context-BxRPPU5Z.js → selection-context-CCO6QKdo.js} +1 -1
  226. package/dist/public/assets/{separator-BKbgOjgy.js → separator-M6oCqOdc.js} +1 -1
  227. package/dist/public/assets/{sequenceDiagram-DBY2YBRQ-DfXkoRwp.js → sequenceDiagram-DBY2YBRQ-BV2zWp8H.js} +1 -1
  228. package/dist/public/assets/{sizeCapture-X5ZJPWSS-Bd7A4fpz.js → sizeCapture-X5ZJPWSS-DWSidcVR.js} +1 -1
  229. package/dist/public/assets/skill-actions-B1B0qG52.js +2 -0
  230. package/dist/public/assets/{skill-scope-BzUNaBG8.js → skill-scope-mjfe91li.js} +1 -1
  231. package/dist/public/assets/{skills-api-VZRmji1_.js → skills-api-CcQWIVlI.js} +1 -1
  232. package/dist/public/assets/{src-CbX6YXDU.js → src-BrB3aFmb.js} +1 -1
  233. package/dist/public/assets/{src-XHagG0Wj.js → src-CFlBJhBk.js} +1 -1
  234. package/dist/public/assets/{stateDiagram-2N3HPSRC-CCh_abZC.js → stateDiagram-2N3HPSRC-E3_0aSjO.js} +1 -1
  235. package/dist/public/assets/stateDiagram-v2-6OUMAXLB-BpA8LLQp.js +1 -0
  236. package/dist/public/assets/{swimlanes-5IMT3BWC-Dk2uoutn.js → swimlanes-5IMT3BWC-BUS17sVo.js} +2 -2
  237. package/dist/public/assets/swimlanesDiagram-G3AALYLV-BUuVbuaI.js +8 -0
  238. package/dist/public/assets/{switch-0kSGDL9E.js → switch-D7eeFW1V.js} +1 -1
  239. package/dist/public/assets/{tabs-CjOEhhKP.js → tabs-N5qanjDX.js} +1 -1
  240. package/dist/public/assets/{tag-pill-input-GrIUFiT7.js → tag-pill-input-BkD-ZQDk.js} +1 -1
  241. package/dist/public/assets/{target-navigation-intent-CqhpK9cj.js → target-navigation-intent-BgxhKxMq.js} +1 -1
  242. package/dist/public/assets/{telemetry-impl-DlE3Lv5F.js → telemetry-impl-BM6FbcrP.js} +2 -2
  243. package/dist/public/assets/{telemetry-startup-hv8lBqwj.js → telemetry-startup-BQziscLg.js} +1 -1
  244. package/dist/public/assets/{terminal-cli-display-DLfTA9tz.js → terminal-cli-display-ZdP29LVN.js} +1 -1
  245. package/dist/public/assets/{terminal-launch-events-DaPNTH_g.js → terminal-launch-events-AyMyKuPQ.js} +1 -1
  246. package/dist/public/assets/{terminal-telemetry-BdrnMW3b.js → terminal-telemetry-C-Dziy6l.js} +1 -1
  247. package/dist/public/assets/{text-viewer-languages-BmEIetCD.js → text-viewer-languages-D7sW2cs_.js} +2 -2
  248. package/dist/public/assets/thread-client-uB_XB2bn.js +1 -0
  249. package/dist/public/assets/{timeline-definition-FHXFAJF6-tb13RhWP.js → timeline-definition-FHXFAJF6-C1ZUkORa.js} +1 -1
  250. package/dist/public/assets/{toggle-group-DAYvcc1F.js → toggle-group-BIExzdFQ.js} +1 -1
  251. package/dist/public/assets/{tooltip-x7BNUa3s.js → tooltip-DHXgxWLL.js} +1 -1
  252. package/dist/public/assets/treeView-QDETBFTQ-Bt_6H8f6.js +1 -0
  253. package/dist/public/assets/treemap-6X3UGDF4-Ba1ieKkN.js +1 -0
  254. package/dist/public/assets/{typing-burst-detector-COX8FDXD.js → typing-burst-detector-Df_WjDE6.js} +2 -2
  255. package/dist/public/assets/{uninstall-PZKO4_N9.js → uninstall-DEJN3ZLH.js} +1 -1
  256. package/dist/public/assets/{use-activity-panel-CtHXJ4mx.js → use-activity-panel-Bb0h8yLJ.js} +1 -1
  257. package/dist/public/assets/{use-apply-config-color-theme-Be4mSe54.js → use-apply-config-color-theme-UFrKf2EE.js} +1 -1
  258. package/dist/public/assets/{use-collab-url-ChXwOaQi.js → use-collab-url-DI_uQryf.js} +1 -1
  259. package/dist/public/assets/{use-live-xterm-theme-CaipyTAZ.js → use-live-xterm-theme-CILJuHGx.js} +1 -1
  260. package/dist/public/assets/use-open-skill-YYewtP0J.js +1 -0
  261. package/dist/public/assets/{use-popular-skills-BEpYkbxf.js → use-popular-skills-CPpkjJUN.js} +1 -1
  262. package/dist/public/assets/{use-settings-route-MF7LcF5y.js → use-settings-route-CWCzZOoj.js} +1 -1
  263. package/dist/public/assets/use-skill-origin-D-U8mSyd.js +1 -0
  264. package/dist/public/assets/{use-skills-C13KTW_J.js → use-skills-BjtLi97f.js} +1 -1
  265. package/dist/public/assets/{use-terminal-enabled-r2pfLhCY.js → use-terminal-enabled-BPY3BhLN.js} +1 -1
  266. package/dist/public/assets/{use-timeline-entry-diff-C9owRy-n.js → use-timeline-entry-diff-Dgp6eZCm.js} +1 -1
  267. package/dist/public/assets/{use-workspace-CEaEfKKU.js → use-workspace-DtqF7Dc2.js} +1 -1
  268. package/dist/public/assets/{vennDiagram-L72KCM5P-Cyp_-2xs.js → vennDiagram-L72KCM5P-BoWUv2uG.js} +1 -1
  269. package/dist/public/assets/wardley-OPB4EBWU-BDVK50WN.js +1 -0
  270. package/dist/public/assets/{wardleyDiagram-EHGQE667-C5z1_r-x.js → wardleyDiagram-EHGQE667-BIN_yrd6.js} +1 -1
  271. package/dist/public/assets/{xychartDiagram-FW5EYKEG-DH9RxgRE.js → xychartDiagram-FW5EYKEG-DKs7W7HY.js} +1 -1
  272. package/dist/public/index.html +107 -106
  273. package/dist/public/uninstall.html +23 -23
  274. package/dist/{repair-launch-json-Caz4Geku.mjs → repair-launch-json-LIXHgLNx.mjs} +2 -2
  275. package/dist/{repair-mcp-configs-BqbRQlkK.mjs → repair-mcp-configs-DjKRfsTH.mjs} +2 -2
  276. package/dist/src-CLz0Rv1d.mjs +1 -0
  277. package/dist/{src-Df8kl5aO.mjs → src-Cz4zjcA4.mjs} +2 -2
  278. package/dist/{start-BJ1MYSwN.mjs → start-BR982nPC.mjs} +2 -2
  279. package/dist/start-DW9wFYhh.mjs +1 -0
  280. package/package.json +5 -5
  281. package/dist/constants-Dgd7GIo3.mjs +0 -2
  282. package/dist/init-BfNqRx0C.mjs +0 -1
  283. package/dist/loader-DPW5tTWF.mjs +0 -1
  284. package/dist/preview-BzailyK2.mjs +0 -1
  285. package/dist/public/assets/ActivityModeContent-Cjkui6nd.js +0 -1
  286. package/dist/public/assets/AgentDiffPane-u-5ilTRE.js +0 -2
  287. package/dist/public/assets/AppMenubar-DzKyqu4x.js +0 -1
  288. package/dist/public/assets/BugReportHistory-mvsL4k28.js +0 -1
  289. package/dist/public/assets/ChangedOutsideBadge-BcoH6-nw.js +0 -1
  290. package/dist/public/assets/ConsentDialogBody-KXeO_ZFL.js +0 -2
  291. package/dist/public/assets/EditorModeToggle-6-QjT8Ga.js +0 -1
  292. package/dist/public/assets/EnableSyncConfirmDialog-CYGOKMM4.js +0 -1
  293. package/dist/public/assets/FeedbackForm-DiHjz-hT.js +0 -1
  294. package/dist/public/assets/ImportSkillDialog-mMdMQEcu.js +0 -1
  295. package/dist/public/assets/ManagedArtifactProperties-5u803JAP.js +0 -2
  296. package/dist/public/assets/ManagedArtifactProperties-CutBH5nQ.js +0 -1
  297. package/dist/public/assets/McpConsentDialogBody-BB44PQE6.js +0 -1
  298. package/dist/public/assets/ReportBugDialogBody-Cedm28lz.js +0 -3
  299. package/dist/public/assets/SchemaConfigEditor-Dbn9RObT.js +0 -1
  300. package/dist/public/assets/SessionsHost-DpaDtew-.js +0 -2
  301. package/dist/public/assets/ShareBranchSwitchDialog-Co8TuLoa.js +0 -1
  302. package/dist/public/assets/ShareReceiveDialog-DHLrIRs0.js +0 -1
  303. package/dist/public/assets/SlidesToolbarControls-B_zJy_NS.js +0 -1
  304. package/dist/public/assets/SourceEditor-BYbqK1qo.js +0 -1
  305. package/dist/public/assets/TimelineDiffPane-CjnN3faR.js +0 -2
  306. package/dist/public/assets/architecture-TIHT7OUA-CIR5HZsg.js +0 -1
  307. package/dist/public/assets/channel-C6KgPQqg.js +0 -1
  308. package/dist/public/assets/chunk-2Q5K7J3B-CgG_zTm9.js +0 -1
  309. package/dist/public/assets/chunk-VAUOI2AC-ujVxk4Ze.js +0 -1
  310. package/dist/public/assets/chunk-XXDRQBXY-B7w13F3i.js +0 -1
  311. package/dist/public/assets/classDiagram-OUVF2IWQ-CrrbWSrl.js +0 -1
  312. package/dist/public/assets/classDiagram-v2-EOCWNBFH-BYbi6pvW.js +0 -1
  313. package/dist/public/assets/cynefin-VYW2F7L2-BdPtv88z.js +0 -1
  314. package/dist/public/assets/eventmodeling-45OFAUF4-ur3Hg9pT.js +0 -1
  315. package/dist/public/assets/flowDiagram-23GEKE2U-C1BAvCbz.js +0 -1
  316. package/dist/public/assets/gitGraph-TEB2WS4Q-l_1SzZcb.js +0 -1
  317. package/dist/public/assets/globals-CsoulcLa.css +0 -1
  318. package/dist/public/assets/i18n-lVHP3BYW.js +0 -1
  319. package/dist/public/assets/index-D2SnTfy9.js +0 -2095
  320. package/dist/public/assets/info-DKCQHKI2-CCDXfGhV.js +0 -1
  321. package/dist/public/assets/markdownlint-rule-browser-CepJct7F.js +0 -1
  322. package/dist/public/assets/mermaid-GHXKKRXX-C9G7CQ6h.js +0 -1
  323. package/dist/public/assets/messages-B12ABuMo.js +0 -1
  324. package/dist/public/assets/messages-BUufFcK8.js +0 -1
  325. package/dist/public/assets/messages-BV-Jgai1.js +0 -1
  326. package/dist/public/assets/messages-B_u6thtp.js +0 -1
  327. package/dist/public/assets/messages-CS-CWF8r.js +0 -1
  328. package/dist/public/assets/messages-CwQGRPEE.js +0 -1
  329. package/dist/public/assets/messages-Cwceyxby.js +0 -1
  330. package/dist/public/assets/messages-DGpodehZ.js +0 -1
  331. package/dist/public/assets/messages-DHl_AYzv.js +0 -1
  332. package/dist/public/assets/messages-DbRvxOAn.js +0 -1
  333. package/dist/public/assets/messages-DdKkPWw3.js +0 -1
  334. package/dist/public/assets/packet-7NZHBO7P-BBeRj-Du.js +0 -1
  335. package/dist/public/assets/pending-receive-nav-store-yXsV1Iit.js +0 -1
  336. package/dist/public/assets/pie-RZYD4A2V-BszLCTWh.js +0 -1
  337. package/dist/public/assets/radar-I7S5WNFK-CG0ShGDu.js +0 -1
  338. package/dist/public/assets/railroad-3IZDKUUU-N5ekmrCL.js +0 -1
  339. package/dist/public/assets/railroad-abnf-AHOZXSZD-DnjoKlG9.js +0 -1
  340. package/dist/public/assets/railroad-ebnf-EBAXGLYW-qDwmtJRh.js +0 -1
  341. package/dist/public/assets/railroad-peg-LSFZ7HO6-DSfMsKSD.js +0 -1
  342. package/dist/public/assets/skill-actions-Dj2NwLGa.js +0 -2
  343. package/dist/public/assets/stateDiagram-v2-6OUMAXLB-CUhlDos5.js +0 -1
  344. package/dist/public/assets/swimlanesDiagram-G3AALYLV-DHL99Ckz.js +0 -8
  345. package/dist/public/assets/thread-client-DySYYPC9.js +0 -1
  346. package/dist/public/assets/treeView-QDETBFTQ-DwFOcFO4.js +0 -1
  347. package/dist/public/assets/treemap-6X3UGDF4-D_-cggQd.js +0 -1
  348. package/dist/public/assets/use-open-skill-DASBRT-Y.js +0 -1
  349. package/dist/public/assets/use-skill-origin-qCGon4Nv.js +0 -1
  350. package/dist/public/assets/wardley-OPB4EBWU-Dz0s9mBi.js +0 -1
  351. package/dist/src-DfSOnWpf.mjs +0 -1
  352. package/dist/start-CR0_bdQ_.mjs +0 -1
  353. /package/dist/public/assets/{ActivityPanelDiffView-fDxLwTi2.js → ActivityPanelDiffView-BFGU7FuX.js} +0 -0
  354. /package/dist/public/assets/{__vite-browser-external-D_48KNDi.js → __vite-browser-external-B0BZXP-a.js} +0 -0
  355. /package/dist/public/assets/{agent-presence-DK_W4GTa.js → agent-presence-Q3sOmqg-.js} +0 -0
  356. /package/dist/public/assets/{array-DYKIbRR-.js → array-DnELBPc_.js} +0 -0
  357. /package/dist/public/assets/{chunk-KEIR6QF5-Z0IgTo4K.js → chunk-KEIR6QF5-BAcwqmZm.js} +0 -0
  358. /package/dist/public/assets/{chunk-Y2CYZVJY-Bmis3P2F.js → chunk-Y2CYZVJY-C6hUlB9r.js} +0 -0
  359. /package/dist/public/assets/{clike-l3ublWpW.js → clike-D606HwWD.js} +0 -0
  360. /package/dist/public/assets/{colors-C77NTF6g.js → colors-DXi5RzQM.js} +0 -0
  361. /package/dist/public/assets/{cytoscape.esm-C2gIT5zZ.js → cytoscape.esm-BDh2zxAN.js} +0 -0
  362. /package/dist/public/assets/{defaultLocale-BugBqEWo.js → defaultLocale-DNCjqQTu.js} +0 -0
  363. /package/dist/public/assets/{diff-TXhtTD_D.js → diff-BqT6xzG9.js} +0 -0
  364. /package/dist/public/assets/{dist-1ia0sKe1.js → dist-B607USIc.js} +0 -0
  365. /package/dist/public/assets/{dist-Bkx5dDHT2.js → dist-BLaUOTRG.js} +0 -0
  366. /package/dist/public/assets/{dist-DNiTklSL.js → dist-DA9thpzC.js} +0 -0
  367. /package/dist/public/assets/{dist-CIv09IXf.js → dist-DH4zqp8r.js} +0 -0
  368. /package/dist/public/assets/{dist-DUWYPul7.js → dist-mv8e6dBX.js} +0 -0
  369. /package/dist/public/assets/{floating-ui.dom-C0wusa09.js → floating-ui.dom-By-yeALv.js} +0 -0
  370. /package/dist/public/assets/{gherkin-Bu_VunKM.js → gherkin-CQNcofd0.js} +0 -0
  371. /package/dist/public/assets/{globals-DDWjhIqB.js → globals-BU4yHPFj.js} +0 -0
  372. /package/dist/public/assets/{go-BYJ3ESi0.js → go-CYNjOMy2.js} +0 -0
  373. /package/dist/public/assets/{html-void-elements-Bkr32DGT.js → html-void-elements-DoMZlD02.js} +0 -0
  374. /package/dist/public/assets/{init-B44NBVpk.js → init-UZXirr88.js} +0 -0
  375. /package/dist/public/assets/{isObject-Dhzo1ma6.js → isObject-DA8VFA79.js} +0 -0
  376. /package/dist/public/assets/{katex-BE6VA85g.js → katex-C-9c1y-w.js} +0 -0
  377. /package/dist/public/assets/{libesm-BYxokP1G.js → libesm-D24wYKBv.js} +0 -0
  378. /package/dist/public/assets/{lru-string-cache-BgNKFfCO.js → lru-string-cache-Wi_7wLc6.js} +0 -0
  379. /package/dist/public/assets/{lua-De9v6Xwm.js → lua-Bn4oUWTX.js} +0 -0
  380. /package/dist/public/assets/{markdownit-CIgVFnWs.js → markdownit-65wjFH7d.js} +0 -0
  381. /package/dist/public/assets/{mcp-consent-store-CBPF1Ll9.js → mcp-consent-store-CXXQBSNp.js} +0 -0
  382. /package/dist/public/assets/{min-CgRbfTQR.js → min-CBraMkpZ.js} +0 -0
  383. /package/dist/public/assets/{overlay-layers-C1Y78Wu8.js → overlay-layers-Bj-TVfKw.js} +0 -0
  384. /package/dist/public/assets/{panzoom.es-CebiCTnw.js → panzoom.es-BhMZeZS9.js} +0 -0
  385. /package/dist/public/assets/{path-DNVjzh9n.js → path-BGDYi27x.js} +0 -0
  386. /package/dist/public/assets/{pdf-19dxfod4.js → pdf-Ci13cEXv.js} +0 -0
  387. /package/dist/public/assets/{pdf.worker-Cn0IyjYR.js → pdf.worker-BKD7j1GI.js} +0 -0
  388. /package/dist/public/assets/{perl-DAC-0-L4.js → perl-9sQD1ONc.js} +0 -0
  389. /package/dist/public/assets/{properties-BuEq0L0N.js → properties-Dk4BoPWH.js} +0 -0
  390. /package/dist/public/assets/{r-D6J_8GbJ.js → r-DMqeVtjM.js} +0 -0
  391. /package/dist/public/assets/{rough.esm-hH2VdTtm.js → rough.esm-CG7OK5U-.js} +0 -0
  392. /package/dist/public/assets/{ruby-BulDdqGQ.js → ruby-BkRqAhss.js} +0 -0
  393. /package/dist/public/assets/{share-metadata-rows-CBd7DuHz.js → share-metadata-rows-CgcTV7I9.js} +0 -0
  394. /package/dist/public/assets/{shell-FYbPjPiK.js → shell-CSBOlfer.js} +0 -0
  395. /package/dist/public/assets/{sql-BTcd-g6A.js → sql-B5-oXtdx.js} +0 -0
  396. /package/dist/public/assets/{src-D2oHIihg.js → src-DBcH25v-.js} +0 -0
  397. /package/dist/public/assets/{swift-CnW5XUwC.js → swift-DTTPugfl.js} +0 -0
  398. /package/dist/public/assets/{terminal-command-events-mSM3ArSl.js → terminal-command-events-D_n9eCmK.js} +0 -0
  399. /package/dist/public/assets/{thread-draft-staging-BZaq81Sj.js → thread-draft-staging-Dcj4CoIB.js} +0 -0
  400. /package/dist/public/assets/{toml-vEnVjPi4.js → toml-DHoKtycO.js} +0 -0
  401. /package/dist/public/assets/{trace-api-DH580DYm.js → trace-api-BWijHVTo.js} +0 -0
  402. /package/dist/public/assets/{useLintConfigViewMode-C89oTBHY.js → useLintConfigViewMode--ngaRTOB.js} +0 -0
  403. /package/dist/public/assets/{w3c-keyname-hgmz1BF7.js → w3c-keyname-g0wFlLmq.js} +0 -0
@@ -1 +1 @@
1
- import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{t as n}from"./react-f2sANaYj.js";import{t as r}from"./react-dom-DPxgxlDT.js";import{a as i}from"./dist-DUWYPul7.js";import{a,c as o,l as s,t as c}from"./dist-Bi80hc1t.js";import{t as l}from"./dist-CR6aO28t.js";import{a as u,c as d,d as f,i as p,l as m,o as h,r as ee,t as g,u as _}from"./floating-ui.dom-C0wusa09.js";var v=e(n(),1),te=e(r(),1),y=typeof document<`u`?v.useLayoutEffect:function(){};function b(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!b(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!b(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function x(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function S(e,t){let n=x(e);return Math.round(t*n)/n}function C(e){let t=v.useRef(e);return y(()=>{t.current=e}),t}function w(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=v.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,m]=v.useState(r);b(f,r)||m(r);let[h,ee]=v.useState(null),[g,_]=v.useState(null),w=v.useCallback(e=>{e!==O.current&&(O.current=e,ee(e))},[]),T=v.useCallback(e=>{e!==k.current&&(k.current=e,_(e))},[]),E=a||h,D=o||g,O=v.useRef(null),k=v.useRef(null),A=v.useRef(u),j=c!=null,M=C(c),N=C(i),P=C(l),F=v.useCallback(()=>{if(!O.current||!k.current)return;let e={placement:t,strategy:n,middleware:f};N.current&&(e.platform=N.current),p(O.current,k.current,e).then(e=>{let t={...e,isPositioned:P.current!==!1};I.current&&!b(A.current,t)&&(A.current=t,te.flushSync(()=>{d(t)}))})},[f,t,n,N,P]);y(()=>{l===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let I=v.useRef(!1);y(()=>(I.current=!0,()=>{I.current=!1}),[]),y(()=>{if(E&&(O.current=E),D&&(k.current=D),E&&D){if(M.current)return M.current(E,D,F);F()}},[E,D,F,M,j]);let L=v.useMemo(()=>({reference:O,floating:k,setReference:w,setFloating:T}),[w,T]),R=v.useMemo(()=>({reference:E,floating:D}),[E,D]),z=v.useMemo(()=>{let e={position:n,left:0,top:0};if(!R.floating)return e;let t=S(R.floating,u.x),r=S(R.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...x(R.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,R.floating,u.x,u.y]);return v.useMemo(()=>({...u,update:F,refs:L,elements:R,floatingStyles:z}),[u,F,L,R,z])}var T=e=>{function t(e){return{}.hasOwnProperty.call(e,`current`)}return{name:`arrow`,options:e,fn(n){let{element:r,padding:i}=typeof e==`function`?e(n):e;return r&&t(r)?r.current==null?{}:g({element:r.current,padding:i}).fn(n):r?g({element:r,padding:i}).fn(n):{}}}},E=(e,t)=>{let n=m(e);return{name:n.name,fn:n.fn,options:[e,t]}},D=(e,t)=>{let n=_(e);return{name:n.name,fn:n.fn,options:[e,t]}},O=(e,t)=>({fn:d(e).fn,options:[e,t]}),k=(e,t)=>{let n=u(e);return{name:n.name,fn:n.fn,options:[e,t]}},A=(e,t)=>{let n=f(e);return{name:n.name,fn:n.fn,options:[e,t]}},j=(e,t)=>{let n=h(e);return{name:n.name,fn:n.fn,options:[e,t]}},M=(e,t)=>{let n=T(e);return{name:n.name,fn:n.fn,options:[e,t]}},N=t(),P=`Arrow`,F=v.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...a}=e;return(0,N.jsx)(s.svg,{...a,ref:t,width:r,height:i,viewBox:`0 0 30 10`,preserveAspectRatio:`none`,children:e.asChild?n:(0,N.jsx)(`polygon`,{points:`0,0 30,0 15,10`})})});F.displayName=P;var I=F,L=`Popper`,[R,z]=o(L),[ne,re]=R(L),B=e=>{let{__scopePopper:t,children:n}=e,[r,i]=v.useState(null),[a,o]=v.useState(void 0);return(0,N.jsx)(ne,{scope:t,anchor:r,onAnchorChange:i,placementState:a,setPlacementState:o,children:n})};B.displayName=L;var V=`PopperAnchor`,H=v.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...a}=e,o=re(V,n),c=v.useRef(null),l=o.onAnchorChange,u=i(t,v.useCallback(e=>{c.current=e,e&&l(e)},[l])),d=v.useRef(null);v.useEffect(()=>{if(!r)return;let e=d.current;d.current=r.current,e!==d.current&&l(d.current)});let f=o.placementState&&Y(o.placementState),p=f?.[0],m=f?.[1];return r?null:(0,N.jsx)(s.div,{"data-radix-popper-side":p,"data-radix-popper-align":m,...a,ref:u})});H.displayName=V;var U=`PopperContent`,[ie,W]=R(U),G=v.forwardRef((e,t)=>{let{__scopePopper:n,side:r=`bottom`,sideOffset:o=0,align:u=`center`,alignOffset:d=0,arrowPadding:f=0,avoidCollisions:p=!0,collisionBoundary:m=[],collisionPadding:h=0,sticky:g=`partial`,hideWhenDetached:_=!1,updatePositionStrategy:te=`optimized`,onPlaced:y,...b}=e,x=re(U,n),[S,C]=v.useState(null),T=i(t,e=>C(e)),[P,F]=v.useState(null),I=l(P),L=I?.width??0,R=I?.height??0,z=r+(u===`center`?``:`-`+u),ne=typeof h==`number`?h:{top:0,right:0,bottom:0,left:0,...h},B=Array.isArray(m)?m:[m],V=B.length>0,H={padding:ne,boundary:B.filter(ae),altBoundary:V},{refs:W,floatingStyles:G,placement:K,isPositioned:q,middlewareData:J}=w({strategy:`fixed`,placement:z,whileElementsMounted:(...e)=>ee(...e,{animationFrame:te===`always`}),elements:{reference:x.anchor},middleware:[E({mainAxis:o+R,alignmentAxis:d}),p&&D({mainAxis:!0,crossAxis:!1,limiter:g===`partial`?O():void 0,...H}),p&&k({...H}),A({...H,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)}}),P&&M({element:P,padding:f}),oe({arrowWidth:L,arrowHeight:R}),_&&j({strategy:`referenceHidden`,...H,boundary:V?H.boundary:void 0})]}),X=x.setPlacementState;a(()=>(X(K),()=>{X(void 0)}),[K,X]);let[Z,Q]=Y(K),$=c(y);a(()=>{q&&$?.()},[q,$]);let se=J.arrow?.x,ce=J.arrow?.y,le=J.arrow?.centerOffset!==0,[ue,de]=v.useState();return a(()=>{S&&de(window.getComputedStyle(S).zIndex)},[S]),(0,N.jsx)(`div`,{ref:W.setFloating,"data-radix-popper-content-wrapper":``,style:{...G,transform:q?G.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:ue,"--radix-popper-transform-origin":[J.transformOrigin?.x,J.transformOrigin?.y].join(` `),...J.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:e.dir,children:(0,N.jsx)(ie,{scope:n,placedSide:Z,placedAlign:Q,onArrowChange:F,arrowX:se,arrowY:ce,shouldHideArrow:le,children:(0,N.jsx)(s.div,{"data-side":Z,"data-align":Q,...b,ref:T,style:{...b.style,animation:q?void 0:`none`}})})})});G.displayName=U;var K=`PopperArrow`,q={top:`bottom`,right:`left`,bottom:`top`,left:`right`},J=v.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=W(K,n),a=q[i.placedSide];return(0,N.jsx)(`span`,{ref:i.onArrowChange,style:{position:`absolute`,left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[i.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[i.placedSide],visibility:i.shouldHideArrow?`hidden`:void 0},children:(0,N.jsx)(I,{...r,ref:t,style:{...r.style,display:`block`}})})});J.displayName=K;function ae(e){return e!==null}var oe=e=>({name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=Y(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}});function Y(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var X=B,Z=H,Q=G,$=J;export{z as a,X as i,$ as n,Q as r,Z as t};
1
+ import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{t as n}from"./react-f2sANaYj.js";import{t as r}from"./react-dom-DPxgxlDT.js";import{a as i}from"./dist-mv8e6dBX.js";import{a,c as o,l as s,t as c}from"./dist-DsLZcVyZ.js";import{t as l}from"./dist-DX6BuR0m.js";import{a as u,c as d,d as f,i as p,l as m,o as h,r as ee,t as g,u as _}from"./floating-ui.dom-By-yeALv.js";var v=e(n(),1),te=e(r(),1),y=typeof document<`u`?v.useLayoutEffect:function(){};function b(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!b(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!b(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function x(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function S(e,t){let n=x(e);return Math.round(t*n)/n}function C(e){let t=v.useRef(e);return y(()=>{t.current=e}),t}function w(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=v.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,m]=v.useState(r);b(f,r)||m(r);let[h,ee]=v.useState(null),[g,_]=v.useState(null),w=v.useCallback(e=>{e!==O.current&&(O.current=e,ee(e))},[]),T=v.useCallback(e=>{e!==k.current&&(k.current=e,_(e))},[]),E=a||h,D=o||g,O=v.useRef(null),k=v.useRef(null),A=v.useRef(u),j=c!=null,M=C(c),N=C(i),P=C(l),F=v.useCallback(()=>{if(!O.current||!k.current)return;let e={placement:t,strategy:n,middleware:f};N.current&&(e.platform=N.current),p(O.current,k.current,e).then(e=>{let t={...e,isPositioned:P.current!==!1};I.current&&!b(A.current,t)&&(A.current=t,te.flushSync(()=>{d(t)}))})},[f,t,n,N,P]);y(()=>{l===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let I=v.useRef(!1);y(()=>(I.current=!0,()=>{I.current=!1}),[]),y(()=>{if(E&&(O.current=E),D&&(k.current=D),E&&D){if(M.current)return M.current(E,D,F);F()}},[E,D,F,M,j]);let L=v.useMemo(()=>({reference:O,floating:k,setReference:w,setFloating:T}),[w,T]),R=v.useMemo(()=>({reference:E,floating:D}),[E,D]),z=v.useMemo(()=>{let e={position:n,left:0,top:0};if(!R.floating)return e;let t=S(R.floating,u.x),r=S(R.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...x(R.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,R.floating,u.x,u.y]);return v.useMemo(()=>({...u,update:F,refs:L,elements:R,floatingStyles:z}),[u,F,L,R,z])}var T=e=>{function t(e){return{}.hasOwnProperty.call(e,`current`)}return{name:`arrow`,options:e,fn(n){let{element:r,padding:i}=typeof e==`function`?e(n):e;return r&&t(r)?r.current==null?{}:g({element:r.current,padding:i}).fn(n):r?g({element:r,padding:i}).fn(n):{}}}},E=(e,t)=>{let n=m(e);return{name:n.name,fn:n.fn,options:[e,t]}},D=(e,t)=>{let n=_(e);return{name:n.name,fn:n.fn,options:[e,t]}},O=(e,t)=>({fn:d(e).fn,options:[e,t]}),k=(e,t)=>{let n=u(e);return{name:n.name,fn:n.fn,options:[e,t]}},A=(e,t)=>{let n=f(e);return{name:n.name,fn:n.fn,options:[e,t]}},j=(e,t)=>{let n=h(e);return{name:n.name,fn:n.fn,options:[e,t]}},M=(e,t)=>{let n=T(e);return{name:n.name,fn:n.fn,options:[e,t]}},N=t(),P=`Arrow`,F=v.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...a}=e;return(0,N.jsx)(s.svg,{...a,ref:t,width:r,height:i,viewBox:`0 0 30 10`,preserveAspectRatio:`none`,children:e.asChild?n:(0,N.jsx)(`polygon`,{points:`0,0 30,0 15,10`})})});F.displayName=P;var I=F,L=`Popper`,[R,z]=o(L),[ne,re]=R(L),B=e=>{let{__scopePopper:t,children:n}=e,[r,i]=v.useState(null),[a,o]=v.useState(void 0);return(0,N.jsx)(ne,{scope:t,anchor:r,onAnchorChange:i,placementState:a,setPlacementState:o,children:n})};B.displayName=L;var V=`PopperAnchor`,H=v.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...a}=e,o=re(V,n),c=v.useRef(null),l=o.onAnchorChange,u=i(t,v.useCallback(e=>{c.current=e,e&&l(e)},[l])),d=v.useRef(null);v.useEffect(()=>{if(!r)return;let e=d.current;d.current=r.current,e!==d.current&&l(d.current)});let f=o.placementState&&Y(o.placementState),p=f?.[0],m=f?.[1];return r?null:(0,N.jsx)(s.div,{"data-radix-popper-side":p,"data-radix-popper-align":m,...a,ref:u})});H.displayName=V;var U=`PopperContent`,[ie,W]=R(U),G=v.forwardRef((e,t)=>{let{__scopePopper:n,side:r=`bottom`,sideOffset:o=0,align:u=`center`,alignOffset:d=0,arrowPadding:f=0,avoidCollisions:p=!0,collisionBoundary:m=[],collisionPadding:h=0,sticky:g=`partial`,hideWhenDetached:_=!1,updatePositionStrategy:te=`optimized`,onPlaced:y,...b}=e,x=re(U,n),[S,C]=v.useState(null),T=i(t,e=>C(e)),[P,F]=v.useState(null),I=l(P),L=I?.width??0,R=I?.height??0,z=r+(u===`center`?``:`-`+u),ne=typeof h==`number`?h:{top:0,right:0,bottom:0,left:0,...h},B=Array.isArray(m)?m:[m],V=B.length>0,H={padding:ne,boundary:B.filter(ae),altBoundary:V},{refs:W,floatingStyles:G,placement:K,isPositioned:q,middlewareData:J}=w({strategy:`fixed`,placement:z,whileElementsMounted:(...e)=>ee(...e,{animationFrame:te===`always`}),elements:{reference:x.anchor},middleware:[E({mainAxis:o+R,alignmentAxis:d}),p&&D({mainAxis:!0,crossAxis:!1,limiter:g===`partial`?O():void 0,...H}),p&&k({...H}),A({...H,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)}}),P&&M({element:P,padding:f}),oe({arrowWidth:L,arrowHeight:R}),_&&j({strategy:`referenceHidden`,...H,boundary:V?H.boundary:void 0})]}),X=x.setPlacementState;a(()=>(X(K),()=>{X(void 0)}),[K,X]);let[Z,Q]=Y(K),$=c(y);a(()=>{q&&$?.()},[q,$]);let se=J.arrow?.x,ce=J.arrow?.y,le=J.arrow?.centerOffset!==0,[ue,de]=v.useState();return a(()=>{S&&de(window.getComputedStyle(S).zIndex)},[S]),(0,N.jsx)(`div`,{ref:W.setFloating,"data-radix-popper-content-wrapper":``,style:{...G,transform:q?G.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:ue,"--radix-popper-transform-origin":[J.transformOrigin?.x,J.transformOrigin?.y].join(` `),...J.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:e.dir,children:(0,N.jsx)(ie,{scope:n,placedSide:Z,placedAlign:Q,onArrowChange:F,arrowX:se,arrowY:ce,shouldHideArrow:le,children:(0,N.jsx)(s.div,{"data-side":Z,"data-align":Q,...b,ref:T,style:{...b.style,animation:q?void 0:`none`}})})})});G.displayName=U;var K=`PopperArrow`,q={top:`bottom`,right:`left`,bottom:`top`,left:`right`},J=v.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=W(K,n),a=q[i.placedSide];return(0,N.jsx)(`span`,{ref:i.onArrowChange,style:{position:`absolute`,left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[i.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[i.placedSide],visibility:i.shouldHideArrow?`hidden`:void 0},children:(0,N.jsx)(I,{...r,ref:t,style:{...r.style,display:`block`}})})});J.displayName=K;function ae(e){return e!==null}var oe=e=>({name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=Y(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}});function Y(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var X=B,Z=H,Q=G,$=J;export{z as a,X as i,$ as n,Q as r,Z as t};
@@ -1 +1 @@
1
- import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{t as n}from"./react-f2sANaYj.js";import{t as r}from"./react-dom-DPxgxlDT.js";import{n as i}from"./dist-DUWYPul7.js";var a=e(n(),1),o=e(r(),1),s=t(),c=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=i(`Primitive.${t}`),r=a.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,s.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function l(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}function u(e,t){let n=a.createContext(t);n.displayName=e+`Context`;let r=e=>{let{children:t,...r}=e,i=a.useMemo(()=>r,Object.values(r));return(0,s.jsx)(n.Provider,{value:i,children:t})};r.displayName=e+`Provider`;function i(r){let i=a.useContext(n);if(i)return i;if(t!==void 0)return t;throw Error(`\`${r}\` must be used within \`${e}\``)}return[r,i]}function d(e,t=[]){let n=[];function r(t,r){let i=a.createContext(r);i.displayName=t+`Context`;let o=n.length;n=[...n,r];let c=t=>{let{scope:n,children:r,...c}=t,l=n?.[e]?.[o]||i,u=a.useMemo(()=>c,Object.values(c));return(0,s.jsx)(l.Provider,{value:u,children:r})};c.displayName=t+`Provider`;function l(n,s){let c=s?.[e]?.[o]||i,l=a.useContext(c);if(l)return l;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[c,l]}let i=()=>{let t=n.map(e=>a.createContext(e));return function(n){let r=n?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,f(i,...t)]}function f(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}typeof window<`u`&&window.document&&window.document.createElement;function p(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}var m=globalThis?.document?a.useLayoutEffect:()=>{},h=a.useInsertionEffect||m;function g({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,o,s]=_({defaultProp:t,onChange:n}),c=e!==void 0,l=c?e:i;{let t=a.useRef(e!==void 0);a.useEffect(()=>{let e=t.current;e!==c&&console.warn(`${r} is changing from ${e?`controlled`:`uncontrolled`} to ${c?`controlled`:`uncontrolled`}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),t.current=c},[c,r])}return[l,a.useCallback(t=>{if(c){let n=v(t)?t(e):t;n!==e&&s.current?.(n)}else o(t)},[c,e,o,s])]}function _({defaultProp:e,onChange:t}){let[n,r]=a.useState(e),i=a.useRef(n),o=a.useRef(t);return h(()=>{o.current=t},[t]),a.useEffect(()=>{i.current!==n&&(o.current?.(n),i.current=n)},[n,i]),[n,r,o]}function v(e){return typeof e==`function`}function y(e,t){return a.useReducer((e,n)=>t[e][n]??e,e)}var b=e=>{let{present:t,children:n}=e,r=x(t),i=typeof n==`function`?n({present:r.isPresent}):a.Children.only(n),o=C(r.ref,T(i));return typeof n==`function`||r.isPresent?a.cloneElement(i,{ref:o}):null};b.displayName=`Presence`;function x(e){let[t,n]=a.useState(),r=a.useRef(null),i=a.useRef(e),o=a.useRef(`none`),[s,c]=y(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return a.useEffect(()=>{let e=w(r.current);o.current=s===`mounted`?e:`none`},[s]),m(()=>{let t=r.current,n=i.current;if(n!==e){let r=o.current,a=w(t);e?c(`MOUNT`):a===`none`||t?.display===`none`?c(`UNMOUNT`):c(n&&r!==a?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,c]),m(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,a=a=>{let o=w(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(c(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},s=e=>{e.target===t&&(o.current=w(r.current))};return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,a),t.addEventListener(`animationend`,a),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,a),t.removeEventListener(`animationend`,a)}}else c(`ANIMATION_END`)},[t,c]),{isPresent:[`mounted`,`unmountSuspended`].includes(s),ref:a.useCallback(e=>{r.current=e?getComputedStyle(e):null,n(e)},[])}}function S(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function C(...e){let t=a.useRef(e);return t.current=e,a.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=S(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():S(n[e],null)}}},[])}function w(e){return e?.animationName||`none`}function T(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var E=a.useId||(()=>void 0),D=0;function O(e){let[t,n]=a.useState(E());return m(()=>{e||n(e=>e??String(D++))},[e]),e||(t?`radix-${t}`:``)}function k(e){let t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>((...e)=>t.current?.(...e)),[])}export{m as a,d as c,g as i,c as l,O as n,p as o,b as r,u as s,k as t,l as u};
1
+ import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{t as n}from"./react-f2sANaYj.js";import{t as r}from"./react-dom-DPxgxlDT.js";import{n as i}from"./dist-mv8e6dBX.js";var a=e(n(),1),o=e(r(),1),s=t(),c=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=i(`Primitive.${t}`),r=a.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,s.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function l(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}function u(e,t){let n=a.createContext(t);n.displayName=e+`Context`;let r=e=>{let{children:t,...r}=e,i=a.useMemo(()=>r,Object.values(r));return(0,s.jsx)(n.Provider,{value:i,children:t})};r.displayName=e+`Provider`;function i(r){let i=a.useContext(n);if(i)return i;if(t!==void 0)return t;throw Error(`\`${r}\` must be used within \`${e}\``)}return[r,i]}function d(e,t=[]){let n=[];function r(t,r){let i=a.createContext(r);i.displayName=t+`Context`;let o=n.length;n=[...n,r];let c=t=>{let{scope:n,children:r,...c}=t,l=n?.[e]?.[o]||i,u=a.useMemo(()=>c,Object.values(c));return(0,s.jsx)(l.Provider,{value:u,children:r})};c.displayName=t+`Provider`;function l(n,s){let c=s?.[e]?.[o]||i,l=a.useContext(c);if(l)return l;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}return[c,l]}let i=()=>{let t=n.map(e=>a.createContext(e));return function(n){let r=n?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return i.scopeName=e,[r,f(i,...t)]}function f(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}typeof window<`u`&&window.document&&window.document.createElement;function p(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}var m=globalThis?.document?a.useLayoutEffect:()=>{},h=a.useInsertionEffect||m;function g({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,o,s]=_({defaultProp:t,onChange:n}),c=e!==void 0,l=c?e:i;{let t=a.useRef(e!==void 0);a.useEffect(()=>{let e=t.current;e!==c&&console.warn(`${r} is changing from ${e?`controlled`:`uncontrolled`} to ${c?`controlled`:`uncontrolled`}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),t.current=c},[c,r])}return[l,a.useCallback(t=>{if(c){let n=v(t)?t(e):t;n!==e&&s.current?.(n)}else o(t)},[c,e,o,s])]}function _({defaultProp:e,onChange:t}){let[n,r]=a.useState(e),i=a.useRef(n),o=a.useRef(t);return h(()=>{o.current=t},[t]),a.useEffect(()=>{i.current!==n&&(o.current?.(n),i.current=n)},[n,i]),[n,r,o]}function v(e){return typeof e==`function`}function y(e,t){return a.useReducer((e,n)=>t[e][n]??e,e)}var b=e=>{let{present:t,children:n}=e,r=x(t),i=typeof n==`function`?n({present:r.isPresent}):a.Children.only(n),o=C(r.ref,T(i));return typeof n==`function`||r.isPresent?a.cloneElement(i,{ref:o}):null};b.displayName=`Presence`;function x(e){let[t,n]=a.useState(),r=a.useRef(null),i=a.useRef(e),o=a.useRef(`none`),[s,c]=y(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return a.useEffect(()=>{let e=w(r.current);o.current=s===`mounted`?e:`none`},[s]),m(()=>{let t=r.current,n=i.current;if(n!==e){let r=o.current,a=w(t);e?c(`MOUNT`):a===`none`||t?.display===`none`?c(`UNMOUNT`):c(n&&r!==a?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,c]),m(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,a=a=>{let o=w(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(c(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},s=e=>{e.target===t&&(o.current=w(r.current))};return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,a),t.addEventListener(`animationend`,a),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,a),t.removeEventListener(`animationend`,a)}}else c(`ANIMATION_END`)},[t,c]),{isPresent:[`mounted`,`unmountSuspended`].includes(s),ref:a.useCallback(e=>{r.current=e?getComputedStyle(e):null,n(e)},[])}}function S(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function C(...e){let t=a.useRef(e);return t.current=e,a.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=S(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():S(n[e],null)}}},[])}function w(e){return e?.animationName||`none`}function T(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var E=a.useId||(()=>void 0),D=0;function O(e){let[t,n]=a.useState(E());return m(()=>{e||n(e=>e??String(D++))},[e]),e||(t?`radix-${t}`:``)}function k(e){let t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>((...e)=>t.current?.(...e)),[])}export{m as a,d as c,g as i,c as l,O as n,p as o,b as r,u as s,k as t,l as u};
@@ -1 +1 @@
1
- import{r as e}from"./chunk-CYidjpOJ.js";import{Dt as t,L as n,P as r,R as i,T as a,X as o,b as s,o as c,q as l,r as ee,u as te}from"./dist-B0Beym3_.js";import{n as u,r as ne,t as re}from"./dist-DRg5A_HQ.js";import{n as d,t as ie}from"./dist-DrCK4JBL.js";import{a as ae,i as oe,n as se,o as ce,r as f}from"./dist-DuPjpj5-.js";var le=55,ue=1,de=56,fe=2,pe=57,me=3,p=4,he=5,m=6,ge=7,h=8,g=9,_=10,_e=11,ve=12,ye=13,v=58,be=14,xe=15,y=59,b=21,Se=23,x=24,Ce=25,S=27,C=28,we=29,Te=32,Ee=35,De=37,Oe=38,ke=0,Ae=1,je={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},Me={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},w={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function Ne(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}var T=null,E=null,D=0;function O(e,t){let n=e.pos+t;if(D==n&&E==e)return T;let r=e.peek(t),i=``;for(;Ne(r);)i+=String.fromCharCode(r),r=e.peek(++t);return E=e,D=n,T=i?i.toLowerCase():r==Pe||r==Fe?void 0:null}var k=60,A=62,j=47,Pe=63,Fe=33,Ie=45;function M(e,t){this.name=e,this.parent=t}var Le=[m,_,ge,h,g],Re=new re({start:null,shift(e,t,n,r){return Le.indexOf(t)>-1?new M(O(r,1)||``,e):e},reduce(e,t){return t==b&&e?e.parent:e},reuse(e,t,n,r){let i=t.type.id;return i==m||i==De?new M(O(r,1)||``,e):e},strict:!1}),ze=new u((e,t)=>{if(e.next!=k){e.next<0&&t.context&&e.acceptToken(v);return}e.advance();let n=e.next==j;n&&e.advance();let r=O(e,0);if(r===void 0)return;if(!r)return e.acceptToken(n?xe:be);let i=t.context?t.context.name:null;if(n){if(r==i)return e.acceptToken(_e);if(i&&Me[i])return e.acceptToken(v,-2);if(t.dialectEnabled(ke))return e.acceptToken(ve);for(let e=t.context;e;e=e.parent)if(e.name==r)return;e.acceptToken(ye)}else{if(r==`script`)return e.acceptToken(ge);if(r==`style`)return e.acceptToken(h);if(r==`textarea`)return e.acceptToken(g);if(je.hasOwnProperty(r))return e.acceptToken(_);i&&w[i]&&w[i][r]?e.acceptToken(v,-1):e.acceptToken(m)}},{contextual:!0}),Be=new u(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(y);break}if(e.next==Ie)t++;else if(e.next==A&&t>=2){n>=3&&e.acceptToken(y,-2);break}else t=0;e.advance()}});function Ve(e){for(;e;e=e.parent)if(e.name==`svg`||e.name==`math`)return!0;return!1}var He=new u((e,t)=>{if(e.next==j&&e.peek(1)==A){let n=t.dialectEnabled(Ae)||Ve(t.context);e.acceptToken(n?he:p,2)}else e.next==A&&e.acceptToken(p,1)});function N(e,t,n){let r=2+e.length;return new u(i=>{for(let a=0,o=0,s=0;;s++){if(i.next<0){s&&i.acceptToken(t);break}if(a==0&&i.next==k||a==1&&i.next==j||a>=2&&a<r&&i.next==e.charCodeAt(a-2))a++,o++;else if(a==r&&i.next==A){s>o?i.acceptToken(t,-o):i.acceptToken(n,-(o-2));break}else if((i.next==10||i.next==13)&&s){i.acceptToken(t,1);break}else a=o=0;i.advance()}})}var Ue=N(`script`,le,ue),We=N(`style`,de,fe),Ge=N(`textarea`,pe,me),Ke=n({"Text RawText IncompleteTag IncompleteCloseTag":i.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":i.angleBracket,TagName:i.tagName,"MismatchedCloseTag/TagName":[i.tagName,i.invalid],AttributeName:i.attributeName,"AttributeValue UnquotedAttributeValue":i.attributeValue,Is:i.definitionOperator,"EntityReference CharacterReference":i.character,Comment:i.blockComment,ProcessingInst:i.processingInstruction,DoctypeDecl:i.documentMeta}),qe=ne.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa'#D_'#D_O&_OaO'#CyO&jOaO,59]OOOb'#D`'#D`O&rObO'#C|O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!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~`,goto:"%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:`⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl`,maxTerm:68,context:Re,nodeProps:[[`closedBy`,-10,1,2,3,7,8,9,10,11,12,13,`EndTag`,6,`EndTag SelfClosingEndTag`,-4,22,31,34,37,`CloseTag`],[`openedBy`,4,`StartTag StartCloseTag`,5,`StartTag`,-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!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[Ue,We,Ge,He,ze,Be,0,1,2,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517});function P(e,t){let n=Object.create(null);for(let r of e.getChildren(x)){let e=r.getChild(Ce),i=r.getChild(S)||r.getChild(C);e&&(n[t.read(e.from,e.to)]=i?i.type.id==S?t.read(i.from+1,i.to-1):t.read(i.from,i.to):``)}return n}function F(e,t){let n=e.getChild(Se);return n?t.read(n.from,n.to):` `}function I(e,t,n){let r;for(let i of n)if(!i.attrs||i.attrs(r||=P(e.node.parent.firstChild,t)))return{parser:i.parser,bracketed:!0};return null}function Je(e=[],t=[]){let n=[],r=[],i=[],a=[];for(let t of e)(t.tag==`script`?n:t.tag==`style`?r:t.tag==`textarea`?i:a).push(t);let o=t.length?Object.create(null):null;for(let e of t)(o[e.name]||(o[e.name]=[])).push(e);return l((e,t)=>{let s=e.type.id;if(s==we)return I(e,t,n);if(s==Te)return I(e,t,r);if(s==Ee)return I(e,t,i);if(s==b&&a.length){let n=e.node,r=n.firstChild,i=r&&F(r,t),o;if(i){for(let e of a)if(e.tag==i&&(!e.attrs||e.attrs(o||=P(r,t)))){let t=n.lastChild,i=t.type.id==Oe?t.from:n.to;if(i>r.to)return{parser:e.parser,overlay:[{from:r.to,to:i}]}}}}if(o&&s==x){let n=e.node,r;if(r=n.firstChild){let e=o[t.read(r.from,r.to)];if(e)for(let r of e){if(r.tagName&&r.tagName!=F(n.parent,t))continue;let e=n.lastChild;if(e.type.id==S){let t=e.from+1,n=e.lastChild,i=e.to-(n&&n.isError?0:1);if(i>t)return{parser:r.parser,overlay:[{from:t,to:i}],bracketed:!0}}else if(e.type.id==C)return{parser:r.parser,overlay:[{from:e.from,to:e.to}]}}}}return null})}var Ye=e({autoCloseTags:()=>lt,html:()=>st,htmlCompletionSource:()=>tt,htmlCompletionSourceWith:()=>nt,htmlLanguage:()=>$}),L=[`_blank`,`_self`,`_top`,`_parent`],R=[`ascii`,`utf-8`,`utf-16`,`latin1`,`latin1`],z=[`get`,`post`,`put`,`delete`],B=[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],V=[`true`,`false`],H={},Xe={a:{attrs:{href:null,ping:null,type:null,media:null,target:L,hreflang:null}},abbr:H,address:H,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:[`default`,`rect`,`circle`,`poly`]}},article:H,aside:H,audio:{attrs:{src:null,mediagroup:null,crossorigin:[`anonymous`,`use-credentials`],preload:[`none`,`metadata`,`auto`],autoplay:[`autoplay`],loop:[`loop`],controls:[`controls`]}},b:H,base:{attrs:{href:null,target:L}},bdi:H,bdo:H,blockquote:{attrs:{cite:null}},body:H,br:H,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:[`autofocus`],disabled:[`autofocus`],formenctype:B,formmethod:z,formnovalidate:[`novalidate`],formtarget:L,type:[`submit`,`reset`,`button`]}},canvas:{attrs:{width:null,height:null}},caption:H,center:H,cite:H,code:H,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:[`command`,`checkbox`,`radio`],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:[`disabled`],checked:[`checked`]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:[`disabled`],multiple:[`multiple`]}},datalist:{attrs:{data:null}},dd:H,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:[`open`]}},dfn:H,div:H,dl:H,dt:H,em:H,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:[`disabled`],form:null,name:null}},figcaption:H,figure:H,footer:H,form:{attrs:{action:null,name:null,"accept-charset":R,autocomplete:[`on`,`off`],enctype:B,method:z,novalidate:[`novalidate`],target:L}},h1:H,h2:H,h3:H,h4:H,h5:H,h6:H,head:{children:[`title`,`base`,`link`,`style`,`meta`,`script`,`noscript`,`command`]},header:H,hgroup:H,hr:H,html:{attrs:{manifest:null}},i:H,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:[`allow-top-navigation`,`allow-same-origin`,`allow-forms`,`allow-scripts`],seamless:[`seamless`]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:[`anonymous`,`use-credentials`]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:[`audio/*`,`video/*`,`image/*`],autocomplete:[`on`,`off`],autofocus:[`autofocus`],checked:[`checked`],disabled:[`disabled`],formenctype:B,formmethod:z,formnovalidate:[`novalidate`],formtarget:L,multiple:[`multiple`],readonly:[`readonly`],required:[`required`],type:[`hidden`,`text`,`search`,`tel`,`url`,`email`,`password`,`datetime`,`date`,`month`,`week`,`time`,`datetime-local`,`number`,`range`,`color`,`checkbox`,`radio`,`file`,`submit`,`image`,`reset`,`button`]}},ins:{attrs:{cite:null,datetime:null}},kbd:H,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:[`autofocus`],disabled:[`disabled`],keytype:[`RSA`]}},label:{attrs:{for:null,form:null}},legend:H,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:[`all`,`16x16`,`16x16 32x32`,`16x16 32x32 64x64`]}},map:{attrs:{name:null}},mark:H,menu:{attrs:{label:null,type:[`list`,`context`,`toolbar`]}},meta:{attrs:{content:null,charset:R,name:[`viewport`,`application-name`,`author`,`description`,`generator`,`keywords`],"http-equiv":[`content-language`,`content-type`,`default-style`,`refresh`]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:H,noscript:H,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:[`typemustmatch`]}},ol:{attrs:{reversed:[`reversed`],start:null,type:[`1`,`a`,`A`,`i`,`I`]},children:[`li`,`script`,`template`,`ul`,`ol`]},optgroup:{attrs:{disabled:[`disabled`],label:null}},option:{attrs:{disabled:[`disabled`],label:null,selected:[`selected`],value:null}},output:{attrs:{for:null,form:null,name:null}},p:H,param:{attrs:{name:null,value:null}},pre:H,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:H,rt:H,ruby:H,samp:H,script:{attrs:{type:[`text/javascript`],src:null,async:[`async`],defer:[`defer`],charset:R}},section:H,select:{attrs:{form:null,name:null,size:null,autofocus:[`autofocus`],disabled:[`disabled`],multiple:[`multiple`]}},slot:{attrs:{name:null}},small:H,source:{attrs:{src:null,type:null,media:null}},span:H,strong:H,style:{attrs:{type:[`text/css`],media:null,scoped:null}},sub:H,summary:H,sup:H,table:H,tbody:H,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:H,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:[`autofocus`],disabled:[`disabled`],readonly:[`readonly`],required:[`required`],wrap:[`soft`,`hard`]}},tfoot:H,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:[`row`,`col`,`rowgroup`,`colgroup`]}},thead:H,time:{attrs:{datetime:null}},title:H,tr:H,track:{attrs:{src:null,label:null,default:null,kind:[`subtitles`,`captions`,`descriptions`,`chapters`,`metadata`],srclang:null}},ul:{children:[`li`,`script`,`template`,`ul`,`ol`]},var:H,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:[`anonymous`,`use-credentials`],preload:[`auto`,`metadata`,`none`],autoplay:[`autoplay`],mediagroup:[`movie`],muted:[`muted`],controls:[`controls`]}},wbr:H},U={accesskey:null,class:null,contenteditable:V,contextmenu:null,dir:[`ltr`,`rtl`,`auto`],draggable:[`true`,`false`,`auto`],dropzone:[`copy`,`move`,`link`,`string:`,`file:`],hidden:[`hidden`],id:null,inert:[`inert`],itemid:null,itemprop:null,itemref:null,itemscope:[`itemscope`],itemtype:null,lang:[`ar`,`bn`,`de`,`en-GB`,`en-US`,`es`,`fr`,`hi`,`id`,`ja`,`pa`,`pt`,`ru`,`tr`,`zh`],spellcheck:V,autocorrect:V,autocapitalize:V,style:null,tabindex:null,title:null,translate:[`yes`,`no`],rel:[`stylesheet`,`alternate`,`author`,`bookmark`,`help`,`license`,`next`,`nofollow`,`noreferrer`,`prefetch`,`prev`,`search`,`tag`],role:`alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer`.split(` `),"aria-activedescendant":null,"aria-atomic":V,"aria-autocomplete":[`inline`,`list`,`both`,`none`],"aria-busy":V,"aria-checked":[`true`,`false`,`mixed`,`undefined`],"aria-controls":null,"aria-describedby":null,"aria-disabled":V,"aria-dropeffect":null,"aria-expanded":[`true`,`false`,`undefined`],"aria-flowto":null,"aria-grabbed":[`true`,`false`,`undefined`],"aria-haspopup":V,"aria-hidden":V,"aria-invalid":[`true`,`false`,`grammar`,`spelling`],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":[`off`,`polite`,`assertive`],"aria-multiline":V,"aria-multiselectable":V,"aria-owns":null,"aria-posinset":null,"aria-pressed":[`true`,`false`,`mixed`,`undefined`],"aria-readonly":V,"aria-relevant":null,"aria-required":V,"aria-selected":[`true`,`false`,`undefined`],"aria-setsize":null,"aria-sort":[`ascending`,`descending`,`none`,`other`],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},W=`beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload`.split(` `).map(e=>`on`+e);for(let e of W)U[e]=null;var G=class{constructor(e,t){this.tags={...Xe,...e},this.globalAttrs={...U,...t},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}};G.default=new G;function K(e,t,n=e.length){if(!t)return``;let r=t.firstChild,i=r&&r.getChild(`TagName`);return i?e.sliceString(i.from,Math.min(i.to,n)):``}function q(e,t=!1){for(;e;e=e.parent)if(e.name==`Element`)if(t)t=!1;else return e;return null}function J(e,t,n){return n.tags[K(e,q(t))]?.children||n.allTags}function Y(e,t){let n=[];for(let r=q(t);r&&!r.type.isTop;r=q(r.parent)){let i=K(e,r);if(i&&r.lastChild.name==`CloseTag`)break;i&&n.indexOf(i)<0&&(t.name==`EndTag`||t.from>=r.firstChild.to)&&n.push(i)}return n}var X=/^[:\-\.\w\u00b7-\uffff]*$/;function Z(e,t,n,r,i){let a=/\s*>/.test(e.sliceDoc(i,i+5))?``:`>`,o=q(n,n.name==`StartTag`||n.name==`TagName`);return{from:r,to:i,options:J(e.doc,o,t).map(e=>({label:e,type:`type`})).concat(Y(e.doc,n).map((e,t)=>({label:`/`+e,apply:`/`+e+a,type:`type`,boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function Q(e,t,n,r){let i=/\s*>/.test(e.sliceDoc(r,r+5))?``:`>`;return{from:n,to:r,options:Y(e.doc,t).map((e,t)=>({label:e,apply:e+i,type:`type`,boost:99-t})),validFor:X}}function Ze(e,t,n,r){let i=[],a=0;for(let r of J(e.doc,n,t))i.push({label:`<`+r,type:`type`});for(let t of Y(e.doc,n))i.push({label:`</`+t+`>`,type:`type`,boost:99-a++});return{from:r,to:r,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function Qe(e,t,n,r,i){let a=q(n),o=a?t.tags[K(e.doc,a)]:null,s=o&&o.attrs?Object.keys(o.attrs):[];return{from:r,to:i,options:(o&&o.globalAttrs===!1?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames).map(e=>({label:e,type:`property`})),validFor:X}}function $e(e,t,n,r,i){let a=n.parent?.getChild(`AttributeName`),o=[],s;if(a){let c=e.sliceDoc(a.from,a.to),l=t.globalAttrs[c];if(!l){let r=q(n),i=r?t.tags[K(e.doc,r)]:null;l=i?.attrs&&i.attrs[c]}if(l){let t=e.sliceDoc(r,i).toLowerCase(),n=`"`,a=`"`;/^['"]/.test(t)?(s=t[0]==`"`?/^[^"]*$/:/^[^']*$/,n=``,a=e.sliceDoc(i,i+1)==t[0]?``:t[0],t=t.slice(1),r++):s=/^[^\s<>='"]*$/;for(let e of l)o.push({label:e,apply:n+e+a,type:`constant`})}}return{from:r,to:i,options:o,validFor:s}}function et(e,t){let{state:n,pos:i}=t,a=r(n).resolveInner(i,-1),o=a.resolve(i);for(let e=i,t;o==a&&(t=a.childBefore(e));){let n=t.lastChild;if(!n||!n.type.isError||n.from<n.to)break;o=a=t,e=n.from}return a.name==`TagName`?a.parent&&/CloseTag$/.test(a.parent.name)?Q(n,a,a.from,i):Z(n,e,a,a.from,i):a.name==`StartTag`||a.name==`IncompleteTag`?Z(n,e,a,i,i):a.name==`StartCloseTag`||a.name==`IncompleteCloseTag`?Q(n,a,i,i):a.name==`OpenTag`||a.name==`SelfClosingTag`||a.name==`AttributeName`?Qe(n,e,a,a.name==`AttributeName`?a.from:i,i):a.name==`Is`||a.name==`AttributeValue`||a.name==`UnquotedAttributeValue`?$e(n,e,a,a.name==`Is`?i:a.from,i):t.explicit&&(o.name==`Element`||o.name==`Text`||o.name==`Document`)?Ze(n,e,a,i):null}function tt(e){return et(G.default,e)}function nt(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new G(t,n):G.default;return e=>et(r,e)}var rt=f.parser.configure({top:`SingleExpression`}),it=[{tag:`script`,attrs:e=>e.type==`text/typescript`||e.lang==`ts`,parser:ce.parser},{tag:`script`,attrs:e=>e.type==`text/babel`||e.type==`text/jsx`,parser:oe.parser},{tag:`script`,attrs:e=>e.type==`text/typescript-jsx`,parser:ae.parser},{tag:`script`,attrs(e){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type)},parser:rt},{tag:`script`,attrs(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:f.parser},{tag:`style`,attrs(e){return(!e.lang||e.lang==`css`)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:d.parser}],at=[{name:`style`,parser:d.parser.configure({top:`Styles`})}].concat(W.map(e=>({name:e,parser:f.parser}))),ot=ee.define({name:`html`,parser:qe.configure({props:[a.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit},Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let t=null,n;for(let n=e.node;;){let e=n.lastChild;if(!e||e.name!=`Element`||e.to!=n.to)break;t=n=e}return t&&!((n=t.lastChild)&&(n.name==`CloseTag`||n.name==`SelfClosingTag`))?e.lineIndent(t.from)+e.unit:null}}),s.add({Element(e){let t=e.firstChild,n=e.lastChild;return!t||t.name!=`OpenTag`?null:{from:t.to,to:n.name==`CloseTag`?n.from:e.to}}}),te.add({"OpenTag CloseTag":e=>e.getChild(`TagName`)})]}),languageData:{commentTokens:{block:{open:`<!--`,close:`-->`}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:`-_`}}),$=ot.configure({wrap:Je(it,at)});function st(e={}){let t=``,n;return e.matchClosingTags===!1&&(t=`noMatch`),e.selfClosingTags===!0&&(t=(t?t+` `:``)+`selfClosing`),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(n=Je((e.nestedLanguages||[]).concat(it),(e.nestedAttributes||[]).concat(at))),new c(n?ot.configure({wrap:n,dialect:t}):t?$.configure({dialect:t}):$,[$.data.of({autocomplete:nt(e)}),e.autoCloseTags===!1?[]:lt,se().support,ie().support])}var ct=new Set(`area base br col command embed frame hr img input keygen link meta param source track wbr menuitem`.split(` `)),lt=o.inputHandler.of((e,n,i,a,o)=>{if(e.composing||e.state.readOnly||n!=i||a!=`>`&&a!=`/`||!$.isActiveAt(e.state,n,-1))return!1;let s=o(),{state:c}=s,l=c.changeByRange(e=>{let n=c.doc.sliceString(e.from-1,e.to)==a,{head:i}=e,o=r(c).resolveInner(i,-1),s;if(n&&a==`>`&&o.name==`EndTag`){let t=o.parent;if(t.parent?.lastChild?.name!=`CloseTag`&&(s=K(c.doc,t.parent,i))&&!ct.has(s))return{range:e,changes:{from:i,to:i+ +(c.doc.sliceString(i,i+1)===`>`),insert:`</${s}>`}}}else if(n&&a==`/`&&o.name==`IncompleteCloseTag`){let e=o.parent;if(o.from==i-2&&e.lastChild?.name!=`CloseTag`&&(s=K(c.doc,e,i))&&!ct.has(s)){let e=i+ +(c.doc.sliceString(i,i+1)===`>`),n=`${s}>`;return{range:t.cursor(i+n.length,-1),changes:{from:i,to:e,insert:n}}}}return{range:e}});return l.changes.empty?!1:(e.dispatch([s,c.update(l,{userEvent:`input.complete`,scrollIntoView:!0})]),!0)});export{st as n,tt as r,Ye as t};
1
+ import{r as e}from"./chunk-CYidjpOJ.js";import{Dt as t,L as n,P as r,R as i,T as a,X as o,b as s,o as c,q as l,r as ee,u as te}from"./dist-CJlTCFgz.js";import{n as u,r as ne,t as re}from"./dist-RCzd72OE.js";import{n as d,t as ie}from"./dist-CoDGIN0N.js";import{a as ae,i as oe,n as se,o as ce,r as f}from"./dist-SueN4kiT.js";var le=55,ue=1,de=56,fe=2,pe=57,me=3,p=4,he=5,m=6,ge=7,h=8,g=9,_=10,_e=11,ve=12,ye=13,v=58,be=14,xe=15,y=59,b=21,Se=23,x=24,Ce=25,S=27,C=28,we=29,Te=32,Ee=35,De=37,Oe=38,ke=0,Ae=1,je={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},Me={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},w={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function Ne(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}var T=null,E=null,D=0;function O(e,t){let n=e.pos+t;if(D==n&&E==e)return T;let r=e.peek(t),i=``;for(;Ne(r);)i+=String.fromCharCode(r),r=e.peek(++t);return E=e,D=n,T=i?i.toLowerCase():r==Pe||r==Fe?void 0:null}var k=60,A=62,j=47,Pe=63,Fe=33,Ie=45;function M(e,t){this.name=e,this.parent=t}var Le=[m,_,ge,h,g],Re=new re({start:null,shift(e,t,n,r){return Le.indexOf(t)>-1?new M(O(r,1)||``,e):e},reduce(e,t){return t==b&&e?e.parent:e},reuse(e,t,n,r){let i=t.type.id;return i==m||i==De?new M(O(r,1)||``,e):e},strict:!1}),ze=new u((e,t)=>{if(e.next!=k){e.next<0&&t.context&&e.acceptToken(v);return}e.advance();let n=e.next==j;n&&e.advance();let r=O(e,0);if(r===void 0)return;if(!r)return e.acceptToken(n?xe:be);let i=t.context?t.context.name:null;if(n){if(r==i)return e.acceptToken(_e);if(i&&Me[i])return e.acceptToken(v,-2);if(t.dialectEnabled(ke))return e.acceptToken(ve);for(let e=t.context;e;e=e.parent)if(e.name==r)return;e.acceptToken(ye)}else{if(r==`script`)return e.acceptToken(ge);if(r==`style`)return e.acceptToken(h);if(r==`textarea`)return e.acceptToken(g);if(je.hasOwnProperty(r))return e.acceptToken(_);i&&w[i]&&w[i][r]?e.acceptToken(v,-1):e.acceptToken(m)}},{contextual:!0}),Be=new u(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(y);break}if(e.next==Ie)t++;else if(e.next==A&&t>=2){n>=3&&e.acceptToken(y,-2);break}else t=0;e.advance()}});function Ve(e){for(;e;e=e.parent)if(e.name==`svg`||e.name==`math`)return!0;return!1}var He=new u((e,t)=>{if(e.next==j&&e.peek(1)==A){let n=t.dialectEnabled(Ae)||Ve(t.context);e.acceptToken(n?he:p,2)}else e.next==A&&e.acceptToken(p,1)});function N(e,t,n){let r=2+e.length;return new u(i=>{for(let a=0,o=0,s=0;;s++){if(i.next<0){s&&i.acceptToken(t);break}if(a==0&&i.next==k||a==1&&i.next==j||a>=2&&a<r&&i.next==e.charCodeAt(a-2))a++,o++;else if(a==r&&i.next==A){s>o?i.acceptToken(t,-o):i.acceptToken(n,-(o-2));break}else if((i.next==10||i.next==13)&&s){i.acceptToken(t,1);break}else a=o=0;i.advance()}})}var Ue=N(`script`,le,ue),We=N(`style`,de,fe),Ge=N(`textarea`,pe,me),Ke=n({"Text RawText IncompleteTag IncompleteCloseTag":i.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":i.angleBracket,TagName:i.tagName,"MismatchedCloseTag/TagName":[i.tagName,i.invalid],AttributeName:i.attributeName,"AttributeValue UnquotedAttributeValue":i.attributeValue,Is:i.definitionOperator,"EntityReference CharacterReference":i.character,Comment:i.blockComment,ProcessingInst:i.processingInstruction,DoctypeDecl:i.documentMeta}),qe=ne.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa'#D_'#D_O&_OaO'#CyO&jOaO,59]OOOb'#D`'#D`O&rObO'#C|O&}ObO,59]OOOd'#Da'#DaO'VOdO'#DPO'bOdO,59]OOO`'#Db'#DbO'jO!rO,59]O'qQ#tO'#DSOOO`,59],59]OOOp'#Dc'#DcO'vO$fO,59pOOO`,59p,59pO(OQ#|O,59rO(TQ#|O,59sOOO`-E7X-E7XO(YQ&rO'#CtOOQW'#D['#D[O(hQ&rO1G.xOOOa1G.x1G.xOOO`1G/Z1G/ZO(sQ&rO1G/ROOOb1G/R1G/RO)OQ&rO1G/UOOOd1G/U1G/UO)ZQ&rO1G/XOOO`1G/X1G/XO)fQ&rO1G/ZOOOa-E7]-E7]O)qQ#tO'#CzOOO`1G.w1G.wOOOb-E7^-E7^O)vQ#tO'#C}OOOd-E7_-E7_O){Q#tO'#DQOOO`-E7`-E7`O*QQ#|O,59nOOOp-E7a-E7aOOO`1G/[1G/[OOO`1G/^1G/^OOO`1G/_1G/_O*VQ,UO,59`OOQW-E7Y-E7YOOOa7+$d7+$dOOO`7+$u7+$uOOOb7+$m7+$m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XOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:`⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl`,maxTerm:68,context:Re,nodeProps:[[`closedBy`,-10,1,2,3,7,8,9,10,11,12,13,`EndTag`,6,`EndTag SelfClosingEndTag`,-4,22,31,34,37,`CloseTag`],[`openedBy`,4,`StartTag StartCloseTag`,5,`StartTag`,-4,30,33,36,38,`OpenTag`],[`group`,-10,14,15,18,19,20,21,40,41,42,43,`Entity`,17,`Entity TextContent`,-3,29,32,35,`TextContent Entity`],[`isolate`,-11,22,30,31,33,34,36,37,38,39,42,43,`ltr`,-3,27,28,40,``]],propSources:[Ke],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY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X",tokenizers:[Ue,We,Ge,He,ze,Be,0,1,2,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517});function P(e,t){let n=Object.create(null);for(let r of e.getChildren(x)){let e=r.getChild(Ce),i=r.getChild(S)||r.getChild(C);e&&(n[t.read(e.from,e.to)]=i?i.type.id==S?t.read(i.from+1,i.to-1):t.read(i.from,i.to):``)}return n}function F(e,t){let n=e.getChild(Se);return n?t.read(n.from,n.to):` `}function I(e,t,n){let r;for(let i of n)if(!i.attrs||i.attrs(r||=P(e.node.parent.firstChild,t)))return{parser:i.parser,bracketed:!0};return null}function Je(e=[],t=[]){let n=[],r=[],i=[],a=[];for(let t of e)(t.tag==`script`?n:t.tag==`style`?r:t.tag==`textarea`?i:a).push(t);let o=t.length?Object.create(null):null;for(let e of t)(o[e.name]||(o[e.name]=[])).push(e);return l((e,t)=>{let s=e.type.id;if(s==we)return I(e,t,n);if(s==Te)return I(e,t,r);if(s==Ee)return I(e,t,i);if(s==b&&a.length){let n=e.node,r=n.firstChild,i=r&&F(r,t),o;if(i){for(let e of a)if(e.tag==i&&(!e.attrs||e.attrs(o||=P(r,t)))){let t=n.lastChild,i=t.type.id==Oe?t.from:n.to;if(i>r.to)return{parser:e.parser,overlay:[{from:r.to,to:i}]}}}}if(o&&s==x){let n=e.node,r;if(r=n.firstChild){let e=o[t.read(r.from,r.to)];if(e)for(let r of e){if(r.tagName&&r.tagName!=F(n.parent,t))continue;let e=n.lastChild;if(e.type.id==S){let t=e.from+1,n=e.lastChild,i=e.to-(n&&n.isError?0:1);if(i>t)return{parser:r.parser,overlay:[{from:t,to:i}],bracketed:!0}}else if(e.type.id==C)return{parser:r.parser,overlay:[{from:e.from,to:e.to}]}}}}return null})}var Ye=e({autoCloseTags:()=>lt,html:()=>st,htmlCompletionSource:()=>tt,htmlCompletionSourceWith:()=>nt,htmlLanguage:()=>$}),L=[`_blank`,`_self`,`_top`,`_parent`],R=[`ascii`,`utf-8`,`utf-16`,`latin1`,`latin1`],z=[`get`,`post`,`put`,`delete`],B=[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],V=[`true`,`false`],H={},Xe={a:{attrs:{href:null,ping:null,type:null,media:null,target:L,hreflang:null}},abbr:H,address:H,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:[`default`,`rect`,`circle`,`poly`]}},article:H,aside:H,audio:{attrs:{src:null,mediagroup:null,crossorigin:[`anonymous`,`use-credentials`],preload:[`none`,`metadata`,`auto`],autoplay:[`autoplay`],loop:[`loop`],controls:[`controls`]}},b:H,base:{attrs:{href:null,target:L}},bdi:H,bdo:H,blockquote:{attrs:{cite:null}},body:H,br:H,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:[`autofocus`],disabled:[`autofocus`],formenctype:B,formmethod:z,formnovalidate:[`novalidate`],formtarget:L,type:[`submit`,`reset`,`button`]}},canvas:{attrs:{width:null,height:null}},caption:H,center:H,cite:H,code:H,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:[`command`,`checkbox`,`radio`],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:[`disabled`],checked:[`checked`]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:[`disabled`],multiple:[`multiple`]}},datalist:{attrs:{data:null}},dd:H,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:[`open`]}},dfn:H,div:H,dl:H,dt:H,em:H,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:[`disabled`],form:null,name:null}},figcaption:H,figure:H,footer:H,form:{attrs:{action:null,name:null,"accept-charset":R,autocomplete:[`on`,`off`],enctype:B,method:z,novalidate:[`novalidate`],target:L}},h1:H,h2:H,h3:H,h4:H,h5:H,h6:H,head:{children:[`title`,`base`,`link`,`style`,`meta`,`script`,`noscript`,`command`]},header:H,hgroup:H,hr:H,html:{attrs:{manifest:null}},i:H,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:[`allow-top-navigation`,`allow-same-origin`,`allow-forms`,`allow-scripts`],seamless:[`seamless`]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:[`anonymous`,`use-credentials`]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:[`audio/*`,`video/*`,`image/*`],autocomplete:[`on`,`off`],autofocus:[`autofocus`],checked:[`checked`],disabled:[`disabled`],formenctype:B,formmethod:z,formnovalidate:[`novalidate`],formtarget:L,multiple:[`multiple`],readonly:[`readonly`],required:[`required`],type:[`hidden`,`text`,`search`,`tel`,`url`,`email`,`password`,`datetime`,`date`,`month`,`week`,`time`,`datetime-local`,`number`,`range`,`color`,`checkbox`,`radio`,`file`,`submit`,`image`,`reset`,`button`]}},ins:{attrs:{cite:null,datetime:null}},kbd:H,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:[`autofocus`],disabled:[`disabled`],keytype:[`RSA`]}},label:{attrs:{for:null,form:null}},legend:H,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:[`all`,`16x16`,`16x16 32x32`,`16x16 32x32 64x64`]}},map:{attrs:{name:null}},mark:H,menu:{attrs:{label:null,type:[`list`,`context`,`toolbar`]}},meta:{attrs:{content:null,charset:R,name:[`viewport`,`application-name`,`author`,`description`,`generator`,`keywords`],"http-equiv":[`content-language`,`content-type`,`default-style`,`refresh`]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:H,noscript:H,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:[`typemustmatch`]}},ol:{attrs:{reversed:[`reversed`],start:null,type:[`1`,`a`,`A`,`i`,`I`]},children:[`li`,`script`,`template`,`ul`,`ol`]},optgroup:{attrs:{disabled:[`disabled`],label:null}},option:{attrs:{disabled:[`disabled`],label:null,selected:[`selected`],value:null}},output:{attrs:{for:null,form:null,name:null}},p:H,param:{attrs:{name:null,value:null}},pre:H,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:H,rt:H,ruby:H,samp:H,script:{attrs:{type:[`text/javascript`],src:null,async:[`async`],defer:[`defer`],charset:R}},section:H,select:{attrs:{form:null,name:null,size:null,autofocus:[`autofocus`],disabled:[`disabled`],multiple:[`multiple`]}},slot:{attrs:{name:null}},small:H,source:{attrs:{src:null,type:null,media:null}},span:H,strong:H,style:{attrs:{type:[`text/css`],media:null,scoped:null}},sub:H,summary:H,sup:H,table:H,tbody:H,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:H,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:[`autofocus`],disabled:[`disabled`],readonly:[`readonly`],required:[`required`],wrap:[`soft`,`hard`]}},tfoot:H,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:[`row`,`col`,`rowgroup`,`colgroup`]}},thead:H,time:{attrs:{datetime:null}},title:H,tr:H,track:{attrs:{src:null,label:null,default:null,kind:[`subtitles`,`captions`,`descriptions`,`chapters`,`metadata`],srclang:null}},ul:{children:[`li`,`script`,`template`,`ul`,`ol`]},var:H,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:[`anonymous`,`use-credentials`],preload:[`auto`,`metadata`,`none`],autoplay:[`autoplay`],mediagroup:[`movie`],muted:[`muted`],controls:[`controls`]}},wbr:H},U={accesskey:null,class:null,contenteditable:V,contextmenu:null,dir:[`ltr`,`rtl`,`auto`],draggable:[`true`,`false`,`auto`],dropzone:[`copy`,`move`,`link`,`string:`,`file:`],hidden:[`hidden`],id:null,inert:[`inert`],itemid:null,itemprop:null,itemref:null,itemscope:[`itemscope`],itemtype:null,lang:[`ar`,`bn`,`de`,`en-GB`,`en-US`,`es`,`fr`,`hi`,`id`,`ja`,`pa`,`pt`,`ru`,`tr`,`zh`],spellcheck:V,autocorrect:V,autocapitalize:V,style:null,tabindex:null,title:null,translate:[`yes`,`no`],rel:[`stylesheet`,`alternate`,`author`,`bookmark`,`help`,`license`,`next`,`nofollow`,`noreferrer`,`prefetch`,`prev`,`search`,`tag`],role:`alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer`.split(` `),"aria-activedescendant":null,"aria-atomic":V,"aria-autocomplete":[`inline`,`list`,`both`,`none`],"aria-busy":V,"aria-checked":[`true`,`false`,`mixed`,`undefined`],"aria-controls":null,"aria-describedby":null,"aria-disabled":V,"aria-dropeffect":null,"aria-expanded":[`true`,`false`,`undefined`],"aria-flowto":null,"aria-grabbed":[`true`,`false`,`undefined`],"aria-haspopup":V,"aria-hidden":V,"aria-invalid":[`true`,`false`,`grammar`,`spelling`],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":[`off`,`polite`,`assertive`],"aria-multiline":V,"aria-multiselectable":V,"aria-owns":null,"aria-posinset":null,"aria-pressed":[`true`,`false`,`mixed`,`undefined`],"aria-readonly":V,"aria-relevant":null,"aria-required":V,"aria-selected":[`true`,`false`,`undefined`],"aria-setsize":null,"aria-sort":[`ascending`,`descending`,`none`,`other`],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},W=`beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload`.split(` `).map(e=>`on`+e);for(let e of W)U[e]=null;var G=class{constructor(e,t){this.tags={...Xe,...e},this.globalAttrs={...U,...t},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}};G.default=new G;function K(e,t,n=e.length){if(!t)return``;let r=t.firstChild,i=r&&r.getChild(`TagName`);return i?e.sliceString(i.from,Math.min(i.to,n)):``}function q(e,t=!1){for(;e;e=e.parent)if(e.name==`Element`)if(t)t=!1;else return e;return null}function J(e,t,n){return n.tags[K(e,q(t))]?.children||n.allTags}function Y(e,t){let n=[];for(let r=q(t);r&&!r.type.isTop;r=q(r.parent)){let i=K(e,r);if(i&&r.lastChild.name==`CloseTag`)break;i&&n.indexOf(i)<0&&(t.name==`EndTag`||t.from>=r.firstChild.to)&&n.push(i)}return n}var X=/^[:\-\.\w\u00b7-\uffff]*$/;function Z(e,t,n,r,i){let a=/\s*>/.test(e.sliceDoc(i,i+5))?``:`>`,o=q(n,n.name==`StartTag`||n.name==`TagName`);return{from:r,to:i,options:J(e.doc,o,t).map(e=>({label:e,type:`type`})).concat(Y(e.doc,n).map((e,t)=>({label:`/`+e,apply:`/`+e+a,type:`type`,boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function Q(e,t,n,r){let i=/\s*>/.test(e.sliceDoc(r,r+5))?``:`>`;return{from:n,to:r,options:Y(e.doc,t).map((e,t)=>({label:e,apply:e+i,type:`type`,boost:99-t})),validFor:X}}function Ze(e,t,n,r){let i=[],a=0;for(let r of J(e.doc,n,t))i.push({label:`<`+r,type:`type`});for(let t of Y(e.doc,n))i.push({label:`</`+t+`>`,type:`type`,boost:99-a++});return{from:r,to:r,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function Qe(e,t,n,r,i){let a=q(n),o=a?t.tags[K(e.doc,a)]:null,s=o&&o.attrs?Object.keys(o.attrs):[];return{from:r,to:i,options:(o&&o.globalAttrs===!1?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames).map(e=>({label:e,type:`property`})),validFor:X}}function $e(e,t,n,r,i){let a=n.parent?.getChild(`AttributeName`),o=[],s;if(a){let c=e.sliceDoc(a.from,a.to),l=t.globalAttrs[c];if(!l){let r=q(n),i=r?t.tags[K(e.doc,r)]:null;l=i?.attrs&&i.attrs[c]}if(l){let t=e.sliceDoc(r,i).toLowerCase(),n=`"`,a=`"`;/^['"]/.test(t)?(s=t[0]==`"`?/^[^"]*$/:/^[^']*$/,n=``,a=e.sliceDoc(i,i+1)==t[0]?``:t[0],t=t.slice(1),r++):s=/^[^\s<>='"]*$/;for(let e of l)o.push({label:e,apply:n+e+a,type:`constant`})}}return{from:r,to:i,options:o,validFor:s}}function et(e,t){let{state:n,pos:i}=t,a=r(n).resolveInner(i,-1),o=a.resolve(i);for(let e=i,t;o==a&&(t=a.childBefore(e));){let n=t.lastChild;if(!n||!n.type.isError||n.from<n.to)break;o=a=t,e=n.from}return a.name==`TagName`?a.parent&&/CloseTag$/.test(a.parent.name)?Q(n,a,a.from,i):Z(n,e,a,a.from,i):a.name==`StartTag`||a.name==`IncompleteTag`?Z(n,e,a,i,i):a.name==`StartCloseTag`||a.name==`IncompleteCloseTag`?Q(n,a,i,i):a.name==`OpenTag`||a.name==`SelfClosingTag`||a.name==`AttributeName`?Qe(n,e,a,a.name==`AttributeName`?a.from:i,i):a.name==`Is`||a.name==`AttributeValue`||a.name==`UnquotedAttributeValue`?$e(n,e,a,a.name==`Is`?i:a.from,i):t.explicit&&(o.name==`Element`||o.name==`Text`||o.name==`Document`)?Ze(n,e,a,i):null}function tt(e){return et(G.default,e)}function nt(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new G(t,n):G.default;return e=>et(r,e)}var rt=f.parser.configure({top:`SingleExpression`}),it=[{tag:`script`,attrs:e=>e.type==`text/typescript`||e.lang==`ts`,parser:ce.parser},{tag:`script`,attrs:e=>e.type==`text/babel`||e.type==`text/jsx`,parser:oe.parser},{tag:`script`,attrs:e=>e.type==`text/typescript-jsx`,parser:ae.parser},{tag:`script`,attrs(e){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type)},parser:rt},{tag:`script`,attrs(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:f.parser},{tag:`style`,attrs(e){return(!e.lang||e.lang==`css`)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:d.parser}],at=[{name:`style`,parser:d.parser.configure({top:`Styles`})}].concat(W.map(e=>({name:e,parser:f.parser}))),ot=ee.define({name:`html`,parser:qe.configure({props:[a.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit},Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let t=null,n;for(let n=e.node;;){let e=n.lastChild;if(!e||e.name!=`Element`||e.to!=n.to)break;t=n=e}return t&&!((n=t.lastChild)&&(n.name==`CloseTag`||n.name==`SelfClosingTag`))?e.lineIndent(t.from)+e.unit:null}}),s.add({Element(e){let t=e.firstChild,n=e.lastChild;return!t||t.name!=`OpenTag`?null:{from:t.to,to:n.name==`CloseTag`?n.from:e.to}}}),te.add({"OpenTag CloseTag":e=>e.getChild(`TagName`)})]}),languageData:{commentTokens:{block:{open:`<!--`,close:`-->`}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:`-_`}}),$=ot.configure({wrap:Je(it,at)});function st(e={}){let t=``,n;return e.matchClosingTags===!1&&(t=`noMatch`),e.selfClosingTags===!0&&(t=(t?t+` `:``)+`selfClosing`),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(n=Je((e.nestedLanguages||[]).concat(it),(e.nestedAttributes||[]).concat(at))),new c(n?ot.configure({wrap:n,dialect:t}):t?$.configure({dialect:t}):$,[$.data.of({autocomplete:nt(e)}),e.autoCloseTags===!1?[]:lt,se().support,ie().support])}var ct=new Set(`area base br col command embed frame hr img input keygen link meta param source track wbr menuitem`.split(` `)),lt=o.inputHandler.of((e,n,i,a,o)=>{if(e.composing||e.state.readOnly||n!=i||a!=`>`&&a!=`/`||!$.isActiveAt(e.state,n,-1))return!1;let s=o(),{state:c}=s,l=c.changeByRange(e=>{let n=c.doc.sliceString(e.from-1,e.to)==a,{head:i}=e,o=r(c).resolveInner(i,-1),s;if(n&&a==`>`&&o.name==`EndTag`){let t=o.parent;if(t.parent?.lastChild?.name!=`CloseTag`&&(s=K(c.doc,t.parent,i))&&!ct.has(s))return{range:e,changes:{from:i,to:i+ +(c.doc.sliceString(i,i+1)===`>`),insert:`</${s}>`}}}else if(n&&a==`/`&&o.name==`IncompleteCloseTag`){let e=o.parent;if(o.from==i-2&&e.lastChild?.name!=`CloseTag`&&(s=K(c.doc,e,i))&&!ct.has(s)){let e=i+ +(c.doc.sliceString(i,i+1)===`>`),n=`${s}>`;return{range:t.cursor(i+n.length,-1),changes:{from:i,to:e,insert:n}}}}return{range:e}});return l.changes.empty?!1:(e.dispatch([s,c.update(l,{userEvent:`input.complete`,scrollIntoView:!0})]),!0)});export{st as n,tt as r,Ye as t};
@@ -1 +1 @@
1
- import{B as e,G as t,H as n,K as r,U as i,V as a,z as o}from"./dist-B0Beym3_.js";var s=class e{constructor(e,t,n,r,i,a,o,s,c,l=0,u){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=i,this.score=a,this.buffer=o,this.bufferBase=s,this.curContext=c,this.lookAhead=l,this.parent=u}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?`!`+this.score:``}`}static start(t,n,r=0){let i=t.parser.context;return new e(t,[],n,r,r,0,[],0,i?new c(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,n=e&65535,{parser:r}=this.p,i=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),a=r.dynamicPrecedence(n);if(a&&(this.score+=a),t==0){n<r.minRepeatTerm&&this.reducePos<this.pos&&(this.reducePos=this.pos),this.pushState(r.getGoto(this.state,n,!0),this.reducePos),n<r.minRepeatTerm&&this.storeNode(n,this.reducePos,this.reducePos,i?8:4,!0),this.reduceContext(n,this.reducePos);return}let o=this.stack.length-(t-1)*3-(e&262144?6:0),s=o?this.stack[o-2]:this.p.ranges[0].from;n<r.minRepeatTerm&&s==this.reducePos&&this.reducePos<this.pos&&(this.reducePos=this.pos);let c=this.reducePos-s;c>=2e3&&!this.p.parser.nodeSet.types[n]?.isAnonymous&&(s==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=s,this.p.lastBigReductionSize=c));let l=o?this.stack[o-1]:0,u=this.bufferBase+this.buffer.length-l;if(n<r.minRepeatTerm||e&131072){let e=r.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(n,s,e,u+4,!0)}if(e&262144)this.state=this.stack[o];else{let e=this.stack[o-3];this.state=r.getGoto(e,n,!0)}for(;this.stack.length>o;)this.stack.pop();this.reduceContext(n,s)}storeNode(e,t,n,r=4,i=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this.buffer.length;if(e>0&&this.buffer[e-4]==0&&this.buffer[e-1]>-1){if(t==n)return;if(this.buffer[e-2]>=t){this.buffer[e-2]=n;return}}}if(!i||this.pos==n)this.buffer.push(e,t,n,r);else{let i=this.buffer.length;if(i>0&&(this.buffer[i-4]!=0||this.buffer[i-1]<0)){let e=!1;for(let t=i;t>0&&this.buffer[t-2]>n;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;i>0&&this.buffer[i-2]>n;)this.buffer[i]=this.buffer[i-4],this.buffer[i+1]=this.buffer[i-3],this.buffer[i+2]=this.buffer[i-2],this.buffer[i+3]=this.buffer[i-1],i-=4,r>4&&(r-=4)}this.buffer[i]=e,this.buffer[i+1]=t,this.buffer[i+2]=n,this.buffer[i+3]=r}}shift(e,t,n,r){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4);else{let i=e,{parser:a}=this.p;this.pos=r;let o=a.stateFlag(i,1);!o&&(r>n||t<=a.maxNode)&&(this.reducePos=r),this.pushState(i,o?n:Math.min(n,this.reducePos)),this.shiftContext(t,n),t<=a.maxNode&&this.buffer.push(t,n,r,4)}}apply(e,t,n,r){e&65536?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let t=this,n=t.buffer.length;for(n&&t.buffer[n-4]==0&&(n-=4);n>0&&t.buffer[n-2]>t.reducePos;)n-=4;let r=t.buffer.slice(n),i=t.bufferBase+n;for(;t&&i==t.bufferBase;)t=t.parent;return new e(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,i,this.curContext,this.lookAhead,t)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new l(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(n==0)return!1;if(!(n&65536))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let r=0,i;r<t.length;r+=2)(i=t[r+1])!=this.state&&this.p.parser.hasAction(i,e)&&n.push(t[r],i);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1];n.some((e,t)=>t&1&&e==r)||n.push(t[e],r)}t=n}let n=[];for(let e=0;e<t.length&&n.length<4;e+=2){let r=t[e+1];if(r==this.state)continue;let i=this.split();i.pushState(r,this.pos),i.storeNode(0,i.pos,i.pos,4,!0),i.shiftContext(t[e],this.pos),i.reducePos=this.pos,i.score-=200,n.push(i)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(t&65536))return!1;if(!e.validAction(this.state,t)){let n=t>>19,r=t&65535,i=this.stack.length-n*3;if(i<0||e.getGoto(this.stack[i],r,!1)<0){let e=this.findForcedReduction();if(e==null)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(r,i)=>{if(!t.includes(r))return t.push(r),e.allActions(r,t=>{if(!(t&393216))if(t&65536){let n=(t>>19)-i;if(n>1){let r=t&65535,i=this.stack.length-n*3;if(i>=0&&e.getGoto(this.stack[i],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,i+1);if(e!=null)return e}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new c(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){return e<=this.lookAhead?!1:(this.emitLookAhead(),this.lookAhead=e,!0)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}},c=class{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}},l=class{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3,this.state=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0)}},u=class e{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(t,n=t.bufferBase+t.buffer.length){return new e(t,n,n-t.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new e(this.stack,this.pos,this.index)}};function d(e,t=Uint16Array){if(typeof e!=`string`)return e;let n=null;for(let r=0,i=0;r<e.length;){let a=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(t==126){a=65535;break}t>=92&&t--,t>=34&&t--;let i=t-32;if(i>=46&&(i-=46,n=!0),a+=i,n)break;a*=46}n?n[i++]=a:n=new t(a)}return n}var f=class{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}},p=new f,m=class{constructor(e,t){this.input=e,this.ranges=t,this.chunk=``,this.chunkOff=0,this.chunk2=``,this.chunk2Pos=0,this.next=-1,this.token=p,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,r=this.rangeIndex,i=this.pos+e;for(;i<n.from;){if(!r)return null;let e=this.ranges[--r];i-=n.from-e.to,n=e}for(;t<0?i>n.to:i>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];i+=e.from-n.to,n=e}return i}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,r;if(t>=0&&t<this.chunk.length)n=this.pos+e,r=this.chunk.charCodeAt(t);else{let t=this.resolveOffset(e,1);if(t==null)return-1;if(n=t,n>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let e=this.rangeIndex,t=this.range;for(;t.to<=n;)t=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>t.to&&(this.chunk2=this.chunk2.slice(0,t.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(n==null||n<this.token.start)throw RangeError(`Token end out of bounds`);this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos);this.chunk=this.pos+e.length>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk=``,this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=p,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk=``,this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n=``;for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}},h=class{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;v(this.data,e,t,this.id,n.data,n.tokenPrecTable)}};h.prototype.contextual=h.prototype.fallback=h.prototype.extend=!1;var g=class{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data=typeof e==`string`?d(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,i=e.resolveOffset(1,1);if(v(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(n||r++,i==null)break;e.reset(i,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}};g.prototype.contextual=h.prototype.fallback=h.prototype.extend=!1;var _=class{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}};function v(e,t,n,r,i,a){let o=0,s=1<<r,{dialect:c}=n.p.parser;scan:for(;(s&e[o])!=0;){let n=e[o+1];for(let r=o+3;r<n;r+=2)if((e[r+1]&s)>0){let n=e[r];if(c.allows(n)&&(t.token.value==-1||t.token.value==n||b(n,t.token.value,i,a))){t.acceptToken(n);break}}let r=t.next,l=0,u=e[o+2];if(t.next<0&&u>l&&e[n+u*3-3]==65535){o=e[n+u*3-1];continue scan}for(;l<u;){let i=l+u>>1,a=n+i+(i<<1),s=e[a],c=e[a+1]||65536;if(r<s)u=i;else if(r>=c)l=i+1;else{o=e[a+2],t.advance();continue scan}}break}}function y(e,t,n){for(let r=t,i;(i=e[r])!=65535;r++)if(i==n)return r-t;return-1}function b(e,t,n,r){let i=y(n,r,t);return i<0||y(n,r,e)<i}var x=typeof process<`u`&&/\bparse\b/.test({}.LOG),S=null;function C(t,n,r){let i=t.cursor(e.IncludeAnonymous);for(i.moveTo(n);;)if(!(r<0?i.childBefore(n):i.childAfter(n)))for(;;){if((r<0?i.to<n:i.from>n)&&!i.type.isError)return r<0?Math.max(0,Math.min(i.to-1,n-25)):Math.min(t.length,Math.max(i.from+1,n+25));if(r<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return r<0?0:t.length}}var w=class{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?C(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?C(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],i=this.index[t];if(i==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let o=n.children[i],s=this.start[t]+n.positions[i];if(s>e)return this.nextStart=s,null;if(o instanceof r){if(s==e){if(s<this.safeFrom)return null;let e=s+o.length;if(e<=this.safeTo){let t=o.prop(a.lookAhead);if(!t||e+t<this.fragment.to)return o}}this.index[t]++,s+o.length>=Math.max(this.safeFrom,e)&&(this.trees.push(o),this.start.push(s),this.index.push(0))}else this.index[t]++,this.nextStart=s+o.length}}},T=class{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new f)}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:i}=r,a=r.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,s=0;for(let r=0;r<i.length;r++){if(!(1<<r&a))continue;let c=i[r],l=this.tokens[r];if(!(n&&!c.fallback)&&((c.contextual||l.start!=e.pos||l.mask!=a||l.context!=o)&&(this.updateCachedToken(l,c,e),l.mask=a,l.context=o),l.lookAhead>l.end+25&&(s=Math.max(l.lookAhead,s)),l.value!=0)){let r=t;if(l.extended>-1&&(t=this.addActions(e,l.extended,l.end,t)),t=this.addActions(e,l.value,l.end,t),!c.extend&&(n=l,t>r))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),!n&&e.pos==this.stream.end&&(n=new f,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new f,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let i=t.specializers[r](this.stream.read(e.start,e.end),n);if(i>=0&&n.p.parser.dialect.allows(i>>1)){i&1?e.extended=i>>1:e.value=i>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){for(let t=0;t<r;t+=3)if(this.actions[t]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}addActions(e,t,n,r){let{state:i}=e,{parser:a}=e.p,{data:o}=a;for(let e=0;e<2;e++)for(let s=a.stateSlot(i,e?2:1);;s+=3){if(o[s]==65535)if(o[s+1]==1)s=M(o,s+2);else{r==0&&o[s+1]==2&&(r=this.putAction(M(o,s+2),t,n,r));break}o[s]==t&&(r=this.putAction(M(o,s+1),t,n,r))}return r}},E=class{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new m(t,r),this.tokens=new T(e,this.stream),this.topTerm=e.top[1];let{from:i}=r[0];this.stacks=[s.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>e.bufferLength*4?new w(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,n=this.stacks=[],r,i;if(this.bigReductionCount>300&&e.length==1){let[t]=e;for(;t.forceReduce()&&t.stack.length&&t.stack[t.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;a<e.length;a++){let o=e[a];for(;;){if(this.tokens.mainToken=null,o.pos>t)n.push(o);else if(this.advanceStack(o,n,e))continue;else{r||(r=[],i=[]),r.push(o);let e=this.tokens.getMainToken(o);i.push(e.value,e.end)}break}}if(!n.length){let e=r&&N(r);if(e)return x&&console.log(`Finish with `+this.stackID(e)),this.stackToTree(e);if(this.parser.strict)throw x&&r&&console.log(`Stuck with token `+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):`none`)),SyntaxError(`No parse at `+t);this.recovering||=5}if(this.recovering&&r){let e=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,i,n);if(e)return x&&console.log(`Force-finish `+this.stackID(e)),this.stackToTree(e.forceAll())}if(this.recovering){let e=this.recovering==1?1:this.recovering*3;if(n.length>e)for(n.sort((e,t)=>t.score-e.score);n.length>e;)n.pop();n.some(e=>e.reducePos>t)&&this.recovering--}else if(n.length>1){outer:for(let e=0;e<n.length-1;e++){let t=n[e];for(let r=e+1;r<n.length;r++){let i=n[r];if(t.sameState(i)||t.buffer.length>500&&i.buffer.length>500)if((t.score-i.score||t.buffer.length-i.buffer.length)>0)n.splice(r--,1);else{n.splice(e--,1);continue outer}}}n.length>12&&(n.sort((e,t)=>t.score-e.score),n.splice(12,n.length-12))}this.minStackPos=n[0].pos;for(let e=1;e<n.length;e++)n[e].pos<this.minStackPos&&(this.minStackPos=n[e].pos);return null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw RangeError(`Can't move stoppedAt forward`);this.stoppedAt=e}advanceStack(e,t,n){let i=e.pos,{parser:o}=this,s=x?this.stackID(e)+` -> `:``;if(this.stoppedAt!=null&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let c=this.fragments.nodeAt(i);c;){let i=this.parser.nodeSet.types[c.type.id]==c.type?o.getGoto(e.state,c.type.id):-1;if(i>-1&&c.length&&(!t||(c.prop(a.contextHash)||0)==n))return e.useNode(c,i),x&&console.log(s+this.stackID(e)+` (via reuse of ${o.getName(c.type.id)})`),!0;if(!(c instanceof r)||c.children.length==0||c.positions[0]>0)break;let l=c.children[0];if(l instanceof r&&c.positions[0]==0)c=l;else break}}let c=o.stateSlot(e.state,4);if(c>0)return e.reduce(c),x&&console.log(s+this.stackID(e)+` (via always-reduce ${o.getName(c&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let r=0;r<l.length;){let a=l[r++],c=l[r++],u=l[r++],d=r==l.length||!n,f=d?e:e.split(),p=this.tokens.mainToken;if(f.apply(a,c,p?p.start:f.pos,u),x&&console.log(s+this.stackID(f)+` (via ${a&65536?`reduce of ${o.getName(a&65535)}`:`shift`} for ${o.getName(c)} @ ${i}${f==e?``:`, split`})`),d)return!0;f.pos>i?t.push(f):n.push(f)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return D(e,t),!0}}runRecovery(e,t,n){let r=null,i=!1;for(let a=0;a<e.length;a++){let o=e[a],s=t[a<<1],c=t[(a<<1)+1],l=x?this.stackID(o)+` -> `:``;if(o.deadEnd&&(i||(i=!0,o.restart(),x&&console.log(l+this.stackID(o)+` (restarted)`),this.advanceFully(o,n))))continue;let u=o.split(),d=l;for(let e=0;e<10&&u.forceReduce()&&(x&&console.log(d+this.stackID(u)+` (via force-reduce)`),!this.advanceFully(u,n));e++)x&&(d=this.stackID(u)+` -> `);for(let e of o.recoverByInsert(s))x&&console.log(l+this.stackID(e)+` (via recover-insert)`),this.advanceFully(e,n);this.stream.end>o.pos?(c==o.pos&&(c++,s=0),o.recoverByDelete(s,c),x&&console.log(l+this.stackID(o)+` (via recover-delete ${this.parser.getName(s)})`),D(o,n)):(!r||r.score<u.score)&&(r=u)}return r}stackToTree(e){return e.close(),r.build({buffer:u.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(S||=new WeakMap).get(e);return t||S.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}};function D(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e)){t[n].score<e.score&&(t[n]=e);return}}t.push(e)}var O=class{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||this.disabled[e]==0}},k=e=>e,A=class{constructor(e){this.start=e.start,this.shift=e.shift||k,this.reduce=e.reduce||k,this.reuse=e.reuse||k,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}},j=class e extends t{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(` `);this.minRepeatTerm=t.length;for(let n=0;n<e.repeatNodeCount;n++)t.push(``);let r=Object.keys(e.topRules).map(t=>e.topRules[t][1]),s=[];for(let e=0;e<t.length;e++)s.push([]);function c(e,t,n){s[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];typeof e==`string`&&(e=a[e]);for(let n=1;n<t.length;){let r=t[n++];if(r>=0)c(r,e,t[n++]);else{let i=t[n+-r];for(let a=-r;a>0;a--)c(t[n++],e,i);n++}}}this.nodeSet=new n(t.map((t,n)=>i.define({name:n>=this.minRepeatTerm?void 0:t,id:n,props:s[n],top:r.indexOf(n)>-1,error:n==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(n)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=o;let l=d(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map(P),this.states=d(e.states,Uint32Array),this.data=d(e.stateData),this.goto=d(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>typeof e==`number`?new h(l,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let r=new E(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let i=r[t+1];;){let t=r[i++],a=t&1,o=r[i++];if(a&&n)return o;for(let n=i+(t>>1);i<n;i++)if(r[i]==e)return o;if(a)return-1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let i=this.stateSlot(e,r?2:1),a;;i+=3){if((a=n[i])==65535)if(n[i+1]==1)a=n[i=M(n,i+2)];else if(n[i+1]==2)return M(n,i+2);else break;if(a==t||a==0)return M(n,i+1)}return 0}stateSlot(e,t){return this.states[e*6+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t?!0:null)}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let n=this.stateSlot(e,1);r==null;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=M(this.data,n+2);else break;r=t(M(this.data,n+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=M(this.data,n+2);else break;if(!(this.data[n+2]&1)){let e=this.data[n+1];t.some((t,n)=>n&1&&t==e)||t.push(this.data[n],e)}}return t}configure(t){let n=Object.assign(Object.create(e.prototype),this);if(t.props&&(n.nodeSet=this.nodeSet.extend(...t.props)),t.top){let e=this.topRules[t.top];if(!e)throw RangeError(`Invalid top rule name ${t.top}`);n.top=e}return t.tokenizers&&(n.tokenizers=this.tokenizers.map(e=>{let n=t.tokenizers.find(t=>t.from==e);return n?n.to:e})),t.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((e,r)=>{let i=t.specializers.find(t=>t.from==e.external);if(!i)return e;let a=Object.assign(Object.assign({},e),{external:i.to});return n.specializers[r]=P(a),a})),t.contextTracker&&(n.context=t.contextTracker),t.dialect&&(n.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(n.strict=t.strict),t.wrap&&(n.wrappers=n.wrappers.concat(t.wrap)),t.bufferLength!=null&&(n.bufferLength=t.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let r of e.split(` `)){let e=t.indexOf(r);e>=0&&(n[e]=!0)}let r=null;for(let e=0;e<t.length;e++)if(!n[e])for(let n=this.dialects[t[e]],i;(i=this.data[n++])!=65535;)(r||=new Uint8Array(this.maxTerm+1))[i]=1;return new O(e,n,r)}static deserialize(t){return new e(t)}};function M(e,t){return e[t]|e[t+1]<<16}function N(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||e!=null&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}function P(e){if(e.external){let t=+!!e.extend;return(n,r)=>e.external(n,r)<<1|t}return e.get}export{g as i,_ as n,j as r,A as t};
1
+ import{B as e,G as t,H as n,K as r,U as i,V as a,z as o}from"./dist-CJlTCFgz.js";var s=class e{constructor(e,t,n,r,i,a,o,s,c,l=0,u){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=i,this.score=a,this.buffer=o,this.bufferBase=s,this.curContext=c,this.lookAhead=l,this.parent=u}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?`!`+this.score:``}`}static start(t,n,r=0){let i=t.parser.context;return new e(t,[],n,r,r,0,[],0,i?new c(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,n=e&65535,{parser:r}=this.p,i=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),a=r.dynamicPrecedence(n);if(a&&(this.score+=a),t==0){n<r.minRepeatTerm&&this.reducePos<this.pos&&(this.reducePos=this.pos),this.pushState(r.getGoto(this.state,n,!0),this.reducePos),n<r.minRepeatTerm&&this.storeNode(n,this.reducePos,this.reducePos,i?8:4,!0),this.reduceContext(n,this.reducePos);return}let o=this.stack.length-(t-1)*3-(e&262144?6:0),s=o?this.stack[o-2]:this.p.ranges[0].from;n<r.minRepeatTerm&&s==this.reducePos&&this.reducePos<this.pos&&(this.reducePos=this.pos);let c=this.reducePos-s;c>=2e3&&!this.p.parser.nodeSet.types[n]?.isAnonymous&&(s==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=s,this.p.lastBigReductionSize=c));let l=o?this.stack[o-1]:0,u=this.bufferBase+this.buffer.length-l;if(n<r.minRepeatTerm||e&131072){let e=r.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(n,s,e,u+4,!0)}if(e&262144)this.state=this.stack[o];else{let e=this.stack[o-3];this.state=r.getGoto(e,n,!0)}for(;this.stack.length>o;)this.stack.pop();this.reduceContext(n,s)}storeNode(e,t,n,r=4,i=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this.buffer.length;if(e>0&&this.buffer[e-4]==0&&this.buffer[e-1]>-1){if(t==n)return;if(this.buffer[e-2]>=t){this.buffer[e-2]=n;return}}}if(!i||this.pos==n)this.buffer.push(e,t,n,r);else{let i=this.buffer.length;if(i>0&&(this.buffer[i-4]!=0||this.buffer[i-1]<0)){let e=!1;for(let t=i;t>0&&this.buffer[t-2]>n;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;i>0&&this.buffer[i-2]>n;)this.buffer[i]=this.buffer[i-4],this.buffer[i+1]=this.buffer[i-3],this.buffer[i+2]=this.buffer[i-2],this.buffer[i+3]=this.buffer[i-1],i-=4,r>4&&(r-=4)}this.buffer[i]=e,this.buffer[i+1]=t,this.buffer[i+2]=n,this.buffer[i+3]=r}}shift(e,t,n,r){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4);else{let i=e,{parser:a}=this.p;this.pos=r;let o=a.stateFlag(i,1);!o&&(r>n||t<=a.maxNode)&&(this.reducePos=r),this.pushState(i,o?n:Math.min(n,this.reducePos)),this.shiftContext(t,n),t<=a.maxNode&&this.buffer.push(t,n,r,4)}}apply(e,t,n,r){e&65536?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let t=this,n=t.buffer.length;for(n&&t.buffer[n-4]==0&&(n-=4);n>0&&t.buffer[n-2]>t.reducePos;)n-=4;let r=t.buffer.slice(n),i=t.bufferBase+n;for(;t&&i==t.bufferBase;)t=t.parent;return new e(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,i,this.curContext,this.lookAhead,t)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new l(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(n==0)return!1;if(!(n&65536))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let r=0,i;r<t.length;r+=2)(i=t[r+1])!=this.state&&this.p.parser.hasAction(i,e)&&n.push(t[r],i);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1];n.some((e,t)=>t&1&&e==r)||n.push(t[e],r)}t=n}let n=[];for(let e=0;e<t.length&&n.length<4;e+=2){let r=t[e+1];if(r==this.state)continue;let i=this.split();i.pushState(r,this.pos),i.storeNode(0,i.pos,i.pos,4,!0),i.shiftContext(t[e],this.pos),i.reducePos=this.pos,i.score-=200,n.push(i)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(t&65536))return!1;if(!e.validAction(this.state,t)){let n=t>>19,r=t&65535,i=this.stack.length-n*3;if(i<0||e.getGoto(this.stack[i],r,!1)<0){let e=this.findForcedReduction();if(e==null)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(r,i)=>{if(!t.includes(r))return t.push(r),e.allActions(r,t=>{if(!(t&393216))if(t&65536){let n=(t>>19)-i;if(n>1){let r=t&65535,i=this.stack.length-n*3;if(i>=0&&e.getGoto(this.stack[i],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,i+1);if(e!=null)return e}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new c(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){return e<=this.lookAhead?!1:(this.emitLookAhead(),this.lookAhead=e,!0)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}},c=class{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}},l=class{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3,this.state=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0)}},u=class e{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(t,n=t.bufferBase+t.buffer.length){return new e(t,n,n-t.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new e(this.stack,this.pos,this.index)}};function d(e,t=Uint16Array){if(typeof e!=`string`)return e;let n=null;for(let r=0,i=0;r<e.length;){let a=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(t==126){a=65535;break}t>=92&&t--,t>=34&&t--;let i=t-32;if(i>=46&&(i-=46,n=!0),a+=i,n)break;a*=46}n?n[i++]=a:n=new t(a)}return n}var f=class{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}},p=new f,m=class{constructor(e,t){this.input=e,this.ranges=t,this.chunk=``,this.chunkOff=0,this.chunk2=``,this.chunk2Pos=0,this.next=-1,this.token=p,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,r=this.rangeIndex,i=this.pos+e;for(;i<n.from;){if(!r)return null;let e=this.ranges[--r];i-=n.from-e.to,n=e}for(;t<0?i>n.to:i>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];i+=e.from-n.to,n=e}return i}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,r;if(t>=0&&t<this.chunk.length)n=this.pos+e,r=this.chunk.charCodeAt(t);else{let t=this.resolveOffset(e,1);if(t==null)return-1;if(n=t,n>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let e=this.rangeIndex,t=this.range;for(;t.to<=n;)t=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>t.to&&(this.chunk2=this.chunk2.slice(0,t.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(n==null||n<this.token.start)throw RangeError(`Token end out of bounds`);this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos);this.chunk=this.pos+e.length>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk=``,this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=p,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk=``,this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n=``;for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}},h=class{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;v(this.data,e,t,this.id,n.data,n.tokenPrecTable)}};h.prototype.contextual=h.prototype.fallback=h.prototype.extend=!1;var g=class{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data=typeof e==`string`?d(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,i=e.resolveOffset(1,1);if(v(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(n||r++,i==null)break;e.reset(i,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}};g.prototype.contextual=h.prototype.fallback=h.prototype.extend=!1;var _=class{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}};function v(e,t,n,r,i,a){let o=0,s=1<<r,{dialect:c}=n.p.parser;scan:for(;(s&e[o])!=0;){let n=e[o+1];for(let r=o+3;r<n;r+=2)if((e[r+1]&s)>0){let n=e[r];if(c.allows(n)&&(t.token.value==-1||t.token.value==n||b(n,t.token.value,i,a))){t.acceptToken(n);break}}let r=t.next,l=0,u=e[o+2];if(t.next<0&&u>l&&e[n+u*3-3]==65535){o=e[n+u*3-1];continue scan}for(;l<u;){let i=l+u>>1,a=n+i+(i<<1),s=e[a],c=e[a+1]||65536;if(r<s)u=i;else if(r>=c)l=i+1;else{o=e[a+2],t.advance();continue scan}}break}}function y(e,t,n){for(let r=t,i;(i=e[r])!=65535;r++)if(i==n)return r-t;return-1}function b(e,t,n,r){let i=y(n,r,t);return i<0||y(n,r,e)<i}var x=typeof process<`u`&&/\bparse\b/.test({}.LOG),S=null;function C(t,n,r){let i=t.cursor(e.IncludeAnonymous);for(i.moveTo(n);;)if(!(r<0?i.childBefore(n):i.childAfter(n)))for(;;){if((r<0?i.to<n:i.from>n)&&!i.type.isError)return r<0?Math.max(0,Math.min(i.to-1,n-25)):Math.min(t.length,Math.max(i.from+1,n+25));if(r<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return r<0?0:t.length}}var w=class{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?C(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?C(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],i=this.index[t];if(i==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let o=n.children[i],s=this.start[t]+n.positions[i];if(s>e)return this.nextStart=s,null;if(o instanceof r){if(s==e){if(s<this.safeFrom)return null;let e=s+o.length;if(e<=this.safeTo){let t=o.prop(a.lookAhead);if(!t||e+t<this.fragment.to)return o}}this.index[t]++,s+o.length>=Math.max(this.safeFrom,e)&&(this.trees.push(o),this.start.push(s),this.index.push(0))}else this.index[t]++,this.nextStart=s+o.length}}},T=class{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new f)}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:i}=r,a=r.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,s=0;for(let r=0;r<i.length;r++){if(!(1<<r&a))continue;let c=i[r],l=this.tokens[r];if(!(n&&!c.fallback)&&((c.contextual||l.start!=e.pos||l.mask!=a||l.context!=o)&&(this.updateCachedToken(l,c,e),l.mask=a,l.context=o),l.lookAhead>l.end+25&&(s=Math.max(l.lookAhead,s)),l.value!=0)){let r=t;if(l.extended>-1&&(t=this.addActions(e,l.extended,l.end,t)),t=this.addActions(e,l.value,l.end,t),!c.extend&&(n=l,t>r))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),!n&&e.pos==this.stream.end&&(n=new f,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new f,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let i=t.specializers[r](this.stream.read(e.start,e.end),n);if(i>=0&&n.p.parser.dialect.allows(i>>1)){i&1?e.extended=i>>1:e.value=i>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){for(let t=0;t<r;t+=3)if(this.actions[t]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}addActions(e,t,n,r){let{state:i}=e,{parser:a}=e.p,{data:o}=a;for(let e=0;e<2;e++)for(let s=a.stateSlot(i,e?2:1);;s+=3){if(o[s]==65535)if(o[s+1]==1)s=M(o,s+2);else{r==0&&o[s+1]==2&&(r=this.putAction(M(o,s+2),t,n,r));break}o[s]==t&&(r=this.putAction(M(o,s+1),t,n,r))}return r}},E=class{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new m(t,r),this.tokens=new T(e,this.stream),this.topTerm=e.top[1];let{from:i}=r[0];this.stacks=[s.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>e.bufferLength*4?new w(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,n=this.stacks=[],r,i;if(this.bigReductionCount>300&&e.length==1){let[t]=e;for(;t.forceReduce()&&t.stack.length&&t.stack[t.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;a<e.length;a++){let o=e[a];for(;;){if(this.tokens.mainToken=null,o.pos>t)n.push(o);else if(this.advanceStack(o,n,e))continue;else{r||(r=[],i=[]),r.push(o);let e=this.tokens.getMainToken(o);i.push(e.value,e.end)}break}}if(!n.length){let e=r&&N(r);if(e)return x&&console.log(`Finish with `+this.stackID(e)),this.stackToTree(e);if(this.parser.strict)throw x&&r&&console.log(`Stuck with token `+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):`none`)),SyntaxError(`No parse at `+t);this.recovering||=5}if(this.recovering&&r){let e=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,i,n);if(e)return x&&console.log(`Force-finish `+this.stackID(e)),this.stackToTree(e.forceAll())}if(this.recovering){let e=this.recovering==1?1:this.recovering*3;if(n.length>e)for(n.sort((e,t)=>t.score-e.score);n.length>e;)n.pop();n.some(e=>e.reducePos>t)&&this.recovering--}else if(n.length>1){outer:for(let e=0;e<n.length-1;e++){let t=n[e];for(let r=e+1;r<n.length;r++){let i=n[r];if(t.sameState(i)||t.buffer.length>500&&i.buffer.length>500)if((t.score-i.score||t.buffer.length-i.buffer.length)>0)n.splice(r--,1);else{n.splice(e--,1);continue outer}}}n.length>12&&(n.sort((e,t)=>t.score-e.score),n.splice(12,n.length-12))}this.minStackPos=n[0].pos;for(let e=1;e<n.length;e++)n[e].pos<this.minStackPos&&(this.minStackPos=n[e].pos);return null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw RangeError(`Can't move stoppedAt forward`);this.stoppedAt=e}advanceStack(e,t,n){let i=e.pos,{parser:o}=this,s=x?this.stackID(e)+` -> `:``;if(this.stoppedAt!=null&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let c=this.fragments.nodeAt(i);c;){let i=this.parser.nodeSet.types[c.type.id]==c.type?o.getGoto(e.state,c.type.id):-1;if(i>-1&&c.length&&(!t||(c.prop(a.contextHash)||0)==n))return e.useNode(c,i),x&&console.log(s+this.stackID(e)+` (via reuse of ${o.getName(c.type.id)})`),!0;if(!(c instanceof r)||c.children.length==0||c.positions[0]>0)break;let l=c.children[0];if(l instanceof r&&c.positions[0]==0)c=l;else break}}let c=o.stateSlot(e.state,4);if(c>0)return e.reduce(c),x&&console.log(s+this.stackID(e)+` (via always-reduce ${o.getName(c&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let r=0;r<l.length;){let a=l[r++],c=l[r++],u=l[r++],d=r==l.length||!n,f=d?e:e.split(),p=this.tokens.mainToken;if(f.apply(a,c,p?p.start:f.pos,u),x&&console.log(s+this.stackID(f)+` (via ${a&65536?`reduce of ${o.getName(a&65535)}`:`shift`} for ${o.getName(c)} @ ${i}${f==e?``:`, split`})`),d)return!0;f.pos>i?t.push(f):n.push(f)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return D(e,t),!0}}runRecovery(e,t,n){let r=null,i=!1;for(let a=0;a<e.length;a++){let o=e[a],s=t[a<<1],c=t[(a<<1)+1],l=x?this.stackID(o)+` -> `:``;if(o.deadEnd&&(i||(i=!0,o.restart(),x&&console.log(l+this.stackID(o)+` (restarted)`),this.advanceFully(o,n))))continue;let u=o.split(),d=l;for(let e=0;e<10&&u.forceReduce()&&(x&&console.log(d+this.stackID(u)+` (via force-reduce)`),!this.advanceFully(u,n));e++)x&&(d=this.stackID(u)+` -> `);for(let e of o.recoverByInsert(s))x&&console.log(l+this.stackID(e)+` (via recover-insert)`),this.advanceFully(e,n);this.stream.end>o.pos?(c==o.pos&&(c++,s=0),o.recoverByDelete(s,c),x&&console.log(l+this.stackID(o)+` (via recover-delete ${this.parser.getName(s)})`),D(o,n)):(!r||r.score<u.score)&&(r=u)}return r}stackToTree(e){return e.close(),r.build({buffer:u.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(S||=new WeakMap).get(e);return t||S.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}};function D(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e)){t[n].score<e.score&&(t[n]=e);return}}t.push(e)}var O=class{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||this.disabled[e]==0}},k=e=>e,A=class{constructor(e){this.start=e.start,this.shift=e.shift||k,this.reduce=e.reduce||k,this.reuse=e.reuse||k,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}},j=class e extends t{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(` `);this.minRepeatTerm=t.length;for(let n=0;n<e.repeatNodeCount;n++)t.push(``);let r=Object.keys(e.topRules).map(t=>e.topRules[t][1]),s=[];for(let e=0;e<t.length;e++)s.push([]);function c(e,t,n){s[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];typeof e==`string`&&(e=a[e]);for(let n=1;n<t.length;){let r=t[n++];if(r>=0)c(r,e,t[n++]);else{let i=t[n+-r];for(let a=-r;a>0;a--)c(t[n++],e,i);n++}}}this.nodeSet=new n(t.map((t,n)=>i.define({name:n>=this.minRepeatTerm?void 0:t,id:n,props:s[n],top:r.indexOf(n)>-1,error:n==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(n)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=o;let l=d(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map(P),this.states=d(e.states,Uint32Array),this.data=d(e.stateData),this.goto=d(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>typeof e==`number`?new h(l,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let r=new E(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let i=r[t+1];;){let t=r[i++],a=t&1,o=r[i++];if(a&&n)return o;for(let n=i+(t>>1);i<n;i++)if(r[i]==e)return o;if(a)return-1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let i=this.stateSlot(e,r?2:1),a;;i+=3){if((a=n[i])==65535)if(n[i+1]==1)a=n[i=M(n,i+2)];else if(n[i+1]==2)return M(n,i+2);else break;if(a==t||a==0)return M(n,i+1)}return 0}stateSlot(e,t){return this.states[e*6+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t?!0:null)}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let n=this.stateSlot(e,1);r==null;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=M(this.data,n+2);else break;r=t(M(this.data,n+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=M(this.data,n+2);else break;if(!(this.data[n+2]&1)){let e=this.data[n+1];t.some((t,n)=>n&1&&t==e)||t.push(this.data[n],e)}}return t}configure(t){let n=Object.assign(Object.create(e.prototype),this);if(t.props&&(n.nodeSet=this.nodeSet.extend(...t.props)),t.top){let e=this.topRules[t.top];if(!e)throw RangeError(`Invalid top rule name ${t.top}`);n.top=e}return t.tokenizers&&(n.tokenizers=this.tokenizers.map(e=>{let n=t.tokenizers.find(t=>t.from==e);return n?n.to:e})),t.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((e,r)=>{let i=t.specializers.find(t=>t.from==e.external);if(!i)return e;let a=Object.assign(Object.assign({},e),{external:i.to});return n.specializers[r]=P(a),a})),t.contextTracker&&(n.context=t.contextTracker),t.dialect&&(n.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(n.strict=t.strict),t.wrap&&(n.wrappers=n.wrappers.concat(t.wrap)),t.bufferLength!=null&&(n.bufferLength=t.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let r of e.split(` `)){let e=t.indexOf(r);e>=0&&(n[e]=!0)}let r=null;for(let e=0;e<t.length;e++)if(!n[e])for(let n=this.dialects[t[e]],i;(i=this.data[n++])!=65535;)(r||=new Uint8Array(this.maxTerm+1))[i]=1;return new O(e,n,r)}static deserialize(t){return new e(t)}};function M(e,t){return e[t]|e[t+1]<<16}function N(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||e!=null&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}function P(e){if(e.external){let t=+!!e.extend;return(n,r)=>e.external(n,r)<<1|t}return e.get}export{g as i,_ as n,j as r,A as t};