@metrevals/inspect-scout-viewer 0.2.3-beta.1763116516

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 (359) hide show
  1. package/README.md +97 -0
  2. package/lib/App.d.ts +3 -0
  3. package/lib/App.d.ts.map +1 -0
  4. package/lib/AppErrorBoundary.d.ts +16 -0
  5. package/lib/AppErrorBoundary.d.ts.map +1 -0
  6. package/lib/AppRouter.d.ts +2 -0
  7. package/lib/AppRouter.d.ts.map +1 -0
  8. package/lib/_commonjsHelpers-DWwsNxpa.js +9 -0
  9. package/lib/_commonjsHelpers-DWwsNxpa.js.map +1 -0
  10. package/lib/api/api-scout-server.d.ts +3 -0
  11. package/lib/api/api-scout-server.d.ts.map +1 -0
  12. package/lib/api/api-vscode.d.ts +4 -0
  13. package/lib/api/api-vscode.d.ts.map +1 -0
  14. package/lib/api/api.d.ts +11 -0
  15. package/lib/api/api.d.ts.map +1 -0
  16. package/lib/api/jsonrpc.d.ts +44 -0
  17. package/lib/api/jsonrpc.d.ts.map +1 -0
  18. package/lib/app/appearance/fonts.d.ts +27 -0
  19. package/lib/app/appearance/fonts.d.ts.map +1 -0
  20. package/lib/app/appearance/icons.d.ts +130 -0
  21. package/lib/app/appearance/icons.d.ts.map +1 -0
  22. package/lib/app/appearance/styles.d.ts +39 -0
  23. package/lib/app/appearance/styles.d.ts.map +1 -0
  24. package/lib/app/components/Footer.d.ts +20 -0
  25. package/lib/app/components/Footer.d.ts.map +1 -0
  26. package/lib/app/components/MarkdownDivWithReferences.d.ts +15 -0
  27. package/lib/app/components/MarkdownDivWithReferences.d.ts.map +1 -0
  28. package/lib/app/components/Pager.d.ts +10 -0
  29. package/lib/app/components/Pager.d.ts.map +1 -0
  30. package/lib/app/hooks.d.ts +19 -0
  31. package/lib/app/hooks.d.ts.map +1 -0
  32. package/lib/app/navbar/Navbar.d.ts +8 -0
  33. package/lib/app/navbar/Navbar.d.ts.map +1 -0
  34. package/lib/app/navbar/useBreadcrumbTruncation.d.ts +13 -0
  35. package/lib/app/navbar/useBreadcrumbTruncation.d.ts.map +1 -0
  36. package/lib/app/result/ScanResultHeader.d.ts +8 -0
  37. package/lib/app/result/ScanResultHeader.d.ts.map +1 -0
  38. package/lib/app/result/ScanResultNav.d.ts +3 -0
  39. package/lib/app/result/ScanResultNav.d.ts.map +1 -0
  40. package/lib/app/result/ScanResultPanel.d.ts +3 -0
  41. package/lib/app/result/ScanResultPanel.d.ts.map +1 -0
  42. package/lib/app/result/info/InfoPanel.d.ts +9 -0
  43. package/lib/app/result/info/InfoPanel.d.ts.map +1 -0
  44. package/lib/app/result/input/InputPanel.d.ts +7 -0
  45. package/lib/app/result/input/InputPanel.d.ts.map +1 -0
  46. package/lib/app/result/result/ResultPanel.d.ts +8 -0
  47. package/lib/app/result/result/ResultPanel.d.ts.map +1 -0
  48. package/lib/app/result/transcript/TranscriptPanel.d.ts +11 -0
  49. package/lib/app/result/transcript/TranscriptPanel.d.ts.map +1 -0
  50. package/lib/app/scanJobs/ScanJobGrid.d.ts +3 -0
  51. package/lib/app/scanJobs/ScanJobGrid.d.ts.map +1 -0
  52. package/lib/app/scanJobs/ScanJobsPanel.d.ts +3 -0
  53. package/lib/app/scanJobs/ScanJobsPanel.d.ts.map +1 -0
  54. package/lib/app/scanner/ScannerPanel.d.ts +3 -0
  55. package/lib/app/scanner/ScannerPanel.d.ts.map +1 -0
  56. package/lib/app/scanner/ScannerPanelBody.d.ts +4 -0
  57. package/lib/app/scanner/ScannerPanelBody.d.ts.map +1 -0
  58. package/lib/app/scanner/ScannerPanelTitle.d.ts +3 -0
  59. package/lib/app/scanner/ScannerPanelTitle.d.ts.map +1 -0
  60. package/lib/app/scanner/info/ScanInfo.d.ts +3 -0
  61. package/lib/app/scanner/info/ScanInfo.d.ts.map +1 -0
  62. package/lib/app/scanner/results/ScanResultsBody.d.ts +3 -0
  63. package/lib/app/scanner/results/ScanResultsBody.d.ts.map +1 -0
  64. package/lib/app/scanner/results/ScanResultsFilter.d.ts +5 -0
  65. package/lib/app/scanner/results/ScanResultsFilter.d.ts.map +1 -0
  66. package/lib/app/scanner/results/ScanResultsOutline.d.ts +3 -0
  67. package/lib/app/scanner/results/ScanResultsOutline.d.ts.map +1 -0
  68. package/lib/app/scanner/results/ScanResultsPanel.d.ts +3 -0
  69. package/lib/app/scanner/results/ScanResultsPanel.d.ts.map +1 -0
  70. package/lib/app/scanner/results/list/ScanHeader.d.ts +8 -0
  71. package/lib/app/scanner/results/list/ScanHeader.d.ts.map +1 -0
  72. package/lib/app/scanner/results/list/ScanResultsList.d.ts +13 -0
  73. package/lib/app/scanner/results/list/ScanResultsList.d.ts.map +1 -0
  74. package/lib/app/scanner/results/list/ScanResultsRow.d.ts +10 -0
  75. package/lib/app/scanner/results/list/ScanResultsRow.d.ts.map +1 -0
  76. package/lib/app/types.d.ts +117 -0
  77. package/lib/app/types.d.ts.map +1 -0
  78. package/lib/app/utils/arrow.d.ts +3 -0
  79. package/lib/app/utils/arrow.d.ts.map +1 -0
  80. package/lib/app/utils/refs.d.ts +5 -0
  81. package/lib/app/utils/refs.d.ts.map +1 -0
  82. package/lib/app/utils/results.d.ts +7 -0
  83. package/lib/app/utils/results.d.ts.map +1 -0
  84. package/lib/app/values/Explanation.d.ts +8 -0
  85. package/lib/app/values/Explanation.d.ts.map +1 -0
  86. package/lib/app/values/Identifier.d.ts +8 -0
  87. package/lib/app/values/Identifier.d.ts.map +1 -0
  88. package/lib/app/values/Value.d.ts +9 -0
  89. package/lib/app/values/Value.d.ts.map +1 -0
  90. package/lib/chat/ChatMessage.d.ts +14 -0
  91. package/lib/chat/ChatMessage.d.ts.map +1 -0
  92. package/lib/chat/ChatMessageRenderer.d.ts +16 -0
  93. package/lib/chat/ChatMessageRenderer.d.ts.map +1 -0
  94. package/lib/chat/ChatMessageRow.d.ts +19 -0
  95. package/lib/chat/ChatMessageRow.d.ts.map +1 -0
  96. package/lib/chat/ChatView.d.ts +21 -0
  97. package/lib/chat/ChatView.d.ts.map +1 -0
  98. package/lib/chat/ChatViewVirtualList.d.ts +30 -0
  99. package/lib/chat/ChatViewVirtualList.d.ts.map +1 -0
  100. package/lib/chat/JsonMessageContent.d.ts +8 -0
  101. package/lib/chat/JsonMessageContent.d.ts.map +1 -0
  102. package/lib/chat/MessageCitations.d.ts +7 -0
  103. package/lib/chat/MessageCitations.d.ts.map +1 -0
  104. package/lib/chat/MessageContent.d.ts +19 -0
  105. package/lib/chat/MessageContent.d.ts.map +1 -0
  106. package/lib/chat/MessageContents.d.ts +19 -0
  107. package/lib/chat/MessageContents.d.ts.map +1 -0
  108. package/lib/chat/content-data/ContentDataView.d.ts +20 -0
  109. package/lib/chat/content-data/ContentDataView.d.ts.map +1 -0
  110. package/lib/chat/content-data/WebSearch.d.ts +5 -0
  111. package/lib/chat/content-data/WebSearch.d.ts.map +1 -0
  112. package/lib/chat/content-data/WebSearchResults.d.ts +10 -0
  113. package/lib/chat/content-data/WebSearchResults.d.ts.map +1 -0
  114. package/lib/chat/documents/ContentDocumentView.d.ts +9 -0
  115. package/lib/chat/documents/ContentDocumentView.d.ts.map +1 -0
  116. package/lib/chat/messages.d.ts +9 -0
  117. package/lib/chat/messages.d.ts.map +1 -0
  118. package/lib/chat/server-tools/ServerToolCall.d.ts +13 -0
  119. package/lib/chat/server-tools/ServerToolCall.d.ts.map +1 -0
  120. package/lib/chat/tools/ToolCallView.d.ts +20 -0
  121. package/lib/chat/tools/ToolCallView.d.ts.map +1 -0
  122. package/lib/chat/tools/ToolInput.d.ts +12 -0
  123. package/lib/chat/tools/ToolInput.d.ts.map +1 -0
  124. package/lib/chat/tools/ToolOutput.d.ts +12 -0
  125. package/lib/chat/tools/ToolOutput.d.ts.map +1 -0
  126. package/lib/chat/tools/ToolTitle.d.ts +11 -0
  127. package/lib/chat/tools/ToolTitle.d.ts.map +1 -0
  128. package/lib/chat/tools/tool-input/TodoWriteInput.d.ts +6 -0
  129. package/lib/chat/tools/tool-input/TodoWriteInput.d.ts.map +1 -0
  130. package/lib/chat/tools/tool.d.ts +13 -0
  131. package/lib/chat/tools/tool.d.ts.map +1 -0
  132. package/lib/chat/types.d.ts +4 -0
  133. package/lib/chat/types.d.ts.map +1 -0
  134. package/lib/chunk-DfAF0w94-Oj7OW_Zs.js +9 -0
  135. package/lib/chunk-DfAF0w94-Oj7OW_Zs.js.map +1 -0
  136. package/lib/components/ActivityBar.d.ts +7 -0
  137. package/lib/components/ActivityBar.d.ts.map +1 -0
  138. package/lib/components/AnsiDisplay.d.ts +9 -0
  139. package/lib/components/AnsiDisplay.d.ts.map +1 -0
  140. package/lib/components/AsciinemaPlayer.d.ts +20 -0
  141. package/lib/components/AsciinemaPlayer.d.ts.map +1 -0
  142. package/lib/components/Card.d.ts +33 -0
  143. package/lib/components/Card.d.ts.map +1 -0
  144. package/lib/components/CopyButton.d.ts +12 -0
  145. package/lib/components/CopyButton.d.ts.map +1 -0
  146. package/lib/components/DataframeView.d.ts +8 -0
  147. package/lib/components/DataframeView.d.ts.map +1 -0
  148. package/lib/components/EmptyPanel.d.ts +7 -0
  149. package/lib/components/EmptyPanel.d.ts.map +1 -0
  150. package/lib/components/ErrorPanel.d.ts +13 -0
  151. package/lib/components/ErrorPanel.d.ts.map +1 -0
  152. package/lib/components/ExpandablePanel.d.ts +13 -0
  153. package/lib/components/ExpandablePanel.d.ts.map +1 -0
  154. package/lib/components/ExtendedFindContext.d.ts +8 -0
  155. package/lib/components/ExtendedFindContext.d.ts.map +1 -0
  156. package/lib/components/ExtendedFindProvider.d.ts +7 -0
  157. package/lib/components/ExtendedFindProvider.d.ts.map +1 -0
  158. package/lib/components/HumanBaselineView.d.ts +22 -0
  159. package/lib/components/HumanBaselineView.d.ts.map +1 -0
  160. package/lib/components/JsonPanel.d.ts +12 -0
  161. package/lib/components/JsonPanel.d.ts.map +1 -0
  162. package/lib/components/LabeledValue.d.ts +12 -0
  163. package/lib/components/LabeledValue.d.ts.map +1 -0
  164. package/lib/components/LightboxCarousel.d.ts +15 -0
  165. package/lib/components/LightboxCarousel.d.ts.map +1 -0
  166. package/lib/components/LiveVirtualList.d.ts +23 -0
  167. package/lib/components/LiveVirtualList.d.ts.map +1 -0
  168. package/lib/components/MarkdownDiv.d.ts +11 -0
  169. package/lib/components/MarkdownDiv.d.ts.map +1 -0
  170. package/lib/components/NavPills.d.ts +12 -0
  171. package/lib/components/NavPills.d.ts.map +1 -0
  172. package/lib/components/NoContentsPanel.d.ts +7 -0
  173. package/lib/components/NoContentsPanel.d.ts.map +1 -0
  174. package/lib/components/PopOver.d.ts +23 -0
  175. package/lib/components/PopOver.d.ts.map +1 -0
  176. package/lib/components/Preformatted.d.ts +8 -0
  177. package/lib/components/Preformatted.d.ts.map +1 -0
  178. package/lib/components/ProgressBar.d.ts +10 -0
  179. package/lib/components/ProgressBar.d.ts.map +1 -0
  180. package/lib/components/PulsingDots.d.ts +11 -0
  181. package/lib/components/PulsingDots.d.ts.map +1 -0
  182. package/lib/components/SegmentedControl.d.ts +15 -0
  183. package/lib/components/SegmentedControl.d.ts.map +1 -0
  184. package/lib/components/StickyScroll.d.ts +13 -0
  185. package/lib/components/StickyScroll.d.ts.map +1 -0
  186. package/lib/components/TabSet.d.ts +28 -0
  187. package/lib/components/TabSet.d.ts.map +1 -0
  188. package/lib/components/prism.d.ts +3 -0
  189. package/lib/components/prism.d.ts.map +1 -0
  190. package/lib/content/MetaDataGrid.d.ts +15 -0
  191. package/lib/content/MetaDataGrid.d.ts.map +1 -0
  192. package/lib/content/RecordTree.d.ts +25 -0
  193. package/lib/content/RecordTree.d.ts.map +1 -0
  194. package/lib/content/RenderedContent.d.ts +17 -0
  195. package/lib/content/RenderedContent.d.ts.map +1 -0
  196. package/lib/content/RenderedText.d.ts +11 -0
  197. package/lib/content/RenderedText.d.ts.map +1 -0
  198. package/lib/content/record_processors/store.d.ts +3 -0
  199. package/lib/content/record_processors/store.d.ts.map +1 -0
  200. package/lib/content/record_processors/types.d.ts +2 -0
  201. package/lib/content/record_processors/types.d.ts.map +1 -0
  202. package/lib/content/types.d.ts +17 -0
  203. package/lib/content/types.d.ts.map +1 -0
  204. package/lib/index.d.ts +5 -0
  205. package/lib/index.d.ts.map +1 -0
  206. package/lib/index.js +113846 -0
  207. package/lib/index.js.map +1 -0
  208. package/lib/lib-CBtriEt5-CU1RYBHb.js +1070 -0
  209. package/lib/lib-CBtriEt5-CU1RYBHb.js.map +1 -0
  210. package/lib/liteDOM-Cp0aN3bP-DXyQNx3e.js +644 -0
  211. package/lib/liteDOM-Cp0aN3bP-DXyQNx3e.js.map +1 -0
  212. package/lib/main.d.ts +1 -0
  213. package/lib/main.d.ts.map +1 -0
  214. package/lib/router/url.d.ts +35 -0
  215. package/lib/router/url.d.ts.map +1 -0
  216. package/lib/state/hooks.d.ts +8 -0
  217. package/lib/state/hooks.d.ts.map +1 -0
  218. package/lib/state/scrolling.d.ts +23 -0
  219. package/lib/state/scrolling.d.ts.map +1 -0
  220. package/lib/state/store.d.ts +199 -0
  221. package/lib/state/store.d.ts.map +1 -0
  222. package/lib/styles/index.css +5827 -0
  223. package/lib/tex-svg-full-BI3fonbT-B0YPyt9p.js +28011 -0
  224. package/lib/tex-svg-full-BI3fonbT-B0YPyt9p.js.map +1 -0
  225. package/lib/transcript/ApprovalEventView.d.ts +13 -0
  226. package/lib/transcript/ApprovalEventView.d.ts.map +1 -0
  227. package/lib/transcript/ErrorEventView.d.ts +13 -0
  228. package/lib/transcript/ErrorEventView.d.ts.map +1 -0
  229. package/lib/transcript/InfoEventView.d.ts +13 -0
  230. package/lib/transcript/InfoEventView.d.ts.map +1 -0
  231. package/lib/transcript/InputEventView.d.ts +13 -0
  232. package/lib/transcript/InputEventView.d.ts.map +1 -0
  233. package/lib/transcript/LoggerEventView.d.ts +13 -0
  234. package/lib/transcript/LoggerEventView.d.ts.map +1 -0
  235. package/lib/transcript/ModelEventView.d.ts +26 -0
  236. package/lib/transcript/ModelEventView.d.ts.map +1 -0
  237. package/lib/transcript/SampleInitEventView.d.ts +13 -0
  238. package/lib/transcript/SampleInitEventView.d.ts.map +1 -0
  239. package/lib/transcript/SampleLimitEventView.d.ts +13 -0
  240. package/lib/transcript/SampleLimitEventView.d.ts.map +1 -0
  241. package/lib/transcript/SandboxEventView.d.ts +13 -0
  242. package/lib/transcript/SandboxEventView.d.ts.map +1 -0
  243. package/lib/transcript/ScoreEditEventView.d.ts +13 -0
  244. package/lib/transcript/ScoreEditEventView.d.ts.map +1 -0
  245. package/lib/transcript/ScoreEventView.d.ts +14 -0
  246. package/lib/transcript/ScoreEventView.d.ts.map +1 -0
  247. package/lib/transcript/SpanEventView.d.ts +14 -0
  248. package/lib/transcript/SpanEventView.d.ts.map +1 -0
  249. package/lib/transcript/StepEventView.d.ts +14 -0
  250. package/lib/transcript/StepEventView.d.ts.map +1 -0
  251. package/lib/transcript/SubtaskEventView.d.ts +14 -0
  252. package/lib/transcript/SubtaskEventView.d.ts.map +1 -0
  253. package/lib/transcript/ToolEventView.d.ts +14 -0
  254. package/lib/transcript/ToolEventView.d.ts.map +1 -0
  255. package/lib/transcript/TranscriptView.d.ts +13 -0
  256. package/lib/transcript/TranscriptView.d.ts.map +1 -0
  257. package/lib/transcript/TranscriptVirtualList.d.ts +32 -0
  258. package/lib/transcript/TranscriptVirtualList.d.ts.map +1 -0
  259. package/lib/transcript/TranscriptVirtualListComponent.d.ts +19 -0
  260. package/lib/transcript/TranscriptVirtualListComponent.d.ts.map +1 -0
  261. package/lib/transcript/event/EventNav.d.ts +13 -0
  262. package/lib/transcript/event/EventNav.d.ts.map +1 -0
  263. package/lib/transcript/event/EventNavs.d.ts +16 -0
  264. package/lib/transcript/event/EventNavs.d.ts.map +1 -0
  265. package/lib/transcript/event/EventPanel.d.ts +20 -0
  266. package/lib/transcript/event/EventPanel.d.ts.map +1 -0
  267. package/lib/transcript/event/EventProgressPanel.d.ts +7 -0
  268. package/lib/transcript/event/EventProgressPanel.d.ts.map +1 -0
  269. package/lib/transcript/event/EventRow.d.ts +13 -0
  270. package/lib/transcript/event/EventRow.d.ts.map +1 -0
  271. package/lib/transcript/event/EventSection.d.ts +13 -0
  272. package/lib/transcript/event/EventSection.d.ts.map +1 -0
  273. package/lib/transcript/event/EventTimingPanel.d.ts +13 -0
  274. package/lib/transcript/event/EventTimingPanel.d.ts.map +1 -0
  275. package/lib/transcript/event/utils.d.ts +3 -0
  276. package/lib/transcript/event/utils.d.ts.map +1 -0
  277. package/lib/transcript/hooks.d.ts +2 -0
  278. package/lib/transcript/hooks.d.ts.map +1 -0
  279. package/lib/transcript/outline/OutlineRow.d.ts +11 -0
  280. package/lib/transcript/outline/OutlineRow.d.ts.map +1 -0
  281. package/lib/transcript/outline/TranscriptOutline.d.ts +13 -0
  282. package/lib/transcript/outline/TranscriptOutline.d.ts.map +1 -0
  283. package/lib/transcript/outline/tree-visitors.d.ts +14 -0
  284. package/lib/transcript/outline/tree-visitors.d.ts.map +1 -0
  285. package/lib/transcript/state/StateDiffView.d.ts +12 -0
  286. package/lib/transcript/state/StateDiffView.d.ts.map +1 -0
  287. package/lib/transcript/state/StateEventRenderers.d.ts +49 -0
  288. package/lib/transcript/state/StateEventRenderers.d.ts.map +1 -0
  289. package/lib/transcript/state/StateEventView.d.ts +14 -0
  290. package/lib/transcript/state/StateEventView.d.ts.map +1 -0
  291. package/lib/transcript/transform/fixups.d.ts +7 -0
  292. package/lib/transcript/transform/fixups.d.ts.map +1 -0
  293. package/lib/transcript/transform/flatten.d.ts +16 -0
  294. package/lib/transcript/transform/flatten.d.ts.map +1 -0
  295. package/lib/transcript/transform/hooks.d.ts +7 -0
  296. package/lib/transcript/transform/hooks.d.ts.map +1 -0
  297. package/lib/transcript/transform/transform.d.ts +3 -0
  298. package/lib/transcript/transform/transform.d.ts.map +1 -0
  299. package/lib/transcript/transform/treeify.d.ts +4 -0
  300. package/lib/transcript/transform/treeify.d.ts.map +1 -0
  301. package/lib/transcript/transform/utils.d.ts +19 -0
  302. package/lib/transcript/transform/utils.d.ts.map +1 -0
  303. package/lib/transcript/types.d.ts +24 -0
  304. package/lib/transcript/types.d.ts.map +1 -0
  305. package/lib/types/index.d.ts +103 -0
  306. package/lib/types/index.d.ts.map +1 -0
  307. package/lib/usage/ModelTokenTable.d.ts +9 -0
  308. package/lib/usage/ModelTokenTable.d.ts.map +1 -0
  309. package/lib/usage/ModelUsagePanel.d.ts +12 -0
  310. package/lib/usage/ModelUsagePanel.d.ts.map +1 -0
  311. package/lib/usage/TokenTable.d.ts +15 -0
  312. package/lib/usage/TokenTable.d.ts.map +1 -0
  313. package/lib/usage/UsageCard.d.ts +11 -0
  314. package/lib/usage/UsageCard.d.ts.map +1 -0
  315. package/lib/utils/array.d.ts +2 -0
  316. package/lib/utils/array.d.ts.map +1 -0
  317. package/lib/utils/arrow.d.ts +3 -0
  318. package/lib/utils/arrow.d.ts.map +1 -0
  319. package/lib/utils/base64.d.ts +5 -0
  320. package/lib/utils/base64.d.ts.map +1 -0
  321. package/lib/utils/chatMessage.d.ts +4 -0
  322. package/lib/utils/chatMessage.d.ts.map +1 -0
  323. package/lib/utils/dom.d.ts +2 -0
  324. package/lib/utils/dom.d.ts.map +1 -0
  325. package/lib/utils/embeddedState.d.ts +11 -0
  326. package/lib/utils/embeddedState.d.ts.map +1 -0
  327. package/lib/utils/format.d.ts +41 -0
  328. package/lib/utils/format.d.ts.map +1 -0
  329. package/lib/utils/html.d.ts +6 -0
  330. package/lib/utils/html.d.ts.map +1 -0
  331. package/lib/utils/json-worker.d.ts +2 -0
  332. package/lib/utils/json-worker.d.ts.map +1 -0
  333. package/lib/utils/json.d.ts +5 -0
  334. package/lib/utils/json.d.ts.map +1 -0
  335. package/lib/utils/logger.d.ts +8 -0
  336. package/lib/utils/logger.d.ts.map +1 -0
  337. package/lib/utils/mime.d.ts +2 -0
  338. package/lib/utils/mime.d.ts.map +1 -0
  339. package/lib/utils/object.d.ts +2 -0
  340. package/lib/utils/object.d.ts.map +1 -0
  341. package/lib/utils/path.d.ts +26 -0
  342. package/lib/utils/path.d.ts.map +1 -0
  343. package/lib/utils/python.d.ts +12 -0
  344. package/lib/utils/python.d.ts.map +1 -0
  345. package/lib/utils/react.d.ts +2 -0
  346. package/lib/utils/react.d.ts.map +1 -0
  347. package/lib/utils/sync.d.ts +22 -0
  348. package/lib/utils/sync.d.ts.map +1 -0
  349. package/lib/utils/type.d.ts +12 -0
  350. package/lib/utils/type.d.ts.map +1 -0
  351. package/lib/utils/uri.d.ts +20 -0
  352. package/lib/utils/uri.d.ts.map +1 -0
  353. package/lib/utils/vscode.d.ts +21 -0
  354. package/lib/utils/vscode.d.ts.map +1 -0
  355. package/lib/wgxpath.install-node-Csk64Aj9-Ckau6iLd.js +1081 -0
  356. package/lib/wgxpath.install-node-Csk64Aj9-Ckau6iLd.js.map +1 -0
  357. package/lib/xypic-DrMJn58R-DRoJoooA.js +9542 -0
  358. package/lib/xypic-DrMJn58R-DRoJoooA.js.map +1 -0
  359. package/package.json +100 -0
@@ -0,0 +1,644 @@
1
+ import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.js";
2
+ function _mergeNamespaces(n, m) {
3
+ for (var i = 0; i < m.length; i++) {
4
+ const e = m[i];
5
+ if (typeof e !== "string" && !Array.isArray(e)) {
6
+ for (const k in e) {
7
+ if (k !== "default" && !(k in n)) {
8
+ const d = Object.getOwnPropertyDescriptor(e, k);
9
+ if (d) {
10
+ Object.defineProperty(n, k, d.get ? d : {
11
+ enumerable: true,
12
+ get: () => e[k]
13
+ });
14
+ }
15
+ }
16
+ }
17
+ }
18
+ }
19
+ return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
20
+ }
21
+ var liteDOMCp0aN3bP$2 = {};
22
+ var hasRequiredLiteDOMCp0aN3bP;
23
+ function requireLiteDOMCp0aN3bP() {
24
+ if (hasRequiredLiteDOMCp0aN3bP) return liteDOMCp0aN3bP$2;
25
+ hasRequiredLiteDOMCp0aN3bP = 1;
26
+ (function() {
27
+ var e, t, n, r, i, a, o, s, c, l = { 244: function(e2, t2, n2) {
28
+ var r2, i2 = this && this.__extends || (r2 = function(e3, t3) {
29
+ return r2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) {
30
+ e4.__proto__ = t4;
31
+ } || function(e4, t4) {
32
+ for (var n3 in t4) Object.prototype.hasOwnProperty.call(t4, n3) && (e4[n3] = t4[n3]);
33
+ }, r2(e3, t3);
34
+ }, function(e3, t3) {
35
+ if (typeof t3 != `function` && t3 !== null) throw TypeError(`Class extends value ` + String(t3) + ` is not a constructor or null`);
36
+ function n3() {
37
+ this.constructor = e3;
38
+ }
39
+ r2(e3, t3), e3.prototype = t3 === null ? Object.create(t3) : (n3.prototype = t3.prototype, new n3());
40
+ }), a2 = this && this.__assign || function() {
41
+ return a2 = Object.assign || function(e3) {
42
+ for (var t3, n3 = 1, r3 = arguments.length; n3 < r3; n3++) for (var i3 in t3 = arguments[n3]) Object.prototype.hasOwnProperty.call(t3, i3) && (e3[i3] = t3[i3]);
43
+ return e3;
44
+ }, a2.apply(this, arguments);
45
+ };
46
+ Object.defineProperty(t2, `__esModule`, { value: true }), t2.NodeMixin = t2.NodeMixinOptions = void 0;
47
+ var o2 = n2(77);
48
+ t2.NodeMixinOptions = { badCSS: true, badSizes: true }, t2.NodeMixin = function(e3, n3) {
49
+ var r3;
50
+ return n3 === void 0 && (n3 = {}), n3 = (0, o2.userOptions)((0, o2.defaultOptions)({}, t2.NodeMixinOptions), n3), r3 = (function(e4) {
51
+ function t3() {
52
+ var t4 = [...arguments], n4 = e4.call(this, t4[0]) || this, r4 = n4.constructor;
53
+ return n4.options = (0, o2.userOptions)((0, o2.defaultOptions)({}, r4.OPTIONS), t4[1]), n4;
54
+ }
55
+ return i2(t3, e4), t3.prototype.fontSize = function(t4) {
56
+ return n3.badCSS ? this.options.fontSize : e4.prototype.fontSize.call(this, t4);
57
+ }, t3.prototype.fontFamily = function(t4) {
58
+ return n3.badCSS ? this.options.fontFamily : e4.prototype.fontFamily.call(this, t4);
59
+ }, t3.prototype.nodeSize = function(r4, i3, a3) {
60
+ if (i3 === void 0 && (i3 = 1), a3 === void 0 && (a3 = null), !n3.badSizes) return e4.prototype.nodeSize.call(this, r4, i3, a3);
61
+ var o3 = this.textContent(r4), s2 = Array.from(o3.replace(t3.cjkPattern, ``)).length;
62
+ return [(Array.from(o3).length - s2) * this.options.cjkCharWidth + s2 * this.options.unknownCharWidth, this.options.unknownCharHeight];
63
+ }, t3.prototype.nodeBBox = function(t4) {
64
+ return n3.badSizes ? { left: 0, right: 0, top: 0, bottom: 0 } : e4.prototype.nodeBBox.call(this, t4);
65
+ }, t3;
66
+ })(e3), r3.OPTIONS = a2(a2({}, n3.badCSS ? { fontSize: 16, fontFamily: `Times` } : {}), n3.badSizes ? { cjkCharWidth: 1, unknownCharWidth: 0.6, unknownCharHeight: 0.8 } : {}), r3.cjkPattern = new RegExp([`[`, `ᄀ-ᅟ`, `〈〉`, `⺀-〾`, `぀-㉇`, `㉐-䶿`, `一-꓆`, `ꥠ-ꥼ`, `가-힣`, `豈-﫿`, `︐-︙`, `︰-﹫`, `!-⦆¢-₩`, `𛀀-𛀁`, `🈀-🉑`, `𠀀-𿿽`, `]`].join(``), `gu`), r3;
67
+ };
68
+ }, 877: function(e2, t2, n2) {
69
+ Object.defineProperty(t2, `__esModule`, { value: true }), t2.LiteDocument = void 0;
70
+ var r2 = n2(946);
71
+ t2.LiteDocument = (function() {
72
+ function e3() {
73
+ this.root = new r2.LiteElement(`html`, {}, [this.head = new r2.LiteElement(`head`), this.body = new r2.LiteElement(`body`)]), this.type = ``;
74
+ }
75
+ return Object.defineProperty(e3.prototype, `kind`, { get: function() {
76
+ return `#document`;
77
+ }, enumerable: false, configurable: true }), e3;
78
+ })();
79
+ }, 946: function(e2, t2) {
80
+ var n2 = this && this.__assign || function() {
81
+ return n2 = Object.assign || function(e3) {
82
+ for (var t3, n3 = 1, r3 = arguments.length; n3 < r3; n3++) for (var i3 in t3 = arguments[n3]) Object.prototype.hasOwnProperty.call(t3, i3) && (e3[i3] = t3[i3]);
83
+ return e3;
84
+ }, n2.apply(this, arguments);
85
+ }, r2 = this && this.__read || function(e3, t3) {
86
+ var n3 = typeof Symbol == `function` && e3[Symbol.iterator];
87
+ if (!n3) return e3;
88
+ var r3, i3, a3 = n3.call(e3), o2 = [];
89
+ try {
90
+ for (; (t3 === void 0 || t3-- > 0) && !(r3 = a3.next()).done; ) o2.push(r3.value);
91
+ } catch (e4) {
92
+ i3 = { error: e4 };
93
+ } finally {
94
+ try {
95
+ r3 && !r3.done && (n3 = a3.return) && n3.call(a3);
96
+ } finally {
97
+ if (i3) throw i3.error;
98
+ }
99
+ }
100
+ return o2;
101
+ }, i2 = this && this.__spreadArray || function(e3, t3, n3) {
102
+ if (n3 || arguments.length === 2) for (var r3, i3 = 0, a3 = t3.length; i3 < a3; i3++) !r3 && i3 in t3 || (r3 ||= Array.prototype.slice.call(t3, 0, i3), r3[i3] = t3[i3]);
103
+ return e3.concat(r3 || Array.prototype.slice.call(t3));
104
+ }, a2 = this && this.__values || function(e3) {
105
+ var t3 = typeof Symbol == `function` && Symbol.iterator, n3 = t3 && e3[t3], r3 = 0;
106
+ if (n3) return n3.call(e3);
107
+ if (e3 && typeof e3.length == `number`) return { next: function() {
108
+ return e3 && r3 >= e3.length && (e3 = void 0), { value: e3 && e3[r3++], done: !e3 };
109
+ } };
110
+ throw TypeError(t3 ? `Object is not iterable.` : `Symbol.iterator is not defined.`);
111
+ };
112
+ Object.defineProperty(t2, `__esModule`, { value: true }), t2.LiteElement = void 0, t2.LiteElement = function(e3, t3, o2) {
113
+ var s2, c2;
114
+ t3 === void 0 && (t3 = {}), o2 === void 0 && (o2 = []), this.kind = e3, this.attributes = n2({}, t3), this.children = i2([], r2(o2), false);
115
+ try {
116
+ for (var l2 = a2(this.children), u2 = l2.next(); !u2.done; u2 = l2.next()) u2.value.parent = this;
117
+ } catch (e4) {
118
+ s2 = { error: e4 };
119
+ } finally {
120
+ try {
121
+ u2 && !u2.done && (c2 = l2.return) && c2.call(l2);
122
+ } finally {
123
+ if (s2) throw s2.error;
124
+ }
125
+ }
126
+ this.styles = null;
127
+ };
128
+ }, 6: function(e2, t2) {
129
+ var n2 = this && this.__read || function(e3, t3) {
130
+ var n3 = typeof Symbol == `function` && e3[Symbol.iterator];
131
+ if (!n3) return e3;
132
+ var r3, i2, a2 = n3.call(e3), o2 = [];
133
+ try {
134
+ for (; (t3 === void 0 || t3-- > 0) && !(r3 = a2.next()).done; ) o2.push(r3.value);
135
+ } catch (e4) {
136
+ i2 = { error: e4 };
137
+ } finally {
138
+ try {
139
+ r3 && !r3.done && (n3 = a2.return) && n3.call(a2);
140
+ } finally {
141
+ if (i2) throw i2.error;
142
+ }
143
+ }
144
+ return o2;
145
+ }, r2 = this && this.__spreadArray || function(e3, t3, n3) {
146
+ if (n3 || arguments.length === 2) for (var r3, i2 = 0, a2 = t3.length; i2 < a2; i2++) !r3 && i2 in t3 || (r3 ||= Array.prototype.slice.call(t3, 0, i2), r3[i2] = t3[i2]);
147
+ return e3.concat(r3 || Array.prototype.slice.call(t3));
148
+ };
149
+ Object.defineProperty(t2, `__esModule`, { value: true }), t2.LiteList = void 0, t2.LiteList = (function() {
150
+ function e3(e4) {
151
+ this.nodes = [], this.nodes = r2([], n2(e4), false);
152
+ }
153
+ return e3.prototype.append = function(e4) {
154
+ this.nodes.push(e4);
155
+ }, e3.prototype[Symbol.iterator] = function() {
156
+ var e4 = 0;
157
+ return { next: function() {
158
+ return e4 === this.nodes.length ? { value: null, done: true } : { value: this.nodes[e4++], done: false };
159
+ } };
160
+ }, e3;
161
+ })();
162
+ }, 246: function(e2, t2, n2) {
163
+ var r2 = this && this.__createBinding || (Object.create ? function(e3, t3, n3, r3) {
164
+ r3 === void 0 && (r3 = n3);
165
+ var i3 = Object.getOwnPropertyDescriptor(t3, n3);
166
+ i3 && !(`get` in i3 ? !t3.__esModule : i3.writable || i3.configurable) || (i3 = { enumerable: true, get: function() {
167
+ return t3[n3];
168
+ } }), Object.defineProperty(e3, r3, i3);
169
+ } : function(e3, t3, n3, r3) {
170
+ r3 === void 0 && (r3 = n3), e3[r3] = t3[n3];
171
+ }), i2 = this && this.__setModuleDefault || (Object.create ? function(e3, t3) {
172
+ Object.defineProperty(e3, `default`, { enumerable: true, value: t3 });
173
+ } : function(e3, t3) {
174
+ e3.default = t3;
175
+ }), a2 = this && this.__importStar || function(e3) {
176
+ if (e3 && e3.__esModule) return e3;
177
+ var t3 = {};
178
+ if (e3 != null) for (var n3 in e3) n3 !== `default` && Object.prototype.hasOwnProperty.call(e3, n3) && r2(t3, e3, n3);
179
+ return i2(t3, e3), t3;
180
+ }, o2 = this && this.__read || function(e3, t3) {
181
+ var n3 = typeof Symbol == `function` && e3[Symbol.iterator];
182
+ if (!n3) return e3;
183
+ var r3, i3, a3 = n3.call(e3), o3 = [];
184
+ try {
185
+ for (; (t3 === void 0 || t3-- > 0) && !(r3 = a3.next()).done; ) o3.push(r3.value);
186
+ } catch (e4) {
187
+ i3 = { error: e4 };
188
+ } finally {
189
+ try {
190
+ r3 && !r3.done && (n3 = a3.return) && n3.call(a3);
191
+ } finally {
192
+ if (i3) throw i3.error;
193
+ }
194
+ }
195
+ return o3;
196
+ }, s2 = this && this.__values || function(e3) {
197
+ var t3 = typeof Symbol == `function` && Symbol.iterator, n3 = t3 && e3[t3], r3 = 0;
198
+ if (n3) return n3.call(e3);
199
+ if (e3 && typeof e3.length == `number`) return { next: function() {
200
+ return e3 && r3 >= e3.length && (e3 = void 0), { value: e3 && e3[r3++], done: !e3 };
201
+ } };
202
+ throw TypeError(t3 ? `Object is not iterable.` : `Symbol.iterator is not defined.`);
203
+ };
204
+ Object.defineProperty(t2, `__esModule`, { value: true }), t2.LiteParser = t2.PATTERNS = void 0;
205
+ var c2, l2 = a2(n2(29)), u2 = n2(946), d2 = n2(735);
206
+ (function(e3) {
207
+ e3.TAGNAME = `[a-z][^\\s\\n>]*`, e3.ATTNAME = `[a-z][^\\s\\n>=]*`, e3.VALUE = `(?:'[^']*'|"[^"]*"|[^\\s\\n]+)`, e3.VALUESPLIT = `(?:'([^']*)'|"([^"]*)"|([^\\s\\n]+))`, e3.SPACE = `(?:\\s|\\n)+`, e3.OPTIONALSPACE = `(?:\\s|\\n)*`, e3.ATTRIBUTE = e3.ATTNAME + `(?:` + e3.OPTIONALSPACE + `=` + e3.OPTIONALSPACE + e3.VALUE + `)?`, e3.ATTRIBUTESPLIT = `(` + e3.ATTNAME + `)(?:` + e3.OPTIONALSPACE + `=` + e3.OPTIONALSPACE + e3.VALUESPLIT + `)?`, e3.TAG = `(<(?:` + e3.TAGNAME + `(?:` + e3.SPACE + e3.ATTRIBUTE + `)*` + e3.OPTIONALSPACE + `/?|/` + e3.TAGNAME + `|!--[^]*?--|![^]*?)(?:>|$))`, e3.tag = new RegExp(e3.TAG, `i`), e3.attr = new RegExp(e3.ATTRIBUTE, `i`), e3.attrsplit = new RegExp(e3.ATTRIBUTESPLIT, `i`);
208
+ })(c2 = t2.PATTERNS ||= {}), t2.LiteParser = (function() {
209
+ function e3() {
210
+ }
211
+ return e3.prototype.parseFromString = function(e4, t3, n3) {
212
+ n3 === void 0 && (n3 = null);
213
+ for (var r3 = n3.createDocument(), i3 = n3.body(r3), a3 = e4.replace(/<\?.*?\?>/g, ``).split(c2.tag); a3.length; ) {
214
+ var o3 = a3.shift(), s3 = a3.shift();
215
+ o3 && this.addText(n3, i3, o3), s3 && s3.charAt(s3.length - 1) === `>` && (s3.charAt(1) === `!` ? this.addComment(n3, i3, s3) : i3 = s3.charAt(1) === `/` ? this.closeTag(n3, i3, s3) : this.openTag(n3, i3, s3, a3));
216
+ }
217
+ return this.checkDocument(n3, r3), r3;
218
+ }, e3.prototype.addText = function(e4, t3, n3) {
219
+ return n3 = l2.translate(n3), e4.append(t3, e4.text(n3));
220
+ }, e3.prototype.addComment = function(e4, t3, n3) {
221
+ return e4.append(t3, new d2.LiteComment(n3));
222
+ }, e3.prototype.closeTag = function(e4, t3, n3) {
223
+ for (var r3 = n3.slice(2, n3.length - 1).toLowerCase(); e4.parent(t3) && e4.kind(t3) !== r3; ) t3 = e4.parent(t3);
224
+ return e4.parent(t3);
225
+ }, e3.prototype.openTag = function(e4, t3, n3, r3) {
226
+ var i3 = this.constructor.PCDATA, a3 = this.constructor.SELF_CLOSING, o3 = n3.match(/<(.*?)[\s\n>\/]/)[1].toLowerCase(), s3 = e4.node(o3), l3 = n3.replace(/^<.*?[\s\n>]/, ``).split(c2.attrsplit);
227
+ return (l3.pop().match(/>$/) || l3.length < 5) && (this.addAttributes(e4, s3, l3), e4.append(t3, s3), a3[o3] || n3.match(/\/>$/) || (i3[o3] ? this.handlePCDATA(e4, s3, o3, r3) : t3 = s3)), t3;
228
+ }, e3.prototype.addAttributes = function(e4, t3, n3) {
229
+ for (var r3 = this.constructor.CDATA_ATTR; n3.length; ) {
230
+ var i3 = o2(n3.splice(0, 5), 5), a3 = i3[1], s3 = i3[2], c3 = i3[3], u3 = i3[4], d3 = s3 || c3 || u3 || ``;
231
+ r3[a3] || (d3 = l2.translate(d3)), e4.setAttribute(t3, a3, d3);
232
+ }
233
+ }, e3.prototype.handlePCDATA = function(e4, t3, n3, r3) {
234
+ for (var i3 = [], a3 = `</` + n3 + `>`, o3 = ``; r3.length && o3 !== a3; ) i3.push(o3), i3.push(r3.shift()), o3 = r3.shift();
235
+ e4.append(t3, e4.text(i3.join(``)));
236
+ }, e3.prototype.checkDocument = function(e4, t3) {
237
+ var n3, r3, i3, a3, o3 = this.getOnlyChild(e4, e4.body(t3));
238
+ if (o3) {
239
+ try {
240
+ for (var c3 = s2(e4.childNodes(e4.body(t3))), l3 = c3.next(); !l3.done && (p = l3.value) !== o3; l3 = c3.next()) p instanceof d2.LiteComment && p.value.match(/^<!DOCTYPE/) && (t3.type = p.value);
241
+ } catch (e5) {
242
+ n3 = { error: e5 };
243
+ } finally {
244
+ try {
245
+ l3 && !l3.done && (r3 = c3.return) && r3.call(c3);
246
+ } finally {
247
+ if (n3) throw n3.error;
248
+ }
249
+ }
250
+ switch (e4.kind(o3)) {
251
+ case `html`:
252
+ try {
253
+ for (var u3 = s2(o3.children), f = u3.next(); !f.done; f = u3.next()) {
254
+ var p = f.value;
255
+ switch (e4.kind(p)) {
256
+ case `head`:
257
+ t3.head = p;
258
+ break;
259
+ case `body`:
260
+ t3.body = p;
261
+ }
262
+ }
263
+ } catch (e5) {
264
+ i3 = { error: e5 };
265
+ } finally {
266
+ try {
267
+ f && !f.done && (a3 = u3.return) && a3.call(u3);
268
+ } finally {
269
+ if (i3) throw i3.error;
270
+ }
271
+ }
272
+ t3.root = o3, e4.remove(o3), e4.parent(t3.body) !== o3 && e4.append(o3, t3.body), e4.parent(t3.head) !== o3 && e4.insert(t3.head, t3.body);
273
+ break;
274
+ case `head`:
275
+ t3.head = e4.replace(o3, t3.head);
276
+ break;
277
+ case `body`:
278
+ t3.body = e4.replace(o3, t3.body);
279
+ }
280
+ }
281
+ }, e3.prototype.getOnlyChild = function(e4, t3) {
282
+ var n3, r3, i3 = null;
283
+ try {
284
+ for (var a3 = s2(e4.childNodes(t3)), o3 = a3.next(); !o3.done; o3 = a3.next()) {
285
+ var c3 = o3.value;
286
+ if (c3 instanceof u2.LiteElement) {
287
+ if (i3) return null;
288
+ i3 = c3;
289
+ }
290
+ }
291
+ } catch (e5) {
292
+ n3 = { error: e5 };
293
+ } finally {
294
+ try {
295
+ o3 && !o3.done && (r3 = a3.return) && r3.call(a3);
296
+ } finally {
297
+ if (n3) throw n3.error;
298
+ }
299
+ }
300
+ return i3;
301
+ }, e3.prototype.serialize = function(e4, t3, n3) {
302
+ var r3 = this;
303
+ n3 === void 0 && (n3 = false);
304
+ var i3 = this.constructor.SELF_CLOSING, a3 = this.constructor.CDATA_ATTR, o3 = e4.kind(t3), s3 = e4.allAttributes(t3).map((function(e5) {
305
+ return e5.name + `="` + (a3[e5.name] ? e5.value : r3.protectAttribute(e5.value)) + `"`;
306
+ })).join(` `), c3 = this.serializeInner(e4, t3, n3);
307
+ return `<` + o3 + (s3 ? ` ` + s3 : ``) + (n3 && !c3 || i3[o3] ? n3 ? `/>` : `>` : `>${c3}</${o3}>`);
308
+ }, e3.prototype.serializeInner = function(e4, t3, n3) {
309
+ var r3 = this;
310
+ return n3 === void 0 && (n3 = false), this.constructor.PCDATA.hasOwnProperty(t3.kind) ? e4.childNodes(t3).map((function(t4) {
311
+ return e4.value(t4);
312
+ })).join(``) : e4.childNodes(t3).map((function(t4) {
313
+ var i3 = e4.kind(t4);
314
+ return i3 === `#text` ? r3.protectHTML(e4.value(t4)) : i3 === `#comment` ? t4.value : r3.serialize(e4, t4, n3);
315
+ })).join(``);
316
+ }, e3.prototype.protectAttribute = function(e4) {
317
+ return typeof e4 != `string` && (e4 = String(e4)), e4.replace(/"/g, `&quot;`);
318
+ }, e3.prototype.protectHTML = function(e4) {
319
+ return e4.replace(/&/g, `&amp;`).replace(/</g, `&lt;`).replace(/>/g, `&gt;`);
320
+ }, e3.SELF_CLOSING = { area: true, base: true, br: true, col: true, command: true, embed: true, hr: true, img: true, input: true, keygen: true, link: true, menuitem: true, meta: true, param: true, source: true, track: true, wbr: true }, e3.PCDATA = { option: true, textarea: true, fieldset: true, title: true, style: true, script: true }, e3.CDATA_ATTR = { style: true, datafld: true, datasrc: true, href: true, src: true, longdesc: true, usemap: true, cite: true, datetime: true, action: true, axis: true, profile: true, content: true, scheme: true }, e3;
321
+ })();
322
+ }, 735: function(e2, t2) {
323
+ var n2, r2 = this && this.__extends || (n2 = function(e3, t3) {
324
+ return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) {
325
+ e4.__proto__ = t4;
326
+ } || function(e4, t4) {
327
+ for (var n3 in t4) Object.prototype.hasOwnProperty.call(t4, n3) && (e4[n3] = t4[n3]);
328
+ }, n2(e3, t3);
329
+ }, function(e3, t3) {
330
+ if (typeof t3 != `function` && t3 !== null) throw TypeError(`Class extends value ` + String(t3) + ` is not a constructor or null`);
331
+ function r3() {
332
+ this.constructor = e3;
333
+ }
334
+ n2(e3, t3), e3.prototype = t3 === null ? Object.create(t3) : (r3.prototype = t3.prototype, new r3());
335
+ });
336
+ Object.defineProperty(t2, `__esModule`, { value: true }), t2.LiteComment = t2.LiteText = void 0;
337
+ var i2 = (function() {
338
+ function e3(e4) {
339
+ e4 === void 0 && (e4 = ``), this.value = e4;
340
+ }
341
+ return Object.defineProperty(e3.prototype, `kind`, { get: function() {
342
+ return `#text`;
343
+ }, enumerable: false, configurable: true }), e3;
344
+ })();
345
+ t2.LiteText = i2, t2.LiteComment = (function(e3) {
346
+ function t3() {
347
+ return e3 !== null && e3.apply(this, arguments) || this;
348
+ }
349
+ return r2(t3, e3), Object.defineProperty(t3.prototype, `kind`, { get: function() {
350
+ return `#comment`;
351
+ }, enumerable: false, configurable: true }), t3;
352
+ })(i2);
353
+ }, 492: function(e2, t2, n2) {
354
+ Object.defineProperty(t2, `__esModule`, { value: true }), t2.LiteWindow = void 0;
355
+ var r2 = n2(946), i2 = n2(877), a2 = n2(6), o2 = n2(246);
356
+ t2.LiteWindow = function() {
357
+ this.DOMParser = o2.LiteParser, this.NodeList = a2.LiteList, this.HTMLCollection = a2.LiteList, this.HTMLElement = r2.LiteElement, this.DocumentFragment = a2.LiteList, this.Document = i2.LiteDocument, this.document = new i2.LiteDocument();
358
+ };
359
+ }, 250: function(e2, t2, n2) {
360
+ var r2, i2 = this && this.__extends || (r2 = function(e3, t3) {
361
+ return r2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) {
362
+ e4.__proto__ = t4;
363
+ } || function(e4, t4) {
364
+ for (var n3 in t4) Object.prototype.hasOwnProperty.call(t4, n3) && (e4[n3] = t4[n3]);
365
+ }, r2(e3, t3);
366
+ }, function(e3, t3) {
367
+ if (typeof t3 != `function` && t3 !== null) throw TypeError(`Class extends value ` + String(t3) + ` is not a constructor or null`);
368
+ function n3() {
369
+ this.constructor = e3;
370
+ }
371
+ r2(e3, t3), e3.prototype = t3 === null ? Object.create(t3) : (n3.prototype = t3.prototype, new n3());
372
+ }), a2 = this && this.__assign || function() {
373
+ return a2 = Object.assign || function(e3) {
374
+ for (var t3, n3 = 1, r3 = arguments.length; n3 < r3; n3++) for (var i3 in t3 = arguments[n3]) Object.prototype.hasOwnProperty.call(t3, i3) && (e3[i3] = t3[i3]);
375
+ return e3;
376
+ }, a2.apply(this, arguments);
377
+ }, o2 = this && this.__values || function(e3) {
378
+ var t3 = typeof Symbol == `function` && Symbol.iterator, n3 = t3 && e3[t3], r3 = 0;
379
+ if (n3) return n3.call(e3);
380
+ if (e3 && typeof e3.length == `number`) return { next: function() {
381
+ return e3 && r3 >= e3.length && (e3 = void 0), { value: e3 && e3[r3++], done: !e3 };
382
+ } };
383
+ throw TypeError(t3 ? `Object is not iterable.` : `Symbol.iterator is not defined.`);
384
+ }, s2 = this && this.__read || function(e3, t3) {
385
+ var n3 = typeof Symbol == `function` && e3[Symbol.iterator];
386
+ if (!n3) return e3;
387
+ var r3, i3, a3 = n3.call(e3), o3 = [];
388
+ try {
389
+ for (; (t3 === void 0 || t3-- > 0) && !(r3 = a3.next()).done; ) o3.push(r3.value);
390
+ } catch (e4) {
391
+ i3 = { error: e4 };
392
+ } finally {
393
+ try {
394
+ r3 && !r3.done && (n3 = a3.return) && n3.call(a3);
395
+ } finally {
396
+ if (i3) throw i3.error;
397
+ }
398
+ }
399
+ return o3;
400
+ }, c2 = this && this.__spreadArray || function(e3, t3, n3) {
401
+ if (n3 || arguments.length === 2) for (var r3, i3 = 0, a3 = t3.length; i3 < a3; i3++) !r3 && i3 in t3 || (r3 ||= Array.prototype.slice.call(t3, 0, i3), r3[i3] = t3[i3]);
402
+ return e3.concat(r3 || Array.prototype.slice.call(t3));
403
+ };
404
+ Object.defineProperty(t2, `__esModule`, { value: true }), t2.liteAdaptor = t2.LiteAdaptor = t2.LiteBase = void 0;
405
+ var l2 = n2(857), u2 = n2(244), d2 = n2(877), f = n2(946), p = n2(735), m = n2(492), h = n2(246), g = n2(878), _ = (function(e3) {
406
+ function t3() {
407
+ var t4 = e3.call(this) || this;
408
+ return t4.parser = new h.LiteParser(), t4.window = new m.LiteWindow(), t4;
409
+ }
410
+ return i2(t3, e3), t3.prototype.parse = function(e4, t4) {
411
+ return this.parser.parseFromString(e4, t4, this);
412
+ }, t3.prototype.create = function(e4, t4) {
413
+ return new f.LiteElement(e4);
414
+ }, t3.prototype.text = function(e4) {
415
+ return new p.LiteText(e4);
416
+ }, t3.prototype.comment = function(e4) {
417
+ return new p.LiteComment(e4);
418
+ }, t3.prototype.createDocument = function() {
419
+ return new d2.LiteDocument();
420
+ }, t3.prototype.head = function(e4) {
421
+ return e4.head;
422
+ }, t3.prototype.body = function(e4) {
423
+ return e4.body;
424
+ }, t3.prototype.root = function(e4) {
425
+ return e4.root;
426
+ }, t3.prototype.doctype = function(e4) {
427
+ return e4.type;
428
+ }, t3.prototype.tags = function(e4, t4, n3) {
429
+ n3 === void 0 && (n3 = null);
430
+ var r3 = [], i3 = [];
431
+ if (n3) return i3;
432
+ for (var a3 = e4; a3; ) {
433
+ var o3 = a3.kind;
434
+ o3 !== `#text` && o3 !== `#comment` && (a3 = a3, o3 === t4 && i3.push(a3), a3.children.length && (r3 = a3.children.concat(r3))), a3 = r3.shift();
435
+ }
436
+ return i3;
437
+ }, t3.prototype.elementById = function(e4, t4) {
438
+ for (var n3 = [], r3 = e4; r3; ) {
439
+ if (r3.kind !== `#text` && r3.kind !== `#comment`) {
440
+ if ((r3 = r3).attributes.id === t4) return r3;
441
+ r3.children.length && (n3 = r3.children.concat(n3));
442
+ }
443
+ r3 = n3.shift();
444
+ }
445
+ return null;
446
+ }, t3.prototype.elementsByClass = function(e4, t4) {
447
+ for (var n3 = [], r3 = [], i3 = e4; i3; ) i3.kind !== `#text` && i3.kind !== `#comment` && (((i3 = i3).attributes.class || ``).trim().split(/ +/).includes(t4) && r3.push(i3), i3.children.length && (n3 = i3.children.concat(n3))), i3 = n3.shift();
448
+ return r3;
449
+ }, t3.prototype.getElements = function(e4, t4) {
450
+ var n3, r3, i3 = [], a3 = this.body(t4);
451
+ try {
452
+ for (var s3 = o2(e4), c3 = s3.next(); !c3.done; c3 = s3.next()) {
453
+ var l3 = c3.value;
454
+ if (typeof l3 == `string`) if (l3.charAt(0) === `#`) {
455
+ var u3 = this.elementById(a3, l3.slice(1));
456
+ u3 && i3.push(u3);
457
+ } else l3.charAt(0) === `.` ? i3 = i3.concat(this.elementsByClass(a3, l3.slice(1))) : l3.match(/^[-a-z][-a-z0-9]*$/i) && (i3 = i3.concat(this.tags(a3, l3)));
458
+ else Array.isArray(l3) ? i3 = i3.concat(l3) : l3 instanceof this.window.NodeList || l3 instanceof this.window.HTMLCollection ? i3 = i3.concat(l3.nodes) : i3.push(l3);
459
+ }
460
+ } catch (e5) {
461
+ n3 = { error: e5 };
462
+ } finally {
463
+ try {
464
+ c3 && !c3.done && (r3 = s3.return) && r3.call(s3);
465
+ } finally {
466
+ if (n3) throw n3.error;
467
+ }
468
+ }
469
+ return i3;
470
+ }, t3.prototype.contains = function(e4, t4) {
471
+ for (; t4 && t4 !== e4; ) t4 = this.parent(t4);
472
+ return !!t4;
473
+ }, t3.prototype.parent = function(e4) {
474
+ return e4.parent;
475
+ }, t3.prototype.childIndex = function(e4) {
476
+ return e4.parent ? e4.parent.children.findIndex((function(t4) {
477
+ return t4 === e4;
478
+ })) : -1;
479
+ }, t3.prototype.append = function(e4, t4) {
480
+ return t4.parent && this.remove(t4), e4.children.push(t4), t4.parent = e4, t4;
481
+ }, t3.prototype.insert = function(e4, t4) {
482
+ if (e4.parent && this.remove(e4), t4 && t4.parent) {
483
+ var n3 = this.childIndex(t4);
484
+ t4.parent.children.splice(n3, 0, e4), e4.parent = t4.parent;
485
+ }
486
+ }, t3.prototype.remove = function(e4) {
487
+ var t4 = this.childIndex(e4);
488
+ return t4 >= 0 && e4.parent.children.splice(t4, 1), e4.parent = null, e4;
489
+ }, t3.prototype.replace = function(e4, t4) {
490
+ var n3 = this.childIndex(t4);
491
+ return n3 >= 0 && (t4.parent.children[n3] = e4, e4.parent = t4.parent, t4.parent = null), t4;
492
+ }, t3.prototype.clone = function(e4) {
493
+ var t4 = this, n3 = new f.LiteElement(e4.kind);
494
+ return n3.attributes = a2({}, e4.attributes), n3.children = e4.children.map((function(e5) {
495
+ if (e5.kind === `#text`) return new p.LiteText(e5.value);
496
+ if (e5.kind === `#comment`) return new p.LiteComment(e5.value);
497
+ var r3 = t4.clone(e5);
498
+ return r3.parent = n3, r3;
499
+ })), n3;
500
+ }, t3.prototype.split = function(e4, t4) {
501
+ var n3 = new p.LiteText(e4.value.slice(t4));
502
+ return e4.value = e4.value.slice(0, t4), e4.parent.children.splice(this.childIndex(e4) + 1, 0, n3), n3.parent = e4.parent, n3;
503
+ }, t3.prototype.next = function(e4) {
504
+ var t4 = e4.parent;
505
+ if (!t4) return null;
506
+ var n3 = this.childIndex(e4) + 1;
507
+ return n3 >= 0 && n3 < t4.children.length ? t4.children[n3] : null;
508
+ }, t3.prototype.previous = function(e4) {
509
+ var t4 = e4.parent;
510
+ if (!t4) return null;
511
+ var n3 = this.childIndex(e4) - 1;
512
+ return n3 >= 0 ? t4.children[n3] : null;
513
+ }, t3.prototype.firstChild = function(e4) {
514
+ return e4.children[0];
515
+ }, t3.prototype.lastChild = function(e4) {
516
+ return e4.children[e4.children.length - 1];
517
+ }, t3.prototype.childNodes = function(e4) {
518
+ return c2([], s2(e4.children), false);
519
+ }, t3.prototype.childNode = function(e4, t4) {
520
+ return e4.children[t4];
521
+ }, t3.prototype.kind = function(e4) {
522
+ return e4.kind;
523
+ }, t3.prototype.value = function(e4) {
524
+ return e4.kind === `#text` ? e4.value : e4.kind === `#comment` ? e4.value.replace(/^<!(--)?((?:.|\n)*)\1>$/, `$2`) : ``;
525
+ }, t3.prototype.textContent = function(e4) {
526
+ var t4 = this;
527
+ return e4.children.reduce((function(e5, n3) {
528
+ return e5 + (n3.kind === `#text` ? n3.value : n3.kind === `#comment` ? `` : t4.textContent(n3));
529
+ }), ``);
530
+ }, t3.prototype.innerHTML = function(e4) {
531
+ return this.parser.serializeInner(this, e4);
532
+ }, t3.prototype.outerHTML = function(e4) {
533
+ return this.parser.serialize(this, e4);
534
+ }, t3.prototype.serializeXML = function(e4) {
535
+ return this.parser.serialize(this, e4, true);
536
+ }, t3.prototype.setAttribute = function(e4, t4, n3, r3) {
537
+ r3 === void 0 && (r3 = null), typeof n3 != `string` && (n3 = String(n3)), r3 && (t4 = r3.replace(/.*\//, ``) + `:` + t4.replace(/^.*:/, ``)), e4.attributes[t4] = n3, t4 === `style` && (e4.styles = null);
538
+ }, t3.prototype.getAttribute = function(e4, t4) {
539
+ return e4.attributes[t4];
540
+ }, t3.prototype.removeAttribute = function(e4, t4) {
541
+ delete e4.attributes[t4];
542
+ }, t3.prototype.hasAttribute = function(e4, t4) {
543
+ return e4.attributes.hasOwnProperty(t4);
544
+ }, t3.prototype.allAttributes = function(e4) {
545
+ var t4, n3, r3 = e4.attributes, i3 = [];
546
+ try {
547
+ for (var a3 = o2(Object.keys(r3)), s3 = a3.next(); !s3.done; s3 = a3.next()) {
548
+ var c3 = s3.value;
549
+ i3.push({ name: c3, value: r3[c3] });
550
+ }
551
+ } catch (e5) {
552
+ t4 = { error: e5 };
553
+ } finally {
554
+ try {
555
+ s3 && !s3.done && (n3 = a3.return) && n3.call(a3);
556
+ } finally {
557
+ if (t4) throw t4.error;
558
+ }
559
+ }
560
+ return i3;
561
+ }, t3.prototype.addClass = function(e4, t4) {
562
+ var n3 = (e4.attributes.class || ``).split(/ /);
563
+ n3.find((function(e5) {
564
+ return e5 === t4;
565
+ })) || (n3.push(t4), e4.attributes.class = n3.join(` `));
566
+ }, t3.prototype.removeClass = function(e4, t4) {
567
+ var n3 = (e4.attributes.class || ``).split(/ /), r3 = n3.findIndex((function(e5) {
568
+ return e5 === t4;
569
+ }));
570
+ r3 >= 0 && (n3.splice(r3, 1), e4.attributes.class = n3.join(` `));
571
+ }, t3.prototype.hasClass = function(e4, t4) {
572
+ return !!(e4.attributes.class || ``).split(/ /).find((function(e5) {
573
+ return e5 === t4;
574
+ }));
575
+ }, t3.prototype.setStyle = function(e4, t4, n3) {
576
+ e4.styles ||= new g.Styles(this.getAttribute(e4, `style`)), e4.styles.set(t4, n3), e4.attributes.style = e4.styles.cssText;
577
+ }, t3.prototype.getStyle = function(e4, t4) {
578
+ if (!e4.styles) {
579
+ var n3 = this.getAttribute(e4, `style`);
580
+ if (!n3) return ``;
581
+ e4.styles = new g.Styles(n3);
582
+ }
583
+ return e4.styles.get(t4);
584
+ }, t3.prototype.allStyles = function(e4) {
585
+ return this.getAttribute(e4, `style`);
586
+ }, t3.prototype.insertRules = function(e4, t4) {
587
+ e4.children = [this.text(t4.join(`
588
+
589
+ `) + `
590
+
591
+ ` + this.textContent(e4))];
592
+ }, t3.prototype.fontSize = function(e4) {
593
+ return 0;
594
+ }, t3.prototype.fontFamily = function(e4) {
595
+ return ``;
596
+ }, t3.prototype.nodeSize = function(e4, t4, n3) {
597
+ return [0, 0];
598
+ }, t3.prototype.nodeBBox = function(e4) {
599
+ return { left: 0, right: 0, top: 0, bottom: 0 };
600
+ }, t3;
601
+ })(l2.AbstractDOMAdaptor);
602
+ t2.LiteBase = _;
603
+ var v = (function(e3) {
604
+ function t3() {
605
+ return e3 !== null && e3.apply(this, arguments) || this;
606
+ }
607
+ return i2(t3, e3), t3;
608
+ })((0, u2.NodeMixin)(_));
609
+ t2.LiteAdaptor = v, t2.liteAdaptor = function(e3) {
610
+ return e3 === void 0 && (e3 = null), new v(null, e3);
611
+ };
612
+ }, 306: function(e2, t2) {
613
+ t2.q = void 0, t2.q = `3.2.2`;
614
+ }, 723: function(e2, t2) {
615
+ MathJax._.components.global.isObject, MathJax._.components.global.combineConfig, MathJax._.components.global.combineDefaults, t2.r8 = MathJax._.components.global.combineWithMathJax, MathJax._.components.global.MathJax;
616
+ }, 857: function(e2, t2) {
617
+ Object.defineProperty(t2, `__esModule`, { value: true }), t2.AbstractDOMAdaptor = MathJax._.core.DOMAdaptor.AbstractDOMAdaptor;
618
+ }, 29: function(e2, t2) {
619
+ Object.defineProperty(t2, `__esModule`, { value: true }), t2.options = MathJax._.util.Entities.options, t2.entities = MathJax._.util.Entities.entities, t2.add = MathJax._.util.Entities.add, t2.remove = MathJax._.util.Entities.remove, t2.translate = MathJax._.util.Entities.translate, t2.numeric = MathJax._.util.Entities.numeric;
620
+ }, 77: function(e2, t2) {
621
+ Object.defineProperty(t2, `__esModule`, { value: true }), t2.isObject = MathJax._.util.Options.isObject, t2.APPEND = MathJax._.util.Options.APPEND, t2.REMOVE = MathJax._.util.Options.REMOVE, t2.OPTIONS = MathJax._.util.Options.OPTIONS, t2.Expandable = MathJax._.util.Options.Expandable, t2.expandable = MathJax._.util.Options.expandable, t2.makeArray = MathJax._.util.Options.makeArray, t2.keys = MathJax._.util.Options.keys, t2.copy = MathJax._.util.Options.copy, t2.insert = MathJax._.util.Options.insert, t2.defaultOptions = MathJax._.util.Options.defaultOptions, t2.userOptions = MathJax._.util.Options.userOptions, t2.selectOptions = MathJax._.util.Options.selectOptions, t2.selectOptionsFromKeys = MathJax._.util.Options.selectOptionsFromKeys, t2.separateOptions = MathJax._.util.Options.separateOptions, t2.lookup = MathJax._.util.Options.lookup;
622
+ }, 878: function(e2, t2) {
623
+ Object.defineProperty(t2, `__esModule`, { value: true }), t2.Styles = MathJax._.util.Styles.Styles;
624
+ } }, u = {};
625
+ function d(e2) {
626
+ var t2 = u[e2];
627
+ if (t2 !== void 0) return t2.exports;
628
+ var n2 = u[e2] = { exports: {} };
629
+ return l[e2].call(n2.exports, n2, n2.exports, d), n2.exports;
630
+ }
631
+ e = d(723), t = d(306), n = d(250), r = d(877), i = d(946), a = d(6), o = d(246), s = d(735), c = d(492), MathJax.loader && MathJax.loader.checkVersion(`adaptors/liteDOM`, t.q, `adaptors`), (0, e.r8)({ _: { adaptors: { liteAdaptor: n, lite: { Document: r, Element: i, List: a, Parser: o, Text: s, Window: c } } } }), MathJax.startup && (MathJax.startup.registerConstructor(`liteAdaptor`, n.liteAdaptor), MathJax.startup.useAdaptor(`liteAdaptor`, true));
632
+ })();
633
+ return liteDOMCp0aN3bP$2;
634
+ }
635
+ var liteDOMCp0aN3bPExports = requireLiteDOMCp0aN3bP();
636
+ const liteDOMCp0aN3bP = /* @__PURE__ */ getDefaultExportFromCjs(liteDOMCp0aN3bPExports);
637
+ const liteDOMCp0aN3bP$1 = /* @__PURE__ */ _mergeNamespaces({
638
+ __proto__: null,
639
+ default: liteDOMCp0aN3bP
640
+ }, [liteDOMCp0aN3bPExports]);
641
+ export {
642
+ liteDOMCp0aN3bP$1 as l
643
+ };
644
+ //# sourceMappingURL=liteDOM-Cp0aN3bP-DXyQNx3e.js.map