@inkeep/open-knowledge 0.25.0-beta.17 → 0.25.0-beta.18

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 (211) hide show
  1. package/dist/assets/skills/discovery/SKILL.md +1 -1
  2. package/dist/assets/skills/project/SKILL.md +1 -1
  3. package/dist/cli.mjs +6 -6
  4. package/dist/constants-C9b_xvIQ.mjs +2 -0
  5. package/dist/index.mjs +1 -1
  6. package/dist/{init-hugxd53g.mjs → init-C707tDBo.mjs} +3 -3
  7. package/dist/init-CNO7khdm.mjs +1 -0
  8. package/dist/{loader--DLOVwU4.mjs → loader-Bv7K-tYT.mjs} +2 -2
  9. package/dist/loader-DJ1SAq64.mjs +1 -0
  10. package/dist/preview-Bt9qEhPW.mjs +1 -0
  11. package/dist/{preview-BAF22TOz.mjs → preview-DgzOq8xI.mjs} +2 -2
  12. package/dist/public/assets/ActivityModeContent-D48vVOLP.js +2 -0
  13. package/dist/public/assets/{ConsentDialogBody-CndpLVpa.js → ConsentDialogBody-CGxx7K6d.js} +1 -1
  14. package/dist/public/assets/DocumentContext-CJ22lSnF.js +32 -0
  15. package/dist/public/assets/{EnableSyncConfirmDialog-BCBYaNI1.js → EnableSyncConfirmDialog-O-QyePZs.js} +1 -1
  16. package/dist/public/assets/{GraphPanel-q480x3Pp.js → GraphPanel-PKzv55Hr.js} +9 -9
  17. package/dist/public/assets/ManagedArtifactProperties-Cb9g3XUL.js +1 -0
  18. package/dist/public/assets/{McpConsentDialogBody-NG01mM3X.js → McpConsentDialogBody-D0V6I7sX.js} +1 -1
  19. package/dist/public/assets/PropertyPanel-lSIKHRqy.js +2 -0
  20. package/dist/public/assets/SettingsDialogBody-Df7GQEXC.js +7 -0
  21. package/dist/public/assets/ShareBranchSwitchDialog-6YHbhuib.js +1 -0
  22. package/dist/public/assets/ShareReceiveDialog-DodAWemk.js +1 -0
  23. package/dist/public/assets/ShareReceiveMissDialog-BERnm3PE.js +1 -0
  24. package/dist/public/assets/SkillEditorActions-CNMkj80k.js +1 -0
  25. package/dist/public/assets/{SourceEditor-DYmBrxoa.js → SourceEditor-D5AjvnZ3.js} +2 -2
  26. package/dist/public/assets/{TerminalPanel-CEcImr1_.js → TerminalPanel-DGdTOOBW.js} +3 -3
  27. package/dist/public/assets/{agent-presence-hQFriJP_.js → agent-presence-DzX-AMwj.js} +1 -1
  28. package/dist/public/assets/{architectureDiagram-Q4EWVU46-BnLULocP.js → architectureDiagram-Q4EWVU46-D9YkmuUY.js} +1 -1
  29. package/dist/public/assets/auth-state-cache-DDPu-Wza.js +11 -0
  30. package/dist/public/assets/{blockDiagram-DXYQGD6D-DgcakmQd.js → blockDiagram-DXYQGD6D-0nrFHAh9.js} +1 -1
  31. package/dist/public/assets/button-Cw_0dYAP.js +1 -0
  32. package/dist/public/assets/{c4Diagram-AHTNJAMY-MpS57keD.js → c4Diagram-AHTNJAMY-Bt4mDYdo.js} +1 -1
  33. package/dist/public/assets/{calendar-DPQ_ICRf.js → calendar-Br-BjNEv.js} +1 -1
  34. package/dist/public/assets/channel-C-sRM7Rn.js +1 -0
  35. package/dist/public/assets/check-SPk0tvuH.js +1 -0
  36. package/dist/public/assets/checkbox--aCx_VEt.js +1 -0
  37. package/dist/public/assets/chevron-down-DxD_aY5H.js +1 -0
  38. package/dist/public/assets/chevron-left-BqTNmlIi.js +1 -0
  39. package/dist/public/assets/chevron-right-B5-WDYn2.js +1 -0
  40. package/dist/public/assets/{chunk-336JU56O-D9l-iSoM.js → chunk-336JU56O-CxydaaZ9.js} +2 -2
  41. package/dist/public/assets/{chunk-426QAEUC-CGz89IOu.js → chunk-426QAEUC-w5g8JVfo.js} +1 -1
  42. package/dist/public/assets/{chunk-4TB4RGXK-BJBCQpxu.js → chunk-4TB4RGXK-BeVBycWS.js} +1 -1
  43. package/dist/public/assets/{chunk-5FUZZQ4R-qTd1X-_B.js → chunk-5FUZZQ4R-BQWt7CWo.js} +1 -1
  44. package/dist/public/assets/{chunk-5PVQY5BW-yDTy3kh2.js → chunk-5PVQY5BW-Dge_IsSQ.js} +1 -1
  45. package/dist/public/assets/{chunk-EDXVE4YY-GdX4IlNB.js → chunk-EDXVE4YY-D4Xjt4_M.js} +1 -1
  46. package/dist/public/assets/{chunk-ENJZ2VHE-B1deOUrZ.js → chunk-ENJZ2VHE-ZTYJ7zgG.js} +1 -1
  47. package/dist/public/assets/{chunk-ICPOFSXX-CIVLR_5F.js → chunk-ICPOFSXX-CWTnyt4f.js} +1 -1
  48. package/dist/public/assets/{chunk-OYMX7WX6-CBdUWkfK.js → chunk-OYMX7WX6-C_VdCorh.js} +1 -1
  49. package/dist/public/assets/{chunk-U2HBQHQK-BRyN8JBd.js → chunk-U2HBQHQK-Dl3oREYn.js} +1 -1
  50. package/dist/public/assets/{chunk-X2U36JSP-o7MzjrQ3.js → chunk-X2U36JSP-B0AOCHxY.js} +1 -1
  51. package/dist/public/assets/{chunk-YZCP3GAM-08XDtemD.js → chunk-YZCP3GAM-DYVfdP_M.js} +1 -1
  52. package/dist/public/assets/{chunk-ZZ45TVLE-D2TDKoTv.js → chunk-ZZ45TVLE-BCfEDLCW.js} +1 -1
  53. package/dist/public/assets/classDiagram-6PBFFD2Q-osNdAhUc.js +1 -0
  54. package/dist/public/assets/classDiagram-v2-HSJHXN6E-CZ6K6ZPy.js +1 -0
  55. package/dist/public/assets/clone-CQq0fOXt.js +1 -0
  56. package/dist/public/assets/{collapsible-D2ThJMi2.js → collapsible-C2BV6FHW.js} +1 -1
  57. package/dist/public/assets/{config-context-DJjTs62C.js → config-context-B6QjZ1RW.js} +1 -1
  58. package/dist/public/assets/config-provider-AZSpuXXy.js +4 -0
  59. package/dist/public/assets/{cursor-BVozWV54.js → cursor-DWg4aKeS.js} +1 -1
  60. package/dist/public/assets/{dagre-ezBFxVi8.js → dagre-BTExpQFg.js} +1 -1
  61. package/dist/public/assets/{dagre-KV5264BT-BH1vMnyV.js → dagre-KV5264BT-CLB2cs3L.js} +1 -1
  62. package/dist/public/assets/{diagram-5BDNPKRD-C3DmjuH3.js → diagram-5BDNPKRD-DUr51FmO.js} +1 -1
  63. package/dist/public/assets/{diagram-G4DWMVQ6-J-UKxuT2.js → diagram-G4DWMVQ6-DFrT1U5D.js} +1 -1
  64. package/dist/public/assets/{diagram-MMDJMWI5-DGIv4ujt.js → diagram-MMDJMWI5-6M8xRDKw.js} +1 -1
  65. package/dist/public/assets/{diagram-TYMM5635-Cvs7rTa0.js → diagram-TYMM5635-B6FNzXAn.js} +1 -1
  66. package/dist/public/assets/{dialog-DtVLDjny.js → dialog-YBH5PjUS.js} +3 -3
  67. package/dist/public/assets/dist-4FKNkvRj.js +23 -0
  68. package/dist/public/assets/{dist-wye24uC6.js → dist-BGXCkPeI.js} +1 -1
  69. package/dist/public/assets/{dist-Dx825WER2.js → dist-Ba_10F8i.js} +1 -1
  70. package/dist/public/assets/dist-Bu8Xe-63.js +1 -0
  71. package/dist/public/assets/dist-C5Xa8yL1.js +1 -0
  72. package/dist/public/assets/dist-C94BrEHX.js +1 -0
  73. package/dist/public/assets/dist-CEJvDzaE.js +1 -0
  74. package/dist/public/assets/{dist-D0XhAWW8.js → dist-CMd99jCo.js} +1 -1
  75. package/dist/public/assets/{dist-BItEDTx8.js → dist-CSBKndbw.js} +1 -1
  76. package/dist/public/assets/dist-Cwi1hP6v.js +1 -0
  77. package/dist/public/assets/dist-D2AYnwsl.js +1 -0
  78. package/dist/public/assets/{dist-AfBTOr2C.js → dist-DBck2Wni.js} +1 -1
  79. package/dist/public/assets/{dist-DQW1FoW-.js → dist-DoPCS53q.js} +1 -1
  80. package/dist/public/assets/dist-IelrkKdT.js +1 -0
  81. package/dist/public/assets/dist-Y4CFe6CV.js +1 -0
  82. package/dist/public/assets/dist-tJBy9yEq.js +9 -0
  83. package/dist/public/assets/dist-zAbf1PFh.js +1 -0
  84. package/dist/public/assets/doc-hash-CyR3apuv.js +1 -0
  85. package/dist/public/assets/documents-events-Bsq-Lwvc.js +11 -0
  86. package/dist/public/assets/{erDiagram-SMLLAGMA-BisuKprM.js → erDiagram-SMLLAGMA-DZV7iUsw.js} +1 -1
  87. package/dist/public/assets/file-tree-adapter-CI7t-Quy.js +1 -0
  88. package/dist/public/assets/{flowDiagram-DWJPFMVM-B0HG4XkI.js → flowDiagram-DWJPFMVM-5BllKeQC.js} +1 -1
  89. package/dist/public/assets/{ganttDiagram-T4ZO3ILL-DQMAnJX0.js → ganttDiagram-T4ZO3ILL-ts-lSNwQ.js} +1 -1
  90. package/dist/public/assets/{git-branch-GmlkrJG1.js → git-branch-3nYAHKh5.js} +1 -1
  91. package/dist/public/assets/{gitGraphDiagram-UUTBAWPF-D_atUqHK.js → gitGraphDiagram-UUTBAWPF-DhfiPcy7.js} +1 -1
  92. package/dist/public/assets/{graphlib-CssuwrQ0.js → graphlib-n99tHyVD.js} +1 -1
  93. package/dist/public/assets/index-4U2_WUnG.js +2003 -0
  94. package/dist/public/assets/index-CiDjoHbL.css +1 -0
  95. package/dist/public/assets/{infoDiagram-42DDH7IO-BSBW6Pan.js → infoDiagram-42DDH7IO-DLjhsn-t.js} +1 -1
  96. package/dist/public/assets/{input-DMhjBZpj.js → input-DkflumBI.js} +1 -1
  97. package/dist/public/assets/{ishikawaDiagram-UXIWVN3A-BQ069xL3.js → ishikawaDiagram-UXIWVN3A-l2uP3JVO.js} +1 -1
  98. package/dist/public/assets/{journeyDiagram-VCZTEJTY-MGSlWbE2.js → journeyDiagram-VCZTEJTY-BBDFY8Ke.js} +1 -1
  99. package/dist/public/assets/{kanban-definition-6JOO6SKY-Gdd-cuhS.js → kanban-definition-6JOO6SKY-C7Ls1ibi.js} +1 -1
  100. package/dist/public/assets/{keyboard-shortcuts-BO_yaXFa.js → keyboard-shortcuts-BeQiNPv5.js} +1 -1
  101. package/dist/public/assets/label-TedtbqkV.js +1 -0
  102. package/dist/public/assets/{line-BsWA6ttc.js → line-yQlegCdo.js} +1 -1
  103. package/dist/public/assets/loader-circle-BFgDr9-d.js +1 -0
  104. package/dist/public/assets/{mermaid.core-DTlyBC51.js → mermaid.core-BiEddsMo.js} +3 -3
  105. package/dist/public/assets/{mindmap-definition-QFDTVHPH-RCGyFFgC.js → mindmap-definition-QFDTVHPH-Bln4pJqk.js} +1 -1
  106. package/dist/public/assets/{miss-dialog-store-B0FbFVHM.js → miss-dialog-store-D4V6ccBu.js} +1 -1
  107. package/dist/public/assets/{open-managed-artifact-tab-DrODiIEr.js → open-managed-artifact-tab-C6BHQB0v.js} +1 -1
  108. package/dist/public/assets/panel-BIPkPKNj.js +1 -0
  109. package/dist/public/assets/pending-receive-nav-store-tesr5n6G.js +1 -0
  110. package/dist/public/assets/{pieDiagram-DEJITSTG-e0uyQE_X.js → pieDiagram-DEJITSTG-95UJ3oDc.js} +1 -1
  111. package/dist/public/assets/project-paths-CuasytRc.js +1 -0
  112. package/dist/public/assets/prop-types-DIo-gx4O.js +1 -0
  113. package/dist/public/assets/{propagation-api-2R98p81r.js → propagation-api-BHhJitgG.js} +1 -1
  114. package/dist/public/assets/{quadrantDiagram-34T5L4WZ-fiYcYSyL.js → quadrantDiagram-34T5L4WZ-BsyEhduj.js} +1 -1
  115. package/dist/public/assets/radio-group-DDwGQ5DT.js +1 -0
  116. package/dist/public/assets/{receive-store-93o2FscZ.js → receive-store-EKQrlEsf.js} +1 -1
  117. package/dist/public/assets/{refresh-cw-BxQJQoCU.js → refresh-cw-BHaAFbCQ.js} +1 -1
  118. package/dist/public/assets/{requirementDiagram-MS252O5E-Cu0OR6JE.js → requirementDiagram-MS252O5E-Ce3ZT4dZ.js} +1 -1
  119. package/dist/public/assets/{sankeyDiagram-XADWPNL6-CuBGw_FO.js → sankeyDiagram-XADWPNL6-CSPgo5jE.js} +1 -1
  120. package/dist/public/assets/{selection-context-_7ApBUWm.js → selection-context-BPs74l1N.js} +1 -1
  121. package/dist/public/assets/{sequenceDiagram-FGHM5R23-CvdTGqtB.js → sequenceDiagram-FGHM5R23-DPptjsMp.js} +1 -1
  122. package/dist/public/assets/skill-actions-CFGl3BfZ.js +1 -0
  123. package/dist/public/assets/{skill-scope-CFcSL9PO.js → skill-scope-D_YpwXm9.js} +1 -1
  124. package/dist/public/assets/skills-api-D8o77mG3.js +1 -0
  125. package/dist/public/assets/{stateDiagram-FHFEXIEX-CotJyv0o.js → stateDiagram-FHFEXIEX-C927293q.js} +1 -1
  126. package/dist/public/assets/stateDiagram-v2-QKLJ7IA2-Cw6lb2rh.js +1 -0
  127. package/dist/public/assets/target-navigation-intent-D0W-SiFr.js +1 -0
  128. package/dist/public/assets/{telemetry-impl-Bq6GTn3R.js → telemetry-impl-B2f-KI3l.js} +1 -1
  129. package/dist/public/assets/telemetry-startup-bcN-jkl0.js +1 -0
  130. package/dist/public/assets/{textarea-BD5DUwDS.js → textarea-rwbHA8E5.js} +1 -1
  131. package/dist/public/assets/{timeline-definition-GMOUNBTQ-D8Me4q53.js → timeline-definition-GMOUNBTQ-B9WBC5Ng.js} +1 -1
  132. package/dist/public/assets/toggle-group-hi4Tembn.js +1 -0
  133. package/dist/public/assets/tooltip-DaINFyme.js +1 -0
  134. package/dist/public/assets/{typing-burst-detector-gS73Iqz3.js → typing-burst-detector-xkKqYj3i.js} +2 -2
  135. package/dist/public/assets/{vennDiagram-DHZGUBPP-W-XqbYNU.js → vennDiagram-DHZGUBPP-DK0Nb7Wu.js} +1 -1
  136. package/dist/public/assets/{wardleyDiagram-NUSXRM2D-DB3DcQtI.js → wardleyDiagram-NUSXRM2D-DkwoCQka.js} +1 -1
  137. package/dist/public/assets/{xychartDiagram-5P7HB3ND-DxutAraW.js → xychartDiagram-5P7HB3ND-QeQfetZF.js} +1 -1
  138. package/dist/public/index.html +69 -69
  139. package/dist/{repair-launch-json-Z-uZUDrj.mjs → repair-launch-json-BwA0UXm7.mjs} +2 -2
  140. package/dist/{repair-mcp-configs-D1udS6-V.mjs → repair-mcp-configs-DvG8Dw--.mjs} +2 -2
  141. package/dist/{src-w1N05aF-.mjs → src-C9puP2E_.mjs} +2 -2
  142. package/dist/{start-C7JGfaJq.mjs → start-CRlWJSy4.mjs} +2 -2
  143. package/dist/start-CyApvRQh.mjs +1 -0
  144. package/package.json +1 -1
  145. package/dist/constants-u4lg1sDo.mjs +0 -2
  146. package/dist/init-DrHm6UJF.mjs +0 -1
  147. package/dist/loader-BiTnSGzo.mjs +0 -1
  148. package/dist/preview-BdhhmEGp.mjs +0 -1
  149. package/dist/public/assets/ActivityModeContent-CJFUc7RW.js +0 -2
  150. package/dist/public/assets/DocumentContext-BUrGKvmA.js +0 -32
  151. package/dist/public/assets/ManagedArtifactProperties-UH7x5288.js +0 -1
  152. package/dist/public/assets/PropertyPanel-DfIZg5rp.js +0 -2
  153. package/dist/public/assets/SettingsDialogBody-BcsIU5IO.js +0 -7
  154. package/dist/public/assets/ShareBranchSwitchDialog-DEixS5ow.js +0 -1
  155. package/dist/public/assets/ShareReceiveDialog-B-a7ftvp.js +0 -1
  156. package/dist/public/assets/ShareReceiveMissDialog-DuqsMjIE.js +0 -1
  157. package/dist/public/assets/SkillEditorActions-D99amW-6.js +0 -1
  158. package/dist/public/assets/button-DGf25ccp.js +0 -1
  159. package/dist/public/assets/channel-BnB1CAkA.js +0 -1
  160. package/dist/public/assets/check-CAsS5Elz.js +0 -1
  161. package/dist/public/assets/checkbox-DYATp18o.js +0 -1
  162. package/dist/public/assets/chevron-down-BaPMAfbX.js +0 -1
  163. package/dist/public/assets/chevron-left-CGj9PTYZ.js +0 -1
  164. package/dist/public/assets/chevron-right-CVuQ_gVm.js +0 -1
  165. package/dist/public/assets/classDiagram-6PBFFD2Q-djt6-qsq.js +0 -1
  166. package/dist/public/assets/classDiagram-v2-HSJHXN6E-D9XE0jQw.js +0 -1
  167. package/dist/public/assets/clone--IpWXAZg.js +0 -1
  168. package/dist/public/assets/config-provider-BCrd1h3n.js +0 -4
  169. package/dist/public/assets/config-validation-events-c0bJLYdD.js +0 -11
  170. package/dist/public/assets/dist-CBR3Gop_.js +0 -23
  171. package/dist/public/assets/dist-CWy4ixNG.js +0 -1
  172. package/dist/public/assets/dist-CgWVxeSo.js +0 -1
  173. package/dist/public/assets/dist-CgXWsFwX.js +0 -1
  174. package/dist/public/assets/dist-CyjUE1fU.js +0 -1
  175. package/dist/public/assets/dist-DXkiONdP.js +0 -1
  176. package/dist/public/assets/dist-DwqkXXNG.js +0 -9
  177. package/dist/public/assets/dist-JtyGhtXW.js +0 -1
  178. package/dist/public/assets/dist-QeKS_yUr.js +0 -1
  179. package/dist/public/assets/dist-SKUoQS3T.js +0 -1
  180. package/dist/public/assets/dist-guh9-s27.js +0 -1
  181. package/dist/public/assets/documents-events-B83ksr6N.js +0 -11
  182. package/dist/public/assets/file-tree-adapter-a1FGMOP8.js +0 -1
  183. package/dist/public/assets/index-B3AzmMEn.css +0 -1
  184. package/dist/public/assets/index-Bh-HkPzm.js +0 -2003
  185. package/dist/public/assets/label-iXNPopUN.js +0 -1
  186. package/dist/public/assets/loader-circle-B10CtBnC.js +0 -1
  187. package/dist/public/assets/navigation-targets-DiRykhu5.js +0 -1
  188. package/dist/public/assets/panel-BbrtnF__.js +0 -1
  189. package/dist/public/assets/project-paths-CB2fAetg.js +0 -1
  190. package/dist/public/assets/prop-types-CSx_Gmsn.js +0 -1
  191. package/dist/public/assets/radio-group-CBK4VVOo.js +0 -1
  192. package/dist/public/assets/share-receive-miss-content-CptbjUbT.js +0 -1
  193. package/dist/public/assets/skill-actions-X_rLke6F.js +0 -1
  194. package/dist/public/assets/skills-api-D2ixHCpn.js +0 -1
  195. package/dist/public/assets/stateDiagram-v2-QKLJ7IA2-Dgzdjh4b.js +0 -1
  196. package/dist/public/assets/target-navigation-intent-Bfuh_WMb.js +0 -1
  197. package/dist/public/assets/telemetry-startup-D90YW7_1.js +0 -1
  198. package/dist/public/assets/toggle-group-Duj35QHX.js +0 -1
  199. package/dist/public/assets/tooltip-zcVXnhGV.js +0 -1
  200. package/dist/start-DIE265YH.mjs +0 -1
  201. /package/dist/public/assets/{desktop-bridge-types-C7nfug4w.js → desktop-bridge-types-BkAqnI9I.js} +0 -0
  202. /package/dist/public/assets/{dist-BzWUi0nJ.js → dist-CJgFPpZH.js} +0 -0
  203. /package/dist/public/assets/{external-link-BKUUNWAX.js → external-link-D6GHfiOR.js} +0 -0
  204. /package/dist/public/assets/{file-tree-rename-validation-DeKIxKnc.js → file-tree-rename-validation-BnIyXPzi.js} +0 -0
  205. /package/dist/public/assets/{format-CZkN23Sx.js → format-Cnb8lT3A.js} +0 -0
  206. /package/dist/public/assets/{katex-jl-BtNZi.js → katex-BunQWEOH.js} +0 -0
  207. /package/dist/public/assets/{mcp-consent-store-GcVZt2zP.js → mcp-consent-store-B6IQVdzB.js} +0 -0
  208. /package/dist/public/assets/{startup-marks-1TBx3O5Y.js → startup-marks-ChdnUQ0e.js} +0 -0
  209. /package/dist/public/assets/{stex-DLTwoWCs.js → stex-B6EPoco7.js} +0 -0
  210. /package/dist/public/assets/{trace-api-6NqWxY5v.js → trace-api-D6fqC5Nw.js} +0 -0
  211. /package/dist/public/assets/{w3c-keyname-F3byfno6.js → w3c-keyname-CHcJEDvG.js} +0 -0
@@ -1,2 +1,2 @@
1
- import{n as e,r as t}from"./src-CbbwOucf.js";import{c as n}from"./chunk-ICPOFSXX-CIVLR_5F.js";import{t as r}from"./chunk-426QAEUC-CGz89IOu.js";import{t as i}from"./mermaid-parser.core-BkIpaEsR.js";var a={parse:e(async e=>{let n=await i(`info`,e);t.debug(n)},`parse`)},o={version:`11.14.0`},s={parser:a,db:{getVersion:e(()=>o.version,`getVersion`)},renderer:{draw:e((e,i,a)=>{t.debug(`rendering info diagram
1
+ import{n as e,r as t}from"./src-CbbwOucf.js";import{c as n}from"./chunk-ICPOFSXX-CWTnyt4f.js";import{t as r}from"./chunk-426QAEUC-w5g8JVfo.js";import{t as i}from"./mermaid-parser.core-BkIpaEsR.js";var a={parse:e(async e=>{let n=await i(`info`,e);t.debug(n)},`parse`)},o={version:`11.14.0`},s={parser:a,db:{getVersion:e(()=>o.version,`getVersion`)},renderer:{draw:e((e,i,a)=>{t.debug(`rendering info diagram
2
2
  `+e);let o=r(i);n(o,100,400,!0),o.append(`g`).append(`text`).attr(`x`,100).attr(`y`,40).attr(`class`,`version`).attr(`font-size`,32).style(`text-anchor`,`middle`).text(`v${a}`)},`draw`)}};export{s as diagram};
@@ -1 +1 @@
1
- import{r as e,t}from"./compiler-runtime-CVnuRdak.js";import{l as n}from"./button-DGf25ccp.js";var r=t(),i=e();function a(e){let t=(0,r.c)(12),a,o,s,c;t[0]===e?(a=t[1],o=t[2],s=t[3],c=t[4]):({className:a,type:c,ref:s,...o}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=s,t[4]=c);let l;t[5]===a?l=t[6]:(l=n(`h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,a),t[5]=a,t[6]=l);let u;return t[7]!==o||t[8]!==s||t[9]!==l||t[10]!==c?(u=(0,i.jsx)(`input`,{type:c,ref:s,"data-slot":`input`,className:l,...o}),t[7]=o,t[8]=s,t[9]=l,t[10]=c,t[11]=u):u=t[11],u}export{a as t};
1
+ import{r as e,t}from"./compiler-runtime-CVnuRdak.js";import{i as n}from"./button-Cw_0dYAP.js";var r=t(),i=e();function a(e){let t=(0,r.c)(12),a,o,s,c;t[0]===e?(a=t[1],o=t[2],s=t[3],c=t[4]):({className:a,type:c,ref:s,...o}=e,t[0]=e,t[1]=a,t[2]=o,t[3]=s,t[4]=c);let l;t[5]===a?l=t[6]:(l=n(`h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,a),t[5]=a,t[6]=l);let u;return t[7]!==o||t[8]!==s||t[9]!==l||t[10]!==c?(u=(0,i.jsx)(`input`,{type:c,ref:s,"data-slot":`input`,className:l,...o}),t[7]=o,t[8]=s,t[9]=l,t[10]=c,t[11]=u):u=t[11],u}export{a as t};
@@ -1,4 +1,4 @@
1
- import{n as e}from"./src-CbbwOucf.js";import{B as t,C as n,V as r,W as i,_ as a,a as o,b as s,c,s as l,v as u}from"./chunk-ICPOFSXX-CIVLR_5F.js";import{f as d}from"./chunk-5PVQY5BW-yDTy3kh2.js";import{t as f}from"./chunk-426QAEUC-CGz89IOu.js";import{t as p}from"./rough.esm-NnATA0En.js";var m=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,14],i=[1,12],a=[1,13],o=[6,7,8],s=[1,20],c=[1,18],l=[1,19],u=[6,7,11],d=[1,6,13,14],f=[1,23],p=[1,24],m=[1,6,7,11,13,14],h={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`ISHIKAWA`,11:`EOF`,13:`SPACELIST`,14:`TEXT`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 15:r.addNode(a[s-1].length,a[s].trim());break;case 16:r.addNode(0,a[s].trim());break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:a},t(o,[2,3]),{1:[2,2]},t(o,[2,4]),t(o,[2,5]),{1:[2,6],6:r,12:15,13:i,14:a},{6:r,9:16,12:11,13:i,14:a},{6:s,7:c,10:17,11:l},t(u,[2,18],{14:[1,21]}),t(u,[2,16]),t(u,[2,17]),{6:s,7:c,10:22,11:l},{1:[2,7],6:r,12:15,13:i,14:a},t(d,[2,14],{7:f,11:p}),t(m,[2,8]),t(m,[2,9]),t(m,[2,10]),t(u,[2,15]),t(d,[2,13],{7:f,11:p}),t(m,[2,11]),t(m,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ import{n as e}from"./src-CbbwOucf.js";import{B as t,C as n,V as r,W as i,_ as a,a as o,b as s,c,s as l,v as u}from"./chunk-ICPOFSXX-CWTnyt4f.js";import{f as d}from"./chunk-5PVQY5BW-Dge_IsSQ.js";import{t as f}from"./chunk-426QAEUC-w5g8JVfo.js";import{t as p}from"./rough.esm-NnATA0En.js";var m=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,14],i=[1,12],a=[1,13],o=[6,7,8],s=[1,20],c=[1,18],l=[1,19],u=[6,7,11],d=[1,6,13,14],f=[1,23],p=[1,24],m=[1,6,7,11,13,14],h={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`ISHIKAWA`,11:`EOF`,13:`SPACELIST`,14:`TEXT`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 15:r.addNode(a[s-1].length,a[s].trim());break;case 16:r.addNode(0,a[s].trim());break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:a},t(o,[2,3]),{1:[2,2]},t(o,[2,4]),t(o,[2,5]),{1:[2,6],6:r,12:15,13:i,14:a},{6:r,9:16,12:11,13:i,14:a},{6:s,7:c,10:17,11:l},t(u,[2,18],{14:[1,21]}),t(u,[2,16]),t(u,[2,17]),{6:s,7:c,10:22,11:l},{1:[2,7],6:r,12:15,13:i,14:a},t(d,[2,14],{7:f,11:p}),t(m,[2,8]),t(m,[2,9]),t(m,[2,10]),t(u,[2,15]),t(d,[2,13],{7:f,11:p}),t(m,[2,11]),t(m,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};h.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{n as e}from"./src-CbbwOucf.js";import{B as t,C as n,V as r,W as i,_ as a,a as o,b as s,c,v as l}from"./chunk-ICPOFSXX-CIVLR_5F.js";import{C as u}from"./src-DQu6B2Zu.js";import{t as d}from"./arc-BT8Hati9.js";import{t as f}from"./chunk-FMBD7UC4-4T3_kXBp.js";import{a as p,n as m,o as h,s as g}from"./chunk-YZCP3GAM-08XDtemD.js";var _=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,8,10,11,12,14,16,17,18],r=[1,9],i=[1,10],a=[1,11],o=[1,12],s=[1,13],c=[1,14],l={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:`error`,4:`journey`,6:`EOF`,8:`SPACE`,10:`NEWLINE`,11:`title`,12:`acc_title`,13:`acc_title_value`,14:`acc_descr`,15:`acc_descr_value`,16:`acc_descr_multiline_value`,17:`section`,18:`taskName`,19:`taskData`},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 9:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 10:case 11:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 12:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 13:r.addTask(a[s-1],a[s]),this.$=`task`;break}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},t(n,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:r,12:i,14:a,16:o,17:s,18:c},t(n,[2,7],{1:[2,1]}),t(n,[2,3]),{9:15,11:r,12:i,14:a,16:o,17:s,18:c},t(n,[2,5]),t(n,[2,6]),t(n,[2,8]),{13:[1,16]},{15:[1,17]},t(n,[2,11]),t(n,[2,12]),{19:[1,18]},t(n,[2,4]),t(n,[2,9]),t(n,[2,10]),t(n,[2,13])],defaultActions:{},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ import{n as e}from"./src-CbbwOucf.js";import{B as t,C as n,V as r,W as i,_ as a,a as o,b as s,c,v as l}from"./chunk-ICPOFSXX-CWTnyt4f.js";import{C as u}from"./src-DQu6B2Zu.js";import{t as d}from"./arc-BT8Hati9.js";import{t as f}from"./chunk-FMBD7UC4-4T3_kXBp.js";import{a as p,n as m,o as h,s as g}from"./chunk-YZCP3GAM-DYVfdP_M.js";var _=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,8,10,11,12,14,16,17,18],r=[1,9],i=[1,10],a=[1,11],o=[1,12],s=[1,13],c=[1,14],l={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:`error`,4:`journey`,6:`EOF`,8:`SPACE`,10:`NEWLINE`,11:`title`,12:`acc_title`,13:`acc_title_value`,14:`acc_descr`,15:`acc_descr_value`,16:`acc_descr_multiline_value`,17:`section`,18:`taskName`,19:`taskData`},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 9:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 10:case 11:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 12:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 13:r.addTask(a[s-1],a[s]),this.$=`task`;break}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},t(n,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:r,12:i,14:a,16:o,17:s,18:c},t(n,[2,7],{1:[2,1]}),t(n,[2,3]),{9:15,11:r,12:i,14:a,16:o,17:s,18:c},t(n,[2,5]),t(n,[2,6]),t(n,[2,8]),{13:[1,16]},{15:[1,17]},t(n,[2,11]),t(n,[2,12]),{19:[1,18]},t(n,[2,4]),t(n,[2,9]),t(n,[2,10]),t(n,[2,13])],defaultActions:{},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};l.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{n as e,r as t}from"./src-CbbwOucf.js";import{$ as n,K as r,L as i,Q as a,b as o,d as s,tt as c}from"./chunk-ICPOFSXX-CIVLR_5F.js";import"./chunk-5PVQY5BW-yDTy3kh2.js";import{t as l}from"./chunk-426QAEUC-CGz89IOu.js";import"./chunk-U2HBQHQK-BRyN8JBd.js";import{t as u}from"./chunk-FMBD7UC4-4T3_kXBp.js";import"./chunk-ZZ45TVLE-D2TDKoTv.js";import"./chunk-X2U36JSP-o7MzjrQ3.js";import{a as d,c as f,i as p}from"./chunk-5FUZZQ4R-qTd1X-_B.js";import{n as m,t as h}from"./chunk-XPW4576I-90AsGlZ-.js";var g=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],d=[1,24],f=[1,25],p=[6,7,11],m=[1,31],h=[6,7,11,24],g=[1,6,13,16,17,20,23],_=[1,35],v=[1,36],y=[1,6,7,11,13,16,17,20,23],b=[1,38],x={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`KANBAN`,11:`EOF`,13:`SPACELIST`,16:`ICON`,17:`CLASS`,20:`NODE_DSTART`,21:`NODE_DESCR`,22:`NODE_DEND`,23:`NODE_ID`,24:`SHAPE_DATA`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s-1].id),r.addNode(a[s-2].length,a[s-1].id,a[s-1].descr,a[s-1].type,a[s]);break;case 16:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 17:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 18:case 23:r.decorateNode({class:a[s]});break;case 19:r.getLogger().trace(`SPACELIST`);break;case 20:r.getLogger().trace(`Node: `,a[s-1].id),r.addNode(0,a[s-1].id,a[s-1].descr,a[s-1].type,a[s]);break;case 21:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 22:r.decorateNode({icon:a[s]});break;case 27:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 28:this.$={id:a[s],descr:a[s],type:0};break;case 29:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 30:this.$=a[s-1]+a[s];break;case 31:this.$=a[s];break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},t(l,[2,3]),{1:[2,2]},t(l,[2,4]),t(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},{6:r,9:22,12:11,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},{6:u,7:d,10:23,11:f},t(p,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:s,23:c}),t(p,[2,19]),t(p,[2,21],{15:30,24:m}),t(p,[2,22]),t(p,[2,23]),t(h,[2,25]),t(h,[2,26]),t(h,[2,28],{20:[1,32]}),{21:[1,33]},{6:u,7:d,10:34,11:f},{1:[2,7],6:r,12:21,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},t(g,[2,14],{7:_,11:v}),t(y,[2,8]),t(y,[2,9]),t(y,[2,10]),t(p,[2,16],{15:37,24:m}),t(p,[2,17]),t(p,[2,18]),t(p,[2,20],{24:b}),t(h,[2,31]),{21:[1,39]},{22:[1,40]},t(g,[2,13],{7:_,11:v}),t(y,[2,11]),t(y,[2,12]),t(p,[2,15],{24:b}),t(h,[2,30]),{22:[1,41]},t(h,[2,27]),t(h,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ import{n as e,r as t}from"./src-CbbwOucf.js";import{$ as n,K as r,L as i,Q as a,b as o,d as s,tt as c}from"./chunk-ICPOFSXX-CWTnyt4f.js";import"./chunk-5PVQY5BW-Dge_IsSQ.js";import{t as l}from"./chunk-426QAEUC-w5g8JVfo.js";import"./chunk-U2HBQHQK-Dl3oREYn.js";import{t as u}from"./chunk-FMBD7UC4-4T3_kXBp.js";import"./chunk-ZZ45TVLE-BCfEDLCW.js";import"./chunk-X2U36JSP-B0AOCHxY.js";import{a as d,c as f,i as p}from"./chunk-5FUZZQ4R-BQWt7CWo.js";import{n as m,t as h}from"./chunk-XPW4576I-90AsGlZ-.js";var g=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],d=[1,24],f=[1,25],p=[6,7,11],m=[1,31],h=[6,7,11,24],g=[1,6,13,16,17,20,23],_=[1,35],v=[1,36],y=[1,6,7,11,13,16,17,20,23],b=[1,38],x={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`KANBAN`,11:`EOF`,13:`SPACELIST`,16:`ICON`,17:`CLASS`,20:`NODE_DSTART`,21:`NODE_DESCR`,22:`NODE_DEND`,23:`NODE_ID`,24:`SHAPE_DATA`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s-1].id),r.addNode(a[s-2].length,a[s-1].id,a[s-1].descr,a[s-1].type,a[s]);break;case 16:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 17:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 18:case 23:r.decorateNode({class:a[s]});break;case 19:r.getLogger().trace(`SPACELIST`);break;case 20:r.getLogger().trace(`Node: `,a[s-1].id),r.addNode(0,a[s-1].id,a[s-1].descr,a[s-1].type,a[s]);break;case 21:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 22:r.decorateNode({icon:a[s]});break;case 27:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 28:this.$={id:a[s],descr:a[s],type:0};break;case 29:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 30:this.$=a[s-1]+a[s];break;case 31:this.$=a[s];break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},t(l,[2,3]),{1:[2,2]},t(l,[2,4]),t(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},{6:r,9:22,12:11,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},{6:u,7:d,10:23,11:f},t(p,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:s,23:c}),t(p,[2,19]),t(p,[2,21],{15:30,24:m}),t(p,[2,22]),t(p,[2,23]),t(h,[2,25]),t(h,[2,26]),t(h,[2,28],{20:[1,32]}),{21:[1,33]},{6:u,7:d,10:34,11:f},{1:[2,7],6:r,12:21,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},t(g,[2,14],{7:_,11:v}),t(y,[2,8]),t(y,[2,9]),t(y,[2,10]),t(p,[2,16],{15:37,24:m}),t(p,[2,17]),t(p,[2,18]),t(p,[2,20],{24:b}),t(h,[2,31]),{21:[1,39]},{22:[1,40]},t(g,[2,13],{7:_,11:v}),t(y,[2,11]),t(y,[2,12]),t(p,[2,15],{24:b}),t(h,[2,30]),{22:[1,41]},t(h,[2,27]),t(h,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};x.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{ei as e}from"./dist-wye24uC6.js";var t={general:{id:`Weq9zb`},workspace:{id:`pmUArF`},search:{id:`A1taO8`},wysiwyg:{id:`ur2XSb`},source:{id:`tiWX6q`},navigation:{id:`LXfNU-`}},n=Object.keys(t),r=[{id:`command-palette`,category:`general`,title:{id:`ZjtgI-`},description:{id:`PZt1uN`},scope:{id:`2GT3Hf`},bindings:[{mac:`⌘ K`,windowsLinux:`Ctrl K`,match:{key:`k`,mod:!0,allowExtraModifiers:!0}}]},{id:`settings`,category:`general`,title:{id:`Tz0i8g`},description:{id:`6m_7We`},scope:{id:`zL0LPh`},bindings:[{mac:`⌘ ,`,windowsLinux:`Ctrl ,`,match:{key:`,`,anyMod:!0}}]},{id:`new-item`,category:`general`,title:{id:`HdkSiO`},description:{id:`KkEAud`},scope:{id:`zL0LPh`},bindings:[{mac:`⌘ N`,windowsLinux:`Ctrl N`,match:{key:`n`,mod:!0}},{mac:`⌥⌘ N`,windowsLinux:`Ctrl Alt N`,match:{key:`n`,anyMod:!0,altKey:!0,allowExtraModifiers:!0}}]},{id:`new-folder`,category:`general`,title:{id:`96G6Re`},description:{id:`3cOo2C`},scope:{id:`cZI5AL`},bindings:[{mac:`⇧⌘ N`,windowsLinux:`Ctrl Shift N`}]},{id:`toggle-files-sidebar`,category:`general`,title:{id:`rtdR4v`},description:{id:`EbZT7P`},scope:{id:`2GT3Hf`},bindings:[{mac:`⌥⌘ S`,windowsLinux:`Ctrl Alt S`,match:{code:`KeyS`,anyMod:!0,altKey:!0,allowExtraModifiers:!0}}]},{id:`toggle-document-panel`,category:`general`,title:{id:`lkYioO`},description:{id:`It9ARY`},scope:{id:`2GT3Hf`},bindings:[{mac:`⌥⌘ B`,windowsLinux:`Ctrl Alt B`,match:{code:`KeyB`,anyMod:!0,altKey:!0,allowExtraModifiers:!0}}]},{id:`toggle-terminal-panel`,category:`general`,title:{id:`dPOFid`},description:{id:`fBaTkM`},scope:{id:`cZI5AL`},bindings:[{mac:`⌘ J`,windowsLinux:`Ctrl J`,match:{key:`j`,mod:!0}}]},{id:`open-ask-ai`,category:`general`,title:{id:`xWEvuo`},description:{id:`5OTgC7`},scope:{id:`cZI5AL`},bindings:[{mac:`⌘ L`,windowsLinux:`Ctrl L`,match:{key:`l`,mod:!0}}]},{id:`tab-new`,category:`navigation`,title:{id:`3YvS-c`},description:{id:`t6w1cq`},scope:{id:`2GT3Hf`},bindings:[{mac:`⌘ T`,windowsLinux:`Ctrl T`,match:{key:`t`,mod:!0}}]},{id:`tab-next`,category:`navigation`,title:{id:`l46MqT`},description:{id:`thnPBX`},scope:{id:`2GT3Hf`},bindings:[{mac:`⌃ Tab`,windowsLinux:`Ctrl Tab`,match:{key:`Tab`,ctrlKey:!0}}]},{id:`tab-previous`,category:`navigation`,title:{id:`Mh_4hd`},description:{id:`DJd000`},scope:{id:`2GT3Hf`},bindings:[{mac:`⌃⇧ Tab`,windowsLinux:`Ctrl Shift Tab`,match:{key:`Tab`,ctrlKey:!0,shiftKey:!0}}]},{id:`tab-jump`,category:`navigation`,title:{id:`_6FVBz`},description:{id:`wGSHzy`},scope:{id:`2GT3Hf`},bindings:[{mac:`⌘ 1-8`,windowsLinux:`Ctrl 1-8`}]},{id:`tab-jump-last`,category:`navigation`,title:{id:`N1KkEO`},description:{id:`ZQJ1IV`},scope:{id:`2GT3Hf`},bindings:[{mac:`⌘ 9`,windowsLinux:`Ctrl 9`}]},{id:`tab-reopen-closed`,category:`navigation`,title:{id:`hpzRlK`},description:{id:`E5WeIy`},scope:{id:`2GT3Hf`},bindings:[{mac:`⇧⌘ T`,windowsLinux:`Ctrl Shift T`,match:{key:`t`,mod:!0,shiftKey:!0}}]},{id:`open-folder`,category:`workspace`,title:{id:`PVUn_c`},description:{id:`VYd_YA`},scope:{id:`cZI5AL`},bindings:[{mac:`⌘ O`,windowsLinux:`Ctrl O`}]},{id:`switch-project`,category:`workspace`,title:{id:`xaDWAI`},description:{id:`oS1YpJ`},scope:{id:`cZI5AL`},bindings:[{mac:`⇧⌘ P`,windowsLinux:`Ctrl Shift P`}]},{id:`file-tree-duplicate`,category:`workspace`,title:{id:`ot5BRK`},description:{id:`mxY24F`},scope:{id:`vbK_ZG`},bindings:[{mac:`⌘ D`,windowsLinux:`Ctrl D`}]},{id:`file-tree-select-all`,category:`workspace`,title:{id:`1d1F11`},description:{id:`4v2Yyz`},scope:{id:`vbK_ZG`},bindings:[{mac:`⌘ A`,windowsLinux:`Ctrl A`}]},{id:`find`,category:`search`,title:{id:`KujtjC`},description:{id:`8OGgNM`},scope:{id:`ur2XSb`},bindings:[{mac:`⌘ F`,windowsLinux:`Ctrl F`,match:{key:`f`,mod:!0,allowShiftKey:!0}}]},{id:`replace`,category:`search`,title:{id:`fqSfXY`},description:{id:`wT4iQr`},scope:{id:`ur2XSb`},bindings:[{mac:`⌥⌘ F`,windowsLinux:`Ctrl H`,match:{mac:{key:`f`,mod:!0,altKey:!0},windowsLinux:{key:`h`,mod:!0}}}]},{id:`find-next`,category:`search`,title:{id:`v7lbnC`},description:{id:`PR9FSv`},scope:{id:`EqtBXb`},bindings:[{mac:`⌘ G`,windowsLinux:`Ctrl G`,match:{key:`g`,mod:!0}},{mac:`F3`,windowsLinux:`F3`,match:{key:`F3`}}]},{id:`find-previous`,category:`search`,title:{id:`PB4upl`},description:{id:`PgzIpb`},scope:{id:`EqtBXb`},bindings:[{mac:`⇧⌘ G`,windowsLinux:`Ctrl Shift G`,match:{key:`g`,mod:!0,shiftKey:!0}},{mac:`Shift F3`,windowsLinux:`Shift F3`,match:{key:`F3`,shiftKey:!0}}]},{id:`find-field-navigation`,category:`search`,title:{id:`yMgL_E`},description:{id:`5ALjdr`},scope:{id:`BgV29F`},bindings:[{mac:`Enter / Shift Enter`,windowsLinux:`Enter / Shift Enter`}]},{id:`replace-current-from-field`,category:`search`,title:{id:`LDuM35`},description:{id:`EZVxVz`},scope:{id:`rZVMkf`},bindings:[{mac:`Enter`,windowsLinux:`Enter`}]},{id:`format-bold`,category:`wysiwyg`,title:{id:`KmydK6`},description:{id:`fbdLmk`},scope:{id:`ur2XSb`},bindings:[{mac:`⌘ B`,windowsLinux:`Ctrl B`}]},{id:`format-italic`,category:`wysiwyg`,title:{id:`pzutoc`},description:{id:`TLIO3j`},scope:{id:`ur2XSb`},bindings:[{mac:`⌘ I`,windowsLinux:`Ctrl I`}]},{id:`format-underline`,category:`wysiwyg`,title:{id:`YyXtnN`},description:{id:`Okd2Xv`},scope:{id:`ur2XSb`},bindings:[{mac:`⌘ U`,windowsLinux:`Ctrl U`}]},{id:`format-strike`,category:`wysiwyg`,title:{id:`WhOsNE`},description:{id:`HCn0Ay`},scope:{id:`ur2XSb`},bindings:[{mac:`⇧⌘ X`,windowsLinux:`Ctrl Shift X`}]},{id:`format-inline-code`,category:`wysiwyg`,title:{id:`OX2Neh`},description:{id:`mo22UP`},scope:{id:`ur2XSb`},bindings:[{mac:`⌘ E`,windowsLinux:`Ctrl E`}]},{id:`format-highlight`,category:`wysiwyg`,title:{id:`gtEbeW`},description:{id:`Eji13z`},scope:{id:`ur2XSb`},bindings:[{mac:`⇧⌘ H`,windowsLinux:`Ctrl Shift H`}]},{id:`edit-with-ai`,category:`general`,title:{id:`G4-bgo`},description:{id:`a3H_MR`},scope:{id:`C62P6b`},bindings:[{mac:`⇧⌘ I`,windowsLinux:`Ctrl Shift I`,match:{key:`i`,mod:!0,shiftKey:!0}}]},{id:`history-undo-redo`,category:`wysiwyg`,title:{id:`i9OyGp`},description:{id:`lbkOif`},scope:{id:`ur2XSb`},bindings:[{mac:`⌘ Z`,windowsLinux:`Ctrl Z`},{mac:`⇧⌘ Z / ⌘ Y`,windowsLinux:`Ctrl Shift Z / Ctrl Y`}]},{id:`heading-paragraph`,category:`wysiwyg`,title:{id:`bkQRMh`},description:{id:`rgPqOw`},scope:{id:`ur2XSb`},bindings:[{mac:`⌥⌘ 0`,windowsLinux:`Ctrl Alt 0`}]},{id:`heading-levels`,category:`wysiwyg`,title:{id:`q_z77Z`},description:{id:`8Jm2EP`},scope:{id:`ur2XSb`},bindings:[{mac:`⌥⌘ 1-6`,windowsLinux:`Ctrl Alt 1-6`}]},{id:`list-bullet`,category:`wysiwyg`,title:{id:`ijLc3m`},description:{id:`By-7Pn`},scope:{id:`ur2XSb`},bindings:[{mac:`⇧⌘ 8`,windowsLinux:`Ctrl Shift 8`}]},{id:`list-ordered`,category:`wysiwyg`,title:{id:`iSQTsg`},description:{id:`ou1hFW`},scope:{id:`ur2XSb`},bindings:[{mac:`⇧⌘ 7`,windowsLinux:`Ctrl Shift 7`}]},{id:`list-task`,category:`wysiwyg`,title:{id:`E1_c72`},description:{id:`-slrNR`},scope:{id:`ur2XSb`},bindings:[{mac:`⇧⌘ 9`,windowsLinux:`Ctrl Shift 9`}]},{id:`code-block`,category:`wysiwyg`,title:{id:`4A3Yzu`},description:{id:`pTPqMK`},scope:{id:`ur2XSb`},bindings:[{mac:`⌥⌘ C`,windowsLinux:`Ctrl Alt C`}]},{id:`hard-break`,category:`wysiwyg`,title:{id:`-3ois8`},description:{id:`vDXqVv`},scope:{id:`ur2XSb`},bindings:[{mac:`Shift Enter`,windowsLinux:`Shift Enter`},{mac:`⌘ Enter`,windowsLinux:`Ctrl Enter`}]},{id:`move-block`,category:`wysiwyg`,title:{id:`f1XQyZ`},description:{id:`zQBg2C`},scope:{id:`ur2XSb`},bindings:[{mac:`⇧⌘ ↑`,windowsLinux:`Ctrl Shift ↑`},{mac:`⇧⌘ ↓`,windowsLinux:`Ctrl Shift ↓`}]},{id:`list-indent`,category:`wysiwyg`,title:{id:`G0YZ-I`},description:{id:`5GKMSz`},scope:{id:`ynIa4S`},bindings:[{mac:`Tab`,windowsLinux:`Tab`},{mac:`Shift Tab`,windowsLinux:`Shift Tab`}]},{id:`list-split-item`,category:`wysiwyg`,title:{id:`neRy3o`},description:{id:`NpC29w`},scope:{id:`ynIa4S`},bindings:[{mac:`Enter`,windowsLinux:`Enter`}]},{id:`table-cell-navigation`,category:`wysiwyg`,title:{id:`K8-WWn`},description:{id:`4NC2Ym`},scope:{id:`l1aQKz`},bindings:[{mac:`Tab`,windowsLinux:`Tab`},{mac:`Shift Tab`,windowsLinux:`Shift Tab`}]},{id:`table-delete-selection`,category:`wysiwyg`,title:{id:`881Uwh`},description:{id:`YEP3X2`},scope:{id:`99eR72`},bindings:[{mac:`Backspace / Delete`,windowsLinux:`Backspace / Delete`},{mac:`⌘ Backspace / ⌘ Delete`,windowsLinux:`Ctrl Backspace / Ctrl Delete`}]},{id:`delete-atom`,category:`wysiwyg`,title:{id:`636K3K`},description:{id:`oXKEsy`},scope:{id:`ur2XSb`},bindings:[{mac:`Backspace`,windowsLinux:`Backspace`},{mac:`Delete`,windowsLinux:`Delete`}]},{id:`slash-menu`,category:`navigation`,title:{id:`shNd9t`},description:{id:`8PmoQF`},scope:{id:`ur2XSb`},bindings:[{mac:`/`,windowsLinux:`/`}]},{id:`suggestion-navigation`,category:`navigation`,title:{id:`riqekz`},description:{id:`OiHJdA`},scope:{id:`y5FUYi`},bindings:[{mac:`↑ / ↓`,windowsLinux:`↑ / ↓`},{mac:`Enter / Tab`,windowsLinux:`Enter / Tab`},{mac:`Esc`,windowsLinux:`Esc`}]},{id:`component-navigation`,category:`navigation`,title:{id:`rwrPbS`},description:{id:`0s8-e8`},scope:{id:`ur2XSb`},bindings:[{mac:`↑ / ↓ / ← / →`,windowsLinux:`↑ / ↓ / ← / →`},{mac:`Enter / Esc`,windowsLinux:`Enter / Esc`}]},{id:`source-indent`,category:`source`,title:{id:`fwhX-N`},description:{id:`skf5Ix`},scope:{id:`tiWX6q`},bindings:[{mac:`Tab`,windowsLinux:`Tab`},{mac:`Shift Tab`,windowsLinux:`Shift Tab`}]},{id:`source-navigation`,category:`source`,title:{id:`qSKu2v`},description:{id:`gITz7o`},scope:{id:`tiWX6q`},bindings:[{mac:`Arrow keys / Option Arrow / Command Arrow`,windowsLinux:`Arrow keys / Ctrl Arrow / Home / End`},{mac:`Page Up / Page Down`,windowsLinux:`Page Up / Page Down`},{mac:`Shift with movement keys`,windowsLinux:`Shift with movement keys`}]},{id:`source-editing`,category:`source`,title:{id:`pFagOn`},description:{id:`MGb89P`},scope:{id:`tiWX6q`},bindings:[{mac:`Enter / Shift Enter / ⌘ Enter`,windowsLinux:`Enter / Shift Enter / Ctrl Enter`},{mac:`Backspace / Delete`,windowsLinux:`Backspace / Delete`},{mac:`⌥ Backspace / ⌥ Delete`,windowsLinux:`Ctrl Backspace / Ctrl Delete`},{mac:`⌥ ↑ / ⌥ ↓`,windowsLinux:`Alt ↑ / Alt ↓`},{mac:`⇧⌥ ↑ / ⇧⌥ ↓`,windowsLinux:`Shift Alt ↑ / Shift Alt ↓`},{mac:`⇧⌘ K`,windowsLinux:`Ctrl Shift K`}]},{id:`source-history`,category:`source`,title:{id:`4Sxexw`},description:{id:`r2huLx`},scope:{id:`tiWX6q`},bindings:[{mac:`⌘ Z`,windowsLinux:`Ctrl Z`},{mac:`⇧⌘ Z`,windowsLinux:`Ctrl Y / Ctrl Shift Z`},{mac:`⌘ U / ⇧⌘ U`,windowsLinux:`Ctrl U / Alt U`}]},{id:`source-select-all`,category:`source`,title:{id:`a-cKXz`},description:{id:`UTNVyS`},scope:{id:`tiWX6q`},bindings:[{mac:`⌘ A`,windowsLinux:`Ctrl A`}]},{id:`source-multi-cursor`,category:`source`,title:{id:`mg0YGL`},description:{id:`lWNpNB`},scope:{id:`tiWX6q`},bindings:[{mac:`⌥⌘ ↑ / ⌥⌘ ↓`,windowsLinux:`Ctrl Alt ↑ / Ctrl Alt ↓`},{mac:`⇧⌘ L`,windowsLinux:`Ctrl Shift L`}]},{id:`source-search`,category:`source`,title:{id:`7OhaRy`},description:{id:`mwMF9u`},scope:{id:`tiWX6q`},bindings:[{mac:`⌘ F`,windowsLinux:`Ctrl F`}]},{id:`source-toggle-comment`,category:`source`,title:{id:`RfaEio`},description:{id:`MrwYIK`},scope:{id:`tiWX6q`},bindings:[{mac:`⌘ /`,windowsLinux:`Ctrl /`},{mac:`Shift Alt A`,windowsLinux:`Shift Alt A`}]},{id:`source-select-next-occurrence`,category:`source`,title:{id:`hY8pka`},description:{id:`XnlF3W`},scope:{id:`tiWX6q`},bindings:[{mac:`⌘ D`,windowsLinux:`Ctrl D`}]},{id:`source-goto-line`,category:`source`,title:{id:`7FamGZ`},description:{id:`yHikCO`},scope:{id:`tiWX6q`},bindings:[{mac:`⌥⌘ G`,windowsLinux:`Ctrl Alt G`}]},{id:`source-find-results`,category:`source`,title:{id:`rJVoVX`},description:{id:`TwYboS`},scope:{id:`qyLmWw`},bindings:[{mac:`⌘ G / ⇧⌘ G`,windowsLinux:`Ctrl G / Ctrl Shift G`},{mac:`F3 / Shift F3`,windowsLinux:`F3 / Shift F3`},{mac:`Esc`,windowsLinux:`Esc`}]},{id:`source-folding`,category:`source`,title:{id:`bcjYUA`},description:{id:`VZGh8G`},scope:{id:`tiWX6q`},bindings:[{mac:`⌥⌘ [ / ⌥⌘ ]`,windowsLinux:`Ctrl Shift [ / Ctrl Shift ]`},{mac:`Ctrl Alt [ / Ctrl Alt ]`,windowsLinux:`Ctrl Alt [ / Ctrl Alt ]`}]},{id:`source-completion`,category:`source`,title:{id:`VuxVSP`},description:{id:`Ehkru0`},scope:{id:`tiWX6q`},bindings:[{mac:`Ctrl Space`,windowsLinux:`Ctrl Space`},{mac:"⌥ ` / ⌥ I",windowsLinux:`Ctrl Space`},{mac:`↑ / ↓ / Page Up / Page Down`,windowsLinux:`↑ / ↓ / Page Up / Page Down`},{mac:`Enter / Esc`,windowsLinux:`Enter / Esc`}]},{id:`source-tab-focus-mode`,category:`source`,title:{id:`eG8Jsg`},description:{id:`qRZh7J`},scope:{id:`tiWX6q`},bindings:[{mac:`Shift Alt M`,windowsLinux:`Ctrl M`}]},{id:`source-lint-panel`,category:`source`,title:{id:`yvG-l1`},description:{id:`kCqCyf`},scope:{id:`tiWX6q`},bindings:[{mac:`⇧⌘ M`,windowsLinux:`Ctrl Shift M`}]},{id:`source-next-diagnostic`,category:`source`,title:{id:`M1OfV9`},description:{id:`ExPiRQ`},scope:{id:`tiWX6q`},bindings:[{mac:`F8`,windowsLinux:`F8`}]}];function i(e){let t=r.find(t=>t.id===e);if(!t)throw Error(`Unknown keyboard shortcut: ${e}`);return t}function a(){return e()?`mac`:`windowsLinux`}var o=[[/⌘/g,` Command `],[/⌥/g,` Option `],[/⇧/g,` Shift `],[/⌃/g,` Control `],[/↑/g,` Up Arrow `],[/↓/g,` Down Arrow `],[/←/g,` Left Arrow `],[/→/g,` Right Arrow `],[/\[/g,` Left Bracket `],[/\]/g,` Right Bracket `],[/,/g,` Comma `],[/\bCtrl\b/g,` Control `]];function s(e){return e.split(` / `).map(e=>o.reduce((e,[t,n])=>e.replace(t,n),e).replaceAll(/\s+/g,` `).trim()).join(` or `)}function c(e,t=a()){return t===`mac`?e.mac:e.windowsLinux}function l(e,t=a()){return s(c(e,t))}function u(e,t=a()){return c(i(e).bindings[0],t)}function d(e,t=a()){return l(i(e).bindings[0],t)}function f(e){if(!e||typeof e!=`object`)return!1;if(`isContentEditable`in e&&e.isContentEditable===!0)return!0;if(!(`tagName`in e))return!1;let t=String(e.tagName).toUpperCase();return t===`INPUT`||t===`TEXTAREA`}function p(e,t,n=a()){return i(t).bindings.some(t=>{let r=m(t.match,n);return r?g(e,r,n):!1})}function m(e,t){return e?h(e)?e:e[t]??null:null}function h(e){return`key`in e||`code`in e}function g(e,t,n){if(t.key&&e.key.toLowerCase()!==t.key.toLowerCase()||t.code&&e.code!==t.code)return!1;let r=t.metaKey??(t.mod?n===`mac`:!1),i=t.ctrlKey??(t.mod?n===`windowsLinux`:!1),a=t.altKey??!1,o=t.shiftKey??!1;return t.allowExtraModifiers?!(t.anyMod&&!e.metaKey&&!e.ctrlKey||r&&!e.metaKey||i&&!e.ctrlKey||a&&!e.altKey||o&&!e.shiftKey):(t.anyMod?e.metaKey||e.ctrlKey:e.metaKey===r&&e.ctrlKey===i)&&e.altKey===a&&(t.allowShiftKey||!!e.shiftKey===o)}export{c as a,f as c,u as i,p as l,t as n,d as o,n as r,s,r as t};
1
+ import{ei as e}from"./dist-BGXCkPeI.js";var t={general:{id:`Weq9zb`},workspace:{id:`pmUArF`},search:{id:`A1taO8`},wysiwyg:{id:`ur2XSb`},source:{id:`tiWX6q`},navigation:{id:`LXfNU-`}},n=Object.keys(t),r=[{id:`command-palette`,category:`general`,title:{id:`ZjtgI-`},description:{id:`PZt1uN`},scope:{id:`2GT3Hf`},bindings:[{mac:`⌘ K`,windowsLinux:`Ctrl K`,match:{key:`k`,mod:!0,allowExtraModifiers:!0}}]},{id:`settings`,category:`general`,title:{id:`Tz0i8g`},description:{id:`6m_7We`},scope:{id:`zL0LPh`},bindings:[{mac:`⌘ ,`,windowsLinux:`Ctrl ,`,match:{key:`,`,anyMod:!0}}]},{id:`new-item`,category:`general`,title:{id:`HdkSiO`},description:{id:`KkEAud`},scope:{id:`zL0LPh`},bindings:[{mac:`⌘ N`,windowsLinux:`Ctrl N`,match:{key:`n`,mod:!0}},{mac:`⌥⌘ N`,windowsLinux:`Ctrl Alt N`,match:{key:`n`,anyMod:!0,altKey:!0,allowExtraModifiers:!0}}]},{id:`new-folder`,category:`general`,title:{id:`96G6Re`},description:{id:`3cOo2C`},scope:{id:`cZI5AL`},bindings:[{mac:`⇧⌘ N`,windowsLinux:`Ctrl Shift N`}]},{id:`toggle-files-sidebar`,category:`general`,title:{id:`rtdR4v`},description:{id:`EbZT7P`},scope:{id:`2GT3Hf`},bindings:[{mac:`⌥⌘ S`,windowsLinux:`Ctrl Alt S`,match:{code:`KeyS`,anyMod:!0,altKey:!0,allowExtraModifiers:!0}}]},{id:`toggle-document-panel`,category:`general`,title:{id:`lkYioO`},description:{id:`It9ARY`},scope:{id:`2GT3Hf`},bindings:[{mac:`⌥⌘ B`,windowsLinux:`Ctrl Alt B`,match:{code:`KeyB`,anyMod:!0,altKey:!0,allowExtraModifiers:!0}}]},{id:`toggle-terminal-panel`,category:`general`,title:{id:`dPOFid`},description:{id:`fBaTkM`},scope:{id:`cZI5AL`},bindings:[{mac:`⌘ J`,windowsLinux:`Ctrl J`,match:{key:`j`,mod:!0}}]},{id:`open-ask-ai`,category:`general`,title:{id:`xWEvuo`},description:{id:`5OTgC7`},scope:{id:`cZI5AL`},bindings:[{mac:`⌘ L`,windowsLinux:`Ctrl L`,match:{key:`l`,mod:!0}}]},{id:`tab-new`,category:`navigation`,title:{id:`3YvS-c`},description:{id:`t6w1cq`},scope:{id:`2GT3Hf`},bindings:[{mac:`⌘ T`,windowsLinux:`Ctrl T`,match:{key:`t`,mod:!0}}]},{id:`tab-next`,category:`navigation`,title:{id:`l46MqT`},description:{id:`thnPBX`},scope:{id:`2GT3Hf`},bindings:[{mac:`⌃ Tab`,windowsLinux:`Ctrl Tab`,match:{key:`Tab`,ctrlKey:!0}}]},{id:`tab-previous`,category:`navigation`,title:{id:`Mh_4hd`},description:{id:`DJd000`},scope:{id:`2GT3Hf`},bindings:[{mac:`⌃⇧ Tab`,windowsLinux:`Ctrl Shift Tab`,match:{key:`Tab`,ctrlKey:!0,shiftKey:!0}}]},{id:`tab-jump`,category:`navigation`,title:{id:`_6FVBz`},description:{id:`wGSHzy`},scope:{id:`2GT3Hf`},bindings:[{mac:`⌘ 1-8`,windowsLinux:`Ctrl 1-8`}]},{id:`tab-jump-last`,category:`navigation`,title:{id:`N1KkEO`},description:{id:`ZQJ1IV`},scope:{id:`2GT3Hf`},bindings:[{mac:`⌘ 9`,windowsLinux:`Ctrl 9`}]},{id:`tab-reopen-closed`,category:`navigation`,title:{id:`hpzRlK`},description:{id:`E5WeIy`},scope:{id:`2GT3Hf`},bindings:[{mac:`⇧⌘ T`,windowsLinux:`Ctrl Shift T`,match:{key:`t`,mod:!0,shiftKey:!0}}]},{id:`open-folder`,category:`workspace`,title:{id:`PVUn_c`},description:{id:`VYd_YA`},scope:{id:`cZI5AL`},bindings:[{mac:`⌘ O`,windowsLinux:`Ctrl O`}]},{id:`switch-project`,category:`workspace`,title:{id:`xaDWAI`},description:{id:`oS1YpJ`},scope:{id:`cZI5AL`},bindings:[{mac:`⇧⌘ P`,windowsLinux:`Ctrl Shift P`}]},{id:`file-tree-duplicate`,category:`workspace`,title:{id:`ot5BRK`},description:{id:`mxY24F`},scope:{id:`vbK_ZG`},bindings:[{mac:`⌘ D`,windowsLinux:`Ctrl D`}]},{id:`file-tree-select-all`,category:`workspace`,title:{id:`1d1F11`},description:{id:`4v2Yyz`},scope:{id:`vbK_ZG`},bindings:[{mac:`⌘ A`,windowsLinux:`Ctrl A`}]},{id:`find`,category:`search`,title:{id:`KujtjC`},description:{id:`8OGgNM`},scope:{id:`ur2XSb`},bindings:[{mac:`⌘ F`,windowsLinux:`Ctrl F`,match:{key:`f`,mod:!0,allowShiftKey:!0}}]},{id:`replace`,category:`search`,title:{id:`fqSfXY`},description:{id:`wT4iQr`},scope:{id:`ur2XSb`},bindings:[{mac:`⌥⌘ F`,windowsLinux:`Ctrl H`,match:{mac:{key:`f`,mod:!0,altKey:!0},windowsLinux:{key:`h`,mod:!0}}}]},{id:`find-next`,category:`search`,title:{id:`v7lbnC`},description:{id:`PR9FSv`},scope:{id:`EqtBXb`},bindings:[{mac:`⌘ G`,windowsLinux:`Ctrl G`,match:{key:`g`,mod:!0}},{mac:`F3`,windowsLinux:`F3`,match:{key:`F3`}}]},{id:`find-previous`,category:`search`,title:{id:`PB4upl`},description:{id:`PgzIpb`},scope:{id:`EqtBXb`},bindings:[{mac:`⇧⌘ G`,windowsLinux:`Ctrl Shift G`,match:{key:`g`,mod:!0,shiftKey:!0}},{mac:`Shift F3`,windowsLinux:`Shift F3`,match:{key:`F3`,shiftKey:!0}}]},{id:`find-field-navigation`,category:`search`,title:{id:`yMgL_E`},description:{id:`5ALjdr`},scope:{id:`BgV29F`},bindings:[{mac:`Enter / Shift Enter`,windowsLinux:`Enter / Shift Enter`}]},{id:`replace-current-from-field`,category:`search`,title:{id:`LDuM35`},description:{id:`EZVxVz`},scope:{id:`rZVMkf`},bindings:[{mac:`Enter`,windowsLinux:`Enter`}]},{id:`format-bold`,category:`wysiwyg`,title:{id:`KmydK6`},description:{id:`fbdLmk`},scope:{id:`ur2XSb`},bindings:[{mac:`⌘ B`,windowsLinux:`Ctrl B`}]},{id:`format-italic`,category:`wysiwyg`,title:{id:`pzutoc`},description:{id:`TLIO3j`},scope:{id:`ur2XSb`},bindings:[{mac:`⌘ I`,windowsLinux:`Ctrl I`}]},{id:`format-underline`,category:`wysiwyg`,title:{id:`YyXtnN`},description:{id:`Okd2Xv`},scope:{id:`ur2XSb`},bindings:[{mac:`⌘ U`,windowsLinux:`Ctrl U`}]},{id:`format-strike`,category:`wysiwyg`,title:{id:`WhOsNE`},description:{id:`HCn0Ay`},scope:{id:`ur2XSb`},bindings:[{mac:`⇧⌘ X`,windowsLinux:`Ctrl Shift X`}]},{id:`format-inline-code`,category:`wysiwyg`,title:{id:`OX2Neh`},description:{id:`mo22UP`},scope:{id:`ur2XSb`},bindings:[{mac:`⌘ E`,windowsLinux:`Ctrl E`}]},{id:`format-highlight`,category:`wysiwyg`,title:{id:`gtEbeW`},description:{id:`Eji13z`},scope:{id:`ur2XSb`},bindings:[{mac:`⇧⌘ H`,windowsLinux:`Ctrl Shift H`}]},{id:`edit-with-ai`,category:`general`,title:{id:`G4-bgo`},description:{id:`a3H_MR`},scope:{id:`C62P6b`},bindings:[{mac:`⇧⌘ I`,windowsLinux:`Ctrl Shift I`,match:{key:`i`,mod:!0,shiftKey:!0}}]},{id:`history-undo-redo`,category:`wysiwyg`,title:{id:`i9OyGp`},description:{id:`lbkOif`},scope:{id:`ur2XSb`},bindings:[{mac:`⌘ Z`,windowsLinux:`Ctrl Z`},{mac:`⇧⌘ Z / ⌘ Y`,windowsLinux:`Ctrl Shift Z / Ctrl Y`}]},{id:`heading-paragraph`,category:`wysiwyg`,title:{id:`bkQRMh`},description:{id:`rgPqOw`},scope:{id:`ur2XSb`},bindings:[{mac:`⌥⌘ 0`,windowsLinux:`Ctrl Alt 0`}]},{id:`heading-levels`,category:`wysiwyg`,title:{id:`q_z77Z`},description:{id:`8Jm2EP`},scope:{id:`ur2XSb`},bindings:[{mac:`⌥⌘ 1-6`,windowsLinux:`Ctrl Alt 1-6`}]},{id:`list-bullet`,category:`wysiwyg`,title:{id:`ijLc3m`},description:{id:`By-7Pn`},scope:{id:`ur2XSb`},bindings:[{mac:`⇧⌘ 8`,windowsLinux:`Ctrl Shift 8`}]},{id:`list-ordered`,category:`wysiwyg`,title:{id:`iSQTsg`},description:{id:`ou1hFW`},scope:{id:`ur2XSb`},bindings:[{mac:`⇧⌘ 7`,windowsLinux:`Ctrl Shift 7`}]},{id:`list-task`,category:`wysiwyg`,title:{id:`E1_c72`},description:{id:`-slrNR`},scope:{id:`ur2XSb`},bindings:[{mac:`⇧⌘ 9`,windowsLinux:`Ctrl Shift 9`}]},{id:`code-block`,category:`wysiwyg`,title:{id:`4A3Yzu`},description:{id:`pTPqMK`},scope:{id:`ur2XSb`},bindings:[{mac:`⌥⌘ C`,windowsLinux:`Ctrl Alt C`}]},{id:`hard-break`,category:`wysiwyg`,title:{id:`-3ois8`},description:{id:`vDXqVv`},scope:{id:`ur2XSb`},bindings:[{mac:`Shift Enter`,windowsLinux:`Shift Enter`},{mac:`⌘ Enter`,windowsLinux:`Ctrl Enter`}]},{id:`move-block`,category:`wysiwyg`,title:{id:`f1XQyZ`},description:{id:`zQBg2C`},scope:{id:`ur2XSb`},bindings:[{mac:`⇧⌘ ↑`,windowsLinux:`Ctrl Shift ↑`},{mac:`⇧⌘ ↓`,windowsLinux:`Ctrl Shift ↓`}]},{id:`list-indent`,category:`wysiwyg`,title:{id:`G0YZ-I`},description:{id:`5GKMSz`},scope:{id:`ynIa4S`},bindings:[{mac:`Tab`,windowsLinux:`Tab`},{mac:`Shift Tab`,windowsLinux:`Shift Tab`}]},{id:`list-split-item`,category:`wysiwyg`,title:{id:`neRy3o`},description:{id:`NpC29w`},scope:{id:`ynIa4S`},bindings:[{mac:`Enter`,windowsLinux:`Enter`}]},{id:`table-cell-navigation`,category:`wysiwyg`,title:{id:`K8-WWn`},description:{id:`4NC2Ym`},scope:{id:`l1aQKz`},bindings:[{mac:`Tab`,windowsLinux:`Tab`},{mac:`Shift Tab`,windowsLinux:`Shift Tab`}]},{id:`table-delete-selection`,category:`wysiwyg`,title:{id:`881Uwh`},description:{id:`YEP3X2`},scope:{id:`99eR72`},bindings:[{mac:`Backspace / Delete`,windowsLinux:`Backspace / Delete`},{mac:`⌘ Backspace / ⌘ Delete`,windowsLinux:`Ctrl Backspace / Ctrl Delete`}]},{id:`delete-atom`,category:`wysiwyg`,title:{id:`636K3K`},description:{id:`oXKEsy`},scope:{id:`ur2XSb`},bindings:[{mac:`Backspace`,windowsLinux:`Backspace`},{mac:`Delete`,windowsLinux:`Delete`}]},{id:`slash-menu`,category:`navigation`,title:{id:`shNd9t`},description:{id:`8PmoQF`},scope:{id:`ur2XSb`},bindings:[{mac:`/`,windowsLinux:`/`}]},{id:`suggestion-navigation`,category:`navigation`,title:{id:`riqekz`},description:{id:`OiHJdA`},scope:{id:`y5FUYi`},bindings:[{mac:`↑ / ↓`,windowsLinux:`↑ / ↓`},{mac:`Enter / Tab`,windowsLinux:`Enter / Tab`},{mac:`Esc`,windowsLinux:`Esc`}]},{id:`component-navigation`,category:`navigation`,title:{id:`rwrPbS`},description:{id:`0s8-e8`},scope:{id:`ur2XSb`},bindings:[{mac:`↑ / ↓ / ← / →`,windowsLinux:`↑ / ↓ / ← / →`},{mac:`Enter / Esc`,windowsLinux:`Enter / Esc`}]},{id:`source-indent`,category:`source`,title:{id:`fwhX-N`},description:{id:`skf5Ix`},scope:{id:`tiWX6q`},bindings:[{mac:`Tab`,windowsLinux:`Tab`},{mac:`Shift Tab`,windowsLinux:`Shift Tab`}]},{id:`source-navigation`,category:`source`,title:{id:`qSKu2v`},description:{id:`gITz7o`},scope:{id:`tiWX6q`},bindings:[{mac:`Arrow keys / Option Arrow / Command Arrow`,windowsLinux:`Arrow keys / Ctrl Arrow / Home / End`},{mac:`Page Up / Page Down`,windowsLinux:`Page Up / Page Down`},{mac:`Shift with movement keys`,windowsLinux:`Shift with movement keys`}]},{id:`source-editing`,category:`source`,title:{id:`pFagOn`},description:{id:`MGb89P`},scope:{id:`tiWX6q`},bindings:[{mac:`Enter / Shift Enter / ⌘ Enter`,windowsLinux:`Enter / Shift Enter / Ctrl Enter`},{mac:`Backspace / Delete`,windowsLinux:`Backspace / Delete`},{mac:`⌥ Backspace / ⌥ Delete`,windowsLinux:`Ctrl Backspace / Ctrl Delete`},{mac:`⌥ ↑ / ⌥ ↓`,windowsLinux:`Alt ↑ / Alt ↓`},{mac:`⇧⌥ ↑ / ⇧⌥ ↓`,windowsLinux:`Shift Alt ↑ / Shift Alt ↓`},{mac:`⇧⌘ K`,windowsLinux:`Ctrl Shift K`}]},{id:`source-history`,category:`source`,title:{id:`4Sxexw`},description:{id:`r2huLx`},scope:{id:`tiWX6q`},bindings:[{mac:`⌘ Z`,windowsLinux:`Ctrl Z`},{mac:`⇧⌘ Z`,windowsLinux:`Ctrl Y / Ctrl Shift Z`},{mac:`⌘ U / ⇧⌘ U`,windowsLinux:`Ctrl U / Alt U`}]},{id:`source-select-all`,category:`source`,title:{id:`a-cKXz`},description:{id:`UTNVyS`},scope:{id:`tiWX6q`},bindings:[{mac:`⌘ A`,windowsLinux:`Ctrl A`}]},{id:`source-multi-cursor`,category:`source`,title:{id:`mg0YGL`},description:{id:`lWNpNB`},scope:{id:`tiWX6q`},bindings:[{mac:`⌥⌘ ↑ / ⌥⌘ ↓`,windowsLinux:`Ctrl Alt ↑ / Ctrl Alt ↓`},{mac:`⇧⌘ L`,windowsLinux:`Ctrl Shift L`}]},{id:`source-search`,category:`source`,title:{id:`7OhaRy`},description:{id:`mwMF9u`},scope:{id:`tiWX6q`},bindings:[{mac:`⌘ F`,windowsLinux:`Ctrl F`}]},{id:`source-toggle-comment`,category:`source`,title:{id:`RfaEio`},description:{id:`MrwYIK`},scope:{id:`tiWX6q`},bindings:[{mac:`⌘ /`,windowsLinux:`Ctrl /`},{mac:`Shift Alt A`,windowsLinux:`Shift Alt A`}]},{id:`source-select-next-occurrence`,category:`source`,title:{id:`hY8pka`},description:{id:`XnlF3W`},scope:{id:`tiWX6q`},bindings:[{mac:`⌘ D`,windowsLinux:`Ctrl D`}]},{id:`source-goto-line`,category:`source`,title:{id:`7FamGZ`},description:{id:`yHikCO`},scope:{id:`tiWX6q`},bindings:[{mac:`⌥⌘ G`,windowsLinux:`Ctrl Alt G`}]},{id:`source-find-results`,category:`source`,title:{id:`rJVoVX`},description:{id:`TwYboS`},scope:{id:`qyLmWw`},bindings:[{mac:`⌘ G / ⇧⌘ G`,windowsLinux:`Ctrl G / Ctrl Shift G`},{mac:`F3 / Shift F3`,windowsLinux:`F3 / Shift F3`},{mac:`Esc`,windowsLinux:`Esc`}]},{id:`source-folding`,category:`source`,title:{id:`bcjYUA`},description:{id:`VZGh8G`},scope:{id:`tiWX6q`},bindings:[{mac:`⌥⌘ [ / ⌥⌘ ]`,windowsLinux:`Ctrl Shift [ / Ctrl Shift ]`},{mac:`Ctrl Alt [ / Ctrl Alt ]`,windowsLinux:`Ctrl Alt [ / Ctrl Alt ]`}]},{id:`source-completion`,category:`source`,title:{id:`VuxVSP`},description:{id:`Ehkru0`},scope:{id:`tiWX6q`},bindings:[{mac:`Ctrl Space`,windowsLinux:`Ctrl Space`},{mac:"⌥ ` / ⌥ I",windowsLinux:`Ctrl Space`},{mac:`↑ / ↓ / Page Up / Page Down`,windowsLinux:`↑ / ↓ / Page Up / Page Down`},{mac:`Enter / Esc`,windowsLinux:`Enter / Esc`}]},{id:`source-tab-focus-mode`,category:`source`,title:{id:`eG8Jsg`},description:{id:`qRZh7J`},scope:{id:`tiWX6q`},bindings:[{mac:`Shift Alt M`,windowsLinux:`Ctrl M`}]},{id:`source-lint-panel`,category:`source`,title:{id:`yvG-l1`},description:{id:`kCqCyf`},scope:{id:`tiWX6q`},bindings:[{mac:`⇧⌘ M`,windowsLinux:`Ctrl Shift M`}]},{id:`source-next-diagnostic`,category:`source`,title:{id:`M1OfV9`},description:{id:`ExPiRQ`},scope:{id:`tiWX6q`},bindings:[{mac:`F8`,windowsLinux:`F8`}]}];function i(e){let t=r.find(t=>t.id===e);if(!t)throw Error(`Unknown keyboard shortcut: ${e}`);return t}function a(){return e()?`mac`:`windowsLinux`}var o=[[/⌘/g,` Command `],[/⌥/g,` Option `],[/⇧/g,` Shift `],[/⌃/g,` Control `],[/↑/g,` Up Arrow `],[/↓/g,` Down Arrow `],[/←/g,` Left Arrow `],[/→/g,` Right Arrow `],[/\[/g,` Left Bracket `],[/\]/g,` Right Bracket `],[/,/g,` Comma `],[/\bCtrl\b/g,` Control `]];function s(e){return e.split(` / `).map(e=>o.reduce((e,[t,n])=>e.replace(t,n),e).replaceAll(/\s+/g,` `).trim()).join(` or `)}function c(e,t=a()){return t===`mac`?e.mac:e.windowsLinux}function l(e,t=a()){return s(c(e,t))}function u(e,t=a()){return c(i(e).bindings[0],t)}function d(e,t=a()){return l(i(e).bindings[0],t)}function f(e){if(!e||typeof e!=`object`)return!1;if(`isContentEditable`in e&&e.isContentEditable===!0)return!0;if(!(`tagName`in e))return!1;let t=String(e.tagName).toUpperCase();return t===`INPUT`||t===`TEXTAREA`}function p(e,t,n=a()){return i(t).bindings.some(t=>{let r=m(t.match,n);return r?g(e,r,n):!1})}function m(e,t){return e?h(e)?e:e[t]??null:null}function h(e){return`key`in e||`code`in e}function g(e,t,n){if(t.key&&e.key.toLowerCase()!==t.key.toLowerCase()||t.code&&e.code!==t.code)return!1;let r=t.metaKey??(t.mod?n===`mac`:!1),i=t.ctrlKey??(t.mod?n===`windowsLinux`:!1),a=t.altKey??!1,o=t.shiftKey??!1;return t.allowExtraModifiers?!(t.anyMod&&!e.metaKey&&!e.ctrlKey||r&&!e.metaKey||i&&!e.ctrlKey||a&&!e.altKey||o&&!e.shiftKey):(t.anyMod?e.metaKey||e.ctrlKey:e.metaKey===r&&e.ctrlKey===i)&&e.altKey===a&&(t.allowShiftKey||!!e.shiftKey===o)}export{c as a,f as c,u as i,p as l,t as n,d as o,n as r,s,r as t};
@@ -0,0 +1 @@
1
+ import{o as e}from"./chunk-CFjPhJqf.js";import{n as t,r as n,t as r}from"./compiler-runtime-CVnuRdak.js";import{i}from"./button-Cw_0dYAP.js";import{d as a}from"./dist-C5Xa8yL1.js";var o=e(t(),1),s=n(),c=`Label`,l=o.forwardRef((e,t)=>(0,s.jsx)(a.label,{...e,ref:t,onMouseDown:t=>{t.target.closest(`button, input, select, textarea`)||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));l.displayName=c;var u=l,d=r();function f(e){let t=(0,d.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let a;t[3]===n?a=t[4]:(a=i(`flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a?(o=(0,s.jsx)(u,{"data-slot":`label`,className:a,...r}),t[5]=r,t[6]=a,t[7]=o):o=t[7],o}export{f as t};
@@ -1 +1 @@
1
- import{n as e,t}from"./path-B3Eut0a4.js";import{t as n}from"./array-BUzQ4ozH.js";import{G as r}from"./chunk-5PVQY5BW-yDTy3kh2.js";function i(e){return e[0]}function a(e){return e[1]}function o(o,s){var c=e(!0),l=null,u=r,d=null,f=t(p);o=typeof o==`function`?o:o===void 0?i:e(o),s=typeof s==`function`?s:s===void 0?a:e(s);function p(e){var t,r=(e=n(e)).length,i,a=!1,p;for(l??(d=u(p=f())),t=0;t<=r;++t)!(t<r&&c(i=e[t],t,e))===a&&((a=!a)?d.lineStart():d.lineEnd()),a&&d.point(+o(i,t,e),+s(i,t,e));if(p)return d=null,p+``||null}return p.x=function(t){return arguments.length?(o=typeof t==`function`?t:e(+t),p):o},p.y=function(t){return arguments.length?(s=typeof t==`function`?t:e(+t),p):s},p.defined=function(t){return arguments.length?(c=typeof t==`function`?t:e(!!t),p):c},p.curve=function(e){return arguments.length?(u=e,l!=null&&(d=u(l)),p):u},p.context=function(e){return arguments.length?(e==null?l=d=null:d=u(l=e),p):l},p}export{o as t};
1
+ import{n as e,t}from"./path-B3Eut0a4.js";import{t as n}from"./array-BUzQ4ozH.js";import{G as r}from"./chunk-5PVQY5BW-Dge_IsSQ.js";function i(e){return e[0]}function a(e){return e[1]}function o(o,s){var c=e(!0),l=null,u=r,d=null,f=t(p);o=typeof o==`function`?o:o===void 0?i:e(o),s=typeof s==`function`?s:s===void 0?a:e(s);function p(e){var t,r=(e=n(e)).length,i,a=!1,p;for(l??(d=u(p=f())),t=0;t<=r;++t)!(t<r&&c(i=e[t],t,e))===a&&((a=!a)?d.lineStart():d.lineEnd()),a&&d.point(+o(i,t,e),+s(i,t,e));if(p)return d=null,p+``||null}return p.x=function(t){return arguments.length?(o=typeof t==`function`?t:e(+t),p):o},p.y=function(t){return arguments.length?(s=typeof t==`function`?t:e(+t),p):s},p.defined=function(t){return arguments.length?(c=typeof t==`function`?t:e(!!t),p):c},p.curve=function(e){return arguments.length?(u=e,l!=null&&(d=u(l)),p):u},p.context=function(e){return arguments.length?(e==null?l=d=null:d=u(l=e),p):l},p}export{o as t};
@@ -0,0 +1 @@
1
+ import{u as e}from"./button-Cw_0dYAP.js";var t=e(`loader-circle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]);export{t};
@@ -1,6 +1,6 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./c4Diagram-AHTNJAMY-MpS57keD.js","./dist-BGPDbC1a.js","./chunk-CFjPhJqf.js","./src-CbbwOucf.js","./src-DQu6B2Zu.js","./chunk-5PVQY5BW-yDTy3kh2.js","./chunk-ICPOFSXX-CIVLR_5F.js","./preload-helper-2ej06EnG.js","./_baseFor-M6ASkr3S.js","./isObjectLike-zJ40xofy.js","./chunk-YZCP3GAM-08XDtemD.js","./flowDiagram-DWJPFMVM-B0HG4XkI.js","./chunk-U2HBQHQK-BRyN8JBd.js","./channel-BnB1CAkA.js","./chunk-336JU56O-D9l-iSoM.js","./chunk-5FUZZQ4R-qTd1X-_B.js","./chunk-X2U36JSP-o7MzjrQ3.js","./chunk-ZZ45TVLE-D2TDKoTv.js","./rough.esm-NnATA0En.js","./chunk-ENJZ2VHE-B1deOUrZ.js","./line-BsWA6ttc.js","./path-B3Eut0a4.js","./array-BUzQ4ozH.js","./chunk-BSJP7CBP-C-dn2Mkj.js","./chunk-55IACEB6-hdKwekPD.js","./chunk-EDXVE4YY-GdX4IlNB.js","./chunk-FMBD7UC4-4T3_kXBp.js","./chunk-XPW4576I-90AsGlZ-.js","./erDiagram-SMLLAGMA-BisuKprM.js","./gitGraphDiagram-UUTBAWPF-D_atUqHK.js","./mermaid-parser.core-BkIpaEsR.js","./chunk-K5T4RW27-B1SmKEZd.js","./isEmpty-ORz5JRVb.js","./reduce-CLK8gX02.js","./isSymbol-DXuURO6J.js","./flatten-xNYSAL8G.js","./chunk-2KRD3SAO-kMTRGKj1.js","./chunk-67CJDMHE-BoJfX61q.js","./chunk-7N4EOEYR-CZeloxNb.js","./chunk-AA7GKIK3-C2HwyAHF.js","./chunk-CIAEETIT-CUjsY9Jn.js","./chunk-FOC6F5B3-BdKFMbn0.js","./chunk-KGLVRYIC-CAvDRDdi.js","./chunk-LIHQZDEY-BxEqkW3d.js","./chunk-ORNJ4GCN-Bb0szYVA.js","./chunk-4BX2VUAB-CxNONOIl.js","./chunk-QZHKN3VN-D0cDmajJ.js","./ganttDiagram-T4ZO3ILL-DQMAnJX0.js","./linear-DYHJjwmm.js","./defaultLocale-CSBjhTZR.js","./init-DJv5Kvsb.js","./min-DIoz8hPy.js","./infoDiagram-42DDH7IO-BSBW6Pan.js","./chunk-426QAEUC-CGz89IOu.js","./pieDiagram-DEJITSTG-e0uyQE_X.js","./ordinal-xd87TCK5.js","./arc-BT8Hati9.js","./quadrantDiagram-34T5L4WZ-fiYcYSyL.js","./xychartDiagram-5P7HB3ND-DxutAraW.js","./requirementDiagram-MS252O5E-Cu0OR6JE.js","./sequenceDiagram-FGHM5R23-CvdTGqtB.js","./classDiagram-6PBFFD2Q-djt6-qsq.js","./chunk-4TB4RGXK-BJBCQpxu.js","./classDiagram-v2-HSJHXN6E-D9XE0jQw.js","./stateDiagram-FHFEXIEX-CotJyv0o.js","./dagre-ezBFxVi8.js","./graphlib-CssuwrQ0.js","./now-CtwaUqv3.js","./chunk-OYMX7WX6-CBdUWkfK.js","./stateDiagram-v2-QKLJ7IA2-Dgzdjh4b.js","./journeyDiagram-VCZTEJTY-MGSlWbE2.js","./timeline-definition-GMOUNBTQ-D8Me4q53.js","./mindmap-definition-QFDTVHPH-RCGyFFgC.js","./kanban-definition-6JOO6SKY-Gdd-cuhS.js","./sankeyDiagram-XADWPNL6-CuBGw_FO.js","./colors-BGvj6s84.js","./diagram-TYMM5635-Cvs7rTa0.js","./diagram-MMDJMWI5-DGIv4ujt.js","./blockDiagram-DXYQGD6D-DgcakmQd.js","./clone--IpWXAZg.js","./diagram-5BDNPKRD-C3DmjuH3.js","./architectureDiagram-Q4EWVU46-BnLULocP.js","./cytoscape.esm-btr3n05v.js","./ishikawaDiagram-UXIWVN3A-BQ069xL3.js","./vennDiagram-DHZGUBPP-W-XqbYNU.js","./diagram-G4DWMVQ6-J-UKxuT2.js","./wardleyDiagram-NUSXRM2D-DB3DcQtI.js"])))=>i.map(i=>d[i]);
2
- import{t as e}from"./preload-helper-2ej06EnG.js";import{t}from"./isEmpty-ORz5JRVb.js";import{i as n,n as r,r as i}from"./src-CbbwOucf.js";import{F as a,G as o,H as s,J as c,M as l,N as u,S as d,T as f,X as p,Y as m,Z as h,c as g,f as _,g as v,h as y,l as b,n as x,p as S,r as C,t as ee,w as te,x as w,y as T,z as E}from"./chunk-ICPOFSXX-CIVLR_5F.js";import{C as D}from"./src-DQu6B2Zu.js";import{a as ne,d as O,h as k,i as A,m as re,r as ie}from"./chunk-5PVQY5BW-yDTy3kh2.js";import{t as ae}from"./chunk-426QAEUC-CGz89IOu.js";import{i as oe,o as se}from"./chunk-U2HBQHQK-BRyN8JBd.js";import"./chunk-BSJP7CBP-C-dn2Mkj.js";import"./chunk-ZZ45TVLE-D2TDKoTv.js";import"./chunk-X2U36JSP-o7MzjrQ3.js";import"./chunk-5FUZZQ4R-qTd1X-_B.js";import"./chunk-ENJZ2VHE-B1deOUrZ.js";import{n as ce}from"./chunk-336JU56O-D9l-iSoM.js";import{n as le,t as ue}from"./chunk-XPW4576I-90AsGlZ-.js";var de=`comm`,fe=`rule`,pe=`decl`,me=`@import`,he=`@namespace`,ge=`@keyframes`,_e=`@layer`,ve=Math.abs,ye=String.fromCharCode;function be(e){return e.trim()}function j(e,t,n){return e.replace(t,n)}function xe(e,t,n){return e.indexOf(t,n)}function M(e,t){return e.charCodeAt(t)|0}function N(e,t,n){return e.slice(t,n)}function P(e){return e.length}function Se(e){return e.length}function F(e,t){return t.push(e),e}var I=1,L=1,Ce=0,R=0,z=0,B=``;function V(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:I,column:L,length:o,return:``,siblings:s}}function we(){return z}function Te(){return z=R>0?M(B,--R):0,L--,z===10&&(L=1,I--),z}function H(){return z=R<Ce?M(B,R++):0,L++,z===10&&(L=1,I++),z}function U(){return M(B,R)}function W(){return R}function G(e,t){return N(B,e,t)}function K(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ee(e){return I=L=1,Ce=P(B=e),R=0,[]}function De(e){return B=``,e}function q(e){return be(G(R-1,J(e===91?e+2:e===40?e+1:e)))}function Oe(e){for(;(z=U())&&z<33;)H();return K(e)>2||K(z)>3?``:` `}function ke(e,t){for(;--t&&H()&&!(z<48||z>102||z>57&&z<65||z>70&&z<97););return G(e,W()+(t<6&&U()==32&&H()==32))}function J(e){for(;H();)switch(z){case e:return R;case 34:case 39:e!==34&&e!==39&&J(z);break;case 40:e===41&&J(e);break;case 92:H();break}return R}function Ae(e,t){for(;H()&&e+z!==57&&!(e+z===84&&U()===47););return`/*`+G(t,R-1)+`*`+ye(e===47?e:H())}function je(e){for(;!K(U());)H();return G(e,R)}function Me(e){return De(Y(``,null,null,null,[``],e=Ee(e),0,[0],e))}function Y(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=H()){case 40:if(m!=108&&M(C,d-1)==58){xe(C+=j(q(v),`&`,`&\f`),`&\f`,ve(l?s[l-1]:0))!=-1&&(_=-1);break}case 34:case 39:case 91:C+=q(v);break;case 9:case 10:case 13:case 32:C+=Oe(m);break;case 92:C+=ke(W()-1,7);continue;case 47:switch(U()){case 42:case 47:F(Pe(Ae(H(),W()),t,n,c),c),(K(m||1)==5||K(U()||1)==5)&&P(C)&&N(C,-1,void 0)!==` `&&(C+=` `);break;default:C+=`/`}break;case 123*h:s[l++]=P(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=j(C,/\f/g,``)),p>0&&(P(C)-d||h===0&&m===47)&&F(p>32?Fe(C+`;`,r,n,d-1,c):Fe(j(C,` `,``)+`;`,r,n,d-2,c),c);break;case 59:C+=`;`;default:if(F(S=Ne(C,t,n,l,u,i,s,y,b=[],x=[],d,a),a),v===123)if(u===0)Y(C,t,S,S,b,a,d,s,x);else{switch(f){case 99:if(M(C,3)===110)break;case 108:if(M(C,2)===97)break;default:u=0;case 100:case 109:case 115:}u?Y(e,S,S,r&&F(Ne(e,S,S,0,0,i,s,y,i,b=[],d,x),x),i,x,d,s,r?b:x):Y(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+P(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&Te()==125)continue}switch(C+=ye(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(P(C)-1)*_,_=1;break;case 64:U()===45&&(C+=q(H())),f=U(),u=d=P(y=C+=je(W())),v++;break;case 45:m===45&&P(C)==2&&(h=0)}}return a}function Ne(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=Se(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=N(e,f+1,f=ve(g=o[h])),b=e;v<m;++v)(b=be(g>0?p[v]+` `+y:j(y,/&\f/g,p[v])))&&(c[_++]=b);return V(e,t,n,i===0?fe:s,c,l,u,d)}function Pe(e,t,n,r){return V(e,t,n,de,ye(we()),N(e,2,-2),0,r)}function Fe(e,t,n,r,i){return V(e,t,n,pe,N(e,0,r),N(e,r+1,-1),r,i)}function Ie(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function Le(e,t,n,r){switch(e.type){case _e:if(e.children.length)break;case me:case he:case pe:return e.return=e.return||e.value;case de:return``;case ge:return e.return=e.value+`{`+Ie(e.children,r)+`}`;case fe:if(!P(e.value=e.props.join(`,`)))return``}return P(n=Ie(e.children,r))?e.return=e.value+`{`+n+`}`:``}var Re=`c4`,ze={id:Re,detector:r(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./c4Diagram-AHTNJAMY-MpS57keD.js`);return{diagram:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url);return{id:Re,diagram:t}},`loader`)},Be=`flowchart`,Ve={id:Be,detector:r((e,t)=>t?.flowchart?.defaultRenderer===`dagre-wrapper`||t?.flowchart?.defaultRenderer===`elk`?!1:/^\s*graph/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./flowDiagram-DWJPFMVM-B0HG4XkI.js`);return{diagram:e}},__vite__mapDeps([11,12,3,2,4,5,1,6,7,8,9,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,10]),import.meta.url);return{id:Be,diagram:t}},`loader`)},He=`flowchart-v2`,Ue={id:He,detector:r((e,t)=>t?.flowchart?.defaultRenderer===`dagre-d3`?!1:(t?.flowchart?.defaultRenderer===`elk`&&(t.layout=`elk`),/^\s*graph/.test(e)&&t?.flowchart?.defaultRenderer===`dagre-wrapper`?!0:/^\s*flowchart/.test(e)),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./flowDiagram-DWJPFMVM-B0HG4XkI.js`);return{diagram:e}},__vite__mapDeps([11,12,3,2,4,5,1,6,7,8,9,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,10]),import.meta.url);return{id:He,diagram:t}},`loader`)},We=`er`,Ge={id:We,detector:r(e=>/^\s*erDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./erDiagram-SMLLAGMA-BisuKprM.js`);return{diagram:e}},__vite__mapDeps([28,12,3,2,4,5,1,6,7,8,9,13,14,15,16,17,18,19,20,21,22,23,24,25]),import.meta.url);return{id:We,diagram:t}},`loader`)},Ke=`gitGraph`,qe={id:Ke,detector:r(e=>/^\s*gitGraph/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./gitGraphDiagram-UUTBAWPF-D_atUqHK.js`);return{diagram:e}},__vite__mapDeps([29,30,7,31,2,32,8,9,33,34,35,36,37,38,39,40,41,42,43,44,3,4,5,1,6,45,46]),import.meta.url);return{id:Ke,diagram:t}},`loader`)},Je=`gantt`,Ye={id:Je,detector:r(e=>/^\s*gantt/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./ganttDiagram-T4ZO3ILL-DQMAnJX0.js`);return{diagram:e}},__vite__mapDeps([47,2,1,48,4,49,50,51,3,5,6,7,8,9]),import.meta.url);return{id:Je,diagram:t}},`loader`)},Xe=`info`,Ze={id:Xe,detector:r(e=>/^\s*info/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./infoDiagram-42DDH7IO-BSBW6Pan.js`);return{diagram:e}},__vite__mapDeps([52,30,7,31,2,32,8,9,33,34,35,36,37,38,39,40,41,42,43,44,3,4,6,53]),import.meta.url);return{id:Xe,diagram:t}},`loader`)},Qe=`pie`,$e={id:Qe,detector:r(e=>/^\s*pie/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./pieDiagram-DEJITSTG-e0uyQE_X.js`);return{diagram:e}},__vite__mapDeps([54,1,2,30,7,31,32,8,9,33,34,35,36,37,38,39,40,41,42,43,44,3,4,21,55,50,56,22,5,6,53,45]),import.meta.url);return{id:Qe,diagram:t}},`loader`)},et=`quadrantChart`,tt={id:et,detector:r(e=>/^\s*quadrantChart/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./quadrantDiagram-34T5L4WZ-fiYcYSyL.js`);return{diagram:e}},__vite__mapDeps([57,48,4,49,50,3,2,6,7]),import.meta.url);return{id:et,diagram:t}},`loader`)},nt=`xychart`,rt={id:nt,detector:r(e=>/^\s*xychart(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./xychartDiagram-5P7HB3ND-DxutAraW.js`);return{diagram:e}},__vite__mapDeps([58,12,3,2,4,5,1,6,7,8,9,48,49,50,55,20,21,22,53]),import.meta.url);return{id:nt,diagram:t}},`loader`)},it=`requirement`,at={id:it,detector:r(e=>/^\s*requirement(Diagram)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./requirementDiagram-MS252O5E-Cu0OR6JE.js`);return{diagram:e}},__vite__mapDeps([59,12,3,2,4,5,1,6,7,8,9,14,15,16,17,18,19,20,21,22,23,24,25]),import.meta.url);return{id:it,diagram:t}},`loader`)},ot=`sequence`,st={id:ot,detector:r(e=>/^\s*sequenceDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./sequenceDiagram-FGHM5R23-CvdTGqtB.js`);return{diagram:e}},__vite__mapDeps([60,1,2,3,4,5,6,7,8,9,46,27,10]),import.meta.url);return{id:ot,diagram:t}},`loader`)},ct=`class`,lt={id:ct,detector:r((e,t)=>t?.class?.defaultRenderer===`dagre-wrapper`?!1:/^\s*classDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./classDiagram-6PBFFD2Q-djt6-qsq.js`);return{diagram:e}},__vite__mapDeps([61,12,3,2,4,5,1,6,7,8,9,14,15,16,17,18,19,20,21,22,23,62,24,25,26,10]),import.meta.url);return{id:ct,diagram:t}},`loader`)},ut=`classDiagram`,dt={id:ut,detector:r((e,t)=>/^\s*classDiagram/.test(e)&&t?.class?.defaultRenderer===`dagre-wrapper`?!0:/^\s*classDiagram-v2/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./classDiagram-v2-HSJHXN6E-D9XE0jQw.js`);return{diagram:e}},__vite__mapDeps([63,12,3,2,4,5,1,6,7,8,9,14,15,16,17,18,19,20,21,22,23,62,24,25,26,10]),import.meta.url);return{id:ut,diagram:t}},`loader`)},ft=`state`,pt={id:ft,detector:r((e,t)=>t?.state?.defaultRenderer===`dagre-wrapper`?!1:/^\s*stateDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./stateDiagram-FHFEXIEX-CotJyv0o.js`);return{diagram:e}},__vite__mapDeps([64,12,3,2,4,5,1,6,7,8,9,20,21,22,65,66,32,33,34,35,67,14,15,16,17,18,19,23,24,25,68]),import.meta.url);return{id:ft,diagram:t}},`loader`)},mt=`stateDiagram`,ht={id:mt,detector:r((e,t)=>!!(/^\s*stateDiagram-v2/.test(e)||/^\s*stateDiagram/.test(e)&&t?.state?.defaultRenderer===`dagre-wrapper`),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./stateDiagram-v2-QKLJ7IA2-Dgzdjh4b.js`);return{diagram:e}},__vite__mapDeps([69,12,3,2,4,5,1,6,7,8,9,14,15,16,17,18,19,20,21,22,23,24,25,68]),import.meta.url);return{id:mt,diagram:t}},`loader`)},gt=`journey`,_t={id:gt,detector:r(e=>/^\s*journey/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./journeyDiagram-VCZTEJTY-MGSlWbE2.js`);return{diagram:e}},__vite__mapDeps([70,3,2,4,56,1,21,6,7,26,10]),import.meta.url);return{id:gt,diagram:t}},`loader`)},vt={draw:r((e,t,n)=>{i.debug(`rendering svg for syntax error
3
- `);let r=ae(t),a=r.append(`g`);r.attr(`viewBox`,`0 0 2412 512`),g(r,100,512,!0),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z`),a.append(`text`).attr(`class`,`error-text`).attr(`x`,1440).attr(`y`,250).attr(`font-size`,`150px`).style(`text-anchor`,`middle`).text(`Syntax error in text`),a.append(`text`).attr(`class`,`error-text`).attr(`x`,1250).attr(`y`,400).attr(`font-size`,`100px`).style(`text-anchor`,`middle`).text(`mermaid version ${n}`)},`draw`)},yt=vt,bt={db:{},renderer:vt,parser:{parse:r(()=>{},`parse`)}},xt=`flowchart-elk`,St={id:xt,detector:r((e,t={})=>/^\s*flowchart-elk/.test(e)||/^\s*(flowchart|graph)/.test(e)&&t?.flowchart?.defaultRenderer===`elk`?(t.layout=`elk`,!0):!1,`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./flowDiagram-DWJPFMVM-B0HG4XkI.js`);return{diagram:e}},__vite__mapDeps([11,12,3,2,4,5,1,6,7,8,9,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,10]),import.meta.url);return{id:xt,diagram:t}},`loader`)},Ct=`timeline`,wt={id:Ct,detector:r(e=>/^\s*timeline/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./timeline-definition-GMOUNBTQ-D8Me4q53.js`);return{diagram:e}},__vite__mapDeps([71,3,2,4,56,1,21,5,6,7,8,9,53]),import.meta.url);return{id:Ct,diagram:t}},`loader`)},Tt=`mindmap`,Et={id:Tt,detector:r(e=>/^\s*mindmap/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./mindmap-definition-QFDTVHPH-RCGyFFgC.js`);return{diagram:e}},__vite__mapDeps([72,12,3,2,4,5,1,6,7,8,9,14,15,16,17,18,19,20,21,22,23,24,25]),import.meta.url);return{id:Tt,diagram:t}},`loader`)},Dt=`kanban`,Ot={id:Dt,detector:r(e=>/^\s*kanban/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./kanban-definition-6JOO6SKY-Gdd-cuhS.js`);return{diagram:e}},__vite__mapDeps([73,12,3,2,4,5,1,6,7,8,9,53,15,16,17,18,26,27]),import.meta.url);return{id:Dt,diagram:t}},`loader`)},kt=`sankey`,At={id:kt,detector:r(e=>/^\s*sankey(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./sankeyDiagram-XADWPNL6-CuBGw_FO.js`);return{diagram:e}},__vite__mapDeps([74,3,2,4,75,55,50,6,7]),import.meta.url);return{id:kt,diagram:t}},`loader`)},jt=`packet`,Mt={id:jt,detector:r(e=>/^\s*packet(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-TYMM5635-Cvs7rTa0.js`);return{diagram:e}},__vite__mapDeps([76,30,7,31,2,32,8,9,33,34,35,36,37,38,39,40,41,42,43,44,3,4,5,1,6,53,45]),import.meta.url);return{id:jt,diagram:t}},`loader`)},Nt=`radar`,Pt={id:Nt,detector:r(e=>/^\s*radar-beta/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-MMDJMWI5-DGIv4ujt.js`);return{diagram:e}},__vite__mapDeps([77,30,7,31,2,32,8,9,33,34,35,36,37,38,39,40,41,42,43,44,3,4,5,1,6,53,45]),import.meta.url);return{id:Nt,diagram:t}},`loader`)},Ft=`block`,It={id:Ft,detector:r(e=>/^\s*block(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./blockDiagram-DXYQGD6D-DgcakmQd.js`);return{diagram:e}},__vite__mapDeps([78,12,3,2,4,5,1,6,7,8,9,20,21,22,66,32,33,34,13,79,23,26,17]),import.meta.url);return{id:Ft,diagram:t}},`loader`)},Lt=`treeView`,Rt={id:Lt,detector:r(e=>/^\s*treeView-beta/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-5BDNPKRD-C3DmjuH3.js`);return{diagram:e}},__vite__mapDeps([80,30,7,31,2,32,8,9,33,34,35,36,37,38,39,40,41,42,43,44,3,4,5,1,6,53,45,46]),import.meta.url);return{id:Lt,diagram:t}},`loader`)},zt=`architecture`,Bt={id:zt,detector:r(e=>/^\s*architecture/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./architectureDiagram-Q4EWVU46-BnLULocP.js`);return{diagram:e}},__vite__mapDeps([81,2,12,3,4,5,1,6,7,8,9,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,82,53,45]),import.meta.url);return{id:zt,diagram:t}},`loader`)},Vt=`ishikawa`,Ht={id:Vt,detector:r(e=>/^\s*ishikawa(-beta)?\b/i.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./ishikawaDiagram-UXIWVN3A-BQ069xL3.js`);return{diagram:e}},__vite__mapDeps([83,3,2,4,5,1,6,7,8,9,53,18]),import.meta.url);return{id:Vt,diagram:t}},`loader`)},Ut=`venn`,Wt={id:Ut,detector:r(e=>/^\s*venn-beta/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./vennDiagram-DHZGUBPP-W-XqbYNU.js`);return{diagram:e}},__vite__mapDeps([84,3,2,4,5,1,6,7,8,9,53,18]),import.meta.url);return{id:Ut,diagram:t}},`loader`)},Gt=`treemap`,Kt={id:Gt,detector:r(e=>/^\s*treemap/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-G4DWMVQ6-J-UKxuT2.js`);return{diagram:e}},__vite__mapDeps([85,30,7,31,2,32,8,9,33,34,35,36,37,38,39,40,41,42,43,44,3,4,49,55,50,5,1,6,53,45,25,16]),import.meta.url);return{id:Gt,diagram:t}},`loader`)},qt=`wardley-beta`,Jt={id:qt,detector:r(e=>/^\s*wardley-beta/i.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./wardleyDiagram-NUSXRM2D-DB3DcQtI.js`);return{diagram:e}},__vite__mapDeps([86,30,7,31,2,32,8,9,33,34,35,36,37,38,39,40,41,42,43,44,3,4,6,53,45]),import.meta.url);return{id:qt,diagram:t}},`loader`)},Yt=!1,X=r(()=>{Yt||(Yt=!0,l(`error`,bt,e=>e.toLowerCase().trim()===`error`),l(`---`,{db:{clear:r(()=>{},`clear`)},styles:{},renderer:{draw:r(()=>{},`draw`)},parser:{parse:r(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},`parse`)},init:r(()=>null,`init`)},e=>e.toLowerCase().trimStart().startsWith(`---`)),u(St,Et,Bt),u(ze,Ot,dt,lt,Ge,Ye,Ze,$e,at,st,Ue,Ve,wt,qe,ht,pt,_t,tt,At,Mt,rt,It,Rt,Pt,Ht,Kt,Wt,Jt))},`addDiagrams`),Xt=r(async()=>{i.debug(`Loading registered diagrams`);let e=(await Promise.allSettled(Object.entries(S).map(async([e,{detector:t,loader:n}])=>{if(n)try{w(e)}catch{try{let{diagram:e,id:r}=await n();l(r,e,t)}catch(t){throw i.error(`Failed to load external diagram with key ${e}. Removing from detectors.`),delete S[e],t}}}))).filter(e=>e.status===`rejected`);if(e.length>0){i.error(`Failed to load ${e.length} external diagrams`);for(let t of e)i.error(t);throw Error(`Failed to load ${e.length} external diagrams`)}},`loadRegisteredDiagrams`),Zt=`graphics-document document`;function Qt(e,t){e.attr(`role`,Zt),t!==``&&e.attr(`aria-roledescription`,t)}r(Qt,`setA11yDiagramInfo`);function $t(e,t,n,r){if(e.insert!==void 0){if(n){let t=`chart-desc-${r}`;e.attr(`aria-describedby`,t),e.insert(`desc`,`:first-child`).attr(`id`,t).text(n)}if(t){let n=`chart-title-${r}`;e.attr(`aria-labelledby`,n),e.insert(`title`,`:first-child`).attr(`id`,n).text(t)}}}r($t,`addSVGa11yTitleDescription`);var en=class e{constructor(e,t,n,r,i){this.type=e,this.text=t,this.db=n,this.parser=r,this.renderer=i}static{r(this,`Diagram`)}static async fromText(t,n={}){let r=T(),i=_(t,r);t=ne(t)+`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./c4Diagram-AHTNJAMY-Bt4mDYdo.js","./dist-BGPDbC1a.js","./chunk-CFjPhJqf.js","./src-CbbwOucf.js","./src-DQu6B2Zu.js","./chunk-5PVQY5BW-Dge_IsSQ.js","./chunk-ICPOFSXX-CWTnyt4f.js","./preload-helper-2ej06EnG.js","./_baseFor-M6ASkr3S.js","./isObjectLike-zJ40xofy.js","./chunk-YZCP3GAM-DYVfdP_M.js","./flowDiagram-DWJPFMVM-5BllKeQC.js","./chunk-U2HBQHQK-Dl3oREYn.js","./channel-C-sRM7Rn.js","./chunk-336JU56O-CxydaaZ9.js","./chunk-5FUZZQ4R-BQWt7CWo.js","./chunk-X2U36JSP-B0AOCHxY.js","./chunk-ZZ45TVLE-BCfEDLCW.js","./rough.esm-NnATA0En.js","./chunk-ENJZ2VHE-ZTYJ7zgG.js","./line-yQlegCdo.js","./path-B3Eut0a4.js","./array-BUzQ4ozH.js","./chunk-BSJP7CBP-C-dn2Mkj.js","./chunk-55IACEB6-hdKwekPD.js","./chunk-EDXVE4YY-D4Xjt4_M.js","./chunk-FMBD7UC4-4T3_kXBp.js","./chunk-XPW4576I-90AsGlZ-.js","./erDiagram-SMLLAGMA-DZV7iUsw.js","./gitGraphDiagram-UUTBAWPF-DhfiPcy7.js","./mermaid-parser.core-BkIpaEsR.js","./chunk-K5T4RW27-B1SmKEZd.js","./isEmpty-ORz5JRVb.js","./reduce-CLK8gX02.js","./isSymbol-DXuURO6J.js","./flatten-xNYSAL8G.js","./chunk-2KRD3SAO-kMTRGKj1.js","./chunk-67CJDMHE-BoJfX61q.js","./chunk-7N4EOEYR-CZeloxNb.js","./chunk-AA7GKIK3-C2HwyAHF.js","./chunk-CIAEETIT-CUjsY9Jn.js","./chunk-FOC6F5B3-BdKFMbn0.js","./chunk-KGLVRYIC-CAvDRDdi.js","./chunk-LIHQZDEY-BxEqkW3d.js","./chunk-ORNJ4GCN-Bb0szYVA.js","./chunk-4BX2VUAB-CxNONOIl.js","./chunk-QZHKN3VN-D0cDmajJ.js","./ganttDiagram-T4ZO3ILL-ts-lSNwQ.js","./linear-DYHJjwmm.js","./defaultLocale-CSBjhTZR.js","./init-DJv5Kvsb.js","./min-DIoz8hPy.js","./infoDiagram-42DDH7IO-DLjhsn-t.js","./chunk-426QAEUC-w5g8JVfo.js","./pieDiagram-DEJITSTG-95UJ3oDc.js","./ordinal-xd87TCK5.js","./arc-BT8Hati9.js","./quadrantDiagram-34T5L4WZ-BsyEhduj.js","./xychartDiagram-5P7HB3ND-QeQfetZF.js","./requirementDiagram-MS252O5E-Ce3ZT4dZ.js","./sequenceDiagram-FGHM5R23-DPptjsMp.js","./classDiagram-6PBFFD2Q-osNdAhUc.js","./chunk-4TB4RGXK-BeVBycWS.js","./classDiagram-v2-HSJHXN6E-CZ6K6ZPy.js","./stateDiagram-FHFEXIEX-C927293q.js","./dagre-BTExpQFg.js","./graphlib-n99tHyVD.js","./now-CtwaUqv3.js","./chunk-OYMX7WX6-C_VdCorh.js","./stateDiagram-v2-QKLJ7IA2-Cw6lb2rh.js","./journeyDiagram-VCZTEJTY-BBDFY8Ke.js","./timeline-definition-GMOUNBTQ-B9WBC5Ng.js","./mindmap-definition-QFDTVHPH-Bln4pJqk.js","./kanban-definition-6JOO6SKY-C7Ls1ibi.js","./sankeyDiagram-XADWPNL6-CSPgo5jE.js","./colors-BGvj6s84.js","./diagram-TYMM5635-B6FNzXAn.js","./diagram-MMDJMWI5-6M8xRDKw.js","./blockDiagram-DXYQGD6D-0nrFHAh9.js","./clone-CQq0fOXt.js","./diagram-5BDNPKRD-DUr51FmO.js","./architectureDiagram-Q4EWVU46-D9YkmuUY.js","./cytoscape.esm-btr3n05v.js","./ishikawaDiagram-UXIWVN3A-l2uP3JVO.js","./vennDiagram-DHZGUBPP-DK0Nb7Wu.js","./diagram-G4DWMVQ6-DFrT1U5D.js","./wardleyDiagram-NUSXRM2D-DkwoCQka.js"])))=>i.map(i=>d[i]);
2
+ import{t as e}from"./preload-helper-2ej06EnG.js";import{t}from"./isEmpty-ORz5JRVb.js";import{i as n,n as r,r as i}from"./src-CbbwOucf.js";import{F as a,G as o,H as s,J as c,M as l,N as u,S as d,T as f,X as p,Y as m,Z as h,c as g,f as _,g as v,h as y,l as b,n as x,p as S,r as C,t as ee,w as te,x as w,y as T,z as E}from"./chunk-ICPOFSXX-CWTnyt4f.js";import{C as D}from"./src-DQu6B2Zu.js";import{a as ne,d as O,h as k,i as A,m as re,r as ie}from"./chunk-5PVQY5BW-Dge_IsSQ.js";import{t as ae}from"./chunk-426QAEUC-w5g8JVfo.js";import{i as oe,o as se}from"./chunk-U2HBQHQK-Dl3oREYn.js";import"./chunk-BSJP7CBP-C-dn2Mkj.js";import"./chunk-ZZ45TVLE-BCfEDLCW.js";import"./chunk-X2U36JSP-B0AOCHxY.js";import"./chunk-5FUZZQ4R-BQWt7CWo.js";import"./chunk-ENJZ2VHE-ZTYJ7zgG.js";import{n as ce}from"./chunk-336JU56O-CxydaaZ9.js";import{n as le,t as ue}from"./chunk-XPW4576I-90AsGlZ-.js";var de=`comm`,fe=`rule`,pe=`decl`,me=`@import`,he=`@namespace`,ge=`@keyframes`,_e=`@layer`,ve=Math.abs,ye=String.fromCharCode;function be(e){return e.trim()}function j(e,t,n){return e.replace(t,n)}function xe(e,t,n){return e.indexOf(t,n)}function M(e,t){return e.charCodeAt(t)|0}function N(e,t,n){return e.slice(t,n)}function P(e){return e.length}function Se(e){return e.length}function F(e,t){return t.push(e),e}var I=1,L=1,Ce=0,R=0,z=0,B=``;function V(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:I,column:L,length:o,return:``,siblings:s}}function we(){return z}function Te(){return z=R>0?M(B,--R):0,L--,z===10&&(L=1,I--),z}function H(){return z=R<Ce?M(B,R++):0,L++,z===10&&(L=1,I++),z}function U(){return M(B,R)}function W(){return R}function G(e,t){return N(B,e,t)}function K(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ee(e){return I=L=1,Ce=P(B=e),R=0,[]}function De(e){return B=``,e}function q(e){return be(G(R-1,J(e===91?e+2:e===40?e+1:e)))}function Oe(e){for(;(z=U())&&z<33;)H();return K(e)>2||K(z)>3?``:` `}function ke(e,t){for(;--t&&H()&&!(z<48||z>102||z>57&&z<65||z>70&&z<97););return G(e,W()+(t<6&&U()==32&&H()==32))}function J(e){for(;H();)switch(z){case e:return R;case 34:case 39:e!==34&&e!==39&&J(z);break;case 40:e===41&&J(e);break;case 92:H();break}return R}function Ae(e,t){for(;H()&&e+z!==57&&!(e+z===84&&U()===47););return`/*`+G(t,R-1)+`*`+ye(e===47?e:H())}function je(e){for(;!K(U());)H();return G(e,R)}function Me(e){return De(Y(``,null,null,null,[``],e=Ee(e),0,[0],e))}function Y(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=H()){case 40:if(m!=108&&M(C,d-1)==58){xe(C+=j(q(v),`&`,`&\f`),`&\f`,ve(l?s[l-1]:0))!=-1&&(_=-1);break}case 34:case 39:case 91:C+=q(v);break;case 9:case 10:case 13:case 32:C+=Oe(m);break;case 92:C+=ke(W()-1,7);continue;case 47:switch(U()){case 42:case 47:F(Pe(Ae(H(),W()),t,n,c),c),(K(m||1)==5||K(U()||1)==5)&&P(C)&&N(C,-1,void 0)!==` `&&(C+=` `);break;default:C+=`/`}break;case 123*h:s[l++]=P(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=j(C,/\f/g,``)),p>0&&(P(C)-d||h===0&&m===47)&&F(p>32?Fe(C+`;`,r,n,d-1,c):Fe(j(C,` `,``)+`;`,r,n,d-2,c),c);break;case 59:C+=`;`;default:if(F(S=Ne(C,t,n,l,u,i,s,y,b=[],x=[],d,a),a),v===123)if(u===0)Y(C,t,S,S,b,a,d,s,x);else{switch(f){case 99:if(M(C,3)===110)break;case 108:if(M(C,2)===97)break;default:u=0;case 100:case 109:case 115:}u?Y(e,S,S,r&&F(Ne(e,S,S,0,0,i,s,y,i,b=[],d,x),x),i,x,d,s,r?b:x):Y(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+P(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&Te()==125)continue}switch(C+=ye(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(P(C)-1)*_,_=1;break;case 64:U()===45&&(C+=q(H())),f=U(),u=d=P(y=C+=je(W())),v++;break;case 45:m===45&&P(C)==2&&(h=0)}}return a}function Ne(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=Se(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=N(e,f+1,f=ve(g=o[h])),b=e;v<m;++v)(b=be(g>0?p[v]+` `+y:j(y,/&\f/g,p[v])))&&(c[_++]=b);return V(e,t,n,i===0?fe:s,c,l,u,d)}function Pe(e,t,n,r){return V(e,t,n,de,ye(we()),N(e,2,-2),0,r)}function Fe(e,t,n,r,i){return V(e,t,n,pe,N(e,0,r),N(e,r+1,-1),r,i)}function Ie(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function Le(e,t,n,r){switch(e.type){case _e:if(e.children.length)break;case me:case he:case pe:return e.return=e.return||e.value;case de:return``;case ge:return e.return=e.value+`{`+Ie(e.children,r)+`}`;case fe:if(!P(e.value=e.props.join(`,`)))return``}return P(n=Ie(e.children,r))?e.return=e.value+`{`+n+`}`:``}var Re=`c4`,ze={id:Re,detector:r(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./c4Diagram-AHTNJAMY-Bt4mDYdo.js`);return{diagram:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url);return{id:Re,diagram:t}},`loader`)},Be=`flowchart`,Ve={id:Be,detector:r((e,t)=>t?.flowchart?.defaultRenderer===`dagre-wrapper`||t?.flowchart?.defaultRenderer===`elk`?!1:/^\s*graph/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./flowDiagram-DWJPFMVM-5BllKeQC.js`);return{diagram:e}},__vite__mapDeps([11,12,3,2,4,5,1,6,7,8,9,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,10]),import.meta.url);return{id:Be,diagram:t}},`loader`)},He=`flowchart-v2`,Ue={id:He,detector:r((e,t)=>t?.flowchart?.defaultRenderer===`dagre-d3`?!1:(t?.flowchart?.defaultRenderer===`elk`&&(t.layout=`elk`),/^\s*graph/.test(e)&&t?.flowchart?.defaultRenderer===`dagre-wrapper`?!0:/^\s*flowchart/.test(e)),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./flowDiagram-DWJPFMVM-5BllKeQC.js`);return{diagram:e}},__vite__mapDeps([11,12,3,2,4,5,1,6,7,8,9,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,10]),import.meta.url);return{id:He,diagram:t}},`loader`)},We=`er`,Ge={id:We,detector:r(e=>/^\s*erDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./erDiagram-SMLLAGMA-DZV7iUsw.js`);return{diagram:e}},__vite__mapDeps([28,12,3,2,4,5,1,6,7,8,9,13,14,15,16,17,18,19,20,21,22,23,24,25]),import.meta.url);return{id:We,diagram:t}},`loader`)},Ke=`gitGraph`,qe={id:Ke,detector:r(e=>/^\s*gitGraph/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./gitGraphDiagram-UUTBAWPF-DhfiPcy7.js`);return{diagram:e}},__vite__mapDeps([29,30,7,31,2,32,8,9,33,34,35,36,37,38,39,40,41,42,43,44,3,4,5,1,6,45,46]),import.meta.url);return{id:Ke,diagram:t}},`loader`)},Je=`gantt`,Ye={id:Je,detector:r(e=>/^\s*gantt/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./ganttDiagram-T4ZO3ILL-ts-lSNwQ.js`);return{diagram:e}},__vite__mapDeps([47,2,1,48,4,49,50,51,3,5,6,7,8,9]),import.meta.url);return{id:Je,diagram:t}},`loader`)},Xe=`info`,Ze={id:Xe,detector:r(e=>/^\s*info/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./infoDiagram-42DDH7IO-DLjhsn-t.js`);return{diagram:e}},__vite__mapDeps([52,30,7,31,2,32,8,9,33,34,35,36,37,38,39,40,41,42,43,44,3,4,6,53]),import.meta.url);return{id:Xe,diagram:t}},`loader`)},Qe=`pie`,$e={id:Qe,detector:r(e=>/^\s*pie/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./pieDiagram-DEJITSTG-95UJ3oDc.js`);return{diagram:e}},__vite__mapDeps([54,1,2,30,7,31,32,8,9,33,34,35,36,37,38,39,40,41,42,43,44,3,4,21,55,50,56,22,5,6,53,45]),import.meta.url);return{id:Qe,diagram:t}},`loader`)},et=`quadrantChart`,tt={id:et,detector:r(e=>/^\s*quadrantChart/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./quadrantDiagram-34T5L4WZ-BsyEhduj.js`);return{diagram:e}},__vite__mapDeps([57,48,4,49,50,3,2,6,7]),import.meta.url);return{id:et,diagram:t}},`loader`)},nt=`xychart`,rt={id:nt,detector:r(e=>/^\s*xychart(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./xychartDiagram-5P7HB3ND-QeQfetZF.js`);return{diagram:e}},__vite__mapDeps([58,12,3,2,4,5,1,6,7,8,9,48,49,50,55,20,21,22,53]),import.meta.url);return{id:nt,diagram:t}},`loader`)},it=`requirement`,at={id:it,detector:r(e=>/^\s*requirement(Diagram)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./requirementDiagram-MS252O5E-Ce3ZT4dZ.js`);return{diagram:e}},__vite__mapDeps([59,12,3,2,4,5,1,6,7,8,9,14,15,16,17,18,19,20,21,22,23,24,25]),import.meta.url);return{id:it,diagram:t}},`loader`)},ot=`sequence`,st={id:ot,detector:r(e=>/^\s*sequenceDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./sequenceDiagram-FGHM5R23-DPptjsMp.js`);return{diagram:e}},__vite__mapDeps([60,1,2,3,4,5,6,7,8,9,46,27,10]),import.meta.url);return{id:ot,diagram:t}},`loader`)},ct=`class`,lt={id:ct,detector:r((e,t)=>t?.class?.defaultRenderer===`dagre-wrapper`?!1:/^\s*classDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./classDiagram-6PBFFD2Q-osNdAhUc.js`);return{diagram:e}},__vite__mapDeps([61,12,3,2,4,5,1,6,7,8,9,14,15,16,17,18,19,20,21,22,23,62,24,25,26,10]),import.meta.url);return{id:ct,diagram:t}},`loader`)},ut=`classDiagram`,dt={id:ut,detector:r((e,t)=>/^\s*classDiagram/.test(e)&&t?.class?.defaultRenderer===`dagre-wrapper`?!0:/^\s*classDiagram-v2/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./classDiagram-v2-HSJHXN6E-CZ6K6ZPy.js`);return{diagram:e}},__vite__mapDeps([63,12,3,2,4,5,1,6,7,8,9,14,15,16,17,18,19,20,21,22,23,62,24,25,26,10]),import.meta.url);return{id:ut,diagram:t}},`loader`)},ft=`state`,pt={id:ft,detector:r((e,t)=>t?.state?.defaultRenderer===`dagre-wrapper`?!1:/^\s*stateDiagram/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./stateDiagram-FHFEXIEX-C927293q.js`);return{diagram:e}},__vite__mapDeps([64,12,3,2,4,5,1,6,7,8,9,20,21,22,65,66,32,33,34,35,67,14,15,16,17,18,19,23,24,25,68]),import.meta.url);return{id:ft,diagram:t}},`loader`)},mt=`stateDiagram`,ht={id:mt,detector:r((e,t)=>!!(/^\s*stateDiagram-v2/.test(e)||/^\s*stateDiagram/.test(e)&&t?.state?.defaultRenderer===`dagre-wrapper`),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./stateDiagram-v2-QKLJ7IA2-Cw6lb2rh.js`);return{diagram:e}},__vite__mapDeps([69,12,3,2,4,5,1,6,7,8,9,14,15,16,17,18,19,20,21,22,23,24,25,68]),import.meta.url);return{id:mt,diagram:t}},`loader`)},gt=`journey`,_t={id:gt,detector:r(e=>/^\s*journey/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./journeyDiagram-VCZTEJTY-BBDFY8Ke.js`);return{diagram:e}},__vite__mapDeps([70,3,2,4,56,1,21,6,7,26,10]),import.meta.url);return{id:gt,diagram:t}},`loader`)},vt={draw:r((e,t,n)=>{i.debug(`rendering svg for syntax error
3
+ `);let r=ae(t),a=r.append(`g`);r.attr(`viewBox`,`0 0 2412 512`),g(r,100,512,!0),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z`),a.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z`),a.append(`text`).attr(`class`,`error-text`).attr(`x`,1440).attr(`y`,250).attr(`font-size`,`150px`).style(`text-anchor`,`middle`).text(`Syntax error in text`),a.append(`text`).attr(`class`,`error-text`).attr(`x`,1250).attr(`y`,400).attr(`font-size`,`100px`).style(`text-anchor`,`middle`).text(`mermaid version ${n}`)},`draw`)},yt=vt,bt={db:{},renderer:vt,parser:{parse:r(()=>{},`parse`)}},xt=`flowchart-elk`,St={id:xt,detector:r((e,t={})=>/^\s*flowchart-elk/.test(e)||/^\s*(flowchart|graph)/.test(e)&&t?.flowchart?.defaultRenderer===`elk`?(t.layout=`elk`,!0):!1,`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./flowDiagram-DWJPFMVM-5BllKeQC.js`);return{diagram:e}},__vite__mapDeps([11,12,3,2,4,5,1,6,7,8,9,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,10]),import.meta.url);return{id:xt,diagram:t}},`loader`)},Ct=`timeline`,wt={id:Ct,detector:r(e=>/^\s*timeline/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./timeline-definition-GMOUNBTQ-B9WBC5Ng.js`);return{diagram:e}},__vite__mapDeps([71,3,2,4,56,1,21,5,6,7,8,9,53]),import.meta.url);return{id:Ct,diagram:t}},`loader`)},Tt=`mindmap`,Et={id:Tt,detector:r(e=>/^\s*mindmap/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./mindmap-definition-QFDTVHPH-Bln4pJqk.js`);return{diagram:e}},__vite__mapDeps([72,12,3,2,4,5,1,6,7,8,9,14,15,16,17,18,19,20,21,22,23,24,25]),import.meta.url);return{id:Tt,diagram:t}},`loader`)},Dt=`kanban`,Ot={id:Dt,detector:r(e=>/^\s*kanban/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./kanban-definition-6JOO6SKY-C7Ls1ibi.js`);return{diagram:e}},__vite__mapDeps([73,12,3,2,4,5,1,6,7,8,9,53,15,16,17,18,26,27]),import.meta.url);return{id:Dt,diagram:t}},`loader`)},kt=`sankey`,At={id:kt,detector:r(e=>/^\s*sankey(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./sankeyDiagram-XADWPNL6-CSPgo5jE.js`);return{diagram:e}},__vite__mapDeps([74,3,2,4,75,55,50,6,7]),import.meta.url);return{id:kt,diagram:t}},`loader`)},jt=`packet`,Mt={id:jt,detector:r(e=>/^\s*packet(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-TYMM5635-B6FNzXAn.js`);return{diagram:e}},__vite__mapDeps([76,30,7,31,2,32,8,9,33,34,35,36,37,38,39,40,41,42,43,44,3,4,5,1,6,53,45]),import.meta.url);return{id:jt,diagram:t}},`loader`)},Nt=`radar`,Pt={id:Nt,detector:r(e=>/^\s*radar-beta/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-MMDJMWI5-6M8xRDKw.js`);return{diagram:e}},__vite__mapDeps([77,30,7,31,2,32,8,9,33,34,35,36,37,38,39,40,41,42,43,44,3,4,5,1,6,53,45]),import.meta.url);return{id:Nt,diagram:t}},`loader`)},Ft=`block`,It={id:Ft,detector:r(e=>/^\s*block(-beta)?/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./blockDiagram-DXYQGD6D-0nrFHAh9.js`);return{diagram:e}},__vite__mapDeps([78,12,3,2,4,5,1,6,7,8,9,20,21,22,66,32,33,34,13,79,23,26,17]),import.meta.url);return{id:Ft,diagram:t}},`loader`)},Lt=`treeView`,Rt={id:Lt,detector:r(e=>/^\s*treeView-beta/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-5BDNPKRD-DUr51FmO.js`);return{diagram:e}},__vite__mapDeps([80,30,7,31,2,32,8,9,33,34,35,36,37,38,39,40,41,42,43,44,3,4,5,1,6,53,45,46]),import.meta.url);return{id:Lt,diagram:t}},`loader`)},zt=`architecture`,Bt={id:zt,detector:r(e=>/^\s*architecture/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./architectureDiagram-Q4EWVU46-D9YkmuUY.js`);return{diagram:e}},__vite__mapDeps([81,2,12,3,4,5,1,6,7,8,9,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,82,53,45]),import.meta.url);return{id:zt,diagram:t}},`loader`)},Vt=`ishikawa`,Ht={id:Vt,detector:r(e=>/^\s*ishikawa(-beta)?\b/i.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./ishikawaDiagram-UXIWVN3A-l2uP3JVO.js`);return{diagram:e}},__vite__mapDeps([83,3,2,4,5,1,6,7,8,9,53,18]),import.meta.url);return{id:Vt,diagram:t}},`loader`)},Ut=`venn`,Wt={id:Ut,detector:r(e=>/^\s*venn-beta/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./vennDiagram-DHZGUBPP-DK0Nb7Wu.js`);return{diagram:e}},__vite__mapDeps([84,3,2,4,5,1,6,7,8,9,53,18]),import.meta.url);return{id:Ut,diagram:t}},`loader`)},Gt=`treemap`,Kt={id:Gt,detector:r(e=>/^\s*treemap/.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-G4DWMVQ6-DFrT1U5D.js`);return{diagram:e}},__vite__mapDeps([85,30,7,31,2,32,8,9,33,34,35,36,37,38,39,40,41,42,43,44,3,4,49,55,50,5,1,6,53,45,25,16]),import.meta.url);return{id:Gt,diagram:t}},`loader`)},qt=`wardley-beta`,Jt={id:qt,detector:r(e=>/^\s*wardley-beta/i.test(e),`detector`),loader:r(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./wardleyDiagram-NUSXRM2D-DkwoCQka.js`);return{diagram:e}},__vite__mapDeps([86,30,7,31,2,32,8,9,33,34,35,36,37,38,39,40,41,42,43,44,3,4,6,53,45]),import.meta.url);return{id:qt,diagram:t}},`loader`)},Yt=!1,X=r(()=>{Yt||(Yt=!0,l(`error`,bt,e=>e.toLowerCase().trim()===`error`),l(`---`,{db:{clear:r(()=>{},`clear`)},styles:{},renderer:{draw:r(()=>{},`draw`)},parser:{parse:r(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},`parse`)},init:r(()=>null,`init`)},e=>e.toLowerCase().trimStart().startsWith(`---`)),u(St,Et,Bt),u(ze,Ot,dt,lt,Ge,Ye,Ze,$e,at,st,Ue,Ve,wt,qe,ht,pt,_t,tt,At,Mt,rt,It,Rt,Pt,Ht,Kt,Wt,Jt))},`addDiagrams`),Xt=r(async()=>{i.debug(`Loading registered diagrams`);let e=(await Promise.allSettled(Object.entries(S).map(async([e,{detector:t,loader:n}])=>{if(n)try{w(e)}catch{try{let{diagram:e,id:r}=await n();l(r,e,t)}catch(t){throw i.error(`Failed to load external diagram with key ${e}. Removing from detectors.`),delete S[e],t}}}))).filter(e=>e.status===`rejected`);if(e.length>0){i.error(`Failed to load ${e.length} external diagrams`);for(let t of e)i.error(t);throw Error(`Failed to load ${e.length} external diagrams`)}},`loadRegisteredDiagrams`),Zt=`graphics-document document`;function Qt(e,t){e.attr(`role`,Zt),t!==``&&e.attr(`aria-roledescription`,t)}r(Qt,`setA11yDiagramInfo`);function $t(e,t,n,r){if(e.insert!==void 0){if(n){let t=`chart-desc-${r}`;e.attr(`aria-describedby`,t),e.insert(`desc`,`:first-child`).attr(`id`,t).text(n)}if(t){let n=`chart-title-${r}`;e.attr(`aria-labelledby`,n),e.insert(`title`,`:first-child`).attr(`id`,n).text(t)}}}r($t,`addSVGa11yTitleDescription`);var en=class e{constructor(e,t,n,r,i){this.type=e,this.text=t,this.db=n,this.parser=r,this.renderer=i}static{r(this,`Diagram`)}static async fromText(t,n={}){let r=T(),i=_(t,r);t=ne(t)+`
4
4
  `;try{w(i)}catch{let e=d(i);if(!e)throw new ee(`Diagram ${i} not found.`);let{id:t,diagram:n}=await e();l(t,n)}let{db:a,parser:o,renderer:s,init:c}=w(i);return o.parser&&(o.parser.yy=a),a.clear?.(),c?.(r),n.title&&a.setDiagramTitle?.(n.title),await o.parse(t),new e(i,t,a,o,s)}async render(e,t){await this.renderer.draw(this.text,e,t,this)}getParser(){return this.parser}getType(){return this.type}},tn=[],nn=r(()=>{tn.forEach(e=>{e()}),tn=[]},`attachFunctions`),rn=r(e=>e.replace(/^\s*%%(?!{)[^\n]+\n?/gm,``).trimStart(),`cleanupComments`);function an(e){let t=e.match(v);if(!t)return{text:e,metadata:{}};let n=le(t[1],{schema:ue})??{};n=typeof n==`object`&&!Array.isArray(n)?n:{};let r={};return n.displayMode&&(r.displayMode=n.displayMode.toString()),n.title&&(r.title=n.title.toString()),n.config&&(r.config=n.config),{text:e.slice(t[0].length),metadata:r}}r(an,`extractFrontMatter`);var on=r(e=>e.replace(/\r\n?/g,`
5
5
  `).replace(/<(\w+)([^>]*)>/g,(e,t,n)=>`<`+t+n.replace(/="([^"]*)"/g,`='$1'`)+`>`),`cleanupText`),sn=r(e=>{let{text:t,metadata:n}=an(e),{displayMode:r,title:i,config:a={}}=n;return r&&(a.gantt||={},a.gantt.displayMode=r),{title:i,config:a,text:t}},`processFrontmatter`),cn=r(e=>{let t=k.detectInit(e)??{},n=k.detectDirective(e,`wrap`);return Array.isArray(n)?t.wrap=n.some(({type:e})=>e===`wrap`):n?.type===`wrap`&&(t.wrap=!0),{text:re(e),directive:t}},`processDirectives`);function ln(e){let t=sn(on(e)),n=cn(t.text),r=ie(t.config,n.directive);return e=rn(n.text),{code:e,title:t.title,config:r}}r(ln,`preprocessDiagram`);function un(e){let t=new TextEncoder().encode(e),n=Array.from(t,e=>String.fromCodePoint(e)).join(``);return btoa(n)}r(un,`toBase64`);var dn=5e4,fn=`graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa`,pn=`sandbox`,mn=`loose`,hn=`http://www.w3.org/2000/svg`,gn=`http://www.w3.org/1999/xlink`,_n=`http://www.w3.org/1999/xhtml`,vn=`100%`,yn=`100%`,bn=`border:0;margin:0;`,xn=`margin:0`,Sn=`allow-top-navigation-by-user-activation allow-popups`,Cn=`The "iframe" tag is not supported by your browser.`,wn=[`foreignobject`],Tn=[`dominant-baseline`];function En(e){let t=ln(e);return a(),x(t.config??{}),t}r(En,`processAndSetConfigs`);async function Dn(e,t){X();try{let{code:t,config:n}=En(e);return{diagramType:(await Rn(t)).type,config:n}}catch(e){if(t?.suppressErrors)return!1;throw e}}r(Dn,`parse`);var On=r((e,t,n=[])=>`
6
6
  .${e} ${t} { ${n.join(` !important; `)} !important; }`,`cssImportantStyles`),kn=r((e,n=new Map)=>{let r=``;if(e.themeCSS!==void 0&&(r+=`
@@ -1,4 +1,4 @@
1
- import{n as e,r as t}from"./src-CbbwOucf.js";import{$ as n,L as r,O as i,Q as a,b as o,d as s,tt as c,y as l}from"./chunk-ICPOFSXX-CIVLR_5F.js";import"./chunk-5PVQY5BW-yDTy3kh2.js";import"./chunk-U2HBQHQK-BRyN8JBd.js";import"./chunk-BSJP7CBP-C-dn2Mkj.js";import"./chunk-ZZ45TVLE-D2TDKoTv.js";import{t as u}from"./chunk-55IACEB6-hdKwekPD.js";import{t as d}from"./chunk-EDXVE4YY-GdX4IlNB.js";import"./chunk-X2U36JSP-o7MzjrQ3.js";import"./chunk-5FUZZQ4R-qTd1X-_B.js";import"./chunk-ENJZ2VHE-B1deOUrZ.js";import{r as f,t as p}from"./chunk-336JU56O-D9l-iSoM.js";var m=[];for(let e=0;e<256;++e)m.push((e+256).toString(16).slice(1));function h(e,t=0){return(m[e[t+0]]+m[e[t+1]]+m[e[t+2]]+m[e[t+3]]+`-`+m[e[t+4]]+m[e[t+5]]+`-`+m[e[t+6]]+m[e[t+7]]+`-`+m[e[t+8]]+m[e[t+9]]+`-`+m[e[t+10]]+m[e[t+11]]+m[e[t+12]]+m[e[t+13]]+m[e[t+14]]+m[e[t+15]]).toLowerCase()}var g,_=new Uint8Array(16);function v(){if(!g){if(typeof crypto>`u`||!crypto.getRandomValues)throw Error(`crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported`);g=crypto.getRandomValues.bind(crypto)}return g(_)}var y={randomUUID:typeof crypto<`u`&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function b(e,t,n){if(y.randomUUID&&!t&&!e)return y.randomUUID();e||={};let r=e.random??e.rng?.()??v();if(r.length<16)throw Error(`Random bytes length must be >= 16`);if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n||=0,n<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return h(r)}var x=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],d=[1,24],f=[1,25],p=[6,7,11],m=[1,6,13,15,16,19,22],h=[1,33],g=[1,34],_=[1,6,7,11,13,15,16,19,22],v={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`MINDMAP`,11:`EOF`,13:`SPACELIST`,15:`ICON`,16:`CLASS`,19:`NODE_DSTART`,20:`NODE_DESCR`,21:`NODE_DEND`,22:`NODE_ID`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 17:case 21:r.decorateNode({class:a[s]});break;case 18:r.getLogger().trace(`SPACELIST`);break;case 19:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:r.decorateNode({icon:a[s]});break;case 25:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},t(l,[2,3]),{1:[2,2]},t(l,[2,4]),t(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:r,9:22,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:u,7:d,10:23,11:f},t(p,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:s,22:c}),t(p,[2,18]),t(p,[2,19]),t(p,[2,20]),t(p,[2,21]),t(p,[2,23]),t(p,[2,24]),t(p,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:d,10:32,11:f},{1:[2,7],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},t(m,[2,14],{7:h,11:g}),t(_,[2,8]),t(_,[2,9]),t(_,[2,10]),t(p,[2,15]),t(p,[2,16]),t(p,[2,17]),{20:[1,35]},{21:[1,36]},t(m,[2,13],{7:h,11:g}),t(_,[2,11]),t(_,[2,12]),{21:[1,37]},t(p,[2,25]),t(p,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ import{n as e,r as t}from"./src-CbbwOucf.js";import{$ as n,L as r,O as i,Q as a,b as o,d as s,tt as c,y as l}from"./chunk-ICPOFSXX-CWTnyt4f.js";import"./chunk-5PVQY5BW-Dge_IsSQ.js";import"./chunk-U2HBQHQK-Dl3oREYn.js";import"./chunk-BSJP7CBP-C-dn2Mkj.js";import"./chunk-ZZ45TVLE-BCfEDLCW.js";import{t as u}from"./chunk-55IACEB6-hdKwekPD.js";import{t as d}from"./chunk-EDXVE4YY-D4Xjt4_M.js";import"./chunk-X2U36JSP-B0AOCHxY.js";import"./chunk-5FUZZQ4R-BQWt7CWo.js";import"./chunk-ENJZ2VHE-ZTYJ7zgG.js";import{r as f,t as p}from"./chunk-336JU56O-CxydaaZ9.js";var m=[];for(let e=0;e<256;++e)m.push((e+256).toString(16).slice(1));function h(e,t=0){return(m[e[t+0]]+m[e[t+1]]+m[e[t+2]]+m[e[t+3]]+`-`+m[e[t+4]]+m[e[t+5]]+`-`+m[e[t+6]]+m[e[t+7]]+`-`+m[e[t+8]]+m[e[t+9]]+`-`+m[e[t+10]]+m[e[t+11]]+m[e[t+12]]+m[e[t+13]]+m[e[t+14]]+m[e[t+15]]).toLowerCase()}var g,_=new Uint8Array(16);function v(){if(!g){if(typeof crypto>`u`||!crypto.getRandomValues)throw Error(`crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported`);g=crypto.getRandomValues.bind(crypto)}return g(_)}var y={randomUUID:typeof crypto<`u`&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function b(e,t,n){if(y.randomUUID&&!t&&!e)return y.randomUUID();e||={};let r=e.random??e.rng?.()??v();if(r.length<16)throw Error(`Random bytes length must be >= 16`);if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n||=0,n<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return h(r)}var x=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],d=[1,24],f=[1,25],p=[6,7,11],m=[1,6,13,15,16,19,22],h=[1,33],g=[1,34],_=[1,6,7,11,13,15,16,19,22],v={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`MINDMAP`,11:`EOF`,13:`SPACELIST`,15:`ICON`,16:`CLASS`,19:`NODE_DSTART`,20:`NODE_DESCR`,21:`NODE_DEND`,22:`NODE_ID`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 17:case 21:r.decorateNode({class:a[s]});break;case 18:r.getLogger().trace(`SPACELIST`);break;case 19:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:r.decorateNode({icon:a[s]});break;case 25:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},t(l,[2,3]),{1:[2,2]},t(l,[2,4]),t(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:r,9:22,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:u,7:d,10:23,11:f},t(p,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:s,22:c}),t(p,[2,18]),t(p,[2,19]),t(p,[2,20]),t(p,[2,21]),t(p,[2,23]),t(p,[2,24]),t(p,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:d,10:32,11:f},{1:[2,7],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},t(m,[2,14],{7:h,11:g}),t(_,[2,8]),t(_,[2,9]),t(_,[2,10]),t(p,[2,15]),t(p,[2,16]),t(p,[2,17]),{20:[1,35]},{21:[1,36]},t(m,[2,13],{7:h,11:g}),t(_,[2,11]),t(_,[2,12]),{21:[1,37]},t(p,[2,25]),t(p,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};v.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{u as e}from"./button-DGf25ccp.js";var t=e(`map-pin`,[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]);function n(){let e=null,t=new Set;function n(){for(let e of t)e()}function r(t){e!==t&&(e=t,n())}return{arm(e){r(e)},dismiss(){r(null)},getSnapshot(){return e},subscribe(e){return t.add(e),()=>{t.delete(e)}}}}var r=n();export{t as n,r as t};
1
+ import{u as e}from"./button-Cw_0dYAP.js";var t=e(`map-pin`,[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]);function n(){let e=null,t=new Set;function n(){for(let e of t)e()}function r(t){e!==t&&(e=t,n())}return{arm(e){r(e)},dismiss(){r(null)},getSnapshot(){return e},subscribe(e){return t.add(e),()=>{t.delete(e)}}}}var r=n();export{t as n,r as t};
@@ -1,4 +1,4 @@
1
- import{o as e}from"./chunk-CFjPhJqf.js";import{n as t}from"./compiler-runtime-CVnuRdak.js";import{t as n}from"./react-dom-C-oc-P2K.js";import{u as r}from"./button-DGf25ccp.js";import{i,l as a}from"./documents-events-B83ksr6N.js";import{w as o}from"./navigation-targets-DiRykhu5.js";var s=r(`grip-vertical`,[[`circle`,{cx:`9`,cy:`12`,r:`1`,key:`1vctgf`}],[`circle`,{cx:`9`,cy:`5`,r:`1`,key:`hp0tcf`}],[`circle`,{cx:`9`,cy:`19`,r:`1`,key:`fkjjf6`}],[`circle`,{cx:`15`,cy:`12`,r:`1`,key:`1tmaij`}],[`circle`,{cx:`15`,cy:`5`,r:`1`,key:`19l28e`}],[`circle`,{cx:`15`,cy:`19`,r:`1`,key:`f4zoj3`}]]),c=e(n()),l=e(t());function u(){var e=[...arguments];return(0,l.useMemo)(()=>t=>{e.forEach(e=>e(t))},e)}var d=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function f(e){let t=Object.prototype.toString.call(e);return t===`[object Window]`||t===`[object global]`}function p(e){return`nodeType`in e}function m(e){return e?f(e)?e:p(e)?e.ownerDocument?.defaultView??window:window:window}function h(e){let{Document:t}=m(e);return e instanceof t}function g(e){return f(e)?!1:e instanceof m(e).HTMLElement}function _(e){return e instanceof m(e).SVGElement}function v(e){return e?f(e)?e.document:p(e)?h(e)?e:g(e)||_(e)?e.ownerDocument:document:document:document}var y=d?l.useLayoutEffect:l.useEffect;function b(e){let t=(0,l.useRef)(e);return y(()=>{t.current=e}),(0,l.useCallback)(function(){var e=[...arguments];return t.current==null?void 0:t.current(...e)},[])}function x(){let e=(0,l.useRef)(null);return[(0,l.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,l.useCallback)(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[])]}function S(e,t){t===void 0&&(t=[e]);let n=(0,l.useRef)(e);return y(()=>{n.current!==e&&(n.current=e)},t),n}function C(e,t){let n=(0,l.useRef)();return(0,l.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function w(e){let t=b(e),n=(0,l.useRef)(null);return[n,(0,l.useCallback)(e=>{e!==n.current&&t?.(e,n.current),n.current=e},[])]}function T(e){let t=(0,l.useRef)();return(0,l.useEffect)(()=>{t.current=e},[e]),t.current}var E={};function ee(e,t){return(0,l.useMemo)(()=>{if(t)return t;let n=E[e]==null?0:E[e]+1;return E[e]=n,e+`-`+n},[e,t])}function D(e){return function(t){return[...arguments].slice(1).reduce((t,n)=>{let r=Object.entries(n);for(let[n,i]of r){let r=t[n];r!=null&&(t[n]=r+e*i)}return t},{...t})}}var O=D(1),k=D(-1);function A(e){return`clientX`in e&&`clientY`in e}function te(e){if(!e)return!1;let{KeyboardEvent:t}=m(e.target);return t&&e instanceof t}function ne(e){if(!e)return!1;let{TouchEvent:t}=m(e.target);return t&&e instanceof t}function re(e){if(ne(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return A(e)?{x:e.clientX,y:e.clientY}:null}var j=Object.freeze({Translate:{toString(e){if(!e)return;let{x:t,y:n}=e;return`translate3d(`+(t?Math.round(t):0)+`px, `+(n?Math.round(n):0)+`px, 0)`}},Scale:{toString(e){if(!e)return;let{scaleX:t,scaleY:n}=e;return`scaleX(`+t+`) scaleY(`+n+`)`}},Transform:{toString(e){if(e)return[j.Translate.toString(e),j.Scale.toString(e)].join(` `)}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+` `+n+`ms `+r}}}),ie=`a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]`;function M(e){return e.matches(ie)?e:e.querySelector(ie)}var ae={display:`none`};function oe(e){let{id:t,value:n}=e;return l.createElement(`div`,{id:t,style:ae},n)}function N(e){let{id:t,announcement:n,ariaLiveType:r=`assertive`}=e;return l.createElement(`div`,{id:t,style:{position:`fixed`,top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:`hidden`,clip:`rect(0 0 0 0)`,clipPath:`inset(100%)`,whiteSpace:`nowrap`},role:`status`,"aria-live":r,"aria-atomic":!0},n)}function P(){let[e,t]=(0,l.useState)(``);return{announce:(0,l.useCallback)(e=>{e!=null&&t(e)},[]),announcement:e}}var F=(0,l.createContext)(null);function I(e){let t=(0,l.useContext)(F);(0,l.useEffect)(()=>{if(!t)throw Error(`useDndMonitor must be used within a children of <DndContext>`);return t(e)},[e,t])}function se(){let[e]=(0,l.useState)(()=>new Set),t=(0,l.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,l.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>e[n]?.call(e,r))},[e]),t]}var ce={draggable:`
1
+ import{o as e}from"./chunk-CFjPhJqf.js";import{n as t}from"./compiler-runtime-CVnuRdak.js";import{t as n}from"./react-dom-C-oc-P2K.js";import{u as r}from"./button-Cw_0dYAP.js";import{i,u as a}from"./documents-events-Bsq-Lwvc.js";import{s as o}from"./doc-hash-CyR3apuv.js";var s=r(`grip-vertical`,[[`circle`,{cx:`9`,cy:`12`,r:`1`,key:`1vctgf`}],[`circle`,{cx:`9`,cy:`5`,r:`1`,key:`hp0tcf`}],[`circle`,{cx:`9`,cy:`19`,r:`1`,key:`fkjjf6`}],[`circle`,{cx:`15`,cy:`12`,r:`1`,key:`1tmaij`}],[`circle`,{cx:`15`,cy:`5`,r:`1`,key:`19l28e`}],[`circle`,{cx:`15`,cy:`19`,r:`1`,key:`f4zoj3`}]]),c=e(n()),l=e(t());function u(){var e=[...arguments];return(0,l.useMemo)(()=>t=>{e.forEach(e=>e(t))},e)}var d=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function f(e){let t=Object.prototype.toString.call(e);return t===`[object Window]`||t===`[object global]`}function p(e){return`nodeType`in e}function m(e){return e?f(e)?e:p(e)?e.ownerDocument?.defaultView??window:window:window}function h(e){let{Document:t}=m(e);return e instanceof t}function g(e){return f(e)?!1:e instanceof m(e).HTMLElement}function _(e){return e instanceof m(e).SVGElement}function v(e){return e?f(e)?e.document:p(e)?h(e)?e:g(e)||_(e)?e.ownerDocument:document:document:document}var y=d?l.useLayoutEffect:l.useEffect;function b(e){let t=(0,l.useRef)(e);return y(()=>{t.current=e}),(0,l.useCallback)(function(){var e=[...arguments];return t.current==null?void 0:t.current(...e)},[])}function x(){let e=(0,l.useRef)(null);return[(0,l.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,l.useCallback)(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[])]}function S(e,t){t===void 0&&(t=[e]);let n=(0,l.useRef)(e);return y(()=>{n.current!==e&&(n.current=e)},t),n}function C(e,t){let n=(0,l.useRef)();return(0,l.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function w(e){let t=b(e),n=(0,l.useRef)(null);return[n,(0,l.useCallback)(e=>{e!==n.current&&t?.(e,n.current),n.current=e},[])]}function T(e){let t=(0,l.useRef)();return(0,l.useEffect)(()=>{t.current=e},[e]),t.current}var E={};function ee(e,t){return(0,l.useMemo)(()=>{if(t)return t;let n=E[e]==null?0:E[e]+1;return E[e]=n,e+`-`+n},[e,t])}function D(e){return function(t){return[...arguments].slice(1).reduce((t,n)=>{let r=Object.entries(n);for(let[n,i]of r){let r=t[n];r!=null&&(t[n]=r+e*i)}return t},{...t})}}var O=D(1),k=D(-1);function A(e){return`clientX`in e&&`clientY`in e}function te(e){if(!e)return!1;let{KeyboardEvent:t}=m(e.target);return t&&e instanceof t}function ne(e){if(!e)return!1;let{TouchEvent:t}=m(e.target);return t&&e instanceof t}function re(e){if(ne(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return A(e)?{x:e.clientX,y:e.clientY}:null}var j=Object.freeze({Translate:{toString(e){if(!e)return;let{x:t,y:n}=e;return`translate3d(`+(t?Math.round(t):0)+`px, `+(n?Math.round(n):0)+`px, 0)`}},Scale:{toString(e){if(!e)return;let{scaleX:t,scaleY:n}=e;return`scaleX(`+t+`) scaleY(`+n+`)`}},Transform:{toString(e){if(e)return[j.Translate.toString(e),j.Scale.toString(e)].join(` `)}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+` `+n+`ms `+r}}}),ie=`a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]`;function M(e){return e.matches(ie)?e:e.querySelector(ie)}var ae={display:`none`};function oe(e){let{id:t,value:n}=e;return l.createElement(`div`,{id:t,style:ae},n)}function N(e){let{id:t,announcement:n,ariaLiveType:r=`assertive`}=e;return l.createElement(`div`,{id:t,style:{position:`fixed`,top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:`hidden`,clip:`rect(0 0 0 0)`,clipPath:`inset(100%)`,whiteSpace:`nowrap`},role:`status`,"aria-live":r,"aria-atomic":!0},n)}function P(){let[e,t]=(0,l.useState)(``);return{announce:(0,l.useCallback)(e=>{e!=null&&t(e)},[]),announcement:e}}var F=(0,l.createContext)(null);function I(e){let t=(0,l.useContext)(F);(0,l.useEffect)(()=>{if(!t)throw Error(`useDndMonitor must be used within a children of <DndContext>`);return t(e)},[e,t])}function se(){let[e]=(0,l.useState)(()=>new Set),t=(0,l.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,l.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>e[n]?.call(e,r))},[e]),t]}var ce={draggable:`
2
2
  To pick up a draggable item, press the space bar.
3
3
  While dragging, use the arrow keys to move the item.
4
4
  Press space again to drop the item in its new position, or press escape to cancel.
@@ -0,0 +1 @@
1
+ import{o as e}from"./chunk-CFjPhJqf.js";import{n as t,r as n,t as r}from"./compiler-runtime-CVnuRdak.js";import{i}from"./button-Cw_0dYAP.js";var a=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},o=new class extends a{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},s={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},c=new class{#e=s;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function l(e){setTimeout(e,0)}var u=typeof window>`u`||`Deno`in globalThis;function d(){}function f(e,t){return typeof e==`function`?e(t):e}function p(e){return typeof e==`number`&&e>=0&&e!==1/0}function m(e,t){return Math.max(e+(t||0)-Date.now(),0)}function h(e,t){return typeof e==`function`?e(t):e}function g(e,t){return typeof e==`function`?e(t):e}function _(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==y(o,t.options))return!1}else if(!x(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function v(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(b(t.options.mutationKey)!==b(a))return!1}else if(!x(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function y(e,t){return(t?.queryKeyHashFn||b)(e)}function b(e){return JSON.stringify(e,(e,t)=>E(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function x(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>x(e[n],t[n])):!1}var S=Object.prototype.hasOwnProperty;function C(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=T(e)&&T(t);if(!r&&!(E(e)&&E(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:S.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=C(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function w(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function T(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function E(e){if(!D(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!D(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function D(e){return Object.prototype.toString.call(e)===`[object Object]`}function ee(e){return new Promise(t=>{c.setTimeout(t,e)})}function O(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:C(e,t)}function te(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function ne(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var k=Symbol();function A(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===k?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function j(e,t){return typeof e==`function`?e(...t):!!e}function re(e,t,n){let r=!1,i;return Object.defineProperty(e,`signal`,{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var M=(()=>{let e=()=>u;return{isServer(){return e()},setIsServer(t){e=t}}})();function N(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var ie=l;function ae(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=ie,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var P=ae(),F=new class extends a{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function oe(e){return Math.min(1e3*2**e,3e4)}function I(e){return(e??`online`)===`online`?F.isOnline():!0}var L=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function R(e){let t=!1,n=0,r,i=N(),a=()=>i.status!==`pending`,s=t=>{if(!a()){let n=new L(t);p(n),e.onCancel?.(n)}},c=()=>{t=!0},l=()=>{t=!1},u=()=>o.isFocused()&&(e.networkMode===`always`||F.isOnline())&&e.canRun(),d=()=>I(e.networkMode)&&e.canRun(),f=e=>{a()||(r?.(),i.resolve(e))},p=e=>{a()||(r?.(),i.reject(e))},m=()=>new Promise(t=>{r=e=>{(a()||u())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),h=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(f).catch(r=>{if(a())return;let i=e.retry??(M.isServer()?0:3),o=e.retryDelay??oe,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){p(r);return}n++,e.onFail?.(n,r),ee(s).then(()=>u()?void 0:m()).then(()=>{t?p(r):h()})})};return{promise:i,status:()=>i.status,cancel:s,continue:()=>(r?.(),i),cancelRetry:c,continueRetry:l,canStart:d,start:()=>(d()?h():m().then(h),i)}}var z=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),p(this.gcTime)&&(this.#e=c.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(M.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(c.clearTimeout(this.#e),this.#e=void 0)}},se=class extends z{#e;#t;#n;#r;#i;#a;#o;constructor(e){super(),this.#o=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#n=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=H(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#a,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=H(this.options);e.data!==void 0&&(this.setState(V(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#n.remove(this)}setData(e,t){let n=O(this.state.data,e,this.options);return this.#c({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#c({type:`setState`,state:e,setStateOptions:t})}cancel(e){let t=this.#i?.promise;return this.#i?.cancel(e),t?t.then(d).catch(d):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>g(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===k||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>h(e.options.staleTime,this)===`static`):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!m(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#i&&(this.#o||this.#s()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#n.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#s(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#c({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#i?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,`signal`,{enumerable:!0,get:()=>(this.#o=!0,n.signal)})},i=()=>{let e=A(this.options,t),n=(()=>{let e={client:this.#r,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#o=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:i};return r(e),e})();this.options.behavior?.onFetch(a,this),this.#t=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#c({type:`fetch`,meta:a.fetchOptions?.meta}),this.#i=R({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof L&&e.revert&&this.setState({...this.#t,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#c({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#c({type:`pause`})},onContinue:()=>{this.#c({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#i.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#n.config.onSuccess?.(e,this),this.#n.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof L){if(e.silent)return this.#i.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#c({type:`error`,error:e}),this.#n.config.onError?.(e,this),this.#n.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#c(e){this.state=(t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...B(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...V(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}})(this.state),P.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#n.notify({query:this,type:`updated`,action:e})})}};function B(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:I(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function V(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function H(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var ce=class extends a{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=N(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),U(this.#t,this.options)?this.#h():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return W(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return W(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof g(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!w(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&G(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#t!==n||g(this.options.enabled,this.#t)!==g(t.enabled,this.#t)||h(this.options.staleTime,this.#t)!==h(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||g(this.options.enabled,this.#t)!==g(t.enabled,this.#t)||i!==this.#p)&&this.#v(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return ue(this,n)&&(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&this.#o.status===`pending`&&this.#o.reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(d)),t}#g(){this.#b();let e=h(this.options.staleTime,this.#t);if(M.isServer()||this.#r.isStale||!p(e))return;let t=m(this.#r.dataUpdatedAt,e)+1;this.#d=c.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#p=e,!(M.isServer()||g(this.options.enabled,this.#t)===!1||!p(this.#p)||this.#p===0)&&(this.#f=c.setInterval(()=>{(this.options.refetchIntervalInBackground||o.isFocused())&&this.#h()},this.#p))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#d!==void 0&&(c.clearTimeout(this.#d),this.#d=void 0)}#x(){this.#f!==void 0&&(c.clearInterval(this.#f),this.#f=void 0)}createResult(e,t){let n=this.#t,r=this.options,i=this.#r,a=this.#i,o=this.#a,s=e===n?this.#n:e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&U(e,t),o=i&&G(e,n,t,r);(a||o)&&(l={...l,...B(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let h=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,h=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#u?.state.data,this.#u):t.placeholderData,e!==void 0&&(m=`success`,d=O(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!h)if(i&&d===a?.data&&t.select===this.#c)d=this.#l;else try{this.#c=t.select,d=t.select(d),d=O(i?.data,d,t),this.#l=d,this.#s=null}catch(e){this.#s=e}this.#s&&(f=this.#s,d=this.#l,p=Date.now(),m=`error`);let _=l.fetchStatus===`fetching`,v=m===`pending`,y=m===`error`,b=v&&_,x=d!==void 0,S={status:m,fetchStatus:l.fetchStatus,isPending:v,isSuccess:m===`success`,isError:y,isInitialLoading:b,isLoading:b,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:_,isRefetching:_&&!v,isLoadingError:y&&!x,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:y&&x,isStale:K(e,t),refetch:this.refetch,promise:this.#o,isEnabled:g(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=S.data!==void 0,r=S.status===`error`&&!t,i=e=>{r?e.reject(S.error):t&&e.resolve(S.data)},a=()=>{i(this.#o=S.promise=N())},o=this.#o;switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||S.data!==o.value)&&a();break;case`rejected`:(!r||S.error!==o.reason)&&a();break}}return S}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#u=this.#t),!w(t,e)&&(this.#r=t,this.#C({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#m.size)return!0;let r=new Set(n??this.#m);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})()}))}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#C(e){P.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}};function le(e,t){return g(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===`error`&&t.retryOnMount===!1)}function U(e,t){return le(e,t)||e.state.data!==void 0&&W(e,t,t.refetchOnMount)}function W(e,t,n){if(g(t.enabled,e)!==!1&&h(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&K(e,t)}return!1}function G(e,t,n,r){return(e!==t||g(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&K(e,n)}function K(e,t){return g(t.enabled,e)!==!1&&e.isStaleByTime(h(t.staleTime,e))}function ue(e,t){return!w(e.getCurrentResult(),t)}var q=e(t(),1),J=n(),Y=q.createContext(void 0),X=e=>{let t=q.useContext(Y);if(e)return e;if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t},de=({client:e,children:t})=>(q.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,J.jsx)(Y.Provider,{value:e,children:t})),Z=q.createContext(!1),fe=()=>q.useContext(Z);Z.Provider;function pe(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var me=q.createContext(pe()),he=()=>q.useContext(me),ge=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?j(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},_e=e=>{q.useEffect(()=>{e.clearReset()},[e])},ve=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||j(n,[e.error,r])),ye=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},be=(e,t)=>e.isLoading&&e.isFetching&&!t,xe=(e,t)=>e?.suspense&&t.isPending,Q=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function Se(e,t,n){let r=fe(),i=he(),a=X(n),o=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);let s=a.getQueryCache().get(o.queryHash);o._optimisticResults=r?`isRestoring`:`optimistic`,ye(o),ge(o,i,s),_e(i);let c=!a.getQueryCache().get(o.queryHash),[l]=q.useState(()=>new t(a,o)),u=l.getOptimisticResult(o),f=!r&&e.subscribed!==!1;if(q.useSyncExternalStore(q.useCallback(e=>{let t=f?l.subscribe(P.batchCalls(e)):d;return l.updateResult(),t},[l,f]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),q.useEffect(()=>{l.setOptions(o)},[o,l]),xe(o,u))throw Q(o,l,i);if(ve({result:u,errorResetBoundary:i,throwOnError:o.throwOnError,query:s,suspense:o.suspense}))throw u.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(o,u),o.experimental_prefetchInRender&&!M.isServer()&&be(u,r)&&(c?Q(o,l,i):s?.promise)?.catch(d).finally(()=>{l.updateResult()}),o.notifyOnChangeProps?u:l.trackResult(u)}function Ce(e,t){return Se(e,ce,t)}var $=r();function we(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let a;t[3]===n?a=t[4]:(a=i(`flex h-full min-h-0 flex-col`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a?(o=(0,J.jsx)(`section`,{"data-slot":`panel`,className:a,...r}),t[5]=r,t[6]=a,t[7]=o):o=t[7],o}function Te(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let a;t[3]===n?a=t[4]:(a=i(`shrink-0 flex items-center justify-between px-4 py-3`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a?(o=(0,J.jsx)(`div`,{"data-slot":`panel-header`,className:a,...r}),t[5]=r,t[6]=a,t[7]=o):o=t[7],o}function Ee(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let a;t[3]===n?a=t[4]:(a=i(`text-sm font-medium uppercase font-mono tracking-wider text-muted-foreground`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a?(o=(0,J.jsx)(`h2`,{"data-slot":`panel-title`,className:a,...r}),t[5]=r,t[6]=a,t[7]=o):o=t[7],o}function De(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let a;t[3]===n?a=t[4]:(a=i(`text-xs text-muted-foreground font-mono bg-muted-foreground/5 rounded-md px-2 py-1`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a?(o=(0,J.jsx)(`p`,{"data-slot":`panel-count`,className:a,...r}),t[5]=r,t[6]=a,t[7]=o):o=t[7],o}function Oe(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let a;t[3]===n?a=t[4]:(a=i(`subtle-scrollbar scroll-fade-mask min-h-0 flex-1 overflow-y-auto px-4 py-3`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a?(o=(0,J.jsx)(`div`,{"data-slot":`panel-body`,className:a,...r}),t[5]=r,t[6]=a,t[7]=o):o=t[7],o}function ke(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let a;t[3]===n?a=t[4]:(a=i(`text-sm text-muted-foreground/60`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a?(o=(0,J.jsx)(`p`,{"data-slot":`panel-empty`,className:a,...r}),t[5]=r,t[6]=a,t[7]=o):o=t[7],o}function Ae(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let a;t[3]===n?a=t[4]:(a=i(`text-sm text-destructive`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a?(o=(0,J.jsx)(`p`,{"data-slot":`panel-error`,className:a,...r}),t[5]=r,t[6]=a,t[7]=o):o=t[7],o}export{a as A,v as C,h as D,x as E,k as O,y as S,d as T,te as _,Ae as a,f as b,Ce as c,se as d,z as f,re as g,P as h,ke as i,o as k,de as l,F as m,Oe as n,Te as o,R as p,De as r,Ee as s,we as t,X as u,ne as v,_ as w,b as x,A as y};
@@ -0,0 +1 @@
1
+ import{o as e}from"./chunk-CFjPhJqf.js";import{n as t,r as n,t as r}from"./compiler-runtime-CVnuRdak.js";import{n as i,r as a}from"./dist-CQw2y-s3.js";import{t as o,u as s}from"./button-Cw_0dYAP.js";import{i as c,n as l,t as u}from"./EnableSyncConfirmDialog-O-QyePZs.js";import{r as d}from"./config-context-B6QjZ1RW.js";import{t as f}from"./loader-circle-BFgDr9-d.js";import{n as p}from"./miss-dialog-store-D4V6ccBu.js";import{t as m}from"./refresh-cw-BHaAFbCQ.js";import{_ as h,r as g,u as _}from"./doc-hash-CyR3apuv.js";var v=s(`arrow-down-to-line`,[[`path`,{d:`M12 17V3`,key:`1cwfxf`}],[`path`,{d:`m6 11 6 6 6-6`,key:`12ii2o`}],[`path`,{d:`M19 21H5`,key:`150jfl`}]]),y=s(`file-pen`,[[`path`,{d:`M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34`,key:`o6klzx`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z`,key:`zhnas1`}]]),b=s(`file-question-mark`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}],[`path`,{d:`M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3`,key:`mhlwft`}]]),x=s(`file-x-corner`,[[`path`,{d:`M11 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5`,key:`1jo35a`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m15 17 5 5`,key:`36xl1x`}],[`path`,{d:`m20 17-5 5`,key:`vdz27y`}]]),S=r(),C=e(t(),1),w=n();function T(e){let t=e.lastIndexOf(`/`);return t===-1?``:e.slice(0,t)}function E(e){let t=(0,S.c)(6),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={phase:`pending`},t[0]=n):n=t[0];let[r,i]=(0,C.useState)(n),a=e.branch,o,s;return t[1]!==a||t[2]!==e.kind||t[3]!==e.path?(o=()=>{let t=window.okDesktop??null;if(!t||a===null){i({phase:`resolved`,resolution:{verdict:`unknown`}});return}let n=!1;return t.project.fetchTargetStatus({projectPath:t.config.projectPath,branch:a,path:e.path,kind:e.kind}).then(e=>{n||i({phase:`resolved`,resolution:e??{verdict:`unknown`}})}).catch(e=>{n||(console.warn(`[receive] miss target-status fetch failed`,e instanceof Error?e.message:e),i({phase:`resolved`,resolution:{verdict:`unknown`}}))}),()=>{n=!0}},s=[a,e.kind,e.path],t[1]=a,t[2]=e.kind,t[3]=e.path,t[4]=o,t[5]=s):(o=t[4],s=t[5]),(0,C.useEffect)(o,s),r}function D(e){let t=(0,S.c)(15),{onEnabled:n}=e,r=c(),a;t[0]===n?a=t[1]:(a={onEnabled:n},t[0]=n,t[1]=a);let{confirmOpen:s,setConfirmOpen:d,onToggleRequest:f,onConfirm:p}=l(r,a),h;t[2]===f?h=t[3]:(h=()=>f(!0),t[2]=f,t[3]=h);let g,_;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,w.jsx)(m,{className:`size-4`,"aria-hidden":`true`}),_=(0,w.jsx)(i,{id:`XU0OXn`}),t[4]=g,t[5]=_):(g=t[4],_=t[5]);let v;t[6]===h?v=t[7]:(v=(0,w.jsxs)(o,{onClick:h,"data-testid":`share-receive-miss-enable-sync`,children:[g,_]}),t[6]=h,t[7]=v);let y;t[8]!==s||t[9]!==p||t[10]!==d?(y=(0,w.jsx)(u,{open:s,onOpenChange:d,onConfirm:p}),t[8]=s,t[9]=p,t[10]=d,t[11]=y):y=t[11];let b;return t[12]!==v||t[13]!==y?(b=(0,w.jsxs)(w.Fragment,{children:[v,y]}),t[12]=v,t[13]=y,t[14]=b):b=t[14],b}function O(e){let t=(0,S.c)(61),{nav:n,state:r,onBrowseFolder:s,onOpenRenamed:c,onEnableAutoSync:l}=e,{_:u}=a(),m=n.branch,h;t[0]!==u||t[1]!==n.kind?(h=n.kind===`folder`?u({id:`ugoTXs`}):u({id:`XH30C4`}),t[0]=u,t[1]=n.kind,t[2]=h):h=t[2];let g=h;if(r.phase===`pending`){let e;return t[3]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(f,{className:`size-5 animate-spin`,"aria-hidden":`true`}),(0,w.jsx)(i,{id:`c8jBgX`})]}),t[3]=e):e=t[3],e}let{resolution:_}=r,C,T;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,w.jsx)(d,{className:`size-4`,"aria-hidden":`true`}),T=(0,w.jsx)(i,{id:`hItdtk`}),t[4]=C,t[5]=T):(C=t[4],T=t[5]);let E;t[6]===s?E=t[7]:(E=(0,w.jsxs)(o,{variant:`outline`,onClick:s,"data-testid":`share-receive-miss-browse`,children:[C,T]}),t[6]=s,t[7]=E);let O=E,k,A,j;if(_.verdict===`renamed`){let e;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(p,{className:`size-9`,"aria-hidden":`true`}),t[8]=e):e=t[8],k=e;let n;t[9]!==_.renamedTo||t[10]!==g?(n={0:_.renamedTo,targetNoun:g},t[9]=_.renamedTo,t[10]=g,t[11]=n):n=t[11];let r;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(r={0:(0,w.jsx)(`code`,{className:`rounded-sm bg-muted px-1 py-0.5 text-foreground/80`})},t[12]=r):r=t[12];let a;t[13]===n?a=t[14]:(a=(0,w.jsx)(i,{id:`P0HC30`,values:n,components:r}),t[13]=n,t[14]=a),A=a;let s;t[15]!==c||t[16]!==_.renamedTo?(s=()=>c(_.renamedTo),t[15]=c,t[16]=_.renamedTo,t[17]=s):s=t[17];let l,u;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,w.jsx)(p,{className:`size-4`,"aria-hidden":`true`}),u=(0,w.jsx)(i,{id:`AItsE5`}),t[18]=l,t[19]=u):(l=t[18],u=t[19]);let d;t[20]===s?d=t[21]:(d=(0,w.jsxs)(o,{onClick:s,"data-testid":`share-receive-miss-open-renamed`,children:[l,u]}),t[20]=s,t[21]=d);let f;t[22]!==O||t[23]!==d?(f=(0,w.jsxs)(w.Fragment,{children:[d,O]}),t[22]=O,t[23]=d,t[24]=f):f=t[24],j=f}else if(_.verdict===`deleted`){let e;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(x,{className:`size-9`,"aria-hidden":`true`}),t[25]=e):e=t[25],k=e;let n;t[26]!==m||t[27]!==g?(n={targetNoun:g,branch:m},t[26]=m,t[27]=g,t[28]=n):n=t[28];let r;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(r={0:(0,w.jsx)(`code`,{className:`rounded-sm bg-muted px-1 py-0.5 text-foreground/80`})},t[29]=r):r=t[29];let a;t[30]===n?a=t[31]:(a=(0,w.jsx)(i,{id:`kpqWwG`,values:n,components:r}),t[30]=n,t[31]=a),A=a,j=O}else if(_.verdict===`never-on-branch`){let e;t[32]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(b,{className:`size-9`,"aria-hidden":`true`}),t[32]=e):e=t[32],k=e;let n;t[33]!==m||t[34]!==g?(n={targetNoun:g,branch:m},t[33]=m,t[34]=g,t[35]=n):n=t[35];let r;t[36]===Symbol.for(`react.memo_cache_sentinel`)?(r={0:(0,w.jsx)(`code`,{className:`rounded-sm bg-muted px-1 py-0.5 text-foreground/80`})},t[36]=r):r=t[36];let a;t[37]===n?a=t[38]:(a=(0,w.jsx)(i,{id:`i9TPUi`,values:n,components:r}),t[37]=n,t[38]=a),A=a,j=O}else if(_.verdict===`changed-locally`){let e;t[39]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(y,{className:`size-9`,"aria-hidden":`true`}),t[39]=e):e=t[39],k=e;let n;t[40]!==m||t[41]!==g?(n=m===null?(0,w.jsx)(i,{id:`UuYo7g`,values:{targetNoun:g}}):(0,w.jsx)(i,{id:`HoWElC`,values:{targetNoun:g,branch:m},components:{0:(0,w.jsx)(`code`,{className:`rounded-sm bg-muted px-1 py-0.5 text-foreground/80`})}}),t[40]=m,t[41]=g,t[42]=n):n=t[42],A=n;let r;t[43]===l?r=t[44]:(r=(0,w.jsx)(D,{onEnabled:l}),t[43]=l,t[44]=r);let a;t[45]!==O||t[46]!==r?(a=(0,w.jsxs)(w.Fragment,{children:[r,O]}),t[45]=O,t[46]=r,t[47]=a):a=t[47],j=a}else{let e;t[48]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,w.jsx)(v,{className:`size-9`,"aria-hidden":`true`}),t[48]=e):e=t[48],k=e;let n;t[49]===m?n=t[50]:(n=m===null?(0,w.jsx)(i,{id:`Xewl6B`}):(0,w.jsx)(i,{id:`d1JjXo`,values:{branch:m},components:{0:(0,w.jsx)(`code`,{className:`rounded-sm bg-muted px-1 py-0.5 text-foreground/80`})}}),t[49]=m,t[50]=n),A=n,j=O}let M;t[51]===k?M=t[52]:(M=(0,w.jsx)(`div`,{className:`flex size-16 items-center justify-center rounded-full border bg-muted/40 text-muted-foreground`,children:k}),t[51]=k,t[52]=M);let N;t[53]===A?N=t[54]:(N=(0,w.jsx)(`p`,{className:`max-w-md text-balance text-base leading-6 text-foreground/90`,children:A}),t[53]=A,t[54]=N);let P;t[55]===j?P=t[56]:(P=(0,w.jsx)(`div`,{className:`flex flex-col-reverse gap-2 sm:flex-row`,children:j}),t[55]=j,t[56]=P);let F;return t[57]!==M||t[58]!==N||t[59]!==P?(F=(0,w.jsxs)(w.Fragment,{children:[M,N,P]}),t[57]=M,t[58]=N,t[59]=P,t[60]=F):F=t[60],F}function k(e){return e.replace(/^\/+|\/+$/g,``)}function A(e,t){if(t.kind===`folder`){if(_(e))return k(t.path)===``;let n=g(e);return n!==null&&k(n)===k(t.path)}let n=g(e);return n===null?!1:h(n).normalizedTarget===h(t.path).normalizedTarget}function j(){let e=null,t=new Set,n=!1;function r(){for(let e of t)e()}function i(t){e!==t&&(e=t,r())}function a(){e!==null&&(A(window.location.hash,e)||i(null))}function o(){n||typeof window>`u`||(n=!0,window.addEventListener(`hashchange`,a))}return{arm(e){o(),i(e)},clear(){i(null)},getSnapshot(){return e},subscribe(e){return t.add(e),()=>{t.delete(e)}},dispose(){n&&typeof window<`u`&&(window.removeEventListener(`hashchange`,a),n=!1),i(null)}}}var M=j();function N(e,t){return e===null||e.kind!==`missing`||t===null||h(t.path).normalizedTarget!==e.target?null:t}export{E as a,T as i,M as n,v as o,O as r,N as t};
@@ -1,4 +1,4 @@
1
- import{n as e,r as t}from"./src-CbbwOucf.js";import{B as n,C as r,V as i,W as a,_ as o,a as s,b as c,c as l,d as u,v as d}from"./chunk-ICPOFSXX-CIVLR_5F.js";import{t as f}from"./ordinal-xd87TCK5.js";import{n as p}from"./path-B3Eut0a4.js";import{m}from"./dist-BGPDbC1a.js";import{t as h}from"./arc-BT8Hati9.js";import{t as g}from"./array-BUzQ4ozH.js";import{f as _,r as v}from"./chunk-5PVQY5BW-yDTy3kh2.js";import{t as y}from"./chunk-426QAEUC-CGz89IOu.js";import{t as b}from"./chunk-4BX2VUAB-CxNONOIl.js";import{t as x}from"./mermaid-parser.core-BkIpaEsR.js";function S(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function C(e){return e}function w(){var e=C,t=S,n=null,r=p(0),i=p(m),a=p(0);function o(o){var s,c=(o=g(o)).length,l,u,d=0,f=Array(c),p=Array(c),h=+r.apply(this,arguments),_=Math.min(m,Math.max(-m,i.apply(this,arguments)-h)),v,y=Math.min(Math.abs(_)/c,a.apply(this,arguments)),b=y*(_<0?-1:1),x;for(s=0;s<c;++s)(x=p[f[s]=s]=+e(o[s],s,o))>0&&(d+=x);for(t==null?n!=null&&f.sort(function(e,t){return n(o[e],o[t])}):f.sort(function(e,n){return t(p[e],p[n])}),s=0,u=d?(_-c*b)/d:0;s<c;++s,h=v)l=f[s],x=p[l],v=h+(x>0?x*u:0)+b,p[l]={data:o[l],index:s,value:x,startAngle:h,endAngle:v,padAngle:y};return p}return o.value=function(t){return arguments.length?(e=typeof t==`function`?t:p(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r=typeof e==`function`?e:p(+e),o):r},o.endAngle=function(e){return arguments.length?(i=typeof e==`function`?e:p(+e),o):i},o.padAngle=function(e){return arguments.length?(a=typeof e==`function`?e:p(+e),o):a},o}var T=u.pie,E={sections:new Map,showData:!1,config:T},D=E.sections,O=E.showData,k=structuredClone(T),A={getConfig:e(()=>structuredClone(k),`getConfig`),clear:e(()=>{D=new Map,O=E.showData,s()},`clear`),setDiagramTitle:a,getDiagramTitle:r,setAccTitle:i,getAccTitle:d,setAccDescription:n,getAccDescription:o,addSection:e(({label:e,value:n})=>{if(n<0)throw Error(`"${e}" has invalid value: ${n}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);D.has(e)||(D.set(e,n),t.debug(`added new section: ${e}, with value: ${n}`))},`addSection`),getSections:e(()=>D,`getSections`),setShowData:e(e=>{O=e},`setShowData`),getShowData:e(()=>O,`getShowData`)},j=e((e,t)=>{b(e,t),t.setShowData(e.showData),e.sections.map(t.addSection)},`populateDb`),M={parse:e(async e=>{let n=await x(`pie`,e);t.debug(n),j(n,A)},`parse`)},N=e(e=>`
1
+ import{n as e,r as t}from"./src-CbbwOucf.js";import{B as n,C as r,V as i,W as a,_ as o,a as s,b as c,c as l,d as u,v as d}from"./chunk-ICPOFSXX-CWTnyt4f.js";import{t as f}from"./ordinal-xd87TCK5.js";import{n as p}from"./path-B3Eut0a4.js";import{m}from"./dist-BGPDbC1a.js";import{t as h}from"./arc-BT8Hati9.js";import{t as g}from"./array-BUzQ4ozH.js";import{f as _,r as v}from"./chunk-5PVQY5BW-Dge_IsSQ.js";import{t as y}from"./chunk-426QAEUC-w5g8JVfo.js";import{t as b}from"./chunk-4BX2VUAB-CxNONOIl.js";import{t as x}from"./mermaid-parser.core-BkIpaEsR.js";function S(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function C(e){return e}function w(){var e=C,t=S,n=null,r=p(0),i=p(m),a=p(0);function o(o){var s,c=(o=g(o)).length,l,u,d=0,f=Array(c),p=Array(c),h=+r.apply(this,arguments),_=Math.min(m,Math.max(-m,i.apply(this,arguments)-h)),v,y=Math.min(Math.abs(_)/c,a.apply(this,arguments)),b=y*(_<0?-1:1),x;for(s=0;s<c;++s)(x=p[f[s]=s]=+e(o[s],s,o))>0&&(d+=x);for(t==null?n!=null&&f.sort(function(e,t){return n(o[e],o[t])}):f.sort(function(e,n){return t(p[e],p[n])}),s=0,u=d?(_-c*b)/d:0;s<c;++s,h=v)l=f[s],x=p[l],v=h+(x>0?x*u:0)+b,p[l]={data:o[l],index:s,value:x,startAngle:h,endAngle:v,padAngle:y};return p}return o.value=function(t){return arguments.length?(e=typeof t==`function`?t:p(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r=typeof e==`function`?e:p(+e),o):r},o.endAngle=function(e){return arguments.length?(i=typeof e==`function`?e:p(+e),o):i},o.padAngle=function(e){return arguments.length?(a=typeof e==`function`?e:p(+e),o):a},o}var T=u.pie,E={sections:new Map,showData:!1,config:T},D=E.sections,O=E.showData,k=structuredClone(T),A={getConfig:e(()=>structuredClone(k),`getConfig`),clear:e(()=>{D=new Map,O=E.showData,s()},`clear`),setDiagramTitle:a,getDiagramTitle:r,setAccTitle:i,getAccTitle:d,setAccDescription:n,getAccDescription:o,addSection:e(({label:e,value:n})=>{if(n<0)throw Error(`"${e}" has invalid value: ${n}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);D.has(e)||(D.set(e,n),t.debug(`added new section: ${e}, with value: ${n}`))},`addSection`),getSections:e(()=>D,`getSections`),setShowData:e(e=>{O=e},`setShowData`),getShowData:e(()=>O,`getShowData`)},j=e((e,t)=>{b(e,t),t.setShowData(e.showData),e.sections.map(t.addSection)},`populateDb`),M={parse:e(async e=>{let n=await x(`pie`,e);t.debug(n),j(n,A)},`parse`)},N=e(e=>`
2
2
  .pieCircle{
3
3
  stroke: ${e.pieStrokeColor};
4
4
  stroke-width : ${e.pieStrokeWidth};
@@ -0,0 +1 @@
1
+ import{r as e,t}from"./compiler-runtime-CVnuRdak.js";import{n}from"./dist-CQw2y-s3.js";import{i as r}from"./button-Cw_0dYAP.js";import{t as i}from"./label-TedtbqkV.js";import{n as a,r as o,t as s}from"./radio-group-DDwGQ5DT.js";var c=t(),l=e(),u=`flex items-start gap-2 rounded-md border p-3 text-sm font-normal transition-colors cursor-pointer`;function d(e){let t=(0,c.c)(34),{value:d,onValueChange:f,disabled:p,idPrefix:m,testIdPrefix:h}=e,g=p===void 0?!1:p,_=`${m}-sharing-shared`,v=`${m}-sharing-local-only`,y;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,l.jsxs)(`legend`,{className:`flex items-center gap-1.5 text-sm font-medium`,children:[(0,l.jsx)(n,{id:`wtcxiD`}),(0,l.jsx)(o,{})]}),t[0]=y):y=t[0];let b;t[1]===f?b=t[2]:(b=e=>f(e),t[1]=f,t[2]=b);let x=d===`shared`?`border-primary bg-primary/5`:`border-border hover:bg-muted/40`,S;t[3]===x?S=t[4]:(S=r(u,x),t[3]=x,t[4]=S);let C=`${h}-shared`,w;t[5]!==_||t[6]!==C?(w=(0,l.jsx)(a,{id:_,value:`shared`,"data-testid":C,className:`mt-0.5`}),t[5]=_,t[6]=C,t[7]=w):w=t[7];let T;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,l.jsx)(`span`,{className:`block font-medium`,children:(0,l.jsx)(n,{id:`0Gd0NU`})}),t[8]=T):T=t[8];let E;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,l.jsxs)(`span`,{children:[T,(0,l.jsx)(`span`,{className:`block text-1sm text-muted-foreground`,children:(0,l.jsx)(n,{id:`dJw2_7`})})]}),t[9]=E):E=t[9];let D;t[10]!==_||t[11]!==S||t[12]!==w?(D=(0,l.jsxs)(i,{htmlFor:_,className:S,children:[w,E]}),t[10]=_,t[11]=S,t[12]=w,t[13]=D):D=t[13];let O=d===`local-only`?`border-primary bg-primary/5`:`border-border hover:bg-muted/40`,k;t[14]===O?k=t[15]:(k=r(u,O),t[14]=O,t[15]=k);let A=`${h}-local-only`,j;t[16]!==v||t[17]!==A?(j=(0,l.jsx)(a,{id:v,value:`local-only`,"data-testid":A,className:`mt-0.5`}),t[16]=v,t[17]=A,t[18]=j):j=t[18];let M;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,l.jsx)(`span`,{className:`block font-medium`,children:(0,l.jsx)(n,{id:`OgyJSr`})}),t[19]=M):M=t[19];let N;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,l.jsxs)(`span`,{children:[M,(0,l.jsx)(`span`,{className:`block text-1sm text-muted-foreground`,children:(0,l.jsx)(n,{id:`cZ_8zB`})})]}),t[20]=N):N=t[20];let P;t[21]!==v||t[22]!==k||t[23]!==j?(P=(0,l.jsxs)(i,{htmlFor:v,className:k,children:[j,N]}),t[21]=v,t[22]=k,t[23]=j,t[24]=P):P=t[24];let F;t[25]!==g||t[26]!==D||t[27]!==P||t[28]!==b||t[29]!==d?(F=(0,l.jsxs)(s,{value:d,onValueChange:b,disabled:g,className:`grid-cols-2 gap-3`,children:[D,P]}),t[25]=g,t[26]=D,t[27]=P,t[28]=b,t[29]=d,t[30]=F):F=t[30];let I;return t[31]!==F||t[32]!==h?(I=(0,l.jsxs)(`fieldset`,{className:`flex flex-col space-y-2`,"data-testid":h,children:[y,F]}),t[31]=F,t[32]=h,t[33]=I):I=t[33],I}function f(){let e=null,t=null,n=new Set,r=!1,i=null;function a(){for(let e of n)e()}function o(){e!==null&&(e=null,a())}return{install({bridge:n}){if(n&&n.onboarding)return r?i??void 0:(r=!0,t=n,i=n.onboarding.onShow(t=>{e=t,a()}),n.onboarding.signalReady(),()=>{i?.(),i=null,r=!1,t=null,o()})},getSnapshot(){return e},subscribe(e){return n.add(e),()=>{n.delete(e)}},async confirm(e){let n=t;if(!n)return{ok:!1,error:`Not attached to desktop bridge`};try{let t=await n.onboarding.confirm(e);return t.ok&&o(),t}catch(e){return{ok:!1,error:e instanceof Error?e.message:`Unknown error`}}},async cancel(){let e=t;if(!e)return{ok:!1,error:`Not attached to desktop bridge`};try{let t=await e.onboarding.cancel();return t.ok&&o(),t}catch(e){return{ok:!1,error:e instanceof Error?e.message:`Unknown error`}}},dismiss(){o()}}}var p=f();function m(e){return p.install(e)}function h(e,t){let n=e=>e.replace(/\\/g,`/`).replace(/\/+$/,``)||(e.startsWith(`/`)?`/`:``),r=n(e),i=n(t);if(r===i)return`.`;let a=r.endsWith(`/`)?r:`${r}/`;return i.startsWith(a)?i.slice(a.length):null}function g(e){if(e===``||e===`.`)return!0;if(e.startsWith(`/`)||/^[A-Za-z]:/.test(e))return!1;let t=e.replace(/\\/g,`/`).split(`/`),n=0;for(let e of t)if(!(e===``||e===`.`))if(e===`..`){if(--n,n<0)return!1}else n+=1;return!0}export{d as a,m as i,h as n,p as r,g as t};
@@ -0,0 +1 @@
1
+ import{o as e,t}from"./chunk-CFjPhJqf.js";import{n,r,t as i}from"./compiler-runtime-CVnuRdak.js";import{wr as a}from"./dist-BGXCkPeI.js";import{u as o}from"./button-Cw_0dYAP.js";import{o as s,u as c}from"./documents-events-Bsq-Lwvc.js";import{p as ee}from"./doc-hash-CyR3apuv.js";import{r as te}from"./startup-marks-ChdnUQ0e.js";var l=o(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),u=o(`globe`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,key:`13o1zl`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}]]),d=o(`triangle-alert`,[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),f=e(n(),1),ne=i(),p=null,m=new Set;function h(e,t){if(e===t)return!0;if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function g(e,t){return e===null?!1:e===t?!0:h(e.pages,t.pages)&&h(e.folderPaths,t.folderPaths)&&h(e.assetPaths??new Set,t.assetPaths??new Set)&&h(e.filePaths??new Set,t.filePaths??new Set)&&_(e.pageIcons,t.pageIcons)}function _(e,t){if(e===t)return!0;let n=e?.size??0;if(n!==(t?.size??0))return!1;if(n===0)return!0;for(let[n,r]of e)if(t.get(n)!==r)return!1;return!0}function re(e,t){let n=new Map;for(let r of e){let e=t(r);e&&!n.has(e)&&n.set(e,r)}return n}function ie(e,t){let n=new Map,r=[...e].sort((e,t)=>e.localeCompare(t));for(let e of r){let r=e.lastIndexOf(`/`),i=t(r===-1?e:e.slice(r+1));i&&!n.has(i)&&n.set(i,e)}return n}function ae(e){let t=new Map;for(let[n,r]of e){let e=r.icon;typeof e==`string`&&e.trim()!==``&&t.set(n,e)}return t}function v(){return p}function oe(e){if(!g(p,e)){p=e;for(let t of Array.from(m))try{t(e)}catch(e){console.error(`[page-list-cache] subscriber threw:`,e)}}}function y(e){if(m.add(e),p!==null)try{e(p)}catch(e){console.error(`[page-list-cache] subscriber threw on replay:`,e)}return()=>{m.delete(e)}}var b=null;function x(){if(b)return b;let e=(async()=>{let e=await fetch(`/api/documents`),t=await e.json().catch(e=>(console.warn(`[documents-fetch] /api/documents response was not valid JSON:`,e),null));return{ok:e.ok,status:e.status,body:t}})();return b=e,e.then(()=>{b===e&&(b=null)},()=>{b===e&&(b=null)}),e}var se=r(),S=(0,f.createContext)(null);function C(e,t){if(t.size===0)return new Set(e);let n=new Set(e);for(let e of t)n.add(e);return n}function ce(e,t){if(e.size===0)return new Set;let n=new Set;for(let r of e)t.has(r)||n.add(r);return n}function le(e,t){let n=new Map(e);for(let e of t)n.has(e)||n.set(e,e);return n}async function ue(){let e=await fetch(`/api/pages`);if(!e.ok){let t=await e.json().catch(()=>null);throw Error(c(t)??`/api/pages responded with ${e.status}`)}let t=await e.json();return Array.isArray(t.pages)?t.pages:[]}async function de(){let{ok:e,status:t,body:n}=await x();if(!e)throw Error(c(n)??`/api/documents responded with ${t}`);let r=n??{};return Array.isArray(r.documents)?{assetPaths:r.documents.filter(e=>e.kind===`asset`&&typeof e.path==`string`&&e.path.length>0).map(e=>e.path),folderPaths:r.documents.filter(e=>e.kind===`folder`&&typeof e.path==`string`&&e.path.length>0).map(e=>e.path),filePaths:r.documents.filter(e=>e.kind===`file`&&typeof e.path==`string`&&e.path.length>0).map(e=>e.path)}:{assetPaths:[],folderPaths:[],filePaths:[]}}function fe(e){console.error(`[PageListContext] Failed to load pages:`,e)}function w(e){console.warn(`[PageListContext] Failed to load referenced assets:`,e)}function T(e){let t=(0,ne.c)(54),{children:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=new Set,t[0]=r):r=t[0];let[i,o]=(0,f.useState)(r),c;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(c=new Map,t[1]=c):c=t[1];let[l,u]=(0,f.useState)(c),d;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=new Map,t[2]=d):d=t[2];let[p,m]=(0,f.useState)(d),h;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(h=new Set,t[3]=h):h=t[3];let[g,_]=(0,f.useState)(h),v;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(v=new Set,t[4]=v):v=t[4];let[y,b]=(0,f.useState)(v),x;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(x=new Set,t[5]=x):x=t[5];let[w,T]=(0,f.useState)(x),E;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(E=new Set,t[6]=E):E=t[6];let[D,O]=(0,f.useState)(E),[k,A]=(0,f.useState)(!0),[j,M]=(0,f.useState)(null),N=(0,f.useRef)(0),P;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(P=function(){let e=N.current+=1;Promise.all([ue(),de().catch(ge)]).then(t=>{let[n,r]=t;if(e!==N.current)return;let i=new Set(n.map(he));o(i),u(new Map(n.map(me))),m(new Map(n.map(pe))),_(new Set(r.assetPaths)),b(new Set(r.folderPaths)),T(new Set(r.filePaths)),O(e=>ce(e,i)),M(null),te()}).catch(t=>{e===N.current&&(fe(t),M(t instanceof Error?t.message:`Failed to load pages`))}).finally(()=>{e===N.current&&A(!1)})},t[7]=P):P=t[7];let F=P,I;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(I=function(e){O(t=>{if(t.has(e))return t;let n=new Set(t);return n.add(e),n}),M(null)},t[8]=I):I=t[8];let _e=I,L,R;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(L=()=>{F();let e=()=>{document.visibilityState===`visible`&&F()};window.addEventListener(`focus`,e),window.addEventListener(`visibilitychange`,e);let t=s(e=>{e.includes(`files`)&&F()});return()=>{window.removeEventListener(`focus`,e),window.removeEventListener(`visibilitychange`,e),t()}},R=[],t[9]=L,t[10]=R):(L=t[9],R=t[10]),(0,f.useEffect)(L,R);let z,B,V,H,U,W,G,K;if(t[11]!==D||t[12]!==g||t[13]!==w||t[14]!==y||t[15]!==p||t[16]!==l||t[17]!==i){W=C(i,D);let e;t[26]!==D||t[27]!==l?(e=le(l,D),t[26]=D,t[27]=l,t[28]=e):e=t[28],U=e,H=p,z=g,B=w,V=new Set([...ee(W),...y]),G=re(W,a),K=ie(W,a),t[11]=D,t[12]=g,t[13]=w,t[14]=y,t[15]=p,t[16]=l,t[17]=i,t[18]=z,t[19]=B,t[20]=V,t[21]=H,t[22]=U,t[23]=W,t[24]=G,t[25]=K}else z=t[18],B=t[19],V=t[20],H=t[21],U=t[22],W=t[23],G=t[24],K=t[25];let q=K,J;t[29]===p?J=t[30]:(J=ae(p),t[29]=p,t[30]=J);let Y=J,X,Z;t[31]!==z||t[32]!==B||t[33]!==V||t[34]!==Y||t[35]!==W||t[36]!==q||t[37]!==G?(X=()=>{oe({pages:W,folderPaths:V,pagesBySlug:G,pagesByBasename:q,assetPaths:z,filePaths:B,pageIcons:Y})},Z=[W,V,G,q,z,B,Y],t[31]=z,t[32]=B,t[33]=V,t[34]=Y,t[35]=W,t[36]=q,t[37]=G,t[38]=X,t[39]=Z):(X=t[38],Z=t[39]),(0,f.useEffect)(X,Z);let Q;t[40]!==z||t[41]!==j||t[42]!==B||t[43]!==V||t[44]!==k||t[45]!==H||t[46]!==U||t[47]!==W||t[48]!==q||t[49]!==G?(Q={pages:W,pagesBySlug:G,pagesByBasename:q,pageTitles:U,pageMeta:H,folderPaths:V,assetPaths:z,filePaths:B,loading:k,error:j,refetch:F,addPage:_e},t[40]=z,t[41]=j,t[42]=B,t[43]=V,t[44]=k,t[45]=H,t[46]=U,t[47]=W,t[48]=q,t[49]=G,t[50]=Q):Q=t[50];let $;return t[51]!==n||t[52]!==Q?($=(0,se.jsx)(S,{value:Q,children:n}),t[51]=n,t[52]=Q,t[53]=$):$=t[53],$}function pe(e){return[e.docName,{size:e.size,modified:e.modified,docExt:e.docExt,icon:e.icon}]}function me(e){return[e.docName,e.title]}function he(e){return e.docName}function ge(e){return w(e),{assetPaths:[],folderPaths:[],filePaths:[]}}function E(){let e=(0,f.use)(S);if(!e)throw Error(`usePageList must be used within <PageListProvider />`);return e}function D(){return(0,f.use)(S)}var O=t(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),k=t(((e,t)=>{var n=O();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}})),A=t(((e,t)=>{t.exports=k()()}));export{x as a,d as c,E as i,u as l,T as n,v as o,D as r,y as s,A as t,l as u};
@@ -1 +1 @@
1
- import{d as e,f as t,l as n,p as r,s as i,u as a}from"./trace-api-6NqWxY5v.js";var o=class e{constructor(e){this._entries=e?new Map(e):new Map}getEntry(e){let t=this._entries.get(e);if(t)return Object.assign({},t)}getAllEntries(){return Array.from(this._entries.entries())}setEntry(t,n){let r=new e(this._entries);return r._entries.set(t,n),r}removeEntry(t){let n=new e(this._entries);return n._entries.delete(t),n}removeEntries(...t){let n=new e(this._entries);for(let e of t)n._entries.delete(e);return n}clear(){return new e}},s=Symbol(`BaggageEntryMetadata`),c=a.instance();function l(e={}){return new o(new Map(Object.entries(e)))}function u(e){return typeof e!=`string`&&(c.error(`Cannot create baggage metadata from unknown type: ${typeof e}`),e=``),{__TYPE__:s,toString(){return e}}}var d={get(e,t){if(e!=null)return e[t]},keys(e){return e==null?[]:Object.keys(e)}},f={set(e,t,n){e!=null&&(e[t]=n)}},p=i.getInstance(),m=class{inject(e,t){}extract(e,t){return e}fields(){return[]}},h=n(`OpenTelemetry Baggage Key`);function g(e){return e.getValue(h)||void 0}function _(){return g(i.getInstance().active())}function v(e,t){return e.setValue(h,t)}function y(e){return e.deleteValue(h)}var b=`propagation`,x=new m,S=class n{constructor(){this.createBaggage=l,this.getBaggage=g,this.getActiveBaggage=_,this.setBaggage=v,this.deleteBaggage=y}static getInstance(){return this._instance||=new n,this._instance}setGlobalPropagator(e){return t(b,e,a.instance())}inject(e,t,n=f){return this._getGlobalPropagator().inject(e,t,n)}extract(e,t,n=d){return this._getGlobalPropagator().extract(e,t,n)}fields(){return this._getGlobalPropagator().fields()}disable(){r(b,a.instance())}_getGlobalPropagator(){return e(b)||x}}.getInstance();export{p as n,u as r,S as t};
1
+ import{d as e,f as t,l as n,p as r,s as i,u as a}from"./trace-api-D6fqC5Nw.js";var o=class e{constructor(e){this._entries=e?new Map(e):new Map}getEntry(e){let t=this._entries.get(e);if(t)return Object.assign({},t)}getAllEntries(){return Array.from(this._entries.entries())}setEntry(t,n){let r=new e(this._entries);return r._entries.set(t,n),r}removeEntry(t){let n=new e(this._entries);return n._entries.delete(t),n}removeEntries(...t){let n=new e(this._entries);for(let e of t)n._entries.delete(e);return n}clear(){return new e}},s=Symbol(`BaggageEntryMetadata`),c=a.instance();function l(e={}){return new o(new Map(Object.entries(e)))}function u(e){return typeof e!=`string`&&(c.error(`Cannot create baggage metadata from unknown type: ${typeof e}`),e=``),{__TYPE__:s,toString(){return e}}}var d={get(e,t){if(e!=null)return e[t]},keys(e){return e==null?[]:Object.keys(e)}},f={set(e,t,n){e!=null&&(e[t]=n)}},p=i.getInstance(),m=class{inject(e,t){}extract(e,t){return e}fields(){return[]}},h=n(`OpenTelemetry Baggage Key`);function g(e){return e.getValue(h)||void 0}function _(){return g(i.getInstance().active())}function v(e,t){return e.setValue(h,t)}function y(e){return e.deleteValue(h)}var b=`propagation`,x=new m,S=class n{constructor(){this.createBaggage=l,this.getBaggage=g,this.getActiveBaggage=_,this.setBaggage=v,this.deleteBaggage=y}static getInstance(){return this._instance||=new n,this._instance}setGlobalPropagator(e){return t(b,e,a.instance())}inject(e,t,n=f){return this._getGlobalPropagator().inject(e,t,n)}extract(e,t,n=d){return this._getGlobalPropagator().extract(e,t,n)}fields(){return this._getGlobalPropagator().fields()}disable(){r(b,a.instance())}_getGlobalPropagator(){return e(b)||x}}.getInstance();export{p as n,u as r,S as t};